@wix/form-elements 1.107.0 → 1.109.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 (115) hide show
  1. package/dist/component/{appointment-rac-D2F4vgf1.js → appointment-rac-C9-XwsPI.js} +295 -296
  2. package/dist/component/{bookings-address-rac-_5S8J8_i.js → bookings-address-rac-jrrCPWjw.js} +1 -1
  3. package/dist/component/{bookings-email-rac-6vmDR9nS.js → bookings-email-rac-J9-RMEbf.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DtTJ4T2K.js → bookings-first-name-rac-CH7-6JmA.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B3dsEwzR.js → bookings-header-rac-C2JV-ciN.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-B3idkbi8.js → bookings-last-name-rac-0a9CwiaV.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CrRBcQwT.js → bookings-login-bar-rac-4Mb7MQYe.js} +21 -22
  8. package/dist/component/{bookings-phone-rac-BE0yWNnj.js → bookings-phone-rac-vYx5r5jn.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CYo1l0-6.js → bookings-rich-text-rac-CWg1FgUp.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-boTtXVEt.js → checkbox-field-rac-Dwx1leKA.js} +27 -28
  11. package/dist/component/{checkbox-group-field-headless-DnkUvDm8.js → checkbox-group-field-headless-AFWgXzx_.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-DrDTgHMg.js → checkbox-group-field-rac-CO8kmWJp.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-v3ozUBpo.js → checkbox-group-rac-_79HsFF4.js} +1 -1
  14. package/dist/component/{checkbox-rac-YSLE-RnG.js → checkbox-rac-B_tbMfjo.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C653yaHZ.js → contacts-address-rac-SJ5Tvzd0.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BeAQ6shx.js → contacts-birthdate-rac-BU1L3sbW.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BglKOoTG.js → contacts-company-rac-Y4B8KhDa.js} +1 -1
  18. package/dist/component/{contacts-email-rac-D6m7ynfc.js → contacts-email-rac-CQW84o7C.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Dgxn0tUJ.js → contacts-first-name-rac-Dtai-wtH.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-1UyIuRKH.js → contacts-last-name-rac--ixuu3ri.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BQ77BlW4.js → contacts-phone-rac-HOHfSvT-.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BUDUv7lv.js → contacts-position-rac-BPMkh6yf.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DdtA0qKW.js → contacts-subscribe-rac-D0_RMwJb.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WUaKcNl0.js → contacts-tax-id-rac-CZJmMiVf.js} +1 -1
  25. package/dist/component/{date-availability-XjBFq8jt.js → date-availability-C4dDHvuc.js} +1 -1
  26. package/dist/component/{date-input-field-rac-aY2zuuKs.js → date-input-field-rac-8oERZcqh.js} +79 -80
  27. package/dist/component/{date-input-rac-DRiP2_97.js → date-input-rac-CYRojmW6.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Bzl-d3Uj.js → date-picker-field-rac-CIspU7No.js} +87 -88
  29. package/dist/component/{date-picker-rac-DHHUh8vn.js → date-picker-rac-D0Y0zf2J.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DP_StuLr.js → date-time-input-field-rac-0daWK65I.js} +73 -74
  31. package/dist/component/{date-time-input-rac-B11KIxsf.js → date-time-input-rac-BemKPk1j.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BHZBqyWv.js → dext-checkbox-group-rac-BpFNn56W.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BIlAqEvV.js → dext-checkbox-rac-DOISgubJ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CHBXNrZi.js → dext-date-picker-rac-CNGhFg_g.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BYtliKry.js → dext-date-time-input-rac-BuUIvJRr.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-C2VPSFV5.js → dext-dropdown-rac-DtND-Dbo.js} +1 -1
  37. package/dist/component/{dext-email-rac-Fnb0Ggcs.js → dext-email-rac-CmjLFOi8.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DopfSyFi.js → dext-number-input-rac-DHTNg1dh.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Rn4i_2rc.js → dext-phone-rac-BrrU5qH_.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-bNaskJpK.js → dext-radio-group-rac-CD3MGfAM.js} +4 -4
  41. package/dist/component/{dext-rating-input-rac-DL6ZZd7d.js → dext-rating-input-rac-BETGJZmt.js} +1 -1
  42. package/dist/component/{dext-tags-rac-TsUPoImO.js → dext-tags-rac-Coo9jN-T.js} +4 -4
  43. package/dist/component/{dext-text-area-rac-BIuY7LTd.js → dext-text-area-rac-CNWjqhUT.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CSYPW0Qi.js → dext-text-input-rac-CCWyDexv.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-_g0lqGfW.js → dext-url-input-rac-Dtakkgmk.js} +1 -1
  46. package/dist/component/{donation-rac-BYKFtsyR.js → donation-rac-BboGm_k_.js} +101 -102
  47. package/dist/component/{dropdown-field-headless-CBaqlNZi.js → dropdown-field-headless-BTMJGUwY.js} +16 -16
  48. package/dist/component/{dropdown-field-rac-CCAGSMm3.js → dropdown-field-rac-CDRV8ckB.js} +5 -5
  49. package/dist/component/{dropdown-rac-C_EqUsZ1.js → dropdown-rac-kEuU2pXW.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Bw9eH0iF.js → ecom-address-rac-BgKL9ElH.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-B5PVOO2a.js → ecom-subscription-checkbox-rac-CDhJsNPD.js} +6 -6
  52. package/dist/component/{email-input-field-rac-B2kqQ6yo.js → email-input-field-rac-DdOd86NX.js} +54 -55
  53. package/dist/component/{events-repeater-rac--4OnUxWE.js → events-repeater-rac-_VJ30dpB.js} +62 -63
  54. package/dist/component/{events-rsvp-rac-CczCoo3T.js → events-rsvp-rac-DA-261bq.js} +5 -5
  55. package/dist/component/{field-error-headless-D3-1L5sf.js → field-error-headless-CovyN0GI.js} +8 -8
  56. package/dist/component/{field-label-headless-Du4ckIVy.js → field-label-headless-DVvX2QaH.js} +11 -11
  57. package/dist/component/file-upload-rac-bhEPUJPs.js +561 -0
  58. package/dist/component/fixed-payment-rac-DmI6MeKc.js +61 -0
  59. package/dist/component/{form-DQauhsho.js → form-BTDgyr54.js} +3430 -3244
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +3 -3
  62. package/dist/component/header-field-rac-C0rUjmo0.js +24 -0
  63. package/dist/component/{header-rac-CR9T3Pnu.js → header-rac-DRMO22PV.js} +1 -1
  64. package/dist/component/{image-choice-rac-DJ_8v467.js → image-choice-rac-CQDQ7AlD.js} +32 -33
  65. package/dist/component/{index-CcUTIUWM.js → index-B9QlosT1.js} +12 -12
  66. package/dist/component/{index-BB7d_9Dv.js → index-CNWT9t6j.js} +66 -66
  67. package/dist/component/{isObjectLike-xvPa_08X.js → isObjectLike-c0td2WCR.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-CyaFOloE.js → multiline-address-field-rac-D8bVxRsD.js} +124 -125
  69. package/dist/component/{multiline-address-rac-CaHGUN_f.js → multiline-address-rac-g-6RB7o8.js} +1 -1
  70. package/dist/component/number-input-field-rac-BaOwQ5Ya.js +92 -0
  71. package/dist/component/{number-input-rac-DMKX6nhk.js → number-input-rac-BXv8-Pnj.js} +1 -1
  72. package/dist/component/{password-rac-0RUXPAn6.js → password-rac-BB9XeSSZ.js} +36 -37
  73. package/dist/component/{payment-input-rac-CHSZ3-Lt.js → payment-input-rac-DwnSV9rM.js} +41 -42
  74. package/dist/component/{phone-input-field-rac-JmIFcP1e.js → phone-input-field-rac-CC3C4ToW.js} +56 -57
  75. package/dist/component/{phone-rac-BLRnAPXP.js → phone-rac-DpNhSaE0.js} +1 -1
  76. package/dist/component/{product-list-rac-BkF5tDwt.js → product-list-rac-BAESk3B6.js} +74 -75
  77. package/dist/component/{quiz-radio-group-rac-32cCMTUS.js → quiz-radio-group-rac-PS6AZr63.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-IOulhuSH.js → radio-button-module-classes-CXcn5unY.js} +30 -30
  79. package/dist/component/{radio-group-field-rac-CJwku6e0.js → radio-group-field-rac-pt8xbDfS.js} +6 -6
  80. package/dist/component/{radio-group-rac-BiW-9Abj.js → radio-group-rac-DkzkM6N_.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-B9cwaROK.js → rating-input-field-rac-DDHBkR4x.js} +43 -44
  82. package/dist/component/{rating-input-rac-BpwlNvzQ.js → rating-input-rac-CcsDmLus.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-B1uyPmtK.js → rich-content-rac.module-B2vsO6fj.js} +4 -4
  84. package/dist/component/rich-text-field-rac-CvKht2eC.js +21 -0
  85. package/dist/component/{rich-text-rac-VfeZxS27.js → rich-text-rac-CRpSffQB.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-BCfs8IhW.js → service-dropdown-rac-BOpdXNjG.js} +36 -37
  87. package/dist/component/{services-multi-choice-rac-CCqdF_7P.js → services-multi-choice-rac-t0wdSt_T.js} +20 -21
  88. package/dist/component/{signature-rac-DOyMo3u0.js → signature-rac-2LsIYYIX.js} +141 -142
  89. package/dist/component/{submit-button-rac-C2uA5DeE.js → submit-button-rac-BbE8dS35.js} +26 -27
  90. package/dist/component/{tags-field-rac-C_uIw2by.js → tags-field-rac-BnsBxReU.js} +44 -45
  91. package/dist/component/{tags-rac-1pQ-fpe_.js → tags-rac-BFH4RINA.js} +1 -1
  92. package/dist/component/{text-area-field-rac-DqlOkm7e.js → text-area-field-rac-Ag7_gniM.js} +28 -29
  93. package/dist/component/{text-area-rac-DPdkrFcH.js → text-area-rac-ByUX0p2O.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CmXm6r1w.js → text-input-field-rac-D3MZ8teu.js} +3 -3
  95. package/dist/component/{text-input-headless-DD__2DFf.js → text-input-headless-CwONErsY.js} +12 -12
  96. package/dist/component/{text-input-rac-DRHyQEH7.js → text-input-rac-DLXdAhkK.js} +1 -1
  97. package/dist/component/{time-input-rac-BJPIymQY.js → time-input-rac-Bs55lTON.js} +33 -34
  98. package/dist/component/url-input-field-rac-FG-bCh-E.js +74 -0
  99. package/dist/component/{url-input-rac-C0ChQUzq.js → url-input-rac-BOKuCMTe.js} +1 -1
  100. package/dist/component/use-dropdown-option-class-name-DjV7FW5y.js +21 -0
  101. package/dist/component/{use-element-state-class-name-BatTc2bw.js → use-element-state-class-name-DB1AzkvF.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-B0jiPTmS.js → use-is-forced-open-dropdown-ifUIpuwL.js} +7 -7
  103. package/dist/component/{use-service-options-base-oeE7xszw.js → use-service-options-base-B11cq0HH.js} +7 -7
  104. package/dist/component/use-text-input-class-name-va1PzWFg.js +23 -0
  105. package/dist/form.d.ts +21 -1
  106. package/package.json +2 -2
  107. package/dist/component/file-upload-rac-DbdkUbWM.js +0 -484
  108. package/dist/component/fixed-payment-rac-f9-01iDN.js +0 -62
  109. package/dist/component/form-element-classes-bLFmhsKw.js +0 -137
  110. package/dist/component/header-field-rac-DamDk5BR.js +0 -25
  111. package/dist/component/number-input-field-rac-BuYUzDWV.js +0 -93
  112. package/dist/component/rich-text-field-rac-C_qE7Ykg.js +0 -22
  113. package/dist/component/url-input-field-rac-CFDYkZ6I.js +0 -75
  114. package/dist/component/use-dropdown-option-class-name-3L5ZmNLK.js +0 -21
  115. package/dist/component/use-text-input-class-name-LQ5S-NLh.js +0 -24
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-CyaFOloE.js";
2
+ import { M as o } from "./multiline-address-field-rac-D8bVxRsD.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-B2kqQ6yo.js";
2
+ import { E as e } from "./email-input-field-rac-DdOd86NX.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-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.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-DamDk5BR.js";
2
+ import { H as r } from "./header-field-rac-C0rUjmo0.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-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsLastNameRAC
@@ -1,10 +1,9 @@
1
1
  import o from "react";
