checkbox-group.vue.d.ts 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import type { CheckboxGroupValueType } from './checkbox-group';
  2. declare function __VLS_template(): {
  3. default?(_: {}): any;
  4. };
  5. declare const __VLS_component: import("vue").DefineComponent<{
  6. readonly ariaLabel: StringConstructor;
  7. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
  8. readonly disabled: BooleanConstructor;
  9. readonly min: NumberConstructor;
  10. readonly max: NumberConstructor;
  11. readonly size: {
  12. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  13. readonly required: false;
  14. readonly validator: ((val: unknown) => boolean) | undefined;
  15. __epPropKey: true;
  16. };
  17. readonly fill: StringConstructor;
  18. readonly textColor: StringConstructor;
  19. readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
  20. readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  21. }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  22. "update:modelValue": (val: CheckboxGroupValueType) => void;
  23. change: (val: import("element-plus").CheckboxValueType[]) => void;
  24. }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  25. readonly ariaLabel: StringConstructor;
  26. readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>;
  27. readonly disabled: BooleanConstructor;
  28. readonly min: NumberConstructor;
  29. readonly max: NumberConstructor;
  30. readonly size: {
  31. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  32. readonly required: false;
  33. readonly validator: ((val: unknown) => boolean) | undefined;
  34. __epPropKey: true;
  35. };
  36. readonly fill: StringConstructor;
  37. readonly textColor: StringConstructor;
  38. readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
  39. readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
  40. }>> & {
  41. "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
  42. onChange?: ((val: import("element-plus").CheckboxValueType[]) => any) | undefined;
  43. }, {
  44. readonly disabled: boolean;
  45. readonly modelValue: CheckboxGroupValueType;
  46. readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  47. readonly tag: string;
  48. }>;
  49. declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
  50. export default _default;
  51. type __VLS_WithTemplateSlots<T, S> = T & {
  52. new (): {
  53. $slots: S;
  54. };
  55. };