@wix/form-elements 1.137.0 → 1.138.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 (106) hide show
  1. package/dist/component/{appointment-rac-DETLNlLb.js → appointment-rac-DvzMuumV.js} +52 -52
  2. package/dist/component/{bookings-address-rac-ZLK-g-4b.js → bookings-address-rac-DoTKdj4W.js} +1 -1
  3. package/dist/component/{bookings-email-rac-C-406Pj1.js → bookings-email-rac-CHvxtHcu.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ClxJPAU2.js → bookings-first-name-rac-VAAhC_fg.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B_xKyowA.js → bookings-header-rac-YWB4879A.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DcExtGsO.js → bookings-last-name-rac-B-aGMcD_.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-B5Gpk-kG.js → bookings-login-bar-rac-3wYAN_xh.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-DJSSDoRL.js → bookings-phone-rac-CzQVxpNK.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-D-v6z1Fs.js → bookings-rich-text-rac-C5z9Gvts.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DJmjpsmU.js → checkbox-field-rac-CradfjbE.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-C4A_Kv1U.js → checkbox-group-field-headless-DdVXFUPC.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-M1l5h3ii.js → checkbox-group-field-rac-KqKHh6Uj.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-DRdzHVfR.js → checkbox-group-rac-C34O1zlM.js} +1 -1
  14. package/dist/component/{checkbox-rac-Cyhg2Wvd.js → checkbox-rac-BnXI1EcE.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BQvrTPCI.js → contacts-address-rac-Ba57mGCo.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DIMg-UlR.js → contacts-birthdate-rac-lOtU_kNL.js} +1 -1
  17. package/dist/component/{contacts-company-rac-OgWSVsmZ.js → contacts-company-rac-fzSYypTz.js} +1 -1
  18. package/dist/component/{contacts-email-rac-39IQYxTe.js → contacts-email-rac-kOu3zzAk.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CjwVQGS7.js → contacts-first-name-rac-CwUDxtmS.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C6ftvjMG.js → contacts-last-name-rac-DstG7QIk.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-ldsxrFQH.js → contacts-phone-rac-DbDYtB90.js} +1 -1
  22. package/dist/component/{contacts-position-rac-3RzQeh2P.js → contacts-position-rac-G-5pxT4U.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CfuH705u.js → contacts-subscribe-rac-hfjDjoZw.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-D85Dm5Pa.js → contacts-tax-id-rac-CUwJltYa.js} +1 -1
  25. package/dist/component/{date-availability-DcYOAszO.js → date-availability-CwlAp1DX.js} +1 -1
  26. package/dist/component/{date-input-field-rac-D4cr7NGI.js → date-input-field-rac-C47Y-z4d.js} +6 -6
  27. package/dist/component/{date-input-rac-BwJwmoZr.js → date-input-rac-BSKV4JJO.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-C-IM7SHk.js → date-picker-field-rac-NSAnfLRk.js} +5 -5
  29. package/dist/component/{date-picker-rac-BkAp8Bgb.js → date-picker-rac-DlEVDz1X.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DGCd-WUh.js → date-time-input-field-rac-Bs2xjob_.js} +20 -20
  31. package/dist/component/{date-time-input-rac-ClLzxACj.js → date-time-input-rac-Dvy_vn5y.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-DI26D3eR.js → dext-checkbox-group-rac-ydiyI0Ax.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-CRJq1RxN.js → dext-checkbox-rac-D3FH0uIS.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CvzQs_Te.js → dext-date-picker-rac-C4Xa4Mkn.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Dtysjtim.js → dext-date-time-input-rac-DBUVJbqB.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-DHGo26Az.js → dext-dropdown-rac-Ku5SxJci.js} +1 -1
  37. package/dist/component/{dext-email-rac-BpnNEdVF.js → dext-email-rac-CdfesgKH.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-C5iW_ei6.js → dext-number-input-rac-AmiEoijD.js} +1 -1
  39. package/dist/component/{dext-phone-rac-KCTWlcaK.js → dext-phone-rac-BqiNW-E2.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-ad6j8I4s.js → dext-radio-group-rac-Bku-LoOz.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-B4AvCMi0.js → dext-rating-input-rac-TxRgyMyp.js} +1 -1
  42. package/dist/component/{dext-tags-rac-BMathc_H.js → dext-tags-rac-C6iBGwg4.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Xb-pGhSZ.js → dext-text-area-rac-BU0eyjM4.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CSE8qfGF.js → dext-text-input-rac-BEls3cms.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Bq4iz5z9.js → dext-url-input-rac-CMAK9Qo6.js} +1 -1
  46. package/dist/component/{donation-rac-DRUbysCr.js → donation-rac-aGSBtE2T.js} +17 -17
  47. package/dist/component/{dropdown-field-headless-DO592qOP.js → dropdown-field-headless-B6i33cBH.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-C2yjQI-C.js → dropdown-field-rac-COluC25e.js} +6 -6
  49. package/dist/component/{dropdown-rac-DlrGt2kE.js → dropdown-rac-BGQx3saK.js} +1 -1
  50. package/dist/component/{ecom-address-rac-D_StW_li.js → ecom-address-rac-BgkdVaiI.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-CrdttyUU.js → ecom-subscription-checkbox-rac-C9jnWaZl.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DqXazwV3.js → email-input-field-rac-DHCUGLjQ.js} +3 -3
  53. package/dist/component/{events-repeater-rac-DDpRs7rY.js → events-repeater-rac-BHz0azrh.js} +13 -13
  54. package/dist/component/{events-rsvp-rac-BN9axMYX.js → events-rsvp-rac-BgtEivuD.js} +8 -8
  55. package/dist/component/{field-error-headless-JU1yiTVE.js → field-error-headless-BCrv3sBa.js} +1 -1
  56. package/dist/component/{field-label-headless-CD4_8Ros.js → field-label-headless-B54yFVkr.js} +1 -1
  57. package/dist/component/{file-upload-rac-CQTx6hEf.js → file-upload-rac-Cg8Z8lhS.js} +21 -21
  58. package/dist/component/{fixed-payment-rac-B5cRBcxY.js → fixed-payment-rac-B3uuRmES.js} +21 -21
  59. package/dist/component/{form-Mla9_phC.js → form-D7mq5tD5.js} +77 -77
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-B_F66ChH.js → header-field-rac-DbeAaOaE.js} +2 -2
  62. package/dist/component/{header-rac-BX6Df8ej.js → header-rac-CRghbywI.js} +1 -1
  63. package/dist/component/{image-choice-rac-Ce01EhFJ.js → image-choice-rac-nCRaXrH5.js} +17 -17
  64. package/dist/component/{index-Ch7II1GU.js → index-C6cdxkPM.js} +2 -2
  65. package/dist/component/{index-DoIW9Cb6.js → index-DNonwKkE.js} +4 -4
  66. package/dist/component/{isObjectLike-C1TnJWn6.js → isObjectLike-PXbsarQL.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-DVDEcHtq.js → multiline-address-field-rac-DeMafI8g.js} +7 -7
  68. package/dist/component/{multiline-address-rac-BJ8ln_G5.js → multiline-address-rac-g1IrapIk.js} +1 -1
  69. package/dist/component/{number-input-field-rac-DTfx9YgL.js → number-input-field-rac-BSGFZQh_.js} +10 -10
  70. package/dist/component/{number-input-rac-pg7cmYpS.js → number-input-rac-C5yMyFyv.js} +1 -1
  71. package/dist/component/{password-rac-D8BKTB_H.js → password-rac-jHDFxH5W.js} +10 -10
  72. package/dist/component/{payment-input-rac-HBquclKy.js → payment-input-rac-Cpw8VM0u.js} +14 -14
  73. package/dist/component/{phone-input-field-rac-Fgfg5HwA.js → phone-input-field-rac-DLZysv_w.js} +26 -26
  74. package/dist/component/{phone-rac-pivMTIyc.js → phone-rac-DK5Toq-q.js} +1 -1
  75. package/dist/component/{product-list-rac-DauIxK2R.js → product-list-rac-DR2bHVkk.js} +22 -22
  76. package/dist/component/{quiz-radio-group-rac-B0OtjxKf.js → quiz-radio-group-rac-mWuYJqRQ.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-Cu3KM625.js → radio-button-module-classes-CokNolqR.js} +3 -3
  78. package/dist/component/{radio-group-field-rac-0dJHtf3G.js → radio-group-field-rac-DiaR7RdY.js} +6 -6
  79. package/dist/component/{radio-group-rac-CqtO1JqM.js → radio-group-rac-FdQp_E1O.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-CMny6OSF.js → rating-input-field-rac-DbyB_Esi.js} +11 -11
  81. package/dist/component/{rating-input-rac-DA4iU_-m.js → rating-input-rac-D4C1bB-A.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-CZX0cZst.js → rich-content-rac.module-CDtZ3pmh.js} +1 -1
  83. package/dist/component/{rich-text-field-rac-Dtm6xFcj.js → rich-text-field-rac-CYqdqamx.js} +2 -2
  84. package/dist/component/{rich-text-rac-ClqIW5ds.js → rich-text-rac-CDzSg_7O.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-_4T1OZGq.js → service-dropdown-rac-rdwYVwGB.js} +9 -9
  86. package/dist/component/{services-multi-choice-rac-BVim-jnM.js → services-multi-choice-rac-DOO6HYgT.js} +7 -7
  87. package/dist/component/{signature-rac-D7w8WTLO.js → signature-rac-CBh4_hf-.js} +4 -4
  88. package/dist/component/{submit-button-rac-BkUDj1dU.js → submit-button-rac-B8ZNvJjY.js} +2 -2
  89. package/dist/component/{tags-field-rac-Di1aK4E2.js → tags-field-rac-D5THw-TO.js} +5 -5
  90. package/dist/component/{tags-rac-CJ5f4Doi.js → tags-rac-C8wN2xTn.js} +1 -1
  91. package/dist/component/{text-area-field-rac-DFjrT9fs.js → text-area-field-rac-D3GB6Wrq.js} +6 -6
  92. package/dist/component/{text-area-rac-DBANidv_.js → text-area-rac-CCTd5x7u.js} +1 -1
  93. package/dist/component/{text-input-field-rac-DJDzqR6d.js → text-input-field-rac-emy5LgNs.js} +3 -3
  94. package/dist/component/{text-input-headless-CG4wbxMG.js → text-input-headless-BIgsm4yN.js} +3 -3
  95. package/dist/component/{text-input-rac-V0tK1Gj2.js → text-input-rac-BFRe44DM.js} +1 -1
  96. package/dist/component/{time-input-rac-LSoyg8Ao.js → time-input-rac-D6FsrMxb.js} +4 -4
  97. package/dist/component/{url-input-field-rac-DI0SdDI0.js → url-input-field-rac-Dk9F61BD.js} +8 -8
  98. package/dist/component/{url-input-rac-obx2Uf2F.js → url-input-rac-C1pAmfj-.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-BM-NiVtO.js → use-dropdown-option-class-name-DNvaYrmm.js} +2 -2
  100. package/dist/component/{use-dropdown-trigger-class-name-BHwQ-wZa.js → use-dropdown-trigger-class-name-_gAS-eDg.js} +2 -2
  101. package/dist/component/{use-element-state-class-name-DAYz5X_i.js → use-element-state-class-name-CT3HIbmC.js} +1 -1
  102. package/dist/component/{use-hoverable-input-class-name-DZ-4NGpv.js → use-hoverable-input-class-name-DMVtzjju.js} +2 -2
  103. package/dist/component/{use-service-options-base-BOjt2sg9.js → use-service-options-base-DMgeKnCC.js} +1 -1
  104. package/dist/component/use-text-input-class-name-CO5G1Jx0.js +6 -0
  105. package/package.json +2 -2
  106. package/dist/component/use-text-input-class-name-Bqj4OoIw.js +0 -6
