@riverbankcms/sdk 0.172.0 → 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-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
- package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.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 +1 -1
- package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
- package/dist/client/bookability-SargNwlO.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
- package/dist/client/client.mjs +52 -4
- package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +24 -55
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
- package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
- package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.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-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
- package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
- package/dist/server/{loadPage-vwFiq1Rk.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/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
- 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-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
- package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
- package/dist/styles/index.css +174 -0
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import { t as PreviewQueryProvider } from "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { $
|
|
4
|
+
import { $g as baselineRevisionOf, $y as unsafeAsEditorBlockId, Ah as unwrapResponse, B as renewPreviewSession, Bh as CalloutDescription, Dd as planSiteChromePlacement, E as PreviewRenderObservationsProvider, G as useEntryEditorController, Gh as DialogDescription, H as usePreviewToken, Hh as Dialog, Hv as renderableMediaAssetSchema$1, Hy as parseEditLeaseScope, Jh as DialogTitle, Kh as DialogFooter, L as createGuardedPreviewApiClient, Mb as assertNever$2, Pt as blocksKeys, Qt as useOptionalEditorUiStoreInstance, R as initPreviewAuth, Rm as assertNever$1, U as EntryControllerProvider, Ug as Button, Ut as createRoutingHelpers, Uv as indexRenderableMediaAssets, V as usePreviewAuth, Vt as ApiRequestError, Vv as buildRenderableMediaAssetIndex, Wh as DialogContent, Wt as createSnapshotFromPageRecord, X as useServerRefresh, Xt as useEditorUiStore, Zg as cn, Zt as useEditorUiStoreInstance, _h as editorAdmissionSession, a as PreviewPageDesignEditorStateProvider, ad as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, at as EditLeaseModal, bh as API_ENDPOINTS, dn as activeLinkedSaveHandover, e_ as isEdited, et as savedContentReceipt, f as PreviewThemeJournalProvider, fn as planLinkedSaveHandoverRetention, g as previewThemeBase, gn as resolveRenderedValues, hh as editorAdmissionNotice, i as usePreviewSidebarNavigation, id as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, in as parseStoredSidebarWidth, it as EditLeaseDiscardedNotice, jh as selectedCanvasBlockId, l as SiteChromeCustomizeProvider, ld as planSiteOverlayHeaderClearance, lt as getEditorClientId, m as usePreviewThemeSourceOptional, mn as renderSourceFor, nt as useRetentionTicks, od as SITE_STICKY_CHROME_HEIGHT_FALLBACK, ot as EditorWriteSurface, p as usePreviewThemeSource, pn as remoteDraftValues, qh as DialogHeader, r as PreviewSidebarBootstrap, r_ as canEditorWrite, rn as SIDEBAR_WIDTH, rt as VIEWING_PARTICIPATION, sd as measureSiteStickyChromeHeightPx, sy as authoredValuesEqual, t as PreviewAssistantSlotProvider, tt as savedPageSurfaceMetadataReceipt, ud as siteTopChromeMeasurementTargets, vh as observeEditorAdmission, wa as buildResolveImageUrlContext, xn as unsafeAsLinkedContentEntryId, yh as OPERATION_ID_HEADER, z as registerPreviewRenewalFetcher, zh as Callout } from "./previewAssistantSlot-La6MerV_.mjs";
|
|
5
5
|
import { U as GripVertical } from "./lucide-react-BCNn8dEQ.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, Ct as ThemeScopeCore, F as mergeResolvedDataContext, Gt as themeRuntimeScopeProps, It as LINKED_CONTENT_ENTRY_META_KEY, Jt as DEFAULT_THEME_RESPONSIVE_MODE, O as SiteFontStorageProvider, Qt as Toaster, Rt as getLinkedContentEntryMeta, St as revealEditorElement, T as usePreviewCompiledTheme, Ut as buildThemeDataAttrs, V as renderSiteChromeBlock, W as createEditorApiClientFactory, Yt as getResponsiveScopeSpec, _ as sanitizeDashboardPath, et as MediaEditorContextProvider, g as resolvePreviewDashboardSetupHandoff, gn as TabsTrigger, h as buildPreviewDashboardSetupUrl, hn as TabsList, kn as parseFooterModuleId, l as PREVIEW_SITE_BANNER_ATTRIBUTE, m as resolveSiteStyleAccess, mn as TabsContent, o as PreviewChromeLayerProvider, p as canInspectSiteStyle, pn as Tabs, rt as useApiMediaUploader, st as ImageResolveContextProvider, t as SiteChromeCustomizeButton, ut as BlockApiProvider, w as PreviewThemeRenderingProvider, y as resolvePreviewSetupBannerModel, z as SessionJournalHost } from "./SiteChromeCustomizeButton-D1MGyN_Z.mjs";
|
|
7
7
|
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-D4F_5rnr.mjs";
|
|
8
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-BcOQqJIP.mjs";
|
|
9
9
|
import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/react-query";
|
|
@@ -1404,7 +1404,7 @@ const aspectCropSchema = z.object({
|
|
|
1404
1404
|
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
1405
1405
|
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
1406
1406
|
});
|
|
1407
|
-
const
|
|
1407
|
+
const mediaTransformSchema = z.object({
|
|
1408
1408
|
aspectCrops: z.preprocess((value) => {
|
|
1409
1409
|
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
1410
1410
|
return value;
|
|
@@ -1428,7 +1428,7 @@ const mediaUsageShape = {
|
|
|
1428
1428
|
width: z.number().optional(),
|
|
1429
1429
|
height: z.number().optional(),
|
|
1430
1430
|
poster: mediaPosterSchema.optional(),
|
|
1431
|
-
transform:
|
|
1431
|
+
transform: mediaTransformSchema.optional()
|
|
1432
1432
|
};
|
|
1433
1433
|
const environmentExclusions = {
|
|
1434
1434
|
assetId: z.never().optional(),
|
|
@@ -4430,10 +4430,10 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4430
4430
|
}
|
|
4431
4431
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4432
4432
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4433
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
4433
|
+
return { default: (await import("./PreviewEditorSidebar-BDY5vdHU.mjs")).PreviewEditorSidebar };
|
|
4434
4434
|
});
|
|
4435
4435
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4436
|
-
return { default: (await import("./PreviewEditorUI
|
|
4436
|
+
return { default: (await import("./PreviewEditorUI-CqZCfOaz.mjs")).PreviewEditorUI };
|
|
4437
4437
|
});
|
|
4438
4438
|
function renderShellProviders(input) {
|
|
4439
4439
|
if (!input.themeRoles) return input.content;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $n as getAtPath,
|
|
2
|
+
import { $n as getAtPath, $y as unsafeAsEditorBlockId, Ah as unwrapResponse, Bf as defineFragment, By as selectedContentVersionId, Cf as heroCtaRowFragment, Cp as parseInlineTextFromUnknown, D as PreviewRenderPlanProjection, Df as heroCopyFragment, Ea as setContextResolveImageUrlContext, Ey as sameMailingListPlacementTargeting, Gd as pageTemplateFromEntry, Gn as planArrangementContent, H as usePreviewToken, Ir as normalizeLocationMapSource, Jn as renderedJoinLayout, Kn as composePageJoins, Lr as resolveLocationMapLocation, Ly as NO_BLOCK_VERSIONS, Mb as assertNever, Mr as getBlockDefinition, Pr as normalizeBlockContent, Qf as validateManifestDraft, Rf as ctaButton, Ry as readEditorBlockVersionsFromPlacement, Sf as ctaCopyFragment, Sr as selectBlockContent, Sy as parseMailingListPlacementTargeting, T as ObservedJoin, Ta as getCurrentResolveImageUrlContext, Th as calendarWindowQuerySchema, U_ as parseSurfaceTree, Wd as hiddenFromVisitors, Wn as createPageRenderPlanReader, Xt as useEditorUiStore, Yn as retargetJoinsAcrossOmissions, Za as projectRecurringSchedule, Zf as compileManifestContentContract, Zt as useEditorUiStoreInstance, _f as singleButtonFragment, _r as mapOutlineRegions, a_ as bindingSchema, b_ as parseThemeForPersistence, bb as toUtcIsoDateTimeString, bd as resolveDateRuntimeContext, bf as testimonialsCarouselFragment, bp as isInlineTextEmpty, cp as parseBlockIconValue, df as richTextFragment, dh as isObjectRecord, dp as parseGeneratedIconSetId, er as siblingPath, ff as headingFragment, fh as isRecord$1, gf as blogFeaturedPostFragment, gn as resolveRenderedValues, gr as mapOutlineBlocks, gy as buildMailingListSignupBlockSourceRef, hf as faqHeadingFragment, hn as renderedFieldChanges, ho as groupOfferingRunsByCourse, hp as deriveInlineTextFieldChanges, hr as allOutlineBlocks, if as bookingConsentCarrierSchema, la as RichText$1, mf as faqAccordionFragment, mn as renderSourceFor, mp as coerceInlineTextWithFallback, mr as createEditorPresentationPageReader, my as generateUuidV4, pf as cardFragment, pn as remoteDraftValues, po as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, qf as runTransforms, qn as joinSlotKey, s as usePreviewPageDesignRenderState, sa as cardListPresentationSchemaShape, so as normalizeEventRegistrationPageSurfaceSubject, t_ as canWriteLinkedEntry, tf as publicEventsArraySchema, up as parseGeneratedIconAssetId, vf as formEmbedFragment, vi as offeringsPreviewBlockDefinition, wa as buildResolveImageUrlContext, wf as ctaRowFragment, xf as testimonialsHeadingFragment, xn as unsafeAsLinkedContentEntryId, xo as offeringsListingFor, xr as readinessFactsFromLoaders, yd as readRuntimeNow, yf as formCopyFragment, yi as publicRouteCandidatesSchema, yp as inlineTextToPlainText, z_ as textColorStyle, zf as bodyCopyFragment, zy as readPublishedBlockPlacement } from "./previewAssistantSlot-La6MerV_.mjs";
|
|
3
3
|
import { Bt as publicLocationSchema, Mt as decideLocationSourcePermission, Rt as parseLocationValue, zt as projectPublicLocation } from "./lucide-react-BCNn8dEQ.mjs";
|
|
4
|
-
import { A as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { f as
|
|
8
|
-
import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-Bi8-rclb.mjs";
|
|
4
|
+
import { A as pageDesignRuntimeProjectionFromSource, At as buildLoadedOfferingsPreviewListing, Bt as resolveEntryRouteTarget, Dt as blockLookFromContent, E as usePreviewCompiledThemeOptional, Et as arrangementHooksFromContent, F as mergeResolvedDataContext, Ft as Text$1, Ht as resolveRouteTarget, I as withRenderedContentEntry, Kt as buildThemeRuntime, Lt as coerceLinkedContentEntriesPayload, M as applyPreviewRuntimeContentProjections, Mt as buildAppointmentServicesView, N as entryFieldRebindingProjection, Nt as renderInlineText, Ot as readBlockComposition, P as runtimeContentDecorationProjectionFromServerPage, Pt as logger, Tt as resolveDefaultBlockTree, Vt as resolvePageRouteTarget, at as clientComponentRegistry, i as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, jt as resolveEventDetailsPresentation, kt as getDefaultComponentRegistry, qt as mergeContentWithBlockStyleOverrides, wn as defaultThemeTokens, wt as makeDefaultBlockComponent, zt as defaultTransforms } from "./SiteChromeCustomizeButton-D1MGyN_Z.mjs";
|
|
5
|
+
import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, O as EditorCanvasChip, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-DG2rXUmo.mjs";
|
|
6
|
+
import { f as useEditor } from "./previewChromeRoot-BcOQqJIP.mjs";
|
|
7
|
+
import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-Bv2HZ7JY.mjs";
|
|
9
8
|
import * as React$1 from "react";
|
|
10
9
|
import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
11
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -31,55 +30,6 @@ function isSupportedLoaderEndpoint(endpoint) {
|
|
|
31
30
|
return SUPPORTED_LOADER_ENDPOINTS.includes(endpoint);
|
|
32
31
|
}
|
|
33
32
|
//#endregion
|
|
34
|
-
//#region ../theme-core/src/buttons/parseThemeForPersistence.ts
|
|
35
|
-
/**
|
|
36
|
-
* Proves that every persisted button variant compiles against the theme's
|
|
37
|
-
* concrete palette. Public rendering may still recover from malformed
|
|
38
|
-
* external/runtime input, but persistence boundaries must reject it.
|
|
39
|
-
*/
|
|
40
|
-
function parseThemeForPersistence(value) {
|
|
41
|
-
const parsed = themeSchema.safeParse(value);
|
|
42
|
-
if (!parsed.success) return {
|
|
43
|
-
ok: false,
|
|
44
|
-
error: {
|
|
45
|
-
kind: "invalid-theme-schema",
|
|
46
|
-
issues: parsed.error.issues
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
const parsedTheme = parsed.data;
|
|
50
|
-
const theme = parsedTheme.buttons && !parsedTheme.buttons.surfacePolicy ? {
|
|
51
|
-
...parsedTheme,
|
|
52
|
-
buttons: {
|
|
53
|
-
...parsedTheme.buttons,
|
|
54
|
-
surfacePolicy: createStandardButtonSurfacePolicy()
|
|
55
|
-
}
|
|
56
|
-
} : parsedTheme;
|
|
57
|
-
if (!theme.buttons) return {
|
|
58
|
-
ok: true,
|
|
59
|
-
value: theme
|
|
60
|
-
};
|
|
61
|
-
const palette = expandPalette(theme.palette);
|
|
62
|
-
for (const variant of theme.buttons.variants) {
|
|
63
|
-
const result = compileButtonColourStates({
|
|
64
|
-
variant,
|
|
65
|
-
global: theme.buttons.global,
|
|
66
|
-
palette
|
|
67
|
-
});
|
|
68
|
-
if (!result.ok) return {
|
|
69
|
-
ok: false,
|
|
70
|
-
error: {
|
|
71
|
-
kind: "invalid-button-colour-contract",
|
|
72
|
-
variantId: variant.id,
|
|
73
|
-
cause: result.error
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
ok: true,
|
|
79
|
-
value: theme
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
//#endregion
|
|
83
33
|
//#region ../blocks/src/system/fragments/library/headerCta.ts
|
|
84
34
|
const headerCtaFragment = defineFragment({
|
|
85
35
|
variantMeaning: { kind: "arrangement" },
|