@wix/form-elements 1.168.0 → 1.170.0

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 (109) hide show
  1. package/dist/component/{appointment-rac-BbXyKTd7.js → appointment-rac-DZ0SFXmL.js} +83 -83
  2. package/dist/component/{bookings-address-rac-VJkR_U9L.js → bookings-address-rac-BW9grc77.js} +1 -1
  3. package/dist/component/{bookings-email-rac-_EupwXpQ.js → bookings-email-rac-D8gMaAfB.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DTZixHYj.js → bookings-first-name-rac-CAjcs7b6.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BKbKTv5g.js → bookings-header-rac-BhKZ1kku.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BDy860-C.js → bookings-last-name-rac-DpsMDuU0.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DgNP-YNZ.js → bookings-login-bar-rac-BVdWmKS8.js} +3 -3
  8. package/dist/component/{bookings-phone-rac-B_I6n96b.js → bookings-phone-rac-DsqNi2mI.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-prYPbIiz.js → bookings-rich-text-rac-elM4Ne3f.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-C-4PXuxG.js → checkbox-field-rac-BU4E73fD.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-D16bAcaq.js → checkbox-group-field-headless-6yJdIbP2.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-GUQ5dO_s.js → checkbox-group-field-rac-CojbCWSF.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Bl6xL5-H.js → checkbox-group-rac-3qUVUc-C.js} +1 -1
  14. package/dist/component/{checkbox-rac-Blg0KVyP.js → checkbox-rac-DwbTapd_.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BfOhCAj8.js → contacts-address-rac-BL7XDZuP.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DYBvDh62.js → contacts-birthdate-rac-DeJYIHAg.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DIJr7zjA.js → contacts-company-rac-BeImf5uc.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DjmqELhC.js → contacts-email-rac-CtacwrZ0.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DGNll7gw.js → contacts-first-name-rac-CAdOqOOA.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BJ8AZYQN.js → contacts-last-name-rac-Db9mHzCW.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BC-QtpEN.js → contacts-phone-rac-W0OLEbzL.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BQia__74.js → contacts-position-rac-CV4Ibt4Z.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CTFptz01.js → contacts-subscribe-rac-CQ3Q1pjZ.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-Cy72Jouc.js → contacts-tax-id-rac-Dux-pk6r.js} +1 -1
  25. package/dist/component/{date-availability-BC6updcS.js → date-availability-RkX-Qw7G.js} +1 -1
  26. package/dist/component/date-input-field-rac-CYCT6qoa.js +309 -0
  27. package/dist/component/{date-input-rac-KkRyWRP_.js → date-input-rac-BkYZ7q_o.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BLWVJbTJ.js → date-picker-field-rac-eMidYtsl.js} +31 -31
  29. package/dist/component/{date-picker-rac-DKCQza7v.js → date-picker-rac-D23rxZcF.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CZxZW6fz.js → date-time-input-field-rac-BjIj4dXQ.js} +111 -111
  31. package/dist/component/{date-time-input-rac-DQ-iBwmr.js → date-time-input-rac-BSGAdk9L.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-kp1Jbwt-.js → dext-checkbox-group-rac-Xmb5IKrb.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-CBm9cRUz.js → dext-checkbox-rac-2eA7y0ld.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-DsVKWsRy.js → dext-date-picker-rac-CmLxVGGT.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CO26-8Qo.js → dext-date-time-input-rac-Cd9nwSjb.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-eRzu2C-y.js → dext-dropdown-rac-BKdQ0nGS.js} +1 -1
  37. package/dist/component/{dext-email-rac-DDrZzE_G.js → dext-email-rac-07zDPxyf.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Dj7sInLk.js → dext-number-input-rac-DRvGuppY.js} +1 -1
  39. package/dist/component/{dext-phone-rac-g8M77F7m.js → dext-phone-rac-CKtTVjFg.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BjhygC0R.js → dext-radio-group-rac-BsBmMufq.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BraNjvyA.js → dext-rating-input-rac-CcFSTAIh.js} +1 -1
  42. package/dist/component/{dext-tags-rac-B5mAIuDi.js → dext-tags-rac-CCTDlCvX.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-D_YBnaWi.js → dext-text-area-rac-Cif8po9h.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-BzeWH1jv.js → dext-text-input-rac-2118X4iF.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Cn0h_vx3.js → dext-url-input-rac-DDImGkQe.js} +1 -1
  46. package/dist/component/{donation-rac-CQRdHxWh.js → donation-rac-Dnylss1d.js} +103 -103
  47. package/dist/component/{dropdown-field-rac-C7LL0W5Z.js → dropdown-field-rac-DDI4ZgZH.js} +3 -3
  48. package/dist/component/{dropdown-rac-Nb2VyJ0x.js → dropdown-rac-DX0Z3R_8.js} +1 -1
  49. package/dist/component/{ecom-address-rac-_c2YIIwg.js → ecom-address-rac-D9MeEQsk.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-Bma7TAVj.js → ecom-subscription-checkbox-rac-DKJ9j5dj.js} +2 -2
  51. package/dist/component/{email-input-field-rac-2E2tEaS5.js → email-input-field-rac-DaKrmlwe.js} +55 -55
  52. package/dist/component/{events-repeater-rac-COWHYBFD.js → events-repeater-rac-DWrOLT0Y.js} +45 -45
  53. package/dist/component/{events-rsvp-rac-CXp8j19Y.js → events-rsvp-rac-YBTR1tR0.js} +6 -6
  54. package/dist/component/{field-error-headless-S-ugOQQX.js → field-error-headless-jksFrezt.js} +10 -10
  55. package/dist/component/{field-label-headless-_n4I0_tX.js → field-label-headless-BBvJAVxI.js} +10 -10
  56. package/dist/component/{file-upload-rac-DCH_iwDg.js → file-upload-rac-CgdmfUZG.js} +168 -168
  57. package/dist/component/{fixed-payment-rac-CYkKJUfM.js → fixed-payment-rac-v6rKwzFs.js} +13 -13
  58. package/dist/component/{form-jK8ezTss.js → form-BsiK682r.js} +530 -502
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-DnbjI6W5.js → header-field-rac-BuXybl7K.js} +6 -6
  61. package/dist/component/{header-rac-DKUICrni.js → header-rac-CDyaLosW.js} +1 -1
  62. package/dist/component/{image-choice-rac-B_9ponST.js → image-choice-rac-BRlMroBw.js} +41 -41
  63. package/dist/component/{index-BxdMzOvN.js → index-BanOeCAF.js} +242 -236
  64. package/dist/component/{index-ZYnsxY-a.js → index-y9URYGEE.js} +6 -6
  65. package/dist/component/{isObjectLike-BW-9QEQl.js → isObjectLike-BG9nJ-rx.js} +7 -7
  66. package/dist/component/{multiline-address-field-rac-k-P0ijWG.js → multiline-address-field-rac-DRAkxI1l.js} +342 -342
  67. package/dist/component/{multiline-address-rac-Bbn9mNDa.js → multiline-address-rac-JjTzWsEb.js} +1 -1
  68. package/dist/component/{number-input-field-rac--lom-B_X.js → number-input-field-rac-QrouG7Hv.js} +22 -22
  69. package/dist/component/{number-input-rac-Bhbd6T9S.js → number-input-rac-DGmE7cLv.js} +1 -1
  70. package/dist/component/{password-rac-BV_uTHb3.js → password-rac-DeyY228m.js} +28 -28
  71. package/dist/component/{payment-input-rac-cawyGN_t.js → payment-input-rac-DmIennLi.js} +45 -45
  72. package/dist/component/{phone-input-field-rac-CsElHRto.js → phone-input-field-rac-F7e74TGA.js} +76 -76
  73. package/dist/component/{phone-rac-XrHN5Nko.js → phone-rac-CQfB2CQD.js} +1 -1
  74. package/dist/component/{product-list-rac-cxv_xz7K.js → product-list-rac--GGG8vvO.js} +62 -62
  75. package/dist/component/{quiz-radio-group-rac-DGaxOPE1.js → quiz-radio-group-rac-DF2C2vNq.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-Xv2Jn01x.js → radio-button-module-classes-DmpNo6F2.js} +17 -17
  77. package/dist/component/{radio-group-field-rac-DgGqgTql.js → radio-group-field-rac-BGcPYfKO.js} +6 -6
  78. package/dist/component/{radio-group-rac-Bh0E-oe1.js → radio-group-rac-CqysUMCE.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-C3YLV971.js → rating-input-field-rac-D-ei917Y.js} +24 -24
  80. package/dist/component/{rating-input-rac-CfcC5EUh.js → rating-input-rac-a9zJ74fw.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-DUjzLGtX.js → rich-content-rac.module-CvyLVlXL.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-BmguoJhk.js → rich-text-field-rac-vf19nvyw.js} +7 -7
  83. package/dist/component/{rich-text-rac-BWhHcq25.js → rich-text-rac-Cx_wpoxC.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-C5oX-ql7.js → service-dropdown-rac-DITzKQxd.js} +26 -26
  85. package/dist/component/{services-multi-choice-rac-C1fem9NB.js → services-multi-choice-rac-BtisN0Aq.js} +11 -11
  86. package/dist/component/{signature-rac-BtHqiWj1.js → signature-rac-DUeIoS5O.js} +226 -226
  87. package/dist/component/{submit-button-rac-OYeKJFF8.js → submit-button-rac-C8h6zeTw.js} +36 -36
  88. package/dist/component/{tags-field-rac-kA2RSijL.js → tags-field-rac-CjFuiB0n.js} +51 -51
  89. package/dist/component/{tags-rac-B_2qCZGu.js → tags-rac-BO7rwyLl.js} +1 -1
  90. package/dist/component/{text-area-field-rac-DeO609Mv.js → text-area-field-rac-CgUx3nQ0.js} +23 -23
  91. package/dist/component/{text-area-rac-BAQFBOZd.js → text-area-rac-WgXYXIaf.js} +1 -1
  92. package/dist/component/{text-input-field-rac-CCcKwuLZ.js → text-input-field-rac-DaxWFha-.js} +6 -6
  93. package/dist/component/{text-input-headless-D8-jkaYm.js → text-input-headless-hjuRJTZN.js} +6 -6
  94. package/dist/component/{text-input-rac-BVcgjj8g.js → text-input-rac-BzumrJBj.js} +1 -1
  95. package/dist/component/{time-input-rac-BYctyHgU.js → time-input-rac-2FEkpQ7M.js} +18 -18
  96. package/dist/component/{url-input-field-rac-COC9qgcs.js → url-input-field-rac-BZ9f8D8I.js} +26 -26
  97. package/dist/component/{url-input-rac-BZXLh0Ej.js → url-input-rac-D-AVlxkD.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-BTltqRl1.js → use-dropdown-option-class-name-DwAAtzgX.js} +11 -11
  99. package/dist/component/{use-dropdown-trigger-class-name-BjJZfl3i.js → use-dropdown-trigger-class-name-D-6n9YVG.js} +18 -18
  100. package/dist/component/{use-element-state-class-name-CkT6Ga8t.js → use-element-state-class-name-C5auxwhj.js} +3 -3
  101. package/dist/component/{use-hoverable-input-class-name-BkoSr6tr.js → use-hoverable-input-class-name-Nd2jqfz4.js} +2 -2
  102. package/dist/component/use-is-forced-open-dropdown-CKaHhCqp.js +64 -0
  103. package/dist/component/{use-service-options-base-Wp8RZ4Z8.js → use-service-options-base-CvluFheT.js} +3 -3
  104. package/dist/component/use-text-input-class-name-DGTlYJxC.js +6 -0
  105. package/dist/form.d.ts +19 -0
  106. package/package.json +2 -2
  107. package/dist/component/date-input-field-rac-b_T1yf8D.js +0 -309
  108. package/dist/component/use-is-forced-open-dropdown-fo_NCnSk.js +0 -53
  109. package/dist/component/use-text-input-class-name-DS7i03Gk.js +0 -6
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
- import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
3
+ import u, { createContext as z, useContext as Z, createElement as R, isValidElement as U, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { bA as fe, bN as ge, by as ve, d as ye, bD as Ee, bH as de, bB as be, aD as Se, U as Oe, af as he, K as Ie, G as Ne, ao as Ae } from "./form-jK8ezTss.js";
5
+ import { bH as fe, bU as ge, bF as ve, d as ye, bK as Ee, bO as de, bI as be, aK as Oe, X as Se, al as he, M as Ie, I as Ne, av as Ae } from "./form-BsiK682r.js";
6
6
  import { f as C } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import L from "@babel/runtime/helpers/typeof";
9
9
  import Fe from "@babel/runtime/helpers/defineProperty";
10
10
  import ke from "html-parse-stringify";
11
- import De from "@babel/runtime/helpers/classCallCheck";
12
- import Te from "@babel/runtime/helpers/createClass";
13
- import { T as U } from "./text-input-headless-D8-jkaYm.js";
14
- import { E as xe } from "./error-icon-hZxQ6DEy.js";
11
+ import Te from "@babel/runtime/helpers/classCallCheck";
12
+ import xe from "@babel/runtime/helpers/createClass";
13
+ import { T as B } from "./text-input-headless-hjuRJTZN.js";
14
+ import { E as De } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as H } from "./field-rac.module-ts2t4WUO.js";
16
- import { u as je } from "./use-text-input-class-name-DS7i03Gk.js";
16
+ import { u as je } from "./use-text-input-class-name-DGTlYJxC.js";
17
17
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -54,9 +54,9 @@ function Re() {
54
54
  }
