@wix/form-elements 1.74.0 → 1.76.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 (116) hide show
  1. package/dist/component/appointment-rac-BQsFMmBg.js +1016 -0
  2. package/dist/component/{bookings-address-rac-BcrkXf63.js → bookings-address-rac-AJNyTdok.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DYq5RxOP.js → bookings-email-rac-BHZ0MFgI.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ZJ_sQ-01.js → bookings-first-name-rac-Bw5FuWNX.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Cv8kl01f.js → bookings-header-rac-C1M2Pg1f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BmnulSZ6.js → bookings-last-name-rac-DKkPY0CO.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bdi4xs9y.js → bookings-login-bar-rac-P6pziSl1.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-C8DjSzUY.js → bookings-phone-rac-CiOZWKHz.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DYu011oy.js → bookings-rich-text-rac-D9ZComtY.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BH3yEE5j.js → checkbox-field-rac-4zG3Sf1c.js} +328 -320
  11. package/dist/component/checkbox-group-field-headless-DN2aNw9g.js +205 -0
  12. package/dist/component/checkbox-group-field-rac-B1qhet83.js +41 -0
  13. package/dist/component/{checkbox-group-rac-CgW0DnhX.js → checkbox-group-rac-DGsE7xGu.js} +1 -1
  14. package/dist/component/checkbox-indicator-module-classes-BcScu147.js +17 -0
  15. package/dist/component/{checkbox-rac-DOAYMMsi.js → checkbox-rac-CFWQW9_K.js} +1 -1
  16. package/dist/component/{contacts-address-rac-DXJa4J_k.js → contacts-address-rac-G5ZH3Odo.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-CVsuRq3B.js → contacts-birthdate-rac-C7TDUfT0.js} +1 -1
  18. package/dist/component/{contacts-company-rac-b2bwHSNC.js → contacts-company-rac-8queUhWT.js} +1 -1
  19. package/dist/component/{contacts-email-rac-DMPcpQ1c.js → contacts-email-rac-CYOs5N_I.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-CL2BsHuJ.js → contacts-first-name-rac-D8Goc_Ym.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-hdBsWaqb.js → contacts-last-name-rac-lBmtuEnr.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DQF6aV9B.js → contacts-phone-rac-DSUWUNBX.js} +1 -1
  23. package/dist/component/{contacts-position-rac-CVX-WCfx.js → contacts-position-rac-wA-aw5Id.js} +1 -1
  24. package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +13 -0
  25. package/dist/component/{contacts-tax-id-rac-0KTXvF81.js → contacts-tax-id-rac-BpjVM1Ye.js} +1 -1
  26. package/dist/component/{date-availability-DBljhBgO.js → date-availability-CeiMjrtD.js} +1 -1
  27. package/dist/component/{date-input-field-rac-CfflD2Ar.js → date-input-field-rac-CVaajAFM.js} +30 -30
  28. package/dist/component/{date-input-rac-fQclCKoa.js → date-input-rac-DhEzawuM.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BSmFOaH-.js → date-picker-field-rac-1Q6yyNmK.js} +35 -35
  30. package/dist/component/{date-picker-rac-D7I3ramu.js → date-picker-rac-BCGtmXMJ.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-vjZDQ_Fp.js → date-time-input-field-rac-Dd-HNgKP.js} +35 -35
  32. package/dist/component/{date-time-input-rac-CDbS0VZR.js → date-time-input-rac-CsCWEsH5.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-BBiPt6_a.js → dext-checkbox-group-rac-CauN5uuV.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-Cqp--0SO.js → dext-checkbox-rac-q-g9gDnw.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-5Wft0w9m.js → dext-date-picker-rac-CZT3dTLv.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-Bbs7bgtn.js → dext-date-time-input-rac-DVUoZZbX.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-CSvhtqbc.js → dext-dropdown-rac-GRltutt5.js} +1 -1
  38. package/dist/component/{dext-email-rac-BoLeXqyI.js → dext-email-rac-74Y8S9GA.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-DzaJYTSz.js → dext-number-input-rac-CF9d_GTl.js} +1 -1
  40. package/dist/component/{dext-phone-rac-BagPg_CT.js → dext-phone-rac-DObx_gOd.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-B5HSQt7a.js → dext-radio-group-rac-CzU9KX5_.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-DrtaAf-E.js → dext-rating-input-rac-BjRwwgXr.js} +1 -1
  43. package/dist/component/{dext-tags-rac-Cg4jJ4jr.js → dext-tags-rac-Vif4x1yF.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-C_t-W7lk.js → dext-text-area-rac-DmZwl_ax.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-ChvV21Jf.js → dext-text-input-rac-B6FVbjUM.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-DclbSYTr.js → dext-url-input-rac-17Dj3ICM.js} +1 -1
  47. package/dist/component/donation-rac-bgHep0Xi.js +307 -0
  48. package/dist/component/{dropdown-field-headless-CTZ-zGqZ.js → dropdown-field-headless-BGfJ1FyZ.js} +3 -3
  49. package/dist/component/{dropdown-field-rac-C1KVtxwv.js → dropdown-field-rac-DGiysJQY.js} +7 -7
  50. package/dist/component/{dropdown-rac-CkkDEDje.js → dropdown-rac-FHjz8fKp.js} +1 -1
  51. package/dist/component/{ecom-address-rac-BOuugSxX.js → ecom-address-rac-DSbpf4z8.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-IZeMlljb.js → ecom-subscription-checkbox-rac-DiZWNwnt.js} +6 -6
  53. package/dist/component/{email-input-field-rac-CNzmm1j7.js → email-input-field-rac-BQKK2O7L.js} +44 -44
  54. package/dist/component/events-repeater-rac-Dudnyhal.js +255 -0
  55. package/dist/component/{events-rsvp-rac-BmjboAco.js → events-rsvp-rac-008H5Ska.js} +3 -3
  56. package/dist/component/{field-error-headless-DQZ5XAdn.js → field-error-headless-C5ZsFUKv.js} +1 -1
  57. package/dist/component/{field-label-headless-DoxfHHaj.js → field-label-headless-CS5OYsiI.js} +1 -1
  58. package/dist/component/field-rac.module-DjmaTYkc.js +23 -0
  59. package/dist/component/{file-upload-rac-YEQ7uXhm.js → file-upload-rac-bQ2QOO8Q.js} +48 -48
  60. package/dist/component/{fixed-payment-rac-DDufIQBT.js → fixed-payment-rac-B6FvXoCU.js} +17 -17
  61. package/dist/component/{form-C6WwBcGP.js → form-BpHElSwH.js} +69 -69
  62. package/dist/component/form-element-classes-BXNs5k3q.js +119 -0
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-DGfjrjQC.js → header-field-rac-D4UYcmok.js} +3 -3
  66. package/dist/component/{header-rac-C_JE2cTg.js → header-rac-KavPiBdn.js} +1 -1
  67. package/dist/component/{image-choice-rac-LDLPQwrN.js → image-choice-rac-BJQqBhBD.js} +35 -36
  68. package/dist/component/{index-CIOoaQ8Z.js → index-RSEYrQef.js} +2 -2
  69. package/dist/component/{index-C2srcuHD.js → index-Y8iTxLat.js} +4 -4
  70. package/dist/component/{isObjectLike-E5QfEa1u.js → isObjectLike-jwHec4Ap.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-Biyj2tIN.js → multiline-address-field-rac-D4Ibno80.js} +110 -110
  72. package/dist/component/{multiline-address-rac-BCqCvG7a.js → multiline-address-rac-CrTSjzBN.js} +1 -1
  73. package/dist/component/{number-input-field-rac-CwUoIbM8.js → number-input-field-rac-DW1SjB-Z.js} +16 -16
  74. package/dist/component/{number-input-rac-CdYdTDem.js → number-input-rac-CdE_hRbA.js} +1 -1
  75. package/dist/component/{password-rac-D62npVHY.js → password-rac-BCxl5mMQ.js} +20 -20
  76. package/dist/component/{payment-input-rac-D4u-3vcW.js → payment-input-rac-DmO4s4ue.js} +9 -9
  77. package/dist/component/{phone-input-field-rac-uHxR3ozd.js → phone-input-field-rac-BYAnwk5h.js} +25 -25
  78. package/dist/component/{phone-rac-Bf99_BGi.js → phone-rac-gS4k9Yn8.js} +1 -1
  79. package/dist/component/product-list-rac-CO0o3yOg.js +271 -0
  80. package/dist/component/{quiz-radio-group-rac-CPGS0LEb.js → quiz-radio-group-rac-Dhk7nkzb.js} +2 -2
  81. package/dist/component/{radio-group-field-rac-BWpTNAbO.js → radio-group-field-rac-DdlyQ3m6.js} +3 -3
  82. package/dist/component/{radio-group-field-rac.module-WxU5zxvM.js → radio-group-field-rac.module-emin6sSc.js} +3 -3
  83. package/dist/component/{radio-group-rac-dA4WZ1Vj.js → radio-group-rac-B-9q91fJ.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-CJnFsBvH.js → rating-input-field-rac-VDaJKq-n.js} +27 -28
  85. package/dist/component/{rating-input-rac-DXVYozFV.js → rating-input-rac-BVO62LmE.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-DkKwzJS7.js → rich-content-rac.module-CdiaAjxG.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-8FWCRrpb.js → rich-text-field-rac-C4RrbyEX.js} +3 -3
  88. package/dist/component/{rich-text-rac-OeM_mPRy.js → rich-text-rac-BG376ww9.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-mvUMpcS_.js → service-dropdown-rac-Dy6-OpVR.js} +18 -18
  90. package/dist/component/services-multi-choice-rac-BKW9MP_b.js +84 -0
  91. package/dist/component/{signature-rac-D44U9Uyp.js → signature-rac-Cxgixp4o.js} +56 -56
  92. package/dist/component/{submit-button-rac-BqtcgVAn.js → submit-button-rac-BqPJ7WPI.js} +2 -2
  93. package/dist/component/{tags-field-rac-CemsTKWz.js → tags-field-rac-wwqpztG7.js} +36 -37
  94. package/dist/component/{tags-rac-fVjCf6qo.js → tags-rac-DUxITYxU.js} +1 -1
  95. package/dist/component/{text-area-field-rac-BPciZlZb.js → text-area-field-rac-Cen6O33S.js} +16 -16
  96. package/dist/component/{text-area-rac-CRTORdZM.js → text-area-rac-CRlO56GA.js} +1 -1
  97. package/dist/component/{text-input-field-rac-CvFoWlRN.js → text-input-field-rac-CbnKn03g.js} +6 -6
  98. package/dist/component/{text-input-headless-BQ3TWU9G.js → text-input-headless-C_NTJmLe.js} +3 -3
  99. package/dist/component/{text-input-rac-DSFkEmob.js → text-input-rac-DvwV7Igm.js} +1 -1
  100. package/dist/component/{time-input-rac-CGgs7ncp.js → time-input-rac-TSEXiODs.js} +15 -15
  101. package/dist/component/{url-input-field-rac-CqvgTc-F.js → url-input-field-rac-Cxgh9T8s.js} +20 -20
  102. package/dist/component/{url-input-rac-C45KOwnr.js → url-input-rac-DNw-Jg1U.js} +1 -1
  103. package/dist/component/use-element-state-class-name-CC65g9mT.js +15 -0
  104. package/dist/component/{use-service-options-base-D4Zl-iGW.js → use-service-options-base-EFrxTpGm.js} +1 -1
  105. package/package.json +2 -2
  106. package/dist/component/appointment-rac-Bze1s2XD.js +0 -1005
  107. package/dist/component/checkbox-group-field-headless-D_GG5LHM.js +0 -210
  108. package/dist/component/checkbox-group-field-rac-Cj7Erubs.js +0 -41
  109. package/dist/component/contacts-subscribe-rac-Dl1ot9qw.js +0 -13
  110. package/dist/component/donation-rac-FYQIMm5m.js +0 -308
  111. package/dist/component/events-repeater-rac-CMV0Lmwz.js +0 -247
  112. package/dist/component/field-rac.module-Cac83bU5.js +0 -21
  113. package/dist/component/form-element-classes-DDKCTFQj.js +0 -65
  114. package/dist/component/form-element-keys-D0sEdpFo.js +0 -8
  115. package/dist/component/product-list-rac-iRf6Ra7i.js +0 -263
  116. package/dist/component/services-multi-choice-rac-DrgUrn_N.js +0 -76
