@gobolt/genesis 0.0.7 → 0.0.9

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 (254) hide show
  1. package/README.md +18 -2
  2. package/dist/{AntdIcon-Bsnbyy6g.js → AntdIcon-BoLh1dP8.js} +37 -35
  3. package/dist/CheckOutlined-CeTKr6II.js +13 -0
  4. package/dist/{CloseCircleFilled-ZIY-u-27.js → CloseCircleFilled-DXCxlIQL.js} +2 -2
  5. package/dist/CloseOutlined-ClXDNn82.js +13 -0
  6. package/dist/{Compact-CJBo3f0u.js → Compact-CGY560JF.js} +45 -53
  7. package/dist/{ContextIsolator-CGkdKtc3.js → ContextIsolator-D5x2Ih51.js} +2 -2
  8. package/dist/{ExclamationCircleFilled-BICVVQIg.js → ExclamationCircleFilled-C0Kj5KQV.js} +2 -2
  9. package/dist/{CheckOutlined-DAynWe12.js → KeyCode-DM2sFh3-.js} +10 -20
  10. package/dist/LoadingOutlined-8EnJdZ7I.js +13 -0
  11. package/dist/Overflow-PBZD-PFm.js +360 -0
  12. package/dist/PurePanel-BqPLRtc2.js +203 -0
  13. package/dist/SearchOutlined-BP3Z2K6j.js +13 -0
  14. package/dist/{TextArea-3MOYYuAQ.js → TextArea-DKwCct3i.js} +26 -16
  15. package/dist/Typography-aGoDUl4R.js +710 -0
  16. package/dist/bundle.css +1204 -0
  17. package/dist/{button-BNV2qdrP.js → button-CDQgO1OK.js} +200 -197
  18. package/dist/collapse-Dtpt-6W_.js +20 -0
  19. package/dist/components/Badge/Badge.d.ts +6 -0
  20. package/dist/components/Badge/Badge.js +103 -0
  21. package/dist/components/Badge/__stories__/Badge.stories.d.ts +13 -0
  22. package/dist/components/Badge/__tests__/Badge.test.js +18 -0
  23. package/dist/components/Badge/icons/ASN.d.ts +2 -0
  24. package/dist/components/Badge/icons/ASN.js +23 -0
  25. package/dist/components/Badge/icons/Appointment.d.ts +2 -0
  26. package/dist/components/Badge/icons/Appointment.js +23 -0
  27. package/dist/components/Badge/icons/Inventory.d.ts +2 -0
  28. package/dist/components/Badge/icons/Inventory.js +23 -0
  29. package/dist/components/Badge/icons/Parcel.d.ts +2 -0
  30. package/dist/components/Badge/icons/Parcel.js +23 -0
  31. package/dist/components/Badge/icons/Product.d.ts +2 -0
  32. package/dist/components/Badge/icons/Product.js +23 -0
  33. package/dist/components/Badge/icons/Route.d.ts +2 -0
  34. package/dist/components/Badge/icons/Route.js +23 -0
  35. package/dist/components/Badge/icons/Shipment.d.ts +2 -0
  36. package/dist/components/Badge/icons/Shipment.js +23 -0
  37. package/dist/components/Badge/icons/ShoppingCart.d.ts +2 -0
  38. package/dist/components/Badge/icons/ShoppingCart.js +23 -0
  39. package/dist/components/Badge/icons/System.d.ts +2 -0
  40. package/dist/components/Badge/icons/System.js +23 -0
  41. package/dist/components/Badge/index.d.ts +2 -0
  42. package/dist/components/Badge/index.js +4 -0
  43. package/dist/components/Badge/styles.d.ts +3 -0
  44. package/dist/components/Badge/styles.js +34 -0
  45. package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -0
  46. package/dist/components/Breadcrumb/Breadcrumb.js +11 -0
  47. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +22 -0
  48. package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
  49. package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +10 -0
  50. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +23 -0
  51. package/dist/components/Breadcrumb/index.d.ts +3 -0
  52. package/dist/components/Breadcrumb/index.js +4 -0
  53. package/dist/components/Breadcrumb/styles.d.ts +27 -0
  54. package/dist/components/Breadcrumb/styles.js +2436 -0
  55. package/dist/components/Button/Button.d.ts +14 -0
  56. package/dist/components/Button/Button.js +22 -0
  57. package/dist/components/Button/__tests__/Button.test.js +16 -0
  58. package/dist/components/Button/styles.d.ts +16 -0
  59. package/dist/components/{atoms/button → Button}/styles.js +12 -12
  60. package/dist/components/{atoms/checkbox → Checkbox}/Checkbox.d.ts +2 -1
  61. package/dist/components/Checkbox/Checkbox.js +40 -0
  62. package/dist/components/{atoms/checkbox → Checkbox}/__tests__/Checkbox.test.js +1 -1
  63. package/dist/components/{atoms/checkbox → Checkbox}/styles.d.ts +5 -0
  64. package/dist/components/{atoms/checkbox → Checkbox}/styles.js +97 -96
  65. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +8 -0
  66. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +40 -0
  67. package/dist/components/ErrorBoundaryFallback/index.d.ts +2 -0
  68. package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.js +22 -21
  69. package/dist/components/Form/Form.d.ts +26 -0
  70. package/dist/components/Form/Form.js +8 -0
  71. package/dist/components/Form/__stories__/FormStory.js +93 -0
  72. package/dist/components/Form/__tests__/form.test.d.ts +1 -0
  73. package/dist/components/Form/__tests__/form.test.js +18 -0
  74. package/dist/components/Form/index.js +4 -0
  75. package/dist/components/Form/styles.d.ts +3 -0
  76. package/dist/components/Form/styles.js +5 -0
  77. package/dist/components/{atoms/input → Input}/Input.d.ts +1 -3
  78. package/dist/components/Input/Input.js +19 -0
  79. package/dist/components/{atoms/input → Input}/__stories__/Input.stories.d.ts +5 -1
  80. package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
  81. package/dist/components/Input/__tests__/Input.test.js +24 -0
  82. package/dist/components/{atoms/input → Input}/styles.d.ts +2 -0
  83. package/dist/components/Input/styles.js +529 -0
  84. package/dist/components/Message/Message.d.ts +13 -0
  85. package/dist/components/Message/Message.js +78 -0
  86. package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
  87. package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
  88. package/dist/components/Message/__tests__/Message.test.js +42 -0
  89. package/dist/components/Message/index.d.ts +2 -0
  90. package/dist/components/Message/index.js +4 -0
  91. package/dist/components/Message/styles.d.ts +8 -0
  92. package/dist/components/Message/styles.js +41 -0
  93. package/dist/components/Notification/Notification.d.ts +17 -0
  94. package/dist/components/Notification/Notification.js +1370 -0
  95. package/dist/components/Notification/NotificationRightChevron.d.ts +2 -0
  96. package/dist/components/Notification/NotificationRightChevron.js +23 -0
  97. package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
  98. package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
  99. package/dist/components/Notification/__tests__/Notification.test.js +15 -0
  100. package/dist/components/Notification/index.d.ts +2 -0
  101. package/dist/components/Notification/index.js +4 -0
  102. package/dist/components/Notification/styles.d.ts +16 -0
  103. package/dist/components/Notification/styles.js +65 -0
  104. package/dist/components/Radio/Radio.d.ts +14 -0
  105. package/dist/components/Radio/Radio.js +28 -0
  106. package/dist/components/Radio/RadioGroup.d.ts +12 -0
  107. package/dist/components/Radio/RadioGroup.js +33 -0
  108. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +9 -0
  109. package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
  110. package/dist/components/Radio/__tests__/RadioGroup.test.js +30 -0
  111. package/dist/components/Radio/index.d.ts +2 -0
  112. package/dist/components/Radio/index.js +4 -0
  113. package/dist/components/Radio/states/RadioChecked.d.ts +2 -0
  114. package/dist/components/Radio/states/RadioChecked.js +18 -0
  115. package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +2 -0
  116. package/dist/components/Radio/states/RadioCheckedDisabled.js +18 -0
  117. package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +2 -0
  118. package/dist/components/Radio/states/RadioCheckedFocussed.js +30 -0
  119. package/dist/components/Radio/states/RadioCheckedHover.d.ts +2 -0
  120. package/dist/components/Radio/states/RadioCheckedHover.js +18 -0
  121. package/dist/components/Radio/states/RadioUnchecked.d.ts +2 -0
  122. package/dist/components/Radio/states/RadioUnchecked.js +15 -0
  123. package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +2 -0
  124. package/dist/components/Radio/states/RadioUncheckedDisabled.js +15 -0
  125. package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +2 -0
  126. package/dist/components/Radio/states/RadioUncheckedFocussed.js +29 -0
  127. package/dist/components/Radio/states/RadioUncheckedHover.d.ts +2 -0
  128. package/dist/components/Radio/states/RadioUncheckedHover.js +18 -0
  129. package/dist/components/Select/DropdownChevron.d.ts +2 -0
  130. package/dist/components/Select/DropdownChevron.js +23 -0
  131. package/dist/components/Select/Select.d.ts +16 -0
  132. package/dist/components/Select/Select.js +36 -0
  133. package/dist/components/{atoms/select → Select}/__stories__/Select.stories.d.ts +3 -1
  134. package/dist/components/Select/__tests__/Select.test.d.ts +1 -0
  135. package/dist/components/{atoms/select → Select}/__tests__/Select.test.js +1165 -1140
  136. package/dist/components/Select/styles.d.ts +32 -0
  137. package/dist/components/{atoms/select → Select}/styles.js +1517 -1651
  138. package/dist/components/Toast/Toast.d.ts +14 -0
  139. package/dist/components/Toast/Toast.js +19 -0
  140. package/dist/components/Toast/__stories__/Toast.stories.d.ts +16 -0
  141. package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
  142. package/dist/components/Toast/__tests__/Toast.test.js +18 -0
  143. package/dist/components/Toast/index.d.ts +2 -0
  144. package/dist/components/Toast/index.js +4 -0
  145. package/dist/components/Toast/styles.d.ts +10 -0
  146. package/dist/components/Toast/styles.js +54 -0
  147. package/dist/components/Typography/Typography.d.ts +15 -0
  148. package/dist/components/Typography/Typography.js +8 -0
  149. package/dist/components/{atoms/typography → Typography}/__stories__/Typography.stories.d.ts +1 -0
  150. package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
  151. package/dist/components/Typography/__tests__/Typography.test.js +23 -0
  152. package/dist/components/Typography/index.js +4 -0
  153. package/dist/components/Typography/styles.d.ts +21 -0
  154. package/dist/components/Typography/styles.js +48 -0
  155. package/dist/components/index.d.ts +26 -14
  156. package/dist/components/index.js +23 -13
  157. package/dist/constants/index.d.ts +104 -0
  158. package/dist/constants/index.js +41 -7
  159. package/dist/{context-CZsFJmh6.js → context-BMW3aJEf.js} +162 -161
  160. package/dist/genesis/GenesisThemeBreakdown.js +54 -24
  161. package/dist/genesis/GenesisThemeDemo.d.ts +0 -2
  162. package/dist/genesis/GenesisThemeDemo.js +3 -4
  163. package/dist/genesis/styles.js +1095 -2186
  164. package/dist/{index-C7kFNqp2.js → index-1CBpubM3.js} +36 -36
  165. package/dist/{index-3MWkSVA1.js → index-BZAhCB_K.js} +6 -5
  166. package/dist/{index-D1v_7IIx.js → index-C0SmxWLS.js} +95 -94
  167. package/dist/index-C8haFnXI.js +1112 -0
  168. package/dist/{index-VDH3iLaC.js → index-CfDY25LP.js} +298 -309
  169. package/dist/{index-SAAXFt-P.js → index-DPW8XdWj.js} +255 -249
  170. package/dist/{index-BQO27mgE.js → index-bKlRxQp4.js} +52 -51
  171. package/dist/index-oK7z6jnz.js +22795 -0
  172. package/dist/index.d.ts +2 -0
  173. package/dist/index.js +31 -18
  174. package/dist/{isVisible-CNQjrJPN.js → isVisible-A-IfeFoT.js} +34 -33
  175. package/dist/{magic-string.es-BkUFmFT4.js → magic-string.es-D2FWSwU3.js} +1 -1
  176. package/dist/{SearchOutlined-DuzJkIiQ.js → pickAttrs-B0YTfcV1.js} +16 -26
  177. package/dist/providers/GenesisProvider.js +9 -5
  178. package/dist/providers/ThemeProvider.d.ts +2 -2
  179. package/dist/providers/ThemeProvider.js +4 -1
  180. package/dist/providers/ToastProvider.d.ts +13 -0
  181. package/dist/providers/ToastProvider.js +20 -0
  182. package/dist/providers/__stories__/GenesisProvider.stories.d.ts +6 -0
  183. package/dist/providers/index.d.ts +1 -1
  184. package/dist/providers/index.js +4 -4
  185. package/dist/providers/useGenesis.d.ts +7 -0
  186. package/dist/providers/useGenesis.js +6 -0
  187. package/dist/{setup-CMYVZCPF.js → setup-BvfREoHl.js} +6948 -6940
  188. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +22 -16
  189. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +21 -15
  190. package/dist/styles/design-tokens/{typography → typography-tokens}/TypographyTokens.stories.d.ts +1 -0
  191. package/dist/styles/design-tokens/variables.d.ts +17 -17
  192. package/dist/styles/design-tokens/variables.js +48 -48
  193. package/dist/styles/global-styles.d.ts +1 -0
  194. package/dist/styles/global-styles.js +13 -29
  195. package/dist/styles/theme/genesis-theme.d.ts +3 -0
  196. package/dist/styles/theme/genesis-theme.js +461 -277
  197. package/dist/styles/theme/genesis-theme.types.d.ts +46 -0
  198. package/dist/{Form-Cylpi4M4.js → styles-CT_fyXBd.js} +417 -424
  199. package/dist/test/setup.js +2 -1
  200. package/dist/useLocale-DT-z_vQ6.js +16 -0
  201. package/dist/{useVariants-CEpw6Ww6.js → useVariants-DvhXfgJY.js} +9 -8
  202. package/dist/warning-C63HNL9U.js +789 -0
  203. package/package.json +10 -4
  204. package/dist/Overflow-CP1M4Z0s.js +0 -369
  205. package/dist/components/atoms/button/Button.d.ts +0 -12
  206. package/dist/components/atoms/button/Button.js +0 -27
  207. package/dist/components/atoms/button/styles.d.ts +0 -12
  208. package/dist/components/atoms/checkbox/Checkbox.js +0 -13
  209. package/dist/components/atoms/index.d.ts +0 -1
  210. package/dist/components/atoms/index.js +0 -3
  211. package/dist/components/atoms/input/Input.js +0 -12
  212. package/dist/components/atoms/input/__tests__/Input.test.js +0 -28
  213. package/dist/components/atoms/input/styles.js +0 -415
  214. package/dist/components/atoms/select/Select.d.ts +0 -11
  215. package/dist/components/atoms/select/Select.js +0 -24
  216. package/dist/components/atoms/select/styles.d.ts +0 -15
  217. package/dist/components/atoms/typography/Typography.d.ts +0 -11
  218. package/dist/components/atoms/typography/Typography.js +0 -44
  219. package/dist/components/atoms/typography/__tests__/Typography.test.js +0 -16
  220. package/dist/components/atoms/typography/index.js +0 -4
  221. package/dist/components/atoms/typography/styles.d.ts +0 -11
  222. package/dist/components/atoms/typography/styles.js +0 -28
  223. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.d.ts +0 -10
  224. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.js +0 -35
  225. package/dist/components/molecules/error-boundary-fallback/index.d.ts +0 -1
  226. package/dist/components/molecules/form/Form.d.ts +0 -15
  227. package/dist/components/molecules/form/Form.js +0 -7
  228. package/dist/components/molecules/form/__stories__/FormStory.js +0 -90
  229. package/dist/components/molecules/form/index.js +0 -4
  230. package/dist/index-BPtFqhcp.js +0 -19110
  231. package/dist/index-BWys7dkb.js +0 -4462
  232. package/dist/styles/theme/global-styles.d.ts +0 -1
  233. package/dist/styles/theme/global-styles.js +0 -35
  234. /package/dist/components/{atoms/checkbox/__tests__/Checkbox.test.d.ts → Badge/__tests__/Badge.test.d.ts} +0 -0
  235. /package/dist/components/{atoms/input/__tests__/Input.test.d.ts → Breadcrumb/__tests__/Breadcrumb.test.d.ts} +0 -0
  236. /package/dist/components/{atoms/button → Button}/__stories__/Button.stories.d.ts +0 -0
  237. /package/dist/components/{atoms/select/__tests__/Select.test.d.ts → Button/__tests__/Button.test.d.ts} +0 -0
  238. /package/dist/components/{atoms/button → Button}/index.d.ts +0 -0
  239. /package/dist/components/{atoms/button → Button}/index.js +0 -0
  240. /package/dist/components/{atoms/checkbox → Checkbox}/__stories__/Checkbox.stories.d.ts +0 -0
  241. /package/dist/components/{atoms/typography/__tests__/Typography.test.d.ts → Checkbox/__tests__/Checkbox.test.d.ts} +0 -0
  242. /package/dist/components/{atoms/checkbox → Checkbox}/index.d.ts +0 -0
  243. /package/dist/components/{atoms/checkbox → Checkbox}/index.js +0 -0
  244. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -0
  245. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/index.js +0 -0
  246. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.d.ts +0 -0
  247. /package/dist/components/{molecules/form → Form}/__stories__/Form.stories.d.ts +0 -0
  248. /package/dist/components/{molecules/form → Form}/__stories__/FormStory.d.ts +0 -0
  249. /package/dist/components/{molecules/form → Form}/index.d.ts +0 -0
  250. /package/dist/components/{atoms/input → Input}/index.d.ts +0 -0
  251. /package/dist/components/{atoms/input → Input}/index.js +0 -0
  252. /package/dist/components/{atoms/select → Select}/index.d.ts +0 -0
  253. /package/dist/components/{atoms/select → Select}/index.js +0 -0
  254. /package/dist/components/{atoms/typography → Typography}/index.d.ts +0 -0
