@dazhicheng/ui 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/index.esm.d.ts +6 -5777
  2. package/dist/index.esm.js +1997 -1990
  3. package/dist/index.js +30410 -0
  4. package/dist/packages/components/__test__/TtArea.test.d.ts +2 -0
  5. package/dist/packages/components/__test__/TtArea.test.d.ts.map +1 -0
  6. package/dist/packages/components/src/TtArea/TtArea.vue.d.ts +3 -0
  7. package/dist/packages/components/src/TtArea/TtArea.vue.d.ts.map +1 -0
  8. package/dist/packages/components/src/TtArea/index.d.ts +2 -0
  9. package/dist/packages/components/src/TtArea/index.d.ts.map +1 -0
  10. package/dist/packages/components/src/index.d.ts +7 -0
  11. package/dist/packages/components/src/index.d.ts.map +1 -0
  12. package/dist/packages/hooks/src/index.d.ts +6 -0
  13. package/dist/packages/hooks/src/index.d.ts.map +1 -0
  14. package/dist/packages/hooks/src/propTypes.d.ts +7 -0
  15. package/dist/packages/hooks/src/propTypes.d.ts.map +1 -0
  16. package/dist/packages/hooks/src/tools.d.ts +40 -0
  17. package/dist/packages/hooks/src/tools.d.ts.map +1 -0
  18. package/dist/packages/hooks/src/useDesign.d.ts +5 -0
  19. package/dist/packages/hooks/src/useDesign.d.ts.map +1 -0
  20. package/dist/packages/hooks/src/useIsScroll.d.ts +6 -0
  21. package/dist/packages/hooks/src/useIsScroll.d.ts.map +1 -0
  22. package/dist/packages/hooks/src/usePriorityValue.d.ts +30 -0
  23. package/dist/packages/hooks/src/usePriorityValue.d.ts.map +1 -0
  24. package/dist/packages/ui/__test__/TtArea.test.d.ts +2 -0
  25. package/dist/packages/ui/__test__/TtArea.test.d.ts.map +1 -0
  26. package/dist/packages/ui/src/TtArea/TtArea.vue.d.ts +3 -0
  27. package/dist/packages/ui/src/TtArea/TtArea.vue.d.ts.map +1 -0
  28. package/dist/packages/ui/src/TtArea/index.d.ts +2 -0
  29. package/dist/packages/ui/src/TtArea/index.d.ts.map +1 -0
  30. package/dist/packages/ui/src/components/tt-button/index.d.ts +1740 -0
  31. package/dist/packages/ui/src/components/tt-button/index.d.ts.map +1 -0
  32. package/dist/packages/ui/src/components/tt-button/index.vue.d.ts +1005 -0
  33. package/dist/packages/ui/src/components/tt-button/index.vue.d.ts.map +1 -0
  34. package/dist/packages/ui/src/components/tt-checkbox/index.d.ts +37 -0
  35. package/dist/packages/ui/src/components/tt-checkbox/index.d.ts.map +1 -0
  36. package/dist/packages/ui/src/components/tt-checkbox/index.vue.d.ts +29 -0
  37. package/dist/packages/ui/src/components/tt-checkbox/index.vue.d.ts.map +1 -0
  38. package/dist/packages/ui/src/components/tt-checkbox/type.d.ts +10 -0
  39. package/dist/packages/ui/src/components/tt-checkbox/type.d.ts.map +1 -0
  40. package/dist/packages/ui/src/components/tt-empty/index.d.ts +19 -0
  41. package/dist/packages/ui/src/components/tt-empty/index.d.ts.map +1 -0
  42. package/dist/packages/ui/src/components/tt-icon/index.d.ts +43 -0
  43. package/dist/packages/ui/src/components/tt-icon/index.d.ts.map +1 -0
  44. package/dist/packages/ui/src/components/tt-icon/index.vue.d.ts +42 -0
  45. package/dist/packages/ui/src/components/tt-icon/index.vue.d.ts.map +1 -0
  46. package/dist/packages/ui/src/components/tt-modal/index.d.ts +1809 -0
  47. package/dist/packages/ui/src/components/tt-modal/index.d.ts.map +1 -0
  48. package/dist/packages/ui/src/components/tt-modal/src/RenderModal.vue.d.ts +1009 -0
  49. package/dist/packages/ui/src/components/tt-modal/src/RenderModal.vue.d.ts.map +1 -0
  50. package/dist/packages/ui/src/components/tt-modal/src/components/ModalFooter.vue.d.ts +211 -0
  51. package/dist/packages/ui/src/components/tt-modal/src/components/ModalFooter.vue.d.ts.map +1 -0
  52. package/dist/packages/ui/src/components/tt-modal/src/components/ModalHeader.vue.d.ts +32 -0
  53. package/dist/packages/ui/src/components/tt-modal/src/components/ModalHeader.vue.d.ts.map +1 -0
  54. package/dist/packages/ui/src/components/tt-modal/src/components/ModalWrapper.vue.d.ts +225 -0
  55. package/dist/packages/ui/src/components/tt-modal/src/components/ModalWrapper.vue.d.ts.map +1 -0
  56. package/dist/packages/ui/src/components/tt-modal/src/hooks/useModalRender.d.ts +110 -0
  57. package/dist/packages/ui/src/components/tt-modal/src/hooks/useModalRender.d.ts.map +1 -0
  58. package/dist/packages/ui/src/components/tt-modal/src/index.d.ts +7 -0
  59. package/dist/packages/ui/src/components/tt-modal/src/index.d.ts.map +1 -0
  60. package/dist/packages/ui/src/components/tt-modal/src/props.d.ts +162 -0
  61. package/dist/packages/ui/src/components/tt-modal/src/props.d.ts.map +1 -0
  62. package/dist/packages/ui/src/components/tt-modal/src/typing.d.ts +189 -0
  63. package/dist/packages/ui/src/components/tt-modal/src/typing.d.ts.map +1 -0
  64. package/dist/packages/ui/src/components/tt-modal/src/utils/modal-api.d.ts +98 -0
  65. package/dist/packages/ui/src/components/tt-modal/src/utils/modal-api.d.ts.map +1 -0
  66. package/dist/packages/ui/src/components/tt-select/index.d.ts +9 -0
  67. package/dist/packages/ui/src/components/tt-select/index.d.ts.map +1 -0
  68. package/dist/packages/ui/src/components/tt-select/src/components/SelectTable.vue.d.ts +112 -0
  69. package/dist/packages/ui/src/components/tt-select/src/components/SelectTable.vue.d.ts.map +1 -0
  70. package/dist/packages/ui/src/components/tt-select/src/components/Table.vue.d.ts +251 -0
  71. package/dist/packages/ui/src/components/tt-select/src/components/Table.vue.d.ts.map +1 -0
  72. package/dist/packages/ui/src/components/tt-select/src/const.d.ts +17 -0
  73. package/dist/packages/ui/src/components/tt-select/src/const.d.ts.map +1 -0
  74. package/dist/packages/ui/src/components/tt-select/src/hooks/useDataSource.d.ts +116 -0
  75. package/dist/packages/ui/src/components/tt-select/src/hooks/useDataSource.d.ts.map +1 -0
  76. package/dist/packages/ui/src/components/tt-select/src/hooks/useGrid.d.ts +33 -0
  77. package/dist/packages/ui/src/components/tt-select/src/hooks/useGrid.d.ts.map +1 -0
  78. package/dist/packages/ui/src/components/tt-select/src/hooks/useKeyboard.d.ts +60 -0
  79. package/dist/packages/ui/src/components/tt-select/src/hooks/useKeyboard.d.ts.map +1 -0
  80. package/dist/packages/ui/src/components/tt-select/src/hooks/usePagination.d.ts +17 -0
  81. package/dist/packages/ui/src/components/tt-select/src/hooks/usePagination.d.ts.map +1 -0
  82. package/dist/packages/ui/src/components/tt-select/src/hooks/useSelect.d.ts +88 -0
  83. package/dist/packages/ui/src/components/tt-select/src/hooks/useSelect.d.ts.map +1 -0
  84. package/dist/packages/ui/src/components/tt-select/src/hooks/useSelectTableEvent.d.ts +179 -0
  85. package/dist/packages/ui/src/components/tt-select/src/hooks/useSelectTableEvent.d.ts.map +1 -0
  86. package/dist/packages/ui/src/components/tt-select/src/props.d.ts +191 -0
  87. package/dist/packages/ui/src/components/tt-select/src/props.d.ts.map +1 -0
  88. package/dist/packages/ui/src/components/tt-select/src/types/index.d.ts +143 -0
  89. package/dist/packages/ui/src/components/tt-select/src/types/index.d.ts.map +1 -0
  90. package/dist/packages/ui/src/components/tt-select/src/utils/index.d.ts +10 -0
  91. package/dist/packages/ui/src/components/tt-select/src/utils/index.d.ts.map +1 -0
  92. package/dist/packages/ui/src/components/tt-text/index.d.ts +77 -0
  93. package/dist/packages/ui/src/components/tt-text/index.d.ts.map +1 -0
  94. package/dist/packages/ui/src/components/tt-text/index.vue.d.ts +51 -0
  95. package/dist/packages/ui/src/components/tt-text/index.vue.d.ts.map +1 -0
  96. package/dist/packages/ui/src/components/types.d.ts +4 -0
  97. package/dist/packages/ui/src/components/types.d.ts.map +1 -0
  98. package/dist/packages/ui/src/directives/auto-tip/index.d.ts +4 -0
  99. package/dist/packages/ui/src/directives/auto-tip/index.d.ts.map +1 -0
  100. package/dist/packages/ui/src/directives/dialog-resize/index.d.ts +26 -0
  101. package/dist/packages/ui/src/directives/dialog-resize/index.d.ts.map +1 -0
  102. package/dist/packages/ui/src/directives/dialog-resize/use-css-variable.d.ts +2 -0
  103. package/dist/packages/ui/src/directives/dialog-resize/use-css-variable.d.ts.map +1 -0
  104. package/dist/packages/ui/src/directives/dialog-resize/use-draggable.d.ts +5 -0
  105. package/dist/packages/ui/src/directives/dialog-resize/use-draggable.d.ts.map +1 -0
  106. package/dist/packages/ui/src/directives/dialog-resize/use-fullscreen.d.ts +2 -0
  107. package/dist/packages/ui/src/directives/dialog-resize/use-fullscreen.d.ts.map +1 -0
  108. package/dist/packages/ui/src/directives/dialog-resize/use-parse-translate.d.ts +5 -0
  109. package/dist/packages/ui/src/directives/dialog-resize/use-parse-translate.d.ts.map +1 -0
  110. package/dist/packages/ui/src/directives/dialog-resize/use-resizer.d.ts +3 -0
  111. package/dist/packages/ui/src/directives/dialog-resize/use-resizer.d.ts.map +1 -0
  112. package/dist/packages/ui/src/directives/disabled-tip/index.d.ts +18 -0
  113. package/dist/packages/ui/src/directives/disabled-tip/index.d.ts.map +1 -0
  114. package/dist/packages/ui/src/directives/index.d.ts +4 -0
  115. package/dist/packages/ui/src/directives/index.d.ts.map +1 -0
  116. package/dist/packages/ui/src/hooks/useLoading.d.ts +10 -0
  117. package/dist/packages/ui/src/hooks/useLoading.d.ts.map +1 -0
  118. package/dist/packages/ui/src/hooks/useTable.d.ts +6 -0
  119. package/dist/packages/ui/src/hooks/useTable.d.ts.map +1 -0
  120. package/dist/packages/ui/src/index.d.ts +15 -0
  121. package/dist/packages/ui/src/index.d.ts.map +1 -0
  122. package/dist/packages/ui/vite.config.d.ts +3 -0
  123. package/dist/packages/ui/vite.config.d.ts.map +1 -0
  124. package/dist/packages/utils/__test__/math.test.d.ts +2 -0
  125. package/dist/packages/utils/__test__/math.test.d.ts.map +1 -0
  126. package/dist/packages/utils/__test__/string.test.d.ts +2 -0
  127. package/dist/packages/utils/__test__/string.test.d.ts.map +1 -0
  128. package/dist/packages/utils/src/axios/error.d.ts +63 -0
  129. package/dist/packages/utils/src/axios/error.d.ts.map +1 -0
  130. package/dist/packages/utils/src/axios/index.d.ts +4 -0
  131. package/dist/packages/utils/src/axios/index.d.ts.map +1 -0
  132. package/dist/packages/utils/src/axios/loadinSvg.d.ts +2 -0
  133. package/dist/packages/utils/src/axios/loadinSvg.d.ts.map +1 -0
  134. package/dist/packages/utils/src/axios/loading.d.ts +12 -0
  135. package/dist/packages/utils/src/axios/loading.d.ts.map +1 -0
  136. package/dist/packages/utils/src/axios/status.d.ts +38 -0
  137. package/dist/packages/utils/src/axios/status.d.ts.map +1 -0
  138. package/dist/packages/utils/src/axios/type.d.ts +24 -0
  139. package/dist/packages/utils/src/axios/type.d.ts.map +1 -0
  140. package/dist/packages/utils/src/calc.d.ts +58 -0
  141. package/dist/packages/utils/src/calc.d.ts.map +1 -0
  142. package/dist/packages/utils/src/file.d.ts +13 -0
  143. package/dist/packages/utils/src/file.d.ts.map +1 -0
  144. package/dist/packages/utils/src/index.d.ts +12 -0
  145. package/dist/packages/utils/src/index.d.ts.map +1 -0
  146. package/dist/packages/utils/src/install.d.ts +4 -0
  147. package/dist/packages/utils/src/install.d.ts.map +1 -0
  148. package/dist/packages/utils/src/is.d.ts +238 -0
  149. package/dist/packages/utils/src/is.d.ts.map +1 -0
  150. package/dist/packages/utils/src/math.d.ts +5 -0
  151. package/dist/packages/utils/src/math.d.ts.map +1 -0
  152. package/dist/packages/utils/src/merge.d.ts +17 -0
  153. package/dist/packages/utils/src/merge.d.ts.map +1 -0
  154. package/dist/packages/utils/src/string.d.ts +4 -0
  155. package/dist/packages/utils/src/string.d.ts.map +1 -0
  156. package/dist/packages/utils/src/testid-helper.d.ts +151 -0
  157. package/dist/packages/utils/src/testid-helper.d.ts.map +1 -0
  158. package/dist/packages/utils/src/tool.d.ts +38 -0
  159. package/dist/packages/utils/src/tool.d.ts.map +1 -0
  160. package/dist/style.css +1 -1
  161. package/dist/vitest.config.d.ts +3 -0
  162. package/dist/vitest.config.d.ts.map +1 -0
  163. package/package.json +6 -5
