@wix/form-elements 1.161.0 → 1.162.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 (113) hide show
  1. package/dist/component/{appointment-rac-BubC8I9X.js → appointment-rac-3Z1wiBX6.js} +123 -123
  2. package/dist/component/{bookings-address-rac-BbwvVs86.js → bookings-address-rac-2zV-a8SW.js} +1 -1
  3. package/dist/component/{bookings-email-rac-C2HCkcfa.js → bookings-email-rac-C1WakVnh.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Uy7c5EBs.js → bookings-first-name-rac-6f18uXA0.js} +1 -1
  5. package/dist/component/{bookings-header-rac-nmwsWRjS.js → bookings-header-rac-BeaxlPQl.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BAioQLCg.js → bookings-last-name-rac-CsLZaKfO.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CO6vOBjG.js → bookings-login-bar-rac-B3TRivWU.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-Cr16h-_R.js → bookings-phone-rac-BnFEknvv.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CHLH3jd7.js → bookings-rich-text-rac-CFPqDZay.js} +1 -1
  10. package/dist/component/{calendar.module-CKCBG_Pg.js → calendar.module-BMUyMVja.js} +19 -19
  11. package/dist/component/{checkbox-field-rac-CMwmwFMD.js → checkbox-field-rac-DqGbxAd0.js} +6 -6
  12. package/dist/component/{checkbox-group-field-headless-BNs_S-nT.js → checkbox-group-field-headless-CiobdaVa.js} +27 -27
  13. package/dist/component/{checkbox-group-field-rac-BA60EPAN.js → checkbox-group-field-rac-Dxrc2F4x.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-BJZ4Oer9.js → checkbox-group-rac-C3tL4YSr.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-akWZsZNn.js → checkbox-indicator-module-classes-DUTR4mcg.js} +1 -1
  16. package/dist/component/{checkbox-rac-KsVlI6_V.js → checkbox-rac-DhZsIMuk.js} +1 -1
  17. package/dist/component/{contacts-address-rac-CRYkz87z.js → contacts-address-rac--GiWpa6C.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-BIz-1-ZX.js → contacts-birthdate-rac-CmI2nPpr.js} +1 -1
  19. package/dist/component/{contacts-company-rac-B8G__j6I.js → contacts-company-rac-DcSLvPnR.js} +1 -1
  20. package/dist/component/{contacts-email-rac-Dztkvp5i.js → contacts-email-rac-BLOIHGP9.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-CVSEWpLU.js → contacts-first-name-rac-DgMCKLeE.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-Blz4M5bk.js → contacts-last-name-rac-tcEQP1Db.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-CPCE5soY.js → contacts-phone-rac-CK664cfW.js} +1 -1
  24. package/dist/component/{contacts-position-rac-Dd_kBjqG.js → contacts-position-rac-B8skwXy6.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-C6AlsP10.js → contacts-subscribe-rac-DQZYJjMo.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-CQ1n29zI.js → contacts-tax-id-rac-Ci24ixLu.js} +1 -1
  27. package/dist/component/{date-availability-DDj1j0z5.js → date-availability-Va6_2NAZ.js} +1 -1
  28. package/dist/component/{date-input-field-rac-D5r1n_ah.js → date-input-field-rac-lAKyuHOI.js} +89 -89
  29. package/dist/component/{date-input-rac-Cyi5mU_P.js → date-input-rac-ClEesupR.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-CeG391Zo.js → date-picker-field-rac-h45jfoso.js} +54 -54
  31. package/dist/component/{date-picker-rac-Ci9aHgav.js → date-picker-rac-B-pvqBn0.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-CrbYEbJJ.js → date-time-input-field-rac-41QpurJp.js} +80 -80
  33. package/dist/component/{date-time-input-rac-DDJLkqs0.js → date-time-input-rac-BQOUl7It.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-C3ftVHBA.js → dext-checkbox-group-rac-C4Q6tfBD.js} +4 -4
  35. package/dist/component/{dext-checkbox-rac-BGLYWn68.js → dext-checkbox-rac-Yo2PHNDA.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-Cy9RlDlt.js → dext-date-picker-rac-jM9x8W6a.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-88ZoTd5e.js → dext-date-time-input-rac-BgW_4WIg.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-CPxDUuk9.js → dext-dropdown-rac-DCL7D6-G.js} +1 -1
  39. package/dist/component/{dext-email-rac-BAvQwDPA.js → dext-email-rac-Dz7yBqkd.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-D7HYQVKq.js → dext-number-input-rac-BdMjBpH9.js} +1 -1
  41. package/dist/component/{dext-phone-rac--FhcplSI.js → dext-phone-rac-D2i9fXL3.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-DBz8iCKW.js → dext-radio-group-rac-Br2f1Ahx.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Cv7nThfe.js → dext-rating-input-rac-OkfJ7Eb0.js} +1 -1
  44. package/dist/component/{dext-tags-rac-CRUUc5dr.js → dext-tags-rac-43vDoDdM.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-DQBQXV1L.js → dext-text-area-rac-C072pWO9.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-4CpM581y.js → dext-text-input-rac-BiHJpJCt.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-0C1jTEr9.js → dext-url-input-rac-YOGYMj5C.js} +1 -1
  48. package/dist/component/{donation-rac-Cgt0ZE50.js → donation-rac-fCt3mddA.js} +98 -98
  49. package/dist/component/{dropdown-field-rac-DlGKR7pZ.js → dropdown-field-rac-EQrQJ2-C.js} +4 -4
  50. package/dist/component/{dropdown-rac-CYFW_3x_.js → dropdown-rac-MPCcjrFd.js} +1 -1
  51. package/dist/component/{ecom-address-rac-CQfQHpXC.js → ecom-address-rac-DSgpHqzV.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-D2v2Upvz.js → ecom-subscription-checkbox-rac-Dw6Ke0Fb.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CVw25yRo.js → email-input-field-rac-DVmvH4u4.js} +48 -48
  54. package/dist/component/{events-repeater-rac-BCVUcmFj.js → events-repeater-rac-Uwpo7XF4.js} +24 -24
  55. package/dist/component/{events-rsvp-rac-DwbqEr8z.js → events-rsvp-rac-D2DJAkep.js} +4 -4
  56. package/dist/component/{field-error-headless-XnVcMmsL.js → field-error-headless-DAc8FpKI.js} +8 -8
  57. package/dist/component/{field-label-headless-BRTLT2Yt.js → field-label-headless-DxxwJtjh.js} +17 -17
  58. package/dist/component/field-rac.module-ts2t4WUO.js +25 -0
  59. package/dist/component/{file-upload-rac-Dkwg9Jk4.js → file-upload-rac-CBKIeaxX.js} +163 -163
  60. package/dist/component/{fixed-payment-rac-ST98xAa2.js → fixed-payment-rac-BsCDoc1p.js} +18 -18
  61. package/dist/component/{form-BUqSKOvc.js → form-GAuLAdjq.js} +326 -336
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-CzNTGYWq.js → header-field-rac-DtZCjzLJ.js} +6 -6
  65. package/dist/component/{header-rac-DUt6AIAE.js → header-rac-B1hlVDf8.js} +1 -1
  66. package/dist/component/image-choice-rac-DQaCg_Xk.js +155 -0
  67. package/dist/component/{index-cZZeAuuu.js → index-BaVjVNYj.js} +2 -2
  68. package/dist/component/{index-CDO22hht.js → index-C1EXd9jU.js} +69 -69
  69. package/dist/component/{isObjectLike-cs4bARpC.js → isObjectLike-m2dqIREj.js} +3 -3
  70. package/dist/component/{multiline-address-field-rac-vcEWhUCV.js → multiline-address-field-rac-CMMdLb-J.js} +41 -41
  71. package/dist/component/{multiline-address-rac-WQaI2eUX.js → multiline-address-rac-VUQNp-Tz.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CBUMqATk.js → number-input-field-rac-B5bsGDKm.js} +24 -24
  73. package/dist/component/{number-input-rac-B4j5hyzS.js → number-input-rac-BzzW0p9R.js} +1 -1
  74. package/dist/component/{password-rac-DwLyf45N.js → password-rac-2Rr7lvNO.js} +17 -17
  75. package/dist/component/{payment-input-rac-D0Od---y.js → payment-input-rac-CEUzIrJA.js} +32 -32
  76. package/dist/component/{phone-input-field-rac-COlu9IeC.js → phone-input-field-rac-BDBaqAzE.js} +48 -48
  77. package/dist/component/{phone-rac-Dh4RacOF.js → phone-rac-BTK8-tkq.js} +1 -1
  78. package/dist/component/{product-list-rac-D7zHDE2D.js → product-list-rac-1QbeT5RH.js} +26 -26
  79. package/dist/component/{quiz-radio-group-rac-1AaKphJt.js → quiz-radio-group-rac-tn2CzdCu.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-VqaP6vpA.js → radio-button-module-classes-aK1SQcLG.js} +34 -34
  81. package/dist/component/{radio-group-field-rac-Cp3LRN3C.js → radio-group-field-rac-DlMXhW_S.js} +5 -5
  82. package/dist/component/{radio-group-rac-KhmhzYGf.js → radio-group-rac-BmU_5tBK.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-10n6ciCr.js → rating-input-field-rac-DUPJUAX2.js} +30 -30
  84. package/dist/component/{rating-input-rac-XZjjY2Gp.js → rating-input-rac-BLhkZdj8.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-kMwDoLBa.js → rich-content-rac.module-C9bGXB69.js} +5 -5
  86. package/dist/component/{rich-text-field-rac-H5bd8fAt.js → rich-text-field-rac-CVqmsZzZ.js} +4 -4
  87. package/dist/component/{rich-text-rac-88GSQR62.js → rich-text-rac-D8K6445F.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-B1_Xr_X3.js → service-dropdown-rac-PR_iLdmo.js} +26 -26
  89. package/dist/component/{services-multi-choice-rac-DWp_Llbi.js → services-multi-choice-rac-BvMadJCf.js} +15 -15
  90. package/dist/component/{signature-rac-zN_6KRDp.js → signature-rac-Cpjv6kcl.js} +235 -235
  91. package/dist/component/{submit-button-rac-Dv6UarYX.js → submit-button-rac-DpDk7cMb.js} +7 -7
  92. package/dist/component/{tags-field-rac-sVN6MHfJ.js → tags-field-rac-DnyWNHXT.js} +75 -75
  93. package/dist/component/{tags-rac-DhTHs_XN.js → tags-rac-D5Do7BNm.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DrWkww7W.js → text-area-field-rac-DLBgla0L.js} +19 -19
  95. package/dist/component/{text-area-rac-CXXh-ZdY.js → text-area-rac-Bfsl2gSn.js} +1 -1
  96. package/dist/component/{text-input-field-rac-C2YiMr-g.js → text-input-field-rac-hLsUcQNw.js} +4 -4
  97. package/dist/component/{text-input-headless-BJMNbsMY.js → text-input-headless-Otd7Uy7V.js} +11 -11
  98. package/dist/component/{text-input-rac-CpsPh7FH.js → text-input-rac-jpnc-v91.js} +1 -1
  99. package/dist/component/{time-input-rac-DG_1KxS4.js → time-input-rac-DnjrmZZw.js} +20 -20
  100. package/dist/component/url-input-field-rac-C90NYHb8.js +77 -0
  101. package/dist/component/{url-input-rac-BTStO0NP.js → url-input-rac-C3wfEnqs.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-DbMMg1ws.js → use-dropdown-option-class-name-CYkLlKBs.js} +12 -12
  103. package/dist/component/{use-dropdown-trigger-class-name-Yes4kC_0.js → use-dropdown-trigger-class-name-CTt4Z67m.js} +19 -19
  104. package/dist/component/{use-element-state-class-name-DlncY4hk.js → use-element-state-class-name-ByDw6j7c.js} +1 -1
  105. package/dist/component/{use-hoverable-input-class-name-C__zqP5j.js → use-hoverable-input-class-name-Duhgtn2I.js} +3 -3
  106. package/dist/component/{use-is-forced-open-dropdown-DnK_MQRO.js → use-is-forced-open-dropdown-B5gNY4Zm.js} +4 -4
  107. package/dist/component/{use-service-options-base-DKJe52Vk.js → use-service-options-base-DE-QaNDw.js} +3 -3
  108. package/dist/component/use-text-input-class-name-CmxSw6bY.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-DP0lkkEv.js +0 -25
  111. package/dist/component/image-choice-rac-DuBgrSt2.js +0 -155
  112. package/dist/component/url-input-field-rac-twxRREnl.js +0 -77
  113. package/dist/component/use-text-input-class-name-D9tJTR-b.js +0 -6
