@wix/form-elements 1.148.0 → 1.149.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 (107) hide show
  1. package/dist/component/{appointment-rac-BNqXl3dq.js → appointment-rac-CeJ6tmgt.js} +4 -4
  2. package/dist/component/{bookings-address-rac-DzLf588z.js → bookings-address-rac-CEObYEbj.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BCNWH7ss.js → bookings-email-rac-DmW99D5W.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-D36aHUOJ.js → bookings-first-name-rac-GmKet4hL.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CNr2y2ES.js → bookings-header-rac-C_J1YzAq.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-yHE6ZIxr.js → bookings-last-name-rac-Bj-gwK0F.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-C3weOc1i.js → bookings-login-bar-rac-ol4QLAP6.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-CIo_ApRf.js → bookings-phone-rac-oaCG294y.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-rgKnvt57.js → bookings-rich-text-rac-sMiikQgk.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CMaVxLNe.js → checkbox-field-rac-DxGaRbDj.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-XPtqS8Km.js → checkbox-group-field-headless-C3ZaCvQz.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-C_58XfQt.js → checkbox-group-field-rac-CMj-kfFN.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-FQrWViSh.js → checkbox-group-rac-DpOT4H7g.js} +1 -1
  14. package/dist/component/{checkbox-rac-C5Lj2b1N.js → checkbox-rac-CwdOkW8r.js} +1 -1
  15. package/dist/component/{contacts-address-rac-OhpLzD0X.js → contacts-address-rac-CQvt1Epy.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-Dnqq84ct.js → contacts-birthdate-rac-VRGtjIMf.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DMnTF55t.js → contacts-company-rac-B_XDJTL9.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DmZhScW2.js → contacts-email-rac-BJ0EdzZo.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-B6A4fuzK.js → contacts-first-name-rac-DzBzJXj7.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-DVz97lew.js → contacts-last-name-rac-DAHlHpW7.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DV8aO0uS.js → contacts-phone-rac-C4D1TMqv.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BP_yBIE4.js → contacts-position-rac-g0CJQJLc.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-wmTprtLf.js → contacts-subscribe-rac-C54jQIum.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CUEPBQye.js → contacts-tax-id-rac-D_JlmKJb.js} +1 -1
  25. package/dist/component/{date-availability-BK_0gLRv.js → date-availability-CFp_AHpE.js} +1 -1
  26. package/dist/component/{date-input-field-rac-BfWPvRnd.js → date-input-field-rac-CxOU5_P5.js} +6 -6
  27. package/dist/component/{date-input-rac-B7vAMRBX.js → date-input-rac-CEuyvgIp.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CpDY4EkU.js → date-picker-field-rac-DC8gw2Qe.js} +6 -6
  29. package/dist/component/{date-picker-rac-BCswaZB1.js → date-picker-rac-B8prCy1F.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-D9w4eEa0.js → date-time-input-field-rac-FwScqIVQ.js} +6 -6
  31. package/dist/component/{date-time-input-rac-_im8-JRC.js → date-time-input-rac-gdstXM2G.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Di7B1Wzv.js → dext-checkbox-group-rac-DdEAXUYC.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BPendOsP.js → dext-checkbox-rac-DYgl82IR.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-_-Ig9Qn6.js → dext-date-picker-rac-SaO61461.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-dKFW87yu.js → dext-date-time-input-rac-CQ2klkyf.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-Cpdpps7P.js → dext-dropdown-rac-CYINWMm2.js} +1 -1
  37. package/dist/component/{dext-email-rac-D4UmYH5m.js → dext-email-rac-7e49-L1S.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DUetGnYJ.js → dext-number-input-rac-BxECUZaK.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Bsz_DAT9.js → dext-phone-rac-BCUCWcrF.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B_soj2FD.js → dext-radio-group-rac-Bs_64hFW.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-cm40qt4O.js → dext-rating-input-rac-Bl-MBjGQ.js} +1 -1
  42. package/dist/component/{dext-tags-rac-D1ULx6t1.js → dext-tags-rac-D98sEqwj.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-IkL67rHB.js → dext-text-area-rac-Dsbsk2z4.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-DsYSTEL2.js → dext-text-input-rac-vYtTnV5G.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-BKvEkpYu.js → dext-url-input-rac-tJJZOvtn.js} +1 -1
  46. package/dist/component/{donation-rac-CaCXMa-H.js → donation-rac-CPPSHRbF.js} +5 -5
  47. package/dist/component/{dropdown-field-headless-DcrQK8mL.js → dropdown-field-headless-BWbsB155.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-CuGoz_6I.js → dropdown-field-rac-BYyLHTVV.js} +3 -3
  49. package/dist/component/{dropdown-rac-rIe6ZqaZ.js → dropdown-rac-CyWVQHvW.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DT0rzvvp.js → ecom-address-rac-DLWEUZg7.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-ZfbiME6e.js → ecom-subscription-checkbox-rac-DY-Vzmr5.js} +2 -2
  52. package/dist/component/{email-input-field-rac-8Qn3yskh.js → email-input-field-rac-00Q0cH3p.js} +3 -3
  53. package/dist/component/{events-repeater-rac-DyHrMd3y.js → events-repeater-rac-C_TDB0VL.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-CoL-euuc.js → events-rsvp-rac-Cly4TgEv.js} +3 -3
  55. package/dist/component/{field-error-headless-RylIeqXr.js → field-error-headless-sUpR20_V.js} +1 -1
  56. package/dist/component/{field-label-headless-d3hZxIEc.js → field-label-headless-xEHyxl62.js} +1 -1
  57. package/dist/component/{file-upload-rac-rXbabrgc.js → file-upload-rac-BLTYhgrR.js} +4 -4
  58. package/dist/component/{fixed-payment-rac-CaR7pXXA.js → fixed-payment-rac-BBSzAU8U.js} +3 -3
  59. package/dist/component/{form-DhIEC3nB.js → form-DbRjIc40.js} +285 -285
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-nELbyGjP.js → header-field-rac-DdF0EtGw.js} +2 -2
  62. package/dist/component/{header-rac-q80EQNmM.js → header-rac-CQzVj2se.js} +1 -1
  63. package/dist/component/{image-choice-rac-CLMiTQK0.js → image-choice-rac-F4il5nrs.js} +4 -4
  64. package/dist/component/{index-DnLJzPM-.js → index-3lV2ezGk.js} +2 -2
  65. package/dist/component/{index-C-jVrv9Y.js → index-ClGqqyFk.js} +4 -4
  66. package/dist/component/{isObjectLike-Bf577MHV.js → isObjectLike-CbFuWC1b.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-BVAv1w9F.js → multiline-address-field-rac-Bhkmy-UH.js} +7 -7
  68. package/dist/component/{multiline-address-rac-qMuUHA9U.js → multiline-address-rac-CH6ZAJ_l.js} +1 -1
  69. package/dist/component/{number-input-field-rac-B_vnBWFG.js → number-input-field-rac-DEBHQQqw.js} +4 -4
  70. package/dist/component/{number-input-rac-BPCIW8Fz.js → number-input-rac-DL3ReqMc.js} +1 -1
  71. package/dist/component/{password-rac-D72HG72u.js → password-rac-Bo7Va46-.js} +4 -4
  72. package/dist/component/{payment-input-rac-DthVgsAi.js → payment-input-rac-CyT2kcLF.js} +4 -4
  73. package/dist/component/{phone-input-field-rac-XIPkH8Fb.js → phone-input-field-rac-CKCkS2mG.js} +6 -6
  74. package/dist/component/{phone-rac-U94fCfer.js → phone-rac-BcW_3aA5.js} +1 -1
  75. package/dist/component/{product-list-rac-BRMGPyhr.js → product-list-rac-Cxu5KYQ1.js} +4 -4
  76. package/dist/component/{quiz-radio-group-rac-DafNzzgX.js → quiz-radio-group-rac-Bam3nw3m.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-DtFlHID_.js → radio-button-module-classes-D6cil49f.js} +3 -3
  78. package/dist/component/{radio-group-field-rac-BXrYWjew.js → radio-group-field-rac-BgWnXO5Q.js} +4 -4
  79. package/dist/component/{radio-group-rac-BNyFfQYV.js → radio-group-rac-BMepx9xD.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-KbkiVCZ7.js → rating-input-field-rac-BmdQzQ1t.js} +4 -4
  81. package/dist/component/{rating-input-rac-zT4vPkwP.js → rating-input-rac-BuNTgro2.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-C0OQetct.js → rich-content-rac.module-DIShgYK1.js} +1 -1
  83. package/dist/component/{rich-text-field-rac-T4NoShC0.js → rich-text-field-rac-CfcWsMcr.js} +2 -2
  84. package/dist/component/{rich-text-rac-m6VRCRZu.js → rich-text-rac-CbpbC1i1.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-BFwKhL1l.js → service-dropdown-rac-_ph-8eMR.js} +4 -4
  86. package/dist/component/{services-multi-choice-rac-DjzcuRWv.js → services-multi-choice-rac-VS-18f_N.js} +5 -5
  87. package/dist/component/{signature-rac-B1LPKnIw.js → signature-rac-CgCdt4im.js} +47 -47
  88. package/dist/component/{submit-button-rac-Cz3PVtW4.js → submit-button-rac-CAnahSZG.js} +2 -2
  89. package/dist/component/{tags-field-rac-DzSoL__s.js → tags-field-rac-TdxHJoT1.js} +5 -5
  90. package/dist/component/{tags-rac-DMYJDrm-.js → tags-rac-ivZy_kqq.js} +1 -1
  91. package/dist/component/{text-area-field-rac-SuMzBm-Q.js → text-area-field-rac-C4dg7l8s.js} +4 -4
  92. package/dist/component/{text-area-rac-C-zmnJgt.js → text-area-rac-Dqcg7ApJ.js} +1 -1
  93. package/dist/component/{text-input-field-rac-BmQlXTK9.js → text-input-field-rac-C6VjmvWa.js} +3 -3
  94. package/dist/component/{text-input-headless-BsrjGTK4.js → text-input-headless-CUsCjQmX.js} +3 -3
  95. package/dist/component/{text-input-rac-DhQFKG4h.js → text-input-rac-CMFWBJKG.js} +1 -1
  96. package/dist/component/{time-input-rac-CRZZdbTI.js → time-input-rac-cbG7WRTS.js} +4 -4
  97. package/dist/component/{url-input-field-rac-D617Pvsf.js → url-input-field-rac-7yh9eqH3.js} +4 -4
  98. package/dist/component/{url-input-rac-CLvxaWZz.js → url-input-rac-D_rkLxU0.js} +1 -1
  99. package/dist/component/{use-dropdown-trigger-class-name-C4uqTKFP.js → use-dropdown-trigger-class-name-B53A0SXh.js} +3 -3
  100. package/dist/component/{use-element-state-class-name-DJx-T0zf.js → use-element-state-class-name-glM9I1ZZ.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-pwVZXwrY.js → use-hoverable-input-class-name-DpOCZ2hg.js} +2 -2
  102. package/dist/component/{use-is-forced-open-dropdown-DBpm1D-o.js → use-is-forced-open-dropdown-B0M0FaQ-.js} +1 -1
  103. package/dist/component/{use-service-options-base-xHeVTve3.js → use-service-options-base-CqZd8Yl3.js} +1 -1
  104. package/dist/component/use-text-input-class-name-DPUN9lls.js +6 -0
  105. package/dist/form.d.ts +3 -3
  106. package/package.json +2 -2
  107. package/dist/component/use-text-input-class-name-CrEjJ2Z8.js +0 -6
