@zat-design/sisyphus-react 3.0.13 → 3.0.16-beta.4

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 (354) hide show
  1. package/dist/index.esm.css +2729 -1876
  2. package/es/ProDownload/DownloadHelper.js +2 -0
  3. package/es/ProDrawerForm/components/ProDrawer/index.js +5 -3
  4. package/es/ProDrawerForm/components/ProModal/index.js +15 -5
  5. package/es/ProDrawerForm/index.js +1 -1
  6. package/es/ProDrawerForm/propsType.d.ts +4 -0
  7. package/es/ProDrawerForm/style/index.less +88 -55
  8. package/es/ProEditLabel/components/RenderProForm.d.ts +4 -0
  9. package/es/ProEditLabel/components/RenderProForm.js +70 -0
  10. package/es/ProEditLabel/index.js +104 -141
  11. package/es/ProEditLabel/propsType.d.ts +7 -4
  12. package/es/ProEditLabel/style/index.less +33 -2
  13. package/es/ProEditLabel/utils/index.d.ts +5 -7
  14. package/es/ProEditLabel/utils/index.js +11 -27
  15. package/es/ProEditTable/components/ActionButton/index.d.ts +2 -1
  16. package/es/ProEditTable/components/ActionButton/index.js +20 -4
  17. package/es/ProEditTable/components/RenderField/index.d.ts +2 -1
  18. package/es/ProEditTable/components/RenderField/index.js +1 -2
  19. package/es/ProEditTable/components/RenderToolbar/index.d.ts +2 -1
  20. package/es/ProEditTable/components/Summary/index.d.ts +2 -1
  21. package/es/ProEditTable/propsType.d.ts +5 -0
  22. package/es/ProEditTable/style/index.less +16 -13
  23. package/es/ProEditTable/utils/config.d.ts +2 -1
  24. package/es/ProEditTable/utils/config.js +25 -14
  25. package/es/ProEditTable/utils/index.js +5 -3
  26. package/es/ProEnum/getEnumLabel.d.ts +2 -1
  27. package/es/ProEnum/getEnumLabel.js +1 -1
  28. package/es/ProEnum/index.d.ts +3 -2
  29. package/es/ProEnum/index.js +1 -1
  30. package/es/ProEnum/useEnum.js +1 -1
  31. package/es/ProEnum/useEnumRequest.js +6 -11
  32. package/es/ProForm/components/FormFooter/index.js +1 -1
  33. package/es/ProForm/components/base/DatePicker/index.js +2 -2
  34. package/es/ProForm/components/base/FormList/components/ActionButton.js +4 -5
  35. package/es/ProForm/components/base/FormList/index.d.ts +1 -0
  36. package/es/ProForm/components/base/FormList/index.js +10 -5
  37. package/es/ProForm/components/base/FormList/style/index.less +3 -0
  38. package/es/ProForm/components/base/Input/index.d.ts +2 -1
  39. package/es/ProForm/components/base/Input/index.js +1 -1
  40. package/es/ProForm/components/base/InputNumber/index.js +25 -1
  41. package/es/ProForm/components/base/RangePicker/index.js +2 -2
  42. package/es/ProForm/components/base/Select/index.js +1 -1
  43. package/es/ProForm/components/base/Switch/index.js +1 -1
  44. package/es/ProForm/components/base/TextArea/index.js +1 -1
  45. package/es/ProForm/components/combination/ProAddressBar/index.d.ts +1 -1
  46. package/es/ProForm/components/combination/ProAddressBar/index.js +3 -2
  47. package/es/ProForm/components/combination/ProCombination/index.js +3 -3
  48. package/es/ProForm/components/combination/ProModalSelect/index.d.ts +1 -1
  49. package/es/ProForm/components/combination/ProModalSelect/index.js +4 -3
  50. package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +7 -6
  51. package/es/ProForm/components/combination/ProModalSelect/style/index.less +45 -36
  52. package/es/ProForm/components/combination/ProRangeLimit/index.js +14 -16
  53. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -1
  54. package/es/ProForm/components/index.d.ts +2 -0
  55. package/es/ProForm/components/index.js +2 -0
  56. package/es/ProForm/components/old/CertNo/index.d.ts +2 -1
  57. package/es/ProForm/components/old/EnumSelect/index.js +1 -1
  58. package/es/ProForm/components/old/InputRange/index.d.ts +2 -1
  59. package/es/ProForm/components/old/InputWithSuffix/index.d.ts +2 -1
  60. package/es/ProForm/components/old/ProAddress/index.d.ts +2 -1
  61. package/es/ProForm/components/old/ProCertValidity/index.js +1 -1
  62. package/es/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
  63. package/es/ProForm/components/render/Render.js +6 -22
  64. package/es/ProForm/components/render/propsType.d.ts +4 -0
  65. package/es/ProForm/index.js +4 -2
  66. package/es/ProForm/style/index.less +12 -5
  67. package/es/ProForm/utils/index.d.ts +5 -2
  68. package/es/ProForm/utils/index.js +7 -12
  69. package/es/ProForm/utils/transformValue.js +4 -2
  70. package/es/ProForm/utils/useShouldUpdate.js +1 -0
  71. package/es/ProForm/utils/valueType.d.ts +4 -4
  72. package/es/ProIcon/index.d.ts +1 -0
  73. package/es/ProIcon/index.js +35 -5
  74. package/es/ProIcon/propsTypes.d.ts +9 -9
  75. package/es/ProIcon/symbolIcon.js +43 -0
  76. package/es/ProLayout/components/Layout/Header/style/index.less +1 -2
  77. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +2 -1
  78. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +1 -1
  79. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +3 -0
  80. package/es/ProLayout/components/ProCollapse/index.d.ts +2 -1
  81. package/es/ProLayout/components/ProCollapse/style/index.less +1 -0
  82. package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
  83. package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +2 -1
  84. package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
  85. package/es/ProLayout/components/ProHeader/index.js +2 -4
  86. package/es/ProLayout/components/ProHeader/style/index.less +3 -3
  87. package/es/ProLayout/index.d.ts +4 -4
  88. package/es/ProLayout/index.js +5 -6
  89. package/es/ProLayout/propTypes.d.ts +2 -5
  90. package/es/ProLayout/style/index.less +7 -1
  91. package/es/ProSelect/index.d.ts +1 -1
  92. package/es/ProSelect/index.js +2 -2
  93. package/es/ProSelect/propsType.d.ts +7 -0
  94. package/es/ProStep/components/Anchor/index.d.ts +2 -1
  95. package/es/ProStep/components/Item/index.d.ts +2 -1
  96. package/es/ProStep/components/Step/index.d.ts +2 -1
  97. package/es/ProStep/components/Step/index.js +12 -10
  98. package/es/ProStep/index.d.ts +2 -2
  99. package/es/ProStep/style/index.less +1 -1
  100. package/es/ProTable/components/ResizableLine/index.d.ts +2 -1
  101. package/es/ProTable/components/TableResizable/index.d.ts +2 -1
  102. package/es/ProTable/index.d.ts +1 -1
  103. package/es/ProTable/index.js +2 -2
  104. package/es/ProTable/propsType.d.ts +4 -3
  105. package/es/ProTable/style/index.less +12 -17
  106. package/es/ProTable/useAntdTable.d.ts +4 -4
  107. package/es/ProTable/useAntdTable.js +64 -37
  108. package/es/ProTable/utils.js +25 -6
  109. package/es/ProTabs/components/Card/index.d.ts +4 -0
  110. package/es/ProTabs/components/Card/index.js +24 -0
  111. package/es/ProTabs/components/index.d.ts +1 -0
  112. package/es/ProTabs/components/index.js +1 -0
  113. package/es/ProTabs/index.d.ts +4 -0
  114. package/es/ProTabs/index.js +98 -0
  115. package/es/ProTabs/propType.d.ts +31 -0
  116. package/es/ProTabs/propType.js +1 -0
  117. package/es/ProTabs/style/index.less +68 -0
  118. package/es/ProThemeTools/component/PrdTools/index.d.ts +4 -0
  119. package/es/ProThemeTools/component/PrdTools/index.js +219 -0
  120. package/es/ProThemeTools/component/PrdTools/style/index.less +168 -0
  121. package/es/ProThemeTools/component/index.d.ts +2 -0
  122. package/es/ProThemeTools/component/index.js +2 -0
  123. package/es/ProThemeTools/index.d.ts +14 -0
  124. package/es/ProThemeTools/index.js +196 -0
  125. package/es/ProThemeTools/propsType.d.ts +35 -0
  126. package/es/ProThemeTools/propsType.js +1 -0
  127. package/es/ProThemeTools/style/index.less +55 -0
  128. package/es/ProThemeTools/utils/index.d.ts +19 -0
  129. package/es/ProThemeTools/utils/index.js +72 -0
  130. package/es/ProTooltip/index.d.ts +2 -1
  131. package/es/ProTransferModal/components/SortableItem/index.js +2 -2
  132. package/es/ProTransferModal/style/index.less +9 -1
  133. package/es/ProTreeModal/components/CloseIcon.d.ts +3 -0
  134. package/es/ProTreeModal/components/CloseIcon.js +25 -0
  135. package/es/ProTreeModal/components/List.d.ts +13 -0
  136. package/es/ProTreeModal/components/List.js +52 -0
  137. package/es/ProTreeModal/components/SearchTitle.d.ts +7 -0
  138. package/es/ProTreeModal/components/SearchTitle.js +14 -0
  139. package/es/ProTreeModal/components/Tree.d.ts +15 -0
  140. package/es/ProTreeModal/components/Tree.js +149 -0
  141. package/es/ProTreeModal/components/Trigger.d.ts +10 -0
  142. package/es/ProTreeModal/components/Trigger.js +32 -0
  143. package/es/ProTreeModal/components/index.d.ts +5 -0
  144. package/es/ProTreeModal/components/index.js +5 -0
  145. package/es/ProTreeModal/data/datasource.d.ts +5 -0
  146. package/es/ProTreeModal/data/datasource.js +17 -0
  147. package/es/ProTreeModal/data/mock.d.ts +9 -0
  148. package/es/ProTreeModal/data/mock.js +39 -0
  149. package/es/ProTreeModal/index.d.ts +5 -0
  150. package/es/ProTreeModal/index.js +333 -0
  151. package/es/ProTreeModal/propsType.d.ts +26 -0
  152. package/es/ProTreeModal/propsType.js +1 -0
  153. package/es/ProTreeModal/style/index.less +105 -0
  154. package/es/ProTreeModal/utils.d.ts +26 -0
  155. package/es/ProTreeModal/utils.js +136 -0
  156. package/es/ProTreeSelect/index.d.ts +5 -0
  157. package/es/ProTreeSelect/index.js +426 -0
  158. package/es/ProTreeSelect/propsType.d.ts +95 -0
  159. package/es/ProTreeSelect/propsType.js +1 -0
  160. package/es/ProTreeSelect/style/index.less +109 -0
  161. package/es/ProUpload/Example.js +1 -1
  162. package/es/ProUpload/index.d.ts +0 -1
  163. package/es/ProUpload/index.js +8 -2
  164. package/es/ProUpload/style/fileItem.less +3 -1
  165. package/es/ProUpload/style/index.less +8 -1
  166. package/es/ProWaterMark/index.js +1 -1
  167. package/es/assets/close.svg +1 -0
  168. package/es/index.d.ts +3 -0
  169. package/es/index.js +4 -8
  170. package/es/old/ProCertValidity/index.js +1 -1
  171. package/es/style/components.less +25 -9
  172. package/es/style/theme/antd.less +60 -29
  173. package/es/style/theme/index.less +154 -176
  174. package/es/tokens.js +85 -0
  175. package/lib/ProDrawerForm/components/ProDrawer/index.js +5 -3
  176. package/lib/ProDrawerForm/components/ProModal/index.js +13 -5
  177. package/lib/ProDrawerForm/index.js +1 -1
  178. package/lib/ProDrawerForm/propsType.d.ts +4 -0
  179. package/lib/ProDrawerForm/style/index.less +88 -55
  180. package/lib/ProEditLabel/components/RenderProForm.d.ts +4 -0
  181. package/lib/ProEditLabel/components/RenderProForm.js +78 -0
  182. package/lib/ProEditLabel/index.js +102 -137
  183. package/lib/ProEditLabel/propsType.d.ts +7 -4
  184. package/lib/ProEditLabel/style/index.less +33 -2
  185. package/lib/ProEditLabel/utils/index.d.ts +5 -7
  186. package/lib/ProEditLabel/utils/index.js +14 -31
  187. package/lib/ProEditTable/components/ActionButton/index.d.ts +2 -1
  188. package/lib/ProEditTable/components/ActionButton/index.js +20 -4
  189. package/lib/ProEditTable/components/RenderField/index.d.ts +2 -1
  190. package/lib/ProEditTable/components/RenderField/index.js +3 -2
  191. package/lib/ProEditTable/components/RenderToolbar/index.d.ts +2 -1
  192. package/lib/ProEditTable/components/Summary/index.d.ts +2 -1
  193. package/lib/ProEditTable/propsType.d.ts +5 -0
  194. package/lib/ProEditTable/style/index.less +16 -13
  195. package/lib/ProEditTable/utils/config.d.ts +2 -1
  196. package/lib/ProEditTable/utils/config.js +24 -13
  197. package/lib/ProEditTable/utils/index.js +5 -3
  198. package/lib/ProEnum/getEnumLabel.d.ts +2 -1
  199. package/lib/ProEnum/getEnumLabel.js +3 -3
  200. package/lib/ProEnum/index.d.ts +3 -2
  201. package/lib/ProEnum/index.js +4 -4
  202. package/lib/ProEnum/useEnum.js +3 -3
  203. package/lib/ProEnum/useEnumRequest.js +6 -11
  204. package/lib/ProForm/components/FormFooter/index.js +2 -2
  205. package/lib/ProForm/components/base/DatePicker/index.js +3 -3
  206. package/lib/ProForm/components/base/FormList/components/ActionButton.js +4 -5
  207. package/lib/ProForm/components/base/FormList/index.d.ts +1 -0
  208. package/lib/ProForm/components/base/FormList/index.js +10 -5
  209. package/lib/ProForm/components/base/FormList/style/index.less +3 -0
  210. package/lib/ProForm/components/base/Input/index.d.ts +2 -1
  211. package/lib/ProForm/components/base/Input/index.js +2 -2
  212. package/lib/ProForm/components/base/InputNumber/index.js +26 -2
  213. package/lib/ProForm/components/base/RangePicker/index.js +2 -2
  214. package/lib/ProForm/components/base/Select/index.js +2 -2
  215. package/lib/ProForm/components/base/Switch/index.js +2 -2
  216. package/lib/ProForm/components/base/TextArea/index.js +2 -2
  217. package/lib/ProForm/components/combination/ProAddressBar/index.d.ts +1 -1
  218. package/lib/ProForm/components/combination/ProAddressBar/index.js +4 -3
  219. package/lib/ProForm/components/combination/ProCombination/index.js +3 -3
  220. package/lib/ProForm/components/combination/ProModalSelect/index.d.ts +1 -1
  221. package/lib/ProForm/components/combination/ProModalSelect/index.js +8 -7
  222. package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +7 -6
  223. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +45 -36
  224. package/lib/ProForm/components/combination/ProRangeLimit/index.js +15 -17
  225. package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -1
  226. package/lib/ProForm/components/index.d.ts +2 -0
  227. package/lib/ProForm/components/index.js +14 -0
  228. package/lib/ProForm/components/old/CertNo/index.d.ts +2 -1
  229. package/lib/ProForm/components/old/EnumSelect/index.js +2 -2
  230. package/lib/ProForm/components/old/InputRange/index.d.ts +2 -1
  231. package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +2 -1
  232. package/lib/ProForm/components/old/ProAddress/index.d.ts +2 -1
  233. package/lib/ProForm/components/old/ProCertValidity/index.js +1 -1
  234. package/lib/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
  235. package/lib/ProForm/components/render/Render.js +4 -20
  236. package/lib/ProForm/components/render/propsType.d.ts +4 -0
  237. package/lib/ProForm/index.js +4 -2
  238. package/lib/ProForm/style/index.less +12 -5
  239. package/lib/ProForm/utils/index.d.ts +5 -2
  240. package/lib/ProForm/utils/index.js +10 -14
  241. package/lib/ProForm/utils/transformValue.js +4 -2
  242. package/lib/ProForm/utils/useShouldUpdate.js +1 -0
  243. package/lib/ProForm/utils/valueType.d.ts +4 -4
  244. package/lib/ProIcon/index.d.ts +1 -0
  245. package/lib/ProIcon/index.js +36 -5
  246. package/lib/ProIcon/propsTypes.d.ts +9 -9
  247. package/lib/ProIcon/symbolIcon.js +45 -0
  248. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -2
  249. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +2 -1
  250. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +1 -1
  251. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +3 -0
  252. package/lib/ProLayout/components/ProCollapse/index.d.ts +2 -1
  253. package/lib/ProLayout/components/ProCollapse/style/index.less +1 -0
  254. package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
  255. package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +2 -1
  256. package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
  257. package/lib/ProLayout/components/ProHeader/index.js +1 -4
  258. package/lib/ProLayout/components/ProHeader/style/index.less +3 -3
  259. package/lib/ProLayout/index.d.ts +4 -4
  260. package/lib/ProLayout/index.js +5 -6
  261. package/lib/ProLayout/propTypes.d.ts +2 -5
  262. package/lib/ProLayout/style/index.less +7 -1
  263. package/lib/ProSelect/index.d.ts +1 -1
  264. package/lib/ProSelect/index.js +3 -3
  265. package/lib/ProSelect/propsType.d.ts +7 -0
  266. package/lib/ProStep/components/Anchor/index.d.ts +2 -1
  267. package/lib/ProStep/components/Item/index.d.ts +2 -1
  268. package/lib/ProStep/components/Step/index.d.ts +2 -1
  269. package/lib/ProStep/components/Step/index.js +11 -9
  270. package/lib/ProStep/index.d.ts +2 -2
  271. package/lib/ProStep/style/index.less +1 -1
  272. package/lib/ProTable/components/ResizableLine/index.d.ts +2 -1
  273. package/lib/ProTable/components/TableResizable/index.d.ts +2 -1
  274. package/lib/ProTable/components/TableResizable/index.js +8 -0
  275. package/lib/ProTable/index.d.ts +1 -1
  276. package/lib/ProTable/index.js +5 -5
  277. package/lib/ProTable/propsType.d.ts +4 -3
  278. package/lib/ProTable/style/index.less +12 -17
  279. package/lib/ProTable/useAntdTable.d.ts +4 -4
  280. package/lib/ProTable/useAntdTable.js +63 -36
  281. package/lib/ProTable/utils.js +26 -7
  282. package/lib/ProTabs/components/Card/index.d.ts +4 -0
  283. package/lib/ProTabs/components/Card/index.js +31 -0
  284. package/lib/ProTabs/components/index.d.ts +1 -0
  285. package/lib/ProTabs/components/index.js +13 -0
  286. package/lib/ProTabs/index.d.ts +4 -0
  287. package/lib/ProTabs/index.js +106 -0
  288. package/lib/ProTabs/propType.d.ts +31 -0
  289. package/lib/ProTabs/propType.js +5 -0
  290. package/lib/ProTabs/style/index.less +68 -0
  291. package/lib/ProThemeTools/component/PrdTools/index.d.ts +4 -0
  292. package/lib/ProThemeTools/component/PrdTools/index.js +221 -0
  293. package/lib/ProThemeTools/component/PrdTools/style/index.less +168 -0
  294. package/lib/ProThemeTools/component/index.d.ts +2 -0
  295. package/lib/ProThemeTools/component/index.js +13 -0
  296. package/lib/ProThemeTools/index.d.ts +14 -0
  297. package/lib/ProThemeTools/index.js +202 -0
  298. package/lib/ProThemeTools/propsType.d.ts +35 -0
  299. package/lib/ProThemeTools/propsType.js +5 -0
  300. package/lib/ProThemeTools/style/index.less +55 -0
  301. package/lib/ProThemeTools/utils/index.d.ts +19 -0
  302. package/lib/ProThemeTools/utils/index.js +82 -0
  303. package/lib/ProTooltip/index.d.ts +2 -1
  304. package/lib/ProTransferModal/components/SortableItem/index.js +2 -2
  305. package/lib/ProTransferModal/style/index.less +9 -1
  306. package/lib/ProTreeModal/components/CloseIcon.d.ts +3 -0
  307. package/lib/ProTreeModal/components/CloseIcon.js +33 -0
  308. package/lib/ProTreeModal/components/List.d.ts +13 -0
  309. package/lib/ProTreeModal/components/List.js +59 -0
  310. package/lib/ProTreeModal/components/SearchTitle.d.ts +7 -0
  311. package/lib/ProTreeModal/components/SearchTitle.js +22 -0
  312. package/lib/ProTreeModal/components/Tree.d.ts +15 -0
  313. package/lib/ProTreeModal/components/Tree.js +157 -0
  314. package/lib/ProTreeModal/components/Trigger.d.ts +10 -0
  315. package/lib/ProTreeModal/components/Trigger.js +39 -0
  316. package/lib/ProTreeModal/components/index.d.ts +5 -0
  317. package/lib/ProTreeModal/components/index.js +41 -0
  318. package/lib/ProTreeModal/data/datasource.d.ts +5 -0
  319. package/lib/ProTreeModal/data/datasource.js +24 -0
  320. package/lib/ProTreeModal/data/mock.d.ts +9 -0
  321. package/lib/ProTreeModal/data/mock.js +47 -0
  322. package/lib/ProTreeModal/index.d.ts +5 -0
  323. package/lib/ProTreeModal/index.js +340 -0
  324. package/lib/ProTreeModal/propsType.d.ts +26 -0
  325. package/lib/ProTreeModal/propsType.js +5 -0
  326. package/lib/ProTreeModal/style/index.less +105 -0
  327. package/lib/ProTreeModal/utils.d.ts +26 -0
  328. package/lib/ProTreeModal/utils.js +148 -0
  329. package/lib/ProTreeSelect/index.d.ts +5 -0
  330. package/lib/ProTreeSelect/index.js +433 -0
  331. package/lib/ProTreeSelect/propsType.d.ts +95 -0
  332. package/lib/ProTreeSelect/propsType.js +5 -0
  333. package/lib/ProTreeSelect/style/index.less +109 -0
  334. package/lib/ProUpload/Example.js +2 -2
  335. package/lib/ProUpload/index.d.ts +0 -1
  336. package/lib/ProUpload/index.js +8 -2
  337. package/lib/ProUpload/style/fileItem.less +3 -1
  338. package/lib/ProUpload/style/index.less +8 -1
  339. package/lib/ProWaterMark/index.js +1 -1
  340. package/lib/assets/close.svg +1 -0
  341. package/lib/index.d.ts +3 -0
  342. package/lib/index.js +28 -0
  343. package/lib/old/ProCertValidity/index.js +1 -1
  344. package/lib/style/components.less +25 -9
  345. package/lib/style/theme/antd.less +60 -29
  346. package/lib/style/theme/index.less +154 -176
  347. package/lib/tokens.js +87 -0
  348. package/package.json +7 -8
  349. package/typings.d.ts +6 -2
  350. package/es/ProEditLabel/components/RenderForm.d.ts +0 -3
  351. package/es/ProEditLabel/components/RenderForm.js +0 -65
  352. package/lib/ProEditLabel/components/RenderForm.d.ts +0 -3
  353. package/lib/ProEditLabel/components/RenderForm.js +0 -75
  354. package/source-code/package.json +0 -16
