@wix/form-elements 1.134.0 → 1.136.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 (109) hide show
  1. package/dist/component/appointment-rac-DsD7xLmb.js +1010 -0
  2. package/dist/component/{bookings-address-rac-F39MfGmX.js → bookings-address-rac-ByaFu51U.js} +1 -1
  3. package/dist/component/{bookings-email-rac-D4CurQjr.js → bookings-email-rac-CxuvkcYw.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Bz9o1eLl.js → bookings-first-name-rac-JXLJa_7E.js} +1 -1
  5. package/dist/component/{bookings-header-rac-6mfX0WGf.js → bookings-header-rac-CIQTbf9d.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CD1-B7Ao.js → bookings-last-name-rac-_2Xt4BPe.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-2eQkfhBb.js → bookings-login-bar-rac-BUjys5i9.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-X6sSnHiH.js → bookings-phone-rac-DlsdGmOt.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-f2artJnn.js → bookings-rich-text-rac-BvRdhL7M.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DoZ9bcw3.js → checkbox-field-rac-Be6wicaA.js} +121 -121
  11. package/dist/component/{checkbox-group-field-headless-B-d37T4z.js → checkbox-group-field-headless-BJ0pGvXi.js} +19 -19
  12. package/dist/component/{checkbox-group-field-rac-0qYHz3g1.js → checkbox-group-field-rac-D7xqqVf6.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-BqUJdAju.js → checkbox-group-rac-DtCS-gEH.js} +1 -1
  14. package/dist/component/{checkbox-rac-BN-qNzpH.js → checkbox-rac-ub7MFwY-.js} +1 -1
  15. package/dist/component/{contacts-address-rac-B7vWOTFf.js → contacts-address-rac-Bwsdpg11.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-Dl0OatzW.js → contacts-birthdate-rac-D54hibhb.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DIeGU0Bf.js → contacts-company-rac-CKqzgKio.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BCH6ogWv.js → contacts-email-rac-Dxm31wuY.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Cx-USWmx.js → contacts-first-name-rac-CXHsx6Vy.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-CUZdJI9J.js → contacts-last-name-rac-B0S268f3.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-hNCW_2UC.js → contacts-phone-rac-DEbgIiEj.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CJfOgxZc.js → contacts-position-rac-D31uoOlR.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-69721_c9.js → contacts-subscribe-rac-DJ8NtoxZ.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CXXBqWIm.js → contacts-tax-id-rac-DTQffHAo.js} +1 -1
  25. package/dist/component/{date-availability-NQGPIrdZ.js → date-availability-DmhJ9apH.js} +1 -1
  26. package/dist/component/{date-input-field-rac-C-we-suG.js → date-input-field-rac-BwM_q4FW.js} +52 -52
  27. package/dist/component/{date-input-rac-Cif7Bqxc.js → date-input-rac-C93pgocp.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CHDkTXVH.js → date-picker-field-rac-CtZL368W.js} +5 -5
  29. package/dist/component/{date-picker-rac-DdhgbY6W.js → date-picker-rac-4DNe6hOX.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-BjtDbiqE.js → date-time-input-field-rac-MlCVy3Oz.js} +58 -58
  31. package/dist/component/{date-time-input-rac-BDP5SN-i.js → date-time-input-rac-ByyBvFgo.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-CkF41kIR.js → dext-checkbox-group-rac-BP76Xwiq.js} +4 -4
  33. package/dist/component/{dext-checkbox-rac-DjYpsxmq.js → dext-checkbox-rac-DGaKSh4Z.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BxXZLogr.js → dext-date-picker-rac-UEXbMSlL.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-e4y_JjEx.js → dext-date-time-input-rac-CsJcGK4I.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-DsjB3ZX7.js → dext-dropdown-rac-BzbRzloh.js} +1 -1
  37. package/dist/component/{dext-email-rac-ClPp1g4D.js → dext-email-rac-DufFAnTi.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-D2nZNzyN.js → dext-number-input-rac-D6xXi7B2.js} +1 -1
  39. package/dist/component/{dext-phone-rac-PNiQZ-Lr.js → dext-phone-rac-svy9CDHW.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DUltmMHM.js → dext-radio-group-rac-C4p9NuQS.js} +4 -4
  41. package/dist/component/{dext-rating-input-rac-C_apsfGT.js → dext-rating-input-rac-wJ7-RFFN.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DkB_CmOD.js → dext-tags-rac-D2myHrSZ.js} +4 -4
  43. package/dist/component/{dext-text-area-rac-CfoIK0S7.js → dext-text-area-rac-B4Fw_9mF.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CIOXlk6U.js → dext-text-input-rac-DlZanFMT.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-UHJAs3ck.js → dext-url-input-rac-DYjl3wuk.js} +1 -1
  46. package/dist/component/{donation-rac-BJfvVi_d.js → donation-rac-B6LwJxik.js} +72 -72
  47. package/dist/component/{dropdown-field-headless-0DB-T-3t.js → dropdown-field-headless-BAt2RoAH.js} +8 -8
  48. package/dist/component/{dropdown-field-rac-DB-pd2a8.js → dropdown-field-rac-DFjn3ecV.js} +7 -7
  49. package/dist/component/{dropdown-rac-4T4zRBVy.js → dropdown-rac-DQ6keNRI.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BjWD1sRX.js → ecom-address-rac-j1T2zp0k.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-CYCufut6.js → ecom-subscription-checkbox-rac-viTaRZsk.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DlLoY9jB.js → email-input-field-rac-5eb-1w7B.js} +46 -46
  53. package/dist/component/{events-repeater-rac-CPHJbWcZ.js → events-repeater-rac-BtcoN_Ra.js} +23 -23
  54. package/dist/component/{events-rsvp-rac-NXf8Fv3A.js → events-rsvp-rac-DSzFEmty.js} +10 -10
  55. package/dist/component/{field-error-headless-C-wyL0uw.js → field-error-headless-Bpe041x2.js} +6 -6
  56. package/dist/component/{field-label-headless-32mvEUId.js → field-label-headless-BUuK1Ftv.js} +7 -7
  57. package/dist/component/{file-upload-rac-BicD_Bhj.js → file-upload-rac-CfU8Ygwq.js} +50 -50
  58. package/dist/component/{fixed-payment-rac-DxHalHUv.js → fixed-payment-rac-CYp7zNq8.js} +12 -12
  59. package/dist/component/{form-B2wZnWX9.js → form-C6lnbh2O.js} +1948 -1896
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-C47Te_oW.js → header-field-rac-B7YfrhId.js} +4 -4
  63. package/dist/component/{header-rac-ChDYKTx5.js → header-rac-BtJKAKAz.js} +1 -1
  64. package/dist/component/{image-choice-rac-CqTBWpcY.js → image-choice-rac-Bmq7Pyg6.js} +32 -32
  65. package/dist/component/{index-BF_Aifc-.js → index-BjPSeVyh.js} +107 -107
  66. package/dist/component/{index-Br8x_xx8.js → index-CQdUOkIN.js} +5 -5
  67. package/dist/component/{isObjectLike-D4VXbd0T.js → isObjectLike-CxNqKfU5.js} +7 -7
  68. package/dist/component/{multiline-address-field-rac-DYcfzGJb.js → multiline-address-field-rac-BeiUJWKd.js} +115 -115
  69. package/dist/component/{multiline-address-rac-DcGDGyL-.js → multiline-address-rac-B2mocF6M.js} +1 -1
  70. package/dist/component/{number-input-field-rac-C_Fh8oeD.js → number-input-field-rac-CQX7_S2O.js} +24 -24
  71. package/dist/component/{number-input-rac-J2tCaAYx.js → number-input-rac-BZri-E8P.js} +1 -1
  72. package/dist/component/{password-rac-wlfBhft8.js → password-rac-CdwrtDJU.js} +50 -50
  73. package/dist/component/{payment-input-rac-DKxy3uE0.js → payment-input-rac-ClQiqmjm.js} +38 -38
  74. package/dist/component/{phone-input-field-rac-ClXUOLpB.js → phone-input-field-rac-BtG_Rado.js} +56 -56
  75. package/dist/component/{phone-rac-D0-Poz1e.js → phone-rac-CdcAMa5E.js} +1 -1
  76. package/dist/component/{product-list-rac-TF5fgLyc.js → product-list-rac-Dp_YK6mo.js} +61 -61
  77. package/dist/component/{quiz-radio-group-rac-BX4V_6wg.js → quiz-radio-group-rac-CorojxKD.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-D8UpzVUK.js → radio-button-module-classes-ZX12Fyj4.js} +3 -3
  79. package/dist/component/{radio-group-field-rac-C0zCVtjj.js → radio-group-field-rac-BifCDpE4.js} +10 -10
  80. package/dist/component/{radio-group-rac-DrKqgPRT.js → radio-group-rac-CJ2fzqnY.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-DjxfTgv5.js → rating-input-field-rac-Dg1T0DZW.js} +28 -28
  82. package/dist/component/{rating-input-rac-DO4Bpdj3.js → rating-input-rac-Ba4YK13i.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-DUNKiTkT.js → rich-content-rac.module-BehwBL3L.js} +3 -3
  84. package/dist/component/{rich-text-field-rac-DIOTzVwj.js → rich-text-field-rac-DtIWdB-S.js} +7 -7
  85. package/dist/component/{rich-text-rac-C_E_vEGz.js → rich-text-rac-BX4eDDFw.js} +1 -1
  86. package/dist/component/service-dropdown-rac-68WLBlsa.js +146 -0
  87. package/dist/component/{services-multi-choice-rac-D40hZhBB.js → services-multi-choice-rac-8yNdAHfS.js} +7 -7
  88. package/dist/component/{signature-rac-CKXpb2WN.js → signature-rac-DeVOyl5O.js} +73 -73
  89. package/dist/component/{submit-button-rac-CDS-vtXq.js → submit-button-rac-IOr1g-G-.js} +12 -12
  90. package/dist/component/{tags-field-rac-CdQWq8k5.js → tags-field-rac-DaiMlAxt.js} +27 -27
  91. package/dist/component/{tags-rac-BwChqdGx.js → tags-rac-BgrUkY0A.js} +1 -1
  92. package/dist/component/{text-area-field-rac-VCFJuHx4.js → text-area-field-rac-CLPZEY93.js} +16 -16
  93. package/dist/component/{text-area-rac-BICVNsdn.js → text-area-rac-C8PdPSzX.js} +1 -1
  94. package/dist/component/{text-input-field-rac-C9gyRhcK.js → text-input-field-rac-Dm-xU8Rg.js} +5 -5
  95. package/dist/component/{text-input-headless-BdkaD-re.js → text-input-headless-BEmRjL8Z.js} +6 -6
  96. package/dist/component/{text-input-rac-B7buOGbq.js → text-input-rac-C-FnaOXT.js} +1 -1
  97. package/dist/component/{time-input-rac-CSFhEYi0.js → time-input-rac-VmTURkiK.js} +46 -46
  98. package/dist/component/{url-input-field-rac-BIXokgHy.js → url-input-field-rac-CnnS0tVx.js} +23 -23
  99. package/dist/component/{url-input-rac-tTN0GaTH.js → url-input-rac-6nd_ccoP.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-C6zB6TNA.js → use-dropdown-option-class-name-CcZl1qrj.js} +2 -2
  101. package/dist/component/{use-dropdown-trigger-class-name-CEq68SuK.js → use-dropdown-trigger-class-name-BNc0mkdK.js} +4 -4
  102. package/dist/component/{use-element-state-class-name-BFZzVwqe.js → use-element-state-class-name-BU6RXqBy.js} +1 -1
  103. package/dist/component/{use-hoverable-input-class-name-CzZmczhf.js → use-hoverable-input-class-name-CkXPkbiP.js} +2 -2
  104. package/dist/component/{use-service-options-base-DOCVW9ax.js → use-service-options-base-B5afDbnr.js} +4 -4
  105. package/dist/component/use-text-input-class-name-BB3V6Q0b.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/appointment-rac-CZHb5jGz.js +0 -1010
  108. package/dist/component/service-dropdown-rac-B3gQT9Tj.js +0 -146
  109. package/dist/component/use-text-input-class-name-BNX3qkmh.js +0 -6
