ra-element 0.1.88 → 0.1.90

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.
@@ -10,38 +10,42 @@ declare function __VLS_template(): {
10
10
  $: import('vue').ComponentInternalInstance;
11
11
  $data: {};
12
12
  $props: Partial<{
13
- type: import('element-plus').ButtonType;
14
- text: boolean;
15
- disabled: boolean;
16
- round: boolean;
17
- dashed: boolean;
18
- nativeType: import('element-plus').ButtonNativeType;
19
- loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
20
- plain: boolean;
21
- autoInsertSpace: boolean;
22
- tag: string | import('vue').Component;
13
+ readonly link: boolean;
14
+ readonly circle: boolean;
15
+ readonly text: boolean;
16
+ readonly disabled: boolean;
17
+ readonly round: boolean;
18
+ readonly dark: boolean;
19
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
20
+ readonly bg: boolean;
21
+ readonly loading: boolean;
22
+ readonly autofocus: boolean;
23
+ readonly tag: string | import('vue').Component;
24
+ readonly plain: boolean;
25
+ readonly autoInsertSpace: boolean;
26
+ readonly nativeType: "button" | "reset" | "submit";
27
+ readonly loadingIcon: string | import('vue').Component;
23
28
  }> & Omit<{
24
- readonly type: import('element-plus').ButtonType;
25
- readonly nativeType: import('element-plus').ButtonNativeType;
29
+ readonly disabled: boolean;
30
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
31
+ readonly link: boolean;
32
+ readonly circle: boolean;
33
+ readonly nativeType: "button" | "reset" | "submit";
34
+ readonly loading: boolean;
35
+ readonly bg: boolean;
36
+ readonly autofocus: boolean;
37
+ readonly dark: boolean;
26
38
  readonly tag: string | import('vue').Component;
27
- readonly disabled?: boolean | undefined;
28
- readonly link?: boolean | undefined;
29
- readonly circle?: boolean | undefined;
30
39
  readonly text?: boolean | undefined;
31
- readonly size?: import('element-plus').ComponentSize | undefined;
32
- readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
33
- readonly loading?: boolean | undefined;
34
- readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
40
+ readonly size?: ("" | "default" | "small" | "large") | undefined;
41
+ readonly icon?: (string | import('vue').Component) | undefined;
42
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
35
43
  readonly plain?: boolean | undefined;
36
- readonly bg?: boolean | undefined;
37
- readonly autofocus?: boolean | undefined;
38
44
  readonly round?: boolean | undefined;
39
- readonly dashed?: boolean | undefined;
40
45
  readonly color?: string | undefined;
41
- readonly dark?: boolean | undefined;
42
46
  readonly autoInsertSpace?: boolean | undefined;
43
47
  onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
44
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "text" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag">;
48
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "link" | "circle" | "text" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag">;
45
49
  $attrs: {
46
50
  [x: string]: unknown;
47
51
  };
@@ -57,94 +61,116 @@ declare function __VLS_template(): {
57
61
  $emit: (event: "click", evt: MouseEvent) => void;
58
62
  $el: any;
59
63
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
60
- disabled: {
61
- type: import('vue').PropType<boolean>;
62
- default: undefined;
63
- };
64
- type: {
65
- type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
66
- default: string;
67
- };
68
- link: {
69
- type: import('vue').PropType<boolean>;
70
- };
71
- circle: {
72
- type: import('vue').PropType<boolean>;
73
- };
74
- text: {
75
- type: import('vue').PropType<boolean>;
76
- default: undefined;
77
- };
78
- size: {
79
- type: import('vue').PropType<"" | "default" | "small" | "large">;
64
+ readonly size: {
65
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
66
+ readonly required: false;
67
+ readonly validator: ((val: unknown) => boolean) | undefined;
68
+ __epPropKey: true;
80
69
  };
81
- icon: {
82
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
70
+ readonly disabled: BooleanConstructor;
71
+ readonly type: {
72
+ readonly type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
73
+ readonly required: false;
74
+ readonly validator: ((val: unknown) => boolean) | undefined;
75
+ __epPropKey: true;
76
+ } & {
77
+ readonly default: "";
83
78
  };
84
- nativeType: {
85
- type: import('vue').PropType<"button" | "reset" | "submit">;
86
- default: string;
79
+ readonly icon: {
80
+ readonly type: import('vue').PropType<string | import('vue').Component>;
81
+ readonly required: false;
82
+ readonly validator: ((val: unknown) => boolean) | undefined;
83
+ __epPropKey: true;
87
84
  };
88
- loading: {
89
- type: import('vue').PropType<boolean>;
85
+ readonly nativeType: {
86
+ readonly type: import('vue').PropType<"button" | "reset" | "submit">;
87
+ readonly required: false;
88
+ readonly validator: ((val: unknown) => boolean) | undefined;
89
+ __epPropKey: true;
90
+ } & {
91
+ readonly default: "button";
90
92
  };
91
- loadingIcon: {
92
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
93
- default: any;
93
+ readonly loading: BooleanConstructor;
94
+ readonly loadingIcon: {
95
+ readonly type: import('vue').PropType<string | import('vue').Component>;
96
+ readonly required: false;
97
+ readonly validator: ((val: unknown) => boolean) | undefined;
98
+ __epPropKey: true;
99
+ } & {
100
+ readonly default: () => any;
94
101
  };
95
- plain: {
96
- type: import('vue').PropType<boolean>;
97
- default: undefined;
102
+ readonly plain: {
103
+ readonly type: import('vue').PropType<boolean>;
104
+ readonly required: false;
105
+ readonly validator: ((val: unknown) => boolean) | undefined;
106
+ __epPropKey: true;
107
+ } & {
108
+ readonly default: undefined;
98
109
  };
99
- bg: {
100
- type: import('vue').PropType<boolean>;
110
+ readonly text: {
111
+ readonly type: import('vue').PropType<boolean>;
112
+ readonly required: false;
113
+ readonly validator: ((val: unknown) => boolean) | undefined;
114
+ __epPropKey: true;
115
+ } & {
116
+ readonly default: undefined;
101
117
  };
102
- autofocus: {
103
- type: import('vue').PropType<boolean>;
118
+ readonly link: BooleanConstructor;
119
+ readonly bg: BooleanConstructor;
120
+ readonly autofocus: BooleanConstructor;
121
+ readonly round: {
122
+ readonly type: import('vue').PropType<boolean>;
123
+ readonly required: false;
124
+ readonly validator: ((val: unknown) => boolean) | undefined;
125
+ __epPropKey: true;
126
+ } & {
127
+ readonly default: undefined;
104
128
  };
105
- round: {
106
- type: import('vue').PropType<boolean>;
107
- default: undefined;
129
+ readonly circle: BooleanConstructor;
130
+ readonly color: StringConstructor;
131
+ readonly dark: BooleanConstructor;
132
+ readonly autoInsertSpace: {
133
+ readonly type: import('vue').PropType<boolean>;
134
+ readonly required: false;
135
+ readonly validator: ((val: unknown) => boolean) | undefined;
136
+ __epPropKey: true;
137
+ } & {
138
+ readonly default: undefined;
108
139
  };
109
- dashed: {
110
- type: import('vue').PropType<boolean>;
111
- default: undefined;
112
- };
113
- color: {
114
- type: import('vue').PropType<string>;
115
- };
116
- dark: {
117
- type: import('vue').PropType<boolean>;
118
- };
119
- autoInsertSpace: {
120
- type: import('vue').PropType<boolean>;
121
- default: undefined;
122
- };
123
- tag: {
124
- type: import('vue').PropType<string | import('vue').Component>;
125
- default: string;
140
+ readonly tag: {
141
+ readonly type: import('vue').PropType<string | import('vue').Component>;
142
+ readonly required: false;
143
+ readonly validator: ((val: unknown) => boolean) | undefined;
144
+ __epPropKey: true;
145
+ } & {
146
+ readonly default: "button";
126
147
  };
127
148
  }>> & {
128
149
  onClick?: ((evt: MouseEvent) => any) | undefined;
129
150
  }, {
130
151
  ref: import('vue').Ref<HTMLButtonElement | undefined>;
131
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
132
- type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
152
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
153
+ type: import('vue').ComputedRef<string>;
133
154
  disabled: import('vue').ComputedRef<boolean>;
134
155
  shouldAddSpace: import('vue').ComputedRef<boolean>;
135
156
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
136
157
  click: (evt: MouseEvent) => void;
137
158
  }, string, {
138
- type: import('element-plus').ButtonType;
139
- text: boolean;
140
- disabled: boolean;
141
- round: boolean;
142
- dashed: boolean;
143
- nativeType: import('element-plus').ButtonNativeType;
144
- loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
145
- plain: boolean;
146
- autoInsertSpace: boolean;
147
- tag: string | import('vue').Component;
159
+ readonly link: boolean;
160
+ readonly circle: boolean;
161
+ readonly text: boolean;
162
+ readonly disabled: boolean;
163
+ readonly round: boolean;
164
+ readonly dark: boolean;
165
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
166
+ readonly bg: boolean;
167
+ readonly loading: boolean;
168
+ readonly autofocus: boolean;
169
+ readonly tag: string | import('vue').Component;
170
+ readonly plain: boolean;
171
+ readonly autoInsertSpace: boolean;
172
+ readonly nativeType: "button" | "reset" | "submit";
173
+ readonly loadingIcon: string | import('vue').Component;
148
174
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
149
175
  beforeCreate?: (() => void) | (() => void)[];
150
176
  created?: (() => void) | (() => void)[];
@@ -166,99 +192,119 @@ declare function __VLS_template(): {
166
192
  $nextTick: typeof import('vue').nextTick;
167
193
  $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;
168
194
  } & Readonly<{
169
- type: import('element-plus').ButtonType;
170
- text: boolean;
171
- disabled: boolean;
172
- round: boolean;
173
- dashed: boolean;
174
- nativeType: import('element-plus').ButtonNativeType;
175
- loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
176
- plain: boolean;
177
- autoInsertSpace: boolean;
178
- tag: string | import('vue').Component;
195
+ readonly link: boolean;
196
+ readonly circle: boolean;
197
+ readonly text: boolean;
198
+ readonly disabled: boolean;
199
+ readonly round: boolean;
200
+ readonly dark: boolean;
201
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
202
+ readonly bg: boolean;
203
+ readonly loading: boolean;
204
+ readonly autofocus: boolean;
205
+ readonly tag: string | import('vue').Component;
206
+ readonly plain: boolean;
207
+ readonly autoInsertSpace: boolean;
208
+ readonly nativeType: "button" | "reset" | "submit";
209
+ readonly loadingIcon: string | import('vue').Component;
179
210
  }> & Omit<Readonly<import('vue').ExtractPropTypes<{
180
- disabled: {
181
- type: import('vue').PropType<boolean>;
182
- default: undefined;
183
- };
184
- type: {
185
- type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
186
- default: string;
187
- };
188
- link: {
189
- type: import('vue').PropType<boolean>;
190
- };
191
- circle: {
192
- type: import('vue').PropType<boolean>;
193
- };
194
- text: {
195
- type: import('vue').PropType<boolean>;
196
- default: undefined;
197
- };
198
- size: {
199
- type: import('vue').PropType<"" | "default" | "small" | "large">;
200
- };
201
- icon: {
202
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
203
- };
204
- nativeType: {
205
- type: import('vue').PropType<"button" | "reset" | "submit">;
206
- default: string;
207
- };
208
- loading: {
209
- type: import('vue').PropType<boolean>;
210
- };
211
- loadingIcon: {
212
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
213
- default: any;
214
- };
215
- plain: {
216
- type: import('vue').PropType<boolean>;
217
- default: undefined;
218
- };
219
- bg: {
220
- type: import('vue').PropType<boolean>;
221
- };
222
- autofocus: {
223
- type: import('vue').PropType<boolean>;
224
- };
225
- round: {
226
- type: import('vue').PropType<boolean>;
227
- default: undefined;
228
- };
229
- dashed: {
230
- type: import('vue').PropType<boolean>;
231
- default: undefined;
232
- };
233
- color: {
234
- type: import('vue').PropType<string>;
211
+ readonly size: {
212
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
213
+ readonly required: false;
214
+ readonly validator: ((val: unknown) => boolean) | undefined;
215
+ __epPropKey: true;
216
+ };
217
+ readonly disabled: BooleanConstructor;
218
+ readonly type: {
219
+ readonly type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
220
+ readonly required: false;
221
+ readonly validator: ((val: unknown) => boolean) | undefined;
222
+ __epPropKey: true;
223
+ } & {
224
+ readonly default: "";
225
+ };
226
+ readonly icon: {
227
+ readonly type: import('vue').PropType<string | import('vue').Component>;
228
+ readonly required: false;
229
+ readonly validator: ((val: unknown) => boolean) | undefined;
230
+ __epPropKey: true;
231
+ };
232
+ readonly nativeType: {
233
+ readonly type: import('vue').PropType<"button" | "reset" | "submit">;
234
+ readonly required: false;
235
+ readonly validator: ((val: unknown) => boolean) | undefined;
236
+ __epPropKey: true;
237
+ } & {
238
+ readonly default: "button";
239
+ };
240
+ readonly loading: BooleanConstructor;
241
+ readonly loadingIcon: {
242
+ readonly type: import('vue').PropType<string | import('vue').Component>;
243
+ readonly required: false;
244
+ readonly validator: ((val: unknown) => boolean) | undefined;
245
+ __epPropKey: true;
246
+ } & {
247
+ readonly default: () => any;
235
248
  };
236
- dark: {
237
- type: import('vue').PropType<boolean>;
249
+ readonly plain: {
250
+ readonly type: import('vue').PropType<boolean>;
251
+ readonly required: false;
252
+ readonly validator: ((val: unknown) => boolean) | undefined;
253
+ __epPropKey: true;
254
+ } & {
255
+ readonly default: undefined;
238
256
  };
239
- autoInsertSpace: {
240
- type: import('vue').PropType<boolean>;
241
- default: undefined;
257
+ readonly text: {
258
+ readonly type: import('vue').PropType<boolean>;
259
+ readonly required: false;
260
+ readonly validator: ((val: unknown) => boolean) | undefined;
261
+ __epPropKey: true;
262
+ } & {
263
+ readonly default: undefined;
264
+ };
265
+ readonly link: BooleanConstructor;
266
+ readonly bg: BooleanConstructor;
267
+ readonly autofocus: BooleanConstructor;
268
+ readonly round: {
269
+ readonly type: import('vue').PropType<boolean>;
270
+ readonly required: false;
271
+ readonly validator: ((val: unknown) => boolean) | undefined;
272
+ __epPropKey: true;
273
+ } & {
274
+ readonly default: undefined;
275
+ };
276
+ readonly circle: BooleanConstructor;
277
+ readonly color: StringConstructor;
278
+ readonly dark: BooleanConstructor;
279
+ readonly autoInsertSpace: {
280
+ readonly type: import('vue').PropType<boolean>;
281
+ readonly required: false;
282
+ readonly validator: ((val: unknown) => boolean) | undefined;
283
+ __epPropKey: true;
284
+ } & {
285
+ readonly default: undefined;
242
286
  };
243
- tag: {
244
- type: import('vue').PropType<string | import('vue').Component>;
245
- default: string;
287
+ readonly tag: {
288
+ readonly type: import('vue').PropType<string | import('vue').Component>;
289
+ readonly required: false;
290
+ readonly validator: ((val: unknown) => boolean) | undefined;
291
+ __epPropKey: true;
292
+ } & {
293
+ readonly default: "button";
246
294
  };
247
295
  }>> & {
248
296
  onClick?: ((evt: MouseEvent) => any) | undefined;
249
- }, "disabled" | "type" | "text" | "ref" | "size" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
297
+ }, "disabled" | "type" | "link" | "circle" | "text" | "ref" | "size" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
250
298
  ref: import('vue').Ref<HTMLButtonElement | undefined>;
251
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
252
- type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
299
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
300
+ type: import('vue').ComputedRef<string>;
253
301
  disabled: import('vue').ComputedRef<boolean>;
254
302
  shouldAddSpace: import('vue').ComputedRef<boolean>;
255
303
  }> & {} & import('vue').ComponentCustomProperties & {} & {
256
304
  $slots: {
257
- loading?: (props: {}) => any;
258
- } & {
259
- icon?: (props: {}) => any;
260
- } & {
261
- default?: (props: {}) => any;
305
+ loading?(_: {}): any;
306
+ icon?(_: {}): any;
307
+ default?(_: {}): any;
262
308
  };
263
309
  }) | null;
264
310
  };
@@ -295,38 +341,42 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
295
341
  $: import('vue').ComponentInternalInstance;
296
342
  $data: {};
297
343
  $props: Partial<{
298
- type: import('element-plus').ButtonType;
299
- text: boolean;
300
- disabled: boolean;
301
- round: boolean;
302
- dashed: boolean;
303
- nativeType: import('element-plus').ButtonNativeType;
304
- loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
305
- plain: boolean;
306
- autoInsertSpace: boolean;
307
- tag: string | import('vue').Component;
344
+ readonly link: boolean;
345
+ readonly circle: boolean;
346
+ readonly text: boolean;
347
+ readonly disabled: boolean;
348
+ readonly round: boolean;
349
+ readonly dark: boolean;
350
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
351
+ readonly bg: boolean;
352
+ readonly loading: boolean;
353
+ readonly autofocus: boolean;
354
+ readonly tag: string | import('vue').Component;
355
+ readonly plain: boolean;
356
+ readonly autoInsertSpace: boolean;
357
+ readonly nativeType: "button" | "reset" | "submit";
358
+ readonly loadingIcon: string | import('vue').Component;
308
359
  }> & Omit<{
309
- readonly type: import('element-plus').ButtonType;
310
- readonly nativeType: import('element-plus').ButtonNativeType;
360
+ readonly disabled: boolean;
361
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
362
+ readonly link: boolean;
363
+ readonly circle: boolean;
364
+ readonly nativeType: "button" | "reset" | "submit";
365
+ readonly loading: boolean;
366
+ readonly bg: boolean;
367
+ readonly autofocus: boolean;
368
+ readonly dark: boolean;
311
369
  readonly tag: string | import('vue').Component;
312
- readonly disabled?: boolean | undefined;
313
- readonly link?: boolean | undefined;
314
- readonly circle?: boolean | undefined;
315
370
  readonly text?: boolean | undefined;
316
- readonly size?: import('element-plus').ComponentSize | undefined;
317
- readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
318
- readonly loading?: boolean | undefined;
319
- readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
371
+ readonly size?: ("" | "default" | "small" | "large") | undefined;
372
+ readonly icon?: (string | import('vue').Component) | undefined;
373
+ readonly loadingIcon?: (string | import('vue').Component) | undefined;
320
374
  readonly plain?: boolean | undefined;
321
- readonly bg?: boolean | undefined;
322
- readonly autofocus?: boolean | undefined;
323
375
  readonly round?: boolean | undefined;
324
- readonly dashed?: boolean | undefined;
325
376
  readonly color?: string | undefined;
326
- readonly dark?: boolean | undefined;
327
377
  readonly autoInsertSpace?: boolean | undefined;
328
378
  onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
329
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "text" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag">;
379
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "link" | "circle" | "text" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag">;
330
380
  $attrs: {
331
381
  [x: string]: unknown;
332
382
  };
@@ -342,94 +392,116 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
342
392
  $emit: (event: "click", evt: MouseEvent) => void;
343
393
  $el: any;
344
394
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
345
- disabled: {
346
- type: import('vue').PropType<boolean>;
347
- default: undefined;
348
- };
349
- type: {
350
- type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
351
- default: string;
352
- };
353
- link: {
354
- type: import('vue').PropType<boolean>;
355
- };
356
- circle: {
357
- type: import('vue').PropType<boolean>;
358
- };
359
- text: {
360
- type: import('vue').PropType<boolean>;
361
- default: undefined;
362
- };
363
- size: {
364
- type: import('vue').PropType<"" | "default" | "small" | "large">;
365
- };
366
- icon: {
367
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
368
- };
369
- nativeType: {
370
- type: import('vue').PropType<"button" | "reset" | "submit">;
371
- default: string;
372
- };
373
- loading: {
374
- type: import('vue').PropType<boolean>;
375
- };
376
- loadingIcon: {
377
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
378
- default: any;
379
- };
380
- plain: {
381
- type: import('vue').PropType<boolean>;
382
- default: undefined;
383
- };
384
- bg: {
385
- type: import('vue').PropType<boolean>;
386
- };
387
- autofocus: {
388
- type: import('vue').PropType<boolean>;
389
- };
390
- round: {
391
- type: import('vue').PropType<boolean>;
392
- default: undefined;
393
- };
394
- dashed: {
395
- type: import('vue').PropType<boolean>;
396
- default: undefined;
397
- };
398
- color: {
399
- type: import('vue').PropType<string>;
395
+ readonly size: {
396
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
397
+ readonly required: false;
398
+ readonly validator: ((val: unknown) => boolean) | undefined;
399
+ __epPropKey: true;
400
+ };
401
+ readonly disabled: BooleanConstructor;
402
+ readonly type: {
403
+ readonly type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
404
+ readonly required: false;
405
+ readonly validator: ((val: unknown) => boolean) | undefined;
406
+ __epPropKey: true;
407
+ } & {
408
+ readonly default: "";
409
+ };
410
+ readonly icon: {
411
+ readonly type: import('vue').PropType<string | import('vue').Component>;
412
+ readonly required: false;
413
+ readonly validator: ((val: unknown) => boolean) | undefined;
414
+ __epPropKey: true;
415
+ };
416
+ readonly nativeType: {
417
+ readonly type: import('vue').PropType<"button" | "reset" | "submit">;
418
+ readonly required: false;
419
+ readonly validator: ((val: unknown) => boolean) | undefined;
420
+ __epPropKey: true;
421
+ } & {
422
+ readonly default: "button";
423
+ };
424
+ readonly loading: BooleanConstructor;
425
+ readonly loadingIcon: {
426
+ readonly type: import('vue').PropType<string | import('vue').Component>;
427
+ readonly required: false;
428
+ readonly validator: ((val: unknown) => boolean) | undefined;
429
+ __epPropKey: true;
430
+ } & {
431
+ readonly default: () => any;
400
432
  };
401
- dark: {
402
- type: import('vue').PropType<boolean>;
433
+ readonly plain: {
434
+ readonly type: import('vue').PropType<boolean>;
435
+ readonly required: false;
436
+ readonly validator: ((val: unknown) => boolean) | undefined;
437
+ __epPropKey: true;
438
+ } & {
439
+ readonly default: undefined;
403
440
  };
404
- autoInsertSpace: {
405
- type: import('vue').PropType<boolean>;
406
- default: undefined;
441
+ readonly text: {
442
+ readonly type: import('vue').PropType<boolean>;
443
+ readonly required: false;
444
+ readonly validator: ((val: unknown) => boolean) | undefined;
445
+ __epPropKey: true;
446
+ } & {
447
+ readonly default: undefined;
448
+ };
449
+ readonly link: BooleanConstructor;
450
+ readonly bg: BooleanConstructor;
451
+ readonly autofocus: BooleanConstructor;
452
+ readonly round: {
453
+ readonly type: import('vue').PropType<boolean>;
454
+ readonly required: false;
455
+ readonly validator: ((val: unknown) => boolean) | undefined;
456
+ __epPropKey: true;
457
+ } & {
458
+ readonly default: undefined;
459
+ };
460
+ readonly circle: BooleanConstructor;
461
+ readonly color: StringConstructor;
462
+ readonly dark: BooleanConstructor;
463
+ readonly autoInsertSpace: {
464
+ readonly type: import('vue').PropType<boolean>;
465
+ readonly required: false;
466
+ readonly validator: ((val: unknown) => boolean) | undefined;
467
+ __epPropKey: true;
468
+ } & {
469
+ readonly default: undefined;
407
470
  };
408
- tag: {
409
- type: import('vue').PropType<string | import('vue').Component>;
410
- default: string;
471
+ readonly tag: {
472
+ readonly type: import('vue').PropType<string | import('vue').Component>;
473
+ readonly required: false;
474
+ readonly validator: ((val: unknown) => boolean) | undefined;
475
+ __epPropKey: true;
476
+ } & {
477
+ readonly default: "button";
411
478
  };
412
479
  }>> & {
413
480
  onClick?: ((evt: MouseEvent) => any) | undefined;
414
481
  }, {
415
482
  ref: import('vue').Ref<HTMLButtonElement | undefined>;
416
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
417
- type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
483
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
484
+ type: import('vue').ComputedRef<string>;
418
485
  disabled: import('vue').ComputedRef<boolean>;
419
486
  shouldAddSpace: import('vue').ComputedRef<boolean>;
420
487
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
421
488
  click: (evt: MouseEvent) => void;
422
489
  }, string, {
423
- type: import('element-plus').ButtonType;
424
- text: boolean;
425
- disabled: boolean;
426
- round: boolean;
427
- dashed: boolean;
428
- nativeType: import('element-plus').ButtonNativeType;
429
- loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
430
- plain: boolean;
431
- autoInsertSpace: boolean;
432
- tag: string | import('vue').Component;
490
+ readonly link: boolean;
491
+ readonly circle: boolean;
492
+ readonly text: boolean;
493
+ readonly disabled: boolean;
494
+ readonly round: boolean;
495
+ readonly dark: boolean;
496
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
497
+ readonly bg: boolean;
498
+ readonly loading: boolean;
499
+ readonly autofocus: boolean;
500
+ readonly tag: string | import('vue').Component;
501
+ readonly plain: boolean;
502
+ readonly autoInsertSpace: boolean;
503
+ readonly nativeType: "button" | "reset" | "submit";
504
+ readonly loadingIcon: string | import('vue').Component;
433
505
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
434
506
  beforeCreate?: (() => void) | (() => void)[];
435
507
  created?: (() => void) | (() => void)[];
@@ -451,99 +523,119 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
451
523
  $nextTick: typeof import('vue').nextTick;
452
524
  $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;
453
525
  } & Readonly<{
454
- type: import('element-plus').ButtonType;
455
- text: boolean;
456
- disabled: boolean;
457
- round: boolean;
458
- dashed: boolean;
459
- nativeType: import('element-plus').ButtonNativeType;
460
- loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
461
- plain: boolean;
462
- autoInsertSpace: boolean;
463
- tag: string | import('vue').Component;
526
+ readonly link: boolean;
527
+ readonly circle: boolean;
528
+ readonly text: boolean;
529
+ readonly disabled: boolean;
530
+ readonly round: boolean;
531
+ readonly dark: boolean;
532
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
533
+ readonly bg: boolean;
534
+ readonly loading: boolean;
535
+ readonly autofocus: boolean;
536
+ readonly tag: string | import('vue').Component;
537
+ readonly plain: boolean;
538
+ readonly autoInsertSpace: boolean;
539
+ readonly nativeType: "button" | "reset" | "submit";
540
+ readonly loadingIcon: string | import('vue').Component;
464
541
  }> & Omit<Readonly<import('vue').ExtractPropTypes<{
465
- disabled: {
466
- type: import('vue').PropType<boolean>;
467
- default: undefined;
468
- };
469
- type: {
470
- type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
471
- default: string;
472
- };
473
- link: {
474
- type: import('vue').PropType<boolean>;
475
- };
476
- circle: {
477
- type: import('vue').PropType<boolean>;
478
- };
479
- text: {
480
- type: import('vue').PropType<boolean>;
481
- default: undefined;
482
- };
483
- size: {
484
- type: import('vue').PropType<"" | "default" | "small" | "large">;
485
- };
486
- icon: {
487
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
488
- };
489
- nativeType: {
490
- type: import('vue').PropType<"button" | "reset" | "submit">;
491
- default: string;
492
- };
493
- loading: {
494
- type: import('vue').PropType<boolean>;
495
- };
496
- loadingIcon: {
497
- type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
498
- default: any;
542
+ readonly size: {
543
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
544
+ readonly required: false;
545
+ readonly validator: ((val: unknown) => boolean) | undefined;
546
+ __epPropKey: true;
499
547
  };
500
- plain: {
501
- type: import('vue').PropType<boolean>;
502
- default: undefined;
548
+ readonly disabled: BooleanConstructor;
549
+ readonly type: {
550
+ readonly type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
551
+ readonly required: false;
552
+ readonly validator: ((val: unknown) => boolean) | undefined;
553
+ __epPropKey: true;
554
+ } & {
555
+ readonly default: "";
503
556
  };
504
- bg: {
505
- type: import('vue').PropType<boolean>;
557
+ readonly icon: {
558
+ readonly type: import('vue').PropType<string | import('vue').Component>;
559
+ readonly required: false;
560
+ readonly validator: ((val: unknown) => boolean) | undefined;
561
+ __epPropKey: true;
506
562
  };
507
- autofocus: {
508
- type: import('vue').PropType<boolean>;
563
+ readonly nativeType: {
564
+ readonly type: import('vue').PropType<"button" | "reset" | "submit">;
565
+ readonly required: false;
566
+ readonly validator: ((val: unknown) => boolean) | undefined;
567
+ __epPropKey: true;
568
+ } & {
569
+ readonly default: "button";
509
570
  };
510
- round: {
511
- type: import('vue').PropType<boolean>;
512
- default: undefined;
571
+ readonly loading: BooleanConstructor;
572
+ readonly loadingIcon: {
573
+ readonly type: import('vue').PropType<string | import('vue').Component>;
574
+ readonly required: false;
575
+ readonly validator: ((val: unknown) => boolean) | undefined;
576
+ __epPropKey: true;
577
+ } & {
578
+ readonly default: () => any;
513
579
  };
514
- dashed: {
515
- type: import('vue').PropType<boolean>;
516
- default: undefined;
580
+ readonly plain: {
581
+ readonly type: import('vue').PropType<boolean>;
582
+ readonly required: false;
583
+ readonly validator: ((val: unknown) => boolean) | undefined;
584
+ __epPropKey: true;
585
+ } & {
586
+ readonly default: undefined;
517
587
  };
518
- color: {
519
- type: import('vue').PropType<string>;
588
+ readonly text: {
589
+ readonly type: import('vue').PropType<boolean>;
590
+ readonly required: false;
591
+ readonly validator: ((val: unknown) => boolean) | undefined;
592
+ __epPropKey: true;
593
+ } & {
594
+ readonly default: undefined;
520
595
  };
521
- dark: {
522
- type: import('vue').PropType<boolean>;
596
+ readonly link: BooleanConstructor;
597
+ readonly bg: BooleanConstructor;
598
+ readonly autofocus: BooleanConstructor;
599
+ readonly round: {
600
+ readonly type: import('vue').PropType<boolean>;
601
+ readonly required: false;
602
+ readonly validator: ((val: unknown) => boolean) | undefined;
603
+ __epPropKey: true;
604
+ } & {
605
+ readonly default: undefined;
523
606
  };
524
- autoInsertSpace: {
525
- type: import('vue').PropType<boolean>;
526
- default: undefined;
607
+ readonly circle: BooleanConstructor;
608
+ readonly color: StringConstructor;
609
+ readonly dark: BooleanConstructor;
610
+ readonly autoInsertSpace: {
611
+ readonly type: import('vue').PropType<boolean>;
612
+ readonly required: false;
613
+ readonly validator: ((val: unknown) => boolean) | undefined;
614
+ __epPropKey: true;
615
+ } & {
616
+ readonly default: undefined;
527
617
  };
528
- tag: {
529
- type: import('vue').PropType<string | import('vue').Component>;
530
- default: string;
618
+ readonly tag: {
619
+ readonly type: import('vue').PropType<string | import('vue').Component>;
620
+ readonly required: false;
621
+ readonly validator: ((val: unknown) => boolean) | undefined;
622
+ __epPropKey: true;
623
+ } & {
624
+ readonly default: "button";
531
625
  };
532
626
  }>> & {
533
627
  onClick?: ((evt: MouseEvent) => any) | undefined;
534
- }, "disabled" | "type" | "text" | "ref" | "size" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
628
+ }, "disabled" | "type" | "link" | "circle" | "text" | "ref" | "size" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
535
629
  ref: import('vue').Ref<HTMLButtonElement | undefined>;
536
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
537
- type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
630
+ size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
631
+ type: import('vue').ComputedRef<string>;
538
632
  disabled: import('vue').ComputedRef<boolean>;
539
633
  shouldAddSpace: import('vue').ComputedRef<boolean>;
540
634
  }> & {} & import('vue').ComponentCustomProperties & {} & {
541
635
  $slots: {
542
- loading?: (props: {}) => any;
543
- } & {
544
- icon?: (props: {}) => any;
545
- } & {
546
- default?: (props: {}) => any;
636
+ loading?(_: {}): any;
637
+ icon?(_: {}): any;
638
+ default?(_: {}): any;
547
639
  };
548
640
  }) | null;
549
641
  }, any>;