@wix/form-elements 1.217.0 → 1.219.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-BwV-BiuM.js → appointment-rac-BHOy_R7-.js} +4 -4
  2. package/dist/component/{bookings-address-rac-60s8mINA.js → bookings-address-rac-BCrQv66p.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CD180ofz.js → bookings-email-rac-DmRfdxfb.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DPj9TLDZ.js → bookings-first-name-rac-BXO3f2gd.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DWAqHAC3.js → bookings-header-rac-CO6AOevd.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C-0GchtO.js → bookings-last-name-rac-BJBEASFi.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DpVUsgYV.js → bookings-login-bar-rac-BIAIfq4E.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DSw3Wpi6.js → bookings-phone-rac-Ccj4N7sU.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BcfuuhqF.js → bookings-rich-text-rac-B3HZ904h.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CxN4DXcm.js → checkbox-field-rac-CMLQboNZ.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-Cxytn3cY.js → checkbox-group-field-headless-BoPu_anP.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-COySLANT.js → checkbox-group-field-rac-DDkB4mAS.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-C36q50g-.js → checkbox-group-rac-CYRjp2pd.js} +1 -1
  14. package/dist/component/{checkbox-rac-CPRna7wo.js → checkbox-rac-CZtOcpN3.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C9WfyF_C.js → contacts-address-rac-CTcU_s2X.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DI_n6KW2.js → contacts-birthdate-rac-CfoYd88-.js} +1 -1
  17. package/dist/component/{contacts-company-rac-C2L3jLDV.js → contacts-company-rac-BFa1_U3K.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BXxC1EQz.js → contacts-email-rac-DnAo-YRv.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DDNYc6DW.js → contacts-first-name-rac-CXaZzVt1.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C8kg5uC1.js → contacts-last-name-rac-DfpXadTk.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-GBwlIMQi.js → contacts-phone-rac-CCwC37Ud.js} +1 -1
  22. package/dist/component/{contacts-position-rac-sI-eyBLH.js → contacts-position-rac-CvMNYTKL.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DI3nlzX4.js → contacts-subscribe-rac-vL2jR6hR.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CRq4rhb6.js → contacts-tax-id-rac-CrFhrlkk.js} +1 -1
  25. package/dist/component/{date-availability-17HTB6Bn.js → date-availability-5zvsa_GI.js} +1 -1
  26. package/dist/component/{date-input-field-rac-BLO1qQSi.js → date-input-field-rac-BQuCwFBz.js} +43 -43
  27. package/dist/component/{date-input-rac-Zryc6o9F.js → date-input-rac-DKzwySbG.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-COGESH_j.js → date-picker-field-rac-D-B3bNeU.js} +35 -35
  29. package/dist/component/{date-picker-rac-BR5X3Gg4.js → date-picker-rac-DjYsBhgo.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CKbGhDKq.js → date-time-input-field-rac-BECpkgB2.js} +30 -30
  31. package/dist/component/{date-time-input-rac-DnP-sVbv.js → date-time-input-rac-FbqGdzfB.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-O9bQHdjz.js → dext-checkbox-group-rac-BtSRkEFa.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-3Eqa1NNz.js → dext-checkbox-rac-BnC_NNyy.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BYjvDil-.js → dext-date-picker-rac-okrwxNz9.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BLX3xG9x.js → dext-date-time-input-rac-DHKRYBUe.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BwpbF2-Z.js → dext-dropdown-rac-1T_Ufw_J.js} +1 -1
  37. package/dist/component/{dext-email-rac-DUNmxVKy.js → dext-email-rac-BY3bKE0q.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-D2rZrzXe.js → dext-number-input-rac-CFnKXD1l.js} +1 -1
  39. package/dist/component/{dext-phone-rac-C9dvhFCl.js → dext-phone-rac-LT9InJXw.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-D8mUfv1Y.js → dext-radio-group-rac-BUebk1mz.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BY8MRBDl.js → dext-rating-input-rac-Drk4nKuW.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DBKnRkUI.js → dext-tags-rac-BcW2-hht.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BYVMZ7HH.js → dext-text-area-rac-ew2HEDVz.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B6Ga232R.js → dext-text-input-rac-BhhGEp-y.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Cgu1URth.js → dext-url-input-rac-DKPl-POV.js} +1 -1
  46. package/dist/component/{donation-rac-DL1TnDAO.js → donation-rac-B9w7zHLs.js} +50 -50
  47. package/dist/component/{dropdown-field-rac-KYozl4DF.js → dropdown-field-rac-CyIgQ8Wg.js} +3 -3
  48. package/dist/component/{dropdown-rac-DiqI7QHS.js → dropdown-rac-D4zhCab8.js} +1 -1
  49. package/dist/component/{ecom-address-rac-Cmb0daDG.js → ecom-address-rac-Cgc5vi9N.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-B7AuYQA2.js → ecom-subscription-checkbox-rac-Ci19HUzq.js} +2 -2
  51. package/dist/component/{email-input-field-rac-DocV1aB9.js → email-input-field-rac-DX-z3AgN.js} +29 -29
  52. package/dist/component/{events-repeater-rac-B0Qqfo8D.js → events-repeater-rac-XGxIXTW0.js} +29 -29
  53. package/dist/component/{events-rsvp-rac-fv3hIzAL.js → events-rsvp-rac-CMEcer8W.js} +3 -3
  54. package/dist/component/{field-error-headless-Dfvu9FuO.js → field-error-headless-fX6PeZaI.js} +1 -1
  55. package/dist/component/{field-label-headless-Cxyl3wGC.js → field-label-headless-CoLjciGG.js} +5 -5
  56. package/dist/component/{file-upload-rac-Je_--JfX.js → file-upload-rac-N6_i0ky0.js} +88 -88
  57. package/dist/component/{fixed-payment-rac-BnXYEIDe.js → fixed-payment-rac-DB6BtjkX.js} +7 -7
  58. package/dist/component/{form-a7SUDn8q.js → form-cgY_BDTU.js} +1444 -1426
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-D6gL7ZE_.js → header-field-rac-CwNoeHks.js} +2 -2
  61. package/dist/component/{header-rac-DEkEGPwy.js → header-rac-DefKb4Vd.js} +1 -1
  62. package/dist/component/{image-choice-rac-Br7ZpUIc.js → image-choice-rac-CZFYVSzP.js} +25 -25
  63. package/dist/component/{index-nfuicG4V.js → index-D1ybDmS5.js} +2 -2
  64. package/dist/component/{index-CCtGcc8K.js → index-DUVXPUGc.js} +4 -4
  65. package/dist/component/{isObjectLike-zLoHjg3a.js → isObjectLike-93vxyYs1.js} +1 -1
  66. package/dist/component/multiline-address-field-rac-BN_Tnrno.js +1738 -0
  67. package/dist/component/{multiline-address-rac-CyM0O2ZV.js → multiline-address-rac-CoF0BwJI.js} +1 -1
  68. package/dist/component/{number-input-field-rac-orHx_sCp.js → number-input-field-rac-BVdfzTwW.js} +21 -21
  69. package/dist/component/{number-input-rac-CF5v19rL.js → number-input-rac-D-A2ybtN.js} +1 -1
  70. package/dist/component/{password-rac-BSWihZvF.js → password-rac-CbUBNreW.js} +26 -26
  71. package/dist/component/{payment-input-rac-CeAz10YA.js → payment-input-rac-BXdDXgXp.js} +46 -46
  72. package/dist/component/{phone-input-field-rac-BefHQnSh.js → phone-input-field-rac-CjmpG7p9.js} +57 -57
  73. package/dist/component/{phone-rac-C5jSEw_g.js → phone-rac-D3g5Pi2p.js} +1 -1
  74. package/dist/component/{product-list-rac-C0UIu3qw.js → product-list-rac-gJvJaUnQ.js} +35 -35
  75. package/dist/component/{quiz-radio-group-rac-Bya6uEoi.js → quiz-radio-group-rac-YCKwAv5G.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-YEfiQQtW.js → radio-button-module-classes-2nfcqSJp.js} +15 -15
  77. package/dist/component/{radio-group-field-rac-DZWxn-QY.js → radio-group-field-rac-BBYaCpeZ.js} +4 -4
  78. package/dist/component/{radio-group-rac-DsL2Ttyk.js → radio-group-rac-fYuYtO48.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-BioYAy-_.js → rating-input-field-rac-sPYk1nWc.js} +20 -20
  80. package/dist/component/{rating-input-rac-DahZMbKa.js → rating-input-rac-CiWqxkPO.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-pvsjrr7Y.js → rich-content-rac.module-BjcbV5CK.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-H-mxitKA.js → rich-text-field-rac-DY0vRG7M.js} +4 -4
  83. package/dist/component/{rich-text-rac-CPfXGilA.js → rich-text-rac-BngE_MAC.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-C2qfLOFr.js → service-dropdown-rac-Db53P8Fm.js} +13 -13
  85. package/dist/component/{services-multi-choice-rac-D7-sJi_t.js → services-multi-choice-rac-Cr791rTd.js} +9 -9
  86. package/dist/component/{signature-rac-DuQuR2U3.js → signature-rac-BCNYIwad.js} +41 -41
  87. package/dist/component/{submit-button-rac-DrUDtzCX.js → submit-button-rac-CyyEQGsz.js} +10 -10
  88. package/dist/component/{tags-field-rac-D8gyv5Kk.js → tags-field-rac-k3HHiR5C.js} +24 -24
  89. package/dist/component/{tags-rac-Be588VqA.js → tags-rac-nOXYrsHv.js} +1 -1
  90. package/dist/component/{text-area-field-rac-hezqhMgQ.js → text-area-field-rac-CwpxShM0.js} +22 -22
  91. package/dist/component/{text-area-rac-B_KUlOes.js → text-area-rac-CkKcWyW5.js} +1 -1
  92. package/dist/component/{text-input-field-rac-BWRz4111.js → text-input-field-rac-DvIwNwn3.js} +3 -3
  93. package/dist/component/{text-input-headless-BUNQFfZw.js → text-input-headless-vfGxjFpa.js} +9 -9
  94. package/dist/component/{text-input-rac-DdfHXZ8B.js → text-input-rac-DoVI2HNp.js} +1 -1
  95. package/dist/component/{time-input-rac-CUTavG2g.js → time-input-rac-DPbbdnl3.js} +16 -16
  96. package/dist/component/{url-input-field-rac-CG5yrtux.js → url-input-field-rac-CiZi4oVe.js} +20 -20
  97. package/dist/component/{url-input-rac-DMw4tPKk.js → url-input-rac-C-IvLpA8.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-CHW3T4PQ.js → use-dropdown-option-class-name-CMgoymWE.js} +2 -2
  99. package/dist/component/{use-dropdown-trigger-class-name-6UsjW0rS.js → use-dropdown-trigger-class-name-BH0PyTH_.js} +24 -24
  100. package/dist/component/{use-element-state-class-name-YRDhi6Zr.js → use-element-state-class-name-DiZjY9WE.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-arCOozPK.js → use-hoverable-input-class-name-QpNEvrdn.js} +2 -2
  102. package/dist/component/{use-is-forced-open-dropdown-NJIAuz_W.js → use-is-forced-open-dropdown-CHh9nGJz.js} +4 -4
  103. package/dist/component/{use-service-options-base-nhf-7Ope.js → use-service-options-base-BGB82e2d.js} +4 -4
  104. package/dist/component/use-text-input-class-name-_CjB7lhB.js +6 -0
  105. package/package.json +2 -2
  106. package/dist/component/multiline-address-field-rac-Bgfked1m.js +0 -1664
  107. package/dist/component/use-text-input-class-name-C9496S5f.js +0 -6
