@wix/form-elements 1.74.0 → 1.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/component/{appointment-rac-Bze1s2XD.js → appointment-rac-7xVKSm2N.js} +27 -27
  2. package/dist/component/{bookings-address-rac-BcrkXf63.js → bookings-address-rac-VXnUSx8U.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DYq5RxOP.js → bookings-email-rac-B2_ad7Y2.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ZJ_sQ-01.js → bookings-first-name-rac-9BAY5vLx.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Cv8kl01f.js → bookings-header-rac-B6IgiMOA.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BmnulSZ6.js → bookings-last-name-rac-DoXEDO8K.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bdi4xs9y.js → bookings-login-bar-rac-DprQIFyj.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-C8DjSzUY.js → bookings-phone-rac-VMoXtejZ.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DYu011oy.js → bookings-rich-text-rac-DSzD2jBy.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BH3yEE5j.js → checkbox-field-rac-BLihwz3C.js} +327 -320
  11. package/dist/component/checkbox-group-field-headless-BItyo_iD.js +205 -0
  12. package/dist/component/checkbox-group-field-rac-Bov3yFC6.js +40 -0
  13. package/dist/component/{checkbox-group-rac-CgW0DnhX.js → checkbox-group-rac-Fit-qssk.js} +1 -1
  14. package/dist/component/{checkbox-rac-DOAYMMsi.js → checkbox-rac-CSsY83Nx.js} +1 -1
  15. package/dist/component/{contacts-address-rac-DXJa4J_k.js → contacts-address-rac-iJuzUQe4.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CVsuRq3B.js → contacts-birthdate-rac-0g2e8cQP.js} +1 -1
  17. package/dist/component/{contacts-company-rac-b2bwHSNC.js → contacts-company-rac-BC0tK4WQ.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DMPcpQ1c.js → contacts-email-rac-dkuclkiH.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CL2BsHuJ.js → contacts-first-name-rac-BSUkCuht.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-hdBsWaqb.js → contacts-last-name-rac-08bjVdN2.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DQF6aV9B.js → contacts-phone-rac-DVb0Z_0M.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CVX-WCfx.js → contacts-position-rac-AGUDkv7U.js} +1 -1
  23. package/dist/component/contacts-subscribe-rac-6jAQHibT.js +13 -0
  24. package/dist/component/{contacts-tax-id-rac-0KTXvF81.js → contacts-tax-id-rac-C7moEz5b.js} +1 -1
  25. package/dist/component/{date-availability-DBljhBgO.js → date-availability-DagbE0C8.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CfflD2Ar.js → date-input-field-rac-BWHKsJGy.js} +30 -30
  27. package/dist/component/{date-input-rac-fQclCKoa.js → date-input-rac-BlZlmf-s.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BSmFOaH-.js → date-picker-field-rac-BSNbYirD.js} +36 -36
  29. package/dist/component/{date-picker-rac-D7I3ramu.js → date-picker-rac-D3IWMst5.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-vjZDQ_Fp.js → date-time-input-field-rac-YKTwuIUs.js} +25 -25
  31. package/dist/component/{date-time-input-rac-CDbS0VZR.js → date-time-input-rac-CZRsKm1P.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BBiPt6_a.js → dext-checkbox-group-rac-BE7ILz-f.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-Cqp--0SO.js → dext-checkbox-rac-B6-94A1N.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-5Wft0w9m.js → dext-date-picker-rac-Bx2hUFNm.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Bbs7bgtn.js → dext-date-time-input-rac-DPKD6quz.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CSvhtqbc.js → dext-dropdown-rac-WrSfNRa5.js} +1 -1
  37. package/dist/component/{dext-email-rac-BoLeXqyI.js → dext-email-rac-8PSMKNYG.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DzaJYTSz.js → dext-number-input-rac-b9YSzEkN.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BagPg_CT.js → dext-phone-rac-CkapN3c1.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B5HSQt7a.js → dext-radio-group-rac-CfNMkwUa.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DrtaAf-E.js → dext-rating-input-rac-Cun_t7HQ.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Cg4jJ4jr.js → dext-tags-rac-DLZ91c3w.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-C_t-W7lk.js → dext-text-area-rac-N9A7QfYw.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-ChvV21Jf.js → dext-text-input-rac-XbVzAPHH.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DclbSYTr.js → dext-url-input-rac-BiaWZ49r.js} +1 -1
  46. package/dist/component/{donation-rac-FYQIMm5m.js → donation-rac-BEIBjLHK.js} +46 -47
  47. package/dist/component/{dropdown-field-headless-CTZ-zGqZ.js → dropdown-field-headless-CQfZ3zPD.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-C1KVtxwv.js → dropdown-field-rac-ubZN_Abg.js} +7 -7
  49. package/dist/component/{dropdown-rac-CkkDEDje.js → dropdown-rac-CHYFrEjY.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BOuugSxX.js → ecom-address-rac-C7qJlrsv.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-IZeMlljb.js → ecom-subscription-checkbox-rac-CONIZsTy.js} +6 -6
  52. package/dist/component/{email-input-field-rac-CNzmm1j7.js → email-input-field-rac-Dg0p6WZe.js} +63 -63
  53. package/dist/component/events-repeater-rac-BoxNl7gn.js +254 -0
  54. package/dist/component/{events-rsvp-rac-BmjboAco.js → events-rsvp-rac-BU5d2n4k.js} +3 -3
  55. package/dist/component/{field-error-headless-DQZ5XAdn.js → field-error-headless-uQOcm2Ak.js} +1 -1
  56. package/dist/component/{field-label-headless-DoxfHHaj.js → field-label-headless-Bzh7f2Ji.js} +1 -1
  57. package/dist/component/field-rac.module-DjmaTYkc.js +23 -0
  58. package/dist/component/{file-upload-rac-YEQ7uXhm.js → file-upload-rac-BTt-rJE5.js} +74 -74
  59. package/dist/component/{fixed-payment-rac-DDufIQBT.js → fixed-payment-rac-1NOx3D-U.js} +17 -17
  60. package/dist/component/{form-C6WwBcGP.js → form-DCmjj8mZ.js} +69 -69
  61. package/dist/component/form-element-classes-Dn33C01k.js +111 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-DGfjrjQC.js → header-field-rac-lyvjy6h2.js} +3 -3
  65. package/dist/component/{header-rac-C_JE2cTg.js → header-rac-B4iPEbNj.js} +1 -1
  66. package/dist/component/{image-choice-rac-LDLPQwrN.js → image-choice-rac-CmEG-waj.js} +29 -30
  67. package/dist/component/{index-C2srcuHD.js → index-D-CKLZBh.js} +4 -4
  68. package/dist/component/{index-CIOoaQ8Z.js → index-UZsDOe8e.js} +2 -2
  69. package/dist/component/{isObjectLike-E5QfEa1u.js → isObjectLike-BSGOU4jF.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-Biyj2tIN.js → multiline-address-field-rac-Dz0NEjSO.js} +125 -125
  71. package/dist/component/{multiline-address-rac-BCqCvG7a.js → multiline-address-rac-D_MAanxb.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CwUoIbM8.js → number-input-field-rac-CvjeAm-W.js} +13 -13
  73. package/dist/component/{number-input-rac-CdYdTDem.js → number-input-rac-oKo2Wx_c.js} +1 -1
  74. package/dist/component/{password-rac-D62npVHY.js → password-rac-CrnkKtfp.js} +21 -21
  75. package/dist/component/{payment-input-rac-D4u-3vcW.js → payment-input-rac-BoVdGyvV.js} +18 -18
  76. package/dist/component/{phone-input-field-rac-uHxR3ozd.js → phone-input-field-rac-DksXoAnr.js} +54 -54
  77. package/dist/component/{phone-rac-Bf99_BGi.js → phone-rac-BR0iX5TL.js} +1 -1
  78. package/dist/component/product-list-rac-C4rvv5k-.js +270 -0
  79. package/dist/component/{quiz-radio-group-rac-CPGS0LEb.js → quiz-radio-group-rac-BxKmUUf8.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-BWpTNAbO.js → radio-group-field-rac-Dj4rkkKF.js} +3 -3
  81. package/dist/component/{radio-group-field-rac.module-WxU5zxvM.js → radio-group-field-rac.module-CeBLm9QF.js} +3 -3
  82. package/dist/component/{radio-group-rac-dA4WZ1Vj.js → radio-group-rac-BpnfptSZ.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-CJnFsBvH.js → rating-input-field-rac-BP0928qI.js} +30 -31
  84. package/dist/component/{rating-input-rac-DXVYozFV.js → rating-input-rac-DaEgvjIS.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-DkKwzJS7.js → rich-content-rac.module-zvvH-tWq.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-8FWCRrpb.js → rich-text-field-rac-CFCRiMl_.js} +3 -3
  87. package/dist/component/{rich-text-rac-OeM_mPRy.js → rich-text-rac-BRuLnyN4.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-mvUMpcS_.js → service-dropdown-rac-C82l5y0C.js} +21 -21
  89. package/dist/component/services-multi-choice-rac-BAHBSgAT.js +83 -0
  90. package/dist/component/{signature-rac-D44U9Uyp.js → signature-rac-CIkm3SCW.js} +56 -56
  91. package/dist/component/{submit-button-rac-BqtcgVAn.js → submit-button-rac-Bz-X9Tbo.js} +2 -2
  92. package/dist/component/{tags-field-rac-CemsTKWz.js → tags-field-rac-Dn8VyPzT.js} +29 -30
  93. package/dist/component/{tags-rac-fVjCf6qo.js → tags-rac-BJpVdunR.js} +1 -1
  94. package/dist/component/{text-area-field-rac-BPciZlZb.js → text-area-field-rac-Pp9HnCS5.js} +18 -18
  95. package/dist/component/{text-area-rac-CRTORdZM.js → text-area-rac-DbwAFdel.js} +1 -1
  96. package/dist/component/{text-input-field-rac-CvFoWlRN.js → text-input-field-rac-x4ByKmBv.js} +6 -6
  97. package/dist/component/{text-input-headless-BQ3TWU9G.js → text-input-headless-fbiKci5q.js} +3 -3
  98. package/dist/component/{text-input-rac-DSFkEmob.js → text-input-rac-jyCKxyCt.js} +1 -1
  99. package/dist/component/{time-input-rac-CGgs7ncp.js → time-input-rac-C5Cvmxtt.js} +17 -17
  100. package/dist/component/{url-input-field-rac-CqvgTc-F.js → url-input-field-rac-CGpCEn2A.js} +20 -20
  101. package/dist/component/{url-input-rac-C45KOwnr.js → url-input-rac-DhFL8fGq.js} +1 -1
  102. package/dist/component/use-element-state-class-name-Bnw7sY9P.js +29 -0
  103. package/dist/component/{use-service-options-base-D4Zl-iGW.js → use-service-options-base-CgT1IKB3.js} +1 -1
  104. package/package.json +2 -2
  105. package/dist/component/checkbox-group-field-headless-D_GG5LHM.js +0 -210
  106. package/dist/component/checkbox-group-field-rac-Cj7Erubs.js +0 -41
  107. package/dist/component/contacts-subscribe-rac-Dl1ot9qw.js +0 -13
  108. package/dist/component/events-repeater-rac-CMV0Lmwz.js +0 -247
  109. package/dist/component/field-rac.module-Cac83bU5.js +0 -21
  110. package/dist/component/form-element-classes-DDKCTFQj.js +0 -65
  111. package/dist/component/form-element-keys-D0sEdpFo.js +0 -8
  112. package/dist/component/product-list-rac-iRf6Ra7i.js +0 -263
  113. package/dist/component/services-multi-choice-rac-DrgUrn_N.js +0 -76
