@zat-design/sisyphus-react 3.4.0 → 3.4.1-beta.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.
Files changed (82) hide show
  1. package/dist/index.esm.css +121 -124
  2. package/es/ProEditTable/components/DndWrapper/index.d.ts +1 -1
  3. package/es/ProEditTable/components/DndWrapper/index.js +5 -5
  4. package/es/ProEditTable/components/RenderField/index.js +1 -1
  5. package/es/ProEditTable/index.js +15 -9
  6. package/es/ProEditTable/style/index.less +36 -55
  7. package/es/ProEditTable/utils/index.js +2 -2
  8. package/es/ProEnum/components/Group.d.ts +7 -0
  9. package/es/ProEnum/components/Group.js +51 -0
  10. package/es/ProEnum/index.js +25 -2
  11. package/es/ProEnum/propsType.d.ts +2 -2
  12. package/es/ProEnum/propsType.js +1 -1
  13. package/es/ProEnum/style/index.less +65 -1
  14. package/es/ProForm/components/base/InputNumber/index.js +2 -2
  15. package/es/ProForm/components/base/Radio/index.js +1 -1
  16. package/es/ProForm/components/base/Select/index.js +0 -13
  17. package/es/ProForm/components/combination/FormList/components/LineFields.js +1 -0
  18. package/es/ProForm/components/combination/ProNumberRange/style/index.less +20 -19
  19. package/es/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
  20. package/es/ProForm/components/render/ConfirmWrapper.js +58 -0
  21. package/es/ProForm/components/render/Render.js +19 -6
  22. package/es/ProForm/components/render/RenderFields.js +9 -9
  23. package/es/ProForm/components/render/propsType.d.ts +5 -2
  24. package/es/ProForm/style/index.less +6 -1
  25. package/es/ProForm/utils/useShouldUpdate.js +1 -1
  26. package/es/ProForm/utils/valueType.js +37 -3
  27. package/es/ProIcon/index.d.ts +0 -1
  28. package/es/ProIcon/index.js +6 -4
  29. package/es/ProIcon/style/index.less +4 -6
  30. package/es/ProIcon/symbolIcon.js +20 -20
  31. package/es/ProLayout/components/ProCollapse/style/index.less +17 -7
  32. package/es/ProLayout/components/ProHeader/style/index.less +109 -101
  33. package/es/ProTable/components/RenderColumn/index.js +1 -2
  34. package/es/ProTable/propsType.d.ts +1 -1
  35. package/es/ProTable/style/index.less +196 -99
  36. package/es/ProTable/utils.js +1 -1
  37. package/es/ProThemeTools/component/PrdTools/index.js +3 -3
  38. package/es/ProThemeTools/index.js +4 -2
  39. package/es/ProTreeModal/components/SortableItem.js +5 -7
  40. package/es/ProTreeModal/style/index.less +0 -6
  41. package/es/style/core/mixins.less +12 -5
  42. package/lib/ProEditTable/components/DndWrapper/index.d.ts +1 -1
  43. package/lib/ProEditTable/components/DndWrapper/index.js +5 -5
  44. package/lib/ProEditTable/components/RenderField/index.js +1 -1
  45. package/lib/ProEditTable/index.js +13 -7
  46. package/lib/ProEditTable/style/index.less +36 -55
  47. package/lib/ProEditTable/utils/index.js +2 -2
  48. package/lib/ProEnum/components/Group.d.ts +7 -0
  49. package/lib/ProEnum/components/Group.js +58 -0
  50. package/lib/ProEnum/index.js +25 -2
  51. package/lib/ProEnum/propsType.d.ts +2 -2
  52. package/lib/ProEnum/propsType.js +1 -1
  53. package/lib/ProEnum/style/index.less +65 -1
  54. package/lib/ProForm/components/base/InputNumber/index.js +2 -2
  55. package/lib/ProForm/components/base/Radio/index.js +1 -1
  56. package/lib/ProForm/components/base/Select/index.js +0 -13
  57. package/lib/ProForm/components/combination/FormList/components/LineFields.js +1 -0
  58. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +20 -19
  59. package/lib/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
  60. package/lib/ProForm/components/render/ConfirmWrapper.js +64 -0
  61. package/lib/ProForm/components/render/Render.js +19 -6
  62. package/lib/ProForm/components/render/RenderFields.js +9 -9
  63. package/lib/ProForm/components/render/propsType.d.ts +5 -2
  64. package/lib/ProForm/style/index.less +6 -1
  65. package/lib/ProForm/utils/useShouldUpdate.js +1 -1
  66. package/lib/ProForm/utils/valueType.js +37 -3
  67. package/lib/ProIcon/index.d.ts +0 -1
  68. package/lib/ProIcon/index.js +6 -4
  69. package/lib/ProIcon/style/index.less +4 -6
  70. package/lib/ProIcon/symbolIcon.js +20 -20
  71. package/lib/ProLayout/components/ProCollapse/style/index.less +17 -7
  72. package/lib/ProLayout/components/ProHeader/style/index.less +109 -101
  73. package/lib/ProTable/components/RenderColumn/index.js +1 -2
  74. package/lib/ProTable/propsType.d.ts +1 -1
  75. package/lib/ProTable/style/index.less +196 -99
  76. package/lib/ProTable/utils.js +1 -1
  77. package/lib/ProThemeTools/component/PrdTools/index.js +2 -2
  78. package/lib/ProThemeTools/index.js +3 -1
  79. package/lib/ProTreeModal/components/SortableItem.js +5 -7
  80. package/lib/ProTreeModal/style/index.less +0 -6
  81. package/lib/style/core/mixins.less +12 -5
  82. package/package.json +1 -1