@@ -2,18 +2,18 @@ import { RicosViewer as P } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
3
  import r, { useState as j, useCallback as G, useEffect as Q, useRef as U } from "react";
4
4
  import { NumberField as Y, Input as $ } from "react-aria-components";
5
- import { bj as _, bg as S, bt as z, bl as H, M as J, Y as K, G as W, u as X } from "./form-Mla9_phC.js";
5
+ import { bj as _, bg as S, bt as z, bl as H, N as J, Y as K, G as W, u as X } from "./form-D7mq5tD5.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as Z, E as w } from "./field-error-headless-JU1yiTVE.js";
8
- import { L as ee } from "./field-label-headless-CD4_8Ros.js";
7
+ import { D as Z, E as w } from "./field-error-headless-BCrv3sBa.js";
8
+ import { L as ee } from "./field-label-headless-B54yFVkr.js";
9
9
  import { g as re, c as te } from "./numeric-input-utils-CuBMi4-a.js";
10
10
  import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
11
11
  import { E as ae } from "./error-icon-hZxQ6DEy.js";
12
12
  import { s as d } from "./field-rac.module-DfEb7pBp.js";
13
- import { u as se } from "./use-text-input-class-name-Bqj4OoIw.js";
13
+ import { u as se } from "./use-text-input-class-name-CO5G1Jx0.js";
14
14
  const e = ({ children: t }) => {
15
15
  var F, L, R;
16
- const { id: a, value: s, onChange: l, disabled: p, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: g } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, y = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, A = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, x = O(s), [M, I] = j(x), T = ne(E), V = c(t, e.Label), h = c(t, e.Input), q = c(t, e.Description), k = c(t, e.Error), B = G((N) => {
16
+ const { id: a, value: s, onChange: l, disabled: p, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: g } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, y = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, A = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, x = O(s), [T, I] = j(x), V = ne(E), h = c(t, e.Label), q = c(t, e.Input), M = c(t, e.Description), k = c(t, e.Error), B = G((N) => {
17
17
  if (N === void 0 || Number.isNaN(N)) {
18
18
  l(""), I(NaN);
19
19
  return;
@@ -30,21 +30,21 @@ const e = ({ children: t }) => {
30
30
  s
31
31
  ]), /* @__PURE__ */ r.createElement(m, {
32
32
  fieldId: a,
33
- renderLabel: () => V,
33
+ renderLabel: () => h,
34
34
  renderInput: () => /* @__PURE__ */ r.createElement(Y, {
35
35
  "aria-labelledby": g,
36
- value: M,
36
+ value: T,
37
37
  onChange: B,
38
38
  isDisabled: p,
39
39
  isRequired: b,
40
40
  isReadOnly: o,
41
41
  isInvalid: u,
42
- onBlur: T,
42
+ onBlur: V,
43
43
  onFocus: f,
44
44
  minValue: A ?? void 0,
45
45
  maxValue: y ?? void 0
46
- }, h),
47
- renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, k, q)
46
+ }, q),
47
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, k, M)
48
48
  });
49
49
  }, le = ({ className: t }) => {
50
50
  var u;
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as r } from "./number-input-field-rac-DTfx9YgL.js";
2
+ import { N as r } from "./number-input-field-rac-BSGFZQh_.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  n as NumberInputRAC
@@ -1,21 +1,21 @@
1
- import e, { useState as N, useRef as S } from "react";
1
+ import e, { useState as h, useRef as S } from "react";
2
2
  import { RicosViewer as x } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { bj as E, bg as I, bl as O, bt as A, M as B, Y as V, G as v, u as M } from "./form-Mla9_phC.js";