@@ -0,0 +1,254 @@
1
+ import e, { useState as q, useMemo as v, useCallback as V, useRef as M } from "react";
2
+ import T from "classnames";
3
+ import { NumberField as z, Input as J, CheckboxField as Q, CheckboxButton as W, Button as w } from "react-aria-components";
4
+ import { ao as U, ap as P, ae as H, aj as K, u as Y, ai as D, af as X, ak as j, j as Z } from "./form-DCmjj8mZ.js";
5
+ import { f as b, a as L } from "./find-child-C60k4CxG.js";
6
+ import { L as ee } from "./field-label-headless-Bzh7f2Ji.js";
7
+ import { a as te, u as se, C as ne } from "./use-element-state-class-name-Bnw7sY9P.js";
8
+ import { u as oe } from "./use-invoke-callback-UH73A_J3.js";
9
+ import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
10
+ import { s as B } from "./field-rac.module-DjmaTYkc.js";
11
+ import { y as re, x as ae, q as le, s as ce, r as ue } from "./form-element-classes-Dn33C01k.js";
12
+ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, errors: m = me, validation: c }) => {
13
+ const [i, E] = q((r == null ? void 0 : r.length) || 0), a = v(() => r ?? [], [
14
+ r
15
+ ]), C = U(), f = P(), d = H(), { validateFields: u } = K(), F = c.predefined.objectArrayOptions.maxItems, _ = v(() => Y({
16
+ form: {
17
+ fields: n,
18
+ steps: [
19
+ {
20
+ layout: l
21
+ }
22
+ ]
23
+ },
24
+ parentId: t,
25
+ recursive: !1
26
+ }), [
27
+ n,
28
+ l,
29
+ t
30
+ ]), G = v(() => m.reduce((p, I) => {
31
+ const [h, N] = I.errorPath.split("/"), A = parseInt(h, 10);
32
+ return p[A] || (p[A] = []), p[A].push({
33
+ ...I,
34
+ errorPath: N
35
+ }), p;
36
+ }, []), [
37
+ m
38
+ ]), g = V((p) => {
39
+ const I = Number.isNaN(p) ? 0 : Math.min(Math.max(p, 0), F);
40
+ E(I), s == null || s(Array.from({
41
+ length: I
42
+ }, (h, N) => a[N] ?? {}));
43
+ }, [
44
+ F,
45
+ a,
46
+ s
47
+ ]), y = V((p) => (I, h) => {
48
+ const N = Array.from({
49
+ length: i
50
+ }, (A, $) => a[$] ?? {});
51
+ N[p] = {
52
+ ...N[p],
53
+ [I]: h
54
+ }, s == null || s(N);
55
+ }, [
56
+ i,
57
+ a,
58
+ s
59
+ ]);
60
+ return {
61
+ guestLimit: F,
62
+ guestCount: i,
63
+ guests: a,
64
+ errorsByIndex: G,
65
+ formView: _,
66
+ formSchema: C,
67
+ formFields: f,
68
+ fieldActions: d,
69
+ validateFields: u,
70
+ changeGuestCount: g,
71
+ changeGuestField: y
72
+ };
73
+ }, de = [], pe = {}, o = ({ children: t, className: n }) => {
74
+ const l = D(), { id: r, FieldLayout: s } = l, { guestLimit: m, guestCount: c, guests: i, errorsByIndex: E, formView: a, changeGuestCount: C, changeGuestField: f } = ie(l), d = b(t, o.Label), u = b(t, o.GuestCount), F = b(t, o.GuestToggle), _ = b(t, o.Guests), G = m > 1;
75
+ return /* @__PURE__ */ e.createElement(s, {
76
+ fieldId: r,
77
+ renderLabel: () => G ? d : null,
78
+ renderInput: () => /* @__PURE__ */ e.createElement("div", {
79
+ className: n
80
+ }, G ? L(u, {
81
+ guestLimit: m,
82
+ guestCount: c,
83
+ onGuestCountChange: C
84
+ }) : L(F, {
85
+ guestCount: c,
86
+ onGuestCountChange: C
87
+ }), L(_, {
88
+ guestCount: c,
89
+ guests: i,
90
+ errorsByIndex: E,
91
+ formView: a,
92
+ onGuestFieldChange: f
93
+ })),
94
+ renderDescription: () => null
95
+ });
96
+ }, Ee = ({ className: t }) => /* @__PURE__ */ e.createElement(ee, {
97
+ className: t
98
+ }, null), R = ({ children: t, className: n, groupClassName: l, ...r }) => {
99
+ const { guestLimit: s, guestCount: m, onGuestCountChange: c } = r, { id: i, label: E, disabled: a, readOnly: C, onBlur: f, onFocus: d } = D(), { inputId: u, ariaDescribedBy: F } = X(), _ = oe(f), G = M(null);
100
+ j(() => {
101
+ var p;
102
+ (p = G.current) == null || p.focus();
103
+ }, i);
104
+ const g = b(t, R.Decrement), y = b(t, R.Increment);
105
+ return /* @__PURE__ */ e.createElement(z, {
106
+ className: l,
107
+ "aria-label": E,
108
+ value: m,
109
+ onChange: c,
110
+ minValue: 0,
111
+ maxValue: s,
112
+ step: 1,
113
+ isDisabled: a,
114
+ isReadOnly: C,
115
+ onBlur: _,
116
+ onFocus: d
117
+ }, /* @__PURE__ */ e.createElement(J, {
118
+ ref: G,
119
+ id: u,
120
+ "aria-describedby": F,
121
+ className: n,
122
+ inputMode: "numeric"
123
+ }), y, g);
124
+ }, Ce = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(w, {
125
+ slot: "decrement",
126
+ className: n
127
+ }, t), ge = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(w, {
128
+ slot: "increment",
129
+ className: n
130
+ }, t), S = ({ children: t, className: n, ...l }) => {
131
+ const { guestCount: r, onGuestCountChange: s } = l, { id: m, label: c, disabled: i, readOnly: E, onBlur: a, onFocus: C } = D(), { inputId: f, ariaDescribedBy: d } = X(), u = M(null);
132
+ j(() => {
133
+ var g;
134
+ (g = u.current) == null || g.focus();
135
+ }, m);
136
+ const F = b(t, S.Input), _ = b(t, S.Label), G = V((g) => {
137
+ s(g ? 1 : 0);
138
+ }, [
139
+ s
140
+ ]);
141
+ return /* @__PURE__ */ e.createElement(Q, {
142
+ inputRef: u,
143
+ id: f,
144
+ "aria-describedby": d,
145
+ isSelected: r > 0,
146
+ onChange: G,
147
+ isDisabled: i,
148
+ isReadOnly: E,
149
+ onBlur: a,
150
+ onFocus: C
151
+ }, /* @__PURE__ */ e.createElement(W, {
152
+ className: n
153
+ }, ({ isSelected: g, isHovered: y }) => /* @__PURE__ */ e.createElement(e.Fragment, null, L(F, {
154
+ isSelected: g,
155
+ isHovered: y
156
+ }), L(_, {
157
+ label: c
158
+ }))));
159
+ }, fe = ({ className: t, ...n }) => {
160
+ const { label: l } = n;
161
+ return /* @__PURE__ */ e.createElement("span", {
162
+ className: t
163
+ }, l);
164
+ }, k = ({ children: t, className: n, ...l }) => {
165
+ const { guestCount: r, guests: s, errorsByIndex: m, formView: c, onGuestFieldChange: i } = l, { disabled: E, readOnly: a } = D(), C = v(() => ({
166
+ ...c,
167
+ fields: c.fields.map((d) => ({
168
+ ...d,
169
+ properties: {
170
+ ...d.properties,
171
+ disabled: !!(E || d.properties.disabled),
172
+ readOnly: !!(a || d.properties.readOnly)
173
+ }
174
+ }))
175
+ }), [
176
+ c,
177
+ E,
178
+ a
179
+ ]), f = b(t, k.Guest);
180
+ return r ? /* @__PURE__ */ e.createElement("div", {
181
+ className: n
182
+ }, Array.from({
183
+ length: r
184
+ }, (d, u) => L(f, {
185
+ key: u,
186
+ index: u,
187
+ formView: C,
188
+ values: s[u] ?? pe,
189
+ errors: m[u] ?? de,
190
+ onFieldChange: i(u)
191
+ }))) : null;
192
+ }, Fe = ({ className: t, ...n }) => {
193
+ const { index: l, formView: r, values: s, errors: m, onFieldChange: c } = n, i = U(), E = P(), a = H(), { validateFields: C } = K();
194
+ return /* @__PURE__ */ e.createElement("div", {
195
+ className: t,
196
+ "data-hook": `guest-${l}`
197
+ }, /* @__PURE__ */ e.createElement(Z, {
198
+ form: r,
199
+ formSchema: i,
200
+ values: s,
201
+ errors: m,
202
+ validateFields: C,
203
+ onFieldChange: c,
204
+ fields: E,
205
+ fieldActions: a
206
+ }));
207
+ };
208
+ R.Decrement = Ce;
209
+ R.Increment = ge;
210
+ S.Input = te;
211
+ S.Label = fe;
212
+ k.Guest = Fe;
213
+ o.Label = Ee;
214
+ o.GuestCount = R;
215
+ o.GuestToggle = S;
216
+ o.Guests = k;
217
+ const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11veo_28", Ie = "_decrement_11veo_29", O = {
218
+ container: Ge,
219
+ countGroup: be,
220
+ increment: _e,
221
+ decrement: Ie
222
+ }, Ne = () => {
223
+ const t = se({
224
+ globalClasses: ue,
225
+ moduleClasses: ne
226
+ });
227
+ return /* @__PURE__ */ e.createElement(o, {
228
+ className: O.container
229
+ }, /* @__PURE__ */ e.createElement(o.Label, {
230
+ className: T(re, B.label)
231
+ }), /* @__PURE__ */ e.createElement(o.GuestCount, {
232
+ className: B.innerInput,
233
+ groupClassName: T(ae, B.input, O.countGroup)
234
+ }, /* @__PURE__ */ e.createElement(o.GuestCount.Increment, {
235
+ className: O.increment
236
+ }, /* @__PURE__ */ e.createElement(x, {
237
+ style: {
238
+ transform: "rotate(180deg)"
239
+ }
240
+ })), /* @__PURE__ */ e.createElement(o.GuestCount.Decrement, {
241
+ className: O.decrement
242
+ }, /* @__PURE__ */ e.createElement(x, null))), /* @__PURE__ */ e.createElement(o.GuestToggle, {
243
+ className: T(le, B.checkbox)
244
+ }, /* @__PURE__ */ e.createElement(o.GuestToggle.Input, {
245
+ className: t
246
+ }), /* @__PURE__ */ e.createElement(o.GuestToggle.Label, {
247
+ className: ce
248
+ })), /* @__PURE__ */ e.createElement(o.Guests, {
249
+ className: O.container
250
+ }, /* @__PURE__ */ e.createElement(o.Guests.Guest, null)));
251
+ }, Ve = () => /* @__PURE__ */ e.createElement(Ne, null);
252
+ export {
253
+ Ve as EventsRepeaterRAC
254
+ };
@@ -1,10 +1,10 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as c } from "@wix/ricos/viewer";
3
3
  import r from "classnames";