@@ -1,20 +1,20 @@
1
1
  import { RicosViewer as G } from "@wix/ricos/viewer";
2
- import y from "classnames";
3
- import e, { useState as z, useCallback as F, useContext as Q, useRef as L, useMemo as _ } from "react";
4
- import { D, ai as v, af as A, ab as S, ak as Z } from "./form-C6WwBcGP.js";
2
+ import C from "classnames";
3
+ import e, { useState as Q, useCallback as F, useContext as z, useRef as L, useMemo as _ } from "react";
4
+ import { D, ai as v, af as A, ab as S, ak as Z } from "./form-BpHElSwH.js";
5
5
  import { parseDate as J } from "@internationalized/date";
6
6
  import { UNSAFE_PortalProvider as X } from "react-aria";
7
7
  import { I18nProvider as ee, DatePicker as te, DatePickerStateContext as re, Group as ae, DateInput as ne, DateSegment as oe, Dialog as le, Calendar as se, CalendarMonthPicker as ce, CalendarYearPicker as ie, CalendarGrid as me, CalendarCell as ue, Button as R, Select as O, SelectValue as x, ListBox as k, ListBoxItem as M } from "react-aria-components";
8
8
  import { g as de } from "./get-first-day-of-the-week-DvnsxYhQ.js";
