@wix/form-elements 1.75.0 → 1.76.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 (107) hide show
  1. package/dist/component/appointment-rac-BQsFMmBg.js +1016 -0
  2. package/dist/component/{bookings-address-rac-VXnUSx8U.js → bookings-address-rac-AJNyTdok.js} +1 -1
  3. package/dist/component/{bookings-email-rac-B2_ad7Y2.js → bookings-email-rac-BHZ0MFgI.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-9BAY5vLx.js → bookings-first-name-rac-Bw5FuWNX.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B6IgiMOA.js → bookings-header-rac-C1M2Pg1f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DoXEDO8K.js → bookings-last-name-rac-DKkPY0CO.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DprQIFyj.js → bookings-login-bar-rac-P6pziSl1.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-VMoXtejZ.js → bookings-phone-rac-CiOZWKHz.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DSzD2jBy.js → bookings-rich-text-rac-D9ZComtY.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BLihwz3C.js → checkbox-field-rac-4zG3Sf1c.js} +18 -17
  11. package/dist/component/{checkbox-group-field-headless-BItyo_iD.js → checkbox-group-field-headless-DN2aNw9g.js} +4 -4
  12. package/dist/component/{checkbox-group-field-rac-Bov3yFC6.js → checkbox-group-field-rac-B1qhet83.js} +12 -11
  13. package/dist/component/{checkbox-group-rac-Fit-qssk.js → checkbox-group-rac-DGsE7xGu.js} +1 -1
  14. package/dist/component/checkbox-indicator-module-classes-BcScu147.js +17 -0
  15. package/dist/component/{checkbox-rac-CSsY83Nx.js → checkbox-rac-CFWQW9_K.js} +1 -1
  16. package/dist/component/{contacts-address-rac-iJuzUQe4.js → contacts-address-rac-G5ZH3Odo.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-0g2e8cQP.js → contacts-birthdate-rac-C7TDUfT0.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BC0tK4WQ.js → contacts-company-rac-8queUhWT.js} +1 -1
  19. package/dist/component/{contacts-email-rac-dkuclkiH.js → contacts-email-rac-CYOs5N_I.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-BSUkCuht.js → contacts-first-name-rac-D8Goc_Ym.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-08bjVdN2.js → contacts-last-name-rac-lBmtuEnr.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DVb0Z_0M.js → contacts-phone-rac-DSUWUNBX.js} +1 -1
  23. package/dist/component/{contacts-position-rac-AGUDkv7U.js → contacts-position-rac-wA-aw5Id.js} +1 -1
  24. package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +13 -0
  25. package/dist/component/{contacts-tax-id-rac-C7moEz5b.js → contacts-tax-id-rac-BpjVM1Ye.js} +1 -1
  26. package/dist/component/{date-availability-DagbE0C8.js → date-availability-CeiMjrtD.js} +1 -1
  27. package/dist/component/{date-input-field-rac-BWHKsJGy.js → date-input-field-rac-CVaajAFM.js} +4 -4
  28. package/dist/component/{date-input-rac-BlZlmf-s.js → date-input-rac-DhEzawuM.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BSNbYirD.js → date-picker-field-rac-1Q6yyNmK.js} +8 -8
  30. package/dist/component/{date-picker-rac-D3IWMst5.js → date-picker-rac-BCGtmXMJ.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-YKTwuIUs.js → date-time-input-field-rac-Dd-HNgKP.js} +16 -16
  32. package/dist/component/{date-time-input-rac-CZRsKm1P.js → date-time-input-rac-CsCWEsH5.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-BE7ILz-f.js → dext-checkbox-group-rac-CauN5uuV.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-B6-94A1N.js → dext-checkbox-rac-q-g9gDnw.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-Bx2hUFNm.js → dext-date-picker-rac-CZT3dTLv.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-DPKD6quz.js → dext-date-time-input-rac-DVUoZZbX.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-WrSfNRa5.js → dext-dropdown-rac-GRltutt5.js} +1 -1
  38. package/dist/component/{dext-email-rac-8PSMKNYG.js → dext-email-rac-74Y8S9GA.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-b9YSzEkN.js → dext-number-input-rac-CF9d_GTl.js} +1 -1
  40. package/dist/component/{dext-phone-rac-CkapN3c1.js → dext-phone-rac-DObx_gOd.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-CfNMkwUa.js → dext-radio-group-rac-CzU9KX5_.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-Cun_t7HQ.js → dext-rating-input-rac-BjRwwgXr.js} +1 -1
  43. package/dist/component/{dext-tags-rac-DLZ91c3w.js → dext-tags-rac-Vif4x1yF.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-N9A7QfYw.js → dext-text-area-rac-DmZwl_ax.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-XbVzAPHH.js → dext-text-input-rac-B6FVbjUM.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BiaWZ49r.js → dext-url-input-rac-17Dj3ICM.js} +1 -1
  47. package/dist/component/{donation-rac-BEIBjLHK.js → donation-rac-bgHep0Xi.js} +119 -119
  48. package/dist/component/{dropdown-field-headless-CQfZ3zPD.js → dropdown-field-headless-BGfJ1FyZ.js} +3 -3
  49. package/dist/component/{dropdown-field-rac-ubZN_Abg.js → dropdown-field-rac-DGiysJQY.js} +2 -2
  50. package/dist/component/{dropdown-rac-CHYFrEjY.js → dropdown-rac-FHjz8fKp.js} +1 -1
  51. package/dist/component/{ecom-address-rac-C7qJlrsv.js → ecom-address-rac-DSbpf4z8.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-CONIZsTy.js → ecom-subscription-checkbox-rac-DiZWNwnt.js} +3 -3
  53. package/dist/component/{email-input-field-rac-Dg0p6WZe.js → email-input-field-rac-BQKK2O7L.js} +48 -48
  54. package/dist/component/{events-repeater-rac-BoxNl7gn.js → events-repeater-rac-Dudnyhal.js} +21 -20
  55. package/dist/component/{events-rsvp-rac-BU5d2n4k.js → events-rsvp-rac-008H5Ska.js} +2 -2
  56. package/dist/component/{field-error-headless-uQOcm2Ak.js → field-error-headless-C5ZsFUKv.js} +1 -1
  57. package/dist/component/{field-label-headless-Bzh7f2Ji.js → field-label-headless-CS5OYsiI.js} +1 -1
  58. package/dist/component/{file-upload-rac-BTt-rJE5.js → file-upload-rac-bQ2QOO8Q.js} +36 -36
  59. package/dist/component/{fixed-payment-rac-1NOx3D-U.js → fixed-payment-rac-B6FvXoCU.js} +6 -6
  60. package/dist/component/{form-DCmjj8mZ.js → form-BpHElSwH.js} +69 -69
  61. package/dist/component/{form-element-classes-Dn33C01k.js → form-element-classes-BXNs5k3q.js} +59 -51
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-lyvjy6h2.js → header-field-rac-D4UYcmok.js} +3 -3
  65. package/dist/component/{header-rac-B4iPEbNj.js → header-rac-KavPiBdn.js} +1 -1
  66. package/dist/component/{image-choice-rac-CmEG-waj.js → image-choice-rac-BJQqBhBD.js} +19 -19
  67. package/dist/component/{index-UZsDOe8e.js → index-RSEYrQef.js} +2 -2
  68. package/dist/component/{index-D-CKLZBh.js → index-Y8iTxLat.js} +4 -4
  69. package/dist/component/{isObjectLike-BSGOU4jF.js → isObjectLike-jwHec4Ap.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-Dz0NEjSO.js → multiline-address-field-rac-D4Ibno80.js} +67 -67
  71. package/dist/component/{multiline-address-rac-D_MAanxb.js → multiline-address-rac-CrTSjzBN.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CvjeAm-W.js → number-input-field-rac-DW1SjB-Z.js} +16 -16
  73. package/dist/component/{number-input-rac-oKo2Wx_c.js → number-input-rac-CdE_hRbA.js} +1 -1
  74. package/dist/component/{password-rac-CrnkKtfp.js → password-rac-BCxl5mMQ.js} +9 -9
  75. package/dist/component/{payment-input-rac-BoVdGyvV.js → payment-input-rac-DmO4s4ue.js} +15 -15
  76. package/dist/component/{phone-input-field-rac-DksXoAnr.js → phone-input-field-rac-BYAnwk5h.js} +36 -36
  77. package/dist/component/{phone-rac-BR0iX5TL.js → phone-rac-gS4k9Yn8.js} +1 -1
  78. package/dist/component/{product-list-rac-C4rvv5k-.js → product-list-rac-CO0o3yOg.js} +50 -49
  79. package/dist/component/{quiz-radio-group-rac-BxKmUUf8.js → quiz-radio-group-rac-Dhk7nkzb.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-Dj4rkkKF.js → radio-group-field-rac-DdlyQ3m6.js} +2 -2
  81. package/dist/component/{radio-group-field-rac.module-CeBLm9QF.js → radio-group-field-rac.module-emin6sSc.js} +3 -3
  82. package/dist/component/{radio-group-rac-BpnfptSZ.js → radio-group-rac-B-9q91fJ.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-BP0928qI.js → rating-input-field-rac-VDaJKq-n.js} +17 -17
  84. package/dist/component/{rating-input-rac-DaEgvjIS.js → rating-input-rac-BVO62LmE.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-zvvH-tWq.js → rich-content-rac.module-CdiaAjxG.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CFCRiMl_.js → rich-text-field-rac-C4RrbyEX.js} +3 -3
  87. package/dist/component/{rich-text-rac-BRuLnyN4.js → rich-text-rac-BG376ww9.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-C82l5y0C.js → service-dropdown-rac-Dy6-OpVR.js} +10 -10
  89. package/dist/component/{services-multi-choice-rac-BAHBSgAT.js → services-multi-choice-rac-BKW9MP_b.js} +21 -20
  90. package/dist/component/{signature-rac-CIkm3SCW.js → signature-rac-Cxgixp4o.js} +4 -4
  91. package/dist/component/{submit-button-rac-Bz-X9Tbo.js → submit-button-rac-BqPJ7WPI.js} +2 -2
  92. package/dist/component/{tags-field-rac-Dn8VyPzT.js → tags-field-rac-wwqpztG7.js} +23 -23
  93. package/dist/component/{tags-rac-BJpVdunR.js → tags-rac-DUxITYxU.js} +1 -1
  94. package/dist/component/{text-area-field-rac-Pp9HnCS5.js → text-area-field-rac-Cen6O33S.js} +6 -6
  95. package/dist/component/{text-area-rac-DbwAFdel.js → text-area-rac-CRlO56GA.js} +1 -1
  96. package/dist/component/{text-input-field-rac-x4ByKmBv.js → text-input-field-rac-CbnKn03g.js} +2 -2
  97. package/dist/component/{text-input-headless-fbiKci5q.js → text-input-headless-C_NTJmLe.js} +3 -3
  98. package/dist/component/{text-input-rac-jyCKxyCt.js → text-input-rac-DvwV7Igm.js} +1 -1
  99. package/dist/component/{time-input-rac-C5Cvmxtt.js → time-input-rac-TSEXiODs.js} +12 -12
  100. package/dist/component/{url-input-field-rac-CGpCEn2A.js → url-input-field-rac-Cxgh9T8s.js} +4 -4
  101. package/dist/component/{url-input-rac-DhFL8fGq.js → url-input-rac-DNw-Jg1U.js} +1 -1
  102. package/dist/component/use-element-state-class-name-CC65g9mT.js +15 -0
  103. package/dist/component/{use-service-options-base-CgT1IKB3.js → use-service-options-base-EFrxTpGm.js} +1 -1
  104. package/package.json +2 -2
  105. package/dist/component/appointment-rac-7xVKSm2N.js +0 -1005
  106. package/dist/component/contacts-subscribe-rac-6jAQHibT.js +0 -13
  107. package/dist/component/use-element-state-class-name-Bnw7sY9P.js +0 -29
