@wix/form-elements 1.82.0 → 1.83.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 (118) hide show
  1. package/dist/component/{appointment-rac-DmwbqZse.js → appointment-rac-ky2cE6hE.js} +6 -6
  2. package/dist/component/{bookings-address-rac-RCzVU87c.js → bookings-address-rac-Bxc6H9Pb.js} +1 -1
  3. package/dist/component/{bookings-email-rac-Df_Wte1_.js → bookings-email-rac-Dw1Xttdx.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BmdRGYxF.js → bookings-first-name-rac-dgHOrJaJ.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DewQWtkZ.js → bookings-header-rac-Bl9RYGWo.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DmmNBuqy.js → bookings-last-name-rac-BeqYpbZq.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-QskvFo0C.js → bookings-login-bar-rac-C1k6o0A5.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-7wn8IXna.js → bookings-phone-rac-ByhaJrwE.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-B5nk0BlD.js → bookings-rich-text-rac-Mw5-ZiIn.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BnVNfYWL.js → checkbox-field-rac-CMEI5t4Y.js} +7 -7
  11. package/dist/component/{checkbox-group-field-headless-Bx5Y-RMP.js → checkbox-group-field-headless-CP21R7_s.js} +3 -3
  12. package/dist/component/checkbox-group-field-rac-DGOZjSIY.js +42 -0
  13. package/dist/component/{checkbox-group-rac-B20t8dTB.js → checkbox-group-rac-CEGtshrl.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-DqzGZQRQ.js → checkbox-indicator-module-classes-Bb3xB1ve.js} +1 -1
  15. package/dist/component/{checkbox-rac-ifC6qSE8.js → checkbox-rac-DCnRh1WF.js} +1 -1
  16. package/dist/component/{contacts-address-rac-XJRKvPlp.js → contacts-address-rac-CZb_5N5o.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-CKYESrPO.js → contacts-birthdate-rac-DZlwSyp5.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BXwEeb0p.js → contacts-company-rac-BNEF6LjB.js} +1 -1
  19. package/dist/component/{contacts-email-rac-D8Yspo_m.js → contacts-email-rac-CAgk_zfN.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-mvCGP1LJ.js → contacts-first-name-rac-DyTVcmrX.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-Clg9RXal.js → contacts-last-name-rac-DrFcDcGr.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-qEwjhByI.js → contacts-phone-rac-UAPALlFx.js} +1 -1
  23. package/dist/component/{contacts-position-rac-Bh8fvf2M.js → contacts-position-rac-CJ1M4kJJ.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-DEQ2XkZo.js → contacts-subscribe-rac-1cEd5s1l.js} +2 -2
  25. package/dist/component/{contacts-tax-id-rac-0DUZ4tJz.js → contacts-tax-id-rac-CqnO__fd.js} +1 -1
  26. package/dist/component/{date-availability-2ek2RtXx.js → date-availability-COM2EaRy.js} +1 -1
  27. package/dist/component/{date-input-field-rac-Bp4SQB-t.js → date-input-field-rac-CuuWbw42.js} +80 -79
  28. package/dist/component/{date-input-rac-CYsJcMe5.js → date-input-rac-DfVmj9Gc.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BGQvnSYI.js → date-picker-field-rac-BFCZik9T.js} +6 -6
  30. package/dist/component/{date-picker-rac-BVncggYR.js → date-picker-rac-C2vajJpb.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-B1mggelc.js → date-time-input-field-rac-B7ne2emo.js} +127 -126
  32. package/dist/component/{date-time-input-rac-DzdCno0L.js → date-time-input-rac-D4FEieQz.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-CNCpeolD.js → dext-checkbox-group-rac-BDBBTNNo.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-BYDQ58Mo.js → dext-checkbox-rac-DAAhNboR.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-aYYk8Nrl.js → dext-date-picker-rac-me7XbR5z.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-v2v974p5.js → dext-date-time-input-rac-DLsUl2Eg.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-C846KZCe.js → dext-dropdown-rac-C3vVIRir.js} +1 -1
  38. package/dist/component/{dext-email-rac-izjbfME9.js → dext-email-rac-a8qXYTLP.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-CnOFsD7l.js → dext-number-input-rac-DdDnL_fX.js} +1 -1
  40. package/dist/component/{dext-phone-rac-D8GMXD88.js → dext-phone-rac-ByaxbHpO.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-BtiyGCRh.js → dext-radio-group-rac-Bzubt7Uy.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-BHJ1kitb.js → dext-rating-input-rac-BZ1EvOkG.js} +1 -1
  43. package/dist/component/{dext-tags-rac-CvNjwS5R.js → dext-tags-rac-C_R89noV.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-X5L0Q3sC.js → dext-text-area-rac-DRpYeQ-K.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-swkyAJqC.js → dext-text-input-rac-D_RtbQQ-.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BYlXOAkz.js → dext-url-input-rac-BSSjSbIo.js} +1 -1
  47. package/dist/component/{donation-rac-CDWLBZZM.js → donation-rac-De0KyyGR.js} +92 -91
  48. package/dist/component/{dropdown-field-headless-JJzbZvps.js → dropdown-field-headless-DNhnTDlD.js} +3 -3
  49. package/dist/component/{dropdown-field-rac-BodpIQ9Q.js → dropdown-field-rac-Bq_FNv9a.js} +3 -3
  50. package/dist/component/{dropdown-rac-Bfbxxx9k.js → dropdown-rac-0UIyqF15.js} +1 -1
  51. package/dist/component/{ecom-address-rac-BCnsL5tr.js → ecom-address-rac-7IVbvs3J.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-CNSdI_ty.js → ecom-subscription-checkbox-rac-DilgIpiG.js} +3 -3
  53. package/dist/component/{email-input-field-rac-Btaa4O5T.js → email-input-field-rac-CHJ6RSGy.js} +83 -79
  54. package/dist/component/{events-repeater-rac-xBwqJddt.js → events-repeater-rac-v18FFLC7.js} +6 -6
  55. package/dist/component/{events-rsvp-rac-D90PwkHd.js → events-rsvp-rac-BpGLrxsf.js} +4 -4
  56. package/dist/component/{field-error-headless-BErhh9GG.js → field-error-headless-DAy-1oAQ.js} +1 -1
  57. package/dist/component/{field-label-headless-BGyK-5xW.js → field-label-headless-BWxHmO0c.js} +1 -1
  58. package/dist/component/field-rac.module-D06m9T9x.js +24 -0
  59. package/dist/component/{file-upload-rac-MxH3CVml.js → file-upload-rac-BfWN27JT.js} +5 -5
  60. package/dist/component/{fixed-payment-rac-DpBA9irF.js → fixed-payment-rac-Bha61SB4.js} +5 -5
  61. package/dist/component/{form-f0tqdMye.js → form-D0eeH0lX.js} +69 -69
  62. package/dist/component/{form-element-classes-jC8D0LnK.js → form-element-classes-Ct1UaxuQ.js} +38 -32
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-BXxFqu9u.js → header-field-rac-uNzfDMbv.js} +3 -3
  66. package/dist/component/{header-rac-BN70esac.js → header-rac-B91q4fHl.js} +1 -1
  67. package/dist/component/{image-choice-rac-DLBGIBXL.js → image-choice-rac-BKcnNGPp.js} +6 -6
  68. package/dist/component/{index-BvB-uE1H.js → index-BWHymomM.js} +2 -2
  69. package/dist/component/{index-DXLEHYlA.js → index-BvzLLTKc.js} +4 -4
  70. package/dist/component/{isObjectLike-BYOX5XY4.js → isObjectLike-D7Mkqoju.js} +1 -1
  71. package/dist/component/multiline-address-field-rac-Avd9Vlv1.js +1617 -0
  72. package/dist/component/{multiline-address-rac-D82Gbj3n.js → multiline-address-rac-BwQOoejw.js} +1 -1
  73. package/dist/component/number-input-field-rac-CRqPXDl0.js +93 -0
  74. package/dist/component/{number-input-rac-Bnsvb-SO.js → number-input-rac-0Y8K4e6K.js} +1 -1
  75. package/dist/component/password-rac-C7F6sEB3.js +143 -0
  76. package/dist/component/payment-input-rac-CTJr4QTK.js +141 -0
  77. package/dist/component/{phone-input-field-rac-Ce_wuE46.js → phone-input-field-rac-jjSmYCI1.js} +5 -5
  78. package/dist/component/{phone-rac-DslINtcH.js → phone-rac-BwSnmgYF.js} +1 -1
  79. package/dist/component/{product-list-rac-C4P_SOyG.js → product-list-rac-CTN2wvHE.js} +7 -7
  80. package/dist/component/{quiz-radio-group-rac-noy4fmD8.js → quiz-radio-group-rac-CZHEDJxr.js} +2 -2
  81. package/dist/component/{radio-button-module-classes-DXQ1UlmI.js → radio-button-module-classes-DCz6XS1X.js} +3 -3
  82. package/dist/component/radio-group-field-rac-60MF_9DO.js +48 -0
  83. package/dist/component/{radio-group-rac-CGHQFyJY.js → radio-group-rac-Dqo-Earp.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-elaferlI.js → rating-input-field-rac-CzWTwWT8.js} +6 -6
  85. package/dist/component/{rating-input-rac-fnOtTKN8.js → rating-input-rac-Nq4tll2Z.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-DbwuwQeo.js → rich-content-rac.module-sUUSbcSy.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-DtcQC8zU.js → rich-text-field-rac-BvLfS4I5.js} +3 -3
  88. package/dist/component/{rich-text-rac-CuT97sby.js → rich-text-rac-BWkTbWk3.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-rk2tzikX.js → service-dropdown-rac-DZ3USe7_.js} +5 -5
  90. package/dist/component/{services-multi-choice-rac-BMQyF_xs.js → services-multi-choice-rac-D-og7fMo.js} +7 -7
  91. package/dist/component/{signature-rac-DeV9C6ta.js → signature-rac-D3c4fnvN.js} +5 -5
  92. package/dist/component/{submit-button-rac-BpN-FYtM.js → submit-button-rac-Dn_BGt1n.js} +2 -2
  93. package/dist/component/tags-field-rac-DXmZBcpO.js +218 -0
  94. package/dist/component/{tags-rac-Dabz4jHd.js → tags-rac-CoXWx42D.js} +1 -1
  95. package/dist/component/text-area-field-rac-Cy0Mr29Z.js +73 -0
  96. package/dist/component/{text-area-rac-CDLF-_56.js → text-area-rac-C3Mjmgpa.js} +1 -1
  97. package/dist/component/text-input-field-rac-D1TB9B_M.js +28 -0
  98. package/dist/component/{text-input-headless-BwVLU9cp.js → text-input-headless-BUa59Rgn.js} +3 -3
  99. package/dist/component/{text-input-rac-CoGTzfo1.js → text-input-rac-BQ3Z9ws4.js} +1 -1
  100. package/dist/component/{time-input-rac-DQDupKTA.js → time-input-rac-Wi0oD5YF.js} +5 -5
  101. package/dist/component/url-input-field-rac-DINXfZdf.js +75 -0
  102. package/dist/component/{url-input-rac-_d6XRdKX.js → url-input-rac-Ch9eTIF_.js} +1 -1
  103. package/dist/component/use-element-state-class-name-j8W1zbdG.js +20 -0
  104. package/dist/component/{use-service-options-base-CRgxxz7b.js → use-service-options-base-BJZhzDyO.js} +1 -1
  105. package/dist/component/use-text-input-class-name-8gMUWeCb.js +24 -0
  106. package/package.json +2 -2
  107. package/dist/component/checkbox-group-field-rac-CZW28rj5.js +0 -41
  108. package/dist/component/field-rac.module-ColNPUt0.js +0 -23
  109. package/dist/component/multiline-address-field-rac-fcQYnPlO.js +0 -1613
  110. package/dist/component/number-input-field-rac-B0-4Rz3w.js +0 -89
  111. package/dist/component/password-rac-BdBjFa8y.js +0 -142
  112. package/dist/component/payment-input-rac-DkAGOvaF.js +0 -137
  113. package/dist/component/radio-group-field-rac-CYBDq7R1.js +0 -47
  114. package/dist/component/tags-field-rac-ByC9DnyH.js +0 -217
  115. package/dist/component/text-area-field-rac-CtSa8XW_.js +0 -69
  116. package/dist/component/text-input-field-rac-C6fQYKhI.js +0 -24
  117. package/dist/component/url-input-field-rac-4T8gcMHH.js +0 -71
  118. package/dist/component/use-element-state-class-name-BqmaTba3.js +0 -15
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as t } from "./multiline-address-field-rac-fcQYnPlO.js";
2
+ import { M as t } from "./multiline-address-field-rac-Avd9Vlv1.js";
3
3
  const i = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  i as MultilineAddressRAC
