@zat-design/sisyphus-react 3.2.1 → 3.2.2-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 (149) hide show
  1. package/dist/index.esm.css +66 -35
  2. package/es/ProDownload/utils.js +0 -2
  3. package/es/ProDrawerForm/style/index.less +59 -59
  4. package/es/ProEditTable/components/RenderField/index.js +66 -21
  5. package/es/ProEditTable/index.js +11 -4
  6. package/es/ProEditTable/propsType.d.ts +11 -1
  7. package/es/ProForm/components/base/Checkbox/index.d.ts +1 -0
  8. package/es/ProForm/components/base/Checkbox/index.js +5 -3
  9. package/es/ProForm/components/base/DatePicker/index.js +3 -2
  10. package/es/ProForm/components/base/Input/index.js +4 -2
  11. package/es/ProForm/components/base/Input/propsType.d.ts +1 -0
  12. package/es/ProForm/components/base/InputNumber/index.d.ts +1 -0
  13. package/es/ProForm/components/base/InputNumber/index.js +5 -3
  14. package/es/ProForm/components/base/ProCascader/index.js +6 -6
  15. package/es/ProForm/components/base/Radio/index.d.ts +1 -0
  16. package/es/ProForm/components/base/Radio/index.js +4 -2
  17. package/es/ProForm/components/base/RangePicker/index.d.ts +1 -0
  18. package/es/ProForm/components/base/RangePicker/index.js +5 -3
  19. package/es/ProForm/components/base/Select/index.d.ts +1 -0
  20. package/es/ProForm/components/base/Select/index.js +4 -2
  21. package/es/ProForm/components/base/Switch/index.d.ts +1 -0
  22. package/es/ProForm/components/base/Switch/index.js +4 -2
  23. package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
  24. package/es/ProForm/components/base/SwitchCheckbox/index.js +4 -2
  25. package/es/ProForm/components/base/TextArea/index.d.ts +1 -0
  26. package/es/ProForm/components/base/TextArea/index.js +4 -3
  27. package/es/ProForm/components/base/TimePicker/index.d.ts +1 -0
  28. package/es/ProForm/components/base/TimePicker/index.js +4 -2
  29. package/es/ProForm/components/combination/Container/index.js +7 -5
  30. package/es/ProForm/components/combination/FormList/index.js +6 -5
  31. package/es/ProForm/components/combination/FormList/style/index.less +15 -22
  32. package/es/ProForm/components/combination/Group/index.js +6 -3
  33. package/es/ProForm/components/combination/ProAddressBar/index.js +29 -30
  34. package/es/ProForm/components/combination/ProCombination/index.js +11 -11
  35. package/es/ProForm/components/combination/ProModalSelect/index.js +4 -5
  36. package/es/ProForm/components/combination/ProModalSelect/style/index.less +1 -1
  37. package/es/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
  38. package/es/ProForm/components/combination/ProNumberRange/index.js +7 -7
  39. package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
  40. package/es/ProForm/components/combination/ProRangeLimit/index.js +4 -2
  41. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
  42. package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -2
  43. package/es/ProForm/components/render/Render.js +54 -20
  44. package/es/ProForm/components/render/RenderFields.d.ts +1 -0
  45. package/es/ProForm/components/render/RenderFields.js +13 -12
  46. package/es/ProForm/index.js +5 -2
  47. package/es/ProForm/propsType.d.ts +1 -0
  48. package/es/ProForm/style/index.less +49 -42
  49. package/es/ProForm/utils/contrastOriginal.d.ts +10 -1
  50. package/es/ProForm/utils/contrastOriginal.js +15 -18
  51. package/es/ProForm/utils/useChanged.d.ts +15 -1
  52. package/es/ProForm/utils/useChanged.js +27 -8
  53. package/es/ProLayout/components/ProFooter/style/index.less +8 -7
  54. package/es/ProLayout/components/ProHeader/index.js +1 -0
  55. package/es/ProLayout/components/ProHeader/style/index.less +7 -0
  56. package/es/ProSelect/index.js +6 -3
  57. package/es/ProStep/components/Item/index.js +1 -4
  58. package/es/ProTable/components/RenderColumn/index.js +1 -1
  59. package/es/ProTable/style/index.less +6 -0
  60. package/es/ProTabs/style/index.less +16 -17
  61. package/es/ProThemeTools/component/PrdTools/index.js +21 -20
  62. package/es/ProThemeTools/index.js +2 -1
  63. package/es/ProTree/components/Tree.js +43 -42
  64. package/es/ProTree/style/index.less +0 -6
  65. package/es/ProTreeModal/index.js +14 -3
  66. package/es/ProTreeSelect/index.js +3 -2
  67. package/es/locale/en_US.d.ts +15 -1
  68. package/es/locale/en_US.js +17 -3
  69. package/es/locale/zh_CN.d.ts +15 -1
  70. package/es/locale/zh_CN.js +15 -1
  71. package/es/style/theme/antd.less +129 -117
  72. package/lib/ProDrawerForm/style/index.less +59 -59
  73. package/lib/ProEditTable/components/RenderField/index.js +61 -22
  74. package/lib/ProEditTable/index.js +12 -4
  75. package/lib/ProEditTable/propsType.d.ts +11 -1
  76. package/lib/ProForm/components/base/Checkbox/index.d.ts +1 -0
  77. package/lib/ProForm/components/base/Checkbox/index.js +5 -3
  78. package/lib/ProForm/components/base/DatePicker/index.js +3 -2
  79. package/lib/ProForm/components/base/Input/index.js +4 -2
  80. package/lib/ProForm/components/base/Input/propsType.d.ts +1 -0
  81. package/lib/ProForm/components/base/InputNumber/index.d.ts +1 -0
  82. package/lib/ProForm/components/base/InputNumber/index.js +5 -3
  83. package/lib/ProForm/components/base/ProCascader/index.js +6 -6
  84. package/lib/ProForm/components/base/Radio/index.d.ts +1 -0
  85. package/lib/ProForm/components/base/Radio/index.js +4 -2
  86. package/lib/ProForm/components/base/RangePicker/index.d.ts +1 -0
  87. package/lib/ProForm/components/base/RangePicker/index.js +6 -4
  88. package/lib/ProForm/components/base/Select/index.d.ts +1 -0
  89. package/lib/ProForm/components/base/Select/index.js +4 -2
  90. package/lib/ProForm/components/base/Switch/index.d.ts +1 -0
  91. package/lib/ProForm/components/base/Switch/index.js +4 -2
  92. package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
  93. package/lib/ProForm/components/base/SwitchCheckbox/index.js +4 -2
  94. package/lib/ProForm/components/base/TextArea/index.d.ts +1 -0
  95. package/lib/ProForm/components/base/TextArea/index.js +4 -3
  96. package/lib/ProForm/components/base/TimePicker/index.d.ts +1 -0
  97. package/lib/ProForm/components/base/TimePicker/index.js +4 -2
  98. package/lib/ProForm/components/combination/Container/index.js +7 -5
  99. package/lib/ProForm/components/combination/FormList/index.js +6 -5
  100. package/lib/ProForm/components/combination/FormList/style/index.less +15 -22
  101. package/lib/ProForm/components/combination/Group/index.js +6 -3
  102. package/lib/ProForm/components/combination/ProAddressBar/index.js +29 -30
  103. package/lib/ProForm/components/combination/ProCombination/index.js +11 -11
  104. package/lib/ProForm/components/combination/ProModalSelect/index.js +4 -5
  105. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +1 -1
  106. package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
  107. package/lib/ProForm/components/combination/ProNumberRange/index.js +7 -7
  108. package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
  109. package/lib/ProForm/components/combination/ProRangeLimit/index.js +4 -2
  110. package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
  111. package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -2
  112. package/lib/ProForm/components/old/InputRange/index.js +1 -0
  113. package/lib/ProForm/components/old/ProCertValidity/index.js +1 -1
  114. package/lib/ProForm/components/render/Render.js +53 -22
  115. package/lib/ProForm/components/render/RenderFields.d.ts +1 -0
  116. package/lib/ProForm/components/render/RenderFields.js +13 -12
  117. package/lib/ProForm/index.js +5 -2
  118. package/lib/ProForm/propsType.d.ts +1 -0
  119. package/lib/ProForm/style/index.less +49 -42
  120. package/lib/ProForm/utils/contrastOriginal.d.ts +10 -1
  121. package/lib/ProForm/utils/contrastOriginal.js +14 -17
  122. package/lib/ProForm/utils/useChanged.d.ts +15 -1
  123. package/lib/ProForm/utils/useChanged.js +27 -8
  124. package/lib/ProLayout/components/ProFooter/style/index.less +8 -7
  125. package/lib/ProLayout/components/ProHeader/index.js +1 -0
  126. package/lib/ProLayout/components/ProHeader/style/index.less +7 -0
  127. package/lib/ProSelect/index.js +6 -3
  128. package/lib/ProStep/components/Item/index.js +1 -4
  129. package/lib/ProTable/components/RenderColumn/index.js +1 -1
  130. package/lib/ProTable/components/TableResizable/index.js +0 -8
  131. package/lib/ProTable/style/index.less +6 -0
  132. package/lib/ProTabs/index.js +0 -1
  133. package/lib/ProTabs/style/index.less +16 -17
  134. package/lib/ProThemeTools/component/PrdTools/index.js +21 -20
  135. package/lib/ProThemeTools/index.js +2 -2
  136. package/lib/ProTree/components/Tree.js +42 -48
  137. package/lib/ProTree/index.js +1 -0
  138. package/lib/ProTree/style/index.less +0 -6
  139. package/lib/ProTreeModal/components/Tree.js +0 -1
  140. package/lib/ProTreeModal/index.js +14 -3
  141. package/lib/ProTreeSelect/index.js +3 -2
  142. package/lib/ProUpload/index.js +0 -7
  143. package/lib/locale/en_US.d.ts +15 -1
  144. package/lib/locale/en_US.js +17 -3
  145. package/lib/locale/zh_CN.d.ts +15 -1
  146. package/lib/locale/zh_CN.js +15 -1
  147. package/lib/old/ProCertValidity/index.js +1 -1
  148. package/lib/style/theme/antd.less +129 -117
  149. package/package.json +1 -1
