@wix/form-elements 1.169.0 → 1.171.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 (109) hide show
  1. package/dist/component/{appointment-rac-BbXyKTd7.js → appointment-rac-DZ0SFXmL.js} +83 -83
  2. package/dist/component/{bookings-address-rac-VJkR_U9L.js → bookings-address-rac-BW9grc77.js} +1 -1
  3. package/dist/component/{bookings-email-rac-_EupwXpQ.js → bookings-email-rac-D8gMaAfB.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DTZixHYj.js → bookings-first-name-rac-CAjcs7b6.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BKbKTv5g.js → bookings-header-rac-BhKZ1kku.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BDy860-C.js → bookings-last-name-rac-DpsMDuU0.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DgNP-YNZ.js → bookings-login-bar-rac-BVdWmKS8.js} +3 -3
  8. package/dist/component/{bookings-phone-rac-B_I6n96b.js → bookings-phone-rac-DsqNi2mI.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-prYPbIiz.js → bookings-rich-text-rac-elM4Ne3f.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-C-4PXuxG.js → checkbox-field-rac-BU4E73fD.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-D16bAcaq.js → checkbox-group-field-headless-6yJdIbP2.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-GUQ5dO_s.js → checkbox-group-field-rac-CojbCWSF.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Bl6xL5-H.js → checkbox-group-rac-3qUVUc-C.js} +1 -1
  14. package/dist/component/{checkbox-rac-Blg0KVyP.js → checkbox-rac-DwbTapd_.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BfOhCAj8.js → contacts-address-rac-BL7XDZuP.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DYBvDh62.js → contacts-birthdate-rac-DeJYIHAg.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DIJr7zjA.js → contacts-company-rac-BeImf5uc.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DjmqELhC.js → contacts-email-rac-CtacwrZ0.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DGNll7gw.js → contacts-first-name-rac-CAdOqOOA.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BJ8AZYQN.js → contacts-last-name-rac-Db9mHzCW.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BC-QtpEN.js → contacts-phone-rac-W0OLEbzL.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BQia__74.js → contacts-position-rac-CV4Ibt4Z.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CTFptz01.js → contacts-subscribe-rac-CQ3Q1pjZ.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-Cy72Jouc.js → contacts-tax-id-rac-Dux-pk6r.js} +1 -1
  25. package/dist/component/{date-availability-BC6updcS.js → date-availability-RkX-Qw7G.js} +1 -1
  26. package/dist/component/date-input-field-rac-CYCT6qoa.js +309 -0
  27. package/dist/component/{date-input-rac-KkRyWRP_.js → date-input-rac-BkYZ7q_o.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BLWVJbTJ.js → date-picker-field-rac-eMidYtsl.js} +31 -31
  29. package/dist/component/{date-picker-rac-DKCQza7v.js → date-picker-rac-D23rxZcF.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CZxZW6fz.js → date-time-input-field-rac-BjIj4dXQ.js} +111 -111
  31. package/dist/component/{date-time-input-rac-DQ-iBwmr.js → date-time-input-rac-BSGAdk9L.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-kp1Jbwt-.js → dext-checkbox-group-rac-Xmb5IKrb.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-CBm9cRUz.js → dext-checkbox-rac-2eA7y0ld.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-DsVKWsRy.js → dext-date-picker-rac-CmLxVGGT.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CO26-8Qo.js → dext-date-time-input-rac-Cd9nwSjb.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-eRzu2C-y.js → dext-dropdown-rac-BKdQ0nGS.js} +1 -1
  37. package/dist/component/{dext-email-rac-DDrZzE_G.js → dext-email-rac-07zDPxyf.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Dj7sInLk.js → dext-number-input-rac-DRvGuppY.js} +1 -1
  39. package/dist/component/{dext-phone-rac-g8M77F7m.js → dext-phone-rac-CKtTVjFg.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BjhygC0R.js → dext-radio-group-rac-BsBmMufq.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BraNjvyA.js → dext-rating-input-rac-CcFSTAIh.js} +1 -1
  42. package/dist/component/{dext-tags-rac-B5mAIuDi.js → dext-tags-rac-CCTDlCvX.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-D_YBnaWi.js → dext-text-area-rac-Cif8po9h.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-BzeWH1jv.js → dext-text-input-rac-2118X4iF.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Cn0h_vx3.js → dext-url-input-rac-DDImGkQe.js} +1 -1
  46. package/dist/component/{donation-rac-CQRdHxWh.js → donation-rac-Dnylss1d.js} +103 -103
  47. package/dist/component/{dropdown-field-rac-C7LL0W5Z.js → dropdown-field-rac-DDI4ZgZH.js} +3 -3
  48. package/dist/component/{dropdown-rac-Nb2VyJ0x.js → dropdown-rac-DX0Z3R_8.js} +1 -1
  49. package/dist/component/{ecom-address-rac-_c2YIIwg.js → ecom-address-rac-D9MeEQsk.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-Bma7TAVj.js → ecom-subscription-checkbox-rac-DKJ9j5dj.js} +2 -2
  51. package/dist/component/{email-input-field-rac-2E2tEaS5.js → email-input-field-rac-DaKrmlwe.js} +55 -55
  52. package/dist/component/{events-repeater-rac-COWHYBFD.js → events-repeater-rac-DWrOLT0Y.js} +45 -45
  53. package/dist/component/{events-rsvp-rac-CXp8j19Y.js → events-rsvp-rac-YBTR1tR0.js} +6 -6
  54. package/dist/component/{field-error-headless-S-ugOQQX.js → field-error-headless-jksFrezt.js} +10 -10
  55. package/dist/component/{field-label-headless-_n4I0_tX.js → field-label-headless-BBvJAVxI.js} +10 -10
  56. package/dist/component/{file-upload-rac-DCH_iwDg.js → file-upload-rac-CgdmfUZG.js} +168 -168
  57. package/dist/component/{fixed-payment-rac-CYkKJUfM.js → fixed-payment-rac-v6rKwzFs.js} +13 -13
  58. package/dist/component/{form-jK8ezTss.js → form-BsiK682r.js} +530 -502
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-DnbjI6W5.js → header-field-rac-BuXybl7K.js} +6 -6
  61. package/dist/component/{header-rac-DKUICrni.js → header-rac-CDyaLosW.js} +1 -1
  62. package/dist/component/{image-choice-rac-B_9ponST.js → image-choice-rac-BRlMroBw.js} +41 -41
  63. package/dist/component/{index-BxdMzOvN.js → index-BanOeCAF.js} +242 -236
  64. package/dist/component/{index-ZYnsxY-a.js → index-y9URYGEE.js} +6 -6
  65. package/dist/component/{isObjectLike-BW-9QEQl.js → isObjectLike-BG9nJ-rx.js} +7 -7
  66. package/dist/component/{multiline-address-field-rac-k-P0ijWG.js → multiline-address-field-rac-DRAkxI1l.js} +342 -342
  67. package/dist/component/{multiline-address-rac-Bbn9mNDa.js → multiline-address-rac-JjTzWsEb.js} +1 -1
  68. package/dist/component/{number-input-field-rac--lom-B_X.js → number-input-field-rac-QrouG7Hv.js} +22 -22
  69. package/dist/component/{number-input-rac-Bhbd6T9S.js → number-input-rac-DGmE7cLv.js} +1 -1
  70. package/dist/component/{password-rac-BV_uTHb3.js → password-rac-DeyY228m.js} +28 -28
  71. package/dist/component/{payment-input-rac-cawyGN_t.js → payment-input-rac-DmIennLi.js} +45 -45
  72. package/dist/component/{phone-input-field-rac-CsElHRto.js → phone-input-field-rac-F7e74TGA.js} +76 -76
  73. package/dist/component/{phone-rac-XrHN5Nko.js → phone-rac-CQfB2CQD.js} +1 -1
  74. package/dist/component/{product-list-rac-cxv_xz7K.js → product-list-rac--GGG8vvO.js} +62 -62
  75. package/dist/component/{quiz-radio-group-rac-DGaxOPE1.js → quiz-radio-group-rac-DF2C2vNq.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-Xv2Jn01x.js → radio-button-module-classes-DmpNo6F2.js} +17 -17
  77. package/dist/component/{radio-group-field-rac-DgGqgTql.js → radio-group-field-rac-BGcPYfKO.js} +6 -6
  78. package/dist/component/{radio-group-rac-Bh0E-oe1.js → radio-group-rac-CqysUMCE.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-C3YLV971.js → rating-input-field-rac-D-ei917Y.js} +24 -24
  80. package/dist/component/{rating-input-rac-CfcC5EUh.js → rating-input-rac-a9zJ74fw.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-DUjzLGtX.js → rich-content-rac.module-CvyLVlXL.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-BmguoJhk.js → rich-text-field-rac-vf19nvyw.js} +7 -7
  83. package/dist/component/{rich-text-rac-BWhHcq25.js → rich-text-rac-Cx_wpoxC.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-C5oX-ql7.js → service-dropdown-rac-DITzKQxd.js} +26 -26
  85. package/dist/component/{services-multi-choice-rac-C1fem9NB.js → services-multi-choice-rac-BtisN0Aq.js} +11 -11
  86. package/dist/component/{signature-rac-BtHqiWj1.js → signature-rac-DUeIoS5O.js} +226 -226
  87. package/dist/component/{submit-button-rac-OYeKJFF8.js → submit-button-rac-C8h6zeTw.js} +36 -36
  88. package/dist/component/{tags-field-rac-kA2RSijL.js → tags-field-rac-CjFuiB0n.js} +51 -51
  89. package/dist/component/{tags-rac-B_2qCZGu.js → tags-rac-BO7rwyLl.js} +1 -1
  90. package/dist/component/{text-area-field-rac-DeO609Mv.js → text-area-field-rac-CgUx3nQ0.js} +23 -23
  91. package/dist/component/{text-area-rac-BAQFBOZd.js → text-area-rac-WgXYXIaf.js} +1 -1
  92. package/dist/component/{text-input-field-rac-CCcKwuLZ.js → text-input-field-rac-DaxWFha-.js} +6 -6
  93. package/dist/component/{text-input-headless-D8-jkaYm.js → text-input-headless-hjuRJTZN.js} +6 -6
  94. package/dist/component/{text-input-rac-BVcgjj8g.js → text-input-rac-BzumrJBj.js} +1 -1
  95. package/dist/component/{time-input-rac-BYctyHgU.js → time-input-rac-2FEkpQ7M.js} +18 -18
  96. package/dist/component/{url-input-field-rac-COC9qgcs.js → url-input-field-rac-BZ9f8D8I.js} +26 -26
  97. package/dist/component/{url-input-rac-BZXLh0Ej.js → url-input-rac-D-AVlxkD.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-BTltqRl1.js → use-dropdown-option-class-name-DwAAtzgX.js} +11 -11
  99. package/dist/component/{use-dropdown-trigger-class-name-BjJZfl3i.js → use-dropdown-trigger-class-name-D-6n9YVG.js} +18 -18
  100. package/dist/component/{use-element-state-class-name-CkT6Ga8t.js → use-element-state-class-name-C5auxwhj.js} +3 -3
  101. package/dist/component/{use-hoverable-input-class-name-BkoSr6tr.js → use-hoverable-input-class-name-Nd2jqfz4.js} +2 -2
  102. package/dist/component/use-is-forced-open-dropdown-CKaHhCqp.js +64 -0
  103. package/dist/component/{use-service-options-base-Wp8RZ4Z8.js → use-service-options-base-CvluFheT.js} +3 -3
  104. package/dist/component/use-text-input-class-name-DGTlYJxC.js +6 -0
  105. package/dist/form.d.ts +19 -0
  106. package/package.json +2 -2
  107. package/dist/component/date-input-field-rac-b_T1yf8D.js +0 -309
  108. package/dist/component/use-is-forced-open-dropdown-fo_NCnSk.js +0 -53
  109. package/dist/component/use-text-input-class-name-DS7i03Gk.js +0 -6
