@wix/form-elements 1.166.0 → 1.167.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-BXpWILhi.js → appointment-rac-BbXyKTd7.js} +72 -72
  2. package/dist/component/{bookings-address-rac-Cf--TgsR.js → bookings-address-rac-VJkR_U9L.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BtB8owOl.js → bookings-email-rac-_EupwXpQ.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CBFDjB_k.js → bookings-first-name-rac-DTZixHYj.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CrJORcuL.js → bookings-header-rac-BKbKTv5g.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-erG4ldFt.js → bookings-last-name-rac-BDy860-C.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Di4qLQUH.js → bookings-login-bar-rac-DgNP-YNZ.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DdM48Obh.js → bookings-phone-rac-B_I6n96b.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Cl8zOiU1.js → bookings-rich-text-rac-prYPbIiz.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CzIDF6aj.js → checkbox-field-rac-C-4PXuxG.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-B8tsQCwV.js → checkbox-group-field-headless-D16bAcaq.js} +35 -35
  12. package/dist/component/{checkbox-group-field-rac-h02K8CPA.js → checkbox-group-field-rac-GUQ5dO_s.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-GfebLnuS.js → checkbox-group-rac-Bl6xL5-H.js} +1 -1
  14. package/dist/component/{checkbox-rac-Dn24U4oG.js → checkbox-rac-Blg0KVyP.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CtVtIwOV.js → contacts-address-rac-BfOhCAj8.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CK2odpbJ.js → contacts-birthdate-rac-DYBvDh62.js} +1 -1
  17. package/dist/component/{contacts-company-rac-ue8vAn9A.js → contacts-company-rac-DIJr7zjA.js} +1 -1
  18. package/dist/component/{contacts-email-rac-lleErjYl.js → contacts-email-rac-DjmqELhC.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-D5wtz4Z1.js → contacts-first-name-rac-DGNll7gw.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Cj9GKWBY.js → contacts-last-name-rac-BJ8AZYQN.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BP6unckw.js → contacts-phone-rac-BC-QtpEN.js} +1 -1
  22. package/dist/component/{contacts-position-rac-XjUdZglr.js → contacts-position-rac-BQia__74.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-Dnpbgw5C.js → contacts-subscribe-rac-CTFptz01.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-pNFMOZl6.js → contacts-tax-id-rac-Cy72Jouc.js} +1 -1
  25. package/dist/component/{date-availability-BRA7k6ep.js → date-availability-BC6updcS.js} +1 -1
  26. package/dist/component/{date-input-field-rac-B15XH-D_.js → date-input-field-rac-b_T1yf8D.js} +38 -38
  27. package/dist/component/{date-input-rac-B7XvsFeB.js → date-input-rac-KkRyWRP_.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BNgKcgVi.js → date-picker-field-rac-BLWVJbTJ.js} +6 -6
  29. package/dist/component/{date-picker-rac-P54cHP86.js → date-picker-rac-DKCQza7v.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Dt-jUznP.js → date-time-input-field-rac-CZxZW6fz.js} +45 -45
  31. package/dist/component/{date-time-input-rac-DHmOLCvg.js → date-time-input-rac-DQ-iBwmr.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Bo2ZRcJc.js → dext-checkbox-group-rac-kp1Jbwt-.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BdA2i9PR.js → dext-checkbox-rac-CBm9cRUz.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BME9ZDFy.js → dext-date-picker-rac-DsVKWsRy.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-owEU8r5-.js → dext-date-time-input-rac-CO26-8Qo.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BAeN43fo.js → dext-dropdown-rac-eRzu2C-y.js} +1 -1
  37. package/dist/component/{dext-email-rac-D7HBfCis.js → dext-email-rac-DDrZzE_G.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DEB2ji5S.js → dext-number-input-rac-Dj7sInLk.js} +1 -1
  39. package/dist/component/{dext-phone-rac-TOfFCmhD.js → dext-phone-rac-g8M77F7m.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DGsQLres.js → dext-radio-group-rac-BjhygC0R.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CFcRQeE7.js → dext-rating-input-rac-BraNjvyA.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CGsaKVfb.js → dext-tags-rac-B5mAIuDi.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BqbLXOdt.js → dext-text-area-rac-D_YBnaWi.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CpXfQV53.js → dext-text-input-rac-BzeWH1jv.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Bbm3_OG9.js → dext-url-input-rac-Cn0h_vx3.js} +1 -1
  46. package/dist/component/{donation-rac-DvBAOz6H.js → donation-rac-CQRdHxWh.js} +46 -46
  47. package/dist/component/{dropdown-field-rac-BW0UDoBO.js → dropdown-field-rac-C7LL0W5Z.js} +3 -3
  48. package/dist/component/{dropdown-rac-B6ZD6Qgb.js → dropdown-rac-Nb2VyJ0x.js} +1 -1
  49. package/dist/component/{ecom-address-rac-Dnv9Yswd.js → ecom-address-rac-_c2YIIwg.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-BVqvUwn4.js → ecom-subscription-checkbox-rac-Bma7TAVj.js} +2 -2
  51. package/dist/component/{email-input-field-rac-CuaMcfZR.js → email-input-field-rac-2E2tEaS5.js} +47 -47
  52. package/dist/component/events-repeater-rac-COWHYBFD.js +280 -0
  53. package/dist/component/{events-rsvp-rac-D4hSrIsE.js → events-rsvp-rac-CXp8j19Y.js} +3 -3
  54. package/dist/component/{field-error-headless-NGaTm3dF.js → field-error-headless-S-ugOQQX.js} +7 -7
  55. package/dist/component/{field-label-headless-Bx1UjEcp.js → field-label-headless-_n4I0_tX.js} +14 -14
  56. package/dist/component/{file-upload-rac-oOnemmUg.js → file-upload-rac-DCH_iwDg.js} +79 -79
  57. package/dist/component/{fixed-payment-rac-C9YkIvQO.js → fixed-payment-rac-CYkKJUfM.js} +14 -14
  58. package/dist/component/{form-sH9m0ReT.js → form-jK8ezTss.js} +1110 -1109
  59. package/dist/component/form.css +1 -1
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-N5Oclne_.js → header-field-rac-DnbjI6W5.js} +6 -6
  62. package/dist/component/{header-rac-CTmSJdoY.js → header-rac-DKUICrni.js} +1 -1
  63. package/dist/component/{image-choice-rac-BYZ61yof.js → image-choice-rac-B_9ponST.js} +4 -4
  64. package/dist/component/{index-B56GTN_5.js → index-BxdMzOvN.js} +68 -68
  65. package/dist/component/{index-SHZx7XzS.js → index-ZYnsxY-a.js} +2 -2
  66. package/dist/component/{isObjectLike-BFpR7Q-o.js → isObjectLike-BW-9QEQl.js} +9 -9
  67. package/dist/component/{multiline-address-field-rac-DvMyN2gF.js → multiline-address-field-rac-k-P0ijWG.js} +40 -40
  68. package/dist/component/{multiline-address-rac-Cfv0QzzV.js → multiline-address-rac-Bbn9mNDa.js} +1 -1
  69. package/dist/component/{number-input-field-rac-CWQw7p2k.js → number-input-field-rac--lom-B_X.js} +7 -7
  70. package/dist/component/{number-input-rac-DJ2Nh9Vm.js → number-input-rac-Bhbd6T9S.js} +1 -1
  71. package/dist/component/{password-rac-ayoa5FQV.js → password-rac-BV_uTHb3.js} +14 -14
  72. package/dist/component/{payment-input-rac-CBjP_xjz.js → payment-input-rac-cawyGN_t.js} +28 -28
  73. package/dist/component/{phone-input-field-rac-BWOEiUK7.js → phone-input-field-rac-CsElHRto.js} +67 -67
  74. package/dist/component/{phone-rac-Dp7FouV3.js → phone-rac-XrHN5Nko.js} +1 -1
  75. package/dist/component/{product-list-rac-D_EoPXl-.js → product-list-rac-cxv_xz7K.js} +30 -30
  76. package/dist/component/{quiz-radio-group-rac-RWM0riuU.js → quiz-radio-group-rac-DGaxOPE1.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-nK-xhmxh.js → radio-button-module-classes-Xv2Jn01x.js} +21 -21
  78. package/dist/component/{radio-group-field-rac-Cc-pvwZn.js → radio-group-field-rac-DgGqgTql.js} +4 -4
  79. package/dist/component/{radio-group-rac-xvesuLSn.js → radio-group-rac-Bh0E-oe1.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-BgMRUXQy.js → rating-input-field-rac-C3YLV971.js} +10 -10
  81. package/dist/component/{rating-input-rac-CeZtJR2S.js → rating-input-rac-CfcC5EUh.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-Cv7PIbmM.js → rich-content-rac.module-DUjzLGtX.js} +5 -5
  83. package/dist/component/{rich-text-field-rac-CmbNBe2u.js → rich-text-field-rac-BmguoJhk.js} +5 -5
  84. package/dist/component/{rich-text-rac-9hwPCQXl.js → rich-text-rac-BWhHcq25.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-2Wjgmo75.js → service-dropdown-rac-C5oX-ql7.js} +30 -30
  86. package/dist/component/{services-multi-choice-rac-cZ7elBhc.js → services-multi-choice-rac-C1fem9NB.js} +12 -12
  87. package/dist/component/{signature-rac-BfE2328G.js → signature-rac-BtHqiWj1.js} +62 -62
  88. package/dist/component/{submit-button-rac-oYO7pska.js → submit-button-rac-OYeKJFF8.js} +39 -39
  89. package/dist/component/{tags-field-rac-B-_LzCFU.js → tags-field-rac-kA2RSijL.js} +37 -37
  90. package/dist/component/{tags-rac-D5bRM462.js → tags-rac-B_2qCZGu.js} +1 -1
  91. package/dist/component/{text-area-field-rac-fwtICvjX.js → text-area-field-rac-DeO609Mv.js} +17 -17
  92. package/dist/component/{text-area-rac-C4EkhfB5.js → text-area-rac-BAQFBOZd.js} +1 -1
  93. package/dist/component/{text-input-field-rac-CxZYUtxX.js → text-input-field-rac-CCcKwuLZ.js} +3 -3
  94. package/dist/component/{text-input-headless-DK5wBGBb.js → text-input-headless-D8-jkaYm.js} +8 -8
  95. package/dist/component/{text-input-rac-FS49SxCK.js → text-input-rac-BVcgjj8g.js} +1 -1
  96. package/dist/component/{time-input-rac-CDUVS7kp.js → time-input-rac-BYctyHgU.js} +11 -11
  97. package/dist/component/{url-input-field-rac-B2ypvh7T.js → url-input-field-rac-COC9qgcs.js} +23 -23
  98. package/dist/component/{url-input-rac-DbJx2T1R.js → url-input-rac-BZXLh0Ej.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-0ZlT4g7h.js → use-dropdown-option-class-name-BTltqRl1.js} +2 -2
  100. package/dist/component/use-dropdown-trigger-class-name-BjJZfl3i.js +98 -0
  101. package/dist/component/{use-element-state-class-name-DCAoZgWT.js → use-element-state-class-name-CkT6Ga8t.js} +3 -3
  102. package/dist/component/{use-hoverable-input-class-name-BvP8fzTQ.js → use-hoverable-input-class-name-BkoSr6tr.js} +2 -2
  103. package/dist/component/{use-is-forced-open-dropdown-B-eR29aQ.js → use-is-forced-open-dropdown-fo_NCnSk.js} +1 -1
  104. package/dist/component/{use-service-options-base-BF_peAsS.js → use-service-options-base-Wp8RZ4Z8.js} +1 -1
  105. package/dist/component/use-text-input-class-name-DS7i03Gk.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/events-repeater-rac-CNsh8NRh.js +0 -271
  108. package/dist/component/use-dropdown-trigger-class-name-PItHRYWo.js +0 -96
  109. package/dist/component/use-text-input-class-name-CQf8yep5.js +0 -6
