@wix/form-elements 1.62.0 → 1.63.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 (104) hide show
  1. package/dist/component/{appointment-rac-Dqib2upI.js → appointment-rac-B1VVk_Ui.js} +3 -3
  2. package/dist/component/{bookings-address-rac-E-qq4-KG.js → bookings-address-rac-IQeHFdHT.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DA_Hwn2j.js → bookings-email-rac-z26A790r.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-o1n3lnRo.js → bookings-first-name-rac-Djf0GPP4.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DQ0YvhxZ.js → bookings-header-rac-CXOzAOpz.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BqL_84Sg.js → bookings-last-name-rac-CbB8alM9.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CAN7roRc.js → bookings-login-bar-rac-CXrLx7Pn.js} +16 -16
  8. package/dist/component/{bookings-phone-rac-CCJVdvkd.js → bookings-phone-rac-DGYx7h5g.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CCklquEC.js → bookings-rich-text-rac-viJG57XF.js} +1 -1
  10. package/dist/component/checkbox-field-rac-e-RAmupX.js +1312 -0
  11. package/dist/component/{checkbox-group-field-headless-EGVW3vG0.js → checkbox-group-field-headless-Cvia4lL6.js} +30 -30
  12. package/dist/component/{checkbox-group-field-rac-DUDWNOwV.js → checkbox-group-field-rac-BXxk90dk.js} +1 -1
  13. package/dist/component/{checkbox-group-rac-DWPClKpf.js → checkbox-group-rac-CDfDTWqz.js} +1 -1
  14. package/dist/component/{checkbox-rac-CvbOws2U.js → checkbox-rac-BRBKYD_5.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CWFHC5LT.js → contacts-address-rac-BtWWQi77.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DPmJPp8M.js → contacts-birthdate-rac-DaEUXJTf.js} +1 -1
  17. package/dist/component/{contacts-company-rac-UWP9uDqI.js → contacts-company-rac-IgRyjtcM.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BCkkWYhr.js → contacts-email-rac-BS1MDrMk.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-KNRf92yT.js → contacts-first-name-rac-BAvXypDF.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C_EotEpo.js → contacts-last-name-rac-C289RYPl.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DJGEWLsl.js → contacts-phone-rac-DIpyskam.js} +1 -1
  22. package/dist/component/{contacts-position-rac-s1pZ662O.js → contacts-position-rac-nPeh3lKU.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-D_2wIX9p.js → contacts-subscribe-rac-Ci5OLk68.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-3MUvKEqW.js → contacts-tax-id-rac-C4WB-SR0.js} +1 -1
  25. package/dist/component/{date-availability-CRsSX5_d.js → date-availability-HHjPx4Uv.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DPo7waqI.js → date-input-field-rac-GFgFcpX2.js} +17 -17
  27. package/dist/component/{date-input-rac-DsY8ehb1.js → date-input-rac-B9BUEIA-.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BtzlxVDB.js → date-picker-field-rac-BfjYIIuY.js} +4 -4
  29. package/dist/component/{date-picker-rac-C-Aw6W87.js → date-picker-rac-Bd2UN0ZF.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-zre1vJ2m.js → date-time-input-field-rac-CAXnxLQP.js} +78 -78
  31. package/dist/component/{date-time-input-rac-CUvTUzbT.js → date-time-input-rac-BuJ3Awlh.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-D4mhJU8E.js → dext-checkbox-group-rac-DKp4cBVa.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BeYmKpAZ.js → dext-checkbox-rac-BMu_k06A.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-Mr0M3sNQ.js → dext-date-picker-rac-L3sdldhT.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-dgxfrHUw.js → dext-date-time-input-rac-UmabFzDN.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CdZOoA5M.js → dext-dropdown-rac-DbjgYaG-.js} +1 -1
  37. package/dist/component/{dext-email-rac-TBiHlKjv.js → dext-email-rac-rNudrOOK.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-S78swyZ9.js → dext-number-input-rac-hw1FTrJL.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BhIaSHez.js → dext-phone-rac-DrZ_Vwv2.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B4xG4N8A.js → dext-radio-group-rac-DAt2ax-I.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-Bp2Pi5cP.js → dext-rating-input-rac-BW2Ike11.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Bnjgmyk-.js → dext-tags-rac-DDzwlKrR.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-f1nJTM_n.js → dext-text-area-rac-D0xf4z3z.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B9m6oI-e.js → dext-text-input-rac-Da04OLmq.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CfEUdRdY.js → dext-url-input-rac-B-g4xTqh.js} +1 -1
  46. package/dist/component/{donation-rac-BqKbQD_H.js → donation-rac-gKeq72jg.js} +10 -10
  47. package/dist/component/{dropdown-field-headless-CzoD076g.js → dropdown-field-headless-Js5TxdU4.js} +14 -14
  48. package/dist/component/{dropdown-field-rac-5kD98Ubc.js → dropdown-field-rac-BDxcvX00.js} +1 -1
  49. package/dist/component/{dropdown-rac-C9NpsRYi.js → dropdown-rac-B5UHNzV-.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DdvJEnAO.js → ecom-address-rac-0zm4bX37.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-D7Lf1ETL.js → ecom-subscription-checkbox-rac-DCXoI33l.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DUordV5X.js → email-input-field-rac-svf6hUHF.js} +2 -2
  53. package/dist/component/{events-repeater-rac-B1yDrnvJ.js → events-repeater-rac-DMIqzuVK.js} +29 -29
  54. package/dist/component/{events-rsvp-rac-B65NtAMH.js → events-rsvp-rac-B_YD4ckO.js} +1 -1
  55. package/dist/component/{field-error-headless-DP4WSQU3.js → field-error-headless-DTKnr5Zx.js} +6 -6
  56. package/dist/component/{field-label-headless-BKmi7Fjg.js → field-label-headless-DV4aNd5Y.js} +5 -5
  57. package/dist/component/{file-upload-rac-DAg_G0_l.js → file-upload-rac-lGKJjG3m.js} +49 -49
  58. package/dist/component/{fixed-payment-rac-yO1w1gE2.js → fixed-payment-rac-BVS6glii.js} +13 -13
  59. package/dist/component/{form-D6A2hUbV.js → form-DzjdnO7t.js} +2262 -2259
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-D3Bi6tTS.js → header-field-rac-tzBH-8Yh.js} +5 -5
  63. package/dist/component/{header-rac-Blv89pdS.js → header-rac-6thQAvVF.js} +1 -1
  64. package/dist/component/{image-choice-rac-BLUZRNm0.js → image-choice-rac-Dx1b-saW.js} +23 -23
  65. package/dist/component/{index-BiYk1mJi.js → index-DIP7KB8P.js} +2 -2
  66. package/dist/component/{index-Cv3_acT1.js → index-Lnx0829a.js} +4 -4
  67. package/dist/component/isObjectLike-B_1KizZV.js +86 -0
  68. package/dist/component/multiline-address-field-rac-BY2SUp2d.js +1613 -0
  69. package/dist/component/{multiline-address-rac-B9yHNebZ.js → multiline-address-rac-BL8Yp4F0.js} +1 -1
  70. package/dist/component/{number-input-field-rac-SaC7jFUi.js → number-input-field-rac-x0yFmXbe.js} +14 -14
  71. package/dist/component/{number-input-rac-KYcJJPrs.js → number-input-rac-pJXc2YsD.js} +1 -1
  72. package/dist/component/{password-rac-CD5bSL2g.js → password-rac-B4XCP64b.js} +19 -19
  73. package/dist/component/{payment-input-rac-BlAscmFz.js → payment-input-rac-CZdOAjK4.js} +12 -12
  74. package/dist/component/{phone-input-field-rac-D-AosrgV.js → phone-input-field-rac-DO_V5Z_T.js} +19 -19
  75. package/dist/component/{phone-rac-DXLYlz5G.js → phone-rac-D16nLDjP.js} +1 -1
  76. package/dist/component/{product-list-rac-CGt4Gnj4.js → product-list-rac-DER8gVqy.js} +44 -44
  77. package/dist/component/{quiz-radio-group-rac-DaStzNZZ.js → quiz-radio-group-rac-BgTmHHi4.js} +1 -1
  78. package/dist/component/{radio-group-field-rac-D8NS7qDq.js → radio-group-field-rac-Dt2pU0VV.js} +1 -1
  79. package/dist/component/{radio-group-field-rac.module-wK26tCZq.js → radio-group-field-rac.module--sO0VqCA.js} +12 -12
  80. package/dist/component/{radio-group-rac-HalDjwk1.js → radio-group-rac-CqCmtkNQ.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-BBhMkSyL.js → rating-input-field-rac-xDrHHcL2.js} +10 -10
  82. package/dist/component/{rating-input-rac-BpgFnNoD.js → rating-input-rac-Bo5E9N87.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-BgJ2fteu.js → rich-content-rac.module-CJXbNca9.js} +4 -4
  84. package/dist/component/{rich-text-field-rac-BZfCgvHc.js → rich-text-field-rac-CkV0Z9F-.js} +5 -5
  85. package/dist/component/{rich-text-rac-CG3V04Gr.js → rich-text-rac-59DbKpXz.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-Bc_y-R5O.js → service-dropdown-rac-BLnflnUr.js} +25 -25
  87. package/dist/component/{services-multi-choice-rac-BeBdZpRV.js → services-multi-choice-rac-C-bFjwx8.js} +6 -6
  88. package/dist/component/{signature-rac-DNdpHxFp.js → signature-rac-Bb5IaS28.js} +15 -15
  89. package/dist/component/{submit-button-rac-Bogk1xYc.js → submit-button-rac-Bjyi8sUA.js} +12 -12
  90. package/dist/component/{tags-field-rac-COJG3T_9.js → tags-field-rac-C_VO3_69.js} +12 -12
  91. package/dist/component/{tags-rac-DsaUqJ4w.js → tags-rac-CKiutCWe.js} +1 -1
  92. package/dist/component/{text-area-field-rac-BVq5p83p.js → text-area-field-rac-Cg-vIhFe.js} +12 -12
  93. package/dist/component/{text-area-rac-D-uiOy62.js → text-area-rac-tMFx38UD.js} +1 -1
  94. package/dist/component/{text-input-field-rac-wYvY_eBR.js → text-input-field-rac-CgN_2hOD.js} +1 -1
  95. package/dist/component/{text-input-headless-BsL6OYhp.js → text-input-headless-CkhvKrFp.js} +6 -6
  96. package/dist/component/{text-input-rac-Bu8kXhrN.js → text-input-rac-BsyBgd3b.js} +1 -1
  97. package/dist/component/{time-input-rac-PWXUi1qL.js → time-input-rac-BxRVJtHE.js} +12 -12
  98. package/dist/component/{url-input-field-rac-B4qgrssx.js → url-input-field-rac-B_1yVniS.js} +12 -12
  99. package/dist/component/{url-input-rac-Bo51kTsG.js → url-input-rac-D8VrKYVe.js} +1 -1
  100. package/dist/component/{use-service-options-base-Du6B6AP9.js → use-service-options-base-Ci9gIluo.js} +7 -7
  101. package/package.json +2 -14
  102. package/dist/component/checkbox-field-rac-DhAEMdL9.js +0 -625
  103. package/dist/component/isObject-BAwJJxQ3.js +0 -34
  104. package/dist/component/multiline-address-field-rac-_Sb56AEM.js +0 -1574
