@wix/form-elements 1.62.0 → 1.63.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 (104) hide show
  1. package/dist/component/{appointment-rac-Dqib2upI.js → appointment-rac-B1VVk_Ui.js} +3 -3
  2. package/dist/component/{bookings-address-rac-E-qq4-KG.js → bookings-address-rac-IQeHFdHT.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DA_Hwn2j.js → bookings-email-rac-z26A790r.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-o1n3lnRo.js → bookings-first-name-rac-Djf0GPP4.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DQ0YvhxZ.js → bookings-header-rac-CXOzAOpz.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BqL_84Sg.js → bookings-last-name-rac-CbB8alM9.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CAN7roRc.js → bookings-login-bar-rac-CXrLx7Pn.js} +16 -16
  8. package/dist/component/{bookings-phone-rac-CCJVdvkd.js → bookings-phone-rac-DGYx7h5g.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CCklquEC.js → bookings-rich-text-rac-viJG57XF.js} +1 -1
  10. package/dist/component/checkbox-field-rac-e-RAmupX.js +1312 -0
  11. package/dist/component/{checkbox-group-field-headless-EGVW3vG0.js → checkbox-group-field-headless-Cvia4lL6.js} +30 -30
  12. package/dist/component/{checkbox-group-field-rac-DUDWNOwV.js → checkbox-group-field-rac-BXxk90dk.js} +1 -1
  13. package/dist/component/{checkbox-group-rac-DWPClKpf.js → checkbox-group-rac-CDfDTWqz.js} +1 -1
  14. package/dist/component/{checkbox-rac-CvbOws2U.js → checkbox-rac-BRBKYD_5.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CWFHC5LT.js → contacts-address-rac-BtWWQi77.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DPmJPp8M.js → contacts-birthdate-rac-DaEUXJTf.js} +1 -1
  17. package/dist/component/{contacts-company-rac-UWP9uDqI.js → contacts-company-rac-IgRyjtcM.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BCkkWYhr.js → contacts-email-rac-BS1MDrMk.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-KNRf92yT.js → contacts-first-name-rac-BAvXypDF.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C_EotEpo.js → contacts-last-name-rac-C289RYPl.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DJGEWLsl.js → contacts-phone-rac-DIpyskam.js} +1 -1
  22. package/dist/component/{contacts-position-rac-s1pZ662O.js → contacts-position-rac-nPeh3lKU.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-D_2wIX9p.js → contacts-subscribe-rac-Ci5OLk68.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-3MUvKEqW.js → contacts-tax-id-rac-C4WB-SR0.js} +1 -1
  25. package/dist/component/{date-availability-CRsSX5_d.js → date-availability-HHjPx4Uv.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DPo7waqI.js → date-input-field-rac-GFgFcpX2.js} +17 -17
  27. package/dist/component/{date-input-rac-DsY8ehb1.js → date-input-rac-B9BUEIA-.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BtzlxVDB.js → date-picker-field-rac-BfjYIIuY.js} +4 -4
  29. package/dist/component/{date-picker-rac-C-Aw6W87.js → date-picker-rac-Bd2UN0ZF.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-zre1vJ2m.js → date-time-input-field-rac-CAXnxLQP.js} +78 -78
  31. package/dist/component/{date-time-input-rac-CUvTUzbT.js → date-time-input-rac-BuJ3Awlh.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-D4mhJU8E.js → dext-checkbox-group-rac-DKp4cBVa.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BeYmKpAZ.js → dext-checkbox-rac-BMu_k06A.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-Mr0M3sNQ.js → dext-date-picker-rac-L3sdldhT.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-dgxfrHUw.js → dext-date-time-input-rac-UmabFzDN.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CdZOoA5M.js → dext-dropdown-rac-DbjgYaG-.js} +1 -1
  37. package/dist/component/{dext-email-rac-TBiHlKjv.js → dext-email-rac-rNudrOOK.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-S78swyZ9.js → dext-number-input-rac-hw1FTrJL.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BhIaSHez.js → dext-phone-rac-DrZ_Vwv2.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B4xG4N8A.js → dext-radio-group-rac-DAt2ax-I.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-Bp2Pi5cP.js → dext-rating-input-rac-BW2Ike11.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Bnjgmyk-.js → dext-tags-rac-DDzwlKrR.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-f1nJTM_n.js → dext-text-area-rac-D0xf4z3z.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B9m6oI-e.js → dext-text-input-rac-Da04OLmq.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CfEUdRdY.js → dext-url-input-rac-B-g4xTqh.js} +1 -1
  46. package/dist/component/{donation-rac-BqKbQD_H.js → donation-rac-gKeq72jg.js} +10 -10
  47. package/dist/component/{dropdown-field-headless-CzoD076g.js → dropdown-field-headless-Js5TxdU4.js} +14 -14
  48. package/dist/component/{dropdown-field-rac-5kD98Ubc.js → dropdown-field-rac-BDxcvX00.js} +1 -1
  49. package/dist/component/{dropdown-rac-C9NpsRYi.js → dropdown-rac-B5UHNzV-.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DdvJEnAO.js → ecom-address-rac-0zm4bX37.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-D7Lf1ETL.js → ecom-subscription-checkbox-rac-DCXoI33l.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DUordV5X.js → email-input-field-rac-svf6hUHF.js} +2 -2
  53. package/dist/component/{events-repeater-rac-B1yDrnvJ.js → events-repeater-rac-DMIqzuVK.js} +29 -29
  54. package/dist/component/{events-rsvp-rac-B65NtAMH.js → events-rsvp-rac-B_YD4ckO.js} +1 -1
  55. package/dist/component/{field-error-headless-DP4WSQU3.js → field-error-headless-DTKnr5Zx.js} +6 -6
  56. package/dist/component/{field-label-headless-BKmi7Fjg.js → field-label-headless-DV4aNd5Y.js} +5 -5
  57. package/dist/component/{file-upload-rac-DAg_G0_l.js → file-upload-rac-lGKJjG3m.js} +49 -49
  58. package/dist/component/{fixed-payment-rac-yO1w1gE2.js → fixed-payment-rac-BVS6glii.js} +13 -13
  59. package/dist/component/{form-D6A2hUbV.js → form-DzjdnO7t.js} +2262 -2259
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-D3Bi6tTS.js → header-field-rac-tzBH-8Yh.js} +5 -5
  63. package/dist/component/{header-rac-Blv89pdS.js → header-rac-6thQAvVF.js} +1 -1
  64. package/dist/component/{image-choice-rac-BLUZRNm0.js → image-choice-rac-Dx1b-saW.js} +23 -23
  65. package/dist/component/{index-BiYk1mJi.js → index-DIP7KB8P.js} +2 -2
  66. package/dist/component/{index-Cv3_acT1.js → index-Lnx0829a.js} +4 -4
  67. package/dist/component/isObjectLike-B_1KizZV.js +86 -0
  68. package/dist/component/multiline-address-field-rac-BY2SUp2d.js +1613 -0
  69. package/dist/component/{multiline-address-rac-B9yHNebZ.js → multiline-address-rac-BL8Yp4F0.js} +1 -1
  70. package/dist/component/{number-input-field-rac-SaC7jFUi.js → number-input-field-rac-x0yFmXbe.js} +14 -14
  71. package/dist/component/{number-input-rac-KYcJJPrs.js → number-input-rac-pJXc2YsD.js} +1 -1
  72. package/dist/component/{password-rac-CD5bSL2g.js → password-rac-B4XCP64b.js} +19 -19
  73. package/dist/component/{payment-input-rac-BlAscmFz.js → payment-input-rac-CZdOAjK4.js} +12 -12
  74. package/dist/component/{phone-input-field-rac-D-AosrgV.js → phone-input-field-rac-DO_V5Z_T.js} +19 -19
  75. package/dist/component/{phone-rac-DXLYlz5G.js → phone-rac-D16nLDjP.js} +1 -1
  76. package/dist/component/{product-list-rac-CGt4Gnj4.js → product-list-rac-DER8gVqy.js} +44 -44
  77. package/dist/component/{quiz-radio-group-rac-DaStzNZZ.js → quiz-radio-group-rac-BgTmHHi4.js} +1 -1
  78. package/dist/component/{radio-group-field-rac-D8NS7qDq.js → radio-group-field-rac-Dt2pU0VV.js} +1 -1
  79. package/dist/component/{radio-group-field-rac.module-wK26tCZq.js → radio-group-field-rac.module--sO0VqCA.js} +12 -12
  80. package/dist/component/{radio-group-rac-HalDjwk1.js → radio-group-rac-CqCmtkNQ.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-BBhMkSyL.js → rating-input-field-rac-xDrHHcL2.js} +10 -10
  82. package/dist/component/{rating-input-rac-BpgFnNoD.js → rating-input-rac-Bo5E9N87.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-BgJ2fteu.js → rich-content-rac.module-CJXbNca9.js} +4 -4
  84. package/dist/component/{rich-text-field-rac-BZfCgvHc.js → rich-text-field-rac-CkV0Z9F-.js} +5 -5
  85. package/dist/component/{rich-text-rac-CG3V04Gr.js → rich-text-rac-59DbKpXz.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-Bc_y-R5O.js → service-dropdown-rac-BLnflnUr.js} +25 -25
  87. package/dist/component/{services-multi-choice-rac-BeBdZpRV.js → services-multi-choice-rac-C-bFjwx8.js} +6 -6
  88. package/dist/component/{signature-rac-DNdpHxFp.js → signature-rac-Bb5IaS28.js} +15 -15
  89. package/dist/component/{submit-button-rac-Bogk1xYc.js → submit-button-rac-Bjyi8sUA.js} +12 -12
  90. package/dist/component/{tags-field-rac-COJG3T_9.js → tags-field-rac-C_VO3_69.js} +12 -12
  91. package/dist/component/{tags-rac-DsaUqJ4w.js → tags-rac-CKiutCWe.js} +1 -1
  92. package/dist/component/{text-area-field-rac-BVq5p83p.js → text-area-field-rac-Cg-vIhFe.js} +12 -12
  93. package/dist/component/{text-area-rac-D-uiOy62.js → text-area-rac-tMFx38UD.js} +1 -1
  94. package/dist/component/{text-input-field-rac-wYvY_eBR.js → text-input-field-rac-CgN_2hOD.js} +1 -1
  95. package/dist/component/{text-input-headless-BsL6OYhp.js → text-input-headless-CkhvKrFp.js} +6 -6
  96. package/dist/component/{text-input-rac-Bu8kXhrN.js → text-input-rac-BsyBgd3b.js} +1 -1
  97. package/dist/component/{time-input-rac-PWXUi1qL.js → time-input-rac-BxRVJtHE.js} +12 -12
  98. package/dist/component/{url-input-field-rac-B4qgrssx.js → url-input-field-rac-B_1yVniS.js} +12 -12
  99. package/dist/component/{url-input-rac-Bo51kTsG.js → url-input-rac-D8VrKYVe.js} +1 -1
  100. package/dist/component/{use-service-options-base-Du6B6AP9.js → use-service-options-base-Ci9gIluo.js} +7 -7
  101. package/package.json +2 -14
  102. package/dist/component/checkbox-field-rac-DhAEMdL9.js +0 -625
  103. package/dist/component/isObject-BAwJJxQ3.js +0 -34
  104. package/dist/component/multiline-address-field-rac-_Sb56AEM.js +0 -1574