@@ -6,12 +6,12 @@ import { E as lt } from "./error-icon-hZxQ6DEy.js";
6
6
  import { g as ct, c as Ce } from "./calendar.module-BMUyMVja.js";
7
7
  import { H as me } from "./custom-focus-class-_483Pkwp.js";
8
8
  import { s as ue } from "./field-rac.module-ts2t4WUO.js";
9
- import { bq as Ee, bp as mt, bu as ge, bs as ut, bI as dt, bH as Dt, by as ie, bv as le, bA as ft, bx as Et, F as St, h as _t, U as pt, aa as Nt, g as At, j as xe, i as yt, n as It, k as Ot, l as Lt, K as Tt, G as bt, m as gt } from "./form-sH9m0ReT.js";
10
- import { u as vt } from "./use-element-state-class-name-DCAoZgWT.js";
9
+ import { bv as Ee, bu as mt, bz as ge, bx as ut, bN as dt, bM as Dt, bD as ie, bA as le, bF as ft, bC as Et, F as St, h as _t, U as Nt, af as pt, g as At, j as xe, i as yt, n as It, k as Ot, l as Lt, K as Tt, G as bt, m as gt } from "./form-jK8ezTss.js";
10
+ import { u as vt } from "./use-element-state-class-name-CkT6Ga8t.js";
11
11
  import { ListBox as Rt, Button as ve, ListBoxItem as kt, RadioGroup as Ft, RadioField as Mt, RadioButton as wt } from "react-aria-components";