@@ -1,21 +1,21 @@
1
1
  import n, { useMemo as M, useCallback as F, useRef as oe } from "react";
2
2
  import { RicosViewer as re } from "@wix/ricos/viewer";
3
3
  import D from "classnames";
4
- import { RadioGroup as se, RadioField as G, RadioButton as Y, TextField as ae, Group as le, Input as ie } from "react-aria-components";
4
+ import { RadioGroup as se, RadioField as V, RadioButton as Y, TextField as ae, Group as le, Input as ie } from "react-aria-components";
5
5
  import { debounce as ce } from "ts-debounce";
6
- import { ax as j, bh as L, be as B, br as ue, b9 as z, bj as me, I as pe, U as de, q as Ie, v as Ce, p as Ee, r as fe } from "./form-B2wZnWX9.js";
6
+ import { az as j, bj as L, bg as B, bt as ue, bb as z, bl as me, M as pe, Y as de, v as Ie, G as Ce, u as Ee, w as fe } from "./form-C6lnbh2O.js";
7
7
  import { f, a as y } from "./find-child-C60k4CxG.js";
8
8
  import { a as Q } from "./format-currency-BwShJ9vM.js";
9
- import { D as he, E as Oe } from "./field-error-headless-C-wyL0uw.js";
10
- import { L as _e } from "./field-label-headless-32mvEUId.js";
11
- import { a as be, b as ye } from "./numeric-input-utils-CuBMi4-a.js";
12
- import { g as Ne } from "./payment-field-utils-DobiK5Xh.js";
13
- import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
9
+ import { D as he, E as Oe } from "./field-error-headless-Bpe041x2.js";
10
+ import { L as be } from "./field-label-headless-BUuK1Ftv.js";
11
+ import { a as _e, b as ye } from "./numeric-input-utils-CuBMi4-a.js";
12
+ import { g as ge } from "./payment-field-utils-DobiK5Xh.js";
13
+ import { u as Ne } from "./use-synced-display-value-DcAxdn3M.js";
14
14
  import { E as Fe } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as v } from "./field-rac.module-DfEb7pBp.js";
