@riverbankcms/sdk 0.165.0 → 0.167.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +5 -0
- package/dist/_dts/{BlocksIslandsHydrator-CdsSMQEv.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
- package/dist/_dts/{Page-D6gp2Ipb.d.ts → Page-Bs3WxFgr.d.ts} +20 -258
- package/dist/_dts/{SdkPreviewMode-DNXAvnet.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +26 -3
- package/dist/_dts/{client-BkkExozE.d.ts → client-CwsI23pj.d.ts} +13 -1
- package/dist/_dts/{content-types-CXNAD7ef.d.ts → content-types-CAeP_-cV.d.ts} +3 -3
- package/dist/_dts/{contracts-XRXhbLWP.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-BP2bJYdY.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DcMtbztV.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
- package/dist/_dts/{index-DKNEgSOS.d.ts → index-5_jf52sZ.d.ts} +2 -2
- package/dist/_dts/{index-CQfJhOEA.d.ts → index-C20yUyob.d.ts} +1 -1
- package/dist/_dts/{index-CRRiddNp.d.ts → index-CS6b1B-c.d.ts} +4 -4
- package/dist/_dts/{index-B4ozSzFP.d.ts → index-ChpjHK0U.d.ts} +9737 -8316
- package/dist/_dts/{index-BdkHhyf8.d.ts → index-D7EbliE3.d.ts} +1 -1
- package/dist/_dts/{index-RXkE3a7M.d.ts → index-DeHDwMfu.d.ts} +4 -3
- package/dist/_dts/{index-DAPTSmBM.d.ts → index-RugyUnqR.d.ts} +2499 -2218
- package/dist/_dts/{index-C_3kdrUb.d.ts → index-bDln38Hm.d.ts} +2 -2
- package/dist/_dts/{loadContent-B9vJMq3s.d.ts → loadContent-CTqcL7CS.d.ts} +9 -6
- package/dist/_dts/resolveBlockData-C3s9WMPs.d.ts +136 -0
- package/dist/_dts/{resolvePageContent-DIQyYUi-.d.ts → resolvePageContent-JPwgRxwh.d.ts} +3 -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 +9 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +20 -0
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
- package/dist/_dts/sdk/src/data/types.d.ts +54 -0
- 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 +6 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +9 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
- 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 +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +260 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +8 -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/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +7 -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/{types-BDF73NzM.d.ts → types-BlaCuPLr.d.ts} +2 -2
- package/dist/_dts/{types-Cl0nP6al.d.ts → types-CwtTcaQP.d.ts} +3 -3
- package/dist/_dts/{types-mstFvhK4.d.ts → types-D-WElMCy.d.ts} +8 -7
- package/dist/_dts/{validation-DVWqSvjK.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CzKpH9Pm.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +31 -24
- package/dist/client/{BookingMailingListNote-rUqsBN7L.mjs → BookingMailingListNote-CCVXX1LN.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-YGzw2IPB.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +167 -18
- package/dist/client/{CheckboxChoice-DlTC4J2a.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-D2LyS_Bi.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-BaFg2Uit.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
- package/dist/client/{EventCalendar.client-tRrhPscX.mjs → EventCalendar.client-DAeQPV76.mjs} +11 -30
- package/dist/client/{EventCombined.client-6cfAVtnZ.mjs → EventCombined.client-Bus9R0bj.mjs} +137 -61
- package/dist/client/{EventEmbeddedCheckoutStep-CDNUpI0S.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
- package/dist/client/{EventItem-dILw2PN_.mjs → EventItem-DPBLjGwj.mjs} +75 -13
- package/dist/client/{EventListWeekNavigation-ClgLtjNY.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
- package/dist/client/{EventListing.client-BNueAHmU.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
- package/dist/client/{EventListing.view-DtVbKVkt.mjs → EventListing.view-CEumpN7i.mjs} +35 -51
- package/dist/client/{EventRegistrationPayment-CzkG0NSJ.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +113 -11
- package/dist/client/{LocationMapActions-zWQsJhE5.mjs → LocationMapActions-BVO-qx4q.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-D1AO_o4h.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
- package/dist/client/{Page-DUr2YhFR.mjs → Page-D4_H_u9V.mjs} +23892 -32266
- package/dist/client/{ProtectedSubmitButton-2fJqT_NR.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
- package/dist/client/{StepIndicator-udNHcpOT.mjs → StepIndicator-Dptantmg.mjs} +3 -3
- package/dist/client/{TabBarFragment-C_kt-PXh.mjs → TabBarFragment-BxEGsKUx.mjs} +19 -19
- package/dist/client/{ThemedButton-Cfbo1bfh.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
- package/dist/client/{accordion-3CYNWzTS.mjs → accordion--EUHmEGa.mjs} +1 -1
- package/dist/client/{booking-form.client-BSbWgLyx.mjs → booking-form.client-BCXwOnhc.mjs} +19 -14
- package/dist/client/{bookingForm-2MoFBWSt.mjs → bookingForm-sHHcdism.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-Cu5mcpO-.mjs → carousel-Cp9xPBFZ.mjs} +2 -2
- package/dist/client/{carousel.client-CQLV8_Al.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
- package/dist/client/{cart-CDc6x9cR.mjs → cart-CCZZC-Lq.mjs} +3 -3
- package/dist/client/{cart.client-BWS2r5Ef.mjs → cart.client-B7JfA19I.mjs} +1 -1
- package/dist/client/{checkout-CkxPqSwD.mjs → checkout-CipmYL4A.mjs} +3 -3
- package/dist/client/{checkout.client-DJfomKQc.mjs → checkout.client-DraalWdH.mjs} +1 -1
- package/dist/client/client.mjs +9550 -17
- package/dist/client/{context-CBV21-9L.mjs → context-Cv3QHjAF.mjs} +11 -6
- package/dist/client/{cta-Bw-al3cs.mjs → cta-P2vJVTEn.mjs} +45 -28
- package/dist/client/{dateFormatting-CFIUJ4Uf.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0veHJyi.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CEqqq92r.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +4 -4
- package/dist/client/{event-details.client-Bk2kQ7ax.mjs → event-details.client-dLmyuPap.mjs} +2 -2
- package/dist/client/{event-registration.client-QMqtIywj.mjs → event-registration.client-BEhC2_-Y.mjs} +34 -20
- package/dist/client/{eventCalendar-BTDTMosr.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
- package/dist/client/{eventCombined-BC7a709c.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
- package/dist/client/{eventDetails-DL08GpUc.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
- package/dist/client/{eventListing-BfzuEQp_.mjs → eventListing-Bih-BgQM.mjs} +4 -4
- package/dist/client/{eventRegistration-Lfyzh1Ab.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
- package/dist/client/{form-L-xZOBUS.mjs → form-Bw1uuiUs.mjs} +3 -3
- package/dist/client/{form.client-BtpK3TZW.mjs → form.client-pZ-9gN33.mjs} +5 -5
- package/dist/client/{form.parts-Djos5Un4.mjs → form.parts-PXlu6XQO.mjs} +3 -3
- package/dist/client/{formatDate-DGmrm7YB.mjs → formatDate-DI3DP48e.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -4
- package/dist/client/{headerSection-f16OGkz-.mjs → headerSection-BpJYUMd6.mjs} +2 -2
- package/dist/client/{mediaAssets-DHAmrVIi.mjs → mediaAssets-DpPauppt.mjs} +1 -1
- package/dist/client/{mediaContext-CwT6ZOm7.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
- package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-CSoP0cGR.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +2 -2
- package/dist/client/{newsletterForm-BEU0Ocu9.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
- package/dist/client/{noop-CQU7tiMg.mjs → noop-ByVtIWf4.mjs} +420 -170
- package/dist/client/portal/client.mjs +13 -14
- package/dist/client/{product-detail.client-Be-om1BT.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
- package/dist/client/{product-list.client-DR7hD5Vs.mjs → product-list.client-DEad-Pma.mjs} +1 -1
- package/dist/client/{productDetail-BD42UOmG.mjs → productDetail-G1SMXG13.mjs} +3 -3
- package/dist/client/{productList-CSk8sXCl.mjs → productList-B21TGdpT.mjs} +3 -3
- package/dist/client/{propsDecoder-C_Y6VYnF.mjs → propsDecoder-B3vIBkex.mjs} +4 -5
- package/dist/client/{registry.server-CIKtTsCl.mjs → registry.server-B8aQhJpO.mjs} +399 -473
- package/dist/client/rendering/client.mjs +29 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +70 -8
- package/dist/client/{richText-coerce-spWtx86G.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CROHPlYS.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
- package/dist/client/{shop-commerce-CDUohm_2.mjs → shop-commerce-B2UmrQg_.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B9nw4lRP.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
- package/dist/client/{shop-DscvMz86.mjs → shop-mqyoOvOK.mjs} +3 -3
- package/dist/client/{shop.client-M3kNsVPi.mjs → shop.client-BH-BBnA9.mjs} +13 -13
- package/dist/client/{shop.interactive-BGmkdIAZ.mjs → shop.interactive-mdM3UMWG.mjs} +74 -36
- package/dist/client/{shopShared-BdWp6LHa.mjs → shopShared-CXF5wxdg.mjs} +2 -2
- package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
- package/dist/{preview-next/client/ThemedButton-Dc6aJ34Z.mjs → client/site-styles-D56hT2u1.mjs} +26000 -16565
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-DjnxOjXG.mjs +217 -0
- package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
- package/dist/client/{timetableModel-Dynh5-j4.mjs → timetableModel-CrC80EOG.mjs} +13 -140
- package/dist/client/types-sF-IrGQr.mjs +633 -0
- package/dist/client/{useAvailableSlots-Cw9paRPY.mjs → useAvailableSlots-C4LOaI_Z.mjs} +8 -5
- package/dist/client/{useBookingNowIso-C9SF2rC6.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
- package/dist/client/{useDiscountApply-B-QJfBg0.mjs → useDiscountApply-6Q0nToVA.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-Uvum8q9d.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
- package/dist/client/{useEventPagination-BfM3xk6j.mjs → useEventPagination-Bcs89BR5.mjs} +9 -9
- package/dist/client/{view-DlkCDfuN.mjs → view-BN-fxyfq.mjs} +287 -232
- package/dist/client/{view-DXOuduIr.mjs → view-Dh2tGoS0.mjs} +4 -4
- package/dist/client/{wizardSteps-DManVJpc.mjs → wizardSteps-DtkhwKXK.mjs} +468 -149
- package/dist/preview-next/before-render.mjs +3 -140
- package/dist/preview-next/client/ArrangementLookControls-D4VjPs-r.mjs +31197 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-Die6Y25O.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
- package/dist/preview-next/client/{LocationPickerEnvironment-Bp4BHLCL.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Cb0JhM9p.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
- package/dist/preview-next/client/PreviewEditorSidebar-Ckr2zk_L.mjs +37247 -0
- package/dist/preview-next/client/{PreviewEditorUI-CxwlLBGw.mjs → PreviewEditorUI-KOZgw_gS.mjs} +45 -17
- package/dist/preview-next/client/PreviewShell-CyO2V4kB.mjs +4757 -0
- package/dist/preview-next/client/SdkPreviewModeRuntime-DW3uKvNF.mjs +4258 -0
- package/dist/preview-next/client/SiteChromeCustomizeButton-CU9VD-7O.mjs +72202 -0
- package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
- package/dist/preview-next/client/{lucide-react-CqxuVAyz.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
- package/dist/preview-next/client/previewAssistantSlot-DBi-WybM.mjs +112193 -0
- package/dist/preview-next/client/{previewChromeSurface-yuwnDP3B.mjs → previewChromeSurface-BhkUJst9.mjs} +90 -28
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/sdk-runtime-BjCb6lOn.mjs +5 -0
- package/dist/preview-next/client/{editorStatusDecision-DR4BBKhy.mjs → useAutosaveStatus-CKxTaC3j.mjs} +40 -3
- package/dist/preview-next/client/useBlockCustomizeControls-B7MLTjBX.mjs +2633 -0
- package/dist/preview-next/client/useOpenBlockForSetup-BTUc0g9X.mjs +28 -0
- package/dist/preview-next/keepAlive.mjs +25 -2
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BBAJjFIz.mjs → route-contract-Bv3nkdpV.mjs} +215 -118
- package/dist/server/{Block.shared-ClFI3qpX.mjs → Block.shared-4fMqzltx.mjs} +7 -4
- package/dist/server/{src-DsYPhTbs.mjs → ThemeScopeCore-C72VC_lR.mjs} +894 -2556
- package/dist/server/accessibleSurfaces-B_Y_dA20.mjs +2305 -0
- package/dist/server/{bindings-Bi8EoRZD.mjs → bindings-ConMYJ2U.mjs} +2 -3
- package/dist/server/{publicProducts-Bz8loTRn.mjs → client-Cot-H5fQ.mjs} +2558 -343
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +33 -2
- package/dist/server/data/dataLoaderContext.mjs +2 -0
- package/dist/server/data/resolveBlockData.mjs +2 -0
- package/dist/server/data/types.mjs +1 -0
- package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
- package/dist/server/identity-Bn9OQiT1.mjs +6 -0
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-dEEhQxL7.mjs → loadContent-BkaWYEwt.mjs} +6 -5
- package/dist/server/{loadPage-DBFBad8A.mjs → loadPage-kviUdH8c.mjs} +4 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/media-DnlczCMA.mjs +231 -0
- package/dist/server/metadata.mjs +5 -1
- package/dist/server/mode-Cv_TG9gP.mjs +63 -0
- package/dist/server/next/revalidate.mjs +9 -4
- package/dist/server/next.mjs +11 -11
- package/dist/server/opaqueSurface-BTnS09GS.mjs +54 -0
- package/dist/server/{overrideResolution-BIJbiXYc.mjs → overrideResolution-itXZCXs7.mjs} +2 -1
- package/dist/server/overrides-CD4d-1w7.mjs +177 -0
- package/dist/server/page-converter.mjs +243 -91
- package/dist/server/pageRenderPlan-CDyn7iLy.mjs +4162 -0
- package/dist/server/{themeAdmission-CSknYpxk.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +13 -28
- package/dist/server/{overrides-DhF87Vsd.mjs → pageShared-Q_Vij87H.mjs} +3808 -1928
- package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +52 -0
- package/dist/server/{prebuild-DaemmWQL.mjs → prebuild-DOG4MkOy.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/prefetchBlockData-DlprLLsc.mjs +756 -0
- package/dist/server/{registry-Cdvz1OtL.mjs → registry-BPFcpn6k.mjs} +21838 -709
- package/dist/server/rendering/components/pageShared.mjs +2 -0
- package/dist/server/rendering/helpers/loadPage.mjs +2 -0
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering/themeAdmission.mjs +2 -0
- package/dist/server/rendering.mjs +11 -10
- package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
- package/dist/server/{resolveBlockData-CLpAJWWf.mjs → resolveBlockData-BHvfGD4y.mjs} +6 -48
- package/dist/server/resolveButtonColourStates-OXFRGn5M.mjs +2682 -0
- package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
- package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/schema-DEizlyi4.mjs +2524 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1031 -1
- package/dist/server/theme.mjs +2 -1
- package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
- package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
- package/dist/server/validation-CDd6m8Ry.mjs +140 -0
- package/dist/server/{validation-DYxhLzqQ.mjs → validation-bl6WcAi_.mjs} +419 -3
- package/dist/server/{version-Beu4q-Gv.mjs → version-BLXZ31S-.mjs} +1 -1
- package/dist/styles/index.css +710 -29
- package/package.json +39 -1
- package/dist/client/events-BmqPeeQm.mjs +0 -20
- package/dist/client/purchase-BV5xfaZH.mjs +0 -894
- package/dist/client/schema-BdSglH2X.mjs +0 -16084
- package/dist/client/site-styles-CWHmlVT5.mjs +0 -14503
- package/dist/client/src-VIsPY-kw.mjs +0 -62
- package/dist/preview-next/client/PreviewEditorSidebar-DEP3xD9K.mjs +0 -5810
- package/dist/preview-next/client/SdkPreviewModeRuntime-Cpe-XP8e.mjs +0 -3
- package/dist/preview-next/client/SdkPreviewModeRuntime-QDkMPASV.mjs +0 -8059
- package/dist/preview-next/client/SiteChromeCustomizeButton-1JaoGOKX.mjs +0 -9367
- package/dist/preview-next/client/previewSidebarNavigation-AXUj9-qQ.mjs +0 -224683
- package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
- package/dist/preview-next/client/sdk-runtime-O-eA9-rV.mjs +0 -4
- package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
- package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
- package/dist/server/client-DfMDbZ41.mjs +0 -2330
- package/dist/server/effectiveNavLinkStyle-BHIYPVG1.mjs +0 -13713
- package/dist/server/loadPage-CnVB-aeL.mjs +0 -2
- package/dist/server/prefetchBlockData-FwcsT5H2.mjs +0 -4359
- package/dist/server/schema-uSA_x1Zh.mjs +0 -16311
- package/dist/server/site-styles-CntHn2KI.mjs +0 -793
- package/dist/server/siteChromeOverlayClearance-DqP40Ka0.mjs +0 -802
|
@@ -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-bl6WcAi_.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,37 @@
|
|
|
1
|
-
import { O as isCanonicalRichTextDoc } from "./prefetchBlockData-FwcsT5H2.mjs";
|
|
2
1
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
|
-
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-
|
|
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-bl6WcAi_.mjs";
|
|
3
|
+
//#region ../core/src/rich-text.ts
|
|
4
|
+
function isRecord(value) {
|
|
5
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6
|
+
}
|
|
7
|
+
function hasOnlyKeys(value, allowed) {
|
|
8
|
+
return Object.keys(value).every((key) => allowed.has(key));
|
|
9
|
+
}
|
|
10
|
+
const rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
|
|
11
|
+
const nodeKeys = /* @__PURE__ */ new Set([
|
|
12
|
+
"type",
|
|
13
|
+
"content",
|
|
14
|
+
"text",
|
|
15
|
+
"attrs",
|
|
16
|
+
"marks"
|
|
17
|
+
]);
|
|
18
|
+
const markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
|
|
19
|
+
function isDenseArrayOf(value, predicate) {
|
|
20
|
+
for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
function isTipTapMark(value) {
|
|
24
|
+
return isRecord(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord(value.attrs));
|
|
25
|
+
}
|
|
26
|
+
function isTipTapNode(value) {
|
|
27
|
+
if (!isRecord(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
|
|
28
|
+
if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
|
|
29
|
+
return value.text === void 0;
|
|
30
|
+
}
|
|
31
|
+
function isCanonicalRichTextDoc(value) {
|
|
32
|
+
return isRecord(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
4
35
|
//#region src/config/bindings.ts
|
|
5
36
|
function fieldBinding(path) {
|
|
6
37
|
return {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, r as normalizeDataLoaderSearchParams, t as createDataLoaderContext } from "../dataLoaderContext-B3fXA54R.mjs";
|
|
2
|
+
export { createDataLoaderContext, getDataLoaderOwnerPageId, normalizeDataLoaderSearchParams, resolveDataLoaderBlockContent };
|
|
@@ -0,0 +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-BHvfGD4y.mjs";
|
|
2
|
+
export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region src/data/defineOwnDataProperty.ts
|
|
2
|
+
/** Define a string key as ordinary data without invoking legacy prototype setters. */
|
|
3
|
+
function defineOwnDataProperty(target, key, value) {
|
|
4
|
+
Object.defineProperty(target, key, {
|
|
5
|
+
value,
|
|
6
|
+
enumerable: true,
|
|
7
|
+
configurable: true,
|
|
8
|
+
writable: true
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/data/dataLoaderContext.ts
|
|
13
|
+
function assertNever(value) {
|
|
14
|
+
throw new Error(`Unhandled data loader render target: ${String(value)}`);
|
|
15
|
+
}
|
|
16
|
+
function getDataLoaderOwnerPageId(target) {
|
|
17
|
+
switch (target.kind) {
|
|
18
|
+
case "page": return target.pageId;
|
|
19
|
+
case "entry-template":
|
|
20
|
+
case "page-surface-template": return target.templateId;
|
|
21
|
+
default: return assertNever(target);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function normalizeDataLoaderSearchParams(input) {
|
|
25
|
+
if (!input) return Object.freeze({});
|
|
26
|
+
const normalized = {};
|
|
27
|
+
for (const [key, value] of Object.entries(input)) defineOwnDataProperty(normalized, key, value === void 0 || typeof value === "string" ? value : Object.freeze([...value]));
|
|
28
|
+
return Object.freeze(normalized);
|
|
29
|
+
}
|
|
30
|
+
function resolveDataLoaderBlockContent(block, previewStage) {
|
|
31
|
+
if (previewStage === "preview" && block.draftContent) return block.draftContent;
|
|
32
|
+
return block.content ?? {};
|
|
33
|
+
}
|
|
34
|
+
function createDataLoaderContext(input) {
|
|
35
|
+
return {
|
|
36
|
+
siteId: input.siteId,
|
|
37
|
+
pageId: getDataLoaderOwnerPageId(input.renderTarget),
|
|
38
|
+
blockId: input.blockId,
|
|
39
|
+
blockKind: input.blockKind,
|
|
40
|
+
content: input.content,
|
|
41
|
+
previewStage: input.previewStage,
|
|
42
|
+
searchParams: input.searchParams,
|
|
43
|
+
renderTarget: input.renderTarget
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { defineOwnDataProperty as a, resolveDataLoaderBlockContent as i, getDataLoaderOwnerPageId as n, normalizeDataLoaderSearchParams as r, createDataLoaderContext as t };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, m as parseMediaIdentifier, o as runtimeMediaSchema, p as parseCanonicalMediaIdentifier } from "./media-DnlczCMA.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-Cot-H5fQ.mjs";
|
|
2
3
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, h as getResilienceStatusFromError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, m as RiverbankApiError, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-DfMDbZ41.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-DOG4MkOy.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Gn as resolveDateRuntimeContext } from "./registry-
|
|
2
|
-
import { a as
|
|
3
|
-
import {
|
|
4
|
-
import { t as applyBindingsToContent } from "./bindings-
|
|
5
|
-
import {
|
|
1
|
+
import { Gn as resolveDateRuntimeContext } from "./registry-BPFcpn6k.mjs";
|
|
2
|
+
import { a as invalidRenderableBlock, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as readPublishedBlockPlacement } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
|
|
3
|
+
import { o as isRecord } from "./richTextSchema-Euhuj-7V.mjs";
|
|
4
|
+
import { t as applyBindingsToContent } from "./bindings-ConMYJ2U.mjs";
|
|
5
|
+
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
6
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-BHvfGD4y.mjs";
|
|
6
7
|
//#region ../content-model/src/entry-slots/types.ts
|
|
7
8
|
function ok(value) {
|
|
8
9
|
return {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { d as siteLocationRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
|
|
2
|
+
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
3
|
+
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
4
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-BHvfGD4y.mjs";
|
|
3
5
|
//#region src/rendering/helpers/loadPage.ts
|
|
4
6
|
/**
|
|
5
7
|
* Server-side helper to fetch all data needed for <Page> component.
|
package/dist/server/manifest.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-DwKJfMYb.mjs";
|
|
2
|
-
import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-
|
|
2
|
+
import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-_j2UE2tR.mjs";
|
|
3
3
|
//#region src/manifest/prompt/knowledge-base.ts
|
|
4
4
|
/**
|
|
5
5
|
* LLM Knowledge Base for HTML-to-Manifest Conversion
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region ../core/src/result.ts
|
|
3
|
+
function ok(value) {
|
|
4
|
+
return {
|
|
5
|
+
ok: true,
|
|
6
|
+
value
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function err(error) {
|
|
10
|
+
return {
|
|
11
|
+
ok: false,
|
|
12
|
+
error
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region ../core/src/branded/uuid.ts
|
|
17
|
+
const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
18
|
+
function parseUuidBrand(value, unsafeConstructor) {
|
|
19
|
+
if (typeof value !== "string") return err({ kind: "not_string" });
|
|
20
|
+
const normalized = value.trim().toLowerCase();
|
|
21
|
+
if (normalized.length === 0) return err({ kind: "empty_string" });
|
|
22
|
+
if (!UUID_PATTERN.test(normalized)) return err({ kind: "invalid_uuid" });
|
|
23
|
+
return ok(unsafeConstructor(normalized));
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../core/src/branded/media.ts
|
|
27
|
+
const unsafeAsMediaAssetId = (id) => id;
|
|
28
|
+
const unsafeAsStorageBucketName = (value) => value;
|
|
29
|
+
const unsafeAsStoragePath = (value) => value;
|
|
30
|
+
const parseMediaAssetId = (value) => parseUuidBrand(value, unsafeAsMediaAssetId);
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region ../media-core/src/identifiers.ts
|
|
33
|
+
function slugifyMediaIdentifier(value) {
|
|
34
|
+
return value.toLowerCase().trim().replace(/[^a-z0-9\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-");
|
|
35
|
+
}
|
|
36
|
+
function parseMediaIdentifier(value) {
|
|
37
|
+
if (typeof value !== "string") return err({ kind: "not_string" });
|
|
38
|
+
const trimmed = value.trim();
|
|
39
|
+
if (trimmed.length === 0) return err({ kind: "empty_identifier" });
|
|
40
|
+
const normalized = slugifyMediaIdentifier(trimmed);
|
|
41
|
+
if (normalized.length === 0) return err({
|
|
42
|
+
kind: "empty_after_normalization",
|
|
43
|
+
value
|
|
44
|
+
});
|
|
45
|
+
return ok(normalized);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Admits identifiers read from trusted persistence without repairing dirty data in memory.
|
|
49
|
+
* User input should use parseMediaIdentifier, which intentionally canonicalizes it.
|
|
50
|
+
*/
|
|
51
|
+
function parseCanonicalMediaIdentifier(value) {
|
|
52
|
+
if (typeof value !== "string") return err({ kind: "not_string" });
|
|
53
|
+
const parsed = parseMediaIdentifier(value);
|
|
54
|
+
if (!parsed.ok) return parsed;
|
|
55
|
+
if (value !== parsed.value) return err({
|
|
56
|
+
kind: "non_canonical_identifier",
|
|
57
|
+
value,
|
|
58
|
+
canonical: parsed.value
|
|
59
|
+
});
|
|
60
|
+
return parsed;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region ../media-core/src/mediaIdentifierSchema.ts
|
|
64
|
+
/** Strict stored-reference admission delegates the canonical identifier decision. */
|
|
65
|
+
const mediaIdentifierSchema = z.string().transform((value, context) => {
|
|
66
|
+
const parsed = parseCanonicalMediaIdentifier(value);
|
|
67
|
+
if (parsed.ok) return parsed.value;
|
|
68
|
+
context.addIssue({
|
|
69
|
+
code: "custom",
|
|
70
|
+
message: "Expected a canonical media identifier"
|
|
71
|
+
});
|
|
72
|
+
return z.NEVER;
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region ../media-core/src/mediaKinds.ts
|
|
76
|
+
const mediaTypeDiscriminants = [
|
|
77
|
+
"image",
|
|
78
|
+
"video",
|
|
79
|
+
"audio",
|
|
80
|
+
"document",
|
|
81
|
+
"spreadsheet",
|
|
82
|
+
"archive"
|
|
83
|
+
];
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region ../media-core/src/renderableMediaAsset.ts
|
|
86
|
+
/** Shared identifier indexing for admitted site-scoped projections. */
|
|
87
|
+
function buildMediaIdentifierIndex(assets) {
|
|
88
|
+
const index = new Map(assets.map((asset) => [asset.identifier, asset]));
|
|
89
|
+
if (index.size !== assets.length) throw new Error("Duplicate media identifier in a site asset list");
|
|
90
|
+
return index;
|
|
91
|
+
}
|
|
92
|
+
/** Index already admitted projections, including runtime registration updates. */
|
|
93
|
+
function indexRenderableMediaAssets(assets) {
|
|
94
|
+
if (!assets.length) return void 0;
|
|
95
|
+
const byId = new Map(assets.map((asset) => [asset.id, asset]));
|
|
96
|
+
const byIdentifier = buildMediaIdentifierIndex(assets);
|
|
97
|
+
if (byId.size !== assets.length) throw new Error("Duplicate media asset identity in a site asset list");
|
|
98
|
+
return {
|
|
99
|
+
assets,
|
|
100
|
+
byId,
|
|
101
|
+
byIdentifier
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
/** A portable reference never uses an incidental UUID, URL or storage snapshot for identity. */
|
|
105
|
+
function resolveManagedMediaReference(reference, index) {
|
|
106
|
+
const asset = index?.byIdentifier.get(reference.identifier);
|
|
107
|
+
return asset ? {
|
|
108
|
+
kind: "resolved",
|
|
109
|
+
reference,
|
|
110
|
+
asset
|
|
111
|
+
} : {
|
|
112
|
+
kind: "missing",
|
|
113
|
+
reference
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region ../media-core/src/renderableMediaAssetAdmission.ts
|
|
118
|
+
const mediaAssetIdSchema = z.string().transform((value, context) => {
|
|
119
|
+
const parsed = parseMediaAssetId(value);
|
|
120
|
+
if (parsed.ok) return parsed.value;
|
|
121
|
+
context.addIssue({
|
|
122
|
+
code: "custom",
|
|
123
|
+
message: "Expected a media asset ID"
|
|
124
|
+
});
|
|
125
|
+
return z.NEVER;
|
|
126
|
+
});
|
|
127
|
+
const nonemptyStorageValue = z.string().refine((value) => value.trim().length > 0);
|
|
128
|
+
const renderableMediaAssetSchema = z.object({
|
|
129
|
+
id: mediaAssetIdSchema,
|
|
130
|
+
identifier: mediaIdentifierSchema,
|
|
131
|
+
storageBucket: nonemptyStorageValue,
|
|
132
|
+
storagePath: nonemptyStorageValue,
|
|
133
|
+
mimeType: nonemptyStorageValue,
|
|
134
|
+
filename: z.string().optional(),
|
|
135
|
+
width: z.number().positive().nullable(),
|
|
136
|
+
height: z.number().positive().nullable()
|
|
137
|
+
});
|
|
138
|
+
/** Admission precedes the identifier-only runtime resolution decision. */
|
|
139
|
+
function buildRenderableMediaAssetIndex(assets) {
|
|
140
|
+
if (!assets?.length) return void 0;
|
|
141
|
+
return indexRenderableMediaAssets(assets.map((asset) => renderableMediaAssetSchema.parse(asset)));
|
|
142
|
+
}
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region ../media-core/src/media.ts
|
|
145
|
+
const hotspotSchema = z.object({
|
|
146
|
+
x: z.number().min(0).max(1),
|
|
147
|
+
y: z.number().min(0).max(1),
|
|
148
|
+
radius: z.number().optional()
|
|
149
|
+
});
|
|
150
|
+
const rotationSchema = z.union([
|
|
151
|
+
z.literal(0),
|
|
152
|
+
z.literal(90),
|
|
153
|
+
z.literal(180),
|
|
154
|
+
z.literal(270)
|
|
155
|
+
]);
|
|
156
|
+
const rectSchema = z.tuple([
|
|
157
|
+
z.number(),
|
|
158
|
+
z.number(),
|
|
159
|
+
z.number(),
|
|
160
|
+
z.number()
|
|
161
|
+
]);
|
|
162
|
+
const aspectCropSchema = z.object({
|
|
163
|
+
aspect: z.preprocess((value) => value == null ? void 0 : value, z.string().optional()),
|
|
164
|
+
rect: z.preprocess((value) => value == null ? void 0 : value, rectSchema.optional()),
|
|
165
|
+
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
166
|
+
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
167
|
+
});
|
|
168
|
+
const transformSchema = z.object({
|
|
169
|
+
aspectCrops: z.preprocess((value) => {
|
|
170
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
171
|
+
return value;
|
|
172
|
+
}, z.record(z.string(), aspectCropSchema.catch({}))).optional(),
|
|
173
|
+
rect: rectSchema.optional(),
|
|
174
|
+
hotspot: hotspotSchema.optional(),
|
|
175
|
+
rotation: rotationSchema.optional()
|
|
176
|
+
});
|
|
177
|
+
const mediaPosterSchema = z.discriminatedUnion("tag", [z.object({
|
|
178
|
+
tag: z.literal("media"),
|
|
179
|
+
identifier: mediaIdentifierSchema
|
|
180
|
+
}).strict(), z.object({
|
|
181
|
+
tag: z.literal("external-src"),
|
|
182
|
+
src: z.string().url()
|
|
183
|
+
}).strict()]);
|
|
184
|
+
const mediaUsageShape = {
|
|
185
|
+
purpose: z.string().optional(),
|
|
186
|
+
placeholder: z.boolean().default(true).optional(),
|
|
187
|
+
alt: z.string().optional(),
|
|
188
|
+
filename: z.string().optional(),
|
|
189
|
+
width: z.number().optional(),
|
|
190
|
+
height: z.number().optional(),
|
|
191
|
+
poster: mediaPosterSchema.optional(),
|
|
192
|
+
transform: transformSchema.optional()
|
|
193
|
+
};
|
|
194
|
+
const environmentExclusions = {
|
|
195
|
+
assetId: z.never().optional(),
|
|
196
|
+
id: z.never().optional(),
|
|
197
|
+
src: z.never().optional(),
|
|
198
|
+
storageBucket: z.never().optional(),
|
|
199
|
+
storagePath: z.never().optional(),
|
|
200
|
+
mimeType: z.never().optional()
|
|
201
|
+
};
|
|
202
|
+
const mediaBaseSchema = z.object({
|
|
203
|
+
...mediaUsageShape,
|
|
204
|
+
...environmentExclusions,
|
|
205
|
+
identifier: mediaIdentifierSchema
|
|
206
|
+
}).strict();
|
|
207
|
+
const imageMediaSchema = mediaBaseSchema.extend({ type: z.literal("image") });
|
|
208
|
+
const videoMediaSchema = mediaBaseSchema.extend({ type: z.literal("video") });
|
|
209
|
+
const mediaSchema = mediaBaseSchema.extend({ type: z.enum(mediaTypeDiscriminants) });
|
|
210
|
+
const persistableMediaSchema = mediaSchema;
|
|
211
|
+
const externalMediaSchema = z.object({
|
|
212
|
+
...mediaUsageShape,
|
|
213
|
+
...environmentExclusions,
|
|
214
|
+
type: z.enum(mediaTypeDiscriminants),
|
|
215
|
+
src: z.string().min(1),
|
|
216
|
+
identifier: z.never().optional()
|
|
217
|
+
}).strict();
|
|
218
|
+
const assetMediaSchema = z.object({
|
|
219
|
+
...mediaUsageShape,
|
|
220
|
+
...environmentExclusions,
|
|
221
|
+
type: z.enum(mediaTypeDiscriminants),
|
|
222
|
+
asset: renderableMediaAssetSchema,
|
|
223
|
+
identifier: z.never().optional()
|
|
224
|
+
}).strict();
|
|
225
|
+
const runtimeMediaSchema = z.union([
|
|
226
|
+
mediaSchema,
|
|
227
|
+
externalMediaSchema,
|
|
228
|
+
assetMediaSchema
|
|
229
|
+
]);
|
|
230
|
+
//#endregion
|
|
231
|
+
export { unsafeAsStoragePath as _, persistableMediaSchema as a, ok as b, buildRenderableMediaAssetIndex as c, resolveManagedMediaReference as d, mediaIdentifierSchema as f, unsafeAsStorageBucketName as g, unsafeAsMediaAssetId as h, mediaSchema as i, renderableMediaAssetSchema as l, parseMediaIdentifier as m, externalMediaSchema as n, runtimeMediaSchema as o, parseCanonicalMediaIdentifier as p, imageMediaSchema as r, videoMediaSchema as s, assetMediaSchema as t, indexRenderableMediaAssets as u, parseUuidBrand as v, err as y };
|
package/dist/server/metadata.mjs
CHANGED
|
@@ -109,7 +109,11 @@ function toEventNode(subject) {
|
|
|
109
109
|
location: {
|
|
110
110
|
"@type": "Place",
|
|
111
111
|
name: subject.event.locationName,
|
|
112
|
-
...subject.event.locationAddress ? { address: subject.event.locationAddress } : {}
|
|
112
|
+
...subject.event.locationAddress ? { address: subject.event.locationAddress } : {},
|
|
113
|
+
...subject.event.locationArea ? { containedInPlace: {
|
|
114
|
+
"@type": "Place",
|
|
115
|
+
name: subject.event.locationArea
|
|
116
|
+
} } : {}
|
|
113
117
|
},
|
|
114
118
|
...subject.event.offer ? { offers: {
|
|
115
119
|
"@type": "Offer",
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region ../theme-core/src/footer/mode.ts
|
|
3
|
+
const footerModeSchema = z.enum([
|
|
4
|
+
"default",
|
|
5
|
+
"blocks",
|
|
6
|
+
"default+blocks",
|
|
7
|
+
"none"
|
|
8
|
+
]);
|
|
9
|
+
/** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
|
|
10
|
+
function resolveSdkFooterMode(config) {
|
|
11
|
+
const parsed = z.object({ layout: z.object({ footerMode: footerModeSchema.optional() }).optional() }).safeParse(config);
|
|
12
|
+
return parsed.success ? parsed.data.layout?.footerMode ?? "default" : "default";
|
|
13
|
+
}
|
|
14
|
+
z.object({
|
|
15
|
+
variant: z.enum([
|
|
16
|
+
"simple",
|
|
17
|
+
"columns",
|
|
18
|
+
"split",
|
|
19
|
+
"centred"
|
|
20
|
+
]),
|
|
21
|
+
showLogoText: z.boolean().optional(),
|
|
22
|
+
logo: z.object({
|
|
23
|
+
showLogo: z.boolean().optional(),
|
|
24
|
+
showLogoText: z.boolean().optional()
|
|
25
|
+
}).optional()
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* Resolve what to render for the footer given the current mode and whether the
|
|
29
|
+
* site is SDK-managed.
|
|
30
|
+
*
|
|
31
|
+
* Backwards compatible: missing/undefined mode is treated as 'default'.
|
|
32
|
+
*/
|
|
33
|
+
function resolveFooterRenderPlan(params) {
|
|
34
|
+
if (!params.isSdkSite) return {
|
|
35
|
+
mode: "default",
|
|
36
|
+
renderDefaultFooter: true,
|
|
37
|
+
renderFooterBlocks: false
|
|
38
|
+
};
|
|
39
|
+
switch (params.mode ?? "default") {
|
|
40
|
+
case "blocks": return {
|
|
41
|
+
mode: "blocks",
|
|
42
|
+
renderDefaultFooter: false,
|
|
43
|
+
renderFooterBlocks: true
|
|
44
|
+
};
|
|
45
|
+
case "default+blocks": return {
|
|
46
|
+
mode: "default+blocks",
|
|
47
|
+
renderDefaultFooter: true,
|
|
48
|
+
renderFooterBlocks: true
|
|
49
|
+
};
|
|
50
|
+
case "none": return {
|
|
51
|
+
mode: "none",
|
|
52
|
+
renderDefaultFooter: false,
|
|
53
|
+
renderFooterBlocks: false
|
|
54
|
+
};
|
|
55
|
+
default: return {
|
|
56
|
+
mode: "default",
|
|
57
|
+
renderDefaultFooter: true,
|
|
58
|
+
renderFooterBlocks: false
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { resolveFooterRenderPlan as n, resolveSdkFooterMode as r, footerModeSchema as t };
|
|
@@ -154,10 +154,7 @@ function createRevalidateHandler(options = {}) {
|
|
|
154
154
|
invalidPathCount: normalizedPaths.invalidPaths.length
|
|
155
155
|
});
|
|
156
156
|
const normalizedTags = normalizeRevalidationTags(payload.tags);
|
|
157
|
-
|
|
158
|
-
revalidateTag(tag, "max");
|
|
159
|
-
revalidated.push(`tag:${tag}`);
|
|
160
|
-
}
|
|
157
|
+
revalidated.push(...revalidateWebhookTags(payload.event, normalizedTags));
|
|
161
158
|
for (const path of normalizedPaths.paths) {
|
|
162
159
|
revalidatePath(path);
|
|
163
160
|
revalidated.push(`path:${path}`);
|
|
@@ -196,5 +193,13 @@ function createRevalidateHandler(options = {}) {
|
|
|
196
193
|
});
|
|
197
194
|
};
|
|
198
195
|
}
|
|
196
|
+
/** The accepted process-memory lag does not permit stale Next fetch-cache copies. */
|
|
197
|
+
function revalidateWebhookTags(event, tags) {
|
|
198
|
+
const profile = event === "site.settings_updated" ? { expire: 0 } : "max";
|
|
199
|
+
return tags.map((tag) => {
|
|
200
|
+
revalidateTag(tag, profile);
|
|
201
|
+
return `tag:${tag}`;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
199
204
|
//#endregion
|
|
200
205
|
export { createRevalidateHandler, normalizeRevalidationPath, normalizeRevalidationPaths, normalizeRevalidationTags };
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { _o as resolveBookingBusinessTimeZone, lo as inferSiteDateLocale, yo as toUtcIsoDateTimeString } from "./registry-BPFcpn6k.mjs";
|
|
2
|
+
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-Q_Vij87H.mjs";
|
|
3
|
+
import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-Cot-H5fQ.mjs";
|
|
4
|
+
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
5
|
+
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
6
|
+
import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
|
|
7
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BkaWYEwt.mjs";
|
|
7
8
|
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
8
9
|
import { t as getPortalToken } from "./portal-Ce1Prfl3.mjs";
|
|
9
10
|
import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { t as SDK_VERSION } from "./version-Beu4q-Gv.mjs";
|
|
11
|
+
import { t as SDK_VERSION } from "./version-BLXZ31S-.mjs";
|
|
12
12
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
13
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
14
|
-
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
13
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-itXZCXs7.mjs";
|
|
15
14
|
import "react";
|
|
16
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
17
17
|
import { notFound, permanentRedirect, redirect } from "next/navigation";
|
|
18
18
|
import { cookies } from "next/headers";
|
|
19
19
|
import { CustomerPortal, PortalAccessState, PortalDigitalProductView, PortalTicketView } from "#sdk-portal-client";
|
|
@@ -1104,7 +1104,7 @@ async function loadPortalDetail(context, load) {
|
|
|
1104
1104
|
try {
|
|
1105
1105
|
return {
|
|
1106
1106
|
kind: "loaded",
|
|
1107
|
-
value: await load(createBearerAPIClient(context.portalToken, context.apiBaseUrl))
|
|
1107
|
+
value: await load(createBearerAPIClient(context.portalToken, context.apiBaseUrl, sdkRequestOptions))
|
|
1108
1108
|
};
|
|
1109
1109
|
} catch (error) {
|
|
1110
1110
|
return { kind: accessFailure(error) };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Dt as rgbColorValue, I as expandPalette, Mt as parseThemeColorToken, et as preparePaletteColourIndex, gt as surfaceForegroundDeclarations, mt as SURFACE_INK_CSS_VARS, pt as SURFACE_FOREGROUND_CSS_VARS, xt as surfaceInkDeclarations } from "./resolveButtonColourStates-OXFRGn5M.mjs";
|
|
2
|
+
import { f as contextualButtonSurfaceResetStyles, r as requireResolvedSurface } from "./accessibleSurfaces-B_Y_dA20.mjs";
|
|
3
|
+
//#region ../theme-core/src/surfaces/opaqueSurface.ts
|
|
4
|
+
function opaqueSurfaceContextFromTheme(theme) {
|
|
5
|
+
const palette = expandPalette(theme.palette);
|
|
6
|
+
return {
|
|
7
|
+
palette,
|
|
8
|
+
colourIndex: preparePaletteColourIndex(palette),
|
|
9
|
+
buttonSystem: theme.buttons,
|
|
10
|
+
linkHoverToken: theme.typography.proseLinkStyle?.hoverColorToken,
|
|
11
|
+
solvedInks: "publish"
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The declarations that make an element own its surface: `color`, every
|
|
16
|
+
* `--rb-surface-*` role and every `--rb-action-*` variable. Card roles and
|
|
17
|
+
* opaque block panels both publish through this, so a nested surface can never
|
|
18
|
+
* inherit a band's light text or its band-resolved buttons.
|
|
19
|
+
*/
|
|
20
|
+
function opaqueSurfaceDeclarations(surface, arrangement = false) {
|
|
21
|
+
requireResolvedSurface(surface);
|
|
22
|
+
if (surface.kind === "inherit") return inheritedSurfaceDeclarations(arrangement);
|
|
23
|
+
const foreground = surface.foreground;
|
|
24
|
+
return [
|
|
25
|
+
...surfaceForegroundDeclarations({
|
|
26
|
+
text: colorValue(foreground.text),
|
|
27
|
+
heading: colorValue(foreground.heading),
|
|
28
|
+
link: colorValue(foreground.link),
|
|
29
|
+
linkHover: colorValue(foreground.linkHover),
|
|
30
|
+
supporting: colorValue(foreground.supporting),
|
|
31
|
+
...arrangement ? { muted: colorValue(foreground.muted) } : {},
|
|
32
|
+
hoverDecoration: surface.hoverDecoration
|
|
33
|
+
}),
|
|
34
|
+
...surfaceInkDeclarations(surface.inks),
|
|
35
|
+
...arrangement && surface.decorations !== void 0 ? [`${SURFACE_FOREGROUND_CSS_VARS.line}: ${surface.decorations.line};`, `${SURFACE_FOREGROUND_CSS_VARS.mark}: ${surface.decorations.mark};`] : [],
|
|
36
|
+
...Object.entries(surface.buttonContext.styles).map(([property, value]) => `${property}: ${value};`)
|
|
37
|
+
];
|
|
38
|
+
}
|
|
39
|
+
function colorValue(token) {
|
|
40
|
+
const parsed = parseThemeColorToken(token);
|
|
41
|
+
return parsed ? rgbColorValue(parsed) : token;
|
|
42
|
+
}
|
|
43
|
+
/** Every property a surface publishes, set to `inherit`. */
|
|
44
|
+
function inheritedSurfaceDeclarations(arrangement) {
|
|
45
|
+
return [
|
|
46
|
+
"color",
|
|
47
|
+
...Object.entries(SURFACE_FOREGROUND_CSS_VARS).filter(([role]) => arrangement || role !== "line" && role !== "mark" && role !== "muted").map(([, variable]) => variable),
|
|
48
|
+
...Object.values(SURFACE_INK_CSS_VARS),
|
|
49
|
+
"--rb-surface-link-hover-decoration",
|
|
50
|
+
...Object.keys(contextualButtonSurfaceResetStyles())
|
|
51
|
+
].map((property) => `${property}: inherit;`);
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
export { opaqueSurfaceDeclarations as n, opaqueSurfaceContextFromTheme as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as PageContent } from "./pageShared-Q_Vij87H.mjs";
|
|
2
|
+
import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
//#region src/rendering/components/Page.server.tsx
|
|
4
5
|
function Page(props) {
|