UNPKG

2.27 kBTypeScriptView Raw
1import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
2import type { CheckerShape, CheckerDirection } from '../checkbox/Checker';
3import type { CheckboxGroupProvide } from './types';
4export declare const checkboxGroupProps: {
5 max: (NumberConstructor | StringConstructor)[];
6 shape: {
7 type: PropType<CheckerShape>;
8 default: CheckerShape;
9 };
10 disabled: BooleanConstructor;
11 iconSize: (NumberConstructor | StringConstructor)[];
12 direction: PropType<CheckerDirection>;
13 modelValue: {
14 type: PropType<unknown[]>;
15 default: () => never[];
16 };
17 checkedColor: StringConstructor;
18};
19export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
20export declare const CHECKBOX_GROUP_KEY: InjectionKey<CheckboxGroupProvide>;
21declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
22 max: (NumberConstructor | StringConstructor)[];
23 shape: {
24 type: PropType<CheckerShape>;
25 default: CheckerShape;
26 };
27 disabled: BooleanConstructor;
28 iconSize: (NumberConstructor | StringConstructor)[];
29 direction: PropType<CheckerDirection>;
30 modelValue: {
31 type: PropType<unknown[]>;
32 default: () => never[];
33 };
34 checkedColor: StringConstructor;
35}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
36 max: (NumberConstructor | StringConstructor)[];
37 shape: {
38 type: PropType<CheckerShape>;
39 default: CheckerShape;
40 };
41 disabled: BooleanConstructor;
42 iconSize: (NumberConstructor | StringConstructor)[];
43 direction: PropType<CheckerDirection>;
44 modelValue: {
45 type: PropType<unknown[]>;
46 default: () => never[];
47 };
48 checkedColor: StringConstructor;
49}>> & Readonly<{
50 onChange?: ((...args: any[]) => any) | undefined;
51 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
52}>, {
53 disabled: boolean;
54 shape: CheckerShape;
55 modelValue: unknown[];
56}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57export default _default;
58
\No newline at end of file