@wix/form-elements 1.88.0 → 1.90.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-DG8GUJpn.js → appointment-rac-DtPa-JZ9.js} +6 -6
  2. package/dist/component/{bookings-address-rac-cNBSx-Pr.js → bookings-address-rac-4l8kqoLi.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CYdSoVWP.js → bookings-email-rac-76vUcGtU.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CQB2o8ww.js → bookings-first-name-rac-IS7LUMxg.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CzKvQond.js → bookings-header-rac-2wTzY64_.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-oK1BC5Am.js → bookings-last-name-rac-nxA75igv.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CZNEy748.js → bookings-login-bar-rac-CRi1nntD.js} +21 -21
  8. package/dist/component/{bookings-phone-rac-D_4WfolC.js → bookings-phone-rac-DZjvHly0.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CrEfeL4P.js → bookings-rich-text-rac-CYn1wwYQ.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CGqshW45.js → checkbox-field-rac-DAcFLQNT.js} +49 -49
  11. package/dist/component/{checkbox-group-field-headless-C3_5IR-E.js → checkbox-group-field-headless-BJmS0Ce5.js} +30 -30
  12. package/dist/component/{checkbox-group-field-rac-DIzdgyAw.js → checkbox-group-field-rac-CeFUt2Nr.js} +9 -9
  13. package/dist/component/{checkbox-group-rac-EvWVfusV.js → checkbox-group-rac-eDChVoVP.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-Bb3xB1ve.js → checkbox-indicator-module-classes-mJ7hl_8K.js} +1 -1
  15. package/dist/component/{checkbox-rac-CT_69Jei.js → checkbox-rac-DGmZdPnl.js} +1 -1
  16. package/dist/component/{contacts-address-rac-M8MZd777.js → contacts-address-rac-CGS83PMu.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-BS-8HeRD.js → contacts-birthdate-rac-DkP-7tZ9.js} +1 -1
  18. package/dist/component/{contacts-company-rac-gmgKLvic.js → contacts-company-rac-D_KYvkYe.js} +1 -1
  19. package/dist/component/{contacts-email-rac-QQ6E9VzX.js → contacts-email-rac-4lGD56E8.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-DR7XheRo.js → contacts-first-name-rac-C5L3U9QV.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-CBJgTkj5.js → contacts-last-name-rac-SL3FSAhE.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-CTl25HdK.js → contacts-phone-rac-DkUwJ56_.js} +1 -1
  23. package/dist/component/{contacts-position-rac-DBDOW7QR.js → contacts-position-rac-CeKJ5oJh.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-C0-uJ7fU.js → contacts-subscribe-rac-Bjldz7ed.js} +2 -2
  25. package/dist/component/{contacts-tax-id-rac-BtXc0V1S.js → contacts-tax-id-rac-D8QxyDiU.js} +1 -1
  26. package/dist/component/{date-availability-IQtwk-aX.js → date-availability-DdMI-zNj.js} +1 -1
  27. package/dist/component/{date-input-field-rac-2rbZiSgo.js → date-input-field-rac-Da6j7OP2.js} +99 -98
  28. package/dist/component/{date-input-rac-j4--xZ8s.js → date-input-rac-tlmhXr4A.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-Cl7ueVVn.js → date-picker-field-rac-ClNfMoR1.js} +43 -43
  30. package/dist/component/{date-picker-rac-BrObkuYv.js → date-picker-rac-BV3TGjsx.js} +1 -1
  31. package/dist/component/date-time-input-field-rac-5eHyKry0.js +424 -0
  32. package/dist/component/{date-time-input-rac-BShquR72.js → date-time-input-rac-DQk2ylbE.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-DNXYnHDM.js → dext-checkbox-group-rac-CBj9Y7Tp.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-RBMWmgyT.js → dext-checkbox-rac-C1KI5I2J.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-Dph_kV11.js → dext-date-picker-rac-D-8Ss0bx.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-C3_gQkBT.js → dext-date-time-input-rac-CRnwLBSZ.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-D34vhtST.js → dext-dropdown-rac-BVTEMS0W.js} +1 -1
  38. package/dist/component/{dext-email-rac-Yzf4-vSg.js → dext-email-rac-CXeM4iQj.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-D0jZXKaI.js → dext-number-input-rac-DMh08cy5.js} +1 -1
  40. package/dist/component/{dext-phone-rac-bqTpmTa0.js → dext-phone-rac-E1fFjkVW.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-AYPAzpqZ.js → dext-radio-group-rac-_BhRzFAr.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-DOSq-xVQ.js → dext-rating-input-rac-BRYVQOYw.js} +1 -1
  43. package/dist/component/{dext-tags-rac-BXtFTlL0.js → dext-tags-rac-C4iwtRcw.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-46wwBQg_.js → dext-text-area-rac-CQ1KAhkU.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-DVj6V1VG.js → dext-text-input-rac-xCoKhEt3.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-B5zu9R5K.js → dext-url-input-rac-DyoEEa_v.js} +1 -1
  47. package/dist/component/{donation-rac-DeBMssGg.js → donation-rac-CSDVxWUj.js} +51 -51
  48. package/dist/component/dropdown-field-headless-BXyP9KYi.js +101 -0
  49. package/dist/component/dropdown-field-rac-D1Z_Jbzd.js +36 -0
  50. package/dist/component/{dropdown-rac-bUNYh49x.js → dropdown-rac-BEi7CMKT.js} +1 -1
  51. package/dist/component/{ecom-address-rac-CtrERV3f.js → ecom-address-rac-DGl7rlwa.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-BrpwOSYM.js → ecom-subscription-checkbox-rac-D5HzzRQk.js} +6 -6
  53. package/dist/component/{email-input-field-rac-4yYxYc1a.js → email-input-field-rac-DHAK2K8E.js} +63 -63
  54. package/dist/component/{events-repeater-rac-B308C1JK.js → events-repeater-rac-N1mGqD4R.js} +35 -35
  55. package/dist/component/{events-rsvp-rac-C4_LJ3Wz.js → events-rsvp-rac-Ds9PnqHG.js} +6 -6
  56. package/dist/component/{field-error-headless-PMBWtb3Z.js → field-error-headless-9MKScovg.js} +12 -12
  57. package/dist/component/{field-label-headless-0racVfdo.js → field-label-headless-BaoLrUWJ.js} +12 -12
  58. package/dist/component/field-rac.module-BUvPquav.js +26 -0
  59. package/dist/component/{file-upload-rac-CZIHV2OL.js → file-upload-rac-CNbLRxUz.js} +116 -116
  60. package/dist/component/{fixed-payment-rac-COhRKeun.js → fixed-payment-rac-BFnvUksR.js} +15 -15
  61. package/dist/component/{form-UCnayEKT.js → form-B3YjGh0T.js} +129 -128
  62. package/dist/component/{form-element-classes--p2vz_Bm.js → form-element-classes-CLZXu-91.js} +79 -69
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-CpXa-NlC.js → header-field-rac-64pYqszP.js} +3 -3
  66. package/dist/component/{header-rac-CCsguMlZ.js → header-rac-BtPQVL59.js} +1 -1
  67. package/dist/component/{image-choice-rac-j2UH4Q4I.js → image-choice-rac-BsojUR1h.js} +20 -20
  68. package/dist/component/{index-Bxa3IDHm.js → index-CtiBRBqZ.js} +4 -4
  69. package/dist/component/{index-jg8dn8po.js → index-f2JBxCTd.js} +2 -2
  70. package/dist/component/{isObjectLike-Zw6J9g91.js → isObjectLike-BgqHLNgn.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-BeFAYL7V.js → multiline-address-field-rac-CH1hCUTf.js} +575 -574
  72. package/dist/component/{multiline-address-rac-BYr5_DQd.js → multiline-address-rac-CkOPWXfI.js} +1 -1
  73. package/dist/component/{number-input-field-rac-BNdJecUL.js → number-input-field-rac-B7U_08UK.js} +24 -24
  74. package/dist/component/{number-input-rac-Cqkj4JAF.js → number-input-rac-1jcchySg.js} +1 -1
  75. package/dist/component/{password-rac-D4iSs1ds.js → password-rac-CAaV8OrL.js} +21 -21
  76. package/dist/component/{payment-input-rac-BvBP47HP.js → payment-input-rac-B3Knhzrz.js} +25 -25
  77. package/dist/component/{phone-input-field-rac-Cggx8IlY.js → phone-input-field-rac-BGsvxtXz.js} +185 -184
  78. package/dist/component/{phone-rac-BISmYt_n.js → phone-rac-BUAW-44w.js} +1 -1
  79. package/dist/component/{product-list-rac-C1bm-U2G.js → product-list-rac-C7Nq3ZG4.js} +43 -43
  80. package/dist/component/quiz-radio-group-rac-CRa3I_NR.js +13 -0
  81. package/dist/component/{radio-button-module-classes-blfiatlc.js → radio-button-module-classes-BEvf741q.js} +7 -7
  82. package/dist/component/{radio-group-field-rac-BiiPUxbQ.js → radio-group-field-rac-BYTXrpnE.js} +5 -5
  83. package/dist/component/{radio-group-rac-Bn_W-3xz.js → radio-group-rac-138JrIhm.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-CjXIoNMc.js → rating-input-field-rac-D5pOVdFJ.js} +24 -24
  85. package/dist/component/{rating-input-rac-Ci4uPo22.js → rating-input-rac-DuK1q9JB.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-CDZniyrZ.js → rich-content-rac.module-H3hPgDtD.js} +4 -4
  87. package/dist/component/{rich-text-field-rac-BBRE9_Kr.js → rich-text-field-rac-Btwqm4wb.js} +5 -5
  88. package/dist/component/{rich-text-rac-C3MfJK-H.js → rich-text-rac-DIu8StCg.js} +1 -1
  89. package/dist/component/service-dropdown-rac-N8jqoUC_.js +146 -0
  90. package/dist/component/{services-multi-choice-rac-FDHRjDLS.js → services-multi-choice-rac-DlP0tB9d.js} +18 -18
  91. package/dist/component/{signature-rac-DfGPV0Mw.js → signature-rac-DuRzxIkO.js} +53 -53
  92. package/dist/component/{submit-button-rac-DRsqyJcl.js → submit-button-rac-DFmPp4jT.js} +7 -7
  93. package/dist/component/{tags-field-rac-CZ4FBGG9.js → tags-field-rac-DIgyn5P9.js} +56 -56
  94. package/dist/component/{tags-rac-CMHMsiwv.js → tags-rac-C6R6RHl2.js} +1 -1
  95. package/dist/component/text-area-field-rac-opBEx_8s.js +73 -0
  96. package/dist/component/{text-area-rac-BKGDa4E3.js → text-area-rac-D4iKhAqc.js} +1 -1
  97. package/dist/component/{text-input-field-rac-CU8eBRM4.js → text-input-field-rac-Ckp8Ierz.js} +6 -6
  98. package/dist/component/{text-input-headless-C1eFy2gl.js → text-input-headless-D-LXpqS3.js} +6 -6
  99. package/dist/component/{text-input-rac-DO0eI3ty.js → text-input-rac-ChxuJj-q.js} +1 -1
  100. package/dist/component/{time-input-rac-BJ0AL2Be.js → time-input-rac-C5_rEy7W.js} +23 -23
  101. package/dist/component/{url-input-field-rac-BtpAuKfp.js → url-input-field-rac-CBOnhquz.js} +22 -22
  102. package/dist/component/{url-input-rac-CjnPbcHt.js → url-input-rac-BY-BVg6r.js} +1 -1
  103. package/dist/component/use-dropdown-option-class-name-C1iEE28P.js +28 -0
  104. package/dist/component/{use-element-state-class-name-X08kIFhd.js → use-element-state-class-name--YLulmsU.js} +1 -1
  105. package/dist/component/{use-service-options-base-DfHhMveM.js → use-service-options-base-BNLFmnHJ.js} +3 -3
  106. package/dist/component/{use-text-input-class-name-BAuokapo.js → use-text-input-class-name-3Xp-hNDT.js} +4 -4
  107. package/dist/form.d.ts +3 -0
  108. package/package.json +3 -3
  109. package/dist/component/date-time-input-field-rac-mqea6CtW.js +0 -423
  110. package/dist/component/dropdown-field-headless-ShcoDfPa.js +0 -84
  111. package/dist/component/dropdown-field-rac-DruF_YdZ.js +0 -32
  112. package/dist/component/field-rac.module-D06m9T9x.js +0 -24
  113. package/dist/component/quiz-radio-group-rac-BhNhoOSI.js +0 -13
  114. package/dist/component/service-dropdown-rac-DQkk3SlS.js +0 -142
  115. package/dist/component/text-area-field-rac-BnRuG5y8.js +0 -73
