@wix/form-elements 1.126.0 → 1.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/component/{appointment-rac-CYB_k6uF.js → appointment-rac-BrC7gcpn.js} +5 -5
  2. package/dist/component/{bookings-address-rac-yJjV3u5m.js → bookings-address-rac-D-UmBxjD.js} +1 -1
  3. package/dist/component/{bookings-email-rac-WkFgaEv5.js → bookings-email-rac-CjHDzU0Q.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CJ1cBR5Z.js → bookings-first-name-rac-ChBkkkWm.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DiC19ttR.js → bookings-header-rac-ERfGeYyw.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-Dx0Nt5Z_.js → bookings-last-name-rac-CuTJ7Y8w.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CcW2nUYQ.js → bookings-login-bar-rac-pudlQ67l.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-BMLrrTf6.js → bookings-phone-rac-nLPnLRfS.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DIbRjzxZ.js → bookings-rich-text-rac-DOmGQlyG.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-3a6NYcNf.js → checkbox-field-rac-DLazY-iO.js} +45 -45
  11. package/dist/component/{checkbox-group-field-headless-CM-2wLJv.js → checkbox-group-field-headless-CPyWmFBH.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CNWwJ_No.js → checkbox-group-field-rac-Bir3gaI9.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-F08XYJSA.js → checkbox-group-rac-BGXUl-sJ.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-DOAYUQ_Q.js → checkbox-indicator-module-classes-Bqo0QILF.js} +1 -1
  15. package/dist/component/{checkbox-rac-z98USBLu.js → checkbox-rac-D_wZVUFV.js} +1 -1
  16. package/dist/component/{contacts-address-rac-DuodyS7l.js → contacts-address-rac-CNldSQbf.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-BY7L9nWm.js → contacts-birthdate-rac-AVyldaRF.js} +1 -1
  18. package/dist/component/{contacts-company-rac-iPNPKhx2.js → contacts-company-rac-CiP1Ctpa.js} +1 -1
  19. package/dist/component/{contacts-email-rac-C7kBUzQH.js → contacts-email-rac-CzjMVEJZ.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-DvDNRs2q.js → contacts-first-name-rac-G0kE0HmA.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-Cls5_7W0.js → contacts-last-name-rac-cnTTtnMZ.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DMy2lBJl.js → contacts-phone-rac-DJ9oxox4.js} +1 -1
  23. package/dist/component/{contacts-position-rac-Bn21lF_i.js → contacts-position-rac-e0uQ-eqL.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-QSC_n_T_.js → contacts-subscribe-rac-D4J2x78f.js} +1 -1
  25. package/dist/component/{contacts-tax-id-rac-BvqoePCN.js → contacts-tax-id-rac-DwJuNH-C.js} +1 -1
  26. package/dist/component/{date-availability-SErYnVtm.js → date-availability-D2BSwZ_r.js} +1 -1
  27. package/dist/component/{date-input-field-rac-H81WktJT.js → date-input-field-rac-ztJ02C60.js} +42 -42
  28. package/dist/component/{date-input-rac-C6ZeK0zQ.js → date-input-rac-D-SFsC6P.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BwSKny80.js → date-picker-field-rac-DaNwsa8z.js} +15 -15
  30. package/dist/component/{date-picker-rac-BB5zswk4.js → date-picker-rac-Bn0sA6P1.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-C4srGo4X.js → date-time-input-field-rac-D-ArMpcJ.js} +64 -64
  32. package/dist/component/{date-time-input-rac-6PXunNeR.js → date-time-input-rac-qYLa3IDx.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-B1GOhxW8.js → dext-checkbox-group-rac-Dir6tyvo.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-DVels76t.js → dext-checkbox-rac-ByiMc3BH.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-kKH7Nu_c.js → dext-date-picker-rac-BwOozu5y.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-C2xk0pv1.js → dext-date-time-input-rac-CaJEzZa4.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-bd3XpA-l.js → dext-dropdown-rac-DJnMjggU.js} +1 -1
  38. package/dist/component/{dext-email-rac-BtEeJsrT.js → dext-email-rac-CF4SQ86l.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-BLPAbm2q.js → dext-number-input-rac--3goVI8C.js} +1 -1
  40. package/dist/component/{dext-phone-rac-ByEP8XRg.js → dext-phone-rac-MYJYG040.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-AY271KFi.js → dext-radio-group-rac-Q2J5Hk5W.js} +4 -4
  42. package/dist/component/{dext-rating-input-rac-Dp9N8OWT.js → dext-rating-input-rac-CAWhD-lI.js} +1 -1
  43. package/dist/component/{dext-tags-rac-PgZGGDwj.js → dext-tags-rac-DyxI5ooy.js} +4 -4
  44. package/dist/component/{dext-text-area-rac-BN99TM9O.js → dext-text-area-rac-CZpM-r49.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-C5TaQVi8.js → dext-text-input-rac-Bv5Mhyw6.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BvMh_jc6.js → dext-url-input-rac-BkbTjbAI.js} +1 -1
  47. package/dist/component/{donation-rac-BSCyAZPx.js → donation-rac-DZjFeJFy.js} +36 -36
  48. package/dist/component/{dropdown-field-headless-DzDE-6ha.js → dropdown-field-headless-C7l2TQYy.js} +16 -16
  49. package/dist/component/{dropdown-field-rac-mbYavQtS.js → dropdown-field-rac-DOAlecw8.js} +5 -5
  50. package/dist/component/{dropdown-rac-BUJag5ow.js → dropdown-rac-D8HtaeBe.js} +1 -1
  51. package/dist/component/{ecom-address-rac-B7_RYjoj.js → ecom-address-rac-B25o-GVv.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-BCDyH7x-.js → ecom-subscription-checkbox-rac-NvdWnD0v.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CUi08-gD.js → email-input-field-rac-rWyojsu0.js} +19 -19
  54. package/dist/component/{events-repeater-rac-CkHq7ADr.js → events-repeater-rac-D2HvNt0y.js} +11 -11
  55. package/dist/component/{events-rsvp-rac-DBwLvDeR.js → events-rsvp-rac-D4WLn0Bx.js} +4 -4
  56. package/dist/component/{field-error-headless-Ct41F8cQ.js → field-error-headless-DU0YsEXR.js} +6 -6
  57. package/dist/component/{field-label-headless-DUqBV42_.js → field-label-headless-CvdTZi6i.js} +1 -1
  58. package/dist/component/field-rac.module-BIBNQEOK.js +25 -0
  59. package/dist/component/{file-upload-rac-CkbjhtAl.js → file-upload-rac-CMelyfA8.js} +68 -68
  60. package/dist/component/{fixed-payment-rac-Dgnhsx3e.js → fixed-payment-rac-CewsqE-k.js} +9 -9
  61. package/dist/component/{form-Dx1bK3Fi.js → form-D9IxiDXP.js} +668 -617
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +3 -3
  64. package/dist/component/{header-field-rac-BuUxOZO1.js → header-field-rac-CYBfb_5D.js} +6 -6
  65. package/dist/component/{header-rac-CIvWVvYs.js → header-rac-BIq3DmbL.js} +1 -1
  66. package/dist/component/{image-choice-rac-BBo0PiW4.js → image-choice-rac-aOObRIMi.js} +12 -12
  67. package/dist/component/{index-BDSs3l4d.js → index-BXqA4oNj.js} +15 -15
  68. package/dist/component/{index-BmMiwDw9.js → index-D-g3wQ-z.js} +43 -43
  69. package/dist/component/{isObjectLike-xZCFQW_t.js → isObjectLike-BNDXzCto.js} +7 -7
  70. package/dist/component/{multiline-address-field-rac-C6mRorOw.js → multiline-address-field-rac-BcTa7Von.js} +8 -8
  71. package/dist/component/{multiline-address-rac-BOjsVo4R.js → multiline-address-rac-Cd_BFreP.js} +1 -1
  72. package/dist/component/{number-input-field-rac-C89M-zOh.js → number-input-field-rac-_JlH34_3.js} +9 -9
  73. package/dist/component/{number-input-rac-DttY0Ll3.js → number-input-rac-CiM20ScT.js} +1 -1
  74. package/dist/component/{password-rac-C2KTrH40.js → password-rac-DrpXSY74.js} +32 -32
  75. package/dist/component/{payment-input-rac-BhyBxeu1.js → payment-input-rac-RnMeVWDc.js} +15 -15
  76. package/dist/component/{phone-input-field-rac-BT-Fe6WZ.js → phone-input-field-rac-nNp7D7gK.js} +39 -39
  77. package/dist/component/{phone-rac-B26qwlDN.js → phone-rac-B2JjPT2w.js} +1 -1
  78. package/dist/component/{product-list-rac-CF4gkfTK.js → product-list-rac-Cv_fjFn3.js} +28 -28
  79. package/dist/component/{quiz-radio-group-rac-Bf2HeDDw.js → quiz-radio-group-rac-CNqF6Tq3.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-DtmmP89u.js → radio-button-module-classes-vqR4TN-z.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-BY2OIFFr.js → radio-group-field-rac-Bpyr40q-.js} +5 -5
  82. package/dist/component/{radio-group-rac-BuxVel2l.js → radio-group-rac-DBLPP0YC.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-CbLzvwyk.js → rating-input-field-rac-BOi0G37L.js} +10 -10
  84. package/dist/component/{rating-input-rac-B8QxNYHU.js → rating-input-rac-CxpmV0Pa.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-wu4JPlkg.js → rich-content-rac.module-Dmm9GyQq.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CTrEe0SQ.js → rich-text-field-rac-C466OrTf.js} +9 -9
  87. package/dist/component/{rich-text-rac-kmzPTMKb.js → rich-text-rac-BvVxD7oJ.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-C8nTy49F.js → service-dropdown-rac-pmUKH0sP.js} +14 -14
  89. package/dist/component/{services-multi-choice-rac-rDkpN2fs.js → services-multi-choice-rac-B65i6q2D.js} +7 -7
  90. package/dist/component/signature-rac-BRyM06Vz.js +918 -0
  91. package/dist/component/{submit-button-rac-BFywt2Fn.js → submit-button-rac-DaCRjZlQ.js} +15 -15
  92. package/dist/component/{tags-field-rac-rpzvIn_0.js → tags-field-rac-CEdfh-EQ.js} +17 -17
  93. package/dist/component/{tags-rac-DVLGSSvh.js → tags-rac-CGSTQ0qK.js} +1 -1
  94. package/dist/component/{text-area-field-rac-BfVrtvl8.js → text-area-field-rac-C-EHPWwQ.js} +15 -15
  95. package/dist/component/{text-area-rac-VP-yXdJ6.js → text-area-rac-Df1nSb2q.js} +1 -1
  96. package/dist/component/{text-input-field-rac-BlaXiXoF.js → text-input-field-rac-DmCZtBi_.js} +4 -4
  97. package/dist/component/{text-input-headless-ChCTtqUX.js → text-input-headless-DAxEZP1P.js} +8 -8
  98. package/dist/component/{text-input-rac-CG-Oo3nZ.js → text-input-rac-DgpO17dl.js} +1 -1
  99. package/dist/component/{time-input-rac-CzUGIr2X.js → time-input-rac-Dld_tLub.js} +10 -10
  100. package/dist/component/{url-input-field-rac-BHF6gZlT.js → url-input-field-rac-DHZ6bpxZ.js} +10 -10
  101. package/dist/component/{url-input-rac-DouQt3DF.js → url-input-rac-CZlWy5RB.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-AklIMCCI.js → use-dropdown-option-class-name-opBd-YJA.js} +3 -3
  103. package/dist/component/{use-dropdown-trigger-class-name-COJhxT4T.js → use-dropdown-trigger-class-name-BGQH0WCO.js} +10 -10
  104. package/dist/component/use-element-state-class-name-B2ecLjwN.js +20 -0
  105. package/dist/component/{use-hoverable-input-class-name-CtHJHqiV.js → use-hoverable-input-class-name-B42rAp82.js} +3 -3
  106. package/dist/component/{use-service-options-base-2u1I6l-t.js → use-service-options-base-D60-jNUT.js} +4 -4
  107. package/dist/component/use-text-input-class-name-DGpCdZ_e.js +6 -0
  108. package/dist/form.d.ts +10 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-DQxyEwK7.js +0 -26
  111. package/dist/component/signature-rac-6r_gWBD2.js +0 -794
  112. package/dist/component/use-element-state-class-name-CCe7Cvsu.js +0 -22
  113. package/dist/component/use-text-input-class-name-Bnfv7ZsJ.js +0 -6
