tdesign-mobile-vue
Version:
tdesign-mobile-vue
157 lines (156 loc) • 4.54 kB
TypeScript
import { TdCheckboxProps } from '../checkbox/type';
declare const _default: 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("@/common").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>;
export default _default;