@riverbankcms/sdk 0.181.0 → 0.182.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-CVCasDPz.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-D6T430bk.d.ts} +1 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-CEyYMhLJ.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CQrb3Ccc.d.ts} +4 -4
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-DEwxUSw8.d.ts} +130 -28
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-R65DKjPn.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-7kdvuPow.mjs} +6 -6
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-BJI7mZuV.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +4 -4
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-Dhb14bcC.mjs} +9 -9
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-C1jEZBN9.mjs} +8 -8
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Bb0ppG2N.mjs} +8 -176
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-DsqvuulZ.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +31 -164
- package/dist/client/{Page-C7mygH_f.mjs → Page-sV6BJkXX.mjs} +172 -102
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +2 -2
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-BTqO7cJl.mjs} +220 -19
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-BogaGutk.mjs} +966 -693
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-BOMe_SKi.mjs} +15 -15
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-CGyQVV1M.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +25 -6
- package/dist/client/{constants-CoOkvw__.mjs → constants-DdxFG3Ic.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-Hi1RuYEM.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-C8vBCHuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +3 -3
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-dB_Z7bb-.mjs} +12 -12
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-D7zmeqNI.mjs} +4 -4
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-C-G6N_MK.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client-DVo1YFLs.mjs} +4 -4
- package/dist/client/{gifting.parts-CedLgwa_.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-DVt3enLr.mjs} +162 -135
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CH6dGfdn.mjs} +1 -1
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{noop-Dl4mZ-rr.mjs → noop-jesvJXEE.mjs} +239 -229
- package/dist/client/portal/client.mjs +269 -83
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-oEoTvzkW.mjs} +1 -1
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-ByyVZfVq.mjs} +13 -2
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-DzvtVVD0.mjs} +352 -166
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-Bnng7JFA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-DL_ARBpa.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-D5bDY1o1.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-B7sHnLwI.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-uvj5GDZb.mjs} +11 -11
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/{src-ZSqRK3dD.mjs → src-CmXh3JWs.mjs} +5 -1
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-GA-hn1qM.mjs} +8 -15
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-xX8n_Tuu.mjs} +7 -7
- package/dist/client/{view-CC_yQLSA.mjs → view-DOyZc-DF.mjs} +3 -3
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-B952ify5.mjs} +303 -31
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +44 -17
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-BgiYk3PB.mjs} +2577 -1683
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-BHTBA48n.mjs} +20 -1
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-BfUCTOwj.mjs} +37 -25
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -361
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-DMJH4bvo.mjs} +4 -4
- package/dist/server/{client-CDndhbYO.mjs → client-DrwlRNAH.mjs} +22 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-CeMywaiD.mjs} +11 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-ehuW8r2g.mjs} +769 -227
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-D0prFflT.mjs} +4 -4
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-H0fi4bJk.mjs} +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-wrcuWmgp.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-BHrmogsW.mjs} +161 -244
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-D2-YMRei.mjs} +1 -1
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-CG8O31Eo.mjs} +1265 -1032
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +1 -1
- package/dist/server/{portal-CMW_b9mG.mjs → portal-pG_uhsI2.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-BxUETRIZ.mjs} +2 -2
- package/dist/server/{registry-DM9dHfDC.mjs → registry-Cc88-23f.mjs} +1173 -745
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-OG3KOkig.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-BcFuhhD7.mjs} +5 -5
- package/dist/server/theme-bridge.mjs +33 -8
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-DG5jX3jH.mjs → validation-BovmbS8N.mjs} +3 -3
- package/dist/server/{version-CipbxPHL.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/styles/index.css +86 -46
- package/package.json +1 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { An as DEFAULT_MAILING_LIST_TARGETING, B as buildCartInteractiveIslandProps, Cn as formatEventPriceAmount, Ct as listingEventCardProps, Dn as assessMailingListTargeting, Et as eventCombinedBlockRuntime, F as buildGiftingInteractiveIslandProps, Ft as normalizeEventStaffMemberId, G as cartBlockRuntime, H as buildProductDetailInteractiveIslandProps, I as giftingBlockRuntime, It as normalizeEventSurfacePresets, Jt as getContainerClass, Lt as normalizeEventSurfaceScope, Nt as normalizeEventCategoryIds, On as parseMailingListPlacementTargeting, P as occurrenceContextSchema, Pt as normalizeEventScheduleScope, Q as productListBlockRuntime, R as publicGiftingOffersResponseSchema, Rt as normalizeEventVenueId, Sn as formatEventPrice, St as catalogueEventCardProps, Tn as formatEventStartingPrice, Tt as buildEventCombinedListingDisplay, U as buildProductListInteractiveIslandProps, V as buildCheckoutInteractiveIslandProps, W as buildShopInteractiveIslandProps, X as productDetailBlockRuntime, Xt as CardListContentPart, Yt as formatBookingSchedulePresentation, an as buildEventListWeek, bn as formatCoursePrice, bt as resolveOfferingsPreviewGroups, dt as groupOfferingRunsByCourse, et as shopBlockRuntime, f as eventCalendarBlockRuntime, fn as recurringScheduleProjectionSchema, g as formBlockRuntime, gn as staticHeaderChromeRuntime, gt as offeringsListingFor, h as buildFormInteractiveIslandProps, ht as offeringRunLifecycle, i as newsletterFormBlockRuntime, in as Grid, it as DEFAULT_GROUP_CTA, l as buildEventCalendarInteractiveIslandProps, lt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, mt as normalizeOfferingsPreviewItemLimit, n as buildNewsletterFormInteractiveIslandProps, nt as shopProductPresentation, o as buildEventListingInteractiveIslandProps, on as eventListWeekDays, q as checkoutBlockRuntime, qt as getCardOrientation, r as newsletterBlockSubmissionMessage, rn as MediaNodeServer, rt as publicProductsResponseSchema, s as eventListingBlockRuntime, sn as eventWeekGroupingContext, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, tn as EventQuickFacts, u as buildEventCalendarListingDisplay, un as resolveEventSelection, ut as buildOfferingsPreviewListing, vt as readOfferingsGrouping, wn as formatEventPriceDisplay, wt as buildEventCombinedInteractiveIslandProps, x as eventRegistrationBlockRuntime, xn as formatEventDepositNote, xt as resolveOfferingsRenderInput, y as buildEventRegistrationInteractiveIslandProps, yn as splitSiteChromePlacementClasses, yt as resolveOfferingsPreviewGroupCta, z as DEFAULT_PASS_BUY_BUTTON_TEXT } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
3
|
import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
4
|
-
import { C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, En as toBookingTimeZone, F as isEventCalendarDisplayMode, Gt as normalizeLocationAddressText, I as isEventCalendarListLayout, J as runtimeMediaSchema, Jt as publicLocationSchema, Kt as parseLocationValue, L as normalizeEventCalendarDisplayMode$1, M as eventCalendarVariantMeaning, P as isEventCalendarDefaultView, Q as mediaTypeDiscriminants, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, X as PUBLIC_FILE_FIELD_KINDS, Yt as toLocationCoordinates, Z as isDisplayMediaKind, _ as publicMembershipProductCollectionSchema, an as formatDateTimeRange, gn as compareLocalScheduleDates, j as eventCalendarListLayoutOptions, m as calendarWindowPageSchema, mn as toScheduledBookingDateTime, nn as formatDate, nt as arrangementModes, qt as projectPublicLocation, rn as formatDateRange, v as publicPassProductCollectionSchema, vn as getBookingLocalDateKey, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, z as RichTextDocSchema } from "./src-
|
|
5
|
-
import { Bo as
|
|
6
|
-
import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, p as formatEventDuration, u as CalendarDayHeaders } from "./CalendarNavigationChevron-
|
|
4
|
+
import { C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, En as toBookingTimeZone, F as isEventCalendarDisplayMode, Gt as normalizeLocationAddressText, I as isEventCalendarListLayout, J as runtimeMediaSchema, Jt as publicLocationSchema, Kt as parseLocationValue, L as normalizeEventCalendarDisplayMode$1, M as eventCalendarVariantMeaning, P as isEventCalendarDefaultView, Q as mediaTypeDiscriminants, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, X as PUBLIC_FILE_FIELD_KINDS, Yt as toLocationCoordinates, Z as isDisplayMediaKind, _ as publicMembershipProductCollectionSchema, an as formatDateTimeRange, gn as compareLocalScheduleDates, j as eventCalendarListLayoutOptions, m as calendarWindowPageSchema, mn as toScheduledBookingDateTime, nn as formatDate, nt as arrangementModes, qt as projectPublicLocation, rn as formatDateRange, v as publicPassProductCollectionSchema, vn as getBookingLocalDateKey, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, z as RichTextDocSchema } from "./src-CmXh3JWs.mjs";
|
|
5
|
+
import { $o as groupEventsByDate, $s as resolveWholeSeriesBookingPhase, Ao as isEventFull, Bo as eventDateOptions, Ci as isDropInPublicEvent, Do as getEventAvailability, Eo as formatTotalCapacity, Fi as buildBookingFormInteractiveIslandProps, Fo as isBlockButtonRole, Go as formatEventCompactDateRail, Ho as formatCalendarTitle, Io as RichText, Ko as formatEventDateParts, Lo as buildCalendarViewport, Ms as sanitizeHref, Ni as groupPublicEventsByRun, No as BLOCK_BUTTON_ROLE_OPTIONS, Ns as parseAspectRatioValue, Oo as getEventAvailabilityStatus, Qo as formatTime, Qs as orderedLiveRunSessions, Sc as resolvePricingOptionsPriceDisplay, Xo as formatEventTimeRange, Xs as CANCELLED_SESSION_STATUS, Yo as formatEventRunDates, Zs as nextLiveRunSessionStartMs, _c as publicEventPricingCurrency, _o as resolveEventCta, bc as publicEventPricingType, bi as resolveEventRegistrationScopedEvents, bo as isBookableEvent, bs as asPartialObject, ds as resolvePublicMediaUrl, fo as eventVenuePlace, gc as isPublicEventPricingOptionDisplayable, go as resolveEventCardBooking, ho as eventDestinationPagePath, lo as bookingPresentation, mc as formatBookingPriceDisplay, pi as closedRunCopy, po as formatEventLocation, qo as formatEventHourLabel, ts as ImagePresets, uc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, uo as eventOnlinePlace, vc as publicEventPricingDisplay, vi as normalizeEventRegistrationPageSurfaceSubject, vo as resolveEventPageLink, wo as formatEventRemainingPlaces, xc as resolveExactOrFreePriceDisplay, yo as resolveRuntimeEventDestination } from "./wizardSteps-B952ify5.mjs";
|
|
6
|
+
import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, p as formatEventDuration, u as CalendarDayHeaders } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
|
|
7
7
|
import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, f as MapDrawingSvg, i as buildWeekBoardViewProps, l as RichTextNode, m as LocationMapActions, n as WeekBoardView, o as RecurringSchedule, p as SvgNode, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-
|
|
10
|
-
import { Qt as arrangementSlotNames, R as compiledRuntimeStyleFieldNames, a as lookListPresentationSchemaShape, fn as cardVariantRoleValues, i as listLookSlot, n as listItemPresentation } from "./noop-
|
|
11
|
-
import { D as SYSTEM_BLOCK_KINDS } from "./types-BEaKfam_.mjs";
|
|
12
|
-
import {
|
|
13
|
-
import { l as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-
|
|
9
|
+
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, f as MapDrawingSvg, i as buildWeekBoardViewProps, l as RichTextNode, m as LocationMapActions, n as WeekBoardView, o as RecurringSchedule, p as SvgNode, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-GA-hn1qM.mjs";
|
|
10
|
+
import { Qt as arrangementSlotNames, R as compiledRuntimeStyleFieldNames, a as lookListPresentationSchemaShape, fn as cardVariantRoleValues, gn as parseGradientPresetId, i as listLookSlot, n as listItemPresentation, ot as gradientToCss, st as getGradientPreset } from "./noop-jesvJXEE.mjs";
|
|
11
|
+
import { D as SYSTEM_BLOCK_KINDS, T as parseThemeColorToken } from "./types-BEaKfam_.mjs";
|
|
12
|
+
import { H as rgbColorValue, I as resolveThemeColorReferenceValue, R as backgroundColorStyle, U as textColorStyle, V as mergeStyles, s as serializeSurfaceTree } from "./accessibleSurfaces-BogaGutk.mjs";
|
|
13
|
+
import { l as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-BFuqZCfz.mjs";
|
|
14
14
|
import { _ as FileTextIcon, b as SpinnerNode, c as ArrowDownIcon, d as CirclePlusIcon, g as FileSpreadsheetIcon, h as FileAudioIcon, i as ThemedDownloadLink, l as ChevronDownIcon, m as FileArchiveIcon, n as ThemedButton, o as getIconComponent, r as ThemedButtonLink, s as isSemanticIconId, u as CircleMinusIcon, v as MinusIcon, x as clsx, y as PlusIcon } from "./ThemedButton-PFOhXktM.mjs";
|
|
15
15
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
16
16
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-uwCpbHXG.mjs";
|
|
17
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
18
|
-
import {
|
|
19
|
-
import { i as resolvePublicEventDepositOffer, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-
|
|
17
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Bnng7JFA.mjs";
|
|
18
|
+
import { f as formatCourseSessions, l as eventDisplayTitle, n as CardListItems, p as formatMoreDates, r as EventItem, u as eventDisplayTitleText } from "./EventItem-Bb0ppG2N.mjs";
|
|
19
|
+
import { i as resolvePublicEventDepositOffer, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-DdxFG3Ic.mjs";
|
|
20
20
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
21
|
-
import { n as BookingPanelArrangement } from "./StepIndicator-
|
|
22
|
-
import { a as
|
|
21
|
+
import { n as BookingPanelArrangement } from "./StepIndicator-B6o5B7g3.mjs";
|
|
22
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, l as decideBookedElsewhereDatesPage, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-BTqO7cJl.mjs";
|
|
23
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-DsqvuulZ.mjs";
|
|
23
24
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
24
|
-
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
25
|
-
import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-
|
|
26
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
27
|
-
import {
|
|
28
|
-
import { n as
|
|
29
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-2petDnWv.mjs";
|
|
25
|
+
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-DOyZc-DF.mjs";
|
|
26
|
+
import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-Bak93gD2.mjs";
|
|
27
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-DMryCaNV.mjs";
|
|
28
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-C-G6N_MK.mjs";
|
|
29
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-CH6dGfdn.mjs";
|
|
30
30
|
import React, { forwardRef } from "react";
|
|
31
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
32
32
|
import { z } from "zod";
|
|
@@ -1013,6 +1013,65 @@ const nodeTreeSchema = z.union([z.array(nodeSchema), nodeSchema]);
|
|
|
1013
1013
|
const NodeSchema = nodeSchema;
|
|
1014
1014
|
const NodeTreeSchema = nodeTreeSchema;
|
|
1015
1015
|
//#endregion
|
|
1016
|
+
//#region ../theme-core/src/site-styles/sectionGround.ts
|
|
1017
|
+
/** A section that declares no ground of its own sits on the page background. */
|
|
1018
|
+
const pageGround = { fallback: requireGroundToken("background") };
|
|
1019
|
+
/** A section's declared ground. A non-token fallback is a layout bug, so it throws when the layout is built. */
|
|
1020
|
+
function sectionGround(fallback) {
|
|
1021
|
+
return { fallback: requireGroundToken(fallback) };
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* The one paint decision for a ground: the background layer paints from it,
|
|
1025
|
+
* and boundary and seam composition classify from it. A colour that is unset
|
|
1026
|
+
* or blank, a gradient with nothing to draw, or no background at all paints
|
|
1027
|
+
* the fallback.
|
|
1028
|
+
*/
|
|
1029
|
+
function groundPaint(background, fallback) {
|
|
1030
|
+
const fill = nonBlank(fallback);
|
|
1031
|
+
switch (background?.type) {
|
|
1032
|
+
case "color": {
|
|
1033
|
+
const colour = nonBlank(background.color);
|
|
1034
|
+
return colour ? {
|
|
1035
|
+
kind: "fill",
|
|
1036
|
+
colour
|
|
1037
|
+
} : fillOrBare(fill);
|
|
1038
|
+
}
|
|
1039
|
+
case "gradient": {
|
|
1040
|
+
const gradient = nonBlank(background.gradient) ?? gradientPresetCss(background.gradientPresetId);
|
|
1041
|
+
return gradient ? {
|
|
1042
|
+
kind: "gradient",
|
|
1043
|
+
gradient
|
|
1044
|
+
} : fillOrBare(fill);
|
|
1045
|
+
}
|
|
1046
|
+
case "image":
|
|
1047
|
+
case "video": return {
|
|
1048
|
+
kind: "media",
|
|
1049
|
+
fill
|
|
1050
|
+
};
|
|
1051
|
+
case void 0: return fillOrBare(fill);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
function fillOrBare(colour) {
|
|
1055
|
+
return colour ? {
|
|
1056
|
+
kind: "fill",
|
|
1057
|
+
colour
|
|
1058
|
+
} : { kind: "bare" };
|
|
1059
|
+
}
|
|
1060
|
+
function nonBlank(value) {
|
|
1061
|
+
return typeof value === "string" && value.trim().length > 0 ? value.trim() : null;
|
|
1062
|
+
}
|
|
1063
|
+
function gradientPresetCss(value) {
|
|
1064
|
+
const presetId = parseGradientPresetId(value);
|
|
1065
|
+
if (!presetId) return null;
|
|
1066
|
+
const preset = getGradientPreset(presetId);
|
|
1067
|
+
return gradientToCss(preset, Object.fromEntries(preset.stops.map((stop) => [stop.color, `rgb(var(--tb-${stop.color}))`])));
|
|
1068
|
+
}
|
|
1069
|
+
function requireGroundToken(value) {
|
|
1070
|
+
const token = parseThemeColorToken(value);
|
|
1071
|
+
if (!token) throw new Error(`A section ground must be a theme color token. Received: ${value}`);
|
|
1072
|
+
return token;
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1016
1075
|
//#region ../theme-core/src/accordions/types.ts
|
|
1017
1076
|
/**
|
|
1018
1077
|
* Icon configuration mapping icon styles to Lucide icons and behavior
|
|
@@ -1635,101 +1694,34 @@ function eventScopeQuery(scope) {
|
|
|
1635
1694
|
function eventScopeLoaderParam(query, key) {
|
|
1636
1695
|
return key === "seriesIds" && query.seriesIds === "" ? [] : query[key];
|
|
1637
1696
|
}
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
};
|
|
1645
|
-
/** The section's event scope comes from resolveEventScope, the same owner readiness uses. */
|
|
1646
|
-
const eventScopeLoaderParams = Object.fromEntries(eventScopeQueryKeys.map((key) => [key, { $bind: {
|
|
1647
|
-
from: "content",
|
|
1648
|
-
transforms: [{
|
|
1649
|
-
id: "events.scopeParam",
|
|
1650
|
-
options: { key }
|
|
1651
|
-
}]
|
|
1652
|
-
} }]));
|
|
1653
|
-
const scopeParams = {
|
|
1654
|
-
siteId: { $bind: { from: "$root.siteId" } },
|
|
1655
|
-
stage: { $bind: {
|
|
1656
|
-
from: "$root.previewStage",
|
|
1657
|
-
fallback: "published"
|
|
1658
|
-
} },
|
|
1659
|
-
...eventScopeLoaderParams
|
|
1660
|
-
};
|
|
1661
|
-
/** Each mode reads only what it paints first; see resolveEventCalendarReadPlan. */
|
|
1662
|
-
const eventCalendarDataLoaders = {
|
|
1663
|
-
schedule: {
|
|
1664
|
-
endpoint: "listPublicRecurringSchedule",
|
|
1665
|
-
when: { $bind: {
|
|
1666
|
-
from: "content",
|
|
1667
|
-
transforms: [{
|
|
1668
|
-
id: "events.calendarReadEnabled",
|
|
1669
|
-
options: { job: "schedule" }
|
|
1670
|
-
}]
|
|
1671
|
-
} },
|
|
1672
|
-
params: {
|
|
1673
|
-
siteId: scopeParams.siteId,
|
|
1674
|
-
stage: scopeParams.stage,
|
|
1675
|
-
limit: "100",
|
|
1676
|
-
detailLevel: "listing",
|
|
1677
|
-
readProfile: "compact-list",
|
|
1678
|
-
...eventWeekReadScope
|
|
1679
|
-
},
|
|
1680
|
-
mode: "server"
|
|
1681
|
-
},
|
|
1682
|
-
events: {
|
|
1683
|
-
endpoint: "listPublicEvents",
|
|
1684
|
-
when: { $bind: {
|
|
1685
|
-
from: "content",
|
|
1686
|
-
transforms: [{
|
|
1687
|
-
id: "events.calendarReadEnabled",
|
|
1688
|
-
options: { job: "list" }
|
|
1689
|
-
}]
|
|
1690
|
-
} },
|
|
1691
|
-
params: {
|
|
1692
|
-
...scopeParams,
|
|
1693
|
-
limit: 100,
|
|
1694
|
-
detailLevel: "listing",
|
|
1695
|
-
readProfile: "listing-card",
|
|
1696
|
-
from: { $bind: {
|
|
1697
|
-
from: "$root",
|
|
1698
|
-
transforms: [{
|
|
1699
|
-
id: "events.calendarListWindow",
|
|
1700
|
-
options: { key: "from" }
|
|
1701
|
-
}]
|
|
1702
|
-
} },
|
|
1703
|
-
to: { $bind: {
|
|
1704
|
-
from: "$root",
|
|
1705
|
-
transforms: [{
|
|
1706
|
-
id: "events.calendarListWindow",
|
|
1707
|
-
options: { key: "to" }
|
|
1708
|
-
}]
|
|
1709
|
-
} }
|
|
1710
|
-
},
|
|
1711
|
-
mode: "server"
|
|
1712
|
-
},
|
|
1713
|
-
calendarWindow: {
|
|
1714
|
-
endpoint: "listPublicEventCalendarWindow",
|
|
1715
|
-
when: { $bind: {
|
|
1716
|
-
from: "content",
|
|
1717
|
-
transforms: [{
|
|
1718
|
-
id: "events.calendarReadEnabled",
|
|
1719
|
-
options: { job: "calendar" }
|
|
1720
|
-
}]
|
|
1721
|
-
} },
|
|
1722
|
-
params: {
|
|
1723
|
-
...scopeParams,
|
|
1724
|
-
limit: 100,
|
|
1725
|
-
readProfile: { $bind: {
|
|
1726
|
-
from: "content",
|
|
1727
|
-
transforms: [{ id: "events.calendarReadProfile" }]
|
|
1728
|
-
} }
|
|
1729
|
-
},
|
|
1730
|
-
mode: "server"
|
|
1697
|
+
const weeklyScheduleRead = {
|
|
1698
|
+
shape: "weeklySchedule",
|
|
1699
|
+
query: {
|
|
1700
|
+
eventSurface: "custom",
|
|
1701
|
+
eventPresets: "class",
|
|
1702
|
+
scheduleScope: "any"
|
|
1731
1703
|
}
|
|
1732
1704
|
};
|
|
1705
|
+
/** A recurring schedule section always paints the weekly class schedule. */
|
|
1706
|
+
function recurringScheduleRead() {
|
|
1707
|
+
return weeklyScheduleRead;
|
|
1708
|
+
}
|
|
1709
|
+
/** The events a section's scope selects: the series an author picked, or whatever matches its filters. */
|
|
1710
|
+
function resolveEventScopeRead(content) {
|
|
1711
|
+
return {
|
|
1712
|
+
shape: "events",
|
|
1713
|
+
query: eventScopeQuery(resolveEventScope(content))
|
|
1714
|
+
};
|
|
1715
|
+
}
|
|
1716
|
+
/**
|
|
1717
|
+
* What an events calendar reads, decided by its display mode. Week paints the
|
|
1718
|
+
* fixed class schedule whatever the section's own scope says; every other mode
|
|
1719
|
+
* reads the section's scope. The calendar's loaders, readiness and "which pages
|
|
1720
|
+
* list this event" all take their query from here.
|
|
1721
|
+
*/
|
|
1722
|
+
function resolveEventCalendarRead(content) {
|
|
1723
|
+
return resolveEventCalendarReadPlan(content).jobs === "schedule" ? weeklyScheduleRead : resolveEventScopeRead(content);
|
|
1724
|
+
}
|
|
1733
1725
|
//#endregion
|
|
1734
1726
|
//#region ../blocks/src/system/blocks/events/eventReadiness.ts
|
|
1735
1727
|
const eventReadinessResultSchema = z.union([z.array(z.unknown()), recurringScheduleProjectionSchema]).transform((result) => Array.isArray(result) ? result.length > 0 : result.items.length > 0);
|
|
@@ -1744,23 +1736,24 @@ function blockChecksForEvents(content) {
|
|
|
1744
1736
|
return content.emptyBehavior === "hide" || showsWhenNothingComingUp(content);
|
|
1745
1737
|
}
|
|
1746
1738
|
function eventReadinessLoaderKey(content) {
|
|
1747
|
-
return
|
|
1739
|
+
return resolveEventCalendarRead(content).shape === "weeklySchedule" ? "schedule" : "readinessEvents";
|
|
1748
1740
|
}
|
|
1749
1741
|
/**
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1742
|
+
* Readiness reads what the calendar's loaders read (resolveEventCalendarRead):
|
|
1743
|
+
* Week its projected schedule, other modes their scope without the displayed
|
|
1744
|
+
* date windows.
|
|
1752
1745
|
*/
|
|
1753
1746
|
function eventReadinessQuery(content) {
|
|
1754
|
-
|
|
1755
|
-
...
|
|
1747
|
+
const read = resolveEventCalendarRead(showsWhenNothingComingUp(content) ? {
|
|
1748
|
+
...content,
|
|
1749
|
+
eventSelection: "selected"
|
|
1750
|
+
} : content);
|
|
1751
|
+
return read.shape === "weeklySchedule" ? {
|
|
1752
|
+
...read.query,
|
|
1756
1753
|
limit: "100"
|
|
1757
|
-
}
|
|
1758
|
-
return {
|
|
1754
|
+
} : {
|
|
1759
1755
|
limit: "1",
|
|
1760
|
-
...
|
|
1761
|
-
...content,
|
|
1762
|
-
eventSelection: "selected"
|
|
1763
|
-
} : content))
|
|
1756
|
+
...read.query
|
|
1764
1757
|
};
|
|
1765
1758
|
}
|
|
1766
1759
|
/** A one-row existence read shares the public event selection and stage contracts. */
|
|
@@ -1977,7 +1970,7 @@ function devValidate(node) {
|
|
|
1977
1970
|
}
|
|
1978
1971
|
//#endregion
|
|
1979
1972
|
//#region ../blocks/src/primitives/layout/Section.tsx
|
|
1980
|
-
const Section = forwardRef(function Section({ as: Comp = "section", children, background, className = "", style, "data-slot": dataSlot, "data-arrangement": dataArrangement, "data-look": dataLook, "data-surface": dataSurface }, ref) {
|
|
1973
|
+
const Section = forwardRef(function Section({ as: Comp = "section", children, background, className = "", style, "data-slot": dataSlot, "data-arrangement": dataArrangement, "data-look": dataLook, "data-surface": dataSurface, "data-rb-section": geometryHook }, ref) {
|
|
1981
1974
|
return /* @__PURE__ */ jsx(Comp, {
|
|
1982
1975
|
ref,
|
|
1983
1976
|
className: clsx("rb-relative rb-isolate rb-overflow-visible", className),
|
|
@@ -1986,6 +1979,7 @@ const Section = forwardRef(function Section({ as: Comp = "section", children, ba
|
|
|
1986
1979
|
"data-surface": dataSurface,
|
|
1987
1980
|
"data-arrangement": dataArrangement,
|
|
1988
1981
|
"data-look": dataLook,
|
|
1982
|
+
"data-rb-section": geometryHook,
|
|
1989
1983
|
children
|
|
1990
1984
|
});
|
|
1991
1985
|
});
|
|
@@ -3788,6 +3782,10 @@ function selectRelatedDates(input) {
|
|
|
3788
3782
|
const dates = input.events.filter((event) => event.seriesId === input.seriesId).filter((event) => isWholeSeries || isFutureOrNow(event.startsAt, input.nowIso)).filter((event) => !selectedOccurrenceId || (event.occurrenceId || event.id) !== selectedOccurrenceId).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
|
|
3789
3783
|
return isWholeSeries ? dates : dates.slice(0, input.limit);
|
|
3790
3784
|
}
|
|
3785
|
+
/** The registration panel's own decision, read from the same scoped dates and clock. */
|
|
3786
|
+
function pageBookedElsewhere(events, occurrenceContext, nowIso) {
|
|
3787
|
+
return decideBookedElsewhereDatesPage(events, occurrenceContext?.id ?? null, new Date(nowIso));
|
|
3788
|
+
}
|
|
3791
3789
|
function selectEventDetails(args) {
|
|
3792
3790
|
const all = uniqByOccurrenceId(resolveEventRegistrationScopedEvents((args.events ?? []).filter(Boolean), {
|
|
3793
3791
|
occurrenceContext: args.occurrenceContext,
|
|
@@ -3831,7 +3829,8 @@ function selectEventDetails(args) {
|
|
|
3831
3829
|
selected,
|
|
3832
3830
|
otherDates: otherDates.filter(isOrdinaryEvent),
|
|
3833
3831
|
timeZone,
|
|
3834
|
-
depositOffer: resolvePublicEventDepositOffer(selected, { nowIso: args.nowIso })
|
|
3832
|
+
depositOffer: resolvePublicEventDepositOffer(selected, { nowIso: args.nowIso }),
|
|
3833
|
+
bookedElsewhere: pageBookedElsewhere(all, occurrenceContext, args.nowIso)
|
|
3835
3834
|
};
|
|
3836
3835
|
}
|
|
3837
3836
|
//#endregion
|
|
@@ -3987,13 +3986,12 @@ function occurrencePlaces(event) {
|
|
|
3987
3986
|
//#region ../blocks/src/system/runtime/nodes/events/shared/eventCardListContent.ts
|
|
3988
3987
|
/** Live offering data only; editorial cards never acquire booking fields. */
|
|
3989
3988
|
function eventCardListContent(event, context, buttonText) {
|
|
3990
|
-
const
|
|
3989
|
+
const content = cardProjectionBase(event, buttonText, context);
|
|
3991
3990
|
switch (context.kind) {
|
|
3992
3991
|
case "event-details": return {
|
|
3993
3992
|
...content,
|
|
3994
3993
|
chips: offeringTypeChips(event),
|
|
3995
3994
|
leadDate: null,
|
|
3996
|
-
newTabHint: false,
|
|
3997
3995
|
...offeringSchedule(event)
|
|
3998
3996
|
};
|
|
3999
3997
|
case "catalogue":
|
|
@@ -4001,7 +3999,6 @@ function eventCardListContent(event, context, buttonText) {
|
|
|
4001
3999
|
...content,
|
|
4002
4000
|
chips: offeringTypeChips(event, context.typeLabel),
|
|
4003
4001
|
leadDate: offeringLeadDate(event, context.nextStartMs),
|
|
4004
|
-
newTabHint: external,
|
|
4005
4002
|
...offeringSchedule(event, context.now),
|
|
4006
4003
|
...event.bookingScope === "whole_series" ? offeringRunDates(event, context.now) : {}
|
|
4007
4004
|
};
|
|
@@ -4011,23 +4008,20 @@ function eventCardListContent(event, context, buttonText) {
|
|
|
4011
4008
|
function cardProjectionBase(event, buttonText, context) {
|
|
4012
4009
|
const offering = context.kind !== "event-details";
|
|
4013
4010
|
const { cta, availability: places, closed } = cardBooking(event, buttonText, context);
|
|
4014
|
-
const titleLink =
|
|
4011
|
+
const titleLink = resolveEventPageLink(event);
|
|
4015
4012
|
const { title, runName } = eventDisplayTitle(event);
|
|
4016
4013
|
return {
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
action: cardAction(cta),
|
|
4029
|
-
bookingClosed: closed ? cta.label : null
|
|
4030
|
-
}
|
|
4014
|
+
id: event.occurrenceId || event.id,
|
|
4015
|
+
title,
|
|
4016
|
+
subtitle: runName,
|
|
4017
|
+
...titleLink.href ? { titleLink } : {},
|
|
4018
|
+
quickFacts: event.facts,
|
|
4019
|
+
text: event.presentation?.summary ?? event.description,
|
|
4020
|
+
media: event.presentation?.image,
|
|
4021
|
+
facts: offeringFacts(event, places?.label, offering),
|
|
4022
|
+
availability: places,
|
|
4023
|
+
action: cardAction(cta),
|
|
4024
|
+
bookingClosed: closed ? cta.label : null
|
|
4031
4025
|
};
|
|
4032
4026
|
}
|
|
4033
4027
|
/** Offering cards carry the render clock; an event's own details show its projected booking state. */
|
|
@@ -4135,7 +4129,7 @@ function offeringFacts(event, places, offering) {
|
|
|
4135
4129
|
value: places,
|
|
4136
4130
|
kind: "availability"
|
|
4137
4131
|
}] : [],
|
|
4138
|
-
...
|
|
4132
|
+
...event.pricing.kind === "external" ? [] : [{
|
|
4139
4133
|
label: "Price",
|
|
4140
4134
|
value: course ? formatCoursePrice(event.pricing) : formatEventPriceDisplay(event.pricing)
|
|
4141
4135
|
}]
|
|
@@ -4195,7 +4189,11 @@ function regularSessionClock(sessions, event) {
|
|
|
4195
4189
|
/** Project selected live data; booking decisions stay with the existing event owners. */
|
|
4196
4190
|
function eventHeaderContent(selection, show) {
|
|
4197
4191
|
const event = selection.selected;
|
|
4198
|
-
const
|
|
4192
|
+
const card = eventCardListContent(event, { kind: "event-details" });
|
|
4193
|
+
const item = selection.kind === "ordinary" && selection.bookedElsewhere ? {
|
|
4194
|
+
...card,
|
|
4195
|
+
...bookedElsewhereAction(selection.bookedElsewhere)
|
|
4196
|
+
} : card;
|
|
4199
4197
|
const groupSize = show.capacity ? formatTotalCapacity(event.capacity) : null;
|
|
4200
4198
|
const { timeRange } = formatEventDateParts({
|
|
4201
4199
|
startsAt: event.startsAt,
|
|
@@ -4211,6 +4209,7 @@ function eventHeaderContent(selection, show) {
|
|
|
4211
4209
|
label: "Time",
|
|
4212
4210
|
value: timeRange
|
|
4213
4211
|
},
|
|
4212
|
+
...laterBookingFact(event, selection),
|
|
4214
4213
|
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, selection)) : [],
|
|
4215
4214
|
...groupSize === null ? [] : [{
|
|
4216
4215
|
label: "Group size",
|
|
@@ -4253,11 +4252,72 @@ function headerDateFact(selection) {
|
|
|
4253
4252
|
value: date
|
|
4254
4253
|
};
|
|
4255
4254
|
}
|
|
4255
|
+
/**
|
|
4256
|
+
* Dates booked elsewhere take the page's shared booking decision, the one the
|
|
4257
|
+
* registration panel shows. A later booking date is named by
|
|
4258
|
+
* `laterBookingFact`, not in the button.
|
|
4259
|
+
*/
|
|
4260
|
+
function bookedElsewhereAction(booking) {
|
|
4261
|
+
switch (booking.kind) {
|
|
4262
|
+
case "open": {
|
|
4263
|
+
const { destination } = booking;
|
|
4264
|
+
return {
|
|
4265
|
+
action: {
|
|
4266
|
+
label: destination.label,
|
|
4267
|
+
href: destination.url,
|
|
4268
|
+
external: true
|
|
4269
|
+
},
|
|
4270
|
+
bookingClosed: null
|
|
4271
|
+
};
|
|
4272
|
+
}
|
|
4273
|
+
case "closed": {
|
|
4274
|
+
const label = bookedElsewhereClosedLabel(booking.closure);
|
|
4275
|
+
return {
|
|
4276
|
+
action: { label },
|
|
4277
|
+
bookingClosed: label
|
|
4278
|
+
};
|
|
4279
|
+
}
|
|
4280
|
+
default: return assertNever$1(booking);
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
/**
|
|
4284
|
+
* When the shared decision books a later date than the one described (today's
|
|
4285
|
+
* is past its cut-off), say which, so the button isn't read as booking today.
|
|
4286
|
+
* The button keeps the owner's own label ("Find out more", "Book via studio").
|
|
4287
|
+
*/
|
|
4288
|
+
function laterBookingFact(described, selection) {
|
|
4289
|
+
const booking = selection.kind === "ordinary" ? selection.bookedElsewhere : null;
|
|
4290
|
+
if (booking?.kind !== "open" || booking.target.occurrenceId === described.occurrenceId) return [];
|
|
4291
|
+
return [{
|
|
4292
|
+
label: "Next date to book",
|
|
4293
|
+
value: shortDate(booking.target)
|
|
4294
|
+
}];
|
|
4295
|
+
}
|
|
4296
|
+
function shortDate(event) {
|
|
4297
|
+
return formatDate({
|
|
4298
|
+
kind: "instant",
|
|
4299
|
+
value: toUtcIsoDateTimeString(event.startsAt)
|
|
4300
|
+
}, eventDateOptions(event), {
|
|
4301
|
+
date: "short",
|
|
4302
|
+
weekday: "short",
|
|
4303
|
+
year: "omit"
|
|
4304
|
+
});
|
|
4305
|
+
}
|
|
4306
|
+
function bookedElsewhereClosedLabel(closure) {
|
|
4307
|
+
switch (closure.kind) {
|
|
4308
|
+
case "bookingClosed": return closure.detail.kind === "opensSoon" ? "Bookings open soon" : "Registration closed";
|
|
4309
|
+
case "date": return closure.closure.kind === "finished" ? "Completed" : "Registration closed";
|
|
4310
|
+
case "run": return closedRunCopy(closure.reason).titleText;
|
|
4311
|
+
case "datesCutOff":
|
|
4312
|
+
case "unavailable": return "Registration closed";
|
|
4313
|
+
default: return assertNever$1(closure);
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4256
4316
|
/** A closed run says why here, at the top of the page, so the panel below doesn't repeat it. */
|
|
4257
4317
|
function headerAction(selection, action) {
|
|
4258
|
-
if (action.external) return action;
|
|
4259
|
-
if (!selection.selected.requiresRegistration) return { label: "No registration required — just show up" };
|
|
4260
4318
|
if (selection.kind === "wholeSeries" && selection.bookingPhase.kind === "closed") return { label: closedRunCopy(selection.bookingPhase.reason).titleText };
|
|
4319
|
+
if (action.external) return action;
|
|
4320
|
+
if (isDropInPublicEvent(selection.selected)) return { label: "No registration required — just show up" };
|
|
4261
4321
|
if (!action.href) return action;
|
|
4262
4322
|
return {
|
|
4263
4323
|
...action,
|
|
@@ -4737,7 +4797,7 @@ function OtherEventDates({ selection }) {
|
|
|
4737
4797
|
className: "rb-mt-2 rb-tiles-grid",
|
|
4738
4798
|
children: dates.map((event) => /* @__PURE__ */ jsx("a", {
|
|
4739
4799
|
className: "rb-tile rb-tile--interactive",
|
|
4740
|
-
...
|
|
4800
|
+
...resolveEventPageLink(event),
|
|
4741
4801
|
children: /* @__PURE__ */ jsx(DateTimeTile, {
|
|
4742
4802
|
startsAt: event.startsAt,
|
|
4743
4803
|
endsAt: event.endsAt,
|
|
@@ -4772,7 +4832,7 @@ function EventVenueMap({ venue, drawing, showMap, mapHeight, mapClassName }) {
|
|
|
4772
4832
|
/** One pricing projection governs the selected panel, including drop-in and whole-series behavior. */
|
|
4773
4833
|
function selectedEventPricing(selection, showCost) {
|
|
4774
4834
|
const event = selection.selected;
|
|
4775
|
-
const isDropIn =
|
|
4835
|
+
const isDropIn = isDropInPublicEvent(event);
|
|
4776
4836
|
const wholeSeriesPricing = wholeSeriesPricingOf(event);
|
|
4777
4837
|
const showEventCost = showCost && !isDropIn && wholeSeriesPricing === null;
|
|
4778
4838
|
return {
|
|
@@ -4784,7 +4844,6 @@ function selectedEventPricing(selection, showCost) {
|
|
|
4784
4844
|
ticketTypes: showEventCost && isPaid(event) ? getDisplayablePricingOptions(event) : []
|
|
4785
4845
|
};
|
|
4786
4846
|
}
|
|
4787
|
-
const isDropInEvent = (event) => event.bookingScope === "single_occurrence" && event.requiresRegistration === false;
|
|
4788
4847
|
const wholeSeriesPricingOf = (event) => event.bookingScope === "whole_series" && event.pricing.kind !== "external" ? event.pricing : null;
|
|
4789
4848
|
const isPaid = (event) => publicEventPricingType(event.pricing) !== "free";
|
|
4790
4849
|
function SelectedEventDetailsView(props) {
|
|
@@ -5288,7 +5347,7 @@ function EventQuickDateCard(props) {
|
|
|
5288
5347
|
className: "event-quick-date-title",
|
|
5289
5348
|
children: /* @__PURE__ */ jsx("a", {
|
|
5290
5349
|
className: "event-title-link",
|
|
5291
|
-
...
|
|
5350
|
+
...resolveEventPageLink(event),
|
|
5292
5351
|
children: event.title
|
|
5293
5352
|
})
|
|
5294
5353
|
}),
|
|
@@ -6591,7 +6650,7 @@ function runDataFromMaybeArray(events) {
|
|
|
6591
6650
|
items: [...groupPublicEventsByRun(events)].map((run) => ({
|
|
6592
6651
|
kind: "run",
|
|
6593
6652
|
run,
|
|
6594
|
-
path: run.representative.destination
|
|
6653
|
+
path: eventDestinationPagePath(run.representative.destination)
|
|
6595
6654
|
}))
|
|
6596
6655
|
};
|
|
6597
6656
|
}
|
|
@@ -7771,6 +7830,18 @@ function createBackgroundOverlayNode(path, className = "background-overlay rb-ab
|
|
|
7771
7830
|
//#endregion
|
|
7772
7831
|
//#region ../blocks/src/system/node/fragments/styledSection.ts
|
|
7773
7832
|
/**
|
|
7833
|
+
* The geometry hook every styled section carries, whatever its Look or skin:
|
|
7834
|
+
* page-level spacing rules (section seams) target it, apart from the Look's
|
|
7835
|
+
* presentation slots, which come and go with the Look.
|
|
7836
|
+
*/
|
|
7837
|
+
const styledSectionHook = { "data-rb-section": "" };
|
|
7838
|
+
/**
|
|
7839
|
+
* Where a styled section keeps the ground it declares. A symbol, so it is
|
|
7840
|
+
* never read as a prop, and it survives the spread copies node modifiers
|
|
7841
|
+
* (`when`, `props`) make.
|
|
7842
|
+
*/
|
|
7843
|
+
const styledSectionGround = Symbol("styledSectionGround");
|
|
7844
|
+
/**
|
|
7774
7845
|
* Create a styled section with automatic background layer and spacing bindings.
|
|
7775
7846
|
*
|
|
7776
7847
|
* This helper encapsulates the common pattern of:
|
|
@@ -7814,30 +7885,51 @@ function createBackgroundOverlayNode(path, className = "background-overlay rb-ab
|
|
|
7814
7885
|
*/
|
|
7815
7886
|
function styledSection(config) {
|
|
7816
7887
|
const { children, baseClass = "rb-px-6", spacing = DEFAULT_SECTION_SPACING, background = "background", bindFrom = "_sectionStyles", imageClassName = "rb-absolute rb-z-0", renderBackgroundImage = true, backgroundImageLoading, backgroundImageFetchPriority, fullWidthPath } = config;
|
|
7888
|
+
const ground = sectionGround(background);
|
|
7817
7889
|
const renderedBackgroundNode = backgroundFrame(`${bindFrom}.background`, {
|
|
7818
7890
|
...config.backgroundLookSlots ? {
|
|
7819
7891
|
frameSlot: "background",
|
|
7820
7892
|
imageSlot: "photo"
|
|
7821
7893
|
} : {},
|
|
7822
7894
|
imageClassName,
|
|
7823
|
-
fallbackToken:
|
|
7895
|
+
fallbackToken: ground.fallback,
|
|
7824
7896
|
omitImageLayer: !renderBackgroundImage,
|
|
7825
7897
|
imageLoading: backgroundImageLoading,
|
|
7826
7898
|
imageFetchPriority: backgroundImageFetchPriority
|
|
7827
7899
|
});
|
|
7828
7900
|
const childrenArray = Array.isArray(children) ? children : [children];
|
|
7829
|
-
return
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7901
|
+
return {
|
|
7902
|
+
...section(sectionAppearanceProps({
|
|
7903
|
+
bindFrom,
|
|
7904
|
+
background: ground.fallback,
|
|
7905
|
+
baseClass,
|
|
7906
|
+
spacing,
|
|
7907
|
+
fullWidthPath,
|
|
7908
|
+
photoPaintsGround: renderBackgroundImage,
|
|
7909
|
+
skinSlot: config.skinSlot
|
|
7910
|
+
}), [renderedBackgroundNode, ...childrenArray]),
|
|
7911
|
+
[styledSectionGround]: ground
|
|
7912
|
+
};
|
|
7913
|
+
}
|
|
7914
|
+
function isStyledSectionNode(node) {
|
|
7915
|
+
return styledSectionGround in node;
|
|
7916
|
+
}
|
|
7917
|
+
/**
|
|
7918
|
+
* The ground a block layout's section declares, when its root is a styled
|
|
7919
|
+
* section: then the platform paints the section and owns its padding. Null
|
|
7920
|
+
* for a layout that draws its own root (the header, footer or blog post),
|
|
7921
|
+
* or whose alternative roots declare different grounds.
|
|
7922
|
+
*/
|
|
7923
|
+
function layoutSectionGround(layout) {
|
|
7924
|
+
if (!layout) return null;
|
|
7925
|
+
const [first, ...rest] = Array.isArray(layout) ? layout : [layout];
|
|
7926
|
+
if (!first || !isStyledSectionNode(first)) return null;
|
|
7927
|
+
const ground = first[styledSectionGround];
|
|
7928
|
+
return rest.every((root) => isStyledSectionNode(root) && root[styledSectionGround].fallback === ground.fallback) ? ground : null;
|
|
7838
7929
|
}
|
|
7839
7930
|
function sectionAppearanceProps(input) {
|
|
7840
7931
|
return {
|
|
7932
|
+
...styledSectionHook,
|
|
7841
7933
|
...input.skinSlot ? lookSlot(input.skinSlot, "skin") : lookSlot("section"),
|
|
7842
7934
|
"data-arrangement": { $bind: { from: "content._lookHooks.data-arrangement" } },
|
|
7843
7935
|
style: { $bind: {
|
|
@@ -9876,6 +9968,100 @@ function withEventSelectionVisibility(field) {
|
|
|
9876
9968
|
};
|
|
9877
9969
|
}
|
|
9878
9970
|
//#endregion
|
|
9971
|
+
//#region ../blocks/src/system/blocks/events/eventCalendarDataLoaders.ts
|
|
9972
|
+
/** The section's event scope comes from resolveEventScopeRead, the same owner readiness uses. */
|
|
9973
|
+
const eventScopeLoaderParams = Object.fromEntries(eventScopeQueryKeys.map((key) => [key, { $bind: {
|
|
9974
|
+
from: "content",
|
|
9975
|
+
transforms: [{
|
|
9976
|
+
id: "events.scopeParam",
|
|
9977
|
+
options: { key }
|
|
9978
|
+
}]
|
|
9979
|
+
} }]));
|
|
9980
|
+
const scopeParams = {
|
|
9981
|
+
siteId: { $bind: { from: "$root.siteId" } },
|
|
9982
|
+
stage: { $bind: {
|
|
9983
|
+
from: "$root.previewStage",
|
|
9984
|
+
fallback: "published"
|
|
9985
|
+
} },
|
|
9986
|
+
...Object.fromEntries(eventScopeQueryKeys.map((key) => [key, { $bind: {
|
|
9987
|
+
from: "content",
|
|
9988
|
+
transforms: [{
|
|
9989
|
+
id: "events.calendarReadParam",
|
|
9990
|
+
options: { key }
|
|
9991
|
+
}]
|
|
9992
|
+
} }]))
|
|
9993
|
+
};
|
|
9994
|
+
/** Each mode reads only what it paints first; see resolveEventCalendarReadPlan. */
|
|
9995
|
+
const eventCalendarDataLoaders = {
|
|
9996
|
+
schedule: {
|
|
9997
|
+
endpoint: "listPublicRecurringSchedule",
|
|
9998
|
+
when: { $bind: {
|
|
9999
|
+
from: "content",
|
|
10000
|
+
transforms: [{
|
|
10001
|
+
id: "events.calendarReadEnabled",
|
|
10002
|
+
options: { job: "schedule" }
|
|
10003
|
+
}]
|
|
10004
|
+
} },
|
|
10005
|
+
params: {
|
|
10006
|
+
...scopeParams,
|
|
10007
|
+
limit: "100",
|
|
10008
|
+
detailLevel: "listing",
|
|
10009
|
+
readProfile: "compact-list"
|
|
10010
|
+
},
|
|
10011
|
+
mode: "server"
|
|
10012
|
+
},
|
|
10013
|
+
events: {
|
|
10014
|
+
endpoint: "listPublicEvents",
|
|
10015
|
+
when: { $bind: {
|
|
10016
|
+
from: "content",
|
|
10017
|
+
transforms: [{
|
|
10018
|
+
id: "events.calendarReadEnabled",
|
|
10019
|
+
options: { job: "list" }
|
|
10020
|
+
}]
|
|
10021
|
+
} },
|
|
10022
|
+
params: {
|
|
10023
|
+
...scopeParams,
|
|
10024
|
+
limit: 100,
|
|
10025
|
+
detailLevel: "listing",
|
|
10026
|
+
readProfile: "listing-card",
|
|
10027
|
+
from: { $bind: {
|
|
10028
|
+
from: "$root",
|
|
10029
|
+
transforms: [{
|
|
10030
|
+
id: "events.calendarListWindow",
|
|
10031
|
+
options: { key: "from" }
|
|
10032
|
+
}]
|
|
10033
|
+
} },
|
|
10034
|
+
to: { $bind: {
|
|
10035
|
+
from: "$root",
|
|
10036
|
+
transforms: [{
|
|
10037
|
+
id: "events.calendarListWindow",
|
|
10038
|
+
options: { key: "to" }
|
|
10039
|
+
}]
|
|
10040
|
+
} }
|
|
10041
|
+
},
|
|
10042
|
+
mode: "server"
|
|
10043
|
+
},
|
|
10044
|
+
calendarWindow: {
|
|
10045
|
+
endpoint: "listPublicEventCalendarWindow",
|
|
10046
|
+
when: { $bind: {
|
|
10047
|
+
from: "content",
|
|
10048
|
+
transforms: [{
|
|
10049
|
+
id: "events.calendarReadEnabled",
|
|
10050
|
+
options: { job: "calendar" }
|
|
10051
|
+
}]
|
|
10052
|
+
} },
|
|
10053
|
+
params: {
|
|
10054
|
+
...scopeParams,
|
|
10055
|
+
limit: 100,
|
|
10056
|
+
readProfile: { $bind: {
|
|
10057
|
+
from: "content",
|
|
10058
|
+
transforms: [{ id: "events.calendarReadProfile" }]
|
|
10059
|
+
} }
|
|
10060
|
+
},
|
|
10061
|
+
mode: "server"
|
|
10062
|
+
}
|
|
10063
|
+
};
|
|
10064
|
+
//#endregion
|
|
9879
10065
|
//#region ../blocks/src/system/blocks/events/event-calendar.ts
|
|
9880
10066
|
function normalizeEventCalendarContent(content) {
|
|
9881
10067
|
const record = typeof content === "object" && content !== null ? content : {};
|
|
@@ -12505,7 +12691,7 @@ function renderCalendarSsr(display, hydration) {
|
|
|
12505
12691
|
}), /* @__PURE__ */ jsxs("div", {
|
|
12506
12692
|
className: "event-calendar-events",
|
|
12507
12693
|
children: [day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsxs("a", {
|
|
12508
|
-
...
|
|
12694
|
+
...resolveEventPageLink(event),
|
|
12509
12695
|
className: "event-calendar-event",
|
|
12510
12696
|
title: `${eventDisplayTitleText(event)} at ${formatTime(event.startsAt, eventDateOptions({
|
|
12511
12697
|
...event,
|
|
@@ -12611,7 +12797,7 @@ function renderTimetableSsr(display, hydration) {
|
|
|
12611
12797
|
className: "event-timetable-day-empty",
|
|
12612
12798
|
children: "No classes"
|
|
12613
12799
|
}) : day.events.map((cell) => /* @__PURE__ */ jsxs("a", {
|
|
12614
|
-
...
|
|
12800
|
+
...resolveEventPageLink(cell.event),
|
|
12615
12801
|
className: "event-timetable-event",
|
|
12616
12802
|
title: `${eventDisplayTitleText(cell.event)}, ${cell.timeLabel}`,
|
|
12617
12803
|
style: {
|
|
@@ -13237,4 +13423,4 @@ const serverComponentRegistry = {
|
|
|
13237
13423
|
...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
|
|
13238
13424
|
};
|
|
13239
13425
|
//#endregion
|
|
13240
|
-
export {
|
|
13426
|
+
export { backgroundFrame as $, publicMapLocationResultSchema as $n, link as $t, eventRegistrationBlockDefinition as A, lookCarouselRegionTransform as An, splitPositioningClasses as At, defineFragment as B, ICON_SIZE_PX as Bn, parseBlockIconValue as Bt, teamReadiness as C, formatAppointmentPrice as Cn, lookPartShown as Ct, loadedReadinessFact as D, BACKGROUND_POSITION_PRESET_VALUES as Dn, HeaderSectionFrame as Dt, hiddenFromVisitors as E, teamMemberCardBiographyFallback as En, buildAppointmentServicesView as Et, augmentManifest as F, ACCORDION_OPEN_ACCENT_THICKNESS as Fn, accordionIconColorStyle as Ft, parseFieldDefinitions as G, isAcceptedRepeaterGridSpan as Gn, button as Gt, createSiteOptionSelectField as H, pageGround as Hn, accordionList as Ht, formEmbedFragment as I, ACCORDION_SPACING_MAP as In, resolveAccordionIconStyle as It, sectionHeaderLayoutNodes as J, resolveRepeaterGridRowFieldId as Jn, fileDownload as Jt, withApiBindings as K, parseRepeaterGridInteger as Kn, carousel as Kt, formCopyFragment as L, ACCORDION_TRIGGER_FONT_SCALE as Ln, PUBLIC_DOWNLOAD_MEDIA_TYPES as Lt, checkoutBlockDefinition as M, lookQuoteLimitTransform as Mn, mobileOnlyDisplay as Mt, cartBlockDefinition as N, lookSkinSlotTransform as Nn, accordionItemPartSlots as Nt, pageTemplateFromEntry as O, getAnchorClasses as On, composeHeaderSectionWrapperClassName as Ot, createBlockManifest as P, lookSlot as Pn, accordionLookAttributes as Pt, styledSection as Q, publicMapLocationParamsSchema as Qn, inline as Qt, buildFragmentDataLoaders as R, ACCORDION_TRIGGER_LETTER_SPACING as Rn, FEATURE_CARD_GENERATED_ICON_SIZE_PX as Rt, galleryReadiness as S, formatAppointmentLocation as Sn, EventDetailsView as St, admitReadinessFacts as T, publicAppointmentPricingSchema as Tn, resolveEventDetailsPresentation as Tt, normalizeSelectSource as U, bindingSchema as Un, bind as Ut, createSdkSelectField as V, groundPaint as Vn, SectionNode as Vt, parseFieldDefinition as W, DEFAULT_MEDIA_FIELD_KINDS as Wn, bookingForm as Wt, sectionContainer as X, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Xn, headerSection as Xt, styledContainer as Y, resolveRepeaterGridSpanFieldId as Yn, form as Yt, layoutSectionGround as Z, linkSchema as Zn, icon as Zt, cardListSectionActionFields as _, eventDiscoveryFilterKeys as _n, describeUnresolvedLocationMapLocation as _t, cardListSectionAction as a, stack as an, emptyStateField as at, formDataSchema as b, resolveEventScope as bn, parseLocationMapLoaderResult as bt, newsletterSignupBlockDefinition as c, when as cn, cardStylesField as ct, eventListingBlockDefinition as d, eventReadinessQuery as dn, createButtonGroup as dt, media as en, isCanonicalRichTextDoc as er, WeeklySlotAvailabilityView as et, mapDrawingStyleBinding as f, eventReadinessQueryKeys as fn, createButtonVariantField as ft, cardListPresentationBindings as g, resolveEventScopeRead as gn, LOCATION_MAP_LOADER_KEYS as gt, cardListPhotoNumberFields as h, resolveEventCalendarRead as hn, LOCATION_MAP_LIMITS as ht, shopBlockDefinition as i, section as in, columnsField as it, giftingBlockDefinition as j, lookLeadSlotTransform as jn, desktopOnlyDisplay as jt, unavailableReadinessFact as k, resolveBackgroundColorValue as kn, markEditableSurfaceForwarding as kt, sanitizeNewsletterSignupPublicContent as l, blockChecksForEvents as ln, containerStylesField as lt, cardListKnobFields as m, recurringScheduleRead as mn, LOCATION_MAP_DEFAULTS as mt, runtimeBackedBlockModes as n, repeat as nn, offeringCourseSlotParents as nt, productListBlockDefinition as o, text as on, eventDisplayFields as ot, eventCalendarBlockDefinition as p, eventReadinessResultSchema as pn, LocationMapSSR as pt, sectionHeaderFields as q, resolveRepeaterGridColumnFieldId as qn, el as qt, runtimeBackedBlockServerEntries as r, richText as rn, cardStylingFields as rt, productDetailBlockDefinition as s, videoEmbed as sn, layoutField as st, serverComponentRegistry as t, props as tn, buildLoadedOfferingsPreviewListing as tt, normalizeMailingListBlockContent as u, eventReadinessLoaderKey as un, sectionStylesField as ut, normalizeCardListContent as v, eventScopeLoaderParam as vn, normalizeLocationMapProps as vt, testimonialsReadiness as w, publicAppointmentLocationSchema as wn, eventHeaderSlotParents as wt, chosenString as x, formatAppointmentDuration as xn, resolveLocationMapLocation as xt, formBlockDefinition as y, eventScopeQueryKeys as yn, normalizeLocationMapSource as yt, composeFragments as z, ICON_CONFIG as zn, FEATURE_CARD_ICON_TREATMENTS as zt };
|