@@ -1,15 +1,15 @@
1
1
  import s, { useRef as y, useState as V, useEffect as S, useCallback as B } from "react";
2
- import { RadioGroup as T, RadioField as k, RadioButton as q, TextField as G, Input as M } from "react-aria-components";
3
- import { ag as C, ad as P, aq as F, aa as $, ai as x } from "./form-D6A2hUbV.js";
2
+ import { RadioGroup as T, RadioField as k, RadioButton as G, TextField as M, Input as P } from "react-aria-components";
3
+ import { ah as C, ae as $, ar as F, ab as q, aj as x } from "./form-DzjdnO7t.js";
4
4
  import { f as d, a as g } from "./find-child-C60k4CxG.js";
5
- import { D as U, E as A } from "./field-error-headless-DP4WSQU3.js";
6
- import { L as H } from "./field-label-headless-BKmi7Fjg.js";
7
- import { N as j } from "./options-layout-constants-DEfIEJWD.js";
5
+ import { D as U, E as j } from "./field-error-headless-DTKnr5Zx.js";
6
+ import { L as A } from "./field-label-headless-DV4aNd5Y.js";
7
+ import { N as H } from "./options-layout-constants-DEfIEJWD.js";
8
8
  const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ?? o.label) === t), R = (e, t) => !!t && !w(e, t), z = (e, t) => {
9
9
  const a = t ? t.length + 2 : 0;
10
10
  return e.slice(a);
11
11
  }, i = ({ children: e }) => {
12
- const { id: t, value: o, onChange: a, disabled: O, readOnly: m, required: f, onBlur: b, onFocus: E, hasError: v, FieldLayout: l, options: r } = C(), { inputId: c, labelId: I, ariaDescribedBy: n } = P(), u = d(e, i.Label), h = d(e, i.Options), _ = d(e, i.Description), N = d(e, i.Error), D = R(r, o) ? L : o || null;
12
+ const { id: t, value: o, onChange: a, disabled: O, readOnly: m, required: f, onBlur: b, onFocus: E, hasError: v, FieldLayout: l, options: r } = C(), { inputId: c, labelId: I, ariaDescribedBy: n } = $(), u = d(e, i.Label), h = d(e, i.Options), _ = d(e, i.Description), N = d(e, i.Error), D = R(r, o) ? L : o || null;
13
13
  return /* @__PURE__ */ s.createElement(l, {
14
14
  fieldId: t,
15
15
  renderLabel: () => g(u, {
@@ -31,7 +31,7 @@ const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ??
31
31
  renderDescription: () => /* @__PURE__ */ s.createElement(s.Fragment, null, N, _)
32
32
  });
33
33
  }, J = ({ children: e, className: t }) => {
34
- const { options: o, addOther: a, addOtherLabel: O, id: m, numberOfColumns: f, hasError: b } = C(), { t: E } = F(), { isMobile: v } = $(), l = d(e, i.Option), r = y(null), c = O || E("add-other.default-other-option-label") || L, I = v ? j.ONE : f;
34
+ const { options: o, addOther: a, addOtherLabel: O, id: m, numberOfColumns: f, hasError: b } = C(), { t: E } = F(), { isMobile: v } = q(), l = d(e, i.Option), r = y(null), c = O || E("add-other.default-other-option-label") || L, I = v ? H.ONE : f;
35
35
  return x(() => {
36
36
  var n;
37
37
  (n = r.current) == null || n.focus();
@@ -58,7 +58,7 @@ const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ??
58
58
  className: t
59
59
  }, /* @__PURE__ */ s.createElement(k, {
60
60
  value: a
61
- }, /* @__PURE__ */ s.createElement(q, {
61
+ }, /* @__PURE__ */ s.createElement(G, {
62
62
  ref: f,
63
63
  className: n
64
64
  }, r, g(v, {
@@ -88,13 +88,13 @@ const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ??
88
88
  a,
89
89
  c
90
90
  ]);
91
- return /* @__PURE__ */ s.createElement(G, {
91
+ return /* @__PURE__ */ s.createElement(M, {
92
92
  "aria-label": c,
93
93
  value: I,
94
94
  onChange: u,
95
95
  isDisabled: f,
96
96
  isReadOnly: b
97
- }, /* @__PURE__ */ s.createElement(M, {
97
+ }, /* @__PURE__ */ s.createElement(P, {
98
98
  ref: l,
99
99
  className: e,
100
100
  placeholder: O,
@@ -105,11 +105,11 @@ p.Label = K;
105
105
  p.Input = Q;
106
106
  p.Control = W;
107
107
  p.OtherInput = X;
108
- i.Label = H;
108
+ i.Label = A;
109
109
  i.Options = J;
110
110
  i.Option = p;
111
111
  i.Description = U;
112
- i.Error = A;
112
+ i.Error = j;
113
113
  const Y = "_labelImage_45itv_1", Z = "_options_45itv_26", ee = "_option_45itv_26", te = "_optionInput_45itv_46", oe = "_optionControl_45itv_64", ne = "_optionLabel_45itv_142", de = {
114
114
  labelImage: Y,
115
115
  options: Z,
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-D8NS7qDq.js";
2
+ import { R as r } from "./radio-group-field-rac-Dt2pU0VV.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,11 +1,11 @@
1
1
  import { RicosViewer as D } from "@wix/ricos/viewer";
2
2
  import d from "classnames";
3
3
  import e, { useCallback as N, useState as y, useRef as O } from "react";
4
- import { RadioGroup as A, RadioField as w, RadioButton as M } from "react-aria-components";
5
- import { ag as v, ad as I, aq as B } from "./form-D6A2hUbV.js";
4
+ import { ah as v, ae as I, ar as A } from "./form-DzjdnO7t.js";
5
+ import { RadioGroup as w, RadioField as M, RadioButton as B } from "react-aria-components";
6
6
  import { f as m, a as T } from "./find-child-C60k4CxG.js";
7
- import { D as H, E as q } from "./field-error-headless-DP4WSQU3.js";
8
- import { L as P } from "./field-label-headless-BKmi7Fjg.js";
7
+ import { D as H, E as P } from "./field-error-headless-DTKnr5Zx.js";
8
+ import { L as q } from "./field-label-headless-DV4aNd5Y.js";
9
9
  import { E as x } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as u } from "./field-rac.module-DtugsLiL.js";
11
11
  import { r as k, H as z, G, l as Q, h as U } from "./form-element-classes-Bi-nNM8q.js";
@@ -16,7 +16,7 @@ const t = ({ children: r }) => {
16
16
  return /* @__PURE__ */ e.createElement(E, {
17
17
  fieldId: n,
18
18
  renderLabel: () => g,
19
- renderInput: () => /* @__PURE__ */ e.createElement(A, {
19
+ renderInput: () => /* @__PURE__ */ e.createElement(w, {
20
20
  "aria-labelledby": p,
21
21
  value: o ? String(o) : void 0,
22
22
  onChange: R,
@@ -62,9 +62,9 @@ const t = ({ children: r }) => {
62
62
  whiteSpace: "nowrap"
63
63
  }, _ = ({ className: r, children: n, ...o }) => {
64
64
  const { value: s, isSelected: l, onHoverChange: c, label: i } = o;
65
- return /* @__PURE__ */ e.createElement(w, {
65
+ return /* @__PURE__ */ e.createElement(M, {
66
66
  value: s
67
- }, /* @__PURE__ */ e.createElement(M, {
67
+ }, /* @__PURE__ */ e.createElement(B, {
68
68
  className: r,
69
69
  "data-active": l || void 0,
70
70
  onHoverChange: c
@@ -75,11 +75,11 @@ const t = ({ children: r }) => {
75
75
  }, i) : null));
76
76
  };
77
77
  h.Rating = _;
78
- t.Label = P;
78
+ t.Label = q;
79
79
  t.Ratings = h;
80
80
  t.Rating = _;
81
81
  t.Description = H;
82
- t.Error = q;
82
+ t.Error = P;
83
83
  const j = (r) => /* @__PURE__ */ e.createElement("svg", {
84
84
  viewBox: "0 0 32 32",
85
85
  width: 32,
@@ -107,7 +107,7 @@ const j = (r) => /* @__PURE__ */ e.createElement("svg", {
107
107
  content: r,
108
108
  locale: n
109
109
  }), i2 = () => {
110
- const { t: r } = B();
110
+ const { t: r } = A();
111
111
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
112
112
  className: d(k, u.label)
113
113
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-BBhMkSyL.js";
2
+ import { R as e } from "./rating-input-field-rac-xDrHHcL2.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 { ag as a, aa as i, aq as T } from "./form-D6A2hUbV.js";
2
+ import { ah as a, ab as i, ar as T } from "./form-DzjdnO7t.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";
@@ -14,13 +14,13 @@ const O = ({ children: e }) => {
14
14
  }),
15
15
  renderDescription: () => null
16
16
  });
17
- }, g = "_toggleTruncate_5jt03_1", f = {
18
- toggleTruncate: g
17
+ }, f = "_toggleTruncate_5jt03_1", g = {
18
+ toggleTruncate: f
19
19
  }, p = ({ isTruncated: e, onClick: t }) => {
20
20
  const { t: n } = T(), o = n(e ? "field.rich-text.read-more-button.label" : "field.rich-text.read-less-button.label"), s = e ? r.TOGGLE_TRUNCATE_BUTTON_READ_MORE : r.TOGGLE_TRUNCATE_BUTTON_READ_LESS;
21
21
  return /* @__PURE__ */ c.createElement(d, {
22
22
  onPress: t,
23
- className: f.toggleTruncate,
23
+ className: g.toggleTruncate,
24
24
  "data-hook": s
25
25
  }, o);
26
26
  };
@@ -1,18 +1,18 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { ag as m, L as i, U as u, Y as R } from "./form-D6A2hUbV.js";
4
- import { u as T, R as C, s as d, T as g } from "./rich-content-rac.module-BgJ2fteu.js";
5
- import { Y as p } from "./form-element-classes-Bi-nNM8q.js";
3
+ import { ah as m, L as i, W as u, Z as R } from "./form-DzjdnO7t.js";
4
+ import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-CJXbNca9.js";
5
+ import { Y as g } from "./form-element-classes-Bi-nNM8q.js";
6
6
  const h = {
7
7
  colorPalette: R(),
8
8
  customStyles: u()
9
9
  }, x = ({ truncate: t = !0 } = {}) => {
10
10
  const { content: a, maxShownParagraphs: s } = m(), { displayedContent: n, isTruncated: o, isTruncateButtonShown: r, toggleTruncate: c } = T(a, t ? s : void 0);
11
11
  return /* @__PURE__ */ e.createElement(C, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(i, {
12
- className: l(p, d.richContent),
12
+ className: l(g, d.richContent),
13
13
  content: n,
14
14
  customTheme: h
15
- }), r && /* @__PURE__ */ e.createElement(g, {
15
+ }), r && /* @__PURE__ */ e.createElement(p, {
16
16
  isTruncated: o,
17
17
  onClick: c
18
18
  })));
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-BZfCgvHc.js";
2
+ import { R as t } from "./rich-text-field-rac-CkV0Z9F-.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,18 +1,18 @@
1
- import t, { useRef as P, useMemo as R, useCallback as S, useEffect as T } from "react";
1
+ import t, { useRef as P, useMemo as g, useCallback as S, useEffect as T } from "react";
2
2
  import { RicosViewer as A } from "@wix/ricos/viewer";
3
3
  import u from "classnames";
4
- import { ac as w, aq as b, F as M, ag as y, aa as q, h as H } from "./form-D6A2hUbV.js";
5
- import { u as U } from "./use-service-options-base-Du6B6AP9.js";
6
- import { D as d } from "./dropdown-field-headless-CzoD076g.js";
7
- import { C as V } from "./chevron-down-icon-CcpVm6B-.js";
4
+ import { ad as w, ar as b, F as M, ah as y, ab as H, h as U } from "./form-DzjdnO7t.js";
5
+ import { u as V } from "./use-service-options-base-Ci9gIluo.js";
6
+ import { D as m } from "./dropdown-field-headless-Js5TxdU4.js";
7
+ import { C as q } from "./chevron-down-icon-CcpVm6B-.js";
8
8
  import { E as x } from "./error-icon-hZxQ6DEy.js";
9
9
  import { H as k } from "./custom-focus-class-_483Pkwp.js";
10
10
  import { s as n } from "./field-rac.module-DtugsLiL.js";
11
11
  import { r as B, H as W, q as Q, u as Y, l as j, h as z } from "./form-element-classes-Bi-nNM8q.js";
12
12
  const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
13
- const { actions: r } = w(), { t: C } = b(), { addOther: i, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = P(!0), E = R(() => {
13
+ const { actions: r } = w(), { t: C } = b(), { addOther: i, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = P(!0), E = g(() => {
14
14
  var s;
15
- return ((s = e.options) == null ? void 0 : s.map((m) => m.id ?? "")) ?? [];
15
+ return ((s = e.options) == null ? void 0 : s.map((d) => d.id ?? "")) ?? [];
16
16
  }, [
17
17
  e.options
18
18
  ]), O = S((s) => i ? [
@@ -25,11 +25,11 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
25
25
  ] : s, [
26
26
  i,
27
27
  c
28
- ]), { isLoading: f, options: l, isEmpty: D, shouldRender: I, setIsLoading: F, setOptions: L, setIsEmpty: h, processOptions: _ } = U({
28
+ ]), { isLoading: f, options: l, isEmpty: D, shouldRender: I, setIsLoading: F, setOptions: L, setIsEmpty: h, processOptions: _ } = V({
29
29
  fieldType: M.SERVICES_DROPDOWN,
30
30
  isEditor: e.isEditor,
31
31
  postProcessOptions: O
32
- }), g = S(async () => {
32
+ }), R = S(async () => {
33
33
  if (a.current && (r != null && r.fetchServices) && E.length > 0) {
34
34
  a.current = !1, F(!0);
35
35
  let s;
@@ -37,12 +37,12 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
37
37
  s = await r.fetchServices({
38
38
  serviceIds: E
39
39
  });
40
- } catch (m) {
41
- console.error(m);
40
+ } catch (d) {
41
+ console.error(d);
42
42
  }
43
43
  if (s) {
44
- const m = _(s);
45
- h(!i && m.length === 0), L(m);
44
+ const d = _(s);
45
+ h(!i && d.length === 0), L(d);
46
46
  } else
47
47
  a.current = !0;
48
48
  F(!1);
@@ -68,9 +68,9 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
68
68
  e.isEditor
69
69
  ]);
70
70
  const v = S(() => {
71
- e.onFocus && e.onFocus(), a.current && g();
71
+ e.onFocus && e.onFocus(), a.current && R();
72
72
  }, [
73
- g,
73
+ R,
74
74
  e.onFocus
75
75
  ]), N = S(
76
76
  (s) => {
@@ -90,10 +90,10 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
90
90
  shouldRender: I
91
91
  };
92
92
  }, o = ({ children: e }) => {
93
- const r = y(), { addOther: C } = r, i = q(), p = r.isEditor || i.isEditor || i.isComposer, { isLoading: c, options: a, isEmpty: E, onFocus: O, onChange: f, shouldRender: l } = J({
93
+ const r = y(), { addOther: C } = r, i = H(), p = r.isEditor || i.isEditor || i.isComposer, { isLoading: c, options: a, isEmpty: E, onFocus: O, onChange: f, shouldRender: l } = J({
94
94
  ...r,
95
95
  isEditor: p
96
- }), D = R(() => ({
96
+ }), D = g(() => ({
97
97
  ...r,
98
98
  options: c ? [] : a,
99
99
  isLoading: c,
@@ -106,17 +106,17 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
106
106
  O,
107
107
  f
108
108
  ]);
109
- return !p && E && !C || !l ? null : /* @__PURE__ */ t.createElement(H.Provider, {
109
+ return !p && E && !C || !l ? null : /* @__PURE__ */ t.createElement(U.Provider, {
110
110
  value: {
111
111
  v2: D
112
112
  }
113
- }, /* @__PURE__ */ t.createElement(d, null, e));
113
+ }, /* @__PURE__ */ t.createElement(m, null, e));
114
114
  };
115
- o.Label = d.Label;
116
- o.Trigger = d.Trigger;
117
- o.Options = d.Options;
118
- o.Description = d.Description;
119
- o.Error = d.Error;
115
+ o.Label = m.Label;
116
+ o.Trigger = m.Trigger;
117
+ o.Options = m.Options;
118
+ o.Description = m.Description;
119
+ o.Error = m.Error;
120
120
  const K = ({ content: e, locale: r }) => /* @__PURE__ */ t.createElement(A, {
121
121
  content: e,
122
122
  locale: r
@@ -126,7 +126,7 @@ const K = ({ content: e, locale: r }) => /* @__PURE__ */ t.createElement(A, {
126
126
  className: u(W, n.requiredMark)
127
127
  })), /* @__PURE__ */ t.createElement(o.Trigger, {
128
128
  className: u(Q, n.input, n.dropdownTrigger)
129
- }, /* @__PURE__ */ t.createElement(V, {
129
+ }, /* @__PURE__ */ t.createElement(q, {
130
130
  className: n.dropdownIcon
131
131
  })), /* @__PURE__ */ t.createElement(o.Options, {
132
132
  className: u(Y, n.selectPopover, n.dropdownPopover)
@@ -1,16 +1,16 @@
1
1
  import e, { useEffect as _, useMemo as C } from "react";
2
2
  import { RicosViewer as I } from "@wix/ricos/viewer";
3
3
  import s from "classnames";
4
- import { F as R, ag as F, h as d } from "./form-D6A2hUbV.js";
5
- import { u as D } from "./use-service-options-base-Du6B6AP9.js";
6
- import { C as i } from "./checkbox-group-field-headless-EGVW3vG0.js";
7
- import { E as h } from "./error-icon-hZxQ6DEy.js";
4
+ import { F as R, ah as F, h as d } from "./form-DzjdnO7t.js";
5
+ import { u as h } from "./use-service-options-base-Ci9gIluo.js";
6
+ import { C as i } from "./checkbox-group-field-headless-Cvia4lL6.js";
7
+ import { E as D } from "./error-icon-hZxQ6DEy.js";
8
8
  import { s as n } from "./field-rac.module-DtugsLiL.js";
9
9
  import { r as f, H as M, L as N, M as b, N as A, q as v, l as x, h as T } from "./form-element-classes-Bi-nNM8q.js";
10
10
  import { o as L } from "./options-rac.module-KM-VT_KY.js";
11
11
  const k = (o) => {
12
12
  var S;
13
- const { isLoading: r, options: a, isEmpty: c, shouldRender: E, setOptions: l, setIsEmpty: m, setHasInitialDataLoaded: p } = D({
13
+ const { isLoading: r, options: a, isEmpty: c, shouldRender: E, setOptions: l, setIsEmpty: m, setHasInitialDataLoaded: p } = h({
14
14
  fieldType: R.SERVICES_MULTI_CHOICE,
15
15
  isEditor: o.isEditor
16
16
  }), u = (S = o.options) == null ? void 0 : S.every((O) => O.label && O.id);
@@ -68,7 +68,7 @@ const P = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(I, {
68
68
  inputClassName: s(v, n.input)
69
69
  }))), /* @__PURE__ */ e.createElement(t.Error, {
70
70
  className: s(x, n.error)
71
- }, /* @__PURE__ */ e.createElement(h, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
71
+ }, /* @__PURE__ */ e.createElement(D, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
72
72
  className: s(T, n.description)
73
73
  }, P)), j = () => /* @__PURE__ */ e.createElement(y, null);
74
74
  export {
@@ -4,15 +4,15 @@ import v from "classnames";
4
4
  import { useHover as ve, useFocusRing as xe, mergeProps as Se } from "react-aria";
5
5
  import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as _e, RadioField as Pe, RadioButton as Ne } from "react-aria-components";
6
6
  import he from "signature_pad";
7
- import { y as Ue, ac as Oe, aa as Be, ao as ge, E as ce, e as q, ag as A, ad as H, ai as Ee, aq as Me } from "./form-D6A2hUbV.js";
7
+ import { z as Ue, ad as Oe, ab as Be, ap as ge, E as ce, e as G, ah as A, ae as H, aj as Ee, ar as Me } from "./form-DzjdnO7t.js";
8
8
  import { f as T, a as F } from "./find-child-C60k4CxG.js";
9
- import { D as We, E as He } from "./field-error-headless-DP4WSQU3.js";
10
- import { L as Ye } from "./field-label-headless-BKmi7Fjg.js";
9
+ import { D as We, E as He } from "./field-error-headless-DTKnr5Zx.js";
10
+ import { L as Ye } from "./field-label-headless-DV4aNd5Y.js";
11
11
  import { D as ke } from "./data-hooks-Dkw1pbRj.js";
12
12
  import { E as $e } from "./error-icon-hZxQ6DEy.js";
13
13
  import { s as V } from "./field-rac.module-DtugsLiL.js";
14
14
  import { r as ue, H as Ve, q as B, V as ze, l as Ze, h as Xe } from "./form-element-classes-Bi-nNM8q.js";
15
- const qe = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
15
+ const Ge = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
16
16
  var w = /* @__PURE__ */ (function(e) {
17
17
  return e.TEXT = "text/plain", e.POINTS = "points/json", e;
18
18
  })({}), b = /* @__PURE__ */ (function(e) {
@@ -20,7 +20,7 @@ var w = /* @__PURE__ */ (function(e) {
20
20
  })({}), S = /* @__PURE__ */ (function(e) {
21
21
  return e.DRAW = "draw", e.TYPE = "type", e.IMAGE = "image", e.UPLOAD = "upload", e;
22
22
  })({});
23
- const Ge = (e) => {
23
+ const qe = (e) => {
24
24
  const { actions: t, formId: a } = Oe(), n = t == null ? void 0 : t.uploadFile;
25
25
  return I(async (r) => {
26
26
  if (!n)
@@ -216,7 +216,7 @@ async function st(e, t) {
216
216
  return rt(a, "signature");
217
217
  }
218
218
  const it = ({ value: e, onChange: t, target: a }) => {
219
- const [n, r] = K(e), { isRTL: o } = Be(), i = Ge(a), { setFormStatus: l } = ge(), c = W();
219
+ const [n, r] = K(e), { isRTL: o } = Be(), i = qe(a), { setFormStatus: l } = ge(), c = W();
220
220
  Q(() => {
221
221
  e === ce && r(ce);
222
222
  }, [
@@ -239,7 +239,7 @@ const it = ({ value: e, onChange: t, target: a }) => {
239
239
  }
240
240
  c.current = null;
241
241
  } finally {
242
- l(a, q.READY);
242
+ l(a, G.READY);
243
243
  }
244
244
  }, [
245
245
  l,
@@ -255,7 +255,7 @@ const it = ({ value: e, onChange: t, target: a }) => {
255
255
  };
256
256
  E ? (c.current && (clearTimeout(c.current), c.current = null), r([
257
257
  E
258
- ]), p(E)) : (t == null || t(null), r(void 0), l(a, q.READY));
258
+ ]), p(E)) : (t == null || t(null), r(void 0), l(a, G.READY));
259
259
  }, [
260
260
  m,
261
261
  t,
@@ -283,13 +283,13 @@ const it = ({ value: e, onChange: t, target: a }) => {
283
283
  return b.UPLOAD;
284
284
  }
285
285
  }), { setFormStatus: d } = ge(), u = I(() => {
286
- r(), d(e, q.BUSY);
286
+ r(), d(e, G.BUSY);
287
287
  }, [
288
288
  r,
289
289
  d,
290
290
  e
291
291
  ]), f = I(() => {
292
- r(), n(null), d(e, q.READY);
292
+ r(), n(null), d(e, G.READY);
293
293
  }, [
294
294
  r,
295
295
  n,
@@ -480,7 +480,7 @@ const dt = (e) => {
480
480
  return "";
481
481
  const D = (k = p.current) == null ? void 0 : k.toData();
482
482
  return D ? et(D) : (($ = p.current) == null ? void 0 : $.toDataURL()) ?? "";
483
- }, []), G = I(() => {
483
+ }, []), q = I(() => {
484
484
  var O;
485
485
  const D = (O = p.current) == null ? void 0 : O.isEmpty();
486
486
  Y(!D), o(ee(oe()));
@@ -502,16 +502,16 @@ const dt = (e) => {
502
502
  le && (p.current.fromData(le), Y(!0));
503
503
  } else
504
504
  p.current.clear(), Y(!1);
505
- p.current.addEventListener("beginStroke", j), p.current.addEventListener("endStroke", G), typeof ResizeObserver < "u" && !y.current && (y.current = new ResizeObserver(() => {
505
+ p.current.addEventListener("beginStroke", j), p.current.addEventListener("endStroke", q), typeof ResizeObserver < "u" && !y.current && (y.current = new ResizeObserver(() => {
506
506
  L.current && me(L.current, p == null ? void 0 : p.current);
507
507
  })), (k = y.current) == null || k.observe(D);
508
508
  } else
509
- ($ = y.current) == null || $.disconnect(), (se = p.current) == null || se.removeEventListener("endStroke", G), (ie = p.current) == null || ie.removeEventListener("beginStroke", j);
509
+ ($ = y.current) == null || $.disconnect(), (se = p.current) == null || se.removeEventListener("endStroke", q), (ie = p.current) == null || ie.removeEventListener("beginStroke", j);
510
510
  }, [
511
511
  R,
512
512
  x,
513
513
  j,
514
- G
514
+ q
515
515
  ]);
516
516
  return Q(() => {
517
517
  p.current && (c || l ? p.current.off() : p.current.on());
@@ -632,7 +632,7 @@ const dt = (e) => {
632
632
  "data-hook": "signature-image"
633
633
  }, r.displayName || a)));
634
634
  }, yt = ({ children: e, className: t, ...a }) => {
635
- const { fileInputRef: n, disabled: r, readOnly: o, onBlur: i, onFocus: l } = a, { inputId: c, ariaDescribedBy: d, labelId: u } = H(), f = qe(), m = I(() => {
635
+ const { fileInputRef: n, disabled: r, readOnly: o, onBlur: i, onFocus: l } = a, { inputId: c, ariaDescribedBy: d, labelId: u } = H(), f = Ge(), m = I(() => {
636
636
  var h;
637
637
  (h = n.current) == null || h.click();
638
638
  }, [
@@ -1,12 +1,12 @@
1
1
  import t from "react";
2
2
  import l from "classnames";
3
- import { ag as c } from "./form-D6A2hUbV.js";
4
- import { ProgressBar as v, Button as S } from "react-aria-components";
3
+ import { ah as c } from "./form-DzjdnO7t.js";
4
+ import { ProgressBar as N, Button as S } from "react-aria-components";
5
5
  import { f as i } from "./find-child-C60k4CxG.js";
6
- import { X as N, W as d, Z as f } from "./form-element-classes-Bi-nNM8q.js";
6
+ import { X as d, W as g, Z as f } from "./form-element-classes-Bi-nNM8q.js";
7
7
  function x(e) {
8
8
  const s = "calc(50% - 2px)";
9
- return /* @__PURE__ */ t.createElement(v, {
9
+ return /* @__PURE__ */ t.createElement(N, {
10
10
  ...e,
11
11
  isIndeterminate: !0
12
12
  }, ({ percentage: o, isIndeterminate: a }) => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("svg", {
@@ -62,26 +62,26 @@ const u = ({ children: e }) => {
62
62
  onPress: s
63
63
  }, o) : null;
64
64
  }, B = ({ className: e, children: n }) => {
65
- const { showSubmitButton: s, onSubmitClick: o, submitText: a, isDisabled: g, isInProgress: p } = c();
65
+ const { showSubmitButton: s, onSubmitClick: o, submitText: a, isDisabled: v, isInProgress: p } = c();
66
66
  if (!s)
67
67
  return null;
68
68
  const _ = i(n, B.Loader);
69
69
  return /* @__PURE__ */ t.createElement(S, {
70
70
  className: e,
71
71
  onPress: o,
72
- isDisabled: g || p,
72
+ isDisabled: v || p,
73
73
  "data-in-progress": p
74
74
  }, p && _ ? _ : a);
75
- }, C = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
75
+ }, h = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
76
76
  className: e
77
77
  }, /* @__PURE__ */ t.createElement(x, null));
78
- B.Loader = C;
78
+ B.Loader = h;
79
79
  m.PreviousButton = b;
80
80
  m.NextButton = E;
81
81
  m.SubmitButton = B;
82
82
  u.SubmitButton = m;
83
- const h = "_navigationContainer_1yuje_1", y = "_rowSpacing_1yuje_6", P = "_navigationButton_1yuje_10", T = "_nextButton_1yuje_24", L = "_previousButton_1yuje_47", w = "_button_1yuje_90", j = "_buttonNoSteps_1yuje_122", k = "_buttonWithSteps_1yuje_126", F = "_progress_1yuje_153", r = {
84
- navigationContainer: h,
83
+ const C = "_navigationContainer_1yuje_1", y = "_rowSpacing_1yuje_6", P = "_navigationButton_1yuje_10", T = "_nextButton_1yuje_24", L = "_previousButton_1yuje_47", w = "_button_1yuje_90", j = "_buttonNoSteps_1yuje_122", k = "_buttonWithSteps_1yuje_126", F = "_progress_1yuje_153", r = {
84
+ navigationContainer: C,
85
85
  rowSpacing: y,
86
86
  navigationButton: P,
87
87
  nextButton: T,
@@ -98,9 +98,9 @@ const h = "_navigationContainer_1yuje_1", y = "_rowSpacing_1yuje_6", P = "_navig
98
98
  [r.rowSpacing]: n
99
99
  })
100
100
  }, /* @__PURE__ */ t.createElement(u.SubmitButton.PreviousButton, {
101
- className: l(N, r.navigationButton, r.previousButton)
101
+ className: l(d, r.navigationButton, r.previousButton)
102
102
  }), /* @__PURE__ */ t.createElement(u.SubmitButton.NextButton, {
103
- className: l(d, r.navigationButton, r.nextButton)
103
+ className: l(g, r.navigationButton, r.nextButton)
104
104
  }), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton, {
105
105
  className: l(f, r.button, {
106
106
  [r.buttonNoSteps]: !e,
@@ -1,11 +1,11 @@
1
- import { RicosViewer as Q } from "@wix/ricos/viewer";
1
+ import { RicosViewer as j } from "@wix/ricos/viewer";
2
2
  import _ from "classnames";
3
- import e, { useMemo as F, useState as j, useRef as M, useLayoutEffect as w, useCallback as q } from "react";
3
+ import e, { useMemo as F, useState as Q, useRef as M, useLayoutEffect as w, useCallback as k } from "react";
4
4
  import { CheckboxGroup as z, TextField as J, Input as K, CheckboxField as X, CheckboxButton as Y } from "react-aria-components";
5
- import { ag as y, ad as Z, aq as T, aa as ee, ai as te } from "./form-D6A2hUbV.js";
6
- import { f, a as k } from "./find-child-C60k4CxG.js";
7
- import { E as x, D as B } from "./field-error-headless-DP4WSQU3.js";
8
- import { L as P } from "./field-label-headless-BKmi7Fjg.js";
5
+ import { ah as y, ae as Z, ar as T, ab as ee, aj as te } from "./form-DzjdnO7t.js";
6
+ import { f, a as q } from "./find-child-C60k4CxG.js";
7
+ import { E as x, D as B } from "./field-error-headless-DTKnr5Zx.js";
8
+ import { L as P } from "./field-label-headless-DV4aNd5Y.js";
9
9
  import { F as ae } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { N as D } from "./options-layout-constants-DEfIEJWD.js";
11
11
  import { E as ne } from "./error-icon-hZxQ6DEy.js";
@@ -24,11 +24,11 @@ const g = "Other", pe = (t, a) => {
24
24
  const { value: a, onChange: l, addOtherLabel: c, addOtherPlaceholder: i, otherInputCharacterLimit: r, disabled: u, readOnly: b, hasError: d } = y(), { t: m } = T(), o = c || m("add-other.default-other-option-label") || g, p = F(() => pe(a || [], o), [
25
25
  a,
26
26
  o
27
- ]), [n, L] = j(p), h = M(l);
27
+ ]), [n, L] = Q(p), h = M(l);
28
28
  w(() => {
29
29
  h.current = l;
30
30
  });
31
- const I = q((E) => {
31
+ const I = k((E) => {
32
32
  L(E);
33
33
  const C = (a || []).filter((O) => !O.startsWith(`${o}:`) && O !== o), R = E ? `${o}: ${E}` : o;
34
34
  h.current([
@@ -68,7 +68,7 @@ const g = "Other", pe = (t, a) => {
68
68
  E,
69
69
  i,
70
70
  c
71
- ]), R = q((O) => {
71
+ ]), R = k((O) => {
72
72
  const G = he(o || []), V = E.filter((H) => G.includes(H));
73
73
  m(O ? [
74
74
  ...V,
@@ -90,7 +90,7 @@ const g = "Other", pe = (t, a) => {
90
90
  }, /* @__PURE__ */ e.createElement(Y, {
91
91
  className: a,
92
92
  "data-hook": `tags-${r ? g : c}`
93
- }, k(I, {
93
+ }, q(I, {
94
94
  value: c,
95
95
  label: i,
96
96
  isOther: r,
@@ -117,7 +117,7 @@ const g = "Other", pe = (t, a) => {
117
117
  "data-columns": d
118
118
  }, p.map((n, L) => {
119
119
  const h = n.value ?? n.label;
120
- return k(o, {
120
+ return q(o, {
121
121
  key: n.isOther ? g : h,
122
122
  value: h,
123
123
  label: n.label,
@@ -174,7 +174,7 @@ const Ee = "_control_lyoqm_1", Oe = "_options_lyoqm_7", be = "_option_lyoqm_7",
174
174
  control: Ee,
175
175
  options: Oe,
176
176
  option: be
177
- }, fe = ({ content: t, locale: a }) => /* @__PURE__ */ e.createElement(Q, {
177
+ }, fe = ({ content: t, locale: a }) => /* @__PURE__ */ e.createElement(j, {
178
178
  content: t,
179
179
  locale: a
180
180
  }), Ve = () => /* @__PURE__ */ e.createElement(s, null, /* @__PURE__ */ e.createElement(s.Label, {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-COJG3T_9.js";
2
+ import { T as r } from "./tags-field-rac-C_VO3_69.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC