UNPKG

element-plus

Version:

A Component Library for Vue 3

29 lines (28 loc) 1.75 kB
import type { ExtractPropTypes } from 'vue'; import type checkboxGroup from './checkbox-group.vue'; import type { CheckboxValueType } from './checkbox'; export type CheckboxGroupValueType = Exclude<CheckboxValueType, boolean>[]; export declare const checkboxGroupProps: { readonly ariaLabel: StringConstructor; readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType) | ((new (...args: any[]) => CheckboxGroupValueType) | (() => CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>; readonly disabled: BooleanConstructor; readonly min: NumberConstructor; readonly max: NumberConstructor; readonly size: { readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly fill: StringConstructor; readonly textColor: StringConstructor; readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>; readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }; export declare const checkboxGroupEmits: { "update:modelValue": (val: CheckboxGroupValueType) => boolean; change: (val: CheckboxValueType[]) => boolean; }; export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>; export type CheckboxGroupEmits = typeof checkboxGroupEmits; export type CheckboxGroupInstance = InstanceType<typeof checkboxGroup> & unknown;