@@ -1,21 +1,21 @@
1
- import r, { useRef as G, useContext as Ae, useMemo as be, useCallback as _, useState as X, useEffect as le, Children as Fe, isValidElement as Le } from "react";
1
+ import r, { useRef as V, useContext as Ne, useMemo as be, useCallback as _, useState as X, useEffect as le, Children as Fe, isValidElement as Le } from "react";
2
2
  import we from "@wix/editor-react-components/AnimatedIcon";
3
3
  import { RicosViewer as xe } from "@wix/ricos/viewer";
4
4
  import F from "classnames";
5
- import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, S as Ye, a0 as qe, a2 as ke, v as pe, b as Ze, a7 as Ve, a8 as fe, H as Ge, a1 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-DhIEC3nB.js";
5
+ import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, S as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-DbRjIc40.js";
6
6
  import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
7
7
  import { RadioGroup as tt, Button as ye, TextField as nt, DropZone as at, Input as ot, FileTrigger as st, RadioField as rt, RadioButton as lt } from "react-aria-components";
8
8
  import _e from "signature_pad";
9
- import { f as I, a as A } from "./find-child-C60k4CxG.js";
10
- import { D as it, E as ct } from "./field-error-headless-RylIeqXr.js";
11
- import { L as ut } from "./field-label-headless-d3hZxIEc.js";
9
+ import { f as I, a as N } from "./find-child-C60k4CxG.js";
10
+ import { D as it, E as ct } from "./field-error-headless-sUpR20_V.js";
11
+ import { L as ut } from "./field-label-headless-xEHyxl62.js";
12
12
  import { D as dt } from "./data-hooks-Dkw1pbRj.js";
13
13
  import { E as mt } from "./error-icon-hZxQ6DEy.js";
14
14
  import { s as ae } from "./field-rac.module-DP0lkkEv.js";
15
- import { u as z } from "./use-element-state-class-name-DJx-T0zf.js";
16
- const pt = typeof r.useId == "function" ? r.useId : () => G(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, ht = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), Et = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, gt = (e) => {
15
+ import { u as z } from "./use-element-state-class-name-glM9I1ZZ.js";
16
+ const pt = typeof r.useId == "function" ? r.useId : () => V(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, ht = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), Et = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, gt = (e) => {
17
17
  var o;
18
- const t = (o = Te().signatureContainer) == null ? void 0 : o.signatureMode, a = Ae(Be);
18
+ const t = (o = Te().signature) == null ? void 0 : o.signatureMode, a = Ne(Be);
19
19
  return be(() => {
20
20
  var s;
21
21
  return a && !a.parentId && t ? (s = a.fields.filter((l) => ht(l, t)).sort(Et)[0]) == null ? void 0 : s.id : void 0;
@@ -28,7 +28,7 @@ var S = /* @__PURE__ */ (function(e) {
28
28
  return e.TEXT = "text/plain", e.POINTS = "points/json", e;
29
29
  })({}), C = /* @__PURE__ */ (function(e) {
30
30
  return e.DRAW = "draw", e.TYPE = "type", e.UPLOAD = "upload", e;
31
- })({}), N = /* @__PURE__ */ (function(e) {
31
+ })({}), A = /* @__PURE__ */ (function(e) {
32
32
  return e.DRAW = "draw", e.TYPE = "type", e.IMAGE = "image", e.UPLOAD = "upload", e;
33
33
  })({});
34
34
  const bt = (e) => {
@@ -112,7 +112,7 @@ 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 V = 480, yt = (e) => Re({
115
+ const G = 480, yt = (e) => Re({
116
116
  data: JSON.stringify(e),
117
117
  mimeType: S.POINTS
118
118
  }), ve = (e) => {
@@ -147,14 +147,14 @@ function vt(e, t, a = "black", n = !1, o) {
147
147
  const m = (i - u) / 2;
148
148
  s.fillText(t, n ? i - m : m, (c - d) / 2 + f);
149
149
  }
150
- const Ne = /^data:([^;,]+)(?:;([^,]+))?,(.+)$/;
150
+ const Ae = /^data:([^;,]+)(?:;([^,]+))?,(.+)$/;
151
151
  function Dt(e) {
152
- return Ne.test(e);
152
+ return Ae.test(e);
153
153
  }
154
154
  function Y(e) {
155
155
  if (!e)
156
156
  return;
157
- const t = e.match(Ne);
157
+ const t = e.match(Ae);
158
158
  if (!t)
159
159
  return;
160
160
  const [, a, n, o] = t;
@@ -192,13 +192,13 @@ function ie(e, t = "temp") {
192
192
  fileType: (a == null ? void 0 : a.mimeType) ?? ""
193
193
  };
194
194
  }
195
- async function Nt(e, t) {
195
+ async function At(e, t) {
196
196
  const a = Y(e);
197
197
  if (!a)
198
198
  return e;
199
199
  const n = a.mimeType;
200
200
  if (n === S.TEXT) {
201
- const o = j(V * 20, V, 1);
201
+ const o = j(G * 20, G, 1);
202
202
  vt(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,24 +210,24 @@ async function Nt(e, t) {
210
210
  const s = o.map((d) => ({
211
211
  ...d,
212
212
  penColor: "black"
213
- })), l = j(V * 20, V, Math.max(window.devicePixelRatio || 1, 1));
213
+ })), l = j(G * 20, G, Math.max(window.devicePixelRatio || 1, 1));
214
214
  new _e(l).fromData(s);
215
215
  const c = re(l);
216
- return c ? he(c, void 0, V, "white").toDataURL("image/jpeg", 0.7) : null;
216
+ return c ? he(c, void 0, G, "white").toDataURL("image/jpeg", 0.7) : null;
217
217
  }
218
218
  if (n != null && n.startsWith("image/")) {
219
219
  const o = await It(e), s = re(o);
220
- return s ? he(s, void 0, V).toDataURL("image/jpeg", 0.7) : null;
220
+ return s ? he(s, void 0, G).toDataURL("image/jpeg", 0.7) : null;
221
221
  }
222
222
  return e;
223
223
  }
224
224
  async function Rt(e, t) {
225
- const a = await Nt(e, t);
225
+ const a = await At(e, t);
226
226
  if (a)
227
227
  return St(a, "signature");
228
228
  }
229
- const At = ({ value: e, onChange: t, target: a }) => {
230
- const [n, o] = X(e), { isRTL: s } = Me(), l = bt(a), { setFormStatus: i } = Ce(), c = G();
229
+ const Nt = ({ value: e, onChange: t, target: a }) => {
230
+ const [n, o] = X(e), { isRTL: s } = Me(), l = bt(a), { setFormStatus: i } = Ce(), c = V();
231
231
  le(() => {
232
232
  e === me && o(me);
233
233
  }, [
@@ -278,7 +278,7 @@ const At = ({ value: e, onChange: t, target: a }) => {
278
278
  cancelUpload: u
279
279
  };
280
280
  }, Ft = ({ target: e, value: t, onChange: a }) => {
281
- const { handleChange: n, cancelUpload: o, signature: s, decodedValue: l } = At({
281
+ const { handleChange: n, cancelUpload: o, signature: s, decodedValue: l } = Nt({
282
282
  value: t,
283
283
  onChange: a,
284
284
  target: e
@@ -309,13 +309,13 @@ const At = ({ value: e, onChange: t, target: a }) => {
309
309
  ]), m = s != null, L = xt(i, s, l), g = (() => {
310
310
  switch (i) {
311
311
  case C.DRAW:
312
- return N.DRAW;
312
+ return A.DRAW;
313
313
  case C.TYPE:
314
- return N.TYPE;
314
+ return A.TYPE;
315
315
  case C.UPLOAD:
316
- return L != null ? N.IMAGE : N.UPLOAD;
316
+ return L != null ? A.IMAGE : A.UPLOAD;
317
317
  default:
318
- return N.DRAW;
318
+ return A.DRAW;
319
319
  }
320
320
  })();
321
321
  return {
@@ -360,9 +360,9 @@ const Ut = (e) => {
360
360
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, l, s)
361
361
  });
362
362
  }, Bt = {
363
- [C.DRAW]: N.DRAW,
364
- [C.TYPE]: N.TYPE,
365
- [C.UPLOAD]: N.UPLOAD
363
+ [C.DRAW]: A.DRAW,
364
+ [C.TYPE]: A.TYPE,
365
+ [C.UPLOAD]: A.UPLOAD
366
366
  }, J = ({ children: e, className: t }) => {
367
367
  const { id: a, value: n, onChange: o, target: s, readOnly: l } = x(), i = gt(a), { signatureMode: c, setSignatureMode: u, handleClear: d, clearable: f, signatureView: m, signatureValueForView: L, handleChange: g, handleBeforeChange: p } = Ft({
368
368
  target: s,
@@ -381,16 +381,16 @@ const Ut = (e) => {
381
381
  return /* @__PURE__ */ r.createElement("div", {
382
382
  className: t,
383
383
  "data-hook": "signature-container"
384
- }, !l && A(E, R), A(h, R));
384
+ }, !l && N(E, R), N(h, R));
385
385
  }, K = ({ children: e, className: t, ...a }) => {
386
386
  const { signatureMode: n, setSignatureMode: o, clearable: s, handleClear: l } = a, { uploadEnabled: i } = x(), c = I(e, K.Tabs), u = I(e, K.Clear);
387
387
  return /* @__PURE__ */ r.createElement("div", {
388
388
  className: t
389
- }, A(c, {
389
+ }, N(c, {
390
390
  signatureMode: n,
391
391
  setSignatureMode: o,
392
392
  uploadEnabled: i
393
- }), s && A(u, {
393
+ }), s && N(u, {
394
394
  handleClear: l
395
395
  }));
396
396
  }, M = ({ children: e, className: t, ...a }) => {
@@ -455,7 +455,7 @@ const Ut = (e) => {
455
455
  "data-invalid": f,
456
456
  "data-disabled": i,
457
457
  "data-readonly": c
458
- }, n === N.DRAW && A(m, {
458
+ }, n === A.DRAW && N(m, {
459
459
  value: o,
460
460
  onChange: s,
461
461
  onBeforeChange: l,
@@ -463,7 +463,7 @@ const Ut = (e) => {
463
463
  readOnly: c,
464
464
  onBlur: u,
465
465
  onFocus: d
466
- }), n === N.TYPE && A(L, {
466
+ }), n === A.TYPE && N(L, {
467
467
  value: o,
468
468
  onChange: s,
469
469
  onBeforeChange: l,
@@ -471,7 +471,7 @@ const Ut = (e) => {
471
471
  readOnly: c,
472
472
  onBlur: u,
473
473
  onFocus: d
474
- }), (n === N.UPLOAD || n === N.IMAGE) && A(g, {
474
+ }), (n === A.UPLOAD || n === A.IMAGE) && N(g, {
475
475
  value: o,
476
476
  onChange: s,
477
477
  onBeforeChange: l,
@@ -481,7 +481,7 @@ const Ut = (e) => {
481
481
  onFocus: d
482
482
  }));
483
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(), g = ce(), p = G(), E = G(), h = G(null), R = o == null ? void 0 : o.url, [q, P] = X(!1);
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(), g = ce(), p = V(), E = V(), h = V(null), R = o == null ? void 0 : o.url, [q, P] = X(!1);
485
485
  Ie(() => {
486
486
  var y;
487
487
  (y = E.current) == null || y.focus({
@@ -594,7 +594,7 @@ const Ut = (e) => {
594
594
  }, /* @__PURE__ */ r.createElement("div", {
595
595
  className: t,
596
596
  ...E
597
- }, A(P, {
597
+ }, N(P, {
598
598
  inputId: L,
599
599
  ariaDescribedBy: g
600
600
  })));
@@ -621,7 +621,7 @@ const Ut = (e) => {
621
621
  }, [
622
622
  o
623
623
  ]);
624
- return n && Ut(n) ? A(m, {
624
+ return n && Ut(n) ? N(m, {
625
625
  value: n
626
626
  }) ?? null : /* @__PURE__ */ r.createElement(at, {
627
627
  className: t,
@@ -641,7 +641,7 @@ const Ut = (e) => {
641
641
  }
642
642
  }
643
643
  }
644
- }, A(f, {
644
+ }, N(f, {
645
645
  onSelectFiles: L,
646
646
  disabled: s,
647
647
  readOnly: l,
@@ -664,7 +664,7 @@ const Ut = (e) => {
664
664
  "data-hook": "signature-image"
665
665
  }, n.displayName || t));
666
666
  }, se = ({ children: e, className: t, onHoverStart: a, onHoverEnd: n, onFocusChange: o, ...s }) => {
667
- const { onSelectFiles: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = s, { inputId: f, ariaDescribedBy: m, labelId: L } = W(), g = pt(), E = !!I(e, se.Text) ? Fe.map(e, (h) => /* @__PURE__ */ Le(h) && h.type === se.Text ? A(h, {
667
+ const { onSelectFiles: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = s, { inputId: f, ariaDescribedBy: m, labelId: L } = W(), g = pt(), E = !!I(e, se.Text) ? Fe.map(e, (h) => /* @__PURE__ */ Le(h) && h.type === se.Text ? N(h, {
668
668
  textId: g
669
669
  }) : h) : /* @__PURE__ */ r.createElement("span", {
670
670
  id: g
@@ -714,7 +714,7 @@ de.Value = qt;
714
714
  Q.Preview = kt;
715
715
  Q.Button = se;
716
716
  se.Text = Zt;
717
- const Vt = () => {
717
+ const Gt = () => {
718
718
  const { t: e } = He();
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
- }, Gt = (e) => /* @__PURE__ */ r.createElement("svg", {
733
+ }, Vt = (e) => /* @__PURE__ */ r.createElement("svg", {
734
734
  viewBox: "0 0 24 24",
735
735
  width: 24,
736
736
  height: 24,
@@ -794,7 +794,7 @@ const Vt = () => {
794
794
  locale: t
795
795
  }), En = () => {
796
796
  var k, te, y, w, U, B;
797
- const e = Vt(), { disabled: t, readOnly: a } = x(), n = !t && !a, o = z({
797
+ const e = Gt(), { disabled: t, readOnly: a } = x(), n = !t && !a, o = z({
798
798
  globalClasses: Je,
799
799
  moduleClasses: {
800
800
  base: T.tab,
@@ -838,7 +838,7 @@ const Vt = () => {
838
838
  base: T.uploadButton,
839
839
  hover: T.uploadButtonHover
840
840
  }
841
- }), m = (B = (U = (w = (y = (te = (k = Te().signatureContainer) == null ? void 0 : k.elementProps) == null ? void 0 : te.signatureDropZone) == null ? void 0 : y.elementProps) == null ? void 0 : w.signatureUploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: g, ...p } = m ?? {}, E = We(ne.SIGNATURE_CONTAINER, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), h = G(null), [R, q] = X(!1), [P, v] = X(!1), ee = _(() => {
841
+ }), m = (B = (U = (w = (y = (te = (k = Te().signature) == null ? void 0 : k.elementProps) == null ? void 0 : te.dropZone) == null ? void 0 : y.elementProps) == null ? void 0 : w.uploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: g, ...p } = m ?? {}, E = We(ne.SIGNATURE, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), h = V(null), [R, q] = X(!1), [P, v] = X(!1), ee = _(() => {
842
842
  var D;
843
843
  q(!0), (D = h.current) == null || D.runAnimationForward();
844
844
  }, []), $ = _(() => {
@@ -876,7 +876,7 @@ const Vt = () => {
876
876
  }))), /* @__PURE__ */ r.createElement(b.Input.Header.Clear, {
877
877
  className: F(pe, T.clear),
878
878
  "aria-label": e.clearLabel
879
- }, /* @__PURE__ */ r.createElement(Gt, null))), /* @__PURE__ */ r.createElement(b.Input.Value, {
879
+ }, /* @__PURE__ */ r.createElement(Vt, 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,
@@ -910,13 +910,13 @@ const Vt = () => {
910
910
  }, p.svg ? /* @__PURE__ */ r.createElement(we, {
911
911
  ...p,
912
912
  ref: h,
913
- className: F(Ze, Ve, g)
913
+ className: F(Ze, Ge, g)
914
914
  }) : null, /* @__PURE__ */ r.createElement(b.Input.Value.Upload.Button.Text, {
915
915
  className: F(fe.base, T.uploadButtonLabel, E, {
916
916
  [fe.hover]: n && (R || P)
917
917
  })
918
918
  }, e.uploadLabel))))), /* @__PURE__ */ r.createElement(b.Error, {
919
- className: F(Ge, ae.error)
919
+ className: F(Ve, ae.error)
920
920
  }, /* @__PURE__ */ r.createElement(mt, null), /* @__PURE__ */ r.createElement(b.Error.Text, null)), /* @__PURE__ */ r.createElement(b.Description, {
921
921
  className: F(pe, ae.description)
922
922
  }, hn));
@@ -1,10 +1,10 @@
1
1
  import t, { useRef as X, useCallback as y } from "react";
2
2
  import $ from "@wix/editor-react-components/AnimatedIcon";
3
3
  import p from "classnames";
4
- import { bo as b, bi as j, ai as q, ah as z, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-DhIEC3nB.js";
4
+ import { bo as b, bi as j, ai as q, ah as z, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-DbRjIc40.js";
5
5
  import { ProgressBar as nt, Button as R } from "react-aria-components";
6
6
  import { f as l } from "./find-child-C60k4CxG.js";
7
- import { u as x } from "./use-element-state-class-name-DJx-T0zf.js";
7
+ import { u as x } from "./use-element-state-class-name-glM9I1ZZ.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 w } from "@wix/ricos/viewer";
2
2
  import F from "classnames";
3
3
  import t, { useMemo as I, useState as z, useRef as q, useLayoutEffect as B, useCallback as N } from "react";
4
4
  import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
5
- import { bo as D, bl as M, by as S, bq as U, S as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-DhIEC3nB.js";
5
+ import { bo as D, bl as M, by as S, bq as U, S as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-DbRjIc40.js";
6
6
  import { f as O, a as k } from "./find-child-C60k4CxG.js";
7
- import { E as x, D as H } from "./field-error-headless-RylIeqXr.js";
8
- import { L as W } from "./field-label-headless-d3hZxIEc.js";
7
+ import { E as x, D as H } from "./field-error-headless-sUpR20_V.js";
8
+ import { L as W } from "./field-label-headless-xEHyxl62.js";
9
9
  import { F as se } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as le } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as y } from "./field-rac.module-DP0lkkEv.js";
12
- import { u as ie } from "./use-element-state-class-name-DJx-T0zf.js";
13
- import { u as ce } from "./use-text-input-class-name-CrEjJ2Z8.js";
12
+ import { u as ie } from "./use-element-state-class-name-glM9I1ZZ.js";
13
+ import { u as ce } from "./use-text-input-class-name-DPUN9lls.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-DzSoL__s.js";
2
+ import { T as r } from "./tags-field-rac-TdxHJoT1.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 S } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
3
  import r, { useCallback as N, useRef as T } from "react";
4
4
  import { TextField as O, TextArea as y } from "react-aria-components";
5
- import { bo as p, bl as d, bq as x, S as v, a0 as g, H as h, v as q } from "./form-DhIEC3nB.js";
5
+ import { bo as p, bl as d, bq as x, S as v, a0 as g, H as h, v as q } from "./form-DbRjIc40.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as B } from "./field-error-headless-RylIeqXr.js";
8
- import { L as k } from "./field-label-headless-d3hZxIEc.js";
7
+ import { D as M, E as B } from "./field-error-headless-sUpR20_V.js";
8
+ import { L as k } from "./field-label-headless-xEHyxl62.js";
9
9
  import { E as P } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as c } from "./field-rac.module-DP0lkkEv.js";
11
- import { u as V } from "./use-text-input-class-name-CrEjJ2Z8.js";
11
+ import { u as V } from "./use-text-input-class-name-DPUN9lls.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: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = N((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-SuMzBm-Q.js";
2
+ import { T as r } from "./text-area-field-rac-C4dg7l8s.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-BsrjGTK4.js";
4
+ import { T as r } from "./text-input-headless-CUsCjQmX.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as a } from "./field-rac.module-DP0lkkEv.js";
7
- import { S as n, a0 as c, H as E, v as i } from "./form-DhIEC3nB.js";
8
- import { u as p } from "./use-text-input-class-name-CrEjJ2Z8.js";
7
+ import { S as n, a0 as c, H as E, v as i } from "./form-DbRjIc40.js";
8
+ import { u as p } from "./use-text-input-class-name-DPUN9lls.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 { bo as c, bl as d, bq as T } from "./form-DhIEC3nB.js";
3
+ import { bo as c, bl as d, bq as T } from "./form-DbRjIc40.js";
4
4
  import { f as l } from "./find-child-C60k4CxG.js";
5
- import { D as g, E as h } from "./field-error-headless-RylIeqXr.js";
6
- import { L as q } from "./field-label-headless-d3hZxIEc.js";
5
+ import { D as g, E as h } from "./field-error-headless-sUpR20_V.js";
6
+ import { L as q } from "./field-label-headless-xEHyxl62.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: s, value: a, onChange: i, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = c(), { labelId: I } = d(), F = l(r, e.Label), y = l(r, e.Input), D = l(r, e.Description), L = l(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-BmQlXTK9.js";
2
+ import { T as e } from "./text-input-field-rac-C6VjmvWa.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 x } 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 { bo as p, bl as j, by as T, bq as Q, S as z, a0 as G, H as J, v as K } from "./form-DhIEC3nB.js";
6
+ import { bo as p, bl as j, by as T, bq as Q, S as z, a0 as G, H as J, v as K } from "./form-DbRjIc40.js";
7
7
  import { f as u, a as S } from "./find-child-C60k4CxG.js";
8
- import { D as W, E as X } from "./field-error-headless-RylIeqXr.js";
9
- import { L as Y } from "./field-label-headless-d3hZxIEc.js";
8
+ import { D as W, E as X } from "./field-error-headless-sUpR20_V.js";
9
+ import { L as Y } from "./field-label-headless-xEHyxl62.js";
10
10
  import { E as Z } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as F } from "./custom-focus-class-_483Pkwp.js";
12
12
  import { s as f } from "./field-rac.module-DP0lkkEv.js";
13
- import { u as $ } from "./use-text-input-class-name-CrEjJ2Z8.js";
13
+ import { u as $ } from "./use-text-input-class-name-DPUN9lls.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: b, FieldLayout: C, hasError: g } = p(), { inputId: I, ariaDescribedBy: D, labelId: L } = j(), R = v((M) => {
16
16
  const H = ae(M);
@@ -2,14 +2,14 @@ import { RicosViewer as N } 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 { bo as d, bl as E, bq as v, S as B, a0 as T, H as g, v as k } from "./form-DhIEC3nB.js";
5
+ import { bo as d, bl as E, bq as v, S as B, a0 as T, H as g, v as k } from "./form-DbRjIc40.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as q, E as M } from "./field-error-headless-RylIeqXr.js";
8
- import { L as P } from "./field-label-headless-d3hZxIEc.js";
7
+ import { D as q, E as M } from "./field-error-headless-sUpR20_V.js";
8
+ import { L as P } from "./field-label-headless-xEHyxl62.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
11
  import { s as u } from "./field-rac.module-DP0lkkEv.js";
12
- import { u as w } from "./use-text-input-class-name-CrEjJ2Z8.js";
12
+ import { u as w } from "./use-text-input-class-name-DPUN9lls.js";
13
13
  const H = (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: R } = d(), { labelId: F } = E(), p = x(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), S = c(t, e.Error), _ = h(() => {
15
15
  n(H(l)), p();
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-D617Pvsf.js";
2
+ import { U as t } from "./url-input-field-rac-7yh9eqH3.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC
@@ -2,9 +2,9 @@ import d, { useContext as N, useRef as x, useState as f, Children as y, useLayou
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as L } from "react-aria-components";
3
3
  import M from "classnames";
4
4
  import { s as R } from "./field-rac.module-DP0lkkEv.js";
5
- import { z as T, G as P } from "./form-DhIEC3nB.js";
6
- import { u as H } from "./use-element-state-class-name-DJx-T0zf.js";
7
- import { u as B } from "./use-hoverable-input-class-name-pwVZXwrY.js";
5
+ import { z as T, G as P } from "./form-DbRjIc40.js";
6
+ import { u as H } from "./use-element-state-class-name-glM9I1ZZ.js";
7
+ import { u as B } from "./use-hoverable-input-class-name-DpOCZ2hg.js";
8
8
  const h = 1 / 0, A = {
9
9
  position: "absolute",
10
10
  width: 0,
@@ -1,5 +1,5 @@
1
1
  import i from "classnames";
2
- import { bh as s, aQ as v } from "./form-DhIEC3nB.js";
2
+ import { bh as s, aQ as v } from "./form-DbRjIc40.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 { bo as n } from "./form-DhIEC3nB.js";
1
+ import { bo as n } from "./form-DbRjIc40.js";
2
2
  import { s as e } from "./field-rac.module-DP0lkkEv.js";
3
- import { u } from "./use-element-state-class-name-DJx-T0zf.js";
3
+ import { u } from "./use-element-state-class-name-glM9I1ZZ.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 i, useMemo as c } from "react";
2
- import { bi as E, au as T, bg as a, F as s } from "./form-DhIEC3nB.js";
2
+ import { bi as E, au as T, bg as a, F as s } from "./form-DbRjIc40.js";
3
3
  const u = [
4
4
  s.DROPDOWN,
5
5
  s.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 { bn as v } from "./form-DhIEC3nB.js";
2
+ import { bn as v } from "./form-DbRjIc40.js";
3
3
  const k = (I) => {
4
4
  const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: n, onInitialDataLoaded: a } = 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 { ac as a } from "./form-DbRjIc40.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-DpOCZ2hg.js";
3
+ const m = (...s) => e(a, s);
4
+ export {
5
+ m as u
6
+ };
package/dist/form.d.ts CHANGED
@@ -6992,9 +6992,9 @@ type ElementProps = ElementTree & {
6992
6992
  }> & {
6993
6993
  open?: boolean;
6994
6994
  };
6995
- signatureContainer?: ElementEntry<ElementTree & {
6996
- signatureDropZone?: ElementEntry<{
6997
- signatureUploadButton?: ElementEntry<{
6995
+ signature?: ElementEntry<ElementTree & {
6996
+ dropZone?: ElementEntry<{
6997
+ uploadButton?: ElementEntry<{
6998
6998
  icon?: IconEntry;
6999
6999
  label?: LeafEntry;
7000
7000
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/form-elements",
3
- "version": "1.148.0",
3
+ "version": "1.149.0",
4
4
  "description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -156,5 +156,5 @@
156
156
  ]
157
157
  }
158
158
  },
159
- "falconPackageHash": "a6483bff283eb3c40d63a3133af65737b1727dea49830efd452cc8e3"
159
+ "falconPackageHash": "3f6767e3b966663fec0224da0ba742df6c6fdde4aca27005944f9ca2"
160
160
  }
@@ -1,6 +0,0 @@
1
- import { ac as a } from "./form-DhIEC3nB.js";
2
- import { u as e } from "./use-hoverable-input-class-name-pwVZXwrY.js";
3
- const m = (...s) => e(a, s);
4
- export {
5
- m as u
6
- };