@wix/form-elements 1.72.0 → 1.73.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 (105) hide show
  1. package/dist/component/{appointment-rac-CvecMhTP.js → appointment-rac-Bze1s2XD.js} +4 -4
  2. package/dist/component/{bookings-address-rac-Bzh6N9eV.js → bookings-address-rac-BcrkXf63.js} +1 -1
  3. package/dist/component/{bookings-email-rac-kh4HZ9zW.js → bookings-email-rac-DYq5RxOP.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DIe5Nxtm.js → bookings-first-name-rac-ZJ_sQ-01.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CcZrhPWt.js → bookings-header-rac-Cv8kl01f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DynAXyOh.js → bookings-last-name-rac-BmnulSZ6.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CiAreT-B.js → bookings-login-bar-rac-Bdi4xs9y.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-Be7XP3CC.js → bookings-phone-rac-C8DjSzUY.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CsOSjxCm.js → bookings-rich-text-rac-DYu011oy.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-YmbfJMcm.js → checkbox-field-rac-BH3yEE5j.js} +42 -42
  11. package/dist/component/{checkbox-group-field-headless-DnI-niUS.js → checkbox-group-field-headless-D_GG5LHM.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-Cbv9r_IR.js → checkbox-group-field-rac-Cj7Erubs.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-6W04r6Nz.js → checkbox-group-rac-CgW0DnhX.js} +1 -1
  14. package/dist/component/{checkbox-rac-Dv96xsq2.js → checkbox-rac-DOAYMMsi.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BQSEdyVn.js → contacts-address-rac-DXJa4J_k.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CNZp5aiS.js → contacts-birthdate-rac-CVsuRq3B.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BwY-2pG_.js → contacts-company-rac-b2bwHSNC.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CX9LDVtk.js → contacts-email-rac-DMPcpQ1c.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CXzh7vHC.js → contacts-first-name-rac-CL2BsHuJ.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-y93LJlBv.js → contacts-last-name-rac-hdBsWaqb.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-zO2Y3fGa.js → contacts-phone-rac-DQF6aV9B.js} +1 -1
  22. package/dist/component/{contacts-position-rac-y7Nd4s6j.js → contacts-position-rac-CVX-WCfx.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-D5usboPe.js → contacts-subscribe-rac-Dl1ot9qw.js} +2 -2
  24. package/dist/component/{contacts-tax-id-rac-DT42qK_C.js → contacts-tax-id-rac-0KTXvF81.js} +1 -1
  25. package/dist/component/{date-availability-BUg7fwNs.js → date-availability-DBljhBgO.js} +1 -1
  26. package/dist/component/{date-input-field-rac-97DJQbSL.js → date-input-field-rac-CfflD2Ar.js} +4 -4
  27. package/dist/component/{date-input-rac-BTetYZVn.js → date-input-rac-fQclCKoa.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BOzUTQ53.js → date-picker-field-rac-BSmFOaH-.js} +5 -5
  29. package/dist/component/{date-picker-rac-Cz8QZr18.js → date-picker-rac-D7I3ramu.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Cx4a-dzv.js → date-time-input-field-rac-vjZDQ_Fp.js} +4 -4
  31. package/dist/component/{date-time-input-rac-BlSvC4v4.js → date-time-input-rac-CDbS0VZR.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-ijVB8NX2.js → dext-checkbox-group-rac-BBiPt6_a.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-0F6rTc_y.js → dext-checkbox-rac-Cqp--0SO.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-vjt7d8gT.js → dext-date-picker-rac-5Wft0w9m.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CpJz0KtU.js → dext-date-time-input-rac-Bbs7bgtn.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-yUJT-sKU.js → dext-dropdown-rac-CSvhtqbc.js} +1 -1
  37. package/dist/component/{dext-email-rac-D1K34PtX.js → dext-email-rac-BoLeXqyI.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-D-7zudVq.js → dext-number-input-rac-DzaJYTSz.js} +1 -1
  39. package/dist/component/{dext-phone-rac-B4HebC40.js → dext-phone-rac-BagPg_CT.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DWL6wrD6.js → dext-radio-group-rac-B5HSQt7a.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-p_FwVz4F.js → dext-rating-input-rac-DrtaAf-E.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DNZ06TfG.js → dext-tags-rac-Cg4jJ4jr.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-D9Ra_RXC.js → dext-text-area-rac-C_t-W7lk.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-gms4VXn_.js → dext-text-input-rac-ChvV21Jf.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CDZnjVL0.js → dext-url-input-rac-DclbSYTr.js} +1 -1
  46. package/dist/component/{donation-rac-BPy2Dkj_.js → donation-rac-FYQIMm5m.js} +16 -16
  47. package/dist/component/{dropdown-field-headless-CiK1C6eu.js → dropdown-field-headless-CTZ-zGqZ.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-ByUgK0Dh.js → dropdown-field-rac-C1KVtxwv.js} +4 -4
  49. package/dist/component/{dropdown-rac-BZQe_0qb.js → dropdown-rac-CkkDEDje.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Du8bSZKs.js → ecom-address-rac-BOuugSxX.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-ZgT_Mx5b.js → ecom-subscription-checkbox-rac-IZeMlljb.js} +3 -3
  52. package/dist/component/{email-input-field-rac-DWXEywOx.js → email-input-field-rac-CNzmm1j7.js} +26 -26
  53. package/dist/component/{events-repeater-rac-DBofzCIJ.js → events-repeater-rac-CMV0Lmwz.js} +3 -3
  54. package/dist/component/{events-rsvp-rac-CYwLg3Mp.js → events-rsvp-rac-BmjboAco.js} +2 -2
  55. package/dist/component/{field-error-headless-BAVGL8JO.js → field-error-headless-DQZ5XAdn.js} +1 -1
  56. package/dist/component/{field-label-headless-CwSCKtI1.js → field-label-headless-DoxfHHaj.js} +1 -1
  57. package/dist/component/{file-upload-rac-BI_SxUFD.js → file-upload-rac-YEQ7uXhm.js} +46 -46
  58. package/dist/component/{fixed-payment-rac-m2iFI5v_.js → fixed-payment-rac-DDufIQBT.js} +4 -4
  59. package/dist/component/{form-VD2Og15y.js → form-C6WwBcGP.js} +69 -69
  60. package/dist/component/{form-element-classes-BSMjWijd.js → form-element-classes-DDKCTFQj.js} +24 -22
  61. package/dist/component/form-element-keys-D0sEdpFo.js +8 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-C7EKGD8f.js → header-field-rac-DGfjrjQC.js} +3 -3
  65. package/dist/component/{header-rac-CE4fzveg.js → header-rac-C_JE2cTg.js} +1 -1
  66. package/dist/component/{image-choice-rac-CXABLqND.js → image-choice-rac-LDLPQwrN.js} +8 -8
  67. package/dist/component/{index-DI0IAMNV.js → index-C2srcuHD.js} +4 -4
  68. package/dist/component/{index-CHqhveZ1.js → index-CIOoaQ8Z.js} +2 -2
  69. package/dist/component/{isObjectLike-D_6b_ESv.js → isObjectLike-E5QfEa1u.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-3wB7fWdZ.js → multiline-address-field-rac-Biyj2tIN.js} +5 -5
  71. package/dist/component/{multiline-address-rac-RnXiGQRs.js → multiline-address-rac-BCqCvG7a.js} +1 -1
  72. package/dist/component/{number-input-field-rac-BiC2NsZQ.js → number-input-field-rac-CwUoIbM8.js} +4 -4
  73. package/dist/component/{number-input-rac-BphPpAvr.js → number-input-rac-CdYdTDem.js} +1 -1
  74. package/dist/component/{password-rac-DBk3CNX3.js → password-rac-D62npVHY.js} +9 -9
  75. package/dist/component/{payment-input-rac-DNYLuIV-.js → payment-input-rac-D4u-3vcW.js} +6 -6
  76. package/dist/component/{phone-input-field-rac-C30S0p_Y.js → phone-input-field-rac-uHxR3ozd.js} +14 -14
  77. package/dist/component/{phone-rac-vzh9GsbA.js → phone-rac-Bf99_BGi.js} +1 -1
  78. package/dist/component/{product-list-rac-DMdxtFZ1.js → product-list-rac-iRf6Ra7i.js} +4 -4
  79. package/dist/component/{quiz-radio-group-rac-CX9W6rGY.js → quiz-radio-group-rac-CPGS0LEb.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-D7MwZqH6.js → radio-group-field-rac-BWpTNAbO.js} +2 -2
  81. package/dist/component/{radio-group-field-rac.module-DxEUzWwB.js → radio-group-field-rac.module-WxU5zxvM.js} +3 -3
  82. package/dist/component/{radio-group-rac-BK7qn-h2.js → radio-group-rac-dA4WZ1Vj.js} +1 -1
  83. package/dist/component/rating-input-field-rac-CJnFsBvH.js +127 -0
  84. package/dist/component/{rating-input-rac-Dy335I62.js → rating-input-rac-DXVYozFV.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-DrHi1MSI.js → rich-content-rac.module-DkKwzJS7.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CMnH_2lB.js → rich-text-field-rac-8FWCRrpb.js} +3 -3
  87. package/dist/component/{rich-text-rac-Cebhj1Mq.js → rich-text-rac-OeM_mPRy.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-BKsuPUHs.js → service-dropdown-rac-mvUMpcS_.js} +14 -14
  89. package/dist/component/{services-multi-choice-rac-BCzzyhJY.js → services-multi-choice-rac-DrgUrn_N.js} +9 -9
  90. package/dist/component/{signature-rac-TuOQR74M.js → signature-rac-D44U9Uyp.js} +52 -52
  91. package/dist/component/{submit-button-rac-Ct4NVia5.js → submit-button-rac-BqtcgVAn.js} +2 -2
  92. package/dist/component/{tags-field-rac-DYdaPvQc.js → tags-field-rac-CemsTKWz.js} +13 -13
  93. package/dist/component/{tags-rac-BvyXZ_95.js → tags-rac-fVjCf6qo.js} +1 -1
  94. package/dist/component/{text-area-field-rac-YmesRjRH.js → text-area-field-rac-BPciZlZb.js} +6 -6
  95. package/dist/component/{text-area-rac-Bk0bbyrK.js → text-area-rac-CRTORdZM.js} +1 -1
  96. package/dist/component/{text-input-field-rac-CW0ZR1y2.js → text-input-field-rac-CvFoWlRN.js} +2 -2
  97. package/dist/component/{text-input-headless-C1m6gpFi.js → text-input-headless-BQ3TWU9G.js} +3 -3
  98. package/dist/component/{text-input-rac-5S5KE2Qr.js → text-input-rac-DSFkEmob.js} +1 -1
  99. package/dist/component/{time-input-rac-CfoKMXeX.js → time-input-rac-CGgs7ncp.js} +8 -8
  100. package/dist/component/{url-input-field-rac-aQiV0Sti.js → url-input-field-rac-CqvgTc-F.js} +12 -12
  101. package/dist/component/{url-input-rac-Ko5uylZw.js → url-input-rac-C45KOwnr.js} +1 -1
  102. package/dist/component/{use-service-options-base-BagPjcuW.js → use-service-options-base-D4Zl-iGW.js} +1 -1
  103. package/package.json +2 -2
  104. package/dist/component/form-element-keys-P3mtjfCv.js +0 -7
  105. package/dist/component/rating-input-field-rac-CUTqEPPd.js +0 -130
