@wix/form-elements 1.174.0 → 1.176.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 (110) hide show
  1. package/dist/component/{appointment-rac-DIV9zgmZ.js → appointment-rac-BAJYXMTI.js} +5 -5
  2. package/dist/component/{bookings-address-rac-C5cT4gkX.js → bookings-address-rac-2lId37AV.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CQEhRS7N.js → bookings-email-rac-CGv8_DCR.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BwdasJXd.js → bookings-first-name-rac-X0Fkx2HW.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CWzKq3yr.js → bookings-header-rac-B0m7b03Y.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CoVWqEy5.js → bookings-last-name-rac-BOTKQnp3.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DwoI-iRQ.js → bookings-login-bar-rac-Bh-gXHxF.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-WAZU-1kD.js → bookings-phone-rac-D3uORVqg.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-I5Uo-q87.js → bookings-rich-text-rac-CTzDqYdf.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CKbKBNcQ.js → checkbox-field-rac-CABu1DWe.js} +6 -6
  11. package/dist/component/{checkbox-group-field-headless-7PMj-zW6.js → checkbox-group-field-headless-PFQoRdu-.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-BZ-YgEYR.js → checkbox-group-field-rac-DcnWE0rf.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-CED8h4qI.js → checkbox-group-rac-gK9Smwho.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-DUTR4mcg.js → checkbox-indicator-module-classes-DOxE4UQg.js} +1 -1
  15. package/dist/component/{checkbox-rac-CbpEXMBz.js → checkbox-rac-ODOiCqwN.js} +1 -1
  16. package/dist/component/{contacts-address-rac-F3Ui7iJu.js → contacts-address-rac-9invJuye.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-CcxRV3RQ.js → contacts-birthdate-rac-Crmp9zZO.js} +1 -1
  18. package/dist/component/{contacts-company-rac-mDY20HzW.js → contacts-company-rac-GA6XC4nF.js} +1 -1
  19. package/dist/component/{contacts-email-rac-CoBPNuCj.js → contacts-email-rac-Bkka5Vu8.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-DzbpBmNm.js → contacts-first-name-rac-CYogWkC0.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-DEmV-MNE.js → contacts-last-name-rac-19NcOJvu.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-BlEpatWP.js → contacts-phone-rac-ZSQgk9UI.js} +1 -1
  23. package/dist/component/{contacts-position-rac-DlZahRQc.js → contacts-position-rac-Bu_Z7yMZ.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-LXCEPvXl.js → contacts-subscribe-rac-P3zOrOax.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-DS0SDAtC.js → contacts-tax-id-rac-BSgXRk6v.js} +1 -1
  26. package/dist/component/{date-availability-DTFyrU8J.js → date-availability-CJqU3LIt.js} +1 -1
  27. package/dist/component/{date-input-field-rac-D7Pv-hqW.js → date-input-field-rac-QqiSZnXZ.js} +7 -7
  28. package/dist/component/{date-input-rac-BEsh54Gz.js → date-input-rac-BZFXvBvI.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-DJirD93a.js → date-picker-field-rac-5dktkwOd.js} +7 -7
  30. package/dist/component/{date-picker-rac-B1fUqj_w.js → date-picker-rac-CKSxXfzL.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-CPFaQUXF.js → date-time-input-field-rac-DEmzbAaR.js} +7 -7
  32. package/dist/component/{date-time-input-rac-CAozBO0e.js → date-time-input-rac-BVtsQ3Vd.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-B0yqJoj8.js → dext-checkbox-group-rac-BubQ0slS.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-yZaUdHz1.js → dext-checkbox-rac-BhLjzcsZ.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-AJ7XIW-h.js → dext-date-picker-rac-DVBPmxp7.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-CPs79sUY.js → dext-date-time-input-rac-D4c_jenI.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-W2QzqPG4.js → dext-dropdown-rac-B1zJAMKN.js} +1 -1
  38. package/dist/component/{dext-email-rac-CCW1Dk1m.js → dext-email-rac-Ccm5STO4.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-BAInaxoF.js → dext-number-input-rac-x6vxbCXa.js} +1 -1
  40. package/dist/component/{dext-phone-rac-CYYgZiFW.js → dext-phone-rac-Shd3BfP-.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-Dqvmxoai.js → dext-radio-group-rac-Dlb_nBO2.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-CWl7X0zW.js → dext-rating-input-rac-CaZbRWJC.js} +1 -1
  43. package/dist/component/{dext-tags-rac-BpAfPh55.js → dext-tags-rac-C55Dq-1l.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-CLTg8XXH.js → dext-text-area-rac-9Ge8zXWS.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-BV-F-ZsP.js → dext-text-input-rac-C0JVOKkk.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-B9wHRaZr.js → dext-url-input-rac-CzT1EVwq.js} +1 -1
  47. package/dist/component/{donation-rac-Be4swKWD.js → donation-rac-u4w-aXl6.js} +6 -6
  48. package/dist/component/{dropdown-field-rac-BFEB_WuX.js → dropdown-field-rac-DhLD7sSS.js} +4 -4
  49. package/dist/component/{dropdown-rac-Dz7QtFVB.js → dropdown-rac-b5WH0y-k.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Bu6msDgo.js → ecom-address-rac-C5A1WmAj.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-BRovQqrM.js → ecom-subscription-checkbox-rac-xW_rmIl_.js} +2 -2
  52. package/dist/component/{email-input-field-rac-EERVxm6G.js → email-input-field-rac-J_FteAiD.js} +4 -4
  53. package/dist/component/{events-repeater-rac-xs0pooBs.js → events-repeater-rac-BP1Wyc53.js} +6 -6
  54. package/dist/component/{events-rsvp-rac-CMi-8EqK.js → events-rsvp-rac-6K_VCmX-.js} +4 -4
  55. package/dist/component/{field-error-headless-DbFXeaud.js → field-error-headless-Coipxm8r.js} +1 -1
  56. package/dist/component/{field-label-headless-CWOYHPsb.js → field-label-headless-Td5R2D2v.js} +1 -1
  57. package/dist/component/field-rac.module-DcyJyi2B.js +25 -0
  58. package/dist/component/{file-upload-rac-vbMTIdDc.js → file-upload-rac-QvjsWUE6.js} +5 -5
  59. package/dist/component/{fixed-payment-rac-BRk7ams_.js → fixed-payment-rac-BHdwt3Li.js} +4 -4
  60. package/dist/component/{form-BjeODFzx.js → form-j_yRqg3t.js} +70 -70
  61. package/dist/component/form.css +1 -1
  62. package/dist/component/form.js +1 -1
  63. package/dist/component/{header-field-rac-CQexwZn7.js → header-field-rac-Bzpmnjft.js} +2 -2
  64. package/dist/component/{header-rac-CYbPDl4_.js → header-rac-Cyl7efBn.js} +1 -1
  65. package/dist/component/{image-choice-rac-DDvlaK6K.js → image-choice-rac-DwkOsp1k.js} +5 -5
  66. package/dist/component/{index-B6wFpWpe.js → index-DHLtT8Mx.js} +4 -4
  67. package/dist/component/{index-Bs9ypEe2.js → index-DebSQu51.js} +2 -2
  68. package/dist/component/{isObjectLike-Xcw2hQQ6.js → isObjectLike-Dmd5RpxA.js} +1 -1
  69. package/dist/component/{multiline-address-field-rac-CYJR-MUz.js → multiline-address-field-rac-Ds1zs5ln.js} +8 -8
  70. package/dist/component/{multiline-address-rac-DO1j_w6S.js → multiline-address-rac-DttcRYnL.js} +1 -1
  71. package/dist/component/{number-input-field-rac-C-qvd8v9.js → number-input-field-rac-Dn1AUGV2.js} +5 -5
  72. package/dist/component/{number-input-rac-CQSaifZE.js → number-input-rac-CFx61qYd.js} +1 -1
  73. package/dist/component/{password-rac-CqnbZtR_.js → password-rac-DJuStTWa.js} +5 -5
  74. package/dist/component/{payment-input-rac-CbOcztkp.js → payment-input-rac-BIIX_P6A.js} +5 -5
  75. package/dist/component/{phone-input-field-rac-BQ187I2C.js → phone-input-field-rac-C1InbJor.js} +7 -7
  76. package/dist/component/{phone-rac-CbA2xqF3.js → phone-rac-B6ubdBf6.js} +1 -1
  77. package/dist/component/{product-list-rac-MxB9tRiE.js → product-list-rac-BaB63jJu.js} +6 -6
  78. package/dist/component/{quiz-radio-group-rac-IViaDVRW.js → quiz-radio-group-rac-CrGIv3cN.js} +1 -1
  79. package/dist/component/{radio-button-module-classes-jtnooKMO.js → radio-button-module-classes-zZg9SOqG.js} +3 -3
  80. package/dist/component/{radio-group-field-rac-g3SQGJPp.js → radio-group-field-rac-C_Aui1YW.js} +5 -5
  81. package/dist/component/{radio-group-rac-D8wmzlbu.js → radio-group-rac-Bt3QthZ5.js} +1 -1
  82. package/dist/component/{rating-input-field-rac-BqPXKKdi.js → rating-input-field-rac-CdaHNKcZ.js} +5 -5
  83. package/dist/component/{rating-input-rac-CeZIpOmm.js → rating-input-rac-DmCouDpG.js} +1 -1
  84. package/dist/component/{rich-content-rac.module-BLgdpRh_.js → rich-content-rac.module-wyBdhZhG.js} +1 -1
  85. package/dist/component/{rich-text-field-rac-BpSVobCQ.js → rich-text-field-rac-BuvLBbnl.js} +2 -2
  86. package/dist/component/{rich-text-rac-DqpaqbFH.js → rich-text-rac-BXMlorQ2.js} +1 -1
  87. package/dist/component/{service-dropdown-rac-DKgtga1t.js → service-dropdown-rac-xgk-rFIY.js} +5 -5
  88. package/dist/component/{services-multi-choice-rac-CAyB0b4q.js → services-multi-choice-rac-D3ZwzsmG.js} +7 -7
  89. package/dist/component/{signature-rac-DC20YN4f.js → signature-rac-D8hEZGjF.js} +64 -64
  90. package/dist/component/{submit-button-rac-ClWtqIkR.js → submit-button-rac-DHm3YV4U.js} +2 -2
  91. package/dist/component/{tags-field-rac-DHM9k8uf.js → tags-field-rac-Cm4SnACy.js} +6 -6
  92. package/dist/component/{tags-rac-Clg50jwY.js → tags-rac-7nZ3O67I.js} +1 -1
  93. package/dist/component/{text-area-field-rac-B2qJZ6wR.js → text-area-field-rac-BEGUVGQL.js} +5 -5
  94. package/dist/component/{text-area-rac-BwsVk7u7.js → text-area-rac-BrhvUcqn.js} +1 -1
  95. package/dist/component/{text-input-field-rac-BQbo-3Ly.js → text-input-field-rac-CZn2Flyb.js} +4 -4
  96. package/dist/component/{text-input-headless-WICGIHcN.js → text-input-headless-DTDZC4x7.js} +3 -3
  97. package/dist/component/{text-input-rac-D7BRYDZr.js → text-input-rac-DIjGSUZo.js} +1 -1
  98. package/dist/component/{time-input-rac-Dnp-0_Js.js → time-input-rac-17FRariH.js} +5 -5
  99. package/dist/component/{url-input-field-rac-MC13zKST.js → url-input-field-rac-DYAXRURP.js} +5 -5
  100. package/dist/component/{url-input-rac-DfAtTmKv.js → url-input-rac-6IWE13av.js} +1 -1
  101. package/dist/component/{use-dropdown-option-class-name-CVUEosg4.js → use-dropdown-option-class-name-teYH9uf4.js} +3 -3
  102. package/dist/component/{use-dropdown-trigger-class-name-BHLG7EB-.js → use-dropdown-trigger-class-name-BpJezVOE.js} +6 -6
  103. package/dist/component/{use-element-state-class-name-BVJylHPn.js → use-element-state-class-name-CcW9uY2w.js} +1 -1
  104. package/dist/component/{use-hoverable-input-class-name-DO9ctJ81.js → use-hoverable-input-class-name-B9Ps5WPu.js} +3 -3
  105. package/dist/component/{use-is-forced-open-dropdown-Czuo32Nq.js → use-is-forced-open-dropdown-CUekpH1u.js} +1 -1
  106. package/dist/component/{use-service-options-base-DUuGIm38.js → use-service-options-base-DXhuk0gs.js} +1 -1
  107. package/dist/component/use-text-input-class-name-BIu78phH.js +6 -0
  108. package/package.json +2 -2
  109. package/dist/component/field-rac.module-ts2t4WUO.js +0 -25
  110. package/dist/component/use-text-input-class-name-LEnNGX0a.js +0 -6
