@wix/form-elements 1.132.0 → 1.133.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 (110) hide show
  1. package/dist/component/{appointment-rac-DMYXIOL3.js → appointment-rac-D0mwr3TL.js} +5 -5
  2. package/dist/component/{bookings-address-rac-D6Ot6vm7.js → bookings-address-rac-BEnmwXax.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CkPflUxK.js → bookings-email-rac-D56j9PXc.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BbDv4BQw.js → bookings-first-name-rac-xu3S-ih_.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DJodBCf4.js → bookings-header-rac-hfBabv7v.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C4PRt2XO.js → bookings-last-name-rac-6bMvN0Cm.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-MPcFtzUB.js → bookings-login-bar-rac-DE70Omwf.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-BnaiOxWV.js → bookings-phone-rac-D_EHRAiU.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Cwp6pBC_.js → bookings-rich-text-rac-BxgI9Zt6.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BA-67OHo.js → checkbox-field-rac-BLDUOAXM.js} +6 -6
  11. package/dist/component/{checkbox-group-field-headless-B20gxYEt.js → checkbox-group-field-headless-CugSJIBp.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac--uloIFS6.js → checkbox-group-field-rac-D4m9SmRX.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-CYt86YIr.js → checkbox-group-rac-BYqEsCwa.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-Bqo0QILF.js → checkbox-indicator-module-classes-zXKP5rD4.js} +1 -1
  15. package/dist/component/{checkbox-rac-4FLDh24V.js → checkbox-rac-DkIBUAN7.js} +1 -1
  16. package/dist/component/{contacts-address-rac-BU2H0MEF.js → contacts-address-rac-D1tzbiTM.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-DXITbTMA.js → contacts-birthdate-rac-DO-1xG0u.js} +1 -1
  18. package/dist/component/{contacts-company-rac-D_BKjGc8.js → contacts-company-rac-CzJK3YIo.js} +1 -1
  19. package/dist/component/{contacts-email-rac-CfYSUKJ3.js → contacts-email-rac-DLvMErBI.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-DYZUgWsB.js → contacts-first-name-rac-3RcSXL0h.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-m-zqIpMB.js → contacts-last-name-rac-BYoSi_QX.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-nJDsO_Y8.js → contacts-phone-rac-DMYn0orB.js} +1 -1
  23. package/dist/component/{contacts-position-rac-CAGdJXSW.js → contacts-position-rac-K1R6ihXo.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-jwP65ngO.js → contacts-subscribe-rac-DsWNSH6t.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-DUOQlZ3c.js → contacts-tax-id-rac-D7NjPiRf.js} +1 -1
  26. package/dist/component/{date-availability-EbJKjV1U.js → date-availability-D3n6-g3h.js} +1 -1
  27. package/dist/component/{date-input-field-rac-CZRcW-0J.js → date-input-field-rac-SyAmInlu.js} +7 -7
  28. package/dist/component/{date-input-rac-CasoMjfj.js → date-input-rac-BQNOsWz1.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-V9MRWrj-.js → date-picker-field-rac-DO1epod7.js} +6 -6
  30. package/dist/component/{date-picker-rac-Cu5wTh1_.js → date-picker-rac-DQElftUu.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-YGqLIle1.js → date-time-input-field-rac-CV5wZSXO.js} +7 -7
  32. package/dist/component/{date-time-input-rac-DCEyREJI.js → date-time-input-rac-DvHwpjnk.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-DLB5mAwB.js → dext-checkbox-group-rac-BfcKoslb.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-DFV7ixAO.js → dext-checkbox-rac-DhadtXb5.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-CEL2X1ID.js → dext-date-picker-rac-0Dmo3mrG.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-yLdCLDbQ.js → dext-date-time-input-rac-Cnh7Aqiq.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-ti_P0L_X.js → dext-dropdown-rac-CajXcYsB.js} +1 -1
  38. package/dist/component/{dext-email-rac-CnvdVz-J.js → dext-email-rac-DynJaiZt.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-CmGt691Y.js → dext-number-input-rac-LmTKwb80.js} +1 -1
  40. package/dist/component/{dext-phone-rac-JEZkz4gZ.js → dext-phone-rac-Cw2roq1_.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-CUk6wUPl.js → dext-radio-group-rac-CaNZJrkc.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-Q1J5oqhZ.js → dext-rating-input-rac-CAL1jb0q.js} +1 -1
  43. package/dist/component/{dext-tags-rac-DU9FLeGu.js → dext-tags-rac-BOp_amVK.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-D1FOCK6O.js → dext-text-area-rac-6DYTHIeh.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-Dzb5lQjK.js → dext-text-input-rac-CDWthvV3.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-cRLFpiNR.js → dext-url-input-rac-CsS4NPYO.js} +1 -1
  47. package/dist/component/{donation-rac-CV-PnK1D.js → donation-rac-B7lFkotu.js} +48 -48
  48. package/dist/component/{dropdown-field-headless-D1e2XbNj.js → dropdown-field-headless-ajQghLaj.js} +5 -5
  49. package/dist/component/{dropdown-field-rac-DkeVkP9c.js → dropdown-field-rac-Bf5LQqSL.js} +5 -5
  50. package/dist/component/{dropdown-rac-ChlsWwyp.js → dropdown-rac-CJmA_ePl.js} +1 -1
  51. package/dist/component/{ecom-address-rac-DvHJ4Ym-.js → ecom-address-rac-B49ZP2qc.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-D3LX7FVx.js → ecom-subscription-checkbox-rac-C8qImtxo.js} +2 -2
  53. package/dist/component/{email-input-field-rac-B8OCp4L9.js → email-input-field-rac-B_bEWp5N.js} +4 -4
  54. package/dist/component/{events-repeater-rac-BO0-VcV3.js → events-repeater-rac-DXxqmIBX.js} +6 -6
  55. package/dist/component/{events-rsvp-rac-CnULPDrG.js → events-rsvp-rac-BaJQLSv3.js} +4 -4
  56. package/dist/component/{field-error-headless-DwlihJqC.js → field-error-headless-BxEFPwKI.js} +1 -1
  57. package/dist/component/{field-label-headless-C_cMy8vP.js → field-label-headless-5mewgrhq.js} +1 -1
  58. package/dist/component/field-rac.module-BGN-O8tV.js +25 -0
  59. package/dist/component/{file-upload-rac-CjBKgUCk.js → file-upload-rac-D9Z1Cumr.js} +172 -171
  60. package/dist/component/{fixed-payment-rac-ameH1syZ.js → fixed-payment-rac-S68bqvbB.js} +4 -4
  61. package/dist/component/{form-GcotNutn.js → form-CPY-PtxT.js} +69 -69
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-D2fpKxIz.js → header-field-rac-r6dYbnvA.js} +2 -2
  65. package/dist/component/{header-rac-DdWMo2xZ.js → header-rac-C9gaKsaE.js} +1 -1
  66. package/dist/component/{image-choice-rac-CBaUQX8m.js → image-choice-rac-BbES5dAK.js} +27 -27
  67. package/dist/component/{index-CAktfVsx.js → index-C6zuIVeJ.js} +2 -2
  68. package/dist/component/{index-nOv_Pf2O.js → index-o-TpCHqo.js} +4 -4
  69. package/dist/component/{isObjectLike-t9SwprFt.js → isObjectLike-BSRiBVs9.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-DpMPlfjM.js → multiline-address-field-rac-BfVIiFyM.js} +8 -8
  71. package/dist/component/{multiline-address-rac-D1XtQuAy.js → multiline-address-rac-BOKBExhi.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CFFU1JrK.js → number-input-field-rac-BRKFm8aA.js} +5 -5
  73. package/dist/component/{number-input-rac-BDs3ngbf.js → number-input-rac-BNbCCb-g.js} +1 -1
  74. package/dist/component/{password-rac-jRXGfQn_.js → password-rac-BygVJf7f.js} +5 -5
  75. package/dist/component/{payment-input-rac-BAkJqSyU.js → payment-input-rac-CoMbHcHG.js} +5 -5
  76. package/dist/component/{phone-input-field-rac-D_1jDl7O.js → phone-input-field-rac-dFjxptEr.js} +106 -105
  77. package/dist/component/{phone-rac-DyinFMYS.js → phone-rac-Dup3AP9J.js} +1 -1
  78. package/dist/component/{product-list-rac-BkUvhZMi.js → product-list-rac-B62mNB_W.js} +6 -6
  79. package/dist/component/{quiz-radio-group-rac-Cha9jkTD.js → quiz-radio-group-rac-DPMhDtr7.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-WQaDTnal.js → radio-button-module-classes-BMvPai_6.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-Cr35UXlg.js → radio-group-field-rac-DPt2Zl4G.js} +5 -5
  82. package/dist/component/{radio-group-rac-BGRYJcwQ.js → radio-group-rac-BZyGqFzr.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-C_X51vxl.js → rating-input-field-rac-C3E0KzV-.js} +5 -5
  84. package/dist/component/{rating-input-rac-B-usRVpy.js → rating-input-rac-BKLz4l_D.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-Bed3DsK7.js → rich-content-rac.module-CQ1qa_zz.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-SHHiInVy.js → rich-text-field-rac-BfdA5KNz.js} +2 -2
  87. package/dist/component/{rich-text-rac-CND63R3E.js → rich-text-rac-BFbhfFuF.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-BdfxJ1Zq.js → service-dropdown-rac-VulpHBki.js} +6 -6
  89. package/dist/component/{services-multi-choice-rac-D6BdQ2xE.js → services-multi-choice-rac-CIx5UpfD.js} +7 -7
  90. package/dist/component/{signature-rac-xuYTsTUB.js → signature-rac-BdxMBfl9.js} +133 -132
  91. package/dist/component/{submit-button-rac-7YwnpPtu.js → submit-button-rac-CkuWGEyL.js} +39 -39
  92. package/dist/component/{tags-field-rac-ChzPiPvQ.js → tags-field-rac-DKo_Yb5i.js} +45 -45
  93. package/dist/component/{tags-rac-BScWp3da.js → tags-rac-BimVd3ym.js} +1 -1
  94. package/dist/component/{text-area-field-rac-CDEJUPgV.js → text-area-field-rac-DEiLtCnb.js} +5 -5
  95. package/dist/component/{text-area-rac-CwiF24AW.js → text-area-rac-CHZtsq0f.js} +1 -1
  96. package/dist/component/{text-input-field-rac-vg2b_7it.js → text-input-field-rac-CSHvUtRG.js} +4 -4
  97. package/dist/component/{text-input-headless-BdD-dAx2.js → text-input-headless-BYcExFPS.js} +3 -3
  98. package/dist/component/{text-input-rac-yX6rdvri.js → text-input-rac-D-R9btYo.js} +1 -1
  99. package/dist/component/{time-input-rac-B_kYmOwq.js → time-input-rac-wkHemVzj.js} +5 -5
  100. package/dist/component/{url-input-field-rac-NJqyqxLi.js → url-input-field-rac-KJEcLyFk.js} +5 -5
  101. package/dist/component/{url-input-rac-BqIKc9nY.js → url-input-rac-JFfEH389.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-DFW55r3E.js → use-dropdown-option-class-name-BetaTWbW.js} +3 -3
  103. package/dist/component/{use-dropdown-trigger-class-name-Df-nqoeG.js → use-dropdown-trigger-class-name-C0ffAjFn.js} +2 -2
  104. package/dist/component/{use-element-state-class-name-D008EeZn.js → use-element-state-class-name-BOks3she.js} +1 -1
  105. package/dist/component/{use-hoverable-input-class-name-CVtF0FGy.js → use-hoverable-input-class-name-jxtCw16L.js} +3 -3
  106. package/dist/component/{use-service-options-base-B64QpFwc.js → use-service-options-base-q0JTA7UI.js} +1 -1
  107. package/dist/component/use-text-input-class-name-CTa0bC4T.js +6 -0
  108. package/package.json +2 -2
  109. package/dist/component/field-rac.module-BIBNQEOK.js +0 -25
  110. package/dist/component/use-text-input-class-name-BSDU7QEO.js +0 -6
