@vunk/form 2.13.0 → 2.13.1
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/components/form-item/index.cjs +138 -143
- package/components/form-item/index.css +13 -16
- package/components/form-item/index.mjs +140 -145
- package/components/form-item/src/core.vue.d.ts +1847 -0
- package/components/form-item/src/index.vue.d.ts +4 -745
- package/components/form-item/src/types.d.ts +1 -0
- package/index.css +13 -16
- package/package.json +1 -1
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { FormItemRule } from 'element-plus';
|
|
2
|
-
import { NormalObject } from '@vunk/shared';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<Omit<{
|
|
4
2
|
formItemSize: {
|
|
5
3
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
@@ -96,25 +94,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
94
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
95
|
__epPropKey: true;
|
|
98
96
|
};
|
|
99
|
-
}, "size">>, {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
prop: any;
|
|
103
|
-
label: string;
|
|
104
|
-
labelWidth: string | number;
|
|
105
|
-
labelPosition: "" | "top" | "left" | "right";
|
|
106
|
-
error: string;
|
|
107
|
-
validateStatus: "" | "error" | "success" | "validating";
|
|
108
|
-
for: string;
|
|
109
|
-
inlineMessage: string | boolean;
|
|
110
|
-
showMessage: boolean;
|
|
111
|
-
}>;
|
|
112
|
-
readonly: import("vue").ComputedRef<boolean>;
|
|
113
|
-
rules: import("vue").ComputedRef<FormItemRule[]>;
|
|
114
|
-
localeName: import("vue").ComputedRef<string>;
|
|
115
|
-
elFormItemSlots: import("vue").ComputedRef<NormalObject>;
|
|
116
|
-
customSlots: import("vue").ComputedRef<NormalObject>;
|
|
117
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Omit<{
|
|
97
|
+
}, "size">>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Omit<{
|
|
118
100
|
formItemSize: {
|
|
119
101
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
120
102
|
default: "default" | "small" | "large";
|
|
@@ -225,728 +207,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
225
207
|
labelPosition: "" | "top" | "left" | "right";
|
|
226
208
|
inlineMessage: string | boolean;
|
|
227
209
|
showMessage: boolean;
|
|
228
|
-
}, {}, {
|
|
229
|
-
ElFormItem: {
|
|
230
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
231
|
-
readonly label: StringConstructor;
|
|
232
|
-
readonly labelWidth: {
|
|
233
|
-
readonly type: import("vue").PropType<string | number>;
|
|
234
|
-
readonly required: false;
|
|
235
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
|
-
__epPropKey: true;
|
|
237
|
-
} & {
|
|
238
|
-
readonly default: "";
|
|
239
|
-
};
|
|
240
|
-
readonly labelPosition: {
|
|
241
|
-
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
242
|
-
readonly required: false;
|
|
243
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
244
|
-
__epPropKey: true;
|
|
245
|
-
} & {
|
|
246
|
-
readonly default: "";
|
|
247
|
-
};
|
|
248
|
-
readonly prop: {
|
|
249
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
250
|
-
readonly required: false;
|
|
251
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
252
|
-
__epPropKey: true;
|
|
253
|
-
};
|
|
254
|
-
readonly required: {
|
|
255
|
-
readonly type: import("vue").PropType<boolean>;
|
|
256
|
-
readonly required: false;
|
|
257
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
258
|
-
__epPropKey: true;
|
|
259
|
-
} & {
|
|
260
|
-
readonly default: undefined;
|
|
261
|
-
};
|
|
262
|
-
readonly rules: {
|
|
263
|
-
readonly type: import("vue").PropType<unknown>;
|
|
264
|
-
readonly required: false;
|
|
265
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
266
|
-
__epPropKey: true;
|
|
267
|
-
};
|
|
268
|
-
readonly error: StringConstructor;
|
|
269
|
-
readonly validateStatus: {
|
|
270
|
-
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
271
|
-
readonly required: false;
|
|
272
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
273
|
-
__epPropKey: true;
|
|
274
|
-
};
|
|
275
|
-
readonly for: StringConstructor;
|
|
276
|
-
readonly inlineMessage: {
|
|
277
|
-
readonly type: import("vue").PropType<string | boolean>;
|
|
278
|
-
readonly required: false;
|
|
279
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
280
|
-
__epPropKey: true;
|
|
281
|
-
} & {
|
|
282
|
-
readonly default: "";
|
|
283
|
-
};
|
|
284
|
-
readonly showMessage: {
|
|
285
|
-
readonly type: import("vue").PropType<boolean>;
|
|
286
|
-
readonly required: false;
|
|
287
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
288
|
-
__epPropKey: true;
|
|
289
|
-
} & {
|
|
290
|
-
readonly default: true;
|
|
291
|
-
};
|
|
292
|
-
readonly size: {
|
|
293
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
294
|
-
readonly required: false;
|
|
295
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
296
|
-
__epPropKey: true;
|
|
297
|
-
};
|
|
298
|
-
}>>, {
|
|
299
|
-
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
300
|
-
validateMessage: import("vue").Ref<string>;
|
|
301
|
-
validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
|
|
302
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
303
|
-
clearValidate: () => void;
|
|
304
|
-
resetField: () => void;
|
|
305
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
306
|
-
readonly required: boolean;
|
|
307
|
-
readonly labelWidth: string | number;
|
|
308
|
-
readonly labelPosition: "" | "top" | "left" | "right";
|
|
309
|
-
readonly inlineMessage: string | boolean;
|
|
310
|
-
readonly showMessage: boolean;
|
|
311
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
312
|
-
P: {};
|
|
313
|
-
B: {};
|
|
314
|
-
D: {};
|
|
315
|
-
C: {};
|
|
316
|
-
M: {};
|
|
317
|
-
Defaults: {};
|
|
318
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
319
|
-
readonly label: StringConstructor;
|
|
320
|
-
readonly labelWidth: {
|
|
321
|
-
readonly type: import("vue").PropType<string | number>;
|
|
322
|
-
readonly required: false;
|
|
323
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
|
-
__epPropKey: true;
|
|
325
|
-
} & {
|
|
326
|
-
readonly default: "";
|
|
327
|
-
};
|
|
328
|
-
readonly labelPosition: {
|
|
329
|
-
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
330
|
-
readonly required: false;
|
|
331
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
332
|
-
__epPropKey: true;
|
|
333
|
-
} & {
|
|
334
|
-
readonly default: "";
|
|
335
|
-
};
|
|
336
|
-
readonly prop: {
|
|
337
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
338
|
-
readonly required: false;
|
|
339
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
|
-
__epPropKey: true;
|
|
341
|
-
};
|
|
342
|
-
readonly required: {
|
|
343
|
-
readonly type: import("vue").PropType<boolean>;
|
|
344
|
-
readonly required: false;
|
|
345
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
|
-
__epPropKey: true;
|
|
347
|
-
} & {
|
|
348
|
-
readonly default: undefined;
|
|
349
|
-
};
|
|
350
|
-
readonly rules: {
|
|
351
|
-
readonly type: import("vue").PropType<unknown>;
|
|
352
|
-
readonly required: false;
|
|
353
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
|
-
__epPropKey: true;
|
|
355
|
-
};
|
|
356
|
-
readonly error: StringConstructor;
|
|
357
|
-
readonly validateStatus: {
|
|
358
|
-
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
359
|
-
readonly required: false;
|
|
360
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
361
|
-
__epPropKey: true;
|
|
362
|
-
};
|
|
363
|
-
readonly for: StringConstructor;
|
|
364
|
-
readonly inlineMessage: {
|
|
365
|
-
readonly type: import("vue").PropType<string | boolean>;
|
|
366
|
-
readonly required: false;
|
|
367
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
368
|
-
__epPropKey: true;
|
|
369
|
-
} & {
|
|
370
|
-
readonly default: "";
|
|
371
|
-
};
|
|
372
|
-
readonly showMessage: {
|
|
373
|
-
readonly type: import("vue").PropType<boolean>;
|
|
374
|
-
readonly required: false;
|
|
375
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
376
|
-
__epPropKey: true;
|
|
377
|
-
} & {
|
|
378
|
-
readonly default: true;
|
|
379
|
-
};
|
|
380
|
-
readonly size: {
|
|
381
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
382
|
-
readonly required: false;
|
|
383
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
384
|
-
__epPropKey: true;
|
|
385
|
-
};
|
|
386
|
-
}>>, {
|
|
387
|
-
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
388
|
-
validateMessage: import("vue").Ref<string>;
|
|
389
|
-
validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
|
|
390
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
391
|
-
clearValidate: () => void;
|
|
392
|
-
resetField: () => void;
|
|
393
|
-
}, {}, {}, {}, {
|
|
394
|
-
readonly required: boolean;
|
|
395
|
-
readonly labelWidth: string | number;
|
|
396
|
-
readonly labelPosition: "" | "top" | "left" | "right";
|
|
397
|
-
readonly inlineMessage: string | boolean;
|
|
398
|
-
readonly showMessage: boolean;
|
|
399
|
-
}>;
|
|
400
|
-
__isFragment?: never;
|
|
401
|
-
__isTeleport?: never;
|
|
402
|
-
__isSuspense?: never;
|
|
403
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
404
|
-
readonly label: StringConstructor;
|
|
405
|
-
readonly labelWidth: {
|
|
406
|
-
readonly type: import("vue").PropType<string | number>;
|
|
407
|
-
readonly required: false;
|
|
408
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
409
|
-
__epPropKey: true;
|
|
410
|
-
} & {
|
|
411
|
-
readonly default: "";
|
|
412
|
-
};
|
|
413
|
-
readonly labelPosition: {
|
|
414
|
-
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
415
|
-
readonly required: false;
|
|
416
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
417
|
-
__epPropKey: true;
|
|
418
|
-
} & {
|
|
419
|
-
readonly default: "";
|
|
420
|
-
};
|
|
421
|
-
readonly prop: {
|
|
422
|
-
readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
423
|
-
readonly required: false;
|
|
424
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
425
|
-
__epPropKey: true;
|
|
426
|
-
};
|
|
427
|
-
readonly required: {
|
|
428
|
-
readonly type: import("vue").PropType<boolean>;
|
|
429
|
-
readonly required: false;
|
|
430
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
431
|
-
__epPropKey: true;
|
|
432
|
-
} & {
|
|
433
|
-
readonly default: undefined;
|
|
434
|
-
};
|
|
435
|
-
readonly rules: {
|
|
436
|
-
readonly type: import("vue").PropType<unknown>;
|
|
437
|
-
readonly required: false;
|
|
438
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
439
|
-
__epPropKey: true;
|
|
440
|
-
};
|
|
441
|
-
readonly error: StringConstructor;
|
|
442
|
-
readonly validateStatus: {
|
|
443
|
-
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
444
|
-
readonly required: false;
|
|
445
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
446
|
-
__epPropKey: true;
|
|
447
|
-
};
|
|
448
|
-
readonly for: StringConstructor;
|
|
449
|
-
readonly inlineMessage: {
|
|
450
|
-
readonly type: import("vue").PropType<string | boolean>;
|
|
451
|
-
readonly required: false;
|
|
452
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
453
|
-
__epPropKey: true;
|
|
454
|
-
} & {
|
|
455
|
-
readonly default: "";
|
|
456
|
-
};
|
|
457
|
-
readonly showMessage: {
|
|
458
|
-
readonly type: import("vue").PropType<boolean>;
|
|
459
|
-
readonly required: false;
|
|
460
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
461
|
-
__epPropKey: true;
|
|
462
|
-
} & {
|
|
463
|
-
readonly default: true;
|
|
464
|
-
};
|
|
465
|
-
readonly size: {
|
|
466
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
467
|
-
readonly required: false;
|
|
468
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
469
|
-
__epPropKey: true;
|
|
470
|
-
};
|
|
471
|
-
}>>, {
|
|
472
|
-
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
473
|
-
validateMessage: import("vue").Ref<string>;
|
|
474
|
-
validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
|
|
475
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
476
|
-
clearValidate: () => void;
|
|
477
|
-
resetField: () => void;
|
|
478
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
479
|
-
readonly required: boolean;
|
|
480
|
-
readonly labelWidth: string | number;
|
|
481
|
-
readonly labelPosition: "" | "top" | "left" | "right";
|
|
482
|
-
readonly inlineMessage: string | boolean;
|
|
483
|
-
readonly showMessage: boolean;
|
|
484
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
485
|
-
$slots: {
|
|
486
|
-
label?(_: {
|
|
487
|
-
label: string;
|
|
488
|
-
}): any;
|
|
489
|
-
default?(_: {}): any;
|
|
490
|
-
error?(_: {
|
|
491
|
-
error: string;
|
|
492
|
-
}): any;
|
|
493
|
-
};
|
|
494
|
-
}) & import("vue").Plugin;
|
|
495
|
-
ElIcon: {
|
|
496
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
497
|
-
readonly size: {
|
|
498
|
-
readonly type: import("vue").PropType<string | number>;
|
|
499
|
-
readonly required: false;
|
|
500
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
501
|
-
__epPropKey: true;
|
|
502
|
-
};
|
|
503
|
-
readonly color: {
|
|
504
|
-
readonly type: import("vue").PropType<string>;
|
|
505
|
-
readonly required: false;
|
|
506
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
507
|
-
__epPropKey: true;
|
|
508
|
-
};
|
|
509
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
510
|
-
P: {};
|
|
511
|
-
B: {};
|
|
512
|
-
D: {};
|
|
513
|
-
C: {};
|
|
514
|
-
M: {};
|
|
515
|
-
Defaults: {};
|
|
516
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
517
|
-
readonly size: {
|
|
518
|
-
readonly type: import("vue").PropType<string | number>;
|
|
519
|
-
readonly required: false;
|
|
520
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
521
|
-
__epPropKey: true;
|
|
522
|
-
};
|
|
523
|
-
readonly color: {
|
|
524
|
-
readonly type: import("vue").PropType<string>;
|
|
525
|
-
readonly required: false;
|
|
526
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
527
|
-
__epPropKey: true;
|
|
528
|
-
};
|
|
529
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
530
|
-
__isFragment?: never;
|
|
531
|
-
__isTeleport?: never;
|
|
532
|
-
__isSuspense?: never;
|
|
533
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
534
|
-
readonly size: {
|
|
535
|
-
readonly type: import("vue").PropType<string | number>;
|
|
536
|
-
readonly required: false;
|
|
537
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
538
|
-
__epPropKey: true;
|
|
539
|
-
};
|
|
540
|
-
readonly color: {
|
|
541
|
-
readonly type: import("vue").PropType<string>;
|
|
542
|
-
readonly required: false;
|
|
543
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
544
|
-
__epPropKey: true;
|
|
545
|
-
};
|
|
546
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
547
|
-
$slots: {
|
|
548
|
-
default?(_: {}): any;
|
|
549
|
-
};
|
|
550
|
-
}) & import("vue").Plugin;
|
|
551
|
-
ElTooltip: never;
|
|
552
|
-
Warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
553
|
-
ElButton: ({
|
|
554
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
555
|
-
readonly size: {
|
|
556
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
557
|
-
readonly required: false;
|
|
558
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
559
|
-
__epPropKey: true;
|
|
560
|
-
};
|
|
561
|
-
readonly disabled: BooleanConstructor;
|
|
562
|
-
readonly type: {
|
|
563
|
-
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
564
|
-
readonly required: false;
|
|
565
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
566
|
-
__epPropKey: true;
|
|
567
|
-
} & {
|
|
568
|
-
readonly default: "";
|
|
569
|
-
};
|
|
570
|
-
readonly icon: {
|
|
571
|
-
readonly type: import("vue").PropType<unknown>;
|
|
572
|
-
readonly required: false;
|
|
573
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
574
|
-
__epPropKey: true;
|
|
575
|
-
};
|
|
576
|
-
readonly nativeType: {
|
|
577
|
-
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
578
|
-
readonly required: false;
|
|
579
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
580
|
-
__epPropKey: true;
|
|
581
|
-
} & {
|
|
582
|
-
readonly default: "button";
|
|
583
|
-
};
|
|
584
|
-
readonly loading: BooleanConstructor;
|
|
585
|
-
readonly loadingIcon: {
|
|
586
|
-
readonly type: import("vue").PropType<unknown>;
|
|
587
|
-
readonly required: false;
|
|
588
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
589
|
-
__epPropKey: true;
|
|
590
|
-
} & {
|
|
591
|
-
readonly default: () => any;
|
|
592
|
-
};
|
|
593
|
-
readonly plain: {
|
|
594
|
-
readonly type: import("vue").PropType<boolean>;
|
|
595
|
-
readonly required: false;
|
|
596
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
597
|
-
__epPropKey: true;
|
|
598
|
-
} & {
|
|
599
|
-
readonly default: undefined;
|
|
600
|
-
};
|
|
601
|
-
readonly text: BooleanConstructor;
|
|
602
|
-
readonly link: BooleanConstructor;
|
|
603
|
-
readonly bg: BooleanConstructor;
|
|
604
|
-
readonly autofocus: BooleanConstructor;
|
|
605
|
-
readonly round: {
|
|
606
|
-
readonly type: import("vue").PropType<boolean>;
|
|
607
|
-
readonly required: false;
|
|
608
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
609
|
-
__epPropKey: true;
|
|
610
|
-
} & {
|
|
611
|
-
readonly default: undefined;
|
|
612
|
-
};
|
|
613
|
-
readonly circle: BooleanConstructor;
|
|
614
|
-
readonly color: StringConstructor;
|
|
615
|
-
readonly dark: BooleanConstructor;
|
|
616
|
-
readonly autoInsertSpace: {
|
|
617
|
-
readonly type: import("vue").PropType<boolean>;
|
|
618
|
-
readonly required: false;
|
|
619
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
620
|
-
__epPropKey: true;
|
|
621
|
-
} & {
|
|
622
|
-
readonly default: undefined;
|
|
623
|
-
};
|
|
624
|
-
readonly tag: {
|
|
625
|
-
readonly type: import("vue").PropType<unknown>;
|
|
626
|
-
readonly required: false;
|
|
627
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
628
|
-
__epPropKey: true;
|
|
629
|
-
} & {
|
|
630
|
-
readonly default: "button";
|
|
631
|
-
};
|
|
632
|
-
}>> & {
|
|
633
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
634
|
-
}, {
|
|
635
|
-
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
636
|
-
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
637
|
-
type: import("vue").ComputedRef<string>;
|
|
638
|
-
disabled: import("vue").ComputedRef<boolean>;
|
|
639
|
-
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
640
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
641
|
-
click: (evt: MouseEvent) => void;
|
|
642
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
643
|
-
readonly link: boolean;
|
|
644
|
-
readonly circle: boolean;
|
|
645
|
-
readonly text: boolean;
|
|
646
|
-
readonly disabled: boolean;
|
|
647
|
-
readonly round: boolean;
|
|
648
|
-
readonly dark: boolean;
|
|
649
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
650
|
-
readonly bg: boolean;
|
|
651
|
-
readonly loading: boolean;
|
|
652
|
-
readonly autofocus: boolean;
|
|
653
|
-
readonly tag: unknown;
|
|
654
|
-
readonly plain: boolean;
|
|
655
|
-
readonly nativeType: "button" | "reset" | "submit";
|
|
656
|
-
readonly loadingIcon: unknown;
|
|
657
|
-
readonly autoInsertSpace: boolean;
|
|
658
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
659
|
-
P: {};
|
|
660
|
-
B: {};
|
|
661
|
-
D: {};
|
|
662
|
-
C: {};
|
|
663
|
-
M: {};
|
|
664
|
-
Defaults: {};
|
|
665
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
666
|
-
readonly size: {
|
|
667
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
668
|
-
readonly required: false;
|
|
669
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
670
|
-
__epPropKey: true;
|
|
671
|
-
};
|
|
672
|
-
readonly disabled: BooleanConstructor;
|
|
673
|
-
readonly type: {
|
|
674
|
-
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
675
|
-
readonly required: false;
|
|
676
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
677
|
-
__epPropKey: true;
|
|
678
|
-
} & {
|
|
679
|
-
readonly default: "";
|
|
680
|
-
};
|
|
681
|
-
readonly icon: {
|
|
682
|
-
readonly type: import("vue").PropType<unknown>;
|
|
683
|
-
readonly required: false;
|
|
684
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
685
|
-
__epPropKey: true;
|
|
686
|
-
};
|
|
687
|
-
readonly nativeType: {
|
|
688
|
-
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
689
|
-
readonly required: false;
|
|
690
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
691
|
-
__epPropKey: true;
|
|
692
|
-
} & {
|
|
693
|
-
readonly default: "button";
|
|
694
|
-
};
|
|
695
|
-
readonly loading: BooleanConstructor;
|
|
696
|
-
readonly loadingIcon: {
|
|
697
|
-
readonly type: import("vue").PropType<unknown>;
|
|
698
|
-
readonly required: false;
|
|
699
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
700
|
-
__epPropKey: true;
|
|
701
|
-
} & {
|
|
702
|
-
readonly default: () => any;
|
|
703
|
-
};
|
|
704
|
-
readonly plain: {
|
|
705
|
-
readonly type: import("vue").PropType<boolean>;
|
|
706
|
-
readonly required: false;
|
|
707
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
708
|
-
__epPropKey: true;
|
|
709
|
-
} & {
|
|
710
|
-
readonly default: undefined;
|
|
711
|
-
};
|
|
712
|
-
readonly text: BooleanConstructor;
|
|
713
|
-
readonly link: BooleanConstructor;
|
|
714
|
-
readonly bg: BooleanConstructor;
|
|
715
|
-
readonly autofocus: BooleanConstructor;
|
|
716
|
-
readonly round: {
|
|
717
|
-
readonly type: import("vue").PropType<boolean>;
|
|
718
|
-
readonly required: false;
|
|
719
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
720
|
-
__epPropKey: true;
|
|
721
|
-
} & {
|
|
722
|
-
readonly default: undefined;
|
|
723
|
-
};
|
|
724
|
-
readonly circle: BooleanConstructor;
|
|
725
|
-
readonly color: StringConstructor;
|
|
726
|
-
readonly dark: BooleanConstructor;
|
|
727
|
-
readonly autoInsertSpace: {
|
|
728
|
-
readonly type: import("vue").PropType<boolean>;
|
|
729
|
-
readonly required: false;
|
|
730
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
731
|
-
__epPropKey: true;
|
|
732
|
-
} & {
|
|
733
|
-
readonly default: undefined;
|
|
734
|
-
};
|
|
735
|
-
readonly tag: {
|
|
736
|
-
readonly type: import("vue").PropType<unknown>;
|
|
737
|
-
readonly required: false;
|
|
738
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
739
|
-
__epPropKey: true;
|
|
740
|
-
} & {
|
|
741
|
-
readonly default: "button";
|
|
742
|
-
};
|
|
743
|
-
}>> & {
|
|
744
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
745
|
-
}, {
|
|
746
|
-
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
747
|
-
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
748
|
-
type: import("vue").ComputedRef<string>;
|
|
749
|
-
disabled: import("vue").ComputedRef<boolean>;
|
|
750
|
-
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
751
|
-
}, {}, {}, {}, {
|
|
752
|
-
readonly link: boolean;
|
|
753
|
-
readonly circle: boolean;
|
|
754
|
-
readonly text: boolean;
|
|
755
|
-
readonly disabled: boolean;
|
|
756
|
-
readonly round: boolean;
|
|
757
|
-
readonly dark: boolean;
|
|
758
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
759
|
-
readonly bg: boolean;
|
|
760
|
-
readonly loading: boolean;
|
|
761
|
-
readonly autofocus: boolean;
|
|
762
|
-
readonly tag: unknown;
|
|
763
|
-
readonly plain: boolean;
|
|
764
|
-
readonly nativeType: "button" | "reset" | "submit";
|
|
765
|
-
readonly loadingIcon: unknown;
|
|
766
|
-
readonly autoInsertSpace: boolean;
|
|
767
|
-
}>;
|
|
768
|
-
__isFragment?: never;
|
|
769
|
-
__isTeleport?: never;
|
|
770
|
-
__isSuspense?: never;
|
|
771
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
772
|
-
readonly size: {
|
|
773
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
774
|
-
readonly required: false;
|
|
775
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
776
|
-
__epPropKey: true;
|
|
777
|
-
};
|
|
778
|
-
readonly disabled: BooleanConstructor;
|
|
779
|
-
readonly type: {
|
|
780
|
-
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
781
|
-
readonly required: false;
|
|
782
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
783
|
-
__epPropKey: true;
|
|
784
|
-
} & {
|
|
785
|
-
readonly default: "";
|
|
786
|
-
};
|
|
787
|
-
readonly icon: {
|
|
788
|
-
readonly type: import("vue").PropType<unknown>;
|
|
789
|
-
readonly required: false;
|
|
790
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
791
|
-
__epPropKey: true;
|
|
792
|
-
};
|
|
793
|
-
readonly nativeType: {
|
|
794
|
-
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
795
|
-
readonly required: false;
|
|
796
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
797
|
-
__epPropKey: true;
|
|
798
|
-
} & {
|
|
799
|
-
readonly default: "button";
|
|
800
|
-
};
|
|
801
|
-
readonly loading: BooleanConstructor;
|
|
802
|
-
readonly loadingIcon: {
|
|
803
|
-
readonly type: import("vue").PropType<unknown>;
|
|
804
|
-
readonly required: false;
|
|
805
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
806
|
-
__epPropKey: true;
|
|
807
|
-
} & {
|
|
808
|
-
readonly default: () => any;
|
|
809
|
-
};
|
|
810
|
-
readonly plain: {
|
|
811
|
-
readonly type: import("vue").PropType<boolean>;
|
|
812
|
-
readonly required: false;
|
|
813
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
814
|
-
__epPropKey: true;
|
|
815
|
-
} & {
|
|
816
|
-
readonly default: undefined;
|
|
817
|
-
};
|
|
818
|
-
readonly text: BooleanConstructor;
|
|
819
|
-
readonly link: BooleanConstructor;
|
|
820
|
-
readonly bg: BooleanConstructor;
|
|
821
|
-
readonly autofocus: BooleanConstructor;
|
|
822
|
-
readonly round: {
|
|
823
|
-
readonly type: import("vue").PropType<boolean>;
|
|
824
|
-
readonly required: false;
|
|
825
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
826
|
-
__epPropKey: true;
|
|
827
|
-
} & {
|
|
828
|
-
readonly default: undefined;
|
|
829
|
-
};
|
|
830
|
-
readonly circle: BooleanConstructor;
|
|
831
|
-
readonly color: StringConstructor;
|
|
832
|
-
readonly dark: BooleanConstructor;
|
|
833
|
-
readonly autoInsertSpace: {
|
|
834
|
-
readonly type: import("vue").PropType<boolean>;
|
|
835
|
-
readonly required: false;
|
|
836
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
837
|
-
__epPropKey: true;
|
|
838
|
-
} & {
|
|
839
|
-
readonly default: undefined;
|
|
840
|
-
};
|
|
841
|
-
readonly tag: {
|
|
842
|
-
readonly type: import("vue").PropType<unknown>;
|
|
843
|
-
readonly required: false;
|
|
844
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
845
|
-
__epPropKey: true;
|
|
846
|
-
} & {
|
|
847
|
-
readonly default: "button";
|
|
848
|
-
};
|
|
849
|
-
}>> & {
|
|
850
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
851
|
-
}, {
|
|
852
|
-
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
853
|
-
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
854
|
-
type: import("vue").ComputedRef<string>;
|
|
855
|
-
disabled: import("vue").ComputedRef<boolean>;
|
|
856
|
-
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
857
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
858
|
-
click: (evt: MouseEvent) => void;
|
|
859
|
-
}, string, {
|
|
860
|
-
readonly link: boolean;
|
|
861
|
-
readonly circle: boolean;
|
|
862
|
-
readonly text: boolean;
|
|
863
|
-
readonly disabled: boolean;
|
|
864
|
-
readonly round: boolean;
|
|
865
|
-
readonly dark: boolean;
|
|
866
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
867
|
-
readonly bg: boolean;
|
|
868
|
-
readonly loading: boolean;
|
|
869
|
-
readonly autofocus: boolean;
|
|
870
|
-
readonly tag: unknown;
|
|
871
|
-
readonly plain: boolean;
|
|
872
|
-
readonly nativeType: "button" | "reset" | "submit";
|
|
873
|
-
readonly loadingIcon: unknown;
|
|
874
|
-
readonly autoInsertSpace: boolean;
|
|
875
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
876
|
-
$slots: {
|
|
877
|
-
loading?(_: {}): any;
|
|
878
|
-
icon?(_: {}): any;
|
|
879
|
-
default?(_: {}): any;
|
|
880
|
-
};
|
|
881
|
-
}) & import("vue").Plugin) & {
|
|
882
|
-
ButtonGroup: {
|
|
883
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
884
|
-
readonly size: {
|
|
885
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
886
|
-
readonly required: false;
|
|
887
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
888
|
-
__epPropKey: true;
|
|
889
|
-
};
|
|
890
|
-
readonly type: {
|
|
891
|
-
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
892
|
-
readonly required: false;
|
|
893
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
894
|
-
__epPropKey: true;
|
|
895
|
-
} & {
|
|
896
|
-
readonly default: "";
|
|
897
|
-
};
|
|
898
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
899
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
900
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
901
|
-
P: {};
|
|
902
|
-
B: {};
|
|
903
|
-
D: {};
|
|
904
|
-
C: {};
|
|
905
|
-
M: {};
|
|
906
|
-
Defaults: {};
|
|
907
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
908
|
-
readonly size: {
|
|
909
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
910
|
-
readonly required: false;
|
|
911
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
912
|
-
__epPropKey: true;
|
|
913
|
-
};
|
|
914
|
-
readonly type: {
|
|
915
|
-
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
916
|
-
readonly required: false;
|
|
917
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
918
|
-
__epPropKey: true;
|
|
919
|
-
} & {
|
|
920
|
-
readonly default: "";
|
|
921
|
-
};
|
|
922
|
-
}>>, {}, {}, {}, {}, {
|
|
923
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
924
|
-
}>;
|
|
925
|
-
__isFragment?: never;
|
|
926
|
-
__isTeleport?: never;
|
|
927
|
-
__isSuspense?: never;
|
|
928
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
929
|
-
readonly size: {
|
|
930
|
-
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
931
|
-
readonly required: false;
|
|
932
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
933
|
-
__epPropKey: true;
|
|
934
|
-
};
|
|
935
|
-
readonly type: {
|
|
936
|
-
readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
|
|
937
|
-
readonly required: false;
|
|
938
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
939
|
-
__epPropKey: true;
|
|
940
|
-
} & {
|
|
941
|
-
readonly default: "";
|
|
942
|
-
};
|
|
943
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
944
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
945
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
946
|
-
$slots: {
|
|
947
|
-
default?(_: {}): any;
|
|
948
|
-
};
|
|
949
|
-
});
|
|
950
|
-
};
|
|
951
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
210
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
952
211
|
export default _default;
|