@zat-design/sisyphus-react 3.2.1 → 3.2.2-beta.10

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 (239) hide show
  1. package/README.md +7 -0
  2. package/dist/index.esm.css +106 -39
  3. package/es/ProAction/index.less +3 -0
  4. package/es/ProDownload/index.js +9 -6
  5. package/es/ProDownload/style/index.less +5 -2
  6. package/es/ProDrawerForm/style/index.less +76 -73
  7. package/es/ProEditLabel/style/index.less +12 -9
  8. package/es/ProEditTable/components/RenderField/index.js +66 -21
  9. package/es/ProEditTable/index.js +18 -7
  10. package/es/ProEditTable/propsType.d.ts +11 -1
  11. package/es/ProEditTable/style/index.less +50 -42
  12. package/es/ProEditTable/utils/config.d.ts +1 -1
  13. package/es/ProEditTable/utils/config.js +3 -3
  14. package/es/ProEnum/style/index.less +3 -0
  15. package/es/ProForm/components/base/Checkbox/index.d.ts +1 -0
  16. package/es/ProForm/components/base/Checkbox/index.js +5 -3
  17. package/es/ProForm/components/base/DatePicker/index.js +3 -5
  18. package/es/ProForm/components/base/Input/index.js +4 -2
  19. package/es/ProForm/components/base/Input/propsType.d.ts +1 -0
  20. package/es/ProForm/components/base/InputNumber/index.d.ts +1 -0
  21. package/es/ProForm/components/base/InputNumber/index.js +5 -3
  22. package/es/ProForm/components/base/ProCascader/index.js +6 -6
  23. package/es/ProForm/components/base/Radio/index.d.ts +1 -0
  24. package/es/ProForm/components/base/Radio/index.js +4 -2
  25. package/es/ProForm/components/base/RangePicker/index.d.ts +1 -0
  26. package/es/ProForm/components/base/RangePicker/index.js +5 -3
  27. package/es/ProForm/components/base/Select/index.d.ts +1 -0
  28. package/es/ProForm/components/base/Select/index.js +4 -2
  29. package/es/ProForm/components/base/Switch/index.d.ts +1 -0
  30. package/es/ProForm/components/base/Switch/index.js +4 -2
  31. package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
  32. package/es/ProForm/components/base/SwitchCheckbox/index.js +4 -2
  33. package/es/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
  34. package/es/ProForm/components/base/TextArea/index.d.ts +1 -0
  35. package/es/ProForm/components/base/TextArea/index.js +4 -3
  36. package/es/ProForm/components/base/TextArea/index.less +4 -3
  37. package/es/ProForm/components/base/TimePicker/index.d.ts +1 -0
  38. package/es/ProForm/components/base/TimePicker/index.js +4 -2
  39. package/es/ProForm/components/base/TimePicker/style/index.less +4 -1
  40. package/es/ProForm/components/combination/Container/index.js +7 -5
  41. package/es/ProForm/components/combination/Container/style/index.less +3 -3
  42. package/es/ProForm/components/combination/FormList/index.js +6 -5
  43. package/es/ProForm/components/combination/FormList/style/index.less +17 -24
  44. package/es/ProForm/components/combination/Group/index.js +6 -3
  45. package/es/ProForm/components/combination/Group/style/index.less +15 -15
  46. package/es/ProForm/components/combination/ProAddressBar/index.js +29 -30
  47. package/es/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  48. package/es/ProForm/components/combination/ProCombination/index.js +11 -11
  49. package/es/ProForm/components/combination/ProCombination/style/index.less +2 -2
  50. package/es/ProForm/components/combination/ProModalSelect/index.js +4 -5
  51. package/es/ProForm/components/combination/ProModalSelect/style/index.less +30 -12
  52. package/es/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
  53. package/es/ProForm/components/combination/ProNumberRange/index.js +7 -7
  54. package/es/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  55. package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
  56. package/es/ProForm/components/combination/ProRangeLimit/index.js +4 -2
  57. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
  58. package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -2
  59. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  60. package/es/ProForm/components/render/Render.js +54 -20
  61. package/es/ProForm/components/render/RenderFields.d.ts +1 -0
  62. package/es/ProForm/components/render/RenderFields.js +13 -12
  63. package/es/ProForm/index.js +5 -2
  64. package/es/ProForm/propsType.d.ts +1 -0
  65. package/es/ProForm/style/index.less +89 -80
  66. package/es/ProForm/utils/contrastOriginal.d.ts +10 -1
  67. package/es/ProForm/utils/contrastOriginal.js +15 -18
  68. package/es/ProForm/utils/useChanged.d.ts +15 -1
  69. package/es/ProForm/utils/useChanged.js +27 -8
  70. package/es/ProIcon/style/index.less +4 -1
  71. package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
  72. package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  73. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  74. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  75. package/es/ProLayout/components/ProCollapse/style/index.less +24 -24
  76. package/es/ProLayout/components/ProFooter/style/index.less +8 -7
  77. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  78. package/es/ProLayout/components/ProHeader/index.js +1 -0
  79. package/es/ProLayout/components/ProHeader/style/index.less +17 -11
  80. package/es/ProLayout/style/index.less +10 -7
  81. package/es/ProSelect/index.js +6 -3
  82. package/es/ProSelect/index.less +3 -0
  83. package/es/ProStep/components/Item/index.js +1 -4
  84. package/es/ProStep/style/index.less +3 -0
  85. package/es/ProTable/components/RenderColumn/index.js +1 -1
  86. package/es/ProTable/index.js +3 -3
  87. package/es/ProTable/style/index.less +72 -52
  88. package/es/ProTabs/style/index.less +26 -24
  89. package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  90. package/es/ProThemeTools/component/PrdTools/index.js +28 -26
  91. package/es/ProThemeTools/component/PrdTools/style/index.less +6 -6
  92. package/es/ProThemeTools/index.d.ts +1 -1
  93. package/es/ProThemeTools/index.js +9 -3
  94. package/es/ProThemeTools/propsType.d.ts +4 -0
  95. package/es/ProThemeTools/style/index.less +6 -3
  96. package/es/ProThemeTools/utils/index.d.ts +1 -1
  97. package/es/ProThemeTools/utils/index.js +2 -1
  98. package/es/ProTooltip/style/index.less +3 -0
  99. package/es/ProTree/components/CloseIcon.js +2 -4
  100. package/es/ProTree/components/Tree.js +43 -42
  101. package/es/ProTree/style/index.less +29 -32
  102. package/es/ProTreeModal/components/CloseIcon.js +2 -4
  103. package/es/ProTreeModal/components/Trigger.d.ts +3 -0
  104. package/es/ProTreeModal/components/Trigger.js +79 -19
  105. package/es/ProTreeModal/index.js +38 -6
  106. package/es/ProTreeModal/propsType.d.ts +5 -2
  107. package/es/ProTreeModal/style/index.less +11 -8
  108. package/es/ProTreeSelect/index.js +3 -2
  109. package/es/ProTreeSelect/style/index.less +25 -22
  110. package/es/ProUpload/components/DragRender.js +7 -4
  111. package/es/ProUpload/index.js +11 -7
  112. package/es/ProUpload/style/index.less +7 -4
  113. package/es/ProViewer/index.js +3 -1
  114. package/es/ProViewer/style/index.less +6 -3
  115. package/es/locale/en_US.d.ts +18 -1
  116. package/es/locale/en_US.js +20 -3
  117. package/es/locale/zh_CN.d.ts +18 -1
  118. package/es/locale/zh_CN.js +19 -2
  119. package/es/style/core/compatible.less +6 -6
  120. package/es/style/theme/antd.less +277 -253
  121. package/lib/ProAction/index.less +3 -0
  122. package/lib/ProDownload/index.js +9 -6
  123. package/lib/ProDownload/style/index.less +5 -2
  124. package/lib/ProDrawerForm/style/index.less +76 -73
  125. package/lib/ProEditLabel/style/index.less +12 -9
  126. package/lib/ProEditTable/components/RenderField/index.js +61 -20
  127. package/lib/ProEditTable/index.js +17 -5
  128. package/lib/ProEditTable/propsType.d.ts +11 -1
  129. package/lib/ProEditTable/style/index.less +50 -42
  130. package/lib/ProEditTable/utils/config.d.ts +1 -1
  131. package/lib/ProEditTable/utils/config.js +3 -3
  132. package/lib/ProEnum/style/index.less +3 -0
  133. package/lib/ProForm/components/base/Checkbox/index.d.ts +1 -0
  134. package/lib/ProForm/components/base/Checkbox/index.js +5 -3
  135. package/lib/ProForm/components/base/DatePicker/index.js +3 -5
  136. package/lib/ProForm/components/base/Input/index.js +4 -2
  137. package/lib/ProForm/components/base/Input/propsType.d.ts +1 -0
  138. package/lib/ProForm/components/base/InputNumber/index.d.ts +1 -0
  139. package/lib/ProForm/components/base/InputNumber/index.js +5 -3
  140. package/lib/ProForm/components/base/ProCascader/index.js +6 -6
  141. package/lib/ProForm/components/base/Radio/index.d.ts +1 -0
  142. package/lib/ProForm/components/base/Radio/index.js +4 -2
  143. package/lib/ProForm/components/base/RangePicker/index.d.ts +1 -0
  144. package/lib/ProForm/components/base/RangePicker/index.js +5 -3
  145. package/lib/ProForm/components/base/Select/index.d.ts +1 -0
  146. package/lib/ProForm/components/base/Select/index.js +4 -2
  147. package/lib/ProForm/components/base/Switch/index.d.ts +1 -0
  148. package/lib/ProForm/components/base/Switch/index.js +4 -2
  149. package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -0
  150. package/lib/ProForm/components/base/SwitchCheckbox/index.js +4 -2
  151. package/lib/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
  152. package/lib/ProForm/components/base/TextArea/index.d.ts +1 -0
  153. package/lib/ProForm/components/base/TextArea/index.js +4 -3
  154. package/lib/ProForm/components/base/TextArea/index.less +4 -3
  155. package/lib/ProForm/components/base/TimePicker/index.d.ts +1 -0
  156. package/lib/ProForm/components/base/TimePicker/index.js +4 -2
  157. package/lib/ProForm/components/base/TimePicker/style/index.less +4 -1
  158. package/lib/ProForm/components/combination/Container/index.js +7 -5
  159. package/lib/ProForm/components/combination/Container/style/index.less +3 -3
  160. package/lib/ProForm/components/combination/FormList/index.js +6 -5
  161. package/lib/ProForm/components/combination/FormList/style/index.less +17 -24
  162. package/lib/ProForm/components/combination/Group/index.js +6 -3
  163. package/lib/ProForm/components/combination/Group/style/index.less +15 -15
  164. package/lib/ProForm/components/combination/ProAddressBar/index.js +29 -30
  165. package/lib/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  166. package/lib/ProForm/components/combination/ProCombination/index.js +11 -11
  167. package/lib/ProForm/components/combination/ProCombination/style/index.less +2 -2
  168. package/lib/ProForm/components/combination/ProModalSelect/index.js +4 -5
  169. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +30 -12
  170. package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +1 -1
  171. package/lib/ProForm/components/combination/ProNumberRange/index.js +7 -7
  172. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  173. package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -0
  174. package/lib/ProForm/components/combination/ProRangeLimit/index.js +4 -2
  175. package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -0
  176. package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -2
  177. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  178. package/lib/ProForm/components/render/Render.js +53 -21
  179. package/lib/ProForm/components/render/RenderFields.d.ts +1 -0
  180. package/lib/ProForm/components/render/RenderFields.js +13 -12
  181. package/lib/ProForm/index.js +5 -2
  182. package/lib/ProForm/propsType.d.ts +1 -0
  183. package/lib/ProForm/style/index.less +89 -80
  184. package/lib/ProForm/utils/contrastOriginal.d.ts +10 -1
  185. package/lib/ProForm/utils/contrastOriginal.js +14 -17
  186. package/lib/ProForm/utils/useChanged.d.ts +15 -1
  187. package/lib/ProForm/utils/useChanged.js +27 -8
  188. package/lib/ProIcon/style/index.less +4 -1
  189. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
  190. package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  191. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  192. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  193. package/lib/ProLayout/components/ProCollapse/style/index.less +24 -24
  194. package/lib/ProLayout/components/ProFooter/style/index.less +8 -7
  195. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  196. package/lib/ProLayout/components/ProHeader/index.js +1 -0
  197. package/lib/ProLayout/components/ProHeader/style/index.less +17 -11
  198. package/lib/ProLayout/style/index.less +10 -7
  199. package/lib/ProSelect/index.js +6 -3
  200. package/lib/ProSelect/index.less +3 -0
  201. package/lib/ProStep/components/Item/index.js +1 -4
  202. package/lib/ProStep/style/index.less +3 -0
  203. package/lib/ProTable/components/RenderColumn/index.js +1 -1
  204. package/lib/ProTable/index.js +3 -3
  205. package/lib/ProTable/style/index.less +72 -52
  206. package/lib/ProTabs/style/index.less +26 -24
  207. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  208. package/lib/ProThemeTools/component/PrdTools/index.js +28 -26
  209. package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
  210. package/lib/ProThemeTools/index.d.ts +1 -1
  211. package/lib/ProThemeTools/index.js +9 -3
  212. package/lib/ProThemeTools/propsType.d.ts +4 -0
  213. package/lib/ProThemeTools/style/index.less +6 -3
  214. package/lib/ProThemeTools/utils/index.d.ts +1 -1
  215. package/lib/ProThemeTools/utils/index.js +2 -1
  216. package/lib/ProTooltip/style/index.less +3 -0
  217. package/lib/ProTree/components/CloseIcon.js +2 -4
  218. package/lib/ProTree/components/Tree.js +42 -41
  219. package/lib/ProTree/style/index.less +29 -32
  220. package/lib/ProTreeModal/components/CloseIcon.js +2 -4
  221. package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
  222. package/lib/ProTreeModal/components/Trigger.js +74 -18
  223. package/lib/ProTreeModal/index.js +38 -6
  224. package/lib/ProTreeModal/propsType.d.ts +5 -2
  225. package/lib/ProTreeModal/style/index.less +11 -8
  226. package/lib/ProTreeSelect/index.js +3 -2
  227. package/lib/ProTreeSelect/style/index.less +25 -22
  228. package/lib/ProUpload/components/DragRender.js +7 -4
  229. package/lib/ProUpload/index.js +11 -7
  230. package/lib/ProUpload/style/index.less +7 -4
  231. package/lib/ProViewer/index.js +4 -3
  232. package/lib/ProViewer/style/index.less +6 -3
  233. package/lib/locale/en_US.d.ts +18 -1
  234. package/lib/locale/en_US.js +20 -3
  235. package/lib/locale/zh_CN.d.ts +18 -1
  236. package/lib/locale/zh_CN.js +19 -2
  237. package/lib/style/core/compatible.less +6 -6
  238. package/lib/style/theme/antd.less +277 -253
  239. package/package.json +1 -1