@@ -3,19 +3,19 @@ import { RicosViewer as re } from "@wix/ricos/viewer";
3
3
  import D from "classnames";
4
4
  import { RadioGroup as se, RadioField as G, RadioButton as Y, TextField as ae, Group as le, Input as ie } from "react-aria-components";
5
5
  import { debounce as ce } from "ts-debounce";
6
- import { ax as Q, bh as L, be as B, br as ue, b9 as j, bj as me, I as pe, U as de, q as Ie, v as fe, p as Ce, r as Ee } from "./form-GcotNutn.js";
7
- import { f as E, a as y } from "./find-child-C60k4CxG.js";
8
- import { a as W } from "./format-currency-BwShJ9vM.js";
9
- import { D as he, E as Oe } from "./field-error-headless-DwlihJqC.js";
10
- import { L as _e } from "./field-label-headless-C_cMy8vP.js";
6
+ import { ax as j, bh as L, be as B, br as ue, b9 as z, bj as me, I as pe, U as de, q as Ie, v as Ce, p as Ee, r as fe } from "./form-CPY-PtxT.js";
7
+ import { f, a as y } from "./find-child-C60k4CxG.js";
8
+ import { a as Q } from "./format-currency-BwShJ9vM.js";
9
+ import { D as he, E as Oe } from "./field-error-headless-BxEFPwKI.js";
10
+ import { L as _e } from "./field-label-headless-5mewgrhq.js";
11
11
  import { a as be, b as ye } from "./numeric-input-utils-CuBMi4-a.js";