@@ -789,14 +789,14 @@
789
789
  }
790
790
  .pro-footer {
791
791
  position: fixed;
792
- bottom: 0;
793
792
  right: 0;
793
+ bottom: 0;
794
+ z-index: 101;
794
795
  width: 100%;
795
- padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
796
+ padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
796
797
  background: var(--zaui-base-bg, #ffffff);
797
798
  -webkit-box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
798
799
  box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
799
- z-index: 101;
800
800
  }
801
801
  .back-button-container.ant-btn {
802
802
  color: var(--zaui-text);
@@ -819,6 +819,9 @@
819
819
  background-color: var(--zaui-base-bg, #ffffff);
820
820
  padding: 24px 0 0 0;
821
821
  }
822
+ .pro-header.pro-header-no-back.pro-header-has-describe .pro-header-top {
823
+ padding-left: var(--zaui-space-size-md, 16px);
824
+ }
822
825
  .pro-header.pro-header-no-back .pro-header-top {
823
826
  padding-left: 0;
824
827
  }
@@ -905,6 +908,10 @@
905
908
  }
906
909
  .pro-header .ant-breadcrumb .ant-breadcrumb-link {
907
910
  font-size: var(--zaui-font-size-xl, 18px);
911
+ display: -webkit-inline-box;
912
+ display: -webkit-inline-flex;
913
+ display: -ms-inline-flexbox;
914
+ display: inline-flex;
908
915
  }
909
916
  .pro-header .ant-breadcrumb .ant-breadcrumb-separator {
910
917
  font-weight: 500;
@@ -1509,7 +1516,7 @@
1509
1516
  width: 48px;
1510
1517
  }
1511
1518
  .pro-tabs .ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
1512
- padding: 0;
1519
+ padding: 0 !important;
1513
1520
  }