@@ -2,189 +2,167 @@
2
2
 
3
3
  /* 兼容IE11 默认会生成2个值,默认值,var值。IE11下读取默认值 */
4
4
  :root {
5
- --zaui-global-bg: #ffffff;
6
- --zaui-base-bg: #ffffff;
7
- --zaui-brand: #006aff;
8
- --zaui-brand-hover: #3387ff;
9
- --zaui-brand-active: #005ad9;
10
- --zaui-brand-disabled: #99c3ff;
11
- --zaui-text: #343434;
12
- --zaui-text-weak: #a0a0a0;
13
- --zaui-aide-text: #909090;
14
- --zaui-placeholder: #a0a0a0;
15
- --zaui-link: var(--zaui-brand);
16
- --zaui-link-light-active: var(--zaui-brand-active);
17
- --zaui-line: #ddd;
18
- --zaui-shadow: rgba(56, 56, 56, 0.15);
19
- --zaui-form-control-line: var(--zaui-line);
20
- --zaui-form-control-line-hover: var(--zaui-brand-hover);
21
- --zaui-form-control-line-active: var(--zaui-brand-active);
22
- --zaui-list-item-active-bg: var(--zaui-brand);
23
- --zaui-list-item-active-hover-bg: var(--zaui-brand);
24
- --zaui-list-item-selected-bg: var(--zaui-brand);
5
+ --zaui-global-bg : #ffffff;
6
+ --zaui-base-bg : #ffffff;
7
+ --zaui-brand : #006aff;
8
+ --zaui-brand-hover : #3387ff;
9
+ --zaui-brand-active : #005ad9;
10
+ --zaui-brand-disabled : #99c3ff;
11
+ --zaui-text : #343434;
12
+ --zaui-text-weak : #616161;
13
+ --zaui-aide-text : #909090;
14
+ --zaui-placeholder : #a0a0a0;
15
+ --zaui-link : var(--zaui-brand);
16
+ --zaui-link-light-active : var(--zaui-brand-active);
17
+ --zaui-line : #DCDCDC;
18
+ --zaui-dividing-line : #DCDCDC;
19
+ --zaui-area : #fafafa;
20
+ --zaui-shadow : rgba(56, 56, 56, 0.15);
21
+ --zaui-form-control-line : var(--zaui-line);
22
+ --zaui-form-control-line-hover : var(--zaui-brand-hover);
23
+ --zaui-form-control-line-active : var(--zaui-brand-active);
24
+ --zaui-list-item-active-bg : var(--zaui-brand);
25
+ --zaui-list-item-active-hover-bg : var(--zaui-brand);
26
+ --zaui-list-item-selected-bg : var(--zaui-brand);
25
27
  --zaui-list-item-selected-hover-bg: var(--zaui-brand);
26
- --zaui-disabled-bg: #f2f2f2;
27
- --zaui-disabled-text: #333333;
28
- --zaui-feedback-overlay-bg: rgba(0, 0, 0, 0.7);
29
- --zaui-feedback-overlay-text: #343434;
30
- --zaui-primary: var(--zaui-brand);
31
- --zaui-primary-hover: var(--zaui-brand-hover);
32
- --zaui-primary-active: var(--zaui-brand-active);
33
- --zaui-danger-line: var(--zaui-line);
34
- --zaui-danger-bg: #fff2f0;
35
- --zaui-warning-line: var(--zaui-line);
36
- --zaui-warning-bg: #fffbe6;
37
- --zaui-info-line: var(--zaui-line);
38
- --zaui-info-bg: #e6f7ff;
39
- --zaui-success-line: var(--zaui-line);
40
- --zaui-success-bg: #f6ffed;
41
- --zaui-danger: #ff5050;
42
- --zaui-warning: #ec9131;
43
- --zaui-success: #00ae4d;
44
- --zaui-menu-top-bg: #ffffff;
45
- --zaui-menu-left-bg: #1a202d;
46
- --zaui-menu-second-bg: #ffffff;
47
- --zaui-form-align: left;
48
- --zaui-form-label-width: 130px; // 8个全角字符宽度
49
- --zaui-border-radius: 4px;
50
- --zaui-border-radius-card: 2px;
51
- --zaui-font-size-title: 16px;
52
- --zaui-font-size-card-title: var(--zaui-font-size-title);
53
- --zaui-font-size: 14px;
54
- --zaui-font-size-sm: 12px;
55
- --zaui-font-size-md: var(--zaui-font-size);
56
- --zaui-font-size-lg: 16px;
57
- --zaui-font-size-xl: 18px;
58
- --zaui-font-size-xxl: 20px;
59
- --zaui-font-size-lg-title: 24px;
60
- --zaui-height-border: var(--zaui-height-size-md);
61
- --zaui-height-card: var(--zaui-height-size-lg);
62
- --zaui-height-size-xs: 4px;
63
- --zaui-height-size-sm: 8px;
64
- --zaui-height-size-md: 16px;
65
- --zaui-height-size-lg: 32px;
66
- --zaui-height-size-xl: 64px;
67
- --zaui-space-border: var(--zaui-space-size-md); // 兼容1.1.35一下版本 变量
68
- --zaui-space-card: var(--zaui-space-size-lg);
69
- --zaui-space-size-xs: 4px;
70
- --zaui-space-size-sm: 8px;
71
- --zaui-space-size-md: 16px;
72
- --zaui-space-size-lg: 32px;
73
- --zaui-space-size-xl: 64px;
28
+ --zaui-disabled-bg : #f2f2f2;
29
+ --zaui-disabled-text : #333333;
30
+ --zaui-feedback-overlay-bg : rgba(0, 0, 0, 0.7);
31
+ --zaui-feedback-overlay-text : #343434;
32
+ --zaui-primary : var(--zaui-brand);
33
+ --zaui-primary-hover : var(--zaui-brand-hover);
34
+ --zaui-primary-active : var(--zaui-brand-active);
35
+ --zaui-danger-line : var(--zaui-line);
36
+ --zaui-danger-bg : #fff2f0;
37
+ --zaui-warning-line : var(--zaui-line);
38
+ --zaui-warning-bg : #fffbe6;
39
+ --zaui-info-line : var(--zaui-line);
40
+ --zaui-info-bg : #e6f7ff;
41
+ --zaui-success-line : var(--zaui-line);
42
+ --zaui-success-bg : #f6ffed;
43
+ --zaui-danger : #ff5050;
44
+ --zaui-warning : #ec9131;
45
+ --zaui-success : #00ae4d;
46
+ --zaui-menu-top-bg : #ffffff;
47
+ --zaui-menu-left-bg : #1a202d;
48
+ --zaui-menu-second-bg : #ffffff;
49
+ --zaui-form-align : left;
50
+ --zaui-table-header-bg : #f2f3f5;
51
+ --zaui-table-strip-bg : #fafafa;
52
+ --zaui-table-hover-bg : #fafafa;
53
+ --zaui-table-selected-bg : var(--zaui-table-hover-bg); // 默认同悬停
54
+ --zaui-table-selected-hover-bg : var(--zaui-table-hover-bg); // 默认同悬停
55
+ @zaui-table—nested-bg : #FAFCFE;
56
+ --zaui-form-label-width : 130px; // 8个全角字符宽度
57
+ --zaui-border-radius : 4px;
58
+ --zaui-border-radius-card : 2px;
59
+ --zaui-font-size-title : 16px;
60
+ --zaui-font-size-card-title : var(--zaui-font-size-title);
61
+ --zaui-font-size : 14px;
62
+ --zaui-font-size-sm : 12px;
63
+ --zaui-font-size-md : var(--zaui-font-size);
64
+ --zaui-font-size-lg : 16px;
65
+ --zaui-font-size-xl : 18px;
66
+ --zaui-font-size-xxl : 20px;
67
+ --zaui-font-size-lg-title : 24px;
68
+ --zaui-height-border : var(--zaui-height-size-md);
69
+ --zaui-height-card : var(--zaui-height-size-lg);
70
+ --zaui-height-size-xs : 4px;
71
+ --zaui-height-size-sm : 8px;
72
+ --zaui-height-size-md : 16px;
73
+ --zaui-height-size-lg : 32px;
74
+ --zaui-height-size-xl : 64px;
75
+ --zaui-space-border : var(--zaui-space-size-md); // 兼容1.1.35一下版本 变量
76
+ --zaui-space-card : var(--zaui-space-size-lg);
77
+ --zaui-space-size-xs : 4px;
78
+ --zaui-space-size-sm : 8px;
79
+ --zaui-space-size-md : 16px;
80
+ --zaui-space-size-lg : 32px;
81
+ --zaui-space-size-xl : 64px;
74
82
 
75
83
  --zaui-line-height-base: 1.5;
76
- --zaui-size: 1;
77
- --zaui-base-font-size: 0px;
84
+ --zaui-size : 1;
85
+ --zaui-base-font-size : 0px;
78
86
  }
