@riverbankcms/sdk 0.183.0 → 0.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
- package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
- package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +61 -48
- package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
- package/dist/client/gifting/client.mjs +8 -8
- package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +999 -81
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
- package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +158 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +684 -181
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
4
|
-
import { i as formatEditorStatus, n as useEditorWriteState, o as EditorHistoryButtons, r as decideEditorStatus } from "./useAutosaveStatus-
|
|
5
|
-
import { _t as DropdownMenuTrigger, at as Tooltip, c as needsSetupAsk, ct as TooltipTrigger, dt as DropdownMenuContent, ft as DropdownMenuItem, gt as DropdownMenuSeparator, ht as DropdownMenuRadioItem, lt as Badge, mt as DropdownMenuRadioGroup, n as resolveBlockManifest, ot as TooltipContent, pt as DropdownMenuLabel, t as useOpenBlockForSetup, ut as DropdownMenu } from "./useOpenBlockForSetup-
|
|
6
|
-
import { c as writePreviewThemeCookie, d as FixedBottomSurface, n as usePreviewChromeRoot, o as readPreviewThemeCookie } from "./previewChromeRoot-
|
|
2
|
+
import { $ as useFooterPanelOwnsNotice, $d as unsafeAsEditorBlockId, $r as readinessFactsFromPayload, Ct as EditorWriteSurface, Gn as editorAuthoredBlockDocument, H as usePreviewAuth, Jc as DialogFooter, Jl as Button, Kc as DialogContent, Ma as pageTemplateFromEntry, Nn as canDiscardDraft, Qr as publishReadinessWarning, Sn as useEditorUiStoreInstance, Uc as Spinner, Ud as displayedValues, Wc as Dialog, Xc as DialogTitle, Yc as DialogHeader, Zl as cva, Zr as PUBLISH_READINESS_COPY, bc as editorAdmissionIsOpen, fn as useEditor, ft as useServerRefresh, gc as resolveBlockTitle, ht as useSessionJournalHistory, jc as unwrapResponse, lt as useEntryEditorController, n as usePreviewAssistantSlot, nu as cn, pt as useSessionJournal, qc as DialogDescription, ud as authoredValuesEqual, un as PREVIEW_CHROME_Z_INDEX, wn as useSidebarView, xn as useEditorUiStore } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
3
|
+
import { C as Palette, Z as Eye, b as Pencil, c as TriangleAlert, et as EllipsisVertical, mt as ChevronDown, s as Undo2, v as Redo2 } from "./lucide-react-B4c6U3ZU.mjs";
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, o as EditorHistoryButtons, r as decideEditorStatus } from "./useAutosaveStatus-CdFnzKac.mjs";
|
|
5
|
+
import { _t as DropdownMenuTrigger, at as Tooltip, c as needsSetupAsk, ct as TooltipTrigger, dt as DropdownMenuContent, ft as DropdownMenuItem, gt as DropdownMenuSeparator, ht as DropdownMenuRadioItem, lt as Badge, mt as DropdownMenuRadioGroup, n as resolveBlockManifest, ot as TooltipContent, pt as DropdownMenuLabel, t as useOpenBlockForSetup, ut as DropdownMenu } from "./useOpenBlockForSetup-B62h7dhR.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, d as FixedBottomSurface, n as usePreviewChromeRoot, o as readPreviewThemeCookie } from "./previewChromeRoot-VqseF0yf.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -64,6 +64,35 @@ const SplitButton = React$1.forwardRef(({ children, menuItems, menuAriaLabel, gr
|
|
|
64
64
|
});
|
|
65
65
|
SplitButton.displayName = "SplitButton";
|
|
66
66
|
//#endregion
|
|
67
|
+
//#region ../ui/src/lib/use-delayed-flag.ts
|
|
68
|
+
/**
|
|
69
|
+
* True once `active` has held for `delay` milliseconds.
|
|
70
|
+
*
|
|
71
|
+
* This is what keeps a spinner from flashing on an action that finishes
|
|
72
|
+
* quickly. It lives on its own so that anything drawing its own pending
|
|
73
|
+
* indicator gets the same timing rather than reimplementing it, and so the two
|
|
74
|
+
* cannot drift apart.
|
|
75
|
+
*/
|
|
76
|
+
function useDelayedFlag(active, delay) {
|
|
77
|
+
const [visible, setVisible] = useState(active && delay <= 0);
|
|
78
|
+
useEffect(() => {
|
|
79
|
+
if (!active) {
|
|
80
|
+
setVisible(false);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (delay <= 0) {
|
|
84
|
+
setVisible(true);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const timer = setTimeout(() => {
|
|
88
|
+
if (typeof window === "undefined") return;
|
|
89
|
+
setVisible(true);
|
|
90
|
+
}, delay);
|
|
91
|
+
return () => clearTimeout(timer);
|
|
92
|
+
}, [active, delay]);
|
|
93
|
+
return visible;
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
67
96
|
//#region ../editor/src/components/EditingToggle.tsx
|
|
68
97
|
const FLOATING_STYLE = { zIndex: PREVIEW_CHROME_Z_INDEX };
|
|
69
98
|
/**
|
|
@@ -73,14 +102,26 @@ const EditingToggle = ({ placement = "floating" }) => {
|
|
|
73
102
|
const { isEditingMode } = useEditor();
|
|
74
103
|
return isEditingMode ? /* @__PURE__ */ jsx(ViewAsVisitorButton, { placement }) : /* @__PURE__ */ jsx(EditPageButton, { placement });
|
|
75
104
|
};
|
|
76
|
-
|
|
105
|
+
const OPENING_LABEL = "Getting ready…";
|
|
106
|
+
/** Long enough that an ordinary open never shows it. */
|
|
107
|
+
const SLOW_OPEN_MS = 8e3;
|
|
108
|
+
/**
|
|
109
|
+
* Viewing: a labelled way back into editing, since there's no bar to hold it.
|
|
110
|
+
* Pressed before the editor is ready, it waits here and editing opens by itself.
|
|
111
|
+
*/
|
|
77
112
|
function EditPageButton({ placement }) {
|
|
78
|
-
const { isEditingPending,
|
|
113
|
+
const { isEditingPending, setEditingMode } = useEditor();
|
|
79
114
|
const floating = placement === "floating";
|
|
80
|
-
|
|
115
|
+
const slow = useDelayedFlag(isEditingPending, SLOW_OPEN_MS);
|
|
116
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [floating && slow ? /* @__PURE__ */ jsx("p", {
|
|
117
|
+
role: "status",
|
|
118
|
+
className: "fixed bottom-20 right-6 max-w-64 rounded-2xl border border-foreground/15 bg-background px-4 py-3 text-sm shadow-lg",
|
|
119
|
+
style: FLOATING_STYLE,
|
|
120
|
+
children: "This is taking longer than usual. The editor will open by itself when it’s ready."
|
|
121
|
+
}) : null, /* @__PURE__ */ jsxs(Button, {
|
|
81
122
|
type: "button",
|
|
82
123
|
variant: "outline",
|
|
83
|
-
onClick:
|
|
124
|
+
onClick: () => setEditingMode(true),
|
|
84
125
|
disabled: isEditingPending,
|
|
85
126
|
"aria-busy": isEditingPending,
|
|
86
127
|
className: `${floating ? "fixed bottom-6 right-6" : ""} h-10 cursor-pointer gap-2 rounded-full border-foreground/80 bg-background px-4 font-semibold shadow-lg`,
|
|
@@ -88,15 +129,15 @@ function EditPageButton({ placement }) {
|
|
|
88
129
|
children: [isEditingPending ? /* @__PURE__ */ jsx(Spinner, {}) : /* @__PURE__ */ jsx(Pencil, {
|
|
89
130
|
className: "h-4 w-4",
|
|
90
131
|
"aria-hidden": true
|
|
91
|
-
}), isEditingPending ?
|
|
92
|
-
});
|
|
132
|
+
}), isEditingPending ? OPENING_LABEL : "Edit page"]
|
|
133
|
+
})] });
|
|
93
134
|
}
|
|
94
135
|
/** Editing: an icon that leaves edit mode, named in its tooltip. */
|
|
95
136
|
function ViewAsVisitorButton({ placement }) {
|
|
96
137
|
const { isEditingPending, toggleEditingMode } = useEditor();
|
|
97
138
|
const [tooltipOpen, setTooltipOpen] = useState(false);
|
|
98
139
|
const floating = placement === "floating";
|
|
99
|
-
const label = isEditingPending ?
|
|
140
|
+
const label = isEditingPending ? OPENING_LABEL : "View as a visitor";
|
|
100
141
|
return /* @__PURE__ */ jsxs(Tooltip, {
|
|
101
142
|
open: isEditingPending || tooltipOpen,
|
|
102
143
|
onOpenChange: setTooltipOpen,
|
|
@@ -1009,8 +1050,9 @@ function PreviewEditorChrome({ dashboardBaseUrl = null, inMaintenanceMode = fals
|
|
|
1009
1050
|
publish: controller.actions.publish
|
|
1010
1051
|
});
|
|
1011
1052
|
const portalTarget = usePreviewChromeRoot();
|
|
1053
|
+
const { isEditingMode } = useEditor();
|
|
1012
1054
|
if (!portalTarget || !canEdit) return null;
|
|
1013
|
-
return createGatedPortal(/* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(EditorChrome, {
|
|
1055
|
+
return createGatedPortal(isEditingMode, /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(EditorChrome, {
|
|
1014
1056
|
toolbarOverrides: computedToolbar,
|
|
1015
1057
|
onPublish: publishGate.requestPublish,
|
|
1016
1058
|
onDiscard: handleDiscard,
|
|
@@ -1046,9 +1088,16 @@ function PublishReadinessPrompt({ gate }) {
|
|
|
1046
1088
|
onSetUp: (block) => setUp(unsafeAsEditorBlockId(block.blockId), block.repair)
|
|
1047
1089
|
});
|
|
1048
1090
|
}
|
|
1049
|
-
/**
|
|
1050
|
-
|
|
1051
|
-
|
|
1091
|
+
/**
|
|
1092
|
+
* Editor chrome is portalled out of the sidebar's gate, so it carries its own write surface.
|
|
1093
|
+
* Outside editing the chrome is only the Edit page button, which has to work while the
|
|
1094
|
+
* editor is still opening: pressing it early waits on the button until editing is ready.
|
|
1095
|
+
*/
|
|
1096
|
+
function createGatedPortal(editing, chrome, target) {
|
|
1097
|
+
return createPortal(/* @__PURE__ */ jsx(EditorWriteSurface, {
|
|
1098
|
+
gated: editing,
|
|
1099
|
+
children: chrome
|
|
1100
|
+
}), target);
|
|
1052
1101
|
}
|
|
1053
1102
|
/** The lifecycle owns failure presentation; only a completed discard refreshes the page. */
|
|
1054
1103
|
function previewLifecycleHandlers(actions, refresh) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import { t as PreviewQueryProvider } from "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { $ as
|
|
5
|
-
import {
|
|
6
|
-
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Ft as
|
|
7
|
-
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-
|
|
8
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as FixedBottomSurface, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-
|
|
4
|
+
import { $d as unsafeAsEditorBlockId, $u as indexRenderableMediaAssets, At as EditorPageTemplateProvider, B as registerPreviewRenewalFetcher, Bc as Callout, Bo as getResponsiveScopeSpec, Br as LINKED_CONTENT_ENTRY_META_KEY, Ca as planSiteChromePlacement, Cc as editorAdmissionSession, Cn as useOptionalEditorUiStoreInstance, Ct as EditorWriteSurface, Dt as getEditorClientId, E as PreviewRenderObservationsProvider, Ec as API_ENDPOINTS, Fc as selectedCanvasBlockId, Fn as planLinkedSaveHandoverRetention, H as usePreviewAuth, Hd as parseEditLeaseScope, Hi as buildResolveImageUrlContext, Hr as getLinkedContentEntryMeta, In as remoteDraftValues, Jc as DialogFooter, Jl as Button, Kc as DialogContent, Ln as renderSourceFor, Ma as pageTemplateFromEntry, On as SIDEBAR_WIDTH, Pn as activeLinkedSaveHandover, Qu as renderableMediaAssetSchema$1, R as createGuardedPreviewApiClient, Sc as editorAdmissionNotice, Sn as useEditorUiStoreInstance, St as EditLeaseModal, Tc as OPERATION_ID_HEADER, U as usePreviewToken, V as renewPreviewSession, Vc as CalloutDescription, W as renderSiteChromeBlock, Wc as Dialog, Wn as unsafeAsLinkedContentEntryId, Wt as blocksKeys, Xc as DialogTitle, Xt as ImageResolveContextProvider, Yc as DialogHeader, Zu as buildRenderableMediaAssetIndex, _ as PreviewFooterProvider, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, au as isEdited, bd as parseFooterModuleId, bt as VIEWING_PARTICIPATION, cu as canEditorWrite, dn as EditorProvider, en as BlockApiProvider, et as SessionJournalHost, f as PreviewThemeJournalProvider, fn as useEditor, ft as useServerRefresh, g as previewThemeBase, ga as measureSiteStickyChromeHeightPx, gt as createEditorApiClientFactory, ha as SITE_STICKY_CHROME_HEIGHT_FALLBACK, hn as createSnapshotFromPageRecord, i as usePreviewSidebarNavigation, ia as themeRuntimeScopeProps, iu as baselineRevisionOf, jc as unwrapResponse, kn as parseStoredSidebarWidth, l as SiteChromeCustomizeProvider, ln as ApiRequestError, lt as useEntryEditorController, m as usePreviewThemeSourceOptional, ma as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, mn as createRoutingHelpers, na as buildThemeDataAttrs, nc as assertNever$1, nu as cn, p as usePreviewThemeSource, pa as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, pn as useIsEditingMode, qc as DialogDescription, r as PreviewSidebarBootstrap, st as EntryControllerProvider, t as PreviewAssistantSlotProvider, ud as authoredValuesEqual, uf as assertNever$2, v as useLiveFooterRuntime, va as planSiteOverlayHeaderClearance, vt as savedPageSurfaceMetadataReceipt, wc as observeEditorAdmission, xc as editorAdmissionLoadFailure, xn as useEditorUiStore, xt as EditLeaseDiscardedNotice, ya as siteTopChromeMeasurementTargets, yt as useRetentionTicks, z as initPreviewAuth, zn as resolveRenderedValues, zo as DEFAULT_THEME_RESPONSIVE_MODE } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
5
|
+
import { W as GripVertical } from "./lucide-react-B4c6U3ZU.mjs";
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Ft as TabsContent, It as TabsList, Lt as TabsTrigger, O as SiteFontStorageProvider, Pt as Tabs, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, vt as Toaster, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-BL1fZnUD.mjs";
|
|
7
|
+
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-DuRUwUrK.mjs";
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as FixedBottomSurface, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-VqseF0yf.mjs";
|
|
9
9
|
import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/react-query";
|
|
@@ -2930,23 +2930,28 @@ function PreviewKeepAliveClient({ baseFetch }) {
|
|
|
2930
2930
|
}
|
|
2931
2931
|
//#endregion
|
|
2932
2932
|
//#region ../preview-next/src/client/preview/PreviewLeaseEditingMode.tsx
|
|
2933
|
-
function projectEditingAvailability({ canEdit, requestedEditingMode, editability }) {
|
|
2934
|
-
if (!canEdit || !requestedEditingMode) return "blocked";
|
|
2933
|
+
function projectEditingAvailability({ canEdit, requestedEditingMode, editability, admissionRefused }) {
|
|
2934
|
+
if (!canEdit || !requestedEditingMode || admissionRefused) return "blocked";
|
|
2935
2935
|
if (canEditorWrite(editability)) return "ready";
|
|
2936
2936
|
if (editability.kind === "acquiring" || editability.kind === "viewing") return "pending";
|
|
2937
2937
|
return "blocked";
|
|
2938
2938
|
}
|
|
2939
|
+
function editorAdmissionRefused(admission) {
|
|
2940
|
+
return admission.kind === "bootstrap" ? admission.failure !== null : admission.refusal !== null;
|
|
2941
|
+
}
|
|
2939
2942
|
/** Derives preview editing permission from the live auth and lease authorities. */
|
|
2940
2943
|
function PreviewLeaseEditingMode() {
|
|
2941
2944
|
const { canEdit } = usePreviewAuth();
|
|
2942
2945
|
const editability = useEditorUiStore((state) => state.editability);
|
|
2946
|
+
const admissionRefused = useEditorUiStore((state) => editorAdmissionRefused(state.getAdmission()));
|
|
2943
2947
|
const drawerOpen = useEditorUiStore((state) => state.drawerOpen);
|
|
2944
2948
|
const setDrawerOpen = useEditorUiStore((state) => state.setDrawerOpen);
|
|
2945
2949
|
const { requestedEditingMode, setEditingAvailability } = useEditor();
|
|
2946
2950
|
const availability = projectEditingAvailability({
|
|
2947
2951
|
canEdit,
|
|
2948
2952
|
requestedEditingMode,
|
|
2949
|
-
editability
|
|
2953
|
+
editability,
|
|
2954
|
+
admissionRefused
|
|
2950
2955
|
});
|
|
2951
2956
|
useEffect(() => setEditingAvailability(availability), [availability, setEditingAvailability]);
|
|
2952
2957
|
useEffect(() => {
|
|
@@ -3974,19 +3979,23 @@ function previewLeaseThing(isEntry, pageNodeType) {
|
|
|
3974
3979
|
if (pageNodeType === "page_surface") return "this event page";
|
|
3975
3980
|
return isEntry ? "this entry" : "this page";
|
|
3976
3981
|
}
|
|
3982
|
+
/** Why editing can't start: a failed load or a refusal, never the ordinary wait while it opens. */
|
|
3983
|
+
function editorAdmissionProblem(admission) {
|
|
3984
|
+
return admission.kind === "bootstrap" ? editorAdmissionLoadFailure(admission) : editorAdmissionNotice(admission);
|
|
3985
|
+
}
|
|
3977
3986
|
function PreviewAccessBanners({ dashboardBaseUrl, surfaceId, isEntry, pageNodeType }) {
|
|
3978
3987
|
const { state } = usePreviewAuth();
|
|
3979
3988
|
const { requestedEditingMode, setEditingMode } = useEditor();
|
|
3980
3989
|
const showDiscardedNotice = useEditorUiStore((editor) => canEditorWrite(editor.editability) && editor.leaseDiscardedChanges);
|
|
3981
3990
|
const thing = previewLeaseThing(isEntry, pageNodeType);
|
|
3982
|
-
const admissionNotice = useEditorUiStore((editor) =>
|
|
3991
|
+
const admissionNotice = useEditorUiStore((editor) => editorAdmissionProblem(editor.getAdmission()));
|
|
3983
3992
|
const active = state === "ok";
|
|
3984
3993
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3985
3994
|
/* @__PURE__ */ jsx(PreviewAuthBanner, {
|
|
3986
3995
|
dashboardBaseUrl,
|
|
3987
3996
|
surfaceId
|
|
3988
3997
|
}),
|
|
3989
|
-
active && admissionNotice ? /* @__PURE__ */ jsx(FixedBottomSurface, {
|
|
3998
|
+
active && requestedEditingMode && admissionNotice ? /* @__PURE__ */ jsx(FixedBottomSurface, {
|
|
3990
3999
|
variant: "light",
|
|
3991
4000
|
width: "centered",
|
|
3992
4001
|
offsetCssVar: "--builder-editor-chrome-offset",
|
|
@@ -4447,11 +4456,12 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4447
4456
|
} : null;
|
|
4448
4457
|
}
|
|
4449
4458
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4459
|
+
const loadPreviewEditorSidebar = () => import("./PreviewEditorSidebar-BaKS6H8F.mjs");
|
|
4450
4460
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4451
|
-
return { default: (await
|
|
4461
|
+
return { default: (await loadPreviewEditorSidebar()).PreviewEditorSidebar };
|
|
4452
4462
|
});
|
|
4453
4463
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4454
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4464
|
+
return { default: (await import("./PreviewEditorUI-D6IG119o.mjs")).PreviewEditorUI };
|
|
4455
4465
|
});
|
|
4456
4466
|
function renderShellProviders(input) {
|
|
4457
4467
|
if (!input.themeRoles) return input.content;
|
|
@@ -4494,7 +4504,24 @@ function PreviewDocumentContent(input) {
|
|
|
4494
4504
|
children: input.children
|
|
4495
4505
|
}) });
|
|
4496
4506
|
}
|
|
4507
|
+
/** Warm code only. Sidebar reads and effects still start when React mounts it. */
|
|
4508
|
+
function usePreloadPreviewSidebar() {
|
|
4509
|
+
const { canEdit } = usePreviewAuth();
|
|
4510
|
+
useEffect(() => {
|
|
4511
|
+
if (!canEdit) return;
|
|
4512
|
+
const preload = () => {
|
|
4513
|
+
loadPreviewEditorSidebar().catch(() => {});
|
|
4514
|
+
};
|
|
4515
|
+
if (typeof window.requestIdleCallback === "function") {
|
|
4516
|
+
const task = window.requestIdleCallback(preload);
|
|
4517
|
+
return () => window.cancelIdleCallback(task);
|
|
4518
|
+
}
|
|
4519
|
+
const task = window.setTimeout(preload, 1e3);
|
|
4520
|
+
return () => window.clearTimeout(task);
|
|
4521
|
+
}, [canEdit]);
|
|
4522
|
+
}
|
|
4497
4523
|
function PreviewShellLayout(props) {
|
|
4524
|
+
usePreloadPreviewSidebar();
|
|
4498
4525
|
const themeRoles = resolveShellThemeRoles(props, usePreviewThemeSourceOptional());
|
|
4499
4526
|
if (!isOverrideOnlyPreviewShellLayout(props) && !themeRoles) return /* @__PURE__ */ jsx(PreviewThemeUnavailable, {});
|
|
4500
4527
|
return isOverrideOnlyPreviewShellLayout(props) || themeRoles ? /* @__PURE__ */ jsx(AvailablePreviewShellLayout, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $a as
|
|
3
|
-
import {
|
|
4
|
-
import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-
|
|
5
|
-
import { D as
|
|
6
|
-
import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-
|
|
2
|
+
import { $a as heroCopyFragment, $d as unsafeAsEditorBlockId, $i as readOfferingsGrouping, $t as EditorPartsProvider, Ar as buildLoadedOfferingsPreviewListing, Au as parseThemeForPersistence, Ba as faqAccordionFragment, Bd as readPublishedBlockPlacement, D as PreviewRenderPlanProjection, Dc as publicMapLocationParamsSchema, Dr as readBlockComposition, Er as blockLookFromContent, Fa as publicEventsArraySchema, Fo as buildThemeRuntime, Fr as logger, Fu as textColorStyle, Ga as formCopyFragment, Gr as resolvePageRouteTarget, Ha as blogFeaturedPostFragment, Hi as buildResolveImageUrlContext, Ho as pageGround, Ia as bookingConsentCarrierSchema, In as remoteDraftValues, Ir as Text$1, Ja as ctaCopyFragment, Jr as allOutlineBlocks, Jt as clientComponentRegistry, Ka as testimonialsCarouselFragment, Ki as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Kr as resolveRouteTarget, La as richTextFragment, Ln as renderSourceFor, Lo as mergeContentWithBlockStyleOverrides, Lr as getAtPath, Lu as parseSurfaceTree, Ma as pageTemplateFromEntry, Mr as buildAppointmentServicesView, Oc as calendarWindowQuerySchema, Od as sameMailingListPlacementTargeting, Oo as parseInlineTextFromUnknown, Or as getDefaultComponentRegistry, Pr as renderInlineText, Ra as headingFragment, Rd as NO_BLOCK_VERSIONS, Rn as renderedFieldChanges, Ro as groundTextureStyle, Rr as siblingPath, Sa as resolveDateRuntimeContext, Sn as useEditorUiStoreInstance, Sr as resolveBlockLayout, T as ObservedJoin, Td as parseMailingListPlacementTargeting, Ti as RichText$1, To as isInlineTextEmpty, Tr as arrangementHooksFromContent, U as usePreviewToken, Ua as singleButtonFragment, Ui as getCurrentResolveImageUrlContext, Ur as defaultTransforms, Va as faqHeadingFragment, Vd as selectedContentVersionId, Vr as coerceLinkedContentEntriesPayload, Wa as formEmbedFragment, Wi as setContextResolveImageUrlContext, Wn as unsafeAsLinkedContentEntryId, Wr as resolveEntryRouteTarget, Xa as ctaRowFragment, Xr as mapOutlineRegions, Ya as heroCtaRowFragment, Yr as mapOutlineBlocks, Zi as offeringsListingFor, ai as getBlockDefinition, ao as compileManifestContentContract, bo as deriveInlineTextFieldChanges, ci as normalizeBlockContent, dd as generateUuidV4, di as normalizeLocationMapSource, dr as createPageRenderPlanReader, ei as readinessFactsFromLoaders, eo as ctaButton, fi as parseLocationMapLoaderResult, fn as useEditor, fr as planArrangementContent, gi as publicRouteCandidatesSchema, go as parseGeneratedIconSetId, gr as retargetJoinsAcrossOmissions, hi as offeringsPreviewBlockDefinition, ho as parseGeneratedIconAssetId, hr as renderedJoinLayout, io as runTransforms, ja as hiddenFromVisitors, jc as unwrapResponse, jr as resolveEventDetailsPresentation, ka as projectRecurringSchedule, li as LOCATION_MAP_LOADER_KEYS, lu as bindingSchema, mo as parseBlockIconValue, mr as joinSlotKey, no as bodyCopyFragment, oi as hasBlockDefinition, oo as validateManifestDraft, ou as canWriteLinkedEntry, pd as buildMailingListSignupBlockSourceRef, pi as resolveLocationMapLocation, pr as composePageJoins, qa as testimonialsHeadingFragment, qi as groupOfferingRunsByCourse, qr as createEditorPresentationPageReader, ro as defineFragment, s as usePreviewPageDesignRenderState, sf as toUtcIsoDateTimeString, ta as normalizeEventRegistrationPageSurfaceSubject, ti as selectBlockContent, to as layoutSectionGround, uf as assertNever, ui as describeUnresolvedLocationMapLocation, vc as isObjectRecord, wi as cardListPresentationSchemaShape, wo as inlineTextToPlainText, wr as resolveDefaultBlockTree, xa as readRuntimeNow, xn as useEditorUiStore, xr as makeDefaultBlockComponent, yc as isRecord$1, yo as coerceInlineTextWithFallback, za as cardFragment, zd as readEditorBlockVersionsFromPlacement, zn as resolveRenderedValues, zu as defaultThemeTokens } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
3
|
+
import { Ht as projectPublicLocation, Ut as publicLocationSchema, Vt as parseLocationValue } from "./lucide-react-B4c6U3ZU.mjs";
|
|
4
|
+
import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-BL1fZnUD.mjs";
|
|
5
|
+
import { C as useRichTextEditor, D as decideDocumentReplacement, E as InlineTextEditor, O as resolveSdkFooterMode, T as parseRichTextDoc, b as RichTextEditorSurface, h as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as EMPTY_DOC } from "./PageSectionToolbar-CR99z8BL.mjs";
|
|
6
|
+
import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-CKjkFOZS.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -972,6 +972,62 @@ function requireThemeResources(resources, blockKind) {
|
|
|
972
972
|
return resources;
|
|
973
973
|
}
|
|
974
974
|
//#endregion
|
|
975
|
+
//#region ../blocks/src/sectionBoundaryTextures.tsx
|
|
976
|
+
/** A textured join's entire paint stack moves together, preserving colour/alpha order. */
|
|
977
|
+
function sectionOwnsBoundaryPaint(layout) {
|
|
978
|
+
return Boolean(layout.underlay?.texture || layout.paint.front.texture || layout.paint.back.some((paint) => paint.texture));
|
|
979
|
+
}
|
|
980
|
+
function boundaryColourCss(colour) {
|
|
981
|
+
return colour.startsWith("#") ? colour : `rgb(var(--tb-${colour}))`;
|
|
982
|
+
}
|
|
983
|
+
/** Planes share their owner's full height. Only their edge masks extend outside its box. */
|
|
984
|
+
function sectionBoundaryPaint(input) {
|
|
985
|
+
const planes = [edgePlanes(renderedJoinLayout(input.before?.join ?? null), "start"), edgePlanes(renderedJoinLayout(input.after?.join ?? null), "end")].flat();
|
|
986
|
+
return planes.length ? planes : null;
|
|
987
|
+
}
|
|
988
|
+
function edgePlanes(layout, side) {
|
|
989
|
+
if (!layout || !sectionOwnsBoundaryPaint(layout)) return [];
|
|
990
|
+
const underlay = side === "end" && layout.underlay ? [paintPlane(layout, layout.underlay, side, "underlay", -1)] : [];
|
|
991
|
+
return side === (layout.placement === "next" ? "end" : "start") ? [
|
|
992
|
+
...underlay,
|
|
993
|
+
...layout.paint.back.map((paint, index) => paintPlane(layout, paint, side, "back", index)).reverse(),
|
|
994
|
+
paintPlane(layout, layout.paint.front, side, "front", -1)
|
|
995
|
+
] : underlay;
|
|
996
|
+
}
|
|
997
|
+
function planeGeometry(layout, side, underlay, index) {
|
|
998
|
+
const height = underlay ? "var(--boundary-height)" : "var(--boundary-shape-height)";
|
|
999
|
+
const offset = index < 0 ? 0 : (index + 1) * .12;
|
|
1000
|
+
const overhang = `calc(${height} * ${underlay || layout.placement === "centred" ? .5 + offset : 1 + offset})`;
|
|
1001
|
+
return {
|
|
1002
|
+
"--section-edge-height": height,
|
|
1003
|
+
top: side === "start" ? `calc(-1 * ${overhang})` : 0,
|
|
1004
|
+
bottom: side === "end" ? `calc(-1 * ${overhang})` : 0,
|
|
1005
|
+
"--section-texture-y": side === "start" ? overhang : "0px",
|
|
1006
|
+
maskPosition: side === "start" ? "0 0" : "0 100%",
|
|
1007
|
+
WebkitMaskPosition: side === "start" ? "0 0" : "0 100%"
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
function backMasks(index) {
|
|
1011
|
+
return index >= 0 && index % 2 === 0 ? Object.fromEntries(["texture-mask", "section-mask"].flatMap((property) => ["wide", "narrow"].map((width) => [`--boundary-${property}-${width}`, `var(--boundary-back-${property}-${width})`]))) : {};
|
|
1012
|
+
}
|
|
1013
|
+
function paintPlane(layout, paint, side, role, index) {
|
|
1014
|
+
const style = {
|
|
1015
|
+
...layout.geometry,
|
|
1016
|
+
...backMasks(index),
|
|
1017
|
+
...planeGeometry(layout, side, role === "underlay", index),
|
|
1018
|
+
...paint.texture ? groundTextureStyle(paint.texture) : {},
|
|
1019
|
+
backgroundColor: boundaryColourCss(paint.colour),
|
|
1020
|
+
opacity: index < 0 ? 1 : (layout.paint.back.length - index) / (layout.paint.back.length + 1)
|
|
1021
|
+
};
|
|
1022
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1023
|
+
"aria-hidden": "true",
|
|
1024
|
+
"data-section-edge-paint": role,
|
|
1025
|
+
"data-section-edge-side": side,
|
|
1026
|
+
"data-section-edge-fade": role !== "underlay" && layout.geometry["--boundary-shape-background"]?.startsWith("linear-gradient") ? "" : void 0,
|
|
1027
|
+
style
|
|
1028
|
+
}, `${side}:${role}:${index}`);
|
|
1029
|
+
}
|
|
1030
|
+
//#endregion
|
|
975
1031
|
//#region ../blocks/src/pageRendererBoundaries.tsx
|
|
976
1032
|
function joinSlotsByPair(slots) {
|
|
977
1033
|
return new Map(slots.map((slot) => [joinSlotKey(slot.previousBlockId, slot.nextBlockId), slot]));
|
|
@@ -988,16 +1044,7 @@ function renderJoinSlot(input) {
|
|
|
988
1044
|
const { slot } = input;
|
|
989
1045
|
if (!slot) return null;
|
|
990
1046
|
const layout = renderedJoinLayout(slot.join);
|
|
991
|
-
const painted = slot.join && layout ?
|
|
992
|
-
"aria-hidden": "true",
|
|
993
|
-
"data-block-boundary": "",
|
|
994
|
-
"data-boundary-id": slot.join.boundaryId,
|
|
995
|
-
"data-boundary-previous-block-id": slot.previousBlockId,
|
|
996
|
-
"data-boundary-next-block-id": slot.nextBlockId,
|
|
997
|
-
"data-boundary-treatment": slot.join.treatment,
|
|
998
|
-
"data-boundary-placement": layout.placement,
|
|
999
|
-
style: boundaryPaintStyle(layout.paint)
|
|
1000
|
-
}, `${input.blockKey}:boundary`) : null;
|
|
1047
|
+
const painted = slot.join && layout ? paintedBoundary(slot, slot.join, layout, input.blockKey) : null;
|
|
1001
1048
|
const extra = input.renderJoin?.({
|
|
1002
1049
|
previousBlockId: slot.previousBlockId,
|
|
1003
1050
|
nextBlockId: slot.nextBlockId,
|
|
@@ -1006,18 +1053,65 @@ function renderJoinSlot(input) {
|
|
|
1006
1053
|
if (!painted && (extra === null || extra === void 0)) return null;
|
|
1007
1054
|
return /* @__PURE__ */ jsxs(React.Fragment, { children: [painted, extra] }, `${input.blockKey}:join`);
|
|
1008
1055
|
}
|
|
1009
|
-
|
|
1010
|
-
* The one render-edge place a theme token becomes CSS.
|
|
1011
|
-
*/
|
|
1012
|
-
function themeTokenCss(token) {
|
|
1013
|
-
return `rgb(var(--tb-${token}))`;
|
|
1014
|
-
}
|
|
1015
|
-
function boundaryPaintStyle(paint) {
|
|
1056
|
+
function boundaryPaintStyle(layout) {
|
|
1016
1057
|
return {
|
|
1017
|
-
|
|
1018
|
-
|
|
1058
|
+
...layout.geometry,
|
|
1059
|
+
"--boundary-shape-paint": boundaryColourCss(layout.paint.front.colour),
|
|
1060
|
+
...layout.underlay ? { "--boundary-band-paint": boundaryColourCss(layout.underlay.colour) } : {}
|
|
1019
1061
|
};
|
|
1020
1062
|
}
|
|
1063
|
+
function paintedBoundary(slot, join, layout, key) {
|
|
1064
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1065
|
+
"aria-hidden": "true",
|
|
1066
|
+
"data-block-boundary": "",
|
|
1067
|
+
"data-boundary-geometry": "",
|
|
1068
|
+
"data-boundary-section-owned": sectionOwnsBoundaryPaint(layout) ? "" : void 0,
|
|
1069
|
+
"data-boundary-id": join.boundaryId,
|
|
1070
|
+
"data-boundary-previous-block-id": slot.previousBlockId,
|
|
1071
|
+
"data-boundary-next-block-id": slot.nextBlockId,
|
|
1072
|
+
"data-boundary-treatment": join.treatment,
|
|
1073
|
+
"data-boundary-placement": layout.placement,
|
|
1074
|
+
style: boundaryPaintStyle(layout),
|
|
1075
|
+
children: sectionOwnsBoundaryPaint(layout) ? null : layout.paint.back.map((paint, index) => renderBackLayer(paint, index, layout))
|
|
1076
|
+
}, `${key}:boundary`);
|
|
1077
|
+
}
|
|
1078
|
+
function renderBackLayer(paint, index, layout) {
|
|
1079
|
+
const offset = 12 * (index + 1);
|
|
1080
|
+
const mirror = index % 2 === 0 ? "-1" : "1";
|
|
1081
|
+
const opacity = (layout.paint.back.length - index) / (layout.paint.back.length + 1);
|
|
1082
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1083
|
+
"data-boundary-back": "",
|
|
1084
|
+
style: {
|
|
1085
|
+
...{
|
|
1086
|
+
previous: {
|
|
1087
|
+
paint: {
|
|
1088
|
+
bottom: 0,
|
|
1089
|
+
transform: `translateY(-${offset}%) scaleX(${mirror})`
|
|
1090
|
+
},
|
|
1091
|
+
texture: { bottom: `calc(var(--boundary-height) * ${offset / 100})` }
|
|
1092
|
+
},
|
|
1093
|
+
next: {
|
|
1094
|
+
paint: {
|
|
1095
|
+
top: 0,
|
|
1096
|
+
transform: `translateY(${offset}%) scaleY(-1) scaleX(${mirror})`
|
|
1097
|
+
},
|
|
1098
|
+
texture: { top: `calc(var(--boundary-height) * ${offset / 100})` }
|
|
1099
|
+
},
|
|
1100
|
+
centred: {
|
|
1101
|
+
paint: {
|
|
1102
|
+
top: 0,
|
|
1103
|
+
transform: `translateY(-${50 + offset}%) scaleX(${mirror})`
|
|
1104
|
+
},
|
|
1105
|
+
texture: { top: `calc(var(--boundary-shape-height) / -2 - var(--boundary-height) * ${offset / 100})` }
|
|
1106
|
+
}
|
|
1107
|
+
}[layout.placement].paint,
|
|
1108
|
+
opacity,
|
|
1109
|
+
"--boundary-shape-paint": boundaryColourCss(paint.colour),
|
|
1110
|
+
"--boundary-shape-background": layout.geometry["--boundary-shape-background"],
|
|
1111
|
+
"--boundary-shape-background-mixed": layout.geometry["--boundary-shape-background-mixed"]
|
|
1112
|
+
}
|
|
1113
|
+
}, index);
|
|
1114
|
+
}
|
|
1021
1115
|
/**
|
|
1022
1116
|
* Reserve attributes and variables for a block wrapper, from the joins on
|
|
1023
1117
|
* either side. A join's `before` reserve sits inside its previous section, so
|
|
@@ -1027,16 +1121,19 @@ function boundaryPaintStyle(paint) {
|
|
|
1027
1121
|
function blockBoundaryReserves(input) {
|
|
1028
1122
|
const top = reserveOnSide(input.before, "after");
|
|
1029
1123
|
const bottom = reserveOnSide(input.after, "before");
|
|
1124
|
+
const edgePaint = sectionBoundaryPaint(input);
|
|
1030
1125
|
const style = {
|
|
1126
|
+
...edgePaint ? { position: "relative" } : {},
|
|
1031
1127
|
...top ? { "--site-style-boundary-before-reserve": top.length } : {},
|
|
1032
1128
|
...bottom ? { "--site-style-boundary-after-reserve": bottom.length } : {}
|
|
1033
1129
|
};
|
|
1034
1130
|
return {
|
|
1131
|
+
edgePaint,
|
|
1035
1132
|
topPlacement: top?.placement,
|
|
1036
1133
|
bottomPlacement: bottom?.placement,
|
|
1037
1134
|
seamBefore: seamAttribute(input.before),
|
|
1038
1135
|
seamAfter: seamAttribute(input.after),
|
|
1039
|
-
style:
|
|
1136
|
+
style: Object.keys(style).length ? style : void 0
|
|
1040
1137
|
};
|
|
1041
1138
|
}
|
|
1042
1139
|
function seamAttribute(slot) {
|
|
@@ -1632,6 +1729,10 @@ function composeSurvivorJoins(plan, survivors, themeResources) {
|
|
|
1632
1729
|
originalBlocks: plan.regions.main.map((planned) => planned.block),
|
|
1633
1730
|
survivingBlocks: new Set(survivors.map((survivor) => survivor.entry.block))
|
|
1634
1731
|
}),
|
|
1732
|
+
context: themeResources.kind === "available" ? {
|
|
1733
|
+
siteStyleId: themeResources.config?.siteStyleId,
|
|
1734
|
+
palette: themeResources.tokens.palette
|
|
1735
|
+
} : void 0,
|
|
1635
1736
|
survivors: survivors.map(({ entry }) => ({
|
|
1636
1737
|
id: entry.block.id,
|
|
1637
1738
|
kind: entry.block.kind,
|
|
@@ -2128,7 +2229,7 @@ function renderPlanEntry(input) {
|
|
|
2128
2229
|
before: joinBefore,
|
|
2129
2230
|
after: joinAfter
|
|
2130
2231
|
});
|
|
2131
|
-
const blockElement = /* @__PURE__ */
|
|
2232
|
+
const blockElement = /* @__PURE__ */ jsxs("div", {
|
|
2132
2233
|
id: blockAnchorId(block),
|
|
2133
2234
|
className: wrapperClassName,
|
|
2134
2235
|
...arrangementHooksFromContent(renderableContent),
|
|
@@ -2148,7 +2249,7 @@ function renderPlanEntry(input) {
|
|
|
2148
2249
|
"data-site-style-seam-after": reserves.seamAfter,
|
|
2149
2250
|
"data-style-group": styleGroup,
|
|
2150
2251
|
style: reserves.style,
|
|
2151
|
-
children: /* @__PURE__ */ jsx(MemoBlockSection, { ...blockSectionProps })
|
|
2252
|
+
children: [/* @__PURE__ */ jsx(MemoBlockSection, { ...blockSectionProps }), reserves.edgePaint]
|
|
2152
2253
|
}, blockKey);
|
|
2153
2254
|
if (boundaryElement) return /* @__PURE__ */ jsxs(React$1.Fragment, { children: [blockElement, boundaryElement] }, blockKey);
|
|
2154
2255
|
return blockElement;
|
|
@@ -221,9 +221,16 @@ const PALETTE_TOKEN_NAMES = [
|
|
|
221
221
|
"border"
|
|
222
222
|
];
|
|
223
223
|
const paletteTokenNameSchema = z.enum(PALETTE_TOKEN_NAMES);
|
|
224
|
+
/** Fixed solver endpoints, distinct from the palette-local legacy `white`. Not picker options. */
|
|
225
|
+
const absoluteInkColors = {
|
|
226
|
+
absoluteBlack: "#000000",
|
|
227
|
+
absoluteWhite: "#ffffff"
|
|
228
|
+
};
|
|
224
229
|
const themeColorBaseTokenNames = [
|
|
225
230
|
...PALETTE_TOKEN_NAMES,
|
|
226
231
|
...blockColorTokenNames,
|
|
232
|
+
"absoluteBlack",
|
|
233
|
+
"absoluteWhite",
|
|
227
234
|
"white",
|
|
228
235
|
"neutral",
|
|
229
236
|
"primaryText",
|
|
@@ -252,7 +259,7 @@ function isKnownShadeToken(value) {
|
|
|
252
259
|
const match = value.match(/^([a-zA-Z][a-zA-Z0-9]*)(?:-([0-9]{2,3}))$/);
|
|
253
260
|
if (!match) return false;
|
|
254
261
|
const [, base, shade] = match;
|
|
255
|
-
return Boolean(base && shade && isKnownBaseToken(base) && shadeStepSet.has(shade));
|
|
262
|
+
return Boolean(base && shade && isKnownBaseToken(base) && !(base in absoluteInkColors) && shadeStepSet.has(shade));
|
|
256
263
|
}
|
|
257
264
|
function isThemeColorTokenBase(value) {
|
|
258
265
|
return isKnownBaseToken(value) || isKnownShadeToken(value);
|
|
@@ -1932,11 +1939,20 @@ const TargetIcon = createIcon("TargetIcon", /* @__PURE__ */ jsxs(Fragment$1, { c
|
|
|
1932
1939
|
r: "1"
|
|
1933
1940
|
})
|
|
1934
1941
|
] }));
|
|
1942
|
+
const TicketIcon = createIcon("TicketIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("path", { d: "M4 8.5V6h16v2.5a2.5 2.5 0 0 0 0 5V18H4v-4.5a2.5 2.5 0 0 0 0-5Z" }), /* @__PURE__ */ jsx("path", {
|
|
1943
|
+
d: "M14 6v12",
|
|
1944
|
+
strokeDasharray: "2 2"
|
|
1945
|
+
})] }));
|
|
1935
1946
|
const UploadIcon = createIcon("UploadIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1936
1947
|
/* @__PURE__ */ jsx("path", { d: "M12 21V9" }),
|
|
1937
1948
|
/* @__PURE__ */ jsx("path", { d: "m7 14 5-5 5 5" }),
|
|
1938
1949
|
/* @__PURE__ */ jsx("path", { d: "M5 3h14" })
|
|
1939
1950
|
] }));
|
|
1951
|
+
const UserIcon = createIcon("UserIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("circle", {
|
|
1952
|
+
cx: "12",
|
|
1953
|
+
cy: "8",
|
|
1954
|
+
r: "3.6"
|
|
1955
|
+
}), /* @__PURE__ */ jsx("path", { d: "M5 20c.8-3.6 3.6-5.6 7-5.6s6.2 2 7 5.6" })] }));
|
|
1940
1956
|
const UserRoundCheckIcon = createIcon("UserRoundCheckIcon", /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1941
1957
|
/* @__PURE__ */ jsx("circle", {
|
|
1942
1958
|
cx: "10",
|
|
@@ -2916,4 +2932,4 @@ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disa
|
|
|
2916
2932
|
});
|
|
2917
2933
|
}
|
|
2918
2934
|
//#endregion
|
|
2919
|
-
export {
|
|
2935
|
+
export { parseOpaqueButtonColourToken as $, UserIcon as A, actionVariableFallback as B, FileTextIcon as C, MinusIcon as D, MapPinIcon as E, BUTTON_LABEL_CLASS as F, buttonSizeNameSchema as G, actionVariablePrefix as H, buttonPartsCss as I, buttonEffectApplicationSchema as J, createStandardButtonSurfacePolicy as K, buttonShadowLayersValue as L, parseThemeButtonVariantId as M, themeButtonSelector as N, PlusIcon as O, AFFORDANCE_SUPPRESS_CLASS as P, opaqueButtonColourTokenSchema as Q, partOwnedPseudoElements as R, FileSpreadsheetIcon as S, InfoIcon as T, DEFAULT_VARIANT_ALIAS_ID as U, actionVariableName as V, STANDARD_BUTTON_SURFACE_POLICY as W, buttonSystemSchema as X, buttonPressOffsetSchema as Y, buttonVisualStatesSchema as Z, CirclePlusIcon as _, ICON_PICKER_PRESETS as _t, ThemedDownloadLink as a, hexColorSchema as at, FileArchiveIcon as b, SpinnerNode as bt, isKnownIconName as c, paletteColorEntries as ct, SEMANTIC_ICON_DEFINITIONS as d, paletteModeSchema as dt, buttonKeyframesSchema as et, isSemanticIconId as f, paletteTokenNameSchema as ft, CircleMinusIcon as g, themeColorTokenSchema as gt, ChevronDownIcon as h, themeColorShadeSteps as ht, ThemedButtonSpecimen as i, blockColorTokenNames as it, UsersIcon as j, TicketIcon as k, isIconPickerPreset as l, paletteColorsFromEntries as lt, CalendarIcon as m, parseThemeColorToken as mt, ThemedButton as n, PALETTE_TOKEN_NAMES as nt, getIconComponent as o, isThemeColorToken as ot, ArrowDownIcon as p, parseColorTokenParts as pt, unsafeAsOpaqueButtonColourToken as q, ThemedButtonLink as r, absoluteInkColors as rt, getIconPickerOptionsForPreset as s, normalizePaletteHex as st, ThemedAuthoredButton as t, isFreeButtonRadius as tt, resolveIconPickerPreset as u, paletteColorsSchema as ut, ClockIcon as v, SYSTEM_BLOCK_KINDS as vt, GlobeIcon as w, FileAudioIcon as x, clsx as xt, ExternalLinkIcon as y, VARIANT_ROLES as yt, affordanceIconMaskUrl as z };
|
|
@@ -52022,4 +52022,4 @@ var lucide_react_exports = /* @__PURE__ */ __exportAll({
|
|
|
52022
52022
|
useLucideContext: () => useLucideContext
|
|
52023
52023
|
});
|
|
52024
52024
|
//#endregion
|
|
52025
|
-
export {
|
|
52025
|
+
export { ExternalLink as $, Lock as A, editLocationValue as At, ImagePlus as B, normalizeLocationAddressText as Bt, Palette as C, ArrowLeft as Ct, Minus as D, confirmLocationPair as Dt, Mountain as E, LOCATION_MATCH_THRESHOLDS_METRES as Et, Link2 as F, decideLocationSourcePermission as Ft, File as G, asNonEmptyStringOrNull as Gt, House as H, projectPublicLocation as Ht, Italic as I, formatLocationAddress as It, FilePlay as J, lowerFirstLetter as Jt, FileText as K, capitalize as Kt, Info as L, locationAddressSchema as Lt, List as M, sameLocationSpatialPair as Mt, ListOrdered as N, sameMeaningfulAddress as Nt, Maximize2 as O, decideLocationRelationship as Ot, Link as P, stableJsonStringify as Pt, EyeOff as Q, ok as Qt, Image as R, locationPinSchema as Rt, PanelBottom as S, ArrowRight as St, Move as T, Archive as Tt, Highlighter as U, publicLocationSchema as Ut, ImageOff as V, parseLocationValue as Vt, GripVertical as W, toLocationCoordinates as Wt, FileArchive as X, mapDrawingSchema as Xt, FileHeadphone as Y, trimmedStringOrNull as Yt, Eye as Z, err as Zt, RotateCcw as _, Building2 as _t, Video as a, Clock3 as at, Pencil as b, ArrowUp as bt, TriangleAlert as c, CircleMinus as ct, Sparkles as d, ChevronUp as dt, EllipsisVertical as et, SlidersHorizontal as f, ChevronRight as ft, Route as g, Calendar as gt, Rows3 as h, Check as ht, WavesHorizontal as i, Clock as it, LocateFixed as j, locationDistanceMetres as jt, MapPin as k, decideLocationSave as kt, Trash2 as l, CircleCheck as lt, Search as m, ChevronDown as mt, X as n, Crop as nt, Upload as o, Circle as ot, Settings as p, ChevronLeft as pt, FileSpreadsheet as q, hasText as qt, WifiOff as r, Copy as rt, Undo2 as s, CirclePlus as st, lucide_react_exports as t, Crosshair as tt, Store as u, CircleAlert as ut, Redo2 as v, Box as vt, PaintBucket as w, ArrowDown as wt, PanelTop as x, ArrowUpRight as xt, Plus as y, Bold as yt, ImageUp as z, locationValueSchema as zt };
|