@@ -1,22 +1,22 @@
1
1
  import e, { useState as h, useRef as N } from "react";
2
2
  import { RicosViewer as O } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { ai as p, af as I, ak as x, as as A } from "./form-VD2Og15y.js";
4
+ import { ai as p, af as I, ak as x, as as A } from "./form-C6WwBcGP.js";
5
5
  import { TextField as B, Group as P, Input as V, Button as v } from "react-aria-components";
6
6
  import { f as E, a as g } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as k } from "./field-error-headless-BAVGL8JO.js";
8
- import { L as q } from "./field-label-headless-CwSCKtI1.js";
7
+ import { D as M, E as k } from "./field-error-headless-DQZ5XAdn.js";
8
+ import { L as q } from "./field-label-headless-DoxfHHaj.js";
9
9
  import { E as U } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as j } from "./custom-focus-class-_483Pkwp.js";
11
11
  import { s as u } from "./field-rac.module-Cac83bU5.js";
12
- import { z as H, P as W, y as Z, q as z, j as G } from "./form-element-classes-BSMjWijd.js";
12
+ import { z as H, R as W, y as Z, q as z, j as G } from "./form-element-classes-DDKCTFQj.js";
13
13
  const t = ({ children: r, className: o }) => {
14
- const { id: i, value: s, onChange: c, disabled: l, readOnly: m, required: n, hasError: a, onBlur: f, onFocus: _, FieldLayout: y } = p(), { labelId: C } = I(), [F, L] = h(!1), R = E(r, t.Label), D = E(r, t.Control), T = E(r, t.Description), S = E(r, t.Error);
14
+ const { id: i, value: s, onChange: c, disabled: l, readOnly: m, required: n, hasError: a, onBlur: f, onFocus: _, FieldLayout: y } = p(), { labelId: R } = I(), [C, F] = h(!1), L = E(r, t.Label), D = E(r, t.Control), T = E(r, t.Description), S = E(r, t.Error);
15
15
  return /* @__PURE__ */ e.createElement(y, {
16
16
  fieldId: i,
17
- renderLabel: () => R,
17
+ renderLabel: () => L,
18
18
  renderInput: () => /* @__PURE__ */ e.createElement(B, {
19
- "aria-labelledby": C,
19
+ "aria-labelledby": R,
20
20
  value: s ?? "",
21
21
  onChange: c,
22
22
  isDisabled: l,
@@ -27,8 +27,8 @@ const t = ({ children: r, className: o }) => {
27
27
  onFocus: _,
28
28
  className: o
29
29
  }, g(D, {
30
- isVisible: F,
31
- onToggleVisibility: () => L((w) => !w)
30
+ isVisible: C,
31
+ onToggleVisibility: () => F((w) => !w)
32
32
  })),
33
33
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, S)
34
34
  });
@@ -2,16 +2,16 @@ import r, { useCallback as V, useRef as z } from "react";
2
2
  import { RicosViewer as Q } from "@wix/ricos/viewer";
3
3
  import i from "classnames";
4
4
  import { TextField as w, Group as J, Input as K } from "react-aria-components";
5
- import { ai as D, af as S, ab as x, as as W, ak as X } from "./form-VD2Og15y.js";
5
+ import { ai as D, af as S, ab as x, as as W, ak as X } from "./form-C6WwBcGP.js";
6
6
  import { f as m } from "./find-child-C60k4CxG.js";
7
- import { D as Y, E as Z } from "./field-error-headless-BAVGL8JO.js";
8
- import { L as ee } from "./field-label-headless-CwSCKtI1.js";
7
+ import { D as Y, E as Z } from "./field-error-headless-DQZ5XAdn.js";
8
+ import { L as ee } from "./field-label-headless-DoxfHHaj.js";
9
9
  import { f as R, g as re } from "./payment-field-utils-DobiK5Xh.js";
10
10
  import { u as te } from "./use-synced-display-value-DcAxdn3M.js";
11
11
  import { E as ne } from "./error-icon-hZxQ6DEy.js";
12
12
  import { H as ae } from "./custom-focus-class-_483Pkwp.js";
13
13
  import { s as u } from "./field-rac.module-Cac83bU5.js";
14
- import { z as se, P as oe, y as le, q as ce, j as ie } from "./form-element-classes-BSMjWijd.js";
14
+ import { z as se, R as oe, y as le, q as ce, j as ie } from "./form-element-classes-DDKCTFQj.js";
15
15
  function ue(e, t) {
16
16
  return {
17
17
  productId: e.id,
@@ -26,8 +26,8 @@ function h(e) {
26
26
  return Number.isNaN(t) ? void 0 : t;
27
27
  }
28
28
  const n = ({ children: e }) => {
29
- var O, A, P, g;
30
- const { id: t, value: a, onChange: s, disabled: p, readOnly: d, required: y, hasError: b, onBlur: o, onFocus: E, FieldLayout: M, validation: _ } = D(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = x(), N = (P = (A = (O = _ == null ? void 0 : _.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : P[0], C = (g = a == null ? void 0 : a.at(0)) == null ? void 0 : g.price, [F, I] = te({
29
+ var O, A, g, P;
30
+ const { id: t, value: a, onChange: s, disabled: p, readOnly: d, required: y, hasError: b, onBlur: o, onFocus: E, FieldLayout: M, validation: _ } = D(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = x(), N = (g = (A = (O = _ == null ? void 0 : _.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : g[0], C = (P = a == null ? void 0 : a.at(0)) == null ? void 0 : P.price, [F, I] = te({
31
31
  sourceValue: C,
32
32
  format: (l) => R(String(l ?? ""), c),
33
33
  regionalFormat: c
@@ -1,12 +1,12 @@
1
1
  import { RicosViewer as ye } from "@wix/ricos/viewer";
2
2
  import b from "classnames";
3
- import t, { useMemo as B, useState as q, useRef as P, useEffect as w, useCallback as Z, createContext as te, useContext as V } from "react";
4
- import { a2 as Ee, as as v, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-VD2Og15y.js";
3
+ import t, { useMemo as B, useState as q, useRef as v, useEffect as w, useCallback as Z, createContext as te, useContext as V } from "react";
4
+ import { a2 as Ee, as as P, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-C6WwBcGP.js";
5
5
  import { UNSAFE_PortalProvider as ge } from "react-aria";
6
- import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as Q, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as Pe, Autocomplete as ve } from "react-aria-components";
6
+ import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as Q, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as ve, Autocomplete as Pe } from "react-aria-components";
7
7
  import { f as h, a as ce } from "./find-child-C60k4CxG.js";
8
- import { D as Fe, E as De } from "./field-error-headless-BAVGL8JO.js";
9
- import { L as Re } from "./field-label-headless-CwSCKtI1.js";
8
+ import { D as Fe, E as De } from "./field-error-headless-DQZ5XAdn.js";
9
+ import { L as Re } from "./field-label-headless-DoxfHHaj.js";
10
10
  import { N as xe, S as Be } from "./non-modal-popover-DtIMXHbe.js";
11
11
  import { u as Me } from "./use-invoke-callback-UH73A_J3.js";
12
12
  import se, { AsYouType as $e, isValidPhoneNumber as Ae, isSupportedCountry as Te } from "libphonenumber-js";
@@ -16,7 +16,7 @@ import { C as we } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as Ue } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H as J } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as _ } from "./field-rac.module-Cac83bU5.js";
19
- import { z as ke, P as qe, y as Ve, C as ze, q as Ge, j as He } from "./form-element-classes-BSMjWijd.js";
19
+ import { z as ke, R as qe, y as Ve, C as ze, q as Ge, j as He } from "./form-element-classes-DDKCTFQj.js";
20
20
  function X(e) {
21
21
  const n = e ? se(e) : void 0, r = n == null ? void 0 : n.country;
22
22
  if (r)
@@ -42,7 +42,7 @@ function ee(e, n) {
42
42
  return e;
43
43
  }
44
44
  function Ye() {
45
- const { t: e } = v(), { language: n } = ne();
45
+ const { t: e } = P(), { language: n } = ne();
46
46
  return B(() => Object.keys(W).reduce((o, a) => {
47
47
  const c = W[a], l = z(c), u = e(`locale-dataset.countries.${c.toUpperCase()}`);
48
48
  return l && Te(a) && o.push({
@@ -67,7 +67,7 @@ function k(e, n) {
67
67
  return e.toLowerCase().includes(n.toLowerCase());
68
68
  }
69
69
  function Ze({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange: o }) {
70
- const [a, c] = q(e || ""), l = P(U(e ?? null) ?? ""), [u, i] = q(n);
70
+ const [a, c] = q(e || ""), l = v(U(e ?? null) ?? ""), [u, i] = q(n);
71
71
  fe(() => {
72
72
  c(""), l.current = "", i(n), o("");
73
73
  });
@@ -177,7 +177,7 @@ const le = /* @__PURE__ */ te(null), N = () => {
177
177
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, T)
178
178
  }));
179
179
  }, Y = ({ children: e, className: n }) => {
180
- const { inputId: r, labelId: o } = oe(), { hasError: a, disabled: c, readOnly: l } = M(), { t: u } = v(), { selectedCountryCode: i, countries: m } = N(), C = `${r}-country`, p = i ? m.find((O) => O.shortCountryCode === i) : void 0, d = p && z(p.longCountryCode) || "", f = u("field.phone.country-code.aria-label"), y = p ? `${f}, ${p.countryName}, ${d}` : f;
180
+ const { inputId: r, labelId: o } = oe(), { hasError: a, disabled: c, readOnly: l } = M(), { t: u } = P(), { selectedCountryCode: i, countries: m } = N(), C = `${r}-country`, p = i ? m.find((O) => O.shortCountryCode === i) : void 0, d = p && z(p.longCountryCode) || "", f = u("field.phone.country-code.aria-label"), y = p ? `${f}, ${p.countryName}, ${d}` : f;
181
181
  return /* @__PURE__ */ t.createElement(Be, {
182
182
  isDisabled: c || l,
183
183
  id: C,
@@ -237,7 +237,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
237
237
  }
238
238
  }, e)))));
239
239
  }, ie = ({ children: e, listBoxProps: n }) => {
240
- const { countries: r } = N(), o = h(e, g.Option), a = h(e, g.Search), c = h(e, g.EmptyState), l = /* @__PURE__ */ t.createElement(Pe, {
240
+ const { countries: r } = N(), o = h(e, g.Option), a = h(e, g.Search), c = h(e, g.EmptyState), l = /* @__PURE__ */ t.createElement(ve, {
241
241
  ...n,
242
242
  renderEmptyState: c ? () => c : void 0
243
243
  }, r.map((u) => {
@@ -250,7 +250,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
250
250
  longCountryCode: u.longCountryCode
251
251
  });
252
252
  }));
253
- return a ? /* @__PURE__ */ t.createElement(ve, {
253
+ return a ? /* @__PURE__ */ t.createElement(Pe, {
254
254
  filter: (u, i, m) => {
255
255
  const C = r.find((p) => p.shortCountryCode === m.key);
256
256
  return !!C && Ke(C, i);
@@ -309,7 +309,7 @@ $.Name = de;
309
309
  $.Code = pe;
310
310
  g.Option = $;
311
311
  const tt = ({ className: e }) => {
312
- const { t: n } = v(), { inputId: r, ariaDescribedBy: o } = oe(), { id: a, placeholder: c, disabled: l, readOnly: u, required: i, label: m, hasError: C } = M(), { currentValue: p, handlePhoneChange: d } = N(), f = P(null);
312
+ const { t: n } = P(), { inputId: r, ariaDescribedBy: o } = oe(), { id: a, placeholder: c, disabled: l, readOnly: u, required: i, label: m, hasError: C } = M(), { currentValue: p, handlePhoneChange: d } = N(), f = v(null);
313
313
  return he(() => {
314
314
  var y;
315
315
  (y = f.current) == null || y.focus({
@@ -331,7 +331,7 @@ const tt = ({ className: e }) => {
331
331
  className: e
332
332
  });
333
333
  }, nt = ({ children: e, className: n }) => {
334
- const r = P(null), o = P(null), a = P(!1), { disabled: c, readOnly: l, required: u, hasError: i, showFlag: m, onFocus: C, onBlur: p } = M(), d = Me(p), { t: f } = v(), { selectedCountryCode: y, handleCountryCodeChange: O, countries: S } = N(), A = h(e, s.CountryButton), F = h(e, s.CountryOptions.Modal), T = F ?? h(e, s.CountryOptions.Popover), D = h(e, s.PhoneNumber), R = {
334
+ const r = v(null), o = v(null), a = v(!1), { disabled: c, readOnly: l, required: u, hasError: i, showFlag: m, onFocus: C, onBlur: p } = M(), d = Me(p), { t: f } = P(), { selectedCountryCode: y, handleCountryCodeChange: O, countries: S } = N(), A = h(e, s.CountryButton), F = h(e, s.CountryOptions.Modal), T = F ?? h(e, s.CountryOptions.Popover), D = h(e, s.PhoneNumber), R = {
335
335
  onFocus: () => {
336
336
  a.current || (a.current = !0, C == null || C());
337
337
  },
@@ -421,7 +421,7 @@ const ot = (e) => /* @__PURE__ */ t.createElement("svg", {
421
421
  className: E.chevron,
422
422
  "aria-hidden": "true"
423
423
  }, /* @__PURE__ */ t.createElement(we, null)), qt = () => {
424
- const { t: e } = v(), { isMobile: n, PortalContainer: r } = ne(), o = /* @__PURE__ */ t.createElement(s.CountryOptions.Search, {
424
+ const { t: e } = P(), { isMobile: n, PortalContainer: r } = ne(), o = /* @__PURE__ */ t.createElement(s.CountryOptions.Search, {
425
425
  className: E.countrySearchContainer,
426
426
  "aria-label": e("field.phone.country-search-input.aria-label")
427
427
  }, /* @__PURE__ */ t.createElement(rt, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-C30S0p_Y.js";
2
+ import { P as o } from "./phone-input-field-rac-uHxR3ozd.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -2,16 +2,16 @@ import t, { useMemo as H, useCallback as x, useRef as B } from "react";
2
2
  import { RicosViewer as $ } from "@wix/ricos/viewer";
3
3
  import _ from "classnames";
4
4
  import { CheckboxField as K, CheckboxButton as j, NumberField as J, Group as W, Button as U, Input as X } from "react-aria-components";
5
- import { ai as M, af as Y, ab as w, as as Z, ak as ee } from "./form-VD2Og15y.js";
5
+ import { ai as M, af as Y, ab as w, as as Z, ak as ee } from "./form-C6WwBcGP.js";
6
6
  import { f as b, a as L } from "./find-child-C60k4CxG.js";
7
- import { L as te, g as ne } from "./field-label-headless-CwSCKtI1.js";
7
+ import { L as te, g as ne } from "./field-label-headless-DoxfHHaj.js";
8
8
  import { f as ae } from "./format-currency-BwShJ9vM.js";
9
- import { D as oe, E as re } from "./field-error-headless-BAVGL8JO.js";
9
+ import { D as oe, E as re } from "./field-error-headless-DQZ5XAdn.js";
10
10
  import { F as ie } from "./fieldset-headless-CD3fds9J.js";
11
11
  import { g as le } from "./payment-field-utils-DobiK5Xh.js";
12
12
  import { E as se } from "./error-icon-hZxQ6DEy.js";
13
13
  import { s as S } from "./field-rac.module-Cac83bU5.js";
14
- import { z as ce, P as ue, D as me, H as pe, G as de, E as Ee, y as ye, q as fe, j as _e } from "./form-element-classes-BSMjWijd.js";
14
+ import { z as ce, R as ue, D as me, H as pe, G as de, E as Ee, y as ye, q as fe, j as _e } from "./form-element-classes-DDKCTFQj.js";
15
15
  import { o as Q } from "./options-rac.module-KM-VT_KY.js";
16
16
  var be = /* @__PURE__ */ (function(e) {
17
17
  return e.crop = "CROP", e.fit = "FIT", e;
@@ -1,6 +1,6 @@
1
1
  import _ from "react";
2
- import { R } from "./radio-group-field-rac-D7MwZqH6.js";
3
- import { K as o, J as r, I as O } from "./form-element-classes-BSMjWijd.js";
2
+ import { R } from "./radio-group-field-rac-BWpTNAbO.js";
3
+ import { K as o, J as r, I as O } from "./form-element-classes-DDKCTFQj.js";
4
4
  const t = () => /* @__PURE__ */ _.createElement(R, {
5
5
  classes: {
6
6
  container: O,
@@ -1,10 +1,10 @@
1
1
  import { RicosViewer as s } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { R as t, s as r } from "./radio-group-field-rac.module-DxEUzWwB.js";
4
+ import { R as t, s as r } from "./radio-group-field-rac.module-WxU5zxvM.js";
5
5
  import { E as m } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as l } from "./field-rac.module-Cac83bU5.js";
7
- import { z as c, P as i, N as E, M as _, L as R, y as p, q as O, j as L } from "./form-element-classes-BSMjWijd.js";
7
+ import { z as c, R as i, N as E, M as _, L as R, y as p, q as O, j as L } from "./form-element-classes-DDKCTFQj.js";
8
8
  const I = ({ content: o, locale: n }) => /* @__PURE__ */ e.createElement(s, {
9
9
  content: o,
10
10
  locale: n
@@ -1,9 +1,9 @@
1
1
  import s, { useRef as y, useState as V, useEffect as S, useCallback as B } from "react";
2
2
  import { RadioGroup as T, RadioField as k, RadioButton as G, TextField as M, Input as P } from "react-aria-components";
3
- import { ai as C, af as $, as as F, ab as q, ak as x } from "./form-VD2Og15y.js";
3
+ import { ai as C, af as $, as as F, ab as q, ak as x } from "./form-C6WwBcGP.js";
4
4
  import { f as d, a as g } from "./find-child-C60k4CxG.js";
5
- import { D as U, E as A } from "./field-error-headless-BAVGL8JO.js";
6
- import { L as H } from "./field-label-headless-CwSCKtI1.js";
5
+ import { D as U, E as A } from "./field-error-headless-DQZ5XAdn.js";
6
+ import { L as H } from "./field-label-headless-DoxfHHaj.js";
7
7
  import { N as j } from "./options-layout-constants-DEfIEJWD.js";
8
8
  const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ?? o.label) === t), R = (e, t) => !!t && !w(e, t), z = (e, t) => {
9
9
  const a = t ? t.length + 2 : 0;
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-D7MwZqH6.js";
2
+ import { R as r } from "./radio-group-field-rac-BWpTNAbO.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -0,0 +1,127 @@
1
+ import { RicosViewer as O } from "@wix/ricos/viewer";
2
+ import c from "classnames";
3
+ import e, { useCallback as h, useState as y, useRef as A } from "react";
4
+ import { ai as b, af as F, as as T, ac as M } from "./form-C6WwBcGP.js";
5
+ import { RadioGroup as P, RadioField as w, RadioButton as B } from "react-aria-components";
6
+ import { f as E, a as q } from "./find-child-C60k4CxG.js";
7
+ import { D as x, E as G } from "./field-error-headless-DQZ5XAdn.js";
8
+ import { L as H } from "./field-label-headless-DoxfHHaj.js";
9
+ import { E as k } from "./error-icon-hZxQ6DEy.js";
10
+ import { s as p } from "./field-rac.module-Cac83bU5.js";
11
+ import { z, R as Q, O as j, P as K, Q as U, q as Y, j as Z } from "./form-element-classes-DDKCTFQj.js";
12
+ import { R as J } from "./form-element-keys-D0sEdpFo.js";
13
+ const t = ({ children: a }) => {
14
+ const { id: r, value: n, onChange: i, disabled: o, readOnly: d, required: l, hasError: m, onBlur: u, onFocus: R, FieldLayout: C } = b(), { labelId: L } = F(), _ = h((D) => i(Number(D)), [
15
+ i
16
+ ]), f = E(a, t.Label), s = E(a, t.Ratings), g = E(a, t.Description), v = E(a, t.Error);
17
+ return /* @__PURE__ */ e.createElement(C, {
18
+ fieldId: r,
19
+ renderLabel: () => f,
20
+ renderInput: () => /* @__PURE__ */ e.createElement(P, {
21
+ "aria-labelledby": L,
22
+ value: n ? String(n) : void 0,
23
+ onChange: _,
24
+ isDisabled: o,
25
+ isReadOnly: d,
26
+ isRequired: l,
27
+ isInvalid: m,
28
+ onBlur: u,
29
+ onFocus: R,
30
+ orientation: "horizontal"
31
+ }, s),
32
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, v, g)
33
+ });
34
+ }, I = ({ children: a, className: r, getReactionLabel: n }) => {
35
+ const { value: i, readOnly: o, hasError: d } = b(), { inputId: l, ariaDescribedBy: m } = F(), [u, R] = y(), C = A(null), L = E(a, I.Rating), _ = [
36
+ "1",
37
+ "2",
38
+ "3",
39
+ "4",
40
+ "5"
41
+ ], f = (s) => u && !o ? u >= s : !!i && i >= Number(s);
42
+ return /* @__PURE__ */ e.createElement("div", {
43
+ ref: C,
44
+ id: l,
45
+ "aria-describedby": m,
46
+ className: r,
47
+ "data-invalid": d,
48
+ "data-readonly": o
49
+ }, _.map((s) => q(L, {
50
+ key: s,
51
+ value: s,
52
+ isSelected: f(s),
53
+ onHoverChange: (g) => R(g ? s : void 0),
54
+ label: n == null ? void 0 : n(Number(s))
55
+ })));
56
+ }, W = {
57
+ border: 0,
58
+ clipPath: "inset(50%)",
59
+ height: 1,
60
+ margin: -1,
61
+ overflow: "hidden",
62
+ padding: 0,
63
+ position: "absolute",
64
+ width: 1,
65
+ whiteSpace: "nowrap"
66
+ }, N = ({ className: a, children: r, ...n }) => {
67
+ const { value: i, isSelected: o, onHoverChange: d, label: l } = n, m = typeof a == "function" ? a({
68
+ isSelected: o
69
+ }) : a;
70
+ return /* @__PURE__ */ e.createElement(w, {
71
+ value: i
72
+ }, /* @__PURE__ */ e.createElement(B, {
73
+ className: m,
74
+ "data-active": o || void 0,
75
+ onHoverChange: d
76
+ }, typeof r == "function" ? r({
77
+ isSelected: o
78
+ }) : r, l ? /* @__PURE__ */ e.createElement("span", {
79
+ style: W
80
+ }, l) : null));
81
+ };
82
+ I.Rating = N;
83
+ t.Label = H;
84
+ t.Ratings = I;
85
+ t.Rating = N;
86
+ t.Description = x;
87
+ t.Error = G;
88
+ const X = (a) => /* @__PURE__ */ e.createElement("svg", {
89
+ viewBox: "0 0 32 32",
90
+ width: 32,
91
+ height: 32,
92
+ fill: "currentColor",
93
+ "aria-hidden": "true",
94
+ ...a
95
+ }, /* @__PURE__ */ e.createElement("path", {
96
+ fillRule: "evenodd",
97
+ d: "M28.6265,13.6325 C28.9655,13.3015 29.0845,12.8175 28.9385,12.3665 C28.7925,11.9165 28.4105,11.5945 27.9415,11.5265 L20.5785,10.4565 C20.5015,10.4445 20.4345,10.3965 20.4005,10.3275 L17.1075,3.6545 L17.1075,3.6535 C16.8975,3.2295 16.4735,2.9655 16.0005,2.9655 L15.9995,2.9655 C15.5255,2.9655 15.1025,3.2295 14.8925,3.6545 L11.5985,10.3275 C11.5645,10.3965 11.4985,10.4445 11.4225,10.4565 L4.0575,11.5265 C3.5895,11.5945 3.2075,11.9165 3.0615,12.3665 C2.9155,12.8175 3.0345,13.3015 3.3735,13.6325 L8.7025,18.8265 C8.7575,18.8805 8.7835,18.9585 8.7705,19.0345 L7.5125,26.3695 C7.4325,26.8355 7.6205,27.2985 8.0035,27.5765 C8.2195,27.7345 8.4735,27.8145 8.7285,27.8145 C8.9245,27.8145 9.1215,27.7665 9.3045,27.6705 L15.8895,24.2085 C15.9595,24.1725 16.0415,24.1725 16.1085,24.2075 L22.6955,27.6705 C23.1155,27.8915 23.6135,27.8555 23.9965,27.5765 C24.3795,27.2985 24.5675,26.8355 24.4875,26.3695 L23.2305,19.0355 C23.2165,18.9585 23.2425,18.8805 23.2975,18.8265 L28.6265,13.6325 Z"
98
+ })), $ = "_ratings_1n24x_1", V = "_rating_1n24x_1", S = {
99
+ ratings: $,
100
+ rating: V
101
+ }, ee = ({ content: a, locale: r }) => /* @__PURE__ */ e.createElement(O, {
102
+ content: a,
103
+ locale: r
104
+ }), ue = () => {
105
+ const { t: a } = T(), r = M(J);
106
+ return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
107
+ className: c(z, p.label)
108
+ }, /* @__PURE__ */ e.createElement(t.Label.Required, {
109
+ className: c(Q, p.requiredMark)
110
+ })), /* @__PURE__ */ e.createElement(t.Ratings, {
111
+ className: c(j, S.ratings),
112
+ getReactionLabel: (n) => a("rating-input.a11y.reaction-label", {
113
+ count: n
114
+ })
115
+ }, /* @__PURE__ */ e.createElement(t.Rating, {
116
+ className: ({ isSelected: n }) => c(K, r, S.rating, {
117
+ [U]: n
118
+ })
119
+ }, /* @__PURE__ */ e.createElement(X, null))), /* @__PURE__ */ e.createElement(t.Error, {
120
+ className: c(Y, p.error)
121
+ }, /* @__PURE__ */ e.createElement(k, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
122
+ className: c(Z, p.description)
123
+ }, ee));
124
+ };
125
+ export {
126
+ ue as R
127
+ };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-CUTqEPPd.js";
2
+ import { R as e } from "./rating-input-field-rac-CJnFsBvH.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as RatingInputRAC
@@ -1,5 +1,5 @@
1
1
  import c, { useState as u } from "react";
2
- import { ai as a, ab as i, as as T } from "./form-VD2Og15y.js";
2
+ import { ai as a, ab as i, as as T } from "./form-C6WwBcGP.js";
3
3
  import { Button as d } from "react-aria-components";
4
4
  import { D as r } from "./data-hooks-Dkw1pbRj.js";
5
5
  import { truncateRichContent as _ } from "@wix/ricos/content";
@@ -1,8 +1,8 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { ai as m, L as i, W as u, Z as R } from "./form-VD2Og15y.js";
4
- import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-DrHi1MSI.js";
5
- import { a4 as g } from "./form-element-classes-BSMjWijd.js";
3
+ import { ai as m, L as i, W as u, Z as R } from "./form-C6WwBcGP.js";
4
+ import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-DkKwzJS7.js";
5
+ import { a6 as g } from "./form-element-classes-DDKCTFQj.js";
6
6
  const h = {
7
7
  colorPalette: R(),
8
8
  customStyles: u()
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-CMnH_2lB.js";
2
+ import { R as t } from "./rich-text-field-rac-8FWCRrpb.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,16 +1,16 @@
1
- import t, { useRef as N, useMemo as g, useCallback as h, useEffect as T } from "react";
1
+ import t, { useRef as P, useMemo as g, useCallback as h, useEffect as T } from "react";
2
2
  import { RicosViewer as A } from "@wix/ricos/viewer";
3
3
  import m from "classnames";
4
- import { ae as w, as as b, F as M, ai as y, ab as U, h as V } from "./form-VD2Og15y.js";
5
- import { u as q } from "./use-service-options-base-BagPjcuW.js";
6
- import { D as d } from "./dropdown-field-headless-CiK1C6eu.js";
4
+ import { ae as w, as as b, F as M, ai as y, ab as U, h as V } from "./form-C6WwBcGP.js";
5
+ import { u as q } from "./use-service-options-base-D4Zl-iGW.js";
6
+ import { D as d } from "./dropdown-field-headless-CTZ-zGqZ.js";
7
7
  import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
8
8
  import { E as H } from "./error-icon-hZxQ6DEy.js";
9
9
  import { H as k } from "./custom-focus-class-_483Pkwp.js";
10
10
  import { s as n } from "./field-rac.module-Cac83bU5.js";
11
- import { z as B, P as W, y as j, C as z, q as Q, j as Y } from "./form-element-classes-BSMjWijd.js";
11
+ import { z as B, R as W, y as j, C as z, q as Q, j as Y } from "./form-element-classes-DDKCTFQj.js";
12
12
  const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
13
- const { actions: r } = w(), { t: C } = b(), { addOther: i, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = N(!0), E = g(() => {
13
+ const { actions: r } = w(), { t: C } = b(), { addOther: i, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = P(!0), E = g(() => {
14
14
  var s;
15
15
  return ((s = e.options) == null ? void 0 : s.map((u) => u.id ?? "")) ?? [];
16
16
  }, [
@@ -25,11 +25,11 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
25
25
  ] : s, [
26
26
  i,
27
27
  c
28
- ]), { isLoading: f, options: l, isEmpty: D, shouldRender: I, setIsLoading: F, setOptions: L, setIsEmpty: S, processOptions: _ } = q({
28
+ ]), { isLoading: f, options: l, isEmpty: D, shouldRender: I, setIsLoading: F, setOptions: L, setIsEmpty: S, processOptions: R } = q({
29
29
  fieldType: M.SERVICES_DROPDOWN,
30
30
  isEditor: e.isEditor,
31
31
  postProcessOptions: O
32
- }), R = h(async () => {
32
+ }), _ = h(async () => {
33
33
  if (a.current && (r != null && r.fetchServices) && E.length > 0) {
34
34
  a.current = !1, F(!0);
35
35
  let s;
@@ -41,7 +41,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
41
41
  console.error(u);
42
42
  }
43
43
  if (s) {
44
- const u = _(s);
44
+ const u = R(s);
45
45
  S(!i && u.length === 0), L(u);
46
46
  } else
47
47
  a.current = !0;
@@ -50,7 +50,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
50
50
  }, [
51
51
  r,
52
52
  E,
53
- _,
53
+ R,
54
54
  i,
55
55
  F,
56
56
  L,
@@ -68,11 +68,11 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
68
68
  e.isEditor
69
69
  ]);
70
70
  const v = h(() => {
71
- e.onFocus && e.onFocus(), a.current && R();
71
+ e.onFocus && e.onFocus(), a.current && _();
72
72
  }, [
73
- R,
73
+ _,
74
74
  e.onFocus
75
- ]), P = h(
75
+ ]), N = h(
76
76
  (s) => {
77
77
  e.onChange && e.onChange(s), a.current = !0;
78
78
  },
@@ -86,7 +86,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
86
86
  options: l,
87
87
  isEmpty: D,
88
88
  onFocus: v,
89
- onChange: P,
89
+ onChange: N,
90
90
  shouldRender: I
91
91
  };
92
92
  }, o = ({ children: e }) => {
@@ -1,14 +1,14 @@
1
1
  import e, { useEffect as C, useMemo as I } from "react";
2
2
  import { RicosViewer as L } from "@wix/ricos/viewer";
3
3
  import s from "classnames";
4
- import { F as R, ai as F, h as d } from "./form-VD2Og15y.js";
5
- import { u as D } from "./use-service-options-base-BagPjcuW.js";
6
- import { C as n } from "./checkbox-group-field-headless-DnI-niUS.js";
4
+ import { F as R, ai as F, h as d } from "./form-C6WwBcGP.js";
5
+ import { u as D } from "./use-service-options-base-D4Zl-iGW.js";
6
+ import { C as n } from "./checkbox-group-field-headless-D_GG5LHM.js";
7
7
  import { E as h } from "./error-icon-hZxQ6DEy.js";
8
8
  import { s as i } from "./field-rac.module-Cac83bU5.js";
9
- import { z as f, P as b, T as M, U as N, V as A, y as v, q as x, j as T } from "./form-element-classes-BSMjWijd.js";
9
+ import { z as f, R as b, V as M, W as N, X as A, y as v, q as x, j as T } from "./form-element-classes-DDKCTFQj.js";
10
10
  import { o as _ } from "./options-rac.module-KM-VT_KY.js";
11
- const P = (o) => {
11
+ const k = (o) => {
12
12
  var S;
13
13
  const { isLoading: r, options: a, isEmpty: c, shouldRender: E, setOptions: l, setIsEmpty: m, setHasInitialDataLoaded: p } = D({
14
14
  fieldType: R.SERVICES_MULTI_CHOICE,
@@ -32,7 +32,7 @@ const P = (o) => {
32
32
  shouldRender: E
33
33
  };
34
34
  }, t = ({ children: o }) => {
35
- const r = F(), { options: a, isEmpty: c, shouldRender: E } = P(r), l = I(() => ({
35
+ const r = F(), { options: a, isEmpty: c, shouldRender: E } = k(r), l = I(() => ({
36
36
  ...r,
37
37
  options: a
38
38
  }), [
@@ -49,10 +49,10 @@ t.Label = n.Label;
49
49
  t.Options = n.Options;
50
50
  t.Description = n.Description;
51
51
  t.Error = n.Error;
52
- const k = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(L, {
52
+ const y = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(L, {
53
53
  content: o,
54
54
  locale: r
55
- }), y = () => /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
55
+ }), P = () => /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
56
56
  className: s(f, i.label)
57
57
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
58
58
  className: s(b, i.requiredMark)
@@ -70,7 +70,7 @@ const k = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(L, {
70
70
  className: s(x, i.error)
71
71
  }, /* @__PURE__ */ e.createElement(h, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
72
72
  className: s(T, i.description)
73
- }, k)), Q = () => /* @__PURE__ */ e.createElement(y, null);
73
+ }, y)), Q = () => /* @__PURE__ */ e.createElement(P, null);
74
74
  export {
75
75
  Q as ServicesMultiChoiceRAC
76
76
  };