@riverbankcms/sdk 0.160.0 → 0.161.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-CoqeotCL.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-Dm7_P13o.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +4 -4
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-BgAzCrBc.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-DUiOnj9e.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/{index-Blwl7yl6.d.ts → index-BQDBQvdu.d.ts} +1 -1
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-BVkP8f70.d.ts} +1 -1
- package/dist/_dts/{index-CEaKil7G.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-DahMwisK.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-C5xslEBn.d.ts → index-KPrWM0KF.d.ts} +1 -1
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-DTjKOO-T.d.ts} +10 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{schema-D0bNcPWK.d.ts → schema-BHu0PYWl.d.ts} +18821 -16622
- 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/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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- 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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{types-D8czmbQF.d.ts → types-BR1Yboa9.d.ts} +1060 -140
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-CJXTCF_F.d.ts} +3 -3
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-BDpxmn1p.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-BxQLY5cX.mjs} +9 -9
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-BEx-qiDE.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-9RFrBejr.mjs} +29 -13
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +25 -13
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-Bf2nPACI.mjs} +809 -298
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CZweb1vs.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-q-RpJ4aF.mjs} +12 -12
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +5 -4
- package/dist/client/{context-BLAvalAa.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-D-ZqL7-e.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-C6GApWTB.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-CgvPACwG.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-Cbepz2KU.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B7H6gCbj.mjs} +297 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-BTmSXE3D.mjs} +355 -162
- package/dist/client/rendering/client.mjs +27 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +15 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-C-m8XHuW.mjs} +990 -2310
- package/dist/client/{shop-DZNC0VKk.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-TJYCBO_H.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-tsKfZw1W.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CVqLAU53.mjs} +6 -158
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-V2ifvGGy.mjs} +148 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-D1X69-pN.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-Bwzr1RjV.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CLAS0upd.mjs} +8 -21
- package/dist/client/{view-CkUn3Y0Y.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-CseyBW07.mjs → view-Dj_FZHmg.mjs} +18 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +110 -63
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-BdFjS39R.mjs} +4 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +425 -412
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +2982 -53859
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-b14Bv03E.mjs} +1079 -340
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dd1_mNIg.mjs} +1 -1
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +2 -2
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-hLg-yjQN.mjs} +41 -4
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-CeTd2saO.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-C5YpKuKt.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-Cv26lZQ4.mjs} +7 -5
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +461 -1064
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-C8a0b-cC.mjs} +11 -5
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-BW7dklu3.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-D1fiPOKF.mjs} +596 -301
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-CqJnokWJ.mjs} +133 -87
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-CvvZ4JIe.mjs} +41 -3
- package/dist/server/{registry-eFjKtEhF.mjs → registry-BVfCqaCq.mjs} +477 -1021
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-DPNvhXEz.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-CD4peO7m.mjs} +2203 -1223
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-C5Mu-z0F.mjs → src-ILxc6pid.mjs} +161 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{validation-B-Xar8QS.mjs → validation-B1ieVemg.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +157 -0
- package/package.json +1 -1
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as resolveButtonStyleSelection, D as buttonStyleSelectionParameterValue, E as buttonStyleHoverPreferenceValue, F as buttonStyleSelectionsEqual,
|
|
3
|
-
import { $
|
|
4
|
-
import { n as
|
|
5
|
-
import { C as
|
|
2
|
+
import { $r as VARIANT_ROLES, A as resolveButtonStyleSelection, D as buttonStyleSelectionParameterValue, E as buttonStyleHoverPreferenceValue, F as buttonStyleSelectionsEqual, M as updateButtonStyleSelectionChoice, N as buttonStyleSelectionKey, Pi as parseSiteId, Qr as getSiteFontsStorageUrl, Xr as buildFontPreviewUrl, Zr as generateFontFaceCss, er as paletteColorEntries, i as ThemedButtonSpecimen, j as updateButtonStyleHoverPreference, k as findButtonStyleRecipe, nr as paletteColorsSchema, wi as expectParsedBrandedId } from "./ThemedButton-b14Bv03E.mjs";
|
|
3
|
+
import { $ as lookTilePosition, $n as civilPickerDisplay, $t as ButtonVariantField, A as createStyleConfiguratorState, Aa as getCuratedSiteStyle, An as useEditorUiStoreInstance, Ao as SelectTrigger, B as previewButtonStyle, Ba as getHeaderStyle, Bs as displayedValues, Bt as SiteOptionWidgetProvider, C as acceptStyleSelection, Cn as BUILT_IN_REFERENCE_KINDS, Cr as SdkConfigProvider, D as applyResolvedSelections, Dn as resolvePageRouteSlug, Do as Select, Dr as mapCurrentValueForSelect, Dt as useAutosaveStatus, E as selectionSnapshotFromApplySiteStyleSelectionResponse, En as deriveRouteMetadataPresentation, Er as hasEmptyOption, F as markApplySaved, Fa as gradientToCss, Fo as SearchInput, Fr as parseBackgroundOverrideFromContent, G as resetTypographyToSaved, Gn as PaletteProvider, Go as TabsList, Gs as parseBookingLocalDate, Gt as loadMailingListAuthoringContext, H as previewFooterLook, Ha as replaceSiteStyleCompilationPlan, Hn as isEdited, Hs as valueStatus, Ht as OfferingsPreviewGroupOrderField, I as markApplySaving, Ia as GRADIENT_PRESETS, Io as Popover, J as styleConfiguratorHistoryEntryForPersistedSelection, Jt as IconPickerField, K as restageSelectionChanges, Kn as usePalette, Ko as TabsTrigger, Ks as parseUtcIsoDateTimeString, Kt as MailingListTargetingProvider, L as openRow, La as getGradientPreset, Lo as PopoverContent, Lr as planBackgroundTransition, Lt as createSiteOptionApiLoader, M as dismissWarnings, Ma as offeredSiteStyles, Mt as LinkedEntryLeaseBanner, N as isPreviewingChange, Na as palettesForSiteStyle, No as Callout, Nr as enabledBackgroundModes, O as applyTypographyDraftPatch, On as resolveContentTitle, Oo as SelectContent, Or as mapOptionValueForSelect, Os as cn, P as markApplyFailed, Po as CalloutDescription, Pr as imagePoolForOverride, Qt as ContentTypeWidgetProvider, R as palettePreviewProjection, Ra as findFooterLook, Ro as PopoverTrigger, Rr as rankBackgroundImagePoolItems, Rt as createSiteOptionWidgetAdapters, S as reportPreviewDesignError, Sn as routeLifecycleContext, So as FieldFrame, St as useEntryController, T as buildApplySiteStyleSelectionBody, Tn as parseReferenceKind, Ts as Button, U as previewHeaderLayout, Ua as defaultFooterPreferences, Un as canWriteLinkedEntry, Uo as Tabs, Ut as OfferingsPreviewWidgetProvider, V as previewCuratedPalette, Va as defaultHeaderLogoContext, Vr as ThemeScope, Vs as syncStateOf, W as previewHeaderStyle, Wo as TabsContent, Wr as resolveSdkFooterMode, Ws as formatDate, Wt as MailingListTargetingField, X as toggleRow, Xt as EntryPickerWidgetProvider, Y as syncStyleConfiguratorState, Yn as createManifestValidation, Ys as assertNever$1, Yt as EntryPickerField, Zn as FormRenderer, Zt as ContentTypeSelectField, _a as compileUpdatedSiteThemeFromSelections, _r as unwrapResponse, a as usePreviewDesignCoordinator, an as useRichTextImagePicker, as as Collapsible, c as buildSiteChromeSelectionModels, cs as Surface, d as createOptimisticActionRunner, dn as LinkWidgetProvider, dr as getDashboardUrl, ds as DropdownMenuItem, dt as FooterComposerPanel, en as ButtonWidgetProvider, f as resolveStyleConfiguratorInitialSnapshot, fn as BlockEditor, fs as DropdownMenuLabel, g as usePreviewPageDesignEditorState, ga as compileReplacementSiteThemeFromSelections, in as ReferenceWidgetProvider, j as deriveStyleConfiguratorCapabilities, jo as SelectValue, jr as canCycleBackgroundOverrideValue, k as cancelPreview, kn as useEditorUiStore, ko as SelectItem, kr as unmapValueFromSelect, ks as useField, l as cycleSiteChromeSelectionId, ls as DropdownMenu, ms as DropdownMenuTrigger, n as useSiteChromeCustomizeOptional, nn as MediaField, nr as listPageSurfaceContentSlots, nt as selectedLookTile, oi as buildThemeRuntime, on as RichTextField, os as CollapsibleContent, pn as BlockSourceLine, ps as DropdownMenuSeparator, pt as resolveFooterLayoutHints, q as setPaletteColors, qn as ManifestForm, qs as resolveBookingBusinessTimeZone, qt as InlineTextField, r as StyleSwitchSummary, rn as ReferenceField, rr as blocksKeys, sn as RichTextWidgetProvider, ss as CollapsibleTrigger, st as usePreviewAuth, tn as FileField, tr as listEntryPageContentSlots, u as planSiteChromeSelection, un as LinkField, us as DropdownMenuContent, vt as ContentFieldsForm, w as usePreviewAuthoringAdmission, wn as isAdapterReferenceKind, wr as useSdkConfig, wt as useOptionalSessionJournal, x as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, xr as createStoreBackend, yt as useUISelector, z as planStyleSwitch, za as getHeaderLayout, zn as toEditorBlockItem, zo as Input, zr as resolveBackgroundCapability, zt as SiteOptionPickerField } from "./SiteChromeCustomizeContext-CDbxk_qZ.mjs";
|
|
4
|
+
import { D as Maximize2, T as Monitor, dt as ChevronDown, f as Smartphone, ft as Check, l as Tablet, lt as ChevronRight, n as X$1, p as SlidersHorizontal, ut as ChevronLeft } from "./lucide-react-CA9cpo0P.mjs";
|
|
5
|
+
import { C as setPageDesignBlockBackground, D as gradientLabel, E as formatTokenLabel, M as locationWidgetOverrides, O as readBackgroundColorPaletteSnapshot, S as pageDesignLookTiles, T as BackgroundPreviewSwatch, _ as lookIsAutomatic, c as resolvePreviewSidebarChromeModel, d as useBlockCustomizeControls, f as ArrangementLookNote, h as ArrangementOptionsBody, i as resolvePreviewDashboardSetupHandoff, j as usePreviewBlockCustomizeSelectionOptional, o as resolvePreviewEditorGuidanceModel, r as buildPreviewDashboardSetupUrl, t as canInspectSiteStyle, u as usePreviewSiteFontStorageUrl, v as useArrangementToolbar, w as BackgroundChooser, y as CustomizeBackgroundControlRows } from "./siteStyleAccess-Kqk0j0dE.mjs";
|
|
6
|
+
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-QtSG2Bl-.mjs";
|
|
7
|
+
import { n as Separator, t as Spinner } from "./spinner-CGxS8Ns-.mjs";
|
|
6
8
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, useTransition } from "react";
|
|
7
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
10
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -1677,6 +1679,20 @@ function createPreviewReferenceAdapters(previewClient, fallbackSiteId) {
|
|
|
1677
1679
|
};
|
|
1678
1680
|
return createDynamicReferenceAdapters(adapters, (contentTypeKey) => createCachedDynamicContentReferenceAdapter(contentTypeKey, previewClient, brandedFallbackSiteId));
|
|
1679
1681
|
}
|
|
1682
|
+
/** The same content-type select as the dashboard, using the authenticated preview transport. */
|
|
1683
|
+
function createPreviewContentTypeAdapter(apiClient) {
|
|
1684
|
+
return { loadContentTypes: async ({ siteId }) => {
|
|
1685
|
+
return unwrapResponse(await apiClient({
|
|
1686
|
+
endpoint: "listContentTypes",
|
|
1687
|
+
params: { siteId }
|
|
1688
|
+
})).contentTypes.map((content) => ({
|
|
1689
|
+
key: content.key,
|
|
1690
|
+
name: content.name,
|
|
1691
|
+
description: content.description ?? void 0,
|
|
1692
|
+
hasPages: content.hasPages ?? false
|
|
1693
|
+
}));
|
|
1694
|
+
} };
|
|
1695
|
+
}
|
|
1680
1696
|
//#endregion
|
|
1681
1697
|
//#region ../preview-next/src/client/widgets/widgetOverrides.tsx
|
|
1682
1698
|
function PreviewFormProviderInner({ theme, children }) {
|
|
@@ -1694,7 +1710,10 @@ function PreviewFormProviderInner({ theme, children }) {
|
|
|
1694
1710
|
*/
|
|
1695
1711
|
function PreviewFormProvider({ siteId: rawSiteId, theme = null, previewClient, bookingOfferingPresets, sdkConfig, children }) {
|
|
1696
1712
|
const siteId = useMemo(() => expectParsedBrandedId(parseSiteId(rawSiteId)), [rawSiteId]);
|
|
1713
|
+
const locationHost = useOptionalLocationPickerEnvironment();
|
|
1714
|
+
const locationClient = locationHost?.siteId === siteId ? locationHost.apiClient : previewClient;
|
|
1697
1715
|
const linkAdapters = useMemo(() => createPreviewLinkAdapters(previewClient), [previewClient]);
|
|
1716
|
+
const contentTypeAdapter = useMemo(() => createPreviewContentTypeAdapter(previewClient), [previewClient]);
|
|
1698
1717
|
const entryPickerAdapter = useMemo(() => createPreviewEntryPickerAdapter(previewClient), [previewClient]);
|
|
1699
1718
|
const siteOptionAdapters = useMemo(() => createPreviewSiteOptionAdapters(previewClient), [previewClient]);
|
|
1700
1719
|
const referenceAdapters = useMemo(() => createPreviewReferenceAdapters(previewClient), [previewClient]);
|
|
@@ -1706,35 +1725,43 @@ function PreviewFormProvider({ siteId: rawSiteId, theme = null, previewClient, b
|
|
|
1706
1725
|
return;
|
|
1707
1726
|
}
|
|
1708
1727
|
}, [theme]);
|
|
1709
|
-
return /* @__PURE__ */ jsx(
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
children: /* @__PURE__ */ jsx(
|
|
1728
|
+
return /* @__PURE__ */ jsx(LocationPickerEnvironmentProvider, {
|
|
1729
|
+
siteId,
|
|
1730
|
+
apiClient: locationClient,
|
|
1731
|
+
children: /* @__PURE__ */ jsx(ContentTypeWidgetProvider, {
|
|
1732
|
+
siteId,
|
|
1733
|
+
adapter: contentTypeAdapter,
|
|
1734
|
+
children: /* @__PURE__ */ jsx(SdkConfigProvider, {
|
|
1735
|
+
sdkConfig: sdkConfig ?? null,
|
|
1736
|
+
children: /* @__PURE__ */ jsx(PaletteProvider, {
|
|
1737
|
+
tokens: paletteTokens,
|
|
1738
|
+
children: /* @__PURE__ */ jsx(LinkWidgetProvider, {
|
|
1720
1739
|
siteId,
|
|
1721
|
-
|
|
1722
|
-
children: /* @__PURE__ */ jsx(
|
|
1740
|
+
adapters: linkAdapters,
|
|
1741
|
+
children: /* @__PURE__ */ jsx(ReferenceWidgetProvider, {
|
|
1723
1742
|
siteId,
|
|
1724
|
-
adapters:
|
|
1725
|
-
children: /* @__PURE__ */ jsx(
|
|
1743
|
+
adapters: referenceAdapters,
|
|
1744
|
+
children: /* @__PURE__ */ jsx(EntryPickerWidgetProvider, {
|
|
1726
1745
|
siteId,
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
siteId
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1746
|
+
adapter: entryPickerAdapter,
|
|
1747
|
+
children: /* @__PURE__ */ jsx(SiteOptionWidgetProvider, {
|
|
1748
|
+
siteId,
|
|
1749
|
+
adapters: siteOptionAdapters,
|
|
1750
|
+
children: /* @__PURE__ */ jsx(MailingListTargetingProvider, {
|
|
1751
|
+
siteId,
|
|
1752
|
+
load: (targetSiteId) => loadMailingListAuthoringContext({
|
|
1753
|
+
apiClient: previewClient,
|
|
1754
|
+
siteId: targetSiteId
|
|
1755
|
+
}),
|
|
1756
|
+
children: /* @__PURE__ */ jsx(ButtonWidgetProvider, {
|
|
1757
|
+
buttonSystem: theme?.buttons ?? null,
|
|
1758
|
+
children: /* @__PURE__ */ jsx(OfferingsPreviewWidgetProvider, {
|
|
1759
|
+
bookingOfferingPresets,
|
|
1760
|
+
children: /* @__PURE__ */ jsx(PreviewFormProviderInner, {
|
|
1761
|
+
theme,
|
|
1762
|
+
children
|
|
1763
|
+
})
|
|
1764
|
+
})
|
|
1738
1765
|
})
|
|
1739
1766
|
})
|
|
1740
1767
|
})
|
|
@@ -1747,6 +1774,8 @@ function PreviewFormProvider({ siteId: rawSiteId, theme = null, previewClient, b
|
|
|
1747
1774
|
});
|
|
1748
1775
|
}
|
|
1749
1776
|
const previewWidgetOverrides = {
|
|
1777
|
+
...locationWidgetOverrides,
|
|
1778
|
+
contentTypeSelect: ContentTypeSelectField,
|
|
1750
1779
|
link: LinkField,
|
|
1751
1780
|
file: FileField,
|
|
1752
1781
|
media: MediaField,
|
|
@@ -2574,7 +2603,7 @@ function mergedImagePool(current, pool) {
|
|
|
2574
2603
|
}
|
|
2575
2604
|
function backgroundModeLabel(mode) {
|
|
2576
2605
|
return {
|
|
2577
|
-
default: "
|
|
2606
|
+
default: "Set by your site style",
|
|
2578
2607
|
color: "Colour",
|
|
2579
2608
|
gradient: "Gradient",
|
|
2580
2609
|
image: "Photo"
|
|
@@ -2582,7 +2611,7 @@ function backgroundModeLabel(mode) {
|
|
|
2582
2611
|
}
|
|
2583
2612
|
function backgroundValueLabel(override, pool) {
|
|
2584
2613
|
switch (override.kind) {
|
|
2585
|
-
case "default": return "
|
|
2614
|
+
case "default": return "Your site style’s colour";
|
|
2586
2615
|
case "color": return formatTokenLabel(override.token);
|
|
2587
2616
|
case "gradient": return gradientLabel(override.gradientId);
|
|
2588
2617
|
case "image": return pool.find((item) => item.reference.identifier === override.reference.identifier)?.label ?? "Image";
|
|
@@ -2612,7 +2641,7 @@ function SelectedBlockLookControls(props) {
|
|
|
2612
2641
|
}) : null,
|
|
2613
2642
|
/* @__PURE__ */ jsx(BlockLookChoices, {
|
|
2614
2643
|
block: props.designBlock,
|
|
2615
|
-
|
|
2644
|
+
arrangement: toolbar?.controls,
|
|
2616
2645
|
onChoose: chooseLook
|
|
2617
2646
|
}),
|
|
2618
2647
|
toolbar ? /* @__PURE__ */ jsx(ArrangementLookNote, {
|
|
@@ -2674,9 +2703,10 @@ function useLookSectionActions({ blockId, content, designBlock }) {
|
|
|
2674
2703
|
historyFailure
|
|
2675
2704
|
};
|
|
2676
2705
|
}
|
|
2677
|
-
function BlockLookChoices({ block,
|
|
2706
|
+
function BlockLookChoices({ block, arrangement, onChoose }) {
|
|
2678
2707
|
const [changing, setChanging] = useState(false);
|
|
2679
|
-
|
|
2708
|
+
const tiles = arrangement?.tiles ?? pageDesignLookTiles(block);
|
|
2709
|
+
if (!tiles.length) return null;
|
|
2680
2710
|
const choose = (id) => {
|
|
2681
2711
|
onChoose(id);
|
|
2682
2712
|
setChanging(false);
|
|
@@ -2684,61 +2714,79 @@ function BlockLookChoices({ block, look, onChoose }) {
|
|
|
2684
2714
|
return /* @__PURE__ */ jsxs("div", {
|
|
2685
2715
|
className: "space-y-2",
|
|
2686
2716
|
children: [/* @__PURE__ */ jsx(BlockLookCard, {
|
|
2687
|
-
|
|
2688
|
-
look,
|
|
2717
|
+
card: lookCardFor(tiles, arrangement?.look ?? null),
|
|
2689
2718
|
changing,
|
|
2690
2719
|
onChange: () => setChanging((value) => !value)
|
|
2691
2720
|
}), changing ? /* @__PURE__ */ jsx(BlockLookTiles, {
|
|
2692
|
-
|
|
2721
|
+
tiles,
|
|
2693
2722
|
onChoose: choose
|
|
2694
2723
|
}) : null]
|
|
2695
2724
|
});
|
|
2696
2725
|
}
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2726
|
+
/** What the Look card says, read from the same tiles the chooser lists. */
|
|
2727
|
+
function lookCardFor(tiles, look) {
|
|
2728
|
+
return {
|
|
2729
|
+
name: look?.lookName ?? selectedLookTile(tiles)?.label ?? "Default",
|
|
2730
|
+
automatic: look ? lookIsAutomatic(look) : false,
|
|
2731
|
+
position: lookTilePosition(tiles),
|
|
2732
|
+
canChange: tiles.length > 1
|
|
2733
|
+
};
|
|
2734
|
+
}
|
|
2735
|
+
function BlockLookCard({ card, changing, onChange }) {
|
|
2701
2736
|
return /* @__PURE__ */ jsxs("div", {
|
|
2702
2737
|
className: "flex items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5",
|
|
2703
2738
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
2704
2739
|
className: "min-w-0 flex-1",
|
|
2705
2740
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
2706
2741
|
className: "truncate text-sm font-semibold leading-5 text-foreground",
|
|
2707
|
-
children: [
|
|
2708
|
-
}), position ? /* @__PURE__ */ jsxs("div", {
|
|
2742
|
+
children: [card.automatic ? "Default · " : "", card.name]
|
|
2743
|
+
}), card.position ? /* @__PURE__ */ jsxs("div", {
|
|
2709
2744
|
className: "text-xs leading-4 text-muted-foreground",
|
|
2710
|
-
children: [position, " Looks"]
|
|
2745
|
+
children: [card.position, " Looks"]
|
|
2711
2746
|
}) : null]
|
|
2712
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
2747
|
+
}), card.canChange ? /* @__PURE__ */ jsx("button", {
|
|
2713
2748
|
type: "button",
|
|
2714
2749
|
"aria-expanded": changing,
|
|
2715
2750
|
className: lookChangeButtonClass,
|
|
2716
2751
|
onClick: onChange,
|
|
2717
2752
|
children: "Change"
|
|
2718
|
-
})]
|
|
2753
|
+
}) : null]
|
|
2719
2754
|
});
|
|
2720
2755
|
}
|
|
2721
|
-
function BlockLookTiles({
|
|
2722
|
-
|
|
2723
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
2756
|
+
function BlockLookTiles({ tiles, onChoose }) {
|
|
2757
|
+
return /* @__PURE__ */ jsx("div", {
|
|
2724
2758
|
className: "grid grid-cols-2 gap-1.5",
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2759
|
+
role: "group",
|
|
2760
|
+
"aria-label": "Looks",
|
|
2761
|
+
children: tiles.map((tile) => /* @__PURE__ */ jsx(LookTileButton, {
|
|
2762
|
+
tile,
|
|
2763
|
+
onChoose
|
|
2764
|
+
}, tile.key))
|
|
2765
|
+
});
|
|
2766
|
+
}
|
|
2767
|
+
/** The badge is a description, so the tile is still named for its Look alone. */
|
|
2768
|
+
function LookTileButton({ tile, onChoose }) {
|
|
2769
|
+
const badged = tile.isDefault && tile.key !== "style-default";
|
|
2770
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
2771
|
+
type: "button",
|
|
2772
|
+
"aria-pressed": tile.selected,
|
|
2773
|
+
"aria-description": badged ? "Default" : void 0,
|
|
2774
|
+
className: lookTileClass(tile.selected),
|
|
2775
|
+
onClick: () => onChoose(tile.pin),
|
|
2776
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
2777
|
+
className: "min-w-0 flex-1",
|
|
2778
|
+
children: tile.label
|
|
2779
|
+
}), badged ? /* @__PURE__ */ jsx("span", {
|
|
2780
|
+
"aria-hidden": "true",
|
|
2781
|
+
className: lookDefaultBadgeClass,
|
|
2729
2782
|
children: "Default"
|
|
2730
|
-
})
|
|
2731
|
-
type: "button",
|
|
2732
|
-
"aria-pressed": look.id === current,
|
|
2733
|
-
className: lookTileClass(look.id === current),
|
|
2734
|
-
onClick: () => onChoose(look.id),
|
|
2735
|
-
children: look.label
|
|
2736
|
-
}, look.id))]
|
|
2783
|
+
}) : null]
|
|
2737
2784
|
});
|
|
2738
2785
|
}
|
|
2739
2786
|
const lookChangeButtonClass = "shrink-0 rounded-full border border-border bg-background px-3 py-1 text-xs font-medium text-foreground hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
|
|
2787
|
+
const lookDefaultBadgeClass = "shrink-0 rounded-full bg-muted px-1.5 py-0.5 text-[10px] font-semibold leading-3 text-muted-foreground";
|
|
2740
2788
|
function lookTileClass(selected) {
|
|
2741
|
-
return ["min-h-10 rounded-md border px-2.5 py-2 text-left text-xs font-medium leading-4 text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", selected ? "border-foreground ring-1 ring-foreground" : "border-border bg-background hover:bg-muted"].join(" ");
|
|
2789
|
+
return ["flex min-h-10 items-center gap-1.5 rounded-md border px-2.5 py-2 text-left text-xs font-medium leading-4 text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", selected ? "border-foreground ring-1 ring-foreground" : "border-border bg-background hover:bg-muted"].join(" ");
|
|
2742
2790
|
}
|
|
2743
2791
|
//#endregion
|
|
2744
2792
|
//#region ../preview-next/src/client/preview/SelectedBlockCustomizePanel.tsx
|
|
@@ -2795,7 +2843,6 @@ function SelectedBlockCustomizeFields({ block, blockId, uiStoreForBlockEditor, t
|
|
|
2795
2843
|
fields,
|
|
2796
2844
|
backend,
|
|
2797
2845
|
sectionPlan,
|
|
2798
|
-
sectionOptions: { lookField: manifest.lookField },
|
|
2799
2846
|
widgetOverrides: previewWidgetOverrides,
|
|
2800
2847
|
blockKind: block.kind,
|
|
2801
2848
|
lookContent: customizeControls.lookSource.kind === "sdk" || !designBlock ? void 0 : /* @__PURE__ */ jsx(SelectedBlockLookControls, {
|
package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-BdFjS39R.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Co as Tooltip, Ct as useEntryEditorController, Dt as useAutosaveStatus, Es as cva, Et as classifyHistoryShortcut, Ft as EditorWriteSurface, Jo as DialogContent, Mn as canDiscardDraft, Os as cn, Qo as DialogTitle, To as TooltipTrigger, Ts as Button, Tt as useSessionJournalHistory, Yo as DialogDescription, Zo as DialogHeader, _r as unwrapResponse, b as selectPreviewDesignHistoryDomain, ds as DropdownMenuItem, g as usePreviewPageDesignEditorState, kn as useEditorUiStore, ln as useEditor, ls as DropdownMenu, ms as DropdownMenuTrigger, n as useSiteChromeCustomizeOptional, qo as Dialog, st as usePreviewAuth, us as DropdownMenuContent, v as usePreviewDesignHistoryOrder, wo as TooltipContent, wt as useOptionalSessionJournal, y as previewDesignHistoryDomainForCommand } from "./SiteChromeCustomizeContext-CDbxk_qZ.mjs";
|
|
3
|
+
import { A as LoaderCircle, S as Palette, Y as Eye, Z as EllipsisVertical, b as Pencil, dt as ChevronDown, o as Undo2, s as TriangleAlert, v as Redo2, x as PenLine } from "./lucide-react-CA9cpo0P.mjs";
|
|
4
|
+
import { t as Spinner } from "./spinner-CGxS8Ns-.mjs";
|
|
5
|
+
import { a as resolvePreviewChromeSurface, c as PREVIEW_THEME_COOKIE_NAME, l as PREVIEW_CHROME_Z_INDEX, n as PREVIEW_CHROME_THEME_CLASS_NAME, r as applyPreviewChromeSurfaceToElement, t as PREVIEW_CHROME_PORTAL_CLASS_NAME, u as FixedBottomSurface } from "./previewChromeSurface-Dd1_mNIg.mjs";
|
|
5
6
|
import * as React$1 from "react";
|
|
6
7
|
import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
7
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|