12
12
  import { g as Ne } from "./payment-field-utils-DobiK5Xh.js";
13
13
  import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
14
14
  import { E as Fe } from "./error-icon-hZxQ6DEy.js";
15
- import { s as v } from "./field-rac.module-BIBNQEOK.js";
15
+ import { s as v } from "./field-rac.module-BGN-O8tV.js";
16
16
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as ve } from "./use-element-state-class-name-D008EeZn.js";
18
- import { u as Se } from "./use-text-input-class-name-BSDU7QEO.js";
17
+ import { u as ve } from "./use-element-state-class-name-BOks3she.js";
18
+ import { u as Se } from "./use-text-input-class-name-CTa0bC4T.js";
19
19
  function Re(e, t) {
20
20
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
21
21
  }
@@ -27,16 +27,16 @@ function Te(e) {
27
27
  var t;
28
28
  return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
29
29
  }
30
- function z(e, t) {
30
+ function W(e, t) {
31
31
  const o = Number(t || "0");
32
32
  return {
33
33
  productId: e.id,
34
- price: e.priceType === Q.DYNAMIC_PRICE ? o : String(o),
34
+ price: e.priceType === j.DYNAMIC_PRICE ? o : String(o),
35
35
  quantity: 1
36
36
  };
37
37
  }
38
38
  function xe(e) {
39
- return e.find((t) => t.priceType === Q.DYNAMIC_PRICE);
39
+ return e.find((t) => t.priceType === j.DYNAMIC_PRICE);
40
40
  }
41
41
  function Pe(e, t) {
42
42
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
@@ -44,13 +44,13 @@ function Pe(e, t) {
44
44
  function Me(e, t, o) {
45
45
  const r = (t == null ? void 0 : t.productId) === e ? void 0 : e, a = r ? o[r] : void 0;
46
46
  return a ? [
47
- z(a, Te(a))
47
+ W(a, Te(a))
48
48
  ] : [];
49
49
  }
50
50
  const s = ({ children: e }) => {
51
- const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: b } = L(), { labelId: O } = B(), { t: f } = ue(), { currency: A, regionalFormat: N } = j(), d = o == null ? void 0 : o[0], g = M(() => {
52
- var C, P;
53
- return ((P = (C = i == null ? void 0 : i.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : P.products) || [];
51
+ const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: b } = L(), { labelId: O } = B(), { t: C } = ue(), { currency: A, regionalFormat: N } = z(), d = o == null ? void 0 : o[0], g = M(() => {
52
+ var E, P;
53
+ return ((P = (E = i == null ? void 0 : i.predefined) == null ? void 0 : E.paymentOptions) == null ? void 0 : P.products) || [];
54
54
  }, [
55
55
  i
56
56
  ]), T = M(() => Le(g), [
@@ -60,27 +60,27 @@ const s = ({ children: e }) => {
60
60
  p
61
61
  ]), J = Pe(d, l), [q, x] = ge({
62
62
  sourceValue: J,
63
- format: (C) => ye(String(C ?? ""), N),
63
+ format: (E) => ye(String(E ?? ""), N),
64
64
  regionalFormat: N
65
- }), w = F((C) => {
66
- r(Me(C, d, T)), x("");
65
+ }), w = F((E) => {
66
+ r(Me(E, d, T)), x("");
67
67
  }, [
68
68
  r,
69
69
  T,
70
70
  d,
71
71
  x
72
- ]), k = F((C) => {
73
- l && r(typeof C == "number" ? [
74
- z(l, String(C))
72
+ ]), k = F((E) => {
73
+ l && r(typeof E == "number" ? [
74
+ W(l, String(E))
75
75
  ] : []);
76
76
  }, [
77
77
  r,
78
78
  l
79
79
  ]), $ = M(() => ce(k, 500), [
80
80
  k
81
- ]), K = F((C) => {
81
+ ]), K = F((E) => {
82
82
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
83
- const { validInput: P, validNumber: ne } = be(C.target.value, Ae, q, N);
83
+ const { validInput: P, validNumber: ne } = be(E.target.value, Ae, q, N);
84
84
  x(P), $(ne);
85
85
  }, [
86
86
  N,
@@ -96,7 +96,7 @@ const s = ({ children: e }) => {
96
96
  l == null ? void 0 : l.id,
97
97
  H,
98
98
  w
99
- ]), Z = E(e, s.Label), V = E(e, s.Control), ee = E(e, s.Description), te = E(e, s.Error);
99
+ ]), Z = f(e, s.Label), V = f(e, s.Control), ee = f(e, s.Description), te = f(e, s.Error);
100
100
  return /* @__PURE__ */ n.createElement(h, {
101
101
  fieldId: t,
102
102
  renderLabel: () => Z,
@@ -115,15 +115,15 @@ const s = ({ children: e }) => {
115
115
  customAmount: q,
116
116
  onCustomAmountInputChange: K,
117
117
  currency: A,
118
- t: f,
119
- placeholder: c === void 0 ? f("donation.other-option.placeholder") : c,
118
+ t: C,
119
+ placeholder: c === void 0 ? C("donation.other-option.placeholder") : c,
120
120
  customAmountProductId: l == null ? void 0 : l.id,
121
121
  onFocusCustomInput: X
122
122
  }) : null),
123
123
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, te, ee)
124
124
  });
125
125
  }, Be = ({ children: e, className: t, ...o }) => {
126
- const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: b } = L(), O = E(e, s.Options), f = E(e, s.OtherInput);
126
+ const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: b } = L(), O = f(e, s.Options), C = f(e, s.OtherInput);
127
127
  return /* @__PURE__ */ n.createElement("div", {
128
128
  className: t,
129
129
  "data-invalid": b
@@ -144,7 +144,7 @@ const s = ({ children: e }) => {
144
144
  }
145
145
  }, /* @__PURE__ */ n.createElement(Y, {
146
146
  "aria-label": i("donation.other-option.label", "Custom amount")
147
- }, i("donation.other-option.label", "Custom amount"))), f && a ? y(f, {
147
+ }, i("donation.other-option.label", "Custom amount"))), C && a ? y(C, {
148
148
  customAmount: u,
149
149
  onCustomAmountInputChange: m,
150
150
  currency: I,
@@ -154,7 +154,7 @@ const s = ({ children: e }) => {
154
154
  onFocusCustomInput: h
155
155
  }) : null);
156
156
  }, U = ({ children: e, className: t, ...o }) => {
157
- const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = E(e, U.Option);
157
+ const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = f(e, U.Option);
158
158
  return /* @__PURE__ */ n.createElement("div", {
159
159
  className: t,
160
160
  "data-columns": u
@@ -168,14 +168,14 @@ const s = ({ children: e }) => {
168
168
  });
169
169
  }));
