@riverbankcms/sdk 0.168.0 → 0.169.1
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/_dts/{BlocksIslandsHydrator-CiD_VVGM.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
- package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-BhCfStX1.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
- package/dist/_dts/{client-C8mfUxrJ.d.ts → client-BZMn4Y99.d.ts} +39 -397
- package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
- package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-DjYsGY3B.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
- package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BR0i0c3G.d.ts} +4 -4
- package/dist/_dts/{index-Bpr-wT5k.d.ts → index-BV-qVnt7.d.ts} +2 -2
- package/dist/_dts/{index-C7_Rz8EY.d.ts → index-BYYhTQ_b.d.ts} +3 -3
- package/dist/_dts/{index-Vh8B9FSa.d.ts → index-BzguBJzR.d.ts} +1 -1
- package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
- package/dist/_dts/{index-Cx2BQlHL.d.ts → index-NaRauKDR.d.ts} +1 -1
- package/dist/_dts/{index-vR3p9Bu-.d.ts → index-QIbYMeI7.d.ts} +2 -2
- package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
- package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DssgRQSm.d.ts} +9558 -7863
- package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- 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 +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- 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/{types-BB33-Spd.d.ts → types-DrAWDtqR.d.ts} +3 -3
- package/dist/_dts/{types-BVFXYtRg.d.ts → types-Z388-GR1.d.ts} +7 -7
- package/dist/_dts/{types-FOsJ-KYb.d.ts → types-cObpvZGF.d.ts} +2 -2
- package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-hLr8zVrc.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
- package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-Br1VyHkP.mjs} +17 -6
- package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-LLGCWjvU.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +65 -9
- package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-ucgdMS35.mjs} +9 -9
- package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-BEdfJGpx.mjs} +7 -7
- package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-OpLehMpT.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
- package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
- package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BCvRqU86.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +132 -62
- package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
- package/dist/client/{Page-D_M2Vxz3.mjs → Page-Bu5TJU3L.mjs} +53 -22
- package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-CR7_0yu4.mjs} +5 -4
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-DE7OG--d.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-wd71DG19.mjs} +505 -217
- package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-Cyr2qeS1.mjs} +17 -17
- package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
- package/dist/client/bookings.mjs +16 -13
- package/dist/client/{carousel-DZyUdnFh.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D7HkkNwe.mjs → cart-B-M5l__W.mjs} +3 -3
- package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-COAP4CEy.mjs} +1 -1
- package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-ZHc8GfaG.mjs} +3 -3
- package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-DRralR3e.mjs} +1 -1
- package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-CY8qywXl.mjs} +3 -2
- package/dist/client/client.mjs +87 -4
- package/dist/client/{context-DXmIbXCK.mjs → context-Xhf81Q-c.mjs} +25 -3
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
- package/dist/client/{cta-DP_IBnq3.mjs → cta-CfuyGqXL.mjs} +2 -2
- package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{wizardSteps-CFulHWnT.mjs → display-DDNmyb0z.mjs} +920 -870
- package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -2
- package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-CLBdHUfd.mjs} +59 -18
- package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
- package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
- package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
- package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-DyseP_sY.mjs} +19 -19
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/{form-DgQqm7T2.mjs → form-RTqunrpz.mjs} +9 -14
- package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-D3_RF29v.mjs} +4 -4
- package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-IfLup4o0.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
- package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
- package/dist/client/portal/client.mjs +21 -13
- package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
- package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-c-777ohj.mjs} +1 -1
- package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-hXttfQhE.mjs} +3 -3
- package/dist/client/{productList-B8o5AOMX.mjs → productList-BPsYP_jA.mjs} +3 -3
- package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-Dc8j5i79.mjs} +3 -3
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-CMrdUGGv.mjs} +338 -289
- package/dist/client/rendering/client.mjs +39 -39
- package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-rRXplPGZ.mjs → shop-Ds47onRS.mjs} +3 -3
- package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-B3PyRHaN.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-RljK0qPB.mjs} +110 -31
- package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-BH0xDlMF.mjs} +42 -533
- package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/src-BozhJ43Z.mjs +3 -0
- package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
- package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-BG7Ejxdr.mjs} +12 -12
- package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-GP8tnAVW.mjs} +3 -3
- package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Cq07nTyG.mjs} +5 -3
- package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-spj7sGQP.mjs} +6 -6
- package/dist/client/{view-L_mkgtnk.mjs → view-aAP2WbCR.mjs} +2 -3
- package/dist/client/{view-448wvvEY.mjs → view-oToSpu1N.mjs} +7 -7
- package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +201 -151
- package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +12 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +1418 -598
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +684 -930
- package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
- package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
- package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-C0sCvCYL.mjs → route-contract-jc2Bug-h.mjs} +83 -0
- package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-BHgQjX16.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +31 -5
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-DLoZYUxG.mjs → bindings-CAbTvrCZ.mjs} +1 -1
- package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
- package/dist/server/{client-Bc8jI8zN.mjs → client-C-asG6Cf.mjs} +85 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-DKerbSnI.mjs} +4 -4
- package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-XgtQR90Z.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DQAo35og.mjs} +9 -8
- package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +2 -2
- package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-7mPhqqXX.mjs} +345 -289
- package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
- package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C0m4KOT9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
- package/dist/server/{registry-Bh0Y25zH.mjs → registry-7_0_lUrh.mjs} +305 -844
- 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/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CnHHst9r.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-D2bHWSxJ.mjs → validation-CSMS6XmP.mjs} +4 -4
- package/dist/server/{version-DkM1eAxG.mjs → version-DWeqmTXc.mjs} +1 -1
- package/dist/styles/index.css +15 -3
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-DcwEaliO.mjs +0 -296
- package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
- package/dist/client/eventCombined-DoSi8p_l.mjs +0 -28
- package/dist/client/eventListing-CkiMjl0g.mjs +0 -29
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/client/src-CdRISvQp.mjs +0 -3
- package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { It as LinkValue, St as SystemBlockShortKind, _ as PageOutline, a as ResolveImageUrlContext, bt as SystemBlockContentByKind, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, y as RouteMap } from "./index-
|
|
3
|
-
import { t as ThemeRuntime } from "./index-
|
|
4
|
-
import { d as SdkCustomBlock } from "./types-
|
|
5
|
-
import { P as SiteBookingOfferingPresetSummary } from "./contracts-
|
|
6
|
-
import { _ as RiverbankClient } from "./types-
|
|
7
|
-
import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-
|
|
1
|
+
import { Bn as RenderablePageOutline$1, Dn as BrowserReadAuthority, Gr as MailingListRuntimeContext, Kr as WeeklyOpeningHours, On as BlockSiteTerms, Qn as Theme, Qr as PublicLocation, Vr as DeepReadonly, Zr as BusinessLocationPermission, ai as UtcIsoDateTimeString, c as BlockLoaderSnapshot, dr as PublicVenueMapLocation, er as PageTemplate, gi as BlockInteractionContext, i as ThemeResponsiveMode, l as PrefetchedBlockData, s as BlockLoaderFailures, ui as EventPageSurfaceSubjectWire, v as LinkResolverContext, vr as RenderableMediaAsset, y as DateRuntimeContext } from "./request-DssgRQSm.js";
|
|
2
|
+
import { It as LinkValue, St as SystemBlockShortKind, _ as PageOutline, a as ResolveImageUrlContext, bt as SystemBlockContentByKind, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, y as RouteMap } from "./index-NaRauKDR.js";
|
|
3
|
+
import { t as ThemeRuntime } from "./index-BzguBJzR.js";
|
|
4
|
+
import { d as SdkCustomBlock } from "./types-DrAWDtqR.js";
|
|
5
|
+
import { P as SiteBookingOfferingPresetSummary } from "./contracts-DjYsGY3B.js";
|
|
6
|
+
import { _ as RiverbankClient } from "./types-cObpvZGF.js";
|
|
7
|
+
import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-5BqNxwL8.js";
|
|
8
8
|
import { DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderSearchParams } from "./sdk/src/data/types.js";
|
|
9
9
|
import { RuntimeSdkConfig } from "./sdk/src/rendering/helpers/pageRuntimeSupport.js";
|
|
10
10
|
import * as React$2 from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dt as ContentTypeSchema,
|
|
2
|
-
import { t as ThemeRuntime } from "./index-
|
|
1
|
+
import { Dt as ContentTypeSchema, It as SurfaceId, Jr as EditorBlockVersions, Mt as ThemeJournalState, Nt as ThemeSelectionPreviewProps, Ot as SdkSiteLayoutConfig, Pt as SdkEditorRevision, Qn as Theme, Rn as EditorRenderablePageOutline, Yn as HeaderLogoContext, a as SdkConfigForBlockPicker, b as MediaAssetIndexItem, i as ThemeResponsiveMode, ii as BookingTimeZone, it as BookingOfferingPresetSummary, n as PreviewPageAdaptationFacts, o as EntrySubrouteContextData, ot as BlockApiProvider, qr as EditLeaseScope, r as PreviewRenderingOverride, t as ApiClient } from "./request-DssgRQSm.js";
|
|
2
|
+
import { t as ThemeRuntime } from "./index-BzguBJzR.js";
|
|
3
3
|
import { t as PreviewRuntimeSession } from "./auth-contract-CgJ5nMaH.js";
|
|
4
4
|
import { ZodTypeAny, z as z$1 } from "zod";
|
|
5
5
|
import React$1, { CSSProperties, ComponentProps, ComponentType, ReactElement, ReactNode } from "react";
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as PortalProfile, An as EventBookingOutcome, B as PaymentSelection, Bt as BookingFormService, C as EventRegistrationDirectPaymentSelectionState, D as BookingQuestionsModel, Dn as BrowserReadAuthority, E as BookingPaymentSelectionViewModel, En as BlockApiConfig, F as EventPaymentState, G as RegistrationResult, Gr as MailingListRuntimeContext, Gt as BookingPaymentAvailability, H as PaymentStepState, Hr as BlockButtonRole, Ht as BookingFormServiceCategory, I as EventRegistrationClientProps, Ir as BookingQuestionsSubmissionFailure, J as ThemedButtonProps, K as RegistrationStep, Kt as BookingPaymentChoice, L as EventTicketSelectionLine, Lr as EventRegistrationPricingOption, M as ExistingRegistrationLookupState, N as SelectableEventTicketType, O as PortalAuthState, On as BlockSiteTerms, P as EligibilityData, R as Guest, Rt as BookingFormConfig$1, S as EventRegistrationDirectPaymentOption, Sn as ProtectedSubmission, U as RegistrationAttendanceMode, Ut as BookingFormField$1, V as PaymentStatusRecoveryState, Vt as BookingSelectedCollectionOptionKind, W as RegistrationEvent, X as OccurrenceContext, Y as FormData, Zt as BookingAppointmentPackagesModel, ai as UtcIsoDateTimeString, an as BookingFlowStepId, ar as DirectCheckoutCollectionOptionKind, at as EventSourceRecovery, bn as BookingQuestionsPaymentSnapshot, cn as BookingSlotSelection, cr as PaymentMethod, ct as BoundBlockApiClient, di as NonNegativeCents, dn as BookingSubmitOptions, dt as ResolveWaitlistClaimResponse, en as BookingFieldView, et as RegistrationPresentation, fi as PositiveCents, fr as PublicEvent, in as BookingFlowStep, ir as CustomerEventRegistration, j as EligibilityLookupState, jn as EventEmbeddedCheckout, k as PortalCreditState, kn as EventRegistrationPageSurfaceSubject, ln as BookingSlotView, lr as EventRegistrationErrorAction, lt as AutoAppliedDiscountPreview, mn as LoadState, ni as DisplayContext, nn as BookingFlowFeedback, nt as RegistrationTicketContinuation, oi as AppointmentBookingReview, on as BookingFlowView, or as EventCheckoutReturnRequest, q as RegistrationSubject, qt as BookingPurchasablePackagesModel, ri as ZoneLabel, rn as BookingFlowStatus, rt as TicketSelectionPurpose, sn as BookingResourceView, sr as EventRegistrationPaymentSubject, tn as BookingFlowActionResult, tt as RegistrationAdmission, un as BookingSubmitActionResult, ur as CurrencyCode, ut as DiscountContext, vn as BookingFieldValue, w as EventRegistrationSiteCreditPreview, x as BookingFormInteractiveIslandProps, xn as getBookingServiceSlidingScale, yn as BookingQuestionsAnswerState, z as GuestErrors, zt as BookingFormData$1 } from "./request-DssgRQSm.js";
|
|
2
2
|
import { z as z$1 } from "zod";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
|
|
6
|
-
//#region .cache/declarations/core/src/branded/entitlements.d.ts
|
|
7
|
-
type PassId = Brand<string, 'PassId'>;
|
|
8
|
-
type CustomerPassId = Brand<string, 'CustomerPassId'>;
|
|
9
|
-
//#endregion
|
|
10
6
|
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.client.d.ts
|
|
11
7
|
type Service$1 = BookingFormService;
|
|
12
8
|
type FormConfig = BookingFormConfig$1;
|
|
@@ -72,387 +68,6 @@ type BookingPaymentConfirmationSummary = Readonly<{
|
|
|
72
68
|
priceCurrency: string;
|
|
73
69
|
}>;
|
|
74
70
|
//#endregion
|
|
75
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts
|
|
76
|
-
type BookingFieldValue = string | number | boolean | readonly string[] | null;
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts
|
|
79
|
-
/**
|
|
80
|
-
* The booking flow's validation vocabulary: what a step can complain about, and
|
|
81
|
-
* when the user has earned the right to be told.
|
|
82
|
-
*
|
|
83
|
-
* Split out of `booking-form.headless.state.ts` so the reducer file carries
|
|
84
|
-
* behaviour rather than this small closed value type and its constructors.
|
|
85
|
-
*/
|
|
86
|
-
type BookingValidationErrors = Readonly<{
|
|
87
|
-
formError: string | null;
|
|
88
|
-
fieldErrors: Readonly<Record<string, string>>;
|
|
89
|
-
}>;
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts
|
|
92
|
-
type LoadState<T> = Readonly<{
|
|
93
|
-
tag: "idle";
|
|
94
|
-
}> | Readonly<{
|
|
95
|
-
tag: "loading";
|
|
96
|
-
}> | Readonly<{
|
|
97
|
-
tag: "loaded";
|
|
98
|
-
value: T;
|
|
99
|
-
}> | Readonly<{
|
|
100
|
-
tag: "error";
|
|
101
|
-
message: string;
|
|
102
|
-
}>;
|
|
103
|
-
type BookingFlowStepId = "service-selection" | "datetime-selection" | "payment-selection" | "custom-fields";
|
|
104
|
-
type BookingFlowStepState = "complete" | "active" | "available" | "blocked" | "hidden";
|
|
105
|
-
type BookingFlowStep = Readonly<{
|
|
106
|
-
id: BookingFlowStepId;
|
|
107
|
-
label: string;
|
|
108
|
-
state: BookingFlowStepState;
|
|
109
|
-
index: number;
|
|
110
|
-
visibleIndex: number | null;
|
|
111
|
-
errors: BookingValidationErrors;
|
|
112
|
-
canEnter: boolean;
|
|
113
|
-
canLeave: boolean;
|
|
114
|
-
}>;
|
|
115
|
-
type BookingFieldId = Brand<string, "BookingFieldId">;
|
|
116
|
-
type BookingSlotView = Readonly<{
|
|
117
|
-
key: string;
|
|
118
|
-
startAt: string;
|
|
119
|
-
endAt: string;
|
|
120
|
-
resourceId: AppointmentResourceId;
|
|
121
|
-
resourceName?: string;
|
|
122
|
-
label?: string;
|
|
123
|
-
}>;
|
|
124
|
-
type BookingSlotSelection = Readonly<{
|
|
125
|
-
startAt: string;
|
|
126
|
-
endAt: string;
|
|
127
|
-
resourceId: string;
|
|
128
|
-
resourceName?: string;
|
|
129
|
-
label?: string;
|
|
130
|
-
}>;
|
|
131
|
-
type BookingResourceView = Readonly<{
|
|
132
|
-
id: AppointmentResourceId;
|
|
133
|
-
label: string;
|
|
134
|
-
}>;
|
|
135
|
-
/** A request sent for approval rather than a confirmed booking (issue 1494). */
|
|
136
|
-
type BookingRequestSummary = Readonly<{
|
|
137
|
-
serviceName: string;
|
|
138
|
-
startAt: string;
|
|
139
|
-
timezone: string;
|
|
140
|
-
}>;
|
|
141
|
-
type BookingFlowFeedback = Readonly<{
|
|
142
|
-
kind: "none";
|
|
143
|
-
}> | Readonly<{
|
|
144
|
-
kind: "success";
|
|
145
|
-
message: string;
|
|
146
|
-
resourceName: string | null;
|
|
147
|
-
request: BookingRequestSummary | null;
|
|
148
|
-
appointment: BookingAppointmentSummary | null;
|
|
149
|
-
}> | Readonly<{
|
|
150
|
-
kind: "error";
|
|
151
|
-
scope: "submission" | "verification" | "discount" | "availability" | "payment";
|
|
152
|
-
message: string;
|
|
153
|
-
}> | Readonly<{
|
|
154
|
-
kind: "info";
|
|
155
|
-
scope: "verification" | "payment";
|
|
156
|
-
message: string;
|
|
157
|
-
}>;
|
|
158
|
-
type BookingFlowStatus = Readonly<{
|
|
159
|
-
tag: "ready";
|
|
160
|
-
}> | Readonly<{
|
|
161
|
-
tag: "submitting";
|
|
162
|
-
}> | Readonly<{
|
|
163
|
-
tag: "success";
|
|
164
|
-
resourceName: string | null;
|
|
165
|
-
}> | Readonly<{
|
|
166
|
-
tag: "error";
|
|
167
|
-
message: string;
|
|
168
|
-
}>;
|
|
169
|
-
type BookingFlowView = Readonly<{
|
|
170
|
-
kind: "missing";
|
|
171
|
-
message: string;
|
|
172
|
-
}> | Readonly<{
|
|
173
|
-
kind: "form";
|
|
174
|
-
}> | Readonly<{
|
|
175
|
-
kind: "success";
|
|
176
|
-
message: string;
|
|
177
|
-
resourceName: string | null;
|
|
178
|
-
request: BookingRequestSummary | null;
|
|
179
|
-
appointment: BookingAppointmentSummary | null;
|
|
180
|
-
}> | Readonly<{
|
|
181
|
-
kind: "error";
|
|
182
|
-
message: string;
|
|
183
|
-
}>;
|
|
184
|
-
type BookingFlowActionResult = Readonly<{
|
|
185
|
-
ok: true;
|
|
186
|
-
}> | Readonly<{
|
|
187
|
-
ok: false;
|
|
188
|
-
reason: "validation-failed";
|
|
189
|
-
/**
|
|
190
|
-
* Empty when only the site terms box is unticked: that message lives on
|
|
191
|
-
* `siteTerms.error`, beside the box.
|
|
192
|
-
*/
|
|
193
|
-
errors: BookingValidationErrors;
|
|
194
|
-
}> | Readonly<{
|
|
195
|
-
ok: false;
|
|
196
|
-
reason: "blocked";
|
|
197
|
-
message: string;
|
|
198
|
-
}> | Readonly<{
|
|
199
|
-
ok: false;
|
|
200
|
-
reason: "submission-failed";
|
|
201
|
-
message: string;
|
|
202
|
-
questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
|
|
203
|
-
}>;
|
|
204
|
-
type BookingSubmitOptions = Readonly<{
|
|
205
|
-
/**
|
|
206
|
-
* Checkout return URLs apply only to standard paid bookings. Appointment
|
|
207
|
-
* package submissions complete directly through the portal booking API and
|
|
208
|
-
* intentionally ignore these URLs.
|
|
209
|
-
*/
|
|
210
|
-
redirect?: "manual" | "auto";
|
|
211
|
-
successUrl?: string;
|
|
212
|
-
cancelUrl?: string;
|
|
213
|
-
}>;
|
|
214
|
-
type BookingSubmitActionResult = Readonly<{
|
|
215
|
-
ok: false;
|
|
216
|
-
reason: "review-required";
|
|
217
|
-
review: AppointmentBookingReview;
|
|
218
|
-
}> | Readonly<{
|
|
219
|
-
ok: false;
|
|
220
|
-
reason: "payment-choice-required";
|
|
221
|
-
paymentChoices: BookingPaymentChoices;
|
|
222
|
-
}> | Readonly<{
|
|
223
|
-
ok: true;
|
|
224
|
-
outcome: {
|
|
225
|
-
kind: "booked";
|
|
226
|
-
appointmentId: string;
|
|
227
|
-
resourceName: string | null;
|
|
228
|
-
customerEmail: string | null;
|
|
229
|
-
demoBookingPass?: string;
|
|
230
|
-
mailingListSignupNote?: BookingMailingListNote;
|
|
231
|
-
};
|
|
232
|
-
}> | Readonly<{
|
|
233
|
-
ok: true;
|
|
234
|
-
outcome: {
|
|
235
|
-
kind: "requested";
|
|
236
|
-
appointmentId: string;
|
|
237
|
-
customerEmail: string | null;
|
|
238
|
-
demoBookingPass?: string;
|
|
239
|
-
mailingListSignupNote?: BookingMailingListNote;
|
|
240
|
-
};
|
|
241
|
-
}> | Readonly<{
|
|
242
|
-
ok: true;
|
|
243
|
-
outcome: {
|
|
244
|
-
kind: "checkout_redirect";
|
|
245
|
-
checkoutUrl: string;
|
|
246
|
-
sessionId: string;
|
|
247
|
-
customerEmail: string | null;
|
|
248
|
-
demoBookingPass?: string;
|
|
249
|
-
mailingListSignupNote?: BookingMailingListNote;
|
|
250
|
-
};
|
|
251
|
-
}> | Exclude<BookingFlowActionResult, Readonly<{
|
|
252
|
-
ok: true;
|
|
253
|
-
}>>;
|
|
254
|
-
type BookingFieldView = Readonly<{
|
|
255
|
-
field: BookingFormField$1;
|
|
256
|
-
id: BookingFieldId;
|
|
257
|
-
label: string;
|
|
258
|
-
type: BookingFormField$1["type"];
|
|
259
|
-
value: BookingFieldValue;
|
|
260
|
-
required: boolean;
|
|
261
|
-
error: string | null;
|
|
262
|
-
helpText: string | null;
|
|
263
|
-
inputId: string;
|
|
264
|
-
labelId: string;
|
|
265
|
-
helpTextId: string | null;
|
|
266
|
-
errorId: string | null;
|
|
267
|
-
describedBy: string | undefined;
|
|
268
|
-
ariaInvalid: boolean;
|
|
269
|
-
}>;
|
|
270
|
-
/**
|
|
271
|
-
* Steps the user has actually tried to advance past. Step validation is derived
|
|
272
|
-
* continuously (it gates whether a step can be left), but a step's errors are
|
|
273
|
-
* only ever *shown* once the step has been attempted — so a freshly mounted
|
|
274
|
-
* form is never scolded for input it has not had the chance to give yet.
|
|
275
|
-
*/
|
|
276
|
-
type BookingAttemptedStepIds = Readonly<Partial<Record<BookingFlowStepId, boolean>>>;
|
|
277
|
-
type BookingStepValidationResult = Readonly<{
|
|
278
|
-
ok: true;
|
|
279
|
-
}> | Readonly<{
|
|
280
|
-
ok: false;
|
|
281
|
-
errors: BookingValidationErrors;
|
|
282
|
-
}>;
|
|
283
|
-
type DeriveBookingFlowStepsInput = Readonly<{
|
|
284
|
-
forcePaymentSelection?: boolean;
|
|
285
|
-
nowIso: string;
|
|
286
|
-
form: BookingFormConfig$1 | null;
|
|
287
|
-
services: readonly BookingFormService[];
|
|
288
|
-
data: Partial<BookingFormData$1>;
|
|
289
|
-
defaultServiceId?: AppointmentServiceId;
|
|
290
|
-
defaultResourceId?: AppointmentResourceId;
|
|
291
|
-
currentStepId: BookingFlowStepId;
|
|
292
|
-
requiresServiceSelection?: boolean;
|
|
293
|
-
requiresResourceSelection?: boolean;
|
|
294
|
-
enableAppointmentPackages?: boolean; /** Set when the selected service's questions can't be shown, which stops the booking. */
|
|
295
|
-
questionsRefusal?: string | null;
|
|
296
|
-
/**
|
|
297
|
-
* Steps whose validation messaging has been earned by an advance attempt.
|
|
298
|
-
* Omitted means "none attempted yet", so callers that only need gating can
|
|
299
|
-
* keep ignoring it.
|
|
300
|
-
*/
|
|
301
|
-
attemptedStepIds?: BookingAttemptedStepIds;
|
|
302
|
-
}>;
|
|
303
|
-
type DerivedBookingFlowSteps = Readonly<{
|
|
304
|
-
paymentResolution: BookingPaymentStepResolution;
|
|
305
|
-
steps: readonly BookingFlowStep[];
|
|
306
|
-
currentStepIndex: number;
|
|
307
|
-
currentStep: BookingFlowStep | null;
|
|
308
|
-
stepIds: readonly BookingFlowStepId[];
|
|
309
|
-
validations: ReadonlyMap<BookingFlowStepId, BookingStepValidationResult>;
|
|
310
|
-
}>;
|
|
311
|
-
type BookingAvailabilityQuery = Readonly<{
|
|
312
|
-
ok: true;
|
|
313
|
-
key: string;
|
|
314
|
-
serviceId: AppointmentServiceId;
|
|
315
|
-
resourceId?: AppointmentResourceId;
|
|
316
|
-
selectedDate?: string;
|
|
317
|
-
timezone: string;
|
|
318
|
-
}> | Readonly<{
|
|
319
|
-
ok: false;
|
|
320
|
-
reason: "missing-service" | "missing-date";
|
|
321
|
-
key: string;
|
|
322
|
-
}>;
|
|
323
|
-
type BookingAppointmentPackagesModel = Readonly<{
|
|
324
|
-
kind: "disabled";
|
|
325
|
-
enabled: false;
|
|
326
|
-
canLoad: false;
|
|
327
|
-
unavailableReason: "disabled";
|
|
328
|
-
state: Readonly<{
|
|
329
|
-
tag: "idle";
|
|
330
|
-
}>;
|
|
331
|
-
items: readonly [];
|
|
332
|
-
selected: null;
|
|
333
|
-
}> | Readonly<{
|
|
334
|
-
kind: "unavailable";
|
|
335
|
-
enabled: true;
|
|
336
|
-
canLoad: false;
|
|
337
|
-
unavailableReason: "missing-portal-auth" | "missing-priced-service";
|
|
338
|
-
state: Readonly<{
|
|
339
|
-
tag: "idle";
|
|
340
|
-
}>;
|
|
341
|
-
items: readonly [];
|
|
342
|
-
selected: null;
|
|
343
|
-
}> | Readonly<{
|
|
344
|
-
kind: "idle";
|
|
345
|
-
enabled: true;
|
|
346
|
-
canLoad: true;
|
|
347
|
-
unavailableReason: null;
|
|
348
|
-
state: Readonly<{
|
|
349
|
-
tag: "idle";
|
|
350
|
-
}>;
|
|
351
|
-
items: readonly [];
|
|
352
|
-
selected: null;
|
|
353
|
-
}> | Readonly<{
|
|
354
|
-
kind: "loading";
|
|
355
|
-
enabled: true;
|
|
356
|
-
canLoad: true;
|
|
357
|
-
unavailableReason: null;
|
|
358
|
-
state: Readonly<{
|
|
359
|
-
tag: "loading";
|
|
360
|
-
}>;
|
|
361
|
-
items: readonly [];
|
|
362
|
-
selected: null;
|
|
363
|
-
}> | Readonly<{
|
|
364
|
-
kind: "error";
|
|
365
|
-
enabled: true;
|
|
366
|
-
canLoad: true;
|
|
367
|
-
unavailableReason: null;
|
|
368
|
-
state: Readonly<{
|
|
369
|
-
tag: "error";
|
|
370
|
-
message: string;
|
|
371
|
-
}>;
|
|
372
|
-
items: readonly [];
|
|
373
|
-
selected: null;
|
|
374
|
-
}> | Readonly<{
|
|
375
|
-
kind: "ready";
|
|
376
|
-
enabled: true;
|
|
377
|
-
canLoad: true;
|
|
378
|
-
unavailableReason: null;
|
|
379
|
-
state: Readonly<{
|
|
380
|
-
tag: "loaded";
|
|
381
|
-
value: readonly HeadlessEligibleAppointmentPackage[];
|
|
382
|
-
}>;
|
|
383
|
-
items: readonly HeadlessEligibleAppointmentPackage[];
|
|
384
|
-
selected: HeadlessEligibleAppointmentPackage | null; /** Booking with anyone: team members the client has packages with, which only work when booking with them. */
|
|
385
|
-
heldWithTeamMembers: readonly BookingPackageTeamMember[];
|
|
386
|
-
}>;
|
|
387
|
-
type BookingPackageTeamMember = Readonly<{
|
|
388
|
-
id: string;
|
|
389
|
-
name: string;
|
|
390
|
-
}>;
|
|
391
|
-
type BookingAppointmentPackagesUnavailableReason = "disabled" | "missing-portal-auth" | "missing-priced-service";
|
|
392
|
-
type AppointmentBookingOverrideData = Readonly<{
|
|
393
|
-
form?: BookingFormConfig$1 | Record<string, unknown> | null;
|
|
394
|
-
services?: BookingFormServicesSource | Record<string, unknown> | null;
|
|
395
|
-
}>;
|
|
396
|
-
type AppointmentBookingOverrideContent = Readonly<{
|
|
397
|
-
formId?: string;
|
|
398
|
-
serviceId?: string;
|
|
399
|
-
resourceId?: string;
|
|
400
|
-
requiresServiceSelection?: boolean;
|
|
401
|
-
requiresResourceSelection?: boolean;
|
|
402
|
-
shouldAutoSelectSingleResource?: boolean;
|
|
403
|
-
successMessage?: string;
|
|
404
|
-
}>;
|
|
405
|
-
type AppointmentBookingOverridePropsLike = Readonly<{
|
|
406
|
-
now?: string;
|
|
407
|
-
dateContext?: Readonly<{
|
|
408
|
-
locale: string;
|
|
409
|
-
timeZone: string;
|
|
410
|
-
}>;
|
|
411
|
-
bookingTimeZone?: string | null;
|
|
412
|
-
content?: AppointmentBookingOverrideContent | null;
|
|
413
|
-
data?: AppointmentBookingOverrideData | Record<string, unknown> | null;
|
|
414
|
-
siteId?: string;
|
|
415
|
-
apiBaseUrl?: string;
|
|
416
|
-
portalToken?: string | null;
|
|
417
|
-
blockId?: string | null;
|
|
418
|
-
}>;
|
|
419
|
-
type AppointmentBookingOverrideInput = Readonly<{
|
|
420
|
-
now: UtcIsoDateTimeString;
|
|
421
|
-
dateContext: DisplayContext;
|
|
422
|
-
siteId: SiteId;
|
|
423
|
-
apiBaseUrl: string;
|
|
424
|
-
portalToken: string | null;
|
|
425
|
-
formId: FormId;
|
|
426
|
-
form: BookingFormConfig$1;
|
|
427
|
-
services: readonly BookingFormService[]; /** Ordered service categories (issue 1403); empty when the site has none. */
|
|
428
|
-
serviceCategories: readonly BookingFormServiceCategory[];
|
|
429
|
-
initialServiceId?: AppointmentServiceId;
|
|
430
|
-
initialResourceId?: AppointmentResourceId;
|
|
431
|
-
requiresServiceSelection: boolean;
|
|
432
|
-
requiresResourceSelection: boolean;
|
|
433
|
-
shouldAutoSelectSingleResource: boolean;
|
|
434
|
-
successMessage?: string;
|
|
435
|
-
blockId?: string | null;
|
|
436
|
-
}>;
|
|
437
|
-
type HeadlessEligibleAppointmentPackage = Omit<EligibleAppointmentPackage, "customerPassId" | "passId"> & Readonly<{
|
|
438
|
-
customerPassId: CustomerPassId;
|
|
439
|
-
passId: PassId;
|
|
440
|
-
}>;
|
|
441
|
-
type AppointmentBookingOverrideInputResult = Readonly<{
|
|
442
|
-
ok: true;
|
|
443
|
-
value: AppointmentBookingOverrideInput;
|
|
444
|
-
}> | Readonly<{
|
|
445
|
-
ok: false;
|
|
446
|
-
reason: "missing-site-id" | "missing-api-base-url" | "missing-form" | "missing-form-id" | "missing-services";
|
|
447
|
-
message: string;
|
|
448
|
-
}>;
|
|
449
|
-
declare function getAppointmentBookingOverrideInput(props: AppointmentBookingOverridePropsLike): AppointmentBookingOverrideInputResult;
|
|
450
|
-
declare function createBookingBlockApiConfig(input: Readonly<{
|
|
451
|
-
siteId: string;
|
|
452
|
-
apiBaseUrl: string;
|
|
453
|
-
portalToken?: string | null;
|
|
454
|
-
}>): BlockApiConfig;
|
|
455
|
-
//#endregion
|
|
456
71
|
//#region .cache/declarations/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts
|
|
457
72
|
type HeadlessBookingFlowOptions = Readonly<{
|
|
458
73
|
now: UtcIsoDateTimeString;
|
|
@@ -479,7 +94,6 @@ type HeadlessBookingFlowOptions = Readonly<{
|
|
|
479
94
|
successMessage?: string;
|
|
480
95
|
anchorId?: string;
|
|
481
96
|
viewerTimeZone?: string;
|
|
482
|
-
navigateToCheckout?: (checkoutUrl: string) => void;
|
|
483
97
|
}>;
|
|
484
98
|
type BookingServicesModel = Readonly<{
|
|
485
99
|
items: readonly BookingFormService[]; /** Ordered service categories for grouping `items`; empty when the site has none. */
|
|
@@ -493,6 +107,7 @@ type BookingResourcesModel = Readonly<{
|
|
|
493
107
|
selected: BookingResourceView | null;
|
|
494
108
|
selectedResourceId?: string;
|
|
495
109
|
state: LoadState<readonly BookingResourceView[]>;
|
|
110
|
+
configuredRequiresSelection: boolean;
|
|
496
111
|
requiresSelection: boolean;
|
|
497
112
|
}>;
|
|
498
113
|
type BookingAvailabilityModel = Readonly<{
|
|
@@ -515,7 +130,12 @@ type BookingFieldsModel = Readonly<{
|
|
|
515
130
|
errors: Readonly<Record<string, string>>;
|
|
516
131
|
touched: Readonly<Record<string, boolean>>;
|
|
517
132
|
}>;
|
|
518
|
-
type
|
|
133
|
+
type BookingPackagePaymentModel = Readonly<{
|
|
134
|
+
choice: BookingPaymentChoice;
|
|
135
|
+
purchasablePackages: BookingPurchasablePackagesModel;
|
|
136
|
+
availability: BookingPaymentAvailability;
|
|
137
|
+
}>;
|
|
138
|
+
type BookingPaymentModel = BookingPackagePaymentModel & (Readonly<{
|
|
519
139
|
kind: "unsupported";
|
|
520
140
|
mode: "unsupported";
|
|
521
141
|
selection: null;
|
|
@@ -538,7 +158,7 @@ type BookingPaymentModel = Readonly<{
|
|
|
538
158
|
slidingScale: ReturnType<typeof getBookingServiceSlidingScale>;
|
|
539
159
|
appointmentPackages: BookingAppointmentPackagesModel;
|
|
540
160
|
confirmationSummary: BookingPaymentConfirmationSummary | null;
|
|
541
|
-
}
|
|
161
|
+
}>);
|
|
542
162
|
type BookingDiscountModel = Readonly<{
|
|
543
163
|
code: string;
|
|
544
164
|
isOpen: boolean;
|
|
@@ -559,6 +179,7 @@ type BookingFlowActions = Readonly<{
|
|
|
559
179
|
markFieldTouched: (fieldId: string) => void;
|
|
560
180
|
selectPaymentOption: (kind: BookingSelectedCollectionOptionKind | null) => void;
|
|
561
181
|
selectAppointmentPackage: (packageId: string | null) => void;
|
|
182
|
+
selectPackageToBuy: (passId: string | null) => void;
|
|
562
183
|
setSlidingAmountInput: (value: string) => void;
|
|
563
184
|
setDiscountCode: (code: string) => void;
|
|
564
185
|
clearDiscountCode: () => void;
|
|
@@ -667,6 +288,7 @@ type BookingFormData<TCustomFieldId extends string = never> = BookingFormData$1<
|
|
|
667
288
|
* Data submitted to create a booking
|
|
668
289
|
*/
|
|
669
290
|
interface BookingSubmissionData {
|
|
291
|
+
purchasePassId?: string;
|
|
670
292
|
formId: string;
|
|
671
293
|
serviceId: string;
|
|
672
294
|
resourceId?: string;
|
|
@@ -849,9 +471,20 @@ type UseEventRegistrationWizardOptions = Readonly<{
|
|
|
849
471
|
maxTicketsNum: number;
|
|
850
472
|
mailingList?: EventRegistrationClientProps['mailingList'];
|
|
851
473
|
siteTerms?: BlockSiteTerms;
|
|
474
|
+
offeringNoun?: EventRegistrationClientProps['offeringNoun'];
|
|
475
|
+
pageNavigation?: EventRegistrationClientProps['pageNavigation'];
|
|
852
476
|
siteName?: string;
|
|
853
477
|
}>;
|
|
854
478
|
declare function useEventRegistrationWizard(options: UseEventRegistrationWizardOptions): {
|
|
479
|
+
handOff?: Readonly<{
|
|
480
|
+
kind: 'handOff';
|
|
481
|
+
url: string;
|
|
482
|
+
}> & Readonly<{
|
|
483
|
+
purpose: 'signIn' | 'navigation';
|
|
484
|
+
}>;
|
|
485
|
+
dismissHandOff?: () => void;
|
|
486
|
+
handOffBusinessName?: string;
|
|
487
|
+
handOffOfferingLabel?: string;
|
|
855
488
|
api: BoundBlockApiClient;
|
|
856
489
|
nowIso: UtcIsoDateTimeString;
|
|
857
490
|
directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
|
|
@@ -964,7 +597,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
964
597
|
portalProfile: PortalProfile | null;
|
|
965
598
|
portalCreditState: PortalCreditState;
|
|
966
599
|
showMagicLinkModal: boolean;
|
|
967
|
-
setShowMagicLinkModal:
|
|
600
|
+
setShowMagicLinkModal: (show: boolean) => void;
|
|
968
601
|
handleLogout: () => void;
|
|
969
602
|
paymentStepState: PaymentStepState;
|
|
970
603
|
handlePaymentSelectionChange: (value: Parameters<(selection: PaymentSelection) => void>[0]) => void;
|
|
@@ -982,7 +615,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
982
615
|
registrationOptionsState: EligibilityLookupState;
|
|
983
616
|
eligibilityLoading: boolean;
|
|
984
617
|
eligibilityError: string | null;
|
|
985
|
-
|
|
618
|
+
existingRegistrations: CustomerEventRegistration[];
|
|
986
619
|
existingRegistrationLoading: boolean;
|
|
987
620
|
existingRegistrationState: ExistingRegistrationLookupState;
|
|
988
621
|
registrationState: Readonly<{
|
|
@@ -1350,6 +983,15 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1350
983
|
step: "success";
|
|
1351
984
|
registrationResult: RegistrationResult;
|
|
1352
985
|
} | {
|
|
986
|
+
handOff?: Readonly<{
|
|
987
|
+
kind: 'handOff';
|
|
988
|
+
url: string;
|
|
989
|
+
}> & Readonly<{
|
|
990
|
+
purpose: 'signIn' | 'navigation';
|
|
991
|
+
}>;
|
|
992
|
+
dismissHandOff?: () => void;
|
|
993
|
+
handOffBusinessName?: string;
|
|
994
|
+
handOffOfferingLabel?: string;
|
|
1353
995
|
api: BoundBlockApiClient;
|
|
1354
996
|
nowIso: UtcIsoDateTimeString;
|
|
1355
997
|
directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
|
|
@@ -1462,7 +1104,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1462
1104
|
portalProfile: PortalProfile | null;
|
|
1463
1105
|
portalCreditState: PortalCreditState;
|
|
1464
1106
|
showMagicLinkModal: boolean;
|
|
1465
|
-
setShowMagicLinkModal:
|
|
1107
|
+
setShowMagicLinkModal: (show: boolean) => void;
|
|
1466
1108
|
handleLogout: () => void;
|
|
1467
1109
|
paymentStepState: PaymentStepState;
|
|
1468
1110
|
handlePaymentSelectionChange: (value: Parameters<(selection: PaymentSelection) => void>[0]) => void;
|
|
@@ -1480,7 +1122,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1480
1122
|
registrationOptionsState: EligibilityLookupState;
|
|
1481
1123
|
eligibilityLoading: boolean;
|
|
1482
1124
|
eligibilityError: string | null;
|
|
1483
|
-
|
|
1125
|
+
existingRegistrations: CustomerEventRegistration[];
|
|
1484
1126
|
existingRegistrationLoading: boolean;
|
|
1485
1127
|
existingRegistrationState: ExistingRegistrationLookupState;
|
|
1486
1128
|
registrationState: Readonly<{
|
|
@@ -2061,9 +1703,9 @@ type HeadlessEventRegistrationFlow = Readonly<{
|
|
|
2061
1703
|
payment: EventRegistrationPaymentModel;
|
|
2062
1704
|
discount: EventRegistrationDiscountModel;
|
|
2063
1705
|
portalAuth: EventRegistrationPortalAuthModel;
|
|
2064
|
-
|
|
2065
|
-
state: EventRegistrationLoadState<UseEventRegistrationWizardResult['
|
|
2066
|
-
|
|
1706
|
+
existingRegistrations: Readonly<{
|
|
1707
|
+
state: EventRegistrationLoadState<UseEventRegistrationWizardResult['existingRegistrations']>;
|
|
1708
|
+
registrations: UseEventRegistrationWizardResult['existingRegistrations'];
|
|
2067
1709
|
}>;
|
|
2068
1710
|
waitlistClaim: WaitlistInvitation;
|
|
2069
1711
|
terminal: EventRegistrationTerminalModel;
|
|
@@ -2175,4 +1817,4 @@ declare function EventRegistrationPayment({
|
|
|
2175
1817
|
flow: HeadlessEventRegistrationFlow;
|
|
2176
1818
|
}>): import("react").JSX.Element;
|
|
2177
1819
|
//#endregion
|
|
2178
|
-
export { HeadlessBookingProviderProps as $, BookingFormClient as A, BookingFormField as B, EventRegistrationPaymentModel as C,
|
|
1820
|
+
export { HeadlessBookingProviderProps as $, BookingFormClient as A, BookingFormField as B, EventRegistrationPaymentModel as C, EventRegistrationTicketsModel as D, EventRegistrationTerminalModel as E, BookingFormClientForm as F, BookingSubmissionResult as G, BookingFormSettings as H, BookingFormClientProps as I, UseBookingFormConfigResult as J, Service as K, BookingFormClientService as L, HeadlessBookingProvider as M, HeadlessEventRegistrationProvider as N, HeadlessEventRegistrationFlow as O, useBookingFormConfig as P, HeadlessBookingFlowOptions as Q, BookingFormConfig as R, EventRegistrationOverridePropsLike as S, EventRegistrationPortalAuthModel as T, BookingService as U, BookingFormSchema as V, BookingSubmissionData as W, BookingResourcesModel as X, HeadlessBookingPaymentSelectionStepProps as Y, HeadlessBookingFlow as Z, EventRegistrationGuestsModel as _, useHeadlessEventRegistrationFlow as a, EventRegistrationOverrideInput as b, EventRegistrationAttendeeModel as c, EventRegistrationFlowActionResult as d, useHeadlessBookingFlow as et, EventRegistrationFlowActions as f, EventRegistrationFlowView as g, EventRegistrationFlowStepId as h, HeadlessEventRegistrationProviderProps as i, HeadlessBookingPaymentSelectionStep as j, EventRegistrationSubmitResult as k, EventRegistrationDiscountModel as l, EventRegistrationFlowStep as m, ProtectedSubmitButton as n, createEventRegistrationBlockApiConfig as o, EventRegistrationFlowStatus as p, TimeSlot as q, HeadlessEventRegistrationFlowOptions as r, getEventRegistrationOverrideInput as s, EventRegistrationPayment as t, EventRegistrationEventsModel as u, EventRegistrationLoadState as v, EventRegistrationPaymentSelection as w, EventRegistrationOverrideInputResult as x, EventRegistrationOverrideData as y, BookingFormData as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { gt as NavigationConfigItemInput, ht as NavigationAuthoringLinkInput } from "./request-
|
|
2
|
-
import { u as BindingTransformName } from "./index-
|
|
1
|
+
import { gt as NavigationConfigItemInput, ht as NavigationAuthoringLinkInput } from "./request-DssgRQSm.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-NaRauKDR.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as PublicBookingServicesResponse$1,
|
|
2
|
-
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-
|
|
3
|
-
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { At as PublicBookingServicesResponse$1, Br as PageRuntimeJoin, Cr as Media, Ct as SiteRuntimeIdentity, Ft as SdkRuntimeEntry$1, Gr as MailingListRuntimeContext, Jn as ResolvedInternalLinkEntityType, Kr as WeeklyOpeningHours, Lt as ApiErrorCode$1, Qr as PublicLocation, St as SiteBookingOfferingPresetSummary$1, Tt as SdkBlockContentAdmission, Ur as BookingEmbedSettings, Wr as MapDrawing, Xr as BusinessAddress, Zn as FooterMode, Zr as BusinessLocationPermission, _t as SiteRuntimeSiteTerms, bt as SdkRuntimePageSurface$1, dr as PublicVenueMapLocation, fr as PublicEvent, ft as ResolveEventSubrouteQuery, gi as BlockInteractionContext, ii as BookingTimeZone, jt as PublicServiceCategorySummary$1, kt as PublicBookingServiceCatalogueItem$1, mt as PublicPassesResponse$1, pt as ResolveEventSubrouteResponse$1, vt as RoutableContentItem$1, wt as SiteRuntimeSelectionPayload, xt as SdkRuntimePageSurfaceSubject$1, yt as SdkLocationMapSupport } from "./request-DssgRQSm.js";
|
|
2
|
+
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-NaRauKDR.js";
|
|
3
|
+
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-DrAWDtqR.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
|
|
6
6
|
type PublicTeamMemberSummary = {
|
|
@@ -322,6 +322,7 @@ type SiteRouteRecord = {
|
|
|
322
322
|
};
|
|
323
323
|
type SiteBookingOfferingPresetSummary = SiteBookingOfferingPresetSummary$1;
|
|
324
324
|
type SiteResponse = SiteRuntimeSelectionPayload & {
|
|
325
|
+
/** Optional at the published SDK boundary, which may receive older server payloads. */bookingEmbed?: BookingEmbedSettings | null;
|
|
325
326
|
demoEmailSuppressed?: boolean;
|
|
326
327
|
interactionContext?: BlockInteractionContext;
|
|
327
328
|
site: SiteRuntimeIdentity & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { z as BlockKind } from "./content-types-
|
|
3
|
-
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-
|
|
4
|
-
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline } from "./Page-
|
|
1
|
+
import { Dn as BrowserReadAuthority, Qn as Theme } from "./request-DssgRQSm.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-EMK-E_r9.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-NaRauKDR.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-DjYsGY3B.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-cObpvZGF.js";
|
|
6
|
+
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline } from "./Page-BhCfStX1.js";
|
|
7
7
|
import { buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildMenu } from "./sdk/src/navigation/index.js";
|
|
8
8
|
//#region .cache/declarations/sdk/src/rendering/components/Layout.d.ts
|
|
9
9
|
type CustomHeaderData = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as SiteResponse } from "./contracts-
|
|
2
|
-
import { K as LoadPageResult } from "./Page-
|
|
1
|
+
import { I as SiteResponse } from "./contracts-DjYsGY3B.js";
|
|
2
|
+
import { K as LoadPageResult } from "./Page-BhCfStX1.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
|
|
5
5
|
/**
|