@riverbankcms/sdk 0.159.0 → 0.160.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-CoqeotCL.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-C0ENVLCF.d.ts} +13 -6
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-jZK0A49V.d.ts} +54 -126
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-uMMuPq9V.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-D6nXGqdQ.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-Bnmj1nxu.d.ts} +6 -5
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-CeLjFX8b.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-nyU8q02J.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-BaaGBY1v.d.ts} +2 -2
- package/dist/_dts/{index-CcaG6O13.d.ts → index-Bg64CkV-.d.ts} +4 -4
- package/dist/_dts/index-Blwl7yl6.d.ts +13 -0
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-C5xslEBn.d.ts} +2 -2
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CEaKil7G.d.ts} +2 -2
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-DahMwisK.d.ts} +3 -3
- package/dist/_dts/index-lkpjIg5i.d.ts +66 -0
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-nVoi_74l.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-CYLmzvLq.d.ts} +16 -7
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-DqnxChOs.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-D0bNcPWK.d.ts} +6907 -6762
- 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 +12 -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/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/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/{types-CI9dYWJ8.d.ts → types-CFrYuXYP.d.ts} +2 -2
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-D8czmbQF.d.ts} +15911 -17318
- package/dist/_dts/{types--oWXIfyz.d.ts → types-DSgmJ15W.d.ts} +7 -7
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-Dm-KW7nj.d.ts} +10 -13
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-Bmb4WnHg.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DZRKi6tT.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-C00sLLdL.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-CHSi9b3E.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-Bhm6RAUL.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-CaN-7ui7.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-ClxN5_xZ.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BncvSa1n.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-DluBxVVu.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-BiJrMtfp.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-CXhnT9pF.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-V-dtoDlD.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-DPO6SZbx.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-B-Yi5JZS.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-Dc3Fnlnw.mjs} +77 -96
- package/dist/client/{LeafletStaticMap-dlapZ6mi.mjs → LeafletStaticMap-ClZCCzAm.mjs} +1 -1
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-7PkzO04N.mjs} +1941 -2069
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-DiD6euZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-BHd8GN8y.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → ThemedButton-C22C9cCF.mjs} +174 -93
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-2m27DsIk.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-BddWV5w1.mjs} +12 -12
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-bcdXQjmw.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-D7nj9I0y.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-AffDJo_s.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-PN6yCw1H.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-D4t1f0cJ.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-CsTwXVSb.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-BhQE3zY7.mjs} +1 -1
- package/dist/client/client.mjs +25 -13
- package/dist/client/{context-BRgBWthI.mjs → context-BLAvalAa.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-CUXhX_D7.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BHIHxNuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-R-awbk_0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-9Q93uvTo.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-BS1WtG-a.mjs} +2 -2
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-BXndwsET.mjs} +14 -14
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-HyoOt1Qz.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-sdG5oEaH.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-FFAknE4w.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-CGK6urk3.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-VhrvCs4l.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-C-B5O_ko.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-DoZVcl8d.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-mttKpgif.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-xUSCknEO.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-BHUEXsaI.mjs} +2 -2
- package/dist/client/{location-map.client-DRN1JePj.mjs → location-map.client-Cylb_MHw.mjs} +2 -2
- package/dist/client/{location-map.view-CuCvQdvp.mjs → location-map.view-Cx4Bl7ij.mjs} +69 -6
- package/dist/client/{locationMap-B9srHHzZ.mjs → locationMap-QnKJi-nZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-D_n0rftg.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DKHye4IE.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-tEaYelzx.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B610YKEx.mjs} +10 -3
- package/dist/client/portal/client.mjs +4559 -114
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-DUf5x5Jt.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-Cqp1BPTV.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-B8bBiogP.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-BKN4D-1z.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-2nNZh2Oe.mjs} +3 -3
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BAm4RPNJ.mjs} +819 -855
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +47 -28
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-Cv-qomNB.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-C5u8MbAA.mjs} +1 -1
- package/dist/client/{shop-CnIJfdZA.mjs → shop-DZNC0VKk.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-DdX4LSa3.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-BJtrZov9.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-DmDd-igg.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-5SnnDHz3.mjs} +368 -35
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-CPqUlAh9.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-C19rcHEw.mjs +960 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-BjbJXotk.mjs} +3 -3
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-CMgfL7YJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-KG8jB7WC.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-DK2w_i0a.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-DW6MCirb.mjs} +11 -10
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-CkUn3Y0Y.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-CseyBW07.mjs} +6 -5
- package/dist/client/{wizardSteps-C0TsNqJc.mjs → wizardSteps-zgq10lN1.mjs} +162 -30
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-lUHBrzHv.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-DWyUGCAG.mjs} +1281 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-Wq0b3Daw.mjs} +52 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-BtZPcwYV.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-wSI_R361.mjs} +856 -2171
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-Hc4pYnNe.mjs} +115951 -110090
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-DzeycIlD.mjs} +204 -93
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Corq4AG7.mjs} +3 -8
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-CWymRWhK.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +1359 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-C4If5Y-O.mjs} +1 -1
- package/dist/preview-next/editor-base.css +62 -0
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-8csADeIT.mjs} +149 -112
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-D1_gonwM.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-CFmJg5lm.mjs} +2 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-DPsi0Dai.mjs} +9 -7
- 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/index.mjs +2 -2
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-RMCcuVU_.mjs} +33 -20
- package/dist/server/loadPage-DUPP51C-.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-DhDGzj7t.mjs} +8 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-OxY5FMuy.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-Bz_A6sB9.mjs} +651 -542
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild-B_1vrSru.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-B7ukYXXR.mjs} +841 -887
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-Djbpc81A.mjs} +166 -129
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-eFjKtEhF.mjs} +2049 -1451
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DYvEa9c5.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-C3dJ5UkL.mjs} +148 -88
- package/dist/server/server.mjs +3 -3
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → siteChromeOverlayClearance-DALIAMwo.mjs} +108 -11
- package/dist/server/{src-B935_bzN.mjs → src-C5Mu-z0F.mjs} +268 -189
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-ruoyXb_0.mjs} +2 -2
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B-Xar8QS.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-Bg7VHK3i.mjs} +1 -1
- package/dist/styles/index.css +78 -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/timetableModel-D09jPdue.mjs +0 -480
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
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,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { g as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { $i as WeeklyOpeningHours, A as BlockLoaderFailures, Ai as MailingListRuntimeContext, Ba as EventPageSurfaceSubjectWire, E as ThemeResponsiveMode, G as DateRuntimeContext, M as PrefetchedBlockData, Vn as BlockSiteTerms, W as LinkResolverContext, Z as RenderablePageOutline$1, ir as BrowserReadAuthority, j as BlockLoaderSnapshot, q as PageTemplate, s as RenderableMediaAsset, t as Theme, wa as UtcIsoDateTimeString } from "./schema-D0bNcPWK.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-D6nXGqdQ.js";
|
|
3
|
+
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-nVoi_74l.js";
|
|
4
|
+
import { t as ThemeRuntime } from "./index-Blwl7yl6.js";
|
|
5
|
+
import { d as SdkCustomBlock } from "./types-Dm-KW7nj.js";
|
|
6
|
+
import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject, P as SiteBookingOfferingPresetSummary } from "./contracts-Bnmj1nxu.js";
|
|
7
|
+
import { _ as RiverbankClient } from "./types-CFrYuXYP.js";
|
|
7
8
|
import * as React$2 from "react";
|
|
8
9
|
import React$1, { ReactElement } from "react";
|
|
9
10
|
|
|
@@ -296,6 +297,8 @@ type PageRendererDataContext = {
|
|
|
296
297
|
pathname?: string;
|
|
297
298
|
resolvedData?: Record<string, Record<string, unknown>>;
|
|
298
299
|
loaderFailures?: BlockLoaderFailures;
|
|
300
|
+
prefetchedBlockData?: PrefetchedBlockData;
|
|
301
|
+
loaderSnapshot?: BlockLoaderSnapshot;
|
|
299
302
|
bookingOfferingPresets?: readonly SiteBookingOfferingPresetSummary[];
|
|
300
303
|
siteTerms?: BlockSiteTerms;
|
|
301
304
|
mailingList?: MailingListRuntimeContext;
|
|
@@ -308,6 +311,7 @@ type PageRendererDataContext = {
|
|
|
308
311
|
entriesByIdentifier?: Record<string, Record<string, string>>;
|
|
309
312
|
occurrenceContext?: OccurrenceContextData | null;
|
|
310
313
|
entrySubrouteContext?: EntrySubrouteContextData | null;
|
|
314
|
+
template?: PageTemplate;
|
|
311
315
|
contentEntry?: Record<string, unknown> | null;
|
|
312
316
|
pageSurface?: Record<string, unknown> | null;
|
|
313
317
|
subject?: EventPageSurfaceSubjectWire | null;
|
|
@@ -445,6 +449,9 @@ type PageCommonProps = {
|
|
|
445
449
|
pageSurface?: Record<string, unknown> | null; /** Subject descriptor for native page-surface templates */
|
|
446
450
|
subject?: EventPageSurfaceSubjectWire | null; /** Editable route metadata keys for template-page inline editing */
|
|
447
451
|
editableRouteMetadataFieldIds?: ReadonlyArray<string> | null; /** Preview stage: 'preview' for draft content, 'published' for live content */
|
|
452
|
+
prefetchedBlockData?: PageRendererDataContext['prefetchedBlockData'];
|
|
453
|
+
loaderSnapshot?: PageRendererDataContext['loaderSnapshot'];
|
|
454
|
+
loaderFailures?: PageRendererDataContext['loaderFailures'];
|
|
448
455
|
previewStage: 'preview' | 'published'; /** Canonical request pathname used by blocks when resolving same-site destinations. */
|
|
449
456
|
pathname?: string;
|
|
450
457
|
};
|
|
@@ -1,54 +1,11 @@
|
|
|
1
|
-
import { S as SurfaceId, _ as SdkEditorRevision,
|
|
2
|
-
import {
|
|
1
|
+
import { S as SurfaceId, _ as SdkEditorRevision, o as ContentTypeSchema, s as SdkSiteLayoutConfig, x as ApiClient } from "./types-D8czmbQF.js";
|
|
2
|
+
import { E as ThemeResponsiveMode, Er as HeaderPreferences, Ft as BlockApiProvider, Hr as ButtonStyleSelectionRepair, Ir as HeaderLayoutStyleSelection, K as MediaAssetIndexItem, Lr as HeaderLogoContext, Nt as BookingOfferingPresetSummary, O as SdkConfigForBlockPicker, Or as FooterPreferences, Ta as BookingTimeZone, Ur as FooterLookId, Vr as ButtonStyleSelection, Y as EditorRenderablePageOutline, k as EntrySubrouteContextData, oa as EditorBlockVersions, ra as EditLeaseScope, t as Theme } from "./schema-D0bNcPWK.js";
|
|
3
|
+
import { t as ThemeRuntime } from "./index-Blwl7yl6.js";
|
|
3
4
|
import { t as PreviewRuntimeSession } from "./auth-contract-FPg0-2MC.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as SelectableEventTicketType, Ai as MailingListRuntimeContext, Bn as EligibleAppointmentPackage, Bt as BookingFormService, Ca as ZoneLabel, Ct as PortalCreditState, Di as BookingMailingListNote, Ea as AppointmentBookingReview, Et as ExistingRegistrationLookupState, Fn as DiscountContext, Ga as PositiveCents, Gn as EventBookingOutcome, Gt as BookingFormServicesSource, Hn as EventRegistrationPageSurfaceSubject, Ht as BookingSelectedCollectionOptionKind, In as ResolveWaitlistClaimResponse, J as BookingFormInteractiveIslandProps, Ja as AppointmentServiceId, Jn as EventCheckoutReturnRequest, Kt as BookingFormField$1, Lt as BoundBlockApiClient, Ot as BookingPaymentSelectionViewModel, Pn as AutoAppliedDiscountPreview, Pt as EventSourceRecovery, Rt as BookingFormConfig$1, Sa as DisplayContext, Sr as BlockButtonRole, St as PortalAuthState, Tt as EligibilityLookupState, Ut as getBookingServiceSlidingScale, Vn as BlockSiteTerms, Vt as BookingPaymentStepResolution, Wa as NonNegativeCents, Wt as BookingFormServiceCategory, Xa as Brand, Xn as EventEmbeddedCheckout, Za as CustomerPassId, _t as RegistrationTicketContinuation, ao as PassId, ar as DirectCheckoutCollectionOptionKind, at as GuestErrors, bt as EventRegistrationDirectPaymentSelectionState, cr as EventRegistrationPricingOption, ct as PaymentStepState, dt as RegistrationResult, et as EligibilityData, ft as RegistrationStep, gt as RegistrationAdmission, ht as RegistrationPresentation, ir as BrowserReadAuthority, it as Guest, kt as OccurrenceContext, lr as EventRegistrationErrorAction, lt as RegistrationAttendanceMode, mt as FormData, no as FormId, nr as PaymentMethod, nt as EventRegistrationClientProps, ot as PaymentSelection, pt as RegistrationSubject, qa as AppointmentResourceId, rr as BlockApiConfig, rt as EventTicketSelectionLine, so as SiteId, st as PaymentStatusRecoveryState, tr as EventRegistrationPaymentSubject, tt as EventPaymentState, ur as CurrencyCode, ut as RegistrationEvent, vt as TicketSelectionPurpose, wa as UtcIsoDateTimeString, wn as CustomerEventRegistration, wt as PortalProfile, xt as EventRegistrationSiteCreditPreview, yr as PublicEvent, yt as EventRegistrationDirectPaymentOption, zn as BookingPaymentChoices, zt as BookingFormData$1 } from "./schema-D0bNcPWK.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 { f as NavigationAuthoringLinkInput, p as NavigationConfigItemInput } from "./types-D8czmbQF.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-nVoi_74l.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 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ApiErrorCode$1, a as
|
|
2
|
-
import {
|
|
3
|
-
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-
|
|
4
|
-
import { d as SdkCustomBlock, f as SdkThemeConfig } from "./types-
|
|
1
|
+
import { C as ApiErrorCode$1, a as SiteRuntimeSelectionPayload, b as RoutableContentItem$1, c as SdkBlockContentAdmission, d as PublicPassesResponse$1, g as PublicServiceCategorySummary$1, h as PublicBookingServicesResponse$1, i as SiteRuntimeIdentity, l as ResolveEventSubrouteQuery, m as PublicBookingServiceCatalogueItem$1, n as SdkRuntimePageSurfaceSubject$1, r as SiteBookingOfferingPresetSummary$1, t as SdkRuntimePageSurface$1, u as ResolveEventSubrouteResponse$1, v as SdkRuntimeEntry$1, y as SiteRuntimeSiteTerms } from "./types-D8czmbQF.js";
|
|
2
|
+
import { $i as WeeklyOpeningHours, Ai as MailingListRuntimeContext, D as FooterMode, Ta as BookingTimeZone, ca as AddressedLocationValue, f as Media, kr as PageRuntimeJoin, ri as ResolvedInternalLinkEntityType, sa as BusinessAddress, yr as PublicEvent } from "./schema-D0bNcPWK.js";
|
|
3
|
+
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-nVoi_74l.js";
|
|
4
|
+
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-Dm-KW7nj.js";
|
|
5
5
|
|
|
6
6
|
//#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
|
|
7
7
|
type PublicTeamMemberSummary = {
|
|
@@ -36,6 +36,7 @@ type ResolveEventRunResponse = Readonly<{
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region .cache/declarations/sdk/src/public-api/contracts.d.ts
|
|
38
38
|
type RuntimeSiteSdkConfig = {
|
|
39
|
+
builtInBlocks?: RiverbankSiteConfig['builtInBlocks'];
|
|
39
40
|
layout?: {
|
|
40
41
|
footerMode?: FooterMode;
|
|
41
42
|
};
|
|
@@ -527,7 +528,7 @@ interface FormRecord {
|
|
|
527
528
|
updatedAt: string | null;
|
|
528
529
|
}
|
|
529
530
|
type PublicFormResponse = {
|
|
530
|
-
form: FormRecord;
|
|
531
|
+
form: FormRecord | null;
|
|
531
532
|
};
|
|
532
533
|
type PublicFormsResponse = {
|
|
533
534
|
forms: FormRecord[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import { C as BlockOverrideComponent, g as RenderablePageOutline, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-
|
|
1
|
+
import { ir as BrowserReadAuthority, t as Theme } from "./schema-D0bNcPWK.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-D6nXGqdQ.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-nVoi_74l.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-Bnmj1nxu.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-CFrYuXYP.js";
|
|
6
|
+
import { C as BlockOverrideComponent, g as RenderablePageOutline, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-C0ENVLCF.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 { H as LoadPageResult } from "./Page-
|
|
1
|
+
import { I as SiteResponse } from "./contracts-Bnmj1nxu.js";
|
|
2
|
+
import { H as LoadPageResult } from "./Page-C0ENVLCF.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as FieldError, n as ApiErrorCode, t as ApiError } from "./contracts-
|
|
2
|
-
import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-
|
|
1
|
+
import { c as FieldError, n as ApiErrorCode, t as ApiError } from "./contracts-Bnmj1nxu.js";
|
|
2
|
+
import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-CFrYuXYP.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/error.d.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { f as Media, xa as TipTapNode, ya as RichTextDoc } from "./schema-D0bNcPWK.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-D6nXGqdQ.js";
|
|
3
|
+
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-nVoi_74l.js";
|
|
4
|
+
import { u as RiverbankSiteConfig } from "./types-Dm-KW7nj.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/bindings.d.ts
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { E as ThemeResponsiveMode } from "./schema-D0bNcPWK.js";
|
|
2
|
+
//#region .cache/declarations/theme-core/src/themeRuntime.d.ts
|
|
3
|
+
type ThemeRuntime = {
|
|
4
|
+
kind: "cms-theme";
|
|
5
|
+
responsiveMode?: ThemeResponsiveMode;
|
|
6
|
+
} | {
|
|
7
|
+
kind: "responsive-only";
|
|
8
|
+
responsiveMode?: ThemeResponsiveMode;
|
|
9
|
+
} | {
|
|
10
|
+
kind: "none";
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ThemeRuntime as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-
|
|
2
|
-
import React, { ComponentProps, ReactNode } from "react";
|
|
1
|
+
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-jZK0A49V.js";
|
|
2
|
+
import React, { ComponentProps, ReactElement, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/preview-next/client/index.d.ts
|
|
5
5
|
type PreviewQueryProviderProps = Readonly<{
|
|
@@ -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-Bnmj1nxu.js";
|
|
2
|
+
import { _ as RiverbankClient } from "./types-CFrYuXYP.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/types.d.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as SiteResponse, _ as PublicEndpointName, l as HTTPMethod, m as PublicAPIEndpoints, o as EntriesResponse, p as PageResponse, r as ApiResult } from "./contracts-
|
|
2
|
-
import { a as GetEntriesBaseParams, i as EntriesResponseWithMeta } from "./types-
|
|
3
|
-
import { i as NavigationCacheFile, r as FormsCacheFile, s as PrebuildManifest } from "./index-
|
|
1
|
+
import { I as SiteResponse, _ as PublicEndpointName, l as HTTPMethod, m as PublicAPIEndpoints, o as EntriesResponse, p as PageResponse, r as ApiResult } from "./contracts-Bnmj1nxu.js";
|
|
2
|
+
import { a as GetEntriesBaseParams, i as EntriesResponseWithMeta } from "./types-CFrYuXYP.js";
|
|
3
|
+
import { i as NavigationCacheFile, r as FormsCacheFile, s as PrebuildManifest } from "./index-CEaKil7G.js";
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/loader.d.ts
|
|
5
5
|
interface PrebuildLoaderConfig {
|
|
6
6
|
/** Path to prebuild cache directory */
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Br as HexColor } from "./schema-D0bNcPWK.js";
|
|
2
|
+
import { z as z$1 } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region .cache/declarations/theme-core/src/hosted-booking-appearance.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* The complete appearance contract accepted by the hosted-booking renderer.
|
|
7
|
+
* It deliberately contains only the simplified theme choices: semantic
|
|
8
|
+
* palette, palette mode, two font roles, and the canonical corner shape.
|
|
9
|
+
*/
|
|
10
|
+
declare const hostedBookingAppearanceSchema: z$1.ZodObject<{
|
|
11
|
+
palette: z$1.ZodPipe<z$1.ZodObject<{
|
|
12
|
+
primary: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
13
|
+
primaryForeground: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
14
|
+
secondary: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
15
|
+
accent: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
16
|
+
success: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
17
|
+
warning: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
18
|
+
destructive: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
19
|
+
background: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
20
|
+
surface: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
21
|
+
surfaceAlt: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
22
|
+
muted: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
23
|
+
text: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
24
|
+
border: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
25
|
+
}, z$1.core.$strict>, z$1.ZodTransform<Readonly<Record<"accent" | "background" | "border" | "destructive" | "muted" | "primary" | "primaryForeground" | "secondary" | "success" | "surface" | "surfaceAlt" | "text" | "warning", HexColor>>, {
|
|
26
|
+
primary: HexColor;
|
|
27
|
+
primaryForeground: HexColor;
|
|
28
|
+
secondary: HexColor;
|
|
29
|
+
accent: HexColor;
|
|
30
|
+
success: HexColor;
|
|
31
|
+
warning: HexColor;
|
|
32
|
+
destructive: HexColor;
|
|
33
|
+
background: HexColor;
|
|
34
|
+
surface: HexColor;
|
|
35
|
+
surfaceAlt: HexColor;
|
|
36
|
+
muted: HexColor;
|
|
37
|
+
text: HexColor;
|
|
38
|
+
border: HexColor;
|
|
39
|
+
}>>;
|
|
40
|
+
paletteMode: z$1.ZodEnum<{
|
|
41
|
+
dark: "dark";
|
|
42
|
+
light: "light";
|
|
43
|
+
}>;
|
|
44
|
+
typography: z$1.ZodObject<{
|
|
45
|
+
headingFamily: z$1.ZodString;
|
|
46
|
+
bodyFamily: z$1.ZodString;
|
|
47
|
+
}, z$1.core.$strict>;
|
|
48
|
+
corners: z$1.ZodEnum<{
|
|
49
|
+
pill: "pill";
|
|
50
|
+
rounded: "rounded";
|
|
51
|
+
soft: "soft";
|
|
52
|
+
square: "square";
|
|
53
|
+
}>;
|
|
54
|
+
}, z$1.core.$strict>;
|
|
55
|
+
type HostedBookingAppearance = Readonly<z$1.infer<typeof hostedBookingAppearanceSchema>>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region .cache/declarations/field-primitives/src/bindings/index.d.ts
|
|
58
|
+
declare const BINDING_TRANSFORMS: {
|
|
59
|
+
readonly RICHTEXT_FIRST_PARAGRAPH: 'richtext.firstParagraph';
|
|
60
|
+
readonly DATE_FORMAT_SHORT: 'date.formatShort';
|
|
61
|
+
readonly DATE_FORMAT_LONG: 'date.formatLong';
|
|
62
|
+
readonly TEXT_INLINE_TEXT: 'text.inlineText';
|
|
63
|
+
};
|
|
64
|
+
type BindingTransformName = (typeof BINDING_TRANSFORMS)[keyof typeof BINDING_TRANSFORMS];
|
|
65
|
+
//#endregion
|
|
66
|
+
export { HostedBookingAppearance as n, BindingTransformName as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as BindingTransformName$1 } from "./index-
|
|
1
|
+
import { $r as ExternalLinkValue$1, At as CardStylesContent$1, B as ContactNewsletterContent$1, F as EventCalendarContent$1, H as BodyTextContent$1, I as EventDetailsContent$1, Kr as ContentFrameIntent$1, L as SiteFooterContent$1, La as EventOccurrenceContextData, Mt as SectionStylesContent$1, N as NewsletterSignupContent$1, P as ImageGalleryContent$1, Qa as EventCategoryId, Qr as EntryLinkValue$1, Ra as EventPageSubrouteContext, V as FormBlockContent$1, Xa as Brand, Zr as CustomLinkValue$1, _r as EventLayout$1, ei as InternalLinkValue$1, f as Media, gr as DisplayMode$1, hr as ColumnOption$1, jt as ContainerStylesContent$1, kr as PageRuntimeJoin$1, mr as CalendarTabViews$1, ni as PageLinkValue$1, po as VenueId, ti as LinkValue$1, vr as FilterAutoShow$1, xr as WeekStart$1, ya as RichTextDoc } from "./schema-D0bNcPWK.js";
|
|
2
|
+
import { t as BindingTransformName$1 } from "./index-lkpjIg5i.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/contracts/content.d.ts
|