79
87
 
80
- @zaui-global-bg: var(--zaui-global-bg, #ffffff);
81
- @zaui-base-bg: var(--zaui-base-bg, #ffffff);
82
- @zaui-brand: var(--zaui-brand, #006aff);
83
- @zaui-brand-hover: var(--zaui-brand-hover, #3387ff);
84
- @zaui-brand-active: var(--zaui-brand-active, #005ad9);
85
- @zaui-brand-disabled: var(--zaui-brand-disabled, #99c3ff);
86
- @zaui-text: var(--zaui-text, #343434);
87
- @zaui-text-weak: var(--zaui-text-weak, #a0a0a0);
88
- @zaui-aide-text: var(--zaui-aide-text, #909090);
89
- @zaui-placeholder: var(--zaui-placeholder, #a0a0a0);
90
- @zaui-link: var(--zaui-link, #006aff);
91
- @zaui-link-light-active: var(--zaui-link-light-active, #005ad9);
92
- @zaui-line: var(--zaui-line, #ddd);
93
- @zaui-shadow: var(--zaui-shadow, rgba(56, 56, 56, 0.15));
94
- @zaui-form-control-line: var(--zaui-form-control-line, #ddd);
95
- @zaui-form-control-line-hover: var(--zaui-form-control-line-hover, #3387ff);
96
- @zaui-form-control-line-active: var(--zaui-form-control-line-active, #005ad9);
97
- @zaui-list-item-active-bg: var(--zaui-list-item-active-bg, #006aff);
88
+ @zaui-global-bg : var(--zaui-global-bg, #ffffff);
89
+ @zaui-base-bg : var(--zaui-base-bg, #ffffff);
90
+ @zaui-brand : var(--zaui-brand, #006aff);
91
+ @zaui-brand-hover : var(--zaui-brand-hover, #3387ff);
92
+ @zaui-brand-active : var(--zaui-brand-active, #005ad9);
93
+ @zaui-brand-disabled : var(--zaui-brand-disabled, #99c3ff);
94
+ @zaui-text : var(--zaui-text, #343434);
95
+ @zaui-text-weak : var(--zaui-text-weak, #616161);
96
+ @zaui-aide-text : var(--zaui-aide-text, #909090);
97
+ @zaui-placeholder : var(--zaui-placeholder, #a0a0a0);
98
+ @zaui-link : var(--zaui-link, #006aff);
99
+ @zaui-link-light-active : var(--zaui-link-light-active, #005ad9);
100
+ @zaui-line : var(--zaui-line, #DCDCDC);
101
+ @zaui-dividing-line : var(--zaui-dividing-line, #DCDCDC);
102
+ @zaui-area : var(--zaui-area, #fafafa);
103
+ @zaui-shadow : var(--zaui-shadow, rgba(56, 56, 56, 0.15));
104
+ @zaui-form-control-line : var(--zaui-form-control-line, #DCDCDC);
105
+ @zaui-form-control-line-hover : var(--zaui-form-control-line-hover, #3387ff);
106
+ @zaui-form-control-line-active : var(--zaui-form-control-line-active, #005ad9);
107
+ @zaui-list-item-active-bg : var(--zaui-list-item-active-bg, #006aff);
98
108
  @zaui-list-item-active-hover-bg: var(--zaui-list-item-active-hover-bg, #006aff);
99
- @zaui-list-item-selected-bg: var(--zaui-list-item-selected-bg, #006aff);
100
- @zaui-list-item-selected-hover-bg: var(
101
- --zaui-list-item-selected-hover-bg,
102
- #006aff
103
- );
104
- @zaui-disabled-bg: var(--zaui-disabled-bg, #f2f2f2);
105
- @zaui-disabled-text: var(--zaui-disabled-text, #333333);
106
- @zaui-feedback-overlay-bg: var(--zaui-feedback-overlay-bg, rgba(0, 0, 0, 0.7));
107
- @zaui-feedback-overlay-text: var(--zaui-feedback-overlay-text, #343434);
108
- @zaui-primary: var(--zaui-primary, #006aff);
109
- @zaui-primary-hover: var(--zaui-primary-hover, #3387ff);
110
- @zaui-primary-active: var(--zaui-primary-active, #005ad9);
111
- @zaui-danger-line: var(--zaui-danger-line, #ddd);
112
- @zaui-danger-bg: var(--zaui-danger-bg, #fff2f0);
113
- @zaui-warning-line: var(--zaui-warning-line, #ddd);
114
- @zaui-warning-bg: var(--zaui-warning-bg, #fffbe6);
115
- @zaui-info-line: var(--zaui-info-line, #ddd);
116
- @zaui-info-bg: var(--zaui-info-bg, #e6f7ff);
117
- @zaui-success-line: var(--zaui-success-line, #ddd);
118
- @zaui-success-bg: var(--zaui-success-bg, #f6ffed);
119
- @zaui-danger: var(--zaui-danger, #ff5050);
120
- @zaui-warning: var(--zaui-warning, #ec9131);
121
- @zaui-success: var(--zaui-success, #00ae4d);
122
- @zaui-menu-top-bg: var(--zaui-menu-top-bg, #ffffff);
123
- @zaui-menu-left-bg: var(--zaui-menu-left-bg, #1a202d);
124
- @zaui-menu-second-bg: var(--zaui-menu-second-bg, #ffffff);
125
- @zaui-form-align: var(--zaui-form-align, left);
126
- @zaui-form-label-width: var(--zaui-form-label-width, 130px);
127
- @zaui-border-radius: var(--zaui-border-radius, 4px);
128
- @zaui-border-radius-card: var(--zaui-border-radius-card, 2px);
129
- @zaui-font-size-title: calc(
130
- var(--zaui-font-size-title, 16px) + var(--zaui-base-font-size, 0px)
131
- );
132
- @zaui-font-size-card-title: calc(
133
- var(--zaui-font-size-card-title, 16px) + var(--zaui-base-font-size, 0px)
134
- );
135
- @zaui-font-size: calc(
136
- var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px)
137
- );
138
- @zaui-font-size-sm: calc(
139
- var(--zaui-font-size-sm, 12px) + var(--zaui-base-font-size, 0px)
140
- );
141
- @zaui-font-size-md: calc(
142
- var(--zaui-font-size-md, 14px) + var(--zaui-base-font-size, 0px)
143
- );
144
- @zaui-font-size-lg: calc(
145
- var(--zaui-font-size-lg, 16px) + var(--zaui-base-font-size, 0px)
146
- );
147
- @zaui-font-size-xl: calc(
148
- var(--zaui-font-size-xl, 18px) + var(--zaui-base-font-size, 0px)
149
- );
150
- @zaui-font-size-xxl: calc(
151
- var(--zaui-font-size-xxl, 20px) + var(--zaui-base-font-size, 0px)
152
- );
153
- @zaui-font-size-lg-title: calc(
154
- var(--zaui-font-size-lg-title, 24px) + var(--zaui-base-font-size, 0px)
155
- );
156
- @zaui-height-border: calc(
157
- var(--zaui-height-border, 16px) * var(--zaui-size, 1)
158
- );
159
- @zaui-height-card: calc(var(--zaui-height-card, 32px) * var(--zaui-size, 1));
160
- @zaui-height-size-xs: calc(
161
- var(--zaui-height-size-xs, 4px) * var(--zaui-size, 1)
162
- );
163
- @zaui-height-size-sm: calc(
164
- var(--zaui-height-size-sm, 8px) * var(--zaui-size, 1)
165
- );
166
- @zaui-height-size-md: calc(
167
- var(--zaui-height-size-md, 16px) * var(--zaui-size, 1)
168
- );
169
- @zaui-height-size-lg: calc(
170
- var(--zaui-height-size-lg, 32px) * var(--zaui-size, 1)
171
- );
172
- @zaui-height-size-xl: calc(
173
- var(--zaui-height-size-xl, 64px) * var(--zaui-size, 1)
174
- );
109
+ @zaui-list-item-selected-bg : var(--zaui-list-item-selected-bg, #006aff);
110
+ @zaui-list-item-selected-hover-bg: var(--zaui-list-item-selected-hover-bg,
111
+ #006aff);
112
+ @zaui-disabled-bg : var(--zaui-disabled-bg, #f2f2f2);
113
+ @zaui-disabled-text : var(--zaui-disabled-text, #333333);
114
+ @zaui-feedback-overlay-bg : var(--zaui-feedback-overlay-bg, rgba(0, 0, 0, 0.7));
115
+ @zaui-feedback-overlay-text : var(--zaui-feedback-overlay-text, #343434);
116
+ @zaui-primary : var(--zaui-primary, #006aff);
117
+ @zaui-primary-hover : var(--zaui-primary-hover, #3387ff);
118
+ @zaui-primary-active : var(--zaui-primary-active, #005ad9);
119
+ @zaui-danger-line : var(--zaui-danger-line, #ddd);
120
+ @zaui-danger-bg : var(--zaui-danger-bg, #fff2f0);
121
+ @zaui-warning-line : var(--zaui-warning-line, #ddd);
122
+ @zaui-warning-bg : var(--zaui-warning-bg, #fffbe6);
123
+ @zaui-info-line : var(--zaui-info-line, #ddd);
124
+ @zaui-info-bg : var(--zaui-info-bg, #e6f7ff);
125
+ @zaui-success-line : var(--zaui-success-line, #ddd);
126
+ @zaui-success-bg : var(--zaui-success-bg, #f6ffed);
127
+ @zaui-danger : var(--zaui-danger, #ff5050);
128
+ @zaui-warning : var(--zaui-warning, #ec9131);
129
+ @zaui-success : var(--zaui-success, #00ae4d);
130
+ @zaui-menu-top-bg : var(--zaui-menu-top-bg, #ffffff);
131
+ @zaui-menu-left-bg : var(--zaui-menu-left-bg, #1a202d);
132
+ @zaui-menu-second-bg : var(--zaui-menu-second-bg, #ffffff);
133
+ @zaui-form-align : var(--zaui-form-align, left);
134
+ @zaui-table-header-bg : var(--zaui-table-header-bg, #f2f3f5);
135
+ @zaui-table-strip-bg : var(--zaui-table-strip-bg, #fafafa);
136
+ @zaui-table-hover-bg : var(--zaui-table-hover-bg, #fafafa);
137
+ @zaui-table-selected-bg : var(--zaui-table-hover-bg, #fafafa); // 默认同悬停
138
+ @zaui-table-selected-hover-bg: var(--zaui-table-hover-bg, #fafafa); // 默认同悬停
139
+ @zaui-table—nested-bg : var(--zaui-table—nested-bg, #FAFCFE);
140
+ @zaui-form-label-width : var(--zaui-form-label-width, 130px);
141
+ @zaui-border-radius : var(--zaui-border-radius, 4px);
142
+ @zaui-border-radius-card : var(--zaui-border-radius-card, 2px);
143
+ @zaui-font-size-title : calc(var(--zaui-font-size-title, 16px) + var(--zaui-base-font-size, 0px));
144
+ @zaui-font-size-card-title : calc(var(--zaui-font-size-card-title, 16px) + var(--zaui-base-font-size, 0px));
145
+ @zaui-font-size : calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
146
+ @zaui-font-size-sm : calc(var(--zaui-font-size-sm, 12px) + var(--zaui-base-font-size, 0px));
147
+ @zaui-font-size-md : calc(var(--zaui-font-size-md, 14px) + var(--zaui-base-font-size, 0px));
148
+ @zaui-font-size-lg : calc(var(--zaui-font-size-lg, 16px) + var(--zaui-base-font-size, 0px));
149
+ @zaui-font-size-xl : calc(var(--zaui-font-size-xl, 18px) + var(--zaui-base-font-size, 0px));
150
+ @zaui-font-size-xxl : calc(var(--zaui-font-size-xxl, 20px) + var(--zaui-base-font-size, 0px));
151
+ @zaui-font-size-lg-title : calc(var(--zaui-font-size-lg-title, 24px) + var(--zaui-base-font-size, 0px));
152
+ @zaui-height-border : calc(var(--zaui-height-border, 16px) * var(--zaui-size, 1));
153
+ @zaui-height-card : calc(var(--zaui-height-card, 32px) * var(--zaui-size, 1));
154
+ @zaui-height-size-xs : calc(var(--zaui-height-size-xs, 4px) * var(--zaui-size, 1));
155
+ @zaui-height-size-sm : calc(var(--zaui-height-size-sm, 8px) * var(--zaui-size, 1));
156
+ @zaui-height-size-md : calc(var(--zaui-height-size-md, 16px) * var(--zaui-size, 1));
157
+ @zaui-height-size-lg : calc(var(--zaui-height-size-lg, 32px) * var(--zaui-size, 1));
158
+ @zaui-height-size-xl : calc(var(--zaui-height-size-xl, 64px) * var(--zaui-size, 1));
175
159
 
176
- @zaui-space-border: calc(var(--zaui-space-border, 16px) * var(--zaui-size, 1));
177
- @zaui-space-card: calc(var(--zaui-space-card, 32px) * var(--zaui-size, 1));
160
+ @zaui-space-border : calc(var(--zaui-space-border, 16px) * var(--zaui-size, 1));
161
+ @zaui-space-card : calc(var(--zaui-space-card, 32px) * var(--zaui-size, 1));
178
162
  @zaui-space-size-xs: calc(var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1));
179
163
  @zaui-space-size-sm: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
180
- @zaui-space-size-md: calc(
181
- var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)
182
- );
183
- @zaui-space-size-lg: calc(
184
- var(--zaui-space-size-lg, 32px) * var(--zaui-size, 1)
185
- );
186
- @zaui-space-size-xl: calc(
187
- var(--zaui-space-size-xl, 64px) * var(--zaui-size, 1)
188
- );
164
+ @zaui-space-size-md: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
165
+ @zaui-space-size-lg: calc(var(--zaui-space-size-lg, 32px) * var(--zaui-size, 1));
166
+ @zaui-space-size-xl: calc(var(--zaui-space-size-xl, 64px) * var(--zaui-size, 1));
189
167
 
190
- @zaui-line-height-base: var(--zaui-line-height-base, 1.5);
168
+ @zaui-line-height-base: var(--zaui-line-height-base, 1.5);
package/es/tokens.js ADDED
@@ -0,0 +1,85 @@
1
+ var tokens = {
2
+ '@zaui-global-bg': 'var(--zaui-global-bg, #ffffff)',
3
+ '@zaui-base-bg': 'var(--zaui-base-bg, #ffffff)',
4
+ '@zaui-brand': 'var(--zaui-brand, #006aff)',
5
+ '@zaui-brand-hover': 'var(--zaui-brand-hover, #3387ff)',
6
+ '@zaui-brand-active': 'var(--zaui-brand-active, #005ad9)',
7
+ '@zaui-brand-disabled': 'var(--zaui-brand-disabled, #99c3ff)',
8
+ '@zaui-text': 'var(--zaui-text, #464646)',
9
+ '@zaui-text-weak': 'var(--zaui-text-weak, #616161)',
10
+ '@zaui-aide-text': 'var(--zaui-aide-text, #909090)',
11
+ '@zaui-placeholder': 'var(--zaui-placeholder, #a0a0a0)',
12
+ '@zaui-link': 'var(--zaui-link, #006aff)',
13
+ '@zaui-link-light-active': 'var(--zaui-link-light-active, #005ad9)',
14
+ '@zaui-line': 'var(--zaui-line, #DCDCDC)',
15
+ '@zaui-dividing-line': 'var(--zaui-dividing-line, #DCDCDC)',
16
+ '@zaui-area': 'var(--zaui-area, #FAFAFA)',
17
+ '@zaui-shadow': 'var(--zaui-shadow, rgba(56, 56, 56, 0.15))',
18
+ '@zaui-form-control-line': 'var(--zaui-form-control-line, #DCDCDC)',
19
+ '@zaui-form-control-line-hover': 'var(--zaui-form-control-line-hover, #3387ff)',
20
+ '@zaui-form-control-line-active': 'var(--zaui-form-control-line-active, #005ad9)',
21
+ '@zaui-list-item-active-bg': 'var(--zaui-list-item-active-bg, #006aff)',
22
+ '@zaui-list-item-active-hover-bg': 'var(--zaui-list-item-active-hover-bg, #006aff)',
23
+ '@zaui-list-item-selected-bg': 'var(--zaui-list-item-selected-bg, #006aff)',
24
+ '@zaui-list-item-selected-hover-bg': 'var(--zaui-list-item-selected-hover-bg, #006aff)',
25
+ '@zaui-disabled-bg': 'var(--zaui-disabled-bg, #f2f2f2)',
26
+ '@zaui-disabled-text': 'var(--zaui-disabled-text, #333333)',
27
+ '@zaui-feedback-overlay-bg': 'var(--zaui-feedback-overlay-bg, rgba(0, 0, 0, 0.7))',
28
+ '@zaui-feedback-overlay-text': 'var(--zaui-feedback-overlay-text, #343434)',
29
+ '@zaui-primary': 'var(--zaui-primary, #006aff)',
30
+ '@zaui-primary-hover': 'var(--zaui-primary-hover, #3387ff)',
31
+ '@zaui-primary-active': 'var(--zaui-primary-active, #005ad9)',
32
+ '@zaui-danger-line': 'var(--zaui-danger-line, #ddd)',
33
+ '@zaui-danger-bg': 'var(--zaui-danger-bg, #fff2f0)',
34
+ '@zaui-warning-line': 'var(--zaui-warning-line, #ddd)',
35
+ '@zaui-warning-bg': 'var(--zaui-warning-bg, #fffbe6)',
36
+ '@zaui-info-line': 'var(--zaui-info-line, #ddd)',
37
+ '@zaui-info-bg': 'var(--zaui-info-bg, #e6f7ff)',
38
+ '@zaui-success-line': 'var(--zaui-success-line, #ddd)',
39
+ '@zaui-success-bg': 'var(--zaui-success-bg, #f6ffed)',
40
+ '@zaui-danger': 'var(--zaui-danger, #ff5050)',
41
+ '@zaui-warning': 'var(--zaui-warning, #ec9131)',
42
+ '@zaui-success': 'var(--zaui-success, #00ae4d)',
43
+ '@zaui-menu-top-bg': 'var(--zaui-menu-top-bg, #ffffff)',
44
+ '@zaui-menu-left-bg': 'var(--zaui-menu-left-bg, #1a202d)',
45
+ '@zaui-menu-second-bg': 'var(--zaui-menu-second-bg, #ffffff)',
46
+ '@zaui-form-align': 'var(--zaui-form-align, left)',
47
+ '@zaui-table-header-bg': 'var(--zaui-table-header-bg, #f2f3f5)',
48
+ '@zaui-table-strip-bg': 'var(--zaui-table-strip-bg, #fafafa)',
49
+ '@zaui-table-hover-bg': 'var(--zaui-table-hover-bg, #fafafa)',
50
+ '@zaui-table-selected-bg': 'var(--zaui-table-hover-bg #fafafa)',
51
+ '@zaui-table-selected-hover-bg': 'var(--zaui-table-hover-bg #fafafa)',
52
+ '@zaui-table—nested-bg': 'var(--zaui-table—nested-bg #FAFCFE)',
53
+ '@zaui-form-required-after': 'var(--zaui-form-required-after, inline)',
54
+ '@zaui-form-required-before': 'var(--zaui-form-required-before, none)',
55
+ '@zaui-form-label-width': 'var(--zaui-form-label-width, 130px)',
56
+ '@zaui-border-radius': 'var(--zaui-border-radius, 4px)',
57
+ '@zaui-border-radius-card': 'var(--zaui-border-radius-card, 2px)',
58
+ '@zaui-font-size-title': 'calc(var(--zaui-font-size-title, 16px) + var(--zaui-base-font-size, 0px))',
59
+ '@zaui-font-size-card-title': 'calc(var(--zaui-font-size-card-title, 16px) + var(--zaui-base-font-size, 0px))',
60
+ '@zaui-font-size': 'calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px))',
61
+ '@zaui-font-size-sm': 'calc(var(--zaui-font-size-sm, 12px) + var(--zaui-base-font-size, 0px))',
62
+ '@zaui-font-size-md': 'calc(var(--zaui-font-size-md, 14px) + var(--zaui-base-font-size, 0px))',
63
+ '@zaui-font-size-lg': 'calc(var(--zaui-font-size-lg, 16px) + var(--zaui-base-font-size, 0px))',
64
+ '@zaui-font-size-xl': 'calc(var(--zaui-font-size-xl, 18px) + var(--zaui-base-font-size, 0px))',
65
+ '@zaui-font-size-xxl': 'calc(var(--zaui-font-size-xxl, 20px) + var(--zaui-base-font-size, 0px))',
66
+ '@zaui-font-size-lg-title': 'calc(var(--zaui-font-size-lg-title, 24px) + var(--zaui-base-font-size, 0px))',
67
+ '@zaui-height-border': 'calc(var(--zaui-height-border, 16px) * var(--zaui-size, 1))',
68
+ '@zaui-height-card': 'calc(var(--zaui-height-card, 32px) * var(--zaui-size, 1))',
69
+ '@zaui-height-size-xs': 'calc(var(--zaui-height-size-xs, 4px) * var(--zaui-size, 1))',
70
+ '@zaui-height-size-sm': 'calc(var(--zaui-height-size-sm, 8px) * var(--zaui-size, 1))',
71
+ '@zaui-height-size-md': 'calc(var(--zaui-height-size-md, 16px) * var(--zaui-size, 1))',
72
+ '@zaui-height-size-lg': 'calc(var(--zaui-height-size-lg, 32px) * var(--zaui-size, 1))',
73
+ '@zaui-height-size-xl': 'calc(var(--zaui-height-size-xl, 64px) * var(--zaui-size, 1))',
74
+ '@zaui-space-border': 'calc(var(--zaui-space-border, 16px) * var(--zaui-size, 1))',
75
+ '@zaui-space-card': 'calc(var(--zaui-space-card, 32px) * var(--zaui-size, 1))',
76
+ '@zaui-space-size-xs': 'calc(var(--zaui-space-size-xs, 4px) * var(--zaui-size, 1))',
77
+ '@zaui-space-size-sm': 'calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1))',
78
+ '@zaui-space-size-md': 'calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1))',
79
+ '@zaui-space-size-lg': 'calc(var(--zaui-space-size-lg, 32px) * var(--zaui-size, 1))',
80
+ '@zaui-space-size-xl': 'calc(var(--zaui-space-size-xl, 64px) * var(--zaui-size, 1))',
81
+ '@zaui-line-height-base': 'var(--zaui-line-height-base, 1.5)'
82
+ };
83
+
84
+ // 适配node环境引入,umi配置theme引入使用
85
+ module.exports = tokens;
@@ -11,10 +11,11 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/obje
11
11
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
12
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
13
  var _antd = require("antd");
14
- var _icons = require("@ant-design/icons");
15
14
  var _react = _interopRequireWildcard(require("react"));
16
15
  var _ahooks = require("ahooks");
17
16
  var _lodash = require("lodash");
17
+ var _reactSvg = require("react-svg");
18
+ var _close = _interopRequireDefault(require("../../../assets/close.svg"));
18
19
  /**
19
20
  * 抽屉组件
20
21
  */
@@ -190,8 +191,9 @@ var ProDrawer = function ProDrawer(_ref) {
190
191
  }, drawerProps), /*#__PURE__*/_react.default.createElement("div", {
191
192
  className: "pro-drawer-close",
192
193
  onClick: onConfirm
193
- }, /*#__PURE__*/_react.default.createElement(_icons.CloseOutlined, {
194
- className: "close-icon"
194
+ }, /*#__PURE__*/_react.default.createElement(_reactSvg.ReactSVG, {
195
+ className: "close-icon",
196
+ src: _close.default
195
197
  })), title ? /*#__PURE__*/_react.default.createElement("div", {
196
198
  className: "pro-drawer-title ".concat(top > 0 ? 'pro-drawer-scrolling' : '')
197
199
  }, title) : null, /*#__PURE__*/_react.default.createElement("div", {
@@ -14,6 +14,8 @@ var _react = _interopRequireWildcard(require("react"));
14
14
  var _antd = require("antd");
15
15
  var _ahooks = require("ahooks");
16
16
  var _lodash = require("lodash");
17
+ var _reactSvg = require("react-svg");
18
+ var _close = _interopRequireDefault(require("../../../assets/close.svg"));
17
19
  /**
18
20
  * 弹窗组件
19
21
  */
@@ -34,7 +36,8 @@ var ProModal = function ProModal(_ref) {
34
36
  onCancel = _ref.onCancel,
35
37
  children = _ref.children,
36
38
  className = _ref.className,
37
- modalProps = _ref.modalProps;
39
+ modalProps = _ref.modalProps,
40
+ extraLeft = _ref.extraLeft;
38
41
  var ref = (0, _react.useRef)(null);
39
42
  var _ref2 = (0, _ahooks.useScroll)((_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.parentNode) || {},
40
43
  top = _ref2.top;
@@ -119,15 +122,15 @@ var ProModal = function ProModal(_ref) {
119
122
  *
120
123
  */
121
124
  var defaultFooter = /*#__PURE__*/_react.default.createElement("div", {
122
- className: "pro-modal-footer"
123
- }, /*#__PURE__*/_react.default.createElement(_antd.Button, {
125
+ className: extraLeft ? 'pro-modal-footer' : undefined
126
+ }, extraLeft, /*#__PURE__*/_react.default.createElement(_antd.Space, null, /*#__PURE__*/_react.default.createElement(_antd.Button, {
124
127
  onClick: onCancel
125
128
  }, cancelText), /*#__PURE__*/_react.default.createElement(_antd.Button, {
126
129
  type: "primary",
127
130
  onClick: handleFinish,
128
131
  loading: okLoading !== null && okLoading !== void 0 ? okLoading : loading,
129
132
  disabled: okDisabled !== null && okDisabled !== void 0 ? okDisabled : loading
130
- }, okText));
133
+ }, okText)));
131
134
  var renderFooter = function renderFooter() {
132
135
  if (noRenderFooter) {
133
136
  return null;
@@ -158,7 +161,12 @@ var ProModal = function ProModal(_ref) {
158
161
  onCancel: onCancel,
159
162
  footer: renderFooter(),
160
163
  okText: okText,
161
- cancelText: cancelText
164
+ cancelText: cancelText,
165
+ centered: true,
166
+ closeIcon: /*#__PURE__*/_react.default.createElement(_reactSvg.ReactSVG, {
167
+ className: "close-icon",
168
+ src: _close.default
169
+ })
162
170
  }, modalProps), /*#__PURE__*/_react.default.createElement("div", {
163
171
  ref: ref
164
172
  }, children));
@@ -65,7 +65,7 @@ ProDrawerForm.defaultProps = {
65
65
  size: 'middle',
66
66
  isConfirmClose: true,
67
67
  maskClosable: false,
68
- okText: '确认',
68
+ okText: '保存',
69
69
  cancelText: '取消',
70
70
  proFormProps: {}
71
71
  };
@@ -70,6 +70,10 @@ export interface ProDrawerFormPropsType {
70
70
  * @name 底部自定义按钮配置
71
71
  */
72
72
  footer?: ReactNode | ReactNode[];
73
+ /**
74
+ * @name 底部左侧自定义渲染
75
+ */
76
+ extraLeft?: ReactNode;
73
77
  /**
74
78
  * @name proForm的属性 配置后children不展示
75
79
  */