tiddy 1.5.1 → 1.5.2
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/dist/index.d.ts +208 -208
- package/dist/index.js +10 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue313 from "vue";
|
|
2
2
|
import { AllowedComponentProps, CSSProperties, Component, ComputedRef, ExtractPublicPropTypes, PropType, Raw, Slot, Slots } from "vue";
|
|
3
|
-
import * as
|
|
3
|
+
import * as element_plus420 from "element-plus";
|
|
4
4
|
import { DialogInstance, FormInstance, FormItemProps, FormItemRule, FormProps, TableInstance, dialogProps } from "element-plus";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
5
|
+
import * as element_plus_es_components_table_src_table_defaults_mjs15 from "element-plus/es/components/table/src/table/defaults.mjs";
|
|
6
|
+
import * as element_plus_es_components_table_src_table_column_defaults_mjs16 from "element-plus/es/components/table/src/table-column/defaults.mjs";
|
|
7
|
+
import * as element_plus_es_utils_index_mjs41 from "element-plus/es/utils/index.mjs";
|
|
8
|
+
import * as element_plus_es_components_tooltip_index_mjs306 from "element-plus/es/components/tooltip/index.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/types.d.ts
|
|
11
11
|
type OrArray<T> = T | T[];
|
|
@@ -261,7 +261,7 @@ declare const formItemPropsDef: {
|
|
|
261
261
|
readonly default: "";
|
|
262
262
|
};
|
|
263
263
|
prop: {
|
|
264
|
-
readonly type: PropType<
|
|
264
|
+
readonly type: PropType<element_plus420.FormItemProp>;
|
|
265
265
|
readonly required: false;
|
|
266
266
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
267
267
|
__epPropKey: true;
|
|
@@ -323,24 +323,24 @@ type __VLS_Slots$3 = {} & {
|
|
|
323
323
|
} & {
|
|
324
324
|
suffix?: (props: typeof __VLS_18) => any;
|
|
325
325
|
};
|
|
326
|
-
declare const __VLS_component$3:
|
|
326
|
+
declare const __VLS_component$3: vue313.DefineComponent<vue313.ExtractPropTypes<{
|
|
327
327
|
fields: {
|
|
328
|
-
type:
|
|
328
|
+
type: vue313.PropType<TdFormFieldProps[]>;
|
|
329
329
|
default: () => never[];
|
|
330
330
|
};
|
|
331
331
|
item: {
|
|
332
|
-
type:
|
|
332
|
+
type: vue313.PropType<FormItemProps>;
|
|
333
333
|
default: () => {};
|
|
334
334
|
};
|
|
335
335
|
model: ObjectConstructor;
|
|
336
336
|
rules: {
|
|
337
|
-
readonly type:
|
|
337
|
+
readonly type: vue313.PropType<Partial<Record<string, element_plus420.FormItemRule | element_plus420.FormItemRule[]>>>;
|
|
338
338
|
readonly required: false;
|
|
339
339
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
340
|
__epPropKey: true;
|
|
341
341
|
};
|
|
342
342
|
labelPosition: {
|
|
343
|
-
readonly type:
|
|
343
|
+
readonly type: vue313.PropType<"top" | "left" | "right">;
|
|
344
344
|
readonly required: false;
|
|
345
345
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
346
|
__epPropKey: true;
|
|
@@ -348,7 +348,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
348
348
|
readonly default: "right";
|
|
349
349
|
};
|
|
350
350
|
requireAsteriskPosition: {
|
|
351
|
-
readonly type:
|
|
351
|
+
readonly type: vue313.PropType<"left" | "right">;
|
|
352
352
|
readonly required: false;
|
|
353
353
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
354
|
__epPropKey: true;
|
|
@@ -356,7 +356,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
356
356
|
readonly default: "left";
|
|
357
357
|
};
|
|
358
358
|
labelWidth: {
|
|
359
|
-
readonly type:
|
|
359
|
+
readonly type: vue313.PropType<string | number>;
|
|
360
360
|
readonly required: false;
|
|
361
361
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
362
362
|
__epPropKey: true;
|
|
@@ -364,7 +364,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
364
364
|
readonly default: "";
|
|
365
365
|
};
|
|
366
366
|
labelSuffix: {
|
|
367
|
-
readonly type:
|
|
367
|
+
readonly type: vue313.PropType<string>;
|
|
368
368
|
readonly required: false;
|
|
369
369
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
370
370
|
__epPropKey: true;
|
|
@@ -375,7 +375,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
375
375
|
inlineMessage: BooleanConstructor;
|
|
376
376
|
statusIcon: BooleanConstructor;
|
|
377
377
|
showMessage: {
|
|
378
|
-
readonly type:
|
|
378
|
+
readonly type: vue313.PropType<boolean>;
|
|
379
379
|
readonly required: false;
|
|
380
380
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
381
381
|
__epPropKey: true;
|
|
@@ -383,7 +383,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
383
383
|
readonly default: true;
|
|
384
384
|
};
|
|
385
385
|
validateOnRuleChange: {
|
|
386
|
-
readonly type:
|
|
386
|
+
readonly type: vue313.PropType<boolean>;
|
|
387
387
|
readonly required: false;
|
|
388
388
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
389
389
|
__epPropKey: true;
|
|
@@ -393,7 +393,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
393
393
|
hideRequiredAsterisk: BooleanConstructor;
|
|
394
394
|
scrollToError: BooleanConstructor;
|
|
395
395
|
scrollIntoViewOptions: {
|
|
396
|
-
readonly type:
|
|
396
|
+
readonly type: vue313.PropType<boolean | Record<string, any>>;
|
|
397
397
|
readonly required: false;
|
|
398
398
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
399
|
__epPropKey: true;
|
|
@@ -401,7 +401,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
401
401
|
readonly default: true;
|
|
402
402
|
};
|
|
403
403
|
size: {
|
|
404
|
-
readonly type:
|
|
404
|
+
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
405
405
|
readonly required: false;
|
|
406
406
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
407
|
__epPropKey: true;
|
|
@@ -409,28 +409,28 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
409
409
|
disabled: BooleanConstructor;
|
|
410
410
|
}>, {
|
|
411
411
|
reValidateErrorFields: typeof reValidateErrorFields;
|
|
412
|
-
model:
|
|
413
|
-
}, {}, {}, {},
|
|
412
|
+
model: vue313.ComputedRef<Record<string, any> | undefined>;
|
|
413
|
+
}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {
|
|
414
414
|
validate: () => any;
|
|
415
415
|
submit: (data: any) => any;
|
|
416
|
-
}, string,
|
|
416
|
+
}, string, vue313.PublicProps, Readonly<vue313.ExtractPropTypes<{
|
|
417
417
|
fields: {
|
|
418
|
-
type:
|
|
418
|
+
type: vue313.PropType<TdFormFieldProps[]>;
|
|
419
419
|
default: () => never[];
|
|
420
420
|
};
|
|
421
421
|
item: {
|
|
422
|
-
type:
|
|
422
|
+
type: vue313.PropType<FormItemProps>;
|
|
423
423
|
default: () => {};
|
|
424
424
|
};
|
|
425
425
|
model: ObjectConstructor;
|
|
426
426
|
rules: {
|
|
427
|
-
readonly type:
|
|
427
|
+
readonly type: vue313.PropType<Partial<Record<string, element_plus420.FormItemRule | element_plus420.FormItemRule[]>>>;
|
|
428
428
|
readonly required: false;
|
|
429
429
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
430
430
|
__epPropKey: true;
|
|
431
431
|
};
|
|
432
432
|
labelPosition: {
|
|
433
|
-
readonly type:
|
|
433
|
+
readonly type: vue313.PropType<"top" | "left" | "right">;
|
|
434
434
|
readonly required: false;
|
|
435
435
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
436
436
|
__epPropKey: true;
|
|
@@ -438,7 +438,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
438
438
|
readonly default: "right";
|
|
439
439
|
};
|
|
440
440
|
requireAsteriskPosition: {
|
|
441
|
-
readonly type:
|
|
441
|
+
readonly type: vue313.PropType<"left" | "right">;
|
|
442
442
|
readonly required: false;
|
|
443
443
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
444
444
|
__epPropKey: true;
|
|
@@ -446,7 +446,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
446
446
|
readonly default: "left";
|
|
447
447
|
};
|
|
448
448
|
labelWidth: {
|
|
449
|
-
readonly type:
|
|
449
|
+
readonly type: vue313.PropType<string | number>;
|
|
450
450
|
readonly required: false;
|
|
451
451
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
452
452
|
__epPropKey: true;
|
|
@@ -454,7 +454,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
454
454
|
readonly default: "";
|
|
455
455
|
};
|
|
456
456
|
labelSuffix: {
|
|
457
|
-
readonly type:
|
|
457
|
+
readonly type: vue313.PropType<string>;
|
|
458
458
|
readonly required: false;
|
|
459
459
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
460
460
|
__epPropKey: true;
|
|
@@ -465,7 +465,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
465
465
|
inlineMessage: BooleanConstructor;
|
|
466
466
|
statusIcon: BooleanConstructor;
|
|
467
467
|
showMessage: {
|
|
468
|
-
readonly type:
|
|
468
|
+
readonly type: vue313.PropType<boolean>;
|
|
469
469
|
readonly required: false;
|
|
470
470
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
471
|
__epPropKey: true;
|
|
@@ -473,7 +473,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
473
473
|
readonly default: true;
|
|
474
474
|
};
|
|
475
475
|
validateOnRuleChange: {
|
|
476
|
-
readonly type:
|
|
476
|
+
readonly type: vue313.PropType<boolean>;
|
|
477
477
|
readonly required: false;
|
|
478
478
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
479
479
|
__epPropKey: true;
|
|
@@ -483,7 +483,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
483
483
|
hideRequiredAsterisk: BooleanConstructor;
|
|
484
484
|
scrollToError: BooleanConstructor;
|
|
485
485
|
scrollIntoViewOptions: {
|
|
486
|
-
readonly type:
|
|
486
|
+
readonly type: vue313.PropType<boolean | Record<string, any>>;
|
|
487
487
|
readonly required: false;
|
|
488
488
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
489
489
|
__epPropKey: true;
|
|
@@ -491,7 +491,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
491
491
|
readonly default: true;
|
|
492
492
|
};
|
|
493
493
|
size: {
|
|
494
|
-
readonly type:
|
|
494
|
+
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
495
495
|
readonly required: false;
|
|
496
496
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
497
497
|
__epPropKey: true;
|
|
@@ -516,7 +516,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
516
516
|
validateOnRuleChange: boolean;
|
|
517
517
|
scrollToError: boolean;
|
|
518
518
|
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
519
|
-
}, {}, {}, {}, string,
|
|
519
|
+
}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
520
520
|
declare const _default$1: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
|
|
521
521
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
522
522
|
new (): {
|
|
@@ -527,22 +527,22 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
527
527
|
//#region src/form/form-item.vue.d.ts
|
|
528
528
|
declare var __VLS_8: string | number, __VLS_9: any;
|
|
529
529
|
type __VLS_Slots$2 = {} & { [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any };
|
|
530
|
-
declare const __VLS_component$2:
|
|
530
|
+
declare const __VLS_component$2: vue313.DefineComponent<vue313.ExtractPropTypes<{
|
|
531
531
|
messageLabel: {
|
|
532
|
-
type:
|
|
532
|
+
type: vue313.PropType<string | vue313.ComputedRef<string>>;
|
|
533
533
|
default: string;
|
|
534
534
|
};
|
|
535
535
|
formatMessage: {
|
|
536
|
-
type:
|
|
536
|
+
type: vue313.PropType<AnyFunction>;
|
|
537
537
|
default: null;
|
|
538
538
|
};
|
|
539
539
|
hideRequiredAsterisk: {
|
|
540
|
-
type:
|
|
540
|
+
type: vue313.PropType<boolean>;
|
|
541
541
|
default: boolean;
|
|
542
542
|
};
|
|
543
543
|
label: StringConstructor;
|
|
544
544
|
labelWidth: {
|
|
545
|
-
readonly type:
|
|
545
|
+
readonly type: vue313.PropType<string | number>;
|
|
546
546
|
readonly required: false;
|
|
547
547
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
548
548
|
__epPropKey: true;
|
|
@@ -550,7 +550,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
550
550
|
readonly default: "";
|
|
551
551
|
};
|
|
552
552
|
labelPosition: {
|
|
553
|
-
readonly type:
|
|
553
|
+
readonly type: vue313.PropType<"" | "top" | "left" | "right">;
|
|
554
554
|
readonly required: false;
|
|
555
555
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
556
556
|
__epPropKey: true;
|
|
@@ -558,13 +558,13 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
558
558
|
readonly default: "";
|
|
559
559
|
};
|
|
560
560
|
prop: {
|
|
561
|
-
readonly type:
|
|
561
|
+
readonly type: vue313.PropType<element_plus420.FormItemProp>;
|
|
562
562
|
readonly required: false;
|
|
563
563
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
564
564
|
__epPropKey: true;
|
|
565
565
|
};
|
|
566
566
|
required: {
|
|
567
|
-
readonly type:
|
|
567
|
+
readonly type: vue313.PropType<boolean>;
|
|
568
568
|
readonly required: false;
|
|
569
569
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
570
570
|
__epPropKey: true;
|
|
@@ -572,21 +572,21 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
572
572
|
readonly default: undefined;
|
|
573
573
|
};
|
|
574
574
|
rules: {
|
|
575
|
-
readonly type:
|
|
575
|
+
readonly type: vue313.PropType<element_plus420.FormItemRule | element_plus420.FormItemRule[]>;
|
|
576
576
|
readonly required: false;
|
|
577
577
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
578
578
|
__epPropKey: true;
|
|
579
579
|
};
|
|
580
580
|
error: StringConstructor;
|
|
581
581
|
validateStatus: {
|
|
582
|
-
readonly type:
|
|
582
|
+
readonly type: vue313.PropType<"" | "error" | "success" | "validating">;
|
|
583
583
|
readonly required: false;
|
|
584
584
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
585
585
|
__epPropKey: true;
|
|
586
586
|
};
|
|
587
587
|
for: StringConstructor;
|
|
588
588
|
inlineMessage: {
|
|
589
|
-
readonly type:
|
|
589
|
+
readonly type: vue313.PropType<string | boolean>;
|
|
590
590
|
readonly required: false;
|
|
591
591
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
592
592
|
__epPropKey: true;
|
|
@@ -594,7 +594,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
594
594
|
readonly default: "";
|
|
595
595
|
};
|
|
596
596
|
showMessage: {
|
|
597
|
-
readonly type:
|
|
597
|
+
readonly type: vue313.PropType<boolean>;
|
|
598
598
|
readonly required: false;
|
|
599
599
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
600
600
|
__epPropKey: true;
|
|
@@ -602,27 +602,27 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
602
602
|
readonly default: true;
|
|
603
603
|
};
|
|
604
604
|
size: {
|
|
605
|
-
readonly type:
|
|
605
|
+
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
606
606
|
readonly required: false;
|
|
607
607
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
608
608
|
__epPropKey: true;
|
|
609
609
|
};
|
|
610
|
-
}>, {}, {}, {}, {},
|
|
610
|
+
}>, {}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<vue313.ExtractPropTypes<{
|
|
611
611
|
messageLabel: {
|
|
612
|
-
type:
|
|
612
|
+
type: vue313.PropType<string | vue313.ComputedRef<string>>;
|
|
613
613
|
default: string;
|
|
614
614
|
};
|
|
615
615
|
formatMessage: {
|
|
616
|
-
type:
|
|
616
|
+
type: vue313.PropType<AnyFunction>;
|
|
617
617
|
default: null;
|
|
618
618
|
};
|
|
619
619
|
hideRequiredAsterisk: {
|
|
620
|
-
type:
|
|
620
|
+
type: vue313.PropType<boolean>;
|
|
621
621
|
default: boolean;
|
|
622
622
|
};
|
|
623
623
|
label: StringConstructor;
|
|
624
624
|
labelWidth: {
|
|
625
|
-
readonly type:
|
|
625
|
+
readonly type: vue313.PropType<string | number>;
|
|
626
626
|
readonly required: false;
|
|
627
627
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
628
628
|
__epPropKey: true;
|
|
@@ -630,7 +630,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
630
630
|
readonly default: "";
|
|
631
631
|
};
|
|
632
632
|
labelPosition: {
|
|
633
|
-
readonly type:
|
|
633
|
+
readonly type: vue313.PropType<"" | "top" | "left" | "right">;
|
|
634
634
|
readonly required: false;
|
|
635
635
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
636
636
|
__epPropKey: true;
|
|
@@ -638,13 +638,13 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
638
638
|
readonly default: "";
|
|
639
639
|
};
|
|
640
640
|
prop: {
|
|
641
|
-
readonly type:
|
|
641
|
+
readonly type: vue313.PropType<element_plus420.FormItemProp>;
|
|
642
642
|
readonly required: false;
|
|
643
643
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
644
644
|
__epPropKey: true;
|
|
645
645
|
};
|
|
646
646
|
required: {
|
|
647
|
-
readonly type:
|
|
647
|
+
readonly type: vue313.PropType<boolean>;
|
|
648
648
|
readonly required: false;
|
|
649
649
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
650
650
|
__epPropKey: true;
|
|
@@ -652,21 +652,21 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
652
652
|
readonly default: undefined;
|
|
653
653
|
};
|
|
654
654
|
rules: {
|
|
655
|
-
readonly type:
|
|
655
|
+
readonly type: vue313.PropType<element_plus420.FormItemRule | element_plus420.FormItemRule[]>;
|
|
656
656
|
readonly required: false;
|
|
657
657
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
658
658
|
__epPropKey: true;
|
|
659
659
|
};
|
|
660
660
|
error: StringConstructor;
|
|
661
661
|
validateStatus: {
|
|
662
|
-
readonly type:
|
|
662
|
+
readonly type: vue313.PropType<"" | "error" | "success" | "validating">;
|
|
663
663
|
readonly required: false;
|
|
664
664
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
665
665
|
__epPropKey: true;
|
|
666
666
|
};
|
|
667
667
|
for: StringConstructor;
|
|
668
668
|
inlineMessage: {
|
|
669
|
-
readonly type:
|
|
669
|
+
readonly type: vue313.PropType<string | boolean>;
|
|
670
670
|
readonly required: false;
|
|
671
671
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
672
672
|
__epPropKey: true;
|
|
@@ -674,7 +674,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
674
674
|
readonly default: "";
|
|
675
675
|
};
|
|
676
676
|
showMessage: {
|
|
677
|
-
readonly type:
|
|
677
|
+
readonly type: vue313.PropType<boolean>;
|
|
678
678
|
readonly required: false;
|
|
679
679
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
680
680
|
__epPropKey: true;
|
|
@@ -682,7 +682,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
682
682
|
readonly default: true;
|
|
683
683
|
};
|
|
684
684
|
size: {
|
|
685
|
-
readonly type:
|
|
685
|
+
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
686
686
|
readonly required: false;
|
|
687
687
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
688
688
|
__epPropKey: true;
|
|
@@ -691,12 +691,12 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
691
691
|
required: boolean;
|
|
692
692
|
labelWidth: string | number;
|
|
693
693
|
labelPosition: "" | "top" | "left" | "right";
|
|
694
|
-
messageLabel: string |
|
|
694
|
+
messageLabel: string | vue313.ComputedRef<string>;
|
|
695
695
|
formatMessage: AnyFunction;
|
|
696
696
|
hideRequiredAsterisk: boolean;
|
|
697
697
|
inlineMessage: string | boolean;
|
|
698
698
|
showMessage: boolean;
|
|
699
|
-
}, {}, {}, {}, string,
|
|
699
|
+
}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
700
700
|
declare const _default$3: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
|
|
701
701
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
702
702
|
new (): {
|
|
@@ -705,7 +705,7 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
705
705
|
};
|
|
706
706
|
//#endregion
|
|
707
707
|
//#region src/form/form-field.vue.d.ts
|
|
708
|
-
declare const _default$2:
|
|
708
|
+
declare const _default$2: vue313.DefineComponent<{}, {}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
709
709
|
//#endregion
|
|
710
710
|
//#region src/form/index.d.ts
|
|
711
711
|
type Instance$2 = InstanceType<typeof _default$1>;
|
|
@@ -731,13 +731,13 @@ declare const tableColumnPropsDef: {
|
|
|
731
731
|
type: (NumberConstructor | StringConstructor)[];
|
|
732
732
|
default: string;
|
|
733
733
|
};
|
|
734
|
-
renderHeader: PropType<
|
|
734
|
+
renderHeader: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["renderHeader"]>;
|
|
735
735
|
sortable: {
|
|
736
736
|
type: (StringConstructor | BooleanConstructor)[];
|
|
737
737
|
default: boolean;
|
|
738
738
|
};
|
|
739
|
-
sortMethod: PropType<
|
|
740
|
-
sortBy: PropType<
|
|
739
|
+
sortMethod: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortMethod"]>;
|
|
740
|
+
sortBy: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortBy"]>;
|
|
741
741
|
resizable: {
|
|
742
742
|
type: BooleanConstructor;
|
|
743
743
|
default: boolean;
|
|
@@ -746,28 +746,28 @@ declare const tableColumnPropsDef: {
|
|
|
746
746
|
align: StringConstructor;
|
|
747
747
|
headerAlign: StringConstructor;
|
|
748
748
|
showOverflowTooltip: {
|
|
749
|
-
type: PropType<
|
|
749
|
+
type: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
750
750
|
default: undefined;
|
|
751
751
|
};
|
|
752
|
-
tooltipFormatter: PropType<
|
|
752
|
+
tooltipFormatter: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
753
753
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
754
|
-
formatter: PropType<
|
|
755
|
-
selectable: PropType<
|
|
754
|
+
formatter: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["formatter"]>;
|
|
755
|
+
selectable: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["selectable"]>;
|
|
756
756
|
reserveSelection: BooleanConstructor;
|
|
757
|
-
filterMethod: PropType<
|
|
758
|
-
filteredValue: PropType<
|
|
759
|
-
filters: PropType<
|
|
757
|
+
filterMethod: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filterMethod"]>;
|
|
758
|
+
filteredValue: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filteredValue"]>;
|
|
759
|
+
filters: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filters"]>;
|
|
760
760
|
filterPlacement: StringConstructor;
|
|
761
761
|
filterMultiple: {
|
|
762
762
|
type: BooleanConstructor;
|
|
763
763
|
default: boolean;
|
|
764
764
|
};
|
|
765
765
|
filterClassName: StringConstructor;
|
|
766
|
-
index: PropType<
|
|
766
|
+
index: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["index"]>;
|
|
767
767
|
sortOrders: {
|
|
768
|
-
type: PropType<
|
|
768
|
+
type: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortOrders"]>;
|
|
769
769
|
default: () => (string | null)[];
|
|
770
|
-
validator: (val:
|
|
770
|
+
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
771
771
|
};
|
|
772
772
|
slots: {
|
|
773
773
|
type: PropType<OrArray<SlotDef>>;
|
|
@@ -788,11 +788,11 @@ type ColumnsType = {
|
|
|
788
788
|
type TdTableColumnProps = ColumnsType & ExtractPublicPropTypes<Omit<typeof tableColumnPropsDef, "columns">>;
|
|
789
789
|
declare const tablePropsDef: {
|
|
790
790
|
data: {
|
|
791
|
-
type: PropType<
|
|
791
|
+
type: PropType<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow[]>;
|
|
792
792
|
default: () => never[];
|
|
793
793
|
};
|
|
794
794
|
size: {
|
|
795
|
-
readonly type: PropType<
|
|
795
|
+
readonly type: PropType<element_plus_es_utils_index_mjs41.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
796
796
|
readonly required: false;
|
|
797
797
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
798
798
|
__epPropKey: true;
|
|
@@ -806,31 +806,31 @@ declare const tablePropsDef: {
|
|
|
806
806
|
};
|
|
807
807
|
stripe: BooleanConstructor;
|
|
808
808
|
border: BooleanConstructor;
|
|
809
|
-
rowKey: PropType<
|
|
809
|
+
rowKey: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowKey"]>;
|
|
810
810
|
showHeader: {
|
|
811
811
|
type: BooleanConstructor;
|
|
812
812
|
default: boolean;
|
|
813
813
|
};
|
|
814
814
|
showSummary: BooleanConstructor;
|
|
815
815
|
sumText: StringConstructor;
|
|
816
|
-
summaryMethod: PropType<
|
|
817
|
-
rowClassName: PropType<
|
|
818
|
-
rowStyle: PropType<
|
|
819
|
-
cellClassName: PropType<
|
|
820
|
-
cellStyle: PropType<
|
|
821
|
-
headerRowClassName: PropType<
|
|
822
|
-
headerRowStyle: PropType<
|
|
823
|
-
headerCellClassName: PropType<
|
|
824
|
-
headerCellStyle: PropType<
|
|
816
|
+
summaryMethod: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["summaryMethod"]>;
|
|
817
|
+
rowClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowClassName"]>;
|
|
818
|
+
rowStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowStyle"]>;
|
|
819
|
+
cellClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellClassName"]>;
|
|
820
|
+
cellStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellStyle"]>;
|
|
821
|
+
headerRowClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowClassName"]>;
|
|
822
|
+
headerRowStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowStyle"]>;
|
|
823
|
+
headerCellClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellClassName"]>;
|
|
824
|
+
headerCellStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellStyle"]>;
|
|
825
825
|
highlightCurrentRow: BooleanConstructor;
|
|
826
826
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
827
827
|
emptyText: StringConstructor;
|
|
828
|
-
expandRowKeys: PropType<
|
|
828
|
+
expandRowKeys: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["expandRowKeys"]>;
|
|
829
829
|
defaultExpandAll: BooleanConstructor;
|
|
830
|
-
defaultSort: PropType<
|
|
830
|
+
defaultSort: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["defaultSort"]>;
|
|
831
831
|
tooltipEffect: StringConstructor;
|
|
832
|
-
tooltipOptions: PropType<
|
|
833
|
-
spanMethod: PropType<
|
|
832
|
+
tooltipOptions: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipOptions"]>;
|
|
833
|
+
spanMethod: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["spanMethod"]>;
|
|
834
834
|
selectOnIndeterminate: {
|
|
835
835
|
type: BooleanConstructor;
|
|
836
836
|
default: boolean;
|
|
@@ -840,7 +840,7 @@ declare const tablePropsDef: {
|
|
|
840
840
|
default: number;
|
|
841
841
|
};
|
|
842
842
|
treeProps: {
|
|
843
|
-
type: PropType<
|
|
843
|
+
type: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["treeProps"]>;
|
|
844
844
|
default: () => {
|
|
845
845
|
hasChildren: string;
|
|
846
846
|
children: string;
|
|
@@ -848,9 +848,9 @@ declare const tablePropsDef: {
|
|
|
848
848
|
};
|
|
849
849
|
};
|
|
850
850
|
lazy: BooleanConstructor;
|
|
851
|
-
load: PropType<
|
|
851
|
+
load: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["load"]>;
|
|
852
852
|
style: {
|
|
853
|
-
type: PropType<
|
|
853
|
+
type: PropType<vue313.CSSProperties>;
|
|
854
854
|
default: () => {};
|
|
855
855
|
};
|
|
856
856
|
className: {
|
|
@@ -863,8 +863,8 @@ declare const tablePropsDef: {
|
|
|
863
863
|
};
|
|
864
864
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
865
865
|
flexible: BooleanConstructor;
|
|
866
|
-
showOverflowTooltip: PropType<
|
|
867
|
-
tooltipFormatter: PropType<
|
|
866
|
+
showOverflowTooltip: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
867
|
+
tooltipFormatter: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
868
868
|
appendFilterPanelTo: StringConstructor;
|
|
869
869
|
scrollbarTabindex: {
|
|
870
870
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -892,13 +892,13 @@ type __VLS_Slots$1 = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof
|
|
|
892
892
|
} & {
|
|
893
893
|
after?: (props: typeof __VLS_16) => any;
|
|
894
894
|
};
|
|
895
|
-
declare const __VLS_component$1:
|
|
895
|
+
declare const __VLS_component$1: vue313.DefineComponent<vue313.ExtractPropTypes<{
|
|
896
896
|
data: {
|
|
897
|
-
type:
|
|
897
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow[]>;
|
|
898
898
|
default: () => never[];
|
|
899
899
|
};
|
|
900
900
|
size: {
|
|
901
|
-
readonly type:
|
|
901
|
+
readonly type: vue313.PropType<element_plus_es_utils_index_mjs41.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
902
902
|
readonly required: false;
|
|
903
903
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
904
904
|
__epPropKey: true;
|
|
@@ -912,31 +912,31 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
912
912
|
};
|
|
913
913
|
stripe: BooleanConstructor;
|
|
914
914
|
border: BooleanConstructor;
|
|
915
|
-
rowKey:
|
|
915
|
+
rowKey: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowKey"]>;
|
|
916
916
|
showHeader: {
|
|
917
917
|
type: BooleanConstructor;
|
|
918
918
|
default: boolean;
|
|
919
919
|
};
|
|
920
920
|
showSummary: BooleanConstructor;
|
|
921
921
|
sumText: StringConstructor;
|
|
922
|
-
summaryMethod:
|
|
923
|
-
rowClassName:
|
|
924
|
-
rowStyle:
|
|
925
|
-
cellClassName:
|
|
926
|
-
cellStyle:
|
|
927
|
-
headerRowClassName:
|
|
928
|
-
headerRowStyle:
|
|
929
|
-
headerCellClassName:
|
|
930
|
-
headerCellStyle:
|
|
922
|
+
summaryMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["summaryMethod"]>;
|
|
923
|
+
rowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowClassName"]>;
|
|
924
|
+
rowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowStyle"]>;
|
|
925
|
+
cellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellClassName"]>;
|
|
926
|
+
cellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellStyle"]>;
|
|
927
|
+
headerRowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowClassName"]>;
|
|
928
|
+
headerRowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowStyle"]>;
|
|
929
|
+
headerCellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellClassName"]>;
|
|
930
|
+
headerCellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellStyle"]>;
|
|
931
931
|
highlightCurrentRow: BooleanConstructor;
|
|
932
932
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
933
933
|
emptyText: StringConstructor;
|
|
934
|
-
expandRowKeys:
|
|
934
|
+
expandRowKeys: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["expandRowKeys"]>;
|
|
935
935
|
defaultExpandAll: BooleanConstructor;
|
|
936
|
-
defaultSort:
|
|
936
|
+
defaultSort: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["defaultSort"]>;
|
|
937
937
|
tooltipEffect: StringConstructor;
|
|
938
|
-
tooltipOptions:
|
|
939
|
-
spanMethod:
|
|
938
|
+
tooltipOptions: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipOptions"]>;
|
|
939
|
+
spanMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["spanMethod"]>;
|
|
940
940
|
selectOnIndeterminate: {
|
|
941
941
|
type: BooleanConstructor;
|
|
942
942
|
default: boolean;
|
|
@@ -946,7 +946,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
946
946
|
default: number;
|
|
947
947
|
};
|
|
948
948
|
treeProps: {
|
|
949
|
-
type:
|
|
949
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["treeProps"]>;
|
|
950
950
|
default: () => {
|
|
951
951
|
hasChildren: string;
|
|
952
952
|
children: string;
|
|
@@ -954,9 +954,9 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
954
954
|
};
|
|
955
955
|
};
|
|
956
956
|
lazy: BooleanConstructor;
|
|
957
|
-
load:
|
|
957
|
+
load: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["load"]>;
|
|
958
958
|
style: {
|
|
959
|
-
type:
|
|
959
|
+
type: vue313.PropType<vue313.CSSProperties>;
|
|
960
960
|
default: () => {};
|
|
961
961
|
};
|
|
962
962
|
className: {
|
|
@@ -964,13 +964,13 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
964
964
|
default: string;
|
|
965
965
|
};
|
|
966
966
|
tableLayout: {
|
|
967
|
-
type:
|
|
967
|
+
type: vue313.PropType<"fixed" | "auto">;
|
|
968
968
|
default: string;
|
|
969
969
|
};
|
|
970
970
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
971
971
|
flexible: BooleanConstructor;
|
|
972
|
-
showOverflowTooltip:
|
|
973
|
-
tooltipFormatter:
|
|
972
|
+
showOverflowTooltip: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
973
|
+
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
974
974
|
appendFilterPanelTo: StringConstructor;
|
|
975
975
|
scrollbarTabindex: {
|
|
976
976
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -985,16 +985,16 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
985
985
|
default: boolean;
|
|
986
986
|
};
|
|
987
987
|
columns: {
|
|
988
|
-
type:
|
|
988
|
+
type: vue313.PropType<TdTableColumnProps[]>;
|
|
989
989
|
default: () => never[];
|
|
990
990
|
};
|
|
991
|
-
}>, {}, {}, {}, {},
|
|
991
|
+
}>, {}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<vue313.ExtractPropTypes<{
|
|
992
992
|
data: {
|
|
993
|
-
type:
|
|
993
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow[]>;
|
|
994
994
|
default: () => never[];
|
|
995
995
|
};
|
|
996
996
|
size: {
|
|
997
|
-
readonly type:
|
|
997
|
+
readonly type: vue313.PropType<element_plus_es_utils_index_mjs41.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
998
998
|
readonly required: false;
|
|
999
999
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1000
1000
|
__epPropKey: true;
|
|
@@ -1008,31 +1008,31 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1008
1008
|
};
|
|
1009
1009
|
stripe: BooleanConstructor;
|
|
1010
1010
|
border: BooleanConstructor;
|
|
1011
|
-
rowKey:
|
|
1011
|
+
rowKey: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowKey"]>;
|
|
1012
1012
|
showHeader: {
|
|
1013
1013
|
type: BooleanConstructor;
|
|
1014
1014
|
default: boolean;
|
|
1015
1015
|
};
|
|
1016
1016
|
showSummary: BooleanConstructor;
|
|
1017
1017
|
sumText: StringConstructor;
|
|
1018
|
-
summaryMethod:
|
|
1019
|
-
rowClassName:
|
|
1020
|
-
rowStyle:
|
|
1021
|
-
cellClassName:
|
|
1022
|
-
cellStyle:
|
|
1023
|
-
headerRowClassName:
|
|
1024
|
-
headerRowStyle:
|
|
1025
|
-
headerCellClassName:
|
|
1026
|
-
headerCellStyle:
|
|
1018
|
+
summaryMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["summaryMethod"]>;
|
|
1019
|
+
rowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowClassName"]>;
|
|
1020
|
+
rowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowStyle"]>;
|
|
1021
|
+
cellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellClassName"]>;
|
|
1022
|
+
cellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellStyle"]>;
|
|
1023
|
+
headerRowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowClassName"]>;
|
|
1024
|
+
headerRowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowStyle"]>;
|
|
1025
|
+
headerCellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellClassName"]>;
|
|
1026
|
+
headerCellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellStyle"]>;
|
|
1027
1027
|
highlightCurrentRow: BooleanConstructor;
|
|
1028
1028
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
1029
1029
|
emptyText: StringConstructor;
|
|
1030
|
-
expandRowKeys:
|
|
1030
|
+
expandRowKeys: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["expandRowKeys"]>;
|
|
1031
1031
|
defaultExpandAll: BooleanConstructor;
|
|
1032
|
-
defaultSort:
|
|
1032
|
+
defaultSort: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["defaultSort"]>;
|
|
1033
1033
|
tooltipEffect: StringConstructor;
|
|
1034
|
-
tooltipOptions:
|
|
1035
|
-
spanMethod:
|
|
1034
|
+
tooltipOptions: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipOptions"]>;
|
|
1035
|
+
spanMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["spanMethod"]>;
|
|
1036
1036
|
selectOnIndeterminate: {
|
|
1037
1037
|
type: BooleanConstructor;
|
|
1038
1038
|
default: boolean;
|
|
@@ -1042,7 +1042,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1042
1042
|
default: number;
|
|
1043
1043
|
};
|
|
1044
1044
|
treeProps: {
|
|
1045
|
-
type:
|
|
1045
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["treeProps"]>;
|
|
1046
1046
|
default: () => {
|
|
1047
1047
|
hasChildren: string;
|
|
1048
1048
|
children: string;
|
|
@@ -1050,9 +1050,9 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1050
1050
|
};
|
|
1051
1051
|
};
|
|
1052
1052
|
lazy: BooleanConstructor;
|
|
1053
|
-
load:
|
|
1053
|
+
load: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["load"]>;
|
|
1054
1054
|
style: {
|
|
1055
|
-
type:
|
|
1055
|
+
type: vue313.PropType<vue313.CSSProperties>;
|
|
1056
1056
|
default: () => {};
|
|
1057
1057
|
};
|
|
1058
1058
|
className: {
|
|
@@ -1060,13 +1060,13 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1060
1060
|
default: string;
|
|
1061
1061
|
};
|
|
1062
1062
|
tableLayout: {
|
|
1063
|
-
type:
|
|
1063
|
+
type: vue313.PropType<"fixed" | "auto">;
|
|
1064
1064
|
default: string;
|
|
1065
1065
|
};
|
|
1066
1066
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
1067
1067
|
flexible: BooleanConstructor;
|
|
1068
|
-
showOverflowTooltip:
|
|
1069
|
-
tooltipFormatter:
|
|
1068
|
+
showOverflowTooltip: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
1069
|
+
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
1070
1070
|
appendFilterPanelTo: StringConstructor;
|
|
1071
1071
|
scrollbarTabindex: {
|
|
1072
1072
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1081,13 +1081,14 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1081
1081
|
default: boolean;
|
|
1082
1082
|
};
|
|
1083
1083
|
columns: {
|
|
1084
|
-
type:
|
|
1084
|
+
type: vue313.PropType<TdTableColumnProps[]>;
|
|
1085
1085
|
default: () => never[];
|
|
1086
1086
|
};
|
|
1087
1087
|
}>> & Readonly<{}>, {
|
|
1088
|
-
style:
|
|
1089
|
-
columns: TdTableColumnProps[];
|
|
1088
|
+
style: vue313.CSSProperties;
|
|
1090
1089
|
className: string;
|
|
1090
|
+
columns: TdTableColumnProps[];
|
|
1091
|
+
treeProps: element_plus_es_components_table_src_table_defaults_mjs15.TreeProps | undefined;
|
|
1091
1092
|
data: any[];
|
|
1092
1093
|
fit: boolean;
|
|
1093
1094
|
stripe: boolean;
|
|
@@ -1098,7 +1099,6 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1098
1099
|
defaultExpandAll: boolean;
|
|
1099
1100
|
selectOnIndeterminate: boolean;
|
|
1100
1101
|
indent: number;
|
|
1101
|
-
treeProps: element_plus_es_components_table_src_table_defaults_mjs308.TreeProps | undefined;
|
|
1102
1102
|
lazy: boolean;
|
|
1103
1103
|
tableLayout: "fixed" | "auto";
|
|
1104
1104
|
scrollbarAlwaysOn: boolean;
|
|
@@ -1106,7 +1106,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1106
1106
|
scrollbarTabindex: string | number;
|
|
1107
1107
|
allowDragLastColumn: boolean;
|
|
1108
1108
|
preserveExpandedContent: boolean;
|
|
1109
|
-
}, {}, {}, {}, string,
|
|
1109
|
+
}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
1110
1110
|
declare const _default$4: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
1111
1111
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1112
1112
|
new (): {
|
|
@@ -1115,7 +1115,7 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
1115
1115
|
};
|
|
1116
1116
|
//#endregion
|
|
1117
1117
|
//#region src/table/table-col.vue.d.ts
|
|
1118
|
-
declare const _default$5:
|
|
1118
|
+
declare const _default$5: vue313.DefineComponent<vue313.ExtractPropTypes<{
|
|
1119
1119
|
type: {
|
|
1120
1120
|
type: StringConstructor;
|
|
1121
1121
|
default: string;
|
|
@@ -1133,13 +1133,13 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1133
1133
|
type: (NumberConstructor | StringConstructor)[];
|
|
1134
1134
|
default: string;
|
|
1135
1135
|
};
|
|
1136
|
-
renderHeader:
|
|
1136
|
+
renderHeader: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["renderHeader"]>;
|
|
1137
1137
|
sortable: {
|
|
1138
1138
|
type: (StringConstructor | BooleanConstructor)[];
|
|
1139
1139
|
default: boolean;
|
|
1140
1140
|
};
|
|
1141
|
-
sortMethod:
|
|
1142
|
-
sortBy:
|
|
1141
|
+
sortMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortMethod"]>;
|
|
1142
|
+
sortBy: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortBy"]>;
|
|
1143
1143
|
resizable: {
|
|
1144
1144
|
type: BooleanConstructor;
|
|
1145
1145
|
default: boolean;
|
|
@@ -1148,42 +1148,42 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1148
1148
|
align: StringConstructor;
|
|
1149
1149
|
headerAlign: StringConstructor;
|
|
1150
1150
|
showOverflowTooltip: {
|
|
1151
|
-
type:
|
|
1151
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
1152
1152
|
default: undefined;
|
|
1153
1153
|
};
|
|
1154
|
-
tooltipFormatter:
|
|
1154
|
+
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
1155
1155
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
1156
|
-
formatter:
|
|
1157
|
-
selectable:
|
|
1156
|
+
formatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["formatter"]>;
|
|
1157
|
+
selectable: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["selectable"]>;
|
|
1158
1158
|
reserveSelection: BooleanConstructor;
|
|
1159
|
-
filterMethod:
|
|
1160
|
-
filteredValue:
|
|
1161
|
-
filters:
|
|
1159
|
+
filterMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filterMethod"]>;
|
|
1160
|
+
filteredValue: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filteredValue"]>;
|
|
1161
|
+
filters: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filters"]>;
|
|
1162
1162
|
filterPlacement: StringConstructor;
|
|
1163
1163
|
filterMultiple: {
|
|
1164
1164
|
type: BooleanConstructor;
|
|
1165
1165
|
default: boolean;
|
|
1166
1166
|
};
|
|
1167
1167
|
filterClassName: StringConstructor;
|
|
1168
|
-
index:
|
|
1168
|
+
index: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["index"]>;
|
|
1169
1169
|
sortOrders: {
|
|
1170
|
-
type:
|
|
1170
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortOrders"]>;
|
|
1171
1171
|
default: () => (string | null)[];
|
|
1172
|
-
validator: (val:
|
|
1172
|
+
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
1173
1173
|
};
|
|
1174
1174
|
slots: {
|
|
1175
|
-
type:
|
|
1175
|
+
type: vue313.PropType<OrArray<SlotDef>>;
|
|
1176
1176
|
default: () => null;
|
|
1177
1177
|
};
|
|
1178
1178
|
columns: {
|
|
1179
|
-
type:
|
|
1179
|
+
type: vue313.PropType<any[]>;
|
|
1180
1180
|
default: () => never[];
|
|
1181
1181
|
};
|
|
1182
1182
|
transform: {
|
|
1183
|
-
type:
|
|
1183
|
+
type: vue313.PropType<AnyFunction[]>;
|
|
1184
1184
|
default: () => never[];
|
|
1185
1185
|
};
|
|
1186
|
-
}>, {}, {}, {}, {},
|
|
1186
|
+
}>, {}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<vue313.ExtractPropTypes<{
|
|
1187
1187
|
type: {
|
|
1188
1188
|
type: StringConstructor;
|
|
1189
1189
|
default: string;
|
|
@@ -1201,13 +1201,13 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1201
1201
|
type: (NumberConstructor | StringConstructor)[];
|
|
1202
1202
|
default: string;
|
|
1203
1203
|
};
|
|
1204
|
-
renderHeader:
|
|
1204
|
+
renderHeader: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["renderHeader"]>;
|
|
1205
1205
|
sortable: {
|
|
1206
1206
|
type: (StringConstructor | BooleanConstructor)[];
|
|
1207
1207
|
default: boolean;
|
|
1208
1208
|
};
|
|
1209
|
-
sortMethod:
|
|
1210
|
-
sortBy:
|
|
1209
|
+
sortMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortMethod"]>;
|
|
1210
|
+
sortBy: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortBy"]>;
|
|
1211
1211
|
resizable: {
|
|
1212
1212
|
type: BooleanConstructor;
|
|
1213
1213
|
default: boolean;
|
|
@@ -1216,55 +1216,55 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1216
1216
|
align: StringConstructor;
|
|
1217
1217
|
headerAlign: StringConstructor;
|
|
1218
1218
|
showOverflowTooltip: {
|
|
1219
|
-
type:
|
|
1219
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
1220
1220
|
default: undefined;
|
|
1221
1221
|
};
|
|
1222
|
-
tooltipFormatter:
|
|
1222
|
+
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
1223
1223
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
1224
|
-
formatter:
|
|
1225
|
-
selectable:
|
|
1224
|
+
formatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["formatter"]>;
|
|
1225
|
+
selectable: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["selectable"]>;
|
|
1226
1226
|
reserveSelection: BooleanConstructor;
|
|
1227
|
-
filterMethod:
|
|
1228
|
-
filteredValue:
|
|
1229
|
-
filters:
|
|
1227
|
+
filterMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filterMethod"]>;
|
|
1228
|
+
filteredValue: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filteredValue"]>;
|
|
1229
|
+
filters: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filters"]>;
|
|
1230
1230
|
filterPlacement: StringConstructor;
|
|
1231
1231
|
filterMultiple: {
|
|
1232
1232
|
type: BooleanConstructor;
|
|
1233
1233
|
default: boolean;
|
|
1234
1234
|
};
|
|
1235
1235
|
filterClassName: StringConstructor;
|
|
1236
|
-
index:
|
|
1236
|
+
index: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["index"]>;
|
|
1237
1237
|
sortOrders: {
|
|
1238
|
-
type:
|
|
1238
|
+
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortOrders"]>;
|
|
1239
1239
|
default: () => (string | null)[];
|
|
1240
|
-
validator: (val:
|
|
1240
|
+
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
1241
1241
|
};
|
|
1242
1242
|
slots: {
|
|
1243
|
-
type:
|
|
1243
|
+
type: vue313.PropType<OrArray<SlotDef>>;
|
|
1244
1244
|
default: () => null;
|
|
1245
1245
|
};
|
|
1246
1246
|
columns: {
|
|
1247
|
-
type:
|
|
1247
|
+
type: vue313.PropType<any[]>;
|
|
1248
1248
|
default: () => never[];
|
|
1249
1249
|
};
|
|
1250
1250
|
transform: {
|
|
1251
|
-
type:
|
|
1251
|
+
type: vue313.PropType<AnyFunction[]>;
|
|
1252
1252
|
default: () => never[];
|
|
1253
1253
|
};
|
|
1254
1254
|
}>> & Readonly<{}>, {
|
|
1255
|
-
|
|
1255
|
+
showOverflowTooltip: boolean | Partial<Pick<element_plus_es_components_tooltip_index_mjs306.ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined;
|
|
1256
1256
|
type: string;
|
|
1257
|
+
sortOrders: ("ascending" | "descending" | null)[];
|
|
1257
1258
|
columns: any[];
|
|
1259
|
+
width: string | number;
|
|
1258
1260
|
minWidth: string | number;
|
|
1259
1261
|
sortable: string | boolean;
|
|
1260
1262
|
resizable: boolean;
|
|
1261
|
-
showOverflowTooltip: boolean | Partial<Pick<element_plus_es_components_tooltip_index_mjs265.ElTooltipProps, "appendTo" | "transition" | "showArrow" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined;
|
|
1262
1263
|
reserveSelection: boolean;
|
|
1263
1264
|
filterMultiple: boolean;
|
|
1264
|
-
sortOrders: ("ascending" | "descending" | null)[];
|
|
1265
1265
|
slots: OrArray<SlotDef>;
|
|
1266
1266
|
transform: AnyFunction[];
|
|
1267
|
-
}, {}, {}, {}, string,
|
|
1267
|
+
}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
1268
1268
|
//#endregion
|
|
1269
1269
|
//#region src/table/index.d.ts
|
|
1270
1270
|
type Instance$1 = InstanceType<typeof _default$4>;
|
|
@@ -1274,7 +1274,7 @@ type TdTableInstance = Instance$1 & Omit<TableInstance, keyof Instance$1>;
|
|
|
1274
1274
|
declare const dialogPropsDef: {
|
|
1275
1275
|
appendToBody?: BooleanConstructor | undefined;
|
|
1276
1276
|
appendTo?: ({
|
|
1277
|
-
readonly type:
|
|
1277
|
+
readonly type: vue313.PropType<string | HTMLElement>;
|
|
1278
1278
|
readonly required: false;
|
|
1279
1279
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1280
1280
|
__epPropKey: true;
|
|
@@ -1282,14 +1282,14 @@ declare const dialogPropsDef: {
|
|
|
1282
1282
|
readonly default: "body";
|
|
1283
1283
|
}) | undefined;
|
|
1284
1284
|
beforeClose?: {
|
|
1285
|
-
readonly type:
|
|
1285
|
+
readonly type: vue313.PropType<element_plus420.DialogBeforeCloseFn>;
|
|
1286
1286
|
readonly required: false;
|
|
1287
1287
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1288
1288
|
__epPropKey: true;
|
|
1289
1289
|
} | undefined;
|
|
1290
1290
|
destroyOnClose?: BooleanConstructor | undefined;
|
|
1291
1291
|
closeOnClickModal?: ({
|
|
1292
|
-
readonly type:
|
|
1292
|
+
readonly type: vue313.PropType<boolean>;
|
|
1293
1293
|
readonly required: false;
|
|
1294
1294
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1295
1295
|
__epPropKey: true;
|
|
@@ -1297,7 +1297,7 @@ declare const dialogPropsDef: {
|
|
|
1297
1297
|
readonly default: true;
|
|
1298
1298
|
}) | undefined;
|
|
1299
1299
|
closeOnPressEscape?: ({
|
|
1300
|
-
readonly type:
|
|
1300
|
+
readonly type: vue313.PropType<boolean>;
|
|
1301
1301
|
readonly required: false;
|
|
1302
1302
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1303
1303
|
__epPropKey: true;
|
|
@@ -1305,7 +1305,7 @@ declare const dialogPropsDef: {
|
|
|
1305
1305
|
readonly default: true;
|
|
1306
1306
|
}) | undefined;
|
|
1307
1307
|
lockScroll?: ({
|
|
1308
|
-
readonly type:
|
|
1308
|
+
readonly type: vue313.PropType<boolean>;
|
|
1309
1309
|
readonly required: false;
|
|
1310
1310
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1311
1311
|
__epPropKey: true;
|
|
@@ -1313,7 +1313,7 @@ declare const dialogPropsDef: {
|
|
|
1313
1313
|
readonly default: true;
|
|
1314
1314
|
}) | undefined;
|
|
1315
1315
|
modal?: ({
|
|
1316
|
-
readonly type:
|
|
1316
|
+
readonly type: vue313.PropType<boolean>;
|
|
1317
1317
|
readonly required: false;
|
|
1318
1318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1319
1319
|
__epPropKey: true;
|
|
@@ -1321,7 +1321,7 @@ declare const dialogPropsDef: {
|
|
|
1321
1321
|
readonly default: true;
|
|
1322
1322
|
}) | undefined;
|
|
1323
1323
|
openDelay?: ({
|
|
1324
|
-
readonly type:
|
|
1324
|
+
readonly type: vue313.PropType<number>;
|
|
1325
1325
|
readonly required: false;
|
|
1326
1326
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1327
1327
|
__epPropKey: true;
|
|
@@ -1329,7 +1329,7 @@ declare const dialogPropsDef: {
|
|
|
1329
1329
|
readonly default: 0;
|
|
1330
1330
|
}) | undefined;
|
|
1331
1331
|
closeDelay?: ({
|
|
1332
|
-
readonly type:
|
|
1332
|
+
readonly type: vue313.PropType<number>;
|
|
1333
1333
|
readonly required: false;
|
|
1334
1334
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1335
1335
|
__epPropKey: true;
|
|
@@ -1337,7 +1337,7 @@ declare const dialogPropsDef: {
|
|
|
1337
1337
|
readonly default: 0;
|
|
1338
1338
|
}) | undefined;
|
|
1339
1339
|
top?: {
|
|
1340
|
-
readonly type:
|
|
1340
|
+
readonly type: vue313.PropType<string>;
|
|
1341
1341
|
readonly required: false;
|
|
1342
1342
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1343
1343
|
__epPropKey: true;
|
|
@@ -1348,20 +1348,20 @@ declare const dialogPropsDef: {
|
|
|
1348
1348
|
bodyClass?: StringConstructor | undefined;
|
|
1349
1349
|
footerClass?: StringConstructor | undefined;
|
|
1350
1350
|
width?: {
|
|
1351
|
-
readonly type:
|
|
1351
|
+
readonly type: vue313.PropType<string | number>;
|
|
1352
1352
|
readonly required: false;
|
|
1353
1353
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1354
1354
|
__epPropKey: true;
|
|
1355
1355
|
} | undefined;
|
|
1356
1356
|
zIndex?: {
|
|
1357
|
-
readonly type:
|
|
1357
|
+
readonly type: vue313.PropType<number>;
|
|
1358
1358
|
readonly required: false;
|
|
1359
1359
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1360
1360
|
__epPropKey: true;
|
|
1361
1361
|
} | undefined;
|
|
1362
1362
|
trapFocus?: BooleanConstructor | undefined;
|
|
1363
1363
|
headerAriaLevel?: ({
|
|
1364
|
-
readonly type:
|
|
1364
|
+
readonly type: vue313.PropType<string>;
|
|
1365
1365
|
readonly required: false;
|
|
1366
1366
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1367
1367
|
__epPropKey: true;
|
|
@@ -1371,7 +1371,7 @@ declare const dialogPropsDef: {
|
|
|
1371
1371
|
center?: BooleanConstructor | undefined;
|
|
1372
1372
|
alignCenter?: BooleanConstructor | undefined;
|
|
1373
1373
|
closeIcon?: {
|
|
1374
|
-
readonly type:
|
|
1374
|
+
readonly type: vue313.PropType<string | vue313.Component>;
|
|
1375
1375
|
readonly required: false;
|
|
1376
1376
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1377
1377
|
__epPropKey: true;
|
|
@@ -1380,7 +1380,7 @@ declare const dialogPropsDef: {
|
|
|
1380
1380
|
overflow?: BooleanConstructor | undefined;
|
|
1381
1381
|
fullscreen?: BooleanConstructor | undefined;
|
|
1382
1382
|
showClose?: ({
|
|
1383
|
-
readonly type:
|
|
1383
|
+
readonly type: vue313.PropType<boolean>;
|
|
1384
1384
|
readonly required: false;
|
|
1385
1385
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1386
1386
|
__epPropKey: true;
|
|
@@ -1388,7 +1388,7 @@ declare const dialogPropsDef: {
|
|
|
1388
1388
|
readonly default: true;
|
|
1389
1389
|
}) | undefined;
|
|
1390
1390
|
title?: ({
|
|
1391
|
-
readonly type:
|
|
1391
|
+
readonly type: vue313.PropType<string>;
|
|
1392
1392
|
readonly required: false;
|
|
1393
1393
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1394
1394
|
__epPropKey: true;
|
|
@@ -1396,7 +1396,7 @@ declare const dialogPropsDef: {
|
|
|
1396
1396
|
readonly default: "";
|
|
1397
1397
|
}) | undefined;
|
|
1398
1398
|
ariaLevel?: ({
|
|
1399
|
-
readonly type:
|
|
1399
|
+
readonly type: vue313.PropType<string>;
|
|
1400
1400
|
readonly required: false;
|
|
1401
1401
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1402
1402
|
__epPropKey: true;
|
|
@@ -1424,11 +1424,11 @@ declare function wait(): Promise<any>;
|
|
|
1424
1424
|
declare function close(err?: any): void;
|
|
1425
1425
|
declare function confirm(res?: any, instance?: FormInstance): Promise<void>;
|
|
1426
1426
|
declare function step(res?: any, instance?: FormInstance): Promise<void>;
|
|
1427
|
-
declare const __VLS_component:
|
|
1427
|
+
declare const __VLS_component: vue313.DefineComponent<{}, {
|
|
1428
1428
|
open: typeof open;
|
|
1429
1429
|
wait: typeof wait;
|
|
1430
1430
|
close: typeof close;
|
|
1431
|
-
}, {}, {}, {},
|
|
1431
|
+
}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
1432
1432
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
1433
1433
|
type __VLS_WithSlots<T, S> = T & {
|
|
1434
1434
|
new (): {
|
|
@@ -1441,10 +1441,10 @@ type Instance = InstanceType<typeof _default>;
|
|
|
1441
1441
|
type TdDialogInstance = Instance & Omit<DialogInstance, keyof Instance & string>;
|
|
1442
1442
|
//#endregion
|
|
1443
1443
|
//#region src/hooks/use-reuse.d.ts
|
|
1444
|
-
declare function useReuse(): (
|
|
1444
|
+
declare function useReuse(): (vue313.DefineComponent<{}, () => null, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any> | vue313.DefineComponent<{}, () => vue313.VNode<vue313.RendererNode, vue313.RendererElement, {
|
|
1445
1445
|
[key: string]: any;
|
|
1446
|
-
}>[] | undefined, {}, {}, {},
|
|
1447
|
-
[name: string]:
|
|
1446
|
+
}>[] | undefined, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any> | vue313.ComputedRef<Readonly<{
|
|
1447
|
+
[name: string]: vue313.Slot<any> | undefined;
|
|
1448
1448
|
}>>)[];
|
|
1449
1449
|
//#endregion
|
|
1450
1450
|
//#region src/utils/index.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, isRef, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, unref, useAttrs, useSlots, useTemplateRef, withCtx, withModifiers } from "vue";
|
|
1
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, isRef, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRef, unref, useAttrs, useSlots, useTemplateRef, withCtx, withModifiers } from "vue";
|
|
2
2
|
import { ElDialog, ElForm, ElFormItem, ElTable, ElTableColumn, dialogProps, formItemProps, formProps, useNamespace } from "element-plus";
|
|
3
3
|
import { cut, ensureArray, getDeepValue, groupBy, isFunction, isNullOrUndef, isObject, isString, pick, setDeepValue, toCamelCase, toKebabCase, uid } from "yatter";
|
|
4
4
|
import tableProps from "element-plus/es/components/table/src/table/defaults.mjs";
|
|
@@ -90,7 +90,11 @@ const widgetFieldPropsDef = {
|
|
|
90
90
|
default: "widget"
|
|
91
91
|
},
|
|
92
92
|
component: {
|
|
93
|
-
type: [
|
|
93
|
+
type: [
|
|
94
|
+
String,
|
|
95
|
+
Object,
|
|
96
|
+
Function
|
|
97
|
+
],
|
|
94
98
|
required: true
|
|
95
99
|
},
|
|
96
100
|
modifiers: {
|
|
@@ -342,7 +346,7 @@ const deepSlotPropsDef = {
|
|
|
342
346
|
type: String,
|
|
343
347
|
required: true
|
|
344
348
|
},
|
|
345
|
-
component: { type: Object },
|
|
349
|
+
component: { type: [Object, Function] },
|
|
346
350
|
props: {
|
|
347
351
|
type: Function,
|
|
348
352
|
default: (p) => p || {}
|
|
@@ -725,11 +729,11 @@ var form_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
725
729
|
await formRef.value?.validate();
|
|
726
730
|
emit("submit", props.model);
|
|
727
731
|
}
|
|
728
|
-
provide(formCtxKey, {
|
|
729
|
-
model: props
|
|
732
|
+
provide(formCtxKey, reactive({
|
|
733
|
+
model: toRef(props, "model"),
|
|
730
734
|
itemOption: props.item,
|
|
731
735
|
getParentSlots: getSlotsFactory(slots)
|
|
732
|
-
});
|
|
736
|
+
}));
|
|
733
737
|
function reValidateErrorFields() {
|
|
734
738
|
for (const field of formRef.value?.fields ?? []) if (field.validateStatus === "error") field.validate("");
|
|
735
739
|
}
|