@riverbankcms/sdk 0.164.0 → 0.166.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-rW0xgQCA.d.ts} +18 -256
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +107 -72
- package/dist/_dts/{client-CbeYTSry.d.ts → client-D4BXQEZc.d.ts} +5 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-MUzta0l9.d.ts} +3 -3
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index--qflsCiy.d.ts} +4 -3
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-BgJ2aU5c.d.ts} +2 -2
- package/dist/_dts/{index-BZE-1azr.d.ts → index-Bmboeb49.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-DdcwPqQN.d.ts} +4 -4
- package/dist/_dts/{index-DriYVLfT.d.ts → index-ahxQCUc7.d.ts} +2 -2
- package/dist/_dts/{index-DYQFmf--.d.ts → index-kQ5xkM6X.d.ts} +1 -1
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-mMMvLLAJ.d.ts} +2996 -3079
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-wbBZ0awa.d.ts} +49398 -48202
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
- package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +9 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +20 -0
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
- package/dist/_dts/sdk/src/data/types.d.ts +54 -0
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +9 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +7 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-DiciZDrk.d.ts → types-BX3Y-EW3.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-DF54stxv.d.ts} +8 -7
- package/dist/_dts/{types-W40f2olO.d.ts → types-DuiHLiPo.d.ts} +2 -2
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-Bxi0f81D.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-BhADnDCg.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-CMKrtkT7.mjs} +33 -12
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-3BBRdNVa.mjs} +70 -15
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DNDZLRlB.mjs} +3388 -11530
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-uVqNowRX.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-DNMojb6A.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-C8kxI3Dm.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-DCxjE3Is.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-Ceeng8fB.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-B0EKbeVv.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
- package/dist/client/client.mjs +9465 -15
- package/dist/client/{context-BNAM7NsW.mjs → context-n6IZigd3.mjs} +8 -6
- package/dist/client/cta-CDeAwYoN.mjs +121 -0
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-BhygihpQ.mjs} +43 -17
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-2-xjn2nz.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-BeNQiZ2V.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BFdCKlp7.mjs} +7 -7
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-C7gLK3jh.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-CWfelfMt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-CalNAShx.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DpPauppt.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-Dq7GHGXU.mjs} +9 -9
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-D-RG9eR3.mjs} +399 -169
- package/dist/client/portal/client.mjs +13 -14
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-BmH40fNf.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-DjGrjOwD.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CKK_RXZo.mjs} +350 -424
- package/dist/client/rendering/client.mjs +29 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +70 -8
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DLufMauE.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-CBy9_alG.mjs} +13 -13
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BM0NRsFQ.mjs} +265 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-lS23OQE-.mjs} +2 -2
- package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
- package/dist/{preview-next/client/ThemedButton-g7NPrsGp.mjs → client/site-styles-DELkUk9s.mjs} +25654 -17259
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/src-DjnxOjXG.mjs +217 -0
- package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-DzRWikCU.mjs} +157 -139
- package/dist/client/types-sF-IrGQr.mjs +633 -0
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-Ccr4TZlm.mjs} +12 -159
- package/dist/client/{view-BnaOmrap.mjs → view-8w4GA8rf.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DAVEoe8A.mjs} +310 -247
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DNpajrAH.mjs} +495 -173
- package/dist/preview-next/before-render.mjs +4 -141
- package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
- package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
- package/dist/preview-next/client/PreviewEditorUI-C7ZmYE33.mjs +1189 -0
- package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
- package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
- package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
- package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
- package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
- package/dist/preview-next/client/previewChromeSurface-D2cREDJ5.mjs +190 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
- package/dist/preview-next/client/useAutosaveStatus--Pw8vnef.mjs +138 -0
- package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
- package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
- package/dist/preview-next/keepAlive.mjs +27 -4
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-Bq7SUX3K.mjs} +143 -126
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
- package/dist/server/{src-cbbK3Bho.mjs → ThemeScopeCore-BI2mld9R.mjs} +1153 -2523
- package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-DjdUq9FR.mjs} +2 -3
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → client-07UeMDzA.mjs} +2492 -357
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +33 -2
- package/dist/server/data/dataLoaderContext.mjs +2 -0
- package/dist/server/data/resolveBlockData.mjs +2 -0
- package/dist/server/data/types.mjs +1 -0
- package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
- package/dist/server/identity-Bn9OQiT1.mjs +6 -0
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-ClpaSlBb.mjs} +6 -5
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-BwtVqpaA.mjs} +4 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/media-DnlczCMA.mjs +231 -0
- package/dist/server/mode-Cv_TG9gP.mjs +63 -0
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +13 -13
- package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
- package/dist/server/overrides-CD4d-1w7.mjs +177 -0
- package/dist/server/page-converter.mjs +243 -91
- package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
- package/dist/server/{overrides-DVemf-GV.mjs → pageShared-HdKFBpaX.mjs} +3594 -1726
- package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
- package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-TFPJdGQi.mjs} +20901 -792
- package/dist/server/rendering/components/pageShared.mjs +2 -0
- package/dist/server/rendering/helpers/loadPage.mjs +2 -0
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering/themeAdmission.mjs +2 -0
- package/dist/server/rendering.mjs +11 -10
- package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
- package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
- package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/schema-C2PqHrMo.mjs +2523 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1031 -1
- package/dist/server/theme.mjs +2 -1
- package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
- package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
- package/dist/server/validation-CDd6m8Ry.mjs +140 -0
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DIBFZeMB.mjs} +419 -3
- package/dist/server/{version-DoOG6F13.mjs → version-DZWZM1H6.mjs} +1 -1
- package/dist/styles/index.css +924 -10
- package/package.json +39 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/client/cta-ChiN1Vgg.mjs +0 -80
- package/dist/client/purchase-BMsWpx8y.mjs +0 -894
- package/dist/client/schema-DMUkBtIO.mjs +0 -15915
- package/dist/client/site-styles-BLHYJ8S7.mjs +0 -12339
- package/dist/client/src-VIsPY-kw.mjs +0 -62
- package/dist/preview-next/client/PreviewEditorSidebar-C3AQVxQt.mjs +0 -5441
- package/dist/preview-next/client/PreviewEditorUI-C-1zDCR_.mjs +0 -756
- package/dist/preview-next/client/SdkPreviewModeRuntime-B47yHFL0.mjs +0 -9130
- package/dist/preview-next/client/SdkPreviewModeRuntime-C6Rhm2NQ.mjs +0 -3
- package/dist/preview-next/client/previewAuthStore-By_zfrS5.mjs +0 -212195
- package/dist/preview-next/client/previewChromeSurface-Cjwxv90x.mjs +0 -85
- package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
- package/dist/preview-next/client/sdk-runtime-BG2HYvQj.mjs +0 -4
- package/dist/preview-next/client/siteStyleAccess-BiSyYyyr.mjs +0 -14178
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
- package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
- package/dist/server/client-CiKaE8ms.mjs +0 -2330
- package/dist/server/effectiveNavLinkStyle-EDSdd_oK.mjs +0 -11574
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
- package/dist/server/prefetchBlockData-Bnbwoe5n.mjs +0 -4156
- package/dist/server/schema-BlTWmTSl.mjs +0 -16142
- package/dist/server/site-styles-yHytcXIB.mjs +0 -768
- package/dist/server/siteChromeOverlayClearance-D0uCNZ7E.mjs +0 -802
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Kt as RichText, Nr as listLookSlot, _n as formatTime, br as resolveDateRuntimeContext, dn as formatEventClockLabel, gn as formatEventTimeRange, jr as listItemPresentation, kn as isEventFull, sn as eventDateOptions, vn as groupEventsByDate, yn as resolveEventTimeZone } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
|
+
import { Ot as parseBookingLocalDate, bt as formatBookingCompactEnglishTime, dt as formatDate, kt as parseLocalScheduleTime, xt as toScheduledBookingDateTime } from "./noop-D-RG9eR3.mjs";
|
|
4
|
+
import { v as assertNever } from "./src-DjnxOjXG.mjs";
|
|
5
|
+
import { t as LocationMapActions } from "./LocationMapActions-D5-H9ooQ.mjs";
|
|
6
|
+
import { Ei as textColorStyle } from "./site-styles-DELkUk9s.mjs";
|
|
2
7
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
|
|
10
|
-
import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-hrSyTApW.mjs";
|
|
11
|
-
import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
|
|
12
|
-
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
|
|
13
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-WuMYrBm3.mjs";
|
|
8
|
+
import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton, w as parseThemeButtonVariantId } from "./ThemedButton-8jUc02mZ.mjs";
|
|
9
|
+
import { r as resolveEventLinkProps } from "./cta-CDeAwYoN.mjs";
|
|
10
|
+
import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-5a0x0vcC.mjs";
|
|
11
|
+
import { c as formatEventTeacherLine, r as EventItem } from "./EventItem-CMKrtkT7.mjs";
|
|
12
|
+
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-C30geMl-.mjs";
|
|
13
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BcjTX-7h.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { z } from "zod";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -193,6 +193,151 @@ function inlineTextMarkEqual(left, right) {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
//#endregion
|
|
196
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookView.tsx
|
|
197
|
+
function MonthEvent({ event, timeZone, locale, presentation }) {
|
|
198
|
+
return /* @__PURE__ */ jsxs("a", {
|
|
199
|
+
...resolveEventLinkProps(event),
|
|
200
|
+
...listLookSlot(presentation, "item"),
|
|
201
|
+
children: [
|
|
202
|
+
/* @__PURE__ */ jsx("span", {
|
|
203
|
+
...listLookSlot(presentation, "time"),
|
|
204
|
+
children: formatTime(event.startsAt, {
|
|
205
|
+
...eventDateOptions({
|
|
206
|
+
...event,
|
|
207
|
+
timeZone
|
|
208
|
+
}),
|
|
209
|
+
locale
|
|
210
|
+
})
|
|
211
|
+
}),
|
|
212
|
+
" ",
|
|
213
|
+
/* @__PURE__ */ jsx("span", {
|
|
214
|
+
...listLookSlot(presentation, "what"),
|
|
215
|
+
children: event.title
|
|
216
|
+
})
|
|
217
|
+
]
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
function dateLabel(key, timeZone, date = "short") {
|
|
221
|
+
return formatDate({
|
|
222
|
+
kind: "civil",
|
|
223
|
+
value: parseBookingLocalDate(key)
|
|
224
|
+
}, eventDateOptions({
|
|
225
|
+
siteTimeZone: timeZone,
|
|
226
|
+
timeZone
|
|
227
|
+
}), {
|
|
228
|
+
date,
|
|
229
|
+
weekday: "long"
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
function MonthDay(props) {
|
|
233
|
+
const { day, selection } = props;
|
|
234
|
+
const { controls } = selection;
|
|
235
|
+
const selected = day.dateKey === selection.selectedDay;
|
|
236
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
237
|
+
...listLookSlot(selection, "date"),
|
|
238
|
+
"data-current": String(selected),
|
|
239
|
+
"data-today": String(day.isToday),
|
|
240
|
+
"data-other-month": String(!day.isCurrentMonth),
|
|
241
|
+
children: [selection.arrangement === "month-day" ? /* @__PURE__ */ jsx("button", {
|
|
242
|
+
type: "button",
|
|
243
|
+
...listLookSlot(selection, "control"),
|
|
244
|
+
"aria-label": `Show events on ${dateLabel(day.dateKey, selection.timeZone, "long")}`,
|
|
245
|
+
"aria-pressed": selected,
|
|
246
|
+
onClick: controls ? () => controls.selectDay(day.dateKey) : void 0,
|
|
247
|
+
children: day.date.day
|
|
248
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
249
|
+
...listLookSlot(selection, "date-label"),
|
|
250
|
+
children: day.date.day
|
|
251
|
+
}), selection.arrangement === "month-grid" ? /* @__PURE__ */ jsxs(Fragment, { children: [day.visibleEntries.map(({ event, timeZone }, index, entries) => /* @__PURE__ */ jsx(MonthEvent, {
|
|
252
|
+
presentation: listItemPresentation(selection, index, entries.length),
|
|
253
|
+
event,
|
|
254
|
+
timeZone,
|
|
255
|
+
locale: eventDateOptions({ siteTimeZone: selection.timeZone }).locale
|
|
256
|
+
}, event.occurrenceId ?? event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("button", {
|
|
257
|
+
type: "button",
|
|
258
|
+
className: "event-calendar-more",
|
|
259
|
+
...listLookSlot(selection, "more"),
|
|
260
|
+
onClick: controls ? () => controls.openDay(day.date, day.entries.map(({ event }) => event)) : void 0,
|
|
261
|
+
children: [
|
|
262
|
+
"+",
|
|
263
|
+
day.moreCount,
|
|
264
|
+
" more"
|
|
265
|
+
]
|
|
266
|
+
}) : null] }) : /* @__PURE__ */ jsx(MonthDayMarks, {
|
|
267
|
+
count: day.entries.length,
|
|
268
|
+
presentation: selection
|
|
269
|
+
})]
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/** Both Looks and the legacy month grid consume the same per-day model. */
|
|
273
|
+
function MonthLookView(props) {
|
|
274
|
+
const days = props.days.map((date) => buildMonthDay({
|
|
275
|
+
date,
|
|
276
|
+
events: props.eventsByDate.get(formatDateKey(date)) ?? [],
|
|
277
|
+
viewDate: props.viewDate,
|
|
278
|
+
today: props.today,
|
|
279
|
+
calendarTimeZone: props.timeZone
|
|
280
|
+
}));
|
|
281
|
+
const selected = days.find((day) => day.dateKey === props.selectedDay);
|
|
282
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
283
|
+
...listLookSlot(props, "frame"),
|
|
284
|
+
"data-arrangement": props.arrangement,
|
|
285
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
286
|
+
...listLookSlot(props, "grid"),
|
|
287
|
+
children: [props.dayNames.map((name) => /* @__PURE__ */ jsx("span", {
|
|
288
|
+
...listLookSlot(props, "group-label"),
|
|
289
|
+
children: name
|
|
290
|
+
}, name)), days.map((day) => /* @__PURE__ */ jsx(MonthDay, {
|
|
291
|
+
day,
|
|
292
|
+
selection: props
|
|
293
|
+
}, day.dateKey))]
|
|
294
|
+
}), props.arrangement === "month-day" ? /* @__PURE__ */ jsxs("section", {
|
|
295
|
+
...listLookSlot(props, "panel"),
|
|
296
|
+
"aria-live": "polite",
|
|
297
|
+
children: [/* @__PURE__ */ jsx("h3", {
|
|
298
|
+
...listLookSlot(props, "panel-heading"),
|
|
299
|
+
children: dateLabel(props.selectedDay, props.timeZone)
|
|
300
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
301
|
+
...listLookSlot(props, "list"),
|
|
302
|
+
children: selected?.entries.length ? selected.entries.map(({ event }, index, entries) => /* @__PURE__ */ jsx(EventItem, {
|
|
303
|
+
...listItemPresentation(props, index, entries.length),
|
|
304
|
+
event,
|
|
305
|
+
arrangement: "month-day"
|
|
306
|
+
}, event.occurrenceId ?? event.id)) : /* @__PURE__ */ jsx("p", {
|
|
307
|
+
...listLookSlot(props, "intro"),
|
|
308
|
+
children: props.emptyMessage
|
|
309
|
+
})
|
|
310
|
+
})]
|
|
311
|
+
}) : null]
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
function MonthDayMarks({ count, presentation }) {
|
|
315
|
+
if (count === 0) return null;
|
|
316
|
+
return /* @__PURE__ */ jsx("span", {
|
|
317
|
+
...listLookSlot(presentation, "item-meta"),
|
|
318
|
+
role: "img",
|
|
319
|
+
"aria-label": `${count} ${count === 1 ? "event" : "events"}`,
|
|
320
|
+
children: Array.from({ length: Math.min(count, 3) }, (_, index) => /* @__PURE__ */ jsx("span", {
|
|
321
|
+
...listLookSlot(presentation, "mark"),
|
|
322
|
+
"aria-hidden": "true"
|
|
323
|
+
}, index))
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
function monthSlotParents(arrangement) {
|
|
327
|
+
return {
|
|
328
|
+
frame: null,
|
|
329
|
+
grid: "frame",
|
|
330
|
+
date: "grid",
|
|
331
|
+
panel: "frame",
|
|
332
|
+
list: "panel",
|
|
333
|
+
item: arrangement === "month-grid" ? "date" : "list",
|
|
334
|
+
row: "list",
|
|
335
|
+
"group-label": "grid",
|
|
336
|
+
"item-meta": "date",
|
|
337
|
+
mark: "item-meta"
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
//#endregion
|
|
196
341
|
//#region ../path-utils/src/index.ts
|
|
197
342
|
const PATH_SEPARATOR_REGEX = /\./g;
|
|
198
343
|
const BRACKET_ACCESS_REGEX = /\[([^\]]+)\]/g;
|
|
@@ -629,133 +774,6 @@ function CalendarRecurringWeek({ display }) {
|
|
|
629
774
|
});
|
|
630
775
|
}
|
|
631
776
|
//#endregion
|
|
632
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookView.tsx
|
|
633
|
-
function MonthEvent({ event, timeZone, locale }) {
|
|
634
|
-
return /* @__PURE__ */ jsxs("a", {
|
|
635
|
-
...resolveEventLinkProps(event),
|
|
636
|
-
"data-slot": "item",
|
|
637
|
-
children: [
|
|
638
|
-
/* @__PURE__ */ jsx("span", {
|
|
639
|
-
"data-slot": "time",
|
|
640
|
-
children: formatTime(event.startsAt, {
|
|
641
|
-
...eventDateOptions({
|
|
642
|
-
...event,
|
|
643
|
-
timeZone
|
|
644
|
-
}),
|
|
645
|
-
locale
|
|
646
|
-
})
|
|
647
|
-
}),
|
|
648
|
-
" ",
|
|
649
|
-
/* @__PURE__ */ jsx("span", {
|
|
650
|
-
"data-slot": "what",
|
|
651
|
-
children: event.title
|
|
652
|
-
})
|
|
653
|
-
]
|
|
654
|
-
});
|
|
655
|
-
}
|
|
656
|
-
function dateLabel(key, timeZone, date = "short") {
|
|
657
|
-
return formatDate({
|
|
658
|
-
kind: "civil",
|
|
659
|
-
value: parseBookingLocalDate(key)
|
|
660
|
-
}, eventDateOptions({
|
|
661
|
-
siteTimeZone: timeZone,
|
|
662
|
-
timeZone
|
|
663
|
-
}), {
|
|
664
|
-
date,
|
|
665
|
-
weekday: "long"
|
|
666
|
-
});
|
|
667
|
-
}
|
|
668
|
-
function MonthDay(props) {
|
|
669
|
-
const { day, selection } = props;
|
|
670
|
-
const { controls } = selection;
|
|
671
|
-
const selected = day.dateKey === selection.selectedDay;
|
|
672
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
673
|
-
"data-slot": "date",
|
|
674
|
-
"data-current": String(selected),
|
|
675
|
-
"data-today": String(day.isToday),
|
|
676
|
-
"data-other-month": String(!day.isCurrentMonth),
|
|
677
|
-
children: [selection.arrangement === "month-day" ? /* @__PURE__ */ jsx("button", {
|
|
678
|
-
type: "button",
|
|
679
|
-
"data-slot": "control",
|
|
680
|
-
"aria-label": `Show events on ${dateLabel(day.dateKey, selection.timeZone, "long")}`,
|
|
681
|
-
"aria-pressed": selected,
|
|
682
|
-
onClick: controls ? () => controls.selectDay(day.dateKey) : void 0,
|
|
683
|
-
children: day.date.day
|
|
684
|
-
}) : /* @__PURE__ */ jsx("span", {
|
|
685
|
-
"data-slot": "date-label",
|
|
686
|
-
children: day.date.day
|
|
687
|
-
}), selection.arrangement === "month-grid" ? /* @__PURE__ */ jsxs(Fragment, { children: [day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsx(MonthEvent, {
|
|
688
|
-
event,
|
|
689
|
-
timeZone,
|
|
690
|
-
locale: eventDateOptions({ siteTimeZone: selection.timeZone }).locale
|
|
691
|
-
}, event.occurrenceId ?? event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("button", {
|
|
692
|
-
type: "button",
|
|
693
|
-
className: "event-calendar-more",
|
|
694
|
-
"data-slot": "more",
|
|
695
|
-
onClick: controls ? () => controls.openDay(day.date, day.entries.map(({ event }) => event)) : void 0,
|
|
696
|
-
children: [
|
|
697
|
-
"+",
|
|
698
|
-
day.moreCount,
|
|
699
|
-
" more"
|
|
700
|
-
]
|
|
701
|
-
}) : null] }) : /* @__PURE__ */ jsx(MonthDayMarks, { count: day.entries.length })]
|
|
702
|
-
});
|
|
703
|
-
}
|
|
704
|
-
/** Both Looks and the legacy month grid consume the same per-day model. */
|
|
705
|
-
function MonthLookView(props) {
|
|
706
|
-
const days = props.days.map((date) => buildMonthDay({
|
|
707
|
-
date,
|
|
708
|
-
events: props.eventsByDate.get(formatDateKey(date)) ?? [],
|
|
709
|
-
viewDate: props.viewDate,
|
|
710
|
-
today: props.today,
|
|
711
|
-
calendarTimeZone: props.timeZone
|
|
712
|
-
}));
|
|
713
|
-
const selected = days.find((day) => day.dateKey === props.selectedDay);
|
|
714
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
715
|
-
"data-slot": "frame",
|
|
716
|
-
"data-arrangement": props.arrangement,
|
|
717
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
718
|
-
"data-slot": "grid",
|
|
719
|
-
children: [props.dayNames.map((name) => /* @__PURE__ */ jsx("span", {
|
|
720
|
-
"data-slot": "group-label",
|
|
721
|
-
children: name
|
|
722
|
-
}, name)), days.map((day) => /* @__PURE__ */ jsx(MonthDay, {
|
|
723
|
-
day,
|
|
724
|
-
selection: props
|
|
725
|
-
}, day.dateKey))]
|
|
726
|
-
}), props.arrangement === "month-day" ? /* @__PURE__ */ jsxs("section", {
|
|
727
|
-
...listLookSlot(props, "panel"),
|
|
728
|
-
"aria-live": "polite",
|
|
729
|
-
children: [/* @__PURE__ */ jsx("h3", {
|
|
730
|
-
"data-slot": "panel-heading",
|
|
731
|
-
children: dateLabel(props.selectedDay, props.timeZone)
|
|
732
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
733
|
-
...listLookSlot(props, "list"),
|
|
734
|
-
children: selected?.entries.length ? selected.entries.map(({ event }, index, entries) => /* @__PURE__ */ jsx(EventItem, {
|
|
735
|
-
...listItemPresentation(props, index, entries.length),
|
|
736
|
-
event,
|
|
737
|
-
arrangement: "month-day"
|
|
738
|
-
}, event.occurrenceId ?? event.id)) : /* @__PURE__ */ jsx("p", {
|
|
739
|
-
"data-slot": "intro",
|
|
740
|
-
children: props.emptyMessage
|
|
741
|
-
})
|
|
742
|
-
})]
|
|
743
|
-
}) : null]
|
|
744
|
-
});
|
|
745
|
-
}
|
|
746
|
-
function MonthDayMarks({ count }) {
|
|
747
|
-
if (count === 0) return null;
|
|
748
|
-
return /* @__PURE__ */ jsx("span", {
|
|
749
|
-
"data-slot": "item-meta",
|
|
750
|
-
role: "img",
|
|
751
|
-
"aria-label": `${count} ${count === 1 ? "event" : "events"}`,
|
|
752
|
-
children: Array.from({ length: Math.min(count, 3) }, (_, index) => /* @__PURE__ */ jsx("span", {
|
|
753
|
-
"data-slot": "mark",
|
|
754
|
-
"aria-hidden": "true"
|
|
755
|
-
}, index))
|
|
756
|
-
});
|
|
757
|
-
}
|
|
758
|
-
//#endregion
|
|
759
777
|
//#region ../blocks/src/system/runtime/nodes/events/shared/WeekBoardView.tsx
|
|
760
778
|
function buildWeekBoardNavigationState(viewport, today) {
|
|
761
779
|
return {
|
|
@@ -1098,4 +1116,4 @@ function formatDayLabel(date, timeZone, options) {
|
|
|
1098
1116
|
}), options);
|
|
1099
1117
|
}
|
|
1100
1118
|
//#endregion
|
|
1101
|
-
export {
|
|
1119
|
+
export { parseInlineTextFromUnknown as _, CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, Text as f, inlineTextToPlainText as g, coerceInlineTextWithFallback as h, buildWeekBoardViewProps as i, RichTextNode as l, monthSlotParents as m, WeekBoardView as n, RecurringSchedule as o, MonthLookView as p, buildWeekBoardNavigationState as r, ButtonNode as s, buildTimetableModel as t, TextNode as u, plainTextToInlineText as v };
|