@@ -682,7 +682,7 @@
682
682
  -webkit-align-items: center !important;
683
683
  -ms-flex-align: center !important;
684
684
  align-items: center !important;
685
- padding: 12px var(--zaui-space-size-md, 16px) !important;
685
+ padding: 10px var(--zaui-space-size-md, 16px) !important;
686
686
  background: var(--zaui-area, #fafafa);
687
687
  }
688
688
  .pro-collapse .ant-collapse-header-text {
@@ -702,6 +702,7 @@
702
702
  }
703
703
  .pro-collapse .ant-collapse-content-box .pro-collapse-content {
704
704
  padding: var(--zaui-space-size-md, 16px);
705
+ padding-top: var(--zaui-space-size-sm, 8px);
705
706
  padding-bottom: 0;
706
707
  background: var(--zaui-base-bg, #ffffff);
707
708
  }
@@ -710,13 +711,12 @@
710
711
  background: var(--zaui-base-bg, #ffffff);
711
712
  }
712
713
  .pro-collapse.pro-collapse-level2 .ant-collapse-header {
713
- margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
714
714
  padding: 0 !important;
715
715
  background: var(--zaui-base-bg, #ffffff);
716
716
  }
717
717
  .pro-collapse.pro-collapse-level2 .ant-collapse-header .ant-collapse-header-text {
718
718
  position: relative;
719
- padding-left: var(--zaui-space-size-sm, 8px);
719
+ padding-left: 12px;
720
720
  font-size: var(--zaui-font-size, 14px);
721
721
  }
722
722
  .pro-collapse.pro-collapse-level2 .ant-collapse-header .ant-collapse-header-text::before {
@@ -734,6 +734,17 @@
734
734
  .pro-collapse.pro-collapse-level2 .ant-collapse-header .ant-collapse-extra .extra-info {
735
735
  margin-right: var(--zaui-space-size-sm, 8px);
736
736
  }
737
+ .pro-collapse.pro-collapse-level2 .pro-collapse-content {
738
+ padding-top: var(--zaui-space-size-sm, 8px) !important;
739
+ }
740
+ .pro-collapse.pro-collapse-level2 .pro-collapse-level2-collapse .ant-collapse-header {
741
+ padding: 0 8px 6px !important;
742
+ border-bottom: 2px solid #dee0e3;
743
+ margin: 0 -8px;
744
+ }
745
+ .pro-collapse.pro-collapse-level2 .pro-collapse-level2-collapse .ant-collapse-header .ant-collapse-arrow {
746
+ right: 8px;
747
+ }
737
748
  .pro-collapse.pro-collapse-level2 .pro-collapse-level2-collapse .ant-collapse-extra .extra-info {
738
749
  margin-right: var(--zaui-space-size-lg, 32px);
739
750
  }
@@ -759,7 +770,7 @@
759
770
  }
760
771
  .pro-collapse.pro-collapse-list .ant-descriptions-row > th,
761
772
  .pro-collapse.pro-collapse-list .ant-descriptions-row > td {
762
- padding: var(--zaui-space-size-md, 16px) 0;
773
+ padding: var(--zaui-space-size-sm, 8px) 0;
763
774
  background: #fafafa;
764
775
  }
765
776
  .pro-collapse.pro-collapse-list .ant-descriptions-row > th.ant-descriptions-item,
@@ -787,9 +798,6 @@
787
798
  font-weight: 500 !important;
788
799
  font-size: var(--zaui-font-size, 14px);
789
800
  }
790
- .pro-collapse.pro-collapse-list .ant-descriptions {
791
- margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
792
- }
793
801
  .pro-footer {
794
802
  position: fixed;
795
803
  right: 0;
@@ -819,8 +827,8 @@
819
827
  background: var(--zaui-disabled-bg);
820
828
  }
821
829
  .pro-header {
822
- background-color: var(--zaui-base-bg, #ffffff);
823
830
  padding: 16px 0 0 0 !important;
831
+ background-color: var(--zaui-base-bg, #ffffff);
824
832
  }
825
833
  .pro-header.pro-header-no-back.pro-header-has-describe .pro-header-top {
826
834
  padding-left: var(--zaui-space-size-md, 16px);
@@ -832,24 +840,22 @@
832
840
  margin-left: 0 !important;
833
841
  }
834
842
  .pro-header.pro-header-no-describe {
843
+ margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
835
844
  -webkit-box-shadow: none;
836
845
  box-shadow: none;
837
- margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
838
846
  }
839
847
  .pro-header.pro-header-no-describe .pro-header-title,
840
848
  .pro-header.pro-header-no-describe .pro-header-top {
841
- padding: 0;
842
849
  margin: 0;
850
+ padding: 0;
843
851
  }
844
852
  .pro-header.pro-header-fixed.pro-header-no-describe .pro-header-top {
845
853
  padding-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1) - var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1));
846
854
  }
847
855
  .pro-header .pro-header-describe a {
848
- color: var(--zaui-link, #006AFF);
856
+ color: var(--zaui-link, #006aff);
849
857
  }
850
858
  .pro-header .pro-header-copy {
851
- margin-bottom: 0;
852
- width: 14px;
853
859
  display: -webkit-box;
854
860
  display: -webkit-flex;
855
861
  display: -ms-flexbox;
@@ -858,12 +864,14 @@
858
864
  -webkit-align-items: center;
859
865
  -ms-flex-align: center;
860
866
  align-items: center;
867
+ width: 16px;
868
+ margin-bottom: 0;
861
869
  }
862
870
  .pro-header .pro-header-copy .ant-typography-copy-success svg {
863
- width: 14px;
864
- height: 14px;
865
- fill: var(--zaui-success, #00AE4D);
866
871
  display: inline-block;
872
+ width: 16px;
873
+ height: 16px;
874
+ fill: var(--zaui-success, #00ae4d);
867
875
  }
868
876
  .pro-header .pro-header-copy .drag-icon div {
869
877
  display: -webkit-box;
@@ -872,26 +880,26 @@
872
880
  display: flex;
873
881
  }
874
882
  .pro-header .pro-header-copy .drag-icon svg {
875
- width: 14px;
876
- height: 14px;
877
- fill: #3F3F3F;
878
883
  display: inline-block;
884
+ width: 16px;
885
+ height: 16px;
886
+ fill: var(--zaui-brand, #006aff);
879
887
  }
880
888
  .pro-header .pro-header-tag {
881
- background: var(--ant-primary-1, #e6f4ff);
882
- color: var(--zaui-brand, #006AFF);
889
+ display: inline-block;
883
890
  padding: 4px 8px;
884
- border-radius: var(--zaui-border-radius-card, 2px);
885
- font-size: var(--zaui-font-size-sm, 12px);
891
+ color: var(--zaui-brand, #006aff);
886
892
  font-weight: normal;
893
+ font-size: var(--zaui-font-size-sm, 12px);
887
894
  line-height: 16px;
888
- display: inline-block;
889
895
  white-space: pre;
896
+ background: var(--ant-primary-1, #e6f4ff);
897
+ border-radius: var(--zaui-border-radius-card, 2px);
890
898
  }
891
899
  .pro-header .pro-header-title {
900
+ padding: 0 var(--zaui-space-size-md, 16px);
892
901
  font-weight: 500;
893
902
  font-size: var(--zaui-font-size-xl, 18px);
894
- padding: 0 var(--zaui-space-size-md, 16px);
895
903
  line-height: 22px;
896
904
  }
897
905
  .pro-header.pro-header-fixed {
@@ -906,35 +914,35 @@
906
914
  box-shadow: 0px 1px 2px 0px rgba(0, 55, 93, 0.1);
907
915
  }
908
916
  .pro-header .ant-breadcrumb li {
917
+ color: #1d2129;
909
918
  font-weight: 500;
910
- color: #1D2129;
911
919
  }
912
920
  .pro-header .ant-breadcrumb .ant-breadcrumb-link {
913
- font-size: var(--zaui-font-size-xl, 18px);
914
921
  display: -webkit-inline-box;
915
922
  display: -webkit-inline-flex;
916
923
  display: -ms-inline-flexbox;
917
924
  display: inline-flex;
925
+ font-size: var(--zaui-font-size-xl, 18px);
918
926
  }
919
927
  .pro-header .ant-breadcrumb .ant-breadcrumb-separator {
928
+ margin: 0 var(--zaui-space-size-xs, 4px);
929
+ color: #1d2129;
920
930
  font-weight: 500;
921
- color: #1D2129;
922
931
  font-size: var(--zaui-font-size-xl, 18px);
923
- margin: 0 var(--zaui-space-size-xs, 4px);
924
932
  }
925
933
  .pro-header .pro-header-top {
926
934
  display: -webkit-box;
927
935
  display: -webkit-flex;
928
936
  display: -ms-flexbox;
929
937
  display: flex;
930
- -webkit-box-pack: justify;
931
- -webkit-justify-content: space-between;
932
- -ms-flex-pack: justify;
933
- justify-content: space-between;
934
938
  -webkit-box-align: center;
935
939
  -webkit-align-items: center;
936
940
  -ms-flex-align: center;
937
941
  align-items: center;
942
+ -webkit-box-pack: justify;
943
+ -webkit-justify-content: space-between;
944
+ -ms-flex-pack: justify;
945
+ justify-content: space-between;
938
946
  margin-bottom: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
939
947
  padding: 0 var(--zaui-space-size-md, 16px);
940
948
  }
@@ -963,13 +971,13 @@
963
971
  align-items: center;
964
972
  }
965
973
  .pro-header .pro-header-top .pro-header-left ul li {
966
- color: #1D2129;
967
- font-size: var(--zaui-font-size-xl, 18px);
968
- font-weight: 500;
969
974
  display: -webkit-box;
970
975
  display: -webkit-flex;
971
976
  display: -ms-flexbox;
972
977
  display: flex;
978
+ color: #1d2129;
979
+ font-weight: 500;
980
+ font-size: var(--zaui-font-size-xl, 18px);
973
981
  }
974
982
  .pro-header .pro-header-top .pro-header-left ul li .breadcrumb-value {
975
983
  display: inline-block;
@@ -996,14 +1004,14 @@
996
1004
  margin-bottom: 0;
997
1005
  }
998
1006
  .pro-header .pro-header-top .pro-header-left ul li.version {
999
- background: var(--ant-primary-1, #e6f4ff);
1000
- border-radius: var(--zaui-border-radius, 4px);
1001
- color: var(--zaui-brand, #006AFF);
1002
- font-style: initial;
1007
+ height: 24px;
1003
1008
  padding: 0 var(--zaui-space-size-sm, 8px);
1009
+ color: var(--zaui-brand, #006aff);
1004
1010
  font-size: var(--zaui-font-size-sm, 12px);
1005
- height: 24px;
1011
+ font-style: initial;
1006
1012
  line-height: 24px;
1013
+ background: var(--ant-primary-1, #e6f4ff);
1014
+ border-radius: var(--zaui-border-radius, 4px);
1007
1015
  }
1008
1016
  .pro-header .pro-header-top .pro-header-left ul li.hidden {
1009
1017
  display: none;
@@ -1021,13 +1029,13 @@
1021
1029
  margin: 0;
1022
1030
  }
1023
1031
  .pro-header .pro-header-nav {
1032
+ position: relative;
1024
1033
  display: -webkit-box;
1025
1034
  display: -webkit-flex;
1026
1035
  display: -ms-flexbox;
1027
1036
  display: flex;
1028
- background: #F7F9FC;
1029
- border-top: 1px solid #F2F2F2;
1030
- position: relative;
1037
+ background: #f7f9fc;
1038
+ border-top: 1px solid #f2f2f2;
1031
1039
  }
1032
1040
  .pro-header .pro-header-nav.pro-header-nav-open .pro-header-fold .pro-header-fold-bg {
1033
1041
  -webkit-transform: rotate(180deg);
@@ -1050,31 +1058,31 @@
1050
1058
  cursor: pointer;
1051
1059
  }
1052
1060
  .pro-header .pro-header-nav .pro-header-fold .pro-header-fold-bg {
1053
- background: #fff;
1054
1061
  position: relative;
1055
1062
  z-index: 2;
1056
1063
  height: 26px;
1064
+ background: #fff;
1057
1065
  -webkit-transform: rotate(0deg);
1058
1066
  transform: rotate(0deg);
1059
1067
  -webkit-transform-origin: center;
1060
1068
  transform-origin: center;
1061
1069
  }
1062
1070
  .pro-header .pro-header-nav .pro-header-fold::before {
1063
- content: '';
1064
- z-index: 1;
1065
1071
  position: absolute;
1066
1072
  bottom: 13px;
1067
1073
  left: 50%;
1068
- -webkit-transform: translateX(-50%);
1069
- transform: translateX(-50%);
1074
+ z-index: 1;
1070
1075
  width: 140px;
1071
1076
  height: 1px;
1072
- background: -webkit-gradient(linear, left top, right top, from(rgba(238, 238, 238, 0)), color-stop(37%, var(--zaui-brand, #006AFF)), color-stop(57%, var(--zaui-brand, #006AFF)), to(rgba(216, 216, 216, 0)));
1073
- background: -webkit-linear-gradient(left, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006AFF) 37%, var(--zaui-brand, #006AFF) 57%, rgba(216, 216, 216, 0) 100%);
1074
- background: linear-gradient(90deg, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006AFF) 37%, var(--zaui-brand, #006AFF) 57%, rgba(216, 216, 216, 0) 100%);
1077
+ background: -webkit-gradient(linear, left top, right top, from(rgba(238, 238, 238, 0)), color-stop(37%, var(--zaui-brand, #006aff)), color-stop(57%, var(--zaui-brand, #006aff)), to(rgba(216, 216, 216, 0)));
1078
+ background: -webkit-linear-gradient(left, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006aff) 37%, var(--zaui-brand, #006aff) 57%, rgba(216, 216, 216, 0) 100%);
1079
+ background: linear-gradient(90deg, rgba(238, 238, 238, 0) 0%, var(--zaui-brand, #006aff) 37%, var(--zaui-brand, #006aff) 57%, rgba(216, 216, 216, 0) 100%);
1080
+ -webkit-transform: translateX(-50%);
1081
+ transform: translateX(-50%);
1082
+ content: '';
1075
1083
  }
1076
1084
  .pro-header .pro-header-nav .pro-header-fold svg {
1077
- fill: var(--zaui-brand, #006AFF);
1085
+ fill: var(--zaui-brand, #006aff);
1078
1086
  }
1079
1087
  .pro-header .pro-header-nav ul {
1080
1088
  display: -webkit-box;
@@ -1084,15 +1092,15 @@
1084
1092
  -webkit-flex-wrap: wrap;
1085
1093
  -ms-flex-wrap: wrap;
1086
1094
  flex-wrap: wrap;
1095
+ height: 60px;
1087
1096
  padding: 0 16px;
1097
+ overflow: hidden;
1088
1098
  -webkit-transition: height 0.2s ease-in-out;
1089
1099
  transition: height 0.2s ease-in-out;
1090
- height: 60px;
1091
- overflow: hidden;
1092
1100
  }
1093
1101
  .pro-header .pro-header-nav ul li {
1094
- margin-right: 52px;
1095
1102
  margin-top: 4px;
1103
+ margin-right: 52px;
1096
1104
  margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
1097
1105
  }
1098
1106
  .pro-header .pro-header-nav ul li:last-child {
@@ -1125,9 +1133,9 @@
1125
1133
  -webkit-flex-wrap: wrap;
1126
1134
  -ms-flex-wrap: wrap;
1127
1135
  flex-wrap: wrap;
1128
- font-size: var(--zaui-font-size, 14px);
1129
1136
  padding: 0 var(--zaui-space-size-md, 16px);
1130
1137
  padding-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1) - var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1));
1138
+ font-size: var(--zaui-font-size, 14px);
1131
1139
  }
1132
1140
  .pro-header .pro-header-describe li {
1133
1141
  margin-left: var(--zaui-space-card, 32px);
@@ -1142,15 +1150,15 @@
1142
1150
  margin-left: 0;
1143
1151
  }
1144
1152
  .pro-header .pro-header-describe li span {
1153
+ color: #0a0a0a;
1145
1154
  font-weight: 400;
1146
- color: #0A0A0A;
1147
1155
  }
1148
1156
  .pro-header .pro-header-describe li span:first-child {
1149
1157
  margin-right: 12px;
1150
1158
  }
1151
1159
  .pro-header .pro-header-describe li span:last-child {
1152
- font-weight: 600;
1153
1160
  display: inline-grid;
1161
+ font-weight: 600;
1154
1162
  }
1155
1163
  .pro-header .pro-header-describe li span:last-child .pro-header-tag {
1156
1164
  margin-left: 4px;
@@ -1622,8 +1630,8 @@
1622
1630
  .pro-table .custom-column-btn:visited,
1623
1631
  .pro-table .custom-column-btn:focus {
1624
1632
  color: unset;
1625
- border: 1px solid #d9d9d9;
1626
1633
  background: unset;
1634
+ border: 1px solid #d9d9d9;
1627
1635
  }
1628
1636
  .pro-table .custom-column-btn .anticon {
1629
1637
  height: 16px;
@@ -1641,15 +1649,14 @@
1641
1649
  }
1642
1650
  .pro-table .ant-table-body .ant-table-cell .varied-cell {
1643
1651
  margin-left: -8px;
1644
- background: var(--zaui-contract-bg, #fffaa1);
1645
1652
  padding: var(--zaui-space-size-xs, 4px) var(--zaui-space-size-sm, 8px);
1653
+ background: var(--zaui-contract-bg, #fffaa1);
1646
1654
  border-radius: var(--zaui-border-radius, 4px);
1647
1655
  }
1648
1656
  .pro-table .ant-table-body .varied-cell.empty-cell {
1649
1657
  width: 24.5px;
1650
1658
  }
1651
1659
  .pro-table .copyable-table-cell .ant-typography {
1652
- margin-bottom: 0;
1653
1660
  display: -webkit-box;
1654
1661
  display: -webkit-flex;
1655
1662
  display: -ms-flexbox;
@@ -1658,6 +1665,7 @@
1658
1665
  -webkit-align-items: center;
1659
1666
  -ms-flex-align: center;
1660
1667
  align-items: center;
1668
+ margin-bottom: 0;
1661
1669
  }
1662
1670
  .pro-table .copyable-table-cell .drag-icon > div {
1663
1671
  display: -webkit-box;
@@ -1673,32 +1681,32 @@
1673
1681
  fill: var(--zaui-success, #00ae4d);
1674
1682
  }
1675
1683
  .pro-table .copyable-table-cell svg {
1676
- width: 14px;
1677
- height: 14px;
1678
- fill: #3f3f3f;
1679
1684
  display: inline-block;
1685
+ width: 16px;
1686
+ height: 16px;
1687
+ fill: var(--zaui-brand, #006aff);
1680
1688
  }
1681
1689
  .pro-table.pro-table-no-stripe .ant-table.ant-table-scroll-horizontal .ant-table-tbody .ant-table-row:nth-child(n) > td {
1682
1690
  background: var(--zaui-base-bg, #ffffff);
1683
1691
  }
1684
1692
  .pro-table .ant-table-thead .ant-dropdown-trigger.ant-dropdown-open .anticon-down {
1693
+ -webkit-transform: rotateZ(180deg);
1694
+ transform: rotateZ(180deg);
1685
1695
  -webkit-transition: -webkit-transform 0.3s;
1686
1696
  transition: -webkit-transform 0.3s;
1687
1697
  transition: transform 0.3s;
1688
1698
  transition: transform 0.3s, -webkit-transform 0.3s;
1689
- -webkit-transform: rotateZ(180deg);
1690
- transform: rotateZ(180deg);
1691
1699
  }
1692
1700
  .pro-table .pro-table-container {
1693
1701
  position: relative;
1694
1702
  }
1695
1703
  .pro-table .pro-table-container .pro-table-resizable-line {
1696
1704
  position: absolute;
1697
- width: 0;
1698
1705
  top: 0;
1699
- border-left: 1px solid var(--zaui-brand, #006aff);
1700
- height: 100%;
1701
1706
  left: 100px;
1707
+ width: 0;
1708
+ height: 100%;
1709
+ border-left: 1px solid var(--zaui-brand, #006aff);
1702
1710
  }
1703
1711
  .pro-table .ant-table-thead tr th:last-child .react-resizable-handle {
1704
1712
  display: none;
@@ -1737,8 +1745,8 @@
1737
1745
  .pro-table .column-config .right-actions > .ant-btn:visited,
1738
1746
  .pro-table .column-config .right-actions > .ant-btn:focus {
1739
1747
  color: unset;
1740
- border: 1px solid #d9d9d9;
1741
1748
  background: unset;
1749
+ border: 1px solid #d9d9d9;
1742
1750
  }
1743
1751
  .pro-table .column-config .right-actions .custom-column-btn {
1744
1752
  margin-left: var(--zaui-space-size-sm, 8px);
@@ -1756,9 +1764,9 @@
1756
1764
  height: 100%;
1757
1765
  }
1758
1766
  .pro-table .ant-table .ant-table-thead > tr > th {
1759
- border-bottom: 0;
1760
1767
  white-space: nowrap;
1761
1768
  background: var(--zaui-table-header-bg, #f2f3f5);
1769
+ border-bottom: 0;
1762
1770
  }
1763
1771
  .pro-table .ant-table .ant-table-thead > tr > th .pro-table-th-cell {
1764
1772
  width: 100%;
@@ -1787,9 +1795,9 @@
1787
1795
  height: 14px;
1788
1796
  }
1789
1797
  .pro-table .ant-table .ant-table-thead > tr > th .pro-table-tooltip .icon-tip div svg {
1790
- margin-left: 8px;
1791
1798
  width: 14px;
1792
1799
  height: 14px;
1800
+ margin-left: 8px;
1793
1801
  fill: #909090;
1794
1802
  }
1795
1803
  .pro-table .ant-table.ant-table-bordered .ant-table-thead > tr > th {
@@ -1827,35 +1835,35 @@
1827
1835
  cursor: col-resize;
1828
1836
  }
1829
1837
  .pro-table .react-resizable-handle::before {
1830
- content: '';
1831
1838
  position: absolute;
1832
- left: 50%;
1833
1839
  top: 50%;
1840
+ left: 50%;
1834
1841
  width: 1px;
1835
1842
  height: 18px;
1836
- background: #DCDCDC;
1843
+ background: #dcdcdc;
1837
1844
  -webkit-transform: translateY(-50%);
1838
1845
  transform: translateY(-50%);
1846
+ content: '';
1839
1847
  }
1840
1848
  .pro-table .react-resizable-handle.active::before,
1841
1849
  .pro-table .react-resizable-handle:hover::before {
1842
- content: '';
1843
1850
  position: absolute;
1851
+ bottom: 0;
1844
1852
  left: 50%;
1845
1853
  height: 100%;
1846
- bottom: 0;
1847
1854
  border-left: 5px solid var(--zaui-brand, #006aff);
1855
+ content: '';
1848
1856
  }
1849
1857
  .pro-table .ant-table-tbody tr td .ant-checkbox-wrapper-checked.checkbox-disabled {
1850
- pointer-events: none;
1851
1858
  cursor: not-allowed;
1852
1859
  opacity: 0.5;
1860
+ pointer-events: none;
1853
1861
  }
1854
1862
  .pro-table .ant-pagination-options-quick-jumper input {
1855
- border: unset;
1856
- background: #FAFAFA;
1857
1863
  min-width: 32px;
1858
1864
  height: 32px;
1865
+ background: #fafafa;
1866
+ border: unset;
1859
1867
  }
1860
1868
  .pro-table .ant-pagination .ant-pagination-item-active a {
1861
1869
  color: #ffffff;
@@ -2072,11 +2080,14 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2072
2080
  margin-left: 2px;
2073
2081
  }
2074
2082
  .pro-number-range .range-split {
2075
- width: 40px !important;
2076
- border-left: 0px;
2083
+ width: 32px !important;
2084
+ text-align: center !important;
2077
2085
  border-right: 0px;
2086
+ border-left: 0px;
2078
2087
  pointer-events: none;
2079
- text-align: center !important;
2088
+ }
2089
+ .pro-number-range .range-split.ant-input[disabled] {
2090
+ background: #fff !important;
2080
2091
  }
2081
2092
  .pro-number-range .ant-input-status-error.range-split {
2082
2093
  border-color: var(--zaui-danger, #ff5050);
@@ -2589,6 +2600,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2589
2600
  .pro-form .ant-form-item.pro-form-item-changed .ant-input-number .ant-select-selection-placeholder {
2590
2601
  z-index: 9;
2591
2602
  }
2603
+ .pro-form .ant-form-item.pro-form-item-changed .ant-form-item-control:has(.ant-switch-handle, .ant-checkbox-wrapper-in-form-item) {
2604
+ background: var(--zaui-contract-bg, #fffaa1);
2605
+ border-radius: 4px;
2606
+ }
2592
2607
  .pro-form .ant-form-item.pro-form-item-changed .ant-form-item-control-input-content > span,
2593
2608
  .pro-form .ant-form-item.pro-form-item-changed .pro-form-view-container {
2594
2609
  padding: 4px 8px;
@@ -2611,7 +2626,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2611
2626
  width: 100%;
2612
2627
  }
2613
2628
  .pro-form .ant-form-item .pro-number-range .ant-input-number {
2614
- width: calc(50% - 20px);
2629
+ width: calc(50% - 16px);
2615
2630
  }
2616
2631
  .pro-form .ant-form-item .pro-number-range .range-right .ant-input-number {
2617
2632
  border-left: none;
@@ -3457,11 +3472,6 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3457
3472
  border: none;
3458
3473
  border-radius: var(--zaui-border-radius, 4px);
3459
3474
  }
3460
- .pro-transfer-right .checked-item .ant-tag .drag-icon {
3461
- height: 20px;
3462
- margin-right: var(--zaui-space-size-xs, 4px);
3463
- cursor: move;
3464
- }
3465
3475
  .pro-transfer-right .checked-item .ant-tag .pro-tooltip {
3466
3476
  -webkit-box-flex: 1;
3467
3477
  -webkit-flex: 1;
@@ -4056,7 +4066,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
4056
4066
  display: flex;
4057
4067
  }
4058
4068
  .pro-edit-table .drag-wrapper .drag-icon {
4059
- margin-right: var(--zaui-space-size-xs, 4px);
4069
+ margin-right: var(--zaui-space-size-md, 16px);
4070
+ margin-left: var(--zaui-space-size-xs, 4px);
4060
4071
  cursor: pointer;
4061
4072
  }
4062
4073
  .pro-edit-table.pro-table-no-stripe .ant-table-tbody tr:nth-child(n) > td {
@@ -4075,33 +4086,24 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
4075
4086
  padding-left: var(--zaui-space-size-md, 16px);
4076
4087
  padding-right: var(--zaui-space-size-md, 16px);
4077
4088
  }
4078
- .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required::after {
4079
- content: "";
4080
- }
4081
- .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required.is-required-left::before {
4082
- content: "";
4083
- }
4084
- .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required .pro-edit-table-title::after {
4085
- width: auto;
4089
+ .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required.is-required-right .pro-edit-table-title::before {
4086
4090
  position: static;
4087
4091
  top: 0;
4088
4092
  display: inline-block;
4089
- margin-left: var(--zaui-space-size-xs, 4px);
4093
+ text-indent: -8px;
4090
4094
  color: #ff5050;
4091
- font-size: 14px;
4095
+ font-size: var(--zaui-font-size-md, 14px);
4092
4096
  line-height: 1;
4093
4097
  content: "*";
4094
4098
  }
4095
- .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required .pro-edit-table-title.is-required-left::after {
4096
- display: none;
4097
- }
4098
- .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required .pro-edit-table-title.is-required-left::before {
4099
+ .pro-edit-table .ant-table-header > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required.is-required-left .pro-edit-table-title::after {
4100
+ width: auto;
4099
4101
  position: static;
4100
4102
  top: 0;
4101
4103
  display: inline-block;
4102
- text-indent: -8px;
4104
+ margin-left: var(--zaui-space-size-xs, 4px);
4103
4105
  color: #ff5050;
4104
- font-size: var(--zaui-font-size-md, 14px);
4106
+ font-size: 14px;
4105
4107
  line-height: 1;
4106
4108
  content: "*";
4107
4109
  }
@@ -4124,33 +4126,24 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
4124
4126
  .pro-edit-table .ant-table-content > table td .pro-form-view-container_nowrap {
4125
4127
  white-space: normal;
4126
4128
  }
4127
- .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required::after {
4128
- content: "";
4129
- }
4130
- .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required.is-required-left::before {
4131
- content: "";
4132
- }
4133
- .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required .pro-edit-table-title::after {
4134
- width: auto;
4129
+ .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required.is-required-right .pro-edit-table-title::before {
4135
4130
  position: static;
4136
4131
  top: 0;
4137
4132
  display: inline-block;
4138
- margin-left: var(--zaui-space-size-xs, 4px);
4133
+ text-indent: -8px;
4139
4134
  color: #ff5050;
4140
4135
  font-size: var(--zaui-font-size-md, 14px);
4141
4136
  line-height: 1;
4142
4137
  content: "*";
4143
4138
  }
4144
- .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required .pro-edit-table-title.is-required-left::after {
4145
- display: none;
4146
- }
4147
- .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required .pro-edit-table-title.is-required-left::before {
4139
+ .pro-edit-table .ant-table-content > table .ant-table-thead > tr > th:not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]).is-required.is-required-left .pro-edit-table-title::after {
4140
+ width: auto;
4148
4141
  position: static;
4149
4142
  top: 0;
4150
4143
  display: inline-block;
4151
- text-indent: -8px;
4144
+ margin-left: var(--zaui-space-size-xs, 4px);
4152
4145
  color: #ff5050;
4153
- font-size: var(--zaui-font-size-md, 14px);
4146
+ font-size: 14px;
4154
4147
  line-height: 1;
4155
4148
  content: "*";
4156
4149
  }
@@ -4351,7 +4344,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
4351
4344
  cursor: pointer;
4352
4345
  }
4353
4346
  .pro-icon.pro-icon-with-theme {
4354
- fill: var(--zaui-brand, #006Aff);
4347
+ fill: var(--zaui-brand, #006aff);
4355
4348
  }
4356
4349
  .pro-icon.pro-icon-spin {
4357
4350
  -webkit-animation: loadingCircle 1s infinite linear;
@@ -4364,8 +4357,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
4364
4357
  width: auto;
4365
4358
  height: auto;
4366
4359
  padding: 0;
4367
- border: 0;
4368
4360
  vertical-align: 0;
4361
+ border: 0;
4369
4362
  }
4370
4363
  .pro-theme-prd-tools-drawer .ant-drawer-header {
4371
4364
  border-bottom: none;
@@ -4886,6 +4879,10 @@ input[type='button'] {
4886
4879
  }
4887
4880
  }
4888
4881
  /* IE兼容 */
4882
+ .pro-icon.drag-icon {
4883
+ margin-right: var(--zaui-space-size-xs, 4px);
4884
+ cursor: move;
4885
+ }
4889
4886
  /* 兼容IE11 默认会生成2个值,默认值,var值。IE11下读取默认值 */
4890
4887
  :root {
4891
4888
  --zaui-global-bg: #ffffff;
@@ -4,7 +4,7 @@ interface RowProps extends React.HTMLAttributes<HTMLTableRowElement> {
4
4
  disabled?: boolean;
5
5
  }
6
6
  export declare const Row: FC<RowProps>;
7
- declare const DndWrapper: ({ draggable, value, onChange, disabled, children, }: {
7
+ declare const DndWrapper: ({ draggable, value, onChange, disabled, children }: {
8
8
  draggable: any;
9
9
  value: any;
10
10
  onChange: any;
@@ -6,8 +6,7 @@ import React from 'react';
6
6
  import { DndContext } from '@dnd-kit/core';
7
7
  import { arrayMove, useSortable, SortableContext, verticalListSortingStrategy } from '@dnd-kit/sortable';
8
8
  import { CSS } from '@dnd-kit/utilities';
9
- import { ReactSVG } from 'react-svg';
10
- import DragSvg from '../../../assets/drag.svg';
9
+ import ProIcon from '../../../ProIcon';
11
10
  export var Row = function Row(props) {
12
11
  var disabled = props.disabled,
13
12
  children = props.children,
@@ -44,13 +43,14 @@ export var Row = function Row(props) {
44
43
  return /*#__PURE__*/React.cloneElement(child, {
45
44
  children: _jsxs("span", {
46
45
  className: "drag-wrapper",
47
- children: [_jsx(ReactSVG, _objectSpread({
46
+ children: [_jsx(ProIcon, _objectSpread({
47
+ className: "drag-icon",
48
48
  style: {
49
49
  touchAction: 'none',
50
50
  cursor: disabled ? 'no-drop' : 'move'
51
51
  },
52
- className: "drag-handle",
53
- src: DragSvg
52
+ type: "drag",
53
+ size: 20
54
54
  }, listeners)), render === null || render === void 0 ? void 0 : render(null, record, renderIndex)]
55
55
  })
56
56
  });