@dao-style/core 1.13.1-beta.3 → 1.13.1-beta.5
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/components/action-icon/action-icon.d.ts +178 -13
- package/dist/components/action-icon/action-icon.vue.d.ts +74 -6
- package/dist/components/action-icon/props.d.ts +22 -2
- package/dist/components/button/button.d.ts +178 -13
- package/dist/components/button/button.vue.d.ts +74 -6
- package/dist/components/button/props.d.ts +22 -2
- package/dist/components/dropdown/dropdown-item.d.ts +178 -13
- package/dist/components/dropdown/dropdown-item.vue.d.ts +74 -6
- package/dist/components/dropdown/props.d.ts +22 -2
- package/dist/components/table/column-setting.vue.d.ts +178 -13
- package/dist/components/table/table.d.ts +6 -0
- package/dist/components/table/table.vue.d.ts +2 -0
- package/dist/components/table/type.d.ts +1 -0
- package/dist/components/tooltip/tooltip-props.d.ts +2 -0
- package/dist/dao-style.js +7 -7
- package/dist/dao-style.mjs +3669 -3656
- package/dist/style.css +1 -1
- package/dist/utils/types.d.ts +20 -0
- package/package.json +1 -1
|
@@ -406,7 +406,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
406
406
|
active: boolean;
|
|
407
407
|
tooltipContent: string;
|
|
408
408
|
tooltipDisabled: boolean;
|
|
409
|
-
tooltipOption: {
|
|
409
|
+
tooltipOption: Partial<{
|
|
410
410
|
modelValue: boolean;
|
|
411
411
|
disabled: boolean;
|
|
412
412
|
offset: string | number;
|
|
@@ -421,7 +421,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
421
421
|
popperClass: string;
|
|
422
422
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
423
423
|
transition: string;
|
|
424
|
-
}
|
|
424
|
+
} & {} & {
|
|
425
|
+
onHide: () => void;
|
|
426
|
+
onShow: () => void;
|
|
427
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
428
|
+
onAfterShow: () => void;
|
|
429
|
+
onAfterHide: () => void;
|
|
430
|
+
}>;
|
|
425
431
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
426
432
|
name: {
|
|
427
433
|
type: StringConstructor;
|
|
@@ -449,7 +455,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
449
455
|
default: boolean;
|
|
450
456
|
};
|
|
451
457
|
tooltipOption: {
|
|
452
|
-
type: import("vue").PropType<
|
|
458
|
+
type: import("vue").PropType<Partial<{
|
|
459
|
+
modelValue: boolean;
|
|
460
|
+
disabled: boolean;
|
|
461
|
+
offset: string | number;
|
|
462
|
+
placement: import("@popperjs/core").Placement;
|
|
463
|
+
content: string;
|
|
464
|
+
appendTo: string | false | HTMLElement;
|
|
465
|
+
boundary: import("@popperjs/core").Boundary;
|
|
466
|
+
delay: import("../popper").DelayProp;
|
|
467
|
+
width: string | number;
|
|
468
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
469
|
+
visibleArrow: boolean;
|
|
470
|
+
popperClass: string;
|
|
471
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
472
|
+
transition: string;
|
|
473
|
+
} & {} & {
|
|
474
|
+
onHide: () => void;
|
|
475
|
+
onShow: () => void;
|
|
476
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
477
|
+
onAfterShow: () => void;
|
|
478
|
+
onAfterHide: () => void;
|
|
479
|
+
}>>;
|
|
453
480
|
default: () => {};
|
|
454
481
|
};
|
|
455
482
|
active: {
|
|
@@ -497,7 +524,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
497
524
|
default: boolean;
|
|
498
525
|
};
|
|
499
526
|
tooltipOption: {
|
|
500
|
-
type: import("vue").PropType<
|
|
527
|
+
type: import("vue").PropType<Partial<{
|
|
528
|
+
modelValue: boolean;
|
|
529
|
+
disabled: boolean;
|
|
530
|
+
offset: string | number;
|
|
531
|
+
placement: import("@popperjs/core").Placement;
|
|
532
|
+
content: string;
|
|
533
|
+
appendTo: string | false | HTMLElement;
|
|
534
|
+
boundary: import("@popperjs/core").Boundary;
|
|
535
|
+
delay: import("../popper").DelayProp;
|
|
536
|
+
width: string | number;
|
|
537
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
538
|
+
visibleArrow: boolean;
|
|
539
|
+
popperClass: string;
|
|
540
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
541
|
+
transition: string;
|
|
542
|
+
} & {} & {
|
|
543
|
+
onHide: () => void;
|
|
544
|
+
onShow: () => void;
|
|
545
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
546
|
+
onAfterShow: () => void;
|
|
547
|
+
onAfterHide: () => void;
|
|
548
|
+
}>>;
|
|
501
549
|
default: () => {};
|
|
502
550
|
};
|
|
503
551
|
active: {
|
|
@@ -508,7 +556,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
508
556
|
isDivider: boolean;
|
|
509
557
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
510
558
|
classList: import("vue").ComputedRef<string[]>;
|
|
511
|
-
actualTooltipOption: import("vue").ComputedRef<
|
|
559
|
+
actualTooltipOption: import("vue").ComputedRef<Partial<{
|
|
560
|
+
modelValue: boolean;
|
|
561
|
+
disabled: boolean;
|
|
562
|
+
offset: string | number;
|
|
563
|
+
placement: import("@popperjs/core").Placement;
|
|
564
|
+
content: string;
|
|
565
|
+
appendTo: string | false | HTMLElement;
|
|
566
|
+
boundary: import("@popperjs/core").Boundary;
|
|
567
|
+
delay: import("../popper").DelayProp;
|
|
568
|
+
width: string | number;
|
|
569
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
570
|
+
visibleArrow: boolean;
|
|
571
|
+
popperClass: string;
|
|
572
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
573
|
+
transition: string;
|
|
574
|
+
} & {} & {
|
|
575
|
+
onHide: () => void;
|
|
576
|
+
onShow: () => void;
|
|
577
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
578
|
+
onAfterShow: () => void;
|
|
579
|
+
onAfterHide: () => void;
|
|
580
|
+
}>>;
|
|
512
581
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
513
582
|
type: import("../action-icon").ActionIconType;
|
|
514
583
|
disabled: boolean;
|
|
@@ -517,7 +586,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
517
586
|
active: boolean;
|
|
518
587
|
tooltipContent: string;
|
|
519
588
|
tooltipDisabled: boolean;
|
|
520
|
-
tooltipOption: {
|
|
589
|
+
tooltipOption: Partial<{
|
|
521
590
|
modelValue: boolean;
|
|
522
591
|
disabled: boolean;
|
|
523
592
|
offset: string | number;
|
|
@@ -532,7 +601,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
532
601
|
popperClass: string;
|
|
533
602
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
534
603
|
transition: string;
|
|
535
|
-
}
|
|
604
|
+
} & {} & {
|
|
605
|
+
onHide: () => void;
|
|
606
|
+
onShow: () => void;
|
|
607
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
608
|
+
onAfterShow: () => void;
|
|
609
|
+
onAfterHide: () => void;
|
|
610
|
+
}>;
|
|
536
611
|
}, {}, string> & {
|
|
537
612
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
538
613
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -580,7 +655,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
580
655
|
default: boolean;
|
|
581
656
|
};
|
|
582
657
|
tooltipOption: {
|
|
583
|
-
type: import("vue").PropType<
|
|
658
|
+
type: import("vue").PropType<Partial<{
|
|
659
|
+
modelValue: boolean;
|
|
660
|
+
disabled: boolean;
|
|
661
|
+
offset: string | number;
|
|
662
|
+
placement: import("@popperjs/core").Placement;
|
|
663
|
+
content: string;
|
|
664
|
+
appendTo: string | false | HTMLElement;
|
|
665
|
+
boundary: import("@popperjs/core").Boundary;
|
|
666
|
+
delay: import("../popper").DelayProp;
|
|
667
|
+
width: string | number;
|
|
668
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
669
|
+
visibleArrow: boolean;
|
|
670
|
+
popperClass: string;
|
|
671
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
672
|
+
transition: string;
|
|
673
|
+
} & {} & {
|
|
674
|
+
onHide: () => void;
|
|
675
|
+
onShow: () => void;
|
|
676
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
677
|
+
onAfterShow: () => void;
|
|
678
|
+
onAfterHide: () => void;
|
|
679
|
+
}>>;
|
|
584
680
|
default: () => {};
|
|
585
681
|
};
|
|
586
682
|
active: {
|
|
@@ -591,7 +687,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
591
687
|
isDivider: boolean;
|
|
592
688
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
593
689
|
classList: import("vue").ComputedRef<string[]>;
|
|
594
|
-
actualTooltipOption: import("vue").ComputedRef<
|
|
690
|
+
actualTooltipOption: import("vue").ComputedRef<Partial<{
|
|
691
|
+
modelValue: boolean;
|
|
692
|
+
disabled: boolean;
|
|
693
|
+
offset: string | number;
|
|
694
|
+
placement: import("@popperjs/core").Placement;
|
|
695
|
+
content: string;
|
|
696
|
+
appendTo: string | false | HTMLElement;
|
|
697
|
+
boundary: import("@popperjs/core").Boundary;
|
|
698
|
+
delay: import("../popper").DelayProp;
|
|
699
|
+
width: string | number;
|
|
700
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
701
|
+
visibleArrow: boolean;
|
|
702
|
+
popperClass: string;
|
|
703
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
704
|
+
transition: string;
|
|
705
|
+
} & {} & {
|
|
706
|
+
onHide: () => void;
|
|
707
|
+
onShow: () => void;
|
|
708
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
709
|
+
onAfterShow: () => void;
|
|
710
|
+
onAfterHide: () => void;
|
|
711
|
+
}>>;
|
|
595
712
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
596
713
|
__isFragment?: undefined;
|
|
597
714
|
__isTeleport?: undefined;
|
|
@@ -623,7 +740,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
623
740
|
default: boolean;
|
|
624
741
|
};
|
|
625
742
|
tooltipOption: {
|
|
626
|
-
type: import("vue").PropType<
|
|
743
|
+
type: import("vue").PropType<Partial<{
|
|
744
|
+
modelValue: boolean;
|
|
745
|
+
disabled: boolean;
|
|
746
|
+
offset: string | number;
|
|
747
|
+
placement: import("@popperjs/core").Placement;
|
|
748
|
+
content: string;
|
|
749
|
+
appendTo: string | false | HTMLElement;
|
|
750
|
+
boundary: import("@popperjs/core").Boundary;
|
|
751
|
+
delay: import("../popper").DelayProp;
|
|
752
|
+
width: string | number;
|
|
753
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
754
|
+
visibleArrow: boolean;
|
|
755
|
+
popperClass: string;
|
|
756
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
757
|
+
transition: string;
|
|
758
|
+
} & {} & {
|
|
759
|
+
onHide: () => void;
|
|
760
|
+
onShow: () => void;
|
|
761
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
762
|
+
onAfterShow: () => void;
|
|
763
|
+
onAfterHide: () => void;
|
|
764
|
+
}>>;
|
|
627
765
|
default: () => {};
|
|
628
766
|
};
|
|
629
767
|
active: {
|
|
@@ -634,7 +772,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
634
772
|
isDivider: boolean;
|
|
635
773
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
636
774
|
classList: import("vue").ComputedRef<string[]>;
|
|
637
|
-
actualTooltipOption: import("vue").ComputedRef<
|
|
775
|
+
actualTooltipOption: import("vue").ComputedRef<Partial<{
|
|
776
|
+
modelValue: boolean;
|
|
777
|
+
disabled: boolean;
|
|
778
|
+
offset: string | number;
|
|
779
|
+
placement: import("@popperjs/core").Placement;
|
|
780
|
+
content: string;
|
|
781
|
+
appendTo: string | false | HTMLElement;
|
|
782
|
+
boundary: import("@popperjs/core").Boundary;
|
|
783
|
+
delay: import("../popper").DelayProp;
|
|
784
|
+
width: string | number;
|
|
785
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
786
|
+
visibleArrow: boolean;
|
|
787
|
+
popperClass: string;
|
|
788
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
789
|
+
transition: string;
|
|
790
|
+
} & {} & {
|
|
791
|
+
onHide: () => void;
|
|
792
|
+
onShow: () => void;
|
|
793
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
794
|
+
onAfterShow: () => void;
|
|
795
|
+
onAfterHide: () => void;
|
|
796
|
+
}>>;
|
|
638
797
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
639
798
|
type: import("../action-icon").ActionIconType;
|
|
640
799
|
disabled: boolean;
|
|
@@ -643,7 +802,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
643
802
|
active: boolean;
|
|
644
803
|
tooltipContent: string;
|
|
645
804
|
tooltipDisabled: boolean;
|
|
646
|
-
tooltipOption: {
|
|
805
|
+
tooltipOption: Partial<{
|
|
647
806
|
modelValue: boolean;
|
|
648
807
|
disabled: boolean;
|
|
649
808
|
offset: string | number;
|
|
@@ -658,7 +817,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
658
817
|
popperClass: string;
|
|
659
818
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
660
819
|
transition: string;
|
|
661
|
-
}
|
|
820
|
+
} & {} & {
|
|
821
|
+
onHide: () => void;
|
|
822
|
+
onShow: () => void;
|
|
823
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
824
|
+
onAfterShow: () => void;
|
|
825
|
+
onAfterHide: () => void;
|
|
826
|
+
}>;
|
|
662
827
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
663
828
|
$props: Partial<import("../action-icon").ActionIconProps>;
|
|
664
829
|
$slots: {
|
|
@@ -413,6 +413,7 @@ declare const DaoTable: {
|
|
|
413
413
|
defaultHide?: boolean | undefined;
|
|
414
414
|
className?: string | undefined;
|
|
415
415
|
ellipsis?: boolean | import("./type").ColumnEllipsisContentFun | undefined;
|
|
416
|
+
tip?: string | undefined;
|
|
416
417
|
}[];
|
|
417
418
|
filterColumns: import("vue").ComputedRef<{
|
|
418
419
|
id: string;
|
|
@@ -426,6 +427,7 @@ declare const DaoTable: {
|
|
|
426
427
|
defaultHide?: boolean | undefined;
|
|
427
428
|
className?: string | undefined;
|
|
428
429
|
ellipsis?: boolean | import("./type").ColumnEllipsisContentFun | undefined;
|
|
430
|
+
tip?: string | undefined;
|
|
429
431
|
}[]>;
|
|
430
432
|
tableWrapperClasses: import("vue").ComputedRef<string[]>;
|
|
431
433
|
tableSetting: Record<string, import("./type").tableSettingItem>;
|
|
@@ -723,6 +725,7 @@ declare const DaoTable: {
|
|
|
723
725
|
defaultHide?: boolean | undefined;
|
|
724
726
|
className?: string | undefined;
|
|
725
727
|
ellipsis?: boolean | import("./type").ColumnEllipsisContentFun | undefined;
|
|
728
|
+
tip?: string | undefined;
|
|
726
729
|
}[];
|
|
727
730
|
filterColumns: import("vue").ComputedRef<{
|
|
728
731
|
id: string;
|
|
@@ -736,6 +739,7 @@ declare const DaoTable: {
|
|
|
736
739
|
defaultHide?: boolean | undefined;
|
|
737
740
|
className?: string | undefined;
|
|
738
741
|
ellipsis?: boolean | import("./type").ColumnEllipsisContentFun | undefined;
|
|
742
|
+
tip?: string | undefined;
|
|
739
743
|
}[]>;
|
|
740
744
|
tableWrapperClasses: import("vue").ComputedRef<string[]>;
|
|
741
745
|
tableSetting: Record<string, import("./type").tableSettingItem>;
|
|
@@ -982,6 +986,7 @@ declare const DaoTable: {
|
|
|
982
986
|
defaultHide?: boolean | undefined;
|
|
983
987
|
className?: string | undefined;
|
|
984
988
|
ellipsis?: boolean | import("./type").ColumnEllipsisContentFun | undefined;
|
|
989
|
+
tip?: string | undefined;
|
|
985
990
|
}[];
|
|
986
991
|
filterColumns: import("vue").ComputedRef<{
|
|
987
992
|
id: string;
|
|
@@ -995,6 +1000,7 @@ declare const DaoTable: {
|
|
|
995
1000
|
defaultHide?: boolean | undefined;
|
|
996
1001
|
className?: string | undefined;
|
|
997
1002
|
ellipsis?: boolean | import("./type").ColumnEllipsisContentFun | undefined;
|
|
1003
|
+
tip?: string | undefined;
|
|
998
1004
|
}[]>;
|
|
999
1005
|
tableWrapperClasses: import("vue").ComputedRef<string[]>;
|
|
1000
1006
|
tableSetting: Record<string, import("./type").tableSettingItem>;
|
|
@@ -165,6 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
165
|
defaultHide?: boolean | undefined;
|
|
166
166
|
className?: string | undefined;
|
|
167
167
|
ellipsis?: boolean | ColumnEllipsisContentFun | undefined;
|
|
168
|
+
tip?: string | undefined;
|
|
168
169
|
}[];
|
|
169
170
|
filterColumns: import("vue").ComputedRef<{
|
|
170
171
|
id: string;
|
|
@@ -178,6 +179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
179
|
defaultHide?: boolean | undefined;
|
|
179
180
|
className?: string | undefined;
|
|
180
181
|
ellipsis?: boolean | ColumnEllipsisContentFun | undefined;
|
|
182
|
+
tip?: string | undefined;
|
|
181
183
|
}[]>;
|
|
182
184
|
tableWrapperClasses: import("vue").ComputedRef<string[]>;
|
|
183
185
|
tableSetting: Record<string, tableSettingItem>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ParseEmits } from '../../utils/types';
|
|
2
3
|
export declare const tooltipProps: {
|
|
3
4
|
offset: {
|
|
4
5
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -66,4 +67,5 @@ export declare const tooltipEmits: {
|
|
|
66
67
|
'after-show': () => void;
|
|
67
68
|
'after-hide': () => void;
|
|
68
69
|
};
|
|
70
|
+
export type TooltipOption = Partial<TooltipProps & ParseEmits<TooltipEmits>>;
|
|
69
71
|
export type TooltipEmits = typeof tooltipEmits;
|