170
170
  }, S = ({ children: e, className: t, ...o }) => {
171
- const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: I } = j(), i = E(e, S.Value), p = E(e, S.Currency), { isCurrencyPrefixed: c } = W({
171
+ const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: I } = z(), i = f(e, S.Value), p = f(e, S.Currency), { isCurrencyPrefixed: c } = Q({
172
172
  amount: a,
173
173
  currency: m == null ? void 0 : m.code,
174
174
  locale: I
175
175
  }), h = oe(null);
176
176
  me(() => {
177
- var O, f;
178
- (f = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || f.focus();
177
+ var O, C;
178
+ (C = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || C.focus();
179
179
  }, u);
180
180
  const b = i ? y(i, {
181
181
  price: a
@@ -186,8 +186,8 @@ const s = ({ children: e }) => {
186
186
  className: t,
187
187
  ref: h
188
188
  }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, b, !c && p)));
189
- }, je = ({ className: e, ...t }) => {
190
- const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = W({
189
+ }, ze = ({ className: e, ...t }) => {
190
+ const { price: o } = t, { currency: r, regionalFormat: a } = z(), { value: u } = Q({
191
191
  amount: o,
192
192
  currency: r == null ? void 0 : r.code,
193
193
  locale: a
@@ -196,15 +196,15 @@ const s = ({ children: e }) => {
196
196
  className: e
197
197
  }, u);
198
198
  }, qe = ({ className: e }) => {
199
- const { currency: t } = j();
199
+ const { currency: t } = z();
200
200
  return /* @__PURE__ */ n.createElement("span", {
201
201
  className: e
202
202
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
203
203
  };
204
- S.Value = je;
204
+ S.Value = ze;
205
205
  S.Currency = qe;
206
206
  const R = ({ children: e, className: t, ...o }) => {
207
- const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: b, prefixId: O } = B(), f = E(e, R.Currency), A = E(e, R.Value), N = F((g) => {
207
+ const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: b, prefixId: O } = B(), C = f(e, R.Currency), A = f(e, R.Value), N = F((g) => {
208
208
  a({
209
209
  target: {
210
210
  value: g
@@ -228,7 +228,7 @@ const R = ({ children: e, className: t, ...o }) => {
228
228
  className: t,
229
229
  isDisabled: c,
230
230
  isInvalid: h
231
- }, r && u && f ? y(f, {
231
+ }, r && u && C ? y(C, {
232
232
  currency: u,
233
233
  t: m
234
234
  }) : null, A ? y(A, {
@@ -264,16 +264,16 @@ s.Options = U;
264
264
  s.OtherInput = R;
265
265
  s.Description = he;
266
266
  s.Error = Oe;
267
- const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7", Ve = "_optionHover_1fjsf_44", Ge = "_optionSelected_1fjsf_44", Ye = "_optionCurrency_1fjsf_94", Qe = "_otherInput_1fjsf_98", We = "_otherInputCurrency_1fjsf_117", _ = {
267
+ const Ue = "_control_1ulzi_1", ke = "_options_1ulzi_7", $e = "_option_1ulzi_7", Ve = "_optionHover_1ulzi_40", Ge = "_optionSelected_1ulzi_40", Ye = "_optionCurrency_1ulzi_90", je = "_otherInput_1ulzi_94", Qe = "_otherInputCurrency_1ulzi_113", _ = {
268
268
  control: Ue,
269
269
  options: ke,
270
270
  option: $e,
271
271
  optionHover: Ve,
272
272
  optionSelected: Ge,
273
273
  optionCurrency: Ye,
274
- otherInput: Qe,
275
- otherInputCurrency: We
276
- }, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(re, {
274
+ otherInput: je,
275
+ otherInputCurrency: Qe
276
+ }, We = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(re, {
277
277
  content: e,
278
278
  locale: t
279
279
  }), Je = {
@@ -282,7 +282,7 @@ const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7",
282
282
  hover: _.optionHover
283
283
  }, Ke = () => {
284
284
  const e = Se(_.otherInput), t = ve({
285
- globalClasses: Ee,
285
+ globalClasses: fe,
286
286
  moduleClasses: Je
287
287
  });
288
288
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
@@ -307,11 +307,11 @@ const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7",
307
307
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
308
308
  className: v.innerInput
309
309
  }))), /* @__PURE__ */ n.createElement(s.Error, {
310
- className: D(fe, v.error)
310
+ className: D(Ce, v.error)
311
311
  }, /* @__PURE__ */ n.createElement(Fe, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
312
- className: D(Ce, v.description)
313
- }, ze));
314
- }, Ct = () => /* @__PURE__ */ n.createElement(Ke, null);
312
+ className: D(Ee, v.description)
313
+ }, We));
314
+ }, Et = () => /* @__PURE__ */ n.createElement(Ke, null);
315
315
  export {
316
- Ct as DonationRAC
316
+ Et as DonationRAC
317
317
  };
@@ -1,13 +1,13 @@
1
1
  import e, { useState as b, useCallback as g, useRef as k } from "react";
2
2
  import { UNSAFE_PortalProvider as q } from "react-aria";
3
3
  import { Select as M, SelectValue as j, ListBoxItem as H } from "react-aria-components";
4
- import { bh as E, be as O, bj as U } from "./form-GcotNutn.js";
4
+ import { bh as E, be as O, bj as U } from "./form-CPY-PtxT.js";
5
5
  import { f as d, a as F } from "./find-child-C60k4CxG.js";
6
- import { D as Y, E as z } from "./field-error-headless-DwlihJqC.js";
7
- import { L as G } from "./field-label-headless-C_cMy8vP.js";
6
+ import { D as Y, E as z } from "./field-error-headless-BxEFPwKI.js";
7
+ import { L as G } from "./field-label-headless-5mewgrhq.js";
8
8
  import { E as J, S as K, N as Q } from "./non-modal-popover-D-u13tmp.js";
9
- import { a as W } from "./use-dropdown-trigger-class-name-Df-nqoeG.js";
10
- import { V as X } from "./use-dropdown-option-class-name-DFW55r3E.js";
9
+ import { a as W } from "./use-dropdown-trigger-class-name-C0ffAjFn.js";
10
+ import { V as X } from "./use-dropdown-option-class-name-BetaTWbW.js";
11
11
  const r = ({ children: n }) => {
12
12
  const { id: l, value: a, defaultValue: o, options: u = [], readOnly: s, onChange: t, placeholder: m, disabled: i, required: v, onBlur: L, onFocus: y, FieldLayout: C, hasError: D } = E(), [h, I] = b(!1), p = W(l), [P, S] = b(null), T = a && u.some((c) => (c.value ?? c.label) === a) ? a : o || null, { labelId: B } = O(), N = g((c) => {
13
13
  s || t(typeof c == "string" ? c : null);
@@ -1,14 +1,14 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { D as r } from "./dropdown-field-headless-D1e2XbNj.js";
4
+ import { D as r } from "./dropdown-field-headless-ajQghLaj.js";
5
5
  import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as l } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as c } from "./custom-focus-class-_483Pkwp.js";
8
- import { s as o } from "./field-rac.module-BIBNQEOK.js";
9
- import { I as i, U as p, K as E, v as _, p as D } from "./form-GcotNutn.js";
10
- import { u as C } from "./use-dropdown-option-class-name-DFW55r3E.js";
11
- import { u as O } from "./use-dropdown-trigger-class-name-Df-nqoeG.js";
8
+ import { s as o } from "./field-rac.module-BGN-O8tV.js";
9
+ import { I as i, U as p, K as E, v as _, p as D } from "./form-CPY-PtxT.js";
10
+ import { u as C } from "./use-dropdown-option-class-name-BetaTWbW.js";
11
+ import { u as O } from "./use-dropdown-trigger-class-name-C0ffAjFn.js";
12
12
  const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
13
13
  content: t,
14
14
  locale: s
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DkeVkP9c.js";
2
+ import { D as r } from "./dropdown-field-rac-Bf5LQqSL.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DropdownRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as r } from "./multiline-address-field-rac-DpMPlfjM.js";
2
+ import { M as r } from "./multiline-address-field-rac-BfVIiFyM.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,6 +1,6 @@
1
1
  import o, { useMemo as n } from "react";
2
- import { bh as a, br as c, aj as i } from "./form-GcotNutn.js";
3
- import { C as l } from "./checkbox-field-rac-BA-67OHo.js";
2
+ import { bh as a, br as c, aj as i } from "./form-CPY-PtxT.js";
3
+ import { C as l } from "./checkbox-field-rac-BLDUOAXM.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {
@@ -2,7 +2,7 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
3
  import u, { createContext as z, useContext as Z, createElement as R, isValidElement as U, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { be as fe, br as ge, bc as ve, d as ye, bh as Ee, bl as de, bf as be, ah as Se, I as Oe, U as he, v as Ie, p as Ne, a2 as Ae } from "./form-GcotNutn.js";
5
+ import { be as fe, br as ge, bc as ve, d as ye, bh as Ee, bl as de, bf as be, ah as Se, I as Oe, U as he, v as Ie, p as Ne, a2 as Ae } from "./form-CPY-PtxT.js";
6
6
  import { f as C } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import L from "@babel/runtime/helpers/typeof";
@@ -10,10 +10,10 @@ import Fe from "@babel/runtime/helpers/defineProperty";
10
10
  import ke from "html-parse-stringify";
11
11
  import Te from "@babel/runtime/helpers/classCallCheck";
12
12
  import xe from "@babel/runtime/helpers/createClass";
13
- import { T as B } from "./text-input-headless-BdD-dAx2.js";
13
+ import { T as B } from "./text-input-headless-BYcExFPS.js";
14
14
  import { E as De } from "./error-icon-hZxQ6DEy.js";
15
- import { s as H } from "./field-rac.module-BIBNQEOK.js";
16
- import { u as je } from "./use-text-input-class-name-BSDU7QEO.js";
15
+ import { s as H } from "./field-rac.module-BGN-O8tV.js";
16
+ import { u as je } from "./use-text-input-class-name-CTa0bC4T.js";
17
17
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -1,16 +1,16 @@
1
1
  import t, { useState as $, useMemo as B, useCallback as V, useRef as k } from "react";
2
2
  import x from "classnames";
3
3
  import { NumberField as q, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
4
- import { bn as z, bo as H, bd as K, bi as P, aF as Z, bh as L, be as X, bj as j, al as ee, I as te, h as se, m as ne, l as oe } from "./form-GcotNutn.js";
4
+ import { bn as z, bo as H, bd as K, bi as P, aF as Z, bh as L, be as X, bj as j, al as ee, I as te, h as se, m as ne, l as oe } from "./form-CPY-PtxT.js";
5
5
  import { f as C, a as y } from "./find-child-C60k4CxG.js";
6
- import { L as re } from "./field-label-headless-C_cMy8vP.js";
6
+ import { L as re } from "./field-label-headless-5mewgrhq.js";
7
7
  import { S as ae } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  import { u as le } from "./use-invoke-callback-UH73A_J3.js";
9
9
  import { C as M } from "./chevron-down-icon-CcpVm6B-.js";
10
- import { C as ce } from "./checkbox-indicator-module-classes-Bqo0QILF.js";
11
- import { s as v } from "./field-rac.module-BIBNQEOK.js";
12
- import { u as ue } from "./use-element-state-class-name-D008EeZn.js";
13
- import { u as me } from "./use-text-input-class-name-BSDU7QEO.js";
10
+ import { C as ce } from "./checkbox-indicator-module-classes-zXKP5rD4.js";
11
+ import { s as v } from "./field-rac.module-BGN-O8tV.js";
12
+ import { u as ue } from "./use-element-state-class-name-BOks3she.js";
13
+ import { u as me } from "./use-text-input-class-name-CTa0bC4T.js";
14
14
  const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = ie, validation: c }) => {
15
15
  const [m, i] = $((o == null ? void 0 : o.length) || 0), u = B(() => o ?? [], [
16
16
  o
@@ -1,12 +1,12 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
3
  import s from "classnames";
4
- import { a, s as n, R as c } from "./radio-button-module-classes-WQaDTnal.js";
4
+ import { a, s as n, R as c } from "./radio-button-module-classes-BMvPai_6.js";
5
5
  import { E as i } from "./error-icon-hZxQ6DEy.js";
6
- import { s as o } from "./field-rac.module-BIBNQEOK.js";
7
- import { I as E, U as p, P as R, Q as O, v as _, p as L, R as I } from "./form-GcotNutn.js";
6
+ import { s as o } from "./field-rac.module-BGN-O8tV.js";
7
+ import { I as E, U as p, P as R, Q as O, v as _, p as L, R as I } from "./form-CPY-PtxT.js";
8
8
  import { o as D } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as S } from "./use-element-state-class-name-D008EeZn.js";
9
+ import { u as S } from "./use-element-state-class-name-BOks3she.js";
10
10
  const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(a, {
11
11
  className: l
12
12
  }, r);
@@ -1,5 +1,5 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { bh as c, be as i, b9 as f, aS as h, aT as x } from "./form-GcotNutn.js";
2
+ import { bh as c, be as i, b9 as f, aS as h, aT as x } from "./form-CPY-PtxT.js";
3
3
  const H = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
@@ -1,4 +1,4 @@
1
- import { bh as m, ay as d, az as p, be as D, br as B } from "./form-GcotNutn.js";
1
+ import { bh as m, ay as d, az as p, be as D, br as B } from "./form-CPY-PtxT.js";
2
2
  import l from "react";
3
3
  import { f as L } from "./find-child-C60k4CxG.js";
4
4
  import { sdk as g } from "@wix/image-kit";
@@ -0,0 +1,25 @@
1
+ const o = "_label_u58ay_1", e = "_requiredMark_u58ay_11", t = "_input_u58ay_16", n = "_inputGroup_u58ay_17", c = "_inputHover_u58ay_68", _ = "_innerInput_u58ay_129", r = "_dropdownTrigger_u58ay_179", p = "_dropdownIcon_u58ay_189", u = "_dropdownPopover_u58ay_208", s = "_selectPopover_u58ay_214", i = "_selectOption_u58ay_241", d = "_selectOptionHover_u58ay_264", a = "_selectOptionSelected_u58ay_268", l = "_selectOptionWithoutFocusRing_u58ay_272", y = "_description_u58ay_278", h = "_error_u58ay_294", b = "_checkbox_u58ay_313", k = "_checkboxInput_u58ay_336", v = "_checkboxInputSelected_u58ay_375", I = "_checkboxInputHover_u58ay_379", x = {
2
+ label: o,
3
+ requiredMark: e,
4
+ input: t,
5
+ inputGroup: n,
6
+ inputHover: c,
7
+ innerInput: _,
8
+ dropdownTrigger: r,
9
+ dropdownIcon: p,
10
+ dropdownPopover: u,
11
+ selectPopover: s,
12
+ selectOption: i,
13
+ selectOptionHover: d,
14
+ selectOptionSelected: a,
15
+ selectOptionWithoutFocusRing: l,
16
+ description: y,
17
+ error: h,
18
+ checkbox: b,
19
+ checkboxInput: k,
20
+ checkboxInputSelected: v,
21
+ checkboxInputHover: I
22
+ };
23
+ export {
24
+ x as s
25
+ };