@riverbankcms/sdk 0.166.0 → 0.167.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/CHANGELOG.md +7 -0
- package/README.md +5 -0
- package/dist/_dts/{BlocksIslandsHydrator-CPvN6RBW.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
- package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bs3WxFgr.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +2 -2
- package/dist/_dts/{client-D4BXQEZc.d.ts → client-CwsI23pj.d.ts} +9 -1
- package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-CAeP_-cV.d.ts} +2 -2
- package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
- package/dist/_dts/{index-ahxQCUc7.d.ts → index-5_jf52sZ.d.ts} +2 -2
- package/dist/_dts/{index-Bmboeb49.d.ts → index-C20yUyob.d.ts} +1 -1
- package/dist/_dts/{index-DdcwPqQN.d.ts → index-CS6b1B-c.d.ts} +4 -4
- package/dist/_dts/{index-wbBZ0awa.d.ts → index-ChpjHK0U.d.ts} +498 -74
- package/dist/_dts/{index-kQ5xkM6X.d.ts → index-D7EbliE3.d.ts} +1 -1
- package/dist/_dts/{index--qflsCiy.d.ts → index-DeHDwMfu.d.ts} +3 -3
- package/dist/_dts/{index-mMMvLLAJ.d.ts → index-RugyUnqR.d.ts} +207 -11
- package/dist/_dts/{index-BgJ2aU5c.d.ts → index-bDln38Hm.d.ts} +2 -2
- package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-CTqcL7CS.d.ts} +7 -7
- package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-C3s9WMPs.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-JPwgRxwh.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 +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/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 +6 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/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 +8 -5
- 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 +1 -1
- package/dist/_dts/{types-DuiHLiPo.d.ts → types-BlaCuPLr.d.ts} +2 -2
- package/dist/_dts/{types-BX3Y-EW3.d.ts → types-CwtTcaQP.d.ts} +3 -3
- package/dist/_dts/{types-DF54stxv.d.ts → types-D-WElMCy.d.ts} +7 -7
- package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-DOWOZYlK.mjs → BookingMailingListNote-CCVXX1LN.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +165 -16
- package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-DAeQPV76.mjs} +10 -29
- package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-Bus9R0bj.mjs} +136 -60
- package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-DPBLjGwj.mjs} +53 -6
- package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
- package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
- package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-CEumpN7i.mjs} +13 -40
- package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +13 -8
- package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-BVO-qx4q.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
- package/dist/client/{Page-DNDZLRlB.mjs → Page-D4_H_u9V.mjs} +22658 -21604
- package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-Dptantmg.mjs} +1 -1
- package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-BxEGsKUx.mjs} +18 -18
- package/dist/client/{accordion-uVqNowRX.mjs → accordion--EUHmEGa.mjs} +1 -1
- package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-BCXwOnhc.mjs} +9 -9
- package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-sHHcdism.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-Cp9xPBFZ.mjs} +1 -1
- package/dist/client/{cart-DCxjE3Is.mjs → cart-CCZZC-Lq.mjs} +3 -3
- package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-B7JfA19I.mjs} +1 -1
- package/dist/client/{checkout-B0EKbeVv.mjs → checkout-CipmYL4A.mjs} +3 -3
- package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DraalWdH.mjs} +1 -1
- package/dist/client/client.mjs +89 -6
- package/dist/client/{context-n6IZigd3.mjs → context-Cv3QHjAF.mjs} +4 -1
- package/dist/client/{cta-CDeAwYoN.mjs → cta-P2vJVTEn.mjs} +1 -1
- package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +3 -3
- package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-dLmyuPap.mjs} +1 -1
- package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-BEhC2_-Y.mjs} +11 -14
- package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
- package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
- package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
- package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-Bih-BgQM.mjs} +4 -4
- package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
- package/dist/client/{form-BeNQiZ2V.mjs → form-Bw1uuiUs.mjs} +3 -3
- package/dist/client/{form.client-BFdCKlp7.mjs → form.client-pZ-9gN33.mjs} +3 -3
- package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-PXlu6XQO.mjs} +1 -1
- package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DI3DP48e.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-CalNAShx.mjs → headerSection-BpJYUMd6.mjs} +2 -2
- package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-CSoP0cGR.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +1 -1
- package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
- package/dist/client/{noop-D-RG9eR3.mjs → noop-ByVtIWf4.mjs} +28 -4
- package/dist/client/portal/client.mjs +8 -8
- package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
- package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DEad-Pma.mjs} +1 -1
- package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-G1SMXG13.mjs} +3 -3
- package/dist/client/{productList-DjGrjOwD.mjs → productList-B21TGdpT.mjs} +3 -3
- package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-B3vIBkex.mjs} +3 -4
- package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-B8aQhJpO.mjs} +205 -178
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
- package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-B2UmrQg_.mjs} +9 -9
- package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
- package/dist/client/{shop-DLufMauE.mjs → shop-mqyoOvOK.mjs} +3 -3
- package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-BH-BBnA9.mjs} +10 -10
- package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-mdM3UMWG.mjs} +30 -6
- package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-CXF5wxdg.mjs} +2 -2
- package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
- package/dist/client/{site-styles-DELkUk9s.mjs → site-styles-D56hT2u1.mjs} +1637 -406
- package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-CrC80EOG.mjs} +11 -156
- package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-C4LOaI_Z.mjs} +2 -2
- package/dist/client/{useBookingNowIso-Da-f9iHw.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
- package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-6Q0nToVA.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
- package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-Bcs89BR5.mjs} +5 -5
- package/dist/client/{view-DAVEoe8A.mjs → view-BN-fxyfq.mjs} +16 -11
- package/dist/client/{view-8w4GA8rf.mjs → view-Dh2tGoS0.mjs} +3 -3
- package/dist/client/{wizardSteps-DNpajrAH.mjs → wizardSteps-DtkhwKXK.mjs} +17 -10
- package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-D4VjPs-r.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-Ckr2zk_L.mjs} +309 -111
- package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-KOZgw_gS.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-CyO2V4kB.mjs} +58 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-DW3uKvNF.mjs} +7 -7
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-CU9VD-7O.mjs} +17439 -16381
- package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-DBi-WybM.mjs} +2014 -381
- package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-BhkUJst9.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-BjCb6lOn.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-CKxTaC3j.mjs} +1 -1
- package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-B7MLTjBX.mjs} +1 -92
- package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-BTUc0g9X.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Bq7SUX3K.mjs → route-contract-Bv3nkdpV.mjs} +83 -0
- package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-4fMqzltx.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-C72VC_lR.mjs} +756 -64
- package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-B_Y_dA20.mjs} +300 -97
- package/dist/server/{bindings-DjdUq9FR.mjs → bindings-ConMYJ2U.mjs} +1 -1
- package/dist/server/{client-07UeMDzA.mjs → client-Cot-H5fQ.mjs} +88 -5
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-BkaWYEwt.mjs} +4 -4
- package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-kviUdH8c.mjs} +2 -2
- package/dist/server/metadata.mjs +5 -1
- package/dist/server/next/revalidate.mjs +9 -4
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BTnS09GS.mjs} +2 -2
- package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-itXZCXs7.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-CDyn7iLy.mjs} +132 -25
- package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +2 -2
- package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Q_Vij87H.mjs} +11752 -11549
- package/dist/server/{parseThemeForPersistence-CJMrEkze.mjs → parseThemeForPersistence-CDrF51tJ.mjs} +2 -2
- package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-DOG4MkOy.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-DlprLLsc.mjs} +3 -33
- package/dist/server/{registry-TFPJdGQi.mjs → registry-BPFcpn6k.mjs} +1326 -181
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-OHlOXlOE.mjs → resolveBlockData-BHvfGD4y.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-OXFRGn5M.mjs} +15 -5
- package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
- package/dist/server/{schema-C2PqHrMo.mjs → schema-DEizlyi4.mjs} +4 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DIBFZeMB.mjs → validation-bl6WcAi_.mjs} +6 -6
- package/dist/server/{version-DZWZM1H6.mjs → version-BLXZ31S-.mjs} +1 -1
- package/dist/styles/index.css +696 -25
- package/package.json +1 -1
- package/dist/client/events-BmqPeeQm.mjs +0 -20
- package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
- package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-
|
|
1
|
+
import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-Q_Vij87H.mjs";
|
|
2
2
|
export { PageContent, toPageHydrationBootstrapConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-
|
|
1
|
+
import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-kviUdH8c.mjs";
|
|
2
2
|
export { loadPage, loadPageWithDeps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-
|
|
1
|
+
import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-DZ6cLxrM.mjs";
|
|
2
2
|
export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent, siteLocationRenderContext };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as MissingBlockOverrideError } from "../pageShared-
|
|
1
|
+
import { d as MissingBlockOverrideError } from "../pageShared-Q_Vij87H.mjs";
|
|
2
2
|
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DGSAlFUK.mjs";
|
|
3
3
|
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-CD4d-1w7.mjs";
|
|
4
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-
|
|
5
|
-
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-
|
|
4
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-4fMqzltx.mjs";
|
|
5
|
+
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-itXZCXs7.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/components/Block.server.tsx
|
|
8
8
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { f as resolveAuthoredLinkHref } from "./pageRenderPlan-
|
|
2
|
-
import {
|
|
1
|
+
import { f as resolveAuthoredLinkHref } from "./pageRenderPlan-CDyn7iLy.mjs";
|
|
2
|
+
import { Hi as projectRepeaterGridLayout$1, Mi as parseFieldDefinition, Ui as projectRepeaterGridLayoutForRendering$1, at as resolveImageUrl$1, ct as buildResolveImageUrlContext, et as RichText$2, it as resolveImageSourceSetWithContext$1, oi as sanitizeHref, ot as resolveImageUrlWithContext$1, rt as computeMediaTransformStyle } from "./registry-BPFcpn6k.mjs";
|
|
3
3
|
import { a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, m as parseMediaIdentifier, o as runtimeMediaSchema, p as parseCanonicalMediaIdentifier } from "./media-DnlczCMA.mjs";
|
|
4
|
-
import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-
|
|
5
|
-
import { _ as deriveFieldValidationPlan, g as admitLayoutGridForPlan } from "./pageRuntimeSupport-
|
|
4
|
+
import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-Q_Vij87H.mjs";
|
|
5
|
+
import { _ as deriveFieldValidationPlan, g as admitLayoutGridForPlan } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
|
|
6
6
|
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
7
|
-
import { t as loadPage } from "./loadPage-
|
|
7
|
+
import { t as loadPage } from "./loadPage-kviUdH8c.mjs";
|
|
8
8
|
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "./overrides-CD4d-1w7.mjs";
|
|
9
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-
|
|
10
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
9
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-4fMqzltx.mjs";
|
|
10
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BkaWYEwt.mjs";
|
|
11
11
|
import "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-
|
|
1
|
+
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-DlprLLsc.mjs";
|
|
2
2
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
3
|
import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
4
4
|
//#region src/data/dataLoaderValue.ts
|
|
@@ -2149,8 +2149,12 @@ function buttonFillSeparation(fill, ground) {
|
|
|
2149
2149
|
const buttonSurfaceGrounds = (surface) => [surface.backgroundHex, ...surface.backgroundSamples ?? []];
|
|
2150
2150
|
/** A filled state clears each ground by its fill OR a declared edge at 3:1. */
|
|
2151
2151
|
function buttonSurfaceSeparation(fill, surface, edge) {
|
|
2152
|
+
return buttonGroundSeparation(fill, buttonSurfaceGrounds(surface), edge);
|
|
2153
|
+
}
|
|
2154
|
+
/** The worst ground for a fill: the first it fails to stand out from, otherwise the closest. */
|
|
2155
|
+
function buttonGroundSeparation(fill, grounds, edge) {
|
|
2152
2156
|
const ink = edge?.border?.marksBoundary ? edge.border.boundaryInk ? edge.palette[edge.border.boundaryInk] : edge.labelInk : void 0;
|
|
2153
|
-
return
|
|
2157
|
+
return grounds.map((ground) => {
|
|
2154
2158
|
const separation = buttonFillSeparation(fill, ground);
|
|
2155
2159
|
const distinct = separation.distinct || ink !== void 0 && contrastRatio(ink, ground) >= BUTTON_CONTRAST_POLICY.nonTextMinimumRatio;
|
|
2156
2160
|
return {
|
|
@@ -2374,6 +2378,12 @@ function mapVisualStates(value) {
|
|
|
2374
2378
|
disabled: value("disabled")
|
|
2375
2379
|
};
|
|
2376
2380
|
}
|
|
2381
|
+
/** The border a state draws: its declared appearance's, otherwise the variant's. */
|
|
2382
|
+
function buttonStateBorder(variant, state) {
|
|
2383
|
+
const appearance = variant.visualStates?.[state];
|
|
2384
|
+
if (!appearance) return variant.border;
|
|
2385
|
+
return appearance.border === "none" ? void 0 : appearance.border;
|
|
2386
|
+
}
|
|
2377
2387
|
function compileButtonColourStates(input) {
|
|
2378
2388
|
if (input.variant.visualStates) return compileDeclaredVisualStates(input, input.variant.visualStates);
|
|
2379
2389
|
const base = applyColourEffects({
|
|
@@ -2404,7 +2414,7 @@ function compileDeclaredVisualStates(input, states) {
|
|
|
2404
2414
|
variant: {
|
|
2405
2415
|
...input.variant,
|
|
2406
2416
|
contextualHover: states.hover.contextualHover,
|
|
2407
|
-
border:
|
|
2417
|
+
border: buttonStateBorder(input.variant, "hover"),
|
|
2408
2418
|
hoverBackgroundToken: void 0
|
|
2409
2419
|
},
|
|
2410
2420
|
global: {
|
|
@@ -2442,7 +2452,7 @@ function compileDeclaredVisualState(input, states, state, treatment) {
|
|
|
2442
2452
|
variantId: input.variant.id,
|
|
2443
2453
|
state,
|
|
2444
2454
|
treatment: transition.treatment,
|
|
2445
|
-
border:
|
|
2455
|
+
border: buttonStateBorder(input.variant, state),
|
|
2446
2456
|
palette: input.palette,
|
|
2447
2457
|
surface: input.surface,
|
|
2448
2458
|
colourIndex: input.colourIndex
|
|
@@ -2472,7 +2482,7 @@ function compileVisualState(input, state, treatment, baseEffects) {
|
|
|
2472
2482
|
palette: input.palette,
|
|
2473
2483
|
surface: input.surface,
|
|
2474
2484
|
colourIndex: input.colourIndex,
|
|
2475
|
-
border: input.variant
|
|
2485
|
+
border: buttonStateBorder(input.variant, state)
|
|
2476
2486
|
});
|
|
2477
2487
|
return resolved.ok ? {
|
|
2478
2488
|
...resolved,
|
|
@@ -2669,4 +2679,4 @@ function interpolateHex(startHex, endHex, position) {
|
|
|
2669
2679
|
return `#${channel(start.r, end.r)}${channel(start.g, end.g)}${channel(start.b, end.b)}`;
|
|
2670
2680
|
}
|
|
2671
2681
|
//#endregion
|
|
2672
|
-
export {
|
|
2682
|
+
export { maxContrastBlackOrWhite as $, opaqueButtonColourTokenSchema as A, textColorValue as At, pickBlackOrWhiteTextColor as B, buttonPressOffsetSchema as C, backgroundColorStyle as Ct, buttonVisualStatesSchema as D, rgbColorValue as Dt, buttonVariantIdSchema as E, mergeStyles as Et, deriveSurfaceMutedColor as F, parseColorTokenParts as Ft, paletteColorsSchema as G, normalizePaletteHex as H, expandPalette as I, paletteValueKeySchema as J, paletteModeSchema as K, isOnColorBackgroundCandidateToken as L, colourFamily as M, parseThemeColorToken as Mt, oklabDistance as N, themeColorTokenSchema as Nt, createStandardButtonSurfacePolicy as O, surfaceRoleForTextToken as Ot, deriveSurfaceDecorationColors as P, parseBlockColorToken as Pt, contrastRatio as Q, onColorTokenName as R, buttonEffectApplicationSchema as S, surfaceInkStyle as St, buttonSystemSchema as T, cssVarValue as Tt, paletteColorEntries as U, hexColorSchema as V, paletteColorsFromEntries as W, ORDINARY_TEXT_MIN_CONTRAST_RATIO as X, requirePaletteColorsFromEntries as Y, assertContrastRatio as Z, generateShadowValue as _, surfaceForegroundInputFromResolved as _t, formatButtonColourContractError as a, hexToRgb as at, VARIANT_ROLES as b, surfaceForegroundValueWithOpacity as bt, resolveOnColorForThemeToken as c, oklchToHexGamut as ct, tokenOrCssColorValueSchema as d, srgbToOklab as dt, preparePaletteColourIndex as et, BORDER_RADIUS_MAP as f, DEFAULT_SURFACE_TEXT_COLOR as ft, FONT_SIZE_MAP as g, surfaceForegroundDeclarations as gt, ELEVATION_OFFSET as h, completeSurfaceForegrounds as ht, BUTTON_VISUAL_STATES as i, featuresFromHex as it, unsafeAsOpaqueButtonColourToken as j, isThemeColorToken as jt, isVariantRole as k, textColorStyle as kt, resolveThemeColorReferenceValue as l, oklchToOklab as lt, DEFAULT_BUTTON_SIZES as m, SURFACE_INK_CSS_VARS as mt, compileButtonColourStates as n, solidPaint as nt, isCssColorLiteral as o, oklabToOklch as ot, BORDER_WIDTH_MAP as p, SURFACE_FOREGROUND_CSS_VARS as pt, paletteValueKey as q, BUTTON_CONTRAST_POLICY as r, worstContrast as rt, parseThemeColorReference as s, oklabToSrgb as st, buttonStateBorder as t, relativeLuminance as tt, resolveTokenOrCssColorValue as u, rgbToHex as ut, DEFAULT_VARIANT_ALIAS_ID as v, surfaceForegroundStyle as vt, buttonSizeNameSchema as w, borderColorStyle as wt, asSpecialVariantId as x, surfaceInkDeclarations as xt, STANDARD_BUTTON_SURFACE_POLICY as y, surfaceForegroundValue as yt, getTextColorForBackground as z };
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { d as resolveManagedMediaReference, i as mediaSchema, l as renderableMediaAssetSchema, u as indexRenderableMediaAssets } from "./media-DnlczCMA.mjs";
|
|
2
|
+
//#region ../blocks/src/system/data/loaderEndpoints.ts
|
|
3
|
+
const SUPPORTED_LOADER_ENDPOINTS = [
|
|
4
|
+
"listPublishedEntries",
|
|
5
|
+
"getPublishedEntryPreview",
|
|
6
|
+
"listPublicEvents",
|
|
7
|
+
"listPublicEventCalendarWindow",
|
|
8
|
+
"listPublicRecurringSchedule",
|
|
9
|
+
"getPublicEventDetails",
|
|
10
|
+
"listPublicRouteCandidates",
|
|
11
|
+
"listPublicTeamMembers",
|
|
12
|
+
"listPublicProducts",
|
|
13
|
+
"listPublicPasses",
|
|
14
|
+
"listPublicMemberships",
|
|
15
|
+
"getPublicFormById",
|
|
16
|
+
"getPublicBookingServices",
|
|
17
|
+
"getPublicWeeklySlotAvailability"
|
|
18
|
+
];
|
|
19
|
+
function isSupportedLoaderEndpoint(endpoint) {
|
|
20
|
+
return SUPPORTED_LOADER_ENDPOINTS.includes(endpoint);
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ../api/src/publicProducts.ts
|
|
24
|
+
function parseJsonValue(value) {
|
|
25
|
+
try {
|
|
26
|
+
return JSON.parse(value);
|
|
27
|
+
} catch {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function asRecord(value) {
|
|
32
|
+
return value && typeof value === "object" ? value : null;
|
|
33
|
+
}
|
|
34
|
+
function isNonEmptyString(value) {
|
|
35
|
+
return typeof value === "string" && value.length > 0;
|
|
36
|
+
}
|
|
37
|
+
function encodePublicProductCategorySelector(selector) {
|
|
38
|
+
if (!selector) return {};
|
|
39
|
+
switch (selector.kind) {
|
|
40
|
+
case "category": return {
|
|
41
|
+
productCategoryScope: "category",
|
|
42
|
+
productCategoryId: selector.productCategoryId
|
|
43
|
+
};
|
|
44
|
+
case "current-category-page":
|
|
45
|
+
if (selector.productCategoryEntryId.trim().length === 0) return {};
|
|
46
|
+
return {
|
|
47
|
+
productCategoryScope: "current-category-page",
|
|
48
|
+
productCategoryEntryId: selector.productCategoryEntryId
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function parsePublicProductCategorySelector(value) {
|
|
53
|
+
const record = asRecord(typeof value === "string" ? parseJsonValue(value) : value);
|
|
54
|
+
if (!record) return;
|
|
55
|
+
if (record.kind === "category" && isNonEmptyString(record.productCategoryId)) return {
|
|
56
|
+
kind: "category",
|
|
57
|
+
productCategoryId: record.productCategoryId
|
|
58
|
+
};
|
|
59
|
+
if (record.kind === "current-category-page" && isNonEmptyString(record.productCategoryEntryId)) return {
|
|
60
|
+
kind: "current-category-page",
|
|
61
|
+
productCategoryEntryId: record.productCategoryEntryId
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/client/responseMedia.ts
|
|
66
|
+
function materializeMediaNode(value, index) {
|
|
67
|
+
if (Array.isArray(value)) return value.map((item) => materializeMediaNode(item, index));
|
|
68
|
+
if (!value || typeof value !== "object") return value;
|
|
69
|
+
if ("identifier" in value) {
|
|
70
|
+
const reference = mediaSchema.safeParse(value);
|
|
71
|
+
if (reference.success) {
|
|
72
|
+
const resolution = resolveManagedMediaReference(reference.data, index);
|
|
73
|
+
if (resolution.kind === "resolved") {
|
|
74
|
+
const { identifier: _identifier, ...usage } = reference.data;
|
|
75
|
+
return {
|
|
76
|
+
...usage,
|
|
77
|
+
asset: resolution.asset
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return Object.fromEntries(Object.entries(value).map(([key, item]) => [key, materializeMediaNode(item, index)]));
|
|
83
|
+
}
|
|
84
|
+
/** A malformed or repeated sidecar asset costs only its own images, never the whole response. */
|
|
85
|
+
function indexSidecarAssets(mediaAssets) {
|
|
86
|
+
if (!Array.isArray(mediaAssets) || !mediaAssets.length) return void 0;
|
|
87
|
+
return indexRenderableMediaAssets([...new Map(mediaAssets.flatMap((asset) => {
|
|
88
|
+
const parsed = renderableMediaAssetSchema.safeParse(asset);
|
|
89
|
+
return parsed.success ? [[parsed.data.id, parsed.data]] : [];
|
|
90
|
+
})).values()]);
|
|
91
|
+
}
|
|
92
|
+
/** Resolve render-only asset references before loader coercion removes response sidecars. */
|
|
93
|
+
function materializeLoaderMedia(payload) {
|
|
94
|
+
if (!payload || typeof payload !== "object" || !("mediaAssets" in payload)) return payload;
|
|
95
|
+
const index = indexSidecarAssets(payload.mediaAssets);
|
|
96
|
+
return index ? materializeMediaNode(payload, index) : payload;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Entry media arrives as references with its assets beside the entries. The
|
|
100
|
+
* page that later renders an entry has no record of those assets, so each
|
|
101
|
+
* reference carries its asset from here on.
|
|
102
|
+
*/
|
|
103
|
+
function materializeEntriesMedia(response) {
|
|
104
|
+
const index = indexSidecarAssets(response.mediaAssets);
|
|
105
|
+
if (!index) return response;
|
|
106
|
+
return {
|
|
107
|
+
...response,
|
|
108
|
+
entries: response.entries.map((entry) => ({
|
|
109
|
+
...entry,
|
|
110
|
+
content: Object.fromEntries(Object.entries(entry.content).map(([key, value]) => [key, materializeMediaNode(value, index)]))
|
|
111
|
+
}))
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
//#endregion
|
|
115
|
+
export { SUPPORTED_LOADER_ENDPOINTS as a, parsePublicProductCategorySelector as i, materializeLoaderMedia as n, isSupportedLoaderEndpoint as o, encodePublicProductCategorySelector as r, materializeEntriesMedia as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as parseColorTokenParts, Mt as parseThemeColorToken, Nt as themeColorTokenSchema, T as buttonSystemSchema, U as paletteColorEntries, V as hexColorSchema, W as paletteColorsFromEntries, d as tokenOrCssColorValueSchema, jt as isThemeColorToken, mt as SURFACE_INK_CSS_VARS, xt as surfaceInkDeclarations } from "./resolveButtonColourStates-OXFRGn5M.mjs";
|
|
2
2
|
import { i as mediaSchema, n as externalMediaSchema, r as imageMediaSchema, s as videoMediaSchema, t as assetMediaSchema } from "./media-DnlczCMA.mjs";
|
|
3
3
|
import { i as declarationsSchema, n as customCssRulesSchema, r as declarationValueSchema, s as selectorSchema, t as blockCustomCssRulesSchema } from "./validation-CDd6m8Ry.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -6,10 +6,11 @@ import { z } from "zod";
|
|
|
6
6
|
const arrangementModes = [
|
|
7
7
|
"list",
|
|
8
8
|
"calendar",
|
|
9
|
-
"week"
|
|
9
|
+
"week",
|
|
10
|
+
"combined"
|
|
10
11
|
];
|
|
11
12
|
function isArrangementMode(value) {
|
|
12
|
-
return value === "list" || value === "calendar" || value === "week";
|
|
13
|
+
return value === "list" || value === "calendar" || value === "week" || value === "combined";
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
16
|
* Defines a literal-preserving catalog while rejecting top-level extra keys on
|
package/dist/server/server.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createRiverbankClient } from "./client-
|
|
2
|
-
import { t as loadPage } from "./loadPage-
|
|
3
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
1
|
+
import { t as createRiverbankClient } from "./client-Cot-H5fQ.mjs";
|
|
2
|
+
import { t as loadPage } from "./loadPage-kviUdH8c.mjs";
|
|
3
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BkaWYEwt.mjs";
|
|
4
4
|
export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as renderCssDeclarations, E as resolvedButtonFocusDeclarations, O as cardBorderDeclarations, T as resolvedButtonColourDeclarations, _ as
|
|
1
|
+
import { At as textColorValue, E as buttonVariantIdSchema, L as isOnColorBackgroundCandidateToken, R as onColorTokenName, a as formatButtonColourContractError, at as hexToRgb, gt as surfaceForegroundDeclarations, j as unsafeAsOpaqueButtonColourToken, n as compileButtonColourStates, z as getTextColorForBackground } from "./resolveButtonColourStates-OXFRGn5M.mjs";
|
|
2
|
+
import { C as generateShadowCssVars, D as renderCssDeclarations, E as resolvedButtonFocusDeclarations, O as cardBorderDeclarations, S as generateOpaquePanelCss, T as resolvedButtonColourDeclarations, _ as INPUT_GROUP_ERROR_SELECTOR, b as generateInputGroupCss, c as generateAllBlockVarsCss, d as generateTypographyCss, f as generateProgressCss, i as compileCustomCssRules, k as cardDecorationPseudoRules, p as generateStatusCss, t as ThemeScopeCore, u as THEME_RADIUS_CSS_VARS, v as INPUT_GROUP_FOCUS_SELECTOR, w as RESOLVED_BUTTON_DISABLED_DECLARATIONS, x as generateCheckableCss, y as INPUT_GROUP_SELECTOR } from "./ThemeScopeCore-C72VC_lR.mjs";
|
|
3
3
|
import { o as parseCustomCssRules } from "./validation-CDd6m8Ry.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as React$1 from "react";
|
package/dist/server/theme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as themeSchema$1 } from "./schema-
|
|
2
|
-
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-
|
|
1
|
+
import { t as themeSchema$1 } from "./schema-DEizlyi4.mjs";
|
|
2
|
+
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-CDrF51tJ.mjs";
|
|
3
3
|
import * as fs from "fs/promises";
|
|
4
4
|
import * as path from "path";
|
|
5
5
|
//#region src/theme/loader.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as builtinTransformDefinitions } from "./pageRenderPlan-
|
|
2
|
-
import {
|
|
1
|
+
import { u as builtinTransformDefinitions } from "./pageRenderPlan-CDyn7iLy.mjs";
|
|
2
|
+
import { Ai as fieldSchema, Di as blockCategoryEnum, Fi as sdkBlockPresentationShape, Ii as validateSdkBlockDeclaration, Li as NodeSchema, Oi as blockSectionDeclarationShape, Pi as validateManifestLookField, Za as parseMailingListProviderScope, ki as builtInBlockKindsSchema, t as getBlockDefinition, zi as RESOLVED_INTERNAL_LINK_ENTITY_TYPES } from "./registry-BPFcpn6k.mjs";
|
|
3
3
|
import { a as ALLOWED_TRANSFORM_IDS_SET, r as ALLOWED_NODE_TYPES_SET, t as titleSourceValueSchema } from "./titleSourceSchema-DwKJfMYb.mjs";
|
|
4
4
|
import { n as collectBookingReservedFieldCollisions, t as APPOINTMENT_BOOKING_BLOCK_ID } from "./booking-form.reserved-fields-BWRF7509.mjs";
|
|
5
|
-
import { t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-
|
|
6
|
-
import {
|
|
5
|
+
import { t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-DlprLLsc.mjs";
|
|
6
|
+
import { a as SUPPORTED_LOADER_ENDPOINTS$1 } from "./responseMedia-D8J3VAFs.mjs";
|
|
7
7
|
import { n as BINDING_TRANSFORM_VALUES$1 } from "./bindings-DhmIW3Er.mjs";
|
|
8
8
|
import { t as footerModeSchema } from "./mode-Cv_TG9gP.mjs";
|
|
9
9
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
@@ -20,7 +20,7 @@ function isRecord(value) {
|
|
|
20
20
|
*
|
|
21
21
|
* Goal: a single source-of-truth for link shapes used across dashboard + SDK.
|
|
22
22
|
* - Types live in `packages/api/src/navigation/types.ts`
|
|
23
|
-
* - Schemas live here and are tied to types via `satisfies z.ZodType<...>`
|
|
23
|
+
* - Schemas live here and are tied to types via `satisfies z.core.$ZodType<...>`
|
|
24
24
|
*/
|
|
25
25
|
const portalLinkPayloadSchema = z.object({
|
|
26
26
|
kind: z.literal("portal"),
|
|
@@ -93,7 +93,7 @@ z.discriminatedUnion("kind", navigationLinkInputSchemaOptions);
|
|
|
93
93
|
*
|
|
94
94
|
* Goal: a single source-of-truth for request payload shapes used across dashboard + SDK.
|
|
95
95
|
* - Endpoint request/response types live in `packages/api/src/types.ts`
|
|
96
|
-
* - Schemas live here and are tied to those types via `satisfies z.ZodType<...>`
|
|
96
|
+
* - Schemas live here and are tied to those types via `satisfies z.core.$ZodType<...>`
|
|
97
97
|
*
|
|
98
98
|
* NOTE: These schemas represent the *wire/input* shape for API requests.
|
|
99
99
|
* Service-layer code should parse/normalize again (defaults/refinements) into domain types.
|