5
- import { TextField as P, Group as k, Input as q, Button as j } from "react-aria-components";
4
+ import { bj as E, bg as I, bl as O, bt as A, N as B, Y as V, G as v, u as P } from "./form-D7mq5tD5.js";
5
+ import { TextField as M, Group as k, Input as q, Button as j } from "react-aria-components";
6
6
  import { f as u, a as b } from "./find-child-C60k4CxG.js";
7
- import { D as U, E as G } from "./field-error-headless-JU1yiTVE.js";
8
- import { L as H } from "./field-label-headless-CD4_8Ros.js";
7
+ import { D as U, E as G } from "./field-error-headless-BCrv3sBa.js";
8
+ import { L as H } from "./field-label-headless-B54yFVkr.js";
9
9
  import { E as W } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as Z } from "./custom-focus-class-_483Pkwp.js";
11
11
  import { s as p } from "./field-rac.module-DfEb7pBp.js";
12
- import { u as Q } from "./use-text-input-class-name-Bqj4OoIw.js";
12
+ import { u as Q } from "./use-text-input-class-name-CO5G1Jx0.js";
13
13
  const t = ({ children: o, className: r }) => {
14
- const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = N(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), w = u(o, t.Error);
14
+ const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = h(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), w = u(o, t.Error);
15
15
  return /* @__PURE__ */ e.createElement(_, {
16
16
  fieldId: l,
17
17
  renderLabel: () => F,
18
- renderInput: () => /* @__PURE__ */ e.createElement(P, {
18
+ renderInput: () => /* @__PURE__ */ e.createElement(M, {
19
19
  "aria-labelledby": y,
20
20
  value: s ?? "",
21
21
  onChange: c,
@@ -28,7 +28,7 @@ const t = ({ children: o, className: r }) => {
28
28
  className: r
29
29
  }, b(L, {
30
30
  isVisible: R,
31
- onToggleVisibility: () => D((h) => !h)
31
+ onToggleVisibility: () => D((N) => !N)
32
32
  })),
33
33
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, w)
34
34
  });
@@ -134,7 +134,7 @@ const J = (o) => /* @__PURE__ */ e.createElement("svg", {
134
134
  }, ({ isVisible: l }) => l ? /* @__PURE__ */ e.createElement(K, null) : /* @__PURE__ */ e.createElement(J, null))), /* @__PURE__ */ e.createElement(t.Error, {
135
135
  className: d(v, p.error)
136
136
  }, /* @__PURE__ */ e.createElement(W, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
137
- className: d(M, p.description)
137
+ className: d(P, p.description)
138
138
  }, te));
139
139
  }, be = () => /* @__PURE__ */ e.createElement(oe, null);
140
140
  export {
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as Q } from "react";
2
2
  import { RicosViewer as Y } from "@wix/ricos/viewer";
3
3
  import p from "classnames";
4
4
  import { TextField as w, Group as z, Input as J } from "react-aria-components";
5
- import { bj as R, bg as D, bb as T, bt as K, bl as W, M as X, Y as Z, G as ee, u as re } from "./form-Mla9_phC.js";
5
+ import { bj as R, bg as D, bb as T, bt as K, bl as W, N as X, Y as Z, G as ee, u as re } from "./form-D7mq5tD5.js";
6
6
  import { f as u } from "./find-child-C60k4CxG.js";
7
- import { D as te, E as ne } from "./field-error-headless-JU1yiTVE.js";
8
- import { L as ae } from "./field-label-headless-CD4_8Ros.js";
9
- import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
7
+ import { D as te, E as ne } from "./field-error-headless-BCrv3sBa.js";
8
+ import { L as ae } from "./field-label-headless-B54yFVkr.js";
9
+ import { f as L, g as se } from "./payment-field-utils-DobiK5Xh.js";
10
10
  import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
11
11
  import { E as le } from "./error-icon-hZxQ6DEy.js";
12
12
  import { H as ce } from "./custom-focus-class-_483Pkwp.js";
13
13
  import { s as d } from "./field-rac.module-DfEb7pBp.js";