4
- import { R as a, s as o } from "./radio-group-field-rac.module-WxU5zxvM.js";
4
+ import { R as a, s as o } from "./radio-group-field-rac.module-CeBLm9QF.js";
5
5
  import { E as m } from "./error-icon-hZxQ6DEy.js";
6
- import { s } from "./field-rac.module-Cac83bU5.js";
7
- import { z as i, R as E, S as p, U as R, T as _, q as L, j as O } from "./form-element-classes-DDKCTFQj.js";
6
+ import { s } from "./field-rac.module-DjmaTYkc.js";
7
+ import { y as i, Q as E, R as p, T as R, S as _, p as L, i as O } from "./form-element-classes-Dn33C01k.js";
8
8
  const e = ({ children: n }) => /* @__PURE__ */ t.createElement(a, null, n);
9
9
  e.Label = a.Label;
10
10
  e.Options = a.Options;
@@ -1,5 +1,5 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { ai as c, af as i, ab as f, T as x, U as h } from "./form-C6WwBcGP.js";
2
+ import { ai as c, af as i, ab as f, T as x, U as h } from "./form-DCmjj8mZ.js";
3
3
  const b = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
@@ -1,4 +1,4 @@
1
- import { ai as m, R as d, q as p, af as D, as as B } from "./form-C6WwBcGP.js";
1
+ import { ai as m, R as d, q as p, af as D, as as B } from "./form-DCmjj8mZ.js";
2
2
  import l from "react";
3
3
  import { f as L } from "./find-child-C60k4CxG.js";
4
4
  import { sdk as R } from "@wix/image-kit";
@@ -0,0 +1,23 @@
1
+ const o = "_label_10aij_1", e = "_requiredMark_10aij_11", t = "_input_10aij_16", n = "_inputGroup_10aij_17", c = "_innerInput_10aij_129", _ = "_dropdownTrigger_10aij_177", r = "_dropdownIcon_10aij_187", i = "_dropdownPopover_10aij_206", p = "_selectPopover_10aij_210", s = "_selectOption_10aij_237", u = "_selectOptionWithoutFocusRing_10aij_261", d = "_description_10aij_267", a = "_error_10aij_283", l = "_checkbox_10aij_302", j = "_checkboxInput_10aij_325", h = "_checkboxInputSelected_10aij_364", b = "_checkboxInputHover_10aij_368", k = "_uploadButton_10aij_418", I = {
2
+ label: o,
3
+ requiredMark: e,
4
+ input: t,
5
+ inputGroup: n,
6
+ innerInput: c,
7
+ dropdownTrigger: _,
8
+ dropdownIcon: r,
9
+ dropdownPopover: i,
10
+ selectPopover: p,
11
+ selectOption: s,
12
+ selectOptionWithoutFocusRing: u,
13
+ description: d,
14
+ error: a,
15
+ checkbox: l,
16
+ checkboxInput: j,
17
+ checkboxInputSelected: h,
18
+ checkboxInputHover: b,
19
+ uploadButton: k
20
+ };
21
+ export {
22
+ I as s
23
+ };
@@ -1,14 +1,14 @@
1
- import t, { useState as Q, useRef as V, useMemo as oe, useEffect as se, useCallback as z, createContext as pe, useContext as fe } from "react";
1
+ import t, { useState as H, useRef as V, useMemo as oe, useEffect as se, useCallback as P, createContext as pe, useContext as fe } from "react";
2
2
  import { RicosViewer as Ee } from "@wix/ricos/viewer";