@@ -1,14 +1,14 @@
1
1
  import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import u from "classnames";
3
3
  import e, { useCallback as O, useState as A, useRef as M } from "react";
4
- import { bM as S, bJ as I, bV as T, bX as H, X as w, am as P, af as B, M as q, I as G, ag as k } from "./form-a7SUDn8q.js";
5
- import { RadioGroup as x, RadioField as U, RadioButton as X } from "react-aria-components";
4
+ import { bN as S, bK as I, bW as T, bY as H, X as w, am as P, af as B, M as q, I as G, ag as k } from "./form-cgY_BDTU.js";
5
+ import { RadioGroup as x, RadioField as K, RadioButton as U } from "react-aria-components";
6
6
  import { f as E, a as z } from "./find-child-C60k4CxG.js";
7
- import { D as J, E as K } from "./field-error-headless-Dfvu9FuO.js";
8
- import { L as Q } from "./field-label-headless-Cxyl3wGC.js";
9
- import { E as Z } from "./error-icon-hZxQ6DEy.js";
7
+ import { D as Q, E as W } from "./field-error-headless-fX6PeZaI.js";
8
+ import { L as X } from "./field-label-headless-CoLjciGG.js";
9
+ import { E as Y } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as p } from "./field-rac.module-DcyJyi2B.js";
11
- import { u as j } from "./use-element-state-class-name-YRDhi6Zr.js";
11
+ import { u as Z } from "./use-element-state-class-name-DiZjY9WE.js";
12
12
  const t = ({ children: a }) => {
13
13
  const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: o, onBlur: c, onFocus: g, FieldLayout: R } = S(), { labelId: _, ariaDescribedBy: L } = I(), s = O((D) => i(Number(D)), [
14
14
  i
@@ -54,7 +54,7 @@ const t = ({ children: a }) => {
54
54
  onHoverChange: (f) => c(f ? s : void 0),
55
55
  label: r == null ? void 0 : r(Number(s))
56
56
  })));
