@riverbankcms/sdk 0.181.0 → 0.183.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/CHANGELOG.md +79 -0
- package/README.md +49 -3
- package/dist/_dts/{BlocksIslandsHydrator-CVCasDPz.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-CEqZJZEE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-B_B_amKD.d.ts} +2 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-BOpUh8kO.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-Bizdaxji.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-BxCmCit0.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CjAkEWAp.d.ts} +4 -4
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-iuFrbIjt.d.ts} +1 -1
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-liuhlOX7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-Gn0O1blj.d.ts} +25042 -23761
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-xzJ3c9Na.d.ts} +1 -1
- 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 +7 -7
- 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/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 +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/portal/index.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 +6 -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 +91 -2
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-BoITy0rA.d.ts} +41 -4
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-DBNuMtSk.d.ts} +16 -5
- package/dist/_dts/{types-R65DKjPn.d.ts → types-DHMcuoeQ.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BIPO-XlE.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
- package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +27 -10
- package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
- package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Fr2qi2C2.mjs} +33 -186
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-COuEJzbO.mjs} +8 -8
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +41 -195
- package/dist/client/{Page-C7mygH_f.mjs → Page-CgbQZP5g.mjs} +2947 -1018
- package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-DyXoI3ob.mjs} +221 -20
- package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-wj4Rloo5.mjs} +1214 -724
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-BVXfjnh-.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-DycPGtke.mjs} +191 -71
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
- package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-DyCLMP8s.mjs} +2 -2
- package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BuEp_cj4.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-CAO39uDG.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-BoxzT64s.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
- package/dist/client/client.mjs +466 -94
- package/dist/client/{constants-CoOkvw__.mjs → constants-C_8AxMdm.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-D1L0pe__.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-aTLifOX7.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-Dikmc2AO.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-zHaQK5I9.mjs} +5 -5
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-BLl9n8TH.mjs} +3 -3
- package/dist/client/gifting/client.mjs +16 -9
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-CufPM38H.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client--N1GaSY8.mjs} +155 -84
- package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
- package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-BIaBpmk3.mjs} +2 -2
- package/dist/client/{noop-Dl4mZ-rr.mjs → islands-DJDLGQEm.mjs} +16008 -8676
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +384 -326
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
- package/dist/client/portal/client.mjs +291 -101
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-tCxS04g0.mjs} +3 -2
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-DTHlWg_F.mjs} +33 -7
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-DhZAwo60.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BiVpbZK2.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-C3OBRg7x.mjs} +2305 -873
- package/dist/client/rendering/client.mjs +29 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-ms477Z08.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
- package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-xt4dQ3HH.mjs} +3 -3
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-DS8t6749.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-ZSqRK3dD.mjs → src-Do_s2lqH.mjs} +16 -19
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-Dy3nNfTG.mjs} +13 -17
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
- package/dist/client/{view-CC_yQLSA.mjs → view-4gnPcpWJ.mjs} +24 -9
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-DDvL3iza.mjs} +375 -186
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3871 -1947
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +51 -20
- package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
- package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-CqH91EwA.mjs} +20687 -8562
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
- package/dist/preview-next/container-responsive.css +320 -0
- package/dist/preview-next/editor-chrome.css +23 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-Ch0X99vE.mjs} +183 -18
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-B2FmczLO.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-DtAyv9qA.mjs} +51 -29
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-BtPqb76u.mjs} +509 -389
- package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-B_9JuU66.mjs} +7 -7
- package/dist/server/{client-CDndhbYO.mjs → client-DC7cjiSw.mjs} +489 -93
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-d6nPNJpe.mjs} +33 -6
- package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-DxPrNOAB.mjs} +950 -316
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-hb27HYic.mjs} +11 -10
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-JToD8wDD.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-B2WhGofA.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +242 -336
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-m80Xu2pd.mjs} +1292 -877
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
- package/dist/server/{portal-CMW_b9mG.mjs → portal-B2wCQno_.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-BWIkFaXq.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
- package/dist/server/{registry-DM9dHfDC.mjs → registry-KtsOsAzY.mjs} +21703 -10936
- 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 +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
- package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-ChEZDRwU.mjs} +38 -15
- package/dist/server/theme-bridge.mjs +34 -9
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
- package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
- package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
- package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
- package/dist/server/{validation-DG5jX3jH.mjs → validation-Cvi-1TZZ.mjs} +13 -9
- package/dist/server/{version-CipbxPHL.mjs → version-B-icAIV1.mjs} +1 -1
- package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
- package/dist/styles/index.css +2568 -154
- package/package.json +1 -1
- package/dist/client/gifting.parts-CedLgwa_.mjs +0 -86
- package/dist/client/runtimeResponse-DL_ARBpa.mjs +0 -3
- package/dist/client/types-BEaKfam_.mjs +0 -778
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
3
|
+
import { _n as staticHeaderChromeRuntime } from "../newsletter-form.interactive-hzpkW9NQ.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import { h as Text } from "../timetableModel-
|
|
9
|
-
import {
|
|
10
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
11
|
-
import "../accessibleSurfaces-
|
|
12
|
-
import { x as clsx } from "../ThemedButton-
|
|
5
|
+
import { Io as RichText, as as renderAudio, is as mediaImageHostProps, ns as MediaPlaceholder, os as renderVideo, rs as computeMediaTransformStyle, ts as ImagePresets, us as resolveMediaNodeResponsiveImage } from "../wizardSteps-DDvL3iza.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-DycPGtke.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-DiSxkBUP.mjs";
|
|
8
|
+
import { h as Text } from "../timetableModel-Dy3nNfTG.mjs";
|
|
9
|
+
import { Bt as accordionLookAttributes, Dt as EventDetailsView, Ft as markEditableSurfaceForwarding, Gn as ICON_CONFIG, Ht as resolveAccordionIconStyle, It as splitPositioningClasses, Nt as HeaderSectionFrame, Pt as composeHeaderSectionWrapperClassName, Vt as accordionIconColorStyle, jt as resolveEventDetailsPresentation, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, rt as WeeklySlotAvailabilityView, t as serverComponentRegistry, vt as LocationMapSSR, zt as accordionItemPartSlots } from "../registry.server-C3OBRg7x.mjs";
|
|
10
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-D1L0pe__.mjs";
|
|
11
|
+
import "../accessibleSurfaces-wj4Rloo5.mjs";
|
|
12
|
+
import { x as clsx } from "../ThemedButton-Bc9DBbVp.mjs";
|
|
13
13
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
14
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
15
|
-
import { t as ShopClient } from "../shop.client-
|
|
16
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
17
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
14
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-ms477Z08.mjs";
|
|
15
|
+
import { n as useEditorParts, t as ShopClient } from "../shop.client-DNJfD3VQ.mjs";
|
|
16
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-DxaGjFFS.mjs";
|
|
17
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-DcjtDpUu.mjs";
|
|
18
18
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
19
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
20
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
21
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
22
|
-
import { t as CartClient } from "../cart.client-
|
|
23
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
24
|
-
import { t as GiftingClient } from "../gifting.client
|
|
25
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
26
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
27
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
28
|
-
import { t as FormNodeClient } from "../form.client-
|
|
29
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
30
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
19
|
+
import { t as CarouselNodeClient } from "../carousel.client-DffP_Nv0.mjs";
|
|
20
|
+
import { t as ProductListClient } from "../product-list.client-DFWYvK8z.mjs";
|
|
21
|
+
import { t as ProductDetailClient } from "../product-detail.client-22Q7zgjN.mjs";
|
|
22
|
+
import { t as CartClient } from "../cart.client-CAO39uDG.mjs";
|
|
23
|
+
import { t as CheckoutClient } from "../checkout.client-IGUy7XOx.mjs";
|
|
24
|
+
import { t as GiftingClient } from "../gifting.client--N1GaSY8.mjs";
|
|
25
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-CtLAG651.mjs";
|
|
26
|
+
import { t as EventListingClient } from "../EventListing.client-BhGxfbjt.mjs";
|
|
27
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-BtkJW8bA.mjs";
|
|
28
|
+
import { t as FormNodeClient } from "../form.client-zHaQK5I9.mjs";
|
|
29
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-wg_JHTxm.mjs";
|
|
30
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-Ct8slgRk.mjs";
|
|
31
31
|
import * as React$1 from "react";
|
|
32
32
|
import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1184,7 +1184,9 @@ const FALLBACK_IMAGE_DATA_URL = "data:image/svg+xml;charset=utf-8," + encodeURIC
|
|
|
1184
1184
|
</g>
|
|
1185
1185
|
</svg>`);
|
|
1186
1186
|
const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface, className, style, videoPlayback = "inline", loading = "lazy", fetchPriority, size = ImagePresets.full, fieldPath, blockKind, blockContent, imageResolveContext: explicitImageResolveContext }) => {
|
|
1187
|
-
const
|
|
1187
|
+
const contextImageResolveContext = useImageResolveContextOptional();
|
|
1188
|
+
const markPart = useEditorParts();
|
|
1189
|
+
const imageResolveContext = mergeResolveImageUrlContexts(explicitImageResolveContext, contextImageResolveContext);
|
|
1188
1190
|
if (!value) return null;
|
|
1189
1191
|
switch (value.type) {
|
|
1190
1192
|
case "video": return renderVideo(value, className, style, imageResolveContext, { playback: videoPlayback });
|
|
@@ -1229,6 +1231,7 @@ const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface,
|
|
|
1229
1231
|
src: imageUrl,
|
|
1230
1232
|
srcSet: responsive?.srcSet,
|
|
1231
1233
|
sizes: responsive?.sizes,
|
|
1234
|
+
...fieldPath ? markPart(fieldPath) : {},
|
|
1232
1235
|
onError: handleImageError
|
|
1233
1236
|
});
|
|
1234
1237
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { Cn as toUtcIsoDateTimeString, J as
|
|
4
|
-
import {
|
|
5
|
-
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-
|
|
6
|
-
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-
|
|
7
|
-
import {
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, J as persistableMediaSchema, Y as runtimeMediaSchema, q as mediaSchema } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { Io as RichText$2, Ms as resolveDateRuntimeContext, Ns as sanitizeHref, cs as resolveImageUrl$1, js as readRuntimeNow, ls as resolveImageUrlWithContext$1, rs as computeMediaTransformStyle, ss as resolveImageSourceSetWithContext$1 } from "./wizardSteps-DDvL3iza.mjs";
|
|
5
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-DTHlWg_F.mjs";
|
|
6
|
+
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-CgbQZP5g.mjs";
|
|
7
|
+
import { q as parseFieldDefinition } from "./registry.server-C3OBRg7x.mjs";
|
|
8
8
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
9
9
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-COfQolI3.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { B as RichTextDocSchema } from "./src-Do_s2lqH.mjs";
|
|
3
|
+
import { c as logger } from "./islands-DJDLGQEm.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
5
5
|
function parseRichTextDoc(value) {
|
|
6
6
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { to as createHostedBlockApiConfig } from "./wizardSteps-DDvL3iza.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as parseSurfaceTree } from "./accessibleSurfaces-
|
|
2
|
+
import { n as parseSurfaceTree } from "./accessibleSurfaces-wj4Rloo5.mjs";
|
|
3
3
|
//#region ../site-renderer/src/runtimeResponse.ts
|
|
4
4
|
/** Recreate owner-produced rendering values at a JSON boundary, never trust copied proofs. */
|
|
5
5
|
function restoreRuntimeResponse(serialized) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
8
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
-
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-
|
|
10
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
11
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
2
|
+
import { G as getShopDisplayForItems } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
|
|
3
|
+
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { Io as RichText, Jr as buildProductCardDisplay, Yr as buildProductDetailDisplay, Zr as formatCommercePrice, ai as buildProductCartItem, ci as productItemKey, oi as deriveCommerceCheckoutState } from "./wizardSteps-DDvL3iza.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DQNkfNLA.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-D1L0pe__.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-Bc9DBbVp.mjs";
|
|
8
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-ms477Z08.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
|
|
10
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-D0UsiFmm.mjs";
|
|
11
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-7mO6KY7_.mjs";
|
|
12
12
|
import { t as consumeSearchParam } from "./urlParams-C2QHo1Pa.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
15
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
16
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
17
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
14
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-4gnPcpWJ.mjs";
|
|
15
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-BunFTnIq.mjs";
|
|
16
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-L1Vge8tG.mjs";
|
|
17
|
+
import { t as CarouselNodeClient } from "./carousel.client-DffP_Nv0.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
19
19
|
import { useEffect, useState } from "react";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -196,6 +196,7 @@ function ProductDetailController(props) {
|
|
|
196
196
|
className: props.render.display.className,
|
|
197
197
|
emptyMessage: props.render.display.state === "empty" ? props.render.display.emptyMessage : void 0,
|
|
198
198
|
showSummary: props.render.hydration.showSummary,
|
|
199
|
+
showBody: props.render.hydration.showBody,
|
|
199
200
|
addButtonText: props.render.hydration.addButtonText
|
|
200
201
|
}, variantId), [
|
|
201
202
|
props.render.display,
|
|
@@ -203,7 +204,7 @@ function ProductDetailController(props) {
|
|
|
203
204
|
selectedProduct,
|
|
204
205
|
variantId
|
|
205
206
|
]);
|
|
206
|
-
const bodyDoc = display.state === "ready" &&
|
|
207
|
+
const bodyDoc = display.state === "ready" && display.body ? coerceRichTextDoc(display.body, "block-runtime:product-detail:body") : null;
|
|
207
208
|
return /* @__PURE__ */ jsx(ProductDetailView, {
|
|
208
209
|
display,
|
|
209
210
|
gallery: display.state === "ready" ? /* @__PURE__ */ jsx(ProductGalleryFrameView, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ii as buildPassCartItem, li as reduceCommerceCart, ri as EMPTY_COMMERCE_CART_STATE, si as parseStoredCommerceCartState } from "./wizardSteps-
|
|
2
|
+
import { ii as buildPassCartItem, li as reduceCommerceCart, ri as EMPTY_COMMERCE_CART_STATE, si as parseStoredCommerceCartState } from "./wizardSteps-DDvL3iza.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutRoute.ts
|
|
5
5
|
function resolveDedicatedCheckoutTarget(pathname) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
3
|
+
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
|
|
5
5
|
const initialDiscountApplyState = {
|
|
6
6
|
isOpen: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as ShopClient } from "./shop.client-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as ShopClient } from "./shop.client-DNJfD3VQ.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-DS8t6749.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
2
|
+
import { Q as shopProductPresentation } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { Hi as getShopSuccessCopy, Qr as formatInterval, Wr as appliedDiscountHint, Zr as formatCommercePrice } from "./wizardSteps-DDvL3iza.mjs";
|
|
5
5
|
import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
9
|
-
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DQNkfNLA.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-D1L0pe__.mjs";
|
|
8
|
+
import { n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { n as consumeSearchParams } from "./urlParams-C2QHo1Pa.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DvdFFWOT.mjs";
|
|
17
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
18
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
19
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
20
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
21
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
22
|
-
import { n as formatEntitlementEnd } from "./dateFormatting-
|
|
23
|
-
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, p as noEditorParts, r as MembershipCardView } from "./view-4gnPcpWJ.mjs";
|
|
19
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-BunFTnIq.mjs";
|
|
20
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-L1Vge8tG.mjs";
|
|
21
|
+
import { t as CarouselNodeClient } from "./carousel.client-DffP_Nv0.mjs";
|
|
22
|
+
import { n as formatEntitlementEnd } from "./dateFormatting-HvfmS_cH.mjs";
|
|
23
|
+
import React, { createContext, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
26
26
|
const alignmentClasses = {
|
|
@@ -39,6 +39,13 @@ function ActionRow({ children, className, align = "start" }) {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
//#endregion
|
|
42
|
+
//#region ../blocks/src/system/runtime/editorParts.client.tsx
|
|
43
|
+
const EditorPartsContext = createContext(noEditorParts);
|
|
44
|
+
/** How a client renderer marks a part: by its field on the editor's canvas, and not at all elsewhere. */
|
|
45
|
+
function useEditorParts() {
|
|
46
|
+
return useContext(EditorPartsContext);
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
42
49
|
//#region ../blocks/src/system/runtime/nodes/shop.state.ts
|
|
43
50
|
const EMPTY_FORM = {
|
|
44
51
|
email: "",
|
|
@@ -320,6 +327,7 @@ function PassProductCard(props) {
|
|
|
320
327
|
});
|
|
321
328
|
}
|
|
322
329
|
function PurchasablePassCard(props) {
|
|
330
|
+
const markPart = useEditorParts();
|
|
323
331
|
const { product } = props.action;
|
|
324
332
|
const selection = product.teamMemberSelection;
|
|
325
333
|
const [chosen, setChosen] = useState(() => initialPassTeamMember(selection));
|
|
@@ -351,6 +359,7 @@ function PurchasablePassCard(props) {
|
|
|
351
359
|
size: "md",
|
|
352
360
|
extraClassName: "shop__cta",
|
|
353
361
|
label: props.action.label,
|
|
362
|
+
editorPart: markPart("buyButtonText"),
|
|
354
363
|
onClick: buy
|
|
355
364
|
})] })
|
|
356
365
|
});
|
|
@@ -402,6 +411,7 @@ function getCheckoutDiscountApplyLine(checkout) {
|
|
|
402
411
|
}
|
|
403
412
|
function PassesMembershipsController({ render }) {
|
|
404
413
|
const api = useBlockApi();
|
|
414
|
+
const markPart = useEditorParts();
|
|
405
415
|
const [state, dispatch] = React.useReducer(shopPassesMembershipsReducer, initialShopPassesMembershipsState);
|
|
406
416
|
const [discountApply, dispatchDiscountApply] = React.useReducer(discountApplyReducer, initialDiscountApplyState);
|
|
407
417
|
const [modalPortalRoot, setModalPortalRoot] = useState(null);
|
|
@@ -410,8 +420,7 @@ function PassesMembershipsController({ render }) {
|
|
|
410
420
|
const emailInputRef = useRef(null);
|
|
411
421
|
const focusedCheckoutKeyRef = useRef(null);
|
|
412
422
|
const checkout = getOpenCheckout(state);
|
|
413
|
-
const display = render
|
|
414
|
-
const hydration = render.hydration;
|
|
423
|
+
const { display, hydration } = render;
|
|
415
424
|
const siteTerms = useSiteTermsAgreement({
|
|
416
425
|
terms: hydration.siteTerms,
|
|
417
426
|
context: { kind: "purchase" }
|
|
@@ -544,6 +553,7 @@ function PassesMembershipsController({ render }) {
|
|
|
544
553
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
545
554
|
ref: shopRootRef,
|
|
546
555
|
children: /* @__PURE__ */ jsx(PassesMembershipsSectionView, {
|
|
556
|
+
part: markPart,
|
|
547
557
|
display,
|
|
548
558
|
presentation: hydration.presentation,
|
|
549
559
|
Carousel: CarouselNodeClient,
|
|
@@ -576,6 +586,7 @@ function PassesMembershipsController({ render }) {
|
|
|
576
586
|
size: "md",
|
|
577
587
|
extraClassName: "shop__cta",
|
|
578
588
|
label: action.label,
|
|
589
|
+
editorPart: markPart("subscribeButtonText"),
|
|
579
590
|
onClick: () => handleSubscribe(action.product)
|
|
580
591
|
})
|
|
581
592
|
}, membershipDisplay.id);
|
|
@@ -771,4 +782,4 @@ function PassesMembershipsController({ render }) {
|
|
|
771
782
|
}) : null] });
|
|
772
783
|
}
|
|
773
784
|
//#endregion
|
|
774
|
-
export { ShopClient as t };
|
|
785
|
+
export { useEditorParts as n, ShopClient as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-B6nQeqvH.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
3
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-BG7my0Qf.mjs";
|
|
4
4
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
5
5
|
import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
6
6
|
export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
|
|
@@ -1669,23 +1669,6 @@ const arrangementModes = [
|
|
|
1669
1669
|
function isArrangementMode(value) {
|
|
1670
1670
|
return value === "list" || value === "calendar" || value === "week" || value === "combined";
|
|
1671
1671
|
}
|
|
1672
|
-
/** Every transition that draws something; `none` is the absence of a join. */
|
|
1673
|
-
const decorativeTransitionIntentValues = [
|
|
1674
|
-
"soft-fade-short",
|
|
1675
|
-
"soft-fade-long",
|
|
1676
|
-
"soft-fade-expansive",
|
|
1677
|
-
"wave-edge",
|
|
1678
|
-
"wave-edge-balanced",
|
|
1679
|
-
"wave-edge-gentle",
|
|
1680
|
-
"wave-edge-bold",
|
|
1681
|
-
"wave-edge-drift",
|
|
1682
|
-
"wave-edge-echo",
|
|
1683
|
-
"arc-edge-echo",
|
|
1684
|
-
"arc-edge-bulge",
|
|
1685
|
-
"angle-edge",
|
|
1686
|
-
"angle-edge-subtle",
|
|
1687
|
-
"angle-edge-steep"
|
|
1688
|
-
];
|
|
1689
1672
|
const tileTreatmentValues = [
|
|
1690
1673
|
"default",
|
|
1691
1674
|
"quiet",
|
|
@@ -2078,6 +2061,16 @@ const eventCalendarVariantMeaning = {
|
|
|
2078
2061
|
week: "Week"
|
|
2079
2062
|
}
|
|
2080
2063
|
};
|
|
2064
|
+
/**
|
|
2065
|
+
* What a Look fixes on the calendar: it shows the month, so which views the
|
|
2066
|
+
* calendar offers and which it opens on aren't the owner's to choose. The
|
|
2067
|
+
* page applies it under a Look, and the editor reads it to leave those
|
|
2068
|
+
* choices out.
|
|
2069
|
+
*/
|
|
2070
|
+
const eventCalendarLookViews = {
|
|
2071
|
+
calendarTabViews: "month",
|
|
2072
|
+
defaultCalendarView: "month"
|
|
2073
|
+
};
|
|
2081
2074
|
/** Weekly lists share the arrangement-Look admission used by calendar arrangements. */
|
|
2082
2075
|
function eventCalendarListGroupingDecision(input) {
|
|
2083
2076
|
const available = input.arrangementLooks && resolveEventCalendarReadPlan(input).mode === "list";
|
|
@@ -2322,7 +2315,11 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
|
|
|
2322
2315
|
}), z.object({
|
|
2323
2316
|
kind: z.literal("external"),
|
|
2324
2317
|
url: z.string(),
|
|
2325
|
-
label: z.string()
|
|
2318
|
+
label: z.string(),
|
|
2319
|
+
page: z.object({
|
|
2320
|
+
mode: eventDestinationModeSchema,
|
|
2321
|
+
path: z.string()
|
|
2322
|
+
}).optional()
|
|
2326
2323
|
})]);
|
|
2327
2324
|
/**
|
|
2328
2325
|
* Zod schema for venue data
|
|
@@ -2815,4 +2812,4 @@ function assertNever(value, message) {
|
|
|
2815
2812
|
throw new Error(message ?? `Unexpected value: ${String(value)}`);
|
|
2816
2813
|
}
|
|
2817
2814
|
//#endregion
|
|
2818
|
-
export {
|
|
2815
|
+
export { mediaTypeDiscriminants as $, mapDrawingSchema as $t, eventCalendarListGroupingDecision as A, formatCurrencyAmount as An, publicMembershipProductSchema as At, RichTextDocSchema as B, parseEventSeriesId as Bn, publicEventLoaderQuerySchemaShape as Bt, publicEventsArraySchema as C, toUtcIsoDateTimeString as Cn, unsafeAsPositiveCheckoutQuantity as Ct, isBookingRequirementConsentFieldId as D, parsePositiveCents as Dn, eventCalendarDisplayModeValues as Dt, bookingConsentCarrierSchema as E, toBookingTimeZone as En, eventCalendarDefaultViewValues as Et, isEventCalendarDefaultView as F, unsafeAsAppointmentResourceId as Fn, calendarMonthDate as Ft, externalMediaSchema as G, normalizeLocationAddressText as Gt, createRichTextDoc as H, unsafeAsEventCategoryId as Hn, EVENT_PRESET_VALUES as Ht, isEventCalendarDisplayMode as I, unsafeAsAppointmentServiceId as In, calendarWindowQuerySchema as It, persistableMediaSchema as J, publicLocationSchema as Jt, imageMediaSchema as K, parseLocationValue as Kt, isEventCalendarListLayout as L, parseSiteTermsVersionId as Ln, eventScheduleScopeValues as Lt, eventCalendarLookViews as M, parseAppointmentId as Mn, publicProductSchema as Mt, eventCalendarVariantMeaning as N, parseAppointmentServiceId as Nn, purchasablePublicMembershipProductSchema as Nt, toBookingRequirementConsentField as O, parsePositiveMoneyInputToCents as On, eventCalendarListLayoutCompatibleDisplayModeValues as Ot, eventListArrangementValues as P, parseClientArrangementId as Pn, purchasablePublicPassProductSchema as Pt, isDisplayMediaKind as Q, trimmedStringOrNull as Qt, normalizeEventCalendarDisplayMode as R, parseAttendeeId as Rn, eventSurfacePresetValues as Rt, publicEventSchema as S, parseUtcIsoDateTimeString as Sn, roomChoicesSchema as St, blockBookingConsentSchema as T, resolveBookingTimeZoneId as Tn, normalizeCurrencyCode as Tt, isRichTextDoc as U, WHOLE_SERIES_EVENT_PRESET_VALUES as Ut, buildRichTextSchema as V, parseEventSeriesRegistrationId as Vn, isRecord as Vt, assetMediaSchema as W, locationValueSchema as Wt, videoMediaSchema as X, capitalize as Xt, runtimeMediaSchema as Y, toLocationCoordinates as Yt, PUBLIC_FILE_FIELD_KINDS as Z, hasText as Zt, publicMembershipProductCollectionSchema as _, formatLocalScheduleDate as _n, unknownKind as _t, clearWorkflowFeedback as a, formatDateTimeRange as an, eyebrowTreatmentValues as at, publicEventDestinationSchema as b, parseBookingLocalDate as bn, placesFor as bt, blockSiteTermsSchema as c, formatTime as cn, isArrangementMode as ct, calendarQueryKey as d, inferSiteDateLocale as dn, bookingQuestionsAnswerValueSchema as dt, buildBookingUtcDateWindow as en, accordionIconColorTokenValues as et, calendarWindowBounds as f, resolveBookingDisplayContext as fn, bookingQuestionsDocumentAnswerValueSchema as ft, resolveCalendarReadProfile as g, compareLocalScheduleDates as gn, exactSchema as gt, planCalendarMonthRanges as h, addLocalScheduleDays as hn, evolvingSchema as ht, okWith as i, formatDateTime as in, eventListTreatmentValues as it, eventCalendarListLayoutOptions as j, formatGiftCardAmountLabel as jn, publicPassProductSchema as jt, beforeBookingQuestionsPresentationSchema as k, toNonNegativeCents as kn, eventCalendarListLayoutValues as kt, calendarMonthKey as l, formatTimeRange as ln, tileTreatmentValues as lt, calendarWindowPageSchema as m, toScheduledBookingDateTime as mn, portalBeforeYouComeTaskSchema as mt, err as n, formatDate as nn, accordionIconSetValues as nt, reportWorkflowError as o, formatSiteInstantDate as on, headingDecorationColorTokenValues as ot, calendarWindowMonths as p, formatBookingCompactEnglishTime as pn, bookingQuestionsTaskDetailSchema as pt, mediaSchema as q, projectPublicLocation as qt, ok as r, formatDateRange as rn, arrangementModes as rt, reportWorkflowSuccess as s, formatSiteInstantTime as sn, headingDecorationOverrideValues as st, assertNever as t, validateBookingPaymentOptionKinds as tn, accordionIconMotionValues as tt, calendarPageResponseError as u, formatTimeZoneCityLabel as un, visibleHeadingDecorationFamilyValues as ut, publicPassProductCollectionSchema as v, getBookingLocalDateKey as vn, unknownTag as vt, blockBookingPaymentTermsSchema as w, resolveBookingBusinessTimeZone as wn, allocateReductionCents as wt, publicEventPricingSchema as x, parseLocalScheduleTime as xn, reviewedRoomsSchema as xt, eventVenueDrawingSchema as y, getLocalScheduleDate as yn, ROOM_PLACES as yt, resolveEventCalendarReadPlan as z, parseEventOfferingId as zn, eventSurfaceScopeValues as zt };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
2
|
+
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-Do_s2lqH.mjs";
|
|
3
|
+
import { $o as groupEventsByDate, Ao as isEventFull, Bo as eventDateOptions, Es as parseInlineTextFromUnknown, Io as RichText, Ms as resolveDateRuntimeContext, Oo as getEventAvailabilityStatus, Ts as isInlineTextEmpty, Wo as formatEventClockLabel, Xo as formatEventTimeRange, es as resolveEventTimeZone, mo as eventDestinationBookingLink, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-DDvL3iza.mjs";
|
|
4
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-D7Wt-Oaa.mjs";
|
|
5
5
|
import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { S as parseThemeButtonVariantId, n as ThemedButton, r as ThemedButtonLink, t as ThemedAuthoredButton, x as clsx } from "./ThemedButton-
|
|
6
|
+
import { H as textColorStyle } from "./accessibleSurfaces-wj4Rloo5.mjs";
|
|
7
|
+
import { S as parseThemeButtonVariantId, n as ThemedButton, r as ThemedButtonLink, t as ThemedAuthoredButton, x as clsx } from "./ThemedButton-Bc9DBbVp.mjs";
|
|
8
8
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-uwCpbHXG.mjs";
|
|
9
9
|
import { t as getAtPath } from "./src-Al4ooTl_.mjs";
|
|
10
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
11
|
-
import {
|
|
10
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-ms477Z08.mjs";
|
|
11
|
+
import { m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-Fr2qi2C2.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../core/src/locationLinks.ts
|
|
@@ -122,7 +122,8 @@ function renderMark(mark, key, child) {
|
|
|
122
122
|
/**
|
|
123
123
|
* `compact` (event details) is one plain Google Maps text link under the venue;
|
|
124
124
|
* `block` (the map block) leads with a secondary directions button and keeps
|
|
125
|
-
* the same Google Maps text link beside it.
|
|
125
|
+
* the same Google Maps text link beside it. Look layouts mark the row as the
|
|
126
|
+
* `actions` slot, so a skin dresses it like every other button row.
|
|
126
127
|
*/
|
|
127
128
|
function LocationMapActions(props) {
|
|
128
129
|
const links = locationMapLinks(props);
|
|
@@ -130,6 +131,7 @@ function LocationMapActions(props) {
|
|
|
130
131
|
const googleMapsLabel = props.googleMapsLabel ?? "Open in Google Maps";
|
|
131
132
|
if (props.layout === "block") return /* @__PURE__ */ jsxs("div", {
|
|
132
133
|
className: "rb-location-map-actions",
|
|
134
|
+
"data-slot": props.lookLayout ? "actions" : void 0,
|
|
133
135
|
children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
134
136
|
href: links.directions,
|
|
135
137
|
target: "_blank",
|
|
@@ -436,6 +438,7 @@ function LocationMapPlace(props) {
|
|
|
436
438
|
}) : null,
|
|
437
439
|
props.showDirections ? /* @__PURE__ */ jsx(LocationMapActions, {
|
|
438
440
|
layout: "block",
|
|
441
|
+
lookLayout: props.lookLayout,
|
|
439
442
|
location: props.location,
|
|
440
443
|
addressText: props.addressText,
|
|
441
444
|
directionsLabel: props.directionsLabel,
|
|
@@ -558,15 +561,8 @@ const LinkNode = ({ href, children, className, target, rel, linkRequired = false
|
|
|
558
561
|
};
|
|
559
562
|
//#endregion
|
|
560
563
|
//#region ../blocks/src/system/runtime/nodes/events/RecurringSchedule.tsx
|
|
561
|
-
function destinationHref(destination) {
|
|
562
|
-
return destination.kind === "external" ? destination.url : destination.path;
|
|
563
|
-
}
|
|
564
564
|
function bookingLinkProps(booking) {
|
|
565
|
-
return booking.destination
|
|
566
|
-
href: destinationHref(booking.destination),
|
|
567
|
-
target: "_blank",
|
|
568
|
-
rel: "noopener noreferrer"
|
|
569
|
-
} : { href: destinationHref(booking.destination) };
|
|
565
|
+
return eventDestinationBookingLink(booking.destination);
|
|
570
566
|
}
|
|
571
567
|
function bookingActionContent(input) {
|
|
572
568
|
switch (input.booking.kind) {
|
|
@@ -740,7 +736,7 @@ function formatCompactTimeRange(event, calendarTimeZone) {
|
|
|
740
736
|
}));
|
|
741
737
|
}
|
|
742
738
|
const WeekBoardCard = ({ event, showCapacity, calendarTimeZone }) => {
|
|
743
|
-
const linkProps =
|
|
739
|
+
const linkProps = resolveEventPageLink(event);
|
|
744
740
|
const { status, label } = getEventAvailabilityStatus(event);
|
|
745
741
|
const pill = showCapacity ? label : null;
|
|
746
742
|
return /* @__PURE__ */ jsxs("a", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Fn as unsafeAsAppointmentResourceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, _n as formatLocalScheduleDate, bn as parseBookingLocalDate, cn as formatTime$1, hn as addLocalScheduleDays, nn as formatDate$1, t as assertNever, yn as getLocalScheduleDate } from "./src-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Fn as unsafeAsAppointmentResourceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, _n as formatLocalScheduleDate, bn as parseBookingLocalDate, cn as formatTime$1, hn as addLocalScheduleDays, nn as formatDate$1, t as assertNever, yn as getLocalScheduleDate } from "./src-Do_s2lqH.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-D1L0pe__.mjs";
|
|
4
4
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
5
5
|
//#region ../blocks/src/utils/date-formatting.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
|
|
3
3
|
import { useEffect, useReducer, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
-
import {
|
|
7
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
8
|
-
import { r as EventItem } from "./EventItem-
|
|
9
|
-
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
2
|
+
import { At as getEventRuntimeFiltersKey, Bt as createInitialEventPaginationLoadState, Gt as planEventPageOperation, Ht as eventPaginationLoadReducer, Kt as toEventPaginationLoadError, Mt as normalizeCsvString, Nt as normalizeOptionalId, Ut as getEventIdentity, Vt as eventPageOperationQuery, Wt as getEventPaginationView, jt as normalizeCsvIds, qt as toError } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
4
|
+
import { no as getBlockApiReadStage } from "./wizardSteps-DDvL3iza.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-D1L0pe__.mjs";
|
|
6
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-DJDLGQEm.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-Bc9DBbVp.mjs";
|
|
8
|
+
import { r as EventItem } from "./EventItem-Fr2qi2C2.mjs";
|
|
9
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-COuEJzbO.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
|