3
- import T from "classnames";
4
- import { ae as Fe, as as ie, an as ge, i as he, aq as xe, e as re, ar as be, af as ce, ai as q, ak as Ce } from "./form-C6WwBcGP.js";
3
+ import B from "classnames";
4
+ import { ae as Fe, as as ie, an as ge, i as he, aq as xe, e as re, ar as be, af as ce, ai as q, ak as Ce } from "./form-DCmjj8mZ.js";
5
5
  import { E as Le } from "./error-icon-hZxQ6DEy.js";
6
- import { s as I } from "./field-rac.module-Cac83bU5.js";
7
- import { z as ne, R as De, a3 as Ne, j as ae, q as le } from "./form-element-classes-DDKCTFQj.js";
8
- import { f as h, a as P } from "./find-child-C60k4CxG.js";
9
- import { b as ve, a as ye, D as _e, E as Re } from "./field-error-headless-DQZ5XAdn.js";
10
- import { L as Te } from "./field-label-headless-DoxfHHaj.js";
11
- import { DropZone as Be, Text as Se, FileTrigger as Me, Button as de, ProgressBar as Ie } from "react-aria-components";
6
+ import { s as I } from "./field-rac.module-DjmaTYkc.js";
7
+ import { y as ne, Q as De, a2 as Ne, i as ae, p as le } from "./form-element-classes-Dn33C01k.js";
8
+ import { f as h, a as z } from "./find-child-C60k4CxG.js";
9
+ import { b as ye, a as ve, D as _e, E as Te } from "./field-error-headless-uQOcm2Ak.js";
10
+ import { L as Be } from "./field-label-headless-Bzh7f2Ji.js";
11
+ import { DropZone as Re, Text as Se, FileTrigger as Me, Button as de, ProgressBar as Ie } from "react-aria-components";
12
12
  const we = {
13
13
  Video: "video/*",
14
14
  Image: "image/*",
@@ -26,7 +26,7 @@ const we = {
26
26
  formId: n,
27
27
  uploadTarget: e
28
28
  }).then((s) => {
29
- const { id: b, displayName: m, url: c, isPrivate: N } = s, v = {
29
+ const { id: b, displayName: m, url: c, isPrivate: N } = s, y = {
30
30
  fileId: b,
31
31
  displayName: m || a.name,
32
32
  url: N ? void 0 : c,
@@ -34,8 +34,8 @@ const we = {
34
34
  };
35
35
  return i({
36
36
  file: a,
37
- uploadedFile: v
38
- }), v;
37
+ uploadedFile: y
38
+ }), y;
39
39
  }).catch((s) => {
40
40
  d(s, a);
41
41
  }));
@@ -43,19 +43,19 @@ const we = {
43
43
  };
44
44
  };
