@qn-pandora/pandora-component 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/AutoComplete/index.js +2 -2
- package/es/components/AutoComplete/style.css +110 -22
- package/es/components/Breadcrumb/style.css +13 -3
- package/es/components/Button/style.css +215 -109
- package/es/components/Card/RowExtra/style.css +6 -0
- package/es/components/Card/style.css +50 -55
- package/es/components/CheckTransformList/style.css +327 -103
- package/es/components/Checkbox/style.css +5 -0
- package/es/components/CheckboxList/style.css +5 -0
- package/es/components/Collapse/style.css +34 -2
- package/es/components/DateTimePicker/Base/style.css +446 -56
- package/es/components/DateTimePicker/DisplayInput/style.css +218 -40
- package/es/components/DateTimePicker/index.js +1 -1
- package/es/components/DateTimePicker/style.css +77 -46
- package/es/components/Descriptions/style.css +77 -46
- package/es/components/Drawer/index.d.ts +6 -6
- package/es/components/Drawer/index.js +4 -4
- package/es/components/Drawer/style.css +244 -169
- package/es/components/Drawer/style.less +8 -0
- package/es/components/FileResumable/style.css +12 -42
- package/es/components/Input/index.d.ts +1 -1
- package/es/components/Input/style.css +218 -40
- package/es/components/Menu/style.css +16 -7
- package/es/components/Modal/style.css +10 -7
- package/es/components/NameLimiter/index.js +1 -1
- package/es/components/NameLimiter/style.css +83 -55
- package/es/components/OptionList/InlineOptionList/style.css +21 -8
- package/es/components/OptionList/OptionItem/style.css +83 -55
- package/es/components/OptionList/PopoverOptionList/index.js +1 -1
- package/es/components/OptionList/PopoverOptionList/style.css +77 -46
- package/es/components/OptionList/style.css +181 -109
- package/es/components/RadioGroup/style.css +27 -16
- package/es/components/RangeInput/style.css +581 -64
- package/es/components/RemarkName/style.css +83 -55
- package/es/components/Selector/style.css +110 -22
- package/es/components/Spin/style.css +8 -6
- package/es/components/Steps/style.css +43 -5
- package/es/components/Table/ColumnSetting/style.css +2 -5
- package/es/components/Table/ColumnSetting/style.less +2 -3
- package/es/components/Table/index.d.ts +12 -9
- package/es/components/Table/index.js +73 -84
- package/es/components/Table/style.css +99 -61
- package/es/components/Tabs/style.css +117 -68
- package/es/components/TopologyChart/index.d.ts +7 -0
- package/es/components/TopologyChart/index.js +19 -0
- package/es/components/TopologyChart/style.css +14 -0
- package/es/components/TopologyChart/style.less +14 -0
- package/es/components/TreeSelector/style.css +21 -9
- package/es/index.css +8149 -7069
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +17 -16
- package/lib/components/AutoComplete/index.js +2 -2
- package/lib/components/AutoComplete/style.css +110 -22
- package/lib/components/Breadcrumb/style.css +13 -3
- package/lib/components/Button/style.css +215 -109
- package/lib/components/Card/RowExtra/style.css +6 -0
- package/lib/components/Card/style.css +50 -55
- package/lib/components/CheckTransformList/style.css +327 -103
- package/lib/components/Checkbox/style.css +5 -0
- package/lib/components/CheckboxList/style.css +5 -0
- package/lib/components/Collapse/style.css +34 -2
- package/lib/components/DateTimePicker/Base/style.css +446 -56
- package/lib/components/DateTimePicker/DisplayInput/style.css +218 -40
- package/lib/components/DateTimePicker/index.js +1 -1
- package/lib/components/DateTimePicker/style.css +77 -46
- package/lib/components/Descriptions/style.css +77 -46
- package/lib/components/Drawer/index.d.ts +6 -6
- package/lib/components/Drawer/index.js +4 -4
- package/lib/components/Drawer/style.css +244 -169
- package/lib/components/Drawer/style.less +8 -0
- package/lib/components/FileResumable/style.css +12 -42
- package/lib/components/Input/index.d.ts +1 -1
- package/lib/components/Input/style.css +218 -40
- package/lib/components/Menu/style.css +16 -7
- package/lib/components/Modal/style.css +10 -7
- package/lib/components/NameLimiter/index.js +1 -1
- package/lib/components/NameLimiter/style.css +83 -55
- package/lib/components/OptionList/InlineOptionList/style.css +21 -8
- package/lib/components/OptionList/OptionItem/style.css +83 -55
- package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
- package/lib/components/OptionList/PopoverOptionList/style.css +77 -46
- package/lib/components/OptionList/style.css +181 -109
- package/lib/components/RadioGroup/style.css +27 -16
- package/lib/components/RangeInput/style.css +581 -64
- package/lib/components/RemarkName/style.css +83 -55
- package/lib/components/Selector/style.css +110 -22
- package/lib/components/Spin/style.css +8 -6
- package/lib/components/Steps/style.css +43 -5
- package/lib/components/Table/ColumnSetting/style.css +2 -5
- package/lib/components/Table/ColumnSetting/style.less +2 -3
- package/lib/components/Table/index.d.ts +12 -9
- package/lib/components/Table/index.js +73 -84
- package/lib/components/Table/style.css +99 -61
- package/lib/components/Tabs/style.css +117 -68
- package/lib/components/TopologyChart/index.d.ts +7 -0
- package/lib/components/TopologyChart/index.js +28 -0
- package/lib/components/TopologyChart/style.css +14 -0
- package/lib/components/TopologyChart/style.less +14 -0
- package/lib/components/TreeSelector/style.css +21 -9
- package/lib/index.css +4307 -3227
- package/lib/index.d.ts +1 -0
- package/lib/index.js +6 -1
- package/lib/index.less +18 -17
- package/package.json +7 -6
@@ -481,7 +481,6 @@
|
|
481
481
|
display: -webkit-box;
|
482
482
|
display: -ms-flexbox;
|
483
483
|
display: flex;
|
484
|
-
overflow: hidden;
|
485
484
|
}
|
486
485
|
.ant-tabs > .ant-tabs-nav,
|
487
486
|
.ant-tabs > div > .ant-tabs-nav {
|
@@ -656,7 +655,7 @@
|
|
656
655
|
}
|
657
656
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
658
657
|
color: #2c6dd2;
|
659
|
-
text-shadow: 0 0 0.25px
|
658
|
+
text-shadow: 0 0 0.25px currentcolor;
|
660
659
|
}
|
661
660
|
.ant-tabs-tab.ant-tabs-tab-disabled {
|
662
661
|
color: rgba(0, 0, 0, 0.25);
|
@@ -678,9 +677,7 @@
|
|
678
677
|
margin: 0 0 0 32px;
|
679
678
|
}
|
680
679
|
.ant-tabs-content {
|
681
|
-
|
682
|
-
display: -ms-flexbox;
|
683
|
-
display: flex;
|
680
|
+
position: relative;
|
684
681
|
width: 100%;
|
685
682
|
}
|
686
683
|
.ant-tabs-content-holder {
|
@@ -690,17 +687,41 @@
|
|
690
687
|
min-width: 0;
|
691
688
|
min-height: 0;
|
692
689
|
}
|
693
|
-
.ant-tabs-content-animated {
|
694
|
-
-webkit-transition: margin 0.3s;
|
695
|
-
transition: margin 0.3s;
|
696
|
-
}
|
697
690
|
.ant-tabs-tabpane {
|
698
|
-
-webkit-box-flex: 0;
|
699
|
-
-ms-flex: none;
|
700
|
-
flex: none;
|
701
|
-
width: 100%;
|
702
691
|
outline: none;
|
703
692
|
}
|
693
|
+
.ant-tabs-tabpane-hidden {
|
694
|
+
display: none;
|
695
|
+
}
|
696
|
+
.ant-tabs-switch-appear,
|
697
|
+
.ant-tabs-switch-enter {
|
698
|
+
-webkit-transition: none;
|
699
|
+
transition: none;
|
700
|
+
}
|
701
|
+
.ant-tabs-switch-appear-start,
|
702
|
+
.ant-tabs-switch-enter-start {
|
703
|
+
opacity: 0;
|
704
|
+
}
|
705
|
+
.ant-tabs-switch-appear-active,
|
706
|
+
.ant-tabs-switch-enter-active {
|
707
|
+
opacity: 1;
|
708
|
+
-webkit-transition: opacity 0.3s;
|
709
|
+
transition: opacity 0.3s;
|
710
|
+
}
|
711
|
+
.ant-tabs-switch-leave {
|
712
|
+
position: absolute;
|
713
|
+
-webkit-transition: none;
|
714
|
+
transition: none;
|
715
|
+
inset: 0;
|
716
|
+
}
|
717
|
+
.ant-tabs-switch-leave-start {
|
718
|
+
opacity: 1;
|
719
|
+
}
|
720
|
+
.ant-tabs-switch-leave-active {
|
721
|
+
opacity: 0;
|
722
|
+
-webkit-transition: opacity 0.3s;
|
723
|
+
transition: opacity 0.3s;
|
724
|
+
}
|
704
725
|
.ant-tooltip {
|
705
726
|
-webkit-box-sizing: border-box;
|
706
727
|
box-sizing: border-box;
|
@@ -719,31 +740,35 @@
|
|
719
740
|
width: -webkit-max-content;
|
720
741
|
width: -moz-max-content;
|
721
742
|
width: max-content;
|
743
|
+
width: intrinsic;
|
722
744
|
max-width: 250px;
|
723
745
|
visibility: visible;
|
724
746
|
}
|
747
|
+
.ant-tooltip-content {
|
748
|
+
position: relative;
|
749
|
+
}
|
725
750
|
.ant-tooltip-hidden {
|
726
751
|
display: none;
|
727
752
|
}
|
728
753
|
.ant-tooltip-placement-top,
|
729
754
|
.ant-tooltip-placement-topLeft,
|
730
755
|
.ant-tooltip-placement-topRight {
|
731
|
-
padding-bottom:
|
756
|
+
padding-bottom: 14.3137085px;
|
732
757
|
}
|
733
758
|
.ant-tooltip-placement-right,
|
734
759
|
.ant-tooltip-placement-rightTop,
|
735
760
|
.ant-tooltip-placement-rightBottom {
|
736
|
-
padding-left:
|
761
|
+
padding-left: 14.3137085px;
|
737
762
|
}
|
738
763
|
.ant-tooltip-placement-bottom,
|
739
764
|
.ant-tooltip-placement-bottomLeft,
|
740
765
|
.ant-tooltip-placement-bottomRight {
|
741
|
-
padding-top:
|
766
|
+
padding-top: 14.3137085px;
|
742
767
|
}
|
743
768
|
.ant-tooltip-placement-left,
|
744
769
|
.ant-tooltip-placement-leftTop,
|
745
770
|
.ant-tooltip-placement-leftBottom {
|
746
|
-
padding-right:
|
771
|
+
padding-right: 14.3137085px;
|
747
772
|
}
|
748
773
|
.ant-tooltip-inner {
|
749
774
|
min-width: 30px;
|
@@ -760,44 +785,62 @@
|
|
760
785
|
}
|
761
786
|
.ant-tooltip-arrow {
|
762
787
|
position: absolute;
|
788
|
+
z-index: 2;
|
763
789
|
display: block;
|
764
|
-
width:
|
765
|
-
height:
|
790
|
+
width: 22px;
|
791
|
+
height: 22px;
|
766
792
|
overflow: hidden;
|
767
793
|
background: transparent;
|
768
794
|
pointer-events: none;
|
769
795
|
}
|
770
796
|
.ant-tooltip-arrow-content {
|
797
|
+
--antd-arrow-background-color: linear-gradient(to right bottom, rgba(35, 44, 59, 0.7), rgba(35, 44, 59, 0.8));
|
771
798
|
position: absolute;
|
772
799
|
top: 0;
|
773
800
|
right: 0;
|
774
801
|
bottom: 0;
|
775
802
|
left: 0;
|
776
803
|
display: block;
|
777
|
-
width:
|
778
|
-
height:
|
804
|
+
width: 11.3137085px;
|
805
|
+
height: 11.3137085px;
|
779
806
|
margin: auto;
|
780
|
-
background-color: rgba(35, 44, 59, 0.8);
|
781
807
|
content: '';
|
782
808
|
pointer-events: auto;
|
809
|
+
border-radius: 0 0 2px;
|
810
|
+
pointer-events: none;
|
811
|
+
}
|
812
|
+
.ant-tooltip-arrow-content::before {
|
813
|
+
position: absolute;
|
814
|
+
top: -11.3137085px;
|
815
|
+
left: -11.3137085px;
|
816
|
+
width: 33.9411255px;
|
817
|
+
height: 33.9411255px;
|
818
|
+
background: var(--antd-arrow-background-color);
|
819
|
+
background-repeat: no-repeat;
|
820
|
+
background-position: -10px -10px;
|
821
|
+
content: '';
|
822
|
+
clip-path: inset(33% 33%);
|
823
|
+
clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
|
783
824
|
}
|
784
825
|
.ant-tooltip-placement-top .ant-tooltip-arrow,
|
785
826
|
.ant-tooltip-placement-topLeft .ant-tooltip-arrow,
|
786
827
|
.ant-tooltip-placement-topRight .ant-tooltip-arrow {
|
787
|
-
bottom:
|
828
|
+
bottom: 0;
|
829
|
+
-webkit-transform: translateY(100%);
|
830
|
+
transform: translateY(100%);
|
788
831
|
}
|
789
832
|
.ant-tooltip-placement-top .ant-tooltip-arrow-content,
|
790
833
|
.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,
|
791
834
|
.ant-tooltip-placement-topRight .ant-tooltip-arrow-content {
|
792
835
|
-webkit-box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
|
793
836
|
box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
|
794
|
-
-webkit-transform: translateY(-
|
795
|
-
transform: translateY(-
|
837
|
+
-webkit-transform: translateY(-11px) rotate(45deg);
|
838
|
+
transform: translateY(-11px) rotate(45deg);
|
796
839
|
}
|
797
840
|
.ant-tooltip-placement-top .ant-tooltip-arrow {
|
798
841
|
left: 50%;
|
799
|
-
-webkit-transform: translateX(-50%);
|
800
|
-
transform: translateX(-50%);
|
842
|
+
-webkit-transform: translateY(100%) translateX(-50%);
|
843
|
+
transform: translateY(100%) translateX(-50%);
|
801
844
|
}
|
802
845
|
.ant-tooltip-placement-topLeft .ant-tooltip-arrow {
|
803
846
|
left: 13px;
|
@@ -808,20 +851,22 @@
|
|
808
851
|
.ant-tooltip-placement-right .ant-tooltip-arrow,
|
809
852
|
.ant-tooltip-placement-rightTop .ant-tooltip-arrow,
|
810
853
|
.ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
|
811
|
-
left:
|
854
|
+
left: 0;
|
855
|
+
-webkit-transform: translateX(-100%);
|
856
|
+
transform: translateX(-100%);
|
812
857
|
}
|
813
858
|
.ant-tooltip-placement-right .ant-tooltip-arrow-content,
|
814
859
|
.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,
|
815
860
|
.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content {
|
816
861
|
-webkit-box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
|
817
862
|
box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
|
818
|
-
-webkit-transform: translateX(
|
819
|
-
transform: translateX(
|
863
|
+
-webkit-transform: translateX(11px) rotate(135deg);
|
864
|
+
transform: translateX(11px) rotate(135deg);
|
820
865
|
}
|
821
866
|
.ant-tooltip-placement-right .ant-tooltip-arrow {
|
822
867
|
top: 50%;
|
823
|
-
-webkit-transform: translateY(-50%);
|
824
|
-
transform: translateY(-50%);
|
868
|
+
-webkit-transform: translateX(-100%) translateY(-50%);
|
869
|
+
transform: translateX(-100%) translateY(-50%);
|
825
870
|
}
|
826
871
|
.ant-tooltip-placement-rightTop .ant-tooltip-arrow {
|
827
872
|
top: 5px;
|
@@ -832,20 +877,22 @@
|
|
832
877
|
.ant-tooltip-placement-left .ant-tooltip-arrow,
|
833
878
|
.ant-tooltip-placement-leftTop .ant-tooltip-arrow,
|
834
879
|
.ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
|
835
|
-
right:
|
880
|
+
right: 0;
|
881
|
+
-webkit-transform: translateX(100%);
|
882
|
+
transform: translateX(100%);
|
836
883
|
}
|
837
884
|
.ant-tooltip-placement-left .ant-tooltip-arrow-content,
|
838
885
|
.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,
|
839
886
|
.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content {
|
840
887
|
-webkit-box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
|
841
888
|
box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
|
842
|
-
-webkit-transform: translateX(-
|
843
|
-
transform: translateX(-
|
889
|
+
-webkit-transform: translateX(-11px) rotate(315deg);
|
890
|
+
transform: translateX(-11px) rotate(315deg);
|
844
891
|
}
|
845
892
|
.ant-tooltip-placement-left .ant-tooltip-arrow {
|
846
893
|
top: 50%;
|
847
|
-
-webkit-transform: translateY(-50%);
|
848
|
-
transform: translateY(-50%);
|
894
|
+
-webkit-transform: translateX(100%) translateY(-50%);
|
895
|
+
transform: translateX(100%) translateY(-50%);
|
849
896
|
}
|
850
897
|
.ant-tooltip-placement-leftTop .ant-tooltip-arrow {
|
851
898
|
top: 5px;
|
@@ -856,20 +903,22 @@
|
|
856
903
|
.ant-tooltip-placement-bottom .ant-tooltip-arrow,
|
857
904
|
.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,
|
858
905
|
.ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
|
859
|
-
top:
|
906
|
+
top: 0;
|
907
|
+
-webkit-transform: translateY(-100%);
|
908
|
+
transform: translateY(-100%);
|
860
909
|
}
|
861
910
|
.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,
|
862
911
|
.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,
|
863
912
|
.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content {
|
864
913
|
-webkit-box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);
|
865
914
|
box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);
|
866
|
-
-webkit-transform: translateY(
|
867
|
-
transform: translateY(
|
915
|
+
-webkit-transform: translateY(11px) rotate(225deg);
|
916
|
+
transform: translateY(11px) rotate(225deg);
|
868
917
|
}
|
869
918
|
.ant-tooltip-placement-bottom .ant-tooltip-arrow {
|
870
919
|
left: 50%;
|
871
|
-
-webkit-transform: translateX(-50%);
|
872
|
-
transform: translateX(-50%);
|
920
|
+
-webkit-transform: translateY(-100%) translateX(-50%);
|
921
|
+
transform: translateY(-100%) translateX(-50%);
|
873
922
|
}
|
874
923
|
.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {
|
875
924
|
left: 13px;
|
@@ -880,80 +929,80 @@
|
|
880
929
|
.ant-tooltip-pink .ant-tooltip-inner {
|
881
930
|
background-color: #eb2f96;
|
882
931
|
}
|
883
|
-
.ant-tooltip-pink .ant-tooltip-arrow-content {
|
884
|
-
background
|
932
|
+
.ant-tooltip-pink .ant-tooltip-arrow-content::before {
|
933
|
+
background: #eb2f96;
|
885
934
|
}
|
886
935
|
.ant-tooltip-magenta .ant-tooltip-inner {
|
887
936
|
background-color: #eb2f96;
|
888
937
|
}
|
889
|
-
.ant-tooltip-magenta .ant-tooltip-arrow-content {
|
890
|
-
background
|
938
|
+
.ant-tooltip-magenta .ant-tooltip-arrow-content::before {
|
939
|
+
background: #eb2f96;
|
891
940
|
}
|
892
941
|
.ant-tooltip-red .ant-tooltip-inner {
|
893
942
|
background-color: #f5222d;
|
894
943
|
}
|
895
|
-
.ant-tooltip-red .ant-tooltip-arrow-content {
|
896
|
-
background
|
944
|
+
.ant-tooltip-red .ant-tooltip-arrow-content::before {
|
945
|
+
background: #f5222d;
|
897
946
|
}
|
898
947
|
.ant-tooltip-volcano .ant-tooltip-inner {
|
899
948
|
background-color: #fa541c;
|
900
949
|
}
|
901
|
-
.ant-tooltip-volcano .ant-tooltip-arrow-content {
|
902
|
-
background
|
950
|
+
.ant-tooltip-volcano .ant-tooltip-arrow-content::before {
|
951
|
+
background: #fa541c;
|
903
952
|
}
|
904
953
|
.ant-tooltip-orange .ant-tooltip-inner {
|
905
954
|
background-color: #fa8c16;
|
906
955
|
}
|
907
|
-
.ant-tooltip-orange .ant-tooltip-arrow-content {
|
908
|
-
background
|
956
|
+
.ant-tooltip-orange .ant-tooltip-arrow-content::before {
|
957
|
+
background: #fa8c16;
|
909
958
|
}
|
910
959
|
.ant-tooltip-yellow .ant-tooltip-inner {
|
911
960
|
background-color: #fadb14;
|
912
961
|
}
|
913
|
-
.ant-tooltip-yellow .ant-tooltip-arrow-content {
|
914
|
-
background
|
962
|
+
.ant-tooltip-yellow .ant-tooltip-arrow-content::before {
|
963
|
+
background: #fadb14;
|
915
964
|
}
|
916
965
|
.ant-tooltip-gold .ant-tooltip-inner {
|
917
966
|
background-color: #faad14;
|
918
967
|
}
|
919
|
-
.ant-tooltip-gold .ant-tooltip-arrow-content {
|
920
|
-
background
|
968
|
+
.ant-tooltip-gold .ant-tooltip-arrow-content::before {
|
969
|
+
background: #faad14;
|
921
970
|
}
|
922
971
|
.ant-tooltip-cyan .ant-tooltip-inner {
|
923
972
|
background-color: #13c2c2;
|
924
973
|
}
|
925
|
-
.ant-tooltip-cyan .ant-tooltip-arrow-content {
|
926
|
-
background
|
974
|
+
.ant-tooltip-cyan .ant-tooltip-arrow-content::before {
|
975
|
+
background: #13c2c2;
|
927
976
|
}
|
928
977
|
.ant-tooltip-lime .ant-tooltip-inner {
|
929
978
|
background-color: #a0d911;
|
930
979
|
}
|
931
|
-
.ant-tooltip-lime .ant-tooltip-arrow-content {
|
932
|
-
background
|
980
|
+
.ant-tooltip-lime .ant-tooltip-arrow-content::before {
|
981
|
+
background: #a0d911;
|
933
982
|
}
|
934
983
|
.ant-tooltip-green .ant-tooltip-inner {
|
935
984
|
background-color: #52c41a;
|
936
985
|
}
|
937
|
-
.ant-tooltip-green .ant-tooltip-arrow-content {
|
938
|
-
background
|
986
|
+
.ant-tooltip-green .ant-tooltip-arrow-content::before {
|
987
|
+
background: #52c41a;
|
939
988
|
}
|
940
989
|
.ant-tooltip-blue .ant-tooltip-inner {
|
941
990
|
background-color: #1890ff;
|
942
991
|
}
|
943
|
-
.ant-tooltip-blue .ant-tooltip-arrow-content {
|
944
|
-
background
|
992
|
+
.ant-tooltip-blue .ant-tooltip-arrow-content::before {
|
993
|
+
background: #1890ff;
|
945
994
|
}
|
946
995
|
.ant-tooltip-geekblue .ant-tooltip-inner {
|
947
996
|
background-color: #2f54eb;
|
948
997
|
}
|
949
|
-
.ant-tooltip-geekblue .ant-tooltip-arrow-content {
|
950
|
-
background
|
998
|
+
.ant-tooltip-geekblue .ant-tooltip-arrow-content::before {
|
999
|
+
background: #2f54eb;
|
951
1000
|
}
|
952
1001
|
.ant-tooltip-purple .ant-tooltip-inner {
|
953
1002
|
background-color: #722ed1;
|
954
1003
|
}
|
955
|
-
.ant-tooltip-purple .ant-tooltip-arrow-content {
|
956
|
-
background
|
1004
|
+
.ant-tooltip-purple .ant-tooltip-arrow-content::before {
|
1005
|
+
background: #722ed1;
|
957
1006
|
}
|
958
1007
|
.ant-tooltip-rtl {
|
959
1008
|
direction: rtl;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { IFuchtermanProps } from 'webcmp-topo-chart-horizontal/es/components/Fruchterman/Chart';
|
3
|
+
import 'webcmp-topo-chart-horizontal/es/components/Fruchterman/style/index.css';
|
4
|
+
export { ENodeShape, IFruchtermanData, IEdge, INode } from 'webcmp-topo-chart-horizontal/es/components/Fruchterman/Chart/model';
|
5
|
+
export { IFuchtermanProps } from 'webcmp-topo-chart-horizontal/es/components/Fruchterman/Chart';
|
6
|
+
export { ELayoutTYpe } from 'webcmp-topo-chart-horizontal';
|
7
|
+
export default function TopologyChart(props: IFuchtermanProps): React.JSX.Element;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
exports.ELayoutTYpe = exports.ENodeShape = void 0;
|
18
|
+
var react_1 = __importDefault(require("react"));
|
19
|
+
var webcmp_topo_chart_horizontal_1 = require("webcmp-topo-chart-horizontal");
|
20
|
+
require("webcmp-topo-chart-horizontal/es/components/Fruchterman/style/index.css");
|
21
|
+
var model_1 = require("webcmp-topo-chart-horizontal/es/components/Fruchterman/Chart/model");
|
22
|
+
Object.defineProperty(exports, "ENodeShape", { enumerable: true, get: function () { return model_1.ENodeShape; } });
|
23
|
+
var webcmp_topo_chart_horizontal_2 = require("webcmp-topo-chart-horizontal");
|
24
|
+
Object.defineProperty(exports, "ELayoutTYpe", { enumerable: true, get: function () { return webcmp_topo_chart_horizontal_2.ELayoutTYpe; } });
|
25
|
+
function TopologyChart(props) {
|
26
|
+
return react_1.default.createElement(webcmp_topo_chart_horizontal_1.FruchtermanChart, __assign({}, props));
|
27
|
+
}
|
28
|
+
exports.default = TopologyChart;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
.topo-tooltip-table {
|
2
|
+
width: 100%;
|
3
|
+
min-width: 250px;
|
4
|
+
}
|
5
|
+
.topo-tooltip-table tr + tr td {
|
6
|
+
padding-top: 12px;
|
7
|
+
}
|
8
|
+
.topo-tooltip-table td {
|
9
|
+
padding-right: 12px;
|
10
|
+
padding-left: 12px;
|
11
|
+
}
|
12
|
+
.topo-tooltip-table td div + div {
|
13
|
+
font-weight: 600;
|
14
|
+
}
|
@@ -156,6 +156,7 @@
|
|
156
156
|
}
|
157
157
|
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input {
|
158
158
|
cursor: not-allowed;
|
159
|
+
pointer-events: none;
|
159
160
|
}
|
160
161
|
.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
|
161
162
|
background-color: #f5f5f5;
|
@@ -208,6 +209,10 @@
|
|
208
209
|
.ant-select-tree-checkbox-wrapper + .ant-select-tree-checkbox-wrapper {
|
209
210
|
margin-left: 8px;
|
210
211
|
}
|
212
|
+
.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-in-form-item input[type='checkbox'] {
|
213
|
+
width: 14px;
|
214
|
+
height: 14px;
|
215
|
+
}
|
211
216
|
.ant-select-tree-checkbox + span {
|
212
217
|
padding-right: 8px;
|
213
218
|
padding-left: 8px;
|
@@ -353,6 +358,21 @@
|
|
353
358
|
color: inherit;
|
354
359
|
font-weight: 500;
|
355
360
|
}
|
361
|
+
.ant-select-tree .ant-select-tree-treenode-draggable .ant-select-tree-draggable-icon {
|
362
|
+
width: 24px;
|
363
|
+
line-height: 24px;
|
364
|
+
text-align: center;
|
365
|
+
visibility: visible;
|
366
|
+
opacity: 0.2;
|
367
|
+
-webkit-transition: opacity 0.3s;
|
368
|
+
transition: opacity 0.3s;
|
369
|
+
}
|
370
|
+
.ant-select-tree-treenode:hover .ant-select-tree .ant-select-tree-treenode-draggable .ant-select-tree-draggable-icon {
|
371
|
+
opacity: 0.45;
|
372
|
+
}
|
373
|
+
.ant-select-tree .ant-select-tree-treenode-draggable.ant-select-tree-treenode-disabled .ant-select-tree-draggable-icon {
|
374
|
+
visibility: hidden;
|
375
|
+
}
|
356
376
|
.ant-select-tree-indent {
|
357
377
|
-ms-flex-item-align: stretch;
|
358
378
|
align-self: stretch;
|
@@ -367,15 +387,7 @@
|
|
367
387
|
width: 24px;
|
368
388
|
}
|
369
389
|
.ant-select-tree-draggable-icon {
|
370
|
-
|
371
|
-
line-height: 24px;
|
372
|
-
text-align: center;
|
373
|
-
opacity: 0.2;
|
374
|
-
-webkit-transition: opacity 0.3s;
|
375
|
-
transition: opacity 0.3s;
|
376
|
-
}
|
377
|
-
.ant-select-tree-treenode:hover .ant-select-tree-draggable-icon {
|
378
|
-
opacity: 0.45;
|
390
|
+
visibility: hidden;
|
379
391
|
}
|
380
392
|
.ant-select-tree-switcher {
|
381
393
|
position: relative;
|