@wix/form-elements 1.135.0 → 1.136.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-DsD7xLmb.js +1010 -0
  2. package/dist/component/{bookings-address-rac-BK-sU26E.js → bookings-address-rac-ByaFu51U.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DZ3HVkyn.js → bookings-email-rac-CxuvkcYw.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Ci4PHqOr.js → bookings-first-name-rac-JXLJa_7E.js} +1 -1
  5. package/dist/component/{bookings-header-rac-C_MYNrDA.js → bookings-header-rac-CIQTbf9d.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CdNlwyjm.js → bookings-last-name-rac-_2Xt4BPe.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CP2JcaVr.js → bookings-login-bar-rac-BUjys5i9.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-BV8sqxil.js → bookings-phone-rac-DlsdGmOt.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DQtcYRsh.js → bookings-rich-text-rac-BvRdhL7M.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DPNqHTNc.js → checkbox-field-rac-Be6wicaA.js} +121 -121
  11. package/dist/component/{checkbox-group-field-headless-DhhynlgN.js → checkbox-group-field-headless-BJ0pGvXi.js} +19 -19
  12. package/dist/component/{checkbox-group-field-rac-B3zOW7qr.js → checkbox-group-field-rac-D7xqqVf6.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Qy03hO31.js → checkbox-group-rac-DtCS-gEH.js} +1 -1
  14. package/dist/component/{checkbox-rac-DYr3RaHj.js → checkbox-rac-ub7MFwY-.js} +1 -1
  15. package/dist/component/{contacts-address-rac-Bi-etpfX.js → contacts-address-rac-Bwsdpg11.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-D2LLjX9P.js → contacts-birthdate-rac-D54hibhb.js} +1 -1
  17. package/dist/component/{contacts-company-rac-C9ImoG_i.js → contacts-company-rac-CKqzgKio.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DeGblC9V.js → contacts-email-rac-Dxm31wuY.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Xk3m57jK.js → contacts-first-name-rac-CXHsx6Vy.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BKE-1IYB.js → contacts-last-name-rac-B0S268f3.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-CHmtTutD.js → contacts-phone-rac-DEbgIiEj.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BS3TySLG.js → contacts-position-rac-D31uoOlR.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac--fpczJiB.js → contacts-subscribe-rac-DJ8NtoxZ.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CHkn8vkL.js → contacts-tax-id-rac-DTQffHAo.js} +1 -1
  25. package/dist/component/{date-availability-70Vb-dlb.js → date-availability-DmhJ9apH.js} +1 -1
  26. package/dist/component/{date-input-field-rac-BlkYEYM_.js → date-input-field-rac-BwM_q4FW.js} +52 -52
  27. package/dist/component/{date-input-rac-JdNFk07Q.js → date-input-rac-C93pgocp.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-DHu11mY1.js → date-picker-field-rac-CtZL368W.js} +5 -5
  29. package/dist/component/{date-picker-rac-CZtWhFzM.js → date-picker-rac-4DNe6hOX.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-cHAALqS5.js → date-time-input-field-rac-MlCVy3Oz.js} +58 -58
  31. package/dist/component/{date-time-input-rac-Dz7GfoJO.js → date-time-input-rac-ByyBvFgo.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-ZNKzyWda.js → dext-checkbox-group-rac-BP76Xwiq.js} +4 -4
  33. package/dist/component/{dext-checkbox-rac-DfPFXrKu.js → dext-checkbox-rac-DGaKSh4Z.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BPbl65qK.js → dext-date-picker-rac-UEXbMSlL.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-D5ywbLtW.js → dext-date-time-input-rac-CsJcGK4I.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BuVsPZOU.js → dext-dropdown-rac-BzbRzloh.js} +1 -1
  37. package/dist/component/{dext-email-rac-DRjt3lqT.js → dext-email-rac-DufFAnTi.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Bzrl87fo.js → dext-number-input-rac-D6xXi7B2.js} +1 -1
  39. package/dist/component/{dext-phone-rac-LibvQb8h.js → dext-phone-rac-svy9CDHW.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BTWnIvwW.js → dext-radio-group-rac-C4p9NuQS.js} +4 -4
  41. package/dist/component/{dext-rating-input-rac-DTlnOcC8.js → dext-rating-input-rac-wJ7-RFFN.js} +1 -1
  42. package/dist/component/{dext-tags-rac-YdeijviH.js → dext-tags-rac-D2myHrSZ.js} +4 -4
  43. package/dist/component/{dext-text-area-rac-CdCzQYey.js → dext-text-area-rac-B4Fw_9mF.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B28RTezm.js → dext-text-input-rac-DlZanFMT.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-B0ZBPbAb.js → dext-url-input-rac-DYjl3wuk.js} +1 -1
  46. package/dist/component/{donation-rac-_0cwsIAq.js → donation-rac-B6LwJxik.js} +72 -72
  47. package/dist/component/{dropdown-field-headless-DVZnbZAM.js → dropdown-field-headless-BAt2RoAH.js} +8 -8
  48. package/dist/component/{dropdown-field-rac-DWCj_Grt.js → dropdown-field-rac-DFjn3ecV.js} +7 -7
  49. package/dist/component/{dropdown-rac-Bpo-F5sc.js → dropdown-rac-DQ6keNRI.js} +1 -1
  50. package/dist/component/{ecom-address-rac-vJ0ku_Ld.js → ecom-address-rac-j1T2zp0k.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-DgVReM6c.js → ecom-subscription-checkbox-rac-viTaRZsk.js} +2 -2
  52. package/dist/component/{email-input-field-rac-BXJGOBg-.js → email-input-field-rac-5eb-1w7B.js} +46 -46
  53. package/dist/component/{events-repeater-rac-CrXE_ppd.js → events-repeater-rac-BtcoN_Ra.js} +23 -23
  54. package/dist/component/{events-rsvp-rac-BGg3P1CQ.js → events-rsvp-rac-DSzFEmty.js} +10 -10
  55. package/dist/component/{field-error-headless-C3eOy1_l.js → field-error-headless-Bpe041x2.js} +6 -6
  56. package/dist/component/{field-label-headless-BMmR_IeF.js → field-label-headless-BUuK1Ftv.js} +7 -7
  57. package/dist/component/{file-upload-rac-Umix6wXx.js → file-upload-rac-CfU8Ygwq.js} +50 -50
  58. package/dist/component/{fixed-payment-rac-CfIJCBjb.js → fixed-payment-rac-CYp7zNq8.js} +12 -12
  59. package/dist/component/{form-CYPNOMwk.js → form-C6lnbh2O.js} +831 -823
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-oxHUTKYV.js → header-field-rac-B7YfrhId.js} +4 -4
  63. package/dist/component/{header-rac-DTGV923r.js → header-rac-BtJKAKAz.js} +1 -1
  64. package/dist/component/{image-choice-rac-B9JGl_h7.js → image-choice-rac-Bmq7Pyg6.js} +32 -32
  65. package/dist/component/{index-BOKSOnDK.js → index-BjPSeVyh.js} +107 -107
  66. package/dist/component/{index-C_ktc-yO.js → index-CQdUOkIN.js} +5 -5
  67. package/dist/component/{isObjectLike-Di8V7txC.js → isObjectLike-CxNqKfU5.js} +7 -7
  68. package/dist/component/{multiline-address-field-rac-zgmTbXlg.js → multiline-address-field-rac-BeiUJWKd.js} +115 -115
  69. package/dist/component/{multiline-address-rac-Cyb3dvBf.js → multiline-address-rac-B2mocF6M.js} +1 -1
  70. package/dist/component/{number-input-field-rac-DquqqRy_.js → number-input-field-rac-CQX7_S2O.js} +24 -24
  71. package/dist/component/{number-input-rac-G2DdTbk2.js → number-input-rac-BZri-E8P.js} +1 -1
  72. package/dist/component/{password-rac-DJCU0F38.js → password-rac-CdwrtDJU.js} +50 -50
  73. package/dist/component/{payment-input-rac-DlIYza6N.js → payment-input-rac-ClQiqmjm.js} +38 -38
  74. package/dist/component/{phone-input-field-rac-B10TInMa.js → phone-input-field-rac-BtG_Rado.js} +56 -56
  75. package/dist/component/{phone-rac-BuyttJpM.js → phone-rac-CdcAMa5E.js} +1 -1
  76. package/dist/component/{product-list-rac-WrSJwQ_g.js → product-list-rac-Dp_YK6mo.js} +61 -61
  77. package/dist/component/{quiz-radio-group-rac-CHxZ_pK_.js → quiz-radio-group-rac-CorojxKD.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-DjJU-8ZB.js → radio-button-module-classes-ZX12Fyj4.js} +3 -3
  79. package/dist/component/{radio-group-field-rac-BImiqcKa.js → radio-group-field-rac-BifCDpE4.js} +10 -10
  80. package/dist/component/{radio-group-rac-CDkJeGpN.js → radio-group-rac-CJ2fzqnY.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-Dsr_S5qN.js → rating-input-field-rac-Dg1T0DZW.js} +28 -28
  82. package/dist/component/{rating-input-rac-BJUW8U93.js → rating-input-rac-Ba4YK13i.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-BfQJqA-x.js → rich-content-rac.module-BehwBL3L.js} +3 -3
  84. package/dist/component/{rich-text-field-rac-DIuZbu_u.js → rich-text-field-rac-DtIWdB-S.js} +7 -7
  85. package/dist/component/{rich-text-rac-C39fpEiP.js → rich-text-rac-BX4eDDFw.js} +1 -1
  86. package/dist/component/service-dropdown-rac-68WLBlsa.js +146 -0
  87. package/dist/component/{services-multi-choice-rac-GVb4qA7g.js → services-multi-choice-rac-8yNdAHfS.js} +7 -7
  88. package/dist/component/{signature-rac-nC5pr6nB.js → signature-rac-DeVOyl5O.js} +73 -73
  89. package/dist/component/{submit-button-rac-eUjgrx9Q.js → submit-button-rac-IOr1g-G-.js} +12 -12
  90. package/dist/component/{tags-field-rac-zv30chSd.js → tags-field-rac-DaiMlAxt.js} +27 -27
  91. package/dist/component/{tags-rac-PnS2SxVP.js → tags-rac-BgrUkY0A.js} +1 -1
  92. package/dist/component/{text-area-field-rac-DLeOMD4g.js → text-area-field-rac-CLPZEY93.js} +16 -16
  93. package/dist/component/{text-area-rac-jZ_mh45C.js → text-area-rac-C8PdPSzX.js} +1 -1
  94. package/dist/component/{text-input-field-rac-DifV7Erd.js → text-input-field-rac-Dm-xU8Rg.js} +5 -5
  95. package/dist/component/{text-input-headless-DhVEjorY.js → text-input-headless-BEmRjL8Z.js} +6 -6
  96. package/dist/component/{text-input-rac-Ce4qKN9M.js → text-input-rac-C-FnaOXT.js} +1 -1
  97. package/dist/component/{time-input-rac-1kW3aDIo.js → time-input-rac-VmTURkiK.js} +46 -46
  98. package/dist/component/{url-input-field-rac-D9xXAQCq.js → url-input-field-rac-CnnS0tVx.js} +23 -23
  99. package/dist/component/{url-input-rac-SaAybDdN.js → url-input-rac-6nd_ccoP.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-C_MO_0JS.js → use-dropdown-option-class-name-CcZl1qrj.js} +2 -2
  101. package/dist/component/{use-dropdown-trigger-class-name-D7EMiD-M.js → use-dropdown-trigger-class-name-BNc0mkdK.js} +4 -4
  102. package/dist/component/{use-element-state-class-name-DZFi3Z42.js → use-element-state-class-name-BU6RXqBy.js} +1 -1
  103. package/dist/component/{use-hoverable-input-class-name-JAZ1mif0.js → use-hoverable-input-class-name-CkXPkbiP.js} +2 -2
  104. package/dist/component/{use-service-options-base-ZX4iaxzr.js → use-service-options-base-B5afDbnr.js} +4 -4
  105. package/dist/component/use-text-input-class-name-BB3V6Q0b.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/appointment-rac-CYCddSl9.js +0 -1010
  108. package/dist/component/service-dropdown-rac-Bc9hEpx3.js +0 -146
  109. package/dist/component/use-text-input-class-name-XFjQX8q1.js +0 -6
