@vtj/ui 0.12.16 → 0.12.17
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.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +732 -104
- package/types/components/action/hooks.d.ts +122 -19
- package/types/components/action-bar/ActionBar.d.ts +488 -70
- package/types/components/attachment/Attachment.d.ts +743 -434
- package/types/components/data-item/DataItem.d.ts +488 -70
- package/types/components/dialog-form/DialogForm.d.ts +2536 -101
- package/types/components/field/Field.d.ts +224 -86
- package/types/components/form/Form.d.ts +2536 -101
- package/types/components/grid/renderers/components/DateEdit.d.ts +291 -69
- package/types/components/grid/renderers/components/GridEdit.d.ts +191 -65
- package/types/components/grid/renderers/components/PickerEdit.d.ts +367 -117
- package/types/components/grid-editor/GridEditor.d.ts +191 -65
- package/types/components/mask/Mask.d.ts +488 -70
- package/types/components/picker/Picker.d.ts +367 -117
- package/types/components/query-form/QueryForm.d.ts +5070 -199
- package/types/components/tabs/Tabs.d.ts +244 -36
- package/types/version.d.ts +2 -2
@@ -9,8 +9,6 @@ import { ActionBarItems } from '../action-bar';
|
|
9
9
|
import { IconParam } from '../icon';
|
10
10
|
import { ActionMode } from '../action';
|
11
11
|
import { ElTooltipProps, BadgeProps, TooltipTriggerType, PopperEffect, ButtonProps } from 'element-plus';
|
12
|
-
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
13
|
-
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
14
12
|
import { BaseSize, BaseType } from '../shared';
|
15
13
|
declare function __VLS_template(): {
|
16
14
|
attrs: Partial<{}>;
|
@@ -384,43 +382,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
384
382
|
};
|
385
383
|
dropdown: {
|
386
384
|
type: PropType<Partial< ExtractPropTypes<{
|
387
|
-
readonly trigger:
|
388
|
-
|
385
|
+
readonly trigger: {
|
386
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
387
|
+
readonly required: false;
|
388
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
389
|
+
__epPropKey: true;
|
390
|
+
} & {
|
391
|
+
readonly default: "hover";
|
392
|
+
};
|
393
|
+
readonly triggerKeys: {
|
394
|
+
readonly type: PropType<string[]>;
|
395
|
+
readonly required: false;
|
396
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
397
|
+
__epPropKey: true;
|
398
|
+
} & {
|
399
|
+
readonly default: () => string[];
|
400
|
+
};
|
389
401
|
readonly effect: {
|
390
402
|
readonly default: "light";
|
391
|
-
readonly type: PropType<
|
403
|
+
readonly type: PropType<PopperEffect>;
|
392
404
|
readonly required: false;
|
393
405
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
394
406
|
readonly __epPropKey: true;
|
395
407
|
};
|
396
408
|
readonly type: {
|
397
|
-
readonly type: PropType<
|
409
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
410
|
+
readonly required: false;
|
411
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
412
|
+
__epPropKey: true;
|
413
|
+
};
|
414
|
+
readonly placement: {
|
415
|
+
readonly type: PropType<any>;
|
416
|
+
readonly required: false;
|
417
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
418
|
+
__epPropKey: true;
|
419
|
+
} & {
|
420
|
+
readonly default: "bottom";
|
421
|
+
};
|
422
|
+
readonly popperOptions: {
|
423
|
+
readonly type: PropType<any>;
|
398
424
|
readonly required: false;
|
399
425
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
400
426
|
__epPropKey: true;
|
427
|
+
} & {
|
428
|
+
readonly default: () => {};
|
401
429
|
};
|
402
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
403
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
404
430
|
readonly id: StringConstructor;
|
405
|
-
readonly size:
|
431
|
+
readonly size: {
|
432
|
+
readonly type: PropType<string>;
|
433
|
+
readonly required: false;
|
434
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
435
|
+
__epPropKey: true;
|
436
|
+
} & {
|
437
|
+
readonly default: "";
|
438
|
+
};
|
406
439
|
readonly splitButton: BooleanConstructor;
|
407
|
-
readonly hideOnClick:
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
440
|
+
readonly hideOnClick: {
|
441
|
+
readonly type: PropType<boolean>;
|
442
|
+
readonly required: false;
|
443
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
444
|
+
__epPropKey: true;
|
445
|
+
} & {
|
446
|
+
readonly default: true;
|
447
|
+
};
|
448
|
+
readonly loop: {
|
449
|
+
readonly type: PropType<boolean>;
|
450
|
+
readonly required: false;
|
451
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
452
|
+
__epPropKey: true;
|
453
|
+
} & {
|
454
|
+
readonly default: true;
|
455
|
+
};
|
456
|
+
readonly showTimeout: {
|
457
|
+
readonly type: PropType<number>;
|
458
|
+
readonly required: false;
|
459
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
460
|
+
__epPropKey: true;
|
461
|
+
} & {
|
462
|
+
readonly default: 150;
|
463
|
+
};
|
464
|
+
readonly hideTimeout: {
|
465
|
+
readonly type: PropType<number>;
|
466
|
+
readonly required: false;
|
467
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
468
|
+
__epPropKey: true;
|
469
|
+
} & {
|
470
|
+
readonly default: 150;
|
471
|
+
};
|
472
|
+
readonly tabindex: {
|
473
|
+
readonly type: PropType<string | number>;
|
474
|
+
readonly required: false;
|
475
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
476
|
+
__epPropKey: true;
|
477
|
+
} & {
|
478
|
+
readonly default: 0;
|
479
|
+
};
|
480
|
+
readonly maxHeight: {
|
481
|
+
readonly type: PropType<string | number>;
|
482
|
+
readonly required: false;
|
483
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
484
|
+
__epPropKey: true;
|
485
|
+
} & {
|
486
|
+
readonly default: "";
|
487
|
+
};
|
488
|
+
readonly popperClass: {
|
489
|
+
readonly type: PropType<string>;
|
490
|
+
readonly required: false;
|
491
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
492
|
+
__epPropKey: true;
|
493
|
+
} & {
|
494
|
+
readonly default: "";
|
495
|
+
};
|
414
496
|
readonly disabled: BooleanConstructor;
|
415
|
-
readonly role:
|
497
|
+
readonly role: {
|
498
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
499
|
+
readonly required: false;
|
500
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
501
|
+
__epPropKey: true;
|
502
|
+
} & {
|
503
|
+
readonly default: "menu";
|
504
|
+
};
|
416
505
|
readonly buttonProps: {
|
417
506
|
readonly type: PropType<Partial< ButtonProps>>;
|
418
507
|
readonly required: false;
|
419
508
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
420
509
|
__epPropKey: true;
|
421
510
|
};
|
422
|
-
readonly teleported:
|
423
|
-
|
511
|
+
readonly teleported: {
|
512
|
+
readonly type: PropType<boolean>;
|
513
|
+
readonly required: false;
|
514
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
515
|
+
__epPropKey: true;
|
516
|
+
} & {
|
517
|
+
readonly default: true;
|
518
|
+
};
|
519
|
+
readonly persistent: {
|
520
|
+
readonly type: PropType<boolean>;
|
521
|
+
readonly required: false;
|
522
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
523
|
+
__epPropKey: true;
|
524
|
+
} & {
|
525
|
+
readonly default: true;
|
526
|
+
};
|
424
527
|
}>>>;
|
425
528
|
};
|
426
529
|
button: {
|
@@ -475,43 +578,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
475
578
|
};
|
476
579
|
dropdown: {
|
477
580
|
type: PropType<Partial< ExtractPropTypes<{
|
478
|
-
readonly trigger:
|
479
|
-
|
581
|
+
readonly trigger: {
|
582
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
583
|
+
readonly required: false;
|
584
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
585
|
+
__epPropKey: true;
|
586
|
+
} & {
|
587
|
+
readonly default: "hover";
|
588
|
+
};
|
589
|
+
readonly triggerKeys: {
|
590
|
+
readonly type: PropType<string[]>;
|
591
|
+
readonly required: false;
|
592
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
593
|
+
__epPropKey: true;
|
594
|
+
} & {
|
595
|
+
readonly default: () => string[];
|
596
|
+
};
|
480
597
|
readonly effect: {
|
481
598
|
readonly default: "light";
|
482
|
-
readonly type: PropType<
|
599
|
+
readonly type: PropType<PopperEffect>;
|
483
600
|
readonly required: false;
|
484
601
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
485
602
|
readonly __epPropKey: true;
|
486
603
|
};
|
487
604
|
readonly type: {
|
488
|
-
readonly type: PropType<
|
605
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
606
|
+
readonly required: false;
|
607
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
608
|
+
__epPropKey: true;
|
609
|
+
};
|
610
|
+
readonly placement: {
|
611
|
+
readonly type: PropType<any>;
|
612
|
+
readonly required: false;
|
613
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
614
|
+
__epPropKey: true;
|
615
|
+
} & {
|
616
|
+
readonly default: "bottom";
|
617
|
+
};
|
618
|
+
readonly popperOptions: {
|
619
|
+
readonly type: PropType<any>;
|
489
620
|
readonly required: false;
|
490
621
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
491
622
|
__epPropKey: true;
|
623
|
+
} & {
|
624
|
+
readonly default: () => {};
|
492
625
|
};
|
493
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
494
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
495
626
|
readonly id: StringConstructor;
|
496
|
-
readonly size:
|
627
|
+
readonly size: {
|
628
|
+
readonly type: PropType<string>;
|
629
|
+
readonly required: false;
|
630
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
631
|
+
__epPropKey: true;
|
632
|
+
} & {
|
633
|
+
readonly default: "";
|
634
|
+
};
|
497
635
|
readonly splitButton: BooleanConstructor;
|
498
|
-
readonly hideOnClick:
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
636
|
+
readonly hideOnClick: {
|
637
|
+
readonly type: PropType<boolean>;
|
638
|
+
readonly required: false;
|
639
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
640
|
+
__epPropKey: true;
|
641
|
+
} & {
|
642
|
+
readonly default: true;
|
643
|
+
};
|
644
|
+
readonly loop: {
|
645
|
+
readonly type: PropType<boolean>;
|
646
|
+
readonly required: false;
|
647
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
648
|
+
__epPropKey: true;
|
649
|
+
} & {
|
650
|
+
readonly default: true;
|
651
|
+
};
|
652
|
+
readonly showTimeout: {
|
653
|
+
readonly type: PropType<number>;
|
654
|
+
readonly required: false;
|
655
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
656
|
+
__epPropKey: true;
|
657
|
+
} & {
|
658
|
+
readonly default: 150;
|
659
|
+
};
|
660
|
+
readonly hideTimeout: {
|
661
|
+
readonly type: PropType<number>;
|
662
|
+
readonly required: false;
|
663
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
664
|
+
__epPropKey: true;
|
665
|
+
} & {
|
666
|
+
readonly default: 150;
|
667
|
+
};
|
668
|
+
readonly tabindex: {
|
669
|
+
readonly type: PropType<string | number>;
|
670
|
+
readonly required: false;
|
671
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
672
|
+
__epPropKey: true;
|
673
|
+
} & {
|
674
|
+
readonly default: 0;
|
675
|
+
};
|
676
|
+
readonly maxHeight: {
|
677
|
+
readonly type: PropType<string | number>;
|
678
|
+
readonly required: false;
|
679
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
680
|
+
__epPropKey: true;
|
681
|
+
} & {
|
682
|
+
readonly default: "";
|
683
|
+
};
|
684
|
+
readonly popperClass: {
|
685
|
+
readonly type: PropType<string>;
|
686
|
+
readonly required: false;
|
687
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
688
|
+
__epPropKey: true;
|
689
|
+
} & {
|
690
|
+
readonly default: "";
|
691
|
+
};
|
505
692
|
readonly disabled: BooleanConstructor;
|
506
|
-
readonly role:
|
693
|
+
readonly role: {
|
694
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
695
|
+
readonly required: false;
|
696
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
697
|
+
__epPropKey: true;
|
698
|
+
} & {
|
699
|
+
readonly default: "menu";
|
700
|
+
};
|
507
701
|
readonly buttonProps: {
|
508
702
|
readonly type: PropType<Partial< ButtonProps>>;
|
509
703
|
readonly required: false;
|
510
704
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
511
705
|
__epPropKey: true;
|
512
706
|
};
|
513
|
-
readonly teleported:
|
514
|
-
|
707
|
+
readonly teleported: {
|
708
|
+
readonly type: PropType<boolean>;
|
709
|
+
readonly required: false;
|
710
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
711
|
+
__epPropKey: true;
|
712
|
+
} & {
|
713
|
+
readonly default: true;
|
714
|
+
};
|
715
|
+
readonly persistent: {
|
716
|
+
readonly type: PropType<boolean>;
|
717
|
+
readonly required: false;
|
718
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
719
|
+
__epPropKey: true;
|
720
|
+
} & {
|
721
|
+
readonly default: true;
|
722
|
+
};
|
515
723
|
}>>>;
|
516
724
|
};
|
517
725
|
button: {
|
@@ -621,43 +829,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
621
829
|
};
|
622
830
|
dropdown: {
|
623
831
|
type: PropType<Partial< ExtractPropTypes<{
|
624
|
-
readonly trigger:
|
625
|
-
|
832
|
+
readonly trigger: {
|
833
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
834
|
+
readonly required: false;
|
835
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
836
|
+
__epPropKey: true;
|
837
|
+
} & {
|
838
|
+
readonly default: "hover";
|
839
|
+
};
|
840
|
+
readonly triggerKeys: {
|
841
|
+
readonly type: PropType<string[]>;
|
842
|
+
readonly required: false;
|
843
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
844
|
+
__epPropKey: true;
|
845
|
+
} & {
|
846
|
+
readonly default: () => string[];
|
847
|
+
};
|
626
848
|
readonly effect: {
|
627
849
|
readonly default: "light";
|
628
|
-
readonly type: PropType<
|
850
|
+
readonly type: PropType<PopperEffect>;
|
629
851
|
readonly required: false;
|
630
852
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
631
853
|
readonly __epPropKey: true;
|
632
854
|
};
|
633
855
|
readonly type: {
|
634
|
-
readonly type: PropType<
|
856
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
857
|
+
readonly required: false;
|
858
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
859
|
+
__epPropKey: true;
|
860
|
+
};
|
861
|
+
readonly placement: {
|
862
|
+
readonly type: PropType<any>;
|
863
|
+
readonly required: false;
|
864
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
865
|
+
__epPropKey: true;
|
866
|
+
} & {
|
867
|
+
readonly default: "bottom";
|
868
|
+
};
|
869
|
+
readonly popperOptions: {
|
870
|
+
readonly type: PropType<any>;
|
635
871
|
readonly required: false;
|
636
872
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
637
873
|
__epPropKey: true;
|
874
|
+
} & {
|
875
|
+
readonly default: () => {};
|
638
876
|
};
|
639
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
640
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
641
877
|
readonly id: StringConstructor;
|
642
|
-
readonly size:
|
878
|
+
readonly size: {
|
879
|
+
readonly type: PropType<string>;
|
880
|
+
readonly required: false;
|
881
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
882
|
+
__epPropKey: true;
|
883
|
+
} & {
|
884
|
+
readonly default: "";
|
885
|
+
};
|
643
886
|
readonly splitButton: BooleanConstructor;
|
644
|
-
readonly hideOnClick:
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
887
|
+
readonly hideOnClick: {
|
888
|
+
readonly type: PropType<boolean>;
|
889
|
+
readonly required: false;
|
890
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
891
|
+
__epPropKey: true;
|
892
|
+
} & {
|
893
|
+
readonly default: true;
|
894
|
+
};
|
895
|
+
readonly loop: {
|
896
|
+
readonly type: PropType<boolean>;
|
897
|
+
readonly required: false;
|
898
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
899
|
+
__epPropKey: true;
|
900
|
+
} & {
|
901
|
+
readonly default: true;
|
902
|
+
};
|
903
|
+
readonly showTimeout: {
|
904
|
+
readonly type: PropType<number>;
|
905
|
+
readonly required: false;
|
906
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
907
|
+
__epPropKey: true;
|
908
|
+
} & {
|
909
|
+
readonly default: 150;
|
910
|
+
};
|
911
|
+
readonly hideTimeout: {
|
912
|
+
readonly type: PropType<number>;
|
913
|
+
readonly required: false;
|
914
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
915
|
+
__epPropKey: true;
|
916
|
+
} & {
|
917
|
+
readonly default: 150;
|
918
|
+
};
|
919
|
+
readonly tabindex: {
|
920
|
+
readonly type: PropType<string | number>;
|
921
|
+
readonly required: false;
|
922
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
923
|
+
__epPropKey: true;
|
924
|
+
} & {
|
925
|
+
readonly default: 0;
|
926
|
+
};
|
927
|
+
readonly maxHeight: {
|
928
|
+
readonly type: PropType<string | number>;
|
929
|
+
readonly required: false;
|
930
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
931
|
+
__epPropKey: true;
|
932
|
+
} & {
|
933
|
+
readonly default: "";
|
934
|
+
};
|
935
|
+
readonly popperClass: {
|
936
|
+
readonly type: PropType<string>;
|
937
|
+
readonly required: false;
|
938
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
939
|
+
__epPropKey: true;
|
940
|
+
} & {
|
941
|
+
readonly default: "";
|
942
|
+
};
|
651
943
|
readonly disabled: BooleanConstructor;
|
652
|
-
readonly role:
|
944
|
+
readonly role: {
|
945
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
946
|
+
readonly required: false;
|
947
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
948
|
+
__epPropKey: true;
|
949
|
+
} & {
|
950
|
+
readonly default: "menu";
|
951
|
+
};
|
653
952
|
readonly buttonProps: {
|
654
953
|
readonly type: PropType<Partial< ButtonProps>>;
|
655
954
|
readonly required: false;
|
656
955
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
657
956
|
__epPropKey: true;
|
658
957
|
};
|
659
|
-
readonly teleported:
|
660
|
-
|
958
|
+
readonly teleported: {
|
959
|
+
readonly type: PropType<boolean>;
|
960
|
+
readonly required: false;
|
961
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
962
|
+
__epPropKey: true;
|
963
|
+
} & {
|
964
|
+
readonly default: true;
|
965
|
+
};
|
966
|
+
readonly persistent: {
|
967
|
+
readonly type: PropType<boolean>;
|
968
|
+
readonly required: false;
|
969
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
970
|
+
__epPropKey: true;
|
971
|
+
} & {
|
972
|
+
readonly default: true;
|
973
|
+
};
|
661
974
|
}>>>;
|
662
975
|
};
|
663
976
|
button: {
|
@@ -712,43 +1025,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
712
1025
|
};
|
713
1026
|
dropdown: {
|
714
1027
|
type: PropType<Partial< ExtractPropTypes<{
|
715
|
-
readonly trigger:
|
716
|
-
|
1028
|
+
readonly trigger: {
|
1029
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
1030
|
+
readonly required: false;
|
1031
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1032
|
+
__epPropKey: true;
|
1033
|
+
} & {
|
1034
|
+
readonly default: "hover";
|
1035
|
+
};
|
1036
|
+
readonly triggerKeys: {
|
1037
|
+
readonly type: PropType<string[]>;
|
1038
|
+
readonly required: false;
|
1039
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1040
|
+
__epPropKey: true;
|
1041
|
+
} & {
|
1042
|
+
readonly default: () => string[];
|
1043
|
+
};
|
717
1044
|
readonly effect: {
|
718
1045
|
readonly default: "light";
|
719
|
-
readonly type: PropType<
|
1046
|
+
readonly type: PropType<PopperEffect>;
|
720
1047
|
readonly required: false;
|
721
1048
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
722
1049
|
readonly __epPropKey: true;
|
723
1050
|
};
|
724
1051
|
readonly type: {
|
725
|
-
readonly type: PropType<
|
1052
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
1053
|
+
readonly required: false;
|
1054
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1055
|
+
__epPropKey: true;
|
1056
|
+
};
|
1057
|
+
readonly placement: {
|
1058
|
+
readonly type: PropType<any>;
|
1059
|
+
readonly required: false;
|
1060
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1061
|
+
__epPropKey: true;
|
1062
|
+
} & {
|
1063
|
+
readonly default: "bottom";
|
1064
|
+
};
|
1065
|
+
readonly popperOptions: {
|
1066
|
+
readonly type: PropType<any>;
|
726
1067
|
readonly required: false;
|
727
1068
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
728
1069
|
__epPropKey: true;
|
1070
|
+
} & {
|
1071
|
+
readonly default: () => {};
|
729
1072
|
};
|
730
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
731
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
732
1073
|
readonly id: StringConstructor;
|
733
|
-
readonly size:
|
1074
|
+
readonly size: {
|
1075
|
+
readonly type: PropType<string>;
|
1076
|
+
readonly required: false;
|
1077
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1078
|
+
__epPropKey: true;
|
1079
|
+
} & {
|
1080
|
+
readonly default: "";
|
1081
|
+
};
|
734
1082
|
readonly splitButton: BooleanConstructor;
|
735
|
-
readonly hideOnClick:
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
1083
|
+
readonly hideOnClick: {
|
1084
|
+
readonly type: PropType<boolean>;
|
1085
|
+
readonly required: false;
|
1086
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1087
|
+
__epPropKey: true;
|
1088
|
+
} & {
|
1089
|
+
readonly default: true;
|
1090
|
+
};
|
1091
|
+
readonly loop: {
|
1092
|
+
readonly type: PropType<boolean>;
|
1093
|
+
readonly required: false;
|
1094
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1095
|
+
__epPropKey: true;
|
1096
|
+
} & {
|
1097
|
+
readonly default: true;
|
1098
|
+
};
|
1099
|
+
readonly showTimeout: {
|
1100
|
+
readonly type: PropType<number>;
|
1101
|
+
readonly required: false;
|
1102
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1103
|
+
__epPropKey: true;
|
1104
|
+
} & {
|
1105
|
+
readonly default: 150;
|
1106
|
+
};
|
1107
|
+
readonly hideTimeout: {
|
1108
|
+
readonly type: PropType<number>;
|
1109
|
+
readonly required: false;
|
1110
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1111
|
+
__epPropKey: true;
|
1112
|
+
} & {
|
1113
|
+
readonly default: 150;
|
1114
|
+
};
|
1115
|
+
readonly tabindex: {
|
1116
|
+
readonly type: PropType<string | number>;
|
1117
|
+
readonly required: false;
|
1118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1119
|
+
__epPropKey: true;
|
1120
|
+
} & {
|
1121
|
+
readonly default: 0;
|
1122
|
+
};
|
1123
|
+
readonly maxHeight: {
|
1124
|
+
readonly type: PropType<string | number>;
|
1125
|
+
readonly required: false;
|
1126
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1127
|
+
__epPropKey: true;
|
1128
|
+
} & {
|
1129
|
+
readonly default: "";
|
1130
|
+
};
|
1131
|
+
readonly popperClass: {
|
1132
|
+
readonly type: PropType<string>;
|
1133
|
+
readonly required: false;
|
1134
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1135
|
+
__epPropKey: true;
|
1136
|
+
} & {
|
1137
|
+
readonly default: "";
|
1138
|
+
};
|
742
1139
|
readonly disabled: BooleanConstructor;
|
743
|
-
readonly role:
|
1140
|
+
readonly role: {
|
1141
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
1142
|
+
readonly required: false;
|
1143
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1144
|
+
__epPropKey: true;
|
1145
|
+
} & {
|
1146
|
+
readonly default: "menu";
|
1147
|
+
};
|
744
1148
|
readonly buttonProps: {
|
745
1149
|
readonly type: PropType<Partial< ButtonProps>>;
|
746
1150
|
readonly required: false;
|
747
1151
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
748
1152
|
__epPropKey: true;
|
749
1153
|
};
|
750
|
-
readonly teleported:
|
751
|
-
|
1154
|
+
readonly teleported: {
|
1155
|
+
readonly type: PropType<boolean>;
|
1156
|
+
readonly required: false;
|
1157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1158
|
+
__epPropKey: true;
|
1159
|
+
} & {
|
1160
|
+
readonly default: true;
|
1161
|
+
};
|
1162
|
+
readonly persistent: {
|
1163
|
+
readonly type: PropType<boolean>;
|
1164
|
+
readonly required: false;
|
1165
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
1166
|
+
__epPropKey: true;
|
1167
|
+
} & {
|
1168
|
+
readonly default: true;
|
1169
|
+
};
|
752
1170
|
}>>>;
|
753
1171
|
};
|
754
1172
|
button: {
|