@riverbankcms/sdk 0.171.1 → 0.173.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/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
- package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
- package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
- package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
- package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
- package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
- package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
- package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
- package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
- package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
- package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
- package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
- package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
- package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
- package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-CGa6QMgc.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 +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +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 +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +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 +18 -1
- package/dist/_dts/{types-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
- package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
- package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
- package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
- package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
- package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
- package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
- package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
- package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
- package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
- package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
- package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
- package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
- package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
- package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
- package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
- package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
- package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
- package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
- package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-D4DhWo9j.mjs} +37 -38
- package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
- package/dist/client/bookability-SargNwlO.mjs +17 -0
- package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
- package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
- package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
- package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
- package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
- package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
- package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
- package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
- package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
- package/dist/client/client.mjs +183 -4
- package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
- package/dist/client/course-CmOuoZHN.mjs +237 -0
- package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
- package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
- package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
- package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
- package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
- package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
- package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
- package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
- package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
- package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
- package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
- package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
- package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
- package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
- package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
- package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
- package/dist/client/portal/client.mjs +231 -117
- package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
- package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
- package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
- package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
- package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
- package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +38 -63
- package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
- package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
- package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
- package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
- package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
- package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
- package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
- package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
- package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
- package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
- package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
- package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
- package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
- package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
- package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
- package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
- package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
- package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
- package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
- package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
- package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
- package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -4
- package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
- package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
- package/dist/preview-next/container-responsive.css +215 -4
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
- package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
- package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
- package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
- package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
- package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
- package/dist/server/config-template-validation.mjs +3 -0
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +3 -3
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +4 -4
- package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
- package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
- package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
- package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
- package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
- package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
- package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
- package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
- 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 +8 -8
- package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
- 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-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
- package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
- package/dist/styles/index.css +1434 -15
- package/package.json +1 -1
- package/dist/client/cta-CP9l112u.mjs +0 -121
- package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
- package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
- package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as parseSurfaceTree } from "./accessibleSurfaces-
|
|
2
|
-
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-
|
|
3
|
-
import { t as parseSiteId } from "./identity-
|
|
4
|
-
import { t as SDK_VERSION } from "./version-
|
|
1
|
+
import { n as parseSurfaceTree } from "./accessibleSurfaces-Dbd2__Le.mjs";
|
|
2
|
+
import { o as isSupportedLoaderEndpoint, r as encodePublicProductCategorySelector, t as materializeEntriesMedia } from "./responseMedia-DpBC1hTM.mjs";
|
|
3
|
+
import { t as parseSiteId } from "./identity-DQD_8lNO.mjs";
|
|
4
|
+
import { t as SDK_VERSION } from "./version-LjgU0Cq1.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
7
7
|
function availability(fetchTags, transport) {
|
|
@@ -897,6 +897,7 @@ z.object({
|
|
|
897
897
|
startsAt: z.iso.datetime({ offset: true }),
|
|
898
898
|
endsAt: z.iso.datetime({ offset: true }),
|
|
899
899
|
reason: z.string().nullable(),
|
|
900
|
+
deferredAppointmentIds: z.array(z.string().uuid()).max(200).optional(),
|
|
900
901
|
selections: z.array(z.object({
|
|
901
902
|
arrangementId: z.string().uuid(),
|
|
902
903
|
appointmentId: z.string().uuid(),
|
|
@@ -1272,6 +1273,39 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1272
1273
|
"server:internal_error"
|
|
1273
1274
|
]
|
|
1274
1275
|
},
|
|
1276
|
+
resolveTeamMemberProfileEditorOwner: {
|
|
1277
|
+
path: "/sites/{siteId}/bookings/profile-editor/{entryId}/owner",
|
|
1278
|
+
method: "GET",
|
|
1279
|
+
auth: "user",
|
|
1280
|
+
responseKind: "json",
|
|
1281
|
+
errors: [
|
|
1282
|
+
"auth:forbidden",
|
|
1283
|
+
"resource:not_found",
|
|
1284
|
+
"server:internal_error"
|
|
1285
|
+
]
|
|
1286
|
+
},
|
|
1287
|
+
getTeamMemberProfileContent: {
|
|
1288
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}",
|
|
1289
|
+
method: "GET",
|
|
1290
|
+
auth: "user",
|
|
1291
|
+
responseKind: "json",
|
|
1292
|
+
errors: [
|
|
1293
|
+
"auth:forbidden",
|
|
1294
|
+
"resource:not_found",
|
|
1295
|
+
"server:internal_error"
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
listTeamMemberProfileContentSlots: {
|
|
1299
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/slots",
|
|
1300
|
+
method: "GET",
|
|
1301
|
+
auth: "user",
|
|
1302
|
+
responseKind: "json",
|
|
1303
|
+
errors: [
|
|
1304
|
+
"auth:forbidden",
|
|
1305
|
+
"resource:not_found",
|
|
1306
|
+
"server:internal_error"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1275
1309
|
updateTeamMemberProfilePolicy: {
|
|
1276
1310
|
path: "/sites/{siteId}/bookings/resources/profile-policy",
|
|
1277
1311
|
method: "PUT",
|
|
@@ -1863,6 +1897,54 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
1863
1897
|
"server:internal_error"
|
|
1864
1898
|
]
|
|
1865
1899
|
},
|
|
1900
|
+
listEventOfferingCombinationPrices: {
|
|
1901
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
|
|
1902
|
+
method: "GET",
|
|
1903
|
+
auth: "user",
|
|
1904
|
+
responseKind: "json",
|
|
1905
|
+
errors: [
|
|
1906
|
+
"validation:invalid_input",
|
|
1907
|
+
"auth:forbidden",
|
|
1908
|
+
"resource:not_found",
|
|
1909
|
+
"server:internal_error"
|
|
1910
|
+
]
|
|
1911
|
+
},
|
|
1912
|
+
createEventOfferingCombinationPrice: {
|
|
1913
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
|
|
1914
|
+
method: "POST",
|
|
1915
|
+
auth: "user",
|
|
1916
|
+
responseKind: "json",
|
|
1917
|
+
errors: [
|
|
1918
|
+
"validation:invalid_input",
|
|
1919
|
+
"auth:forbidden",
|
|
1920
|
+
"resource:not_found",
|
|
1921
|
+
"server:internal_error"
|
|
1922
|
+
]
|
|
1923
|
+
},
|
|
1924
|
+
updateEventOfferingCombinationPrice: {
|
|
1925
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}",
|
|
1926
|
+
method: "PUT",
|
|
1927
|
+
auth: "user",
|
|
1928
|
+
responseKind: "json",
|
|
1929
|
+
errors: [
|
|
1930
|
+
"validation:invalid_input",
|
|
1931
|
+
"auth:forbidden",
|
|
1932
|
+
"resource:not_found",
|
|
1933
|
+
"server:internal_error"
|
|
1934
|
+
]
|
|
1935
|
+
},
|
|
1936
|
+
deleteEventOfferingCombinationPrice: {
|
|
1937
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}",
|
|
1938
|
+
method: "DELETE",
|
|
1939
|
+
auth: "user",
|
|
1940
|
+
responseKind: "json",
|
|
1941
|
+
errors: [
|
|
1942
|
+
"validation:invalid_input",
|
|
1943
|
+
"auth:forbidden",
|
|
1944
|
+
"resource:not_found",
|
|
1945
|
+
"server:internal_error"
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1866
1948
|
deleteEventOffering: {
|
|
1867
1949
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
|
|
1868
1950
|
method: "DELETE",
|
|
@@ -3042,6 +3124,18 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3042
3124
|
"server:internal_error"
|
|
3043
3125
|
]
|
|
3044
3126
|
},
|
|
3127
|
+
previewWholeSeriesRunCancellation: {
|
|
3128
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
|
|
3129
|
+
method: "GET",
|
|
3130
|
+
tags: ["site-{siteId}", "event-series-{siteId}"],
|
|
3131
|
+
auth: "user",
|
|
3132
|
+
responseKind: "json",
|
|
3133
|
+
errors: [
|
|
3134
|
+
"auth:forbidden",
|
|
3135
|
+
"resource:not_found",
|
|
3136
|
+
"server:internal_error"
|
|
3137
|
+
]
|
|
3138
|
+
},
|
|
3045
3139
|
cancelWholeSeriesRun: {
|
|
3046
3140
|
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
|
|
3047
3141
|
method: "POST",
|
|
@@ -3567,6 +3661,20 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3567
3661
|
responseKind: "json",
|
|
3568
3662
|
errors: []
|
|
3569
3663
|
},
|
|
3664
|
+
previewPlanChange: {
|
|
3665
|
+
path: "/billing/plan/preview",
|
|
3666
|
+
method: "POST",
|
|
3667
|
+
tags: ["billing"],
|
|
3668
|
+
auth: "user",
|
|
3669
|
+
responseKind: "json",
|
|
3670
|
+
errors: [
|
|
3671
|
+
"validation:invalid_input",
|
|
3672
|
+
"auth:unauthenticated",
|
|
3673
|
+
"resource:conflict",
|
|
3674
|
+
"server:internal_error",
|
|
3675
|
+
"external:service_error"
|
|
3676
|
+
]
|
|
3677
|
+
},
|
|
3570
3678
|
changePlan: {
|
|
3571
3679
|
path: "/billing/plan/change",
|
|
3572
3680
|
method: "POST",
|
|
@@ -8008,6 +8116,70 @@ const API_ENDPOINTS$1 = {
|
|
|
8008
8116
|
"server:internal_error"
|
|
8009
8117
|
]
|
|
8010
8118
|
},
|
|
8119
|
+
endCustomerMembershipNow: {
|
|
8120
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/end",
|
|
8121
|
+
method: "POST",
|
|
8122
|
+
tags: [
|
|
8123
|
+
"site-{siteId}",
|
|
8124
|
+
"bookings",
|
|
8125
|
+
"customer-membership-{customerMembershipId}"
|
|
8126
|
+
],
|
|
8127
|
+
auth: "user",
|
|
8128
|
+
responseKind: "json",
|
|
8129
|
+
errors: [
|
|
8130
|
+
"validation:invalid_input",
|
|
8131
|
+
"resource:not_found",
|
|
8132
|
+
"server:internal_error"
|
|
8133
|
+
]
|
|
8134
|
+
},
|
|
8135
|
+
resumeCustomerMembership: {
|
|
8136
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/resume",
|
|
8137
|
+
method: "POST",
|
|
8138
|
+
tags: [
|
|
8139
|
+
"site-{siteId}",
|
|
8140
|
+
"bookings",
|
|
8141
|
+
"customer-membership-{customerMembershipId}"
|
|
8142
|
+
],
|
|
8143
|
+
auth: "user",
|
|
8144
|
+
responseKind: "json",
|
|
8145
|
+
errors: [
|
|
8146
|
+
"validation:invalid_input",
|
|
8147
|
+
"resource:not_found",
|
|
8148
|
+
"server:internal_error"
|
|
8149
|
+
]
|
|
8150
|
+
},
|
|
8151
|
+
finishCustomerMembershipChange: {
|
|
8152
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/finish",
|
|
8153
|
+
method: "POST",
|
|
8154
|
+
tags: [
|
|
8155
|
+
"site-{siteId}",
|
|
8156
|
+
"bookings",
|
|
8157
|
+
"customer-membership-{customerMembershipId}"
|
|
8158
|
+
],
|
|
8159
|
+
auth: "user",
|
|
8160
|
+
responseKind: "json",
|
|
8161
|
+
errors: [
|
|
8162
|
+
"validation:invalid_input",
|
|
8163
|
+
"resource:not_found",
|
|
8164
|
+
"server:internal_error"
|
|
8165
|
+
]
|
|
8166
|
+
},
|
|
8167
|
+
correctCustomerMembershipDates: {
|
|
8168
|
+
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}",
|
|
8169
|
+
method: "PATCH",
|
|
8170
|
+
tags: [
|
|
8171
|
+
"site-{siteId}",
|
|
8172
|
+
"bookings",
|
|
8173
|
+
"customer-membership-{customerMembershipId}"
|
|
8174
|
+
],
|
|
8175
|
+
auth: "user",
|
|
8176
|
+
responseKind: "json",
|
|
8177
|
+
errors: [
|
|
8178
|
+
"validation:invalid_input",
|
|
8179
|
+
"resource:not_found",
|
|
8180
|
+
"server:internal_error"
|
|
8181
|
+
]
|
|
8182
|
+
},
|
|
8011
8183
|
refundCustomerMembershipPayment: {
|
|
8012
8184
|
path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/refund",
|
|
8013
8185
|
method: "POST",
|
|
@@ -9427,6 +9599,13 @@ const API_ENDPOINTS$1 = {
|
|
|
9427
9599
|
auth: "public",
|
|
9428
9600
|
responseKind: "json"
|
|
9429
9601
|
},
|
|
9602
|
+
portalResumeMembership: {
|
|
9603
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
9604
|
+
method: "POST",
|
|
9605
|
+
auth: "public",
|
|
9606
|
+
responseKind: "json",
|
|
9607
|
+
errors: []
|
|
9608
|
+
},
|
|
9430
9609
|
portalSendMagicLink: {
|
|
9431
9610
|
path: "/portal/auth/send-magic-link",
|
|
9432
9611
|
method: "POST",
|
|
@@ -131,6 +131,7 @@ const META_FIELDS = {
|
|
|
131
131
|
title: "text",
|
|
132
132
|
slug: "text",
|
|
133
133
|
status: "text",
|
|
134
|
+
offeringLabel: "text",
|
|
134
135
|
publishedAt: "date",
|
|
135
136
|
createdAt: "date",
|
|
136
137
|
updatedAt: "date",
|
|
@@ -180,6 +181,7 @@ const META_FIELD_COMPATIBILITY = {
|
|
|
180
181
|
"inlineText",
|
|
181
182
|
"select"
|
|
182
183
|
],
|
|
184
|
+
offeringLabel: ["text", "inlineText"],
|
|
183
185
|
publishedAt: [
|
|
184
186
|
"text",
|
|
185
187
|
"inlineText",
|
|
@@ -263,6 +265,7 @@ const META_FIELD_LABELS = {
|
|
|
263
265
|
title: "Title",
|
|
264
266
|
slug: "Slug",
|
|
265
267
|
status: "Status",
|
|
268
|
+
offeringLabel: "Offering kind",
|
|
266
269
|
publishedAt: "Published Date",
|
|
267
270
|
createdAt: "Created Date",
|
|
268
271
|
updatedAt: "Updated Date",
|
|
@@ -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-EgTtnTcY.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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-
|
|
3
|
-
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-
|
|
1
|
+
import { xs as isCanonicalRichTextDoc } from "./registry-BMCfcev6.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-EgTtnTcY.mjs";
|
|
3
|
+
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
//#region src/config/bindings.ts
|
|
5
5
|
function fieldBinding(path) {
|
|
6
6
|
return {
|
|
@@ -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--yUbI-Ll.mjs";
|
|
2
2
|
export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as parseUuidBrand } from "./media-
|
|
1
|
+
import { x as parseUuidBrand } from "./media-luf7RF22.mjs";
|
|
2
2
|
//#region ../core/src/branded/identity.ts
|
|
3
3
|
const unsafeAsSiteId = (id) => id;
|
|
4
4
|
const parseSiteId = (value) => parseUuidBrand(value, unsafeAsSiteId);
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-
|
|
2
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-
|
|
3
|
-
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-
|
|
1
|
+
import { _ as parseMediaIdentifier, a as persistableMediaSchema, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, g as parseCanonicalMediaIdentifier, h as mediaIdentifierSchema, i as mediaSchema, l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
2
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, g as getResilienceStatusFromError, h as RiverbankApiError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-VVIQjC4r.mjs";
|
|
3
|
+
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
5
|
-
import { t as prebuildCache } from "./prebuild-
|
|
5
|
+
import { t as prebuildCache } from "./prebuild-BjvFb0CA.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { P as asLayoutVariantKey, j as asDesignBlockId, k as asAppearancePresetId } from "./schema-
|
|
3
|
-
import { C as normalizeRepeaterGridSpan, S as flowRepeaterGridItems, a as invalidRenderableBlock$1, d as siteLocationRenderContext, h as registeredManifestContentContract, i as collectMediaAssetSidecar, j as readPublishedBlockPlacement, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as deriveFieldValidationPlan, w as resolveRepeaterGridAcceptedSpans, y as fieldPlanToZod } from "./pageRuntimeSupport-
|
|
4
|
-
import { t as isCanonicalRichTextDoc } from "./rich-text-CRcONdyM.mjs";
|
|
1
|
+
import { $s as unsafeAsContentEntryId, Di as parseFieldDefinition, Ha as designRuntimeRulesForSiteStyle, La as buildInitialPolicyPageDesignIntent, Pn as resolveDateRuntimeContext, Si as inlineTextToPlainText, Ti as plainTextToInlineText, Tn as siteHeaderManifest, Ur as parseBackgroundContent, Us as offeringLabelForPageSurfaceSubject, Va as componentRuntimeRulesForSiteStyle, Wa as requireCuratedSiteStyle, ec as unsafeAsEventCategoryId, es as resolveRepeaterGridColumnFieldId, fa as isRecord, i as systemBlockDefinitions, ko as appearancePresets, ns as resolveRepeaterGridSpanFieldId, qa as surfaceResolutionContextFromTheme, ro as parsePageDesignIntent, t as getBlockDefinition, ts as resolveRepeaterGridRowFieldId, ur as blockDesignCapabilityMapFromDefinitions, us as EVENT_PRESET_VALUES, wi as parseInlineTextFromUnknown, wn as siteFooterManifest, xs as isCanonicalRichTextDoc, ya as parseListLook } from "./registry-BMCfcev6.mjs";
|
|
2
|
+
import { P as asLayoutVariantKey, j as asDesignBlockId, k as asAppearancePresetId } from "./schema-D5Vfmqzw.mjs";
|
|
3
|
+
import { C as normalizeRepeaterGridSpan, S as flowRepeaterGridItems, a as invalidRenderableBlock$1, d as siteLocationRenderContext, h as registeredManifestContentContract, i as collectMediaAssetSidecar, j as readPublishedBlockPlacement, l as resolveSdkBlockManifest, m as compileManifestContentContract, n as buildRenderablePageOutline, o as projectRenderablePageOutline, p as admitTransportedRenderableManifestContent, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent, v as deriveFieldValidationPlan, w as resolveRepeaterGridAcceptedSpans, y as fieldPlanToZod } from "./pageRuntimeSupport-DWspU5EZ.mjs";
|
|
5
4
|
import { i as createRichTextDoc, o as isRecord$1, r as buildRichTextSchema } from "./richTextSchema-QLaQrbII.mjs";
|
|
6
|
-
import { a as
|
|
5
|
+
import { a as buildPageDesignEditorReadModel, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as applyCompiledRuntimeFieldsToContent, r as resolveRuntimeJoinFacts, s as compileEditorModelRuntime, t as applyBindingsToContent } from "./bindings-Dge4sqel.mjs";
|
|
7
6
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
8
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
7
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData--yUbI-Ll.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
//#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
|
|
11
10
|
function asContentTemplateDesignBlockId(value) {
|
|
@@ -1448,12 +1447,13 @@ function compilePageSections(input, lookOverrides) {
|
|
|
1448
1447
|
}
|
|
1449
1448
|
function buildContentTemplateRuntime(template, theme, contentForBlock) {
|
|
1450
1449
|
const parsed = parseContentTemplateDesignIntent(template.designState);
|
|
1451
|
-
|
|
1450
|
+
const intent = parsed.kind === "parsed" ? parsed.intent : parsed.kind === "absent" && theme?.siteStyleId !== void 0 ? buildInitialPolicyPageDesignIntent(theme.siteStyleId) : null;
|
|
1451
|
+
if (intent === null || theme === null) return {
|
|
1452
1452
|
fieldsByBlockId: /* @__PURE__ */ new Map(),
|
|
1453
1453
|
joins: []
|
|
1454
1454
|
};
|
|
1455
1455
|
const compiled = compileContentTemplateRuntimeFields({
|
|
1456
|
-
intent
|
|
1456
|
+
intent,
|
|
1457
1457
|
resolveJoinFacts: resolveRuntimeJoinFacts,
|
|
1458
1458
|
surfaceResolutionContext: surfaceResolutionContextFromTheme(theme),
|
|
1459
1459
|
blocks: template.blocks.map((block) => {
|
|
@@ -1537,7 +1537,8 @@ const CONTENT_ENTRY_SUBJECT_BINDING_SCHEMA = {
|
|
|
1537
1537
|
"status",
|
|
1538
1538
|
"createdAt",
|
|
1539
1539
|
"updatedAt",
|
|
1540
|
-
"subject"
|
|
1540
|
+
"subject",
|
|
1541
|
+
"offeringLabel"
|
|
1541
1542
|
]
|
|
1542
1543
|
};
|
|
1543
1544
|
function buildContentEntryRenderableSurface({ entry, dateContext, subject, page }) {
|
|
@@ -1582,6 +1583,7 @@ function buildContentEntrySubjectBindingContext(entry, id, route, dateContext, s
|
|
|
1582
1583
|
path: route.path,
|
|
1583
1584
|
publishAt: route.publishAt,
|
|
1584
1585
|
status: route.status,
|
|
1586
|
+
offeringLabel: offeringLabelForPageSurfaceSubject(subject),
|
|
1585
1587
|
...entry.createdAt === void 0 ? {} : { createdAt: entry.createdAt },
|
|
1586
1588
|
...entry.updatedAt === void 0 ? {} : { updatedAt: entry.updatedAt }
|
|
1587
1589
|
}
|
|
@@ -1682,7 +1684,7 @@ function buildBlocksFromTemplateBlock({ block, context, entry, template, runtime
|
|
|
1682
1684
|
slotKey
|
|
1683
1685
|
}) ?? [];
|
|
1684
1686
|
if (isSystemTemplateBlockKind(block.blockKind)) return [];
|
|
1685
|
-
return
|
|
1687
|
+
return buildBlockFromTemplate(block, context, runtimeFields, resolveBlockContentContract(block.blockKind));
|
|
1686
1688
|
}
|
|
1687
1689
|
function readEntrySlotKey(block) {
|
|
1688
1690
|
if (block.blockKind !== "system.entry-slot" || block.scope !== "template") return null;
|
|
@@ -1697,13 +1699,15 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
|
|
|
1697
1699
|
publishedPlacement: null,
|
|
1698
1700
|
...isRecord(block.bindings) ? { bindings: block.bindings } : {}
|
|
1699
1701
|
};
|
|
1700
|
-
if (contract === null) return invalidRenderableBlock(base, { kind: "manifest_unavailable" });
|
|
1701
|
-
const
|
|
1702
|
+
if (contract === null) return [invalidRenderableBlock(base, { kind: "manifest_unavailable" })];
|
|
1703
|
+
const materialized = materializeTemplateBlockContent({
|
|
1702
1704
|
block,
|
|
1703
1705
|
context,
|
|
1704
1706
|
runtimeFields
|
|
1705
|
-
})
|
|
1706
|
-
|
|
1707
|
+
});
|
|
1708
|
+
if (block.scope === "entry" && isRecord(block.bindings) && isEntryBoundBlockEmpty(materialized, block.bindings, contract)) return [];
|
|
1709
|
+
const admission = admitMaterializedTemplateContent(materialized, contract);
|
|
1710
|
+
return [admission.ok ? {
|
|
1707
1711
|
...base,
|
|
1708
1712
|
admission: {
|
|
1709
1713
|
kind: "renderable",
|
|
@@ -1712,7 +1716,7 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
|
|
|
1712
1716
|
} : invalidRenderableBlock(base, {
|
|
1713
1717
|
kind: "invalid_manifest_content",
|
|
1714
1718
|
error: admission.error
|
|
1715
|
-
});
|
|
1719
|
+
})];
|
|
1716
1720
|
}
|
|
1717
1721
|
function applyTemplateRuntimeFields(content, runtimeFields) {
|
|
1718
1722
|
return applyMissingImageBackgroundFallback(canonicalizeSectionBackground(runtimeFields !== null && runtimeFields !== void 0 ? applyCompiledRuntimeFieldsToContent(content, runtimeFields) : content));
|
|
@@ -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-DWspU5EZ.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--yUbI-Ll.mjs";
|
|
5
5
|
//#region src/rendering/helpers/loadPage.ts
|
|
6
6
|
/**
|
|
7
7
|
* Server-side helper to fetch all data needed for <Page> component.
|
|
@@ -179,7 +179,7 @@ const aspectCropSchema = z.object({
|
|
|
179
179
|
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
180
180
|
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
181
181
|
});
|
|
182
|
-
const
|
|
182
|
+
const mediaTransformSchema = z.object({
|
|
183
183
|
aspectCrops: z.preprocess((value) => {
|
|
184
184
|
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
185
185
|
return value;
|
|
@@ -203,7 +203,7 @@ const mediaUsageShape = {
|
|
|
203
203
|
width: z.number().optional(),
|
|
204
204
|
height: z.number().optional(),
|
|
205
205
|
poster: mediaPosterSchema.optional(),
|
|
206
|
-
transform:
|
|
206
|
+
transform: mediaTransformSchema.optional()
|
|
207
207
|
};
|
|
208
208
|
const environmentExclusions = {
|
|
209
209
|
assetId: z.never().optional(),
|
|
@@ -195,6 +195,7 @@ function buildLogoViewModel(logo, fallbackTitle) {
|
|
|
195
195
|
if (!logo.url && !logo.storagePath) return null;
|
|
196
196
|
return {
|
|
197
197
|
type: "image",
|
|
198
|
+
logoFacts: logo.logoFacts,
|
|
198
199
|
src: logo.url ?? "",
|
|
199
200
|
alt: resolveAltText(logo.alt, fallbackTitle),
|
|
200
201
|
assetId: logo.assetId ?? void 0,
|
|
@@ -571,7 +572,8 @@ function buildLogo(logo, fallbackAlt) {
|
|
|
571
572
|
const result = {
|
|
572
573
|
type: "image",
|
|
573
574
|
src: logo.url,
|
|
574
|
-
alt
|
|
575
|
+
alt,
|
|
576
|
+
logoFacts: logo.logoFacts
|
|
575
577
|
};
|
|
576
578
|
if (logo.width != null) result.width = logo.width;
|
|
577
579
|
if (logo.height != null) result.height = logo.height;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-
|
|
1
|
+
import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-iC_hXjJI.mjs";
|
|
2
2
|
export { buildChromeLogoContent, buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildLogoViewModel, buildMenu, buildMenuViewModel, getFooterNavigation, getFooterNavigationByRole, getNavigationByLocation, getPrimaryNavItems, getPrimaryNavigation, isNavDropdown, isNavLink, resolveNavigationLinkHref, transformToNavItems };
|
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-
|
|
4
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
1
|
+
import { Bs as resolveBookingBusinessTimeZone, Hs as toUtcIsoDateTimeString, Ms as inferSiteDateLocale } from "./registry-BMCfcev6.mjs";
|
|
2
|
+
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-Bhx8bVe1.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-VVIQjC4r.mjs";
|
|
4
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BIJb3WAK.mjs";
|
|
5
5
|
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
6
6
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
7
7
|
import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.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-LjgU0Cq1.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-1Ru3NMQj.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 { $ as
|
|
2
|
-
import { N as freezeOwnedThemeValue, P as ownedThemeSnapshot, _ as contextualButtonSurfaceResetStyles, a as requireResolvedSurface } from "./accessibleSurfaces-
|
|
1
|
+
import { $ as SURFACE_FOREGROUND_CSS_VARS, B as preparePaletteColourIndex, Dt as parseThemeColorToken, et as SURFACE_INK_CSS_VARS, j as expandPalette, nt as surfaceForegroundDeclarations, pt as rgbColorValue, st as surfaceInkDeclarations } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
|
|
2
|
+
import { N as freezeOwnedThemeValue, P as ownedThemeSnapshot, _ as contextualButtonSurfaceResetStyles, a as requireResolvedSurface } from "./accessibleSurfaces-Dbd2__Le.mjs";
|
|
3
3
|
//#region ../theme-core/src/surfaces/opaqueSurface.ts
|
|
4
4
|
function opaqueSurfaceContextFromTheme(theme) {
|
|
5
5
|
const palette = freezeOwnedThemeValue(expandPalette(theme.palette));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PageContent } from "./pageShared-
|
|
1
|
+
import { t as PageContent } from "./pageShared-Bhx8bVe1.mjs";
|
|
2
2
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
3
3
|
import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ur as parseBackgroundContent, n as listBlockDescriptors } from "./registry-BMCfcev6.mjs";
|
|
2
2
|
import { i as createRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
3
3
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
4
4
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|