@@ -3,20 +3,20 @@ import { RicosViewer as ne } from "@wix/ricos/viewer";
3
3
  import v from "classnames";
4
4
  import { ToggleButtonGroup as oe, TextField as re, Group as se, ToggleButton as ae, Input as le } from "react-aria-components";
5
5
  import { debounce as ce } from "ts-debounce";
6
- import { aQ as W, bA as T, bx as P, bK as ie, bs as H, bC as ue, W as me, ac as pe, H as de, M as Ie, G as Ce, I as Ee } from "./form-BUqSKOvc.js";
7
- import { f as O, a as F } from "./find-child-C60k4CxG.js";
8
- import { a as Y } from "./format-currency-BwShJ9vM.js";
9
- import { D as fe, E as Oe } from "./field-error-headless-XnVcMmsL.js";
10
- import { L as be } from "./field-label-headless-BRTLT2Yt.js";
11
- import { F as ye } from "./fieldset-headless-CD3fds9J.js";
6
+ import { aO as w, by as T, bv as P, bI as ie, bq as V, bA as ue, U as me, aa as pe, ak as de, K as Ie, G as Ce, al as Ee } from "./form-GAuLAdjq.js";
7
+ import { f as O, a as N } from "./find-child-C60k4CxG.js";
8
+ import { a as Q } from "./format-currency-BwShJ9vM.js";
9
+ import { D as fe, E as Oe } from "./field-error-headless-DAc8FpKI.js";
10
+ import { L as ye } from "./field-label-headless-DxxwJtjh.js";
11
+ import { F as be } from "./fieldset-headless-CD3fds9J.js";
12
12
  import { a as _e, b as he } from "./numeric-input-utils-CuBMi4-a.js";
