@riverbankcms/sdk 0.172.0 → 0.173.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-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
- package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -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 +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/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 +6 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- 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 +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 +5 -5
- 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/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
- package/dist/client/bookability-SargNwlO.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
- package/dist/client/client.mjs +52 -4
- package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +24 -55
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
- package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
- package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.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-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
- package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
- 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 +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
- package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
- package/dist/styles/index.css +174 -0
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Dt as parseThemeColorToken, G as hexToRgb, a as formatButtonColourContractError, at as surfaceForegroundValue, c as DEFAULT_BUTTON_SIZES, ct as surfaceInkStyle, d as generateShadowValue$1, dt as cssVarValue, et as SURFACE_INK_CSS_VARS, f as DEFAULT_VARIANT_ALIAS_ID, ft as mergeStyles, g as createStandardButtonSurfacePolicy, gt as textColorValue, h as buttonSizeNameSchema, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, j as expandPalette, lt as backgroundColorStyle, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, pt as rgbColorValue, r as resolveSolidButtonColour, rt as surfaceForegroundInputFromResolved, s as BORDER_WIDTH_MAP, st as surfaceInkDeclarations, u as FONT_SIZE_MAP, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
|
|
2
|
-
import { A as offeringDatesBySeries, B as CalendarIcon, D as EventListingFrameView, E as MonthLookView, F as EmptyState, G as
|
|
3
|
-
import { $ as RichText, $a as
|
|
2
|
+
import { $ as resolveEventCta, A as offeringDatesBySeries, B as CalendarIcon, D as EventListingFrameView, E as MonthLookView, F as EmptyState, G as formatCourseSessions, H as eventDisplayTitle, I as CardListCollection, J as formatEventQuickDate, K as buildMonthDay, L as CardListItems, M as derivePreviewRunSchedule, N as createEditorPresentationPageReader, O as OfferingCourseCards, P as createPresentationPageReader, Q as resolveEventCardBooking, R as EventItem, S as lookPartShown, T as EVENT_REGISTRATION_ANCHOR_ID, U as eventDisplayTitleText, V as MapPinIcon, W as formatCourseDatesAfter, X as formatEventTeacherLine, Y as selectQuickDateEvents, Z as formatEventDuration, _ as publicAppointmentPricingSchema, a as joinSlotKey, b as resolvePageRouteTarget, c as buildLinkedContentEditTarget, et as resolveEventLinkProps, f as defaultTransforms, g as publicAppointmentLocationSchema, h as formatAppointmentPrice, i as composePageJoins, j as deriveEventScheduleSummary, k as eventCardListContent, m as formatAppointmentLocation, n as createPageRenderPlanReader, nt as parseStoredVariant, o as renderedJoinLayout, ot as buildThemeTokens, p as formatAppointmentDuration, q as resolveMonthSelectedDay, s as retargetJoinsAcrossOmissions, st as defaultThemeTokens, tt as isBookableEvent, u as resolveLinkedEntryInlineFieldEligibility, w as EventHeader, x as resolveRouteTarget, y as resolveEntryRouteTarget, z as eventCategoryBadge } from "./pageRenderPlan-CytPhrI9.mjs";
|
|
3
|
+
import { $ as RichText, $a as buildTextContrastShadow, $i as isToday, $n as listLookControl, $t as formatEventNextDateFact, A as publicRouteCandidatesSchema, An as parseTeamMemberSpecialties, Ar as formEmbedFragment, At as resolveOfferingsPreviewGroups, B as buildEventCollectionHydration, Bo as testimonialsCompositionTreatmentValues, Br as boxStyleClassNames, Bs as resolveBookingBusinessTimeZone, Bt as eventWeekGroupingContext, C as buildProductListInteractiveIslandProps, Ci as isInlineTextEmpty, Cn as shouldReserveFeatureCardIconZone, Cr as richTextFragment, Ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, D as membershipClassesLabel, Dn as markEditableSurfaceForwarding, Dr as faqHeadingFragment, Dt as offeringRunLifecycle, E as membershipCardListContent, En as composeHeaderSectionWrapperClassName, Er as faqAccordionFragment, Et as normalizeOfferingsPreviewItemLimit, F as buildEventCalendarListingDisplay, Fo as featureCardCompositionTreatmentValues, Fr as heroCtaRowFragment, Ft as ThemedDownloadLink, G as catalogueEventCardProps, Gi as getLocalMinuteOfDay, Gn as buildFormInteractiveIslandProps, Go as bindingSchema, Gs as isPublicEventPricingOptionDisplayable, Gt as eventDateOptions, H as eventCollectionDisplaySchemaShape, Hr as resolveCardRoleForBoxStyles, Hs as toUtcIsoDateTimeString, Io as introCompositionTreatmentValues, Ir as ctaRowFragment, Is as getBookingLocalDateKey, It as getIconComponent, Ji as getDayOfWeek, Jn as defineInteractiveIslandMetaKeys, Jr as resolveBackgroundColorValue, Js as publicEventPricingType, Jt as formatDate, K as listingEventCardProps, Ki as addDays, Kn as buildInteractiveIslandProps, Ks as publicEventPricingCurrency, L as eventListingBlockDefinition, Lo as offeringsPreviewCompositionTreatmentValues, Lr as isBlockButtonRole, Lt as SpinnerNode, M as offeringsCatalogueShape, Ma as arrangementManifestFromVariants, Mn as teamMemberCardBiography, Mr as testimonialsCarouselFragment, Mt as ThemedAuthoredButton, N as eventCalendarBlockDefinition, Nn as readRuntimeNow, Nr as testimonialsHeadingFragment, Ns as formatBookingCompactEnglishTime, Nt as ThemedButton, O as passCardListContent, Oi as parseFieldDefinitions, On as splitPositioningClasses, Or as blogFeaturedPostFragment, Os as mapDrawingSchema, Ot as offeringsListingFor, P as buildEventCalendarInteractiveIslandProps, Pa as resolveEffectiveArrangement, Pi as eventReadinessResultSchema, Pn as resolveDateRuntimeContext, Pr as ctaCopyFragment, Ps as toScheduledBookingDateTime, Pt as ThemedButtonLink, Q as MediaNodeServer, Qa as generateFooterCss, Qi as isSameCalendarDay, Qn as listItemPresentation, Qr as defineFragment, Qt as formatEventHourLabel, R as buildEventListingInteractiveIslandProps, Rr as heroCopyFragment, Rt as buildEventListWeek, S as buildProductDetailInteractiveIslandProps, Si as inlineTextToPlainText, Sn as resolveFeatureCardGeneratedIconSizePx, Ss as decideLocationSourcePermission, T as shopProductPresentation, Tr as cardFragment, Tt as groupOfferingRunsByCourse, U as eventCollectionHydrationSchema, Ut as buildCalendarViewport, V as buildEventCollectionListingDisplay, Vr as normalizeBoxStylesBorder, Vs as toBookingTimeZone, W as eventCollectionSourceSchemaShape, Wa as requireCuratedSiteStyle, Wi as getLocalDateKey, Wn as formBlockDefinition, Ws as formatBookingPriceDisplay, Xa as resolveCardRole, Xi as getWeekCalendarDayTuple, Xn as defineClientOwnedBlockRuntime, Xt as formatEventCompactDateRail, Y as cardListPresentationSchemaShape, Yi as getOrderedDayNames, Yn as createZodCodec, Yr as ctaButton, Yt as formatEventClockLabel, Za as generateDefaultCardSystem, Zi as getWeekCalendarDays, Zn as defineProgressiveBlockRuntime, Zr as bodyCopyFragment, Zs as formatCurrencyAmount, Zt as formatEventDateParts, _ as productDetailBlockDefinition, _i as FileAudioIcon, _r as formatEventPriceAmount, _s as parseMailingListRuntimeContext, _t as previewStageSchema, a as normalizeLocationMapProps, aa as beforeBookingQuestionsPresentationSchema, ai as runTransforms, an as resolveEventTimeZone, ar as Grid, as as hiddenFromVisitors, b as buildCartInteractiveIslandProps, ba as effectiveHeaderNavLinkStyle, bi as MinusIcon, bn as groupPublicEventsByRun, bo as anglePolygonCss, bs as sameMailingListPlacementTargeting, c as newsletterSignupBlockDefinition, ci as buildGeneratedBlockIconRenderAssetLookupFromUnknown, cn as bookingPresentation, cs as unavailableReadinessFact, ct as getCurrentResolveImageUrlContext, d as buildNewsletterFormInteractiveIslandProps, da as isObjectRecord, di as ArrowDownIcon, dn as pageNavigationSchema, ds as CANCELLED_SESSION_STATUS, dt as getCardOrientation, eo as generateNavLinkCSS, er as listLookSlot, et as ImagePresets, f as newsletterBlockSubmissionMessage, fa as isRecord$4, fi as ChevronDownIcon, fn as closedRunCopy, fs as firstLiveRunSessionStartMs, ft as getContainerClass, g as cartBlockDefinition, gi as FileArchiveIcon, gn as formatTotalCapacity, gr as formatEventPrice, gs as buildMailingListSignupBlockSourceRef, gt as bookingNowSchema, h as checkoutBlockDefinition, ha as AFFORDANCE_SUPPRESS_CLASS, hi as ClockIcon, hn as formatEventRemainingPlaces, hr as formatCoursePrice, hs as resolveWholeSeriesBookingPhase, ht as resolveEventRegistrationEventSource, ia as bookingConsentCarrierSchema, in as groupEventsByDate, is as admitReadinessFacts, j as buildOfferingsCatalogueListing, ji as eventReadinessLoaderKey, jn as teamMemberBiography, jr as formCopyFragment, jt as resolveOfferingsRenderInput, k as offeringsPreviewBlockDefinition, ki as PUBLIC_DOWNLOAD_MEDIA_TYPES, kr as singleButtonFragment, ks as formatDate$1, kt as resolveOfferingsPreviewGroupCta, li as parseBlockIconValue, ln as browserReadAuthoritySchema, lt as setContextResolveImageUrlContext, m as buildGiftingInteractiveIslandProps, ma as themeButtonSelector, mi as CirclePlusIcon, ms as orderedLiveRunSessions, mt as buildEventRegistrationInteractiveIslandProps, na as blockBookingPaymentTermsSchema, no as generateInteractiveChildInheritanceCSS, nr as resolvedItemSurfaceProps, o as normalizeLocationMapSource, oa as sanitizeHref, oi as el, on as resolveRuntimeEventDestination, oo as headerNeedsPhotoShade, or as clsx, os as loadedReadinessFact, ot as resolvePublicMediaUrl, p as giftingBlockDefinition, pa as parseThemeButtonVariantId, pi as CircleMinusIcon, pn as bookingPageKindSchema, po as boundaryRuntimeMetricsForDecorativeTransition, pt as eventRegistrationBlockDefinition, q as CardListContentPart, qi as formatDateKey, qn as createInteractiveIslandCodec, qs as publicEventPricingDisplay, qt as formatCalendarTitle, r as normalizeBlockContent, ra as blockBookingConsentSchema, rc as TokenResolver, rn as formatTime, rr as itemRole, rs as chosenString, s as resolveLocationMapLocation, si as when, so as headerRootPaint, ss as pageTemplateFromEntry, st as buildResolveImageUrlContext, t as getBlockDefinition, ta as publicEventsArraySchema, tn as formatEventTimeRange, to as generateEffectsCSS, tr as lookListPresentationSchemaShape, tt as MediaPlaceholder, u as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, ui as resolveBlockIconRenderValue, un as blockSiteTermsSchema, ut as EventQuickFacts, v as productListBlockDefinition, va as selectItemSurfacePresentation, vi as FileSpreadsheetIcon, vn as getEventAvailabilityStatus, vt as normalizeEventRegistrationPageSurfaceSubject, w as buildShopInteractiveIslandProps, wa as arrangementLookHooks, wi as parseInlineTextFromUnknown, wr as headingFragment, ws as normalizeLocationAddressText, wt as buildOfferingsPreviewListing, x as buildCheckoutInteractiveIslandProps, xa as readOpeningToneProjection, xi as PlusIcon, xn as FEATURE_CARD_ICON_TREATMENTS, xo as transitionCatalogueEntries, y as shopBlockDefinition, yi as FileTextIcon, yn as isEventFull, ys as parseMailingListPlacementTargeting, yt as resolveEventRegistrationScopedEvents, z as buildEventCollectionDisplay, zn as staticHeaderChromeRuntime, zs as parseLocalScheduleTime, zt as eventListWeekDays } from "./registry-BMCfcev6.mjs";
|
|
4
4
|
import { B as certifyPaint, C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, H as inkReference, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, V as contrastThresholdByPolicy, W as resolveConcreteColorHex, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius, z as HOVER_TEXT_THRESHOLD } from "./accessibleSurfaces-Dbd2__Le.mjs";
|
|
5
|
-
import { h as surfaceCardRoleValues, s as boxBackgroundSchema, x as siteChromeBackgroundOverrideOwner } from "./schema-
|
|
6
|
-
import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-
|
|
5
|
+
import { h as surfaceCardRoleValues, s as boxBackgroundSchema, x as siteChromeBackgroundOverrideOwner } from "./schema-D5Vfmqzw.mjs";
|
|
6
|
+
import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
7
7
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
8
|
-
import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-
|
|
8
|
+
import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-DWspU5EZ.mjs";
|
|
9
9
|
import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
|
|
10
10
|
import { n as opaqueSurfaceDeclarations, t as opaqueSurfaceContextFromTheme } from "./opaqueSurface-COEKXVwk.mjs";
|
|
11
11
|
import { A as cardDecorationPseudoRules, C as generateOpaquePanelCss, D as generateShadowCssVars, E as resolvedButtonFocusDeclarations, O as renderCssDeclarations, S as generateCheckableCss, T as resolvedButtonColourDeclarations, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, k as cardBorderDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as RESOLVED_BUTTON_DISABLED_DECLARATIONS, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-D1NTXZdX.mjs";
|
|
12
|
-
import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-
|
|
13
|
-
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-
|
|
12
|
+
import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-Dge4sqel.mjs";
|
|
13
|
+
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-CtgRtvo3.mjs";
|
|
14
14
|
import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
15
15
|
import { t as getAtPath } from "./src-Cxucn-1P.mjs";
|
|
16
16
|
import * as React$1 from "react";
|
|
@@ -4240,10 +4240,18 @@ function selectEventDetailsCandidate(events, requested, nowIso) {
|
|
|
4240
4240
|
* booking.
|
|
4241
4241
|
*/
|
|
4242
4242
|
function planWholeSeriesParentBooking(eligibleRuns) {
|
|
4243
|
-
const [first, ...rest] = eligibleRuns;
|
|
4244
|
-
|
|
4243
|
+
const [first, second, ...rest] = eligibleRuns;
|
|
4244
|
+
if (!second) return {
|
|
4245
4245
|
kind: "single",
|
|
4246
4246
|
run: first
|
|
4247
|
+
};
|
|
4248
|
+
return eligibleRuns.every((group) => group.representative.allowsMultipleBooking) ? {
|
|
4249
|
+
kind: "bookTogether",
|
|
4250
|
+
runs: [
|
|
4251
|
+
first,
|
|
4252
|
+
second,
|
|
4253
|
+
...rest
|
|
4254
|
+
]
|
|
4247
4255
|
} : {
|
|
4248
4256
|
kind: "choice",
|
|
4249
4257
|
runs: eligibleRuns
|
|
@@ -4253,6 +4261,45 @@ function isOrdinaryPublicEvent(event) {
|
|
|
4253
4261
|
return event.bookingScope === "single_occurrence";
|
|
4254
4262
|
}
|
|
4255
4263
|
/**
|
|
4264
|
+
* What a series' own page shows when its URL names no date.
|
|
4265
|
+
*
|
|
4266
|
+
* Two or more dates a visitor can book make a choice: the page lists every
|
|
4267
|
+
* date whose booking is open and lets the visitor pick, so a full date still
|
|
4268
|
+
* shows as full rather than vanishing. One bookable date isn't a choice, so the
|
|
4269
|
+
* page books that date. With none, the first date speaks for the page and shows
|
|
4270
|
+
* its own full or closed state.
|
|
4271
|
+
*
|
|
4272
|
+
* The caller passes every date it read for the series, not the cards a listing
|
|
4273
|
+
* happened to show, so the one-date shortcut is decided on the complete set.
|
|
4274
|
+
* "Has places" isn't enough on its own: only a date whose booking is open
|
|
4275
|
+
* counts, and a drop-in date never does.
|
|
4276
|
+
*/
|
|
4277
|
+
function planOrdinarySeriesSelection(events) {
|
|
4278
|
+
const ordinary = events.filter(isOrdinaryPublicEvent);
|
|
4279
|
+
const firstSeriesId = ordinary[0]?.seriesId;
|
|
4280
|
+
if (!firstSeriesId || ordinary.some((event) => event.seriesId !== firstSeriesId)) return null;
|
|
4281
|
+
const [first, second] = ordinary.filter(isBookableEvent);
|
|
4282
|
+
if (first && second) {
|
|
4283
|
+
const [a, b, ...rest] = [...ordinary].filter(isOpenForBooking).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
|
|
4284
|
+
if (a && b) return {
|
|
4285
|
+
kind: "dateChoice",
|
|
4286
|
+
dates: [
|
|
4287
|
+
a,
|
|
4288
|
+
b,
|
|
4289
|
+
...rest
|
|
4290
|
+
]
|
|
4291
|
+
};
|
|
4292
|
+
}
|
|
4293
|
+
const event = first ?? ordinary[0];
|
|
4294
|
+
return event ? {
|
|
4295
|
+
kind: "occurrence",
|
|
4296
|
+
event
|
|
4297
|
+
} : null;
|
|
4298
|
+
}
|
|
4299
|
+
function isOpenForBooking(event) {
|
|
4300
|
+
return event.requiresRegistration && event.bookingAvailability.kind === "open";
|
|
4301
|
+
}
|
|
4302
|
+
/**
|
|
4256
4303
|
* Whether a parent Event page advertises this run.
|
|
4257
4304
|
*
|
|
4258
4305
|
* Visibility admission belongs to the scoped public read. Active, still-open
|
|
@@ -4365,6 +4412,7 @@ function planWholeSeriesRunSelection(input) {
|
|
|
4365
4412
|
function selectionRepresentativeEvent(selection) {
|
|
4366
4413
|
switch (selection.kind) {
|
|
4367
4414
|
case "occurrence": return selection.event;
|
|
4415
|
+
case "dateChoice": return selection.dates[0];
|
|
4368
4416
|
case "wholeSeriesParent": return selection.eligibleRuns[0].representative;
|
|
4369
4417
|
case "wholeSeriesParentUnavailable": return selection.informationalRun.representative;
|
|
4370
4418
|
case "wholeSeriesRun": return selection.run.representative;
|
|
@@ -4380,6 +4428,7 @@ function resolveSelectionBookingClosedDetail(selection) {
|
|
|
4380
4428
|
switch (selection.kind) {
|
|
4381
4429
|
case "occurrence": return selection.event.bookingClosedDetail ?? null;
|
|
4382
4430
|
case "wholeSeriesRun": return selection.run.representative.bookingClosedDetail ?? null;
|
|
4431
|
+
case "dateChoice":
|
|
4383
4432
|
case "wholeSeriesParent": return null;
|
|
4384
4433
|
case "wholeSeriesParentUnavailable": return selection.bookingClosedDetail;
|
|
4385
4434
|
}
|
|
@@ -4862,7 +4911,7 @@ function cropHeightStyle(height, heightAs) {
|
|
|
4862
4911
|
* This component is server-safe (uses no client APIs like Intl).
|
|
4863
4912
|
*/
|
|
4864
4913
|
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, now }) => {
|
|
4865
|
-
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
4914
|
+
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, runName, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
4866
4915
|
event,
|
|
4867
4916
|
presentation,
|
|
4868
4917
|
headingLevel,
|
|
@@ -4914,7 +4963,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
4914
4963
|
showVenue,
|
|
4915
4964
|
summary,
|
|
4916
4965
|
teacherLine,
|
|
4917
|
-
title
|
|
4966
|
+
title,
|
|
4967
|
+
runName
|
|
4918
4968
|
})]
|
|
4919
4969
|
});
|
|
4920
4970
|
};
|
|
@@ -4967,6 +5017,8 @@ function EventCardMedia(props) {
|
|
|
4967
5017
|
}
|
|
4968
5018
|
function EventCardContent(props) {
|
|
4969
5019
|
const { event } = props;
|
|
5020
|
+
const courseSessions = formatCourseSessions(event);
|
|
5021
|
+
const moreDates = formatCourseDatesAfter(event);
|
|
4970
5022
|
const Heading = props.headingLevel === 4 ? "h4" : "h3";
|
|
4971
5023
|
return /* @__PURE__ */ jsxs("div", {
|
|
4972
5024
|
...listLookSlot(props, "item-body"),
|
|
@@ -4987,6 +5039,10 @@ function EventCardContent(props) {
|
|
|
4987
5039
|
children: props.title
|
|
4988
5040
|
})
|
|
4989
5041
|
}),
|
|
5042
|
+
props.runName ? /* @__PURE__ */ jsx("p", {
|
|
5043
|
+
className: "event-card-run-name rb-caption rb-mb-3",
|
|
5044
|
+
children: props.runName
|
|
5045
|
+
}) : null,
|
|
4990
5046
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
4991
5047
|
facts: event.facts,
|
|
4992
5048
|
context: "card"
|
|
@@ -4996,10 +5052,21 @@ function EventCardContent(props) {
|
|
|
4996
5052
|
className: "rb-mb-2 rb-caption",
|
|
4997
5053
|
children: /* @__PURE__ */ jsxs("div", {
|
|
4998
5054
|
className: "rb-flex rb-items-center rb-gap-2",
|
|
4999
|
-
children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5055
|
+
children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
|
|
5056
|
+
/* @__PURE__ */ jsx("time", { children: props.formattedDate }),
|
|
5057
|
+
moreDates ? /* @__PURE__ */ jsxs("span", {
|
|
5058
|
+
className: "event-card-more-dates",
|
|
5059
|
+
children: [" ", moreDates]
|
|
5060
|
+
}) : null,
|
|
5061
|
+
/* @__PURE__ */ jsx("p", {
|
|
5062
|
+
className: "rb-pl-6",
|
|
5063
|
+
children: props.formattedTime
|
|
5064
|
+
}),
|
|
5065
|
+
courseSessions ? /* @__PURE__ */ jsx("p", {
|
|
5066
|
+
className: "event-card-course-sessions rb-pl-6",
|
|
5067
|
+
children: courseSessions
|
|
5068
|
+
}) : null
|
|
5069
|
+
] })]
|
|
5003
5070
|
})
|
|
5004
5071
|
}),
|
|
5005
5072
|
/* @__PURE__ */ jsx(EventCardVenue, {
|
|
@@ -5133,7 +5200,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
5133
5200
|
const booking = eventCardBooking(event, presentation, buttonText, now);
|
|
5134
5201
|
const { cta } = booking;
|
|
5135
5202
|
const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
|
|
5136
|
-
const title = event
|
|
5203
|
+
const { title, runName } = eventDisplayTitle(event);
|
|
5137
5204
|
const summary = event.presentation?.summary ?? event.description;
|
|
5138
5205
|
const image = event.presentation?.image ?? null;
|
|
5139
5206
|
const category = event.eventCategory;
|
|
@@ -5145,6 +5212,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
5145
5212
|
cta,
|
|
5146
5213
|
cardClass,
|
|
5147
5214
|
title,
|
|
5215
|
+
runName,
|
|
5148
5216
|
summary,
|
|
5149
5217
|
image,
|
|
5150
5218
|
category,
|
|
@@ -5218,9 +5286,13 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
|
|
|
5218
5286
|
children: /* @__PURE__ */ jsx("a", {
|
|
5219
5287
|
className: "event-title-link",
|
|
5220
5288
|
...resolveEventLinkProps(event),
|
|
5221
|
-
children: event.title
|
|
5289
|
+
children: eventDisplayTitle(event).title
|
|
5222
5290
|
})
|
|
5223
5291
|
}),
|
|
5292
|
+
eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
|
|
5293
|
+
className: "event-compact-row-run-name rb-caption",
|
|
5294
|
+
children: eventDisplayTitle(event).runName
|
|
5295
|
+
}) : null,
|
|
5224
5296
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
5225
5297
|
facts: event.facts,
|
|
5226
5298
|
context: "card"
|
|
@@ -5413,15 +5485,18 @@ function CalendarDayHeaders({ dayNames }) {
|
|
|
5413
5485
|
* exists so a sold-out or closed offering stays reachable (issue 1372); the
|
|
5414
5486
|
* `.event-title-link` rule lives in theme-core's event-list.css.
|
|
5415
5487
|
*/
|
|
5416
|
-
function OfferingTitle({ className, path, title }) {
|
|
5417
|
-
return /* @__PURE__ */ jsx("h3", {
|
|
5488
|
+
function OfferingTitle({ className, path, title, runName }) {
|
|
5489
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("h3", {
|
|
5418
5490
|
className,
|
|
5419
5491
|
children: path ? /* @__PURE__ */ jsx("a", {
|
|
5420
5492
|
className: "event-title-link",
|
|
5421
5493
|
href: path,
|
|
5422
5494
|
children: title
|
|
5423
5495
|
}) : title
|
|
5424
|
-
})
|
|
5496
|
+
}), runName ? /* @__PURE__ */ jsx("p", {
|
|
5497
|
+
className: "offering-run-name rb-caption",
|
|
5498
|
+
children: runName
|
|
5499
|
+
}) : null] });
|
|
5425
5500
|
}
|
|
5426
5501
|
//#endregion
|
|
5427
5502
|
//#region ../blocks/src/system/data/readinessFacts.ts
|
|
@@ -9479,7 +9554,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
9479
9554
|
});
|
|
9480
9555
|
const dateRail = formatEventCompactDateRail(firstSession.startsAt, options);
|
|
9481
9556
|
const timeRange = formatRunScheduleTime(schedule, options);
|
|
9482
|
-
const price =
|
|
9557
|
+
const price = formatCoursePrice(group.representative.pricing);
|
|
9483
9558
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
9484
9559
|
return /* @__PURE__ */ jsxs("article", {
|
|
9485
9560
|
className: "event-compact-row offerings-preview-whole-series-row",
|
|
@@ -9509,7 +9584,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
9509
9584
|
/* @__PURE__ */ jsx(OfferingTitle, {
|
|
9510
9585
|
className: "event-compact-row-title",
|
|
9511
9586
|
path,
|
|
9512
|
-
|
|
9587
|
+
...eventDisplayTitle(group.representative)
|
|
9513
9588
|
}),
|
|
9514
9589
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
9515
9590
|
facts: group.representative.facts,
|
|
@@ -9526,13 +9601,9 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
9526
9601
|
className: "event-compact-row-price",
|
|
9527
9602
|
children: price
|
|
9528
9603
|
}),
|
|
9529
|
-
/* @__PURE__ */
|
|
9604
|
+
/* @__PURE__ */ jsx("span", {
|
|
9530
9605
|
className: "event-compact-row-price",
|
|
9531
|
-
children:
|
|
9532
|
-
sessionsCount,
|
|
9533
|
-
" session",
|
|
9534
|
-
sessionsCount === 1 ? "" : "s"
|
|
9535
|
-
]
|
|
9606
|
+
children: formatCourseSessions(group.representative) ?? `${sessionsCount} session${sessionsCount === 1 ? "" : "s"}`
|
|
9536
9607
|
})
|
|
9537
9608
|
]
|
|
9538
9609
|
})
|
|
@@ -9572,7 +9643,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
|
|
|
9572
9643
|
});
|
|
9573
9644
|
const formattedDate = formatEventCompactDateRail(firstSession.startsAt, options).label;
|
|
9574
9645
|
const timeRange = formatRunScheduleTime(schedule, options);
|
|
9575
|
-
const price =
|
|
9646
|
+
const price = formatCoursePrice(group.representative.pricing);
|
|
9576
9647
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
9577
9648
|
const description = group.representative.description;
|
|
9578
9649
|
return /* @__PURE__ */ jsx("article", {
|
|
@@ -9583,7 +9654,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
|
|
|
9583
9654
|
/* @__PURE__ */ jsx(OfferingTitle, {
|
|
9584
9655
|
className: "card-title rb-mb-3",
|
|
9585
9656
|
path,
|
|
9586
|
-
|
|
9657
|
+
...eventDisplayTitle(group.representative)
|
|
9587
9658
|
}),
|
|
9588
9659
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
9589
9660
|
facts: group.representative.facts,
|
|
@@ -9681,7 +9752,7 @@ function RunWithoutLiveDates({ group, path }) {
|
|
|
9681
9752
|
/* @__PURE__ */ jsx(OfferingTitle, {
|
|
9682
9753
|
className: "rb-heading-xs",
|
|
9683
9754
|
path,
|
|
9684
|
-
|
|
9755
|
+
...eventDisplayTitle(group.representative)
|
|
9685
9756
|
}),
|
|
9686
9757
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
9687
9758
|
facts: group.representative.facts,
|
|
@@ -10815,7 +10886,7 @@ function AgendaModalCard({ event, showCapacity, calendarTimeZone, onClick }) {
|
|
|
10815
10886
|
}))
|
|
10816
10887
|
}), /* @__PURE__ */ jsx("span", {
|
|
10817
10888
|
className: "event-agenda-card-title",
|
|
10818
|
-
children: event
|
|
10889
|
+
children: eventDisplayTitleText(event)
|
|
10819
10890
|
})]
|
|
10820
10891
|
}), /* @__PURE__ */ jsxs("div", {
|
|
10821
10892
|
className: "event-agenda-card-details status-muted",
|
|
@@ -10869,33 +10940,40 @@ function AgendaLinkCard({ event, showCapacity, showVenue, buttonVariant, buttonT
|
|
|
10869
10940
|
}),
|
|
10870
10941
|
/* @__PURE__ */ jsxs("div", {
|
|
10871
10942
|
className: "event-agenda-card-content",
|
|
10872
|
-
children: [
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
10879
|
-
className: "event-agenda-card-details status-muted",
|
|
10880
|
-
children: [
|
|
10881
|
-
showVenue ? /* @__PURE__ */ jsxs("span", {
|
|
10882
|
-
className: "event-agenda-card-location",
|
|
10883
|
-
children: [/* @__PURE__ */ jsx(LocationIcon, {}), location]
|
|
10884
|
-
}) : null,
|
|
10885
|
-
/* @__PURE__ */ jsx("span", {
|
|
10886
|
-
className: "event-agenda-card-duration",
|
|
10887
|
-
children: duration
|
|
10888
|
-
}),
|
|
10889
|
-
teacherLine && /* @__PURE__ */ jsx("span", {
|
|
10890
|
-
className: "event-agenda-card-teacher",
|
|
10891
|
-
children: teacherLine
|
|
10892
|
-
}),
|
|
10893
|
-
capacity && /* @__PURE__ */ jsx("span", {
|
|
10894
|
-
className: `event-agenda-card-capacity ${isEventFull(event) ? "event-agenda-card-capacity--full status-error" : ""}`,
|
|
10895
|
-
children: capacity
|
|
10943
|
+
children: [
|
|
10944
|
+
/* @__PURE__ */ jsx("h5", {
|
|
10945
|
+
className: "event-agenda-card-title",
|
|
10946
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
10947
|
+
...eventLinkProps,
|
|
10948
|
+
children: eventDisplayTitle(event).title
|
|
10896
10949
|
})
|
|
10897
|
-
|
|
10898
|
-
|
|
10950
|
+
}),
|
|
10951
|
+
eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
|
|
10952
|
+
className: "event-agenda-card-run-name rb-caption",
|
|
10953
|
+
children: eventDisplayTitle(event).runName
|
|
10954
|
+
}) : null,
|
|
10955
|
+
/* @__PURE__ */ jsxs("div", {
|
|
10956
|
+
className: "event-agenda-card-details status-muted",
|
|
10957
|
+
children: [
|
|
10958
|
+
showVenue ? /* @__PURE__ */ jsxs("span", {
|
|
10959
|
+
className: "event-agenda-card-location",
|
|
10960
|
+
children: [/* @__PURE__ */ jsx(LocationIcon, {}), location]
|
|
10961
|
+
}) : null,
|
|
10962
|
+
/* @__PURE__ */ jsx("span", {
|
|
10963
|
+
className: "event-agenda-card-duration",
|
|
10964
|
+
children: duration
|
|
10965
|
+
}),
|
|
10966
|
+
teacherLine && /* @__PURE__ */ jsx("span", {
|
|
10967
|
+
className: "event-agenda-card-teacher",
|
|
10968
|
+
children: teacherLine
|
|
10969
|
+
}),
|
|
10970
|
+
capacity && /* @__PURE__ */ jsx("span", {
|
|
10971
|
+
className: `event-agenda-card-capacity ${isEventFull(event) ? "event-agenda-card-capacity--full status-error" : ""}`,
|
|
10972
|
+
children: capacity
|
|
10973
|
+
})
|
|
10974
|
+
]
|
|
10975
|
+
})
|
|
10976
|
+
]
|
|
10899
10977
|
}),
|
|
10900
10978
|
/* @__PURE__ */ jsxs("div", {
|
|
10901
10979
|
className: "event-agenda-card-action",
|
|
@@ -11082,7 +11160,7 @@ const WeekBoardCard = ({ event, showCapacity, calendarTimeZone }) => {
|
|
|
11082
11160
|
children: [
|
|
11083
11161
|
/* @__PURE__ */ jsx("span", {
|
|
11084
11162
|
className: "event-week-board-card-title",
|
|
11085
|
-
children: event
|
|
11163
|
+
children: eventDisplayTitleText(event)
|
|
11086
11164
|
}),
|
|
11087
11165
|
/* @__PURE__ */ jsx("span", {
|
|
11088
11166
|
className: "event-week-board-card-time",
|
|
@@ -11511,7 +11589,7 @@ function renderCalendarSsr(display, hydration) {
|
|
|
11511
11589
|
children: [day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsxs("a", {
|
|
11512
11590
|
...resolveEventLinkProps(event),
|
|
11513
11591
|
className: "event-calendar-event",
|
|
11514
|
-
title: `${event
|
|
11592
|
+
title: `${eventDisplayTitleText(event)} at ${formatTime(event.startsAt, eventDateOptions({
|
|
11515
11593
|
...event,
|
|
11516
11594
|
timeZone
|
|
11517
11595
|
}))}`,
|
|
@@ -11526,7 +11604,7 @@ function renderCalendarSsr(display, hydration) {
|
|
|
11526
11604
|
" ",
|
|
11527
11605
|
/* @__PURE__ */ jsx("span", {
|
|
11528
11606
|
className: "event-calendar-event-title",
|
|
11529
|
-
children: event
|
|
11607
|
+
children: eventDisplayTitleText(event)
|
|
11530
11608
|
})
|
|
11531
11609
|
]
|
|
11532
11610
|
}, event.occurrenceId || event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -11617,7 +11695,7 @@ function renderTimetableSsr(display, hydration) {
|
|
|
11617
11695
|
}) : day.events.map((cell) => /* @__PURE__ */ jsxs("a", {
|
|
11618
11696
|
...resolveEventLinkProps(cell.event),
|
|
11619
11697
|
className: "event-timetable-event",
|
|
11620
|
-
title: `${cell.event
|
|
11698
|
+
title: `${eventDisplayTitleText(cell.event)}, ${cell.timeLabel}`,
|
|
11621
11699
|
style: {
|
|
11622
11700
|
top: `${cell.topPercent}%`,
|
|
11623
11701
|
height: `${cell.heightPercent}%`,
|
|
@@ -11632,7 +11710,7 @@ function renderTimetableSsr(display, hydration) {
|
|
|
11632
11710
|
}),
|
|
11633
11711
|
/* @__PURE__ */ jsx("span", {
|
|
11634
11712
|
className: "event-timetable-event-title",
|
|
11635
|
-
children: cell.event
|
|
11713
|
+
children: eventDisplayTitleText(cell.event)
|
|
11636
11714
|
}),
|
|
11637
11715
|
cell.teacherLine ? /* @__PURE__ */ jsx("span", {
|
|
11638
11716
|
className: "event-timetable-event-teacher",
|
|
@@ -11940,6 +12018,7 @@ function selectPagePanel(source, events) {
|
|
|
11940
12018
|
eventSeriesId: source.subject.eventSeriesId,
|
|
11941
12019
|
events
|
|
11942
12020
|
});
|
|
12021
|
+
if (!source.occurrenceContext && source.subject?.kind === "eventSeries") return planOrdinarySeriesSelection(events);
|
|
11943
12022
|
return selectOccurrenceForPanel(events, source.occurrenceContext?.id);
|
|
11944
12023
|
}
|
|
11945
12024
|
/** The decided target is also retained for recovery when fresh booking is closed. */
|
|
@@ -11963,6 +12042,7 @@ function planEventBookingPanel({ selection, subject }, now) {
|
|
|
11963
12042
|
const nonBookingPanel = planNonBookingPanel(selection);
|
|
11964
12043
|
switch (selection.kind) {
|
|
11965
12044
|
case "occurrence":
|
|
12045
|
+
case "dateChoice":
|
|
11966
12046
|
case "wholeSeriesRun": {
|
|
11967
12047
|
const registration = selectionRegistrationTarget(selection, subject);
|
|
11968
12048
|
if (nonBookingPanel) return {
|
|
@@ -11979,10 +12059,24 @@ function planEventBookingPanel({ selection, subject }, now) {
|
|
|
11979
12059
|
registration
|
|
11980
12060
|
};
|
|
11981
12061
|
}
|
|
11982
|
-
case "wholeSeriesParent":
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
12062
|
+
case "wholeSeriesParent": {
|
|
12063
|
+
if (nonBookingPanel) return {
|
|
12064
|
+
...nonBookingPanel,
|
|
12065
|
+
registration: null
|
|
12066
|
+
};
|
|
12067
|
+
const panel = planWholeSeriesParentBooking(selection.eligibleRuns);
|
|
12068
|
+
return panel.kind === "bookTogether" ? {
|
|
12069
|
+
kind: "registration",
|
|
12070
|
+
registration: {
|
|
12071
|
+
events: panel.runs.map((run) => run.representative),
|
|
12072
|
+
subject,
|
|
12073
|
+
occurrenceContext: null
|
|
12074
|
+
}
|
|
12075
|
+
} : {
|
|
12076
|
+
...panel,
|
|
12077
|
+
registration: null
|
|
12078
|
+
};
|
|
12079
|
+
}
|
|
11986
12080
|
case "wholeSeriesParentUnavailable": return {
|
|
11987
12081
|
...nonBookingPanel ?? { kind: "unavailable" },
|
|
11988
12082
|
registration: null
|
|
@@ -12008,6 +12102,11 @@ function selectionRegistrationTarget(selection, subject) {
|
|
|
12008
12102
|
occurrenceContext: eventOccurrenceContext(selection.event),
|
|
12009
12103
|
subject
|
|
12010
12104
|
};
|
|
12105
|
+
case "dateChoice": return {
|
|
12106
|
+
events: [...selection.dates],
|
|
12107
|
+
occurrenceContext: null,
|
|
12108
|
+
subject
|
|
12109
|
+
};
|
|
12011
12110
|
case "wholeSeriesRun": return {
|
|
12012
12111
|
events: [selection.run.representative],
|
|
12013
12112
|
occurrenceContext: null,
|
package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as createStandardButtonSurfacePolicy, j as expandPalette, n as compileButtonColourStates } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
|
|
2
|
-
import { i as themeSchema } from "./schema-
|
|
2
|
+
import { i as themeSchema } from "./schema-D5Vfmqzw.mjs";
|
|
3
3
|
//#region ../theme-core/src/buttons/parseThemeForPersistence.ts
|
|
4
4
|
/**
|
|
5
5
|
* Proves that every persisted button variant compiles against the theme's
|
package/dist/server/prebuild.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prebuildCache } from "./prebuild-
|
|
1
|
+
import { t as prebuildCache } from "./prebuild-BjvFb0CA.mjs";
|
|
2
2
|
export { prebuildCache };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as SUPPORTED_LOADER_ENDPOINTS$1, i as parsePublicProductCategorySelector, n as materializeLoaderMedia } from "./responseMedia-
|
|
1
|
+
import { f as defaultTransforms, l as coerceLinkedContentEntriesPayload, r as planArrangementContent, rt as selectBlockContent, st as defaultThemeTokens } from "./pageRenderPlan-CytPhrI9.mjs";
|
|
2
|
+
import { Go as bindingSchema, Hs as toUtcIsoDateTimeString, Nn as readRuntimeNow, Pn as resolveDateRuntimeContext, ai as runTransforms, da as isObjectRecord, ea as projectRecurringSchedule, t as getBlockDefinition, ua as calendarWindowQuerySchema } from "./registry-BMCfcev6.mjs";
|
|
3
|
+
import { a as SUPPORTED_LOADER_ENDPOINTS$1, i as parsePublicProductCategorySelector, n as materializeLoaderMedia } from "./responseMedia-DpBC1hTM.mjs";
|
|
4
4
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
5
5
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
6
6
|
//#region ../blocks/src/system/data/utils.ts
|