d0b8a09347a11016957a3a65f8a323ab73a8480492426a16f0142d2ddf88abf692584a08e42b4d3ef4f0bcd59e64c73e63eecaddeaab48ac8cc97b24aa3934 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. import Color from 'element-plus/es/components/color-picker-panel/src/utils/color';
  2. declare function show(): void;
  3. declare function hide(): void;
  4. declare function focus(): void;
  5. declare function blur(): void;
  6. declare const _default: import("vue").DefineComponent<{
  7. readonly ariaLabel: StringConstructor;
  8. readonly emptyValues: ArrayConstructor;
  9. readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
  10. readonly persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  11. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, undefined, boolean>;
  12. readonly id: StringConstructor;
  13. readonly showAlpha: BooleanConstructor;
  14. readonly colorFormat: StringConstructor;
  15. readonly disabled: BooleanConstructor;
  16. readonly size: {
  17. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  18. readonly required: false;
  19. readonly validator: ((val: unknown) => boolean) | undefined;
  20. __epPropKey: true;
  21. };
  22. readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  23. readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
  24. readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  25. readonly appendTo: {
  26. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
  27. readonly required: false;
  28. readonly validator: ((val: unknown) => boolean) | undefined;
  29. __epPropKey: true;
  30. };
  31. readonly predefine: {
  32. readonly type: import("vue").PropType<string[]>;
  33. readonly required: false;
  34. readonly validator: ((val: unknown) => boolean) | undefined;
  35. __epPropKey: true;
  36. };
  37. readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  38. }, {
  39. /**
  40. * @description current color object
  41. */
  42. color: Color;
  43. /**
  44. * @description manually show ColorPicker
  45. */
  46. show: typeof show;
  47. /**
  48. * @description manually hide ColorPicker
  49. */
  50. hide: typeof hide;
  51. /**
  52. * @description focus the input element
  53. */
  54. focus: typeof focus;
  55. /**
  56. * @description blur the input element
  57. */
  58. blur: typeof blur;
  59. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  60. focus: (evt: FocusEvent) => void;
  61. "update:modelValue": (val: string | null) => void;
  62. change: (val: string | null) => void;
  63. blur: (evt: FocusEvent) => void;
  64. activeChange: (val: string | null) => void;
  65. }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  66. readonly ariaLabel: StringConstructor;
  67. readonly emptyValues: ArrayConstructor;
  68. readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
  69. readonly persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  70. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, undefined, boolean>;
  71. readonly id: StringConstructor;
  72. readonly showAlpha: BooleanConstructor;
  73. readonly colorFormat: StringConstructor;
  74. readonly disabled: BooleanConstructor;
  75. readonly size: {
  76. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  77. readonly required: false;
  78. readonly validator: ((val: unknown) => boolean) | undefined;
  79. __epPropKey: true;
  80. };
  81. readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  82. readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
  83. readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  84. readonly appendTo: {
  85. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
  86. readonly required: false;
  87. readonly validator: ((val: unknown) => boolean) | undefined;
  88. __epPropKey: true;
  89. };
  90. readonly predefine: {
  91. readonly type: import("vue").PropType<string[]>;
  92. readonly required: false;
  93. readonly validator: ((val: unknown) => boolean) | undefined;
  94. __epPropKey: true;
  95. };
  96. readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  97. }>> & {
  98. "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
  99. onChange?: ((val: string | null) => any) | undefined;
  100. onFocus?: ((evt: FocusEvent) => any) | undefined;
  101. onBlur?: ((evt: FocusEvent) => any) | undefined;
  102. onActiveChange?: ((val: string | null) => any) | undefined;
  103. }, {
  104. readonly disabled: boolean;
  105. readonly tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
  106. readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
  107. readonly valueOnClear: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
  108. readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  109. readonly popperClass: string;
  110. readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  111. readonly persistent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  112. readonly showAlpha: boolean;
  113. }>;
  114. export default _default;