@riverbankcms/sdk 0.162.0 → 0.164.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/CHANGELOG.md +9 -0
- package/README.md +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-CubPwupc.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-CDzsagB2.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-CPRQbRCI.d.ts} +2 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-CbeYTSry.d.ts} +13 -41
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types--uYRIcIF.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-DJQYAOsv.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-CKkhBwgJ.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata--qd7NCIA.d.ts} +2 -2
- package/dist/_dts/{index-DEu85xBt.d.ts → index-BZE-1azr.d.ts} +1 -1
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-BpEbwDM7.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-CjdIn9-_.d.ts} +2 -2
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DYQFmf--.d.ts} +4 -3
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-D_pQO-AS.d.ts} +21723 -21361
- package/dist/_dts/{index-Du1IRglc.d.ts → index-DriYVLfT.d.ts} +2 -2
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-JS8WYgD3.d.ts} +31248 -30975
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-wegfy7lf.d.ts} +3 -3
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DUi94Qfk.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-JDE0ry6T.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- 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/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 +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
- 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/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 +32 -52
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DiciZDrk.d.ts} +3 -3
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-DubJnBnI.d.ts} +7 -7
- package/dist/_dts/{types-CfNG5koF.d.ts → types-W40f2olO.d.ts} +3 -2
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-BF4_zNkR.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-64hFxF02.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-CSQyFm9J.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-Bvkx8Z7Y.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-3PhxDxgR.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Qw780EfW.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-DWoboRW5.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-C98ucpcP.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-DHRlFfkp.mjs} +2 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-hrSyTApW.mjs} +102 -22
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-C3t7H13W.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-Cp11sBX_.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-Dd5QHIAf.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-ByT88VHR.mjs} +18 -22
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-BsepG5Vv.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-R4JMT4yd.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-Dub71o3c.mjs} +956 -378
- package/dist/client/ProtectedSubmitButton-DGbgGvdh.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CRsKTQV-.mjs +139 -0
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bp7MyutT.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-C4WJyybx.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-BGVwNwE-.mjs} +2 -898
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-vCG_JC5t.mjs} +1 -1
- package/dist/client/altchaProtection-BWchRM3v.mjs +12 -0
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-CHTbcZJM.mjs} +23 -56
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-BxbUbzUr.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-FM1mkkL0.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-ChoLiWwD.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-BDFhbh9j.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-x3HOke6T.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-BibhwnTd.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-CE4jUi0G.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-BFwxgZpB.mjs → context-BNAM7NsW.mjs} +17 -3
- package/dist/client/{cta-DtA42Xio.mjs → cta-ChiN1Vgg.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-QwBSo0hK.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-NwKJk6gn.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-D4zqEBDl.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-jFyFjOIC.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-BK_jVv3R.mjs} +37 -55
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSkzejQh.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-BG-BEaYh.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhIwXAKe.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-DQtyO1Xj.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-DRTz8X0M.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-GXqjObPC.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-CoKNba2e.mjs} +33 -24
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-magB_epJ.mjs} +6 -5
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BiloOyjS.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-BMQCPHT3.mjs} +2 -2
- package/dist/client/mediaAssets-BX-vWwQc.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-CdqGYlWl.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-8orCez1z.mjs} +99 -84
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-D8NgHY_F.mjs} +11 -7
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-BhBNsS3n.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-C2vZse15.mjs} +3 -3
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-CQ0k0fbH.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-Xlr1P0x9.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BsCao6X4.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-Cc-PmbEe.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-DikkDJ9x.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BMsWpx8y.mjs +894 -0
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-BpLZo3bC.mjs} +27 -24
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-WuMYrBm3.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-DNx6b07x.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-DMUkBtIO.mjs} +3517 -3147
- package/dist/client/{shop-CF0dhnfH.mjs → shop-DyXtB5TD.mjs} +3 -3
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-CbBsS1kD.mjs} +1 -1
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-xjWH7-Ym.mjs} +11 -11
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-QOKqQPgK.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-BQdm441g.mjs} +62 -34
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-CyW6MU48.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-BLHYJ8S7.mjs} +755 -35
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-BgdkhRuA.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-wmdo6uZ8.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CUExAee1.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-BRM-OoTN.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-BEIvL31G.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-Dk3g64we.mjs} +6 -6
- package/dist/client/{view-DMyTchi7.mjs → view-BnaOmrap.mjs} +4 -4
- package/dist/client/{view-BpBjo9Te.mjs → view-vhKGFfC3.mjs} +7 -7
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-xqU4q63H.mjs} +14 -14
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-43wIAWr4.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-C3AQVxQt.mjs} +74 -72
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-C-1zDCR_.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-B47yHFL0.mjs} +371 -1433
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-C6Rhm2NQ.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-g7NPrsGp.mjs} +462 -110
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-By_zfrS5.mjs} +164988 -163471
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-Cjwxv90x.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-BG2HYvQj.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-BiSyYyyr.mjs} +10854 -9509
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-DnWpeDp2.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-D5tHZEz5.mjs} +40 -42
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Iy7g11iP.mjs} +17 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-BVJGgUT0.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-CiKaE8ms.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs} +725 -18
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-BuintpdO.mjs} +6 -4
- package/dist/server/loadPage-BwjncpJf.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-Dk4wea8M.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-BDiQWM7D.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-DVemf-GV.mjs} +231 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-DubLNgRH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Bnbwoe5n.mjs} +53 -28
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-D3Fc5TKk.mjs} +85 -70
- package/dist/server/{registry-Digv02oV.mjs → registry-zjd1P2Dl.mjs} +127 -59
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-CZJ--nH6.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-BlTWmTSl.mjs} +4163 -3793
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-yHytcXIB.mjs} +33 -20
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-D0uCNZ7E.mjs} +159 -107
- package/dist/server/{src-08GY1njw.mjs → src-cbbK3Bho.mjs} +547 -147
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-BdY8lP-K.mjs} +3 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-CGH-Xs4E.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-DoOG6F13.mjs} +1 -1
- package/dist/styles/index.css +399 -112
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-C39F9KaB.d.ts +0 -77
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types
|
|
3
|
-
import { c as NodeDefinition } from "./index-
|
|
1
|
+
import { c as SdkSiteLayoutConfig } from "./index-D_pQO-AS.js";
|
|
2
|
+
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types--uYRIcIF.js";
|
|
3
|
+
import { c as NodeDefinition } from "./index-DYQFmf--.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/config/types.d.ts
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
3
|
-
import { _ as RiverbankClient } from "./types-
|
|
4
|
-
import {
|
|
5
|
-
import { i as LoadContentResult } from "./loadContent-
|
|
6
|
-
import { t as Metadata } from "./generatePageMetadata
|
|
7
|
-
import { c as RiverbankContentLoadError } from "./resolvePageContent-
|
|
1
|
+
import { Ir as Theme } from "./index-JS8WYgD3.js";
|
|
2
|
+
import { u as RiverbankSiteConfig } from "./types-DiciZDrk.js";
|
|
3
|
+
import { _ as RiverbankClient } from "./types-W40f2olO.js";
|
|
4
|
+
import { $ as DataLoaderSearchParams, E as BlockOverrideRegistrations, X as DataLoaderOverrides, a as SdkRenderingMode, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-CDzsagB2.js";
|
|
5
|
+
import { i as LoadContentResult } from "./loadContent-DUi94Qfk.js";
|
|
6
|
+
import { t as Metadata } from "./generatePageMetadata--qd7NCIA.js";
|
|
7
|
+
import { c as RiverbankContentLoadError } from "./resolvePageContent-JDE0ry6T.js";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
|
|
10
10
|
//#region .cache/declarations/sdk/src/next/content-load-failure.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as RoutableContentResponse, C as PublicPassesResponse, D as PublicTeamMembersResponse, I as SiteResponse, L as SitemapRoutesResponse, M as RouteOutcomeResponse, O as PublicWeeklySlotAvailabilityResponse, R as ResolveEventOccurrenceResponse, S as PublicMembershipsResponse, T as PublicProductsResponse, _ as PublicEndpointName, b as PublicFormResponse, g as PublicBookingServicesResponse, i as CheckRedirectResponse, j as RouteDecisionResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse, v as PublicEventDetailsResponse, w as PublicProductCategorySelector, x as PublicFormsResponse, y as PublicEventsResponse, z as ResolveEventRunResponse } from "./contracts-
|
|
1
|
+
import { ho as EventPageSurfaceSubjectRefWire, ir as CalendarWindowRequest, rr as CalendarWindowPage } from "./index-JS8WYgD3.js";
|
|
2
|
+
import { A as RoutableContentResponse, C as PublicPassesResponse, D as PublicTeamMembersResponse, I as SiteResponse, L as SitemapRoutesResponse, M as RouteOutcomeResponse, O as PublicWeeklySlotAvailabilityResponse, R as ResolveEventOccurrenceResponse, S as PublicMembershipsResponse, T as PublicProductsResponse, _ as PublicEndpointName, b as PublicFormResponse, g as PublicBookingServicesResponse, i as CheckRedirectResponse, j as RouteDecisionResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse, v as PublicEventDetailsResponse, w as PublicProductCategorySelector, x as PublicFormsResponse, y as PublicEventsResponse, z as ResolveEventRunResponse } from "./contracts-DJQYAOsv.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/runtimeCacheKeys.d.ts
|
|
5
5
|
declare const publishedRuntimeCacheKeyBrand: unique symbol;
|
|
@@ -803,6 +803,7 @@ interface RiverbankClient {
|
|
|
803
803
|
/**
|
|
804
804
|
* Force clear the cache
|
|
805
805
|
*/
|
|
806
|
+
clearCacheForTags(tags: readonly string[]): void;
|
|
806
807
|
clearCache(): void;
|
|
807
808
|
/**
|
|
808
809
|
* Get the detected API key type based on the key prefix.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types
|
|
3
|
-
import { u as BindingTransformName } from "./index-
|
|
4
|
-
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-
|
|
1
|
+
import { m as NavigationConfigItemInput, p as NavigationAuthoringLinkInput } from "./index-D_pQO-AS.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types--uYRIcIF.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-DYQFmf--.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-DiciZDrk.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/content-validation.d.ts
|
package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-64hFxF02.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import "./site-styles-
|
|
4
|
-
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-
|
|
5
|
-
import {
|
|
2
|
+
import { Zt as parseSurfaceTree } from "./schema-DMUkBtIO.mjs";
|
|
3
|
+
import "./site-styles-BLHYJ8S7.mjs";
|
|
4
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-CdqGYlWl.mjs";
|
|
5
|
+
import { r as toBlocksMediaAssets } from "./mediaAssets-BX-vWwQc.mjs";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
//#region src/rendering/islands/deferredVideoEmbeds.ts
|
|
8
8
|
const DEFERRED_IFRAME_SELECTOR = "iframe[data-rb-video-embed-deferred=\"true\"]";
|
|
@@ -77,22 +77,22 @@ function isSafeHttpsUrl(value) {
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
79
79
|
const defaultEnhancerLoaders = {
|
|
80
|
-
accordion: () => import("./accordion-
|
|
81
|
-
headerSection: () => import("./headerSection-
|
|
82
|
-
carousel: () => import("./carousel-
|
|
83
|
-
form: () => import("./form-
|
|
84
|
-
"booking-form": () => import("./bookingForm-
|
|
85
|
-
"event-registration": () => import("./eventRegistration-
|
|
86
|
-
"event-details": () => import("./eventDetails-
|
|
87
|
-
"event-listing": () => import("./eventListing-
|
|
88
|
-
"event-calendar": () => import("./eventCalendar-
|
|
89
|
-
"event-combined": () => import("./eventCombined-
|
|
90
|
-
"product-list": () => import("./productList-
|
|
91
|
-
"product-detail": () => import("./productDetail-
|
|
92
|
-
"cart": () => import("./cart-
|
|
93
|
-
"checkout": () => import("./checkout-
|
|
94
|
-
shop: () => import("./shop-
|
|
95
|
-
"newsletter-form": () => import("./newsletterForm-
|
|
80
|
+
accordion: () => import("./accordion-vCG_JC5t.mjs"),
|
|
81
|
+
headerSection: () => import("./headerSection-BMQCPHT3.mjs"),
|
|
82
|
+
carousel: () => import("./carousel-FM1mkkL0.mjs"),
|
|
83
|
+
form: () => import("./form-GXqjObPC.mjs"),
|
|
84
|
+
"booking-form": () => import("./bookingForm-BxbUbzUr.mjs"),
|
|
85
|
+
"event-registration": () => import("./eventRegistration-DRTz8X0M.mjs"),
|
|
86
|
+
"event-details": () => import("./eventDetails-BhIwXAKe.mjs"),
|
|
87
|
+
"event-listing": () => import("./eventListing-DQtyO1Xj.mjs"),
|
|
88
|
+
"event-calendar": () => import("./eventCalendar-DSkzejQh.mjs"),
|
|
89
|
+
"event-combined": () => import("./eventCombined-BG-BEaYh.mjs"),
|
|
90
|
+
"product-list": () => import("./productList-Cc-PmbEe.mjs"),
|
|
91
|
+
"product-detail": () => import("./productDetail-BsCao6X4.mjs"),
|
|
92
|
+
"cart": () => import("./cart-BDFhbh9j.mjs"),
|
|
93
|
+
"checkout": () => import("./checkout-BibhwnTd.mjs"),
|
|
94
|
+
shop: () => import("./shop-DyXtB5TD.mjs"),
|
|
95
|
+
"newsletter-form": () => import("./newsletterForm-BhBNsS3n.mjs")
|
|
96
96
|
};
|
|
97
97
|
const DEFAULT_MAX_RETRIES = 2;
|
|
98
98
|
const RETRY_DELAYS_MS = [250, 1e3];
|
package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-CSQyFm9J.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { Kt as RichText } from "./wizardSteps-
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-xqU4q63H.mjs";
|
|
4
4
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
5
5
|
import { useCallback, useEffect, useId, useReducer, useRef } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, v as isToday } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Yt as formatEventPrice } from "./shop.interactive-BQdm441g.mjs";
|
|
4
4
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
5
|
-
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-
|
|
6
|
-
import { ut as formatDate } from "./noop-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { i as
|
|
5
|
+
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-xqU4q63H.mjs";
|
|
6
|
+
import { ut as formatDate } from "./noop-C2vZse15.mjs";
|
|
7
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-ChiN1Vgg.mjs";
|
|
8
|
+
import { o as formatEventTeacherLine } from "./EventItem-hrSyTApW.mjs";
|
|
9
|
+
import { i as ThemedButtonLink } from "./ThemedButton-BGVwNwE-.mjs";
|
|
10
10
|
import "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-BGVwNwE-.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
|
package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
2
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-
|
|
5
|
-
import {
|
|
3
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-C2vZse15.mjs";
|
|
4
|
+
import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
|
|
5
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-3PhxDxgR.mjs";
|
|
6
6
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
9
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-BNAM7NsW.mjs";
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-NwKJk6gn.mjs";
|
|
10
10
|
import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../core/src/site-terms.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-BGVwNwE-.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { g as resolveCalendarReadProfile } from "./noop-
|
|
6
|
-
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { i as useEventCollectionFilters } from "./useEventPagination-
|
|
10
|
-
import { n as EventListingController } from "./EventListing.client-
|
|
11
|
-
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-
|
|
3
|
+
import { Jt as buildEventListWeek, Nt as buildEventRuntimeFilters, Tt as buildEventCalendarListingRender } from "./shop.interactive-BQdm441g.mjs";
|
|
4
|
+
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-xqU4q63H.mjs";
|
|
5
|
+
import { g as resolveCalendarReadProfile } from "./noop-C2vZse15.mjs";
|
|
6
|
+
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-BgdkhRuA.mjs";
|
|
7
|
+
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
|
|
8
|
+
import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
|
|
9
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-Dk3g64we.mjs";
|
|
10
|
+
import { n as EventListingController } from "./EventListing.client-Cp11sBX_.mjs";
|
|
11
|
+
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-C98ucpcP.mjs";
|
|
12
12
|
import React, { useEffect, useMemo, useState } from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { Nt as buildEventRuntimeFilters, Pt as getEventRuntimeFiltersKey, jt as eventListingBlockRuntime } from "./shop.interactive-BQdm441g.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-xqU4q63H.mjs";
|
|
5
|
+
import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-C2vZse15.mjs";
|
|
6
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
|
|
7
|
+
import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
9
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
10
|
-
import { t as TabBarFragment } from "./TabBarFragment-
|
|
11
|
-
import { n as useBlockApi } from "./context-
|
|
12
|
-
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-
|
|
10
|
+
import { t as TabBarFragment } from "./TabBarFragment-C4WJyybx.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
|
|
12
|
+
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Dk3g64we.mjs";
|
|
13
13
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { t as checkBrowserStripeKey } from "./purchase-BMsWpx8y.mjs";
|
|
3
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-BGVwNwE-.mjs";
|
|
3
4
|
import { useEffect, useRef, useState } from "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
//#region \0rolldown/runtime.js
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { Bt as CardListContentPart, Ht as resolveCardListSchedule, Ut as selectCardListPresentation, Vt as CardListLeadDate, Yt as formatEventPrice } from "./shop.interactive-BQdm441g.mjs";
|
|
3
|
+
import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-xqU4q63H.mjs";
|
|
4
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-ChiN1Vgg.mjs";
|
|
5
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-BGVwNwE-.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
@@ -21,6 +21,55 @@ function formatEventTeacherLine(event) {
|
|
|
21
21
|
return names ? `with ${names}` : null;
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
|
|
25
|
+
function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
26
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
27
|
+
className,
|
|
28
|
+
width: size,
|
|
29
|
+
height: size,
|
|
30
|
+
viewBox: "0 0 24 24",
|
|
31
|
+
fill: "none",
|
|
32
|
+
stroke: "currentColor",
|
|
33
|
+
strokeWidth,
|
|
34
|
+
strokeLinecap: "round",
|
|
35
|
+
strokeLinejoin: "round",
|
|
36
|
+
"aria-hidden": "true",
|
|
37
|
+
focusable: "false",
|
|
38
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }), /* @__PURE__ */ jsx("circle", {
|
|
39
|
+
cx: "12",
|
|
40
|
+
cy: "10",
|
|
41
|
+
r: "3"
|
|
42
|
+
})]
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
46
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
47
|
+
className,
|
|
48
|
+
width: size,
|
|
49
|
+
height: size,
|
|
50
|
+
viewBox: "0 0 24 24",
|
|
51
|
+
fill: "none",
|
|
52
|
+
stroke: "currentColor",
|
|
53
|
+
strokeWidth,
|
|
54
|
+
strokeLinecap: "round",
|
|
55
|
+
strokeLinejoin: "round",
|
|
56
|
+
"aria-hidden": "true",
|
|
57
|
+
focusable: "false",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ jsx("rect", {
|
|
60
|
+
x: "3",
|
|
61
|
+
y: "4",
|
|
62
|
+
width: "18",
|
|
63
|
+
height: "18",
|
|
64
|
+
rx: "2"
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
|
|
67
|
+
/* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
|
|
68
|
+
/* @__PURE__ */ jsx("path", { d: "M3 10h18" })
|
|
69
|
+
]
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
24
73
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventItem.tsx
|
|
25
74
|
/** Arrangement content choices are data, ready for other live offering lists to reuse. */
|
|
26
75
|
const eventItemParts = {
|
|
@@ -53,6 +102,8 @@ const eventItemParts = {
|
|
|
53
102
|
"date",
|
|
54
103
|
"title",
|
|
55
104
|
"meta",
|
|
105
|
+
"time",
|
|
106
|
+
"places",
|
|
56
107
|
"action"
|
|
57
108
|
],
|
|
58
109
|
"month-day": [
|
|
@@ -65,20 +116,41 @@ const eventItemParts = {
|
|
|
65
116
|
function eventItemFacts(props) {
|
|
66
117
|
const options = eventDateOptions(props.event);
|
|
67
118
|
const availability = getEventAvailabilityStatus(props.event);
|
|
119
|
+
const time = formatEventTimeRange(props.event, options);
|
|
120
|
+
const price = formatEventPrice(props.event);
|
|
68
121
|
return {
|
|
69
122
|
date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
|
|
70
|
-
time
|
|
71
|
-
price
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
123
|
+
time,
|
|
124
|
+
price,
|
|
125
|
+
link: resolveEventLinkProps(props.event),
|
|
126
|
+
meta: eventItemMeta(props, {
|
|
127
|
+
time,
|
|
128
|
+
price
|
|
129
|
+
}),
|
|
130
|
+
venueIcon: props.arrangement === "compact" && props.showVenue !== false && Boolean(props.event.venue),
|
|
77
131
|
places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
|
|
78
132
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
79
133
|
description: props.event.presentation?.summary ?? props.event.description
|
|
80
134
|
};
|
|
81
135
|
}
|
|
136
|
+
/** Compact rows keep pricing in the details rail and time in the action rail. */
|
|
137
|
+
function eventItemMeta(props, formatted) {
|
|
138
|
+
const parts = props.parts ?? eventItemParts[props.arrangement];
|
|
139
|
+
const venue = props.showVenue !== false ? props.event.venue?.name : null;
|
|
140
|
+
const teacher = formatEventTeacherLine(props.event);
|
|
141
|
+
const time = parts.includes("time") ? null : formatted.time;
|
|
142
|
+
const price = props.arrangement === "compact" && !parts.includes("price") ? formatted.price : null;
|
|
143
|
+
return (props.arrangement === "compact" ? [
|
|
144
|
+
venue,
|
|
145
|
+
teacher,
|
|
146
|
+
price,
|
|
147
|
+
time
|
|
148
|
+
] : [
|
|
149
|
+
time,
|
|
150
|
+
teacher,
|
|
151
|
+
venue
|
|
152
|
+
]).filter(Boolean).join(" · ");
|
|
153
|
+
}
|
|
82
154
|
/**
|
|
83
155
|
* Keep one RSC component boundary per item. Re-forwarding shared presentation
|
|
84
156
|
* props through layout/part components multiplies React's development debug
|
|
@@ -112,21 +184,28 @@ function renderCalendarItem(props) {
|
|
|
112
184
|
...listLookSlot(props, props.arrangement === "grid" ? "item-body" : "what"),
|
|
113
185
|
children: parts.filter(body).map(renderPart)
|
|
114
186
|
}),
|
|
115
|
-
parts.filter((part) => [
|
|
187
|
+
renderCalendarTrailingParts(props, parts.filter((part) => [
|
|
116
188
|
"time",
|
|
117
189
|
"places",
|
|
118
190
|
"price",
|
|
119
191
|
"action"
|
|
120
|
-
].includes(part) && !body(part))
|
|
192
|
+
].includes(part) && !body(part)), renderPart)
|
|
121
193
|
]
|
|
122
194
|
});
|
|
123
195
|
}
|
|
196
|
+
function renderCalendarTrailingParts(props, parts, renderPart) {
|
|
197
|
+
const content = parts.map(renderPart);
|
|
198
|
+
return props.arrangement === "compact" && parts.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
199
|
+
...listLookSlot(props, "item-actions"),
|
|
200
|
+
children: content
|
|
201
|
+
}) : content;
|
|
202
|
+
}
|
|
124
203
|
function eventItemTag(arrangement) {
|
|
125
204
|
return arrangement === "ledger" || arrangement === "day-groups" ? "li" : "article";
|
|
126
205
|
}
|
|
127
206
|
function renderEventItemContentPart({ part, props, facts }) {
|
|
128
207
|
switch (part) {
|
|
129
|
-
case "image": return renderEventItemImage(props);
|
|
208
|
+
case "image": return renderEventItemImage(props, facts.link);
|
|
130
209
|
case "date": return /* @__PURE__ */ jsxs("time", {
|
|
131
210
|
...listLookSlot(props, "date"),
|
|
132
211
|
dateTime: props.event.startsAt,
|
|
@@ -149,13 +228,13 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
149
228
|
case "title": return /* @__PURE__ */ jsx("h3", {
|
|
150
229
|
...listLookSlot(props, "item-title"),
|
|
151
230
|
children: /* @__PURE__ */ jsx("a", {
|
|
152
|
-
...
|
|
231
|
+
...facts.link,
|
|
153
232
|
children: props.event.title
|
|
154
233
|
})
|
|
155
234
|
});
|
|
156
|
-
case "time": return /* @__PURE__ */
|
|
235
|
+
case "time": return /* @__PURE__ */ jsxs("p", {
|
|
157
236
|
...listLookSlot(props, "time"),
|
|
158
|
-
children: facts.time
|
|
237
|
+
children: [props.arrangement === "compact" ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, facts.time]
|
|
159
238
|
});
|
|
160
239
|
case "places": return facts.places ? /* @__PURE__ */ jsx("p", {
|
|
161
240
|
...listLookSlot(props, "places"),
|
|
@@ -177,8 +256,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
177
256
|
item: {
|
|
178
257
|
id: props.event.id,
|
|
179
258
|
title: props.event.title,
|
|
180
|
-
text: facts.description
|
|
181
|
-
action: { label: "" }
|
|
259
|
+
text: facts.description
|
|
182
260
|
},
|
|
183
261
|
presentation: props
|
|
184
262
|
});
|
|
@@ -190,6 +268,7 @@ function renderEventItemMeta({ props, facts }) {
|
|
|
190
268
|
return facts.meta || places ? /* @__PURE__ */ jsxs("p", {
|
|
191
269
|
...listLookSlot(props, "item-meta"),
|
|
192
270
|
children: [
|
|
271
|
+
facts.venueIcon ? /* @__PURE__ */ jsx(MapPinIcon, {}) : null,
|
|
193
272
|
facts.meta,
|
|
194
273
|
facts.meta && places ? " · " : null,
|
|
195
274
|
places ? /* @__PURE__ */ jsx("span", {
|
|
@@ -199,14 +278,15 @@ function renderEventItemMeta({ props, facts }) {
|
|
|
199
278
|
]
|
|
200
279
|
}) : null;
|
|
201
280
|
}
|
|
202
|
-
function renderEventItemImage(props) {
|
|
281
|
+
function renderEventItemImage(props, link) {
|
|
203
282
|
return /* @__PURE__ */ jsx(CardListContentPart, {
|
|
204
283
|
part: "media",
|
|
205
284
|
item: {
|
|
206
285
|
id: props.event.id,
|
|
207
286
|
title: props.event.title,
|
|
208
287
|
media: props.event.presentation?.image,
|
|
209
|
-
|
|
288
|
+
titleLink: link,
|
|
289
|
+
newTabHint: link.target === "_blank"
|
|
210
290
|
},
|
|
211
291
|
presentation: props
|
|
212
292
|
});
|
|
@@ -392,4 +472,4 @@ function leadItemPresentation(presentation, index, count) {
|
|
|
392
472
|
};
|
|
393
473
|
}
|
|
394
474
|
//#endregion
|
|
395
|
-
export {
|
|
475
|
+
export { MapPinIcon as a, CalendarIcon as i, CardListItems as n, formatEventTeacherLine as o, EventItem as r, CardListCollection as t };
|
package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-C3t7H13W.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
2
|
+
import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.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 { Nt as buildEventRuntimeFilters } from "./shop.interactive-
|
|
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-BQdm441g.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-C3t7H13W.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Dk3g64we.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 { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
2
|
+
import { Wt as MediaNodeServer, Yt as formatEventPrice } from "./shop.interactive-BQdm441g.mjs";
|
|
3
|
+
import { En as getTextColorForBackground, W as normalizeCardRole, dt as boxBackgroundSchema, ft as runtimeBoxBackgroundSchema, in as resolveOnColorForThemeToken, on as resolveTokenOrCssColorValue, rn as isCssColorLiteral, ut as boxBackgroundOverlaySchema } from "./schema-DMUkBtIO.mjs";
|
|
4
|
+
import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-xqU4q63H.mjs";
|
|
5
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-ChiN1Vgg.mjs";
|
|
6
|
+
import { a as MapPinIcon, i as CalendarIcon, o as formatEventTeacherLine, r as EventItem } from "./EventItem-hrSyTApW.mjs";
|
|
7
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-BGVwNwE-.mjs";
|
|
8
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
@@ -358,55 +358,6 @@ function boxStyleClassNames(value, options) {
|
|
|
358
358
|
].filter((token) => Boolean(token)).join(" ").trim() || "";
|
|
359
359
|
}
|
|
360
360
|
//#endregion
|
|
361
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
|
|
362
|
-
function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
363
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
364
|
-
className,
|
|
365
|
-
width: size,
|
|
366
|
-
height: size,
|
|
367
|
-
viewBox: "0 0 24 24",
|
|
368
|
-
fill: "none",
|
|
369
|
-
stroke: "currentColor",
|
|
370
|
-
strokeWidth,
|
|
371
|
-
strokeLinecap: "round",
|
|
372
|
-
strokeLinejoin: "round",
|
|
373
|
-
"aria-hidden": "true",
|
|
374
|
-
focusable: "false",
|
|
375
|
-
children: [/* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }), /* @__PURE__ */ jsx("circle", {
|
|
376
|
-
cx: "12",
|
|
377
|
-
cy: "10",
|
|
378
|
-
r: "3"
|
|
379
|
-
})]
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
383
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
384
|
-
className,
|
|
385
|
-
width: size,
|
|
386
|
-
height: size,
|
|
387
|
-
viewBox: "0 0 24 24",
|
|
388
|
-
fill: "none",
|
|
389
|
-
stroke: "currentColor",
|
|
390
|
-
strokeWidth,
|
|
391
|
-
strokeLinecap: "round",
|
|
392
|
-
strokeLinejoin: "round",
|
|
393
|
-
"aria-hidden": "true",
|
|
394
|
-
focusable: "false",
|
|
395
|
-
children: [
|
|
396
|
-
/* @__PURE__ */ jsx("rect", {
|
|
397
|
-
x: "3",
|
|
398
|
-
y: "4",
|
|
399
|
-
width: "18",
|
|
400
|
-
height: "18",
|
|
401
|
-
rx: "2"
|
|
402
|
-
}),
|
|
403
|
-
/* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
|
|
404
|
-
/* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
|
|
405
|
-
/* @__PURE__ */ jsx("path", { d: "M3 10h18" })
|
|
406
|
-
]
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
//#endregion
|
|
410
361
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
411
362
|
/** The category's badge, when the event has a category. */
|
|
412
363
|
function eventCardCategoryBadge(category) {
|