@wix/form-elements 1.137.0 → 1.138.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.
- package/dist/component/{appointment-rac-DETLNlLb.js → appointment-rac-DvzMuumV.js} +52 -52
- package/dist/component/{bookings-address-rac-ZLK-g-4b.js → bookings-address-rac-DoTKdj4W.js} +1 -1
- package/dist/component/{bookings-email-rac-C-406Pj1.js → bookings-email-rac-CHvxtHcu.js} +1 -1
- package/dist/component/{bookings-first-name-rac-ClxJPAU2.js → bookings-first-name-rac-VAAhC_fg.js} +1 -1
- package/dist/component/{bookings-header-rac-B_xKyowA.js → bookings-header-rac-YWB4879A.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DcExtGsO.js → bookings-last-name-rac-B-aGMcD_.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-B5Gpk-kG.js → bookings-login-bar-rac-3wYAN_xh.js} +4 -4
- package/dist/component/{bookings-phone-rac-DJSSDoRL.js → bookings-phone-rac-CzQVxpNK.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-D-v6z1Fs.js → bookings-rich-text-rac-C5z9Gvts.js} +1 -1
- package/dist/component/{checkbox-field-rac-DJmjpsmU.js → checkbox-field-rac-CradfjbE.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-C4A_Kv1U.js → checkbox-group-field-headless-DdVXFUPC.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-M1l5h3ii.js → checkbox-group-field-rac-KqKHh6Uj.js} +4 -4
- package/dist/component/{checkbox-group-rac-DRdzHVfR.js → checkbox-group-rac-C34O1zlM.js} +1 -1
- package/dist/component/{checkbox-rac-Cyhg2Wvd.js → checkbox-rac-BnXI1EcE.js} +1 -1
- package/dist/component/{contacts-address-rac-BQvrTPCI.js → contacts-address-rac-Ba57mGCo.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DIMg-UlR.js → contacts-birthdate-rac-lOtU_kNL.js} +1 -1
- package/dist/component/{contacts-company-rac-OgWSVsmZ.js → contacts-company-rac-fzSYypTz.js} +1 -1
- package/dist/component/{contacts-email-rac-39IQYxTe.js → contacts-email-rac-kOu3zzAk.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CjwVQGS7.js → contacts-first-name-rac-CwUDxtmS.js} +1 -1
- package/dist/component/{contacts-last-name-rac-C6ftvjMG.js → contacts-last-name-rac-DstG7QIk.js} +1 -1
- package/dist/component/{contacts-phone-rac-ldsxrFQH.js → contacts-phone-rac-DbDYtB90.js} +1 -1
- package/dist/component/{contacts-position-rac-3RzQeh2P.js → contacts-position-rac-G-5pxT4U.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CfuH705u.js → contacts-subscribe-rac-hfjDjoZw.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-D85Dm5Pa.js → contacts-tax-id-rac-CUwJltYa.js} +1 -1
- package/dist/component/{date-availability-DcYOAszO.js → date-availability-CwlAp1DX.js} +1 -1
- package/dist/component/{date-input-field-rac-D4cr7NGI.js → date-input-field-rac-C47Y-z4d.js} +6 -6
- package/dist/component/{date-input-rac-BwJwmoZr.js → date-input-rac-BSKV4JJO.js} +1 -1
- package/dist/component/{date-picker-field-rac-C-IM7SHk.js → date-picker-field-rac-NSAnfLRk.js} +5 -5
- package/dist/component/{date-picker-rac-BkAp8Bgb.js → date-picker-rac-DlEVDz1X.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DGCd-WUh.js → date-time-input-field-rac-Bs2xjob_.js} +20 -20
- package/dist/component/{date-time-input-rac-ClLzxACj.js → date-time-input-rac-Dvy_vn5y.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DI26D3eR.js → dext-checkbox-group-rac-ydiyI0Ax.js} +2 -2
- package/dist/component/{dext-checkbox-rac-CRJq1RxN.js → dext-checkbox-rac-D3FH0uIS.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CvzQs_Te.js → dext-date-picker-rac-C4Xa4Mkn.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-Dtysjtim.js → dext-date-time-input-rac-DBUVJbqB.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DHGo26Az.js → dext-dropdown-rac-Ku5SxJci.js} +1 -1
- package/dist/component/{dext-email-rac-BpnNEdVF.js → dext-email-rac-CdfesgKH.js} +1 -1
- package/dist/component/{dext-number-input-rac-C5iW_ei6.js → dext-number-input-rac-AmiEoijD.js} +1 -1
- package/dist/component/{dext-phone-rac-KCTWlcaK.js → dext-phone-rac-BqiNW-E2.js} +1 -1
- package/dist/component/{dext-radio-group-rac-ad6j8I4s.js → dext-radio-group-rac-Bku-LoOz.js} +2 -2
- package/dist/component/{dext-rating-input-rac-B4AvCMi0.js → dext-rating-input-rac-TxRgyMyp.js} +1 -1
- package/dist/component/{dext-tags-rac-BMathc_H.js → dext-tags-rac-C6iBGwg4.js} +2 -2
- package/dist/component/{dext-text-area-rac-Xb-pGhSZ.js → dext-text-area-rac-BU0eyjM4.js} +1 -1
- package/dist/component/{dext-text-input-rac-CSE8qfGF.js → dext-text-input-rac-BEls3cms.js} +1 -1
- package/dist/component/{dext-url-input-rac-Bq4iz5z9.js → dext-url-input-rac-CMAK9Qo6.js} +1 -1
- package/dist/component/{donation-rac-DRUbysCr.js → donation-rac-aGSBtE2T.js} +17 -17
- package/dist/component/{dropdown-field-headless-DO592qOP.js → dropdown-field-headless-B6i33cBH.js} +5 -5
- package/dist/component/{dropdown-field-rac-C2yjQI-C.js → dropdown-field-rac-COluC25e.js} +6 -6
- package/dist/component/{dropdown-rac-DlrGt2kE.js → dropdown-rac-BGQx3saK.js} +1 -1
- package/dist/component/{ecom-address-rac-D_StW_li.js → ecom-address-rac-BgkdVaiI.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CrdttyUU.js → ecom-subscription-checkbox-rac-C9jnWaZl.js} +2 -2
- package/dist/component/{email-input-field-rac-DqXazwV3.js → email-input-field-rac-DHCUGLjQ.js} +3 -3
- package/dist/component/{events-repeater-rac-DDpRs7rY.js → events-repeater-rac-BHz0azrh.js} +13 -13
- package/dist/component/{events-rsvp-rac-BN9axMYX.js → events-rsvp-rac-BgtEivuD.js} +8 -8
- package/dist/component/{field-error-headless-JU1yiTVE.js → field-error-headless-BCrv3sBa.js} +1 -1
- package/dist/component/{field-label-headless-CD4_8Ros.js → field-label-headless-B54yFVkr.js} +1 -1
- package/dist/component/{file-upload-rac-CQTx6hEf.js → file-upload-rac-Cg8Z8lhS.js} +21 -21
- package/dist/component/{fixed-payment-rac-B5cRBcxY.js → fixed-payment-rac-B3uuRmES.js} +21 -21
- package/dist/component/{form-Mla9_phC.js → form-D7mq5tD5.js} +77 -77
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-B_F66ChH.js → header-field-rac-DbeAaOaE.js} +2 -2
- package/dist/component/{header-rac-BX6Df8ej.js → header-rac-CRghbywI.js} +1 -1
- package/dist/component/{image-choice-rac-Ce01EhFJ.js → image-choice-rac-nCRaXrH5.js} +17 -17
- package/dist/component/{index-Ch7II1GU.js → index-C6cdxkPM.js} +2 -2
- package/dist/component/{index-DoIW9Cb6.js → index-DNonwKkE.js} +4 -4
- package/dist/component/{isObjectLike-C1TnJWn6.js → isObjectLike-PXbsarQL.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DVDEcHtq.js → multiline-address-field-rac-DeMafI8g.js} +7 -7
- package/dist/component/{multiline-address-rac-BJ8ln_G5.js → multiline-address-rac-g1IrapIk.js} +1 -1
- package/dist/component/{number-input-field-rac-DTfx9YgL.js → number-input-field-rac-BSGFZQh_.js} +10 -10
- package/dist/component/{number-input-rac-pg7cmYpS.js → number-input-rac-C5yMyFyv.js} +1 -1
- package/dist/component/{password-rac-D8BKTB_H.js → password-rac-jHDFxH5W.js} +10 -10
- package/dist/component/{payment-input-rac-HBquclKy.js → payment-input-rac-Cpw8VM0u.js} +14 -14
- package/dist/component/{phone-input-field-rac-Fgfg5HwA.js → phone-input-field-rac-DLZysv_w.js} +26 -26
- package/dist/component/{phone-rac-pivMTIyc.js → phone-rac-DK5Toq-q.js} +1 -1
- package/dist/component/{product-list-rac-DauIxK2R.js → product-list-rac-DR2bHVkk.js} +22 -22
- package/dist/component/{quiz-radio-group-rac-B0OtjxKf.js → quiz-radio-group-rac-mWuYJqRQ.js} +1 -1
- package/dist/component/{radio-button-module-classes-Cu3KM625.js → radio-button-module-classes-CokNolqR.js} +3 -3
- package/dist/component/{radio-group-field-rac-0dJHtf3G.js → radio-group-field-rac-DiaR7RdY.js} +6 -6
- package/dist/component/{radio-group-rac-CqtO1JqM.js → radio-group-rac-FdQp_E1O.js} +1 -1
- package/dist/component/{rating-input-field-rac-CMny6OSF.js → rating-input-field-rac-DbyB_Esi.js} +11 -11
- package/dist/component/{rating-input-rac-DA4iU_-m.js → rating-input-rac-D4C1bB-A.js} +1 -1
- package/dist/component/{rich-content-rac.module-CZX0cZst.js → rich-content-rac.module-CDtZ3pmh.js} +1 -1
- package/dist/component/{rich-text-field-rac-Dtm6xFcj.js → rich-text-field-rac-CYqdqamx.js} +2 -2
- package/dist/component/{rich-text-rac-ClqIW5ds.js → rich-text-rac-CDzSg_7O.js} +1 -1
- package/dist/component/{service-dropdown-rac-_4T1OZGq.js → service-dropdown-rac-rdwYVwGB.js} +9 -9
- package/dist/component/{services-multi-choice-rac-BVim-jnM.js → services-multi-choice-rac-DOO6HYgT.js} +7 -7
- package/dist/component/{signature-rac-D7w8WTLO.js → signature-rac-CBh4_hf-.js} +4 -4
- package/dist/component/{submit-button-rac-BkUDj1dU.js → submit-button-rac-B8ZNvJjY.js} +2 -2
- package/dist/component/{tags-field-rac-Di1aK4E2.js → tags-field-rac-D5THw-TO.js} +5 -5
- package/dist/component/{tags-rac-CJ5f4Doi.js → tags-rac-C8wN2xTn.js} +1 -1
- package/dist/component/{text-area-field-rac-DFjrT9fs.js → text-area-field-rac-D3GB6Wrq.js} +6 -6
- package/dist/component/{text-area-rac-DBANidv_.js → text-area-rac-CCTd5x7u.js} +1 -1
- package/dist/component/{text-input-field-rac-DJDzqR6d.js → text-input-field-rac-emy5LgNs.js} +3 -3
- package/dist/component/{text-input-headless-CG4wbxMG.js → text-input-headless-BIgsm4yN.js} +3 -3
- package/dist/component/{text-input-rac-V0tK1Gj2.js → text-input-rac-BFRe44DM.js} +1 -1
- package/dist/component/{time-input-rac-LSoyg8Ao.js → time-input-rac-D6FsrMxb.js} +4 -4
- package/dist/component/{url-input-field-rac-DI0SdDI0.js → url-input-field-rac-Dk9F61BD.js} +8 -8
- package/dist/component/{url-input-rac-obx2Uf2F.js → url-input-rac-C1pAmfj-.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BM-NiVtO.js → use-dropdown-option-class-name-DNvaYrmm.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-BHwQ-wZa.js → use-dropdown-trigger-class-name-_gAS-eDg.js} +2 -2
- package/dist/component/{use-element-state-class-name-DAYz5X_i.js → use-element-state-class-name-CT3HIbmC.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-DZ-4NGpv.js → use-hoverable-input-class-name-DMVtzjju.js} +2 -2
- package/dist/component/{use-service-options-base-BOjt2sg9.js → use-service-options-base-DMgeKnCC.js} +1 -1
- package/dist/component/use-text-input-class-name-CO5G1Jx0.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-Bqj4OoIw.js +0 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t, { useState as $, useRef as q, useMemo as fe, useEffect as ne, useCallback as I, createContext as he, useContext as _e } from "react";
|
|
2
2
|
import Le from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as Ce } from "@wix/ricos/viewer";
|
|
4
|
-
import
|
|
5
|
-
import { bf as xe, bt as oe, bo as Ne, am as ve, br as De, af as ie, bs as Te, bg as Ee, bj as z, bl as Se, bd as Be, bc as ye,
|
|
4
|
+
import A from "classnames";
|
|
5
|
+
import { bf as xe, bt as oe, bo as Ne, am as ve, br as De, af as ie, bs as Te, bg as Ee, bj as z, bl as Se, bd as Be, bc as ye, N as Ze, Y as Re, b as Ae, aa as Me, ab as ce, u as ue, z as de, G as me, a9 as Ie, f as te } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { E as Oe } from "./error-icon-hZxQ6DEy.js";
|
|
7
7
|
import { s as Y } from "./field-rac.module-DfEb7pBp.js";
|
|
8
|
-
import { u as pe } from "./use-element-state-class-name-
|
|
8
|
+
import { u as pe } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
9
9
|
import { DropZone as we, Text as Ue, FileTrigger as Pe, Button as be, ProgressBar as He, VisuallyHidden as qe } from "react-aria-components";
|
|
10
10
|
import { f as L, a as W } from "./find-child-C60k4CxG.js";
|
|
11
|
-
import { b as ke, a as ze, D as Ve, E as je } from "./field-error-headless-
|
|
12
|
-
import { L as Ke } from "./field-label-headless-
|
|
11
|
+
import { b as ke, a as ze, D as Ve, E as je } from "./field-error-headless-BCrv3sBa.js";
|
|
12
|
+
import { L as Ke } from "./field-label-headless-B54yFVkr.js";
|
|
13
13
|
const Ye = {
|
|
14
14
|
Video: "video/*",
|
|
15
15
|
Image: "image/*",
|
|
@@ -248,8 +248,8 @@ re.Text = Xe;
|
|
|
248
248
|
k.Title = Qe;
|
|
249
249
|
k.Subtitle = Je;
|
|
250
250
|
k.Button = re;
|
|
251
|
-
const
|
|
252
|
-
const { file: a, index: s } = o, d = a.file.name, E = L(e,
|
|
251
|
+
const M = ({ children: e, className: n, ...o }) => {
|
|
252
|
+
const { file: a, index: s } = o, d = a.file.name, E = L(e, M.Name), C = L(e, M.Remove), r = L(e, M.Spinner), i = L(e, M.Error);
|
|
253
253
|
return /* @__PURE__ */ t.createElement("div", {
|
|
254
254
|
className: n
|
|
255
255
|
}, W(E, {
|
|
@@ -301,10 +301,10 @@ const A = ({ children: e, className: n, ...o }) => {
|
|
|
301
301
|
className: e,
|
|
302
302
|
isIndeterminate: !0
|
|
303
303
|
}, o);
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
304
|
+
M.Name = et;
|
|
305
|
+
M.Remove = tt;
|
|
306
|
+
M.Spinner = nt;
|
|
307
|
+
M.Error = Fe;
|
|
308
308
|
Fe.Text = ke;
|
|
309
309
|
const ae = ({ children: e, className: n }) => {
|
|
310
310
|
const { files: o } = V(), a = L(e, ae.File);
|
|
@@ -316,7 +316,7 @@ const ae = ({ children: e, className: n }) => {
|
|
|
316
316
|
index: d
|
|
317
317
|
})));
|
|
318
318
|
};
|
|
319
|
-
ae.File =
|
|
319
|
+
ae.File = M;
|
|
320
320
|
const J = (e) => e.file.name, l = ({ children: e }) => {
|
|
321
321
|
const { t: n } = oe(), { id: o, value: a, onChange: s, uploadFileFormats: d, valueSliderLimit: E, target: C, explanationText: r, onBlur: i, hasError: x, errorMessage: m, FieldLayout: p } = z(), c = q(null), T = q({}), N = q(!1), O = I(() => {
|
|
322
322
|
c.current ? c.current.focus() : N.current = !0;
|
|
@@ -505,9 +505,9 @@ const rt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
505
505
|
c(!1), (u = m.current) == null || u.runAnimationBackward();
|
|
506
506
|
}, []);
|
|
507
507
|
return /* @__PURE__ */ t.createElement(l, null, /* @__PURE__ */ t.createElement(l.Label, {
|
|
508
|
-
className:
|
|
508
|
+
className: A(Ze, Y.label)
|
|
509
509
|
}, /* @__PURE__ */ t.createElement(l.Label.Required, {
|
|
510
|
-
className:
|
|
510
|
+
className: A(Re, Y.requiredMark)
|
|
511
511
|
})), /* @__PURE__ */ t.createElement(l.DropZone, {
|
|
512
512
|
className: ({ isHovered: u, isFocused: R, isDropTarget: S }) => s({
|
|
513
513
|
isSelected: !1,
|
|
@@ -533,18 +533,18 @@ const rt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
533
533
|
}, i.svg ? /* @__PURE__ */ t.createElement(Le, {
|
|
534
534
|
...i,
|
|
535
535
|
ref: m,
|
|
536
|
-
className:
|
|
536
|
+
className: A(Ae, Me, r)
|
|
537
537
|
}) : E ? null : /* @__PURE__ */ t.createElement(rt, null), /* @__PURE__ */ t.createElement(l.DropZone.Button.Text, {
|
|
538
|
-
className:
|
|
538
|
+
className: A(ce.base, D.buttonLabel, x, {
|
|
539
539
|
[ce.hover]: a && (p || T)
|
|
540
540
|
})
|
|
541
541
|
}))), /* @__PURE__ */ t.createElement(l.Explanation, {
|
|
542
|
-
className:
|
|
542
|
+
className: A(ue, Y.description, D.explanation),
|
|
543
543
|
showUploadStatusOnly: !0
|
|
544
544
|
}), /* @__PURE__ */ t.createElement(l.Files, {
|
|
545
545
|
className: D.files
|
|
546
546
|
}, /* @__PURE__ */ t.createElement(l.Files.File, {
|
|
547
|
-
className:
|
|
547
|
+
className: A(de.base, D.file)
|
|
548
548
|
}, /* @__PURE__ */ t.createElement(l.Files.File.Name, {
|
|
549
549
|
className: D.fileName
|
|
550
550
|
}), /* @__PURE__ */ t.createElement(l.Files.File.Spinner, {
|
|
@@ -554,11 +554,11 @@ const rt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
554
554
|
className: D.removeButton,
|
|
555
555
|
"aria-label": e("file-upload.delete-file.aria-label")
|
|
556
556
|
}, /* @__PURE__ */ t.createElement(lt, null)), /* @__PURE__ */ t.createElement(l.Files.File.Error, {
|
|
557
|
-
className:
|
|
557
|
+
className: A(me, Y.error, D.fileError)
|
|
558
558
|
}, /* @__PURE__ */ t.createElement(at, null), /* @__PURE__ */ t.createElement(l.Files.File.Error.Text, null)))), /* @__PURE__ */ t.createElement(l.Description, {
|
|
559
|
-
className:
|
|
559
|
+
className: A(ue, Y.description)
|
|
560
560
|
}, Ct), /* @__PURE__ */ t.createElement(l.Error, {
|
|
561
|
-
className:
|
|
561
|
+
className: A(me, Y.error)
|
|
562
562
|
}, /* @__PURE__ */ t.createElement(Oe, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)));
|
|
563
563
|
}, wt = () => /* @__PURE__ */ t.createElement(xt, null);
|
|
564
564
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { bj as C, bb as I, bg as P,
|
|
5
|
-
import { f as c, a as
|
|
6
|
-
import { f as
|
|
7
|
-
import { D as v, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
9
|
-
import { s as
|
|
4
|
+
import { bj as C, bb as I, bg as P, N, H as S, u as x } from "./form-D7mq5tD5.js";
|
|
5
|
+
import { f as c, a as R } from "./find-child-C60k4CxG.js";
|
|
6
|
+
import { f as O } from "./format-currency-BwShJ9vM.js";
|
|
7
|
+
import { D as v, E as M } from "./field-error-headless-BCrv3sBa.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-B54yFVkr.js";
|
|
9
|
+
import { s as F } from "./field-rac.module-DfEb7pBp.js";
|
|
10
10
|
const e = ({ children: r }) => {
|
|
11
11
|
var p;
|
|
12
12
|
const { id: a, validation: n, FieldLayout: l } = C(), { currency: o, regionalFormat: m } = I(), s = _(() => {
|
|
@@ -14,19 +14,19 @@ const e = ({ children: r }) => {
|
|
|
14
14
|
return (f = (E = (d = n == null ? void 0 : n.predefined) == null ? void 0 : d.paymentOptions) == null ? void 0 : E.products) == null ? void 0 : f[0];
|
|
15
15
|
}, [
|
|
16
16
|
n
|
|
17
|
-
]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, b = c(r, e.Label), y = c(r, e.Amount),
|
|
17
|
+
]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, b = c(r, e.Label), y = c(r, e.Amount), L = c(r, e.Description), D = c(r, e.Error);
|
|
18
18
|
return /* @__PURE__ */ t.createElement(l, {
|
|
19
19
|
fieldId: a,
|
|
20
20
|
renderLabel: () => b,
|
|
21
|
-
renderInput: () =>
|
|
21
|
+
renderInput: () => R(y, {
|
|
22
22
|
price: i,
|
|
23
23
|
currencyCode: o == null ? void 0 : o.code,
|
|
24
24
|
locale: m
|
|
25
25
|
}),
|
|
26
|
-
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D,
|
|
26
|
+
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, L)
|
|
27
27
|
});
|
|
28
|
-
},
|
|
29
|
-
const { price: n, currencyCode: l, locale: o } = a, { inputId: m, ariaDescribedBy: s } = P(), i =
|
|
28
|
+
}, T = ({ className: r, ...a }) => {
|
|
29
|
+
const { price: n, currencyCode: l, locale: o } = a, { inputId: m, ariaDescribedBy: s } = P(), i = O({
|
|
30
30
|
amount: n,
|
|
31
31
|
currency: l,
|
|
32
32
|
locale: o
|
|
@@ -37,25 +37,25 @@ const e = ({ children: r }) => {
|
|
|
37
37
|
className: r,
|
|
38
38
|
"data-hook": "fixed-payment-value"
|
|
39
39
|
}, i);
|
|
40
|
-
},
|
|
40
|
+
}, V = ({ className: r }) => /* @__PURE__ */ t.createElement(g, {
|
|
41
41
|
className: r
|
|
42
42
|
}, null);
|
|
43
|
-
e.Label =
|
|
44
|
-
e.Amount =
|
|
43
|
+
e.Label = V;
|
|
44
|
+
e.Amount = T;
|
|
45
45
|
e.Description = v;
|
|
46
46
|
e.Error = M;
|
|
47
|
-
const
|
|
48
|
-
value:
|
|
47
|
+
const B = "_value_c7203_1", j = {
|
|
48
|
+
value: B
|
|
49
49
|
}, k = ({ content: r, locale: a }) => /* @__PURE__ */ t.createElement(A, {
|
|
50
50
|
content: r,
|
|
51
51
|
locale: a
|
|
52
52
|
}), w = () => /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
|
|
53
|
-
className: u(N,
|
|
53
|
+
className: u(N, F.label)
|
|
54
54
|
}), /* @__PURE__ */ t.createElement(e.Amount, {
|
|
55
|
-
className: u(
|
|
55
|
+
className: u(S, j.value)
|
|
56
56
|
}), /* @__PURE__ */ t.createElement(e.Description, {
|
|
57
|
-
className: u(
|
|
58
|
-
}, k)),
|
|
57
|
+
className: u(x, F.description)
|
|
58
|
+
}, k)), Q = () => /* @__PURE__ */ t.createElement(w, null);
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
Q as FixedPaymentRAC
|
|
61
61
|
};
|
|
@@ -2188,7 +2188,7 @@ const oy = oe([]), Kt = () => ie(oy) || [], K = {
|
|
|
2188
2188
|
base: "form-field-dropdown-option",
|
|
2189
2189
|
selected: "form-field-dropdown-option--selected",
|
|
2190
2190
|
hover: "form-field-dropdown-option--hover"
|
|
2191
|
-
}, rf = "form-field-suggestion", Nf = "form-field-
|
|
2191
|
+
}, rf = "form-field-suggestion", Nf = "form-field-fixed-payment", yf = "form-field-radio-group", Ef = "form-field-radio-group-option-label", mf = {
|
|
2192
2192
|
key: K.RADIO_GROUP_RADIO_BUTTON,
|
|
2193
2193
|
parent: K.RADIO_GROUP,
|
|
2194
2194
|
base: "form-field-radio-group-radio-button",
|
|
@@ -7079,11 +7079,11 @@ const xy = async (e, a, t) => {
|
|
|
7079
7079
|
const [{ FormValidator: s }, { MultilineAddressToolkit: l }] = await Promise.all([
|
|
7080
7080
|
import(
|
|
7081
7081
|
/* webpackChunkName: "form-validator" */
|
|
7082
|
-
"./index-
|
|
7082
|
+
"./index-DNonwKkE.js"
|
|
7083
7083
|
),
|
|
7084
7084
|
import(
|
|
7085
7085
|
/* webpackChunkName: "form-multiline-address" */
|
|
7086
|
-
"./index-
|
|
7086
|
+
"./index-C6cdxkPM.js"
|
|
7087
7087
|
)
|
|
7088
7088
|
]);
|
|
7089
7089
|
if (a != null && a.length) {
|
|
@@ -9443,139 +9443,139 @@ async function Sk({ form: e, language: a, isEditor: t }) {
|
|
|
9443
9443
|
const kk = (e) => YT({
|
|
9444
9444
|
...e,
|
|
9445
9445
|
fields: e.formFields ?? e.fields
|
|
9446
|
-
}), Ck = (e) => e && su(II(e.map(kk))), Z = () => A.createElement("div", null, "not implemented"), Dk = k(() => import("./appointment-rac-
|
|
9446
|
+
}), Ck = (e) => e && su(II(e.map(kk))), Z = () => A.createElement("div", null, "not implemented"), Dk = k(() => import("./appointment-rac-DvzMuumV.js").then((e) => ({
|
|
9447
9447
|
default: e.AppointmentRAC
|
|
9448
|
-
}))), fk = k(() => import("./bookings-email-rac-
|
|
9448
|
+
}))), fk = k(() => import("./bookings-email-rac-CHvxtHcu.js").then((e) => ({
|
|
9449
9449
|
default: e.BookingsEmailRAC
|
|
9450
|
-
}))), Uk = k(() => import("./bookings-first-name-rac-
|
|
9450
|
+
}))), Uk = k(() => import("./bookings-first-name-rac-VAAhC_fg.js").then((e) => ({
|
|
9451
9451
|
default: e.BookingsFirstNameRAC
|
|
9452
|
-
}))), Pk = k(() => import("./bookings-last-name-rac-
|
|
9452
|
+
}))), Pk = k(() => import("./bookings-last-name-rac-B-aGMcD_.js").then((e) => ({
|
|
9453
9453
|
default: e.BookingsLastNameRAC
|
|
9454
|
-
}))), Mk = k(() => import("./bookings-login-bar-rac-
|
|
9454
|
+
}))), Mk = k(() => import("./bookings-login-bar-rac-3wYAN_xh.js").then((e) => ({
|
|
9455
9455
|
default: e.BookingsLoginBarRAC
|
|
9456
|
-
}))), Bk = k(() => import("./bookings-header-rac-
|
|
9456
|
+
}))), Bk = k(() => import("./bookings-header-rac-YWB4879A.js").then((e) => ({
|
|
9457
9457
|
default: e.BookingsHeaderRAC
|
|
9458
|
-
}))), Gk = k(() => import("./bookings-rich-text-rac-
|
|
9458
|
+
}))), Gk = k(() => import("./bookings-rich-text-rac-C5z9Gvts.js").then((e) => ({
|
|
9459
9459
|
default: e.BookingsRichTextRAC
|
|
9460
|
-
}))), hk = k(() => import("./checkbox-rac-
|
|
9460
|
+
}))), hk = k(() => import("./checkbox-rac-BnXI1EcE.js").then((e) => ({
|
|
9461
9461
|
default: e.CheckboxRAC
|
|
9462
|
-
}))), vk = k(() => import("./checkbox-group-rac-
|
|
9462
|
+
}))), vk = k(() => import("./checkbox-group-rac-C34O1zlM.js").then((e) => ({
|
|
9463
9463
|
default: e.CheckboxGroupRAC
|
|
9464
|
-
}))), gk = k(() => import("./contacts-address-rac-
|
|
9464
|
+
}))), gk = k(() => import("./contacts-address-rac-Ba57mGCo.js").then((e) => ({
|
|
9465
9465
|
default: e.ContactsAddressRAC
|
|
9466
|
-
}))), bk = k(() => import("./contacts-birthdate-rac-
|
|
9466
|
+
}))), bk = k(() => import("./contacts-birthdate-rac-lOtU_kNL.js").then((e) => ({
|
|
9467
9467
|
default: e.ContactsBirthdateRAC
|
|
9468
|
-
}))), Hk = k(() => import("./contacts-company-rac-
|
|
9468
|
+
}))), Hk = k(() => import("./contacts-company-rac-fzSYypTz.js").then((e) => ({
|
|
9469
9469
|
default: e.ContactsCompanyRAC
|
|
9470
|
-
}))), Kk = k(() => import("./contacts-email-rac-
|
|
9470
|
+
}))), Kk = k(() => import("./contacts-email-rac-kOu3zzAk.js").then((e) => ({
|
|
9471
9471
|
default: e.ContactsEmailRAC
|
|
9472
|
-
}))), Fk = k(() => import("./contacts-first-name-rac-
|
|
9472
|
+
}))), Fk = k(() => import("./contacts-first-name-rac-CwUDxtmS.js").then((e) => ({
|
|
9473
9473
|
default: e.ContactsFirstNameRAC
|
|
9474
|
-
}))), Vk = k(() => import("./contacts-last-name-rac-
|
|
9474
|
+
}))), Vk = k(() => import("./contacts-last-name-rac-DstG7QIk.js").then((e) => ({
|
|
9475
9475
|
default: e.ContactsLastNameRAC
|
|
9476
|
-
}))), wk = k(() => import("./contacts-position-rac-
|
|
9476
|
+
}))), wk = k(() => import("./contacts-position-rac-G-5pxT4U.js").then((e) => ({
|
|
9477
9477
|
default: e.ContactsPositionRAC
|
|
9478
|
-
}))), Yk = k(() => import("./contacts-tax-id-rac-
|
|
9478
|
+
}))), Yk = k(() => import("./contacts-tax-id-rac-CUwJltYa.js").then((e) => ({
|
|
9479
9479
|
default: e.ContactsTaxIdRAC
|
|
9480
|
-
}))), Wk = k(() => import("./contacts-subscribe-rac-
|
|
9480
|
+
}))), Wk = k(() => import("./contacts-subscribe-rac-hfjDjoZw.js").then((e) => ({
|
|
9481
9481
|
default: e.ContactsSubscribeRAC
|
|
9482
|
-
}))), zk = k(() => import("./date-input-rac-
|
|
9482
|
+
}))), zk = k(() => import("./date-input-rac-BSKV4JJO.js").then((e) => ({
|
|
9483
9483
|
default: e.DateInputRAC
|
|
9484
|
-
}))), $k = k(() => import("./date-picker-rac-
|
|
9484
|
+
}))), $k = k(() => import("./date-picker-rac-DlEVDz1X.js").then((e) => ({
|
|
9485
9485
|
default: e.DatePickerRAC
|
|
9486
|
-
}))), Xk = k(() => import("./date-time-input-rac-
|
|
9486
|
+
}))), Xk = k(() => import("./date-time-input-rac-Dvy_vn5y.js").then((e) => ({
|
|
9487
9487
|
default: e.DateTimeInputRAC
|
|
9488
|
-
}))), xk = k(() => import("./dext-text-input-rac-
|
|
9488
|
+
}))), xk = k(() => import("./dext-text-input-rac-BEls3cms.js").then((e) => ({
|
|
9489
9489
|
default: e.DextTextInputRAC
|
|
9490
|
-
}))), Zk = k(() => import("./dext-url-input-rac-
|
|
9490
|
+
}))), Zk = k(() => import("./dext-url-input-rac-CMAK9Qo6.js").then((e) => ({
|
|
9491
9491
|
default: e.DextUrlInputRAC
|
|
9492
|
-
}))), Jk = k(() => import("./dext-checkbox-rac-
|
|
9492
|
+
}))), Jk = k(() => import("./dext-checkbox-rac-D3FH0uIS.js").then((e) => ({
|
|
9493
9493
|
default: e.DextCheckboxRAC
|
|
9494
|
-
}))), Qk = k(() => import("./dext-checkbox-group-rac-
|
|
9494
|
+
}))), Qk = k(() => import("./dext-checkbox-group-rac-ydiyI0Ax.js").then((e) => ({
|
|
9495
9495
|
default: e.DextCheckboxGroupRAC
|
|
9496
|
-
}))), qk = k(() => import("./dext-tags-rac-
|
|
9496
|
+
}))), qk = k(() => import("./dext-tags-rac-C6iBGwg4.js").then((e) => ({
|
|
9497
9497
|
default: e.DextTagsRAC
|
|
9498
|
-
}))), jk = k(() => import("./dext-date-picker-rac-
|
|
9498
|
+
}))), jk = k(() => import("./dext-date-picker-rac-C4Xa4Mkn.js").then((e) => ({
|
|
9499
9499
|
default: e.DextDatePickerRAC
|
|
9500
|
-
}))), eC = k(() => import("./dext-date-time-input-rac-
|
|
9500
|
+
}))), eC = k(() => import("./dext-date-time-input-rac-DBUVJbqB.js").then((e) => ({
|
|
9501
9501
|
default: e.DextDateTimeInputRAC
|
|
9502
|
-
}))), aC = k(() => import("./dext-dropdown-rac-
|
|
9502
|
+
}))), aC = k(() => import("./dext-dropdown-rac-Ku5SxJci.js").then((e) => ({
|
|
9503
9503
|
default: e.DextDropdownRAC
|
|
9504
|
-
}))), tC = k(() => import("./dext-email-rac-
|
|
9504
|
+
}))), tC = k(() => import("./dext-email-rac-CdfesgKH.js").then((e) => ({
|
|
9505
9505
|
default: e.DextEmailRAC
|
|
9506
|
-
}))), sC = k(() => import("./dext-number-input-rac-
|
|
9506
|
+
}))), sC = k(() => import("./dext-number-input-rac-AmiEoijD.js").then((e) => ({
|
|
9507
9507
|
default: e.DextNumberInputRAC
|
|
9508
|
-
}))), lC = k(() => import("./dext-radio-group-rac-
|
|
9508
|
+
}))), lC = k(() => import("./dext-radio-group-rac-Bku-LoOz.js").then((e) => ({
|
|
9509
9509
|
default: e.DextRadioGroupRAC
|
|
9510
|
-
}))), oC = k(() => import("./dext-rating-input-rac-
|
|
9510
|
+
}))), oC = k(() => import("./dext-rating-input-rac-TxRgyMyp.js").then((e) => ({
|
|
9511
9511
|
default: e.DextRatingInputRAC
|
|
9512
|
-
}))), iC = k(() => import("./dext-text-area-rac-
|
|
9512
|
+
}))), iC = k(() => import("./dext-text-area-rac-BU0eyjM4.js").then((e) => ({
|
|
9513
9513
|
default: e.DextTextAreaRAC
|
|
9514
|
-
}))), dC = k(() => import("./donation-rac-
|
|
9514
|
+
}))), dC = k(() => import("./donation-rac-aGSBtE2T.js").then((e) => ({
|
|
9515
9515
|
default: e.DonationRAC
|
|
9516
|
-
}))), nC = k(() => import("./dropdown-rac-
|
|
9516
|
+
}))), nC = k(() => import("./dropdown-rac-BGQx3saK.js").then((e) => ({
|
|
9517
9517
|
default: e.DropdownRAC
|
|
9518
|
-
}))), cC = k(() => import("./ecom-subscription-checkbox-rac-
|
|
9518
|
+
}))), cC = k(() => import("./ecom-subscription-checkbox-rac-C9jnWaZl.js").then((e) => ({
|
|
9519
9519
|
default: e.EcomSubscriptionCheckboxRAC
|
|
9520
|
-
}))), rC = k(() => import("./events-repeater-rac-
|
|
9520
|
+
}))), rC = k(() => import("./events-repeater-rac-BHz0azrh.js").then((e) => ({
|
|
9521
9521
|
default: e.EventsRepeaterRAC
|
|
9522
|
-
}))), NC = k(() => import("./events-rsvp-rac-
|
|
9522
|
+
}))), NC = k(() => import("./events-rsvp-rac-BgtEivuD.js").then((e) => ({
|
|
9523
9523
|
default: e.EventsRsvpRAC
|
|
9524
|
-
}))), yC = k(() => import("./file-upload-rac-
|
|
9524
|
+
}))), yC = k(() => import("./file-upload-rac-Cg8Z8lhS.js").then((e) => ({
|
|
9525
9525
|
default: e.FileUploadRAC
|
|
9526
|
-
}))), EC = k(() => import("./fixed-payment-rac-
|
|
9526
|
+
}))), EC = k(() => import("./fixed-payment-rac-B3uuRmES.js").then((e) => ({
|
|
9527
9527
|
default: e.FixedPaymentRAC
|
|
9528
|
-
}))), mC = k(() => import("./header-rac-
|
|
9528
|
+
}))), mC = k(() => import("./header-rac-CRghbywI.js").then((e) => ({
|
|
9529
9529
|
default: e.HeaderRAC
|
|
9530
|
-
}))), AC = k(() => import("./image-choice-rac-
|
|
9530
|
+
}))), AC = k(() => import("./image-choice-rac-nCRaXrH5.js").then((e) => ({
|
|
9531
9531
|
default: e.ImageChoiceRAC
|
|
9532
|
-
}))), uC = k(() => import("./number-input-rac-
|
|
9532
|
+
}))), uC = k(() => import("./number-input-rac-C5yMyFyv.js").then((e) => ({
|
|
9533
9533
|
default: e.NumberInputRAC
|
|
9534
|
-
}))), TC = k(() => import("./password-rac-
|
|
9534
|
+
}))), TC = k(() => import("./password-rac-jHDFxH5W.js").then((e) => ({
|
|
9535
9535
|
default: e.PasswordRAC
|
|
9536
|
-
}))), pC = k(() => import("./payment-input-rac-
|
|
9536
|
+
}))), pC = k(() => import("./payment-input-rac-Cpw8VM0u.js").then((e) => ({
|
|
9537
9537
|
default: e.PaymentInputRAC
|
|
9538
|
-
}))), OC = k(() => import("./product-list-rac-
|
|
9538
|
+
}))), OC = k(() => import("./product-list-rac-DR2bHVkk.js").then((e) => ({
|
|
9539
9539
|
default: e.ProductListRAC
|
|
9540
|
-
}))), RC = k(() => import("./quiz-radio-group-rac-
|
|
9540
|
+
}))), RC = k(() => import("./quiz-radio-group-rac-mWuYJqRQ.js").then((e) => ({
|
|
9541
9541
|
default: e.QuizRadioGroupRAC
|
|
9542
|
-
}))), IC = k(() => import("./radio-group-rac-
|
|
9542
|
+
}))), IC = k(() => import("./radio-group-rac-FdQp_E1O.js").then((e) => ({
|
|
9543
9543
|
default: e.RadioGroupRAC
|
|
9544
|
-
}))), _C = k(() => import("./rating-input-rac-
|
|
9544
|
+
}))), _C = k(() => import("./rating-input-rac-D4C1bB-A.js").then((e) => ({
|
|
9545
9545
|
default: e.RatingInputRAC
|
|
9546
|
-
}))), LC = k(() => import("./rich-text-rac-
|
|
9546
|
+
}))), LC = k(() => import("./rich-text-rac-CDzSg_7O.js").then((e) => ({
|
|
9547
9547
|
default: e.RichTextRAC
|
|
9548
|
-
}))), SC = k(() => import("./service-dropdown-rac-
|
|
9548
|
+
}))), SC = k(() => import("./service-dropdown-rac-rdwYVwGB.js").then((e) => ({
|
|
9549
9549
|
default: e.ServiceDropdownRAC
|
|
9550
|
-
}))), kC = k(() => import("./services-multi-choice-rac-
|
|
9550
|
+
}))), kC = k(() => import("./services-multi-choice-rac-DOO6HYgT.js").then((e) => ({
|
|
9551
9551
|
default: e.ServicesMultiChoiceRAC
|
|
9552
|
-
}))), CC = k(() => import("./signature-rac-
|
|
9552
|
+
}))), CC = k(() => import("./signature-rac-CBh4_hf-.js").then((e) => ({
|
|
9553
9553
|
default: e.SignatureRAC
|
|
9554
|
-
}))), DC = k(() => import("./submit-button-rac-
|
|
9554
|
+
}))), DC = k(() => import("./submit-button-rac-B8ZNvJjY.js").then((e) => ({
|
|
9555
9555
|
default: e.SubmitButtonRAC
|
|
9556
|
-
}))), fC = k(() => import("./tags-rac-
|
|
9556
|
+
}))), fC = k(() => import("./tags-rac-C8wN2xTn.js").then((e) => ({
|
|
9557
9557
|
default: e.TagsRAC
|
|
9558
|
-
}))), UC = k(() => import("./text-area-rac-
|
|
9558
|
+
}))), UC = k(() => import("./text-area-rac-CCTd5x7u.js").then((e) => ({
|
|
9559
9559
|
default: e.TextAreaRAC
|
|
9560
|
-
}))), PC = k(() => import("./text-input-rac-
|
|
9560
|
+
}))), PC = k(() => import("./text-input-rac-BFRe44DM.js").then((e) => ({
|
|
9561
9561
|
default: e.TextInputRAC
|
|
9562
|
-
}))), MC = k(() => import("./time-input-rac-
|
|
9562
|
+
}))), MC = k(() => import("./time-input-rac-D6FsrMxb.js").then((e) => ({
|
|
9563
9563
|
default: e.TimeInputRAC
|
|
9564
|
-
}))), BC = k(() => import("./url-input-rac-
|
|
9564
|
+
}))), BC = k(() => import("./url-input-rac-C1pAmfj-.js").then((e) => ({
|
|
9565
9565
|
default: e.UrlInputRAC
|
|
9566
|
-
}))), GC = k(() => import("./multiline-address-rac-
|
|
9566
|
+
}))), GC = k(() => import("./multiline-address-rac-g1IrapIk.js").then((e) => ({
|
|
9567
9567
|
default: e.MultilineAddressRAC
|
|
9568
|
-
}))), hC = k(() => import("./bookings-address-rac-
|
|
9568
|
+
}))), hC = k(() => import("./bookings-address-rac-DoTKdj4W.js").then((e) => ({
|
|
9569
9569
|
default: e.BookingsAddressRAC
|
|
9570
|
-
}))), vC = k(() => import("./ecom-address-rac-
|
|
9570
|
+
}))), vC = k(() => import("./ecom-address-rac-BgkdVaiI.js").then((e) => ({
|
|
9571
9571
|
default: e.EcomAddressRAC
|
|
9572
|
-
}))), gC = k(() => import("./phone-rac-
|
|
9572
|
+
}))), gC = k(() => import("./phone-rac-DK5Toq-q.js").then((e) => ({
|
|
9573
9573
|
default: e.PhoneRAC
|
|
9574
|
-
}))), bC = k(() => import("./contacts-phone-rac-
|
|
9574
|
+
}))), bC = k(() => import("./contacts-phone-rac-DbDYtB90.js").then((e) => ({
|
|
9575
9575
|
default: e.ContactsPhoneRAC
|
|
9576
|
-
}))), HC = k(() => import("./bookings-phone-rac-
|
|
9576
|
+
}))), HC = k(() => import("./bookings-phone-rac-CzQVxpNK.js").then((e) => ({
|
|
9577
9577
|
default: e.BookingsPhoneRAC
|
|
9578
|
-
}))), KC = k(() => import("./dext-phone-rac-
|
|
9578
|
+
}))), KC = k(() => import("./dext-phone-rac-BqiNW-E2.js").then((e) => ({
|
|
9579
9579
|
default: e.DextPhoneRAC
|
|
9580
9580
|
}))), FC = {
|
|
9581
9581
|
[N.APPOINTMENT]: Dk,
|
|
@@ -9832,13 +9832,13 @@ export {
|
|
|
9832
9832
|
h as E,
|
|
9833
9833
|
N as F,
|
|
9834
9834
|
$D as G,
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9835
|
+
Nf as H,
|
|
9836
|
+
Uf as I,
|
|
9837
|
+
Pf as J,
|
|
9838
|
+
Mf as K,
|
|
9839
|
+
hf as L,
|
|
9840
|
+
XD as M,
|
|
9841
|
+
YD as N,
|
|
9842
9842
|
df as O,
|
|
9843
9843
|
If as P,
|
|
9844
9844
|
Sf as Q,
|
package/dist/component/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bj as u, aX as i, aW as C, aZ as R, aw as T, ae as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { bj as u, aX as i, aW as C, aZ as R, aw as T, ae as d } from "./form-D7mq5tD5.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-CDtZ3pmh.js";
|
|
5
5
|
const y = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import e, { useMemo as
|
|
1
|
+
import e, { useMemo as H, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { bj as b, bg as x, bl as P, bc as B,
|
|
5
|
-
import { CheckboxGroup as
|
|
4
|
+
import { bj as b, bg as x, bl as P, bc as B, N as q, Y as U, I as w, K, G as V, u as Y, J as j, f } from "./form-D7mq5tD5.js";
|
|
5
|
+
import { CheckboxGroup as z, CheckboxField as J, CheckboxButton as Q } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as $, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as $, g as W } from "./field-label-headless-B54yFVkr.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-BCrv3sBa.js";
|
|
9
9
|
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-DfEb7pBp.js";
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
13
13
|
const o = ({ children: t, className: n }) => {
|
|
14
|
-
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: R } = x(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description),
|
|
14
|
+
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: R } = x(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description), h = m(t, o.Error), M = H(() => a || [], [
|
|
15
15
|
a
|
|
16
|
-
]), v = T((
|
|
17
|
-
i == null || i(
|
|
16
|
+
]), v = T((y) => {
|
|
17
|
+
i == null || i(y);
|
|
18
18
|
}, [
|
|
19
19
|
i
|
|
20
20
|
]);
|
|
@@ -28,17 +28,17 @@ const o = ({ children: t, className: n }) => {
|
|
|
28
28
|
required: c,
|
|
29
29
|
onBlur: u,
|
|
30
30
|
onFocus: p
|
|
31
|
-
}, /* @__PURE__ */ e.createElement(
|
|
31
|
+
}, /* @__PURE__ */ e.createElement(z, {
|
|
32
32
|
className: n,
|
|
33
33
|
"aria-labelledby": _,
|
|
34
|
-
value:
|
|
34
|
+
value: M,
|
|
35
35
|
onChange: v,
|
|
36
36
|
isDisabled: l,
|
|
37
37
|
isReadOnly: r,
|
|
38
38
|
isRequired: c,
|
|
39
39
|
isInvalid: C
|
|
40
40
|
}, A)),
|
|
41
|
-
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
41
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, D)
|
|
42
42
|
});
|
|
43
43
|
}, N = ({ children: t, className: n }) => {
|
|
44
44
|
const { id: s, options: a, numberOfColumns: i } = b(), l = m(t, N.Option);
|
|
@@ -86,7 +86,7 @@ const o = ({ children: t, className: n }) => {
|
|
|
86
86
|
}));
|
|
87
87
|
}, l);
|
|
88
88
|
const C = m(t, E.Input), L = m(t, E.Image), g = m(t, E.Label);
|
|
89
|
-
return /* @__PURE__ */ e.createElement(
|
|
89
|
+
return /* @__PURE__ */ e.createElement(J, {
|
|
90
90
|
value: a.label,
|
|
91
91
|
isDisabled: r,
|
|
92
92
|
isReadOnly: c,
|
|
@@ -127,7 +127,7 @@ const le = "_options_9rde9_1", ie = "_optionInput_9rde9_33", re = "_option_9rde9
|
|
|
127
127
|
hover: d.optionHover
|
|
128
128
|
}, Ie = () => {
|
|
129
129
|
const t = oe({
|
|
130
|
-
globalClasses:
|
|
130
|
+
globalClasses: j,
|
|
131
131
|
moduleClasses: ue
|
|
132
132
|
}), n = B(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
|
|
133
133
|
return /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(o.Label, {
|
|
@@ -141,13 +141,13 @@ const le = "_options_9rde9_1", ie = "_optionInput_9rde9_33", re = "_option_9rde9
|
|
|
141
141
|
}, /* @__PURE__ */ e.createElement(o.Options.Option.Input, {
|
|
142
142
|
className: d.optionInput
|
|
143
143
|
}), /* @__PURE__ */ e.createElement(o.Options.Option.Image, {
|
|
144
|
-
className: I(
|
|
144
|
+
className: I(K, d.optionImage, n)
|
|
145
145
|
}), /* @__PURE__ */ e.createElement(o.Options.Option.Label, {
|
|
146
146
|
className: d.optionLabel
|
|
147
147
|
}))), /* @__PURE__ */ e.createElement(o.Error, {
|
|
148
|
-
className: I(
|
|
148
|
+
className: I(V, O.error)
|
|
149
149
|
}, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
|
|
150
|
-
className: I(
|
|
150
|
+
className: I(Y, O.description)
|
|
151
151
|
}, Ee));
|
|
152
152
|
}, De = () => /* @__PURE__ */ e.createElement(Ie, null);
|
|
153
153
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b2 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, ax as g, aO as q, aP as D, b4 as L } from "./form-
|
|
1
|
+
import { b2 as n } from "./form-D7mq5tD5.js";
|
|
2
|
+
import { A as S, a as p, C as N, ax as g, aO as q, aP as D, b4 as L } from "./form-D7mq5tD5.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aE as _, aT as de, aF as O, ak as Ge, B as Be, ay as qe, ar as He, aq as A, az as Ee, aI as re, aC as Fe, c as B, as as M, b3 as Te, au as je, at as he, av as q } from "./form-
|
|
2
|
-
import { a_ as Mn } from "./form-
|
|
1
|
+
import { e as R, aE as _, aT as de, aF as O, ak as Ge, B as Be, ay as qe, ar as He, aq as A, az as Ee, aI as re, aC as Fe, c as B, as as M, b3 as Te, au as je, at as he, av as q } from "./form-D7mq5tD5.js";
|
|
2
|
+
import { a_ as Mn } from "./form-D7mq5tD5.js";
|
|
3
3
|
import ke from "ajv";
|
|
4
4
|
import Xe 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-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-CwlAp1DX.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-CwlAp1DX.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -2,21 +2,21 @@ import { RicosViewer as X } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import r, { useMemo as q, createContext as Ue, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as Pe } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as Pt } from "react-aria";
|
|
5
|
-
import { be as ft, d as yt, b9 as _t, bb as Ct, aO as Tt, aP as wt, aH as Mt, aN as W, F as K, bt as _e, b2 as lt, bj as _, bg as T, bl as ae, bf as It, aT as qt, C as Oe, b0 as xt, b4 as Bt, bq as kt, bk as $t, bp as Vt, b7 as Ut, aY as Wt, b6 as Kt, bm as Yt, an as Ht,
|
|
5
|
+
import { be as ft, d as yt, b9 as _t, bb as Ct, aO as Tt, aP as wt, aH as Mt, aN as W, F as K, bt as _e, b2 as lt, bj as _, bg as T, bl as ae, bf as It, aT as qt, C as Oe, b0 as xt, b4 as Bt, bq as kt, bk as $t, bp as Vt, b7 as Ut, aY as Wt, b6 as Kt, bm as Yt, an as Ht, N as z, Y as Q, O as ge, G as Z, u as ee } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { f as E, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { a as Gt, u as Xt } from "./use-dropdown-trigger-class-name-
|
|
8
|
+
import { a as Gt, u as Xt } from "./use-dropdown-trigger-class-name-_gAS-eDg.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as We, ComboBox as he, Popover as De, ListBox as Te, ListBoxItem as Se, Group as Lt, Button as Nt } from "react-aria-components";
|
|
10
|
-
import { D as ie, E as ce } from "./field-error-headless-
|
|
11
|
-
import { L as de } from "./field-label-headless-
|
|
12
|
-
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-
|
|
13
|
-
import { V as en, u as tn } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-BCrv3sBa.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-B54yFVkr.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-PXbsarQL.js";
|
|
13
|
+
import { V as en, u as tn } from "./use-dropdown-option-class-name-DNvaYrmm.js";
|
|
14
14
|
import { u as nn } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as it } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as we } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as I } from "./field-rac.module-DfEb7pBp.js";
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
20
20
|
const on = (e, t, o) => {
|
|
21
21
|
var a, l, i, s;
|
|
22
22
|
const n = (a = e.steps) == null ? void 0 : a.map((d) => {
|