@@ -0,0 +1,93 @@
1
+ import { RicosViewer as P } from "@wix/ricos/viewer";
2
+ import u from "classnames";
3
+ import r, { useState as Q, useCallback as U, useEffect as $, useRef as j } from "react";
4
+ import { NumberField as z, Input as G } from "react-aria-components";
5
+ import { ai as _, af as S, as as H, ak as J } from "./form-D0eeH0lX.js";
6
+ import { f as c } from "./find-child-C60k4CxG.js";
7
+ import { D as K, E as W } from "./field-error-headless-DAy-1oAQ.js";
8
+ import { L as X } from "./field-label-headless-BWxHmO0c.js";
9
+ import { g as Y, c as Z } from "./numeric-input-utils-CuBMi4-a.js";
10
+ import { u as w } from "./use-invoke-callback-UH73A_J3.js";
11
+ import { E as ee } from "./error-icon-hZxQ6DEy.js";
12
+ import { s as p } from "./field-rac.module-D06m9T9x.js";
13
+ import { y as re, O as te, o as ae, i as ne } from "./form-element-classes-Ct1UaxuQ.js";
14
+ import { u as se } from "./use-text-input-class-name-8gMUWeCb.js";
15
+ const e = ({ children: t }) => {
16
+ var F, L, R;
17
+ const { id: n, value: s, onChange: l, disabled: d, required: E, readOnly: o, onBlur: f, onFocus: b, FieldLayout: m, hasError: i, validation: a } = _(), { labelId: y } = S(), D = ((F = a == null ? void 0 : a.number) == null ? void 0 : F.multipleOf) || 1, A = (L = a == null ? void 0 : a.number) == null ? void 0 : L.maximum, g = (R = a == null ? void 0 : a.number) == null ? void 0 : R.minimum, x = C(s), [T, I] = Q(x), V = w(f), h = c(t, e.Label), k = c(t, e.Input), q = c(t, e.Description), M = c(t, e.Error), B = U((N) => {
18
+ if (N === void 0 || Number.isNaN(N)) {
19
+ l(""), I(NaN);
20
+ return;
21
+ }
22
+ const v = Y(D), O = Number(N.toFixed(v));
23
+ l(O), I(O);
24
+ }, [
25
+ D,
26
+ l
27
+ ]);
28
+ return $(() => {
29
+ I(C(s));
30
+ }, [
31
+ s
32
+ ]), /* @__PURE__ */ r.createElement(m, {
33
+ fieldId: n,
34
+ renderLabel: () => h,
35
+ renderInput: () => /* @__PURE__ */ r.createElement(z, {
36
+ "aria-labelledby": y,
37
+ value: T,
38
+ onChange: B,
39
+ isDisabled: d,
40
+ isRequired: E,
41
+ isReadOnly: o,
42
+ isInvalid: i,
43
+ onBlur: V,
44
+ onFocus: b,
45
+ minValue: g ?? void 0,
46
+ maxValue: A ?? void 0
47
+ }, k),
48
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, M, q)
49
+ });
50
+ }, le = ({ className: t }) => {
51
+ var i;
52
+ const { t: n } = H(), { inputId: s, ariaDescribedBy: l } = S(), { id: d, placeholder: E, validation: o, label: f, required: b } = _();
53
+ (i = o == null ? void 0 : o.number) != null && i.multipleOf;
54
+ const m = j(null);
55
+ return J(() => {
56
+ var a;
57
+ (a = m.current) == null || a.focus();
58
+ }, d), /* @__PURE__ */ r.createElement(G, {
59
+ ref: m,
60
+ id: s,
61
+ "aria-describedby": l,
62
+ "aria-label": f,
63
+ "aria-roledescription": n("field.number.aria-role-description"),
64
+ className: t,
65
+ inputMode: "decimal",
66
+ placeholder: E,
67
+ required: b
68
+ });
69
+ };
70
+ e.Label = X;
71
+ e.Input = le;
72
+ e.Description = K;
73
+ e.Error = W;
74
+ const C = (t) => Z(t) ?? NaN, oe = ({ content: t, locale: n }) => /* @__PURE__ */ r.createElement(P, {
75
+ content: t,
76
+ locale: n
77
+ }), Re = () => {
78
+ const t = se();
79
+ return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
80
+ className: u(re, p.label)
81
+ }, /* @__PURE__ */ r.createElement(e.Label.Required, {
82
+ className: u(te, p.requiredMark)
83
+ })), /* @__PURE__ */ r.createElement(e.Input, {
84
+ className: t
85
+ }), /* @__PURE__ */ r.createElement(e.Error, {
86
+ className: u(ae, p.error)
87
+ }, /* @__PURE__ */ r.createElement(ee, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
88
+ className: u(ne, p.description)
89
+ }, oe));
90
+ };
91
+ export {
92
+ Re as N
93
+ };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as r } from "./number-input-field-rac-B0-4Rz3w.js";
2
+ import { N as r } from "./number-input-field-rac-CRqPXDl0.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  n as NumberInputRAC
@@ -0,0 +1,143 @@
1
+ import e, { useState as N, useRef as S } from "react";
2
+ import { RicosViewer as O } from "@wix/ricos/viewer";
3
+ import d from "classnames";
4
+ import { ai as E, af as f, ak as x, as as A } from "./form-D0eeH0lX.js";
5
+ import { TextField as B, Group as V, Input as v, Button as P } from "react-aria-components";
6
+ import { f as u, a as g } from "./find-child-C60k4CxG.js";
7
+ import { D as M, E as k } from "./field-error-headless-DAy-1oAQ.js";
8
+ import { L as q } from "./field-label-headless-BWxHmO0c.js";
9
+ import { E as U } from "./error-icon-hZxQ6DEy.js";
10
+ import { H as j } from "./custom-focus-class-_483Pkwp.js";
11
+ import { s as p } from "./field-rac.module-D06m9T9x.js";
12
+ import { y as H, O as W, o as Z, i as G } from "./form-element-classes-Ct1UaxuQ.js";
13
+ import { u as Q } from "./use-text-input-class-name-8gMUWeCb.js";
14
+ const t = ({ children: o, className: r }) => {
15
+ const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: I, onFocus: C, FieldLayout: y } = E(), { labelId: _ } = f(), [R, D] = N(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), w = u(o, t.Error);
16
+ return /* @__PURE__ */ e.createElement(y, {
17
+ fieldId: l,
18
+ renderLabel: () => F,
19
+ renderInput: () => /* @__PURE__ */ e.createElement(B, {
20
+ "aria-labelledby": _,
21
+ value: s ?? "",
22
+ onChange: c,
23
+ isDisabled: n,
24
+ isReadOnly: m,
25
+ isRequired: a,
26
+ isInvalid: i,
27
+ onBlur: I,
28
+ onFocus: C,
29
+ className: r
30
+ }, g(L, {
31
+ isVisible: R,
32
+ onToggleVisibility: () => D((h) => !h)
33
+ })),
34
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, w)
35
+ });
36
+ }, $ = ({ children: o, className: r, ...l }) => {
37
+ const { isVisible: s, onToggleVisibility: c } = l, { disabled: n, hasError: m } = E(), a = u(o, t.Input), i = u(o, t.Toggle);
38
+ return /* @__PURE__ */ e.createElement(V, {
39
+ className: r,
40
+ isDisabled: n,
41
+ isInvalid: m
42
+ }, g(a, {
43
+ isVisible: s
44
+ }), g(i, {
45
+ isVisible: s,
46
+ onToggleVisibility: c
47
+ }));
48
+ }, z = ({ className: o, ...r }) => {
49
+ const { isVisible: l } = r, { id: s, placeholder: c } = E(), { inputId: n, ariaDescribedBy: m } = f(), a = S(null);
50
+ return x(() => {
51
+ var i;
52
+ (i = a.current) == null || i.focus();
53
+ }, s), /* @__PURE__ */ e.createElement(v, {
54
+ ref: a,
55
+ id: n,
56
+ type: l ? "text" : "password",
57
+ "aria-describedby": m,
58
+ className: o,
59
+ placeholder: c
60
+ });
61
+ }, J = ({ className: o, showPasswordTooltipText: r, hidePasswordTooltipText: l, children: s, ...c }) => {
62
+ const { isVisible: n, onToggleVisibility: m } = c, { disabled: a } = E(), i = n ? l : r;
63
+ return /* @__PURE__ */ e.createElement(P, {
64
+ type: "button",
65
+ isDisabled: a,
66
+ onPress: m,
67
+ "aria-label": i,
68
+ "aria-pressed": n,
69
+ className: o
70
+ }, s == null ? void 0 : s({
71
+ isVisible: n
72
+ }));
73
+ };
74
+ t.Label = q;
75
+ t.Control = $;
76
+ t.Input = z;
77
+ t.Toggle = J;
78
+ t.Description = M;
79
+ t.Error = k;
80
+ const K = (o) => /* @__PURE__ */ e.createElement("svg", {
81
+ viewBox: "0 0 24 24",
82
+ width: "20",
83
+ height: "20",
84
+ fill: "none",
85
+ stroke: "currentColor",
86
+ strokeWidth: "1.5",
87
+ "aria-hidden": "true",
88
+ ...o
89
+ }, /* @__PURE__ */ e.createElement("path", {
90
+ d: "M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"
91
+ }), /* @__PURE__ */ e.createElement("circle", {
92
+ cx: "12",
93
+ cy: "12",
94
+ r: "3"
95
+ })), X = (o) => /* @__PURE__ */ e.createElement("svg", {
96
+ viewBox: "0 0 24 24",
97
+ width: "20",
98
+ height: "20",
99
+ fill: "none",
100
+ stroke: "currentColor",
101
+ strokeWidth: "1.5",
102
+ "aria-hidden": "true",
103
+ ...o
104
+ }, /* @__PURE__ */ e.createElement("path", {
105
+ d: "M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"
106
+ }), /* @__PURE__ */ e.createElement("circle", {
107
+ cx: "12",
108
+ cy: "12",
109
+ r: "3"
110
+ }), /* @__PURE__ */ e.createElement("line", {
111
+ x1: "3",
112
+ y1: "21",
113
+ x2: "21",
114
+ y2: "3"
115
+ })), Y = "_control_1malj_1", ee = "_toggleButton_1malj_15", b = {
116
+ control: Y,
117
+ toggleButton: ee
118
+ }, te = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(O, {
119
+ content: o,
120
+ locale: r
121
+ }), oe = () => {
122
+ const { t: o } = A(), r = Q(b.control);
123
+ return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
124
+ className: d(H, p.label)
125
+ }, /* @__PURE__ */ e.createElement(t.Label.Required, {
126
+ className: d(W, p.requiredMark)
127
+ })), /* @__PURE__ */ e.createElement(t.Control, {
128
+ className: r
129
+ }, /* @__PURE__ */ e.createElement(t.Input, {
130
+ className: d(p.innerInput, j)
131
+ }), /* @__PURE__ */ e.createElement(t.Toggle, {
132
+ className: b.toggleButton,
133
+ showPasswordTooltipText: o("forms.widget.modals.show-password-tooltip"),
134
+ hidePasswordTooltipText: o("forms.widget.modals.hide-password-tooltip")
135
+ }, ({ isVisible: l }) => l ? /* @__PURE__ */ e.createElement(X, null) : /* @__PURE__ */ e.createElement(K, null))), /* @__PURE__ */ e.createElement(t.Error, {
136
+ className: d(Z, p.error)
137
+ }, /* @__PURE__ */ e.createElement(U, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
138
+ className: d(G, p.description)
139
+ }, te));
140
+ }, be = () => /* @__PURE__ */ e.createElement(oe, null);
141
+ export {
142
+ be as PasswordRAC
143
+ };
@@ -0,0 +1,141 @@
1
+ import r, { useCallback as P, useRef as j } from "react";
2
+ import { RicosViewer as w } from "@wix/ricos/viewer";
3
+ import p from "classnames";
4
+ import { TextField as z, Group as J, Input as K } from "react-aria-components";
5
+ import { ai as R, af as D, ab as T, as as W, ak as X } from "./form-D0eeH0lX.js";
6
+ import { f as i } from "./find-child-C60k4CxG.js";
7
+ import { D as Y, E as Z } from "./field-error-headless-DAy-1oAQ.js";
8
+ import { L as ee } from "./field-label-headless-BWxHmO0c.js";
9
+ import { f as N, g as re } from "./payment-field-utils-DobiK5Xh.js";
10
+ import { u as te } from "./use-synced-display-value-DcAxdn3M.js";
11
+ import { E as ne } from "./error-icon-hZxQ6DEy.js";
12
+ import { H as ae } from "./custom-focus-class-_483Pkwp.js";
13
+ import { s as d } from "./field-rac.module-D06m9T9x.js";
14
+ import { y as se, O as oe, o as le, i as ce } from "./form-element-classes-Ct1UaxuQ.js";
15
+ import { u as ie } from "./use-text-input-class-name-8gMUWeCb.js";
16
+ function ue(e, t) {
17
+ return {
18
+ productId: e.id,
19
+ price: t,
20
+ quantity: 1
21
+ };
22
+ }
23
+ function h(e) {
24
+ if (e == null || e === "")
25
+ return;
26
+ const t = Number(String(e).replace(/,/g, "."));
27
+ return Number.isNaN(t) ? void 0 : t;
28
+ }
29
+ const n = ({ children: e }) => {
30
+ var O, g, A, V;
31
+ const { id: t, value: a, onChange: s, disabled: u, readOnly: m, required: y, hasError: b, onBlur: o, onFocus: E, FieldLayout: M, validation: C } = R(), { labelId: q, prefixId: G } = D(), { regionalFormat: c } = T(), S = (A = (g = (O = C == null ? void 0 : C.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : g.products) == null ? void 0 : A[0], _ = (V = a == null ? void 0 : a.at(0)) == null ? void 0 : V.price, [F, I] = te({
32
+ sourceValue: _,
33
+ format: (l) => N(String(l ?? ""), c),
34
+ regionalFormat: c
35
+ }), $ = P(() => {
36
+ const l = N(F, c);
37
+ I(l || ""), o == null || o();
38
+ }, [
39
+ F,
40
+ c,
41
+ o,
42
+ I
43
+ ]), k = P((l) => {
44
+ I(l);
45
+ const L = h(N(l, c)), Q = h(_);
46
+ if (L !== Q) {
47
+ if (L === void 0) {
48
+ s(null);
49
+ return;
50
+ }
51
+ s([
52
+ ue(S, L)
53
+ ]);
54
+ }
55
+ }, [
56
+ s,
57
+ S,
58
+ c,
59
+ _,
60
+ I
61
+ ]), B = i(e, n.Label), U = i(e, n.Input), v = i(e, n.Description), H = i(e, n.Error);
62
+ return /* @__PURE__ */ r.createElement(M, {
63
+ fieldId: t,
64
+ renderLabel: () => B,
65
+ renderInput: () => /* @__PURE__ */ r.createElement(z, {
66
+ "aria-labelledby": `${q} ${G}`,
67
+ value: a ? F : "",
68
+ onChange: k,
69
+ isDisabled: u,
70
+ isReadOnly: m,
71
+ isRequired: y,
72
+ isInvalid: b,
73
+ onBlur: $,
74
+ onFocus: E
75
+ }, U),
76
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, H, v)
77
+ });
78
+ }, f = ({ children: e, className: t }) => {
79
+ const { disabled: a, hasError: s } = R(), u = i(e, f.Currency), m = i(e, f.Value);
80
+ return /* @__PURE__ */ r.createElement(J, {
81
+ className: t,
82
+ isDisabled: a,
83
+ isInvalid: s
84
+ }, u, m);
85
+ }, me = ({ className: e }) => {
86
+ const { currency: t } = T(), { t: a } = W(), { prefixId: s } = D();
87
+ return t ? /* @__PURE__ */ r.createElement("span", {
88
+ id: s,
89
+ "aria-hidden": !1,
90
+ "aria-label": re(a, t),
91
+ className: e
92
+ }, t.sign || t.code) : null;
93
+ }, pe = ({ className: e }) => {
94
+ const { id: t, placeholder: a, label: s } = R(), { inputId: u, labelId: m, prefixId: y, ariaDescribedBy: b } = D(), o = j(null);
95
+ return X(() => {
96
+ var E;
97
+ (E = o.current) == null || E.focus();
98
+ }, t), /* @__PURE__ */ r.createElement(K, {
99
+ ref: o,
100
+ id: u,
101
+ className: e,
102
+ placeholder: a,
103
+ "aria-label": s,
104
+ "aria-labelledby": `${m} ${y}`,
105
+ "aria-describedby": b,
106
+ autoComplete: "off"
107
+ });
108
+ };
109
+ f.Currency = me;
110
+ f.Value = pe;
111
+ n.Label = ee;
112
+ n.Input = f;
113
+ n.Description = Y;
114
+ n.Error = Z;
115
+ const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", x = {
116
+ inputGroup: de,
117
+ currency: fe
118
+ }, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(w, {
119
+ content: e,
120
+ locale: t
121
+ }), Ie = () => {
122
+ const e = ie(x.inputGroup);
123
+ return /* @__PURE__ */ r.createElement(n, null, /* @__PURE__ */ r.createElement(n.Label, {
124
+ className: p(se, d.label)
125
+ }, /* @__PURE__ */ r.createElement(n.Label.Required, {
126
+ className: p(oe, d.requiredMark)
127
+ })), /* @__PURE__ */ r.createElement(n.Input, {
128
+ className: e
129
+ }, /* @__PURE__ */ r.createElement(n.Input.Currency, {
130
+ className: x.currency
131
+ }), /* @__PURE__ */ r.createElement(n.Input.Value, {
132
+ className: p(d.innerInput, ae)
133
+ })), /* @__PURE__ */ r.createElement(n.Error, {
134
+ className: p(le, d.error)
135
+ }, /* @__PURE__ */ r.createElement(ne, null), /* @__PURE__ */ r.createElement(n.Error.Text, null)), /* @__PURE__ */ r.createElement(n.Description, {
136
+ className: p(ce, d.description)
137
+ }, Ee));
138
+ }, he = () => /* @__PURE__ */ r.createElement(Ie, null);
139
+ export {
140
+ he as PaymentInputRAC
141
+ };
@@ -1,12 +1,12 @@
1
1
  import { RicosViewer as ye } from "@wix/ricos/viewer";