55
55
  (function() {
56
56
  function e() {
57
- De(this, e), this.usedNamespaces = {};
57
+ Te(this, e), this.usedNamespaces = {};
58
58
  }
59
- return Te(e, [{
59
+ return xe(e, [{
60
60
  key: "addUsedNamespaces",
61
61
  value: function(a) {
62
62
  var o = this;
@@ -82,12 +82,12 @@ function K() {
82
82
  }
83
83
  }
84
84
  var J = {};
85
- function Be() {
85
+ function Ue() {
86
86
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
87
87
  t[a] = arguments[a];
88
88
  typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
89
89
  }
90
- var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
90
+ var Be = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
91
  function Q(e, t) {
92
92
  var a = Object.keys(e);
93
93
  if (Object.getOwnPropertySymbols) {
@@ -109,23 +109,23 @@ function p(e) {
109
109
  }
110
110
  return e;
111
111
  }
112
- function G(e, t) {
112
+ function Y(e, t) {
113
113
  if (!e) return !1;
114
114
  var a = e.props ? e.props.children : e.children;
115
115
  return t ? a.length > 0 : !!a;
116
116
  }
117
- function Y(e) {
117
+ function G(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
120
  function qe(e) {
121
121
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
122
- return B(t);
122
+ return U(t);
123
123
  });
124
124
  }
125
125
  function M(e) {
126
126
  return Array.isArray(e) ? e : [e];
127
127
  }
128
- function Ge(e, t) {
128
+ function Ye(e, t) {
129
129
  var a = p({}, t);
130
130
  return a.props = Object.assign(e.props, t.props), a;
131
131
  }
@@ -135,7 +135,7 @@ function te(e, t) {
135
135
  return o.forEach(function(r, g) {
136
136
  if (typeof r == "string")
137
137
  a += "".concat(r);
138
- else if (B(r)) {
138
+ else if (U(r)) {
139
139
  var v = Object.keys(r.props).length, d = c.indexOf(r.type) > -1, b = r.props.children;
140
140
  if (!b && d && v === 0)
141
141
  a += "<".concat(r.type, "/>");
@@ -146,23 +146,23 @@ function te(e, t) {
146
146
  else if (d && v === 1 && typeof b == "string")
147
147
  a += "<".concat(r.type, ">").concat(b, "</").concat(r.type, ">");
148
148
  else {
149
- var D = te(b, t);
150
- a += "<".concat(g, ">").concat(D, "</").concat(g, ">");
149
+ var T = te(b, t);
150
+ a += "<".concat(g, ">").concat(T, "</").concat(g, ">");
151
151
  }
152
152
  } else if (r === null)
153
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
154
154
  else if (L(r) === "object") {
155
- var O = r.format, F = ee(r, Ue), A = Object.keys(F);
155
+ var S = r.format, F = ee(r, Be), A = Object.keys(F);
156
156
  if (A.length === 1) {
157
- var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
158
- a += "{{".concat(S, "}}");
157
+ var O = S ? "".concat(A[0], ", ").concat(S) : A[0];
158
+ a += "{{".concat(O, "}}");
159
159
  } else
160
160
  K("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.", r);
161
161
  } else
162
162
  K("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", r);
163
163
  }), a;
164
164
  }
165
- function Ye(e, t, a, o, c, r) {
165
+ function Ge(e, t, a, o, c, r) {
166
166
  if (t === "") return [];
167
167
  var g = o.transKeepBasicHtmlNodesFor || [], v = t && new RegExp(g.join("|")).test(t);
168
168
  if (!e && !v) return [t];
@@ -170,13 +170,13 @@ function Ye(e, t, a, o, c, r) {
170
170
  function b(y) {
171
171
  var h = M(y);
172
172
  h.forEach(function(s) {
173
- typeof s != "string" && (G(s) ? b(Y(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
173
+ typeof s != "string" && (Y(s) ? b(G(s)) : L(s) === "object" && !U(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
- var D = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
177
+ var T = ke.parse("<0>".concat(t, "</0>")), S = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
- var i = Y(y), I = S(i, h.children, s);
179
+ var i = G(y), I = O(i, h.children, s);
180
180
  return qe(i) && I.length === 0 ? i : I;
181
181
  }
182
182
  function A(y, h, s, i, I) {
@@ -184,24 +184,24 @@ function Ye(e, t, a, o, c, r) {
184
184
  key: i
185
185
  }), I ? void 0 : h));
186
186
  }
187
- function S(y, h, s) {
187
+ function O(y, h, s) {
188
188
  var i = M(y), I = M(h);
189
189
  return I.reduce(function(l, n, E) {
190
- var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
190
+ var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, S, a.language);
191
191
  if (n.type === "tag") {
192
192
  var N = i[parseInt(n.name, 10)];
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
- var m = Object.keys(n.attrs).length !== 0 ? Ge({
194
+ var m = Object.keys(n.attrs).length !== 0 ? Ye({
195
195
  props: n.attrs
196
- }, N) : N, T = B(m), V = T && G(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !T, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, x = U(m), V = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
197
  if (typeof m == "string") {
198
- var q = a.services.interpolator.interpolate(m, O, a.language);
198
+ var q = a.services.interpolator.interpolate(m, S, a.language);
199
199
  l.push(q);
200
- } else if (G(m) || V) {
200
+ } else if (Y(m) || V) {
201
201
  var ne = F(m, n, s);
202
202
  A(m, ne, l, E);
203
203
  } else if (P) {
204
- var oe = S(i, n.children, s);
204
+ var oe = O(i, n.children, s);
205
205
  l.push(w(m, p(p({}, m.props), {}, {
206
206
  key: E
207
207
  }), oe));
@@ -215,7 +215,7 @@ function Ye(e, t, a, o, c, r) {
215
215
  key: "".concat(n.name, "-").concat(E)
216
216
  }));
217
217
  else {
218
- var se = S(i, n.children, s);
218
+ var se = O(i, n.children, s);
219
219
  l.push(R(n.name, {
220
220
  key: "".concat(n.name, "-").concat(E)
221
221
  }, se));
@@ -223,10 +223,10 @@ function Ye(e, t, a, o, c, r) {
223
223
  else if (n.voidElement)
224
224
  l.push("<".concat(n.name, " />"));
225
225
  else {
226
- var ce = S(i, n.children, s);
226
+ var ce = O(i, n.children, s);
227
227
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
228
228
  }
229
- else if (L(m) === "object" && !T) {
229
+ else if (L(m) === "object" && !x) {
230
230
  var $ = n.children[0] ? k : null;
231
231
  $ && l.push($);
232
232
  } else n.children.length === 1 && k ? l.push(w(m, p(p({}, m.props), {}, {
@@ -235,7 +235,7 @@ function Ye(e, t, a, o, c, r) {
235
235
  key: E
236
236
  })));
237
237
  } else if (n.type === "text") {
238
- var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
238
+ var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, S, a.language)) : a.services.interpolator.interpolate(n.content, S, a.language);
239
239
  W ? l.push(R(W, {
240
240
  key: "".concat(n.name, "-").concat(E)
241
241
  }, X)) : l.push(X);
@@ -243,34 +243,34 @@ function Ye(e, t, a, o, c, r) {
243
243
  return l;
244
244
  }, []);
245
245
  }
246
- var x = S([{
246
+ var D = O([{
247
247
  dummy: !0,
248
248
  children: e || []
249
- }], D, M(e || []));
250
- return Y(x[0]);
249
+ }], T, M(e || []));
250
+ return G(D[0]);
251
251
  }
252
252
  function $e(e) {
253
- var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, D = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, x = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
253
+ var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, S = e.ns, F = e.i18n, A = e.t, O = e.shouldUnescape, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
254
254
  if (!i)
255
- return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
255
+ return Ue("You will need to pass in an i18next instance by using i18nextReactModule"), t;
256
256
  var I = A || i.t.bind(i) || function(q) {
257
257
  return q;
258
258
  };
259
259
  r && (v.context = r);
260
- var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
260
+ var l = p(p({}, Re()), i.options && i.options.react), n = S || I.ns || s || i.options && i.options.defaultNS;
261
261
  n = typeof n == "string" ? [n] : n || ["translation"];
262
262
  var E = b || te(t, l) || l.transEmptyNodeValue || c, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
263
263
  interpolation: p(p({}, v.interpolation), {}, {
264
264
  prefix: "#$?",
265
265
  suffix: "?$#"
266
266
  })
267
- }, T = p(p(p(p({}, v), {}, {
267
+ }, x = p(p(p(p({}, v), {}, {
268
268
  count: a
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), V = N ? I(N, T) : E, P = Ye(D || t, V, i, l, T, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
- return _ ? R(_, x, P) : P;
272
+ }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, O), _ = o !== void 0 ? o : l.defaultTransParent;
273
+ return _ ? R(_, D, P) : P;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
276
276
  function Je() {
@@ -449,15 +449,15 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
449
449
  validate: v
450
450
  };
451
451
  }, f = ({ children: e }) => {
452
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: D, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: x } = at({
452
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: S, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: O, validate: D } = at({
453
453
  email: a,
454
454
  hasError: v
455
- }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, D, O, s), I = () => {
455
+ }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && O ? O : void 0, i = be(t, T, S, s), I = () => {
456
456
  o(s), y(t);
457
457
  }, l = () => {
458
- x(), d == null || d();
458
+ D(), d == null || d();
459
459
  }, n = C(e, f.Label), E = C(e, f.Input), k = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
460
- return /* @__PURE__ */ u.createElement(Se.Provider, {
460
+ return /* @__PURE__ */ u.createElement(Oe.Provider, {
461
461
  value: i
462
462
  }, /* @__PURE__ */ u.createElement(Qe, {
463
463
  activeSuggestion: s,
@@ -481,10 +481,10 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
481
481
  renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, k)
482
482
  })));
483
483
  };
484
- f.Label = U.Label;
485
- f.Input = U.Input;
486
- f.Description = U.Description;
487
- f.Error = U.Error;
484
+ f.Label = B.Label;
485
+ f.Input = B.Input;
486
+ f.Description = B.Description;
487
+ f.Error = B.Error;
488
488
  f.Suggestion = ze;
489
489
  const nt = "_suggestion_lysve_1", ot = {
490
490
  suggestion: nt
@@ -494,14 +494,14 @@ const nt = "_suggestion_lysve_1", ot = {
494
494
  }), ht = () => {
495
495
  const e = je();
496
496
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
497
- className: j(Oe, H.label)
497
+ className: j(Se, H.label)
498
498
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
499
499
  className: j(he, H.requiredMark)
500
500
  })), /* @__PURE__ */ u.createElement(f.Input, {
501
501
  className: e
502
502
  }), /* @__PURE__ */ u.createElement(f.Error, {
503
503
  className: j(Ie, H.error)
504
- }, /* @__PURE__ */ u.createElement(xe, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
504
+ }, /* @__PURE__ */ u.createElement(De, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
505
505
  className: j(Ne, H.description)
506
506
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
507
507
  className: j(Ae, ot.suggestion)
@@ -1,20 +1,20 @@
1
- import t, { useState as X, useMemo as T, useCallback as x, useRef as k } from "react";
1
+ import t, { useState as q, useMemo as T, useCallback as x, useRef as k } from "react";
2
2
  import v from "classnames";
3
- import { NumberField as q, CheckboxField as Q, CheckboxButton as W, Group as Y, Input as Z, Button as w } from "react-aria-components";
4
- import { bJ as P, bK as j, bz as U, bE as H, a$ as ee, bD as O, bA as $, bF as K, aH as te, aa as se, ac as ne, ae as oe, ab as re, ad as ae } from "./form-jK8ezTss.js";
5
- import { f as C, a as R } from "./find-child-C60k4CxG.js";
6
- import { L as le } from "./field-label-headless-_n4I0_tX.js";
3
+ import { NumberField as z, CheckboxField as J, CheckboxButton as W, Group as Y, Input as Z, Button as j } from "react-aria-components";
4
+ import { bQ as w, bR as P, bG as U, bL as H, b6 as ee, bK as O, bH as K, bM as $, aO as te, ag as se, ai as ne, ak as oe, ah as re, aj as ae } from "./form-BsiK682r.js";
5
+ import { f as C, a as I } from "./find-child-C60k4CxG.js";
6
+ import { L as le } from "./field-label-headless-BBvJAVxI.js";
7
7
  import { S as ce } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  import { u as ue } from "./use-invoke-callback-UH73A_J3.js";
9
9
  import { C as M } from "./chevron-down-icon-CcpVm6B-.js";
10
10
  import { C as me } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
11
11
  import { s as B } from "./field-rac.module-ts2t4WUO.js";
12
- import { u as ie } from "./use-element-state-class-name-CkT6Ga8t.js";
13
- import { u as de } from "./use-hoverable-input-class-name-BkoSr6tr.js";
12
+ import { u as ie } from "./use-element-state-class-name-C5auxwhj.js";
13
+ import { u as de } from "./use-hoverable-input-class-name-Nd2jqfz4.js";
14
14
  const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = Ee, validation: c }) => {
15
- const [i, E] = X((o == null ? void 0 : o.length) || 0), u = T(() => o ?? [], [
15
+ const [i, E] = q((o == null ? void 0 : o.length) || 0), u = T(() => o ?? [], [
16
16
  o
17
- ]), p = P(), G = j(), d = U(), { validateFields: m } = H(), F = c.predefined.objectArrayOptions.maxItems, y = T(() => ee({
17
+ ]), p = w(), G = P(), d = U(), { validateFields: m } = H(), F = c.predefined.objectArrayOptions.maxItems, y = T(() => ee({
18
18
  form: {
19
19
  fields: s,
20
20
  steps: [
@@ -29,9 +29,9 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
29
29
  s,
30
30
  a,
31
31
  e
32
- ]), I = T(() => l.reduce((b, L) => {
33
- const [S, N] = L.errorPath.split("/"), D = parseInt(S, 10);
34
- return b[D] || (b[D] = []), b[D].push({
32
+ ]), R = T(() => l.reduce((b, L) => {
33
+ const [S, N] = L.errorPath.split("/"), h = parseInt(S, 10);
34
+ return b[h] || (b[h] = []), b[h].push({
35
35
  ...L,
36
36
  errorPath: N
37
37
  }), b;
@@ -46,10 +46,10 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
46
46
  F,
47
47
  u,
48
48
  n
49
- ]), h = x((b) => (L, S) => {
49
+ ]), D = x((b) => (L, S) => {
50
50
  const N = Array.from({
51
51
  length: i
52
- }, (D, J) => u[J] ?? {});
52
+ }, (h, X) => u[X] ?? {});
53
53
  N[b] = {
54
54
  ...N[b],
55
55
  [L]: S
@@ -63,30 +63,30 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
63
63
  guestLimit: F,
64
64
  guestCount: i,
65
65
  guests: u,
66
- errorsByIndex: I,
66
+ errorsByIndex: R,
67
67
  formView: y,
68
68
  formSchema: p,
69
69
  formFields: G,
70
70
  fieldActions: d,
71
71
  validateFields: m,
72
72
  changeGuestCount: _,
73
- changeGuestField: h
73
+ changeGuestField: D
74
74
  };
75
75
  }, be = [], Ce = {}, r = ({ children: e, className: s }) => {
76
- const a = O(), { id: o, FieldLayout: n } = a, { guestLimit: l, guestCount: c, guests: i, errorsByIndex: E, formView: u, changeGuestCount: p, changeGuestField: G } = pe(a), d = C(e, r.Label), m = C(e, r.GuestCount), F = C(e, r.GuestToggle), y = C(e, r.Guests), I = l > 1;
76
+ const a = O(), { id: o, FieldLayout: n } = a, { guestLimit: l, guestCount: c, guests: i, errorsByIndex: E, formView: u, changeGuestCount: p, changeGuestField: G } = pe(a), d = C(e, r.Label), m = C(e, r.GuestCount), F = C(e, r.GuestToggle), y = C(e, r.Guests), R = l > 1;
77
77
  return /* @__PURE__ */ t.createElement(n, {
78
78
  fieldId: o,
79
- renderLabel: () => I ? d : null,
79
+ renderLabel: () => R ? d : null,
80
80
  renderInput: () => /* @__PURE__ */ t.createElement("div", {
81
81
  className: s
82
- }, I ? R(m, {
82
+ }, R ? I(m, {
83
83
  guestLimit: l,
84
84
  guestCount: c,
85
85
  onGuestCountChange: p
86
- }) : R(F, {
86
+ }) : I(F, {
87
87
  guestCount: c,
88
88
  onGuestCountChange: p
89
- }), R(y, {
89
+ }), I(y, {
90
90
  guestCount: c,
91
91
  guests: i,
92
92
  errorsByIndex: E,
@@ -95,11 +95,11 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
95
95
  })),
96
96
  renderDescription: () => null
97
97
  });
98
- }, z = ({ className: e }) => /* @__PURE__ */ t.createElement(le, {
98
+ }, Q = ({ className: e }) => /* @__PURE__ */ t.createElement(le, {
99
99
  className: e
100
100
  }, null), g = ({ children: e, className: s, ...a }) => {
101
101
  const { guestLimit: o, guestCount: n, onGuestCountChange: l } = a, { label: c, disabled: i, readOnly: E, onBlur: u, onFocus: p } = O(), G = ue(u), d = C(e, g.Label), m = C(e, g.Control);
102
- return /* @__PURE__ */ t.createElement(q, {
102
+ return /* @__PURE__ */ t.createElement(z, {
103
103
  className: s,
104
104
  "aria-label": c,
105
105
  value: n,
@@ -120,8 +120,8 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
120
120
  isReadOnly: o
121
121
  }, n, c, l);
122
122
  }, Ge = ({ className: e }) => {
123
- const { id: s } = O(), { inputId: a, ariaDescribedBy: o } = $(), n = k(null);
124
- return K(() => {
123
+ const { id: s } = O(), { inputId: a, ariaDescribedBy: o } = K(), n = k(null);
124
+ return $(() => {
125
125
  var l;
126
126
  (l = n.current) == null || l.focus({
127
127
  preventScroll: !0
@@ -133,42 +133,42 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
133
133
  className: e,
134
134
  inputMode: "numeric"
135
135
  });
136
- }, _e = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
136
+ }, _e = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(j, {
137
137
  slot: "decrement",
138
138
  className: s
139
- }, e), fe = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
139
+ }, e), fe = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(j, {
140
140
  slot: "increment",
141
141
  className: s
142
142
  }, e), A = ({ children: e, className: s, ...a }) => {
143
- const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: i, readOnly: E, onBlur: u, onFocus: p } = O(), { inputId: G, ariaDescribedBy: d } = $(), m = k(null);
144
- K(() => {
143
+ const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: i, readOnly: E, onBlur: u, onFocus: p } = O(), { inputId: G, ariaDescribedBy: d } = K(), m = k(null);
144
+ $(() => {
145
145
  var _;
146
146
  (_ = m.current) == null || _.focus({
147
147
  preventScroll: !0
148
148
  });
149
149
  }, l);
150
- const F = C(e, A.Input), y = C(e, A.Label), I = x((_) => {
150
+ const F = C(e, A.Input), y = C(e, A.Label), R = x((_) => {
151
151
  n(_ ? 1 : 0);
152
152
  }, [
153
153
  n
154
154
  ]);
155
- return /* @__PURE__ */ t.createElement(Q, {
155
+ return /* @__PURE__ */ t.createElement(J, {
156
156
  inputRef: m,
157
157
  id: G,
158
158
  "aria-describedby": d,
159
159
  isSelected: o > 0,
160
- onChange: I,
160
+ onChange: R,
161
161
  isDisabled: i,
162
162
  isReadOnly: E,
163
163
  onBlur: u,
164
164
  onFocus: p
165
165
  }, /* @__PURE__ */ t.createElement(W, {
166
166
  className: s
167
- }, ({ isSelected: _, isHovered: h, isFocused: b }) => /* @__PURE__ */ t.createElement(t.Fragment, null, R(F, {
167
+ }, ({ isSelected: _, isHovered: D, isFocused: b }) => /* @__PURE__ */ t.createElement(t.Fragment, null, I(F, {
168
168
  isSelected: _,
169
- isHovered: h,
169
+ isHovered: D,
170
170
  isFocused: b
171
- }), R(y, {
171
+ }), I(y, {
172
172
  label: c
173
173
  }))));
174
174
  }, Fe = ({ className: e, ...s }) => {
@@ -196,7 +196,7 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
196
196
  className: s
197
197
  }, Array.from({
198
198
  length: o
199
- }, (d, m) => R(G, {
199
+ }, (d, m) => I(G, {
200
200
  key: m,
201
201
  index: m,
202
202
  formView: p,
@@ -205,7 +205,7 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
205
205
  onFieldChange: i(m)
206
206
  }))) : null;
207
207
  }, Le = ({ className: e, ...s }) => {
208
- const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, i = P(), E = j(), u = U(), { validateFields: p } = H();
208
+ const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, i = w(), E = P(), u = U(), { validateFields: p } = H();
209
209
  return /* @__PURE__ */ t.createElement("div", {
210
210
  className: e,
211
211
  "data-hook": `guest-${a}`
@@ -220,7 +220,7 @@ const Ee = [], pe = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
220
220
  fieldActions: u
221
221
  }));
222
222
  };
223
- g.Label = z;
223
+ g.Label = Q;
224
224
  g.Control = ge;
225
225
  g.Input = Ge;
226
226
  g.Decrement = _e;
@@ -228,19 +228,19 @@ g.Increment = fe;
228
228
  A.Input = ce;
229
229
  A.Label = Fe;
230
230
  V.Guest = Le;
231
- r.Label = z;
231
+ r.Label = Q;
232
232
  r.GuestCount = g;
233
233
  r.GuestToggle = A;
234
234
  r.Guests = V;
235
- const Ne = "_container_xcjm5_1", Ie = "_count_xcjm5_8", Re = "_toggle_xcjm5_14", Oe = "_countLabel_xcjm5_18", ye = "_countGroup_xcjm5_22", Ae = "_increment_xcjm5_32", Se = "_decrement_xcjm5_33", f = {
235
+ const Ne = "_container_xcjm5_1", Re = "_count_xcjm5_8", Ie = "_toggle_xcjm5_14", Oe = "_countLabel_xcjm5_18", ye = "_countGroup_xcjm5_22", Ae = "_increment_xcjm5_32", Se = "_decrement_xcjm5_33", f = {
236
236
  container: Ne,
237
- count: Ie,
238
- toggle: Re,
237
+ count: Re,
238
+ toggle: Ie,
239
239
  countLabel: Oe,
240
240
  countGroup: ye,
241
241
  increment: Ae,
242
242
  decrement: Se
243
- }, De = () => {
243
+ }, he = () => {
244
244
  const e = de(re, [
245
245
  f.countGroup
246
246
  ]), s = ie({
@@ -274,7 +274,7 @@ const Ne = "_container_xcjm5_1", Ie = "_count_xcjm5_8", Re = "_toggle_xcjm5_14",
274
274
  })), /* @__PURE__ */ t.createElement(r.Guests, {
275
275
  className: f.container
276
276
  }, /* @__PURE__ */ t.createElement(r.Guests.Guest, null)));
277
- }, $e = () => /* @__PURE__ */ t.createElement(De, null);
277
+ }, Ke = () => /* @__PURE__ */ t.createElement(he, null);
278
278
  export {
279
- $e as EventsRepeaterRAC
279
+ Ke as EventsRepeaterRAC
280
280
  };
@@ -1,12 +1,12 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
3
  import a from "classnames";
4
- import { a as s, s as n, R as c } from "./radio-button-module-classes-Xv2Jn01x.js";
4
+ import { a as s, s as n, R as c } from "./radio-button-module-classes-DmpNo6F2.js";
5
5
  import { E as i } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as o } from "./field-rac.module-ts2t4WUO.js";
7
- import { U as E, af as p, a5 as R, a6 as O, K as _, G as L, a7 as D } from "./form-jK8ezTss.js";
8
- import { o as I } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as S } from "./use-element-state-class-name-CkT6Ga8t.js";
7
+ import { X as E, al as p, ab as R, ac as O, M as _, I as L, ad as I } from "./form-BsiK682r.js";
8
+ import { o as D } from "./options-rac.module-_THNq6Qq.js";
9
+ import { u as S } from "./use-element-state-class-name-C5auxwhj.js";
10
10
  const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(s, {
11
11
  className: l
12
12
  }, r);
@@ -20,7 +20,7 @@ const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
20
20
  locale: l
21
21
  }), u = () => {
22
22
  const r = S({
23
- globalClasses: D,
23
+ globalClasses: I,
24
24
  moduleClasses: c
25
25
  });
26
26
  return /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
@@ -28,7 +28,7 @@ const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
28
28
  }, /* @__PURE__ */ t.createElement(e.Label.Required, {
29
29
  className: a(p, o.requiredMark)
30
30
  })), /* @__PURE__ */ t.createElement(e.Options, {
31
- className: a(R, I.options)
31
+ className: a(R, D.options)
32
32
  }, /* @__PURE__ */ t.createElement(e.Option, {
33
33
  className: n.option
34
34
  }, /* @__PURE__ */ t.createElement(e.Option.Input, {
@@ -1,5 +1,5 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { bD as c, bA as i, bv as b, bc as f, bd as v } from "./form-jK8ezTss.js";
2
+ import { bK as c, bH as i, bC as b, bj as f, bk as x } from "./form-BsiK682r.js";
3
3
  const H = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = b();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
@@ -10,25 +10,25 @@ const H = ({ className: r, children: e }) => {
10
10
  content: s,
11
11
  locale: n
12
12
  })) : null;
13
- }, l = /* @__PURE__ */ m(void 0), x = l.Provider, D = ({ className: r }) => {
13
+ }, l = /* @__PURE__ */ m(void 0), h = l.Provider, k = ({ className: r }) => {
14
14
  const e = M(l);
15
15
  return /* @__PURE__ */ t.createElement("span", {
16
16
  className: r
17
17
  }, e ?? "");
18
- }, h = ({ className: r, children: e, ...s }) => {
19
- const { hasError: o, errorMessage: a } = s, { target: n, hasError: d, errorMessage: E } = c(), { errorId: g } = i(), u = o ?? d, p = a ?? E;
20
- return u ? /* @__PURE__ */ t.createElement(x, {
18
+ }, v = ({ className: r, children: e, ...s }) => {
19
+ const { hasError: o, errorMessage: a } = s, { target: n, hasError: E, errorMessage: d } = c(), { errorId: g } = i(), u = o ?? E, p = a ?? d;
20
+ return u ? /* @__PURE__ */ t.createElement(h, {
21
21
  value: p
22
22
  }, /* @__PURE__ */ t.createElement("div", {
23
23
  id: g,
24
- "data-hook": v(n),
24
+ "data-hook": x(n),
25
25
  className: r
26
26
  }, e)) : null;
27
27
  };
28
- h.Text = D;
28
+ v.Text = k;
29
29
  export {
30
30
  H as D,
31
- h as E,
32
- x as a,
33
- D as b
31
+ v as E,
32
+ h as a,
33
+ k as b
34
34
  };