1 | import type { ComponentPublicInstance, ComputedRef } from 'vue';
|
2 | import type { CheckboxProps } from './Checkbox';
|
3 | import type { CheckerShape, CheckerLabelPosition } from './Checker';
|
4 | export type CheckboxShape = CheckerShape;
|
5 | export type CheckboxLabelPosition = CheckerLabelPosition;
|
6 | export type CheckboxExpose = {
|
7 | toggle: (newValue?: boolean) => void;
|
8 |
|
9 | props: CheckboxProps;
|
10 |
|
11 | checked: ComputedRef<boolean>;
|
12 | };
|
13 | export type CheckboxInstance = ComponentPublicInstance<CheckboxProps, CheckboxExpose>;
|
14 | export type CheckboxThemeVars = {
|
15 | checkboxSize?: string;
|
16 | checkboxBorderColor?: string;
|
17 | checkboxDuration?: string;
|
18 | checkboxLabelMargin?: string;
|
19 | checkboxLabelColor?: string;
|
20 | checkboxCheckedIconColor?: string;
|
21 | checkboxDisabledIconColor?: string;
|
22 | checkboxDisabledLabelColor?: string;
|
23 | checkboxDisabledBackground?: string;
|
24 | };
|