53 lines
2.1 KiB
TypeScript
53 lines
2.1 KiB
TypeScript
export declare const Checkbox: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
name: import("vue").PropType<unknown>;
|
|
shape: {
|
|
type: import("vue").PropType<import("./Checker").CheckerShape>;
|
|
default: import("./Checker").CheckerShape;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
modelValue: import("vue").PropType<unknown>;
|
|
checkedColor: StringConstructor;
|
|
labelPosition: import("vue").PropType<import("./Checker").CheckerLabelPosition>;
|
|
labelDisabled: BooleanConstructor;
|
|
} & {
|
|
bindGroup: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
name: import("vue").PropType<unknown>;
|
|
shape: {
|
|
type: import("vue").PropType<import("./Checker").CheckerShape>;
|
|
default: import("./Checker").CheckerShape;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
modelValue: import("vue").PropType<unknown>;
|
|
checkedColor: StringConstructor;
|
|
labelPosition: import("vue").PropType<import("./Checker").CheckerLabelPosition>;
|
|
labelDisabled: BooleanConstructor;
|
|
} & {
|
|
bindGroup: {
|
|
type: BooleanConstructor;
|
|
default: true;
|
|
};
|
|
}>> & {
|
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
}, {
|
|
disabled: boolean;
|
|
shape: import("./Checker").CheckerShape;
|
|
labelDisabled: boolean;
|
|
bindGroup: boolean;
|
|
}>>;
|
|
export default Checkbox;
|
|
export { checkboxProps } from './Checkbox';
|
|
export type { CheckboxProps } from './Checkbox';
|
|
export type { CheckboxShape, CheckboxInstance, CheckboxThemeVars, CheckboxLabelPosition, } from './types';
|
|
declare module 'vue' {
|
|
interface GlobalComponents {
|
|
VanCheckbox: typeof Checkbox;
|
|
}
|
|
}
|