@@ -1,53 +1,53 @@
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 q, useContext as re } from "react";
4
- import { ag as g, ad as Q, aa as k, H as J, a0 as W, r as d, aq as O, a4 as K, K as oe, w as le, a7 as se, x as j, ai as z } from "./form-D6A2hUbV.js";
4
+ import { ah as g, ae as K, ab as B, J as Q, a1 as W, r as d, ar as O, a5 as j, O as oe, x as le, a8 as se, y as J, aj as z } from "./form-DzjdnO7t.js";
5
5
  import { parseTime as ie } from "@internationalized/date";
6
6
  import { UNSAFE_PortalProvider as ce } from "react-aria";
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 fe, DateSegment as U, TimeFieldStateContext as he } from "react-aria-components";
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-DP4WSQU3.js";
11
- import { L as _e } from "./field-label-headless-BKmi7Fjg.js";
12
- import { F as De } from "./fieldset-headless-CD3fds9J.js";
13
- import { N as ye, S as Ne } from "./non-modal-popover-DtIMXHbe.js";
10
+ import { D as ge, E as Ie } from "./field-error-headless-DTKnr5Zx.js";
11
+ import { L as _e } from "./field-label-headless-DV4aNd5Y.js";
12
+ import { F as ye } from "./fieldset-headless-CD3fds9J.js";
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
17
  import { s as E } from "./field-rac.module-DtugsLiL.js";