@@ -1,19 +1,19 @@
1
- import r, { useRef as V, useContext as Se, useMemo as he, useCallback as y, useState as q, useEffect as le, Children as Ne, isValidElement as be } from "react";
1
+ import r, { useRef as $, useContext as Se, useMemo as he, useCallback as y, useState as q, useEffect as le, Children as Ne, isValidElement as be } from "react";
2
2
  import Fe from "@wix/editor-react-components/AnimatedIcon";
3
3
  import { RicosViewer as we } from "@wix/ricos/viewer";
4
4
  import F from "classnames";
5
- import { bd as xe, bF as Le, aR as Ue, F as Be, bH as Oe, bD as Pe, bT as Te, E as me, aH as oe, bL as x, bI as W, bN as Ie, bV as Me, bE as He, X as We, am as ze, an as Ye, ao as Ze, b as Ge, au as ke, av as pe, M as Ve, I as $e, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-BjeODFzx.js";
5
+ import { bd as xe, bF as Le, aR as Ue, F as Be, bH as Oe, bD as Pe, bT as Te, E as me, aH as oe, bL as x, bI as W, bN as Ie, bV as Me, bE as He, X as We, am as Ye, an as Ze, ao as Ge, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-j_yRqg3t.js";
6
6
  import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
7
7
  import { RadioGroup as nt, Button as Ce, TextField as at, DropZone as ot, Input as st, FileTrigger as rt, RadioField as lt, RadioButton as it } from "react-aria-components";
8
8
  import _e from "signature_pad";
9
9
  import { f as C, a as N } from "./find-child-C60k4CxG.js";
10
- import { D as ct, E as ut } from "./field-error-headless-DbFXeaud.js";
11
- import { L as dt } from "./field-label-headless-CWOYHPsb.js";
10
+ import { D as ct, E as ut } from "./field-error-headless-Coipxm8r.js";
11
+ import { L as dt } from "./field-label-headless-Td5R2D2v.js";
12
12
  import { D as mt } from "./data-hooks-Dkw1pbRj.js";
13
13
  import { E as pt } from "./error-icon-hZxQ6DEy.js";
14
- import { s as ae } from "./field-rac.module-ts2t4WUO.js";
15
- import { u as X } from "./use-element-state-class-name-BVJylHPn.js";
16
- const ft = typeof r.useId == "function" ? r.useId : () => V(xe()).current, Et = ({ properties: e }) => e.uploadEnabled === !0, gt = (e, t) => e.fieldType === Be.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || Et(e)), ht = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, bt = (e) => {
14
+ import { s as ae } from "./field-rac.module-DcyJyi2B.js";
15
+ import { u as X } from "./use-element-state-class-name-CcW9uY2w.js";
16
+ const ft = typeof r.useId == "function" ? r.useId : () => $(xe()).current, Et = ({ properties: e }) => e.uploadEnabled === !0, gt = (e, t) => e.fieldType === Be.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || Et(e)), ht = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, bt = (e) => {
17
17
  var o;
18
18
  const t = (o = Le().signature) == null ? void 0 : o.signatureMode, a = Se(Ue);
19
19
  return he(() => {
@@ -112,11 +112,11 @@ function Ee(e, t) {
112
112
  const a = e.getContext("2d"), n = e.offsetWidth, o = e.offsetHeight, s = Math.max(window.devicePixelRatio || 1, 1), l = n * s, i = o * s;
113
113
  return (e.width !== l || e.height !== i) && a ? (e.width = l, e.height = i, a.scale(s, s), t == null || t.redraw(), !0) : !1;
114
114
  }
115
- const k = 480, yt = (e) => Ae({
115
+ const V = 480, yt = (e) => Ae({
116
116
  data: JSON.stringify(e),
117
117
  mimeType: R.POINTS
118
118
  }), ye = (e) => {
119
- const t = z(e);
119
+ const t = Y(e);
120
120
  if ((t == null ? void 0 : t.mimeType) === R.POINTS)
121
121
  try {
122
122
  return JSON.parse(t.data);
@@ -151,7 +151,7 @@ const Re = /^data:([^;,]+)(?:;([^,]+))?,(.+)$/;
151
151
  function Rt(e) {
152
152
  return Re.test(e);
153
153
  }
154
- function z(e) {
154
+ function Y(e) {
155
155
  if (!e)
156
156
  return;
157
157
  const t = e.match(Re);
@@ -169,7 +169,7 @@ function Ae({ data: e, mimeType: t, encoding: a = "text" }) {
169
169
  return `data:${a === "base64" ? `${t};base64` : t},${n}`;
170
170
  }
171
171
  function At(e, t) {
172
- const a = z(e);
172
+ const a = Y(e);
173
173
  if (!a)
174
174
  return;
175
175
  let n = a.data.length;
@@ -184,7 +184,7 @@ function At(e, t) {
184
184
  });
185
185
  }
186
186
  function ie(e, t = "temp") {
187
- const a = z(e);
187
+ const a = Y(e);
188
188
  return {
189
189
  fileId: "temp",
190
190
  displayName: t,
@@ -193,12 +193,12 @@ function ie(e, t = "temp") {
193
193
  };
194
194
  }
195
195
  async function St(e, t) {
196
- const a = z(e);
196
+ const a = Y(e);
197
197
  if (!a)
198
198
  return e;
199
199
  const n = a.mimeType;
200
200
  if (n === R.TEXT) {
201
- const o = j(k * 20, k, 1);
201
+ const o = j(V * 20, V, 1);
202
202
  Dt(o, a.data, "black", t, "white");
203
203
  const s = re(o, "white");
204
204
  return (s == null ? void 0 : s.toDataURL("image/jpeg", 0.7)) ?? null;
@@ -210,14 +210,14 @@ async function St(e, t) {
210
210
  const s = o.map((d) => ({
211
211
  ...d,
212
212
  penColor: "black"
213
- })), l = j(k * 20, k, Math.max(window.devicePixelRatio || 1, 1));
213
+ })), l = j(V * 20, V, Math.max(window.devicePixelRatio || 1, 1));
214
214
  new _e(l).fromData(s);
215
215
  const c = re(l);
216
- return c ? fe(c, void 0, k, "white").toDataURL("image/jpeg", 0.7) : null;
216
+ return c ? fe(c, void 0, V, "white").toDataURL("image/jpeg", 0.7) : null;
217
217
  }
218
218
  if (n != null && n.startsWith("image/")) {
219
219
  const o = await _t(e), s = re(o);
220
- return s ? fe(s, void 0, k).toDataURL("image/jpeg", 0.7) : null;
220
+ return s ? fe(s, void 0, V).toDataURL("image/jpeg", 0.7) : null;
221
221
  }
222
222
  return e;
223
223
  }
@@ -227,7 +227,7 @@ async function Nt(e, t) {
227
227
  return At(a, "signature");
228
228
  }
229
229
  const Ft = ({ value: e, onChange: t, target: a }) => {
230
- const [n, o] = q(e), { isRTL: s } = Pe(), l = Lt(a), { setFormStatus: i } = Te(), c = V();
230
+ const [n, o] = q(e), { isRTL: s } = Pe(), l = Lt(a), { setFormStatus: i } = Te(), c = $();
231
231
  le(() => {
232
232
  e === me && o(me);
233
233
  }, [
@@ -235,7 +235,7 @@ const Ft = ({ value: e, onChange: t, target: a }) => {
235
235
  ]);
236
236
  const u = y(() => {
237
237
  c.current && (clearTimeout(c.current), c.current = null);
238
- }, []), d = n == null ? void 0 : n[0], f = d != null && d.url ? z(d.url) : void 0, m = y(async (h) => {
238
+ }, []), d = n == null ? void 0 : n[0], f = d != null && d.url ? Y(d.url) : void 0, m = y(async (h) => {
239
239
  try {
240
240
  const p = (h == null ? void 0 : h.url) ?? "";
241
241
  if (Rt(p)) {
@@ -339,7 +339,7 @@ function Ut(e, t, a) {
339
339
  return t && xt[e](a) ? t : void 0;
340
340
  }
341
341
  const Bt = (e) => {
342
- const t = e.url ? z(e.url) : void 0;
342
+ const t = e.url ? Y(e.url) : void 0;
343
343
  return t ? t.mimeType !== R.POINTS && t.mimeType !== R.TEXT : !0;
344
344
  }, ce = () => {
345
345
  const { hoverProps: e, isHovered: t } = Qe({}), { focusProps: a, isFocused: n, isFocusVisible: o } = et({
@@ -437,7 +437,7 @@ const Bt = (e) => {
437
437
  }), Wt = (e) => /* @__PURE__ */ r.createElement(ue, {
438
438
  ...e,
439
439
  mode: I.UPLOAD
440
- }), zt = ({ children: e, className: t, "aria-label": a, ...n }) => {
440
+ }), Yt = ({ children: e, className: t, "aria-label": a, ...n }) => {
441
441
  const { handleClear: o } = n, { disabled: s, target: l } = x(), { inputId: i } = W();
442
442
  return /* @__PURE__ */ r.createElement(Ce, {
443
443
  onPress: o,
@@ -480,8 +480,8 @@ const Bt = (e) => {
480
480
  onBlur: u,
481
481
  onFocus: d
482
482
  }));
483
- }, Yt = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
484
- const { value: o, onChange: s, onBeforeChange: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = n, { id: f } = x(), { inputId: m, ariaDescribedBy: L } = W(), h = ce(), p = V(), g = V(), E = V(null), S = o == null ? void 0 : o.url, [Y, P] = q(!1);
483
+ }, Zt = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
484
+ const { value: o, onChange: s, onBeforeChange: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = n, { id: f } = x(), { inputId: m, ariaDescribedBy: L } = W(), h = ce(), p = $(), g = $(), E = $(null), S = o == null ? void 0 : o.url, [Z, P] = q(!1);
485
485
  Ie(() => {
486
486
  var _;
487
487
  (_ = g.current) == null || _.focus({
@@ -500,14 +500,14 @@ const Bt = (e) => {
500
500
  return "";
501
501
  const _ = (U = p.current) == null ? void 0 : U.toData();
502
502
  return _ ? yt(_) : ((B = p.current) == null ? void 0 : B.toDataURL()) ?? "";
503
- }, []), $ = y(() => {
503
+ }, []), z = y(() => {
504
504
  var w;
505
505
  const _ = (w = p.current) == null ? void 0 : w.isEmpty();
506
506
  P(!_), s(ie(ee()));
507
507
  }, [
508
508
  ee,
509
509
  s
510
- ]), Z = y(() => {
510
+ ]), G = y(() => {
511
511
  l == null || l();
512
512
  }, [
513
513
  l
@@ -518,20 +518,20 @@ const Bt = (e) => {
518
518
  ...v,
519
519
  penColor: getComputedStyle(_).color || void 0
520
520
  }), Ee(g.current, p.current), S) {
521
- const G = ye(S);
522
- G && (p.current.fromData(G), P(!0));
521
+ const k = ye(S);
522
+ k && (p.current.fromData(k), P(!0));
523
523
  } else
524
524
  p.current.clear(), P(!1);
525
- p.current.addEventListener("beginStroke", Z), p.current.addEventListener("endStroke", $), typeof ResizeObserver < "u" && !E.current && (E.current = new ResizeObserver(() => {
525
+ p.current.addEventListener("beginStroke", G), p.current.addEventListener("endStroke", z), typeof ResizeObserver < "u" && !E.current && (E.current = new ResizeObserver(() => {
526
526
  g.current && Ee(g.current, p == null ? void 0 : p.current);
527
527
  })), (U = E.current) == null || U.observe(_);
528
528
  } else
529
- (B = E.current) == null || B.disconnect(), (D = p.current) == null || D.removeEventListener("endStroke", $), (O = p.current) == null || O.removeEventListener("beginStroke", Z);
529
+ (B = E.current) == null || B.disconnect(), (D = p.current) == null || D.removeEventListener("endStroke", z), (O = p.current) == null || O.removeEventListener("beginStroke", G);
530
530
  }, [
531
531
  v,
532
532
  S,
533
- Z,
534
- $
533
+ G,
534
+ z
535
535
  ]);
536
536
  return le(() => {
537
537
  p.current && (c || i ? p.current.off() : p.current.on());
@@ -550,11 +550,11 @@ const Bt = (e) => {
550
550
  onFocus: d,
551
551
  onBlur: u,
552
552
  role: "img",
553
- "aria-label": Y ? a : t,
553
+ "aria-label": Z ? a : t,
554
554
  "aria-describedby": L
555
555
  }));
556
556
  }, de = ({ children: e, className: t, ...a }) => {
557
- const { value: n, onChange: o, onBeforeChange: s, disabled: l, readOnly: i, onBlur: c, onFocus: u } = a, { id: d, required: f, hasError: m } = x(), { inputId: L, ariaDescribedBy: h, labelId: p } = W(), g = ce(), E = n != null && n.url ? z(n.url) : void 0, { data: S = "" } = E ?? {
557
+ const { value: n, onChange: o, onBeforeChange: s, disabled: l, readOnly: i, onBlur: c, onFocus: u } = a, { id: d, required: f, hasError: m } = x(), { inputId: L, ariaDescribedBy: h, labelId: p } = W(), g = ce(), E = n != null && n.url ? Y(n.url) : void 0, { data: S = "" } = E ?? {
558
558
  data: ""
559
559
  };
560
560
  Ie(() => {
@@ -571,7 +571,7 @@ const Bt = (e) => {
571
571
  n,
572
572
  L
573
573
  ]);
574
- const Y = y((v) => {
574
+ const Z = y((v) => {
575
575
  s == null || s(), v.trim() ? o(ie(Ae({
576
576
  data: v,
577
577
  mimeType: R.TEXT
@@ -583,7 +583,7 @@ const Bt = (e) => {
583
583
  return /* @__PURE__ */ r.createElement(at, {
584
584
  "aria-labelledby": p,
585
585
  value: S,
586
- onChange: Y,
586
+ onChange: Z,
587
587
  onBlur: c,
588
588
  onFocus: u,
589
589
  isDisabled: l,
@@ -598,7 +598,7 @@ const Bt = (e) => {
598
598
  inputId: L,
599
599
  ariaDescribedBy: h
600
600
  })));
601
- }, Zt = ({ className: e, placeholder: t, ...a }) => {
601
+ }, Gt = ({ className: e, placeholder: t, ...a }) => {
602
602
  const { inputId: n, ariaDescribedBy: o } = a;
603
603
  return /* @__PURE__ */ r.createElement(st, {
604
604
  id: n,
@@ -648,7 +648,7 @@ const Bt = (e) => {
648
648
  onBlur: i,
649
649
  onFocus: c
650
650
  }));
651
- }, Gt = ({ className: e, imageAlt: t, ...a }) => {
651
+ }, kt = ({ className: e, imageAlt: t, ...a }) => {
652
652
  const { value: n } = a, { inputId: o } = W(), s = ce();
653
653
  return /* @__PURE__ */ r.createElement("div", {
654
654
  className: e,
@@ -689,7 +689,7 @@ const Bt = (e) => {
689
689
  onHoverEnd: n,
690
690
  onFocusChange: o
691
691
  }, g));
692
- }, kt = ({ children: e, className: t, ...a }) => {
692
+ }, Vt = ({ children: e, className: t, ...a }) => {
693
693
  const { textId: n } = a;
694
694
  return /* @__PURE__ */ r.createElement("span", {
695
695
  id: n,
@@ -703,18 +703,18 @@ b.Error = ut;
703
703
  J.Header = K;
704
704
  J.Value = H;
705
705
  K.Tabs = M;
706
- K.Clear = zt;
706
+ K.Clear = Yt;
707
707
  M.Draw = Mt;
708
708
  M.Type = Ht;
709
709
  M.Upload = Wt;
710
- H.Canvas = Yt;
710
+ H.Canvas = Zt;
711
711
  H.Type = de;
712
712
  H.Upload = Q;
713
- de.Value = Zt;
714
- Q.Preview = Gt;
713
+ de.Value = Gt;
714
+ Q.Preview = kt;
715
715
  Q.Button = se;
716
- se.Text = kt;
717
- const Vt = () => {
716
+ se.Text = Vt;
717
+ const $t = () => {
718
718
  const { t: e } = Me();
719
719
  return {
720
720
  drawLabel: e("field.signature.mode.draw.label"),
@@ -730,7 +730,7 @@ const Vt = () => {
730
730
  imageAlt: e("field.signature.a11y.state.signed"),
731
731
  uploadLabel: e("field.signature.settings.upload-button.label")
732
732
  };
733
- }, $t = (e) => /* @__PURE__ */ r.createElement("svg", {
733
+ }, zt = (e) => /* @__PURE__ */ r.createElement("svg", {
734
734
  viewBox: "0 0 24 24",
735
735
  width: 24,
736
736
  height: 24,
@@ -770,7 +770,7 @@ const Vt = () => {
770
770
  }, /* @__PURE__ */ r.createElement("path", {
771
771
  fillRule: "evenodd",
772
772
  d: "M12,4 L12,5 L8,5 L8,16 L7,16 L7,5 L3,5 L3,4 L12,4 Z M18,8 L18,9 L15,9 L15,16 L14,16 L14,9 L11,9 L11,8 L18,8 Z"
773
- })), Jt = "_container_63unz_1", Kt = "_header_63unz_7", Qt = "_tabs_63unz_13", en = "_tab_63unz_13", tn = "_tabHover_63unz_43", nn = "_tabSelected_63unz_48", an = "_tabIcon_63unz_78", on = "_uploadButton_63unz_85", sn = "_uploadButtonHover_63unz_138", rn = "_uploadButtonLabel_63unz_155", ln = "_clear_63unz_159", cn = "_value_63unz_191", un = "_box_63unz_196", dn = "_uploadBox_63unz_197", mn = "_dropZone_63unz_228", pn = "_dropZoneHover_63unz_243", fn = "_boxHover_63unz_280", En = "_typeInput_63unz_335", T = {
773
+ })), Jt = "_container_13c54_1", Kt = "_header_13c54_7", Qt = "_tabs_13c54_13", en = "_tab_13c54_13", tn = "_tabHover_13c54_43", nn = "_tabSelected_13c54_48", an = "_tabIcon_13c54_78", on = "_uploadButton_13c54_85", sn = "_uploadButtonHover_13c54_138", rn = "_uploadButtonLabel_13c54_155", ln = "_clear_13c54_159", cn = "_value_13c54_191", un = "_box_13c54_196", dn = "_uploadBox_13c54_197", mn = "_dropZone_13c54_228", pn = "_dropZoneHover_13c54_243", fn = "_boxHover_13c54_280", En = "_typeInput_13c54_335", T = {
774
774
  container: Jt,
775
775
  header: Kt,
776
776
  tabs: Qt,
@@ -793,18 +793,18 @@ const Vt = () => {
793
793
  content: e,
794
794
  locale: t
795
795
  }), hn = () => {
796
- var Z, te, _, w, U, B;
797
- const e = Vt(), { disabled: t, readOnly: a } = x(), n = !t && !a, o = X({
796
+ var G, te, _, w, U, B;
797
+ const e = $t(), { disabled: t, readOnly: a } = x(), n = !t && !a, o = X({
798
798
  globalClasses: Ke,
799
799
  moduleClasses: {
800
800
  base: T.tab,
801
801
  hover: T.tabHover,
802
802
  selected: T.tabSelected
803
803
  }
804
- }), s = ({ isSelected: D, isHovered: O, isFocused: G }) => o({
804
+ }), s = ({ isSelected: D, isHovered: O, isFocused: k }) => o({
805
805
  isSelected: D,
806
806
  isHovered: O,
807
- isFocused: G,
807
+ isFocused: k,
808
808
  isInteractive: n
809
809
  }), i = X({
810
810
  globalClasses: Xe,
@@ -838,19 +838,19 @@ const Vt = () => {
838
838
  base: T.uploadButton,
839
839
  hover: T.uploadButtonHover
840
840
  }
841
- }), m = (B = (U = (w = (_ = (te = (Z = Le().signature) == null ? void 0 : Z.elementProps) == null ? void 0 : te.dropZone) == null ? void 0 : _.elementProps) == null ? void 0 : w.uploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: h, ...p } = m ?? {}, g = He(ne.SIGNATURE, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), E = V(null), [S, Y] = q(!1), [P, v] = q(!1), ee = y(() => {
841
+ }), m = (B = (U = (w = (_ = (te = (G = Le().signature) == null ? void 0 : G.elementProps) == null ? void 0 : te.dropZone) == null ? void 0 : _.elementProps) == null ? void 0 : w.uploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: h, ...p } = m ?? {}, g = He(ne.SIGNATURE, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), E = $(null), [S, Z] = q(!1), [P, v] = q(!1), ee = y(() => {
842
842
  var D;
843
- Y(!0), (D = E.current) == null || D.runAnimationForward();
844
- }, []), $ = y(() => {
843
+ Z(!0), (D = E.current) == null || D.runAnimationForward();
844
+ }, []), z = y(() => {
845
845
  var D;
846
- Y(!1), (D = E.current) == null || D.runAnimationBackward();
846
+ Z(!1), (D = E.current) == null || D.runAnimationBackward();
847
847
  }, []);
848
848
  return /* @__PURE__ */ r.createElement(b, null, /* @__PURE__ */ r.createElement(b.Label, {
849
849
  className: F(We, ae.label)
850
850
  }, /* @__PURE__ */ r.createElement(b.Label.Required, {
851
- className: F(ze, ae.requiredMark)
851
+ className: F(Ye, ae.requiredMark)
852
852
  })), /* @__PURE__ */ r.createElement(b.Input, {
853
- className: F(Ye, T.container)
853
+ className: F(Ze, T.container)
854
854
  }, /* @__PURE__ */ r.createElement(b.Input.Header, {
855
855
  className: T.header
856
856
  }, /* @__PURE__ */ r.createElement(b.Input.Header.Tabs, {
@@ -874,9 +874,9 @@ const Vt = () => {
874
874
  }, /* @__PURE__ */ r.createElement(Xt, {
875
875
  className: T.tabIcon
876
876
  }))), /* @__PURE__ */ r.createElement(b.Input.Header.Clear, {
877
- className: F(Ze, T.clear),
877
+ className: F(Ge, T.clear),
878
878
  "aria-label": e.clearLabel
879
- }, /* @__PURE__ */ r.createElement($t, null))), /* @__PURE__ */ r.createElement(b.Input.Value, {
879
+ }, /* @__PURE__ */ r.createElement(zt, null))), /* @__PURE__ */ r.createElement(b.Input.Value, {
880
880
  className: T.value
881
881
  }, /* @__PURE__ */ r.createElement(b.Input.Value.Canvas, {
882
882
  className: i,
@@ -888,9 +888,9 @@ const Vt = () => {
888
888
  className: T.typeInput,
889
889
  placeholder: e.placeholder
890
890
  })), /* @__PURE__ */ r.createElement(b.Input.Value.Upload, {
891
- className: ({ isHovered: D, isFocused: O, isDropTarget: G }) => F(T.uploadBox, d({
891
+ className: ({ isHovered: D, isFocused: O, isDropTarget: k }) => F(T.uploadBox, d({
892
892
  isSelected: !1,
893
- isHovered: D || G,
893
+ isHovered: D || k,
894
894
  isFocused: O,
895
895
  isInteractive: n
896
896
  }))
@@ -905,20 +905,20 @@ const Vt = () => {
905
905
  isInteractive: n
906
906
  }),
907
907
  onHoverStart: ee,
908
- onHoverEnd: $,
908
+ onHoverEnd: z,
909
909
  onFocusChange: v
910
910
  }, p.svg ? /* @__PURE__ */ r.createElement(Fe, {
911
911
  ...p,
912
912
  ref: E,
913
- className: F(Ge, ke, h)
913
+ className: F(ke, Ve, h)
914
914
  }) : null, /* @__PURE__ */ r.createElement(b.Input.Value.Upload.Button.Text, {
915
915
  className: F(pe.base, T.uploadButtonLabel, g, {
916
916
  [pe.hover]: n && (S || P)
917
917
  })
918
918
  }, e.uploadLabel))))), /* @__PURE__ */ r.createElement(b.Error, {
919
- className: F(Ve, ae.error)
919
+ className: F($e, ae.error)
920
920
  }, /* @__PURE__ */ r.createElement(pt, null), /* @__PURE__ */ r.createElement(b.Error.Text, null)), /* @__PURE__ */ r.createElement(b.Description, {
921
- className: F($e, ae.description)
921
+ className: F(ze, ae.description)
922
922
  }, gn));
923
923
  }, xn = () => /* @__PURE__ */ r.createElement(hn, null);
924
924
  export {
@@ -1,10 +1,10 @@
1
1
  import t, { useRef as X, useCallback as y } from "react";
2
2
  import J from "@wix/editor-react-components/AnimatedIcon";
3
3
  import p from "classnames";
4
- import { bL as b, bF as K, aF as $, aE as j, aC as q, aB as z, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-BjeODFzx.js";
4
+ import { bL as b, bF as K, aF as $, aE as j, aC as q, aB as z, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-j_yRqg3t.js";
5
5
  import { ProgressBar as nt, Button as w } from "react-aria-components";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { u as x } from "./use-element-state-class-name-BVJylHPn.js";
7
+ import { u as x } from "./use-element-state-class-name-CcW9uY2w.js";
8
8
  function ot(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(nt, {
@@ -2,15 +2,15 @@ import { RicosViewer as j } from "@wix/ricos/viewer";
2
2
  import F from "classnames";
3
3
  import t, { useMemo as I, useState as w, useRef as A, useLayoutEffect as z, useCallback as N } from "react";
4
4
  import { CheckboxGroup as B, TextField as J, Input as K, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
5
- import { bL as D, bI as M, bV as S, bN as U, X as ee, am as te, ax as oe, M as ne, I as ae, ay as re } from "./form-BjeODFzx.js";
5
+ import { bL as D, bI as M, bV as S, bN as U, X as ee, am as te, ax as oe, M as ne, I as ae, ay as re } from "./form-j_yRqg3t.js";
6
6
  import { f as O, a as k } from "./find-child-C60k4CxG.js";
7
- import { E as W, D as H } from "./field-error-headless-DbFXeaud.js";
8
- import { L as $ } from "./field-label-headless-CWOYHPsb.js";
7
+ import { E as W, D as H } from "./field-error-headless-Coipxm8r.js";
8
+ import { L as $ } from "./field-label-headless-Td5R2D2v.js";
9
9
  import { F as se } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as le } from "./error-icon-hZxQ6DEy.js";
11
- import { s as y } from "./field-rac.module-ts2t4WUO.js";
12
- import { u as ie } from "./use-element-state-class-name-BVJylHPn.js";
13
- import { u as ce } from "./use-text-input-class-name-LEnNGX0a.js";
11
+ import { s as y } from "./field-rac.module-DcyJyi2B.js";
12
+ import { u as ie } from "./use-element-state-class-name-CcW9uY2w.js";
13
+ import { u as ce } from "./use-text-input-class-name-BIu78phH.js";
14
14
  var ue = /* @__PURE__ */ (function(e) {
15
15
  return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
16
16
  })({});
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-DHM9k8uf.js";
2
+ import { T as r } from "./tags-field-rac-Cm4SnACy.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
3
  import r, { useCallback as S, useRef as T } from "react";
4
4
  import { TextField as O, TextArea as y } from "react-aria-components";
5
- import { bL as p, bI as d, bN as x, X as g, am as h, M as v, I as M } from "./form-BjeODFzx.js";
5
+ import { bL as p, bI as d, bN as x, X as g, am as h, M as v, I as M } from "./form-j_yRqg3t.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as q, E as B } from "./field-error-headless-DbFXeaud.js";
8
- import { L as k } from "./field-label-headless-CWOYHPsb.js";
7
+ import { D as q, E as B } from "./field-error-headless-Coipxm8r.js";
8
+ import { L as k } from "./field-label-headless-Td5R2D2v.js";
9
9
  import { E as P } from "./error-icon-hZxQ6DEy.js";
10
- import { s as c } from "./field-rac.module-ts2t4WUO.js";
11
- import { u as V } from "./use-text-input-class-name-LEnNGX0a.js";
10
+ import { s as c } from "./field-rac.module-DcyJyi2B.js";
11
+ import { u as V } from "./use-text-input-class-name-BIu78phH.js";
12
12
  const e = ({ children: t }) => {
13
13
  const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: I, FieldLayout: b, hasError: f } = p(), { labelId: L } = d(), F = S((A) => {
14
14
  s(A);
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-B2qJZ6wR.js";
2
+ import { T as r } from "./text-area-field-rac-BEGUVGQL.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TextAreaRAC
@@ -1,11 +1,11 @@
1
1
  import { RicosViewer as l } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { T as r } from "./text-input-headless-WICGIHcN.js";
4
+ import { T as r } from "./text-input-headless-DTDZC4x7.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
- import { s as a } from "./field-rac.module-ts2t4WUO.js";
7
- import { X as n, am as c, M as E, I as i } from "./form-BjeODFzx.js";
8
- import { u as p } from "./use-text-input-class-name-LEnNGX0a.js";
6
+ import { s as a } from "./field-rac.module-DcyJyi2B.js";
7
+ import { X as n, am as c, M as E, I as i } from "./form-j_yRqg3t.js";
8
+ import { u as p } from "./use-text-input-class-name-BIu78phH.js";
9
9
  const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
10
10
  content: s,
11
11
  locale: m
@@ -1,9 +1,9 @@
1
1
  import t, { useRef as v } from "react";
2
2
  import { TextField as C, Input as R } from "react-aria-components";
3
- import { bL as c, bI as d, bN as T } from "./form-BjeODFzx.js";
3
+ import { bL as c, bI as d, bN as T } from "./form-j_yRqg3t.js";
4
4
  import { f as s } from "./find-child-C60k4CxG.js";
5
- import { D as g, E as h } from "./field-error-headless-DbFXeaud.js";
6
- import { L as x } from "./field-label-headless-CWOYHPsb.js";
5
+ import { D as g, E as h } from "./field-error-headless-Coipxm8r.js";
6
+ import { L as x } from "./field-label-headless-Td5R2D2v.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: a, value: l, onChange: i, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = c(), { labelId: I } = d(), F = s(r, e.Label), y = s(r, e.Input), D = s(r, e.Description), L = s(r, e.Error);
9
9
  return /* @__PURE__ */ t.createElement(E, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BQbo-3Ly.js";
2
+ import { T as e } from "./text-input-field-rac-CZn2Flyb.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -3,14 +3,14 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
3
3
  import m from "classnames";
4
4
  import { parseTime as B } from "@internationalized/date";
5
5
  import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
6
- import { bL as p, bI as j, bV as T, bN as Q, X, am as z, M as G, I as J } from "./form-BjeODFzx.js";
6
+ import { bL as p, bI as j, bV as T, bN as Q, X, am as z, M as G, I as J } from "./form-j_yRqg3t.js";
7
7
  import { f as u, a as F } from "./find-child-C60k4CxG.js";
8
- import { D as K, E as W } from "./field-error-headless-DbFXeaud.js";
9
- import { L as Y } from "./field-label-headless-CWOYHPsb.js";
8
+ import { D as K, E as W } from "./field-error-headless-Coipxm8r.js";
9
+ import { L as Y } from "./field-label-headless-Td5R2D2v.js";
10
10
  import { E as Z } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as S } from "./custom-focus-class-_483Pkwp.js";
12
- import { s as f } from "./field-rac.module-ts2t4WUO.js";
13
- import { u as $ } from "./use-text-input-class-name-LEnNGX0a.js";
12
+ import { s as f } from "./field-rac.module-DcyJyi2B.js";
13
+ import { u as $ } from "./use-text-input-class-name-BIu78phH.js";
14
14
  const r = ({ children: t }) => {
15
15
  const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: I, FieldLayout: b, hasError: C } = p(), { inputId: g, ariaDescribedBy: L, labelId: D } = j(), R = V((M) => {
16
16
  const H = ae(M);
@@ -2,14 +2,14 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
3
  import r, { useCallback as h, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { bL as d, bI as E, bN as v, X as B, am as M, M as T, I as g } from "./form-BjeODFzx.js";
5
+ import { bL as d, bI as E, bN as v, X as B, am as M, M as T, I as g } from "./form-j_yRqg3t.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as k, E as P } from "./field-error-headless-DbFXeaud.js";
8
- import { L as q } from "./field-label-headless-CWOYHPsb.js";
7
+ import { D as k, E as P } from "./field-error-headless-Coipxm8r.js";
8
+ import { L as q } from "./field-label-headless-Td5R2D2v.js";
9
9
  import { u as x } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as U } from "./error-icon-hZxQ6DEy.js";
11
- import { s as u } from "./field-rac.module-ts2t4WUO.js";
12
- import { u as w } from "./use-text-input-class-name-LEnNGX0a.js";
11
+ import { s as u } from "./field-rac.module-DcyJyi2B.js";
12
+ import { u as w } from "./use-text-input-class-name-BIu78phH.js";
13
13
  const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
14
  const { id: o, value: l, onChange: n, disabled: m, readOnly: s, required: a, hasError: I, onBlur: b, onFocus: f, FieldLayout: L } = d(), { labelId: R } = E(), p = x(b), F = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
15
15
  n(V(l)), p();
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-MC13zKST.js";
2
+ import { U as t } from "./url-input-field-rac-DYAXRURP.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC
@@ -1,9 +1,9 @@
1
1
  import d, { useContext as _, useRef as L, useState as m, Children as N, useLayoutEffect as p, useMemo as D } from "react";
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as M } from "react-aria-components";
3
3
  import P from "classnames";
4
- import { s as h } from "./field-rac.module-ts2t4WUO.js";
5
- import { K as T } from "./form-BjeODFzx.js";
6
- import { u as H } from "./use-element-state-class-name-BVJylHPn.js";
4
+ import { s as h } from "./field-rac.module-DcyJyi2B.js";
5
+ import { K as T } from "./form-j_yRqg3t.js";
6
+ import { u as H } from "./use-element-state-class-name-CcW9uY2w.js";
7
7
  const R = 1 / 0, I = {
8
8
  position: "absolute",
9
9
  width: 0,
@@ -1,14 +1,14 @@
1
1
  import e, { useState as F, useCallback as L, useRef as M } from "react";
2
2
  import { UNSAFE_PortalProvider as $ } from "react-aria";
3
3
  import { VisuallyHidden as k, Select as G, SelectValue as U, ListBoxItem as W } from "react-aria-components";
4
- import { bL as b, bI as v, bV as Y, bN as j, L as z } from "./form-BjeODFzx.js";
4
+ import { bL as b, bI as v, bV as Y, bN as j, L as z } from "./form-j_yRqg3t.js";
5
5
  import { f as d, a as D } from "./find-child-C60k4CxG.js";
6
- import { D as J, E as K } from "./field-error-headless-DbFXeaud.js";
7
- import { L as Q } from "./field-label-headless-CWOYHPsb.js";
6
+ import { D as J, E as K } from "./field-error-headless-Coipxm8r.js";
7
+ import { L as Q } from "./field-label-headless-Td5R2D2v.js";
8
8
  import { E as X, S as Z, N as ee } from "./non-modal-popover-D-u13tmp.js";
9
- import { b as te } from "./use-is-forced-open-dropdown-Czuo32Nq.js";
10
- import { V as ne } from "./use-dropdown-option-class-name-CVUEosg4.js";
11
- import { u as re } from "./use-hoverable-input-class-name-DO9ctJ81.js";
9
+ import { b as te } from "./use-is-forced-open-dropdown-CUekpH1u.js";
10
+ import { V as ne } from "./use-dropdown-option-class-name-teYH9uf4.js";
11
+ import { u as re } from "./use-hoverable-input-class-name-B9Ps5WPu.js";
12
12
  const r = ({ children: t }) => {
13
13
  const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: n, placeholder: m, disabled: i, required: p, onBlur: I, onFocus: C, FieldLayout: y, hasError: N } = b(), [T, P] = F(!1), E = te(l), [R, h] = F(null), S = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: f } = v(), { t: V } = Y(), O = `${f}-required`, B = L((c) => {
14
14
  o || n(typeof c == "string" ? c : null);
@@ -1,5 +1,5 @@
1
1
  import i from "classnames";
2
- import { bE as s, bb as v } from "./form-BjeODFzx.js";
2
+ import { bE as s, bb as v } from "./form-j_yRqg3t.js";
3
3
  const x = ({ globalClasses: e, moduleClasses: r }) => {
4
4
  var d;
5
5
  const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
@@ -1,6 +1,6 @@
1
- import { bL as n } from "./form-BjeODFzx.js";
2
- import { s as e } from "./field-rac.module-ts2t4WUO.js";
3
- import { u } from "./use-element-state-class-name-BVJylHPn.js";
1
+ import { bL as n } from "./form-j_yRqg3t.js";
2
+ import { s as e } from "./field-rac.module-DcyJyi2B.js";
3
+ import { u } from "./use-element-state-class-name-CcW9uY2w.js";
4
4
  const b = (s, a) => {
5
5
  const { disabled: t, readOnly: o } = n(), r = u({
6
6
  globalClasses: s,
@@ -1,5 +1,5 @@
1
1
  import { useContext as u, useMemo as a } from "react";
2
- import { bF as c, aR as p, bD as D, F as o } from "./form-BjeODFzx.js";
2
+ import { bF as c, aR as p, bD as D, F as o } from "./form-j_yRqg3t.js";
3
3
  const E = [
4
4
  o.DROPDOWN,
5
5
  o.DEXT_DROPDOWN,
@@ -1,5 +1,5 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { bK as v } from "./form-BjeODFzx.js";
2
+ import { bK as v } from "./form-j_yRqg3t.js";
3
3
  const k = (I) => {
4
4
  const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
5
5
  let d = e.map((l) => ({
@@ -0,0 +1,6 @@
1
+ import { az as a } from "./form-j_yRqg3t.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-B9Ps5WPu.js";
3
+ const m = (...s) => e(a, s);
4
+ export {
5
+ m as u
6
+ };