@wix/form-elements 1.72.0 → 1.73.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 (105) hide show
  1. package/dist/component/{appointment-rac-CvecMhTP.js → appointment-rac-Bze1s2XD.js} +4 -4
  2. package/dist/component/{bookings-address-rac-Bzh6N9eV.js → bookings-address-rac-BcrkXf63.js} +1 -1
  3. package/dist/component/{bookings-email-rac-kh4HZ9zW.js → bookings-email-rac-DYq5RxOP.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DIe5Nxtm.js → bookings-first-name-rac-ZJ_sQ-01.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CcZrhPWt.js → bookings-header-rac-Cv8kl01f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DynAXyOh.js → bookings-last-name-rac-BmnulSZ6.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CiAreT-B.js → bookings-login-bar-rac-Bdi4xs9y.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-Be7XP3CC.js → bookings-phone-rac-C8DjSzUY.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CsOSjxCm.js → bookings-rich-text-rac-DYu011oy.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-YmbfJMcm.js → checkbox-field-rac-BH3yEE5j.js} +42 -42
  11. package/dist/component/{checkbox-group-field-headless-DnI-niUS.js → checkbox-group-field-headless-D_GG5LHM.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-Cbv9r_IR.js → checkbox-group-field-rac-Cj7Erubs.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-6W04r6Nz.js → checkbox-group-rac-CgW0DnhX.js} +1 -1
  14. package/dist/component/{checkbox-rac-Dv96xsq2.js → checkbox-rac-DOAYMMsi.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BQSEdyVn.js → contacts-address-rac-DXJa4J_k.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CNZp5aiS.js → contacts-birthdate-rac-CVsuRq3B.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BwY-2pG_.js → contacts-company-rac-b2bwHSNC.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CX9LDVtk.js → contacts-email-rac-DMPcpQ1c.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CXzh7vHC.js → contacts-first-name-rac-CL2BsHuJ.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-y93LJlBv.js → contacts-last-name-rac-hdBsWaqb.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-zO2Y3fGa.js → contacts-phone-rac-DQF6aV9B.js} +1 -1
  22. package/dist/component/{contacts-position-rac-y7Nd4s6j.js → contacts-position-rac-CVX-WCfx.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-D5usboPe.js → contacts-subscribe-rac-Dl1ot9qw.js} +2 -2
  24. package/dist/component/{contacts-tax-id-rac-DT42qK_C.js → contacts-tax-id-rac-0KTXvF81.js} +1 -1
  25. package/dist/component/{date-availability-BUg7fwNs.js → date-availability-DBljhBgO.js} +1 -1
  26. package/dist/component/{date-input-field-rac-97DJQbSL.js → date-input-field-rac-CfflD2Ar.js} +4 -4
  27. package/dist/component/{date-input-rac-BTetYZVn.js → date-input-rac-fQclCKoa.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BOzUTQ53.js → date-picker-field-rac-BSmFOaH-.js} +5 -5
  29. package/dist/component/{date-picker-rac-Cz8QZr18.js → date-picker-rac-D7I3ramu.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Cx4a-dzv.js → date-time-input-field-rac-vjZDQ_Fp.js} +4 -4
  31. package/dist/component/{date-time-input-rac-BlSvC4v4.js → date-time-input-rac-CDbS0VZR.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-ijVB8NX2.js → dext-checkbox-group-rac-BBiPt6_a.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-0F6rTc_y.js → dext-checkbox-rac-Cqp--0SO.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-vjt7d8gT.js → dext-date-picker-rac-5Wft0w9m.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CpJz0KtU.js → dext-date-time-input-rac-Bbs7bgtn.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-yUJT-sKU.js → dext-dropdown-rac-CSvhtqbc.js} +1 -1
  37. package/dist/component/{dext-email-rac-D1K34PtX.js → dext-email-rac-BoLeXqyI.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-D-7zudVq.js → dext-number-input-rac-DzaJYTSz.js} +1 -1
  39. package/dist/component/{dext-phone-rac-B4HebC40.js → dext-phone-rac-BagPg_CT.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DWL6wrD6.js → dext-radio-group-rac-B5HSQt7a.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-p_FwVz4F.js → dext-rating-input-rac-DrtaAf-E.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DNZ06TfG.js → dext-tags-rac-Cg4jJ4jr.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-D9Ra_RXC.js → dext-text-area-rac-C_t-W7lk.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-gms4VXn_.js → dext-text-input-rac-ChvV21Jf.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CDZnjVL0.js → dext-url-input-rac-DclbSYTr.js} +1 -1
  46. package/dist/component/{donation-rac-BPy2Dkj_.js → donation-rac-FYQIMm5m.js} +16 -16
  47. package/dist/component/{dropdown-field-headless-CiK1C6eu.js → dropdown-field-headless-CTZ-zGqZ.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-ByUgK0Dh.js → dropdown-field-rac-C1KVtxwv.js} +4 -4
  49. package/dist/component/{dropdown-rac-BZQe_0qb.js → dropdown-rac-CkkDEDje.js} +1 -1
  50. package/dist/component/{ecom-address-rac-Du8bSZKs.js → ecom-address-rac-BOuugSxX.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-ZgT_Mx5b.js → ecom-subscription-checkbox-rac-IZeMlljb.js} +3 -3
  52. package/dist/component/{email-input-field-rac-DWXEywOx.js → email-input-field-rac-CNzmm1j7.js} +26 -26
  53. package/dist/component/{events-repeater-rac-DBofzCIJ.js → events-repeater-rac-CMV0Lmwz.js} +3 -3
  54. package/dist/component/{events-rsvp-rac-CYwLg3Mp.js → events-rsvp-rac-BmjboAco.js} +2 -2
  55. package/dist/component/{field-error-headless-BAVGL8JO.js → field-error-headless-DQZ5XAdn.js} +1 -1
  56. package/dist/component/{field-label-headless-CwSCKtI1.js → field-label-headless-DoxfHHaj.js} +1 -1
  57. package/dist/component/{file-upload-rac-BI_SxUFD.js → file-upload-rac-YEQ7uXhm.js} +46 -46
  58. package/dist/component/{fixed-payment-rac-m2iFI5v_.js → fixed-payment-rac-DDufIQBT.js} +4 -4
  59. package/dist/component/{form-VD2Og15y.js → form-C6WwBcGP.js} +69 -69
  60. package/dist/component/{form-element-classes-BSMjWijd.js → form-element-classes-DDKCTFQj.js} +24 -22
  61. package/dist/component/form-element-keys-D0sEdpFo.js +8 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-C7EKGD8f.js → header-field-rac-DGfjrjQC.js} +3 -3
  65. package/dist/component/{header-rac-CE4fzveg.js → header-rac-C_JE2cTg.js} +1 -1
  66. package/dist/component/{image-choice-rac-CXABLqND.js → image-choice-rac-LDLPQwrN.js} +8 -8
  67. package/dist/component/{index-DI0IAMNV.js → index-C2srcuHD.js} +4 -4
  68. package/dist/component/{index-CHqhveZ1.js → index-CIOoaQ8Z.js} +2 -2
  69. package/dist/component/{isObjectLike-D_6b_ESv.js → isObjectLike-E5QfEa1u.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-3wB7fWdZ.js → multiline-address-field-rac-Biyj2tIN.js} +5 -5
  71. package/dist/component/{multiline-address-rac-RnXiGQRs.js → multiline-address-rac-BCqCvG7a.js} +1 -1
  72. package/dist/component/{number-input-field-rac-BiC2NsZQ.js → number-input-field-rac-CwUoIbM8.js} +4 -4
  73. package/dist/component/{number-input-rac-BphPpAvr.js → number-input-rac-CdYdTDem.js} +1 -1
  74. package/dist/component/{password-rac-DBk3CNX3.js → password-rac-D62npVHY.js} +9 -9
  75. package/dist/component/{payment-input-rac-DNYLuIV-.js → payment-input-rac-D4u-3vcW.js} +6 -6
  76. package/dist/component/{phone-input-field-rac-C30S0p_Y.js → phone-input-field-rac-uHxR3ozd.js} +14 -14
  77. package/dist/component/{phone-rac-vzh9GsbA.js → phone-rac-Bf99_BGi.js} +1 -1
  78. package/dist/component/{product-list-rac-DMdxtFZ1.js → product-list-rac-iRf6Ra7i.js} +4 -4
  79. package/dist/component/{quiz-radio-group-rac-CX9W6rGY.js → quiz-radio-group-rac-CPGS0LEb.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-D7MwZqH6.js → radio-group-field-rac-BWpTNAbO.js} +2 -2
  81. package/dist/component/{radio-group-field-rac.module-DxEUzWwB.js → radio-group-field-rac.module-WxU5zxvM.js} +3 -3
  82. package/dist/component/{radio-group-rac-BK7qn-h2.js → radio-group-rac-dA4WZ1Vj.js} +1 -1
  83. package/dist/component/rating-input-field-rac-CJnFsBvH.js +127 -0
  84. package/dist/component/{rating-input-rac-Dy335I62.js → rating-input-rac-DXVYozFV.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-DrHi1MSI.js → rich-content-rac.module-DkKwzJS7.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CMnH_2lB.js → rich-text-field-rac-8FWCRrpb.js} +3 -3
  87. package/dist/component/{rich-text-rac-Cebhj1Mq.js → rich-text-rac-OeM_mPRy.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-BKsuPUHs.js → service-dropdown-rac-mvUMpcS_.js} +14 -14
  89. package/dist/component/{services-multi-choice-rac-BCzzyhJY.js → services-multi-choice-rac-DrgUrn_N.js} +9 -9
  90. package/dist/component/{signature-rac-TuOQR74M.js → signature-rac-D44U9Uyp.js} +52 -52
  91. package/dist/component/{submit-button-rac-Ct4NVia5.js → submit-button-rac-BqtcgVAn.js} +2 -2
  92. package/dist/component/{tags-field-rac-DYdaPvQc.js → tags-field-rac-CemsTKWz.js} +13 -13
  93. package/dist/component/{tags-rac-BvyXZ_95.js → tags-rac-fVjCf6qo.js} +1 -1
  94. package/dist/component/{text-area-field-rac-YmesRjRH.js → text-area-field-rac-BPciZlZb.js} +6 -6
  95. package/dist/component/{text-area-rac-Bk0bbyrK.js → text-area-rac-CRTORdZM.js} +1 -1
  96. package/dist/component/{text-input-field-rac-CW0ZR1y2.js → text-input-field-rac-CvFoWlRN.js} +2 -2
  97. package/dist/component/{text-input-headless-C1m6gpFi.js → text-input-headless-BQ3TWU9G.js} +3 -3
  98. package/dist/component/{text-input-rac-5S5KE2Qr.js → text-input-rac-DSFkEmob.js} +1 -1
  99. package/dist/component/{time-input-rac-CfoKMXeX.js → time-input-rac-CGgs7ncp.js} +8 -8
  100. package/dist/component/{url-input-field-rac-aQiV0Sti.js → url-input-field-rac-CqvgTc-F.js} +12 -12
  101. package/dist/component/{url-input-rac-Ko5uylZw.js → url-input-rac-C45KOwnr.js} +1 -1
  102. package/dist/component/{use-service-options-base-BagPjcuW.js → use-service-options-base-D4Zl-iGW.js} +1 -1
  103. package/package.json +2 -2
  104. package/dist/component/form-element-keys-P3mtjfCv.js +0 -7
  105. package/dist/component/rating-input-field-rac-CUTqEPPd.js +0 -130
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ai as e, h as t } from "./form-VD2Og15y.js";
3
- import { R as p } from "./radio-group-field-rac-D7MwZqH6.js";
2
+ import { ai as e, h as t } from "./form-C6WwBcGP.js";
3
+ import { R as p } from "./radio-group-field-rac-BWpTNAbO.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-CUTqEPPd.js";
2
+ import { R as e } from "./rating-input-field-rac-CJnFsBvH.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ai as e, h as o } from "./form-VD2Og15y.js";
3
- import { T as s } from "./tags-field-rac-DYdaPvQc.js";
2
+ import { ai as e, h as o } from "./form-C6WwBcGP.js";
3
+ import { T as s } from "./tags-field-rac-CemsTKWz.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-YmesRjRH.js";
2
+ import { T as t } from "./text-area-field-rac-BPciZlZb.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextTextAreaRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CW0ZR1y2.js";
2
+ import { T as e } from "./text-input-field-rac-CvFoWlRN.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextTextInputRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { U as r } from "./url-input-field-rac-aQiV0Sti.js";
2
+ import { U as r } from "./url-input-field-rac-CqvgTc-F.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -1,29 +1,29 @@
1
1
  import t, { useMemo as B, useCallback as L, useRef as oe } from "react";
