@riverbankcms/sdk 0.173.0 → 0.174.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 +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-ZlNEIvlU.d.ts → client-Cr-sOeSl.d.ts} +1 -1
- package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CJ2O03nB.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-C611wjIL.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-CJzs-yIJ.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-Dq_AboWN.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-KXh8FQ2s.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-DutLU2d2.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-BnatulTs.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-DW3eeNph.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-Bysk4QPI.d.ts → request-Be1E-H-V.d.ts} +3559 -1967
- package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +9 -9
- 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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +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 +4 -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 +13 -8
- 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 +5 -5
- 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 -204
- package/dist/_dts/{types-BwitGNTl.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-BoEk9ZON.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-kpp8XyXv.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-ChftKX-o.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CAyoiAGD.mjs} +10 -10
- package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +5 -5
- package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-BiWQc28-.mjs} +9 -9
- package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-B_ytWQtn.mjs} +7 -7
- package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-C-mxXpX_.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-CN7BjGgC.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +11 -10
- package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-D46Dmr7b.mjs → Page--xJ23nA5.mjs} +629 -494
- package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-D391QRNc.mjs} +9 -8
- package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
- package/dist/client/{accordion-P8xcfKxq.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/{bookability-SargNwlO.mjs → bookability-CE637yDE.mjs} +1 -1
- package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-0Q4fjw_K.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-1J-3ftxF.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +158 -7
- package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
- package/dist/client/{course-CmOuoZHN.mjs → course-q1sA4Cj-.mjs} +2 -2
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-lL-YRApN.mjs → display-D8MW2b0e.mjs} +618 -397
- package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-b5TLxntR.mjs} +11 -11
- package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-DO6qKH3M.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D12ljYiX.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-CMx4-XlG.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-ClcfWpvM.mjs} +28 -26
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +17 -13
- package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-DidgH7ow.mjs} +2 -2
- package/dist/client/{shop-Cy6xXDM7.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-CbbdjWWd.mjs} +13 -13
- package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-CKFORzux.mjs} +13 -20
- package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-CtZiIj9q.mjs} +24 -14
- package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
- package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BZU5DWZQ.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-Sw075FOY.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-D6yebI4r.mjs → view-CxUpgcM6.mjs} +12 -10
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-BFbSrDbi.mjs} +57 -144
- package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +758 -1279
- package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-BW3Qpoa_.mjs} +50 -30
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -19
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-BUqAh1FL.mjs} +100626 -51720
- package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-DV6SeCNv.mjs} +152 -2
- package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-Ch2FKAvU.mjs} +10 -5
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Dge4sqel.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-VVIQjC4r.mjs → client-aYRTVneD.mjs} +155 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-Cgpfr44e.mjs} +8 -9
- package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-CkFTsxkd.mjs} +25 -17
- package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +14 -6
- package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-B8yLPjs0.mjs} +371 -56
- package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-CfOXFKYG.mjs} +2 -2
- package/dist/server/{registry-BMCfcev6.mjs → registry-34rkAfaU.mjs} +608 -3131
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-EgTtnTcY.mjs → validation-CLVKoJrX.mjs} +4 -4
- package/dist/server/{version-LjgU0Cq1.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +935 -271
- package/package.json +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as deriveSurfaceMutedColor, B as preparePaletteColourIndex, Ct as paletteColorsFromEntries, D as colourFamily, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, F as pickBlackOrWhiteTextColor, G as hexToRgb, H as solidPaint, I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as assertContrastRatio, N as onColorTokenName, O as oklabDistance, R as contrastRatio, Tt as paletteModeSchema, U as worstContrast, V as relativeLuminance, W as featuresFromHex, X as rgbToHex, Y as oklchToOklab, _t as PALETTE_TOKEN_NAMES, d as generateShadowValue, j as expandPalette, k as deriveSurfaceDecorationColors, l as ELEVATION_OFFSET, n as compileButtonColourStates, o as BORDER_RADIUS_MAP, p as STANDARD_BUTTON_SURFACE_POLICY,
|
|
1
|
+
import { A as deriveSurfaceMutedColor, B as preparePaletteColourIndex, Ct as paletteColorsFromEntries, D as colourFamily, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, F as pickBlackOrWhiteTextColor, G as hexToRgb, H as solidPaint, I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as assertContrastRatio, N as onColorTokenName, O as oklabDistance, R as contrastRatio, Tt as paletteModeSchema, U as worstContrast, V as relativeLuminance, W as featuresFromHex, X as rgbToHex, Y as oklchToOklab, _t as PALETTE_TOKEN_NAMES, d as generateShadowValue, j as expandPalette, k as deriveSurfaceDecorationColors, l as ELEVATION_OFFSET, mt as rgbColorValue, n as compileButtonColourStates, o as BORDER_RADIUS_MAP, p as STANDARD_BUTTON_SURFACE_POLICY, q as oklabToSrgb, s as BORDER_WIDTH_MAP, t as buttonStateBorder, tt as completeSurfaceForegrounds, u as FONT_SIZE_MAP, w as opaqueButtonColourTokenSchema, x as buttonSystemSchema, xt as normalizePaletteHex, yt as hexColorSchema, z as maxContrastBlackOrWhite } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region ../theme-core/src/palette/colors.ts
|
|
4
4
|
const PALETTE_VALUE_KEY_PREFIX = "palette-value:v1|";
|
|
@@ -342,6 +342,14 @@ function inkFrom(family, paint, ratio, maxDistance = BRAND_INK_MAX_DELTA_E) {
|
|
|
342
342
|
}
|
|
343
343
|
//#endregion
|
|
344
344
|
//#region ../theme-core/src/surfaces/surfaceInks.ts
|
|
345
|
+
/** Lines and focus rings are graphics: WCAG non-text contrast. */
|
|
346
|
+
const GRAPHIC_MIN_CONTRAST_RATIO = 3;
|
|
347
|
+
/**
|
|
348
|
+
* The palette token the control edge ink is solved from. Input styles whose
|
|
349
|
+
* border uses another token keep their own colour, since this ink would carry
|
|
350
|
+
* the wrong hue for them.
|
|
351
|
+
*/
|
|
352
|
+
const CONTROL_EDGE_SEED_TOKEN = "border";
|
|
345
353
|
const INK_SEEDS = {
|
|
346
354
|
brand: {
|
|
347
355
|
token: "primary",
|
|
@@ -353,11 +361,16 @@ const INK_SEEDS = {
|
|
|
353
361
|
},
|
|
354
362
|
focus: {
|
|
355
363
|
token: "primary",
|
|
356
|
-
ratio:
|
|
364
|
+
ratio: GRAPHIC_MIN_CONTRAST_RATIO
|
|
365
|
+
},
|
|
366
|
+
control: {
|
|
367
|
+
token: CONTROL_EDGE_SEED_TOKEN,
|
|
368
|
+
ratio: GRAPHIC_MIN_CONTRAST_RATIO,
|
|
369
|
+
maxDistance: 2
|
|
357
370
|
}
|
|
358
371
|
};
|
|
359
372
|
/**
|
|
360
|
-
* Solve the
|
|
373
|
+
* Solve the inks for a measured solid paint. `textInk` is the surface's
|
|
361
374
|
* own (already certified) text ink: it stands in when the owner's colour is
|
|
362
375
|
* missing, or can only clear the paint by drifting too far from itself.
|
|
363
376
|
* A block owner can supply an authored shade candidate for a local ink.
|
|
@@ -377,6 +390,10 @@ function solveSurfaceInks(backdropHex, textInk, palette, candidates = {}) {
|
|
|
377
390
|
focus: solveInk({
|
|
378
391
|
...INK_SEEDS.focus,
|
|
379
392
|
token: candidates.focus ?? INK_SEEDS.focus.token
|
|
393
|
+
}, paint, palette, fallback),
|
|
394
|
+
control: solveInk({
|
|
395
|
+
...INK_SEEDS.control,
|
|
396
|
+
token: candidates.control ?? INK_SEEDS.control.token
|
|
380
397
|
}, paint, palette, fallback)
|
|
381
398
|
};
|
|
382
399
|
}
|
|
@@ -384,7 +401,7 @@ function solveInk(seed, paint, palette, fallback) {
|
|
|
384
401
|
const token = parseThemeColorToken(seed.token);
|
|
385
402
|
const seedHex = hexColorSchema.safeParse(resolveConcreteColorHex(seed.token, palette));
|
|
386
403
|
if (!token || !seedHex.success) return fallback;
|
|
387
|
-
const solved = inkFrom(familyOf(seedHex.data), paint, seed.ratio);
|
|
404
|
+
const solved = inkFrom(familyOf(seedHex.data), paint, seed.ratio, seed.maxDistance);
|
|
388
405
|
switch (solved.kind) {
|
|
389
406
|
case "ink": return solved.source === "exact" ? token : literalInk(solved.hex);
|
|
390
407
|
case "too-far":
|
|
@@ -2589,4 +2606,4 @@ function mapSurfaceTreeChildren(value, map) {
|
|
|
2589
2606
|
return isSurfaceTreeRecord(value) ? Object.fromEntries(Object.entries(value).map(([key, item]) => [key, map(item)])) : value;
|
|
2590
2607
|
}
|
|
2591
2608
|
//#endregion
|
|
2592
|
-
export { resolveOnColorForThemeToken as A,
|
|
2609
|
+
export { resolveOnColorForThemeToken as A, HOVER_TEXT_THRESHOLD as B, materializeRuntimeButtonAppearance as C, mapButtonRoleAppearances as D, defineButtonStyleRecipe as E, resolveSurfaceForeground as F, resolveConcreteColorHex as G, contrastThresholdByPolicy as H, safeTokenOr as I, paletteValueKeySchema as J, resolveOpaqueSurfaceHex as K, surfaceInkPublication as L, resolveTokenOrCssColorValue as M, freezeOwnedThemeValue as N, mapButtonVisualAppearances as O, ownedThemeSnapshot as P, CONTROL_EDGE_SEED_TOKEN as R, buttonTypographyDeclarations as S, PUBLIC_BUTTON_ROLES as T, inkReference as U, certifyPaint as V, planForegroundHover as W, requirePaletteColorsFromEntries as Y, contextualButtonSurfaceResetStyles as _, requireResolvedSurface as a, buttonShadow as b, surfaceButtonRequest as c, toAccessibleColorSurfaceIntent as d, compositeHex as f, actionVariableFallback as g, scrimTone as h, prepareThemeSurfaceRevision as i, resolveThemeColorReferenceValue as j, isCssColorLiteral as k, surfaceDecorationColors as l, minimumScrimOpacity as m, parseSurfaceTree as n, resolveSurface as o, gradientScrimSamples as p, paletteValueKey as q, prepareSurfaceIndex as r, serializeSurfaceTree as s, parseResolvedSurface as t, surfaceTransportContext as u, buttonBorder as v, paddingDeclarations as w, buttonStateAppearanceDeclarations as x, buttonRadius as y, solveSurfaceInks as z };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { C as systemCustomizeFacetDefinitionsForBlock, at as resolveRuntimeSection, it as lookFillPartsFromContent, nt as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-
|
|
2
|
-
import {
|
|
3
|
-
import { E as
|
|
4
|
-
import {
|
|
1
|
+
import { C as systemCustomizeFacetDefinitionsForBlock, at as resolveRuntimeSection, it as lookFillPartsFromContent, nt as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-CkFTsxkd.mjs";
|
|
2
|
+
import { Ba as resolveEffectiveArrangement, Co as transitionIntentForTreatment, Ei as plainTextToInlineText, Fa as resolveArrangementLookForBlock, Ga as filterLayoutProfilesForPolicy, Ia as resolveLookForBlock, Ka as filterLookIdsForPolicy, Ma as automaticArrangementLook, Na as compileArrangementLookRuntime, Oo as parseCanonicalRuntimeBackground, Pa as getCompatibleBlockAppearancePresets, Qa as stripCompiledRuntimeStyleFields, So as spaciousBoundaryOption, Wa as deriveSiteStyleBlockPolicy, Wn as formatDate, Ya as getCuratedSiteStyle, Za as compilePageRuntimeFields, bo as noneBoundaryOption, do as resolvePageDesignBoundaryChoice, fr as resolveDeclaredBlockDesignCapability, go as boundaryOptions, ho as boundaryOptionForTransitionIntent, ja as arrangementStyleAvailability, ka as arrangementAppearancePresets, ko as resolveSectionBackground, pa as isRecord, t as getBlockDefinition, uo as resolvePageDesignBlockLookChoice, vo as boundaryTreatmentForBoundaryOptionId, xo as softBoundaryOption, yo as isDecorativeTransitionIntent, za as readStoredMode } from "./registry-34rkAfaU.mjs";
|
|
3
|
+
import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BGB8gMVb.mjs";
|
|
4
|
+
import { r as sectionStylesOverrideSchema } from "./schema-CUDHMirj.mjs";
|
|
5
|
+
import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-CpAtzNxD.mjs";
|
|
5
6
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
7
|
+
import { E as sectionBackgroundPaintValues, O as toNonEmptyReadonlyArray, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as plainFrame } from "./lookMediaFrame-CQtkvlDn.mjs";
|
|
6
8
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
7
9
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
8
10
|
const repairActionsByIssueKind = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as parseSurfaceTree } from "./accessibleSurfaces-
|
|
1
|
+
import { n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
2
2
|
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-DpBC1hTM.mjs";
|
|
3
3
|
import { t as parseSiteId } from "./identity-DQD_8lNO.mjs";
|
|
4
|
-
import { t as SDK_VERSION } from "./version-
|
|
4
|
+
import { t as SDK_VERSION } from "./version-HVfdvBJ0.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
7
7
|
function availability(fetchTags, transport) {
|
|
@@ -810,6 +810,7 @@ const createClientArrangementSchema = z.object({
|
|
|
810
810
|
/** The UI selects the next N dates from get.dates, then retains this body for retry. */
|
|
811
811
|
const bookNextArrangementSchema = z.object({
|
|
812
812
|
...operation,
|
|
813
|
+
confirmation: z.string().optional(),
|
|
813
814
|
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once."),
|
|
814
815
|
bookShortfallAsOwed: z.boolean().default(false)
|
|
815
816
|
}).strict();
|
|
@@ -976,7 +977,6 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
|
|
|
976
977
|
z.object({ code: z.enum([
|
|
977
978
|
"package_shortfall",
|
|
978
979
|
"not_available",
|
|
979
|
-
"needs_recorded_return",
|
|
980
980
|
"client_not_found"
|
|
981
981
|
]) }),
|
|
982
982
|
z.object({
|
|
@@ -1259,7 +1259,11 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1259
1259
|
method: "DELETE",
|
|
1260
1260
|
auth: "user",
|
|
1261
1261
|
responseKind: "json",
|
|
1262
|
-
errors: [
|
|
1262
|
+
errors: [
|
|
1263
|
+
"resource:not_found",
|
|
1264
|
+
"resource:conflict",
|
|
1265
|
+
"server:internal_error"
|
|
1266
|
+
]
|
|
1263
1267
|
},
|
|
1264
1268
|
createTeamMemberProfile: {
|
|
1265
1269
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile",
|
|
@@ -1560,6 +1564,17 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1560
1564
|
"server:internal_error"
|
|
1561
1565
|
]
|
|
1562
1566
|
},
|
|
1567
|
+
previewWeeklyAvailabilityImpact: {
|
|
1568
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/weekly-availability/impact",
|
|
1569
|
+
method: "POST",
|
|
1570
|
+
auth: "user",
|
|
1571
|
+
responseKind: "json",
|
|
1572
|
+
errors: [
|
|
1573
|
+
"validation:invalid_input",
|
|
1574
|
+
"resource:not_found",
|
|
1575
|
+
"server:internal_error"
|
|
1576
|
+
]
|
|
1577
|
+
},
|
|
1563
1578
|
setServiceSpecificAvailability: {
|
|
1564
1579
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/service-availability",
|
|
1565
1580
|
method: "PUT",
|
|
@@ -3055,6 +3070,13 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3055
3070
|
"server:internal_error"
|
|
3056
3071
|
]
|
|
3057
3072
|
},
|
|
3073
|
+
getEventGoLivePage: {
|
|
3074
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/go-live-page",
|
|
3075
|
+
method: "GET",
|
|
3076
|
+
auth: "user",
|
|
3077
|
+
responseKind: "json",
|
|
3078
|
+
errors: ["validation:invalid_input", "server:internal_error"]
|
|
3079
|
+
},
|
|
3058
3080
|
updateEventIdentity: {
|
|
3059
3081
|
path: "/sites/{siteId}/bookings/events/{eventId}",
|
|
3060
3082
|
method: "PATCH",
|
|
@@ -3645,6 +3667,30 @@ const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
3645
3667
|
//#endregion
|
|
3646
3668
|
//#region ../api/src/billingEndpointDefinitions.ts
|
|
3647
3669
|
const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3670
|
+
adminSendSiteHandover: {
|
|
3671
|
+
path: "/admin/sites/{siteId}/handover",
|
|
3672
|
+
method: "POST",
|
|
3673
|
+
tags: ["admin"],
|
|
3674
|
+
auth: "admin",
|
|
3675
|
+
responseKind: "json",
|
|
3676
|
+
errors: []
|
|
3677
|
+
},
|
|
3678
|
+
adminResendSiteHandover: {
|
|
3679
|
+
path: "/admin/sites/{siteId}/handover/resend",
|
|
3680
|
+
method: "POST",
|
|
3681
|
+
tags: ["admin"],
|
|
3682
|
+
auth: "admin",
|
|
3683
|
+
responseKind: "json",
|
|
3684
|
+
errors: []
|
|
3685
|
+
},
|
|
3686
|
+
adminWithdrawSiteHandover: {
|
|
3687
|
+
path: "/admin/sites/{siteId}/handover/withdraw",
|
|
3688
|
+
method: "POST",
|
|
3689
|
+
tags: ["admin"],
|
|
3690
|
+
auth: "admin",
|
|
3691
|
+
responseKind: "json",
|
|
3692
|
+
errors: []
|
|
3693
|
+
},
|
|
3648
3694
|
adminChangePlan: {
|
|
3649
3695
|
path: "/admin/billing/plan",
|
|
3650
3696
|
method: "POST",
|
|
@@ -4635,6 +4681,18 @@ const API_ENDPOINTS$1 = {
|
|
|
4635
4681
|
"server:internal_error"
|
|
4636
4682
|
]
|
|
4637
4683
|
},
|
|
4684
|
+
turnOnCourses: {
|
|
4685
|
+
path: "/sites/{siteId}/bookings/settings/courses",
|
|
4686
|
+
method: "POST",
|
|
4687
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
|
|
4688
|
+
auth: "user",
|
|
4689
|
+
responseKind: "json",
|
|
4690
|
+
errors: [
|
|
4691
|
+
"auth:forbidden",
|
|
4692
|
+
"resource:conflict",
|
|
4693
|
+
"server:internal_error"
|
|
4694
|
+
]
|
|
4695
|
+
},
|
|
4638
4696
|
sendTestEmail: {
|
|
4639
4697
|
path: "/sites/{siteId}/settings/emails/test",
|
|
4640
4698
|
method: "POST",
|
|
@@ -4717,6 +4775,30 @@ const API_ENDPOINTS$1 = {
|
|
|
4717
4775
|
responseKind: "json",
|
|
4718
4776
|
errors: ["auth:forbidden", "server:internal_error"]
|
|
4719
4777
|
},
|
|
4778
|
+
authEmailCodeSend: {
|
|
4779
|
+
path: "/auth/email-code/send",
|
|
4780
|
+
method: "POST",
|
|
4781
|
+
tags: ["auth"],
|
|
4782
|
+
auth: "public",
|
|
4783
|
+
responseKind: "json",
|
|
4784
|
+
errors: []
|
|
4785
|
+
},
|
|
4786
|
+
authEmailCodeVerify: {
|
|
4787
|
+
path: "/auth/email-code/verify",
|
|
4788
|
+
method: "POST",
|
|
4789
|
+
tags: ["auth"],
|
|
4790
|
+
auth: "public",
|
|
4791
|
+
responseKind: "json",
|
|
4792
|
+
errors: []
|
|
4793
|
+
},
|
|
4794
|
+
authForgetEmail: {
|
|
4795
|
+
path: "/auth/remembered-email/clear",
|
|
4796
|
+
method: "POST",
|
|
4797
|
+
tags: ["auth"],
|
|
4798
|
+
auth: "public",
|
|
4799
|
+
responseKind: "json",
|
|
4800
|
+
errors: []
|
|
4801
|
+
},
|
|
4720
4802
|
authLogin: {
|
|
4721
4803
|
path: "/auth/login/submit",
|
|
4722
4804
|
method: "POST",
|
|
@@ -4745,6 +4827,22 @@ const API_ENDPOINTS$1 = {
|
|
|
4745
4827
|
auth: "public",
|
|
4746
4828
|
responseKind: "json"
|
|
4747
4829
|
},
|
|
4830
|
+
authReauthEmailCodeSend: {
|
|
4831
|
+
path: "/auth/reauth/email-code",
|
|
4832
|
+
method: "POST",
|
|
4833
|
+
tags: ["auth"],
|
|
4834
|
+
auth: "user",
|
|
4835
|
+
errors: [],
|
|
4836
|
+
responseKind: "json"
|
|
4837
|
+
},
|
|
4838
|
+
authReauthEmailCodeVerify: {
|
|
4839
|
+
path: "/auth/reauth/email-code/verify",
|
|
4840
|
+
method: "POST",
|
|
4841
|
+
tags: ["auth"],
|
|
4842
|
+
auth: "user",
|
|
4843
|
+
errors: [],
|
|
4844
|
+
responseKind: "json"
|
|
4845
|
+
},
|
|
4748
4846
|
authStatus: {
|
|
4749
4847
|
path: "/auth/status",
|
|
4750
4848
|
method: "GET",
|
|
@@ -4802,6 +4900,14 @@ const API_ENDPOINTS$1 = {
|
|
|
4802
4900
|
auth: "user",
|
|
4803
4901
|
responseKind: "json"
|
|
4804
4902
|
},
|
|
4903
|
+
dismissSiteInviteWelcome: {
|
|
4904
|
+
path: "/sites/{siteId}/members/invite-welcome/dismiss",
|
|
4905
|
+
method: "POST",
|
|
4906
|
+
auth: "user",
|
|
4907
|
+
responseKind: "json",
|
|
4908
|
+
errors: ["auth:forbidden", "server:internal_error"],
|
|
4909
|
+
tags: ["site-{siteId}"]
|
|
4910
|
+
},
|
|
4805
4911
|
revokeSiteInvitation: {
|
|
4806
4912
|
path: "/sites/{siteId}/members/invitations/{invitationId}",
|
|
4807
4913
|
method: "DELETE",
|
|
@@ -5914,6 +6020,22 @@ const API_ENDPOINTS$1 = {
|
|
|
5914
6020
|
auth: "user",
|
|
5915
6021
|
responseKind: "json"
|
|
5916
6022
|
},
|
|
6023
|
+
mfaRenameFactor: {
|
|
6024
|
+
path: "/auth/mfa/factors/{factorId}",
|
|
6025
|
+
method: "PATCH",
|
|
6026
|
+
tags: ["mfa"],
|
|
6027
|
+
auth: "user",
|
|
6028
|
+
errors: [],
|
|
6029
|
+
responseKind: "json"
|
|
6030
|
+
},
|
|
6031
|
+
mfaTurnOff: {
|
|
6032
|
+
path: "/auth/mfa/turn-off",
|
|
6033
|
+
method: "POST",
|
|
6034
|
+
tags: ["mfa"],
|
|
6035
|
+
auth: "user",
|
|
6036
|
+
errors: [],
|
|
6037
|
+
responseKind: "json"
|
|
6038
|
+
},
|
|
5917
6039
|
mfaBackupCodesGet: {
|
|
5918
6040
|
path: "/auth/mfa/backup-codes",
|
|
5919
6041
|
method: "GET",
|
|
@@ -5968,6 +6090,18 @@ const API_ENDPOINTS$1 = {
|
|
|
5968
6090
|
],
|
|
5969
6091
|
responseKind: "json"
|
|
5970
6092
|
},
|
|
6093
|
+
accountDismissTwoStepPrompt: {
|
|
6094
|
+
path: "/account/two-step-prompt/dismiss",
|
|
6095
|
+
method: "POST",
|
|
6096
|
+
tags: ["account"],
|
|
6097
|
+
auth: "user",
|
|
6098
|
+
errors: [
|
|
6099
|
+
"auth:unauthenticated",
|
|
6100
|
+
"validation:invalid_input",
|
|
6101
|
+
"server:internal_error"
|
|
6102
|
+
],
|
|
6103
|
+
responseKind: "json"
|
|
6104
|
+
},
|
|
5971
6105
|
accountRevokeSessions: {
|
|
5972
6106
|
path: "/account/sessions/revoke",
|
|
5973
6107
|
method: "POST",
|
|
@@ -5975,6 +6109,22 @@ const API_ENDPOINTS$1 = {
|
|
|
5975
6109
|
auth: "user",
|
|
5976
6110
|
responseKind: "json"
|
|
5977
6111
|
},
|
|
6112
|
+
accountRevokeSession: {
|
|
6113
|
+
path: "/account/sessions/{sessionId}",
|
|
6114
|
+
method: "DELETE",
|
|
6115
|
+
tags: ["account"],
|
|
6116
|
+
auth: "user",
|
|
6117
|
+
errors: [],
|
|
6118
|
+
responseKind: "json"
|
|
6119
|
+
},
|
|
6120
|
+
accountUnlinkGoogle: {
|
|
6121
|
+
path: "/account/identities/google",
|
|
6122
|
+
method: "DELETE",
|
|
6123
|
+
tags: ["account"],
|
|
6124
|
+
auth: "user",
|
|
6125
|
+
errors: [],
|
|
6126
|
+
responseKind: "json"
|
|
6127
|
+
},
|
|
5978
6128
|
adminListInvites: {
|
|
5979
6129
|
path: "/admin/invites",
|
|
5980
6130
|
method: "GET",
|
|
@@ -9794,6 +9944,7 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
9794
9944
|
"auth:token_invalid",
|
|
9795
9945
|
"auth:forbidden",
|
|
9796
9946
|
"auth:mfa_required",
|
|
9947
|
+
"auth:mfa_setup_required",
|
|
9797
9948
|
"auth:sudo_required",
|
|
9798
9949
|
"auth:insufficient_permissions",
|
|
9799
9950
|
"auth:impersonation_restricted",
|
|
@@ -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-CLVKoJrX.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 { ds as isCanonicalRichTextDoc } from "./registry-34rkAfaU.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-CLVKoJrX.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) {
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region ../site-contracts/src/identity/designIds.ts
|
|
3
|
+
function asDesignBlockId(value) {
|
|
4
|
+
return brandNonEmptyString(value, "DesignBlockId");
|
|
5
|
+
}
|
|
6
|
+
function asDesignBoundaryId(value) {
|
|
7
|
+
const boundaryId = brandNonEmptyString(value, "DesignBoundaryId");
|
|
8
|
+
if (!boundaryId.startsWith("boundary:")) throw new Error(`DesignBoundaryId must start with "boundary:". Received: ${value}`);
|
|
9
|
+
return boundaryId;
|
|
10
|
+
}
|
|
11
|
+
function asLayoutVariantKey(value) {
|
|
12
|
+
return brandNonEmptyString(value, "LayoutVariantKey");
|
|
13
|
+
}
|
|
14
|
+
function asAppearancePresetId(value) {
|
|
15
|
+
return brandNonEmptyString(value, "AppearancePresetId");
|
|
16
|
+
}
|
|
17
|
+
function asBoundaryOptionId(value) {
|
|
18
|
+
return brandNonEmptyString(value, "BoundaryOptionId");
|
|
19
|
+
}
|
|
20
|
+
function asPageFlowPresetId(value) {
|
|
21
|
+
return brandNonEmptyString(value, "PageFlowPresetId");
|
|
22
|
+
}
|
|
23
|
+
function asSiteStyleId(value) {
|
|
24
|
+
const siteStyleId = brandNonEmptyString(value, "SiteStyleId");
|
|
25
|
+
if (!siteStyleId.startsWith("site-style:")) throw new Error(`SiteStyleId must start with "site-style:". Received: ${value}`);
|
|
26
|
+
return siteStyleId;
|
|
27
|
+
}
|
|
28
|
+
function asDesignSystemTemplateId(value) {
|
|
29
|
+
return brandNonEmptyString(value, "DesignSystemTemplateId");
|
|
30
|
+
}
|
|
31
|
+
function makeBoundaryId(previousBlockId, nextBlockId) {
|
|
32
|
+
return asDesignBoundaryId(`boundary:${encodeURIComponent(previousBlockId)}:${encodeURIComponent(nextBlockId)}`);
|
|
33
|
+
}
|
|
34
|
+
function brandNonEmptyString(value, label) {
|
|
35
|
+
if (value.length === 0) throw new Error(`${label} must be a non-empty string.`);
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region ../site-contracts/src/identity/presentationVocabulary.ts
|
|
40
|
+
const arrangementModes = [
|
|
41
|
+
"list",
|
|
42
|
+
"calendar",
|
|
43
|
+
"week",
|
|
44
|
+
"combined"
|
|
45
|
+
];
|
|
46
|
+
function isArrangementMode(value) {
|
|
47
|
+
return value === "list" || value === "calendar" || value === "week" || value === "combined";
|
|
48
|
+
}
|
|
49
|
+
/** Every transition that draws something; `none` is the absence of a join. */
|
|
50
|
+
const decorativeTransitionIntentValues = [
|
|
51
|
+
"soft-fade-short",
|
|
52
|
+
"soft-fade-long",
|
|
53
|
+
"soft-fade-expansive",
|
|
54
|
+
"wave-edge",
|
|
55
|
+
"wave-edge-balanced",
|
|
56
|
+
"wave-edge-gentle",
|
|
57
|
+
"wave-edge-bold",
|
|
58
|
+
"wave-edge-drift",
|
|
59
|
+
"wave-edge-echo",
|
|
60
|
+
"arc-edge-echo",
|
|
61
|
+
"angle-edge",
|
|
62
|
+
"angle-edge-subtle",
|
|
63
|
+
"angle-edge-steep"
|
|
64
|
+
];
|
|
65
|
+
const tileTreatmentValues = [
|
|
66
|
+
"default",
|
|
67
|
+
"quiet",
|
|
68
|
+
"brand-depth"
|
|
69
|
+
];
|
|
70
|
+
const eventListTreatmentValues = [
|
|
71
|
+
"plain",
|
|
72
|
+
"lined-panel",
|
|
73
|
+
"ruled-register",
|
|
74
|
+
"editorial-register",
|
|
75
|
+
"dense-index"
|
|
76
|
+
];
|
|
77
|
+
const eyebrowTreatmentValues = [
|
|
78
|
+
"plain",
|
|
79
|
+
"accent",
|
|
80
|
+
"pill",
|
|
81
|
+
"accent-pill",
|
|
82
|
+
"pill-bounce",
|
|
83
|
+
"accent-pill-bounce"
|
|
84
|
+
];
|
|
85
|
+
const visibleHeadingDecorationFamilyValues = ["organic-squiggle", "short-center-rule"];
|
|
86
|
+
const headingDecorationOverrideValues = ["site-default", "off"];
|
|
87
|
+
const headingDecorationColorTokenValues = [
|
|
88
|
+
"text",
|
|
89
|
+
"primary",
|
|
90
|
+
"secondary",
|
|
91
|
+
"accent",
|
|
92
|
+
"border",
|
|
93
|
+
"muted"
|
|
94
|
+
];
|
|
95
|
+
const accordionIconSetValues = [
|
|
96
|
+
"plus",
|
|
97
|
+
"chevron",
|
|
98
|
+
"caret",
|
|
99
|
+
"minimal-cross"
|
|
100
|
+
];
|
|
101
|
+
const accordionIconColorTokenValues = [
|
|
102
|
+
"text",
|
|
103
|
+
"muted",
|
|
104
|
+
"primary",
|
|
105
|
+
"secondary",
|
|
106
|
+
"accent",
|
|
107
|
+
"current"
|
|
108
|
+
];
|
|
109
|
+
const accordionIconMotionValues = [
|
|
110
|
+
"none",
|
|
111
|
+
"rotate",
|
|
112
|
+
"swap"
|
|
113
|
+
];
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region ../site-contracts/src/theme/customCss.ts
|
|
116
|
+
/** Global selectors that could affect elements outside theme scope */
|
|
117
|
+
const FORBIDDEN_SELECTORS = [
|
|
118
|
+
":root",
|
|
119
|
+
"html",
|
|
120
|
+
"body"
|
|
121
|
+
];
|
|
122
|
+
/** Universal selector - forbidden because it affects everything */
|
|
123
|
+
const UNIVERSAL_SELECTOR = "*";
|
|
124
|
+
/** Pattern to detect remote URL references (http://, https://, //) */
|
|
125
|
+
const REMOTE_URL_PATTERN = /url\s*\(\s*['"]?(https?:|\/\/)/i;
|
|
126
|
+
/** Pattern to detect javascript: URLs */
|
|
127
|
+
const JAVASCRIPT_URL_PATTERN = /javascript\s*:/i;
|
|
128
|
+
/**
|
|
129
|
+
* Check if a single selector part (no commas) is forbidden.
|
|
130
|
+
*/
|
|
131
|
+
function isForbiddenSelectorPart(part) {
|
|
132
|
+
const normalized = part.toLowerCase().trim();
|
|
133
|
+
if (!normalized) return true;
|
|
134
|
+
if (normalized === UNIVERSAL_SELECTOR || normalized.startsWith("* ") || normalized.endsWith(" *") || normalized.includes(" * ")) return true;
|
|
135
|
+
return FORBIDDEN_SELECTORS.some((forbidden) => normalized === forbidden || [
|
|
136
|
+
" ",
|
|
137
|
+
">",
|
|
138
|
+
"+",
|
|
139
|
+
"~",
|
|
140
|
+
".",
|
|
141
|
+
"#",
|
|
142
|
+
"["
|
|
143
|
+
].some((suffix) => normalized.startsWith(forbidden + suffix)) || normalized.startsWith(forbidden + ":") && !normalized.startsWith(forbidden + "::"));
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Check if a selector uses sibling combinators with & that could escape scope.
|
|
147
|
+
* Patterns like "& ~ .outside" or "& + .sibling" can select elements outside the scope.
|
|
148
|
+
*/
|
|
149
|
+
function hasScopeEscapingSiblingCombinator(selector) {
|
|
150
|
+
const normalized = selector.trim();
|
|
151
|
+
return /&\s*[+~]/.test(normalized);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Check if a selector contains forbidden global selectors.
|
|
155
|
+
* Handles selectors like ":root", "html body", "body.class", "body, .x", etc.
|
|
156
|
+
*/
|
|
157
|
+
function containsForbiddenSelector(selector) {
|
|
158
|
+
const normalized = selector.toLowerCase().trim();
|
|
159
|
+
if (!normalized) return true;
|
|
160
|
+
if (hasScopeEscapingSiblingCombinator(selector)) return true;
|
|
161
|
+
return normalized.split(",").some(isForbiddenSelectorPart);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Validates a CSS selector for safety.
|
|
165
|
+
*/
|
|
166
|
+
const selectorSchema = z.string().min(1, "Selector cannot be empty").max(200, "Selector too long (max 200 characters)").refine((s) => !containsForbiddenSelector(s), { message: "Global selectors (:root, html, body, *) are not allowed" });
|
|
167
|
+
/**
|
|
168
|
+
* Check if a CSS value contains a remote URL.
|
|
169
|
+
*/
|
|
170
|
+
function containsRemoteUrl(value) {
|
|
171
|
+
return REMOTE_URL_PATTERN.test(value);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Check if a CSS value contains a javascript: URL.
|
|
175
|
+
*/
|
|
176
|
+
function containsJavascriptUrl(value) {
|
|
177
|
+
return JAVASCRIPT_URL_PATTERN.test(value);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Validates a CSS declaration value for safety.
|
|
181
|
+
* Allows: url(#id), url(data:...), url(/path), var(--)
|
|
182
|
+
* Forbids: url(http...), url(//...), javascript:
|
|
183
|
+
*/
|
|
184
|
+
const declarationValueSchema = z.string().max(500, "Declaration value too long (max 500 characters)").refine((v) => !containsRemoteUrl(v), { message: "Remote url() references are not allowed. Use local paths, data URIs, or fragment IDs." }).refine((v) => !containsJavascriptUrl(v), { message: "javascript: URLs are not allowed" });
|
|
185
|
+
/**
|
|
186
|
+
* Schema for CSS declarations object (property -> value map).
|
|
187
|
+
*/
|
|
188
|
+
const declarationsSchema = z.record(z.string().min(1).max(100), declarationValueSchema);
|
|
189
|
+
/**
|
|
190
|
+
* Schema for a single custom CSS rule.
|
|
191
|
+
*/
|
|
192
|
+
const customCssRuleSchema = z.object({
|
|
193
|
+
id: z.string().min(1, "Rule ID is required").max(50, "Rule ID too long"),
|
|
194
|
+
selector: selectorSchema,
|
|
195
|
+
declarations: declarationsSchema
|
|
196
|
+
});
|
|
197
|
+
/**
|
|
198
|
+
* Schema for block-specific CSS rule.
|
|
199
|
+
*/
|
|
200
|
+
const blockCustomCssRuleSchema = customCssRuleSchema.extend({ blockKind: z.string().min(1, "Block kind is required").max(50, "Block kind too long") });
|
|
201
|
+
/**
|
|
202
|
+
* Array of custom CSS rules for theme-level styling.
|
|
203
|
+
*/
|
|
204
|
+
const customCssRulesSchema = z.array(customCssRuleSchema).optional();
|
|
205
|
+
/**
|
|
206
|
+
* Array of block-specific CSS rules.
|
|
207
|
+
*/
|
|
208
|
+
const blockCustomCssRulesSchema = z.array(blockCustomCssRuleSchema).optional();
|
|
209
|
+
//#endregion
|
|
210
|
+
export { asDesignBoundaryId as C, asSiteStyleId as D, asPageFlowPresetId as E, makeBoundaryId as O, asDesignBlockId as S, asLayoutVariantKey as T, isArrangementMode as _, declarationValueSchema as a, asAppearancePresetId as b, accordionIconColorTokenValues as c, arrangementModes as d, decorativeTransitionIntentValues as f, headingDecorationOverrideValues as g, headingDecorationColorTokenValues as h, customCssRulesSchema as i, accordionIconMotionValues as l, eyebrowTreatmentValues as m, blockCustomCssRulesSchema as n, declarationsSchema as o, eventListTreatmentValues as p, customCssRuleSchema as r, selectorSchema as s, blockCustomCssRuleSchema as t, accordionIconSetValues as u, tileTreatmentValues as v, asDesignSystemTemplateId as w, asBoundaryOptionId as x, visibleHeadingDecorationFamilyValues as y };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData
|
|
1
|
+
import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-D7VeoWgr.mjs";
|
|
2
2
|
export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
2
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-
|
|
2
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-aYRTVneD.mjs";
|
|
3
3
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
5
|
-
import { t as prebuildCache } from "./prebuild-
|
|
5
|
+
import { t as prebuildCache } from "./prebuild-DOu6QceG.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import {
|
|
3
|
-
import { C as normalizeRepeaterGridSpan, S as flowRepeaterGridItems, a as invalidRenderableBlock$1, d as
|
|
1
|
+
import { $a as surfaceResolutionContextFromTheme, Ci as inlineTextToPlainText, Ei as plainTextToInlineText, En as siteHeaderManifest, Fn as resolveDateRuntimeContext, Go as resolveRepeaterGridRowFieldId, Ja as designRuntimeRulesForSiteStyle, Ko as resolveRepeaterGridSpanFieldId, No as appearancePresets, Ns as offeringLabelForPageSurfaceSubject, Oi as parseFieldDefinition, Ti as parseInlineTextFromUnknown, Ua as buildInitialPolicyPageDesignIntent, Us as unsafeAsContentEntryId, Wo as resolveRepeaterGridColumnFieldId, Wr as parseBackgroundContent, Ws as unsafeAsEventCategoryId, Xa as requireCuratedSiteStyle, dr as blockDesignCapabilityMapFromDefinitions, ds as isCanonicalRichTextDoc, es as EVENT_PRESET_VALUES, i as systemBlockDefinitions, lo as parsePageDesignIntent, pa as isRecord, qa as componentRuntimeRulesForSiteStyle, t as getBlockDefinition, xa as parseListLook } from "./registry-34rkAfaU.mjs";
|
|
2
|
+
import { S as asDesignBlockId, T as asLayoutVariantKey, b as asAppearancePresetId } from "./customCss-BGB8gMVb.mjs";
|
|
3
|
+
import { C as normalizeRepeaterGridSpan, S as flowRepeaterGridItems, a as invalidRenderableBlock$1, d as siteBlockRenderContext, h as registeredManifestContentContract, i as collectMediaAssetSidecar, j as readPublishedBlockPlacement, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as deriveFieldValidationPlan, w as resolveRepeaterGridAcceptedSpans, y as fieldPlanToZod } from "./pageRuntimeSupport-CpAtzNxD.mjs";
|
|
4
4
|
import { i as createRichTextDoc, o as isRecord$1, r as buildRichTextSchema } from "./richTextSchema-QLaQrbII.mjs";
|
|
5
|
-
import { a as buildPageDesignEditorReadModel, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as applyCompiledRuntimeFieldsToContent, r as resolveRuntimeJoinFacts, s as compileEditorModelRuntime, t as applyBindingsToContent } from "./bindings-
|
|
5
|
+
import { a as buildPageDesignEditorReadModel, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as applyCompiledRuntimeFieldsToContent, r as resolveRuntimeJoinFacts, s as compileEditorModelRuntime, t as applyBindingsToContent } from "./bindings-CQg2lzZn.mjs";
|
|
6
6
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
7
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData
|
|
7
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-D7VeoWgr.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
//#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
|
|
10
10
|
function asContentTemplateDesignBlockId(value) {
|
|
@@ -1806,7 +1806,6 @@ function isEntryTitleBinding(binding) {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
blockDesignCapabilityMapFromDefinitions(systemBlockDefinitions);
|
|
1808
1808
|
createManifestDefaultValues(siteHeaderManifest);
|
|
1809
|
-
createManifestDefaultValues(siteFooterManifest);
|
|
1810
1809
|
//#endregion
|
|
1811
1810
|
//#region src/rendering/helpers/templateContent.ts
|
|
1812
1811
|
function createTemplateRenderTarget(source, templateId) {
|
|
@@ -2125,7 +2124,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2125
2124
|
templatePage,
|
|
2126
2125
|
resolvedData,
|
|
2127
2126
|
dataContext: {
|
|
2128
|
-
...
|
|
2127
|
+
...siteBlockRenderContext(support),
|
|
2129
2128
|
previewStage,
|
|
2130
2129
|
prefetchedBlockData,
|
|
2131
2130
|
loaderSnapshot,
|
|
@@ -2193,7 +2192,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2193
2192
|
templatePage,
|
|
2194
2193
|
resolvedData,
|
|
2195
2194
|
dataContext: {
|
|
2196
|
-
...
|
|
2195
|
+
...siteBlockRenderContext(support),
|
|
2197
2196
|
previewStage,
|
|
2198
2197
|
prefetchedBlockData,
|
|
2199
2198
|
loaderSnapshot,
|
|
@@ -2250,7 +2249,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2250
2249
|
resolvedData: prefetched.resolvedData,
|
|
2251
2250
|
dataContext: {
|
|
2252
2251
|
previewStage,
|
|
2253
|
-
...
|
|
2252
|
+
...siteBlockRenderContext(support),
|
|
2254
2253
|
prefetchedBlockData: prefetched,
|
|
2255
2254
|
loaderSnapshot: prefetched.loaderSnapshot,
|
|
2256
2255
|
loaderFailures: prefetched.loaderFailures
|