@@ -3,142 +3,142 @@ 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 { aT as w, bD as T, bA as P, bN as ie, bv as V, bF as ue, U as me, af as pe, ap as de, K as Ie, G as Ce, aq as Ee } from "./form-jK8ezTss.js";
6
+ import { a_ as Y, bK as T, bH as P, bU as ie, bC as H, bM as ue, X as me, al as pe, aw as de, M as Ie, I as Ce, ax as Ee } from "./form-BsiK682r.js";
7
7
  import { f as O, a as N } from "./find-child-C60k4CxG.js";
8
8
  import { a as Q } from "./format-currency-BwShJ9vM.js";
9
- import { D as fe, E as Oe } from "./field-error-headless-S-ugOQQX.js";
10
- import { L as be } from "./field-label-headless-_n4I0_tX.js";
11
- import { F as ye } from "./fieldset-headless-CD3fds9J.js";
12
- import { a as _e, b as he } from "./numeric-input-utils-CuBMi4-a.js";
13
- import { g as Fe } from "./payment-field-utils-DobiK5Xh.js";
14
- import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
9
+ import { D as fe, E as Oe } from "./field-error-headless-jksFrezt.js";
10
+ import { L as _e } from "./field-label-headless-BBvJAVxI.js";
11
+ import { F as be } from "./fieldset-headless-CD3fds9J.js";
12
+ import { a as ye, b as he } from "./numeric-input-utils-CuBMi4-a.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
15
  import { E as Ne } from "./error-icon-hZxQ6DEy.js";
