dropdown-item-impl.vue.d.ts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. import { SFCWithInstall } from "../../../utils/vue/typescript.js";
  2. import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
  3. import { IconProps } from "../../icon/src/icon.js";
  4. import * as _$vue from "vue";
  5. //#region ../../packages/components/dropdown/src/dropdown-item-impl.vue.d.ts
  6. declare const _default: typeof __VLS_export;
  7. declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
  8. readonly command: EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
  9. readonly disabled: BooleanConstructor;
  10. readonly divided: BooleanConstructor;
  11. readonly textValue: StringConstructor;
  12. readonly icon: {
  13. readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>>;
  14. readonly required: false;
  15. readonly validator: ((val: unknown) => boolean) | undefined;
  16. __epPropKey: true;
  17. };
  18. }>, {
  19. ns: {
  20. namespace: _$vue.ComputedRef<string>;
  21. b: (blockSuffix?: string) => string;
  22. e: (element?: string) => string;
  23. m: (modifier?: string) => string;
  24. be: (blockSuffix?: string, element?: string) => string;
  25. em: (element?: string, modifier?: string) => string;
  26. bm: (blockSuffix?: string, modifier?: string) => string;
  27. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  28. is: {
  29. (name: string, state: boolean | undefined): string;
  30. (name: string): string;
  31. };
  32. cssVar: (object: Record<string, string>) => Record<string, string>;
  33. cssVarName: (name: string) => string;
  34. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  35. cssVarBlockName: (name: string) => string;
  36. };
  37. itemRef: (el: Element | _$vue.ComponentPublicInstance | null) => void;
  38. dataset: {
  39. "data-el-collection-item": string;
  40. };
  41. role: _$vue.ComputedRef<string>;
  42. tabIndex: _$vue.Ref<number, number>;
  43. handleFocus: (e: Event) => void;
  44. handleKeydown: (event: KeyboardEvent) => void;
  45. handleMousedown: (e: Event) => void;
  46. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, ("click" | "pointerleave" | "pointermove" | "clickimpl")[], "click" | "pointerleave" | "pointermove" | "clickimpl", _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
  47. readonly command: EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
  48. readonly disabled: BooleanConstructor;
  49. readonly divided: BooleanConstructor;
  50. readonly textValue: StringConstructor;
  51. readonly icon: {
  52. readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>>;
  53. readonly required: false;
  54. readonly validator: ((val: unknown) => boolean) | undefined;
  55. __epPropKey: true;
  56. };
  57. }>> & Readonly<{
  58. onClick?: ((...args: any[]) => any) | undefined;
  59. onPointermove?: ((...args: any[]) => any) | undefined;
  60. onPointerleave?: ((...args: any[]) => any) | undefined;
  61. onClickimpl?: ((...args: any[]) => any) | undefined;
  62. }>, {
  63. readonly disabled: boolean;
  64. readonly command: EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
  65. readonly divided: boolean;
  66. }, {}, {
  67. ElIcon: SFCWithInstall<{
  68. new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
  69. P: {};
  70. B: {};
  71. D: {};
  72. C: {};
  73. M: {};
  74. Defaults: {};
  75. }, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
  76. __isFragment?: never;
  77. __isTeleport?: never;
  78. __isSuspense?: never;
  79. } & _$vue.ComponentOptionsBase<Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
  80. $slots: {
  81. default?: (props: {}) => any;
  82. };
  83. })>;
  84. }, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
  85. //#endregion
  86. export { _default as default };