@riverbankcms/sdk 0.175.0 → 0.177.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/README.md +12 -4
- package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-sYraeqm9.d.ts} +1 -1
- package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-Bp7hTDTy.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-CxkCCyKw.d.ts} +2 -2
- package/dist/_dts/{client-B6tCvmG4.d.ts → client-K6UhbL3t.d.ts} +1 -1
- package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-BLAdIMyr.d.ts} +4 -8
- package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-BG7yTZ6t.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DwMHeYmQ.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-X_WpGzZZ.d.ts} +2 -2
- package/dist/_dts/{index-CQUzwOxO.d.ts → index--n-wV8Xd.d.ts} +1 -1
- package/dist/_dts/{index-OtazQE3U.d.ts → index-BLseXObg.d.ts} +2 -2
- package/dist/_dts/{index-Bl5_pjmq.d.ts → index-BMGif2r3.d.ts} +1 -1
- package/dist/_dts/{index-DmhFb6R1.d.ts → index-BpAW9AKB.d.ts} +1 -1
- package/dist/_dts/{index-_pXaCO12.d.ts → index-Bygd2RCg.d.ts} +4 -4
- package/dist/_dts/{index-Btp5nIoz.d.ts → index-CBRbZJ6u.d.ts} +2 -15
- package/dist/_dts/{index-YRQulWB4.d.ts → index-CX9bp60k.d.ts} +3 -3
- package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-uhUThWaq.d.ts} +7 -7
- package/dist/_dts/{request-BT8i_vH-.d.ts → request-Bf9YImJw.d.ts} +54398 -54148
- package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-D6M5NMZB.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-DkzWvFbG.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/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/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 +5 -177
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- 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-OKzbqRBx.d.ts → types-BdZ5pJSk.d.ts} +20 -3
- package/dist/_dts/{types-C0XZnjXz.d.ts → types-C1l2Sm2h.d.ts} +5 -5
- package/dist/_dts/{types-CXL1QJSY.d.ts → types-DgV8P2mz.d.ts} +7 -7
- package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-BtbZIT5f.d.ts} +7 -6
- package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
- package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
- package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
- package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
- package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
- package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
- package/dist/client/{Page-CWN_8cLZ.mjs → Page-C03rc6jw.mjs} +339 -269
- package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
- package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
- package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
- package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
- package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +70 -10
- package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
- package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
- package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
- package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
- package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -4
- package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
- package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
- package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
- package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
- package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
- package/dist/client/portal/client.mjs +47 -26
- package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
- package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -22
- package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
- package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
- package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
- package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
- package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
- package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
- package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
- package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
- package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-D6-jojqh.mjs} +52 -8
- package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-BUVFKZ4k.mjs} +57 -61
- package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-292pOiSt.mjs} +10 -10
- package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-CW0Yzj3h.mjs} +9 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-Dba7zoZK.mjs} +87 -48
- package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-B-utyhbS.mjs} +506 -282
- package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-CCoGydUD.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-DCpXVcA0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-sjOvRAHY.mjs} +27 -17
- package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-R1rZ9-IZ.mjs} +3 -30
- package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-BS7CANPv.mjs} +17 -3
- package/dist/preview-next/container-responsive.css +3 -0
- package/dist/preview-next/editor-chrome.css +4 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BSSbtz6A.mjs} +24 -3
- package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Dc3DX7Cf.mjs} +84 -16
- package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
- package/dist/server/{client-CgghATBm.mjs → client-BPLLL22F.mjs} +69 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
- package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next/revalidate.mjs +15 -8
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-CkpwAHvW.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
- package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
- package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-6z6JBU41.mjs} +121 -67
- package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-B4_Llisx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
- 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 +7 -7
- package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-3puM5SM8.mjs → validation-BvHio6QI.mjs} +4 -6
- package/dist/server/{version-B8g-Wx57.mjs → version-SuFlio6n.mjs} +1 -1
- package/dist/styles/index.css +8 -1
- package/package.json +1 -1
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $ as useFooterComposerState, $
|
|
4
|
-
import {
|
|
5
|
-
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-
|
|
3
|
+
import { $ as useFooterComposerState, $c as createContextScope, $i as themeRuntimeScopeProps, $n as readSliderFieldUiConfig, $o as gradientToCss, $s as Dialog, $t as listEntryPageContentSlots, $u as editorBlockCollectionOwnersEqual, A as usePreviewJoinOutcome, Ai as resolveMediaSlotContract, Al as buttonStyleSelectionKey, An as lifecycleOutcomeMessage, As as resolveBlockTitle, At as toRoutableLinkPayload, Au as parseBrevoListId, Ba as BLOCK_BUTTON_ROLE_OPTIONS, Bc as Content$1, Bl as paletteValueKey, Bn as withoutServerVersions, Bo as concretePaletteFromTheme, Bt as derivePromotedFieldPlan, C as pageDesignLookTiles, Cc as ReactRemoveScroll, Cl as siteOptionSources, Cn as recoveryConflictCopy, Co as buildThemeRuntime, Cs as flowRepeaterGridItems, Cu as setFooterSectionSelected, Dl as resolveButtonStyleSelection, Ds as resolveRepeaterGridAcceptedSpans, Dt as sendPageCommand, Du as DEFAULT_MAILING_LIST_TARGETING, Ei as resolveImageUrlWithContext, El as findButtonStyleRecipe, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Es as planRepeaterGridStartNewRow, Eu as parseMailingListPlacementTargeting, F as lookTilePosition, Fr as siblingPath$2, Ft as NewsletterFormClient, Fu as knownSocialPlatforms, Gc as FocusScope, Gi as isOfferingsPreviewSourceKey, Gn as createManifestFormAdapter, Gt as hasVisibilityConditions, Gu as knownRevision, Hc as createPopperScope, Ht as evaluateVisibility, I as lookTilesFor, Ic as Presence, Ir as withValueAtPath, Iu as parsePublicProfile, J as footerLayoutSelection, Ji as planOfferingPreviewCardSelection, Jl as getDirectImageUrlForMediaAsset, Jn as getFieldDefault, Jt as createBlock, Ju as valueStatus, Kc as useFocusGuards, Ki as normalizeOfferingsPreviewGroupOrder, Kl as parseAspectRatioValue, Kn as createManifestValidation, Ks as sidebarReturnView, Kt as isNonEmptyValue, Ku as pristineValueSync, Lc as Portal$1, Lt as useImageResolveContextOptional, Lu as publicProfileWeekdays, M as usePreviewRenderReadiness, Mc as hideOthers, Mo as sectionPhotoPresence, Mt as updateFooterComposition, Mu as parseMailchimpInterestId, Nt as footerCreditLine, Nu as parseNewsletterListId, Ol as updateButtonStyleHoverPreference, Oo as resolveVisiblePromotedFieldPathsForEditorBlock, Os as resolveRepeaterGridBreakpointForWidth, Ot as missingReceiptError, Ou as mailingListTargetingChoiceIds, Pr as getAtPath, Pu as knownSocialPlatformLabels, Q as useFooterAuthoringOptional, Qa as isRichTextDoc, Qn as readNumberFieldUiConfig, Qs as Spinner, Qt as isSurfaceSlotBlockTarget, Qu as editorBlockCollectionOwnerKey, R as selectedLookTile, Rc as Anchor, Ri as buildResolveImageUrlContext, Ro as getHeaderLayout, Rs as OPERATION_ID_HEADER, Rt as FormNodeClient, Ru as publishedContactDetails, Sc as usePortalContainer, Sl as resolveRepeaterGridSpanFieldId, Sn as useSidebarView, So as parseFieldDefinition, Ss as findFirstAvailableRepeaterGridPlacement, Su as resolveFooterSections, Ti as resolveImageSourceSetWithContext, Tl as buttonStyleSelectionParameterValue, Tn as unfinishedBlockCopy, Ts as normalizeRepeaterGridSpan, Tt as LeaseNoticeButtons, Tu as planFooterLayout, U as usePreviewAuth, Uc as useSize, Ul as isRotationDimensionSwap, Us as extractApiEnvelopeErrorDetails, Ut as getFieldIntent, Va as isBlockButtonRole, Vc as Root2$1, Vn as deriveEditorValuePublicationState, Vo as concretePaletteToTheme, Vt as collectVisibleWhenWatchPaths, Wc as useId$1, Wi as inferLegacyOfferingsPreviewGroupOrder, Wn as initialBlockDraftValues, Wo as defaultPolicyPageFlowPresetId, Ws as unwrapResponse, Wt as getWidgetKey, Wu as displayedValues, X as resolveFooterEngagementPreview, Xa as deriveFieldValidationPlan, Xc as createCollection, Xi as resolveOfferingsPreviewGroupOrderEntries, Xl as mediaSchema, Xn as normalizeFieldForCanonicalValidation, Xo as palettesForSiteStyle, Xs as CalloutDescription, Xt as deleteBlock, Xu as createEditorRemoveBlockCommand, Y as resolveFooterEngagementAuthoringState, Ya as admitLayoutGridForPlan, Yc as useDirection, Yn as getRepeaterItemDefault, Yo as offeredSiteStyles, Ys as Callout, Yt as createSlotBlock, Yu as createEditorInsertBlockCommand, Z as FooterComposerProvider, Zc as useControllableState, Zi as buildThemeDataAttrs, Zl as runtimeMediaSchema, Zn as getGroupChildFields, Zs as CalloutTitle, Zt as deleteSlotBlock, Zu as createEditorReorderBlocksCommand, _c as Root$2, _i as chooseScheduleScope, _l as canEditorWrite, _n as resolveContentTitle, _s as isInternalResolvedLinkValue, _u as mailingListProviderName, aa as suggestSemanticIconForFeatureCard, ac as DialogTitle$1, ad as resolveBookingBusinessTimeZone, ao as parseGeneratedIconSetId, at as readFooterEngagementDraft, b as buildPageDesignEditorReadModelForBlocks, bi as writeEventSelectionChips, bl as resolveRepeaterGridColumnFieldId, bn as useEditorUiStoreInstance, bs as planRepeaterGridSpanChange, bu as parseFooterCompositionV1, cd as toUtcIsoDateTimeString, co as coerceInlineTextWithFallback, cr as planBackgroundTransition, cs as sectionTransitionFamilies, d as cycleSiteChromeSelectionId, dc as DialogDescription, dl as cn, dt as DONE, du as authoredValuesEqual, ea as FEATURE_CARD_GENERATED_ICON_SIZE_PX, ec as DialogClose, ed as unsafeAsEditorBlockId, el as composeEventHandlers, en as listPageSurfaceContentSlots, eo as sanitizeHref, es as GRADIENT_PRESETS, fl as useShallow, ft as runHeldLifecycle, fu as generateUuidV4, gc as Content, gi as chooseAllEvents, gl as readLinkedEntryLease, gn as resolvePageRouteSlug, gu as resolveMailingListDefaultDestination, hd as expectParsedBrandedId, hi as EVENT_SELECTION_TYPE_OPTIONS, hl as canWriteLinkedEntry, hn as deriveRouteMetadataPresentation, hu as assessMailingListTargeting, i as usePreviewSidebarNavigation, ia as resolveFeatureCardGeneratedIconSizePx, ic as DialogHeader, id as parseBookingLocalDate, il as buttonVariants, in as blocksKeys, io as parseGeneratedIconAssetId, ir as imagePoolForOverride, it as footerPartKey, iu as asRecord, jt as publishContentEntry, ju as parseMailchimpAudienceId, ki as resolveMediaSlot, kl as updateButtonStyleSelectionChoice, ks as resolveRepeaterGridColumnsForBreakpoint, kt as footerMenuNavigationFacts, ld as assertNever$1, lr as rankBackgroundImagePoolItems, ls as sectionTransitionFamilyForBoundaryOptionId, lt as useEntryController, mc as DialogTitle, md as parseSiteId, mi as EVENT_SELECTION_SCOPE_OPTIONS, ml as isEdited, mn as routeLifecycleContext, ms as appearancePresets, n as usePreviewAssistantSlot, na as getFeatureCardIconCompletion, nc as DialogDescription$1, nd as formatDate, ni as getBlockDefinition, nn as reorderSlotBlocks, no as getGeneratedBlockIconStyleState, ns as buildFontPreviewUrl, nt as footerHeaderStatus, nu as PUBLIC_FILE_FIELD_KINDS, o as usePreviewPageDesignEditorState, oa as toFeatureCardIconSuggestionInputs, oc as DialogTrigger, od as resolveBookingTimeZoneId, ol as cva, on as getDashboardUrl, oo as parseSiteIconStyleGuideVersionId, or as parseBackgroundOverrideFromContent, os as findCuratedPalette, ot as footerEngagementEventFields, ou as isBodyFontFamily, po as inlineTextToPlainText, pt as useServerRefresh, pu as slugify$1, q as buildFooterRuntimeViewModel, qc as DismissableLayer, ql as resolveMediaTransformForAspect, qn as manifestFieldSectionOptions, qo as getCuratedSiteStyle, qt as partitionFieldsByIntent, qu as syncStateOf, ra as parseFeatureCardGeneratedIconSizePx, rc as DialogFooter, rd as formatDateTime, ri as listBlockDescriptors, rl as Button$1, rn as withSlotCompositionHash, ro as parseBlockIconValue, rr as enabledBackgroundModes, rt as footerEngagementStarted, ru as mediaIdentifierSchema, s as usePreviewPageDesignRenderState, sd as parseUtcIsoDateTimeString, sl as createSlot, ss as defaultSectionTransitionVariantForFamily, st as parseFooterEngagementDraft, su as asAppearancePresetId, ta as createFeatureCardIconKey, tc as DialogContent, td as unsafeAsEditorBlockValues, tl as Primitive, tn as reorderBlocks, to as getBlockIconSemanticId, tr as canCycleBackgroundOverrideValue, ts as getGradientPreset, u as useSiteChromeCustomizeOptional, ud as parseMediaAssetId, ui as buildNewsletterFormInteractiveIslandProps, ul as useComposedRefs, un as ApiRequestError, ur as resolveBackgroundCapability, us as sectionTransitionVariantForBoundaryOptionId, v as useLiveFooterRuntime, vc as Trigger$1, vi as readEventSelectionChips, vn as planLeaseNotice, vo as plainTextToInlineText, vs as planLayoutGridColumnEdit, vu as deriveFooterEditorOverview, w as setPageDesignBlockBackground, wi as computeMediaTransformStyle, wl as buttonStyleHoverPreferenceValue, ws as isRepeaterGridLayoutInvalid, wt as LeaseDiscardedNoticeView, wu as unsafeAsFooterModuleId, xl as resolveRepeaterGridRowFieldId, xs as projectRepeaterGridLayout, ya as buildFormInteractiveIslandProps, yi as toggleEventType, yl as isAcceptedRepeaterGridSpan, yn as useEditorUiStore, ys as buildRepeaterGridDropTargets, yu as normalizeLegacyFooterContentToV1, zc as Arrow$1, zn as toEditorBlockItem, zo as getHeaderStyle, zt as BlockApiProvider } from "./previewAssistantSlot-B-utyhbS.mjs";
|
|
4
|
+
import { E as Maximize2, Gt as err, H as GripVertical, I as Image, Kt as ok, L as ImageUp, N as Link2, O as Lock, Q as EllipsisVertical, R as ImagePlus, S as Palette, W as FileText, X as EyeOff, b as PanelTop, bt as ArrowDown, c as Trash2, ct as CircleAlert, d as SlidersHorizontal, dt as ChevronLeft, et as Crop, f as Settings, ft as ChevronDown, g as RotateCcw, gt as Box$1, i as Video, m as Rows3, mt as Calendar$1, n as X$1, nt as Clock, pt as Check, rt as Clock3, s as TriangleAlert, t as lucide_react_exports, tt as Copy, u as Sparkles, ut as ChevronRight, v as Plus, vt as ArrowUp, x as PanelBottom, y as Pencil, yt as ArrowUpRight, z as ImageOff } from "./lucide-react-McYZeSMb.mjs";
|
|
5
|
+
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-sjOvRAHY.mjs";
|
|
6
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-CVYz7h68.mjs";
|
|
7
|
-
import { A as
|
|
7
|
+
import { A as SegmentedControl, C as EMPTY_DOC, D as resolveSdkFooterMode, F as emitMediaCropDebug, I as resolveVideoSelectionIntentForMediaField, L as isSvgMimeType, M as ScrollableDialogShell, N as Surface, O as Switch, P as surfaceVariants, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogContent, k as ContentSpinner, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-D6-jojqh.mjs";
|
|
8
8
|
import { n as TZDate } from "./src-DzXUmsyK.mjs";
|
|
9
|
-
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-
|
|
10
|
-
import { a as publicationLabel, o as
|
|
11
|
-
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-
|
|
9
|
+
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
|
|
10
|
+
import { a as publicationLabel, o as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-R1rZ9-IZ.mjs";
|
|
11
|
+
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-BS7CANPv.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";
|
|
@@ -2920,6 +2920,29 @@ function Label({ className, ...props }) {
|
|
|
2920
2920
|
});
|
|
2921
2921
|
}
|
|
2922
2922
|
//#endregion
|
|
2923
|
+
//#region ../ui/src/combobox-active-row.ts
|
|
2924
|
+
/**
|
|
2925
|
+
* The highlighted row: one the pointer or arrow keys picked while it is still
|
|
2926
|
+
* listed, else the selected row, else the first. Setting null goes back to
|
|
2927
|
+
* following the selection.
|
|
2928
|
+
*/
|
|
2929
|
+
function useActiveRow(rows, selectedRowId) {
|
|
2930
|
+
const [pickedId, setPickedId] = useState(null);
|
|
2931
|
+
const listed = (id) => Boolean(id) && rows.some((row) => row.id === id);
|
|
2932
|
+
const current = listed(pickedId) ? pickedId : listed(selectedRowId) ? selectedRowId : rows[0]?.id ?? null;
|
|
2933
|
+
const move = (by) => {
|
|
2934
|
+
if (rows.length === 0) return;
|
|
2935
|
+
const index = rows.findIndex((row) => row.id === current);
|
|
2936
|
+
setPickedId(rows[index === -1 ? by === 1 ? 0 : rows.length - 1 : (index + by + rows.length) % rows.length]?.id ?? null);
|
|
2937
|
+
};
|
|
2938
|
+
return {
|
|
2939
|
+
id: current,
|
|
2940
|
+
row: rows.find((row) => row.id === current) ?? null,
|
|
2941
|
+
set: setPickedId,
|
|
2942
|
+
move
|
|
2943
|
+
};
|
|
2944
|
+
}
|
|
2945
|
+
//#endregion
|
|
2923
2946
|
//#region ../ui/src/combobox-keys.ts
|
|
2924
2947
|
const NONE = { tag: "none" };
|
|
2925
2948
|
const CLOSE = { tag: "close" };
|
|
@@ -2991,6 +3014,16 @@ function searchKeyIntent(key) {
|
|
|
2991
3014
|
preventDefault: intent.tag !== "none"
|
|
2992
3015
|
};
|
|
2993
3016
|
}
|
|
3017
|
+
/** Carries an intent out. */
|
|
3018
|
+
function applyComboboxIntent(intent, handlers) {
|
|
3019
|
+
switch (intent.tag) {
|
|
3020
|
+
case "open": return handlers.openAt(intent.fallback);
|
|
3021
|
+
case "move": return handlers.move(intent.by);
|
|
3022
|
+
case "choose": return handlers.choose();
|
|
3023
|
+
case "close": return handlers.close();
|
|
3024
|
+
case "none": return;
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
2994
3027
|
//#endregion
|
|
2995
3028
|
//#region ../ui/src/combobox-rows.ts
|
|
2996
3029
|
const COMBOBOX_NONE_ROW_ID = "__none__";
|
|
@@ -3442,36 +3475,6 @@ function Combobox(props) {
|
|
|
3442
3475
|
}) : null]
|
|
3443
3476
|
});
|
|
3444
3477
|
}
|
|
3445
|
-
function applyComboboxIntent(intent, handlers) {
|
|
3446
|
-
switch (intent.tag) {
|
|
3447
|
-
case "open": return handlers.openAt(intent.fallback);
|
|
3448
|
-
case "move": return handlers.move(intent.by);
|
|
3449
|
-
case "choose": return handlers.choose();
|
|
3450
|
-
case "close": return handlers.close();
|
|
3451
|
-
case "none": return;
|
|
3452
|
-
}
|
|
3453
|
-
}
|
|
3454
|
-
/**
|
|
3455
|
-
* The highlighted row: one the pointer or arrow keys picked while it is still
|
|
3456
|
-
* listed, else the selected row, else the first. Setting null goes back to
|
|
3457
|
-
* following the selection.
|
|
3458
|
-
*/
|
|
3459
|
-
function useActiveRow(rows, selectedRowId) {
|
|
3460
|
-
const [pickedId, setPickedId] = useState(null);
|
|
3461
|
-
const listed = (id) => Boolean(id) && rows.some((row) => row.id === id);
|
|
3462
|
-
const current = listed(pickedId) ? pickedId : listed(selectedRowId) ? selectedRowId : rows[0]?.id ?? null;
|
|
3463
|
-
const move = (by) => {
|
|
3464
|
-
if (rows.length === 0) return;
|
|
3465
|
-
const index = rows.findIndex((row) => row.id === current);
|
|
3466
|
-
setPickedId(rows[index === -1 ? by === 1 ? 0 : rows.length - 1 : (index + by + rows.length) % rows.length]?.id ?? null);
|
|
3467
|
-
};
|
|
3468
|
-
return {
|
|
3469
|
-
id: current,
|
|
3470
|
-
row: rows.find((row) => row.id === current) ?? null,
|
|
3471
|
-
set: setPickedId,
|
|
3472
|
-
move
|
|
3473
|
-
};
|
|
3474
|
-
}
|
|
3475
3478
|
function useFocusOnOpen(shouldFocus, inputRef) {
|
|
3476
3479
|
useEffect(() => {
|
|
3477
3480
|
if (shouldFocus) inputRef.current?.focus();
|
|
@@ -3558,7 +3561,7 @@ function ComboboxRowContent({ row, selected, isCreating, noneLabel, createLabel,
|
|
|
3558
3561
|
className: "flex-1 truncate text-left text-muted-foreground",
|
|
3559
3562
|
children: noneLabel
|
|
3560
3563
|
});
|
|
3561
|
-
case "create": return /* @__PURE__ */ jsxs(Fragment$1, { children: [isCreating ? /* @__PURE__ */ jsx(
|
|
3564
|
+
case "create": return /* @__PURE__ */ jsxs(Fragment$1, { children: [isCreating ? /* @__PURE__ */ jsx(Spinner, { className: "shrink-0" }) : /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4 shrink-0" }), /* @__PURE__ */ jsx("span", {
|
|
3562
3565
|
className: "flex-1 truncate text-left",
|
|
3563
3566
|
children: createLabel ? createLabel(row.name) : row.name
|
|
3564
3567
|
})] });
|
|
@@ -4708,25 +4711,6 @@ const Slider = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
4708
4711
|
}));
|
|
4709
4712
|
Slider.displayName = Slider$1.displayName;
|
|
4710
4713
|
//#endregion
|
|
4711
|
-
//#region ../ui/src/content-spinner.tsx
|
|
4712
|
-
/**
|
|
4713
|
-
* Centered spinner for content areas — replaces bespoke skeleton layouts.
|
|
4714
|
-
*
|
|
4715
|
-
* Uses plain `Spinner` (NOT `DelayedSpinner`) so it renders immediately on
|
|
4716
|
-
* the server. `loading.tsx` files are shown during SSR streaming — a
|
|
4717
|
-
* `DelayedSpinner` would render nothing until hydration + delay.
|
|
4718
|
-
*/
|
|
4719
|
-
function ContentSpinner({ className, size = "xl" }) {
|
|
4720
|
-
return /* @__PURE__ */ jsx("div", {
|
|
4721
|
-
className: cn("flex items-center justify-center py-24", className),
|
|
4722
|
-
children: /* @__PURE__ */ jsx(Spinner, {
|
|
4723
|
-
size,
|
|
4724
|
-
srLabel: "Loading content",
|
|
4725
|
-
className: "text-primary"
|
|
4726
|
-
})
|
|
4727
|
-
});
|
|
4728
|
-
}
|
|
4729
|
-
//#endregion
|
|
4730
4714
|
//#region ../ui/src/empty-state.tsx
|
|
4731
4715
|
/**
|
|
4732
4716
|
* EmptyState component for consistent no-results and empty data displays.
|
|
@@ -8684,7 +8668,10 @@ function BlockTile({ block, onClick, isLoading = false, disabled = false }) {
|
|
|
8684
8668
|
children: [/* @__PURE__ */ jsx("p", {
|
|
8685
8669
|
className: "truncate text-sm font-medium text-foreground",
|
|
8686
8670
|
children: block.title
|
|
8687
|
-
}), isLoading && /* @__PURE__ */ jsx(
|
|
8671
|
+
}), isLoading && /* @__PURE__ */ jsx(Spinner, {
|
|
8672
|
+
size: 12,
|
|
8673
|
+
className: "shrink-0 text-muted-foreground"
|
|
8674
|
+
})]
|
|
8688
8675
|
}), block.description && /* @__PURE__ */ jsx("p", {
|
|
8689
8676
|
className: "mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground",
|
|
8690
8677
|
children: block.description
|
|
@@ -28149,7 +28136,10 @@ function SocialImageField({ path, backend, config }) {
|
|
|
28149
28136
|
label: config.label,
|
|
28150
28137
|
description: config.description,
|
|
28151
28138
|
error: error?.message,
|
|
28152
|
-
children: () => /* @__PURE__ */ jsx(Fragment$1, { children: image.kind === "loading" ? /* @__PURE__ */ jsx(ContentSpinner, {
|
|
28139
|
+
children: () => /* @__PURE__ */ jsx(Fragment$1, { children: image.kind === "loading" ? /* @__PURE__ */ jsx(ContentSpinner, {
|
|
28140
|
+
scale: "section",
|
|
28141
|
+
srLabel: "Loading this image"
|
|
28142
|
+
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [image.kind === "unavailable" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(UnreadableMediaWarning, {}), /* @__PURE__ */ jsx(Button$1, {
|
|
28153
28143
|
type: "button",
|
|
28154
28144
|
variant: "outline",
|
|
28155
28145
|
onClick: () => setValue(null),
|
|
@@ -31538,7 +31528,10 @@ function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId,
|
|
|
31538
31528
|
setSlotSelection((current) => selectionsEqual(current, selection) ? current : selection);
|
|
31539
31529
|
}, [selection]);
|
|
31540
31530
|
if (!visible) return null;
|
|
31541
|
-
if (slotsQuery.isLoading) return /* @__PURE__ */ jsx(ContentSpinner, {
|
|
31531
|
+
if (slotsQuery.isLoading) return /* @__PURE__ */ jsx(ContentSpinner, {
|
|
31532
|
+
scale: "section",
|
|
31533
|
+
srLabel: "Loading page content"
|
|
31534
|
+
});
|
|
31542
31535
|
if (slotsQuery.isError) return /* @__PURE__ */ jsx(Callout, {
|
|
31543
31536
|
tone: "danger",
|
|
31544
31537
|
role: "alert",
|
|
@@ -32586,7 +32579,10 @@ function PreviewFooterEditorPanel({ sdkConfig, apiClient, siteId, dashboardBaseU
|
|
|
32586
32579
|
widgets: previewWidgetOverrides,
|
|
32587
32580
|
liveRuntime: liveRuntime ?? void 0,
|
|
32588
32581
|
appearanceControls: /* @__PURE__ */ jsx(SiteChromeSurfaceControls, { surface: "footer" }),
|
|
32589
|
-
loadingFallback: /* @__PURE__ */ jsx(ContentSpinner, {
|
|
32582
|
+
loadingFallback: /* @__PURE__ */ jsx(ContentSpinner, {
|
|
32583
|
+
scale: "section",
|
|
32584
|
+
srLabel: "Loading your footer"
|
|
32585
|
+
}),
|
|
32590
32586
|
...footerComposerNavigationProps(view, requestId),
|
|
32591
32587
|
variant: "sidebar",
|
|
32592
32588
|
canEdit
|
package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-292pOiSt.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $s as
|
|
3
|
-
import {
|
|
4
|
-
import { i as formatEditorStatus, n as useEditorWriteState,
|
|
5
|
-
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-
|
|
6
|
-
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-
|
|
2
|
+
import { $s as Dialog, As as resolveBlockTitle, Ca as pageTemplateFromEntry, Ct as EditorWriteSurface, Ps as editorAdmissionIsOpen, Qs as Spinner, Sn as useSidebarView, U as usePreviewAuth, Un as editorAuthoredBlockDocument, Ws as unwrapResponse, Wu as displayedValues, Xr as publishReadinessWarning, Yr as PUBLISH_READINESS_COPY, Zr as readinessFactsFromPayload, ac as DialogTitle, bn as useEditorUiStoreInstance, dl as cn, dn as PREVIEW_CHROME_Z_INDEX, du as authoredValuesEqual, ed as unsafeAsEditorBlockId, et as useFooterPanelOwnsNotice, ht as useSessionJournalHistory, ic as DialogHeader, jn as canDiscardDraft, mt as useSessionJournal, n as usePreviewAssistantSlot, nc as DialogDescription, ol as cva, pt as useServerRefresh, rc as DialogFooter, rl as Button, tc as DialogContent, ut as useEntryEditorController, yn as useEditorUiStore } from "./previewAssistantSlot-B-utyhbS.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-McYZeSMb.mjs";
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, r as decideEditorStatus } from "./useAutosaveStatus-R1rZ9-IZ.mjs";
|
|
5
|
+
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-BS7CANPv.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-CCoGydUD.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";
|
|
@@ -85,7 +85,7 @@ function EditPageButton({ placement }) {
|
|
|
85
85
|
"aria-busy": isEditingPending,
|
|
86
86
|
className: `${floating ? "fixed bottom-6 right-6" : ""} h-10 cursor-pointer gap-2 rounded-full border-foreground/80 bg-background px-4 font-semibold shadow-lg`,
|
|
87
87
|
style: floating ? FLOATING_STYLE : void 0,
|
|
88
|
-
children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {
|
|
88
|
+
children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {}) : /* @__PURE__ */ jsx(Pencil, {
|
|
89
89
|
className: "h-4 w-4",
|
|
90
90
|
"aria-hidden": true
|
|
91
91
|
}), isEditingPending ? "Switching to edit…" : "Edit page"]
|
|
@@ -111,7 +111,7 @@ function ViewAsVisitorButton({ placement }) {
|
|
|
111
111
|
"aria-busy": isEditingPending,
|
|
112
112
|
className: `${floating ? "fixed bottom-6 right-6" : ""} h-10 w-10 cursor-pointer rounded-full shadow-lg backdrop-blur-sm transition-all hover:scale-105`,
|
|
113
113
|
style: floating ? FLOATING_STYLE : void 0,
|
|
114
|
-
children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {
|
|
114
|
+
children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {}) : /* @__PURE__ */ jsx(Eye, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
|
|
115
115
|
className: "sr-only",
|
|
116
116
|
children: label
|
|
117
117
|
})]
|
|
@@ -287,7 +287,7 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
|
|
|
287
287
|
}) : statusDecision.primary.kind === "saving" ? /* @__PURE__ */ jsxs("span", {
|
|
288
288
|
className: "inline-flex min-w-0 items-center gap-2",
|
|
289
289
|
children: [
|
|
290
|
-
/* @__PURE__ */ jsx(
|
|
290
|
+
/* @__PURE__ */ jsx(Spinner, { className: "shrink-0" }),
|
|
291
291
|
/* @__PURE__ */ jsx("span", {
|
|
292
292
|
className: "hidden min-w-0 truncate sm:block",
|
|
293
293
|
children: /* @__PURE__ */ jsx(StatusCopy, {
|
|
@@ -345,14 +345,14 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
|
|
|
345
345
|
tone: item.variant === "destructive" ? "destructive" : "default"
|
|
346
346
|
})),
|
|
347
347
|
onClick: () => onPublish(),
|
|
348
|
-
children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(
|
|
348
|
+
children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Spinner, { className: "mr-2" }), publishLabel] }) : publishLabel
|
|
349
349
|
}) : /* @__PURE__ */ jsx(Button, {
|
|
350
350
|
type: "button",
|
|
351
351
|
variant: "default",
|
|
352
352
|
size: actionButtonSize,
|
|
353
353
|
onClick: () => onPublish(),
|
|
354
354
|
disabled: disablePublish,
|
|
355
|
-
children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(
|
|
355
|
+
children: isSaving ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Spinner, { className: "mr-2" }), publishLabel] }) : publishLabel
|
|
356
356
|
}) : null
|
|
357
357
|
]
|
|
358
358
|
}),
|
|
@@ -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 {
|
|
6
|
-
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, 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-
|
|
7
|
-
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-
|
|
8
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-
|
|
4
|
+
import { $i as themeRuntimeScopeProps, $l as renderableMediaAssetSchema$1, $s as Dialog, B as initPreviewAuth, Ct as EditorWriteSurface, Dn as parseStoredSidebarWidth, Do as getResponsiveScopeSpec, En as SIDEBAR_WIDTH, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Et as getEditorClientId, Fn as renderSourceFor, Fs as editorAdmissionNotice, G as renderSiteChromeBlock, Gs as selectedCanvasBlockId, H as renewPreviewSession, Hn as unsafeAsLinkedContentEntryId, Is as editorAdmissionSession, It as ImageResolveContextProvider, Ln as resolveRenderedValues, Lr as LINKED_CONTENT_ENTRY_META_KEY, Ls as observeEditorAdmission, Mn as activeLinkedSaveHandover, Nn as planLinkedSaveHandoverRetention, O as PreviewRenderObservationsProvider, Pn as remoteDraftValues, Ql as buildRenderableMediaAssetIndex, Ri as buildResolveImageUrlContext, Rs as OPERATION_ID_HEADER, St as EditLeaseModal, U as usePreviewAuth, Uu as parseEditLeaseScope, V as registerPreviewRenewalFetcher, W as usePreviewToken, Ws as unwrapResponse, Xs as CalloutDescription, Ys as Callout, Zi as buildThemeDataAttrs, _ as PreviewFooterProvider, _l as canEditorWrite, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, ac as DialogTitle, bn as useEditorUiStoreInstance, bt as VIEWING_PARTICIPATION, ca as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, ct as EntryControllerProvider, da as measureSiteStickyChromeHeightPx, dl as cn, du as authoredValuesEqual, ed as unsafeAsEditorBlockId, eu as indexRenderableMediaAssets, f as PreviewThemeJournalProvider, fn as createRoutingHelpers, g as previewThemeBase, gs as assertNever$1, gt as createEditorApiClientFactory, i as usePreviewSidebarNavigation, ic as DialogHeader, in as blocksKeys, l as SiteChromeCustomizeProvider, la as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, ld as assertNever$2, m as usePreviewThemeSourceOptional, ma as siteTopChromeMeasurementTargets, ml as isEdited, nc as DialogDescription, p as usePreviewThemeSource, pa as planSiteOverlayHeaderClearance, pl as baselineRevisionOf, pn as createSnapshotFromPageRecord, pt as useServerRefresh, r as PreviewSidebarBootstrap, rc as DialogFooter, rl as Button, t as PreviewAssistantSlotProvider, tc as DialogContent, tt as SessionJournalHost, ua as SITE_STICKY_CHROME_HEIGHT_FALLBACK, un as ApiRequestError, ut as useEntryEditorController, v as useLiveFooterRuntime, va as planSiteChromePlacement, vt as savedPageSurfaceMetadataReceipt, xn as useOptionalEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, xu as parseFooterModuleId, yn as useEditorUiStore, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as getLinkedContentEntryMeta, zs as API_ENDPOINTS, zt as BlockApiProvider } from "./previewAssistantSlot-B-utyhbS.mjs";
|
|
5
|
+
import { H as GripVertical } from "./lucide-react-McYZeSMb.mjs";
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, 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-sjOvRAHY.mjs";
|
|
7
|
+
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-CCoGydUD.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";
|
|
@@ -216,8 +216,9 @@ function ToastProvider() {
|
|
|
216
216
|
position: "bottom-right",
|
|
217
217
|
offset: {
|
|
218
218
|
right: "calc(var(--assistant-dock-inset, 0px) + 24px)",
|
|
219
|
-
bottom: "24px"
|
|
219
|
+
bottom: "calc(var(--builder-editor-chrome-offset, 0px) + 24px)"
|
|
220
220
|
},
|
|
221
|
+
mobileOffset: { bottom: "calc(var(--builder-editor-chrome-offset, 0px) + 16px)" },
|
|
221
222
|
richColors: false,
|
|
222
223
|
className: "rb-sonner-toaster",
|
|
223
224
|
toastOptions: { classNames: {
|
|
@@ -4446,10 +4447,10 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4446
4447
|
}
|
|
4447
4448
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4448
4449
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4449
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
4450
|
+
return { default: (await import("./PreviewEditorSidebar-BUVFKZ4k.mjs")).PreviewEditorSidebar };
|
|
4450
4451
|
});
|
|
4451
4452
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4452
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4453
|
+
return { default: (await import("./PreviewEditorUI-292pOiSt.mjs")).PreviewEditorUI };
|
|
4453
4454
|
});
|
|
4454
4455
|
function renderShellProviders(input) {
|
|
4455
4456
|
if (!input.themeRoles) return input.content;
|