9
9
  import { f as E, a as b } from "./find-child-C60k4CxG.js";
10
- import { D as ge, E as Ee } from "./field-error-headless-DQZ5XAdn.js";
11
- import { L as pe } from "./field-label-headless-DoxfHHaj.js";
10
+ import { D as ge, E as Ee } from "./field-error-headless-C5ZsFUKv.js";
11
+ import { L as pe } from "./field-label-headless-CS5OYsiI.js";
12
12
  import { D as De, N as I, S as w } from "./non-modal-popover-DtIMXHbe.js";
13
- import { i as fe } from "./date-availability-DBljhBgO.js";
13
+ import { i as fe } from "./date-availability-CeiMjrtD.js";
14
14
  import { C as N } from "./chevron-down-icon-CcpVm6B-.js";
15
- import { E as Ce } from "./error-icon-hZxQ6DEy.js";
16
- import { s as p } from "./field-rac.module-Cac83bU5.js";
17
- import { z as ye, R as he, y as ve, C as Se, q as Te, j as be } from "./form-element-classes-DDKCTFQj.js";
15
+ import { E as ye } from "./error-icon-hZxQ6DEy.js";
16
+ import { s as p } from "./field-rac.module-DjmaTYkc.js";
17
+ import { z as Ce, Q as he, y as ve, B as Se, p as Te, i as be } from "./form-element-classes-BXNs5k3q.js";
18
18
  const _e = [
19
19
  D.SUNDAY,
20
20
  D.MONDAY,
@@ -26,15 +26,15 @@ const _e = [
26
26
  ], Ne = {
27
27
  availableDays: _e
28
28
  }, a = ({ children: t }) => {
29
- const { id: r, value: n, onChange: l, disabled: i, required: c, onBlur: d, onFocus: o, FieldLayout: m, hasError: u, readOnly: f } = v(), { labelId: C } = A(), { regionalFormat: s } = S(), [T, Y] = z(null), B = F((j) => {
30
- const H = Me(j);
31
- l(H);
29
+ const { id: r, value: n, onChange: l, disabled: i, required: c, onBlur: d, onFocus: o, FieldLayout: m, hasError: u, readOnly: f } = v(), { labelId: y } = A(), { regionalFormat: s } = S(), [T, Y] = Q(null), B = F((H) => {
30
+ const j = Me(H);
31
+ l(j);
32
32
  }, [
33
33
  l
34
- ]), q = E(t, a.Label), V = E(t, a.Control), U = E(t, a.Calendar), W = E(t, a.Description), K = E(t, a.Error), $ = ke(n);
34
+ ]), V = E(t, a.Label), q = E(t, a.Control), U = E(t, a.Calendar), W = E(t, a.Description), K = E(t, a.Error), $ = ke(n);
35
35
  return /* @__PURE__ */ e.createElement(m, {
36
36
  fieldId: r,
37
- renderLabel: () => q,
37
+ renderLabel: () => V,
38
38
  renderInput: () => /* @__PURE__ */ e.createElement(ee, {
39
39
  locale: s
40
40
  }, /* @__PURE__ */ e.createElement("div", {
@@ -45,7 +45,7 @@ const _e = [
45
45
  }), /* @__PURE__ */ e.createElement(X, {
46
46
  getContainer: () => T
47
47
  }, /* @__PURE__ */ e.createElement(te, {
48
- "aria-labelledby": C,
48
+ "aria-labelledby": y,
49
49
  value: $,
50
50
  onChange: B,
51
51
  isDisabled: i,
@@ -54,18 +54,18 @@ const _e = [
54
54
  isRequired: c,
55
55
  onBlur: d,
56
56
  onFocus: o
57
- }, V, U))),
57
+ }, q, U))),
58
58
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, K, W)
59
59
  });
