@wix/form-elements 1.161.0 → 1.163.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-BubC8I9X.js → appointment-rac-Cskf9hxi.js} +123 -123
  2. package/dist/component/{bookings-address-rac-BbwvVs86.js → bookings-address-rac-C18tuPai.js} +1 -1
  3. package/dist/component/{bookings-email-rac-C2HCkcfa.js → bookings-email-rac-C2GL3cJg.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Uy7c5EBs.js → bookings-first-name-rac-IEklnchg.js} +1 -1
  5. package/dist/component/{bookings-header-rac-nmwsWRjS.js → bookings-header-rac-iwcrj5Kj.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BAioQLCg.js → bookings-last-name-rac-CXZfq3Rw.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CO6vOBjG.js → bookings-login-bar-rac-DP0MBFTm.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-Cr16h-_R.js → bookings-phone-rac-uJGk_tzr.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CHLH3jd7.js → bookings-rich-text-rac-BerRAnFy.js} +1 -1
  10. package/dist/component/{calendar.module-CKCBG_Pg.js → calendar.module-BMUyMVja.js} +19 -19
  11. package/dist/component/{checkbox-field-rac-CMwmwFMD.js → checkbox-field-rac-BBftIi_U.js} +6 -6
  12. package/dist/component/{checkbox-group-field-headless-BNs_S-nT.js → checkbox-group-field-headless-BiQ4coe6.js} +27 -27
  13. package/dist/component/{checkbox-group-field-rac-BA60EPAN.js → checkbox-group-field-rac-moHc5Cyu.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-BJZ4Oer9.js → checkbox-group-rac-iuPzxN7i.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-akWZsZNn.js → checkbox-indicator-module-classes-DUTR4mcg.js} +1 -1
  16. package/dist/component/{checkbox-rac-KsVlI6_V.js → checkbox-rac-BwfHAeFo.js} +1 -1
  17. package/dist/component/{contacts-address-rac-CRYkz87z.js → contacts-address-rac-DuyEL5YR.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-BIz-1-ZX.js → contacts-birthdate-rac-Mkoplu3x.js} +1 -1
  19. package/dist/component/{contacts-company-rac-B8G__j6I.js → contacts-company-rac-B-3QghQg.js} +1 -1
  20. package/dist/component/{contacts-email-rac-Dztkvp5i.js → contacts-email-rac-CqooKQl8.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-CVSEWpLU.js → contacts-first-name-rac-CAOu0GIH.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-Blz4M5bk.js → contacts-last-name-rac-Cd-wCTC3.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-CPCE5soY.js → contacts-phone-rac-OGE6eaJc.js} +1 -1
  24. package/dist/component/{contacts-position-rac-Dd_kBjqG.js → contacts-position-rac-eSsV63RC.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-C6AlsP10.js → contacts-subscribe-rac-19d4uPR-.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-CQ1n29zI.js → contacts-tax-id-rac-TtyrAftZ.js} +1 -1
  27. package/dist/component/{date-availability-DDj1j0z5.js → date-availability-CudIaav_.js} +1 -1
  28. package/dist/component/{date-input-field-rac-D5r1n_ah.js → date-input-field-rac-DzMiQLxS.js} +89 -89
  29. package/dist/component/{date-input-rac-Cyi5mU_P.js → date-input-rac-BWfmwcmK.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-CeG391Zo.js → date-picker-field-rac-w4Wf-m0I.js} +54 -54
  31. package/dist/component/{date-picker-rac-Ci9aHgav.js → date-picker-rac-Bejo7tOm.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-CrbYEbJJ.js → date-time-input-field-rac-D6JPrbGb.js} +80 -80
  33. package/dist/component/{date-time-input-rac-DDJLkqs0.js → date-time-input-rac-CAK5NgC4.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-C3ftVHBA.js → dext-checkbox-group-rac-BqoHMQwI.js} +4 -4
  35. package/dist/component/{dext-checkbox-rac-BGLYWn68.js → dext-checkbox-rac-BEis8bxo.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-Cy9RlDlt.js → dext-date-picker-rac-DDQTy3BG.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-88ZoTd5e.js → dext-date-time-input-rac-Dp3UEXEu.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-CPxDUuk9.js → dext-dropdown-rac-DisXIXNb.js} +1 -1
  39. package/dist/component/{dext-email-rac-BAvQwDPA.js → dext-email-rac-CBv4umUC.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-D7HYQVKq.js → dext-number-input-rac-0UNC_1Ac.js} +1 -1
  41. package/dist/component/{dext-phone-rac--FhcplSI.js → dext-phone-rac-CQVzz499.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-DBz8iCKW.js → dext-radio-group-rac-3lhx-xxX.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Cv7nThfe.js → dext-rating-input-rac-2fwxV3iY.js} +1 -1
  44. package/dist/component/{dext-tags-rac-CRUUc5dr.js → dext-tags-rac-DCL78ClS.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-DQBQXV1L.js → dext-text-area-rac-WTCWYySB.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-4CpM581y.js → dext-text-input-rac-DMCzSYAI.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-0C1jTEr9.js → dext-url-input-rac-Bzvt5zTa.js} +1 -1
  48. package/dist/component/{donation-rac-Cgt0ZE50.js → donation-rac-B3YHu0bl.js} +98 -98
  49. package/dist/component/{dropdown-field-rac-DlGKR7pZ.js → dropdown-field-rac-y4GPpf0W.js} +4 -4
  50. package/dist/component/{dropdown-rac-CYFW_3x_.js → dropdown-rac-Dj7OnxJL.js} +1 -1
  51. package/dist/component/{ecom-address-rac-CQfQHpXC.js → ecom-address-rac-Bnc60jDw.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-D2v2Upvz.js → ecom-subscription-checkbox-rac-CesTpjav.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CVw25yRo.js → email-input-field-rac-BT2FrAEM.js} +48 -48
  54. package/dist/component/{events-repeater-rac-BCVUcmFj.js → events-repeater-rac-CA2yjEEk.js} +24 -24
  55. package/dist/component/{events-rsvp-rac-DwbqEr8z.js → events-rsvp-rac-wVpVt7-p.js} +4 -4
  56. package/dist/component/{field-error-headless-XnVcMmsL.js → field-error-headless-CX95bMbk.js} +8 -8
  57. package/dist/component/{field-label-headless-BRTLT2Yt.js → field-label-headless-niuFY6Mw.js} +17 -17
  58. package/dist/component/field-rac.module-ts2t4WUO.js +25 -0
  59. package/dist/component/{file-upload-rac-Dkwg9Jk4.js → file-upload-rac-ByO8l8lE.js} +142 -142
  60. package/dist/component/{fixed-payment-rac-ST98xAa2.js → fixed-payment-rac-BNDAdNeQ.js} +18 -18
  61. package/dist/component/{form-BUqSKOvc.js → form-CCQN_rPn.js} +326 -336
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-CzNTGYWq.js → header-field-rac-C1RySfYy.js} +6 -6
  65. package/dist/component/{header-rac-DUt6AIAE.js → header-rac-BaFPV0vy.js} +1 -1
  66. package/dist/component/image-choice-rac-BShUj92P.js +155 -0
  67. package/dist/component/{index-cZZeAuuu.js → index-0_YjLphg.js} +2 -2
  68. package/dist/component/{index-CDO22hht.js → index-DHLfweXD.js} +69 -69
  69. package/dist/component/{isObjectLike-cs4bARpC.js → isObjectLike-D7tbAd6O.js} +3 -3
  70. package/dist/component/{multiline-address-field-rac-vcEWhUCV.js → multiline-address-field-rac-CFJKE5vA.js} +41 -41
  71. package/dist/component/{multiline-address-rac-WQaI2eUX.js → multiline-address-rac-BlzCkwEH.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CBUMqATk.js → number-input-field-rac-XqxdqTRV.js} +24 -24
  73. package/dist/component/{number-input-rac-B4j5hyzS.js → number-input-rac-CQTg0QSm.js} +1 -1
  74. package/dist/component/{password-rac-DwLyf45N.js → password-rac-DPE-U2xs.js} +17 -17
  75. package/dist/component/{payment-input-rac-D0Od---y.js → payment-input-rac-oOh04431.js} +32 -32
  76. package/dist/component/{phone-input-field-rac-COlu9IeC.js → phone-input-field-rac-DW2vQhjC.js} +48 -48
  77. package/dist/component/{phone-rac-Dh4RacOF.js → phone-rac-BB9B-Hpl.js} +1 -1
  78. package/dist/component/{product-list-rac-D7zHDE2D.js → product-list-rac-K53VvPJV.js} +26 -26
  79. package/dist/component/{quiz-radio-group-rac-1AaKphJt.js → quiz-radio-group-rac-gikcMV2I.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-VqaP6vpA.js → radio-button-module-classes-CY883yGO.js} +34 -34
  81. package/dist/component/{radio-group-field-rac-Cp3LRN3C.js → radio-group-field-rac-BOEWcfT9.js} +5 -5
  82. package/dist/component/{radio-group-rac-KhmhzYGf.js → radio-group-rac-gKhmLMm3.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-10n6ciCr.js → rating-input-field-rac-83FXIVpy.js} +30 -30
  84. package/dist/component/{rating-input-rac-XZjjY2Gp.js → rating-input-rac-XDwakrtR.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-kMwDoLBa.js → rich-content-rac.module-Bdx8hK3J.js} +5 -5
  86. package/dist/component/{rich-text-field-rac-H5bd8fAt.js → rich-text-field-rac-ksEKBaYG.js} +4 -4
  87. package/dist/component/{rich-text-rac-88GSQR62.js → rich-text-rac-XEFBeQrz.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-B1_Xr_X3.js → service-dropdown-rac-CjFiqV1n.js} +26 -26
  89. package/dist/component/{services-multi-choice-rac-DWp_Llbi.js → services-multi-choice-rac-DNut4K3I.js} +15 -15
  90. package/dist/component/{signature-rac-zN_6KRDp.js → signature-rac-BhWPZpwu.js} +108 -108
  91. package/dist/component/{submit-button-rac-Dv6UarYX.js → submit-button-rac-CWmz_JCl.js} +7 -7
  92. package/dist/component/{tags-field-rac-sVN6MHfJ.js → tags-field-rac-D9P1jVrz.js} +75 -75
  93. package/dist/component/{tags-rac-DhTHs_XN.js → tags-rac-0zEd-xYa.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DrWkww7W.js → text-area-field-rac-D_55oi2b.js} +19 -19
  95. package/dist/component/{text-area-rac-CXXh-ZdY.js → text-area-rac-CpkFyXCH.js} +1 -1
  96. package/dist/component/{text-input-field-rac-C2YiMr-g.js → text-input-field-rac-b7RXb4Ob.js} +4 -4
  97. package/dist/component/{text-input-headless-BJMNbsMY.js → text-input-headless-b1TEpdit.js} +11 -11
  98. package/dist/component/{text-input-rac-CpsPh7FH.js → text-input-rac-CoVcg1S0.js} +1 -1
  99. package/dist/component/{time-input-rac-DG_1KxS4.js → time-input-rac-DE7OyzgQ.js} +20 -20
  100. package/dist/component/url-input-field-rac-_yxWlb3a.js +77 -0
  101. package/dist/component/{url-input-rac-BTStO0NP.js → url-input-rac-wguMUqug.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-DbMMg1ws.js → use-dropdown-option-class-name-DdQ0sFRF.js} +12 -12
  103. package/dist/component/{use-dropdown-trigger-class-name-Yes4kC_0.js → use-dropdown-trigger-class-name-hB8KYv-I.js} +19 -19
  104. package/dist/component/{use-element-state-class-name-DlncY4hk.js → use-element-state-class-name-C2tQgxUX.js} +1 -1
  105. package/dist/component/{use-hoverable-input-class-name-C__zqP5j.js → use-hoverable-input-class-name-C8iuzofb.js} +3 -3
  106. package/dist/component/{use-is-forced-open-dropdown-DnK_MQRO.js → use-is-forced-open-dropdown-DkIrJPsK.js} +4 -4
  107. package/dist/component/{use-service-options-base-DKJe52Vk.js → use-service-options-base-B-xAR-tx.js} +3 -3
  108. package/dist/component/use-text-input-class-name-CK4rZeSM.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-DP0lkkEv.js +0 -25
  111. package/dist/component/image-choice-rac-DuBgrSt2.js +0 -155
  112. package/dist/component/url-input-field-rac-twxRREnl.js +0 -77
  113. package/dist/component/use-text-input-class-name-D9tJTR-b.js +0 -6
@@ -1,21 +1,21 @@
1
- import { RicosViewer as y } from "@wix/ricos/viewer";
1
+ import { RicosViewer as D } from "@wix/ricos/viewer";
2
2
  import u from "classnames";
3
3
  import e, { useCallback as N, useState as O, useRef as A } from "react";
4
- import { bA as I, bx as v, bK as M, W as T, ac as H, aa as w, M as B, G as P, ab as G } from "./form-BUqSKOvc.js";
5
- import { RadioGroup as q, RadioField as x, RadioButton as k } from "react-aria-components";
4
+ import { by as I, bv as v, bI as T, U as H, aa as M, a8 as w, K as B, G as P, a9 as G } from "./form-CCQN_rPn.js";
5
+ import { RadioGroup as q, RadioField as k, RadioButton as x } from "react-aria-components";
6
6
  import { f as E, a as U } from "./find-child-C60k4CxG.js";
7
- import { D as z, E as K } from "./field-error-headless-XnVcMmsL.js";
8
- import { L as Q } from "./field-label-headless-BRTLT2Yt.js";
9
- import { E as W } from "./error-icon-hZxQ6DEy.js";
10
- import { s as g } from "./field-rac.module-DP0lkkEv.js";
11
- import { u as Z } from "./use-element-state-class-name-DlncY4hk.js";
7
+ import { D as z, E as K } from "./field-error-headless-CX95bMbk.js";
8
+ import { L as Q } from "./field-label-headless-niuFY6Mw.js";
9
+ import { E as Z } from "./error-icon-hZxQ6DEy.js";
10
+ import { s as g } from "./field-rac.module-ts2t4WUO.js";
11
+ import { u as j } from "./use-element-state-class-name-C2tQgxUX.js";
12
12
  const t = ({ children: a }) => {
13
- const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
13
+ const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((y) => i(Number(y)), [
14
14
  i
15
- ]), b = E(a, t.Label), s = E(a, t.Ratings), f = E(a, t.Description), h = E(a, t.Error);
15
+ ]), f = E(a, t.Label), s = E(a, t.Ratings), S = E(a, t.Description), h = E(a, t.Error);
16
16
  return /* @__PURE__ */ e.createElement(R, {
17
17
  fieldId: n,
18
- renderLabel: () => b,
18
+ renderLabel: () => f,
19
19
  renderInput: () => /* @__PURE__ */ e.createElement(q, {
20
20
  "aria-labelledby": _,
21
21
  value: r ? String(r) : void 0,
@@ -28,16 +28,16 @@ const t = ({ children: a }) => {
28
28
  onFocus: C,
29
29
  orientation: "horizontal"
30
30
  }, s),
31
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, f)
31
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, S)
32
32
  });
33
- }, S = ({ children: a, className: n, getReactionLabel: r }) => {
34
- const { value: i, readOnly: l, hasError: m } = I(), { inputId: d, ariaDescribedBy: c } = v(), [o, C] = O(), R = A(null), _ = E(a, S.Rating), L = [
33
+ }, b = ({ children: a, className: n, getReactionLabel: r }) => {
34
+ const { value: i, readOnly: l, hasError: m } = I(), { inputId: d, ariaDescribedBy: c } = v(), [o, C] = O(), R = A(null), _ = E(a, b.Rating), L = [
35
35
  "1",
36
36
  "2",
37
37
  "3",
38
38
  "4",
39
39
  "5"
40
- ], b = (s) => o && !l ? o >= s : !!i && i >= Number(s);
40
+ ], f = (s) => o && !l ? o >= s : !!i && i >= Number(s);
41
41
  return /* @__PURE__ */ e.createElement("div", {
42
42
  ref: R,
43
43
  id: d,
@@ -48,11 +48,11 @@ const t = ({ children: a }) => {
48
48
  }, L.map((s) => U(_, {
49
49
  key: s,
50
50
  value: s,
51
- isSelected: b(s),
52
- onHoverChange: (f) => C(f ? s : void 0),
51
+ isSelected: f(s),
52
+ onHoverChange: (S) => C(S ? s : void 0),
53
53
  label: r == null ? void 0 : r(Number(s))
54
54
  })));
55
- }, j = {
55
+ }, J = {
56
56
  border: 0,
57
57
  clipPath: "inset(50%)",
58
58
  height: 1,
@@ -64,9 +64,9 @@ const t = ({ children: a }) => {
64
64
  whiteSpace: "nowrap"
65
65
  }, F = ({ className: a, children: n, ...r }) => {
66
66
  const { value: i, isSelected: l, onHoverChange: m, label: d } = r;
67
- return /* @__PURE__ */ e.createElement(x, {
67
+ return /* @__PURE__ */ e.createElement(k, {
68
68
  value: i
69
- }, /* @__PURE__ */ e.createElement(k, {
69
+ }, /* @__PURE__ */ e.createElement(x, {
70
70
  className: ({ isHovered: c, isFocused: o }) => typeof a == "function" ? a({
71
71
  isSelected: l,
72
72
  isHovered: c,
@@ -79,16 +79,16 @@ const t = ({ children: a }) => {
79
79
  isHovered: c,
80
80
  isFocused: o
81
81
  }) : n, d ? /* @__PURE__ */ e.createElement("span", {
82
- style: j
82
+ style: J
83
83
  }, d) : null)));
84
84
  };
85
- S.Rating = F;
85
+ b.Rating = F;
86
86
  t.Label = Q;
87
- t.Ratings = S;
87
+ t.Ratings = b;
88
88
  t.Rating = F;
89
89
  t.Description = z;
90
90
  t.Error = K;
91
- const J = (a) => /* @__PURE__ */ e.createElement("svg", {
91
+ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
92
92
  viewBox: "0 0 32 32",
93
93
  width: 32,
94
94
  height: 32,
@@ -103,7 +103,7 @@ const J = (a) => /* @__PURE__ */ e.createElement("svg", {
103
103
  rating: Y,
104
104
  ratingSelected: $,
105
105
  ratingHover: V
106
- }, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(y, {
106
+ }, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(D, {
107
107
  content: a,
108
108
  locale: n
109
109
  }), te = {
@@ -111,14 +111,14 @@ const J = (a) => /* @__PURE__ */ e.createElement("svg", {
111
111
  selected: p.ratingSelected,
112
112
  hover: p.ratingHover
113
113
  }, Ee = () => {
114
- const { t: a } = M(), n = Z({
114
+ const { t: a } = T(), n = j({
115
115
  globalClasses: G,
116
116
  moduleClasses: te
117
117
  });
118
118
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
119
- className: u(T, g.label)
119
+ className: u(H, g.label)
120
120
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
121
- className: u(H, g.requiredMark)
121
+ className: u(M, g.requiredMark)
122
122
  })), /* @__PURE__ */ e.createElement(t.Ratings, {
123
123
  className: u(w, p.ratings),
124
124
  getReactionLabel: (r) => a("rating-input.a11y.reaction-label", {
@@ -126,9 +126,9 @@ const J = (a) => /* @__PURE__ */ e.createElement("svg", {
126
126
  })
127
127
  }, /* @__PURE__ */ e.createElement(t.Rating, {
128
128
  className: n
129
- }, /* @__PURE__ */ e.createElement(J, null))), /* @__PURE__ */ e.createElement(t.Error, {
129
+ }, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
130
130
  className: u(B, g.error)
131
- }, /* @__PURE__ */ e.createElement(W, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
131
+ }, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
132
132
  className: u(P, g.description)
133
133
  }, ee));
134
134
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-10n6ciCr.js";
2
+ import { R as e } from "./rating-input-field-rac-83FXIVpy.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 { bA as a, bs as i, bK as T } from "./form-BUqSKOvc.js";
2
+ import { by as a, bq as i, bI as T } from "./form-CCQN_rPn.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";
@@ -24,7 +24,7 @@ const O = ({ children: e }) => {
24
24
  "data-hook": s
25
25
  }, o);
26
26
  };
27
- function B(e, t) {
27
+ function y(e, t) {
28
28
  const [n, o] = u(!0);
29
29
  function s() {
30
30
  o((l) => !l);
@@ -38,12 +38,12 @@ function B(e, t) {
38
38
  toggleTruncate: s
39
39
  };
40
40
  }
41
- const C = "_richContent_1galb_1", D = {
41
+ const C = "_richContent_1galb_1", B = {
42
42
  richContent: C
43
43
  };
44
44
  export {
45
45
  O as R,
46
46
  p as T,
47
- D as s,
48
- B as u
47
+ B as s,
48
+ y as u
49
49
  };
@@ -1,11 +1,11 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { bA as m, aN as i, av as u, bb as R, be as T } from "./form-BUqSKOvc.js";
4
- import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-kMwDoLBa.js";
3
+ import { by as m, aL as i, at as u, b9 as R, bc as T } from "./form-CCQN_rPn.js";
4
+ import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-Bdx8hK3J.js";
5
5
  const h = {
6
6
  colorPalette: T(),
7
7
  customStyles: R()
8
- }, f = ({ truncate: t = !0 } = {}) => {
8
+ }, y = ({ truncate: t = !0 } = {}) => {
9
9
  const { content: a, maxShownParagraphs: s } = m(), { displayedContent: n, isTruncated: o, isTruncateButtonShown: r, toggleTruncate: c } = C(a, t ? s : void 0);
10
10
  return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(i, {
11
11
  className: l(u, g.richContent),
@@ -17,5 +17,5 @@ const h = {
17
17
  })));
18
18
  };
19
19
  export {
20
- f as R
20
+ y as R
21
21
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-H5bd8fAt.js";
2
+ import { R as t } from "./rich-text-field-rac-ksEKBaYG.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,16 +1,16 @@
1
- import o, { useRef as w, useMemo as _, useCallback as C, useEffect as T } from "react";
2
- import { RicosViewer as b } from "@wix/ricos/viewer";
1
+ import o, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
2
+ import { RicosViewer as w } from "@wix/ricos/viewer";
3
3
  import E from "classnames";
4
- import { bw as P, bK as A, F as M, bA as y, bs as V, aC as W, W as x, ac as H, J as U, M as k, G as q } from "./form-BUqSKOvc.js";
5
- import { u as B } from "./use-service-options-base-DKJe52Vk.js";
6
- import { D as u, u as G } from "./use-dropdown-trigger-class-name-Yes4kC_0.js";
7
- import { C as J } from "./chevron-down-icon-CcpVm6B-.js";
8
- import { E as K } from "./error-icon-hZxQ6DEy.js";
9
- import { H as Q } from "./custom-focus-class-_483Pkwp.js";
10
- import { s as i } from "./field-rac.module-DP0lkkEv.js";
11
- import { u as Y } from "./use-dropdown-option-class-name-DbMMg1ws.js";
12
- const j = "00000000-0000-0000-0000-000000000000", z = (e) => {
13
- const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = w(!0), d = _(() => {
4
+ import { bu as P, bI as A, F as y, by as M, bq as H, aA as U, U as V, aa as q, H as x, K as W, G as k } from "./form-CCQN_rPn.js";
5
+ import { u as B } from "./use-service-options-base-B-xAR-tx.js";
6
+ import { D as u, u as G } from "./use-dropdown-trigger-class-name-hB8KYv-I.js";
7
+ import { C as K } from "./chevron-down-icon-CcpVm6B-.js";
8
+ import { E as Q } from "./error-icon-hZxQ6DEy.js";
9
+ import { H as Y } from "./custom-focus-class-_483Pkwp.js";
10
+ import { s as i } from "./field-rac.module-ts2t4WUO.js";
11
+ import { u as j } from "./use-dropdown-option-class-name-DdQ0sFRF.js";
12
+ const z = "00000000-0000-0000-0000-000000000000", J = (e) => {
13
+ const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = T(!0), d = _(() => {
14
14
  var s;
15
15
  return ((s = e.options) == null ? void 0 : s.map((m) => m.id ?? "")) ?? [];
16
16
  }, [
@@ -20,13 +20,13 @@ const j = "00000000-0000-0000-0000-000000000000", z = (e) => {
20
20
  {
21
21
  value: c,
22
22
  label: c,
23
- id: j
23
+ id: z
24
24
  }
25
25
  ] : s, [
26
26
  n,
27
27
  c
28
28
  ]), { isLoading: f, options: l, isEmpty: h, shouldRender: I, setIsLoading: S, setOptions: R, setIsEmpty: g, processOptions: F } = B({
29
- fieldType: M.SERVICES_DROPDOWN,
29
+ fieldType: y.SERVICES_DROPDOWN,
30
30
  isEditor: e.isEditor,
31
31
  postProcessOptions: O
32
32
  }), L = C(async () => {
@@ -56,7 +56,7 @@ const j = "00000000-0000-0000-0000-000000000000", z = (e) => {
56
56
  R,
57
57
  g
58
58
  ]);
59
- T(() => {
59
+ b(() => {
60
60
  if (!e.isEditor && l.length > 0) {
61
61
  const s = n ? l.length - 1 : l.length;
62
62
  g(s === 0);
@@ -90,7 +90,7 @@ const j = "00000000-0000-0000-0000-000000000000", z = (e) => {
90
90
  shouldRender: I
91
91
  };
92
92
  }, r = ({ children: e }) => {
93
- const t = y(), { addOther: D } = t, n = V(), p = t.isEditor || n.isEditor || n.isComposer, { isLoading: c, options: a, isEmpty: d, onFocus: O, onChange: f, shouldRender: l } = z({
93
+ const t = M(), { addOther: D } = t, n = H(), p = t.isEditor || n.isEditor || n.isComposer, { isLoading: c, options: a, isEmpty: d, onFocus: O, onChange: f, shouldRender: l } = J({
94
94
  ...t,
95
95
  isEditor: p
96
96
  }), h = _(() => ({
@@ -106,7 +106,7 @@ const j = "00000000-0000-0000-0000-000000000000", z = (e) => {
106
106
  O,
107
107
  f
108
108
  ]);
109
- return !p && d && !D || !l ? null : /* @__PURE__ */ o.createElement(W.Provider, {
109
+ return !p && d && !D || !l ? null : /* @__PURE__ */ o.createElement(U.Provider, {
110
110
  value: {
111
111
  v2: h
112
112
  }
@@ -117,27 +117,27 @@ r.Trigger = u.Trigger;
117
117
  r.Options = u.Options;
118
118
  r.Description = u.Description;
119
119
  r.Error = u.Error;
120
- const X = ({ content: e, locale: t }) => /* @__PURE__ */ o.createElement(b, {
120
+ const X = ({ content: e, locale: t }) => /* @__PURE__ */ o.createElement(w, {
121
121
  content: e,
122
122
  locale: t
123
123
  }), Z = () => {
124
- const e = G(i.dropdownTrigger), t = Y(Q);
124
+ const e = G(i.dropdownTrigger), t = j(Y);
125
125
  return /* @__PURE__ */ o.createElement(r, null, /* @__PURE__ */ o.createElement(r.Label, {
126
- className: E(x, i.label)
126
+ className: E(V, i.label)
127
127
  }, /* @__PURE__ */ o.createElement(r.Label.Required, {
128
- className: E(H, i.requiredMark)
128
+ className: E(q, i.requiredMark)
129
129
  })), /* @__PURE__ */ o.createElement(r.Trigger, {
130
130
  className: e
131
- }, /* @__PURE__ */ o.createElement(J, {
131
+ }, /* @__PURE__ */ o.createElement(K, {
132
132
  className: i.dropdownIcon
133
133
  })), /* @__PURE__ */ o.createElement(r.Options, {
134
- className: E(U, i.selectPopover, i.dropdownPopover)
134
+ className: E(x, i.selectPopover, i.dropdownPopover)
135
135
  }, /* @__PURE__ */ o.createElement(r.Options.Option, {
136
136
  className: t
137
137
  })), /* @__PURE__ */ o.createElement(r.Error, {
138
- className: E(k, i.error)
139
- }, /* @__PURE__ */ o.createElement(K, null), /* @__PURE__ */ o.createElement(r.Error.Text, null)), /* @__PURE__ */ o.createElement(r.Description, {
140
- className: E(q, i.description)
138
+ className: E(W, i.error)
139
+ }, /* @__PURE__ */ o.createElement(Q, null), /* @__PURE__ */ o.createElement(r.Error.Text, null)), /* @__PURE__ */ o.createElement(r.Description, {
140
+ className: E(k, i.description)
141
141
  }, X));
142
142
  }, me = () => /* @__PURE__ */ o.createElement(Z, null);
143
143
  export {
@@ -1,16 +1,16 @@
1
1
  import e, { useEffect as I, useMemo as L } from "react";
2
2
  import { RicosViewer as S } from "@wix/ricos/viewer";
3
3
  import a from "classnames";
4
- import { F as R, bA as d, aC as D, W as F, ac as N, p as f, r as h, M as b, G as M, q as A } from "./form-BUqSKOvc.js";
5
- import { u as v } from "./use-service-options-base-DKJe52Vk.js";
6
- import { C as i } from "./checkbox-group-field-headless-BNs_S-nT.js";
4
+ import { F as R, by as d, aA as D, U as F, aa as N, p as f, r as h, K as b, G as A, q as M } from "./form-CCQN_rPn.js";
5
+ import { u as v } from "./use-service-options-base-B-xAR-tx.js";
6
+ import { C as i } from "./checkbox-group-field-headless-BiQ4coe6.js";
7
7
  import { E as x } from "./error-icon-hZxQ6DEy.js";
8
- import { C as P } from "./checkbox-indicator-module-classes-akWZsZNn.js";
9
- import { s as n } from "./field-rac.module-DP0lkkEv.js";
8
+ import { C as P } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
9
+ import { s as n } from "./field-rac.module-ts2t4WUO.js";
10
10
  import { o as _ } from "./options-rac.module-_THNq6Qq.js";
11
- import { u as T } from "./use-element-state-class-name-DlncY4hk.js";
12
- import { u as k } from "./use-text-input-class-name-D9tJTR-b.js";
13
- const y = (s) => {
11
+ import { u as T } from "./use-element-state-class-name-C2tQgxUX.js";
12
+ import { u as y } from "./use-text-input-class-name-CK4rZeSM.js";
13
+ const k = (s) => {
14
14
  var C;
15
15
  const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
16
16
  fieldType: R.SERVICES_MULTI_CHOICE,
@@ -34,7 +34,7 @@ const y = (s) => {
34
34
  shouldRender: E
35
35
  };
36
36
  }, t = ({ children: s, className: o }) => {
37
- const r = d(), { options: l, isEmpty: E, shouldRender: c } = y(r), m = L(() => ({
37
+ const r = d(), { options: l, isEmpty: E, shouldRender: c } = k(r), m = L(() => ({
38
38
  ...r,
39
39
  options: l
40
40
  }), [
@@ -56,11 +56,11 @@ t.Error = i.Error;
56
56
  const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
57
57
  content: s,
58
58
  locale: o
59
- }), G = () => {
59
+ }), U = () => {
60
60
  const s = T({
61
- globalClasses: A,
61
+ globalClasses: M,
62
62
  moduleClasses: P
63
- }), o = k();
63
+ }), o = y();
64
64
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
65
65
  className: a(F, n.label)
66
66
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
@@ -78,9 +78,9 @@ const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
78
78
  }))), /* @__PURE__ */ e.createElement(t.Error, {
79
79
  className: a(b, n.error)
80
80
  }, /* @__PURE__ */ e.createElement(x, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
81
- className: a(M, n.description)
81
+ className: a(A, n.description)
82
82
  }, B));
83
- }, z = () => /* @__PURE__ */ e.createElement(G, null);
83
+ }, J = () => /* @__PURE__ */ e.createElement(U, null);
84
84
  export {
85
- z as ServicesMultiChoiceRAC
85
+ J as ServicesMultiChoiceRAC
86
86
  };