UNPKG

2.27 kBTypeScriptView Raw
1export declare const Checkbox: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 name: import("vue").PropType<unknown>;
3 disabled: BooleanConstructor;
4 iconSize: (NumberConstructor | StringConstructor)[];
5 modelValue: import("vue").PropType<unknown>;
6 checkedColor: StringConstructor;
7 labelPosition: import("vue").PropType<import("./Checker").CheckerLabelPosition>;
8 labelDisabled: BooleanConstructor;
9} & {
10 shape: import("vue").PropType<import("./Checker").CheckerShape>;
11 bindGroup: {
12 type: BooleanConstructor;
13 default: true;
14 };
15 indeterminate: {
16 type: import("vue").PropType<boolean | null>;
17 default: null;
18 };
19}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20 name: import("vue").PropType<unknown>;
21 disabled: BooleanConstructor;
22 iconSize: (NumberConstructor | StringConstructor)[];
23 modelValue: import("vue").PropType<unknown>;
24 checkedColor: StringConstructor;
25 labelPosition: import("vue").PropType<import("./Checker").CheckerLabelPosition>;
26 labelDisabled: BooleanConstructor;
27} & {
28 shape: import("vue").PropType<import("./Checker").CheckerShape>;
29 bindGroup: {
30 type: BooleanConstructor;
31 default: true;
32 };
33 indeterminate: {
34 type: import("vue").PropType<boolean | null>;
35 default: null;
36 };
37}>> & Readonly<{
38 onChange?: ((...args: any[]) => any) | undefined;
39 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
40}>, {
41 disabled: boolean;
42 labelDisabled: boolean;
43 bindGroup: boolean;
44 indeterminate: boolean | null;
45}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
46export default Checkbox;
47export { checkboxProps } from './Checkbox';
48export type { CheckboxProps } from './Checkbox';
49export type { CheckboxShape, CheckboxInstance, CheckboxThemeVars, CheckboxLabelPosition, } from './types';
50declare module 'vue' {
51 interface GlobalComponents {
52 VanCheckbox: typeof Checkbox;
53 }
54}
55
\No newline at end of file