1 | export declare const Switch: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | size: (NumberConstructor | StringConstructor)[];
|
3 | loading: BooleanConstructor;
|
4 | disabled: BooleanConstructor;
|
5 | modelValue: import("vue").PropType<unknown>;
|
6 | activeColor: StringConstructor;
|
7 | inactiveColor: StringConstructor;
|
8 | activeValue: {
|
9 | type: import("vue").PropType<unknown>;
|
10 | default: unknown;
|
11 | };
|
12 | inactiveValue: {
|
13 | type: import("vue").PropType<unknown>;
|
14 | default: unknown;
|
15 | };
|
16 | }>, () => 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<{
|
17 | size: (NumberConstructor | StringConstructor)[];
|
18 | loading: BooleanConstructor;
|
19 | disabled: BooleanConstructor;
|
20 | modelValue: import("vue").PropType<unknown>;
|
21 | activeColor: StringConstructor;
|
22 | inactiveColor: StringConstructor;
|
23 | activeValue: {
|
24 | type: import("vue").PropType<unknown>;
|
25 | default: unknown;
|
26 | };
|
27 | inactiveValue: {
|
28 | type: import("vue").PropType<unknown>;
|
29 | default: unknown;
|
30 | };
|
31 | }>> & Readonly<{
|
32 | onChange?: ((...args: any[]) => any) | undefined;
|
33 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
34 | }>, {
|
35 | disabled: boolean;
|
36 | loading: boolean;
|
37 | activeValue: unknown;
|
38 | inactiveValue: unknown;
|
39 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
40 | export default Switch;
|
41 | export { switchProps } from './Switch';
|
42 | export type { SwitchProps } from './Switch';
|
43 | export type { SwitchThemeVars } from './types';
|
44 | declare module 'vue' {
|
45 | interface GlobalComponents {
|
46 | VanSwitch: typeof Switch;
|
47 | }
|
48 | }
|
49 |
|
\ | No newline at end of file |