@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
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,13 @@ and then gets the version it went out in.
|
|
|
15
15
|
- Include custom data-loader media sidecars in page rendering and image
|
|
16
16
|
resolution. Page and explicit image-context assets take precedence over
|
|
17
17
|
loader copies. This replaces Dovetail's local loader-media package patch.
|
|
18
|
+
- `getEntries()` and `getEntriesByIdentifiers()` now pair each entry media
|
|
19
|
+
reference with its asset from the response's `mediaAssets`, so an entry image
|
|
20
|
+
renders on any page with `resolveImageUrlWithContext` and no extra context.
|
|
21
|
+
A resolved value carries `asset` in place of `identifier`; a reference with
|
|
22
|
+
no matching asset is left as it was. Sites that paired these themselves
|
|
23
|
+
(Patchwerk's project cards, Positive Play Zone's `resolveFetchedEntryMedia`)
|
|
24
|
+
can drop that code.
|
|
18
25
|
|
|
19
26
|
### Appointment requests (#1494)
|
|
20
27
|
|
package/README.md
CHANGED
|
@@ -546,6 +546,11 @@ slugs. Published requests prefer published slugs. Keep identifier lists small
|
|
|
546
546
|
(maximum 50 refs per request); for larger lists, use normal paginated
|
|
547
547
|
`getEntries()` queries instead.
|
|
548
548
|
|
|
549
|
+
Media fields in the returned entries come with their assets attached (`asset`
|
|
550
|
+
rather than an `identifier` reference), so you can pass an entry image to
|
|
551
|
+
`resolveImageUrlWithContext` on any page without adding the
|
|
552
|
+
response's `mediaAssets` to the image context yourself.
|
|
553
|
+
|
|
549
554
|
### Parameters
|
|
550
555
|
|
|
551
556
|
| Parameter | Type | Required | Description |
|
|
@@ -1,261 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { Ai as ThemeResponsiveMode, Do as EventPageSurfaceSubjectWire, L as BlockLoaderFailures, Li as PublicVenueMapLocation, Ma as WeeklyOpeningHours, R as BlockLoaderSnapshot, Ri as DeepReadonly, U as RenderablePageOutline$1, Ua as BusinessLocationPermission, Zo as BlockInteractionContext, di as RenderableMediaAsset, fr as BlockSiteTerms, ft as PageTemplate, ii as Theme, ki as ThemeRuntime, kr as BrowserReadAuthority, la as MailingListRuntimeContext, lt as LinkResolverContext, qa as PublicLocation, uo as UtcIsoDateTimeString, ut as DateRuntimeContext, z as PrefetchedBlockData } from "./index-RugyUnqR.js";
|
|
2
|
+
import { It as LinkValue, St as SystemBlockShortKind, _ as PageOutline, a as ResolveImageUrlContext, bt as SystemBlockContentByKind, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, y as RouteMap } from "./index-D7EbliE3.js";
|
|
3
|
+
import { d as SdkCustomBlock } from "./types-CwtTcaQP.js";
|
|
4
|
+
import { P as SiteBookingOfferingPresetSummary } from "./contracts-BXHCiF-b.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-BlaCuPLr.js";
|
|
6
|
+
import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-C3s9WMPs.js";
|
|
7
|
+
import { DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderSearchParams } from "./sdk/src/data/types.js";
|
|
8
|
+
import { RuntimeSdkConfig } from "./sdk/src/rendering/helpers/pageRuntimeSupport.js";
|
|
8
9
|
import * as React$2 from "react";
|
|
9
10
|
import React$1, { ReactElement } from "react";
|
|
10
11
|
|
|
11
|
-
//#region .cache/declarations/sdk/src/data/prefetchBlockData.d.ts
|
|
12
|
-
type ResolvedBlockData = Record<string, Record<string, unknown>>;
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region .cache/declarations/sdk/src/data/types.d.ts
|
|
15
|
-
type DataLoaderPreviewStage = 'published' | 'preview';
|
|
16
|
-
/** Values that are safe to pass through Riverbank's RSC/rendering boundary. */
|
|
17
|
-
type DataLoaderValue = string | number | boolean | null | readonly DataLoaderValue[] | {
|
|
18
|
-
readonly [key: string]: DataLoaderValue;
|
|
19
|
-
};
|
|
20
|
-
/** Immutable URL search parameters exposed to host loaders. */
|
|
21
|
-
type DataLoaderSearchParams = Readonly<Record<string, string | readonly string[] | undefined>>;
|
|
22
|
-
/**
|
|
23
|
-
* The content owner being rendered by a block data loader.
|
|
24
|
-
*
|
|
25
|
-
* Template targets carry both the template ID and the underlying content
|
|
26
|
-
* identity so callers never have to interpret nullable entry/surface fields.
|
|
27
|
-
*/
|
|
28
|
-
type DataLoaderRenderTarget = Readonly<{
|
|
29
|
-
kind: 'page';
|
|
30
|
-
pageId: string;
|
|
31
|
-
}> | Readonly<{
|
|
32
|
-
kind: 'entry-template';
|
|
33
|
-
templateId: string;
|
|
34
|
-
entryId: string;
|
|
35
|
-
entryType: string | null;
|
|
36
|
-
}> | Readonly<{
|
|
37
|
-
kind: 'page-surface-template';
|
|
38
|
-
templateId: string;
|
|
39
|
-
pageSurfaceId: string;
|
|
40
|
-
routeId: string;
|
|
41
|
-
subject: SdkRuntimePageSurfaceSubject;
|
|
42
|
-
}>;
|
|
43
|
-
/** Context supplied to each server-side host data loader. */
|
|
44
|
-
type DataLoaderContext = Readonly<{
|
|
45
|
-
siteId: string; /** Page ID for pages; template ID for template-backed content. */
|
|
46
|
-
pageId: string;
|
|
47
|
-
blockId: string;
|
|
48
|
-
blockKind: BlockKind; /** Stage-resolved block content used by the renderer. */
|
|
49
|
-
content: Readonly<Record<string, unknown>>;
|
|
50
|
-
previewStage: DataLoaderPreviewStage;
|
|
51
|
-
searchParams: DataLoaderSearchParams;
|
|
52
|
-
renderTarget: DataLoaderRenderTarget;
|
|
53
|
-
}>;
|
|
54
|
-
/**
|
|
55
|
-
* A host loader must return JSON-safe data. Parse untrusted network responses
|
|
56
|
-
* before returning them; runtime validation remains as a JavaScript/`any`
|
|
57
|
-
* boundary safeguard.
|
|
58
|
-
*/
|
|
59
|
-
type DataLoaderFn = (context: DataLoaderContext) => Promise<DataLoaderValue>;
|
|
60
|
-
type BlockLoaderMap = Readonly<Record<string, DataLoaderFn>>;
|
|
61
|
-
/** Registry keyed by full SDK block kind, for example `custom.products`. */
|
|
62
|
-
type DataLoaderOverrides = Readonly<Partial<Record<BlockKind, BlockLoaderMap>>>;
|
|
63
|
-
//#endregion
|
|
64
|
-
//#region .cache/declarations/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts
|
|
65
|
-
type RuntimeSdkConfig = NonNullable<SiteResponse['sdkConfig']>;
|
|
66
|
-
type SiteData = SiteResponse['site'];
|
|
67
|
-
type SiteRenderSupport = Readonly<{
|
|
68
|
-
theme: Theme | null;
|
|
69
|
-
site: SiteData;
|
|
70
|
-
sdkConfig: RuntimeSdkConfig | null;
|
|
71
|
-
bookingOfferingPresets: readonly SiteBookingOfferingPresetSummary[];
|
|
72
|
-
openingHours?: WeeklyOpeningHours | null;
|
|
73
|
-
siteTerms?: SiteRuntimeSiteTerms;
|
|
74
|
-
mailingList?: MailingListRuntimeContext;
|
|
75
|
-
interactionContext?: BlockInteractionContext;
|
|
76
|
-
businessLocationPermission?: BusinessLocationPermission;
|
|
77
|
-
businessAddressVisibility?: 'shown' | 'hidden';
|
|
78
|
-
bookingTimeZone: BookingTimeZone;
|
|
79
|
-
now: UtcIsoDateTimeString;
|
|
80
|
-
customBlocks?: SdkCustomBlock[];
|
|
81
|
-
supabaseUrl?: string;
|
|
82
|
-
routeMap?: RouteMap;
|
|
83
|
-
pagesByIdentifier?: Record<string, string>;
|
|
84
|
-
entriesByIdentifier?: Record<string, Record<string, string>>;
|
|
85
|
-
mediaAssets?: readonly MediaAssetIndexItem[];
|
|
86
|
-
}>;
|
|
87
|
-
/** Only already-permitted projections reach the block runtime. */
|
|
88
|
-
declare function siteLocationRenderContext(support: SiteRenderSupport): {
|
|
89
|
-
businessLocationPermission: BusinessLocationPermission | undefined;
|
|
90
|
-
businessAddressVisibility: "hidden" | "shown";
|
|
91
|
-
businessLocation: Readonly<{
|
|
92
|
-
drawing?: Readonly<{
|
|
93
|
-
schemaVersion: 2;
|
|
94
|
-
generatorVersion: 3;
|
|
95
|
-
buildId: string;
|
|
96
|
-
tileSchemaVersion: string;
|
|
97
|
-
frames: Readonly<{
|
|
98
|
-
neighbourhood: Readonly<{
|
|
99
|
-
radiusMeters: 400 | 1600;
|
|
100
|
-
viewBox: readonly [0, 0, 800, 800];
|
|
101
|
-
backgroundClass: "map-water";
|
|
102
|
-
paths: readonly (Readonly<{
|
|
103
|
-
kind: "polygon";
|
|
104
|
-
fillRule: "evenodd";
|
|
105
|
-
className: "map-building" | "map-land" | "map-park" | "map-water";
|
|
106
|
-
rings: readonly (readonly (readonly [number, number])[])[];
|
|
107
|
-
}> | Readonly<{
|
|
108
|
-
kind: "line";
|
|
109
|
-
className: "map-road-major" | "map-road-major-casing" | "map-road-minor" | "map-road-minor-casing" | "map-road-path";
|
|
110
|
-
points: readonly (readonly [number, number])[];
|
|
111
|
-
}>)[];
|
|
112
|
-
labels: readonly Readonly<{
|
|
113
|
-
className: "map-label";
|
|
114
|
-
haloClassName: "map-label-halo";
|
|
115
|
-
text: string;
|
|
116
|
-
point: readonly [number, number];
|
|
117
|
-
angle: number;
|
|
118
|
-
}>[];
|
|
119
|
-
pin: Readonly<{
|
|
120
|
-
className: "map-pin";
|
|
121
|
-
point: readonly [400, 400];
|
|
122
|
-
}>;
|
|
123
|
-
}>;
|
|
124
|
-
wider: Readonly<{
|
|
125
|
-
radiusMeters: 400 | 1600;
|
|
126
|
-
viewBox: readonly [0, 0, 800, 800];
|
|
127
|
-
backgroundClass: "map-water";
|
|
128
|
-
paths: readonly (Readonly<{
|
|
129
|
-
kind: "polygon";
|
|
130
|
-
fillRule: "evenodd";
|
|
131
|
-
className: "map-building" | "map-land" | "map-park" | "map-water";
|
|
132
|
-
rings: readonly (readonly (readonly [number, number])[])[];
|
|
133
|
-
}> | Readonly<{
|
|
134
|
-
kind: "line";
|
|
135
|
-
className: "map-road-major" | "map-road-major-casing" | "map-road-minor" | "map-road-minor-casing" | "map-road-path";
|
|
136
|
-
points: readonly (readonly [number, number])[];
|
|
137
|
-
}>)[];
|
|
138
|
-
labels: readonly Readonly<{
|
|
139
|
-
className: "map-label";
|
|
140
|
-
haloClassName: "map-label-halo";
|
|
141
|
-
text: string;
|
|
142
|
-
point: readonly [number, number];
|
|
143
|
-
angle: number;
|
|
144
|
-
}>[];
|
|
145
|
-
pin: Readonly<{
|
|
146
|
-
className: "map-pin";
|
|
147
|
-
point: readonly [400, 400];
|
|
148
|
-
}>;
|
|
149
|
-
}>;
|
|
150
|
-
}>;
|
|
151
|
-
}> | undefined;
|
|
152
|
-
address: Readonly<{
|
|
153
|
-
building: string | null;
|
|
154
|
-
unit: string | null;
|
|
155
|
-
floor: string | null;
|
|
156
|
-
street: string | null;
|
|
157
|
-
locality: string | null;
|
|
158
|
-
region: string | null;
|
|
159
|
-
postalCode: string | null;
|
|
160
|
-
country: string | null;
|
|
161
|
-
}> | null;
|
|
162
|
-
displayAddress: string | null;
|
|
163
|
-
pin: (Readonly<{
|
|
164
|
-
lat: number;
|
|
165
|
-
lng: number;
|
|
166
|
-
}> & import("zod").$brand<"LocationPin">) | null;
|
|
167
|
-
doorNote: string | null;
|
|
168
|
-
attribution: readonly Readonly<{
|
|
169
|
-
text: string;
|
|
170
|
-
url: string;
|
|
171
|
-
}>[];
|
|
172
|
-
}> | null;
|
|
173
|
-
venuesById: Record<string, Readonly<{
|
|
174
|
-
drawing?: Readonly<{
|
|
175
|
-
schemaVersion: 2;
|
|
176
|
-
generatorVersion: 3;
|
|
177
|
-
buildId: string;
|
|
178
|
-
tileSchemaVersion: string;
|
|
179
|
-
frames: Readonly<{
|
|
180
|
-
neighbourhood: Readonly<{
|
|
181
|
-
radiusMeters: 400 | 1600;
|
|
182
|
-
viewBox: readonly [0, 0, 800, 800];
|
|
183
|
-
backgroundClass: "map-water";
|
|
184
|
-
paths: readonly (Readonly<{
|
|
185
|
-
kind: "polygon";
|
|
186
|
-
fillRule: "evenodd";
|
|
187
|
-
className: "map-building" | "map-land" | "map-park" | "map-water";
|
|
188
|
-
rings: readonly (readonly (readonly [number, number])[])[];
|
|
189
|
-
}> | Readonly<{
|
|
190
|
-
kind: "line";
|
|
191
|
-
className: "map-road-major" | "map-road-major-casing" | "map-road-minor" | "map-road-minor-casing" | "map-road-path";
|
|
192
|
-
points: readonly (readonly [number, number])[];
|
|
193
|
-
}>)[];
|
|
194
|
-
labels: readonly Readonly<{
|
|
195
|
-
className: "map-label";
|
|
196
|
-
haloClassName: "map-label-halo";
|
|
197
|
-
text: string;
|
|
198
|
-
point: readonly [number, number];
|
|
199
|
-
angle: number;
|
|
200
|
-
}>[];
|
|
201
|
-
pin: Readonly<{
|
|
202
|
-
className: "map-pin";
|
|
203
|
-
point: readonly [400, 400];
|
|
204
|
-
}>;
|
|
205
|
-
}>;
|
|
206
|
-
wider: Readonly<{
|
|
207
|
-
radiusMeters: 400 | 1600;
|
|
208
|
-
viewBox: readonly [0, 0, 800, 800];
|
|
209
|
-
backgroundClass: "map-water";
|
|
210
|
-
paths: readonly (Readonly<{
|
|
211
|
-
kind: "polygon";
|
|
212
|
-
fillRule: "evenodd";
|
|
213
|
-
className: "map-building" | "map-land" | "map-park" | "map-water";
|
|
214
|
-
rings: readonly (readonly (readonly [number, number])[])[];
|
|
215
|
-
}> | Readonly<{
|
|
216
|
-
kind: "line";
|
|
217
|
-
className: "map-road-major" | "map-road-major-casing" | "map-road-minor" | "map-road-minor-casing" | "map-road-path";
|
|
218
|
-
points: readonly (readonly [number, number])[];
|
|
219
|
-
}>)[];
|
|
220
|
-
labels: readonly Readonly<{
|
|
221
|
-
className: "map-label";
|
|
222
|
-
haloClassName: "map-label-halo";
|
|
223
|
-
text: string;
|
|
224
|
-
point: readonly [number, number];
|
|
225
|
-
angle: number;
|
|
226
|
-
}>[];
|
|
227
|
-
pin: Readonly<{
|
|
228
|
-
className: "map-pin";
|
|
229
|
-
point: readonly [400, 400];
|
|
230
|
-
}>;
|
|
231
|
-
}>;
|
|
232
|
-
}>;
|
|
233
|
-
}> | undefined;
|
|
234
|
-
address: Readonly<{
|
|
235
|
-
building: string | null;
|
|
236
|
-
unit: string | null;
|
|
237
|
-
floor: string | null;
|
|
238
|
-
street: string | null;
|
|
239
|
-
locality: string | null;
|
|
240
|
-
region: string | null;
|
|
241
|
-
postalCode: string | null;
|
|
242
|
-
country: string | null;
|
|
243
|
-
}> | null;
|
|
244
|
-
displayAddress: string | null;
|
|
245
|
-
pin: (Readonly<{
|
|
246
|
-
lat: number;
|
|
247
|
-
lng: number;
|
|
248
|
-
}> & import("zod").$brand<"LocationPin">) | null;
|
|
249
|
-
doorNote: string | null;
|
|
250
|
-
attribution: readonly Readonly<{
|
|
251
|
-
text: string;
|
|
252
|
-
url: string;
|
|
253
|
-
}>[];
|
|
254
|
-
}>>;
|
|
255
|
-
siteCountry: string | null;
|
|
256
|
-
};
|
|
257
|
-
type SiteLocationRenderContext = ReturnType<typeof siteLocationRenderContext>;
|
|
258
|
-
//#endregion
|
|
259
12
|
//#region .cache/declarations/sdk/src/rendering/helpers/loadPage.d.ts
|
|
260
13
|
type LoadPageParams = {
|
|
261
14
|
client: RiverbankClient;
|
|
@@ -335,6 +88,7 @@ type LoadPageResult = Omit<Extract<PageProps, {
|
|
|
335
88
|
*/
|
|
336
89
|
sdkConfig: RuntimeSdkConfig | null;
|
|
337
90
|
};
|
|
91
|
+
type LoadPageDeps = ResolveBlockDataDeps;
|
|
338
92
|
/**
|
|
339
93
|
* Server-side helper to fetch all data needed for <Page> component.
|
|
340
94
|
*
|
|
@@ -393,6 +147,7 @@ type LoadPageResult = Omit<Extract<PageProps, {
|
|
|
393
147
|
* ```
|
|
394
148
|
*/
|
|
395
149
|
declare function loadPage(params: LoadPageParams): Promise<LoadPageResult>;
|
|
150
|
+
declare function loadPageWithDeps(deps: LoadPageDeps, params: LoadPageParams): Promise<LoadPageResult>;
|
|
396
151
|
//#endregion
|
|
397
152
|
//#region .cache/declarations/sdk/src/rendering/link.d.ts
|
|
398
153
|
type LinkResolveContext = LinkResolverContext;
|
|
@@ -485,7 +240,7 @@ type PageRendererDataContext = {
|
|
|
485
240
|
businessAddressVisibility?: 'shown' | 'hidden';
|
|
486
241
|
businessLocation?: PublicLocation | null;
|
|
487
242
|
siteCountry?: string | null;
|
|
488
|
-
venuesById?: Record<string,
|
|
243
|
+
venuesById?: Record<string, PublicVenueMapLocation>;
|
|
489
244
|
openingHours?: WeeklyOpeningHours | null;
|
|
490
245
|
siteId?: string;
|
|
491
246
|
demoEmailSuppressed?: boolean;
|
|
@@ -643,7 +398,7 @@ type PageCommonProps = {
|
|
|
643
398
|
businessAddressVisibility?: 'shown' | 'hidden';
|
|
644
399
|
businessLocation?: PublicLocation | null;
|
|
645
400
|
siteCountry?: string | null;
|
|
646
|
-
venuesById?: Record<string,
|
|
401
|
+
venuesById?: Record<string, PublicVenueMapLocation>; /** Mailing-list runtime projected for the placements on this page. */
|
|
647
402
|
openingHours?: PageRendererDataContext['openingHours'];
|
|
648
403
|
siteTerms?: PageRendererDataContext['siteTerms'];
|
|
649
404
|
mailingList?: MailingListRuntimeContext;
|
|
@@ -684,6 +439,13 @@ type OverrideOnlyPageProps = PageCommonProps & {
|
|
|
684
439
|
blockOverrides: BlockOverrides;
|
|
685
440
|
};
|
|
686
441
|
type PageProps = ThemedPageProps | OverrideOnlyPageProps;
|
|
442
|
+
type PageHydrationBootstrapConfig = {
|
|
443
|
+
siteId: string;
|
|
444
|
+
supabaseUrl?: string;
|
|
445
|
+
mediaAssets?: readonly MediaAssetIndexItem[];
|
|
446
|
+
};
|
|
447
|
+
declare function toPageHydrationBootstrapConfig(props: Pick<PageProps, 'siteId' | 'supabaseUrl' | 'mediaAssets'>): PageHydrationBootstrapConfig;
|
|
448
|
+
declare function PageContent(props: PageProps): ReactElement;
|
|
687
449
|
//#endregion
|
|
688
450
|
//#region .cache/declarations/sdk/src/rendering/components/Page.d.ts
|
|
689
451
|
/**
|
|
@@ -733,4 +495,4 @@ type PageProps = ThemedPageProps | OverrideOnlyPageProps;
|
|
|
733
495
|
*/
|
|
734
496
|
declare function Page(props: PageProps): import("react").JSX.Element;
|
|
735
497
|
//#endregion
|
|
736
|
-
export {
|
|
498
|
+
export { BlockOverrides as A, defineBlockOverrides as B, BlocksMediaAssetIndexItem as C, BlockOverrideProps as D, BlockOverrideComponent as E, LazyBlockOverrideRegistration as F, LoadPageParams as G, LinkResolveContext as H, StrictBlockOverrideRegistrations as I, loadPageWithDeps as J, LoadPageResult as K, StrictBlockOverrides as L, KnownBlockOverrideKey as M, KnownSystemBlockOverrides as N, BlockOverrideRegistration as O, LazyBlockOverrideFactory as P, SystemBlockOverrideKey as R, BlocksImageResolveContextInput as S, toBlocksMediaAssets as T, resolveLinkHref as U, defineLazyBlockOverride as V, LoadPageDeps as W, PageRendererDataContext as _, toPageHydrationBootstrapConfig as a, SdkConfigForRenderer as b, SdkRenderingMode as c, BlocksPageRendererDataContext as d, ComponentRegistry as f, PageRenderer as g, MissingBlockOverrideError as h, PageProps as i, CustomBlockOverrideKey as j, BlockOverrideRegistrations as k, SdkThemeResponsiveMode as l, EditorPageRendererProps as m, PageContent as n, SdkOverrideOnlyRendering as o, EditorPageRenderer as p, loadPage as q, PageHydrationBootstrapConfig as r, SdkOverrideOnlyRuntime as s, Page as t, SdkThemeRuntime as u, PageRendererProps as v, toBlocksImageResolveContextInput as w, toBlocksPageRendererDataContext as x, RenderablePageOutline as y, defineBlockOverrideRegistrations as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ThemeJournalState, E as SurfaceId, O as ThemeSelectionPreviewProps, S as ApiClient,
|
|
2
|
-
import {
|
|
1
|
+
import { D as ThemeJournalState, E as SurfaceId, O as ThemeSelectionPreviewProps, S as ApiClient, _ as SdkEditorRevision, l as ContentTypeSchema, n as PreviewRenderingOverride, t as PreviewPageAdaptationFacts, u as SdkSiteLayoutConfig } from "./index-ChpjHK0U.js";
|
|
2
|
+
import { Ai as ThemeResponsiveMode, B as EditorRenderablePageOutline, Ba as EditorBlockVersions, F as SdkConfigForBlockPicker, I as EntrySubrouteContextData, Ia as EditLeaseScope, Yt as BookingOfferingPresetSummary, Zt as BlockApiProvider, dt as MediaAssetIndexItem, ii as Theme, ki as ThemeRuntime, lo as BookingTimeZone, y as HeaderLogoContext } from "./index-RugyUnqR.js";
|
|
3
3
|
import { t as PreviewRuntimeSession } from "./auth-contract-CgJ5nMaH.js";
|
|
4
4
|
import { ZodTypeAny, z as z$1 } from "zod";
|
|
5
5
|
import React$1, { CSSProperties, ComponentProps, ComponentType, ReactElement, ReactNode } from "react";
|
|
@@ -246,6 +246,28 @@ declare function PreviewQueryProvider({
|
|
|
246
246
|
children: ReactNode;
|
|
247
247
|
}): React$1.JSX.Element;
|
|
248
248
|
//#endregion
|
|
249
|
+
//#region .cache/declarations/preview-next/src/client/preview/assistant/previewAssistantSlot.d.ts
|
|
250
|
+
type SidebarBack = Readonly<{
|
|
251
|
+
label: string;
|
|
252
|
+
onBack: () => void;
|
|
253
|
+
}>;
|
|
254
|
+
/**
|
|
255
|
+
* The assistant's parts of the preview, supplied by hosts that offer it. Hosted sites do;
|
|
256
|
+
* SDK sites don't, since much of what's on their pages is their own code the assistant
|
|
257
|
+
* can't see or change. This module stays free of assistant-ui so the SDK never bundles it.
|
|
258
|
+
*/
|
|
259
|
+
type PreviewAssistantSlot = Readonly<{
|
|
260
|
+
Provider: ComponentType<Readonly<{
|
|
261
|
+
surfaceId: SurfaceId;
|
|
262
|
+
children: ReactNode;
|
|
263
|
+
}>>;
|
|
264
|
+
AskButton: ComponentType;
|
|
265
|
+
View: ComponentType;
|
|
266
|
+
Header: ComponentType<Readonly<{
|
|
267
|
+
back: SidebarBack;
|
|
268
|
+
}>>;
|
|
269
|
+
}>;
|
|
270
|
+
//#endregion
|
|
249
271
|
//#region .cache/declarations/preview-next/src/client/preview/PreviewShell.d.ts
|
|
250
272
|
type BaseFetch = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
|
251
273
|
type PreviewDesignEditorEligibility = Readonly<{
|
|
@@ -270,7 +292,8 @@ type PreviewShellCommonProps = Omit<ThemeSelectionPreviewProps, 'themeSelectionJ
|
|
|
270
292
|
pageNodeType?: 'page' | 'page_surface';
|
|
271
293
|
subscribeToLeaseChanges?: EditLeaseChangeSubscription;
|
|
272
294
|
subscribeToAdmissionChanges?: (listener: () => void) => () => void; /** Live drafts between tabs; the host supplies a Supabase client dedicated to the preview token. */
|
|
273
|
-
liveDrafts?: PreviewLiveDrafts | null;
|
|
295
|
+
liveDrafts?: PreviewLiveDrafts | null; /** Hosted sites offer the assistant; SDK sites leave this out, so the SDK never bundles it. */
|
|
296
|
+
assistant?: PreviewAssistantSlot | null;
|
|
274
297
|
previewSession: PreviewRuntimeSession | null;
|
|
275
298
|
previewToken: string;
|
|
276
299
|
dashboardBaseUrl?: string | null;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $t as BoundBlockApiClient, Ar as DirectCheckoutCollectionOptionKind, At as FormData, Bo as SiteId, Bt as PortalProfile, Ct as PaymentStepState, Dr as PaymentMethod, Dt as RegistrationStep, Er as EventRegistrationPaymentSubject, Et as RegistrationResult, Fo as AppointmentServiceId, Fr as CurrencyCode, Ft as EventRegistrationDirectPaymentOption, Gt as OccurrenceContext, Ht as ExistingRegistrationLookupState, It as EventRegistrationDirectPaymentSelectionState, Jr as BlockButtonRole, Lt as EventRegistrationSiteCreditPreview, Mo as PositiveCents, Mt as RegistrationAdmission, Nr as EventRegistrationPricingOption, Nt as RegistrationTicketContinuation, Or as BlockApiConfig, Ot as RegistrationSubject, Po as AppointmentResourceId, Pr as EventRegistrationErrorAction, Pt as TicketSelectionPurpose, Ro as FormId, Rt as PortalAuthState, St as PaymentStatusRecoveryState, Tt as RegistrationEvent, Vt as EligibilityLookupState, Wn as CustomerEventRegistration, Wr as PublicEvent, Wt as BookingPaymentSelectionViewModel, Xo as Brand, Xt as EventSourceRecovery, _t as EventRegistrationClientProps, an as getBookingServiceSlidingScale, ar as BookingAppointmentSummary, bt as GuestErrors, cn as BookingFormField$1, co as ZoneLabel, cr as ProtectedSubmission, do as AppointmentBookingReview, en as BookingFormConfig$1, er as AutoAppliedDiscountPreview, fr as BlockSiteTerms, gr as EventBookingOutcome, gt as EventPaymentState, ht as EligibilityData, in as BookingSelectedCollectionOptionKind, jo as NonNegativeCents, jt as RegistrationPresentation, kr as BrowserReadAuthority, kt as ThemedButtonProps, la as MailingListRuntimeContext, mt as SelectableEventTicketType, nn as BookingFormService, nr as ResolveWaitlistClaimResponse, oa as BookingMailingListNote, on as BookingFormServiceCategory, or as BookingPaymentChoices, pr as EventRegistrationPageSurfaceSubject, pt as BookingFormInteractiveIslandProps, rn as BookingPaymentStepResolution, sn as BookingFormServicesSource, so as DisplayContext, sr as EligibleAppointmentPackage, tn as BookingFormData$1, tr as DiscountContext, uo as UtcIsoDateTimeString, vt as EventTicketSelectionLine, wt as RegistrationAttendanceMode, xr as EventEmbeddedCheckout, xt as PaymentSelection, yr as EventCheckoutReturnRequest, yt as Guest, zt as PortalCreditState } from "./index-RugyUnqR.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import React, { ReactNode } from "react";
|
|
4
4
|
|
|
5
|
+
//#region .cache/declarations/core/src/branded/entitlements.d.ts
|
|
6
|
+
type PassId = Brand<string, 'PassId'>;
|
|
7
|
+
type CustomerPassId = Brand<string, 'CustomerPassId'>;
|
|
8
|
+
//#endregion
|
|
5
9
|
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.client.d.ts
|
|
6
10
|
type Service$1 = BookingFormService;
|
|
7
11
|
type FormConfig = BookingFormConfig$1;
|
|
@@ -994,6 +998,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
994
998
|
outcome: {
|
|
995
999
|
kind: "resolved";
|
|
996
1000
|
outcome: {
|
|
1001
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
997
1002
|
kind: "detailsAvailable";
|
|
998
1003
|
identity: {
|
|
999
1004
|
submissionId: string;
|
|
@@ -1070,6 +1075,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1070
1075
|
};
|
|
1071
1076
|
};
|
|
1072
1077
|
} | {
|
|
1078
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1073
1079
|
kind: "detailsUnavailable";
|
|
1074
1080
|
identity: {
|
|
1075
1081
|
submissionId: string;
|
|
@@ -1147,6 +1153,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1147
1153
|
outcome: {
|
|
1148
1154
|
kind: "resolved";
|
|
1149
1155
|
outcome: {
|
|
1156
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1150
1157
|
kind: "detailsAvailable";
|
|
1151
1158
|
identity: {
|
|
1152
1159
|
submissionId: string;
|
|
@@ -1223,6 +1230,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1223
1230
|
};
|
|
1224
1231
|
};
|
|
1225
1232
|
} | {
|
|
1233
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1226
1234
|
kind: "detailsUnavailable";
|
|
1227
1235
|
identity: {
|
|
1228
1236
|
submissionId: string;
|
|
@@ -1484,6 +1492,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1484
1492
|
outcome: {
|
|
1485
1493
|
kind: "resolved";
|
|
1486
1494
|
outcome: {
|
|
1495
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1487
1496
|
kind: "detailsAvailable";
|
|
1488
1497
|
identity: {
|
|
1489
1498
|
submissionId: string;
|
|
@@ -1560,6 +1569,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1560
1569
|
};
|
|
1561
1570
|
};
|
|
1562
1571
|
} | {
|
|
1572
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1563
1573
|
kind: "detailsUnavailable";
|
|
1564
1574
|
identity: {
|
|
1565
1575
|
submissionId: string;
|
|
@@ -1637,6 +1647,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1637
1647
|
outcome: {
|
|
1638
1648
|
kind: "resolved";
|
|
1639
1649
|
outcome: {
|
|
1650
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1640
1651
|
kind: "detailsAvailable";
|
|
1641
1652
|
identity: {
|
|
1642
1653
|
submissionId: string;
|
|
@@ -1713,6 +1724,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1713
1724
|
};
|
|
1714
1725
|
};
|
|
1715
1726
|
} | {
|
|
1727
|
+
arrivalVenues?: Record<string, string> | undefined;
|
|
1716
1728
|
kind: "detailsUnavailable";
|
|
1717
1729
|
identity: {
|
|
1718
1730
|
submissionId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as NavigationConfigItemInput, h as NavigationAuthoringLinkInput } from "./index-
|
|
2
|
-
import { u as BindingTransformName } from "./index-
|
|
1
|
+
import { g as NavigationConfigItemInput, h as NavigationAuthoringLinkInput } from "./index-ChpjHK0U.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-D7EbliE3.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
5
5
|
/**
|
|
@@ -19,7 +19,7 @@ type BlockKind = SystemBlockKind | CustomBlockKind;
|
|
|
19
19
|
//#region .cache/declarations/sdk/src/config/field-definitions.d.ts
|
|
20
20
|
type VisibilityLevel = 'admin' | 'designer' | 'author';
|
|
21
21
|
type ReferenceValueFrom = 'id' | 'identifier' | 'slug';
|
|
22
|
-
declare const SDK_ICON_PICKER_PRESETS: readonly [
|
|
22
|
+
declare const SDK_ICON_PICKER_PRESETS: readonly ["cta", "feature"];
|
|
23
23
|
type SdkIconPickerPreset = (typeof SDK_ICON_PICKER_PRESETS)[number];
|
|
24
24
|
type MediaDeliveryOptions = {
|
|
25
25
|
sizes?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import {
|
|
3
|
-
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-
|
|
4
|
-
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { C as SiteRuntimeSiteTerms, T as RoutableContentItem$1, a as SdkRuntimePageSurfaceSubject$1, b as PublicBookingServicesResponse$1, c as SiteRuntimeSelectionPayload, d as SdkBlockContentAdmission, f as ResolveEventSubrouteQuery, i as SdkRuntimePageSurface$1, m as PublicPassesResponse$1, o as SiteBookingOfferingPresetSummary$1, p as ResolveEventSubrouteResponse$1, r as SdkLocationMapSupport, s as SiteRuntimeIdentity, v as SdkRuntimeEntry$1, w as ApiErrorCode$1, x as PublicServiceCategorySummary$1, y as PublicBookingServiceCatalogueItem$1 } from "./index-ChpjHK0U.js";
|
|
2
|
+
import { Ha as BusinessAddress, Li as PublicVenueMapLocation, Ma as WeeklyOpeningHours, Ua as BusinessLocationPermission, Wr as PublicEvent, Zo as BlockInteractionContext, ai as FooterMode, gi as Media, h as PageRuntimeJoin, la as MailingListRuntimeContext, lo as BookingTimeZone, ni as ResolvedInternalLinkEntityType, qa as PublicLocation, qi as MapDrawing } from "./index-RugyUnqR.js";
|
|
3
|
+
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-D7EbliE3.js";
|
|
4
|
+
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-CwtTcaQP.js";
|
|
5
5
|
|
|
6
6
|
//#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
|
|
7
7
|
type PublicTeamMemberSummary = {
|
|
@@ -241,6 +241,9 @@ type SitePrivacyPolicyCapabilities = {
|
|
|
241
241
|
usesCustomerPortal: boolean;
|
|
242
242
|
usesPayments: boolean;
|
|
243
243
|
usesSensitiveClientRecords: boolean;
|
|
244
|
+
usesGoogleCalendar: boolean;
|
|
245
|
+
usesMailchimp: boolean;
|
|
246
|
+
usesBrevo: boolean;
|
|
244
247
|
};
|
|
245
248
|
type SitePrivacyPolicySection = {
|
|
246
249
|
id: string;
|
|
@@ -335,7 +338,7 @@ type SiteResponse = SiteRuntimeSelectionPayload & {
|
|
|
335
338
|
businessAddress?: BusinessAddress | null;
|
|
336
339
|
businessLocationPermission?: BusinessLocationPermission;
|
|
337
340
|
businessLocation?: PublicLocation | null;
|
|
338
|
-
venuesById?: Record<string,
|
|
341
|
+
venuesById?: Record<string, PublicVenueMapLocation>;
|
|
339
342
|
};
|
|
340
343
|
favicon?: {
|
|
341
344
|
assetId: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { z as BlockKind } from "./content-types-
|
|
3
|
-
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-
|
|
4
|
-
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import {
|
|
1
|
+
import { ii as Theme, kr as BrowserReadAuthority } from "./index-RugyUnqR.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-CAeP_-cV.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-D7EbliE3.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-BXHCiF-b.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-BlaCuPLr.js";
|
|
6
|
+
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline } from "./Page-Bs3WxFgr.js";
|
|
7
7
|
import { buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildMenu } from "./sdk/src/navigation/index.js";
|
|
8
8
|
//#region .cache/declarations/sdk/src/rendering/components/Layout.d.ts
|
|
9
9
|
type CustomHeaderData = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as SiteResponse } from "./contracts-
|
|
2
|
-
import {
|
|
1
|
+
import { I as SiteResponse } from "./contracts-BXHCiF-b.js";
|
|
2
|
+
import { K as LoadPageResult } from "./Page-Bs3WxFgr.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as SiteResponse, d as NavigationItemRecord, o as EntriesResponse, p as PageResponse } from "./contracts-
|
|
2
|
-
import { _ as RiverbankClient } from "./types-
|
|
1
|
+
import { I as SiteResponse, d as NavigationItemRecord, o as EntriesResponse, p as PageResponse } from "./contracts-BXHCiF-b.js";
|
|
2
|
+
import { _ as RiverbankClient } from "./types-BlaCuPLr.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/types.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-
|
|
1
|
+
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-DtUCsaHY.js";
|
|
2
2
|
import React, { ComponentProps, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/preview-next/client/index.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as ReferenceFieldDefinition, C as GroupFieldDefinition, D as ModalFieldDefinition, E as MediaFieldDefinition, F as TabGroupFieldDefinition, I as TextFieldDefinition, L as TimeFieldDefinition, M as RichTextFieldDefinition, N as SelectFieldDefinition, O as NumberFieldDefinition, P as SlugFieldDefinition, R as UrlFieldDefinition, S as FileFieldDefinition, T as LinkFieldDefinition, _ as ContentTypeSelectFieldDefinition, a as EntryConfig, b as EntryPickerFieldDefinition, f as TemplateBindingMetaPath, g as BooleanFieldDefinition, i as ContentTypeConfig, j as RepeaterFieldDefinition, k as PresetOrCustomFieldDefinition, r as ContentConfig, t as BindingSource, v as DateFieldDefinition, w as InlineTextFieldDefinition, x as FieldDefinition, y as DateTimeFieldDefinition } from "./content-types-
|
|
3
|
-
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-
|
|
4
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { gi as Media, io as RichTextDoc, oo as TipTapNode } from "./index-RugyUnqR.js";
|
|
2
|
+
import { A as ReferenceFieldDefinition, C as GroupFieldDefinition, D as ModalFieldDefinition, E as MediaFieldDefinition, F as TabGroupFieldDefinition, I as TextFieldDefinition, L as TimeFieldDefinition, M as RichTextFieldDefinition, N as SelectFieldDefinition, O as NumberFieldDefinition, P as SlugFieldDefinition, R as UrlFieldDefinition, S as FileFieldDefinition, T as LinkFieldDefinition, _ as ContentTypeSelectFieldDefinition, a as EntryConfig, b as EntryPickerFieldDefinition, f as TemplateBindingMetaPath, g as BooleanFieldDefinition, i as ContentTypeConfig, j as RepeaterFieldDefinition, k as PresetOrCustomFieldDefinition, r as ContentConfig, t as BindingSource, v as DateFieldDefinition, w as InlineTextFieldDefinition, x as FieldDefinition, y as DateTimeFieldDefinition } from "./content-types-CAeP_-cV.js";
|
|
3
|
+
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-D7EbliE3.js";
|
|
4
|
+
import { u as RiverbankSiteConfig } from "./types-CwtTcaQP.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/bindings.d.ts
|