@riverbankcms/sdk 0.158.0 → 0.160.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 +25 -6
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-CoqeotCL.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-C0ENVLCF.d.ts} +13 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-jZK0A49V.d.ts} +54 -126
- package/dist/_dts/{client-B960v2gW.d.ts → client-uMMuPq9V.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-D6nXGqdQ.d.ts} +18 -18
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-Bnmj1nxu.d.ts} +6 -5
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-CeLjFX8b.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-nyU8q02J.d.ts} +5 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-BaaGBY1v.d.ts} +2 -2
- package/dist/_dts/{index-DCNu_8it.d.ts → index-Bg64CkV-.d.ts} +4 -4
- package/dist/_dts/index-Blwl7yl6.d.ts +13 -0
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-C5xslEBn.d.ts} +2 -2
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-CEaKil7G.d.ts} +2 -2
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-DahMwisK.d.ts} +3 -3
- package/dist/_dts/index-lkpjIg5i.d.ts +66 -0
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-nVoi_74l.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-CYLmzvLq.d.ts} +16 -7
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-DqnxChOs.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → schema-D0bNcPWK.d.ts} +6921 -6768
- 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 +12 -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 +6 -6
- package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
- 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 +10 -28
- 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 +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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CFrYuXYP.d.ts} +2 -2
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → types-D8czmbQF.d.ts} +15430 -16836
- package/dist/_dts/{types-BY7PgnDi.d.ts → types-DSgmJ15W.d.ts} +7 -7
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-Dm-KW7nj.d.ts} +10 -13
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Bmb4WnHg.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DZRKi6tT.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-C00sLLdL.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-CHSi9b3E.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-Bhm6RAUL.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-CaN-7ui7.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-ClxN5_xZ.mjs} +1 -1
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BncvSa1n.mjs} +10 -9
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DluBxVVu.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-BiJrMtfp.mjs} +1 -1
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-CXhnT9pF.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-V-dtoDlD.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-DPO6SZbx.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-B-Yi5JZS.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-Dc3Fnlnw.mjs} +189 -176
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-ClZCCzAm.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-7PkzO04N.mjs} +1949 -2074
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-DiD6euZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-BHd8GN8y.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → ThemedButton-C22C9cCF.mjs} +174 -93
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-2m27DsIk.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BddWV5w1.mjs} +12 -12
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-bcdXQjmw.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-D7nj9I0y.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-AffDJo_s.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-PN6yCw1H.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-D4t1f0cJ.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-CsTwXVSb.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-BhQE3zY7.mjs} +1 -1
- package/dist/client/client.mjs +25 -13
- package/dist/client/{context-CVsgML69.mjs → context-BLAvalAa.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-CUXhX_D7.mjs} +2 -1
- package/dist/client/dateFormatting-BHIHxNuo.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-R-awbk_0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-9Q93uvTo.mjs} +3 -3
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-BS1WtG-a.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-BXndwsET.mjs} +35 -21
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-HyoOt1Qz.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-sdG5oEaH.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-FFAknE4w.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-CGK6urk3.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-VhrvCs4l.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-C-B5O_ko.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-DoZVcl8d.mjs} +5 -5
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-mttKpgif.mjs} +3 -3
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-xUSCknEO.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-BHUEXsaI.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-Cylb_MHw.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-Cx4Bl7ij.mjs} +69 -6
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-QnKJi-nZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-D_n0rftg.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-DKHye4IE.mjs} +2 -2
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-tEaYelzx.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-B610YKEx.mjs} +12 -5
- package/dist/client/portal/client.mjs +4562 -174
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-DUf5x5Jt.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-Cqp1BPTV.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-B8bBiogP.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BKN4D-1z.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-2nNZh2Oe.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BAm4RPNJ.mjs} +856 -872
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +47 -28
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cv-qomNB.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-C5u8MbAA.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-DZNC0VKk.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-DdX4LSa3.mjs} +12 -12
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store-BJtrZov9.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-DmDd-igg.mjs} +16 -15
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-5SnnDHz3.mjs} +402 -35
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-CPqUlAh9.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-C19rcHEw.mjs +960 -0
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-BjbJXotk.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-CMgfL7YJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-KG8jB7WC.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DK2w_i0a.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DW6MCirb.mjs} +11 -10
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-hJr_L4QC2.mjs → view-CkUn3Y0Y.mjs} +4 -4
- package/dist/client/{view-BPEa6Okm.mjs → view-CseyBW07.mjs} +15 -70
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-zgq10lN1.mjs} +262 -65
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-lUHBrzHv.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DWyUGCAG.mjs} +1217 -107
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-Wq0b3Daw.mjs} +52 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-BtZPcwYV.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-wSI_R361.mjs} +720 -2035
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-Hc4pYnNe.mjs} +14365 -8155
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-DzeycIlD.mjs} +204 -93
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-Corq4AG7.mjs} +3 -8
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-CWymRWhK.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +1359 -0
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-C4If5Y-O.mjs} +1 -1
- package/dist/preview-next/editor-base.css +62 -0
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-8csADeIT.mjs} +149 -112
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-D1_gonwM.mjs} +6 -6
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-CFmJg5lm.mjs} +2 -2
- package/dist/server/{client-CU4wlMLE.mjs → client-DPsi0Dai.mjs} +9 -7
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-RMCcuVU_.mjs} +33 -20
- package/dist/server/loadPage-DUPP51C-.mjs +2 -0
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-DhDGzj7t.mjs} +8 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +13 -12
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-OxY5FMuy.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-Bz_A6sB9.mjs} +586 -518
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-B_1vrSru.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-B7ukYXXR.mjs} +841 -887
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-Djbpc81A.mjs} +166 -129
- package/dist/server/{blocks-jlIm0PWc.mjs → registry-eFjKtEhF.mjs} +2349 -1716
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-DYvEa9c5.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-C3dJ5UkL.mjs} +148 -88
- package/dist/server/server.mjs +3 -3
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → siteChromeOverlayClearance-DALIAMwo.mjs} +108 -11
- package/dist/server/{src-B935_bzN.mjs → src-C5Mu-z0F.mjs} +268 -189
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-ruoyXb_0.mjs} +9 -7
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-Cm41pDUB.mjs → validation-B-Xar8QS.mjs} +22 -63
- package/dist/server/{version-Bo9C3McI.mjs → version-Bg7VHK3i.mjs} +1 -1
- package/dist/styles/index.css +78 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/timetableModel-D7PwpaBY.mjs +0 -480
- package/dist/preview-next/client/siteStyleAccess-CRXaC2oL.mjs +0 -1326
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
3
|
-
import { _ as RiverbankClient } from "./types-
|
|
4
|
-
import { E as BlockOverrideRegistrations, J as DataLoaderOverrides, Z as DataLoaderSearchParams, a as SdkRenderingMode, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-
|
|
5
|
-
import { i as LoadContentResult } from "./loadContent-
|
|
6
|
-
import { t as Metadata } from "./generatePageMetadata-
|
|
7
|
-
import { c as RiverbankContentLoadError } from "./resolvePageContent-
|
|
1
|
+
import { t as Theme } from "./schema-D0bNcPWK.js";
|
|
2
|
+
import { u as RiverbankSiteConfig } from "./types-Dm-KW7nj.js";
|
|
3
|
+
import { _ as RiverbankClient } from "./types-CFrYuXYP.js";
|
|
4
|
+
import { E as BlockOverrideRegistrations, J as DataLoaderOverrides, Z as DataLoaderSearchParams, a as SdkRenderingMode, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-C0ENVLCF.js";
|
|
5
|
+
import { i as LoadContentResult } from "./loadContent-CYLmzvLq.js";
|
|
6
|
+
import { t as Metadata } from "./generatePageMetadata-nyU8q02J.js";
|
|
7
|
+
import { c as RiverbankContentLoadError } from "./resolvePageContent-DqnxChOs.js";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
|
|
10
10
|
//#region .cache/declarations/sdk/src/next/content-load-failure.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { s as SdkSiteLayoutConfig } from "./types-D8czmbQF.js";
|
|
2
|
+
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-D6nXGqdQ.js";
|
|
3
|
+
import { c as NodeDefinition } from "./index-nVoi_74l.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/config/types.d.ts
|
|
6
6
|
/**
|
|
@@ -33,7 +33,7 @@ interface SdkThemeConfig {
|
|
|
33
33
|
*/
|
|
34
34
|
palette: SdkThemePalette;
|
|
35
35
|
}
|
|
36
|
-
type BlockCategory = 'marketing' | 'content' | 'blog' | 'media' | 'layout' | 'interactive';
|
|
36
|
+
type BlockCategory = 'text-and-images' | 'photos' | 'people' | 'events-and-bookings' | 'shop' | 'forms-and-sign-ups' | 'marketing' | 'content' | 'blog' | 'media' | 'layout' | 'interactive';
|
|
37
37
|
/**
|
|
38
38
|
* Supported CMS endpoints for SDK custom block data loaders.
|
|
39
39
|
*
|
|
@@ -60,14 +60,6 @@ interface SdkConfigLoader {
|
|
|
60
60
|
mode?: 'server' | 'client';
|
|
61
61
|
when?: LoaderWhenValue;
|
|
62
62
|
}
|
|
63
|
-
interface PreviewCustomizeManifestCuration {
|
|
64
|
-
/**
|
|
65
|
-
* Field IDs to consider for Preview Customize quick controls, in priority
|
|
66
|
-
* order. When `previewCustomize` is omitted, fields stay in the full
|
|
67
|
-
* Customize panel.
|
|
68
|
-
*/
|
|
69
|
-
quickFieldPriority: string[];
|
|
70
|
-
}
|
|
71
63
|
interface SdkCustomBlock {
|
|
72
64
|
id: `custom.${string}`;
|
|
73
65
|
title: string;
|
|
@@ -86,7 +78,8 @@ interface SdkCustomBlock {
|
|
|
86
78
|
description?: string;
|
|
87
79
|
icon?: string;
|
|
88
80
|
}>;
|
|
89
|
-
|
|
81
|
+
promotedFields?: string[];
|
|
82
|
+
lookField?: string;
|
|
90
83
|
}
|
|
91
84
|
/**
|
|
92
85
|
* Allowed spacing values in section styles.
|
|
@@ -237,6 +230,8 @@ type BlockFieldOptionsMap = Record<string, Record<string, BlockFieldConfig>>;
|
|
|
237
230
|
* ```
|
|
238
231
|
*/
|
|
239
232
|
interface BlockFieldExtension {
|
|
233
|
+
lookField?: string;
|
|
234
|
+
promotedFields?: string[];
|
|
240
235
|
/**
|
|
241
236
|
* Additional fields to append to the block's form.
|
|
242
237
|
* Uses the same field definition format as block manifests.
|
|
@@ -351,6 +346,8 @@ interface DeployConfig {
|
|
|
351
346
|
* ```
|
|
352
347
|
*/
|
|
353
348
|
interface RiverbankSiteConfig {
|
|
349
|
+
/** Built-in kinds offered in the editor. Omit to allow all built-ins. */
|
|
350
|
+
builtInBlocks?: readonly SystemBlockKind[];
|
|
354
351
|
/** Site UUID from the dashboard - identifies which site this config belongs to */
|
|
355
352
|
siteId: string;
|
|
356
353
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-
|
|
1
|
+
import { f as NavigationAuthoringLinkInput, p as NavigationConfigItemInput } from "./types-D8czmbQF.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-D6nXGqdQ.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-nVoi_74l.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-Dm-KW7nj.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-WRLS96Ev.mjs → BlocksIslandsHydrator-DZRKi6tT.mjs}
RENAMED
|
@@ -75,23 +75,23 @@ function isSafeHttpsUrl(value) {
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
77
77
|
const defaultEnhancerLoaders = {
|
|
78
|
-
accordion: () => import("./accordion-
|
|
79
|
-
headerSection: () => import("./headerSection-
|
|
80
|
-
carousel: () => import("./carousel-
|
|
81
|
-
form: () => import("./form-
|
|
82
|
-
"booking-form": () => import("./bookingForm-
|
|
83
|
-
"event-registration": () => import("./eventRegistration-
|
|
84
|
-
"event-details": () => import("./eventDetails-
|
|
85
|
-
"location-map": () => import("./locationMap-
|
|
86
|
-
"event-listing": () => import("./eventListing-
|
|
87
|
-
"event-calendar": () => import("./eventCalendar-
|
|
88
|
-
"event-combined": () => import("./eventCombined-
|
|
89
|
-
"product-list": () => import("./productList-
|
|
90
|
-
"product-detail": () => import("./productDetail-
|
|
91
|
-
"cart": () => import("./cart-
|
|
92
|
-
"checkout": () => import("./checkout-
|
|
93
|
-
shop: () => import("./shop-
|
|
94
|
-
"newsletter-form": () => import("./newsletterForm-
|
|
78
|
+
accordion: () => import("./accordion-2m27DsIk.mjs"),
|
|
79
|
+
headerSection: () => import("./headerSection-BHUEXsaI.mjs"),
|
|
80
|
+
carousel: () => import("./carousel-D7nj9I0y.mjs"),
|
|
81
|
+
form: () => import("./form-C-B5O_ko.mjs"),
|
|
82
|
+
"booking-form": () => import("./bookingForm-bcdXQjmw.mjs"),
|
|
83
|
+
"event-registration": () => import("./eventRegistration-VhrvCs4l.mjs"),
|
|
84
|
+
"event-details": () => import("./eventDetails-FFAknE4w.mjs"),
|
|
85
|
+
"location-map": () => import("./locationMap-QnKJi-nZ.mjs"),
|
|
86
|
+
"event-listing": () => import("./eventListing-CGK6urk3.mjs"),
|
|
87
|
+
"event-calendar": () => import("./eventCalendar-HyoOt1Qz.mjs"),
|
|
88
|
+
"event-combined": () => import("./eventCombined-sdG5oEaH.mjs"),
|
|
89
|
+
"product-list": () => import("./productList-BKN4D-1z.mjs"),
|
|
90
|
+
"product-detail": () => import("./productDetail-B8bBiogP.mjs"),
|
|
91
|
+
"cart": () => import("./cart-PN6yCw1H.mjs"),
|
|
92
|
+
"checkout": () => import("./checkout-CsTwXVSb.mjs"),
|
|
93
|
+
shop: () => import("./shop-DZNC0VKk.mjs"),
|
|
94
|
+
"newsletter-form": () => import("./newsletterForm-tEaYelzx.mjs")
|
|
95
95
|
};
|
|
96
96
|
const DEFAULT_MAX_RETRIES = 2;
|
|
97
97
|
const RETRY_DELAYS_MS = [250, 1e3];
|
package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-C00sLLdL.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-zgq10lN1.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 { i as ThemedButtonLink } from "./ThemedButton-
|
|
3
|
+
import { i as ThemedButtonLink } from "./ThemedButton-C22C9cCF.mjs";
|
|
4
4
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { tt as formatDate } from "./noop-
|
|
7
|
-
import {
|
|
8
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
9
|
-
import { i as formatEventTeacherLine } from "./EventItem-
|
|
5
|
+
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-zgq10lN1.mjs";
|
|
6
|
+
import { tt as formatDate } from "./noop-B610YKEx.mjs";
|
|
7
|
+
import { Xt as formatEventPrice } from "./shop.interactive-5SnnDHz3.mjs";
|
|
8
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-CUXhX_D7.mjs";
|
|
9
|
+
import { i as formatEventTeacherLine } from "./EventItem-CXhnT9pF.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 {
|
|
2
|
+
import { C as clsx } from "./ThemedButton-C22C9cCF.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-CdnFgDyQ.mjs → DemoBookingPortalAccess-CaN-7ui7.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-B610YKEx.mjs";
|
|
5
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-Bhm6RAUL.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-BLAvalAa.mjs";
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-R-awbk_0.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-C22C9cCF.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 { r as ThemedButton } from "./ThemedButton-
|
|
4
|
-
import {
|
|
5
|
-
import { g as resolveCalendarReadProfile } from "./noop-
|
|
6
|
-
import {
|
|
7
|
-
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
8
|
-
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
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 { r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
|
|
4
|
+
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-zgq10lN1.mjs";
|
|
5
|
+
import { g as resolveCalendarReadProfile } from "./noop-B610YKEx.mjs";
|
|
6
|
+
import { Et as buildEventCalendarListingRender, Pt as buildEventRuntimeFilters, Yt as buildEventListWeek } from "./shop.interactive-5SnnDHz3.mjs";
|
|
7
|
+
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CHSi9b3E.mjs";
|
|
8
|
+
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-C19rcHEw.mjs";
|
|
9
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-DW6MCirb.mjs";
|
|
10
|
+
import { n as EventListingController } from "./EventListing.client-DPO6SZbx.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-DluBxVVu.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
|
|
@@ -173,6 +173,7 @@ function hourToTickPercent(hour, hours) {
|
|
|
173
173
|
//#region ../blocks/src/system/runtime/nodes/events/EventCalendar.client.tsx
|
|
174
174
|
const EventCalendarClient = ({ render }) => {
|
|
175
175
|
const { display } = render;
|
|
176
|
+
if (display.displayMode === "week") return /* @__PURE__ */ jsx(CalendarRecurringWeek, { display });
|
|
176
177
|
if (display.displayMode === "combined") return /* @__PURE__ */ jsx(EventCalendarCombinedClient, { render });
|
|
177
178
|
if (display.displayMode === "list") {
|
|
178
179
|
if (display.listBy === "week") return /* @__PURE__ */ jsx(EventCalendarWeekListClient, { render });
|
|
@@ -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 { r as ThemedButton } from "./ThemedButton-
|
|
4
|
-
import {
|
|
5
|
-
import { c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, ht as getLocalScheduleDate, l as calendarPageResponseError, s as calendarMonthDate, tt as formatDate, u as calendarQueryKey } from "./noop-
|
|
6
|
-
import {
|
|
7
|
-
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
3
|
+
import { r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-zgq10lN1.mjs";
|
|
5
|
+
import { c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, ht as getLocalScheduleDate, l as calendarPageResponseError, s as calendarMonthDate, tt as formatDate, u as calendarQueryKey } from "./noop-B610YKEx.mjs";
|
|
6
|
+
import { Ft as getEventRuntimeFiltersKey, Mt as eventListingBlockRuntime, Pt as buildEventRuntimeFilters } from "./shop.interactive-5SnnDHz3.mjs";
|
|
7
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CHSi9b3E.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-BHd8GN8y.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-BLAvalAa.mjs";
|
|
12
|
+
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-DW6MCirb.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,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-C22C9cCF.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-C22C9cCF.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-zgq10lN1.mjs";
|
|
4
|
+
import { Ht as CardListLeadDate, Ut as resolveCardListSchedule, Vt as CardListContentPart, Wt as selectCardListPresentation, Xt as formatEventPrice } from "./shop.interactive-5SnnDHz3.mjs";
|
|
5
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-CUXhX_D7.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
|
|
@@ -42,6 +42,7 @@ const eventItemParts = {
|
|
|
42
42
|
"action"
|
|
43
43
|
],
|
|
44
44
|
grid: [
|
|
45
|
+
"image",
|
|
45
46
|
"date",
|
|
46
47
|
"title",
|
|
47
48
|
"meta",
|
|
@@ -68,7 +69,11 @@ function eventItemFacts(props) {
|
|
|
68
69
|
date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
|
|
69
70
|
time: formatEventTimeRange(props.event, options),
|
|
70
71
|
price: formatEventPrice(props.event),
|
|
71
|
-
meta:
|
|
72
|
+
meta: [
|
|
73
|
+
...(props.parts ?? eventItemParts[props.arrangement]).includes("time") ? [] : [formatEventTimeRange(props.event, options)],
|
|
74
|
+
formatEventTeacherLine(props.event),
|
|
75
|
+
props.showVenue !== false ? props.event.venue?.name : null
|
|
76
|
+
].filter(Boolean).join(" · "),
|
|
72
77
|
places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
|
|
73
78
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
74
79
|
description: props.event.presentation?.summary ?? props.event.description
|
|
@@ -84,7 +89,7 @@ function EventItem(props) {
|
|
|
84
89
|
return "item" in props ? renderCardItem(props) : renderCalendarItem(props);
|
|
85
90
|
}
|
|
86
91
|
function renderCalendarItem(props) {
|
|
87
|
-
const parts = props.parts ?? eventItemParts[props.arrangement];
|
|
92
|
+
const parts = (props.parts ?? eventItemParts[props.arrangement]).filter((part) => part !== "image" || props.showPhotos !== false);
|
|
88
93
|
const facts = eventItemFacts(props);
|
|
89
94
|
const Tag = props.as ?? eventItemTag(props.arrangement);
|
|
90
95
|
const root = props.arrangement === "grid" ? "item" : props.continued ? "row-continued" : "row";
|
package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-V-dtoDlD.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Pr as listLookSlot } from "./wizardSteps-zgq10lN1.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 { Pt as buildEventRuntimeFilters } from "./shop.interactive-5SnnDHz3.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-V-dtoDlD.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-DW6MCirb.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,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
6
|
-
import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-
|
|
2
|
+
import { An as isCssColorLiteral, Ft as boxBackgroundSchema, Hn as getTextColorForBackground, It as runtimeBoxBackgroundSchema, Nn as resolveTokenOrCssColorValue, Pt as boxBackgroundOverlaySchema, h as ClockIcon, i as ThemedButtonLink, jn as resolveOnColorForThemeToken, qt as normalizeCardRole } from "./ThemedButton-C22C9cCF.mjs";
|
|
3
|
+
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-zgq10lN1.mjs";
|
|
4
|
+
import { Gt as MediaNodeServer, Xt as formatEventPrice } from "./shop.interactive-5SnnDHz3.mjs";
|
|
5
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-CUXhX_D7.mjs";
|
|
6
|
+
import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-CXhnT9pF.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
@@ -747,7 +747,7 @@ const EventCompactRow = (props) => props.lookSlots === void 0 ? /* @__PURE__ */
|
|
|
747
747
|
buttonText: props.buttonText ?? "Book",
|
|
748
748
|
as: "article"
|
|
749
749
|
});
|
|
750
|
-
const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText }) => {
|
|
750
|
+
const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, showVenue = true }) => {
|
|
751
751
|
event.timeZone;
|
|
752
752
|
const dateRail = formatEventCompactDateRail(event.startsAt, eventDateOptions(event));
|
|
753
753
|
const formattedTime = formatEventTimeRange(event, eventDateOptions(event));
|
|
@@ -788,7 +788,7 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText })
|
|
|
788
788
|
}), /* @__PURE__ */ jsxs("div", {
|
|
789
789
|
className: "event-compact-row-meta",
|
|
790
790
|
children: [
|
|
791
|
-
event.venue && /* @__PURE__ */ jsxs("span", {
|
|
791
|
+
showVenue && event.venue && /* @__PURE__ */ jsxs("span", {
|
|
792
792
|
className: "event-compact-row-venue",
|
|
793
793
|
children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), event.venue.name]
|
|
794
794
|
}),
|