@riverbankcms/sdk 0.183.0 → 0.185.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 +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
- package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
- package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +61 -48
- package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
- package/dist/client/gifting/client.mjs +8 -8
- package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +999 -81
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
- package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +158 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +684 -181
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { r as sectionStylesOverrideSchema } from "./schema-
|
|
5
|
-
import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-
|
|
1
|
+
import { at as lookFillPartsFromContent, et as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-DmP0HVMu.mjs";
|
|
2
|
+
import { Lr as formatDate, Ta as plainTextToInlineText, ao as boundaryOptionsForStyle, co as resolvePageJoins, ft as systemCustomizeFacetDefinitionsForBlock, lo as siteStyleEdges, mo as resolveSectionBackground, oo as pageFlowDefaultJoinCandidate, po as parseCanonicalRuntimeBackground, ri as resolveDeclaredBlockDesignCapability, so as resolveJoinTreatment, t as getBlockDefinition, uo as pageFlowPresets } from "./registry-DD_s7l3Y.mjs";
|
|
3
|
+
import { D as getCuratedSiteStyle, Ft as lookModes, Gt as plainFrame, It as assertNever, Kt as requireNonEmptyReadonlyArray, Lt as defineBlockDesignCapability, P as defaultHeroImageSurfaceTreatment, S as filterLookIdsForPolicy, St as noneBoundaryOption, Vt as designIssueSeverityForPolicy, Yt as toNonEmptyReadonlyArray, _t as boundaryOptionIdForTreatment, a as arrangementStyleAvailability, b as deriveSiteStyleBlockPolicy, c as getCompatibleBlockAppearancePresets, d as resolveLookForBlock, ht as boundaryOptionForTransitionIntent, j as stripCompiledRuntimeStyleFields, k as compilePageRuntimeFields, m as resolveEffectiveArrangement, mt as resolvePageDesignBoundaryChoice, o as automaticArrangementLook, p as readStoredMode, pt as resolvePageDesignBlockLookChoice, qt as sectionBackgroundPaintValues, r as arrangementAppearancePresets, rt as sectionOwnerStyleChoices, s as compileArrangementLookRuntime, u as resolveArrangementLookForBlock, wt as sectionTransitionFamilies, x as filterLayoutProfilesForPolicy, xt as isDecorativeTransitionIntent } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
4
|
+
import { B as makeBoundaryId, L as asLayoutVariantKey, P as asDesignBlockId, k as isArrangementMode, r as sectionStylesOverrideSchema } from "./schema-ClDfFtz2.mjs";
|
|
5
|
+
import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
6
6
|
import { n as isRecord, s as isRichTextDoc } from "./typeGuards-DZOaGTEv.mjs";
|
|
7
|
-
import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-CTsycLLK.mjs";
|
|
8
7
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
9
8
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
10
9
|
const repairActionsByIssueKind = {
|
|
@@ -475,220 +474,6 @@ function compositionCapabilityFor(composition) {
|
|
|
475
474
|
}
|
|
476
475
|
}
|
|
477
476
|
//#endregion
|
|
478
|
-
//#region ../theme-core/src/site-styles/pageFlowPresets.ts
|
|
479
|
-
/**
|
|
480
|
-
* Must remain non-empty; downstream code indexes `[0]` as the documented default.
|
|
481
|
-
*/
|
|
482
|
-
const pageFlowPresets = [
|
|
483
|
-
{
|
|
484
|
-
id: asPageFlowPresetId("flow:quiet"),
|
|
485
|
-
label: "Quiet",
|
|
486
|
-
boundaryStrategy: "quiet",
|
|
487
|
-
defaultBoundaryOptionId: noneBoundaryOption.id
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
id: asPageFlowPresetId("flow:balanced"),
|
|
491
|
-
label: "Balanced",
|
|
492
|
-
boundaryStrategy: "balanced",
|
|
493
|
-
defaultBoundaryOptionId: softBoundaryOption.id
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
id: asPageFlowPresetId("flow:expressive"),
|
|
497
|
-
label: "Expressive",
|
|
498
|
-
boundaryStrategy: "expressive",
|
|
499
|
-
defaultBoundaryOptionId: spaciousBoundaryOption.id
|
|
500
|
-
}
|
|
501
|
-
];
|
|
502
|
-
/**
|
|
503
|
-
* The break a join gets when nothing more specific applies. An unknown preset
|
|
504
|
-
* id (a stale or policy-owned one) falls back to the first boundary option,
|
|
505
|
-
* and `preset` is null so callers can tell the two apart.
|
|
506
|
-
*/
|
|
507
|
-
function pageFlowDefaultBoundary(pageFlowPresetId) {
|
|
508
|
-
const preset = pageFlowPresets.find((candidate) => candidate.id === pageFlowPresetId) ?? null;
|
|
509
|
-
return {
|
|
510
|
-
preset,
|
|
511
|
-
boundaryOptionId: preset?.defaultBoundaryOptionId ?? boundaryOptions[0].id
|
|
512
|
-
};
|
|
513
|
-
}
|
|
514
|
-
//#endregion
|
|
515
|
-
//#region ../theme-core/src/site-styles/joinTreatment.ts
|
|
516
|
-
/**
|
|
517
|
-
* The single rule set for which treatment a join gets. Candidates arrive in
|
|
518
|
-
* priority order; the first supported one wins.
|
|
519
|
-
*
|
|
520
|
-
* - `none` ends the search and yields no join.
|
|
521
|
-
* - A structured treatment the catalogue lacks falls through to the next one. When it was the user's
|
|
522
|
-
* pin, the pin is reported unsupported and the existing
|
|
523
|
-
* `pinned-boundary-option-unavailable` issue is raised.
|
|
524
|
-
*/
|
|
525
|
-
function resolveJoinTreatment(input) {
|
|
526
|
-
const boundaryId = makeBoundaryId(input.previousBlockId, input.nextBlockId);
|
|
527
|
-
const selection = selectCandidate(input.candidates);
|
|
528
|
-
const selectedOutcome = selection.kind === "selected" ? selection.outcome : { kind: "none" };
|
|
529
|
-
const pin = pinStatus(input.candidates, selectedOutcome);
|
|
530
|
-
const issues = pin.kind === "unsupported" ? [{
|
|
531
|
-
kind: "pinned-boundary-option-unavailable",
|
|
532
|
-
boundaryId,
|
|
533
|
-
presetId: pin.optionId,
|
|
534
|
-
feedback: "user-facing"
|
|
535
|
-
}] : [];
|
|
536
|
-
if (selection.kind === "exhausted") return {
|
|
537
|
-
join: null,
|
|
538
|
-
selectedSource: null,
|
|
539
|
-
pin,
|
|
540
|
-
issues
|
|
541
|
-
};
|
|
542
|
-
if (selection.outcome.kind === "none") return {
|
|
543
|
-
join: null,
|
|
544
|
-
selectedSource: selection.candidate.source,
|
|
545
|
-
pin,
|
|
546
|
-
issues
|
|
547
|
-
};
|
|
548
|
-
return {
|
|
549
|
-
selectedSource: selection.candidate.source,
|
|
550
|
-
join: {
|
|
551
|
-
boundaryId,
|
|
552
|
-
previousBlockId: input.previousBlockId,
|
|
553
|
-
nextBlockId: input.nextBlockId,
|
|
554
|
-
treatment: selection.outcome.treatment,
|
|
555
|
-
source: selection.candidate.source
|
|
556
|
-
},
|
|
557
|
-
pin,
|
|
558
|
-
issues
|
|
559
|
-
};
|
|
560
|
-
}
|
|
561
|
-
function pinStatus(candidates, selectedOutcome) {
|
|
562
|
-
const pinned = candidates.find((candidate) => candidate.source.kind === "user-pinned");
|
|
563
|
-
if (!pinned) return { kind: "none" };
|
|
564
|
-
return candidateOutcome(pinned.treatment).kind === "unsupported" ? {
|
|
565
|
-
kind: "unsupported",
|
|
566
|
-
optionId: fallbackOptionId(selectedOutcome)
|
|
567
|
-
} : { kind: "supported" };
|
|
568
|
-
}
|
|
569
|
-
function selectCandidate(candidates) {
|
|
570
|
-
for (const candidate of candidates) {
|
|
571
|
-
const outcome = candidateOutcome(candidate.treatment);
|
|
572
|
-
switch (outcome.kind) {
|
|
573
|
-
case "decorative":
|
|
574
|
-
case "none": return {
|
|
575
|
-
kind: "selected",
|
|
576
|
-
candidate,
|
|
577
|
-
outcome
|
|
578
|
-
};
|
|
579
|
-
case "unsupported": continue;
|
|
580
|
-
default: return assertNever(outcome, "Unhandled join candidate outcome");
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
return { kind: "exhausted" };
|
|
584
|
-
}
|
|
585
|
-
function candidateOutcome(treatment) {
|
|
586
|
-
if (treatment.kind === "none") return { kind: "none" };
|
|
587
|
-
const intent = transitionIntentForTreatment(treatment);
|
|
588
|
-
return intent ? {
|
|
589
|
-
kind: "decorative",
|
|
590
|
-
treatment: intent
|
|
591
|
-
} : { kind: "unsupported" };
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* Unavailable structured treatments use the selected catalogue option in the editor issue.
|
|
595
|
-
*/
|
|
596
|
-
function fallbackOptionId(outcome) {
|
|
597
|
-
switch (outcome.kind) {
|
|
598
|
-
case "decorative": return boundaryOptionForTransitionIntent(outcome.treatment).id;
|
|
599
|
-
case "none": return noneBoundaryOption.id;
|
|
600
|
-
default: return assertNever(outcome, "Unhandled join fallback outcome");
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
function requiresPhoto(option) {
|
|
604
|
-
const treatment = boundaryTreatmentForBoundaryOptionId(option);
|
|
605
|
-
return treatment?.kind === "wave-edge" && treatment.echo === true;
|
|
606
|
-
}
|
|
607
|
-
/**
|
|
608
|
-
* A rule claims blocks on its side before later rules on that side count their first occurrence.
|
|
609
|
-
* Claims are per side, so one style can join into a block and out of it.
|
|
610
|
-
*/
|
|
611
|
-
function matchedRuleBlocks(rule, blocks, claimed) {
|
|
612
|
-
const matches = blocks.flatMap((block, index) => {
|
|
613
|
-
if (claimed.has(`${rule.side}:${index}`) || rule.position === "opening" && index !== 0) return [];
|
|
614
|
-
return (rule.match.kind === "look" ? block.lookId !== null && rule.match.looks.includes(block.lookId) && (!requiresPhoto(rule.join) || block.paint === "photo") : block.paint === "paint" && rule.match.grounds.includes(block.ground)) ? [index] : [];
|
|
615
|
-
});
|
|
616
|
-
return rule.occurrence === "first" ? matches.slice(0, 1) : matches;
|
|
617
|
-
}
|
|
618
|
-
function pageRuleOptions(rules, blocks) {
|
|
619
|
-
return rules.reduce((state, rule) => {
|
|
620
|
-
const matched = matchedRuleBlocks(rule, blocks, state.claimed);
|
|
621
|
-
const options = matched.map((index) => rule.side === "after" ? index : index - 1).filter((index) => index >= 0 && index < blocks.length - 1 && !state.options.has(index));
|
|
622
|
-
return {
|
|
623
|
-
claimed: /* @__PURE__ */ new Set([...state.claimed, ...matched.map((index) => `${rule.side}:${index}`)]),
|
|
624
|
-
options: new Map([...state.options, ...options.map((index) => [index, rule.join])])
|
|
625
|
-
};
|
|
626
|
-
}, {
|
|
627
|
-
claimed: /* @__PURE__ */ new Set(),
|
|
628
|
-
options: /* @__PURE__ */ new Map()
|
|
629
|
-
}).options;
|
|
630
|
-
}
|
|
631
|
-
/** Section facts are read only by style rules; a style without rules needs none resolved. */
|
|
632
|
-
function siteStyleHasJoinRules(siteStyleId) {
|
|
633
|
-
return (getCuratedSiteStyle(siteStyleId)?.looks.joinRules?.length ?? 0) > 0;
|
|
634
|
-
}
|
|
635
|
-
/** The page-wide owner of style rules, automatic defaults and owner pins. */
|
|
636
|
-
function resolvePageJoins(input) {
|
|
637
|
-
const looks = getCuratedSiteStyle(input.siteStyleId)?.looks;
|
|
638
|
-
const options = pageRuleOptions(looks?.joinRules ?? [], input.blocks);
|
|
639
|
-
return input.blocks.flatMap((previous, index) => {
|
|
640
|
-
const next = input.blocks[index + 1];
|
|
641
|
-
if (!next) return [];
|
|
642
|
-
const option = options.get(index) ?? (looks?.kind === "offers" ? looks.defaultJoin : void 0);
|
|
643
|
-
const defaults = [...option ? [{
|
|
644
|
-
source: {
|
|
645
|
-
kind: "site-style-default",
|
|
646
|
-
siteStyleId: input.siteStyleId
|
|
647
|
-
},
|
|
648
|
-
treatment: requireDefaultBoundaryTreatment(option)
|
|
649
|
-
}] : [], pageFlowDefaultJoinCandidate(input.pageFlowPresetId)];
|
|
650
|
-
const ids = {
|
|
651
|
-
previousBlockId: previous.blockId,
|
|
652
|
-
nextBlockId: next.blockId
|
|
653
|
-
};
|
|
654
|
-
const pin = input.choiceForBoundary(previous.blockId, next.blockId);
|
|
655
|
-
const automatic = resolveJoinTreatment({
|
|
656
|
-
...ids,
|
|
657
|
-
candidates: defaults
|
|
658
|
-
});
|
|
659
|
-
const resolution = pin.kind === "user-pinned" ? resolveJoinTreatment({
|
|
660
|
-
...ids,
|
|
661
|
-
candidates: [{
|
|
662
|
-
source: { kind: "user-pinned" },
|
|
663
|
-
treatment: pin.value
|
|
664
|
-
}, ...defaults]
|
|
665
|
-
}) : automatic;
|
|
666
|
-
return [{
|
|
667
|
-
...ids,
|
|
668
|
-
automatic,
|
|
669
|
-
resolution,
|
|
670
|
-
pin
|
|
671
|
-
}];
|
|
672
|
-
});
|
|
673
|
-
}
|
|
674
|
-
/** The last-resort page-design default, also the source of a fully unsupported join. */
|
|
675
|
-
function pageFlowDefaultJoinCandidate(pageFlowPresetId) {
|
|
676
|
-
const pageFlow = pageFlowDefaultBoundary(pageFlowPresetId);
|
|
677
|
-
return {
|
|
678
|
-
source: {
|
|
679
|
-
kind: "page-flow-default",
|
|
680
|
-
pageFlowPresetId: pageFlow.preset?.id ?? null
|
|
681
|
-
},
|
|
682
|
-
treatment: requireDefaultBoundaryTreatment(pageFlow.boundaryOptionId)
|
|
683
|
-
};
|
|
684
|
-
}
|
|
685
|
-
/** Current site-style and page-flow catalogues must reference an available boundary. */
|
|
686
|
-
function requireDefaultBoundaryTreatment(optionId) {
|
|
687
|
-
const treatment = boundaryTreatmentForBoundaryOptionId(optionId);
|
|
688
|
-
if (!treatment) throw new Error(`Unknown default boundary option: ${optionId}`);
|
|
689
|
-
return treatment;
|
|
690
|
-
}
|
|
691
|
-
//#endregion
|
|
692
477
|
//#region ../theme-core/src/site-styles/previewCompiler.ts
|
|
693
478
|
const previewCustomizePurpose = "preview-customize";
|
|
694
479
|
/**
|
|
@@ -739,18 +524,23 @@ function compileEditorModelRuntime(input) {
|
|
|
739
524
|
}
|
|
740
525
|
/** The editor boundary's effective break as an intent-only join; none for no break. */
|
|
741
526
|
function runtimeJoinForEditorBoundary(boundary) {
|
|
742
|
-
const treatment = boundary.availableBreaks.find((candidate) => candidate.id === boundary.breakChoice.effectiveValue)?.
|
|
527
|
+
const treatment = boundary.availableBreaks.find((candidate) => candidate.id === boundary.breakChoice.effectiveValue)?.intent;
|
|
743
528
|
return treatment && isDecorativeTransitionIntent(treatment) ? [{
|
|
744
529
|
previousBlockId: boundary.previousBlockId,
|
|
745
530
|
nextBlockId: boundary.nextBlockId,
|
|
746
|
-
treatment
|
|
531
|
+
treatment,
|
|
532
|
+
...boundary.effectiveEdge ? { edge: boundary.effectiveEdge } : {}
|
|
747
533
|
}] : [];
|
|
748
534
|
}
|
|
749
535
|
function applyCompiledRuntimeFieldsToContent(content, fields) {
|
|
750
536
|
const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, preserveArrangementSectionSpacing(content, fields)) : fields;
|
|
751
537
|
return {
|
|
752
538
|
...stripCompiledRuntimeStyleFields(content),
|
|
753
|
-
...runtimeFields
|
|
539
|
+
...runtimeFields,
|
|
540
|
+
...runtimeFields?._sectionStyles ? { _sectionStyles: {
|
|
541
|
+
...sectionOwnerStyleChoices(content),
|
|
542
|
+
...runtimeFields._sectionStyles
|
|
543
|
+
} } : {}
|
|
754
544
|
};
|
|
755
545
|
}
|
|
756
546
|
/**
|
|
@@ -834,7 +624,7 @@ function resolveEditorArrangementLook(selection, mode, pin) {
|
|
|
834
624
|
//#region ../theme-core/src/site-styles/pageJoinFacts.ts
|
|
835
625
|
/** Compile fields, then project the render planner's decisions in authored order. No paint decisions live here. */
|
|
836
626
|
function withPageJoinFacts(model, resolution) {
|
|
837
|
-
if (resolution === null
|
|
627
|
+
if (resolution === null) return model.blocks;
|
|
838
628
|
const compiled = compileEditorModelRuntime({
|
|
839
629
|
editorModel: model,
|
|
840
630
|
...resolution
|
|
@@ -959,6 +749,43 @@ function editorEffectiveLayout(input) {
|
|
|
959
749
|
});
|
|
960
750
|
}
|
|
961
751
|
//#endregion
|
|
752
|
+
//#region ../theme-core/src/site-styles/sectionBreakOffer.ts
|
|
753
|
+
const noneFamilyOffer = {
|
|
754
|
+
family: "none",
|
|
755
|
+
label: "None",
|
|
756
|
+
variants: [],
|
|
757
|
+
layers: [1],
|
|
758
|
+
colourPresets: ["fade"]
|
|
759
|
+
};
|
|
760
|
+
/** The families offered, in catalogue order, from the style's admitted breaks and its edge support. */
|
|
761
|
+
function sectionBreakOffer(availableBreaks, edges) {
|
|
762
|
+
const offered = new Set(availableBreaks.map((option) => option.id));
|
|
763
|
+
return sectionTransitionFamilies.flatMap((family) => {
|
|
764
|
+
const variants = family.variants.filter((variant) => offered.has(variant.boundaryOption.id));
|
|
765
|
+
if (variants.length === 0) return [];
|
|
766
|
+
if (family.id === "none") return [noneFamilyOffer];
|
|
767
|
+
const support = edges.supported.find((entry) => entry.family === family.id);
|
|
768
|
+
if (!support) return [];
|
|
769
|
+
return [{
|
|
770
|
+
family: family.id,
|
|
771
|
+
label: family.label,
|
|
772
|
+
variants: variants.map((variant) => ({
|
|
773
|
+
variant: variant.boundaryOption.treatment.variant ?? variant.variantId,
|
|
774
|
+
label: variant.label
|
|
775
|
+
})),
|
|
776
|
+
layers: layerRange(support.minLayers ?? 1, support.maxLayers),
|
|
777
|
+
colourPresets: requireNonEmptyReadonlyArray(support.colourPresets, `Edge support for ${family.id} offers no colours.`)
|
|
778
|
+
}];
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
function layerRange(minimum, maximum) {
|
|
782
|
+
return requireNonEmptyReadonlyArray([
|
|
783
|
+
1,
|
|
784
|
+
2,
|
|
785
|
+
3
|
|
786
|
+
].filter((layers) => layers >= minimum && layers <= maximum), `Edge support allows no layers between ${minimum} and ${maximum}.`);
|
|
787
|
+
}
|
|
788
|
+
//#endregion
|
|
962
789
|
//#region ../theme-core/src/site-styles/pageDesignEditorBoundaries.ts
|
|
963
790
|
function buildBoundaryReadModels(input) {
|
|
964
791
|
return boundaryReadModels({
|
|
@@ -974,6 +801,7 @@ function boundaryPinIssues(input) {
|
|
|
974
801
|
if (!next) return [];
|
|
975
802
|
const choice = resolvePageDesignBoundaryChoice(input.intent, previous.blockId, next.blockId);
|
|
976
803
|
return choice.kind === "user-pinned" ? resolveJoinTreatment({
|
|
804
|
+
siteStyleId: input.siteStyleId,
|
|
977
805
|
previousBlockId: previous.blockId,
|
|
978
806
|
nextBlockId: next.blockId,
|
|
979
807
|
candidates: [{
|
|
@@ -984,33 +812,31 @@ function boundaryPinIssues(input) {
|
|
|
984
812
|
});
|
|
985
813
|
}
|
|
986
814
|
function boundaryReadModels(input) {
|
|
987
|
-
const
|
|
815
|
+
const availableBreaks = boundaryOptionsForStyle(input.siteStyleId);
|
|
816
|
+
const breakOffer = sectionBreakOffer(availableBreaks, siteStyleEdges(input.siteStyleId));
|
|
988
817
|
return resolvePageJoins({
|
|
989
818
|
...input,
|
|
990
819
|
blocks: input.blocks.map((block) => ({
|
|
991
820
|
blockId: block.blockId,
|
|
992
|
-
...
|
|
821
|
+
...requireJoinFacts(block)
|
|
993
822
|
}))
|
|
994
823
|
}).map((decision) => {
|
|
995
|
-
const projection = decision.pin.kind === "user-pinned" ? pinnedBreakChoice(decision.resolution) : autoBreakChoice(decision.automatic, input.pageFlowPresetId);
|
|
824
|
+
const projection = decision.pin.kind === "user-pinned" ? pinnedBreakChoice(decision.resolution, decision.pin.value) : autoBreakChoice(decision.automatic, input.pageFlowPresetId);
|
|
996
825
|
return {
|
|
997
826
|
boundary: {
|
|
998
827
|
boundaryId: makeBoundaryId(decision.previousBlockId, decision.nextBlockId),
|
|
999
828
|
previousBlockId: decision.previousBlockId,
|
|
1000
829
|
nextBlockId: decision.nextBlockId,
|
|
1001
830
|
breakChoice: projection.breakChoice,
|
|
1002
|
-
|
|
831
|
+
...decision.pin.kind === "user-pinned" ? { authoredEdge: decision.pin.value } : {},
|
|
832
|
+
...decision.resolution.join ? { effectiveEdge: decision.resolution.join.edge } : {},
|
|
833
|
+
availableBreaks,
|
|
834
|
+
breakOffer
|
|
1003
835
|
},
|
|
1004
836
|
issues: projection.issues
|
|
1005
837
|
};
|
|
1006
838
|
});
|
|
1007
839
|
}
|
|
1008
|
-
/** No rule reads these, so a style without rules skips the render plan that would supply them. */
|
|
1009
|
-
const unreadJoinFacts = {
|
|
1010
|
-
lookId: null,
|
|
1011
|
-
ground: "light",
|
|
1012
|
-
paint: "other"
|
|
1013
|
-
};
|
|
1014
840
|
function requireJoinFacts(block) {
|
|
1015
841
|
if (!block.joinFacts) throw new Error(`Boundary facts were not resolved for ${block.blockId}`);
|
|
1016
842
|
return block.joinFacts;
|
|
@@ -1025,7 +851,7 @@ function autoBreakChoice(resolution, pageFlowPresetId) {
|
|
|
1025
851
|
issues: resolution.issues
|
|
1026
852
|
};
|
|
1027
853
|
}
|
|
1028
|
-
function pinnedBreakChoice(resolution) {
|
|
854
|
+
function pinnedBreakChoice(resolution, pinned) {
|
|
1029
855
|
const effectiveValue = effectiveBreak(resolution);
|
|
1030
856
|
switch (resolution.pin.kind) {
|
|
1031
857
|
case "unsupported": return {
|
|
@@ -1041,7 +867,7 @@ function pinnedBreakChoice(resolution) {
|
|
|
1041
867
|
case "none": return {
|
|
1042
868
|
breakChoice: {
|
|
1043
869
|
kind: "user-pinned",
|
|
1044
|
-
value:
|
|
870
|
+
value: boundaryOptionIdForTreatment(pinned) ?? noneBoundaryOption.id,
|
|
1045
871
|
status: "supported",
|
|
1046
872
|
effectiveValue
|
|
1047
873
|
},
|
|
@@ -1115,6 +941,7 @@ function buildPageDesignEditorReadModel(input) {
|
|
|
1115
941
|
pageFlowIssue,
|
|
1116
942
|
...blockResults.flatMap((result) => result.issues),
|
|
1117
943
|
...input.joinResolution === null ? boundaryPinIssues({
|
|
944
|
+
siteStyleId: input.siteStyleId,
|
|
1118
945
|
intent: input.intent,
|
|
1119
946
|
blocks
|
|
1120
947
|
}) : boundaryResults.flatMap((result) => result.issues)
|
|
@@ -1549,6 +1376,7 @@ function blockDesignInputsForDefinition(blockKind, definition, content) {
|
|
|
1549
1376
|
const resolveRuntimeJoinFacts = (blocks, palette, siteStyleId) => {
|
|
1550
1377
|
const plan = buildPageRenderPlan({
|
|
1551
1378
|
page: { blocks: blocks.map(joinPresentationBlock) },
|
|
1379
|
+
palette,
|
|
1552
1380
|
siteStyleId,
|
|
1553
1381
|
audience: "public",
|
|
1554
1382
|
runtimeJoins: void 0,
|
|
@@ -1565,20 +1393,13 @@ const resolveRuntimeJoinFacts = (blocks, palette, siteStyleId) => {
|
|
|
1565
1393
|
ground: "light",
|
|
1566
1394
|
paint: "other"
|
|
1567
1395
|
}];
|
|
1568
|
-
const section = entry.sectionDecision
|
|
1569
|
-
|
|
1570
|
-
palette,
|
|
1571
|
-
runtime: null,
|
|
1572
|
-
look: null,
|
|
1573
|
-
blockKind: block.blockKind,
|
|
1574
|
-
arrangementKey: void 0,
|
|
1575
|
-
position: 0,
|
|
1576
|
-
placement: "page-wide"
|
|
1577
|
-
});
|
|
1396
|
+
const section = entry.sectionDecision;
|
|
1397
|
+
if (!section) throw new Error("Render planner did not decide the section");
|
|
1578
1398
|
return [block.blockId, {
|
|
1579
1399
|
lookId: entry.sectionDecision?.lookId ?? block.lookId,
|
|
1580
1400
|
ground: section.ground,
|
|
1581
|
-
|
|
1401
|
+
groundName: section.groundName ?? section.surfaceToken,
|
|
1402
|
+
paint: section.paintKind
|
|
1582
1403
|
}];
|
|
1583
1404
|
}));
|
|
1584
1405
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as rethrowClientFrameworkSignal, l as isSupportedLoaderEndpoint, o as encodePublicProductCategorySelector, r as findFrameworkSignal, t as materializeEntriesMedia } from "./responseMedia-
|
|
1
|
+
import { r as parseSurfaceTree } from "./accessibleSurfaces-CZ7pLuJ7.mjs";
|
|
2
|
+
import { i as rethrowClientFrameworkSignal, l as isSupportedLoaderEndpoint, o as encodePublicProductCategorySelector, r as findFrameworkSignal, t as materializeEntriesMedia } from "./responseMedia-D6F1tvIm.mjs";
|
|
3
3
|
import { f as parseSiteId, t as publicMapLocationParamsSchema } from "./mapLocation-MDDSubTp.mjs";
|
|
4
4
|
import { a as ApiEnvelopeError, c as unwrapResponse, i as ApiRequestError, l as CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS, n as attachResilienceStatusToError, o as extractApiEnvelopeErrorDetails, s as isApiError, t as RiverbankApiError, u as defineEndpointDefinitions } from "./error-f4g44bKx.mjs";
|
|
5
|
-
import { t as SDK_VERSION } from "./version-
|
|
5
|
+
import { t as SDK_VERSION } from "./version-BY48jPoe.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
/**
|
|
8
8
|
* How long a rendered page may hold availability it read through the batch
|
|
@@ -855,8 +855,7 @@ const arrangementScheduleCommandSchema = z.discriminatedUnion("kind", [z.object(
|
|
|
855
855
|
weekday,
|
|
856
856
|
localStart,
|
|
857
857
|
effectiveFrom: localDate,
|
|
858
|
-
bookAhead: z.number().int().min(0).max(52)
|
|
859
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
858
|
+
bookAhead: z.number().int().min(0).max(52)
|
|
860
859
|
}).strict()]);
|
|
861
860
|
const arrangementEndSchema = z.discriminatedUnion("kind", [
|
|
862
861
|
z.object({ kind: z.literal("open") }).strict(),
|
|
@@ -869,17 +868,14 @@ const arrangementEndSchema = z.discriminatedUnion("kind", [
|
|
|
869
868
|
sessions: z.number().int().min(1).max(1e4)
|
|
870
869
|
}).strict()
|
|
871
870
|
]);
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
z.
|
|
879
|
-
|
|
880
|
-
sendOffsetMinutes: z.number().int().min(1).max(525600)
|
|
881
|
-
}).strict()
|
|
882
|
-
]);
|
|
871
|
+
/**
|
|
872
|
+
* How a session no package covers gets chased. What pays for each session isn't chosen: it uses a
|
|
873
|
+
* package the client holds that covers it, soonest-expiring first.
|
|
874
|
+
*/
|
|
875
|
+
const arrangementOwedFollowUpSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("direct") }).strict(), z.object({
|
|
876
|
+
kind: z.literal("payment_link"),
|
|
877
|
+
sendOffsetMinutes: z.number().int().min(1).max(525600)
|
|
878
|
+
}).strict()]);
|
|
883
879
|
z.object({
|
|
884
880
|
effectiveFrom: localDate,
|
|
885
881
|
pattern: arrangementPatternSchema
|
|
@@ -897,17 +893,15 @@ const createClientArrangementSchema = z.object({
|
|
|
897
893
|
timezone: z.string().min(1),
|
|
898
894
|
holdsTime: z.boolean(),
|
|
899
895
|
end: arrangementEndSchema,
|
|
900
|
-
|
|
896
|
+
owedFollowUp: arrangementOwedFollowUpSchema,
|
|
901
897
|
schedule: arrangementSetUpScheduleSchema,
|
|
902
|
-
bookAhead: z.number().int().min(0).max(52)
|
|
903
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
898
|
+
bookAhead: z.number().int().min(0).max(52)
|
|
904
899
|
}).strict();
|
|
905
900
|
/** The UI selects the next N dates from get.dates, then retains this body for retry. */
|
|
906
901
|
const bookNextArrangementSchema = z.object({
|
|
907
902
|
...operation,
|
|
908
903
|
confirmation: z.string().optional(),
|
|
909
|
-
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once.")
|
|
910
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
904
|
+
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once.")
|
|
911
905
|
}).strict();
|
|
912
906
|
const arrangementAwaySchema = z.object({
|
|
913
907
|
...operation,
|
|
@@ -922,10 +916,8 @@ const arrangementChangeFromSchema = z.object({
|
|
|
922
916
|
const arrangementOneWeekSchema = z.object({
|
|
923
917
|
...operation,
|
|
924
918
|
occurrenceDate: localDate,
|
|
925
|
-
startAt: z.iso.datetime({ offset: true })
|
|
926
|
-
|
|
927
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
928
|
-
}).strict().refine((value) => Date.parse(value.endAt) > Date.parse(value.startAt), "Choose an end after the start.");
|
|
919
|
+
startAt: z.iso.datetime({ offset: true })
|
|
920
|
+
}).strict();
|
|
929
921
|
/**
|
|
930
922
|
* Ending all of it, or one day: that day stops after `lastDate`, its bookings after then are
|
|
931
923
|
* cancelled, and the other days carry on.
|
|
@@ -950,7 +942,7 @@ const arrangementEditSchema = z.object({
|
|
|
950
942
|
expectedUpdatedAt: z.string().min(1),
|
|
951
943
|
serviceId: z.string().uuid(),
|
|
952
944
|
holdsTime: z.boolean(),
|
|
953
|
-
|
|
945
|
+
owedFollowUp: arrangementOwedFollowUpSchema
|
|
954
946
|
}).strict();
|
|
955
947
|
z.discriminatedUnion("kind", [
|
|
956
948
|
z.object({
|
|
@@ -1102,11 +1094,7 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
|
|
|
1102
1094
|
outcome: z.literal("refused"),
|
|
1103
1095
|
appointmentId: z.string().optional()
|
|
1104
1096
|
}), z.discriminatedUnion("code", [
|
|
1105
|
-
z.object({ code: z.enum([
|
|
1106
|
-
"package_shortfall",
|
|
1107
|
-
"not_available",
|
|
1108
|
-
"client_not_found"
|
|
1109
|
-
]) }),
|
|
1097
|
+
z.object({ code: z.enum(["not_available", "client_not_found"]) }),
|
|
1110
1098
|
z.object({
|
|
1111
1099
|
code: z.literal("clash"),
|
|
1112
1100
|
customerFirstName: z.string().nullable(),
|
|
@@ -4522,6 +4510,35 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
4522
4510
|
]
|
|
4523
4511
|
}
|
|
4524
4512
|
});
|
|
4513
|
+
//#endregion
|
|
4514
|
+
//#region ../api/src/portalMembershipEndpointDefinitions.ts
|
|
4515
|
+
/**
|
|
4516
|
+
* Customer portal endpoints for a membership: paying an overdue payment (#1825),
|
|
4517
|
+
* cancelling at the end of the period, and resuming.
|
|
4518
|
+
*/
|
|
4519
|
+
const PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
4520
|
+
portalMembershipPayment: {
|
|
4521
|
+
path: "/portal/memberships/{customerMembershipId}/payment",
|
|
4522
|
+
method: "POST",
|
|
4523
|
+
auth: "public",
|
|
4524
|
+
responseKind: "json",
|
|
4525
|
+
errors: []
|
|
4526
|
+
},
|
|
4527
|
+
portalCancelMembershipAtPeriodEnd: {
|
|
4528
|
+
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
4529
|
+
method: "POST",
|
|
4530
|
+
auth: "public",
|
|
4531
|
+
responseKind: "json",
|
|
4532
|
+
errors: []
|
|
4533
|
+
},
|
|
4534
|
+
portalResumeMembership: {
|
|
4535
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
4536
|
+
method: "POST",
|
|
4537
|
+
auth: "public",
|
|
4538
|
+
responseKind: "json",
|
|
4539
|
+
errors: []
|
|
4540
|
+
}
|
|
4541
|
+
});
|
|
4525
4542
|
const API_ENDPOINTS$1 = {
|
|
4526
4543
|
...PAGE_SECTION_LOOK_ENDPOINT_DEFINITIONS,
|
|
4527
4544
|
...PAGE_JOURNAL_ENDPOINT_DEFINITIONS,
|
|
@@ -7733,6 +7750,14 @@ const API_ENDPOINTS$1 = {
|
|
|
7733
7750
|
auth: "public",
|
|
7734
7751
|
responseKind: "text"
|
|
7735
7752
|
},
|
|
7753
|
+
getPublicCourseCalendarIcs: {
|
|
7754
|
+
path: "/public/sites/{siteId}/bookings/courses/{token}/course.ics",
|
|
7755
|
+
method: "GET",
|
|
7756
|
+
tags: ["public-course-calendar-{siteId}"],
|
|
7757
|
+
auth: "public",
|
|
7758
|
+
responseKind: "text",
|
|
7759
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
7760
|
+
},
|
|
7736
7761
|
getPublicAppointmentCalendarIcs: {
|
|
7737
7762
|
path: "/public/sites/{siteId}/bookings/appointments/{token}/appointment.ics",
|
|
7738
7763
|
method: "GET",
|
|
@@ -8810,6 +8835,7 @@ const API_ENDPOINTS$1 = {
|
|
|
8810
8835
|
errors: []
|
|
8811
8836
|
},
|
|
8812
8837
|
...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS,
|
|
8838
|
+
...PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS,
|
|
8813
8839
|
createBookingCustomer: {
|
|
8814
8840
|
path: "/sites/{siteId}/bookings/customers",
|
|
8815
8841
|
method: "POST",
|
|
@@ -10127,19 +10153,6 @@ const API_ENDPOINTS$1 = {
|
|
|
10127
10153
|
auth: "public",
|
|
10128
10154
|
responseKind: "json"
|
|
10129
10155
|
},
|
|
10130
|
-
portalCancelMembershipAtPeriodEnd: {
|
|
10131
|
-
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
10132
|
-
method: "POST",
|
|
10133
|
-
auth: "public",
|
|
10134
|
-
responseKind: "json"
|
|
10135
|
-
},
|
|
10136
|
-
portalResumeMembership: {
|
|
10137
|
-
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
10138
|
-
method: "POST",
|
|
10139
|
-
auth: "public",
|
|
10140
|
-
responseKind: "json",
|
|
10141
|
-
errors: []
|
|
10142
|
-
},
|
|
10143
10156
|
portalSendMagicLink: {
|
|
10144
10157
|
path: "/portal/auth/send-magic-link",
|
|
10145
10158
|
method: "POST",
|
|
@@ -11838,6 +11851,10 @@ function publicSiteReadDefinition(definition) {
|
|
|
11838
11851
|
* entries written in the old shape until publish or a live success rewrites
|
|
11839
11852
|
* them.
|
|
11840
11853
|
*
|
|
11854
|
+
* - 10: compiled arrangement runtimes declare rhythm progression (#1872 strata).
|
|
11855
|
+
* - 9: edge pins use family, variant, layers and colourPreset (#1872).
|
|
11856
|
+
* - 8: section decisions resolve stored ground identity and independent owner treatments (#1872).
|
|
11857
|
+
* - 7: compiled arrangement runtimes carry named grounds (`grounds`, `rhythm` as ResolvedGround) (#1872).
|
|
11841
11858
|
* - 6: resolved page reads carry their own mailing-list projection (`mailingList`).
|
|
11842
11859
|
* - 5: page reads carry the admitted destination envelope and availability dependencies.
|
|
11843
11860
|
* - 4: owned surface inputs use the shared revision transport envelope (#1627).
|
|
@@ -11845,7 +11862,7 @@ function publicSiteReadDefinition(definition) {
|
|
|
11845
11862
|
* - 2: pages carry intent-only `runtimeJoins` in place of compiled
|
|
11846
11863
|
* `runtimeBoundaries` (issue 1422).
|
|
11847
11864
|
*/
|
|
11848
|
-
const DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION =
|
|
11865
|
+
const DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION = 10;
|
|
11849
11866
|
function toNonEmptyString(value) {
|
|
11850
11867
|
if (value === null || value === void 0) return null;
|
|
11851
11868
|
if (typeof value !== "string" && typeof value !== "number" && typeof value !== "boolean") return null;
|
|
@@ -12879,7 +12896,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
12879
12896
|
const result = await reader({
|
|
12880
12897
|
cacheKey: plan.cacheKey,
|
|
12881
12898
|
endpoint: plan.endpoint,
|
|
12882
|
-
payloadSchemaVersion:
|
|
12899
|
+
payloadSchemaVersion: 10
|
|
12883
12900
|
});
|
|
12884
12901
|
if (result.kind === "miss") return {
|
|
12885
12902
|
kind: "miss",
|
|
@@ -12928,7 +12945,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
12928
12945
|
payload,
|
|
12929
12946
|
siteId: plan.siteId ?? getRuntimePayloadSiteId(payload),
|
|
12930
12947
|
...publishedCacheLifetime(plan, payload),
|
|
12931
|
-
payloadSchemaVersion:
|
|
12948
|
+
payloadSchemaVersion: 10,
|
|
12932
12949
|
writeReason: "live_success"
|
|
12933
12950
|
});
|
|
12934
12951
|
} catch {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-
|
|
1
|
+
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-BbImAsVs.mjs";
|
|
2
2
|
export { activeThemeSchema, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, contentConfigSchema, deployConfigSchema, fieldSelectOptionSchema, layoutConfigSchema, loaderParamBindingSchema, loaderParamValueSchema, loaderWhenValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkSiteUrlSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sdkWorkflowConfigSchema, sdkWorkflowConfirmationSchema, sdkWorkflowEndpointSchema, sdkWorkflowIdSchema, sdkWorkflowTriggerSchema, sdkWorkflowsSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, syncConfigSchema, themeSourceSchema, validateFieldIdConflicts };
|
package/dist/server/config.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-
|
|
1
|
+
import { ps as isCanonicalRichTextDoc } from "./registry-DD_s7l3Y.mjs";
|
|
2
|
+
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-BbImAsVs.mjs";
|
|
3
3
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
//#region src/config/bindings.ts
|
|
5
5
|
function fieldBinding(path) {
|