@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,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { bn as parseBookingLocalDate, nn as formatDate } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { i as listLookSlot, n as listItemPresentation } from "./noop-
|
|
2
|
+
import { Sn as formatEventPrice } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { bn as parseBookingLocalDate, nn as formatDate } from "./src-CmXh3JWs.mjs";
|
|
4
|
+
import { $o as groupEventsByDate, Ao as isEventFull, Bo as eventDateOptions, Qo as formatTime, _o as resolveEventCta, do as eventPlaceName, es as resolveEventTimeZone, po as formatEventLocation, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-B952ify5.mjs";
|
|
5
|
+
import { i as listLookSlot, n as listItemPresentation } from "./noop-jesvJXEE.mjs";
|
|
6
6
|
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
7
7
|
import { d as formatDateKey, v as isToday } from "./src-uwCpbHXG.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-Bb0ppG2N.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../core/src/duration.ts
|
|
@@ -81,7 +81,7 @@ function CalendarDayHeaders({ dayNames }) {
|
|
|
81
81
|
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookView.tsx
|
|
82
82
|
function MonthEvent({ event, timeZone, locale, presentation }) {
|
|
83
83
|
return /* @__PURE__ */ jsxs("a", {
|
|
84
|
-
...
|
|
84
|
+
...resolveEventPageLink(event),
|
|
85
85
|
...listLookSlot(presentation, "item"),
|
|
86
86
|
children: [
|
|
87
87
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -312,7 +312,7 @@ function AgendaModalCard({ event, showCapacity, calendarTimeZone, onClick }) {
|
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
314
|
function AgendaLinkCard({ event, showCapacity, showVenue, buttonVariant, buttonText, calendarTimeZone }) {
|
|
315
|
-
const eventLinkProps =
|
|
315
|
+
const eventLinkProps = resolveEventPageLink(event);
|
|
316
316
|
const categoryColor = event.eventCategory?.color || "rgb(var(--tb-accent))";
|
|
317
317
|
const timeZone = resolveEventTimeZone(event, calendarTimeZone);
|
|
318
318
|
const teacherLine = formatEventTeacherLine(event);
|
package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
3
|
+
import { ao as leavePage, mr as isEmailAddress } from "./wizardSteps-B952ify5.mjs";
|
|
4
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-ByyVZfVq.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
6
6
|
import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
7
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
7
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-BAL5UIDG.mjs";
|
|
8
8
|
import React, { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { g as resolveCalendarReadProfile } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { f as resolveMonthSelectedDay, i as WeekAgendaView, r as CalendarLoadFailure, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-
|
|
6
|
-
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
2
|
+
import { Ot as buildEventRuntimeFilters, an as buildEventListWeek, d as buildEventCalendarListingRender, on as eventListWeekDays } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { g as resolveCalendarReadProfile } from "./src-CmXh3JWs.mjs";
|
|
4
|
+
import { $o as groupEventsByDate, qo as formatEventHourLabel } from "./wizardSteps-B952ify5.mjs";
|
|
5
|
+
import { f as resolveMonthSelectedDay, i as WeekAgendaView, r as CalendarLoadFailure, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
|
|
6
|
+
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-GA-hn1qM.mjs";
|
|
7
7
|
import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
8
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-uwCpbHXG.mjs";
|
|
9
|
-
import { u as eventDisplayTitleText } from "./EventItem-
|
|
10
|
-
import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-
|
|
11
|
-
import { i as useEventCollectionFilters } from "./useEventPagination-
|
|
12
|
-
import { n as EventListingController } from "./EventListing.client-
|
|
9
|
+
import { u as eventDisplayTitleText } from "./EventItem-Bb0ppG2N.mjs";
|
|
10
|
+
import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-C1jEZBN9.mjs";
|
|
11
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-xX8n_Tuu.mjs";
|
|
12
|
+
import { n as EventListingController } from "./EventListing.client-BuH5kKA3.mjs";
|
|
13
13
|
import { useEffect, useMemo, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region ../blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.tsx
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Ft as calendarMonthDate, d as calendarQueryKey, f as calendarWindowBounds, h as planCalendarMonthRanges, l as calendarMonthKey, nn as formatDate, p as calendarWindowMonths$1, u as calendarPageResponseError, yn as getLocalScheduleDate } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { i as listLookSlot } from "./noop-
|
|
2
|
+
import { Kt as toError, Ot as buildEventRuntimeFilters, kt as getEventRuntimeFiltersKey, s as eventListingBlockRuntime } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { Ft as calendarMonthDate, d as calendarQueryKey, f as calendarWindowBounds, h as planCalendarMonthRanges, l as calendarMonthKey, nn as formatDate, p as calendarWindowMonths$1, u as calendarPageResponseError, yn as getLocalScheduleDate } from "./src-CmXh3JWs.mjs";
|
|
4
|
+
import { $o as groupEventsByDate, Bo as eventDateOptions, Lo as buildCalendarViewport, Qo as formatTime, Ro as eventCalendarWeekStart, no as getBlockApiReadStage } from "./wizardSteps-B952ify5.mjs";
|
|
5
|
+
import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
7
|
+
import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
|
|
8
8
|
import { n as ThemedButton, x as clsx } from "./ThemedButton-PFOhXktM.mjs";
|
|
9
9
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-uwCpbHXG.mjs";
|
|
10
|
-
import { u as eventDisplayTitleText } from "./EventItem-
|
|
10
|
+
import { u as eventDisplayTitleText } from "./EventItem-Bb0ppG2N.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
13
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-
|
|
13
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-xX8n_Tuu.mjs";
|
|
14
14
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
//#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
|
|
@@ -1,178 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, ut as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-n6kS6Hct.mjs";
|
|
2
|
+
import { $t as resolveCardListSchedule, Sn as formatEventPrice, Xt as CardListContentPart, Zt as CardListLeadDate, en as selectCardListPresentation, tn as EventQuickFacts } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { Bo as eventDateOptions, Go as formatEventCompactDateRail, Oo as getEventAvailabilityStatus, Qs as orderedLiveRunSessions, Xo as formatEventTimeRange, Zo as formatEventWeekdayTime, _o as resolveEventCta, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-B952ify5.mjs";
|
|
4
|
+
import { i as listLookSlot, n as listItemPresentation } from "./noop-jesvJXEE.mjs";
|
|
5
|
+
import { F as resolveOnColorForThemeToken, L as resolveTokenOrCssColorValue, P as isCssColorLiteral, it as pickBlackOrWhiteTextColor } from "./accessibleSurfaces-BogaGutk.mjs";
|
|
7
6
|
import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
7
|
import React from "react";
|
|
9
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
11
|
-
/**
|
|
12
|
-
* Booking call-to-action resolution for events: where an event links to and
|
|
13
|
-
* what the button says. Sold-out and waitlist decisions come from capacity.ts
|
|
14
|
-
* so cards, rows and the wizard never disagree.
|
|
15
|
-
*/
|
|
16
|
-
function closedEventBookingLabel(reason) {
|
|
17
|
-
switch (reason) {
|
|
18
|
-
case "occurrence_cancelled":
|
|
19
|
-
case "series_cancelled": return "Cancelled";
|
|
20
|
-
case "occurrence_completed":
|
|
21
|
-
case "series_completed": return "Completed";
|
|
22
|
-
case "series_draft":
|
|
23
|
-
case "series_archived":
|
|
24
|
-
case "parent_archived":
|
|
25
|
-
case "parent_inconsistent":
|
|
26
|
-
case "already_started":
|
|
27
|
-
case "enrollment_closed": return "Registration closed";
|
|
28
|
-
default: return assertNever(reason);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function resolveEventHref(event) {
|
|
32
|
-
const destination = resolveRuntimeEventDestination(event);
|
|
33
|
-
return destination.kind === "external" ? destination.url : destination.path;
|
|
34
|
-
}
|
|
35
|
-
function resolveEventLinkProps(event) {
|
|
36
|
-
const href = resolveEventHref(event);
|
|
37
|
-
return resolveRuntimeEventDestination(event).kind === "external" ? {
|
|
38
|
-
href,
|
|
39
|
-
target: "_blank",
|
|
40
|
-
rel: "noopener noreferrer"
|
|
41
|
-
} : { href };
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Resolve the CTA state for an event.
|
|
45
|
-
* Shared by EventCard and EventCompactRow to keep sold-out, registration-closed,
|
|
46
|
-
* and course-specific defaults consistent.
|
|
47
|
-
*/
|
|
48
|
-
function resolveEventCta(event, buttonText) {
|
|
49
|
-
const isSoldOut = isEventFull(event);
|
|
50
|
-
const isExternal = resolveRuntimeEventDestination(event).kind === "external";
|
|
51
|
-
const href = resolveEventHref(event);
|
|
52
|
-
if (event.bookingAvailability.kind === "closed") {
|
|
53
|
-
const linksToClosedWholeSeriesDetails = event.bookingAvailability.reason === "enrollment_closed" && !isExternal;
|
|
54
|
-
return {
|
|
55
|
-
label: closedEventBookingLabel(event.bookingAvailability.reason),
|
|
56
|
-
href,
|
|
57
|
-
external: isExternal,
|
|
58
|
-
hidden: !linksToClosedWholeSeriesDetails
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
if (!isExternal && isSoldOut) {
|
|
62
|
-
if (canJoinEventWaitlistOnAnyMode(event)) return {
|
|
63
|
-
label: "Join waitlist",
|
|
64
|
-
href,
|
|
65
|
-
external: false,
|
|
66
|
-
hidden: false
|
|
67
|
-
};
|
|
68
|
-
return {
|
|
69
|
-
label: "Sold out",
|
|
70
|
-
href,
|
|
71
|
-
external: false,
|
|
72
|
-
hidden: true
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
return destinationCta(event, buttonText);
|
|
76
|
-
}
|
|
77
|
-
function destinationCta(event, buttonText) {
|
|
78
|
-
const destination = resolveRuntimeEventDestination(event);
|
|
79
|
-
return {
|
|
80
|
-
label: buttonText ?? (destination.kind === "external" ? destination.label : "Book"),
|
|
81
|
-
href: resolveEventHref(event),
|
|
82
|
-
external: destination.kind === "external",
|
|
83
|
-
hidden: false
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* A bounded date strip cannot prove a series sold out. Its destination owns date selection,
|
|
88
|
-
* so the card offers that destination and leaves capacity with the individual date rows.
|
|
89
|
-
* Whole-series bookings still have one shared capacity, as do ordinary occurrence cards.
|
|
90
|
-
*/
|
|
91
|
-
function resolveEventCardBooking(event, scope, buttonText, options) {
|
|
92
|
-
const closedCta = event.bookingAvailability.kind === "closed" ? resolveEventCta(event, buttonText) : renderClockClosedCta(event, options.now);
|
|
93
|
-
if (scope === "series" && event.bookingScope === "single_occurrence") {
|
|
94
|
-
const closed = seriesBookingClosed(event);
|
|
95
|
-
return {
|
|
96
|
-
cta: closed ? resolveEventCta(event, buttonText) : withoutPage(destinationCta(event, buttonText)),
|
|
97
|
-
availability: null,
|
|
98
|
-
closed
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
return closedCta ? {
|
|
102
|
-
cta: closedCta,
|
|
103
|
-
availability: null,
|
|
104
|
-
closed: true
|
|
105
|
-
} : {
|
|
106
|
-
cta: withoutPage(resolveEventCta(event, buttonText)),
|
|
107
|
-
availability: occurrenceCardAvailability(event, options.count),
|
|
108
|
-
closed: false
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
/** A native card with no page yet can't invite booking: there is nowhere to send the visitor. */
|
|
112
|
-
function withoutPage(cta) {
|
|
113
|
-
return !cta.external && !cta.hidden && cta.href === "" ? {
|
|
114
|
-
...cta,
|
|
115
|
-
label: "Details coming soon",
|
|
116
|
-
hidden: true
|
|
117
|
-
} : cta;
|
|
118
|
-
}
|
|
119
|
-
/** Only a series-wide closure closes its card; a cancelled or started date says nothing about later dates. */
|
|
120
|
-
function seriesBookingClosed(event) {
|
|
121
|
-
if (event.bookingAvailability.kind !== "closed") return false;
|
|
122
|
-
switch (event.bookingAvailability.reason) {
|
|
123
|
-
case "occurrence_cancelled":
|
|
124
|
-
case "occurrence_completed":
|
|
125
|
-
case "already_started": return false;
|
|
126
|
-
case "series_cancelled":
|
|
127
|
-
case "series_completed":
|
|
128
|
-
case "series_draft":
|
|
129
|
-
case "series_archived":
|
|
130
|
-
case "parent_archived":
|
|
131
|
-
case "parent_inconsistent":
|
|
132
|
-
case "enrollment_closed": return true;
|
|
133
|
-
default: return assertNever(event.bookingAvailability.reason);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
function occurrenceCardAvailability(event, count) {
|
|
137
|
-
const label = formatEventRemainingPlaces(event, {
|
|
138
|
-
full: "Sold out",
|
|
139
|
-
count
|
|
140
|
-
});
|
|
141
|
-
const availability = getEventAvailabilityStatus(event);
|
|
142
|
-
return label ? {
|
|
143
|
-
label,
|
|
144
|
-
status: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available"
|
|
145
|
-
} : null;
|
|
146
|
-
}
|
|
147
|
-
/** Preserve projected closure reasons; only an open native booking needs its clock rechecked. */
|
|
148
|
-
function renderClockClosedCta(event, now) {
|
|
149
|
-
if (!now || event.destination.kind !== "native") return null;
|
|
150
|
-
if (event.bookingScope !== "whole_series") return hasEventBookingClosedEarly(event, now) ? {
|
|
151
|
-
label: "Registration closed",
|
|
152
|
-
href: resolveEventHref(event),
|
|
153
|
-
external: false,
|
|
154
|
-
hidden: true
|
|
155
|
-
} : null;
|
|
156
|
-
const phase = resolveWholeSeriesBookingPhase(event.run, now);
|
|
157
|
-
if (phase.kind === "open") return null;
|
|
158
|
-
return {
|
|
159
|
-
label: (() => {
|
|
160
|
-
switch (phase.reason) {
|
|
161
|
-
case "cancelled": return "Cancelled";
|
|
162
|
-
case "completed": return "Completed";
|
|
163
|
-
case "in-progress":
|
|
164
|
-
case "bookings-closed":
|
|
165
|
-
case "enrolment-closed":
|
|
166
|
-
case "no-sessions": return "Registration closed";
|
|
167
|
-
default: return assertNever(phase.reason);
|
|
168
|
-
}
|
|
169
|
-
})(),
|
|
170
|
-
href: resolveEventHref(event),
|
|
171
|
-
external: false,
|
|
172
|
-
hidden: phase.reason !== "enrolment-closed" && phase.reason !== "bookings-closed"
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
//#endregion
|
|
176
9
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
177
10
|
function formatTeamMemberNames(names) {
|
|
178
11
|
const normalized = names.map((name) => name.trim()).filter(Boolean);
|
|
@@ -337,7 +170,7 @@ function categoryBadgeStyle(background) {
|
|
|
337
170
|
}
|
|
338
171
|
function readableTextColor(background) {
|
|
339
172
|
try {
|
|
340
|
-
return
|
|
173
|
+
return pickBlackOrWhiteTextColor(background);
|
|
341
174
|
} catch {
|
|
342
175
|
return "rgb(var(--tb-onAccent, 255 255 255))";
|
|
343
176
|
}
|
|
@@ -423,7 +256,7 @@ function eventItemFacts(props) {
|
|
|
423
256
|
date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
|
|
424
257
|
time,
|
|
425
258
|
price,
|
|
426
|
-
link:
|
|
259
|
+
link: resolveEventPageLink(props.event),
|
|
427
260
|
meta: eventItemMeta(props, {
|
|
428
261
|
time,
|
|
429
262
|
price
|
|
@@ -611,8 +444,7 @@ function renderEventItemImage(props, link) {
|
|
|
611
444
|
id: props.event.id,
|
|
612
445
|
title: eventDisplayTitle(props.event).title,
|
|
613
446
|
media: props.event.presentation?.image,
|
|
614
|
-
titleLink: link
|
|
615
|
-
newTabHint: link.target === "_blank"
|
|
447
|
+
titleLink: link
|
|
616
448
|
},
|
|
617
449
|
presentation: props
|
|
618
450
|
});
|
|
@@ -843,4 +675,4 @@ function cardItemSlotParents(arrangement) {
|
|
|
843
675
|
};
|
|
844
676
|
}
|
|
845
677
|
//#endregion
|
|
846
|
-
export {
|
|
678
|
+
export { eventItemSlotParents as a, MapPinIcon as c, formatCourseDatesAfter as d, formatCourseSessions as f, cardItemSlotParents as i, eventDisplayTitle as l, formatEventTeacherLine as m, CardListItems as n, eventCategoryBadge as o, formatMoreDates as p, EventItem as r, CalendarIcon as s, CardListCollection as t, eventDisplayTitleText as u };
|
package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as listLookSlot } from "./noop-
|
|
2
|
+
import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
4
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { Ot as buildEventRuntimeFilters } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-DMryCaNV.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-xX8n_Tuu.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as listLookSlot, n as listItemPresentation } from "./noop-
|
|
5
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
2
|
+
import { Sn as formatEventPrice, cn as groupEventsByWeek, ln as weekColumnDays, rn as MediaNodeServer, tn as EventQuickFacts } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { $o as groupEventsByDate, Bo as eventDateOptions, Go as formatEventCompactDateRail, Jo as formatEventNextDateFact, Uo as formatDate, Vo as eventLocalDateKey, Xo as formatEventTimeRange, _o as resolveEventCta, fo as eventVenuePlace, go as resolveEventCardBooking, ts as ImagePresets, uc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, vo as resolveEventPageLink } from "./wizardSteps-B952ify5.mjs";
|
|
4
|
+
import { i as listLookSlot, n as listItemPresentation } from "./noop-jesvJXEE.mjs";
|
|
5
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-BFuqZCfz.mjs";
|
|
6
6
|
import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-Bb0ppG2N.mjs";
|
|
8
8
|
import "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
@@ -134,7 +134,7 @@ function EventCardContent(props) {
|
|
|
134
134
|
className: "card-title rb-mb-3",
|
|
135
135
|
children: /* @__PURE__ */ jsx("a", {
|
|
136
136
|
className: "event-title-link",
|
|
137
|
-
...
|
|
137
|
+
...resolveEventPageLink(event),
|
|
138
138
|
children: props.title
|
|
139
139
|
})
|
|
140
140
|
}),
|
|
@@ -393,7 +393,7 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
|
|
|
393
393
|
className: "event-compact-row-title",
|
|
394
394
|
children: /* @__PURE__ */ jsx("a", {
|
|
395
395
|
className: "event-title-link",
|
|
396
|
-
...
|
|
396
|
+
...resolveEventPageLink(event),
|
|
397
397
|
children: eventDisplayTitle(event).title
|
|
398
398
|
})
|
|
399
399
|
}),
|