1 | export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
3 | url: StringConstructor;
|
4 | replace: BooleanConstructor;
|
5 | } & {
|
6 | tag: {
|
7 | type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
8 | default: keyof HTMLElementTagNameMap;
|
9 | };
|
10 | text: StringConstructor;
|
11 | icon: StringConstructor;
|
12 | type: {
|
13 | type: import("vue").PropType<import("./types").ButtonType>;
|
14 | default: import("./types").ButtonType;
|
15 | };
|
16 | size: {
|
17 | type: import("vue").PropType<import("./types").ButtonSize>;
|
18 | default: import("./types").ButtonSize;
|
19 | };
|
20 | color: StringConstructor;
|
21 | block: BooleanConstructor;
|
22 | plain: BooleanConstructor;
|
23 | round: BooleanConstructor;
|
24 | square: BooleanConstructor;
|
25 | loading: BooleanConstructor;
|
26 | hairline: BooleanConstructor;
|
27 | disabled: BooleanConstructor;
|
28 | iconPrefix: StringConstructor;
|
29 | nativeType: {
|
30 | type: import("vue").PropType<import("./types").ButtonNativeType>;
|
31 | default: import("./types").ButtonNativeType;
|
32 | };
|
33 | loadingSize: (NumberConstructor | StringConstructor)[];
|
34 | loadingText: StringConstructor;
|
35 | loadingType: import("vue").PropType<import("..").LoadingType>;
|
36 | iconPosition: {
|
37 | type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
38 | default: import("./types").ButtonIconPosition;
|
39 | };
|
40 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
41 | to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
42 | url: StringConstructor;
|
43 | replace: BooleanConstructor;
|
44 | } & {
|
45 | tag: {
|
46 | type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
47 | default: keyof HTMLElementTagNameMap;
|
48 | };
|
49 | text: StringConstructor;
|
50 | icon: StringConstructor;
|
51 | type: {
|
52 | type: import("vue").PropType<import("./types").ButtonType>;
|
53 | default: import("./types").ButtonType;
|
54 | };
|
55 | size: {
|
56 | type: import("vue").PropType<import("./types").ButtonSize>;
|
57 | default: import("./types").ButtonSize;
|
58 | };
|
59 | color: StringConstructor;
|
60 | block: BooleanConstructor;
|
61 | plain: BooleanConstructor;
|
62 | round: BooleanConstructor;
|
63 | square: BooleanConstructor;
|
64 | loading: BooleanConstructor;
|
65 | hairline: BooleanConstructor;
|
66 | disabled: BooleanConstructor;
|
67 | iconPrefix: StringConstructor;
|
68 | nativeType: {
|
69 | type: import("vue").PropType<import("./types").ButtonNativeType>;
|
70 | default: import("./types").ButtonNativeType;
|
71 | };
|
72 | loadingSize: (NumberConstructor | StringConstructor)[];
|
73 | loadingText: StringConstructor;
|
74 | loadingType: import("vue").PropType<import("..").LoadingType>;
|
75 | iconPosition: {
|
76 | type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
77 | default: import("./types").ButtonIconPosition;
|
78 | };
|
79 | }>> & Readonly<{
|
80 | onClick?: ((...args: any[]) => any) | undefined;
|
81 | }>, {
|
82 | replace: boolean;
|
83 | type: import("./types").ButtonType;
|
84 | tag: keyof HTMLElementTagNameMap;
|
85 | round: boolean;
|
86 | size: import("./types").ButtonSize;
|
87 | disabled: boolean;
|
88 | block: boolean;
|
89 | square: boolean;
|
90 | loading: boolean;
|
91 | plain: boolean;
|
92 | hairline: boolean;
|
93 | nativeType: import("./types").ButtonNativeType;
|
94 | iconPosition: import("./types").ButtonIconPosition;
|
95 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
96 | export default Button;
|
97 | export { buttonProps } from './Button';
|
98 | export type { ButtonProps } from './Button';
|
99 | export type { ButtonType, ButtonSize, ButtonThemeVars, ButtonNativeType, ButtonIconPosition, } from './types';
|
100 | declare module 'vue' {
|
101 | interface GlobalComponents {
|
102 | VanButton: typeof Button;
|
103 | }
|
104 | }
|
105 |
|
\ | No newline at end of file |