@@ -1,14 +1,15 @@
1
- import { N as lr, w as D, aa as fr, ab as Ye, ac as cr, b as W, a as x, H as O, o as Be, p as Ze, q as oe, h as d, ad as q, r as le, ae as ie, a8 as Q, a9 as B, af as Le, d as Ae, _ as Qe, e as ue } from "./index-BWys7dkb.js";
2
- import * as b from "react";
1
+ import { E as lr, a0 as fr, a1 as Ye, a2 as cr, x as O, _ as Be, d as Ze, e as oe, a3 as q, f as le, a4 as ie, U as Q, W as B, $ as Le } from "./index-oK7z6jnz.js";
2
+ import * as E from "react";
3
3
  import { useRef as we, useState as dr, useMemo as gr, useContext as vr, useEffect as hr } from "react";
4
- import { _ as fe, a as Y, t as mr, o as pr } from "./isVisible-CNQjrJPN.js";
5
- const vt = (s) => {
4
+ import { w as D, d as W, _ as N, h as d, e as Ae, a as Qe, f as ue } from "./warning-C63HNL9U.js";
5
+ import { _ as fe, a as Y, t as mr, o as pr } from "./isVisible-A-IfeFoT.js";
6
+ const ht = (s) => {
6
7
  const [, , , , t] = lr();
7
8
  return t ? `${s}-css-var` : "";
8
9
  };
9
10
  var X = "RC_FORM_INTERNAL_HOOKS", S = function() {
10
11
  D(!1, "Can not find FormContext. Please make sure you wrap Field under Form.");
11
- }, ne = /* @__PURE__ */ b.createContext({
12
+ }, ne = /* @__PURE__ */ E.createContext({
12
13
  getFieldValue: S,
13
14
  getFieldsValue: S,
14
15
  getFieldError: S,
@@ -40,14 +41,14 @@ var X = "RC_FORM_INTERNAL_HOOKS", S = function() {
40
41
  getInitialValue: S
41
42
  };
42
43
  }
43
- }), he = /* @__PURE__ */ b.createContext(null);
44
+ }), he = /* @__PURE__ */ E.createContext(null);
44
45
  function Ve(s) {
45
46
  return s == null ? [] : Array.isArray(s) ? s : [s];
46
47
  }