@@ -1,10 +1,10 @@
1
1
  import t, { useRef as w, useCallback as h } from "react";
2
2
  import F from "@wix/editor-react-components/AnimatedIcon";
3
3
  import p from "classnames";
4
- import { b9 as B, b3 as j, a9 as A, b as R, a8 as k, a4 as y, a3 as M, a7 as U } from "./form-Dx1bK3Fi.js";
4
+ import { bh as b, bb as j, ag as A, b as R, af as k, ab as y, aa as M, ae as U } from "./form-D9IxiDXP.js";
5
5
  import { ProgressBar as D, Button as C } from "react-aria-components";
6
6
  import { f as m } from "./find-child-C60k4CxG.js";
7
- import { u as N } from "./use-element-state-class-name-CCe7Cvsu.js";
7
+ import { u as N } from "./use-element-state-class-name-B2ecLjwN.js";
8
8
  function W(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(D, {
@@ -38,7 +38,7 @@ function W(e) {
38
38
  })))));
39
39
  }
40
40
  const u = ({ children: e }) => {
41
- const { id: o, FieldLayout: s } = B(), n = m(e, u.SubmitButton);
41
+ const { id: o, FieldLayout: s } = b(), n = m(e, u.SubmitButton);
42
42
  return /* @__PURE__ */ t.createElement(s, {
43
43
  fieldId: o,
44
44
  renderLabel: () => null,
@@ -51,22 +51,22 @@ const u = ({ children: e }) => {
51
51
  className: e
52
52
  }, s, n, i);
53
53
  }, P = ({ className: e }) => {
54
- const { showPreviousButton: o, onPreviousClick: s, previousText: n } = B();
54
+ const { showPreviousButton: o, onPreviousClick: s, previousText: n } = b();
55
55
  return o ? /* @__PURE__ */ t.createElement(C, {
56
56
  className: e,
57
57
  onPress: s
58
58
  }, n) : null;
59
59
  }, L = ({ className: e }) => {
60
- const { showNextButton: o, onNextClick: s, nextText: n } = B();
60
+ const { showNextButton: o, onNextClick: s, nextText: n } = b();
61
61
  return o ? /* @__PURE__ */ t.createElement(C, {
62
62
  className: e,
63
63
  onPress: s
64
64
  }, n) : null;
65
65
  }, l = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
66
- const { showSubmitButton: i, onSubmitClick: f, submitText: E, isDisabled: x, isInProgress: b, isSubmitting: S } = B();
66
+ const { showSubmitButton: i, onSubmitClick: f, submitText: E, isDisabled: x, isInProgress: B, isSubmitting: S } = b();
67
67
  if (!i)
68
68
  return null;
69
- const d = m(n, l.Label), g = m(n, l.Icon), v = m(n, l.Loader), c = S || b;
69
+ const g = m(n, l.Label), d = m(n, l.Icon), v = m(n, l.Loader), c = S || B;
70
70
  return /* @__PURE__ */ t.createElement(C, {
71
71
  className: e,
72
72
  "aria-label": E,
@@ -75,10 +75,10 @@ const u = ({ children: e }) => {
75
75
  onHoverEnd: s,
76
76
  isDisabled: x && !c,
77
77
  "aria-disabled": c || void 0,
78
- "data-in-progress": b
79
- }, b && v ? v : /* @__PURE__ */ t.createElement(t.Fragment, null, d ?? /* @__PURE__ */ t.createElement(I, null), g));
78
+ "data-in-progress": B
79
+ }, B && v ? v : /* @__PURE__ */ t.createElement(t.Fragment, null, g ?? /* @__PURE__ */ t.createElement(I, null), d));
80
80
  }, I = ({ className: e }) => {
81
- const { submitText: o } = B();
81
+ const { submitText: o } = b();
82
82
  return /* @__PURE__ */ t.createElement("span", {
83
83
  className: e
84
84
  }, o);
@@ -106,13 +106,13 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
106
106
  progress: nt
107
107
  }, ot = () => {
108
108
  var z, T;
109
- const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: i } = B(), E = !s && !(i || n), { wix: x, className: b, ...S } = ((T = (z = j().submitButton) == null ? void 0 : z.elementProps) == null ? void 0 : T.icon) ?? {}, d = N({
109
+ const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: i } = b(), E = !s && !(i || n), { wix: x, className: B, ...S } = ((T = (z = j().submitButton) == null ? void 0 : z.elementProps) == null ? void 0 : T.icon) ?? {}, g = N({
110
110
  globalClasses: y,
111
111
  moduleClasses: {
112
112
  base: p(a.navigationButton, a.previousButton),
113
113
  hover: a.navigationButtonHover
114
114
  }
115
- }), g = N({
115
+ }), d = N({
116
116
  globalClasses: M,
117
117
  moduleClasses: {
118
118
  base: p(a.navigationButton, a.nextButton),
@@ -140,12 +140,12 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
140
140
  [a.rowSpacing]: o
141
141
  })
142
142
  }, /* @__PURE__ */ t.createElement(u.SubmitButton.PreviousButton, {
143
- className: ({ isHovered: r }) => d({
143
+ className: ({ isHovered: r }) => g({
144
144
  isSelected: !1,
145
145
  isHovered: r
146
146
  })
147
147
  }), /* @__PURE__ */ t.createElement(u.SubmitButton.NextButton, {
148
- className: ({ isHovered: r }) => g({
148
+ className: ({ isHovered: r }) => d({
149
149
  isSelected: !1,
150
150
  isHovered: r
151
151
  })
@@ -162,7 +162,7 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
162
162
  }), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Icon, null, S.svg ? /* @__PURE__ */ t.createElement(F, {
163
163
  ...S,
164
164
  ref: c,
165
- className: p(R, k, b)
165
+ className: p(R, k, B)
166
166
  }) : null), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Loader, {
167
167
  className: a.progress
168
168
  }))));