@@ -1,20 +1,20 @@
1
- import t, { useState as $, useMemo as B, useCallback as V, useRef as k } from "react";
2
- import x from "classnames";
1
+ import t, { useState as $, useMemo as h, useCallback as V, useRef as x } from "react";
2
+ import M from "classnames";
3
3
  import { NumberField as z, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
4
- import { bn as q, bo as H, bd as K, bi as P, aF as Z, bh as y, be as X, bj as j, al as ee, I as te, h as se, m as ne, l as oe } from "./form-CYPNOMwk.js";
4
+ import { bp as q, bq as H, bf as K, bk as P, aH as Z, bj as y, bg as X, bl as j, an as ee, M as te, n as se, s as ne, r as oe } from "./form-C6lnbh2O.js";
5
5
  import { f as b, a as L } from "./find-child-C60k4CxG.js";
6
- import { L as re } from "./field-label-headless-BMmR_IeF.js";
6
+ import { L as re } from "./field-label-headless-BUuK1Ftv.js";
7
7
  import { S as ae } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  import { u as le } from "./use-invoke-callback-UH73A_J3.js";
9
- import { C as M } from "./chevron-down-icon-CcpVm6B-.js";
9
+ import { C as k } from "./chevron-down-icon-CcpVm6B-.js";
10
10
  import { C as ce } from "./checkbox-indicator-module-classes-6173wvuW.js";
11
11
  import { s as v } from "./field-rac.module-DfEb7pBp.js";
12
- import { u as ue } from "./use-element-state-class-name-DZFi3Z42.js";
13
- import { u as me } from "./use-text-input-class-name-XFjQX8q1.js";
12
+ import { u as ue } from "./use-element-state-class-name-BU6RXqBy.js";
13
+ import { u as me } from "./use-text-input-class-name-BB3V6Q0b.js";
14
14
  const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = ie, validation: c }) => {
15
- const [m, i] = $((o == null ? void 0 : o.length) || 0), u = B(() => o ?? [], [
15
+ const [m, i] = $((o == null ? void 0 : o.length) || 0), u = h(() => o ?? [], [
16
16
  o
17
- ]), d = q(), g = H(), C = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = B(() => Z({
17
+ ]), d = q(), g = H(), C = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = h(() => Z({
18
18
  form: {
19
19
  fields: s,
20
20
  steps: [
@@ -29,9 +29,9 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
29
29
  s,
30
30
  a,
31
31
  e
32
- ]), _ = B(() => l.reduce((E, I) => {
33
- const [h, N] = I.errorPath.split("/"), A = parseInt(h, 10);
34
- return E[A] || (E[A] = []), E[A].push({
32
+ ]), _ = h(() => l.reduce((E, I) => {
33
+ const [A, N] = I.errorPath.split("/"), B = parseInt(A, 10);
34
+ return E[B] || (E[B] = []), E[B].push({
35
35
  ...I,
36
36
  errorPath: N
37
37
  }), E;
@@ -41,18 +41,18 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
41
41
  const I = Number.isNaN(E) ? 0 : Math.min(Math.max(E, 0), F);
42
42
  i(I), n == null || n(Array.from({
43
43
  length: I
44
- }, (h, N) => u[N] ?? {}));
44
+ }, (A, N) => u[N] ?? {}));
45
45
  }, [
46
46
  F,
47
47
  u,
48
48
  n
49
- ]), D = V((E) => (I, h) => {
49
+ ]), D = V((E) => (I, A) => {
50
50
  const N = Array.from({
51
51
  length: m
52
- }, (A, U) => u[U] ?? {});
52
+ }, (B, U) => u[U] ?? {});
53
53
  N[E] = {
54
54
  ...N[E],
55
- [I]: h
55
+ [I]: A
56
56
  }, n == null || n(N);
57
57
  }, [
58
58
  m,
@@ -119,7 +119,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
119
119
  isReadOnly: o
120
120
  }, n, c, l);
121
121
  }, ge = ({ className: e }) => {
122
- const { id: s } = y(), { inputId: a, ariaDescribedBy: o } = X(), n = k(null);
122
+ const { id: s } = y(), { inputId: a, ariaDescribedBy: o } = X(), n = x(null);
123
123
  return j(() => {
124
124
  var l;
125
125
  (l = n.current) == null || l.focus();
@@ -137,7 +137,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
137
137
  slot: "increment",
138
138
  className: s
139
139
  }, e), S = ({ children: e, className: s, ...a }) => {
140
- const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = y(), { inputId: g, ariaDescribedBy: C } = X(), p = k(null);
140
+ const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = y(), { inputId: g, ariaDescribedBy: C } = X(), p = x(null);
141
141
  j(() => {
142
142
  var G;
143
143
  (G = p.current) == null || G.focus();
@@ -172,7 +172,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
172
172
  className: e
173
173
  }, a);
174
174
  }, T = ({ children: e, className: s, ...a }) => {
175
- const { guestCount: o, guests: n, errorsByIndex: l, formView: c, onGuestFieldChange: m } = a, { disabled: i, readOnly: u } = y(), d = B(() => ({
175
+ const { guestCount: o, guests: n, errorsByIndex: l, formView: c, onGuestFieldChange: m } = a, { disabled: i, readOnly: u } = y(), d = h(() => ({
176
176
  ...c,
177
177
  fields: c.fields.map((C) => ({
178
178
  ...C,
@@ -239,21 +239,21 @@ const Ne = "_container_p2psq_1", _e = "_countGroup_p2psq_8", Le = "_increment_p2
239
239
  return /* @__PURE__ */ t.createElement(r, {
240
240
  className: R.container
241
241
  }, /* @__PURE__ */ t.createElement(r.Label, {
242
- className: x(te, v.label)
242
+ className: M(te, v.label)
243
243
  }), /* @__PURE__ */ t.createElement(r.GuestCount, null, /* @__PURE__ */ t.createElement(r.GuestCount.Control, {
244
244
  className: e
245
245
  }, /* @__PURE__ */ t.createElement(r.GuestCount.Input, {
246
246
  className: v.innerInput
247
247
  }), /* @__PURE__ */ t.createElement(r.GuestCount.Increment, {
248
248
  className: R.increment
249
- }, /* @__PURE__ */ t.createElement(M, {
249
+ }, /* @__PURE__ */ t.createElement(k, {
250
250
  style: {
251
251
  transform: "rotate(180deg)"
252
252
  }
253
253
  })), /* @__PURE__ */ t.createElement(r.GuestCount.Decrement, {
254
254
  className: R.decrement
255
- }, /* @__PURE__ */ t.createElement(M, null)))), /* @__PURE__ */ t.createElement(r.GuestToggle, {
256
- className: x(se, v.checkbox)
255
+ }, /* @__PURE__ */ t.createElement(k, null)))), /* @__PURE__ */ t.createElement(r.GuestToggle, {
256
+ className: M(se, v.checkbox)
257
257
  }, /* @__PURE__ */ t.createElement(r.GuestToggle.Input, {
258
258
  className: s
259
259
  }), /* @__PURE__ */ t.createElement(r.GuestToggle.Label, {
@@ -1,12 +1,12 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
3
  import s from "classnames";
4
- import { a, s as n, R as c } from "./radio-button-module-classes-DjJU-8ZB.js";
4
+ import { a, s as n, R as c } from "./radio-button-module-classes-ZX12Fyj4.js";
5
5
  import { E as i } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as o } from "./field-rac.module-DfEb7pBp.js";
7
- import { I as E, U as p, P as R, Q as O, v as _, p as L, R as I } from "./form-CYPNOMwk.js";
8
- import { o as D } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as S } from "./use-element-state-class-name-DZFi3Z42.js";
7
+ import { M as E, Y as p, T as R, U as O, G as _, u as L, V as D } from "./form-C6lnbh2O.js";
8
+ import { o as I } from "./options-rac.module-_THNq6Qq.js";
9
+ import { u as S } from "./use-element-state-class-name-BU6RXqBy.js";
10
10
  const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(a, {
11
11
  className: l
12
12
  }, r);
@@ -15,12 +15,12 @@ e.Options = a.Options;
15
15
  e.Option = a.Option;
16
16
  e.Description = a.Description;
17
17
  e.Error = a.Error;
18
- const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
18
+ const u = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
19
19
  content: r,
20
20
  locale: l
21
- }), u = () => {
21
+ }), N = () => {
22
22
  const r = S({
23
- globalClasses: I,
23
+ globalClasses: D,
24
24
  moduleClasses: c
25
25
  });
26
26
  return /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
@@ -28,7 +28,7 @@ const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
28
28
  }, /* @__PURE__ */ t.createElement(e.Label.Required, {
29
29
  className: s(p, o.requiredMark)
30
30
  })), /* @__PURE__ */ t.createElement(e.Options, {
31
- className: s(R, D.options)
31
+ className: s(R, I.options)
32
32
  }, /* @__PURE__ */ t.createElement(e.Option, {
33
33
  className: n.option
34
34
  }, /* @__PURE__ */ t.createElement(e.Option.Input, {
@@ -41,8 +41,8 @@ const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
41
41
  className: s(_, o.error)
42
42
  }, /* @__PURE__ */ t.createElement(i, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
43
43
  className: s(L, o.description)
44
- }, N));
45
- }, v = () => /* @__PURE__ */ t.createElement(u, null);
44
+ }, u));
45
+ }, v = () => /* @__PURE__ */ t.createElement(N, null);
46
46
  export {
47
47
  v as EventsRsvpRAC
48
48
  };
@@ -1,23 +1,23 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { bh as c, be as i, b9 as f, aS as h, aT as x } from "./form-CYPNOMwk.js";
2
+ import { bj as c, bg as i, bb as b, aU as f, aV as x } from "./form-C6lnbh2O.js";
3
3
  const H = ({ className: r, children: e }) => {
4
- const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
4
+ const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = b();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
6
6
  className: r,
7
7
  id: a,
8
- "data-hook": h(o)
8
+ "data-hook": f(o)
9
9
  }, e({
10
10
  content: s,
11
11
  locale: n
12
12
  })) : null;
13
- }, l = /* @__PURE__ */ m(void 0), b = l.Provider, v = ({ className: r }) => {
13
+ }, l = /* @__PURE__ */ m(void 0), h = l.Provider, v = ({ className: r }) => {
14
14
  const e = M(l);
15
15
  return /* @__PURE__ */ t.createElement("span", {
16
16
  className: r
17
17
  }, e ?? "");
18
18
  }, D = ({ className: r, children: e, ...s }) => {
19
19
  const { hasError: o, errorMessage: a } = s, { target: n, hasError: E, errorMessage: d } = c(), { errorId: g } = i(), u = o ?? E, p = a ?? d;
20
- return u ? /* @__PURE__ */ t.createElement(b, {
20
+ return u ? /* @__PURE__ */ t.createElement(h, {
21
21
  value: p
22
22
  }, /* @__PURE__ */ t.createElement("div", {
23
23
  id: g,
@@ -29,6 +29,6 @@ D.Text = v;
29
29
  export {
30
30
  H as D,
31
31
  D as E,
32
- b as a,
32
+ h as a,
33
33
  v as b
34
34
  };
@@ -1,9 +1,9 @@
1
- import { bh as m, ay as d, az as p, be as D, br as B } from "./form-CYPNOMwk.js";
1
+ import { bj as m, aA as d, aB as p, bg as B, bt as D } from "./form-C6lnbh2O.js";
2
2
  import l from "react";
3
- import { f as L } from "./find-child-C60k4CxG.js";
4
- import { sdk as g } from "@wix/image-kit";
3
+ import { f as g } from "./find-child-C60k4CxG.js";
4
+ import { sdk as L } from "@wix/image-kit";
5
5
  function N({ id: e, width: t, height: n }, a, r, o = "fill") {
6
- return (o === "fit" ? g.getScaleToFitImageURL : g.getScaleToFillImageURL)(e, t, n, typeof a == "number" ? a : parseInt(a, 10), typeof r == "number" ? r : parseInt(r, 10));
6
+ return (o === "fit" ? L.getScaleToFitImageURL : L.getScaleToFillImageURL)(e, t, n, typeof a == "number" ? a : parseInt(a, 10), typeof r == "number" ? r : parseInt(r, 10));
7
7
  }
8
8
  var u = /* @__PURE__ */ (function(e) {
9
9
  return e.TOP = "top", e.BOTTOM = "bottom", e;
@@ -15,15 +15,15 @@ const S = {
15
15
  margin: 0,
16
16
  padding: 0
17
17
  }, U = "​", i = ({ children: e, className: t, ...n }) => {
18
- const { as: a = "label", requiredIndicatorHidden: r = !1, label: o } = n, { label: T, required: R = !1, hideLabel: F = !1, requiredIndicatorType: q = d.ASTERISK, requiredIndicatorPlacement: O = p.AFTER_FIELD_TITLE, media: y, mediaSettings: s } = m(), { labelId: A, inputId: P } = D(), _ = a, b = R && !r ? L(e, i.Required) : null, c = y ? L(e, i.Image) : null, E = (s == null ? void 0 : s.imagePosition) ?? u.TOP, h = q === d.ASTERISK && O === p.BEFORE_FIELD_TITLE, f = (o ?? T) || U, I = /* @__PURE__ */ l.createElement(_, {
19
- id: A,
18
+ const { as: a = "label", requiredIndicatorHidden: r = !1, label: o } = n, { label: T, required: R = !1, hideLabel: F = !1, requiredIndicatorType: q = d.ASTERISK, requiredIndicatorPlacement: O = p.AFTER_FIELD_TITLE, media: A, mediaSettings: s } = m(), { labelId: y, inputId: P } = B(), _ = a, b = R && !r ? g(e, i.Required) : null, c = A ? g(e, i.Image) : null, E = (s == null ? void 0 : s.imagePosition) ?? u.TOP, h = q === d.ASTERISK && O === p.BEFORE_FIELD_TITLE, f = (o ?? T) || U, I = /* @__PURE__ */ l.createElement(_, {
19
+ id: y,
20
20
  htmlFor: a === "label" ? P : void 0,
21
21
  className: t,
22
22
  style: F ? S : void 0
23
23
  }, h ? /* @__PURE__ */ l.createElement(l.Fragment, null, b, f) : /* @__PURE__ */ l.createElement(l.Fragment, null, f, b));
24
24
  return c ? /* @__PURE__ */ l.createElement("div", null, E === u.TOP ? c : null, I, E === u.BOTTOM ? c : null) : I;
25
25
  }, v = ({ className: e }) => {
26
- const { t } = B(), { requiredIndicatorType: n } = m();
26
+ const { t } = D(), { requiredIndicatorType: n } = m();
27
27
  return n === d.TEXT ? /* @__PURE__ */ l.createElement("span", {
28
28
  className: e,
29
29
  "aria-hidden": "true"
@@ -1,23 +1,23 @@
1
- import t, { useState as Y, useRef as H, useMemo as fe, useEffect as ne, useCallback as M, createContext as he, useContext as _e } from "react";
1
+ import t, { useState as $, useRef as q, useMemo as fe, useEffect as ne, useCallback as I, createContext as he, useContext as _e } from "react";
2
2
  import Le from "@wix/editor-react-components/AnimatedIcon";
3
3
  import { RicosViewer as Ce } from "@wix/ricos/viewer";
4
- import A from "classnames";
5
- import { bd as xe, br as oe, bm as Ne, ak as ve, bp as De, ad as ie, bq as Te, be as Ee, bh as z, bj as Se, bb as Be, ba as ye, I as Ze, U as Re, b as Ae, a8 as Ie, a9 as ce, p as ue, u as de, v as me, a7 as Me, f as te } from "./form-CYPNOMwk.js";
4
+ import M from "classnames";
5
+ import { bf as xe, bt as oe, bo as Ne, am as ve, br as De, af as ie, bs as Te, bg as Ee, bj as z, bl as Se, bd as Be, bc as ye, M as Ze, Y as Re, b as Me, aa as Ae, ab as ce, u as ue, z as de, G as me, a9 as Ie, f as te } from "./form-C6lnbh2O.js";
6
6
  import { E as Oe } from "./error-icon-hZxQ6DEy.js";
7
- import { s as $ } from "./field-rac.module-DfEb7pBp.js";
8
- import { u as pe } from "./use-element-state-class-name-DZFi3Z42.js";
9
- import { DropZone as we, Text as Ue, FileTrigger as Pe, Button as be, ProgressBar as qe, VisuallyHidden as He } from "react-aria-components";
7
+ import { s as Y } from "./field-rac.module-DfEb7pBp.js";
8
+ import { u as pe } from "./use-element-state-class-name-BU6RXqBy.js";
9
+ import { DropZone as we, Text as Ue, FileTrigger as Pe, Button as be, ProgressBar as He, VisuallyHidden as qe } from "react-aria-components";
10
10
  import { f as L, a as W } from "./find-child-C60k4CxG.js";
11
- import { b as ke, a as ze, D as Ve, E as je } from "./field-error-headless-C3eOy1_l.js";
12
- import { L as Ke } from "./field-label-headless-BMmR_IeF.js";
13
- const $e = {
11
+ import { b as ke, a as ze, D as Ve, E as je } from "./field-error-headless-Bpe041x2.js";
12
+ import { L as Ke } from "./field-label-headless-BUuK1Ftv.js";
13
+ const Ye = {
14
14
  Video: "video/*",
15
15
  Image: "image/*",
16
16
  Audio: "audio/*",
17
17
  Document: ".ai, .cdr, .csv, .doc, .docb, .docx, .dot, .dotx, .dwg, .eps, .epub, .fla, .gpx, .ical, .icalendar, .ics, .ifb, .indd, .ipynb, .key, .kml, .kmz, .mobi, .mtf, .mtx, .numbers, .odg, .odp, .ods, .odt, .otp, .ots, .ott, .oxps, .pages, .pdf, .pdn, .pkg, .pot, .potx, .pps, .ppsx, .ppt, .pptx, .psd, .pub, .rtf, .sldx, .txt, .json, .vcf, .xcf, .xls, .xlsx, .xlt, .xltx, .xlw, .xps,.xml,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/pdf,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel",
18
18
  Archive: ".zip, .rar, .tar, .tar.gz, .gz, .gzip, .jar, .7z, .fgz, .webarchive",
19
19
  Model3D: ".gltf, .glb"
20
- }, Ye = (e) => {
20
+ }, $e = (e) => {
21
21
  const { actions: n, formId: o } = xe();
22
22
  return async (a, s, d) => {
23
23
  if (!(n != null && n.uploadFile) || !a.length)
@@ -44,7 +44,7 @@ const $e = {
44
44
  };
45
45
  };
46
46
  function We({ valueSliderLimit: e, value: n, explanationText: o, target: a, onChange: s, uploadFileFormats: d, onBlur: E, onFilesCleared: C }) {
47
- const [r, i] = Y(Qe(n)), [x, m] = Y(n || []), [p, c] = Y(), T = Ye(a), { t: N } = oe(), F = Ne().includes(ve.BUTTONS_HOVER), { setFormStatus: B } = De(), Z = H(!1), y = H(s);
47
+ const [r, i] = $(Ge(n)), [x, m] = $(n || []), [p, c] = $(), T = $e(a), { t: N } = oe(), F = Ne().includes(ve.BUTTONS_HOVER), { setFormStatus: B } = De(), Z = q(!1), y = q(s);
48
48
  y.current = s;
49
49
  const v = fe(() => r.some((f) => f.state === "uploading"), [
50
50
  r
@@ -56,7 +56,7 @@ function We({ valueSliderLimit: e, value: n, explanationText: o, target: a, onCh
56
56
  B,
57
57
  a
58
58
  ]);
59
- const u = M(() => {
59
+ const u = I(() => {
60
60
  if (!r.length)
61
61
  return;
62
62
  const h = r.filter((f) => f.state === "uploading").length;
@@ -72,11 +72,11 @@ function We({ valueSliderLimit: e, value: n, explanationText: o, target: a, onCh
72
72
  }, [
73
73
  r,
74
74
  N
75
- ]), R = M(() => r.length ? r.some((f) => f.state === "uploading") ? u() : o || u() : o, [
75
+ ]), R = I(() => r.length ? r.some((f) => f.state === "uploading") ? u() : o || u() : o, [
76
76
  r,
77
77
  o,
78
78
  u
79
- ]), S = M(async (h) => {
79
+ ]), S = I(async (h) => {
80
80
  await T(h, ({ file: f, uploadedFile: _ }) => {
81
81
  i((b) => b.map((g) => g.file === f ? {
82
82
  file: f,
@@ -128,7 +128,7 @@ function We({ valueSliderLimit: e, value: n, explanationText: o, target: a, onCh
128
128
  }
129
129
  }, K = () => {
130
130
  p && c(void 0), E();
131
- }, Q = d.map((h) => $e[h]).join(), X = M(() => {
131
+ }, G = d.map((h) => Ye[h]).join(), X = I(() => {
132
132
  i([]), m([]);
133
133
  }, []);
134
134
  return Te(X), {
@@ -139,11 +139,11 @@ function We({ valueSliderLimit: e, value: n, explanationText: o, target: a, onCh
139
139
  getStatusText: u,
140
140
  handleChange: j,
141
141
  handleDelete: w,
142
- accept: Q,
142
+ accept: G,
143
143
  handleBlur: K
144
144
  };
145
145
  }
146
- function Qe(e = []) {
146
+ function Ge(e = []) {
147
147
  const n = e || [];
148
148
  try {
149
149
  return n.map((o) => ({
@@ -191,7 +191,7 @@ const k = ({ children: e, className: n }) => {
191
191
  }, /* @__PURE__ */ t.createElement(Ue, {
192
192
  slot: "label"
193
193
  }, C, r), i);
194
- }, Ge = ({ className: e, children: n }) => {
194
+ }, Qe = ({ className: e, children: n }) => {
195
195
  const { limitReached: o } = V();
196
196
  return /* @__PURE__ */ t.createElement("p", {
197
197
  className: e
@@ -245,11 +245,11 @@ const k = ({ children: e, className: n }) => {
245
245
  }, n);
246
246
  };
247
247
  re.Text = Xe;
248
- k.Title = Ge;
248
+ k.Title = Qe;
249
249
  k.Subtitle = Je;
250
250
  k.Button = re;
251
- const I = ({ children: e, className: n, ...o }) => {
252
- const { file: a, index: s } = o, d = a.file.name, E = L(e, I.Name), C = L(e, I.Remove), r = L(e, I.Spinner), i = L(e, I.Error);
251
+ const A = ({ children: e, className: n, ...o }) => {
252
+ const { file: a, index: s } = o, d = a.file.name, E = L(e, A.Name), C = L(e, A.Remove), r = L(e, A.Spinner), i = L(e, A.Error);
253
253
  return /* @__PURE__ */ t.createElement("div", {
254
254
  className: n
255
255
  }, W(E, {
@@ -266,7 +266,7 @@ const I = ({ children: e, className: n, ...o }) => {
266
266
  className: e
267
267
  }, o);
268
268
  }, tt = ({ className: e, "aria-label": n, children: o, ...a }) => {
269
- const { fileName: s, index: d } = a, { disabled: E } = z(), { handleDelete: C, fileRemoveButtonRefs: r } = V(), i = H(null);
269
+ const { fileName: s, index: d } = a, { disabled: E } = z(), { handleDelete: C, fileRemoveButtonRefs: r } = V(), i = q(null);
270
270
  ne(() => {
271
271
  const m = r.current, p = s;
272
272
  return m[p] = i, () => {
@@ -296,15 +296,15 @@ const I = ({ children: e, className: n, ...o }) => {
296
296
  className: e,
297
297
  role: "alert"
298
298
  }, n)) : null;
299
- }, nt = ({ className: e, "aria-label": n, children: o }) => /* @__PURE__ */ t.createElement(qe, {
299
+ }, nt = ({ className: e, "aria-label": n, children: o }) => /* @__PURE__ */ t.createElement(He, {
300
300
  "aria-label": n,
301
301
  className: e,
302
302
  isIndeterminate: !0
303
303
  }, o);
304
- I.Name = et;
305
- I.Remove = tt;
306
- I.Spinner = nt;
307
- I.Error = Fe;
304
+ A.Name = et;
305
+ A.Remove = tt;
306
+ A.Spinner = nt;
307
+ A.Error = Fe;
308
308
  Fe.Text = ke;
309
309
  const ae = ({ children: e, className: n }) => {
310
310
  const { files: o } = V(), a = L(e, ae.File);
@@ -316,9 +316,9 @@ const ae = ({ children: e, className: n }) => {
316
316
  index: d
317
317
  })));
318
318
  };
319
- ae.File = I;
319
+ ae.File = A;
320
320
  const J = (e) => e.file.name, l = ({ children: e }) => {
321
- const { t: n } = oe(), { id: o, value: a, onChange: s, uploadFileFormats: d, valueSliderLimit: E, target: C, explanationText: r, onBlur: i, hasError: x, errorMessage: m, FieldLayout: p } = z(), c = H(null), T = H({}), N = H(!1), O = M(() => {
321
+ const { t: n } = oe(), { id: o, value: a, onChange: s, uploadFileFormats: d, valueSliderLimit: E, target: C, explanationText: r, onBlur: i, hasError: x, errorMessage: m, FieldLayout: p } = z(), c = q(null), T = q({}), N = q(!1), O = I(() => {
322
322
  c.current ? c.current.focus() : N.current = !0;
323
323
  }, []), { files: F, limitError: B, hover: Z, getExplanationText: y, getStatusText: v, handleBlur: u, handleChange: R, handleDelete: S, accept: j } = We({
324
324
  valueSliderLimit: E,
@@ -329,10 +329,10 @@ const J = (e) => e.file.name, l = ({ children: e }) => {
329
329
  uploadFileFormats: d,
330
330
  onBlur: i,
331
331
  onFilesCleared: O
332
- }), w = M((P) => {
332
+ }), w = I((P) => {
333
333
  var se;
334
- const G = F[P], q = J(G);
335
- F.length > 1 && ((se = (F.filter((ee) => J(ee) !== q).map((ee) => T.current[J(ee)]).find(Boolean) ?? c).current) == null || se.focus()), S(P);
334
+ const Q = F[P], H = J(Q);
335
+ F.length > 1 && ((se = (F.filter((ee) => J(ee) !== H).map((ee) => T.current[J(ee)]).find(Boolean) ?? c).current) == null || se.focus()), S(P);
336
336
  }, [
337
337
  S,
338
338
  F
@@ -342,13 +342,13 @@ const J = (e) => e.file.name, l = ({ children: e }) => {
342
342
  }, [
343
343
  F
344
344
  ]);
345
- const K = E > 1, Q = F.length >= E, X = fe(() => ({
345
+ const K = E > 1, G = F.length >= E, X = fe(() => ({
346
346
  handleFileChange: R,
347
347
  handleBlur: u,
348
348
  handleDelete: w,
349
349
  files: F,
350
350
  accept: j,
351
- limitReached: Q,
351
+ limitReached: G,
352
352
  multiple: K,
353
353
  getExplanationText: y,
354
354
  getStatusText: v,
@@ -362,7 +362,7 @@ const J = (e) => e.file.name, l = ({ children: e }) => {
362
362
  w,
363
363
  F,
364
364
  j,
365
- Q,
365
+ G,
366
366
  K,
367
367
  y,
368
368
  v,
@@ -370,12 +370,12 @@ const J = (e) => e.file.name, l = ({ children: e }) => {
370
370
  B
371
371
  ]), h = L(e, l.Label), f = L(e, l.DropZone), _ = L(e, l.Button), b = L(e, l.Explanation), g = L(e, l.Files), U = L(e, l.Description), le = L(e, l.Error);
372
372
  return Se(() => {
373
- var P, G;
373
+ var P, Q;
374
374
  if (c.current) {
375
375
  c.current.focus();
376
376
  return;
377
377
  }
378
- (G = (P = F.map((q) => T.current[J(q)]).find((q) => q == null ? void 0 : q.current)) == null ? void 0 : P.current) == null || G.focus();
378
+ (Q = (P = F.map((H) => T.current[J(H)]).find((H) => H == null ? void 0 : H.current)) == null ? void 0 : P.current) == null || Q.focus();
379
379
  }, o), /* @__PURE__ */ t.createElement(ge.Provider, {
380
380
  value: X
381
381
  }, /* @__PURE__ */ t.createElement(p, {
@@ -385,7 +385,7 @@ const J = (e) => e.file.name, l = ({ children: e }) => {
385
385
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, W(le, {
386
386
  hasError: !!(x || B),
387
387
  errorMessage: B ?? m
388
- }), /* @__PURE__ */ t.createElement(He, {
388
+ }), /* @__PURE__ */ t.createElement(qe, {
389
389
  role: "status",
390
390
  "aria-live": "polite",
391
391
  "aria-atomic": "true"
@@ -492,22 +492,22 @@ const rt = (e) => /* @__PURE__ */ t.createElement("svg", {
492
492
  hover: D.dropZoneHover
493
493
  }
494
494
  }), d = pe({
495
- globalClasses: Me,
495
+ globalClasses: Ie,
496
496
  moduleClasses: {
497
497
  base: D.button,
498
498
  hover: D.buttonHover
499
499
  }
500
- }), E = (v = (y = (Z = (B = Be().dropZone) == null ? void 0 : B.elementProps) == null ? void 0 : Z.uploadButton) == null ? void 0 : y.elementProps) == null ? void 0 : v.icon, { wix: C, className: r, ...i } = E ?? {}, x = ye(te.DROP_ZONE, te.UPLOAD_BUTTON, te.UPLOAD_BUTTON_LABEL), m = H(null), [p, c] = Y(!1), [T, N] = Y(!1), O = M(() => {
500
+ }), E = (v = (y = (Z = (B = Be().dropZone) == null ? void 0 : B.elementProps) == null ? void 0 : Z.uploadButton) == null ? void 0 : y.elementProps) == null ? void 0 : v.icon, { wix: C, className: r, ...i } = E ?? {}, x = ye(te.DROP_ZONE, te.UPLOAD_BUTTON, te.UPLOAD_BUTTON_LABEL), m = q(null), [p, c] = $(!1), [T, N] = $(!1), O = I(() => {
501
501
  var u;
502
502
  c(!0), (u = m.current) == null || u.runAnimationForward();
503
- }, []), F = M(() => {
503
+ }, []), F = I(() => {
504
504
  var u;
505
505
  c(!1), (u = m.current) == null || u.runAnimationBackward();
506
506
  }, []);
507
507
  return /* @__PURE__ */ t.createElement(l, null, /* @__PURE__ */ t.createElement(l.Label, {
508
- className: A(Ze, $.label)
508
+ className: M(Ze, Y.label)
509
509
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
510
- className: A(Re, $.requiredMark)
510
+ className: M(Re, Y.requiredMark)
511
511
  })), /* @__PURE__ */ t.createElement(l.DropZone, {
512
512
  className: ({ isHovered: u, isFocused: R, isDropTarget: S }) => s({
513
513
  isSelected: !1,
@@ -533,18 +533,18 @@ const rt = (e) => /* @__PURE__ */ t.createElement("svg", {
533
533
  }, i.svg ? /* @__PURE__ */ t.createElement(Le, {
534
534
  ...i,
535
535
  ref: m,
536
- className: A(Ae, Ie, r)
536
+ className: M(Me, Ae, r)
537
537
  }) : E ? null : /* @__PURE__ */ t.createElement(rt, null), /* @__PURE__ */ t.createElement(l.DropZone.Button.Text, {
538
- className: A(ce.base, D.buttonLabel, x, {
538
+ className: M(ce.base, D.buttonLabel, x, {
539
539
  [ce.hover]: a && (p || T)
540
540
  })
541
541
  }))), /* @__PURE__ */ t.createElement(l.Explanation, {
542
- className: A(ue, $.description, D.explanation),
542
+ className: M(ue, Y.description, D.explanation),
543
543
  showUploadStatusOnly: !0
544
544
  }), /* @__PURE__ */ t.createElement(l.Files, {
545
545
  className: D.files
546
546
  }, /* @__PURE__ */ t.createElement(l.Files.File, {
547
- className: A(de.base, D.file)
547
+ className: M(de.base, D.file)
548
548
  }, /* @__PURE__ */ t.createElement(l.Files.File.Name, {
549
549
  className: D.fileName
550
550
  }), /* @__PURE__ */ t.createElement(l.Files.File.Spinner, {
@@ -554,11 +554,11 @@ const rt = (e) => /* @__PURE__ */ t.createElement("svg", {
554
554
  className: D.removeButton,
555
555
  "aria-label": e("file-upload.delete-file.aria-label")
556
556
  }, /* @__PURE__ */ t.createElement(lt, null)), /* @__PURE__ */ t.createElement(l.Files.File.Error, {
557
- className: A(me, $.error, D.fileError)
557
+ className: M(me, Y.error, D.fileError)
558
558
  }, /* @__PURE__ */ t.createElement(at, null), /* @__PURE__ */ t.createElement(l.Files.File.Error.Text, null)))), /* @__PURE__ */ t.createElement(l.Description, {
559
- className: A(ue, $.description)
559
+ className: M(ue, Y.description)
560
560
  }, Ct), /* @__PURE__ */ t.createElement(l.Error, {
561
- className: A(me, $.error)
561
+ className: M(me, Y.error)
562
562
  }, /* @__PURE__ */ t.createElement(Oe, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)));
563
563
  }, wt = () => /* @__PURE__ */ t.createElement(xt, null);
564
564
  export {
@@ -1,11 +1,11 @@
1
1
  import t, { useMemo as _ } from "react";
2
2
  import { RicosViewer as A } from "@wix/ricos/viewer";
3
3
  import u from "classnames";
4
- import { bh as C, b9 as I, be as P, I as O, J as S, p as x } from "./form-CYPNOMwk.js";
5
- import { f as c, a as N } from "./find-child-C60k4CxG.js";
4
+ import { bj as C, bb as I, bg as P, M as N, N as O, u as S } from "./form-C6lnbh2O.js";
5
+ import { f as c, a as x } from "./find-child-C60k4CxG.js";
6
6
  import { f as R } from "./format-currency-BwShJ9vM.js";
7
- import { D as v, E as M } from "./field-error-headless-C3eOy1_l.js";
8
- import { L as g } from "./field-label-headless-BMmR_IeF.js";
7
+ import { D as v, E as M } from "./field-error-headless-Bpe041x2.js";
8
+ import { L as g } from "./field-label-headless-BUuK1Ftv.js";
9
9
  import { s as L } from "./field-rac.module-DfEb7pBp.js";
10
10
  const e = ({ children: r }) => {
11
11
  var p;
@@ -14,16 +14,16 @@ const e = ({ children: r }) => {
14
14
  return (f = (E = (d = n == null ? void 0 : n.predefined) == null ? void 0 : d.paymentOptions) == null ? void 0 : E.products) == null ? void 0 : f[0];
15
15
  }, [
16
16
  n
17
- ]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, y = c(r, e.Label), F = c(r, e.Amount), b = c(r, e.Description), D = c(r, e.Error);
17
+ ]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, b = c(r, e.Label), y = c(r, e.Amount), F = c(r, e.Description), D = c(r, e.Error);
18
18
  return /* @__PURE__ */ t.createElement(l, {
19
19
  fieldId: a,
20
- renderLabel: () => y,
21
- renderInput: () => N(F, {
20
+ renderLabel: () => b,
21
+ renderInput: () => x(y, {
22
22
  price: i,
23
23
  currencyCode: o == null ? void 0 : o.code,
24
24
  locale: m
25
25
  }),
26
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, b)
26
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, F)
27
27
  });
28
28
  }, B = ({ className: r, ...a }) => {
29
29
  const { price: n, currencyCode: l, locale: o } = a, { inputId: m, ariaDescribedBy: s } = P(), i = R({
@@ -44,17 +44,17 @@ e.Label = T;
44
44
  e.Amount = B;
45
45
  e.Description = v;
46
46
  e.Error = M;
47
- const V = "_value_c7203_1", h = {
47
+ const V = "_value_c7203_1", j = {
48
48
  value: V
49
49
  }, k = ({ content: r, locale: a }) => /* @__PURE__ */ t.createElement(A, {
50
50
  content: r,
51
51
  locale: a
52
52
  }), w = () => /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
53
- className: u(O, L.label)
53
+ className: u(N, L.label)
54
54
  }), /* @__PURE__ */ t.createElement(e.Amount, {
55
- className: u(S, h.value)
55
+ className: u(O, j.value)
56
56
  }), /* @__PURE__ */ t.createElement(e.Description, {
57
- className: u(x, L.description)
57
+ className: u(S, L.description)
58
58
  }, k)), W = () => /* @__PURE__ */ t.createElement(w, null);
59
59
  export {
60
60
  W as FixedPaymentRAC