@wix/form-elements 1.196.0 → 1.198.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-CfPuDfzm.js → appointment-rac--5tuGXIW.js} +4 -4
  2. package/dist/component/{bookings-address-rac-Cr0ykN65.js → bookings-address-rac-19mTtkqj.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BeyDjaay.js → bookings-email-rac-NT5YFdjR.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CkXurmWm.js → bookings-first-name-rac-qowwpiHk.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BtsC8jZl.js → bookings-header-rac-C38Abx9u.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-ertZx_DF.js → bookings-last-name-rac-x9B9SJV4.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-NjeMmlHa.js → bookings-login-bar-rac-BVOCkNZk.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-CKkVhbg8.js → bookings-phone-rac-32qupmTM.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BKjPaXH_.js → bookings-rich-text-rac-DIFgJILa.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BulxEeNv.js → checkbox-field-rac-gz4ZznNg.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-CCyikbEd.js → checkbox-group-field-headless-Bx12a88s.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-Dt77N5jQ.js → checkbox-group-field-rac-D2_I-eXA.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Ebs85wS5.js → checkbox-group-rac--sxRkYkB.js} +1 -1
  14. package/dist/component/{checkbox-rac-C5-VW5zZ.js → checkbox-rac-B2nVFPS1.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CgCCVGq0.js → contacts-address-rac-CwlaDBE7.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DilaGXgY.js → contacts-birthdate-rac-EaHHZuIi.js} +1 -1
  17. package/dist/component/{contacts-company-rac-B3DBqj-d.js → contacts-company-rac-CdOHPrtn.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DRvDgVG8.js → contacts-email-rac-ugNLwGWF.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CvHYh-ht.js → contacts-first-name-rac-Bn3fYr-j.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Bgg6hAT4.js → contacts-last-name-rac-BatfxU4B.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-ad_Q4mXM.js → contacts-phone-rac-C_l9tO-r.js} +1 -1
  22. package/dist/component/{contacts-position-rac-DCWhOVIY.js → contacts-position-rac-BR1-OeQd.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-IomlLkfu.js → contacts-subscribe-rac-QIrgHZkx.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-DXd7y3tE.js → contacts-tax-id-rac-DVuNyvZr.js} +1 -1
  25. package/dist/component/{date-availability-Bux4gDUM.js → date-availability-CDkmGMar.js} +1 -1
  26. package/dist/component/{date-input-field-rac-LkRGaiF_.js → date-input-field-rac-DUfYus8P.js} +6 -6
  27. package/dist/component/{date-input-rac-oiD0-YmD.js → date-input-rac-t-Rcyc2p.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-DvSGPWtt.js → date-picker-field-rac-DiAzly9r.js} +6 -6
  29. package/dist/component/{date-picker-rac-C84sCAU4.js → date-picker-rac-WdXsH8PF.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-8g6bNJSO.js → date-time-input-field-rac-ikPrRbph.js} +6 -6
  31. package/dist/component/{date-time-input-rac-3GlJ8XI5.js → date-time-input-rac-2CA9hq8X.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-so55mL0Z.js → dext-checkbox-group-rac-B-YW3YCV.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-DkAnA6gt.js → dext-checkbox-rac-BJk-GyO0.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-ez55mQ9n.js → dext-date-picker-rac-DmDcuVSI.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Cpyr_d7y.js → dext-date-time-input-rac-4K5cyRcn.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-DOYUko3q.js → dext-dropdown-rac-lneYp4uV.js} +1 -1
  37. package/dist/component/{dext-email-rac-CvbUgVcg.js → dext-email-rac-D3G0XxZj.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DhV_5u36.js → dext-number-input-rac-CeEig5N_.js} +1 -1
  39. package/dist/component/{dext-phone-rac-C6YLDxrI.js → dext-phone-rac-zkazkunZ.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BDD9Rjzh.js → dext-radio-group-rac-6rxfWGK5.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-lFceopFt.js → dext-rating-input-rac-HnNDG6xk.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CdGMqBm5.js → dext-tags-rac-CP-656m_.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BPgKypQC.js → dext-text-area-rac-DFzPtBU5.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-k2khQGHG.js → dext-text-input-rac-Cuj6PtAe.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-FIlYdfC2.js → dext-url-input-rac-NVrNnmWw.js} +1 -1
  46. package/dist/component/{donation-rac-DPuf0bos.js → donation-rac-tAmo9d_B.js} +5 -5
  47. package/dist/component/{dropdown-field-rac-BFaemSPl.js → dropdown-field-rac-fNWdT_bl.js} +3 -3
  48. package/dist/component/{dropdown-rac-Bq_J1hxJ.js → dropdown-rac-V01ehQVE.js} +1 -1
  49. package/dist/component/{ecom-address-rac-BDmXNwAd.js → ecom-address-rac-CRcwWe5k.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-90PxN5yY.js → ecom-subscription-checkbox-rac-DBeSE4R5.js} +2 -2
  51. package/dist/component/{email-input-field-rac-B7BRz2Kj.js → email-input-field-rac-DLiA2TLR.js} +3 -3
  52. package/dist/component/{events-repeater-rac-BGBat8Nd.js → events-repeater-rac-Dnsgjb4U.js} +4 -4
  53. package/dist/component/{events-rsvp-rac-BW8ZXdmr.js → events-rsvp-rac-CDCzH1tI.js} +3 -3
  54. package/dist/component/{field-error-headless-CaO_cB31.js → field-error-headless-Dabua-FK.js} +1 -1
  55. package/dist/component/{field-label-headless-DUerAlvH.js → field-label-headless-CL2Naq5v.js} +1 -1
  56. package/dist/component/{file-upload-rac-C9xiTJT_.js → file-upload-rac-CjzcUDcm.js} +4 -4
  57. package/dist/component/{fixed-payment-rac-BR6uKC6C.js → fixed-payment-rac-CfkDiBTk.js} +3 -3
  58. package/dist/component/{form-D7zqJS-_.js → form-BSQiL_J5.js} +76 -77
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-BhIr6Lui.js → header-field-rac-CMQMefMO.js} +2 -2
  61. package/dist/component/{header-rac-CxKMloES.js → header-rac-BGK2bPn6.js} +1 -1
  62. package/dist/component/{image-choice-rac-B1zmi5XK.js → image-choice-rac-pL6fw2jn.js} +4 -4
  63. package/dist/component/{index-CkKxsl0q.js → index-DvrIHdKh.js} +4 -4
  64. package/dist/component/{index-BweqDmjQ.js → index-vqWKPQbf.js} +2 -2
  65. package/dist/component/{isObjectLike-Ct-pgjcd.js → isObjectLike-CIwMzPk8.js} +1 -1
  66. package/dist/component/{multiline-address-field-rac-ChRdNcav.js → multiline-address-field-rac-DusMkL5F.js} +7 -7
  67. package/dist/component/{multiline-address-rac-BTYmsl7J.js → multiline-address-rac-jXjdYqpO.js} +1 -1
  68. package/dist/component/number-input-field-rac-Cj_IRQn2.js +100 -0
  69. package/dist/component/{number-input-rac-4haw393w.js → number-input-rac-B1c5vgfy.js} +1 -1
  70. package/dist/component/{password-rac-475OoB0j.js → password-rac-B-v1mt1v.js} +4 -4
  71. package/dist/component/{payment-input-rac-DU4g8Q_7.js → payment-input-rac-Cjba0yLO.js} +4 -4
  72. package/dist/component/{phone-input-field-rac-DM6N0P6_.js → phone-input-field-rac-B5m4cejA.js} +173 -165
  73. package/dist/component/{phone-rac-BpHhrYGL.js → phone-rac--CXz-TKk.js} +1 -1
  74. package/dist/component/{product-list-rac-CAHr_eYH.js → product-list-rac-BBV8fnMJ.js} +4 -4
  75. package/dist/component/{quiz-radio-group-rac-DtFS9WdU.js → quiz-radio-group-rac-9obklhvn.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-Da3agIGS.js → radio-button-module-classes-CC4fLpO_.js} +3 -3
  77. package/dist/component/{radio-group-field-rac-CIjHty31.js → radio-group-field-rac-BSQLzo0m.js} +4 -4
  78. package/dist/component/{radio-group-rac-BG12H8tb.js → radio-group-rac-CyO7vzsa.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-gUx_7bt1.js → rating-input-field-rac-CSZe7BLx.js} +4 -4
  80. package/dist/component/{rating-input-rac-BJSI8ZbG.js → rating-input-rac-mF31YJB7.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-B-GDjJv-.js → rich-content-rac.module-se-u2gKX.js} +1 -1
  82. package/dist/component/{rich-text-field-rac-BduAd7Y3.js → rich-text-field-rac-wRMQe5yU.js} +2 -2
  83. package/dist/component/{rich-text-rac-C4Vdiv4x.js → rich-text-rac-DDQNmP3o.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-BuPoWPau.js → service-dropdown-rac-CR0nHy-s.js} +4 -4
  85. package/dist/component/{services-multi-choice-rac-DsLG0EQG.js → services-multi-choice-rac-BztB7foS.js} +5 -5
  86. package/dist/component/{signature-rac-Cr9dd1VA.js → signature-rac-DamlKee8.js} +4 -4
  87. package/dist/component/{submit-button-rac-DkIrS3o4.js → submit-button-rac-Ded_-Az9.js} +2 -2
  88. package/dist/component/{tags-field-rac-kwEl556U.js → tags-field-rac-CcIwRxIZ.js} +5 -5
  89. package/dist/component/{tags-rac-Dtq8QoDK.js → tags-rac-C0ydJbIy.js} +1 -1
  90. package/dist/component/{text-area-field-rac-CN6dvSZK.js → text-area-field-rac-wg1IrmyE.js} +4 -4
  91. package/dist/component/{text-area-rac-DLTWWGc2.js → text-area-rac-BkDKaTBE.js} +1 -1
  92. package/dist/component/{text-input-field-rac-C8pRxl1y.js → text-input-field-rac-CtV8AjHR.js} +3 -3
  93. package/dist/component/{text-input-headless-DzYQ5At3.js → text-input-headless-BSVZ9FYf.js} +3 -3
  94. package/dist/component/{text-input-rac-BLDSDZFI.js → text-input-rac-D4uKTgQX.js} +1 -1
  95. package/dist/component/{time-input-rac-BEM7IGXR.js → time-input-rac-DPLUhbAO.js} +4 -4
  96. package/dist/component/{url-input-field-rac-CAAmxqXc.js → url-input-field-rac-C_goGo_3.js} +4 -4
  97. package/dist/component/{url-input-rac-BnKrD_oR.js → url-input-rac-DuRmgp4u.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-DMh7xGVx.js → use-dropdown-option-class-name-CTzv8yRF.js} +2 -2
  99. package/dist/component/{use-dropdown-trigger-class-name-BbQmaZ3X.js → use-dropdown-trigger-class-name-CmBkOphx.js} +6 -6
  100. package/dist/component/{use-element-state-class-name-BLoDv76u.js → use-element-state-class-name-DeVG3PMb.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-DpNSWXbm.js → use-hoverable-input-class-name-BAYWvB6h.js} +2 -2
  102. package/dist/component/{use-is-forced-open-dropdown-HEOoOFoH.js → use-is-forced-open-dropdown-ZTHhjn_a.js} +1 -1
  103. package/dist/component/{use-service-options-base-DoYaHTF5.js → use-service-options-base-CfaSBCLS.js} +1 -1
  104. package/dist/component/use-text-input-class-name-DO5liZ3u.js +6 -0
  105. package/package.json +2 -2
  106. package/dist/component/number-input-field-rac-BVtKs_5q.js +0 -94
  107. package/dist/component/use-text-input-class-name-N9UaVdow.js +0 -6
