Files
pig-farm-controller-fe/node_modules/element-plus/es/components/checkbox/src/checkbox-group.d.ts
2025-09-19 14:25:20 +08:00

45 lines
2.6 KiB
TypeScript

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: 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>;
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>;
};
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 {};