45
45
  function Ze({ valueSliderLimit: e, value: r, explanationText: n, target: o, onChange: i, uploadFileFormats: d, onBlur: x, onFilesCleared: D }) {
46
- const [a, s] = Q(ke(r)), [b, m] = Q(r || []), [c, N] = Q(), v = Ae(o), { t: E } = ie(), k = ge().includes(he.BUTTONS_HOVER), { setFormStatus: y } = xe(), S = V(!1), _ = V(i);
46
+ const [a, s] = H(ke(r)), [b, m] = H(r || []), [c, N] = H(), y = Ae(o), { t: E } = ie(), k = ge().includes(he.BUTTONS_HOVER), { setFormStatus: v } = xe(), S = V(!1), _ = V(i);
47
47
  _.current = i;
48
48
  const C = oe(() => a.some((u) => u.state === "uploading"), [
49
49
  a
50
50
  ]);
51
51
  se(() => {
52
- S.current !== C && (S.current = C, y(o, C ? re.BUSY : re.READY));
52
+ S.current !== C && (S.current = C, v(o, C ? re.BUSY : re.READY));
53
53
  }, [
54
54
  C,
55
- y,
55
+ v,
56
56
  o
57
57
  ]);
58
- const U = z(() => {
58
+ const U = P(() => {
59
59
  if (!a.length)
60
60
  return n;
61
61
  const F = a.filter((u) => u.state === "uploading").length;
@@ -72,8 +72,8 @@ function Ze({ valueSliderLimit: e, value: r, explanationText: n, target: o, onCh
72
72
  a,
73
73
  n,
74
74
  E
75
- ]), M = z(async (F) => {
76
- await v(F, ({ file: u, uploadedFile: g }) => {
75
+ ]), M = P(async (F) => {
76
+ await y(F, ({ file: u, uploadedFile: g }) => {
77
77
  s((p) => p.map((f) => f.file === u ? {
78
78
  file: u,
79
79
  state: "uploaded"
@@ -92,7 +92,7 @@ function Ze({ valueSliderLimit: e, value: r, explanationText: n, target: o, onCh
92
92
  } : f));
93
93
  });
94
94
  }, [
95
- v,
95
+ y,
96
96
  E
97
97
  ]), O = async (F) => {
98
98
  if (c && N(void 0), F) {
@@ -102,7 +102,7 @@ function Ze({ valueSliderLimit: e, value: r, explanationText: n, target: o, onCh
102
102
  }));
103
103
  return;
104
104
  }
105
- const p = Array.from(F).reduce((f, L) => (a.some((Y) => Y.file.name === L.name) || f.push({
105
+ const p = Array.from(F).reduce((f, L) => (a.some((W) => W.file.name === L.name) || f.push({
106
106
  file: L,
107
107
  state: "uploading"
108
108
  }), f), []);
@@ -124,10 +124,10 @@ function Ze({ valueSliderLimit: e, value: r, explanationText: n, target: o, onCh
124
124
  }
125
125
  }, $ = () => {
126
126
  c && N(void 0), x();
127
- }, K = d.map((F) => we[F]).join(), W = z(() => {
127
+ }, K = d.map((F) => we[F]).join(), Q = P(() => {
128
128
  s([]), m([]);
129
129
  }, []);
130
- return be(W), {
130
+ return be(Q), {
131
131
  files: a,
132
132
  limitError: c,
133
133
  hover: k,
@@ -163,7 +163,7 @@ function Z() {
163
163
  }
164
164
  const A = ({ children: e, className: r }) => {
165
165
  const { ariaDescribedBy: n } = ce(), { disabled: o, hasError: i } = q(), { handleFileChange: d } = Z(), x = h(e, A.Title), D = h(e, A.Subtitle), a = h(e, A.Button);
166
- return /* @__PURE__ */ t.createElement(Be, {
166
+ return /* @__PURE__ */ t.createElement(Re, {
167
167
  "aria-describedby": n,
168
168
  className: r,
169
169
  "data-invalid": i,
@@ -198,10 +198,10 @@ const A = ({ children: e, className: r }) => {
198
198
  limitReached: n
199
199
  }));
200
200
  }, J = ({ className: e, children: r, "aria-roledescription": n }) => {
201
- const { ariaDescribedBy: o, inputId: i, labelId: d, errorId: x } = ce(), { disabled: D, required: a, onFocus: s, hasError: b, errorMessage: m } = q(), { handleFileChange: c, accept: N, multiple: v, buttonRef: E, handleBlur: B, limitError: k, files: y } = Z(), S = (y == null ? void 0 : y.some((C) => C.errorMessage)) ?? !1, _ = !!(b || m || k || S);
201
+ const { ariaDescribedBy: o, inputId: i, labelId: d, errorId: x } = ce(), { disabled: D, required: a, onFocus: s, hasError: b, errorMessage: m } = q(), { handleFileChange: c, accept: N, multiple: y, buttonRef: E, handleBlur: R, limitError: k, files: v } = Z(), S = (v == null ? void 0 : v.some((C) => C.errorMessage)) ?? !1, _ = !!(b || m || k || S);
202
202
  return /* @__PURE__ */ t.createElement(Me, {
203
203
  acceptedFileTypes: N ? N.split(",") : void 0,
204
- allowsMultiple: v,
204
+ allowsMultiple: y,
205
205
  onSelect: (C) => {
206
206
  if (C) {
207
207
  const U = Array.from(C), M = new DataTransfer();
@@ -225,31 +225,31 @@ const A = ({ children: e, className: r }) => {
225
225
  isDisabled: D,
226
226
  className: e,
227
227
  onFocus: s,
228
- onBlur: B
228
+ onBlur: R
229
229
  }, r));
230
- }, ze = ({ className: e }) => {
230
+ }, Pe = ({ className: e }) => {
231
231
  const { buttonText: r } = q();
232
232
  return /* @__PURE__ */ t.createElement("span", {
233
233
  className: e
234
234
  }, r);
235
235
  };
236
- J.Text = ze;
236
+ J.Text = Pe;
237
237
  A.Title = Ue;
238
238
  A.Subtitle = Oe;
239
239
  A.Button = J;
240
- const R = ({ children: e, className: r, ...n }) => {
241
- const { file: o, index: i } = n, d = o.file.name, x = h(e, R.Name), D = h(e, R.Remove), a = h(e, R.Spinner), s = h(e, R.Error);
240
+ const T = ({ children: e, className: r, ...n }) => {
241
+ const { file: o, index: i } = n, d = o.file.name, x = h(e, T.Name), D = h(e, T.Remove), a = h(e, T.Spinner), s = h(e, T.Error);
242
242
  return /* @__PURE__ */ t.createElement("div", {
243
243
  className: r
244
- }, P(x, {
244
+ }, z(x, {
245
245
  fileName: d
246
- }), o.state === "uploading" ? a : P(D, {
246
+ }), o.state === "uploading" ? a : z(D, {
247
247
  index: i,
248
248
  fileName: d
249
- }), o.errorMessage && P(s, {
249
+ }), o.errorMessage && z(s, {
250
250
  errorMessage: o.errorMessage
251
251
  }));
252
- }, Pe = ({ className: e, ...r }) => {
252
+ }, ze = ({ className: e, ...r }) => {
253
253
  const { fileName: n } = r;
254
254
  return /* @__PURE__ */ t.createElement("span", {
255
255
  className: e
@@ -279,7 +279,7 @@ const R = ({ children: e, className: r, ...n }) => {
279
279
  }, n);
280
280
  }, ue = ({ className: e, children: r, ...n }) => {
281
281
  const { errorMessage: o } = n;
282
- return o ? /* @__PURE__ */ t.createElement(ye, {
282
+ return o ? /* @__PURE__ */ t.createElement(ve, {
283
283
  value: o
284
284
  }, /* @__PURE__ */ t.createElement("div", {
285
285
  className: e,
@@ -290,27 +290,27 @@ const R = ({ children: e, className: r, ...n }) => {
290
290
  className: e,
291
291
  isIndeterminate: !0
292
292
  }, n);
293
- R.Name = Pe;
294
- R.Remove = Ve;
295
- R.Spinner = qe;
296
- R.Error = ue;
297
- ue.Text = ve;
293
+ T.Name = ze;
294
+ T.Remove = Ve;
295
+ T.Spinner = qe;
296
+ T.Error = ue;
297
+ ue.Text = ye;
298
298
  const X = ({ children: e, className: r }) => {
299
299
  const { files: n } = Z(), o = h(e, X.File);
300
300
  return !n || n.length === 0 ? null : /* @__PURE__ */ t.createElement("div", {
301
301
  className: r
302
- }, n.map((i, d) => P(o, {
302
+ }, n.map((i, d) => z(o, {
303
303
  key: i.file.name || d,
304
304
  file: i,
305
305
  index: d
306
306
  })));
307
307
  };
308
- X.File = R;
308
+ X.File = T;
309
309
  const G = (e) => e.file.name, l = ({ children: e }) => {
310
- const { id: r, value: n, onChange: o, uploadFileFormats: i, valueSliderLimit: d, target: x, explanationText: D, onBlur: a, hasError: s, errorMessage: b, FieldLayout: m } = q(), c = V(null), N = V({}), v = z(() => {
310
+ const { id: r, value: n, onChange: o, uploadFileFormats: i, valueSliderLimit: d, target: x, explanationText: D, onBlur: a, hasError: s, errorMessage: b, FieldLayout: m } = q(), c = V(null), N = V({}), y = P(() => {
311
311
  var L;
312
312
  (L = c.current) == null || L.focus();
313
- }, []), { files: E, limitError: B, hover: k, getExplanationText: y, handleBlur: S, handleChange: _, handleDelete: C, accept: U } = Ze({
313
+ }, []), { files: E, limitError: R, hover: k, getExplanationText: v, handleBlur: S, handleChange: _, handleDelete: C, accept: U } = Ze({
314
314
  valueSliderLimit: d,
315
315
  value: n,
316
316
  explanationText: D,
@@ -318,11 +318,11 @@ const G = (e) => e.file.name, l = ({ children: e }) => {
318
318
  onChange: o,
319
319
  uploadFileFormats: i,
320
320
  onBlur: a,
321
- onFilesCleared: v
322
- }), M = z((L) => {
321
+ onFilesCleared: y
322
+ }), M = P((L) => {
323
323
  var te;
324
- const ee = E[L], Y = G(ee);
325
- E.length > 1 && ((te = (E.filter((H) => G(H) !== Y).map((H) => N.current[G(H)]).find(Boolean) ?? c).current) == null || te.focus()), C(L);
324
+ const ee = E[L], W = G(ee);
325
+ E.length > 1 && ((te = (E.filter((Y) => G(Y) !== W).map((Y) => N.current[G(Y)]).find(Boolean) ?? c).current) == null || te.focus()), C(L);
326
326
  }, [
327
327
  C,
328
328
  E
@@ -334,9 +334,9 @@ const G = (e) => e.file.name, l = ({ children: e }) => {
334
334
  accept: U,
335
335
  limitReached: j,
336
336
  multiple: O,
337
- getExplanationText: y,
337
+ getExplanationText: v,
338
338
  hover: k,
339
- limitError: B,
339
+ limitError: R,
340
340
  buttonRef: c,
341
341
  fileRemoveButtonRefs: N
342
342
  }), [
@@ -347,10 +347,10 @@ const G = (e) => e.file.name, l = ({ children: e }) => {
347
347
  U,
348
348
  j,
349
349
  O,
350
- y,
350
+ v,
351
351
  k,
352
- B
353
- ]), K = h(e, l.Label), W = h(e, l.DropZone), F = h(e, l.Button), u = h(e, l.Explanation), g = h(e, l.Files), p = h(e, l.Description), f = h(e, l.Error);
352
+ R
353
+ ]), K = h(e, l.Label), Q = h(e, l.DropZone), F = h(e, l.Button), u = h(e, l.Explanation), g = h(e, l.Files), p = h(e, l.Description), f = h(e, l.Error);
354
354
  return Ce(() => {
355
355
  var L;
356
356
  (L = c.current) == null || L.focus();
@@ -359,10 +359,10 @@ const G = (e) => e.file.name, l = ({ children: e }) => {
359
359
  }, /* @__PURE__ */ t.createElement(m, {
360
360
  fieldId: r,
361
361
  renderLabel: () => K,
362
- renderInput: () => W ?? F,
363
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, P(f, {
364
- hasError: !!(s || B),
365
- errorMessage: B ?? b
362
+ renderInput: () => Q ?? F,
363
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, z(f, {
364
+ hasError: !!(s || R),
365
+ errorMessage: R ?? b
366
366
  }), p, u, g)
367
367
  }));
368
368
  }, je = ({ className: e }) => {
@@ -371,13 +371,13 @@ const G = (e) => e.file.name, l = ({ children: e }) => {
371
371
  className: e
372
372
  }, n) : null;
373
373
  };
374
- l.Label = Te;
374
+ l.Label = Be;
375
375
  l.DropZone = A;
376
376
  l.Button = J;
377
377
  l.Explanation = je;
378
378
  l.Files = X;
379
379
  l.Description = _e;
380
- l.Error = Re;
380
+ l.Error = Te;
381
381
  const $e = (e) => /* @__PURE__ */ t.createElement("svg", {
382
382
  viewBox: "0 0 24 24",
383
383
  width: 24,
@@ -396,7 +396,7 @@ const $e = (e) => /* @__PURE__ */ t.createElement("svg", {
396
396
  ...e
397
397
  }, /* @__PURE__ */ t.createElement("path", {
398
398
  d: "M12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 Z M12,20 C16.418278,20 20,16.418278 20,12 C20,7.581722 16.418278,4 12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 Z M12.7287834,7.27532214 C12.9203342,7.46687299 13.0199347,7.73174979 13.0020527,8.00205275 L13.0020527,12.0020527 C13.0199347,12.2723557 12.9203342,12.5372325 12.7287834,12.7287834 C12.5372325,12.9203342 12.2723557,13.0199347 12.0020527,13.0020527 C11.7317498,13.0199347 11.466873,12.9203342 11.2753221,12.7287834 C11.0837713,12.5372325 10.9841708,12.2723557 11.0020527,12.0020527 L11.0020527,8.00205275 C10.9841708,7.73174979 11.0837713,7.46687299 11.2753221,7.27532214 C11.466873,7.08377129 11.7317498,6.98417081 12.0020527,7.00205275 C12.2723557,6.98417081 12.5372325,7.08377129 12.7287834,7.27532214 Z M12.7287834,15.2753221 C12.9203342,15.466873 13.0199347,15.7317498 13.0020527,16.0020527 C13.0199347,16.2723557 12.9203342,16.5372325 12.7287834,16.7287834 C12.5372325,16.9203342 12.2723557,17.0199347 12.0020527,17.0020527 C11.7317498,17.0199347 11.466873,16.9203342 11.2753221,16.7287834 C11.0837713,16.5372325 10.9841708,16.2723557 11.0020527,16.0020527 C10.9841708,15.7317498 11.0837713,15.466873 11.2753221,15.2753221 C11.466873,15.0837713 11.7317498,14.9841708 12.0020527,15.0020527 C12.2723557,14.9841708 12.5372325,15.0837713 12.7287834,15.2753221 Z"
399
- })), We = (e) => /* @__PURE__ */ t.createElement("svg", {
399
+ })), Qe = (e) => /* @__PURE__ */ t.createElement("svg", {
400
400
  viewBox: "0 0 24 24",
401
401
  width: 24,
402
402
  height: 24,
@@ -405,7 +405,7 @@ const $e = (e) => /* @__PURE__ */ t.createElement("svg", {
405
405
  ...e
406
406
  }, /* @__PURE__ */ t.createElement("path", {
407
407
  d: "M17,17 C17,18.6568542 15.6568542,20 14,20 L9,20 C7.34314575,20 6,18.6568542 6,17 L6,7 L5,7 L5,6 L18,6 L18,7 L17,7 L17,17 Z M9,9 L10,9 L10,16 L9,16 L9,9 Z M11,9 L12,9 L12,16 L11,16 L11,9 Z M13,9 L14,9 L14,16 L13,16 L13,9 Z M7,17 C7,18.1045695 7.8954305,19 9,19 L14,19 C15.1045695,19 16,18.1045695 16,17 L16,7 L7,7 L7,17 Z M13,6 L13,5 L10,5 L10,6 L9,6 L9,5 C9,4.44771525 9.44771525,4 10,4 L13,4 C13.5522847,4 14,4.44771525 14,5 L14,6 L13,6 Z"
408
- })), Ye = () => {
408
+ })), We = () => {
409
409
  const r = "calc(50% - 2px)";
410
410
  return /* @__PURE__ */ t.createElement("svg", {
411
411
  fill: "none",
@@ -437,9 +437,9 @@ const $e = (e) => /* @__PURE__ */ t.createElement("svg", {
437
437
  values: "0;360",
438
438
  repeatCount: "indefinite"
439
439
  })));
440
- }, He = "_explanation_16me0_1", Qe = "_files_16me0_5", Ge = "_file_16me0_5", Je = "_fileName_16me0_24", Xe = "_removeButton_16me0_32", et = "_spinner_16me0_72", tt = "_fileError_16me0_88", w = {
441
- explanation: He,
442
- files: Qe,
440
+ }, Ye = "_explanation_16me0_1", He = "_files_16me0_5", Ge = "_file_16me0_5", Je = "_fileName_16me0_24", Xe = "_removeButton_16me0_32", et = "_spinner_16me0_72", tt = "_fileError_16me0_88", w = {
441
+ explanation: Ye,
442
+ files: He,
443
443
  file: Ge,
444
444
  fileName: Je,
445
445
  removeButton: Xe,
@@ -451,16 +451,16 @@ const $e = (e) => /* @__PURE__ */ t.createElement("svg", {
451
451
  }), nt = () => {
452
452
  const { t: e } = ie();
453
453
  return /* @__PURE__ */ t.createElement(l, null, /* @__PURE__ */ t.createElement(l.Label, {
454
- className: T(ne, I.label)
454
+ className: B(ne, I.label)
455
455
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
456
- className: T(De, I.requiredMark)
456
+ className: B(De, I.requiredMark)
457
457
  })), /* @__PURE__ */ t.createElement(l.Button, {
458
- className: T(Ne, I.uploadButton),
458
+ className: B(Ne, I.uploadButton),
459
459
  "aria-roledescription": e("file-upload.aria-roledescription")
460
460
  }, /* @__PURE__ */ t.createElement($e, null), /* @__PURE__ */ t.createElement(l.Button.Text, null)), /* @__PURE__ */ t.createElement(l.Explanation, {
461
- className: T(ae, I.description, w.explanation)
461
+ className: B(ae, I.description, w.explanation)
462
462
  }), /* @__PURE__ */ t.createElement(l.Files, {
463
- className: T(ne, w.files)
463
+ className: B(ne, w.files)
464
464
  }, /* @__PURE__ */ t.createElement(l.Files.File, {
465
465
  className: w.file
466
466
  }, /* @__PURE__ */ t.createElement(l.Files.File.Name, {
@@ -468,15 +468,15 @@ const $e = (e) => /* @__PURE__ */ t.createElement("svg", {
468
468
  }), /* @__PURE__ */ t.createElement(l.Files.File.Spinner, {
469
469
  className: w.spinner,
470
470
  "aria-label": e("file-upload.file.uploading-spinner.aria-label")
471
- }, /* @__PURE__ */ t.createElement(Ye, null)), /* @__PURE__ */ t.createElement(l.Files.File.Remove, {
471
+ }, /* @__PURE__ */ t.createElement(We, null)), /* @__PURE__ */ t.createElement(l.Files.File.Remove, {
472
472
  className: w.removeButton,
473
473
  "aria-label": e("file-upload.delete-file.aria-label")
474
- }, /* @__PURE__ */ t.createElement(We, null)), /* @__PURE__ */ t.createElement(l.Files.File.Error, {
475
- className: T(le, I.error, w.fileError)
474
+ }, /* @__PURE__ */ t.createElement(Qe, null)), /* @__PURE__ */ t.createElement(l.Files.File.Error, {
475
+ className: B(le, I.error, w.fileError)
476
476
  }, /* @__PURE__ */ t.createElement(Ke, null), /* @__PURE__ */ t.createElement(l.Files.File.Error.Text, null)))), /* @__PURE__ */ t.createElement(l.Description, {
477
- className: T(ae, I.description)
477
+ className: B(ae, I.description)
478
478
  }, rt), /* @__PURE__ */ t.createElement(l.Error, {
479
- className: T(le, I.error)
479
+ className: B(le, I.error)
480
480
  }, /* @__PURE__ */ t.createElement(Le, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)));
481
481
  }, Ft = () => /* @__PURE__ */ t.createElement(nt, null);
482
482
  export {