erp-plus 1.0.4 → 1.0.6
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/README.md +37 -3
- package/dist/types/App.vue.d.ts +1 -1
- package/dist/types/erp-plus.css +1 -1
- package/dist/types/erp-plus.es.js +86 -60
- package/dist/types/erp-plus.umd.js +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/packages/Avatar/Avatar.vue.d.ts +87 -0
- package/dist/types/packages/Avatar/index.d.ts +4 -0
- package/dist/types/packages/Button/Button.vue.d.ts +151 -16
- package/dist/types/packages/Button/index.d.ts +0 -2
- package/dist/types/packages/DatePicker/DatePicker.vue.d.ts +307 -0
- package/dist/types/packages/DatePicker/index.d.ts +4 -0
- package/dist/types/packages/Form/Form.vue.d.ts +173 -0
- package/dist/types/packages/Form/index.d.ts +4 -0
- package/dist/types/packages/FormItem/FormItem.vue.d.ts +144 -0
- package/dist/types/packages/FormItem/index.d.ts +4 -0
- package/dist/types/packages/Input/Input.vue.d.ts +339 -0
- package/dist/types/packages/Input/index.d.ts +4 -0
- package/dist/types/packages/Select/Select.vue.d.ts +430 -0
- package/dist/types/packages/Select/index.d.ts +4 -0
- package/dist/types/packages/SvgIcon/index.vue.d.ts +32 -0
- package/package.json +12 -10
- package/dist/types/packages/Button/types.d.ts +0 -24
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type sizeType = 'large' | 'default' | 'small' | undefined;
|
|
3
|
+
type effectType = 'light' | 'dark' | undefined;
|
|
4
|
+
type tagType = 'success' | 'info' | 'warning' | 'danger' | 'primary' | undefined;
|
|
5
|
+
type tagEffectType = 'light' | 'dark' | 'plain' | undefined;
|
|
6
|
+
type placementType = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end' | undefined;
|
|
7
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
multiple: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
options: {
|
|
17
|
+
type: PropType<Record<string, any>[]>;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
props: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: () => {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
valueKey: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
type: PropType<sizeType>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
clearable: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
collapseTags: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
collapseTagsTooltip: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
multipleLimit: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
id: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
name: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
effect: {
|
|
64
|
+
type: PropType<effectType>;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
autocomplete: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
placeholder: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
filterable: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
allowCreate: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
filterMethod: {
|
|
84
|
+
type: PropType<(query: string) => void>;
|
|
85
|
+
default: () => void;
|
|
86
|
+
};
|
|
87
|
+
remote: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
remoteMethod: {
|
|
92
|
+
type: PropType<(query: string) => void>;
|
|
93
|
+
default: () => void;
|
|
94
|
+
};
|
|
95
|
+
remoteShowSuffix: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
loading: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
loadingText: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
noMatchText: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
noDataText: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
popperClass: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
reserveKeyword: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
defaultFirstOption: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
teleported: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
persistent: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
automaticDropdown: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
clearIcon: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: () => VNode<RendererNode, RendererElement, {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
}>;
|
|
144
|
+
};
|
|
145
|
+
fitInputWidth: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
suffixIcon: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: () => VNode<RendererNode, RendererElement, {
|
|
152
|
+
[key: string]: any;
|
|
153
|
+
}>;
|
|
154
|
+
};
|
|
155
|
+
tagType: {
|
|
156
|
+
type: PropType<tagType>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
tagEffect: {
|
|
160
|
+
type: PropType<tagEffectType>;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
validateEvent: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
offset: {
|
|
168
|
+
type: NumberConstructor;
|
|
169
|
+
default: number;
|
|
170
|
+
};
|
|
171
|
+
showArrow: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
placement: {
|
|
176
|
+
type: PropType<placementType>;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
maxCollapseTags: {
|
|
180
|
+
type: NumberConstructor;
|
|
181
|
+
default: number;
|
|
182
|
+
};
|
|
183
|
+
ariaLabel: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
188
|
+
blur: (...args: any[]) => void;
|
|
189
|
+
change: (...args: any[]) => void;
|
|
190
|
+
focus: (...args: any[]) => void;
|
|
191
|
+
clear: (...args: any[]) => void;
|
|
192
|
+
"update:modelValue": (...args: any[]) => void;
|
|
193
|
+
"visible-change": (...args: any[]) => void;
|
|
194
|
+
"remove-tag": (...args: any[]) => void;
|
|
195
|
+
"popup-scroll": (...args: any[]) => void;
|
|
196
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
197
|
+
modelValue: {
|
|
198
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
multiple: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
options: {
|
|
206
|
+
type: PropType<Record<string, any>[]>;
|
|
207
|
+
default: () => never[];
|
|
208
|
+
};
|
|
209
|
+
props: {
|
|
210
|
+
type: ObjectConstructor;
|
|
211
|
+
default: () => {
|
|
212
|
+
label: string;
|
|
213
|
+
value: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
disabled: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
valueKey: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
size: {
|
|
225
|
+
type: PropType<sizeType>;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
|
+
clearable: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
collapseTags: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
236
|
+
collapseTagsTooltip: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
multipleLimit: {
|
|
241
|
+
type: NumberConstructor;
|
|
242
|
+
default: number;
|
|
243
|
+
};
|
|
244
|
+
id: {
|
|
245
|
+
type: StringConstructor;
|
|
246
|
+
default: string;
|
|
247
|
+
};
|
|
248
|
+
name: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
default: string;
|
|
251
|
+
};
|
|
252
|
+
effect: {
|
|
253
|
+
type: PropType<effectType>;
|
|
254
|
+
default: string;
|
|
255
|
+
};
|
|
256
|
+
autocomplete: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
placeholder: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
filterable: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
allowCreate: {
|
|
269
|
+
type: BooleanConstructor;
|
|
270
|
+
default: boolean;
|
|
271
|
+
};
|
|
272
|
+
filterMethod: {
|
|
273
|
+
type: PropType<(query: string) => void>;
|
|
274
|
+
default: () => void;
|
|
275
|
+
};
|
|
276
|
+
remote: {
|
|
277
|
+
type: BooleanConstructor;
|
|
278
|
+
default: boolean;
|
|
279
|
+
};
|
|
280
|
+
remoteMethod: {
|
|
281
|
+
type: PropType<(query: string) => void>;
|
|
282
|
+
default: () => void;
|
|
283
|
+
};
|
|
284
|
+
remoteShowSuffix: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
288
|
+
loading: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
loadingText: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
noMatchText: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
noDataText: {
|
|
301
|
+
type: StringConstructor;
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
304
|
+
popperClass: {
|
|
305
|
+
type: StringConstructor;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
reserveKeyword: {
|
|
309
|
+
type: BooleanConstructor;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
312
|
+
defaultFirstOption: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: boolean;
|
|
315
|
+
};
|
|
316
|
+
teleported: {
|
|
317
|
+
type: BooleanConstructor;
|
|
318
|
+
default: boolean;
|
|
319
|
+
};
|
|
320
|
+
persistent: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: boolean;
|
|
323
|
+
};
|
|
324
|
+
automaticDropdown: {
|
|
325
|
+
type: BooleanConstructor;
|
|
326
|
+
default: boolean;
|
|
327
|
+
};
|
|
328
|
+
clearIcon: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: () => VNode<RendererNode, RendererElement, {
|
|
331
|
+
[key: string]: any;
|
|
332
|
+
}>;
|
|
333
|
+
};
|
|
334
|
+
fitInputWidth: {
|
|
335
|
+
type: BooleanConstructor;
|
|
336
|
+
default: boolean;
|
|
337
|
+
};
|
|
338
|
+
suffixIcon: {
|
|
339
|
+
type: StringConstructor;
|
|
340
|
+
default: () => VNode<RendererNode, RendererElement, {
|
|
341
|
+
[key: string]: any;
|
|
342
|
+
}>;
|
|
343
|
+
};
|
|
344
|
+
tagType: {
|
|
345
|
+
type: PropType<tagType>;
|
|
346
|
+
default: string;
|
|
347
|
+
};
|
|
348
|
+
tagEffect: {
|
|
349
|
+
type: PropType<tagEffectType>;
|
|
350
|
+
default: string;
|
|
351
|
+
};
|
|
352
|
+
validateEvent: {
|
|
353
|
+
type: BooleanConstructor;
|
|
354
|
+
default: boolean;
|
|
355
|
+
};
|
|
356
|
+
offset: {
|
|
357
|
+
type: NumberConstructor;
|
|
358
|
+
default: number;
|
|
359
|
+
};
|
|
360
|
+
showArrow: {
|
|
361
|
+
type: BooleanConstructor;
|
|
362
|
+
default: boolean;
|
|
363
|
+
};
|
|
364
|
+
placement: {
|
|
365
|
+
type: PropType<placementType>;
|
|
366
|
+
default: string;
|
|
367
|
+
};
|
|
368
|
+
maxCollapseTags: {
|
|
369
|
+
type: NumberConstructor;
|
|
370
|
+
default: number;
|
|
371
|
+
};
|
|
372
|
+
ariaLabel: {
|
|
373
|
+
type: StringConstructor;
|
|
374
|
+
default: string;
|
|
375
|
+
};
|
|
376
|
+
}>> & Readonly<{
|
|
377
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
379
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
381
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
382
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
383
|
+
"onRemove-tag"?: ((...args: any[]) => any) | undefined;
|
|
384
|
+
"onPopup-scroll"?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
}>, {
|
|
386
|
+
props: Record<string, any>;
|
|
387
|
+
size: sizeType;
|
|
388
|
+
loading: boolean;
|
|
389
|
+
disabled: boolean;
|
|
390
|
+
name: string;
|
|
391
|
+
modelValue: string | number;
|
|
392
|
+
placeholder: string;
|
|
393
|
+
clearable: boolean;
|
|
394
|
+
clearIcon: string;
|
|
395
|
+
suffixIcon: string;
|
|
396
|
+
ariaLabel: string;
|
|
397
|
+
validateEvent: boolean;
|
|
398
|
+
id: string;
|
|
399
|
+
autocomplete: string;
|
|
400
|
+
multiple: boolean;
|
|
401
|
+
options: Record<string, any>[];
|
|
402
|
+
valueKey: string;
|
|
403
|
+
collapseTags: boolean;
|
|
404
|
+
collapseTagsTooltip: boolean;
|
|
405
|
+
multipleLimit: number;
|
|
406
|
+
effect: effectType;
|
|
407
|
+
filterable: boolean;
|
|
408
|
+
allowCreate: boolean;
|
|
409
|
+
filterMethod: (query: string) => void;
|
|
410
|
+
remote: boolean;
|
|
411
|
+
remoteMethod: (query: string) => void;
|
|
412
|
+
remoteShowSuffix: boolean;
|
|
413
|
+
loadingText: string;
|
|
414
|
+
noMatchText: string;
|
|
415
|
+
noDataText: string;
|
|
416
|
+
popperClass: string;
|
|
417
|
+
reserveKeyword: boolean;
|
|
418
|
+
defaultFirstOption: boolean;
|
|
419
|
+
teleported: boolean;
|
|
420
|
+
persistent: boolean;
|
|
421
|
+
automaticDropdown: boolean;
|
|
422
|
+
fitInputWidth: boolean;
|
|
423
|
+
tagType: tagType;
|
|
424
|
+
tagEffect: tagEffectType;
|
|
425
|
+
offset: number;
|
|
426
|
+
showArrow: boolean;
|
|
427
|
+
placement: placementType;
|
|
428
|
+
maxCollapseTags: number;
|
|
429
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
430
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
iconClass: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
className: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
color: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
16
|
+
iconClass: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
className: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
color: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
color: string;
|
|
30
|
+
className: string;
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
32
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "erp-plus",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"author": "zhangxl",
|
|
5
|
+
"main": "dist/erp-plus.umd.js",
|
|
6
|
+
"module": "dist/erp-plus.es.js",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
8
11
|
"exports": {
|
|
9
12
|
".": {
|
|
10
13
|
"import": "./dist/erp-plus.es.js",
|
|
@@ -18,16 +21,17 @@
|
|
|
18
21
|
"prepublishOnly": "npm run build"
|
|
19
22
|
},
|
|
20
23
|
"dependencies": {
|
|
21
|
-
"element-plus": "^2.
|
|
24
|
+
"element-plus": "^2.11.8",
|
|
22
25
|
"fast-glob": "^3.3.3",
|
|
23
|
-
"vite-plugin-svg-icons": "^2.0.1",
|
|
24
26
|
"path-browserify": "1.0.1",
|
|
25
27
|
"path-to-regexp": "6.2.0",
|
|
28
|
+
"vite-plugin-svg-icons": "^2.0.1",
|
|
26
29
|
"vue": "^3.5.17"
|
|
27
30
|
},
|
|
28
31
|
"devDependencies": {
|
|
29
32
|
"@element-plus/icons-vue": "^2.3.1",
|
|
30
33
|
"@types/node": "^24.0.10",
|
|
34
|
+
"@types/path-browserify": "^1.0.0",
|
|
31
35
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
32
36
|
"@vue/tsconfig": "^0.7.0",
|
|
33
37
|
"sass": "^1.89.0",
|
|
@@ -40,11 +44,9 @@
|
|
|
40
44
|
"vite": "^7.0.0",
|
|
41
45
|
"vite-plugin-dts": "^4.5.4",
|
|
42
46
|
"vue": "^3.5.17",
|
|
43
|
-
"vue-tsc": "^2.2.10"
|
|
44
|
-
"@types/path-browserify": "^1.0.0"
|
|
47
|
+
"vue-tsc": "^2.2.10"
|
|
45
48
|
},
|
|
46
49
|
"peerDependencies": {
|
|
47
|
-
"element-plus": "^2.10.2",
|
|
48
50
|
"vue": "^3.5.17"
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
export declare const buttonProps: {
|
|
3
|
-
type: {
|
|
4
|
-
type: PropType<"default" | "primary" | "success" | "warning" | "danger">;
|
|
5
|
-
default: string;
|
|
6
|
-
validator: (val: string) => boolean;
|
|
7
|
-
};
|
|
8
|
-
disabled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
loading: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
block: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
22
|
-
export interface ButtonEmits {
|
|
23
|
-
(e: 'click', event: MouseEvent): void;
|
|
24
|
-
}
|