package/README.md CHANGED
@@ -91,3 +91,10 @@ render(<App />, document.getElementById('root'));
91
91
  4. release: "yarn build:types & yarn build:es && yarn build:lib && npm publish" 打包 3 个文件进行发布
92
92
  5. 执行 yarn build 成功
93
93
  6. 执行 yarn release
94
+
95
+
96
+ ### 发布
97
+
98
+ npm publish --registry https://registry.npmjs.org --access=public
99
+
100
+
@@ -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);
@@ -817,7 +817,10 @@
817
817
  }
818
818
  .pro-header {
819
819
  background-color: var(--zaui-base-bg, #ffffff);
820
- padding: 24px 0 0 0;
820
+ padding: 16px 0 0 0 !important;
821
+ }
822
+ .pro-header.pro-header-no-back.pro-header-has-describe .pro-header-top {
823
+ padding-left: var(--zaui-space-size-md, 16px);
821
824
  }
822
825
  .pro-header.pro-header-no-back .pro-header-top {
823
826
  padding-left: 0;
@@ -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);
@@ -1722,9 +1733,18 @@
1722
1733
  .pro-table .column-config .right-actions .custom-column-btn {
1723
1734
  margin-left: var(--zaui-space-size-sm, 8px);
1724
1735
  }
1725
- .pro-table .ant-empty .ant-empty-image {
1736
+ .pro-table .pro-table-empty {
1737
+ margin: var(--zaui-space-size-lg, 32px) 0;
1738
+ color: rgba(0, 0, 0, 0.25);
1739
+ font-size: var(--zaui-font-size-md, 14px);
1740
+ text-align: center;
1741
+ }
1742
+ .pro-table .pro-table-empty .empty-image {
1726
1743
  height: 80px;
1727
1744
  }
1745
+ .pro-table .pro-table-empty .empty-image img {
1746
+ height: 100%;
1747
+ }
1728
1748
  .pro-table .ant-table .ant-table-thead > tr > th {
1729
1749
  border-bottom: 0;
1730
1750
  white-space: nowrap;
@@ -1926,10 +1946,6 @@ div.pro-textarea-view::after {
1926
1946
  display: flex;
1927
1947
  padding-bottom: 0;
1928
1948
  }
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
1949
  .pro-form-list .single-delete {
1934
1950
  width: 14px !important;
1935
1951
  height: 14px !important;
@@ -1967,6 +1983,7 @@ div.pro-textarea-view::after {
1967
1983
  }
1968
1984
  .pro-form-list-line {
1969
1985
  padding: var(--zaui-height-size-md, 16px);
1986
+ padding-bottom: 0;
1970
1987
  }
1971
1988
  .pro-form-list-line:hover {
1972
1989
  background: rgba(0, 0, 0, 0.018);
@@ -2125,7 +2142,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2125
2142
  .pro-modal-select .ant-input-group-wrapper:hover .close-icon > span,
2126
2143
  .pro-tree-modal .ant-input-group-wrapper:hover .close-icon > span {
2127
2144
  position: relative;
2128
- font-size: var(--zaui-font-size, 14px);
2145
+ font-size: 10px;
2129
2146
  border: none;
2130
2147
  border-radius: 50%;
2131
2148
  }
@@ -2139,6 +2156,23 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2139
2156
  .pro-tree-modal .ant-input-group-wrapper:hover .ant-input-group-addon {
2140
2157
  border-color: var(--zaui-brand-hover, #3387ff);
2141
2158
  }
2159
+ .pro-modal-select .ant-input-group-wrapper:hover .ant-input-disabled,
2160
+ .pro-tree-modal .ant-input-group-wrapper:hover .ant-input-disabled {
2161
+ border-color: #d9d9d9;
2162
+ }
2163
+ .pro-modal-select .ant-input-group-wrapper:hover .ant-input-disabled + span,
2164
+ .pro-tree-modal .ant-input-group-wrapper:hover .ant-input-disabled + span {
2165
+ border-color: #d9d9d9;
2166
+ }
2167
+ .pro-modal-select .ant-input-group-wrapper:hover .ant-input-disabled + span .close-icon,
2168
+ .pro-tree-modal .ant-input-group-wrapper:hover .ant-input-disabled + span .close-icon {
2169
+ display: none;
2170
+ }
2171
+ .pro-modal-select .pro-tree-modal-input-appoint .ant-input,
2172
+ .pro-tree-modal .pro-tree-modal-input-appoint .ant-input {
2173
+ border-top-left-radius: 0;
2174
+ border-bottom-left-radius: 0;
2175
+ }
2142
2176
  .pro-modal-select .ant-input-group-wrapper-status-error:hover .ant-input,
2143
2177
  .pro-tree-modal .ant-input-group-wrapper-status-error:hover .ant-input,
2144
2178
  .pro-modal-select .ant-input-group-wrapper-status-error:hover .ant-input-group-addon,
@@ -2419,8 +2453,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2419
2453
  -webkit-align-items: center;
2420
2454
  -ms-flex-align: center;
2421
2455
  align-items: center;
2422
- margin-bottom: 0;
2423
2456
  height: auto;
2457
+ margin-bottom: 0;
2424
2458
  padding-top: 6px;
2425
2459
  }
2426
2460
  .pro-form.ant-form-vertical .pro-form-custom-footer .ant-space-align-center {
@@ -2505,13 +2539,23 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
2505
2539
  .pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper,
2506
2540
  .pro-form .ant-form-item.pro-form-item-changed .ant-select-selector,
2507
2541
  .pro-form .ant-form-item.pro-form-item-changed .ant-picker {
2508
- background: var(--zaui-contract-bg, #fffaa1);
2542
+ background: var(--zaui-contract-bg, #fffaa1) !important;
2509
2543
  }
2510
2544
  .pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper input,
2511
2545
  .pro-form .ant-form-item.pro-form-item-changed .ant-select-selector input,
2512
2546
  .pro-form .ant-form-item.pro-form-item-changed .ant-picker input {
2513
2547
  background: var(--zaui-contract-bg, #fffaa1);
2514
2548
  }
2549
+ .pro-form .ant-form-item.pro-form-item-changed span.ant-input-affix-wrapper .ant-select-selection-placeholder,
2550
+ .pro-form .ant-form-item.pro-form-item-changed .ant-select-selector .ant-select-selection-placeholder,
2551
+ .pro-form .ant-form-item.pro-form-item-changed .ant-picker .ant-select-selection-placeholder {
2552
+ z-index: 9;
2553
+ }
2554
+ .pro-form .ant-form-item.pro-form-item-changed .ant-form-item-control-input-content > span {
2555
+ background: var(--zaui-contract-bg, #fffaa1);
2556
+ padding: 4px 8px;
2557
+ border-radius: 4px;
2558
+ }
2515
2559
  .pro-form .ant-form-item .ant-row {
2516
2560
  width: 100%;
2517
2561
  }
@@ -3778,7 +3822,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3778
3822
  fill: var(--zaui-aide-text, #909090);
3779
3823
  }
3780
3824
  .pro-drawer .pro-drawer-close .close-icon:hover {
3781
- fill: var(--zaui-brand-active, #005AD9);
3825
+ fill: var(--zaui-brand-active, #005ad9);
3782
3826
  }
3783
3827
  .pro-drawer .pro-drawer-close .close-icon > div {
3784
3828
  height: 20px;
@@ -3829,7 +3873,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3829
3873
  left: 0;
3830
3874
  z-index: 101;
3831
3875
  width: 100%;
3832
- padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
3876
+ padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
3833
3877
  background-color: var(--zaui-global-bg, #fff);
3834
3878
  -webkit-box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3835
3879
  box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
@@ -3891,10 +3935,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3891
3935
  z-index: 1;
3892
3936
  }
3893
3937
  .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
3938
  position: relative;
3897
3939
  z-index: 1;
3940
+ -webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3941
+ box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3898
3942
  }
3899
3943
  .pro-modal-footer-shadow .ant-modal-footer {
3900
3944
  position: relative;
@@ -4099,7 +4143,12 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
4099
4143
  .pro-edit-table .ant-table-tbody > .ant-table-placeholder > td {
4100
4144
  background-color: var(--zaui-base-bg, #ffffff);
4101
4145
  }
4102
- .pro-edit-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row, .ant-table-placeholder) > td,
4146
+ .pro-edit-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td,
4147
+ .pro-edit-table .ant-table-tbody .ant-table-row-hover,
4148
+ .pro-edit-table .ant-table-tbody .ant-table-row-hover > td {
4149
+ background: #FAFAFA;
4150
+ }
4151
+ .pro-edit-table .ant-table-tbody > tr:hover:not(.ant-table-placeholder) > td,
4103
4152
  .pro-edit-table .ant-table-tbody .ant-table-row-hover,
4104
4153
  .pro-edit-table .ant-table-tbody .ant-table-row-hover > td {
4105
4154
  background: #FAFAFA;
@@ -4894,11 +4943,11 @@ input[type='button'] {
4894
4943
  -webkit-flex: 0 0 var(--zaui-form-label-width, 130px);
4895
4944
  -ms-flex: 0 0 var(--zaui-form-label-width, 130px);
4896
4945
  flex: 0 0 var(--zaui-form-label-width, 130px);
4946
+ padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
4897
4947
  overflow: initial;
4898
4948
  line-height: 1;
4899
- text-align: var(--zaui-form-align, left);
4900
4949
  white-space: pre-wrap;
4901
- padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
4950
+ text-align: var(--zaui-form-align, left);
4902
4951
  }
4903
4952
  .ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::after,
4904
4953
  .ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::after,
@@ -4913,8 +4962,8 @@ input[type='button'] {
4913
4962
  .ant-form .ant-form-item .ant-form-item-label > label::after,
4914
4963
  .ant-drawer .ant-form-item .ant-form-item-label > label::after,
4915
4964
  .ant-modal .ant-form-item .ant-form-item-label > label::after {
4916
- margin: 0;
4917
4965
  display: none;
4966
+ margin: 0;
4918
4967
  }
4919
4968
  .ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::before,
4920
4969
  .ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::before,
@@ -4984,6 +5033,9 @@ input[type='button'] {
4984
5033
  font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
4985
5034
  color: var(--zaui-text, #464646);
4986
5035
  }
5036
+ .ant-table .ant-empty-normal {
5037
+ margin: calc(var(--zaui-space-size-lg, 32px) * var(--zaui-size, 1)) 0;
5038
+ }
4987
5039
  .ant-table.pro-table-no-stripe .ant-table-tbody .ant-table-row {
4988
5040
  background: #fff !important;
4989
5041
  }
@@ -5047,11 +5099,22 @@ input[type='button'] {
5047
5099
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
5048
5100
  background: var(--zaui-table-strip-bg, #fafafa);
5049
5101
  }
5102
+ .ant-table table .ant-table-thead > tr > th,
5103
+ .ant-table table .ant-table-tbody > tr > td,
5104
+ .ant-table table .ant-table tfoot > tr > th,
5105
+ .ant-table table .ant-table tfoot > tr > td {
5106
+ padding: calc(4px + var(--zaui-size) * 8px);
5107
+ }
5108
+ .ant-table table .ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table,
5109
+ .ant-table table .ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table {
5110
+ margin-top: calc(var(--zaui-size) * -16px);
5111
+ margin-bottom: calc(var(--zaui-size) * -16px);
5112
+ }
5050
5113
  .ant-table.ant-table-scroll-horizontal table .ant-table-thead > tr > th,
5051
5114
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody > tr > td,
5052
5115
  .ant-table.ant-table-scroll-horizontal table .ant-table tfoot > tr > th,
5053
5116
  .ant-table.ant-table-scroll-horizontal table .ant-table tfoot > tr > td {
5054
- padding: calc(5px + var(--zaui-size) * 8px) 16px;
5117
+ padding: calc(4px + var(--zaui-size) * 8px);
5055
5118
  }
5056
5119
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) {
5057
5120
  background-color: var(--zaui-table-strip-bg, #fafafa);
@@ -5078,31 +5141,31 @@ input[type='button'] {
5078
5141
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td,
5079
5142
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-right,
5080
5143
  .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;
5144
+ background-color: #fff !important;
5082
5145
  }
5083
5146
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
5084
5147
  background-color: #fff;
5085
5148
  }
5086
5149
  .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);
5150
+ background-color: var(--zaui-table-strip-bg, #fafafa) !important;
5088
5151
  }
5089
5152
  .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);
5153
+ background-color: var(--zaui-table-strip-bg, #fafafa) !important;
5091
5154
  }
5092
5155
  .ant-table .ant-table-cell .ant-btn-link {
5093
- padding: 0;
5094
5156
  height: auto;
5157
+ padding: 0;
5095
5158
  -webkit-user-select: text;
5096
5159
  -moz-user-select: text;
5097
5160
  -ms-user-select: text;
5098
5161
  user-select: text;
5099
5162
  }
5100
5163
  .ant-table .ant-table-cell a {
5164
+ color: var(--zaui-brand, #006aff);
5101
5165
  -webkit-user-select: text;
5102
5166
  -moz-user-select: text;
5103
5167
  -ms-user-select: text;
5104
5168
  user-select: text;
5105
- color: var(--zaui-brand, #006aFF);
5106
5169
  }
5107
5170
  .ant-table.ant-table-fixed-header .ant-table-tbody .ant-table-row:nth-child(even) td {
5108
5171
  background: #ffffff !important;
@@ -5118,13 +5181,13 @@ input[type='button'] {
5118
5181
  color: var(--zaui-text, #464646);
5119
5182
  }
5120
5183
  .ant-tabs .ant-tabs-nav-list.ant-tabs-card .ant-tabs-tab {
5121
- padding: 8px var(--zaui-space-size-md, 16px);
5122
5184
  margin-right: 10px;
5185
+ padding: 8px var(--zaui-space-size-md, 16px);
5123
5186
  }
5124
5187
  .ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
5125
5188
  font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
5126
- padding: 12px var(--zaui-space-size-md, 16px);
5127
5189
  margin-left: 0;
5190
+ padding: 12px var(--zaui-space-size-md, 16px);
5128
5191
  }
5129
5192
  .ant-tabs .ant-tabs-nav {
5130
5193
  margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
@@ -5132,6 +5195,10 @@ input[type='button'] {
5132
5195
  .ant-tabs .ant-tabs-nav .ant-tabs-tab-btn {
5133
5196
  font-size: var(--zaui-font-size-lg, 16px);
5134
5197
  }
5198
+ .ant-tabs.ant-tabs-card .ant-tabs-tab {
5199
+ margin-right: 10px !important;
5200
+ padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
5201
+ }
5135
5202
  .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-btn {
5136
5203
  font-size: var(--zaui-font-size, 14px);
5137
5204
  }
@@ -5160,7 +5227,7 @@ input[type='button'] {
5160
5227
  .ant-btn.ant-btn-link[disabled]:hover,
5161
5228
  .ant-btn.ant-btn-link[disabled]:focus,
5162
5229
  .ant-btn.ant-btn-link[disabled]:active {
5163
- color: #BCBCBC;
5230
+ color: #bcbcbc;
5164
5231
  text-shadow: none;
5165
5232
  background: none;
5166
5233
  border-color: none;
@@ -5363,10 +5430,10 @@ input[type='button'] {
5363
5430
  position: absolute;
5364
5431
  right: 16px;
5365
5432
  bottom: 1px;
5366
- margin-bottom: 0;
5367
- background: #fff;
5368
5433
  width: calc(100% - 18px);
5434
+ margin-bottom: 0;
5369
5435
  text-align: right;
5436
+ background: #fff;
5370
5437
  }
5371
5438
  .ant-space.ant-space-vertical {
5372
5439
  display: -webkit-box;
@@ -1,3 +1,6 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-action-view-tile {
2
5
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
3
6
  color : #666;
@@ -1,16 +1,17 @@
1
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
1
  import "antd/es/button/style";
3
2
  import _Button from "antd/es/button";
4
3
  import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
5
4
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
5
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
6
6
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
7
7
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
8
- var _excluded = ["source", "action", "url", "method", "params", "fileName", "headers", "children", "onFinish", "beforeDownload", "className", "transformResponse"];
8
+ var _excluded = ["source", "action", "url", "method", "params", "fileName", "children", "onFinish", "beforeDownload", "className", "transformResponse"];
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  import { useSetState } from 'ahooks';
11
11
  import classNames from 'classnames';
12
12
  import _, { isFunction } from 'lodash';
13
13
  import { BlobMakeFile, DownloadRequest } from './utils';
14
+ import { useProConfig } from '../ProConfigProvider';
14
15
  var ProDownload = function ProDownload(props) {
15
16
  var source = props.source,
16
17
  action = props.action,
@@ -18,7 +19,6 @@ var ProDownload = function ProDownload(props) {
18
19
  method = props.method,
19
20
  params = props.params,
20
21
  fileName = props.fileName,
21
- headers = props.headers,
22
22
  children = props.children,
23
23
  onFinish = props.onFinish,
24
24
  beforeDownload = props.beforeDownload,
@@ -31,8 +31,11 @@ var ProDownload = function ProDownload(props) {
31
31
  _useSetState2 = _slicedToArray(_useSetState, 2),
32
32
  loading = _useSetState2[0].loading,
33
33
  setState = _useSetState2[1];
34
+ var _ref = useProConfig('ProDownload') || {},
35
+ headers = _ref.headers;
36
+ defaultProps.headers = _objectSpread(_objectSpread({}, headers), defaultProps.headers);
34
37
  var handDownload = /*#__PURE__*/function () {
35
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
38
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36
39
  var _params;
37
40
  return _regeneratorRuntime().wrap(function _callee$(_context) {
38
41
  while (1) switch (_context.prev = _context.next) {
@@ -87,7 +90,7 @@ var ProDownload = function ProDownload(props) {
87
90
  return DownloadRequest({
88
91
  url: url || action,
89
92
  method: method,
90
- headers: headers,
93
+ headers: defaultProps.headers,
91
94
  params: _params,
92
95
  transformResponse: transformResponse,
93
96
  fileName: fileName,
@@ -116,7 +119,7 @@ var ProDownload = function ProDownload(props) {
116
119
  }, _callee, null, [[14, 19, 23, 26]]);
117
120
  }));
118
121
  return function handDownload() {
119
- return _ref.apply(this, arguments);
122
+ return _ref2.apply(this, arguments);
120
123
  };
121
124
  }();
122
125
  var cls = classNames(className, {
@@ -1,7 +1,10 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-download {
2
5
 
3
- &.ant-btn-link,
4
- &.ant-btn-text {
6
+ &.@{ant-prefix}-btn-link,
7
+ &.@{ant-prefix}-btn-text {
5
8
  padding: 0;
6
9
  }
7
10
  }