@riverbankcms/sdk 0.172.0 → 0.174.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/README.md +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.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 +9 -9
- 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 +4 -2
- 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 +13 -8
- 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 +36 -204
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/bookability-CE637yDE.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +206 -7
- package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +34 -61
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
- package/dist/preview-next/container-responsive.css +117 -32
- 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-DV6SeCNv.mjs} +200 -2
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- 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-Cgpfr44e.mjs} +8 -10
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.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 +9 -8
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
- package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +1038 -200
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-
|
|
4
|
-
import { p as assertNever } from "./creditProducts-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
2
|
+
import { ka as leavePage } from "./display-D8MW2b0e.mjs";
|
|
3
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-D5mFWXtN.mjs";
|
|
4
|
+
import { p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
6
6
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
7
7
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
8
8
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
9
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
10
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
10
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BVbLD4pi.mjs";
|
|
11
11
|
import React, { useCallback, useEffect, useId, useMemo, useReducer, useState } from "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region ../core/src/site-terms.ts
|
|
@@ -21,6 +21,22 @@ function siteTermsChangedMessage(businessName) {
|
|
|
21
21
|
return `${businessName} updated their booking terms while you were booking. Please have a look and tick the box again.`;
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
+
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
25
|
+
function discountAvailabilityHasDiscounts(availability) {
|
|
26
|
+
return availability.type !== "none";
|
|
27
|
+
}
|
|
28
|
+
function discountAvailabilityAllowsManualEntry(availability) {
|
|
29
|
+
return "manualCodeEntryAllowed" in availability && availability.manualCodeEntryAllowed;
|
|
30
|
+
}
|
|
31
|
+
function getAutoAppliedDiscountPreview(availability) {
|
|
32
|
+
switch (availability.type) {
|
|
33
|
+
case "none":
|
|
34
|
+
case "manual": return null;
|
|
35
|
+
case "auto":
|
|
36
|
+
case "auto_and_manual": return availability.autoAppliedDiscount;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
24
40
|
//#region ../blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.tsx
|
|
25
41
|
const BLOCK_DISCOUNT_CODE_DISCLOSURE_CLASSES = { "event-registration": {
|
|
26
42
|
root: "er-discount",
|
|
@@ -137,22 +153,6 @@ function DiscountCodeDisclosure({ surface, isOpen, code, onOpen, onChange, onRem
|
|
|
137
153
|
});
|
|
138
154
|
}
|
|
139
155
|
//#endregion
|
|
140
|
-
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
141
|
-
function discountAvailabilityHasDiscounts(availability) {
|
|
142
|
-
return availability.type !== "none";
|
|
143
|
-
}
|
|
144
|
-
function discountAvailabilityAllowsManualEntry(availability) {
|
|
145
|
-
return "manualCodeEntryAllowed" in availability && availability.manualCodeEntryAllowed;
|
|
146
|
-
}
|
|
147
|
-
function getAutoAppliedDiscountPreview(availability) {
|
|
148
|
-
switch (availability.type) {
|
|
149
|
-
case "none":
|
|
150
|
-
case "manual": return null;
|
|
151
|
-
case "auto":
|
|
152
|
-
case "auto_and_manual": return availability.autoAppliedDiscount;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
156
|
//#region ../blocks/src/system/runtime/shared/navigation/NavigationHandOffPanel.tsx
|
|
157
157
|
function NavigationHandOffPanel(props) {
|
|
158
158
|
const [opened, setOpened] = useState(false);
|
|
@@ -741,4 +741,4 @@ function handlePortalAccessError(error) {
|
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
743
|
//#endregion
|
|
744
|
-
export { siteTermsFailureKind as a, NavigationHandOffPanel as c,
|
|
744
|
+
export { siteTermsFailureKind as a, NavigationHandOffPanel as c, discountAvailabilityHasDiscounts as d, getAutoAppliedDiscountPreview as f, SiteTermsChangedNotice as i, DiscountCodeDisclosure as l, DemoBookingPortalAccess as n, useSiteTermsAgreement as o, SiteTermsAgreementField as r, eventSiteTermsSurface as s, BookingConfirmation as t, discountAvailabilityAllowsManualEntry as u };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { h as resolveCalendarReadProfile } from "./noop-
|
|
5
|
-
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
2
|
+
import { Nt as buildEventRuntimeFilters, Qt as eventListWeekDays, Zt as buildEventListWeek, gt as buildEventCalendarListingRender } from "./shop.interactive-CKFORzux.mjs";
|
|
3
|
+
import { Br as formatEventHourLabel, Kr as groupEventsByDate } from "./display-D8MW2b0e.mjs";
|
|
4
|
+
import { h as resolveCalendarReadProfile } from "./noop-D5mFWXtN.mjs";
|
|
5
|
+
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-CtZiIj9q.mjs";
|
|
6
6
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { n as eventDisplayTitleText } from "./course-q1sA4Cj-.mjs";
|
|
9
|
+
import { c as CalendarDayHeaders, n as WeekAgendaView, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-BPQU5Snc.mjs";
|
|
10
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-B4VPtSEF.mjs";
|
|
11
|
+
import { n as EventListingController } from "./EventListing.client-Bs_8im5_.mjs";
|
|
12
|
+
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-B_ytWQtn.mjs";
|
|
12
13
|
import { useEffect, useMemo, useState } from "react";
|
|
13
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
15
|
//#region ../blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.tsx
|
|
@@ -111,7 +112,7 @@ const TimetableDayColumn = ({ day, hours, rangeMinutes, selected, onEventClick,
|
|
|
111
112
|
const TimetableEventButton = ({ cell, onClick, showCapacity }) => /* @__PURE__ */ jsxs("button", {
|
|
112
113
|
type: "button",
|
|
113
114
|
className: "event-timetable-event",
|
|
114
|
-
title: `${cell.event
|
|
115
|
+
title: `${eventDisplayTitleText(cell.event)}, ${cell.timeLabel}`,
|
|
115
116
|
style: {
|
|
116
117
|
top: `${cell.topPercent}%`,
|
|
117
118
|
height: `${cell.heightPercent}%`,
|
|
@@ -127,7 +128,7 @@ const TimetableEventButton = ({ cell, onClick, showCapacity }) => /* @__PURE__ *
|
|
|
127
128
|
}),
|
|
128
129
|
/* @__PURE__ */ jsx("span", {
|
|
129
130
|
className: "event-timetable-event-title",
|
|
130
|
-
children: cell.event
|
|
131
|
+
children: eventDisplayTitleText(cell.event)
|
|
131
132
|
}),
|
|
132
133
|
cell.teacherLine ? /* @__PURE__ */ jsx("span", {
|
|
133
134
|
className: "event-timetable-event-teacher",
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Ct as eventListingBlockRuntime, Mt as toError, Nt as buildEventRuntimeFilters, Pt as getEventRuntimeFiltersKey } from "./shop.interactive-CKFORzux.mjs";
|
|
3
|
+
import { Ar as buildCalendarViewport, Ea as getBlockApiReadStage, Ga as listLookSlot, Gr as formatTime, Kr as groupEventsByDate, Nr as eventDateOptions, jr as eventCalendarWeekStart } from "./display-D8MW2b0e.mjs";
|
|
4
|
+
import { Bt as formatDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, l as calendarPageResponseError, m as planCalendarMonthRanges, nn as getLocalScheduleDate, u as calendarQueryKey, vt as calendarMonthDate } from "./noop-D5mFWXtN.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
6
6
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { n as eventDisplayTitleText } from "./course-q1sA4Cj-.mjs";
|
|
9
|
+
import { a as combinedClassName, c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, r as AgendaEventCard, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-BPQU5Snc.mjs";
|
|
9
10
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
10
11
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
11
12
|
import { t as TabBarFragment } from "./TabBarFragment-BqfRLojo.mjs";
|
|
12
|
-
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-B4VPtSEF.mjs";
|
|
13
14
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
14
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
16
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -553,7 +554,7 @@ function CalendarDayEvents(props) {
|
|
|
553
554
|
children: [props.day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsxs("button", {
|
|
554
555
|
type: "button",
|
|
555
556
|
className: "event-calendar-event",
|
|
556
|
-
title: `${event
|
|
557
|
+
title: `${eventDisplayTitleText(event)} at ${formatTime(event.startsAt, eventDateOptions({
|
|
557
558
|
...event,
|
|
558
559
|
timeZone
|
|
559
560
|
}))}`,
|
|
@@ -569,7 +570,7 @@ function CalendarDayEvents(props) {
|
|
|
569
570
|
" ",
|
|
570
571
|
/* @__PURE__ */ jsx("span", {
|
|
571
572
|
className: "event-calendar-event-title",
|
|
572
|
-
children: event
|
|
573
|
+
children: eventDisplayTitleText(event)
|
|
573
574
|
})
|
|
574
575
|
]
|
|
575
576
|
}, event.occurrenceId || event.id)), props.day.moreCount > 0 && /* @__PURE__ */ jsxs("button", {
|
|
@@ -632,7 +633,7 @@ function EventModalCloseButton({ closeButtonRef, onClose }) {
|
|
|
632
633
|
*/
|
|
633
634
|
function EventDetailModal({ event, showCapacity, onClose, portalRoot, cardRole = "default", buttonVariant = "primary", buttonText, showMap = true }) {
|
|
634
635
|
return /* @__PURE__ */ jsx(ModalShell, {
|
|
635
|
-
title: event
|
|
636
|
+
title: eventDisplayTitleText(event) || "Event details",
|
|
636
637
|
titleId: "ec-event-modal-title",
|
|
637
638
|
onClose,
|
|
638
639
|
portal: portalRoot != null,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bt as
|
|
3
|
-
import {
|
|
4
|
-
import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, st as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-
|
|
2
|
+
import { Bt as CardListContentPart, Kt as EventQuickFacts, Ut as resolveCardListSchedule, Vt as CardListLeadDate, Wt as selectCardListPresentation, rn as formatEventPrice } from "./shop.interactive-CKFORzux.mjs";
|
|
3
|
+
import { Ga as listLookSlot, Nr as eventDateOptions, Rr as formatEventCompactDateRail, Ua as listItemPresentation, Ur as formatEventTimeRange, Wr as formatEventWeekdayTime, Zr as formatEventRemainingPlaces, ti as getEventAvailabilityStatus } from "./display-D8MW2b0e.mjs";
|
|
4
|
+
import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, st as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { c as resolveEventLinkProps, s as resolveEventCta, t as eventDisplayTitle } from "./course-q1sA4Cj-.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
@@ -193,7 +193,8 @@ function eventItemFacts(props) {
|
|
|
193
193
|
...props.eventRows === "day-schedule" ? { count: "always" } : {}
|
|
194
194
|
}) : null,
|
|
195
195
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
196
|
-
description: props.event.presentation?.summary ?? props.event.description
|
|
196
|
+
description: props.event.presentation?.summary ?? props.event.description,
|
|
197
|
+
title: eventDisplayTitle(props.event)
|
|
197
198
|
};
|
|
198
199
|
}
|
|
199
200
|
/** Rows with a rail keep pricing in the details and time in the action rail. */
|
|
@@ -298,16 +299,24 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
298
299
|
})
|
|
299
300
|
]
|
|
300
301
|
});
|
|
301
|
-
case "title": return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
302
|
+
case "title": return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
303
|
+
/* @__PURE__ */ jsx("h3", {
|
|
304
|
+
...listLookSlot(props, "item-title"),
|
|
305
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
306
|
+
...facts.link,
|
|
307
|
+
children: facts.title.title
|
|
308
|
+
})
|
|
309
|
+
}),
|
|
310
|
+
facts.title.runName ? /* @__PURE__ */ jsx("p", {
|
|
311
|
+
className: "rb-card-list-subtitle rb-caption",
|
|
312
|
+
"data-card-subtitle": true,
|
|
313
|
+
children: facts.title.runName
|
|
314
|
+
}) : null,
|
|
315
|
+
props.eventRows === "day-schedule" ? null : /* @__PURE__ */ jsx(EventQuickFacts, {
|
|
316
|
+
facts: props.event.facts,
|
|
317
|
+
context: "card"
|
|
306
318
|
})
|
|
307
|
-
})
|
|
308
|
-
facts: props.event.facts,
|
|
309
|
-
context: "card"
|
|
310
|
-
})] });
|
|
319
|
+
] });
|
|
311
320
|
case "time": return /* @__PURE__ */ jsxs("p", {
|
|
312
321
|
...listLookSlot(props, "time"),
|
|
313
322
|
children: [hasActionRail(props.arrangement) ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, props.arrangement === "week-groups" ? formatEventWeekdayTime(props.event) : facts.time]
|
|
@@ -331,7 +340,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
331
340
|
part: "text",
|
|
332
341
|
item: {
|
|
333
342
|
id: props.event.id,
|
|
334
|
-
title:
|
|
343
|
+
title: facts.title.title,
|
|
335
344
|
text: facts.description
|
|
336
345
|
},
|
|
337
346
|
presentation: props
|
|
@@ -359,7 +368,7 @@ function renderEventItemImage(props, link) {
|
|
|
359
368
|
part: "media",
|
|
360
369
|
item: {
|
|
361
370
|
id: props.event.id,
|
|
362
|
-
title: props.event.title,
|
|
371
|
+
title: eventDisplayTitle(props.event).title,
|
|
363
372
|
media: props.event.presentation?.image,
|
|
364
373
|
titleLink: link,
|
|
365
374
|
newTabHint: link.target === "_blank"
|
package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ga as listLookSlot } from "./display-D8MW2b0e.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 { Nt as buildEventRuntimeFilters } from "./shop.interactive-CKFORzux.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-Bm3Ap1Rd.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-B4VPtSEF.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,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
2
|
+
import { Gt as MediaNodeServer, Kt as EventQuickFacts, en as groupEventsByWeek, rn as formatEventPrice, tn as weekColumnDays } from "./shop.interactive-CKFORzux.mjs";
|
|
3
|
+
import { Ga as listLookSlot, Ir as formatDate, Kr as groupEventsByDate, Nr as eventDateOptions, Pr as eventLocalDateKey, Rr as formatEventCompactDateRail, Ua as listItemPresentation, Ur as formatEventTimeRange, Vr as formatEventNextDateFact, yr as ImagePresets } from "./display-D8MW2b0e.mjs";
|
|
4
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-CNDLpT06.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
8
|
-
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-
|
|
6
|
+
import { c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, r as formatCourseDatesAfter, s as resolveEventCta, t as eventDisplayTitle } from "./course-q1sA4Cj-.mjs";
|
|
7
|
+
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DCIwlON6.mjs";
|
|
8
|
+
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-C-mxXpX_.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
@@ -18,7 +18,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
18
18
|
* This component is server-safe (uses no client APIs like Intl).
|
|
19
19
|
*/
|
|
20
20
|
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 }) => {
|
|
21
|
-
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
21
|
+
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, runName, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
22
22
|
event,
|
|
23
23
|
presentation,
|
|
24
24
|
headingLevel,
|
|
@@ -70,7 +70,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
70
70
|
showVenue,
|
|
71
71
|
summary,
|
|
72
72
|
teacherLine,
|
|
73
|
-
title
|
|
73
|
+
title,
|
|
74
|
+
runName
|
|
74
75
|
})]
|
|
75
76
|
});
|
|
76
77
|
};
|
|
@@ -123,6 +124,8 @@ function EventCardMedia(props) {
|
|
|
123
124
|
}
|
|
124
125
|
function EventCardContent(props) {
|
|
125
126
|
const { event } = props;
|
|
127
|
+
const courseSessions = formatCourseSessions(event);
|
|
128
|
+
const moreDates = formatCourseDatesAfter(event);
|
|
126
129
|
const Heading = props.headingLevel === 4 ? "h4" : "h3";
|
|
127
130
|
return /* @__PURE__ */ jsxs("div", {
|
|
128
131
|
...listLookSlot(props, "item-body"),
|
|
@@ -143,6 +146,10 @@ function EventCardContent(props) {
|
|
|
143
146
|
children: props.title
|
|
144
147
|
})
|
|
145
148
|
}),
|
|
149
|
+
props.runName ? /* @__PURE__ */ jsx("p", {
|
|
150
|
+
className: "event-card-run-name rb-caption rb-mb-3",
|
|
151
|
+
children: props.runName
|
|
152
|
+
}) : null,
|
|
146
153
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
147
154
|
facts: event.facts,
|
|
148
155
|
context: "card"
|
|
@@ -152,10 +159,21 @@ function EventCardContent(props) {
|
|
|
152
159
|
className: "rb-mb-2 rb-caption",
|
|
153
160
|
children: /* @__PURE__ */ jsxs("div", {
|
|
154
161
|
className: "rb-flex rb-items-center rb-gap-2",
|
|
155
|
-
children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
|
|
163
|
+
/* @__PURE__ */ jsx("time", { children: props.formattedDate }),
|
|
164
|
+
moreDates ? /* @__PURE__ */ jsxs("span", {
|
|
165
|
+
className: "event-card-more-dates",
|
|
166
|
+
children: [" ", moreDates]
|
|
167
|
+
}) : null,
|
|
168
|
+
/* @__PURE__ */ jsx("p", {
|
|
169
|
+
className: "rb-pl-6",
|
|
170
|
+
children: props.formattedTime
|
|
171
|
+
}),
|
|
172
|
+
courseSessions ? /* @__PURE__ */ jsx("p", {
|
|
173
|
+
className: "event-card-course-sessions rb-pl-6",
|
|
174
|
+
children: courseSessions
|
|
175
|
+
}) : null
|
|
176
|
+
] })]
|
|
159
177
|
})
|
|
160
178
|
}),
|
|
161
179
|
/* @__PURE__ */ jsx(EventCardVenue, {
|
|
@@ -289,7 +307,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
289
307
|
const booking = eventCardBooking(event, presentation, buttonText, now);
|
|
290
308
|
const { cta } = booking;
|
|
291
309
|
const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
|
|
292
|
-
const title = event
|
|
310
|
+
const { title, runName } = eventDisplayTitle(event);
|
|
293
311
|
const summary = event.presentation?.summary ?? event.description;
|
|
294
312
|
const image = event.presentation?.image ?? null;
|
|
295
313
|
const category = event.eventCategory;
|
|
@@ -301,6 +319,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
301
319
|
cta,
|
|
302
320
|
cardClass,
|
|
303
321
|
title,
|
|
322
|
+
runName,
|
|
304
323
|
summary,
|
|
305
324
|
image,
|
|
306
325
|
category,
|
|
@@ -374,9 +393,13 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
|
|
|
374
393
|
children: /* @__PURE__ */ jsx("a", {
|
|
375
394
|
className: "event-title-link",
|
|
376
395
|
...resolveEventLinkProps(event),
|
|
377
|
-
children: event.title
|
|
396
|
+
children: eventDisplayTitle(event).title
|
|
378
397
|
})
|
|
379
398
|
}),
|
|
399
|
+
eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
|
|
400
|
+
className: "event-compact-row-run-name rb-caption",
|
|
401
|
+
children: eventDisplayTitle(event).runName
|
|
402
|
+
}) : null,
|
|
380
403
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
381
404
|
facts: event.facts,
|
|
382
405
|
context: "card"
|