@easyv/biz-components 1.0.19 → 1.0.21

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 (376) hide show
  1. package/dist/_virtual/index.es2.js +2 -2
  2. package/dist/_virtual/index.es3.js +2 -2
  3. package/dist/_virtual/index.es4.js +2 -2
  4. package/dist/_virtual/index.es6.js +2 -2
  5. package/dist/_virtual/index.es7.js +5 -0
  6. package/dist/_virtual/index.es7.js.map +1 -0
  7. package/dist/_virtual/react-is.development.es2.js +5 -0
  8. package/dist/_virtual/react-is.development.es2.js.map +1 -0
  9. package/dist/_virtual/react-is.production.min.es2.js +5 -0
  10. package/dist/_virtual/react-is.production.min.es2.js.map +1 -0
  11. package/dist/ant-components/index.d.ts +1 -0
  12. package/dist/ant-components/input/index.d.ts +1 -0
  13. package/dist/ant-components/input/input.d.ts +9 -0
  14. package/dist/ant-components/input/input.es.js +13 -0
  15. package/dist/ant-components/input/input.es.js.map +1 -0
  16. package/dist/ant-components/input/input.module.less.es.js +7 -0
  17. package/dist/ant-components/input/input.module.less.es.js.map +1 -0
  18. package/dist/components/ai-message-render/ai-message-render.es.js +2 -2
  19. package/dist/components/ai-message-render/ai-message-render.es.js.map +1 -1
  20. package/dist/components/ai-model-select/ai-model-select-panel.d.ts +11 -0
  21. package/dist/components/ai-model-select/iconBtn.d.ts +6 -0
  22. package/dist/components/ai-model-select/index.d.ts +2 -0
  23. package/dist/components/ai-model-select/test/ai-model-select-panel.cy.d.ts +1 -0
  24. package/dist/components/ai-model-select/types.d.ts +11 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.es.js +2 -0
  27. package/dist/index.es.js.map +1 -1
  28. package/dist/node_modules/.pnpm/@ant-design_colors@6.0.0/node_modules/@ant-design/colors/dist/index.esm.es.js +176 -0
  29. package/dist/node_modules/.pnpm/@ant-design_colors@6.0.0/node_modules/@ant-design/colors/dist/index.esm.es.js.map +1 -0
  30. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.es.js +5 -0
  31. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.es.js.map +1 -0
  32. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.es.js +5 -0
  33. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.es.js.map +1 -0
  34. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.es.js +5 -0
  35. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.es.js.map +1 -0
  36. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.es.js +5 -0
  37. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.es.js.map +1 -0
  38. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.es.js +5 -0
  39. package/dist/node_modules/.pnpm/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.es.js.map +1 -0
  40. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/AntdIcon.es.js +47 -0
  41. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/AntdIcon.es.js.map +1 -0
  42. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/Context.es.js +6 -0
  43. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/Context.es.js.map +1 -0
  44. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/IconBase.es.js +56 -0
  45. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/IconBase.es.js.map +1 -0
  46. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.es.js +22 -0
  47. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.es.js.map +1 -0
  48. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.es.js +18 -0
  49. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.es.js.map +1 -0
  50. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.es.js +18 -0
  51. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.es.js.map +1 -0
  52. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/EyeOutlined.es.js +18 -0
  53. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/EyeOutlined.es.js.map +1 -0
  54. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/LoadingOutlined.es.js +18 -0
  55. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/LoadingOutlined.es.js.map +1 -0
  56. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/SearchOutlined.es.js +18 -0
  57. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/icons/SearchOutlined.es.js.map +1 -0
  58. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/utils.es.js +75 -0
  59. package/dist/node_modules/.pnpm/@ant-design_icons@4.8.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@ant-design/icons/es/utils.es.js.map +1 -0
  60. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.es.js +9 -0
  61. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.es.js.map +1 -0
  62. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.es.js +7 -0
  63. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.es.js.map +1 -0
  64. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.es.js +8 -0
  65. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.es.js.map +1 -0
  66. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.es.js +8 -0
  67. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.es.js.map +1 -0
  68. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.es.js +27 -0
  69. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.es.js.map +1 -0
  70. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.es.js +7 -0
  71. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.es.js.map +1 -0
  72. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createClass.es.js +16 -0
  73. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createClass.es.js.map +1 -0
  74. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createSuper.es.js +18 -0
  75. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createSuper.es.js.map +1 -0
  76. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/defineProperty.es.js +13 -0
  77. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/defineProperty.es.js.map +1 -0
  78. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.es.js +9 -0
  79. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.es.js.map +1 -0
  80. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/inherits.es.js +17 -0
  81. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/inherits.es.js.map +1 -0
  82. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.es.js +14 -0
  83. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.es.js.map +1 -0
  84. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.es.js +7 -0
  85. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.es.js.map +1 -0
  86. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.es.js +25 -0
  87. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.es.js.map +1 -0
  88. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.es.js +7 -0
  89. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.es.js.map +1 -0
  90. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.es.js +7 -0
  91. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.es.js.map +1 -0
  92. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.es.js +26 -0
  93. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.es.js.map +1 -0
  94. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.es.js +14 -0
  95. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.es.js.map +1 -0
  96. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.es.js +11 -0
  97. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.es.js.map +1 -0
  98. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.es.js +289 -0
  99. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.es.js.map +1 -0
  100. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.es.js +9 -0
  101. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.es.js.map +1 -0
  102. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.es.js +11 -0
  103. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.es.js.map +1 -0
  104. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toArray.es.js +11 -0
  105. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toArray.es.js.map +1 -0
  106. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.es.js +11 -0
  107. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.es.js.map +1 -0
  108. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +15 -0
  109. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -0
  110. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.es.js +10 -0
  111. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.es.js.map +1 -0
  112. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/typeof.es.js +12 -0
  113. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/typeof.es.js.map +1 -0
  114. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.es.js +12 -0
  115. package/dist/node_modules/.pnpm/@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.es.js.map +1 -0
  116. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/conversion.es.js +113 -0
  117. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/conversion.es.js.map +1 -0
  118. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/css-color-names.es.js +154 -0
  119. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/css-color-names.es.js.map +1 -0
  120. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/format-input.es.js +149 -0
  121. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/format-input.es.js.map +1 -0
  122. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/util.es.js +50 -0
  123. package/dist/node_modules/.pnpm/@ctrl_tinycolor@3.6.1/node_modules/@ctrl/tinycolor/dist/module/util.es.js.map +1 -0
  124. package/dist/node_modules/.pnpm/@easyv_react-icons@6.3.0/node_modules/@easyv/react-icons/dist/index.esm.es.js +4 -4
  125. package/dist/node_modules/.pnpm/@easyv_react-icons@6.3.0/node_modules/@easyv/react-icons/dist/index.esm.es.js.map +1 -1
  126. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/raf.es.js +29 -0
  127. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/raf.es.js.map +1 -0
  128. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/reactNode.es.js +21 -0
  129. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/reactNode.es.js.map +1 -0
  130. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/statusUtils.es.js +16 -0
  131. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/statusUtils.es.js.map +1 -0
  132. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/type.es.js +10 -0
  133. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/type.es.js.map +1 -0
  134. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/warning.es.js +18 -0
  135. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/warning.es.js.map +1 -0
  136. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/wave.es.js +194 -0
  137. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/_util/wave.es.js.map +1 -0
  138. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/LoadingIcon.es.js +52 -0
  139. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/LoadingIcon.es.js.map +1 -0
  140. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/button-group.es.js +49 -0
  141. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/button-group.es.js.map +1 -0
  142. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/button.es.js +182 -0
  143. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/button.es.js.map +1 -0
  144. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/index.es.js +5 -0
  145. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/button/index.es.js.map +1 -0
  146. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/config-provider/DisabledContext.es.js +6 -0
  147. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/config-provider/DisabledContext.es.js.map +1 -0
  148. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/config-provider/SizeContext.es.js +6 -0
  149. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/config-provider/SizeContext.es.js.map +1 -0
  150. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/config-provider/context.es.js +15 -0
  151. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/config-provider/context.es.js.map +1 -0
  152. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/form/context.es.js +29 -0
  153. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/form/context.es.js.map +1 -0
  154. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/ClearableLabeledInput.es.js +80 -0
  155. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/ClearableLabeledInput.es.js.map +1 -0
  156. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Group.es.js +35 -0
  157. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Group.es.js.map +1 -0
  158. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Input.es.js +166 -0
  159. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Input.es.js.map +1 -0
  160. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Password.es.js +103 -0
  161. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Password.es.js.map +1 -0
  162. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Search.es.js +127 -0
  163. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/Search.es.js.map +1 -0
  164. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/TextArea.es.js +172 -0
  165. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/TextArea.es.js.map +1 -0
  166. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.es.js +27 -0
  167. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.es.js.map +1 -0
  168. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/index.es.js +14 -0
  169. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/index.es.js.map +1 -0
  170. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/utils.es.js +7 -0
  171. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/input/utils.es.js.map +1 -0
  172. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/space/Compact.es.js +41 -0
  173. package/dist/node_modules/.pnpm/antd@4.24.1_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/antd/es/space/Compact.es.js.map +1 -0
  174. package/dist/node_modules/.pnpm/async-validator@4.2.5/node_modules/async-validator/dist-web/index.es.js +1050 -0
  175. package/dist/node_modules/.pnpm/async-validator@4.2.5/node_modules/async-validator/dist-web/index.es.js.map +1 -0
  176. package/dist/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.es.js +1 -1
  177. package/dist/node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js +1 -1
  178. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.es.js +8 -0
  179. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.es.js.map +1 -0
  180. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.es.js +12 -0
  181. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.es.js.map +1 -0
  182. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayReduce.es.js +15 -0
  183. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayReduce.es.js.map +1 -0
  184. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiToArray.es.js +8 -0
  185. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiToArray.es.js.map +1 -0
  186. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiWords.es.js +9 -0
  187. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiWords.es.js.map +1 -0
  188. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.es.js +17 -0
  189. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.es.js.map +1 -0
  190. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyOf.es.js +10 -0
  191. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyOf.es.js.map +1 -0
  192. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSlice.es.js +22 -0
  193. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSlice.es.js.map +1 -0
  194. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.es.js +24 -0
  195. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.es.js.map +1 -0
  196. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castSlice.es.js +12 -0
  197. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castSlice.es.js.map +1 -0
  198. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createCaseFirst.es.js +19 -0
  199. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createCaseFirst.es.js.map +1 -0
  200. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createCompounder.es.js +16 -0
  201. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createCompounder.es.js.map +1 -0
  202. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_deburrLetter.es.js +202 -0
  203. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_deburrLetter.es.js.map +1 -0
  204. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.es.js +7 -0
  205. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.es.js.map +1 -0
  206. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.es.js +28 -0
  207. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.es.js.map +1 -0
  208. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicode.es.js +11 -0
  209. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicode.es.js.map +1 -0
  210. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicodeWord.es.js +9 -0
  211. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicodeWord.es.js.map +1 -0
  212. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.es.js +10 -0
  213. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.es.js.map +1 -0
  214. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.es.js +9 -0
  215. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.es.js.map +1 -0
  216. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToArray.es.js +12 -0
  217. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToArray.es.js.map +1 -0
  218. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeToArray.es.js +12 -0
  219. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeToArray.es.js.map +1 -0
  220. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeWords.es.js +21 -0
  221. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeWords.es.js.map +1 -0
  222. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/camelCase.es.js +14 -0
  223. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/camelCase.es.js.map +1 -0
  224. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/capitalize.es.js +11 -0
  225. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/capitalize.es.js.map +1 -0
  226. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/deburr.es.js +16 -0
  227. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/deburr.es.js.map +1 -0
  228. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.es.js +6 -0
  229. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.es.js.map +1 -0
  230. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.es.js +8 -0
  231. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.es.js.map +1 -0
  232. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.es.js +12 -0
  233. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.es.js.map +1 -0
  234. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.es.js +10 -0
  235. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.es.js.map +1 -0
  236. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/upperFirst.es.js +8 -0
  237. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/upperFirst.es.js.map +1 -0
  238. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/words.es.js +18 -0
  239. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/words.es.js.map +1 -0
  240. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.es.js +1 -1
  241. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/Field.es.js +427 -0
  242. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/Field.es.js.map +1 -0
  243. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/FieldContext.es.js +45 -0
  244. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/FieldContext.es.js.map +1 -0
  245. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/Form.es.js +102 -0
  246. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/Form.es.js.map +1 -0
  247. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/FormContext.es.js +61 -0
  248. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/FormContext.es.js.map +1 -0
  249. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/List.es.js +129 -0
  250. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/List.es.js.map +1 -0
  251. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/ListContext.es.js +6 -0
  252. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/ListContext.es.js.map +1 -0
  253. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/index.es.js +24 -0
  254. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/index.es.js.map +1 -0
  255. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/useForm.es.js +742 -0
  256. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/useForm.es.js.map +1 -0
  257. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/useWatch.es.js +70 -0
  258. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/useWatch.es.js.map +1 -0
  259. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/NameMap.es.js +76 -0
  260. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/NameMap.es.js.map +1 -0
  261. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/asyncUtil.es.js +30 -0
  262. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/asyncUtil.es.js.map +1 -0
  263. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/cloneDeep.es.js +28 -0
  264. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/cloneDeep.es.js.map +1 -0
  265. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/messages.es.js +52 -0
  266. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/messages.es.js.map +1 -0
  267. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/typeUtil.es.js +10 -0
  268. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/typeUtil.es.js.map +1 -0
  269. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.es.js +267 -0
  270. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/validateUtil.es.js.map +1 -0
  271. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/valueUtil.es.js +121 -0
  272. package/dist/node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/utils/valueUtil.es.js.map +1 -0
  273. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/BaseInput.es.js +83 -0
  274. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/BaseInput.es.js.map +1 -0
  275. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/Input.es.js +141 -0
  276. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/Input.es.js.map +1 -0
  277. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/index.es.js +7 -0
  278. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/index.es.js.map +1 -0
  279. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/utils/commonUtils.es.js +59 -0
  280. package/dist/node_modules/.pnpm/rc-input@0.1.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-input/es/utils/commonUtils.es.js.map +1 -0
  281. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/CSSMotion.es.js +103 -0
  282. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/CSSMotion.es.js.map +1 -0
  283. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/CSSMotionList.es.js +124 -0
  284. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/CSSMotionList.es.js.map +1 -0
  285. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/DomWrapper.es.js +24 -0
  286. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/DomWrapper.es.js.map +1 -0
  287. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/context.es.js +6 -0
  288. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/context.es.js.map +1 -0
  289. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useDomMotionEvents.es.js +32 -0
  290. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useDomMotionEvents.es.js.map +1 -0
  291. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.es.js +7 -0
  292. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.es.js.map +1 -0
  293. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useNextFrame.es.js +34 -0
  294. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useNextFrame.es.js.map +1 -0
  295. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useStatus.es.js +166 -0
  296. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useStatus.es.js.map +1 -0
  297. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useStepQueue.es.js +56 -0
  298. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/hooks/useStepQueue.es.js.map +1 -0
  299. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/index.es.js +7 -0
  300. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/index.es.js.map +1 -0
  301. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/interface.es.js +23 -0
  302. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/interface.es.js.map +1 -0
  303. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/util/diff.es.js +96 -0
  304. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/util/diff.es.js.map +1 -0
  305. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/util/motion.es.js +75 -0
  306. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-motion/es/util/motion.es.js.map +1 -0
  307. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/Collection.es.js +32 -0
  308. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/Collection.es.js.map +1 -0
  309. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.es.js +24 -0
  310. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.es.js.map +1 -0
  311. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/SingleObserver/index.es.js +85 -0
  312. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/SingleObserver/index.es.js.map +1 -0
  313. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/index.es.js +35 -0
  314. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/index.es.js.map +1 -0
  315. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/utils/observerUtil.es.js +35 -0
  316. package/dist/node_modules/.pnpm/rc-resize-observer@1.4.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-resize-observer/es/utils/observerUtil.es.js.map +1 -0
  317. package/dist/node_modules/.pnpm/rc-textarea@0.4.7_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-textarea/es/ResizableTextArea.es.js +118 -0
  318. package/dist/node_modules/.pnpm/rc-textarea@0.4.7_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-textarea/es/ResizableTextArea.es.js.map +1 -0
  319. package/dist/node_modules/.pnpm/rc-textarea@0.4.7_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-textarea/es/calculateNodeHeight.es.js +92 -0
  320. package/dist/node_modules/.pnpm/rc-textarea@0.4.7_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-textarea/es/calculateNodeHeight.es.js.map +1 -0
  321. package/dist/node_modules/.pnpm/rc-textarea@0.4.7_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-textarea/es/index.es.js +85 -0
  322. package/dist/node_modules/.pnpm/rc-textarea@0.4.7_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-textarea/es/index.es.js.map +1 -0
  323. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Children/toArray.es.js +23 -0
  324. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Children/toArray.es.js.map +1 -0
  325. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/canUseDom.es.js +7 -0
  326. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/canUseDom.es.js.map +1 -0
  327. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/contains.es.js +20 -0
  328. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/contains.es.js.map +1 -0
  329. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/dynamicCSS.es.js +116 -0
  330. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/dynamicCSS.es.js.map +1 -0
  331. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/findDOMNode.es.js +32 -0
  332. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Dom/findDOMNode.es.js.map +1 -0
  333. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/React/isFragment.es.js +16 -0
  334. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/React/isFragment.es.js.map +1 -0
  335. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useEvent.es.js +17 -0
  336. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useEvent.es.js.map +1 -0
  337. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useLayoutEffect.es.js +27 -0
  338. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useLayoutEffect.es.js.map +1 -0
  339. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useMemo.es.js +13 -0
  340. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useMemo.es.js.map +1 -0
  341. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useMergedState.es.js +43 -0
  342. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useMergedState.es.js.map +1 -0
  343. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useState.es.js +23 -0
  344. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useState.es.js.map +1 -0
  345. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useSyncState.es.js +21 -0
  346. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/hooks/useSyncState.es.js.map +1 -0
  347. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/omit.es.js +13 -0
  348. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/omit.es.js.map +1 -0
  349. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/raf.es.js +51 -0
  350. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/raf.es.js.map +1 -0
  351. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/ref.es.js +74 -0
  352. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/ref.es.js.map +1 -0
  353. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/utils/get.es.js +14 -0
  354. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/utils/get.es.js.map +1 -0
  355. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/utils/set.es.js +35 -0
  356. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/utils/set.es.js.map +1 -0
  357. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/warning.es.js +54 -0
  358. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/warning.es.js.map +1 -0
  359. package/dist/node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.development.es.js +194 -0
  360. package/dist/node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.development.es.js.map +1 -0
  361. package/dist/node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.es.js +110 -0
  362. package/dist/node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.es.js.map +1 -0
  363. package/dist/node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.es.js +13 -0
  364. package/dist/node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.es.js.map +1 -0
  365. package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.es.js +3 -3
  366. package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +1 -1
  367. package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +2 -2
  368. package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.es.js.map +1 -1
  369. package/dist/node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.es.js +496 -0
  370. package/dist/node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.es.js.map +1 -0
  371. package/dist/node_modules/.pnpm/style-to-js@1.1.16/node_modules/style-to-js/cjs/index.es.js +1 -1
  372. package/dist/node_modules/.pnpm/style-to-object@1.0.8/node_modules/style-to-object/cjs/index.es.js +1 -1
  373. package/dist/stats.html +1 -1
  374. package/dist/style.pkg.css +1 -1
  375. package/dist/tailwindcss.pkg.css +1 -1
  376. package/package.json +4 -2