18
18
  import { r as S, H as Oe, q as H, u as Fe, l as Pe, h as Ce } from "./form-element-classes-Bi-nNM8q.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: h } = Q(), { regionalFormat: b } = k(), D = T(() => J(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 } = K(), { regionalFormat: b } = B(), y = T(() => Q(b).filter(W).map((M) => M.toUpperCase()), [
21
21
  b
22
- ]), C = u(e, l.Label), v = u(e, l.Description), L = u(e, l.Error), _ = {
22
+ ]), C = u(e, l.Label), V = u(e, l.Description), L = u(e, l.Error), _ = {
23
23
  [d.MONTH]: u(e, l.Month),
24
24
  [d.DAY]: u(e, l.Day),
25
25
  [d.YEAR]: u(e, l.Year)
26
- }, y = u(e, l.Time);
26
+ }, D = u(e, l.Time);
27
27
  return /* @__PURE__ */ t.createElement(i, {
28
28
  fieldId: n,
29
29
  renderLabel: () => R(C, {
30
30
  as: "div"
31
31
  }),
32
- renderInput: () => /* @__PURE__ */ t.createElement(De, {
32
+ renderInput: () => /* @__PURE__ */ t.createElement(ye, {
33
33
  id: m,
34
34
  ariaLabelledBy: c,
35
- ariaDescribedBy: h,
35
+ ariaDescribedBy: f,
36
36
  required: o,
37
37
  onBlur: s,
38
38
  onFocus: r,
39
39
  className: a
40
- }, _[D[0]], _[D[1]], _[D[2]], y),
41
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, v)
40
+ }, _[y[0]], _[y[1]], _[y[2]], D),
41
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, V)
42
42
  });