57
- }, V = {
57
+ }, j = {
58
58
  border: 0,
59
59
  clipPath: "inset(50%)",
60
60
  height: 1,
@@ -66,9 +66,9 @@ const t = ({ children: a }) => {
66
66
  whiteSpace: "nowrap"
67
67
  }, v = ({ className: a, children: n, ...r }) => {
68
68
  const { value: i, isSelected: l, onHoverChange: m, label: d } = r;
69
- return /* @__PURE__ */ e.createElement(U, {
69
+ return /* @__PURE__ */ e.createElement(K, {
70
70
  value: i
71
- }, /* @__PURE__ */ e.createElement(X, {
71
+ }, /* @__PURE__ */ e.createElement(U, {
72
72
  className: ({ isHovered: o, isFocused: c }) => typeof a == "function" ? a({
73
73
  isSelected: l,
74
74
  isHovered: o,
@@ -81,16 +81,16 @@ const t = ({ children: a }) => {
81
81
  isHovered: o,
82
82
  isFocused: c
83
83
  }) : n, d ? /* @__PURE__ */ e.createElement("span", {
84
- style: V
84
+ style: j
85
85
  }, d) : null)));
86
86
  };
87
87
  b.Rating = v;
88
- t.Label = Q;
88
+ t.Label = X;
89
89
  t.Ratings = b;
90
90
  t.Rating = v;
91
- t.Description = J;
92
- t.Error = K;
93
- const W = (a) => /* @__PURE__ */ e.createElement("svg", {
91
+ t.Description = Q;
92
+ t.Error = W;
93
+ const J = (a) => /* @__PURE__ */ e.createElement("svg", {
94
94
  viewBox: "0 0 32 32",
95
95
  width: 32,
96
96
  height: 32,
@@ -100,9 +100,9 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
100
100
  }, /* @__PURE__ */ e.createElement("path", {
101
101
  fillRule: "evenodd",
102
102
  d: "M28.6265,13.6325 C28.9655,13.3015 29.0845,12.8175 28.9385,12.3665 C28.7925,11.9165 28.4105,11.5945 27.9415,11.5265 L20.5785,10.4565 C20.5015,10.4445 20.4345,10.3965 20.4005,10.3275 L17.1075,3.6545 L17.1075,3.6535 C16.8975,3.2295 16.4735,2.9655 16.0005,2.9655 L15.9995,2.9655 C15.5255,2.9655 15.1025,3.2295 14.8925,3.6545 L11.5985,10.3275 C11.5645,10.3965 11.4985,10.4445 11.4225,10.4565 L4.0575,11.5265 C3.5895,11.5945 3.2075,11.9165 3.0615,12.3665 C2.9155,12.8175 3.0345,13.3015 3.3735,13.6325 L8.7025,18.8265 C8.7575,18.8805 8.7835,18.9585 8.7705,19.0345 L7.5125,26.3695 C7.4325,26.8355 7.6205,27.2985 8.0035,27.5765 C8.2195,27.7345 8.4735,27.8145 8.7285,27.8145 C8.9245,27.8145 9.1215,27.7665 9.3045,27.6705 L15.8895,24.2085 C15.9595,24.1725 16.0415,24.1725 16.1085,24.2075 L22.6955,27.6705 C23.1155,27.8915 23.6135,27.8555 23.9965,27.5765 C24.3795,27.2985 24.5675,26.8355 24.4875,26.3695 L23.2305,19.0355 C23.2165,18.9585 23.2425,18.8805 23.2975,18.8265 L28.6265,13.6325 Z"
103
- })), Y = "_ratings_a5lgi_1", $ = "_rating_a5lgi_1", ee = "_ratingSelected_a5lgi_37", te = "_ratingHover_a5lgi_44", C = {
104
- ratings: Y,
105
- rating: $,
103
+ })), $ = "_ratings_a5lgi_1", V = "_rating_a5lgi_1", ee = "_ratingSelected_a5lgi_37", te = "_ratingHover_a5lgi_44", C = {
104
+ ratings: $,
105
+ rating: V,
106
106
  ratingSelected: ee,
107
107
  ratingHover: te
108
108
  }, ae = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(N, {
@@ -113,7 +113,7 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
113
113
  selected: C.ratingSelected,
114
114
  hover: C.ratingHover
115
115
  }, pe = () => {
116
- const { t: a } = H(), n = j({
116
+ const { t: a } = H(), n = Z({
117
117
  globalClasses: k,
118
118
  moduleClasses: ne
119
119
  });
@@ -128,9 +128,9 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
128
128
  })
129
129
  }, /* @__PURE__ */ e.createElement(t.Rating, {
130
130
  className: n
131
- }, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
131
+ }, /* @__PURE__ */ e.createElement(J, null))), /* @__PURE__ */ e.createElement(t.Error, {
132
132
  className: u(q, p.error)
133
- }, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
133
+ }, /* @__PURE__ */ e.createElement(Y, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
134
134
  className: u(G, p.description)
135
135
  }, ae));
136
136
  };
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-BioYAy-_.js";
2
+ import { R as e } from "./rating-input-field-rac-sPYk1nWc.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as RatingInputRAC
@@ -1,5 +1,5 @@
1
1
  import c, { useState as u } from "react";
2
- import { bM as a, bE as i, bX as T } from "./form-a7SUDn8q.js";
2
+ import { bN as a, bF as i, bY as T } from "./form-cgY_BDTU.js";
3
3
  import { Button as d } from "react-aria-components";
4
4
  import { D as r } from "./data-hooks-Dkw1pbRj.js";
5
5
  import { truncateRichContent as _ } from "@wix/ricos/content";
@@ -24,7 +24,7 @@ const O = ({ children: e }) => {
24
24
  "data-hook": s
25
25
  }, o);