2
- import b from "classnames";
3
- import { ak as d, au as B, ac as f, ag as p } from "./form-DQauhsho.js";
4
- import { Button as L } from "react-aria-components";
2
+ import E from "classnames";
3
+ import { b9 as d, bj as b, b1 as f, b5 as p, z as L } from "./form-BTDgyr54.js";
4
+ import { Button as _ } from "react-aria-components";
5
5
  import { a as i, f as g } from "./find-child-C60k4CxG.js";
6
- import { s as _ } from "./form-element-classes-bLFmhsKw.js";
7
- const a = ({ children: n }) => {
6
+ const l = ({ children: n }) => {
8
7
  const { id: r, FieldLayout: t } = d();
9
8
  return /* @__PURE__ */ o.createElement(t, {
10
9
  fieldId: r,
@@ -12,46 +11,46 @@ const a = ({ children: n }) => {
12
11
  renderInput: () => /* @__PURE__ */ o.createElement(o.Fragment, null, n),
13
12
  renderDescription: () => null
14
13
  });
15
- }, x = ({ children: n, className: r, email: t, isLoggedIn: e = !!t, login: l, logout: s }) => {
16
- const c = i(g(n, a.Text), {
14
+ }, x = ({ children: n, className: r, email: t, isLoggedIn: e = !!t, login: a, logout: s }) => {
15
+ const c = i(g(n, l.Text), {
17
16
  email: t,
18
17
  isLoggedIn: e
19
- }), m = i(g(n, a.Button), {
18
+ }), m = i(g(n, l.Button), {
20
19
  isLoggedIn: e,
21
- login: l,
20
+ login: a,
22
21
  logout: s
23
- }), E = e ? c : i(c, {
22
+ }), B = e ? c : i(c, {
24
23
  buttonElement: m,
25
24
  isLoggedIn: e
26
25
  });
27
26
  return /* @__PURE__ */ o.createElement("div", {
28
27
  className: r,
29
28
  role: "status"
30
- }, e ? /* @__PURE__ */ o.createElement(o.Fragment, null, c, m) : E);
29
+ }, e ? /* @__PURE__ */ o.createElement(o.Fragment, null, c, m) : B);
31
30
  }, 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", {
31
+ const { buttonElement: t, email: e, isLoggedIn: a } = r, { t: s } = b(), c = a ? s("form.login-bar.title.logged-in-state", {
33
32
  user: e
34
33
  }) : s("form.login-bar.title.logged-out-state");
35
34
  return /* @__PURE__ */ o.createElement("div", {
36
35
  className: n
37
- }, c, !l && t);
36
+ }, c, !a && t);
38
37
  }, 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();
40
- return /* @__PURE__ */ o.createElement(L, {
38
+ const { t } = b(), { isLoggedIn: e, login: a, logout: s } = r, c = t(e ? "form.login-bar.action.logout" : "form.login-bar.actions.login"), m = () => e ? s == null ? void 0 : s() : a == null ? void 0 : a();
39
+ return /* @__PURE__ */ o.createElement(_, {
41
40
  className: n,
42
41
  onPress: m
43
42
  }, c);
44
43
  };
45
- a.LoginBar = x;
46
- a.Text = N;
47
- a.Button = F;
44
+ l.LoginBar = x;
45
+ l.Text = N;
46
+ l.Button = F;
48
47
  const T = "_container_1mvrn_1", C = "_text_1mvrn_34", v = "_button_1mvrn_39", u = {
49
48
  container: T,
50
49
  text: C,
51
50
  button: v
52
51
  }, A = () => {
53
52
  const { userData: n, language: r } = f(), { actions: t } = p();
54
- return /* @__PURE__ */ o.createElement(a, null, /* @__PURE__ */ o.createElement(a.LoginBar, {
53
+ return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement(l.LoginBar, {
55
54
  email: n == null ? void 0 : n.email,
56
55
  isLoggedIn: !!n,
57
56
  login: () => {
@@ -62,10 +61,10 @@ const T = "_container_1mvrn_1", C = "_text_1mvrn_34", v = "_button_1mvrn_39", u
62
61
  var e;
63
62
  return (e = t == null ? void 0 : t.requestLogout) == null ? void 0 : e.call(t);
64
63
  },
65
- className: b(_, u.container)
66
- }, /* @__PURE__ */ o.createElement(a.Text, {
64
+ className: E(L, u.container)
65
+ }, /* @__PURE__ */ o.createElement(l.Text, {
67
66
  className: u.text
68
- }), /* @__PURE__ */ o.createElement(a.Button, {
67
+ }), /* @__PURE__ */ o.createElement(l.Button, {
69
68
  className: u.button
70
69
  })));
71
70
  }, h = () => /* @__PURE__ */ o.createElement(A, null);
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-JmIFcP1e.js";
2
+ import { P as e } from "./phone-input-field-rac-CC3C4ToW.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-C_qE7Ykg.js";
2
+ import { R as t } from "./rich-text-field-rac-CvKht2eC.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });
@@ -2,17 +2,16 @@ import { RicosViewer as Xn } from "@wix/ricos/viewer";
2
2
  import U from "classnames";
3
3
  import b, { useMemo as $n, useRef as Jn, useCallback as Yn } from "react";
4
4
  import { CheckboxField as Qn, CheckboxButton as Zn } from "react-aria-components";
5
- import { T as ei, ak as Zr, r as Qr, R as fn, au as ri, ac as ti, a0 as ai, ah as ni, am as ii, L as si } from "./form-DQauhsho.js";
6
- import { f as W, a as oi } from "./find-child-C60k4CxG.js";
7
- import { D as ui, E as ci } from "./field-error-headless-D3-1L5sf.js";
8
- import { Node_Type as fi } from "@wix/ricos/schema";
9
- import { c as re, r as $, e as R, a as J, d as li, b as _i } from "./isObjectLike-xvPa_08X.js";
10
- import { S as vi } from "./selection-indicator-XQ8MYHUQ.js";
11
- import { E as hi } from "./error-icon-hZxQ6DEy.js";
12
- import { C as pi } from "./checkbox-indicator-module-classes-BpeSpGsW.js";
5
+ import { aJ as ei, b9 as Zr, as as Qr, ar as fn, bj as ri, b1 as ti, aR as ai, b6 as ni, bb as ii, h as si, U as oi, m as ui, an as ci, v as fi, p as li, l as _i } from "./form-BTDgyr54.js";
6
+ import { f as W, a as vi } from "./find-child-C60k4CxG.js";
7
+ import { D as hi, E as pi } from "./field-error-headless-CovyN0GI.js";
8
+ import { Node_Type as di } from "@wix/ricos/schema";
9
+ import { c as re, r as $, e as R, a as J, d as yi, b as bi } from "./isObjectLike-c0td2WCR.js";
10
+ import { S as gi } from "./selection-indicator-XQ8MYHUQ.js";
11
+ import { E as qi } from "./error-icon-hZxQ6DEy.js";
12
+ import { C as Ci } from "./checkbox-indicator-module-classes-BpeSpGsW.js";
13
13
  import { s as oe } from "./field-rac.module-B4l_0KRU.js";
14
- import { b as di, J as yi, g as bi, o as gi, j as qi, f as Ci } from "./form-element-classes-bLFmhsKw.js";
15
- import { u as Ai } from "./use-element-state-class-name-BatTc2bw.js";
14
+ import { u as Ai } from "./use-element-state-class-name-DB1AzkvF.js";
16
15
  var ue, dt;
17
16
  function mi() {
18
17
  if (dt) return ue;
@@ -604,7 +603,7 @@ V.exports;
604
603
  var ha;
605
604
  function at() {
606
605
  return ha || (ha = 1, (function(e, r) {
607
- var t = li(), a = r && !r.nodeType && r, n = a && !0 && e && !e.nodeType && e, i = n && n.exports === a, s = i && t.process, o = (function() {
606
+ var t = yi(), a = r && !r.nodeType && r, n = a && !0 && e && !e.nodeType && e, i = n && n.exports === a, s = i && t.process, o = (function() {
608
607
  try {
609
608
  var u = n && n.require && n.require("util").types;
610
609
  return u || s && s.binding && s.binding("util");
@@ -1006,7 +1005,7 @@ var kr, Ya;
1006
1005
  function Ss() {
1007
1006
  if (Ya) return kr;
1008
1007
  Ya = 1;
1009
- var e = _i(), r = e ? e.prototype : void 0, t = r ? r.valueOf : void 0;
1008
+ var e = bi(), r = e ? e.prototype : void 0, t = r ? r.valueOf : void 0;
1010
1009
  function a(n) {
1011
1010
  return t ? Object(t.call(n)) : {};
1012
1011
  }
@@ -1189,7 +1188,7 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1189
1188
  "aria-hidden": n("true")
1190
1189
  };
1191
1190
  return t && (i.className = n(t)), {
1192
- type: fi.EXTERNAL,
1191
+ type: di.EXTERNAL,
1193
1192
  id: "",
1194
1193
  nodes: [],
1195
1194
  externalData: {
@@ -1276,42 +1275,42 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1276
1275
  }, /* @__PURE__ */ b.createElement(Zn, {
1277
1276
  ref: y,
1278
1277
  className: r
1279
- }, ({ isSelected: g, isHovered: d }) => /* @__PURE__ */ b.createElement(b.Fragment, null, oi(C, {
1278
+ }, ({ isSelected: g, isHovered: d }) => /* @__PURE__ */ b.createElement(b.Fragment, null, vi(C, {
1280
1279
  isSelected: g,
1281
1280
  isHovered: d
1282
1281
  }), q)));
1283
1282
  };
1284
1283
  X.RichTextLabel = Us;
1285
- X.Input = vi;
1284
+ X.Input = gi;
1286
1285
  T.Checkbox = X;
1287
- T.Description = ui;
1288
- T.Error = ci;
1286
+ T.Description = hi;
1287
+ T.Error = pi;
1289
1288
  const Hs = "_label_1egzx_1", Vs = "_required_1egzx_33", cn = {
1290
1289
  label: Hs,
1291
1290
  required: Vs
1292
1291
  }, zs = ({ content: e, locale: r }) => /* @__PURE__ */ b.createElement(Xn, {
1293
1292
  content: e,
1294
1293
  locale: r
1295
- }), uo = () => {
1294
+ }), oo = () => {
1296
1295
  const e = Ai({
1297
- globalClasses: Ci,
1298
- moduleClasses: pi
1296
+ globalClasses: _i,
1297
+ moduleClasses: Ci
1299
1298
  });
1300
1299
  return /* @__PURE__ */ b.createElement(T, null, /* @__PURE__ */ b.createElement(T.Checkbox, {
1301
- className: U(di, oe.checkbox)
1300
+ className: U(si, oe.checkbox)
1302
1301
  }, /* @__PURE__ */ b.createElement(T.Checkbox.Input, {
1303
1302
  className: e
1304
1303
  }), /* @__PURE__ */ b.createElement(T.Checkbox.RichTextLabel, {
1305
- className: U(bi, cn.label),
1306
- requiredClassName: U(yi, cn.required)
1307
- }, ({ content: r }) => /* @__PURE__ */ b.createElement(si, {
1304
+ className: U(ui, cn.label),
1305
+ requiredClassName: U(oi, cn.required)
1306
+ }, ({ content: r }) => /* @__PURE__ */ b.createElement(ci, {
1308
1307
  content: r
1309
1308
  }))), /* @__PURE__ */ b.createElement(T.Error, {
1310
- className: U(gi, oe.error)
1311
- }, /* @__PURE__ */ b.createElement(hi, null), /* @__PURE__ */ b.createElement(T.Error.Text, null)), /* @__PURE__ */ b.createElement(T.Description, {
1312
- className: U(qi, oe.description)
1309
+ className: U(fi, oe.error)
1310
+ }, /* @__PURE__ */ b.createElement(qi, null), /* @__PURE__ */ b.createElement(T.Error.Text, null)), /* @__PURE__ */ b.createElement(T.Description, {
1311
+ className: U(li, oe.description)
1313
1312
  }, zs));
1314
1313
  };
1315
1314
  export {
1316
- uo as C
1315
+ oo as C
1317
1316
  };
@@ -1,10 +1,10 @@
1
- import o, { useMemo as k, useCallback as $, useRef as w, useState as W, useEffect as A } from "react";
2
- import { CheckboxGroup as M, CheckboxField as j, CheckboxButton as z, TextField as J, Input as K } from "react-aria-components";
1
+ import o, { useMemo as x, useCallback as $, useRef as w, useState as W, useEffect as j } from "react";
2
+ import { CheckboxGroup as A, CheckboxField as M, CheckboxButton as z, TextField as J, Input as K } from "react-aria-components";
3
3
  import { debounce as Q } from "ts-debounce";
4
- import { ak as R, ah as U, au as X, am as Y } from "./form-DQauhsho.js";
5
- import { f as I, a as x } from "./find-child-C60k4CxG.js";
6
- import { D as Z, E as ee } from "./field-error-headless-D3-1L5sf.js";
7
- import { L as te } from "./field-label-headless-Du4ckIVy.js";
4
+ import { b9 as R, b6 as U, bj as X, bb as Y } from "./form-BTDgyr54.js";
5
+ import { f as I, a as F } from "./find-child-C60k4CxG.js";
6
+ import { D as Z, E as ee } from "./field-error-headless-CovyN0GI.js";
7
+ import { L as te } from "./field-label-headless-DVvX2QaH.js";
8
8
  import { F as ae } from "./fieldset-headless-CD3fds9J.js";
9
9
  import { S as ne } from "./selection-indicator-XQ8MYHUQ.js";
10
10
  const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e.length > 0 && le(e, t), se = (e, t) => {
@@ -14,10 +14,10 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
14
14
  const a = t ? t.length + 2 : 0;
15
15
  return (e.find((s) => s.startsWith(`${t}: `)) || "").slice(a);
16
16
  }, D = (e) => e.map((t) => t.value ?? t.label), v = ({ children: e, className: t }) => {
17
- const r = R(), { id: a, value: n, onChange: s, disabled: d, required: p, onBlur: f, onFocus: b, hasError: c, FieldLayout: i } = r, { inputId: h, labelId: u, ariaDescribedBy: L } = U(), E = I(e, v.Label), g = I(e, v.Options), C = I(e, v.Description), l = I(e, v.Error), O = k(() => n || [], [
17
+ const r = R(), { id: a, value: n, onChange: s, disabled: d, required: p, onBlur: f, onFocus: m, hasError: c, FieldLayout: i } = r, { inputId: h, labelId: u, ariaDescribedBy: L } = U(), E = I(e, v.Label), g = I(e, v.Options), C = I(e, v.Description), l = I(e, v.Error), O = x(() => n || [], [
18
18
  n
19
- ]), V = $((m) => {
20
- s == null || s(m);
19
+ ]), V = $((b) => {
20
+ s == null || s(b);
21
21
  }, [
22
22
  s
23
23
  ]);
@@ -30,8 +30,8 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
30
30
  ariaDescribedBy: L,
31
31
  required: p,
32
32
  onBlur: f,
33
- onFocus: b
34
- }, /* @__PURE__ */ o.createElement(M, {
33
+ onFocus: m
34
+ }, /* @__PURE__ */ o.createElement(A, {
35
35
  className: t,
36
36
  "aria-labelledby": u,
37
37
  value: O,
@@ -43,20 +43,20 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
43
43
  renderDescription: () => /* @__PURE__ */ o.createElement(o.Fragment, null, l, C)
44
44
  });
45
45
  }, _ = ({ children: e, className: t }) => {
46
- const r = R(), { id: a, options: n, addOther: s, addOtherLabel: d, numberOfColumns: p } = r, { t: f } = X(), b = I(e, _.Option), c = se(d, f);
46
+ const r = R(), { id: a, options: n, addOther: s, addOtherLabel: d, numberOfColumns: p } = r, { t: f } = X(), m = I(e, _.Option), c = se(d, f);
47
47
  return /* @__PURE__ */ o.createElement("div", {
48
48
  className: t,
49
49
  "data-columns": p
50
50
  }, n == null ? void 0 : n.map((i, h) => {
51
51
  const u = i.value ?? i.label;
52
- return x(b, {
52
+ return F(m, {
53
53
  key: i.id || i.label,
54
54
  value: u,
55
55
  label: i.label,
56
56
  isFirst: h === 0,
57
57
  fieldId: a
58
58
  });
59
- }), s && x(b, {
59
+ }), s && F(m, {
60
60
  key: B,
61
61
  value: B,
62
62
  label: c,
@@ -67,25 +67,25 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
67
67
  return /* @__PURE__ */ o.createElement("span", {
68
68
  className: e
69
69
  }, r);
70
- }, F = ({ children: e, className: t, ...r }) => {
71
- const { value: a, label: n, isFirst: s = !1, isOther: d = !1, fieldId: p } = r, f = R(), { value: b, onChange: c, disabled: i, readOnly: h, hasError: u, options: L } = f, E = w(null);
70
+ }, k = ({ children: e, className: t, ...r }) => {
71
+ const { value: a, label: n, isFirst: s = !1, isOther: d = !1, fieldId: p } = r, f = R(), { value: m, onChange: c, disabled: i, readOnly: h, hasError: u, options: L } = f, E = w(null);
72
72
  Y(() => {
73
- var m;
74
- s && ((m = E.current) == null || m.focus({
73
+ var b;
74
+ s && ((b = E.current) == null || b.focus({
75
75
  preventScroll: !0
76
76
  }));
77
77
  }, p);
78
- const g = I(e, F.Label), C = I(e, F.Input), l = k(() => b || [], [
79
- b
80
- ]), O = k(() => d ? l.find((m) => m === n || m.startsWith(`${n}: `)) || n : a, [
78
+ const g = I(e, k.Label), C = I(e, k.Input), l = x(() => m || [], [
79
+ m
80
+ ]), O = x(() => d ? l.find((b) => b === n || b.startsWith(`${n}: `)) || n : a, [
81
81
  d,
82
82
  l,
83
83
  n,
84
84
  a
85
- ]), V = $((m) => {
85
+ ]), V = $((b) => {
86
86
  if (!d)
87
87
  return;
88
- const y = D(L || []), S = l.filter((P) => y.includes(P)), H = m ? [
88
+ const y = D(L || []), S = l.filter((P) => y.includes(P)), H = b ? [
89
89
  ...S,
90
90
  n
91
91
  ] : S;
@@ -97,7 +97,7 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
97
97
  L,
98
98
  l
99
99
  ]);
100
- return /* @__PURE__ */ o.createElement(j, {
100
+ return /* @__PURE__ */ o.createElement(M, {
101
101
  value: O,
102
102
  onChange: d ? V : void 0,
103
103
  isDisabled: i,
@@ -107,19 +107,19 @@ const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
107
107
  ref: E,
108
108
  className: t,
109
109
  "data-hook": `checkbox-${n}`
110
- }, ({ isSelected: m, isHovered: y }) => /* @__PURE__ */ o.createElement(o.Fragment, null, x(C, {
111
- isSelected: m,
110
+ }, ({ isSelected: b, isHovered: y }) => /* @__PURE__ */ o.createElement(o.Fragment, null, F(C, {
111
+ isSelected: b,
112
112
  isHovered: y
113
- }), x(g, {
113
+ }), F(g, {
114
114
  label: n
115
115
  }))));
116
116
  };
117
- F.Label = re;
118
- F.Input = ne;
117
+ k.Label = re;
118
+ k.Input = ne;
119
119
  const T = ({ children: e, ...t }) => {
120
- const { value: r, label: a, isFirst: n = !1, isOther: s = !1, fieldId: d } = t, p = R(), { value: f, onChange: b, options: c, addOtherPlaceholder: i, otherInputCharacterLimit: h, disabled: u, readOnly: L, hasError: E } = p, g = I(e, F), C = I(e, G), l = k(() => f || [], [
120
+ const { value: r, label: a, isFirst: n = !1, isOther: s = !1, fieldId: d } = t, p = R(), { value: f, onChange: m, options: c, addOtherPlaceholder: i, otherInputCharacterLimit: h, disabled: u, readOnly: L, hasError: E } = p, g = I(e, k), C = I(e, G), l = x(() => f || [], [
121
121
  f
122
- ]), O = k(() => {
122
+ ]), O = x(() => {
123
123
  if (!s)
124
124
  return !1;
125
125
  const V = D(c || []);
@@ -129,15 +129,15 @@ const T = ({ children: e, ...t }) => {
129
129
  l,
130
130
  c
131
131
  ]);
132
- return /* @__PURE__ */ o.createElement(o.Fragment, null, x(g, {
132
+ return /* @__PURE__ */ o.createElement(o.Fragment, null, F(g, {
133
133
  value: r,
134
134
  label: a,
135
135
  isFirst: n,
136
136
  isOther: s,
137
137
  fieldId: d
138
- }), s && O && x(C, {
138
+ }), s && O && F(C, {
139
139
  fieldValue: l,
140
- onChange: b,
140
+ onChange: m,
141
141
  label: a,
142
142
  placeholder: i,
143
143
  maxLength: h,
@@ -149,11 +149,11 @@ const T = ({ children: e, ...t }) => {
149
149
  options: c
150
150
  }));
151
151
  }, G = ({ className: e, inputClassName: t, ...r }) => {
152
- const { fieldValue: a, onChange: n, label: s, placeholder: d, maxLength: p, disabled: f, readOnly: b, hasError: c, ariaLabel: i, addOtherLabel: h, options: u } = r, [L, E] = W(() => {
152
+ const { fieldValue: a, onChange: n, label: s, placeholder: d, maxLength: p, disabled: f, readOnly: m, hasError: c, ariaLabel: i, addOtherLabel: h, options: u } = r, [L, E] = W(() => {
153
153
  const l = D(u || []);
154
154
  return N(a, l) ? q(a, h) : "";
155
155
  });
156
- A(() => {
156
+ j(() => {
157
157
  const l = D(u || []), O = N(a, l);
158
158
  E(O ? q(a, h) : "");
159
159
  }, [
@@ -161,10 +161,10 @@ const T = ({ children: e, ...t }) => {
161
161
  u,
162
162
  h
163
163
  ]);
164
- const g = k(() => Q((l) => {
165
- const O = D(u || []), V = a.filter((S) => O.includes(S)), m = l ? `${h}: ${l}` : s, y = [
164
+ const g = x(() => Q((l) => {
165
+ const O = D(u || []), V = a.filter((S) => O.includes(S)), b = l ? `${h}: ${l}` : s, y = [
166
166
  ...V,
167
- m
167
+ b
168
168
  ];
169
169
  n(y);
170
170
  }, 500), [
@@ -183,7 +183,7 @@ const T = ({ children: e, ...t }) => {
183
183
  value: L,
184
184
  onChange: C,
185
185
  isDisabled: f,
186
- isReadOnly: b,
186
+ isReadOnly: m,
187
187
  isInvalid: c,
188
188
  className: e
189
189
  }, /* @__PURE__ */ o.createElement(K, {
@@ -196,7 +196,7 @@ const T = ({ children: e, ...t }) => {
196
196
  v.Label = te;
197
197
  v.Options = _;
198
198
  _.Option = T;
199
- T.Checkbox = F;
199
+ T.Checkbox = k;
200
200
  T.OtherInput = G;
201
201
  v.Description = Z;
202
202
  v.Error = ee;
@@ -1,14 +1,14 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { C as t } from "./checkbox-group-field-headless-DnkUvDm8.js";
4
+ import { C as t } from "./checkbox-group-field-headless-AFWgXzx_.js";
5
5
  import { E as n } from "./error-icon-hZxQ6DEy.js";
6
6
  import { C as c } from "./checkbox-indicator-module-classes-BpeSpGsW.js";
7
7
  import { s } from "./field-rac.module-B4l_0KRU.js";
8
- import { v as i, J as E, c as p, e as C, o as O, j as _, d as I } from "./form-element-classes-bLFmhsKw.js";
8
+ import { I as i, U as p, i as E, k as C, v as O, p as _, j as I } from "./form-BTDgyr54.js";
9
9
  import { o as l } from "./options-rac.module-CTDdATiz.js";
10
- import { u as L } from "./use-element-state-class-name-BatTc2bw.js";
11
- import { u as R } from "./use-text-input-class-name-LQ5S-NLh.js";
10
+ import { u as L } from "./use-element-state-class-name-DB1AzkvF.js";
11
+ import { u as R } from "./use-text-input-class-name-va1PzWFg.js";
12
12
  const u = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(m, {
13
13
  content: o,
14
14
  locale: r
@@ -22,9 +22,9 @@ const u = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(m, {
22
22
  }, /* @__PURE__ */ e.createElement(t.Label, {
23
23
  className: a(i, s.label)
24
24
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
25
- className: a(E, s.requiredMark)
25
+ className: a(p, s.requiredMark)
26
26
  })), /* @__PURE__ */ e.createElement(t.Options, {
27
- className: a(p, l.options)
27
+ className: a(E, l.options)
28
28
  }, /* @__PURE__ */ e.createElement(t.Options.Option, null, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox, {
29
29
  className: s.checkbox
30
30
  }, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Input, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as o } from "./checkbox-group-field-rac-DrDTgHMg.js";
2
+ import { C as o } from "./checkbox-group-field-rac-CO8kmWJp.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  c as CheckboxGroupRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as o } from "./checkbox-field-rac-boTtXVEt.js";
2
+ import { C as o } from "./checkbox-field-rac-Dwx1leKA.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  c as CheckboxRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsAddressRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { D as e } from "./date-input-field-rac-aY2zuuKs.js";
2
+ import { D as e } from "./date-input-field-rac-8oERZcqh.js";
3
3
  const a = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  a as ContactsBirthdateRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsCompanyRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-B2kqQ6yo.js";
2
+ import { E as e } from "./email-input-field-rac-DdOd86NX.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as ContactsEmailRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as ContactsFirstNameRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const a = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  a as ContactsLastNameRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { P as e } from "./phone-input-field-rac-JmIFcP1e.js";
2
+ import { P as e } from "./phone-input-field-rac-CC3C4ToW.js";
3
3
  const r = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  r as ContactsPhoneRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsPositionRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-boTtXVEt.js";
2
+ import { C as t } from "./checkbox-field-rac-Dwx1leKA.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as ContactsSubscribeRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CmXm6r1w.js";
2
+ import { T as e } from "./text-input-field-rac-D3MZ8teu.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsTaxIdRAC
@@ -1,4 +1,4 @@
1
- import { D as r } from "./form-DQauhsho.js";
1
+ import { D as r } from "./form-BTDgyr54.js";
2
2
  const o = {
3
3
  0: r.SUNDAY,
4
4
  1: r.MONDAY,