04d08d83d97310f2bacbde94be2e283a33e9137b86413be8870e31cd7db6ca249c68d1384c51a43d31126073dd49b4e50365b40c235a13f7df588e520463f9 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. import type ColorPicker from './color-picker.vue';
  3. export declare const colorPickerProps: {
  4. readonly ariaLabel: StringConstructor;
  5. readonly emptyValues: ArrayConstructor;
  6. 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>;
  7. readonly persistent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  8. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, undefined, boolean>;
  9. readonly id: StringConstructor;
  10. readonly showAlpha: BooleanConstructor;
  11. readonly colorFormat: StringConstructor;
  12. readonly disabled: BooleanConstructor;
  13. readonly size: {
  14. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  15. readonly required: false;
  16. readonly validator: ((val: unknown) => boolean) | undefined;
  17. __epPropKey: true;
  18. };
  19. readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  20. readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
  21. readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  22. readonly appendTo: {
  23. 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>>;
  24. readonly required: false;
  25. readonly validator: ((val: unknown) => boolean) | undefined;
  26. __epPropKey: true;
  27. };
  28. readonly predefine: {
  29. readonly type: import("vue").PropType<string[]>;
  30. readonly required: false;
  31. readonly validator: ((val: unknown) => boolean) | undefined;
  32. __epPropKey: true;
  33. };
  34. readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  35. };
  36. export declare const colorPickerEmits: {
  37. "update:modelValue": (val: string | null) => boolean;
  38. change: (val: string | null) => boolean;
  39. activeChange: (val: string | null) => boolean;
  40. focus: (evt: FocusEvent) => boolean;
  41. blur: (evt: FocusEvent) => boolean;
  42. };
  43. export type ColorPickerProps = ExtractPropTypes<typeof colorPickerProps>;
  44. export type ColorPickerPropsPublic = __ExtractPublicPropTypes<typeof colorPickerProps>;
  45. export type ColorPickerEmits = typeof colorPickerEmits;
  46. export type ColorPickerInstance = InstanceType<typeof ColorPicker> & unknown;