@riverbankcms/sdk 0.159.0 → 0.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- 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 +13 -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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
- 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 +10 -28
- 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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- 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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
3
|
+
import { $n as indexRenderableMediaAssets, E as ICON_CONFIG } from "../schema-C-m8XHuW.mjs";
|
|
4
|
+
import { C as clsx, U as formatCurrencyAmount } from "../ThemedButton-CnyL3s1A.mjs";
|
|
5
|
+
import { t as assertNever } from "../src-VIsPY-kw.mjs";
|
|
6
|
+
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-BkZc-hKH.mjs";
|
|
7
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-3zmIqakW.mjs";
|
|
8
|
+
import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes, z as composeHeaderSectionWrapperClassName } from "../registry.server-BTmSXE3D.mjs";
|
|
9
|
+
import { p as Text } from "../timetableModel-V2ifvGGy.mjs";
|
|
10
|
+
import { rn as staticHeaderChromeRuntime } from "../shop.interactive-CVqLAU53.mjs";
|
|
11
|
+
import { t as EventRegistrationIslandClient } from "../event-registration.client-C6GApWTB.mjs";
|
|
12
|
+
import { t as ShopClient } from "../shop.client-tsKfZw1W.mjs";
|
|
12
13
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
13
14
|
import { t as CarouselSlideContent } from "../carousel.shared-DBnWEJzo.mjs";
|
|
14
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
15
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
16
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
17
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
15
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-B19taoH6.mjs";
|
|
16
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-9ZfMb6GA.mjs";
|
|
17
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-q-RpJ4aF.mjs";
|
|
18
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-D1X69-pN.mjs";
|
|
18
19
|
import { t as createLucideIcon } from "../createLucideIcon-CIbxe9em.mjs";
|
|
19
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
20
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DKS8Ba30.mjs";
|
|
20
|
+
import { t as CarouselNodeClient } from "../carousel.client-ArlGmYWV.mjs";
|
|
21
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-C670TgRd.mjs";
|
|
22
|
+
import { t as ProductListClient } from "../product-list.client-B4vTvag8.mjs";
|
|
23
|
+
import { t as ProductDetailClient } from "../product-detail.client-CYTR165c.mjs";
|
|
24
|
+
import { t as CartClient } from "../cart.client-DHOxZbJ7.mjs";
|
|
25
|
+
import { t as CheckoutClient } from "../checkout.client-DsBb2Pkm.mjs";
|
|
26
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-xg6to91E.mjs";
|
|
27
|
+
import { t as EventListingClient } from "../EventListing.client-D3uySdGP.mjs";
|
|
28
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-B5bmQ03b.mjs";
|
|
29
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-BxQLY5cX.mjs";
|
|
30
|
+
import { t as FormNodeClient } from "../form.client-CgvPACwG.mjs";
|
|
31
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-Cbepz2KU.mjs";
|
|
32
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DTExCJsb.mjs";
|
|
33
33
|
import * as React$1 from "react";
|
|
34
34
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
35
35
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1858,7 +1858,7 @@ const clientComponentRegistry$1 = buildClientRegistryFromEntries(serverComponent
|
|
|
1858
1858
|
headerSection: defineSourcePropsClientEntry(header_section_client_default),
|
|
1859
1859
|
"booking-form": defineExplicitAdapterClientEntry(BookingFormNodeClient, { produces: "island-props" }),
|
|
1860
1860
|
"event-details": defineExplicitAdapterClientEntry(EventDetailsIslandClient, { produces: "client-props" }),
|
|
1861
|
-
"location-map":
|
|
1861
|
+
"location-map": defineSourcePropsClientEntry(LocationMapSSR),
|
|
1862
1862
|
"event-combined": defineExplicitAdapterClientEntry(EventCombinedIslandClient, { produces: "client-props" }),
|
|
1863
1863
|
"weekly-slot-availability": defineSourcePropsClientEntry(WeeklySlotAvailabilityClient)
|
|
1864
1864
|
}, runtimeBackedBlockClientRegistry);
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { $
|
|
5
|
-
import { $ as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BOj-Co0B.mjs";
|
|
2
|
+
import { Jn as mediaSchema, Qn as renderableMediaAssetSchema, Xn as runtimeMediaSchema, Yn as persistableMediaSchema, Zn as buildRenderableMediaAssetIndex, er as resolveManagedMediaReference, nr as parseCanonicalMediaIdentifier, rr as parseMediaIdentifier, tr as mediaIdentifierSchema } from "./schema-C-m8XHuW.mjs";
|
|
3
|
+
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as readRuntimeNow, en as resolveImageUrl$1, in as sanitizeHref, tn as resolveImageUrlWithContext$1, xr as resolveDateRuntimeContext } from "./wizardSteps-BkZc-hKH.mjs";
|
|
4
|
+
import { $ as isRecord, jt as toUtcIsoDateTimeString } from "./noop-B7H6gCbj.mjs";
|
|
5
|
+
import { A as getDefaultComponentRegistry, B as admitLayoutGridForPlan, C as resolveSiteCustomBlocks, D as prefetchBlockDataWithFailures, E as requireSdkTheme, F as getBlockDefinition, I as siteFooterManifest, J as resolveFooterRenderPlan, L as siteHeaderManifest, M as isRouteVisibleInStage, N as normalizeRenderStage, O as makeDefaultBlockComponent, P as resolveRouteHrefForStage, R as admitTransportedRenderableManifestContent, S as siteLocationRenderContext, T as MissingSdkThemeError, V as deriveFieldValidationPlan, Y as resolveSdkFooterMode, _ as invalidRenderableBlock, a as ThemeScope, b as resolveSdkBlockManifest, c as PageRenderer, d as parseBlocksTheme, f as applyBindingsToContent, g as collectMediaAssetSidecar, h as buildSiteRenderSupport, i as renderWithSdkThemeRuntime, j as resolveAuthoredLinkHref, k as renderBlock, l as toBlocksPageRendererDataContext, m as buildRenderablePageOutline, n as planLayoutThemeRuntime, nt as readPublishedBlockPlacement, o as EditorPageRenderer, p as BINDING_TRANSFORM_VALUES$1, r as renderWithOverrideOnlyRuntime, s as MissingBlockOverrideError, t as Page, u as buildThemeRuntime, v as projectRenderablePageOutline, w as MISSING_SDK_THEME_ERROR_CODE, x as sanitizeSdkRuntimeBlockContent, y as readInvalidBlockAdmission, z as compileManifestContentContract } from "./Page-Bf2nPACI.mjs";
|
|
6
|
+
import { $t as parseFieldDefinition, an as projectRepeaterGridLayoutForRendering$1, in as projectRepeaterGridLayout$1 } from "./registry.server-BTmSXE3D.mjs";
|
|
7
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-jPeJ2PmJ.mjs";
|
|
8
|
+
import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BvjcAZpS.mjs";
|
|
10
9
|
import "react";
|
|
11
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -840,7 +839,7 @@ function buildSingleBlockPageOutline({ blockId, blockKind }) {
|
|
|
840
839
|
}
|
|
841
840
|
async function loadStandaloneBlockData({ blockKind, blockId, siteId, pageId, previewStage, client, hasDefinition, now, bookingTimeZone }) {
|
|
842
841
|
if (!client || !blockId || !siteId || !hasDefinition) return void 0;
|
|
843
|
-
return (await
|
|
842
|
+
return (await prefetchBlockDataWithFailures(buildSingleBlockPageOutline({
|
|
844
843
|
blockId,
|
|
845
844
|
blockKind
|
|
846
845
|
}), {
|
|
@@ -851,7 +850,7 @@ async function loadStandaloneBlockData({ blockKind, blockId, siteId, pageId, pre
|
|
|
851
850
|
now: readRuntimeNow(now),
|
|
852
851
|
bookingTimeZone
|
|
853
852
|
}
|
|
854
|
-
}, client))[blockId];
|
|
853
|
+
}, client)).resolvedData[blockId];
|
|
855
854
|
}
|
|
856
855
|
function buildStandaloneBlockViewModel({ now, bookingTimeZone, siteId, pageId, previewStage, apiBaseUrl, portalToken, readAuthority, routeMap, pagesByIdentifier, entriesByIdentifier }) {
|
|
857
856
|
return { $root: {
|
|
@@ -1423,7 +1422,7 @@ function toHostDataLoaderWarning(failure) {
|
|
|
1423
1422
|
}
|
|
1424
1423
|
}
|
|
1425
1424
|
const DEFAULT_RESOLVE_BLOCK_DATA_DEPS = {
|
|
1426
|
-
prefetchBlockData,
|
|
1425
|
+
prefetchBlockData: prefetchBlockDataWithFailures,
|
|
1427
1426
|
executeCodeLoaders,
|
|
1428
1427
|
mergeLoaderResults,
|
|
1429
1428
|
warn: warnHostDataLoaderFailure
|
|
@@ -1470,7 +1469,10 @@ async function resolveBlockDataWithDeps(deps, input) {
|
|
|
1470
1469
|
searchParams: input.policy.searchParams
|
|
1471
1470
|
}, input.policy.overrides);
|
|
1472
1471
|
for (const failure of hostResult.failures) deps.warn(toHostDataLoaderWarning(failure));
|
|
1473
|
-
return
|
|
1472
|
+
return {
|
|
1473
|
+
...configData,
|
|
1474
|
+
resolvedData: deps.mergeLoaderResults(configData.resolvedData, hostResult.data)
|
|
1475
|
+
};
|
|
1474
1476
|
}
|
|
1475
1477
|
//#endregion
|
|
1476
1478
|
//#region src/rendering/helpers/loadPage.ts
|
|
@@ -1557,7 +1559,7 @@ async function loadPageWithDeps(deps, params) {
|
|
|
1557
1559
|
previewStage,
|
|
1558
1560
|
customBlocks: support.customBlocks
|
|
1559
1561
|
});
|
|
1560
|
-
const
|
|
1562
|
+
const prefetched = await resolveBlockDataWithDeps(deps, {
|
|
1561
1563
|
bookingTimeZone: support.bookingTimeZone,
|
|
1562
1564
|
now: support.now,
|
|
1563
1565
|
page: projectRenderablePageOutline(pageOutline),
|
|
@@ -1580,9 +1582,13 @@ async function loadPageWithDeps(deps, params) {
|
|
|
1580
1582
|
dataContext: {
|
|
1581
1583
|
siteName: support.site.title,
|
|
1582
1584
|
previewStage,
|
|
1583
|
-
now: support.now
|
|
1585
|
+
now: support.now,
|
|
1586
|
+
...siteLocationRenderContext(support),
|
|
1587
|
+
loaderFailures: prefetched.loaderFailures,
|
|
1588
|
+
prefetchedBlockData: prefetched,
|
|
1589
|
+
loaderSnapshot: prefetched.loaderSnapshot
|
|
1584
1590
|
},
|
|
1585
|
-
resolvedData,
|
|
1591
|
+
resolvedData: prefetched.resolvedData,
|
|
1586
1592
|
bookingOfferingPresets: support.bookingOfferingPresets,
|
|
1587
1593
|
openingHours: support.openingHours,
|
|
1588
1594
|
siteTerms: support.siteTerms,
|
|
@@ -1708,19 +1714,21 @@ async function processTemplatePage(input) {
|
|
|
1708
1714
|
purpose: input.pagePurpose,
|
|
1709
1715
|
blocks
|
|
1710
1716
|
};
|
|
1717
|
+
const prefetched = await resolveBlockDataWithDeps(input.deps, {
|
|
1718
|
+
bookingTimeZone: input.bookingTimeZone,
|
|
1719
|
+
now: input.now,
|
|
1720
|
+
page: projectRenderablePageOutline(templatePage),
|
|
1721
|
+
siteId: input.siteId,
|
|
1722
|
+
renderTarget: createTemplateRenderTarget(input.renderTargetSource, template.id),
|
|
1723
|
+
previewStage: input.previewStage,
|
|
1724
|
+
policy: input.blockDataPolicy,
|
|
1725
|
+
client: input.client,
|
|
1726
|
+
customBlocks: input.customBlocks
|
|
1727
|
+
});
|
|
1711
1728
|
return {
|
|
1712
1729
|
templatePage,
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
now: input.now,
|
|
1716
|
-
page: projectRenderablePageOutline(templatePage),
|
|
1717
|
-
siteId: input.siteId,
|
|
1718
|
-
renderTarget: createTemplateRenderTarget(input.renderTargetSource, template.id),
|
|
1719
|
-
previewStage: input.previewStage,
|
|
1720
|
-
policy: input.blockDataPolicy,
|
|
1721
|
-
client: input.client,
|
|
1722
|
-
customBlocks: input.customBlocks
|
|
1723
|
-
})
|
|
1730
|
+
prefetchedBlockData: prefetched,
|
|
1731
|
+
...prefetched
|
|
1724
1732
|
};
|
|
1725
1733
|
}
|
|
1726
1734
|
function resolveTemplateBlockSequence(input) {
|
|
@@ -1934,7 +1942,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
1934
1942
|
const { client, siteId, site, contentResponse, preview = false, dataLoaderOverrides, searchParams } = params;
|
|
1935
1943
|
const previewStage = preview ? "preview" : "published";
|
|
1936
1944
|
const blockDataPolicy = createBlockDataLoadPolicy(dataLoaderOverrides, normalizeDataLoaderSearchParams(searchParams));
|
|
1937
|
-
const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets));
|
|
1945
|
+
const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets), contentLocationSupport(contentResponse));
|
|
1938
1946
|
const templateContentSupport = toTemplateContentRenderSupport(support, siteId);
|
|
1939
1947
|
if (isEntryResponse(contentResponse)) {
|
|
1940
1948
|
const entryData = contentResponse.entry;
|
|
@@ -1954,7 +1962,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
1954
1962
|
createdAt: entryData.createdAt,
|
|
1955
1963
|
updatedAt: entryData.updatedAt
|
|
1956
1964
|
};
|
|
1957
|
-
const { templatePage, resolvedData } = await processEntryTemplate({
|
|
1965
|
+
const { templatePage, resolvedData, prefetchedBlockData, loaderSnapshot, loaderFailures } = await processEntryTemplate({
|
|
1958
1966
|
bookingTimeZone: support.bookingTimeZone,
|
|
1959
1967
|
now: support.now,
|
|
1960
1968
|
templates: contentResponse.templates,
|
|
@@ -1973,7 +1981,11 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
1973
1981
|
templatePage,
|
|
1974
1982
|
resolvedData,
|
|
1975
1983
|
dataContext: {
|
|
1984
|
+
...siteLocationRenderContext(support),
|
|
1976
1985
|
previewStage,
|
|
1986
|
+
prefetchedBlockData,
|
|
1987
|
+
loaderSnapshot,
|
|
1988
|
+
loaderFailures,
|
|
1977
1989
|
contentEntry: {
|
|
1978
1990
|
...entry.content ?? {},
|
|
1979
1991
|
id: entry.id,
|
|
@@ -2006,7 +2018,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2006
2018
|
updatedAt: pageSurfaceData.updatedAt,
|
|
2007
2019
|
contentSource: pageSurfaceData.contentSource
|
|
2008
2020
|
};
|
|
2009
|
-
const { templatePage, resolvedData } = await processTemplatePage({
|
|
2021
|
+
const { templatePage, resolvedData, prefetchedBlockData, loaderSnapshot, loaderFailures } = await processTemplatePage({
|
|
2010
2022
|
bookingTimeZone: support.bookingTimeZone,
|
|
2011
2023
|
now: support.now,
|
|
2012
2024
|
templates: contentResponse.templates,
|
|
@@ -2047,7 +2059,11 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2047
2059
|
templatePage,
|
|
2048
2060
|
resolvedData,
|
|
2049
2061
|
dataContext: {
|
|
2062
|
+
...siteLocationRenderContext(support),
|
|
2050
2063
|
previewStage,
|
|
2064
|
+
prefetchedBlockData,
|
|
2065
|
+
loaderSnapshot,
|
|
2066
|
+
loaderFailures,
|
|
2051
2067
|
pageSurface: {
|
|
2052
2068
|
...pageSurface.content ?? {},
|
|
2053
2069
|
id: pageSurface.id,
|
|
@@ -2073,7 +2089,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2073
2089
|
previewStage,
|
|
2074
2090
|
customBlocks: support.customBlocks
|
|
2075
2091
|
});
|
|
2076
|
-
const
|
|
2092
|
+
const prefetched = await resolveBlockDataWithDeps(deps, {
|
|
2077
2093
|
bookingTimeZone: support.bookingTimeZone,
|
|
2078
2094
|
now: support.now,
|
|
2079
2095
|
page: projectRenderablePageOutline(pageOutline),
|
|
@@ -2097,8 +2113,14 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2097
2113
|
theme: support.theme,
|
|
2098
2114
|
siteId,
|
|
2099
2115
|
...support.customBlocks ? { customBlocks: support.customBlocks } : {},
|
|
2100
|
-
resolvedData,
|
|
2101
|
-
dataContext: {
|
|
2116
|
+
resolvedData: prefetched.resolvedData,
|
|
2117
|
+
dataContext: {
|
|
2118
|
+
previewStage,
|
|
2119
|
+
...siteLocationRenderContext(support),
|
|
2120
|
+
prefetchedBlockData: prefetched,
|
|
2121
|
+
loaderSnapshot: prefetched.loaderSnapshot,
|
|
2122
|
+
loaderFailures: prefetched.loaderFailures
|
|
2123
|
+
},
|
|
2102
2124
|
bookingOfferingPresets: support.bookingOfferingPresets,
|
|
2103
2125
|
openingHours: support.openingHours,
|
|
2104
2126
|
siteTerms: support.siteTerms,
|
|
@@ -2149,6 +2171,9 @@ function isEntryResponse(response) {
|
|
|
2149
2171
|
function isPageSurfaceResponse(response) {
|
|
2150
2172
|
return response.type === "pageSurface";
|
|
2151
2173
|
}
|
|
2174
|
+
function contentLocationSupport(response) {
|
|
2175
|
+
return "page" in response ? response.locationMapSupport : void 0;
|
|
2176
|
+
}
|
|
2152
2177
|
BINDING_TRANSFORM_VALUES$1.join(", ");
|
|
2153
2178
|
//#endregion
|
|
2154
2179
|
//#region src/contracts/rendering.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { X as RichTextDocSchema, t as logger } from "./noop-
|
|
2
|
+
import { X as RichTextDocSchema, t as logger } from "./noop-B7H6gCbj.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
4
4
|
function parseRichTextDoc(value) {
|
|
5
5
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-
|
|
2
|
+
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-BkZc-hKH.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({
|