@wix/form-elements 1.74.0 → 1.76.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 (116) hide show
  1. package/dist/component/appointment-rac-BQsFMmBg.js +1016 -0
  2. package/dist/component/{bookings-address-rac-BcrkXf63.js → bookings-address-rac-AJNyTdok.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DYq5RxOP.js → bookings-email-rac-BHZ0MFgI.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ZJ_sQ-01.js → bookings-first-name-rac-Bw5FuWNX.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Cv8kl01f.js → bookings-header-rac-C1M2Pg1f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BmnulSZ6.js → bookings-last-name-rac-DKkPY0CO.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bdi4xs9y.js → bookings-login-bar-rac-P6pziSl1.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-C8DjSzUY.js → bookings-phone-rac-CiOZWKHz.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DYu011oy.js → bookings-rich-text-rac-D9ZComtY.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BH3yEE5j.js → checkbox-field-rac-4zG3Sf1c.js} +328 -320
  11. package/dist/component/checkbox-group-field-headless-DN2aNw9g.js +205 -0
  12. package/dist/component/checkbox-group-field-rac-B1qhet83.js +41 -0
  13. package/dist/component/{checkbox-group-rac-CgW0DnhX.js → checkbox-group-rac-DGsE7xGu.js} +1 -1
  14. package/dist/component/checkbox-indicator-module-classes-BcScu147.js +17 -0
  15. package/dist/component/{checkbox-rac-DOAYMMsi.js → checkbox-rac-CFWQW9_K.js} +1 -1
  16. package/dist/component/{contacts-address-rac-DXJa4J_k.js → contacts-address-rac-G5ZH3Odo.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-CVsuRq3B.js → contacts-birthdate-rac-C7TDUfT0.js} +1 -1
  18. package/dist/component/{contacts-company-rac-b2bwHSNC.js → contacts-company-rac-8queUhWT.js} +1 -1
  19. package/dist/component/{contacts-email-rac-DMPcpQ1c.js → contacts-email-rac-CYOs5N_I.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-CL2BsHuJ.js → contacts-first-name-rac-D8Goc_Ym.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-hdBsWaqb.js → contacts-last-name-rac-lBmtuEnr.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DQF6aV9B.js → contacts-phone-rac-DSUWUNBX.js} +1 -1
  23. package/dist/component/{contacts-position-rac-CVX-WCfx.js → contacts-position-rac-wA-aw5Id.js} +1 -1
  24. package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +13 -0
  25. package/dist/component/{contacts-tax-id-rac-0KTXvF81.js → contacts-tax-id-rac-BpjVM1Ye.js} +1 -1
  26. package/dist/component/{date-availability-DBljhBgO.js → date-availability-CeiMjrtD.js} +1 -1
  27. package/dist/component/{date-input-field-rac-CfflD2Ar.js → date-input-field-rac-CVaajAFM.js} +30 -30
  28. package/dist/component/{date-input-rac-fQclCKoa.js → date-input-rac-DhEzawuM.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BSmFOaH-.js → date-picker-field-rac-1Q6yyNmK.js} +35 -35
  30. package/dist/component/{date-picker-rac-D7I3ramu.js → date-picker-rac-BCGtmXMJ.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-vjZDQ_Fp.js → date-time-input-field-rac-Dd-HNgKP.js} +35 -35
  32. package/dist/component/{date-time-input-rac-CDbS0VZR.js → date-time-input-rac-CsCWEsH5.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-BBiPt6_a.js → dext-checkbox-group-rac-CauN5uuV.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-Cqp--0SO.js → dext-checkbox-rac-q-g9gDnw.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-5Wft0w9m.js → dext-date-picker-rac-CZT3dTLv.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-Bbs7bgtn.js → dext-date-time-input-rac-DVUoZZbX.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-CSvhtqbc.js → dext-dropdown-rac-GRltutt5.js} +1 -1
  38. package/dist/component/{dext-email-rac-BoLeXqyI.js → dext-email-rac-74Y8S9GA.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-DzaJYTSz.js → dext-number-input-rac-CF9d_GTl.js} +1 -1
  40. package/dist/component/{dext-phone-rac-BagPg_CT.js → dext-phone-rac-DObx_gOd.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-B5HSQt7a.js → dext-radio-group-rac-CzU9KX5_.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-DrtaAf-E.js → dext-rating-input-rac-BjRwwgXr.js} +1 -1
  43. package/dist/component/{dext-tags-rac-Cg4jJ4jr.js → dext-tags-rac-Vif4x1yF.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-C_t-W7lk.js → dext-text-area-rac-DmZwl_ax.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-ChvV21Jf.js → dext-text-input-rac-B6FVbjUM.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-DclbSYTr.js → dext-url-input-rac-17Dj3ICM.js} +1 -1
  47. package/dist/component/donation-rac-bgHep0Xi.js +307 -0
  48. package/dist/component/{dropdown-field-headless-CTZ-zGqZ.js → dropdown-field-headless-BGfJ1FyZ.js} +3 -3
  49. package/dist/component/{dropdown-field-rac-C1KVtxwv.js → dropdown-field-rac-DGiysJQY.js} +7 -7
  50. package/dist/component/{dropdown-rac-CkkDEDje.js → dropdown-rac-FHjz8fKp.js} +1 -1
  51. package/dist/component/{ecom-address-rac-BOuugSxX.js → ecom-address-rac-DSbpf4z8.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-IZeMlljb.js → ecom-subscription-checkbox-rac-DiZWNwnt.js} +6 -6
  53. package/dist/component/{email-input-field-rac-CNzmm1j7.js → email-input-field-rac-BQKK2O7L.js} +44 -44
  54. package/dist/component/events-repeater-rac-Dudnyhal.js +255 -0
  55. package/dist/component/{events-rsvp-rac-BmjboAco.js → events-rsvp-rac-008H5Ska.js} +3 -3
  56. package/dist/component/{field-error-headless-DQZ5XAdn.js → field-error-headless-C5ZsFUKv.js} +1 -1
  57. package/dist/component/{field-label-headless-DoxfHHaj.js → field-label-headless-CS5OYsiI.js} +1 -1
  58. package/dist/component/field-rac.module-DjmaTYkc.js +23 -0
  59. package/dist/component/{file-upload-rac-YEQ7uXhm.js → file-upload-rac-bQ2QOO8Q.js} +48 -48
  60. package/dist/component/{fixed-payment-rac-DDufIQBT.js → fixed-payment-rac-B6FvXoCU.js} +17 -17
  61. package/dist/component/{form-C6WwBcGP.js → form-BpHElSwH.js} +69 -69
  62. package/dist/component/form-element-classes-BXNs5k3q.js +119 -0
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-DGfjrjQC.js → header-field-rac-D4UYcmok.js} +3 -3
  66. package/dist/component/{header-rac-C_JE2cTg.js → header-rac-KavPiBdn.js} +1 -1
  67. package/dist/component/{image-choice-rac-LDLPQwrN.js → image-choice-rac-BJQqBhBD.js} +35 -36
  68. package/dist/component/{index-CIOoaQ8Z.js → index-RSEYrQef.js} +2 -2
  69. package/dist/component/{index-C2srcuHD.js → index-Y8iTxLat.js} +4 -4
  70. package/dist/component/{isObjectLike-E5QfEa1u.js → isObjectLike-jwHec4Ap.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-Biyj2tIN.js → multiline-address-field-rac-D4Ibno80.js} +110 -110
  72. package/dist/component/{multiline-address-rac-BCqCvG7a.js → multiline-address-rac-CrTSjzBN.js} +1 -1
  73. package/dist/component/{number-input-field-rac-CwUoIbM8.js → number-input-field-rac-DW1SjB-Z.js} +16 -16
  74. package/dist/component/{number-input-rac-CdYdTDem.js → number-input-rac-CdE_hRbA.js} +1 -1
  75. package/dist/component/{password-rac-D62npVHY.js → password-rac-BCxl5mMQ.js} +20 -20
  76. package/dist/component/{payment-input-rac-D4u-3vcW.js → payment-input-rac-DmO4s4ue.js} +9 -9
  77. package/dist/component/{phone-input-field-rac-uHxR3ozd.js → phone-input-field-rac-BYAnwk5h.js} +25 -25
  78. package/dist/component/{phone-rac-Bf99_BGi.js → phone-rac-gS4k9Yn8.js} +1 -1
  79. package/dist/component/product-list-rac-CO0o3yOg.js +271 -0
  80. package/dist/component/{quiz-radio-group-rac-CPGS0LEb.js → quiz-radio-group-rac-Dhk7nkzb.js} +2 -2
  81. package/dist/component/{radio-group-field-rac-BWpTNAbO.js → radio-group-field-rac-DdlyQ3m6.js} +3 -3
  82. package/dist/component/{radio-group-field-rac.module-WxU5zxvM.js → radio-group-field-rac.module-emin6sSc.js} +3 -3
  83. package/dist/component/{radio-group-rac-dA4WZ1Vj.js → radio-group-rac-B-9q91fJ.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-CJnFsBvH.js → rating-input-field-rac-VDaJKq-n.js} +27 -28
  85. package/dist/component/{rating-input-rac-DXVYozFV.js → rating-input-rac-BVO62LmE.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-DkKwzJS7.js → rich-content-rac.module-CdiaAjxG.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-8FWCRrpb.js → rich-text-field-rac-C4RrbyEX.js} +3 -3
  88. package/dist/component/{rich-text-rac-OeM_mPRy.js → rich-text-rac-BG376ww9.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-mvUMpcS_.js → service-dropdown-rac-Dy6-OpVR.js} +18 -18
  90. package/dist/component/services-multi-choice-rac-BKW9MP_b.js +84 -0
  91. package/dist/component/{signature-rac-D44U9Uyp.js → signature-rac-Cxgixp4o.js} +56 -56
  92. package/dist/component/{submit-button-rac-BqtcgVAn.js → submit-button-rac-BqPJ7WPI.js} +2 -2
  93. package/dist/component/{tags-field-rac-CemsTKWz.js → tags-field-rac-wwqpztG7.js} +36 -37
  94. package/dist/component/{tags-rac-fVjCf6qo.js → tags-rac-DUxITYxU.js} +1 -1
  95. package/dist/component/{text-area-field-rac-BPciZlZb.js → text-area-field-rac-Cen6O33S.js} +16 -16
  96. package/dist/component/{text-area-rac-CRTORdZM.js → text-area-rac-CRlO56GA.js} +1 -1
  97. package/dist/component/{text-input-field-rac-CvFoWlRN.js → text-input-field-rac-CbnKn03g.js} +6 -6
  98. package/dist/component/{text-input-headless-BQ3TWU9G.js → text-input-headless-C_NTJmLe.js} +3 -3
  99. package/dist/component/{text-input-rac-DSFkEmob.js → text-input-rac-DvwV7Igm.js} +1 -1
  100. package/dist/component/{time-input-rac-CGgs7ncp.js → time-input-rac-TSEXiODs.js} +15 -15
  101. package/dist/component/{url-input-field-rac-CqvgTc-F.js → url-input-field-rac-Cxgh9T8s.js} +20 -20
  102. package/dist/component/{url-input-rac-C45KOwnr.js → url-input-rac-DNw-Jg1U.js} +1 -1
  103. package/dist/component/use-element-state-class-name-CC65g9mT.js +15 -0
  104. package/dist/component/{use-service-options-base-D4Zl-iGW.js → use-service-options-base-EFrxTpGm.js} +1 -1
  105. package/package.json +2 -2
  106. package/dist/component/appointment-rac-Bze1s2XD.js +0 -1005
  107. package/dist/component/checkbox-group-field-headless-D_GG5LHM.js +0 -210
  108. package/dist/component/checkbox-group-field-rac-Cj7Erubs.js +0 -41
  109. package/dist/component/contacts-subscribe-rac-Dl1ot9qw.js +0 -13
  110. package/dist/component/donation-rac-FYQIMm5m.js +0 -308
  111. package/dist/component/events-repeater-rac-CMV0Lmwz.js +0 -247
  112. package/dist/component/field-rac.module-Cac83bU5.js +0 -21
  113. package/dist/component/form-element-classes-DDKCTFQj.js +0 -65
  114. package/dist/component/form-element-keys-D0sEdpFo.js +0 -8
  115. package/dist/component/product-list-rac-iRf6Ra7i.js +0 -263
  116. package/dist/component/services-multi-choice-rac-DrgUrn_N.js +0 -76