14
- import { u as ue } from "./use-text-input-class-name-Bqj4OoIw.js";
14
+ import { u as ue } from "./use-text-input-class-name-CO5G1Jx0.js";
15
15
  function ie(e, t) {
16
16
  return {
17
17
  productId: e.id,
@@ -27,12 +27,12 @@ function h(e) {
27
27
  }
28
28
  const n = ({ children: e }) => {
29
29
  var O, g, A, V;
30
- const { id: t, value: a, onChange: s, disabled: i, readOnly: m, required: I, hasError: y, onBlur: o, onFocus: E, FieldLayout: M, validation: C } = R(), { labelId: G, prefixId: q } = D(), { regionalFormat: c } = T(), S = (A = (g = (O = C == null ? void 0 : C.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : g.products) == null ? void 0 : A[0], _ = (V = a == null ? void 0 : a.at(0)) == null ? void 0 : V.price, [F, b] = oe({
30
+ const { id: t, value: a, onChange: s, disabled: i, readOnly: m, required: I, hasError: y, onBlur: o, onFocus: E, FieldLayout: G, validation: C } = R(), { labelId: M, prefixId: q } = D(), { regionalFormat: c } = T(), S = (A = (g = (O = C == null ? void 0 : C.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : g.products) == null ? void 0 : A[0], _ = (V = a == null ? void 0 : a.at(0)) == null ? void 0 : V.price, [F, b] = oe({
31
31
  sourceValue: _,
32
- format: (l) => N(String(l ?? ""), c),
32
+ format: (l) => L(String(l ?? ""), c),
33
33
  regionalFormat: c
34
34
  }), $ = P(() => {
35
- const l = N(F, c);
35
+ const l = L(F, c);
36
36
  b(l || ""), o == null || o();
37
37
  }, [
38
38
  F,
@@ -41,14 +41,14 @@ const n = ({ children: e }) => {
41
41
  b
42
42
  ]), B = P((l) => {
43
43
  b(l);
44
- const L = h(N(l, c)), j = h(_);
45
- if (L !== j) {
46
- if (L === void 0) {
44
+ const N = h(L(l, c)), j = h(_);
45
+ if (N !== j) {
46
+ if (N === void 0) {
47
47
  s(null);
48
48
  return;
49
49
  }
50
50
  s([
51
- ie(S, L)
51
+ ie(S, N)
52
52
  ]);
53
53
  }
54
54
  }, [
@@ -58,11 +58,11 @@ const n = ({ children: e }) => {
58
58
  _,
59
59
  b
60
60
  ]), U = u(e, n.Label), k = u(e, n.Input), v = u(e, n.Description), H = u(e, n.Error);
61
- return /* @__PURE__ */ r.createElement(M, {
61
+ return /* @__PURE__ */ r.createElement(G, {
62
62
  fieldId: t,
63
63
  renderLabel: () => U,
64
64
  renderInput: () => /* @__PURE__ */ r.createElement(w, {
65
- "aria-labelledby": `${G} ${q}`,
65
+ "aria-labelledby": `${M} ${q}`,
66
66
  value: a ? F : "",
67
67
  onChange: B,
68
68
  isDisabled: i,
@@ -1,16 +1,16 @@
1
1
  import { RicosViewer as Ce } from "@wix/ricos/viewer";
2
2
  import h from "classnames";
3
3
  import t, { useMemo as j, useState as $, useRef as F, useEffect as k, useCallback as Z, createContext as ee, useContext as G, useId as de } from "react";
4
- import { b2 as ye, bt as w, bb as te, bs as Ee, bj as D, bg as ne, bl as fe, M as ge, Y as he, L as be, O as Oe, G as _e, u as Ne } from "./form-Mla9_phC.js";
4
+ import { b2 as ye, bt as w, bb as te, bs as Ee, bj as D, bg as ne, bl as fe, N as ge, Y as he, M as be, O as Oe, G as Ne, u as _e } from "./form-D7mq5tD5.js";
5
5
  import { UNSAFE_PortalProvider as Se } from "react-aria";
6
6
  import { Dialog as oe, OverlayTriggerStateContext as Le, ModalOverlay as Ie, Modal as ve, SearchField as Pe, Group as q, ListBoxItem as Fe, DialogTrigger as we, Select as De, Input as re, Autocomplete as Be } from "react-aria-components";
7
7
  import { f as g, a as I } from "./find-child-C60k4CxG.js";
8
- import { D as Re, E as xe } from "./field-error-headless-JU1yiTVE.js";
9
- import { L as Me } from "./field-label-headless-CD4_8Ros.js";
8
+ import { D as Re, E as xe } from "./field-error-headless-BCrv3sBa.js";
9
+ import { L as Me } from "./field-label-headless-B54yFVkr.js";
10
10
  import { N as Te, S as je } from "./non-modal-popover-D-u13tmp.js";
11
11
  import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
12
- import { a as Ae, u as ke } from "./use-dropdown-trigger-class-name-BHwQ-wZa.js";
13
- import { V as Ue, u as Ve } from "./use-dropdown-option-class-name-BM-NiVtO.js";
12
+ import { a as Ae, u as ke } from "./use-dropdown-trigger-class-name-_gAS-eDg.js";
13
+ import { V as Ue, u as Ve } from "./use-dropdown-option-class-name-DNvaYrmm.js";
14
14
  import ae, { AsYouType as qe, isValidPhoneNumber as Ge, isSupportedCountry as Ye } from "libphonenumber-js";
15
15
  import "libphonenumber-js/metadata.min.json";
16
16
  import { C as Q } from "./calling-country-codes-PyWuOTmF.js";
@@ -18,7 +18,7 @@ import { C as He } from "./chevron-down-icon-CcpVm6B-.js";
18
18
  import { E as ze } from "./error-icon-hZxQ6DEy.js";
19
19
  import { H as W } from "./custom-focus-class-_483Pkwp.js";
20
20
  import { s as O } from "./field-rac.module-DfEb7pBp.js";
21
- import { u as Ke } from "./use-text-input-class-name-Bqj4OoIw.js";
21
+ import { u as Ke } from "./use-text-input-class-name-CO5G1Jx0.js";
22
22
  function J(e) {
23
23
  const n = e ? ae(e) : void 0, r = n == null ? void 0 : n.country;
24
24
  if (r)
@@ -99,8 +99,8 @@ function Je({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange:
99
99
  }
100
100
  const f = J(p);
101
101
  u((y) => {
102
- const L = f || y || ((r == null ? void 0 : r.length) === 1 ? r[0] : void 0), N = U(X(p, L));
103
- return l.current = N ?? "", o(N), f || y;
102
+ const L = f || y || ((r == null ? void 0 : r.length) === 1 ? r[0] : void 0), _ = U(X(p, L));
103
+ return l.current = _ ?? "", o(_), f || y;
104
104
  });
105
105
  }, [
106
106
  r,
@@ -120,7 +120,7 @@ function Je({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange:
120
120
  handleCountryCodeChange: d
121
121
  };
122
122
  }
123
- const se = /* @__PURE__ */ ee(null), _ = () => {
123
+ const se = /* @__PURE__ */ ee(null), N = () => {
124
124
  const e = G(se);
125
125
  if (!e)
126
126
  throw new Error("Phone input components must be used within PhoneInput component");
@@ -151,7 +151,7 @@ const se = /* @__PURE__ */ ee(null), _ = () => {
151
151
  m
152
152
  ]), p = j(() => d.map((T) => T.shortCountryCode), [
153
153
  d
154
- ]), { currentValue: f, selectedCountryCode: y, handlePhoneChange: L, handleCountryCodeChange: N } = Je({
154
+ ]), { currentValue: f, selectedCountryCode: y, handlePhoneChange: L, handleCountryCodeChange: _ } = Je({
155
155
  value: r,
156
156
  defaultCountryCode: c,
157
157
  allowedCountryCodes: p,
@@ -160,7 +160,7 @@ const se = /* @__PURE__ */ ee(null), _ = () => {
160
160
  currentValue: f,
161
161
  selectedCountryCode: y,
162
162
  handlePhoneChange: L,
163
- handleCountryCodeChange: N,
163
+ handleCountryCodeChange: _,
164
164
  countryCodes: p,
165
165
  countries: d,
166
166
  popoverContainer: i
@@ -179,7 +179,7 @@ const se = /* @__PURE__ */ ee(null), _ = () => {
179
179
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, M, x)
180
180
  }));
181
181
  }, K = ({ children: e, className: n }) => {
182
- const { labelId: r } = ne(), { hasError: o, disabled: a, readOnly: c } = D(), { t: l } = w(), { selectedCountryCode: i, countries: u } = _(), m = de(), C = i ? u.find((y) => y.shortCountryCode === i) : void 0, d = C && Y(C.longCountryCode) || "", p = l("field.phone.country-code.aria-label"), f = C ? `${p}, ${C.countryName}, ${d}` : p;
182
+ const { labelId: r } = ne(), { hasError: o, disabled: a, readOnly: c } = D(), { t: l } = w(), { selectedCountryCode: i, countries: u } = N(), m = de(), C = i ? u.find((y) => y.shortCountryCode === i) : void 0, d = C && Y(C.longCountryCode) || "", p = l("field.phone.country-code.aria-label"), f = C ? `${p}, ${C.countryName}, ${d}` : p;
183
183
  return /* @__PURE__ */ t.createElement(je, {
184
184
  isDisabled: a || c,
185
185
  id: m,
@@ -189,13 +189,13 @@ const se = /* @__PURE__ */ ee(null), _ = () => {
189
189
  "data-invalid": o || void 0
190
190
  }, e);
191
191
  }, Xe = ({ className: e }) => {
192
- const { selectedCountryCode: n, countries: r } = _(), o = r.find((a) => a.shortCountryCode === n);
192
+ const { selectedCountryCode: n, countries: r } = N(), o = r.find((a) => a.shortCountryCode === n);
193
193
  return o ? /* @__PURE__ */ t.createElement(z, {
194
194
  className: e,
195
195
  longCountryCode: o.longCountryCode
196
196
  }) : null;
197
197
  }, et = ({ children: e, className: n }) => {
198
- const { selectedCountryCode: r, countries: o } = _();
198
+ const { selectedCountryCode: r, countries: o } = N();
199
199
  return o.some((c) => c.shortCountryCode === r) ? null : /* @__PURE__ */ t.createElement("span", {
200
200
  className: n
201
201
  }, e);
@@ -203,7 +203,7 @@ const se = /* @__PURE__ */ ee(null), _ = () => {
203
203
  K.Flag = Xe;
204
204
  K.EmptyState = et;
205
205
  const b = ({ children: e, className: n, "aria-label": r, placement: o, offset: a, ...c }) => {
206
- const { triggerRef: l, optionsRef: i, isForcedOpen: u, isOpen: m } = c, { popoverContainer: C } = _(), d = g(e, b.Search);
206
+ const { triggerRef: l, optionsRef: i, isForcedOpen: u, isOpen: m } = c, { popoverContainer: C } = N(), d = g(e, b.Search);
207
207
  if (!m)
208
208
  return null;
209
209
  const p = /* @__PURE__ */ t.createElement(le, {
@@ -222,7 +222,7 @@ const b = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
222
222
  "aria-label": r
223
223
  }, p) : p));
224
224
  }, tt = ({ children: e, className: n, overlayClassName: r, "aria-label": o, portalContainer: a = t.Fragment, ...c }) => {
225
- const { optionsRef: l } = c, { selectedCountryCode: i, handleCountryCodeChange: u } = _(), m = G(Le);
225
+ const { optionsRef: l } = c, { selectedCountryCode: i, handleCountryCodeChange: u } = N(), m = G(Le);
226
226
  return /* @__PURE__ */ t.createElement(Ie, {
227
227
  className: r,
228
228
  isDismissable: !0
@@ -245,7 +245,7 @@ const b = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
245
245
  }
246
246
  }, e)))));
247
247
  }, le = ({ children: e, listBoxProps: n, isForcedOpen: r }) => {
248
- const { countries: o } = _(), a = g(e, b.Option), c = g(e, b.Search), l = g(e, b.EmptyState), i = /* @__PURE__ */ t.createElement(Ue, {
248
+ const { countries: o } = N(), a = g(e, b.Option), c = g(e, b.Search), l = g(e, b.EmptyState), i = /* @__PURE__ */ t.createElement(Ue, {
249
249
  isForcedOpen: r === !0,
250
250
  ...n,
251
251
  renderEmptyState: l ? () => l : void 0
@@ -324,7 +324,7 @@ A.Name = me;
324
324
  A.Code = pe;
325
325
  b.Option = A;
326
326
  const rt = ({ className: e }) => {
327
- const { t: n } = w(), { inputId: r, ariaDescribedBy: o } = ne(), { id: a, placeholder: c, disabled: l, readOnly: i, required: u, label: m, hasError: C } = D(), { currentValue: d, handlePhoneChange: p } = _(), f = F(null);
327
+ const { t: n } = w(), { inputId: r, ariaDescribedBy: o } = ne(), { id: a, placeholder: c, disabled: l, readOnly: i, required: u, label: m, hasError: C } = D(), { currentValue: d, handlePhoneChange: p } = N(), f = F(null);
328
328
  return fe(() => {
329
329
  var y;
330
330
  (y = f.current) == null || y.focus({
@@ -346,7 +346,7 @@ const rt = ({ className: e }) => {
346
346
  className: e
347
347
  });
348
348
  }, at = ({ children: e, ...n }) => {
349
- const r = n, { isForcedOpen: o } = r, { disabled: a, readOnly: c, required: l, hasError: i } = D(), [u, m] = $(!1), { t: C } = w(), { selectedCountryCode: d, handleCountryCodeChange: p } = _(), f = o || u && !a && !c;
349
+ const r = n, { isForcedOpen: o } = r, { disabled: a, readOnly: c, required: l, hasError: i } = D(), [u, m] = $(!1), { t: C } = w(), { selectedCountryCode: d, handleCountryCodeChange: p } = N(), f = o || u && !a && !c;
350
350
  return /* @__PURE__ */ t.createElement(De, {
351
351
  "aria-label": C("field.phone.country-code.aria-label"),
352
352
  value: d ?? null,
@@ -366,8 +366,8 @@ const rt = ({ className: e }) => {
366
366
  const r = n;
367
367
  return /* @__PURE__ */ t.createElement(we, null, g(e, s.CountryButton), I(g(e, s.CountryOptions.Modal), r));
368
368
  }, ct = ({ children: e, className: n }) => {
369
- const r = F(null), o = F(null), a = F(!1), { id: c, disabled: l, hasError: i, showFlag: u, onFocus: m, onBlur: C } = D(), d = $e(C), { countries: p } = _(), f = g(e, s.CountryDrawer), y = g(e, s.CountryPopover), L = g(e, s.PhoneNumber), N = p.length > 1, B = Ae(c) && !!y && N, R = typeof n == "function" ? ({ isHovered: v, isFocusWithin: S }) => n({
370
- hasCountryOptions: N,
369
+ const r = F(null), o = F(null), a = F(!1), { id: c, disabled: l, hasError: i, showFlag: u, onFocus: m, onBlur: C } = D(), d = $e(C), { countries: p } = N(), f = g(e, s.CountryDrawer), y = g(e, s.CountryPopover), L = g(e, s.PhoneNumber), _ = p.length > 1, B = Ae(c) && !!y && _, R = typeof n == "function" ? ({ isHovered: v, isFocusWithin: S }) => n({
370
+ hasCountryOptions: _,
371
371
  isHovered: v,
372
372
  isFocusWithin: S
373
373
  }) : n, x = {
@@ -429,7 +429,7 @@ const lt = (e) => /* @__PURE__ */ t.createElement("svg", {
429
429
  }, /* @__PURE__ */ t.createElement("path", {
430
430
  fillRule: "evenodd",
431
431
  d: "M6.6108,14.3887 C5.5718,13.3497 4.9998,11.9687 4.9998,10.4997 C4.9998,9.0317 5.5718,7.6507 6.6108,6.6117 C7.6498,5.5727 9.0308,4.9997 10.4998,4.9997 C11.9688,4.9997 13.3498,5.5727 14.3888,6.6117 C15.4278,7.6507 15.9998,9.0317 15.9998,10.4997 C15.9998,11.9687 15.4278,13.3497 14.3888,14.3887 C13.3498,15.4277 11.9688,15.9997 10.4998,15.9997 C9.0308,15.9997 7.6498,15.4277 6.6108,14.3887 L6.6108,14.3887 Z M20.0028,19.2957 L15.4328,14.7247 C16.4438,13.5477 16.9998,12.0687 16.9998,10.4997 C16.9998,8.7637 16.3238,7.1317 15.0958,5.9047 C13.8688,4.6767 12.2358,3.9997 10.4998,3.9997 C8.7638,3.9997 7.1318,4.6767 5.9038,5.9047 C4.6758,7.1317 3.9998,8.7637 3.9998,10.4997 C3.9998,12.2367 4.6758,13.8677 5.9038,15.0957 C7.1318,16.3237 8.7638,16.9997 10.4998,16.9997 C12.0688,16.9997 13.5478,16.4437 14.7258,15.4317 L19.2958,20.0027 L20.0028,19.2957 Z"
432
- })), it = "_control_o9wij_1", mt = "_countryButton_o9wij_9", pt = "_drawerButton_o9wij_25", Ct = "_popoverButton_o9wij_34", dt = "_chevron_o9wij_39", yt = "_globeIcon_o9wij_48", Et = "_searchIcon_o9wij_56", ft = "_flag_o9wij_61", gt = "_option_o9wij_67", ht = "_phoneNumber_o9wij_80", bt = "_countryOptions_o9wij_106", Ot = "_countrySearch_o9wij_123", _t = "_mobileDrawer_o9wij_131", Nt = "_name_o9wij_140", St = "_code_o9wij_144", Lt = "_mobileOverlay_o9wij_161", E = {
432
+ })), it = "_control_o9wij_1", mt = "_countryButton_o9wij_9", pt = "_drawerButton_o9wij_25", Ct = "_popoverButton_o9wij_34", dt = "_chevron_o9wij_39", yt = "_globeIcon_o9wij_48", Et = "_searchIcon_o9wij_56", ft = "_flag_o9wij_61", gt = "_option_o9wij_67", ht = "_phoneNumber_o9wij_80", bt = "_countryOptions_o9wij_106", Ot = "_countrySearch_o9wij_123", Nt = "_mobileDrawer_o9wij_131", _t = "_name_o9wij_140", St = "_code_o9wij_144", Lt = "_mobileOverlay_o9wij_161", E = {
433
433
  control: it,
434
434
  countryButton: mt,
435
435
  drawerButton: pt,
@@ -442,8 +442,8 @@ const lt = (e) => /* @__PURE__ */ t.createElement("svg", {
442
442
  phoneNumber: ht,
443
443
  countryOptions: bt,
444
444
  countrySearch: Ot,
445
- mobileDrawer: _t,
446
- name: Nt,
445
+ mobileDrawer: Nt,
446
+ name: _t,
447
447
  code: St,
448
448
  mobileOverlay: Lt
449
449
  }, It = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(Ce, {
@@ -497,9 +497,9 @@ const lt = (e) => /* @__PURE__ */ t.createElement("svg", {
497
497
  }, c, l, u)), /* @__PURE__ */ t.createElement(s.PhoneNumber, {
498
498
  className: h(O.innerInput, E.phoneNumber)
499
499
  })), /* @__PURE__ */ t.createElement(s.Error, {
500
- className: h(_e, O.error)
500
+ className: h(Ne, O.error)
501
501
  }, /* @__PURE__ */ t.createElement(ze, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
502
- className: h(Ne, O.description)
502
+ className: h(_e, O.description)
503
503
  }, It));
504
504
  };
505
505
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-Fgfg5HwA.js";
2
+ import { P as o } from "./phone-input-field-rac-DLZysv_w.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -2,11 +2,11 @@ import t, { useMemo as K, useCallback as v, useRef as U } from "react";
2
2
  import { RicosViewer as $ } from "@wix/ricos/viewer";
3
3
  import _ from "classnames";
4
4
  import { CheckboxField as z, CheckboxButton as j, NumberField as X, Group as Y, Button as Q, Input as J } from "react-aria-components";
5
- import { bj as x, bg as W, bb as V, bt as Z, bl as ee, M as te, Y as ne, P as ae, S as oe, R as re, L as se, G as le, u as ie, Q as ce } from "./form-Mla9_phC.js";
5
+ import { bj as x, bg as W, bb as V, bt as Z, bl as ee, N as te, Y as ne, P as ae, S as oe, R as re, M as se, G as le, u as ie, Q as ce } from "./form-D7mq5tD5.js";
6
6
  import { f as I, a as f } from "./find-child-C60k4CxG.js";
7
- import { L as ue, g as me } from "./field-label-headless-CD4_8Ros.js";
7
+ import { L as ue, g as me } from "./field-label-headless-B54yFVkr.js";
8
8
  import { f as pe } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-JU1yiTVE.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-BCrv3sBa.js";
10
10
  import { F as ye } from "./fieldset-headless-CD3fds9J.js";
11
11
  import { g as be } from "./payment-field-utils-DobiK5Xh.js";
12
12
  import { S as _e } from "./selection-indicator-XQ8MYHUQ.js";
@@ -14,8 +14,8 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
14
14
  import { C as Ie } from "./checkbox-indicator-module-classes-6173wvuW.js";
15
15
  import { s as q } from "./field-rac.module-DfEb7pBp.js";
16
16
  import { o as w } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as Le } from "./use-element-state-class-name-DAYz5X_i.js";
18
- var Oe = /* @__PURE__ */ (function(e) {
17
+ import { u as Oe } from "./use-element-state-class-name-CT3HIbmC.js";
18
+ var Le = /* @__PURE__ */ (function(e) {
19
19
  return e.crop = "CROP", e.fit = "FIT", e;
20
20
  })({}), k = /* @__PURE__ */ (function(e) {
21
21
  return e.oneByOne = "one-by-one", e.onlyOne = "only-one", e.many = "many", e;
@@ -28,7 +28,7 @@ function Ce({ maxItems: e, products: a } = {}) {
28
28
  }
29
29
  const o = ({ children: e }) => {
30
30
  var D;
31
- const { id: a, value: s, onChange: n, disabled: r, readOnly: c, required: y, onBlur: L, onFocus: l, hasError: u, validation: m, FieldLayout: p } = x(), { inputId: M, labelId: N, ariaDescribedBy: h } = W(), b = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), O = I(e, o.Error), i = K(() => s || [], [
31
+ const { id: a, value: s, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: l, hasError: u, validation: m, FieldLayout: p } = x(), { inputId: M, labelId: N, ariaDescribedBy: h } = W(), b = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), L = I(e, o.Error), i = K(() => s || [], [
32
32
  s
33
33
  ]), T = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = v((S, R) => {
34
34
  const d = i.filter((H) => H.productId !== S.productId), B = R ? [
@@ -48,7 +48,7 @@ const o = ({ children: e }) => {
48
48
  ariaLabelledBy: N,
49
49
  ariaDescribedBy: h,
50
50
  required: y,
51
- onBlur: L,
51
+ onBlur: O,
52
52
  onFocus: l
53
53
  }, g ? f(g, {
54
54
  allowMany: T,
@@ -58,15 +58,15 @@ const o = ({ children: e }) => {
58
58
  readOnly: c,
59
59
  hasError: u
60
60
  }) : null),
61
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, O, A)
61
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, A)
62
62
  });
63
63
  }, G = ({ children: e, className: a, ...s }) => {
64
- const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: L, hasError: l } = s, { options: u, validation: m, imageResize: p } = x(), { currency: M } = V(), { t: N } = Z(), h = I(e, o.Option);
64
+ const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: l } = s, { options: u, validation: m, imageResize: p } = x(), { currency: M } = V(), { t: N } = Z(), h = I(e, o.Option);
65
65
  return /* @__PURE__ */ t.createElement("div", {
66
66
  className: a
67
67
  }, u == null ? void 0 : u.map((b, g) => {
68
68
  var C, T, F, D, S;
69
- const A = ((S = (D = (F = (T = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : T.products) == null ? void 0 : F.find((R) => R.id === b.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", O = be(N, M), i = r.find((R) => R.productId === b.value);
69
+ const A = ((S = (D = (F = (T = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : T.products) == null ? void 0 : F.find((R) => R.id === b.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = be(N, M), i = r.find((R) => R.productId === b.value);
70
70
  return f(h, {
71
71
  key: b.id || b.value || b.label,
72
72
  option: b,
@@ -76,15 +76,15 @@ const o = ({ children: e }) => {
76
76
  allowMany: n,
77
77
  onProductChange: c,
78
78
  disabled: y,
79
- readOnly: L,
79
+ readOnly: O,
80
80
  hasError: l,
81
- currencyAriaLabel: O,
81
+ currencyAriaLabel: L,
82
82
  imageResize: p,
83
83
  isFirst: g === 0
84
84
  });
85
85
  }));
86
86
  }, E = ({ children: e, className: a, ...s }) => {
87
- const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: L, onProductChange: l, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: M, imageResize: N, isFirst: h } = s, { id: b } = x(), g = U(null), A = U(null), O = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), T = I(e, E.Input), F = I(e, E.Quantity);
87
+ const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: O, onProductChange: l, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: M, imageResize: N, isFirst: h } = s, { id: b } = x(), g = U(null), A = U(null), L = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), T = I(e, E.Input), F = I(e, E.Quantity);
88
88
  ee(() => {
89
89
  var d;
90
90
  h && ((d = g.current ?? A.current) == null || d.focus({
@@ -112,10 +112,10 @@ const o = ({ children: e }) => {
112
112
  n.value,
113
113
  r
114
114
  ]), R = `${n.label} ${M} ${r}`;
115
- return L ? /* @__PURE__ */ t.createElement("div", {
115
+ return O ? /* @__PURE__ */ t.createElement("div", {
116
116
  className: a,
117
117
  "data-hook": "product"
118
- }, O ? f(O, {
118
+ }, L ? f(L, {
119
119
  option: n,
120
120
  imageResize: N
121
121
  }) : null, i ? f(i, {
@@ -141,7 +141,7 @@ const o = ({ children: e }) => {
141
141
  ref: g,
142
142
  className: a,
143
143
  "data-hook": "product"
144
- }, ({ isHovered: d, isFocused: B }) => /* @__PURE__ */ t.createElement(t.Fragment, null, O ? f(O, {
144
+ }, ({ isHovered: d, isFocused: B }) => /* @__PURE__ */ t.createElement(t.Fragment, null, L ? f(L, {
145
145
  option: n,
146
146
  imageResize: N
147
147
  }) : null, i ? f(i, {
@@ -158,14 +158,14 @@ const o = ({ children: e }) => {
158
158
  const { option: s, imageResize: n } = a, r = (l = s.media) == null ? void 0 : l.image;
159
159
  if (!r)
160
160
  return null;
161
- const c = n === Oe.fit, y = me(r, 96, 96, c ? "fit" : "fill");
161
+ const c = n === Le.fit, y = me(r, 96, 96, c ? "fit" : "fill");
162
162
  if (!y)
163
163
  return null;
164
- const L = r.altText || s.label || "";
164
+ const O = r.altText || s.label || "";
165
165
  return /* @__PURE__ */ t.createElement("img", {
166
166
  className: e,
167
167
  src: y,
168
- alt: L,
168
+ alt: O,
169
169
  "data-fit": c ? "contain" : "cover",
170
170
  "data-hook": "product-image"
171
171
  });
@@ -186,7 +186,7 @@ const o = ({ children: e }) => {
186
186
  "data-hook": "product-price"
187
187
  }, c);
188
188
  }, De = ({ className: e, ...a }) => {
189
- const { quantity: s, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: L, inputRef: l } = a, u = v((p) => {
189
+ const { quantity: s, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: l } = a, u = v((p) => {
190
190
  n(p < 0 ? 0 : p);
191
191
  }, [
192
192
  n
@@ -203,7 +203,7 @@ const o = ({ children: e }) => {
203
203
  isDisabled: r,
204
204
  isReadOnly: c,
205
205
  isInvalid: y,
206
- "aria-label": L,
206
+ "aria-label": O,
207
207
  className: e,
208
208
  "data-hook": "product-quantity"
209
209
  }, /* @__PURE__ */ t.createElement(Y, {
@@ -239,7 +239,7 @@ const Se = "_options_519is_1", Pe = "_option_519is_1", Ne = "_optionInput_519is_
239
239
  content: e,
240
240
  locale: a
241
241
  }), ve = () => {
242
- const e = Le({
242
+ const e = Oe({
243
243
  globalClasses: ce,
244
244
  moduleClasses: Ie
245
245
  });
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-0dJHtf3G.js";
2
+ import { R as r } from "./radio-group-field-rac-DiaR7RdY.js";
3
3
  const i = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  i as QuizRadioGroupRAC
@@ -1,9 +1,9 @@
1
1
  import a, { useRef as F, useState as V, useEffect as T, useCallback as B } from "react";
2
2
  import { RadioGroup as H, RadioField as k, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
3
- import { bj as g, bg as $, bt as D, bl as x } from "./form-Mla9_phC.js";
3
+ import { bj as g, bg as $, bt as D, bl as x } from "./form-D7mq5tD5.js";
4
4
  import { f as d, a as v } from "./find-child-C60k4CxG.js";
5
- import { D as U, E as j } from "./field-error-headless-JU1yiTVE.js";
6
- import { L as M } from "./field-label-headless-CD4_8Ros.js";
5
+ import { D as U, E as j } from "./field-error-headless-BCrv3sBa.js";
6
+ import { L as M } from "./field-label-headless-B54yFVkr.js";
7
7
  import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), S = (e, t) => !!t && !z(e, t), J = (e, t) => {
9
9
  const l = t ? t.length + 2 : 0;
@@ -1,21 +1,21 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { a, s, R as n } from "./radio-button-module-classes-Cu3KM625.js";
4
+ import { a, s, R as n } from "./radio-button-module-classes-CokNolqR.js";
5
5
  import { E as c } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as r } from "./field-rac.module-DfEb7pBp.js";
7
- import { M as i, Y as E, T as p, U as O, G as R, u as _, V as I } from "./form-Mla9_phC.js";
7
+ import { N as i, Y as E, T as p, U as O, G as R, u as _, V as I } from "./form-D7mq5tD5.js";
8
8
  import { o as L } from "./options-rac.module-_THNq6Qq.js";
9
- import { u } from "./use-element-state-class-name-DAYz5X_i.js";
10
- import { u as N } from "./use-text-input-class-name-Bqj4OoIw.js";
9
+ import { u as N } from "./use-element-state-class-name-CT3HIbmC.js";
10
+ import { u } from "./use-text-input-class-name-CO5G1Jx0.js";
11
11
  const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: o,
13
13
  locale: l
14
14
  }), G = () => {
15
- const o = u({
15
+ const o = N({
16
16
  globalClasses: I,
17
17
  moduleClasses: n
18
- }), l = N();
18
+ }), l = u();
19
19
  return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
20
20
  className: t(i, r.label)
21
21
  }, /* @__PURE__ */ e.createElement(a.Label.Required, {
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-0dJHtf3G.js";
2
+ import { R as r } from "./radio-group-field-rac-DiaR7RdY.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,16 +1,16 @@
1
- import { RicosViewer as y } from "@wix/ricos/viewer";
1
+ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import u from "classnames";
3
- import e, { useCallback as N, useState as O, useRef as A } from "react";
4
- import { bj as I, bg as v, bt as M, M as T, Y as H, W as w, G as B, u as P, X as G } from "./form-Mla9_phC.js";
3
+ import e, { useCallback as y, useState as O, useRef as A } from "react";
4
+ import { bj as I, bg as v, bt as T, N as H, Y as M, W as w, G as B, u as P, X as G } from "./form-D7mq5tD5.js";
5
5
  import { RadioGroup as q, RadioField as k, RadioButton as x } from "react-aria-components";
6
6
  import { f as E, a as U } from "./find-child-C60k4CxG.js";
7
- import { D as j, E as z } from "./field-error-headless-JU1yiTVE.js";
8
- import { L as Q } from "./field-label-headless-CD4_8Ros.js";
7
+ import { D as j, E as z } from "./field-error-headless-BCrv3sBa.js";
8
+ import { L as Q } from "./field-label-headless-B54yFVkr.js";
9
9
  import { E as W } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as g } from "./field-rac.module-DfEb7pBp.js";
11
- import { u as X } from "./use-element-state-class-name-DAYz5X_i.js";
11
+ import { u as X } from "./use-element-state-class-name-CT3HIbmC.js";
12
12
  const t = ({ children: a }) => {
13
- const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
13
+ const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = y((D) => i(Number(D)), [
14
14
  i
15
15
  ]), f = E(a, t.Label), s = E(a, t.Ratings), S = E(a, t.Description), h = E(a, t.Error);
16
16
  return /* @__PURE__ */ e.createElement(R, {
@@ -103,7 +103,7 @@ const Z = (a) => /* @__PURE__ */ e.createElement("svg", {
103
103
  rating: K,
104
104
  ratingSelected: $,
105
105
  ratingHover: V
106
- }, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(y, {
106
+ }, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(N, {
107
107
  content: a,
108
108
  locale: n
109
109
  }), te = {
@@ -111,14 +111,14 @@ const Z = (a) => /* @__PURE__ */ e.createElement("svg", {
111
111
  selected: p.ratingSelected,
112
112
  hover: p.ratingHover
113
113
  }, Ee = () => {
114
- const { t: a } = M(), n = X({
114
+ const { t: a } = T(), n = X({
115
115
  globalClasses: G,
116
116
  moduleClasses: te
117
117
  });
118
118
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
119
- className: u(T, g.label)
119
+ className: u(H, g.label)
120
120
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
121
- className: u(H, g.requiredMark)
121
+ className: u(M, g.requiredMark)
122
122
  })), /* @__PURE__ */ e.createElement(t.Ratings, {
123
123
  className: u(w, p.ratings),
124
124
  getReactionLabel: (r) => a("rating-input.a11y.reaction-label", {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-CMny6OSF.js";
2
+ import { R as e } from "./rating-input-field-rac-DbyB_Esi.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as RatingInputRAC