12
12
  import { f as v, a as Se } from "./find-child-C60k4CxG.js";
13
- import { D as ht, E as Ct } from "./field-error-headless-NGaTm3dF.js";
14
- import { L as xt } from "./field-label-headless-Bx1UjEcp.js";
13
+ import { D as ht, E as Ct } from "./field-error-headless-S-ugOQQX.js";
14
+ import { L as xt } from "./field-label-headless-_n4I0_tX.js";
15
15
  import { F as Wt } from "./fieldset-headless-CD3fds9J.js";
16
16
  import "date-fns";
17
17
  import { V as Ge } from "./headless-styles-CmcyA_pi.js";
@@ -83,7 +83,7 @@ const zt = (e) => {
83
83
  type: De.GENERAL,
84
84
  message: "Service ID is missing"
85
85
  };
86
- }, Ht = ({ appointmentFieldProps: e, isEditor: t, isComposer: n }) => {
86
+ }, Yt = ({ appointmentFieldProps: e, isEditor: t, isComposer: n }) => {
87
87
  const { initialData: a } = e, r = $t();
88
88
  if (t || n)
89
89
  return {
@@ -103,7 +103,7 @@ const zt = (e) => {
103
103
  ...r,
104
104
  dataStatus: x.LOADING
105
105
  };
106
- }, Yt = (e, t) => {
106
+ }, Ht = (e, t) => {
107
107
  const n = /* @__PURE__ */ new Date(), a = new Date(n);
108
108
  a.setMonth(a.getMonth() + e);
109
109
  const r = new Date(n.toLocaleString("en-US", {
@@ -162,24 +162,24 @@ function Gt(e) {
162
162
  const D = !!(i != null && i.getAvailabilityDates && (i != null && i.getAvailabilitySlots)), [u, S] = Q(null), E = Ze(t == null ? void 0 : t.service);
163
163
  return P(() => {
164
164
  l && !r && !s && D && (async () => {
165
- var I, O, U, z, H;
165
+ var I, O, U, z, Y;
166
166
  const F = Ve(), A = {
167
167
  currentSlotBulkSize: q,
168
168
  timezone: F,
169
169
  dataStatus: x.LOADING
170
170
  };
171
171
  try {
172
- const Y = async (oe) => {
173
- var _, p;
174
- const { startDate: $, endDate: M } = Yt(oe, F);
175
- return (p = (_ = c.current) == null ? void 0 : _.getAvailabilityDates) == null ? void 0 : p.call(_, {
172
+ const H = async (oe) => {
173
+ var _, N;
174
+ const { startDate: $, endDate: M } = Ht(oe, F);
175
+ return (N = (_ = c.current) == null ? void 0 : _.getAvailabilityDates) == null ? void 0 : N.call(_, {
176
176
  serviceId: l,
177
177
  fromDate: $,
178
178
  toDate: M,
179
179
  timeZone: F
180
180
  });
181
181
  };
182
- if (A.availabilityDates = await Y(2), (I = A.availabilityDates) != null && I.length || (A.availabilityDates = await Y(6)), !((O = A.availabilityDates) != null && O.length)) {
182
+ if (A.availabilityDates = await H(2), (I = A.availabilityDates) != null && I.length || (A.availabilityDates = await H(6)), !((O = A.availabilityDates) != null && O.length)) {
183
183
  E == null || E.report({
184
184
  action: ne.LOAD,
185
185
  component: J.NO_AVAILABILITY_AT_ALL
@@ -198,13 +198,13 @@ function Gt(e) {
198
198
  selectedDate: A.selectedDate
199
199
  }))), E == null || E.report({
200
200
  action: ne.LOAD,
201
- component: (H = A.availabilityDates) != null && H.length ? J.FORM : J.NO_AVAILABILITY_FOR_DATE
201
+ component: (Y = A.availabilityDates) != null && Y.length ? J.FORM : J.NO_AVAILABILITY_FOR_DATE
202
202
  }), a != null && a.startDate || n(void 0), S({
203
203
  ...A,
204
204
  dataStatus: x.DONE
205
205
  });
206
- } catch (Y) {
207
- console.error(Y), S({
206
+ } catch (H) {
207
+ console.error(H), S({
208
208
  dataStatus: x.ERROR,
209
209
  error: {
210
210
  type: De.GENERAL,
@@ -232,7 +232,7 @@ const qe = /* @__PURE__ */ Ke({
232
232
  }
233
233
  }, Vt = ({ appointmentFieldProps: e, children: t }) => {
234
234
  var c;
235
- const { isEditor: n, isComposer: a } = Ee(), r = ((c = ut().appointment) == null ? void 0 : c.noAvailability) === !0, [s, l] = Q(() => Ht({
235
+ const { isEditor: n, isComposer: a } = Ee(), r = ((c = ut().appointment) == null ? void 0 : c.noAvailability) === !0, [s, l] = Q(() => Yt({
236
236
  appointmentFieldProps: e,
237
237
  isEditor: n,
238
238
  isComposer: a
@@ -382,7 +382,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
382
382
  }, te = (e, t) => {
383
383
  const n = new Date(e);
384
384
  return n.setDate(n.getDate() + t), n;
385
- }, He = (e, t) => {
385
+ }, Ye = (e, t) => {
386
386
  const n = be(e), a = (n.getDay() - t + j) % j;
387
387
  return te(n, -a);
388
388
  }, mn = (e) => `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`, un = (e, t, n) => {
@@ -400,7 +400,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
400
400
  Xt({
401
401
  setIsReloadingSlots: u
402
402
  });
403
- const { onChange: I, value: O, target: U, initialData: z, formatDescription: H, locationType: Y, error: oe } = e, { availabilityDates: $, availabilitySlots: M, timezone: _ = "", selectedDate: p, currentSlotBulkSize: R, dataStatus: G, error: Z } = t, K = (we = z == null ? void 0 : z.service) == null ? void 0 : we.id, V = G === x.LOADING, ee = D || S, _e = !!Z, Fe = ln({
403
+ const { onChange: I, value: O, target: U, initialData: z, formatDescription: Y, locationType: H, error: oe } = e, { availabilityDates: $, availabilitySlots: M, timezone: _ = "", selectedDate: N, currentSlotBulkSize: R, dataStatus: G, error: Z } = t, K = (we = z == null ? void 0 : z.service) == null ? void 0 : we.id, V = G === x.LOADING, ee = D || S, _e = !!Z, Fe = ln({
404
404
  error: oe,
405
405
  selectedSlot: O
406
406
  }), y = B(() => en(M, Fe), [
@@ -433,19 +433,19 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
433
433
  y,
434
434
  $
435
435
  ]);
436
- const pe = B(() => ct(a), [
436
+ const Ne = B(() => ct(a), [
437
437
  a
438
- ]), Me = X(p);
438
+ ]), Me = X(N);
439
439
  P(() => {
440
440
  const f = Me.current;
441
- Me.current = p, !!p && (!f || !ae(f, p)) && b(void 0);
441
+ Me.current = N, !!N && (!f || !ae(f, N)) && b(void 0);
442
442
  }, [
443
- p
443
+ N
444
444
  ]);
445
- const h = B(() => d ?? He(p ?? /* @__PURE__ */ new Date(), pe), [
445
+ const h = B(() => d ?? Ye(N ?? /* @__PURE__ */ new Date(), Ne), [
446
446
  d,
447
- p,
448
- pe
447
+ N,
448
+ Ne
449
449
  ]), Xe = B(() => {
450
450
  const f = be(/* @__PURE__ */ new Date()), L = new Intl.DateTimeFormat(a, {
451
451
  weekday: "short"
@@ -459,7 +459,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
459
459
  return Array.from({
460
460
  length: j
461
461
  }, (se, Oe) => {
462
- const W = te(h, Oe), Le = !!p && ae(W, p), rt = be(W) < f;
462
+ const W = te(h, Oe), Le = !!N && ae(W, N), rt = be(W) < f;
463
463
  return {
464
464
  key: mn(W),
465
465
  date: W,
@@ -475,13 +475,13 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
475
475
  });
476
476
  }, [
477
477
  h,
478
- p,
478
+ N,
479
479
  $,
480
480
  V,
481
481
  ee,
482
482
  a,
483
483
  l
484
- ]), Ne = de(O ?? void 0) || void 0, Ae = B(() => V || D ? [] : (y ?? []).slice(0, R).flatMap((f) => {
484
+ ]), pe = de(O ?? void 0) || void 0, Ae = B(() => V || D ? [] : (y ?? []).slice(0, R).flatMap((f) => {
485
485
  const { startDate: L, endDate: T } = f.slot ?? {};
486
486
  if (!L || !T)
487
487
  return [];
@@ -500,7 +500,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
500
500
  locale: a,
501
501
  timezone: _
502
502
  }),
503
- isSelected: k === Ne
503
+ isSelected: k === pe
504
504
  }
505
505
  ];
506
506
  }), [
@@ -510,11 +510,11 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
510
510
  D,
511
511
  a,
512
512
  _,
513
- Ne
514
- ]), ye = !D && !!(y != null && y.length) && (R || q) < y.length, Ie = h > He(/* @__PURE__ */ new Date(), pe), et = re(
513
+ pe
514
+ ]), ye = !D && !!(y != null && y.length) && (R || q) < y.length, Ie = h > Ye(/* @__PURE__ */ new Date(), Ne), et = re(
515
515
  async (f) => {
516
516
  var L;
517
- if (!(ee || p && ae(f, p))) {
517
+ if (!(ee || N && ae(f, N))) {
518
518
  u(!0), I == null || I(void 0), n({
519
519
  currentSlotBulkSize: q,
520
520
  selectedDate: f,
@@ -543,7 +543,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
543
543
  // eslint-disable-next-line react-hooks/exhaustive-deps
544
544
  [
545
545
  ee,
546
- p,
546
+ N,
547
547
  K,
548
548
  _,
549
549
  i,
@@ -643,7 +643,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
643
643
  return {
644
644
  days: Xe,
645
645
  slots: Ae,
646
- selectedSlotKey: Ne,
646
+ selectedSlotKey: pe,
647
647
  selectDate: et,
648
648
  selectSlot: nt,
649
649
  changeWeek: tt,
@@ -660,7 +660,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
660
660
  endOfWeek: te(h, j - 1)
661
661
  }, a),
662
662
  selectedDateLabel: nn({
663
- selectedDate: p,
663
+ selectedDate: N,
664
664
  locale: a,
665
665
  timezone: _
666
666
  }),
@@ -668,7 +668,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
668
668
  timezone: _,
669
669
  language: a
670
670
  })}` : "",
671
- formatLabel: Y === on.OS_LOCATION ? l("form.appointment.meeting-format.in-person-location-method-os-location") : H,
671
+ formatLabel: H === on.OS_LOCATION ? l("form.appointment.meeting-format.in-person-location-method-os-location") : Y,
672
672
  notificationMessage: st,
673
673
  showMoreSlotsLabel: l("form.appointment.show-more-slots.text"),
674
674
  previousWeekLabel: l("form.appointment.accessibility.calendar.previous-week.aria-label"),
@@ -774,23 +774,23 @@ C.PreviousWeek = fn;
774
774
  C.Heading = Sn;
775
775
  C.NextWeek = En;
776
776
  C.Day = _n;
777
- const Ye = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) => {
778
- const { hasTimezoneNote: a, hasDateTitle: r } = n, { slots: s, selectedSlotKey: l, selectSlot: i, selectedDateLabel: c, isReloadingSlots: D, timezoneLabel: u, pendingFocusIndex: S, consumePendingFocusIndex: E } = w(), { id: d, disabled: b, readOnly: F, required: A, hasError: I } = ie(), { inputId: O, labelId: U, ariaDescribedBy: z } = le(), H = X(null), Y = v(e, fe.Slot) ?? /* @__PURE__ */ o.createElement(fe.Slot, null), oe = !!r && !!c, $ = [
777
+ const He = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) => {
778
+ const { hasTimezoneNote: a, hasDateTitle: r } = n, { slots: s, selectedSlotKey: l, selectSlot: i, selectedDateLabel: c, isReloadingSlots: D, timezoneLabel: u, pendingFocusIndex: S, consumePendingFocusIndex: E } = w(), { id: d, disabled: b, readOnly: F, required: A, hasError: I } = ie(), { inputId: O, labelId: U, ariaDescribedBy: z } = le(), Y = X(null), H = v(e, fe.Slot) ?? /* @__PURE__ */ o.createElement(fe.Slot, null), oe = !!r && !!c, $ = [
779
779
  z,
780
780
  a && u ? Qe(O) : void 0
781
- ].filter(Boolean).join(" ") || void 0, M = (_, p) => {
781
+ ].filter(Boolean).join(" ") || void 0, M = (_, N) => {
782
782
  var R, G, Z;
783
- (Z = (G = (R = H.current) == null ? void 0 : R.querySelectorAll(Ye)) == null ? void 0 : G[_]) == null || Z.focus(p);
783
+ (Z = (G = (R = Y.current) == null ? void 0 : R.querySelectorAll(He)) == null ? void 0 : G[_]) == null || Z.focus(N);
784
784
  };
785
785
  return ft(() => {
786
786
  var G, Z;
787
- if (!!((G = H.current) != null && G.querySelector(Ye))) {
787
+ if (!!((G = Y.current) != null && G.querySelector(He))) {
788
788
  M(0, {
789
789
  preventScroll: !0
790
790
  });
791
791
  return;
792
792
  }
793
- const p = Array.from(((Z = document.getElementById(O)) == null ? void 0 : Z.querySelectorAll('[role="option"]')) ?? []), R = p.find((K) => K.getAttribute("aria-selected") === "true") ?? p.find((K) => K.getAttribute("aria-disabled") !== "true");
793
+ const N = Array.from(((Z = document.getElementById(O)) == null ? void 0 : Z.querySelectorAll('[role="option"]')) ?? []), R = N.find((K) => K.getAttribute("aria-selected") === "true") ?? N.find((K) => K.getAttribute("aria-disabled") !== "true");
794
794
  R == null || R.focus({
795
795
  preventScroll: !0
796
796
  });
@@ -803,7 +803,7 @@ const Ye = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) =>
803
803
  role: "status",
804
804
  style: Ge
805
805
  }, s.length > 0 ? c : void 0), /* @__PURE__ */ o.createElement(Ft, {
806
- ref: H,
806
+ ref: Y,
807
807
  className: t,
808
808
  value: l ?? null,
809
809
  onChange: i,
@@ -814,11 +814,11 @@ const Ye = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) =>
814
814
  "aria-labelledby": oe ? Je(O) : U,
815
815
  "aria-describedby": $,
816
816
  "data-refetch": D || void 0
817
- }, s.map((_) => Se(Y, {
817
+ }, s.map((_) => Se(H, {
818
818
  key: _.key,
819
819
  slot: _
820
820
  }))));
821
- }, pn = ({ children: e, className: t, ...n }) => {
821
+ }, Nn = ({ children: e, className: t, ...n }) => {
822
822
  const { slot: a } = n;
823
823
  return /* @__PURE__ */ o.createElement(Mt, {
824
824
  value: a.key,
@@ -827,7 +827,7 @@ const Ye = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) =>
827
827
  className: t
828
828
  }, e ? e(a) : a.timeRange));
829
829
  };
830
- fe.Slot = pn;
830
+ fe.Slot = Nn;
831
831
  const m = ({ children: e, className: t }) => {
832
832
  const n = ie(), { id: a, FieldLayout: r } = n, { labelId: s, inputId: l, ariaDescribedBy: i } = le(), c = Et(St.APPOINTMENT), D = B(() => ({
833
833
  ...n,
@@ -856,7 +856,7 @@ const m = ({ children: e, className: t }) => {
856
856
  }, e)),
857
857
  renderDescription: () => /* @__PURE__ */ o.createElement(o.Fragment, null, E, S)
858
858
  });
859
- }, Nn = {
859
+ }, pn = {
860
860
  visibility: "hidden"
861
861
  }, An = ({ children: e, className: t }) => {
862
862
  const { required: n, onFocus: a, onBlur: r } = ie(), { inputId: s, labelId: l, ariaDescribedBy: i } = le(), c = Dn(), D = v(e, m.Loader), u = v(e, m.Notification), S = v(e, m.Dates), E = v(e, m.Timezone), d = v(e, m.Format), b = v(e, m.DateTitle), F = v(e, m.Slots), A = v(e, m.ShowMoreSlots);
@@ -871,7 +871,7 @@ const m = ({ children: e, className: t }) => {
871
871
  onFocus: a,
872
872
  onBlur: r
873
873
  }, D, c.hasError ? u : /* @__PURE__ */ o.createElement("div", {
874
- style: c.isLoading ? Nn : void 0
874
+ style: c.isLoading ? pn : void 0
875
875
  }, S, E, d, b, Se(F, {
876
876
  hasTimezoneNote: !!E,
877
877
  hasDateTitle: !!b
@@ -937,7 +937,7 @@ m.Slots = fe;
937
937
  m.ShowMoreSlots = bn;
938
938
  m.Description = ht;
939
939
  m.Error = Ct;
940
- const gn = "_appointment_14etx_1", vn = "_dates_14etx_5", Rn = "_weekHeading_14etx_30", kn = "_weekButton_14etx_36", Fn = "_previousWeek_14etx_68", Mn = "_nextWeek_14etx_72", wn = "_day_14etx_84", hn = "_weekdayLabel_14etx_94", Cn = "_dayNumber_14etx_103", xn = "_indicator_14etx_107", Wn = "_hint_14etx_130", Bn = "_slots_14etx_143", Pn = "_dateTitle_14etx_157", Un = "_slot_14etx_143", zn = "_slotHover_14etx_199", Hn = "_slotSelected_14etx_207", Yn = "_showMoreSlots_14etx_261", Kn = "_loader_14etx_292", $n = "_notification_14etx_328", N = {
940
+ const gn = "_appointment_14etx_1", vn = "_dates_14etx_5", Rn = "_weekHeading_14etx_30", kn = "_weekButton_14etx_36", Fn = "_previousWeek_14etx_68", Mn = "_nextWeek_14etx_72", wn = "_day_14etx_84", hn = "_weekdayLabel_14etx_94", Cn = "_dayNumber_14etx_103", xn = "_indicator_14etx_107", Wn = "_hint_14etx_130", Bn = "_slots_14etx_143", Pn = "_dateTitle_14etx_157", Un = "_slot_14etx_143", zn = "_slotHover_14etx_199", Yn = "_slotSelected_14etx_207", Hn = "_showMoreSlots_14etx_261", Kn = "_loader_14etx_292", $n = "_notification_14etx_328", p = {
941
941
  appointment: gn,
942
942
  dates: vn,
943
943
  weekHeading: Rn,
@@ -953,63 +953,63 @@ const gn = "_appointment_14etx_1", vn = "_dates_14etx_5", Rn = "_weekHeading_14e
953
953
  dateTitle: Pn,
954
954
  slot: Un,
955
955
  slotHover: zn,
956
- slotSelected: Hn,
957
- showMoreSlots: Yn,
956
+ slotSelected: Yn,
957
+ showMoreSlots: Hn,
958
958
  loader: Kn,
959
959
  notification: $n
960
960
  }, Gn = ({ content: e, locale: t }) => /* @__PURE__ */ o.createElement(it, {
961
961
  content: e,
962
962
  locale: t
963
963
  }), Zn = {
964
- base: N.slot,
965
- selected: N.slotSelected,
966
- hover: N.slotHover
964
+ base: p.slot,
965
+ selected: p.slotSelected,
966
+ hover: p.slotHover
967
967
  }, Vn = () => {
968
968
  const e = vt({
969
969
  globalClasses: gt,
970
970
  moduleClasses: Zn
971
971
  });
972
972
  return /* @__PURE__ */ o.createElement(m, {
973
- className: g(_t, N.appointment)
973
+ className: g(_t, p.appointment)
974
974
  }, /* @__PURE__ */ o.createElement(m.Label, {
975
- className: g(pt, ue.label)
975
+ className: g(Nt, ue.label)
976
976
  }, /* @__PURE__ */ o.createElement(m.Label.Required, {
977
- className: g(Nt, ue.requiredMark)
977
+ className: g(pt, ue.requiredMark)
978
978
  })), /* @__PURE__ */ o.createElement(m.Loader, {
979
- className: N.loader
979
+ className: p.loader
980
980
  }), /* @__PURE__ */ o.createElement(m.Dates, {
981
- className: g(At, N.dates)
981
+ className: g(At, p.dates)
982
982
  }, /* @__PURE__ */ o.createElement(m.Dates.PreviousWeek, {
983
- className: g(me, N.weekButton, N.previousWeek)
983
+ className: g(me, p.weekButton, p.previousWeek)
984
984
  }, /* @__PURE__ */ o.createElement(he, null)), /* @__PURE__ */ o.createElement(m.Dates.Heading, {
985
- className: N.weekHeading
985
+ className: p.weekHeading
986
986
  }), /* @__PURE__ */ o.createElement(m.Dates.NextWeek, {
987
- className: g(me, N.weekButton, N.nextWeek)
987
+ className: g(me, p.weekButton, p.nextWeek)
988
988
  }, /* @__PURE__ */ o.createElement(he, null)), /* @__PURE__ */ o.createElement(m.Dates.Day, {
989
- className: g(me, Ce.day, N.day)
989
+ className: g(me, Ce.day, p.day)
990
990
  }, (t) => /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("span", {
991
- className: N.weekdayLabel
991
+ className: p.weekdayLabel
992
992
  }, t.weekdayLabel), /* @__PURE__ */ o.createElement("span", {
993
- className: g(Ce.dayNumber, N.dayNumber)
993
+ className: g(Ce.dayNumber, p.dayNumber)
994
994
  }, t.dayOfMonthLabel, /* @__PURE__ */ o.createElement("span", {
995
- className: N.indicator
995
+ className: p.indicator
996
996
  }))))), /* @__PURE__ */ o.createElement(m.Timezone, {
997
- className: g(xe, N.hint)
997
+ className: g(xe, p.hint)
998
998
  }), /* @__PURE__ */ o.createElement(m.Format, {
999
- className: g(xe, N.hint)
999
+ className: g(xe, p.hint)
1000
1000
  }), /* @__PURE__ */ o.createElement(m.DateTitle, {
1001
- className: g(yt, N.dateTitle)
1001
+ className: g(yt, p.dateTitle)
1002
1002
  }), /* @__PURE__ */ o.createElement(m.Slots, {
1003
- className: g(It, N.slots)
1003
+ className: g(It, p.slots)
1004
1004
  }, /* @__PURE__ */ o.createElement(m.Slots.Slot, {
1005
1005
  className: ({ isSelected: t, isHovered: n, isFocused: a, isDisabled: r, isReadOnly: s }) => e({
1006
1006
  isSelected: t,
1007
1007
  isHovered: (n || a) && !t && !r && !s
1008
1008
  })
1009
1009
  }, (t) => t.timeRange)), /* @__PURE__ */ o.createElement(m.Notification, {
1010
- className: g(Ot, N.notification)
1010
+ className: g(Ot, p.notification)
1011
1011
  }), /* @__PURE__ */ o.createElement(m.ShowMoreSlots, {
1012
- className: g(Lt, me, N.showMoreSlots)
1012
+ className: g(Lt, me, p.showMoreSlots)
1013
1013
  }), /* @__PURE__ */ o.createElement(m.Error, {
1014
1014
  className: g(Tt, ue.error)
1015
1015
  }, /* @__PURE__ */ o.createElement(lt, null), /* @__PURE__ */ o.createElement(m.Error.Text, null)), /* @__PURE__ */ o.createElement(m.Description, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-DvMyN2gF.js";
2
+ import { M as o } from "./multiline-address-field-rac-k-P0ijWG.js";
3
3
  const s = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  s as BookingsAddressRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-CuaMcfZR.js";
2
+ import { E as e } from "./email-input-field-rac-2E2tEaS5.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsEmailRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CxZYUtxX.js";
2
+ import { T as e } from "./text-input-field-rac-CCcKwuLZ.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsFirstNameRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { H as r } from "./header-field-rac-N5Oclne_.js";
2
+ import { H as r } from "./header-field-rac-DnbjI6W5.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, {
4
4
  truncate: !1
5
5
  });
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CxZYUtxX.js";
2
+ import { T as e } from "./text-input-field-rac-CCcKwuLZ.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsLastNameRAC
@@ -1,6 +1,6 @@
1
1
  import o from "react";
2
2
  import E from "classnames";
3
- import { by as d, bI as b, bq as f, bu as x, T as p } from "./form-sH9m0ReT.js";
3
+ import { bD as d, bN as b, bv as f, bz as x, T as p } from "./form-jK8ezTss.js";
4
4
  import { Button as L } from "react-aria-components";
5
5
  import { a as m, f as g } from "./find-child-C60k4CxG.js";
6
6
  const l = ({ children: n }) => {
@@ -44,11 +44,11 @@ const l = ({ children: n }) => {
44
44
  l.LoginBar = _;
45
45
  l.Text = N;
46
46
  l.Button = F;
47
- const T = "_container_1ixk2_1", C = "_text_1ixk2_34", I = "_button_1ixk2_39", u = {
47
+ const T = "_container_1ixk2_1", C = "_text_1ixk2_34", k = "_button_1ixk2_39", u = {
48
48
  container: T,
49
49
  text: C,
50
- button: I
51
- }, k = () => {
50
+ button: k
51
+ }, A = () => {
52
52
  const { userData: n, language: r } = f(), { actions: t } = x();
53
53
  return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement(l.LoginBar, {
54
54
  email: n == null ? void 0 : n.email,
@@ -67,7 +67,7 @@ const T = "_container_1ixk2_1", C = "_text_1ixk2_34", I = "_button_1ixk2_39", u
67
67
  }), /* @__PURE__ */ o.createElement(l.Button, {
68
68
  className: u.button
69
69
  })));
70
- }, P = () => /* @__PURE__ */ o.createElement(k, null);
70
+ }, P = () => /* @__PURE__ */ o.createElement(A, null);
71
71
  export {
72
72
  P as BookingsLoginBarRAC
73
73
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-BWOEiUK7.js";
2
+ import { P as e } from "./phone-input-field-rac-CsElHRto.js";
3
3
  const r = () => /* @__PURE__ */ o.createElement(e, null);
4
4
  export {
5
5
  r as BookingsPhoneRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-CmbNBe2u.js";
2
+ import { R as t } from "./rich-text-field-rac-BmguoJhk.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });
@@ -2,16 +2,16 @@ import { RicosViewer as Xn } from "@wix/ricos/viewer";
2
2
  import U from "classnames";
3
3
  import b, { useMemo as $n, useRef as Jn, useCallback as Yn } from "react";
4
4
  import { CheckboxField as Qn, CheckboxButton as Zn } from "react-aria-components";
5
- import { b6 as ei, by as Zr, aQ as Qr, aP as fn, bI as ri, bq as ti, be as ai, bv as ni, bA as ii, o as si, aa as oi, t as ui, aL as ci, K as fi, G as li, s as _i } from "./form-sH9m0ReT.js";
5
+ import { bb as ei, bD as Zr, aV as Qr, aU as fn, bN as ri, bv as ti, bj as ai, bA as ni, bF as ii, o as si, af as oi, t as ui, aQ as ci, K as fi, G as li, s as _i } from "./form-jK8ezTss.js";
6
6
  import { f as W, a as vi } from "./find-child-C60k4CxG.js";
7
- import { D as hi, E as pi } from "./field-error-headless-NGaTm3dF.js";
7
+ import { D as hi, E as pi } from "./field-error-headless-S-ugOQQX.js";
8
8
  import { Node_Type as di } from "@wix/ricos/schema";
9
- import { c as re, r as $, e as S, a as J, d as yi, b as bi } from "./isObjectLike-BFpR7Q-o.js";
9
+ import { c as re, r as $, e as S, a as J, d as yi, b as bi } from "./isObjectLike-BW-9QEQl.js";
10
10
  import { S as gi } from "./selection-indicator-XQ8MYHUQ.js";
11
11
  import { E as qi } from "./error-icon-hZxQ6DEy.js";
12
12
  import { C as Ci } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
13
13
  import { s as oe } from "./field-rac.module-ts2t4WUO.js";
14
- import { u as Ai } from "./use-element-state-class-name-DCAoZgWT.js";
14
+ import { u as Ai } from "./use-element-state-class-name-CkT6Ga8t.js";
15
15
  var ue, dt;
16
16
  function mi() {
17
17
  if (dt) return ue;