1 | import type { ComponentPublicInstance } from 'vue';
|
2 | import type { CheckboxGroupProps } from './CheckboxGroup';
|
3 | import type { CheckerParent, CheckerDirection } from '../checkbox/Checker';
|
4 | export type CheckboxGroupDirection = CheckerDirection;
|
5 | export type CheckboxGroupToggleAllOptions = boolean | {
|
6 | checked?: boolean;
|
7 | skipDisabled?: boolean;
|
8 | };
|
9 | export type CheckboxGroupExpose = {
|
10 | toggleAll: (options?: CheckboxGroupToggleAllOptions) => void;
|
11 | };
|
12 | export type CheckboxGroupInstance = ComponentPublicInstance<CheckboxGroupProps, CheckboxGroupExpose>;
|
13 | export type CheckboxGroupProvide = CheckerParent & {
|
14 | props: CheckboxGroupProps;
|
15 | updateValue: (value: unknown[]) => void;
|
16 | };
|