@@ -1,12 +1,12 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
3
  import a from "classnames";
4
- import { a as s, s as n, R as c } from "./radio-button-module-classes-Da3agIGS.js";
4
+ import { a as s, s as n, R as c } from "./radio-button-module-classes-CC4fLpO_.js";
5
5
  import { E as i } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as o } from "./field-rac.module-DcyJyi2B.js";
7
- import { X as E, am as p, ac as R, ad as O, M as _, I as L, ae as I } from "./form-D7zqJS-_.js";
7
+ import { X as E, am as p, ac as R, ad as O, M as _, I as L, ae as I } from "./form-BSQiL_J5.js";
8
8
  import { o as D } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as S } from "./use-element-state-class-name-BLoDv76u.js";
9
+ import { u as S } from "./use-element-state-class-name-DeVG3PMb.js";
10
10
  const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(s, {
11
11
  className: l
12
12
  }, r);
@@ -1,5 +1,5 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { bM as c, bJ as i, bE as b, bl as f, bm as x } from "./form-D7zqJS-_.js";
2
+ import { bM as c, bJ as i, bE as b, bl as f, bm as x } from "./form-BSQiL_J5.js";
3
3
  const H = ({ className: r, children: e }) => {
4
4
  const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = b();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
@@ -1,4 +1,4 @@
1
- import { bM as m, b1 as d, b2 as p, bJ as D, bX as B } from "./form-D7zqJS-_.js";
1
+ import { bM as m, b1 as d, b2 as p, bJ as D, bX as B } from "./form-BSQiL_J5.js";
2
2
  import l from "react";
3
3
  import { f as L } from "./find-child-C60k4CxG.js";
4
4
  import { sdk as g } from "@wix/image-kit";
@@ -2,14 +2,14 @@ import t, { useState as W, useRef as H, useMemo as pe, useEffect as ne, useCallb
2
2
  import Le from "@wix/editor-react-components/AnimatedIcon";
3
3
  import { RicosViewer as he } from "@wix/ricos/viewer";
4
4
  import R from "classnames";
5
- import { bI as Ce, bX as re, bR as xe, aO as ve, bU as Ne, aH as ie, bW as De, bJ as fe, bM as V, bO as ye, bG as Se, bF as Te, X as Be, am as Ie, b as we, P as Re, Q as ce, R as Ae, N as ue, M as de, I as Me, O as Ze, f as te } from "./form-D7zqJS-_.js";
5
+ import { bI as Ce, bX as re, bR as xe, aO as ve, bU as Ne, aH as ie, bW as De, bJ as fe, bM as V, bO as ye, bG as Se, bF as Te, X as Be, am as Ie, b as we, P as Re, Q as ce, R as Ae, N as ue, M as de, I as Me, O as Ze, f as te } from "./form-BSQiL_J5.js";
6
6
  import { E as Oe } from "./error-icon-hZxQ6DEy.js";
7
7
  import { s as $ } from "./field-rac.module-DcyJyi2B.js";
8
- import { u as me } from "./use-element-state-class-name-BLoDv76u.js";
8
+ import { u as me } from "./use-element-state-class-name-DeVG3PMb.js";
9
9
  import { DropZone as Ue, Text as ke, FileTrigger as Pe, Button as Ee, ProgressBar as He, VisuallyHidden as ze } from "react-aria-components";
10
10
  import { f as h, a as Y } from "./find-child-C60k4CxG.js";
11
- import { b as Ve, a as je, D as qe, E as Ke } from "./field-error-headless-CaO_cB31.js";
12
- import { L as $e } from "./field-label-headless-DUerAlvH.js";
11
+ import { b as Ve, a as je, D as qe, E as Ke } from "./field-error-headless-Dabua-FK.js";
12
+ import { L as $e } from "./field-label-headless-CL2Naq5v.js";
13
13
  const We = {
14
14
  Video: "video/*",
15
15
  Image: "image/*",
@@ -1,11 +1,11 @@
1
1
  import t, { useMemo as _ } from "react";
2
2
  import { RicosViewer as A } from "@wix/ricos/viewer";
3
3
  import u from "classnames";
4
- import { bM as C, bE as I, bJ as P, X as S, S as x, I as N } from "./form-D7zqJS-_.js";
4
+ import { bM as C, bE as I, bJ as P, X as S, S as x, I as N } from "./form-BSQiL_J5.js";
5
5
  import { f as c, a as R } from "./find-child-C60k4CxG.js";
6
6
  import { f as O } from "./format-currency-BwShJ9vM.js";
7
- import { D as M, E as v } from "./field-error-headless-CaO_cB31.js";
8
- import { L as g } from "./field-label-headless-DUerAlvH.js";
7
+ import { D as M, E as v } from "./field-error-headless-Dabua-FK.js";
8
+ import { L as g } from "./field-label-headless-CL2Naq5v.js";
9
9
  import { s as F } from "./field-rac.module-DcyJyi2B.js";
10
10
  const e = ({ children: r }) => {
11
11
  var p;
@@ -6625,16 +6625,15 @@ const jy = (e) => {
6625
6625
  const l = s.split(dt);
6626
6626
  $a(a, l) !== $a(t, l) && e.delete(s);
6627
6627
  }
6628
- }, aE = /* @__PURE__ */ se(void 0), zR = (e) => e.value, SU = (e) => {
6629
- const a = ee(aE), { path: t, value: s, readPrehydrationValue: l = zR } = KA(), o = pe({
6630
- path: t,
6631
- value: s,
6632
- registry: a,
6633
- read: l
6628
+ }, aE = /* @__PURE__ */ se(void 0), zR = (e) => e.value, SU = (e, a) => {
6629
+ const t = ee(aE), s = KA(), l = pe({
6630
+ props: s,
6631
+ registry: t,
6632
+ read: a ?? s.readPrehydrationValue ?? zR
6634
6633
  });
6635
6634
  De(() => {
6636
- const i = o.current, d = e.current ? i.read(e.current) : void 0;
6637
- i.registry && !Aa(d) && Aa(i.value) && i.registry.current.set(i.path, d);
6635
+ const o = l.current, i = e.current ? o.read(e.current, o.props) : void 0;
6636
+ o.registry && !Aa(i) && Aa(o.props.value) && o.registry.current.set(o.props.path, i);
6638
6637
  }, [
6639
6638
  e
6640
6639
  ]);
@@ -7188,11 +7187,11 @@ const NE = async (e, a, t) => {
7188
7187
  const [{ FormValidator: s }, { MultilineAddressToolkit: l }] = await Promise.all([
7189
7188
  import(
7190
7189
  /* webpackChunkName: "form-validator" */
7191
- "./index-CkKxsl0q.js"
7190
+ "./index-DvrIHdKh.js"
7192
7191
  ),
7193
7192
  import(
7194
7193
  /* webpackChunkName: "form-multiline-address" */
7195
- "./index-BweqDmjQ.js"
7194
+ "./index-vqWKPQbf.js"
7196
7195
  )
7197
7196
  ]);
7198
7197
  if (a != null && a.length) {
@@ -9619,139 +9618,139 @@ async function iC({ form: e, language: a, isEditor: t }) {
9619
9618
  const dC = (e) => uR({
9620
9619
  ...e,
9621
9620
  fields: e.formFields ?? e.fields
9622
- }), nC = (e) => e && Up(xI(e.map(dC))), x = () => A.createElement("div", null, "not implemented"), cC = C(() => import("./appointment-rac-CfPuDfzm.js").then((e) => ({
9621
+ }), nC = (e) => e && Up(xI(e.map(dC))), x = () => A.createElement("div", null, "not implemented"), cC = C(() => import("./appointment-rac--5tuGXIW.js").then((e) => ({
9623
9622
  default: e.AppointmentRAC
9624
- }))), rC = C(() => import("./bookings-email-rac-BeyDjaay.js").then((e) => ({
9623
+ }))), rC = C(() => import("./bookings-email-rac-NT5YFdjR.js").then((e) => ({
9625
9624
  default: e.BookingsEmailRAC
9626
- }))), NC = C(() => import("./bookings-first-name-rac-CkXurmWm.js").then((e) => ({
9625
+ }))), NC = C(() => import("./bookings-first-name-rac-qowwpiHk.js").then((e) => ({
9627
9626
  default: e.BookingsFirstNameRAC
9628
- }))), yC = C(() => import("./bookings-last-name-rac-ertZx_DF.js").then((e) => ({
9627
+ }))), yC = C(() => import("./bookings-last-name-rac-x9B9SJV4.js").then((e) => ({
9629
9628
  default: e.BookingsLastNameRAC
9630
- }))), EC = C(() => import("./bookings-login-bar-rac-NjeMmlHa.js").then((e) => ({
9629
+ }))), EC = C(() => import("./bookings-login-bar-rac-BVOCkNZk.js").then((e) => ({
9631
9630
  default: e.BookingsLoginBarRAC
9632
- }))), mC = C(() => import("./bookings-header-rac-BtsC8jZl.js").then((e) => ({
9631
+ }))), mC = C(() => import("./bookings-header-rac-C38Abx9u.js").then((e) => ({
9633
9632
  default: e.BookingsHeaderRAC
9634
- }))), AC = C(() => import("./bookings-rich-text-rac-BKjPaXH_.js").then((e) => ({
9633
+ }))), AC = C(() => import("./bookings-rich-text-rac-DIFgJILa.js").then((e) => ({
9635
9634
  default: e.BookingsRichTextRAC
9636
- }))), uC = C(() => import("./checkbox-rac-C5-VW5zZ.js").then((e) => ({
9635
+ }))), uC = C(() => import("./checkbox-rac-B2nVFPS1.js").then((e) => ({
9637
9636
  default: e.CheckboxRAC
9638
- }))), TC = C(() => import("./checkbox-group-rac-Ebs85wS5.js").then((e) => ({
9637
+ }))), TC = C(() => import("./checkbox-group-rac--sxRkYkB.js").then((e) => ({
9639
9638
  default: e.CheckboxGroupRAC
9640
- }))), pC = C(() => import("./contacts-address-rac-CgCCVGq0.js").then((e) => ({
9639
+ }))), pC = C(() => import("./contacts-address-rac-CwlaDBE7.js").then((e) => ({
9641
9640
  default: e.ContactsAddressRAC
9642
- }))), OC = C(() => import("./contacts-birthdate-rac-DilaGXgY.js").then((e) => ({
9641
+ }))), OC = C(() => import("./contacts-birthdate-rac-EaHHZuIi.js").then((e) => ({
9643
9642
  default: e.ContactsBirthdateRAC
9644
- }))), RC = C(() => import("./contacts-company-rac-B3DBqj-d.js").then((e) => ({
9643
+ }))), RC = C(() => import("./contacts-company-rac-CdOHPrtn.js").then((e) => ({
9645
9644
  default: e.ContactsCompanyRAC
9646
- }))), IC = C(() => import("./contacts-email-rac-DRvDgVG8.js").then((e) => ({
9645
+ }))), IC = C(() => import("./contacts-email-rac-ugNLwGWF.js").then((e) => ({
9647
9646
  default: e.ContactsEmailRAC
9648
- }))), _C = C(() => import("./contacts-first-name-rac-CvHYh-ht.js").then((e) => ({
9647
+ }))), _C = C(() => import("./contacts-first-name-rac-Bn3fYr-j.js").then((e) => ({
9649
9648
  default: e.ContactsFirstNameRAC
9650
- }))), LC = C(() => import("./contacts-last-name-rac-Bgg6hAT4.js").then((e) => ({
9649
+ }))), LC = C(() => import("./contacts-last-name-rac-BatfxU4B.js").then((e) => ({
9651
9650
  default: e.ContactsLastNameRAC
9652
- }))), SC = C(() => import("./contacts-position-rac-DCWhOVIY.js").then((e) => ({
9651
+ }))), SC = C(() => import("./contacts-position-rac-BR1-OeQd.js").then((e) => ({
9653
9652
  default: e.ContactsPositionRAC
9654
- }))), kC = C(() => import("./contacts-tax-id-rac-DXd7y3tE.js").then((e) => ({
9653
+ }))), kC = C(() => import("./contacts-tax-id-rac-DVuNyvZr.js").then((e) => ({
9655
9654
  default: e.ContactsTaxIdRAC
9656
- }))), CC = C(() => import("./contacts-subscribe-rac-IomlLkfu.js").then((e) => ({
9655
+ }))), CC = C(() => import("./contacts-subscribe-rac-QIrgHZkx.js").then((e) => ({
9657
9656
  default: e.ContactsSubscribeRAC
9658
- }))), DC = C(() => import("./date-input-rac-oiD0-YmD.js").then((e) => ({
9657
+ }))), DC = C(() => import("./date-input-rac-t-Rcyc2p.js").then((e) => ({
9659
9658
  default: e.DateInputRAC
9660
- }))), fC = C(() => import("./date-picker-rac-C84sCAU4.js").then((e) => ({
9659
+ }))), fC = C(() => import("./date-picker-rac-WdXsH8PF.js").then((e) => ({
9661
9660
  default: e.DatePickerRAC
9662
- }))), PC = C(() => import("./date-time-input-rac-3GlJ8XI5.js").then((e) => ({
9661
+ }))), PC = C(() => import("./date-time-input-rac-2CA9hq8X.js").then((e) => ({
9663
9662
  default: e.DateTimeInputRAC
9664
- }))), UC = C(() => import("./dext-text-input-rac-k2khQGHG.js").then((e) => ({
9663
+ }))), UC = C(() => import("./dext-text-input-rac-Cuj6PtAe.js").then((e) => ({
9665
9664
  default: e.DextTextInputRAC
9666
- }))), MC = C(() => import("./dext-url-input-rac-FIlYdfC2.js").then((e) => ({
9665
+ }))), MC = C(() => import("./dext-url-input-rac-NVrNnmWw.js").then((e) => ({
9667
9666
  default: e.DextUrlInputRAC
9668
- }))), BC = C(() => import("./dext-checkbox-rac-DkAnA6gt.js").then((e) => ({
9667
+ }))), BC = C(() => import("./dext-checkbox-rac-BJk-GyO0.js").then((e) => ({
9669
9668
  default: e.DextCheckboxRAC
9670
- }))), hC = C(() => import("./dext-checkbox-group-rac-so55mL0Z.js").then((e) => ({
9669
+ }))), hC = C(() => import("./dext-checkbox-group-rac-B-YW3YCV.js").then((e) => ({
9671
9670
  default: e.DextCheckboxGroupRAC
9672
- }))), GC = C(() => import("./dext-tags-rac-CdGMqBm5.js").then((e) => ({
9671
+ }))), GC = C(() => import("./dext-tags-rac-CP-656m_.js").then((e) => ({
9673
9672
  default: e.DextTagsRAC
9674
- }))), vC = C(() => import("./dext-date-picker-rac-ez55mQ9n.js").then((e) => ({
9673
+ }))), vC = C(() => import("./dext-date-picker-rac-DmDcuVSI.js").then((e) => ({
9675
9674
  default: e.DextDatePickerRAC
9676
- }))), gC = C(() => import("./dext-date-time-input-rac-Cpyr_d7y.js").then((e) => ({
9675
+ }))), gC = C(() => import("./dext-date-time-input-rac-4K5cyRcn.js").then((e) => ({
9677
9676
  default: e.DextDateTimeInputRAC
9678
- }))), bC = C(() => import("./dext-dropdown-rac-DOYUko3q.js").then((e) => ({
9677
+ }))), bC = C(() => import("./dext-dropdown-rac-lneYp4uV.js").then((e) => ({
9679
9678
  default: e.DextDropdownRAC
9680
- }))), HC = C(() => import("./dext-email-rac-CvbUgVcg.js").then((e) => ({
9679
+ }))), HC = C(() => import("./dext-email-rac-D3G0XxZj.js").then((e) => ({
9681
9680
  default: e.DextEmailRAC
9682
- }))), KC = C(() => import("./dext-number-input-rac-DhV_5u36.js").then((e) => ({
9681
+ }))), KC = C(() => import("./dext-number-input-rac-CeEig5N_.js").then((e) => ({
9683
9682
  default: e.DextNumberInputRAC
9684
- }))), FC = C(() => import("./dext-radio-group-rac-BDD9Rjzh.js").then((e) => ({
9683
+ }))), FC = C(() => import("./dext-radio-group-rac-6rxfWGK5.js").then((e) => ({
9685
9684
  default: e.DextRadioGroupRAC
9686
- }))), VC = C(() => import("./dext-rating-input-rac-lFceopFt.js").then((e) => ({
9685
+ }))), VC = C(() => import("./dext-rating-input-rac-HnNDG6xk.js").then((e) => ({
9687
9686
  default: e.DextRatingInputRAC
9688
- }))), wC = C(() => import("./dext-text-area-rac-BPgKypQC.js").then((e) => ({
9687
+ }))), wC = C(() => import("./dext-text-area-rac-DFzPtBU5.js").then((e) => ({
9689
9688
  default: e.DextTextAreaRAC
9690
- }))), YC = C(() => import("./donation-rac-DPuf0bos.js").then((e) => ({
9689
+ }))), YC = C(() => import("./donation-rac-tAmo9d_B.js").then((e) => ({
9691
9690
  default: e.DonationRAC
9692
- }))), WC = C(() => import("./dropdown-rac-Bq_J1hxJ.js").then((e) => ({
9691
+ }))), WC = C(() => import("./dropdown-rac-V01ehQVE.js").then((e) => ({
9693
9692
  default: e.DropdownRAC
9694
- }))), zC = C(() => import("./ecom-subscription-checkbox-rac-90PxN5yY.js").then((e) => ({
9693
+ }))), zC = C(() => import("./ecom-subscription-checkbox-rac-DBeSE4R5.js").then((e) => ({
9695
9694
  default: e.EcomSubscriptionCheckboxRAC
9696
- }))), $C = C(() => import("./events-repeater-rac-BGBat8Nd.js").then((e) => ({
9695
+ }))), $C = C(() => import("./events-repeater-rac-Dnsgjb4U.js").then((e) => ({
9697
9696
  default: e.EventsRepeaterRAC
9698
- }))), XC = C(() => import("./events-rsvp-rac-BW8ZXdmr.js").then((e) => ({
9697
+ }))), XC = C(() => import("./events-rsvp-rac-CDCzH1tI.js").then((e) => ({
9699
9698
  default: e.EventsRsvpRAC
9700
- }))), xC = C(() => import("./file-upload-rac-C9xiTJT_.js").then((e) => ({
9699
+ }))), xC = C(() => import("./file-upload-rac-CjzcUDcm.js").then((e) => ({
9701
9700
  default: e.FileUploadRAC
9702
- }))), ZC = C(() => import("./fixed-payment-rac-BR6uKC6C.js").then((e) => ({
9701
+ }))), ZC = C(() => import("./fixed-payment-rac-CfkDiBTk.js").then((e) => ({
9703
9702
  default: e.FixedPaymentRAC
9704
- }))), JC = C(() => import("./header-rac-CxKMloES.js").then((e) => ({
9703
+ }))), JC = C(() => import("./header-rac-BGK2bPn6.js").then((e) => ({
9705
9704
  default: e.HeaderRAC
9706
- }))), QC = C(() => import("./image-choice-rac-B1zmi5XK.js").then((e) => ({
9705
+ }))), QC = C(() => import("./image-choice-rac-pL6fw2jn.js").then((e) => ({
9707
9706
  default: e.ImageChoiceRAC
9708
- }))), qC = C(() => import("./number-input-rac-4haw393w.js").then((e) => ({
9707
+ }))), qC = C(() => import("./number-input-rac-B1c5vgfy.js").then((e) => ({
9709
9708
  default: e.NumberInputRAC
9710
- }))), jC = C(() => import("./password-rac-475OoB0j.js").then((e) => ({
9709
+ }))), jC = C(() => import("./password-rac-B-v1mt1v.js").then((e) => ({
9711
9710
  default: e.PasswordRAC
9712
- }))), eD = C(() => import("./payment-input-rac-DU4g8Q_7.js").then((e) => ({
9711
+ }))), eD = C(() => import("./payment-input-rac-Cjba0yLO.js").then((e) => ({
9713
9712
  default: e.PaymentInputRAC
9714
- }))), aD = C(() => import("./product-list-rac-CAHr_eYH.js").then((e) => ({
9713
+ }))), aD = C(() => import("./product-list-rac-BBV8fnMJ.js").then((e) => ({
9715
9714
  default: e.ProductListRAC
9716
- }))), tD = C(() => import("./quiz-radio-group-rac-DtFS9WdU.js").then((e) => ({
9715
+ }))), tD = C(() => import("./quiz-radio-group-rac-9obklhvn.js").then((e) => ({
9717
9716
  default: e.QuizRadioGroupRAC
9718
- }))), sD = C(() => import("./radio-group-rac-BG12H8tb.js").then((e) => ({
9717
+ }))), sD = C(() => import("./radio-group-rac-CyO7vzsa.js").then((e) => ({
9719
9718
  default: e.RadioGroupRAC
9720
- }))), lD = C(() => import("./rating-input-rac-BJSI8ZbG.js").then((e) => ({
9719
+ }))), lD = C(() => import("./rating-input-rac-mF31YJB7.js").then((e) => ({
9721
9720
  default: e.RatingInputRAC
9722
- }))), oD = C(() => import("./rich-text-rac-C4Vdiv4x.js").then((e) => ({
9721
+ }))), oD = C(() => import("./rich-text-rac-DDQNmP3o.js").then((e) => ({
9723
9722
  default: e.RichTextRAC
9724
- }))), iD = C(() => import("./service-dropdown-rac-BuPoWPau.js").then((e) => ({
9723
+ }))), iD = C(() => import("./service-dropdown-rac-CR0nHy-s.js").then((e) => ({
9725
9724
  default: e.ServiceDropdownRAC
9726
- }))), dD = C(() => import("./services-multi-choice-rac-DsLG0EQG.js").then((e) => ({
9725
+ }))), dD = C(() => import("./services-multi-choice-rac-BztB7foS.js").then((e) => ({
9727
9726
  default: e.ServicesMultiChoiceRAC
9728
- }))), nD = C(() => import("./signature-rac-Cr9dd1VA.js").then((e) => ({
9727
+ }))), nD = C(() => import("./signature-rac-DamlKee8.js").then((e) => ({
9729
9728
  default: e.SignatureRAC
9730
- }))), cD = C(() => import("./submit-button-rac-DkIrS3o4.js").then((e) => ({
9729
+ }))), cD = C(() => import("./submit-button-rac-Ded_-Az9.js").then((e) => ({
9731
9730
  default: e.SubmitButtonRAC
9732
- }))), rD = C(() => import("./tags-rac-Dtq8QoDK.js").then((e) => ({
9731
+ }))), rD = C(() => import("./tags-rac-C0ydJbIy.js").then((e) => ({
9733
9732
  default: e.TagsRAC
9734
- }))), ND = C(() => import("./text-area-rac-DLTWWGc2.js").then((e) => ({
9733
+ }))), ND = C(() => import("./text-area-rac-BkDKaTBE.js").then((e) => ({
9735
9734
  default: e.TextAreaRAC
9736
- }))), yD = C(() => import("./text-input-rac-BLDSDZFI.js").then((e) => ({
9735
+ }))), yD = C(() => import("./text-input-rac-D4uKTgQX.js").then((e) => ({
9737
9736
  default: e.TextInputRAC
9738
- }))), ED = C(() => import("./time-input-rac-BEM7IGXR.js").then((e) => ({
9737
+ }))), ED = C(() => import("./time-input-rac-DPLUhbAO.js").then((e) => ({
9739
9738
  default: e.TimeInputRAC
9740
- }))), mD = C(() => import("./url-input-rac-BnKrD_oR.js").then((e) => ({
9739
+ }))), mD = C(() => import("./url-input-rac-DuRmgp4u.js").then((e) => ({
9741
9740
  default: e.UrlInputRAC
9742
- }))), AD = C(() => import("./multiline-address-rac-BTYmsl7J.js").then((e) => ({
9741
+ }))), AD = C(() => import("./multiline-address-rac-jXjdYqpO.js").then((e) => ({
9743
9742
  default: e.MultilineAddressRAC
9744
- }))), uD = C(() => import("./bookings-address-rac-Cr0ykN65.js").then((e) => ({
9743
+ }))), uD = C(() => import("./bookings-address-rac-19mTtkqj.js").then((e) => ({
9745
9744
  default: e.BookingsAddressRAC
9746
- }))), TD = C(() => import("./ecom-address-rac-BDmXNwAd.js").then((e) => ({
9745
+ }))), TD = C(() => import("./ecom-address-rac-CRcwWe5k.js").then((e) => ({
9747
9746
  default: e.EcomAddressRAC
9748
- }))), pD = C(() => import("./phone-rac-BpHhrYGL.js").then((e) => ({
9747
+ }))), pD = C(() => import("./phone-rac--CXz-TKk.js").then((e) => ({
9749
9748
  default: e.PhoneRAC
9750
- }))), OD = C(() => import("./contacts-phone-rac-ad_Q4mXM.js").then((e) => ({
9749
+ }))), OD = C(() => import("./contacts-phone-rac-C_l9tO-r.js").then((e) => ({
9751
9750
  default: e.ContactsPhoneRAC
9752
- }))), RD = C(() => import("./bookings-phone-rac-CKkVhbg8.js").then((e) => ({
9751
+ }))), RD = C(() => import("./bookings-phone-rac-32qupmTM.js").then((e) => ({
9753
9752
  default: e.BookingsPhoneRAC
9754
- }))), ID = C(() => import("./dext-phone-rac-C6YLDxrI.js").then((e) => ({
9753
+ }))), ID = C(() => import("./dext-phone-rac-zkazkunZ.js").then((e) => ({
9755
9754
  default: e.DextPhoneRAC
9756
9755
  }))), _D = {
9757
9756
  [N.APPOINTMENT]: cC,
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "classnames";
4
4
  import "@wix/fed-cli-i18next";
5
- import { aQ as i, ba as e } from "./form-D7zqJS-_.js";
5
+ import { aQ as i, ba as e } from "./form-BSQiL_J5.js";
6
6
  export {
7
7
  i as default,
8
8
  e as defaultProps
@@ -1,7 +1,7 @@
1
1
  import m from "classnames";
2
2
  import e from "react";
3
- import { bM as u, bo as i, bn as C, bq as R, aY as T, aG as d } from "./form-D7zqJS-_.js";
4
- import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-B-GDjJv-.js";
3
+ import { bM as u, bo as i, bn as C, bq as R, aY as T, aG as d } from "./form-BSQiL_J5.js";
4
+ import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-se-u2gKX.js";
5
5
  const f = ({ truncate: t = !0 } = {}) => {
6
6
  const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
7
7
  colorPalette: R(),
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { H as r } from "./header-field-rac-BhIr6Lui.js";
2
+ import { H as r } from "./header-field-rac-CMQMefMO.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as HeaderRAC
@@ -1,15 +1,15 @@
1
1
  import e, { useRef as S, useMemo as G, useCallback as k } from "react";
2
2
  import { RicosViewer as P } from "@wix/ricos/viewer";
3
3
  import I from "classnames";
4
- import { bM as b, bJ as x, bV as j, bO as B, bF as q, X as U, am as V, T as w, V as K, M as z, I as J, U as Q, f } from "./form-D7zqJS-_.js";
4
+ import { bM as b, bJ as x, bV as j, bO as B, bF as q, X as U, am as V, T as w, V as K, M as z, I as J, U as Q, f } from "./form-BSQiL_J5.js";
5
5
  import { CheckboxGroup as X, CheckboxField as Y, CheckboxButton as $ } from "react-aria-components";
6
6
  import { f as m, a as F } from "./find-child-C60k4CxG.js";
7
- import { L as W, g as Z } from "./field-label-headless-DUerAlvH.js";
8
- import { D as ee, E as te } from "./field-error-headless-CaO_cB31.js";
7
+ import { L as W, g as Z } from "./field-label-headless-CL2Naq5v.js";
8
+ import { D as ee, E as te } from "./field-error-headless-Dabua-FK.js";
9
9
  import { F as oe } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as ae } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as O } from "./field-rac.module-DcyJyi2B.js";
12
- import { u as ne } from "./use-element-state-class-name-BLoDv76u.js";
12
+ import { u as ne } from "./use-element-state-class-name-DeVG3PMb.js";
13
13
  const o = ({ children: t, className: n }) => {
14
14
  const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: d, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: A } = x(), N = S(null);
15
15
  j(N);
@@ -1,13 +1,13 @@
1
- import { e as R, b5 as _, bk as fe, b6 as O, aM as Ge, B as Be, a_ as qe, aT as He, aS as A, b0 as le, b9 as re, b3 as Ce, c as B, aU as M, bw as Ee, aW as je, aV as Te, aX as q } from "./form-D7zqJS-_.js";
2
- import { br as Sn } from "./form-D7zqJS-_.js";
1
+ import { e as R, b5 as _, bk as fe, b6 as O, aM as Ge, B as Be, a_ as qe, aT as He, aS as A, b0 as le, b9 as re, b3 as Ce, c as B, aU as M, bw as Ee, aW as je, aV as Te, aX as q } from "./form-BSQiL_J5.js";
2
+ import { br as Sn } from "./form-BSQiL_J5.js";
3
3
  import Xe from "ajv";
4
4
  import ke from "ajv-errors";
5
5
  import We from "ajv-formats";
6
6
  import Ke from "fast-deep-equal";
7
7
  import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
8
8
  import Je from "libphonenumber-js/metadata.max.json";
9
- import { p as Qe, i as et } from "./date-availability-Bux4gDUM.js";
10
- import { a as Cn } from "./date-availability-Bux4gDUM.js";
9
+ import { p as Qe, i as et } from "./date-availability-CDkmGMar.js";
10
+ import { a as Cn } from "./date-availability-CDkmGMar.js";
11
11
  import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
12
12
  function rt(e) {
13
13
  var t, r;
@@ -1,5 +1,5 @@
1
- import { bv as n } from "./form-D7zqJS-_.js";
2
- import { A as S, a as g, C as p, aZ as N, bf as q, bg as D, bx as L } from "./form-D7zqJS-_.js";
1
+ import { bv as n } from "./form-BSQiL_J5.js";
2
+ import { A as S, a as g, C as p, aZ as N, bf as q, bg as D, bx as L } from "./form-BSQiL_J5.js";
3
3
  const l = (e = !1) => ({
4
4
  country: {
5
5
  required: e
@@ -1,4 +1,4 @@
1
- import { b7 as c } from "./form-D7zqJS-_.js";
1
+ import { b7 as c } from "./form-BSQiL_J5.js";
2
2
  var b, d;
3
3
  function k() {
4
4
  if (d) return b;
@@ -2,21 +2,21 @@ import { RicosViewer as z } from "@wix/ricos/viewer";
2
2
  import L from "classnames";
3
3
  import n, { useMemo as w, createContext as We, useContext as Ie, useState as Ee, useRef as x, useCallback as _, useEffect as Pe } from "react";
4
4
  import { UNSAFE_PortalProvider as Mt } from "react-aria";
5
- import { bH as It, d as Lt, bC as qt, bE as Nt, bf as wt, bg as xt, b8 as Bt, be as W, F as K, bX as Te, bv as ct, bM as P, bJ as M, bO as ae, bV as be, bI as Ot, bk as kt, C as ge, bt as Ut, bx as Vt, bT as $t, bN as Wt, bS as Kt, bA as Yt, bp as Ht, bz as jt, bP as Jt, aP as Xt, Y as zt, _ as G, am as Q, $ as Oe, M as Z, I as ee, Z as Gt, a0 as Qt, a1 as Zt } from "./form-D7zqJS-_.js";
5
+ import { bH as It, d as Lt, bC as qt, bE as Nt, bf as wt, bg as xt, b8 as Bt, be as W, F as K, bX as Te, bv as ct, bM as P, bJ as M, bO as ae, bV as be, bI as Ot, bk as kt, C as ge, bt as Ut, bx as Vt, bT as $t, bN as Wt, bS as Kt, bA as Yt, bp as Ht, bz as jt, bP as Jt, aP as Xt, Y as zt, _ as G, am as Q, $ as Oe, M as Z, I as ee, Z as Gt, a0 as Qt, a1 as Zt } from "./form-BSQiL_J5.js";
6
6
  import { f as b, a as v } from "./find-child-C60k4CxG.js";
7
7
  import { F as en, V as tn } from "./headless-styles-CmcyA_pi.js";
8
- import { c as nn } from "./use-is-forced-open-dropdown-HEOoOFoH.js";
8
+ import { c as nn } from "./use-is-forced-open-dropdown-ZTHhjn_a.js";
9
9
  import { TextField as fe, Input as le, ComboBoxStateContext as Ke, ComboBox as Fe, Popover as De, ListBox as Me, ListBoxItem as he, Group as gt, Button as vt } from "react-aria-components";
10
- import { D as ie, E as ce } from "./field-error-headless-CaO_cB31.js";
11
- import { L as de } from "./field-label-headless-DUerAlvH.js";
12
- import { e as rn, c as on, a as sn, r as St } from "./isObjectLike-Ct-pgjcd.js";
13
- import { V as an, a as ln } from "./use-dropdown-option-class-name-DMh7xGVx.js";
10
+ import { D as ie, E as ce } from "./field-error-headless-Dabua-FK.js";
11
+ import { L as de } from "./field-label-headless-CL2Naq5v.js";
12
+ import { e as rn, c as on, a as sn, r as St } from "./isObjectLike-CIwMzPk8.js";
13
+ import { V as an, a as ln } from "./use-dropdown-option-class-name-CTzv8yRF.js";
14
14
  import { u as cn } from "./use-invoke-callback-UH73A_J3.js";
15
15
  import { C as dt } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as te } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H as qe } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as C } from "./field-rac.module-DcyJyi2B.js";
19
- import { u as ut } from "./use-hoverable-input-class-name-DpNSWXbm.js";
19
+ import { u as ut } from "./use-hoverable-input-class-name-BAYWvB6h.js";
20
20
  const dn = (e, t, o) => {
21
21
  var s, l, i, a;
22
22
  const r = (s = e.steps) == null ? void 0 : s.map((d) => {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as t } from "./multiline-address-field-rac-ChRdNcav.js";
2
+ import { M as t } from "./multiline-address-field-rac-DusMkL5F.js";
3
3
  const i = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  i as MultilineAddressRAC
@@ -0,0 +1,100 @@
1
+ import { RicosViewer as K } from "@wix/ricos/viewer";
2
+ import d from "classnames";
3
+ import t, { useState as Q, useCallback as U, useEffect as $, useRef as j } from "react";
4
+ import { NumberField as v, Input as z } from "react-aria-components";
5
+ import { bM as _, bJ as S, bX as G, bO as H, bV as W, X as Y, am as Z, M as w, I as ee } from "./form-BSQiL_J5.js";
6
+ import { c as y, g as x } from "./numeric-input-utils-CuBMi4-a.js";
7
+ import { f as p } from "./find-child-C60k4CxG.js";
8
+ import { D as re, E as te } from "./field-error-headless-Dabua-FK.js";
9
+ import { L as ne } from "./field-label-headless-CL2Naq5v.js";
10
+ import { u as se } from "./use-invoke-callback-UH73A_J3.js";
11
+ import { E as ae } from "./error-icon-hZxQ6DEy.js";
12
+ import { s as b } from "./field-rac.module-DcyJyi2B.js";
13
+ import { u as me } from "./use-text-input-class-name-DO5liZ3u.js";
14
+ const le = (r, { validation: s }) => {
15
+ const a = y(r.value.trim());
16
+ if (a === void 0)
17
+ return;
18
+ const { multipleOf: m, minimum: u, maximum: o } = (s == null ? void 0 : s.number) ?? {}, l = Number(a.toFixed(x(m || 1)));
19
+ return Math.min(Math.max(l, u ?? -1 / 0), o ?? 1 / 0);
20
+ }, e = ({ children: r }) => {
21
+ var D, L, R;
22
+ const { id: s, value: a, onChange: m, disabled: u, required: o, readOnly: l, onBlur: f, onFocus: E, FieldLayout: i, hasError: c, validation: n } = _(), { labelId: M } = S(), F = ((D = n == null ? void 0 : n.number) == null ? void 0 : D.multipleOf) || 1, h = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, V = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, A = C(a), [g, I] = Q(A), T = se(f), q = p(r, e.Label), k = p(r, e.Input), B = p(r, e.Description), P = p(r, e.Error), X = U((N) => {
23
+ if (N === void 0 || Number.isNaN(N)) {
24
+ m(""), I(NaN);
25
+ return;
26
+ }
27
+ const J = x(F), O = Number(N.toFixed(J));
28
+ m(O), I(O);
29
+ }, [
30
+ F,
31
+ m
32
+ ]);
33
+ return $(() => {
34
+ I(C(a));
35
+ }, [
36
+ a
37
+ ]), /* @__PURE__ */ t.createElement(i, {
38
+ fieldId: s,
39
+ renderLabel: () => q,
40
+ renderInput: () => /* @__PURE__ */ t.createElement(v, {
41
+ "aria-labelledby": M,
42
+ value: g,
43
+ onChange: X,
44
+ isDisabled: u,
45
+ isRequired: o,
46
+ isReadOnly: l,
47
+ isInvalid: c,
48
+ onBlur: T,
49
+ onFocus: E,
50
+ minValue: V ?? void 0,
51
+ maxValue: h ?? void 0
52
+ }, k),
53
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, P, B)
54
+ });
55
+ }, ue = ({ className: r }) => {
56
+ var c;
57
+ const { t: s } = G(), { inputId: a, ariaDescribedBy: m } = S(), { id: u, placeholder: o, validation: l, label: f, required: E } = _();
58
+ (c = l == null ? void 0 : l.number) != null && c.multipleOf;
59
+ const i = j(null);
60
+ return H(() => {
61
+ var n;
62
+ (n = i.current) == null || n.focus({
63
+ preventScroll: !0
64
+ });
65
+ }, u), W(i, le), /* @__PURE__ */ t.createElement(z, {
66
+ ref: i,
67
+ id: a,
68
+ "aria-describedby": m,
69
+ "aria-label": f,
70
+ "aria-roledescription": s("field.number.aria-role-description"),
71
+ className: r,
72
+ inputMode: "decimal",
73
+ placeholder: o,
74
+ required: E
75
+ });
76
+ };
77
+ e.Label = ne;
78
+ e.Input = ue;
79
+ e.Description = re;
80
+ e.Error = te;
81
+ const C = (r) => y(r) ?? NaN, oe = ({ content: r, locale: s }) => /* @__PURE__ */ t.createElement(K, {
82
+ content: r,
83
+ locale: s
84
+ }), Oe = () => {
85
+ const r = me();
86
+ return /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
87
+ className: d(Y, b.label)
88
+ }, /* @__PURE__ */ t.createElement(e.Label.Required, {
89
+ className: d(Z, b.requiredMark)
90
+ })), /* @__PURE__ */ t.createElement(e.Input, {
91
+ className: r
92
+ }), /* @__PURE__ */ t.createElement(e.Error, {
93
+ className: d(w, b.error)
94
+ }, /* @__PURE__ */ t.createElement(ae, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
95
+ className: d(ee, b.description)
96
+ }, oe));
97
+ };
98
+ export {
99
+ Oe as N
100
+ };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as r } from "./number-input-field-rac-BVtKs_5q.js";
2
+ import { N as r } from "./number-input-field-rac-Cj_IRQn2.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  n as NumberInputRAC
@@ -1,15 +1,15 @@
1
1
  import e, { useState as N, useRef as O } from "react";
2
2
  import { RicosViewer as x } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { bM as E, bJ as I, bO as V, bV as A, bX as B, X as v, am as M, M as P, I as k } from "./form-D7zqJS-_.js";
4
+ import { bM as E, bJ as I, bO as V, bV as A, bX as B, X as v, am as M, M as P, I as k } from "./form-BSQiL_J5.js";
5
5
  import { TextField as q, Group as U, Input as j, Button as H } from "react-aria-components";
6
6
  import { f as u, a as b } from "./find-child-C60k4CxG.js";
7
- import { D as W, E as X } from "./field-error-headless-CaO_cB31.js";
8
- import { L as Z } from "./field-label-headless-DUerAlvH.js";
7
+ import { D as W, E as X } from "./field-error-headless-Dabua-FK.js";
8
+ import { L as Z } from "./field-label-headless-CL2Naq5v.js";
9
9
  import { E as G } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as J } from "./custom-focus-class-_483Pkwp.js";
11
11
  import { s as p } from "./field-rac.module-DcyJyi2B.js";
12
- import { u as K } from "./use-text-input-class-name-N9UaVdow.js";
12
+ import { u as K } from "./use-text-input-class-name-DO5liZ3u.js";
13
13
  const t = ({ children: o, className: r }) => {
14
14
  const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = N(!1), L = u(o, t.Label), T = u(o, t.Control), h = u(o, t.Description), w = u(o, t.Error);
15
15
  return /* @__PURE__ */ e.createElement(_, {
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as J } from "react";
2
2
  import { RicosViewer as Q } from "@wix/ricos/viewer";
3
3
  import p from "classnames";
4
4
  import { TextField as j, Group as w, Input as z } from "react-aria-components";
5
- import { bM as R, bJ as D, bE as x, bX as K, bO as W, X as Y, am as Z, M as ee, I as re } from "./form-D7zqJS-_.js";
5
+ import { bM as R, bJ as D, bE as x, bX as K, bO as W, X as Y, am as Z, M as ee, I as re } from "./form-BSQiL_J5.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as te, E as ne } from "./field-error-headless-CaO_cB31.js";
8
- import { L as ae } from "./field-label-headless-DUerAlvH.js";
7
+ import { D as te, E as ne } from "./field-error-headless-Dabua-FK.js";
8
+ import { L as ae } from "./field-label-headless-CL2Naq5v.js";
9
9
  import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
10
10
  import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
11
11
  import { E as le } from "./error-icon-hZxQ6DEy.js";
12
12
  import { H as ce } from "./custom-focus-class-_483Pkwp.js";
13
13
  import { s as d } from "./field-rac.module-DcyJyi2B.js";
14
- import { u as ie } from "./use-text-input-class-name-N9UaVdow.js";
14
+ import { u as ie } from "./use-text-input-class-name-DO5liZ3u.js";
15
15
  function ue(e, t) {
16
16
  return {
17
17
  productId: e.id,