@zat-design/sisyphus-react 3.8.3-beta.17 → 3.8.3-beta.19

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 (216) hide show
  1. package/es/ProAction/index.js +5 -5
  2. package/es/ProDownload/index.d.ts +1 -1
  3. package/es/ProDownload/index.js +3 -3
  4. package/es/ProDownload/utils.js +3 -3
  5. package/es/ProDrawerForm/components/ProDrawer/index.js +4 -4
  6. package/es/ProDrawerForm/components/ProModal/index.js +3 -3
  7. package/es/ProEditLabel/index.js +3 -3
  8. package/es/ProEditTable/components/ActionButton/index.d.ts +1 -1
  9. package/es/ProEditTable/components/ActionButton/index.js +3 -3
  10. package/es/ProEditTable/components/RcTable/BaseTable.d.ts +1 -1
  11. package/es/ProEditTable/components/RcTable/DraggableTable.d.ts +1 -1
  12. package/es/ProEditTable/components/RcTable/VirtualTable.d.ts +1 -1
  13. package/es/ProEditTable/components/RenderField/ListChangedWrapper.js +23 -9
  14. package/es/ProEditTable/components/RenderField/index.d.ts +1 -1
  15. package/es/ProEditTable/components/RenderField/index.js +8 -13
  16. package/es/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
  17. package/es/ProEditTable/components/RenderToolbar/index.js +1 -1
  18. package/es/ProEditTable/components/Summary/index.d.ts +1 -1
  19. package/es/ProEditTable/utils/config.d.ts +1 -1
  20. package/es/ProEditTable/utils/config.js +2 -2
  21. package/es/ProEditTable/utils/index.js +5 -5
  22. package/es/ProEditTable/utils/tools.js +4 -4
  23. package/es/ProEnum/components/Group.d.ts +1 -1
  24. package/es/ProEnum/components/Tag.d.ts +1 -1
  25. package/es/ProEnum/hooks/useEnumRequest.js +2 -2
  26. package/es/ProEnum/index.d.ts +2 -2
  27. package/es/ProEnum/index.js +1 -1
  28. package/es/ProEnum/utils/eventCenter.js +2 -1
  29. package/es/ProEnum/utils/getEnumLabel.d.ts +1 -1
  30. package/es/ProForm/components/base/Input/index.d.ts +1 -1
  31. package/es/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
  32. package/es/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
  33. package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
  34. package/es/ProForm/components/combination/FormList/utils.js +1 -1
  35. package/es/ProForm/components/combination/Group/component/ComRender.js +1 -1
  36. package/es/ProForm/components/combination/ProCascader/index.d.ts +1 -1
  37. package/es/ProForm/components/combination/ProCascader/index.js +8 -8
  38. package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
  39. package/es/ProForm/components/combination/ProModalSelect/index.js +5 -5
  40. package/es/ProForm/components/old/InputRange/index.d.ts +1 -1
  41. package/es/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
  42. package/es/ProForm/components/old/ProAddress/index.d.ts +2 -1
  43. package/es/ProForm/components/old/ProAddress/index.js +1 -1
  44. package/es/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
  45. package/es/ProForm/components/render/ChangedWrapper.js +1 -2
  46. package/es/ProForm/components/render/ConfirmWrapper.js +1 -1
  47. package/es/ProForm/components/render/Render.js +3 -3
  48. package/es/ProForm/index.js +1 -1
  49. package/es/ProForm/utils/index.js +10 -14
  50. package/es/ProForm/utils/useForm.js +1 -1
  51. package/es/ProIcon/utils/index.js +3 -4
  52. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
  53. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
  54. package/es/ProLayout/components/ProCollapse/index.d.ts +1 -1
  55. package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
  56. package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
  57. package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
  58. package/es/ProLayout/index.d.ts +4 -4
  59. package/es/ProLayout/utils/index.js +9 -9
  60. package/es/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
  61. package/es/ProSelect/index.d.ts +1 -1
  62. package/es/ProStep/components/Anchor/index.d.ts +1 -1
  63. package/es/ProStep/components/Item/index.d.ts +1 -1
  64. package/es/ProStep/components/Listener/index.js +1 -1
  65. package/es/ProStep/components/Step/index.d.ts +1 -1
  66. package/es/ProStep/index.d.ts +2 -2
  67. package/es/ProStep/index.js +3 -3
  68. package/es/ProTable/components/FormatColumn/index.js +3 -3
  69. package/es/ProTable/components/RcTable/components/BaseTable/index.d.ts +1 -1
  70. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
  71. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +8 -9
  72. package/es/ProTable/components/RcTable/components/DraggableTable/index.d.ts +1 -1
  73. package/es/ProTable/components/RenderColumn/index.js +19 -5
  74. package/es/ProTable/components/RenderFooter/index.d.ts +1 -1
  75. package/es/ProTable/components/RenderTableHeader/index.d.ts +1 -1
  76. package/es/ProTable/components/TableResizable/index.d.ts +1 -1
  77. package/es/ProTable/hooks/useAntdTable.js +3 -3
  78. package/es/ProTable/index.d.ts +1 -1
  79. package/es/ProTable/index.js +2 -2
  80. package/es/ProTabs/components/Card/index.d.ts +1 -1
  81. package/es/ProThemeTools/component/ProTools/index.d.ts +1 -1
  82. package/es/ProThemeTools/index.d.ts +1 -1
  83. package/es/ProTooltip/index.d.ts +1 -1
  84. package/es/ProTree/components/AdaptiveTooltip.d.ts +1 -1
  85. package/es/ProTree/components/CloseIcon.d.ts +2 -1
  86. package/es/ProTree/components/List.d.ts +1 -1
  87. package/es/ProTree/components/ProTree.d.ts +1 -1
  88. package/es/ProTree/components/ProTree.js +1 -1
  89. package/es/ProTree/components/ProTreeSelect/index.d.ts +1 -1
  90. package/es/ProTree/components/ProTreeSelect/index.js +18 -18
  91. package/es/ProTree/components/SearchTitle.d.ts +1 -1
  92. package/es/ProTree/components/Tree.d.ts +1 -1
  93. package/es/ProTree/components/Tree.js +4 -4
  94. package/es/ProTree/index.d.ts +1 -1
  95. package/es/ProTree/utils.js +11 -12
  96. package/es/ProTreeModal/components/Cascader.d.ts +1 -1
  97. package/es/ProTreeModal/components/CloseIcon.d.ts +2 -1
  98. package/es/ProTreeModal/components/SearchTitle.d.ts +1 -1
  99. package/es/ProTreeModal/components/Tree.js +6 -6
  100. package/es/ProTreeModal/components/Trigger.d.ts +1 -1
  101. package/es/ProTreeModal/index.d.ts +1 -1
  102. package/es/ProTreeModal/index.js +3 -3
  103. package/es/ProTreeModal/utils.js +14 -16
  104. package/es/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
  105. package/es/ProUpload/components/ImageRender.js +1 -1
  106. package/es/ProViewer/index.js +2 -2
  107. package/es/old/ProEditableTable/index.js +4 -4
  108. package/lib/ProAction/index.js +5 -5
  109. package/lib/ProDownload/index.d.ts +1 -1
  110. package/lib/ProDownload/index.js +3 -3
  111. package/lib/ProDownload/utils.js +3 -3
  112. package/lib/ProDrawerForm/components/ProDrawer/index.js +4 -4
  113. package/lib/ProDrawerForm/components/ProModal/index.js +3 -3
  114. package/lib/ProEditLabel/index.js +3 -3
  115. package/lib/ProEditTable/components/ActionButton/index.d.ts +1 -1
  116. package/lib/ProEditTable/components/ActionButton/index.js +3 -3
  117. package/lib/ProEditTable/components/RcTable/BaseTable.d.ts +1 -1
  118. package/lib/ProEditTable/components/RcTable/DraggableTable.d.ts +1 -1
  119. package/lib/ProEditTable/components/RcTable/VirtualTable.d.ts +1 -1
  120. package/lib/ProEditTable/components/RenderField/ListChangedWrapper.js +23 -9
  121. package/lib/ProEditTable/components/RenderField/index.d.ts +1 -1
  122. package/lib/ProEditTable/components/RenderField/index.js +8 -13
  123. package/lib/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
  124. package/lib/ProEditTable/components/RenderToolbar/index.js +1 -1
  125. package/lib/ProEditTable/components/Summary/index.d.ts +1 -1
  126. package/lib/ProEditTable/utils/config.d.ts +1 -1
  127. package/lib/ProEditTable/utils/config.js +2 -2
  128. package/lib/ProEditTable/utils/index.js +5 -5
  129. package/lib/ProEditTable/utils/tools.js +4 -4
  130. package/lib/ProEnum/components/Group.d.ts +1 -1
  131. package/lib/ProEnum/components/Tag.d.ts +1 -1
  132. package/lib/ProEnum/hooks/useEnumRequest.js +2 -2
  133. package/lib/ProEnum/index.d.ts +2 -2
  134. package/lib/ProEnum/index.js +1 -1
  135. package/lib/ProEnum/utils/eventCenter.js +2 -1
  136. package/lib/ProEnum/utils/getEnumLabel.d.ts +1 -1
  137. package/lib/ProForm/components/base/Input/index.d.ts +1 -1
  138. package/lib/ProForm/components/combination/FormList/components/ActionButton.js +2 -2
  139. package/lib/ProForm/components/combination/FormList/components/BlockTitle.js +1 -1
  140. package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +1 -1
  141. package/lib/ProForm/components/combination/FormList/utils.js +1 -1
  142. package/lib/ProForm/components/combination/Group/component/ComRender.js +1 -1
  143. package/lib/ProForm/components/combination/ProCascader/index.d.ts +1 -1
  144. package/lib/ProForm/components/combination/ProCascader/index.js +8 -8
  145. package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +1 -1
  146. package/lib/ProForm/components/combination/ProModalSelect/index.js +5 -5
  147. package/lib/ProForm/components/old/InputRange/index.d.ts +1 -1
  148. package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
  149. package/lib/ProForm/components/old/ProAddress/index.d.ts +2 -1
  150. package/lib/ProForm/components/old/ProAddress/index.js +1 -1
  151. package/lib/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
  152. package/lib/ProForm/components/render/ChangedWrapper.js +1 -2
  153. package/lib/ProForm/components/render/ConfirmWrapper.js +1 -1
  154. package/lib/ProForm/components/render/Render.js +3 -3
  155. package/lib/ProForm/index.js +1 -1
  156. package/lib/ProForm/utils/index.js +10 -10
  157. package/lib/ProForm/utils/useForm.js +1 -1
  158. package/lib/ProIcon/utils/index.js +3 -3
  159. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
  160. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
  161. package/lib/ProLayout/components/ProCollapse/index.d.ts +1 -1
  162. package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
  163. package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
  164. package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
  165. package/lib/ProLayout/index.d.ts +4 -4
  166. package/lib/ProLayout/utils/index.js +9 -9
  167. package/lib/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
  168. package/lib/ProSelect/index.d.ts +1 -1
  169. package/lib/ProStep/components/Anchor/index.d.ts +1 -1
  170. package/lib/ProStep/components/Item/index.d.ts +1 -1
  171. package/lib/ProStep/components/Listener/index.js +1 -1
  172. package/lib/ProStep/components/Step/index.d.ts +1 -1
  173. package/lib/ProStep/index.d.ts +2 -2
  174. package/lib/ProStep/index.js +3 -3
  175. package/lib/ProTable/components/FormatColumn/index.js +3 -3
  176. package/lib/ProTable/components/RcTable/components/BaseTable/index.d.ts +1 -1
  177. package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +2 -2
  178. package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +8 -8
  179. package/lib/ProTable/components/RcTable/components/DraggableTable/index.d.ts +1 -1
  180. package/lib/ProTable/components/RenderColumn/index.js +17 -5
  181. package/lib/ProTable/components/RenderFooter/index.d.ts +1 -1
  182. package/lib/ProTable/components/RenderTableHeader/index.d.ts +1 -1
  183. package/lib/ProTable/components/TableResizable/index.d.ts +1 -1
  184. package/lib/ProTable/hooks/useAntdTable.js +3 -3
  185. package/lib/ProTable/index.d.ts +1 -1
  186. package/lib/ProTable/index.js +2 -2
  187. package/lib/ProTabs/components/Card/index.d.ts +1 -1
  188. package/lib/ProThemeTools/component/ProTools/index.d.ts +1 -1
  189. package/lib/ProThemeTools/index.d.ts +1 -1
  190. package/lib/ProTooltip/index.d.ts +1 -1
  191. package/lib/ProTree/components/AdaptiveTooltip.d.ts +1 -1
  192. package/lib/ProTree/components/CloseIcon.d.ts +2 -1
  193. package/lib/ProTree/components/List.d.ts +1 -1
  194. package/lib/ProTree/components/ProTree.d.ts +1 -1
  195. package/lib/ProTree/components/ProTree.js +1 -1
  196. package/lib/ProTree/components/ProTreeSelect/index.d.ts +1 -1
  197. package/lib/ProTree/components/ProTreeSelect/index.js +18 -18
  198. package/lib/ProTree/components/SearchTitle.d.ts +1 -1
  199. package/lib/ProTree/components/Tree.d.ts +1 -1
  200. package/lib/ProTree/components/Tree.js +4 -4
  201. package/lib/ProTree/index.d.ts +1 -1
  202. package/lib/ProTree/utils.js +11 -11
  203. package/lib/ProTreeModal/components/Cascader.d.ts +1 -1
  204. package/lib/ProTreeModal/components/CloseIcon.d.ts +2 -1
  205. package/lib/ProTreeModal/components/SearchTitle.d.ts +1 -1
  206. package/lib/ProTreeModal/components/Tree.js +6 -6
  207. package/lib/ProTreeModal/components/Trigger.d.ts +1 -1
  208. package/lib/ProTreeModal/index.d.ts +1 -1
  209. package/lib/ProTreeModal/index.js +3 -3
  210. package/lib/ProTreeModal/utils.js +13 -13
  211. package/lib/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
  212. package/lib/ProUpload/components/ImageRender.js +1 -1
  213. package/lib/ProViewer/index.js +2 -2
  214. package/lib/old/ProEditableTable/index.js +4 -4
  215. package/package.json +1 -1
  216. package/.vscode/extensions.json +0 -5
