@wix/form-elements 1.241.0 → 1.243.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-CHG0WqmP.js → appointment-rac-D-dMrhRb.js} +43 -43
  2. package/dist/component/{bookings-address-rac-0gam8j7s.js → bookings-address-rac-B6aQ4P5I.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DZlulUCa.js → bookings-email-rac-Bh849hrc.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-U4MHsWd1.js → bookings-first-name-rac-C69Ind1o.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CDJfljEO.js → bookings-header-rac-DGUzMGRj.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DLInE8pT.js → bookings-last-name-rac-Ch9Bm-sr.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-K3m0pn4a.js → bookings-login-bar-rac-CUhHuZm-.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-CI8wi6GY.js → bookings-phone-rac-BI4PoSu3.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Bwta9py6.js → bookings-rich-text-rac-B4D2ZCJs.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-Bs_vJ_oq.js → checkbox-field-rac-zE0dzJYu.js} +81 -81
  11. package/dist/component/{checkbox-group-field-headless-CwyrCRLc.js → checkbox-group-field-headless-C2x-la-e.js} +44 -44
  12. package/dist/component/{checkbox-group-field-rac-31RRmAz_.js → checkbox-group-field-rac-iJkQGTiJ.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Bz98tGbx.js → checkbox-group-rac-DoK5e4c8.js} +1 -1
  14. package/dist/component/{checkbox-rac-DFdDAv50.js → checkbox-rac-8i-6GMze.js} +1 -1
  15. package/dist/component/{contacts-address-rac-Ct5QNUdV.js → contacts-address-rac-CHcRQBjy.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BUHd4cCk.js → contacts-birthdate-rac-CkSsvQ6R.js} +1 -1
  17. package/dist/component/{contacts-company-rac-CI_d3IHw.js → contacts-company-rac-CIsmil8s.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CCbpBKs9.js → contacts-email-rac-AEvRJfWd.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-FBUDLP8v.js → contacts-first-name-rac-CLSJ2cna.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BSNrn4eb.js → contacts-last-name-rac-o59dmvVn.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-CsrFVsq6.js → contacts-phone-rac-jh-YSD-N.js} +1 -1
  22. package/dist/component/{contacts-position-rac-2gwTiIIo.js → contacts-position-rac-Ak4X2gV_.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DucA9CDH.js → contacts-subscribe-rac-By9Bk1YL.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-LcMf98te.js → contacts-tax-id-rac-B1enZgKk.js} +1 -1
  25. package/dist/component/{date-availability-Bt56LTk9.js → date-availability--3J2b6Ur.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DhJqiwKI.js → date-input-field-rac-BFt0DKA9.js} +66 -66
  27. package/dist/component/{date-input-rac-BISvPvDp.js → date-input-rac-D8BA8S1A.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-C4I7QrcQ.js → date-picker-field-rac-cwYdVf60.js} +40 -40
  29. package/dist/component/{date-picker-rac-C3nny4Tu.js → date-picker-rac-B7uR5ZnA.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-njri5kye.js → date-time-input-field-rac-PaKyrMb9.js} +98 -98
  31. package/dist/component/{date-time-input-rac-D9kJRPD-.js → date-time-input-rac-Ck8Edatx.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-D8cqL9dJ.js → dext-checkbox-group-rac-Cru3Lq4c.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-Dd1SbiE4.js → dext-checkbox-rac-wtMsRxly.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-C2r-njE7.js → dext-date-picker-rac-B34DtxLN.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CAqXDbbj.js → dext-date-time-input-rac-BsdfLty5.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-B2VPep8Y.js → dext-dropdown-rac-DeZYnwo7.js} +1 -1
  37. package/dist/component/{dext-email-rac-24Jk1Mrj.js → dext-email-rac-B4GTK5H8.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-y4ohRhoE.js → dext-number-input-rac-BIyJJ9h0.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CIKnuUWR.js → dext-phone-rac-lf64Ywlp.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BVcTXiaB.js → dext-radio-group-rac-CGt1_jue.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CZVnCJ70.js → dext-rating-input-rac-CbaW1lxS.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CnlzoLOp.js → dext-tags-rac-DnHDnzD_.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Bx5soEnf.js → dext-text-area-rac-C8DVKWKo.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-jm659H89.js → dext-text-input-rac-DVl-1SDY.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DvdPiREA.js → dext-url-input-rac-CkpAMLF9.js} +1 -1
  46. package/dist/component/{dismiss-icon-CBZq_OBa.js → dismiss-icon-CwZIlL7w.js} +6 -6
  47. package/dist/component/{donation-rac-CE4WS0Lx.js → donation-rac-DCNG5ByO.js} +44 -44
  48. package/dist/component/{dropdown-field-rac-Bhp-OH4C.js → dropdown-field-rac-CVbM-0KX.js} +3 -3
  49. package/dist/component/{dropdown-rac-s7sa3er0.js → dropdown-rac-CE9IjTvE.js} +1 -1
  50. package/dist/component/{ecom-address-rac-CSrBFi_H.js → ecom-address-rac-BD_okFDt.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-BAbbwlHW.js → ecom-subscription-checkbox-rac-C7zdxqra.js} +2 -2
  52. package/dist/component/{email-input-field-rac-3G3Ozglm.js → email-input-field-rac-CY4wE0eP.js} +35 -35
  53. package/dist/component/{events-repeater-rac-BUy91Kxs.js → events-repeater-rac-Bh-TBEQG.js} +26 -26
  54. package/dist/component/{events-rsvp-rac-Gisnded3.js → events-rsvp-rac-BPhzKqUb.js} +3 -3
  55. package/dist/component/{field-error-headless-piKY_H3-.js → field-error-headless-D3lVhOaC.js} +1 -1
  56. package/dist/component/{field-label-headless-BueDpCx1.js → field-label-headless-CrZoTwxs.js} +5 -5
  57. package/dist/component/{file-upload-rac-CSsl-aS9.js → file-upload-rac-DYP83swC.js} +187 -186
  58. package/dist/component/{fixed-payment-rac-ChzdCJU5.js → fixed-payment-rac-DY7hXK7g.js} +11 -11
  59. package/dist/component/{form-DcxKWiG2.js → form-DpFQ9uO1.js} +3059 -2934
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-Cs75yckQ.js → header-field-rac-9wOBV_rW.js} +2 -2
  63. package/dist/component/{header-rac-CtYKxrpl.js → header-rac-gzKNBkq_.js} +1 -1
  64. package/dist/component/{image-choice-rac-Dmgx9mHc.js → image-choice-rac-B6dvv6Jc.js} +25 -25
  65. package/dist/component/{index-B6EvjVlP.js → index-CbCZUvYt.js} +2 -2
  66. package/dist/component/{index-BflhPqlx.js → index-DCl2274b.js} +4 -4
  67. package/dist/component/{isObjectLike-CgoQvRJK.js → isObjectLike-DDBjMXgH.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-Dp0Zf4Kf.js → multiline-address-field-rac-CPkSpMMb.js} +210 -210
  69. package/dist/component/{multiline-address-rac-C_mO6tFy.js → multiline-address-rac-DCnk-LvE.js} +1 -1
  70. package/dist/component/{number-input-field-rac-BqtaqBSU.js → number-input-field-rac-Dt0hM2jA.js} +19 -19
  71. package/dist/component/{number-input-rac-Cuwz2ZQV.js → number-input-rac-pjmjC2-7.js} +1 -1
  72. package/dist/component/{password-rac-_1CzsKwh.js → password-rac-D9Gmp1yw.js} +32 -32
  73. package/dist/component/{payment-input-rac-Im0lWoko.js → payment-input-rac-CI78trIl.js} +33 -33
  74. package/dist/component/{phone-input-field-rac-DWgYXcrE.js → phone-input-field-rac-BCPj6vEP.js} +39 -39
  75. package/dist/component/{phone-rac-B5Qf61W1.js → phone-rac-FAGNDAR-.js} +1 -1
  76. package/dist/component/{product-list-rac-C5EK2laJ.js → product-list-rac-D7n9P2wQ.js} +14 -14
  77. package/dist/component/{quiz-radio-group-rac-CP9zzyH6.js → quiz-radio-group-rac-BO55azn2.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-CkGrAGkr.js → radio-button-module-classes-BIraDyOu.js} +35 -35
  79. package/dist/component/{radio-group-field-rac-C_42Fcne.js → radio-group-field-rac-BvUZ-DmS.js} +4 -4
  80. package/dist/component/{radio-group-rac-CXdbk24Q.js → radio-group-rac-qc0JijX9.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-DCkEh6Aj.js → rating-input-field-rac-D3u_T_la.js} +18 -18
  82. package/dist/component/{rating-input-rac-B9A843l0.js → rating-input-rac-CqlPfSQQ.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-CNC4XD5d.js → rich-content-rac.module-B4TapWZL.js} +9 -9
  84. package/dist/component/{rich-text-field-rac-5rrd72dQ.js → rich-text-field-rac-LgoEQuKS.js} +4 -4
  85. package/dist/component/{rich-text-rac-YrwQXZNA.js → rich-text-rac-1IcHKfEb.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-CQCQPJXB.js → service-dropdown-rac-CMkRaLmg.js} +22 -22
  87. package/dist/component/{services-multi-choice-rac-CUzXOutN.js → services-multi-choice-rac-DzwHkD-j.js} +7 -7
  88. package/dist/component/{signature-rac-CCaJeBKX.js → signature-rac-D3X5-ScB.js} +71 -71
  89. package/dist/component/{submit-button-rac-DGWGdzRU.js → submit-button-rac-BWL76gny.js} +15 -15
  90. package/dist/component/{tags-field-rac-B_YaA_EP.js → tags-field-rac-BwGeFDfH.js} +24 -24
  91. package/dist/component/{tags-rac-CF-h7_KF.js → tags-rac-DU7-Kl1T.js} +1 -1
  92. package/dist/component/{text-area-field-rac-BQ5WJhWG.js → text-area-field-rac-BO_9zG3x.js} +19 -19
  93. package/dist/component/{text-area-rac-BFWz2X0C.js → text-area-rac-CG7vi5-F.js} +1 -1
  94. package/dist/component/{text-input-field-rac-Bxv2pGmX.js → text-input-field-rac-FWkVzsiY.js} +3 -3
  95. package/dist/component/{text-input-headless-B4aiikZS.js → text-input-headless-COFlfx6N.js} +9 -9
  96. package/dist/component/{text-input-rac-DeQ9w2CC.js → text-input-rac-D_7yUDzw.js} +1 -1
  97. package/dist/component/{time-input-rac-tu0cnsa5.js → time-input-rac-0Ggsm6qE.js} +24 -24
  98. package/dist/component/{url-input-field-rac-Cc6cm4so.js → url-input-field-rac-CH7kG_Qf.js} +25 -25
  99. package/dist/component/{url-input-rac-DeKtkN8j.js → url-input-rac-CjBn6ZWh.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-CkOKrSdx.js → use-dropdown-option-class-name-Cy_iJyiA.js} +2 -2
  101. package/dist/component/{use-dropdown-trigger-class-name-BPkfvqu4.js → use-dropdown-trigger-class-name-Ddu4_w_z.js} +26 -26
  102. package/dist/component/{use-element-state-class-name-Cvpi3dBc.js → use-element-state-class-name-DNjpnp27.js} +2 -2
  103. package/dist/component/{use-hoverable-input-class-name-rCSXDYsL.js → use-hoverable-input-class-name-Wy3Ujp2_.js} +2 -2
  104. package/dist/component/{use-is-forced-open-dropdown-CX5XR5lo.js → use-is-forced-open-dropdown-Vu0JjNY7.js} +4 -4
  105. package/dist/component/{use-native-mobile-input-CVBv_Asv.js → use-native-mobile-input-l8hf9N2p.js} +3 -3
  106. package/dist/component/{use-service-options-base-BnjbDbkj.js → use-service-options-base-Di4c__b_.js} +3 -3
  107. package/dist/component/use-text-input-class-name-BBZXre-_.js +6 -0
  108. package/package.json +2 -2
  109. package/dist/component/use-text-input-class-name-wxGkp-sq.js +0 -6