47
48
  function Fr(s) {
48
49
  return s && !!s._init;
49
50
  }
50
- function be() {
51
+ function Ee() {
51
52
  return {
52
53
  default: "Validation error on field %s",
53
54
  required: "%s is required",
@@ -100,7 +101,7 @@ function be() {
100
101
  }
101
102
  };
102
103
  }
103
- var Ee = be();
104
+ var be = Ee();
104
105
  function yr(s) {
105
106
  try {
106
107
  return Function.toString.call(s).indexOf("[native code]") !== -1;
@@ -184,13 +185,13 @@ function H(s) {
184
185
  }
185
186
  return s;
186
187
  }
187
- function br(s) {
188
+ function Er(s) {
188
189
  return s === "string" || s === "url" || s === "hex" || s === "email" || s === "date" || s === "pattern";
189
190
  }
190
191
  function j(s, t) {
191
- return !!(s == null || t === "array" && Array.isArray(s) && !s.length || br(t) && typeof s == "string" && !s);
192
+ return !!(s == null || t === "array" && Array.isArray(s) && !s.length || Er(t) && typeof s == "string" && !s);
192
193
  }
193
- function Er(s, t, e) {
194
+ function br(s, t, e) {
194
195
  var n = [], r = 0, i = s.length;
195
196
  function a(u) {
196
197
  n.push.apply(n, O(u || [])), r++, r === i && e(n);
@@ -228,9 +229,9 @@ var De = /* @__PURE__ */ function(s) {
228
229
  }(/* @__PURE__ */ Pe(Error));
229
230
  function Cr(s, t, e, n, r) {
230
231
  if (t.first) {
231
- var i = new Promise(function(h, E) {
232
+ var i = new Promise(function(h, b) {
232
233
  var p = function(F) {
233
- return n(F), F.length ? E(new De(F, Ce(F))) : h(r);
234
+ return n(F), F.length ? b(new De(F, Ce(F))) : h(r);
234
235
  }, m = Pr(s);
235
236
  je(m, e, p);
236
237
  });
@@ -238,24 +239,24 @@ function Cr(s, t, e, n, r) {
238
239
  return h;
239
240
  }), i;
240
241
  }
241
- var a = t.firstFields === !0 ? Object.keys(s) : t.firstFields || [], u = Object.keys(s), l = u.length, f = 0, o = [], g = new Promise(function(h, E) {
242
+ var a = t.firstFields === !0 ? Object.keys(s) : t.firstFields || [], u = Object.keys(s), l = u.length, f = 0, o = [], g = new Promise(function(h, b) {
242
243
  var p = function(c) {
243
244
  if (o.push.apply(o, c), f++, f === l)
244
- return n(o), o.length ? E(new De(o, Ce(o))) : h(r);
245
+ return n(o), o.length ? b(new De(o, Ce(o))) : h(r);
245
246
  };
246
247
  u.length || (n(o), h(r)), u.forEach(function(m) {
247
248
  var c = s[m];
248
- a.indexOf(m) !== -1 ? je(c, e, p) : Er(c, e, p);
249
+ a.indexOf(m) !== -1 ? je(c, e, p) : br(c, e, p);
249
250
  });
250
251
  });
251
252
  return g.catch(function(h) {
252
253
  return h;
253
254
  }), g;
254
255
  }
255
- function Nr(s) {
256
+ function xr(s) {
256
257
  return !!(s && s.message !== void 0);
257
258
  }
258
- function xr(s, t) {
259
+ function Nr(s, t) {
259
260
  for (var e = s, n = 0; n < t.length; n++) {
260
261
  if (e == null)
261
262
  return e;
@@ -266,7 +267,7 @@ function xr(s, t) {
266
267
  function _e(s, t) {
267
268
  return function(e) {
268
269
  var n;
269
- return s.fullFields ? n = xr(t, s.fullFields) : n = t[e.field || s.fullField], Nr(e) ? (e.field = e.field || s.fullField, e.fieldValue = n, e) : {
270
+ return s.fullFields ? n = Nr(t, s.fullFields) : n = t[e.field || s.fullField], xr(e) ? (e.field = e.field || s.fullField, e.fieldValue = n, e) : {
270
271
  message: typeof e == "function" ? e() : e,
271
272
  fieldValue: n,
272
273
  field: e.field || s.fullField
@@ -278,7 +279,7 @@ function We(s, t) {
278
279
  for (var e in t)
279
280
  if (t.hasOwnProperty(e)) {
280
281
  var n = t[e];
281
- W(n) === "object" && W(s[e]) === "object" ? s[e] = x(x({}, s[e]), n) : s[e] = n;
282
+ W(n) === "object" && W(s[e]) === "object" ? s[e] = N(N({}, s[e]), n) : s[e] = n;
282
283
  }
283
284
  }
284
285
  return s;
@@ -295,10 +296,10 @@ var ee = "enum", Rr = function(t, e, n, r, i) {
295
296
  }
296
297
  }
297
298
  }, Or = function(t, e, n, r, i) {
298
- var a = typeof t.len == "number", u = typeof t.min == "number", l = typeof t.max == "number", f = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, o = e, g = null, h = typeof e == "number", E = typeof e == "string", p = Array.isArray(e);
299
- if (h ? g = "number" : E ? g = "string" : p && (g = "array"), !g)
299
+ var a = typeof t.len == "number", u = typeof t.min == "number", l = typeof t.max == "number", f = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, o = e, g = null, h = typeof e == "number", b = typeof e == "string", p = Array.isArray(e);
300
+ if (h ? g = "number" : b ? g = "string" : p && (g = "array"), !g)
300
301
  return !1;
301
- p && (o = e.length), E && (o = e.replace(f, "_").length), a ? o !== t.len && r.push(H(i.messages[g].len, t.fullField, t.len)) : u && !l && o < t.min ? r.push(H(i.messages[g].min, t.fullField, t.min)) : l && !u && o > t.max ? r.push(H(i.messages[g].max, t.fullField, t.max)) : u && l && (o < t.min || o > t.max) && r.push(H(i.messages[g].range, t.fullField, t.min, t.max));
302
+ p && (o = e.length), b && (o = e.replace(f, "_").length), a ? o !== t.len && r.push(H(i.messages[g].len, t.fullField, t.len)) : u && !l && o < t.min ? r.push(H(i.messages[g].min, t.fullField, t.min)) : l && !u && o > t.max ? r.push(H(i.messages[g].max, t.fullField, t.max)) : u && l && (o < t.min || o > t.max) && r.push(H(i.messages[g].range, t.fullField, t.min, t.max));
302
303
  }, er = function(t, e, n, r, i, a) {
303
304
  t.required && (!n.hasOwnProperty(t.field) || j(e, a || t.type)) && r.push(H(i.messages.required, t.fullField));
304
305
  }, ve;
@@ -332,7 +333,7 @@ const $r = function() {
332
333
  }, o.v6 = function(V) {
333
334
  return V && V.exact ? f : new RegExp("".concat(t(V)).concat(a).concat(t(V)), "g");
334
335
  };
335
- var g = "(?:(?:[a-z]+:)?//)", h = "(?:\\S+(?::\\S*)?@)?", E = o.v4().source, p = o.v6().source, m = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", c = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", F = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", v = "(?::\\d{2,5})?", y = '(?:[/?#][^\\s"]*)?', C = "(?:".concat(g, "|www\\.)").concat(h, "(?:localhost|").concat(E, "|").concat(p, "|").concat(m).concat(c).concat(F, ")").concat(v).concat(y);
336
+ var g = "(?:(?:[a-z]+:)?//)", h = "(?:\\S+(?::\\S*)?@)?", b = o.v4().source, p = o.v6().source, m = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", c = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", F = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", v = "(?::\\d{2,5})?", y = '(?:[/?#][^\\s"]*)?', C = "(?:".concat(g, "|www\\.)").concat(h, "(?:localhost|").concat(b, "|").concat(p, "|").concat(m).concat(c).concat(F, ")").concat(v).concat(y);
336
337
  return ve = new RegExp("(?:^".concat(C, "$)"), "i"), ve;
337
338
  };
338
339
  var Ue = {
@@ -541,7 +542,7 @@ const se = {
541
542
  };
542
543
  var ce = /* @__PURE__ */ function() {
543
544
  function s(t) {
544
- oe(this, s), d(this, "rules", null), d(this, "_messages", Ee), this.define(t);
545
+ oe(this, s), d(this, "rules", null), d(this, "_messages", be), this.define(t);
545
546
  }
546
547
  return le(s, [{
547
548
  key: "define",
@@ -559,7 +560,7 @@ var ce = /* @__PURE__ */ function() {
559
560
  }, {
560
561
  key: "messages",
561
562
  value: function(e) {
562
- return e && (this._messages = We(be(), e)), this._messages;
563
+ return e && (this._messages = We(Ee(), e)), this._messages;
563
564
  }
564
565
  }, {
565
566
  key: "validate",
@@ -583,7 +584,7 @@ var ce = /* @__PURE__ */ function() {
583
584
  }
584
585
  if (u.messages) {
585
586
  var o = this.messages();
586
- o === Ee && (o = be()), We(o, u.messages), u.messages = o;
587
+ o === be && (o = Ee()), We(o, u.messages), u.messages = o;
587
588
  } else
588
589
  u.messages = this.messages();
589
590
  var g = {}, h = u.keys || Object.keys(this.rules);
@@ -591,9 +592,9 @@ var ce = /* @__PURE__ */ function() {
591
592
  var m = n.rules[p], c = a[p];
592
593
  m.forEach(function(F) {
593
594
  var v = F;
594
- typeof v.transform == "function" && (a === e && (a = x({}, a)), c = a[p] = v.transform(c), c != null && (v.type = v.type || (Array.isArray(c) ? "array" : W(c)))), typeof v == "function" ? v = {
595
+ typeof v.transform == "function" && (a === e && (a = N({}, a)), c = a[p] = v.transform(c), c != null && (v.type = v.type || (Array.isArray(c) ? "array" : W(c)))), typeof v == "function" ? v = {
595
596
  validator: v
596
- } : v = x({}, v), v.validator = n.getValidationMethod(v), v.validator && (v.field = p, v.fullField = v.fullField || p, v.type = n.getType(v), g[p] = g[p] || [], g[p].push({
597
+ } : v = N({}, v), v.validator = n.getValidationMethod(v), v.validator && (v.field = p, v.fullField = v.fullField || p, v.type = n.getType(v), g[p] = g[p] || [], g[p].push({
597
598
  rule: v,
598
599
  value: c,
599
600
  source: a,
@@ -601,22 +602,22 @@ var ce = /* @__PURE__ */ function() {
601
602
  }));
602
603
  });
603
604
  });
604
- var E = {};
605
+ var b = {};
605
606
  return Cr(g, u, function(p, m) {
606
607
  var c = p.rule, F = (c.type === "object" || c.type === "array") && (W(c.fields) === "object" || W(c.defaultField) === "object");
607
608
  F = F && (c.required || !c.required && p.value), c.field = p.field;
608
- function v(N, R) {
609
- return x(x({}, R), {}, {
610
- fullField: "".concat(c.fullField, ".").concat(N),
611
- fullFields: c.fullFields ? [].concat(O(c.fullFields), [N]) : [N]
609
+ function v(x, R) {
610
+ return N(N({}, R), {}, {
611
+ fullField: "".concat(c.fullField, ".").concat(x),
612
+ fullFields: c.fullFields ? [].concat(O(c.fullFields), [x]) : [x]
612
613
  });
613
614
  }
614
615
  function y() {
615
- var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], R = Array.isArray(N) ? N : [N];
616
+ var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], R = Array.isArray(x) ? x : [x];
616
617
  !u.suppressWarning && R.length && s.warning("async-validator:", R), R.length && c.message !== void 0 && (R = [].concat(c.message));
617
618
  var w = R.map(_e(c, a));
618
619
  if (u.first && w.length)
619
- return E[c.field] = 1, m(w);
620
+ return b[c.field] = 1, m(w);
620
621
  if (!F)
621
622
  m(w);
622
623
  else {
@@ -625,7 +626,7 @@ var ce = /* @__PURE__ */ function() {
625
626
  var P = {};
626
627
  c.defaultField && Object.keys(p.value).map(function(I) {
627
628
  P[I] = c.defaultField;
628
- }), P = x(x({}, P), p.rule.fields);
629
+ }), P = N(N({}, P), p.rule.fields);
629
630
  var k = {};
630
631
  Object.keys(P).forEach(function(I) {
631
632
  var M = P[I], z = Array.isArray(M) ? M : [M];
@@ -644,18 +645,18 @@ var ce = /* @__PURE__ */ function() {
644
645
  else if (c.validator) {
645
646
  try {
646
647
  C = c.validator(c, p.value, y, p.source, u);
647
- } catch (N) {
648
+ } catch (x) {
648
649
  var V, A;
649
- (V = (A = console).error) === null || V === void 0 || V.call(A, N), u.suppressValidatorError || setTimeout(function() {
650
- throw N;
651
- }, 0), y(N.message);
650
+ (V = (A = console).error) === null || V === void 0 || V.call(A, x), u.suppressValidatorError || setTimeout(function() {
651
+ throw x;
652
+ }, 0), y(x.message);
652
653
  }
653
654
  C === !0 ? y() : C === !1 ? y(typeof c.message == "function" ? c.message(c.fullField || c.field) : c.message || "".concat(c.fullField || c.field, " fails")) : C instanceof Array ? y(C) : C instanceof Error && y(C.message);
654
655
  }
655
656
  C && C.then && C.then(function() {
656
657
  return y();
657
- }, function(N) {
658
- return y(N);
658
+ }, function(x) {
659
+ return y(x);
659
660
  });
660
661
  }, function(p) {
661
662
  f(p);
@@ -684,7 +685,7 @@ d(ce, "register", function(t, e) {
684
685
  se[t] = e;
685
686
  });
686
687
  d(ce, "warning", Xe);
687
- d(ce, "messages", Ee);
688
+ d(ce, "messages", be);
688
689
  d(ce, "validators", se);
689
690
  var U = "'${name}' is not a valid ${type}", rr = {
690
691
  default: "Validation error on field '${name}'",
@@ -742,32 +743,32 @@ function Yr(s, t) {
742
743
  });
743
744
  }
744
745
  var Ke = "CODE_LOGIC_ERROR";
745
- function Ne(s, t, e, n, r) {
746
- return xe.apply(this, arguments);
746
+ function xe(s, t, e, n, r) {
747
+ return Ne.apply(this, arguments);
747
748
  }
748
- function xe() {
749
- return xe = fe(/* @__PURE__ */ Y().mark(function s(t, e, n, r, i) {
750
- var a, u, l, f, o, g, h, E, p;
749
+ function Ne() {
750
+ return Ne = fe(/* @__PURE__ */ Y().mark(function s(t, e, n, r, i) {
751
+ var a, u, l, f, o, g, h, b, p;
751
752
  return Y().wrap(function(c) {
752
753
  for (; ; ) switch (c.prev = c.next) {
753
754
  case 0:
754
- return a = x({}, n), delete a.ruleIndex, He.warning = function() {
755
+ return a = N({}, n), delete a.ruleIndex, He.warning = function() {
755
756
  }, a.validator && (u = a.validator, a.validator = function() {
756
757
  try {
757
758
  return u.apply(void 0, arguments);
758
759
  } catch (F) {
759
760
  return console.error(F), Promise.reject(Ke);
760
761
  }
761
- }), l = null, a && a.type === "array" && a.defaultField && (l = a.defaultField, delete a.defaultField), f = new He(d({}, t, [a])), o = ie(rr, r.validateMessages), f.messages(o), g = [], c.prev = 10, c.next = 13, Promise.resolve(f.validate(d({}, t, e), x({}, r)));
762
+ }), l = null, a && a.type === "array" && a.defaultField && (l = a.defaultField, delete a.defaultField), f = new He(d({}, t, [a])), o = ie(rr, r.validateMessages), f.messages(o), g = [], c.prev = 10, c.next = 13, Promise.resolve(f.validate(d({}, t, e), N({}, r)));
762
763
  case 13:
763
764
  c.next = 18;
764
765
  break;
765
766
  case 15:
766
767
  c.prev = 15, c.t0 = c.catch(10), c.t0.errors && (g = c.t0.errors.map(function(F, v) {
767
768
  var y = F.message, C = y === Ke ? o.default : y;
768
- return /* @__PURE__ */ b.isValidElement(C) ? (
769
+ return /* @__PURE__ */ E.isValidElement(C) ? (
769
770
  // Wrap ReactNode with `key`
770
- /* @__PURE__ */ b.cloneElement(C, {
771
+ /* @__PURE__ */ E.cloneElement(C, {
771
772
  key: "error_".concat(v)
772
773
  })
773
774
  ) : C;
@@ -778,35 +779,35 @@ function xe() {
778
779
  break;
779
780
  }
780
781
  return c.next = 21, Promise.all(e.map(function(F, v) {
781
- return Ne("".concat(t, ".").concat(v), F, l, r, i);
782
+ return xe("".concat(t, ".").concat(v), F, l, r, i);
782
783
  }));
783
784
  case 21:
784
785
  return h = c.sent, c.abrupt("return", h.reduce(function(F, v) {
785
786
  return [].concat(O(F), O(v));
786
787
  }, []));
787
788
  case 23:
788
- return E = x(x({}, n), {}, {
789
+ return b = N(N({}, n), {}, {
789
790
  name: t,
790
791
  enum: (n.enum || []).join(", ")
791
792
  }, i), p = g.map(function(F) {
792
- return typeof F == "string" ? Yr(F, E) : F;
793
+ return typeof F == "string" ? Yr(F, b) : F;
793
794
  }), c.abrupt("return", p);
794
795
  case 26:
795
796
  case "end":
796
797
  return c.stop();
797
798
  }
798
799
  }, s, null, [[10, 15]]);
799
- })), xe.apply(this, arguments);
800
+ })), Ne.apply(this, arguments);
800
801
  }
801
802
  function Br(s, t, e, n, r, i) {
802
803
  var a = s.join("."), u = e.map(function(o, g) {
803
- var h = o.validator, E = x(x({}, o), {}, {
804
+ var h = o.validator, b = N(N({}, o), {}, {
804
805
  ruleIndex: g
805
806
  });
806
- return h && (E.validator = function(p, m, c) {
807
+ return h && (b.validator = function(p, m, c) {
807
808
  var F = !1, v = function() {
808
- for (var V = arguments.length, A = new Array(V), N = 0; N < V; N++)
809
- A[N] = arguments[N];
809
+ for (var V = arguments.length, A = new Array(V), x = 0; x < V; x++)
810
+ A[x] = arguments[x];
810
811
  Promise.resolve().then(function() {
811
812
  D(!F, "Your validator function has already return a promise. `callback` will be ignored."), F || c.apply(void 0, A);
812
813
  });
@@ -816,14 +817,14 @@ function Br(s, t, e, n, r, i) {
816
817
  }).catch(function(C) {
817
818
  c(C || " ");
818
819
  });
819
- }), E;
820
+ }), b;
820
821
  }).sort(function(o, g) {
821
- var h = o.warningOnly, E = o.ruleIndex, p = g.warningOnly, m = g.ruleIndex;
822
- return !!h == !!p ? E - m : h ? 1 : -1;
822
+ var h = o.warningOnly, b = o.ruleIndex, p = g.warningOnly, m = g.ruleIndex;
823
+ return !!h == !!p ? b - m : h ? 1 : -1;
823
824
  }), l;
824
825
  if (r === !0)
825
826
  l = new Promise(/* @__PURE__ */ function() {
826
- var o = fe(/* @__PURE__ */ Y().mark(function g(h, E) {
827
+ var o = fe(/* @__PURE__ */ Y().mark(function g(h, b) {
827
828
  var p, m, c;
828
829
  return Y().wrap(function(v) {
829
830
  for (; ; ) switch (v.prev = v.next) {
@@ -834,13 +835,13 @@ function Br(s, t, e, n, r, i) {
834
835
  v.next = 12;
835
836
  break;
836
837
  }
837
- return m = u[p], v.next = 5, Ne(a, t, m, n, i);
838
+ return m = u[p], v.next = 5, xe(a, t, m, n, i);
838
839
  case 5:
839
840
  if (c = v.sent, !c.length) {
840
841
  v.next = 9;
841
842
  break;
842
843
  }
843
- return E([{
844
+ return b([{
844
845
  errors: c,
845
846
  rule: m
846
847
  }]), v.abrupt("return");
@@ -861,7 +862,7 @@ function Br(s, t, e, n, r, i) {
861
862
  }());
862
863
  else {
863
864
  var f = u.map(function(o) {
864
- return Ne(a, t, o, n, i).then(function(g) {
865
+ return xe(a, t, o, n, i).then(function(g) {
865
866
  return {
866
867
  errors: g,
867
868
  rule: o
@@ -996,14 +997,14 @@ var qe = /* @__PURE__ */ function(s) {
996
997
  }), d(q(r), "metaCache", null), d(q(r), "triggerMetaEvent", function(l) {
997
998
  var f = r.props.onMetaChange;
998
999
  if (f) {
999
- var o = x(x({}, r.getMeta()), {}, {
1000
+ var o = N(N({}, r.getMeta()), {}, {
1000
1001
  destroy: l
1001
1002
  });
1002
1003
  Le(r.metaCache, o) || f(o), r.metaCache = o;
1003
1004
  } else
1004
1005
  r.metaCache = null;
1005
1006
  }), d(q(r), "onStoreChange", function(l, f, o) {
1006
- var g = r.props, h = g.shouldUpdate, E = g.dependencies, p = E === void 0 ? [] : E, m = g.onReset, c = o.store, F = r.getNamePath(), v = r.getValue(l), y = r.getValue(c), C = f && te(f, F);
1007
+ var g = r.props, h = g.shouldUpdate, b = g.dependencies, p = b === void 0 ? [] : b, m = g.onReset, c = o.store, F = r.getNamePath(), v = r.getValue(l), y = r.getValue(c), C = f && te(f, F);
1007
1008
  switch (o.type === "valueUpdate" && o.source === "external" && !Le(v, y) && (r.touched = !0, r.dirty = !0, r.validatePromise = null, r.errors = K, r.warnings = K, r.triggerMetaEvent()), o.type) {
1008
1009
  case "reset":
1009
1010
  if (!f || C) {
@@ -1035,8 +1036,8 @@ var qe = /* @__PURE__ */ function(s) {
1035
1036
  }
1036
1037
  case "dependenciesUpdate": {
1037
1038
  var A = p.map(L);
1038
- if (A.some(function(N) {
1039
- return te(o.relatedFields, N);
1039
+ if (A.some(function(x) {
1040
+ return te(o.relatedFields, x);
1040
1041
  })) {
1041
1042
  r.reRender();
1042
1043
  return;
@@ -1052,8 +1053,8 @@ var qe = /* @__PURE__ */ function(s) {
1052
1053
  }
1053
1054
  h === !0 && r.reRender();
1054
1055
  }), d(q(r), "validateRules", function(l) {
1055
- var f = r.getNamePath(), o = r.getValue(), g = l || {}, h = g.triggerName, E = g.validateOnly, p = E === void 0 ? !1 : E, m = Promise.resolve().then(/* @__PURE__ */ fe(/* @__PURE__ */ Y().mark(function c() {
1056
- var F, v, y, C, V, A, N;
1056
+ var f = r.getNamePath(), o = r.getValue(), g = l || {}, h = g.triggerName, b = g.validateOnly, p = b === void 0 ? !1 : b, m = Promise.resolve().then(/* @__PURE__ */ fe(/* @__PURE__ */ Y().mark(function c() {
1057
+ var F, v, y, C, V, A, x;
1057
1058
  return Y().wrap(function(w) {
1058
1059
  for (; ; ) switch (w.prev = w.next) {
1059
1060
  case 0:
@@ -1085,7 +1086,7 @@ var qe = /* @__PURE__ */ function(s) {
1085
1086
  }
1086
1087
  return w.abrupt("return", []);
1087
1088
  case 10:
1088
- return N = Br(f, o, A, l, y, C), N.catch(function(P) {
1089
+ return x = Br(f, o, A, l, y, C), x.catch(function(P) {
1089
1090
  return P;
1090
1091
  }).then(function() {
1091
1092
  var P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : K;
@@ -1098,7 +1099,7 @@ var qe = /* @__PURE__ */ function(s) {
1098
1099
  z ? I.push.apply(I, O(G)) : T.push.apply(T, O(G));
1099
1100
  }), r.errors = T, r.warnings = I, r.triggerMetaEvent(), r.reRender();
1100
1101
  }
1101
- }), w.abrupt("return", N);
1102
+ }), w.abrupt("return", x);
1102
1103
  case 13:
1103
1104
  case "end":
1104
1105
  return w.stop();
@@ -1139,12 +1140,12 @@ var qe = /* @__PURE__ */ function(s) {
1139
1140
  }), d(q(r), "getOnlyChild", function(l) {
1140
1141
  if (typeof l == "function") {
1141
1142
  var f = r.getMeta();
1142
- return x(x({}, r.getOnlyChild(l(r.getControlled(), f, r.props.fieldContext))), {}, {
1143
+ return N(N({}, r.getOnlyChild(l(r.getControlled(), f, r.props.fieldContext))), {}, {
1143
1144
  isFunction: !0
1144
1145
  });
1145
1146
  }
1146
1147
  var o = mr(l);
1147
- return o.length !== 1 || !/* @__PURE__ */ b.isValidElement(o[0]) ? {
1148
+ return o.length !== 1 || !/* @__PURE__ */ E.isValidElement(o[0]) ? {
1148
1149
  child: o,
1149
1150
  isFunction: !1
1150
1151
  } : {
@@ -1155,18 +1156,18 @@ var qe = /* @__PURE__ */ function(s) {
1155
1156
  var f = r.props.fieldContext.getFieldsValue, o = r.getNamePath();
1156
1157
  return Q(l || f(!0), o);
1157
1158
  }), d(q(r), "getControlled", function() {
1158
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = r.props, o = f.name, g = f.trigger, h = f.validateTrigger, E = f.getValueFromEvent, p = f.normalize, m = f.valuePropName, c = f.getValueProps, F = f.fieldContext, v = h !== void 0 ? h : F.validateTrigger, y = r.getNamePath(), C = F.getInternalHooks, V = F.getFieldsValue, A = C(X), N = A.dispatch, R = r.getValue(), w = c || function(M) {
1159
+ var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = r.props, o = f.name, g = f.trigger, h = f.validateTrigger, b = f.getValueFromEvent, p = f.normalize, m = f.valuePropName, c = f.getValueProps, F = f.fieldContext, v = h !== void 0 ? h : F.validateTrigger, y = r.getNamePath(), C = F.getInternalHooks, V = F.getFieldsValue, A = C(X), x = A.dispatch, R = r.getValue(), w = c || function(M) {
1159
1160
  return d({}, m, M);
1160
1161
  }, P = l[g], k = o !== void 0 ? w(R) : {};
1161
1162
  process.env.NODE_ENV !== "production" && k && Object.keys(k).forEach(function(M) {
1162
1163
  D(typeof k[M] != "function", "It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(M, ")"));
1163
1164
  });
1164
- var T = x(x({}, l), k);
1165
+ var T = N(N({}, l), k);
1165
1166
  T[g] = function() {
1166
1167
  r.touched = !0, r.dirty = !0, r.triggerMetaEvent();
1167
1168
  for (var M, z = arguments.length, _ = new Array(z), G = 0; G < z; G++)
1168
1169
  _[G] = arguments[G];
1169
- E ? M = E.apply(void 0, _) : M = et.apply(void 0, [m].concat(_)), p && (M = p(M, R, V(!0))), M !== R && N({
1170
+ b ? M = b.apply(void 0, _) : M = et.apply(void 0, [m].concat(_)), p && (M = p(M, R, V(!0))), M !== R && x({
1170
1171
  type: "updateValue",
1171
1172
  namePath: y,
1172
1173
  value: M
@@ -1178,7 +1179,7 @@ var qe = /* @__PURE__ */ function(s) {
1178
1179
  T[M] = function() {
1179
1180
  z && z.apply(void 0, arguments);
1180
1181
  var _ = r.props.rules;
1181
- _ && _.length && N({
1182
+ _ && _.length && x({
1182
1183
  type: "validateField",
1183
1184
  namePath: y,
1184
1185
  triggerName: M
@@ -1215,20 +1216,20 @@ var qe = /* @__PURE__ */ function(s) {
1215
1216
  key: "render",
1216
1217
  value: function() {
1217
1218
  var r = this.state.resetCount, i = this.props.children, a = this.getOnlyChild(i), u = a.child, l = a.isFunction, f;
1218
- return l ? f = u : /* @__PURE__ */ b.isValidElement(u) ? f = /* @__PURE__ */ b.cloneElement(u, this.getControlled(u.props)) : (D(!u, "`children` of Field is not validate ReactElement."), f = u), /* @__PURE__ */ b.createElement(b.Fragment, {
1219
+ return l ? f = u : /* @__PURE__ */ E.isValidElement(u) ? f = /* @__PURE__ */ E.cloneElement(u, this.getControlled(u.props)) : (D(!u, "`children` of Field is not validate ReactElement."), f = u), /* @__PURE__ */ E.createElement(E.Fragment, {
1219
1220
  key: r
1220
1221
  }, f);
1221
1222
  }
1222
1223
  }]), e;
1223
- }(b.Component);
1224
+ }(E.Component);
1224
1225
  d(qe, "contextType", ne);
1225
1226
  d(qe, "defaultProps", {
1226
1227
  trigger: "onChange",
1227
1228
  valuePropName: "value"
1228
1229
  });
1229
1230
  function nr(s) {
1230
- var t, e = s.name, n = Ae(s, rt), r = b.useContext(ne), i = b.useContext(he), a = e !== void 0 ? L(e) : void 0, u = (t = n.isListField) !== null && t !== void 0 ? t : !!i, l = "keep";
1231
- return u || (l = "_".concat((a || []).join("_"))), process.env.NODE_ENV !== "production" && n.preserve === !1 && u && a.length <= 1 && D(!1, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ b.createElement(qe, Qe({
1231
+ var t, e = s.name, n = Ae(s, rt), r = E.useContext(ne), i = E.useContext(he), a = e !== void 0 ? L(e) : void 0, u = (t = n.isListField) !== null && t !== void 0 ? t : !!i, l = "keep";
1232
+ return u || (l = "_".concat((a || []).join("_"))), process.env.NODE_ENV !== "production" && n.preserve === !1 && u && a.length <= 1 && D(!1, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ E.createElement(qe, Qe({
1232
1233
  key: l,
1233
1234
  name: a,
1234
1235
  isListField: u
@@ -1237,17 +1238,17 @@ function nr(s) {
1237
1238
  }));
1238
1239
  }
1239
1240
  function tt(s) {
1240
- var t = s.name, e = s.initialValue, n = s.children, r = s.rules, i = s.validateTrigger, a = s.isListField, u = b.useContext(ne), l = b.useContext(he), f = b.useRef({
1241
+ var t = s.name, e = s.initialValue, n = s.children, r = s.rules, i = s.validateTrigger, a = s.isListField, u = E.useContext(ne), l = E.useContext(he), f = E.useRef({
1241
1242
  keys: [],
1242
1243
  id: 0
1243
- }), o = f.current, g = b.useMemo(function() {
1244
+ }), o = f.current, g = E.useMemo(function() {
1244
1245
  var m = L(u.prefixName) || [];
1245
1246
  return [].concat(O(m), O(L(t)));
1246
- }, [u.prefixName, t]), h = b.useMemo(function() {
1247
- return x(x({}, u), {}, {
1247
+ }, [u.prefixName, t]), h = E.useMemo(function() {
1248
+ return N(N({}, u), {}, {
1248
1249
  prefixName: g
1249
1250
  });
1250
- }, [u, g]), E = b.useMemo(function() {
1251
+ }, [u, g]), b = E.useMemo(function() {
1251
1252
  return {
1252
1253
  getKey: function(c) {
1253
1254
  var F = g.length, v = c[F];
@@ -1261,11 +1262,11 @@ function tt(s) {
1261
1262
  var y = v.source;
1262
1263
  return y === "internal" ? !1 : c !== F;
1263
1264
  };
1264
- return /* @__PURE__ */ b.createElement(he.Provider, {
1265
- value: E
1266
- }, /* @__PURE__ */ b.createElement(ne.Provider, {
1265
+ return /* @__PURE__ */ E.createElement(he.Provider, {
1266
+ value: b
1267
+ }, /* @__PURE__ */ E.createElement(ne.Provider, {
1267
1268
  value: h
1268
- }, /* @__PURE__ */ b.createElement(nr, {
1269
+ }, /* @__PURE__ */ E.createElement(nr, {
1269
1270
  name: [],
1270
1271
  shouldUpdate: p,
1271
1272
  rules: r,
@@ -1296,8 +1297,8 @@ function tt(s) {
1296
1297
  w < 0 || w >= k.length || P < 0 || P >= k.length || (o.keys = Ge(o.keys, w, P), y(Ge(k, w, P)));
1297
1298
  }
1298
1299
  }
1299
- }, N = v || [];
1300
- return Array.isArray(N) || (N = [], process.env.NODE_ENV !== "production" && D(!1, "Current value of '".concat(g.join(" > "), "' is not an array type."))), n(N.map(function(R, w) {
1300
+ }, x = v || [];
1301
+ return Array.isArray(x) || (x = [], process.env.NODE_ENV !== "production" && D(!1, "Current value of '".concat(g.join(" > "), "' is not an array type."))), n(x.map(function(R, w) {
1301
1302
  var P = o.keys[w];
1302
1303
  return P === void 0 && (o.keys[w] = o.id, P = o.keys[w], o.id += 1), {
1303
1304
  name: w,
@@ -1488,7 +1489,7 @@ var re = /* @__PURE__ */ function() {
1488
1489
  return e.store;
1489
1490
  var l = e.getFieldEntitiesForNamePathList(Array.isArray(i) ? i : null), f = [];
1490
1491
  return l.forEach(function(o) {
1491
- var g, h, E = "INVALIDATE_NAME_PATH" in o ? o.INVALIDATE_NAME_PATH : o.getNamePath();
1492
+ var g, h, b = "INVALIDATE_NAME_PATH" in o ? o.INVALIDATE_NAME_PATH : o.getNamePath();
1492
1493
  if (u) {
1493
1494
  var p, m;
1494
1495
  if ((p = (m = o).isList) !== null && p !== void 0 && p.call(m))
@@ -1496,10 +1497,10 @@ var re = /* @__PURE__ */ function() {
1496
1497
  } else if (!i && (g = (h = o).isListField) !== null && g !== void 0 && g.call(h))
1497
1498
  return;
1498
1499
  if (!a)
1499
- f.push(E);
1500
+ f.push(b);
1500
1501
  else {
1501
1502
  var c = "getMeta" in o ? o.getMeta() : null;
1502
- a(c) && f.push(E);
1503
+ a(c) && f.push(b);
1503
1504
  }
1504
1505
  }), ze(e.store, f.map(L));
1505
1506
  }), d(this, "getFieldValue", function(n) {
@@ -1554,13 +1555,13 @@ var re = /* @__PURE__ */ function() {
1554
1555
  });
1555
1556
  });
1556
1557
  });
1557
- var E = function(c) {
1558
+ var b = function(c) {
1558
1559
  return c.some(g);
1559
1560
  }, p = h.map(function(m) {
1560
1561
  var c = m.value;
1561
1562
  return c;
1562
1563
  });
1563
- return f ? p.every(E) : p.some(E);
1564
+ return f ? p.every(b) : p.some(b);
1564
1565
  }), d(this, "isFieldTouched", function(n) {
1565
1566
  return e.warningUnhooked(), e.isFieldsTouched([n]);
1566
1567
  }), d(this, "isFieldsValidating", function(n) {
@@ -1593,8 +1594,8 @@ var re = /* @__PURE__ */ function() {
1593
1594
  f.forEach(function(o) {
1594
1595
  var g = o.props.initialValue;
1595
1596
  if (g !== void 0) {
1596
- var h = o.getNamePath(), E = e.getInitialValue(h);
1597
- if (E !== void 0)
1597
+ var h = o.getNamePath(), b = e.getInitialValue(h);
1598
+ if (b !== void 0)
1598
1599
  D(!1, "Form already set 'initialValues' with path '".concat(h.join("."), "'. Field can not overwrite it."));
1599
1600
  else {
1600
1601
  var p = r.get(h);
@@ -1647,7 +1648,7 @@ var re = /* @__PURE__ */ function() {
1647
1648
  }), e.notifyWatch(i);
1648
1649
  }), d(this, "getFields", function() {
1649
1650
  var n = e.getFieldEntities(!0), r = n.map(function(i) {
1650
- var a = i.getNamePath(), u = i.getMeta(), l = x(x({}, u), {}, {
1651
+ var a = i.getNamePath(), u = i.getMeta(), l = N(N({}, u), {}, {
1651
1652
  name: a,
1652
1653
  value: e.getFieldValue(a)
1653
1654
  });
@@ -1715,7 +1716,7 @@ var re = /* @__PURE__ */ function() {
1715
1716
  }
1716
1717
  }), d(this, "notifyObservers", function(n, r, i) {
1717
1718
  if (e.subscribable) {
1718
- var a = x(x({}, i), {}, {
1719
+ var a = N(N({}, i), {}, {
1719
1720
  store: e.getFieldsValue(!0)
1720
1721
  });
1721
1722
  e.getFieldEntities().forEach(function(u) {
@@ -1806,13 +1807,13 @@ var re = /* @__PURE__ */ function() {
1806
1807
  e.warningUnhooked();
1807
1808
  var i, a;
1808
1809
  Array.isArray(n) || typeof n == "string" || typeof r == "string" ? (i = n, a = r) : a = n;
1809
- var u = !!i, l = u ? i.map(L) : [], f = [], o = String(Date.now()), g = /* @__PURE__ */ new Set(), h = a || {}, E = h.recursive, p = h.dirty;
1810
+ var u = !!i, l = u ? i.map(L) : [], f = [], o = String(Date.now()), g = /* @__PURE__ */ new Set(), h = a || {}, b = h.recursive, p = h.dirty;
1810
1811
  e.getFieldEntities(!0).forEach(function(v) {
1811
1812
  if (u || l.push(v.getNamePath()), !(!v.props.rules || !v.props.rules.length) && !(p && !v.isFieldDirty())) {
1812
1813
  var y = v.getNamePath();
1813
- if (g.add(y.join(o)), !u || te(l, y, E)) {
1814
- var C = v.validateRules(x({
1815
- validateMessages: x(x({}, rr), e.validateMessages)
1814
+ if (g.add(y.join(o)), !u || te(l, y, b)) {
1815
+ var C = v.validateRules(N({
1816
+ validateMessages: N(N({}, rr), e.validateMessages)
1816
1817
  }, a));
1817
1818
  f.push(C.then(function() {
1818
1819
  return {
@@ -1821,17 +1822,17 @@ var re = /* @__PURE__ */ function() {
1821
1822
  warnings: []
1822
1823
  };
1823
1824
  }).catch(function(V) {
1824
- var A, N = [], R = [];
1825
+ var A, x = [], R = [];
1825
1826
  return (A = V.forEach) === null || A === void 0 || A.call(V, function(w) {
1826
1827
  var P = w.rule.warningOnly, k = w.errors;
1827
- P ? R.push.apply(R, O(k)) : N.push.apply(N, O(k));
1828
- }), N.length ? Promise.reject({
1828
+ P ? R.push.apply(R, O(k)) : x.push.apply(x, O(k));
1829
+ }), x.length ? Promise.reject({
1829
1830
  name: y,
1830
- errors: N,
1831
+ errors: x,
1831
1832
  warnings: R
1832
1833
  }) : {
1833
1834
  name: y,
1834
- errors: N,
1835
+ errors: x,
1835
1836
  warnings: R
1836
1837
  };
1837
1838
  }));
@@ -1885,7 +1886,7 @@ var re = /* @__PURE__ */ function() {
1885
1886
  }), this.forceRootUpdate = t;
1886
1887
  });
1887
1888
  function ar(s) {
1888
- var t = b.useRef(), e = b.useState({}), n = ue(e, 2), r = n[1];
1889
+ var t = E.useRef(), e = E.useState({}), n = ue(e, 2), r = n[1];
1889
1890
  if (!t.current)
1890
1891
  if (s)
1891
1892
  t.current = s;
@@ -1897,7 +1898,7 @@ function ar(s) {
1897
1898
  }
1898
1899
  return [t.current];
1899
1900
  }
1900
- var Oe = /* @__PURE__ */ b.createContext({
1901
+ var Oe = /* @__PURE__ */ E.createContext({
1901
1902
  triggerFormChange: function() {
1902
1903
  },
1903
1904
  triggerFormFinish: function() {
@@ -1907,10 +1908,10 @@ var Oe = /* @__PURE__ */ b.createContext({
1907
1908
  unregisterForm: function() {
1908
1909
  }
1909
1910
  }), sr = function(t) {
1910
- var e = t.validateMessages, n = t.onFormChange, r = t.onFormFinish, i = t.children, a = b.useContext(Oe), u = b.useRef({});
1911
- return /* @__PURE__ */ b.createElement(Oe.Provider, {
1912
- value: x(x({}, a), {}, {
1913
- validateMessages: x(x({}, a.validateMessages), e),
1911
+ var e = t.validateMessages, n = t.onFormChange, r = t.onFormFinish, i = t.children, a = E.useContext(Oe), u = E.useRef({});
1912
+ return /* @__PURE__ */ E.createElement(Oe.Provider, {
1913
+ value: N(N({}, a), {}, {
1914
+ validateMessages: N(N({}, a.validateMessages), e),
1914
1915
  // =========================================================
1915
1916
  // = Global Form Control =
1916
1917
  // =========================================================
@@ -1927,25 +1928,25 @@ var Oe = /* @__PURE__ */ b.createContext({
1927
1928
  }), a.triggerFormFinish(f, o);
1928
1929
  },
1929
1930
  registerForm: function(f, o) {
1930
- f && (u.current = x(x({}, u.current), {}, d({}, f, o))), a.registerForm(f, o);
1931
+ f && (u.current = N(N({}, u.current), {}, d({}, f, o))), a.registerForm(f, o);
1931
1932
  },
1932
1933
  unregisterForm: function(f) {
1933
- var o = x({}, u.current);
1934
+ var o = N({}, u.current);
1934
1935
  delete o[f], u.current = o, a.unregisterForm(f);
1935
1936
  }
1936
1937
  })
1937
1938
  }, i);
1938
1939
  }, st = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed", "clearOnDestroy"], ut = function(t, e) {
1939
- var n = t.name, r = t.initialValues, i = t.fields, a = t.form, u = t.preserve, l = t.children, f = t.component, o = f === void 0 ? "form" : f, g = t.validateMessages, h = t.validateTrigger, E = h === void 0 ? "onChange" : h, p = t.onValuesChange, m = t.onFieldsChange, c = t.onFinish, F = t.onFinishFailed, v = t.clearOnDestroy, y = Ae(t, st), C = b.useRef(null), V = b.useContext(Oe), A = ar(a), N = ue(A, 1), R = N[0], w = R.getInternalHooks(X), P = w.useSubscribe, k = w.setInitialValues, T = w.setCallbacks, I = w.setValidateMessages, M = w.setPreserve, z = w.destroyForm;
1940
- b.useImperativeHandle(e, function() {
1941
- return x(x({}, R), {}, {
1940
+ var n = t.name, r = t.initialValues, i = t.fields, a = t.form, u = t.preserve, l = t.children, f = t.component, o = f === void 0 ? "form" : f, g = t.validateMessages, h = t.validateTrigger, b = h === void 0 ? "onChange" : h, p = t.onValuesChange, m = t.onFieldsChange, c = t.onFinish, F = t.onFinishFailed, v = t.clearOnDestroy, y = Ae(t, st), C = E.useRef(null), V = E.useContext(Oe), A = ar(a), x = ue(A, 1), R = x[0], w = R.getInternalHooks(X), P = w.useSubscribe, k = w.setInitialValues, T = w.setCallbacks, I = w.setValidateMessages, M = w.setPreserve, z = w.destroyForm;
1941
+ E.useImperativeHandle(e, function() {
1942
+ return N(N({}, R), {}, {
1942
1943
  nativeElement: C.current
1943
1944
  });
1944
- }), b.useEffect(function() {
1945
+ }), E.useEffect(function() {
1945
1946
  return V.registerForm(n, R), function() {
1946
1947
  V.unregisterForm(n);
1947
1948
  };
1948
- }, [V, R, n]), I(x(x({}, V.validateMessages), g)), T({
1949
+ }, [V, R, n]), I(N(N({}, V.validateMessages), g)), T({
1949
1950
  onValuesChange: p,
1950
1951
  onFieldsChange: function(J) {
1951
1952
  if (V.triggerFormChange(n, J), m) {
@@ -1959,8 +1960,8 @@ var Oe = /* @__PURE__ */ b.createContext({
1959
1960
  },
1960
1961
  onFinishFailed: F
1961
1962
  }), M(u);
1962
- var _ = b.useRef(null);
1963
- k(r, !_.current), _.current || (_.current = !0), b.useEffect(
1963
+ var _ = E.useRef(null);
1964
+ k(r, !_.current), _.current || (_.current = !0), E.useEffect(
1964
1965
  function() {
1965
1966
  return function() {
1966
1967
  return z(v);
@@ -1976,20 +1977,20 @@ var Oe = /* @__PURE__ */ b.createContext({
1976
1977
  } else
1977
1978
  G = l;
1978
1979
  P(!Me);
1979
- var Se = b.useRef();
1980
- b.useEffect(function() {
1980
+ var Se = E.useRef();
1981
+ E.useEffect(function() {
1981
1982
  Xr(Se.current || [], i || []) || R.setFields(i || []), Se.current = i;
1982
1983
  }, [i, R]);
1983
- var or = b.useMemo(function() {
1984
- return x(x({}, R), {}, {
1985
- validateTrigger: E
1984
+ var or = E.useMemo(function() {
1985
+ return N(N({}, R), {}, {
1986
+ validateTrigger: b
1986
1987
  });
1987
- }, [R, E]), Ie = /* @__PURE__ */ b.createElement(he.Provider, {
1988
+ }, [R, b]), Ie = /* @__PURE__ */ E.createElement(he.Provider, {
1988
1989
  value: null
1989
- }, /* @__PURE__ */ b.createElement(ne.Provider, {
1990
+ }, /* @__PURE__ */ E.createElement(ne.Provider, {
1990
1991
  value: or
1991
1992
  }, G));
1992
- return o === !1 ? Ie : /* @__PURE__ */ b.createElement(o, Qe({}, y, {
1993
+ return o === !1 ? Ie : /* @__PURE__ */ E.createElement(o, Qe({}, y, {
1993
1994
  ref: C,
1994
1995
  onSubmit: function(J) {
1995
1996
  J.preventDefault(), J.stopPropagation(), R.submit();
@@ -2019,21 +2020,21 @@ function lt() {
2019
2020
  form: i
2020
2021
  } : i, u = a.form, l = dr(), f = ue(l, 2), o = f[0], g = f[1], h = gr(function() {
2021
2022
  return Je(o);
2022
- }, [o]), E = we(h);
2023
- E.current = h;
2023
+ }, [o]), b = we(h);
2024
+ b.current = h;
2024
2025
  var p = vr(ne), m = u || p, c = m && m._init;
2025
2026
  process.env.NODE_ENV !== "production" && D(t.length === 2 ? u ? c : !0 : c, "useWatch requires a form instance since it can not auto detect from context.");
2026
2027
  var F = L(n), v = we(F);
2027
2028
  return v.current = F, ot(F), hr(
2028
2029
  function() {
2029
2030
  if (c) {
2030
- var y = m.getFieldsValue, C = m.getInternalHooks, V = C(X), A = V.registerWatch, N = function(k, T) {
2031
+ var y = m.getFieldsValue, C = m.getInternalHooks, V = C(X), A = V.registerWatch, x = function(k, T) {
2031
2032
  var I = a.preserve ? T : k;
2032
2033
  return typeof n == "function" ? n(I) : Q(I, v.current);
2033
2034
  }, R = A(function(P, k) {
2034
- var T = N(P, k), I = Je(T);
2035
- E.current !== I && (E.current = I, g(T));
2036
- }), w = N(y(), y(!0));
2035
+ var T = x(P, k), I = Je(T);
2036
+ b.current !== I && (b.current = I, g(T));
2037
+ }), w = x(y(), y(!0));
2037
2038
  return o !== w && g(w), R;
2038
2039
  }
2039
2040
  },
@@ -2042,52 +2043,52 @@ function lt() {
2042
2043
  [c]
2043
2044
  ), o;
2044
2045
  }
2045
- var ft = /* @__PURE__ */ b.forwardRef(ut), de = ft;
2046
+ var ft = /* @__PURE__ */ E.forwardRef(ut), de = ft;
2046
2047
  de.FormProvider = sr;
2047
2048
  de.Field = nr;
2048
2049
  de.List = tt;
2049
2050
  de.useForm = ar;
2050
2051
  de.useWatch = lt;
2051
- const ht = /* @__PURE__ */ b.createContext({
2052
+ const mt = /* @__PURE__ */ E.createContext({
2052
2053
  labelAlign: "right",
2053
2054
  vertical: !1,
2054
2055
  itemRef: () => {
2055
2056
  }
2056
- }), mt = /* @__PURE__ */ b.createContext(null), pt = (s) => {
2057
+ }), pt = /* @__PURE__ */ E.createContext(null), Ft = (s) => {
2057
2058
  const t = pr(s, ["prefixCls"]);
2058
- return /* @__PURE__ */ b.createElement(sr, Object.assign({}, t));
2059
- }, Ft = /* @__PURE__ */ b.createContext({
2059
+ return /* @__PURE__ */ E.createElement(sr, Object.assign({}, t));
2060
+ }, yt = /* @__PURE__ */ E.createContext({
2060
2061
  prefixCls: ""
2061
- }), $e = /* @__PURE__ */ b.createContext({});
2062
+ }), $e = /* @__PURE__ */ E.createContext({});
2062
2063
  process.env.NODE_ENV !== "production" && ($e.displayName = "FormItemInputContext");
2063
- const yt = (s) => {
2064
+ const wt = (s) => {
2064
2065
  let {
2065
2066
  children: t,
2066
2067
  status: e,
2067
2068
  override: n
2068
2069
  } = s;
2069
- const r = b.useContext($e), i = b.useMemo(() => {
2070
+ const r = E.useContext($e), i = E.useMemo(() => {
2070
2071
  const a = Object.assign({}, r);
2071
2072
  return n && delete a.isFormItemInput, e && (delete a.status, delete a.hasFeedback, delete a.feedbackIcon), a;
2072
2073
  }, [e, n, r]);
2073
- return /* @__PURE__ */ b.createElement($e.Provider, {
2074
+ return /* @__PURE__ */ E.createElement($e.Provider, {
2074
2075
  value: i
2075
2076
  }, t);
2076
- }, wt = /* @__PURE__ */ b.createContext(void 0);
2077
+ }, Vt = /* @__PURE__ */ E.createContext(void 0);
2077
2078
  export {
2078
2079
  ne as C,
2079
2080
  $e as F,
2080
2081
  he as L,
2081
- yt as N,
2082
+ wt as N,
2082
2083
  de as R,
2083
- wt as V,
2084
+ Vt as V,
2084
2085
  nr as W,
2085
- Ft as a,
2086
+ yt as a,
2086
2087
  ar as b,
2087
- pt as c,
2088
- ht as d,
2089
- mt as e,
2088
+ Ft as c,
2089
+ mt as d,
2090
+ pt as e,
2090
2091
  tt as f,
2091
2092
  lt as g,
2092
- vt as u
2093
+ ht as u
2093
2094
  };