@wix/form-elements 1.62.0 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/component/{appointment-rac-Dqib2upI.js → appointment-rac-DojiZqx9.js} +35 -35
  2. package/dist/component/{bookings-address-rac-E-qq4-KG.js → bookings-address-rac-Bm_lQchD.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DA_Hwn2j.js → bookings-email-rac-vwuy0kW8.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-o1n3lnRo.js → bookings-first-name-rac-BbWuLoeg.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DQ0YvhxZ.js → bookings-header-rac-DVknNH29.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BqL_84Sg.js → bookings-last-name-rac-BnT3Cq0b.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CAN7roRc.js → bookings-login-bar-rac-DKi-VAXc.js} +16 -16
  8. package/dist/component/{bookings-phone-rac-CCJVdvkd.js → bookings-phone-rac-Bfy8rheB.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CCklquEC.js → bookings-rich-text-rac-DGiBDcXw.js} +1 -1
  10. package/dist/component/checkbox-field-rac-CYADRY54.js +1312 -0
  11. package/dist/component/checkbox-group-field-headless-BDAFpX5F.js +210 -0
  12. package/dist/component/checkbox-group-field-rac-2YUsOmDI.js +40 -0
  13. package/dist/component/{checkbox-group-rac-DWPClKpf.js → checkbox-group-rac-CQf1C9H5.js} +1 -1
  14. package/dist/component/{checkbox-rac-CvbOws2U.js → checkbox-rac-Bjv8jZjs.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CWFHC5LT.js → contacts-address-rac-BBTiEec9.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DPmJPp8M.js → contacts-birthdate-rac-XReeFHVW.js} +1 -1
  17. package/dist/component/{contacts-company-rac-UWP9uDqI.js → contacts-company-rac-B-fUQszu.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BCkkWYhr.js → contacts-email-rac-DBtcCcsV.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-KNRf92yT.js → contacts-first-name-rac-mkwU3706.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C_EotEpo.js → contacts-last-name-rac-DY5N-AZx.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DJGEWLsl.js → contacts-phone-rac-Ce1rMz_z.js} +1 -1
  22. package/dist/component/{contacts-position-rac-s1pZ662O.js → contacts-position-rac-B65H8PDu.js} +1 -1
  23. package/dist/component/contacts-subscribe-rac-BxO8rIyL.js +13 -0
  24. package/dist/component/{contacts-tax-id-rac-3MUvKEqW.js → contacts-tax-id-rac-Jtt0ySK2.js} +1 -1
  25. package/dist/component/{date-availability-CRsSX5_d.js → date-availability-B8UwvTJa.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DPo7waqI.js → date-input-field-rac-RL2a0xoD.js} +23 -23
  27. package/dist/component/{date-input-rac-DsY8ehb1.js → date-input-rac-ak3G7V07.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BtzlxVDB.js → date-picker-field-rac-SL_Roltf.js} +31 -31
  29. package/dist/component/{date-picker-rac-C-Aw6W87.js → date-picker-rac-ByrM0YIX.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-zre1vJ2m.js → date-time-input-field-rac-DOE7xcKi.js} +87 -87
  31. package/dist/component/{date-time-input-rac-CUvTUzbT.js → date-time-input-rac-BA-GyrAc.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-D4mhJU8E.js → dext-checkbox-group-rac-EwUnBO80.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BeYmKpAZ.js → dext-checkbox-rac-CIRKi4B5.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-Mr0M3sNQ.js → dext-date-picker-rac-BYO_Q1zM.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-dgxfrHUw.js → dext-date-time-input-rac-BOahPeaH.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CdZOoA5M.js → dext-dropdown-rac-sTD_r-0H.js} +1 -1
  37. package/dist/component/{dext-email-rac-TBiHlKjv.js → dext-email-rac-e-2_h3he.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-S78swyZ9.js → dext-number-input-rac-D6LACzWl.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BhIaSHez.js → dext-phone-rac-kUycy5Od.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B4xG4N8A.js → dext-radio-group-rac-DPD2UkrV.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-Bp2Pi5cP.js → dext-rating-input-rac-DUsnrl9W.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Bnjgmyk-.js → dext-tags-rac-D6z69HuO.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-f1nJTM_n.js → dext-text-area-rac-C-DVtFJ1.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B9m6oI-e.js → dext-text-input-rac-CIa2MdC6.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CfEUdRdY.js → dext-url-input-rac-8rVVW5us.js} +1 -1
  46. package/dist/component/{donation-rac-BqKbQD_H.js → donation-rac-BjmSBabc.js} +62 -62
  47. package/dist/component/{dropdown-field-headless-CzoD076g.js → dropdown-field-headless-DReo519l.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-5kD98Ubc.js → dropdown-field-rac-DzrjA2O6.js} +7 -7
  49. package/dist/component/{dropdown-rac-C9NpsRYi.js → dropdown-rac-CS7oLTp_.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DdvJEnAO.js → ecom-address-rac-EIb88J_6.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-D7Lf1ETL.js → ecom-subscription-checkbox-rac-CE0Ks6qS.js} +5 -5
  52. package/dist/component/{email-input-field-rac-DUordV5X.js → email-input-field-rac-BScZxYHw.js} +47 -47
  53. package/dist/component/{events-repeater-rac-B1yDrnvJ.js → events-repeater-rac-Y0rH2Jli.js} +66 -66
  54. package/dist/component/{events-rsvp-rac-B65NtAMH.js → events-rsvp-rac-BiAYVv_b.js} +12 -12
  55. package/dist/component/{field-error-headless-DP4WSQU3.js → field-error-headless-DrnFrGun.js} +4 -4
  56. package/dist/component/{field-label-headless-BKmi7Fjg.js → field-label-headless-BIYf1BIh.js} +7 -7
  57. package/dist/component/field-rac.module-CWkwwhq4.js +21 -0
  58. package/dist/component/{file-upload-rac-DAg_G0_l.js → file-upload-rac-br--tZLp.js} +83 -83
  59. package/dist/component/{fixed-payment-rac-yO1w1gE2.js → fixed-payment-rac-XEtrsaMy.js} +15 -15
  60. package/dist/component/{form-D6A2hUbV.js → form-9yjqDnxY.js} +2719 -2709
  61. package/dist/component/form-element-classes-KRzHUNLu.js +57 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-D3Bi6tTS.js → header-field-rac-CLELgzqY.js} +5 -5
  65. package/dist/component/{header-rac-Blv89pdS.js → header-rac-D8KGkVVp.js} +1 -1
  66. package/dist/component/{image-choice-rac-BLUZRNm0.js → image-choice-rac-Cl09CLP4.js} +30 -30
  67. package/dist/component/{index-BiYk1mJi.js → index-C4y71e1i.js} +2 -2
  68. package/dist/component/{index-Cv3_acT1.js → index-PHkE0Ru4.js} +4 -4
  69. package/dist/component/isObjectLike-srCDplej.js +86 -0
  70. package/dist/component/multiline-address-field-rac-CsBLI9y-.js +1613 -0
  71. package/dist/component/{multiline-address-rac-B9yHNebZ.js → multiline-address-rac-DFDPFfXh.js} +1 -1
  72. package/dist/component/{number-input-field-rac-SaC7jFUi.js → number-input-field-rac-DZRR7gdt.js} +19 -19
  73. package/dist/component/{number-input-rac-KYcJJPrs.js → number-input-rac-BCS5lkff.js} +1 -1
  74. package/dist/component/{password-rac-CD5bSL2g.js → password-rac-ClDGgR3E.js} +27 -27
  75. package/dist/component/{payment-input-rac-BlAscmFz.js → payment-input-rac-COydWmUE.js} +34 -34
  76. package/dist/component/{phone-input-field-rac-D-AosrgV.js → phone-input-field-rac-DYCibqe1.js} +54 -54
  77. package/dist/component/{phone-rac-DXLYlz5G.js → phone-rac-BS-dmWkJ.js} +1 -1
  78. package/dist/component/{product-list-rac-CGt4Gnj4.js → product-list-rac-hxOhaA-r.js} +84 -84
  79. package/dist/component/quiz-radio-group-rac-BT-YZO2Q.js +13 -0
  80. package/dist/component/{radio-group-field-rac-D8NS7qDq.js → radio-group-field-rac-DKqWnMBJ.js} +3 -3
  81. package/dist/component/{radio-group-field-rac.module-wK26tCZq.js → radio-group-field-rac.module-BwUynK_5.js} +9 -9
  82. package/dist/component/{radio-group-rac-HalDjwk1.js → radio-group-rac-DHURQZKK.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-BBhMkSyL.js → rating-input-field-rac-CZRdSVrf.js} +37 -37
  84. package/dist/component/{rating-input-rac-BpgFnNoD.js → rating-input-rac-BaH52DYm.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-BgJ2fteu.js → rich-content-rac.module-ILBfxEmN.js} +4 -4
  86. package/dist/component/{rich-text-field-rac-BZfCgvHc.js → rich-text-field-rac-B58q8Is7.js} +7 -7
  87. package/dist/component/{rich-text-rac-CG3V04Gr.js → rich-text-rac-DGbZh1eX.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-Bc_y-R5O.js → service-dropdown-rac-DUiNIbdv.js} +42 -42
  89. package/dist/component/{services-multi-choice-rac-BeBdZpRV.js → services-multi-choice-rac-B7y9s2l8.js} +29 -29
  90. package/dist/component/{signature-rac-DNdpHxFp.js → signature-rac-CydpvQJZ.js} +37 -37
  91. package/dist/component/{submit-button-rac-Bogk1xYc.js → submit-button-rac-OO53h4H8.js} +8 -8
  92. package/dist/component/{tags-field-rac-COJG3T_9.js → tags-field-rac-eX3d3JEH.js} +50 -50
  93. package/dist/component/{tags-rac-DsaUqJ4w.js → tags-rac-CdIB_48Z.js} +1 -1
  94. package/dist/component/{text-area-field-rac-BVq5p83p.js → text-area-field-rac-Bir5Q7gz.js} +22 -22
  95. package/dist/component/{text-area-rac-D-uiOy62.js → text-area-rac-Ct1UNU04.js} +1 -1
  96. package/dist/component/{text-input-field-rac-wYvY_eBR.js → text-input-field-rac-onGUXC9J.js} +6 -6
  97. package/dist/component/{text-input-headless-BsL6OYhp.js → text-input-headless-Bs9m7QFg.js} +10 -10
  98. package/dist/component/{text-input-rac-Bu8kXhrN.js → text-input-rac-DK4nEw4D.js} +1 -1
  99. package/dist/component/{time-input-rac-PWXUi1qL.js → time-input-rac-BCG9ktFa.js} +40 -40
  100. package/dist/component/{url-input-field-rac-B4qgrssx.js → url-input-field-rac-mUkrVTcL.js} +25 -25
  101. package/dist/component/{url-input-rac-Bo51kTsG.js → url-input-rac-Cl7LFYlr.js} +1 -1
  102. package/dist/component/{use-service-options-base-Du6B6AP9.js → use-service-options-base-BYVuKRj2.js} +8 -8
  103. package/dist/form.d.ts +3 -1
  104. package/package.json +2 -14
  105. package/dist/component/checkbox-field-rac-DhAEMdL9.js +0 -625
  106. package/dist/component/checkbox-group-field-headless-EGVW3vG0.js +0 -204
  107. package/dist/component/checkbox-group-field-rac-DUDWNOwV.js +0 -33
  108. package/dist/component/contacts-subscribe-rac-D_2wIX9p.js +0 -13
  109. package/dist/component/field-rac.module-DtugsLiL.js +0 -21
  110. package/dist/component/form-element-classes-Bi-nNM8q.js +0 -55
  111. package/dist/component/isObject-BAwJJxQ3.js +0 -34
  112. package/dist/component/multiline-address-field-rac-_Sb56AEM.js +0 -1574
  113. package/dist/component/quiz-radio-group-rac-DaStzNZZ.js +0 -13