@@ -1,20 +1,20 @@
1
- import { RicosViewer as Q } from "@wix/ricos/viewer";
1
+ import { RicosViewer as G } from "@wix/ricos/viewer";
2
2
  import C from "classnames";
3
3
  import n, { useMemo as w, createContext as We, useContext as De, useState as ye, useRef as B, useCallback as D, useEffect as Ve } from "react";
4
4
  import { UNSAFE_PortalProvider as _t } from "react-aria";
5
- import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as Mt, u as qt, z as V, F as K, as as Me, a2 as at, ai as P, af as T, ak as le, ae as Ct, Q as wt, C as he, a0 as xt, a4 as Bt, ap as kt, aj as $t, ao as Ut, a7 as Wt, Y as Vt, a6 as Kt, al as Yt, j as Ht } from "./form-DCmjj8mZ.js";
5
+ import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as Mt, u as qt, z as V, F as K, as as Me, a2 as at, ai as P, af as T, ak as le, ae as Ct, Q as wt, C as he, a0 as xt, a4 as Bt, ap as kt, aj as $t, ao as Ut, a7 as Wt, Y as Vt, a6 as Kt, al as Yt, j as Ht } from "./form-BpHElSwH.js";
6
6
  import { f as E, a as h } from "./find-child-C60k4CxG.js";
