@wix/form-elements 1.107.0 → 1.108.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 (113) hide show
  1. package/dist/component/{appointment-rac-D2F4vgf1.js → appointment-rac-ZAp8oWbK.js} +289 -290
  2. package/dist/component/{bookings-address-rac-_5S8J8_i.js → bookings-address-rac-x-Az7vHf.js} +1 -1
  3. package/dist/component/{bookings-email-rac-6vmDR9nS.js → bookings-email-rac-MoF_CaqB.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DtTJ4T2K.js → bookings-first-name-rac-CWh3Rb0M.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B3dsEwzR.js → bookings-header-rac-BVTiXUWk.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-B3idkbi8.js → bookings-last-name-rac-kXRRlyHl.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CrRBcQwT.js → bookings-login-bar-rac-C4Zr6kXE.js} +23 -24
  8. package/dist/component/{bookings-phone-rac-BE0yWNnj.js → bookings-phone-rac-2rz1m_xi.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CYo1l0-6.js → bookings-rich-text-rac-BEjGypQw.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-boTtXVEt.js → checkbox-field-rac-DwEQLIaz.js} +66 -67
  11. package/dist/component/{checkbox-group-field-headless-DnkUvDm8.js → checkbox-group-field-headless-BsOww_QB.js} +37 -37
  12. package/dist/component/{checkbox-group-field-rac-DrDTgHMg.js → checkbox-group-field-rac-DTcZcVS6.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-v3ozUBpo.js → checkbox-group-rac-DQsML-pW.js} +1 -1
  14. package/dist/component/{checkbox-rac-YSLE-RnG.js → checkbox-rac-irEBBOxP.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C653yaHZ.js → contacts-address-rac-B5bSAYrm.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BeAQ6shx.js → contacts-birthdate-rac-DyScj8f4.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BglKOoTG.js → contacts-company-rac-C5X9-jXa.js} +1 -1
  18. package/dist/component/{contacts-email-rac-D6m7ynfc.js → contacts-email-rac-B0vkfmrS.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Dgxn0tUJ.js → contacts-first-name-rac-Cfil3U_e.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-1UyIuRKH.js → contacts-last-name-rac-CtPLE-7-.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BQ77BlW4.js → contacts-phone-rac-YkzsAoBZ.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BUDUv7lv.js → contacts-position-rac-BS4j8QC-.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DdtA0qKW.js → contacts-subscribe-rac-z_9VsEZL.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WUaKcNl0.js → contacts-tax-id-rac-WFkmKyZv.js} +1 -1
  25. package/dist/component/{date-availability-XjBFq8jt.js → date-availability-NN3rxosk.js} +1 -1
  26. package/dist/component/{date-input-field-rac-aY2zuuKs.js → date-input-field-rac-mdhEC3oq.js} +88 -89
  27. package/dist/component/{date-input-rac-DRiP2_97.js → date-input-rac-CGciuoTx.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Bzl-d3Uj.js → date-picker-field-rac-CRZVODfF.js} +90 -91
  29. package/dist/component/{date-picker-rac-DHHUh8vn.js → date-picker-rac-Bfbvjy8W.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DP_StuLr.js → date-time-input-field-rac-TDWBXZ44.js} +76 -77
  31. package/dist/component/{date-time-input-rac-B11KIxsf.js → date-time-input-rac-DY0qdSix.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BHZBqyWv.js → dext-checkbox-group-rac-BFGM7SOt.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BIlAqEvV.js → dext-checkbox-rac-DPZvTeUZ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CHBXNrZi.js → dext-date-picker-rac-Xd5kojsQ.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BYtliKry.js → dext-date-time-input-rac-C0RIdxJW.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-C2VPSFV5.js → dext-dropdown-rac-D1m8vJvm.js} +1 -1
  37. package/dist/component/{dext-email-rac-Fnb0Ggcs.js → dext-email-rac-BC81RFYY.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DopfSyFi.js → dext-number-input-rac-Z_ih9FfX.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Rn4i_2rc.js → dext-phone-rac-s3BOnXuI.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-bNaskJpK.js → dext-radio-group-rac-CL3jcezs.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DL6ZZd7d.js → dext-rating-input-rac-wz1EyP5b.js} +1 -1
  42. package/dist/component/{dext-tags-rac-TsUPoImO.js → dext-tags-rac-BY4Rf2BP.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BIuY7LTd.js → dext-text-area-rac-DRJzlsq8.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CSYPW0Qi.js → dext-text-input-rac-BGcRNNAi.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-_g0lqGfW.js → dext-url-input-rac-CRAIm8yp.js} +1 -1
  46. package/dist/component/{donation-rac-BYKFtsyR.js → donation-rac-BlTfOIlE.js} +83 -84
  47. package/dist/component/{dropdown-field-headless-CBaqlNZi.js → dropdown-field-headless-DhzRAMcM.js} +12 -12
  48. package/dist/component/{dropdown-field-rac-CCAGSMm3.js → dropdown-field-rac-DXyY5we-.js} +5 -5
  49. package/dist/component/{dropdown-rac-C_EqUsZ1.js → dropdown-rac-C6YM6qxm.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Bw9eH0iF.js → ecom-address-rac-CAdr7wya.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-B5PVOO2a.js → ecom-subscription-checkbox-rac-Z2VMuCbt.js} +6 -6
  52. package/dist/component/{email-input-field-rac-B2kqQ6yo.js → email-input-field-rac-DpkfunVK.js} +53 -54
  53. package/dist/component/{events-repeater-rac--4OnUxWE.js → events-repeater-rac-CuJkdrPo.js} +61 -62
  54. package/dist/component/{events-rsvp-rac-CczCoo3T.js → events-rsvp-rac-BKWlSeQ9.js} +8 -8
  55. package/dist/component/{field-error-headless-D3-1L5sf.js → field-error-headless-tsg9FQ-_.js} +12 -12
  56. package/dist/component/{field-label-headless-Du4ckIVy.js → field-label-headless-CB8dEat8.js} +11 -11
  57. package/dist/component/{file-upload-rac-DbdkUbWM.js → file-upload-rac-ZdgYt646.js} +67 -68
  58. package/dist/component/{fixed-payment-rac-f9-01iDN.js → fixed-payment-rac-CuIQEeHh.js} +20 -21
  59. package/dist/component/{form-DQauhsho.js → form-0jt4L5xo.js} +3045 -2896
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/header-field-rac-CWVGzxKb.js +24 -0
  63. package/dist/component/{header-rac-CR9T3Pnu.js → header-rac-D6KsV-ko.js} +1 -1
  64. package/dist/component/{image-choice-rac-DJ_8v467.js → image-choice-rac-CUCyVS8c.js} +29 -30
  65. package/dist/component/{index-BB7d_9Dv.js → index-TJSnVtCO.js} +72 -72
  66. package/dist/component/{index-CcUTIUWM.js → index-iOqQidgV.js} +12 -12
  67. package/dist/component/{isObjectLike-xvPa_08X.js → isObjectLike-DQbx8r1c.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-CyaFOloE.js → multiline-address-field-rac-DtZ1NTfD.js} +186 -187
  69. package/dist/component/{multiline-address-rac-CaHGUN_f.js → multiline-address-rac-ub-_XzHU.js} +1 -1
  70. package/dist/component/number-input-field-rac-DLItn4DK.js +92 -0
  71. package/dist/component/{number-input-rac-DMKX6nhk.js → number-input-rac-UuxJzqEx.js} +1 -1
  72. package/dist/component/{password-rac-0RUXPAn6.js → password-rac-Di6q96Rn.js} +37 -38
  73. package/dist/component/{payment-input-rac-CHSZ3-Lt.js → payment-input-rac-CG6c4-Ge.js} +52 -53
  74. package/dist/component/{phone-input-field-rac-JmIFcP1e.js → phone-input-field-rac-D4JphCuT.js} +75 -76
  75. package/dist/component/{phone-rac-BLRnAPXP.js → phone-rac-_vDw2usa.js} +1 -1
  76. package/dist/component/{product-list-rac-BkF5tDwt.js → product-list-rac-CgxRlj1f.js} +73 -74
  77. package/dist/component/{quiz-radio-group-rac-32cCMTUS.js → quiz-radio-group-rac-bi26aGxN.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-IOulhuSH.js → radio-button-module-classes-DDJq2ESf.js} +33 -33
  79. package/dist/component/{radio-group-field-rac-CJwku6e0.js → radio-group-field-rac-D1aMVO6l.js} +4 -4
  80. package/dist/component/{radio-group-rac-BiW-9Abj.js → radio-group-rac-HKC85M6t.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-B9cwaROK.js → rating-input-field-rac-CpRehxFB.js} +42 -43
  82. package/dist/component/{rating-input-rac-BpwlNvzQ.js → rating-input-rac-BMuCZ3oj.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-B1uyPmtK.js → rich-content-rac.module-mZ6xoAOd.js} +4 -4
  84. package/dist/component/rich-text-field-rac-CUK8V8Kf.js +21 -0
  85. package/dist/component/{rich-text-rac-VfeZxS27.js → rich-text-rac-B-7sR2FJ.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-BCfs8IhW.js → service-dropdown-rac-1DDNT5bn.js} +43 -44
  87. package/dist/component/{services-multi-choice-rac-CCqdF_7P.js → services-multi-choice-rac-CB-6dwxz.js} +21 -22
  88. package/dist/component/{signature-rac-DOyMo3u0.js → signature-rac-7XBci6P2.js} +35 -36
  89. package/dist/component/{submit-button-rac-C2uA5DeE.js → submit-button-rac-B1-Mk8Gg.js} +21 -22
  90. package/dist/component/{tags-field-rac-C_uIw2by.js → tags-field-rac-CQ9Y7mq-.js} +49 -50
  91. package/dist/component/{tags-rac-1pQ-fpe_.js → tags-rac-Visic-Ml.js} +1 -1
  92. package/dist/component/{text-area-field-rac-DqlOkm7e.js → text-area-field-rac-C8fP1g-w.js} +31 -32
  93. package/dist/component/{text-area-rac-DPdkrFcH.js → text-area-rac-B6yZxzxm.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CmXm6r1w.js → text-input-field-rac-CNjbOxD1.js} +5 -5
  95. package/dist/component/{text-input-headless-DD__2DFf.js → text-input-headless-Bm8PJGep.js} +12 -12
  96. package/dist/component/{text-input-rac-DRHyQEH7.js → text-input-rac-BEPC1Z-4.js} +1 -1
  97. package/dist/component/{time-input-rac-BJPIymQY.js → time-input-rac-3m6C_Jp5.js} +41 -42
  98. package/dist/component/url-input-field-rac-CIk_6Lf6.js +74 -0
  99. package/dist/component/{url-input-rac-C0ChQUzq.js → url-input-rac-DyVoygXH.js} +1 -1
  100. package/dist/component/use-dropdown-option-class-name-McG3ayOT.js +21 -0
  101. package/dist/component/{use-element-state-class-name-BatTc2bw.js → use-element-state-class-name-B9MBWX44.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-B0jiPTmS.js → use-is-forced-open-dropdown-r5G_sZsO.js} +7 -7
  103. package/dist/component/{use-service-options-base-oeE7xszw.js → use-service-options-base-hcbkvhpw.js} +7 -7
  104. package/dist/component/use-text-input-class-name-SnurFqAr.js +23 -0
  105. package/dist/form.d.ts +3 -1
  106. package/package.json +2 -2
  107. package/dist/component/form-element-classes-bLFmhsKw.js +0 -137
  108. package/dist/component/header-field-rac-DamDk5BR.js +0 -25
  109. package/dist/component/number-input-field-rac-BuYUzDWV.js +0 -93
  110. package/dist/component/rich-text-field-rac-C_qE7Ykg.js +0 -22
  111. package/dist/component/url-input-field-rac-CFDYkZ6I.js +0 -75
  112. package/dist/component/use-dropdown-option-class-name-3L5ZmNLK.js +0 -21
  113. package/dist/component/use-text-input-class-name-LQ5S-NLh.js +0 -24
@@ -1,20 +1,19 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
- import D from "classnames";
2
+ import j from "classnames";
3
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";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-DQauhsho.js";
5
+ import { b2 as fe, bf as ge, b0 as ve, d as ye, b5 as Ee, b9 as de, b3 as be, a6 as Se, H as Oe, T as he, u as Ie, p as Ne, V as Ae } from "./form-0jt4L5xo.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
- import Oe from "@babel/runtime/helpers/defineProperty";
10
- import he from "html-parse-stringify";
11
- import Ie from "@babel/runtime/helpers/classCallCheck";
12
- import Ne from "@babel/runtime/helpers/createClass";
13
- import { T as U } from "./text-input-headless-DD__2DFf.js";
14
- import { E as Ae } from "./error-icon-hZxQ6DEy.js";
9
+ import Fe from "@babel/runtime/helpers/defineProperty";
10
+ import Te from "html-parse-stringify";
11
+ import ke from "@babel/runtime/helpers/classCallCheck";
12
+ import xe from "@babel/runtime/helpers/createClass";
13
+ import { T as U } from "./text-input-headless-Bm8PJGep.js";
14
+ import { E as De } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as H } from "./field-rac.module-B4l_0KRU.js";
16
- import { v as ke, J as Fe, o as Te, j as xe, L as je } from "./form-element-classes-bLFmhsKw.js";
17
- import { u as De } from "./use-text-input-class-name-LQ5S-NLh.js";
16
+ import { u as je } from "./use-text-input-class-name-SnurFqAr.js";
18
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 = {
19
18
  "&": "&",
20
19
  "&": "&",
@@ -55,9 +54,9 @@ function Re() {
55
54
  }
56
55
  (function() {
57
56
  function e() {
58
- Ie(this, e), this.usedNamespaces = {};
57
+ ke(this, e), this.usedNamespaces = {};
59
58
  }
60
- return Ne(e, [{
59
+ return xe(e, [{
61
60
  key: "addUsedNamespaces",
62
61
  value: function(a) {
63
62
  var o = this;
@@ -82,11 +81,11 @@ function K() {
82
81
  typeof a[0] == "string" && (a[0] = "react-i18next:: ".concat(a[0])), (e = console).warn.apply(e, a);
83
82
  }
84
83
  }
85
- var X = {};
84
+ var J = {};
86
85
  function Be() {
87
86
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
88
87
  t[a] = arguments[a];
89
- typeof t[0] == "string" && X[t[0]] || (typeof t[0] == "string" && (X[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
88
+ typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
90
89
  }
91
90
  var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
92
91
  function Q(e, t) {
@@ -103,7 +102,7 @@ function p(e) {
103
102
  for (var t = 1; t < arguments.length; t++) {
104
103
  var a = arguments[t] != null ? arguments[t] : {};
105
104
  t % 2 ? Q(Object(a), !0).forEach(function(o) {
106
- Oe(e, o, a[o]);
105
+ Fe(e, o, a[o]);
107
106
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Q(Object(a)).forEach(function(o) {
108
107
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(a, o));
109
108
  });
@@ -147,13 +146,13 @@ function te(e, t) {
147
146
  else if (d && v === 1 && typeof b == "string")
148
147
  a += "<".concat(r.type, ">").concat(b, "</").concat(r.type, ">");
149
148
  else {
150
- var T = te(b, t);
151
- a += "<".concat(g, ">").concat(T, "</").concat(g, ">");
149
+ var k = te(b, t);
150
+ a += "<".concat(g, ">").concat(k, "</").concat(g, ">");
152
151
  }
153
152
  } else if (r === null)
154
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
155
154
  else if (L(r) === "object") {
156
- var O = r.format, k = ee(r, Ue), A = Object.keys(k);
155
+ var O = r.format, F = ee(r, Ue), A = Object.keys(F);
157
156
  if (A.length === 1) {
158
157
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
159
158
  a += "{{".concat(S, "}}");
@@ -175,8 +174,8 @@ function Ge(e, t, a, o, c, r) {
175
174
  });
176
175
  }
177
176
  b(e);
178
- var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
179
- function k(y, h, s) {
177
+ var k = Te.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
+ function F(y, h, s) {
180
179
  var i = G(y), I = S(i, h.children, s);
181
180
  return qe(i) && I.length === 0 ? i : I;
182
181
  }
@@ -188,7 +187,7 @@ function Ge(e, t, a, o, c, r) {
188
187
  function S(y, h, s) {
189
188
  var i = M(y), I = M(h);
190
189
  return I.reduce(function(l, n, E) {
191
- var F = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
190
+ var T = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
192
191
  if (n.type === "tag") {
193
192
  var N = i[parseInt(n.name, 10)];
194
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
@@ -199,7 +198,7 @@ function Ge(e, t, a, o, c, r) {
199
198
  var q = a.services.interpolator.interpolate(m, O, a.language);
200
199
  l.push(q);
201
200
  } else if (Y(m) || V) {
202
- var ne = k(m, n, s);
201
+ var ne = F(m, n, s);
203
202
  A(m, ne, l, E);
204
203
  } else if (P) {
205
204
  var oe = S(i, n.children, s);
@@ -208,7 +207,7 @@ function Ge(e, t, a, o, c, r) {
208
207
  }), oe));
209
208
  } else if (Number.isNaN(parseFloat(n.name)))
210
209
  if (_) {
211
- var re = k(m, n, s);
210
+ var re = F(m, n, s);
212
211
  A(m, re, l, E, n.voidElement);
213
212
  } else if (o.transSupportBasicHtmlNodes && g.indexOf(n.name) > -1)
214
213
  if (n.voidElement)
@@ -228,30 +227,30 @@ function Ge(e, t, a, o, c, r) {
228
227
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
229
228
  }
230
229
  else if (L(m) === "object" && !x) {
231
- var $ = n.children[0] ? F : null;
230
+ var $ = n.children[0] ? T : null;
232
231
  $ && l.push($);
233
- } else n.children.length === 1 && F ? l.push(w(m, p(p({}, m.props), {}, {
232
+ } else n.children.length === 1 && T ? l.push(w(m, p(p({}, m.props), {}, {
234
233
  key: E
235
- }), F)) : l.push(w(m, p(p({}, m.props), {}, {
234
+ }), T)) : l.push(w(m, p(p({}, m.props), {}, {
236
235
  key: E
237
236
  })));
238
237
  } else if (n.type === "text") {
239
- var W = o.transWrapTextNodes, J = 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, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
240
239
  W ? l.push(R(W, {
241
240
  key: "".concat(n.name, "-").concat(E)
242
- }, J)) : l.push(J);
241
+ }, X)) : l.push(X);
243
242
  }
244
243
  return l;
245
244
  }, []);
246
245
  }
247
- var j = S([{
246
+ var D = S([{
248
247
  dummy: !0,
249
248
  children: e || []
250
- }], T, M(e || []));
251
- return G(j[0]);
249
+ }], k, M(e || []));
250
+ return G(D[0]);
252
251
  }
253
252
  function $e(e) {
254
- 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, O = e.ns, k = e.i18n, A = e.t, S = e.shouldUnescape, j = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = k || 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, k = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
255
254
  if (!i)
256
255
  return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
257
256
  var I = A || i.t.bind(i) || function(q) {
@@ -260,7 +259,7 @@ function $e(e) {
260
259
  r && (v.context = r);
261
260
  var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
262
261
  n = typeof n == "string" ? [n] : n || ["translation"];
263
- var E = b || te(t, l) || l.transEmptyNodeValue || c, F = l.hashTransKey, N = c || (F ? F(E) : E), m = d ? v.interpolation : {
262
+ var E = b || te(t, l) || l.transEmptyNodeValue || c, T = l.hashTransKey, N = c || (T ? T(E) : E), m = d ? v.interpolation : {
264
263
  interpolation: p(p({}, v.interpolation), {}, {
265
264
  prefix: "#$?",
266
265
  suffix: "?$#"
@@ -270,11 +269,11 @@ function $e(e) {
270
269
  }, d), m), {}, {
271
270
  defaultValue: E,
272
271
  ns: n
273
- }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
274
- return _ ? R(_, j, P) : P;
272
+ }), V = N ? I(N, x) : E, P = Ge(k || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
+ return _ ? R(_, D, P) : P;
275
274
  }
276
- const We = "email-mistype-suggestion", Je = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
277
- function Xe() {
275
+ const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
276
+ function Je() {
278
277
  const e = Z(ae);
279
278
  if (e === void 0)
280
279
  throw new Error("useEmailSuggestion must be used inside <EmailInput>");
@@ -286,7 +285,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
286
285
  applySuggestion: t
287
286
  }
288
287
  }, a), ze = ({ className: e }) => {
289
- const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Xe(), { t: c, i18n: r } = ge();
288
+ const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Je(), { t: c, i18n: r } = ge();
290
289
  return /* @__PURE__ */ u.createElement("div", {
291
290
  id: t,
292
291
  "data-hook": We,
@@ -303,7 +302,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
303
302
  /* @__PURE__ */ u.createElement("button", {
304
303
  key: "0",
305
304
  type: "button",
306
- "data-hook": Je,
305
+ "data-hook": Xe,
307
306
  "aria-label": c("input.email.mistype-check.fix-aria-label", {
308
307
  email: a
309
308
  }),
@@ -450,20 +449,20 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
450
449
  validate: v
451
450
  };
452
451
  }, f = ({ children: e }) => {
453
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: k } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
452
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: k, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: D } = at({
454
453
  email: a,
455
454
  hasError: v
456
- }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
455
+ }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, k, O, s), I = () => {
457
456
  o(s), y(t);
458
457
  }, l = () => {
459
- j(), d == null || d();
460
- }, n = C(e, f.Label), E = C(e, f.Input), F = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
458
+ D(), d == null || d();
459
+ }, n = C(e, f.Label), E = C(e, f.Input), T = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
461
460
  return /* @__PURE__ */ u.createElement(Se.Provider, {
462
461
  value: i
463
462
  }, /* @__PURE__ */ u.createElement(Qe, {
464
463
  activeSuggestion: s,
465
464
  applySuggestion: I
466
- }, /* @__PURE__ */ u.createElement(k, {
465
+ }, /* @__PURE__ */ u.createElement(F, {
467
466
  fieldId: t,
468
467
  renderLabel: () => n,
469
468
  renderInput: () => /* @__PURE__ */ u.createElement(pe, {
@@ -477,7 +476,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
477
476
  onBlur: l,
478
477
  onFocus: b
479
478
  }, E),
480
- renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, F)
479
+ renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, T)
481
480
  })));
482
481
  };
483
482
  f.Label = U.Label;
@@ -490,22 +489,22 @@ const nt = "_suggestion_lysve_1", ot = {
490
489
  }, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
491
490
  content: e,
492
491
  locale: t
493
- }), It = () => {
494
- const e = De();
492
+ }), ht = () => {
493
+ const e = je();
495
494
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
496
- className: D(ke, H.label)
495
+ className: j(Oe, H.label)
497
496
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
498
- className: D(Fe, H.requiredMark)
497
+ className: j(he, H.requiredMark)
499
498
  })), /* @__PURE__ */ u.createElement(f.Input, {
500
499
  className: e
501
500
  }), /* @__PURE__ */ u.createElement(f.Error, {
502
- className: D(Te, H.error)
503
- }, /* @__PURE__ */ u.createElement(Ae, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
504
- className: D(xe, H.description)
501
+ className: j(Ie, H.error)
502
+ }, /* @__PURE__ */ u.createElement(De, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
503
+ className: j(Ne, H.description)
505
504
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
506
- className: D(je, ot.suggestion)
505
+ className: j(Ae, ot.suggestion)
507
506
  }));
508
507
  };
509
508
  export {
510
- It as E
509
+ ht as E
511
510
  };
@@ -1,21 +1,20 @@
1
- import t, { useState as $, useMemo as B, useCallback as V, useRef as M } from "react";
2
- import k from "classnames";
1
+ import t, { useState as j, useMemo as B, useCallback as V, useRef as k } from "react";
2
+ import x from "classnames";
3
3
  import { NumberField as q, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
4
- import { aq as z, ar as H, ag as K, al as P, v as Z, ak as L, ah as X, am as j, j as ee } from "./form-DQauhsho.js";
4
+ import { bb as H, bc as z, b1 as K, b6 as P, au as Z, b5 as L, b2 as X, b7 as U, aa as ee, H as te, h as se, m as ne, l as oe } from "./form-0jt4L5xo.js";
5
5
  import { f as C, a as y } from "./find-child-C60k4CxG.js";
6
- import { L as te } from "./field-label-headless-Du4ckIVy.js";
7
- import { S as se } from "./selection-indicator-XQ8MYHUQ.js";
8
- import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
9
- import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
10
- import { C as oe } from "./checkbox-indicator-module-classes-BpeSpGsW.js";
6
+ import { L as re } from "./field-label-headless-CB8dEat8.js";
7
+ import { S as ae } from "./selection-indicator-XQ8MYHUQ.js";
8
+ import { u as le } from "./use-invoke-callback-UH73A_J3.js";
9
+ import { C as M } from "./chevron-down-icon-CcpVm6B-.js";
10
+ import { C as ce } from "./checkbox-indicator-module-classes-BpeSpGsW.js";
11
11
  import { s as v } from "./field-rac.module-B4l_0KRU.js";
12
- import { v as re, b as ae, g as le, f as ce } from "./form-element-classes-bLFmhsKw.js";
13
- import { u as ue } from "./use-element-state-class-name-BatTc2bw.js";
14
- import { u as me } from "./use-text-input-class-name-LQ5S-NLh.js";
12
+ import { u as ue } from "./use-element-state-class-name-B9MBWX44.js";
13
+ import { u as me } from "./use-text-input-class-name-SnurFqAr.js";
15
14
  const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = ie, validation: c }) => {
16
- const [m, i] = $((o == null ? void 0 : o.length) || 0), u = B(() => o ?? [], [
15
+ const [m, i] = j((o == null ? void 0 : o.length) || 0), u = B(() => o ?? [], [
17
16
  o
18
- ]), d = z(), f = H(), E = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = B(() => Z({
17
+ ]), d = H(), g = z(), E = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = B(() => Z({
19
18
  form: {
20
19
  fields: s,
21
20
  steps: [
@@ -30,16 +29,16 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
30
29
  s,
31
30
  a,
32
31
  e
33
- ]), _ = B(() => l.reduce((g, I) => {
32
+ ]), _ = B(() => l.reduce((b, I) => {
34
33
  const [h, N] = I.errorPath.split("/"), A = parseInt(h, 10);
35
- return g[A] || (g[A] = []), g[A].push({
34
+ return b[A] || (b[A] = []), b[A].push({
36
35
  ...I,
37
36
  errorPath: N
38
- }), g;
37
+ }), b;
39
38
  }, []), [
40
39
  l
41
- ]), b = V((g) => {
42
- const I = Number.isNaN(g) ? 0 : Math.min(Math.max(g, 0), F);
40
+ ]), G = V((b) => {
41
+ const I = Number.isNaN(b) ? 0 : Math.min(Math.max(b, 0), F);
43
42
  i(I), n == null || n(Array.from({
44
43
  length: I
45
44
  }, (h, N) => u[N] ?? {}));
@@ -47,12 +46,12 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
47
46
  F,
48
47
  u,
49
48
  n
50
- ]), D = V((g) => (I, h) => {
49
+ ]), D = V((b) => (I, h) => {
51
50
  const N = Array.from({
52
51
  length: m
53
- }, (A, U) => u[U] ?? {});
54
- N[g] = {
55
- ...N[g],
52
+ }, (A, $) => u[$] ?? {});
53
+ N[b] = {
54
+ ...N[b],
56
55
  [I]: h
57
56
  }, n == null || n(N);
58
57
  }, [
@@ -67,14 +66,14 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
67
66
  errorsByIndex: _,
68
67
  formView: O,
69
68
  formSchema: d,
70
- formFields: f,
69
+ formFields: g,
71
70
  fieldActions: E,
72
71
  validateFields: p,
73
- changeGuestCount: b,
72
+ changeGuestCount: G,
74
73
  changeGuestField: D
75
74
  };
76
75
  }, pe = [], Ee = {}, r = ({ children: e, className: s }) => {
77
- const a = L(), { id: o, FieldLayout: n } = a, { guestLimit: l, guestCount: c, guests: m, errorsByIndex: i, formView: u, changeGuestCount: d, changeGuestField: f } = de(a), E = C(e, r.Label), p = C(e, r.GuestCount), F = C(e, r.GuestToggle), O = C(e, r.Guests), _ = l > 1;
76
+ const a = L(), { id: o, FieldLayout: n } = a, { guestLimit: l, guestCount: c, guests: m, errorsByIndex: i, formView: u, changeGuestCount: d, changeGuestField: g } = de(a), E = C(e, r.Label), p = C(e, r.GuestCount), F = C(e, r.GuestToggle), O = C(e, r.Guests), _ = l > 1;
78
77
  return /* @__PURE__ */ t.createElement(n, {
79
78
  fieldId: o,
80
79
  renderLabel: () => _ ? E : null,
@@ -92,14 +91,14 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
92
91
  guests: m,
93
92
  errorsByIndex: i,
94
93
  formView: u,
95
- onGuestFieldChange: f
94
+ onGuestFieldChange: g
96
95
  })),
97
96
  renderDescription: () => null
98
97
  });
99
- }, Ce = ({ className: e }) => /* @__PURE__ */ t.createElement(te, {
98
+ }, Ce = ({ className: e }) => /* @__PURE__ */ t.createElement(re, {
100
99
  className: e
101
- }, null), G = ({ children: e, ...s }) => {
102
- const { guestLimit: a, guestCount: o, onGuestCountChange: n } = s, { label: l, disabled: c, readOnly: m, onBlur: i, onFocus: u } = L(), d = ne(i), f = C(e, G.Control);
100
+ }, null), f = ({ children: e, ...s }) => {
101
+ const { guestLimit: a, guestCount: o, onGuestCountChange: n } = s, { label: l, disabled: c, readOnly: m, onBlur: i, onFocus: u } = L(), d = le(i), g = C(e, f.Control);
103
102
  return /* @__PURE__ */ t.createElement(q, {
104
103
  "aria-label": l,
105
104
  value: o,
@@ -111,17 +110,17 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
111
110
  isReadOnly: m,
112
111
  onBlur: d,
113
112
  onFocus: u
114
- }, f);
115
- }, ge = ({ children: e, className: s }) => {
116
- const { disabled: a, readOnly: o } = L(), n = C(e, G.Input), l = C(e, G.Decrement), c = C(e, G.Increment);
113
+ }, g);
114
+ }, be = ({ children: e, className: s }) => {
115
+ const { disabled: a, readOnly: o } = L(), n = C(e, f.Input), l = C(e, f.Decrement), c = C(e, f.Increment);
117
116
  return /* @__PURE__ */ t.createElement(W, {
118
117
  className: s,
119
118
  isDisabled: a,
120
119
  isReadOnly: o
121
120
  }, n, c, l);
122
- }, fe = ({ className: e }) => {
123
- const { id: s } = L(), { inputId: a, ariaDescribedBy: o } = X(), n = M(null);
124
- return j(() => {
121
+ }, ge = ({ className: e }) => {
122
+ const { id: s } = L(), { inputId: a, ariaDescribedBy: o } = X(), n = k(null);
123
+ return U(() => {
125
124
  var l;
126
125
  (l = n.current) == null || l.focus();
127
126
  }, s), /* @__PURE__ */ t.createElement(Y, {
@@ -131,26 +130,26 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
131
130
  className: e,
132
131
  inputMode: "numeric"
133
132
  });
134
- }, Ge = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
133
+ }, fe = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
135
134
  slot: "decrement",
136
135
  className: s
137
- }, e), be = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
136
+ }, e), Ge = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
138
137
  slot: "increment",
139
138
  className: s
140
139
  }, e), S = ({ children: e, className: s, ...a }) => {
141
- const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = L(), { inputId: f, ariaDescribedBy: E } = X(), p = M(null);
142
- j(() => {
143
- var b;
144
- (b = p.current) == null || b.focus();
140
+ const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = L(), { inputId: g, ariaDescribedBy: E } = X(), p = k(null);
141
+ U(() => {
142
+ var G;
143
+ (G = p.current) == null || G.focus();
145
144
  }, l);
146
- const F = C(e, S.Input), O = C(e, S.Label), _ = V((b) => {
147
- n(b ? 1 : 0);
145
+ const F = C(e, S.Input), O = C(e, S.Label), _ = V((G) => {
146
+ n(G ? 1 : 0);
148
147
  }, [
149
148
  n
150
149
  ]);
151
150
  return /* @__PURE__ */ t.createElement(J, {
152
151
  inputRef: p,
153
- id: f,
152
+ id: g,
154
153
  "aria-describedby": E,
155
154
  isSelected: o > 0,
156
155
  onChange: _,
@@ -160,8 +159,8 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
160
159
  onFocus: d
161
160
  }, /* @__PURE__ */ t.createElement(Q, {
162
161
  className: s
163
- }, ({ isSelected: b, isHovered: D }) => /* @__PURE__ */ t.createElement(t.Fragment, null, y(F, {
164
- isSelected: b,
162
+ }, ({ isSelected: G, isHovered: D }) => /* @__PURE__ */ t.createElement(t.Fragment, null, y(F, {
163
+ isSelected: G,
165
164
  isHovered: D
166
165
  }), y(O, {
167
166
  label: c
@@ -186,12 +185,12 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
186
185
  c,
187
186
  i,
188
187
  u
189
- ]), f = C(e, T.Guest);
188
+ ]), g = C(e, T.Guest);
190
189
  return o ? /* @__PURE__ */ t.createElement("div", {
191
190
  className: s
192
191
  }, Array.from({
193
192
  length: o
194
- }, (E, p) => y(f, {
193
+ }, (E, p) => y(g, {
195
194
  key: p,
196
195
  index: p,
197
196
  formView: d,
@@ -200,7 +199,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
200
199
  onFieldChange: m(p)
201
200
  }))) : null;
202
201
  }, Ie = ({ className: e, ...s }) => {
203
- const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, m = z(), i = H(), u = K(), { validateFields: d } = P();
202
+ const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, m = H(), i = z(), u = K(), { validateFields: d } = P();
204
203
  return /* @__PURE__ */ t.createElement("div", {
205
204
  className: e,
206
205
  "data-hook": `guest-${a}`
@@ -215,15 +214,15 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
215
214
  fieldActions: u
216
215
  }));
217
216
  };
218
- G.Control = ge;
219
- G.Input = fe;
220
- G.Decrement = Ge;
221
- G.Increment = be;
222
- S.Input = se;
217
+ f.Control = be;
218
+ f.Input = ge;
219
+ f.Decrement = fe;
220
+ f.Increment = Ge;
221
+ S.Input = ae;
223
222
  S.Label = Fe;
224
223
  T.Guest = Ie;
225
224
  r.Label = Ce;
226
- r.GuestCount = G;
225
+ r.GuestCount = f;
227
226
  r.GuestToggle = S;
228
227
  r.Guests = T;
229
228
  const Ne = "_container_z48oy_1", _e = "_countGroup_z48oy_8", ye = "_increment_z48oy_18", Le = "_decrement_z48oy_19", R = {
@@ -233,31 +232,31 @@ const Ne = "_container_z48oy_1", _e = "_countGroup_z48oy_8", ye = "_increment_z4
233
232
  decrement: Le
234
233
  }, Oe = () => {
235
234
  const e = me(R.countGroup), s = ue({
236
- globalClasses: ce,
237
- moduleClasses: oe
235
+ globalClasses: oe,
236
+ moduleClasses: ce
238
237
  });
239
238
  return /* @__PURE__ */ t.createElement(r, {
240
239
  className: R.container
241
240
  }, /* @__PURE__ */ t.createElement(r.Label, {
242
- className: k(re, v.label)
241
+ className: x(te, v.label)
243
242
  }), /* @__PURE__ */ t.createElement(r.GuestCount, null, /* @__PURE__ */ t.createElement(r.GuestCount.Control, {
244
243
  className: e
245
244
  }, /* @__PURE__ */ t.createElement(r.GuestCount.Input, {
246
245
  className: v.innerInput
247
246
  }), /* @__PURE__ */ t.createElement(r.GuestCount.Increment, {
248
247
  className: R.increment
249
- }, /* @__PURE__ */ t.createElement(x, {
248
+ }, /* @__PURE__ */ t.createElement(M, {
250
249
  style: {
251
250
  transform: "rotate(180deg)"
252
251
  }
253
252
  })), /* @__PURE__ */ t.createElement(r.GuestCount.Decrement, {
254
253
  className: R.decrement
255
- }, /* @__PURE__ */ t.createElement(x, null)))), /* @__PURE__ */ t.createElement(r.GuestToggle, {
256
- className: k(ae, v.checkbox)
254
+ }, /* @__PURE__ */ t.createElement(M, null)))), /* @__PURE__ */ t.createElement(r.GuestToggle, {
255
+ className: x(se, v.checkbox)
257
256
  }, /* @__PURE__ */ t.createElement(r.GuestToggle.Input, {
258
257
  className: s
259
258
  }), /* @__PURE__ */ t.createElement(r.GuestToggle.Label, {
260
- className: le
259
+ className: ne
261
260
  })), /* @__PURE__ */ t.createElement(r.Guests, {
262
261
  className: R.container
263
262
  }, /* @__PURE__ */ t.createElement(r.Guests.Guest, null)));
@@ -1,11 +1,11 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
3
  import s from "classnames";
4
- import { a, s as o, R as c } from "./radio-button-module-classes-IOulhuSH.js";
4
+ import { a, s as o, R as c } from "./radio-button-module-classes-DDJq2ESf.js";
5
5
  import { E } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as l } from "./field-rac.module-B4l_0KRU.js";
7
- import { v as i, J as p, D as R, E as O, o as _, j as L, G as D } from "./form-element-classes-bLFmhsKw.js";
8
- import { u as I } from "./use-element-state-class-name-BatTc2bw.js";
7
+ import { H as i, T as p, O, P as R, u as _, p as L, Q as D } from "./form-0jt4L5xo.js";
8
+ import { u as I } from "./use-element-state-class-name-B9MBWX44.js";
9
9
  const e = ({ children: r, className: n }) => /* @__PURE__ */ t.createElement(a, {
10
10
  className: n
11
11
  }, r);
@@ -17,7 +17,7 @@ e.Error = a.Error;
17
17
  const N = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
18
18
  content: r,
19
19
  locale: n
20
- }), S = () => {
20
+ }), u = () => {
21
21
  const r = I({
22
22
  globalClasses: D,
23
23
  moduleClasses: c
@@ -29,7 +29,7 @@ const N = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
29
29
  }, /* @__PURE__ */ t.createElement(e.Label.Required, {
30
30
  className: s(p, l.requiredMark)
31
31
  })), /* @__PURE__ */ t.createElement(e.Options, {
32
- className: s(R, o.options)
32
+ className: s(O, o.options)
33
33
  }, /* @__PURE__ */ t.createElement(e.Option, {
34
34
  className: o.option
35
35
  }, /* @__PURE__ */ t.createElement(e.Option.Input, {
@@ -37,13 +37,13 @@ const N = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
37
37
  }), /* @__PURE__ */ t.createElement(e.Option.Control, {
38
38
  className: r
39
39
  }), /* @__PURE__ */ t.createElement(e.Option.Label, {
40
- className: s(O, o.optionLabel)
40
+ className: s(R, o.optionLabel)
41
41
  }))), /* @__PURE__ */ t.createElement(e.Error, {
42
42
  className: s(_, l.error)
43
43
  }, /* @__PURE__ */ t.createElement(E, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
44
44
  className: s(L, l.description)
45
45
  }, N));
46
- }, T = () => /* @__PURE__ */ t.createElement(S, null);
46
+ }, b = () => /* @__PURE__ */ t.createElement(u, null);
47
47
  export {
48
- T as EventsRsvpRAC
48
+ b as EventsRsvpRAC
49
49
  };
@@ -1,34 +1,34 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { ak as c, ah as i, ac as f, U as h, W as x } from "./form-DQauhsho.js";
3
- const N = ({ className: r, children: e }) => {
2
+ import { b5 as c, b2 as i, aZ as f, aG as x, aH as h } from "./form-0jt4L5xo.js";
3
+ const C = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
6
6
  className: r,
7
7
  id: a,
8
- "data-hook": h(o)
8
+ "data-hook": x(o)
9
9
  }, e({
10
10
  content: s,
11
11
  locale: n
12
12
  })) : null;
13
- }, l = /* @__PURE__ */ m(void 0), k = l.Provider, v = ({ className: r }) => {
13
+ }, l = /* @__PURE__ */ m(void 0), v = l.Provider, D = ({ className: r }) => {
14
14
  const e = M(l);
15
15
  return /* @__PURE__ */ t.createElement("span", {
16
16
  className: r
17
17
  }, e ?? "");
18
- }, D = ({ className: r, children: e, ...s }) => {
18
+ }, H = ({ className: r, children: e, ...s }) => {
19
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(k, {
20
+ return u ? /* @__PURE__ */ t.createElement(v, {
21
21
  value: p
22
22
  }, /* @__PURE__ */ t.createElement("div", {
23
23
  id: g,
24
- "data-hook": x(n),
24
+ "data-hook": h(n),
25
25
  className: r
26
26
  }, e)) : null;
27
27
  };
28
- D.Text = v;
28
+ H.Text = D;
29
29
  export {
30
- N as D,
31
- D as E,
32
- k as a,
33
- v as b
30
+ C as D,
31
+ H as E,
32
+ v as a,
33
+ D as b
34
34
  };