@wix/form-elements 1.217.0 → 1.218.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/component/{appointment-rac-BwV-BiuM.js → appointment-rac-BHOy_R7-.js} +4 -4
  2. package/dist/component/{bookings-address-rac-60s8mINA.js → bookings-address-rac-BCrQv66p.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CD180ofz.js → bookings-email-rac-DmRfdxfb.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DPj9TLDZ.js → bookings-first-name-rac-BXO3f2gd.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DWAqHAC3.js → bookings-header-rac-CO6AOevd.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C-0GchtO.js → bookings-last-name-rac-BJBEASFi.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DpVUsgYV.js → bookings-login-bar-rac-BIAIfq4E.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DSw3Wpi6.js → bookings-phone-rac-Ccj4N7sU.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BcfuuhqF.js → bookings-rich-text-rac-B3HZ904h.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CxN4DXcm.js → checkbox-field-rac-CMLQboNZ.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-Cxytn3cY.js → checkbox-group-field-headless-BoPu_anP.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-COySLANT.js → checkbox-group-field-rac-DDkB4mAS.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-C36q50g-.js → checkbox-group-rac-CYRjp2pd.js} +1 -1
  14. package/dist/component/{checkbox-rac-CPRna7wo.js → checkbox-rac-CZtOcpN3.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C9WfyF_C.js → contacts-address-rac-CTcU_s2X.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DI_n6KW2.js → contacts-birthdate-rac-CfoYd88-.js} +1 -1
  17. package/dist/component/{contacts-company-rac-C2L3jLDV.js → contacts-company-rac-BFa1_U3K.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BXxC1EQz.js → contacts-email-rac-DnAo-YRv.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DDNYc6DW.js → contacts-first-name-rac-CXaZzVt1.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C8kg5uC1.js → contacts-last-name-rac-DfpXadTk.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-GBwlIMQi.js → contacts-phone-rac-CCwC37Ud.js} +1 -1
  22. package/dist/component/{contacts-position-rac-sI-eyBLH.js → contacts-position-rac-CvMNYTKL.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DI3nlzX4.js → contacts-subscribe-rac-vL2jR6hR.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CRq4rhb6.js → contacts-tax-id-rac-CrFhrlkk.js} +1 -1
  25. package/dist/component/{date-availability-17HTB6Bn.js → date-availability-5zvsa_GI.js} +1 -1
  26. package/dist/component/{date-input-field-rac-BLO1qQSi.js → date-input-field-rac-BQuCwFBz.js} +43 -43
  27. package/dist/component/{date-input-rac-Zryc6o9F.js → date-input-rac-DKzwySbG.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-COGESH_j.js → date-picker-field-rac-D-B3bNeU.js} +35 -35
  29. package/dist/component/{date-picker-rac-BR5X3Gg4.js → date-picker-rac-DjYsBhgo.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CKbGhDKq.js → date-time-input-field-rac-BECpkgB2.js} +30 -30
  31. package/dist/component/{date-time-input-rac-DnP-sVbv.js → date-time-input-rac-FbqGdzfB.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-O9bQHdjz.js → dext-checkbox-group-rac-BtSRkEFa.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-3Eqa1NNz.js → dext-checkbox-rac-BnC_NNyy.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BYjvDil-.js → dext-date-picker-rac-okrwxNz9.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BLX3xG9x.js → dext-date-time-input-rac-DHKRYBUe.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BwpbF2-Z.js → dext-dropdown-rac-1T_Ufw_J.js} +1 -1
  37. package/dist/component/{dext-email-rac-DUNmxVKy.js → dext-email-rac-BY3bKE0q.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-D2rZrzXe.js → dext-number-input-rac-CFnKXD1l.js} +1 -1
  39. package/dist/component/{dext-phone-rac-C9dvhFCl.js → dext-phone-rac-LT9InJXw.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-D8mUfv1Y.js → dext-radio-group-rac-BUebk1mz.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BY8MRBDl.js → dext-rating-input-rac-Drk4nKuW.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DBKnRkUI.js → dext-tags-rac-BcW2-hht.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BYVMZ7HH.js → dext-text-area-rac-ew2HEDVz.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B6Ga232R.js → dext-text-input-rac-BhhGEp-y.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Cgu1URth.js → dext-url-input-rac-DKPl-POV.js} +1 -1
  46. package/dist/component/{donation-rac-DL1TnDAO.js → donation-rac-B9w7zHLs.js} +50 -50
  47. package/dist/component/{dropdown-field-rac-KYozl4DF.js → dropdown-field-rac-CyIgQ8Wg.js} +3 -3
  48. package/dist/component/{dropdown-rac-DiqI7QHS.js → dropdown-rac-D4zhCab8.js} +1 -1
  49. package/dist/component/{ecom-address-rac-Cmb0daDG.js → ecom-address-rac-Cgc5vi9N.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-B7AuYQA2.js → ecom-subscription-checkbox-rac-Ci19HUzq.js} +2 -2
  51. package/dist/component/{email-input-field-rac-DocV1aB9.js → email-input-field-rac-DX-z3AgN.js} +29 -29
  52. package/dist/component/{events-repeater-rac-B0Qqfo8D.js → events-repeater-rac-XGxIXTW0.js} +29 -29
  53. package/dist/component/{events-rsvp-rac-fv3hIzAL.js → events-rsvp-rac-CMEcer8W.js} +3 -3
  54. package/dist/component/{field-error-headless-Dfvu9FuO.js → field-error-headless-fX6PeZaI.js} +1 -1
  55. package/dist/component/{field-label-headless-Cxyl3wGC.js → field-label-headless-CoLjciGG.js} +5 -5
  56. package/dist/component/{file-upload-rac-Je_--JfX.js → file-upload-rac-N6_i0ky0.js} +88 -88
  57. package/dist/component/{fixed-payment-rac-BnXYEIDe.js → fixed-payment-rac-DB6BtjkX.js} +7 -7
  58. package/dist/component/{form-a7SUDn8q.js → form-cgY_BDTU.js} +1444 -1426
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-D6gL7ZE_.js → header-field-rac-CwNoeHks.js} +2 -2
  61. package/dist/component/{header-rac-DEkEGPwy.js → header-rac-DefKb4Vd.js} +1 -1
  62. package/dist/component/{image-choice-rac-Br7ZpUIc.js → image-choice-rac-CZFYVSzP.js} +25 -25
  63. package/dist/component/{index-nfuicG4V.js → index-D1ybDmS5.js} +2 -2
  64. package/dist/component/{index-CCtGcc8K.js → index-DUVXPUGc.js} +4 -4
  65. package/dist/component/{isObjectLike-zLoHjg3a.js → isObjectLike-93vxyYs1.js} +1 -1
  66. package/dist/component/multiline-address-field-rac-BN_Tnrno.js +1738 -0
  67. package/dist/component/{multiline-address-rac-CyM0O2ZV.js → multiline-address-rac-CoF0BwJI.js} +1 -1
  68. package/dist/component/{number-input-field-rac-orHx_sCp.js → number-input-field-rac-BVdfzTwW.js} +21 -21
  69. package/dist/component/{number-input-rac-CF5v19rL.js → number-input-rac-D-A2ybtN.js} +1 -1
  70. package/dist/component/{password-rac-BSWihZvF.js → password-rac-CbUBNreW.js} +26 -26
  71. package/dist/component/{payment-input-rac-CeAz10YA.js → payment-input-rac-BXdDXgXp.js} +46 -46
  72. package/dist/component/{phone-input-field-rac-BefHQnSh.js → phone-input-field-rac-CjmpG7p9.js} +57 -57
  73. package/dist/component/{phone-rac-C5jSEw_g.js → phone-rac-D3g5Pi2p.js} +1 -1
  74. package/dist/component/{product-list-rac-C0UIu3qw.js → product-list-rac-gJvJaUnQ.js} +35 -35
  75. package/dist/component/{quiz-radio-group-rac-Bya6uEoi.js → quiz-radio-group-rac-YCKwAv5G.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-YEfiQQtW.js → radio-button-module-classes-2nfcqSJp.js} +15 -15
  77. package/dist/component/{radio-group-field-rac-DZWxn-QY.js → radio-group-field-rac-BBYaCpeZ.js} +4 -4
  78. package/dist/component/{radio-group-rac-DsL2Ttyk.js → radio-group-rac-fYuYtO48.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-BioYAy-_.js → rating-input-field-rac-sPYk1nWc.js} +20 -20
  80. package/dist/component/{rating-input-rac-DahZMbKa.js → rating-input-rac-CiWqxkPO.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-pvsjrr7Y.js → rich-content-rac.module-BjcbV5CK.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-H-mxitKA.js → rich-text-field-rac-DY0vRG7M.js} +4 -4
  83. package/dist/component/{rich-text-rac-CPfXGilA.js → rich-text-rac-BngE_MAC.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-C2qfLOFr.js → service-dropdown-rac-Db53P8Fm.js} +13 -13
  85. package/dist/component/{services-multi-choice-rac-D7-sJi_t.js → services-multi-choice-rac-Cr791rTd.js} +9 -9
  86. package/dist/component/{signature-rac-DuQuR2U3.js → signature-rac-BCNYIwad.js} +41 -41
  87. package/dist/component/{submit-button-rac-DrUDtzCX.js → submit-button-rac-CyyEQGsz.js} +10 -10
  88. package/dist/component/{tags-field-rac-D8gyv5Kk.js → tags-field-rac-k3HHiR5C.js} +24 -24
  89. package/dist/component/{tags-rac-Be588VqA.js → tags-rac-nOXYrsHv.js} +1 -1
  90. package/dist/component/{text-area-field-rac-hezqhMgQ.js → text-area-field-rac-CwpxShM0.js} +22 -22
  91. package/dist/component/{text-area-rac-B_KUlOes.js → text-area-rac-CkKcWyW5.js} +1 -1
  92. package/dist/component/{text-input-field-rac-BWRz4111.js → text-input-field-rac-DvIwNwn3.js} +3 -3
  93. package/dist/component/{text-input-headless-BUNQFfZw.js → text-input-headless-vfGxjFpa.js} +9 -9
  94. package/dist/component/{text-input-rac-DdfHXZ8B.js → text-input-rac-DoVI2HNp.js} +1 -1
  95. package/dist/component/{time-input-rac-CUTavG2g.js → time-input-rac-DPbbdnl3.js} +16 -16
  96. package/dist/component/{url-input-field-rac-CG5yrtux.js → url-input-field-rac-CiZi4oVe.js} +20 -20
  97. package/dist/component/{url-input-rac-DMw4tPKk.js → url-input-rac-C-IvLpA8.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-CHW3T4PQ.js → use-dropdown-option-class-name-CMgoymWE.js} +2 -2
  99. package/dist/component/{use-dropdown-trigger-class-name-6UsjW0rS.js → use-dropdown-trigger-class-name-BH0PyTH_.js} +24 -24
  100. package/dist/component/{use-element-state-class-name-YRDhi6Zr.js → use-element-state-class-name-DiZjY9WE.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-arCOozPK.js → use-hoverable-input-class-name-QpNEvrdn.js} +2 -2
  102. package/dist/component/{use-is-forced-open-dropdown-NJIAuz_W.js → use-is-forced-open-dropdown-CHh9nGJz.js} +4 -4
  103. package/dist/component/{use-service-options-base-nhf-7Ope.js → use-service-options-base-BGB82e2d.js} +4 -4
  104. package/dist/component/use-text-input-class-name-_CjB7lhB.js +6 -0
  105. package/package.json +2 -2
  106. package/dist/component/multiline-address-field-rac-Bgfked1m.js +0 -1664
  107. package/dist/component/use-text-input-class-name-C9496S5f.js +0 -6
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-KYozl4DF.js";
2
+ import { D as r } from "./dropdown-field-rac-CyIgQ8Wg.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DextDropdownRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-DocV1aB9.js";
2
+ import { E as e } from "./email-input-field-rac-DX-z3AgN.js";
3
3
  const l = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  l as DextEmailRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as t } from "./number-input-field-rac-orHx_sCp.js";