@@ -1,16 +1,16 @@
1
- import { RicosViewer as Y } from "@wix/ricos/viewer";
1
+ import { RicosViewer as w } from "@wix/ricos/viewer";
2
2
  import y from "classnames";
3
- import t, { useMemo as I, useState as Z, useRef as N, useLayoutEffect as w, useCallback as k } from "react";
4
- import { CheckboxGroup as z, TextField as B, Input as J, CheckboxField as K, CheckboxButton as X } from "react-aria-components";
5
- import { b9 as R, b6 as M, bj as S, bb as U, I as ee, U as te, Y as ne, v as oe, p as ae, Z as re } from "./form-Dx1bK3Fi.js";
3
+ import t, { useMemo as I, useState as z, useRef as N, useLayoutEffect as B, useCallback as k } from "react";
4
+ import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
5
+ import { bh as R, be as M, br as S, bj as U, I as ee, U as te, a3 as ne, v as oe, p as ae, a4 as re } from "./form-D9IxiDXP.js";
6
6
  import { f as O, a as x } from "./find-child-C60k4CxG.js";
7
- import { E as W, D as H } from "./field-error-headless-Ct41F8cQ.js";
8
- import { L as $ } from "./field-label-headless-DUqBV42_.js";
7
+ import { E as W, D as H } from "./field-error-headless-DU0YsEXR.js";
8
+ import { L as $ } from "./field-label-headless-CvdTZi6i.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 D } from "./field-rac.module-DQxyEwK7.js";
12
- import { u as ie } from "./use-element-state-class-name-CCe7Cvsu.js";
13
- import { u as ce } from "./use-text-input-class-name-Bnfv7ZsJ.js";
11
+ import { s as D } from "./field-rac.module-BIBNQEOK.js";
12
+ import { u as ie } from "./use-element-state-class-name-B2ecLjwN.js";
13
+ import { u as ce } from "./use-text-input-class-name-DGpCdZ_e.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
  })({});
