@riverbankcms/sdk 0.172.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-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.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 +6 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +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-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/bookability-CE637yDE.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +206 -7
- package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +34 -61
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
- 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-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.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-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
- 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-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
- 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/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
- package/dist/server/{parseThemeForPersistence-B18KDEue.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-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
- 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 +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
- 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-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
- package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +1038 -200
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -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,
|
|
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-
|
|
2
|
-
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-
|
|
3
|
-
import { t as parseSiteId } from "./identity-
|
|
4
|
-
import { t as SDK_VERSION } from "./version-
|
|
1
|
+
import { n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
2
|
+
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-DpBC1hTM.mjs";
|
|
3
|
+
import { t as parseSiteId } from "./identity-DQD_8lNO.mjs";
|
|
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",
|
|
@@ -1897,6 +1912,54 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
1897
1912
|
"server:internal_error"
|
|
1898
1913
|
]
|
|
1899
1914
|
},
|
|
1915
|
+
listEventOfferingCombinationPrices: {
|
|
1916
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
|
|
1917
|
+
method: "GET",
|
|
1918
|
+
auth: "user",
|
|
1919
|
+
responseKind: "json",
|
|
1920
|
+
errors: [
|
|
1921
|
+
"validation:invalid_input",
|
|
1922
|
+
"auth:forbidden",
|
|
1923
|
+
"resource:not_found",
|
|
1924
|
+
"server:internal_error"
|
|
1925
|
+
]
|
|
1926
|
+
},
|
|
1927
|
+
createEventOfferingCombinationPrice: {
|
|
1928
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
|
|
1929
|
+
method: "POST",
|
|
1930
|
+
auth: "user",
|
|
1931
|
+
responseKind: "json",
|
|
1932
|
+
errors: [
|
|
1933
|
+
"validation:invalid_input",
|
|
1934
|
+
"auth:forbidden",
|
|
1935
|
+
"resource:not_found",
|
|
1936
|
+
"server:internal_error"
|
|
1937
|
+
]
|
|
1938
|
+
},
|
|
1939
|
+
updateEventOfferingCombinationPrice: {
|
|
1940
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}",
|
|
1941
|
+
method: "PUT",
|
|
1942
|
+
auth: "user",
|
|
1943
|
+
responseKind: "json",
|
|
1944
|
+
errors: [
|
|
1945
|
+
"validation:invalid_input",
|
|
1946
|
+
"auth:forbidden",
|
|
1947
|
+
"resource:not_found",
|
|
1948
|
+
"server:internal_error"
|
|
1949
|
+
]
|
|
1950
|
+
},
|
|
1951
|
+
deleteEventOfferingCombinationPrice: {
|
|
1952
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}",
|
|
1953
|
+
method: "DELETE",
|
|
1954
|
+
auth: "user",
|
|
1955
|
+
responseKind: "json",
|
|
1956
|
+
errors: [
|
|
1957
|
+
"validation:invalid_input",
|
|
1958
|
+
"auth:forbidden",
|
|
1959
|
+
"resource:not_found",
|
|
1960
|
+
"server:internal_error"
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1900
1963
|
deleteEventOffering: {
|
|
1901
1964
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
|
|
1902
1965
|
method: "DELETE",
|
|
@@ -3007,6 +3070,13 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3007
3070
|
"server:internal_error"
|
|
3008
3071
|
]
|
|
3009
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
|
+
},
|
|
3010
3080
|
updateEventIdentity: {
|
|
3011
3081
|
path: "/sites/{siteId}/bookings/events/{eventId}",
|
|
3012
3082
|
method: "PATCH",
|
|
@@ -3597,6 +3667,30 @@ const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
3597
3667
|
//#endregion
|
|
3598
3668
|
//#region ../api/src/billingEndpointDefinitions.ts
|
|
3599
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
|
+
},
|
|
3600
3694
|
adminChangePlan: {
|
|
3601
3695
|
path: "/admin/billing/plan",
|
|
3602
3696
|
method: "POST",
|
|
@@ -4587,6 +4681,18 @@ const API_ENDPOINTS$1 = {
|
|
|
4587
4681
|
"server:internal_error"
|
|
4588
4682
|
]
|
|
4589
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
|
+
},
|
|
4590
4696
|
sendTestEmail: {
|
|
4591
4697
|
path: "/sites/{siteId}/settings/emails/test",
|
|
4592
4698
|
method: "POST",
|
|
@@ -4669,6 +4775,30 @@ const API_ENDPOINTS$1 = {
|
|
|
4669
4775
|
responseKind: "json",
|
|
4670
4776
|
errors: ["auth:forbidden", "server:internal_error"]
|
|
4671
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
|
+
},
|
|
4672
4802
|
authLogin: {
|
|
4673
4803
|
path: "/auth/login/submit",
|
|
4674
4804
|
method: "POST",
|
|
@@ -4697,6 +4827,22 @@ const API_ENDPOINTS$1 = {
|
|
|
4697
4827
|
auth: "public",
|
|
4698
4828
|
responseKind: "json"
|
|
4699
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
|
+
},
|
|
4700
4846
|
authStatus: {
|
|
4701
4847
|
path: "/auth/status",
|
|
4702
4848
|
method: "GET",
|
|
@@ -4754,6 +4900,14 @@ const API_ENDPOINTS$1 = {
|
|
|
4754
4900
|
auth: "user",
|
|
4755
4901
|
responseKind: "json"
|
|
4756
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
|
+
},
|
|
4757
4911
|
revokeSiteInvitation: {
|
|
4758
4912
|
path: "/sites/{siteId}/members/invitations/{invitationId}",
|
|
4759
4913
|
method: "DELETE",
|
|
@@ -5866,6 +6020,22 @@ const API_ENDPOINTS$1 = {
|
|
|
5866
6020
|
auth: "user",
|
|
5867
6021
|
responseKind: "json"
|
|
5868
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
|
+
},
|
|
5869
6039
|
mfaBackupCodesGet: {
|
|
5870
6040
|
path: "/auth/mfa/backup-codes",
|
|
5871
6041
|
method: "GET",
|
|
@@ -5920,6 +6090,18 @@ const API_ENDPOINTS$1 = {
|
|
|
5920
6090
|
],
|
|
5921
6091
|
responseKind: "json"
|
|
5922
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
|
+
},
|
|
5923
6105
|
accountRevokeSessions: {
|
|
5924
6106
|
path: "/account/sessions/revoke",
|
|
5925
6107
|
method: "POST",
|
|
@@ -5927,6 +6109,22 @@ const API_ENDPOINTS$1 = {
|
|
|
5927
6109
|
auth: "user",
|
|
5928
6110
|
responseKind: "json"
|
|
5929
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
|
+
},
|
|
5930
6128
|
adminListInvites: {
|
|
5931
6129
|
path: "/admin/invites",
|
|
5932
6130
|
method: "GET",
|
|
@@ -9746,6 +9944,7 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
9746
9944
|
"auth:token_invalid",
|
|
9747
9945
|
"auth:forbidden",
|
|
9748
9946
|
"auth:mfa_required",
|
|
9947
|
+
"auth:mfa_setup_required",
|
|
9749
9948
|
"auth:sudo_required",
|
|
9750
9949
|
"auth:insufficient_permissions",
|
|
9751
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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as parseUuidBrand } from "./media-
|
|
1
|
+
import { x as parseUuidBrand } from "./media-luf7RF22.mjs";
|
|
2
2
|
//#region ../core/src/branded/identity.ts
|
|
3
3
|
const unsafeAsSiteId = (id) => id;
|
|
4
4
|
const parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
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-
|
|
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-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
|