UNPKG

element-plus

Version:

A Component Library for Vue 3

46 lines (45 loc) 2.88 kB
import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'; import type checkboxGroup from './checkbox-group.vue'; import type { CheckboxPropsPublic, 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: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>; 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>; readonly options: { readonly type: import("vue").PropType<CheckboxOption[]>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => CheckboxOptionProps) | (() => CheckboxOptionProps) | ((new (...args: any[]) => CheckboxOptionProps) | (() => CheckboxOptionProps))[], unknown, unknown, () => Required<CheckboxOptionProps>, boolean>; readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "checkbox", unknown, "checkbox", boolean>; }; export declare const checkboxGroupEmits: { "update:modelValue": (val: CheckboxGroupValueType) => boolean; change: (val: CheckboxValueType[]) => boolean; }; export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>; export type CheckboxGroupPropsPublic = ExtractPublicPropTypes<typeof checkboxGroupProps>; export type CheckboxGroupEmits = typeof checkboxGroupEmits; export type CheckboxGroupInstance = InstanceType<typeof checkboxGroup> & unknown; export type CheckboxOption = CheckboxPropsPublic & Record<string, any>; type CheckboxOptionProps = { value?: string; label?: string; disabled?: string; }; export declare const checkboxDefaultProps: Required<CheckboxOptionProps>; export {};