@riverbankcms/sdk 0.159.0 → 0.161.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 +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- 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 +13 -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/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 +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 +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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- 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/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- 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/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -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/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { c as SdkSiteLayoutConfig } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-BgAzCrBc.js";
|
|
3
|
+
import { c as NodeDefinition } from "./index-CSsfq6KG.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,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 { Ga as EventPageSurfaceSubjectRefWire, vr as CalendarWindowPage, yr as CalendarWindowRequest } from "./schema-BHu0PYWl.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-DUiOnj9e.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/runtimeCacheKeys.d.ts
|
|
5
5
|
declare const publishedRuntimeCacheKeyBrand: unique symbol;
|
|
@@ -15,6 +15,8 @@ type PublishedRuntimeCachePayloadSchemaVersion = number & {
|
|
|
15
15
|
* entries written in the old shape until publish or a live success rewrites
|
|
16
16
|
* them.
|
|
17
17
|
*
|
|
18
|
+
* - 4: owned surface inputs use the shared revision transport envelope (#1627).
|
|
19
|
+
* - 3: hidden business-source maps and private locations are removed before public projection (#1611).
|
|
18
20
|
* - 2: pages carry intent-only `runtimeJoins` in place of compiled
|
|
19
21
|
* `runtimeBoundaries` (issue 1422).
|
|
20
22
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
3
|
-
import { _ as RiverbankClient } from "./types-
|
|
4
|
-
import { E as BlockOverrideRegistrations,
|
|
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-BHu0PYWl.js";
|
|
2
|
+
import { u as RiverbankSiteConfig } from "./types-CJXTCF_F.js";
|
|
3
|
+
import { _ as RiverbankClient } from "./types-D02ngcUH.js";
|
|
4
|
+
import { E as BlockOverrideRegistrations, Q as DataLoaderSearchParams, Y as DataLoaderOverrides, a as SdkRenderingMode, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-Dm7_P13o.js";
|
|
5
|
+
import { i as LoadContentResult } from "./loadContent-DTjKOO-T.js";
|
|
6
|
+
import { t as Metadata } from "./generatePageMetadata-BDkZYEcS.js";
|
|
7
|
+
import { c as RiverbankContentLoadError } from "./resolvePageContent-C1vA5c5w.js";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
|
|
10
10
|
//#region .cache/declarations/sdk/src/next/content-load-failure.d.ts
|
|
@@ -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 { m as NavigationConfigItemInput, p as NavigationAuthoringLinkInput } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-BgAzCrBc.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-CSsfq6KG.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-CJXTCF_F.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-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Zt as parseSurfaceTree } from "./schema-C-m8XHuW.mjs";
|
|
3
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-jPeJ2PmJ.mjs";
|
|
4
|
+
import { n as toBlocksMediaAssets } from "./mediaAssets-BvjcAZpS.mjs";
|
|
4
5
|
import { useEffect } from "react";
|
|
5
6
|
//#region src/rendering/islands/deferredVideoEmbeds.ts
|
|
6
7
|
const DEFERRED_IFRAME_SELECTOR = "iframe[data-rb-video-embed-deferred=\"true\"]";
|
|
@@ -75,23 +76,22 @@ function isSafeHttpsUrl(value) {
|
|
|
75
76
|
//#endregion
|
|
76
77
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
77
78
|
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
|
-
"
|
|
86
|
-
"event-
|
|
87
|
-
"event-
|
|
88
|
-
"
|
|
89
|
-
"product-
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"newsletter-form": () => import("./newsletterForm-hm7L17LM.mjs")
|
|
79
|
+
accordion: () => import("./accordion-TcimLLRQ.mjs"),
|
|
80
|
+
headerSection: () => import("./headerSection-DJdlLdvZ.mjs"),
|
|
81
|
+
carousel: () => import("./carousel-CGAk6j0m.mjs"),
|
|
82
|
+
form: () => import("./form-QZhtdFHA.mjs"),
|
|
83
|
+
"booking-form": () => import("./bookingForm-DjGfk3Wj.mjs"),
|
|
84
|
+
"event-registration": () => import("./eventRegistration-DJuaCB-O.mjs"),
|
|
85
|
+
"event-details": () => import("./eventDetails-C2DfmbC0.mjs"),
|
|
86
|
+
"event-listing": () => import("./eventListing-C_yXmHyz.mjs"),
|
|
87
|
+
"event-calendar": () => import("./eventCalendar-CWc0dg9i.mjs"),
|
|
88
|
+
"event-combined": () => import("./eventCombined-D4DbOrvQ.mjs"),
|
|
89
|
+
"product-list": () => import("./productList-DEo8Bqoe.mjs"),
|
|
90
|
+
"product-detail": () => import("./productDetail-k8LEMSWn.mjs"),
|
|
91
|
+
"cart": () => import("./cart-D_h3rAZ2.mjs"),
|
|
92
|
+
"checkout": () => import("./checkout-tC-3CzuM.mjs"),
|
|
93
|
+
shop: () => import("./shop-RGWa43H7.mjs"),
|
|
94
|
+
"newsletter-form": () => import("./newsletterForm-wjLtW-wq.mjs")
|
|
95
95
|
};
|
|
96
96
|
const DEFAULT_MAX_RETRIES = 2;
|
|
97
97
|
const RETRY_DELAYS_MS = [250, 1e3];
|
|
@@ -166,8 +166,9 @@ function isRetryableError(error) {
|
|
|
166
166
|
return false;
|
|
167
167
|
}
|
|
168
168
|
function decodeLoadedProps(mod, rawProps) {
|
|
169
|
-
|
|
170
|
-
return
|
|
169
|
+
const props = parseSurfaceTree(rawProps);
|
|
170
|
+
if (mod.decode) return mod.decode(props);
|
|
171
|
+
return props;
|
|
171
172
|
}
|
|
172
173
|
function collectIslands(root, loaders) {
|
|
173
174
|
return Array.from(root.querySelectorAll("[data-rb-island]")).filter((el) => el.dataset.rbIslandMounted !== "true").filter((el) => el.dataset.rbIslandError !== "true").filter((el) => el.dataset.rbIslandEnhancing !== "true").map((element) => {
|
package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.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-BkZc-hKH.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-CnyL3s1A.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 {
|
|
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-BkZc-hKH.mjs";
|
|
6
|
+
import { lt as formatDate } from "./noop-B7H6gCbj.mjs";
|
|
7
|
+
import { Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
|
|
8
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
|
|
9
|
+
import { i as formatEventTeacherLine } from "./EventItem-BEx-qiDE.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-CnyL3s1A.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-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.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-CnyL3s1A.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-B7H6gCbj.mjs";
|
|
5
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-DWexRLf6.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-9ZfMb6GA.mjs";
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BxkSS9fx.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-CnyL3s1A.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 { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { g as resolveCalendarReadProfile } from "./noop-
|
|
6
|
-
import {
|
|
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 { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
|
|
4
|
+
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
|
|
5
|
+
import { g as resolveCalendarReadProfile } from "./noop-B7H6gCbj.mjs";
|
|
6
|
+
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-V2ifvGGy.mjs";
|
|
7
|
+
import { Et as buildEventCalendarListingRender, Pt as buildEventRuntimeFilters, Yt as buildEventListWeek } from "./shop.interactive-CVqLAU53.mjs";
|
|
8
|
+
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.mjs";
|
|
9
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-CLAS0upd.mjs";
|
|
10
|
+
import { n as EventListingController } from "./EventListing.client-D3uySdGP.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-B5bmQ03b.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 { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges,
|
|
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-CnyL3s1A.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
|
|
5
|
+
import { Ct as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, lt as formatDate, s as calendarMonthDate, u as calendarQueryKey } from "./noop-B7H6gCbj.mjs";
|
|
6
|
+
import { Ft as getEventRuntimeFiltersKey, Mt as eventListingBlockRuntime, Pt as buildEventRuntimeFilters } from "./shop.interactive-CVqLAU53.mjs";
|
|
7
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.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-Bkgz67gt.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
|
|
12
|
+
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-CLAS0upd.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-CnyL3s1A.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 { 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 { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.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-BkZc-hKH.mjs";
|
|
4
|
+
import { Ht as CardListLeadDate, Ut as resolveCardListSchedule, Vt as CardListContentPart, Wt as selectCardListPresentation, Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
|
|
5
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.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-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
2
|
+
import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.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-CVqLAU53.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-CyH5tA6Y.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CLAS0upd.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,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { hn as getTextColorForBackground, in as resolveOnColorForThemeToken, mt as normalizeCardRole, nt as boxBackgroundSchema, on as resolveTokenOrCssColorValue, rn as isCssColorLiteral, rt as runtimeBoxBackgroundSchema, tt as boxBackgroundOverlaySchema } from "./schema-C-m8XHuW.mjs";
|
|
3
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.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-BkZc-hKH.mjs";
|
|
5
|
+
import { r as MapDrawingSvg, t as LocationMapActions } from "./LocationMapActions-Wsr83Q7q.mjs";
|
|
6
|
+
import { Gt as MediaNodeServer, Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
|
|
7
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
|
|
8
|
+
import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-BEx-qiDE.mjs";
|
|
7
9
|
import "react";
|
|
8
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
11
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
@@ -466,7 +468,7 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
466
468
|
formattedTime,
|
|
467
469
|
hasImage,
|
|
468
470
|
headingLevel: cardHeadingLevel,
|
|
469
|
-
mapSlot,
|
|
471
|
+
mapSlot: resolveVenueMapSlot(event.venue, mapSlot),
|
|
470
472
|
priceText,
|
|
471
473
|
showMap,
|
|
472
474
|
showSummary,
|
|
@@ -477,6 +479,13 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
477
479
|
})]
|
|
478
480
|
});
|
|
479
481
|
};
|
|
482
|
+
function resolveVenueMapSlot(venue, override) {
|
|
483
|
+
return override ?? (venue?.drawing ? /* @__PURE__ */ jsx(MapDrawingSvg, {
|
|
484
|
+
drawing: venue.drawing,
|
|
485
|
+
label: venue.name,
|
|
486
|
+
height: 255
|
|
487
|
+
}) : null);
|
|
488
|
+
}
|
|
480
489
|
function EventCardMedia(props) {
|
|
481
490
|
if (props.lookPresentation.lookSlots !== void 0) return /* @__PURE__ */ jsx(EventLookDate, {
|
|
482
491
|
event: props.event,
|
|
@@ -581,13 +590,20 @@ function EventCardVenue(props) {
|
|
|
581
590
|
if (!venue) return null;
|
|
582
591
|
return /* @__PURE__ */ jsxs("div", {
|
|
583
592
|
className: "rb-mb-3",
|
|
584
|
-
children: [
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
593
|
+
children: [
|
|
594
|
+
/* @__PURE__ */ jsxs("div", {
|
|
595
|
+
className: "rb-flex rb-items-center rb-gap-2 rb-caption",
|
|
596
|
+
children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
|
|
597
|
+
}),
|
|
598
|
+
props.allowMap ? /* @__PURE__ */ jsx(LocationMapActions, {
|
|
599
|
+
location: venue.location,
|
|
600
|
+
addressText: venue.address
|
|
601
|
+
}) : null,
|
|
602
|
+
props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
|
|
603
|
+
className: "rb-mt-2",
|
|
604
|
+
children: props.mapSlot
|
|
605
|
+
})
|
|
606
|
+
]
|
|
591
607
|
});
|
|
592
608
|
}
|
|
593
609
|
function EventCardFooter(props) {
|
|
@@ -747,7 +763,7 @@ const EventCompactRow = (props) => props.lookSlots === void 0 ? /* @__PURE__ */
|
|
|
747
763
|
buttonText: props.buttonText ?? "Book",
|
|
748
764
|
as: "article"
|
|
749
765
|
});
|
|
750
|
-
const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText }) => {
|
|
766
|
+
const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, showVenue = true }) => {
|
|
751
767
|
event.timeZone;
|
|
752
768
|
const dateRail = formatEventCompactDateRail(event.startsAt, eventDateOptions(event));
|
|
753
769
|
const formattedTime = formatEventTimeRange(event, eventDateOptions(event));
|
|
@@ -788,7 +804,7 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText })
|
|
|
788
804
|
}), /* @__PURE__ */ jsxs("div", {
|
|
789
805
|
className: "event-compact-row-meta",
|
|
790
806
|
children: [
|
|
791
|
-
event.venue && /* @__PURE__ */ jsxs("span", {
|
|
807
|
+
showVenue && event.venue && /* @__PURE__ */ jsxs("span", {
|
|
792
808
|
className: "event-compact-row-venue",
|
|
793
809
|
children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), event.venue.name]
|
|
794
810
|
}),
|