@zat-design/sisyphus-react 3.9.5 → 3.9.6-beta.1

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 (88) hide show
  1. package/coverage/lcov-report/src/.umi/core/devScripts.ts.html +241 -0
  2. package/coverage/lcov-report/src/.umi/core/history.ts.html +148 -0
  3. package/coverage/lcov-report/src/.umi/core/index.html +206 -0
  4. package/coverage/lcov-report/src/.umi/core/plugin.ts.html +109 -0
  5. package/coverage/lcov-report/src/.umi/core/pluginRegister.ts.html +160 -0
  6. package/coverage/lcov-report/src/.umi/core/polyfill.ts.html +97 -0
  7. package/coverage/lcov-report/src/.umi/core/routes.ts.html +26050 -0
  8. package/coverage/lcov-report/src/.umi/core/umiExports.ts.html +112 -0
  9. package/coverage/lcov-report/src/.umi/dumi/demos/index.html +116 -0
  10. package/coverage/lcov-report/src/.umi/dumi/demos/index.ts.html +6340 -0
  11. package/coverage/lcov-report/src/.umi/dumi/index.html +116 -0
  12. package/coverage/lcov-report/src/.umi/dumi/layout.tsx.html +109 -0
  13. package/coverage/lcov-report/src/.umi/index.html +116 -0
  14. package/coverage/lcov-report/src/.umi/plugin-antd/index.html +116 -0
  15. package/coverage/lcov-report/src/.umi/plugin-antd/runtime.tsx.html +172 -0
  16. package/coverage/lcov-report/src/.umi/plugin-helmet/exports.ts.html +94 -0
  17. package/coverage/lcov-report/src/.umi/plugin-helmet/index.html +116 -0
  18. package/coverage/lcov-report/src/.umi/plugin-initial-state/Provider.tsx.html +196 -0
  19. package/coverage/lcov-report/src/.umi/plugin-initial-state/exports.ts.html +106 -0
  20. package/coverage/lcov-report/src/.umi/plugin-initial-state/index.html +146 -0
  21. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/index.html +116 -0
  22. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/initialState.ts.html +88 -0
  23. package/coverage/lcov-report/src/.umi/plugin-initial-state/runtime.tsx.html +124 -0
  24. package/coverage/lcov-report/src/.umi/plugin-locale/SelectLang.tsx.html +1246 -0
  25. package/coverage/lcov-report/src/.umi/plugin-locale/index.html +161 -0
  26. package/coverage/lcov-report/src/.umi/plugin-locale/locale.tsx.html +268 -0
  27. package/coverage/lcov-report/src/.umi/plugin-locale/localeExports.ts.html +778 -0
  28. package/coverage/lcov-report/src/.umi/plugin-locale/runtime.tsx.html +115 -0
  29. package/coverage/lcov-report/src/.umi/plugin-model/Provider.tsx.html +202 -0
  30. package/coverage/lcov-report/src/.umi/plugin-model/helpers/constant.tsx.html +97 -0
  31. package/coverage/lcov-report/src/.umi/plugin-model/helpers/dispatcher.tsx.html +142 -0
  32. package/coverage/lcov-report/src/.umi/plugin-model/helpers/executor.tsx.html +334 -0
  33. package/coverage/lcov-report/src/.umi/plugin-model/helpers/index.html +146 -0
  34. package/coverage/lcov-report/src/.umi/plugin-model/index.html +146 -0
  35. package/coverage/lcov-report/src/.umi/plugin-model/runtime.tsx.html +121 -0
  36. package/coverage/lcov-report/src/.umi/plugin-model/useModel.tsx.html +298 -0
  37. package/coverage/lcov-report/src/.umi/plugin-request/index.html +116 -0
  38. package/coverage/lcov-report/src/.umi/plugin-request/request.ts.html +919 -0
  39. package/coverage/lcov-report/src/.umi/umi.ts.html +268 -0
  40. package/dist/index.esm.css +51 -6
  41. package/dist/less.esm.css +51 -6
  42. package/es/FormsProvider/index.d.ts +15 -0
  43. package/es/FormsProvider/index.js +32 -0
  44. package/es/ProConfigProvider/index.d.ts +0 -1
  45. package/es/ProConfigProvider/index.js +0 -5
  46. package/es/ProEditTable/utils/diffOriginal.js +11 -8
  47. package/es/ProForm/components/render/Render.js +4 -4
  48. package/es/ProForm/index.js +12 -38
  49. package/es/ProForm/style/index.less +1 -0
  50. package/es/ProForm/utils/diffOriginal.js +14 -19
  51. package/es/ProForm/utils/useForm.d.ts +4 -3
  52. package/es/ProForm/utils/useForm.js +12 -3
  53. package/es/ProLayout/components/ProHeader/PropTypes.d.ts +8 -0
  54. package/es/ProLayout/components/ProHeader/index.js +94 -28
  55. package/es/ProLayout/components/ProHeader/style/index.less +51 -6
  56. package/es/ProLayout/components/ProHeader/utils/index.d.ts +5 -0
  57. package/es/ProLayout/components/ProHeader/utils/index.js +14 -0
  58. package/es/ProLayout/style/index.less +1 -1
  59. package/es/ProSelect/index.js +1 -1
  60. package/es/ProTreeModal/components/Trigger.js +4 -0
  61. package/es/index.d.ts +1 -0
  62. package/es/index.js +1 -0
  63. package/es/utils/index.d.ts +4 -1
  64. package/es/utils/index.js +4 -1
  65. package/lib/FormsProvider/index.d.ts +15 -0
  66. package/lib/FormsProvider/index.js +39 -0
  67. package/lib/ProConfigProvider/index.d.ts +0 -1
  68. package/lib/ProConfigProvider/index.js +0 -6
  69. package/lib/ProEditTable/utils/diffOriginal.js +11 -8
  70. package/lib/ProForm/components/render/Render.js +4 -4
  71. package/lib/ProForm/index.js +11 -37
  72. package/lib/ProForm/style/index.less +1 -0
  73. package/lib/ProForm/utils/diffOriginal.js +14 -19
  74. package/lib/ProForm/utils/useForm.d.ts +4 -3
  75. package/lib/ProForm/utils/useForm.js +12 -3
  76. package/lib/ProLayout/components/ProHeader/PropTypes.d.ts +8 -0
  77. package/lib/ProLayout/components/ProHeader/index.js +90 -24
  78. package/lib/ProLayout/components/ProHeader/style/index.less +51 -6
  79. package/lib/ProLayout/components/ProHeader/utils/index.d.ts +5 -0
  80. package/lib/ProLayout/components/ProHeader/utils/index.js +20 -0
  81. package/lib/ProLayout/style/index.less +1 -1
  82. package/lib/ProSelect/index.js +1 -1
  83. package/lib/ProTreeModal/components/Trigger.js +4 -0
  84. package/lib/index.d.ts +1 -0
  85. package/lib/index.js +8 -0
  86. package/lib/utils/index.d.ts +4 -1
  87. package/lib/utils/index.js +4 -1
  88. package/package.json +1 -1
@@ -8,7 +8,10 @@ exports.useFocus = exports.isEmpty = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _react = require("react");
10
10
  var EMPTY_VALUE = [undefined, null, ''];
11
- /** 判断一个值是否是空值 */
11
+ /**
12
+ * 判断一个值是否是空值
13
+ * 空值 或者 仅包含空值的数组视为空
14
+ */
12
15
  var isEmpty = exports.isEmpty = function isEmpty(value, emptyValue) {
13
16
  if (emptyValue) {
14
17
  EMPTY_VALUE.push(emptyValue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.9.5",
3
+ "version": "3.9.6-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",