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.
- package/docs/ra-select.md +2 -2
- package/docs/ra-tree-select.md +7 -1
- package/docs/ra-upload.md +3 -1
- package/lib/components/ra-button/index.vue.d.ts +440 -348
- package/lib/components/ra-date-picker/index.vue.d.ts +647 -483
- package/lib/components/ra-dialog/index.vue.d.ts +764 -516
- package/lib/components/ra-input/index.vue.d.ts +790 -544
- package/lib/components/ra-table/component/top-module.vue.d.ts +6 -8
- package/lib/components/ra-textarea/index.vue.d.ts +416 -293
- package/lib/components/ra-tool-tip/index.vue.d.ts +1152 -806
- package/lib/components/ra-tree-select/index.vue.d.ts +278 -517
- package/lib/components/ra-upload/index.vue.d.ts +1024 -259
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +1325 -1260
- 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
- package/lib/components/ra-form/index.vue.d.ts +0 -523
- package/lib/components/ra-select/type.d.ts +0 -5
- package/lib/components/ra-table/index.vue.d.ts +0 -3255
- package/lib/components/ra-tree-select/type.d.ts +0 -5
|
@@ -10,38 +10,42 @@ 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
|
-
|
|
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
|
|
25
|
-
readonly
|
|
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?:
|
|
32
|
-
readonly icon?: import('
|
|
33
|
-
readonly
|
|
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" | "
|
|
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
|
-
|
|
61
|
-
type: import('vue').PropType<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
82
|
-
|
|
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
|
-
|
|
85
|
-
type: import('vue').PropType<
|
|
86
|
-
|
|
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
|
-
|
|
89
|
-
type: import('vue').PropType<
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
103
|
-
|
|
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
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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
|
-
|
|
110
|
-
type: import('vue').PropType<
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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<"" | "
|
|
132
|
-
type: import('vue').ComputedRef<
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
-
|
|
181
|
-
type: import('vue').PropType<
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
};
|
|
201
|
-
|
|
202
|
-
type: import('vue').PropType<
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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
|
-
|
|
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
|
-
|
|
240
|
-
type: import('vue').PropType<boolean>;
|
|
241
|
-
|
|
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
|
-
|
|
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" | "
|
|
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<"" | "
|
|
252
|
-
type: import('vue').ComputedRef<
|
|
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
|
|
258
|
-
|
|
259
|
-
|
|
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
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
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
|
|
310
|
-
readonly
|
|
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?:
|
|
317
|
-
readonly icon?: import('
|
|
318
|
-
readonly
|
|
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" | "
|
|
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
|
-
|
|
346
|
-
type: import('vue').PropType<
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
type: import('vue').PropType<
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
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
|
-
|
|
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
|
-
|
|
405
|
-
type: import('vue').PropType<boolean>;
|
|
406
|
-
|
|
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
|
-
|
|
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<"" | "
|
|
417
|
-
type: import('vue').ComputedRef<
|
|
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
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
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
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
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
|
-
|
|
466
|
-
type: import('vue').PropType<
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
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
|
-
|
|
501
|
-
|
|
502
|
-
|
|
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
|
-
|
|
505
|
-
type: import('vue').PropType<
|
|
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
|
-
|
|
508
|
-
type: import('vue').PropType<
|
|
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
|
-
|
|
511
|
-
|
|
512
|
-
|
|
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
|
-
|
|
515
|
-
type: import('vue').PropType<boolean>;
|
|
516
|
-
|
|
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
|
-
|
|
519
|
-
type: import('vue').PropType<
|
|
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
|
-
|
|
522
|
-
|
|
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
|
-
|
|
525
|
-
|
|
526
|
-
|
|
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
|
-
|
|
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" | "
|
|
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<"" | "
|
|
537
|
-
type: import('vue').ComputedRef<
|
|
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
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
} & {
|
|
546
|
-
default?: (props: {}) => any;
|
|
636
|
+
loading?(_: {}): any;
|
|
637
|
+
icon?(_: {}): any;
|
|
638
|
+
default?(_: {}): any;
|
|
547
639
|
};
|
|
548
640
|
}) | null;
|
|
549
641
|
}, any>;
|