@riverbankcms/sdk 0.178.0 → 0.180.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 +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DC_AvZwy.d.ts} +1 -1
- package/dist/_dts/{Page-C9i27wZA.d.ts → Page-DQOxVtp3.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-DrLgY9_f.d.ts} +3 -2
- package/dist/_dts/{client-BnYN6XsH.d.ts → client-BP7VBRvs.d.ts} +281 -72
- package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-1-K2qi__.d.ts} +2 -2
- package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-Dfqz0Tcu.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CSfAqmry.d.ts} +2 -2
- package/dist/_dts/{index-BE9dWIsr.d.ts → index-B0_2-65A.d.ts} +3 -3
- package/dist/_dts/{index-0HFgCnGz.d.ts → index-BeM5Ylwf.d.ts} +5 -3
- package/dist/_dts/{index-D9-N1d9v.d.ts → index-Blrw2oVk.d.ts} +1 -1
- package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CB5Csefo.d.ts} +2 -2
- package/dist/_dts/{index-nnEdgc3Z.d.ts → index-DCcxLa8p.d.ts} +4 -2
- package/dist/_dts/{index-DCa-8TEY.d.ts → index-DQBGwBPx.d.ts} +1 -1
- package/dist/_dts/{index-CKDRr54L.d.ts → index-DQr358-m.d.ts} +4 -4
- package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-BG2tLGXj.d.ts} +15 -13
- package/dist/_dts/{request-B20VRWHH.d.ts → request-P08l6mkr.d.ts} +3641 -994
- package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-BDHc8lFs.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-Y3IZBbtL.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +7 -2
- package/dist/_dts/sdk/src/gifting/client.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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +16 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +3 -3
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/serviceBookingOutline-BvtNagjw.d.ts +583 -0
- package/dist/_dts/{types-CYcd15BQ.d.ts → types-BrK6SS5c.d.ts} +9 -7
- package/dist/_dts/{types-CMZ5mkpv.d.ts → types-DpEAnP4F.d.ts} +10 -39
- package/dist/_dts/{types-rm2M4LGx.d.ts → types-HAy1-Jjo.d.ts} +3 -3
- package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-D6q3tOBA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-DJSmdNUJ.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-CGxg37zx.mjs} +92 -60
- package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-DXegGSnS.mjs} +26 -5
- package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-VfP50sYm.mjs} +42 -9
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-0Ua44F1j.mjs} +13 -8
- package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-CrpiyDSP.mjs} +10 -10
- package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-D0me9wnz.mjs} +10 -10
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-CJITrGkF.mjs} +249 -8
- package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BlEm_xjq.mjs} +1 -1
- package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-BNM_HuS0.mjs} +3 -3
- package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-CXfb7RRy.mjs} +7 -16
- package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DiD9uYs6.mjs} +1439 -293
- package/dist/client/{Page-DqETUt-U.mjs → Page-bX7iy_MK.mjs} +24299 -20103
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-BAdW5DvE.mjs} +23 -16
- package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-DCfdcb7s.mjs} +12 -12
- package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-DCqorVne.mjs} +7 -7
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-wofJY8xY.mjs} +1 -1
- package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-CYl9NrqS.mjs} +412 -79
- package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-kgVWtuMe.mjs} +4 -4
- package/dist/client/bookings.mjs +40 -10
- package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-CQHWz5gJ.mjs} +19 -19
- package/dist/client/{carousel-B3UhbFu7.mjs → carousel-BE1dEFsD.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-DzOJfYOR.mjs → cart-BsjsdGZE.mjs} +3 -3
- package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-DylGUWXY.mjs} +1 -1
- package/dist/client/{checkout-LmePoEgM.mjs → checkout-B5KxEUDr.mjs} +3 -3
- package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C98fhch3.mjs} +1 -1
- package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-BMLYTf38.mjs} +1 -1
- package/dist/client/client.mjs +502 -341
- package/dist/client/constants-PfYJsEZF.mjs +101 -0
- package/dist/client/{context-CJIz4FdL.mjs → context-DtKdUdkO.mjs} +200 -27
- package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-BaGPvQS3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-B8eDjhuG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DvhD-8eE.mjs} +4 -4
- package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-Du9a_xAN.mjs} +1982 -1519
- package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-Di9wDfzl.mjs} +4 -4
- package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-CNW6nBsB.mjs} +4 -4
- package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-CQMxQ8By.mjs} +4 -4
- package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-CprS9k1D.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BBBtRwvy.mjs → form-Zl1_8RJ6.mjs} +3 -3
- package/dist/client/{form.client-CZeRQLGF.mjs → form.client-TaMUys6I.mjs} +5 -5
- package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CpNPbPPM.mjs} +3 -3
- package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-hhI1-tzt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -6
- package/dist/client/{gifting-Di9-SpwW.mjs → gifting-DNVa7-Wj.mjs} +4 -4
- package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-CFUq3GVx.mjs} +5 -5
- package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-CDQvxA4A.mjs} +2 -2
- package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-Cg6083rn.mjs} +2 -2
- package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-gJ3OqPf9.mjs} +258 -86
- package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-VuL9I96G.mjs} +6 -6
- package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-7Of3eYn0.mjs} +4023 -4029
- package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-OBqsfT24.mjs} +2 -2
- package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-BkJe_RTv.mjs} +3 -3
- package/dist/client/portal/client.mjs +301 -117
- package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-B2hdxqJN.mjs} +1 -1
- package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-CCEgu9rx.mjs} +1 -1
- package/dist/client/{productDetail-gxF5whea.mjs → productDetail-CRX_ZRfS.mjs} +3 -3
- package/dist/client/{productList-B9t0XJrN.mjs → productList-BAdJ6z5S.mjs} +3 -3
- package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-BLKAmX0S.mjs} +2 -48
- package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-Bj9cmHHF.mjs} +10464 -9113
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-Z45OLLEX.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-DHpTTK77.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-D1oTPDxm.mjs → shop-BKsgxm_-.mjs} +3 -3
- package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-Cbtk_kUW.mjs} +14 -14
- package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B-rv2p5h.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-CiCDLNh7.mjs} +2 -2
- package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-Rnqa74Tk.mjs} +14 -14
- package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-BaBfhjCq.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-D11X-B6n.mjs → src-o7WEvbK1.mjs} +398 -308
- package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-BOff1Kk5.mjs} +259 -11
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-DQJNh10g.mjs} +3 -23
- package/dist/client/useDiscountCodeUi-BcFQRI_7.mjs +196 -0
- package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-BvdcexDC.mjs} +8 -8
- package/dist/client/{view-bGU1ws-m.mjs → view-CTBwSpKv.mjs} +4 -4
- package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CWIQyRIw.mjs} +10263 -9078
- package/dist/preview-next/before-render.mjs +5 -3
- package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-CG6KwITA.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-BGBqrC9m.mjs} +8 -7
- package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-Bwkyx28x.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DB1l6JNU.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Bs6Cwzr3.mjs} +15 -7
- package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
- package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-T-oDD_Dd.mjs} +6252 -2461
- package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-BeukcDRy.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-ceDW_9q2.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-CCB9bScO.mjs} +35 -23
- package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-D4o0CKq7.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-Seccrvwu.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +103 -10
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-FwFj8zGL.mjs} +71 -10
- package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-D6WrRCxX.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQzjDQ2q.mjs} +8 -1
- package/dist/server/{bindings-DrbJuftt.mjs → bindings-CS6ih1Yc.mjs} +37 -6
- package/dist/server/{client-Bf06n9oj.mjs → client-m0ylCj_f.mjs} +436 -526
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-vgWMz1uD.mjs +694 -0
- package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-CIOL3-9t.mjs} +22 -4
- package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-m-91jGGn.mjs} +36 -0
- package/dist/server/next.mjs +67 -94
- package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-BiHmsvTZ.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-DJo_obpi.mjs} +15 -8
- package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-BnSuoHON.mjs} +54 -2
- package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-BJuOzxzn.mjs} +554 -304
- package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-Cr8p8T7V.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-BZh57-ua.mjs} +5 -3
- package/dist/server/{registry-D12XF_h1.mjs → registry-CvhFwbXJ.mjs} +358 -95
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-Cv_W1LVB.mjs} +61 -34
- package/dist/server/resolvePageContent-BWKUZUIn.mjs +89 -0
- package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-KRKguBC5.mjs} +56 -1
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-CRKbTm_7.mjs} +719 -459
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLq5cw6M.mjs → validation-DCl-FCk_.mjs} +4 -4
- package/dist/server/{version-oPbhAx8E.mjs → version-DT_R5JAR.mjs} +1 -1
- package/dist/styles/index.css +504 -27
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
- package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
- package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
- package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
- package/dist/client/constants-4o4_hl34.mjs +0 -6
- package/dist/client/course-DBEU9IA9.mjs +0 -244
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
- package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
- package/dist/client/view-DNX59QwM.mjs +0 -1372
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-
|
|
1
|
+
import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-BnSuoHON.mjs";
|
|
2
2
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-vgWMz1uD.mjs";
|
|
4
|
+
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
5
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-Cv_W1LVB.mjs";
|
|
5
6
|
//#region src/rendering/helpers/loadPage.ts
|
|
6
7
|
/**
|
|
7
8
|
* Server-side helper to fetch all data needed for <Page> component.
|
|
@@ -65,7 +66,7 @@ async function loadPage(params) {
|
|
|
65
66
|
}
|
|
66
67
|
async function loadPageWithDeps(deps, params) {
|
|
67
68
|
const { client, siteId, path, pageId, preview = false, dataLoaderOverrides, searchParams, forceSite } = params;
|
|
68
|
-
const [site,
|
|
69
|
+
const [site, pageRead] = await Promise.all([client.getSite({
|
|
69
70
|
id: siteId,
|
|
70
71
|
currentPath: path,
|
|
71
72
|
...forceSite ? { force: true } : {}
|
|
@@ -74,6 +75,23 @@ async function loadPageWithDeps(deps, params) {
|
|
|
74
75
|
path,
|
|
75
76
|
preview
|
|
76
77
|
})]);
|
|
78
|
+
if (pageRead.result.kind !== "cms") {
|
|
79
|
+
const content = await loadContentFromContentResponseWithDeps(deps, {
|
|
80
|
+
client,
|
|
81
|
+
siteId,
|
|
82
|
+
site,
|
|
83
|
+
contentResponse: pageRead,
|
|
84
|
+
preview,
|
|
85
|
+
dataLoaderOverrides,
|
|
86
|
+
searchParams
|
|
87
|
+
});
|
|
88
|
+
if (!isPageContent(content)) throw new Error("Expected a selected system page");
|
|
89
|
+
return {
|
|
90
|
+
...content,
|
|
91
|
+
theme: requireSdkTheme(content.theme, siteId)
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
const pageResponse = pageRead.result.content;
|
|
77
95
|
const pageData = requirePageRecord(pageResponse);
|
|
78
96
|
const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(pageResponse.mediaAssets));
|
|
79
97
|
const previewStage = preview ? "preview" : "published";
|
|
@@ -1715,6 +1715,24 @@ const blockAppearancePresets = [
|
|
|
1715
1715
|
},
|
|
1716
1716
|
styleFallback: [id("media-text-photo-beside-text")]
|
|
1717
1717
|
}),
|
|
1718
|
+
defineArrangementLook("media-text-quote-beside-circle", "media-text", "Quote beside a round photo", "circle-beside", ["imagePosition"], {
|
|
1719
|
+
mediaFrame: { default: {
|
|
1720
|
+
kind: "fixed",
|
|
1721
|
+
aspectRatio: "1/1",
|
|
1722
|
+
borderRadius: "50%"
|
|
1723
|
+
} },
|
|
1724
|
+
thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [
|
|
1725
|
+
sketch.title(.6),
|
|
1726
|
+
sketch.quote("small"),
|
|
1727
|
+
sketch.text(2),
|
|
1728
|
+
sketch.text(1, .5)
|
|
1729
|
+
])]),
|
|
1730
|
+
forcedKnobs: {
|
|
1731
|
+
imageShape: "circle",
|
|
1732
|
+
aspectRatio: "1/1"
|
|
1733
|
+
},
|
|
1734
|
+
styleFallback: [id("media-text-circle-beside-text"), id("media-text-photo-beside-text")]
|
|
1735
|
+
}),
|
|
1718
1736
|
defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
|
|
1719
1737
|
photoUse: "beside",
|
|
1720
1738
|
thumbnail: sketch.page([sketch.middle([
|
|
@@ -2446,6 +2464,24 @@ const blockAppearancePresets = [
|
|
|
2446
2464
|
}),
|
|
2447
2465
|
blockKinds: ["block.team-members"]
|
|
2448
2466
|
},
|
|
2467
|
+
{
|
|
2468
|
+
...defineCardListLook("team-members-person-rows", "One person per row, with facts", "stack", [
|
|
2469
|
+
"media",
|
|
2470
|
+
"title",
|
|
2471
|
+
"text",
|
|
2472
|
+
"facts"
|
|
2473
|
+
], ["showPhotos"], {
|
|
2474
|
+
thumbnail: sketch.page([sketch.down(2, [sketch.row(sketch.weight(2, [sketch.photo("medium", "circle"), sketch.card([sketch.text(3, .7)])]), sketch.weight(3, [
|
|
2475
|
+
sketch.title(.4, "small"),
|
|
2476
|
+
sketch.title(.6),
|
|
2477
|
+
sketch.text(4)
|
|
2478
|
+
]))])]),
|
|
2479
|
+
teamBiography: "profile",
|
|
2480
|
+
teamFacts: "person",
|
|
2481
|
+
styleFallback: [id("team-members-portrait-bio")]
|
|
2482
|
+
}),
|
|
2483
|
+
blockKinds: ["block.team-members"]
|
|
2484
|
+
},
|
|
2449
2485
|
{
|
|
2450
2486
|
...defineCardListLook("team-members-ruled-names", "Names in a ruled list", "index", [
|
|
2451
2487
|
"title",
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { ic as resolveBookingBusinessTimeZone, qs as inferSiteDateLocale, rc as toUtcIsoDateTimeString } from "./registry-CvhFwbXJ.mjs";
|
|
2
|
+
import { a as rethrowFrameworkSignal } from "./responseMedia-KRKguBC5.mjs";
|
|
3
|
+
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-BJuOzxzn.mjs";
|
|
4
|
+
import { h as createBearerAPIClient, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient$1 } from "./client-m0ylCj_f.mjs";
|
|
5
5
|
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { c as unwrapResponse, i as ApiRequestError, t as RiverbankApiError } from "./error-f4g44bKx.mjs";
|
|
7
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-vgWMz1uD.mjs";
|
|
8
|
+
import { a as pageReadMissReason, c as toEntrySubrouteContext, i as contentNotFound, n as contentFound, s as resolvePageContent, t as RiverbankContentLoadError } from "./resolvePageContent-BWKUZUIn.mjs";
|
|
9
|
+
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
7
10
|
import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
|
|
8
11
|
import { c as PORTAL_ENTRY_COOKIE } from "./constants-Cj7hfbrA.mjs";
|
|
9
12
|
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
10
13
|
import { c as parsePortalEntryArrival, f as previewPortalEntryToken, l as planPortalEntryPage, s as decodePortalEntryCookieValue, t as getPortalToken, u as portalEntryFingerprint } from "./portal-B4JVkdjc.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import { t as SDK_VERSION } from "./version-
|
|
14
|
+
import { t as toRoutingInfo } from "./contentTypeResolver-B9vy8BrF.mjs";
|
|
15
|
+
import { t as SDK_VERSION } from "./version-DT_R5JAR.mjs";
|
|
13
16
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
14
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
17
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-BiHmsvTZ.mjs";
|
|
15
18
|
import { cache } from "react";
|
|
16
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
20
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
18
21
|
import { notFound, permanentRedirect, redirect } from "next/navigation";
|
|
19
22
|
import { cookies } from "next/headers";
|
|
23
|
+
import { revalidateTag, unstable_cache } from "next/cache";
|
|
20
24
|
import { CustomerPortal, PortalAccessState, PortalDigitalProductView, PortalEntryContent, PortalTicketView } from "#sdk-portal-client";
|
|
21
25
|
import { RedeemGiftCardRouteClient } from "#sdk-gifting-client";
|
|
22
26
|
//#region src/next/requestReadMemo.ts
|
|
@@ -44,50 +48,6 @@ function createRequestReadMemo() {
|
|
|
44
48
|
});
|
|
45
49
|
}
|
|
46
50
|
//#endregion
|
|
47
|
-
//#region src/next/resolveEventPageSubroute.ts
|
|
48
|
-
async function resolveEventPageSubroute(input) {
|
|
49
|
-
if (!isSupportedKind(input.kind) || !isPageSurfaceContent(input.content)) return null;
|
|
50
|
-
const { subject } = input.content.pageSurface;
|
|
51
|
-
if (subject.kind === "appointmentService") return null;
|
|
52
|
-
const subjectRef = subject.kind === "eventOffering" ? {
|
|
53
|
-
kind: subject.kind,
|
|
54
|
-
eventOfferingId: subject.eventOfferingId
|
|
55
|
-
} : subject;
|
|
56
|
-
try {
|
|
57
|
-
if (input.kind === "event-run") {
|
|
58
|
-
const { run } = await input.client.resolveEventRun({
|
|
59
|
-
siteId: input.siteId,
|
|
60
|
-
subject: subjectRef,
|
|
61
|
-
segment: input.segment
|
|
62
|
-
});
|
|
63
|
-
return run ? {
|
|
64
|
-
kind: "event-run",
|
|
65
|
-
run
|
|
66
|
-
} : null;
|
|
67
|
-
}
|
|
68
|
-
const { occurrence } = await input.client.resolveEventOccurrence({
|
|
69
|
-
siteId: input.siteId,
|
|
70
|
-
subject: subjectRef,
|
|
71
|
-
segment: input.segment
|
|
72
|
-
});
|
|
73
|
-
return occurrence ? {
|
|
74
|
-
kind: "event-occurrence",
|
|
75
|
-
occurrence
|
|
76
|
-
} : null;
|
|
77
|
-
} catch (error) {
|
|
78
|
-
console.warn("[createCatchAllPage] Failed to resolve Event subroute", {
|
|
79
|
-
siteId: input.siteId,
|
|
80
|
-
surfaceId: input.content.pageSurface.id,
|
|
81
|
-
segment: input.segment,
|
|
82
|
-
error: error instanceof Error ? error.message : String(error)
|
|
83
|
-
});
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function isSupportedKind(kind) {
|
|
88
|
-
return kind == null || kind === "event-occurrence" || kind === "event-run";
|
|
89
|
-
}
|
|
90
|
-
//#endregion
|
|
91
51
|
//#region src/next/resolveTheme.ts
|
|
92
52
|
function getFirstQueryParamValue(value) {
|
|
93
53
|
if (typeof value === "string") return value;
|
|
@@ -246,29 +206,6 @@ const RESERVED_STATIC_PATH_PATTERNS = [
|
|
|
246
206
|
function isReservedStaticPath(path) {
|
|
247
207
|
return RESERVED_STATIC_PATH_PATTERNS.some((pattern) => pattern.test(path));
|
|
248
208
|
}
|
|
249
|
-
function toOccurrenceContextFromEntrySubroute(entrySubrouteData) {
|
|
250
|
-
if (!entrySubrouteData || entrySubrouteData.kind !== "event-occurrence") return null;
|
|
251
|
-
return {
|
|
252
|
-
id: entrySubrouteData.occurrence.id,
|
|
253
|
-
seriesId: entrySubrouteData.occurrence.seriesId,
|
|
254
|
-
startsAt: entrySubrouteData.occurrence.startsAt,
|
|
255
|
-
endsAt: entrySubrouteData.occurrence.endsAt,
|
|
256
|
-
timeZone: entrySubrouteData.occurrence.timeZone,
|
|
257
|
-
capacityOverride: entrySubrouteData.occurrence.capacityOverride,
|
|
258
|
-
overrides: entrySubrouteData.occurrence.overridesJson
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
function toEntrySubrouteContext(entrySubrouteData) {
|
|
262
|
-
if (entrySubrouteData?.kind === "event-run") return {
|
|
263
|
-
kind: "event-run",
|
|
264
|
-
run: entrySubrouteData.run
|
|
265
|
-
};
|
|
266
|
-
const occurrence = toOccurrenceContextFromEntrySubroute(entrySubrouteData);
|
|
267
|
-
return occurrence ? {
|
|
268
|
-
kind: "event-occurrence",
|
|
269
|
-
occurrence
|
|
270
|
-
} : null;
|
|
271
|
-
}
|
|
272
209
|
//#endregion
|
|
273
210
|
//#region src/next/content-load-failure.ts
|
|
274
211
|
const SdkContentLoadError = RiverbankContentLoadError;
|
|
@@ -443,6 +380,7 @@ async function renderSdkContent(input) {
|
|
|
443
380
|
if (isPageContent(input.content)) return {
|
|
444
381
|
kind: "rendered",
|
|
445
382
|
node: await render(input.content.page, {
|
|
383
|
+
...input.content.dataContext,
|
|
446
384
|
previewStage,
|
|
447
385
|
now
|
|
448
386
|
})
|
|
@@ -553,6 +491,7 @@ async function resolveRequestContext(runtime) {
|
|
|
553
491
|
try {
|
|
554
492
|
return await getRequestContext();
|
|
555
493
|
} catch (error) {
|
|
494
|
+
rethrowFrameworkSignal(error);
|
|
556
495
|
console.warn("[createCatchAllPage] getRequestContext failed:", error);
|
|
557
496
|
return;
|
|
558
497
|
}
|
|
@@ -581,7 +520,6 @@ async function renderContentLoadFailure(runtime, error) {
|
|
|
581
520
|
async function resolveContentForPath(runtime, args) {
|
|
582
521
|
return resolvePageContent({
|
|
583
522
|
path: args.path,
|
|
584
|
-
contentTypes: runtime.contentTypes,
|
|
585
523
|
loadContent: async (contentPath) => {
|
|
586
524
|
try {
|
|
587
525
|
return contentFound(await loadContent({
|
|
@@ -595,20 +533,12 @@ async function resolveContentForPath(runtime, args) {
|
|
|
595
533
|
} : {}
|
|
596
534
|
}));
|
|
597
535
|
} catch (error) {
|
|
536
|
+
rethrowFrameworkSignal(error);
|
|
598
537
|
const sdkError = await toSdkContentLoadError(runtime, error, contentPath);
|
|
599
538
|
if (sdkError) throw sdkError;
|
|
600
|
-
return contentNotFound();
|
|
539
|
+
return contentNotFound(pageReadMissReason(error instanceof RiverbankApiError ? error.tag : void 0));
|
|
601
540
|
}
|
|
602
|
-
}
|
|
603
|
-
resolveSubroute: ({ content, kind, segment }) => resolveEventPageSubroute({
|
|
604
|
-
siteId: runtime.options.config.siteId,
|
|
605
|
-
client: args.client,
|
|
606
|
-
content,
|
|
607
|
-
kind,
|
|
608
|
-
segment
|
|
609
|
-
}),
|
|
610
|
-
getContentTypeKey: (content) => isPageSurfaceContent(content) ? content.pageSurface.contentSource.contentTypeKey : isEntryContent(content) ? content.entry.type ?? null : null,
|
|
611
|
-
shouldAttemptSubroute: defaultShouldAttemptEntrySubroute
|
|
541
|
+
}
|
|
612
542
|
});
|
|
613
543
|
}
|
|
614
544
|
async function redirectIfConfigured(runtime, args) {
|
|
@@ -621,6 +551,7 @@ async function redirectIfConfigured(runtime, args) {
|
|
|
621
551
|
preview: false
|
|
622
552
|
});
|
|
623
553
|
} catch (error) {
|
|
554
|
+
rethrowFrameworkSignal(error);
|
|
624
555
|
console.warn("[createCatchAllPage] Redirect outcome check failed:", {
|
|
625
556
|
path: args.path,
|
|
626
557
|
error: error instanceof Error ? error.message : String(error)
|
|
@@ -703,10 +634,20 @@ async function renderResolvedCatchAllPage(runtime, input) {
|
|
|
703
634
|
mediaAssets: input.content.mediaAssets
|
|
704
635
|
}) }), rendered.node] }));
|
|
705
636
|
}
|
|
637
|
+
/**
|
|
638
|
+
* A client built from `@riverbankcms/sdk/server` has no framework cache, so a published page read is a
|
|
639
|
+
* no-store fetch. Next can't render that inside the catch-all's ISR route and fails every page, so stop
|
|
640
|
+
* with an error that names the fix. Preview reads are dynamic anyway and don't need the cache.
|
|
641
|
+
*/
|
|
642
|
+
function requireFrameworkCache(runtime) {
|
|
643
|
+
const client = runtime.options.getClient();
|
|
644
|
+
if (!runtime.preview && !client.hasFrameworkCache()) throw new Error("[createCatchAllPage] This Riverbank client has no Next cache, so published pages cannot render. Build the client with createRiverbankClient from '@riverbankcms/sdk/next' instead of '@riverbankcms/sdk/server'.");
|
|
645
|
+
return client;
|
|
646
|
+
}
|
|
706
647
|
async function renderCatchAllPage(runtime, props) {
|
|
707
648
|
const { path, searchParams } = await readCatchAllRequest(runtime, props);
|
|
708
649
|
if (isReservedStaticPath(path)) return notFound();
|
|
709
|
-
const client = runtime.withRequestReadMemo(runtime
|
|
650
|
+
const client = runtime.withRequestReadMemo(requireFrameworkCache(runtime));
|
|
710
651
|
const apiBaseUrl = client.getBaseUrl();
|
|
711
652
|
const portalToken = runtime.enablePortal ? getPortalToken(await cookies()) : null;
|
|
712
653
|
let resolution;
|
|
@@ -721,12 +662,13 @@ async function renderCatchAllPage(runtime, props) {
|
|
|
721
662
|
}
|
|
722
663
|
});
|
|
723
664
|
} catch (error) {
|
|
665
|
+
rethrowFrameworkSignal(error);
|
|
724
666
|
return renderContentLoadFailure(runtime, error);
|
|
725
667
|
}
|
|
726
668
|
if (!resolution.found) {
|
|
727
669
|
if (resolution.reason === "load-failed") throwUpstreamContentError(path, resolution);
|
|
728
670
|
console.debug("[createCatchAllPage] Resolution failed:", path, resolution.reason);
|
|
729
|
-
await redirectIfConfigured(runtime, {
|
|
671
|
+
if (resolution.reason === "not-found") await redirectIfConfigured(runtime, {
|
|
730
672
|
path,
|
|
731
673
|
client,
|
|
732
674
|
searchParams
|
|
@@ -736,7 +678,7 @@ async function renderCatchAllPage(runtime, props) {
|
|
|
736
678
|
return renderResolvedCatchAllPage(runtime, {
|
|
737
679
|
apiBaseUrl,
|
|
738
680
|
content: resolution.content,
|
|
739
|
-
entrySubrouteContext: toEntrySubrouteContext(resolution.
|
|
681
|
+
entrySubrouteContext: toEntrySubrouteContext(resolution.content.pageRead.result.kind === "cms" ? resolution.content.pageRead.result.eventSubroute : null),
|
|
740
682
|
path,
|
|
741
683
|
portalToken,
|
|
742
684
|
searchParams
|
|
@@ -754,6 +696,11 @@ function metadataPage(content, preview) {
|
|
|
754
696
|
};
|
|
755
697
|
return { name: "Page" };
|
|
756
698
|
}
|
|
699
|
+
function metadataSurfaceIndexing(content) {
|
|
700
|
+
if (isPageSurfaceContent(content)) return { surfaceIndexing: content.pageSurface.subject };
|
|
701
|
+
const destination = content.pageRead.result;
|
|
702
|
+
return destination.kind === "system_service" && destination.indexability === "noindex" ? { surfaceIndexing: { noindex: true } } : {};
|
|
703
|
+
}
|
|
757
704
|
async function resolveCatchAllMetadata(runtime, input) {
|
|
758
705
|
if (runtime.options.customMetadata) return runtime.options.customMetadata({
|
|
759
706
|
content: input.content,
|
|
@@ -770,19 +717,20 @@ async function resolveCatchAllMetadata(runtime, input) {
|
|
|
770
717
|
return generator({
|
|
771
718
|
page: metadataPage(input.content, runtime.preview),
|
|
772
719
|
site: input.content.site,
|
|
773
|
-
path: input.path,
|
|
720
|
+
path: input.content.pageRead.result.kind === "cms" ? input.path : input.content.pageRead.result.canonicalPath,
|
|
774
721
|
siteUrl: resolvedUrl,
|
|
775
|
-
...
|
|
722
|
+
...metadataSurfaceIndexing(input.content),
|
|
776
723
|
...titleMode ? { titleMode } : {}
|
|
777
724
|
});
|
|
778
725
|
}
|
|
779
726
|
async function generateCatchAllMetadata(runtime, props) {
|
|
780
727
|
const { path, searchParams } = await readCatchAllRequest(runtime, props);
|
|
781
728
|
if (isReservedStaticPath(path)) return pageNotFoundMetadata();
|
|
729
|
+
const client = runtime.withRequestReadMemo(requireFrameworkCache(runtime));
|
|
782
730
|
try {
|
|
783
731
|
const resolution = await resolveContentForPath(runtime, {
|
|
784
732
|
path,
|
|
785
|
-
client
|
|
733
|
+
client,
|
|
786
734
|
purpose: {
|
|
787
735
|
kind: "metadata",
|
|
788
736
|
searchParams
|
|
@@ -798,6 +746,7 @@ async function generateCatchAllMetadata(runtime, props) {
|
|
|
798
746
|
searchParams
|
|
799
747
|
}), isPageSurfaceContent(resolution.content) ? resolution.content.pageSurface.subject : null, runtime.preview);
|
|
800
748
|
} catch (error) {
|
|
749
|
+
rethrowFrameworkSignal(error);
|
|
801
750
|
if (error instanceof RiverbankContentLoadError) throw error;
|
|
802
751
|
console.debug("[createCatchAllPage] Failed to generate metadata for path:", path, error);
|
|
803
752
|
return pageNotFoundMetadata();
|
|
@@ -812,6 +761,22 @@ function createCatchAllPage(options) {
|
|
|
812
761
|
};
|
|
813
762
|
}
|
|
814
763
|
//#endregion
|
|
764
|
+
//#region src/next/cacheAdapter.ts
|
|
765
|
+
/** Explicit server-only Next effects; no runtime module discovery or silent fallback. */
|
|
766
|
+
const nextCacheAdapter = {
|
|
767
|
+
cache: (read, keys, policy) => unstable_cache(read, keys, policy),
|
|
768
|
+
invalidateTag: (tag) => revalidateTag(tag, "max")
|
|
769
|
+
};
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region src/next/client.ts
|
|
772
|
+
/** Canonical Next server constructor: Next's framework cache is the default adapter. */
|
|
773
|
+
function createRiverbankClient(config) {
|
|
774
|
+
return createRiverbankClient$1({
|
|
775
|
+
...config,
|
|
776
|
+
frameworkCache: config.frameworkCache ?? nextCacheAdapter
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
//#endregion
|
|
815
780
|
//#region src/next/static-params.ts
|
|
816
781
|
/**
|
|
817
782
|
* Static params generation for Next.js SSG
|
|
@@ -1352,6 +1317,14 @@ function createRedeemPage(options) {
|
|
|
1352
1317
|
* Provides opinionated factories for common Next.js patterns, reducing
|
|
1353
1318
|
* boilerplate while maintaining full customizability through escape hatches.
|
|
1354
1319
|
*
|
|
1320
|
+
* Construct Next server clients with framework caching installed by default:
|
|
1321
|
+
* ```ts
|
|
1322
|
+
* import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
1323
|
+
* const client = createRiverbankClient({
|
|
1324
|
+
* apiKey, baseUrl,
|
|
1325
|
+
* });
|
|
1326
|
+
* ```
|
|
1327
|
+
*
|
|
1355
1328
|
* @example Basic catch-all page
|
|
1356
1329
|
* ```tsx
|
|
1357
1330
|
* // src/app/[[...slug]]/page.tsx
|
|
@@ -1411,4 +1384,4 @@ function getISRConfig() {
|
|
|
1411
1384
|
};
|
|
1412
1385
|
}
|
|
1413
1386
|
//#endregion
|
|
1414
|
-
export { ISR_REVALIDATE_SECONDS, InvalidCatchAllRenderingOptionsError, MISSING_SDK_THEME_ERROR_CODE, MissingSdkThemeError, RiverbankContentLoadError, SdkContentLoadError, classifyContentLoadError, createCatchAllPage, createGenerateStaticParams, createPortalContinuePage, createPortalDigitalProductFilePage, createPortalDigitalProductPage, createPortalPage, createPortalTicketPage, createRedeemPage, createRobots, createSitemap, generateAllStaticParams, getISRConfig, isSdkContentLoadError, normalizeStaticRoutePath, pathToSlugArray, renderPortalDigitalProductFilePage, renderPortalDigitalProductPage, renderPortalEntryContent, renderPortalTicketPage, routesToStaticParams, toContentLoadFailureLogFields, validateStaticParamsEnv };
|
|
1387
|
+
export { ISR_REVALIDATE_SECONDS, InvalidCatchAllRenderingOptionsError, MISSING_SDK_THEME_ERROR_CODE, MissingSdkThemeError, RiverbankContentLoadError, SdkContentLoadError, classifyContentLoadError, createCatchAllPage, createGenerateStaticParams, createPortalContinuePage, createPortalDigitalProductFilePage, createPortalDigitalProductPage, createPortalPage, createPortalTicketPage, createRedeemPage, createRiverbankClient, createRobots, createSitemap, generateAllStaticParams, getISRConfig, isSdkContentLoadError, nextCacheAdapter, normalizeStaticRoutePath, pathToSlugArray, renderPortalDigitalProductFilePage, renderPortalDigitalProductPage, renderPortalEntryContent, renderPortalTicketPage, routesToStaticParams, toContentLoadFailureLogFields, validateStaticParamsEnv };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PageContent } from "./pageShared-
|
|
1
|
+
import { t as PageContent } from "./pageShared-BJuOzxzn.mjs";
|
|
2
2
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
3
3
|
import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as listBlockDescriptors, pi as parseBackgroundContent } from "./registry-CvhFwbXJ.mjs";
|
|
2
2
|
import { i as createRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
3
3
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
4
4
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Dt as parseThemeColorToken, G as hexToRgb, J as oklchToHexGamut, K as oklabToOklch, P as getTextColorForBackground, R as contrastRatio, X as rgbToHex, Z as srgbToOklab, q as oklabToSrgb } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
|
-
import { $ as resolveCardListSchedule,
|
|
2
|
+
import { $ as resolveCardListSchedule, At as groupOfferingRunsByCourse, Ba as styleSectionBackgroundForColour, Bn as isBookableEvent, Bo as resolveSectionBackground, Br as formatEventDepositNote, Bt as ThemedButtonLink, Ci as lookCarouselRegionTransform, Cn as groupEventsByDate, Co as sectionShapeForGround, Di as asPartialObject, Ei as lookSkinSlotTransform, Er as listLookSlot, Fs as resolveWholeSeriesBookingPhase, Ga as resolvePublishedLook, Gn as getEventAvailabilityStatus, Gr as BACKGROUND_POSITION_PRESET_VALUES, Gs as formatDateRange, Ha as readStoredMode, Hn as formatEventRemainingPlaces, Ir as classPricesCopySchema, Jt as weekColumnDays, Kn as isEventFull, Kr as getAnchorClasses, Ks as formatDateTimeRange, Lo as applyLookPhotoTreatment, Lr as classPricesDataSchema, Ma as arrangementAppearancePresets, Mr as heroMorePhotoCount, Ns as nextLiveRunSessionStartMs, Oa as heroPhotoPaintsGround, Oi as createTransformRegistry, Oo as boundaryRuntimeMetricsForDecorativeTransition, Ps as orderedLiveRunSessions, Ro as deriveSectionGround, Rr as resolveClassPriceItems, Sa as resolveLookSurfacePresentation, Sn as formatTime, Ti as lookQuoteLimitTransform, To as sectionShapeHook, Ua as resolveEffectiveArrangement, Un as formatTotalCapacity, Uo as stripStaleTransitionStyleGroup, Ur as formatEventPriceDisplay, Va as arrangementManifestFromVariants, Vn as canJoinEventWaitlistOnAnyMode, Vo as sectionSurfaceBase, Vr as formatEventPrice, Wa as resolveModeArrangement, Wn as getEventAvailability, Wo as themeV2CompilerOwnedFieldNames, Wr as formatEventStartingPrice, Ws as formatDate, Wt as buildEventListWeek, X as CardListContentPart, Xt as formatBookingSchedulePresentation, Ya as deriveSiteStyleBlockPolicy, Yt as resolveRuntimeEventDestination, Z as CardListLeadDate, Zs as compareLocalScheduleDates, _i as resolveSurfaceForegroundStyles, aa as eventReadinessLoaderKey, at as computeMediaTransformStyle, bi as isSemanticSpacing, bn as formatEventTimeRange, co as getGradientPreset, cr as mediaTransforms, cs as formatDateKey, da as eventScopeQuery, dn as eventLocalDateKey, dr as layoutTransforms, dt as systemCustomizeFacetDefinitionsForBlock, ea as augmentManifest, ec as getLocalScheduleDate, et as selectCardListPresentation, fa as eventScopeQueryKeys, fc as resolveExactOrFreePriceDisplay, ga as resolveEventCalendarReadPlan, gi as resolveSectionSurfaceForeground, gn as formatEventDateParts, ha as eventCalendarListGroupingDecision, hi as parseRuntimeBackgroundContent, hn as formatEventCompactDateRail, ht as EventQuickFacts, ia as blockChecksForEvents, ic as resolveBookingBusinessTimeZone, la as eventDiscoveryFilterKeys, li as boxStylesTransforms, ln as eventCalendarWeekStart, lr as headerRuntimeTransforms, ma as resolveCalendarReadProfile, mi as parseBackgroundOverlay, mr as formattingTransforms, ms as isToday, nn as formatEventLocation, nr as contentTransforms, oa as eventReadinessQuery, on as closedRunCopy, or as readRuntimeNow, pa as resolveEventScope, pc as resolvePricingOptionsPriceDisplay, pi as parseBackgroundContent, pr as uiTransforms, qt as groupEventsByWeek, rc as toUtcIsoDateTimeString, rt as ImagePresets, sa as eventReadinessQueryKeys, sc as formatBookingPriceDisplay, so as gradientToCss, t as getBlockDefinition, ta as isObjectRecord, tc as parseBookingLocalDate, tt as MediaNodeServer, ua as eventScopeLoaderParam, un as eventDateOptions, ur as chromeLogoTransforms, ut as resolveArrangementKnobs, vc as parseGradientPresetId, vi as resolveBackgroundColorValue, wi as lookLeadSlotTransform, wn as resolveEventTimeZone, wo as sectionShapeFromContent, wr as listItemPresentation, xa as lookPresentationOnPalette, xn as formatEventWeekdayTime, yc as arrangementSlotNames, yn as formatEventRunDates, z as combinedLookSchema, zi as ClockIcon, zn as hasEventBookingClosedEarly, zo as parseCanonicalRuntimeBackground, zr as formatCoursePrice } from "./registry-CvhFwbXJ.mjs";
|
|
3
3
|
import { A as resolveOnColorForThemeToken, G as resolveConcreteColorHex, M as resolveTokenOrCssColorValue, k as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
4
4
|
import { D as asSiteStyleId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey } from "./customCss-BZ8YSrQg.mjs";
|
|
5
5
|
import { o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
6
6
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
7
7
|
import { o as isRecord$2 } from "./richTextSchema-QLaQrbII.mjs";
|
|
8
|
-
import { f as assertNever$1, n as resolveLookMediaFrame } from "./lookMediaFrame-
|
|
8
|
+
import { f as assertNever$1, n as resolveLookMediaFrame } from "./lookMediaFrame-m-91jGGn.mjs";
|
|
9
9
|
import { i as outlineRegions, n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
10
10
|
import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
|
|
11
11
|
import React from "react";
|
|
@@ -1714,7 +1714,8 @@ function cardItemSlotParents(arrangement) {
|
|
|
1714
1714
|
"item-media": "item",
|
|
1715
1715
|
dates: body,
|
|
1716
1716
|
date: arrangement === "slides" || arrangement === "track" ? "item-media" : "dates",
|
|
1717
|
-
availability: body
|
|
1717
|
+
availability: body,
|
|
1718
|
+
facts: body
|
|
1718
1719
|
};
|
|
1719
1720
|
}
|
|
1720
1721
|
//#endregion
|
|
@@ -1745,6 +1746,7 @@ function presentPublicBlock(block) {
|
|
|
1745
1746
|
id: block.id,
|
|
1746
1747
|
kind: block.kind,
|
|
1747
1748
|
purpose: block.purpose,
|
|
1749
|
+
...block.identifier ? { identifier: block.identifier } : {},
|
|
1748
1750
|
...block.contentVersionId ? { contentVersionId: block.contentVersionId } : {},
|
|
1749
1751
|
...block.draftContentId !== void 0 ? { draftContentId: block.draftContentId } : {},
|
|
1750
1752
|
publishedPlacement: block.publishedPlacement,
|
|
@@ -2653,7 +2655,7 @@ function eventHeaderContent(selection, show) {
|
|
|
2653
2655
|
label: "Time",
|
|
2654
2656
|
value: timeRange
|
|
2655
2657
|
},
|
|
2656
|
-
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact,
|
|
2658
|
+
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, selection)) : [],
|
|
2657
2659
|
...groupSize === null ? [] : [{
|
|
2658
2660
|
label: "Group size",
|
|
2659
2661
|
value: groupSize
|
|
@@ -2662,9 +2664,9 @@ function eventHeaderContent(selection, show) {
|
|
|
2662
2664
|
action: headerAction(selection, item.action)
|
|
2663
2665
|
};
|
|
2664
2666
|
}
|
|
2665
|
-
/** The page
|
|
2666
|
-
function withDepositNote(fact,
|
|
2667
|
-
const note = formatEventDepositNote(
|
|
2667
|
+
/** The page says how booking is paid beside the price, so a deposit isn't first seen (or missed) at checkout. */
|
|
2668
|
+
function withDepositNote(fact, selection) {
|
|
2669
|
+
const note = formatEventDepositNote(selection.depositOffer);
|
|
2668
2670
|
return note ? {
|
|
2669
2671
|
...fact,
|
|
2670
2672
|
value: `${fact.value}, ${note}`
|
|
@@ -3351,6 +3353,11 @@ function describePublicRefundPolicy(refunds) {
|
|
|
3351
3353
|
case "cutoff": return `Cancel up to ${formatCutoff(refunds.cutoffHours)} before it starts for a full refund ${refundDestination}.`;
|
|
3352
3354
|
}
|
|
3353
3355
|
}
|
|
3356
|
+
/**
|
|
3357
|
+
* A free booking has nothing to refund. A refund cutoff only decides what comes back,
|
|
3358
|
+
* so people can still cancel right up to the start.
|
|
3359
|
+
*/
|
|
3360
|
+
const PUBLIC_FREE_CANCELLATION = "You can cancel any time before it starts.";
|
|
3354
3361
|
function formatCutoff(cutoffHours) {
|
|
3355
3362
|
const hours = Math.max(0, Math.round(cutoffHours));
|
|
3356
3363
|
if (hours % 24 === 0) {
|
|
@@ -4742,4 +4749,4 @@ function plannedSlotParents(entry, look) {
|
|
|
4742
4749
|
return arrangementSlotParentsForManifest(entry.definition.manifest, look.look.target, arrangement, look.look.structure.eventRows);
|
|
4743
4750
|
}
|
|
4744
4751
|
//#endregion
|
|
4745
|
-
export {
|
|
4752
|
+
export { formatEventDuration as $, OfferingCourseCards as A, EventItem as B, resolvePageRouteTarget as C, EVENT_REGISTRATION_ANCHOR_ID as D, EventHeader as E, createEditorPresentationPageReader as F, eventDisplayTitleText as G, CalendarIcon as H, createPresentationPageReader as I, buildMonthDay as J, formatCourseDatesAfter as K, EmptyState as L, offeringDatesBySeries as M, deriveEventScheduleSummary as N, MonthLookView as O, derivePreviewRunSchedule as P, formatEventTeacherLine as Q, CardListCollection as R, resolveEntryRouteTarget as S, lookPartShown as T, MapPinIcon as U, eventCategoryBadge as V, eventDisplayTitle as W, formatEventQuickDate as X, resolveMonthSelectedDay as Y, selectQuickDateEvents as Z, publicAppointmentLocationSchema as _, joinSlotKey as a, arrangementContentFacts as at, describePublicRefundPolicy as b, createCustomBlockRegistry as c, buildThemeTokens as ct, resolveLinkedEntryInlineFieldEligibility as d, resolveEventCardBooking as et, builtinTransformDefinitions as f, formatAppointmentPrice as g, formatAppointmentLocation as h, composePageJoins as i, selectBlockContent as it, eventCardListContent as j, EventListingFrameView as k, buildLinkedContentEditTarget as l, defaultThemeTokens as lt, formatAppointmentDuration as m, createPageRenderPlanReader as n, resolveEventLinkProps as nt, renderedJoinLayout as o, lookFillPartsFromContent as ot, defaultTransforms as p, formatCourseSessions as q, planArrangementContent as r, parseStoredVariant as rt, retargetJoinsAcrossOmissions as s, resolveRuntimeSection as st, buildPageRenderPlan as t, resolveEventCta as tt, coerceLinkedContentEntriesPayload as u, publicAppointmentPricingSchema as v, resolveRouteTarget as w, resolveAuthoredLinkHref as x, PUBLIC_FREE_CANCELLATION as y, CardListItems as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { As as isRecord$1, Cs as linkSchema, Ji as parseInlineTextFromUnknown, Jo as DEFAULT_MEDIA_FIELD_KINDS, Ki as inlineTextToPlainText, Ni as parseBlockIconValue, Qi as parseFieldDefinitions, Xi as normalizeSelectSource, Yi as plainTextToInlineText, es as isAcceptedRepeaterGridSpan, f as sanitizeNewsletterSignupPublicContent, hc as parseContentVersionId, ic as resolveBookingBusinessTimeZone, is as resolveRepeaterGridSpanFieldId, ns as resolveRepeaterGridColumnFieldId, rc as toUtcIsoDateTimeString, rs as resolveRepeaterGridRowFieldId, t as getBlockDefinition, ts as parseRepeaterGridInteger } from "./registry-CvhFwbXJ.mjs";
|
|
2
2
|
import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-BpsqaSSU.mjs";
|
|
3
3
|
import { f as PUBLIC_FILE_FIELD_KINDS, h as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
4
4
|
import { c as publicLocationSchema, i as locationValueSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-BM5WX7FY.mjs";
|
|
@@ -1585,10 +1585,42 @@ function nestedUnknownManifestFieldPaths(plan, value, path) {
|
|
|
1585
1585
|
return unknownManifestFieldPaths((isPlainRecord(item) ? plan.repeatedItemVariants?.find((entry) => entry.typeId === item._type) : void 0)?.fields ?? plan.repeatedItemPlan ?? [], item, [...path, index], plan.repeatedItemVariants ? "_type" : void 0);
|
|
1586
1586
|
});
|
|
1587
1587
|
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Reports declared media fields carrying environment-specific keys.
|
|
1590
|
+
*
|
|
1591
|
+
* Split out of stored admission for callers that must prove portability of
|
|
1592
|
+
* content whose *shape* is legitimately incomplete — a template block's stored
|
|
1593
|
+
* defaults, for instance, where required values only arrive through entry
|
|
1594
|
+
* bindings. Returns the offending paths, empty when the content is portable.
|
|
1595
|
+
*/
|
|
1596
|
+
function findNonPortableManifestMediaPaths(contract, content) {
|
|
1597
|
+
return contract[compiledManifestContentContract].findNonPortableMediaPaths(content);
|
|
1598
|
+
}
|
|
1588
1599
|
/** Presentation recovery preserves authored payloads and does not admit them for a write. */
|
|
1589
1600
|
function projectStoredManifestContentForRendering(contract, content) {
|
|
1590
1601
|
return projectLayoutGridPlansForRendering(contract[compiledManifestContentContract].plans, content);
|
|
1591
1602
|
}
|
|
1603
|
+
/** Public reads alone may project invalid grid geometry. All other stored-shape and portability checks remain strict. */
|
|
1604
|
+
function admitStoredManifestContentForRendering(contract, content) {
|
|
1605
|
+
const state = contract[compiledManifestContentContract];
|
|
1606
|
+
const paths = state.findNonPortableMediaPaths(content);
|
|
1607
|
+
if (paths.length > 0) return {
|
|
1608
|
+
ok: false,
|
|
1609
|
+
error: {
|
|
1610
|
+
kind: "non_portable_media",
|
|
1611
|
+
paths
|
|
1612
|
+
}
|
|
1613
|
+
};
|
|
1614
|
+
const projected = projectStoredManifestContentForRendering(contract, content);
|
|
1615
|
+
const parsed = z.safeParse(state.renderSourceSchema, projected);
|
|
1616
|
+
return parsed.success ? {
|
|
1617
|
+
ok: true,
|
|
1618
|
+
value: projected
|
|
1619
|
+
} : {
|
|
1620
|
+
ok: false,
|
|
1621
|
+
error: zodAdmissionError(parsed.error)
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1592
1624
|
/** Validates raw editor state without granting a stored-content proof. */
|
|
1593
1625
|
function validateManifestDraft(contract, data) {
|
|
1594
1626
|
const parsed = z.safeParse(contract[compiledManifestContentContract].draftSchema, data);
|
|
@@ -1606,6 +1638,22 @@ function validateManifestDraft(contract, data) {
|
|
|
1606
1638
|
};
|
|
1607
1639
|
}
|
|
1608
1640
|
/**
|
|
1641
|
+
* Applies a pure runtime projection to admitted stored content and validates
|
|
1642
|
+
* the resulting render shape before granting the renderable proof.
|
|
1643
|
+
*/
|
|
1644
|
+
function deriveRenderableManifestContent(contract, stored, project) {
|
|
1645
|
+
const state = contract[compiledManifestContentContract];
|
|
1646
|
+
const projected = projectLayoutGridPlansForRendering(state.plans, project(stored));
|
|
1647
|
+
const parsed = z.safeParse(state.renderSchema, projected);
|
|
1648
|
+
return parsed.success ? {
|
|
1649
|
+
ok: true,
|
|
1650
|
+
value: parsed.data
|
|
1651
|
+
} : {
|
|
1652
|
+
ok: false,
|
|
1653
|
+
error: zodAdmissionError(parsed.error)
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1609
1657
|
* Re-admits renderable content after a transport boundary has erased its
|
|
1610
1658
|
* compile-time proof. Unlike write admission, this never canonicalizes or
|
|
1611
1659
|
* grants a stored proof, so hydrated media cannot flow back to persistence.
|
|
@@ -1823,9 +1871,11 @@ function readTransportedBlockHeader(block) {
|
|
|
1823
1871
|
if (typeof block.id !== "string" && block.id !== null) throw new Error(`Invalid block id in page: expected string or null, got ${typeof block.id}`);
|
|
1824
1872
|
if (typeof block.kind !== "string") throw new Error(`Invalid block kind in page: expected string, got ${typeof block.kind}`);
|
|
1825
1873
|
if (typeof block.purpose !== "string") throw new Error(`Invalid block purpose in page: expected string, got ${typeof block.purpose}`);
|
|
1874
|
+
const identifier = readBlockContentId(block.identifier, "block identifier");
|
|
1826
1875
|
if (block.contentVersionId !== void 0 && block.contentVersionId !== null && typeof block.contentVersionId !== "string") throw new Error(`Invalid content version id in page: expected string or null, got ${typeof block.contentVersionId}`);
|
|
1827
1876
|
return {
|
|
1828
1877
|
id: block.id,
|
|
1878
|
+
...identifier ? { identifier } : {},
|
|
1829
1879
|
...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
|
|
1830
1880
|
kind: block.kind,
|
|
1831
1881
|
purpose: block.purpose
|
|
@@ -1850,6 +1900,7 @@ function buildRenderablePageOutline(input) {
|
|
|
1850
1900
|
function projectRenderablePageOutline(page) {
|
|
1851
1901
|
return mapOutlineRegions(page, (blocks) => blocks.flatMap((block) => block.admission.kind === "renderable" ? [{
|
|
1852
1902
|
id: block.id,
|
|
1903
|
+
...block.identifier ? { identifier: block.identifier } : {},
|
|
1853
1904
|
draftContentId: block.draftContentId ?? null,
|
|
1854
1905
|
publishedPlacement: block.publishedPlacement,
|
|
1855
1906
|
...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
|
|
@@ -1862,6 +1913,7 @@ function projectRenderablePageOutline(page) {
|
|
|
1862
1913
|
function admitSdkRuntimePageBlock(block, customBlocks) {
|
|
1863
1914
|
const base = {
|
|
1864
1915
|
id: block.id,
|
|
1916
|
+
...block.identifier ? { identifier: block.identifier } : {},
|
|
1865
1917
|
draftContentId: block.draftContentId,
|
|
1866
1918
|
publishedPlacement: block.publishedPlacement,
|
|
1867
1919
|
...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
|
|
@@ -1923,4 +1975,4 @@ function sanitizeNullableSdkRuntimeBlockContent(blockKind, content) {
|
|
|
1923
1975
|
return content ? sanitizeSdkRuntimeBlockContent(blockKind, content) : null;
|
|
1924
1976
|
}
|
|
1925
1977
|
//#endregion
|
|
1926
|
-
export {
|
|
1978
|
+
export { MQ_MD_UP as A, projectRepeaterGridLayout as C, resolveRepeaterGridAcceptedSpans as D, normalizeRepeaterGridSpan as E, MQ_SM_UP as M, MQ_TABLET_ONLY as N, MQ_LG_UP as O, readPublishedBlockPlacement as P, fieldPlanToZod as S, flowRepeaterGridItems as T, findNonPortableManifestMediaPaths as _, invalidRenderableBlock as a, admitLayoutGridForPlan as b, readSdkPreviewPublishedPlacement as c, siteBlockRenderContext as d, resolveSiteCustomBlocks as f, deriveRenderableManifestContent as g, compileManifestContentContract as h, collectMediaAssetSidecar as i, MQ_SM_DOWN as j, MQ_MD_DOWN as k, resolveSdkBlockManifest as l, admitTransportedRenderableManifestContent as m, buildRenderablePageOutline as n, projectRenderablePageOutline as o, admitStoredManifestContentForRendering as p, buildSiteRenderSupport as r, readInvalidBlockAdmission as s, buildPageOutline as t, sanitizeSdkRuntimeBlockContent as u, registeredManifestContentContract as v, projectRepeaterGridLayoutForRendering as w, deriveFieldValidationPlan as x, validateManifestDraft as y };
|