@riverbankcms/sdk 0.178.0 → 0.179.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/README.md +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
- package/dist/_dts/{Page-C9i27wZA.d.ts → Page-lWenra5i.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
- package/dist/_dts/{client-BnYN6XsH.d.ts → client-qWn7xAwJ.d.ts} +47 -17
- package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
- package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
- package/dist/_dts/{index-DCa-8TEY.d.ts → index-7CDBZGb-.d.ts} +1 -1
- package/dist/_dts/{index-CKDRr54L.d.ts → index-BU9uAkHB.d.ts} +4 -4
- package/dist/_dts/{index-D9-N1d9v.d.ts → index-BYnG_vF5.d.ts} +1 -1
- package/dist/_dts/{index-nnEdgc3Z.d.ts → index-CZgJrhzT.d.ts} +4 -2
- package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CaCum9mM.d.ts} +2 -2
- package/dist/_dts/{index-0HFgCnGz.d.ts → index-DCiSHd-C.d.ts} +1 -1
- package/dist/_dts/{index-BE9dWIsr.d.ts → index-DVSipdrT.d.ts} +3 -3
- package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
- package/dist/_dts/{request-B20VRWHH.d.ts → request-BjKBCS7t.d.ts} +1201 -335
- package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +7 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +16 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
- package/dist/_dts/{types-rm2M4LGx.d.ts → types-B7e6Lmo5.d.ts} +3 -3
- package/dist/_dts/{types-CYcd15BQ.d.ts → types-BOxSq-Bq.d.ts} +8 -7
- package/dist/_dts/{types-CMZ5mkpv.d.ts → types-CT-KOxl_.d.ts} +5 -39
- package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-Dz6qccue.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +42 -9
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
- package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-yoSI77ov.mjs} +10 -10
- package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-HeCNlliq.mjs} +10 -10
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-Duhk1vnF.mjs} +247 -7
- package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
- package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
- package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
- package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +189 -111
- package/dist/client/{Page-DqETUt-U.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
- package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-2Dl9zon2.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-B6SqU49k.mjs} +1 -1
- package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
- package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-drZBwEZW.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
- package/dist/client/{carousel-B3UhbFu7.mjs → carousel-C-YJliD-.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-DzOJfYOR.mjs → cart-acGFWK9R.mjs} +3 -3
- package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-BzlOGP2j.mjs} +1 -1
- package/dist/client/{checkout-LmePoEgM.mjs → checkout-SEontwhy.mjs} +3 -3
- package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
- package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
- package/dist/client/client.mjs +414 -319
- package/dist/client/{context-CJIz4FdL.mjs → context-DTrwaQtg.mjs} +2 -1
- package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
- package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-RLZQWi2V.mjs} +13 -13
- package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-CphYnImh.mjs} +4 -4
- package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-BvqjASB_.mjs} +4 -4
- package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-BaNAoC_M.mjs} +4 -4
- package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BBBtRwvy.mjs → form-DyH2juYT.mjs} +3 -3
- package/dist/client/{form.client-CZeRQLGF.mjs → form.client-DBwzkB0M.mjs} +5 -5
- package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CY4kX3mh.mjs} +3 -3
- package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-CTEN7gxW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -6
- package/dist/client/{gifting-Di9-SpwW.mjs → gifting-CIx4V378.mjs} +4 -4
- package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
- package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
- package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-DGcJfRS8.mjs} +2 -2
- package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
- package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
- package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3975 -3975
- package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
- package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
- package/dist/client/portal/client.mjs +9 -9
- package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
- package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
- package/dist/client/{productDetail-gxF5whea.mjs → productDetail-DjuFvkey.mjs} +3 -3
- package/dist/client/{productList-B9t0XJrN.mjs → productList-DE9GEFoZ.mjs} +3 -3
- package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
- package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-BPwV-0Pp.mjs} +10420 -9108
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-D1oTPDxm.mjs → shop-C3wM0Hr4.mjs} +3 -3
- package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
- package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
- package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-C0v88nLd.mjs} +14 -14
- package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-Ct-BRNez.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-D11X-B6n.mjs → src-CCtanNlD.mjs} +317 -342
- package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-lhE29TNT.mjs} +65 -11
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
- package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
- package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
- package/dist/client/{view-bGU1ws-m.mjs → view-LJVHVqsy.mjs} +4 -4
- package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CNDsxeJH.mjs} +8935 -8913
- package/dist/preview-next/before-render.mjs +4 -3
- package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +5 -5
- package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-aqpU34WI.mjs} +627 -498
- package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-DnL-FgSV.mjs} +28 -10
- package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-BEbq6EwO.mjs} +4 -4
- package/dist/server/{bindings-DrbJuftt.mjs → bindings-Bly0dRs7.mjs} +36 -5
- package/dist/server/{client-Bf06n9oj.mjs → client-CGJ2ztYp.mjs} +1449 -1600
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
- package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-DTLe0FEs.mjs} +22 -4
- package/dist/server/next.mjs +54 -94
- package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-JzxBnqfV.mjs} +7 -2
- package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
- package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-DU4ETFPS.mjs} +8 -50
- package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-8jNtDXmS.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
- package/dist/server/{registry-D12XF_h1.mjs → registry-DH1VrsCl.mjs} +122 -19
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
- package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
- package/dist/server/{validation-CLq5cw6M.mjs → validation-3jOzYdPL.mjs} +3 -3
- package/dist/server/{version-oPbhAx8E.mjs → version-8t0o6_jd.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
- package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
- package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
- package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
- package/dist/client/course-DBEU9IA9.mjs +0 -244
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
- package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
- package/dist/client/view-DNX59QwM.mjs +0 -1372
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
|
package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-CDBU31xW.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { l as verifiedSiteTermsAcceptanceSchema, t as assertNever } from "./src-CCtanNlD.mjs";
|
|
3
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-DTrwaQtg.mjs";
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-BZPLCgTU.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
7
|
import { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-DCO1lErD.mjs";
|
|
3
|
+
import { Ar as resolveEventRegistrationScopedEvents, Br as resolveSelectionBookingClosedDetail, Er as closedDateCopy, Fr as planOrdinarySeriesSelection, Ir as planWholeSeriesParentBooking, Jo as resolveWholeSeriesBookingPhase, Lr as planWholeSeriesParentSelection, Mr as getPublicEventCanonicalPath, Nr as isOrdinaryPublicEvent, Or as normalizeEventRegistrationPageSurfaceSubject, Pr as planDropInPanel, Rr as planWholeSeriesRunSelection, Tr as closedRunCopy, Ua as eventDateOptions, Vr as selectionRepresentativeEvent, _a as bookingPresentation, jr as eventOccurrenceContext, qo as orderedLiveRunSessions, wr as closedDatesCopy } from "./wizardSteps-CNDsxeJH.mjs";
|
|
4
|
+
import { Kt as formatDate, pn as toUtcIsoDateTimeString } from "./src-CCtanNlD.mjs";
|
|
5
5
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
7
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
8
|
-
import { n as
|
|
6
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-DEh45w16.mjs";
|
|
7
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
|
|
8
|
+
import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-JQA-VuEH.mjs";
|
|
9
9
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
10
10
|
import React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { _a as bookingPresentation } from "./wizardSteps-CNDsxeJH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
|
|
6
|
+
/** The `[data-arrangement]` ancestor skin card rules need around an in-place booking panel. */
|
|
7
|
+
function BookingPanelArrangement({ pageKind, children }) {
|
|
8
|
+
const attributes = bookingPresentation(pageKind).arrangementAttributes;
|
|
9
|
+
return attributes ? /* @__PURE__ */ jsx("div", {
|
|
10
|
+
...attributes,
|
|
11
|
+
children
|
|
12
|
+
}) : /* @__PURE__ */ jsx(Fragment, { children });
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
5
15
|
//#region ../blocks/src/system/runtime/shared/components/StepIndicator.tsx
|
|
6
16
|
function slotClasses(slot, classPrefix, emitSharedClasses) {
|
|
7
17
|
return [emitSharedClasses ? `rb-${slot}` : null, classPrefix ? `${classPrefix}-${slot}` : null].filter((name) => name !== null).join(" ");
|
|
@@ -44,14 +54,4 @@ function StepIndicator({ currentStep, totalSteps, stepLabels, classPrefix, emitS
|
|
|
44
54
|
});
|
|
45
55
|
}
|
|
46
56
|
//#endregion
|
|
47
|
-
|
|
48
|
-
/** The `[data-arrangement]` ancestor skin card rules need around an in-place booking panel. */
|
|
49
|
-
function BookingPanelArrangement({ pageKind, children }) {
|
|
50
|
-
const attributes = bookingPresentation(pageKind).arrangementAttributes;
|
|
51
|
-
return attributes ? /* @__PURE__ */ jsx("div", {
|
|
52
|
-
...attributes,
|
|
53
|
-
children
|
|
54
|
-
}) : /* @__PURE__ */ jsx(Fragment, { children });
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
export { StepIndicator as n, BookingPanelArrangement as t };
|
|
57
|
+
export { BookingPanelArrangement as n, StepIndicator as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { S as clsx } from "./ThemedButton-
|
|
2
|
+
import { S as clsx } from "./ThemedButton-CnSa7o-I.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as buttonVariantIdSchema, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-
|
|
2
|
+
import { d as buttonVariantIdSchema, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-BEaKfam_.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../theme-core/src/buttons/affordanceSuppression.ts
|
|
@@ -79,6 +79,70 @@ function clsx() {
|
|
|
79
79
|
return n;
|
|
80
80
|
}
|
|
81
81
|
//#endregion
|
|
82
|
+
//#region ../blocks/src/system/runtime/nodes/spinner.tsx
|
|
83
|
+
function resolveColorStyle(color) {
|
|
84
|
+
switch (color) {
|
|
85
|
+
case void 0: return;
|
|
86
|
+
case "inherit": return { color: "inherit" };
|
|
87
|
+
case "foreground": return { color: "rgb(var(--tb-foreground))" };
|
|
88
|
+
case "text": return { color: "rgb(var(--tb-text))" };
|
|
89
|
+
default: return;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function SpinnerNode({ className, size = "md", color, strokeWidth = 3, srLabel, style, ...rest }) {
|
|
93
|
+
const hasExplicitAriaLabel = typeof rest["aria-label"] === "string" && rest["aria-label"].trim().length > 0;
|
|
94
|
+
const accessibilityProps = srLabel ? {
|
|
95
|
+
role: "status",
|
|
96
|
+
"aria-live": "polite"
|
|
97
|
+
} : hasExplicitAriaLabel ? {} : { "aria-hidden": true };
|
|
98
|
+
const trackStroke = color === "inherit" ? "currentColor" : "var(--rb-spinner-track-color)";
|
|
99
|
+
const trackOpacity = color === "inherit" ? .25 : 1;
|
|
100
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
101
|
+
...accessibilityProps,
|
|
102
|
+
className: clsx("rb-spinner", size ? `rb-spinner--${size}` : null, color === "inherit" ? "rb-spinner--inherit" : null, className),
|
|
103
|
+
style: {
|
|
104
|
+
...resolveColorStyle(color),
|
|
105
|
+
...style ?? {}
|
|
106
|
+
},
|
|
107
|
+
...rest,
|
|
108
|
+
children: [/* @__PURE__ */ jsxs("svg", {
|
|
109
|
+
viewBox: "0 0 24 24",
|
|
110
|
+
fill: "none",
|
|
111
|
+
"aria-hidden": "true",
|
|
112
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
113
|
+
cx: "12",
|
|
114
|
+
cy: "12",
|
|
115
|
+
r: "10",
|
|
116
|
+
stroke: trackStroke,
|
|
117
|
+
strokeWidth,
|
|
118
|
+
opacity: trackOpacity
|
|
119
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
120
|
+
d: "M12 2a10 10 0 0 1 10 10",
|
|
121
|
+
stroke: "currentColor",
|
|
122
|
+
strokeWidth,
|
|
123
|
+
strokeLinecap: "round"
|
|
124
|
+
})]
|
|
125
|
+
}), srLabel ? /* @__PURE__ */ jsx("span", {
|
|
126
|
+
className: "rb-sr-only",
|
|
127
|
+
children: srLabel
|
|
128
|
+
}) : null]
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region ../blocks/src/system/runtime/nodes/buttonAffordance.ts
|
|
133
|
+
function normalize(value) {
|
|
134
|
+
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
135
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Resolve the node-authored trailing affordance, or `null` when no icon exists.
|
|
139
|
+
*/
|
|
140
|
+
function resolveButtonAffordance(input) {
|
|
141
|
+
const nodeIcon = normalize(input.trailingIcon);
|
|
142
|
+
if (nodeIcon) return { iconId: nodeIcon };
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
82
146
|
//#region ../blocks/src/system/icons/svg.tsx
|
|
83
147
|
function createIcon(displayName, children) {
|
|
84
148
|
const Icon = ({ size = "1em", strokeWidth = 2, title, className, focusable = false, role, ...props }) => /* @__PURE__ */ jsxs("svg", {
|
|
@@ -383,70 +447,6 @@ const UsersIcon = createIcon("UsersIcon", /* @__PURE__ */ jsxs(Fragment, { child
|
|
|
383
447
|
const WrenchIcon = createIcon("WrenchIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M14.7 6.3A5 5 0 0 0 7 12.6L3.5 16a2.1 2.1 0 0 0 3 3L10 15.5A5 5 0 0 0 16.7 9Z" }), /* @__PURE__ */ jsx("path", { d: "m15 5 4 4" })] }));
|
|
384
448
|
const XIcon = createIcon("XIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })] }));
|
|
385
449
|
//#endregion
|
|
386
|
-
//#region ../blocks/src/system/runtime/nodes/spinner.tsx
|
|
387
|
-
function resolveColorStyle(color) {
|
|
388
|
-
switch (color) {
|
|
389
|
-
case void 0: return;
|
|
390
|
-
case "inherit": return { color: "inherit" };
|
|
391
|
-
case "foreground": return { color: "rgb(var(--tb-foreground))" };
|
|
392
|
-
case "text": return { color: "rgb(var(--tb-text))" };
|
|
393
|
-
default: return;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
function SpinnerNode({ className, size = "md", color, strokeWidth = 3, srLabel, style, ...rest }) {
|
|
397
|
-
const hasExplicitAriaLabel = typeof rest["aria-label"] === "string" && rest["aria-label"].trim().length > 0;
|
|
398
|
-
const accessibilityProps = srLabel ? {
|
|
399
|
-
role: "status",
|
|
400
|
-
"aria-live": "polite"
|
|
401
|
-
} : hasExplicitAriaLabel ? {} : { "aria-hidden": true };
|
|
402
|
-
const trackStroke = color === "inherit" ? "currentColor" : "var(--rb-spinner-track-color)";
|
|
403
|
-
const trackOpacity = color === "inherit" ? .25 : 1;
|
|
404
|
-
return /* @__PURE__ */ jsxs("span", {
|
|
405
|
-
...accessibilityProps,
|
|
406
|
-
className: clsx("rb-spinner", size ? `rb-spinner--${size}` : null, color === "inherit" ? "rb-spinner--inherit" : null, className),
|
|
407
|
-
style: {
|
|
408
|
-
...resolveColorStyle(color),
|
|
409
|
-
...style ?? {}
|
|
410
|
-
},
|
|
411
|
-
...rest,
|
|
412
|
-
children: [/* @__PURE__ */ jsxs("svg", {
|
|
413
|
-
viewBox: "0 0 24 24",
|
|
414
|
-
fill: "none",
|
|
415
|
-
"aria-hidden": "true",
|
|
416
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
417
|
-
cx: "12",
|
|
418
|
-
cy: "12",
|
|
419
|
-
r: "10",
|
|
420
|
-
stroke: trackStroke,
|
|
421
|
-
strokeWidth,
|
|
422
|
-
opacity: trackOpacity
|
|
423
|
-
}), /* @__PURE__ */ jsx("path", {
|
|
424
|
-
d: "M12 2a10 10 0 0 1 10 10",
|
|
425
|
-
stroke: "currentColor",
|
|
426
|
-
strokeWidth,
|
|
427
|
-
strokeLinecap: "round"
|
|
428
|
-
})]
|
|
429
|
-
}), srLabel ? /* @__PURE__ */ jsx("span", {
|
|
430
|
-
className: "rb-sr-only",
|
|
431
|
-
children: srLabel
|
|
432
|
-
}) : null]
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
//#endregion
|
|
436
|
-
//#region ../blocks/src/system/runtime/nodes/buttonAffordance.ts
|
|
437
|
-
function normalize(value) {
|
|
438
|
-
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
439
|
-
return trimmed.length > 0 ? trimmed : null;
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Resolve the node-authored trailing affordance, or `null` when no icon exists.
|
|
443
|
-
*/
|
|
444
|
-
function resolveButtonAffordance(input) {
|
|
445
|
-
const nodeIcon = normalize(input.trailingIcon);
|
|
446
|
-
if (nodeIcon) return { iconId: nodeIcon };
|
|
447
|
-
return null;
|
|
448
|
-
}
|
|
449
|
-
//#endregion
|
|
450
450
|
//#region ../blocks/src/system/icons/cta.ts
|
|
451
451
|
/**
|
|
452
452
|
* Curated icon set for CTA/button icons.
|
|
@@ -1403,4 +1403,4 @@ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disa
|
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
//#endregion
|
|
1406
|
-
export { parseThemeButtonVariantId as C, clsx as S, AFFORDANCE_SUPPRESS_CLASS as T,
|
|
1406
|
+
export { parseThemeButtonVariantId as C, clsx as S, AFFORDANCE_SUPPRESS_CLASS as T, FileSpreadsheetIcon as _, ThemedDownloadLink as a, PlusIcon as b, isSemanticIconId as c, CircleMinusIcon as d, CirclePlusIcon as f, FileAudioIcon as g, FileArchiveIcon as h, ThemedButtonLink as i, ArrowDownIcon as l, ExternalLinkIcon as m, ThemedAuthoredButton as n, ThemedFileChooser as o, ClockIcon as p, ThemedButton as r, getIconComponent as s, ThemedActionsButton as t, ChevronDownIcon as u, FileTextIcon as v, themeButtonSelector as w, SpinnerNode as x, MinusIcon as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
|
|
3
|
-
import { C as
|
|
3
|
+
import { C as paletteModeSchema, O as VARIANT_ROLES, T as parseThemeColorToken, _ as hexColorSchema, c as buttonEffectApplicationSchema, h as PALETTE_TOKEN_NAMES, m as parseOpaqueButtonColourToken, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, w as parseColorTokenParts, x as paletteColorsFromEntries, y as normalizePaletteHex } from "./types-BEaKfam_.mjs";
|
|
4
4
|
import { t as SURFACE_TRANSPORT_KEY } from "./surfaceTransportMarker-BuwkYxsI.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../theme-core/src/palette/utils/colorConversion.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Cyag_HOs.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
2
|
+
import { $r as isSameOpenCheckout, B as paymentChoiceDetails, Bi as resolveBookingPaymentMode, Ci as decideBookingQuestionsRestoration, Di as toBookingQuestionsAnswerDraft, Ei as restoreBookingQuestionsAnswers, Fi as reconcileBookingPackagePurchase, Gr as readOverrideServiceCategories, Hi as toBookingPurchasablePackages, Ii as resolveBookingPackagePaymentSelection, Jr as getBookingRedirectStateFromLocation, Kr as deriveBookingFormViewState, Li as resolveBookingPackageSources, Mi as bookingHasPackagePaymentChoices, Ni as bookingPackageRequestKey, No as readRuntimeNow, Pi as bookingRequiresResourceSelection, Po as resolveDateRuntimeContext, Qr as isBookingServiceSlidingAmountInRange, R as buildBookingPaymentSelectionViewModel, Ri as resolveBookingPaymentAvailability, Si as bookingQuestionsAnswerDraftSchema, Ui as getBookingServiceSlidingScale, V as paymentChoicePrice, Vi as resolveBookingPurchasablePackages, Wo as repriceBookingCollectionOptions, Wr as buildBookingFormInteractiveIslandProps, Yr as getBookingSuccessCopy, Zo as resolveBookingSignupOffer, _a as bookingPresentation, _i as applyAppointmentBookingQuestionsEvent, _s as unsafeAsSiteId, ai as resolveBookingPaymentStep, bi as isAppointmentBookingQuestionsEvent, ci as resolveDefaultBookingServiceId, di as toSelectedCollectionOptionKind, ei as normalizeBookingFormConfig, fi as formatCentsAsCurrencyInput, fr as formatValidity, gi as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, hi as resolveSelectedAppointmentConsent, ii as resolveAppointmentCheckoutVerificationState, ji as applyBookingPaymentAdmission, ki as BOOKING_FORM_DATA_RESERVED_KEYS, li as selectedBookingCollectionOptionKind, mi as projectSelectedAppointmentConsentIntoForm, ni as parseBookingCurrencyInputToCents, oi as resolveBookingSelectedService, pa as leavePage, qn as createSignInReturnDraftStore, qr as formatBookingSubmissionPreparationError, ri as prepareBookingSubmission, si as resolveBookingSiteId, ti as normalizeBookingServices, ui as snapshotBookingShownTerms, ur as formatCommercePrice, vi as appointmentQuestionsRefusal, xi as needsAppointmentQuestionsRefresh, yi as deriveAppointmentBookingQuestions, z as buildReviewedBookingPaymentViewModel, zi as resolveBookingPaymentChoice } from "./wizardSteps-CNDsxeJH.mjs";
|
|
3
|
+
import { Kt as formatDate, Qt as formatTime, Yt as formatDateTimeRange, a as clearWorkflowFeedback, bn as formatCurrencyAmount, en as formatTimeZoneCityLabel, fn as parseUtcIsoDateTimeString, hn as resolveBookingTimeZoneId, i as okWith, k as isBookingRequirementConsentFieldId, mn as resolveBookingBusinessTimeZone, n as err, nn as resolveBookingDisplayContext, o as reportWorkflowError, pn as toUtcIsoDateTimeString, s as reportWorkflowSuccess, t as assertNever, u as logger } from "./src-CCtanNlD.mjs";
|
|
4
4
|
import { D as unsafeAsAppointmentResourceId, O as unsafeAsAppointmentServiceId, g as formatCreditProductUnits, h as formatCreditProductPayment, m as formatCreditProductBalance, o as checkBookingQuestionsAnswered } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-CDBU31xW.mjs";
|
|
6
6
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
7
|
-
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as clientPersonPhrases, t as useAvailableSlots } from "./useAvailableSlots-
|
|
8
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
7
|
+
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as clientPersonPhrases, t as useAvailableSlots } from "./useAvailableSlots-BelJviOT.mjs";
|
|
8
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-DTrwaQtg.mjs";
|
|
9
|
+
import { r as ThemedButton, x as SpinnerNode } from "./ThemedButton-CnSa7o-I.mjs";
|
|
10
|
+
import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-JQA-VuEH.mjs";
|
|
11
|
+
import { f as NavigationHandOffPanel, p as DiscountCodeDisclosure, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-uA9H8LIL.mjs";
|
|
12
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-yUKeq1N9.mjs";
|
|
12
13
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
13
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
14
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-BZPLCgTU.mjs";
|
|
14
15
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
15
16
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
16
17
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
17
|
-
import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-
|
|
18
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
19
|
-
import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-C4xcmFzZ.mjs";
|
|
18
|
+
import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-C8IbeLHj.mjs";
|
|
19
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-rQRE1-Ho.mjs";
|
|
20
|
+
import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-BsbEgagJ.mjs";
|
|
21
|
+
import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-D0kOJYOX.mjs";
|
|
22
|
+
import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-BiBnozfO.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as BookingFormClient } from "./booking-form.client-DrEOjQ3N.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-DTrwaQtg.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Cyag_HOs.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BWq5gKFK.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
2
|
+
import { Ai as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, No as readRuntimeNow, Or as normalizeEventRegistrationPageSurfaceSubject, P as resolveHeadlessEventRegistrationView, Rn as getSingleSelectedPricingOptionId, Sa as resolveRuntimeEventDestination, ei as normalizeBookingFormConfig, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, la as createHostedBlockApiConfig, ti as normalizeBookingServices, tr as resolveRegistrationDisplay } from "./wizardSteps-CNDsxeJH.mjs";
|
|
3
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-DrEOjQ3N.mjs";
|
|
4
|
+
import { t as assertNever, w as publicEventSchema } from "./src-CCtanNlD.mjs";
|
|
5
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-DqtX1vB2.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-DTrwaQtg.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
9
9
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Co as asPartialObject } from "./wizardSteps-CNDsxeJH.mjs";
|
|
3
|
+
import { cn as runtimeBoxBackgroundSchema, dn as cardVariantRoleValues, fn as itemRoleValues, ln as boxlessCardVariantValue, on as boxBackgroundOverlaySchema, pn as openCardRoleValue, sn as boxBackgroundSchema } from "./lookSurfaces-IqT_SVnX.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
z.enum(itemRoleValues);
|
|
6
6
|
z.enum(cardVariantRoleValues);
|
|
@@ -17,6 +17,22 @@ function normalizeCardRole(value) {
|
|
|
17
17
|
return normalizeCardVariantRole(value);
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
|
+
//#region ../blocks/src/system/fields/backgroundContent.ts
|
|
21
|
+
function parseBackgroundContent(value) {
|
|
22
|
+
const result = boxBackgroundSchema.safeParse(value);
|
|
23
|
+
return result.success ? result.data : null;
|
|
24
|
+
}
|
|
25
|
+
function parseBackgroundOverlay(value) {
|
|
26
|
+
const result = boxBackgroundOverlaySchema.safeParse(value);
|
|
27
|
+
return result.success ? result.data : void 0;
|
|
28
|
+
}
|
|
29
|
+
/** Rendering accepts explicit application sources separately from stored references. */
|
|
30
|
+
const runtimeBackgroundContentSchema = runtimeBoxBackgroundSchema;
|
|
31
|
+
function parseRuntimeBackgroundContent(value) {
|
|
32
|
+
const result = runtimeBackgroundContentSchema.safeParse(value);
|
|
33
|
+
return result.success ? result.data : null;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
20
36
|
//#region ../blocks/src/system/spacing.ts
|
|
21
37
|
/**
|
|
22
38
|
* Type-safe spacing system for sections and containers.
|
|
@@ -139,22 +155,6 @@ function resolveSectionMinHeight(minHeight) {
|
|
|
139
155
|
*/
|
|
140
156
|
const DEFAULT_SECTION_SPACING = "medium";
|
|
141
157
|
//#endregion
|
|
142
|
-
//#region ../blocks/src/system/fields/backgroundContent.ts
|
|
143
|
-
function parseBackgroundContent(value) {
|
|
144
|
-
const result = boxBackgroundSchema.safeParse(value);
|
|
145
|
-
return result.success ? result.data : null;
|
|
146
|
-
}
|
|
147
|
-
function parseBackgroundOverlay(value) {
|
|
148
|
-
const result = boxBackgroundOverlaySchema.safeParse(value);
|
|
149
|
-
return result.success ? result.data : void 0;
|
|
150
|
-
}
|
|
151
|
-
/** Rendering accepts explicit application sources separately from stored references. */
|
|
152
|
-
const runtimeBackgroundContentSchema = runtimeBoxBackgroundSchema;
|
|
153
|
-
function parseRuntimeBackgroundContent(value) {
|
|
154
|
-
const result = runtimeBackgroundContentSchema.safeParse(value);
|
|
155
|
-
return result.success ? result.data : null;
|
|
156
|
-
}
|
|
157
|
-
//#endregion
|
|
158
158
|
//#region ../blocks/src/system/transforms/registry/_utils/boxStyleClassNames.ts
|
|
159
159
|
/**
|
|
160
160
|
* @file The one place box-style content becomes CSS classes.
|
|
@@ -340,4 +340,4 @@ function boxStyleClassNames(value, options) {
|
|
|
340
340
|
].filter((token) => Boolean(token)).join(" ").trim() || "";
|
|
341
341
|
}
|
|
342
342
|
//#endregion
|
|
343
|
-
export {
|
|
343
|
+
export { parseRuntimeBackgroundContent as _, hasFixedFrameBackgroundMotion as a, resolveItemCardRole as c, isSectionMinHeight as d, isSemanticSpacing as f, parseBackgroundOverlay as g, parseBackgroundContent as h, fixedFrameScopeClass as i, DEFAULT_SECTION_SPACING as l, resolveSpacing as m, ROUNDED_CLASSES as n, normalizeBoxStylesBorder as o, resolveSectionMinHeight as p, boxStyleClassNames as r, resolveCardRoleForBoxStyles as s, RAISED_SHADOW_CLASS as t, SEMANTIC_SPACING_VALUES as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
3
2
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
|
-
import { t as
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Cyag_HOs.mjs";
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { S as clsx } from "./ThemedButton-
|
|
2
|
+
import { S as clsx } from "./ThemedButton-CnSa7o-I.mjs";
|
|
3
3
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
4
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Cyag_HOs.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-BzlOGP2j.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Ct-BRNez.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-34YvcpbX.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Cyag_HOs.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-C0Qvh-d4.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Ct-BRNez.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-34YvcpbX.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { fa as canonicalUrl } from "./wizardSteps-CNDsxeJH.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
|
|
4
4
|
/**
|
|
5
5
|
* Build return URLs for Stripe checkout redirect.
|