@@ -166,7 +166,7 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
166
166
  * @returns {Promise<{nextList: IRowDataPropsType[], list: IRowDataPropsType[], rowData: IRowDataPropsType, rowIndex: number}>}
167
167
  */
168
168
  var onMultipleDelete = /*#__PURE__*/function () {
169
- var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
169
+ var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
170
170
  var res, values, nextList, resetFieldsIndex;
171
171
  return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
172
172
  while (1) switch (_context.prev = _context.next) {
@@ -272,7 +272,7 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
272
272
  * @returns {Promise<{nextList: IRowDataPropsType[], list: IRowDataPropsType[], rowData: IRowDataPropsType, rowIndex: number}>}
273
273
  */
274
274
  var onSave = /*#__PURE__*/function () {
275
- var _ref3 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(rowIndex, callback) {
275
+ var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(rowIndex, callback) {
276
276
  var _form$getFieldsValue$, _form$getFieldsValue, nextValues, res, values;
277
277
  return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
278
278
  while (1) switch (_context2.prev = _context2.next) {
@@ -398,12 +398,12 @@ var ProEditableTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
398
398
  }, antButtonProps), {}, {
399
399
  children: buttonText
400
400
  }))]
401
- }) : (/*#__PURE__*/(0, _react.cloneElement)(buttonText, antButtonProps))
401
+ }) : ( /*#__PURE__*/(0, _react.cloneElement)(buttonText, antButtonProps))
402
402
  }) : null
403
403
  });
404
404
  };
405
405
  var validateFields = /*#__PURE__*/function () {
406
- var _ref4 = (0, _asyncToGenerator2.default)(/*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
406
+ var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3() {
407
407
  var values, nextValues, nextList, isEditing;
408
408
  return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
409
409
  while (1) switch (_context3.prev = _context3.next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.8.3-beta.17",
3
+ "version": "3.8.3-beta.19",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -1,5 +0,0 @@
1
- {
2
- "recommendations": [
3
- "kisstkondoros.vscode-codemetrics"
4
- ]
5
- }