16
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-CkT6Ga8t.js";
19
- import { u as ve } from "./use-text-input-class-name-DS7i03Gk.js";
18
+ import { u as Se } from "./use-element-state-class-name-C5auxwhj.js";
19
+ import { u as ve } from "./use-text-input-class-name-DGTlYJxC.js";
20
20
  function Le(e, t) {
21
21
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
22
22
  }
23
- function Ae(e) {
23
+ function Re(e) {
24
24
  return Le(e, "id");
25
25
  }
26
- const Re = 0.01;
26
+ const Ae = 0.01;
27
27
  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 Y(e, t) {
31
+ function K(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 === Y.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 === Y.DYNAMIC_PRICE);
41
41
  }
42
- function Be(e, t) {
42
+ function Me(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: _ } = V(), 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: y } = H(), _ = 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
- ]), B = x(() => Ae(D), [
51
+ ]), M = x(() => Re(D), [
52
52
  D
53
53
  ]), a = x(() => E ? Pe(D) : void 0, [
54
54
  D,
55
55
  E
56
- ]), W = Be(b, a), [q, M] = ge({
56
+ ]), W = Me(_, a), [V, B] = Fe({
57
57
  sourceValue: W,
58
- format: (I) => he(String(I ?? ""), _),
59
- regionalFormat: _
60
- }), H = S((I) => {
61
- const h = I === void 0 ? void 0 : B[I];
58
+ format: (I) => he(String(I ?? ""), y),
59
+ regionalFormat: y
60
+ }), q = S((I) => {
61
+ const h = I === void 0 ? void 0 : M[I];
62
62
  r(h ? [
63
- Y(h, Te(h))
64
- ] : []), M("");
63
+ K(h, Te(h))
64
+ ] : []), B("");
65
65
  }, [
66
66
  r,
67
- B,
68
- M
67
+ M,
68
+ B
69
69
  ]), $ = S((I) => {
70
70
  a && r(typeof I == "number" ? [
71
- Y(a, String(I))
71
+ K(a, String(I))
72
72
  ] : []);
73
73
  }, [
74
74
  r,
75
75
  a
76
76
  ]), k = x(() => ce($, 500), [
77
77
  $
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, q, _);
81
- M(h), k(ee);
78
+ ]), X = S((I) => {
79
+ (_ == null ? void 0 : _.productId) !== (a == null ? void 0 : a.id) && r(void 0);
80
+ const { validInput: h, validNumber: ee } = ye(I.target.value, Ae, V, y);
81
+ B(h), k(ee);
82
82
  }, [
83
- _,
83
+ y,
84
84
  r,
85
- b,
85
+ _,
86
86
  a,
87
- q,
87
+ V,
88
88
  k,
89
- M
90
- ]), G = (b == null ? void 0 : b.productId) || null, z = S(() => {
91
- a != null && a.id && G !== a.id && H(a.id);
89
+ B
90
+ ]), U = (_ == null ? void 0 : _.productId) || null, j = S(() => {
91
+ a != null && a.id && U !== a.id && q(a.id);
92
92
  }, [
93
93
  a == null ? void 0 : a.id,
94
- G,
95
- H
96
- ]), J = O(e, s.Label), K = O(e, s.Control), X = O(e, s.Description), Z = O(e, s.Error);
94
+ U,
95
+ q
96
+ ]), z = O(e, s.Label), w = O(e, s.Control), J = O(e, s.Description), Z = O(e, s.Error);
97
97
  return /* @__PURE__ */ n.createElement(f, {
98
98
  fieldId: t,
99
- renderLabel: () => J,
100
- renderInput: () => /* @__PURE__ */ n.createElement(ye, {
99
+ renderLabel: () => z,
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 ? N(K, {
108
- productsById: B,
109
- selectedValue: G,
110
- onSelectProduct: H,
107
+ }, w ? N(w, {
108
+ productsById: M,
109
+ selectedValue: U,
110
+ onSelectProduct: q,
111
111
  addOther: E,
112
- customAmount: q,
113
- onCustomAmountInputChange: j,
114
- currency: g,
112
+ customAmount: V,
113
+ onCustomAmountInputChange: X,
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,
118
- onFocusCustomInput: z
118
+ onFocusCustomInput: j
119
119
  }) : null),
120
- renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, X)
120
+ renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, J)
121
121
  });
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: y } = o, { hasError: m } = T(), g = O(e, s.Options), _ = O(e, s.OtherInput);
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: b } = o, { hasError: m } = T(), F = O(e, s.Options), y = O(e, s.OtherInput);
124
124
  return /* @__PURE__ */ n.createElement("div", {
125
125
  className: t,
126
126
  "data-invalid": m
127
- }, g ? N(g, {
127
+ }, F ? N(F, {
128
128
  productsById: r,
129
129
  selectedValue: l,
130
130
  onSelectProduct: i
131
- }) : null, _ && C ? N(_, {
131
+ }) : null, y && C ? N(y, {
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
- }, 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);
140
+ }, G = ({ 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, G.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;
156
+ const d = r[c.value], b = (m = d == null ? void 0 : d.fixedPriceOptions) == null ? void 0 : m.price;
157
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
- }, A = ({ children: e, className: t, ...o }) => {
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({
163
+ }, R = ({ 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, R.Value), f = O(e, R.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 ? N(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 } = V(), { value: i } = Q({
185
+ const { price: o } = t, { currency: r, regionalFormat: l } = H(), { 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
- }, Ve = ({ className: e }) => {
194
- const { currency: t } = V();
193
+ }, He = ({ className: e }) => {
194
+ const { currency: t } = H();
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
- A.Value = xe;
200
- A.Currency = Ve;
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) => {
199
+ R.Value = xe;
200
+ R.Currency = He;
201
+ const A = ({ 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: b } = P(), m = O(e, A.Currency), F = O(e, A.Value), y = S((D) => {
203
203
  l({
204
204
  target: {
205
205
  value: D
@@ -207,16 +207,16 @@ const R = ({ children: e, className: t, ...o }) => {
207
207
  });
208
208
  }, [
209
209
  l
210
- ]), b = S(() => {
210
+ ]), _ = 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
- onChange: _,
219
- onFocus: b,
218
+ onChange: y,
219
+ onFocus: _,
220
220
  isDisabled: f,
221
221
  isInvalid: c
222
222
  }, /* @__PURE__ */ n.createElement(se, {
@@ -226,19 +226,19 @@ const R = ({ children: e, className: t, ...o }) => {
226
226
  }, r && i && m ? N(m, {
227
227
  currency: i,
228
228
  t: C
229
- }) : null, g ? N(g, {
229
+ }) : null, F ? N(F, {
230
230
  placeholder: u,
231
231
  customAmountProductId: E
232
232
  }) : null));
233
- }, qe = ({ className: e, ...t }) => {
233
+ }, Ve = ({ 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": Fe(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
- }, He = ({ className: e, ...t }) => {
241
+ }, qe = ({ 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,32 +250,32 @@ const R = ({ children: e, className: t, ...o }) => {
250
250
  className: e
251
251
  });
252
252
  };
253
- R.Currency = qe;
254
- R.Value = He;
255
- U.Option = A;
256
- s.Label = be;
257
- s.Control = Me;
258
- s.Options = U;
259
- s.OtherInput = R;
253
+ A.Currency = Ve;
254
+ A.Value = qe;
255
+ G.Option = R;
256
+ s.Label = _e;
257
+ s.Control = Be;
258
+ s.Options = G;
259
+ s.OtherInput = A;
260
260
  s.Description = fe;
261
261
  s.Error = Oe;
262
- const Ge = "_control_lovol_1", Ue = "_option_lovol_7", $e = "_optionHover_lovol_39", ke = "_optionSelected_lovol_39", Ke = "_optionCurrency_lovol_92", Ye = "_otherInput_lovol_96", we = "_otherInputCurrency_lovol_118", F = {
263
- control: Ge,
264
- option: Ue,
262
+ const Ue = "_control_lovol_1", Ge = "_option_lovol_7", $e = "_optionHover_lovol_39", ke = "_optionSelected_lovol_39", we = "_optionCurrency_lovol_92", Ke = "_otherInput_lovol_96", Ye = "_otherInputCurrency_lovol_118", g = {
263
+ control: Ue,
264
+ option: Ge,
265
265
  optionHover: $e,
266
266
  optionSelected: ke,
267
- optionCurrency: Ke,
268
- otherInput: Ye,
269
- otherInputCurrency: we
267
+ optionCurrency: we,
268
+ otherInput: Ke,
269
+ otherInputCurrency: Ye
270
270
  }, Qe = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
271
271
  content: e,
272
272
  locale: t
273
273
  }), We = {
274
- base: F.option,
275
- selected: F.optionSelected,
276
- hover: F.optionHover
277
- }, je = () => {
278
- const e = ve(F.otherInput), t = Se({
274
+ base: g.option,
275
+ selected: g.optionSelected,
276
+ hover: g.optionHover
277
+ }, Xe = () => {
278
+ const e = ve(g.otherInput), t = Se({
279
279
  globalClasses: Ee,
280
280
  moduleClasses: We
281
281
  });
@@ -284,17 +284,17 @@ const Ge = "_control_lovol_1", Ue = "_option_lovol_7", $e = "_optionHover_lovol_
284
284
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
285
285
  className: v(pe, L.requiredMark)
286
286
  })), /* @__PURE__ */ n.createElement(s.Control, {
287
- className: F.control
287
+ className: g.control
288
288
  }, /* @__PURE__ */ n.createElement(s.Options, {
289
- className: v(de, De.options, F.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: F.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: F.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, {
@@ -302,7 +302,7 @@ const Ge = "_control_lovol_1", Ue = "_option_lovol_7", $e = "_optionHover_lovol_
302
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
304
  }, Qe));
305
- }, Ct = () => /* @__PURE__ */ n.createElement(je, null);
305
+ }, Ct = () => /* @__PURE__ */ n.createElement(Xe, null);
306
306
  export {
307
307
  Ct as DonationRAC
308
308
  };
@@ -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-BjJZfl3i.js";
4
+ import { u as n, D as r } from "./use-dropdown-trigger-class-name-D-6n9YVG.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
8
  import { s as o } from "./field-rac.module-ts2t4WUO.js";
9
- import { U as p, af as E, H as D, K as _, G as O } from "./form-jK8ezTss.js";
10
- import { u as R } from "./use-dropdown-option-class-name-BTltqRl1.js";
9
+ import { X as p, al as E, J as D, M as _, I as O } from "./form-BsiK682r.js";
10
+ import { u as R } from "./use-dropdown-option-class-name-DwAAtzgX.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-C7LL0W5Z.js";
2
+ import { D as r } from "./dropdown-field-rac-DDI4ZgZH.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-k-P0ijWG.js";
2
+ import { M as r } from "./multiline-address-field-rac-DRAkxI1l.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 { bD as a, bN as c, aF as i } from "./form-jK8ezTss.js";
3
- import { C as l } from "./checkbox-field-rac-C-4PXuxG.js";
2
+ import { bK as a, bU as c, aM as i } from "./form-BsiK682r.js";
3
+ import { C as l } from "./checkbox-field-rac-BU4E73fD.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {