UNPKG

tdesign-mobile-vue

Version:
249 lines (248 loc) 8.16 kB
import { CheckboxGroupValue, TdCheckboxGroupProps, TdCheckboxProps } from './type'; export interface Child { value: string | number; } declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ borderless: BooleanConstructor; disabled: { type: BooleanConstructor; default: any; }; keys: { type: import("vue").PropType<TdCheckboxGroupProps['keys']>; }; max: { type: NumberConstructor; default: any; }; name: { type: StringConstructor; default: string; }; options: { type: import("vue").PropType<TdCheckboxGroupProps['options']>; }; readonly: { type: BooleanConstructor; default: any; }; value: { type: import("vue").PropType<TdCheckboxGroupProps['value']>; default: TdCheckboxGroupProps['value']; }; modelValue: { type: import("vue").PropType<TdCheckboxGroupProps['value']>; default: TdCheckboxGroupProps['value']; }; defaultValue: { type: import("vue").PropType<TdCheckboxGroupProps['defaultValue']>; default: () => TdCheckboxGroupProps['defaultValue']; }; onChange: import("vue").PropType<TdCheckboxGroupProps['onChange']>; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:value")[], "change" | "update:modelValue" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ borderless: BooleanConstructor; disabled: { type: BooleanConstructor; default: any; }; keys: { type: import("vue").PropType<TdCheckboxGroupProps['keys']>; }; max: { type: NumberConstructor; default: any; }; name: { type: StringConstructor; default: string; }; options: { type: import("vue").PropType<TdCheckboxGroupProps['options']>; }; readonly: { type: BooleanConstructor; default: any; }; value: { type: import("vue").PropType<TdCheckboxGroupProps['value']>; default: TdCheckboxGroupProps['value']; }; modelValue: { type: import("vue").PropType<TdCheckboxGroupProps['value']>; default: TdCheckboxGroupProps['value']; }; defaultValue: { type: import("vue").PropType<TdCheckboxGroupProps['defaultValue']>; default: () => TdCheckboxGroupProps['defaultValue']; }; onChange: import("vue").PropType<TdCheckboxGroupProps['onChange']>; }>> & Readonly<{ onChange?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; "onUpdate:value"?: (...args: any[]) => any; }>, { borderless: boolean; disabled: boolean; max: number; name: string; readonly: boolean; value: CheckboxGroupValue; modelValue: CheckboxGroupValue; defaultValue: CheckboxGroupValue; }, {}, { Checkbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ block: { type: BooleanConstructor; default: boolean; }; borderless: { type: BooleanConstructor; default: any; }; checkAll: BooleanConstructor; checked: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultChecked: BooleanConstructor; content: { type: import("vue").PropType<TdCheckboxProps['content']>; }; contentDisabled: BooleanConstructor; default: { type: import("vue").PropType<TdCheckboxProps['default']>; }; disabled: { type: BooleanConstructor; default: any; }; icon: { type: import("vue").PropType<TdCheckboxProps['icon']>; default: TdCheckboxProps['icon']; }; indeterminate: BooleanConstructor; label: { type: import("vue").PropType<TdCheckboxProps['label']>; }; maxContentRow: { type: NumberConstructor; default: number; }; maxLabelRow: { type: NumberConstructor; default: number; }; name: { type: StringConstructor; default: string; }; placement: { type: import("vue").PropType<TdCheckboxProps['placement']>; default: TdCheckboxProps['placement']; validator(val: TdCheckboxProps['placement']): boolean; }; readonly: { type: BooleanConstructor; default: any; }; value: { type: import("vue").PropType<TdCheckboxProps['value']>; }; onChange: import("vue").PropType<TdCheckboxProps['onChange']>; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:checked" | "update:modelValue")[], "change" | "update:checked" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ block: { type: BooleanConstructor; default: boolean; }; borderless: { type: BooleanConstructor; default: any; }; checkAll: BooleanConstructor; checked: { type: BooleanConstructor; default: any; }; modelValue: { type: BooleanConstructor; default: any; }; defaultChecked: BooleanConstructor; content: { type: import("vue").PropType<TdCheckboxProps['content']>; }; contentDisabled: BooleanConstructor; default: { type: import("vue").PropType<TdCheckboxProps['default']>; }; disabled: { type: BooleanConstructor; default: any; }; icon: { type: import("vue").PropType<TdCheckboxProps['icon']>; default: TdCheckboxProps['icon']; }; indeterminate: BooleanConstructor; label: { type: import("vue").PropType<TdCheckboxProps['label']>; }; maxContentRow: { type: NumberConstructor; default: number; }; maxLabelRow: { type: NumberConstructor; default: number; }; name: { type: StringConstructor; default: string; }; placement: { type: import("vue").PropType<TdCheckboxProps['placement']>; default: TdCheckboxProps['placement']; validator(val: TdCheckboxProps['placement']): boolean; }; readonly: { type: BooleanConstructor; default: any; }; value: { type: import("vue").PropType<TdCheckboxProps['value']>; }; onChange: import("vue").PropType<TdCheckboxProps['onChange']>; }>> & Readonly<{ onChange?: (...args: any[]) => any; "onUpdate:checked"?: (...args: any[]) => any; "onUpdate:modelValue"?: (...args: any[]) => any; }>, { block: boolean; borderless: boolean; checkAll: boolean; checked: boolean; modelValue: boolean; defaultChecked: boolean; contentDisabled: boolean; disabled: boolean; icon: "circle" | "line" | "rectangle" | boolean | (String | ((h: typeof import('vue').h) => import("@/index-lib").TNodeReturnValue))[]; indeterminate: boolean; maxContentRow: number; maxLabelRow: number; name: string; placement: "left" | "right"; readonly: boolean; }, {}, { TNode: { (props: { content: any; }): any; props: string[]; }; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;