60
60
  }, Ie = ({ children: t, className: r }) => {
61
- const { inputId: n, ariaDescribedBy: l } = A(), { hasError: i, disabled: c, readOnly: d } = v(), o = Q(re), m = F((u) => {
61
+ const { inputId: n, ariaDescribedBy: l } = A(), { hasError: i, disabled: c, readOnly: d } = v(), o = z(re), m = F((u) => {
62
62
  if (!o || o.isOpen || c || d)
63
63
  return;
64
64
  const f = u.target;
65
65
  if (f.closest("button"))
66
66
  return;
67
- const C = f.closest("[data-type]");
68
- C && C.getAttribute("data-type") !== "literal" || o.setOpen(!0);
67
+ const y = f.closest("[data-type]");
68
+ y && y.getAttribute("data-type") !== "literal" || o.setOpen(!0);
69
69
  }, [
70
70
  o,
71
71
  c,
@@ -116,7 +116,7 @@ const _e = [
116
116
  return !fe(T, i || Ne);
117
117
  }, [
118
118
  i
119
- ]), o = E(t, g.Day) ?? /* @__PURE__ */ e.createElement(g.Day, null), m = E(t, g.PreviousTrigger), u = E(t, g.NextTrigger), f = E(t, g.MonthTrigger), C = E(t, g.YearTrigger);
119
+ ]), o = E(t, g.Day) ?? /* @__PURE__ */ e.createElement(g.Day, null), m = E(t, g.PreviousTrigger), u = E(t, g.NextTrigger), f = E(t, g.MonthTrigger), y = E(t, g.YearTrigger);
120
120
  return /* @__PURE__ */ e.createElement(I, {
121
121
  className: r,
122
122
  containerPadding: 0
@@ -131,7 +131,7 @@ const _e = [
131
131
  popoverClassName: r
132
132
  })), /* @__PURE__ */ e.createElement(ie, {
133
133
  visibleYears: 100
134
- }, (s) => b(C, {
134
+ }, (s) => b(y, {
135
135
  ariaLabel: s["aria-label"],
136
136
  selectedKey: s.value,
137
137
  onSelectionChange: s.onChange,
@@ -250,37 +250,37 @@ const Be = (t) => /* @__PURE__ */ e.createElement("svg", {
250
250
  strokeWidth: "1.5",
251
251
  strokeLinecap: "round",
252
252
  strokeLinejoin: "round"
253
- })), qe = "_control_1xqv5_1", Ve = "_segments_1xqv5_14", Ue = "_trigger_1xqv5_65", We = "_calendarPopover_1xqv5_96", Ke = "_calendarDay_1xqv5_219", $e = "_mobile_1xqv5_262", h = {
254
- control: qe,
255
- segments: Ve,
253
+ })), Ve = "_control_1xqv5_1", qe = "_segments_1xqv5_14", Ue = "_trigger_1xqv5_65", We = "_calendarPopover_1xqv5_96", Ke = "_calendarDay_1xqv5_219", $e = "_mobile_1xqv5_262", h = {
254
+ control: Ve,
255
+ segments: qe,
256
256
  trigger: Ue,
257
257
  calendarPopover: We,
258
258
  calendarDay: Ke,
259
259
  mobile: $e
260
- }, je = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(G, {
260
+ }, He = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(G, {
261
261
  content: t,
262
262
  locale: r
263
- }), He = {
263
+ }), je = {
264
264
  left: 90,
265
265
  right: -90
266
266
  }, P = ({ direction: t }) => /* @__PURE__ */ e.createElement(N, {
267
267
  style: {
268
- transform: `rotate(${He[t]}deg)`
268
+ transform: `rotate(${je[t]}deg)`
269
269
  }
270
270
  }), ut = () => {
271
271
  const { isMobile: t } = S();
272
272
  return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
273
- className: y(ye, p.label)
273
+ className: C(Ce, p.label)
274
274
  }, /* @__PURE__ */ e.createElement(a.Label.Required, {
275
- className: y(he, p.requiredMark)
275
+ className: C(he, p.requiredMark)
276
276
  })), /* @__PURE__ */ e.createElement(a.Control, {
277
- className: y(ve, p.input, h.control)
277
+ className: C(ve, p.input, h.control)
278
278
  }, /* @__PURE__ */ e.createElement(a.Trigger, {
279
279
  className: h.trigger
280
280
  }, /* @__PURE__ */ e.createElement(Be, null)), /* @__PURE__ */ e.createElement(a.Input, {
281
281
  className: h.segments
282
282
  })), /* @__PURE__ */ e.createElement(a.Calendar, {
283
- className: y(Se, p.selectPopover, h.calendarPopover, {
283
+ className: C(Se, p.selectPopover, h.calendarPopover, {
284
284
  [h.mobile]: t
285
285
  })
286
286
  }, /* @__PURE__ */ e.createElement(a.Calendar.PreviousTrigger, null, /* @__PURE__ */ e.createElement(P, {
@@ -294,10 +294,10 @@ const Be = (t) => /* @__PURE__ */ e.createElement("svg", {
294
294
  })), /* @__PURE__ */ e.createElement(a.Calendar.Day, {
295
295
  className: h.calendarDay
296
296
  })), /* @__PURE__ */ e.createElement(a.Error, {
297
- className: y(Te, p.error)
298
- }, /* @__PURE__ */ e.createElement(Ce, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
299
- className: y(be, p.description)
300
- }, je));
297
+ className: C(Te, p.error)
298
+ }, /* @__PURE__ */ e.createElement(ye, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
299
+ className: C(be, p.description)
300
+ }, He));
301
301
  };
302
302
  export {
303
303
  ut as D
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as r } from "./date-picker-field-rac-BSmFOaH-.js";
2
+ import { D as r } from "./date-picker-field-rac-1Q6yyNmK.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as DatePickerRAC
@@ -1,23 +1,23 @@
1
1
  import { RicosViewer as ne } from "@wix/ricos/viewer";
2
2
  import p from "classnames";
3
3
  import t, { useMemo as T, useState as G, useCallback as w, useRef as z, useContext as re } from "react";
4
- import { ai as g, af as K, ab as B, J as Q, a1 as W, r as d, as as O, a5 as j, O as oe, x as le, a8 as se, y as J, ak as q } from "./form-C6WwBcGP.js";
4
+ import { ai as g, af as J, ab as x, J as K, a1 as W, r as d, as as O, a5 as Q, O as oe, x as le, a8 as se, y as j, ak as $ } from "./form-BpHElSwH.js";
5
5
  import { parseTime as ie } from "@internationalized/date";
6
6
  import { UNSAFE_PortalProvider as ce } from "react-aria";
7
7
  import { ListBoxItem as me, ListBox as de, Select as ue, TextField as X, TimeField as pe, SelectValue as Ee, Input as Z, DateInput as he, DateSegment as U, TimeFieldStateContext as fe } from "react-aria-components";
8
8
  import { f as u, a as R } from "./find-child-C60k4CxG.js";
9
9
  import { g as be } from "./helpers-HmkkXrh2.js";
10
- import { D as ge, E as Ie } from "./field-error-headless-DQZ5XAdn.js";
11
- import { L as _e } from "./field-label-headless-DoxfHHaj.js";
10
+ import { D as ge, E as Ie } from "./field-error-headless-C5ZsFUKv.js";
11
+ import { L as _e } from "./field-label-headless-CS5OYsiI.js";
12
12
  import { F as ye } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as De, S as Ne } from "./non-modal-popover-DtIMXHbe.js";
