@riverbankcms/sdk 0.174.1 → 0.176.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-YRmc-Yxz.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
- package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-D-l374tU.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
- package/dist/_dts/{client-B1J6Akyf.d.ts → client-D4p0J1lK.d.ts} +487 -11
- package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
- package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
- package/dist/_dts/{index-BLEKFHt1.d.ts → index-CKkkCgb6.d.ts} +1 -1
- package/dist/_dts/{index-yWDbUojb.d.ts → index-CoLcwjqJ.d.ts} +1 -1
- package/dist/_dts/{index-DpJm0NpL.d.ts → index-D-ai8IQd.d.ts} +4 -4
- package/dist/_dts/{index-CXZSy_9M.d.ts → index-DDsfmM4d.d.ts} +2 -2
- package/dist/_dts/{index-CF62FntA.d.ts → index-EJMo-KSo.d.ts} +2 -2
- package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-ZKEDvLuN.d.ts} +1 -1
- package/dist/_dts/{index-BgOr1Xyz.d.ts → index-tcPtGdag.d.ts} +3 -3
- package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
- package/dist/_dts/{request-BK-pHf0P.d.ts → request-B8jVdvgI.d.ts} +1993 -407
- package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-Be4iL6-F.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/gifting/client.d.ts +13 -1
- 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 +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 +3 -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 +5 -177
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/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 +2 -1
- package/dist/_dts/{types-CwmB2NHU.d.ts → types-BXMX4z2j.d.ts} +7 -7
- package/dist/_dts/{types-DjVNADXR.d.ts → types-DXY64Xh4.d.ts} +4 -4
- package/dist/_dts/{types-Dmow_FI6.d.ts → types-lwSgCWZ4.d.ts} +11 -2
- package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-C5xp--Fu.d.ts} +7 -4
- package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -16
- package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-MbvIo2jS.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +36 -11
- package/dist/client/DemoBookingPortalAccess-C9Ggcfx3.mjs +545 -0
- package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-BSMuSqg0.mjs} +15 -25
- package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-BTrmSyUB.mjs} +25 -17
- package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-B0WjGXsH.mjs} +4 -3
- package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-BEH4UbSL.mjs} +18 -8
- package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-B2EikR3f.mjs} +635 -359
- package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -22
- package/dist/client/{Page-BpeP9xdt.mjs → Page-F3lhDvw1.mjs} +1036 -953
- package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +4 -301
- package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-Bb7rPtSq.mjs} +37 -12
- package/dist/client/{accordion-nR7D4m1a.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-B8ohIj13.mjs} +229 -42
- package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +22 -15
- package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -1
- package/dist/client/{carousel-CVUOatsY.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-DE0K6E0R.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-76cdHyPL.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +145 -21
- package/dist/client/{context-CNlesLfF.mjs → context-R9p5c8IH.mjs} +76 -58
- package/dist/client/{course-DHIrXqNT.mjs → course-CUFVJEAc.mjs} +2 -2
- package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
- package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/display-4HYOb-AK.mjs +11844 -0
- package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-DWvSODTI.mjs} +176 -75
- package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-CfqIAhfN.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -3
- package/dist/client/gifting-CbNSrp7C.mjs +28 -0
- package/dist/client/gifting.client-B__bGhFc.mjs +404 -0
- package/dist/client/gifting.parts-CTA1sDW6.mjs +86 -0
- package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BwiNdgMU.mjs} +2951 -14395
- package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-B17WYHxZ.mjs} +7 -5
- package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +3 -3
- package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-D5mFWXtN.mjs → noop-CaQxI-Js.mjs} +94 -36
- package/dist/client/portal/client.mjs +313 -148
- package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-DTgZXOEq.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-y3LvxaiG.mjs} +4 -3
- package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-CIWYKz1V.mjs} +369 -246
- package/dist/client/rendering/client.mjs +25 -491
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -21
- package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-5LBhftWx.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
- package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-C-I29eaA.mjs} +64 -32
- package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DOm7vx0X.mjs +83 -0
- package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-GHTWUKD6.mjs} +56 -19
- package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CxDJ8P2r.mjs} +113 -35
- package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel--R0zVzZO.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BGu_2F50.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +32 -17
- package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -6
- package/dist/client/{view-BvuYmQJ5.mjs → view-3foOzGWR.mjs} +3 -2
- package/dist/client/{view-D9ObkFtz.mjs → view-BbzH5MQb.mjs} +128 -32
- package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-0xyUPWUB.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +61 -55
- package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +156 -143
- package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +4535 -2913
- package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-DbKozRSn.mjs} +527 -236
- package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +28 -5
- package/dist/preview-next/container-responsive.css +51 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BOuNcOcN.mjs → route-contract-BYezcMx5.mjs} +94 -12
- package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
- package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
- package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-VGgS6UvF.mjs} +13 -34
- package/dist/server/{client-CGtU5fHI.mjs → client-Bvag5OtW.mjs} +145 -22
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ChnkJSay.mjs → loadContent-CxASA3PE.mjs} +6 -9
- package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next.mjs +35 -9
- package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-CfSnAkCO.mjs} +67 -40
- package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +7 -15
- package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-D23o5QgC.mjs} +1068 -891
- package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
- package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BuoXWT9y.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-DmqxC8th.mjs → registry-CXRXsFSx.mjs} +19721 -19621
- 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 +7 -7
- package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-Bt_8IL1g.mjs → validation-CozQ7wE0.mjs} +4 -4
- package/dist/server/{version-DT_efohp.mjs → version-CgCWRFEY.mjs} +1 -1
- package/dist/styles/index.css +295 -37
- package/package.json +1 -1
- package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Et as eventListingBlockRuntime, Ft as toError, It as buildEventRuntimeFilters, Lt as getEventRuntimeFiltersKey } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { _i as groupEventsByDate, gi as formatTime, ii as eventDateOptions, ni as eventCalendarWeekStart, ti as buildCalendarViewport, za as getBlockApiReadStage } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { Kt as formatDate, Tt as calendarMonthDate, _ as calendarQueryKey, cn as getLocalScheduleDate, g as calendarPageResponseError, h as calendarMonthKey, v as calendarWindowBounds, x as planCalendarMonthRanges, y as calendarWindowMonths$1 } from "./noop-CaQxI-Js.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
6
6
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-xrjaKaCj.mjs";
|
|
7
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
7
8
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import { n as eventDisplayTitleText } from "./course-
|
|
9
|
-
import { a as
|
|
9
|
+
import { n as eventDisplayTitleText } from "./course-CUFVJEAc.mjs";
|
|
10
|
+
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-C6CSVfEB.mjs";
|
|
10
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
11
12
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
12
13
|
import { t as TabBarFragment } from "./TabBarFragment-BqfRLojo.mjs";
|
|
13
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-
|
|
14
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-DxIJ--JZ.mjs";
|
|
14
15
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
15
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
16
17
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -352,7 +353,7 @@ function prepareCalendarRead(siteId, stage, filters, readProfile) {
|
|
|
352
353
|
* The reducer owns month data and request ownership. The hook only performs I/O.
|
|
353
354
|
* Requests for other months remain useful until the query context changes.
|
|
354
355
|
*/
|
|
355
|
-
function useCalendarEventCache({ readProfile = "listing-card", viewDate, calendarWindow, preloadMonths = 1, filters, timeZone }) {
|
|
356
|
+
function useCalendarEventCache({ readProfile = "listing-card", viewDate, calendarWindow, enabled = true, preloadMonths = 1, filters, timeZone }) {
|
|
356
357
|
const { getPublicEventCalendarWindow, config } = useBlockApi();
|
|
357
358
|
const stage = getBlockApiReadStage(config);
|
|
358
359
|
const filtersKey = getEventRuntimeFiltersKey(filters);
|
|
@@ -392,7 +393,8 @@ function useCalendarEventCache({ readProfile = "listing-card", viewDate, calenda
|
|
|
392
393
|
preloadMonths
|
|
393
394
|
]);
|
|
394
395
|
const displayMonths = useMemo(() => calendarWindowMonths(viewDate, 1), [viewDate.year, viewDate.month]);
|
|
395
|
-
const request = useMemo(() => snapshot.context === context && context.preparation.kind === "ready" ? planCalendarRequest(snapshot.cache, months, false) : null, [
|
|
396
|
+
const request = useMemo(() => enabled && snapshot.context === context && context.preparation.kind === "ready" ? planCalendarRequest(snapshot.cache, months, false) : null, [
|
|
397
|
+
enabled,
|
|
396
398
|
snapshot,
|
|
397
399
|
context,
|
|
398
400
|
months
|
|
@@ -473,7 +475,7 @@ function useCalendarEventCache({ readProfile = "listing-card", viewDate, calenda
|
|
|
473
475
|
retryCurrentView
|
|
474
476
|
};
|
|
475
477
|
}
|
|
476
|
-
function useCalendarEvents({ readProfile, siteId: _siteId, calendarWindow, view = "month", startOfWeek, preloadMonths = 1, filters, calendarContext }) {
|
|
478
|
+
function useCalendarEvents({ readProfile, siteId: _siteId, calendarWindow, enabled, view = "month", startOfWeek, preloadMonths = 1, filters, calendarContext }) {
|
|
477
479
|
const today = useCalendarToday(calendarContext);
|
|
478
480
|
const { viewDate, viewport, goToDate, goToPrevious, goToNext, goToToday } = useCalendarViewport({
|
|
479
481
|
view,
|
|
@@ -486,6 +488,7 @@ function useCalendarEvents({ readProfile, siteId: _siteId, calendarWindow, view
|
|
|
486
488
|
readProfile,
|
|
487
489
|
viewDate,
|
|
488
490
|
calendarWindow,
|
|
491
|
+
enabled,
|
|
489
492
|
preloadMonths,
|
|
490
493
|
filters,
|
|
491
494
|
timeZone: calendarContext.timeZone
|
|
@@ -818,8 +821,7 @@ function toEventCombinedControllerProps(props) {
|
|
|
818
821
|
buttonText: props.render.display.buttonText,
|
|
819
822
|
emptyMessage: props.render.display.emptyMessage,
|
|
820
823
|
className: props.render.display.className ?? void 0,
|
|
821
|
-
calendarContext: props.render.hydration.calendarContext
|
|
822
|
-
calendarWindow: props.render.hydration.calendarWindow
|
|
824
|
+
calendarContext: props.render.hydration.calendarContext
|
|
823
825
|
};
|
|
824
826
|
}
|
|
825
827
|
const EventCombinedCalendarHeader = ({ calendarView, title, loadState, onPrevious, onNext, onToday, buttonVariant }) => /* @__PURE__ */ jsxs("div", {
|
|
@@ -857,7 +859,7 @@ const EventCombinedCalendarHeader = ({ calendarView, title, loadState, onPreviou
|
|
|
857
859
|
label: "Today"
|
|
858
860
|
})]
|
|
859
861
|
});
|
|
860
|
-
const EventCombinedCalendarTab = ({ monthLook, calendarTabViews, calendarView, calendarViewOptions, onCalendarViewChange, calendarEvents, eventsByDate, viewDate, viewport, calendarLoadState, dayNames, calendarContext, today, goToPrevious, goToNext, goToToday, emptyMessage, showCapacity, showVenue, cardRole, buttonVariant, buttonText, showEmptyState }) => /* @__PURE__ */ jsxs(EventModalProvider, { children: [/* @__PURE__ */ jsxs("div", {
|
|
862
|
+
const EventCombinedCalendarTab = ({ monthLook, calendarTabViews, calendarView, calendarViewOptions, onCalendarViewChange, calendarEvents, eventsByDate, viewDate, viewport, calendarLoadState, dayNames, calendarContext, today, goToPrevious, goToNext, goToToday, onRetry, emptyMessage, showCapacity, showVenue, cardRole, buttonVariant, buttonText, showEmptyState }) => /* @__PURE__ */ jsxs(EventModalProvider, { children: [/* @__PURE__ */ jsxs("div", {
|
|
861
863
|
className: "event-combined-content event-calendar",
|
|
862
864
|
...monthLook?.hooks,
|
|
863
865
|
children: [
|
|
@@ -879,6 +881,10 @@ const EventCombinedCalendarTab = ({ monthLook, calendarTabViews, calendarView, c
|
|
|
879
881
|
onToday: goToToday,
|
|
880
882
|
buttonVariant
|
|
881
883
|
}),
|
|
884
|
+
calendarLoadState.kind === "error" ? /* @__PURE__ */ jsx(CalendarLoadFailure, {
|
|
885
|
+
buttonVariant,
|
|
886
|
+
onRetry
|
|
887
|
+
}) : null,
|
|
882
888
|
monthLook && viewport.kind === "month" ? /* @__PURE__ */ jsx(MonthLookClient, {
|
|
883
889
|
...monthLook,
|
|
884
890
|
days: viewport.days,
|
|
@@ -894,6 +900,7 @@ const EventCombinedCalendarTab = ({ monthLook, calendarTabViews, calendarView, c
|
|
|
894
900
|
viewDate
|
|
895
901
|
}),
|
|
896
902
|
emptyMessage,
|
|
903
|
+
showEmptyState,
|
|
897
904
|
showCapacity,
|
|
898
905
|
buttonVariant,
|
|
899
906
|
buttonText
|
|
@@ -965,7 +972,7 @@ function useCombinedEventList(source, paginationAction, presentation) {
|
|
|
965
972
|
const EventCombinedClient = ({ combinedLook, events: initialEvents, siteId, listLayout = "stack", listColumns = "3", eventsPerPage = 12, paginationAction = {
|
|
966
973
|
kind: "loadMore",
|
|
967
974
|
label: "Load more events"
|
|
968
|
-
}, startOfWeek = "monday", calendarTabViews = "both", defaultCalendarView, showFilters, showCategoryFilter = "auto", showVenueFilter, showStaffFilter, eventSurface, filterEventPresets, scheduleScope, seriesIds, filterCategoryIds, filterStaffMemberId, filterVenueId, showVenue, showMap, showCapacity, cardRole, buttonVariant = "primary", buttonText = "Book", emptyMessage = "No upcoming events scheduled.", className, calendarContext
|
|
975
|
+
}, startOfWeek = "monday", calendarTabViews = "both", defaultCalendarView, showFilters, showCategoryFilter = "auto", showVenueFilter, showStaffFilter, eventSurface, filterEventPresets, scheduleScope, seriesIds, filterCategoryIds, filterStaffMemberId, filterVenueId, showVenue, showMap, showCapacity, cardRole, buttonVariant = "primary", buttonText = "Book", emptyMessage = "No upcoming events scheduled.", className, calendarContext }) => {
|
|
969
976
|
const hydrationReady = useHydrationReady();
|
|
970
977
|
const resolvedShowVenue = showVenue ?? true;
|
|
971
978
|
const resolvedShowCapacity = showCapacity ?? true;
|
|
@@ -1005,14 +1012,14 @@ const EventCombinedClient = ({ combinedLook, events: initialEvents, siteId, list
|
|
|
1005
1012
|
buttonText,
|
|
1006
1013
|
emptyMessage
|
|
1007
1014
|
}, paginationAction, combinedLook?.list);
|
|
1008
|
-
const { events: calendarEventsRaw, viewDate, today, viewport, loadState: calendarLoadState, goToPrevious, goToNext, goToToday } = useCalendarEvents({
|
|
1015
|
+
const { events: calendarEventsRaw, viewDate, today, viewport, loadState: calendarLoadState, goToPrevious, goToNext, goToToday, retryCurrentView } = useCalendarEvents({
|
|
1009
1016
|
siteId,
|
|
1017
|
+
enabled: activeTab === "calendar",
|
|
1010
1018
|
view: calendarView,
|
|
1011
1019
|
startOfWeek,
|
|
1012
1020
|
preloadMonths: 1,
|
|
1013
1021
|
filters: list.filters,
|
|
1014
|
-
calendarContext
|
|
1015
|
-
calendarWindow
|
|
1022
|
+
calendarContext
|
|
1016
1023
|
});
|
|
1017
1024
|
const eventsByDate = useMemo(() => groupEventsByDate(calendarEventsRaw, calendarContext.timeZone), [calendarContext.timeZone, calendarEventsRaw]);
|
|
1018
1025
|
const dayNames = useMemo(() => getOrderedDayNames(startOfWeek), [startOfWeek]);
|
|
@@ -1038,6 +1045,7 @@ const EventCombinedClient = ({ combinedLook, events: initialEvents, siteId, list
|
|
|
1038
1045
|
goToPrevious,
|
|
1039
1046
|
goToNext,
|
|
1040
1047
|
goToToday,
|
|
1048
|
+
onRetry: retryCurrentView,
|
|
1041
1049
|
emptyMessage,
|
|
1042
1050
|
showCapacity: resolvedShowCapacity,
|
|
1043
1051
|
showVenue: resolvedShowVenue,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Kt as resolveCardListSchedule, Ut as CardListContentPart, Wt as CardListLeadDate, Yt as EventQuickFacts, qt as selectCardListPresentation, sn as formatEventPrice } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { fo as formatEventRemainingPlaces, go as getEventAvailabilityStatus, hi as formatEventWeekdayTime, ii as eventDateOptions, li as formatEventCompactDateRail, mi as formatEventTimeRange } from "./display-4HYOb-AK.mjs";
|
|
4
4
|
import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, st as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
5
|
+
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
5
6
|
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
-
import { c as resolveEventLinkProps, s as resolveEventCta, t as eventDisplayTitle } from "./course-
|
|
7
|
+
import { c as resolveEventLinkProps, s as resolveEventCta, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
|
|
7
8
|
import React from "react";
|
|
8
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-8Ij7vuxY.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.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 { It as buildEventRuntimeFilters } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-8Ij7vuxY.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-DxIJ--JZ.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,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $r as
|
|
4
|
-
import { r as
|
|
2
|
+
import { Jt as MediaNodeServer, Yt as EventQuickFacts, in as weekColumnDays, rn as groupEventsByWeek, sn as formatEventPrice } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { $r as eventVenuePlace, Qo as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Tr as ImagePresets, _i as groupEventsByDate, ai as eventLocalDateKey, fi as formatEventNextDateFact, ii as eventDateOptions, li as formatEventCompactDateRail, mi as formatEventTimeRange, si as formatDate } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
5
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-B_hcuT06.mjs";
|
|
5
6
|
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
-
import { c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, r as formatCourseDatesAfter, s as resolveEventCta, t as eventDisplayTitle } from "./course-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, r as formatCourseDatesAfter, s as resolveEventCta, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
|
|
8
|
+
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-B0WjGXsH.mjs";
|
|
9
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-BfsVyPvB.mjs";
|
|
9
10
|
import "react";
|
|
10
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
@@ -204,7 +205,7 @@ function EventCardContent(props) {
|
|
|
204
205
|
}
|
|
205
206
|
function EventCardVenue(props) {
|
|
206
207
|
const venue = props.showVenue ? props.event.venue : null;
|
|
207
|
-
if (!venue) return null;
|
|
208
|
+
if (!venue) return props.showVenue && props.event.addressAfterBooking ? /* @__PURE__ */ jsx(AddressAfterBookingLine, {}) : null;
|
|
208
209
|
const { place } = eventVenuePlace(venue);
|
|
209
210
|
return /* @__PURE__ */ jsxs("div", {
|
|
210
211
|
className: "rb-mb-3",
|
|
@@ -217,6 +218,15 @@ function EventCardVenue(props) {
|
|
|
217
218
|
})]
|
|
218
219
|
});
|
|
219
220
|
}
|
|
221
|
+
function AddressAfterBookingLine() {
|
|
222
|
+
return /* @__PURE__ */ jsx("div", {
|
|
223
|
+
className: "rb-mb-3",
|
|
224
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
225
|
+
className: "rb-flex rb-items-center rb-gap-2 rb-caption",
|
|
226
|
+
children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsx("span", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL })]
|
|
227
|
+
})
|
|
228
|
+
});
|
|
229
|
+
}
|
|
220
230
|
function EventCardFooter(props) {
|
|
221
231
|
return /* @__PURE__ */ jsxs("div", {
|
|
222
232
|
...listLookSlot(props, "item-actions"),
|
|
@@ -467,7 +477,7 @@ const EmptyState = ({ message = "No upcoming events scheduled.", className, hasA
|
|
|
467
477
|
}), hasActiveFilters && onResetFilters && /* @__PURE__ */ jsx("button", {
|
|
468
478
|
type: "button",
|
|
469
479
|
onClick: onResetFilters,
|
|
470
|
-
className: "event-
|
|
480
|
+
className: "rb-item-text-link event-list-empty-action",
|
|
471
481
|
children: resetFiltersText
|
|
472
482
|
})]
|
|
473
483
|
});
|