@riverbankcms/sdk 0.171.1 → 0.172.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
- package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-DViYbakk.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
- package/dist/_dts/{client-CXPH5esD.d.ts → client-DZBOzd3U.d.ts} +1 -2
- package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
- package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
- package/dist/_dts/{index-BQPJbOkU.d.ts → index-BnMavhoh.d.ts} +2 -2
- package/dist/_dts/{index-DScYSl03.d.ts → index-C0zjLMAW.d.ts} +49 -38
- package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-CpOkfBt1.d.ts} +3 -3
- package/dist/_dts/{index-C9_OTCFQ.d.ts → index-Da4UMgbs.d.ts} +2 -2
- package/dist/_dts/{index-DlABXDte.d.ts → index-DkFV_1Bc.d.ts} +1 -1
- package/dist/_dts/{index-Sua-7CF1.d.ts → index-Dns7OHyl.d.ts} +1 -1
- package/dist/_dts/{index-B3gfKNI-.d.ts → index-MuMYjetm.d.ts} +4 -4
- package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
- package/dist/_dts/{request-DUTkELQn.d.ts → request-wQ28JWbr.d.ts} +1021 -247
- package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-Cc4zqaEC.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/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 +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/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
- package/dist/_dts/{types-BCzfYDW2.d.ts → types-CpjyP5I4.d.ts} +7 -7
- package/dist/_dts/{types-JD-36x3P.d.ts → types-DrinAfeW.d.ts} +3 -3
- package/dist/_dts/{types-CPHk5Voq.d.ts → types-ZuZoGsZV.d.ts} +2 -2
- package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
- package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
- package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
- package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
- package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-sKBofjiW.mjs} +40 -14
- package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
- package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
- package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
- package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
- package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
- package/dist/client/{Page-CT4HaEMr.mjs → Page-Ds1s3DuC.mjs} +1426 -486
- package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
- package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
- package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
- package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-OsAseM7H.mjs} +36 -18
- package/dist/client/{accordion-BOApxi9U.mjs → accordion-DgwFZJSx.mjs} +1 -1
- package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
- package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
- package/dist/client/{carousel-DeI76SEP.mjs → carousel-0sw2Kc3a.mjs} +2 -2
- package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
- package/dist/client/{cart-D_uxULCO.mjs → cart-CPfvMDGJ.mjs} +3 -3
- package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BJBPUTmg.mjs} +1 -1
- package/dist/client/{checkout-DIbh4g5e.mjs → checkout-DU4JFjGT.mjs} +3 -3
- package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
- package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
- package/dist/client/client.mjs +135 -4
- package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
- package/dist/client/{cta-CP9l112u.mjs → cta-CNVQHLKs.mjs} +53 -11
- package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
- package/dist/client/{display-ChgDe9Da.mjs → display-B5DfNb6A.mjs} +1869 -333
- package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
- package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
- package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
- package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
- package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
- package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
- package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-EhSDk4UL.mjs} +4 -4
- package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
- package/dist/client/{form-ERv_X_oZ.mjs → form-BfChzSkS.mjs} +3 -3
- package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D1zehtPk.mjs} +4 -4
- package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-rMDlUQIv.mjs} +3 -3
- package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BX9bQ84k.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
- package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
- package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
- package/dist/client/portal/client.mjs +231 -117
- package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
- package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-CDL-jihv.mjs} +1 -1
- package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-B97m0uZy.mjs} +3 -3
- package/dist/client/{productList-HoFGQXFl.mjs → productList-DE4vSSG_.mjs} +3 -3
- package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
- package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cn8XjRte.mjs} +1458 -1178
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +22 -16
- package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
- package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +3 -0
- package/dist/client/{shop-DXyeSNgi.mjs → shop-BC4H0oYT.mjs} +3 -3
- package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
- package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
- package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-WgGVGelc.mjs} +12 -12
- package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
- package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-BE6TEk2A.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
- package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
- package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
- package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
- package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
- package/dist/client/{view-DhEwiTJG.mjs → view-B0TFnP4y.mjs} +198 -60
- package/dist/client/{view-C_brMDU2.mjs → view-DNNNbnNj.mjs} +3 -3
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-D59tHj_L.mjs} +25 -20
- package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +100 -70
- package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI--kS9Cwsc.mjs} +5 -5
- package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
- package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
- package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bi8-rclb.mjs} +311 -62
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +301 -125
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +584 -286
- package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
- package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-Caofnr1Z.mjs} +7190 -4065
- package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -4
- package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
- package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +20 -8
- package/dist/preview-next/container-responsive.css +215 -4
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-DsKDQoVW.mjs} +131 -0
- package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
- package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
- package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Bp6OnR3n.mjs} +109 -20
- package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
- package/dist/server/{client-DCwLR0kQ.mjs → client-dROAfMRa.mjs} +133 -2
- package/dist/server/config-template-validation.mjs +3 -0
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-zOIrtqz-.mjs} +19 -14
- package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
- package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-DjboggbB.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
- package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
- package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-BJjptSGp.mjs} +1039 -853
- package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
- package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-CntSkZQI.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
- package/dist/server/{registry-CaeRTf4E.mjs → registry-wYH0LH5f.mjs} +7257 -4959
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
- package/dist/server/{schema-CxBsE9Dv.mjs → schema-BFOqYIMQ.mjs} +2 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-CvmhnkDr.mjs → validation-DAQdPDku.mjs} +4 -4
- package/dist/server/{version-Clp2evCf.mjs → version-DAB0O3yx.mjs} +1 -1
- package/dist/styles/index.css +1260 -15
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
- package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
- package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-
|
|
3
|
-
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-
|
|
1
|
+
import { Bs as toUtcIsoDateTimeString, Nn as readRuntimeNow, Pn as resolveDateRuntimeContext, Tn as siteHeaderManifest, lt as setContextResolveImageUrlContext, st as buildResolveImageUrlContext, t as getBlockDefinition, wn as siteFooterManifest } from "./registry-wYH0LH5f.mjs";
|
|
2
|
+
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-BJjptSGp.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-BKo6XVK-.mjs";
|
|
4
4
|
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-DAwbICEL.mjs";
|
|
5
5
|
import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
|
|
6
|
-
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-BM9Ds0OQ.mjs";
|
|
7
7
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
8
8
|
import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
|
|
9
9
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, I as safeTokenOr, L as surfaceInkPublication, R as solveSurfaceInks, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex } from "./accessibleSurfaces-
|
|
1
|
+
import { $ as SURFACE_FOREGROUND_CSS_VARS, Dt as parseThemeColorToken, Et as parseColorTokenParts, Q as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValue, dt as cssVarValue, et as SURFACE_INK_CSS_VARS, ot as surfaceForegroundValueWithOpacity, pt as rgbColorValue, st as surfaceInkDeclarations } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
|
|
2
|
+
import { F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, I as safeTokenOr, L as surfaceInkPublication, R as solveSurfaceInks, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex } from "./accessibleSurfaces-Dbd2__Le.mjs";
|
|
3
3
|
import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-QymcmOZ-.mjs";
|
|
4
|
-
import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-
|
|
4
|
+
import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-COEKXVwk.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../theme-core/src/cards/decorations.ts
|
|
@@ -1102,7 +1102,8 @@ ${root} :where(h1.heading-display) {
|
|
|
1102
1102
|
font-size: var(--fs-h1-display-fluid, var(--fs-h1-display, calc(var(--fs-h1) * 1.5)));
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
|
-
${root} :where(h2.heading-display)
|
|
1105
|
+
${root} :where(h2.heading-display),
|
|
1106
|
+
${root} :where(h1.rb-heading-level-2.heading-display) {
|
|
1106
1107
|
font-size: var(--fs-h2-display-fluid, var(--fs-h2-display, calc(var(--fs-h2) * 1.35)));
|
|
1107
1108
|
}`;
|
|
1108
1109
|
}
|
|
@@ -1116,7 +1117,8 @@ ${root} :where(h1.heading-compact) {
|
|
|
1116
1117
|
font-size: calc(var(--fs-h1) * 0.75);
|
|
1117
1118
|
}
|
|
1118
1119
|
|
|
1119
|
-
${root} :where(h2.heading-compact)
|
|
1120
|
+
${root} :where(h2.heading-compact),
|
|
1121
|
+
${root} :where(h1.rb-heading-level-2.heading-compact) {
|
|
1120
1122
|
font-size: calc(var(--fs-h2) * 0.8);
|
|
1121
1123
|
}
|
|
1122
1124
|
|
|
@@ -1143,15 +1145,18 @@ ${root} :where(p, li, td, th, label, span) {
|
|
|
1143
1145
|
}`;
|
|
1144
1146
|
}
|
|
1145
1147
|
function headingLevelsCss(root) {
|
|
1146
|
-
return `/* Heading level styles with fluid typography */\n${[
|
|
1148
|
+
return `/* Heading level styles with fluid typography */\n${[...[
|
|
1147
1149
|
1,
|
|
1148
1150
|
2,
|
|
1149
1151
|
3,
|
|
1150
1152
|
4,
|
|
1151
1153
|
5,
|
|
1152
1154
|
6
|
|
1153
|
-
].map((level) => {
|
|
1154
|
-
|
|
1155
|
+
].map((level) => headingLevelCss(root, level, `h${level}`)), headingLevelCss(root, 2, "h1.rb-heading-level-2")].join("\n\n")}`;
|
|
1156
|
+
}
|
|
1157
|
+
/** The semantic tag and visual heading role can differ for a promoted page title. */
|
|
1158
|
+
function headingLevelCss(root, level, selector) {
|
|
1159
|
+
return `${root} :where(${selector}) {
|
|
1155
1160
|
font-size: var(--fs-h${level}-fluid, ${level < 4 ? `var(--fs-h${level})` : `var(--fs-h${level}, ${level === 4 ? "var(--fs-h3)" : "var(--fs-body)"})`});
|
|
1156
1161
|
font-weight: var(--fw-h${level}, var(--font-weight-heading));
|
|
1157
1162
|
font-style: var(--fi-h${level}, var(--fi-heading, normal));
|
|
@@ -1159,7 +1164,6 @@ function headingLevelsCss(root) {
|
|
|
1159
1164
|
line-height: var(--lh-h${level}, var(--lh-heading));
|
|
1160
1165
|
color: ${surfaceForegroundValue("heading", globalHeadingColorFallback(level))};
|
|
1161
1166
|
}`;
|
|
1162
|
-
}).join("\n\n")}`;
|
|
1163
1167
|
}
|
|
1164
1168
|
/** Optional width rules leave the historical CSS bytes unchanged. */
|
|
1165
1169
|
function generateFontWidthCss(root, typography) {
|
|
@@ -1193,6 +1197,7 @@ function generateFontWidthCss(root, typography) {
|
|
|
1193
1197
|
"h5",
|
|
1194
1198
|
"h6"
|
|
1195
1199
|
].map((level) => rule(`${root} :where(${level})`, typography.headings[level]?.width)),
|
|
1200
|
+
rule(`${root} :where(h1.rb-heading-level-2)`, typography.headings.h2?.width ?? headingWidth),
|
|
1196
1201
|
`${root} :where(h1, h2, h3, h4, h5, h6) :where(span) { font-stretch: inherit; }`,
|
|
1197
1202
|
rule(`${root} :where(.rb-eyebrow)`, typography.eyebrow ? typography.eyebrow.width ?? 100 : bodyWidth)
|
|
1198
1203
|
].filter(Boolean).join("\n");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as deriveSurfaceMutedColor, B as preparePaletteColourIndex, Ct as paletteColorsFromEntries, D as colourFamily, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, F as pickBlackOrWhiteTextColor, G as hexToRgb, H as solidPaint, I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as assertContrastRatio, N as onColorTokenName, O as oklabDistance, R as contrastRatio, Tt as paletteModeSchema, U as worstContrast, V as relativeLuminance, W as featuresFromHex, X as rgbToHex, Y as oklchToOklab, _t as PALETTE_TOKEN_NAMES, d as generateShadowValue, j as expandPalette, k as deriveSurfaceDecorationColors, l as ELEVATION_OFFSET, n as compileButtonColourStates, o as BORDER_RADIUS_MAP, p as STANDARD_BUTTON_SURFACE_POLICY, pt as rgbColorValue, q as oklabToSrgb, s as BORDER_WIDTH_MAP, t as buttonStateBorder, tt as completeSurfaceForegrounds, u as FONT_SIZE_MAP, w as opaqueButtonColourTokenSchema, x as buttonSystemSchema, xt as normalizePaletteHex, yt as hexColorSchema, z as maxContrastBlackOrWhite } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region ../theme-core/src/palette/colors.ts
|
|
4
4
|
const PALETTE_VALUE_KEY_PREFIX = "palette-value:v1|";
|
|
@@ -911,19 +911,20 @@ function buttonStateAppearanceDeclarations(base, state, tokens, disabled = false
|
|
|
911
911
|
];
|
|
912
912
|
}
|
|
913
913
|
/** Surface paint is a context for the recipe, checked by the same colour owner. */
|
|
914
|
-
function surfaceButtonSystem(system,
|
|
915
|
-
return
|
|
914
|
+
function surfaceButtonSystem(system, request) {
|
|
915
|
+
return request === void 0 ? system : {
|
|
916
916
|
...system,
|
|
917
|
-
variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant,
|
|
917
|
+
variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, request) : variant)
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
920
|
function withoutColourTransitions(effects) {
|
|
921
921
|
return effects.filter((effect) => effect.effectId !== "background-on-hover" && effect.effectId !== "darken-background" && effect.effectId !== "lighten-background");
|
|
922
922
|
}
|
|
923
|
-
function surfacePrimary(variant,
|
|
923
|
+
function surfacePrimary(variant, request) {
|
|
924
924
|
const background = {
|
|
925
925
|
type: "solid",
|
|
926
|
-
colorToken:
|
|
926
|
+
colorToken: request.primary,
|
|
927
|
+
...request.primaryText ? { foregroundToken: request.primaryText } : {}
|
|
927
928
|
};
|
|
928
929
|
return {
|
|
929
930
|
...variant,
|
|
@@ -1076,7 +1077,7 @@ function resolveSurfaceButtonContext(input) {
|
|
|
1076
1077
|
surface: context.surface,
|
|
1077
1078
|
palette: input.palette,
|
|
1078
1079
|
colourIndex: input.colourIndex,
|
|
1079
|
-
buttonSystem: surfaceButtonSystem(input.buttonSystem, input.
|
|
1080
|
+
buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primary)
|
|
1080
1081
|
});
|
|
1081
1082
|
}
|
|
1082
1083
|
function knownSurfaceButtonContext(input) {
|
|
@@ -2049,7 +2050,7 @@ function resolveOwnedSurface(paint, context, measuredBackdrop) {
|
|
|
2049
2050
|
const primaryButton = surfaceButtonRequest({
|
|
2050
2051
|
kind: "paint",
|
|
2051
2052
|
paint
|
|
2052
|
-
}, context)
|
|
2053
|
+
}, context);
|
|
2053
2054
|
if (paint.kind === "solid" && resolved.kind === "known" && resolved.provenance.kind === "measured") return {
|
|
2054
2055
|
...decision,
|
|
2055
2056
|
paint,
|
|
@@ -2123,7 +2124,7 @@ function surfaceButtons(paint, link, primaryToken, context, backgroundSamples) {
|
|
|
2123
2124
|
colourIndex: context.colourIndex,
|
|
2124
2125
|
buttonSystem: context.buttonSystem,
|
|
2125
2126
|
fallbackToken: context.compositeBase,
|
|
2126
|
-
primaryToken,
|
|
2127
|
+
primary: primaryToken,
|
|
2127
2128
|
withoutButtonSystem: "reset"
|
|
2128
2129
|
});
|
|
2129
2130
|
}
|
|
@@ -2172,7 +2173,7 @@ function resolveSectionSurface(background, context) {
|
|
|
2172
2173
|
surface,
|
|
2173
2174
|
palette: revision.palette,
|
|
2174
2175
|
buttonSystem: revision.buttonSystem,
|
|
2175
|
-
|
|
2176
|
+
primary: sectionPrimaryButtonToken(background, context),
|
|
2176
2177
|
fallbackToken: context.compositeBase,
|
|
2177
2178
|
withoutButtonSystem: "inherit"
|
|
2178
2179
|
});
|
|
@@ -2196,7 +2197,7 @@ function resolveSectionSurface(background, context) {
|
|
|
2196
2197
|
}
|
|
2197
2198
|
function sectionPrimaryButtonToken(background, context) {
|
|
2198
2199
|
if (background?.type !== "color" || typeof background.color !== "string") return void 0;
|
|
2199
|
-
return context.buttonSystem?.surfaceContexts?.[background.color]
|
|
2200
|
+
return context.buttonSystem?.surfaceContexts?.[background.color];
|
|
2200
2201
|
}
|
|
2201
2202
|
function surfaceDecorationColors(foreground, palette) {
|
|
2202
2203
|
if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { E as isArrangementMode, F as asPageFlowPresetId, L as makeBoundaryId, P as asLayoutVariantKey } from "./schema-
|
|
4
|
-
import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-
|
|
1
|
+
import { C as systemCustomizeFacetDefinitionsForBlock, Q as parseStoredVariant, et as lookFillPartsFromContent, t as buildPageRenderPlan, tt as resolveRuntimeSection } from "./pageRenderPlan-BR4t1rOw.mjs";
|
|
2
|
+
import { Ao as lookModes, Bo as toNonEmptyReadonlyArray, Co as parseCanonicalRuntimeBackground, Da as getCompatibleBlockAppearancePresets, Ea as compileArrangementLookRuntime, Ga as stripCompiledRuntimeStyleFields, Ha as getCuratedSiteStyle, La as deriveSiteStyleBlockPolicy, Lo as plainFrame, Ma as readStoredMode, Mo as defineBlockDesignCapability, Na as resolveEffectiveArrangement, No as designIssueSeverityForPolicy, Oa as resolveArrangementLookForBlock, Ra as filterLayoutProfilesForPolicy, Ro as sectionBackgroundPaintValues, Sa as arrangementAppearancePresets, Ta as automaticArrangementLook, Un as formatDate, Wa as compilePageRuntimeFields, _o as spaciousBoundaryOption, da as isRecord, do as boundaryOptions, dr as resolveDeclaredBlockDesignCapability, go as softBoundaryOption, ho as noneBoundaryOption, io as resolvePageDesignBoundaryChoice, jo as assertNever, ka as resolveLookForBlock, mo as isDecorativeTransitionIntent, po as boundaryTreatmentForBoundaryOptionId, ro as resolvePageDesignBlockLookChoice, t as getBlockDefinition, uo as boundaryOptionForTransitionIntent, vo as transitionIntentForTreatment, wa as arrangementStyleAvailability, wi as plainTextToInlineText, wo as resolveSectionBackground, za as filterLookIdsForPolicy } from "./registry-wYH0LH5f.mjs";
|
|
3
|
+
import { E as isArrangementMode, F as asPageFlowPresetId, L as makeBoundaryId, P as asLayoutVariantKey, r as sectionStylesOverrideSchema } from "./schema-BFOqYIMQ.mjs";
|
|
4
|
+
import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-BKo6XVK-.mjs";
|
|
5
5
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
6
6
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
7
7
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
@@ -623,10 +623,13 @@ function requiresPhoto(option) {
|
|
|
623
623
|
const treatment = boundaryTreatmentForBoundaryOptionId(option);
|
|
624
624
|
return treatment?.kind === "wave-edge" && treatment.echo === true;
|
|
625
625
|
}
|
|
626
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* A rule claims blocks on its side before later rules on that side count their first occurrence.
|
|
628
|
+
* Claims are per side, so one style can join into a block and out of it.
|
|
629
|
+
*/
|
|
627
630
|
function matchedRuleBlocks(rule, blocks, claimed) {
|
|
628
631
|
const matches = blocks.flatMap((block, index) => {
|
|
629
|
-
if (claimed.has(index) || rule.position === "opening" && index !== 0) return [];
|
|
632
|
+
if (claimed.has(`${rule.side}:${index}`) || rule.position === "opening" && index !== 0) return [];
|
|
630
633
|
return (rule.match.kind === "look" ? block.lookId !== null && rule.match.looks.includes(block.lookId) && (!requiresPhoto(rule.join) || block.paint === "photo") : block.paint === "paint" && rule.match.grounds.includes(block.ground)) ? [index] : [];
|
|
631
634
|
});
|
|
632
635
|
return rule.occurrence === "first" ? matches.slice(0, 1) : matches;
|
|
@@ -636,7 +639,7 @@ function pageRuleOptions(rules, blocks) {
|
|
|
636
639
|
const matched = matchedRuleBlocks(rule, blocks, state.claimed);
|
|
637
640
|
const options = matched.map((index) => rule.side === "after" ? index : index - 1).filter((index) => index >= 0 && index < blocks.length - 1 && !state.options.has(index));
|
|
638
641
|
return {
|
|
639
|
-
claimed: /* @__PURE__ */ new Set([...state.claimed, ...matched]),
|
|
642
|
+
claimed: /* @__PURE__ */ new Set([...state.claimed, ...matched.map((index) => `${rule.side}:${index}`)]),
|
|
640
643
|
options: new Map([...state.options, ...options.map((index) => [index, rule.join])])
|
|
641
644
|
};
|
|
642
645
|
}, {
|
|
@@ -763,12 +766,33 @@ function runtimeJoinForEditorBoundary(boundary) {
|
|
|
763
766
|
}] : [];
|
|
764
767
|
}
|
|
765
768
|
function applyCompiledRuntimeFieldsToContent(content, fields) {
|
|
766
|
-
const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, fields) : fields;
|
|
769
|
+
const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, preserveArrangementSectionSpacing(content, fields)) : fields;
|
|
767
770
|
return {
|
|
768
771
|
...stripCompiledRuntimeStyleFields(content),
|
|
769
772
|
...runtimeFields
|
|
770
773
|
};
|
|
771
774
|
}
|
|
775
|
+
/**
|
|
776
|
+
* An arrangement Look compiles no section spacing, because its skin owns the
|
|
777
|
+
* padding. The spacing the owner chose still travels with the content so the
|
|
778
|
+
* renderer can hand it to the skin as a hook; the render plan takes it back out
|
|
779
|
+
* before the section's padding class is chosen, so the padding itself is
|
|
780
|
+
* unchanged.
|
|
781
|
+
*/
|
|
782
|
+
function preserveArrangementSectionSpacing(content, fields) {
|
|
783
|
+
if (!fields._arrangementLooks || fields._sectionStyles?.spacing != null) return fields;
|
|
784
|
+
const sectionStyles = content._sectionStyles;
|
|
785
|
+
const spacing = typeof sectionStyles === "object" && sectionStyles !== null && "spacing" in sectionStyles ? sectionStyles.spacing : void 0;
|
|
786
|
+
const parsed = sectionStylesOverrideSchema.shape.spacing.safeParse(spacing);
|
|
787
|
+
if (!parsed.success || parsed.data == null) return fields;
|
|
788
|
+
return {
|
|
789
|
+
...fields,
|
|
790
|
+
_sectionStyles: {
|
|
791
|
+
...fields._sectionStyles,
|
|
792
|
+
spacing: parsed.data
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
}
|
|
772
796
|
function preserveContentOwnedBackgroundFields(content, fields) {
|
|
773
797
|
const resolved = resolveSectionBackground(parseCanonicalRuntimeBackground(content), fields._sectionStyles?.background);
|
|
774
798
|
if (resolved.kind === "look-surface" || resolved.kind === "base") return fields;
|
|
@@ -1203,13 +1227,18 @@ function lookOptionsByLayoutForBlock(input) {
|
|
|
1203
1227
|
return {
|
|
1204
1228
|
layoutVariantKey: layout.id,
|
|
1205
1229
|
availableLooks,
|
|
1206
|
-
autoLookId: recommendedLookIdForOptions(input.siteStyle, availableLooks)
|
|
1230
|
+
autoLookId: recommendedLookIdForOptions(input.siteStyle, availableLooks, input.block)
|
|
1207
1231
|
};
|
|
1208
1232
|
});
|
|
1209
1233
|
}
|
|
1210
|
-
function recommendedLookIdForOptions(siteStyle, availableLooks) {
|
|
1234
|
+
function recommendedLookIdForOptions(siteStyle, availableLooks, block) {
|
|
1211
1235
|
if (siteStyle === null) return null;
|
|
1212
|
-
|
|
1236
|
+
if (siteStyle.looks.kind === "offers") return automaticArrangementLook(availableLooks.flatMap((option) => arrangementAppearancePresets.filter((look) => look.id === option.id)), editorContentParts(block))?.id ?? null;
|
|
1237
|
+
return siteStyle.looks.recommendedAppearancePresetIds.find((id) => availableLooks.some((look) => look.id === id)) ?? null;
|
|
1238
|
+
}
|
|
1239
|
+
/** The fill parts the automatic Look weighs; none without content, so catalogue readers keep the style's first offer. */
|
|
1240
|
+
function editorContentParts(block) {
|
|
1241
|
+
return block.content === void 0 ? void 0 : lookFillPartsFromContent(block.content);
|
|
1213
1242
|
}
|
|
1214
1243
|
function availableLooksForLayout(looksByLayout, layoutVariantKey) {
|
|
1215
1244
|
if (!layoutVariantKey) return [];
|
|
@@ -1293,7 +1322,7 @@ function buildEditorBlockResult(block, siteStyleId, intent, siteStyle) {
|
|
|
1293
1322
|
layoutChoice: layoutResult.choice,
|
|
1294
1323
|
availableLayouts,
|
|
1295
1324
|
availableLooksByLayout,
|
|
1296
|
-
autoLookId: recommendedLookIdForOptions(siteStyle, availableLooks),
|
|
1325
|
+
autoLookId: recommendedLookIdForOptions(siteStyle, availableLooks, block),
|
|
1297
1326
|
...lookState
|
|
1298
1327
|
},
|
|
1299
1328
|
issues: compactIssues([
|
|
@@ -1303,18 +1332,28 @@ function buildEditorBlockResult(block, siteStyleId, intent, siteStyle) {
|
|
|
1303
1332
|
])
|
|
1304
1333
|
};
|
|
1305
1334
|
}
|
|
1306
|
-
/**
|
|
1335
|
+
/**
|
|
1336
|
+
* A block can support arrangement Looks without having a recipe Look catalogue, and an arrangement
|
|
1337
|
+
* style can keep a block on its own layout.
|
|
1338
|
+
*/
|
|
1307
1339
|
function editorLookCapability(block, style) {
|
|
1308
1340
|
const capability = block.designCapability ?? null;
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
allowLayoutConstrainedPresetWithoutProfile: true
|
|
1312
|
-
}).length === 0 && arrangementAppearancePresets.some((look) => look.blockKinds.some((kind) => kind === block.blockKind));
|
|
1313
|
-
return style?.looks.kind === "recipe" && capability?.kind === "designed" && arrangementOnly ? {
|
|
1341
|
+
if (capability?.kind !== "designed") return capability;
|
|
1342
|
+
return blockHasNoLooksInStyle(block.blockKind, style) ? {
|
|
1314
1343
|
...capability,
|
|
1315
1344
|
looks: "not-applicable"
|
|
1316
1345
|
} : capability;
|
|
1317
1346
|
}
|
|
1347
|
+
function blockHasNoLooksInStyle(blockKind, style) {
|
|
1348
|
+
if (style?.looks.kind === "offers") return (style.looks.ownLayoutBlocks ?? []).some((kind) => kind === blockKind);
|
|
1349
|
+
return style?.looks.kind === "recipe" && hasOnlyArrangementLooks(blockKind);
|
|
1350
|
+
}
|
|
1351
|
+
function hasOnlyArrangementLooks(blockKind) {
|
|
1352
|
+
return getCompatibleBlockAppearancePresets({
|
|
1353
|
+
blockKind,
|
|
1354
|
+
allowLayoutConstrainedPresetWithoutProfile: true
|
|
1355
|
+
}).length === 0 && arrangementAppearancePresets.some((look) => look.blockKinds.some((kind) => kind === blockKind));
|
|
1356
|
+
}
|
|
1318
1357
|
function editorBlockConfigurationIssues(block, availability, layouts) {
|
|
1319
1358
|
const noLooksIssue = availability.kind === "misconfigured" ? {
|
|
1320
1359
|
kind: "no-appearance-presets-for-block-kind",
|
|
@@ -1378,9 +1417,14 @@ function editorArrangementCapabilities(block, mode, style) {
|
|
|
1378
1417
|
"highlight"
|
|
1379
1418
|
],
|
|
1380
1419
|
declaredSurfaces: style?.looks.kind === "offers" ? Object.keys(style.looks.surfaces) : [],
|
|
1381
|
-
knobBuffet: block.knobBuffet ?? []
|
|
1420
|
+
knobBuffet: block.knobBuffet ?? [],
|
|
1421
|
+
...contentPartsCapability(block)
|
|
1382
1422
|
};
|
|
1383
1423
|
}
|
|
1424
|
+
function contentPartsCapability(block) {
|
|
1425
|
+
const contentParts = editorContentParts(block);
|
|
1426
|
+
return contentParts === void 0 ? {} : { contentParts };
|
|
1427
|
+
}
|
|
1384
1428
|
function resolvedLookPreservesPin(resolved) {
|
|
1385
1429
|
switch (resolved.kind) {
|
|
1386
1430
|
case "offered":
|
|
@@ -1559,6 +1603,51 @@ function joinPresentationBlock(block) {
|
|
|
1559
1603
|
};
|
|
1560
1604
|
}
|
|
1561
1605
|
//#endregion
|
|
1606
|
+
//#region ../blocks/src/bindings/entryBoundContent.ts
|
|
1607
|
+
/** The manifest owns meaningful emptiness; bindings alone cannot prove it. */
|
|
1608
|
+
function isEntryBoundBlockEmpty(content, bindings, contract) {
|
|
1609
|
+
return contract.contentPresence !== void 0 && entryBoundPaths(bindings, "").length > 0 && contract.contentPresence.every((path) => !hasVisibleValue(readPath(content, path)));
|
|
1610
|
+
}
|
|
1611
|
+
function entryBoundPaths(bindings, prefix) {
|
|
1612
|
+
return Object.entries(bindings).flatMap(([key, spec]) => {
|
|
1613
|
+
const path = prefix ? `${prefix}.${key}` : key;
|
|
1614
|
+
if (typeof spec === "string") return [path];
|
|
1615
|
+
if (isDescriptor(spec)) return spec.source === "literal" ? [] : [path];
|
|
1616
|
+
return isRecord(spec) ? entryBoundPaths(spec, path) : [];
|
|
1617
|
+
});
|
|
1618
|
+
}
|
|
1619
|
+
function isDescriptor(value) {
|
|
1620
|
+
return isRecord(value) && typeof value.source === "string";
|
|
1621
|
+
}
|
|
1622
|
+
function readPath(source, path) {
|
|
1623
|
+
return path.split(".").reduce((current, segment) => isRecord(current) || Array.isArray(current) ? current[segment] : void 0, source);
|
|
1624
|
+
}
|
|
1625
|
+
const STRUCTURAL_RICH_TEXT_NODES = /* @__PURE__ */ new Set([
|
|
1626
|
+
"doc",
|
|
1627
|
+
"paragraph",
|
|
1628
|
+
"heading",
|
|
1629
|
+
"hardBreak",
|
|
1630
|
+
"text",
|
|
1631
|
+
"bulletList",
|
|
1632
|
+
"orderedList",
|
|
1633
|
+
"listItem",
|
|
1634
|
+
"blockquote"
|
|
1635
|
+
]);
|
|
1636
|
+
function hasVisibleRichTextNode(node) {
|
|
1637
|
+
if (!isRecord(node)) return false;
|
|
1638
|
+
if (typeof node.type === "string" && !STRUCTURAL_RICH_TEXT_NODES.has(node.type)) return true;
|
|
1639
|
+
if (typeof node.text === "string" && node.text.trim() !== "") return true;
|
|
1640
|
+
return Array.isArray(node.content) && node.content.some(hasVisibleRichTextNode);
|
|
1641
|
+
}
|
|
1642
|
+
function hasVisibleValue(value) {
|
|
1643
|
+
if (value === null || value === void 0) return false;
|
|
1644
|
+
if (typeof value === "string") return value.trim() !== "";
|
|
1645
|
+
if (Array.isArray(value)) return value.some(hasVisibleValue);
|
|
1646
|
+
if (isRichTextDoc(value)) return hasVisibleRichTextNode(value);
|
|
1647
|
+
if (isRecord(value)) return typeof value.text === "string" ? value.text.trim() !== "" : Object.keys(value).length > 0;
|
|
1648
|
+
return true;
|
|
1649
|
+
}
|
|
1650
|
+
//#endregion
|
|
1562
1651
|
//#region ../blocks/src/bindings/index.ts
|
|
1563
1652
|
/**
|
|
1564
1653
|
* Resolves a binding map to actual content values.
|
|
@@ -1799,4 +1888,4 @@ function normalizeBindingInput(value) {
|
|
|
1799
1888
|
return null;
|
|
1800
1889
|
}
|
|
1801
1890
|
//#endregion
|
|
1802
|
-
export {
|
|
1891
|
+
export { buildPageDesignEditorReadModel as a, mergeHeaderNavTypographyPreference as c, blockDesignInputsForDefinition as i, readHeaderNavFontSizePreference as l, isEntryBoundBlockEmpty as n, applyCompiledRuntimeFieldsToContent as o, resolveRuntimeJoinFacts as r, compileEditorModelRuntime as s, applyBindingsToContent as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as parseSurfaceTree } from "./accessibleSurfaces-
|
|
1
|
+
import { n as parseSurfaceTree } from "./accessibleSurfaces-Dbd2__Le.mjs";
|
|
2
2
|
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-t6gs0cB7.mjs";
|
|
3
3
|
import { t as parseSiteId } from "./identity-20XHqyuO.mjs";
|
|
4
|
-
import { t as SDK_VERSION } from "./version-
|
|
4
|
+
import { t as SDK_VERSION } from "./version-DAB0O3yx.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
7
7
|
function availability(fetchTags, transport) {
|
|
@@ -897,6 +897,7 @@ z.object({
|
|
|
897
897
|
startsAt: z.iso.datetime({ offset: true }),
|
|
898
898
|
endsAt: z.iso.datetime({ offset: true }),
|
|
899
899
|
reason: z.string().nullable(),
|
|
900
|
+
deferredAppointmentIds: z.array(z.string().uuid()).max(200).optional(),
|
|
900
901
|
selections: z.array(z.object({
|
|
901
902
|
arrangementId: z.string().uuid(),
|
|
902
903
|
appointmentId: z.string().uuid(),
|
|
@@ -1272,6 +1273,39 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1272
1273
|
"server:internal_error"
|
|
1273
1274
|
]
|
|
1274
1275
|
},
|
|
1276
|
+
resolveTeamMemberProfileEditorOwner: {
|
|
1277
|
+
path: "/sites/{siteId}/bookings/profile-editor/{entryId}/owner",
|
|
1278
|
+
method: "GET",
|
|
1279
|
+
auth: "user",
|
|
1280
|
+
responseKind: "json",
|
|
1281
|
+
errors: [
|
|
1282
|
+
"auth:forbidden",
|
|
1283
|
+
"resource:not_found",
|
|
1284
|
+
"server:internal_error"
|
|
1285
|
+
]
|
|
1286
|
+
},
|
|
1287
|
+
getTeamMemberProfileContent: {
|
|
1288
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}",
|
|
1289
|
+
method: "GET",
|
|
1290
|
+
auth: "user",
|
|
1291
|
+
responseKind: "json",
|
|
1292
|
+
errors: [
|
|
1293
|
+
"auth:forbidden",
|
|
1294
|
+
"resource:not_found",
|
|
1295
|
+
"server:internal_error"
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
listTeamMemberProfileContentSlots: {
|
|
1299
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/slots",
|
|
1300
|
+
method: "GET",
|
|
1301
|
+
auth: "user",
|
|
1302
|
+
responseKind: "json",
|
|
1303
|
+
errors: [
|
|
1304
|
+
"auth:forbidden",
|
|
1305
|
+
"resource:not_found",
|
|
1306
|
+
"server:internal_error"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1275
1309
|
updateTeamMemberProfilePolicy: {
|
|
1276
1310
|
path: "/sites/{siteId}/bookings/resources/profile-policy",
|
|
1277
1311
|
method: "PUT",
|
|
@@ -3042,6 +3076,18 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3042
3076
|
"server:internal_error"
|
|
3043
3077
|
]
|
|
3044
3078
|
},
|
|
3079
|
+
previewWholeSeriesRunCancellation: {
|
|
3080
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
|
|
3081
|
+
method: "GET",
|
|
3082
|
+
tags: ["site-{siteId}", "event-series-{siteId}"],
|
|
3083
|
+
auth: "user",
|
|
3084
|
+
responseKind: "json",
|
|
3085
|
+
errors: [
|
|
3086
|
+
"auth:forbidden",
|
|
3087
|
+
"resource:not_found",
|
|
3088
|
+
"server:internal_error"
|
|
3089
|
+
]
|
|
3090
|
+
},
|
|
3045
3091
|
cancelWholeSeriesRun: {
|
|
3046
3092
|
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
|
|
3047
3093
|
method: "POST",
|
|
@@ -3567,6 +3613,20 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3567
3613
|
responseKind: "json",
|
|
3568
3614
|
errors: []
|
|
3569
3615
|
},
|
|
3616
|
+
previewPlanChange: {
|
|
3617
|
+
path: "/billing/plan/preview",
|
|
3618
|
+
method: "POST",
|
|
3619
|
+
tags: ["billing"],
|
|
3620
|
+
auth: "user",
|
|
3621
|
+
responseKind: "json",
|
|
3622
|
+
errors: [
|
|
3623
|
+
"validation:invalid_input",
|
|
3624
|
+
"auth:unauthenticated",
|
|
3625
|
+
"resource:conflict",
|
|
3626
|
+
"server:internal_error",
|
|
3627
|
+
"external:service_error"
|
|
3628
|
+
]
|
|
3629
|
+
},
|
|
3570
3630
|
changePlan: {
|
|
3571
3631
|
path: "/billing/plan/change",
|
|
3572
3632
|
method: "POST",
|
|
@@ -8008,6 +8068,70 @@ const API_ENDPOINTS$1 = {
|
|
|
8008
8068
|
"server:internal_error"
|
|
8009
8069
|
]
|
|
8010
8070
|
},
|
|
8071
|
+
endCustomerMembershipNow: {
|
|
8072
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/end",
|
|
8073
|
+
method: "POST",
|
|
8074
|
+
tags: [
|
|
8075
|
+
"site-{siteId}",
|
|
8076
|
+
"bookings",
|
|
8077
|
+
"customer-membership-{customerMembershipId}"
|
|
8078
|
+
],
|
|
8079
|
+
auth: "user",
|
|
8080
|
+
responseKind: "json",
|
|
8081
|
+
errors: [
|
|
8082
|
+
"validation:invalid_input",
|
|
8083
|
+
"resource:not_found",
|
|
8084
|
+
"server:internal_error"
|
|
8085
|
+
]
|
|
8086
|
+
},
|
|
8087
|
+
resumeCustomerMembership: {
|
|
8088
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/resume",
|
|
8089
|
+
method: "POST",
|
|
8090
|
+
tags: [
|
|
8091
|
+
"site-{siteId}",
|
|
8092
|
+
"bookings",
|
|
8093
|
+
"customer-membership-{customerMembershipId}"
|
|
8094
|
+
],
|
|
8095
|
+
auth: "user",
|
|
8096
|
+
responseKind: "json",
|
|
8097
|
+
errors: [
|
|
8098
|
+
"validation:invalid_input",
|
|
8099
|
+
"resource:not_found",
|
|
8100
|
+
"server:internal_error"
|
|
8101
|
+
]
|
|
8102
|
+
},
|
|
8103
|
+
finishCustomerMembershipChange: {
|
|
8104
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/finish",
|
|
8105
|
+
method: "POST",
|
|
8106
|
+
tags: [
|
|
8107
|
+
"site-{siteId}",
|
|
8108
|
+
"bookings",
|
|
8109
|
+
"customer-membership-{customerMembershipId}"
|
|
8110
|
+
],
|
|
8111
|
+
auth: "user",
|
|
8112
|
+
responseKind: "json",
|
|
8113
|
+
errors: [
|
|
8114
|
+
"validation:invalid_input",
|
|
8115
|
+
"resource:not_found",
|
|
8116
|
+
"server:internal_error"
|
|
8117
|
+
]
|
|
8118
|
+
},
|
|
8119
|
+
correctCustomerMembershipDates: {
|
|
8120
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}",
|
|
8121
|
+
method: "PATCH",
|
|
8122
|
+
tags: [
|
|
8123
|
+
"site-{siteId}",
|
|
8124
|
+
"bookings",
|
|
8125
|
+
"customer-membership-{customerMembershipId}"
|
|
8126
|
+
],
|
|
8127
|
+
auth: "user",
|
|
8128
|
+
responseKind: "json",
|
|
8129
|
+
errors: [
|
|
8130
|
+
"validation:invalid_input",
|
|
8131
|
+
"resource:not_found",
|
|
8132
|
+
"server:internal_error"
|
|
8133
|
+
]
|
|
8134
|
+
},
|
|
8011
8135
|
refundCustomerMembershipPayment: {
|
|
8012
8136
|
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/refund",
|
|
8013
8137
|
method: "POST",
|
|
@@ -9427,6 +9551,13 @@ const API_ENDPOINTS$1 = {
|
|
|
9427
9551
|
auth: "public",
|
|
9428
9552
|
responseKind: "json"
|
|
9429
9553
|
},
|
|
9554
|
+
portalResumeMembership: {
|
|
9555
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
9556
|
+
method: "POST",
|
|
9557
|
+
auth: "public",
|
|
9558
|
+
responseKind: "json",
|
|
9559
|
+
errors: []
|
|
9560
|
+
},
|
|
9430
9561
|
portalSendMagicLink: {
|
|
9431
9562
|
path: "/portal/auth/send-magic-link",
|
|
9432
9563
|
method: "POST",
|
|
@@ -131,6 +131,7 @@ const META_FIELDS = {
|
|
|
131
131
|
title: "text",
|
|
132
132
|
slug: "text",
|
|
133
133
|
status: "text",
|
|
134
|
+
offeringLabel: "text",
|
|
134
135
|
publishedAt: "date",
|
|
135
136
|
createdAt: "date",
|
|
136
137
|
updatedAt: "date",
|
|
@@ -180,6 +181,7 @@ const META_FIELD_COMPATIBILITY = {
|
|
|
180
181
|
"inlineText",
|
|
181
182
|
"select"
|
|
182
183
|
],
|
|
184
|
+
offeringLabel: ["text", "inlineText"],
|
|
183
185
|
publishedAt: [
|
|
184
186
|
"text",
|
|
185
187
|
"inlineText",
|
|
@@ -263,6 +265,7 @@ const META_FIELD_LABELS = {
|
|
|
263
265
|
title: "Title",
|
|
264
266
|
slug: "Slug",
|
|
265
267
|
status: "Status",
|
|
268
|
+
offeringLabel: "Offering kind",
|
|
266
269
|
publishedAt: "Published Date",
|
|
267
270
|
createdAt: "Created Date",
|
|
268
271
|
updatedAt: "Updated Date",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-
|
|
1
|
+
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-DAQdPDku.mjs";
|
|
2
2
|
export { activeThemeSchema, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, contentConfigSchema, deployConfigSchema, fieldSelectOptionSchema, layoutConfigSchema, loaderParamBindingSchema, loaderParamValueSchema, loaderWhenValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkSiteUrlSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sdkWorkflowConfigSchema, sdkWorkflowConfirmationSchema, sdkWorkflowEndpointSchema, sdkWorkflowIdSchema, sdkWorkflowTriggerSchema, sdkWorkflowsSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, syncConfigSchema, themeSourceSchema, validateFieldIdConflicts };
|
package/dist/server/config.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as isCanonicalRichTextDoc } from "./rich-text-CRcONdyM.mjs";
|
|
2
|
-
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-
|
|
3
|
-
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-
|
|
2
|
+
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-DAQdPDku.mjs";
|
|
3
|
+
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
//#region src/config/bindings.ts
|
|
5
5
|
function fieldBinding(path) {
|
|
6
6
|
return {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-
|
|
1
|
+
import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-Bu_p4HxZ.mjs";
|
|
2
2
|
export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
|
|
2
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-
|
|
3
|
-
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-
|
|
2
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-dROAfMRa.mjs";
|
|
3
|
+
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
5
|
-
import { t as prebuildCache } from "./prebuild-
|
|
5
|
+
import { t as prebuildCache } from "./prebuild-CntSkZQI.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|