14
14
  import { C as Le } from "./chevron-down-icon-CcpVm6B-.js";
15
15
  import { E as Te } from "./error-icon-hZxQ6DEy.js";
16
16
  import { H as Y } from "./custom-focus-class-_483Pkwp.js";
17
- import { s as E } from "./field-rac.module-Cac83bU5.js";
18
- import { z as S, R as Oe, y as H, C as Fe, q as Pe, j as Ce } from "./form-element-classes-DDKCTFQj.js";
17
+ import { s as E } from "./field-rac.module-DjmaTYkc.js";
18
+ import { z as S, Q as Oe, y as H, B as Fe, p as Pe, i as Ce } from "./form-element-classes-BXNs5k3q.js";
19
19
  const l = ({ children: e, className: a }) => {
20
- const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = g(), { inputId: m, labelId: c, ariaDescribedBy: f } = K(), { regionalFormat: b } = B(), y = T(() => Q(b).filter(W).map((M) => M.toUpperCase()), [
20
+ const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = g(), { inputId: m, labelId: c, ariaDescribedBy: f } = J(), { regionalFormat: b } = x(), y = T(() => K(b).filter(W).map((M) => M.toUpperCase()), [
21
21
  b
22
22
  ]), C = u(e, l.Label), v = u(e, l.Description), L = u(e, l.Error), _ = {
23
23
  [d.MONTH]: u(e, l.Month),
@@ -71,12 +71,12 @@ const l = ({ children: e, className: a }) => {
71
71
  isOpen: y,
72
72
  onOpenChange: M
73
73
  }, te, ae)));
74
- }, Me = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
74
+ }, Me = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
75
75
  datePart: d.MONTH,
