@riverbankcms/sdk 0.169.0 → 0.170.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-DpROiz12.d.ts → BlocksIslandsHydrator-B2i5CY_X.d.ts} +1 -1
- package/dist/_dts/{Page-DHBBDRC_.d.ts → Page-BSZjbeRK.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CG7Qib7u.d.ts → SdkPreviewMode-BZpPBMcu.d.ts} +2 -2
- package/dist/_dts/{client-MURxFla9.d.ts → client-x82SZgwK.d.ts} +1 -1
- package/dist/_dts/{content-types-ClBGjxBV.d.ts → content-types-CODkxsZy.d.ts} +2 -2
- package/dist/_dts/{contracts-CHNvzh0y.d.ts → contracts-Lyfhmbjf.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DQM934Fm.d.ts → footerPageOutline-BShG2GAV.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-ConZaEqB.d.ts → generatePageMetadata-DLhUW3xK.d.ts} +2 -2
- package/dist/_dts/{index-BaDqRekr.d.ts → index-B7Mq5M6P.d.ts} +4 -4
- package/dist/_dts/{index-CovKPftP.d.ts → index-B82pqQAC.d.ts} +2 -2
- package/dist/_dts/{index-CiR_oPYT.d.ts → index-BisbMZTW.d.ts} +1 -1
- package/dist/_dts/{index-CVB5wgbz.d.ts → index-C3rMEJ5a.d.ts} +2 -2
- package/dist/_dts/{index-DDaX-K2D.d.ts → index-CCugONHM.d.ts} +1 -1
- package/dist/_dts/{index-rfAssXq0.d.ts → index-CstY6ZMa.d.ts} +3 -3
- package/dist/_dts/{index-DCw8LO4M.d.ts → index-DXc_ewhR.d.ts} +1 -1
- package/dist/_dts/{loadContent-CRLKVVDP.d.ts → loadContent-BoqtbbhP.d.ts} +7 -7
- package/dist/_dts/{request-DeVetKBr.d.ts → request-CJ_ClHLv.d.ts} +39255 -37305
- package/dist/_dts/{resolveBlockData-C5KYFeig.d.ts → resolveBlockData-DFExYkJ4.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-D8MZWyNO.d.ts → resolvePageContent-D-WvpC_d.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 +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 +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-Fj31kIi2.d.ts → types-990t4t99.d.ts} +7 -7
- package/dist/_dts/{types-B4MBlP_B.d.ts → types-CbjK5ZLy.d.ts} +2 -2
- package/dist/_dts/{types-OwqfS8Gn.d.ts → types-CpuxuS40.d.ts} +3 -3
- package/dist/_dts/{validation-B1Fa8o_b.d.ts → validation-BN95LiS0.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-B1Tkg-ZW.mjs +410 -0
- package/dist/client/{BookingMailingListNote-y3qWjnOo.mjs → BookingMailingListNote-Br1VyHkP.mjs} +5 -5
- package/dist/client/{BookingQuestionFields-DjLjd0vc.mjs → BookingQuestionFields-LLGCWjvU.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-VM7C2fdh.mjs → CalendarNavigationChevron-CH7z2m47.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-C2QCj_Ta.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +3 -3
- package/dist/client/{EventCalendar.client-DDjz7tuX.mjs → EventCalendar.client-LXUHJEi7.mjs} +7 -7
- package/dist/client/{EventCombined.client-CeYbNsch.mjs → EventCombined.client-DpugEJLB.mjs} +5 -5
- package/dist/client/{EventItem-B5J0IeF4.mjs → EventItem-gFuZn-dE.mjs} +7 -6
- package/dist/client/{EventListWeekNavigation-eH04D8-V.mjs → EventListWeekNavigation-D-kLg1jQ.mjs} +2 -1
- package/dist/client/{EventListing.client-slpvrTrM.mjs → EventListing.client-BNACUaxV.mjs} +3 -3
- package/dist/client/{EventListing.view-BYBaElec.mjs → EventListing.view-CtVfe3VG.mjs} +5 -6
- package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +18 -10
- package/dist/client/Page-PW4Ojv9r.mjs +29977 -0
- package/dist/client/{StepIndicator-BZNUd0-v.mjs → StepIndicator-CR7_0yu4.mjs} +4 -3
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-BCtVxnDZ.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-Cr5G-HHO.mjs → booking-form.client-wd71DG19.mjs} +10 -10
- package/dist/client/bookingForm-Cyr2qeS1.mjs +31 -0
- package/dist/client/bookings.mjs +4 -4
- package/dist/client/{carousel-DW-HgjvT.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D1zWe4R7.mjs → cart-wlRXnOjO.mjs} +3 -3
- package/dist/client/{cart.client-CIfbTLHS.mjs → cart.client-CfpnxTUZ.mjs} +1 -1
- package/dist/client/{checkout-fDCNZ3IT.mjs → checkout-Dnu9W8IA.mjs} +3 -3
- package/dist/client/{checkout.client-C4l2KjtV.mjs → checkout.client-ovtyXyn0.mjs} +1 -1
- package/dist/client/{checkoutUrls-cWL6I-Vz.mjs → checkoutUrls-CY8qywXl.mjs} +1 -1
- package/dist/client/client.mjs +40 -12
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{cta-Bj5WHgcv.mjs → cta-CfuyGqXL.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-3uVu3WgG.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{display-CT8KMSpH.mjs → display-DDNmyb0z.mjs} +18 -793
- package/dist/client/{enhanceHeaderSection-B27KFGDv.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -3
- package/dist/client/{event-details.client-CL4Lqz2c.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-Dj3Kyp5X.mjs → event-registration.client-CLBdHUfd.mjs} +12 -11
- package/dist/client/{eventCalendar-DGsdSF8J.mjs → eventCalendar-B4VbblGN.mjs} +14 -17
- package/dist/client/eventCombined-e2AvbA0u.mjs +25 -0
- package/dist/client/{eventDetails-DzMskXYA.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-C0bpAR1t.mjs +26 -0
- package/dist/client/eventRegistration-DyseP_sY.mjs +31 -0
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/form-Cfl8d6qc.mjs +27 -0
- package/dist/client/{form.client-CCl6CpRJ.mjs → form.client-D3_RF29v.mjs} +3 -3
- package/dist/client/{form.parts-BOJ1yDDf.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/formSnapshot-Cy4abc0T.mjs +73 -0
- package/dist/client/gifting/client.mjs +1 -1
- package/dist/client/{headerSection-q_bEzfhW.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-CiqKAmPs.mjs → newsletter-form.client-IfLup4o0.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-x1RzAMNO.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/newsletterForm-Bn7HVbuq.mjs +27 -0
- package/dist/client/portal/client.mjs +5 -5
- package/dist/client/{product-detail.client-rWUvpVvZ.mjs → product-detail.client-BXeLqkCE.mjs} +1 -1
- package/dist/client/{product-list.client-J0wDOmKv.mjs → product-list.client-C627X8DQ.mjs} +1 -1
- package/dist/client/{productDetail-LtCkMrJ0.mjs → productDetail-B-K_hd7Y.mjs} +3 -3
- package/dist/client/{productList-C0MLeh-v.mjs → productList-BNZAsfaP.mjs} +3 -3
- package/dist/client/{propsDecoder-CAmEkJ6Y.mjs → propsDecoder-Dc8j5i79.mjs} +2 -2
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Bf2YX_4v.mjs → registry.server-CBg2M6Uj.mjs} +352 -288
- package/dist/client/rendering/client.mjs +36 -36
- package/dist/client/rendering/islandDelivery.flight.mjs +132 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{routeIslandApiConfig-UdAlnZGQ.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-Dkn6EasY.mjs → shop-PgmiVKSV.mjs} +3 -3
- package/dist/client/{shop-commerce-bo0Z6kwf.mjs → shop-commerce-DkgvZAQS.mjs} +10 -10
- package/dist/client/{shop-commerce-store-Ckxa4_jI.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-B_GqU6_U.mjs → shop.client-DDFRt6OU.mjs} +10 -10
- package/dist/client/{shop.interactive-C6L_Ig5F.mjs → shop.interactive-BH0xDlMF.mjs} +37 -12
- package/dist/client/{shopShared-CO1Y8lFd.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/{timetableModel-D62jfOxZ.mjs → timetableModel-GsDrJxxw.mjs} +6 -6
- package/dist/client/{useAvailableSlots-CStfVmyY.mjs → useAvailableSlots-GP8tnAVW.mjs} +1 -1
- package/dist/client/{useDiscountApply-Ca2pHUDu.mjs → useDiscountApply-Cq07nTyG.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-AEifktGO.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-uxnUWI2v.mjs → useEventPagination-DGl4Jeuz.mjs} +5 -5
- package/dist/client/{view-SVnWic7i.mjs → view-CgComegl.mjs} +2 -2
- package/dist/client/{view-B6KSxQMO.mjs → view-oToSpu1N.mjs} +3 -3
- package/dist/preview-next/chrome.css +4 -0
- package/dist/preview-next/client/{ArrangementLookControls-kbdqYkWM.mjs → ArrangementLookControls-DJQrgD5f.mjs} +12 -19
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-DI_LhsMQ.mjs → PreviewEditorSidebar-DWU6X6Y-.mjs} +119 -133
- package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-C-X0ptC3.mjs} +7 -39
- package/dist/preview-next/client/{PreviewShell-YauP65Gi.mjs → PreviewShell-C1WUNsj9.mjs} +40 -46
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bl7jQMI1.mjs → SdkPreviewModeRuntime-Cs2QFT7k.mjs} +11 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CQFRP9aM.mjs → SiteChromeCustomizeButton-CcZ_ERvZ.mjs} +844 -23038
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-DSR0IdAw.mjs → previewAssistantSlot-CSs9S8wr.mjs} +357 -924
- package/dist/preview-next/client/{previewChromeSurface-uSnVzeNs.mjs → previewChromeRoot-B2OTurZH.mjs} +52 -14
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-6Q0RVJTQ.mjs → sdk-runtime-CBIwYDyi.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-Cdx3kAGm.mjs → useAutosaveStatus-DoWvGNPA.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-ZrWdhcB6.mjs → useBlockCustomizeControls-WOs8Atje.mjs} +17 -23
- package/dist/preview-next/client/{useOpenBlockForSetup-CK-GWb9k.mjs → useOpenBlockForSetup-CipKCK2O.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +3050 -0
- package/dist/preview-next/editor-base.css +90 -178
- package/dist/preview-next/editor-chrome.css +25 -8
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-BU1m9SV3.mjs → route-contract-BLYaenrK.mjs} +36 -8
- package/dist/server/{Block.shared-4vx7wzxj.mjs → Block.shared-Dx4j9CJT.mjs} +4 -4
- package/dist/server/ThemeScopeCore-B0IfeNNZ.mjs +1983 -0
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-TAQbo2P5.mjs → bindings-C1-MNwwS.mjs} +1 -1
- package/dist/server/{client-DzCxEl3L.mjs → client-Djjv-NuA.mjs} +38 -10
- 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-BO1M9Hdf.mjs → loadContent-DhraQ_Fi.mjs} +4 -4
- package/dist/server/{loadPage-BvWzmZcD.mjs → loadPage-QXSdPSYY.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-fxuB1zZg.mjs → overrideResolution-CMNx5tQg.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-DzduDSqY.mjs → pageRenderPlan-Bv6NbFeM.mjs} +11 -9
- package/dist/server/{pageRuntimeSupport-BU8pwTNx.mjs → pageRuntimeSupport-B2laBtff.mjs} +1 -1
- package/dist/server/{pageShared-CSOJ8p8E.mjs → pageShared-CE9EBNSH.mjs} +352 -290
- package/dist/server/{prebuild-C5ZYo7wA.mjs → prebuild-FBA6Y1K7.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BvbxqeKn.mjs → prefetchBlockData-yL2hB2l_.mjs} +2 -2
- package/dist/server/{registry-Fv-7D8o2.mjs → registry-Djrj9gWy.mjs} +56 -816
- 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/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-xPgkvoWS.mjs → resolveBlockData-CyeIjmqx.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/{validation-DddhgNdb.mjs → validation-Dh8htd6l.mjs} +3 -3
- package/dist/server/{version-D_W2mt8w.mjs → version-LMwnoksN.mjs} +1 -1
- package/dist/styles/index.css +122 -49
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-qq4Vhs7k.mjs +0 -296
- package/dist/client/Page-Dv9eIOGr.mjs +0 -52213
- package/dist/client/bookingForm-B1Fc62Sl.mjs +0 -34
- package/dist/client/eventCombined-DFSVDJ3D.mjs +0 -28
- package/dist/client/eventListing-CpFFcAUr.mjs +0 -29
- package/dist/client/eventRegistration-BipMUOCw.mjs +0 -34
- package/dist/client/form-57k2JQnm.mjs +0 -90
- package/dist/client/newsletterForm-Cn7h4zFe.mjs +0 -53
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/server/ThemeScopeCore-C3HLgqBF.mjs +0 -24213
- package/dist/client/{context-DQnTyApV.mjs → context-Xhf81Q-c.mjs} +1 -1
package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-C-X0ptC3.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { C as Palette, E as Monitor, M as LoaderCircle, Q as Eye, b as Pencil, et as EllipsisVertical, f as Smartphone, l as Tablet, mt as ChevronDown, o as Undo2, s as TriangleAlert, v as Redo2 } from "./lucide-react-
|
|
4
|
-
import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-
|
|
5
|
-
import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, i as needsSetupAsk, j as DropdownMenu, t as resolveBlockManifest } from "./useBlockCustomizeControls-
|
|
6
|
-
import {
|
|
7
|
-
import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-
|
|
2
|
+
import { $t as useEditorUiStore, Ch as cva, Cm as DialogDescription, Em as DialogTitle, F_ as authoredValuesEqual, G as useEntryEditorController, Gt as PREVIEW_CHROME_Z_INDEX, Ip as editorAdmissionIsOpen, Nu as pageTemplateFromEntry, Oh as cn, Q as useSessionJournalHistory, Sm as DialogContent, Tm as DialogHeader, Tn as editorAuthoredBlockDocument, V as usePreviewAuth, X as useServerRefresh, Xp as unwrapResponse, Z as useSessionJournal, _r as publishReadinessWarning, am as SelectTrigger, bh as Button, bm as Dialog, en as useEditorUiStoreInstance, gr as PUBLISH_READINESS_COPY, im as SelectItem, jp as resolveBlockTitle, mv as displayedValues, n as usePreviewAssistantSlot, nm as Select, om as SelectValue, ot as EditorWriteSurface, pn as canDiscardDraft, rm as SelectContent, vr as readinessFactsFromPayload, wm as DialogFooter, wv as unsafeAsEditorBlockId } from "./previewAssistantSlot-CSs9S8wr.mjs";
|
|
3
|
+
import { C as Palette, E as Monitor, M as LoaderCircle, Q as Eye, b as Pencil, et as EllipsisVertical, f as Smartphone, l as Tablet, mt as ChevronDown, o as Undo2, s as TriangleAlert, v as Redo2 } from "./lucide-react-DbC1o6_9.mjs";
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-DoWvGNPA.mjs";
|
|
5
|
+
import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, i as needsSetupAsk, j as DropdownMenu, t as resolveBlockManifest } from "./useBlockCustomizeControls-WOs8Atje.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-B2OTurZH.mjs";
|
|
7
|
+
import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-CipKCK2O.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1042,7 +1042,7 @@ function PreviewEditorChrome({ dashboardBaseUrl = null, inMaintenanceMode = fals
|
|
|
1042
1042
|
template: pageTemplateFromEntry({ _contentTypeSlug: entryData?.type }),
|
|
1043
1043
|
publish: controller.actions.publish
|
|
1044
1044
|
});
|
|
1045
|
-
const portalTarget =
|
|
1045
|
+
const portalTarget = usePreviewChromeRoot();
|
|
1046
1046
|
if (!portalTarget || !canEdit) return null;
|
|
1047
1047
|
return createGatedPortal(/* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(EditorChrome, {
|
|
1048
1048
|
toolbarOverrides: computedToolbar,
|
|
@@ -1119,38 +1119,6 @@ function previewPublicationToolbar(base, facts) {
|
|
|
1119
1119
|
disableDiscard: facts.lifecycleRunning || Boolean(base?.disableDiscard) || !facts.canDiscard
|
|
1120
1120
|
};
|
|
1121
1121
|
}
|
|
1122
|
-
/** The portal owns only its DOM lifetime; appearance remains a projection of the surface. */
|
|
1123
|
-
function usePreviewChromePortal(canEdit, surface) {
|
|
1124
|
-
const [target, setTarget] = useState(null);
|
|
1125
|
-
useEffect(() => {
|
|
1126
|
-
if (!canEdit) {
|
|
1127
|
-
setTarget(null);
|
|
1128
|
-
return;
|
|
1129
|
-
}
|
|
1130
|
-
const mounted = mountPreviewChromePortal();
|
|
1131
|
-
setTarget(mounted.target);
|
|
1132
|
-
return mounted.cleanup;
|
|
1133
|
-
}, [canEdit]);
|
|
1134
|
-
useEffect(() => {
|
|
1135
|
-
if (target) applyPreviewChromeSurfaceToElement(target, surface, { includePortalClass: true });
|
|
1136
|
-
}, [target, surface]);
|
|
1137
|
-
return target;
|
|
1138
|
-
}
|
|
1139
|
-
function mountPreviewChromePortal() {
|
|
1140
|
-
const existing = document.getElementById("builder-editor-chrome-root");
|
|
1141
|
-
const target = existing ?? document.createElement("div");
|
|
1142
|
-
if (!existing) {
|
|
1143
|
-
target.id = "builder-editor-chrome-root";
|
|
1144
|
-
target.className = `${PREVIEW_CHROME_PORTAL_CLASS_NAME} ${PREVIEW_CHROME_THEME_CLASS_NAME}`;
|
|
1145
|
-
document.body.appendChild(target);
|
|
1146
|
-
}
|
|
1147
|
-
return {
|
|
1148
|
-
target,
|
|
1149
|
-
cleanup: () => {
|
|
1150
|
-
if (!existing) target.remove();
|
|
1151
|
-
}
|
|
1152
|
-
};
|
|
1153
|
-
}
|
|
1154
1122
|
function PreviewChromeActions({ dashboardBaseUrl, inMaintenanceMode, siteId, surfaceId, isSiteLaunched = false, apiClient }) {
|
|
1155
1123
|
const assistant = usePreviewAssistantSlot();
|
|
1156
1124
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-BC0V7iAR.mjs";
|
|
3
|
-
import { $l as planSiteOverlayHeaderClearance, B as renewPreviewSession, Bp as observeEditorAdmission, Cm as DialogDescription, E as PreviewRenderObservationsProvider,
|
|
4
|
-
import { G as GripVertical } from "./lucide-react-
|
|
5
|
-
import { $t as
|
|
6
|
-
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-
|
|
7
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS,
|
|
3
|
+
import { $l as planSiteOverlayHeaderClearance, $t as useEditorUiStore, Ah as baselineRevisionOf, B as renewPreviewSession, Bp as observeEditorAdmission, Cm as DialogDescription, E as PreviewRenderObservationsProvider, Em as DialogTitle, F_ as authoredValuesEqual, G as useEntryEditorController, H as usePreviewToken, Hp as API_ENDPOINTS, Jl as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, Kt as createRoutingHelpers, L as createGuardedPreviewApiClient, Lp as editorAdmissionNotice, Lt as blocksKeys, Oh as cn, Pa as buildResolveImageUrlContext, Ph as canEditorWrite, R as initPreviewAuth, Sm as DialogContent, Tm as DialogHeader, U as EntryControllerProvider, V as usePreviewAuth, Vp as OPERATION_ID_HEADER, Wt as ApiRequestError, X as useServerRefresh, Xl as SITE_STICKY_CHROME_HEIGHT_FALLBACK, Xp as unwrapResponse, Yl as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, Zl as measureSiteStickyChromeHeightPx, __ as buildRenderableMediaAssetIndex, _n as renderSourceFor, a as PreviewPageDesignEditorStateProvider, at as EditLeaseModal, bh as Button, bm as Dialog, dm as CalloutDescription, en as useEditorUiStoreInstance, et as savedContentReceipt, eu as siteTopChromeMeasurementTargets, f as PreviewThemeJournalProvider, g as previewThemeBase, gn as remoteDraftValues, gu as planSiteChromePlacement, hn as planLinkedSaveHandoverRetention, i as usePreviewSidebarNavigation, it as EditLeaseDiscardedNotice, jh as isEdited, l as SiteChromeCustomizeProvider, lt as getEditorClientId, m as usePreviewThemeSourceOptional, mn as activeLinkedSaveHandover, nt as useRetentionTicks, on as SIDEBAR_WIDTH, op as assertNever$1, ot as EditorWriteSurface, p as usePreviewThemeSource, pv as parseEditLeaseScope, qt as createSnapshotFromPageRecord, r as PreviewSidebarBootstrap, rt as VIEWING_PARTICIPATION, ry as assertNever$2, sn as parseStoredSidebarWidth, t as PreviewAssistantSlotProvider, tn as useOptionalEditorUiStoreInstance, tt as savedPageSurfaceMetadataReceipt, um as Callout, v_ as renderableMediaAssetSchema$1, wm as DialogFooter, wn as unsafeAsLinkedContentEntryId, wv as unsafeAsEditorBlockId, y_ as indexRenderableMediaAssets, yn as resolveRenderedValues, z as registerPreviewRenewalFetcher, zp as editorAdmissionSession } from "./previewAssistantSlot-CSs9S8wr.mjs";
|
|
4
|
+
import { G as GripVertical } from "./lucide-react-DbC1o6_9.mjs";
|
|
5
|
+
import { $t as TabsTrigger, Bt as themeRuntimeScopeProps, E as usePreviewCompiledTheme, Gt as getResponsiveScopeSpec, I as SessionJournalHost, Kt as Toaster, N as mergeResolvedDataContext, Nt as getLinkedContentEntryMeta, Qt as TabsList, R as renderSiteChromeBlock, Rt as buildThemeDataAttrs, T as PreviewThemeRenderingProvider, V as createEditorApiClientFactory, Wt as DEFAULT_THEME_RESPONSIVE_MODE, Xt as Tabs, Z as MediaEditorContextProvider, Zt as TabsContent, a as PreviewChromeLayerProvider, b as SiteFontStorageProvider, bt as ThemeScopeCore, c as PREVIEW_SITE_BANNER_ATTRIBUTE, et as useApiMediaUploader, f as canInspectSiteStyle, fn as parseFooterModuleId, g as sanitizeDashboardPath, h as resolvePreviewDashboardSetupHandoff, it as ImageResolveContextProvider, jt as LINKED_CONTENT_ENTRY_META_KEY, m as buildPreviewDashboardSetupUrl, p as resolveSiteStyleAccess, st as BlockApiProvider, t as SiteChromeCustomizeButton, v as resolvePreviewSetupBannerModel, w as PreviewCompiledThemeProvider, yt as revealEditorElement } from "./SiteChromeCustomizeButton-CcZ_ERvZ.mjs";
|
|
6
|
+
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-CwxRbAs2.mjs";
|
|
7
|
+
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-B2OTurZH.mjs";
|
|
8
8
|
import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useQueryClient } from "@tanstack/react-query";
|
|
@@ -235,19 +235,15 @@ function ToastProvider() {
|
|
|
235
235
|
*/
|
|
236
236
|
function ResponsiveScope({ children, responsiveMode = DEFAULT_THEME_RESPONSIVE_MODE, className }) {
|
|
237
237
|
const responsiveScope = getResponsiveScopeSpec(responsiveMode);
|
|
238
|
-
const
|
|
239
|
-
const wrapperStyle = isContainerResponsive ? {
|
|
238
|
+
const wrapperStyle = responsiveScope.kind === "container" ? {
|
|
240
239
|
containerType: "inline-size",
|
|
241
240
|
containerName: responsiveScope.containerName
|
|
242
241
|
} : {};
|
|
243
|
-
return /* @__PURE__ */
|
|
242
|
+
return /* @__PURE__ */ jsx("div", {
|
|
244
243
|
className: className ? `theme-scope ${className}` : "theme-scope",
|
|
245
244
|
style: wrapperStyle,
|
|
246
245
|
"data-rb-responsive-mode": responsiveScope.kind,
|
|
247
|
-
children
|
|
248
|
-
"data-container-responsive-overrides": true,
|
|
249
|
-
dangerouslySetInnerHTML: { __html: escapeStyleContent(containerResponsiveThemeCss) }
|
|
250
|
-
}), children]
|
|
246
|
+
children
|
|
251
247
|
});
|
|
252
248
|
}
|
|
253
249
|
//#endregion
|
|
@@ -2131,10 +2127,7 @@ function createPageSurfaceEditorServices(input, deps) {
|
|
|
2131
2127
|
expectedDraftUpdatedAt
|
|
2132
2128
|
}
|
|
2133
2129
|
}));
|
|
2134
|
-
return
|
|
2135
|
-
...savedRouteReceipt(result.route),
|
|
2136
|
-
editRevision: result.editRevision
|
|
2137
|
-
};
|
|
2130
|
+
return savedPageSurfaceMetadataReceipt(result.route, result.editRevision);
|
|
2138
2131
|
},
|
|
2139
2132
|
async publish() {
|
|
2140
2133
|
return {
|
|
@@ -2164,14 +2157,12 @@ function createPageSurfaceEditorServices(input, deps) {
|
|
|
2164
2157
|
}
|
|
2165
2158
|
function toPageSurfaceMetadataPayload(payload, baseline) {
|
|
2166
2159
|
const allowed = /* @__PURE__ */ new Set([
|
|
2160
|
+
"draftTitle",
|
|
2167
2161
|
"draftMetaTitle",
|
|
2168
2162
|
"draftMetaDescription",
|
|
2169
2163
|
"ogImageId"
|
|
2170
2164
|
]);
|
|
2171
|
-
const managedFields = {
|
|
2172
|
-
draftTitle: baseline.draftTitle,
|
|
2173
|
-
draftPath: baseline.draftPath
|
|
2174
|
-
};
|
|
2165
|
+
const managedFields = { draftPath: baseline.draftPath };
|
|
2175
2166
|
const changedManagedFields = Object.entries(managedFields).filter(([key, value]) => key in payload && payload[key] !== value).map(([key]) => key);
|
|
2176
2167
|
const unknownFields = Object.keys(payload).filter((key) => !allowed.has(key) && !(key in managedFields));
|
|
2177
2168
|
const unsupported = [...changedManagedFields, ...unknownFields];
|
|
@@ -4197,10 +4188,10 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4197
4188
|
}
|
|
4198
4189
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4199
4190
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4200
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
4191
|
+
return { default: (await import("./PreviewEditorSidebar-DWU6X6Y-.mjs")).PreviewEditorSidebar };
|
|
4201
4192
|
});
|
|
4202
4193
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4203
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4194
|
+
return { default: (await import("./PreviewEditorUI-C-X0ptC3.mjs")).PreviewEditorUI };
|
|
4204
4195
|
});
|
|
4205
4196
|
function renderShellProviders(input) {
|
|
4206
4197
|
if (!input.themeRoles) return input.content;
|
|
@@ -4286,33 +4277,36 @@ function AvailablePreviewShellLayout({ props, themeRoles }) {
|
|
|
4286
4277
|
return renderShellProviders({
|
|
4287
4278
|
props,
|
|
4288
4279
|
themeRoles,
|
|
4289
|
-
content: /* @__PURE__ */ jsx(
|
|
4290
|
-
rendering,
|
|
4291
|
-
themeRuntime,
|
|
4280
|
+
content: /* @__PURE__ */ jsx(PreviewChromeRootProvider, {
|
|
4292
4281
|
surfaceId,
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4282
|
+
children: /* @__PURE__ */ jsx(PreviewShellPanes, {
|
|
4283
|
+
rendering,
|
|
4284
|
+
themeRuntime,
|
|
4285
|
+
surfaceId,
|
|
4286
|
+
editorChrome: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
4287
|
+
/* @__PURE__ */ jsx(LinkedEntryEditEventBridge, {}),
|
|
4288
|
+
/* @__PURE__ */ jsx(React.Suspense, {
|
|
4289
|
+
fallback: null,
|
|
4290
|
+
children: /* @__PURE__ */ jsx(PreviewEditorUI, {
|
|
4291
|
+
entryData,
|
|
4292
|
+
dashboardBaseUrl,
|
|
4293
|
+
inMaintenanceMode: maintenanceModeEnabled,
|
|
4294
|
+
siteId,
|
|
4295
|
+
surfaceId,
|
|
4296
|
+
isSiteLaunched,
|
|
4297
|
+
apiClient
|
|
4298
|
+
})
|
|
4299
|
+
}),
|
|
4300
|
+
/* @__PURE__ */ jsx(PreviewAccessBanners, {
|
|
4299
4301
|
dashboardBaseUrl,
|
|
4300
|
-
inMaintenanceMode: maintenanceModeEnabled,
|
|
4301
|
-
siteId,
|
|
4302
4302
|
surfaceId,
|
|
4303
|
-
|
|
4304
|
-
|
|
4303
|
+
isEntry: Boolean(entryData),
|
|
4304
|
+
pageNodeType: props.pageNodeType
|
|
4305
4305
|
})
|
|
4306
|
-
}),
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
isEntry: Boolean(entryData),
|
|
4311
|
-
pageNodeType: props.pageNodeType
|
|
4312
|
-
})
|
|
4313
|
-
] }),
|
|
4314
|
-
sidebar,
|
|
4315
|
-
children
|
|
4306
|
+
] }),
|
|
4307
|
+
sidebar,
|
|
4308
|
+
children
|
|
4309
|
+
})
|
|
4316
4310
|
})
|
|
4317
4311
|
});
|
|
4318
4312
|
}
|
|
@@ -4375,7 +4369,7 @@ function PreviewShellPanes({ children, rendering, themeRuntime, surfaceId, edito
|
|
|
4375
4369
|
function PreviewSidebarPane({ surfaceId, children }) {
|
|
4376
4370
|
const surfaceDocument = useMemo(() => resolvePreviewChromeSurface(surfaceId), [surfaceId]);
|
|
4377
4371
|
return /* @__PURE__ */ jsx("div", {
|
|
4378
|
-
className: `${PREVIEW_CHROME_THEME_CLASS_NAME} flex h-full min-h-0 flex-col overflow-hidden
|
|
4372
|
+
className: `${PREVIEW_CHROME_THEME_CLASS_NAME} flex h-full min-h-0 flex-col overflow-hidden`,
|
|
4379
4373
|
...getPreviewChromeSurfaceDataProps(surfaceDocument),
|
|
4380
4374
|
children
|
|
4381
4375
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import { Bt as publicLocationSchema, Mt as decideLocationSourcePermission, Rt as parseLocationValue, s as TriangleAlert, zt as projectPublicLocation } from "./lucide-react-
|
|
4
|
-
import { A as applyPreviewRuntimeContentProjections, At as
|
|
2
|
+
import { $t as useEditorUiStore, $u as defineFragment, Ar as getBlockDefinition, B_ as generateUuidV4, Bd as coerceInlineTextWithFallback, Bu as blogFeaturedPostFragment, Cd as compileManifestContentContract, D as PreviewRenderPlanProjection, F_ as authoredValuesEqual, Fa as getCurrentResolveImageUrlContext, Fr as resolveLocationMapLocation, Fu as richTextFragment, Gd as inlineTextToPlainText, Gp as calendarWindowQuerySchema, Gu as testimonialsHeadingFragment, Gv as toUtcIsoDateTimeString, H as usePreviewToken, H_ as buildMailingListSignupBlockSourceRef, Hu as formEmbedFragment, Ia as setContextResolveImageUrlContext, Id as parseGeneratedIconAssetId, Ih as bindingSchema, Iu as headingFragment, J_ as parseMailingListPlacementTargeting, Jn as planArrangementContent, Ju as ctaRowFragment, Kd as isInlineTextEmpty, Ku as ctaCopyFragment, Ld as parseGeneratedIconSetId, Lu as cardFragment, M as lookPositionLabel, Mh as canWriteLinkedEntry, Ml as bookingConsentCarrierSchema, Mr as normalizeBlockContent, N as lookTilePosition, Np as isObjectRecord, Nu as pageTemplateFromEntry, Pa as buildResolveImageUrlContext, Pd as parseBlockIconValue, Pp as isRecord$1, Pr as normalizeLocationMapSource, Q_ as sameMailingListPlacementTargeting, Qn as retargetJoinsAcrossOmissions, Qu as bodyCopyFragment, Ru as faqAccordionFragment, T as ObservedJoin, Ti as projectRecurringSchedule, Uu as formCopyFragment, Vd as deriveInlineTextFieldChanges, Vu as singleButtonFragment, Wu as testimonialsCarouselFragment, Xg as expandPalette, Xn as joinSlotKey, Xp as unwrapResponse, Yn as composePageJoins, Zh as compileButtonColourStates, Zn as renderedJoinLayout, Zu as heroCopyFragment, _i as publicRouteCandidatesSchema, _n as renderSourceFor, ar as siblingPath, b as pageDesignLookPosition, br as selectBlockContent, cv as NO_BLOCK_VERSIONS, dv as selectedContentVersionId, en as useEditorUiStoreInstance, gi as offeringsPreviewBlockDefinition, gn as remoteDraftValues, hr as createEditorPresentationPageReader, i as usePreviewSidebarNavigation, i_ as themeSchema, ir as getAtPath, kl as publicEventsArraySchema, lu as readRuntimeNow, lv as readEditorBlockVersionsFromPlacement, mg as textColorStyle, o as usePreviewPageDesignEditorState, qn as createPageRenderPlanReader, qu as heroCtaRowFragment, ry as assertNever, s as usePreviewPageDesignRenderState, so as offeringsListingFor, to as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, ud as ctaButton, uu as resolveDateRuntimeContext, uv as readPublishedBlockPlacement, vg as parseSurfaceTree, vn as renderedFieldChanges, wd as validateManifestDraft, wn as unsafeAsLinkedContentEntryId, wv as unsafeAsEditorBlockId, y as cyclePageDesignBlockLook, ya as RichText$1, yd as runTransforms, yn as resolveRenderedValues, yr as readinessFactsFromLoaders, zu as faqHeadingFragment } from "./previewAssistantSlot-CSs9S8wr.mjs";
|
|
3
|
+
import { Bt as publicLocationSchema, Mt as decideLocationSourcePermission, Rt as parseLocationValue, s as TriangleAlert, zt as projectPublicLocation } from "./lucide-react-DbC1o6_9.mjs";
|
|
4
|
+
import { A as applyPreviewRuntimeContentProjections, At as Text$1, Ct as blockLookFromContent, D as usePreviewCompiledThemeOptional, Dt as buildAppointmentServicesView, Et as buildLoadedOfferingsPreviewListing, Ft as resolveEntryRouteTarget, It as resolvePageRouteTarget, Lt as resolveRouteTarget, M as runtimeContentDecorationProjectionFromServerPage, Mt as coerceLinkedContentEntriesPayload, N as mergeResolvedDataContext, O as pageDesignRuntimeProjectionFromSource, Ot as renderInlineText, P as withRenderedContentEntry, Pt as defaultTransforms, St as arrangementHooksFromContent, Tt as getDefaultComponentRegistry, Ut as mergeContentWithBlockStyleOverrides, Vt as buildThemeRuntime, i as PreviewChromeFloatingControl, j as entryFieldRebindingProjection, k as resolveRuntimePreviewSourceForTheme, kt as logger, l as planBlockToolbarPlacement, nt as clientComponentRegistry, o as readThemeCustomProperties, r as PreviewChromeFloatingBar, s as measureSiteTopChromeClearance, sn as defaultThemeTokens, wt as readBlockComposition, xt as makeDefaultBlockComponent } from "./SiteChromeCustomizeButton-CcZ_ERvZ.mjs";
|
|
5
5
|
import { j as createStandardButtonSurfacePolicy } from "./ThemedButton-BQU45t-E.mjs";
|
|
6
|
-
import { A as EditorCanvasNameChip, C as useRichTextEditor, D as decideDocumentReplacement, E as InlineTextEditor, M as EditorSelectionFrame, O as resolveSdkFooterMode, T as parseRichTextDoc, a as LookCyclePill, b as RichTextEditorSurface, h as useRichTextImageProjection, j as EditorInsertionMarker, k as EditorCanvasChipRow, n as ArrangementLookPill, r as ArrangementModeSwitchPill, s as useArrangementToolbar, w as EMPTY_DOC } from "./ArrangementLookControls-
|
|
7
|
-
import { a as needsSetupMessage, n as useBlockCustomizeControls, r as NEEDS_SETUP_LABEL, s as useBlockNeedsSetup } from "./useBlockCustomizeControls-
|
|
8
|
-
import { f as useEditor } from "./
|
|
9
|
-
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-
|
|
10
|
-
import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-
|
|
6
|
+
import { A as EditorCanvasNameChip, C as useRichTextEditor, D as decideDocumentReplacement, E as InlineTextEditor, M as EditorSelectionFrame, O as resolveSdkFooterMode, T as parseRichTextDoc, a as LookCyclePill, b as RichTextEditorSurface, h as useRichTextImageProjection, j as EditorInsertionMarker, k as EditorCanvasChipRow, n as ArrangementLookPill, r as ArrangementModeSwitchPill, s as useArrangementToolbar, w as EMPTY_DOC } from "./ArrangementLookControls-DJQrgD5f.mjs";
|
|
7
|
+
import { a as needsSetupMessage, n as useBlockCustomizeControls, r as NEEDS_SETUP_LABEL, s as useBlockNeedsSetup } from "./useBlockCustomizeControls-WOs8Atje.mjs";
|
|
8
|
+
import { f as useEditor } from "./previewChromeRoot-B2OTurZH.mjs";
|
|
9
|
+
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-C1WUNsj9.mjs";
|
|
10
|
+
import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-CipKCK2O.mjs";
|
|
11
11
|
import * as React$1 from "react";
|
|
12
12
|
import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -2149,7 +2149,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
|
|
|
2149
2149
|
/** Every plan input participates in memo identity; the builder owns all rules. */
|
|
2150
2150
|
function usePageRenderPlan(props) {
|
|
2151
2151
|
const readPlan = React$1.useMemo(createPageRenderPlanReader, []);
|
|
2152
|
-
const { page, audience, runtimeJoins, sdkConfig, customBlocks, blockOverrides } = props;
|
|
2152
|
+
const { page, audience, runtimeJoins, hiddenBlockIds, sdkConfig, customBlocks, blockOverrides } = props;
|
|
2153
2153
|
const siteStyleId = props.theme?.siteStyleId ?? null;
|
|
2154
2154
|
const previewStage = props.dataContext?.previewStage ?? "published";
|
|
2155
2155
|
return React$1.useMemo(() => readPlan({
|
|
@@ -2162,6 +2162,7 @@ function usePageRenderPlan(props) {
|
|
|
2162
2162
|
siteStyleId,
|
|
2163
2163
|
audience,
|
|
2164
2164
|
runtimeJoins,
|
|
2165
|
+
hiddenBlockIds,
|
|
2165
2166
|
previewStage,
|
|
2166
2167
|
sdkConfig,
|
|
2167
2168
|
customBlocks,
|
|
@@ -2171,6 +2172,7 @@ function usePageRenderPlan(props) {
|
|
|
2171
2172
|
siteStyleId,
|
|
2172
2173
|
audience,
|
|
2173
2174
|
runtimeJoins,
|
|
2175
|
+
hiddenBlockIds,
|
|
2174
2176
|
previewStage,
|
|
2175
2177
|
sdkConfig,
|
|
2176
2178
|
customBlocks,
|