7
7
  import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
8
8
  import { TextField as Ce, Input as ie, ComboBoxStateContext as It, ComboBox as Re, Popover as Ae, ListBox as _e, ListBoxItem as Pe, Group as Lt, Button as Nt } from "react-aria-components";
9
- import { D as ce, E as de } from "./field-error-headless-uQOcm2Ak.js";
10
- import { L as ue } from "./field-label-headless-Bzh7f2Ji.js";
11
- import { e as Gt, c as Qt, a as Xt, r as Ot } from "./isObjectLike-BSGOU4jF.js";
12
- import { u as zt } from "./use-invoke-callback-UH73A_J3.js";
9
+ import { D as ce, E as de } from "./field-error-headless-C5ZsFUKv.js";
10
+ import { L as ue } from "./field-label-headless-CS5OYsiI.js";
11
+ import { e as zt, c as Gt, a as Qt, r as Ot } from "./isObjectLike-jwHec4Ap.js";
12
+ import { u as Xt } from "./use-invoke-callback-UH73A_J3.js";
13
13
  import { C as lt } from "./chevron-down-icon-CcpVm6B-.js";
14
- import { E as X } from "./error-icon-hZxQ6DEy.js";
14
+ import { E as Q } from "./error-icon-hZxQ6DEy.js";
15
15
  import { H as fe } from "./custom-focus-class-_483Pkwp.js";
16
16
  import { s as f } from "./field-rac.module-DjmaTYkc.js";