2
2
  import b from "classnames";
3
3
  import t, { useMemo as B, useState as V, useRef as v, useEffect as w, useCallback as j, createContext as te, useContext as q } 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-f0tqdMye.js";
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-D0eeH0lX.js";
5
5
  import { UNSAFE_PortalProvider as ge } from "react-aria";
6
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-BErhh9GG.js";
9
- import { L as xe } from "./field-label-headless-BGyK-5xW.js";
8
+ import { D as Fe, E as De } from "./field-error-headless-DAy-1oAQ.js";
9
+ import { L as xe } from "./field-label-headless-BWxHmO0c.js";
10
10
  import { N as Re, 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 Ae, isValidPhoneNumber as $e, isSupportedCountry as Te } from "libphonenumber-js";
@@ -15,8 +15,8 @@ import { C as W } from "./calling-country-codes-PyWuOTmF.js";
15
15
  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
- import { s as _ } from "./field-rac.module-ColNPUt0.js";
19
- import { y as ke, O as Ve, x as qe, A as Ge, o as He, i as Ye } from "./form-element-classes-jC8D0LnK.js";
18
+ import { s as _ } from "./field-rac.module-D06m9T9x.js";
19
+ import { y as ke, O as Ve, x as qe, A as Ge, o as He, i as Ye } from "./form-element-classes-Ct1UaxuQ.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)
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-Ce_wuE46.js";
2
+ import { P as o } from "./phone-input-field-rac-jjSmYCI1.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -2,20 +2,20 @@ import t, { useMemo as $, useCallback as x, useRef as B } from "react";
2
2
  import { RicosViewer as z } from "@wix/ricos/viewer";
3
3
  import _ from "classnames";
4
4
  import { CheckboxField as G, CheckboxButton as X, NumberField as j, Group as J, Button as U, Input as W } from "react-aria-components";
5
- import { ai as k, af as Y, ab as w, as as Z, ak as ee } from "./form-f0tqdMye.js";
5
+ import { ai as k, af as Y, ab as w, as as Z, ak as ee } from "./form-D0eeH0lX.js";
6
6
  import { f as O, a as I } from "./find-child-C60k4CxG.js";
7
- import { L as te, g as ne } from "./field-label-headless-BGyK-5xW.js";
7
+ import { L as te, g as ne } from "./field-label-headless-BWxHmO0c.js";
8
8
  import { f as ae } from "./format-currency-BwShJ9vM.js";
9
- import { D as oe, E as re } from "./field-error-headless-BErhh9GG.js";
9
+ import { D as oe, E as re } from "./field-error-headless-DAy-1oAQ.js";
10
10
  import { F as le } from "./fieldset-headless-CD3fds9J.js";
11
11
  import { g as se } from "./payment-field-utils-DobiK5Xh.js";
12
12
  import { S as ie } from "./selection-indicator-XQ8MYHUQ.js";
13
13
  import { E as ce } from "./error-icon-hZxQ6DEy.js";
14
- import { C as ue } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
15
- import { s as T } from "./field-rac.module-ColNPUt0.js";
16
- import { y as me, O as pe, B as de, E as Ee, D as ye, x as fe, o as _e, i as Ie, C as Oe } from "./form-element-classes-jC8D0LnK.js";
14
+ import { C as ue } from "./checkbox-indicator-module-classes-Bb3xB1ve.js";
15
+ import { s as T } from "./field-rac.module-D06m9T9x.js";
16
+ import { y as me, O as pe, B as de, E as Ee, D as ye, x as fe, o as _e, i as Ie, C as Oe } from "./form-element-classes-Ct1UaxuQ.js";
17
17
  import { o as Q } from "./options-rac.module-KM-VT_KY.js";
18
- import { u as be } from "./use-element-state-class-name-BqmaTba3.js";
18
+ import { u as be } from "./use-element-state-class-name-j8W1zbdG.js";
19
19
  var Le = /* @__PURE__ */ (function(e) {
20
20
  return e.crop = "CROP", e.fit = "FIT", e;
21
21
  })({}), M = /* @__PURE__ */ (function(e) {
@@ -1,6 +1,6 @@
1
1
  import _ from "react";
2
- import { R } from "./radio-group-field-rac-CYBDq7R1.js";
3
- import { I as o, H as r, G as O } from "./form-element-classes-jC8D0LnK.js";
2
+ import { R } from "./radio-group-field-rac-60MF_9DO.js";
3
+ import { I as o, H as r, G as O } from "./form-element-classes-Ct1UaxuQ.js";
4
4
  const e = () => /* @__PURE__ */ _.createElement(R, {
5
5
  classes: {
6
6
  container: O,
@@ -1,9 +1,9 @@
1
1
  import l, { useRef as S, useState as V, useEffect as B, useCallback as T } from "react";
2
2
  import { RadioGroup as H, RadioField as k, RadioButton as M, TextField as U, Input as A } from "react-aria-components";
3
- import { ai as v, af as G, as as F, ab as P, ak as $ } from "./form-f0tqdMye.js";
3
+ import { ai as v, af as G, as as F, ab as P, ak as $ } from "./form-D0eeH0lX.js";
4
4
  import { f as p, a as y } from "./find-child-C60k4CxG.js";
5
- import { D as q, E as x } from "./field-error-headless-BErhh9GG.js";
6
- import { L as j } from "./field-label-headless-BGyK-5xW.js";
5
+ import { D as q, E as x } from "./field-error-headless-DAy-1oAQ.js";
6
+ import { L as j } from "./field-label-headless-BWxHmO0c.js";
7
7
  import { N as w } from "./options-layout-constants-DEfIEJWD.js";
8
8
  import { S as z } from "./selection-indicator-XQ8MYHUQ.js";
9
9
  const L = "Other", J = (e, t) => e == null ? void 0 : e.find((o) => (o.value ?? o.label) === t), R = (e, t) => !!t && !J(e, t), K = (e, t) => {
@@ -0,0 +1,48 @@
1
+ import { RicosViewer as m } from "@wix/ricos/viewer";
2
+ import t from "classnames";
3
+ import e from "react";
4
+ import { a, s, R as c } from "./radio-button-module-classes-DCz6XS1X.js";
5
+ import { E as i } from "./error-icon-hZxQ6DEy.js";
6
+ import { s as o } from "./field-rac.module-D06m9T9x.js";
7
+ import { L as E, K as O, J as R, y as _, O as p, o as I, i as L } from "./form-element-classes-Ct1UaxuQ.js";
8
+ import { u } from "./use-element-state-class-name-j8W1zbdG.js";
9
+ import { u as N } from "./use-text-input-class-name-8gMUWeCb.js";
10
+ const D = ({ content: r, locale: l }) => /* @__PURE__ */ e.createElement(m, {
11
+ content: r,
12
+ locale: l
13
+ }), B = ({ classes: r = {
14
+ container: R,
15
+ label: O,
16
+ radioButton: E
17
+ } }) => {
18
+ const l = u({
19
+ globalClasses: r.radioButton,
20
+ moduleClasses: c
21
+ }), n = N();
22
+ return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
23
+ className: t(_, o.label)
24
+ }, /* @__PURE__ */ e.createElement(a.Label.Required, {
25
+ className: t(p, o.requiredMark)
26
+ }), /* @__PURE__ */ e.createElement(a.Label.Image, {
27
+ className: s.labelImage
28
+ })), /* @__PURE__ */ e.createElement(a.Options, {
29
+ className: t(r.container, s.options)
30
+ }, /* @__PURE__ */ e.createElement(a.Option, {
31
+ className: s.option
32
+ }, /* @__PURE__ */ e.createElement(a.Option.Input, {
33
+ className: s.optionInput
34
+ }), /* @__PURE__ */ e.createElement(a.Option.Control, {
35
+ className: l
36
+ }), /* @__PURE__ */ e.createElement(a.Option.Label, {
37
+ className: t(r.label, s.optionLabel)
38
+ }), /* @__PURE__ */ e.createElement(a.Option.OtherInput, {
39
+ className: n
40
+ }))), /* @__PURE__ */ e.createElement(a.Error, {
41
+ className: t(I, o.error)
42
+ }, /* @__PURE__ */ e.createElement(i, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
43
+ className: t(L, o.description)
44
+ }, D));
45
+ };
46
+ export {
47
+ B as R
48
+ };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-CYBDq7R1.js";
2
+ import { R as r } from "./radio-group-field-rac-60MF_9DO.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,15 +1,15 @@
1
1
  import { RicosViewer as D } from "@wix/ricos/viewer";
2
2
  import m from "classnames";
3
3
  import e, { useCallback as N, useState as O, useRef as A } from "react";
4
- import { ai as b, af as v, as as M } from "./form-f0tqdMye.js";
4
+ import { ai as b, af as v, as as M } from "./form-D0eeH0lX.js";
5
5
  import { RadioGroup as T, RadioField as H, RadioButton as w } from "react-aria-components";
6
6
  import { f as u, a as B } from "./find-child-C60k4CxG.js";
7
- import { D as P, E as q } from "./field-error-headless-BErhh9GG.js";
8
- import { L as G } from "./field-label-headless-BGyK-5xW.js";
7
+ import { D as P, E as q } from "./field-error-headless-DAy-1oAQ.js";
8
+ import { L as G } from "./field-label-headless-BWxHmO0c.js";
9
9
  import { E as k } from "./error-icon-hZxQ6DEy.js";
10
- import { s as g } from "./field-rac.module-ColNPUt0.js";
11
- import { y as x, O as U, M as z, o as Q, i as Z, N as j } from "./form-element-classes-jC8D0LnK.js";
12
- import { u as J } from "./use-element-state-class-name-BqmaTba3.js";
10
+ import { s as g } from "./field-rac.module-D06m9T9x.js";
11
+ import { y as x, O as U, M as z, o as Q, i as Z, N as j } from "./form-element-classes-Ct1UaxuQ.js";
12
+ import { u as J } from "./use-element-state-class-name-j8W1zbdG.js";
13
13
  const t = ({ children: a }) => {
14
14
  const { id: n, value: r, onChange: l, disabled: o, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = b(), { labelId: _ } = v(), L = N((y) => l(Number(y)), [
15
15
  l
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-elaferlI.js";
2
+ import { R as e } from "./rating-input-field-rac-CzWTwWT8.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-f0tqdMye.js";
2
+ import { ai as a, ab as i, as as T } from "./form-D0eeH0lX.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-f0tqdMye.js";
4
- import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-DbwuwQeo.js";
5
- import { a4 as g } from "./form-element-classes-jC8D0LnK.js";
3
+ import { ai as m, L as i, W as u, Z as R } from "./form-D0eeH0lX.js";
4
+ import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-sUUSbcSy.js";
5
+ import { a5 as g } from "./form-element-classes-Ct1UaxuQ.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-DtcQC8zU.js";
2
+ import { R as t } from "./rich-text-field-rac-BvLfS4I5.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,14 +1,14 @@
1
1
  import t, { useRef as N, useMemo as g, useCallback as h, useEffect as P } from "react";
2
2
  import { RicosViewer as T } 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 x, h as U } from "./form-f0tqdMye.js";
5
- import { u as V } from "./use-service-options-base-CRgxxz7b.js";
6
- import { D as d } from "./dropdown-field-headless-JJzbZvps.js";
4
+ import { ae as w, as as b, F as M, ai as y, ab as x, h as U } from "./form-D0eeH0lX.js";
5
+ import { u as V } from "./use-service-options-base-BJZhzDyO.js";
6
+ import { D as d } from "./dropdown-field-headless-DNhnTDlD.js";
7
7
  import { C as H } from "./chevron-down-icon-CcpVm6B-.js";
8
8
  import { E as k } from "./error-icon-hZxQ6DEy.js";
9
9
  import { H as q } from "./custom-focus-class-_483Pkwp.js";
10
- import { s as n } from "./field-rac.module-ColNPUt0.js";
11
- import { y as B, O as W, x as Q, A as Y, o as j, i as z } from "./form-element-classes-jC8D0LnK.js";
10
+ import { s as n } from "./field-rac.module-D06m9T9x.js";
11
+ import { y as B, O as W, x as Q, A as Y, o as j, i as z } from "./form-element-classes-Ct1UaxuQ.js";
12
12
  const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
13
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(() => {
14
14
  var s;
@@ -1,15 +1,15 @@
1
1
  import e, { useEffect as _, useMemo as I } from "react";
2
2
  import { RicosViewer as L } from "@wix/ricos/viewer";
3
3
  import r from "classnames";
4
- import { F as R, ai as d, h as D } from "./form-f0tqdMye.js";
5
- import { u as F } from "./use-service-options-base-CRgxxz7b.js";
6
- import { C as a } from "./checkbox-group-field-headless-Bx5Y-RMP.js";
4
+ import { F as R, ai as d, h as D } from "./form-D0eeH0lX.js";
5
+ import { u as F } from "./use-service-options-base-BJZhzDyO.js";
6
+ import { C as a } from "./checkbox-group-field-headless-CP21R7_s.js";
7
7
  import { E as f } from "./error-icon-hZxQ6DEy.js";
8
- import { C as N } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
9
- import { s as i } from "./field-rac.module-ColNPUt0.js";
10
- import { y as h, O as M, S as b, U as A, x as T, o as v, i as x, T as y } from "./form-element-classes-jC8D0LnK.js";
8
+ import { C as N } from "./checkbox-indicator-module-classes-Bb3xB1ve.js";
9
+ import { s as i } from "./field-rac.module-D06m9T9x.js";
10
+ import { y as h, O as M, S as b, U as A, x as T, o as v, i as x, T as y } from "./form-element-classes-Ct1UaxuQ.js";
11
11
  import { o as O } from "./options-rac.module-KM-VT_KY.js";
12
- import { u as P } from "./use-element-state-class-name-BqmaTba3.js";
12
+ import { u as P } from "./use-element-state-class-name-j8W1zbdG.js";
13
13
  const k = (s) => {
14
14
  var C;
15
15
  const { isLoading: o, options: n, isEmpty: c, shouldRender: m, setOptions: l, setIsEmpty: E, setHasInitialDataLoaded: p } = F({