e41fad354f6047ae99c9ca1b9cb42bdca21bc6cdaa07c723bf80208be6d06cf1e1c156d504bec80d69d7a1e2e79cb5d437e7a30bf0de6c11eae6fab73a6986 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. import type checkboxGroup from './checkbox-group.vue';
  3. import type { CheckboxPropsPublic, CheckboxValueType } from './checkbox';
  4. export type CheckboxGroupValueType = Exclude<CheckboxValueType, boolean>[];
  5. export declare const checkboxGroupProps: {
  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. readonly options: {
  22. readonly type: import("vue").PropType<CheckboxOption[]>;
  23. readonly required: false;
  24. readonly validator: ((val: unknown) => boolean) | undefined;
  25. __epPropKey: true;
  26. };
  27. readonly props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => CheckboxOptionProps) | (() => CheckboxOptionProps) | ((new (...args: any[]) => CheckboxOptionProps) | (() => CheckboxOptionProps))[], unknown, unknown, () => Required<CheckboxOptionProps>, boolean>;
  28. };
  29. export declare const checkboxGroupEmits: {
  30. "update:modelValue": (val: CheckboxGroupValueType) => boolean;
  31. change: (val: CheckboxValueType[]) => boolean;
  32. };
  33. export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
  34. export type CheckboxGroupPropsPublic = __ExtractPublicPropTypes<typeof checkboxGroupProps>;
  35. export type CheckboxGroupEmits = typeof checkboxGroupEmits;
  36. export type CheckboxGroupInstance = InstanceType<typeof checkboxGroup> & unknown;
  37. export type CheckboxOption = CheckboxPropsPublic & Record<string, any>;
  38. type CheckboxOptionProps = {
  39. value?: string;
  40. label?: string;
  41. disabled?: string;
  42. };
  43. export declare const checkboxDefaultProps: Required<CheckboxOptionProps>;
  44. export {};