@@ -1,8 +1,8 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
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";
2
+ import j from "classnames";
3
+ import u, { createContext as Z, useContext as z, createElement as H, 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 { ag as fe, at as ge, ae as ve, c as ye, aj as Ee, an as de, ah as be, f as Se } from "./form-UCnayEKT.js";
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-B3YjGh0T.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";
@@ -10,11 +10,11 @@ import Oe from "@babel/runtime/helpers/defineProperty";
10
10
  import he from "html-parse-stringify";
11
11
  import Ie from "@babel/runtime/helpers/classCallCheck";
12
12
  import Ne from "@babel/runtime/helpers/createClass";
13
- import { T as U } from "./text-input-headless-C1eFy2gl.js";
13
+ import { T as U } from "./text-input-headless-D-LXpqS3.js";
14
14
  import { E as Ae } from "./error-icon-hZxQ6DEy.js";
15
- import { s as H } from "./field-rac.module-D06m9T9x.js";
16
- import { y as Fe, P as ke, o as Te, i as xe, X as je } from "./form-element-classes--p2vz_Bm.js";
17
- import { u as De } from "./use-text-input-class-name-BAuokapo.js";
15
+ import { s as R } from "./field-rac.module-BUvPquav.js";
16
+ import { B as ke, R as Fe, q as Te, i as xe, Z as De } from "./form-element-classes-CLZXu-91.js";
17
+ import { u as je } from "./use-text-input-class-name-3Xp-hNDT.js";
18
18
  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
19
  "&": "&",
20
20
  "&": "&",
@@ -36,10 +36,10 @@ var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
36
36
  "…": "…",
37
37
  "/": "/",
38
38
  "/": "/"
39
- }, Pe = function(t) {
40
- return Le[t];
41
39
  }, Me = function(t) {
42
- return t.replace(Ce, Pe);
40
+ return Le[t];
41
+ }, Pe = function(t) {
42
+ return t.replace(Ce, Me);
43
43
  }, _e = {
44
44
  bindI18n: "languageChanged",
45
45
  bindI18nStore: "",
@@ -48,9 +48,9 @@ var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
48
48
  transWrapTextNodes: "",
49
49
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
50
50
  useSuspense: !0,
51
- unescape: Me
52
- }, we, He = z();
53
- function Re() {
51
+ unescape: Pe
52
+ }, we, Re = Z();
53
+ function He() {
54
54
  return _e;
55
55
  }
