@wix/form-elements 1.71.0 → 1.73.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-CrzIERuK.js → appointment-rac-Bze1s2XD.js} +5 -5
  2. package/dist/component/{bookings-address-rac-Dfkpd7m-.js → bookings-address-rac-BcrkXf63.js} +1 -1
  3. package/dist/component/{bookings-email-rac-qQ7bgngn.js → bookings-email-rac-DYq5RxOP.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-plgTTOzk.js → bookings-first-name-rac-ZJ_sQ-01.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B3LjHXJs.js → bookings-header-rac-Cv8kl01f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DwDrEmTT.js → bookings-last-name-rac-BmnulSZ6.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-EGRy_-2H.js → bookings-login-bar-rac-Bdi4xs9y.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-BgViVOU-.js → bookings-phone-rac-C8DjSzUY.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CDwCdPHa.js → bookings-rich-text-rac-DYu011oy.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-wF2nX9PW.js → checkbox-field-rac-BH3yEE5j.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-jNzvn7tN.js → checkbox-group-field-headless-D_GG5LHM.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-6PaMjzeg.js → checkbox-group-field-rac-Cj7Erubs.js} +20 -19
  13. package/dist/component/{checkbox-group-rac-BV9-hfo0.js → checkbox-group-rac-CgW0DnhX.js} +1 -1
  14. package/dist/component/{checkbox-rac-BbKD6UEX.js → checkbox-rac-DOAYMMsi.js} +1 -1
  15. package/dist/component/{contacts-address-rac-pDLwXVYR.js → contacts-address-rac-DXJa4J_k.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BJx3BjlB.js → contacts-birthdate-rac-CVsuRq3B.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DyKNlrhE.js → contacts-company-rac-b2bwHSNC.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DmYj37_A.js → contacts-email-rac-DMPcpQ1c.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DeyEyMG0.js → contacts-first-name-rac-CL2BsHuJ.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-SwBI_L_7.js → contacts-last-name-rac-hdBsWaqb.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BRDIz_ya.js → contacts-phone-rac-DQF6aV9B.js} +1 -1
  22. package/dist/component/{contacts-position-rac-DDfta8r4.js → contacts-position-rac-CVX-WCfx.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-Bx6b16b3.js → contacts-subscribe-rac-Dl1ot9qw.js} +2 -2
  24. package/dist/component/{contacts-tax-id-rac-DICtcCkJ.js → contacts-tax-id-rac-0KTXvF81.js} +1 -1
  25. package/dist/component/{date-availability-DM6KcDU2.js → date-availability-DBljhBgO.js} +1 -1
  26. package/dist/component/{date-input-field-rac-F_DfMOXT.js → date-input-field-rac-CfflD2Ar.js} +5 -5
  27. package/dist/component/{date-input-rac-Ho7shG41.js → date-input-rac-fQclCKoa.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BEXQ7hyT.js → date-picker-field-rac-BSmFOaH-.js} +6 -6
  29. package/dist/component/{date-picker-rac-C32DD1bT.js → date-picker-rac-D7I3ramu.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-BVbgkFtL.js → date-time-input-field-rac-vjZDQ_Fp.js} +5 -5
  31. package/dist/component/{date-time-input-rac-DB4xpq5h.js → date-time-input-rac-CDbS0VZR.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-C2s4IBgt.js → dext-checkbox-group-rac-BBiPt6_a.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-NyBGiLzP.js → dext-checkbox-rac-Cqp--0SO.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-JKcEE1fQ.js → dext-date-picker-rac-5Wft0w9m.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-DtamPz-x.js → dext-date-time-input-rac-Bbs7bgtn.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-194Qq0or.js → dext-dropdown-rac-CSvhtqbc.js} +1 -1
  37. package/dist/component/{dext-email-rac-Chwg6ePI.js → dext-email-rac-BoLeXqyI.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DORye-Si.js → dext-number-input-rac-DzaJYTSz.js} +1 -1
  39. package/dist/component/{dext-phone-rac-jykmsttk.js → dext-phone-rac-BagPg_CT.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-MvkExS4d.js → dext-radio-group-rac-B5HSQt7a.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DUsqZg7A.js → dext-rating-input-rac-DrtaAf-E.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DnMlv2wO.js → dext-tags-rac-Cg4jJ4jr.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-DGMWNaah.js → dext-text-area-rac-C_t-W7lk.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-Cv0NkJrp.js → dext-text-input-rac-ChvV21Jf.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DpMC8935.js → dext-url-input-rac-DclbSYTr.js} +1 -1
  46. package/dist/component/donation-rac-FYQIMm5m.js +308 -0
  47. package/dist/component/{dropdown-field-headless-C_-tm9VD.js → dropdown-field-headless-CTZ-zGqZ.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-DRKVFHE1.js → dropdown-field-rac-C1KVtxwv.js} +5 -5
  49. package/dist/component/{dropdown-rac-BLqlMGTK.js → dropdown-rac-CkkDEDje.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BdlTO9SW.js → ecom-address-rac-BOuugSxX.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-CcF5V54K.js → ecom-subscription-checkbox-rac-IZeMlljb.js} +3 -3
  52. package/dist/component/{email-input-field-rac-C-lfW9Ua.js → email-input-field-rac-CNzmm1j7.js} +27 -27
  53. package/dist/component/{events-repeater-rac-sHbYZ-WY.js → events-repeater-rac-CMV0Lmwz.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-Bx_xn-K0.js → events-rsvp-rac-BmjboAco.js} +3 -3
  55. package/dist/component/{field-error-headless-DWbRjy6q.js → field-error-headless-DQZ5XAdn.js} +1 -1
  56. package/dist/component/{field-label-headless-DUWK0CI-.js → field-label-headless-DoxfHHaj.js} +1 -1
  57. package/dist/component/field-rac.module-Cac83bU5.js +21 -0
  58. package/dist/component/{file-upload-rac-D9NdbrRq.js → file-upload-rac-YEQ7uXhm.js} +47 -47
  59. package/dist/component/{fixed-payment-rac-i_hkRpLX.js → fixed-payment-rac-DDufIQBT.js} +5 -5
  60. package/dist/component/{form-Pr0rklwH.js → form-C6WwBcGP.js} +69 -69
  61. package/dist/component/{form-element-classes-BSMjWijd.js → form-element-classes-DDKCTFQj.js} +24 -22
  62. package/dist/component/form-element-keys-D0sEdpFo.js +8 -0
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-C22TlZYz.js → header-field-rac-DGfjrjQC.js} +3 -3
  66. package/dist/component/{header-rac-CRBMp0xN.js → header-rac-C_JE2cTg.js} +1 -1
  67. package/dist/component/image-choice-rac-LDLPQwrN.js +147 -0
  68. package/dist/component/{index-FZEaJpsD.js → index-C2srcuHD.js} +4 -4
  69. package/dist/component/{index-BJ-kFqI7.js → index-CIOoaQ8Z.js} +2 -2
  70. package/dist/component/{isObjectLike-DnLDLZFA.js → isObjectLike-E5QfEa1u.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-c1vN8M4W.js → multiline-address-field-rac-Biyj2tIN.js} +6 -6
  72. package/dist/component/{multiline-address-rac-BVd_JUMw.js → multiline-address-rac-BCqCvG7a.js} +1 -1
  73. package/dist/component/{number-input-field-rac-DXfWTZkC.js → number-input-field-rac-CwUoIbM8.js} +5 -5
  74. package/dist/component/{number-input-rac-uUl9e8AI.js → number-input-rac-CdYdTDem.js} +1 -1
  75. package/dist/component/{password-rac-BDJ6HPYo.js → password-rac-D62npVHY.js} +10 -10
  76. package/dist/component/{payment-input-rac-XRcefuRt.js → payment-input-rac-D4u-3vcW.js} +7 -7
  77. package/dist/component/{phone-input-field-rac-DHgA6BeE.js → phone-input-field-rac-uHxR3ozd.js} +15 -15
  78. package/dist/component/{phone-rac-CMtVXoft.js → phone-rac-Bf99_BGi.js} +1 -1
  79. package/dist/component/{product-list-rac-CBLHOwHX.js → product-list-rac-iRf6Ra7i.js} +5 -5
  80. package/dist/component/{quiz-radio-group-rac-CAmXql2m.js → quiz-radio-group-rac-CPGS0LEb.js} +2 -2
  81. package/dist/component/{radio-group-field-rac-DBjgd4cD.js → radio-group-field-rac-BWpTNAbO.js} +3 -3
  82. package/dist/component/{radio-group-field-rac.module-CqOyiO2g.js → radio-group-field-rac.module-WxU5zxvM.js} +3 -3
  83. package/dist/component/{radio-group-rac-CrEtErkv.js → radio-group-rac-dA4WZ1Vj.js} +1 -1
  84. package/dist/component/rating-input-field-rac-CJnFsBvH.js +127 -0
  85. package/dist/component/{rating-input-rac-CtidC0z2.js → rating-input-rac-DXVYozFV.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-DX2Jd5w6.js → rich-content-rac.module-DkKwzJS7.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-CusODU1H.js → rich-text-field-rac-8FWCRrpb.js} +3 -3
  88. package/dist/component/{rich-text-rac-wq_vA-qU.js → rich-text-rac-OeM_mPRy.js} +1 -1
  89. package/dist/component/{service-dropdown-rac--YcOnGmq.js → service-dropdown-rac-mvUMpcS_.js} +15 -15
  90. package/dist/component/{services-multi-choice-rac-D_kSdluR.js → services-multi-choice-rac-DrgUrn_N.js} +10 -10
  91. package/dist/component/{signature-rac-DBAg8bEo.js → signature-rac-D44U9Uyp.js} +53 -53
  92. package/dist/component/{submit-button-rac-BW3P99jM.js → submit-button-rac-BqtcgVAn.js} +2 -2
  93. package/dist/component/tags-field-rac-CemsTKWz.js +207 -0
  94. package/dist/component/{tags-rac-Bqo0dqEU.js → tags-rac-fVjCf6qo.js} +1 -1
  95. package/dist/component/{text-area-field-rac-DaWfCdVq.js → text-area-field-rac-BPciZlZb.js} +7 -7
  96. package/dist/component/{text-area-rac-BVnA5cPV.js → text-area-rac-CRTORdZM.js} +1 -1
  97. package/dist/component/{text-input-field-rac-Dm6a4jOn.js → text-input-field-rac-CvFoWlRN.js} +3 -3
  98. package/dist/component/{text-input-headless-fTooOIqx.js → text-input-headless-BQ3TWU9G.js} +3 -3
  99. package/dist/component/{text-input-rac-DA0we6AY.js → text-input-rac-DSFkEmob.js} +1 -1
  100. package/dist/component/{time-input-rac-DQ9raFL_.js → time-input-rac-CGgs7ncp.js} +9 -9
  101. package/dist/component/{url-input-field-rac-BEpbWAVe.js → url-input-field-rac-CqvgTc-F.js} +13 -13
  102. package/dist/component/{url-input-rac-Du6EqRQX.js → url-input-rac-C45KOwnr.js} +1 -1
  103. package/dist/component/{use-service-options-base-OMXZXAVb.js → use-service-options-base-D4Zl-iGW.js} +1 -1
  104. package/package.json +2 -2
  105. package/dist/component/donation-rac-DeBx8D9a.js +0 -302
  106. package/dist/component/field-rac.module-DnUIb9Oh.js +0 -21
  107. package/dist/component/image-choice-rac-cjylrvfO.js +0 -141
  108. package/dist/component/rating-input-field-rac-BWn0usVp.js +0 -130
  109. package/dist/component/tags-field-rac-DSdwley7.js +0 -201
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-BVbgkFtL.js";
2
+ import { D as t } from "./date-time-input-field-rac-vjZDQ_Fp.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextDateTimeInputRAC
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DRKVFHE1.js";
2
+ import { D as r } from "./dropdown-field-rac-C1KVtxwv.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-C-lfW9Ua.js";
2
+ import { E as e } from "./email-input-field-rac-CNzmm1j7.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-DXfWTZkC.js";
2
+ import { N as t } from "./number-input-field-rac-CwUoIbM8.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-DHgA6BeE.js";
2
+ import { P as t } from "./phone-input-field-rac-uHxR3ozd.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 { ai as e, h as t } from "./form-Pr0rklwH.js";
3
- import { R as p } from "./radio-group-field-rac-DBjgd4cD.js";
2
+ import { ai as e, h as t } from "./form-C6WwBcGP.js";
3
+ import { R as p } from "./radio-group-field-rac-BWpTNAbO.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-BWn0usVp.js";
2
+ import { R as e } from "./rating-input-field-rac-CJnFsBvH.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 { ai as e, h as o } from "./form-Pr0rklwH.js";
3
- import { T as s } from "./tags-field-rac-DSdwley7.js";
2
+ import { ai as e, h as o } from "./form-C6WwBcGP.js";
3
+ import { T as s } from "./tags-field-rac-CemsTKWz.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-DaWfCdVq.js";
2
+ import { T as t } from "./text-area-field-rac-BPciZlZb.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-Dm6a4jOn.js";
2
+ import { T as e } from "./text-input-field-rac-CvFoWlRN.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-BEpbWAVe.js";
2
+ import { U as r } from "./url-input-field-rac-CqvgTc-F.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -0,0 +1,308 @@
1
+ import t, { useMemo as B, useCallback as L, useRef as oe } from "react";
2
+ import { RicosViewer as re } from "@wix/ricos/viewer";
3
+ import y from "classnames";
4
+ import { P as G, ai as A, af as j, as as se, ab as v, ak as ae, ac as le } from "./form-C6WwBcGP.js";
5
+ import { RadioGroup as ie, RadioField as z, RadioButton as H, TextField as ce, Group as ue, Input as me } from "react-aria-components";
6
+ import { debounce as pe } from "ts-debounce";
7
+ import { f, a as N } from "./find-child-C60k4CxG.js";
8
+ import { a as K } from "./format-currency-BwShJ9vM.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-DQZ5XAdn.js";
10
+ import { L as Ie } from "./field-label-headless-DoxfHHaj.js";
11
+ import { N as Ce } from "./options-layout-constants-DEfIEJWD.js";
12
+ import { a as fe, b as Oe } from "./numeric-input-utils-CuBMi4-a.js";
13
+ import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
14
+ import { u as he } from "./use-synced-display-value-DcAxdn3M.js";
15
+ import { E as ye } from "./error-icon-hZxQ6DEy.js";
16
+ import { s as D } from "./field-rac.module-Cac83bU5.js";
17
+ import { z as Ne, R as be, k as Fe, l as De, m as ge, y as Le, q as Re, j as Se } from "./form-element-classes-DDKCTFQj.js";
18
+ import { D as Ae } from "./form-element-keys-D0sEdpFo.js";
19
+ import { o as ve } from "./options-rac.module-KM-VT_KY.js";
20
+ function Te(e, n) {
21
+ return e.reduce((o, r) => (o[r[n]] = r, o), {});
22
+ }
23
+ function Me(e) {
24
+ return Te(e, "id");
25
+ }
26
+ const Pe = 0.01;
27
+ function xe(e) {
28
+ var n;
29
+ return ((n = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : n.price) || "0";
30
+ }
31
+ function Q(e, n) {
32
+ const o = Number(n || "0");
33
+ return {
34
+ productId: e.id,
35
+ price: e.priceType === G.DYNAMIC_PRICE ? o : String(o),
36
+ quantity: 1
37
+ };
38
+ }
39
+ function Be(e) {
40
+ return e.find((n) => n.priceType === G.DYNAMIC_PRICE);
41
+ }
42
+ function je(e, n) {
43
+ return (e == null ? void 0 : e.productId) === (n == null ? void 0 : n.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
44
+ }
45
+ function qe(e, n, o) {
46
+ const r = (n == null ? void 0 : n.productId) === e ? void 0 : e, a = r ? o[r] : void 0;
47
+ return a ? [
48
+ Q(a, xe(a))
49
+ ] : [];
50
+ }
51
+ const s = ({ children: e }) => {
52
+ const { id: n, value: o, onChange: r, disabled: a, required: m, onBlur: p, onFocus: _, validation: c, addOther: u, addOtherPlaceholder: i, FieldLayout: E, hasError: O } = A(), { labelId: h } = j(), { t: I } = se(), { currency: T, regionalFormat: b } = v(), d = o == null ? void 0 : o[0], F = B(() => {
53
+ var C, x;
54
+ return ((x = (C = c == null ? void 0 : c.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : x.products) || [];
55
+ }, [
56
+ c
57
+ ]), M = B(() => Me(F), [
58
+ F
59
+ ]), l = B(() => u ? Be(F) : void 0, [
60
+ F,
61
+ u
62
+ ]), W = je(d, l), [q, P] = he({
63
+ sourceValue: W,
64
+ format: (C) => Oe(String(C ?? ""), b),
65
+ regionalFormat: b
66
+ }), k = L((C) => {
67
+ r(qe(C, d, M)), P("");
68
+ }, [
69
+ r,
70
+ M,
71
+ d,
72
+ P
73
+ ]), $ = L((C) => {
74
+ l && r(typeof C == "number" ? [
75
+ Q(l, String(C))
76
+ ] : []);
77
+ }, [
78
+ r,
79
+ l
80
+ ]), V = B(() => pe($, 500), [
81
+ $
82
+ ]), J = L((C) => {
83
+ (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
84
+ const { validInput: x, validNumber: te } = fe(C.target.value, Pe, q, b);
85
+ P(x), V(te);
86
+ }, [
87
+ b,
88
+ r,
89
+ d,
90
+ l,
91
+ q,
92
+ V,
93
+ P
94
+ ]), w = (d == null ? void 0 : d.productId) || null, X = L(() => {
95
+ l != null && l.id && w !== l.id && k(l.id);
96
+ }, [
97
+ l == null ? void 0 : l.id,
98
+ w,
99
+ k
100
+ ]), Z = f(e, s.Label), Y = f(e, s.Control), ee = f(e, s.Description), ne = f(e, s.Error);
101
+ return /* @__PURE__ */ t.createElement(E, {
102
+ fieldId: n,
103
+ renderLabel: () => Z,
104
+ renderInput: () => /* @__PURE__ */ t.createElement(ie, {
105
+ "aria-labelledby": h,
106
+ value: w,
107
+ onChange: k,
108
+ isDisabled: a,
109
+ isInvalid: O,
110
+ isRequired: m,
111
+ onBlur: p,
112
+ onFocus: _
113
+ }, Y ? N(Y, {
114
+ productsById: M,
115
+ addOther: u,
116
+ customAmount: q,
117
+ onCustomAmountInputChange: J,
118
+ currency: T,
119
+ t: I,
120
+ placeholder: i === void 0 ? I("donation.other-option.placeholder") : i,
121
+ customAmountProductId: l == null ? void 0 : l.id,
122
+ onFocusCustomInput: X
123
+ }) : null),
124
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, ne, ee)
125
+ });
126
+ }, ke = ({ children: e, className: n, ...o }) => {
127
+ const { productsById: r, addOther: a, customAmount: m, onCustomAmountInputChange: p, currency: _, t: c, placeholder: u, customAmountProductId: i, onFocusCustomInput: E } = o, { hasError: O } = A(), h = f(e, s.Options), I = f(e, s.OtherInput);
128
+ return /* @__PURE__ */ t.createElement("div", {
129
+ className: n,
130
+ "data-invalid": O
131
+ }, h ? N(h, {
132
+ productsById: r
133
+ }) : null, a && i && /* @__PURE__ */ t.createElement(z, {
134
+ value: i,
135
+ style: {
136
+ position: "absolute",
137
+ width: "1px",
138
+ height: "1px",
139
+ padding: "0",
140
+ margin: "-1px",
141
+ overflow: "hidden",
142
+ clip: "rect(0, 0, 0, 0)",
143
+ whiteSpace: "nowrap",
144
+ border: "0"
145
+ }
146
+ }, /* @__PURE__ */ t.createElement(H, {
147
+ "aria-label": c("donation.other-option.label", "Custom amount")
148
+ }, c("donation.other-option.label", "Custom amount"))), I && a ? N(I, {
149
+ customAmount: m,
150
+ onCustomAmountInputChange: p,
151
+ currency: _,
152
+ t: c,
153
+ placeholder: u,
154
+ customAmountProductId: i,
155
+ onFocusCustomInput: E
156
+ }) : null);
157
+ }, U = ({ children: e, className: n, ...o }) => {
158
+ const { productsById: r } = o, { options: a, numberOfColumns: m } = A(), { isMobile: p } = v(), _ = f(e, U.Option), c = p ? Ce.ONE : m;
159
+ return /* @__PURE__ */ t.createElement("div", {
160
+ className: n,
161
+ "data-columns": c
162
+ }, a.map((u) => {
163
+ var O;
164
+ const i = r[u.value], E = (O = i == null ? void 0 : i.fixedPriceOptions) == null ? void 0 : O.price;
165
+ return N(_, {
166
+ key: u.value,
167
+ value: u.value,
168
+ price: E || "0"
169
+ });
170
+ }));
171
+ }, R = ({ children: e, className: n, ...o }) => {
172
+ const { value: r, price: a } = o, { id: m } = A(), { currency: p, regionalFormat: _ } = v(), c = f(e, R.Value), u = f(e, R.Currency), { isCurrencyPrefixed: i } = K({
173
+ amount: a,
174
+ currency: p == null ? void 0 : p.code,
175
+ locale: _
176
+ }), E = oe(null);
177
+ ae(() => {
178
+ var h, I;
179
+ (I = (h = E.current) == null ? void 0 : h.querySelector("input")) == null || I.focus();
180
+ }, m);
181
+ const O = c ? N(c, {
182
+ price: a
183
+ }) : null;
184
+ return /* @__PURE__ */ t.createElement(z, {
185
+ value: r
186
+ }, /* @__PURE__ */ t.createElement(H, {
187
+ className: n,
188
+ ref: E
189
+ }, /* @__PURE__ */ t.createElement(t.Fragment, null, i && u, O, !i && u)));
190
+ }, we = ({ className: e, ...n }) => {
191
+ const { price: o } = n, { currency: r, regionalFormat: a } = v(), { value: m } = K({
192
+ amount: o,
193
+ currency: r == null ? void 0 : r.code,
194
+ locale: a
195
+ });
196
+ return /* @__PURE__ */ t.createElement("span", {
197
+ className: e
198
+ }, m);
199
+ }, Ue = ({ className: e }) => {
200
+ const { currency: n } = v();
201
+ return /* @__PURE__ */ t.createElement("span", {
202
+ className: e
203
+ }, (n == null ? void 0 : n.sign) || (n == null ? void 0 : n.code) || "");
204
+ };
205
+ R.Value = we;
206
+ R.Currency = Ue;
207
+ const S = ({ children: e, className: n, ...o }) => {
208
+ const { customAmount: r, onCustomAmountInputChange: a, currency: m, t: p, placeholder: _, customAmountProductId: c, onFocusCustomInput: u } = o, { disabled: i, hasError: E } = A(), { labelId: O, prefixId: h } = j(), I = f(e, S.Currency), T = f(e, S.Value), b = L((F) => {
209
+ a({
210
+ target: {
211
+ value: F
212
+ }
213
+ });
214
+ }, [
215
+ a
216
+ ]), d = L(() => {
217
+ u();
218
+ }, [
219
+ u
220
+ ]);
221
+ return /* @__PURE__ */ t.createElement(ce, {
222
+ "aria-labelledby": `${O} ${h}`,
223
+ value: r,
224
+ onChange: b,
225
+ onFocus: d,
226
+ isDisabled: i,
227
+ isInvalid: E
228
+ }, /* @__PURE__ */ t.createElement(ue, {
229
+ className: n,
230
+ isDisabled: i,
231
+ isInvalid: E
232
+ }, r && m && I ? N(I, {
233
+ currency: m,
234
+ t: p
235
+ }) : null, T ? N(T, {
236
+ placeholder: _,
237
+ customAmountProductId: c
238
+ }) : null));
239
+ }, $e = ({ className: e, ...n }) => {
240
+ const { currency: o, t: r } = n, { prefixId: a } = j();
241
+ return /* @__PURE__ */ t.createElement("span", {
242
+ id: a,
243
+ "aria-hidden": !1,
244
+ "aria-label": _e(r, o),
245
+ className: e
246
+ }, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
247
+ }, Ve = ({ className: e, ...n }) => {
248
+ const { placeholder: o, customAmountProductId: r } = n, { ariaDescribedBy: a, labelId: m, prefixId: p } = j();
249
+ return /* @__PURE__ */ t.createElement(me, {
250
+ id: r,
251
+ "aria-labelledby": `${m} ${p}`,
252
+ "aria-describedby": a,
253
+ placeholder: o,
254
+ inputMode: "decimal",
255
+ autoComplete: "off",
256
+ className: e
257
+ });
258
+ };
259
+ S.Currency = $e;
260
+ S.Value = Ve;
261
+ U.Option = R;
262
+ s.Label = Ie;
263
+ s.Control = ke;
264
+ s.Options = U;
265
+ s.OtherInput = S;
266
+ s.Description = de;
267
+ s.Error = Ee;
268
+ const Ye = "_control_141js_1", Ge = "_options_141js_7", ze = "_option_141js_7", He = "_optionCurrency_141js_89", Ke = "_otherInput_141js_93", Qe = "_otherInputCurrency_141js_112", g = {
269
+ control: Ye,
270
+ options: Ge,
271
+ option: ze,
272
+ optionCurrency: He,
273
+ otherInput: Ke,
274
+ otherInputCurrency: Qe
275
+ }, We = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(re, {
276
+ content: e,
277
+ locale: n
278
+ }), Je = () => {
279
+ const e = le(Ae);
280
+ return /* @__PURE__ */ t.createElement(s, null, /* @__PURE__ */ t.createElement(s.Label, {
281
+ className: y(Ne, D.label)
282
+ }, /* @__PURE__ */ t.createElement(s.Label.Required, {
283
+ className: y(be, D.requiredMark)
284
+ })), /* @__PURE__ */ t.createElement(s.Control, {
285
+ className: g.control
286
+ }, /* @__PURE__ */ t.createElement(s.Options, {
287
+ className: y(Fe, ve.options, g.options)
288
+ }, /* @__PURE__ */ t.createElement(s.Options.Option, {
289
+ className: ({ isSelected: n }) => y(De, g.option, e, {
290
+ [ge]: n
291
+ })
292
+ }, /* @__PURE__ */ t.createElement(s.Options.Option.Value, null), /* @__PURE__ */ t.createElement(s.Options.Option.Currency, {
293
+ className: g.optionCurrency
294
+ }))), /* @__PURE__ */ t.createElement(s.OtherInput, {
295
+ className: y(Le, D.input, g.otherInput)
296
+ }, /* @__PURE__ */ t.createElement(s.OtherInput.Currency, {
297
+ className: g.otherInputCurrency
298
+ }), /* @__PURE__ */ t.createElement(s.OtherInput.Value, {
299
+ className: D.innerInput
300
+ }))), /* @__PURE__ */ t.createElement(s.Error, {
301
+ className: y(Re, D.error)
302
+ }, /* @__PURE__ */ t.createElement(ye, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
303
+ className: y(Se, D.description)
304
+ }, We));
305
+ }, On = () => /* @__PURE__ */ t.createElement(Je, null);
306
+ export {
307
+ On as DonationRAC
308
+ };
@@ -1,10 +1,10 @@
1
1
  import e, { useState as E, useCallback as g, useRef as q } from "react";
2
2
  import { UNSAFE_PortalProvider as A } from "react-aria";
3
3
  import { Select as w, SelectValue as M, ListBox as U, ListBoxItem as _ } from "react-aria-components";
4
- import { ai as p, af as b, ak as j } from "./form-Pr0rklwH.js";
4
+ import { ai as p, af as b, ak as j } from "./form-C6WwBcGP.js";
5
5
  import { f as d, a as z } from "./find-child-C60k4CxG.js";
6
- import { D as G, E as H } from "./field-error-headless-DWbRjy6q.js";
7
- import { L as J } from "./field-label-headless-DUWK0CI-.js";
6
+ import { D as G, E as H } from "./field-error-headless-DQZ5XAdn.js";
7
+ import { L as J } from "./field-label-headless-DoxfHHaj.js";
8
8
  import { S as K, N as Q } from "./non-modal-popover-DtIMXHbe.js";
9
9
  const n = ({ children: t }) => {
10
10
  const { id: o, value: r, defaultValue: l, options: a = [], readOnly: s, onChange: u, placeholder: m, disabled: i, required: v, onBlur: O, onFocus: y, FieldLayout: F, hasError: C } = p(), [D, L] = E(!1), [h, I] = E(null), B = r && a.some((c) => (c.value ?? c.label) === r) ? r : l || null, { labelId: N } = b(), P = g((c) => {
@@ -1,12 +1,12 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { D as o } from "./dropdown-field-headless-C_-tm9VD.js";
4
+ import { D as o } from "./dropdown-field-headless-CTZ-zGqZ.js";
5
5
  import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as l } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as c } from "./custom-focus-class-_483Pkwp.js";
8
- import { s as r } from "./field-rac.module-DnUIb9Oh.js";
9
- import { z as E, P as i, y as p, C as _, q as S, j as R } from "./form-element-classes-BSMjWijd.js";
8
+ import { s as r } from "./field-rac.module-Cac83bU5.js";
9
+ import { z as E, R as i, y as p, C as _, q as R, j as S } from "./form-element-classes-DDKCTFQj.js";
10
10
  const D = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
11
11
  content: a,
12
12
  locale: s
@@ -23,9 +23,9 @@ const D = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
23
23
  }, /* @__PURE__ */ e.createElement(o.Options.Option, {
24
24
  className: t(r.selectOption, c)
25
25
  })), /* @__PURE__ */ e.createElement(o.Error, {
26
- className: t(S, r.error)
26
+ className: t(R, r.error)
27
27
  }, /* @__PURE__ */ e.createElement(l, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
28
- className: t(R, r.description)
28
+ className: t(S, r.description)
29
29
  }, D));
30
30
  export {
31
31
  u as D
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DRKVFHE1.js";
2
+ import { D as r } from "./dropdown-field-rac-C1KVtxwv.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-c1vN8M4W.js";
2
+ import { M as r } from "./multiline-address-field-rac-Biyj2tIN.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,7 +1,7 @@
1
1
  import o, { useMemo as a } from "react";
2
- import { ai as n, as as c, h as i } from "./form-Pr0rklwH.js";
3
- import { C } from "./checkbox-field-rac-wF2nX9PW.js";
4
- import { o as l, p, n as m } from "./form-element-classes-BSMjWijd.js";
2
+ import { ai as n, as as c, h as i } from "./form-C6WwBcGP.js";
3
+ import { C } from "./checkbox-field-rac-BH3yEE5j.js";
4
+ import { o as l, p, n as m } from "./form-element-classes-DDKCTFQj.js";
5
5
  const _ = (e) => ({
6
6
  nodes: [
7
7
  {
@@ -2,18 +2,18 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
3
  import u, { createContext as Q, useContext as Z, createElement as H, isValidElement as U, cloneElement as R, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { af as fe, as as ge, ad as ve, c as ye, ai as Ee, am as de, ag as be, f as Se } from "./form-Pr0rklwH.js";
5
+ import { af as fe, as as ge, ad as ve, c as ye, ai as Ee, am as de, ag as be, f as Se } from "./form-C6WwBcGP.js";
6
6
  import { f as L } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
- import P from "@babel/runtime/helpers/typeof";
8
+ import M from "@babel/runtime/helpers/typeof";
9
9
  import Oe from "@babel/runtime/helpers/defineProperty";
10
10
  import he from "html-parse-stringify";
11
11
  import Ie from "@babel/runtime/helpers/classCallCheck";
12
12
  import Ne from "@babel/runtime/helpers/createClass";
13
- import { T as B } from "./text-input-headless-fTooOIqx.js";
13
+ import { T as B } from "./text-input-headless-BQ3TWU9G.js";
14
14
  import { E as Ae } from "./error-icon-hZxQ6DEy.js";
15
- import { s as C } from "./field-rac.module-DnUIb9Oh.js";
16
- import { z as Fe, P as ke, y as Te, q as De, j as je, Z as xe } from "./form-element-classes-BSMjWijd.js";
15
+ import { s as C } from "./field-rac.module-Cac83bU5.js";
16
+ import { z as Fe, R as ke, y as Te, q as De, j as je, $ as xe } from "./form-element-classes-DDKCTFQj.js";
17
17
  var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ce = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -35,10 +35,10 @@ var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
35
35
  "…": "…",
36
36
  "/": "/",
37
37
  "/": "/"
38
- }, Pe = function(t) {
39
- return Ce[t];
40
38
  }, Me = function(t) {
41
- return t.replace(Le, Pe);
39
+ return Ce[t];
40
+ }, Pe = function(t) {
41
+ return t.replace(Le, Me);
42
42
  }, _e = {
43
43
  bindI18n: "languageChanged",
44
44
  bindI18nStore: "",
@@ -47,7 +47,7 @@ var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
47
47
  transWrapTextNodes: "",
48
48
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
49
49
  useSuspense: !0,
50
- unescape: Me
50
+ unescape: Pe
51
51
  }, we, Re = Q();
52
52
  function He() {
53
53
  return _e;
@@ -114,7 +114,7 @@ function Y(e, t) {
114
114
  var a = e.props ? e.props.children : e.children;
115
115
  return t ? a.length > 0 : !!a;
116
116
  }
117
- function G(e) {
117
+ function $(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
120
  function Ve(e) {
@@ -122,7 +122,7 @@ function Ve(e) {
122
122
  return U(t);
123
123
  });
124
124
  }
125
- function M(e) {
125
+ function P(e) {
126
126
  return Array.isArray(e) ? e : [e];
127
127
  }
128
128
  function Ye(e, t) {
@@ -131,7 +131,7 @@ function Ye(e, t) {
131
131
  }
132
132
  function te(e, t) {
133
133
  if (!e) return "";
134
- var a = "", o = M(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
134
+ var a = "", o = P(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
135
135
  return o.forEach(function(r, g) {
136
136
  if (typeof r == "string")
137
137
  a += "".concat(r);
@@ -151,7 +151,7 @@ function te(e, t) {
151
151
  }
152
152
  } else if (r === null)
153
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
154
- else if (P(r) === "object") {
154
+ else if (M(r) === "object") {
155
155
  var O = r.format, F = ee(r, Be), A = Object.keys(F);
156
156
  if (A.length === 1) {
157
157
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
@@ -162,21 +162,21 @@ function te(e, t) {
162
162
  K("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", r);
163
163
  }), a;
164
164
  }
165
- function Ge(e, t, a, o, c, r) {
165
+ function $e(e, t, a, o, c, r) {
166
166
  if (t === "") return [];
167
167
  var g = o.transKeepBasicHtmlNodesFor || [], v = t && new RegExp(g.join("|")).test(t);
168
168
  if (!e && !v) return [t];
169
169
  var d = {};
170
170
  function b(y) {
171
- var h = M(y);
171
+ var h = P(y);
172
172
  h.forEach(function(s) {
173
- typeof s != "string" && (Y(s) ? b(G(s)) : P(s) === "object" && !U(s) && Object.assign(d, s));
173
+ typeof s != "string" && (Y(s) ? b($(s)) : M(s) === "object" && !U(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
177
  var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
- var i = G(y), I = S(i, h.children, s);
179
+ var i = $(y), I = S(i, h.children, s);
180
180
  return Ve(i) && I.length === 0 ? i : I;
181
181
  }
182
182
  function A(y, h, s, i, I) {
@@ -185,7 +185,7 @@ function Ge(e, t, a, o, c, r) {
185
185
  }), I ? void 0 : h));
186
186
  }
187
187
  function S(y, h, s) {
188
- var i = M(y), I = M(h);
188
+ var i = P(y), I = P(h);
189
189
  return I.reduce(function(l, n, E) {
190
190
  var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
191
191
  if (n.type === "tag") {
@@ -193,7 +193,7 @@ function Ge(e, t, a, o, c, r) {
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
194
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
195
195
  props: n.attrs
196
- }, N) : N, D = U(m), q = D && Y(n, !0) && !n.voidElement, _ = v && P(m) === "object" && m.dummy && !D, w = P(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, D = U(m), q = D && Y(n, !0) && !n.voidElement, _ = v && M(m) === "object" && m.dummy && !D, w = M(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
197
  if (typeof m == "string") {
198
198
  var V = a.services.interpolator.interpolate(m, O, a.language);
199
199
  l.push(V);
@@ -226,9 +226,9 @@ function Ge(e, t, a, o, c, r) {
226
226
  var ce = S(i, n.children, s);
227
227
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
228
228
  }
229
- else if (P(m) === "object" && !D) {
230
- var $ = n.children[0] ? k : null;
231
- $ && l.push($);
229
+ else if (M(m) === "object" && !D) {
230
+ var G = n.children[0] ? k : null;
231
+ G && l.push(G);
232
232
  } else n.children.length === 1 && k ? l.push(R(m, p(p({}, m.props), {}, {
233
233
  key: E
234
234
  }), k)) : l.push(R(m, p(p({}, m.props), {}, {
@@ -246,10 +246,10 @@ function Ge(e, t, a, o, c, r) {
246
246
  var x = S([{
247
247
  dummy: !0,
248
248
  children: e || []
249
- }], T, M(e || []));
250
- return G(x[0]);
249
+ }], T, P(e || []));
250
+ return $(x[0]);
251
251
  }
252
- function $e(e) {
252
+ function Ge(e) {
253
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, x = ee(e, qe), y = Z(Re) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
254
254
  if (!i)
255
255
  return Ue("You will need to pass in an i18next instance by using i18nextReactModule"), t;
@@ -269,7 +269,7 @@ function $e(e) {
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), q = N ? I(N, D) : E, _ = Ge(T || t, q, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
272
+ }), q = N ? I(N, D) : E, _ = $e(T || t, q, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
273
273
  return w ? H(w, x, _) : _;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Q(void 0);
@@ -291,7 +291,7 @@ const Je = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
291
291
  "data-hook": We,
292
292
  "aria-live": "polite",
293
293
  className: e
294
- }, a ? /* @__PURE__ */ u.createElement($e, {
294
+ }, a ? /* @__PURE__ */ u.createElement(Ge, {
295
295
  i18n: r,
296
296
  t: c,
297
297
  i18nKey: "input.email.mistype-check.suggestion",
@@ -1,13 +1,13 @@
1
1
  import t, { useState as z, useMemo as B, useCallback as V, useRef as M } from "react";
2
2
  import v from "classnames";
3
3
  import { NumberField as q, Input as J, CheckboxField as Q, CheckboxButton as W, Button as w } from "react-aria-components";
4
- import { ao as P, ap as U, ae as j, aj as H, u as Y, ai as D, af as K, ak as X, j as Z } from "./form-Pr0rklwH.js";
4
+ import { ao as P, ap as U, ae as j, aj as H, u as Y, ai as D, af as K, ak as X, j as Z } from "./form-C6WwBcGP.js";
5
5
  import { f as F, a as R } from "./find-child-C60k4CxG.js";
6
- import { L as ee } from "./field-label-headless-DUWK0CI-.js";
6
+ import { L as ee } from "./field-label-headless-DoxfHHaj.js";
7
7
  import { u as te } from "./use-invoke-callback-UH73A_J3.js";
8
8
  import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
9
- import { s as L } from "./field-rac.module-DnUIb9Oh.js";
10
- import { z as se, y as ne, r as oe, s as re, t as ae } from "./form-element-classes-BSMjWijd.js";
9
+ import { s as L } from "./field-rac.module-Cac83bU5.js";
10
+ import { z as se, y as ne, r as oe, s as re, t as ae } from "./form-element-classes-DDKCTFQj.js";
11
11
  const le = [], ce = ({ id: e, fields: n, layout: l, value: r, onChange: s, errors: m = le, validation: c }) => {
12
12
  const [i, E] = z((r == null ? void 0 : r.length) || 0), a = B(() => r ?? [], [
13
13
  r