2
+ import { N as t } from "./number-input-field-rac-BVdfzTwW.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextNumberInputRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as t } from "./phone-input-field-rac-BefHQnSh.js";
2
+ import { P as t } from "./phone-input-field-rac-CjmpG7p9.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { bM as e, aN as t } from "./form-a7SUDn8q.js";
3
- import { R as p } from "./radio-group-field-rac-DZWxn-QY.js";
2
+ import { bN as e, aN as t } from "./form-cgY_BDTU.js";
3
+ import { R as p } from "./radio-group-field-rac-BBYaCpeZ.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-BioYAy-_.js";
2
+ import { R as e } from "./rating-input-field-rac-sPYk1nWc.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { bM as e, aN as o } from "./form-a7SUDn8q.js";
3
- import { T as s } from "./tags-field-rac-D8gyv5Kk.js";
2
+ import { bN as e, aN as o } from "./form-cgY_BDTU.js";
3
+ import { T as s } from "./tags-field-rac-k3HHiR5C.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-hezqhMgQ.js";
2
+ import { T as t } from "./text-area-field-rac-CwpxShM0.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextTextAreaRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BWRz4111.js";
2
+ import { T as e } from "./text-input-field-rac-DvIwNwn3.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextTextInputRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { U as r } from "./url-input-field-rac-CG5yrtux.js";
2
+ import { U as r } from "./url-input-field-rac-CiZi4oVe.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -3,20 +3,20 @@ import { RicosViewer as ne } from "@wix/ricos/viewer";
3
3
  import L 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 { b0 as Y, bM as T, bJ as P, bX as ie, bE as q, bO as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-a7SUDn8q.js";
6
+ import { b0 as K, bN as P, bK as T, bY as ie, bF as q, bP as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-cgY_BDTU.js";
7
7
  import { f as O, a as N } from "./find-child-C60k4CxG.js";
8
8
  import { a as w } from "./format-currency-BwShJ9vM.js";
9
- import { D as fe, E as Oe } from "./field-error-headless-Dfvu9FuO.js";
10
- import { L as be } from "./field-label-headless-Cxyl3wGC.js";
9
+ import { D as fe, E as Oe } from "./field-error-headless-fX6PeZaI.js";
10
+ import { L as be } from "./field-label-headless-CoLjciGG.js";
11
11
  import { F as ye } 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 ge } from "./payment-field-utils-DobiK5Xh.js";
14
- import { u as Fe } from "./use-synced-display-value-DcAxdn3M.js";
13
+ import { g as Fe } from "./payment-field-utils-DobiK5Xh.js";
14
+ import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
15
15
  import { E as Ne } from "./error-icon-hZxQ6DEy.js";
16
16
  import { s as v } from "./field-rac.module-DcyJyi2B.js";
17
17
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
18
- import { u as Se } from "./use-element-state-class-name-YRDhi6Zr.js";
19
- import { u as Le } from "./use-text-input-class-name-C9496S5f.js";
18
+ import { u as Se } from "./use-element-state-class-name-DiZjY9WE.js";
19
+ import { u as Le } from "./use-text-input-class-name-_CjB7lhB.js";
20
20
  function ve(e, t) {
21
21
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
22
22
  }
@@ -24,43 +24,43 @@ function Re(e) {
24
24
  return ve(e, "id");
25
25
  }
26
26
  const Ae = 0.01;
27
- function Te(e) {
27
+ function Pe(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 X(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 === Y.DYNAMIC_PRICE ? o : String(o),
35
+ price: e.priceType === K.DYNAMIC_PRICE ? o : String(o),
36
36
  quantity: 1
37
37
  };
38
38
  }
39
- function Pe(e) {
40
- return e.find((t) => t.priceType === Y.DYNAMIC_PRICE);
39
+ function Te(e) {
40
+ return e.find((t) => t.priceType === K.DYNAMIC_PRICE);
41
41
  }
42
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: F, regionalFormat: _ } = q(), b = o == null ? void 0 : o[0], D = B(() => {
46
+ const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = P(), { inputId: c, labelId: d, ariaDescribedBy: y } = T(), { t: m } = ie(), { currency: g, regionalFormat: _ } = q(), b = o == null ? void 0 : o[0], D = B(() => {
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
51
  ]), M = B(() => Re(D), [
52
52
  D
53
- ]), a = B(() => E ? Pe(D) : void 0, [
53
+ ]), a = B(() => E ? Te(D) : void 0, [
54
54
  D,
55
55
  E
56
- ]), J = Me(b, a), [x, z] = Fe({
57
- sourceValue: J,
56
+ ]), Q = Me(b, a), [x, z] = ge({
57
+ sourceValue: Q,
58
58
  format: (I) => he(String(I ?? ""), _),
59
59
  regionalFormat: _
60
60
  }), V = S((I) => {
61
61
  const h = I === void 0 ? void 0 : M[I];
62
62
  r(h ? [
63
- X(h, Te(h))
63
+ Y(h, Pe(h))
64
64
  ] : []), z("");
65
65
  }, [
66
66
  r,
@@ -68,14 +68,14 @@ const s = ({ children: e }) => {
68
68
  z
69
69
  ]), U = S((I) => {
70
70
  a && r(typeof I == "number" ? [
71
- X(a, String(I))
71
+ Y(a, String(I))
72
72
  ] : []);
73
73
  }, [
74
74
  r,
75
75
  a
76
76
  ]), $ = B(() => ce(U, 500), [
77
77
  U
78
- ]), K = S((I) => {
78
+ ]), W = S((I) => {
79
79
  (b == null ? void 0 : b.productId) !== (a == null ? void 0 : a.id) && r(void 0);
80
80
  const { validInput: h, validNumber: ee } = _e(I.target.value, Ae, x, _);
81
81
  z(h), $(ee);
@@ -87,16 +87,16 @@ const s = ({ children: e }) => {
87
87
  x,
88
88
  $,
89
89
  z
90
- ]), H = (b == null ? void 0 : b.productId) || null, Q = S(() => {
90
+ ]), H = (b == null ? void 0 : b.productId) || null, X = S(() => {
91
91
  a != null && a.id && H !== a.id && V(a.id);
92
92
  }, [
93
93
  a == null ? void 0 : a.id,
94
94
  H,
95
95
  V
96
- ]), W = O(e, s.Label), k = O(e, s.Control), j = O(e, s.Description), Z = O(e, s.Error);
96
+ ]), j = O(e, s.Label), k = 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: () => W,
99
+ renderLabel: () => j,
100
100
  renderInput: () => /* @__PURE__ */ n.createElement(ye, {
101
101
  id: c,
102
102
  ariaLabelledBy: d,
@@ -110,21 +110,21 @@ const s = ({ children: e }) => {
110
110
  onSelectProduct: V,
111
111
  addOther: E,
112
112
  customAmount: x,
113
- onCustomAmountInputChange: K,
114
- currency: F,
113
+ onCustomAmountInputChange: W,
114
+ currency: g,
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: Q
118
+ onFocusCustomInput: X
119
119
  }) : null),
120
- renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, j)
120
+ renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, J)
121
121
  });
122
122
  }, ze = ({ 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(), F = O(e, s.Options), _ = O(e, s.OtherInput);
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 } = P(), g = 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
- }, F ? N(F, {
127
+ }, g ? N(g, {
128
128
  productsById: r,
129
129
  selectedValue: l,
130
130
  onSelectProduct: i
@@ -138,7 +138,7 @@ const s = ({ children: e }) => {
138
138
  onFocusCustomInput: y
139
139
  }) : null);
140
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);
141
+ const { productsById: r, selectedValue: l, onSelectProduct: i } = o, { options: C, numberOfColumns: u, disabled: E } = P(), { labelId: p } = T(), f = O(e, G.Option);
142
142
  return /* @__PURE__ */ n.createElement(oe, {
143
143
  className: t,
144
144
  "data-columns": u,
@@ -161,7 +161,7 @@ const s = ({ children: e }) => {
161
161
  });
162
162
  }));
163
163
  }, R = ({ children: e, className: t, ...o }) => {
164
- const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = q(), p = O(e, R.Value), f = O(e, R.Currency), { isCurrencyPrefixed: c } = w({
164
+ const { value: r, price: l } = o, { id: i, hasError: C } = P(), { currency: u, regionalFormat: E } = q(), p = O(e, R.Value), f = O(e, R.Currency), { isCurrencyPrefixed: c } = w({
165
165
  amount: l,
166
166
  currency: u == null ? void 0 : u.code,
167
167
  locale: E
@@ -199,7 +199,7 @@ const s = ({ children: e }) => {
199
199
  R.Value = Be;
200
200
  R.Currency = qe;
201
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: y } = P(), m = O(e, A.Currency), F = O(e, A.Value), _ = S((D) => {
202
+ const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = P(), { labelId: d, prefixId: y } = T(), m = O(e, A.Currency), g = O(e, A.Value), _ = S((D) => {
203
203
  l({
204
204
  target: {
205
205
  value: D
@@ -226,20 +226,20 @@ const A = ({ children: e, className: t, ...o }) => {
226
226
  }, r && i && m ? N(m, {
227
227
  currency: i,
228
228
  t: C
229
- }) : null, F ? N(F, {
229
+ }) : null, g ? N(g, {
230
230
  placeholder: u,
231
231
  customAmountProductId: E
232
232
  }) : null));
233
233
  }, xe = ({ className: e, ...t }) => {
234
- const { currency: o, t: r } = t, { prefixId: l } = P();
234
+ const { currency: o, t: r } = t, { prefixId: l } = T();
235
235
  return /* @__PURE__ */ n.createElement("span", {
236
236
  id: l,
237
237
  "aria-hidden": !1,
238
- "aria-label": ge(r, o),
238
+ "aria-label": Fe(r, o),
239
239
  className: e
240
240
  }, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
241
241
  }, Ve = ({ className: e, ...t }) => {
242
- const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy: l, labelId: i, prefixId: C } = P();
242
+ const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy: l, labelId: i, prefixId: C } = T();
243
243
  return /* @__PURE__ */ n.createElement(le, {
244
244
  id: r,
245
245
  "aria-labelledby": `${i} ${C}`,
@@ -259,42 +259,42 @@ s.Options = G;
259
259
  s.OtherInput = A;
260
260
  s.Description = fe;
261
261
  s.Error = Oe;
262
- const He = "_control_ztzql_1", Ge = "_option_ztzql_7", Ue = "_optionHover_ztzql_36", $e = "_optionSelected_ztzql_36", ke = "_optionCurrency_ztzql_89", Xe = "_otherInput_ztzql_93", Ye = "_otherInputCurrency_ztzql_115", g = {
262
+ const He = "_control_ztzql_1", Ge = "_option_ztzql_7", Ue = "_optionHover_ztzql_36", $e = "_optionSelected_ztzql_36", ke = "_optionCurrency_ztzql_89", Ye = "_otherInput_ztzql_93", Ke = "_otherInputCurrency_ztzql_115", F = {
263
263
  control: He,
264
264
  option: Ge,
265
265
  optionHover: Ue,
266
266
  optionSelected: $e,
267
267
  optionCurrency: ke,
268
- otherInput: Xe,
269
- otherInputCurrency: Ye
268
+ otherInput: Ye,
269
+ otherInputCurrency: Ke
270
270
  }, we = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
271
271
  content: e,
272
272
  locale: t
273
- }), Je = {
274
- base: g.option,
275
- selected: g.optionSelected,
276
- hover: g.optionHover
277
- }, Ke = () => {
278
- const e = Le(g.otherInput), t = Se({
273
+ }), Qe = {
274
+ base: F.option,
275
+ selected: F.optionSelected,
276
+ hover: F.optionHover
277
+ }, We = () => {
278
+ const e = Le(F.otherInput), t = Se({
279
279
  globalClasses: Ee,
280
- moduleClasses: Je
280
+ moduleClasses: Qe
281
281
  });
282
282
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
283
283
  className: L(me, v.label)
284
284
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
285
285
  className: L(pe, v.requiredMark)
286
286
  })), /* @__PURE__ */ n.createElement(s.Control, {
287
- className: g.control
287
+ className: F.control
288
288
  }, /* @__PURE__ */ n.createElement(s.Options, {
289
- className: L(de, De.options, g.options)
289
+ className: L(de, De.options, F.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: g.optionCurrency
293
+ className: F.optionCurrency
294
294
  }))), /* @__PURE__ */ n.createElement(s.OtherInput, {
295
295
  className: e
296
296
  }, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
297
- className: g.otherInputCurrency
297
+ className: F.otherInputCurrency
298
298
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
299
299
  className: v.innerInput
300
300
  }))), /* @__PURE__ */ n.createElement(s.Error, {
@@ -302,7 +302,7 @@ const He = "_control_ztzql_1", Ge = "_option_ztzql_7", Ue = "_optionHover_ztzql_
302
302
  }, /* @__PURE__ */ n.createElement(Ne, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
303
303
  className: L(Ce, v.description)
304
304
  }, we));
305
- }, Ct = () => /* @__PURE__ */ n.createElement(Ke, null);
305
+ }, Ct = () => /* @__PURE__ */ n.createElement(We, 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-6UsjW0rS.js";
4
+ import { u as n, D as r } from "./use-dropdown-trigger-class-name-BH0PyTH_.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-DcyJyi2B.js";
9
- import { X as p, am as E, J as D, M as _, I as O } from "./form-a7SUDn8q.js";
10
- import { u as R } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
9
+ import { X as p, am as E, J as D, M as _, I as O } from "./form-cgY_BDTU.js";
10
+ import { u as R } from "./use-dropdown-option-class-name-CMgoymWE.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-KYozl4DF.js";
2
+ import { D as r } from "./dropdown-field-rac-CyIgQ8Wg.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-Bgfked1m.js";
2
+ import { M as r } from "./multiline-address-field-rac-BN_Tnrno.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 { bM as a, bX as c, aN as i } from "./form-a7SUDn8q.js";
3
- import { C as l } from "./checkbox-field-rac-CxN4DXcm.js";
2
+ import { bN as a, bY as c, aN as i } from "./form-cgY_BDTU.js";
3
+ import { C as l } from "./checkbox-field-rac-CMLQboNZ.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {
@@ -1,8 +1,8 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
- import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
3
+ import u, { createContext as z, useContext as Z, createElement as H, isValidElement as B, 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 { bJ as fe, bX as ge, bH as ve, d as ye, bM as Ee, bQ as de, bK as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-a7SUDn8q.js";
5
+ import { bK as fe, bY as ge, bI as ve, d as ye, bN as Ee, bR as de, bL as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-cgY_BDTU.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 U } from "./text-input-headless-BUNQFfZw.js";
13
+ import { T as U } from "./text-input-headless-vfGxjFpa.js";
14
14
  import { E as De } from "./error-icon-hZxQ6DEy.js";
15
- import { s as H } from "./field-rac.module-DcyJyi2B.js";
16
- import { u as je } from "./use-text-input-class-name-C9496S5f.js";
15
+ import { s as R } from "./field-rac.module-DcyJyi2B.js";
16
+ import { u as je } from "./use-text-input-class-name-_CjB7lhB.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
  "&": "&",
@@ -48,8 +48,8 @@ var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
48
48
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
49
49
  useSuspense: !0,
50
50
  unescape: Pe
51
- }, we, He = z();
52
- function Re() {
51
+ }, we, Re = z();
52
+ function He() {
53
53
  return _e;
54
54
  }
55
55
  (function() {
@@ -109,7 +109,7 @@ function p(e) {
109
109
  }
110
110
  return e;
111
111
  }
112
- function Y(e, t) {
112
+ function q(e, t) {
113
113
  if (!e) return !1;
114
114
  var a = e.props ? e.props.children : e.children;
115
115
  return t ? a.length > 0 : !!a;
@@ -117,7 +117,7 @@ function Y(e, t) {
117
117
  function G(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
- function qe(e) {
120
+ function Ye(e) {
121
121
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
122
122
  return B(t);
123
123
  });
@@ -125,7 +125,7 @@ function qe(e) {
125
125
  function M(e) {
126
126
  return Array.isArray(e) ? e : [e];
127
127
  }
128
- function Ye(e, t) {
128
+ function qe(e, t) {
129
129
  var a = p({}, t);
130
130
  return a.props = Object.assign(e.props, t.props), a;
131
131
  }
@@ -170,14 +170,14 @@ function Ge(e, t, a, o, c, r) {
170
170
  function b(y) {
171
171
  var h = M(y);
172
172
  h.forEach(function(s) {
173
- typeof s != "string" && (Y(s) ? b(G(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
173
+ typeof s != "string" && (q(s) ? b(G(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
177
  var T = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
179
  var i = G(y), I = S(i, h.children, s);
180
- return qe(i) && I.length === 0 ? i : I;
180
+ return Ye(i) && I.length === 0 ? i : I;
181
181
  }
182
182
  function A(y, h, s, i, I) {
183
183
  y.dummy && (y.children = h), s.push(w(y, p(p({}, y.props), {}, {
@@ -191,13 +191,13 @@ function Ge(e, t, a, o, c, r) {
191
191
  if (n.type === "tag") {
192
192
  var N = i[parseInt(n.name, 10)];
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
- var m = Object.keys(n.attrs).length !== 0 ? Ye({
194
+ var m = Object.keys(n.attrs).length !== 0 ? qe({
195
195
  props: n.attrs
196
- }, N) : N, x = B(m), V = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, x = B(m), V = x && q(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
197
  if (typeof m == "string") {
198
- var q = a.services.interpolator.interpolate(m, O, a.language);
199
- l.push(q);
200
- } else if (Y(m) || V) {
198
+ var Y = a.services.interpolator.interpolate(m, O, a.language);
199
+ l.push(Y);
200
+ } else if (q(m) || V) {
201
201
  var ne = F(m, n, s);
202
202
  A(m, ne, l, E);
203
203
  } else if (P) {
@@ -211,12 +211,12 @@ function Ge(e, t, a, o, c, r) {
211
211
  A(m, re, l, E, n.voidElement);
212
212
  } else if (o.transSupportBasicHtmlNodes && g.indexOf(n.name) > -1)
213
213
  if (n.voidElement)
214
- l.push(R(n.name, {
214
+ l.push(H(n.name, {
215
215
  key: "".concat(n.name, "-").concat(E)
216
216
  }));
217
217
  else {
218
218
  var se = S(i, n.children, s);
219
- l.push(R(n.name, {
219
+ l.push(H(n.name, {
220
220
  key: "".concat(n.name, "-").concat(E)
221
221
  }, se));
222
222
  }
@@ -236,7 +236,7 @@ function Ge(e, t, a, o, c, r) {
236
236
  })));
237
237
  } else if (n.type === "text") {
238
238
  var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
239
- W ? l.push(R(W, {
239
+ W ? l.push(H(W, {
240
240
  key: "".concat(n.name, "-").concat(E)
241
241
  }, X)) : l.push(X);
242
242
  }
@@ -250,14 +250,14 @@ function Ge(e, t, a, o, c, r) {
250
250
  return G(D[0]);
251
251
  }
252
252
  function $e(e) {
253
- var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
253
+ var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, Ve), y = Z(Re) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
254
254
  if (!i)
255
255
  return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
256
- var I = A || i.t.bind(i) || function(q) {
257
- return q;
256
+ var I = A || i.t.bind(i) || function(Y) {
257
+ return Y;
258
258
  };
259
259
  r && (v.context = r);
260
- var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
260
+ var l = p(p({}, He()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
261
261
  n = typeof n == "string" ? [n] : n || ["translation"];
262
262
  var E = b || te(t, l) || l.transEmptyNodeValue || c, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
263
263
  interpolation: p(p({}, v.interpolation), {}, {
@@ -270,7 +270,7 @@ function $e(e) {
270
270
  defaultValue: E,
271
271
  ns: n
272
272
  }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
- return _ ? R(_, D, P) : P;
273
+ return _ ? H(_, D, P) : P;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
276
276
  function Je() {
@@ -494,15 +494,15 @@ const nt = "_suggestion_lysve_1", ot = {
494
494
  }), ht = () => {
495
495
  const e = je();
496
496
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
497
- className: j(Oe, H.label)
497
+ className: j(Oe, R.label)
498
498
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
499
- className: j(he, H.requiredMark)
499
+ className: j(he, R.requiredMark)
500
500
  })), /* @__PURE__ */ u.createElement(f.Input, {
501
501
  className: e
502
502
  }), /* @__PURE__ */ u.createElement(f.Error, {
503
- className: j(Ie, H.error)
503
+ className: j(Ie, R.error)
504
504
  }, /* @__PURE__ */ u.createElement(De, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
505
- className: j(Ne, H.description)
505
+ className: j(Ne, R.description)
506
506
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
507
507
  className: j(Ae, ot.suggestion)
508
508
  }));