26
26
  };
27
- function B(e, t) {
27
+ function N(e, t) {
28
28
  const [n, o] = u(!0);
29
29
  function s() {
30
30
  o((l) => !l);
@@ -38,12 +38,12 @@ function B(e, t) {
38
38
  toggleTruncate: s
39
39
  };
40
40
  }
41
- const C = "_richContent_1galb_1", D = {
41
+ const C = "_richContent_1galb_1", B = {
42
42
  richContent: C
43
43
  };
44
44
  export {
45
45
  O as R,
46
46
  p as T,
47
- D as s,
48
- B as u
47
+ B as s,
48
+ N as u
49
49
  };
@@ -1,11 +1,11 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { bM as m, aY as i, aG as u, bn as R, bq as T } from "./form-a7SUDn8q.js";
4
- import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-pvsjrr7Y.js";
3
+ import { bN as m, aY as i, aG as u, bn as R, bq as T } from "./form-cgY_BDTU.js";
4
+ import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-BjcbV5CK.js";
5
5
  const h = {
6
6
  colorPalette: T(),
7
7
  customStyles: R()
8
- }, P = ({ truncate: t = !0 } = {}) => {
8
+ }, N = ({ truncate: t = !0 } = {}) => {
9
9
  const { content: a, maxShownParagraphs: s } = m(), { displayedContent: n, isTruncated: o, isTruncateButtonShown: r, toggleTruncate: c } = C(a, t ? s : void 0);
10
10
  return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(i, {
11
11
  className: l(u, g.richContent),
@@ -17,5 +17,5 @@ const h = {
17
17
  })));
18
18
  };
19
19
  export {
20
- P as R
20
+ N as R
21
21
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-H-mxitKA.js";
2
+ import { R as t } from "./rich-text-field-rac-DY0vRG7M.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC
@@ -1,14 +1,14 @@
1
1
  import o, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
2
2
  import { RicosViewer as w } from "@wix/ricos/viewer";
3
3
  import E from "classnames";
4
- import { bI as P, bX as A, F as M, bM as y, bE as V, aN as x, X as H, am as U, J as W, M as k, I as q } from "./form-a7SUDn8q.js";
5
- import { u as B } from "./use-service-options-base-nhf-7Ope.js";
6
- import { D as u, u as X } from "./use-dropdown-trigger-class-name-6UsjW0rS.js";
7
- import { C as J } from "./chevron-down-icon-CcpVm6B-.js";
4
+ import { bJ as P, bY as A, F as M, bN as y, bF as V, aN as x, X as H, am as U, J as W, M as k, I as q } from "./form-cgY_BDTU.js";
5
+ import { u as B } from "./use-service-options-base-BGB82e2d.js";
6
+ import { D as u, u as J } from "./use-dropdown-trigger-class-name-BH0PyTH_.js";
7
+ import { C as Y } from "./chevron-down-icon-CcpVm6B-.js";
8
8
  import { E as Q } from "./error-icon-hZxQ6DEy.js";
9
- import { H as Y } from "./custom-focus-class-_483Pkwp.js";
9
+ import { H as X } from "./custom-focus-class-_483Pkwp.js";
10
10
  import { s as i } from "./field-rac.module-DcyJyi2B.js";
11
- import { u as j } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
11
+ import { u as j } from "./use-dropdown-option-class-name-CMgoymWE.js";
12
12
  const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
13
13
  const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = T(!0), d = _(() => {
14
14
  var s;
@@ -25,7 +25,7 @@ const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
25
25
  ] : s, [
26
26
  n,
27
27
  c
28
- ]), { isLoading: f, options: l, isEmpty: h, shouldRender: I, setIsLoading: S, setOptions: R, setIsEmpty: g, processOptions: F } = B({
28
+ ]), { isLoading: f, options: l, isEmpty: h, shouldRender: I, setIsLoading: S, setOptions: F, setIsEmpty: g, processOptions: R } = B({
29
29
  fieldType: M.SERVICES_DROPDOWN,
30
30
  isEditor: e.isEditor,
31
31
  postProcessOptions: O
@@ -41,8 +41,8 @@ const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
41
41
  console.error(m);
42
42
  }
43
43
  if (s) {
44
- const m = F(s);
45
- g(!n && m.length === 0), R(m);
44
+ const m = R(s);
45
+ g(!n && m.length === 0), F(m);
46
46
  } else
47
47
  a.current = !0;
48
48
  S(!1);
@@ -50,10 +50,10 @@ const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
50
50
  }, [
51
51
  t,
52
52
  d,
53
- F,
53
+ R,
54
54
  n,
55
55
  S,
56
- R,
56
+ F,
57
57
  g
58
58
  ]);
59
59
  b(() => {
@@ -121,14 +121,14 @@ const K = ({ content: e, locale: t }) => /* @__PURE__ */ o.createElement(w, {
121
121
  content: e,
122
122
  locale: t
123
123
  }), Z = () => {
124
- const e = X(i.dropdownTrigger), t = j(Y);
124
+ const e = J(i.dropdownTrigger), t = j(X);
125
125
  return /* @__PURE__ */ o.createElement(r, null, /* @__PURE__ */ o.createElement(r.Label, {
126
126
  className: E(H, i.label)
127
127
  }, /* @__PURE__ */ o.createElement(r.Label.Required, {
128
128
  className: E(U, i.requiredMark)
129
129
  })), /* @__PURE__ */ o.createElement(r.Trigger, {
130
130
  className: e
131
- }, /* @__PURE__ */ o.createElement(J, {
131
+ }, /* @__PURE__ */ o.createElement(Y, {
132
132
  className: i.dropdownIcon
133
133
  })), /* @__PURE__ */ o.createElement(r.Options, {
134
134
  className: E(W, i.selectPopover, i.dropdownPopover)
@@ -1,15 +1,15 @@
1
1
  import e, { useEffect as I, useMemo as L } from "react";
2
2
  import { RicosViewer as S } from "@wix/ricos/viewer";
3
3
  import a from "classnames";
4
- import { F as R, bM as d, aN as D, X as N, am as F, p as f, r as h, M, I as b, q as A } from "./form-a7SUDn8q.js";
5
- import { u as v } from "./use-service-options-base-nhf-7Ope.js";
6
- import { C as i } from "./checkbox-group-field-headless-Cxytn3cY.js";
4
+ import { F as R, bN as d, aN as N, X as D, am as F, p as f, r as h, M as b, I as M, q as A } from "./form-cgY_BDTU.js";
5
+ import { u as v } from "./use-service-options-base-BGB82e2d.js";
6
+ import { C as i } from "./checkbox-group-field-headless-BoPu_anP.js";
7
7
  import { E as x } from "./error-icon-hZxQ6DEy.js";
8
8
  import { C as P } from "./checkbox-indicator-module-classes-DOxE4UQg.js";
9
9
  import { s as n } from "./field-rac.module-DcyJyi2B.js";
10
10
  import { o as _ } from "./options-rac.module-_THNq6Qq.js";
11
- import { u as T } from "./use-element-state-class-name-YRDhi6Zr.js";
12
- import { u as k } from "./use-text-input-class-name-C9496S5f.js";
11
+ import { u as T } from "./use-element-state-class-name-DiZjY9WE.js";
12
+ import { u as k } from "./use-text-input-class-name-_CjB7lhB.js";
13
13
  const y = (s) => {
14
14
  var C;
15
15
  const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
@@ -41,7 +41,7 @@ const y = (s) => {
41
41
  r,
42
42
  l
43
43
  ]);
44
- return !r.isEditor && E || !c ? null : /* @__PURE__ */ e.createElement(D.Provider, {
44
+ return !r.isEditor && E || !c ? null : /* @__PURE__ */ e.createElement(N.Provider, {
45
45
  value: {
46
46
  v2: m
47
47
  }
@@ -62,7 +62,7 @@ const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
62
62
  moduleClasses: P
63
63
  }), o = k();
64
64
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
65
- className: a(N, n.label)
65
+ className: a(D, n.label)
66
66
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
67
67
  className: a(F, n.requiredMark)
68
68
  })), /* @__PURE__ */ e.createElement(t.Options, {
@@ -76,9 +76,9 @@ const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
76
76
  })), /* @__PURE__ */ e.createElement(t.Options.Option.OtherInput, {
77
77
  inputClassName: o
78
78
  }))), /* @__PURE__ */ e.createElement(t.Error, {
79
- className: a(M, n.error)
79
+ className: a(b, n.error)
80
80
  }, /* @__PURE__ */ e.createElement(x, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
81
- className: a(b, n.description)
81
+ className: a(M, n.description)
82
82
  }, B));
83
83
  }, J = () => /* @__PURE__ */ e.createElement(H, null);
84
84
  export {
@@ -2,17 +2,17 @@ import r, { useRef as $, useContext as Se, useMemo as he, useCallback as y, useS
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 { be as xe, bG as Le, aR as Ue, F as Be, bI as Oe, bE as Pe, bU as Te, E as me, aH as oe, bM as x, bJ as W, bO as Ie, bX as Me, bF as He, X as We, am as Ye, an as Ge, ao as Ze, 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-a7SUDn8q.js";
5
+ import { be as xe, bH as Le, aR as Ue, F as Be, bJ as Oe, bF as Pe, bV as Te, E as me, aH as oe, bN as x, bK as W, bP as Ce, bY as Me, bG as He, X as We, am as Ye, an as Ge, ao as Ze, 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-cgY_BDTU.js";
6
6
  import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
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";
7
+ import { RadioGroup as nt, Button as Ie, 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
- import { f as C, a as N } from "./find-child-C60k4CxG.js";
10
- import { D as ct, E as ut } from "./field-error-headless-Dfvu9FuO.js";
11
- import { L as dt } from "./field-label-headless-Cxyl3wGC.js";
9
+ import { f as I, a as N } from "./find-child-C60k4CxG.js";
10
+ import { D as ct, E as ut } from "./field-error-headless-fX6PeZaI.js";
11
+ import { L as dt } from "./field-label-headless-CoLjciGG.js";
12
12
  import { D as mt } from "./data-hooks-Dkw1pbRj.js";
13
13
  import { E as pt } from "./error-icon-hZxQ6DEy.js";
14
14
  import { s as ae } from "./field-rac.module-DcyJyi2B.js";
15
- import { u as X } from "./use-element-state-class-name-YRDhi6Zr.js";
15
+ import { u as X } from "./use-element-state-class-name-DiZjY9WE.js";
16
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);
@@ -26,7 +26,7 @@ const ft = typeof r.useId == "function" ? r.useId : () => $(xe()).current, Et =
26
26
  };
27
27
  var R = /* @__PURE__ */ (function(e) {
28
28
  return e.TEXT = "text/plain", e.POINTS = "points/json", e;
29
- })({}), I = /* @__PURE__ */ (function(e) {
29
+ })({}), C = /* @__PURE__ */ (function(e) {
30
30
  return e.DRAW = "draw", e.TYPE = "type", e.UPLOAD = "upload", e;
31
31
  })({}), A = /* @__PURE__ */ (function(e) {
32
32
  return e.DRAW = "draw", e.TYPE = "type", e.IMAGE = "image", e.UPLOAD = "upload", e;
@@ -59,20 +59,20 @@ function Tt(e) {
59
59
  const n = a.getImageData(0, 0, 1, 1);
60
60
  return n.data[0] * 65536 + n.data[1] * 256 + n.data[2];
61
61
  }
62
- const It = (e, t) => {
62
+ const Ct = (e, t) => {
63
63
  const a = Tt(e);
64
64
  return (n, o) => {
65
65
  const s = (o * t.width + n) * 4;
66
66
  return t.data[s] * 65536 + t.data[s + 1] * 256 + t.data[s + 2] === a;
67
67
  };
68
- }, Ct = (e) => (t, a) => {
68
+ }, It = (e) => (t, a) => {
69
69
  const n = (a * e.width + t) * 4;
70
70
  return e.data[n + 3] === 0;
71
71
  };
72
72
  function re(e, t) {
73
73
  const a = e.getContext("2d", {
74
74
  willReadFrequently: !0
75
- }), n = e.width, o = e.height, s = a.getImageData(0, 0, n, o), l = t ? It(t, s) : Ct(s);
75
+ }), n = e.width, o = e.height, s = a.getImageData(0, 0, n, o), l = t ? Ct(t, s) : It(s);
76
76
  let i = n + 1, c = -1, u = o + 1, d = -1, f = 0, m = 0;
77
77
  for (m = 0; m < o; m++)
78
78
  for (f = 0; f < n; f++)
@@ -284,14 +284,14 @@ const Ft = ({ value: e, onChange: t, target: a }) => {
284
284
  target: e
285
285
  }), [i, c] = q(() => {
286
286
  if (s == null)
287
- return I.DRAW;
287
+ return C.DRAW;
288
288
  switch (l == null ? void 0 : l.mimeType) {
289
289
  case R.POINTS:
290
- return I.DRAW;
290
+ return C.DRAW;
291
291
  case R.TEXT:
292
- return I.TYPE;
292
+ return C.TYPE;
293
293
  default:
294
- return I.UPLOAD;
294
+ return C.UPLOAD;
295
295
  }
296
296
  }), { setFormStatus: u } = Te(), d = y(() => {
297
297
  o(), u(e, oe.BUSY);
@@ -308,11 +308,11 @@ const Ft = ({ value: e, onChange: t, target: a }) => {
308
308
  e
309
309
  ]), m = s != null, L = Ut(i, s, l), h = (() => {
310
310
  switch (i) {
311
- case I.DRAW:
311
+ case C.DRAW:
312
312
  return A.DRAW;
313
- case I.TYPE:
313
+ case C.TYPE:
314
314
  return A.TYPE;
315
- case I.UPLOAD:
315
+ case C.UPLOAD:
316
316
  return L != null ? A.IMAGE : A.UPLOAD;
317
317
  default:
318
318
  return A.DRAW;
@@ -331,9 +331,9 @@ const Ft = ({ value: e, onChange: t, target: a }) => {
331
331
  handleClear: f
332
332
  };
333
333
  }, xt = {
334
- [I.DRAW]: (e) => (e == null ? void 0 : e.mimeType) === R.POINTS,
335
- [I.TYPE]: (e) => (e == null ? void 0 : e.mimeType) === R.TEXT,
336
- [I.UPLOAD]: (e) => (e == null ? void 0 : e.mimeType) !== R.POINTS && (e == null ? void 0 : e.mimeType) !== R.TEXT
334
+ [C.DRAW]: (e) => (e == null ? void 0 : e.mimeType) === R.POINTS,
335
+ [C.TYPE]: (e) => (e == null ? void 0 : e.mimeType) === R.TEXT,
336
+ [C.UPLOAD]: (e) => (e == null ? void 0 : e.mimeType) !== R.POINTS && (e == null ? void 0 : e.mimeType) !== R.TEXT
337
337
  };
338
338
  function Ut(e, t, a) {
339
339
  return t && xt[e](a) ? t : void 0;
@@ -352,7 +352,7 @@ const Bt = (e) => {
352
352
  "data-focus-visible": o || void 0
353
353
  };
354
354
  }, b = ({ children: e }) => {
355
- const { id: t, FieldLayout: a } = x(), n = C(e, b.Label), o = C(e, b.Input), s = C(e, b.Description), l = C(e, b.Error);
355
+ const { id: t, FieldLayout: a } = x(), n = I(e, b.Label), o = I(e, b.Input), s = I(e, b.Description), l = I(e, b.Error);
356
356
  return /* @__PURE__ */ r.createElement(a, {
357
357
  fieldId: t,
358
358
  renderLabel: () => n,
@@ -360,15 +360,15 @@ const Bt = (e) => {
360
360
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, l, s)
361
361
  });
362
362
  }, Ot = {
363
- [I.DRAW]: A.DRAW,
364
- [I.TYPE]: A.TYPE,
365
- [I.UPLOAD]: A.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 = bt(a), { signatureMode: c, setSignatureMode: u, handleClear: d, clearable: f, signatureView: m, signatureValueForView: L, handleChange: h, handleBeforeChange: p } = wt({
368
368
  target: s,
369
369
  value: n,
370
370
  onChange: o
371
- }), g = C(e, J.Header), E = C(e, J.Value), S = {
371
+ }), g = I(e, J.Header), E = I(e, J.Value), S = {
372
372
  signatureMode: i ?? c,
373
373
  setSignatureMode: u,
374
374
  handleClear: d,
@@ -383,7 +383,7 @@ const Bt = (e) => {
383
383
  "data-hook": "signature-container"
384
384
  }, !l && N(g, S), N(E, S));
385
385
  }, K = ({ children: e, className: t, ...a }) => {
386
- const { signatureMode: n, setSignatureMode: o, clearable: s, handleClear: l } = a, { uploadEnabled: i } = x(), c = C(e, K.Tabs), u = C(e, K.Clear);
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
389
  }, N(c, {
@@ -399,9 +399,9 @@ const Bt = (e) => {
399
399
  }, [
400
400
  o
401
401
  ]), d = {
402
- [I.DRAW]: C(e, M.Draw),
403
- [I.TYPE]: C(e, M.Type),
404
- [I.UPLOAD]: s ? C(e, M.Upload) : null
402
+ [C.DRAW]: I(e, M.Draw),
403
+ [C.TYPE]: I(e, M.Type),
404
+ [C.UPLOAD]: s ? I(e, M.Upload) : null
405
405
  }, f = d[n], m = Pt(f) ? f.props.description : void 0;
406
406
  return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("div", {
407
407
  role: "status",
@@ -421,7 +421,7 @@ const Bt = (e) => {
421
421
  "aria-controls": c,
422
422
  "data-hook": mt.SIGNATURE_FIELD_MODE_SELECT,
423
423
  className: t
424
- }, d[I.DRAW], d[I.TYPE], d[I.UPLOAD]));
424
+ }, d[C.DRAW], d[C.TYPE], d[C.UPLOAD]));
425
425
  }, Pt = (e) => /* @__PURE__ */ be(e), ue = ({ mode: e, children: t, className: a, "aria-label": n }) => /* @__PURE__ */ r.createElement(lt, {
426
426
  value: e,
427
427
  "aria-label": n
@@ -430,16 +430,16 @@ const Bt = (e) => {
430
430
  className: a
431
431
  }, t)), Mt = (e) => /* @__PURE__ */ r.createElement(ue, {
432
432
  ...e,
433
- mode: I.DRAW
433
+ mode: C.DRAW
434
434
  }), Ht = (e) => /* @__PURE__ */ r.createElement(ue, {
435
435
  ...e,
436
- mode: I.TYPE
436
+ mode: C.TYPE
437
437
  }), Wt = (e) => /* @__PURE__ */ r.createElement(ue, {
438
438
  ...e,
439
- mode: I.UPLOAD
439
+ mode: C.UPLOAD
440
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
- return /* @__PURE__ */ r.createElement(Ce, {
442
+ return /* @__PURE__ */ r.createElement(Ie, {
443
443
  onPress: o,
444
444
  isDisabled: s,
445
445
  "aria-label": a,
@@ -448,7 +448,7 @@ const Bt = (e) => {
448
448
  className: t
449
449
  }, e);
450
450
  }, H = ({ children: e, className: t, ...a }) => {
451
- const { signatureView: n, signatureValueForView: o, handleChange: s, handleBeforeChange: l } = a, { disabled: i, readOnly: c, onBlur: u, onFocus: d, hasError: f } = x(), m = C(e, H.Canvas), L = C(e, H.Type), h = C(e, H.Upload);
451
+ const { signatureView: n, signatureValueForView: o, handleChange: s, handleBeforeChange: l } = a, { disabled: i, readOnly: c, onBlur: u, onFocus: d, hasError: f } = x(), m = I(e, H.Canvas), L = I(e, H.Type), h = I(e, H.Upload);
452
452
  return /* @__PURE__ */ r.createElement("div", {
453
453
  className: t,
454
454
  "data-hook": "signature-input",
@@ -482,7 +482,7 @@ const Bt = (e) => {
482
482
  }));
483
483
  }, Gt = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
484
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, [G, P] = q(!1);
485
- Ie(() => {
485
+ Ce(() => {
486
486
  var _;
487
487
  (_ = g.current) == null || _.focus({
488
488
  preventScroll: !0
@@ -557,7 +557,7 @@ const Bt = (e) => {
557
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
- Ie(() => {
560
+ Ce(() => {
561
561
  const v = document.getElementById(L);
562
562
  v == null || v.focus({
563
563
  preventScroll: !0
@@ -579,7 +579,7 @@ const Bt = (e) => {
579
579
  }, [
580
580
  s,
581
581
  o
582
- ]), P = C(e, de.Value);
582
+ ]), P = I(e, de.Value);
583
583
  return /* @__PURE__ */ r.createElement(at, {
584
584
  "aria-labelledby": p,
585
585
  value: S,
@@ -608,7 +608,7 @@ const Bt = (e) => {
608
608
  className: e
609
609
  });
610
610
  }, Q = ({ children: e, className: t, ...a }) => {
611
- const { value: n, onChange: o, disabled: s, readOnly: l, onBlur: i, onFocus: c } = a, { labelId: u, ariaDescribedBy: d } = W(), f = C(e, Q.Button), m = C(e, Q.Preview), L = y((p) => {
611
+ const { value: n, onChange: o, disabled: s, readOnly: l, onBlur: i, onFocus: c } = a, { labelId: u, ariaDescribedBy: d } = W(), f = I(e, Q.Button), m = I(e, Q.Preview), L = y((p) => {
612
612
  const g = p[0];
613
613
  if (!g) {
614
614
  o(null);
@@ -664,7 +664,7 @@ const Bt = (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(), h = ft(), g = !!C(e, se.Text) ? Ne.map(e, (E) => /* @__PURE__ */ be(E) && E.type === se.Text ? N(E, {
667
+ const { onSelectFiles: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = s, { inputId: f, ariaDescribedBy: m, labelId: L } = W(), h = ft(), g = !!I(e, se.Text) ? Ne.map(e, (E) => /* @__PURE__ */ be(E) && E.type === se.Text ? N(E, {
668
668
  textId: h
669
669
  }) : E) : /* @__PURE__ */ r.createElement("span", {
670
670
  id: h
@@ -676,7 +676,7 @@ const Bt = (e) => {
676
676
  onSelect: (E) => {
677
677
  l(E ? Array.from(E) : []);
678
678
  }
679
- }, /* @__PURE__ */ r.createElement(Ce, {
679
+ }, /* @__PURE__ */ r.createElement(Ie, {
680
680
  id: f,
681
681
  onBlur: u,
682
682
  onFocus: d,
@@ -1,10 +1,10 @@
1
1
  import t, { useRef as X, useCallback as y } from "react";
2
- import G from "@wix/editor-react-components/AnimatedIcon";
2
+ import J from "@wix/editor-react-components/AnimatedIcon";
3
3
  import p from "classnames";
4
- import { bM as b, bG as J, aF as K, aE as $, aC as j, aB as q, aK as z, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-a7SUDn8q.js";
4
+ import { bN as b, bH 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-cgY_BDTU.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-YRDhi6Zr.js";
7
+ import { u as x } from "./use-element-state-class-name-DiZjY9WE.js";
8
8
  function ot(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(nt, {
@@ -145,14 +145,14 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
145
145
  };
146
146
  }, O = ({ icon: e, iconRef: o, iconClassName: s }) => {
147
147
  const { wix: n, className: a, ...i } = e ?? {};
148
- return i.svg ? /* @__PURE__ */ t.createElement(G, {
148
+ return i.svg ? /* @__PURE__ */ t.createElement(J, {
149
149
  ...i,
150
150
  ref: o,
151
151
  className: p(Z, s, a)
152
152
  }) : null;
153
153
  }, Et = () => {
154
154
  var A, F, h, U, M, k;
155
- const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = b(), v = !s && !(a || n), l = J(), m = (F = (A = l.submitButton) == null ? void 0 : A.elementProps) == null ? void 0 : F.icon, C = (U = (h = l.nextButton) == null ? void 0 : h.elementProps) == null ? void 0 : U.icon, f = (k = (M = l.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : k.icon, I = x({
155
+ const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = b(), v = !s && !(a || n), l = K(), m = (F = (A = l.submitButton) == null ? void 0 : A.elementProps) == null ? void 0 : F.icon, C = (U = (h = l.nextButton) == null ? void 0 : h.elementProps) == null ? void 0 : U.icon, f = (k = (M = l.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : k.icon, I = x({
156
156
  globalClasses: Y,
157
157
  moduleClasses: {
158
158
  base: p(u.navigationButton, u.previousButton),
@@ -187,11 +187,11 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
187
187
  onHoverStart: T.onHoverStart,
188
188
  onHoverEnd: T.onHoverEnd
189
189
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Label, {
190
- className: K
190
+ className: $
191
191
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
192
192
  icon: f,
193
193
  iconRef: T.iconRef,
194
- iconClassName: $
194
+ iconClassName: j
195
195
  }))), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton, {
196
196
  className: ({ isHovered: N }) => d({
197
197
  isSelected: !1,
@@ -200,11 +200,11 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
200
200
  onHoverStart: L.onHoverStart,
201
201
  onHoverEnd: L.onHoverEnd
202
202
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton.Label, {
203
- className: j
203
+ className: q
204
204
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
205
205
  icon: C,
206
206
  iconRef: L.iconRef,
207
- iconClassName: q
207
+ iconClassName: z
208
208
  }))), /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton, {
209
209
  className: ({ isHovered: N }) => _({
210
210
  isSelected: !1,
@@ -214,7 +214,7 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
214
214
  onHoverStart: H.onHoverStart,
215
215
  onHoverEnd: H.onHoverEnd
216
216
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton.Label, {
217
- className: z
217
+ className: G
218
218
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
219
219
  icon: m,
220
220
  iconRef: H.iconRef,