13
- import { g as Ne } from "./payment-field-utils-DobiK5Xh.js";
14
- import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
15
- import { E as Fe } from "./error-icon-hZxQ6DEy.js";
16
- import { s as L } from "./field-rac.module-DP0lkkEv.js";
13
+ import { g as ge } from "./payment-field-utils-DobiK5Xh.js";
14
+ import { u as Fe } from "./use-synced-display-value-DcAxdn3M.js";
15
+ import { E as Ne } from "./error-icon-hZxQ6DEy.js";
16
+ import { s as L } from "./field-rac.module-ts2t4WUO.js";
17
17
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
18
- import { u as Se } from "./use-element-state-class-name-DlncY4hk.js";
19
- import { u as ve } from "./use-text-input-class-name-D9tJTR-b.js";
18
+ import { u as Se } from "./use-element-state-class-name-ByDw6j7c.js";
19
+ import { u as ve } from "./use-text-input-class-name-CmxSw6bY.js";
20
20
  function Le(e, t) {
21
21
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
22
22
  }
@@ -28,90 +28,90 @@ function Te(e) {
28
28
  var t;
29
29
  return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
30
30
  }
31
- function Q(e, t) {
31
+ function Y(e, t) {
32
32
  const o = Number(t || "0");
33
33
  return {
34
34
  productId: e.id,
35
- price: e.priceType === W.DYNAMIC_PRICE ? o : String(o),
35
+ price: e.priceType === w.DYNAMIC_PRICE ? o : String(o),
36
36
  quantity: 1
37
37
  };
38
38
  }
39
39
  function Pe(e) {
40
- return e.find((t) => t.priceType === W.DYNAMIC_PRICE);
40
+ return e.find((t) => t.priceType === w.DYNAMIC_PRICE);
41
41
  }
42
- function Me(e, t) {
42
+ function Be(e, t) {
43
43
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
44
44
  }
45
45
  const s = ({ children: e }) => {
46
- const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: y } = P(), { t: m } = ie(), { currency: g, regionalFormat: _ } = H(), b = o == null ? void 0 : o[0], D = x(() => {
46
+ const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: b } = P(), { t: m } = ie(), { currency: F, regionalFormat: _ } = V(), y = o == null ? void 0 : o[0], D = x(() => {
47
47
  var I, h;
48
48
  return ((h = (I = u == null ? void 0 : u.predefined) == null ? void 0 : I.paymentOptions) == null ? void 0 : h.products) || [];
49
49
  }, [
50
50
  u
51
- ]), M = x(() => Ae(D), [
51
+ ]), B = x(() => Ae(D), [
52
52
  D
53
53
  ]), a = x(() => E ? Pe(D) : void 0, [
54
54
  D,
55
55
  E
56
- ]), w = Me(b, a), [V, B] = ge({
57
- sourceValue: w,
56
+ ]), W = Be(y, a), [q, M] = Fe({
57
+ sourceValue: W,
58
58
  format: (I) => he(String(I ?? ""), _),
59
59
  regionalFormat: _
60
- }), q = S((I) => {
61
- const h = I === void 0 ? void 0 : M[I];
60
+ }), H = S((I) => {
61
+ const h = I === void 0 ? void 0 : B[I];
62
62
  r(h ? [
63
- Q(h, Te(h))
64
- ] : []), B("");
63
+ Y(h, Te(h))
64
+ ] : []), M("");
65
65
  }, [
66
66
  r,
67
- M,
68
- B
67
+ B,
68
+ M
69
69
  ]), k = S((I) => {
70
70
  a && r(typeof I == "number" ? [
71
- Q(a, String(I))
71
+ Y(a, String(I))
72
72
  ] : []);
73
73
  }, [
74
74
  r,
75
75
  a
76
- ]), G = x(() => ce(k, 500), [
76
+ ]), $ = x(() => ce(k, 500), [
77
77
  k
78
78
  ]), j = S((I) => {
79
- (b == null ? void 0 : b.productId) !== (a == null ? void 0 : a.id) && r(void 0);
80
- const { validInput: h, validNumber: ee } = _e(I.target.value, Re, V, _);
81
- B(h), G(ee);
79
+ (y == null ? void 0 : y.productId) !== (a == null ? void 0 : a.id) && r(void 0);
80
+ const { validInput: h, validNumber: ee } = _e(I.target.value, Re, q, _);
81
+ M(h), $(ee);
82
82
  }, [
83
83
  _,
84
84
  r,
85
- b,
85
+ y,
86
86
  a,
87
- V,
88
- G,
89
- B
90
- ]), U = (b == null ? void 0 : b.productId) || null, z = S(() => {
91
- a != null && a.id && U !== a.id && q(a.id);
87
+ q,
88
+ $,
89
+ M
90
+ ]), G = (y == null ? void 0 : y.productId) || null, z = S(() => {
91
+ a != null && a.id && G !== a.id && H(a.id);
92
92
  }, [
93
93
  a == null ? void 0 : a.id,
94
- U,
95
- q
94
+ G,
95
+ H
96
96
  ]), J = O(e, s.Label), K = O(e, s.Control), X = O(e, s.Description), Z = O(e, s.Error);
97
97
  return /* @__PURE__ */ n.createElement(f, {
98
98
  fieldId: t,
99
99
  renderLabel: () => J,
100
- renderInput: () => /* @__PURE__ */ n.createElement(ye, {
100
+ renderInput: () => /* @__PURE__ */ n.createElement(be, {
101
101
  id: c,
102
102
  ariaLabelledBy: d,
103
- ariaDescribedBy: y,
103
+ ariaDescribedBy: b,
104
104
  required: l,
105
105
  onBlur: i,
106
106
  onFocus: C
107
- }, K ? F(K, {
108
- productsById: M,
109
- selectedValue: U,
110
- onSelectProduct: q,
107
+ }, K ? N(K, {
108
+ productsById: B,
109
+ selectedValue: G,
110
+ onSelectProduct: H,
111
111
  addOther: E,
112
- customAmount: V,
112
+ customAmount: q,
113
113
  onCustomAmountInputChange: j,
114
- currency: g,
114
+ currency: F,
115
115
  t: m,
116
116
  placeholder: p === void 0 ? m("donation.other-option.placeholder") : p,
117
117
  customAmountProductId: a == null ? void 0 : a.id,
@@ -119,26 +119,26 @@ const s = ({ children: e }) => {
119
119
  }) : null),
120
120
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, X)
121
121
  });
122
- }, Be = ({ children: e, className: t, ...o }) => {
123
- const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: y } = o, { hasError: m } = T(), g = O(e, s.Options), _ = O(e, s.OtherInput);
122
+ }, Me = ({ children: e, className: t, ...o }) => {
123
+ const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: b } = o, { hasError: m } = T(), F = O(e, s.Options), _ = O(e, s.OtherInput);
124
124
  return /* @__PURE__ */ n.createElement("div", {
125
125
  className: t,
126
126
  "data-invalid": m
127
- }, g ? F(g, {
127
+ }, F ? N(F, {
128
128
  productsById: r,
129
129
  selectedValue: l,
130
130
  onSelectProduct: i
131
- }) : null, _ && C ? F(_, {
131
+ }) : null, _ && C ? N(_, {
132
132
  customAmount: u,
133
133
  onCustomAmountInputChange: E,
134
134
  currency: p,
135
135
  t: f,
136
136
  placeholder: c,
137
137
  customAmountProductId: d,
138
- onFocusCustomInput: y
138
+ onFocusCustomInput: b
139
139
  }) : null);
140
- }, $ = ({ children: e, className: t, ...o }) => {
141
- const { productsById: r, selectedValue: l, onSelectProduct: i } = o, { options: C, numberOfColumns: u, disabled: E } = T(), { labelId: p } = P(), f = O(e, $.Option);
140
+ }, U = ({ children: e, className: t, ...o }) => {
141
+ const { productsById: r, selectedValue: l, onSelectProduct: i } = o, { options: C, numberOfColumns: u, disabled: E } = T(), { labelId: p } = P(), f = O(e, U.Option);
142
142
  return /* @__PURE__ */ n.createElement(oe, {
143
143
  className: t,
144
144
  "data-columns": u,
@@ -153,15 +153,15 @@ const s = ({ children: e }) => {
153
153
  isDisabled: E
154
154
  }, C.map((c) => {
155
155
  var m;
156
- const d = r[c.value], y = (m = d == null ? void 0 : d.fixedPriceOptions) == null ? void 0 : m.price;
157
- return F(f, {
156
+ const d = r[c.value], b = (m = d == null ? void 0 : d.fixedPriceOptions) == null ? void 0 : m.price;
157
+ return N(f, {
158
158
  key: c.value,
159
159
  value: c.value,
160
- price: y || "0"
160
+ price: b || "0"
161
161
  });
162
162
  }));
163
163
  }, A = ({ children: e, className: t, ...o }) => {
164
- const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = H(), p = O(e, A.Value), f = O(e, A.Currency), { isCurrencyPrefixed: c } = Y({
164
+ const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = V(), p = O(e, A.Value), f = O(e, A.Currency), { isCurrencyPrefixed: c } = Q({
165
165
  amount: l,
166
166
  currency: u == null ? void 0 : u.code,
167
167
  locale: E
@@ -172,7 +172,7 @@ const s = ({ children: e }) => {
172
172
  preventScroll: !0
173
173
  });
174
174
  }, i);
175
- const y = p ? F(p, {
175
+ const b = p ? N(p, {
176
176
  price: l
177
177
  }) : null;
178
178
  return /* @__PURE__ */ n.createElement(ae, {
@@ -180,9 +180,9 @@ const s = ({ children: e }) => {
180
180
  className: t,
181
181
  ref: d,
182
182
  "data-invalid": C || void 0
183
- }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && f, y, !c && f));
183
+ }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && f, b, !c && f));
184
184
  }, xe = ({ className: e, ...t }) => {
185
- const { price: o } = t, { currency: r, regionalFormat: l } = H(), { value: i } = Y({
185
+ const { price: o } = t, { currency: r, regionalFormat: l } = V(), { value: i } = Q({
186
186
  amount: o,
187
187
  currency: r == null ? void 0 : r.code,
188
188
  locale: l
@@ -190,16 +190,16 @@ const s = ({ children: e }) => {
190
190
  return /* @__PURE__ */ n.createElement("span", {
191
191
  className: e
192
192
  }, i);
193
- }, He = ({ className: e }) => {
194
- const { currency: t } = H();
193
+ }, Ve = ({ className: e }) => {
194
+ const { currency: t } = V();
195
195
  return /* @__PURE__ */ n.createElement("span", {
196
196
  className: e
197
197
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
198
198
  };
199
199
  A.Value = xe;
200
- A.Currency = He;
200
+ A.Currency = Ve;
201
201
  const R = ({ children: e, className: t, ...o }) => {
202
- const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: y } = P(), m = O(e, R.Currency), g = O(e, R.Value), _ = S((D) => {
202
+ const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: b } = P(), m = O(e, R.Currency), F = O(e, R.Value), _ = S((D) => {
203
203
  l({
204
204
  target: {
205
205
  value: D
@@ -207,38 +207,38 @@ const R = ({ children: e, className: t, ...o }) => {
207
207
  });
208
208
  }, [
209
209
  l
210
- ]), b = S(() => {
210
+ ]), y = S(() => {
211
211
  p();
212
212
  }, [
213
213
  p
214
214
  ]);
215
215
  return /* @__PURE__ */ n.createElement(re, {
216
- "aria-labelledby": `${d} ${y}`,
216
+ "aria-labelledby": `${d} ${b}`,
217
217
  value: r,
218
218
  onChange: _,
219
- onFocus: b,
219
+ onFocus: y,
220
220
  isDisabled: f,
221
221
  isInvalid: c
222
222
  }, /* @__PURE__ */ n.createElement(se, {
223
223
  className: t,
224
224
  isDisabled: f,
225
225
  isInvalid: c
226
- }, r && i && m ? F(m, {
226
+ }, r && i && m ? N(m, {
227
227
  currency: i,
228
228
  t: C
229
- }) : null, g ? F(g, {
229
+ }) : null, F ? N(F, {
230
230
  placeholder: u,
231
231
  customAmountProductId: E
232
232
  }) : null));
233
- }, Ve = ({ className: e, ...t }) => {
233
+ }, qe = ({ className: e, ...t }) => {
234
234
  const { currency: o, t: r } = t, { prefixId: l } = P();
235
235
  return /* @__PURE__ */ n.createElement("span", {
236
236
  id: l,
237
237
  "aria-hidden": !1,
238
- "aria-label": Ne(r, o),
238
+ "aria-label": ge(r, o),
239
239
  className: e
240
240
  }, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
241
- }, qe = ({ className: e, ...t }) => {
241
+ }, He = ({ className: e, ...t }) => {
242
242
  const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy: l, labelId: i, prefixId: C } = P();
243
243
  return /* @__PURE__ */ n.createElement(le, {
244
244
  id: r,
@@ -250,58 +250,58 @@ const R = ({ children: e, className: t, ...o }) => {
250
250
  className: e
251
251
  });
252
252
  };
253
- R.Currency = Ve;
254
- R.Value = qe;
255
- $.Option = A;
256
- s.Label = be;
257
- s.Control = Be;
258
- s.Options = $;
253
+ R.Currency = qe;
254
+ R.Value = He;
255
+ U.Option = A;
256
+ s.Label = ye;
257
+ s.Control = Me;
258
+ s.Options = U;
259
259
  s.OtherInput = R;
260
260
  s.Description = fe;
261
261
  s.Error = Oe;
262
- const Ue = "_control_lovol_1", $e = "_option_lovol_7", ke = "_optionHover_lovol_39", Ge = "_optionSelected_lovol_39", Ke = "_optionCurrency_lovol_92", Qe = "_otherInput_lovol_96", We = "_otherInputCurrency_lovol_118", N = {
263
- control: Ue,
264
- option: $e,
262
+ const Ge = "_control_lovol_1", Ue = "_option_lovol_7", ke = "_optionHover_lovol_39", $e = "_optionSelected_lovol_39", Ke = "_optionCurrency_lovol_92", Ye = "_otherInput_lovol_96", we = "_otherInputCurrency_lovol_118", g = {
263
+ control: Ge,
264
+ option: Ue,
265
265
  optionHover: ke,
266
- optionSelected: Ge,
266
+ optionSelected: $e,
267
267
  optionCurrency: Ke,
268
- otherInput: Qe,
269
- otherInputCurrency: We
270
- }, Ye = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
268
+ otherInput: Ye,
269
+ otherInputCurrency: we
270
+ }, Qe = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
271
271
  content: e,
272
272
  locale: t
273
- }), we = {
274
- base: N.option,
275
- selected: N.optionSelected,
276
- hover: N.optionHover
273
+ }), We = {
274
+ base: g.option,
275
+ selected: g.optionSelected,
276
+ hover: g.optionHover
277
277
  }, je = () => {
278
- const e = ve(N.otherInput), t = Se({
278
+ const e = ve(g.otherInput), t = Se({
279
279
  globalClasses: Ee,
280
- moduleClasses: we
280
+ moduleClasses: We
281
281
  });
282
282
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
283
283
  className: v(me, L.label)
284
284
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
285
285
  className: v(pe, L.requiredMark)
286
286
  })), /* @__PURE__ */ n.createElement(s.Control, {
287
- className: N.control
287
+ className: g.control
288
288
  }, /* @__PURE__ */ n.createElement(s.Options, {
289
- className: v(de, De.options, N.options)
289
+ className: v(de, De.options, g.options)
290
290
  }, /* @__PURE__ */ n.createElement(s.Options.Option, {
291
291
  className: t
292
292
  }, /* @__PURE__ */ n.createElement(s.Options.Option.Value, null), /* @__PURE__ */ n.createElement(s.Options.Option.Currency, {
293
- className: N.optionCurrency
293
+ className: g.optionCurrency
294
294
  }))), /* @__PURE__ */ n.createElement(s.OtherInput, {
295
295
  className: e
296
296
  }, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
297
- className: N.otherInputCurrency
297
+ className: g.otherInputCurrency
298
298
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
299
299
  className: L.innerInput
300
300
  }))), /* @__PURE__ */ n.createElement(s.Error, {
301
301
  className: v(Ie, L.error)
302
- }, /* @__PURE__ */ n.createElement(Fe, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
302
+ }, /* @__PURE__ */ n.createElement(Ne, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
303
303
  className: v(Ce, L.description)
304
- }, Ye));
304
+ }, Qe));
305
305
  }, Ct = () => /* @__PURE__ */ n.createElement(je, null);
306
306
  export {
307
307
  Ct as DonationRAC
@@ -1,13 +1,13 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { u as n, D as r } from "./use-dropdown-trigger-class-name-Yes4kC_0.js";
4
+ import { u as n, D as r } from "./use-dropdown-trigger-class-name-CTt4Z67m.js";
5
5
  import { C as l } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as c } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as i } from "./custom-focus-class-_483Pkwp.js";
8
- import { s as o } from "./field-rac.module-DP0lkkEv.js";
9
- import { W as p, ac as E, J as D, M as _, G as O } from "./form-BUqSKOvc.js";
10
- import { u as R } from "./use-dropdown-option-class-name-DbMMg1ws.js";
8
+ import { s as o } from "./field-rac.module-ts2t4WUO.js";
9
+ import { U as p, aa as E, H as D, K as _, G as O } from "./form-GAuLAdjq.js";
10
+ import { u as R } from "./use-dropdown-option-class-name-CYkLlKBs.js";
11
11
  const C = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: t,
13
13
  locale: s
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DlGKR7pZ.js";
2
+ import { D as r } from "./dropdown-field-rac-EQrQJ2-C.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-vcEWhUCV.js";
2
+ import { M as r } from "./multiline-address-field-rac-CMMdLb-J.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 { bA as a, bK as c, aC as i } from "./form-BUqSKOvc.js";
3
- import { C as l } from "./checkbox-field-rac-CMwmwFMD.js";
2
+ import { by as a, bI as c, aA as i } from "./form-GAuLAdjq.js";
3
+ import { C as l } from "./checkbox-field-rac-DqGbxAd0.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {