@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,13 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Jt as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-CdqGYlWl.mjs";
|
|
2
|
+
import { h as ok, m as err, p as parseUuidBrand } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
|
+
import { $r as formatBookingPriceDisplay, An as selectEventCapacitySource, Ar as isDecodeSuccess, Bt as registrationDisplaySchema, Cr as defineInteractiveIslandMetaKeys, Dr as createZodCodec, Er as resolveEventRegistrationScopedEvents, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mn as groupPublicEventsByRun, Nr as listLookSlot, Or as defineClientOwnedBlockRuntime, Pr as lookListPresentationSchemaShape, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as createInteractiveIslandCodec, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _r as blockButtonRoleSchema, _t as formatRegistrationSchedule, an as eventCalendarWeekStart, ar as bookingNowSchema, bn as resolveRuntimeEventDestination, br as resolveDateRuntimeContext, c as registrationStepLabelContext, cn as eventLocalDateKey, cr as eventButtonVariantSchema, dr as eventLayoutSchema, ei as formatEventPricing, fn as formatEventCompactDateRail, fr as filterAutoShowSchema, hr as weekStartSchema, jr as listItemPresentation, kr as defineProgressiveBlockRuntime, lr as eventCalendarDefaultViewSchema, mr as registrationButtonVariantSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventDateLocale, or as calendarTabViewsSchema, p as isRegistrationLocked, pr as previewStageSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateOptions, sr as columnOptionSchema, t as REGISTRATION_STEP_LABELS, ui as parseEventSeriesId, ur as eventCalendarDisplayModeSchema, wn as formatRemainingPlaces, wr as eventRegistrationPageSurfaceSubjectSchema, xr as buildInteractiveIslandProps, zt as placesLeftLabel } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { A as resolveEventCalendarReadPlan, At as resolveBookingBusinessTimeZone, B as normalizeEventVenueId, Dt as getLocalScheduleDate, F as normalizeEventScheduleScope, G as publicEventSchema, I as normalizeEventStaffMemberId, M as eventSurfaceScopeValues, Nt as parseUtcIsoDateTimeString, O as isEventCalendarListLayout, Ot as parseBookingLocalDate, P as normalizeEventCategoryIdsCsv, Pt as toUtcIsoDateTimeString, R as normalizeEventSurfacePresetsCsv, Rt as formatCurrencyAmount, St as buildBookingUtcDateWindow, T as eventListArrangementValues, U as publicEventDestinationSchema, V as normalizeIdList, W as publicEventLoaderQuerySchemaShape, b as eventCalendarListGroupingDecision, dt as formatDate, ft as formatDateRange, ht as formatTime, j as eventScheduleScopeValues, jt as resolveBookingTimeZoneId, m as calendarWindowPageSchema, n as blockSiteTermsSchema, vt as inferSiteDateLocale, w as eventCalendarVariantMeaning, z as normalizeEventSurfaceScope } from "./noop-D-RG9eR3.mjs";
|
|
5
|
+
import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
|
|
6
|
+
import { Pr as assertNever$2, Rt as cardRoleSchema, b as resolveModeArrangement, ti as toNonEmptyReadonlyArray } from "./site-styles-DELkUk9s.mjs";
|
|
7
|
+
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
8
|
+
import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
9
|
+
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-BLo4NtjP.mjs";
|
|
11
10
|
import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
|
|
12
11
|
import "react";
|
|
13
12
|
import { z } from "zod";
|
|
@@ -16,6 +15,10 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
16
15
|
/** Server-resolved presentation context, never permission to perform a write. */
|
|
17
16
|
const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
|
|
18
17
|
//#endregion
|
|
18
|
+
//#region ../core/src/branded/content.ts
|
|
19
|
+
const unsafeAsContentVersionId = (id) => id;
|
|
20
|
+
const parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
|
|
21
|
+
//#endregion
|
|
19
22
|
//#region ../core/src/mailing-list-targeting.ts
|
|
20
23
|
const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
|
|
21
24
|
function sameMailingListPlacementTargeting(left, right) {
|
|
@@ -486,7 +489,7 @@ function planSiteChromePlacement(positioning) {
|
|
|
486
489
|
headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
|
|
487
490
|
standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
|
|
488
491
|
};
|
|
489
|
-
default: return assertNever(positioning);
|
|
492
|
+
default: return assertNever$2(positioning);
|
|
490
493
|
}
|
|
491
494
|
}
|
|
492
495
|
function splitSiteChromePlacementClasses(className) {
|
|
@@ -608,6 +611,8 @@ function buildEventListWeek(anchor, startOfWeek, timeZone) {
|
|
|
608
611
|
timeZone
|
|
609
612
|
});
|
|
610
613
|
return {
|
|
614
|
+
/** The seven civil days, as date keys in week order. */
|
|
615
|
+
days: viewport.days.map(formatDateKey),
|
|
611
616
|
title: formatDateRange({
|
|
612
617
|
kind: "civil",
|
|
613
618
|
value: viewport.days[0]
|
|
@@ -630,6 +635,70 @@ function eventListWindowEvents(events, window) {
|
|
|
630
635
|
return instant >= start && instant <= end;
|
|
631
636
|
});
|
|
632
637
|
}
|
|
638
|
+
/** Server and client describe the shown week the same way, from the same inputs. */
|
|
639
|
+
function eventListWeekDays(week, today, timeZone) {
|
|
640
|
+
return {
|
|
641
|
+
days: week.days,
|
|
642
|
+
today: formatDateKey(today),
|
|
643
|
+
timeZone
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* All seven days of the shown week, in week order and including empty ones.
|
|
648
|
+
* A session goes under the day it starts on in its own zone, the day its tile
|
|
649
|
+
* time describes. One whose own date falls outside the week (only possible in
|
|
650
|
+
* another zone) goes under its day in the site zone, so it still shows.
|
|
651
|
+
* Sessions arrive in start order, so with more pages to load a day is only
|
|
652
|
+
* known to be empty when a later day already has a session.
|
|
653
|
+
*/
|
|
654
|
+
function weekColumnDays(week, events, allLoaded) {
|
|
655
|
+
const siteDay = groupItemsByDate(events, {
|
|
656
|
+
getStartsAt: (event) => event.startsAt,
|
|
657
|
+
getTimeZone: () => week.timeZone
|
|
658
|
+
});
|
|
659
|
+
const siteKey = new Map([...siteDay].flatMap(([key, items]) => items.map((item) => [item, key])));
|
|
660
|
+
const columnKey = (event) => {
|
|
661
|
+
const own = eventLocalDateKey(event);
|
|
662
|
+
return week.days.includes(own) ? own : siteKey.get(event);
|
|
663
|
+
};
|
|
664
|
+
const options = eventDateOptions({
|
|
665
|
+
siteTimeZone: week.timeZone,
|
|
666
|
+
timeZone: week.timeZone
|
|
667
|
+
});
|
|
668
|
+
const lastLoaded = events.map(columnKey).filter((key) => key !== void 0).sort().at(-1);
|
|
669
|
+
return week.days.map((dateKey) => {
|
|
670
|
+
const date = {
|
|
671
|
+
kind: "civil",
|
|
672
|
+
value: parseBookingLocalDate(dateKey)
|
|
673
|
+
};
|
|
674
|
+
const dayEvents = events.filter((event) => columnKey(event) === dateKey).sort((left, right) => new Date(left.startsAt).getTime() - new Date(right.startsAt).getTime());
|
|
675
|
+
return {
|
|
676
|
+
dateKey,
|
|
677
|
+
isToday: dateKey === week.today,
|
|
678
|
+
label: {
|
|
679
|
+
weekday: formatDate(date, options, {
|
|
680
|
+
date: "omit",
|
|
681
|
+
weekday: "short",
|
|
682
|
+
year: "omit"
|
|
683
|
+
}),
|
|
684
|
+
fullWeekday: formatDate(date, options, {
|
|
685
|
+
date: "omit",
|
|
686
|
+
weekday: "long",
|
|
687
|
+
year: "omit"
|
|
688
|
+
}),
|
|
689
|
+
day: formatDate(date, options, {
|
|
690
|
+
date: "omit",
|
|
691
|
+
day: "numeric",
|
|
692
|
+
year: "omit"
|
|
693
|
+
})
|
|
694
|
+
},
|
|
695
|
+
sessions: dayEvents.length > 0 ? {
|
|
696
|
+
kind: "some",
|
|
697
|
+
events: dayEvents
|
|
698
|
+
} : allLoaded || lastLoaded !== void 0 && dateKey < lastLoaded ? { kind: "none" } : { kind: "unknown" }
|
|
699
|
+
};
|
|
700
|
+
});
|
|
701
|
+
}
|
|
633
702
|
/**
|
|
634
703
|
* Canonical responsive ladder for a user-configured column count: 1 column at
|
|
635
704
|
* base, 2 from `sm`, 3 from `lg` (when the count allows), and the full count
|
|
@@ -753,6 +822,7 @@ function getCardOrientation(layout) {
|
|
|
753
822
|
case "grid": return "vertical";
|
|
754
823
|
case "ledger":
|
|
755
824
|
case "day-groups":
|
|
825
|
+
case "week-columns":
|
|
756
826
|
case "compact": return "vertical";
|
|
757
827
|
}
|
|
758
828
|
}
|
|
@@ -1090,8 +1160,6 @@ function normalizeCsvString(value) {
|
|
|
1090
1160
|
const ids = normalizeCsvIds(value);
|
|
1091
1161
|
return ids.length > 0 ? ids.join(",") : void 0;
|
|
1092
1162
|
}
|
|
1093
|
-
//#endregion
|
|
1094
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/listOptions.ts
|
|
1095
1163
|
const eventPageSizeValues = [
|
|
1096
1164
|
1,
|
|
1097
1165
|
2,
|
|
@@ -1103,7 +1171,8 @@ const eventPageSizeValues = [
|
|
|
1103
1171
|
12,
|
|
1104
1172
|
20,
|
|
1105
1173
|
24,
|
|
1106
|
-
30
|
|
1174
|
+
30,
|
|
1175
|
+
100
|
|
1107
1176
|
];
|
|
1108
1177
|
const eventPageSizeSchema = z.union([
|
|
1109
1178
|
z.literal(1),
|
|
@@ -1116,7 +1185,8 @@ const eventPageSizeSchema = z.union([
|
|
|
1116
1185
|
z.literal(12),
|
|
1117
1186
|
z.literal(20),
|
|
1118
1187
|
z.literal(24),
|
|
1119
|
-
z.literal(30)
|
|
1188
|
+
z.literal(30),
|
|
1189
|
+
z.literal(100)
|
|
1120
1190
|
]);
|
|
1121
1191
|
const eventPageSizeSet = new Set(eventPageSizeValues);
|
|
1122
1192
|
function resolveEventPageSize(value, fallback = 12) {
|
|
@@ -1189,6 +1259,154 @@ function canonicalEventSeriesScope(seriesIds) {
|
|
|
1189
1259
|
return seriesIds == null ? null : [...new Set(seriesIds.split(",").filter(Boolean))].sort().join(",");
|
|
1190
1260
|
}
|
|
1191
1261
|
//#endregion
|
|
1262
|
+
//#region ../blocks/src/system/runtime/hooks/loadStateError.ts
|
|
1263
|
+
function toError(error, fallbackMessage) {
|
|
1264
|
+
return error instanceof Error ? error : new Error(fallbackMessage);
|
|
1265
|
+
}
|
|
1266
|
+
//#endregion
|
|
1267
|
+
//#region ../blocks/src/system/runtime/hooks/useEventPagination.state.ts
|
|
1268
|
+
function createInitialEventPaginationLoadState(events, scope) {
|
|
1269
|
+
return {
|
|
1270
|
+
kind: "ready",
|
|
1271
|
+
requestId: 0,
|
|
1272
|
+
page: {
|
|
1273
|
+
scope,
|
|
1274
|
+
events,
|
|
1275
|
+
hasMore: hasMoreEventPages(events, scope.pageSize)
|
|
1276
|
+
}
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
function eventPaginationLoadReducer(state, action) {
|
|
1280
|
+
switch (action.type) {
|
|
1281
|
+
case "started": return {
|
|
1282
|
+
kind: "loading",
|
|
1283
|
+
requestId: state.requestId + 1,
|
|
1284
|
+
operation: action.operation
|
|
1285
|
+
};
|
|
1286
|
+
case "succeeded": return state.kind === "loading" && state.requestId === action.requestId ? {
|
|
1287
|
+
kind: "ready",
|
|
1288
|
+
requestId: state.requestId,
|
|
1289
|
+
page: acceptEventPage(state.operation, action.events)
|
|
1290
|
+
} : state;
|
|
1291
|
+
case "failed": return state.kind === "loading" && state.requestId === action.requestId ? {
|
|
1292
|
+
...state,
|
|
1293
|
+
kind: "error",
|
|
1294
|
+
error: action.error
|
|
1295
|
+
} : state;
|
|
1296
|
+
case "synced": return {
|
|
1297
|
+
...createInitialEventPaginationLoadState(action.events, action.scope),
|
|
1298
|
+
requestId: state.requestId + 1
|
|
1299
|
+
};
|
|
1300
|
+
default: return assertNever(action);
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
function eventPageOperationScope(operation) {
|
|
1304
|
+
switch (operation.kind) {
|
|
1305
|
+
case "replace": return operation.scope;
|
|
1306
|
+
case "append": return operation.page.scope;
|
|
1307
|
+
default: return assertNever(operation);
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
function eventPageOperationQuery(operation) {
|
|
1311
|
+
switch (operation.kind) {
|
|
1312
|
+
case "replace": return operation.scope.query;
|
|
1313
|
+
case "append": return operation.query;
|
|
1314
|
+
default: return assertNever(operation);
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
function acceptEventPage(operation, events) {
|
|
1318
|
+
const scope = eventPageOperationScope(operation);
|
|
1319
|
+
const hasMore = hasMoreEventPages(events, scope.pageSize);
|
|
1320
|
+
switch (operation.kind) {
|
|
1321
|
+
case "replace": return {
|
|
1322
|
+
scope,
|
|
1323
|
+
events,
|
|
1324
|
+
hasMore
|
|
1325
|
+
};
|
|
1326
|
+
case "append": return {
|
|
1327
|
+
scope,
|
|
1328
|
+
events: mergeEventPaginationEvents(operation.page.events, events),
|
|
1329
|
+
hasMore
|
|
1330
|
+
};
|
|
1331
|
+
default: return assertNever(operation);
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
/** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
|
|
1335
|
+
function planEventPageOperation(state, scope, intent) {
|
|
1336
|
+
if (scope.query.seriesIds === "") return null;
|
|
1337
|
+
switch (intent) {
|
|
1338
|
+
case "replace": return {
|
|
1339
|
+
kind: "replace",
|
|
1340
|
+
scope
|
|
1341
|
+
};
|
|
1342
|
+
case "retry": return state.kind === "error" && eventPageOperationScope(state.operation).key === scope.key ? state.operation : null;
|
|
1343
|
+
case "append": {
|
|
1344
|
+
if (state.kind !== "ready" || state.page.scope.key !== scope.key || !state.page.hasMore) return null;
|
|
1345
|
+
const cursor = state.page.events.at(-1);
|
|
1346
|
+
return {
|
|
1347
|
+
kind: "append",
|
|
1348
|
+
page: state.page,
|
|
1349
|
+
query: {
|
|
1350
|
+
...scope.query,
|
|
1351
|
+
afterStartsAt: cursor?.startsAt,
|
|
1352
|
+
afterId: cursor?.occurrenceId
|
|
1353
|
+
}
|
|
1354
|
+
};
|
|
1355
|
+
}
|
|
1356
|
+
default: return assertNever(intent);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
/** A changed scope is pending even before the effect starts its replacement request. */
|
|
1360
|
+
function getEventPaginationView(state, scope) {
|
|
1361
|
+
if ((state.kind === "ready" ? state.page.scope : eventPageOperationScope(state.operation)).key !== scope.key) return {
|
|
1362
|
+
events: [],
|
|
1363
|
+
loading: true,
|
|
1364
|
+
error: null,
|
|
1365
|
+
hasMore: false
|
|
1366
|
+
};
|
|
1367
|
+
switch (state.kind) {
|
|
1368
|
+
case "ready": return {
|
|
1369
|
+
...state.page,
|
|
1370
|
+
loading: false,
|
|
1371
|
+
error: null
|
|
1372
|
+
};
|
|
1373
|
+
case "loading": return {
|
|
1374
|
+
...getOperationPage(state.operation),
|
|
1375
|
+
loading: true,
|
|
1376
|
+
error: null
|
|
1377
|
+
};
|
|
1378
|
+
case "error": return {
|
|
1379
|
+
...getOperationPage(state.operation),
|
|
1380
|
+
loading: false,
|
|
1381
|
+
error: state.error
|
|
1382
|
+
};
|
|
1383
|
+
default: return assertNever(state);
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
function getOperationPage(operation) {
|
|
1387
|
+
switch (operation.kind) {
|
|
1388
|
+
case "replace": return {
|
|
1389
|
+
events: [],
|
|
1390
|
+
hasMore: false
|
|
1391
|
+
};
|
|
1392
|
+
case "append": return operation.page;
|
|
1393
|
+
default: return assertNever(operation);
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
function getEventIdentity(event) {
|
|
1397
|
+
return event.occurrenceId || event.id;
|
|
1398
|
+
}
|
|
1399
|
+
function mergeEventPaginationEvents(existingEvents, newEvents) {
|
|
1400
|
+
const existingIds = new Set(existingEvents.map(getEventIdentity));
|
|
1401
|
+
return [...existingEvents, ...newEvents.filter((event) => !existingIds.has(getEventIdentity(event)))];
|
|
1402
|
+
}
|
|
1403
|
+
function toEventPaginationLoadError(error) {
|
|
1404
|
+
return toError(error, "Unknown error");
|
|
1405
|
+
}
|
|
1406
|
+
function hasMoreEventPages(events, pageSize) {
|
|
1407
|
+
return events.length >= pageSize;
|
|
1408
|
+
}
|
|
1409
|
+
//#endregion
|
|
1192
1410
|
//#region ../blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.ts
|
|
1193
1411
|
const eventSurfaceScopeSchema$1 = z.enum(eventSurfaceScopeValues);
|
|
1194
1412
|
const eventScheduleScopeSchema$1 = z.enum(eventScheduleScopeValues);
|
|
@@ -1293,8 +1511,7 @@ function buildEventCollectionDisplay(source) {
|
|
|
1293
1511
|
lookSlots: source.lookSlots,
|
|
1294
1512
|
itemActionStyle: source.itemActionStyle,
|
|
1295
1513
|
itemRoles: source.itemRoles,
|
|
1296
|
-
|
|
1297
|
-
itemSurfaces: source.itemSurfaces,
|
|
1514
|
+
surfacePresentation: source.surfacePresentation,
|
|
1298
1515
|
...buildEventCollectionPresentationDisplay(source),
|
|
1299
1516
|
startOfWeek: eventCalendarWeekStart(resolveBookingBusinessTimeZone(source.bookingTimeZone ?? source.calendarWindow?.scope.timeZone), source.startOfWeek),
|
|
1300
1517
|
calendarTabViews: source.calendarTabViews ?? "both",
|
|
@@ -1376,14 +1593,14 @@ function buildEventCollectionHydration(source) {
|
|
|
1376
1593
|
function buildEventCollectionListingDisplay(display, prefetchedEvents, className) {
|
|
1377
1594
|
const initialEvents = display.events.slice(0, display.eventsPerPage);
|
|
1378
1595
|
return {
|
|
1596
|
+
allLoaded: prefetchedEvents && !hasMoreEventPages(display.events, display.eventsPerPage),
|
|
1379
1597
|
kind: "event-listing",
|
|
1380
1598
|
sectionAction: display.sectionAction,
|
|
1381
1599
|
panelHeading: display.panelHeading,
|
|
1382
1600
|
lookSlots: display.lookSlots,
|
|
1383
1601
|
itemActionStyle: display.itemActionStyle,
|
|
1384
1602
|
itemRoles: display.itemRoles,
|
|
1385
|
-
|
|
1386
|
-
itemSurfaces: display.itemSurfaces,
|
|
1603
|
+
surfacePresentation: display.surfacePresentation,
|
|
1387
1604
|
state: initialEvents.length === 0 ? prefetchedEvents ? "empty" : "loading" : "ready",
|
|
1388
1605
|
listLayout: display.listLayout,
|
|
1389
1606
|
className,
|
|
@@ -1453,7 +1670,13 @@ const eventListingDisplaySchema = z.object({
|
|
|
1453
1670
|
showCapacity: z.boolean(),
|
|
1454
1671
|
showPhotos: z.boolean().optional(),
|
|
1455
1672
|
orientation: cardOrientationSchema,
|
|
1456
|
-
events: z.array(publicEventSchema)
|
|
1673
|
+
events: z.array(publicEventSchema),
|
|
1674
|
+
week: z.object({
|
|
1675
|
+
days: z.array(z.string()).length(7),
|
|
1676
|
+
today: z.string(),
|
|
1677
|
+
timeZone: z.string()
|
|
1678
|
+
}).optional(),
|
|
1679
|
+
allLoaded: z.boolean().optional()
|
|
1457
1680
|
});
|
|
1458
1681
|
const eventListingHydrationSchema = z.object({
|
|
1459
1682
|
siteId: z.string(),
|
|
@@ -1913,6 +2136,7 @@ function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.
|
|
|
1913
2136
|
}),
|
|
1914
2137
|
...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
|
|
1915
2138
|
...calendarListGrouping(source),
|
|
2139
|
+
...weekListPaging(source),
|
|
1916
2140
|
...calendarRecurringWeekPresentation(source),
|
|
1917
2141
|
kind: "event-calendar",
|
|
1918
2142
|
displayMode: resolveEventCalendarReadPlan(source).mode,
|
|
@@ -2015,6 +2239,18 @@ function calendarListGrouping(source) {
|
|
|
2015
2239
|
arrangementLooks: source.lookSlots !== void 0
|
|
2016
2240
|
}).grouping === "week" ? { listBy: "week" } : {};
|
|
2017
2241
|
}
|
|
2242
|
+
/**
|
|
2243
|
+
* A week list shows its whole week: one read of the week, with no page size or "more events" action.
|
|
2244
|
+
* A week that fills the whole read can't prove it's complete, so its empty days stay blank rather
|
|
2245
|
+
* than say "Nothing on". Above the limit only the first sessions show (accepted: no studio runs 100 a week).
|
|
2246
|
+
*/
|
|
2247
|
+
function weekListPaging(source) {
|
|
2248
|
+
return calendarListGrouping(source).listBy === "week" ? {
|
|
2249
|
+
eventsPerPage: 100,
|
|
2250
|
+
paginationAction: { kind: "none" },
|
|
2251
|
+
sectionAction: void 0
|
|
2252
|
+
} : {};
|
|
2253
|
+
}
|
|
2018
2254
|
/** The week presentation owns the series projection and its independent header action. */
|
|
2019
2255
|
function calendarRecurringWeekPresentation(source) {
|
|
2020
2256
|
return {
|
|
@@ -3606,7 +3842,7 @@ const newsletterSourceSchema = z.discriminatedUnion("source", [
|
|
|
3606
3842
|
])
|
|
3607
3843
|
}),
|
|
3608
3844
|
newsletterSourceCommonSchema.extend({
|
|
3609
|
-
source: z.
|
|
3845
|
+
source: z.enum(["signed-footer", "signed-hosted-booking"]),
|
|
3610
3846
|
sourceRef: z.object({
|
|
3611
3847
|
tag: z.literal("signed_source_ref"),
|
|
3612
3848
|
token: signedMailingListSourceTokenSchema
|
|
@@ -3636,7 +3872,7 @@ const newsletterHydrationSchema = z.object({
|
|
|
3636
3872
|
sourceRef: mailingListSignupBlockSourceRefSchema.nullable()
|
|
3637
3873
|
}),
|
|
3638
3874
|
z.object({
|
|
3639
|
-
tag: z.literal("signed-
|
|
3875
|
+
tag: z.literal("signed-source"),
|
|
3640
3876
|
sourceRef: z.object({
|
|
3641
3877
|
tag: z.literal("signed_source_ref"),
|
|
3642
3878
|
token: signedMailingListSourceTokenSchema
|
|
@@ -3693,7 +3929,7 @@ function buildNewsletterDisplay(source) {
|
|
|
3693
3929
|
buttonLabel: form.buttonLabel,
|
|
3694
3930
|
successMessage: source.interactionContext?.kind === "demo" ? NEWSLETTER_DEMO_MESSAGE : form.successMessage,
|
|
3695
3931
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
3696
|
-
privacyNote: form.privacyNote,
|
|
3932
|
+
privacyNote: newsletterPrivacyNote(source.source, form.privacyNote),
|
|
3697
3933
|
fields: getGlobalFormFields(form, source),
|
|
3698
3934
|
choices
|
|
3699
3935
|
};
|
|
@@ -3738,8 +3974,9 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
3738
3974
|
};
|
|
3739
3975
|
default: return assertNever$1(source.newsletterBlockSubmission);
|
|
3740
3976
|
}
|
|
3977
|
+
case "signed-hosted-booking":
|
|
3741
3978
|
case "signed-footer": return {
|
|
3742
|
-
tag: "signed-
|
|
3979
|
+
tag: "signed-source",
|
|
3743
3980
|
sourceRef: source.sourceRef
|
|
3744
3981
|
};
|
|
3745
3982
|
case "preview": return { tag: "preview" };
|
|
@@ -3791,6 +4028,10 @@ function parseRequiredMailingListSignedSourceToken(value) {
|
|
|
3791
4028
|
if (!parsed) throw new Error("Mailing-list signup signed source ref requires token");
|
|
3792
4029
|
return parsed;
|
|
3793
4030
|
}
|
|
4031
|
+
/** Hosted signup always explains preferences, alongside any owner-authored note. */
|
|
4032
|
+
function newsletterPrivacyNote(source, privacyNote) {
|
|
4033
|
+
return source !== "signed-hosted-booking" || privacyNote?.includes("Change your preferences or unsubscribe at any time.") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
|
|
4034
|
+
}
|
|
3794
4035
|
//#endregion
|
|
3795
4036
|
//#region ../blocks/src/system/blocks/products/shared.ts
|
|
3796
4037
|
const publicProductVariantSchema = z.object({
|
|
@@ -4821,4 +5062,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
4821
5062
|
};
|
|
4822
5063
|
}
|
|
4823
5064
|
//#endregion
|
|
4824
|
-
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $,
|
|
5065
|
+
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, getCardOrientation as $t, parseStoredCommerceCartState as A, buildEventListingInteractiveIslandProps as At, giftingBlockRuntime as B, toError as Bt, membershipCardListContent as C, sameMailingListPlacementTargeting as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPaginationLoadReducer as Ft, formInteractiveIslandPropsCodec as G, normalizeOptionalId as Gt, publicGiftingOffersResponseSchema as H, getEventRuntimeFiltersKey as Ht, newsletterBlockSubmissionMessage as I, getEventIdentity as It, displayButtonText as J, CardListContentPart as Jt, buildEventRegistrationDisplayFromScopedEvents as K, catalogueEventCardProps as Kt, newsletterFormBlockRuntime as L, getEventPaginationView as Lt, reduceCommerceCart as M, eventListingInteractiveIslandPropsCodec as Mt, publicProductsResponseSchema as N, createInitialEventPaginationLoadState as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, eventPageOperationQuery as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, MediaNodeServer as Qt, newsletterFormInteractiveIslandPropsCodec as R, planEventPageOperation as Rt, formatInterval as S, DEFAULT_MAILING_LIST_TARGETING as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, normalizeCsvIds as Ut, giftingInteractiveIslandPropsCodec as V, buildEventRuntimeFilters as Vt, formBlockRuntime as W, normalizeCsvString as Wt, eventRegistrationInteractiveIslandPropsCodec as X, resolveCardListSchedule as Xt, eventRegistrationBlockRuntime as Y, CardListLeadDate as Yt, offeringNounForEvent as Z, selectCardListPresentation as Zt, shopProductPresentation as _, publicPassProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, formatEventPrice as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, parseMailingListPlacementTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, resolveEventSelection as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, resolveHeaderChromeRuntimeContract as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getContainerClass as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, staticHeaderChromeRuntime as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, publicMembershipProductCollectionSchema as gn, bookingPanelHeading as gt, shopBlockRuntime as h, splitSiteChromePlacementClasses as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, weekColumnDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingBlockRuntime as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, headerChromeRuntimeContractSchema as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, planSiteChromePlacement as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, buildEventListWeek as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPriceAmount as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, parseHeaderPositioning as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, listingEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, eventListWeekDays as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceDisplay as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, Grid as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, isHeaderScrollRuntimeEnabled as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, buildMailingListSignupBlockSourceRef as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, parseContentVersionId as wn, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListVisitorSelection as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, assessMailingListTargeting as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, toEventPaginationLoadError as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|