@@ -6,12 +6,12 @@ import { E as mt } from "./error-icon-hZxQ6DEy.js";
6
6
  import { g as ut, c as Be } 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-D0QzJXUv.js";
9
- import { bF as Ee, bE as dt, bJ as ve, bH as ft, bY as Dt, bX as Et, bN as ie, bK as le, bP as St, bM as _t, F as Nt, h as At, X as pt, am as yt, g as It, j as Pe, i as Ot, n as Lt, k as Tt, l as bt, M as gt, I as kt, m as vt } from "./form-DcxKWiG2.js";
10
- import { u as Rt } from "./use-element-state-class-name-Cvpi3dBc.js";
11
- import { ListBox as Mt, Button as Re, ListBoxItem as Ft, RadioGroup as ht, RadioField as wt, RadioButton as Ct } from "react-aria-components";
9
+ import { bG as Ee, bF as dt, bK as ve, bI as ft, bZ as Dt, bY as Et, bO as ie, bL as le, bQ as St, bN as _t, F as Nt, h as At, X as pt, am as yt, g as It, j as Pe, i as Ot, n as Lt, k as Tt, l as bt, M as gt, I as kt, m as vt } from "./form-DpFQ9uO1.js";
10
+ import { u as Rt } from "./use-element-state-class-name-DNjpnp27.js";
11
+ import { ListBox as Ft, Button as Re, ListBoxItem as Mt, RadioGroup as ht, RadioField as wt, RadioButton as Ct } from "react-aria-components";
12
12
  import { f as k, a as Se } from "./find-child-C60k4CxG.js";