43
43
  }, F = ({ children: e, className: a }) => {
44
- const { disabled: n, readOnly: o, showDateLabels: s, hidePlaceholder: r } = g(), { labelId: i } = N(d.MONTH), { partValue: m, partError: c, onPartChange: h } = P(d.MONTH), { t: b } = O(), [D, C] = G(!1), [v, L] = G(null), _ = r ? void 0 : b("field.date.placeholder.month"), y = w((V) => {
45
- o || h(typeof V == "string" ? V : "");
44
+ const { disabled: n, readOnly: o, showDateLabels: s, hidePlaceholder: r } = g(), { labelId: i } = N(d.MONTH), { partValue: m, partError: c, onPartChange: f } = P(d.MONTH), { t: b } = O(), [y, C] = G(!1), [V, L] = G(null), _ = r ? void 0 : b("field.date.placeholder.month"), D = w((k) => {
45
+ o || f(typeof k == "string" ? k : "");
46
46
  }, [
47
- h,
47
+ f,
48
48
  o
49
- ]), M = w((V) => {
50
- C(V && !o);
49
+ ]), M = w((k) => {
50
+ C(k && !o);
51
51
  }, [
52
52
  o
53
53
  ]), ee = u(e, F.Label), te = u(e, F.Trigger), ae = u(e, F.Options);
@@ -60,15 +60,15 @@ const l = ({ children: e, className: a }) => {
60
60
  display: "contents"
61
61
  }
62
62
  }), /* @__PURE__ */ t.createElement(ce, {
63
- getContainer: () => v
63
+ getContainer: () => V
64
64
  }, /* @__PURE__ */ t.createElement(ue, {
65
65
  "aria-labelledby": s ? i : void 0,
66
66
  value: m || null,
67
- onChange: y,
67
+ onChange: D,
68
68
  isDisabled: n,
69
69
  isInvalid: c,
70
70
  placeholder: _,
71
- isOpen: D,
71
+ isOpen: y,
72
72
  onOpenChange: M
73
73
  }, te, ae)));
74
74
  }, Me = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