2
2
  import { RicosViewer as re } from "@wix/ricos/viewer";
3
3
  import y from "classnames";
4
- import { P as G, ai as A, af as j, as as se, ab as v, ak as ae, ac as le } from "./form-VD2Og15y.js";
4
+ import { P as G, ai as A, af as j, as as se, ab as v, ak as ae, ac as le } from "./form-C6WwBcGP.js";
5
5
  import { RadioGroup as ie, RadioField as z, RadioButton as H, TextField as ce, Group as ue, Input as me } from "react-aria-components";
6
6
  import { debounce as pe } from "ts-debounce";
7
7
  import { f, a as N } from "./find-child-C60k4CxG.js";
8
8
  import { a as K } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-BAVGL8JO.js";
10
- import { L as Ie } from "./field-label-headless-CwSCKtI1.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-DQZ5XAdn.js";
10
+ import { L as Ie } from "./field-label-headless-DoxfHHaj.js";
11
11
  import { N as Ce } from "./options-layout-constants-DEfIEJWD.js";
12
12
  import { a as fe, b as Oe } from "./numeric-input-utils-CuBMi4-a.js";
13
13
  import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
14
14
  import { u as he } from "./use-synced-display-value-DcAxdn3M.js";
15
15
  import { E as ye } from "./error-icon-hZxQ6DEy.js";