@@ -0,0 +1,307 @@
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 Q, ai as A, af as k, as as ae, ab as v, ak as se, ac as le } from "./form-BpHElSwH.js";
5
+ import { RadioGroup as ie, RadioField as j, RadioButton as z, TextField as ce, Group as ue, Input as me } from "react-aria-components";
6
+ import { debounce as pe } from "ts-debounce";
7
+ import { f as O, a as N } from "./find-child-C60k4CxG.js";
8
+ import { a as H } from "./format-currency-BwShJ9vM.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-C5ZsFUKv.js";
10
+ import { L as Ie } from "./field-label-headless-CS5OYsiI.js";
11
+ import { N as Ce } from "./options-layout-constants-DEfIEJWD.js";
12
+ import { a as Oe, b as fe } 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 g } from "./field-rac.module-DjmaTYkc.js";
17
+ import { z as Ne, Q as be, j as Fe, k as ge, l as De, y as Le, p as Re, i as Se, F as Ae } from "./form-element-classes-BXNs5k3q.js";
18
+ import { o as ve } from "./options-rac.module-KM-VT_KY.js";
19
+ function Te(e, n) {
20
+ return e.reduce((o, r) => (o[r[n]] = r, o), {});
21
+ }
22
+ function xe(e) {
23
+ return Te(e, "id");
24
+ }
25
+ const Me = 0.01;
26
+ function Pe(e) {
27
+ var n;
28
+ return ((n = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : n.price) || "0";
29
+ }
30
+ function K(e, n) {
31
+ const o = Number(n || "0");
32
+ return {
33
+ productId: e.id,
34
+ price: e.priceType === Q.DYNAMIC_PRICE ? o : String(o),
35
+ quantity: 1
36
+ };
37
+ }
38
+ function Be(e) {
39
+ return e.find((n) => n.priceType === Q.DYNAMIC_PRICE);
40
+ }
41
+ function ke(e, n) {
42
+ return (e == null ? void 0 : e.productId) === (n == null ? void 0 : n.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
43
+ }
44
+ function qe(e, n, o) {
45
+ const r = (n == null ? void 0 : n.productId) === e ? void 0 : e, s = r ? o[r] : void 0;
46
+ return s ? [
47
+ K(s, Pe(s))
48
+ ] : [];
49
+ }
50
+ const a = ({ children: e }) => {
51
+ const { id: n, value: o, onChange: r, disabled: s, required: m, onBlur: p, onFocus: _, validation: c, addOther: u, addOtherPlaceholder: i, FieldLayout: E, hasError: f } = A(), { labelId: h } = k(), { t: I } = ae(), { currency: T, regionalFormat: b } = v(), d = o == null ? void 0 : o[0], F = B(() => {
52
+ var C, P;
53
+ return ((P = (C = c == null ? void 0 : c.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : P.products) || [];
54
+ }, [
55
+ c
56
+ ]), x = B(() => xe(F), [
57
+ F
58
+ ]), l = B(() => u ? Be(F) : void 0, [
59
+ F,
60
+ u
61
+ ]), W = ke(d, l), [q, M] = he({
62
+ sourceValue: W,
63
+ format: (C) => fe(String(C ?? ""), b),
64
+ regionalFormat: b
65
+ }), w = L((C) => {
66
+ r(qe(C, d, x)), M("");
67
+ }, [
68
+ r,
69
+ x,
70
+ d,
71
+ M
72
+ ]), V = L((C) => {
73
+ l && r(typeof C == "number" ? [
74
+ K(l, String(C))
75
+ ] : []);
76
+ }, [
77
+ r,
78
+ l
79
+ ]), Y = B(() => pe(V, 500), [
80
+ V
81
+ ]), J = L((C) => {
82
+ (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
83
+ const { validInput: P, validNumber: te } = Oe(C.target.value, Me, q, b);
84
+ M(P), Y(te);
85
+ }, [
86
+ b,
87
+ r,
88
+ d,
89
+ l,
90
+ q,
91
+ Y,
92
+ M
93
+ ]), U = (d == null ? void 0 : d.productId) || null, X = L(() => {
94
+ l != null && l.id && U !== l.id && w(l.id);
95
+ }, [
96
+ l == null ? void 0 : l.id,
97
+ U,
98
+ w
99
+ ]), Z = O(e, a.Label), G = O(e, a.Control), ee = O(e, a.Description), ne = O(e, a.Error);
100
+ return /* @__PURE__ */ t.createElement(E, {
101
+ fieldId: n,
102
+ renderLabel: () => Z,
103
+ renderInput: () => /* @__PURE__ */ t.createElement(ie, {
104
+ "aria-labelledby": h,
105
+ value: U,
106
+ onChange: w,
107
+ isDisabled: s,
108
+ isInvalid: f,
109
+ isRequired: m,
110
+ onBlur: p,
111
+ onFocus: _
112
+ }, G ? N(G, {
113
+ productsById: x,
114
+ addOther: u,
115
+ customAmount: q,
116
+ onCustomAmountInputChange: J,
117
+ currency: T,
118
+ t: I,
119
+ placeholder: i === void 0 ? I("donation.other-option.placeholder") : i,
120
+ customAmountProductId: l == null ? void 0 : l.id,
121
+ onFocusCustomInput: X
122
+ }) : null),
123
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, ne, ee)
124
+ });
125
+ }, we = ({ children: e, className: n, ...o }) => {
126
+ const { productsById: r, addOther: s, customAmount: m, onCustomAmountInputChange: p, currency: _, t: c, placeholder: u, customAmountProductId: i, onFocusCustomInput: E } = o, { hasError: f } = A(), h = O(e, a.Options), I = O(e, a.OtherInput);
127
+ return /* @__PURE__ */ t.createElement("div", {
128
+ className: n,
129
+ "data-invalid": f
130
+ }, h ? N(h, {
131
+ productsById: r
132
+ }) : null, s && i && /* @__PURE__ */ t.createElement(j, {
133
+ value: i,
134
+ style: {
135
+ position: "absolute",
136
+ width: "1px",
137
+ height: "1px",
138
+ padding: "0",
139
+ margin: "-1px",
140
+ overflow: "hidden",
141
+ clip: "rect(0, 0, 0, 0)",
142
+ whiteSpace: "nowrap",
143
+ border: "0"
144
+ }
145
+ }, /* @__PURE__ */ t.createElement(z, {
146
+ "aria-label": c("donation.other-option.label", "Custom amount")
147
+ }, c("donation.other-option.label", "Custom amount"))), I && s ? N(I, {
148
+ customAmount: m,
149
+ onCustomAmountInputChange: p,
150
+ currency: _,
151
+ t: c,
152
+ placeholder: u,
153
+ customAmountProductId: i,
154
+ onFocusCustomInput: E
155
+ }) : null);
156
+ }, $ = ({ children: e, className: n, ...o }) => {
157
+ const { productsById: r } = o, { options: s, numberOfColumns: m } = A(), { isMobile: p } = v(), _ = O(e, $.Option), c = p ? Ce.ONE : m;
158
+ return /* @__PURE__ */ t.createElement("div", {
159
+ className: n,
160
+ "data-columns": c
161
+ }, s.map((u) => {
162
+ var f;
163
+ const i = r[u.value], E = (f = i == null ? void 0 : i.fixedPriceOptions) == null ? void 0 : f.price;
164
+ return N(_, {
165
+ key: u.value,
166
+ value: u.value,
167
+ price: E || "0"
168
+ });
169
+ }));
170
+ }, R = ({ children: e, className: n, ...o }) => {
171
+ const { value: r, price: s } = o, { id: m } = A(), { currency: p, regionalFormat: _ } = v(), c = O(e, R.Value), u = O(e, R.Currency), { isCurrencyPrefixed: i } = H({
172
+ amount: s,
173
+ currency: p == null ? void 0 : p.code,
174
+ locale: _
175
+ }), E = oe(null);
176
+ se(() => {
177
+ var h, I;
178
+ (I = (h = E.current) == null ? void 0 : h.querySelector("input")) == null || I.focus();
179
+ }, m);
180
+ const f = c ? N(c, {
181
+ price: s
182
+ }) : null;
183
+ return /* @__PURE__ */ t.createElement(j, {
184
+ value: r
185
+ }, /* @__PURE__ */ t.createElement(z, {
186
+ className: n,
187
+ ref: E
188
+ }, /* @__PURE__ */ t.createElement(t.Fragment, null, i && u, f, !i && u)));
189
+ }, Ue = ({ className: e, ...n }) => {
190
+ const { price: o } = n, { currency: r, regionalFormat: s } = v(), { value: m } = H({
191
+ amount: o,
192
+ currency: r == null ? void 0 : r.code,
193
+ locale: s
194
+ });
195
+ return /* @__PURE__ */ t.createElement("span", {
196
+ className: e
197
+ }, m);
198
+ }, $e = ({ className: e }) => {
199
+ const { currency: n } = v();
200
+ return /* @__PURE__ */ t.createElement("span", {
201
+ className: e
202
+ }, (n == null ? void 0 : n.sign) || (n == null ? void 0 : n.code) || "");
203
+ };
204
+ R.Value = Ue;
205
+ R.Currency = $e;
206
+ const S = ({ children: e, className: n, ...o }) => {
207
+ const { customAmount: r, onCustomAmountInputChange: s, currency: m, t: p, placeholder: _, customAmountProductId: c, onFocusCustomInput: u } = o, { disabled: i, hasError: E } = A(), { labelId: f, prefixId: h } = k(), I = O(e, S.Currency), T = O(e, S.Value), b = L((F) => {
208
+ s({
209
+ target: {
210
+ value: F
211
+ }
212
+ });
213
+ }, [
214
+ s
215
+ ]), d = L(() => {
216
+ u();
217
+ }, [
218
+ u
219
+ ]);
220
+ return /* @__PURE__ */ t.createElement(ce, {
221
+ "aria-labelledby": `${f} ${h}`,
222
+ value: r,
223
+ onChange: b,
224
+ onFocus: d,
225
+ isDisabled: i,
226
+ isInvalid: E
227
+ }, /* @__PURE__ */ t.createElement(ue, {
228
+ className: n,
229
+ isDisabled: i,
230
+ isInvalid: E
231
+ }, r && m && I ? N(I, {
232
+ currency: m,
233
+ t: p
234
+ }) : null, T ? N(T, {
235
+ placeholder: _,
236
+ customAmountProductId: c
237
+ }) : null));
238
+ }, Ve = ({ className: e, ...n }) => {
239
+ const { currency: o, t: r } = n, { prefixId: s } = k();
240
+ return /* @__PURE__ */ t.createElement("span", {
241
+ id: s,
242
+ "aria-hidden": !1,
243
+ "aria-label": _e(r, o),
244
+ className: e
245
+ }, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
246
+ }, Ye = ({ className: e, ...n }) => {
247
+ const { placeholder: o, customAmountProductId: r } = n, { ariaDescribedBy: s, labelId: m, prefixId: p } = k();
248
+ return /* @__PURE__ */ t.createElement(me, {
249
+ id: r,
250
+ "aria-labelledby": `${m} ${p}`,
251
+ "aria-describedby": s,
252
+ placeholder: o,
253
+ inputMode: "decimal",
254
+ autoComplete: "off",
255
+ className: e
256
+ });
257
+ };
258
+ S.Currency = Ve;
259
+ S.Value = Ye;
260
+ $.Option = R;
261
+ a.Label = Ie;
262
+ a.Control = we;
263
+ a.Options = $;
264
+ a.OtherInput = S;
265
+ a.Description = de;
266
+ a.Error = Ee;
267
+ const Ge = "_control_11glx_1", Qe = "_options_11glx_7", je = "_option_11glx_7", ze = "_optionCurrency_11glx_89", He = "_otherInput_11glx_93", Ke = "_otherInputCurrency_11glx_112", D = {
268
+ control: Ge,
269
+ options: Qe,
270
+ option: je,
271
+ optionCurrency: ze,
272
+ otherInput: He,
273
+ otherInputCurrency: Ke
274
+ }, We = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(re, {
275
+ content: e,
276
+ locale: n
277
+ }), Je = () => {
278
+ const e = le(Ae.DONATION_OPTION);
279
+ return /* @__PURE__ */ t.createElement(a, null, /* @__PURE__ */ t.createElement(a.Label, {
280
+ className: y(Ne, g.label)
281
+ }, /* @__PURE__ */ t.createElement(a.Label.Required, {
282
+ className: y(be, g.requiredMark)
283
+ })), /* @__PURE__ */ t.createElement(a.Control, {
284
+ className: D.control
285
+ }, /* @__PURE__ */ t.createElement(a.Options, {
286
+ className: y(Fe, ve.options, D.options)
287
+ }, /* @__PURE__ */ t.createElement(a.Options.Option, {
288
+ className: ({ isSelected: n }) => y(ge, D.option, e, {
289
+ [De]: n
290
+ })
291
+ }, /* @__PURE__ */ t.createElement(a.Options.Option.Value, null), /* @__PURE__ */ t.createElement(a.Options.Option.Currency, {
292
+ className: D.optionCurrency
293
+ }))), /* @__PURE__ */ t.createElement(a.OtherInput, {
294
+ className: y(Le, g.input, D.otherInput)
295
+ }, /* @__PURE__ */ t.createElement(a.OtherInput.Currency, {
296
+ className: D.otherInputCurrency
297
+ }), /* @__PURE__ */ t.createElement(a.OtherInput.Value, {
298
+ className: g.innerInput
299
+ }))), /* @__PURE__ */ t.createElement(a.Error, {
300
+ className: y(Re, g.error)
301
+ }, /* @__PURE__ */ t.createElement(ye, null), /* @__PURE__ */ t.createElement(a.Error.Text, null)), /* @__PURE__ */ t.createElement(a.Description, {
302
+ className: y(Se, g.description)
303
+ }, We));
304
+ }, On = () => /* @__PURE__ */ t.createElement(Je, null);
305
+ export {
306
+ On as DonationRAC
307
+ };
@@ -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-C6WwBcGP.js";
4
+ import { ai as p, af as b, ak as j } from "./form-BpHElSwH.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-DQZ5XAdn.js";
7
- import { L as J } from "./field-label-headless-DoxfHHaj.js";
6
+ import { D as G, E as H } from "./field-error-headless-C5ZsFUKv.js";
7
+ import { L as J } from "./field-label-headless-CS5OYsiI.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,19 +1,19 @@
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-CTZ-zGqZ.js";
4
+ import { D as o } from "./dropdown-field-headless-BGfJ1FyZ.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-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";
8
+ import { s as r } from "./field-rac.module-DjmaTYkc.js";
9
+ import { z as i, Q as E, y as p, B as _, p as S, i as R } from "./form-element-classes-BXNs5k3q.js";
10
10
  const D = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
11
11
  content: a,
12
12
  locale: s
13
13
  }), u = () => /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(o.Label, {
14
- className: t(E, r.label)
14
+ className: t(i, r.label)
15
15
  }, /* @__PURE__ */ e.createElement(o.Label.Required, {
16
- className: t(i, r.requiredMark)
16
+ className: t(E, r.requiredMark)
17
17
  })), /* @__PURE__ */ e.createElement(o.Trigger, {
18
18
  className: t(p, r.input, r.dropdownTrigger)
19
19
  }, /* @__PURE__ */ e.createElement(n, {
@@ -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(R, r.error)
26
+ className: t(S, r.error)
27
27
  }, /* @__PURE__ */ e.createElement(l, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
28
- className: t(S, r.description)
28
+ className: t(R, 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-C1KVtxwv.js";
2
+ import { D as r } from "./dropdown-field-rac-DGiysJQY.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-Biyj2tIN.js";
2
+ import { M as r } from "./multiline-address-field-rac-D4Ibno80.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-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";
2
+ import { ai as n, as as c, h as i } from "./form-BpHElSwH.js";
3
+ import { C } from "./checkbox-field-rac-4zG3Sf1c.js";
4
+ import { n as l, o as m, m as p } from "./form-element-classes-BXNs5k3q.js";
5
5
  const _ = (e) => ({
6
6
  nodes: [
7
7
  {
@@ -38,9 +38,9 @@ const _ = (e) => ({
38
38
  }
39
39
  }, /* @__PURE__ */ o.createElement(C, {
40
40
  classes: {
41
- container: m,
42
- label: p,
43
- control: l
41
+ container: p,
42
+ label: m,
43
+ indicator: l
44
44
  }
45
45
  }));
46
46
  };
@@ -1,8 +1,8 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
- import j from "classnames";
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";
2
+ import x from "classnames";
3
+ import u, { createContext as J, 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-C6WwBcGP.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-BpHElSwH.js";
6
6
  import { f as L } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import M from "@babel/runtime/helpers/typeof";
@@ -10,10 +10,10 @@ 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-BQ3TWU9G.js";
13
+ import { T as B } from "./text-input-headless-C_NTJmLe.js";
14
14
  import { E as Ae } from "./error-icon-hZxQ6DEy.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";
15
+ import { s as C } from "./field-rac.module-DjmaTYkc.js";
16
+ import { z as Fe, Q as ke, y as Te, p as De, i as xe, $ as je } from "./form-element-classes-BXNs5k3q.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
  "&": "&",
@@ -48,7 +48,7 @@ var Le = /&(?: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, Re = Q();
51
+ }, we, Re = J();
52
52
  function He() {
53
53
  return _e;
54
54
  }
@@ -81,14 +81,14 @@ function K() {
81
81
  typeof a[0] == "string" && (a[0] = "react-i18next:: ".concat(a[0])), (e = console).warn.apply(e, a);
82
82
  }
83
83
  }
84
- var z = {};
84
+ var X = {};
85
85
  function Ue() {
86
86
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
87
87
  t[a] = arguments[a];
88
- typeof t[0] == "string" && z[t[0]] || (typeof t[0] == "string" && (z[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
88
+ typeof t[0] == "string" && X[t[0]] || (typeof t[0] == "string" && (X[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
89
89
  }
90
- var Be = ["format"], qe = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
- function J(e, t) {
90
+ var Be = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
+ function z(e, t) {
92
92
  var a = Object.keys(e);
93
93
  if (Object.getOwnPropertySymbols) {
94
94
  var o = Object.getOwnPropertySymbols(e);
@@ -101,9 +101,9 @@ function J(e, t) {
101
101
  function p(e) {
102
102
  for (var t = 1; t < arguments.length; t++) {
103
103
  var a = arguments[t] != null ? arguments[t] : {};
104
- t % 2 ? J(Object(a), !0).forEach(function(o) {
104
+ t % 2 ? z(Object(a), !0).forEach(function(o) {
105
105
  Oe(e, o, a[o]);
106
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : J(Object(a)).forEach(function(o) {
106
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : z(Object(a)).forEach(function(o) {
107
107
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(a, o));
108
108
  });
109
109
  }
@@ -117,7 +117,7 @@ function Y(e, t) {
117
117
  function $(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
- function Ve(e) {
120
+ function qe(e) {
121
121
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
122
122
  return U(t);
123
123
  });
@@ -177,7 +177,7 @@ function $e(e, t, a, o, c, r) {
177
177
  var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
179
  var i = $(y), I = S(i, h.children, s);
180
- return Ve(i) && I.length === 0 ? i : I;
180
+ return qe(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(R(y, p(p({}, y.props), {}, {
@@ -193,11 +193,11 @@ function $e(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 && M(m) === "object" && m.dummy && !D, w = M(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, D = U(m), V = 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
- var V = a.services.interpolator.interpolate(m, O, a.language);
199
- l.push(V);
200
- } else if (Y(m) || q) {
198
+ var q = a.services.interpolator.interpolate(m, O, a.language);
199
+ l.push(q);
200
+ } else if (Y(m) || V) {
201
201
  var ne = F(m, n, s);
202
202
  A(m, ne, l, E);
203
203
  } else if (_) {
@@ -235,26 +235,26 @@ function $e(e, t, a, o, c, r) {
235
235
  key: E
236
236
  })));
237
237
  } else if (n.type === "text") {
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);
238
+ var W = o.transWrapTextNodes, Q = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
239
239
  W ? l.push(H(W, {
240
240
  key: "".concat(n.name, "-").concat(E)
241
- }, X)) : l.push(X);
241
+ }, Q)) : l.push(Q);
242
242
  }
243
243
  return l;
244
244
  }, []);
245
245
  }
246
- var x = S([{
246
+ var j = S([{
247
247
  dummy: !0,
248
248
  children: e || []
249
249
  }], T, P(e || []));
250
- return $(x[0]);
250
+ return $(j[0]);
251
251
  }
252
252
  function Ge(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, x = ee(e, qe), y = Z(Re) || {}, 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, j = ee(e, Ve), 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;
256
- var I = A || i.t.bind(i) || function(V) {
257
- return V;
256
+ var I = A || i.t.bind(i) || function(q) {
257
+ return q;
258
258
  };
259
259
  r && (v.context = r);
260
260
  var l = p(p({}, He()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
@@ -269,23 +269,23 @@ function Ge(e) {
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), q = N ? I(N, D) : E, _ = $e(T || t, q, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
273
- return w ? H(w, x, _) : _;
272
+ }), V = N ? I(N, D) : E, _ = $e(T || t, V, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
273
+ return w ? H(w, j, _) : _;
274
274
  }
275
- const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Q(void 0);
276
- function ze() {
275
+ const We = "email-mistype-suggestion", Qe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ J(void 0);
276
+ function Xe() {
277
277
  const e = Z(ae);
278
278
  if (e === void 0)
279
279
  throw new Error("useEmailSuggestion must be used inside <EmailInput>");
280
280
  return e;
281
281
  }
282
- const Je = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__PURE__ */ u.createElement(ae.Provider, {
282
+ const ze = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__PURE__ */ u.createElement(ae.Provider, {
283
283
  value: {
284
284
  activeSuggestion: e,
285
285
  applySuggestion: t
286
286
  }
287
- }, a), Qe = ({ className: e }) => {
288
- const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = ze(), { t: c, i18n: r } = ge();
287
+ }, a), Je = ({ className: e }) => {
288
+ const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Xe(), { t: c, i18n: r } = ge();
289
289
  return /* @__PURE__ */ u.createElement("div", {
290
290
  id: t,
291
291
  "data-hook": We,
@@ -302,7 +302,7 @@ const Je = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
302
302
  /* @__PURE__ */ u.createElement("button", {
303
303
  key: "0",
304
304
  type: "button",
305
- "data-hook": Xe,
305
+ "data-hook": Qe,
306
306
  "aria-label": c("input.email.mistype-check.fix-aria-label", {
307
307
  email: a
308
308
  }),
@@ -449,17 +449,17 @@ const Je = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
449
449
  validate: v
450
450
  };
451
451
  }, f = ({ children: e }) => {
452
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: x } = at({
452
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
453
453
  email: a,
454
454
  hasError: v
455
455
  }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
456
456
  o(s), y(t);
457
457
  }, l = () => {
458
- x(), d == null || d();
458
+ j(), d == null || d();
459
459
  }, n = L(e, f.Label), E = L(e, f.Input), k = L(e, f.Description), N = L(e, f.Error), m = L(e, f.Suggestion);
460
460
  return /* @__PURE__ */ u.createElement(Se.Provider, {
461
461
  value: i
462
- }, /* @__PURE__ */ u.createElement(Je, {
462
+ }, /* @__PURE__ */ u.createElement(ze, {
463
463
  activeSuggestion: s,
464
464
  applySuggestion: I
465
465
  }, /* @__PURE__ */ u.createElement(F, {
@@ -483,24 +483,24 @@ f.Label = B.Label;
483
483
  f.Input = B.Input;
484
484
  f.Description = B.Description;
485
485
  f.Error = B.Error;
486
- f.Suggestion = Qe;
486
+ f.Suggestion = Je;
487
487
  const nt = "_suggestion_di65n_1", ot = {
488
488
  suggestion: nt
489
489
  }, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
490
490
  content: e,
491
491
  locale: t
492
492
  }), ht = () => /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
493
- className: j(Fe, C.label)
493
+ className: x(Fe, C.label)
494
494
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
495
- className: j(ke, C.requiredMark)
495
+ className: x(ke, C.requiredMark)
496
496
  })), /* @__PURE__ */ u.createElement(f.Input, {
497
- className: j(Te, C.input)
497
+ className: x(Te, C.input)
498
498
  }), /* @__PURE__ */ u.createElement(f.Error, {
499
- className: j(De, C.error)
499
+ className: x(De, C.error)
500
500
  }, /* @__PURE__ */ u.createElement(Ae, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
501
- className: j(je, C.description)
501
+ className: x(xe, C.description)
502
502
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
503
- className: j(xe, ot.suggestion)
503
+ className: x(je, ot.suggestion)
504
504
  }));
505
505
  export {
506
506
  ht as E