17
- import { y as z, Q as Z, x as ee, B as ge, p as te, i as ne } from "./form-element-classes-Dn33C01k.js";
17
+ import { z as X, Q as Z, y as ee, B as ge, p as te, i as ne } from "./form-element-classes-BXNs5k3q.js";
18
18
  const Zt = (e, t, o) => {
19
19
  var a, l, i, s;
20
20
  const r = (a = e.steps) == null ? void 0 : a.map((d) => {
@@ -311,7 +311,7 @@ var we, it;
311
311
  function fn() {
312
312
  if (it) return we;
313
313
  it = 1;
314
- var e = Gt(), t = function() {
314
+ var e = zt(), t = function() {
315
315
  return e.Date.now();
316
316
  };
317
317
  return we = t, we;
@@ -342,7 +342,7 @@ var ke, ut;
342
342
  function In() {
343
343
  if (ut) return ke;
344
344
  ut = 1;
345
- var e = Qt(), t = Xt(), o = "[object Symbol]";
345
+ var e = Gt(), t = Qt(), o = "[object Symbol]";
346
346
  function r(a) {
347
347
  return typeof a == "symbol" || t(a) && e(a) == o;
348
348
  }
@@ -722,7 +722,7 @@ const Dt = ({ readOnly: e, disabled: t } = {}) => {
722
722
  t
723
723
  ]);
724
724
  }, _n = (e, t) => e.find((o) => o.label.toLocaleLowerCase() === t.toLocaleLowerCase().trim()), Rt = ({ options: e, value: t, commit: o, clear: r, onBlur: a }) => {
725
- const [l, i] = ye(null), s = zt(a), d = w(() => {
725
+ const [l, i] = ye(null), s = Xt(a), d = w(() => {
726
726
  var b;
727
727
  return t ? ((b = e.find((p) => p.value === t)) == null ? void 0 : b.label) ?? "" : "";
728
728
  }, [
@@ -1009,8 +1009,8 @@ const $ = ({ children: e }) => {
1009
1009
  placeholder: r,
1010
1010
  onFocus: i
1011
1011
  });
1012
- }, Ge = ({ children: e, className: t }) => {
1013
- const o = E(e, Ge.Option);
1012
+ }, ze = ({ children: e, className: t }) => {
1013
+ const o = E(e, ze.Option);
1014
1014
  return /* @__PURE__ */ n.createElement(Ae, {
1015
1015
  className: t,
1016
1016
  containerPadding: 0,
@@ -1029,11 +1029,11 @@ const $ = ({ children: e }) => {
1029
1029
  textValue: r
1030
1030
  }, r);
1031
1031
  };
1032
- Ge.Option = $n;
1032
+ ze.Option = $n;
1033
1033
  Je.Input = kn;
1034
1034
  $.Label = ue;
1035
1035
  $.Control = Je;
1036
- $.Options = Ge;
1036
+ $.Options = ze;
1037
1037
  $.Description = ce;
1038
1038
  $.Error = de;
1039
1039
  const U = ({ children: e }) => {
@@ -1149,8 +1149,8 @@ const U = ({ children: e }) => {
1149
1149
  placeholder: r,
1150
1150
  onFocus: i
1151
1151
  });
1152
- }, Qe = ({ children: e, className: t }) => {
1153
- const o = E(e, Qe.Option);
1152
+ }, Ge = ({ children: e, className: t }) => {
1153
+ const o = E(e, Ge.Option);
1154
1154
  return /* @__PURE__ */ n.createElement(Ae, {
1155
1155
  className: t,
1156
1156
  containerPadding: 0,
@@ -1169,10 +1169,10 @@ const U = ({ children: e }) => {
1169
1169
  textValue: r
1170
1170
  }, r);
1171
1171
  };
1172
- Qe.Option = Vn;
1172
+ Ge.Option = Vn;
1173
1173
  U.Label = ue;
1174
1174
  U.Input = Wn;
1175
- U.Options = Qe;
1175
+ U.Options = Ge;
1176
1176
  U.Description = ce;
1177
1177
  U.Error = de;
1178
1178
  const ae = ({ children: e }) => {
@@ -1284,8 +1284,8 @@ const H = ({ children: e }) => {
1284
1284
  }, e);
1285
1285
  Se.Input = Yn;
1286
1286
  Se.Trigger = Hn;
1287
- const Xe = ({ children: e, className: t, ...o }) => {
1288
- const { options: r } = o, a = E(e, Xe.Option);
1287
+ const Qe = ({ children: e, className: t, ...o }) => {
1288
+ const { options: r } = o, a = E(e, Qe.Option);
1289
1289
  return /* @__PURE__ */ n.createElement(Ae, {
1290
1290
  className: t,
1291
1291
  containerPadding: 0,
@@ -1303,18 +1303,18 @@ const Xe = ({ children: e, className: t, ...o }) => {
1303
1303
  textValue: r
1304
1304
  }, r);
1305
1305
  };
1306
- Xe.Option = jn;
1306
+ Qe.Option = jn;
1307
1307
  H.Label = ue;
1308
1308
  H.Control = Se;
1309
- H.Options = Xe;
1309
+ H.Options = Qe;
1310
1310
  H.Description = ce;
1311
1311
  H.Error = de;
1312
- const Jn = () => me("country"), Gn = () => me("subdivision"), Qn = () => me("city"), Xn = () => me("addressLine"), zn = () => me("addressLine2"), Zn = () => me("postalCode"), er = () => me("streetName"), tr = () => me("streetNumber"), nr = () => me("apartment"), rr = {
1312
+ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("city"), Qn = () => me("addressLine"), Xn = () => me("addressLine2"), Zn = () => me("postalCode"), er = () => me("streetName"), tr = () => me("streetNumber"), nr = () => me("apartment"), rr = {
1313
1313
  [K.MLA_COUNTRY]: Jn,
1314
- [K.MLA_SUBDIVISION]: Gn,
1315
- [K.MLA_CITY]: Qn,
1316
- [K.MLA_ADDRESS_LINE]: Xn,
1317
- [K.MLA_ADDRESS_LINE_2]: zn,
1314
+ [K.MLA_SUBDIVISION]: zn,
1315
+ [K.MLA_CITY]: Gn,
1316
+ [K.MLA_ADDRESS_LINE]: Qn,
1317
+ [K.MLA_ADDRESS_LINE_2]: Xn,
1318
1318
  [K.MLA_POSTAL_CODE]: Zn,
1319
1319
  [K.MLA_STREET_NAME]: er,
1320
1320
  [K.MLA_STREET_NUMBER]: tr,
@@ -1347,9 +1347,9 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Qn = () => me("cit
1347
1347
  }), j = D((W) => {
1348
1348
  if (!r)
1349
1349
  return;
1350
- const G = en(W, q, M), Te = {
1351
- ...G,
1352
- [Ie.COUNTRY]: G[Ie.COUNTRY] ?? r[Ie.COUNTRY]
1350
+ const z = en(W, q, M), Te = {
1351
+ ...z,
1352
+ [Ie.COUNTRY]: z[Ie.COUNTRY] ?? r[Ie.COUNTRY]
1353
1353
  };
1354
1354
  a == null || a(Te);
1355
1355
  }, [
@@ -1357,16 +1357,16 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Qn = () => me("cit
1357
1357
  r,
1358
1358
  q,
1359
1359
  M
1360
- ]), A = D((W, G) => {
1361
- if (q && W === Ie.COUNTRY && (r == null ? void 0 : r[W]) !== G) {
1360
+ ]), A = D((W, z) => {
1361
+ if (q && W === Ie.COUNTRY && (r == null ? void 0 : r[W]) !== z) {
1362
1362
  a == null || a({
1363
- [Ie.COUNTRY]: G
1363
+ [Ie.COUNTRY]: z
1364
1364
  });
1365
1365
  return;
1366
1366
  }
1367
1367
  a == null || a({
1368
1368
  ...r,
1369
- [W]: G
1369
+ [W]: z
1370
1370
  });
1371
1371
  }, [
1372
1372
  a,
@@ -1386,13 +1386,13 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Qn = () => me("cit
1386
1386
  ]);
1387
1387
  Yt(t, () => {
1388
1388
  var Te;
1389
- const W = s == null ? void 0 : s[0], G = (Te = x == null ? void 0 : x.fields) == null ? void 0 : Te.find((st) => "target" in st && st.target === (W == null ? void 0 : W.errorPath));
1390
- return G == null ? void 0 : G.id;
1389
+ const W = s == null ? void 0 : s[0], z = (Te = x == null ? void 0 : x.fields) == null ? void 0 : Te.find((st) => "target" in st && st.target === (W == null ? void 0 : W.errorPath));
1390
+ return z == null ? void 0 : z.id;
1391
1391
  });
1392
- const Ee = E(e, c.Country), Oe = E(e, c.Subdivision), ze = E(e, c.City), Ze = E(e, c.AddressLine), et = E(e, c.AddressLine2), tt = E(e, c.PostalCode), nt = E(e, c.StreetName), rt = E(e, c.StreetNumber), ot = E(e, c.Apartment), At = w(() => ({
1392
+ const Ee = E(e, c.Country), Oe = E(e, c.Subdivision), Xe = E(e, c.City), Ze = E(e, c.AddressLine), et = E(e, c.AddressLine2), tt = E(e, c.PostalCode), nt = E(e, c.StreetName), rt = E(e, c.StreetNumber), ot = E(e, c.Apartment), At = w(() => ({
1393
1393
  country: Ee,
1394
1394
  subdivision: Oe,
1395
- city: ze,
1395
+ city: Xe,
1396
1396
  addressLine: Ze,
1397
1397
  addressLine2: et,
1398
1398
  postalCode: tt,
@@ -1402,7 +1402,7 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Qn = () => me("cit
1402
1402
  }), [
1403
1403
  Ee,
1404
1404
  Oe,
1405
- ze,
1405
+ Xe,
1406
1406
  Ze,
1407
1407
  et,
1408
1408
  tt,
@@ -1457,7 +1457,7 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
1457
1457
  comboControl: lr,
1458
1458
  comboTrigger: ir
1459
1459
  }, Fr = () => /* @__PURE__ */ n.createElement(c, null, /* @__PURE__ */ n.createElement(c.Country, null, /* @__PURE__ */ n.createElement(c.Country.Label, {
1460
- className: C(z, f.label)
1460
+ className: C(X, f.label)
1461
1461
  }, /* @__PURE__ */ n.createElement(c.Country.Label.Required, {
1462
1462
  className: C(Z, f.requiredMark)
1463
1463
  })), /* @__PURE__ */ n.createElement(c.Country.Control, {
@@ -1474,13 +1474,13 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
1474
1474
  className: C(f.selectOption, fe)
1475
1475
  })), /* @__PURE__ */ n.createElement(c.Country.Error, {
1476
1476
  className: C(te, f.error)
1477
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.Country.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Country.Description, {
1477
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.Country.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Country.Description, {
1478
1478
  className: C(ne, f.description)
1479
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1479
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1480
1480
  content: e,
1481
1481
  locale: t
1482
1482
  }))), /* @__PURE__ */ n.createElement(c.AddressLine, null, /* @__PURE__ */ n.createElement(c.AddressLine.Label, {
1483
- className: C(z, f.label)
1483
+ className: C(X, f.label)
1484
1484
  }, /* @__PURE__ */ n.createElement(c.AddressLine.Label.Required, {
1485
1485
  className: C(Z, f.requiredMark)
1486
1486
  })), /* @__PURE__ */ n.createElement(c.AddressLine.Input, {
@@ -1491,39 +1491,39 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
1491
1491
  className: C(f.selectOption, fe)
1492
1492
  })), /* @__PURE__ */ n.createElement(c.AddressLine.Error, {
1493
1493
  className: C(te, f.error)
1494
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.AddressLine.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine.Description, {
1494
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.AddressLine.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine.Description, {
1495
1495
  className: C(ne, f.description)
1496
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1496
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1497
1497
  content: e,
1498
1498
  locale: t
1499
1499
  }))), /* @__PURE__ */ n.createElement(c.AddressLine2, null, /* @__PURE__ */ n.createElement(c.AddressLine2.Label, {
1500
- className: C(z, f.label)
1500
+ className: C(X, f.label)
1501
1501
  }, /* @__PURE__ */ n.createElement(c.AddressLine2.Label.Required, {
1502
1502
  className: C(Z, f.requiredMark)
1503
1503
  })), /* @__PURE__ */ n.createElement(c.AddressLine2.Input, {
1504
1504
  className: C(ee, f.input)
1505
1505
  }), /* @__PURE__ */ n.createElement(c.AddressLine2.Error, {
1506
1506
  className: C(te, f.error)
1507
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.AddressLine2.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine2.Description, {
1507
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.AddressLine2.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine2.Description, {
1508
1508
  className: C(ne, f.description)
1509
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1509
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1510
1510
  content: e,
1511
1511
  locale: t
1512
1512
  }))), /* @__PURE__ */ n.createElement(c.City, null, /* @__PURE__ */ n.createElement(c.City.Label, {
1513
- className: C(z, f.label)
1513
+ className: C(X, f.label)
1514
1514
  }, /* @__PURE__ */ n.createElement(c.City.Label.Required, {
1515
1515
  className: C(Z, f.requiredMark)
1516
1516
  })), /* @__PURE__ */ n.createElement(c.City.Input, {
1517
1517
  className: C(ee, f.input)
1518
1518
  }), /* @__PURE__ */ n.createElement(c.City.Error, {
1519
1519
  className: C(te, f.error)
1520
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.City.Error.Text, null)), /* @__PURE__ */ n.createElement(c.City.Description, {
1520
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.City.Error.Text, null)), /* @__PURE__ */ n.createElement(c.City.Description, {
1521
1521
  className: C(ne, f.description)
1522
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1522
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1523
1523
  content: e,
1524
1524
  locale: t
1525
1525
  }))), /* @__PURE__ */ n.createElement(c.PostalCode, null, /* @__PURE__ */ n.createElement(c.PostalCode.Label, {
1526
- className: C(z, f.label)
1526
+ className: C(X, f.label)
1527
1527
  }, /* @__PURE__ */ n.createElement(c.PostalCode.Label.Required, {
1528
1528
  className: C(Z, f.requiredMark)
1529
1529
  })), /* @__PURE__ */ n.createElement(c.PostalCode.Control, {
@@ -1536,13 +1536,13 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
1536
1536
  className: C(f.selectOption, fe)
1537
1537
  })), /* @__PURE__ */ n.createElement(c.PostalCode.Error, {
1538
1538
  className: C(te, f.error)
1539
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.PostalCode.Error.Text, null)), /* @__PURE__ */ n.createElement(c.PostalCode.Description, {
1539
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.PostalCode.Error.Text, null)), /* @__PURE__ */ n.createElement(c.PostalCode.Description, {
1540
1540
  className: C(ne, f.description)
1541
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1541
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1542
1542
  content: e,
1543
1543
  locale: t
1544
1544
  }))), /* @__PURE__ */ n.createElement(c.Subdivision, null, /* @__PURE__ */ n.createElement(c.Subdivision.Label, {
1545
- className: C(z, f.label)
1545
+ className: C(X, f.label)
1546
1546
  }, /* @__PURE__ */ n.createElement(c.Subdivision.Label.Required, {
1547
1547
  className: C(Z, f.requiredMark)
1548
1548
  })), /* @__PURE__ */ n.createElement(c.Subdivision.Control, {
@@ -1559,13 +1559,13 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
1559
1559
  className: C(f.selectOption, fe)
1560
1560
  })), /* @__PURE__ */ n.createElement(c.Subdivision.Error, {
1561
1561
  className: C(te, f.error)
1562
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.Subdivision.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Subdivision.Description, {
1562
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.Subdivision.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Subdivision.Description, {
1563
1563
  className: C(ne, f.description)
1564
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1564
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1565
1565
  content: e,
1566
1566
  locale: t
1567
1567
  }))), /* @__PURE__ */ n.createElement(c.StreetName, null, /* @__PURE__ */ n.createElement(c.StreetName.Label, {
1568
- className: C(z, f.label)
1568
+ className: C(X, f.label)
1569
1569
  }, /* @__PURE__ */ n.createElement(c.StreetName.Label.Required, {
1570
1570
  className: C(Z, f.requiredMark)
1571
1571
  })), /* @__PURE__ */ n.createElement(c.StreetName.Input, {
@@ -1576,35 +1576,35 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
1576
1576
  className: C(f.selectOption, fe)
1577
1577
  })), /* @__PURE__ */ n.createElement(c.StreetName.Error, {
1578
1578
  className: C(te, f.error)
1579
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.StreetName.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetName.Description, {
1579
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.StreetName.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetName.Description, {
1580
1580
  className: C(ne, f.description)
1581
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1581
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1582
1582
  content: e,
1583
1583
  locale: t
1584
1584
  }))), /* @__PURE__ */ n.createElement(c.StreetNumber, null, /* @__PURE__ */ n.createElement(c.StreetNumber.Label, {
1585
- className: C(z, f.label)
1585
+ className: C(X, f.label)
1586
1586
  }, /* @__PURE__ */ n.createElement(c.StreetNumber.Label.Required, {
1587
1587
  className: C(Z, f.requiredMark)
1588
1588
  })), /* @__PURE__ */ n.createElement(c.StreetNumber.Input, {
1589
1589
  className: C(ee, f.input)
1590
1590
  }), /* @__PURE__ */ n.createElement(c.StreetNumber.Error, {
1591
1591
  className: C(te, f.error)
1592
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.StreetNumber.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetNumber.Description, {
1592
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.StreetNumber.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetNumber.Description, {
1593
1593
  className: C(ne, f.description)
1594
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1594
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1595
1595
  content: e,
1596
1596
  locale: t
1597
1597
  }))), /* @__PURE__ */ n.createElement(c.Apartment, null, /* @__PURE__ */ n.createElement(c.Apartment.Label, {
1598
- className: C(z, f.label)
1598
+ className: C(X, f.label)
1599
1599
  }, /* @__PURE__ */ n.createElement(c.Apartment.Label.Required, {
1600
1600
  className: C(Z, f.requiredMark)
1601
1601
  })), /* @__PURE__ */ n.createElement(c.Apartment.Input, {
1602
1602
  className: C(ee, f.input)
1603
1603
  }), /* @__PURE__ */ n.createElement(c.Apartment.Error, {
1604
1604
  className: C(te, f.error)
1605
- }, /* @__PURE__ */ n.createElement(X, null), /* @__PURE__ */ n.createElement(c.Apartment.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Apartment.Description, {
1605
+ }, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.Apartment.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Apartment.Description, {
1606
1606
  className: C(ne, f.description)
1607
- }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(Q, {
1607
+ }, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
1608
1608
  content: e,
1609
1609
  locale: t
1610
1610
  }))));
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as t } from "./multiline-address-field-rac-Dz0NEjSO.js";
2
+ import { M as t } from "./multiline-address-field-rac-D4Ibno80.js";
3
3
  const i = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  i as MultilineAddressRAC
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as v } from "@wix/ricos/viewer";
2
2
  import m from "classnames";
3
- import r, { useState as Q, useCallback as U, useEffect as $, useRef as j } from "react";
4
- import { NumberField as z, Input as G } from "react-aria-components";
5
- import { ai as C, af as S, as as H, ak as J } from "./form-DCmjj8mZ.js";
3
+ import r, { useState as Q, useCallback as U, useEffect as z, useRef as $ } from "react";
4
+ import { NumberField as j, Input as G } from "react-aria-components";
5
+ import { ai as C, af as S, as as H, ak as J } from "./form-BpHElSwH.js";
6
6
  import { f as d } from "./find-child-C60k4CxG.js";
7
- import { D as K, E as W } from "./field-error-headless-uQOcm2Ak.js";
8
- import { L as X } from "./field-label-headless-Bzh7f2Ji.js";
7
+ import { D as K, E as W } from "./field-error-headless-C5ZsFUKv.js";
8
+ import { L as X } from "./field-label-headless-CS5OYsiI.js";
9
9
  import { g as Y, c as Z } from "./numeric-input-utils-CuBMi4-a.js";
10
10
  import { u as w } from "./use-invoke-callback-UH73A_J3.js";
11
11
  import { E as ee } from "./error-icon-hZxQ6DEy.js";
12
12
  import { s as i } from "./field-rac.module-DjmaTYkc.js";
13
- import { y as re, Q as te, x as ne, p as ae, i as se } from "./form-element-classes-Dn33C01k.js";
13
+ import { z as re, Q as te, y as ne, p as ae, i as se } from "./form-element-classes-BXNs5k3q.js";
14
14
  const e = ({ children: n }) => {
15
15
  var D, L, R;
16
- const { id: a, value: s, onChange: l, disabled: p, required: E, readOnly: o, onBlur: b, onFocus: f, FieldLayout: u, hasError: c, validation: t } = C(), { labelId: y } = S(), F = ((D = t == null ? void 0 : t.number) == null ? void 0 : D.multipleOf) || 1, A = (L = t == null ? void 0 : t.number) == null ? void 0 : L.maximum, x = (R = t == null ? void 0 : t.number) == null ? void 0 : R.minimum, M = _(s), [T, I] = Q(M), V = w(b), g = d(n, e.Label), h = d(n, e.Input), k = d(n, e.Description), q = d(n, e.Error), B = U((N) => {
16
+ const { id: a, value: s, onChange: l, disabled: p, required: E, readOnly: o, onBlur: b, onFocus: f, FieldLayout: u, hasError: c, validation: t } = C(), { labelId: y } = S(), F = ((D = t == null ? void 0 : t.number) == null ? void 0 : D.multipleOf) || 1, A = (L = t == null ? void 0 : t.number) == null ? void 0 : L.maximum, M = (R = t == null ? void 0 : t.number) == null ? void 0 : R.minimum, T = _(s), [V, I] = Q(T), g = w(b), h = d(n, e.Label), k = d(n, e.Input), q = d(n, e.Description), x = d(n, e.Error), B = U((N) => {
17
17
  if (N === void 0 || Number.isNaN(N)) {
18
18
  l(""), I(NaN);
19
19
  return;
@@ -24,33 +24,33 @@ const e = ({ children: n }) => {
24
24
  F,
25
25
  l
26
26
  ]);
27
- return $(() => {
27
+ return z(() => {
28
28
  I(_(s));
29
29
  }, [
30
30
  s
31
31
  ]), /* @__PURE__ */ r.createElement(u, {
32
32
  fieldId: a,
33
- renderLabel: () => g,
34
- renderInput: () => /* @__PURE__ */ r.createElement(z, {
33
+ renderLabel: () => h,
34
+ renderInput: () => /* @__PURE__ */ r.createElement(j, {
35
35
  "aria-labelledby": y,
36
- value: T,
36
+ value: V,
37
37
  onChange: B,
38
38
  isDisabled: p,
39
39
  isRequired: E,
40
40
  isReadOnly: o,
41
41
  isInvalid: c,
42
- onBlur: V,
42
+ onBlur: g,
43
43
  onFocus: f,
44
- minValue: x ?? void 0,
44
+ minValue: M ?? void 0,
45
45
  maxValue: A ?? void 0
46
- }, h),
47
- renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, q, k)
46
+ }, k),
47
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, x, q)
48
48
  });
49
49
  }, le = ({ className: n }) => {
50
50
  var c;
51
51
  const { t: a } = H(), { inputId: s, ariaDescribedBy: l } = S(), { id: p, placeholder: E, validation: o, label: b, required: f } = C();
52
52
  (c = o == null ? void 0 : o.number) != null && c.multipleOf;
53
- const u = j(null);
53
+ const u = $(null);
54
54
  return J(() => {
55
55
  var t;
56
56
  (t = u.current) == null || t.focus();
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as r } from "./number-input-field-rac-CvjeAm-W.js";
2
+ import { N as r } from "./number-input-field-rac-DW1SjB-Z.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  n as NumberInputRAC
@@ -1,15 +1,15 @@
1
1
  import e, { useState as h, useRef as N } from "react";
2
2
  import { RicosViewer as O } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { ai as E, af as I, ak as x, as as A } from "./form-DCmjj8mZ.js";
4
+ import { ai as E, af as I, ak as x, as as A } from "./form-BpHElSwH.js";
5
5
  import { TextField as B, Group as P, Input as V, Button as v } from "react-aria-components";
6
6
  import { f as p, a as g } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as k } from "./field-error-headless-uQOcm2Ak.js";
8
- import { L as q } from "./field-label-headless-Bzh7f2Ji.js";
7
+ import { D as M, E as k } from "./field-error-headless-C5ZsFUKv.js";
8
+ import { L as q } from "./field-label-headless-CS5OYsiI.js";
9
9
  import { E as U } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as j } from "./custom-focus-class-_483Pkwp.js";
11
11
  import { s as u } from "./field-rac.module-DjmaTYkc.js";
12
- import { y as H, Q, x as W, p as Z, i as G } from "./form-element-classes-Dn33C01k.js";
12
+ import { z as H, Q, y as W, p as Z, i as z } from "./form-element-classes-BXNs5k3q.js";
13
13
  const t = ({ children: r, className: o }) => {
14
14
  const { id: i, value: s, onChange: c, disabled: l, readOnly: m, required: n, hasError: a, onBlur: f, onFocus: _, FieldLayout: y } = E(), { labelId: C } = I(), [F, L] = h(!1), R = p(r, t.Label), D = p(r, t.Control), T = p(r, t.Description), S = p(r, t.Error);
15
15
  return /* @__PURE__ */ e.createElement(y, {
@@ -32,7 +32,7 @@ const t = ({ children: r, className: o }) => {
32
32
  })),
33
33
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, S)
34
34
  });
35
- }, $ = ({ children: r, className: o, ...i }) => {
35
+ }, G = ({ children: r, className: o, ...i }) => {
36
36
  const { isVisible: s, onToggleVisibility: c } = i, { disabled: l, hasError: m } = E(), n = p(r, t.Input), a = p(r, t.Toggle);
37
37
  return /* @__PURE__ */ e.createElement(P, {
38
38
  className: o,
@@ -44,7 +44,7 @@ const t = ({ children: r, className: o }) => {
44
44
  isVisible: s,
45
45
  onToggleVisibility: c
46
46
  }));
47
- }, z = ({ className: r, ...o }) => {
47
+ }, $ = ({ className: r, ...o }) => {
48
48
  const { isVisible: i } = o, { id: s, placeholder: c } = E(), { inputId: l, ariaDescribedBy: m } = I(), n = N(null);
49
49
  return x(() => {
50
50
  var a;
@@ -71,8 +71,8 @@ const t = ({ children: r, className: o }) => {
71
71
  }));
72
72
  };
73
73
  t.Label = q;
74
- t.Control = $;
75
- t.Input = z;
74
+ t.Control = G;
75
+ t.Input = $;
76
76
  t.Toggle = J;
77
77
  t.Description = M;
78
78
  t.Error = k;
@@ -134,7 +134,7 @@ const K = (r) => /* @__PURE__ */ e.createElement("svg", {
134
134
  }, ({ isVisible: o }) => o ? /* @__PURE__ */ e.createElement(X, null) : /* @__PURE__ */ e.createElement(K, null))), /* @__PURE__ */ e.createElement(t.Error, {
135
135
  className: d(Z, u.error)
136
136
  }, /* @__PURE__ */ e.createElement(U, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
137
- className: d(G, u.description)
137
+ className: d(z, u.description)
138
138
  }, te));
139
139
  }, ge = () => /* @__PURE__ */ e.createElement(re, null);
140
140
  export {
@@ -1,17 +1,17 @@
1
- import r, { useCallback as V, useRef as j } from "react";
2
- import { RicosViewer as w } from "@wix/ricos/viewer";
1
+ import r, { useCallback as V, useRef as z } from "react";
2
+ import { RicosViewer as j } from "@wix/ricos/viewer";
3
3
  import i from "classnames";
4
- import { TextField as z, Group as J, Input as K } from "react-aria-components";
5
- import { ai as D, af as S, ab as T, as as W, ak as X } from "./form-DCmjj8mZ.js";
4
+ import { TextField as w, Group as J, Input as K } from "react-aria-components";
5
+ import { ai as D, af as S, ab as x, as as W, ak as X } from "./form-BpHElSwH.js";
6
6
  import { f as m } from "./find-child-C60k4CxG.js";
7
- import { D as Y, E as Z } from "./field-error-headless-uQOcm2Ak.js";
8
- import { L as ee } from "./field-label-headless-Bzh7f2Ji.js";
7
+ import { D as Y, E as Z } from "./field-error-headless-C5ZsFUKv.js";
8
+ import { L as ee } from "./field-label-headless-CS5OYsiI.js";
9
9
  import { f as R, g as re } from "./payment-field-utils-DobiK5Xh.js";
10
10
  import { u as te } from "./use-synced-display-value-DcAxdn3M.js";
11
11
  import { E as ne } from "./error-icon-hZxQ6DEy.js";
12
12
  import { H as ae } from "./custom-focus-class-_483Pkwp.js";
13
13
  import { s as u } from "./field-rac.module-DjmaTYkc.js";
14
- import { y as se, Q as oe, x as le, p as ce, i as ie } from "./form-element-classes-Dn33C01k.js";
14
+ import { z as se, Q as oe, y as le, p as ce, i as ie } from "./form-element-classes-BXNs5k3q.js";
15
15
  function ue(e, t) {
16
16
  return {
17
17
  productId: e.id,
@@ -27,7 +27,7 @@ function h(e) {
27
27
  }
28
28
  const n = ({ children: e }) => {
29
29
  var O, A, g, P;
30
- const { id: t, value: a, onChange: s, disabled: p, readOnly: d, required: y, hasError: b, onBlur: o, onFocus: E, FieldLayout: M, validation: _ } = D(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = T(), N = (g = (A = (O = _ == null ? void 0 : _.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : g[0], C = (P = a == null ? void 0 : a.at(0)) == null ? void 0 : P.price, [F, I] = te({
30
+ const { id: t, value: a, onChange: s, disabled: p, readOnly: d, required: y, hasError: b, onBlur: o, onFocus: E, FieldLayout: M, validation: _ } = D(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = x(), N = (g = (A = (O = _ == null ? void 0 : _.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : g[0], C = (P = a == null ? void 0 : a.at(0)) == null ? void 0 : P.price, [F, I] = te({
31
31
  sourceValue: C,
32
32
  format: (l) => R(String(l ?? ""), c),
33
33
  regionalFormat: c
@@ -61,7 +61,7 @@ const n = ({ children: e }) => {
61
61
  return /* @__PURE__ */ r.createElement(M, {
62
62
  fieldId: t,
63
63
  renderLabel: () => k,
64
- renderInput: () => /* @__PURE__ */ r.createElement(z, {
64
+ renderInput: () => /* @__PURE__ */ r.createElement(w, {
65
65
  "aria-labelledby": `${q} ${G}`,
66
66
  value: a ? F : "",
67
67
  onChange: U,
@@ -82,7 +82,7 @@ const n = ({ children: e }) => {
82
82
  isInvalid: s
83
83
  }, p, d);
84
84
  }, me = ({ className: e }) => {
85
- const { currency: t } = T(), { t: a } = W(), { prefixId: s } = S();
85
+ const { currency: t } = x(), { t: a } = W(), { prefixId: s } = S();
86
86
  return t ? /* @__PURE__ */ r.createElement("span", {
87
87
  id: s,
88
88
  "aria-hidden": !1,
@@ -90,7 +90,7 @@ const n = ({ children: e }) => {
90
90
  className: e
91
91
  }, t.sign || t.code) : null;
92
92
  }, pe = ({ className: e }) => {
93
- const { id: t, placeholder: a, label: s } = D(), { inputId: p, labelId: d, prefixId: y, ariaDescribedBy: b } = S(), o = j(null);
93
+ const { id: t, placeholder: a, label: s } = D(), { inputId: p, labelId: d, prefixId: y, ariaDescribedBy: b } = S(), o = z(null);
94
94
  return X(() => {
95
95
  var E;
96
96
  (E = o.current) == null || E.focus();
@@ -111,10 +111,10 @@ n.Label = ee;
111
111
  n.Input = f;
112
112
  n.Description = Y;
113
113
  n.Error = Z;
114
- const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", x = {
114
+ const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", T = {
115
115
  inputGroup: de,
116
116
  currency: fe
117
- }, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(w, {
117
+ }, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(j, {
118
118
  content: e,
119
119
  locale: t
120
120
  }), Ie = () => /* @__PURE__ */ r.createElement(n, null, /* @__PURE__ */ r.createElement(n.Label, {
@@ -122,9 +122,9 @@ const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", x = {
122
122
  }, /* @__PURE__ */ r.createElement(n.Label.Required, {
123
123
  className: i(oe, u.requiredMark)
124
124
  })), /* @__PURE__ */ r.createElement(n.Input, {
125
- className: i(le, u.input, x.inputGroup)
125
+ className: i(le, u.input, T.inputGroup)
126
126
  }, /* @__PURE__ */ r.createElement(n.Input.Currency, {
127
- className: x.currency
127
+ className: T.currency
128
128
  }), /* @__PURE__ */ r.createElement(n.Input.Value, {
129
129
  className: i(u.innerInput, ae)
130
130
  })), /* @__PURE__ */ r.createElement(n.Error, {