@riverbankcms/sdk 0.167.0 → 0.168.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-Dgb-ptph.d.ts → BlocksIslandsHydrator-CiD_VVGM.d.ts} +1 -1
- package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-Bj6VJRS5.d.ts} +7 -6
- package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-ChpsnwDX.d.ts} +2 -2
- package/dist/_dts/{client-CwsI23pj.d.ts → client-C8mfUxrJ.d.ts} +65 -35
- package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-_vXZyR4H.d.ts} +2 -2
- package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CJFfrVKU.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-CMegb23G.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-D9YdAIMh.d.ts} +2 -2
- package/dist/_dts/{index-CS6b1B-c.d.ts → index-BQXaZ7aY.d.ts} +4 -4
- package/dist/_dts/{index-5_jf52sZ.d.ts → index-Bpr-wT5k.d.ts} +2 -2
- package/dist/_dts/{index-DeHDwMfu.d.ts → index-C7_Rz8EY.d.ts} +3 -3
- package/dist/_dts/{index-D7EbliE3.d.ts → index-Cx2BQlHL.d.ts} +3 -3
- package/dist/_dts/{index-C20yUyob.d.ts → index-Dgz6yhsy.d.ts} +1 -1
- package/dist/_dts/index-Vh8B9FSa.d.ts +14 -0
- package/dist/_dts/{index-bDln38Hm.d.ts → index-vR3p9Bu-.d.ts} +2 -2
- package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-dhWSgLeS.d.ts} +7 -7
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
- package/dist/_dts/{index-ChpjHK0U.d.ts → request-BrYhNV9Z.d.ts} +80718 -47665
- package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-BfSHm8Ms.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-gZJ4i1wN.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 -5
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CwtTcaQP.d.ts → types-BB33-Spd.d.ts} +3 -3
- package/dist/_dts/{types-D-WElMCy.d.ts → types-BVFXYtRg.d.ts} +7 -7
- package/dist/_dts/{types-BlaCuPLr.d.ts → types-FOsJ-KYb.d.ts} +4 -2
- package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-DckTc6TQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-DcwEaliO.mjs} +21 -21
- package/dist/client/BookingMailingListNote-Dsugoe-n.mjs +946 -0
- package/dist/client/BookingQuestionFields-Bhh0cvsl.mjs +359 -0
- package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-CNe3ZjdC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-BeiZxEUJ.mjs} +7 -7
- package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-BL943-tl.mjs} +9 -9
- package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-BFVxECTp.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
- package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-BIc4gjiD.mjs} +37 -15
- package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-a0QEIEf0.mjs} +1 -1
- package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-CEFTC3jH.mjs} +3 -3
- package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-Bt2sBBms.mjs} +34 -16
- package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-D9YBNb_E.mjs} +250 -40
- package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-gqzt5gkW.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-13JQI7_z.mjs} +1 -1
- package/dist/client/{Page-D4_H_u9V.mjs → Page-D_M2Vxz3.mjs} +4471 -1601
- package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
- package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-CaN8snZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
- package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
- package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
- package/dist/client/{accordion--EUHmEGa.mjs → accordion-DE7OG--d.mjs} +1 -1
- package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-CS1PPjw7.mjs} +842 -374
- package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-DE2CwIU9.mjs} +5 -4
- package/dist/client/{src-DjnxOjXG.mjs → bookingQuestionValues-BjcyCru5.mjs} +88 -1
- package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
- package/dist/client/bookings.mjs +18 -13
- package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DZyUdnFh.mjs} +3 -3
- package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
- package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
- package/dist/client/{cart-CCZZC-Lq.mjs → cart-D7HkkNwe.mjs} +3 -3
- package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-H4sv2TpD.mjs} +1 -1
- package/dist/client/{checkout-CipmYL4A.mjs → checkout-2qVyG-Sh.mjs} +3 -3
- package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-DAjrBZ74.mjs} +1 -1
- package/dist/client/client.mjs +240 -63
- package/dist/client/{context-Cv3QHjAF.mjs → context-DXmIbXCK.mjs} +297 -3
- package/dist/client/{cta-P2vJVTEn.mjs → cta-DP_IBnq3.mjs} +2 -2
- package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-CwrkFZTr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-DQXK-Fh6.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-DheQj7rg.mjs} +3 -3
- package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-C5UufcRp.mjs} +1 -1
- package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-CMGg63IU.mjs} +72 -235
- package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DlD0GCEy.mjs} +4 -4
- package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DoSi8p_l.mjs} +4 -4
- package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzuQYgmO.mjs} +2 -2
- package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CkiMjl0g.mjs} +4 -4
- package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-CjS3Zpjp.mjs} +4 -4
- package/dist/client/{form-Bw1uuiUs.mjs → form-DgQqm7T2.mjs} +3 -3
- package/dist/client/{form.client-pZ-9gN33.mjs → form.client-BI9Dcsq5.mjs} +5 -5
- package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-DevF0L_A.mjs} +3 -3
- package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-DDyURjoe.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-DYIG6Pwb.mjs} +2 -2
- package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
- package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
- package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-BWp7Y1e1.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-Dg8s9NwJ.mjs} +2 -2
- package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-DnPraMzx.mjs} +3 -3
- package/dist/client/{noop-ByVtIWf4.mjs → noop-ByFRHYQ2.mjs} +437 -496
- package/dist/client/portal/client.mjs +76 -229
- package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-BFAgHrdg.mjs} +1 -1
- package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-DVrs_DyY.mjs} +1 -1
- package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-D4rvl6Xg.mjs} +3 -3
- package/dist/client/{productList-B21TGdpT.mjs → productList-B8o5AOMX.mjs} +3 -3
- package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-hhotPP6P.mjs} +5 -4
- package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Ch3EpupA.mjs} +2213 -2433
- package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
- package/dist/client/rendering/client.mjs +30 -30
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +10 -9
- package/dist/client/{richText-coerce-DHkBtO0G.mjs → richText-coerce-C3LabQ1O.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-CQGlxId8.mjs} +1 -1
- package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
- package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
- package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-VDbVaKY-.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-DqdgJ8Zw.mjs} +1 -1
- package/dist/client/{shop-mqyoOvOK.mjs → shop-rRXplPGZ.mjs} +3 -3
- package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-DdwvMvaK.mjs} +13 -13
- package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C8OvFY06.mjs} +141 -66
- package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-BeuJiGPU.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
- package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-Cko9LRKy.mjs} +11 -11
- package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
- package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-M6QIEiWf.mjs} +3 -3
- package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-BJSnyO0f.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-D3XnOSCi.mjs} +1 -1
- package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-PhTIoFVX.mjs} +7 -7
- package/dist/client/{view-BN-fxyfq.mjs → view-448wvvEY.mjs} +11 -7
- package/dist/client/{view-Dh2tGoS0.mjs → view-L_mkgtnk.mjs} +4 -4
- package/dist/client/{site-styles-D56hT2u1.mjs → wizardSteps-CFulHWnT.mjs} +19660 -18565
- package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-BpvnOGlN.mjs} +26 -17
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-Ckr2zk_L.mjs → PreviewEditorSidebar-C0OtdWu_.mjs} +128 -21
- package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-Csc5vH5k.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-BOLH_pm-.mjs} +199 -155
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-CKodLReY.mjs} +31 -32
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-BeEZpeKn.mjs} +3780 -3436
- package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
- package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-DBi-WybM.mjs → previewAssistantSlot-BBdN5kfY.mjs} +18697 -15557
- package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-VZtGwPuH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-kiZkMcuR.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-BiIHEeE0.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-BuFLIpmX.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-DlxYgmh_.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-Bv3nkdpV.mjs → route-contract-C0sCvCYL.mjs} +165 -0
- package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-Dnhc0Wu5.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-NAQ_zsFu.mjs} +461 -128
- package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
- package/dist/server/{bindings-ConMYJ2U.mjs → bindings-DLoZYUxG.mjs} +2 -2
- package/dist/server/{client-Cot-H5fQ.mjs → client-Bc8jI8zN.mjs} +261 -61
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/headerVariant-BwR9NV4b.mjs +463 -0
- package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BkaWYEwt.mjs → loadContent-D61gpqHB.mjs} +4 -5
- package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-B4ZYpIcd.mjs} +2 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
- package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
- package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-CDReKy2P.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-ByVTA7-4.mjs} +255 -158
- package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-Dzz_Dze6.mjs} +291 -5
- package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-Dk5Ku6hs.mjs} +1285 -897
- package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-pJPGfMrf.mjs} +593 -1592
- package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-CW4M0WEZ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-Bvx0SiIM.mjs} +5 -4
- package/dist/server/{registry-BPFcpn6k.mjs → registry-Bh0Y25zH.mjs} +4399 -4065
- 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-BHvfGD4y.mjs → resolveBlockData-CnHHst9r.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
- package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
- package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -3
- package/dist/server/theme.mjs +1 -2
- package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
- package/dist/server/{validation-bl6WcAi_.mjs → validation-D2bHWSxJ.mjs} +57 -8
- package/dist/server/{version-BLXZ31S-.mjs → version-DkM1eAxG.mjs} +1 -1
- package/dist/styles/index.css +340 -68
- package/package.json +4 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
- package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
- package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
- package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
- package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
- package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
- package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $g as
|
|
4
|
-
import { B as ImageUp, C as Palette, F as Link$1, Gt as
|
|
5
|
-
import { $ as useMediaEditorOptional,
|
|
6
|
-
import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, c as arrangementBackgroundControlFor, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor } from "./useBlockCustomizeControls-
|
|
3
|
+
import { $g as normalizeRightAngle, A_ as generateUuidV4, Aa as resolveMediaStorageUrl, Bd as normalizeInlineTextMarks, C as selectedImageFromMediaValue, Ca as computeMediaTransformStyle, Cm as DialogDescription, Df as getGradientPreset, Em as DialogTitle, F as nextLookTilePin, Fd as inlineTextEqual, Fm as __read, Gd as truncateInlineText, Hd as plainTextToInlineText, Hp as unwrapResponse, Id as inlineTextHighlightTones, Im as __rest, Jp as Select, Kn as rankBackgroundImagePoolItems, Ld as inlineTextToPlainText, Lm as __spreadArray, Ln as backgroundColorTokens, Ma as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, Mm as __awaiter, Nm as __extends, Oa as resolveImageUrlWithContext, Pd as inlineTextAccentTones, Pm as __generator, Qf as assertNever$1, Qg as isRotationDimensionSwap, Qp as SelectValue, Rm as __spreadArrays, Sm as DialogContent, Tf as gradientToCss, Tm as DialogPortal, Ud as removeInlineTextMarkFromRange, Wd as replaceInlineTextRange, Xh as surfaceForegroundValue, Xm as useSize, Xp as SelectItem, Xv as unsafeAsPositiveByteCount, Yp as SelectContent, Yv as unsafeAsMediaAssetId, Zp as SelectTrigger, _h as useComposedRefs, _m as DialogHeader, ba as getRichTextImageSize, ch as Primitive, e_ as formatAspectRatioToken, em as usePrevious, f_ as mediaIdentifierSchema, fh as useControlReadiness, fm as Dialog, hm as DialogDescription$1, i_ as getImageUrl, ih as useControllableState, jd as applyInlineTextMarkToRange, jm as __assign, jr as getBlockDefinition, k as usePreviewRenderBackgrounds, mm as DialogContent$1, n_ as resolveMediaTransformForAspect, oh as createContextScope, ph as cva, qv as assertNever, r_ as getDirectImageUrlForMediaAsset, sh as composeEventHandlers, t_ as parseAspectRatioValue, u_ as resolveManagedMediaReference, uh as Button, vf as getCuratedSiteStyle, vh as cn$2, vm as DialogTitle$1, w as selectedImageFromRenderableAsset, wm as DialogOverlay, xd as richTextVariantCapabilities, xm as DialogClose, y_ as asLayoutVariantKey, yd as RichTextDocSchema, zd as normalizeInlineText, zn as defaultBackgroundOverrideForMode, zt as getDashboardBaseUrl } from "./previewAssistantSlot-BBdN5kfY.mjs";
|
|
4
|
+
import { B as ImageUp, C as Palette, F as Link$1, Gt as err, J as FileSpreadsheet, K as File, Kt as ok, L as Italic$1, M as LoaderCircle, N as List, P as ListOrdered, R as Info, St as Archive, W as Highlighter, X as FileHeadphone, Y as FilePlay, Z as FileArchive, a as Upload, b as Pencil, c as Trash2, ft as ChevronRight, ht as Check, n as X, nt as Crop, pt as ChevronLeft, q as FileText, y as Plus, yt as Bold$1, z as Image } from "./lucide-react-DkZ8fO-G.mjs";
|
|
5
|
+
import { $ as useMediaEditorOptional, Bt as readThemeScopeContext, D as usePreviewCompiledThemeOptional, Q as useMediaEditor, Xt as Input, d as CustomizeBackgroundColorPicker, et as useApiMediaUploader, ln as classifyKnownMimeType, tt as TransferError } from "./SiteChromeCustomizeButton-BeEZpeKn.mjs";
|
|
6
|
+
import { A as TooltipTrigger, D as Tooltip, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, c as arrangementBackgroundControlFor, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor } from "./useBlockCustomizeControls-BuFLIpmX.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { Component, createContext, createRef, forwardRef, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -162,6 +162,14 @@ function emitMediaCropDebug(source, message, details) {
|
|
|
162
162
|
console.info(`[${source}]`, message);
|
|
163
163
|
}
|
|
164
164
|
//#endregion
|
|
165
|
+
//#region ../site-contracts/src/theme/footerMode.ts
|
|
166
|
+
const footerModeSchema = z.enum([
|
|
167
|
+
"default",
|
|
168
|
+
"blocks",
|
|
169
|
+
"default+blocks",
|
|
170
|
+
"none"
|
|
171
|
+
]);
|
|
172
|
+
//#endregion
|
|
165
173
|
//#region ../ui/src/scrollable-dialog-shell.tsx
|
|
166
174
|
function ScrollableDialogShell({ header, footer, children, mobileFullscreen = false, desktopMaxWidth = "sm:max-w-3xl", desktopHeight = "sm:h-[80vh]", maxWidth = "max-w-3xl", height = "h-[80vh]", disableMotion = false, showCloseButton = true, className, headerClassName, bodyClassName, footerClassName, wrapContent, ...props }) {
|
|
167
175
|
const inner = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -516,12 +524,16 @@ function getState(checked) {
|
|
|
516
524
|
}
|
|
517
525
|
//#endregion
|
|
518
526
|
//#region ../ui/src/switch.tsx
|
|
519
|
-
const Switch = React$1.forwardRef(({ className, ...props }, ref) =>
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
527
|
+
const Switch = React$1.forwardRef(({ className, disabled, ...props }, ref) => {
|
|
528
|
+
const readiness = useControlReadiness(disabled);
|
|
529
|
+
return /* @__PURE__ */ jsx(Switch$1, {
|
|
530
|
+
ref,
|
|
531
|
+
className: cn$2("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", className),
|
|
532
|
+
...props,
|
|
533
|
+
...readiness,
|
|
534
|
+
children: /* @__PURE__ */ jsx(SwitchThumb, { className: cn$2("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })
|
|
535
|
+
});
|
|
536
|
+
});
|
|
525
537
|
Switch.displayName = Switch$1.displayName;
|
|
526
538
|
//#endregion
|
|
527
539
|
//#region ../ui/src/progress.tsx
|
|
@@ -675,12 +687,6 @@ function EditorCanvasCycleChip({ label, value, prefix = null, position = null, p
|
|
|
675
687
|
}
|
|
676
688
|
//#endregion
|
|
677
689
|
//#region ../theme-core/src/footer/mode.ts
|
|
678
|
-
const footerModeSchema = z.enum([
|
|
679
|
-
"default",
|
|
680
|
-
"blocks",
|
|
681
|
-
"default+blocks",
|
|
682
|
-
"none"
|
|
683
|
-
]);
|
|
684
690
|
/** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
|
|
685
691
|
function resolveSdkFooterMode(config) {
|
|
686
692
|
const parsed = z.object({ layout: z.object({ footerMode: footerModeSchema.optional() }).optional() }).safeParse(config);
|
|
@@ -23195,7 +23201,10 @@ function UploadList({ items, cancel, dismiss, retry, announcement = "", upgradeH
|
|
|
23195
23201
|
const root = useRef(null);
|
|
23196
23202
|
const pendingFocus = useRef(false);
|
|
23197
23203
|
const id = useId();
|
|
23198
|
-
const [collapsed, setCollapsed] = useState(
|
|
23204
|
+
const [collapsed, setCollapsed] = useState(false);
|
|
23205
|
+
useEffect(() => {
|
|
23206
|
+
if (window.matchMedia("(max-width: 639px)").matches) setCollapsed(true);
|
|
23207
|
+
}, []);
|
|
23199
23208
|
const [overflow, setOverflow] = useState(false);
|
|
23200
23209
|
const list = useRef(null);
|
|
23201
23210
|
const visible = items.filter((item) => item.status !== "cancelling");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { n as ThemedButton, nt as SpinnerNode } from "./ThemedButton-BQU45t-E.mjs";
|
|
4
4
|
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ft as locationPinSchema } from "./lucide-react-
|
|
2
|
+
import { Ft as locationPinSchema } from "./lucide-react-DkZ8fO-G.mjs";
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../editor-blocks/src/widgets/location/editMapDecision.ts
|
package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { At as sameMeaningfulAddress, D as Minus, Ft as locationPinSchema, j as LocateFixed, y as Plus } from "./lucide-react-
|
|
4
|
-
import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-
|
|
3
|
+
import { At as sameMeaningfulAddress, D as Minus, Ft as locationPinSchema, j as LocateFixed, y as Plus } from "./lucide-react-DkZ8fO-G.mjs";
|
|
4
|
+
import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-CZQ4vkRe.mjs";
|
|
5
5
|
import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { createPortal } from "react-dom";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $
|
|
4
|
-
import { $ as EyeOff, A as Lock, B as ImageUp, C as Palette, G as GripVertical, Gt as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { C as useRichTextEditor, E as InlineTextEditor, F as ScrollableDialogContent, I as ScrollableDialogShell, L as emitMediaCropDebug, N as Switch, O as resolveSdkFooterMode, P as Badge, R as resolveVideoSelectionIntentForMediaField, S as insertOrReplaceRichTextImage, _ as MediaEditor, b as RichTextEditorSurface, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as getUnresolvedRichTextImageWarnings, h as useRichTextImageProjection, i as ArrangementOptionsBody, l as BackgroundPreviewSwatch, m as useSiteColourVariables, o as lookIsAutomatic, p as siteColourCss, s as useArrangementToolbar, t as ArrangementLookNote, u as formatTokenLabel, v as MediaPickerMiniDialog, w as EMPTY_DOC, x as getRichTextImagePositionFromTarget, y as MediaPickerMini, z as isSvgMimeType } from "./ArrangementLookControls-
|
|
3
|
+
import { $m as useFocusGuards, $t as planLeaseNotice, $v as unsafeAsSiteId, A as usePreviewRenderReadiness, A_ as generateUuidV4, Ad as parseSiteIconStyleGuideVersionId, Af as findCuratedPalette, Ah as resolveRepeaterGridSpanFieldId, Ai as readEventSelectionChips, Al as createFeatureCardIconKey, Am as ReactRemoveScroll, An as manifestFieldSectionOptions, At as deleteSlotBlock, B_ as DEFAULT_MAILING_LIST_TARGETING, Bn as enabledBackgroundModes, Bt as getDashboardUrl, Ca as computeMediaTransformStyle, Ch as readLinkedEntryLease, Cm as DialogDescription, Cn as withoutServerVersions, Cp as resolveBlockTitle, Ct as getWidgetKey, Da as resolveImageSourceSetWithContext, Df as getGradientPreset, Dh as isAcceptedRepeaterGridSpan, Di as EVENT_SELECTION_TYPE_OPTIONS, Dn as initialBlockDraftValues, Dt as createBlock, Ed as parseBlockIconValue, Ef as GRADIENT_PRESETS, Ei as EVENT_SELECTION_SCOPE_OPTIONS, Em as DialogTitle, Et as partitionFieldsByIntent, F_ as assessMailingListTargeting, Fh as resolveButtonStyleSelection, Fl as suggestSemanticIconForFeatureCard, Fn as readNumberFieldUiConfig, Ft as reorderSlotBlocks, Fv as toUtcIsoDateTimeString, G_ as parseMailchimpInterestId, Gm as Anchor, Gn as planBackgroundTransition, Gp as journalTargetKey, Gt as ApiRequestError, Hd as plainTextToInlineText, Hf as sectionTransitionFamilies, Hp as unwrapResponse, Hu as isBlockButtonRole, I as selectedLookTile, I_ as resolveMailingListDefaultDestination, Ih as updateButtonStyleHoverPreference, Il as toFeatureCardIconSuggestionInputs, In as readSliderFieldUiConfig, It as withSlotCompositionHash, J as runHeldLifecycle, J_ as knownSocialPlatforms, Jm as Root2$1, Jp as Select$1, Jv as parseMediaAssetId, K_ as parseNewsletterListId, Kd as parseFieldDefinition, Km as Arrow$1, Kn as rankBackgroundImagePoolItems, Kp as journalTrustAt, L_ as mailingListProviderName, Ld as inlineTextToPlainText, Lh as updateButtonStyleSelectionChoice, Lt as blocksKeys, Md as coerceInlineTextWithFallback, Mh as buttonStyleHoverPreferenceValue, Mi as writeEventSelectionChips, Ml as parseFeatureCardGeneratedIconSizePx, Mn as getRepeaterItemDefault, Mr as listBlockDescriptors, Mt as listEntryPageContentSlots, Mv as resolveBookingTimeZoneId, N as lookTilePosition, Na as resolveMediaSlotContract, Nf as findFooterLook, Nh as buttonStyleSelectionParameterValue, Nl as resolveFeatureCardGeneratedIconSizePx, Nn as normalizeFieldForCanonicalValidation, Np as OPERATION_ID_HEADER, Nt as listPageSurfaceContentSlots, O as usePreviewJoinOutcome, Oa as resolveImageUrlWithContext, Od as parseGeneratedIconAssetId, Of as getHeaderLayout, Oh as resolveRepeaterGridColumnFieldId, Oi as chooseAllEvents, Ol as FEATURE_CARD_GENERATED_ICON_SIZE_PX, On as createManifestFormAdapter, Op as editorAdmissionIsOpen, Ot as createSlotBlock, Pa as buildResolveImageUrlContext, Ph as findButtonStyleRecipe, Pn as getGroupChildFields, Pt as reorderBlocks, Pv as parseUtcIsoDateTimeString, Qg as isRotationDimensionSwap, Qm as FocusScope, Qp as SelectValue, Qt as resolveContentTitle, Qv as parseSiteId, R_ as parseMailingListPlacementTargeting, Rg as paletteValueKey, Rh as buttonStyleSelectionKey, Rn as canCycleBackgroundOverrideValue, Rt as normalizeApiError, S as setPageDesignBlockBackground, Sd as sanitizeHref, Sh as canWriteLinkedEntry, Sn as toEditorBlockItem, St as getFieldIntent, T_ as authoredValuesEqual, Td as getGeneratedBlockIconStyleState, Tf as gradientToCss, Tt as isNonEmptyValue, U_ as parseBrevoListId, Uf as sectionTransitionFamilyForBoundaryOptionId, Um as Presence, Un as parseBackgroundOverrideFromContent, Up as sidebarReturnView, V as usePreviewAuth, V_ as mailingListTargetingChoiceIds, Vf as defaultSectionTransitionVariantForFamily, Vn as imagePoolForOverride, Vp as extractApiEnvelopeErrorDetails, Vu as BLOCK_BUTTON_ROLE_OPTIONS, W as useEntryController, W_ as parseMailchimpAudienceId, Wf as sectionTransitionVariantForBoundaryOptionId, Wm as Portal$1, Wp as journalLabels, X as useServerRefresh, X_ as publicProfileWeekdays, Xf as appearancePresets, Xm as useSize, Xp as SelectItem, Xt as deriveRouteMetadataPresentation, Y_ as parsePublicProfile, Ym as createPopperScope, Yp as SelectContent, Yt as routeLifecycleContext, Z as useSessionJournal, Z_ as publishedContactDetails, Zd as resolveVisiblePromotedFieldPathsForEditorBlock, Zm as useId$1, Zp as SelectTrigger, Zt as resolvePageRouteSlug, _d as admitLayoutGridForPlan, _h as useComposedRefs, _m as DialogHeader, _t as collectVisibleWhenWatchPaths, _v as formatDateTime, a_ as mediaSchema, am as FieldTrigger, ao as normalizeOfferingsPreviewGroupOrder, ar as getAtPath, av as knownRevision, bd as isRichTextDoc, bf as offeredSiteStyles, bt as evaluateVisibleWhenPredicate, cf as concretePaletteFromTheme, ch as Primitive, cm as FIELD_FOCUS_WITHIN_CLASS, co as planOfferingPreviewCardSelection, cp as projectRepeaterGridLayout, ct as LeaseNoticeButtons, cv as valueStatus, d as cycleSiteChromeSelectionId, d_ as PUBLIC_FILE_FIELD_KINDS, dh as buttonVariants, dn as selectJournalWriteState, dp as isRepeaterGridLayoutInvalid, dt as JournalWriteRefused, dv as createEditorReorderBlocksCommand, ef as sectionPhotoPresence, eh as DismissableLayer, em as usePrevious$1, en as useEditorUiStore, ey as expectParsedBrandedId, f_ as mediaIdentifierSchema, fm as Dialog, fn as journalNoticeMessage, fp as normalizeRepeaterGridSpan, fu as buildFormInteractiveIslandProps, fv as editorBlockCollectionOwnerKey, gm as DialogFooter, gp as resolveRepeaterGridColumnsForBreakpoint, gt as derivePromotedFieldPlan, gv as formatDate, hf as defaultPolicyPageFlowPresetId, hm as DialogDescription$1, hp as resolveRepeaterGridBreakpointForWidth, ht as publishContentEntry, hv as unsafeAsEditorBlockValues, i as usePreviewSidebarNavigation, ih as useControllableState, im as CalloutTitle, in as recoveryConflictCopy, io as isOfferingsPreviewSourceKey, ip as planLayoutGridColumnEdit, iv as displayedValues, j_ as slugify$1, jh as siteOptionSources, ji as toggleEventType, jl as getFeatureCardIconCompletion, jn as getFieldDefault, jp as editorAdmissionSession, jr as getBlockDefinition, jt as isSurfaceSlotBlockTarget, jv as resolveBookingBusinessTimeZone, kd as parseGeneratedIconSetId, kf as getHeaderStyle, kh as resolveRepeaterGridRowFieldId, ki as chooseScheduleScope, kn as createManifestValidation, kt as deleteBlock, kv as parseBookingLocalDate, lf as concretePaletteToTheme, lm as FIELD_SURFACE_CLASS, lp as findFirstAvailableRepeaterGridPlacement, lv as createEditorInsertBlockCommand, m_ as getFontWidthRange, mh as createSlot, mm as DialogContent, mp as resolveRepeaterGridAcceptedSpans, mt as missingReceiptError, mv as unsafeAsEditorBlockId, n as usePreviewAssistantSlot, n_ as resolveMediaTransformForAspect, nh as useDirection, nm as Callout, o as usePreviewPageDesignEditorState, o_ as runtimeMediaSchema, oh as createContextScope, on as unfinishedBlockCopy, op as buildRepeaterGridDropTargets, or as siblingPath$2, ov as pristineValueSync, p_ as asRecord, ph as cva, pm as DialogClose, pn as lifecycleOutcomeMessage, pp as planRepeaterGridStartNewRow, pt as sendPageCommand, pv as editorBlockCollectionOwnersEqual, q as DONE, q_ as knownSocialPlatformLabels, qm as Content, qn as resolveBackgroundCapability, qv as assertNever$1, r_ as getDirectImageUrlForMediaAsset, rh as createCollection, rm as CalloutDescription, rn as useSidebarView, ro as inferLegacyOfferingsPreviewGroupOrder, rp as isInternalResolvedLinkValue, s as usePreviewPageDesignRenderState, sh as composeEventHandlers, sp as planRepeaterGridSpanChange, sr as withValueAtPath, st as LeaseDiscardedNoticeView, sv as syncStateOf, t_ as parseAspectRatioValue, tm as clamp, tn as useEditorUiStoreInstance, u as useSiteChromeCustomizeOptional, uh as Button$1, uo as resolveOfferingsPreviewGroupOrderEntries, up as flowRepeaterGridItems, uv as createEditorRemoveBlockCommand, v as buildPageDesignEditorReadModelForBlocks, vd as deriveFieldValidationPlan, vf as getCuratedSiteStyle, vh as cn, vm as DialogTitle$1, vt as evaluateVisibility, wd as getBlockIconSemanticId, wh as canEditorWrite, wn as deriveEditorValuePublicationState, wt as hasVisibilityConditions, x as pageDesignLookTiles, xf as palettesForSiteStyle, xh as isEdited, xn as useStore, xt as getVisibleWhenPredicates, yh as useShallow, ym as DialogTrigger, yt as evaluateVisibleWhen, zm as hideOthers, zr as buildNewsletterFormInteractiveIslandProps } from "./previewAssistantSlot-BBdN5kfY.mjs";
|
|
4
|
+
import { $ as EyeOff, A as Lock, B as ImageUp, C as Palette, G as GripVertical, Gt as err, H as ImageOff, I as Link2, Kt as ok, M as LoaderCircle, O as Maximize2, S as PanelBottom, V as ImagePlus, _ as RotateCcw, at as Clock3, b as Pencil, bt as ArrowUp, c as Trash2, d as Sparkles, et as EllipsisVertical, ft as ChevronRight, gt as Calendar$1, ht as Check, i as Video, it as Clock, m as Settings, mt as ChevronDown, n as X$1, nt as Crop, p as SlidersHorizontal, pt as ChevronLeft, q as FileText, rt as Copy, s as TriangleAlert, t as lucide_react_exports, ut as CircleAlert, vt as Box$1, x as PanelTop, xt as ArrowDown, y as Plus, z as Image } from "./lucide-react-DkZ8fO-G.mjs";
|
|
5
|
+
import { $t as TabsList, B as resolveFooterLayoutHints, C as isHeaderMenuSurfaceState, F as locationWidgetOverrides, G as getFooterEngagementAuthoringOptions, Gt as DEFAULT_THEME_RESPONSIVE_MODE, H as SiteOptionWidgetProvider, Ht as buildThemeRuntime, J as updateFooterCredit, Jt as Textarea, K as getPublicProfile, L as useSiteEditorAdmission, Q as useMediaEditor, Qt as TabsContent, S as HeaderMenuControls, U as useSiteOptionWidgetContext, Ut as escapeStyleContent, Vt as themeRuntimeScopeProps, W as getFooterComposition, X as footerCreditLine, Xt as Input, Y as updatePublicProfile, Yt as SearchInput, Zt as Tabs, _ as resolvePreviewEditorGuidanceModel, _n as upsertFooterEngagementSection, _t as useField, an as Content$1, at as useImageResolveContextOptional, bn as planFooterArrangement, bt as ThemeScopeCore, ct as BlockContextProvider, dn as normalizeLegacyFooterContentToV1, dt as hasEmptyOption, en as TabsTrigger, f as canInspectSiteStyle, fn as parseFooterEngagementSection, ft as mapCurrentValueForSelect, gn as setFooterSectionSelected, gt as FieldLabelText, h as resolvePreviewDashboardSetupHandoff, hn as resolveFooterSections, ht as FieldFrame, in as Trigger$2, ln as classifyKnownMimeType, lt as useBlockContext, m as buildPreviewDashboardSetupUrl, mn as removeFooterEngagementSection, mt as unmapValueFromSelect, n as SiteChromeSurfaceControls, nn as List, on as Root$2, ot as FormNodeClient, pt as mapOptionValueForSelect, q as updateFooterComposition, rn as Root2$2, rt as NewsletterFormClient, sn as Trigger$1, st as BlockApiProvider, tn as Content$2, u as CustomizeBackgroundControlRows, un as deriveFooterEditorOverview, ut as SelectField, vn as validateFooterComposition, vt as useLinkedInlineTextField, x as useSiteFontStorageUrl, y as resolvePreviewSidebarChromeModel, yn as footerArrangementPolicy, yt as revealEditorElement, z as buildFooterRuntimeViewModel, zt as buildThemeDataAttrs } from "./SiteChromeCustomizeButton-BeEZpeKn.mjs";
|
|
6
|
+
import { J as paletteTokenNameSchema, V as hexColorSchema, W as paletteColorEntries, c as isKnownIconName, i as ThemedButtonSpecimen, l as isIconPickerPreset, o as getIconComponent, s as getIconPickerOptionsForPreset, tt as VARIANT_ROLES, u as resolveIconPickerPreset } from "./ThemedButton-BQU45t-E.mjs";
|
|
7
|
+
import { C as useRichTextEditor, E as InlineTextEditor, F as ScrollableDialogContent, I as ScrollableDialogShell, L as emitMediaCropDebug, N as Switch, O as resolveSdkFooterMode, P as Badge, R as resolveVideoSelectionIntentForMediaField, S as insertOrReplaceRichTextImage, _ as MediaEditor, b as RichTextEditorSurface, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as getUnresolvedRichTextImageWarnings, h as useRichTextImageProjection, i as ArrangementOptionsBody, l as BackgroundPreviewSwatch, m as useSiteColourVariables, o as lookIsAutomatic, p as siteColourCss, s as useArrangementToolbar, t as ArrangementLookNote, u as formatTokenLabel, v as MediaPickerMiniDialog, w as EMPTY_DOC, x as getRichTextImagePositionFromTarget, y as MediaPickerMini, z as isSvgMimeType } from "./ArrangementLookControls-BpvnOGlN.mjs";
|
|
8
8
|
import { n as TZDate } from "./src-DY8JCJdE.mjs";
|
|
9
|
-
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-
|
|
10
|
-
import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-
|
|
11
|
-
import { A as TooltipTrigger, C as prepareBlockEditorManifest, D as Tooltip, E as mergeBlockDescriptors, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, P as DropdownMenuSeparator, S as hideThemeV2RawStyleFields, T as getBlockManifestFromSdkConfig, _ as arrangementLookResolution, a as needsSetupMessage, b as blockLookOwnedFieldPaths, d as createStoreBackend, f as isObjectRecord, g as useSdkConfig, h as SdkConfigProvider, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor, m as createFieldObservation, n as useBlockCustomizeControls, o as needsSetupOf, p as isRecord$1, r as NEEDS_SETUP_LABEL, s as useBlockNeedsSetup, t as resolveBlockManifest, u as arrangementLookNameFor, v as arrangementOwnedFieldIds, w as showRawStyleFields, x as lookNotShownFieldIds, y as arrangementVisibilityValues } from "./useBlockCustomizeControls-
|
|
9
|
+
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-CZQ4vkRe.mjs";
|
|
10
|
+
import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-BiIHEeE0.mjs";
|
|
11
|
+
import { A as TooltipTrigger, C as prepareBlockEditorManifest, D as Tooltip, E as mergeBlockDescriptors, F as DropdownMenuTrigger, M as DropdownMenuContent, N as DropdownMenuItem, O as TooltipContent, P as DropdownMenuSeparator, S as hideThemeV2RawStyleFields, T as getBlockManifestFromSdkConfig, _ as arrangementLookResolution, a as needsSetupMessage, b as blockLookOwnedFieldPaths, d as createStoreBackend, f as isObjectRecord, g as useSdkConfig, h as SdkConfigProvider, j as DropdownMenu, k as TooltipProvider, l as arrangementBlockControlsFor, m as createFieldObservation, n as useBlockCustomizeControls, o as needsSetupOf, p as isRecord$1, r as NEEDS_SETUP_LABEL, s as useBlockNeedsSetup, t as resolveBlockManifest, u as arrangementLookNameFor, v as arrangementOwnedFieldIds, w as showRawStyleFields, x as lookNotShownFieldIds, y as arrangementVisibilityValues } from "./useBlockCustomizeControls-BuFLIpmX.mjs";
|
|
12
12
|
import * as React$1 from "react";
|
|
13
13
|
import React, { Fragment, createContext, forwardRef, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -4662,6 +4662,106 @@ const automaticPageDocumentIntent = {
|
|
|
4662
4662
|
boundaryPins: []
|
|
4663
4663
|
};
|
|
4664
4664
|
//#endregion
|
|
4665
|
+
//#region ../theme-core/src/fonts/types.ts
|
|
4666
|
+
/**
|
|
4667
|
+
* The Supabase storage bucket name for site fonts
|
|
4668
|
+
*/
|
|
4669
|
+
const SITE_FONTS_BUCKET = "site-fonts";
|
|
4670
|
+
/**
|
|
4671
|
+
* Construct the storage base URL for site fonts
|
|
4672
|
+
*
|
|
4673
|
+
* @param supabaseUrl - The Supabase project URL (e.g., https://xxx.supabase.co)
|
|
4674
|
+
* @returns The full storage URL for the site-fonts bucket
|
|
4675
|
+
*
|
|
4676
|
+
* @example
|
|
4677
|
+
* ```ts
|
|
4678
|
+
* const storageUrl = getSiteFontsStorageUrl('https://xxx.supabase.co')
|
|
4679
|
+
* // Returns: 'https://xxx.supabase.co/storage/v1/object/public/site-fonts'
|
|
4680
|
+
* ```
|
|
4681
|
+
*/
|
|
4682
|
+
function getSiteFontsStorageUrl(supabaseUrl) {
|
|
4683
|
+
return `${supabaseUrl}/storage/v1/object/public/${SITE_FONTS_BUCKET}`;
|
|
4684
|
+
}
|
|
4685
|
+
/**
|
|
4686
|
+
* Build a lightweight Google Fonts stylesheet URL for a family-name preview.
|
|
4687
|
+
* The text subset keeps catalog rows cheap while still rendering the name in
|
|
4688
|
+
* the typeface being chosen. Pass `text` when the preview draws something
|
|
4689
|
+
* other than the name (a sample heading, "Aa"); its letters are deduplicated.
|
|
4690
|
+
*/
|
|
4691
|
+
function buildFontPreviewUrl(family, text = family) {
|
|
4692
|
+
return `https://fonts.googleapis.com/css2?family=${encodeURIComponent(family).replace(/%20/gu, "+")}&display=swap&text=${encodeURIComponent(text === family ? family : [...new Set(text)].join(""))}`;
|
|
4693
|
+
}
|
|
4694
|
+
/**
|
|
4695
|
+
* Escape a string for use in CSS font-family declaration
|
|
4696
|
+
* Escapes quotes, backslashes, and newlines
|
|
4697
|
+
*/
|
|
4698
|
+
function escapeCssFontFamily(name) {
|
|
4699
|
+
return name.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/"/g, "\\\"").replace(/\n/g, "\\n").replace(/\r/g, "\\r");
|
|
4700
|
+
}
|
|
4701
|
+
/**
|
|
4702
|
+
* Encode storage path segments for use in URLs
|
|
4703
|
+
* Encodes each path segment individually to handle special characters
|
|
4704
|
+
*/
|
|
4705
|
+
function encodeStoragePath(storagePath) {
|
|
4706
|
+
return storagePath.split("/").map((segment) => encodeURIComponent(segment)).join("/");
|
|
4707
|
+
}
|
|
4708
|
+
/**
|
|
4709
|
+
* Generate @font-face CSS for a single font file
|
|
4710
|
+
*/
|
|
4711
|
+
function generateFontFaceForFile(familyName, file, storageBaseUrl) {
|
|
4712
|
+
return `@font-face {
|
|
4713
|
+
font-family: '${escapeCssFontFamily(familyName)}';
|
|
4714
|
+
src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
|
|
4715
|
+
font-weight: ${file.weight};
|
|
4716
|
+
font-style: ${file.style};
|
|
4717
|
+
font-display: swap;
|
|
4718
|
+
}`;
|
|
4719
|
+
}
|
|
4720
|
+
/**
|
|
4721
|
+
* Generate @font-face CSS for a variable font
|
|
4722
|
+
*/
|
|
4723
|
+
function generateFontFaceForVariableFont(familyName, file, weightMin, weightMax, storageBaseUrl) {
|
|
4724
|
+
return `@font-face {
|
|
4725
|
+
font-family: '${escapeCssFontFamily(familyName)}';
|
|
4726
|
+
src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
|
|
4727
|
+
font-weight: ${weightMin} ${weightMax};
|
|
4728
|
+
font-style: ${file.style};
|
|
4729
|
+
font-display: swap;
|
|
4730
|
+
}`;
|
|
4731
|
+
}
|
|
4732
|
+
/**
|
|
4733
|
+
* Generate all @font-face rules for custom fonts
|
|
4734
|
+
*
|
|
4735
|
+
* @param fonts - Array of custom fonts
|
|
4736
|
+
* @param storageBaseUrl - Base URL for storage (e.g., https://xxx.supabase.co/storage/v1/object/public/site-fonts)
|
|
4737
|
+
* @returns CSS string with all @font-face rules
|
|
4738
|
+
*/
|
|
4739
|
+
function generateFontFaceCss(fonts, storageBaseUrl) {
|
|
4740
|
+
const rules = [];
|
|
4741
|
+
const seenFamilies = /* @__PURE__ */ new Set();
|
|
4742
|
+
for (const font of fonts) {
|
|
4743
|
+
if (seenFamilies.has(font.familyName)) continue;
|
|
4744
|
+
seenFamilies.add(font.familyName);
|
|
4745
|
+
if (font.isVariable && font.variableWeightMin && font.variableWeightMax) {
|
|
4746
|
+
const normalFile = font.files.find((f) => f.style === "normal");
|
|
4747
|
+
const italicFile = font.files.find((f) => f.style === "italic");
|
|
4748
|
+
if (normalFile) rules.push(generateFontFaceForVariableFont(font.familyName, normalFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
|
|
4749
|
+
if (italicFile) rules.push(generateFontFaceForVariableFont(font.familyName, italicFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
|
|
4750
|
+
} else for (const file of font.files) rules.push(generateFontFaceForFile(font.familyName, file, storageBaseUrl));
|
|
4751
|
+
}
|
|
4752
|
+
return rules.join("\n\n");
|
|
4753
|
+
}
|
|
4754
|
+
/** CSS2 axis tuples are sorted normal-first, then real italic weights. */
|
|
4755
|
+
function buildGoogleFontFamilyQuery(family, weights, italics = [], widthRange) {
|
|
4756
|
+
const name = encodeURIComponent(family.replace(/\s+/g, "+")).replace(/%2B/g, "+");
|
|
4757
|
+
const normal = [...new Set(weights)].sort((a, b) => a - b);
|
|
4758
|
+
const width = widthRange ? `${widthRange.min}..${widthRange.max},` : "";
|
|
4759
|
+
const axes = widthRange ? "wdth,wght" : "wght";
|
|
4760
|
+
if (italics.length === 0) return `family=${name}:${axes}@${normal.map((weight) => `${width}${weight}`).join(";")}`;
|
|
4761
|
+
const italic = [...new Set(italics)].sort((a, b) => a - b);
|
|
4762
|
+
return `family=${name}:ital,${axes}@${[...normal.map((weight) => `0,${width}${weight}`), ...italic.map((weight) => `1,${width}${weight}`)].join(";")}`;
|
|
4763
|
+
}
|
|
4764
|
+
//#endregion
|
|
4665
4765
|
//#region ../blocks/src/subroutes/formatDate.ts
|
|
4666
4766
|
/** Occurrence instants name the occurrence-local day; civil keys preserve their day. */
|
|
4667
4767
|
function formatOccurrenceDate(iso, context) {
|
|
@@ -32161,8 +32261,7 @@ function useSlotBlockSave({ uiStore, queryClient, queryKey, requestServerRefresh
|
|
|
32161
32261
|
uiStore
|
|
32162
32262
|
]);
|
|
32163
32263
|
}
|
|
32164
|
-
function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId, pageSurfaceId, theme = null, apiClient, sdkConfig = null, widgets, visible = true }) {
|
|
32165
|
-
const { displayContext } = useEntryController();
|
|
32264
|
+
function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId, pageSurfaceId, theme = null, apiClient, sdkConfig = null, widgets, visible = true, displayContext }) {
|
|
32166
32265
|
const { requestServerRefresh } = useServerRefresh();
|
|
32167
32266
|
const queryClient = useQueryClient();
|
|
32168
32267
|
const uiStore = useEditorUiStoreInstance();
|
|
@@ -32380,20 +32479,23 @@ function resolveSubrouteNotice(ctx, args) {
|
|
|
32380
32479
|
}
|
|
32381
32480
|
//#endregion
|
|
32382
32481
|
//#region ../preview-next/src/client/preview/EntryEditorPanel.tsx
|
|
32383
|
-
|
|
32384
|
-
|
|
32385
|
-
|
|
32386
|
-
const contentFormFields = useMemo(() => contentTypeSchema ? mapContentSchemaToFormFields(contentTypeSchema, { referenceContentTypeKeys }) : [], [contentTypeSchema, referenceContentTypeKeys]);
|
|
32387
|
-
const contentFormSpec = useMemo(() => ({
|
|
32482
|
+
/** The entry's content fields as a block-form manifest, resolving references against the site's content types. */
|
|
32483
|
+
function entryContentForm(contentTypeSchema, referenceContentTypeKeys) {
|
|
32484
|
+
return {
|
|
32388
32485
|
variantMeaning: { kind: "arrangement" },
|
|
32389
32486
|
name: "content-fields",
|
|
32390
32487
|
version: "1.0",
|
|
32391
32488
|
title: "Content",
|
|
32392
32489
|
component: "content-form",
|
|
32393
32490
|
description: "",
|
|
32394
|
-
fields:
|
|
32491
|
+
fields: contentTypeSchema ? mapContentSchemaToFormFields(contentTypeSchema, { referenceContentTypeKeys }) : [],
|
|
32395
32492
|
slots: []
|
|
32396
|
-
}
|
|
32493
|
+
};
|
|
32494
|
+
}
|
|
32495
|
+
function EntryEditorPanel({ siteId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, apiClient, entrySubrouteContext, widgets }) {
|
|
32496
|
+
const [contentOpen, setContentOpen] = useState(true);
|
|
32497
|
+
const [templateOpen, setTemplateOpen] = useState(false);
|
|
32498
|
+
const contentFormSpec = useMemo(() => entryContentForm(contentTypeSchema, referenceContentTypeKeys), [contentTypeSchema, referenceContentTypeKeys]);
|
|
32397
32499
|
const contentInitialValues = useMemo(() => draftContent ?? {}, [draftContent]);
|
|
32398
32500
|
const subrouteNotice = useMemo(() => resolveSubrouteNotice(entrySubrouteContext ?? null, { siteId }), [entrySubrouteContext, siteId]);
|
|
32399
32501
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -33005,6 +33107,7 @@ const NEW_BLOCK_ID = "new-block";
|
|
|
33005
33107
|
function newBlockLookTiles(model, blockKind) {
|
|
33006
33108
|
const content = {};
|
|
33007
33109
|
const block = buildPageDesignEditorReadModelForBlocks({
|
|
33110
|
+
surfaceResolutionContext: null,
|
|
33008
33111
|
siteStyleId: model.siteStyleId,
|
|
33009
33112
|
intent: {
|
|
33010
33113
|
...automaticPageDocumentIntent,
|
|
@@ -33112,7 +33215,6 @@ const OUTLINE_COPY = {
|
|
|
33112
33215
|
};
|
|
33113
33216
|
/** The page view's outline: the page's blocks between the site header and footer, each opening its own view. */
|
|
33114
33217
|
function PageBlockEditorPanel(props) {
|
|
33115
|
-
const { displayContext } = useEntryController();
|
|
33116
33218
|
const describeLook = useOutlineLookNames();
|
|
33117
33219
|
const attentionFor = useOutlineAttention();
|
|
33118
33220
|
const openBlock = props.uiStoreForBlockEditor.getState().openSidebarBlock;
|
|
@@ -33139,7 +33241,7 @@ function PageBlockEditorPanel(props) {
|
|
|
33139
33241
|
bookingOfferingPresets: props.bookingOfferingPresets,
|
|
33140
33242
|
sdkConfig: props.sdkConfig ?? null,
|
|
33141
33243
|
children: /* @__PURE__ */ jsx(BlockEditor, {
|
|
33142
|
-
displayContext,
|
|
33244
|
+
displayContext: props.displayContext,
|
|
33143
33245
|
ref: props.blockEditorRef,
|
|
33144
33246
|
siteId: props.siteId,
|
|
33145
33247
|
dashboardBaseUrl: props.dashboardBaseUrl,
|
|
@@ -36181,6 +36283,8 @@ function sectionBreakSource(boundary) {
|
|
|
36181
36283
|
}
|
|
36182
36284
|
/** Approved copy (issue 1422) for a join the renderer didn't draw. */
|
|
36183
36285
|
const NOT_SHOWN_COPY = {
|
|
36286
|
+
"same-paint": "This break won't show here, because both sections have the same background color. It'll appear if you give one of them a different background.",
|
|
36287
|
+
"photo-required": "This break won't show here, because the wave with echo is drawn over a photo. It'll appear if the section above it has a photo background.",
|
|
36184
36288
|
"both-unpainted": "This break won't show here, because both sections have an image or video background. It'll appear if you give one of them a color background.",
|
|
36185
36289
|
"flush-panel": "This break won't show here, because one of these sections has an image that runs right to its edge. It'll appear if you pick a different look for that section.",
|
|
36186
36290
|
field: "This break won't show here, because one of these sections is drawn as a rounded panel set in from the page edge. It'll appear if you give that section a different background."
|
|
@@ -36260,9 +36364,9 @@ function useBreakAbove(blockId) {
|
|
|
36260
36364
|
return boundary && boundary.availableBreaks.length > 1 ? boundary : null;
|
|
36261
36365
|
}
|
|
36262
36366
|
function useJoinedSectionNames(aboveId, hereId, sdkConfig) {
|
|
36263
|
-
const
|
|
36367
|
+
const blocks = useEditorUiStore((state) => state.structure.getList());
|
|
36264
36368
|
const nameOf = (id) => {
|
|
36265
|
-
const block = id ? blocks.
|
|
36369
|
+
const block = id ? blocks.find((candidate) => String(candidate.id) === id) : void 0;
|
|
36266
36370
|
return block ? resolveBlockTitle(resolveBlockManifest(block.kind, sdkConfig), block.content, block.kind).displayTitle : null;
|
|
36267
36371
|
};
|
|
36268
36372
|
return {
|
|
@@ -36902,11 +37006,13 @@ function PreviewEditorSidebar(props) {
|
|
|
36902
37006
|
});
|
|
36903
37007
|
}
|
|
36904
37008
|
function SidebarSlotResource({ props, visible }) {
|
|
37009
|
+
const { displayContext } = useEntryController();
|
|
36905
37010
|
if (!props.entryData?.type) return null;
|
|
36906
37011
|
return /* @__PURE__ */ jsx("div", {
|
|
36907
37012
|
"data-testid": "preview-sidebar-entry-content",
|
|
36908
37013
|
children: /* @__PURE__ */ jsx(EntrySlotBlockEditorPanel, {
|
|
36909
37014
|
siteId: props.siteId,
|
|
37015
|
+
displayContext,
|
|
36910
37016
|
dashboardBaseUrl: props.dashboardBaseUrl,
|
|
36911
37017
|
typeKey: props.entryData.type,
|
|
36912
37018
|
entryId: props.entryData.id,
|
|
@@ -37035,6 +37141,7 @@ function SidebarPagePanel({ props, uiStoreForBlockEditor, picking }) {
|
|
|
37035
37141
|
if (!props.pageId) return null;
|
|
37036
37142
|
const outline = /* @__PURE__ */ jsx(PageBlockEditorPanel, {
|
|
37037
37143
|
...props,
|
|
37144
|
+
displayContext: controller.displayContext,
|
|
37038
37145
|
pageId: props.pageId,
|
|
37039
37146
|
blockItems: controller.blocks.list,
|
|
37040
37147
|
uiStoreForBlockEditor,
|
package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-Csc5vH5k.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 { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, f as useEditor, n as PREVIEW_CHROME_THEME_CLASS_NAME, o as readPreviewThemeCookie, p as FixedBottomSurface, r as applyPreviewChromeSurfaceToElement, t as PREVIEW_CHROME_PORTAL_CLASS_NAME } from "./previewChromeSurface-
|
|
7
|
-
import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-
|
|
2
|
+
import { Cp as resolveBlockTitle, En as editorAuthoredBlockDocument, G as useEntryEditorController, Hp as unwrapResponse, Jp as Select, Kt as PREVIEW_CHROME_Z_INDEX, Op as editorAdmissionIsOpen, Q as useSessionJournalHistory, Qp as SelectValue, T_ as authoredValuesEqual, Tu as pageTemplateFromEntry, V as usePreviewAuth, X as useServerRefresh, Xp as SelectItem, Yp as SelectContent, Z as useSessionJournal, Zp as SelectTrigger, _m as DialogHeader, _r as PUBLISH_READINESS_COPY, en as useEditorUiStore, fm as Dialog, gm as DialogFooter, hm as DialogDescription, iv as displayedValues, mm as DialogContent, mn as canDiscardDraft, mv as unsafeAsEditorBlockId, n as usePreviewAssistantSlot, ot as EditorWriteSurface, ph as cva, tn as useEditorUiStoreInstance, uh as Button, vh as cn, vm as DialogTitle, vr as publishReadinessWarning, yr as readinessFactsFromPayload } from "./previewAssistantSlot-BBdN5kfY.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-DkZ8fO-G.mjs";
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-BiIHEeE0.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-BuFLIpmX.mjs";
|
|
6
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, f as useEditor, n as PREVIEW_CHROME_THEME_CLASS_NAME, o as readPreviewThemeCookie, p as FixedBottomSurface, r as applyPreviewChromeSurfaceToElement, t as PREVIEW_CHROME_PORTAL_CLASS_NAME } from "./previewChromeSurface-VZtGwPuH.mjs";
|
|
7
|
+
import { t as useOpenBlockForSetup } from "./useOpenBlockForSetup-DlxYgmh_.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";
|