13
- import { D as Wt, E as Bt } from "./field-error-headless-piKY_H3-.js";
14
- import { L as Pt } from "./field-label-headless-BueDpCx1.js";
13
+ import { D as Wt, E as Bt } from "./field-error-headless-D3lVhOaC.js";
14
+ import { L as Pt } from "./field-label-headless-CrZoTwxs.js";
15
15
  import { F as Ut } from "./fieldset-headless-CD3fds9J.js";
16
16
  import { parseAbsolute as xt } from "@internationalized/date";
17
17
  import { startOfDay as zt } from "date-fns";
@@ -48,7 +48,7 @@ const Ht = (e) => {
48
48
  });
49
49
  }, qe = (e) => {
50
50
  var l;
51
- const { appointmentFieldProps: n } = Me(), { isEditor: t, isComposer: a } = Ee(), s = dt(), r = e || ((l = n == null ? void 0 : n.initialData) == null ? void 0 : l.service);
51
+ const { appointmentFieldProps: n } = Fe(), { isEditor: t, isComposer: a } = Ee(), s = dt(), r = e || ((l = n == null ? void 0 : n.initialData) == null ? void 0 : l.service);
52
52
  if (!(t || a))
53
53
  return {
54
54
  ...s,
@@ -213,11 +213,11 @@ function en(e) {
213
213
  try {
214
214
  const H = async (oe) => {
215
215
  var D, N;
216
- const { startDate: $, endDate: F } = jt(oe, v);
216
+ const { startDate: $, endDate: M } = jt(oe, v);
217
217
  return (N = (D = c.current) == null ? void 0 : D.getAvailabilityDates) == null ? void 0 : N.call(D, {
218
218
  serviceId: l,
219
219
  fromDate: $,
220
- toDate: F,
220
+ toDate: M,
221
221
  timeZone: v
222
222
  });
223
223
  };
@@ -296,7 +296,7 @@ const je = /* @__PURE__ */ Ge({
296
296
  })
297
297
  }
298
298
  }, n);
299
- }, Me = () => Ze(je), an = (e, n) => {
299
+ }, Fe = () => Ze(je), an = (e, n) => {
300
300
  if (e.startOfWeek.getMonth() === e.endOfWeek.getMonth())
301
301
  return new Intl.DateTimeFormat(n, {
302
302
  month: "long",
@@ -317,7 +317,7 @@ const je = /* @__PURE__ */ Ge({
317
317
  timeZone: t
318
318
  };
319
319
  }, sn = ({ setIsReloadingSlots: e }) => {
320
- const { appointmentFieldProps: n, appointmentState: t, setAppointmentState: a } = Me(), { value: s } = n, { actions: r } = ve();
320
+ const { appointmentFieldProps: n, appointmentState: t, setAppointmentState: a } = Fe(), { value: s } = n, { actions: r } = ve();
321
321
  U(() => {
322
322
  (async () => {
323
323
  var i, c;
@@ -415,15 +415,15 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
415
415
  return typeof a.formatRange == "function" ? a.formatRange(e, n) : `${a.format(e)} - ${a.format(n)}`;
416
416
  }, Nn = () => {
417
417
  var Ce;
418
- const { appointmentFieldProps: e, appointmentState: n, setAppointmentState: t } = Me(), { language: a, isEditor: s, isComposer: r } = Ee(), { t: l } = Dt(), { actions: i } = ve(), c = qe(), [u, f] = Q(!1), [_, S] = Q(!1), [d, b] = Q(), [v, p] = Q();
418
+ const { appointmentFieldProps: e, appointmentState: n, setAppointmentState: t } = Fe(), { language: a, isEditor: s, isComposer: r } = Ee(), { t: l } = Dt(), { actions: i } = ve(), c = qe(), [u, f] = Q(!1), [_, S] = Q(!1), [d, b] = Q(), [v, p] = Q();
419
419
  sn({
420
420
  setIsReloadingSlots: f
421
421
  });
422
- const { onChange: I, value: O, target: x, initialData: z, formatDescription: Y, locationType: H, error: oe } = e, { availabilityDates: $, availabilitySlots: F, timezone: D = "", selectedDate: N, currentSlotBulkSize: R, dataStatus: G, error: Z } = n, K = (Ce = z == null ? void 0 : z.service) == null ? void 0 : Ce.id, V = G === W.LOADING, ee = u || _, Ne = !!Z, he = Dn({
422
+ const { onChange: I, value: O, target: x, initialData: z, formatDescription: Y, locationType: H, error: oe } = e, { availabilityDates: $, availabilitySlots: M, timezone: D = "", selectedDate: N, currentSlotBulkSize: R, dataStatus: G, error: Z } = n, K = (Ce = z == null ? void 0 : z.service) == null ? void 0 : Ce.id, V = G === W.LOADING, ee = u || _, Ne = !!Z, he = Dn({
423
423
  error: oe,
424
424
  selectedSlot: O
425
- }), y = P(() => rn(F, he), [
426
- F,
425
+ }), y = P(() => rn(M, he), [
426
+ M,
427
427
  he
428
428
  ]);
429
429
  U(() => {
@@ -434,10 +434,10 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
434
434
  D
435
435
  ]), Et((E) => {
436
436
  const L = E == null ? void 0 : E[x];
437
- F != null && F.length && t({
438
- availabilitySlots: F.filter((T) => {
439
- var M;
440
- return ((M = T == null ? void 0 : T.slot) == null ? void 0 : M.startDate) !== (L == null ? void 0 : L.startDate);
437
+ M != null && M.length && t({
438
+ availabilitySlots: M.filter((T) => {
439
+ var F;
440
+ return ((F = T == null ? void 0 : T.slot) == null ? void 0 : F.startDate) !== (L == null ? void 0 : L.startDate);
441
441
  })
442
442
  });
443
443
  }), U(() => {
@@ -471,7 +471,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
471
471
  weekday: "short"
472
472
  }), T = new Intl.DateTimeFormat(a, {
473
473
  day: "numeric"
474
- }), M = new Intl.DateTimeFormat(a, {
474
+ }), F = new Intl.DateTimeFormat(a, {
475
475
  weekday: "long",
476
476
  month: "long",
477
477
  day: "numeric"
@@ -489,7 +489,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
489
489
  isToday: ae(B, E),
490
490
  dayOfMonthLabel: T.format(B),
491
491
  weekdayLabel: L.format(B),
492
- label: M.format(B),
492
+ label: F.format(B),
493
493
  availabilityLabel: l("form.appointment.accessibility.calendar.has-availability.aria-label")
494
494
  };
495
495
  });
@@ -506,13 +506,13 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
506
506
  const { startDate: L, endDate: T } = E.slot ?? {};
507
507
  if (!L || !T)
508
508
  return [];
509
- const M = de({
509
+ const F = de({
510
510
  startDate: L,
511
511
  endDate: T
512
512
  });
513
513
  return [
514
514
  {
515
- key: M,
515
+ key: F,
516
516
  startDate: L,
517
517
  endDate: T,
518
518
  timeRange: ln({
@@ -521,7 +521,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
521
521
  locale: a,
522
522
  timezone: D
523
523
  }),
524
- isSelected: M === pe
524
+ isSelected: F === pe
525
525
  }
526
526
  ];
527
527
  }), [
@@ -579,7 +579,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
579
579
  const L = w, T = te(w, E * j);
580
580
  if (b(T), s || r)
581
581
  return;
582
- const M = ++ce.current;
582
+ const F = ++ce.current;
583
583
  S(!0), c == null || c.report({
584
584
  action: ne.CLICK,
585
585
  component: X.PAGINATION
@@ -591,13 +591,13 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
591
591
  fromDate: T,
592
592
  toDate: En(te(T, j - 1))
593
593
  }));
594
- M === ce.current && t({
594
+ F === ce.current && t({
595
595
  availabilityDates: Le
596
596
  });
597
597
  } catch {
598
- M === ce.current && b(L);
598
+ F === ce.current && b(L);
599
599
  } finally {
600
- M === ce.current && S(!1);
600
+ F === ce.current && S(!1);
601
601
  }
602
602
  },
603
603
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -616,15 +616,15 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
616
616
  const L = ye.find((se) => se.key === E);
617
617
  if (!L)
618
618
  return;
619
- const { startDate: T, endDate: M } = L;
619
+ const { startDate: T, endDate: F } = L;
620
620
  c == null || c.report({
621
621
  action: ne.CLICK,
622
622
  component: X.SLOT,
623
623
  startTime: new Date(T).valueOf(),
624
- endTime: new Date(M).valueOf()
624
+ endTime: new Date(F).valueOf()
625
625
  }), I == null || I({
626
626
  startDate: T,
627
- endDate: M,
627
+ endDate: F,
628
628
  timeZone: D
629
629
  });
630
630
  },
@@ -701,13 +701,13 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
701
701
  if (typeof e > "u")
702
702
  throw new Error("Appointment parts must be used inside an <Appointment> component");
703
703
  return e;
704
- }, Fe = () => {
704
+ }, Me = () => {
705
705
  const { disabled: e, readOnly: n } = ie();
706
706
  return !!e || !!n;
707
707
  }, C = ({ children: e, className: n }) => {
708
708
  const { days: t, selectDate: a, weekRangeLabel: s } = h(), r = k(e, C.PreviousWeek), l = k(e, C.Heading), i = k(e, C.NextWeek), c = k(e, C.Day) ?? /* @__PURE__ */ o.createElement(C.Day, null), u = P(() => t.filter((d) => d.isSelected).map((d) => d.key), [
709
709
  t
710
- ]), f = Fe(), _ = P(() => t.filter((d) => f || d.isDisabled).map((d) => d.key), [
710
+ ]), f = Me(), _ = P(() => t.filter((d) => f || d.isDisabled).map((d) => d.key), [
711
711
  t,
712
712
  f
713
713
  ]), S = (d) => {
@@ -720,7 +720,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
720
720
  };
721
721
  return /* @__PURE__ */ o.createElement("div", {
722
722
  className: n
723
- }, r, l, i, /* @__PURE__ */ o.createElement(Mt, {
723
+ }, r, l, i, /* @__PURE__ */ o.createElement(Ft, {
724
724
  "aria-label": s,
725
725
  orientation: "horizontal",
726
726
  selectionMode: "single",
@@ -732,7 +732,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
732
732
  day: d
733
733
  }))));
734
734
  }, An = ({ children: e, className: n }) => {
735
- const { changeWeek: t, canGoToPreviousWeek: a, previousWeekLabel: s, nextWeekLabel: r } = h(), l = Fe(), i = J(null), c = J(!1);
735
+ const { changeWeek: t, canGoToPreviousWeek: a, previousWeekLabel: s, nextWeekLabel: r } = h(), l = Me(), i = J(null), c = J(!1);
736
736
  return U(() => {
737
737
  var _, S, d;
738
738
  if (a || !c.current)
@@ -756,7 +756,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
756
756
  }
757
757
  }, e ?? "‹");
758
758
  }, pn = ({ children: e, className: n }) => {
759
- const { changeWeek: t, nextWeekLabel: a } = h(), s = Fe();
759
+ const { changeWeek: t, nextWeekLabel: a } = h(), s = Me();
760
760
  return /* @__PURE__ */ o.createElement(Re, {
761
761
  className: n,
762
762
  "aria-label": a,
@@ -778,7 +778,7 @@ const dn = "SLOT_UNAVAILABLE", fn = (e) => {
778
778
  }, a)));
779
779
  }, In = ({ children: e, className: n, ...t }) => {
780
780
  const { day: a } = t;
781
- return /* @__PURE__ */ o.createElement(Ft, {
781
+ return /* @__PURE__ */ o.createElement(Mt, {
782
782
  id: a.key,
783
783
  className: n,
784
784
  textValue: a.label,
@@ -798,14 +798,14 @@ const $e = 'input[type="radio"]', De = ({ children: e, className: n, ...t }) =>
798
798
  const { hasTimezoneNote: a, hasDateTitle: s } = t, { slots: r, selectedSlotKey: l, selectSlot: i, selectedDateLabel: c, isReloadingSlots: u, timezoneLabel: f, pendingFocusIndex: _, consumePendingFocusIndex: S } = h(), { id: d, disabled: b, readOnly: v, required: p, hasError: I } = ie(), { inputId: O, labelId: x, ariaDescribedBy: z } = le(), Y = J(null), H = k(e, De.Slot) ?? /* @__PURE__ */ o.createElement(De.Slot, null), oe = !!s && !!c, $ = [
799
799
  z,
800
800
  a && f ? Je(O) : void 0
801
- ].filter(Boolean).join(" ") || void 0, F = (D, N) => {
801
+ ].filter(Boolean).join(" ") || void 0, M = (D, N) => {
802
802
  var R, G, Z;
803
803
  (Z = (G = (R = Y.current) == null ? void 0 : R.querySelectorAll($e)) == null ? void 0 : G[D]) == null || Z.focus(N);
804
804
  };
805
805
  return St(() => {
806
806
  var G, Z;
807
807
  if (!!((G = Y.current) != null && G.querySelector($e))) {
808
- F(0, {
808
+ M(0, {
809
809
  preventScroll: !0
810
810
  });
811
811
  return;
@@ -815,7 +815,7 @@ const $e = 'input[type="radio"]', De = ({ children: e, className: n, ...t }) =>
815
815
  preventScroll: !0
816
816
  });
817
817
  }, d), U(() => {
818
- _ !== void 0 && (F(_), S());
818
+ _ !== void 0 && (M(_), S());
819
819
  }, [
820
820
  _,
821
821
  r.length
@@ -936,7 +936,7 @@ const m = ({ children: e, className: n }) => {
936
936
  }, e ? e({
937
937
  label: t
938
938
  }) : t) : null;
939
- }, Mn = ({ children: e, className: n }) => {
939
+ }, Fn = ({ children: e, className: n }) => {
940
940
  const { hasMoreSlots: t, showMoreSlots: a, showMoreSlotsLabel: s } = h(), { disabled: r, readOnly: l } = ie();
941
941
  return t ? /* @__PURE__ */ o.createElement(Re, {
942
942
  className: n,
@@ -954,11 +954,11 @@ m.Timezone = kn;
954
954
  m.Format = vn;
955
955
  m.DateTitle = Rn;
956
956
  m.Slots = De;
957
- m.ShowMoreSlots = Mn;
957
+ m.ShowMoreSlots = Fn;
958
958
  m.Description = Wt;
959
959
  m.Error = Bt;
960
- const Fn = "_appointment_ki27o_1", hn = "_dates_ki27o_5", wn = "_weekHeading_ki27o_30", Cn = "_weekButton_ki27o_36", Wn = "_previousWeek_ki27o_68", Bn = "_nextWeek_ki27o_72", Pn = "_day_ki27o_84", Un = "_weekdayLabel_ki27o_94", xn = "_dayNumber_ki27o_103", zn = "_indicator_ki27o_107", Yn = "_hint_ki27o_130", Hn = "_slots_ki27o_143", Kn = "_dateTitle_ki27o_157", $n = "_slot_ki27o_143", Gn = "_slotHover_ki27o_199", Zn = "_slotSelected_ki27o_207", Vn = "_showMoreSlots_ki27o_261", qn = "_loader_ki27o_292", jn = "_notification_ki27o_328", A = {
961
- appointment: Fn,
960
+ const Mn = "_appointment_ki27o_1", hn = "_dates_ki27o_5", wn = "_weekHeading_ki27o_30", Cn = "_weekButton_ki27o_36", Wn = "_previousWeek_ki27o_68", Bn = "_nextWeek_ki27o_72", Pn = "_day_ki27o_84", Un = "_weekdayLabel_ki27o_94", xn = "_dayNumber_ki27o_103", zn = "_indicator_ki27o_107", Yn = "_hint_ki27o_130", Hn = "_slots_ki27o_143", Kn = "_dateTitle_ki27o_157", $n = "_slot_ki27o_143", Gn = "_slotHover_ki27o_199", Zn = "_slotSelected_ki27o_207", Vn = "_showMoreSlots_ki27o_261", qn = "_loader_ki27o_292", jn = "_notification_ki27o_328", A = {
961
+ appointment: Mn,
962
962
  dates: hn,
963
963
  weekHeading: wn,
964
964
  weekButton: Cn,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-Dp0Zf4Kf.js";
2
+ import { M as o } from "./multiline-address-field-rac-CPkSpMMb.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-3G3Ozglm.js";
2
+ import { E as e } from "./email-input-field-rac-CY4wE0eP.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-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.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-Cs75yckQ.js";
2
+ import { H as r } from "./header-field-rac-9wOBV_rW.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-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.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 { bN as d, bY as b, bF as f, bJ as x, W as p } from "./form-DcxKWiG2.js";
3
+ import { bO as d, bZ as b, bG as f, bK as x, W as p } from "./form-DpFQ9uO1.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 }) => {
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-DWgYXcrE.js";
2
+ import { P as e } from "./phone-input-field-rac-BCPj6vEP.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-5rrd72dQ.js";
2
+ import { R as t } from "./rich-text-field-rac-LgoEQuKS.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });