@wix/form-elements 1.107.0 → 1.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/component/{appointment-rac-D2F4vgf1.js → appointment-rac-ZAp8oWbK.js} +289 -290
  2. package/dist/component/{bookings-address-rac-_5S8J8_i.js → bookings-address-rac-x-Az7vHf.js} +1 -1
  3. package/dist/component/{bookings-email-rac-6vmDR9nS.js → bookings-email-rac-MoF_CaqB.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DtTJ4T2K.js → bookings-first-name-rac-CWh3Rb0M.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B3dsEwzR.js → bookings-header-rac-BVTiXUWk.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-B3idkbi8.js → bookings-last-name-rac-kXRRlyHl.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CrRBcQwT.js → bookings-login-bar-rac-C4Zr6kXE.js} +23 -24
  8. package/dist/component/{bookings-phone-rac-BE0yWNnj.js → bookings-phone-rac-2rz1m_xi.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CYo1l0-6.js → bookings-rich-text-rac-BEjGypQw.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-boTtXVEt.js → checkbox-field-rac-DwEQLIaz.js} +66 -67
  11. package/dist/component/{checkbox-group-field-headless-DnkUvDm8.js → checkbox-group-field-headless-BsOww_QB.js} +37 -37
  12. package/dist/component/{checkbox-group-field-rac-DrDTgHMg.js → checkbox-group-field-rac-DTcZcVS6.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-v3ozUBpo.js → checkbox-group-rac-DQsML-pW.js} +1 -1
  14. package/dist/component/{checkbox-rac-YSLE-RnG.js → checkbox-rac-irEBBOxP.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C653yaHZ.js → contacts-address-rac-B5bSAYrm.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BeAQ6shx.js → contacts-birthdate-rac-DyScj8f4.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BglKOoTG.js → contacts-company-rac-C5X9-jXa.js} +1 -1
  18. package/dist/component/{contacts-email-rac-D6m7ynfc.js → contacts-email-rac-B0vkfmrS.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Dgxn0tUJ.js → contacts-first-name-rac-Cfil3U_e.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-1UyIuRKH.js → contacts-last-name-rac-CtPLE-7-.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BQ77BlW4.js → contacts-phone-rac-YkzsAoBZ.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BUDUv7lv.js → contacts-position-rac-BS4j8QC-.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DdtA0qKW.js → contacts-subscribe-rac-z_9VsEZL.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WUaKcNl0.js → contacts-tax-id-rac-WFkmKyZv.js} +1 -1
  25. package/dist/component/{date-availability-XjBFq8jt.js → date-availability-NN3rxosk.js} +1 -1
  26. package/dist/component/{date-input-field-rac-aY2zuuKs.js → date-input-field-rac-mdhEC3oq.js} +88 -89
  27. package/dist/component/{date-input-rac-DRiP2_97.js → date-input-rac-CGciuoTx.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Bzl-d3Uj.js → date-picker-field-rac-CRZVODfF.js} +90 -91
  29. package/dist/component/{date-picker-rac-DHHUh8vn.js → date-picker-rac-Bfbvjy8W.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DP_StuLr.js → date-time-input-field-rac-TDWBXZ44.js} +76 -77
  31. package/dist/component/{date-time-input-rac-B11KIxsf.js → date-time-input-rac-DY0qdSix.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BHZBqyWv.js → dext-checkbox-group-rac-BFGM7SOt.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BIlAqEvV.js → dext-checkbox-rac-DPZvTeUZ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CHBXNrZi.js → dext-date-picker-rac-Xd5kojsQ.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BYtliKry.js → dext-date-time-input-rac-C0RIdxJW.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-C2VPSFV5.js → dext-dropdown-rac-D1m8vJvm.js} +1 -1
  37. package/dist/component/{dext-email-rac-Fnb0Ggcs.js → dext-email-rac-BC81RFYY.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DopfSyFi.js → dext-number-input-rac-Z_ih9FfX.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Rn4i_2rc.js → dext-phone-rac-s3BOnXuI.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-bNaskJpK.js → dext-radio-group-rac-CL3jcezs.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DL6ZZd7d.js → dext-rating-input-rac-wz1EyP5b.js} +1 -1
  42. package/dist/component/{dext-tags-rac-TsUPoImO.js → dext-tags-rac-BY4Rf2BP.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BIuY7LTd.js → dext-text-area-rac-DRJzlsq8.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CSYPW0Qi.js → dext-text-input-rac-BGcRNNAi.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-_g0lqGfW.js → dext-url-input-rac-CRAIm8yp.js} +1 -1
  46. package/dist/component/{donation-rac-BYKFtsyR.js → donation-rac-BlTfOIlE.js} +83 -84
  47. package/dist/component/{dropdown-field-headless-CBaqlNZi.js → dropdown-field-headless-DhzRAMcM.js} +12 -12
  48. package/dist/component/{dropdown-field-rac-CCAGSMm3.js → dropdown-field-rac-DXyY5we-.js} +5 -5
  49. package/dist/component/{dropdown-rac-C_EqUsZ1.js → dropdown-rac-C6YM6qxm.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Bw9eH0iF.js → ecom-address-rac-CAdr7wya.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-B5PVOO2a.js → ecom-subscription-checkbox-rac-Z2VMuCbt.js} +6 -6
  52. package/dist/component/{email-input-field-rac-B2kqQ6yo.js → email-input-field-rac-DpkfunVK.js} +53 -54
  53. package/dist/component/{events-repeater-rac--4OnUxWE.js → events-repeater-rac-CuJkdrPo.js} +61 -62
  54. package/dist/component/{events-rsvp-rac-CczCoo3T.js → events-rsvp-rac-BKWlSeQ9.js} +8 -8
  55. package/dist/component/{field-error-headless-D3-1L5sf.js → field-error-headless-tsg9FQ-_.js} +12 -12
  56. package/dist/component/{field-label-headless-Du4ckIVy.js → field-label-headless-CB8dEat8.js} +11 -11
  57. package/dist/component/{file-upload-rac-DbdkUbWM.js → file-upload-rac-ZdgYt646.js} +67 -68
  58. package/dist/component/{fixed-payment-rac-f9-01iDN.js → fixed-payment-rac-CuIQEeHh.js} +20 -21
  59. package/dist/component/{form-DQauhsho.js → form-0jt4L5xo.js} +3045 -2896
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/header-field-rac-CWVGzxKb.js +24 -0
  63. package/dist/component/{header-rac-CR9T3Pnu.js → header-rac-D6KsV-ko.js} +1 -1
  64. package/dist/component/{image-choice-rac-DJ_8v467.js → image-choice-rac-CUCyVS8c.js} +29 -30
  65. package/dist/component/{index-BB7d_9Dv.js → index-TJSnVtCO.js} +72 -72
  66. package/dist/component/{index-CcUTIUWM.js → index-iOqQidgV.js} +12 -12
  67. package/dist/component/{isObjectLike-xvPa_08X.js → isObjectLike-DQbx8r1c.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-CyaFOloE.js → multiline-address-field-rac-DtZ1NTfD.js} +186 -187
  69. package/dist/component/{multiline-address-rac-CaHGUN_f.js → multiline-address-rac-ub-_XzHU.js} +1 -1
  70. package/dist/component/number-input-field-rac-DLItn4DK.js +92 -0
  71. package/dist/component/{number-input-rac-DMKX6nhk.js → number-input-rac-UuxJzqEx.js} +1 -1
  72. package/dist/component/{password-rac-0RUXPAn6.js → password-rac-Di6q96Rn.js} +37 -38
  73. package/dist/component/{payment-input-rac-CHSZ3-Lt.js → payment-input-rac-CG6c4-Ge.js} +52 -53
  74. package/dist/component/{phone-input-field-rac-JmIFcP1e.js → phone-input-field-rac-D4JphCuT.js} +75 -76
  75. package/dist/component/{phone-rac-BLRnAPXP.js → phone-rac-_vDw2usa.js} +1 -1
  76. package/dist/component/{product-list-rac-BkF5tDwt.js → product-list-rac-CgxRlj1f.js} +73 -74
  77. package/dist/component/{quiz-radio-group-rac-32cCMTUS.js → quiz-radio-group-rac-bi26aGxN.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-IOulhuSH.js → radio-button-module-classes-DDJq2ESf.js} +33 -33
  79. package/dist/component/{radio-group-field-rac-CJwku6e0.js → radio-group-field-rac-D1aMVO6l.js} +4 -4
  80. package/dist/component/{radio-group-rac-BiW-9Abj.js → radio-group-rac-HKC85M6t.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-B9cwaROK.js → rating-input-field-rac-CpRehxFB.js} +42 -43
  82. package/dist/component/{rating-input-rac-BpwlNvzQ.js → rating-input-rac-BMuCZ3oj.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-B1uyPmtK.js → rich-content-rac.module-mZ6xoAOd.js} +4 -4
  84. package/dist/component/rich-text-field-rac-CUK8V8Kf.js +21 -0
  85. package/dist/component/{rich-text-rac-VfeZxS27.js → rich-text-rac-B-7sR2FJ.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-BCfs8IhW.js → service-dropdown-rac-1DDNT5bn.js} +43 -44
  87. package/dist/component/{services-multi-choice-rac-CCqdF_7P.js → services-multi-choice-rac-CB-6dwxz.js} +21 -22
  88. package/dist/component/{signature-rac-DOyMo3u0.js → signature-rac-7XBci6P2.js} +35 -36
  89. package/dist/component/{submit-button-rac-C2uA5DeE.js → submit-button-rac-B1-Mk8Gg.js} +21 -22
  90. package/dist/component/{tags-field-rac-C_uIw2by.js → tags-field-rac-CQ9Y7mq-.js} +49 -50
  91. package/dist/component/{tags-rac-1pQ-fpe_.js → tags-rac-Visic-Ml.js} +1 -1
  92. package/dist/component/{text-area-field-rac-DqlOkm7e.js → text-area-field-rac-C8fP1g-w.js} +31 -32
  93. package/dist/component/{text-area-rac-DPdkrFcH.js → text-area-rac-B6yZxzxm.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CmXm6r1w.js → text-input-field-rac-CNjbOxD1.js} +5 -5
  95. package/dist/component/{text-input-headless-DD__2DFf.js → text-input-headless-Bm8PJGep.js} +12 -12
  96. package/dist/component/{text-input-rac-DRHyQEH7.js → text-input-rac-BEPC1Z-4.js} +1 -1
  97. package/dist/component/{time-input-rac-BJPIymQY.js → time-input-rac-3m6C_Jp5.js} +41 -42
  98. package/dist/component/url-input-field-rac-CIk_6Lf6.js +74 -0
  99. package/dist/component/{url-input-rac-C0ChQUzq.js → url-input-rac-DyVoygXH.js} +1 -1
  100. package/dist/component/use-dropdown-option-class-name-McG3ayOT.js +21 -0
  101. package/dist/component/{use-element-state-class-name-BatTc2bw.js → use-element-state-class-name-B9MBWX44.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-B0jiPTmS.js → use-is-forced-open-dropdown-r5G_sZsO.js} +7 -7
  103. package/dist/component/{use-service-options-base-oeE7xszw.js → use-service-options-base-hcbkvhpw.js} +7 -7
  104. package/dist/component/use-text-input-class-name-SnurFqAr.js +23 -0
  105. package/dist/form.d.ts +3 -1
  106. package/package.json +2 -2
  107. package/dist/component/form-element-classes-bLFmhsKw.js +0 -137
  108. package/dist/component/header-field-rac-DamDk5BR.js +0 -25
  109. package/dist/component/number-input-field-rac-BuYUzDWV.js +0 -93
  110. package/dist/component/rich-text-field-rac-C_qE7Ykg.js +0 -22
  111. package/dist/component/url-input-field-rac-CFDYkZ6I.js +0 -75
  112. package/dist/component/use-dropdown-option-class-name-3L5ZmNLK.js +0 -21
  113. 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-DtZ1NTfD.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-DpkfunVK.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-CNjbOxD1.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-CWVGzxKb.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-CNjbOxD1.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 { b5 as d, bf as b, aZ as f, b1 as p, y as L } from "./form-0jt4L5xo.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
