UNPKG

ideaz-element

Version:

<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>

129 lines (127 loc) 3.58 kB
import { ExtractPropTypes, PropType, VNode } from 'vue'; export declare const checkCardItemProps: { defaultChecked: { type: BooleanConstructor; }; checked: { type: BooleanConstructor; }; disabled: { type: BooleanConstructor; default: boolean; }; avatar: { type: (StringConstructor | FunctionConstructor)[]; }; title: { type: (StringConstructor | FunctionConstructor)[]; }; description: { type: (StringConstructor | FunctionConstructor)[]; }; value: { type: (StringConstructor | NumberConstructor)[]; default: string; }; loading: { type: BooleanConstructor; }; cover: { type: PropType<string | ((h: (type: string, children?: any) => VNode) => VNode)>; }; size: { type: PropType<"" | "small" | "default" | "large">; }; bordered: { type: BooleanConstructor; default: boolean; }; extra: { type: (StringConstructor | FunctionConstructor)[]; }; style: { type: ObjectConstructor; }; }; export type CheckCardItemProps = Partial<ExtractPropTypes<typeof checkCardItemProps>>; export type CheckCardValueType = string | number | boolean; export type CheckGroupValueType = CheckCardValueType[] | CheckCardValueType; export declare const checkCardGroupProps: { options: { type: PropType<(string | Partial<ExtractPropTypes<{ defaultChecked: { type: BooleanConstructor; }; checked: { type: BooleanConstructor; }; disabled: { type: BooleanConstructor; default: boolean; }; avatar: { type: (StringConstructor | FunctionConstructor)[]; }; title: { type: (StringConstructor | FunctionConstructor)[]; }; description: { type: (StringConstructor | FunctionConstructor)[]; }; value: { type: (StringConstructor | NumberConstructor)[]; default: string; }; loading: { type: BooleanConstructor; }; cover: { type: PropType<string | ((h: (type: string, children?: any) => VNode) => VNode)>; }; size: { type: PropType<"" | "small" | "default" | "large">; }; bordered: { type: BooleanConstructor; default: boolean; }; extra: { type: (StringConstructor | FunctionConstructor)[]; }; style: { type: ObjectConstructor; }; }>>)[]>; default: () => never[]; }; disabled: { type: BooleanConstructor; }; size: { type: PropType<"small" | "default" | "large">; }; multiple: { type: BooleanConstructor; }; value: { type: PropType<CheckGroupValueType>; }; modelValue: { type: PropType<CheckGroupValueType>; }; loading: { type: BooleanConstructor; }; bordered: { type: BooleanConstructor; default: boolean; }; alias: { type: PropType<{ title?: string | undefined; value?: string | undefined; disabled?: string | undefined; }>; }; }; export type CheckCardGroupProps = ExtractPropTypes<typeof checkCardGroupProps>;