@riverbankcms/sdk 0.181.0 → 0.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -0
- package/README.md +49 -3
- package/dist/_dts/{BlocksIslandsHydrator-CVCasDPz.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-CEqZJZEE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-B_B_amKD.d.ts} +2 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-BOpUh8kO.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-Bizdaxji.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-BxCmCit0.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CjAkEWAp.d.ts} +4 -4
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-iuFrbIjt.d.ts} +1 -1
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-liuhlOX7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-Gn0O1blj.d.ts} +25042 -23761
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-xzJ3c9Na.d.ts} +1 -1
- 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 +7 -7
- 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/gifting/client.d.ts +1 -1
- 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 +3 -3
- 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/portal/index.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 +6 -6
- 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 +91 -2
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-BoITy0rA.d.ts} +41 -4
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-DBNuMtSk.d.ts} +16 -5
- package/dist/_dts/{types-R65DKjPn.d.ts → types-DHMcuoeQ.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BIPO-XlE.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
- package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +27 -10
- package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
- package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Fr2qi2C2.mjs} +33 -186
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-COuEJzbO.mjs} +8 -8
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +41 -195
- package/dist/client/{Page-C7mygH_f.mjs → Page-CgbQZP5g.mjs} +2947 -1018
- package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-DyXoI3ob.mjs} +221 -20
- package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-wj4Rloo5.mjs} +1214 -724
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-BVXfjnh-.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-DycPGtke.mjs} +191 -71
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
- package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-DyCLMP8s.mjs} +2 -2
- package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BuEp_cj4.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-CAO39uDG.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-BoxzT64s.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
- package/dist/client/client.mjs +466 -94
- package/dist/client/{constants-CoOkvw__.mjs → constants-C_8AxMdm.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-D1L0pe__.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-aTLifOX7.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-Dikmc2AO.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-zHaQK5I9.mjs} +5 -5
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-BLl9n8TH.mjs} +3 -3
- package/dist/client/gifting/client.mjs +16 -9
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-CufPM38H.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client--N1GaSY8.mjs} +155 -84
- package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
- package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-BIaBpmk3.mjs} +2 -2
- package/dist/client/{noop-Dl4mZ-rr.mjs → islands-DJDLGQEm.mjs} +16008 -8676
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +384 -326
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
- package/dist/client/portal/client.mjs +291 -101
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-tCxS04g0.mjs} +3 -2
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-DTHlWg_F.mjs} +33 -7
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-DhZAwo60.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BiVpbZK2.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-C3OBRg7x.mjs} +2305 -873
- package/dist/client/rendering/client.mjs +29 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-ms477Z08.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
- package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-xt4dQ3HH.mjs} +3 -3
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-DS8t6749.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-ZSqRK3dD.mjs → src-Do_s2lqH.mjs} +16 -19
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-Dy3nNfTG.mjs} +13 -17
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
- package/dist/client/{view-CC_yQLSA.mjs → view-4gnPcpWJ.mjs} +24 -9
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-DDvL3iza.mjs} +375 -186
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3871 -1947
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +51 -20
- package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
- package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-CqH91EwA.mjs} +20687 -8562
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
- package/dist/preview-next/container-responsive.css +320 -0
- package/dist/preview-next/editor-chrome.css +23 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-Ch0X99vE.mjs} +183 -18
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-B2FmczLO.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-DtAyv9qA.mjs} +51 -29
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-BtPqb76u.mjs} +509 -389
- package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-B_9JuU66.mjs} +7 -7
- package/dist/server/{client-CDndhbYO.mjs → client-DC7cjiSw.mjs} +489 -93
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-d6nPNJpe.mjs} +33 -6
- package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-DxPrNOAB.mjs} +950 -316
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-hb27HYic.mjs} +11 -10
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-JToD8wDD.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-B2WhGofA.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +242 -336
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-m80Xu2pd.mjs} +1292 -877
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
- package/dist/server/{portal-CMW_b9mG.mjs → portal-B2wCQno_.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-BWIkFaXq.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
- package/dist/server/{registry-DM9dHfDC.mjs → registry-KtsOsAzY.mjs} +21703 -10936
- 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 +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
- package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-ChEZDRwU.mjs} +38 -15
- package/dist/server/theme-bridge.mjs +34 -9
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
- package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
- package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
- package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
- package/dist/server/{validation-DG5jX3jH.mjs → validation-Cvi-1TZZ.mjs} +13 -9
- package/dist/server/{version-CipbxPHL.mjs → version-B-icAIV1.mjs} +1 -1
- package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
- package/dist/styles/index.css +2568 -154
- package/package.json +1 -1
- package/dist/client/gifting.parts-CedLgwa_.mjs +0 -86
- package/dist/client/runtimeResponse-DL_ARBpa.mjs +0 -3
- package/dist/client/types-BEaKfam_.mjs +0 -778
package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-XoTtHSFH.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import { Q as EllipsisVertical, S as Palette, Y as Eye, _ as Redo2, ft as ChevronDown, o as Undo2, s as TriangleAlert, y as Pencil } from "./lucide-react-
|
|
4
|
-
import { i as formatEditorStatus, n as useEditorWriteState, r as decideEditorStatus } from "./useAutosaveStatus-
|
|
5
|
-
import {
|
|
6
|
-
import { c as writePreviewThemeCookie,
|
|
2
|
+
import { $r as readinessFactsFromPayload, Cd as unsafeAsEditorBlockId, Cn as useSidebarView, El as cn, Mn as canDiscardDraft, Pu as authoredValuesEqual, Q as useFooterPanelOwnsNotice, Qr as publishReadinessWarning, St as EditorWriteSurface, Us as resolveBlockTitle, V as usePreviewAuth, Wn as editorAuthoredBlockDocument, Zr as PUBLISH_READINESS_COPY, _c as DialogDescription, bc as DialogTitle, bn as useEditorUiStore, ct as useEntryEditorController, dn as useEditor, dt as useServerRefresh, ft as useSessionJournal, gc as DialogContent, ja as pageTemplateFromEntry, ln as PREVIEW_CHROME_Z_INDEX, mc as Dialog, mt as useSessionJournalHistory, n as usePreviewAssistantSlot, pc as Spinner, pd as displayedValues, qs as editorAdmissionIsOpen, rc as unwrapResponse, vc as DialogFooter, vl as Button, xl as cva, xn as useEditorUiStoreInstance, yc as DialogHeader } from "./previewAssistantSlot-CqH91EwA.mjs";
|
|
3
|
+
import { Q as EllipsisVertical, S as Palette, Y as Eye, _ as Redo2, ft as ChevronDown, o as Undo2, s as TriangleAlert, y as Pencil } from "./lucide-react-eAi3tDAr.mjs";
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, o as EditorHistoryButtons, r as decideEditorStatus } from "./useAutosaveStatus-BhPg4e-r.mjs";
|
|
5
|
+
import { _t as DropdownMenuTrigger, at as Tooltip, c as needsSetupAsk, ct as TooltipTrigger, dt as DropdownMenuContent, ft as DropdownMenuItem, gt as DropdownMenuSeparator, ht as DropdownMenuRadioItem, lt as Badge, mt as DropdownMenuRadioGroup, n as resolveBlockManifest, ot as TooltipContent, pt as DropdownMenuLabel, t as useOpenBlockForSetup, ut as DropdownMenu } from "./useOpenBlockForSetup-BaWUF9D7.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, d as FixedBottomSurface, n as usePreviewChromeRoot, o as readPreviewThemeCookie } from "./previewChromeRoot-B3ySEu6p.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -200,22 +200,9 @@ function PhoneProblemLine({ status }) {
|
|
|
200
200
|
})]
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
return /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
205
|
-
asChild: true,
|
|
206
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
207
|
-
type: "button",
|
|
208
|
-
variant: "ghost",
|
|
209
|
-
size: "icon",
|
|
210
|
-
onClick,
|
|
211
|
-
disabled,
|
|
212
|
-
"aria-label": label,
|
|
213
|
-
children: icon
|
|
214
|
-
})
|
|
215
|
-
}), /* @__PURE__ */ jsx(TooltipContent, { children: label })] });
|
|
216
|
-
}
|
|
203
|
+
/** A phone has room for the state alone ("Published", "Draft"), so the saved time shows from `sm` up. */
|
|
217
204
|
function StatusCopy({ decision, size }) {
|
|
218
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [formatEditorStatus(decision, size), decision.primary.kind === "publication" && decision.savedAt ? /* @__PURE__ */ jsxs("span", {
|
|
205
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [formatEditorStatus(decision, size), size === "desktop" && decision.primary.kind === "publication" && decision.savedAt ? /* @__PURE__ */ jsxs("span", {
|
|
219
206
|
className: "text-xs text-muted-foreground",
|
|
220
207
|
children: [" · saved ", decision.savedAt]
|
|
221
208
|
}) : null] });
|
|
@@ -256,21 +243,9 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
|
|
|
256
243
|
/* @__PURE__ */ jsxs("div", {
|
|
257
244
|
className: "flex min-w-0 flex-1 flex-nowrap items-center gap-2 sm:gap-3",
|
|
258
245
|
children: [
|
|
259
|
-
historyControls ? /* @__PURE__ */
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
"aria-label": "History controls",
|
|
263
|
-
children: [/* @__PURE__ */ jsx(HistoryButton, {
|
|
264
|
-
label: "Undo",
|
|
265
|
-
icon: /* @__PURE__ */ jsx(Undo2, {}),
|
|
266
|
-
onClick: historyControls.onUndo,
|
|
267
|
-
disabled: !historyControls.canUndo
|
|
268
|
-
}), /* @__PURE__ */ jsx(HistoryButton, {
|
|
269
|
-
label: "Redo",
|
|
270
|
-
icon: /* @__PURE__ */ jsx(Redo2, {}),
|
|
271
|
-
onClick: historyControls.onRedo,
|
|
272
|
-
disabled: !historyControls.canRedo
|
|
273
|
-
})]
|
|
246
|
+
historyControls ? /* @__PURE__ */ jsx(EditorHistoryButtons, {
|
|
247
|
+
controls: historyControls,
|
|
248
|
+
className: "hidden sm:inline-flex"
|
|
274
249
|
}) : null,
|
|
275
250
|
/* @__PURE__ */ jsx(StatusBarNote, { message: statusDecision.note }),
|
|
276
251
|
/* @__PURE__ */ jsx("div", {
|
|
@@ -310,7 +285,7 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
|
|
|
310
285
|
size: "desktop"
|
|
311
286
|
})
|
|
312
287
|
}), /* @__PURE__ */ jsx("span", {
|
|
313
|
-
className: "
|
|
288
|
+
className: "line-clamp-2 min-w-0 leading-tight sm:hidden",
|
|
314
289
|
children: /* @__PURE__ */ jsx(StatusCopy, {
|
|
315
290
|
decision: statusDecision,
|
|
316
291
|
size: "mobile"
|
|
@@ -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 { $
|
|
5
|
-
import { H as GripVertical } from "./lucide-react-
|
|
6
|
-
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as
|
|
7
|
-
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-
|
|
8
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as
|
|
4
|
+
import { $ as SessionJournalHost, $t as BlockApiProvider, B as renewPreviewSession, Br as LINKED_CONTENT_ENTRY_META_KEY, Ca as planSiteChromePlacement, Cd as unsafeAsEditorBlockId, Cu as indexRenderableMediaAssets, Dn as SIDEBAR_WIDTH, E as PreviewRenderObservationsProvider, El as cn, Et as getEditorClientId, Fn as remoteDraftValues, H as usePreviewToken, Hi as buildResolveImageUrlContext, Hr as getLinkedContentEntryMeta, In as renderSourceFor, Js as editorAdmissionNotice, L as createGuardedPreviewApiClient, Lo as DEFAULT_THEME_RESPONSIVE_MODE, Ml as canEditorWrite, Nn as activeLinkedSaveHandover, Ol as baselineRevisionOf, On as parseStoredSidebarWidth, Pd as assertNever$2, Pn as planLinkedSaveHandoverRetention, Pu as authoredValuesEqual, Qs as API_ENDPOINTS, R as initPreviewAuth, Rn as resolveRenderedValues, Ro as getResponsiveScopeSpec, Sn as useOptionalEditorUiStoreInstance, St as EditorWriteSurface, Su as renderableMediaAssetSchema$1, U as renderSiteChromeBlock, Un as unsafeAsLinkedContentEntryId, Ut as blocksKeys, V as usePreviewAuth, Wu as parseFooterModuleId, Xs as observeEditorAdmission, Ys as editorAdmissionSession, Yt as ImageResolveContextProvider, Zs as OPERATION_ID_HEADER, _ as PreviewFooterProvider, _c as DialogDescription, _t as savedPageSurfaceMetadataReceipt, a as PreviewPageDesignEditorStateProvider, bc as DialogTitle, bn as useEditorUiStore, bt as EditLeaseDiscardedNotice, cn as ApiRequestError, ct as useEntryEditorController, dc as CalloutDescription, dn as useEditor, dt as useServerRefresh, f as PreviewThemeJournalProvider, fd as parseEditLeaseScope, fn as useIsEditingMode, g as previewThemeBase, ga as measureSiteStickyChromeHeightPx, gc as DialogContent, gt as savedContentReceipt, ha as SITE_STICKY_CHROME_HEIGHT_FALLBACK, ht as createEditorApiClientFactory, i as usePreviewSidebarNavigation, ia as themeRuntimeScopeProps, ja as pageTemplateFromEntry, kl as isEdited, ks as assertNever$1, kt as EditorPageTemplateProvider, l as SiteChromeCustomizeProvider, m as usePreviewThemeSourceOptional, ma as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, mc as Dialog, mn as createSnapshotFromPageRecord, na as buildThemeDataAttrs, oc as selectedCanvasBlockId, ot as EntryControllerProvider, p as usePreviewThemeSource, pa as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, pn as createRoutingHelpers, r as PreviewSidebarBootstrap, rc as unwrapResponse, t as PreviewAssistantSlotProvider, uc as Callout, un as EditorProvider, v as useLiveFooterRuntime, va as planSiteOverlayHeaderClearance, vc as DialogFooter, vl as Button, vt as useRetentionTicks, xn as useEditorUiStoreInstance, xt as EditLeaseModal, xu as buildRenderableMediaAssetIndex, ya as siteTopChromeMeasurementTargets, yc as DialogHeader, yt as VIEWING_PARTICIPATION, z as registerPreviewRenewalFetcher } from "./previewAssistantSlot-CqH91EwA.mjs";
|
|
5
|
+
import { H as GripVertical } from "./lucide-react-eAi3tDAr.mjs";
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Ft as TabsTrigger, Mt as Tabs, Nt as TabsContent, O as SiteFontStorageProvider, Pt as TabsList, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, gt as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-C6eOP6QW.mjs";
|
|
7
|
+
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-CIdAg-Tm.mjs";
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as FixedBottomSurface, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-B3ySEu6p.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";
|
|
@@ -4040,7 +4040,8 @@ function renderEditableSurface(children, surface, options) {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
function FooterModuleInspectionSurface({ children }) {
|
|
4042
4042
|
const editorUiStore = useOptionalEditorUiStoreInstance();
|
|
4043
|
-
|
|
4043
|
+
const isEditing = useIsEditingMode();
|
|
4044
|
+
return editorUiStore && isEditing ? /* @__PURE__ */ jsx(EnabledFooterModuleInspectionSurface, {
|
|
4044
4045
|
editorUiStore,
|
|
4045
4046
|
children
|
|
4046
4047
|
}) : /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
@@ -4447,10 +4448,10 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4447
4448
|
}
|
|
4448
4449
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4449
4450
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4450
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
4451
|
+
return { default: (await import("./PreviewEditorSidebar-DVpk5cqp.mjs")).PreviewEditorSidebar };
|
|
4451
4452
|
});
|
|
4452
4453
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4453
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4454
|
+
return { default: (await import("./PreviewEditorUI-XoTtHSFH.mjs")).PreviewEditorUI };
|
|
4454
4455
|
});
|
|
4455
4456
|
function renderShellProviders(input) {
|
|
4456
4457
|
if (!input.themeRoles) return input.content;
|
|
@@ -4533,38 +4534,42 @@ function AvailablePreviewShellLayout({ props, themeRoles }) {
|
|
|
4533
4534
|
siteStyleAccess
|
|
4534
4535
|
}, editorScopeKey)
|
|
4535
4536
|
});
|
|
4537
|
+
const editorChrome = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
4538
|
+
/* @__PURE__ */ jsx(LinkedEntryEditEventBridge, {}),
|
|
4539
|
+
/* @__PURE__ */ jsx(React.Suspense, {
|
|
4540
|
+
fallback: null,
|
|
4541
|
+
children: /* @__PURE__ */ jsx(PreviewEditorUI, {
|
|
4542
|
+
entryData,
|
|
4543
|
+
dashboardBaseUrl,
|
|
4544
|
+
inMaintenanceMode: maintenanceModeEnabled,
|
|
4545
|
+
siteId,
|
|
4546
|
+
surfaceId,
|
|
4547
|
+
isSiteLaunched,
|
|
4548
|
+
apiClient
|
|
4549
|
+
})
|
|
4550
|
+
}),
|
|
4551
|
+
/* @__PURE__ */ jsx(PreviewAccessBanners, {
|
|
4552
|
+
dashboardBaseUrl,
|
|
4553
|
+
surfaceId,
|
|
4554
|
+
isEntry: Boolean(entryData),
|
|
4555
|
+
pageNodeType: props.pageNodeType
|
|
4556
|
+
})
|
|
4557
|
+
] });
|
|
4536
4558
|
return renderShellProviders({
|
|
4537
4559
|
props,
|
|
4538
4560
|
themeRoles,
|
|
4539
4561
|
content: /* @__PURE__ */ jsx(PreviewChromeRootProvider, {
|
|
4540
4562
|
surfaceId,
|
|
4541
|
-
children: /* @__PURE__ */ jsx(
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
dashboardBaseUrl,
|
|
4552
|
-
inMaintenanceMode: maintenanceModeEnabled,
|
|
4553
|
-
siteId,
|
|
4554
|
-
surfaceId,
|
|
4555
|
-
isSiteLaunched,
|
|
4556
|
-
apiClient
|
|
4557
|
-
})
|
|
4558
|
-
}),
|
|
4559
|
-
/* @__PURE__ */ jsx(PreviewAccessBanners, {
|
|
4560
|
-
dashboardBaseUrl,
|
|
4561
|
-
surfaceId,
|
|
4562
|
-
isEntry: Boolean(entryData),
|
|
4563
|
-
pageNodeType: props.pageNodeType
|
|
4564
|
-
})
|
|
4565
|
-
] }),
|
|
4566
|
-
sidebar,
|
|
4567
|
-
children
|
|
4563
|
+
children: /* @__PURE__ */ jsx(EditorPageTemplateProvider, {
|
|
4564
|
+
template: pageTemplateFromEntry({ _contentTypeSlug: entryData?.type }),
|
|
4565
|
+
children: /* @__PURE__ */ jsx(PreviewShellPanes, {
|
|
4566
|
+
rendering,
|
|
4567
|
+
themeRuntime,
|
|
4568
|
+
surfaceId,
|
|
4569
|
+
editorChrome,
|
|
4570
|
+
sidebar,
|
|
4571
|
+
children
|
|
4572
|
+
})
|
|
4568
4573
|
})
|
|
4569
4574
|
})
|
|
4570
4575
|
});
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
4
|
-
import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-
|
|
5
|
-
import {
|
|
6
|
-
import { f as
|
|
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-RL0WfZXD.mjs";
|
|
2
|
+
import { $a as ctaButton, $i as readOfferingsGrouping, $s as publicMapLocationParamsSchema, Aa as hiddenFromVisitors, Al as canWriteLinkedEntry, Ar as buildLoadedOfferingsPreviewListing, Ba as faqHeadingFragment, Cd as unsafeAsEditorBlockId, Co as inlineTextToPlainText, D as PreviewRenderPlanProjection, Do as parseInlineTextFromUnknown, Dr as readBlockComposition, Er as blockLookFromContent, Fa as bookingConsentCarrierSchema, Fn as remoteDraftValues, Fr as logger, Fu as generateUuidV4, Ga as testimonialsCarouselFragment, Gr as resolvePageRouteTarget, Gs as isObjectRecord, H as usePreviewToken, Ha as singleButtonFragment, Hi as buildResolveImageUrlContext, Ia as richTextFragment, In as renderSourceFor, Io as mergeContentWithBlockStyleOverrides, Ir as Text$1, Ja as heroCtaRowFragment, Jr as allOutlineBlocks, Ka as testimonialsHeadingFragment, Ki as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Kr as resolveRouteTarget, Ks as isRecord$1, La as headingFragment, Ln as renderedFieldChanges, Lr as getAtPath, Lu as buildMailingListSignupBlockSourceRef, Mr as buildAppointmentServicesView, Nl as bindingSchema, Oa as projectRecurringSchedule, Or as getDefaultComponentRegistry, Pa as publicEventsArraySchema, Pd as assertNever, Po as buildThemeRuntime, Pr as renderInlineText, Qa as heroCopyFragment, Qt as EditorPartsProvider, Qu as sameMailingListPlacementTargeting, Ra as cardFragment, Rn as resolveRenderedValues, Rr as siblingPath, Sa as resolveDateRuntimeContext, Sr as resolveBlockLayout, T as ObservedJoin, Ti as RichText$1, Tr as arrangementHooksFromContent, Ua as formEmbedFragment, Ui as getCurrentResolveImageUrlContext, Un as unsafeAsLinkedContentEntryId, Ur as defaultTransforms, Va as blogFeaturedPostFragment, Vr as coerceLinkedContentEntriesPayload, Wa as formCopyFragment, Wi as setContextResolveImageUrlContext, Wr as resolveEntryRouteTarget, Xr as mapOutlineRegions, Ya as ctaRowFragment, Yr as mapOutlineBlocks, Yu as parseMailingListPlacementTargeting, Zi as offeringsListingFor, _s as pageGround, ai as getBlockDefinition, ao as validateManifestDraft, au as textColorStyle, bn as useEditorUiStore, cd as NO_BLOCK_VERSIONS, ci as normalizeBlockContent, dd as selectedContentVersionId, di as normalizeLocationMapSource, dn as useEditor, dr as createPageRenderPlanReader, ec as calendarWindowQuerySchema, ei as readinessFactsFromLoaders, eo as layoutSectionGround, eu as parseThemeForPersistence, fi as parseLocationMapLoaderResult, fr as planArrangementContent, gi as publicRouteCandidatesSchema, gr as retargetJoinsAcrossOmissions, hi as offeringsPreviewBlockDefinition, ho as parseGeneratedIconSetId, hr as renderedJoinLayout, io as compileManifestContentContract, ja as pageTemplateFromEntry, jd as toUtcIsoDateTimeString, jr as resolveEventDetailsPresentation, ld as readEditorBlockVersionsFromPlacement, li as LOCATION_MAP_LOADER_KEYS, lu as defaultThemeTokens, mo as parseGeneratedIconAssetId, mr as joinSlotKey, no as defineFragment, oi as hasBlockDefinition, pi as resolveLocationMapLocation, po as parseBlockIconValue, pr as composePageJoins, qa as ctaCopyFragment, qi as groupOfferingRunsByCourse, qr as createEditorPresentationPageReader, qt as clientComponentRegistry, rc as unwrapResponse, ro as runTransforms, s as usePreviewPageDesignRenderState, su as parseSurfaceTree, ta as normalizeEventRegistrationPageSurfaceSubject, ti as selectBlockContent, to as bodyCopyFragment, ud as readPublishedBlockPlacement, ui as describeUnresolvedLocationMapLocation, vo as coerceInlineTextWithFallback, wi as cardListPresentationSchemaShape, wo as isInlineTextEmpty, wr as resolveDefaultBlockTree, xa as readRuntimeNow, xn as useEditorUiStoreInstance, xr as makeDefaultBlockComponent, yo as deriveInlineTextFieldChanges, za as faqAccordionFragment } from "./previewAssistantSlot-CqH91EwA.mjs";
|
|
3
|
+
import { Bt as projectPublicLocation, Vt as publicLocationSchema, zt as parseLocationValue } from "./lucide-react-eAi3tDAr.mjs";
|
|
4
|
+
import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-C6eOP6QW.mjs";
|
|
5
|
+
import { D as InlineTextEditor, E as parseRichTextDoc, O as decideDocumentReplacement, T as EMPTY_DOC, g as useRichTextImageProjection, k as resolveSdkFooterMode, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as useRichTextEditor, x as RichTextEditorSurface } from "./PageSectionToolbar-D8srnz9R.mjs";
|
|
6
|
+
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-VQHsRg2u.mjs";
|
|
8
7
|
import * as React$1 from "react";
|
|
9
8
|
import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
10
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1035,10 +1034,14 @@ function blockBoundaryReserves(input) {
|
|
|
1035
1034
|
return {
|
|
1036
1035
|
topPlacement: top?.placement,
|
|
1037
1036
|
bottomPlacement: bottom?.placement,
|
|
1038
|
-
|
|
1037
|
+
seamBefore: seamAttribute(input.before),
|
|
1038
|
+
seamAfter: seamAttribute(input.after),
|
|
1039
1039
|
style: top || bottom ? style : void 0
|
|
1040
1040
|
};
|
|
1041
1041
|
}
|
|
1042
|
+
function seamAttribute(slot) {
|
|
1043
|
+
return slot && slot.seam !== "none" ? slot.seam : void 0;
|
|
1044
|
+
}
|
|
1042
1045
|
/** The reserve one join needs on one side of itself, if it draws at all. */
|
|
1043
1046
|
function reserveOnSide(slot, side) {
|
|
1044
1047
|
const layout = renderedJoinLayout(slot?.join ?? null);
|
|
@@ -1548,7 +1551,7 @@ function survivingPreparedRegion(entries, survivors) {
|
|
|
1548
1551
|
}
|
|
1549
1552
|
/** Admission always sees current loader provenance, even when block preparation can be reused. */
|
|
1550
1553
|
function preparationAdmission(input) {
|
|
1551
|
-
const facts = readinessFactsFromLoaders("published", {
|
|
1554
|
+
const facts = readinessFactsFromLoaders(input.dataContext?.previewStage === "preview" ? "draft" : "published", {
|
|
1552
1555
|
prefetched: input.dataContext?.prefetchedBlockData,
|
|
1553
1556
|
previewStage: input.dataContext?.previewStage,
|
|
1554
1557
|
mailingList: input.dataContext?.mailingList,
|
|
@@ -1632,11 +1635,32 @@ function composeSurvivorJoins(plan, survivors, themeResources) {
|
|
|
1632
1635
|
survivors: survivors.map(({ entry }) => ({
|
|
1633
1636
|
id: entry.block.id,
|
|
1634
1637
|
kind: entry.block.kind,
|
|
1635
|
-
content: boundaryClassificationContent(entry, themeResources)
|
|
1638
|
+
content: boundaryClassificationContent(entry, themeResources),
|
|
1639
|
+
...seamSectionFacts(entry)
|
|
1636
1640
|
}))
|
|
1637
1641
|
});
|
|
1638
1642
|
}
|
|
1639
1643
|
/**
|
|
1644
|
+
* Whether the platform paints this entry's section, and the ground it
|
|
1645
|
+
* declares. Only a system block whose layout is a styled section is
|
|
1646
|
+
* `platform`: that section carries the geometry hook the seam rules target,
|
|
1647
|
+
* whatever the Look or skin. An override component, a custom block, a layout
|
|
1648
|
+
* that draws its own root, or a block that manages its own wrapper (so never
|
|
1649
|
+
* carries the seam attributes) owns its ground and padding.
|
|
1650
|
+
*/
|
|
1651
|
+
function seamSectionFacts(entry) {
|
|
1652
|
+
const own = {
|
|
1653
|
+
ground: pageGround,
|
|
1654
|
+
section: "own"
|
|
1655
|
+
};
|
|
1656
|
+
if (entry.kind !== "renderable" || entry.override || entry.managesOwnWrapper || !hasBlockDefinition(entry.block.kind)) return own;
|
|
1657
|
+
const ground = layoutSectionGround(resolveBlockLayout(entry.definition.manifest, entry.effectiveArrangementKey));
|
|
1658
|
+
return ground ? {
|
|
1659
|
+
ground,
|
|
1660
|
+
section: "platform"
|
|
1661
|
+
} : own;
|
|
1662
|
+
}
|
|
1663
|
+
/**
|
|
1640
1664
|
* The content a join is classified from must be the content that paints the
|
|
1641
1665
|
* section. The default block renderer layers the theme's per-block style
|
|
1642
1666
|
* defaults (`theme.blockOverrides[kind].styles`, background included) under
|
|
@@ -1928,7 +1952,7 @@ function wrapRenderedPage(props, plan, rendered) {
|
|
|
1928
1952
|
function renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation) {
|
|
1929
1953
|
const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
|
|
1930
1954
|
const joinSlots = joinSlotsByPair(preparation.joins);
|
|
1931
|
-
const renderRegion = (entries, joins,
|
|
1955
|
+
const renderRegion = (entries, joins, ending) => entries.map((entry, index) => renderGuardedPlanEntry({
|
|
1932
1956
|
entry,
|
|
1933
1957
|
index,
|
|
1934
1958
|
entries,
|
|
@@ -1938,27 +1962,28 @@ function renderPreparedPage(props, preparation, themeResources, imageResolveCont
|
|
|
1938
1962
|
resolvedRegistry,
|
|
1939
1963
|
systemTrees: headingPresentation.trees,
|
|
1940
1964
|
joinSlots: joins,
|
|
1941
|
-
|
|
1965
|
+
ending,
|
|
1942
1966
|
wrapBlock: props.wrapBlock,
|
|
1943
1967
|
renderJoin: props.renderJoin
|
|
1944
1968
|
}));
|
|
1945
1969
|
const { main, aside } = preparation.regions;
|
|
1946
1970
|
const title = headingPresentation.needsPageTitle ? /* @__PURE__ */ jsx(PageTitleFallback, { name: props.page?.name ?? "" }) : null;
|
|
1947
|
-
if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "
|
|
1971
|
+
if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "lastBlock")] });
|
|
1948
1972
|
return /* @__PURE__ */ jsxs("div", {
|
|
1949
1973
|
className: "rb-page-layout",
|
|
1950
1974
|
"data-page-layout": "main-aside",
|
|
1975
|
+
"data-page-ending": "",
|
|
1951
1976
|
children: [
|
|
1952
1977
|
title,
|
|
1953
1978
|
/* @__PURE__ */ jsx("div", {
|
|
1954
1979
|
className: "rb-page-layout__main",
|
|
1955
1980
|
"data-page-region": "main",
|
|
1956
|
-
children: renderRegion(main, joinSlots, "
|
|
1981
|
+
children: renderRegion(main, joinSlots, "elsewhere")
|
|
1957
1982
|
}),
|
|
1958
1983
|
/* @__PURE__ */ jsx("aside", {
|
|
1959
1984
|
className: "rb-page-layout__aside rb-sticky-below-site-chrome",
|
|
1960
1985
|
"data-page-region": "aside",
|
|
1961
|
-
children: renderRegion(aside, /* @__PURE__ */ new Map(), "
|
|
1986
|
+
children: renderRegion(aside, /* @__PURE__ */ new Map(), "elsewhere")
|
|
1962
1987
|
})
|
|
1963
1988
|
]
|
|
1964
1989
|
});
|
|
@@ -2047,9 +2072,9 @@ function requireEntryBlockOverride(entry, themeResources) {
|
|
|
2047
2072
|
}
|
|
2048
2073
|
requireBlockOverride(themeResources, entry.override, entry.block.kind);
|
|
2049
2074
|
}
|
|
2050
|
-
/** The
|
|
2051
|
-
function pageEndingAttribute(
|
|
2052
|
-
return
|
|
2075
|
+
/** The block the footer meets marks itself for the footer edge's reserve. */
|
|
2076
|
+
function pageEndingAttribute(ending, position) {
|
|
2077
|
+
return ending === "lastBlock" && (position === "last" || position === "only") ? "" : void 0;
|
|
2053
2078
|
}
|
|
2054
2079
|
/** The block's stored identifier, emitted as its section `id` so `#identifier` links land on it. */
|
|
2055
2080
|
function blockAnchorId(block) {
|
|
@@ -2116,10 +2141,11 @@ function renderPlanEntry(input) {
|
|
|
2116
2141
|
"data-block-composition": blockComposition?.treatment,
|
|
2117
2142
|
"data-block-composition-kind": blockComposition?.kind,
|
|
2118
2143
|
"data-page-block-position": blockPosition,
|
|
2119
|
-
"data-page-ending": pageEndingAttribute(input.
|
|
2144
|
+
"data-page-ending": pageEndingAttribute(input.ending, blockPosition),
|
|
2120
2145
|
"data-site-style-boundary-before": reserves.topPlacement,
|
|
2121
2146
|
"data-site-style-boundary-after": reserves.bottomPlacement,
|
|
2122
|
-
"data-site-style-
|
|
2147
|
+
"data-site-style-seam-before": reserves.seamBefore,
|
|
2148
|
+
"data-site-style-seam-after": reserves.seamAfter,
|
|
2123
2149
|
"data-style-group": styleGroup,
|
|
2124
2150
|
style: reserves.style,
|
|
2125
2151
|
children: /* @__PURE__ */ jsx(MemoBlockSection, { ...blockSectionProps })
|
|
@@ -3883,7 +3909,8 @@ function EditableDraftPageRenderer(props) {
|
|
|
3883
3909
|
mailingList: dataContext?.mailingList,
|
|
3884
3910
|
template: dataContext?.template ?? pageTemplateFromEntry(dataContext?.contentEntry)
|
|
3885
3911
|
}), [dataContext]);
|
|
3886
|
-
return /* @__PURE__ */ jsx(
|
|
3912
|
+
return /* @__PURE__ */ jsx(CanvasPageRenderer, {
|
|
3913
|
+
marksParts: allowInlineEditing,
|
|
3887
3914
|
...pageRendererProps,
|
|
3888
3915
|
page: renderPage,
|
|
3889
3916
|
wrapPage: (plan, rendered) => /* @__PURE__ */ jsx(PreviewRenderPlanProjection, {
|
|
@@ -3900,6 +3927,10 @@ function EditableDraftPageRenderer(props) {
|
|
|
3900
3927
|
previewAs
|
|
3901
3928
|
});
|
|
3902
3929
|
}
|
|
3930
|
+
/** Editing marks the parts of each block the canvas can lead to; visitor presentation marks none. */
|
|
3931
|
+
function CanvasPageRenderer({ marksParts, ...props }) {
|
|
3932
|
+
return marksParts ? /* @__PURE__ */ jsx(EditorPartsProvider, { children: /* @__PURE__ */ jsx(EditorPageRenderer, { ...props }) }) : /* @__PURE__ */ jsx(EditorPageRenderer, { ...props });
|
|
3933
|
+
}
|
|
3903
3934
|
/** Presentation follows edit mode; visitor presentation still renders the draft. */
|
|
3904
3935
|
function editorRenderMode(isEditingMode) {
|
|
3905
3936
|
return {
|