UNPKG

element-pro-components

Version:

a component library for Vue 3 base on element-plus

65 lines (64 loc) 3.75 kB
import type { DefineComponent, VNode } from 'vue'; import type { ICheckboxProps } from './index'; export declare function createDefault<T>(props: ICheckboxProps, component: T, className: string): () => VNode; declare const _default: DefineComponent<import("vue").ExtractPropTypes<{ data: { type: import("vue").PropType<import("..").SelectDataItem[]>; default: () => never[]; }; config: { type: import("vue").PropType<import("..").SelectConfig>; default: () => {}; }; ariaLabel: StringConstructor; modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType) | ((new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>; disabled: BooleanConstructor; min: NumberConstructor; max: NumberConstructor; 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; }; fill: StringConstructor; textColor: StringConstructor; tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>; validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }>, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:modelValue': (value?: Array<string | number | boolean>) => value is (string | number | boolean)[]; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ data: { type: import("vue").PropType<import("..").SelectDataItem[]>; default: () => never[]; }; config: { type: import("vue").PropType<import("..").SelectConfig>; default: () => {}; }; ariaLabel: StringConstructor; modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType) | ((new (...args: any[]) => import("element-plus").CheckboxGroupValueType) | (() => import("element-plus").CheckboxGroupValueType))[], unknown, unknown, () => never[], boolean>; disabled: BooleanConstructor; min: NumberConstructor; max: NumberConstructor; 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; }; fill: StringConstructor; textColor: StringConstructor; tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>; validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }>> & Readonly<{ "onUpdate:modelValue"?: ((value?: (string | number | boolean)[] | undefined) => any) | undefined; }>, { data: import("..").SelectDataItem[]; disabled: boolean; tag: string; modelValue: import("element-plus").CheckboxGroupValueType; validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>; config: import("..").SelectConfig; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;