@@ -1,15 +1,15 @@
1
1
  import o, { useRef as J, useState as j, useEffect as Y, createContext as Ge, useContext as Ze, useMemo as P, useCallback as ie } from "react";
2
2
  import { RicosViewer as lt } from "@wix/ricos/viewer";
3
3
  import T from "classnames";
4
- import { aa as ce, a9 as ct, ac as ke, ab as mt, c as ut, aq as dt, ap as ft, ag as me, ad as Se, ai as Dt, af as Et, F as St } from "./form-D6A2hUbV.js";
4
+ import { ab as ce, aa as ct, ae as ke, ad as mt, c as ut, as as dt, ar as ft, ai as me, af as Se, ak as Dt, ah as Et, F as St } from "./form-9yjqDnxY.js";
5
5
  import { C as Be } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as pt } from "./error-icon-hZxQ6DEy.js";
7
- import { s as fe } from "./field-rac.module-DtugsLiL.js";
8
- import { r as De, H as yt, s as Ie, g as Lt, h as Oe, f as _t, t as Nt, l as At } from "./form-element-classes-Bi-nNM8q.js";
7
+ import { s as fe } from "./field-rac.module-CWkwwhq4.js";
8
+ import { t as De, J as yt, u as Ie, i as Lt, j as Oe, h as _t, v as Nt, n as At } from "./form-element-classes-KRzHUNLu.js";
9
9
  import { ListBox as bt, Button as Re, ListBoxItem as gt, RadioGroup as It, RadioField as Ot, RadioButton as Tt } from "react-aria-components";