16
16
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as ve } from "./use-element-state-class-name-BFZzVwqe.js";
18
- import { u as Se } from "./use-text-input-class-name-BNX3qkmh.js";
17
+ import { u as ve } from "./use-element-state-class-name-BU6RXqBy.js";
18
+ import { u as Se } from "./use-text-input-class-name-BB3V6Q0b.js";
19
19
  function Re(e, t) {
20
20
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
21
21
  }
@@ -35,10 +35,10 @@ function W(e, t) {
35
35
  quantity: 1
36
36
  };
37
37
  }
38
- function xe(e) {
38
+ function Pe(e) {
39
39
  return e.find((t) => t.priceType === j.DYNAMIC_PRICE);
40
40
  }
41
- function Pe(e, t) {
41
+ function xe(e, t) {
42
42
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
43
43
  }
44
44
  function Me(e, t, o) {
@@ -48,71 +48,71 @@ function Me(e, t, o) {
48
48
  ] : [];
49
49
  }
50
50
  const s = ({ children: e }) => {
51
- const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: b } = L(), { labelId: O } = B(), { t: C } = ue(), { currency: A, regionalFormat: N } = z(), d = o == null ? void 0 : o[0], g = M(() => {
52
- var E, P;
53
- return ((P = (E = i == null ? void 0 : i.predefined) == null ? void 0 : E.paymentOptions) == null ? void 0 : P.products) || [];
51
+ const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: _ } = L(), { labelId: O } = B(), { t: C } = ue(), { currency: A, regionalFormat: g } = z(), d = o == null ? void 0 : o[0], N = M(() => {
52
+ var E, x;
53
+ return ((x = (E = i == null ? void 0 : i.predefined) == null ? void 0 : E.paymentOptions) == null ? void 0 : x.products) || [];
54
54
  }, [
55
55
  i
56
- ]), T = M(() => Le(g), [
57
- g
58
- ]), l = M(() => p ? xe(g) : void 0, [
59
- g,
56
+ ]), T = M(() => Le(N), [
57
+ N
58
+ ]), l = M(() => p ? Pe(N) : void 0, [
59
+ N,
60
60
  p
61
- ]), J = Pe(d, l), [q, x] = ge({
61
+ ]), J = xe(d, l), [w, P] = Ne({
62
62
  sourceValue: J,
63
- format: (E) => ye(String(E ?? ""), N),
64
- regionalFormat: N
65
- }), w = F((E) => {
66
- r(Me(E, d, T)), x("");
63
+ format: (E) => ye(String(E ?? ""), g),
64
+ regionalFormat: g
65
+ }), q = F((E) => {
66
+ r(Me(E, d, T)), P("");
67
67
  }, [
68
68
  r,
69
69
  T,
70
70
  d,
71
- x
72
- ]), k = F((E) => {
71
+ P
72
+ ]), U = F((E) => {
73
73
  l && r(typeof E == "number" ? [
74
74
  W(l, String(E))
75
75
  ] : []);
76
76
  }, [
77
77
  r,
78
78
  l
79
- ]), $ = M(() => ce(k, 500), [
80
- k
79
+ ]), $ = M(() => ce(U, 500), [
80
+ U
81
81
  ]), K = F((E) => {
82
82
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
83
- const { validInput: P, validNumber: ne } = be(E.target.value, Ae, q, N);
84
- x(P), $(ne);
83
+ const { validInput: x, validNumber: ne } = _e(E.target.value, Ae, w, g);
84
+ P(x), $(ne);
85
85
  }, [
86
- N,
86
+ g,
87
87
  r,
88
88
  d,
89
89
  l,
90
- q,
90
+ w,
91
91
  $,
92
- x
92
+ P
93
93
  ]), H = (d == null ? void 0 : d.productId) || null, X = F(() => {
94
- l != null && l.id && H !== l.id && w(l.id);
94
+ l != null && l.id && H !== l.id && q(l.id);
95
95
  }, [
96
96
  l == null ? void 0 : l.id,
97
97
  H,
98
- w
99
- ]), Z = f(e, s.Label), V = f(e, s.Control), ee = f(e, s.Description), te = f(e, s.Error);
98
+ q
99
+ ]), Z = f(e, s.Label), G = f(e, s.Control), ee = f(e, s.Description), te = f(e, s.Error);
100
100
  return /* @__PURE__ */ n.createElement(h, {
101
101
  fieldId: t,
102
102
  renderLabel: () => Z,
103
103
  renderInput: () => /* @__PURE__ */ n.createElement(se, {
104
104
  "aria-labelledby": O,
105
105
  value: H,
106
- onChange: w,
106
+ onChange: q,
107
107
  isDisabled: a,
108
- isInvalid: b,
108
+ isInvalid: _,
109
109
  isRequired: u,
110
110
  onBlur: m,
111
111
  onFocus: I
112
- }, V ? y(V, {
112
+ }, G ? y(G, {
113
113
  productsById: T,
114
114
  addOther: p,
115
- customAmount: q,
115
+ customAmount: w,
116
116
  onCustomAmountInputChange: K,
117
117
  currency: A,
118
118
  t: C,
@@ -123,13 +123,13 @@ const s = ({ children: e }) => {
123
123
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, te, ee)
124
124
  });
125
125
  }, Be = ({ children: e, className: t, ...o }) => {
126
- const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: b } = L(), O = f(e, s.Options), C = f(e, s.OtherInput);
126
+ const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: _ } = L(), O = f(e, s.Options), C = f(e, s.OtherInput);
127
127
  return /* @__PURE__ */ n.createElement("div", {
128
128
  className: t,
129
- "data-invalid": b
129
+ "data-invalid": _
130
130
  }, O ? y(O, {
131
131
  productsById: r
132
- }) : null, a && c && /* @__PURE__ */ n.createElement(G, {
132
+ }) : null, a && c && /* @__PURE__ */ n.createElement(V, {
133
133
  value: c,
134
134
  style: {
135
135
  position: "absolute",
@@ -153,8 +153,8 @@ const s = ({ children: e }) => {
153
153
  customAmountProductId: c,
154
154
  onFocusCustomInput: h
155
155
  }) : null);
156
- }, U = ({ children: e, className: t, ...o }) => {
157
- const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = f(e, U.Option);
156
+ }, k = ({ children: e, className: t, ...o }) => {
157
+ const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = f(e, k.Option);
158
158
  return /* @__PURE__ */ n.createElement("div", {
159
159
  className: t,
160
160
  "data-columns": u
@@ -177,15 +177,15 @@ const s = ({ children: e }) => {
177
177
  var O, C;
178
178
  (C = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || C.focus();
179
179
  }, u);
180
- const b = i ? y(i, {
180
+ const _ = i ? y(i, {
181
181
  price: a
182
182
  }) : null;
183
- return /* @__PURE__ */ n.createElement(G, {
183
+ return /* @__PURE__ */ n.createElement(V, {
184
184
  value: r
185
185
  }, /* @__PURE__ */ n.createElement(Y, {
186
186
  className: t,
187
187
  ref: h
188
- }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, b, !c && p)));
188
+ }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, _, !c && p)));
189
189
  }, ze = ({ className: e, ...t }) => {
190
190
  const { price: o } = t, { currency: r, regionalFormat: a } = z(), { value: u } = Q({
191
191
  amount: o,
@@ -195,19 +195,19 @@ const s = ({ children: e }) => {
195
195
  return /* @__PURE__ */ n.createElement("span", {
196
196
  className: e
197
197
  }, u);
198
- }, qe = ({ className: e }) => {
198
+ }, we = ({ className: e }) => {
199
199
  const { currency: t } = z();
200
200
  return /* @__PURE__ */ n.createElement("span", {
201
201
  className: e
202
202
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
203
203
  };
204
204
  S.Value = ze;
205
- S.Currency = qe;
205
+ S.Currency = we;
206
206
  const R = ({ children: e, className: t, ...o }) => {
207
- const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: b, prefixId: O } = B(), C = f(e, R.Currency), A = f(e, R.Value), N = F((g) => {
207
+ const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: _, prefixId: O } = B(), C = f(e, R.Currency), A = f(e, R.Value), g = F((N) => {
208
208
  a({
209
209
  target: {
210
- value: g
210
+ value: N
211
211
  }
212
212
  });
213
213
  }, [
@@ -218,9 +218,9 @@ const R = ({ children: e, className: t, ...o }) => {
218
218
  p
219
219
  ]);
220
220
  return /* @__PURE__ */ n.createElement(ae, {
221
- "aria-labelledby": `${b} ${O}`,
221
+ "aria-labelledby": `${_} ${O}`,
222
222
  value: r,
223
- onChange: N,
223
+ onChange: g,
224
224
  onFocus: d,
225
225
  isDisabled: c,
226
226
  isInvalid: h
@@ -235,12 +235,12 @@ const R = ({ children: e, className: t, ...o }) => {
235
235
  placeholder: I,
236
236
  customAmountProductId: i
237
237
  }) : null));
238
- }, we = ({ className: e, ...t }) => {
238
+ }, qe = ({ className: e, ...t }) => {
239
239
  const { currency: o, t: r } = t, { prefixId: a } = B();
240
240
  return /* @__PURE__ */ n.createElement("span", {
241
241
  id: a,
242
242
  "aria-hidden": !1,
243
- "aria-label": Ne(r, o),
243
+ "aria-label": ge(r, o),
244
244
  className: e
245
245
  }, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
246
246
  }, He = ({ className: e, ...t }) => {
@@ -255,21 +255,21 @@ const R = ({ children: e, className: t, ...o }) => {
255
255
  className: e
256
256
  });
257
257
  };
258
- R.Currency = we;
258
+ R.Currency = qe;
259
259
  R.Value = He;
260
- U.Option = S;
261
- s.Label = _e;
260
+ k.Option = S;
261
+ s.Label = be;
262
262
  s.Control = Be;
263
- s.Options = U;
263
+ s.Options = k;
264
264
  s.OtherInput = R;
265
265
  s.Description = he;
266
266
  s.Error = Oe;
267
- const Ue = "_control_1ulzi_1", ke = "_options_1ulzi_7", $e = "_option_1ulzi_7", Ve = "_optionHover_1ulzi_40", Ge = "_optionSelected_1ulzi_40", Ye = "_optionCurrency_1ulzi_90", je = "_otherInput_1ulzi_94", Qe = "_otherInputCurrency_1ulzi_113", _ = {
268
- control: Ue,
269
- options: ke,
267
+ const ke = "_control_1ulzi_1", Ue = "_options_1ulzi_7", $e = "_option_1ulzi_7", Ge = "_optionHover_1ulzi_40", Ve = "_optionSelected_1ulzi_40", Ye = "_optionCurrency_1ulzi_90", je = "_otherInput_1ulzi_94", Qe = "_otherInputCurrency_1ulzi_113", b = {
268
+ control: ke,
269
+ options: Ue,
270
270
  option: $e,
271
- optionHover: Ve,
272
- optionSelected: Ge,
271
+ optionHover: Ge,
272
+ optionSelected: Ve,
273
273
  optionCurrency: Ye,
274
274
  otherInput: je,
275
275
  otherInputCurrency: Qe
@@ -277,11 +277,11 @@ const Ue = "_control_1ulzi_1", ke = "_options_1ulzi_7", $e = "_option_1ulzi_7",
277
277
  content: e,
278
278
  locale: t
279
279
  }), Je = {
280
- base: _.option,
281
- selected: _.optionSelected,
282
- hover: _.optionHover
280
+ base: b.option,
281
+ selected: b.optionSelected,
282
+ hover: b.optionHover
283
283
  }, Ke = () => {
284
- const e = Se(_.otherInput), t = ve({
284
+ const e = Se(b.otherInput), t = ve({
285
285
  globalClasses: fe,
286
286
  moduleClasses: Je
287
287
  });
@@ -290,17 +290,17 @@ const Ue = "_control_1ulzi_1", ke = "_options_1ulzi_7", $e = "_option_1ulzi_7",
290
290
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
291
291
  className: D(de, v.requiredMark)
292
292
  })), /* @__PURE__ */ n.createElement(s.Control, {
293
- className: _.control
293
+ className: b.control
294
294
  }, /* @__PURE__ */ n.createElement(s.Options, {
295
- className: D(Ie, De.options, _.options)
295
+ className: D(Ie, De.options, b.options)
296
296
  }, /* @__PURE__ */ n.createElement(s.Options.Option, {
297
297
  className: t
298
298
  }, /* @__PURE__ */ n.createElement(s.Options.Option.Value, null), /* @__PURE__ */ n.createElement(s.Options.Option.Currency, {
299
- className: _.optionCurrency
299
+ className: b.optionCurrency
300
300
  }))), /* @__PURE__ */ n.createElement(s.OtherInput, {
301
301
  className: e
302
302
  }, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
303
- className: _.otherInputCurrency
303
+ className: b.otherInputCurrency
304
304
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
305
305
  className: v.innerInput
306
306
  }))), /* @__PURE__ */ n.createElement(s.Error, {
@@ -1,20 +1,20 @@
1
1
  import e, { useState as b, useCallback as g, useRef as k } from "react";
2
2
  import { UNSAFE_PortalProvider as q } from "react-aria";
3
3
  import { Select as M, SelectValue as j, ListBoxItem as H } from "react-aria-components";
4
- import { bh as E, be as O, bj as U } from "./form-B2wZnWX9.js";
4
+ import { bj as E, bg as O, bl as U } from "./form-C6lnbh2O.js";
5
5
  import { f as d, a as F } from "./find-child-C60k4CxG.js";
6
- import { D as Y, E as z } from "./field-error-headless-C-wyL0uw.js";
7
- import { L as G } from "./field-label-headless-32mvEUId.js";
6
+ import { D as Y, E as z } from "./field-error-headless-Bpe041x2.js";
7
+ import { L as G } from "./field-label-headless-BUuK1Ftv.js";
8
8
  import { E as J, S as K, N as Q } from "./non-modal-popover-D-u13tmp.js";
9
- import { a as W } from "./use-dropdown-trigger-class-name-CEq68SuK.js";
10
- import { V as X } from "./use-dropdown-option-class-name-C6zB6TNA.js";
9
+ import { a as W } from "./use-dropdown-trigger-class-name-BNc0mkdK.js";
10
+ import { V as X } from "./use-dropdown-option-class-name-CcZl1qrj.js";
11
11
  const r = ({ children: n }) => {
12
- const { id: l, value: a, defaultValue: o, options: u = [], readOnly: s, onChange: t, placeholder: m, disabled: i, required: v, onBlur: L, onFocus: y, FieldLayout: C, hasError: D } = E(), [h, I] = b(!1), p = W(l), [P, S] = b(null), T = a && u.some((c) => (c.value ?? c.label) === a) ? a : o || null, { labelId: B } = O(), N = g((c) => {
12
+ const { id: l, value: a, defaultValue: o, options: u = [], readOnly: s, onChange: t, placeholder: m, disabled: i, required: v, onBlur: L, onFocus: y, FieldLayout: C, hasError: D } = E(), [I, h] = b(!1), p = W(l), [P, S] = b(null), T = a && u.some((c) => (c.value ?? c.label) === a) ? a : o || null, { labelId: B } = O(), N = g((c) => {
13
13
  s || t(typeof c == "string" ? c : null);
14
14
  }, [
15
15
  t,
16
16
  s
17
- ]), V = g((c) => I(c && !i && !s), [
17
+ ]), V = g((c) => h(c && !i && !s), [
18
18
  i,
19
19
  s
20
20
  ]), R = d(n, r.Label), x = d(n, r.Trigger), w = d(n, r.Options), A = d(n, r.Description), _ = d(n, r.Error);
@@ -31,7 +31,7 @@ const r = ({ children: n }) => {
31
31
  }, /* @__PURE__ */ e.createElement(M, {
32
32
  "aria-labelledby": B,
33
33
  value: T,
34
- isOpen: p || h && !i && !s,
34
+ isOpen: p || I && !i && !s,
35
35
  onOpenChange: p ? void 0 : V,
36
36
  onChange: N,
37
37
  isDisabled: i,
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { D as r } from "./dropdown-field-headless-0DB-T-3t.js";
4
+ import { D as r } from "./dropdown-field-headless-BAt2RoAH.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 o } from "./field-rac.module-DfEb7pBp.js";
9
- import { I as i, U as p, K as E, v as _, p as D } from "./form-B2wZnWX9.js";
10
- import { u as C } from "./use-dropdown-option-class-name-C6zB6TNA.js";
11
- import { u as O } from "./use-dropdown-trigger-class-name-CEq68SuK.js";
9
+ import { M as i, Y as p, O as E, G as _, u as D } from "./form-C6lnbh2O.js";
10
+ import { u as O } from "./use-dropdown-option-class-name-CcZl1qrj.js";
11
+ import { u as C } from "./use-dropdown-trigger-class-name-BNc0mkdK.js";
12
12
  const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
13
13
  content: t,
14
14
  locale: s
15
- }), T = () => {
16
- const t = O(o.dropdownTrigger), s = C(c);
15
+ }), M = () => {
16
+ const t = C(o.dropdownTrigger), s = O(c);
17
17
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
18
18
  className: a(i, o.label)
19
19
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
@@ -33,5 +33,5 @@ const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
33
33
  }, R));
34
34
  };
35
35
  export {
36
- T as D
36
+ M as D
37
37
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DB-pd2a8.js";
2
+ import { D as r } from "./dropdown-field-rac-DFjn3ecV.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-DYcfzGJb.js";
2
+ import { M as r } from "./multiline-address-field-rac-BeiUJWKd.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,6 +1,6 @@
1
1
  import o, { useMemo as n } from "react";
2
- import { bh as a, br as c, aj as i } from "./form-B2wZnWX9.js";
3
- import { C as l } from "./checkbox-field-rac-DoZ9bcw3.js";
2
+ import { bj as a, bt as c, al as i } from "./form-C6lnbh2O.js";
3
+ import { C as l } from "./checkbox-field-rac-Be6wicaA.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
- import j from "classnames";
3
- import u, { createContext as z, useContext as Z, createElement as R, isValidElement as U, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
2
+ import D from "classnames";
3
+ import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { be as fe, br as ge, bc as ve, d as ye, bh as Ee, bl as de, bf as be, ah as Se, I as Oe, U as he, v as Ie, p as Ne, a2 as Ae } from "./form-B2wZnWX9.js";
5
+ import { bg as fe, bt as ge, be as ve, d as ye, bj as Ee, bn as de, bh as be, aj as Se, M as Oe, Y as he, G as Ie, u as Ne, a5 as Ae } from "./form-C6lnbh2O.js";
6
6
  import { f as C } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import L from "@babel/runtime/helpers/typeof";
9
9
  import Fe from "@babel/runtime/helpers/defineProperty";
10
10
  import ke from "html-parse-stringify";
11
11
  import Te from "@babel/runtime/helpers/classCallCheck";
12
- import xe from "@babel/runtime/helpers/createClass";
13
- import { T as B } from "./text-input-headless-BdkaD-re.js";
14
- import { E as De } from "./error-icon-hZxQ6DEy.js";
12
+ import je from "@babel/runtime/helpers/createClass";
13
+ import { T as U } from "./text-input-headless-BEmRjL8Z.js";
14
+ import { E as xe } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as H } from "./field-rac.module-DfEb7pBp.js";
16
- import { u as je } from "./use-text-input-class-name-BNX3qkmh.js";
16
+ import { u as De } from "./use-text-input-class-name-BB3V6Q0b.js";
17
17
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -56,7 +56,7 @@ function Re() {
56
56
  function e() {
57
57
  Te(this, e), this.usedNamespaces = {};
58
58
  }
59
- return xe(e, [{
59
+ return je(e, [{
60
60
  key: "addUsedNamespaces",
61
61
  value: function(a) {
62
62
  var o = this;
@@ -82,12 +82,12 @@ function K() {
82
82
  }
83
83
  }
84
84
  var J = {};
85
- function Ue() {
85
+ function Be() {
86
86
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
87
87
  t[a] = arguments[a];
88
88
  typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
89
89
  }
90
- var Be = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
90
+ var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
91
  function Q(e, t) {
92
92
  var a = Object.keys(e);
93
93
  if (Object.getOwnPropertySymbols) {
@@ -109,7 +109,7 @@ function p(e) {
109
109
  }
110
110
  return e;
111
111
  }
112
- function Y(e, t) {
112
+ function q(e, t) {
113
113
  if (!e) return !1;
114
114
  var a = e.props ? e.props.children : e.children;
115
115
  return t ? a.length > 0 : !!a;
@@ -117,15 +117,15 @@ function Y(e, t) {
117
117
  function G(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
- function qe(e) {
120
+ function Ye(e) {
121
121
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
122
- return U(t);
122
+ return B(t);
123
123
  });
124
124
  }
125
125
  function M(e) {
126
126
  return Array.isArray(e) ? e : [e];
127
127
  }
128
- function Ye(e, t) {
128
+ function qe(e, t) {
129
129
  var a = p({}, t);
130
130
  return a.props = Object.assign(e.props, t.props), a;
131
131
  }
@@ -135,7 +135,7 @@ function te(e, t) {
135
135
  return o.forEach(function(r, g) {
136
136
  if (typeof r == "string")
137
137
  a += "".concat(r);
138
- else if (U(r)) {
138
+ else if (B(r)) {
139
139
  var v = Object.keys(r.props).length, d = c.indexOf(r.type) > -1, b = r.props.children;
140
140
  if (!b && d && v === 0)
141
141
  a += "<".concat(r.type, "/>");
@@ -152,7 +152,7 @@ function te(e, t) {
152
152
  } else if (r === null)
153
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
154
154
  else if (L(r) === "object") {
155
- var O = r.format, F = ee(r, Be), A = Object.keys(F);
155
+ var O = r.format, F = ee(r, Ue), A = Object.keys(F);
156
156
  if (A.length === 1) {
157
157
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
158
158
  a += "{{".concat(S, "}}");
@@ -170,14 +170,14 @@ function Ge(e, t, a, o, c, r) {
170
170
  function b(y) {
171
171
  var h = M(y);
172
172
  h.forEach(function(s) {
173
- typeof s != "string" && (Y(s) ? b(G(s)) : L(s) === "object" && !U(s) && Object.assign(d, s));
173
+ typeof s != "string" && (q(s) ? b(G(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
177
  var T = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
179
  var i = G(y), I = S(i, h.children, s);
180
- return qe(i) && I.length === 0 ? i : I;
180
+ return Ye(i) && I.length === 0 ? i : I;
181
181
  }
182
182
  function A(y, h, s, i, I) {
183
183
  y.dummy && (y.children = h), s.push(w(y, p(p({}, y.props), {}, {
@@ -191,13 +191,13 @@ function Ge(e, t, a, o, c, r) {
191
191
  if (n.type === "tag") {
192
192
  var N = i[parseInt(n.name, 10)];
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
- var m = Object.keys(n.attrs).length !== 0 ? Ye({
194
+ var m = Object.keys(n.attrs).length !== 0 ? qe({
195
195
  props: n.attrs
196
- }, N) : N, x = U(m), V = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, j = B(m), V = j && q(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !j, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
197
  if (typeof m == "string") {
198
- var q = a.services.interpolator.interpolate(m, O, a.language);
199
- l.push(q);
200
- } else if (Y(m) || V) {
198
+ var Y = a.services.interpolator.interpolate(m, O, a.language);
199
+ l.push(Y);
200
+ } else if (q(m) || V) {
201
201
  var ne = F(m, n, s);
202
202
  A(m, ne, l, E);
203
203
  } else if (P) {
@@ -226,7 +226,7 @@ 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 (L(m) === "object" && !x) {
229
+ else if (L(m) === "object" && !j) {
230
230
  var $ = n.children[0] ? k : null;
231
231
  $ && l.push($);
232
232
  } else n.children.length === 1 && k ? l.push(w(m, p(p({}, m.props), {}, {
@@ -243,18 +243,18 @@ function Ge(e, t, a, o, c, r) {
243
243
  return l;
244
244
  }, []);
245
245
  }
246
- var D = S([{
246
+ var x = S([{
247
247
  dummy: !0,
248
248
  children: e || []
249
249
  }], T, M(e || []));
250
- return G(D[0]);
250
+ return G(x[0]);
251
251
  }
252
252
  function $e(e) {
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, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
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, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
254
254
  if (!i)
255
- return Ue("You will need to pass in an i18next instance by using i18nextReactModule"), t;
256
- var I = A || i.t.bind(i) || function(q) {
257
- return q;
255
+ return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
256
+ var I = A || i.t.bind(i) || function(Y) {
257
+ return Y;
258
258
  };
259
259
  r && (v.context = r);
260
260
  var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
@@ -264,13 +264,13 @@ function $e(e) {
264
264
  prefix: "#$?",
265
265
  suffix: "?$#"
266
266
  })
267
- }, x = p(p(p(p({}, v), {}, {
267
+ }, j = p(p(p(p({}, v), {}, {
268
268
  count: a
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
- return _ ? R(_, D, P) : P;
272
+ }), V = N ? I(N, j) : E, P = Ge(T || t, V, i, l, j, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
+ return _ ? R(_, x, P) : P;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
276
276
  function Je() {
@@ -449,13 +449,13 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
449
449
  validate: v
450
450
  };
451
451
  }, f = ({ children: e }) => {
452
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: D } = at({
452
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: x } = at({
453
453
  email: a,
454
454
  hasError: v
455
455
  }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
456
456
  o(s), y(t);
457
457
  }, l = () => {
458
- D(), d == null || d();
458
+ x(), d == null || d();
459
459
  }, n = C(e, f.Label), E = C(e, f.Input), k = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
460
460
  return /* @__PURE__ */ u.createElement(Se.Provider, {
461
461
  value: i
@@ -479,10 +479,10 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
479
479
  renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, k)
480
480
  })));
481
481
  };
482
- f.Label = B.Label;
483
- f.Input = B.Input;
484
- f.Description = B.Description;
485
- f.Error = B.Error;
482
+ f.Label = U.Label;
483
+ f.Input = U.Input;
484
+ f.Description = U.Description;
485
+ f.Error = U.Error;
486
486
  f.Suggestion = ze;
487
487
  const nt = "_suggestion_lysve_1", ot = {
488
488
  suggestion: nt
@@ -490,19 +490,19 @@ const nt = "_suggestion_lysve_1", ot = {
490
490
  content: e,
491
491
  locale: t
492
492
  }), ht = () => {
493
- const e = je();
493
+ const e = De();
494
494
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
495
- className: j(Oe, H.label)
495
+ className: D(Oe, H.label)
496
496
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
497
- className: j(he, H.requiredMark)
497
+ className: D(he, H.requiredMark)
498
498
  })), /* @__PURE__ */ u.createElement(f.Input, {
499
499
  className: e
500
500
  }), /* @__PURE__ */ u.createElement(f.Error, {
501
- className: j(Ie, H.error)
502
- }, /* @__PURE__ */ u.createElement(De, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
503
- className: j(Ne, H.description)
501
+ className: D(Ie, H.error)
502
+ }, /* @__PURE__ */ u.createElement(xe, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
503
+ className: D(Ne, H.description)
504
504
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
505
- className: j(Ae, ot.suggestion)
505
+ className: D(Ae, ot.suggestion)
506
506
  }));
507
507
  };
508
508
  export {