@@ -0,0 +1,427 @@
1
+ import _extends from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/extends.es.js";
2
+ import _objectWithoutProperties from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.es.js";
3
+ import _defineProperty from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/defineProperty.es.js";
4
+ import _objectSpread2 from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.es.js";
5
+ import _toConsumableArray from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.es.js";
6
+ import _classCallCheck from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.es.js";
7
+ import _createClass from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createClass.es.js";
8
+ import _assertThisInitialized from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.es.js";
9
+ import _inherits from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/inherits.es.js";
10
+ import _createSuper from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createSuper.es.js";
11
+ import toArray$1 from "../../../../rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/Children/toArray.es.js";
12
+ import { warningOnce } from "../../../../rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/warning.es.js";
13
+ import * as React from "react";
14
+ import Context, { HOOK_MARK } from "./FieldContext.es.js";
15
+ import { toArray } from "./utils/typeUtil.es.js";
16
+ import { validateRules } from "./utils/validateUtil.es.js";
17
+ import { getNamePath, containsNamePath, getValue, defaultGetValueFromEvent } from "./utils/valueUtil.es.js";
18
+ var _excluded = ["name"];
19
+ var EMPTY_ERRORS = [];
20
+ function requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {
21
+ if (typeof shouldUpdate === "function") {
22
+ return shouldUpdate(prev, next, "source" in info ? {
23
+ source: info.source
24
+ } : {});
25
+ }
26
+ return prevValue !== nextValue;
27
+ }
28
+ var Field = /* @__PURE__ */ function(_React$Component) {
29
+ _inherits(Field2, _React$Component);
30
+ var _super = _createSuper(Field2);
31
+ function Field2(props) {
32
+ var _this;
33
+ _classCallCheck(this, Field2);
34
+ _this = _super.call(this, props);
35
+ _this.state = {
36
+ resetCount: 0
37
+ };
38
+ _this.cancelRegisterFunc = null;
39
+ _this.mounted = false;
40
+ _this.touched = false;
41
+ _this.dirty = false;
42
+ _this.validatePromise = null;
43
+ _this.prevValidating = void 0;
44
+ _this.errors = EMPTY_ERRORS;
45
+ _this.warnings = EMPTY_ERRORS;
46
+ _this.cancelRegister = function() {
47
+ var _this$props = _this.props, preserve = _this$props.preserve, isListField = _this$props.isListField, name = _this$props.name;
48
+ if (_this.cancelRegisterFunc) {
49
+ _this.cancelRegisterFunc(isListField, preserve, getNamePath(name));
50
+ }
51
+ _this.cancelRegisterFunc = null;
52
+ };
53
+ _this.getNamePath = function() {
54
+ var _this$props2 = _this.props, name = _this$props2.name, fieldContext = _this$props2.fieldContext;
55
+ var _fieldContext$prefixN = fieldContext.prefixName, prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;
56
+ return name !== void 0 ? [].concat(_toConsumableArray(prefixName), _toConsumableArray(name)) : [];
57
+ };
58
+ _this.getRules = function() {
59
+ var _this$props3 = _this.props, _this$props3$rules = _this$props3.rules, rules = _this$props3$rules === void 0 ? [] : _this$props3$rules, fieldContext = _this$props3.fieldContext;
60
+ return rules.map(function(rule) {
61
+ if (typeof rule === "function") {
62
+ return rule(fieldContext);
63
+ }
64
+ return rule;
65
+ });
66
+ };
67
+ _this.refresh = function() {
68
+ if (!_this.mounted) return;
69
+ _this.setState(function(_ref) {
70
+ var resetCount = _ref.resetCount;
71
+ return {
72
+ resetCount: resetCount + 1
73
+ };
74
+ });
75
+ };
76
+ _this.triggerMetaEvent = function(destroy) {
77
+ var onMetaChange = _this.props.onMetaChange;
78
+ onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(_objectSpread2(_objectSpread2({}, _this.getMeta()), {}, {
79
+ destroy
80
+ }));
81
+ };
82
+ _this.onStoreChange = function(prevStore, namePathList, info) {
83
+ var _this$props4 = _this.props, shouldUpdate = _this$props4.shouldUpdate, _this$props4$dependen = _this$props4.dependencies, dependencies = _this$props4$dependen === void 0 ? [] : _this$props4$dependen, onReset = _this$props4.onReset;
84
+ var store = info.store;
85
+ var namePath = _this.getNamePath();
86
+ var prevValue = _this.getValue(prevStore);
87
+ var curValue = _this.getValue(store);
88
+ var namePathMatch = namePathList && containsNamePath(namePathList, namePath);
89
+ if (info.type === "valueUpdate" && info.source === "external" && prevValue !== curValue) {
90
+ _this.touched = true;
91
+ _this.dirty = true;
92
+ _this.validatePromise = null;
93
+ _this.errors = EMPTY_ERRORS;
94
+ _this.warnings = EMPTY_ERRORS;
95
+ _this.triggerMetaEvent();
96
+ }
97
+ switch (info.type) {
98
+ case "reset":
99
+ if (!namePathList || namePathMatch) {
100
+ _this.touched = false;
101
+ _this.dirty = false;
102
+ _this.validatePromise = null;
103
+ _this.errors = EMPTY_ERRORS;
104
+ _this.warnings = EMPTY_ERRORS;
105
+ _this.triggerMetaEvent();
106
+ onReset === null || onReset === void 0 ? void 0 : onReset();
107
+ _this.refresh();
108
+ return;
109
+ }
110
+ break;
111
+ case "remove": {
112
+ if (shouldUpdate) {
113
+ _this.reRender();
114
+ return;
115
+ }
116
+ break;
117
+ }
118
+ case "setField": {
119
+ if (namePathMatch) {
120
+ var data = info.data;
121
+ if ("touched" in data) {
122
+ _this.touched = data.touched;
123
+ }
124
+ if ("validating" in data && !("originRCField" in data)) {
125
+ _this.validatePromise = data.validating ? Promise.resolve([]) : null;
126
+ }
127
+ if ("errors" in data) {
128
+ _this.errors = data.errors || EMPTY_ERRORS;
129
+ }
130
+ if ("warnings" in data) {
131
+ _this.warnings = data.warnings || EMPTY_ERRORS;
132
+ }
133
+ _this.dirty = true;
134
+ _this.triggerMetaEvent();
135
+ _this.reRender();
136
+ return;
137
+ }
138
+ if (shouldUpdate && !namePath.length && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {
139
+ _this.reRender();
140
+ return;
141
+ }
142
+ break;
143
+ }
144
+ case "dependenciesUpdate": {
145
+ var dependencyList = dependencies.map(getNamePath);
146
+ if (dependencyList.some(function(dependency) {
147
+ return containsNamePath(info.relatedFields, dependency);
148
+ })) {
149
+ _this.reRender();
150
+ return;
151
+ }
152
+ break;
153
+ }
154
+ default:
155
+ if (namePathMatch || (!dependencies.length || namePath.length || shouldUpdate) && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {
156
+ _this.reRender();
157
+ return;
158
+ }
159
+ break;
160
+ }
161
+ if (shouldUpdate === true) {
162
+ _this.reRender();
163
+ }
164
+ };
165
+ _this.validateRules = function(options) {
166
+ var namePath = _this.getNamePath();
167
+ var currentValue = _this.getValue();
168
+ var rootPromise = Promise.resolve().then(function() {
169
+ if (!_this.mounted) {
170
+ return [];
171
+ }
172
+ var _this$props5 = _this.props, _this$props5$validate = _this$props5.validateFirst, validateFirst = _this$props5$validate === void 0 ? false : _this$props5$validate, messageVariables = _this$props5.messageVariables;
173
+ var _ref2 = options || {}, triggerName = _ref2.triggerName;
174
+ var filteredRules = _this.getRules();
175
+ if (triggerName) {
176
+ filteredRules = filteredRules.filter(function(rule) {
177
+ return rule;
178
+ }).filter(function(rule) {
179
+ var validateTrigger = rule.validateTrigger;
180
+ if (!validateTrigger) {
181
+ return true;
182
+ }
183
+ var triggerList = toArray(validateTrigger);
184
+ return triggerList.includes(triggerName);
185
+ });
186
+ }
187
+ var promise = validateRules(namePath, currentValue, filteredRules, options, validateFirst, messageVariables);
188
+ promise.catch(function(e) {
189
+ return e;
190
+ }).then(function() {
191
+ var ruleErrors = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : EMPTY_ERRORS;
192
+ if (_this.validatePromise === rootPromise) {
193
+ var _ruleErrors$forEach;
194
+ _this.validatePromise = null;
195
+ var nextErrors = [];
196
+ var nextWarnings = [];
197
+ (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function(_ref3) {
198
+ var warningOnly = _ref3.rule.warningOnly, _ref3$errors = _ref3.errors, errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;
199
+ if (warningOnly) {
200
+ nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));
201
+ } else {
202
+ nextErrors.push.apply(nextErrors, _toConsumableArray(errors));
203
+ }
204
+ });
205
+ _this.errors = nextErrors;
206
+ _this.warnings = nextWarnings;
207
+ _this.triggerMetaEvent();
208
+ _this.reRender();
209
+ }
210
+ });
211
+ return promise;
212
+ });
213
+ _this.validatePromise = rootPromise;
214
+ _this.dirty = true;
215
+ _this.errors = EMPTY_ERRORS;
216
+ _this.warnings = EMPTY_ERRORS;
217
+ _this.triggerMetaEvent();
218
+ _this.reRender();
219
+ return rootPromise;
220
+ };
221
+ _this.isFieldValidating = function() {
222
+ return !!_this.validatePromise;
223
+ };
224
+ _this.isFieldTouched = function() {
225
+ return _this.touched;
226
+ };
227
+ _this.isFieldDirty = function() {
228
+ if (_this.dirty || _this.props.initialValue !== void 0) {
229
+ return true;
230
+ }
231
+ var fieldContext = _this.props.fieldContext;
232
+ var _fieldContext$getInte = fieldContext.getInternalHooks(HOOK_MARK), getInitialValue = _fieldContext$getInte.getInitialValue;
233
+ if (getInitialValue(_this.getNamePath()) !== void 0) {
234
+ return true;
235
+ }
236
+ return false;
237
+ };
238
+ _this.getErrors = function() {
239
+ return _this.errors;
240
+ };
241
+ _this.getWarnings = function() {
242
+ return _this.warnings;
243
+ };
244
+ _this.isListField = function() {
245
+ return _this.props.isListField;
246
+ };
247
+ _this.isList = function() {
248
+ return _this.props.isList;
249
+ };
250
+ _this.isPreserve = function() {
251
+ return _this.props.preserve;
252
+ };
253
+ _this.getMeta = function() {
254
+ _this.prevValidating = _this.isFieldValidating();
255
+ var meta = {
256
+ touched: _this.isFieldTouched(),
257
+ validating: _this.prevValidating,
258
+ errors: _this.errors,
259
+ warnings: _this.warnings,
260
+ name: _this.getNamePath()
261
+ };
262
+ return meta;
263
+ };
264
+ _this.getOnlyChild = function(children) {
265
+ if (typeof children === "function") {
266
+ var meta = _this.getMeta();
267
+ return _objectSpread2(_objectSpread2({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {
268
+ isFunction: true
269
+ });
270
+ }
271
+ var childList = toArray$1(children);
272
+ if (childList.length !== 1 || !/* @__PURE__ */ React.isValidElement(childList[0])) {
273
+ return {
274
+ child: childList,
275
+ isFunction: false
276
+ };
277
+ }
278
+ return {
279
+ child: childList[0],
280
+ isFunction: false
281
+ };
282
+ };
283
+ _this.getValue = function(store) {
284
+ var getFieldsValue = _this.props.fieldContext.getFieldsValue;
285
+ var namePath = _this.getNamePath();
286
+ return getValue(store || getFieldsValue(true), namePath);
287
+ };
288
+ _this.getControlled = function() {
289
+ var childProps = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
290
+ var _this$props6 = _this.props, trigger = _this$props6.trigger, validateTrigger = _this$props6.validateTrigger, getValueFromEvent = _this$props6.getValueFromEvent, normalize = _this$props6.normalize, valuePropName = _this$props6.valuePropName, getValueProps = _this$props6.getValueProps, fieldContext = _this$props6.fieldContext;
291
+ var mergedValidateTrigger = validateTrigger !== void 0 ? validateTrigger : fieldContext.validateTrigger;
292
+ var namePath = _this.getNamePath();
293
+ var getInternalHooks2 = fieldContext.getInternalHooks, getFieldsValue = fieldContext.getFieldsValue;
294
+ var _getInternalHooks = getInternalHooks2(HOOK_MARK), dispatch = _getInternalHooks.dispatch;
295
+ var value = _this.getValue();
296
+ var mergedGetValueProps = getValueProps || function(val) {
297
+ return _defineProperty({}, valuePropName, val);
298
+ };
299
+ var originTriggerFunc = childProps[trigger];
300
+ var control = _objectSpread2(_objectSpread2({}, childProps), mergedGetValueProps(value));
301
+ control[trigger] = function() {
302
+ _this.touched = true;
303
+ _this.dirty = true;
304
+ _this.triggerMetaEvent();
305
+ var newValue;
306
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
307
+ args[_key] = arguments[_key];
308
+ }
309
+ if (getValueFromEvent) {
310
+ newValue = getValueFromEvent.apply(void 0, args);
311
+ } else {
312
+ newValue = defaultGetValueFromEvent.apply(void 0, [valuePropName].concat(args));
313
+ }
314
+ if (normalize) {
315
+ newValue = normalize(newValue, value, getFieldsValue(true));
316
+ }
317
+ dispatch({
318
+ type: "updateValue",
319
+ namePath,
320
+ value: newValue
321
+ });
322
+ if (originTriggerFunc) {
323
+ originTriggerFunc.apply(void 0, args);
324
+ }
325
+ };
326
+ var validateTriggerList = toArray(mergedValidateTrigger || []);
327
+ validateTriggerList.forEach(function(triggerName) {
328
+ var originTrigger = control[triggerName];
329
+ control[triggerName] = function() {
330
+ if (originTrigger) {
331
+ originTrigger.apply(void 0, arguments);
332
+ }
333
+ var rules = _this.props.rules;
334
+ if (rules && rules.length) {
335
+ dispatch({
336
+ type: "validateField",
337
+ namePath,
338
+ triggerName
339
+ });
340
+ }
341
+ };
342
+ });
343
+ return control;
344
+ };
345
+ if (props.fieldContext) {
346
+ var getInternalHooks = props.fieldContext.getInternalHooks;
347
+ var _getInternalHooks2 = getInternalHooks(HOOK_MARK), initEntityValue = _getInternalHooks2.initEntityValue;
348
+ initEntityValue(_assertThisInitialized(_this));
349
+ }
350
+ return _this;
351
+ }
352
+ _createClass(Field2, [{
353
+ key: "componentDidMount",
354
+ value: function componentDidMount() {
355
+ var _this$props7 = this.props, shouldUpdate = _this$props7.shouldUpdate, fieldContext = _this$props7.fieldContext;
356
+ this.mounted = true;
357
+ if (fieldContext) {
358
+ var getInternalHooks = fieldContext.getInternalHooks;
359
+ var _getInternalHooks3 = getInternalHooks(HOOK_MARK), registerField = _getInternalHooks3.registerField;
360
+ this.cancelRegisterFunc = registerField(this);
361
+ }
362
+ if (shouldUpdate === true) {
363
+ this.reRender();
364
+ }
365
+ }
366
+ }, {
367
+ key: "componentWillUnmount",
368
+ value: function componentWillUnmount() {
369
+ this.cancelRegister();
370
+ this.triggerMetaEvent(true);
371
+ this.mounted = false;
372
+ }
373
+ }, {
374
+ key: "reRender",
375
+ value: function reRender() {
376
+ if (!this.mounted) return;
377
+ this.forceUpdate();
378
+ }
379
+ }, {
380
+ key: "render",
381
+ value: function render() {
382
+ var resetCount = this.state.resetCount;
383
+ var children = this.props.children;
384
+ var _this$getOnlyChild = this.getOnlyChild(children), child = _this$getOnlyChild.child, isFunction = _this$getOnlyChild.isFunction;
385
+ var returnChildNode;
386
+ if (isFunction) {
387
+ returnChildNode = child;
388
+ } else if (/* @__PURE__ */ React.isValidElement(child)) {
389
+ returnChildNode = /* @__PURE__ */ React.cloneElement(child, this.getControlled(child.props));
390
+ } else {
391
+ warningOnce(!child, "`children` of Field is not validate ReactElement.");
392
+ returnChildNode = child;
393
+ }
394
+ return /* @__PURE__ */ React.createElement(React.Fragment, {
395
+ key: resetCount
396
+ }, returnChildNode);
397
+ }
398
+ }]);
399
+ return Field2;
400
+ }(React.Component);
401
+ Field.contextType = Context;
402
+ Field.defaultProps = {
403
+ trigger: "onChange",
404
+ valuePropName: "value"
405
+ };
406
+ function WrapperField(_ref5) {
407
+ var name = _ref5.name, restProps = _objectWithoutProperties(_ref5, _excluded);
408
+ var fieldContext = React.useContext(Context);
409
+ var namePath = name !== void 0 ? getNamePath(name) : void 0;
410
+ var key = "keep";
411
+ if (!restProps.isListField) {
412
+ key = "_".concat((namePath || []).join("_"));
413
+ }
414
+ if (process.env.NODE_ENV !== "production" && restProps.preserve === false && restProps.isListField && namePath.length <= 1) {
415
+ warningOnce(false, "`preserve` should not apply on Form.List fields.");
416
+ }
417
+ return /* @__PURE__ */ React.createElement(Field, _extends({
418
+ key,
419
+ name: namePath
420
+ }, restProps, {
421
+ fieldContext
422
+ }));
423
+ }
424
+ export {
425
+ WrapperField as default
426
+ };
427
+ //# sourceMappingURL=Field.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Field.es.js","sources":["../../../../../../../../../node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/Field.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"name\"];\nimport toChildrenArray from \"rc-util/es/Children/toArray\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport FieldContext, { HOOK_MARK } from './FieldContext';\nimport { toArray } from './utils/typeUtil';\nimport { validateRules } from './utils/validateUtil';\nimport { containsNamePath, defaultGetValueFromEvent, getNamePath, getValue } from './utils/valueUtil';\nvar EMPTY_ERRORS = [];\nfunction requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {\n if (typeof shouldUpdate === 'function') {\n return shouldUpdate(prev, next, 'source' in info ? {\n source: info.source\n } : {});\n }\n return prevValue !== nextValue;\n}\n// We use Class instead of Hooks here since it will cost much code by using Hooks.\nvar Field = /*#__PURE__*/function (_React$Component) {\n _inherits(Field, _React$Component);\n var _super = _createSuper(Field);\n /**\n * Follow state should not management in State since it will async update by React.\n * This makes first render of form can not get correct state value.\n */\n\n /**\n * Mark when touched & validated. Currently only used for `dependencies`.\n * Note that we do not think field with `initialValue` is dirty\n * but this will be by `isFieldDirty` func.\n */\n\n // ============================== Subscriptions ==============================\n function Field(props) {\n var _this;\n _classCallCheck(this, Field);\n _this = _super.call(this, props);\n // Register on init\n _this.state = {\n resetCount: 0\n };\n _this.cancelRegisterFunc = null;\n _this.mounted = false;\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = null;\n _this.prevValidating = void 0;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.cancelRegister = function () {\n var _this$props = _this.props,\n preserve = _this$props.preserve,\n isListField = _this$props.isListField,\n name = _this$props.name;\n if (_this.cancelRegisterFunc) {\n _this.cancelRegisterFunc(isListField, preserve, getNamePath(name));\n }\n _this.cancelRegisterFunc = null;\n };\n _this.getNamePath = function () {\n var _this$props2 = _this.props,\n name = _this$props2.name,\n fieldContext = _this$props2.fieldContext;\n var _fieldContext$prefixN = fieldContext.prefixName,\n prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;\n return name !== undefined ? [].concat(_toConsumableArray(prefixName), _toConsumableArray(name)) : [];\n };\n _this.getRules = function () {\n var _this$props3 = _this.props,\n _this$props3$rules = _this$props3.rules,\n rules = _this$props3$rules === void 0 ? [] : _this$props3$rules,\n fieldContext = _this$props3.fieldContext;\n return rules.map(function (rule) {\n if (typeof rule === 'function') {\n return rule(fieldContext);\n }\n return rule;\n });\n };\n _this.refresh = function () {\n if (!_this.mounted) return;\n /**\n * Clean up current node.\n */\n _this.setState(function (_ref) {\n var resetCount = _ref.resetCount;\n return {\n resetCount: resetCount + 1\n };\n });\n };\n _this.triggerMetaEvent = function (destroy) {\n var onMetaChange = _this.props.onMetaChange;\n onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(_objectSpread(_objectSpread({}, _this.getMeta()), {}, {\n destroy: destroy\n }));\n };\n _this.onStoreChange = function (prevStore, namePathList, info) {\n var _this$props4 = _this.props,\n shouldUpdate = _this$props4.shouldUpdate,\n _this$props4$dependen = _this$props4.dependencies,\n dependencies = _this$props4$dependen === void 0 ? [] : _this$props4$dependen,\n onReset = _this$props4.onReset;\n var store = info.store;\n var namePath = _this.getNamePath();\n var prevValue = _this.getValue(prevStore);\n var curValue = _this.getValue(store);\n var namePathMatch = namePathList && containsNamePath(namePathList, namePath);\n // `setFieldsValue` is a quick access to update related status\n if (info.type === 'valueUpdate' && info.source === 'external' && prevValue !== curValue) {\n _this.touched = true;\n _this.dirty = true;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n }\n switch (info.type) {\n case 'reset':\n if (!namePathList || namePathMatch) {\n // Clean up state\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n onReset === null || onReset === void 0 ? void 0 : onReset();\n _this.refresh();\n return;\n }\n break;\n /**\n * In case field with `preserve = false` nest deps like:\n * - A = 1 => show B\n * - B = 1 => show C\n * - Reset A, need clean B, C\n */\n case 'remove':\n {\n if (shouldUpdate) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'setField':\n {\n if (namePathMatch) {\n var data = info.data;\n if ('touched' in data) {\n _this.touched = data.touched;\n }\n if ('validating' in data && !('originRCField' in data)) {\n _this.validatePromise = data.validating ? Promise.resolve([]) : null;\n }\n if ('errors' in data) {\n _this.errors = data.errors || EMPTY_ERRORS;\n }\n if ('warnings' in data) {\n _this.warnings = data.warnings || EMPTY_ERRORS;\n }\n _this.dirty = true;\n _this.triggerMetaEvent();\n _this.reRender();\n return;\n }\n // Handle update by `setField` with `shouldUpdate`\n if (shouldUpdate && !namePath.length && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'dependenciesUpdate':\n {\n /**\n * Trigger when marked `dependencies` updated. Related fields will all update\n */\n var dependencyList = dependencies.map(getNamePath);\n // No need for `namePathMath` check and `shouldUpdate` check, since `valueUpdate` will be\n // emitted earlier and they will work there\n // If set it may cause unnecessary twice rerendering\n if (dependencyList.some(function (dependency) {\n return containsNamePath(info.relatedFields, dependency);\n })) {\n _this.reRender();\n return;\n }\n break;\n }\n default:\n // 1. If `namePath` exists in `namePathList`, means it's related value and should update\n // For example <List name=\"list\"><Field name={['list', 0]}></List>\n // If `namePathList` is [['list']] (List value update), Field should be updated\n // If `namePathList` is [['list', 0]] (Field value update), List shouldn't be updated\n // 2.\n // 2.1 If `dependencies` is set, `name` is not set and `shouldUpdate` is not set,\n // don't use `shouldUpdate`. `dependencies` is view as a shortcut if `shouldUpdate`\n // is not provided\n // 2.2 If `shouldUpdate` provided, use customize logic to update the field\n // else to check if value changed\n if (namePathMatch || (!dependencies.length || namePath.length || shouldUpdate) && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n if (shouldUpdate === true) {\n _this.reRender();\n }\n };\n _this.validateRules = function (options) {\n // We should fixed namePath & value to avoid developer change then by form function\n var namePath = _this.getNamePath();\n var currentValue = _this.getValue();\n // Force change to async to avoid rule OOD under renderProps field\n var rootPromise = Promise.resolve().then(function () {\n if (!_this.mounted) {\n return [];\n }\n var _this$props5 = _this.props,\n _this$props5$validate = _this$props5.validateFirst,\n validateFirst = _this$props5$validate === void 0 ? false : _this$props5$validate,\n messageVariables = _this$props5.messageVariables;\n var _ref2 = options || {},\n triggerName = _ref2.triggerName;\n var filteredRules = _this.getRules();\n if (triggerName) {\n filteredRules = filteredRules.filter(function (rule) {\n return rule;\n }).filter(function (rule) {\n var validateTrigger = rule.validateTrigger;\n if (!validateTrigger) {\n return true;\n }\n var triggerList = toArray(validateTrigger);\n return triggerList.includes(triggerName);\n });\n }\n var promise = validateRules(namePath, currentValue, filteredRules, options, validateFirst, messageVariables);\n promise.catch(function (e) {\n return e;\n }).then(function () {\n var ruleErrors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EMPTY_ERRORS;\n if (_this.validatePromise === rootPromise) {\n var _ruleErrors$forEach;\n _this.validatePromise = null;\n // Get errors & warnings\n var nextErrors = [];\n var nextWarnings = [];\n (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref3) {\n var warningOnly = _ref3.rule.warningOnly,\n _ref3$errors = _ref3.errors,\n errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;\n if (warningOnly) {\n nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));\n } else {\n nextErrors.push.apply(nextErrors, _toConsumableArray(errors));\n }\n });\n _this.errors = nextErrors;\n _this.warnings = nextWarnings;\n _this.triggerMetaEvent();\n _this.reRender();\n }\n });\n return promise;\n });\n _this.validatePromise = rootPromise;\n _this.dirty = true;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n // Force trigger re-render since we need sync renderProps with new meta\n _this.reRender();\n return rootPromise;\n };\n _this.isFieldValidating = function () {\n return !!_this.validatePromise;\n };\n _this.isFieldTouched = function () {\n return _this.touched;\n };\n _this.isFieldDirty = function () {\n // Touched or validate or has initialValue\n if (_this.dirty || _this.props.initialValue !== undefined) {\n return true;\n }\n // Form set initialValue\n var fieldContext = _this.props.fieldContext;\n var _fieldContext$getInte = fieldContext.getInternalHooks(HOOK_MARK),\n getInitialValue = _fieldContext$getInte.getInitialValue;\n if (getInitialValue(_this.getNamePath()) !== undefined) {\n return true;\n }\n return false;\n };\n _this.getErrors = function () {\n return _this.errors;\n };\n _this.getWarnings = function () {\n return _this.warnings;\n };\n _this.isListField = function () {\n return _this.props.isListField;\n };\n _this.isList = function () {\n return _this.props.isList;\n };\n _this.isPreserve = function () {\n return _this.props.preserve;\n };\n _this.getMeta = function () {\n // Make error & validating in cache to save perf\n _this.prevValidating = _this.isFieldValidating();\n var meta = {\n touched: _this.isFieldTouched(),\n validating: _this.prevValidating,\n errors: _this.errors,\n warnings: _this.warnings,\n name: _this.getNamePath()\n };\n return meta;\n };\n _this.getOnlyChild = function (children) {\n // Support render props\n if (typeof children === 'function') {\n var meta = _this.getMeta();\n return _objectSpread(_objectSpread({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {\n isFunction: true\n });\n }\n // Filed element only\n var childList = toChildrenArray(children);\n if (childList.length !== 1 || ! /*#__PURE__*/React.isValidElement(childList[0])) {\n return {\n child: childList,\n isFunction: false\n };\n }\n return {\n child: childList[0],\n isFunction: false\n };\n };\n _this.getValue = function (store) {\n var getFieldsValue = _this.props.fieldContext.getFieldsValue;\n var namePath = _this.getNamePath();\n return getValue(store || getFieldsValue(true), namePath);\n };\n _this.getControlled = function () {\n var childProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _this$props6 = _this.props,\n trigger = _this$props6.trigger,\n validateTrigger = _this$props6.validateTrigger,\n getValueFromEvent = _this$props6.getValueFromEvent,\n normalize = _this$props6.normalize,\n valuePropName = _this$props6.valuePropName,\n getValueProps = _this$props6.getValueProps,\n fieldContext = _this$props6.fieldContext;\n var mergedValidateTrigger = validateTrigger !== undefined ? validateTrigger : fieldContext.validateTrigger;\n var namePath = _this.getNamePath();\n var getInternalHooks = fieldContext.getInternalHooks,\n getFieldsValue = fieldContext.getFieldsValue;\n var _getInternalHooks = getInternalHooks(HOOK_MARK),\n dispatch = _getInternalHooks.dispatch;\n var value = _this.getValue();\n var mergedGetValueProps = getValueProps || function (val) {\n return _defineProperty({}, valuePropName, val);\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var originTriggerFunc = childProps[trigger];\n var control = _objectSpread(_objectSpread({}, childProps), mergedGetValueProps(value));\n // Add trigger\n control[trigger] = function () {\n // Mark as touched\n _this.touched = true;\n _this.dirty = true;\n _this.triggerMetaEvent();\n var newValue;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (getValueFromEvent) {\n newValue = getValueFromEvent.apply(void 0, args);\n } else {\n newValue = defaultGetValueFromEvent.apply(void 0, [valuePropName].concat(args));\n }\n if (normalize) {\n newValue = normalize(newValue, value, getFieldsValue(true));\n }\n dispatch({\n type: 'updateValue',\n namePath: namePath,\n value: newValue\n });\n if (originTriggerFunc) {\n originTriggerFunc.apply(void 0, args);\n }\n };\n // Add validateTrigger\n var validateTriggerList = toArray(mergedValidateTrigger || []);\n validateTriggerList.forEach(function (triggerName) {\n // Wrap additional function of component, so that we can get latest value from store\n var originTrigger = control[triggerName];\n control[triggerName] = function () {\n if (originTrigger) {\n originTrigger.apply(void 0, arguments);\n }\n // Always use latest rules\n var rules = _this.props.rules;\n if (rules && rules.length) {\n // We dispatch validate to root,\n // since it will update related data with other field with same name\n dispatch({\n type: 'validateField',\n namePath: namePath,\n triggerName: triggerName\n });\n }\n };\n });\n return control;\n };\n if (props.fieldContext) {\n var getInternalHooks = props.fieldContext.getInternalHooks;\n var _getInternalHooks2 = getInternalHooks(HOOK_MARK),\n initEntityValue = _getInternalHooks2.initEntityValue;\n initEntityValue(_assertThisInitialized(_this));\n }\n return _this;\n }\n _createClass(Field, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props7 = this.props,\n shouldUpdate = _this$props7.shouldUpdate,\n fieldContext = _this$props7.fieldContext;\n this.mounted = true;\n // Register on init\n if (fieldContext) {\n var getInternalHooks = fieldContext.getInternalHooks;\n var _getInternalHooks3 = getInternalHooks(HOOK_MARK),\n registerField = _getInternalHooks3.registerField;\n this.cancelRegisterFunc = registerField(this);\n }\n // One more render for component in case fields not ready\n if (shouldUpdate === true) {\n this.reRender();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cancelRegister();\n this.triggerMetaEvent(true);\n this.mounted = false;\n }\n }, {\n key: \"reRender\",\n value: function reRender() {\n if (!this.mounted) return;\n this.forceUpdate();\n }\n }, {\n key: \"render\",\n value: function render() {\n var resetCount = this.state.resetCount;\n var children = this.props.children;\n var _this$getOnlyChild = this.getOnlyChild(children),\n child = _this$getOnlyChild.child,\n isFunction = _this$getOnlyChild.isFunction;\n // Not need to `cloneElement` since user can handle this in render function self\n var returnChildNode;\n if (isFunction) {\n returnChildNode = child;\n } else if ( /*#__PURE__*/React.isValidElement(child)) {\n returnChildNode = /*#__PURE__*/React.cloneElement(child, this.getControlled(child.props));\n } else {\n warning(!child, '`children` of Field is not validate ReactElement.');\n returnChildNode = child;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: resetCount\n }, returnChildNode);\n }\n }]);\n return Field;\n}(React.Component);\nField.contextType = FieldContext;\nField.defaultProps = {\n trigger: 'onChange',\n valuePropName: 'value'\n};\nfunction WrapperField(_ref5) {\n var name = _ref5.name,\n restProps = _objectWithoutProperties(_ref5, _excluded);\n var fieldContext = React.useContext(FieldContext);\n var namePath = name !== undefined ? getNamePath(name) : undefined;\n var key = 'keep';\n if (!restProps.isListField) {\n key = \"_\".concat((namePath || []).join('_'));\n }\n // Warning if it's a directly list field.\n // We can still support multiple level field preserve.\n if (process.env.NODE_ENV !== 'production' && restProps.preserve === false && restProps.isListField && namePath.length <= 1) {\n warning(false, '`preserve` should not apply on Form.List fields.');\n }\n return /*#__PURE__*/React.createElement(Field, _extends({\n key: key,\n name: namePath\n }, restProps, {\n fieldContext: fieldContext\n }));\n}\nexport default WrapperField;"],"names":["Field","_objectSpread","toChildrenArray","getInternalHooks","warning","FieldContext"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAI,YAAY,CAAC,MAAM;AAQvB,IAAI,eAAe,CAAE;AACrB,SAAS,cAAc,cAAc,MAAM,MAAM,WAAW,WAAW,MAAM;AAC3E,MAAI,OAAO,iBAAiB,YAAY;AACtC,WAAO,aAAa,MAAM,MAAM,YAAY,OAAO;AAAA,MACjD,QAAQ,KAAK;AAAA,IACd,IAAG,EAAE;AAAA,EACV;AACE,SAAO,cAAc;AACvB;AAEA,IAAI,QAAqB,yBAAU,kBAAkB;AACnD,YAAUA,QAAO,gBAAgB;AACjC,MAAI,SAAS,aAAaA,MAAK;AAa/B,WAASA,OAAM,OAAO;AACpB,QAAI;AACJ,oBAAgB,MAAMA,MAAK;AAC3B,YAAQ,OAAO,KAAK,MAAM,KAAK;AAE/B,UAAM,QAAQ;AAAA,MACZ,YAAY;AAAA,IACb;AACD,UAAM,qBAAqB;AAC3B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WAAW,SAAS,SAAY,YAAY,IAAI,IAAI;AACxD,MAAI,MAAM;AACV,MAAI,CAAC,UAAU,aAAa;AAC1B,UAAM,IAAI,QAAQ,YAAY,IAAI,KAAK,GAAG,CAAC;AAAA,EAC/C;AAGE,MAAI,QAAQ,IAAI,aAAa,gBAAgB,UAAU,aAAa,SAAS,UAAU,eAAe,SAAS,UAAU,GAAG;AAC1HD,gBAAQ,OAAO,kDAAkD;AAAA,EACrE;AACE,SAAoB,sBAAM,cAAc,OAAO,SAAS;AAAA,IACtD;AAAA,IACA,MAAM;AAAA,EACP,GAAE,WAAW;AAAA,IACZ;AAAA,EACJ,CAAG,CAAC;AACJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,45 @@
1
+ import { warningOnce } from "../../../../rc-util@5.44.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-util/es/warning.es.js";
2
+ import * as React from "react";
3
+ var HOOK_MARK = "RC_FORM_INTERNAL_HOOKS";
4
+ var warningFunc = function warningFunc2() {
5
+ warningOnce(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
6
+ };
7
+ var Context = /* @__PURE__ */ React.createContext({
8
+ getFieldValue: warningFunc,
9
+ getFieldsValue: warningFunc,
10
+ getFieldError: warningFunc,
11
+ getFieldWarning: warningFunc,
12
+ getFieldsError: warningFunc,
13
+ isFieldsTouched: warningFunc,
14
+ isFieldTouched: warningFunc,
15
+ isFieldValidating: warningFunc,
16
+ isFieldsValidating: warningFunc,
17
+ resetFields: warningFunc,
18
+ setFields: warningFunc,
19
+ setFieldValue: warningFunc,
20
+ setFieldsValue: warningFunc,
21
+ validateFields: warningFunc,
22
+ submit: warningFunc,
23
+ getInternalHooks: function getInternalHooks() {
24
+ warningFunc();
25
+ return {
26
+ dispatch: warningFunc,
27
+ initEntityValue: warningFunc,
28
+ registerField: warningFunc,
29
+ useSubscribe: warningFunc,
30
+ setInitialValues: warningFunc,
31
+ destroyForm: warningFunc,
32
+ setCallbacks: warningFunc,
33
+ registerWatch: warningFunc,
34
+ getFields: warningFunc,
35
+ setValidateMessages: warningFunc,
36
+ setPreserve: warningFunc,
37
+ getInitialValue: warningFunc
38
+ };
39
+ }
40
+ });
41
+ export {
42
+ HOOK_MARK,
43
+ Context as default
44
+ };
45
+ //# sourceMappingURL=FieldContext.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldContext.es.js","sources":["../../../../../../../../../node_modules/.pnpm/rc-field-form@1.27.4_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/rc-field-form/es/FieldContext.js"],"sourcesContent":["import warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nexport var HOOK_MARK = 'RC_FORM_INTERNAL_HOOKS';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nvar warningFunc = function warningFunc() {\n warning(false, 'Can not find FormContext. Please make sure you wrap Field under Form.');\n};\nvar Context = /*#__PURE__*/React.createContext({\n getFieldValue: warningFunc,\n getFieldsValue: warningFunc,\n getFieldError: warningFunc,\n getFieldWarning: warningFunc,\n getFieldsError: warningFunc,\n isFieldsTouched: warningFunc,\n isFieldTouched: warningFunc,\n isFieldValidating: warningFunc,\n isFieldsValidating: warningFunc,\n resetFields: warningFunc,\n setFields: warningFunc,\n setFieldValue: warningFunc,\n setFieldsValue: warningFunc,\n validateFields: warningFunc,\n submit: warningFunc,\n getInternalHooks: function getInternalHooks() {\n warningFunc();\n return {\n dispatch: warningFunc,\n initEntityValue: warningFunc,\n registerField: warningFunc,\n useSubscribe: warningFunc,\n setInitialValues: warningFunc,\n destroyForm: warningFunc,\n setCallbacks: warningFunc,\n registerWatch: warningFunc,\n getFields: warningFunc,\n setValidateMessages: warningFunc,\n setPreserve: warningFunc,\n getInitialValue: warningFunc\n };\n }\n});\nexport default Context;"],"names":["warningFunc","warning"],"mappings":";;AAEU,IAAC,YAAY;AAEvB,IAAI,cAAc,SAASA,eAAc;AACvCC,cAAQ,OAAO,uEAAuE;AACxF;AACG,IAAC,UAAuB,sBAAM,cAAc;AAAA,EAC7C,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR,kBAAkB,SAAS,mBAAmB;AAC5C,gBAAa;AACb,WAAO;AAAA,MACL,UAAU;AAAA,MACV,iBAAiB;AAAA,MACjB,eAAe;AAAA,MACf,cAAc;AAAA,MACd,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,cAAc;AAAA,MACd,eAAe;AAAA,MACf,WAAW;AAAA,MACX,qBAAqB;AAAA,MACrB,aAAa;AAAA,MACb,iBAAiB;AAAA,IAClB;AAAA,EACL;AACA,CAAC;","x_google_ignoreList":[0]}
@@ -0,0 +1,102 @@
1
+ import _extends from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/extends.es.js";
2
+ import _objectSpread2 from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.es.js";
3
+ import _slicedToArray from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.es.js";
4
+ import _objectWithoutProperties from "../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.es.js";
5
+ import * as React from "react";
6
+ import useForm from "./useForm.es.js";
7
+ import Context, { HOOK_MARK } from "./FieldContext.es.js";
8
+ import FormContext from "./FormContext.es.js";
9
+ import { isSimilar } from "./utils/valueUtil.es.js";
10
+ var _excluded = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];
11
+ var Form = function Form2(_ref, ref) {
12
+ var name = _ref.name, initialValues = _ref.initialValues, fields = _ref.fields, form = _ref.form, preserve = _ref.preserve, children = _ref.children, _ref$component = _ref.component, Component = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref.validateMessages, _ref$validateTrigger = _ref.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref.onValuesChange, _onFieldsChange = _ref.onFieldsChange, _onFinish = _ref.onFinish, onFinishFailed = _ref.onFinishFailed, restProps = _objectWithoutProperties(_ref, _excluded);
13
+ var formContext = React.useContext(FormContext);
14
+ var _useForm = useForm(form), _useForm2 = _slicedToArray(_useForm, 1), formInstance = _useForm2[0];
15
+ var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK), useSubscribe = _formInstance$getInte.useSubscribe, setInitialValues = _formInstance$getInte.setInitialValues, setCallbacks = _formInstance$getInte.setCallbacks, setValidateMessages = _formInstance$getInte.setValidateMessages, setPreserve = _formInstance$getInte.setPreserve, destroyForm = _formInstance$getInte.destroyForm;
16
+ React.useImperativeHandle(ref, function() {
17
+ return formInstance;
18
+ });
19
+ React.useEffect(function() {
20
+ formContext.registerForm(name, formInstance);
21
+ return function() {
22
+ formContext.unregisterForm(name);
23
+ };
24
+ }, [formContext, formInstance, name]);
25
+ setValidateMessages(_objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages));
26
+ setCallbacks({
27
+ onValuesChange,
28
+ onFieldsChange: function onFieldsChange(changedFields) {
29
+ formContext.triggerFormChange(name, changedFields);
30
+ if (_onFieldsChange) {
31
+ for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
32
+ rest[_key - 1] = arguments[_key];
33
+ }
34
+ _onFieldsChange.apply(void 0, [changedFields].concat(rest));
35
+ }
36
+ },
37
+ onFinish: function onFinish(values2) {
38
+ formContext.triggerFormFinish(name, values2);
39
+ if (_onFinish) {
40
+ _onFinish(values2);
41
+ }
42
+ },
43
+ onFinishFailed
44
+ });
45
+ setPreserve(preserve);
46
+ var mountRef = React.useRef(null);
47
+ setInitialValues(initialValues, !mountRef.current);
48
+ if (!mountRef.current) {
49
+ mountRef.current = true;
50
+ }
51
+ React.useEffect(
52
+ function() {
53
+ return destroyForm;
54
+ },
55
+ // eslint-disable-next-line react-hooks/exhaustive-deps
56
+ []
57
+ );
58
+ var childrenNode;
59
+ var childrenRenderProps = typeof children === "function";
60
+ if (childrenRenderProps) {
61
+ var values = formInstance.getFieldsValue(true);
62
+ childrenNode = children(values, formInstance);
63
+ } else {
64
+ childrenNode = children;
65
+ }
66
+ useSubscribe(!childrenRenderProps);
67
+ var prevFieldsRef = React.useRef();
68
+ React.useEffect(function() {
69
+ if (!isSimilar(prevFieldsRef.current || [], fields || [])) {
70
+ formInstance.setFields(fields || []);
71
+ }
72
+ prevFieldsRef.current = fields;
73
+ }, [fields, formInstance]);
74
+ var formContextValue = React.useMemo(function() {
75
+ return _objectSpread2(_objectSpread2({}, formInstance), {}, {
76
+ validateTrigger
77
+ });
78
+ }, [formInstance, validateTrigger]);
79
+ var wrapperNode = /* @__PURE__ */ React.createElement(Context.Provider, {
80
+ value: formContextValue
81
+ }, childrenNode);
82
+ if (Component === false) {
83
+ return wrapperNode;
84
+ }
85
+ return /* @__PURE__ */ React.createElement(Component, _extends({}, restProps, {
86
+ onSubmit: function onSubmit(event) {
87
+ event.preventDefault();
88
+ event.stopPropagation();
89
+ formInstance.submit();
90
+ },
91
+ onReset: function onReset(event) {
92
+ var _restProps$onReset;
93
+ event.preventDefault();
94
+ formInstance.resetFields();
95
+ (_restProps$onReset = restProps.onReset) === null || _restProps$onReset === void 0 ? void 0 : _restProps$onReset.call(restProps, event);
96
+ }
97
+ }), wrapperNode);
98
+ };
99
+ export {
100
+ Form as default
101
+ };
102
+ //# sourceMappingURL=Form.es.js.map