76
76
  className: e
77
77
  }), Se = ({ children: e, className: a }) => {
78
78
  const { id: n, readOnly: o } = g(), { inputId: s } = N(d.MONTH), { partError: r, isFirstPart: i } = P(d.MONTH), m = z(null);
79
- return q(() => {
79
+ return $(() => {
80
80
  var c;
81
81
  i && ((c = m.current) == null || c.focus());
82
82
  }, n), /* @__PURE__ */ t.createElement(Ne, {
@@ -87,10 +87,10 @@ const l = ({ children: e, className: a }) => {
87
87
  "data-invalid": r || void 0,
88
88
  "data-readonly": o || void 0
89
89
  }, /* @__PURE__ */ t.createElement(Ee, null), e);
90
- }, x = ({ children: e, className: a }) => {
91
- const { language: n } = B(), o = T(() => be(n), [
90
+ }, B = ({ children: e, className: a }) => {
91
+ const { language: n } = x(), o = T(() => be(n), [
92
92
  n
93
- ]), s = u(e, x.Option) ?? /* @__PURE__ */ t.createElement(x.Option, null);
93
+ ]), s = u(e, B.Option) ?? /* @__PURE__ */ t.createElement(B.Option, null);
94
94
  return /* @__PURE__ */ t.createElement(De, {
95
95
  className: a,
96
96
  containerPadding: 0,
@@ -110,8 +110,8 @@ const l = ({ children: e, className: a }) => {
110
110
  };
111
111
  F.Label = Me;
112
112
  F.Trigger = Se;
113
- F.Options = x;
114
- x.Option = Re;
113
+ F.Options = B;
114
+ B.Option = Re;
115
115
  const A = ({ children: e, className: a }) => {
116
116
  const { disabled: n, readOnly: o, showDateLabels: s } = g(), { labelId: r } = N(d.DAY), { partValue: i, partError: m, onPartChange: c } = P(d.DAY), f = u(e, A.Label), b = u(e, A.Input);
117
117
  return /* @__PURE__ */ t.createElement("div", {
@@ -125,12 +125,12 @@ const A = ({ children: e, className: a }) => {
125
125
  isReadOnly: o,
126
126
  isInvalid: m
127
127
  }, b));
128
- }, Ae = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
128
+ }, Ae = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
129
129
  datePart: d.DAY,
130
130
  className: e
131
131
  }), ke = ({ className: e }) => {
132
132
  const { id: a, hidePlaceholder: n } = g(), { inputId: o } = N(d.DAY), { isFirstPart: s } = P(d.DAY), { t: r } = O(), i = z(null), m = n ? void 0 : r("field.date.placeholder.day");
133
- return q(() => {
133
+ return $(() => {
134
134
  var c;
135
135
  s && ((c = i.current) == null || c.focus());
136
136
  }, a), /* @__PURE__ */ t.createElement(Z, {
@@ -158,12 +158,12 @@ const k = ({ children: e, className: a }) => {
158
158
  isReadOnly: o,
159
159
  isInvalid: m
160
160
  }, b));
161
- }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
161
+ }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
162
162
  datePart: d.YEAR,
163
163
  className: e
164
164
  }), Ve = ({ className: e }) => {
165
165
  const { id: a, hidePlaceholder: n } = g(), { inputId: o } = N(d.YEAR), { isFirstPart: s } = P(d.YEAR), { t: r } = O(), i = z(null), m = n ? void 0 : r("field.date.placeholder.year");
166
- return q(() => {
166
+ return $(() => {
167
167
  var c;
168
168
  s && ((c = i.current) == null || c.focus());
169
169
  }, a), /* @__PURE__ */ t.createElement(Z, {
@@ -235,7 +235,7 @@ const I = ({ children: e, className: a }) => {
235
235
  placeholder: r
236
236
  }
237
237
  });
238
- }, xe = ({ className: e, ...a }) => {
238
+ }, Be = ({ className: e, ...a }) => {
239
239
  const { hidePlaceholder: n } = g(), { segment: o } = a, { t: s } = O(), r = n ? void 0 : s("field.date.placeholder.minute");
240
240
  return /* @__PURE__ */ t.createElement(U, {
241
241
  segment: o,
@@ -244,7 +244,7 @@ const I = ({ children: e, className: a }) => {
244
244
  placeholder: r
245
245
  }
246
246
  });
247
- }, Be = ({ className: e, ...a }) => {
247
+ }, xe = ({ className: e, ...a }) => {
248
248
  const { hidePlaceholder: n } = g(), { segment: o } = a, { t: s } = O(), r = re(fe), i = n ? void 0 : s("field.date.placeholder.period"), m = () => r == null ? void 0 : r.increment("dayPeriod");
249
249
  return /* @__PURE__ */ t.createElement(U, {
250
250
  segment: o,
@@ -258,8 +258,8 @@ const I = ({ children: e, className: a }) => {
258
258
  I.Label = Ye;
259
259
  I.Input = He;
260
260
  I.Hour = we;
261
- I.Minute = xe;
262
- I.Period = Be;
261
+ I.Minute = Be;
262
+ I.Period = xe;
263
263
  l.Label = _e;
264
264
  l.Month = F;
265
265
  l.Day = A;
@@ -268,7 +268,7 @@ l.Time = I;
268
268
  l.Description = ge;
269
269
  l.Error = Ie;
270
270
  function N(e) {
271
- const { inputId: a } = K();
271
+ const { inputId: a } = J();
272
272
  return T(() => {
273
273
  const n = e.toLowerCase();
274
274
  return {
@@ -281,7 +281,7 @@ function N(e) {
281
281
  ]);
282
282
  }
283
283
  function P(e) {
284
- const { value: a, onChange: n, hasError: o = !1 } = g(), { regionalFormat: s } = B(), [r, i] = T(() => j(a ?? ""), [
284
+ const { value: a, onChange: n, hasError: o = !1 } = g(), { regionalFormat: s } = x(), [r, i] = T(() => Q(a ?? ""), [
285
285
  a
286
286
  ]), m = T(() => oe(o, a ?? ""), [
287
287
  a,
@@ -291,20 +291,20 @@ function P(e) {
291
291
  ]), f = T(() => Ue(i), [
292
292
  i
293
293
  ]), b = w((L) => {
294
- const _ = ze(L), D = J(r, _);
294
+ const _ = ze(L), D = j(r, _);
295
295
  n(D);
296
296
  }, [
297
297
  n,
298
298
  r
299
299
  ]), y = w((L) => {
300
- const [, _] = j(a ?? ""), D = se(L, e, c), M = J(D, _);
300
+ const [, _] = Q(a ?? ""), D = se(L, e, c), M = j(D, _);
301
301
  n(M);
302
302
  }, [
303
303
  n,
304
304
  a,
305
305
  c,
306
306
  e
307
- ]), C = T(() => e === "time" ? !1 : Q(s).filter(W).map((D) => D.toUpperCase())[0] === e, [
307
+ ]), C = T(() => e === "time" ? !1 : K(s).filter(W).map((D) => D.toUpperCase())[0] === e, [
308
308
  s,
309
309
  e
310
310
  ]);
@@ -320,7 +320,7 @@ function P(e) {
320
320
  isFirstPart: C
321
321
  };
322
322
  }
323
- function $({ datePart: e, className: a }) {
323
+ function q({ datePart: e, className: a }) {
324
324
  const { inputId: n, labelId: o } = N(e), { t: s } = O(), r = `field.date.label.${e.toLowerCase()}`, i = s(r);
325
325
  return /* @__PURE__ */ t.createElement("label", {
326
326
  id: o,
@@ -347,14 +347,14 @@ function ze(e) {
347
347
  o
348
348
  ].join(":");
349
349
  }
350
- const qe = "_fields_1khoa_1", $e = "_month_1khoa_10", Ge = "_day_1khoa_11", je = "_year_1khoa_12", Je = "_timeGroup_1khoa_13", Ke = "_mobile_1khoa_32", Qe = "_dayInput_1khoa_45", We = "_yearInput_1khoa_46", Xe = "_monthTrigger_1khoa_50", Ze = "_monthOption_1khoa_70", et = "_time_1khoa_13", tt = "_hour_1khoa_89", at = "_minute_1khoa_90", nt = "_period_1khoa_91", h = {
351
- fields: qe,
352
- month: $e,
350
+ const $e = "_fields_1khoa_1", qe = "_month_1khoa_10", Ge = "_day_1khoa_11", Qe = "_year_1khoa_12", je = "_timeGroup_1khoa_13", Je = "_mobile_1khoa_32", Ke = "_dayInput_1khoa_45", We = "_yearInput_1khoa_46", Xe = "_monthTrigger_1khoa_50", Ze = "_monthOption_1khoa_70", et = "_time_1khoa_13", tt = "_hour_1khoa_89", at = "_minute_1khoa_90", nt = "_period_1khoa_91", h = {
351
+ fields: $e,
352
+ month: qe,
353
353
  day: Ge,
354
- year: je,
355
- timeGroup: Je,
356
- mobile: Ke,
357
- dayInput: Qe,
354
+ year: Qe,
355
+ timeGroup: je,
356
+ mobile: Je,
357
+ dayInput: Ke,
358
358
  yearInput: We,
359
359
  monthTrigger: Xe,
360
360
  monthOption: Ze,
@@ -366,7 +366,7 @@ const qe = "_fields_1khoa_1", $e = "_month_1khoa_10", Ge = "_day_1khoa_11", je =
366
366
  content: e,
367
367
  locale: a
368
368
  }), Nt = () => {
369
- const { isMobile: e } = B();
369
+ const { isMobile: e } = x();
370
370
  return /* @__PURE__ */ t.createElement(l, {
371
371
  className: p(h.fields, {
372
372
  [h.mobile]: e
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-vjZDQ_Fp.js";
2
+ import { D as t } from "./date-time-input-field-rac-Dd-HNgKP.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DateTimeInputRAC
@@ -1,6 +1,6 @@
1
1
  import o from "react";
2
- import { ai as e, h as t } from "./form-C6WwBcGP.js";
3
- import { C as p } from "./checkbox-group-field-rac-Cj7Erubs.js";
2
+ import { ai as e, h as t } from "./form-BpHElSwH.js";
3
+ import { C as p } from "./checkbox-group-field-rac-B1qhet83.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
5
  const C = () => {
6
6
  const r = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-BH3yEE5j.js";
2
+ import { C as t } from "./checkbox-field-rac-4zG3Sf1c.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as DextCheckboxRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-picker-field-rac-BSmFOaH-.js";
2
+ import { D as t } from "./date-picker-field-rac-1Q6yyNmK.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextDatePickerRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-vjZDQ_Fp.js";
2
+ import { D as t } from "./date-time-input-field-rac-Dd-HNgKP.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextDateTimeInputRAC
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-C1KVtxwv.js";
2
+ import { D as r } from "./dropdown-field-rac-DGiysJQY.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DextDropdownRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-CNzmm1j7.js";
2
+ import { E as e } from "./email-input-field-rac-BQKK2O7L.js";
3
3
  const l = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  l as DextEmailRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as t } from "./number-input-field-rac-CwUoIbM8.js";
2
+ import { N as t } from "./number-input-field-rac-DW1SjB-Z.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextNumberInputRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as t } from "./phone-input-field-rac-uHxR3ozd.js";
2
+ import { P as t } from "./phone-input-field-rac-BYAnwk5h.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ai as e, h as t } from "./form-C6WwBcGP.js";
3
- import { R as p } from "./radio-group-field-rac-BWpTNAbO.js";
2
+ import { ai as e, h as t } from "./form-BpHElSwH.js";
3
+ import { R as p } from "./radio-group-field-rac-DdlyQ3m6.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-CJnFsBvH.js";
2
+ import { R as e } from "./rating-input-field-rac-VDaJKq-n.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ai as e, h as o } from "./form-C6WwBcGP.js";
3
- import { T as s } from "./tags-field-rac-CemsTKWz.js";
2
+ import { ai as e, h as o } from "./form-BpHElSwH.js";
3
+ import { T as s } from "./tags-field-rac-wwqpztG7.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-BPciZlZb.js";
2
+ import { T as t } from "./text-area-field-rac-Cen6O33S.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextTextAreaRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CvFoWlRN.js";
2
+ import { T as e } from "./text-input-field-rac-CbnKn03g.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextTextInputRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { U as r } from "./url-input-field-rac-CqvgTc-F.js";
2
+ import { U as r } from "./url-input-field-rac-Cxgh9T8s.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC