@wix/form-elements 1.107.0 → 1.109.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 (115) hide show
  1. package/dist/component/{appointment-rac-D2F4vgf1.js → appointment-rac-C9-XwsPI.js} +295 -296
  2. package/dist/component/{bookings-address-rac-_5S8J8_i.js → bookings-address-rac-jrrCPWjw.js} +1 -1
  3. package/dist/component/{bookings-email-rac-6vmDR9nS.js → bookings-email-rac-J9-RMEbf.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DtTJ4T2K.js → bookings-first-name-rac-CH7-6JmA.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B3dsEwzR.js → bookings-header-rac-C2JV-ciN.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-B3idkbi8.js → bookings-last-name-rac-0a9CwiaV.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CrRBcQwT.js → bookings-login-bar-rac-4Mb7MQYe.js} +21 -22
  8. package/dist/component/{bookings-phone-rac-BE0yWNnj.js → bookings-phone-rac-vYx5r5jn.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CYo1l0-6.js → bookings-rich-text-rac-CWg1FgUp.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-boTtXVEt.js → checkbox-field-rac-Dwx1leKA.js} +27 -28
  11. package/dist/component/{checkbox-group-field-headless-DnkUvDm8.js → checkbox-group-field-headless-AFWgXzx_.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-DrDTgHMg.js → checkbox-group-field-rac-CO8kmWJp.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-v3ozUBpo.js → checkbox-group-rac-_79HsFF4.js} +1 -1
  14. package/dist/component/{checkbox-rac-YSLE-RnG.js → checkbox-rac-B_tbMfjo.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C653yaHZ.js → contacts-address-rac-SJ5Tvzd0.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BeAQ6shx.js → contacts-birthdate-rac-BU1L3sbW.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BglKOoTG.js → contacts-company-rac-Y4B8KhDa.js} +1 -1
  18. package/dist/component/{contacts-email-rac-D6m7ynfc.js → contacts-email-rac-CQW84o7C.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Dgxn0tUJ.js → contacts-first-name-rac-Dtai-wtH.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-1UyIuRKH.js → contacts-last-name-rac--ixuu3ri.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BQ77BlW4.js → contacts-phone-rac-HOHfSvT-.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BUDUv7lv.js → contacts-position-rac-BPMkh6yf.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DdtA0qKW.js → contacts-subscribe-rac-D0_RMwJb.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WUaKcNl0.js → contacts-tax-id-rac-CZJmMiVf.js} +1 -1
  25. package/dist/component/{date-availability-XjBFq8jt.js → date-availability-C4dDHvuc.js} +1 -1
  26. package/dist/component/{date-input-field-rac-aY2zuuKs.js → date-input-field-rac-8oERZcqh.js} +79 -80
  27. package/dist/component/{date-input-rac-DRiP2_97.js → date-input-rac-CYRojmW6.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Bzl-d3Uj.js → date-picker-field-rac-CIspU7No.js} +87 -88
  29. package/dist/component/{date-picker-rac-DHHUh8vn.js → date-picker-rac-D0Y0zf2J.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DP_StuLr.js → date-time-input-field-rac-0daWK65I.js} +73 -74
  31. package/dist/component/{date-time-input-rac-B11KIxsf.js → date-time-input-rac-BemKPk1j.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BHZBqyWv.js → dext-checkbox-group-rac-BpFNn56W.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BIlAqEvV.js → dext-checkbox-rac-DOISgubJ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CHBXNrZi.js → dext-date-picker-rac-CNGhFg_g.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BYtliKry.js → dext-date-time-input-rac-BuUIvJRr.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-C2VPSFV5.js → dext-dropdown-rac-DtND-Dbo.js} +1 -1
  37. package/dist/component/{dext-email-rac-Fnb0Ggcs.js → dext-email-rac-CmjLFOi8.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DopfSyFi.js → dext-number-input-rac-DHTNg1dh.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Rn4i_2rc.js → dext-phone-rac-BrrU5qH_.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-bNaskJpK.js → dext-radio-group-rac-CD3MGfAM.js} +4 -4
  41. package/dist/component/{dext-rating-input-rac-DL6ZZd7d.js → dext-rating-input-rac-BETGJZmt.js} +1 -1
  42. package/dist/component/{dext-tags-rac-TsUPoImO.js → dext-tags-rac-Coo9jN-T.js} +4 -4
  43. package/dist/component/{dext-text-area-rac-BIuY7LTd.js → dext-text-area-rac-CNWjqhUT.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CSYPW0Qi.js → dext-text-input-rac-CCWyDexv.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-_g0lqGfW.js → dext-url-input-rac-Dtakkgmk.js} +1 -1
  46. package/dist/component/{donation-rac-BYKFtsyR.js → donation-rac-BboGm_k_.js} +101 -102
  47. package/dist/component/{dropdown-field-headless-CBaqlNZi.js → dropdown-field-headless-BTMJGUwY.js} +16 -16
  48. package/dist/component/{dropdown-field-rac-CCAGSMm3.js → dropdown-field-rac-CDRV8ckB.js} +5 -5
  49. package/dist/component/{dropdown-rac-C_EqUsZ1.js → dropdown-rac-kEuU2pXW.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Bw9eH0iF.js → ecom-address-rac-BgKL9ElH.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-B5PVOO2a.js → ecom-subscription-checkbox-rac-CDhJsNPD.js} +6 -6
  52. package/dist/component/{email-input-field-rac-B2kqQ6yo.js → email-input-field-rac-DdOd86NX.js} +54 -55
  53. package/dist/component/{events-repeater-rac--4OnUxWE.js → events-repeater-rac-_VJ30dpB.js} +62 -63
  54. package/dist/component/{events-rsvp-rac-CczCoo3T.js → events-rsvp-rac-DA-261bq.js} +5 -5
  55. package/dist/component/{field-error-headless-D3-1L5sf.js → field-error-headless-CovyN0GI.js} +8 -8
  56. package/dist/component/{field-label-headless-Du4ckIVy.js → field-label-headless-DVvX2QaH.js} +11 -11
  57. package/dist/component/file-upload-rac-bhEPUJPs.js +561 -0
  58. package/dist/component/fixed-payment-rac-DmI6MeKc.js +61 -0
  59. package/dist/component/{form-DQauhsho.js → form-BTDgyr54.js} +3430 -3244
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +3 -3
  62. package/dist/component/header-field-rac-C0rUjmo0.js +24 -0
  63. package/dist/component/{header-rac-CR9T3Pnu.js → header-rac-DRMO22PV.js} +1 -1
  64. package/dist/component/{image-choice-rac-DJ_8v467.js → image-choice-rac-CQDQ7AlD.js} +32 -33
  65. package/dist/component/{index-CcUTIUWM.js → index-B9QlosT1.js} +12 -12
  66. package/dist/component/{index-BB7d_9Dv.js → index-CNWT9t6j.js} +66 -66
  67. package/dist/component/{isObjectLike-xvPa_08X.js → isObjectLike-c0td2WCR.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-CyaFOloE.js → multiline-address-field-rac-D8bVxRsD.js} +124 -125
  69. package/dist/component/{multiline-address-rac-CaHGUN_f.js → multiline-address-rac-g-6RB7o8.js} +1 -1
  70. package/dist/component/number-input-field-rac-BaOwQ5Ya.js +92 -0
  71. package/dist/component/{number-input-rac-DMKX6nhk.js → number-input-rac-BXv8-Pnj.js} +1 -1
  72. package/dist/component/{password-rac-0RUXPAn6.js → password-rac-BB9XeSSZ.js} +36 -37
  73. package/dist/component/{payment-input-rac-CHSZ3-Lt.js → payment-input-rac-DwnSV9rM.js} +41 -42
  74. package/dist/component/{phone-input-field-rac-JmIFcP1e.js → phone-input-field-rac-CC3C4ToW.js} +56 -57
  75. package/dist/component/{phone-rac-BLRnAPXP.js → phone-rac-DpNhSaE0.js} +1 -1
  76. package/dist/component/{product-list-rac-BkF5tDwt.js → product-list-rac-BAESk3B6.js} +74 -75
  77. package/dist/component/{quiz-radio-group-rac-32cCMTUS.js → quiz-radio-group-rac-PS6AZr63.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-IOulhuSH.js → radio-button-module-classes-CXcn5unY.js} +30 -30
  79. package/dist/component/{radio-group-field-rac-CJwku6e0.js → radio-group-field-rac-pt8xbDfS.js} +6 -6
  80. package/dist/component/{radio-group-rac-BiW-9Abj.js → radio-group-rac-DkzkM6N_.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-B9cwaROK.js → rating-input-field-rac-DDHBkR4x.js} +43 -44
  82. package/dist/component/{rating-input-rac-BpwlNvzQ.js → rating-input-rac-CcsDmLus.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-B1uyPmtK.js → rich-content-rac.module-B2vsO6fj.js} +4 -4
  84. package/dist/component/rich-text-field-rac-CvKht2eC.js +21 -0
  85. package/dist/component/{rich-text-rac-VfeZxS27.js → rich-text-rac-CRpSffQB.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-BCfs8IhW.js → service-dropdown-rac-BOpdXNjG.js} +36 -37
  87. package/dist/component/{services-multi-choice-rac-CCqdF_7P.js → services-multi-choice-rac-t0wdSt_T.js} +20 -21
  88. package/dist/component/{signature-rac-DOyMo3u0.js → signature-rac-2LsIYYIX.js} +141 -142
  89. package/dist/component/{submit-button-rac-C2uA5DeE.js → submit-button-rac-BbE8dS35.js} +26 -27
  90. package/dist/component/{tags-field-rac-C_uIw2by.js → tags-field-rac-BnsBxReU.js} +44 -45
  91. package/dist/component/{tags-rac-1pQ-fpe_.js → tags-rac-BFH4RINA.js} +1 -1
  92. package/dist/component/{text-area-field-rac-DqlOkm7e.js → text-area-field-rac-Ag7_gniM.js} +28 -29
  93. package/dist/component/{text-area-rac-DPdkrFcH.js → text-area-rac-ByUX0p2O.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CmXm6r1w.js → text-input-field-rac-D3MZ8teu.js} +3 -3
  95. package/dist/component/{text-input-headless-DD__2DFf.js → text-input-headless-CwONErsY.js} +12 -12
  96. package/dist/component/{text-input-rac-DRHyQEH7.js → text-input-rac-DLXdAhkK.js} +1 -1
  97. package/dist/component/{time-input-rac-BJPIymQY.js → time-input-rac-Bs55lTON.js} +33 -34
  98. package/dist/component/url-input-field-rac-FG-bCh-E.js +74 -0
  99. package/dist/component/{url-input-rac-C0ChQUzq.js → url-input-rac-BOKuCMTe.js} +1 -1
  100. package/dist/component/use-dropdown-option-class-name-DjV7FW5y.js +21 -0
  101. package/dist/component/{use-element-state-class-name-BatTc2bw.js → use-element-state-class-name-DB1AzkvF.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-B0jiPTmS.js → use-is-forced-open-dropdown-ifUIpuwL.js} +7 -7
  103. package/dist/component/{use-service-options-base-oeE7xszw.js → use-service-options-base-B11cq0HH.js} +7 -7
  104. package/dist/component/use-text-input-class-name-va1PzWFg.js +23 -0
  105. package/dist/form.d.ts +21 -1
  106. package/package.json +2 -2
  107. package/dist/component/file-upload-rac-DbdkUbWM.js +0 -484
  108. package/dist/component/fixed-payment-rac-f9-01iDN.js +0 -62
  109. package/dist/component/form-element-classes-bLFmhsKw.js +0 -137
  110. package/dist/component/header-field-rac-DamDk5BR.js +0 -25
  111. package/dist/component/number-input-field-rac-BuYUzDWV.js +0 -93
  112. package/dist/component/rich-text-field-rac-C_qE7Ykg.js +0 -22
  113. package/dist/component/url-input-field-rac-CFDYkZ6I.js +0 -75
  114. package/dist/component/use-dropdown-option-class-name-3L5ZmNLK.js +0 -21
  115. 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
2
  import D 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 { 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 { b6 as fe, bj as ge, b4 as ve, d as ye, b9 as Ee, bd as de, b7 as be, aa as Se, I as Oe, U as he, v as Ie, p as Ne, X as Ae } from "./form-BTDgyr54.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 ke from "html-parse-stringify";
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-CwONErsY.js";
14
+ import { E as je } 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 De } from "./use-text-input-class-name-va1PzWFg.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
+ Te(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,13 +81,13 @@ 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 = {};
86
- function Be() {
84
+ var J = {};
85
+ function Ue() {
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
- 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"];
92
91
  function Q(e, t) {
93
92
  var a = Object.keys(e);
94
93
  if (Object.getOwnPropertySymbols) {
@@ -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
  });
@@ -120,7 +119,7 @@ function G(e) {
120
119
  }
121
120
  function qe(e) {
122
121
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
123
- return B(t);
122
+ return U(t);
124
123
  });
125
124
  }
126
125
  function M(e) {
@@ -136,7 +135,7 @@ function te(e, t) {
136
135
  return o.forEach(function(r, g) {
137
136
  if (typeof r == "string")
138
137
  a += "".concat(r);
139
- else if (B(r)) {
138
+ else if (U(r)) {
140
139
  var v = Object.keys(r.props).length, d = c.indexOf(r.type) > -1, b = r.props.children;
141
140
  if (!b && d && v === 0)
142
141
  a += "<".concat(r.type, "/>");
@@ -153,7 +152,7 @@ function te(e, t) {
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, Be), 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, "}}");
@@ -171,12 +170,12 @@ function Ge(e, t, a, o, c, r) {
171
170
  function b(y) {
172
171
  var h = M(y);
173
172
  h.forEach(function(s) {
174
- typeof s != "string" && (Y(s) ? b(G(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));
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 T = ke.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,18 +187,18 @@ 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 k = 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 = {});
195
194
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
196
195
  props: n.attrs
197
- }, N) : N, x = B(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);
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);
198
197
  if (typeof m == "string") {
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,18 +227,18 @@ 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] ? k : 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 && k ? l.push(w(m, p(p({}, m.props), {}, {
234
233
  key: E
235
- }), F)) : l.push(w(m, p(p({}, m.props), {}, {
234
+ }), k)) : 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
  }, []);
@@ -251,16 +250,16 @@ function Ge(e, t, a, o, c, r) {
251
250
  return G(j[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, T = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, j = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
255
254
  if (!i)
256
- 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;
257
256
  var I = A || i.t.bind(i) || function(q) {
258
257
  return q;
259
258
  };
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, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
264
263
  interpolation: p(p({}, v.interpolation), {}, {
265
264
  prefix: "#$?",
266
265
  suffix: "?$#"
@@ -273,8 +272,8 @@ function $e(e) {
273
272
  }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
274
273
  return _ ? R(_, j, 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: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
454
453
  email: a,
455
454
  hasError: v
456
455
  }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
457
456
  o(s), y(t);
458
457
  }, l = () => {
459
458
  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);
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);
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,35 +476,35 @@ 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, k)
481
480
  })));
482
481
  };
483
- f.Label = U.Label;
484
- f.Input = U.Input;
485
- f.Description = U.Description;
486
- f.Error = U.Error;
482
+ f.Label = B.Label;
483
+ f.Input = B.Input;
484
+ f.Description = B.Description;
485
+ f.Error = B.Error;
487
486
  f.Suggestion = ze;
488
487
  const nt = "_suggestion_lysve_1", ot = {
489
488
  suggestion: nt
490
489
  }, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
491
490
  content: e,
492
491
  locale: t
493
- }), It = () => {
492
+ }), ht = () => {
494
493
  const e = De();
495
494
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
496
- className: D(ke, H.label)
495
+ className: D(Oe, H.label)
497
496
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
498
- className: D(Fe, H.requiredMark)
497
+ className: D(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: D(Ie, H.error)
502
+ }, /* @__PURE__ */ u.createElement(je, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
503
+ className: D(Ne, H.description)
505
504
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
506
- className: D(je, ot.suggestion)
505
+ className: D(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 { bf as z, bg as H, b5 as K, ba as P, ay as Z, b9 as L, b6 as X, bb as U, ae as ee, I as te, h as se, m as ne, l as oe } from "./form-BTDgyr54.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-DVvX2QaH.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-DB1AzkvF.js";
13
+ import { u as me } from "./use-text-input-class-name-va1PzWFg.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 = z(), g = H(), 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,
@@ -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,35 +232,35 @@ 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)));
264
- }, He = () => /* @__PURE__ */ t.createElement(Oe, null);
263
+ }, ze = () => /* @__PURE__ */ t.createElement(Oe, null);
265
264
  export {
266
- He as EventsRepeaterRAC
265
+ ze as EventsRepeaterRAC
267
266
  };
