@riverbankcms/sdk 0.162.0 → 0.163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-zwnvFBPu.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +3 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-Chh3bnXC.d.ts} +1 -1
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-GJ1kGBsi.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-C3mJvn27.d.ts} +4 -4
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-CaL0nKkl.d.ts} +81 -26
- package/dist/_dts/{index-DEu85xBt.d.ts → index-CdSNXLOx.d.ts} +1 -1
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-CyQhZuhM.d.ts} +49 -3
- package/dist/_dts/{index-C39F9KaB.d.ts → index-D2y4Iy-d.d.ts} +1 -1
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DRxgeK8L.d.ts} +4 -3
- package/dist/_dts/{index-Du1IRglc.d.ts → index-FstkyqQB.d.ts} +2 -2
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-G2p-HOrK.d.ts} +3 -3
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-rhMSu0oY.d.ts} +2 -2
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DiLZoInK.d.ts} +7 -7
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-CWUnipv8.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 +6 -6
- 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/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
- 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/{types-CfNG5koF.d.ts → types-BmtrA45p.d.ts} +2 -2
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-CalL7aKP.d.ts} +7 -7
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DFOqkClJ.d.ts} +3 -3
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-G8MRoIhq.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-ffa6920T.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-CND3mfra.mjs} +91 -15
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-BfnOmxYD.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-wlyxASdT.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-B9oKSitp.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-BEF9HrAy.mjs} +584 -251
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-DclwabI7.mjs} +1 -1
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-lzM2nSZB.mjs} +1 -1
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-Bll4QwBi.mjs} +12 -12
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-CxerQwIx.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-X-m0isoI.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-CJbzWIl0.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-Gd0O_fGH.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BFwxgZpB.mjs → context-Bg0SFWcM.mjs} +1 -1
- package/dist/client/{cta-DtA42Xio.mjs → cta-HffyM4MA.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-CV45BH5M.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-SFtS9OkF.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-BS0kBEgI.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-DAIUrVXb.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-BoAkhoh_.mjs} +4 -4
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-1VnasOK8.mjs} +3 -3
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BKil_Psb.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
- package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-DIkX2S-X.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-4XFGzJpT.mjs} +3 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BRqgcotZ.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-EK9Um-oh.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-VD4arFq1.mjs} +3 -3
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-qYbsatxH.mjs} +19 -19
- package/dist/client/rendering/client.mjs +26 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +19 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-BFwQDvJL.mjs} +846 -497
- package/dist/client/{shop-CF0dhnfH.mjs → shop-CTUaT57E.mjs} +3 -3
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-UWgdmJBm.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-Cf_kASpd.mjs} +44 -26
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-Bi8d584P.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-dy54AUdz.mjs} +747 -32
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-Bi8ruFgB.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-DiLbDqM3.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
- package/dist/client/{view-BpBjo9Te.mjs → view-OvsxzgxP.mjs} +7 -7
- package/dist/client/{view-DMyTchi7.mjs → view-yUIfWX3S.mjs} +4 -4
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-kbONzKUv.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +10 -8
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-lndKKBtB.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +139 -1264
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-nUnE3iMv.mjs} +403 -66
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-DHtSQIBE.mjs} +12933 -11769
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-Chq5KKKh.mjs} +3782 -2453
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-CjxE3uws.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-CxCstfkP.mjs} +9 -0
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-S-gCHhj5.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-C2Q56xqV.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-DLzJPcDL.mjs} +713 -12
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-D7ItMsEl.mjs} +4 -4
- package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-DaPiPYUL.mjs} +2 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-W1Cc6srh.mjs} +177 -80
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-BF9yNfCS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Cn9k3DW6.mjs} +10 -6
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-BVcJ6TG7.mjs} +11 -2
- package/dist/server/{registry-Digv02oV.mjs → registry-4ZF3bUuJ.mjs} +97 -42
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-DgrigZq9.mjs} +4118 -3769
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-CxE9F3hj.mjs} +36 -22
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
- package/dist/server/{src-08GY1njw.mjs → src-C44_fMy5.mjs} +291 -106
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-CVc04B9m.mjs} +2 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-BrbY0nxR.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-BBSk8uM6.mjs} +1 -1
- package/dist/styles/index.css +162 -72
- package/package.json +1 -1
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-
|
|
3
|
+
import { gn as textColorStyle, j as parseThemeButtonVariantId } from "./schema-BFwQDvJL.mjs";
|
|
4
|
+
import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
|
|
5
5
|
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
6
|
-
import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-
|
|
7
|
-
import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-
|
|
8
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
9
|
-
import { n as resolveEventLinkProps } from "./cta-
|
|
10
|
-
import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
11
|
-
import {
|
|
12
|
-
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-
|
|
13
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
6
|
+
import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-kbONzKUv.mjs";
|
|
7
|
+
import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-4XFGzJpT.mjs";
|
|
8
|
+
import { t as LocationMapActions } from "./LocationMapActions-wlyxASdT.mjs";
|
|
9
|
+
import { n as resolveEventLinkProps } from "./cta-HffyM4MA.mjs";
|
|
10
|
+
import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CVLAHdZG.mjs";
|
|
11
|
+
import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-CND3mfra.mjs";
|
|
12
|
+
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-B9oKSitp.mjs";
|
|
13
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-CW8CFk8v.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { z } from "zod";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Cr as unsafeAsAppointmentResourceId } from "./schema-BFwQDvJL.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { At as resolveBookingTimeZoneId, Ct as formatLocalScheduleDate, Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, Tt as getLocalScheduleDate, mt as formatTime$1, ut as formatDate$1, yt as addLocalScheduleDays } from "./noop-
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
+
import { At as resolveBookingTimeZoneId, Ct as formatLocalScheduleDate, Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, Tt as getLocalScheduleDate, mt as formatTime$1, ut as formatDate$1, yt as addLocalScheduleDays } from "./noop-4XFGzJpT.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
|
|
6
6
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
7
7
|
//#region ../blocks/src/utils/date-formatting.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Nt as toUtcIsoDateTimeString } from "./noop-
|
|
2
|
+
import { Nt as toUtcIsoDateTimeString } from "./noop-4XFGzJpT.mjs";
|
|
3
3
|
import { useCallback, useEffect, useState } from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
|
|
5
5
|
const ANCHOR_CLOCK = { kind: "anchor" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Mr as err, Nr as ok } from "./schema-BFwQDvJL.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
4
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { useCallback } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-
|
|
5
|
-
import { Ft as normalizeCsvIds, It as normalizeCsvString, Lt as normalizeOptionalId, Pt as getEventRuntimeFiltersKey } from "./shop.interactive-
|
|
6
|
-
import { r as EventItem } from "./EventItem-
|
|
7
|
-
import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
+
import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
|
|
5
|
+
import { Ft as normalizeCsvIds, It as normalizeCsvString, Lt as normalizeOptionalId, Pt as getEventRuntimeFiltersKey } from "./shop.interactive-Cf_kASpd.mjs";
|
|
6
|
+
import { r as EventItem } from "./EventItem-CND3mfra.mjs";
|
|
7
|
+
import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-BfnOmxYD.mjs";
|
|
8
|
+
import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
|
|
9
9
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/runtime/hooks/loadStateError.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { U as formatCurrencyAmount } from "./ThemedButton-
|
|
2
|
+
import { U as formatCurrencyAmount } from "./ThemedButton-DclwabI7.mjs";
|
|
3
3
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
4
4
|
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
5
|
-
import { $r as formatBookingPriceDisplay, Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, ai as publicEventPricingType, cn as eventDateOptions, mn as formatEventDateParts, ni as publicEventPricingCurrency, pn as formatEventCompactDateRail, ri as publicEventPricingDisplay, ti as isPublicEventPricingOptionDisplayable, wn as formatEventRemainingPlaces } from "./wizardSteps-
|
|
6
|
-
import { Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Tt as getLocalScheduleDate, dt as formatDateRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, pt as formatDateTimeRange, ut as formatDate, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-
|
|
7
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
8
|
-
import { Bt as CardListContentPart, Xt as formatEventPriceAmount, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _t as formatBookingSchedulePresentation } from "./shop.interactive-
|
|
9
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
10
|
-
import { n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
5
|
+
import { $r as formatBookingPriceDisplay, Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, ai as publicEventPricingType, cn as eventDateOptions, mn as formatEventDateParts, ni as publicEventPricingCurrency, pn as formatEventCompactDateRail, ri as publicEventPricingDisplay, ti as isPublicEventPricingOptionDisplayable, wn as formatEventRemainingPlaces } from "./wizardSteps-kbONzKUv.mjs";
|
|
6
|
+
import { Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Tt as getLocalScheduleDate, dt as formatDateRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, pt as formatDateTimeRange, ut as formatDate, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-4XFGzJpT.mjs";
|
|
7
|
+
import { t as LocationMapActions } from "./LocationMapActions-wlyxASdT.mjs";
|
|
8
|
+
import { Bt as CardListContentPart, Xt as formatEventPriceAmount, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _t as formatBookingSchedulePresentation } from "./shop.interactive-Cf_kASpd.mjs";
|
|
9
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-HffyM4MA.mjs";
|
|
10
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-B9oKSitp.mjs";
|
|
11
11
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
4
|
-
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
|
|
4
|
+
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-Cf_kASpd.mjs";
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-CND3mfra.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { B as getBookingInstalmentPlanIntervalCount, C as clsx, F as resolveAvailableBookingCollectionOptions, I as resolveBookingCollectionOptionFacts, L as getBookingLaterInstalments, M as planFlexibleBalanceCreditFirst, N as isBookingCollectionEquivalentToUpfront, O as checkoutCopy, P as repriceBookingCollectionOptions, U as formatCurrencyAmount, j as planCheckoutPaymentFlow, k as getStripeMinimumChargeRequirement } from "./ThemedButton-
|
|
3
|
+
import { Ar as unsafeAsStorageBucketName, Dr as unsafeAsMediaAssetId, En as PUBLIC_BUTTON_ROLES, Mr as err, Nr as ok$1, Xt as parseResolvedSurface, bn as opaqueSurfaceDeclarations, dn as backgroundColorStyle, dr as resolveManagedMediaReference, gn as textColorStyle, jr as unsafeAsStoragePath, mn as mergeStyles, pr as parseCanonicalMediaIdentifier, sr as runtimeMediaSchema, vr as parseEventOfferingId, yr as parseEventSeriesId } from "./schema-BFwQDvJL.mjs";
|
|
4
|
+
import { B as getBookingInstalmentPlanIntervalCount, C as clsx, F as resolveAvailableBookingCollectionOptions, I as resolveBookingCollectionOptionFacts, L as getBookingLaterInstalments, M as planFlexibleBalanceCreditFirst, N as isBookingCollectionEquivalentToUpfront, O as checkoutCopy, P as repriceBookingCollectionOptions, U as formatCurrencyAmount, j as planCheckoutPaymentFlow, k as getStripeMinimumChargeRequirement } from "./ThemedButton-DclwabI7.mjs";
|
|
5
5
|
import { c as assertNever, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
6
|
-
import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-
|
|
7
|
-
import { l as arrangementSlotNames } from "./site-styles-
|
|
8
|
-
import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-
|
|
6
|
+
import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-4XFGzJpT.mjs";
|
|
7
|
+
import { l as arrangementSlotNames } from "./site-styles-dy54AUdz.mjs";
|
|
8
|
+
import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-DIkX2S-X.mjs";
|
|
9
9
|
import React from "react";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import "./route-contract-
|
|
2
|
+
import "./route-contract-CxCstfkP.mjs";
|
|
3
3
|
import { i as resolvePreviewRuntimeSession, t as getPreviewSession } from "./session-P1R_ajT7.mjs";
|
|
4
4
|
import "./refresh-contract-uQ6BXgLJ.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { bi as checkBrowserStripeKey, n as ThemedButton, vi as SpinnerNode } from "./ThemedButton-nUnE3iMv.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,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as resolveButtonStyleSelection, D as buttonStyleSelectionParameterValue, E as buttonStyleHoverPreferenceValue, F as buttonStyleSelectionsEqual,
|
|
3
|
-
import { $ as MailingListTargetingField, $
|
|
2
|
+
import { A as resolveButtonStyleSelection, D as buttonStyleSelectionParameterValue, E as buttonStyleHoverPreferenceValue, F as buttonStyleSelectionsEqual, Ji as parseSiteId, Li as expectParsedBrandedId, M as updateButtonStyleSelectionChoice, N as buttonStyleSelectionKey, fi as VARIANT_ROLES, fr as paletteColorsSchema, i as ThemedButtonSpecimen, j as updateButtonStyleHoverPreference, k as findButtonStyleRecipe, ur as paletteColorEntries } from "./ThemedButton-nUnE3iMv.mjs";
|
|
3
|
+
import { $ as MailingListTargetingField, $n as ThemeScope, $o as TabsList, $t as toEditorBlockItem, Aa as getCuratedSiteStyle, Ba as getGradientPreset, Bt as resolveContentTitle, D as JournalWriteRefused, Fa as palettesForSiteStyle, Fo as Select, Ft as BUILT_IN_REFERENCE_KINDS, Gn as SdkConfigProvider, Go as PopoverContent, H as LinkedEntryLeaseBanner, Ha as findFooterLook, Ho as CalloutDescription, Ht as useEditorUiStoreInstance, Io as SelectContent, Is as cn, It as isAdapterReferenceKind, J as SiteOptionPickerField, Ja as defaultHeaderLogoContext, Jn as hasEmptyOption, Js as displayedValues, K as createSiteOptionApiLoader, Ka as getHeaderLayout, Kn as useSdkConfig, Ko as PopoverTrigger, La as gradientToCss, Lo as SelectItem, Ls as useField, Lt as parseReferenceKind, Ns as Button, P as useAutosaveStatus, Pa as offeredSiteStyles, Pt as routeLifecycleContext, Q as OfferingsPreviewWidgetProvider, Qo as TabsContent, Ra as GRADIENT_PRESETS, Ro as SelectTrigger, Rt as deriveRouteMetadataPresentation, Sn as blocksKeys, Ss as DropdownMenuTrigger, Un as createStoreBackend, Vo as Callout, Vt as useEditorUiStore, Wo as Popover, Xn as mapOptionValueForSelect, Xs as syncStateOf, Y as SiteOptionWidgetProvider, Yn as mapCurrentValueForSelect, Z as OfferingsPreviewGroupOrderField, Zn as unmapValueFromSelect, Zo as Tabs, Zs as valueStatus, _ as useUISelector, _s as DropdownMenu, _t as LinkField, a as usePreviewAuth, ac as assertNever$1, at as EntryPickerWidgetProvider, b as useEntryController, bn as listEntryPageContentSlots, bs as DropdownMenuLabel, bt as BlockSourceLine, cn as PaletteProvider, ct as ButtonVariantField, d as resolveFooterLayoutHints, dt as MediaField, ec as formatDate, eo as replaceSiteStyleCompilationPlan, es as TabsTrigger, et as loadMailingListAuthoringContext, fn as createManifestValidation, ft as ReferenceField, g as ContentFieldsForm, gn as civilPickerDisplay, gs as Surface, gt as RichTextWidgetProvider, hs as CollapsibleTrigger, ht as RichTextField, in as isEdited, it as EntryPickerField, jn as getDashboardUrl, ko as FieldFrame, kt as revealEditorElement, l as FooterComposerPanel, ln as usePalette, lt as ButtonWidgetProvider, mn as FormRenderer, ms as CollapsibleContent, mt as useRichTextImagePicker, na as compileReplacementSiteThemeFromSelections, nc as parseUtcIsoDateTimeString, nr as resolveSdkFooterMode, nt as InlineTextField, on as canWriteLinkedEntry, ot as ContentTypeSelectField, pa as themePalettesEqual, ps as Collapsible, pt as ReferenceWidgetProvider, q as createSiteOptionWidgetAdapters, qa as getHeaderStyle, qo as Input, ra as compileUpdatedSiteThemeFromSelections, rc as resolveBookingBusinessTimeZone, rt as IconPickerField, st as ContentTypeWidgetProvider, tc as parseBookingLocalDate, to as defaultFooterPreferences, tt as MailingListTargetingProvider, un as ManifestForm, ut as FileField, vs as DropdownMenuContent, vt as LinkWidgetProvider, w as useSessionJournal, wr as buildThemeRuntime, xn as listPageSurfaceContentSlots, xs as DropdownMenuSeparator, ys as DropdownMenuItem, yt as BlockEditor, zn as unwrapResponse, zo as SelectValue, zt as resolvePageRouteSlug } from "./previewAuthStore-DHtSQIBE.mjs";
|
|
4
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, ut as ChevronLeft } from "./lucide-react-CA9cpo0P.mjs";
|
|
5
|
-
import { $ as
|
|
5
|
+
import { $ as dismissWarnings, At as setPageDesignBlockBackground, C as lookIsAutomatic, Ct as reportPreviewDesignError, Et as CustomizeBackgroundControlRows, Ft as BackgroundChooser, G as buildSiteChromeSelectionModels, Gt as canCycleBackgroundOverrideValue, H as StyleSwitchSummary, It as BackgroundPreviewSwatch, J as applyResolvedSelections, Jt as parseBackgroundOverrideFromContent, K as cycleSiteChromeSelectionId, Kt as enabledBackgroundModes, Lt as formatTokenLabel, Nt as lookTilePosition, Pt as selectedLookTile, Q as deriveStyleConfiguratorCapabilities, Rt as gradientLabel, St as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, T as useSiteColourVariables, Tt as usePreviewAuthoringAdmission, Ut as usePreviewBlockCustomizeSelectionOptional, V as useSiteChromeCustomizeOptional, W as usePreviewDesignCoordinator, Wt as locationWidgetOverrides, X as cancelPreview, Xt as rankBackgroundImagePoolItems, Y as applyTypographyDraftPatch, Yt as planBackgroundTransition, Z as createStyleConfiguratorState, Zt as resolveBackgroundCapability, _ as useBlockCustomizeControls, _t as typographyObjectsEqual, at as palettePreviewProjection, c as resolvePreviewSidebarChromeModel, ct as previewCuratedPalette, d as TypographyOverviewContent, dt as previewHeaderStyle, et as isPreviewingChange, f as typographyOverviewSurface, ft as resetTypographyToSaved, g as primaryFontFamily, gt as toggleRow, ht as syncStyleConfiguratorState, i as resolvePreviewDashboardSetupHandoff, it as openRow, kt as pageDesignLookTiles, l as TypographyFontPickerTakeover, lt as previewFooterLook, m as TypographyThemeFontStyles, mt as setPaletteColors, nt as markApplySaved, o as resolvePreviewEditorGuidanceModel, ot as planStyleSwitch, p as useTypographyFontCatalog, pt as restageSelectionChanges, q as planSiteChromeSelection, qt as imagePoolForOverride, r as buildPreviewDashboardSetupUrl, rt as markApplySaving, st as previewButtonStyle, t as canInspectSiteStyle, tt as markApplyFailed, u as TypographyAdvancedTakeover, ut as previewHeaderLayout, v as ArrangementLookNote, vt as createOptimisticActionRunner, w as useArrangementToolbar, wt as acceptStyleSelection, x as ArrangementOptionsBody, xt as usePreviewPageDesignEditorState, yt as resolveStyleConfiguratorInitialSnapshot, zt as readBackgroundColorPaletteSnapshot } from "./siteStyleAccess-Chq5KKKh.mjs";
|
|
6
6
|
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-QtSG2Bl-.mjs";
|
|
7
|
-
import { n as Separator, t as Spinner } from "./spinner-
|
|
7
|
+
import { n as Separator, t as Spinner } from "./spinner-CjxE3uws.mjs";
|
|
8
8
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, useTransition } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -2484,7 +2484,7 @@ function FooterSidebarDisclosure({ editorStore, hidden, children }) {
|
|
|
2484
2484
|
useEffect(() => {
|
|
2485
2485
|
if (inspection.kind !== "footer" && inspection.kind !== "footer-module") return;
|
|
2486
2486
|
setOpen(true);
|
|
2487
|
-
sectionRef.current
|
|
2487
|
+
revealEditorElement(sectionRef.current, {
|
|
2488
2488
|
block: "start",
|
|
2489
2489
|
behavior: "smooth"
|
|
2490
2490
|
});
|
|
@@ -2630,9 +2630,11 @@ function useLoadBackgroundImages(supportsImages, context) {
|
|
|
2630
2630
|
//#region ../preview-next/src/client/preview/SelectedBlockLookControls.tsx
|
|
2631
2631
|
function SelectedBlockLookControls(props) {
|
|
2632
2632
|
const { toolbar, chooseLook, failureMessage } = useLookSectionActions(props);
|
|
2633
|
+
const siteColours = useSiteColourVariables();
|
|
2633
2634
|
if (!props.designBlock) return null;
|
|
2634
2635
|
return /* @__PURE__ */ jsxs("div", {
|
|
2635
2636
|
className: "space-y-4",
|
|
2637
|
+
style: siteColours ?? void 0,
|
|
2636
2638
|
children: [
|
|
2637
2639
|
failureMessage ? /* @__PURE__ */ jsx("p", {
|
|
2638
2640
|
role: "alert",
|
|
@@ -2880,7 +2882,7 @@ function usePageBlockEditorPanelControls(uiStoreForBlockEditor) {
|
|
|
2880
2882
|
if (!pendingDesignOpenRequest) return;
|
|
2881
2883
|
setDesignOpenRequest(pendingDesignOpenRequest);
|
|
2882
2884
|
setDesignOpen(true);
|
|
2883
|
-
designSectionRef.current
|
|
2885
|
+
revealEditorElement(designSectionRef.current, {
|
|
2884
2886
|
block: "start",
|
|
2885
2887
|
behavior: "smooth"
|
|
2886
2888
|
});
|
|
@@ -2910,7 +2912,7 @@ function useBlockCustomizeNavigation() {
|
|
|
2910
2912
|
}, [customizeSelection]);
|
|
2911
2913
|
const handleCustomizeMenuClose = useCallback(() => {
|
|
2912
2914
|
customizeSectionRef.current?.focus({ preventScroll: true });
|
|
2913
|
-
customizeSectionRef.current
|
|
2915
|
+
revealEditorElement(customizeSectionRef.current, {
|
|
2914
2916
|
block: "start",
|
|
2915
2917
|
behavior: "smooth"
|
|
2916
2918
|
});
|
|
@@ -2930,7 +2932,7 @@ function useBlockCustomizeNavigation() {
|
|
|
2930
2932
|
useEffect(() => {
|
|
2931
2933
|
if (selectionKind !== "selected") return;
|
|
2932
2934
|
setCustomizeOpen(true);
|
|
2933
|
-
customizeSectionRef.current
|
|
2935
|
+
revealEditorElement(customizeSectionRef.current, {
|
|
2934
2936
|
block: "start",
|
|
2935
2937
|
behavior: "smooth"
|
|
2936
2938
|
});
|
package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-lndKKBtB.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ao as Tooltip, G as EditorWriteSurface, Is as cn, Kt as canDiscardDraft, Mo as TooltipTrigger, Ns as Button, P as useAutosaveStatus, Ps as cva, Ss as DropdownMenuTrigger, T as useSessionJournalHistory, Vt as useEditorUiStore, _s as DropdownMenu, a as usePreviewAuth, as as DialogHeader, jo as TooltipContent, jt as useEditor, ns as DialogContent, os as DialogTitle, rs as DialogDescription, tn as editorAdmissionIsOpen, ts as Dialog, vs as DropdownMenuContent, w as useSessionJournal, x as useEntryEditorController, ys as DropdownMenuItem, zn as unwrapResponse } from "./previewAuthStore-DHtSQIBE.mjs";
|
|
3
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-
|
|
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-
|
|
4
|
+
import { t as Spinner } from "./spinner-CjxE3uws.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-CxQ6dZ8D.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -99,15 +99,73 @@ const EditingToggle = ({ placement = "floating" }) => {
|
|
|
99
99
|
});
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
|
+
//#region ../editor/src/chrome/editorStatusDecision.ts
|
|
103
|
+
function decideEditorStatus(input) {
|
|
104
|
+
const error = saveError(input);
|
|
105
|
+
if (error) return error;
|
|
106
|
+
if (input.status === "saving") return { kind: "saving" };
|
|
107
|
+
if (input.messageOverride) return {
|
|
108
|
+
kind: "message",
|
|
109
|
+
message: input.messageOverride
|
|
110
|
+
};
|
|
111
|
+
return input.messageVariant === "manual-save" ? manualSaveStatus(input) : publicationStatus(input);
|
|
112
|
+
}
|
|
113
|
+
function saveError(input) {
|
|
114
|
+
const failed = input.draftSyncState === "failed" || input.hasFailedSaves;
|
|
115
|
+
if (!failed && input.status !== "error") return null;
|
|
116
|
+
return {
|
|
117
|
+
kind: "error",
|
|
118
|
+
message: input.messageOverride || (failed ? "Couldn’t save. Try again" : "Save failed — some changes may not be saved.")
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function manualSaveStatus(input) {
|
|
122
|
+
return {
|
|
123
|
+
kind: "message",
|
|
124
|
+
message: input.draftSyncState === "pending" ? "Unsaved changes" : input.lastSavedLabel ? `Saved at ${input.lastSavedLabel}` : "No changes"
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function publicationStatus(input) {
|
|
128
|
+
const toolbar = input.toolbar;
|
|
129
|
+
if (toolbar?.publishedMessage && !toolbar.hasUnpublishedChanges) return {
|
|
130
|
+
kind: "message",
|
|
131
|
+
message: toolbar.publishedMessage
|
|
132
|
+
};
|
|
133
|
+
return {
|
|
134
|
+
kind: "publication",
|
|
135
|
+
label: publicationLabel(toolbar?.currentStatus, toolbar?.hasUnpublishedChanges),
|
|
136
|
+
savedAt: input.lastSavedLabel
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function publicationLabel(lifecycle, hasChanges) {
|
|
140
|
+
if ((lifecycle === "published" || lifecycle === "scheduled") && hasChanges) return "Unpublished changes";
|
|
141
|
+
return lifecycle === "published" ? "Published" : lifecycle === "scheduled" ? "Scheduled" : "Draft";
|
|
142
|
+
}
|
|
143
|
+
function formatEditorStatus(status, size) {
|
|
144
|
+
switch (status.kind) {
|
|
145
|
+
case "error":
|
|
146
|
+
case "message": return status.message;
|
|
147
|
+
case "saving": return "Saving…";
|
|
148
|
+
case "publication": {
|
|
149
|
+
const label = size === "mobile" && status.label === "Unpublished changes" ? "Changes pending" : status.label;
|
|
150
|
+
return status.savedAt ? `${label} · saved ${status.savedAt}` : label;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
102
155
|
//#region ../editor/src/chrome/EditorStatusBar.tsx
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
if (
|
|
106
|
-
return "
|
|
156
|
+
/** A momentary note (such as a journal note) beside Undo and Redo, kept to one line. */
|
|
157
|
+
function StatusBarNote({ message }) {
|
|
158
|
+
if (!message) return null;
|
|
159
|
+
return /* @__PURE__ */ jsx("span", {
|
|
160
|
+
role: "status",
|
|
161
|
+
title: message,
|
|
162
|
+
className: "min-w-0 max-w-[32rem] shrink truncate rounded-md bg-amber-50 px-2 py-1 text-xs text-amber-900 block",
|
|
163
|
+
children: message
|
|
164
|
+
});
|
|
107
165
|
}
|
|
108
166
|
function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "baseline", onPublish, publishMenuItems, actionsSlot, toggleSlot, messageOverride, messageVariant = "default", actionButtonSize = "default", hasFailedSaves = false, onRetryFailedSaves, historyControls, secondaryMessage, menuItems, mobileMenuItems }) {
|
|
109
167
|
const isSaving = status === "saving";
|
|
110
|
-
const unsavedError = draftSyncState === "failed" || hasFailedSaves
|
|
168
|
+
const unsavedError = draftSyncState === "failed" || hasFailedSaves;
|
|
111
169
|
const generalError = status === "error" && !unsavedError;
|
|
112
170
|
const hasChanges = !!toolbar?.hasUnpublishedChanges;
|
|
113
171
|
const currentLifecycle = toolbar?.currentStatus ?? null;
|
|
@@ -120,138 +178,105 @@ function EditorStatusBar({ status, lastSavedLabel, toolbar, draftSyncState = "ba
|
|
|
120
178
|
const showMobileHistoryMenu = !!historyControls;
|
|
121
179
|
const hasMobileMenu = hasConfiguredMenu || hasMobileOnlyMenu || showMobileHistoryMenu;
|
|
122
180
|
const hasPublishMenu = publishMenuItems && publishMenuItems.length > 0;
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
if (unsavedError) return "Couldn’t save. Try again";
|
|
126
|
-
if (generalError) return "Save failed — some changes may not be saved.";
|
|
127
|
-
if (isSaving) return "Saving…";
|
|
128
|
-
if (messageVariant === "manual-save") {
|
|
129
|
-
if (draftSyncState === "pending") return "Unsaved changes";
|
|
130
|
-
if (lastSavedLabel) return `Saved at ${lastSavedLabel}`;
|
|
131
|
-
return "No changes";
|
|
132
|
-
}
|
|
133
|
-
if (toolbar?.publishedMessage && !hasChanges) return toolbar.publishedMessage;
|
|
134
|
-
const parts = [];
|
|
135
|
-
parts.push(getLifecycleLabel(currentLifecycle));
|
|
136
|
-
if ((currentLifecycle === "published" || currentLifecycle === "scheduled") && hasChanges) parts.push("Unpublished changes");
|
|
137
|
-
if (lastSavedLabel) parts.push(`Last saved ${lastSavedLabel}`);
|
|
138
|
-
if (secondaryMessage) parts.push(secondaryMessage);
|
|
139
|
-
return parts.join(" · ");
|
|
140
|
-
}, [
|
|
141
|
-
messageOverride,
|
|
142
|
-
unsavedError,
|
|
143
|
-
generalError,
|
|
144
|
-
isSaving,
|
|
145
|
-
messageVariant,
|
|
146
|
-
draftSyncState,
|
|
147
|
-
toolbar?.publishedMessage,
|
|
148
|
-
currentLifecycle,
|
|
149
|
-
hasChanges,
|
|
181
|
+
const statusDecision = decideEditorStatus({
|
|
182
|
+
status,
|
|
150
183
|
lastSavedLabel,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
const mobileStatusText = useMemo(() => {
|
|
154
|
-
if (messageOverride || unsavedError || generalError || isSaving || messageVariant === "manual-save") return statusText;
|
|
155
|
-
if (secondaryMessage) return secondaryMessage;
|
|
156
|
-
if ((currentLifecycle === "published" || currentLifecycle === "scheduled") && hasChanges) return "Changes pending";
|
|
157
|
-
if (toolbar?.publishedMessage && !hasChanges) return toolbar.publishedMessage;
|
|
158
|
-
return getLifecycleLabel(currentLifecycle);
|
|
159
|
-
}, [
|
|
184
|
+
toolbar,
|
|
185
|
+
draftSyncState,
|
|
160
186
|
messageOverride,
|
|
161
|
-
unsavedError,
|
|
162
|
-
generalError,
|
|
163
|
-
isSaving,
|
|
164
187
|
messageVariant,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
toolbar?.publishedMessage
|
|
170
|
-
]);
|
|
188
|
+
hasFailedSaves
|
|
189
|
+
});
|
|
190
|
+
const statusText = formatEditorStatus(statusDecision, "desktop");
|
|
191
|
+
const mobileStatusText = formatEditorStatus(statusDecision, "mobile");
|
|
171
192
|
const disablePublish = isSaving || toolbar?.disablePublish || !hasChanges && currentLifecycle !== "draft";
|
|
172
193
|
const statusClass = unsavedError || generalError ? "text-destructive" : "text-slate-600";
|
|
173
194
|
return /* @__PURE__ */ jsx(FixedBottomSurface, {
|
|
174
195
|
variant: "light",
|
|
175
196
|
children: /* @__PURE__ */ jsxs("div", {
|
|
176
197
|
"data-testid": "editor-status-bar",
|
|
177
|
-
className: `relative flex flex-nowrap items-center gap-2 text-sm text-slate-900 sm:
|
|
198
|
+
className: `relative flex flex-nowrap items-center gap-2 text-sm text-slate-900 sm:gap-3 ${hasConfiguredMenu || toggleSlot ? "pr-12 sm:pr-14" : showMobileHistoryMenu ? "pr-12 sm:pr-0" : ""}`,
|
|
178
199
|
children: [
|
|
179
200
|
/* @__PURE__ */ jsxs("div", {
|
|
180
|
-
className: "flex min-w-0 flex-1 flex-nowrap items-center gap-2 sm:
|
|
181
|
-
children: [
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
/* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
187
|
-
asChild: true,
|
|
188
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
189
|
-
type: "button",
|
|
190
|
-
variant: "ghost",
|
|
191
|
-
size: "icon",
|
|
192
|
-
className: "h-8 w-8 text-slate-600",
|
|
193
|
-
onClick: historyControls.onUndo,
|
|
194
|
-
disabled: !historyControls.canUndo,
|
|
195
|
-
"aria-label": "Undo",
|
|
196
|
-
title: "Undo",
|
|
197
|
-
children: /* @__PURE__ */ jsx(Undo2, { className: "h-4 w-4" })
|
|
198
|
-
})
|
|
199
|
-
}), /* @__PURE__ */ jsx(TooltipContent, { children: "Undo" })] }),
|
|
200
|
-
/* @__PURE__ */ jsx("div", {
|
|
201
|
-
className: "mx-0.5 h-5 w-px bg-slate-200",
|
|
202
|
-
"aria-hidden": "true"
|
|
203
|
-
}),
|
|
204
|
-
/* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
205
|
-
asChild: true,
|
|
206
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
207
|
-
type: "button",
|
|
208
|
-
variant: "ghost",
|
|
209
|
-
size: "icon",
|
|
210
|
-
className: "h-8 w-8 text-slate-600",
|
|
211
|
-
onClick: historyControls.onRedo,
|
|
212
|
-
disabled: !historyControls.canRedo,
|
|
213
|
-
"aria-label": "Redo",
|
|
214
|
-
title: "Redo",
|
|
215
|
-
children: /* @__PURE__ */ jsx(Redo2, { className: "h-4 w-4" })
|
|
216
|
-
})
|
|
217
|
-
}), /* @__PURE__ */ jsx(TooltipContent, { children: "Redo" })] })
|
|
218
|
-
]
|
|
219
|
-
}) : null, /* @__PURE__ */ jsx("div", {
|
|
220
|
-
className: `flex min-w-0 items-center gap-2 ${statusClass}`,
|
|
221
|
-
children: unsavedError && !isSaving ? /* @__PURE__ */ jsxs("span", {
|
|
222
|
-
className: "inline-flex min-w-0 items-center gap-2",
|
|
223
|
-
children: [
|
|
224
|
-
/* @__PURE__ */ jsx(TriangleAlert, { className: "h-4 w-4 shrink-0" }),
|
|
225
|
-
/* @__PURE__ */ jsx("span", {
|
|
226
|
-
className: "hidden min-w-0 truncate sm:block",
|
|
227
|
-
children: statusText
|
|
228
|
-
}),
|
|
229
|
-
/* @__PURE__ */ jsx("span", {
|
|
230
|
-
className: "block min-w-0 truncate sm:hidden",
|
|
231
|
-
children: mobileStatusText
|
|
232
|
-
})
|
|
233
|
-
]
|
|
234
|
-
}) : isSaving ? /* @__PURE__ */ jsxs("span", {
|
|
235
|
-
className: "inline-flex min-w-0 items-center gap-2",
|
|
201
|
+
className: "flex min-w-0 flex-1 flex-nowrap items-center gap-2 sm:gap-3",
|
|
202
|
+
children: [
|
|
203
|
+
historyControls ? /* @__PURE__ */ jsxs("div", {
|
|
204
|
+
className: "hidden items-center rounded-md border border-slate-200 bg-white/70 p-0.5 sm:inline-flex",
|
|
205
|
+
role: "toolbar",
|
|
206
|
+
"aria-label": "History controls",
|
|
236
207
|
children: [
|
|
237
|
-
/* @__PURE__ */
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
208
|
+
/* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
209
|
+
asChild: true,
|
|
210
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
211
|
+
type: "button",
|
|
212
|
+
variant: "ghost",
|
|
213
|
+
size: "icon",
|
|
214
|
+
className: "h-8 w-8 text-slate-600",
|
|
215
|
+
onClick: historyControls.onUndo,
|
|
216
|
+
disabled: !historyControls.canUndo,
|
|
217
|
+
"aria-label": "Undo",
|
|
218
|
+
title: "Undo",
|
|
219
|
+
children: /* @__PURE__ */ jsx(Undo2, { className: "h-4 w-4" })
|
|
220
|
+
})
|
|
221
|
+
}), /* @__PURE__ */ jsx(TooltipContent, { children: "Undo" })] }),
|
|
222
|
+
/* @__PURE__ */ jsx("div", {
|
|
223
|
+
className: "mx-0.5 h-5 w-px bg-slate-200",
|
|
224
|
+
"aria-hidden": "true"
|
|
241
225
|
}),
|
|
242
|
-
/* @__PURE__ */ jsx(
|
|
243
|
-
|
|
244
|
-
children:
|
|
245
|
-
|
|
226
|
+
/* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
227
|
+
asChild: true,
|
|
228
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
229
|
+
type: "button",
|
|
230
|
+
variant: "ghost",
|
|
231
|
+
size: "icon",
|
|
232
|
+
className: "h-8 w-8 text-slate-600",
|
|
233
|
+
onClick: historyControls.onRedo,
|
|
234
|
+
disabled: !historyControls.canRedo,
|
|
235
|
+
"aria-label": "Redo",
|
|
236
|
+
title: "Redo",
|
|
237
|
+
children: /* @__PURE__ */ jsx(Redo2, { className: "h-4 w-4" })
|
|
238
|
+
})
|
|
239
|
+
}), /* @__PURE__ */ jsx(TooltipContent, { children: "Redo" })] })
|
|
246
240
|
]
|
|
247
|
-
}) :
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
241
|
+
}) : null,
|
|
242
|
+
/* @__PURE__ */ jsx(StatusBarNote, { message: secondaryMessage }),
|
|
243
|
+
/* @__PURE__ */ jsx("div", {
|
|
244
|
+
className: `flex min-w-0 shrink items-center gap-2 ${statusClass}`,
|
|
245
|
+
children: unsavedError && !isSaving ? /* @__PURE__ */ jsxs("span", {
|
|
246
|
+
className: "inline-flex min-w-0 items-center gap-2",
|
|
247
|
+
children: [
|
|
248
|
+
/* @__PURE__ */ jsx(TriangleAlert, { className: "h-4 w-4 shrink-0" }),
|
|
249
|
+
/* @__PURE__ */ jsx("span", {
|
|
250
|
+
className: "hidden min-w-0 truncate sm:block",
|
|
251
|
+
children: statusText
|
|
252
|
+
}),
|
|
253
|
+
/* @__PURE__ */ jsx("span", {
|
|
254
|
+
className: "block min-w-0 truncate sm:hidden",
|
|
255
|
+
children: mobileStatusText
|
|
256
|
+
})
|
|
257
|
+
]
|
|
258
|
+
}) : isSaving ? /* @__PURE__ */ jsxs("span", {
|
|
259
|
+
className: "inline-flex min-w-0 items-center gap-2",
|
|
260
|
+
children: [
|
|
261
|
+
/* @__PURE__ */ jsx(LoaderCircle, { className: "h-4 w-4 shrink-0 animate-spin" }),
|
|
262
|
+
/* @__PURE__ */ jsx("span", {
|
|
263
|
+
className: "hidden min-w-0 truncate sm:block",
|
|
264
|
+
children: statusText
|
|
265
|
+
}),
|
|
266
|
+
/* @__PURE__ */ jsx("span", {
|
|
267
|
+
className: "block min-w-0 truncate sm:hidden",
|
|
268
|
+
children: mobileStatusText
|
|
269
|
+
})
|
|
270
|
+
]
|
|
271
|
+
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
272
|
+
className: "hidden min-w-0 truncate sm:block",
|
|
273
|
+
children: statusText
|
|
274
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
275
|
+
className: "block min-w-0 truncate sm:hidden",
|
|
276
|
+
children: mobileStatusText
|
|
277
|
+
})] })
|
|
278
|
+
})
|
|
279
|
+
]
|
|
255
280
|
}),
|
|
256
281
|
/* @__PURE__ */ jsxs("div", {
|
|
257
282
|
className: "ml-auto flex shrink-0 items-center gap-1.5 sm:gap-2",
|