56
56
  (function() {
@@ -88,7 +88,7 @@ function Be() {
88
88
  t[a] = arguments[a];
89
89
  typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
90
90
  }
91
- var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
+ var Ue = ["format"], qe = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
92
92
  function Q(e, t) {
93
93
  var a = Object.keys(e);
94
94
  if (Object.getOwnPropertySymbols) {
@@ -118,12 +118,12 @@ function Y(e, t) {
118
118
  function G(e) {
119
119
  return e ? e.props ? e.props.children : e.children : [];
120
120
  }
121
- function qe(e) {
121
+ function Ve(e) {
122
122
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
123
123
  return B(t);
124
124
  });
125
125
  }
126
- function P(e) {
126
+ function M(e) {
127
127
  return Array.isArray(e) ? e : [e];
128
128
  }
129
129
  function Ye(e, t) {
@@ -132,7 +132,7 @@ function Ye(e, t) {
132
132
  }
133
133
  function te(e, t) {
134
134
  if (!e) return "";
135
- var a = "", o = P(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
135
+ var a = "", o = M(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
136
136
  return o.forEach(function(r, g) {
137
137
  if (typeof r == "string")
138
138
  a += "".concat(r);
@@ -153,7 +153,7 @@ function te(e, t) {
153
153
  } else if (r === null)
154
154
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
155
155
  else if (L(r) === "object") {
156
- var O = r.format, F = ee(r, Ue), A = Object.keys(F);
156
+ var O = r.format, k = ee(r, Ue), A = Object.keys(k);
157
157
  if (A.length === 1) {
158
158
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
159
159
  a += "{{".concat(S, "}}");
@@ -169,16 +169,16 @@ function Ge(e, t, a, o, c, r) {
169
169
  if (!e && !v) return [t];
170
170
  var d = {};
171
171
  function b(y) {
172
- var h = P(y);
172
+ var h = M(y);
173
173
  h.forEach(function(s) {
174
174
  typeof s != "string" && (Y(s) ? b(G(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
175
175
  });
176
176
  }
177
177
  b(e);
178
178
  var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
179
- function F(y, h, s) {
179
+ function k(y, h, s) {
180
180
  var i = G(y), I = S(i, h.children, s);
181
- return qe(i) && I.length === 0 ? i : I;
181
+ return Ve(i) && I.length === 0 ? i : I;
182
182
  }
183
183
  function A(y, h, s, i, I) {
184
184
  y.dummy && (y.children = h), s.push(w(y, p(p({}, y.props), {}, {
@@ -186,38 +186,38 @@ function Ge(e, t, a, o, c, r) {
186
186
  }), I ? void 0 : h));
187
187
  }
188
188
  function S(y, h, s) {
189
- var i = P(y), I = P(h);
189
+ var i = M(y), I = M(h);
190
190
  return I.reduce(function(l, n, E) {
191
- var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
191
+ var F = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
192
192
  if (n.type === "tag") {
193
193
  var N = i[parseInt(n.name, 10)];
194
194
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
195
195
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
196
196
  props: n.attrs
197
- }, N) : N, x = B(m), V = x && Y(n, !0) && !n.voidElement, M = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
+ }, N) : N, x = B(m), q = 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
198
  if (typeof m == "string") {
199
- var q = a.services.interpolator.interpolate(m, O, a.language);
200
- l.push(q);
201
- } else if (Y(m) || V) {
202
- var ne = F(m, n, s);
199
+ var V = a.services.interpolator.interpolate(m, O, a.language);
200
+ l.push(V);
201
+ } else if (Y(m) || q) {
202
+ var ne = k(m, n, s);
203
203
  A(m, ne, l, E);
204
- } else if (M) {
204
+ } else if (P) {
205
205
  var oe = S(i, n.children, s);
206
206
  l.push(w(m, p(p({}, m.props), {}, {
207
207
  key: E
208
208
  }), oe));
209
209
  } else if (Number.isNaN(parseFloat(n.name)))
210
210
  if (_) {
211
- var re = F(m, n, s);
211
+ var re = k(m, n, s);
212
212
  A(m, re, l, E, n.voidElement);
213
213
  } else if (o.transSupportBasicHtmlNodes && g.indexOf(n.name) > -1)
214
214
  if (n.voidElement)
215
- l.push(R(n.name, {
215
+ l.push(H(n.name, {
216
216
  key: "".concat(n.name, "-").concat(E)
217
217
  }));
218
218
  else {
219
219
  var se = S(i, n.children, s);
220
- l.push(R(n.name, {
220
+ l.push(H(n.name, {
221
221
  key: "".concat(n.name, "-").concat(E)
222
222
  }, se));
223
223
  }
@@ -228,39 +228,39 @@ function Ge(e, t, a, o, c, r) {
228
228
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
229
229
  }
230
230
  else if (L(m) === "object" && !x) {
231
- var $ = n.children[0] ? k : null;
231
+ var $ = n.children[0] ? F : null;
232
232
  $ && l.push($);
233
- } else n.children.length === 1 && k ? l.push(w(m, p(p({}, m.props), {}, {
233
+ } else n.children.length === 1 && F ? l.push(w(m, p(p({}, m.props), {}, {
234
234
  key: E
235
- }), k)) : l.push(w(m, p(p({}, m.props), {}, {
235
+ }), F)) : l.push(w(m, p(p({}, m.props), {}, {
236
236
  key: E
237
237
  })));
238
238
  } else if (n.type === "text") {
239
239
  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
- W ? l.push(R(W, {
240
+ W ? l.push(H(W, {
241
241
  key: "".concat(n.name, "-").concat(E)
242
242
  }, X)) : l.push(X);
243
243
  }
244
244
  return l;
245
245
  }, []);
246
246
  }
247
- var j = S([{
247
+ var D = S([{
248
248
  dummy: !0,
249
249
  children: e || []
250
- }], T, P(e || []));
251
- return G(j[0]);
250
+ }], T, M(e || []));
251
+ return G(D[0]);
252
252
  }
253
253
  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, 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();
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, D = ee(e, qe), y = z(Re) || {}, h = y.i18n, s = y.defaultNS, i = k || h || Ke();
255
255
  if (!i)
256
256
  return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
257
- var I = A || i.t.bind(i) || function(q) {
258
- return q;
257
+ var I = A || i.t.bind(i) || function(V) {
258
+ return V;
259
259
  };
260
260
  r && (v.context = r);
261
- var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
261
+ var l = p(p({}, He()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
262
262
  n = typeof n == "string" ? [n] : n || ["translation"];
263
- var E = b || te(t, l) || l.transEmptyNodeValue || c, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
263
+ var E = b || te(t, l) || l.transEmptyNodeValue || c, F = l.hashTransKey, N = c || (F ? F(E) : E), m = d ? v.interpolation : {
264
264
  interpolation: p(p({}, v.interpolation), {}, {
265
265
  prefix: "#$?",
266
266
  suffix: "?$#"
@@ -270,12 +270,12 @@ function $e(e) {
270
270
  }, d), m), {}, {
271
271
  defaultValue: E,
272
272
  ns: n
273
- }), V = N ? I(N, x) : E, M = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
274
- return _ ? R(_, j, M) : M;
273
+ }), q = N ? I(N, x) : E, P = Ge(T || t, q, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
274
+ return _ ? H(_, D, P) : P;
275
275
  }
276
- const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
276
+ const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Z(void 0);
277
277
  function Je() {
278
- const e = Z(ae);
278
+ const e = z(ae);
279
279
  if (e === void 0)
280
280
  throw new Error("useEmailSuggestion must be used inside <EmailInput>");
281
281
  return e;
@@ -285,7 +285,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
285
285
  activeSuggestion: e,
286
286
  applySuggestion: t
287
287
  }
288
- }, a), ze = ({ className: e }) => {
288
+ }, a), Ze = ({ className: e }) => {
289
289
  const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Je(), { t: c, i18n: r } = ge();
290
290
  return /* @__PURE__ */ u.createElement("div", {
291
291
  id: t,
@@ -311,7 +311,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
311
311
  })
312
312
  ]
313
313
  }) : null);
314
- }, Ze = {
314
+ }, ze = {
315
315
  "aol.com": [
316
316
  "aaol.com",
317
317
  "aol.con",
@@ -422,7 +422,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
422
422
  "comcast.nrt",
423
423
  "comcast.net.net"
424
424
  ]
425
- }, et = new Map(Object.entries(Ze).flatMap(([e, t]) => t.map((a) => [
425
+ }, et = new Map(Object.entries(ze).flatMap(([e, t]) => t.map((a) => [
426
426
  a,
427
427
  e
428
428
  ]))), tt = (e) => {
@@ -450,20 +450,20 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
450
450
  validate: v
451
451
  };
452
452
  }, 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: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
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: D } = at({
454
454
  email: a,
455
455
  hasError: v
456
456
  }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
457
457
  o(s), y(t);
458
458
  }, l = () => {
459
- j(), d == null || d();
460
- }, 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);
459
+ D(), 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);
461
461
  return /* @__PURE__ */ u.createElement(Se.Provider, {
462
462
  value: i
463
463
  }, /* @__PURE__ */ u.createElement(Qe, {
464
464
  activeSuggestion: s,
465
465
  applySuggestion: I
466
- }, /* @__PURE__ */ u.createElement(F, {
466
+ }, /* @__PURE__ */ u.createElement(k, {
467
467
  fieldId: t,
468
468
  renderLabel: () => n,
469
469
  renderInput: () => /* @__PURE__ */ u.createElement(pe, {
@@ -477,33 +477,33 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
477
477
  onBlur: l,
478
478
  onFocus: b
479
479
  }, E),
480
- renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, k)
480
+ renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, F)
481
481
  })));
482
482
  };
483
483
  f.Label = U.Label;
484
484
  f.Input = U.Input;
485
485
  f.Description = U.Description;
486
486
  f.Error = U.Error;
487
- f.Suggestion = ze;
487
+ f.Suggestion = Ze;
488
488
  const nt = "_suggestion_di65n_1", ot = {
489
489
  suggestion: nt
490
490
  }, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
491
491
  content: e,
492
492
  locale: t
493
493
  }), It = () => {
494
- const e = De();
494
+ const e = je();
495
495
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
496
- className: D(Fe, H.label)
496
+ className: j(ke, R.label)
497
497
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
498
- className: D(ke, H.requiredMark)
498
+ className: j(Fe, R.requiredMark)
499
499
  })), /* @__PURE__ */ u.createElement(f.Input, {
500
500
  className: e
501
501
  }), /* @__PURE__ */ u.createElement(f.Error, {
502
- className: D(Te, H.error)
502
+ className: j(Te, R.error)
503
503
  }, /* @__PURE__ */ u.createElement(Ae, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
504
- className: D(xe, H.description)
504
+ className: j(xe, R.description)
505
505
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
506
- className: D(je, ot.suggestion)
506
+ className: j(De, ot.suggestion)
507
507
  }));
508
508
  };
509
509
  export {
@@ -1,18 +1,18 @@
1
- import e, { useState as $, useMemo as v, useCallback as V, useRef as x } from "react";
1
+ import e, { useState as q, useMemo as v, useCallback as V, useRef as w } from "react";
2
2
  import T from "classnames";
3
- import { NumberField as z, Input as J, CheckboxField as Q, CheckboxButton as W, Button as w } from "react-aria-components";
4
- import { ap as U, aq as P, af as H, ak as K, u as Y, aj as D, ag as X, al as j, j as Z } from "./form-UCnayEKT.js";
3
+ import { NumberField as z, Input as J, CheckboxField as Q, CheckboxButton as W, Button as x } from "react-aria-components";
4
+ import { aq as U, ar as P, ag as H, al as K, v as Y, ak as D, ah as X, am as j, j as Z } from "./form-B3YjGh0T.js";
5
5
  import { f as b, a as L } from "./find-child-C60k4CxG.js";
6
- import { L as ee } from "./field-label-headless-0racVfdo.js";
6
+ import { L as ee } from "./field-label-headless-BaoLrUWJ.js";
7
7
  import { S as te } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  import { u as se } from "./use-invoke-callback-UH73A_J3.js";
9
9
  import { C as k } from "./chevron-down-icon-CcpVm6B-.js";
10
- import { C as ne } from "./checkbox-indicator-module-classes-Bb3xB1ve.js";
11
- import { s as B } from "./field-rac.module-D06m9T9x.js";
12
- import { y as oe, x as re, p as ae, r as le, q as ce } from "./form-element-classes--p2vz_Bm.js";
13
- import { u as ue } from "./use-element-state-class-name-X08kIFhd.js";
10
+ import { C as ne } from "./checkbox-indicator-module-classes-mJ7hl_8K.js";
11
+ import { s as B } from "./field-rac.module-BUvPquav.js";
12
+ import { B as oe, z as re, r as ae, t as le, s as ce } from "./form-element-classes-CLZXu-91.js";
13
+ import { u as ue } from "./use-element-state-class-name--YLulmsU.js";
14
14
  const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, errors: m = me, validation: c }) => {
15
- const [i, E] = $((r == null ? void 0 : r.length) || 0), a = v(() => r ?? [], [
15
+ const [i, E] = q((r == null ? void 0 : r.length) || 0), a = v(() => r ?? [], [
16
16
  r
17
17
  ]), C = U(), f = P(), d = H(), { validateFields: u } = K(), F = c.predefined.objectArrayOptions.maxItems, _ = v(() => Y({
18
18
  form: {
@@ -30,8 +30,8 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
30
30
  l,
31
31
  t
32
32
  ]), G = v(() => m.reduce((p, I) => {
33
- const [A, N] = I.errorPath.split("/"), h = parseInt(A, 10);
34
- return p[h] || (p[h] = []), p[h].push({
33
+ const [h, N] = I.errorPath.split("/"), A = parseInt(h, 10);
34
+ return p[A] || (p[A] = []), p[A].push({
35
35
  ...I,
36
36
  errorPath: N
37
37
  }), p;
@@ -41,18 +41,18 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
41
41
  const I = Number.isNaN(p) ? 0 : Math.min(Math.max(p, 0), F);
42
42
  E(I), s == null || s(Array.from({
43
43
  length: I
44
- }, (A, N) => a[N] ?? {}));
44
+ }, (h, N) => a[N] ?? {}));
45
45
  }, [
46
46
  F,
47
47
  a,
48
48
  s
49
- ]), S = V((p) => (I, A) => {
49
+ ]), S = V((p) => (I, h) => {
50
50
  const N = Array.from({
51
51
  length: i
52
- }, (h, q) => a[q] ?? {});
52
+ }, (A, $) => a[$] ?? {});
53
53
  N[p] = {
54
54
  ...N[p],
55
- [I]: A
55
+ [I]: h
56
56
  }, s == null || s(N);
57
57
  }, [
58
58
  i,
@@ -97,13 +97,13 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
97
97
  });
98
98
  }, Ee = ({ className: t }) => /* @__PURE__ */ e.createElement(ee, {
99
99
  className: t
100
- }, null), O = ({ children: t, className: n, groupClassName: l, ...r }) => {
101
- const { guestLimit: s, guestCount: m, onGuestCountChange: c } = r, { id: i, label: E, disabled: a, readOnly: C, onBlur: f, onFocus: d } = D(), { inputId: u, ariaDescribedBy: F } = X(), _ = se(f), G = x(null);
100
+ }, null), R = ({ children: t, className: n, groupClassName: l, ...r }) => {
101
+ const { guestLimit: s, guestCount: m, onGuestCountChange: c } = r, { id: i, label: E, disabled: a, readOnly: C, onBlur: f, onFocus: d } = D(), { inputId: u, ariaDescribedBy: F } = X(), _ = se(f), G = w(null);
102
102
  j(() => {
103
103
  var p;
104
104
  (p = G.current) == null || p.focus();
105
105
  }, i);
106
- const g = b(t, O.Decrement), S = b(t, O.Increment);
106
+ const g = b(t, R.Decrement), S = b(t, R.Increment);
107
107
  return /* @__PURE__ */ e.createElement(z, {
108
108
  className: l,
109
109
  "aria-label": E,
@@ -123,19 +123,19 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
123
123
  className: n,
124
124
  inputMode: "numeric"
125
125
  }), S, g);
126
- }, Ce = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(w, {
126
+ }, Ce = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(x, {
127
127
  slot: "decrement",
128
128
  className: n
129
- }, t), ge = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(w, {
129
+ }, t), ge = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(x, {
130
130
  slot: "increment",
131
131
  className: n
132
- }, t), R = ({ children: t, className: n, ...l }) => {
133
- const { guestCount: r, onGuestCountChange: s } = l, { id: m, label: c, disabled: i, readOnly: E, onBlur: a, onFocus: C } = D(), { inputId: f, ariaDescribedBy: d } = X(), u = x(null);
132
+ }, t), y = ({ children: t, className: n, ...l }) => {
133
+ const { guestCount: r, onGuestCountChange: s } = l, { id: m, label: c, disabled: i, readOnly: E, onBlur: a, onFocus: C } = D(), { inputId: f, ariaDescribedBy: d } = X(), u = w(null);
134
134
  j(() => {
135
135
  var g;
136
136
  (g = u.current) == null || g.focus();
137
137
  }, m);
138
- const F = b(t, R.Input), _ = b(t, R.Label), G = V((g) => {
138
+ const F = b(t, y.Input), _ = b(t, y.Label), G = V((g) => {
139
139
  s(g ? 1 : 0);
140
140
  }, [
141
141
  s
@@ -207,16 +207,16 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
207
207
  fieldActions: a
208
208
  }));
209
209
  };
210
- O.Decrement = Ce;
211
- O.Increment = ge;
212
- R.Input = te;
213
- R.Label = fe;
210
+ R.Decrement = Ce;
211
+ R.Increment = ge;
212
+ y.Input = te;
213
+ y.Label = fe;
214
214
  M.Guest = Fe;
215
215
  o.Label = Ee;
216
- o.GuestCount = O;
217
- o.GuestToggle = R;
216
+ o.GuestCount = R;
217
+ o.GuestToggle = y;
218
218
  o.Guests = M;
219
- const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11veo_28", Ie = "_decrement_11veo_29", y = {
219
+ const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11veo_28", Ie = "_decrement_11veo_29", O = {
220
220
  container: Ge,
221
221
  countGroup: be,
222
222
  increment: _e,
@@ -227,20 +227,20 @@ const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11
227
227
  moduleClasses: ne
228
228
  });
229
229
  return /* @__PURE__ */ e.createElement(o, {
230
- className: y.container
230
+ className: O.container
231
231
  }, /* @__PURE__ */ e.createElement(o.Label, {
232
232
  className: T(oe, B.label)
233
233
  }), /* @__PURE__ */ e.createElement(o.GuestCount, {
234
234
  className: B.innerInput,
235
- groupClassName: T(re, B.input, y.countGroup)
235
+ groupClassName: T(re, B.input, O.countGroup)
236
236
  }, /* @__PURE__ */ e.createElement(o.GuestCount.Increment, {
237
- className: y.increment
237
+ className: O.increment
238
238
  }, /* @__PURE__ */ e.createElement(k, {
239
239
  style: {
240
240
  transform: "rotate(180deg)"
241
241
  }
242
242
  })), /* @__PURE__ */ e.createElement(o.GuestCount.Decrement, {
243
- className: y.decrement
243
+ className: O.decrement
244
244
  }, /* @__PURE__ */ e.createElement(k, null))), /* @__PURE__ */ e.createElement(o.GuestToggle, {
245
245
  className: T(ae, B.checkbox)
246
246
  }, /* @__PURE__ */ e.createElement(o.GuestToggle.Input, {
@@ -248,7 +248,7 @@ const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11
248
248
  }), /* @__PURE__ */ e.createElement(o.GuestToggle.Label, {
249
249
  className: le
250
250
  })), /* @__PURE__ */ e.createElement(o.Guests, {
251
- className: y.container
251
+ className: O.container
252
252
  }, /* @__PURE__ */ e.createElement(o.Guests.Guest, null)));
253
253
  }, ke = () => /* @__PURE__ */ e.createElement(Ne, null);
254
254
  export {
@@ -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-blfiatlc.js";
4
+ import { a, s as o, R as c } from "./radio-button-module-classes-BEvf741q.js";
5
5
  import { E } from "./error-icon-hZxQ6DEy.js";
6
- import { s as l } from "./field-rac.module-D06m9T9x.js";
7
- import { y as i, P as p, Q as R, R as _, o as O, i as L, S } from "./form-element-classes--p2vz_Bm.js";
8
- import { u } from "./use-element-state-class-name-X08kIFhd.js";
6
+ import { s as l } from "./field-rac.module-BUvPquav.js";
7
+ import { B as i, R as p, S as R, T as _, q as O, i as L, U as S } from "./form-element-classes-CLZXu-91.js";
8
+ import { u } from "./use-element-state-class-name--YLulmsU.js";
9
9
  const e = ({ children: r }) => /* @__PURE__ */ t.createElement(a, null, r);
10
10
  e.Label = a.Label;
11
11
  e.Options = a.Options;
@@ -39,7 +39,7 @@ const D = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
39
39
  }, /* @__PURE__ */ t.createElement(E, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
40
40
  className: s(L, l.description)
41
41
  }, D));
42
- }, T = () => /* @__PURE__ */ t.createElement(I, null);
42
+ }, b = () => /* @__PURE__ */ t.createElement(I, null);
43
43
  export {
44
- T as EventsRsvpRAC
44
+ b as EventsRsvpRAC
45
45
  };
@@ -1,34 +1,34 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { aj as c, ag as i, ab as f, T as x, U as h } from "./form-UCnayEKT.js";
3
- const b = ({ className: r, children: e }) => {
2
+ import { ak as c, ah as i, ac as f, U as h, W as x } from "./form-B3YjGh0T.js";
3
+ const N = ({ 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": x(o)
8
+ "data-hook": h(o)
9
9
  }, e({
10
10
  content: s,
11
11
  locale: n
12
12
  })) : null;
13
- }, l = /* @__PURE__ */ m(void 0), v = l.Provider, D = ({ className: r }) => {
13
+ }, l = /* @__PURE__ */ m(void 0), k = 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
- }, k = ({ className: r, children: e, ...s }) => {
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(v, {
20
+ return u ? /* @__PURE__ */ t.createElement(k, {
21
21
  value: p
22
22
  }, /* @__PURE__ */ t.createElement("div", {
23
23
  id: g,
24
- "data-hook": h(n),
24
+ "data-hook": x(n),
25
25
  className: r
26
26
  }, e)) : null;
27
27
  };
28
- k.Text = D;
28
+ D.Text = v;
29
29
  export {
30
- b as D,
31
- k as E,
32
- v as a,
33
- D as b
30
+ N as D,
31
+ D as E,
32
+ k as a,
33
+ v as b
34
34
  };
@@ -1,11 +1,11 @@
1
- import { aj as m, R as d, q as p, ag as D, at as B } from "./form-UCnayEKT.js";
1
+ import { ak as m, R as d, r as p, ah as D, au as B } from "./form-B3YjGh0T.js";
2
2
  import l from "react";
3
- import { f as g } from "./find-child-C60k4CxG.js";
4
- import { sdk as L } from "@wix/image-kit";
3
+ import { f as L } from "./find-child-C60k4CxG.js";
4
+ import { sdk as R } from "@wix/image-kit";
5
5
  function N({ id: e, width: t, height: n }, a, r, o = "fill") {
6
- return (o === "fit" ? L.getScaleToFitImageURL : L.getScaleToFillImageURL)(e, t, n, typeof a == "number" ? a : parseInt(a, 10), typeof r == "number" ? r : parseInt(r, 10));
6
+ return (o === "fit" ? R.getScaleToFitImageURL : R.getScaleToFillImageURL)(e, t, n, typeof a == "number" ? a : parseInt(a, 10), typeof r == "number" ? r : parseInt(r, 10));
7
7
  }
8
- var u = /* @__PURE__ */ (function(e) {
8
+ var c = /* @__PURE__ */ (function(e) {
9
9
  return e.TOP = "top", e.BOTTOM = "bottom", e;
10
10
  })({});
11
11
  const S = {
@@ -15,14 +15,14 @@ const S = {
15
15
  margin: 0,
16
16
  padding: 0
17
17
  }, U = "​", i = ({ children: e, className: t, ...n }) => {
18
- const { as: a = "label", requiredIndicatorHidden: r = !1, label: o } = n, { label: T, required: R = !1, hideLabel: q = !1, requiredIndicatorType: F = d.ASTERISK, requiredIndicatorPlacement: O = p.AFTER_FIELD_TITLE, media: y, mediaSettings: s } = m(), { labelId: A, inputId: P } = D(), _ = a, E = R && !r ? g(e, i.Required) : null, c = y ? g(e, i.Image) : null, f = (s == null ? void 0 : s.imagePosition) ?? u.TOP, h = F === d.ASTERISK && O === p.BEFORE_FIELD_TITLE, I = (o ?? T) || U, b = /* @__PURE__ */ l.createElement(_, {
18
+ const { as: a = "label", requiredIndicatorHidden: r = !1, label: o } = n, { label: T, required: g = !1, hideLabel: F = !1, requiredIndicatorType: q = d.ASTERISK, requiredIndicatorPlacement: O = p.AFTER_FIELD_TITLE, media: y, mediaSettings: s } = m(), { labelId: A, inputId: P } = D(), _ = a, E = g && !r ? L(e, i.Required) : null, u = y ? L(e, i.Image) : null, f = (s == null ? void 0 : s.imagePosition) ?? c.TOP, h = q === d.ASTERISK && O === p.BEFORE_FIELD_TITLE, I = (o ?? T) || U, b = /* @__PURE__ */ l.createElement(_, {
19
19
  id: A,
20
20
  htmlFor: a === "label" ? P : void 0,
21
21
  className: t,
22
- style: q ? S : void 0
22
+ style: F ? S : void 0
23
23
  }, h ? /* @__PURE__ */ l.createElement(l.Fragment, null, E, I) : /* @__PURE__ */ l.createElement(l.Fragment, null, I, E));
24
- return c ? /* @__PURE__ */ l.createElement("div", null, f === u.TOP ? c : null, b, f === u.BOTTOM ? c : null) : b;
25
- }, v = ({ className: e }) => {
24
+ return u ? /* @__PURE__ */ l.createElement("div", null, f === c.TOP ? u : null, b, f === c.BOTTOM ? u : null) : b;
25
+ }, k = ({ className: e }) => {
26
26
  const { t } = B(), { requiredIndicatorType: n } = m();
27
27
  return n === d.TEXT ? /* @__PURE__ */ l.createElement("span", {
28
28
  className: e,
@@ -31,7 +31,7 @@ const S = {
31
31
  className: e,
32
32
  "aria-hidden": "true"
33
33
  }, "*");
34
- }, x = ({ className: e }) => {
34
+ }, v = ({ className: e }) => {
35
35
  const { media: t, mediaSettings: n } = m();
36
36
  if (!t)
37
37
  return null;
@@ -44,8 +44,8 @@ const S = {
44
44
  "data-alignment": n == null ? void 0 : n.imageAlignment
45
45
  }) : null;
46
46
  };
47
- i.Required = v;
48
- i.Image = x;
47
+ i.Required = k;
48
+ i.Image = v;
49
49
  export {
50
50
  i as L,
51
51
  N as g
@@ -0,0 +1,26 @@
1
+ const o = "_label_1o0o9_1", e = "_requiredMark_1o0o9_11", t = "_input_1o0o9_16", n = "_inputGroup_1o0o9_17", c = "_inputHover_1o0o9_69", _ = "_innerInput_1o0o9_130", r = "_dropdownTrigger_1o0o9_178", p = "_dropdownIcon_1o0o9_188", s = "_dropdownPopover_1o0o9_207", i = "_selectPopover_1o0o9_213", u = "_selectOption_1o0o9_240", d = "_selectOptionHover_1o0o9_263", l = "_selectOptionSelected_1o0o9_267", h = "_selectOptionWithoutFocusRing_1o0o9_271", b = "_description_1o0o9_277", k = "_error_1o0o9_293", v = "_checkbox_1o0o9_312", I = "_checkboxInput_1o0o9_335", x = "_checkboxInputSelected_1o0o9_374", O = "_checkboxInputHover_1o0o9_378", a = "_uploadButton_1o0o9_425", g = {
2
+ label: o,
3
+ requiredMark: e,
4
+ input: t,
5
+ inputGroup: n,
6
+ inputHover: c,
7
+ innerInput: _,
8
+ dropdownTrigger: r,
9
+ dropdownIcon: p,
10
+ dropdownPopover: s,
11
+ selectPopover: i,
12
+ selectOption: u,
13
+ selectOptionHover: d,
14
+ selectOptionSelected: l,
15
+ selectOptionWithoutFocusRing: h,
16
+ description: b,
17
+ error: k,
18
+ checkbox: v,
19
+ checkboxInput: I,
20
+ checkboxInputSelected: x,
21
+ checkboxInputHover: O,
22
+ uploadButton: a
23
+ };
24
+ export {
25
+ g as s
26
+ };