16
16
  import { s as D } from "./field-rac.module-Cac83bU5.js";
17
- import { z as Ne, P as be, k as Fe, l as De, m as ge, y as Le, q as Re, j as Se } from "./form-element-classes-BSMjWijd.js";
18
- import { D as Ae } from "./form-element-keys-P3mtjfCv.js";
17
+ import { z as Ne, R as be, k as Fe, l as De, m as ge, y as Le, q as Re, j as Se } from "./form-element-classes-DDKCTFQj.js";
18
+ import { D as Ae } from "./form-element-keys-D0sEdpFo.js";
19
19
  import { o as ve } from "./options-rac.module-KM-VT_KY.js";
20
20
  function Te(e, n) {
21
21
  return e.reduce((o, r) => (o[r[n]] = r, o), {});
22
22
  }
23
- function Pe(e) {
23
+ function Me(e) {
24
24
  return Te(e, "id");
25
25
  }
26
- const Me = 0.01;
26
+ const Pe = 0.01;
27
27
  function xe(e) {
28
28
  var n;
29
29
  return ((n = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : n.price) || "0";
@@ -54,22 +54,22 @@ const s = ({ children: e }) => {
54
54
  return ((x = (C = c == null ? void 0 : c.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : x.products) || [];
55
55
  }, [
56
56
  c
57
- ]), P = B(() => Pe(F), [
57
+ ]), M = B(() => Me(F), [
58
58
  F
59
59
  ]), l = B(() => u ? Be(F) : void 0, [
60
60
  F,
61
61
  u
62
- ]), W = je(d, l), [q, M] = he({
62
+ ]), W = je(d, l), [q, P] = he({
63
63
  sourceValue: W,
64
64
  format: (C) => Oe(String(C ?? ""), b),
65
65
  regionalFormat: b
66
66
  }), k = L((C) => {
67
- r(qe(C, d, P)), M("");
67
+ r(qe(C, d, M)), P("");
68
68
  }, [
69
69
  r,
70
- P,
70
+ M,
71
71
  d,
72
- M
72
+ P
73
73
  ]), $ = L((C) => {
74
74
  l && r(typeof C == "number" ? [
75
75
  Q(l, String(C))
@@ -81,8 +81,8 @@ const s = ({ children: e }) => {
81
81
  $
82
82
  ]), J = L((C) => {
83
83
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
84
- const { validInput: x, validNumber: te } = fe(C.target.value, Me, q, b);
85
- M(x), V(te);
84
+ const { validInput: x, validNumber: te } = fe(C.target.value, Pe, q, b);
85
+ P(x), V(te);
86
86
  }, [
87
87
  b,
88
88
  r,
@@ -90,7 +90,7 @@ const s = ({ children: e }) => {
90
90
  l,
91
91
  q,
92
92
  V,
93
- M
93
+ P
94
94
  ]), w = (d == null ? void 0 : d.productId) || null, X = L(() => {
95
95
  l != null && l.id && w !== l.id && k(l.id);
96
96
  }, [
@@ -111,7 +111,7 @@ const s = ({ children: e }) => {
111
111
  onBlur: p,
112
112
  onFocus: _
113
113
  }, Y ? N(Y, {
114
- productsById: P,
114
+ productsById: M,
115
115
  addOther: u,
116
116
  customAmount: q,
117
117
  onCustomAmountInputChange: J,
@@ -1,10 +1,10 @@
1
1
  import e, { useState as E, useCallback as g, useRef as q } from "react";
2
2
  import { UNSAFE_PortalProvider as A } from "react-aria";
3
3
  import { Select as w, SelectValue as M, ListBox as U, ListBoxItem as _ } from "react-aria-components";
4
- import { ai as p, af as b, ak as j } from "./form-VD2Og15y.js";
4
+ import { ai as p, af as b, ak as j } from "./form-C6WwBcGP.js";
5
5
  import { f as d, a as z } from "./find-child-C60k4CxG.js";
6
- import { D as G, E as H } from "./field-error-headless-BAVGL8JO.js";
7
- import { L as J } from "./field-label-headless-CwSCKtI1.js";
6
+ import { D as G, E as H } from "./field-error-headless-DQZ5XAdn.js";
7
+ import { L as J } from "./field-label-headless-DoxfHHaj.js";
8
8
  import { S as K, N as Q } from "./non-modal-popover-DtIMXHbe.js";
9
9
  const n = ({ children: t }) => {
10
10
  const { id: o, value: r, defaultValue: l, options: a = [], readOnly: s, onChange: u, placeholder: m, disabled: i, required: v, onBlur: O, onFocus: y, FieldLayout: F, hasError: C } = p(), [D, L] = E(!1), [h, I] = E(null), B = r && a.some((c) => (c.value ?? c.label) === r) ? r : l || null, { labelId: N } = b(), P = g((c) => {
@@ -1,12 +1,12 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { D as o } from "./dropdown-field-headless-CiK1C6eu.js";
4
+ import { D as o } from "./dropdown-field-headless-CTZ-zGqZ.js";
5
5
  import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as l } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as c } from "./custom-focus-class-_483Pkwp.js";
8
8
  import { s as r } from "./field-rac.module-Cac83bU5.js";
9
- import { z as E, P as i, y as p, C as _, q as S, j as R } from "./form-element-classes-BSMjWijd.js";
9
+ import { z as E, R as i, y as p, C as _, q as R, j as S } from "./form-element-classes-DDKCTFQj.js";
10
10
  const D = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
11
11
  content: a,
12
12
  locale: s
@@ -23,9 +23,9 @@ const D = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
23
23
  }, /* @__PURE__ */ e.createElement(o.Options.Option, {
24
24
  className: t(r.selectOption, c)
25
25
  })), /* @__PURE__ */ e.createElement(o.Error, {
26
- className: t(S, r.error)
26
+ className: t(R, r.error)
27
27
  }, /* @__PURE__ */ e.createElement(l, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
28
- className: t(R, r.description)
28
+ className: t(S, r.description)
29
29
  }, D));
30
30
  export {
31
31
  u as D
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-ByUgK0Dh.js";
2
+ import { D as r } from "./dropdown-field-rac-C1KVtxwv.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DropdownRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as r } from "./multiline-address-field-rac-3wB7fWdZ.js";
2
+ import { M as r } from "./multiline-address-field-rac-Biyj2tIN.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,7 +1,7 @@
1
1
  import o, { useMemo as a } from "react";
2
- import { ai as n, as as c, h as i } from "./form-VD2Og15y.js";
3
- import { C } from "./checkbox-field-rac-YmbfJMcm.js";
4
- import { o as l, p, n as m } from "./form-element-classes-BSMjWijd.js";
2
+ import { ai as n, as as c, h as i } from "./form-C6WwBcGP.js";
3
+ import { C } from "./checkbox-field-rac-BH3yEE5j.js";
4
+ import { o as l, p, n as m } from "./form-element-classes-DDKCTFQj.js";
5
5
  const _ = (e) => ({
6
6
  nodes: [
7
7
  {
@@ -2,18 +2,18 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
3
  import u, { createContext as Q, useContext as Z, createElement as H, isValidElement as U, cloneElement as R, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { af as fe, as as ge, ad as ve, c as ye, ai as Ee, am as de, ag as be, f as Se } from "./form-VD2Og15y.js";
5
+ import { af as fe, as as ge, ad as ve, c as ye, ai as Ee, am as de, ag as be, f as Se } from "./form-C6WwBcGP.js";
6
6
  import { f as L } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
- import P from "@babel/runtime/helpers/typeof";
8
+ import M from "@babel/runtime/helpers/typeof";
9
9
  import Oe from "@babel/runtime/helpers/defineProperty";
10
10
  import he from "html-parse-stringify";
11
11
  import Ie from "@babel/runtime/helpers/classCallCheck";
12
12
  import Ne from "@babel/runtime/helpers/createClass";
13
- import { T as B } from "./text-input-headless-C1m6gpFi.js";
13
+ import { T as B } from "./text-input-headless-BQ3TWU9G.js";
14
14
  import { E as Ae } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as C } from "./field-rac.module-Cac83bU5.js";
16
- import { z as Fe, P as ke, y as Te, q as De, j as je, Z as xe } from "./form-element-classes-BSMjWijd.js";
16
+ import { z as Fe, R as ke, y as Te, q as De, j as je, $ as xe } from "./form-element-classes-DDKCTFQj.js";
17
17
  var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ce = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -35,10 +35,10 @@ var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
35
35
  "…": "…",
36
36
  "/": "/",
37
37
  "/": "/"
38
- }, Pe = function(t) {
39
- return Ce[t];
40
38
  }, Me = function(t) {
41
- return t.replace(Le, Pe);
39
+ return Ce[t];
40
+ }, Pe = function(t) {
41
+ return t.replace(Le, Me);
42
42
  }, _e = {
43
43
  bindI18n: "languageChanged",
44
44
  bindI18nStore: "",
@@ -47,7 +47,7 @@ var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
47
47
  transWrapTextNodes: "",
48
48
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
49
49
  useSuspense: !0,
50
- unescape: Me
50
+ unescape: Pe
51
51
  }, we, Re = Q();
52
52
  function He() {
53
53
  return _e;
@@ -114,7 +114,7 @@ function Y(e, t) {
114
114
  var a = e.props ? e.props.children : e.children;
115
115
  return t ? a.length > 0 : !!a;
116
116
  }
117
- function G(e) {
117
+ function $(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
120
  function Ve(e) {
@@ -122,7 +122,7 @@ function Ve(e) {
122
122
  return U(t);
123
123
  });
124
124
  }
125
- function M(e) {
125
+ function P(e) {
126
126
  return Array.isArray(e) ? e : [e];
127
127
  }
128
128
  function Ye(e, t) {
@@ -131,7 +131,7 @@ function Ye(e, t) {
131
131
  }
132
132
  function te(e, t) {
133
133
  if (!e) return "";
134
- var a = "", o = M(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
134
+ var a = "", o = P(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
135
135
  return o.forEach(function(r, g) {
136
136
  if (typeof r == "string")
137
137
  a += "".concat(r);
@@ -151,7 +151,7 @@ function te(e, t) {
151
151
  }
152
152
  } else if (r === null)
153
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
154
- else if (P(r) === "object") {
154
+ else if (M(r) === "object") {
155
155
  var O = r.format, F = ee(r, Be), A = Object.keys(F);
156
156
  if (A.length === 1) {
157
157
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
@@ -162,21 +162,21 @@ function te(e, t) {
162
162
  K("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", r);
163
163
  }), a;
164
164
  }
165
- function Ge(e, t, a, o, c, r) {
165
+ function $e(e, t, a, o, c, r) {
166
166
  if (t === "") return [];
167
167
  var g = o.transKeepBasicHtmlNodesFor || [], v = t && new RegExp(g.join("|")).test(t);
168
168
  if (!e && !v) return [t];
169
169
  var d = {};
170
170
  function b(y) {
171
- var h = M(y);
171
+ var h = P(y);
172
172
  h.forEach(function(s) {
173
- typeof s != "string" && (Y(s) ? b(G(s)) : P(s) === "object" && !U(s) && Object.assign(d, s));
173
+ typeof s != "string" && (Y(s) ? b($(s)) : M(s) === "object" && !U(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
177
  var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
- var i = G(y), I = S(i, h.children, s);
179
+ var i = $(y), I = S(i, h.children, s);
180
180
  return Ve(i) && I.length === 0 ? i : I;
181
181
  }
182
182
  function A(y, h, s, i, I) {
@@ -185,7 +185,7 @@ function Ge(e, t, a, o, c, r) {
185
185
  }), I ? void 0 : h));
186
186
  }
187
187
  function S(y, h, s) {
188
- var i = M(y), I = M(h);
188
+ var i = P(y), I = P(h);
189
189
  return I.reduce(function(l, n, E) {
190
190
  var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
191
191
  if (n.type === "tag") {
@@ -193,7 +193,7 @@ function Ge(e, t, a, o, c, r) {
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
194
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
195
195
  props: n.attrs
196
- }, N) : N, D = U(m), q = D && Y(n, !0) && !n.voidElement, _ = v && P(m) === "object" && m.dummy && !D, w = P(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, D = U(m), q = D && Y(n, !0) && !n.voidElement, _ = v && M(m) === "object" && m.dummy && !D, w = M(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
197
  if (typeof m == "string") {
198
198
  var V = a.services.interpolator.interpolate(m, O, a.language);
199
199
  l.push(V);
@@ -226,9 +226,9 @@ function Ge(e, t, a, o, c, r) {
226
226
  var ce = S(i, n.children, s);
227
227
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
228
228
  }
229
- else if (P(m) === "object" && !D) {
230
- var $ = n.children[0] ? k : null;
231
- $ && l.push($);
229
+ else if (M(m) === "object" && !D) {
230
+ var G = n.children[0] ? k : null;
231
+ G && l.push(G);
232
232
  } else n.children.length === 1 && k ? l.push(R(m, p(p({}, m.props), {}, {
233
233
  key: E
234
234
  }), k)) : l.push(R(m, p(p({}, m.props), {}, {
@@ -246,10 +246,10 @@ function Ge(e, t, a, o, c, r) {
246
246
  var x = S([{
247
247
  dummy: !0,
248
248
  children: e || []
249
- }], T, M(e || []));
250
- return G(x[0]);
249
+ }], T, P(e || []));
250
+ return $(x[0]);
251
251
  }
252
- function $e(e) {
252
+ function Ge(e) {
253
253
  var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, x = ee(e, qe), y = Z(Re) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
254
254
  if (!i)
255
255
  return Ue("You will need to pass in an i18next instance by using i18nextReactModule"), t;
@@ -269,7 +269,7 @@ function $e(e) {
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), q = N ? I(N, D) : E, _ = Ge(T || t, q, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
272
+ }), q = N ? I(N, D) : E, _ = $e(T || t, q, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
273
273
  return w ? H(w, x, _) : _;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Q(void 0);
@@ -291,7 +291,7 @@ const Je = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
291
291
  "data-hook": We,
292
292
  "aria-live": "polite",
293
293
  className: e
294
- }, a ? /* @__PURE__ */ u.createElement($e, {
294
+ }, a ? /* @__PURE__ */ u.createElement(Ge, {
295
295
  i18n: r,
296
296
  t: c,
297
297
  i18nKey: "input.email.mistype-check.suggestion",
@@ -1,13 +1,13 @@
1
1
  import t, { useState as z, useMemo as B, useCallback as V, useRef as M } from "react";
2
2
  import v from "classnames";
3
3
  import { NumberField as q, Input as J, CheckboxField as Q, CheckboxButton as W, Button as w } from "react-aria-components";
4
- import { ao as P, ap as U, ae as j, aj as H, u as Y, ai as D, af as K, ak as X, j as Z } from "./form-VD2Og15y.js";
4
+ import { ao as P, ap as U, ae as j, aj as H, u as Y, ai as D, af as K, ak as X, j as Z } from "./form-C6WwBcGP.js";
5
5
  import { f as F, a as R } from "./find-child-C60k4CxG.js";
6
- import { L as ee } from "./field-label-headless-CwSCKtI1.js";
6
+ import { L as ee } from "./field-label-headless-DoxfHHaj.js";
7
7
  import { u as te } from "./use-invoke-callback-UH73A_J3.js";
8
8
  import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
9
9
  import { s as L } from "./field-rac.module-Cac83bU5.js";
10
- import { z as se, y as ne, r as oe, s as re, t as ae } from "./form-element-classes-BSMjWijd.js";
10
+ import { z as se, y as ne, r as oe, s as re, t as ae } from "./form-element-classes-DDKCTFQj.js";
11
11
  const le = [], ce = ({ id: e, fields: n, layout: l, value: r, onChange: s, errors: m = le, validation: c }) => {
12
12
  const [i, E] = z((r == null ? void 0 : r.length) || 0), a = B(() => r ?? [], [
13
13
  r
@@ -1,10 +1,10 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as c } from "@wix/ricos/viewer";
3
3
  import r from "classnames";
4
- import { R as a, s as o } from "./radio-group-field-rac.module-DxEUzWwB.js";
4
+ import { R as a, s as o } from "./radio-group-field-rac.module-WxU5zxvM.js";
5
5
  import { E as m } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s } from "./field-rac.module-Cac83bU5.js";
7
- import { z as i, P as E, Q as p, S as R, R as _, q as L, j as O } from "./form-element-classes-BSMjWijd.js";
7
+ import { z as i, R as E, S as p, U as R, T as _, q as L, j as O } from "./form-element-classes-DDKCTFQj.js";
8
8
  const e = ({ children: n }) => /* @__PURE__ */ t.createElement(a, null, n);
9
9
  e.Label = a.Label;
10
10
  e.Options = a.Options;
@@ -1,5 +1,5 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { ai as c, af as i, ab as f, T as x, U as h } from "./form-VD2Og15y.js";
2
+ import { ai as c, af as i, ab as f, T as x, U as h } from "./form-C6WwBcGP.js";
3
3
  const b = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
@@ -1,4 +1,4 @@
1
- import { ai as m, R as d, q as p, af as D, as as B } from "./form-VD2Og15y.js";
1
+ import { ai as m, R as d, q as p, af as D, as as B } from "./form-C6WwBcGP.js";
2
2
  import l from "react";
3
3
  import { f as L } from "./find-child-C60k4CxG.js";
4
4
  import { sdk as R } from "@wix/image-kit";