10
- import { f as w, a as le } from "./find-child-C60k4CxG.js";
11
- import { D as wt, E as vt } from "./field-error-headless-DP4WSQU3.js";
12
- import { L as kt } from "./field-label-headless-BKmi7Fjg.js";
10
+ import { f as v, a as le } from "./find-child-C60k4CxG.js";
11
+ import { D as vt, E as wt } from "./field-error-headless-DrnFrGun.js";
12
+ import { L as kt } from "./field-label-headless-BIYf1BIh.js";
13
13
  import { F as Rt } from "./fieldset-headless-CD3fds9J.js";
14
14
  import { g as ht } from "./get-first-day-of-the-week-DvnsxYhQ.js";
15
15
  import "date-fns";
@@ -56,10 +56,10 @@ const Mt = (e) => {
56
56
  }))
57
57
  };
58
58
  };
59
- var we;
59
+ var ve;
60
60
  (function(e) {
61
61
  e.UNDEFINED = "UNDEFINED", e.OWNER_BUSINESS = "OWNER_BUSINESS", e.OWNER_CUSTOM = "OWNER_CUSTOM", e.CUSTOM = "CUSTOM";
62
- })(we || (we = {}));
62
+ })(ve || (ve = {}));
63
63
  var Ue;
64
64
  (function(e) {
65
65
  e.UNKNOWN_REQUESTED_GENDER = "UNKNOWN_REQUESTED_GENDER", e.ANY_MALE = "ANY_MALE", e.ANY_FEMALE = "ANY_FEMALE";
@@ -131,7 +131,7 @@ const Wt = (e) => {
131
131
  startDate: c.toISOString(),
132
132
  endDate: d.toISOString(),
133
133
  location: {
134
- locationType: we.CUSTOM
134
+ locationType: ve.CUSTOM
135
135
  }
136
136
  },
137
137
  bookable: !0,
@@ -162,20 +162,20 @@ function zt(e) {
162
162
  return Y(() => {
163
163
  u && !s && !r && c && (async () => {
164
164
  var W, N, A, K, B;
165
- const v = je(), I = {
165
+ const w = je(), I = {
166
166
  currentSlotBulkSize: V,
167
- timezone: v,
167
+ timezone: w,
168
168
  dataStatus: z.LOADING
169
169
  };
170
170
  try {
171
171
  const U = async (oe) => {
172
172
  var k, p;
173
- const { startDate: se, endDate: $ } = Ut(oe, v);
173
+ const { startDate: se, endDate: $ } = Ut(oe, w);
174
174
  return (p = (k = l.current) == null ? void 0 : k.getAvailabilityDates) == null ? void 0 : p.call(k, {
175
175
  serviceId: u,
176
176
  fromDate: se,
177
177
  toDate: $,
178
- timeZone: v
178
+ timeZone: w
179
179
  });
180
180
  };
181
181
  if (I.availabilityDates = await U(2), (W = I.availabilityDates) != null && W.length || (I.availabilityDates = await U(6)), !((N = I.availabilityDates) != null && N.length)) {
@@ -193,7 +193,7 @@ function zt(e) {
193
193
  }
194
194
  I.selectedDate = xt(I.availabilityDates), I.selectedDate && (I.availabilitySlots = await ((K = (A = l.current) == null ? void 0 : A.getAvailabilitySlots) == null ? void 0 : K.call(A, {
195
195
  serviceId: u,
196
- timeZone: v,
196
+ timeZone: w,
197
197
  selectedDate: I.selectedDate
198
198
  }))), E == null || E.report({
199
199
  action: te.LOAD,
@@ -365,7 +365,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
365
365
  u,
366
366
  i
367
367
  ]), a ? s : Ke;
368
- }, q = 7, ve = (e) => {
368
+ }, q = 7, we = (e) => {
369
369
  const t = new Date(e);
370
370
  return t.setHours(0, 0, 0, 0), t;
371
371
  }, nn = (e) => {
@@ -375,7 +375,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
375
375
  const n = new Date(e);
376
376
  return n.setDate(n.getDate() + t), n;
377
377
  }, He = (e, t) => {
378
- const n = ve(e), a = (n.getDay() - t + q) % q;
378
+ const n = we(e), a = (n.getDay() - t + q) % q;
379
379
  return ee(n, -a);
380
380
  }, an = (e) => `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`, on = (e, t, n) => {
381
381
  const a = new Intl.DateTimeFormat(n, {
@@ -388,7 +388,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
388
388
  return !!((a = n.slot) != null && a.startDate) && ne(new Date(n.slot.startDate), e);
389
389
  }), rn = () => {
390
390
  var We;
391
- const { appointmentFieldProps: e, appointmentState: t, setAppointmentState: n } = he(), { language: a, isEditor: s, isComposer: r, isMobile: u } = ce(), { t: i } = dt(), { actions: l } = ke(), c = qe(), [d, S] = j(!1), [E, f] = j(!1), [O, v] = j(), [I, W] = j();
391
+ const { appointmentFieldProps: e, appointmentState: t, setAppointmentState: n } = he(), { language: a, isEditor: s, isComposer: r, isMobile: u } = ce(), { t: i } = dt(), { actions: l } = ke(), c = qe(), [d, S] = j(!1), [E, f] = j(!1), [O, w] = j(), [I, W] = j();
392
392
  Zt({
393
393
  setIsReloadingSlots: S
394
394
  });
@@ -430,7 +430,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
430
430
  ]), Ce = J(L);
431
431
  Y(() => {
432
432
  const D = Ce.current;
433
- Ce.current = L, !!L && (!D || !ne(D, L)) && v(void 0);
433
+ Ce.current = L, !!L && (!D || !ne(D, L)) && w(void 0);
434
434
  }, [
435
435
  L
436
436
  ]);
@@ -439,7 +439,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
439
439
  L,
440
440
  ye
441
441
  ]), et = P(() => {
442
- const D = ve(/* @__PURE__ */ new Date()), b = new Intl.DateTimeFormat(a, {
442
+ const D = we(/* @__PURE__ */ new Date()), b = new Intl.DateTimeFormat(a, {
443
443
  weekday: u ? "narrow" : "short"
444
444
  }), g = new Intl.DateTimeFormat(a, {
445
445
  day: "numeric"
@@ -451,7 +451,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
451
451
  return Array.from({
452
452
  length: q
453
453
  }, (re, be) => {
454
- const x = ee(M, be), ge = !!L && ne(x, L), it = ve(x) < D;
454
+ const x = ee(M, be), ge = !!L && ne(x, L), it = we(x) < D;
455
455
  return {
456
456
  key: an(x),
457
457
  date: x,
@@ -549,7 +549,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
549
549
  if (D < 0 && !Ae)
550
550
  return;
551
551
  const b = M, g = ee(M, D * q);
552
- if (v(g), s || r)
552
+ if (w(g), s || r)
553
553
  return;
554
554
  const h = ++de.current;
555
555
  f(!0), c == null || c.report({
@@ -567,7 +567,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
567
567
  availabilityDates: be
568
568
  });
569
569
  } catch {
570
- h === de.current && v(b);
570
+ h === de.current && w(b);
571
571
  } finally {
572
572
  h === de.current && f(!1);
573
573
  }
@@ -678,7 +678,7 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
678
678
  const { disabled: e, readOnly: t } = me();
679
679
  return !!e || !!t;
680
680
  }, C = ({ children: e, className: t }) => {
681
- const { days: n, selectDate: a, weekRangeLabel: s } = F(), r = w(e, C.PreviousWeek), u = w(e, C.Heading), i = w(e, C.NextWeek), l = w(e, C.Day) ?? /* @__PURE__ */ o.createElement(C.Day, null), c = P(() => n.filter((f) => f.isSelected).map((f) => f.key), [
681
+ const { days: n, selectDate: a, weekRangeLabel: s } = F(), r = v(e, C.PreviousWeek), u = v(e, C.Heading), i = v(e, C.NextWeek), l = v(e, C.Day) ?? /* @__PURE__ */ o.createElement(C.Day, null), c = P(() => n.filter((f) => f.isSelected).map((f) => f.key), [
682
682
  n
683
683
  ]), d = Fe(), S = P(() => n.filter((f) => d || f.isDisabled).map((f) => f.key), [
684
684
  n,
@@ -688,8 +688,8 @@ const Xt = "SLOT_UNAVAILABLE", Ke = [], en = (e) => {
688
688
  return;
689
689
  const [O] = [
690
690
  ...f
691
- ], v = n.find(({ key: I }) => I === O);
692
- v && a(v.date);
691
+ ], w = n.find(({ key: I }) => I === O);
692
+ w && a(w.date);
693
693
  };
694
694
  return /* @__PURE__ */ o.createElement("div", {
695
695
  className: t
@@ -768,7 +768,7 @@ C.Heading = mn;
768
768
  C.NextWeek = cn;
769
769
  C.Day = un;
770
770
  const $e = 'input[type="radio"]', ae = ({ children: e, className: t, ...n }) => {
771
- const { hasTimezoneNote: a } = n, { slots: s, selectedSlotKey: r, selectSlot: u, selectedDateLabel: i, isReloadingSlots: l, timezoneLabel: c, pendingFocusIndex: d, consumePendingFocusIndex: S } = F(), { id: E, disabled: f, readOnly: O, required: v, hasError: I } = me(), { inputId: W, labelId: N, ariaDescribedBy: A } = Se(), K = J(null), B = `${W}-slots-label`, U = w(e, ae.Label), oe = w(e, ae.Slot) ?? /* @__PURE__ */ o.createElement(ae.Slot, null), se = !!U && !!i, $ = [
771
+ const { hasTimezoneNote: a } = n, { slots: s, selectedSlotKey: r, selectSlot: u, selectedDateLabel: i, isReloadingSlots: l, timezoneLabel: c, pendingFocusIndex: d, consumePendingFocusIndex: S } = F(), { id: E, disabled: f, readOnly: O, required: w, hasError: I } = me(), { inputId: W, labelId: N, ariaDescribedBy: A } = Se(), K = J(null), B = `${W}-slots-label`, U = v(e, ae.Label), oe = v(e, ae.Slot) ?? /* @__PURE__ */ o.createElement(ae.Slot, null), se = !!U && !!i, $ = [
772
772
  A,
773
773
  a && c ? Xe(W) : void 0
774
774
  ].filter(Boolean).join(" ") || void 0, k = (p) => {
@@ -798,7 +798,7 @@ const $e = 'input[type="radio"]', ae = ({ children: e, className: t, ...n }) =>
798
798
  onChange: u,
799
799
  isDisabled: f,
800
800
  isReadOnly: O,
801
- isRequired: v,
801
+ isRequired: w,
802
802
  isInvalid: I,
803
803
  "aria-labelledby": se ? B : N,
804
804
  "aria-describedby": $,
@@ -843,7 +843,7 @@ const m = ({ children: e, className: t }) => {
843
843
  r,
844
844
  i,
845
845
  a
846
- ]), d = w(e, m.Label), S = w(e, m.Description), E = w(e, m.Error);
846
+ ]), d = v(e, m.Label), S = v(e, m.Description), E = v(e, m.Error);
847
847
  return /* @__PURE__ */ o.createElement(s, {
848
848
  fieldId: a,
849
849
  renderLabel: () => le(d, {
@@ -859,7 +859,7 @@ const m = ({ children: e, className: t }) => {
859
859
  }, Dn = {
860
860
  visibility: "hidden"
861
861
  }, En = ({ children: e, className: t }) => {
862
- const { required: n, onFocus: a, onBlur: s } = me(), { inputId: r, labelId: u, ariaDescribedBy: i } = Se(), l = rn(), c = w(e, m.Loader), d = w(e, m.Notification), S = w(e, m.Dates), E = w(e, m.Timezone), f = w(e, m.Format), O = w(e, m.Slots), v = w(e, m.ShowMoreSlots);
862
+ const { required: n, onFocus: a, onBlur: s } = me(), { inputId: r, labelId: u, ariaDescribedBy: i } = Se(), l = rn(), c = v(e, m.Loader), d = v(e, m.Notification), S = v(e, m.Dates), E = v(e, m.Timezone), f = v(e, m.Format), O = v(e, m.Slots), w = v(e, m.ShowMoreSlots);
863
863
  return /* @__PURE__ */ o.createElement(Je.Provider, {
864
864
  value: l
865
865
  }, /* @__PURE__ */ o.createElement(Rt, {
@@ -874,7 +874,7 @@ const m = ({ children: e, className: t }) => {
874
874
  style: l.isLoading ? Dn : void 0
875
875
  }, S, E, f, le(O, {
876
876
  hasTimezoneNote: !!E
877
- }), d, v)));
877
+ }), d, w)));
878
878
  }, Sn = ({ children: e, className: t }) => {
879
879
  const { isLoading: n, isRefetching: a } = F();
880
880
  return !n && !a ? null : /* @__PURE__ */ o.createElement("div", {
@@ -925,9 +925,9 @@ m.Timezone = yn;
925
925
  m.Format = Ln;
926
926
  m.Slots = ae;
927
927
  m.ShowMoreSlots = _n;
928
- m.Description = wt;
929
- m.Error = vt;
930
- const Nn = "_appointment_1v1wg_1", An = "_dates_1v1wg_5", bn = "_weekHeading_1v1wg_23", gn = "_weekButton_1v1wg_32", In = "_previousWeek_1v1wg_64", On = "_nextWeek_1v1wg_68", Tn = "_day_1v1wg_80", wn = "_weekdayLabel_1v1wg_95", vn = "_dayNumber_1v1wg_107", kn = "_indicator_1v1wg_167", Rn = "_hint_1v1wg_186", hn = "_slots_1v1wg_199", Fn = "_slotsMobile_1v1wg_208", Mn = "_slotsLabel_1v1wg_212", Cn = "_slot_1v1wg_199", Wn = "_slotLabel_1v1wg_247", Bn = "_showMoreSlots_1v1wg_314", Un = "_loader_1v1wg_345", xn = "_notification_1v1wg_381", y = {
928
+ m.Description = vt;
929
+ m.Error = wt;
930
+ const Nn = "_appointment_1v1wg_1", An = "_dates_1v1wg_5", bn = "_weekHeading_1v1wg_23", gn = "_weekButton_1v1wg_32", In = "_previousWeek_1v1wg_64", On = "_nextWeek_1v1wg_68", Tn = "_day_1v1wg_80", vn = "_weekdayLabel_1v1wg_95", wn = "_dayNumber_1v1wg_107", kn = "_indicator_1v1wg_167", Rn = "_hint_1v1wg_186", hn = "_slots_1v1wg_199", Fn = "_slotsMobile_1v1wg_208", Mn = "_slotsLabel_1v1wg_212", Cn = "_slot_1v1wg_199", Wn = "_slotLabel_1v1wg_247", Bn = "_showMoreSlots_1v1wg_314", Un = "_loader_1v1wg_345", xn = "_notification_1v1wg_381", y = {
931
931
  appointment: Nn,
932
932
  dates: An,
933
933
  weekHeading: bn,
@@ -935,8 +935,8 @@ const Nn = "_appointment_1v1wg_1", An = "_dates_1v1wg_5", bn = "_weekHeading_1v1
935
935
  previousWeek: In,
936
936
  nextWeek: On,
937
937
  day: Tn,
938
- weekdayLabel: wn,
939
- dayNumber: vn,
938
+ weekdayLabel: vn,
939
+ dayNumber: wn,
940
940
  indicator: kn,
941
941
  hint: Rn,
942
942
  slots: hn,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-_Sb56AEM.js";
2
+ import { M as o } from "./multiline-address-field-rac-CsBLI9y-.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-DUordV5X.js";
2
+ import { E as e } from "./email-input-field-rac-BScZxYHw.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-wYvY_eBR.js";
2
+ import { T as e } from "./text-input-field-rac-onGUXC9J.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-D3Bi6tTS.js";
2
+ import { H as r } from "./header-field-rac-CLELgzqY.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-wYvY_eBR.js";
2
+ import { T as e } from "./text-input-field-rac-onGUXC9J.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsLastNameRAC
@@ -1,9 +1,9 @@
1
1
  import o from "react";
2
- import b from "classnames";
3
- import { ag as d, aq as B, aa as f, ac as p } from "./form-D6A2hUbV.js";
2
+ import E from "classnames";
3
+ import { ai as d, as as B, ab as f, ae as p } from "./form-9yjqDnxY.js";
4
4
  import { Button as L } from "react-aria-components";
5
5
  import { a as i, f as g } from "./find-child-C60k4CxG.js";
6
- import { p as _ } from "./form-element-classes-Bi-nNM8q.js";
6
+ import { r as _ } from "./form-element-classes-KRzHUNLu.js";
7
7
  const a = ({ children: n }) => {
8
8
  const { id: r, FieldLayout: t } = d();
9
9
  return /* @__PURE__ */ o.createElement(t, {
@@ -13,34 +13,34 @@ const a = ({ children: n }) => {
13
13
  renderDescription: () => null
14
14
  });
15
15
  }, x = ({ children: n, className: r, email: t, isLoggedIn: e = !!t, login: l, logout: s }) => {
16
- const c = i(g(n, a.Text), {
16
+ const m = i(g(n, a.Text), {
17
17
  email: t,
18
18
  isLoggedIn: e
19
- }), m = i(g(n, a.Button), {
19
+ }), c = i(g(n, a.Button), {
20
20
  isLoggedIn: e,
21
21
  login: l,
22
22
  logout: s
23
- }), E = e ? c : i(c, {
24
- buttonElement: m,
23
+ }), b = e ? m : i(m, {
24
+ buttonElement: c,
25
25
  isLoggedIn: e
26
26
  });
27
27
  return /* @__PURE__ */ o.createElement("div", {
28
28
  className: r,
29
29
  role: "status"
30
- }, e ? /* @__PURE__ */ o.createElement(o.Fragment, null, c, m) : E);
30
+ }, e ? /* @__PURE__ */ o.createElement(o.Fragment, null, m, c) : b);
31
31
  }, N = ({ className: n, ...r }) => {
32
- const { buttonElement: t, email: e, isLoggedIn: l } = r, { t: s } = B(), c = l ? s("form.login-bar.title.logged-in-state", {
32
+ const { buttonElement: t, email: e, isLoggedIn: l } = r, { t: s } = B(), m = l ? s("form.login-bar.title.logged-in-state", {
33
33
  user: e
34
34
  }) : s("form.login-bar.title.logged-out-state");
35
35
  return /* @__PURE__ */ o.createElement("div", {
36
36
  className: n
37
- }, c, !l && t);
37
+ }, m, !l && t);
38
38
  }, F = ({ className: n, ...r }) => {
39
- const { t } = B(), { isLoggedIn: e, login: l, logout: s } = r, c = t(e ? "form.login-bar.action.logout" : "form.login-bar.actions.login"), m = () => e ? s == null ? void 0 : s() : l == null ? void 0 : l();
39
+ const { t } = B(), { isLoggedIn: e, login: l, logout: s } = r, m = t(e ? "form.login-bar.action.logout" : "form.login-bar.actions.login"), c = () => e ? s == null ? void 0 : s() : l == null ? void 0 : l();
40
40
  return /* @__PURE__ */ o.createElement(L, {
41
41
  className: n,
42
- onPress: m
43
- }, c);
42
+ onPress: c
43
+ }, m);
44
44
  };
45
45
  a.LoginBar = x;
46
46
  a.Text = N;
@@ -62,13 +62,13 @@ const T = "_container_1mvrn_1", C = "_text_1mvrn_34", v = "_button_1mvrn_39", u
62
62
  var e;
63
63
  return (e = t == null ? void 0 : t.requestLogout) == null ? void 0 : e.call(t);
64
64
  },
65
- className: b(_, u.container)
65
+ className: E(_, u.container)
66
66
  }, /* @__PURE__ */ o.createElement(a.Text, {
67
67
  className: u.text
68
68
  }), /* @__PURE__ */ o.createElement(a.Button, {
69
69
  className: u.button
70
70
  })));
71
- }, h = () => /* @__PURE__ */ o.createElement(A, null);
71
+ }, k = () => /* @__PURE__ */ o.createElement(A, null);
72
72
  export {
73
- h as BookingsLoginBarRAC
73
+ k as BookingsLoginBarRAC
74
74
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-D-AosrgV.js";
2
+ import { P as e } from "./phone-input-field-rac-DYCibqe1.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-BZfCgvHc.js";
2
+ import { R as t } from "./rich-text-field-rac-B58q8Is7.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });