@wix/form-elements 1.125.0 → 1.127.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-Z-zuUkSk.js → appointment-rac-BrC7gcpn.js} +5 -5
  2. package/dist/component/{bookings-address-rac-CKDBaGLn.js → bookings-address-rac-D-UmBxjD.js} +1 -1
  3. package/dist/component/{bookings-email-rac-D4aI_Jzq.js → bookings-email-rac-CjHDzU0Q.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-zzQHBi06.js → bookings-first-name-rac-ChBkkkWm.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Ck8ODZZj.js → bookings-header-rac-ERfGeYyw.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-Bf6GZjrX.js → bookings-last-name-rac-CuTJ7Y8w.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DFDj9-BP.js → bookings-login-bar-rac-pudlQ67l.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-Bv1-qlMw.js → bookings-phone-rac-nLPnLRfS.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-D7B-s_XR.js → bookings-rich-text-rac-DOmGQlyG.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CiKYZvTz.js → checkbox-field-rac-DLazY-iO.js} +86 -86
  11. package/dist/component/{checkbox-group-field-headless-CV6U8eSj.js → checkbox-group-field-headless-CPyWmFBH.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-BQlPsFkN.js → checkbox-group-field-rac-Bir3gaI9.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-DS3C_O04.js → checkbox-group-rac-BGXUl-sJ.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-DOAYUQ_Q.js → checkbox-indicator-module-classes-Bqo0QILF.js} +1 -1
  15. package/dist/component/{checkbox-rac-dUEfjEya.js → checkbox-rac-D_wZVUFV.js} +1 -1
  16. package/dist/component/{contacts-address-rac-CpszOK8V.js → contacts-address-rac-CNldSQbf.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-8VQHFq-M.js → contacts-birthdate-rac-AVyldaRF.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BOBr0Kk7.js → contacts-company-rac-CiP1Ctpa.js} +1 -1
  19. package/dist/component/{contacts-email-rac-CTLHE5HL.js → contacts-email-rac-CzjMVEJZ.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-nYNH569s.js → contacts-first-name-rac-G0kE0HmA.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-BX1D0mI7.js → contacts-last-name-rac-cnTTtnMZ.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DKbEfOsH.js → contacts-phone-rac-DJ9oxox4.js} +1 -1
  23. package/dist/component/{contacts-position-rac-B0y-O-4j.js → contacts-position-rac-e0uQ-eqL.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-5yYJn7F0.js → contacts-subscribe-rac-D4J2x78f.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-BB5ngpkv.js → contacts-tax-id-rac-DwJuNH-C.js} +1 -1
  26. package/dist/component/{date-availability-C87SaTKG.js → date-availability-D2BSwZ_r.js} +1 -1
  27. package/dist/component/{date-input-field-rac-CS8QQO3m.js → date-input-field-rac-ztJ02C60.js} +42 -42
  28. package/dist/component/{date-input-rac-VHB7v5UL.js → date-input-rac-D-SFsC6P.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-Cri5p6Ms.js → date-picker-field-rac-DaNwsa8z.js} +15 -15
  30. package/dist/component/{date-picker-rac-B57G3x5E.js → date-picker-rac-Bn0sA6P1.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-4Qka-NnP.js → date-time-input-field-rac-D-ArMpcJ.js} +64 -64
  32. package/dist/component/{date-time-input-rac-DGCjjMFb.js → date-time-input-rac-qYLa3IDx.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-DWvCwPTc.js → dext-checkbox-group-rac-Dir6tyvo.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-33LSTC36.js → dext-checkbox-rac-ByiMc3BH.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-Bf7NykP3.js → dext-date-picker-rac-BwOozu5y.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-Bao0DdBz.js → dext-date-time-input-rac-CaJEzZa4.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-DmcOs3JV.js → dext-dropdown-rac-DJnMjggU.js} +1 -1
  38. package/dist/component/{dext-email-rac-BQZuGJyR.js → dext-email-rac-CF4SQ86l.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-BkRW3syI.js → dext-number-input-rac--3goVI8C.js} +1 -1
  40. package/dist/component/{dext-phone-rac-BQTtIO3M.js → dext-phone-rac-MYJYG040.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-8OX3bK1R.js → dext-radio-group-rac-Q2J5Hk5W.js} +4 -4
  42. package/dist/component/{dext-rating-input-rac-DzsAbe6_.js → dext-rating-input-rac-CAWhD-lI.js} +1 -1
  43. package/dist/component/{dext-tags-rac-vBL9kqB4.js → dext-tags-rac-DyxI5ooy.js} +4 -4
  44. package/dist/component/{dext-text-area-rac-DnaX_wQ4.js → dext-text-area-rac-CZpM-r49.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-D94mFw2C.js → dext-text-input-rac-Bv5Mhyw6.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BbGsxHGa.js → dext-url-input-rac-BkbTjbAI.js} +1 -1
  47. package/dist/component/{donation-rac-BMSQOEKY.js → donation-rac-DZjFeJFy.js} +36 -36
  48. package/dist/component/{dropdown-field-headless-DfV7Hu_x.js → dropdown-field-headless-C7l2TQYy.js} +16 -16
  49. package/dist/component/{dropdown-field-rac-DV8KVcfL.js → dropdown-field-rac-DOAlecw8.js} +5 -5
  50. package/dist/component/{dropdown-rac-CWxp-u5t.js → dropdown-rac-D8HtaeBe.js} +1 -1
  51. package/dist/component/{ecom-address-rac-DDUa9lKf.js → ecom-address-rac-B25o-GVv.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-C6Bl1HwZ.js → ecom-subscription-checkbox-rac-NvdWnD0v.js} +2 -2
  53. package/dist/component/{email-input-field-rac-DssxRa6A.js → email-input-field-rac-rWyojsu0.js} +19 -19
  54. package/dist/component/{events-repeater-rac-C-Y70-hO.js → events-repeater-rac-D2HvNt0y.js} +11 -11
  55. package/dist/component/{events-rsvp-rac-CH8cmC73.js → events-rsvp-rac-D4WLn0Bx.js} +4 -4
  56. package/dist/component/{field-error-headless-B-dJmWQP.js → field-error-headless-DU0YsEXR.js} +6 -6
  57. package/dist/component/{field-label-headless-BMozN-s1.js → field-label-headless-CvdTZi6i.js} +1 -1
  58. package/dist/component/field-rac.module-BIBNQEOK.js +25 -0
  59. package/dist/component/{file-upload-rac-q-JbJbUf.js → file-upload-rac-CMelyfA8.js} +68 -68
  60. package/dist/component/{fixed-payment-rac-BUeec_59.js → fixed-payment-rac-CewsqE-k.js} +9 -9
  61. package/dist/component/{form-D_BE2Fzt.js → form-D9IxiDXP.js} +2400 -2346
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +3 -3
  64. package/dist/component/{header-field-rac-DWDGXZ-1.js → header-field-rac-CYBfb_5D.js} +6 -6
  65. package/dist/component/{header-rac-DSJRq-aS.js → header-rac-BIq3DmbL.js} +1 -1
  66. package/dist/component/{image-choice-rac-CZhE0M_b.js → image-choice-rac-aOObRIMi.js} +12 -12
  67. package/dist/component/{index-COa1NdN9.js → index-BXqA4oNj.js} +15 -15
  68. package/dist/component/{index-CbQKmL2D.js → index-D-g3wQ-z.js} +43 -43
  69. package/dist/component/{isObjectLike-OXbnWiQZ.js → isObjectLike-BNDXzCto.js} +7 -7
  70. package/dist/component/{multiline-address-field-rac-uwvOu2s8.js → multiline-address-field-rac-BcTa7Von.js} +8 -8
  71. package/dist/component/{multiline-address-rac-dechT7TO.js → multiline-address-rac-Cd_BFreP.js} +1 -1
  72. package/dist/component/{number-input-field-rac-Dzd1zIZ3.js → number-input-field-rac-_JlH34_3.js} +9 -9
  73. package/dist/component/{number-input-rac-CEkIm28k.js → number-input-rac-CiM20ScT.js} +1 -1
  74. package/dist/component/{password-rac-CWitmbZm.js → password-rac-DrpXSY74.js} +32 -32
  75. package/dist/component/{payment-input-rac-CM0uC5on.js → payment-input-rac-RnMeVWDc.js} +15 -15
  76. package/dist/component/{phone-input-field-rac-fWGQuICi.js → phone-input-field-rac-nNp7D7gK.js} +39 -39
  77. package/dist/component/{phone-rac-Yz8_o8zI.js → phone-rac-B2JjPT2w.js} +1 -1
  78. package/dist/component/{product-list-rac-CEWFFKC_.js → product-list-rac-Cv_fjFn3.js} +28 -28
  79. package/dist/component/{quiz-radio-group-rac-D0x2dT8O.js → quiz-radio-group-rac-CNqF6Tq3.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-ByzyRWGZ.js → radio-button-module-classes-vqR4TN-z.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-Bp-gAa8G.js → radio-group-field-rac-Bpyr40q-.js} +5 -5
  82. package/dist/component/{radio-group-rac-v2iHQ7Do.js → radio-group-rac-DBLPP0YC.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-Cy2FMWGM.js → rating-input-field-rac-BOi0G37L.js} +10 -10
  84. package/dist/component/{rating-input-rac-BbVp3WB3.js → rating-input-rac-CxpmV0Pa.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-CD6SVCbh.js → rich-content-rac.module-Dmm9GyQq.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-BpNrx6yp.js → rich-text-field-rac-C466OrTf.js} +9 -9
  87. package/dist/component/{rich-text-rac-Dhy7uiP1.js → rich-text-rac-BvVxD7oJ.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-CAneRKHw.js → service-dropdown-rac-pmUKH0sP.js} +14 -14
  89. package/dist/component/{services-multi-choice-rac-D6sXFbh-.js → services-multi-choice-rac-B65i6q2D.js} +7 -7
  90. package/dist/component/signature-rac-BRyM06Vz.js +918 -0
  91. package/dist/component/{submit-button-rac-BXXTjOsT.js → submit-button-rac-DaCRjZlQ.js} +15 -15
  92. package/dist/component/{tags-field-rac-C5UfRny_.js → tags-field-rac-CEdfh-EQ.js} +17 -17
  93. package/dist/component/{tags-rac-B9CeCJ7N.js → tags-rac-CGSTQ0qK.js} +1 -1
  94. package/dist/component/{text-area-field-rac-CPRcMTLB.js → text-area-field-rac-C-EHPWwQ.js} +15 -15
  95. package/dist/component/{text-area-rac-DTP1F7-n.js → text-area-rac-Df1nSb2q.js} +1 -1
  96. package/dist/component/{text-input-field-rac-BNWvKfLB.js → text-input-field-rac-DmCZtBi_.js} +4 -4
  97. package/dist/component/{text-input-headless-CLQsDBPq.js → text-input-headless-DAxEZP1P.js} +8 -8
  98. package/dist/component/{text-input-rac-D-x0vJ11.js → text-input-rac-DgpO17dl.js} +1 -1
  99. package/dist/component/{time-input-rac-CDyfV8is.js → time-input-rac-Dld_tLub.js} +10 -10
  100. package/dist/component/{url-input-field-rac-DS-y2pYu.js → url-input-field-rac-DHZ6bpxZ.js} +10 -10
  101. package/dist/component/{url-input-rac-mPuawQc5.js → url-input-rac-CZlWy5RB.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-C8fUy9a7.js → use-dropdown-option-class-name-opBd-YJA.js} +3 -3
  103. package/dist/component/{use-dropdown-trigger-class-name-TB7azWxx.js → use-dropdown-trigger-class-name-BGQH0WCO.js} +10 -10
  104. package/dist/component/use-element-state-class-name-B2ecLjwN.js +20 -0
  105. package/dist/component/{use-hoverable-input-class-name-Dd0kMkOT.js → use-hoverable-input-class-name-B42rAp82.js} +3 -3
  106. package/dist/component/{use-service-options-base-CZXMLBQ0.js → use-service-options-base-D60-jNUT.js} +4 -4
  107. package/dist/component/use-text-input-class-name-DGpCdZ_e.js +6 -0
  108. package/dist/form.d.ts +11 -1
  109. package/package.json +23 -23
  110. package/dist/component/field-rac.module-DQxyEwK7.js +0 -26
  111. package/dist/component/signature-rac-D_mfewhJ.js +0 -794
  112. package/dist/component/use-element-state-class-name-BUWRj3G2.js +0 -22
  113. package/dist/component/use-text-input-class-name-BJ6Qm1bq.js +0 -6
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-Bp-gAa8G.js";
2
+ import { R as r } from "./radio-group-field-rac-Bpyr40q-.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,14 +1,14 @@
1
1
  import { RicosViewer as y } 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 { b9 as I, b6 as v, bj as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-D_BE2Fzt.js";
4
+ import { bh as I, be as v, br as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-D9IxiDXP.js";
5
5
  import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
6
6
  import { f as u, a as U } from "./find-child-C60k4CxG.js";
7
- import { D as j, E as z } from "./field-error-headless-B-dJmWQP.js";
8
- import { L as Q } from "./field-label-headless-BMozN-s1.js";
9
- import { E as Z } from "./error-icon-hZxQ6DEy.js";
10
- import { s as g } from "./field-rac.module-DQxyEwK7.js";
11
- import { u as J } from "./use-element-state-class-name-BUWRj3G2.js";
7
+ import { D as z, E as Q } from "./field-error-headless-DU0YsEXR.js";
8
+ import { L as Z } from "./field-label-headless-CvdTZi6i.js";
9
+ import { E as j } from "./error-icon-hZxQ6DEy.js";
10
+ import { s as g } from "./field-rac.module-BIBNQEOK.js";
11
+ import { u as J } from "./use-element-state-class-name-B2ecLjwN.js";
12
12
  const t = ({ children: a }) => {
13
13
  const { id: n, value: r, onChange: o, disabled: l, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => o(Number(D)), [
14
14
  o
@@ -81,11 +81,11 @@ const t = ({ children: a }) => {
81
81
  }, c) : null)));
82
82
  };
83
83
  b.Rating = F;
84
- t.Label = Q;
84
+ t.Label = Z;
85
85
  t.Ratings = b;
86
86
  t.Rating = F;
87
- t.Description = j;
88
- t.Error = z;
87
+ t.Description = z;
88
+ t.Error = Q;
89
89
  const W = (a) => /* @__PURE__ */ e.createElement("svg", {
90
90
  viewBox: "0 0 32 32",
91
91
  width: 32,
@@ -126,7 +126,7 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
126
126
  className: n
127
127
  }, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
128
128
  className: m(B, g.error)
129
- }, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
129
+ }, /* @__PURE__ */ e.createElement(j, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
130
130
  className: m(P, g.description)
131
131
  }, ee));
132
132
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-Cy2FMWGM.js";
2
+ import { R as e } from "./rating-input-field-rac-BOi0G37L.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 { b9 as a, b1 as i, bj as T } from "./form-D_BE2Fzt.js";
2
+ import { bh as a, b9 as i, br as T } from "./form-D9IxiDXP.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,21 +1,21 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { b9 as m, an as i, a5 as u, aM as R, aP as T } from "./form-D_BE2Fzt.js";
4
- import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-CD6SVCbh.js";
5
- const h = {
3
+ import { bh as m, au as u, ac as i, aU as R, aX as T } from "./form-D9IxiDXP.js";
4
+ import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-Dmm9GyQq.js";
5
+ const p = {
6
6
  colorPalette: T(),
7
7
  customStyles: R()
8
- }, f = ({ truncate: t = !0 } = {}) => {
8
+ }, P = ({ 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
- return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(i, {
11
- className: l(u, g.richContent),
10
+ return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(u, {
11
+ className: l(i, g.richContent),
12
12
  content: n,
13
- customTheme: h
14
- }), r && /* @__PURE__ */ e.createElement(p, {
13
+ customTheme: p
14
+ }), r && /* @__PURE__ */ e.createElement(h, {
15
15
  isTruncated: o,
16
16
  onClick: c
17
17
  })));
18
18
  };
19
19
  export {
20
- f as R
20
+ P as R
21
21
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-BpNrx6yp.js";
2
+ import { R as t } from "./rich-text-field-rac-C466OrTf.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,22 +1,22 @@
1
- import t, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
1
+ import t, { useRef as T, useMemo as _, useCallback as h, useEffect as b } from "react";
2
2
  import { RicosViewer as w } from "@wix/ricos/viewer";
3
3
  import E from "classnames";
4
- import { b5 as P, bj as A, F as M, b9 as y, b1 as U, ac as V, I as x, U as H, K as k, v as q, p as B } from "./form-D_BE2Fzt.js";
5
- import { u as W } from "./use-service-options-base-CZXMLBQ0.js";
6
- import { D as u } from "./dropdown-field-headless-DfV7Hu_x.js";
4
+ import { bd as P, br as A, F as M, bh as y, b9 as U, aj as V, I as x, U as H, K as k, v as q, p as B } from "./form-D9IxiDXP.js";
5
+ import { u as W } from "./use-service-options-base-D60-jNUT.js";
6
+ import { D as u } from "./dropdown-field-headless-C7l2TQYy.js";
7
7
  import { C as j } 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 a } from "./field-rac.module-DQxyEwK7.js";
11
- import { u as Y } from "./use-dropdown-option-class-name-C8fUy9a7.js";
12
- import { u as z } from "./use-dropdown-trigger-class-name-TB7azWxx.js";
10
+ import { s as a } from "./field-rac.module-BIBNQEOK.js";
11
+ import { u as Y } from "./use-dropdown-option-class-name-opBd-YJA.js";
12
+ import { u as z } from "./use-dropdown-trigger-class-name-BGQH0WCO.js";
13
13
  const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
14
- const { actions: o } = P(), { t: h } = A(), { addOther: n, addOtherLabel: p } = e, c = p || h("add-other.default-other-option-label"), i = T(!0), d = _(() => {
14
+ const { actions: o } = P(), { t: C } = A(), { addOther: n, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), i = T(!0), d = _(() => {
15
15
  var s;
16
16
  return ((s = e.options) == null ? void 0 : s.map((m) => m.id ?? "")) ?? [];
17
17
  }, [
18
18
  e.options
19
- ]), O = C((s) => n ? [
19
+ ]), O = h((s) => n ? [
20
20
  ...s,
21
21
  {
22
22
  value: c,
@@ -30,7 +30,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
30
30
  fieldType: M.SERVICES_DROPDOWN,
31
31
  isEditor: e.isEditor,
32
32
  postProcessOptions: O
33
- }), R = C(async () => {
33
+ }), R = h(async () => {
34
34
  if (i.current && (o != null && o.fetchServices) && d.length > 0) {
35
35
  i.current = !1, D(!0);
36
36
  let s;
@@ -68,12 +68,12 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
68
68
  g,
69
69
  e.isEditor
70
70
  ]);
71
- const v = C(() => {
71
+ const v = h(() => {
72
72
  e.onFocus && e.onFocus(), i.current && R();
73
73
  }, [
74
74
  R,
75
75
  e.onFocus
76
- ]), N = C(
76
+ ]), N = h(
77
77
  (s) => {
78
78
  e.onChange && e.onChange(s), i.current = !0;
79
79
  },
@@ -91,7 +91,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
91
91
  shouldRender: I
92
92
  };
93
93
  }, r = ({ children: e }) => {
94
- const o = y(), { addOther: h } = o, n = U(), p = o.isEditor || n.isEditor || n.isComposer, { isLoading: c, options: i, isEmpty: d, onFocus: O, onChange: f, shouldRender: l } = J({
94
+ const o = y(), { addOther: C } = o, n = U(), p = o.isEditor || n.isEditor || n.isComposer, { isLoading: c, options: i, isEmpty: d, onFocus: O, onChange: f, shouldRender: l } = J({
95
95
  ...o,
96
96
  isEditor: p
97
97
  }), S = _(() => ({
@@ -107,7 +107,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
107
107
  O,
108
108
  f
109
109
  ]);
110
- return !p && d && !h || !l ? null : /* @__PURE__ */ t.createElement(V.Provider, {
110
+ return !p && d && !C || !l ? null : /* @__PURE__ */ t.createElement(V.Provider, {
111
111
  value: {
112
112
  v2: S
113
113
  }
@@ -1,15 +1,15 @@
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, b9 as d, ac as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } from "./form-D_BE2Fzt.js";
5
- import { u as v } from "./use-service-options-base-CZXMLBQ0.js";
6
- import { C as i } from "./checkbox-group-field-headless-CV6U8eSj.js";
4
+ import { F as R, bh as d, aj as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } from "./form-D9IxiDXP.js";
5
+ import { u as v } from "./use-service-options-base-D60-jNUT.js";
6
+ import { C as i } from "./checkbox-group-field-headless-CPyWmFBH.js";
7
7
  import { E as x } from "./error-icon-hZxQ6DEy.js";
8
- import { C as P } from "./checkbox-indicator-module-classes-DOAYUQ_Q.js";
9
- import { s as n } from "./field-rac.module-DQxyEwK7.js";
8
+ import { C as P } from "./checkbox-indicator-module-classes-Bqo0QILF.js";
9
+ import { s as n } from "./field-rac.module-BIBNQEOK.js";
10
10
  import { o as _ } from "./options-rac.module-_THNq6Qq.js";
11
- import { u as T } from "./use-element-state-class-name-BUWRj3G2.js";
12
- import { u as k } from "./use-text-input-class-name-BJ6Qm1bq.js";
11
+ import { u as T } from "./use-element-state-class-name-B2ecLjwN.js";
12
+ import { u as k } from "./use-text-input-class-name-DGpCdZ_e.js";
13
13
  const y = (s) => {
14
14
  var C;
15
15
  const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({