- }, A = () => {
51
+ }, y = () => {
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,13 +61,13 @@ 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
- }, h = () => /* @__PURE__ */ o.createElement(A, null);
70
+ }, h = () => /* @__PURE__ */ o.createElement(y, null);
72
71
  export {
73
72
  h as BookingsLoginBarRAC
74
73
  };
@@ -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-D4JphCuT.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-CUK8V8Kf.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });
@@ -1,18 +1,17 @@
1
1
  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
- 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";
4
+ import { CheckboxField as Zn, CheckboxButton as Qn } from "react-aria-components";
5
+ import { aF as ei, b5 as Qr, ao as Zr, an as fn, bf as ri, aZ as ti, aN as ai, b2 as ni, b7 as ii, h as si, T as oi, m as ui, aj as ci, u as fi, p as li, l as _i } from "./form-0jt4L5xo.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-tsg9FQ-_.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-DQbx8r1c.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-B9MBWX44.js";
16
15
  var ue, dt;
17
16
  function mi() {
18
17
  if (dt) return ue;
@@ -423,10 +422,10 @@ function $i() {
423
422
  }
424
423
  return Ue = n, Ue;
425
424
  }
426
- var He, Qt;
425
+ var He, Zt;
427
426
  function Ji() {
428
- if (Qt) return He;
429
- Qt = 1;
427
+ if (Zt) return He;
428
+ Zt = 1;
430
429
  var e = ae(), r = Ei(), t = Oi(), a = ji(), n = xi(), i = $i();
431
430
  function s(o) {
432
431
  var u = this.__data__ = new e(o);
@@ -434,10 +433,10 @@ function Ji() {
434
433
  }
435
434
  return s.prototype.clear = r, s.prototype.delete = t, s.prototype.get = a, s.prototype.has = n, s.prototype.set = i, He = s, He;
436
435
  }
437
- var Ve, Zt;
436
+ var Ve, Qt;
438
437
  function Yi() {
439
- if (Zt) return Ve;
440
- Zt = 1;
438
+ if (Qt) return Ve;
439
+ Qt = 1;
441
440
  function e(r, t) {
442
441
  for (var a = -1, n = r == null ? 0 : r.length; ++a < n && t(r[a], a, r) !== !1; )
443
442
  ;
@@ -446,7 +445,7 @@ function Yi() {
446
445
  return Ve = e, Ve;
447
446
  }
448
447
  var ze, ea;
449
- function Qi() {
448
+ function Zi() {
450
449
  if (ea) return ze;
451
450
  ea = 1;
452
451
  var e = L(), r = (function() {
@@ -462,7 +461,7 @@ var We, ra;
462
461
  function hn() {
463
462
  if (ra) return We;
464
463
  ra = 1;
465
- var e = Qi();
464
+ var e = Zi();
466
465
  function r(t, a, n) {
467
466
  a == "__proto__" && e ? e(t, a, {
468
467
  configurable: !0,
@@ -501,7 +500,7 @@ function se() {
501
500
  return $e = t, $e;
502
501
  }
503
502
  var Je, na;
504
- function Zi() {
503
+ function Qi() {
505
504
  if (na) return Je;
506
505
  na = 1;
507
506
  function e(r, t) {
@@ -521,23 +520,23 @@ function es() {
521
520
  }
522
521
  return Ye = a, Ye;
523
522
  }
524
- var Qe, sa;
523
+ var Ze, sa;
525
524
  function rs() {
526
- if (sa) return Qe;
525
+ if (sa) return Ze;
527
526
  sa = 1;
528
527
  var e = es(), r = J(), t = Object.prototype, a = t.hasOwnProperty, n = t.propertyIsEnumerable, i = e(/* @__PURE__ */ (function() {
529
528
  return arguments;
530
529
  })()) ? e : function(s) {
531
530
  return r(s) && a.call(s, "callee") && !n.call(s, "callee");
532
531
  };
533
- return Qe = i, Qe;
532
+ return Ze = i, Ze;
534
533
  }
535
- var Ze, oa;
534
+ var Qe, oa;
536
535
  function rt() {
537
- if (oa) return Ze;
536
+ if (oa) return Qe;
538
537
  oa = 1;
539
538
  var e = Array.isArray;
540
- return Ze = e, Ze;
539
+ return Qe = e, Qe;
541
540
  }
542
541
  var H = { exports: {} }, er, ua;
543
542
  function ts() {
@@ -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");
@@ -625,7 +624,7 @@ var sr, da;
625
624
  function bn() {
626
625
  if (da) return sr;
627
626
  da = 1;
628
- var e = Zi(), r = rs(), t = rt(), a = dn(), n = as(), i = is(), s = Object.prototype, o = s.hasOwnProperty;
627
+ var e = Qi(), r = rs(), t = rt(), a = dn(), n = as(), i = is(), s = Object.prototype, o = s.hasOwnProperty;
629
628
  function u(c, v) {
630
629
  var _ = t(c), p = !_ && r(c), y = !_ && !p && a(c), q = !_ && !p && !y && i(c), C = _ || p || y || q, m = C ? e(c.length, String) : [], g = m.length;
631
630
  for (var d in c)
@@ -1006,16 +1005,16 @@ 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
  }
1013
1012
  return kr = a, kr;
1014
1013
  }
1015
- var Nr, Qa;
1014
+ var Nr, Za;
1016
1015
  function Es() {
1017
- if (Qa) return Nr;
1018
- Qa = 1;
1016
+ if (Za) return Nr;
1017
+ Za = 1;
1019
1018
  var e = ct();
1020
1019
  function r(t, a) {
1021
1020
  var n = a ? e(t.buffer) : t.buffer;
@@ -1023,10 +1022,10 @@ function Es() {
1023
1022
  }
1024
1023
  return Nr = r, Nr;
1025
1024
  }
1026
- var Gr, Za;
1025
+ var Gr, Qa;
1027
1026
  function Os() {
1028
- if (Za) return Gr;
1029
- Za = 1;
1027
+ if (Qa) return Gr;
1028
+ Qa = 1;
1030
1029
  var e = ct(), r = Ts(), t = Rs(), a = Ss(), n = Es(), i = "[object Boolean]", s = "[object Date]", o = "[object Map]", u = "[object Number]", c = "[object RegExp]", v = "[object Set]", _ = "[object String]", p = "[object Symbol]", y = "[object ArrayBuffer]", q = "[object DataView]", C = "[object Float32Array]", m = "[object Float64Array]", g = "[object Int8Array]", d = "[object Int16Array]", S = "[object Int32Array]", E = "[object Uint8Array]", O = "[object Uint8ClampedArray]", j = "[object Uint16Array]", B = "[object Uint32Array]";
1031
1030
  function k(I, N, f) {
1032
1031
  var x = I.constructor;
@@ -1132,27 +1131,27 @@ function Fs() {
1132
1131
  on = 1;
1133
1132
  var e = Ji(), r = Yi(), t = pn(), a = us(), n = ls(), i = _s(), s = vs(), o = ps(), u = ds(), c = ys(), v = bs(), _ = ut(), p = ms(), y = Os(), q = xs(), C = rt(), m = dn(), g = Ps(), d = $(), S = Ls(), E = it(), O = st(), j = 1, B = 2, k = 4, I = "[object Arguments]", N = "[object Array]", f = "[object Boolean]", x = "[object Date]", G = "[object Error]", ft = "[object Function]", Rn = "[object GeneratorFunction]", Sn = "[object Map]", En = "[object Number]", lt = "[object Object]", On = "[object RegExp]", jn = "[object Set]", xn = "[object String]", Dn = "[object Symbol]", Pn = "[object WeakMap]", wn = "[object ArrayBuffer]", Ln = "[object DataView]", Fn = "[object Float32Array]", Mn = "[object Float64Array]", Kn = "[object Int8Array]", Bn = "[object Int16Array]", kn = "[object Int32Array]", Nn = "[object Uint8Array]", Gn = "[object Uint8ClampedArray]", Un = "[object Uint16Array]", Hn = "[object Uint32Array]", h = {};
1134
1133
  h[I] = h[N] = h[wn] = h[Ln] = h[f] = h[x] = h[Fn] = h[Mn] = h[Kn] = h[Bn] = h[kn] = h[Sn] = h[En] = h[lt] = h[On] = h[jn] = h[xn] = h[Dn] = h[Nn] = h[Gn] = h[Un] = h[Hn] = !0, h[G] = h[ft] = h[Pn] = !1;
1135
- function Y(l, F, M, Vn, Q, D) {
1136
- var A, Z = F & j, ee = F & B, zn = F & k;
1137
- if (M && (A = Q ? M(l, Vn, Q, D) : M(l)), A !== void 0)
1134
+ function Y(l, F, M, Vn, Z, D) {
1135
+ var A, Q = F & j, ee = F & B, zn = F & k;
1136
+ if (M && (A = Z ? M(l, Vn, Z, D) : M(l)), A !== void 0)
1138
1137
  return A;
1139
1138
  if (!d(l))
1140
1139
  return l;
1141
1140
  var _t = C(l);
1142
1141
  if (_t) {
1143
- if (A = p(l), !Z)
1142
+ if (A = p(l), !Q)
1144
1143
  return s(l, A);
1145
1144
  } else {
1146
1145
  var K = _(l), vt = K == ft || K == Rn;
1147
1146
  if (m(l))
1148
- return i(l, Z);
1149
- if (K == lt || K == I || vt && !Q) {
1150
- if (A = ee || vt ? {} : q(l), !Z)
1147
+ return i(l, Q);
1148
+ if (K == lt || K == I || vt && !Z) {
1149
+ if (A = ee || vt ? {} : q(l), !Q)
1151
1150
  return ee ? u(l, n(A, l)) : o(l, a(A, l));
1152
1151
  } else {
1153
1152
  if (!h[K])
1154
- return Q ? l : {};
1155
- A = y(l, K, Z);
1153
+ return Z ? l : {};
1154
+ A = y(l, K, Q);
1156
1155
  }
1157
1156
  }
1158
1157
  D || (D = new e());
@@ -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: {
@@ -1204,11 +1203,11 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1204
1203
  var n;
1205
1204
  const a = Bs(e);
1206
1205
  switch (r) {
1207
- case Qr.BEFORE_FIELD_TITLE:
1206
+ case Zr.BEFORE_FIELD_TITLE:
1208
1207
  const i = a == null ? void 0 : a.nodes.find(Boolean);
1209
1208
  i && (i.nodes ?? (i.nodes = []), i.nodes.unshift(t));
1210
1209
  break;
1211
- case Qr.AFTER_FIELD_TITLE:
1210
+ case Zr.AFTER_FIELD_TITLE:
1212
1211
  const s = (n = a == null ? void 0 : a.nodes) == null ? void 0 : n.findLast(Boolean);
1213
1212
  s && (s.nodes ?? (s.nodes = []), s.nodes.push(t));
1214
1213
  break;
@@ -1221,7 +1220,7 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1221
1220
  onMouseDown: Yr,
1222
1221
  onClick: Yr
1223
1222
  }, Us = ({ className: e, requiredClassName: r, theme: t, children: a, ...n }) => {
1224
- const { requiredIndicatorHidden: i = !1 } = n, s = Zr(), { label: o, required: u = !1, disabled: c = !1, requiredIndicatorType: v = fn.ASTERISK, requiredIndicatorPlacement: _ = Qr.AFTER_FIELD_TITLE } = s, { t: p } = ri(), { language: y } = ti(), q = $n(() => {
1223
+ const { requiredIndicatorHidden: i = !1 } = n, s = Qr(), { label: o, required: u = !1, disabled: c = !1, requiredIndicatorType: v = fn.ASTERISK, requiredIndicatorPlacement: _ = Zr.AFTER_FIELD_TITLE } = s, { t: p } = ri(), { language: y } = ti(), q = $n(() => {
1225
1224
  if (!u || i || !o)
1226
1225
  return o;
1227
1226
  const C = ks(v, p, r);
@@ -1244,7 +1243,7 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1244
1243
  htmlAttributesPlugin: ai
1245
1244
  }));
1246
1245
  }, T = ({ children: e }) => {
1247
- const { id: r, FieldLayout: t } = Zr(), a = W(e, T.Checkbox), n = W(e, T.Description), i = W(e, T.Error);
1246
+ const { id: r, FieldLayout: t } = Qr(), a = W(e, T.Checkbox), n = W(e, T.Description), i = W(e, T.Error);
1248
1247
  return /* @__PURE__ */ b.createElement(t, {
1249
1248
  fieldId: r,
1250
1249
  renderLabel: () => null,
@@ -1252,7 +1251,7 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1252
1251
  renderDescription: () => /* @__PURE__ */ b.createElement(b.Fragment, null, i, n)
1253
1252
  });
1254
1253
  }, X = ({ children: e, className: r }) => {
1255
- const { id: t, value: a, onChange: n, disabled: i, required: s, readOnly: o, onBlur: u, onFocus: c, hasError: v } = Zr(), { inputId: _, ariaDescribedBy: p } = ni(), y = Jn(null);
1254
+ const { id: t, value: a, onChange: n, disabled: i, required: s, readOnly: o, onBlur: u, onFocus: c, hasError: v } = Qr(), { inputId: _, ariaDescribedBy: p } = ni(), y = Jn(null);
1256
1255
  ii(() => {
1257
1256
  var g;
1258
1257
  (g = y.current) == null || g.focus();
@@ -1262,7 +1261,7 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1262
1261
  }, [
1263
1262
  n
1264
1263
  ]);
1265
- return /* @__PURE__ */ b.createElement(Qn, {
1264
+ return /* @__PURE__ */ b.createElement(Zn, {
1266
1265
  id: _,
1267
1266
  "aria-describedby": p,
1268
1267
  isSelected: !!a,
@@ -1273,45 +1272,45 @@ const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
1273
1272
  isInvalid: v,
1274
1273
  onBlur: u,
1275
1274
  onFocus: c
1276
- }, /* @__PURE__ */ b.createElement(Zn, {
1275
+ }, /* @__PURE__ */ b.createElement(Qn, {
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";
1
+ import o, { useMemo as x, useCallback as $, useRef as w, useState as W, useEffect as A } from "react";
2
2
  import { CheckboxGroup as M, CheckboxField as j, 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 { b5 as R, b2 as U, bf as X, b7 as Y } from "./form-0jt4L5xo.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-tsg9FQ-_.js";
7
+ import { L as te } from "./field-label-headless-CB8dEat8.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,7 +30,7 @@ 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
33
+ onFocus: m
34
34
  }, /* @__PURE__ */ o.createElement(M, {
35
35
  className: t,
36
36
  "aria-labelledby": u,
@@ -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;
@@ -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,7 +149,7 @@ 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
  });
@@ -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;