@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,7 +1,7 @@
|
|
|
1
|
-
import { n as parseSurfaceTree } from "./accessibleSurfaces-
|
|
1
|
+
import { n as parseSurfaceTree } from "./accessibleSurfaces-B_Y_dA20.mjs";
|
|
2
2
|
import { t as parseSiteId } from "./identity-Bn9OQiT1.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { t as SDK_VERSION } from "./version-
|
|
3
|
+
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-D8J3VAFs.mjs";
|
|
4
|
+
import { t as SDK_VERSION } from "./version-BLXZ31S-.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
7
7
|
function availability(transport) {
|
|
@@ -3145,6 +3145,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3145
3145
|
auth: "admin",
|
|
3146
3146
|
responseKind: "json"
|
|
3147
3147
|
},
|
|
3148
|
+
/** Give a self-serve subscription free time: its trial ends on the chosen date. */
|
|
3149
|
+
adminGrantTrial: {
|
|
3150
|
+
path: "/admin/billing/trial-grant",
|
|
3151
|
+
method: "POST",
|
|
3152
|
+
tags: ["admin", "billing"],
|
|
3153
|
+
auth: "admin",
|
|
3154
|
+
responseKind: "json",
|
|
3155
|
+
errors: []
|
|
3156
|
+
},
|
|
3148
3157
|
changePlan: {
|
|
3149
3158
|
path: "/billing/plan/change",
|
|
3150
3159
|
method: "POST",
|
|
@@ -3531,6 +3540,54 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3531
3540
|
* person when nothing is attached to them.
|
|
3532
3541
|
*/
|
|
3533
3542
|
const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3543
|
+
previewPersonRemoval: {
|
|
3544
|
+
path: "/sites/{siteId}/bookings/people/{personId}/removal-preview",
|
|
3545
|
+
method: "GET",
|
|
3546
|
+
auth: "user",
|
|
3547
|
+
responseKind: "json",
|
|
3548
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
3549
|
+
errors: [
|
|
3550
|
+
"auth:forbidden",
|
|
3551
|
+
"resource:not_found",
|
|
3552
|
+
"server:internal_error"
|
|
3553
|
+
]
|
|
3554
|
+
},
|
|
3555
|
+
removePerson: {
|
|
3556
|
+
path: "/sites/{siteId}/bookings/people/{personId}/removal",
|
|
3557
|
+
method: "POST",
|
|
3558
|
+
auth: "user",
|
|
3559
|
+
responseKind: "json",
|
|
3560
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
3561
|
+
errors: [
|
|
3562
|
+
"auth:forbidden",
|
|
3563
|
+
"resource:not_found",
|
|
3564
|
+
"server:internal_error"
|
|
3565
|
+
]
|
|
3566
|
+
},
|
|
3567
|
+
getPersonRemovalStatus: {
|
|
3568
|
+
path: "/sites/{siteId}/bookings/people/{personId}/removal",
|
|
3569
|
+
method: "GET",
|
|
3570
|
+
auth: "user",
|
|
3571
|
+
responseKind: "json",
|
|
3572
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
3573
|
+
errors: [
|
|
3574
|
+
"auth:forbidden",
|
|
3575
|
+
"resource:not_found",
|
|
3576
|
+
"server:internal_error"
|
|
3577
|
+
]
|
|
3578
|
+
},
|
|
3579
|
+
exportPersonData: {
|
|
3580
|
+
path: "/sites/{siteId}/bookings/people/{personId}/export.json",
|
|
3581
|
+
method: "GET",
|
|
3582
|
+
auth: "user",
|
|
3583
|
+
responseKind: "blob",
|
|
3584
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
3585
|
+
errors: [
|
|
3586
|
+
"auth:forbidden",
|
|
3587
|
+
"resource:not_found",
|
|
3588
|
+
"server:internal_error"
|
|
3589
|
+
]
|
|
3590
|
+
},
|
|
3534
3591
|
getBookingPerson: {
|
|
3535
3592
|
path: "/sites/{siteId}/bookings/people/{personId}",
|
|
3536
3593
|
method: "GET",
|
|
@@ -4929,6 +4986,20 @@ const API_ENDPOINTS$1 = {
|
|
|
4929
4986
|
errors: ["resource:not_found", "server:internal_error"],
|
|
4930
4987
|
responseKind: "json"
|
|
4931
4988
|
},
|
|
4989
|
+
updateFooterCredit: {
|
|
4990
|
+
path: "/sites/{siteId}/settings/footer-credit",
|
|
4991
|
+
method: "POST",
|
|
4992
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4993
|
+
auth: "user",
|
|
4994
|
+
demoMutation: DEMO_MUTATION_ALLOWED,
|
|
4995
|
+
errors: [
|
|
4996
|
+
"auth:forbidden",
|
|
4997
|
+
"validation:invalid_input",
|
|
4998
|
+
"resource:not_found",
|
|
4999
|
+
"server:internal_error"
|
|
5000
|
+
],
|
|
5001
|
+
responseKind: "json"
|
|
5002
|
+
},
|
|
4932
5003
|
updateFooterComposition: {
|
|
4933
5004
|
editLease: "unleased-editor",
|
|
4934
5005
|
path: "/sites/{siteId}/settings/footer-composition",
|
|
@@ -5286,6 +5357,18 @@ const API_ENDPOINTS$1 = {
|
|
|
5286
5357
|
auth: "user",
|
|
5287
5358
|
responseKind: "json"
|
|
5288
5359
|
},
|
|
5360
|
+
accountAnswerHeardFrom: {
|
|
5361
|
+
path: "/account/heard-from",
|
|
5362
|
+
method: "POST",
|
|
5363
|
+
tags: ["account"],
|
|
5364
|
+
auth: "user",
|
|
5365
|
+
errors: [
|
|
5366
|
+
"auth:unauthenticated",
|
|
5367
|
+
"validation:invalid_input",
|
|
5368
|
+
"server:internal_error"
|
|
5369
|
+
],
|
|
5370
|
+
responseKind: "json"
|
|
5371
|
+
},
|
|
5289
5372
|
accountRevokeSessions: {
|
|
5290
5373
|
path: "/account/sessions/revoke",
|
|
5291
5374
|
method: "POST",
|
|
@@ -11439,7 +11522,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
11439
11522
|
async function getEntriesInternal(params) {
|
|
11440
11523
|
const { siteId, preview = false, signal } = params;
|
|
11441
11524
|
const request = buildEntryListReadRequest(params);
|
|
11442
|
-
return resilientFetchData("listPublishedEntries", request.cacheKey, (sig) => apiClient({
|
|
11525
|
+
return materializeEntriesMedia(await resilientFetchData("listPublishedEntries", request.cacheKey, (sig) => apiClient({
|
|
11443
11526
|
endpoint: "listPublishedEntries",
|
|
11444
11527
|
params: request.params,
|
|
11445
11528
|
options: { signal: sig }
|
|
@@ -11448,7 +11531,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
11448
11531
|
signal,
|
|
11449
11532
|
cacheTags: buildPublicReadMemoryCacheTags("listPublishedEntries", { siteId }),
|
|
11450
11533
|
prebuildFallback: prebuildLoader && !preview ? () => prebuildLoader.loadEntries(siteId, params) : void 0
|
|
11451
|
-
});
|
|
11534
|
+
}));
|
|
11452
11535
|
}
|
|
11453
11536
|
return {
|
|
11454
11537
|
async getSite(params) {
|
|
@@ -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-bl6WcAi_.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
1
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.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-
|
|
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-bl6WcAi_.mjs";
|
|
3
3
|
//#region ../core/src/rich-text.ts
|
|
4
4
|
function isRecord(value) {
|
|
5
5
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -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-BHvfGD4y.mjs";
|
|
2
2
|
export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { 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";
|
|
2
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-
|
|
2
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-Cot-H5fQ.mjs";
|
|
3
3
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.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-DOG4MkOy.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as invalidRenderableBlock, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as readPublishedBlockPlacement } from "./pageRuntimeSupport-
|
|
1
|
+
import { Gn as resolveDateRuntimeContext } from "./registry-BPFcpn6k.mjs";
|
|
2
|
+
import { a as invalidRenderableBlock, d as siteLocationRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as readPublishedBlockPlacement } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
|
|
3
3
|
import { o as isRecord } from "./richTextSchema-Euhuj-7V.mjs";
|
|
4
|
-
import { t as applyBindingsToContent } from "./bindings-
|
|
4
|
+
import { t as applyBindingsToContent } from "./bindings-ConMYJ2U.mjs";
|
|
5
5
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
6
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
6
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-BHvfGD4y.mjs";
|
|
7
7
|
//#region ../content-model/src/entry-slots/types.ts
|
|
8
8
|
function ok(value) {
|
|
9
9
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as siteLocationRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-
|
|
1
|
+
import { d as siteLocationRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
|
|
2
2
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
3
3
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
4
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
4
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-BHvfGD4y.mjs";
|
|
5
5
|
//#region src/rendering/helpers/loadPage.ts
|
|
6
6
|
/**
|
|
7
7
|
* Server-side helper to fetch all data needed for <Page> component.
|
package/dist/server/metadata.mjs
CHANGED
|
@@ -109,7 +109,11 @@ function toEventNode(subject) {
|
|
|
109
109
|
location: {
|
|
110
110
|
"@type": "Place",
|
|
111
111
|
name: subject.event.locationName,
|
|
112
|
-
...subject.event.locationAddress ? { address: subject.event.locationAddress } : {}
|
|
112
|
+
...subject.event.locationAddress ? { address: subject.event.locationAddress } : {},
|
|
113
|
+
...subject.event.locationArea ? { containedInPlace: {
|
|
114
|
+
"@type": "Place",
|
|
115
|
+
name: subject.event.locationArea
|
|
116
|
+
} } : {}
|
|
113
117
|
},
|
|
114
118
|
...subject.event.offer ? { offers: {
|
|
115
119
|
"@type": "Offer",
|
|
@@ -154,10 +154,7 @@ function createRevalidateHandler(options = {}) {
|
|
|
154
154
|
invalidPathCount: normalizedPaths.invalidPaths.length
|
|
155
155
|
});
|
|
156
156
|
const normalizedTags = normalizeRevalidationTags(payload.tags);
|
|
157
|
-
|
|
158
|
-
revalidateTag(tag, "max");
|
|
159
|
-
revalidated.push(`tag:${tag}`);
|
|
160
|
-
}
|
|
157
|
+
revalidated.push(...revalidateWebhookTags(payload.event, normalizedTags));
|
|
161
158
|
for (const path of normalizedPaths.paths) {
|
|
162
159
|
revalidatePath(path);
|
|
163
160
|
revalidated.push(`path:${path}`);
|
|
@@ -196,5 +193,13 @@ function createRevalidateHandler(options = {}) {
|
|
|
196
193
|
});
|
|
197
194
|
};
|
|
198
195
|
}
|
|
196
|
+
/** The accepted process-memory lag does not permit stale Next fetch-cache copies. */
|
|
197
|
+
function revalidateWebhookTags(event, tags) {
|
|
198
|
+
const profile = event === "site.settings_updated" ? { expire: 0 } : "max";
|
|
199
|
+
return tags.map((tag) => {
|
|
200
|
+
revalidateTag(tag, profile);
|
|
201
|
+
return `tag:${tag}`;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
199
204
|
//#endregion
|
|
200
205
|
export { createRevalidateHandler, normalizeRevalidationPath, normalizeRevalidationPaths, normalizeRevalidationTags };
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-
|
|
3
|
-
import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-
|
|
1
|
+
import { _o as resolveBookingBusinessTimeZone, lo as inferSiteDateLocale, yo as toUtcIsoDateTimeString } from "./registry-BPFcpn6k.mjs";
|
|
2
|
+
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-Q_Vij87H.mjs";
|
|
3
|
+
import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-Cot-H5fQ.mjs";
|
|
4
4
|
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
5
5
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
6
6
|
import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
|
|
7
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
7
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BkaWYEwt.mjs";
|
|
8
8
|
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
9
9
|
import { t as getPortalToken } from "./portal-Ce1Prfl3.mjs";
|
|
10
10
|
import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
|
|
11
|
-
import { t as SDK_VERSION } from "./version-
|
|
11
|
+
import { t as SDK_VERSION } from "./version-BLXZ31S-.mjs";
|
|
12
12
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
13
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
13
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-itXZCXs7.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Dt as rgbColorValue, I as expandPalette, Mt as parseThemeColorToken, et as preparePaletteColourIndex, gt as surfaceForegroundDeclarations, mt as SURFACE_INK_CSS_VARS, pt as SURFACE_FOREGROUND_CSS_VARS, xt as surfaceInkDeclarations } from "./resolveButtonColourStates-OXFRGn5M.mjs";
|
|
2
|
+
import { f as contextualButtonSurfaceResetStyles, r as requireResolvedSurface } from "./accessibleSurfaces-B_Y_dA20.mjs";
|
|
3
3
|
//#region ../theme-core/src/surfaces/opaqueSurface.ts
|
|
4
4
|
function opaqueSurfaceContextFromTheme(theme) {
|
|
5
5
|
const palette = expandPalette(theme.palette);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PageContent } from "./pageShared-
|
|
1
|
+
import { t as PageContent } from "./pageShared-Q_Vij87H.mjs";
|
|
2
2
|
import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/rendering/components/Page.server.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Vr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-BPFcpn6k.mjs";
|
|
2
2
|
import { n as createRichTextDoc } from "./richTextSchema-Euhuj-7V.mjs";
|
|
3
3
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
4
4
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
1
|
+
import { Mt as parseThemeColorToken, Q as contrastRatio, at as hexToRgb, c as resolveOnColorForThemeToken, ct as oklchToHexGamut, dt as srgbToOklab, o as isCssColorLiteral, ot as oklabToOklch, st as oklabToSrgb, u as resolveTokenOrCssColorValue, ut as rgbToHex, z as getTextColorForBackground } from "./resolveButtonColourStates-OXFRGn5M.mjs";
|
|
2
|
+
import { $ as MediaNodeServer, $n as formattingTransforms, $r as lookQuoteLimitTransform, $t as formatEventCompactDateRail, Bn as contentTransforms, Bt as buildEventListWeek, Da as sectionShapeHook, Ea as sectionShapeFromContent, F as combinedLookSchema, Fa as sectionSurfaceBase, Gr as resolveSurfaceForegroundStyles, Gt as formatEventPriceDisplay, Hr as parseBackgroundOverlay, Ht as weekColumnDays, It as ThemedButtonLink, Jn as chromeLogoTransforms, Jr as standardImageShapeOptions, Jt as eventDateOptions, K as resolveCalendarReadProfile, Kn as mediaTransforms, Kr as resolveBackgroundColorValue, La as resolveEffectiveKnobs, Lr as boxStylesTransforms, Ma as deriveSectionGround, Na as parseCanonicalRuntimeBackground, Oa as boundaryRuntimeMetricsForDecorativeTransition, Pa as resolveSectionBackground, Q as selectCardListPresentation, Qi as resolveLookSurfacePresentation, Qn as uiTransforms, Qr as lookLeadSlotTransform, Ra as cardListFamilyBlocks, Sn as formatTotalCapacity, Ta as sectionShapeForGround, Tn as isEventFull, Ur as parseRuntimeBackgroundContent, Ut as formatEventPrice, Vr as parseBackgroundContent, Wn as readRuntimeNow, Wr as resolveSectionSurfaceForeground, X as CardListLeadDate, Xi as augmentManifest, Xr as getAnchorClasses, Y as CardListContentPart, Yn as layoutTransforms, Yr as BACKGROUND_POSITION_PRESET_VALUES, Yt as eventLocalDateKey, Z as resolveCardListSchedule, Zi as lookPresentationOnPalette, Zn as resolveHeroTitleLength, Zr as lookCarouselRegionTransform, _n as resolveRuntimeEventDestination, _o as resolveBookingBusinessTimeZone, aa as arrangementSlotNames, bn as canJoinEventWaitlistOnAnyMode, bt as eventCalendarListLayoutOptions, ca as resolveEffectiveArrangement, co as formatDateTimeRange, da as deriveSiteStyleBlockPolicy, dr as listLookSlot, ea as heroPhotoPaintsGround, ei as lookSkinSlotTransform, en as formatEventDateParts, fo as compareLocalScheduleDates, gn as isToday, ho as parseBookingLocalDate, hr as standardAspectRatioOptions, in as formatTime, ja as applyLookPhotoTreatment, la as resolveModeArrangement, lr as listItemPresentation, mi as ClockIcon, mo as getLocalScheduleDate, ni as createTransformRegistry, oa as arrangementManifestFromVariants, on as resolveEventTimeZone, oo as formatDate, pt as resolveEventSelection, qa as orderedLiveRunSessions, qn as headerRuntimeTransforms, qt as eventCalendarWeekStart, ra as arrangementAppearancePresets, rn as formatEventTimeRange, rt as computeMediaTransformStyle, sa as readStoredMode, so as formatDateRange, t as getBlockDefinition, ti as asPartialObject, tt as ImagePresets, ua as resolvePublishedLook, un as formatDateKey, vn as formatBookingSchedulePresentation, vr as heroTitleSizeOptions, vt as eventCalendarListGroupingDecision, wn as getEventAvailabilityStatus, xn as formatEventRemainingPlaces, xt as resolveEventCalendarReadPlan, yo as toUtcIsoDateTimeString, yt as eventCalendarListLayoutCompatibleDisplayModeValues, za as cardListKnobBlocks } from "./registry-BPFcpn6k.mjs";
|
|
3
|
+
import { N as resolveConcreteColorHex, n as parseSurfaceTree } from "./accessibleSurfaces-B_Y_dA20.mjs";
|
|
4
4
|
import { o as runtimeMediaSchema } from "./media-DnlczCMA.mjs";
|
|
5
5
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
6
|
-
import { $ as asSiteStyleId, G as themeV2CompilerOwnedFieldNames, W as stripStaleTransitionStyleGroup, Y as asDesignBlockId, Z as asLayoutVariantKey, dt as makeBoundaryId, et as assertNever$1 } from "./schema-
|
|
6
|
+
import { $ as asSiteStyleId, G as themeV2CompilerOwnedFieldNames, W as stripStaleTransitionStyleGroup, Y as asDesignBlockId, Z as asLayoutVariantKey, dt as makeBoundaryId, et as assertNever$1 } from "./schema-DEizlyi4.mjs";
|
|
7
7
|
import { a as isObjectRecord } from "./richTextSchema-Euhuj-7V.mjs";
|
|
8
8
|
import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1136,6 +1136,37 @@ function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
|
1136
1136
|
});
|
|
1137
1137
|
}
|
|
1138
1138
|
//#endregion
|
|
1139
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/eventCategoryBadge.ts
|
|
1140
|
+
/** The category's badge, when the event has a category: its name in its own colour, with readable text. */
|
|
1141
|
+
function eventCategoryBadge(category) {
|
|
1142
|
+
return category ? {
|
|
1143
|
+
label: category.name,
|
|
1144
|
+
style: categoryBadgeStyle(category.color ?? null)
|
|
1145
|
+
} : null;
|
|
1146
|
+
}
|
|
1147
|
+
function categoryBadgeStyle(background) {
|
|
1148
|
+
const normalized = background?.trim() ?? "";
|
|
1149
|
+
if (!normalized) return {
|
|
1150
|
+
backgroundColor: "rgb(var(--tb-accent, 0 0 0))",
|
|
1151
|
+
color: "rgb(var(--tb-onAccent, 255 255 255))"
|
|
1152
|
+
};
|
|
1153
|
+
if (isCssColorLiteral(normalized)) return {
|
|
1154
|
+
backgroundColor: normalized,
|
|
1155
|
+
color: readableTextColor(normalized)
|
|
1156
|
+
};
|
|
1157
|
+
return {
|
|
1158
|
+
backgroundColor: resolveTokenOrCssColorValue(normalized),
|
|
1159
|
+
color: resolveOnColorForThemeToken(normalized) ?? "rgb(var(--tb-onAccent, 255 255 255))"
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
function readableTextColor(background) {
|
|
1163
|
+
try {
|
|
1164
|
+
return getTextColorForBackground(background);
|
|
1165
|
+
} catch {
|
|
1166
|
+
return "rgb(var(--tb-onAccent, 255 255 255))";
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
//#endregion
|
|
1139
1170
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventItem.tsx
|
|
1140
1171
|
/** Arrangement content choices are data, ready for other live offering lists to reuse. */
|
|
1141
1172
|
const eventItemParts = {
|
|
@@ -1164,6 +1195,7 @@ const eventItemParts = {
|
|
|
1164
1195
|
],
|
|
1165
1196
|
grid: [
|
|
1166
1197
|
"image",
|
|
1198
|
+
"chips",
|
|
1167
1199
|
"date",
|
|
1168
1200
|
"title",
|
|
1169
1201
|
"meta",
|
|
@@ -1237,11 +1269,12 @@ function renderCalendarItem(props) {
|
|
|
1237
1269
|
const facts = eventItemFacts(props);
|
|
1238
1270
|
const Tag = props.as ?? eventItemTag(props.arrangement);
|
|
1239
1271
|
const root = props.arrangement === "grid" ? "item" : props.continued ? "row-continued" : "row";
|
|
1272
|
+
const chipsOnPhoto = parts.includes("image") && Boolean(props.event.presentation?.image);
|
|
1240
1273
|
const body = (part) => [
|
|
1241
1274
|
"title",
|
|
1242
1275
|
"meta",
|
|
1243
1276
|
"description"
|
|
1244
|
-
].includes(part) || part === "action" && props.arrangement === "grid";
|
|
1277
|
+
].includes(part) || part === "chips" && !chipsOnPhoto || part === "action" && props.arrangement === "grid";
|
|
1245
1278
|
const renderPart = (part) => /* @__PURE__ */ jsx(React.Fragment, { children: renderEventItemContentPart({
|
|
1246
1279
|
part,
|
|
1247
1280
|
props,
|
|
@@ -1251,7 +1284,7 @@ function renderCalendarItem(props) {
|
|
|
1251
1284
|
...listLookSlot(props, root),
|
|
1252
1285
|
"data-availability": facts.availability,
|
|
1253
1286
|
children: [
|
|
1254
|
-
parts.filter((part) => part === "image" || part === "date").map(renderPart),
|
|
1287
|
+
parts.filter((part) => part === "image" || part === "chips" && chipsOnPhoto || part === "date").map(renderPart),
|
|
1255
1288
|
/* @__PURE__ */ jsx("div", {
|
|
1256
1289
|
...listLookSlot(props, props.arrangement === "grid" ? "item-body" : "what"),
|
|
1257
1290
|
children: parts.filter(body).map(renderPart)
|
|
@@ -1278,6 +1311,7 @@ function eventItemTag(arrangement) {
|
|
|
1278
1311
|
function renderEventItemContentPart({ part, props, facts }) {
|
|
1279
1312
|
switch (part) {
|
|
1280
1313
|
case "image": return renderEventItemImage(props, facts.link);
|
|
1314
|
+
case "chips": return renderEventItemCategory(props);
|
|
1281
1315
|
case "date": return /* @__PURE__ */ jsxs("time", {
|
|
1282
1316
|
...listLookSlot(props, "date"),
|
|
1283
1317
|
dateTime: props.event.startsAt,
|
|
@@ -1363,6 +1397,18 @@ function renderEventItemImage(props, link) {
|
|
|
1363
1397
|
presentation: props
|
|
1364
1398
|
});
|
|
1365
1399
|
}
|
|
1400
|
+
/** The same badge the older event cards show: the category's name in its own colour. */
|
|
1401
|
+
function renderEventItemCategory(props) {
|
|
1402
|
+
const badge = eventCategoryBadge(props.event.eventCategory);
|
|
1403
|
+
return badge ? /* @__PURE__ */ jsx("div", {
|
|
1404
|
+
...listLookSlot(props, "chips"),
|
|
1405
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
1406
|
+
...listLookSlot(props, "chip"),
|
|
1407
|
+
style: badge.style,
|
|
1408
|
+
children: badge.label
|
|
1409
|
+
})
|
|
1410
|
+
}) : null;
|
|
1411
|
+
}
|
|
1366
1412
|
function renderEventItemAction(props) {
|
|
1367
1413
|
const cta = resolveEventCta(props.event, props.buttonText);
|
|
1368
1414
|
const slot = props.arrangement === "grid" ? "item-actions" : "action";
|
|
@@ -1766,10 +1812,11 @@ function hasArrangementPanel(display) {
|
|
|
1766
1812
|
return display.state === "ready" && display.lookSlots !== void 0 && display.listLayout === "compact";
|
|
1767
1813
|
}
|
|
1768
1814
|
/** Nearest slot parents in EventListBody and WeekColumns. */
|
|
1769
|
-
|
|
1815
|
+
/** `root` is the declared slot the listing renders inside (a Look may paint the block's layout), or null. */
|
|
1816
|
+
function eventListSlotParents(arrangement, root = null) {
|
|
1770
1817
|
return {
|
|
1771
|
-
list: arrangement === "compact" ? "panel" :
|
|
1772
|
-
panel:
|
|
1818
|
+
list: arrangement === "compact" ? "panel" : root,
|
|
1819
|
+
panel: root,
|
|
1773
1820
|
group: "list",
|
|
1774
1821
|
"group-label": "group",
|
|
1775
1822
|
"group-date": "group-label",
|
|
@@ -2236,7 +2283,7 @@ function arrangementSlotParents(input) {
|
|
|
2236
2283
|
const { target, arrangement } = input;
|
|
2237
2284
|
if (target === "events") return {
|
|
2238
2285
|
...derived,
|
|
2239
|
-
...eventListSlotParents(arrangement),
|
|
2286
|
+
...eventListSlotParents(arrangement, "layout" in derived ? "layout" : null),
|
|
2240
2287
|
...eventItemSlotParents(arrangement),
|
|
2241
2288
|
...arrangement === "month-grid" || arrangement === "month-day" ? monthSlotParents(arrangement) : {}
|
|
2242
2289
|
};
|
|
@@ -2463,6 +2510,13 @@ const systemCustomizeFacetDefinitions = [
|
|
|
2463
2510
|
"block.form"
|
|
2464
2511
|
]
|
|
2465
2512
|
},
|
|
2513
|
+
fixedKnob("block.hero", "photoTint", "Photo tint", [{
|
|
2514
|
+
value: "dark",
|
|
2515
|
+
label: "Dark"
|
|
2516
|
+
}, {
|
|
2517
|
+
value: "brand",
|
|
2518
|
+
label: "Brand colour"
|
|
2519
|
+
}], "dark"),
|
|
2466
2520
|
fixedKnob("block.hero", "candleGlow", "Candle glow", onOff, "true", false, true),
|
|
2467
2521
|
fixedKnob("block.hero", "columnGuides", "Column guides", onOff, "true", false, true),
|
|
2468
2522
|
fixedKnob("block.hero", "titleSize", "Headline size", heroTitleSizeOptions, "auto", true),
|
|
@@ -3819,7 +3873,7 @@ function planArrangementContent(blockKind, manifest, content, audience) {
|
|
|
3819
3873
|
});
|
|
3820
3874
|
return {
|
|
3821
3875
|
...activeContent,
|
|
3822
|
-
...arrangementPhotoTreatmentContent(activeContent, effective.look),
|
|
3876
|
+
...arrangementPhotoTreatmentContent(activeContent, effective.look, runtime.surfaceContext.palette, values.photoTint === "brand" ? "brand" : "dark"),
|
|
3823
3877
|
...mode !== null ? { variant: mode } : {},
|
|
3824
3878
|
...effectiveContent,
|
|
3825
3879
|
...photoContent,
|
|
@@ -3840,13 +3894,13 @@ function planArrangementContent(blockKind, manifest, content, audience) {
|
|
|
3840
3894
|
};
|
|
3841
3895
|
}
|
|
3842
3896
|
/** Typed Look composition owns contrast treatment; parsing preserves authored paint. */
|
|
3843
|
-
function arrangementPhotoTreatmentContent(content, look) {
|
|
3897
|
+
function arrangementPhotoTreatmentContent(content, look, palette, tint) {
|
|
3844
3898
|
if (!look.structure.photoTreatment) return {};
|
|
3845
3899
|
const authored = parseCanonicalRuntimeBackground(content);
|
|
3846
3900
|
if (authored.kind === "none") return {};
|
|
3847
3901
|
return { _sectionStyles: {
|
|
3848
3902
|
...isObjectRecord(content._sectionStyles) ? content._sectionStyles : {},
|
|
3849
|
-
background: applyLookPhotoTreatment(authored.background, look.structure.photoTreatment)
|
|
3903
|
+
background: applyLookPhotoTreatment(authored.background, look.structure.photoTreatment, palette, tint)
|
|
3850
3904
|
} };
|
|
3851
3905
|
}
|
|
3852
3906
|
/** Widget section hooks use the theme; hero background geometry never travels to list islands. */
|
|
@@ -3925,8 +3979,10 @@ function effectiveContentKnobValue(blockKind, key, value) {
|
|
|
3925
3979
|
function arrangementContentHooks(effective, mode, length, facts, values, photoCount) {
|
|
3926
3980
|
return {
|
|
3927
3981
|
"data-look": effective.look.id,
|
|
3928
|
-
"data-
|
|
3929
|
-
|
|
3982
|
+
...mode === "combined" ? { "data-arrangement": "combined" } : {
|
|
3983
|
+
"data-treat": effective.treatment,
|
|
3984
|
+
"data-arrangement": effective.look.structure.byMode[mode ?? "default"]
|
|
3985
|
+
},
|
|
3930
3986
|
...mode !== null ? { "data-mode": mode } : {},
|
|
3931
3987
|
...length !== null ? { "data-length": length } : {},
|
|
3932
3988
|
...Object.fromEntries(Object.entries(facts).map(([key, value]) => [`data-has-${key}`, String(value)])),
|
|
@@ -3945,11 +4001,13 @@ function applyArrangementRhythm(entry, position) {
|
|
|
3945
4001
|
const surface = arrangementGroundToken(resolved);
|
|
3946
4002
|
const grounded = resolveArrangementSurfaces(entry, look, runtime, resolved, updated);
|
|
3947
4003
|
const shape = sectionShapeHook(sectionShapeForGround(runtime.fieldGrounds, surface));
|
|
4004
|
+
const combined = resolveCombinedLook(entry, grounded, runtime, resolved, updated);
|
|
3948
4005
|
return {
|
|
3949
4006
|
...entry,
|
|
3950
4007
|
styleBackground: arrangementGroundToken(resolveSectionBackground({ kind: "none" }, null, rhythm)),
|
|
3951
4008
|
renderableContent: {
|
|
3952
4009
|
...updated,
|
|
4010
|
+
...combined ? { _combinedLook: combined } : {},
|
|
3953
4011
|
_effectiveLook: grounded,
|
|
3954
4012
|
_lookHooks: {
|
|
3955
4013
|
...isObjectRecord(updated._lookHooks) ? updated._lookHooks : {},
|
|
@@ -3959,6 +4017,7 @@ function applyArrangementRhythm(entry, position) {
|
|
|
3959
4017
|
}
|
|
3960
4018
|
};
|
|
3961
4019
|
}
|
|
4020
|
+
/** The section's name for hooks such as `data-surface`. Surfaces take sectionSurfaceBase, where media and gradients are never colours. */
|
|
3962
4021
|
function arrangementGroundToken(resolved) {
|
|
3963
4022
|
if (resolved.kind === "base") return "background";
|
|
3964
4023
|
switch (resolved.background.type) {
|
|
@@ -4027,20 +4086,68 @@ function resolveArrangementSurfaces(entry, look, runtime, background, content) {
|
|
|
4027
4086
|
surfaces: runtime.surfaces,
|
|
4028
4087
|
context: runtime.surfaceContext
|
|
4029
4088
|
};
|
|
4030
|
-
const
|
|
4089
|
+
const surfacePresentation = resolveLookSurfacePresentation({
|
|
4090
|
+
look,
|
|
4091
|
+
parents: plannedSlotParents(entry, look),
|
|
4092
|
+
ground,
|
|
4093
|
+
base: sectionSurfaceBase(background, runtime.surfaceContext.palette),
|
|
4094
|
+
style,
|
|
4095
|
+
content
|
|
4096
|
+
});
|
|
4097
|
+
if (!lookPresentationOnPalette(surfacePresentation, runtime.surfaceContext.palette)) throw new Error(`Look ${look.look.id} resolved its surfaces against a different palette from this page's theme`);
|
|
4031
4098
|
return {
|
|
4032
4099
|
...look,
|
|
4033
4100
|
ground,
|
|
4034
|
-
surfacePresentation
|
|
4035
|
-
look,
|
|
4036
|
-
parents,
|
|
4037
|
-
ground,
|
|
4038
|
-
base: arrangementGroundToken(background),
|
|
4039
|
-
style,
|
|
4040
|
-
content
|
|
4041
|
-
})
|
|
4101
|
+
surfacePresentation
|
|
4042
4102
|
};
|
|
4043
4103
|
}
|
|
4104
|
+
/** The combined mode owns its resolved list and month, including independent paint. */
|
|
4105
|
+
function resolveCombinedLook(entry, list, runtime, background, content) {
|
|
4106
|
+
if (entry.block.kind !== "block.event-calendar" || content.variant !== "combined") return null;
|
|
4107
|
+
const month = runtime.byMode.calendar;
|
|
4108
|
+
if (!month) throw new Error("Combined calendar needs a month Look");
|
|
4109
|
+
const arrangement = month.look.structure.byMode.calendar;
|
|
4110
|
+
if (arrangement !== "month-grid" && arrangement !== "month-day") throw new Error("Invalid combined month arrangement");
|
|
4111
|
+
const ground = deriveSectionGround(background, runtime.surfaceContext.palette);
|
|
4112
|
+
const surfacePresentation = resolveLookSurfacePresentation({
|
|
4113
|
+
look: month,
|
|
4114
|
+
parents: arrangementSlotParentsForManifest(entry.kind === "renderable" ? entry.definition.manifest : void 0, month.look.target, arrangement),
|
|
4115
|
+
ground,
|
|
4116
|
+
base: sectionSurfaceBase(background, runtime.surfaceContext.palette),
|
|
4117
|
+
content,
|
|
4118
|
+
style: {
|
|
4119
|
+
roleMap: month.roleMap,
|
|
4120
|
+
surfaces: runtime.surfaces,
|
|
4121
|
+
context: runtime.surfaceContext
|
|
4122
|
+
}
|
|
4123
|
+
});
|
|
4124
|
+
const presentation = (look, mode, arrangement) => ({
|
|
4125
|
+
lookSlots: arrangementContentSlots(entry.block.kind),
|
|
4126
|
+
itemRoles: look.itemRoles,
|
|
4127
|
+
surfacePresentation: look.surfacePresentation,
|
|
4128
|
+
hooks: {
|
|
4129
|
+
"data-look": look.look.id,
|
|
4130
|
+
"data-treat": look.treatment,
|
|
4131
|
+
"data-mode": mode,
|
|
4132
|
+
"data-arrangement": arrangement
|
|
4133
|
+
}
|
|
4134
|
+
});
|
|
4135
|
+
return combinedLookSchema.parse({
|
|
4136
|
+
list: {
|
|
4137
|
+
...presentation(list, "list", list.look.structure.byMode.combined),
|
|
4138
|
+
arrangement: list.look.structure.byMode.combined,
|
|
4139
|
+
panelHeading: content._lookPanelHeading,
|
|
4140
|
+
itemActionStyle: content.actionStyle
|
|
4141
|
+
},
|
|
4142
|
+
month: {
|
|
4143
|
+
...presentation({
|
|
4144
|
+
...month,
|
|
4145
|
+
surfacePresentation
|
|
4146
|
+
}, "calendar", arrangement),
|
|
4147
|
+
arrangement
|
|
4148
|
+
}
|
|
4149
|
+
});
|
|
4150
|
+
}
|
|
4044
4151
|
function plannedSlotParents(entry, look) {
|
|
4045
4152
|
const fallback = Object.values(look.look.structure.byMode)[0] ?? "";
|
|
4046
4153
|
if (entry.kind !== "renderable") return arrangementSlotParentsForManifest(void 0, look.look.target, fallback);
|
|
@@ -4052,4 +4159,4 @@ function heroPhotoGround(blockKind, arrangementKey) {
|
|
|
4052
4159
|
return blockKind === "block.hero" ? { paintsGround: heroPhotoPaintsGround(arrangementKey) } : void 0;
|
|
4053
4160
|
}
|
|
4054
4161
|
//#endregion
|
|
4055
|
-
export {
|
|
4162
|
+
export { CalendarIcon as A, selectBlockContent as B, createEditorPresentationPageReader as C, CardListItems as D, CardListCollection as E, formatEventDuration as F, defaultThemeTokens as H, resolveEventCardBooking as I, resolveEventCta as L, buildMonthDay as M, resolveMonthSelectedDay as N, EventItem as O, formatEventTeacherLine as P, resolveEventLinkProps as R, EventListingFrameView as S, EmptyState as T, buildThemeTokens as V, EVENT_REGISTRATION_ANCHOR_ID as _, renderedJoinLayout as a, derivePreviewRunSchedule as b, coerceLinkedContentEntriesPayload as c, defaultTransforms as d, resolveAuthoredLinkHref as f, EventHeader as g, resolveRouteTarget as h, joinSlotKey as i, MapPinIcon as j, eventCategoryBadge as k, resolveLinkedEntryInlineFieldEligibility as l, resolvePageRouteTarget as m, planArrangementContent as n, retargetJoinsAcrossOmissions as o, resolveEntryRouteTarget as p, composePageJoins as r, buildLinkedContentEditTarget as s, createPageRenderPlanReader as t, builtinTransformDefinitions as u, eventCardListContent as v, createPresentationPageReader as w, MonthLookView as x, deriveEventScheduleSummary as y, parseStoredVariant as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bi as linkSchema, Ci as parseInlineTextFromUnknown, Ei as PUBLIC_FILE_FIELD_KINDS, Gi as parseRepeaterGridInteger, Ia as isRecord$1, Ji as resolveRepeaterGridRowFieldId, Ki as resolveRepeaterGridColumnFieldId, Ni as parseFieldDefinitions, Oo as parseContentVersionId, Ti as DEFAULT_MEDIA_FIELD_KINDS, Ui as projectRepeaterGridLayoutForRendering, Wi as buildRepeaterGridLayout, Yi as resolveRepeaterGridSpanFieldId, _o as resolveBookingBusinessTimeZone, c as sanitizeNewsletterSignupPublicContent, ci as parseBlockIconValue, io as publicLocationSchema, ji as normalizeSelectSource, qi as resolveRepeaterGridColumnsForBreakpoint, ro as projectPublicLocation, t as getBlockDefinition, to as locationValueSchema, wi as plainTextToInlineText, xi as inlineTextToPlainText, yo as toUtcIsoDateTimeString } from "./registry-BPFcpn6k.mjs";
|
|
2
2
|
import { f as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-DnlczCMA.mjs";
|
|
3
|
-
import { B as boxBackgroundSchema, V as runtimeBoxBackgroundSchema } from "./schema-
|
|
3
|
+
import { B as boxBackgroundSchema, V as runtimeBoxBackgroundSchema } from "./schema-DEizlyi4.mjs";
|
|
4
4
|
import { i as isRichTextDoc } from "./richTextSchema-Euhuj-7V.mjs";
|
|
5
5
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
6
6
|
import { z } from "zod";
|