UNPKG

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