1514
1521
  .pro-tabs .ant-tabs-top > .ant-tabs-nav::before,
1515
1522
  .pro-tabs .ant-tabs-bottom > .ant-tabs-nav::before,
@@ -1529,7 +1536,7 @@
1529
1536
  }
1530
1537
  .pro-tabs .pro-tabs-card {
1531
1538
  width: 200px;
1532
- padding: 14px 16px 14px 24px;
1539
+ padding: calc(9px * var(--zaui-size, 1)) 16px calc(9px * var(--zaui-size, 1)) 24px;
1533
1540
  border: 1px solid var(--zaui-line, #dddddd);
1534
1541
  border-left: none;
1535
1542
  }
@@ -1538,14 +1545,14 @@
1538
1545
  text-shadow: none;
1539
1546
  }
1540
1547
  .pro-tabs .pro-tabs-card .pro-tabs-card-left .pro-tabs-card-left-total {
1541
- font-size: var(--zaui-font-size-lg-title, 24px);
1542
- font-weight: 600;
1543
1548
  color: var(--zaui-text, #343434);
1549
+ font-weight: 600;
1550
+ font-size: var(--zaui-font-size-lg-title, 24px);
1544
1551
  }
1545
1552
  .pro-tabs .pro-tabs-card .pro-tabs-card-left .pro-tabs-card-left-label {
1546
- font-size: var(--zaui-font-size, 14px);
1547
- font-weight: 400;
1548
1553
  color: var(--aui-text, #343434);
1554
+ font-weight: 400;
1555
+ font-size: var(--zaui-font-size, 14px);
1549
1556
  }
1550
1557
  .pro-tabs .pro-tabs-card .pro-tabs-card-right {
1551
1558
  display: -webkit-box;
@@ -1557,9 +1564,9 @@
1557
1564
  width: 48px;
1558
1565
  }
1559
1566
  .pro-tabs-tab .pro-tabs-card .ant-tag {
1560
- border-radius: 10px;
1561
- padding: 0 var(--zaui-space-size-xs, 4px);
1562
1567
  margin-right: 0;
1568
+ padding: 0 var(--zaui-space-size-xs, 4px);
1569
+ border-radius: 10px;
1563
1570
  }
1564
1571
  .pro-tabs-tab .pro-tabs-card .ant-space-item {
1565
1572
  display: -webkit-box;
@@ -1618,6 +1625,10 @@
1618
1625
  .pro-table .custom-column-btn .anticon {
1619
1626
  height: 16px;
1620
1627
  }
1628
+ .pro-table .ant-table-tbody .ant-table-cell-fix-left,
1629
+ .pro-table .ant-table-tbody .ant-table-cell-fix-right {
1630
+ background: unset !important;
1631
+ }
1621
1632
  .pro-table .ant-table-body .ant-table-cell .varied-cell {
1622
1633
  margin-left: -8px;
1623
1634
  background: var(--zaui-contract-bg, #fffaa1);
@@ -1926,10 +1937,6 @@ div.pro-textarea-view::after {
1926
1937
  display: flex;
1927
1938
  padding-bottom: 0;
1928
1939
  }
1929
- .pro-form-list.pro-form-list-last .pro-form-list-drag-handle,
1930
- .pro-form-list.pro-form-list-last .ant-form-item {
1931
- margin-bottom: 0 !important;
1932
- }
1933
1940
  .pro-form-list .single-delete {
1934
1941
  width: 14px !important;
1935
1942
  height: 14px !important;
@@ -1967,6 +1974,7 @@ div.pro-textarea-view::after {
1967
1974
  }
1968
1975
  .pro-form-list-line {
1969
1976
  padding: var(--zaui-height-size-md, 16px);
1977
+ padding-bottom: 0;
1970
1978
  }
1971
1979
  .pro-form-list-line:hover {
1972
1980
  background: rgba(0, 0, 0, 0.018);
@@ -2125,7 +2133,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2125
2133
  .pro-modal-select .ant-input-group-wrapper:hover .close-icon > span,
2126
2134
  .pro-tree-modal .ant-input-group-wrapper:hover .close-icon > span {
2127
2135
  position: relative;
2128
- font-size: var(--zaui-font-size, 14px);
2136
+ font-size: 10px;
2129
2137
  border: none;
2130
2138
  border-radius: 50%;
2131
2139
  }
@@ -2419,8 +2427,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2419
2427
  -webkit-align-items: center;
2420
2428
  -ms-flex-align: center;
2421
2429
  align-items: center;
2422
- margin-bottom: 0;
2423
2430
  height: auto;
2431
+ margin-bottom: 0;
2424
2432
  padding-top: 6px;
2425
2433
  }
2426
2434
  .pro-form.ant-form-vertical .pro-form-custom-footer .ant-space-align-center {
@@ -2505,13 +2513,23 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2505
2513
  .pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper,
2506
2514
  .pro-form .ant-form-item.pro-form-item-changed .ant-select-selector,
2507
2515
  .pro-form .ant-form-item.pro-form-item-changed .ant-picker {
2508
- background: var(--zaui-contract-bg, #fffaa1);
2516
+ background: var(--zaui-contract-bg, #fffaa1) !important;
2509
2517
  }
2510
2518
  .pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper input,
2511
2519
  .pro-form .ant-form-item.pro-form-item-changed .ant-select-selector input,
2512
2520
  .pro-form .ant-form-item.pro-form-item-changed .ant-picker input {
2513
2521
  background: var(--zaui-contract-bg, #fffaa1);
2514
2522
  }
2523
+ .pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper .ant-select-selection-placeholder,
2524
+ .pro-form .ant-form-item.pro-form-item-changed .ant-select-selector .ant-select-selection-placeholder,
2525
+ .pro-form .ant-form-item.pro-form-item-changed .ant-picker .ant-select-selection-placeholder {
2526
+ z-index: 9;
2527
+ }
2528
+ .pro-form .ant-form-item.pro-form-item-changed .ant-form-item-control-input-content > span {
2529
+ background: var(--zaui-contract-bg, #fffaa1);
2530
+ padding: 4px 8px;
2531
+ border-radius: 4px;
2532
+ }
2515
2533
  .pro-form .ant-form-item .ant-row {
2516
2534
  width: 100%;
2517
2535
  }
@@ -3778,7 +3796,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3778
3796
  fill: var(--zaui-aide-text, #909090);
3779
3797
  }
3780
3798
  .pro-drawer .pro-drawer-close .close-icon:hover {
3781
- fill: var(--zaui-brand-active, #005AD9);
3799
+ fill: var(--zaui-brand-active, #005ad9);
3782
3800
  }
3783
3801
  .pro-drawer .pro-drawer-close .close-icon > div {
3784
3802
  height: 20px;
@@ -3829,7 +3847,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3829
3847
  left: 0;
3830
3848
  z-index: 101;
3831
3849
  width: 100%;
3832
- padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
3850
+ padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
3833
3851
  background-color: var(--zaui-global-bg, #fff);
3834
3852
  -webkit-box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3835
3853
  box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
@@ -3891,10 +3909,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3891
3909
  z-index: 1;
3892
3910
  }
3893
3911
  .pro-modal-scrolling .ant-modal-header {
3894
- -webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3895
- box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3896
3912
  position: relative;
3897
3913
  z-index: 1;
3914
+ -webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3915
+ box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3898
3916
  }
3899
3917
  .pro-modal-footer-shadow .ant-modal-footer {
3900
3918
  position: relative;
@@ -4894,11 +4912,11 @@ input[type='button'] {
4894
4912
  -webkit-flex: 0 0 var(--zaui-form-label-width, 130px);
4895
4913
  -ms-flex: 0 0 var(--zaui-form-label-width, 130px);
4896
4914
  flex: 0 0 var(--zaui-form-label-width, 130px);
4915
+ padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
4897
4916
  overflow: initial;
4898
4917
  line-height: 1;
4899
- text-align: var(--zaui-form-align, left);
4900
4918
  white-space: pre-wrap;
4901
- padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
4919
+ text-align: var(--zaui-form-align, left);
4902
4920
  }
4903
4921
  .ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::after,
4904
4922
  .ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::after,
@@ -4913,8 +4931,8 @@ input[type='button'] {
4913
4931
  .ant-form .ant-form-item .ant-form-item-label > label::after,
4914
4932
  .ant-drawer .ant-form-item .ant-form-item-label > label::after,
4915
4933
  .ant-modal .ant-form-item .ant-form-item-label > label::after {
4916
- margin: 0;
4917
4934
  display: none;
4935
+ margin: 0;
4918
4936
  }
4919
4937
  .ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::before,
4920
4938
  .ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::before,
@@ -4984,6 +5002,9 @@ input[type='button'] {
4984
5002
  font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
4985
5003
  color: var(--zaui-text, #464646);
4986
5004
  }
5005
+ .ant-table .ant-empty-normal {
5006
+ margin: calc(var(--zaui-space-size-lg, 32px) * var(--zaui-size, 1)) 0;
5007
+ }
4987
5008
  .ant-table.pro-table-no-stripe .ant-table-tbody .ant-table-row {
4988
5009
  background: #fff !important;
4989
5010
  }
@@ -5047,6 +5068,12 @@ input[type='button'] {
5047
5068
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
5048
5069
  background: var(--zaui-table-strip-bg, #fafafa);
5049
5070
  }
5071
+ .ant-table table .ant-table-thead > tr > th,
5072
+ .ant-table table .ant-table-tbody > tr > td,
5073
+ .ant-table table .ant-table tfoot > tr > th,
5074
+ .ant-table table .ant-table tfoot > tr > td {
5075
+ padding: calc(5px + var(--zaui-size) * 8px) 16px;
5076
+ }
5050
5077
  .ant-table.ant-table-scroll-horizontal table .ant-table-thead > tr > th,
5051
5078
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody > tr > td,
5052
5079
  .ant-table.ant-table-scroll-horizontal table .ant-table tfoot > tr > th,
@@ -5078,31 +5105,31 @@ input[type='button'] {
5078
5105
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td,
5079
5106
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-right,
5080
5107
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-left {
5081
- background-color: #fff;
5108
+ background-color: #fff !important;
5082
5109
  }
5083
5110
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
5084
5111
  background-color: #fff;
5085
5112
  }
5086
5113
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(odd) {
5087
- background-color: var(--zaui-table-strip-bg, #fafafa);
5114
+ background-color: var(--zaui-table-strip-bg, #fafafa) !important;
5088
5115
  }
5089
5116
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(odd) td {
5090
- background-color: var(--zaui-table-strip-bg, #fafafa);
5117
+ background-color: var(--zaui-table-strip-bg, #fafafa) !important;
5091
5118
  }
5092
5119
  .ant-table .ant-table-cell .ant-btn-link {
5093
- padding: 0;
5094
5120
  height: auto;
5121
+ padding: 0;
5095
5122
  -webkit-user-select: text;
5096
5123
  -moz-user-select: text;
5097
5124
  -ms-user-select: text;
5098
5125
  user-select: text;
5099
5126
  }
5100
5127
  .ant-table .ant-table-cell a {
5128
+ color: var(--zaui-brand, #006aff);
5101
5129
  -webkit-user-select: text;
5102
5130
  -moz-user-select: text;
5103
5131
  -ms-user-select: text;
5104
5132
  user-select: text;
5105
- color: var(--zaui-brand, #006aFF);
5106
5133
  }
5107
5134
  .ant-table.ant-table-fixed-header .ant-table-tbody .ant-table-row:nth-child(even) td {
5108
5135
  background: #ffffff !important;
@@ -5118,13 +5145,13 @@ input[type='button'] {
5118
5145
  color: var(--zaui-text, #464646);
5119
5146
  }
5120
5147
  .ant-tabs .ant-tabs-nav-list.ant-tabs-card .ant-tabs-tab {
5121
- padding: 8px var(--zaui-space-size-md, 16px);
5122
5148
  margin-right: 10px;
5149
+ padding: 8px var(--zaui-space-size-md, 16px);
5123
5150
  }
5124
5151
  .ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
5125
5152
  font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
5126
- padding: 12px var(--zaui-space-size-md, 16px);
5127
5153
  margin-left: 0;
5154
+ padding: 12px var(--zaui-space-size-md, 16px);
5128
5155
  }
5129
5156
  .ant-tabs .ant-tabs-nav {
5130
5157
  margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
@@ -5132,6 +5159,10 @@ input[type='button'] {
5132
5159
  .ant-tabs .ant-tabs-nav .ant-tabs-tab-btn {
5133
5160
  font-size: var(--zaui-font-size-lg, 16px);
5134
5161
  }
5162
+ .ant-tabs.ant-tabs-card .ant-tabs-tab {
5163
+ margin-right: 10px !important;
5164
+ padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
5165
+ }
5135
5166
  .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-btn {
5136
5167
  font-size: var(--zaui-font-size, 14px);
5137
5168
  }
@@ -5160,7 +5191,7 @@ input[type='button'] {
5160
5191
  .ant-btn.ant-btn-link[disabled]:hover,
5161
5192
  .ant-btn.ant-btn-link[disabled]:focus,
5162
5193
  .ant-btn.ant-btn-link[disabled]:active {
5163
- color: #BCBCBC;
5194
+ color: #bcbcbc;
5164
5195
  text-shadow: none;
5165
5196
  background: none;
5166
5197
  border-color: none;
@@ -5363,10 +5394,10 @@ input[type='button'] {
5363
5394
  position: absolute;
5364
5395
  right: 16px;
5365
5396
  bottom: 1px;
5366
- margin-bottom: 0;
5367
- background: #fff;
5368
5397
  width: calc(100% - 18px);
5398
+ margin-bottom: 0;
5369
5399
  text-align: right;
5400
+ background: #fff;
5370
5401
  }
5371
5402
  .ant-space.ant-space-vertical {
5372
5403
  display: -webkit-box;
@@ -4,8 +4,6 @@ import _message from "antd/es/message";
4
4
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
5
5
  import _typeof from "@babel/runtime/helpers/esm/typeof";
6
6
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
7
- /* eslint-disable no-empty */
8
- /* eslint-disable prefer-promise-reject-errors */
9
7
  import { isFunction, get } from 'lodash';
10
8
  import locale from '../locale';
11
9
  var stringify = function stringify(data) {
@@ -1,82 +1,83 @@
1
1
  .pro-drawer {
2
2
  .pro-drawer-close {
3
- position : absolute;
4
- top : 6px;
5
- left : -34px;
6
- display : flex;
7
- align-items : center;
3
+ position: absolute;
4
+ top: 6px;
5
+ left: -34px;
6
+ display: flex;
7
+ align-items: center;
8
8
  justify-content: center;
9
- width : 32px;
10
- height : 38px;
11
- color : var(--zaui-global-bg, #fff);
12
- cursor : pointer;
9
+ width: 32px;
10
+ height: 38px;
11
+ color: var(--zaui-global-bg, #fff);
12
+ cursor: pointer;
13
13
 
14
14
  .close-icon {
15
- position : relative;
16
- left : 2px;
17
- z-index : 1;
15
+ position: relative;
16
+ left: 2px;
17
+ z-index: 1;
18
18
  font-size: var(--zaui-font-size-lg, 16px);
19
19
  transform: translateZ(100px);
20
- fill : var(--zaui-aide-text, #909090);
20
+ fill: var(--zaui-aide-text, #909090);
21
21
 
22
22
  &:hover {
23
- fill: var(--zaui-brand-active, #005AD9);
23
+ fill: var(--zaui-brand-active, #005ad9);
24
24
  }
25
25
 
26
- >div {
26
+ > div {
27
27
  height: 20px;
28
28
  }
29
29
  }
30
30
  }
31
31
 
32
32
  .pro-drawer-close::after {
33
- position : absolute;
34
- top : 0;
35
- right : 0;
36
- bottom : 0;
37
- left : 0;
33
+ position: absolute;
34
+ top: 0;
35
+ right: 0;
36
+ bottom: 0;
37
+ left: 0;
38
38
  background-color: var(--zaui-global-bg, #fff);
39
- border-radius : 4px 0px 0px 4px;
40
- transform : perspective(0.15em) rotateY(-2deg);
41
- content : '';
39
+ border-radius: 4px 0px 0px 4px;
40
+ transform: perspective(0.15em) rotateY(-2deg);
41
+ content: '';
42
42
  }
43
43
 
44
44
  .pro-drawer-title {
45
- position : absolute;
46
- top : 0;
47
- left : 0;
48
- width : 100%;
49
- height : 64px;
50
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
51
- color : var(--zaui-text, #343434);
52
- font-weight : 600;
53
- font-size : var(--zaui-font-size-xxl, 20px);
45
+ position: absolute;
46
+ top: 0;
47
+ left: 0;
48
+ width: 100%;
49
+ height: 64px;
50
+ padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
51
+ color: var(--zaui-text, #343434);
52
+ font-weight: 600;
53
+ font-size: var(--zaui-font-size-xxl, 20px);
54
54
  background-color: var(--zaui-global-bg, #fff);
55
55
  }
56
56
 
57
57
  .pro-drawer-scrolling {
58
- z-index : 1;
58
+ z-index: 1;
59
59
  box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
60
60
  }
61
61
 
62
62
  .pro-drawer-content {
63
- flex : 1;
64
- width : 100%;
65
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
63
+ flex: 1;
64
+ width: 100%;
65
+ padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
66
66
  padding-top: 0;
67
- overflow-x : hidden;
68
- overflow-y : auto;
67
+ overflow-x: hidden;
68
+ overflow-y: auto;
69
69
  }
70
70
 
71
71
  .pro-drawer-footer {
72
- position : absolute;
73
- bottom : 0;
74
- left : 0;
75
- z-index : 101;
76
- width : 100%;
77
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
72
+ position: absolute;
73
+ bottom: 0;
74
+ left: 0;
75
+ z-index: 101;
76
+ width: 100%;
77
+ padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
78
+ var(--zaui-space-size-lg, 32px);
78
79
  background-color: var(--zaui-global-bg, #fff);
79
- box-shadow : 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
80
+ box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
80
81
 
81
82
  button {
82
83
  margin-right: var(--zaui-space-size-sm, 8px);
@@ -88,8 +89,8 @@
88
89
  }
89
90
 
90
91
  .ant-drawer-body {
91
- height : 100vh;
92
- padding : 0;
92
+ height: 100vh;
93
+ padding: 0;
93
94
  overflow-y: hidden;
94
95
  }
95
96
 
@@ -116,7 +117,7 @@
116
117
  }
117
118
 
118
119
  .ant-modal-header {
119
- padding : var(--zaui-space-size-md, 16px);
120
+ padding: var(--zaui-space-size-md, 16px);
120
121
  border-bottom: none;
121
122
 
122
123
  .ant-modal-title {
@@ -125,30 +126,29 @@
125
126
  }
126
127
 
127
128
  .ant-modal-footer {
128
- padding : var(--zaui-space-size-md, 16px);
129
+ padding: var(--zaui-space-size-md, 16px);
129
130
  border-top: none;
130
131
 
131
132
  .pro-modal-footer {
132
- display : flex;
133
+ display: flex;
133
134
  justify-content: space-between;
134
135
  }
135
136
  }
136
137
 
137
138
  .ant-modal-content {
138
139
  .ant-modal-body {
139
- max-height : 450px;
140
- padding : 0 var(--zaui-space-size-md, 16px);
140
+ max-height: 450px;
141
+ padding: 0 var(--zaui-space-size-md, 16px);
141
142
  padding-top: 0;
142
- overflow : auto;
143
+ overflow: auto;
143
144
  }
144
145
  }
145
-
146
146
  }
147
147
 
148
148
  .pro-modal-no-footer {
149
149
  .ant-modal-content {
150
150
  .ant-modal-body {
151
- padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
151
+ padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
152
152
  }
153
153
  }
154
154
  }
@@ -157,16 +157,16 @@
157
157
  z-index: 1;
158
158
 
159
159
  .ant-modal-header {
160
+ position: relative;
161
+ z-index: 1;
160
162
  box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
161
- position : relative;
162
- z-index : 1;
163
163
  }
164
164
  }
165
165
 
166
166
  .pro-modal-footer-shadow {
167
167
  .ant-modal-footer {
168
- position : relative;
169
- z-index : 1;
168
+ position: relative;
169
+ z-index: 1;
170
170
  box-shadow: 3px 2px 12px 0px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
171
171
  }
172
172
  }