@@ -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-CXcn5unY.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 { I as i, U as p, P as R, Q as O, v as _, p as L, R as I } from "./form-BTDgyr54.js";
8
+ import { u as D } from "./use-element-state-class-name-DB1AzkvF.js";
9
9
  const e = ({ children: r, className: n }) => /* @__PURE__ */ t.createElement(a, {
10
10
  className: n
11
11
  }, r);
@@ -18,8 +18,8 @@ const N = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
18
18
  content: r,
19
19
  locale: n
20
20
  }), S = () => {
21
- const r = I({
22
- globalClasses: D,
21
+ const r = D({
22
+ globalClasses: I,
23
23
  moduleClasses: c
24
24
  });
25
25
  return /* @__PURE__ */ t.createElement(e, {
@@ -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 { b9 as c, b6 as i, b1 as f, aK as x, aL as b } from "./form-BTDgyr54.js";
3
+ const H = ({ 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), h = l.Provider, v = ({ className: r }) => {
14
14
  const e = M(l);
15
15
  return /* @__PURE__ */ t.createElement("span", {
16
16
  className: r
17
17
  }, e ?? "");
18
18
  }, D = ({ 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(h, {
21
21
  value: p
22
22
  }, /* @__PURE__ */ t.createElement("div", {
23
23
  id: g,
24
- "data-hook": x(n),
24
+ "data-hook": b(n),
25
25
  className: r
26
26
  }, e)) : null;
27
27
  };
28
28
  D.Text = v;
29
29
  export {
30
- N as D,
30
+ H as D,
31
31
  D as E,
32
- k as a,
32
+ h as a,
33
33
  v as b
34
34
  };