@@ -87,11 +87,11 @@ 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
- }, B = ({ children: e, className: a }) => {
91
- const { language: n } = k(), o = T(() => be(n), [
90
+ }, x = ({ children: e, className: a }) => {
91
+ const { language: n } = B(), o = T(() => be(n), [
92
92
  n
93
- ]), s = u(e, B.Option) ?? /* @__PURE__ */ t.createElement(B.Option, null);
94
- return /* @__PURE__ */ t.createElement(ye, {
93
+ ]), s = u(e, x.Option) ?? /* @__PURE__ */ t.createElement(x.Option, null);
94
+ return /* @__PURE__ */ t.createElement(De, {
95
95
  className: a,
96
96
  containerPadding: 0,
97
97
  offset: 0
@@ -110,14 +110,14 @@ const l = ({ children: e, className: a }) => {
110
110
  };
111
111
  F.Label = Me;
112
112
  F.Trigger = Se;
113
- F.Options = B;
114
- B.Option = Re;
113
+ F.Options = x;
114
+ x.Option = Re;
115
115
  const A = ({ children: e, className: a }) => {
116
- const { disabled: n, readOnly: o, showDateLabels: s } = g(), { labelId: r } = N(d.DAY), { partValue: i, partError: m, onPartChange: c } = P(d.DAY), h = u(e, A.Label), b = u(e, A.Input);
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", {
118
118
  className: a,
119
119
  "data-date-field": !0
120
- }, s && h, /* @__PURE__ */ t.createElement(X, {
120
+ }, s && f, /* @__PURE__ */ t.createElement(X, {
121
121
  "aria-labelledby": s ? r : void 0,
122
122
  value: i,
123
123
  onChange: c,
@@ -128,7 +128,7 @@ const A = ({ children: e, className: a }) => {
128
128
  }, Ae = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
129
129
  datePart: d.DAY,
130
130
  className: e
131
- }), xe = ({ className: e }) => {
131
+ }), ve = ({ className: e }) => {
132
132
  const { id: a, hidePlaceholder: n } = g(), { inputId: o } = N(d.DAY), { isFirstPart: s } = P(d.DAY), { t: r } = O(), i = q(null), m = n ? void 0 : r("field.date.placeholder.day");
133
133
  return z(() => {
134
134
  var c;
@@ -144,13 +144,13 @@ const A = ({ children: e, className: a }) => {
144
144
  });
145
145
  };
146
146
  A.Label = Ae;
147
- A.Input = xe;
148
- const x = ({ children: e, className: a }) => {
149
- const { disabled: n, readOnly: o, showDateLabels: s } = g(), { labelId: r } = N(d.YEAR), { partValue: i, partError: m, onPartChange: c } = P(d.YEAR), h = u(e, x.Label), b = u(e, x.Input);
147
+ A.Input = ve;
148
+ const v = ({ children: e, className: a }) => {
149
+ const { disabled: n, readOnly: o, showDateLabels: s } = g(), { labelId: r } = N(d.YEAR), { partValue: i, partError: m, onPartChange: c } = P(d.YEAR), f = u(e, v.Label), b = u(e, v.Input);
150
150
  return /* @__PURE__ */ t.createElement("div", {
151
151
  className: a,
152
152
  "data-date-field": !0
153
- }, s && h, /* @__PURE__ */ t.createElement(X, {
153
+ }, s && f, /* @__PURE__ */ t.createElement(X, {
154
154
  "aria-labelledby": s ? r : void 0,
155
155
  value: i,
156
156
  onChange: c,
@@ -158,10 +158,10 @@ const x = ({ 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($, {
162
162
  datePart: d.YEAR,
163
163
  className: e
164
- }), Ve = ({ className: e }) => {
164
+ }), ke = ({ className: e }) => {
165
165
  const { id: a, hidePlaceholder: n } = g(), { inputId: o } = N(d.YEAR), { isFirstPart: s } = P(d.YEAR), { t: r } = O(), i = q(null), m = n ? void 0 : r("field.date.placeholder.year");
166
166
  return z(() => {
167
167
  var c;
@@ -176,22 +176,22 @@ const x = ({ children: e, className: a }) => {
176
176
  "data-hook": d.YEAR
177
177
  });
178
178
  };
179
- x.Label = ve;
180
- x.Input = Ve;
179
+ v.Label = Ve;
180
+ v.Input = ke;
181
181
  const I = ({ children: e, className: a }) => {
182
- const { disabled: n, readOnly: o, use24HourFormat: s, showDateLabels: r } = g(), { labelId: i } = N("time"), { partValue: m, partError: c, onPartChange: h } = P("time"), b = u(e, I.Label), D = u(e, I.Input);
182
+ const { disabled: n, readOnly: o, use24HourFormat: s, showDateLabels: r } = g(), { labelId: i } = N("time"), { partValue: m, partError: c, onPartChange: f } = P("time"), b = u(e, I.Label), y = u(e, I.Input);
183
183
  return /* @__PURE__ */ t.createElement("div", {
184
184
  className: a,
185
185
  "data-date-field": !0
186
186
  }, r && b, /* @__PURE__ */ t.createElement(pe, {
187
187
  "aria-labelledby": r ? i : void 0,
188
188
  value: m,
189
- onChange: h,
189
+ onChange: f,
190
190
  isDisabled: n,
191
191
  isReadOnly: o,
192
192
  isInvalid: c,
193
193
  hourCycle: s ? 24 : 12
194
- }, D));
194
+ }, y));
195
195
  }, Ye = ({ className: e }) => {
196
196
  const { inputId: a, labelId: n } = N("time"), { t: o } = O(), s = o("field.date.label.time");
197
197
  return /* @__PURE__ */ t.createElement("label", {
@@ -201,7 +201,7 @@ const I = ({ children: e, className: a }) => {
201
201
  }, s);
202
202
  }, He = ({ children: e, className: a }) => {
203
203
  const n = u(e, I.Hour), o = u(e, I.Minute), s = u(e, I.Period);
204
- return /* @__PURE__ */ t.createElement(fe, {
204
+ return /* @__PURE__ */ t.createElement(he, {
205
205
  className: a,
206
206
  "data-hook": "time"
207
207
  }, (r) => {
@@ -235,7 +235,7 @@ const I = ({ children: e, className: a }) => {
235
235
  placeholder: r
236
236
  }
237
237
  });
238
- }, Be = ({ className: e, ...a }) => {
238
+ }, xe = ({ 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,8 +244,8 @@ const I = ({ children: e, className: a }) => {
244
244
  placeholder: r
245
245
  }
246
246
  });
247
- }, ke = ({ className: e, ...a }) => {
248
- const { hidePlaceholder: n } = g(), { segment: o } = a, { t: s } = O(), r = re(he), i = n ? void 0 : s("field.date.placeholder.period"), m = () => r == null ? void 0 : r.increment("dayPeriod");
247
+ }, Be = ({ className: e, ...a }) => {
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,
251
251
  className: e,
@@ -258,17 +258,17 @@ const I = ({ children: e, className: a }) => {
258
258
  I.Label = Ye;
259
259
  I.Input = He;
260
260
  I.Hour = we;
261
- I.Minute = Be;
262
- I.Period = ke;
261
+ I.Minute = xe;
262
+ I.Period = Be;
263
263
  l.Label = _e;
264
264
  l.Month = F;
265
265
  l.Day = A;
266
- l.Year = x;
266
+ l.Year = v;
267
267
  l.Time = I;
268
268
  l.Description = ge;
269
269
  l.Error = Ie;
270
270
  function N(e) {
271
- const { inputId: a } = Q();
271
+ const { inputId: a } = K();
272
272
  return T(() => {
273
273
  const n = e.toLowerCase();
274
274
  return {
@@ -281,42 +281,42 @@ function N(e) {
281
281
  ]);
282
282
  }
283
283
  function P(e) {
284
- const { value: a, onChange: n, hasError: o = !1 } = g(), { regionalFormat: s } = k(), [r, i] = T(() => K(a ?? ""), [
284
+ const { value: a, onChange: n, hasError: o = !1 } = g(), { regionalFormat: s } = B(), [r, i] = T(() => j(a ?? ""), [
285
285
  a
286
286
  ]), m = T(() => oe(o, a ?? ""), [
287
287
  a,
288
288
  o
289
289
  ]), c = T(() => le(r), [
290
290
  r
291
- ]), h = T(() => Ue(i), [
291
+ ]), f = T(() => Ue(i), [
292
292
  i
293
293
  ]), b = w((L) => {
294
- const _ = qe(L), y = j(r, _);
295
- n(y);
294
+ const _ = qe(L), D = J(r, _);
295
+ n(D);
296
296
  }, [
297
297
  n,
298
298
  r
299
- ]), D = w((L) => {
300
- const [, _] = K(a ?? ""), y = se(L, e, c), M = j(y, _);
299
+ ]), y = w((L) => {
300
+ const [, _] = j(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 : J(s).filter(W).map((y) => y.toUpperCase())[0] === e, [
307
+ ]), C = T(() => e === "time" ? !1 : Q(s).filter(W).map((D) => D.toUpperCase())[0] === e, [
308
308
  s,
309
309
  e
310
310
  ]);
311
311
  return e === "time" ? {
312
- partValue: h,
312
+ partValue: f,
313
313
  partError: m.TIME,
314
314
  onPartChange: b,
315
315
  isFirstPart: !1
316
316
  } : {
317
317
  partValue: c[e] || "",
318
318
  partError: m[e],
319
- onPartChange: D,
319
+ onPartChange: y,
320
320
  isFirstPart: C
321
321
  };
322
322
  }
@@ -347,14 +347,14 @@ function qe(e) {
347
347
  o
348
348
  ].join(":");
349
349
  }
350
- const ze = "_fields_1x5em_1", $e = "_month_1x5em_10", Ge = "_day_1x5em_11", Ke = "_year_1x5em_12", je = "_timeGroup_1x5em_13", Qe = "_mobile_1x5em_32", Je = "_dayInput_1x5em_45", We = "_yearInput_1x5em_46", Xe = "_monthTrigger_1x5em_50", Ze = "_monthOption_1x5em_70", et = "_time_1x5em_13", tt = "_hour_1x5em_89", at = "_minute_1x5em_90", nt = "_period_1x5em_91", f = {
350
+ const ze = "_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
351
  fields: ze,
352
352
  month: $e,
353
353
  day: Ge,
354
- year: Ke,
355
- timeGroup: je,
356
- mobile: Qe,
357
- dayInput: Je,
354
+ year: je,
355
+ timeGroup: Je,
356
+ mobile: Ke,
357
+ dayInput: Qe,
358
358
  yearInput: We,
359
359
  monthTrigger: Xe,
360
360
  monthOption: Ze,
@@ -366,51 +366,51 @@ const ze = "_fields_1x5em_1", $e = "_month_1x5em_10", Ge = "_day_1x5em_11", Ke =
366
366
  content: e,
367
367
  locale: a
368
368
  }), Nt = () => {
369
- const { isMobile: e } = k();
369
+ const { isMobile: e } = B();
370
370
  return /* @__PURE__ */ t.createElement(l, {
371
- className: p(f.fields, {
372
- [f.mobile]: e
371
+ className: p(h.fields, {
372
+ [h.mobile]: e
373
373
  })
374
374
  }, /* @__PURE__ */ t.createElement(l.Label, {
375
375
  className: p(S, E.label)
376
376
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
377
377
  className: p(Oe, E.requiredMark)
378
378
  })), /* @__PURE__ */ t.createElement(l.Month, {
379
- className: f.month
379
+ className: h.month
380
380
  }, /* @__PURE__ */ t.createElement(l.Month.Label, {
381
381
  className: p(S, E.label)
382
382
  }), /* @__PURE__ */ t.createElement(l.Month.Trigger, {
383
- className: p(H, E.input, f.monthTrigger)
383
+ className: p(H, E.input, h.monthTrigger)
384
384
  }, /* @__PURE__ */ t.createElement(Le, {
385
385
  className: E.dropdownIcon
386
386
  })), /* @__PURE__ */ t.createElement(l.Month.Options, {
387
387
  className: p(Fe, E.selectPopover, E.dropdownPopover)
388
388
  }, /* @__PURE__ */ t.createElement(l.Month.Options.Option, {
389
- className: p(E.selectOption, f.monthOption, Y)
389
+ className: p(E.selectOption, h.monthOption, Y)
390
390
  }))), /* @__PURE__ */ t.createElement(l.Day, {
391
- className: f.day
391
+ className: h.day
392
392
  }, /* @__PURE__ */ t.createElement(l.Day.Label, {
393
393
  className: p(S, E.label)
394
394
  }), /* @__PURE__ */ t.createElement(l.Day.Input, {
395
- className: p(H, E.input, f.dayInput)
395
+ className: p(H, E.input, h.dayInput)
396
396
  })), /* @__PURE__ */ t.createElement(l.Year, {
397
- className: f.year
397
+ className: h.year
398
398
  }, /* @__PURE__ */ t.createElement(l.Year.Label, {
399
399
  className: p(S, E.label)
400
400
  }), /* @__PURE__ */ t.createElement(l.Year.Input, {
401
- className: p(H, E.input, f.yearInput)
401
+ className: p(H, E.input, h.yearInput)
402
402
  })), /* @__PURE__ */ t.createElement(l.Time, {
403
- className: f.timeGroup
403
+ className: h.timeGroup
404
404
  }, /* @__PURE__ */ t.createElement(l.Time.Label, {
405
405
  className: p(S, E.label)
406
406
  }), /* @__PURE__ */ t.createElement(l.Time.Input, {
407
- className: p(H, E.input, f.time)
407
+ className: p(H, E.input, h.time)
408
408
  }, /* @__PURE__ */ t.createElement(l.Time.Hour, {
409
- className: p(f.hour, Y)
409
+ className: p(h.hour, Y)
410
410
  }), /* @__PURE__ */ t.createElement(l.Time.Minute, {
411
- className: p(f.minute, Y)
411
+ className: p(h.minute, Y)
412
412
  }), /* @__PURE__ */ t.createElement(l.Time.Period, {
413
- className: p(f.period, Y)
413
+ className: p(h.period, Y)
414
414
  }))), /* @__PURE__ */ t.createElement(l.Error, {
415
415
  className: p(Pe, E.error)
416
416
  }, /* @__PURE__ */ t.createElement(Te, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-zre1vJ2m.js";
2
+ import { D as t } from "./date-time-input-field-rac-CAXnxLQP.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 { ag as e, h as t } from "./form-D6A2hUbV.js";
3
- import { C as p } from "./checkbox-group-field-rac-DUDWNOwV.js";
2
+ import { ah as e, h as t } from "./form-DzjdnO7t.js";
3
+ import { C as p } from "./checkbox-group-field-rac-BXxk90dk.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-DhAEMdL9.js";
2
+ import { C as t } from "./checkbox-field-rac-e-RAmupX.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-BtzlxVDB.js";
2
+ import { D as t } from "./date-picker-field-rac-BfjYIIuY.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-zre1vJ2m.js";
2
+ import { D as t } from "./date-time-input-field-rac-CAXnxLQP.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-5kD98Ubc.js";
2
+ import { D as r } from "./dropdown-field-rac-BDxcvX00.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-DUordV5X.js";
2
+ import { E as e } from "./email-input-field-rac-svf6hUHF.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-SaC7jFUi.js";
2
+ import { N as t } from "./number-input-field-rac-x0yFmXbe.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-D-AosrgV.js";
2
+ import { P as t } from "./phone-input-field-rac-DO_V5Z_T.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 { ag as e, h as t } from "./form-D6A2hUbV.js";
3
- import { R as p } from "./radio-group-field-rac-D8NS7qDq.js";
2
+ import { ah as e, h as t } from "./form-DzjdnO7t.js";
3
+ import { R as p } from "./radio-group-field-rac-Dt2pU0VV.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-BBhMkSyL.js";
2
+ import { R as e } from "./rating-input-field-rac-xDrHHcL2.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 { ag as e, h as o } from "./form-D6A2hUbV.js";
3
- import { T as s } from "./tags-field-rac-COJG3T_9.js";
2
+ import { ah as e, h as o } from "./form-DzjdnO7t.js";
3
+ import { T as s } from "./tags-field-rac-C_VO3_69.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-BVq5p83p.js";
2
+ import { T as t } from "./text-area-field-rac-Cg-vIhFe.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-wYvY_eBR.js";
2
+ import { T as e } from "./text-input-field-rac-CgN_2hOD.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-B4qgrssx.js";
2
+ import { U as r } from "./url-input-field-rac-B_1yVniS.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -1,13 +1,13 @@
1
1
  import n, { useMemo as w, useCallback as L, useRef as ae } from "react";
2
2
  import { RicosViewer as se } from "@wix/ricos/viewer";
3
3
  import _ from "classnames";
4
- import { RadioGroup as le, RadioField as Q, RadioButton as W, TextField as ce, Input as ie } from "react-aria-components";
4
+ import { RadioGroup as le, RadioField as j, RadioButton as Q, TextField as ce, Input as ie } from "react-aria-components";
5
5
  import { debounce as ue } from "ts-debounce";
6
- import { P as j, ag as P, ad as V, aq as me, aa as M, ai as pe } from "./form-D6A2hUbV.js";
6
+ import { P as W, ah as P, ae as V, ar as me, ab as M, aj as pe } from "./form-DzjdnO7t.js";
7
7
  import { f as h, a as g } from "./find-child-C60k4CxG.js";
8
8
  import { a as J } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ie } from "./field-error-headless-DP4WSQU3.js";
10
- import { L as Ce } from "./field-label-headless-BKmi7Fjg.js";
9
+ import { D as de, E as Ie } from "./field-error-headless-DTKnr5Zx.js";
10
+ import { L as Ce } from "./field-label-headless-DV4aNd5Y.js";
11
11
  import { N as Ee } from "./options-layout-constants-DEfIEJWD.js";
12
12
  import { a as fe, b as he } from "./numeric-input-utils-CuBMi4-a.js";
13
13
  import { g as Oe } from "./payment-field-utils-DobiK5Xh.js";
@@ -31,12 +31,12 @@ function K(e, t) {
31
31
  const r = Number(t || "0");
32
32
  return {
33
33
  productId: e.id,
34
- price: e.priceType === j.DYNAMIC_PRICE ? r : String(r),
34
+ price: e.priceType === W.DYNAMIC_PRICE ? r : String(r),
35
35
  quantity: 1
36
36
  };
37
37
  }
38
38
  function Ae(e) {
39
- return e.find((t) => t.priceType === j.DYNAMIC_PRICE);
39
+ return e.find((t) => t.priceType === W.DYNAMIC_PRICE);
40
40
  }
41
41
  function Pe(e, t) {
42
42
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
@@ -154,7 +154,7 @@ const a = ({ children: e }) => {
154
154
  value: E.value,
155
155
  price: d || "0"
156
156
  });
157
- }), s && c && /* @__PURE__ */ n.createElement(Q, {
157
+ }), s && c && /* @__PURE__ */ n.createElement(j, {
158
158
  value: c,
159
159
  style: {
160
160
  position: "absolute",
@@ -167,7 +167,7 @@ const a = ({ children: e }) => {
167
167
  whiteSpace: "nowrap",
168
168
  border: "0"
169
169
  }
170
- }, /* @__PURE__ */ n.createElement(W, {
170
+ }, /* @__PURE__ */ n.createElement(Q, {
171
171
  "aria-label": i("donation.other-option.label", "Custom amount")
172
172
  }, i("donation.other-option.label", "Custom amount"))));
173
173
  }, S = ({ children: e, className: t, ...r }) => {
@@ -183,9 +183,9 @@ const a = ({ children: e }) => {
183
183
  const E = u ? g(u, {
184
184
  price: s
185
185
  }) : null;
186
- return /* @__PURE__ */ n.createElement(Q, {
186
+ return /* @__PURE__ */ n.createElement(j, {
187
187
  value: o
188
- }, /* @__PURE__ */ n.createElement(W, {
188
+ }, /* @__PURE__ */ n.createElement(Q, {
189
189
  className: t,
190
190
  ref: O
191
191
  }, /* @__PURE__ */ n.createElement(n.Fragment, null, I && m, E, !I && m)));