@@ -26,8 +26,8 @@ const v = "Other", de = (e, n) => {
26
26
  const { value: n, onChange: a, addOtherLabel: r, addOtherPlaceholder: l, otherInputCharacterLimit: i, disabled: u, readOnly: m, hasError: d } = R(), { t: p } = S(), o = r || p("add-other.default-other-option-label") || v, b = I(() => de(n || [], o), [
27
27
  n,
28
28
  o
29
- ]), [c, L] = Z(b), f = N(a);
30
- w(() => {
29
+ ]), [c, L] = z(b), f = N(a);
30
+ B(() => {
31
31
  f.current = a;
32
32
  });
33
33
  const g = k((h) => {
@@ -41,14 +41,14 @@ const v = "Other", de = (e, n) => {
41
41
  n,
42
42
  o
43
43
  ]);
44
- return /* @__PURE__ */ t.createElement(B, {
44
+ return /* @__PURE__ */ t.createElement(K, {
45
45
  value: c,
46
46
  onChange: g,
47
47
  isDisabled: u,
48
48
  isReadOnly: m,
49
49
  isInvalid: d,
50
50
  "aria-label": o
51
- }, /* @__PURE__ */ t.createElement(J, {
51
+ }, /* @__PURE__ */ t.createElement(X, {
52
52
  "data-hook": "tags-other-input",
53
53
  "data-filled": c ? !0 : void 0,
54
54
  placeholder: l,
@@ -82,14 +82,14 @@ const v = "Other", de = (e, n) => {
82
82
  o,
83
83
  h
84
84
  ]);
85
- return /* @__PURE__ */ t.createElement(K, {
85
+ return /* @__PURE__ */ t.createElement(Y, {
86
86
  inputRef: f,
87
87
  value: C,
88
88
  onChange: i ? _ : void 0,
89
89
  isDisabled: b,
90
90
  isReadOnly: c,
91
91
  isInvalid: L
92
- }, /* @__PURE__ */ t.createElement(X, {
92
+ }, /* @__PURE__ */ t.createElement(Z, {
93
93
  className: n,
94
94
  "data-hook": `tags-${i ? v : r}`
95
95
  }, x(g, {
@@ -152,7 +152,7 @@ const v = "Other", de = (e, n) => {
152
152
  required: i,
153
153
  onBlur: p,
154
154
  onFocus: o
155
- }, /* @__PURE__ */ t.createElement(z, {
155
+ }, /* @__PURE__ */ t.createElement(J, {
156
156
  "aria-labelledby": c,
157
157
  value: f,
158
158
  onChange: r,
@@ -178,7 +178,7 @@ const pe = "_control_d4biy_1", he = "_options_d4biy_7", Ee = "_option_d4biy_7",
178
178
  option: Ee,
179
179
  optionHover: be,
180
180
  optionSelected: Oe
181
- }, fe = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(Y, {
181
+ }, fe = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(w, {
182
182
  content: e,
183
183
  locale: n
184
184
  }), Ie = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-rpzvIn_0.js";
2
+ import { T as r } from "./tags-field-rac-CEdfh-EQ.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC
@@ -2,20 +2,20 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
3
  import r, { useCallback as T, useRef as O } from "react";
4
4
  import { TextField as S, TextArea as y } from "react-aria-components";
5
- import { b9 as p, b6 as d, bb as x, I as g, U as h, v, p as M } from "./form-Dx1bK3Fi.js";
5
+ import { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-D9IxiDXP.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as q, E as B } from "./field-error-headless-Ct41F8cQ.js";
8
- import { L as k } from "./field-label-headless-DUqBV42_.js";
7
+ import { D as q, E as B } from "./field-error-headless-DU0YsEXR.js";
8
+ import { L as k } from "./field-label-headless-CvdTZi6i.js";
9
9
  import { E as P } from "./error-icon-hZxQ6DEy.js";
10
- import { s as c } from "./field-rac.module-DQxyEwK7.js";
11
- import { u as U } from "./use-text-input-class-name-Bnfv7ZsJ.js";
10
+ import { s as c } from "./field-rac.module-BIBNQEOK.js";
11
+ import { u as U } from "./use-text-input-class-name-DGpCdZ_e.js";
12
12
  const e = ({ children: t }) => {
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 = T((A) => {
13
+ const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: I, FieldLayout: b, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
14
14
  s(A);
15
15
  }, [
16
16
  s
17
17
  ]), R = i(t, e.Label), D = i(t, e.Input), _ = i(t, e.Description), C = i(t, e.Error);
18
- return /* @__PURE__ */ r.createElement(I, {
18
+ return /* @__PURE__ */ r.createElement(b, {
19
19
  fieldId: a,
20
20
  renderLabel: () => R,
21
21
  renderInput: () => /* @__PURE__ */ r.createElement(S, {
@@ -27,7 +27,7 @@ const e = ({ children: t }) => {
27
27
  isRequired: n,
28
28
  isInvalid: f,
29
29
  onBlur: E,
30
- onFocus: b
30
+ onFocus: I
31
31
  }, D),
32
32
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, C, _)
33
33
  });
@@ -48,24 +48,24 @@ e.Label = k;
48
48
  e.Input = V;
49
49
  e.Description = q;
50
50
  e.Error = B;
51
- const w = "_input_ug5v8_1", Q = {
52
- input: w
53
- }, $ = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
51
+ const j = "_input_ug5v8_1", w = {
52
+ input: j
53
+ }, Q = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
54
54
  content: t,
55
55
  locale: a
56
56
  }), re = () => {
57
- const t = U(Q.input);
57
+ const t = U(w.input);
58
58
  return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
59
- className: o(g, c.label)
59
+ className: o(h, c.label)
60
60
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
61
- className: o(h, c.requiredMark)
61
+ className: o(g, c.requiredMark)
62
62
  })), /* @__PURE__ */ r.createElement(e.Input, {
63
63
  className: t
64
64
  }), /* @__PURE__ */ r.createElement(e.Error, {
65
65
  className: o(v, c.error)
66
66
  }, /* @__PURE__ */ r.createElement(P, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
67
67
  className: o(M, c.description)
68
- }, $));
68
+ }, Q));
69
69
  };
70
70
  export {
71
71
  re as T
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-BfVrtvl8.js";
2
+ import { T as r } from "./text-area-field-rac-C-EHPWwQ.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-ChCTtqUX.js";
4
+ import { T as r } from "./text-input-headless-DAxEZP1P.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
- import { s as a } from "./field-rac.module-DQxyEwK7.js";
7
- import { I as n, U as c, v as E, p as i } from "./form-Dx1bK3Fi.js";
8
- import { u as p } from "./use-text-input-class-name-Bnfv7ZsJ.js";
6
+ import { s as a } from "./field-rac.module-BIBNQEOK.js";
7
+ import { I as n, U as c, v as E, p as i } from "./form-D9IxiDXP.js";
8
+ import { u as p } from "./use-text-input-class-name-DGpCdZ_e.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 L } from "react";
2
- import { TextField as R, Input as v } from "react-aria-components";
3
- import { b9 as d, b6 as c, bb as T } from "./form-Dx1bK3Fi.js";
2
+ import { TextField as R, Input as h } from "react-aria-components";
3
+ import { bh as d, be as c, bj as v } from "./form-D9IxiDXP.js";
4
4
  import { f as s } from "./find-child-C60k4CxG.js";
5
- import { D as g, E as h } from "./field-error-headless-Ct41F8cQ.js";
6
- import { L as x } from "./field-label-headless-DUqBV42_.js";
5
+ import { D as T, E as g } from "./field-error-headless-DU0YsEXR.js";
6
+ import { L as x } from "./field-label-headless-CvdTZi6i.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
9
9
  return /* @__PURE__ */ t.createElement(f, {
@@ -24,10 +24,10 @@ const e = ({ children: r }) => {
24
24
  });
25
25
  }, B = ({ className: r }) => {
26
26
  const { id: a, placeholder: i } = d(), { inputId: l, ariaDescribedBy: u } = c(), n = L(null);
27
- return T(() => {
27
+ return v(() => {
28
28
  var o;
29
29
  (o = n.current) == null || o.focus();
30
- }, a), /* @__PURE__ */ t.createElement(v, {
30
+ }, a), /* @__PURE__ */ t.createElement(h, {
31
31
  ref: n,
32
32
  id: l,
33
33
  "aria-describedby": u,
@@ -37,8 +37,8 @@ const e = ({ children: r }) => {
37
37
  };
38
38
  e.Label = x;
39
39
  e.Input = B;
40
- e.Description = g;
41
- e.Error = h;
40
+ e.Description = T;
41
+ e.Error = g;
42
42
  export {
43
43
  e as T
44
44
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BlaXiXoF.js";
2
+ import { T as e } from "./text-input-field-rac-DmCZtBi_.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -3,16 +3,16 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
3
3
  import c from "classnames";
4
4
  import { parseTime as B } from "@internationalized/date";
5
5
  import { TimeField as U, DateInput as k, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
6
- import { b9 as p, b6 as w, bj as b, bb as Q, I as z, U as G, v as J, p as K } from "./form-Dx1bK3Fi.js";
6
+ import { bh as p, be as w, br as S, bj as Q, I as z, U as G, v as J, p as K } from "./form-D9IxiDXP.js";
7
7
  import { f as m, a as F } from "./find-child-C60k4CxG.js";
8
- import { D as W, E as X } from "./field-error-headless-Ct41F8cQ.js";
9
- import { L as Y } from "./field-label-headless-DUqBV42_.js";
8
+ import { D as W, E as X } from "./field-error-headless-DU0YsEXR.js";
9
+ import { L as Y } from "./field-label-headless-CvdTZi6i.js";
10
10
  import { E as Z } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as T } from "./custom-focus-class-_483Pkwp.js";
12
- import { s as f } from "./field-rac.module-DQxyEwK7.js";
13
- import { u as $ } from "./use-text-input-class-name-Bnfv7ZsJ.js";
12
+ import { s as f } from "./field-rac.module-BIBNQEOK.js";
13
+ import { u as $ } from "./use-text-input-class-name-DGpCdZ_e.js";
14
14
  const r = ({ children: t }) => {
15
- const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: S, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = w(), R = V((M) => {
15
+ const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = w(), R = V((M) => {
16
16
  const H = ae(M);
17
17
  o(H);
18
18
  }, [
@@ -33,7 +33,7 @@ const r = ({ children: t }) => {
33
33
  isRequired: a,
34
34
  onBlur: d,
35
35
  onFocus: E,
36
- hourCycle: S ? 24 : 12
36
+ hourCycle: b ? 24 : 12
37
37
  }, y),
38
38
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, A, P)
39
39
  });
@@ -65,7 +65,7 @@ const r = ({ children: t }) => {
65
65
  }
66
66
  });
67
67
  }, ee = ({ className: t, ...n }) => {
68
- const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = b(), a = v(null);
68
+ const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = S(), a = v(null);
69
69
  Q(() => {
70
70
  var E;
71
71
  (E = a.current) == null || E.focus();
@@ -80,7 +80,7 @@ const r = ({ children: t }) => {
80
80
  }
81
81
  });
82
82
  }, te = ({ className: t, ...n }) => {
83
- const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = b(), s = l ? void 0 : i("field.date.placeholder.minute");
83
+ const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = l ? void 0 : i("field.date.placeholder.minute");
84
84
  return /* @__PURE__ */ e.createElement(_, {
85
85
  segment: o,
86
86
  className: t,
@@ -89,7 +89,7 @@ const r = ({ children: t }) => {
89
89
  }
90
90
  });
91
91
  }, re = ({ className: t, ...n }) => {
92
- const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = b(), s = x(j), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
92
+ const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = x(j), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
93
93
  return /* @__PURE__ */ e.createElement(_, {
94
94
  segment: o,
95
95
  className: t,
@@ -1,17 +1,17 @@
1
- import { RicosViewer as S } from "@wix/ricos/viewer";
1
+ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
- import r, { useCallback as h, useRef as O } from "react";
3
+ import r, { useCallback as S, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { b9 as d, b6 as E, bb as v, I as B, U as T, v as g, p as k } from "./form-Dx1bK3Fi.js";
5
+ import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-D9IxiDXP.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as P } from "./field-error-headless-Ct41F8cQ.js";
8
- import { L as U } from "./field-label-headless-DUqBV42_.js";
7
+ import { D as M, E as P } from "./field-error-headless-DU0YsEXR.js";
8
+ import { L as U } from "./field-label-headless-CvdTZi6i.js";
9
9
  import { u as q } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as x } from "./error-icon-hZxQ6DEy.js";
11
- import { s as u } from "./field-rac.module-DQxyEwK7.js";
12
- import { u as w } from "./use-text-input-class-name-Bnfv7ZsJ.js";
11
+ import { s as u } from "./field-rac.module-BIBNQEOK.js";
12
+ import { u as w } from "./use-text-input-class-name-DGpCdZ_e.js";
13
13
  const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
- const { id: o, value: s, onChange: n, disabled: m, readOnly: a, required: l, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = q(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
14
+ const { id: o, value: s, onChange: n, disabled: m, readOnly: a, required: l, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = q(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), h = S(() => {
15
15
  n(V(s)), p();
16
16
  }, [
17
17
  p,
@@ -29,7 +29,7 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
29
29
  isReadOnly: a,
30
30
  isRequired: l,
31
31
  isInvalid: I,
32
- onBlur: N,
32
+ onBlur: h,
33
33
  onFocus: f
34
34
  }, D),
35
35
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, C)
@@ -52,7 +52,7 @@ e.Label = U;
52
52
  e.Input = W;
53
53
  e.Description = M;
54
54
  e.Error = P;
55
- const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
55
+ const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(N, {
56
56
  content: t,
57
57
  locale: o
58
58
  }), te = () => {
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-BHF6gZlT.js";
2
+ import { U as t } from "./url-input-field-rac-DHZ6bpxZ.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 D, useState as m, Children as L, useLayoutEffect as p, useMemo as M } from "react";
2
2
  import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as N } from "react-aria-components";
3
3
  import T from "classnames";
4
- import { s as h } from "./field-rac.module-DQxyEwK7.js";
5
- import { s as H } from "./form-Dx1bK3Fi.js";
6
- import { u as I } from "./use-element-state-class-name-CCe7Cvsu.js";
4
+ import { s as h } from "./field-rac.module-BIBNQEOK.js";
5
+ import { s as H } from "./form-D9IxiDXP.js";
6
+ import { u as I } from "./use-element-state-class-name-B2ecLjwN.js";
7
7
  const R = 1 / 0, B = {
8
8
  position: "absolute",
9
9
  width: 0,
@@ -1,6 +1,6 @@
1
1
  import { useContext as i, useMemo as u } from "react";
2
- import { b3 as T, ag as p, b1 as O, F as s, t as _ } from "./form-Dx1bK3Fi.js";
3
- import { u as I } from "./use-hoverable-input-class-name-CtHJHqiV.js";
2
+ import { bb as T, an as p, b9 as O, F as s, t as _ } from "./form-D9IxiDXP.js";
3
+ import { u as I } from "./use-hoverable-input-class-name-B42rAp82.js";
4
4
  const l = [
5
5
  s.DROPDOWN,
6
6
  s.DEXT_DROPDOWN,
@@ -21,19 +21,19 @@ const l = [
21
21
  s.BOOKINGS_ADDRESS,
22
22
  s.ECOM_ADDRESS
23
23
  ], c = ({ properties: o }) => {
24
- var e, t, n, r;
25
- return ((r = (n = (t = (e = o.validation) == null ? void 0 : e.string) == null ? void 0 : t.phoneOptions) == null ? void 0 : n.allowedCountryCodes) == null ? void 0 : r.length) !== 1;
24
+ var e, n, t, r;
25
+ return ((r = (t = (n = (e = o.validation) == null ? void 0 : e.string) == null ? void 0 : n.phoneOptions) == null ? void 0 : t.allowedCountryCodes) == null ? void 0 : r.length) !== 1;
26
26
  }, N = ({ properties: o }) => {
27
- var e, t;
28
- return ((t = (e = o.fieldSettings) == null ? void 0 : e.country) == null ? void 0 : t.show) !== !1;
27
+ var e, n;
28
+ return ((n = (e = o.fieldSettings) == null ? void 0 : e.country) == null ? void 0 : n.show) !== !1;
29
29
  }, S = (o, e) => d.includes(o.fieldType) ? !e && c(o) : P.includes(o.fieldType) ? N(o) : l.includes(o.fieldType), C = (o, e) => S(o, e) && !o.properties.hidden && !o.properties.disabled && !o.properties.readOnly, R = (o, e) => o.layout.row - e.layout.row || o.layout.column - e.layout.column, A = (o) => {
30
30
  var D;
31
- const e = ((D = T().dropdown) == null ? void 0 : D.open) === !0, t = i(p), { isMobile: n = !1 } = O(), r = u(() => {
31
+ const e = ((D = T().dropdown) == null ? void 0 : D.open) === !0, n = i(p), { isMobile: t = !1 } = O(), r = u(() => {
32
32
  var E;
33
- return t && !t.parentId ? (E = t.fields.filter((a) => C(a, n)).sort(R)[0]) == null ? void 0 : E.id : void 0;
33
+ return n && !n.parentId ? (E = n.fields.filter((a) => C(a, t)).sort(R)[0]) == null ? void 0 : E.id : void 0;
34
34
  }, [
35
- t,
36
- n
35
+ n,
36
+ t
37
37
  ]);
38
38
  return e && r === o;
39
39
  }, f = (...o) => I(_, o);
@@ -0,0 +1,20 @@
1
+ import p from "classnames";
2
+ import { ba as E, aJ as f } from "./form-D9IxiDXP.js";
3
+ const J = ({ globalClasses: e, moduleClasses: c }) => {
4
+ var d;
5
+ const r = ((d = E(...f(e))) == null ? void 0 : d.split(/\s+/)) ?? [], h = [
6
+ e.selected,
7
+ e.hover
8
+ ], o = !!e.selected && r.includes(e.selected), u = r.includes(e.hover);
9
+ return ({ isSelected: m, isHovered: n, isInteractive: t = !0 }) => p(e.base, c.base, t ? r : r.filter((N) => !h.includes(N)), {
10
+ [e.hover]: t && n,
11
+ [c.hover]: t && (n || u)
12
+ }, e.selected && {
13
+ [e.selected]: t && m
14
+ }, c.selected && {
15
+ [c.selected]: t && (m || o)
16
+ });
17
+ };
18
+ export {
19
+ J as u
20
+ };
@@ -1,6 +1,6 @@
1
- import { b9 as i } from "./form-Dx1bK3Fi.js";
2
- import { s as e } from "./field-rac.module-DQxyEwK7.js";
3
- import { u as m } from "./use-element-state-class-name-CCe7Cvsu.js";
1
+ import { bh as i } from "./form-D9IxiDXP.js";
2
+ import { s as e } from "./field-rac.module-BIBNQEOK.js";
3
+ import { u as m } from "./use-element-state-class-name-B2ecLjwN.js";
4
4
  const d = (s, a) => {
5
5
  const { disabled: t, readOnly: o } = i(), r = m({
6
6
  globalClasses: s,
@@ -1,7 +1,7 @@
1
1
  import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
2
- import { b8 as v } from "./form-Dx1bK3Fi.js";
2
+ import { bg as v } from "./form-D9IxiDXP.js";
3
3
  const k = (I) => {
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) => {
4
+ const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, g] = o(!1), [h, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
5
5
  let d = e.map((l) => ({
6
6
  value: l.id ?? "",
7
7
  label: l.name ?? "",
@@ -32,11 +32,11 @@ const k = (I) => {
32
32
  ]);
33
33
  return {
34
34
  isLoading: O,
35
- options: g,
35
+ options: h,
36
36
  isEmpty: E,
37
37
  hasInitialDataLoaded: c,
38
38
  shouldRender: b,
39
- setIsLoading: h,
39
+ setIsLoading: g,
40
40
  setOptions: p,
41
41
  setIsEmpty: u,
42
42
  setHasInitialDataLoaded: f,
@@ -0,0 +1,6 @@
1
+ import { a5 as a } from "./form-D9IxiDXP.js";
2
+ import { u as e } from "./use-hoverable-input-class-name-B42rAp82.js";
3
+ const m = (...s) => e(a, s);
4
+ export {
5
+ m as u
6
+ };
package/dist/form.d.ts CHANGED
@@ -6983,6 +6983,16 @@ type ElementProps = ElementTree & {
6983
6983
  dropdown?: LeafEntry & {
6984
6984
  open?: boolean;
6985
6985
  };
6986
+ signatureContainer?: ElementEntry<ElementTree & {
6987
+ signatureDropZone?: ElementEntry<{
6988
+ signatureUploadButton?: ElementEntry<{
6989
+ icon?: IconEntry;
6990
+ label?: LeafEntry;
6991
+ }>;
6992
+ }>;
6993
+ }> & {
6994
+ signatureMode?: 'draw' | 'type' | 'upload';
6995
+ };
6986
6996
  submitButton?: ElementEntry<{
6987
6997
  icon?: IconEntry;
6988
6998
  label?: LeafEntry;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/form-elements",
3
- "version": "1.126.0",
3
+ "version": "1.127.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": "bd13570d9663ce3cd43f9ceb8c5ac16be305630c9ef59c3fa44cf3a7"
159
+ "falconPackageHash": "73de8ac9e44c791b09a6b35ca8fe406750d528c2668dfc82c536db72"
160
160
  }
@@ -1,26 +0,0 @@
1
- const n = "_label_nnsss_1", o = "_requiredMark_nnsss_11", s = "_input_nnsss_16", e = "_inputGroup_nnsss_17", t = "_inputHover_nnsss_71", c = "_innerInput_nnsss_132", _ = "_dropdownTrigger_nnsss_182", r = "_dropdownIcon_nnsss_192", p = "_dropdownPopover_nnsss_211", i = "_selectPopover_nnsss_217", u = "_selectOption_nnsss_244", d = "_selectOptionHover_nnsss_267", l = "_selectOptionSelected_nnsss_271", h = "_selectOptionWithoutFocusRing_nnsss_275", b = "_description_nnsss_281", k = "_error_nnsss_297", v = "_checkbox_nnsss_316", I = "_checkboxInput_nnsss_339", x = "_checkboxInputSelected_nnsss_378", O = "_checkboxInputHover_nnsss_382", a = "_uploadButton_nnsss_429", g = {
2
- label: n,
3
- requiredMark: o,
4
- input: s,
5
- inputGroup: e,
6
- inputHover: t,
7
- innerInput: c,
8
- dropdownTrigger: _,
9
- dropdownIcon: r,
10
- dropdownPopover: p,
11
- selectPopover: i,
12
- selectOption: u,
13
- selectOptionHover: d,
14
- selectOptionSelected: l,
15
- selectOptionWithoutFocusRing: h,
16
- description: b,
17
- error: k,
18
- checkbox: v,
19
- checkboxInput: I,
20
- checkboxInputSelected: x,
21
- checkboxInputHover: O,
22
- uploadButton: a
23
- };
24
- export {
25
- g as s
26
- };