ra-element 0.1.90 → 0.1.92
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.
- package/docs/ra-select.md +2 -2
- package/docs/ra-tree-select.md +1 -7
- package/docs/ra-upload.md +1 -3
- package/lib/components/ra-button/index.vue.d.ts +348 -440
- package/lib/components/ra-date-picker/index.vue.d.ts +488 -655
- package/lib/components/ra-dialog/index.vue.d.ts +516 -764
- package/lib/components/ra-form/index.vue.d.ts +523 -0
- package/lib/components/ra-input/index.vue.d.ts +544 -790
- package/lib/components/ra-select/type.d.ts +5 -0
- package/lib/components/ra-table/component/top-module.vue.d.ts +8 -6
- package/lib/components/ra-table/index.vue.d.ts +3255 -0
- package/lib/components/ra-textarea/index.vue.d.ts +293 -416
- package/lib/components/ra-tool-tip/index.vue.d.ts +806 -1152
- package/lib/components/ra-tree-select/index.vue.d.ts +517 -278
- package/lib/components/ra-tree-select/type.d.ts +5 -0
- package/lib/components/ra-upload/index.vue.d.ts +259 -1024
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +1287 -1355
- package/lib/ra-element.es.js.map +1 -1
- package/lib/ra-element.umd.js +1 -1
- package/lib/ra-element.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,42 +10,38 @@ declare function __VLS_template(): {
|
|
|
10
10
|
$: import('vue').ComponentInternalInstance;
|
|
11
11
|
$data: {};
|
|
12
12
|
$props: Partial<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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;
|
|
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;
|
|
28
23
|
}> & Omit<{
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
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;
|
|
24
|
+
readonly type: import('element-plus').ButtonType;
|
|
25
|
+
readonly nativeType: import('element-plus').ButtonNativeType;
|
|
38
26
|
readonly tag: string | import('vue').Component;
|
|
27
|
+
readonly disabled?: boolean | undefined;
|
|
28
|
+
readonly link?: boolean | undefined;
|
|
29
|
+
readonly circle?: boolean | undefined;
|
|
39
30
|
readonly text?: boolean | undefined;
|
|
40
|
-
readonly size?: (
|
|
41
|
-
readonly icon?:
|
|
42
|
-
readonly
|
|
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;
|
|
43
35
|
readonly plain?: boolean | undefined;
|
|
36
|
+
readonly bg?: boolean | undefined;
|
|
37
|
+
readonly autofocus?: boolean | undefined;
|
|
44
38
|
readonly round?: boolean | undefined;
|
|
39
|
+
readonly dashed?: boolean | undefined;
|
|
45
40
|
readonly color?: string | undefined;
|
|
41
|
+
readonly dark?: boolean | undefined;
|
|
46
42
|
readonly autoInsertSpace?: boolean | undefined;
|
|
47
43
|
onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
48
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "
|
|
44
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "text" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag">;
|
|
49
45
|
$attrs: {
|
|
50
46
|
[x: string]: unknown;
|
|
51
47
|
};
|
|
@@ -61,116 +57,94 @@ declare function __VLS_template(): {
|
|
|
61
57
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
62
58
|
$el: any;
|
|
63
59
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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">;
|
|
69
80
|
};
|
|
70
|
-
|
|
71
|
-
|
|
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: "";
|
|
81
|
+
icon: {
|
|
82
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
78
83
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
|
-
__epPropKey: true;
|
|
84
|
+
nativeType: {
|
|
85
|
+
type: import('vue').PropType<"button" | "reset" | "submit">;
|
|
86
|
+
default: string;
|
|
84
87
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
readonly required: false;
|
|
88
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
|
-
__epPropKey: true;
|
|
90
|
-
} & {
|
|
91
|
-
readonly default: "button";
|
|
88
|
+
loading: {
|
|
89
|
+
type: import('vue').PropType<boolean>;
|
|
92
90
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
readonly required: false;
|
|
97
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
|
-
__epPropKey: true;
|
|
99
|
-
} & {
|
|
100
|
-
readonly default: () => any;
|
|
91
|
+
loadingIcon: {
|
|
92
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
93
|
+
default: any;
|
|
101
94
|
};
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
|
-
__epPropKey: true;
|
|
107
|
-
} & {
|
|
108
|
-
readonly default: undefined;
|
|
95
|
+
plain: {
|
|
96
|
+
type: import('vue').PropType<boolean>;
|
|
97
|
+
default: undefined;
|
|
109
98
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
readonly required: false;
|
|
113
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
-
__epPropKey: true;
|
|
115
|
-
} & {
|
|
116
|
-
readonly default: undefined;
|
|
99
|
+
bg: {
|
|
100
|
+
type: import('vue').PropType<boolean>;
|
|
117
101
|
};
|
|
118
|
-
|
|
119
|
-
|
|
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;
|
|
102
|
+
autofocus: {
|
|
103
|
+
type: import('vue').PropType<boolean>;
|
|
128
104
|
};
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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;
|
|
105
|
+
round: {
|
|
106
|
+
type: import('vue').PropType<boolean>;
|
|
107
|
+
default: undefined;
|
|
139
108
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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;
|
|
147
126
|
};
|
|
148
127
|
}>> & {
|
|
149
128
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
150
129
|
}, {
|
|
151
130
|
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
|
152
|
-
size: import('vue').ComputedRef<"" | "
|
|
153
|
-
type: import('vue').ComputedRef<
|
|
131
|
+
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
132
|
+
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
154
133
|
disabled: import('vue').ComputedRef<boolean>;
|
|
155
134
|
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
|
156
135
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
157
136
|
click: (evt: MouseEvent) => void;
|
|
158
137
|
}, string, {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
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;
|
|
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;
|
|
174
148
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
175
149
|
beforeCreate?: (() => void) | (() => void)[];
|
|
176
150
|
created?: (() => void) | (() => void)[];
|
|
@@ -192,119 +166,99 @@ declare function __VLS_template(): {
|
|
|
192
166
|
$nextTick: typeof import('vue').nextTick;
|
|
193
167
|
$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;
|
|
194
168
|
} & Readonly<{
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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;
|
|
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;
|
|
210
179
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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;
|
|
180
|
+
disabled: {
|
|
181
|
+
type: import('vue').PropType<boolean>;
|
|
182
|
+
default: undefined;
|
|
248
183
|
};
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
|
-
__epPropKey: true;
|
|
254
|
-
} & {
|
|
255
|
-
readonly default: undefined;
|
|
184
|
+
type: {
|
|
185
|
+
type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
186
|
+
default: string;
|
|
256
187
|
};
|
|
257
|
-
|
|
258
|
-
|
|
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;
|
|
188
|
+
link: {
|
|
189
|
+
type: import('vue').PropType<boolean>;
|
|
286
190
|
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
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>;
|
|
235
|
+
};
|
|
236
|
+
dark: {
|
|
237
|
+
type: import('vue').PropType<boolean>;
|
|
238
|
+
};
|
|
239
|
+
autoInsertSpace: {
|
|
240
|
+
type: import('vue').PropType<boolean>;
|
|
241
|
+
default: undefined;
|
|
242
|
+
};
|
|
243
|
+
tag: {
|
|
244
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
245
|
+
default: string;
|
|
294
246
|
};
|
|
295
247
|
}>> & {
|
|
296
248
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
297
|
-
}, "disabled" | "type" | "
|
|
249
|
+
}, "disabled" | "type" | "text" | "ref" | "size" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
298
250
|
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
|
299
|
-
size: import('vue').ComputedRef<"" | "
|
|
300
|
-
type: import('vue').ComputedRef<
|
|
251
|
+
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
252
|
+
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
301
253
|
disabled: import('vue').ComputedRef<boolean>;
|
|
302
254
|
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
|
303
255
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
304
256
|
$slots: {
|
|
305
|
-
loading
|
|
306
|
-
|
|
307
|
-
|
|
257
|
+
loading?: (props: {}) => any;
|
|
258
|
+
} & {
|
|
259
|
+
icon?: (props: {}) => any;
|
|
260
|
+
} & {
|
|
261
|
+
default?: (props: {}) => any;
|
|
308
262
|
};
|
|
309
263
|
}) | null;
|
|
310
264
|
};
|
|
@@ -341,42 +295,38 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
341
295
|
$: import('vue').ComponentInternalInstance;
|
|
342
296
|
$data: {};
|
|
343
297
|
$props: Partial<{
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
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;
|
|
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;
|
|
359
308
|
}> & Omit<{
|
|
360
|
-
readonly
|
|
361
|
-
readonly
|
|
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;
|
|
309
|
+
readonly type: import('element-plus').ButtonType;
|
|
310
|
+
readonly nativeType: import('element-plus').ButtonNativeType;
|
|
369
311
|
readonly tag: string | import('vue').Component;
|
|
312
|
+
readonly disabled?: boolean | undefined;
|
|
313
|
+
readonly link?: boolean | undefined;
|
|
314
|
+
readonly circle?: boolean | undefined;
|
|
370
315
|
readonly text?: boolean | undefined;
|
|
371
|
-
readonly size?: (
|
|
372
|
-
readonly icon?:
|
|
373
|
-
readonly
|
|
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;
|
|
374
320
|
readonly plain?: boolean | undefined;
|
|
321
|
+
readonly bg?: boolean | undefined;
|
|
322
|
+
readonly autofocus?: boolean | undefined;
|
|
375
323
|
readonly round?: boolean | undefined;
|
|
324
|
+
readonly dashed?: boolean | undefined;
|
|
376
325
|
readonly color?: string | undefined;
|
|
326
|
+
readonly dark?: boolean | undefined;
|
|
377
327
|
readonly autoInsertSpace?: boolean | undefined;
|
|
378
328
|
onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
379
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "
|
|
329
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "text" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag">;
|
|
380
330
|
$attrs: {
|
|
381
331
|
[x: string]: unknown;
|
|
382
332
|
};
|
|
@@ -392,116 +342,94 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
392
342
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
393
343
|
$el: any;
|
|
394
344
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
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;
|
|
345
|
+
disabled: {
|
|
346
|
+
type: import('vue').PropType<boolean>;
|
|
347
|
+
default: undefined;
|
|
432
348
|
};
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
437
|
-
__epPropKey: true;
|
|
438
|
-
} & {
|
|
439
|
-
readonly default: undefined;
|
|
349
|
+
type: {
|
|
350
|
+
type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
351
|
+
default: string;
|
|
440
352
|
};
|
|
441
|
-
|
|
442
|
-
|
|
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;
|
|
353
|
+
link: {
|
|
354
|
+
type: import('vue').PropType<boolean>;
|
|
470
355
|
};
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
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>;
|
|
400
|
+
};
|
|
401
|
+
dark: {
|
|
402
|
+
type: import('vue').PropType<boolean>;
|
|
403
|
+
};
|
|
404
|
+
autoInsertSpace: {
|
|
405
|
+
type: import('vue').PropType<boolean>;
|
|
406
|
+
default: undefined;
|
|
407
|
+
};
|
|
408
|
+
tag: {
|
|
409
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
410
|
+
default: string;
|
|
478
411
|
};
|
|
479
412
|
}>> & {
|
|
480
413
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
481
414
|
}, {
|
|
482
415
|
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
|
483
|
-
size: import('vue').ComputedRef<"" | "
|
|
484
|
-
type: import('vue').ComputedRef<
|
|
416
|
+
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
417
|
+
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
485
418
|
disabled: import('vue').ComputedRef<boolean>;
|
|
486
419
|
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
|
487
420
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
488
421
|
click: (evt: MouseEvent) => void;
|
|
489
422
|
}, string, {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
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;
|
|
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;
|
|
505
433
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
506
434
|
beforeCreate?: (() => void) | (() => void)[];
|
|
507
435
|
created?: (() => void) | (() => void)[];
|
|
@@ -523,119 +451,99 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
523
451
|
$nextTick: typeof import('vue').nextTick;
|
|
524
452
|
$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;
|
|
525
453
|
} & Readonly<{
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
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;
|
|
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;
|
|
541
464
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
546
|
-
__epPropKey: true;
|
|
465
|
+
disabled: {
|
|
466
|
+
type: import('vue').PropType<boolean>;
|
|
467
|
+
default: undefined;
|
|
547
468
|
};
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
readonly required: false;
|
|
552
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
553
|
-
__epPropKey: true;
|
|
554
|
-
} & {
|
|
555
|
-
readonly default: "";
|
|
469
|
+
type: {
|
|
470
|
+
type: import('vue').PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
471
|
+
default: string;
|
|
556
472
|
};
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
readonly required: false;
|
|
560
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
561
|
-
__epPropKey: true;
|
|
473
|
+
link: {
|
|
474
|
+
type: import('vue').PropType<boolean>;
|
|
562
475
|
};
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
readonly required: false;
|
|
566
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
567
|
-
__epPropKey: true;
|
|
568
|
-
} & {
|
|
569
|
-
readonly default: "button";
|
|
476
|
+
circle: {
|
|
477
|
+
type: import('vue').PropType<boolean>;
|
|
570
478
|
};
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
readonly required: false;
|
|
575
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
576
|
-
__epPropKey: true;
|
|
577
|
-
} & {
|
|
578
|
-
readonly default: () => any;
|
|
479
|
+
text: {
|
|
480
|
+
type: import('vue').PropType<boolean>;
|
|
481
|
+
default: undefined;
|
|
579
482
|
};
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
readonly required: false;
|
|
583
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
584
|
-
__epPropKey: true;
|
|
585
|
-
} & {
|
|
586
|
-
readonly default: undefined;
|
|
483
|
+
size: {
|
|
484
|
+
type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
587
485
|
};
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
readonly required: false;
|
|
591
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
592
|
-
__epPropKey: true;
|
|
593
|
-
} & {
|
|
594
|
-
readonly default: undefined;
|
|
486
|
+
icon: {
|
|
487
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
595
488
|
};
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
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;
|
|
489
|
+
nativeType: {
|
|
490
|
+
type: import('vue').PropType<"button" | "reset" | "submit">;
|
|
491
|
+
default: string;
|
|
606
492
|
};
|
|
607
|
-
|
|
608
|
-
|
|
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;
|
|
493
|
+
loading: {
|
|
494
|
+
type: import('vue').PropType<boolean>;
|
|
617
495
|
};
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
496
|
+
loadingIcon: {
|
|
497
|
+
type: import('vue').PropType<import('element-plus/es/utils/index.mjs').IconPropType>;
|
|
498
|
+
default: any;
|
|
499
|
+
};
|
|
500
|
+
plain: {
|
|
501
|
+
type: import('vue').PropType<boolean>;
|
|
502
|
+
default: undefined;
|
|
503
|
+
};
|
|
504
|
+
bg: {
|
|
505
|
+
type: import('vue').PropType<boolean>;
|
|
506
|
+
};
|
|
507
|
+
autofocus: {
|
|
508
|
+
type: import('vue').PropType<boolean>;
|
|
509
|
+
};
|
|
510
|
+
round: {
|
|
511
|
+
type: import('vue').PropType<boolean>;
|
|
512
|
+
default: undefined;
|
|
513
|
+
};
|
|
514
|
+
dashed: {
|
|
515
|
+
type: import('vue').PropType<boolean>;
|
|
516
|
+
default: undefined;
|
|
517
|
+
};
|
|
518
|
+
color: {
|
|
519
|
+
type: import('vue').PropType<string>;
|
|
520
|
+
};
|
|
521
|
+
dark: {
|
|
522
|
+
type: import('vue').PropType<boolean>;
|
|
523
|
+
};
|
|
524
|
+
autoInsertSpace: {
|
|
525
|
+
type: import('vue').PropType<boolean>;
|
|
526
|
+
default: undefined;
|
|
527
|
+
};
|
|
528
|
+
tag: {
|
|
529
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
530
|
+
default: string;
|
|
625
531
|
};
|
|
626
532
|
}>> & {
|
|
627
533
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
628
|
-
}, "disabled" | "type" | "
|
|
534
|
+
}, "disabled" | "type" | "text" | "ref" | "size" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
629
535
|
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
|
630
|
-
size: import('vue').ComputedRef<"" | "
|
|
631
|
-
type: import('vue').ComputedRef<
|
|
536
|
+
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
537
|
+
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
632
538
|
disabled: import('vue').ComputedRef<boolean>;
|
|
633
539
|
shouldAddSpace: import('vue').ComputedRef<boolean>;
|
|
634
540
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
635
541
|
$slots: {
|
|
636
|
-
loading
|
|
637
|
-
|
|
638
|
-
|
|
542
|
+
loading?: (props: {}) => any;
|
|
543
|
+
} & {
|
|
544
|
+
icon?: (props: {}) => any;
|
|
545
|
+
} & {
|
|
546
|
+
default?: (props: {}) => any;
|
|
639
547
|
};
|
|
640
548
|
}) | null;
|
|
641
549
|
}, any>;
|