@@ -0,0 +1,1740 @@
1
+ export type TtChangeLoading = (loading: boolean) => void;
2
+ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('element-plus').ButtonProps & {
4
+ iconFont?: string;
5
+ }>> & Readonly<{
6
+ onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
7
+ }>, {
8
+ buttonRef: import('vue').Ref<({
9
+ $: import('vue').ComponentInternalInstance;
10
+ $data: {};
11
+ $props: Partial<{
12
+ text: boolean;
13
+ disabled: boolean;
14
+ round: boolean;
15
+ type: import('element-plus').ButtonType;
16
+ tag: string | import('vue').Component;
17
+ plain: boolean;
18
+ autoInsertSpace: boolean;
19
+ nativeType: import('element-plus').ButtonNativeType;
20
+ loadingIcon: string | import('vue').Component;
21
+ }> & Omit<{
22
+ readonly type: import('element-plus').ButtonType;
23
+ readonly nativeType: import('element-plus').ButtonNativeType;
24
+ readonly tag: string | import('vue').Component;
25
+ readonly link?: boolean | undefined;
26
+ readonly icon?: (string | import('vue').Component) | undefined;
27
+ readonly plain?: boolean | undefined;
28
+ readonly dark?: boolean | undefined;
29
+ readonly text?: boolean | undefined;
30
+ readonly disabled?: boolean | undefined;
31
+ readonly size?: import('element-plus').ComponentSize | undefined;
32
+ readonly circle?: boolean | undefined;
33
+ readonly loading?: boolean | undefined;
34
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
35
+ readonly bg?: boolean | undefined;
36
+ readonly autofocus?: boolean | undefined;
37
+ readonly round?: boolean | undefined;
38
+ readonly color?: string | undefined;
39
+ readonly autoInsertSpace?: boolean | undefined;
40
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
41
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
42
+ $attrs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $refs: {
46
+ [x: string]: unknown;
47
+ };
48
+ $slots: Readonly<{
49
+ [name: string]: import('vue').Slot<any> | undefined;
50
+ }>;
51
+ $root: import('vue').ComponentPublicInstance | null;
52
+ $parent: import('vue').ComponentPublicInstance | null;
53
+ $host: Element | null;
54
+ $emit: (event: "click", evt: MouseEvent) => void;
55
+ $el: any;
56
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
57
+ type: {
58
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
59
+ default: string;
60
+ };
61
+ link: {
62
+ type: import('vue').PropType<boolean>;
63
+ };
64
+ icon: {
65
+ type: import('vue').PropType<string | import('vue').Component>;
66
+ };
67
+ plain: {
68
+ type: import('vue').PropType<boolean>;
69
+ default: undefined;
70
+ };
71
+ dark: {
72
+ type: import('vue').PropType<boolean>;
73
+ };
74
+ text: {
75
+ type: import('vue').PropType<boolean>;
76
+ default: undefined;
77
+ };
78
+ disabled: {
79
+ type: import('vue').PropType<boolean>;
80
+ default: undefined;
81
+ };
82
+ size: {
83
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
84
+ };
85
+ circle: {
86
+ type: import('vue').PropType<boolean>;
87
+ };
88
+ nativeType: {
89
+ type: import('vue').PropType<"button" | "reset" | "submit">;
90
+ default: string;
91
+ };
92
+ loading: {
93
+ type: import('vue').PropType<boolean>;
94
+ };
95
+ loadingIcon: {
96
+ type: import('vue').PropType<string | import('vue').Component>;
97
+ default: any;
98
+ };
99
+ bg: {
100
+ type: import('vue').PropType<boolean>;
101
+ };
102
+ autofocus: {
103
+ type: import('vue').PropType<boolean>;
104
+ };
105
+ round: {
106
+ type: import('vue').PropType<boolean>;
107
+ default: undefined;
108
+ };
109
+ color: {
110
+ type: import('vue').PropType<string>;
111
+ };
112
+ autoInsertSpace: {
113
+ type: import('vue').PropType<boolean>;
114
+ default: undefined;
115
+ };
116
+ tag: {
117
+ type: import('vue').PropType<string | import('vue').Component>;
118
+ default: string;
119
+ };
120
+ }>> & {
121
+ onClick?: ((evt: MouseEvent) => any) | undefined;
122
+ }, {
123
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
124
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
125
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
126
+ disabled: import('vue').ComputedRef<boolean>;
127
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
128
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
129
+ click: (evt: MouseEvent) => void;
130
+ }, string, {
131
+ text: boolean;
132
+ disabled: boolean;
133
+ round: boolean;
134
+ type: import('element-plus').ButtonType;
135
+ tag: string | import('vue').Component;
136
+ plain: boolean;
137
+ autoInsertSpace: boolean;
138
+ nativeType: import('element-plus').ButtonNativeType;
139
+ loadingIcon: string | import('vue').Component;
140
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
141
+ beforeCreate?: (() => void) | (() => void)[];
142
+ created?: (() => void) | (() => void)[];
143
+ beforeMount?: (() => void) | (() => void)[];
144
+ mounted?: (() => void) | (() => void)[];
145
+ beforeUpdate?: (() => void) | (() => void)[];
146
+ updated?: (() => void) | (() => void)[];
147
+ activated?: (() => void) | (() => void)[];
148
+ deactivated?: (() => void) | (() => void)[];
149
+ beforeDestroy?: (() => void) | (() => void)[];
150
+ beforeUnmount?: (() => void) | (() => void)[];
151
+ destroyed?: (() => void) | (() => void)[];
152
+ unmounted?: (() => void) | (() => void)[];
153
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
154
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
155
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
156
+ };
157
+ $forceUpdate: () => void;
158
+ $nextTick: typeof import('vue').nextTick;
159
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
160
+ } & Readonly<{
161
+ text: boolean;
162
+ disabled: boolean;
163
+ round: boolean;
164
+ type: import('element-plus').ButtonType;
165
+ tag: string | import('vue').Component;
166
+ plain: boolean;
167
+ autoInsertSpace: boolean;
168
+ nativeType: import('element-plus').ButtonNativeType;
169
+ loadingIcon: string | import('vue').Component;
170
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
171
+ type: {
172
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
173
+ default: string;
174
+ };
175
+ link: {
176
+ type: import('vue').PropType<boolean>;
177
+ };
178
+ icon: {
179
+ type: import('vue').PropType<string | import('vue').Component>;
180
+ };
181
+ plain: {
182
+ type: import('vue').PropType<boolean>;
183
+ default: undefined;
184
+ };
185
+ dark: {
186
+ type: import('vue').PropType<boolean>;
187
+ };
188
+ text: {
189
+ type: import('vue').PropType<boolean>;
190
+ default: undefined;
191
+ };
192
+ disabled: {
193
+ type: import('vue').PropType<boolean>;
194
+ default: undefined;
195
+ };
196
+ size: {
197
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
198
+ };
199
+ circle: {
200
+ type: import('vue').PropType<boolean>;
201
+ };
202
+ nativeType: {
203
+ type: import('vue').PropType<"button" | "reset" | "submit">;
204
+ default: string;
205
+ };
206
+ loading: {
207
+ type: import('vue').PropType<boolean>;
208
+ };
209
+ loadingIcon: {
210
+ type: import('vue').PropType<string | import('vue').Component>;
211
+ default: any;
212
+ };
213
+ bg: {
214
+ type: import('vue').PropType<boolean>;
215
+ };
216
+ autofocus: {
217
+ type: import('vue').PropType<boolean>;
218
+ };
219
+ round: {
220
+ type: import('vue').PropType<boolean>;
221
+ default: undefined;
222
+ };
223
+ color: {
224
+ type: import('vue').PropType<string>;
225
+ };
226
+ autoInsertSpace: {
227
+ type: import('vue').PropType<boolean>;
228
+ default: undefined;
229
+ };
230
+ tag: {
231
+ type: import('vue').PropType<string | import('vue').Component>;
232
+ default: string;
233
+ };
234
+ }>> & {
235
+ onClick?: ((evt: MouseEvent) => any) | undefined;
236
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
237
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
238
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
239
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
240
+ disabled: import('vue').ComputedRef<boolean>;
241
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
242
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
243
+ $slots: {
244
+ loading?: (props: {}) => any;
245
+ } & {
246
+ icon?: (props: {}) => any;
247
+ } & {
248
+ default?: (props: {}) => any;
249
+ };
250
+ }) | null, ({
251
+ $: import('vue').ComponentInternalInstance;
252
+ $data: {};
253
+ $props: Partial<{
254
+ text: boolean;
255
+ disabled: boolean;
256
+ round: boolean;
257
+ type: import('element-plus').ButtonType;
258
+ tag: string | import('vue').Component;
259
+ plain: boolean;
260
+ autoInsertSpace: boolean;
261
+ nativeType: import('element-plus').ButtonNativeType;
262
+ loadingIcon: string | import('vue').Component;
263
+ }> & Omit<{
264
+ readonly type: import('element-plus').ButtonType;
265
+ readonly nativeType: import('element-plus').ButtonNativeType;
266
+ readonly tag: string | import('vue').Component;
267
+ readonly link?: boolean | undefined;
268
+ readonly icon?: (string | import('vue').Component) | undefined;
269
+ readonly plain?: boolean | undefined;
270
+ readonly dark?: boolean | undefined;
271
+ readonly text?: boolean | undefined;
272
+ readonly disabled?: boolean | undefined;
273
+ readonly size?: import('element-plus').ComponentSize | undefined;
274
+ readonly circle?: boolean | undefined;
275
+ readonly loading?: boolean | undefined;
276
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
277
+ readonly bg?: boolean | undefined;
278
+ readonly autofocus?: boolean | undefined;
279
+ readonly round?: boolean | undefined;
280
+ readonly color?: string | undefined;
281
+ readonly autoInsertSpace?: boolean | undefined;
282
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
283
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
284
+ $attrs: {
285
+ [x: string]: unknown;
286
+ };
287
+ $refs: {
288
+ [x: string]: unknown;
289
+ };
290
+ $slots: Readonly<{
291
+ [name: string]: import('vue').Slot<any> | undefined;
292
+ }>;
293
+ $root: import('vue').ComponentPublicInstance | null;
294
+ $parent: import('vue').ComponentPublicInstance | null;
295
+ $host: Element | null;
296
+ $emit: (event: "click", evt: MouseEvent) => void;
297
+ $el: any;
298
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
299
+ type: {
300
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
301
+ default: string;
302
+ };
303
+ link: {
304
+ type: import('vue').PropType<boolean>;
305
+ };
306
+ icon: {
307
+ type: import('vue').PropType<string | import('vue').Component>;
308
+ };
309
+ plain: {
310
+ type: import('vue').PropType<boolean>;
311
+ default: undefined;
312
+ };
313
+ dark: {
314
+ type: import('vue').PropType<boolean>;
315
+ };
316
+ text: {
317
+ type: import('vue').PropType<boolean>;
318
+ default: undefined;
319
+ };
320
+ disabled: {
321
+ type: import('vue').PropType<boolean>;
322
+ default: undefined;
323
+ };
324
+ size: {
325
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
326
+ };
327
+ circle: {
328
+ type: import('vue').PropType<boolean>;
329
+ };
330
+ nativeType: {
331
+ type: import('vue').PropType<"button" | "reset" | "submit">;
332
+ default: string;
333
+ };
334
+ loading: {
335
+ type: import('vue').PropType<boolean>;
336
+ };
337
+ loadingIcon: {
338
+ type: import('vue').PropType<string | import('vue').Component>;
339
+ default: any;
340
+ };
341
+ bg: {
342
+ type: import('vue').PropType<boolean>;
343
+ };
344
+ autofocus: {
345
+ type: import('vue').PropType<boolean>;
346
+ };
347
+ round: {
348
+ type: import('vue').PropType<boolean>;
349
+ default: undefined;
350
+ };
351
+ color: {
352
+ type: import('vue').PropType<string>;
353
+ };
354
+ autoInsertSpace: {
355
+ type: import('vue').PropType<boolean>;
356
+ default: undefined;
357
+ };
358
+ tag: {
359
+ type: import('vue').PropType<string | import('vue').Component>;
360
+ default: string;
361
+ };
362
+ }>> & {
363
+ onClick?: ((evt: MouseEvent) => any) | undefined;
364
+ }, {
365
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
366
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
367
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
368
+ disabled: import('vue').ComputedRef<boolean>;
369
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
370
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
371
+ click: (evt: MouseEvent) => void;
372
+ }, string, {
373
+ text: boolean;
374
+ disabled: boolean;
375
+ round: boolean;
376
+ type: import('element-plus').ButtonType;
377
+ tag: string | import('vue').Component;
378
+ plain: boolean;
379
+ autoInsertSpace: boolean;
380
+ nativeType: import('element-plus').ButtonNativeType;
381
+ loadingIcon: string | import('vue').Component;
382
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
383
+ beforeCreate?: (() => void) | (() => void)[];
384
+ created?: (() => void) | (() => void)[];
385
+ beforeMount?: (() => void) | (() => void)[];
386
+ mounted?: (() => void) | (() => void)[];
387
+ beforeUpdate?: (() => void) | (() => void)[];
388
+ updated?: (() => void) | (() => void)[];
389
+ activated?: (() => void) | (() => void)[];
390
+ deactivated?: (() => void) | (() => void)[];
391
+ beforeDestroy?: (() => void) | (() => void)[];
392
+ beforeUnmount?: (() => void) | (() => void)[];
393
+ destroyed?: (() => void) | (() => void)[];
394
+ unmounted?: (() => void) | (() => void)[];
395
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
396
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
397
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
398
+ };
399
+ $forceUpdate: () => void;
400
+ $nextTick: typeof import('vue').nextTick;
401
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
402
+ } & Readonly<{
403
+ text: boolean;
404
+ disabled: boolean;
405
+ round: boolean;
406
+ type: import('element-plus').ButtonType;
407
+ tag: string | import('vue').Component;
408
+ plain: boolean;
409
+ autoInsertSpace: boolean;
410
+ nativeType: import('element-plus').ButtonNativeType;
411
+ loadingIcon: string | import('vue').Component;
412
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
413
+ type: {
414
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
415
+ default: string;
416
+ };
417
+ link: {
418
+ type: import('vue').PropType<boolean>;
419
+ };
420
+ icon: {
421
+ type: import('vue').PropType<string | import('vue').Component>;
422
+ };
423
+ plain: {
424
+ type: import('vue').PropType<boolean>;
425
+ default: undefined;
426
+ };
427
+ dark: {
428
+ type: import('vue').PropType<boolean>;
429
+ };
430
+ text: {
431
+ type: import('vue').PropType<boolean>;
432
+ default: undefined;
433
+ };
434
+ disabled: {
435
+ type: import('vue').PropType<boolean>;
436
+ default: undefined;
437
+ };
438
+ size: {
439
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
440
+ };
441
+ circle: {
442
+ type: import('vue').PropType<boolean>;
443
+ };
444
+ nativeType: {
445
+ type: import('vue').PropType<"button" | "reset" | "submit">;
446
+ default: string;
447
+ };
448
+ loading: {
449
+ type: import('vue').PropType<boolean>;
450
+ };
451
+ loadingIcon: {
452
+ type: import('vue').PropType<string | import('vue').Component>;
453
+ default: any;
454
+ };
455
+ bg: {
456
+ type: import('vue').PropType<boolean>;
457
+ };
458
+ autofocus: {
459
+ type: import('vue').PropType<boolean>;
460
+ };
461
+ round: {
462
+ type: import('vue').PropType<boolean>;
463
+ default: undefined;
464
+ };
465
+ color: {
466
+ type: import('vue').PropType<string>;
467
+ };
468
+ autoInsertSpace: {
469
+ type: import('vue').PropType<boolean>;
470
+ default: undefined;
471
+ };
472
+ tag: {
473
+ type: import('vue').PropType<string | import('vue').Component>;
474
+ default: string;
475
+ };
476
+ }>> & {
477
+ onClick?: ((evt: MouseEvent) => any) | undefined;
478
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
479
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
480
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
481
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
482
+ disabled: import('vue').ComputedRef<boolean>;
483
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
484
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
485
+ $slots: {
486
+ loading?: (props: {}) => any;
487
+ } & {
488
+ icon?: (props: {}) => any;
489
+ } & {
490
+ default?: (props: {}) => any;
491
+ };
492
+ }) | null>;
493
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
494
+ click: (e: MouseEvent, changeLoading: TtChangeLoading) => any;
495
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
496
+ buttonRef: ({
497
+ $: import('vue').ComponentInternalInstance;
498
+ $data: {};
499
+ $props: Partial<{
500
+ text: boolean;
501
+ disabled: boolean;
502
+ round: boolean;
503
+ type: import('element-plus').ButtonType;
504
+ tag: string | import('vue').Component;
505
+ plain: boolean;
506
+ autoInsertSpace: boolean;
507
+ nativeType: import('element-plus').ButtonNativeType;
508
+ loadingIcon: string | import('vue').Component;
509
+ }> & Omit<{
510
+ readonly type: import('element-plus').ButtonType;
511
+ readonly nativeType: import('element-plus').ButtonNativeType;
512
+ readonly tag: string | import('vue').Component;
513
+ readonly link?: boolean | undefined;
514
+ readonly icon?: (string | import('vue').Component) | undefined;
515
+ readonly plain?: boolean | undefined;
516
+ readonly dark?: boolean | undefined;
517
+ readonly text?: boolean | undefined;
518
+ readonly disabled?: boolean | undefined;
519
+ readonly size?: import('element-plus').ComponentSize | undefined;
520
+ readonly circle?: boolean | undefined;
521
+ readonly loading?: boolean | undefined;
522
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
523
+ readonly bg?: boolean | undefined;
524
+ readonly autofocus?: boolean | undefined;
525
+ readonly round?: boolean | undefined;
526
+ readonly color?: string | undefined;
527
+ readonly autoInsertSpace?: boolean | undefined;
528
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
529
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
530
+ $attrs: {
531
+ [x: string]: unknown;
532
+ };
533
+ $refs: {
534
+ [x: string]: unknown;
535
+ };
536
+ $slots: Readonly<{
537
+ [name: string]: import('vue').Slot<any> | undefined;
538
+ }>;
539
+ $root: import('vue').ComponentPublicInstance | null;
540
+ $parent: import('vue').ComponentPublicInstance | null;
541
+ $host: Element | null;
542
+ $emit: (event: "click", evt: MouseEvent) => void;
543
+ $el: any;
544
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
545
+ type: {
546
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
547
+ default: string;
548
+ };
549
+ link: {
550
+ type: import('vue').PropType<boolean>;
551
+ };
552
+ icon: {
553
+ type: import('vue').PropType<string | import('vue').Component>;
554
+ };
555
+ plain: {
556
+ type: import('vue').PropType<boolean>;
557
+ default: undefined;
558
+ };
559
+ dark: {
560
+ type: import('vue').PropType<boolean>;
561
+ };
562
+ text: {
563
+ type: import('vue').PropType<boolean>;
564
+ default: undefined;
565
+ };
566
+ disabled: {
567
+ type: import('vue').PropType<boolean>;
568
+ default: undefined;
569
+ };
570
+ size: {
571
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
572
+ };
573
+ circle: {
574
+ type: import('vue').PropType<boolean>;
575
+ };
576
+ nativeType: {
577
+ type: import('vue').PropType<"button" | "reset" | "submit">;
578
+ default: string;
579
+ };
580
+ loading: {
581
+ type: import('vue').PropType<boolean>;
582
+ };
583
+ loadingIcon: {
584
+ type: import('vue').PropType<string | import('vue').Component>;
585
+ default: any;
586
+ };
587
+ bg: {
588
+ type: import('vue').PropType<boolean>;
589
+ };
590
+ autofocus: {
591
+ type: import('vue').PropType<boolean>;
592
+ };
593
+ round: {
594
+ type: import('vue').PropType<boolean>;
595
+ default: undefined;
596
+ };
597
+ color: {
598
+ type: import('vue').PropType<string>;
599
+ };
600
+ autoInsertSpace: {
601
+ type: import('vue').PropType<boolean>;
602
+ default: undefined;
603
+ };
604
+ tag: {
605
+ type: import('vue').PropType<string | import('vue').Component>;
606
+ default: string;
607
+ };
608
+ }>> & {
609
+ onClick?: ((evt: MouseEvent) => any) | undefined;
610
+ }, {
611
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
612
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
613
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
614
+ disabled: import('vue').ComputedRef<boolean>;
615
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
616
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
617
+ click: (evt: MouseEvent) => void;
618
+ }, string, {
619
+ text: boolean;
620
+ disabled: boolean;
621
+ round: boolean;
622
+ type: import('element-plus').ButtonType;
623
+ tag: string | import('vue').Component;
624
+ plain: boolean;
625
+ autoInsertSpace: boolean;
626
+ nativeType: import('element-plus').ButtonNativeType;
627
+ loadingIcon: string | import('vue').Component;
628
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
629
+ beforeCreate?: (() => void) | (() => void)[];
630
+ created?: (() => void) | (() => void)[];
631
+ beforeMount?: (() => void) | (() => void)[];
632
+ mounted?: (() => void) | (() => void)[];
633
+ beforeUpdate?: (() => void) | (() => void)[];
634
+ updated?: (() => void) | (() => void)[];
635
+ activated?: (() => void) | (() => void)[];
636
+ deactivated?: (() => void) | (() => void)[];
637
+ beforeDestroy?: (() => void) | (() => void)[];
638
+ beforeUnmount?: (() => void) | (() => void)[];
639
+ destroyed?: (() => void) | (() => void)[];
640
+ unmounted?: (() => void) | (() => void)[];
641
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
642
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
643
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
644
+ };
645
+ $forceUpdate: () => void;
646
+ $nextTick: typeof import('vue').nextTick;
647
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
648
+ } & Readonly<{
649
+ text: boolean;
650
+ disabled: boolean;
651
+ round: boolean;
652
+ type: import('element-plus').ButtonType;
653
+ tag: string | import('vue').Component;
654
+ plain: boolean;
655
+ autoInsertSpace: boolean;
656
+ nativeType: import('element-plus').ButtonNativeType;
657
+ loadingIcon: string | import('vue').Component;
658
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
659
+ type: {
660
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
661
+ default: string;
662
+ };
663
+ link: {
664
+ type: import('vue').PropType<boolean>;
665
+ };
666
+ icon: {
667
+ type: import('vue').PropType<string | import('vue').Component>;
668
+ };
669
+ plain: {
670
+ type: import('vue').PropType<boolean>;
671
+ default: undefined;
672
+ };
673
+ dark: {
674
+ type: import('vue').PropType<boolean>;
675
+ };
676
+ text: {
677
+ type: import('vue').PropType<boolean>;
678
+ default: undefined;
679
+ };
680
+ disabled: {
681
+ type: import('vue').PropType<boolean>;
682
+ default: undefined;
683
+ };
684
+ size: {
685
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
686
+ };
687
+ circle: {
688
+ type: import('vue').PropType<boolean>;
689
+ };
690
+ nativeType: {
691
+ type: import('vue').PropType<"button" | "reset" | "submit">;
692
+ default: string;
693
+ };
694
+ loading: {
695
+ type: import('vue').PropType<boolean>;
696
+ };
697
+ loadingIcon: {
698
+ type: import('vue').PropType<string | import('vue').Component>;
699
+ default: any;
700
+ };
701
+ bg: {
702
+ type: import('vue').PropType<boolean>;
703
+ };
704
+ autofocus: {
705
+ type: import('vue').PropType<boolean>;
706
+ };
707
+ round: {
708
+ type: import('vue').PropType<boolean>;
709
+ default: undefined;
710
+ };
711
+ color: {
712
+ type: import('vue').PropType<string>;
713
+ };
714
+ autoInsertSpace: {
715
+ type: import('vue').PropType<boolean>;
716
+ default: undefined;
717
+ };
718
+ tag: {
719
+ type: import('vue').PropType<string | import('vue').Component>;
720
+ default: string;
721
+ };
722
+ }>> & {
723
+ onClick?: ((evt: MouseEvent) => any) | undefined;
724
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
725
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
726
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
727
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
728
+ disabled: import('vue').ComputedRef<boolean>;
729
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
730
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
731
+ $slots: {
732
+ loading?: (props: {}) => any;
733
+ } & {
734
+ icon?: (props: {}) => any;
735
+ } & {
736
+ default?: (props: {}) => any;
737
+ };
738
+ }) | null;
739
+ }, any, import('vue').ComponentProvideOptions, {
740
+ P: {};
741
+ B: {};
742
+ D: {};
743
+ C: {};
744
+ M: {};
745
+ Defaults: {};
746
+ }, Readonly<Partial<import('element-plus').ButtonProps & {
747
+ iconFont?: string;
748
+ }>> & Readonly<{
749
+ onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
750
+ }>, {
751
+ buttonRef: import('vue').Ref<({
752
+ $: import('vue').ComponentInternalInstance;
753
+ $data: {};
754
+ $props: Partial<{
755
+ text: boolean;
756
+ disabled: boolean;
757
+ round: boolean;
758
+ type: import('element-plus').ButtonType;
759
+ tag: string | import('vue').Component;
760
+ plain: boolean;
761
+ autoInsertSpace: boolean;
762
+ nativeType: import('element-plus').ButtonNativeType;
763
+ loadingIcon: string | import('vue').Component;
764
+ }> & Omit<{
765
+ readonly type: import('element-plus').ButtonType;
766
+ readonly nativeType: import('element-plus').ButtonNativeType;
767
+ readonly tag: string | import('vue').Component;
768
+ readonly link?: boolean | undefined;
769
+ readonly icon?: (string | import('vue').Component) | undefined;
770
+ readonly plain?: boolean | undefined;
771
+ readonly dark?: boolean | undefined;
772
+ readonly text?: boolean | undefined;
773
+ readonly disabled?: boolean | undefined;
774
+ readonly size?: import('element-plus').ComponentSize | undefined;
775
+ readonly circle?: boolean | undefined;
776
+ readonly loading?: boolean | undefined;
777
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
778
+ readonly bg?: boolean | undefined;
779
+ readonly autofocus?: boolean | undefined;
780
+ readonly round?: boolean | undefined;
781
+ readonly color?: string | undefined;
782
+ readonly autoInsertSpace?: boolean | undefined;
783
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
784
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
785
+ $attrs: {
786
+ [x: string]: unknown;
787
+ };
788
+ $refs: {
789
+ [x: string]: unknown;
790
+ };
791
+ $slots: Readonly<{
792
+ [name: string]: import('vue').Slot<any> | undefined;
793
+ }>;
794
+ $root: import('vue').ComponentPublicInstance | null;
795
+ $parent: import('vue').ComponentPublicInstance | null;
796
+ $host: Element | null;
797
+ $emit: (event: "click", evt: MouseEvent) => void;
798
+ $el: any;
799
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
800
+ type: {
801
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
802
+ default: string;
803
+ };
804
+ link: {
805
+ type: import('vue').PropType<boolean>;
806
+ };
807
+ icon: {
808
+ type: import('vue').PropType<string | import('vue').Component>;
809
+ };
810
+ plain: {
811
+ type: import('vue').PropType<boolean>;
812
+ default: undefined;
813
+ };
814
+ dark: {
815
+ type: import('vue').PropType<boolean>;
816
+ };
817
+ text: {
818
+ type: import('vue').PropType<boolean>;
819
+ default: undefined;
820
+ };
821
+ disabled: {
822
+ type: import('vue').PropType<boolean>;
823
+ default: undefined;
824
+ };
825
+ size: {
826
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
827
+ };
828
+ circle: {
829
+ type: import('vue').PropType<boolean>;
830
+ };
831
+ nativeType: {
832
+ type: import('vue').PropType<"button" | "reset" | "submit">;
833
+ default: string;
834
+ };
835
+ loading: {
836
+ type: import('vue').PropType<boolean>;
837
+ };
838
+ loadingIcon: {
839
+ type: import('vue').PropType<string | import('vue').Component>;
840
+ default: any;
841
+ };
842
+ bg: {
843
+ type: import('vue').PropType<boolean>;
844
+ };
845
+ autofocus: {
846
+ type: import('vue').PropType<boolean>;
847
+ };
848
+ round: {
849
+ type: import('vue').PropType<boolean>;
850
+ default: undefined;
851
+ };
852
+ color: {
853
+ type: import('vue').PropType<string>;
854
+ };
855
+ autoInsertSpace: {
856
+ type: import('vue').PropType<boolean>;
857
+ default: undefined;
858
+ };
859
+ tag: {
860
+ type: import('vue').PropType<string | import('vue').Component>;
861
+ default: string;
862
+ };
863
+ }>> & {
864
+ onClick?: ((evt: MouseEvent) => any) | undefined;
865
+ }, {
866
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
867
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
868
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
869
+ disabled: import('vue').ComputedRef<boolean>;
870
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
871
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
872
+ click: (evt: MouseEvent) => void;
873
+ }, string, {
874
+ text: boolean;
875
+ disabled: boolean;
876
+ round: boolean;
877
+ type: import('element-plus').ButtonType;
878
+ tag: string | import('vue').Component;
879
+ plain: boolean;
880
+ autoInsertSpace: boolean;
881
+ nativeType: import('element-plus').ButtonNativeType;
882
+ loadingIcon: string | import('vue').Component;
883
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
884
+ beforeCreate?: (() => void) | (() => void)[];
885
+ created?: (() => void) | (() => void)[];
886
+ beforeMount?: (() => void) | (() => void)[];
887
+ mounted?: (() => void) | (() => void)[];
888
+ beforeUpdate?: (() => void) | (() => void)[];
889
+ updated?: (() => void) | (() => void)[];
890
+ activated?: (() => void) | (() => void)[];
891
+ deactivated?: (() => void) | (() => void)[];
892
+ beforeDestroy?: (() => void) | (() => void)[];
893
+ beforeUnmount?: (() => void) | (() => void)[];
894
+ destroyed?: (() => void) | (() => void)[];
895
+ unmounted?: (() => void) | (() => void)[];
896
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
897
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
898
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
899
+ };
900
+ $forceUpdate: () => void;
901
+ $nextTick: typeof import('vue').nextTick;
902
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
903
+ } & Readonly<{
904
+ text: boolean;
905
+ disabled: boolean;
906
+ round: boolean;
907
+ type: import('element-plus').ButtonType;
908
+ tag: string | import('vue').Component;
909
+ plain: boolean;
910
+ autoInsertSpace: boolean;
911
+ nativeType: import('element-plus').ButtonNativeType;
912
+ loadingIcon: string | import('vue').Component;
913
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
914
+ type: {
915
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
916
+ default: string;
917
+ };
918
+ link: {
919
+ type: import('vue').PropType<boolean>;
920
+ };
921
+ icon: {
922
+ type: import('vue').PropType<string | import('vue').Component>;
923
+ };
924
+ plain: {
925
+ type: import('vue').PropType<boolean>;
926
+ default: undefined;
927
+ };
928
+ dark: {
929
+ type: import('vue').PropType<boolean>;
930
+ };
931
+ text: {
932
+ type: import('vue').PropType<boolean>;
933
+ default: undefined;
934
+ };
935
+ disabled: {
936
+ type: import('vue').PropType<boolean>;
937
+ default: undefined;
938
+ };
939
+ size: {
940
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
941
+ };
942
+ circle: {
943
+ type: import('vue').PropType<boolean>;
944
+ };
945
+ nativeType: {
946
+ type: import('vue').PropType<"button" | "reset" | "submit">;
947
+ default: string;
948
+ };
949
+ loading: {
950
+ type: import('vue').PropType<boolean>;
951
+ };
952
+ loadingIcon: {
953
+ type: import('vue').PropType<string | import('vue').Component>;
954
+ default: any;
955
+ };
956
+ bg: {
957
+ type: import('vue').PropType<boolean>;
958
+ };
959
+ autofocus: {
960
+ type: import('vue').PropType<boolean>;
961
+ };
962
+ round: {
963
+ type: import('vue').PropType<boolean>;
964
+ default: undefined;
965
+ };
966
+ color: {
967
+ type: import('vue').PropType<string>;
968
+ };
969
+ autoInsertSpace: {
970
+ type: import('vue').PropType<boolean>;
971
+ default: undefined;
972
+ };
973
+ tag: {
974
+ type: import('vue').PropType<string | import('vue').Component>;
975
+ default: string;
976
+ };
977
+ }>> & {
978
+ onClick?: ((evt: MouseEvent) => any) | undefined;
979
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
980
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
981
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
982
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
983
+ disabled: import('vue').ComputedRef<boolean>;
984
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
985
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
986
+ $slots: {
987
+ loading?: (props: {}) => any;
988
+ } & {
989
+ icon?: (props: {}) => any;
990
+ } & {
991
+ default?: (props: {}) => any;
992
+ };
993
+ }) | null, ({
994
+ $: import('vue').ComponentInternalInstance;
995
+ $data: {};
996
+ $props: Partial<{
997
+ text: boolean;
998
+ disabled: boolean;
999
+ round: boolean;
1000
+ type: import('element-plus').ButtonType;
1001
+ tag: string | import('vue').Component;
1002
+ plain: boolean;
1003
+ autoInsertSpace: boolean;
1004
+ nativeType: import('element-plus').ButtonNativeType;
1005
+ loadingIcon: string | import('vue').Component;
1006
+ }> & Omit<{
1007
+ readonly type: import('element-plus').ButtonType;
1008
+ readonly nativeType: import('element-plus').ButtonNativeType;
1009
+ readonly tag: string | import('vue').Component;
1010
+ readonly link?: boolean | undefined;
1011
+ readonly icon?: (string | import('vue').Component) | undefined;
1012
+ readonly plain?: boolean | undefined;
1013
+ readonly dark?: boolean | undefined;
1014
+ readonly text?: boolean | undefined;
1015
+ readonly disabled?: boolean | undefined;
1016
+ readonly size?: import('element-plus').ComponentSize | undefined;
1017
+ readonly circle?: boolean | undefined;
1018
+ readonly loading?: boolean | undefined;
1019
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
1020
+ readonly bg?: boolean | undefined;
1021
+ readonly autofocus?: boolean | undefined;
1022
+ readonly round?: boolean | undefined;
1023
+ readonly color?: string | undefined;
1024
+ readonly autoInsertSpace?: boolean | undefined;
1025
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
1026
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
1027
+ $attrs: {
1028
+ [x: string]: unknown;
1029
+ };
1030
+ $refs: {
1031
+ [x: string]: unknown;
1032
+ };
1033
+ $slots: Readonly<{
1034
+ [name: string]: import('vue').Slot<any> | undefined;
1035
+ }>;
1036
+ $root: import('vue').ComponentPublicInstance | null;
1037
+ $parent: import('vue').ComponentPublicInstance | null;
1038
+ $host: Element | null;
1039
+ $emit: (event: "click", evt: MouseEvent) => void;
1040
+ $el: any;
1041
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
1042
+ type: {
1043
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
1044
+ default: string;
1045
+ };
1046
+ link: {
1047
+ type: import('vue').PropType<boolean>;
1048
+ };
1049
+ icon: {
1050
+ type: import('vue').PropType<string | import('vue').Component>;
1051
+ };
1052
+ plain: {
1053
+ type: import('vue').PropType<boolean>;
1054
+ default: undefined;
1055
+ };
1056
+ dark: {
1057
+ type: import('vue').PropType<boolean>;
1058
+ };
1059
+ text: {
1060
+ type: import('vue').PropType<boolean>;
1061
+ default: undefined;
1062
+ };
1063
+ disabled: {
1064
+ type: import('vue').PropType<boolean>;
1065
+ default: undefined;
1066
+ };
1067
+ size: {
1068
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
1069
+ };
1070
+ circle: {
1071
+ type: import('vue').PropType<boolean>;
1072
+ };
1073
+ nativeType: {
1074
+ type: import('vue').PropType<"button" | "reset" | "submit">;
1075
+ default: string;
1076
+ };
1077
+ loading: {
1078
+ type: import('vue').PropType<boolean>;
1079
+ };
1080
+ loadingIcon: {
1081
+ type: import('vue').PropType<string | import('vue').Component>;
1082
+ default: any;
1083
+ };
1084
+ bg: {
1085
+ type: import('vue').PropType<boolean>;
1086
+ };
1087
+ autofocus: {
1088
+ type: import('vue').PropType<boolean>;
1089
+ };
1090
+ round: {
1091
+ type: import('vue').PropType<boolean>;
1092
+ default: undefined;
1093
+ };
1094
+ color: {
1095
+ type: import('vue').PropType<string>;
1096
+ };
1097
+ autoInsertSpace: {
1098
+ type: import('vue').PropType<boolean>;
1099
+ default: undefined;
1100
+ };
1101
+ tag: {
1102
+ type: import('vue').PropType<string | import('vue').Component>;
1103
+ default: string;
1104
+ };
1105
+ }>> & {
1106
+ onClick?: ((evt: MouseEvent) => any) | undefined;
1107
+ }, {
1108
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
1109
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
1110
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
1111
+ disabled: import('vue').ComputedRef<boolean>;
1112
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
1113
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1114
+ click: (evt: MouseEvent) => void;
1115
+ }, string, {
1116
+ text: boolean;
1117
+ disabled: boolean;
1118
+ round: boolean;
1119
+ type: import('element-plus').ButtonType;
1120
+ tag: string | import('vue').Component;
1121
+ plain: boolean;
1122
+ autoInsertSpace: boolean;
1123
+ nativeType: import('element-plus').ButtonNativeType;
1124
+ loadingIcon: string | import('vue').Component;
1125
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1126
+ beforeCreate?: (() => void) | (() => void)[];
1127
+ created?: (() => void) | (() => void)[];
1128
+ beforeMount?: (() => void) | (() => void)[];
1129
+ mounted?: (() => void) | (() => void)[];
1130
+ beforeUpdate?: (() => void) | (() => void)[];
1131
+ updated?: (() => void) | (() => void)[];
1132
+ activated?: (() => void) | (() => void)[];
1133
+ deactivated?: (() => void) | (() => void)[];
1134
+ beforeDestroy?: (() => void) | (() => void)[];
1135
+ beforeUnmount?: (() => void) | (() => void)[];
1136
+ destroyed?: (() => void) | (() => void)[];
1137
+ unmounted?: (() => void) | (() => void)[];
1138
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1139
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1140
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
1141
+ };
1142
+ $forceUpdate: () => void;
1143
+ $nextTick: typeof import('vue').nextTick;
1144
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1145
+ } & Readonly<{
1146
+ text: boolean;
1147
+ disabled: boolean;
1148
+ round: boolean;
1149
+ type: import('element-plus').ButtonType;
1150
+ tag: string | import('vue').Component;
1151
+ plain: boolean;
1152
+ autoInsertSpace: boolean;
1153
+ nativeType: import('element-plus').ButtonNativeType;
1154
+ loadingIcon: string | import('vue').Component;
1155
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
1156
+ type: {
1157
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
1158
+ default: string;
1159
+ };
1160
+ link: {
1161
+ type: import('vue').PropType<boolean>;
1162
+ };
1163
+ icon: {
1164
+ type: import('vue').PropType<string | import('vue').Component>;
1165
+ };
1166
+ plain: {
1167
+ type: import('vue').PropType<boolean>;
1168
+ default: undefined;
1169
+ };
1170
+ dark: {
1171
+ type: import('vue').PropType<boolean>;
1172
+ };
1173
+ text: {
1174
+ type: import('vue').PropType<boolean>;
1175
+ default: undefined;
1176
+ };
1177
+ disabled: {
1178
+ type: import('vue').PropType<boolean>;
1179
+ default: undefined;
1180
+ };
1181
+ size: {
1182
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
1183
+ };
1184
+ circle: {
1185
+ type: import('vue').PropType<boolean>;
1186
+ };
1187
+ nativeType: {
1188
+ type: import('vue').PropType<"button" | "reset" | "submit">;
1189
+ default: string;
1190
+ };
1191
+ loading: {
1192
+ type: import('vue').PropType<boolean>;
1193
+ };
1194
+ loadingIcon: {
1195
+ type: import('vue').PropType<string | import('vue').Component>;
1196
+ default: any;
1197
+ };
1198
+ bg: {
1199
+ type: import('vue').PropType<boolean>;
1200
+ };
1201
+ autofocus: {
1202
+ type: import('vue').PropType<boolean>;
1203
+ };
1204
+ round: {
1205
+ type: import('vue').PropType<boolean>;
1206
+ default: undefined;
1207
+ };
1208
+ color: {
1209
+ type: import('vue').PropType<string>;
1210
+ };
1211
+ autoInsertSpace: {
1212
+ type: import('vue').PropType<boolean>;
1213
+ default: undefined;
1214
+ };
1215
+ tag: {
1216
+ type: import('vue').PropType<string | import('vue').Component>;
1217
+ default: string;
1218
+ };
1219
+ }>> & {
1220
+ onClick?: ((evt: MouseEvent) => any) | undefined;
1221
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
1222
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
1223
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
1224
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
1225
+ disabled: import('vue').ComputedRef<boolean>;
1226
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
1227
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
1228
+ $slots: {
1229
+ loading?: (props: {}) => any;
1230
+ } & {
1231
+ icon?: (props: {}) => any;
1232
+ } & {
1233
+ default?: (props: {}) => any;
1234
+ };
1235
+ }) | null>;
1236
+ }, {}, {}, {}, {}>;
1237
+ __isFragment?: never;
1238
+ __isTeleport?: never;
1239
+ __isSuspense?: never;
1240
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<import('element-plus').ButtonProps & {
1241
+ iconFont?: string;
1242
+ }>> & Readonly<{
1243
+ onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
1244
+ }>, {
1245
+ buttonRef: import('vue').Ref<({
1246
+ $: import('vue').ComponentInternalInstance;
1247
+ $data: {};
1248
+ $props: Partial<{
1249
+ text: boolean;
1250
+ disabled: boolean;
1251
+ round: boolean;
1252
+ type: import('element-plus').ButtonType;
1253
+ tag: string | import('vue').Component;
1254
+ plain: boolean;
1255
+ autoInsertSpace: boolean;
1256
+ nativeType: import('element-plus').ButtonNativeType;
1257
+ loadingIcon: string | import('vue').Component;
1258
+ }> & Omit<{
1259
+ readonly type: import('element-plus').ButtonType;
1260
+ readonly nativeType: import('element-plus').ButtonNativeType;
1261
+ readonly tag: string | import('vue').Component;
1262
+ readonly link?: boolean | undefined;
1263
+ readonly icon?: (string | import('vue').Component) | undefined;
1264
+ readonly plain?: boolean | undefined;
1265
+ readonly dark?: boolean | undefined;
1266
+ readonly text?: boolean | undefined;
1267
+ readonly disabled?: boolean | undefined;
1268
+ readonly size?: import('element-plus').ComponentSize | undefined;
1269
+ readonly circle?: boolean | undefined;
1270
+ readonly loading?: boolean | undefined;
1271
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
1272
+ readonly bg?: boolean | undefined;
1273
+ readonly autofocus?: boolean | undefined;
1274
+ readonly round?: boolean | undefined;
1275
+ readonly color?: string | undefined;
1276
+ readonly autoInsertSpace?: boolean | undefined;
1277
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
1278
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
1279
+ $attrs: {
1280
+ [x: string]: unknown;
1281
+ };
1282
+ $refs: {
1283
+ [x: string]: unknown;
1284
+ };
1285
+ $slots: Readonly<{
1286
+ [name: string]: import('vue').Slot<any> | undefined;
1287
+ }>;
1288
+ $root: import('vue').ComponentPublicInstance | null;
1289
+ $parent: import('vue').ComponentPublicInstance | null;
1290
+ $host: Element | null;
1291
+ $emit: (event: "click", evt: MouseEvent) => void;
1292
+ $el: any;
1293
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
1294
+ type: {
1295
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
1296
+ default: string;
1297
+ };
1298
+ link: {
1299
+ type: import('vue').PropType<boolean>;
1300
+ };
1301
+ icon: {
1302
+ type: import('vue').PropType<string | import('vue').Component>;
1303
+ };
1304
+ plain: {
1305
+ type: import('vue').PropType<boolean>;
1306
+ default: undefined;
1307
+ };
1308
+ dark: {
1309
+ type: import('vue').PropType<boolean>;
1310
+ };
1311
+ text: {
1312
+ type: import('vue').PropType<boolean>;
1313
+ default: undefined;
1314
+ };
1315
+ disabled: {
1316
+ type: import('vue').PropType<boolean>;
1317
+ default: undefined;
1318
+ };
1319
+ size: {
1320
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
1321
+ };
1322
+ circle: {
1323
+ type: import('vue').PropType<boolean>;
1324
+ };
1325
+ nativeType: {
1326
+ type: import('vue').PropType<"button" | "reset" | "submit">;
1327
+ default: string;
1328
+ };
1329
+ loading: {
1330
+ type: import('vue').PropType<boolean>;
1331
+ };
1332
+ loadingIcon: {
1333
+ type: import('vue').PropType<string | import('vue').Component>;
1334
+ default: any;
1335
+ };
1336
+ bg: {
1337
+ type: import('vue').PropType<boolean>;
1338
+ };
1339
+ autofocus: {
1340
+ type: import('vue').PropType<boolean>;
1341
+ };
1342
+ round: {
1343
+ type: import('vue').PropType<boolean>;
1344
+ default: undefined;
1345
+ };
1346
+ color: {
1347
+ type: import('vue').PropType<string>;
1348
+ };
1349
+ autoInsertSpace: {
1350
+ type: import('vue').PropType<boolean>;
1351
+ default: undefined;
1352
+ };
1353
+ tag: {
1354
+ type: import('vue').PropType<string | import('vue').Component>;
1355
+ default: string;
1356
+ };
1357
+ }>> & {
1358
+ onClick?: ((evt: MouseEvent) => any) | undefined;
1359
+ }, {
1360
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
1361
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
1362
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
1363
+ disabled: import('vue').ComputedRef<boolean>;
1364
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
1365
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1366
+ click: (evt: MouseEvent) => void;
1367
+ }, string, {
1368
+ text: boolean;
1369
+ disabled: boolean;
1370
+ round: boolean;
1371
+ type: import('element-plus').ButtonType;
1372
+ tag: string | import('vue').Component;
1373
+ plain: boolean;
1374
+ autoInsertSpace: boolean;
1375
+ nativeType: import('element-plus').ButtonNativeType;
1376
+ loadingIcon: string | import('vue').Component;
1377
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1378
+ beforeCreate?: (() => void) | (() => void)[];
1379
+ created?: (() => void) | (() => void)[];
1380
+ beforeMount?: (() => void) | (() => void)[];
1381
+ mounted?: (() => void) | (() => void)[];
1382
+ beforeUpdate?: (() => void) | (() => void)[];
1383
+ updated?: (() => void) | (() => void)[];
1384
+ activated?: (() => void) | (() => void)[];
1385
+ deactivated?: (() => void) | (() => void)[];
1386
+ beforeDestroy?: (() => void) | (() => void)[];
1387
+ beforeUnmount?: (() => void) | (() => void)[];
1388
+ destroyed?: (() => void) | (() => void)[];
1389
+ unmounted?: (() => void) | (() => void)[];
1390
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1391
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1392
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
1393
+ };
1394
+ $forceUpdate: () => void;
1395
+ $nextTick: typeof import('vue').nextTick;
1396
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1397
+ } & Readonly<{
1398
+ text: boolean;
1399
+ disabled: boolean;
1400
+ round: boolean;
1401
+ type: import('element-plus').ButtonType;
1402
+ tag: string | import('vue').Component;
1403
+ plain: boolean;
1404
+ autoInsertSpace: boolean;
1405
+ nativeType: import('element-plus').ButtonNativeType;
1406
+ loadingIcon: string | import('vue').Component;
1407
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
1408
+ type: {
1409
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
1410
+ default: string;
1411
+ };
1412
+ link: {
1413
+ type: import('vue').PropType<boolean>;
1414
+ };
1415
+ icon: {
1416
+ type: import('vue').PropType<string | import('vue').Component>;
1417
+ };
1418
+ plain: {
1419
+ type: import('vue').PropType<boolean>;
1420
+ default: undefined;
1421
+ };
1422
+ dark: {
1423
+ type: import('vue').PropType<boolean>;
1424
+ };
1425
+ text: {
1426
+ type: import('vue').PropType<boolean>;
1427
+ default: undefined;
1428
+ };
1429
+ disabled: {
1430
+ type: import('vue').PropType<boolean>;
1431
+ default: undefined;
1432
+ };
1433
+ size: {
1434
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
1435
+ };
1436
+ circle: {
1437
+ type: import('vue').PropType<boolean>;
1438
+ };
1439
+ nativeType: {
1440
+ type: import('vue').PropType<"button" | "reset" | "submit">;
1441
+ default: string;
1442
+ };
1443
+ loading: {
1444
+ type: import('vue').PropType<boolean>;
1445
+ };
1446
+ loadingIcon: {
1447
+ type: import('vue').PropType<string | import('vue').Component>;
1448
+ default: any;
1449
+ };
1450
+ bg: {
1451
+ type: import('vue').PropType<boolean>;
1452
+ };
1453
+ autofocus: {
1454
+ type: import('vue').PropType<boolean>;
1455
+ };
1456
+ round: {
1457
+ type: import('vue').PropType<boolean>;
1458
+ default: undefined;
1459
+ };
1460
+ color: {
1461
+ type: import('vue').PropType<string>;
1462
+ };
1463
+ autoInsertSpace: {
1464
+ type: import('vue').PropType<boolean>;
1465
+ default: undefined;
1466
+ };
1467
+ tag: {
1468
+ type: import('vue').PropType<string | import('vue').Component>;
1469
+ default: string;
1470
+ };
1471
+ }>> & {
1472
+ onClick?: ((evt: MouseEvent) => any) | undefined;
1473
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
1474
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
1475
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
1476
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
1477
+ disabled: import('vue').ComputedRef<boolean>;
1478
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
1479
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
1480
+ $slots: {
1481
+ loading?: (props: {}) => any;
1482
+ } & {
1483
+ icon?: (props: {}) => any;
1484
+ } & {
1485
+ default?: (props: {}) => any;
1486
+ };
1487
+ }) | null, ({
1488
+ $: import('vue').ComponentInternalInstance;
1489
+ $data: {};
1490
+ $props: Partial<{
1491
+ text: boolean;
1492
+ disabled: boolean;
1493
+ round: boolean;
1494
+ type: import('element-plus').ButtonType;
1495
+ tag: string | import('vue').Component;
1496
+ plain: boolean;
1497
+ autoInsertSpace: boolean;
1498
+ nativeType: import('element-plus').ButtonNativeType;
1499
+ loadingIcon: string | import('vue').Component;
1500
+ }> & Omit<{
1501
+ readonly type: import('element-plus').ButtonType;
1502
+ readonly nativeType: import('element-plus').ButtonNativeType;
1503
+ readonly tag: string | import('vue').Component;
1504
+ readonly link?: boolean | undefined;
1505
+ readonly icon?: (string | import('vue').Component) | undefined;
1506
+ readonly plain?: boolean | undefined;
1507
+ readonly dark?: boolean | undefined;
1508
+ readonly text?: boolean | undefined;
1509
+ readonly disabled?: boolean | undefined;
1510
+ readonly size?: import('element-plus').ComponentSize | undefined;
1511
+ readonly circle?: boolean | undefined;
1512
+ readonly loading?: boolean | undefined;
1513
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
1514
+ readonly bg?: boolean | undefined;
1515
+ readonly autofocus?: boolean | undefined;
1516
+ readonly round?: boolean | undefined;
1517
+ readonly color?: string | undefined;
1518
+ readonly autoInsertSpace?: boolean | undefined;
1519
+ onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
1520
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "plain" | "text" | "disabled" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag">;
1521
+ $attrs: {
1522
+ [x: string]: unknown;
1523
+ };
1524
+ $refs: {
1525
+ [x: string]: unknown;
1526
+ };
1527
+ $slots: Readonly<{
1528
+ [name: string]: import('vue').Slot<any> | undefined;
1529
+ }>;
1530
+ $root: import('vue').ComponentPublicInstance | null;
1531
+ $parent: import('vue').ComponentPublicInstance | null;
1532
+ $host: Element | null;
1533
+ $emit: (event: "click", evt: MouseEvent) => void;
1534
+ $el: any;
1535
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
1536
+ type: {
1537
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
1538
+ default: string;
1539
+ };
1540
+ link: {
1541
+ type: import('vue').PropType<boolean>;
1542
+ };
1543
+ icon: {
1544
+ type: import('vue').PropType<string | import('vue').Component>;
1545
+ };
1546
+ plain: {
1547
+ type: import('vue').PropType<boolean>;
1548
+ default: undefined;
1549
+ };
1550
+ dark: {
1551
+ type: import('vue').PropType<boolean>;
1552
+ };
1553
+ text: {
1554
+ type: import('vue').PropType<boolean>;
1555
+ default: undefined;
1556
+ };
1557
+ disabled: {
1558
+ type: import('vue').PropType<boolean>;
1559
+ default: undefined;
1560
+ };
1561
+ size: {
1562
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
1563
+ };
1564
+ circle: {
1565
+ type: import('vue').PropType<boolean>;
1566
+ };
1567
+ nativeType: {
1568
+ type: import('vue').PropType<"button" | "reset" | "submit">;
1569
+ default: string;
1570
+ };
1571
+ loading: {
1572
+ type: import('vue').PropType<boolean>;
1573
+ };
1574
+ loadingIcon: {
1575
+ type: import('vue').PropType<string | import('vue').Component>;
1576
+ default: any;
1577
+ };
1578
+ bg: {
1579
+ type: import('vue').PropType<boolean>;
1580
+ };
1581
+ autofocus: {
1582
+ type: import('vue').PropType<boolean>;
1583
+ };
1584
+ round: {
1585
+ type: import('vue').PropType<boolean>;
1586
+ default: undefined;
1587
+ };
1588
+ color: {
1589
+ type: import('vue').PropType<string>;
1590
+ };
1591
+ autoInsertSpace: {
1592
+ type: import('vue').PropType<boolean>;
1593
+ default: undefined;
1594
+ };
1595
+ tag: {
1596
+ type: import('vue').PropType<string | import('vue').Component>;
1597
+ default: string;
1598
+ };
1599
+ }>> & {
1600
+ onClick?: ((evt: MouseEvent) => any) | undefined;
1601
+ }, {
1602
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
1603
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
1604
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
1605
+ disabled: import('vue').ComputedRef<boolean>;
1606
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
1607
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1608
+ click: (evt: MouseEvent) => void;
1609
+ }, string, {
1610
+ text: boolean;
1611
+ disabled: boolean;
1612
+ round: boolean;
1613
+ type: import('element-plus').ButtonType;
1614
+ tag: string | import('vue').Component;
1615
+ plain: boolean;
1616
+ autoInsertSpace: boolean;
1617
+ nativeType: import('element-plus').ButtonNativeType;
1618
+ loadingIcon: string | import('vue').Component;
1619
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1620
+ beforeCreate?: (() => void) | (() => void)[];
1621
+ created?: (() => void) | (() => void)[];
1622
+ beforeMount?: (() => void) | (() => void)[];
1623
+ mounted?: (() => void) | (() => void)[];
1624
+ beforeUpdate?: (() => void) | (() => void)[];
1625
+ updated?: (() => void) | (() => void)[];
1626
+ activated?: (() => void) | (() => void)[];
1627
+ deactivated?: (() => void) | (() => void)[];
1628
+ beforeDestroy?: (() => void) | (() => void)[];
1629
+ beforeUnmount?: (() => void) | (() => void)[];
1630
+ destroyed?: (() => void) | (() => void)[];
1631
+ unmounted?: (() => void) | (() => void)[];
1632
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1633
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1634
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
1635
+ };
1636
+ $forceUpdate: () => void;
1637
+ $nextTick: typeof import('vue').nextTick;
1638
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1639
+ } & Readonly<{
1640
+ text: boolean;
1641
+ disabled: boolean;
1642
+ round: boolean;
1643
+ type: import('element-plus').ButtonType;
1644
+ tag: string | import('vue').Component;
1645
+ plain: boolean;
1646
+ autoInsertSpace: boolean;
1647
+ nativeType: import('element-plus').ButtonNativeType;
1648
+ loadingIcon: string | import('vue').Component;
1649
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
1650
+ type: {
1651
+ type: import('vue').PropType<"" | "text" | "info" | "default" | "primary" | "success" | "warning" | "danger">;
1652
+ default: string;
1653
+ };
1654
+ link: {
1655
+ type: import('vue').PropType<boolean>;
1656
+ };
1657
+ icon: {
1658
+ type: import('vue').PropType<string | import('vue').Component>;
1659
+ };
1660
+ plain: {
1661
+ type: import('vue').PropType<boolean>;
1662
+ default: undefined;
1663
+ };
1664
+ dark: {
1665
+ type: import('vue').PropType<boolean>;
1666
+ };
1667
+ text: {
1668
+ type: import('vue').PropType<boolean>;
1669
+ default: undefined;
1670
+ };
1671
+ disabled: {
1672
+ type: import('vue').PropType<boolean>;
1673
+ default: undefined;
1674
+ };
1675
+ size: {
1676
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
1677
+ };
1678
+ circle: {
1679
+ type: import('vue').PropType<boolean>;
1680
+ };
1681
+ nativeType: {
1682
+ type: import('vue').PropType<"button" | "reset" | "submit">;
1683
+ default: string;
1684
+ };
1685
+ loading: {
1686
+ type: import('vue').PropType<boolean>;
1687
+ };
1688
+ loadingIcon: {
1689
+ type: import('vue').PropType<string | import('vue').Component>;
1690
+ default: any;
1691
+ };
1692
+ bg: {
1693
+ type: import('vue').PropType<boolean>;
1694
+ };
1695
+ autofocus: {
1696
+ type: import('vue').PropType<boolean>;
1697
+ };
1698
+ round: {
1699
+ type: import('vue').PropType<boolean>;
1700
+ default: undefined;
1701
+ };
1702
+ color: {
1703
+ type: import('vue').PropType<string>;
1704
+ };
1705
+ autoInsertSpace: {
1706
+ type: import('vue').PropType<boolean>;
1707
+ default: undefined;
1708
+ };
1709
+ tag: {
1710
+ type: import('vue').PropType<string | import('vue').Component>;
1711
+ default: string;
1712
+ };
1713
+ }>> & {
1714
+ onClick?: ((evt: MouseEvent) => any) | undefined;
1715
+ }, "type" | "plain" | "text" | "disabled" | "size" | "ref" | "nativeType" | "loadingIcon" | "round" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
1716
+ ref: import('vue').Ref<HTMLButtonElement | undefined>;
1717
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
1718
+ type: import('vue').ComputedRef<"text" | "" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
1719
+ disabled: import('vue').ComputedRef<boolean>;
1720
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
1721
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
1722
+ $slots: {
1723
+ loading?: (props: {}) => any;
1724
+ } & {
1725
+ icon?: (props: {}) => any;
1726
+ } & {
1727
+ default?: (props: {}) => any;
1728
+ };
1729
+ }) | null>;
1730
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1731
+ click: (e: MouseEvent, changeLoading: TtChangeLoading) => any;
1732
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1733
+ $slots: Readonly<{
1734
+ default: () => import('vue').VNodeChild;
1735
+ }> & {
1736
+ default: () => import('vue').VNodeChild;
1737
+ };
1738
+ })> & Record<string, any>;
1739
+ export default TtButton;
1740
+ //# sourceMappingURL=index.d.ts.map