@riverbankcms/sdk 0.159.0 → 0.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +13 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +10 -28
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
package/README.md
CHANGED
|
@@ -2119,9 +2119,7 @@ export default defineConfig({
|
|
|
2119
2119
|
category: 'content',
|
|
2120
2120
|
icon: 'User',
|
|
2121
2121
|
tags: ['team', 'about'],
|
|
2122
|
-
|
|
2123
|
-
quickFieldPriority: ['name', 'role'],
|
|
2124
|
-
},
|
|
2122
|
+
promotedFields: ['name', 'role'],
|
|
2125
2123
|
fields: [
|
|
2126
2124
|
{ id: 'name', type: 'text', label: 'Name', required: true, multiline: false },
|
|
2127
2125
|
{ id: 'role', type: 'text', label: 'Role', required: false, multiline: false },
|
|
@@ -2133,7 +2131,9 @@ export default defineConfig({
|
|
|
2133
2131
|
});
|
|
2134
2132
|
```
|
|
2135
2133
|
|
|
2136
|
-
`
|
|
2134
|
+
`promotedFields` is optional. Promoted behaviour/data fields appear in “What it shows”, promoted appearance fields in “Look”, and content fields stay in “Text”. Remaining fields appear in “More settings”; there is no quick-field cap.
|
|
2135
|
+
|
|
2136
|
+
A custom block or built-in block extension can also declare `lookField` with the ID of one of its own existing single-select fields. Its options become labelled Look tiles. This remains an ordinary content field on every editing surface, including the dashboard; it does not use built-in Default or pin behaviour.
|
|
2137
2137
|
|
|
2138
2138
|
2. **Create your component** to render the block:
|
|
2139
2139
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { b as SiteRuntimeSiteTerms } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { A as BlockLoaderFailures, Aa as UtcIsoDateTimeString, E as ThemeResponsiveMode, F as RenderablePageOutline$1, Ka as EventPageSurfaceSubjectWire, M as PrefetchedBlockData, Mi as MailingListRuntimeContext, et as LinkResolverContext, j as BlockLoaderSnapshot, ja as BookingTimeZone, ma as PublicLocation, qn as BlockSiteTerms, rt as PageTemplate, s as RenderableMediaAsset, t as Theme, ta as WeeklyOpeningHours, tt as DateRuntimeContext, ua as BusinessLocationPermission, ur as BrowserReadAuthority } from "./schema-BHu0PYWl.js";
|
|
3
|
+
import { z as BlockKind } from "./content-types-BgAzCrBc.js";
|
|
4
|
+
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-CSsfq6KG.js";
|
|
5
|
+
import { t as ThemeRuntime } from "./index-BQDBQvdu.js";
|
|
6
|
+
import { d as SdkCustomBlock } from "./types-CJXTCF_F.js";
|
|
7
|
+
import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject, P as SiteBookingOfferingPresetSummary } from "./contracts-DUiOnj9e.js";
|
|
8
|
+
import { _ as RiverbankClient } from "./types-D02ngcUH.js";
|
|
7
9
|
import * as React$2 from "react";
|
|
8
10
|
import React$1, { ReactElement } from "react";
|
|
9
11
|
|
|
@@ -62,6 +64,197 @@ type DataLoaderOverrides = Readonly<Partial<Record<BlockKind, BlockLoaderMap>>>;
|
|
|
62
64
|
//#endregion
|
|
63
65
|
//#region .cache/declarations/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts
|
|
64
66
|
type RuntimeSdkConfig = NonNullable<SiteResponse['sdkConfig']>;
|
|
67
|
+
type SiteData = SiteResponse['site'];
|
|
68
|
+
type SiteRenderSupport = Readonly<{
|
|
69
|
+
theme: Theme | null;
|
|
70
|
+
site: SiteData;
|
|
71
|
+
sdkConfig: RuntimeSdkConfig | null;
|
|
72
|
+
bookingOfferingPresets: readonly SiteBookingOfferingPresetSummary[];
|
|
73
|
+
openingHours?: WeeklyOpeningHours | null;
|
|
74
|
+
siteTerms?: SiteRuntimeSiteTerms;
|
|
75
|
+
mailingList?: MailingListRuntimeContext;
|
|
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>;
|
|
65
258
|
//#endregion
|
|
66
259
|
//#region .cache/declarations/sdk/src/rendering/helpers/loadPage.d.ts
|
|
67
260
|
type LoadPageParams = {
|
|
@@ -288,6 +481,11 @@ type MissingBlockOverrideErrorConstructor = Readonly<{
|
|
|
288
481
|
}>;
|
|
289
482
|
declare const MissingBlockOverrideError: MissingBlockOverrideErrorConstructor;
|
|
290
483
|
type PageRendererDataContext = {
|
|
484
|
+
/** Source permission is decided before a business map is prepared. */businessLocationPermission?: BusinessLocationPermission;
|
|
485
|
+
businessAddressVisibility?: 'shown' | 'hidden';
|
|
486
|
+
businessLocation?: PublicLocation | null;
|
|
487
|
+
siteCountry?: string | null;
|
|
488
|
+
venuesById?: Record<string, PublicLocation>;
|
|
291
489
|
openingHours?: WeeklyOpeningHours | null;
|
|
292
490
|
siteId?: string;
|
|
293
491
|
demoEmailSuppressed?: boolean;
|
|
@@ -296,6 +494,8 @@ type PageRendererDataContext = {
|
|
|
296
494
|
pathname?: string;
|
|
297
495
|
resolvedData?: Record<string, Record<string, unknown>>;
|
|
298
496
|
loaderFailures?: BlockLoaderFailures;
|
|
497
|
+
prefetchedBlockData?: PrefetchedBlockData;
|
|
498
|
+
loaderSnapshot?: BlockLoaderSnapshot;
|
|
299
499
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
300
500
|
siteTerms?: BlockSiteTerms;
|
|
301
501
|
mailingList?: MailingListRuntimeContext;
|
|
@@ -308,6 +508,7 @@ type PageRendererDataContext = {
|
|
|
308
508
|
entriesByIdentifier?: Record<string, Record<string, string>>;
|
|
309
509
|
occurrenceContext?: OccurrenceContextData | null;
|
|
310
510
|
entrySubrouteContext?: EntrySubrouteContextData | null;
|
|
511
|
+
template?: PageTemplate;
|
|
311
512
|
contentEntry?: Record<string, unknown> | null;
|
|
312
513
|
pageSurface?: Record<string, unknown> | null;
|
|
313
514
|
subject?: EventPageSurfaceSubjectWire | null;
|
|
@@ -435,7 +636,12 @@ type PageCommonProps = {
|
|
|
435
636
|
now: string;
|
|
436
637
|
readAuthority?: BrowserReadAuthority;
|
|
437
638
|
demoEmailSuppressed?: boolean;
|
|
438
|
-
siteName?: string;
|
|
639
|
+
siteName?: string;
|
|
640
|
+
businessLocationPermission?: BusinessLocationPermission;
|
|
641
|
+
businessAddressVisibility?: 'shown' | 'hidden';
|
|
642
|
+
businessLocation?: PublicLocation | null;
|
|
643
|
+
siteCountry?: string | null;
|
|
644
|
+
venuesById?: Record<string, PublicLocation>; /** Mailing-list runtime projected for the placements on this page. */
|
|
439
645
|
openingHours?: PageRendererDataContext['openingHours'];
|
|
440
646
|
siteTerms?: PageRendererDataContext['siteTerms'];
|
|
441
647
|
mailingList?: MailingListRuntimeContext; /** Occurrence context for event pages (from URL like /events/yoga/2025-01-15) */
|
|
@@ -445,6 +651,9 @@ type PageCommonProps = {
|
|
|
445
651
|
pageSurface?: Record<string, unknown> | null; /** Subject descriptor for native page-surface templates */
|
|
446
652
|
subject?: EventPageSurfaceSubjectWire | null; /** Editable route metadata keys for template-page inline editing */
|
|
447
653
|
editableRouteMetadataFieldIds?: ReadonlyArray<string> | null; /** Preview stage: 'preview' for draft content, 'published' for live content */
|
|
654
|
+
prefetchedBlockData?: PageRendererDataContext['prefetchedBlockData'];
|
|
655
|
+
loaderSnapshot?: PageRendererDataContext['loaderSnapshot'];
|
|
656
|
+
loaderFailures?: PageRendererDataContext['loaderFailures'];
|
|
448
657
|
previewStage: 'preview' | 'published'; /** Canonical request pathname used by blocks when resolving same-site destinations. */
|
|
449
658
|
pathname?: string;
|
|
450
659
|
};
|
|
@@ -521,4 +730,4 @@ type PageProps = ThemedPageProps | OverrideOnlyPageProps;
|
|
|
521
730
|
*/
|
|
522
731
|
declare function Page(props: PageProps): import("react").JSX.Element;
|
|
523
732
|
//#endregion
|
|
524
|
-
export {
|
|
733
|
+
export { DataLoaderValue as $, KnownSystemBlockOverrides as A, resolveLinkHref as B, BlockOverrideComponent as C, BlockOverrides as D, BlockOverrideRegistrations as E, SystemBlockOverrideKey as F, SiteLocationRenderContext as G, LoadPageResult as H, defineBlockOverrideRegistrations as I, DataLoaderFn as J, BlockLoaderMap as K, defineBlockOverrides as L, LazyBlockOverrideRegistration as M, StrictBlockOverrideRegistrations as N, CustomBlockOverrideKey as O, StrictBlockOverrides as P, DataLoaderSearchParams as Q, defineLazyBlockOverride as R, toBlocksMediaAssets as S, BlockOverrideRegistration as T, loadPage as U, LoadPageParams as V, RuntimeSdkConfig as W, DataLoaderPreviewStage as X, DataLoaderOverrides as Y, DataLoaderRenderTarget as Z, SdkConfigForRenderer as _, SdkRenderingMode as a, BlocksMediaAssetIndexItem as b, BlocksPageRendererDataContext as c, EditorPageRendererProps as d, ResolvedBlockData as et, MissingBlockOverrideError as f, RenderablePageOutline as g, PageRendererProps as h, SdkOverrideOnlyRuntime as i, LazyBlockOverrideFactory as j, KnownBlockOverrideKey as k, ComponentRegistry as l, PageRendererDataContext as m, PageProps as n, SdkThemeResponsiveMode as o, PageRenderer as p, DataLoaderContext as q, SdkOverrideOnlyRendering as r, SdkThemeRuntime as s, Page as t, EditorPageRenderer as u, toBlocksPageRendererDataContext as v, BlockOverrideProps as w, toBlocksImageResolveContextInput as x, BlocksImageResolveContextInput as y, LinkResolveContext as z };
|
|
@@ -1,54 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
1
|
+
import { C as SurfaceId, S as ApiClient, c as SdkSiteLayoutConfig, s as ContentTypeSchema, v as SdkEditorRevision } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { E as ThemeResponsiveMode, Hr as HeaderLayoutStyleSelection, Jr as ButtonStyleSelectionRepair, Mr as HeaderPreferences, N as EditorRenderablePageOutline, O as SdkConfigForBlockPicker, Pr as FooterPreferences, Ur as HeaderLogoContext, Vt as BlockApiProvider, Yr as FooterLookId, aa as EditLeaseScope, ca as EditorBlockVersions, ja as BookingTimeZone, k as EntrySubrouteContextData, nt as MediaAssetIndexItem, qr as ButtonStyleSelection, t as Theme, zt as BookingOfferingPresetSummary } from "./schema-BHu0PYWl.js";
|
|
3
|
+
import { t as ThemeRuntime } from "./index-BQDBQvdu.js";
|
|
4
|
+
import { t as PreviewRuntimeSession } from "./auth-contract-CgJ5nMaH.js";
|
|
4
5
|
import { ZodTypeAny, z as z$1 } from "zod";
|
|
5
6
|
import React$1, { CSSProperties, ComponentProps, ComponentType, ReactElement, ReactNode } from "react";
|
|
6
7
|
import { QueryClient } from "@tanstack/react-query";
|
|
7
8
|
|
|
8
|
-
//#region .cache/declarations/blocks/src/client/site-chrome.d.ts
|
|
9
|
-
type SiteChromeThemeConfigOverride = Readonly<{
|
|
10
|
-
header?: Partial<NonNullable<Theme['header']>>;
|
|
11
|
-
footer?: Partial<NonNullable<Theme['footer']>>;
|
|
12
|
-
}>;
|
|
13
|
-
type SiteChromeBlockRenderSpec = Readonly<{
|
|
14
|
-
content: Record<string, unknown>;
|
|
15
|
-
viewModelOverrides: Record<string, unknown>;
|
|
16
|
-
themeConfigOverride?: SiteChromeThemeConfigOverride;
|
|
17
|
-
canRenderReactively?: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
type SiteChromeRenderModel = Readonly<{
|
|
20
|
-
header: SiteChromeBlockRenderSpec | null;
|
|
21
|
-
footer: SiteChromeBlockRenderSpec;
|
|
22
|
-
}>;
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region .cache/declarations/preview-next/src/client/layout/PreviewLayoutContext.d.ts
|
|
25
|
-
type PreviewLayoutContextValue = Readonly<{
|
|
26
|
-
headerNode: ReactNode;
|
|
27
|
-
bannerNode?: ReactNode;
|
|
28
|
-
footerNode: ReactNode;
|
|
29
|
-
siteChromeRenderModel?: SiteChromeRenderModel | null;
|
|
30
|
-
}> | null;
|
|
31
|
-
declare function PreviewLayoutProvider({
|
|
32
|
-
headerNode,
|
|
33
|
-
bannerNode,
|
|
34
|
-
footerNode,
|
|
35
|
-
siteChromeRenderModel,
|
|
36
|
-
children
|
|
37
|
-
}: {
|
|
38
|
-
headerNode: ReactNode;
|
|
39
|
-
bannerNode?: ReactNode;
|
|
40
|
-
footerNode: ReactNode;
|
|
41
|
-
siteChromeRenderModel?: SiteChromeRenderModel | null;
|
|
42
|
-
children: ReactNode;
|
|
43
|
-
}): import("react").JSX.Element;
|
|
44
|
-
declare function usePreviewLayout(): Readonly<{
|
|
45
|
-
headerNode: ReactNode;
|
|
46
|
-
bannerNode?: ReactNode;
|
|
47
|
-
footerNode: ReactNode;
|
|
48
|
-
siteChromeRenderModel?: SiteChromeRenderModel | null;
|
|
49
|
-
}>;
|
|
50
|
-
declare function useOptionalPreviewLayout(): PreviewLayoutContextValue;
|
|
51
|
-
//#endregion
|
|
52
9
|
//#region .cache/declarations/editor-blocks/src/block-editor/types.d.ts
|
|
53
10
|
type BlockItemFields = {
|
|
54
11
|
id?: string | null;
|
|
@@ -87,9 +44,6 @@ type BlockFieldExtensions = Readonly<Record<string, {
|
|
|
87
44
|
}>;
|
|
88
45
|
}>>;
|
|
89
46
|
//#endregion
|
|
90
|
-
//#region .cache/declarations/content-editor/src/ui/stores/types.d.ts
|
|
91
|
-
type ZoomLevel = 33 | 50 | 75 | 100 | 'fit';
|
|
92
|
-
//#endregion
|
|
93
47
|
//#region .cache/declarations/content-editor/src/hooks/useEditLease.d.ts
|
|
94
48
|
type LeaseParams = Readonly<{
|
|
95
49
|
siteId: string;
|
|
@@ -141,9 +95,56 @@ type DraftSendResult = 'ok' | 'timed out' | 'error';
|
|
|
141
95
|
/** The structural slice of a Supabase client the drafts channel needs. */
|
|
142
96
|
type LiveDraftsClient = DraftRealtimeClient;
|
|
143
97
|
//#endregion
|
|
144
|
-
//#region .cache/declarations/
|
|
145
|
-
type
|
|
146
|
-
|
|
98
|
+
//#region .cache/declarations/blocks/src/client/site-chrome.d.ts
|
|
99
|
+
type SiteChromeThemeConfigOverride = Readonly<{
|
|
100
|
+
header?: Partial<NonNullable<Theme['header']>>;
|
|
101
|
+
footer?: Partial<NonNullable<Theme['footer']>>;
|
|
102
|
+
}>;
|
|
103
|
+
type SiteChromeBlockRenderSpec = Readonly<{
|
|
104
|
+
content: Record<string, unknown>;
|
|
105
|
+
viewModelOverrides: Record<string, unknown>;
|
|
106
|
+
themeConfigOverride?: SiteChromeThemeConfigOverride;
|
|
107
|
+
canRenderReactively?: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
type SiteChromeRenderModel = Readonly<{
|
|
110
|
+
header: SiteChromeBlockRenderSpec | null;
|
|
111
|
+
footer: SiteChromeBlockRenderSpec;
|
|
112
|
+
}>;
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region .cache/declarations/preview-next/src/client/preview/siteStyleAccess.d.ts
|
|
115
|
+
type SiteStyleAccess = Readonly<{
|
|
116
|
+
kind: "hidden";
|
|
117
|
+
}> | Readonly<{
|
|
118
|
+
kind: "apply-allowed";
|
|
119
|
+
}>;
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region .cache/declarations/preview-next/src/client/layout/PreviewLayoutContext.d.ts
|
|
122
|
+
type PreviewLayoutContextValue = Readonly<{
|
|
123
|
+
headerNode: ReactNode;
|
|
124
|
+
bannerNode?: ReactNode;
|
|
125
|
+
footerNode: ReactNode;
|
|
126
|
+
siteChromeRenderModel?: SiteChromeRenderModel | null;
|
|
127
|
+
}> | null;
|
|
128
|
+
declare function PreviewLayoutProvider({
|
|
129
|
+
headerNode,
|
|
130
|
+
bannerNode,
|
|
131
|
+
footerNode,
|
|
132
|
+
siteChromeRenderModel,
|
|
133
|
+
children
|
|
134
|
+
}: {
|
|
135
|
+
headerNode: ReactNode;
|
|
136
|
+
bannerNode?: ReactNode;
|
|
137
|
+
footerNode: ReactNode;
|
|
138
|
+
siteChromeRenderModel?: SiteChromeRenderModel | null;
|
|
139
|
+
children: ReactNode;
|
|
140
|
+
}): import("react").JSX.Element;
|
|
141
|
+
declare function usePreviewLayout(): Readonly<{
|
|
142
|
+
headerNode: ReactNode;
|
|
143
|
+
bannerNode?: ReactNode;
|
|
144
|
+
footerNode: ReactNode;
|
|
145
|
+
siteChromeRenderModel?: SiteChromeRenderModel | null;
|
|
146
|
+
}>;
|
|
147
|
+
declare function useOptionalPreviewLayout(): PreviewLayoutContextValue;
|
|
147
148
|
//#endregion
|
|
148
149
|
//#region .cache/declarations/preview-next/src/client/preview/themeRuntime.d.ts
|
|
149
150
|
type PreviewThemeResponsiveMode = ThemeResponsiveMode;
|
|
@@ -209,39 +210,7 @@ type SdkConfigForPreview = SdkConfigForBlockPicker & {
|
|
|
209
210
|
layout?: Pick<SdkSiteLayoutConfig, 'footerMode'>;
|
|
210
211
|
};
|
|
211
212
|
//#endregion
|
|
212
|
-
//#region .cache/declarations/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts
|
|
213
|
-
type StyleConfiguratorInitialSelections = Readonly<{
|
|
214
|
-
selectionVersion?: number | null;
|
|
215
|
-
selectionUpdatedAt?: string | null;
|
|
216
|
-
buttonStyleSelection: ButtonStyleSelection | null;
|
|
217
|
-
headerSelection?: HeaderLayoutStyleSelection | null;
|
|
218
|
-
footerLookId?: FooterLookId | null;
|
|
219
|
-
}>;
|
|
220
|
-
//#endregion
|
|
221
|
-
//#region .cache/declarations/preview-next/src/client/preview/StyleConfigurator.d.ts
|
|
222
|
-
type StyleConfiguratorProps = Readonly<{
|
|
223
|
-
siteId: string;
|
|
224
|
-
apiClient: ApiClient;
|
|
225
|
-
theme?: Theme | null;
|
|
226
|
-
themeId?: string | null;
|
|
227
|
-
selectionId?: string | null;
|
|
228
|
-
selectionVersion?: number | null;
|
|
229
|
-
selectionUpdatedAt?: string | null; /** Server-persisted design selections. */
|
|
230
|
-
initialSelections: StyleConfiguratorInitialSelections & Readonly<Record<string, unknown>>;
|
|
231
|
-
buttonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
|
|
232
|
-
headerLogoContext?: HeaderLogoContext;
|
|
233
|
-
onFocusedSurfaceChange?: (focused: boolean) => void;
|
|
234
|
-
}>;
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region .cache/declarations/preview-next/src/client/preview/siteStyleAccess.d.ts
|
|
237
|
-
type SiteStyleAccess = Readonly<{
|
|
238
|
-
kind: "hidden";
|
|
239
|
-
}> | Readonly<{
|
|
240
|
-
kind: "apply-allowed";
|
|
241
|
-
}>;
|
|
242
|
-
//#endregion
|
|
243
213
|
//#region .cache/declarations/preview-next/src/client/preview/PreviewEditorSidebar.d.ts
|
|
244
|
-
type PreviewEditorSidebarTab = 'editor' | 'assistant';
|
|
245
214
|
type PreviewTemplateData = {
|
|
246
215
|
name: string;
|
|
247
216
|
description?: string | null;
|
|
@@ -250,45 +219,6 @@ type PreviewEntryData = {
|
|
|
250
219
|
id: string;
|
|
251
220
|
type?: string | null;
|
|
252
221
|
};
|
|
253
|
-
type PreviewEditorSidebarProps = {
|
|
254
|
-
surfaceId: SurfaceId;
|
|
255
|
-
siteId: string;
|
|
256
|
-
dashboardBaseUrl?: string | null;
|
|
257
|
-
pageId: string | null;
|
|
258
|
-
pageNodeType?: 'page' | 'page_surface';
|
|
259
|
-
entryData?: PreviewEntryData | null;
|
|
260
|
-
contentTypeSchema?: ContentTypeSchema | null;
|
|
261
|
-
referenceContentTypeKeys?: readonly string[];
|
|
262
|
-
draftContent?: Record<string, unknown> | null;
|
|
263
|
-
currentTemplate?: PreviewTemplateData | null;
|
|
264
|
-
theme?: Theme | null;
|
|
265
|
-
themeId?: string | null;
|
|
266
|
-
themeSelectionId?: string | null;
|
|
267
|
-
themeSelectionVersion?: number | null;
|
|
268
|
-
themeSelectionUpdatedAt?: string | null; /** Persisted Style configurator selections (Phase C / E). */
|
|
269
|
-
themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
|
|
270
|
-
themeSelectionButtonStyleRepairs?: StyleConfiguratorProps['buttonStyleRepairs'];
|
|
271
|
-
themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
|
|
272
|
-
themeSelectionFooterLookId?: FooterLookId | null;
|
|
273
|
-
themeSelectionHeaderLogo?: HeaderLogoContext;
|
|
274
|
-
apiClient: ApiClient;
|
|
275
|
-
bearerToken?: string | null;
|
|
276
|
-
entrySubrouteContext?: EntrySubrouteContextData | null;
|
|
277
|
-
assistantPanel?: ReactNode;
|
|
278
|
-
sdkConfig?: SdkConfigForPreview | null;
|
|
279
|
-
bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
|
|
280
|
-
siteStyleAccess?: SiteStyleAccess;
|
|
281
|
-
activeTab: PreviewEditorSidebarTab;
|
|
282
|
-
onTabChange: (tab: PreviewEditorSidebarTab) => void;
|
|
283
|
-
onClose: () => void;
|
|
284
|
-
onFooterSaved?: () => void;
|
|
285
|
-
viewportMode: ViewportMode;
|
|
286
|
-
viewportWidth: ViewportWidth;
|
|
287
|
-
zoom: ZoomLevel;
|
|
288
|
-
onViewportModeChange: (mode: ViewportMode) => void;
|
|
289
|
-
onViewportWidthChange: (width: ViewportWidth) => void;
|
|
290
|
-
onZoomChange: (zoom: ZoomLevel) => void;
|
|
291
|
-
};
|
|
292
222
|
//#endregion
|
|
293
223
|
//#region .cache/declarations/preview-next/src/client/preview/PreviewQueryProvider.d.ts
|
|
294
224
|
declare function createPreviewQueryClient(): QueryClient;
|
|
@@ -319,6 +249,7 @@ type PreviewShellCommonProps = {
|
|
|
319
249
|
editableId: string | null;
|
|
320
250
|
pageNodeType?: 'page' | 'page_surface';
|
|
321
251
|
subscribeToLeaseChanges?: EditLeaseChangeSubscription;
|
|
252
|
+
subscribeToAdmissionChanges?: (listener: () => void) => () => void;
|
|
322
253
|
onLeaseGranted?: () => void; /** Live drafts between tabs; the host supplies a Supabase client dedicated to the preview token. */
|
|
323
254
|
liveDrafts?: PreviewLiveDrafts | null;
|
|
324
255
|
previewSession: PreviewRuntimeSession | null;
|
|
@@ -364,7 +295,6 @@ type PreviewShellCommonProps = {
|
|
|
364
295
|
isSiteLaunched: boolean;
|
|
365
296
|
maintenanceModeEnabled: boolean;
|
|
366
297
|
entrySubrouteContext?: EntrySubrouteContextData | null;
|
|
367
|
-
assistantPanel?: PreviewEditorSidebarProps['assistantPanel'];
|
|
368
298
|
sdkConfig?: SdkConfigForPreview | null;
|
|
369
299
|
mediaAssets?: readonly MediaAssetIndexItem[];
|
|
370
300
|
bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
|
|
@@ -405,7 +335,6 @@ type PreviewShellLayoutCommonProps = {
|
|
|
405
335
|
draftContent?: Record<string, unknown> | null;
|
|
406
336
|
currentTemplate?: PreviewTemplateData | null;
|
|
407
337
|
apiClient: ApiClient;
|
|
408
|
-
bearerToken?: string | null;
|
|
409
338
|
themeId?: string | null;
|
|
410
339
|
themeSelectionId?: string | null;
|
|
411
340
|
themeSelectionVersion?: number | null;
|
|
@@ -420,7 +349,6 @@ type PreviewShellLayoutCommonProps = {
|
|
|
420
349
|
isSiteLaunched: boolean;
|
|
421
350
|
maintenanceModeEnabled: boolean;
|
|
422
351
|
entrySubrouteContext?: EntrySubrouteContextData | null;
|
|
423
|
-
assistantPanel?: ReactNode;
|
|
424
352
|
sdkConfig?: SdkConfigForPreview | null;
|
|
425
353
|
bookingOfferingPresets?: readonly BookingOfferingPresetSummary[] | null;
|
|
426
354
|
siteStyleAccess?: SiteStyleAccess;
|
|
@@ -4,11 +4,13 @@ type PreviewSessionAuthMode = PreviewAuthMode | null;
|
|
|
4
4
|
type PreviewRuntimeSession = Readonly<{
|
|
5
5
|
kind: 'onboardingGrant';
|
|
6
6
|
expiresAt: string | null;
|
|
7
|
+
tilesKey?: string;
|
|
7
8
|
}> | Readonly<{
|
|
8
9
|
kind: 'userSession';
|
|
9
10
|
canEdit: boolean;
|
|
10
11
|
canManage: boolean;
|
|
11
12
|
expiresAt: string | null;
|
|
13
|
+
tilesKey?: string;
|
|
12
14
|
}>;
|
|
13
15
|
//#endregion
|
|
14
16
|
export { PreviewSessionAuthMode as n, PreviewRuntimeSession as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $a as AppointmentResourceId, Aa as UtcIsoDateTimeString, An as CustomerEventRegistration, At as PortalProfile, Bn as AutoAppliedDiscountPreview, Bt as EventSourceRecovery, Ct as RegistrationTicketContinuation, Dt as EventRegistrationSiteCreditPreview, Et as EventRegistrationDirectPaymentSelectionState, Ft as OccurrenceContext, Gn as BookingPaymentChoices, Gt as BookingFormData$1, Hn as ResolveWaitlistClaimResponse, Jn as EventRegistrationPageSurfaceSubject, Jt as BookingSelectedCollectionOptionKind, Kn as EligibleAppointmentPackage, Kt as BookingFormService, Ma as AppointmentBookingReview, Mi as MailingListRuntimeContext, Mt as ExistingRegistrationLookupState, Oa as DisplayContext, Or as BlockButtonRole, Ot as PortalAuthState, Pt as BookingPaymentSelectionViewModel, Qt as BookingFormField$1, St as RegistrationAdmission, Tr as PublicEvent, Tt as EventRegistrationDirectPaymentOption, Ut as BoundBlockApiClient, Vn as DiscountContext, Wt as BookingFormConfig$1, Xa as NonNegativeCents, Xt as BookingFormServiceCategory, Yt as getBookingServiceSlidingScale, Za as PositiveCents, Zn as EventBookingOutcome, Zt as BookingFormServicesSource, _t as RegistrationResult, at as SelectableEventTicketType, bt as FormData, co as FormId, cr as PaymentMethod, ct as EventRegistrationClientProps, do as PassId, dr as DirectCheckoutCollectionOptionKind, dt as GuestErrors, eo as AppointmentServiceId, er as EventCheckoutReturnRequest, ft as PaymentSelection, gr as CurrencyCode, gt as RegistrationEvent, hr as EventRegistrationErrorAction, ht as RegistrationAttendanceMode, it as BookingFormInteractiveIslandProps, jt as EligibilityLookupState, ka as ZoneLabel, ki as BookingMailingListNote, kt as PortalCreditState, lr as BlockApiConfig, lt as EventTicketSelectionLine, mr as EventRegistrationPricingOption, mt as PaymentStepState, no as Brand, nr as EventEmbeddedCheckout, ot as EligibilityData, po as SiteId, pt as PaymentStatusRecoveryState, qn as BlockSiteTerms, qt as BookingPaymentStepResolution, ro as CustomerPassId, sr as EventRegistrationPaymentSubject, st as EventPaymentState, ur as BrowserReadAuthority, ut as Guest, vt as RegistrationStep, wt as TicketSelectionPurpose, xt as RegistrationPresentation, yt as RegistrationSubject } from "./schema-BHu0PYWl.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import React, { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as BindingTransformName } from "./index-
|
|
1
|
+
import { m as NavigationConfigItemInput, p as NavigationAuthoringLinkInput } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-CSsfq6KG.js";
|
|
3
3
|
|
|
4
|
+
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* System block kind identifiers.
|
|
7
|
+
*
|
|
8
|
+
* SDK-owned copy of the system block kind list.
|
|
9
|
+
*
|
|
10
|
+
* Rationale: SDK consumers must be able to typecheck without installing
|
|
11
|
+
* `@riverbankcms/blocks` (which is not a public dependency). This list is a
|
|
12
|
+
* stable public contract; keep it in sync with the internal blocks runtime.
|
|
13
|
+
*/
|
|
14
|
+
declare const SYSTEM_BLOCK_KINDS: readonly ['block.hero', 'block.intro', 'block.columns', 'block.collection', 'block.feature-cards', 'block.media-text', 'block.cta-full', 'block.single-button', 'block.body-text', 'block.location-map', 'block.faq', 'block.testimonials', 'block.team-members', 'block.embed', 'block.blog-post', 'block.blog-listing', 'block.site-header', 'block.site-footer', 'block.form', 'block.contact-newsletter', 'block.appointment-booking', 'block.appointment-services', 'block.weekly-slot-availability', 'block.event-registration', 'block.event-details', 'block.event-spotlight', 'block.event-listing', 'block.event-calendar', 'block.recurring-schedule', 'block.offerings-preview', 'block.shop', 'block.product-list', 'block.product-detail', 'block.cart', 'block.checkout', 'block.gifting', 'block.newsletter-signup', 'block.image-gallery', 'block.video-grid', 'block.audio-player', 'block.file-download'];
|
|
15
|
+
type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
|
|
16
|
+
type CustomBlockKind = `custom.${string}`;
|
|
17
|
+
type BlockKind = SystemBlockKind | CustomBlockKind;
|
|
18
|
+
//#endregion
|
|
4
19
|
//#region .cache/declarations/sdk/src/config/field-definitions.d.ts
|
|
5
20
|
type VisibilityLevel = 'admin' | 'designer' | 'author';
|
|
6
21
|
type ReferenceValueFrom = 'id' | 'identifier' | 'slug';
|
|
@@ -260,21 +275,6 @@ type EntryPickerFieldDefinition = FieldBase & {
|
|
|
260
275
|
};
|
|
261
276
|
type FieldDefinition = TextFieldDefinition | RichTextFieldDefinition | InlineTextFieldDefinition | MediaFieldDefinition | FileFieldDefinition | BooleanFieldDefinition | NumberFieldDefinition | DateFieldDefinition | TimeFieldDefinition | DateTimeFieldDefinition | SlugFieldDefinition | UrlFieldDefinition | LinkFieldDefinition | SelectFieldDefinition | ReferenceFieldDefinition | RepeaterFieldDefinition | GroupFieldDefinition | ModalFieldDefinition | TabGroupFieldDefinition | PresetOrCustomFieldDefinition | ContentTypeSelectFieldDefinition | EntryPickerFieldDefinition;
|
|
262
277
|
//#endregion
|
|
263
|
-
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
264
|
-
/**
|
|
265
|
-
* System block kind identifiers.
|
|
266
|
-
*
|
|
267
|
-
* SDK-owned copy of the system block kind list.
|
|
268
|
-
*
|
|
269
|
-
* Rationale: SDK consumers must be able to typecheck without installing
|
|
270
|
-
* `@riverbankcms/blocks` (which is not a public dependency). This list is a
|
|
271
|
-
* stable public contract; keep it in sync with the internal blocks runtime.
|
|
272
|
-
*/
|
|
273
|
-
declare const SYSTEM_BLOCK_KINDS: readonly ['block.hero', 'block.intro', 'block.columns', 'block.collection', 'block.feature-cards', 'block.media-text', 'block.cta-full', 'block.single-button', 'block.body-text', 'block.location-map', 'block.faq', 'block.testimonials', 'block.team-members', 'block.embed', 'block.blog-post', 'block.blog-listing', 'block.site-header', 'block.site-footer', 'block.form', 'block.contact-newsletter', 'block.appointment-booking', 'block.appointment-services', 'block.weekly-slot-availability', 'block.event-registration', 'block.event-details', 'block.event-spotlight', 'block.event-listing', 'block.event-calendar', 'block.recurring-schedule', 'block.offerings-preview', 'block.shop', 'block.product-list', 'block.product-detail', 'block.cart', 'block.checkout', 'block.gifting', 'block.newsletter-signup', 'block.image-gallery', 'block.video-grid', 'block.audio-player', 'block.file-download'];
|
|
274
|
-
type SystemBlockKind = (typeof SYSTEM_BLOCK_KINDS)[number];
|
|
275
|
-
type CustomBlockKind = `custom.${string}`;
|
|
276
|
-
type BlockKind = SystemBlockKind | CustomBlockKind;
|
|
277
|
-
//#endregion
|
|
278
278
|
//#region .cache/declarations/sdk/src/config/content-types.d.ts
|
|
279
279
|
declare const TEMPLATE_BINDING_META_PATHS: readonly ['title', 'slug', 'publishedAt', 'createdAt', 'updatedAt'];
|
|
280
280
|
type TemplateBindingMetaPath = typeof TEMPLATE_BINDING_META_PATHS[number];
|
|
@@ -604,4 +604,4 @@ interface ContentConfig {
|
|
|
604
604
|
settings?: SiteSettingsConfig;
|
|
605
605
|
}
|
|
606
606
|
//#endregion
|
|
607
|
-
export {
|
|
607
|
+
export { ReferenceFieldDefinition as A, CustomBlockKind as B, GroupFieldDefinition as C, ModalFieldDefinition as D, MediaFieldDefinition as E, TabGroupFieldDefinition as F, SystemBlockKind as H, TextFieldDefinition as I, TimeFieldDefinition as L, RichTextFieldDefinition as M, SelectFieldDefinition as N, NumberFieldDefinition as O, SlugFieldDefinition as P, UrlFieldDefinition as R, FileFieldDefinition as S, LinkFieldDefinition as T, SYSTEM_BLOCK_KINDS as V, ContentTypeSelectFieldDefinition as _, EntryConfig as a, EntryPickerFieldDefinition as b, NavigationMenuConfig as c, TEMPLATE_BINDING_META_PATHS as d, TemplateBindingMetaPath as f, BooleanFieldDefinition as g, describeInvalidTemplateBindingMetaPath as h, ContentTypeConfig as i, RepeaterFieldDefinition as j, PresetOrCustomFieldDefinition as k, PageConfig as l, TemplateConfig as m, BlockConfig as n, NavigationItemConfig as o, TemplateBlockConfig as p, ContentConfig as r, NavigationLinkType as s, BindingSource as t, SiteSettingsConfig as u, DateFieldDefinition as v, InlineTextFieldDefinition as w, FieldDefinition as x, DateTimeFieldDefinition as y, BlockKind as z };
|