@riverbankcms/sdk 0.178.0 → 0.179.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 +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
- package/dist/_dts/{Page-C9i27wZA.d.ts → Page-lWenra5i.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
- package/dist/_dts/{client-BnYN6XsH.d.ts → client-qWn7xAwJ.d.ts} +47 -17
- package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
- package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
- package/dist/_dts/{index-DCa-8TEY.d.ts → index-7CDBZGb-.d.ts} +1 -1
- package/dist/_dts/{index-CKDRr54L.d.ts → index-BU9uAkHB.d.ts} +4 -4
- package/dist/_dts/{index-D9-N1d9v.d.ts → index-BYnG_vF5.d.ts} +1 -1
- package/dist/_dts/{index-nnEdgc3Z.d.ts → index-CZgJrhzT.d.ts} +4 -2
- package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CaCum9mM.d.ts} +2 -2
- package/dist/_dts/{index-0HFgCnGz.d.ts → index-DCiSHd-C.d.ts} +1 -1
- package/dist/_dts/{index-BE9dWIsr.d.ts → index-DVSipdrT.d.ts} +3 -3
- package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
- package/dist/_dts/{request-B20VRWHH.d.ts → request-BjKBCS7t.d.ts} +1201 -335
- package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- 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 +7 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +16 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +19 -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 +1 -1
- package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
- package/dist/_dts/{types-rm2M4LGx.d.ts → types-B7e6Lmo5.d.ts} +3 -3
- package/dist/_dts/{types-CYcd15BQ.d.ts → types-BOxSq-Bq.d.ts} +8 -7
- package/dist/_dts/{types-CMZ5mkpv.d.ts → types-CT-KOxl_.d.ts} +5 -39
- package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-Dz6qccue.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +42 -9
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
- package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-yoSI77ov.mjs} +10 -10
- package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-HeCNlliq.mjs} +10 -10
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-Duhk1vnF.mjs} +247 -7
- package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
- package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
- package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
- package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +189 -111
- package/dist/client/{Page-DqETUt-U.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
- package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-2Dl9zon2.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-B6SqU49k.mjs} +1 -1
- package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
- package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-drZBwEZW.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
- package/dist/client/{carousel-B3UhbFu7.mjs → carousel-C-YJliD-.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-DzOJfYOR.mjs → cart-acGFWK9R.mjs} +3 -3
- package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-BzlOGP2j.mjs} +1 -1
- package/dist/client/{checkout-LmePoEgM.mjs → checkout-SEontwhy.mjs} +3 -3
- package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
- package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
- package/dist/client/client.mjs +414 -319
- package/dist/client/{context-CJIz4FdL.mjs → context-DTrwaQtg.mjs} +2 -1
- package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
- package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-RLZQWi2V.mjs} +13 -13
- package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-CphYnImh.mjs} +4 -4
- package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-BvqjASB_.mjs} +4 -4
- package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-BaNAoC_M.mjs} +4 -4
- package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BBBtRwvy.mjs → form-DyH2juYT.mjs} +3 -3
- package/dist/client/{form.client-CZeRQLGF.mjs → form.client-DBwzkB0M.mjs} +5 -5
- package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CY4kX3mh.mjs} +3 -3
- package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-CTEN7gxW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -6
- package/dist/client/{gifting-Di9-SpwW.mjs → gifting-CIx4V378.mjs} +4 -4
- package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
- package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
- package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-DGcJfRS8.mjs} +2 -2
- package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
- package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
- package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3975 -3975
- package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
- package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
- package/dist/client/portal/client.mjs +9 -9
- package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
- package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
- package/dist/client/{productDetail-gxF5whea.mjs → productDetail-DjuFvkey.mjs} +3 -3
- package/dist/client/{productList-B9t0XJrN.mjs → productList-DE9GEFoZ.mjs} +3 -3
- package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
- package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-BPwV-0Pp.mjs} +10420 -9108
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-D1oTPDxm.mjs → shop-C3wM0Hr4.mjs} +3 -3
- package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
- package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
- package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-C0v88nLd.mjs} +14 -14
- package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-Ct-BRNez.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-D11X-B6n.mjs → src-CCtanNlD.mjs} +317 -342
- package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-lhE29TNT.mjs} +65 -11
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
- package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
- package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
- package/dist/client/{view-bGU1ws-m.mjs → view-LJVHVqsy.mjs} +4 -4
- package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CNDsxeJH.mjs} +8935 -8913
- package/dist/preview-next/before-render.mjs +4 -3
- package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +5 -5
- package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-aqpU34WI.mjs} +627 -498
- package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-DnL-FgSV.mjs} +28 -10
- package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-BEbq6EwO.mjs} +4 -4
- package/dist/server/{bindings-DrbJuftt.mjs → bindings-Bly0dRs7.mjs} +36 -5
- package/dist/server/{client-Bf06n9oj.mjs → client-CGJ2ztYp.mjs} +1449 -1600
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
- package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-DTLe0FEs.mjs} +22 -4
- package/dist/server/next.mjs +54 -94
- package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-JzxBnqfV.mjs} +7 -2
- package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
- package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-DU4ETFPS.mjs} +8 -50
- package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-8jNtDXmS.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
- package/dist/server/{registry-D12XF_h1.mjs → registry-DH1VrsCl.mjs} +122 -19
- 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 +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
- package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
- package/dist/server/{validation-CLq5cw6M.mjs → validation-3jOzYdPL.mjs} +3 -3
- package/dist/server/{version-oPbhAx8E.mjs → version-8t0o6_jd.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
- package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
- package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
- package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
- package/dist/client/course-DBEU9IA9.mjs +0 -244
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
- package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
- package/dist/client/view-DNX59QwM.mjs +0 -1372
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-D3Gy_Rs0.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Sc as PortalContainerProvider, fl as cn, ln as SURFACE_DOCUMENT_DATA_ATTRIBUTE, un as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-
|
|
2
|
+
import { Sc as PortalContainerProvider, fl as cn, ln as SURFACE_DOCUMENT_DATA_ATTRIBUTE, un as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-aqpU34WI.mjs";
|
|
3
3
|
import { createContext, useContext, useEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../ui/src/fixed-bottom-surface.tsx
|
|
@@ -6,13 +6,13 @@ import React from "react";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/preview-next/client/runtime.tsx
|
|
8
8
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
9
|
-
return { default: (await import("./SdkPreviewModeRuntime-
|
|
9
|
+
return { default: (await import("./SdkPreviewModeRuntime-Cx0SXnoX.mjs")).SdkPreviewModeRuntime };
|
|
10
10
|
});
|
|
11
11
|
const LazyPreviewShell = React.lazy(async () => {
|
|
12
|
-
return { default: (await import("./sdk-runtime-
|
|
12
|
+
return { default: (await import("./sdk-runtime-Dzx_RrN7.mjs")).PreviewShell };
|
|
13
13
|
});
|
|
14
14
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
15
|
-
return { default: (await import("./sdk-runtime-
|
|
15
|
+
return { default: (await import("./sdk-runtime-Dzx_RrN7.mjs")).PreviewShellLayout };
|
|
16
16
|
});
|
|
17
17
|
function SdkPreviewMode(props) {
|
|
18
18
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-
|
|
5
|
-
import "./SdkPreviewModeRuntime-
|
|
4
|
+
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-DeQjx4zk.mjs";
|
|
5
|
+
import "./SdkPreviewModeRuntime-Cx0SXnoX.mjs";
|
|
6
6
|
export { PreviewShell, PreviewShellLayout };
|
package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-LHedw83e.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
|
-
import { $c as useLayoutEffect2, $o as surfaceResolutionContextFromTheme, $s as Spinner, Ao as heroPhotoPaintsGround, Bc as Arrow, Bl as resolveSurfaceForeground, Cc as usePortalContainer, Do as DEFAULT_THEME_RESPONSIVE_MODE, Fc as Root, Fn as remoteDraftValues, Fo as compileEditorModelRuntime, Gc as useId$1, Gs as unwrapResponse, Hc as Root2$1, Ic as createRovingFocusGroupScope, Il as rgbColorValue, In as renderSourceFor, Jc as DismissableLayer, K as siteChromeHeaderLogoMayBeHardToSee, Kc as FocusScope, Ko as componentRuntimeRulesForTheme, Lc as Presence, Lo as restoreCompiledRuntimeFieldsFromContent, Lr as withValueAtPath, Nc as hideOthers, Nl as surfaceForegroundInputFromResolved, Oo as getResponsiveScopeSpec, Pc as Item, Pl as surfaceForegroundStyle, Po as applyCompiledRuntimeFieldsToContent, Ps as isRecord$1, Qc as useControllableState, Qi as buildThemeDataAttrs, Qo as compiledRuntimeStyleFieldNames, Rc as Portal, Rl as mapDrawingStyle, Rn as resolveRenderedValues, Ro as formatSiteChromeBackgroundTokenLabel, Sn as useOptionalEditorUiStoreInstance, Sr as resolveBlockVariantKey, To as escapeStyleContent, Uc as createPopperScope, Ul as expandPalette, Us as ApiEnvelopeError, Vc as Content$1, Wc as useSize, Ws as extractApiEnvelopeErrorDetails, Xc as useDirection, Xs as Callout, Yc as useCallbackRef, Yo as headerStyleRecipeForTheme, Ys as VISUALLY_HIDDEN_STYLES, Zc as createCollection, as as generateFontFaceCss, bc as menuItemInteractionClassName, c as usePreviewShownTheme, ca as SITE_CHROME_VISIBLE_HEADER_SELECTOR, cl as createSlot, dc as DialogContent, dl as useComposedRefs, dn as ApiRequestError, ea as themeRuntimeScopeProps, el as createContextScope, fl as cn$1, fs as resolveCompiledSectionContextFromContent, fu as authoredValuesEqual, gc as DialogTrigger, h as composePreviewTheme, ha as siteTopChromeMeasurementTargets$1, hc as DialogTitle, il as Button, is as buildGoogleFontFamilyQuery, jr as LocationMapView, lc as Dialog, lo as coerceInlineTextWithFallback, lu as asDesignBlockId, mc as DialogPortal, md as unsafeAsPositiveSeconds, nl as Primitive, ol as useControlReadiness, os as getSiteFontsStorageUrl, ou as getFontWidthRange, pa as measureSiteTopChromeBottomPx, pd as unsafeAsPositiveByteCount, pr as planArrangementContent, qc as useFocusGuards, qo as designRuntimeRulesForTheme, ri as getBlockDefinition, s as usePreviewPageDesignRenderState, td as unsafeAsEditorBlockId, tl as composeEventHandlers, u as useSiteChromeCustomizeOptional, uc as DialogClose, ud as assertNever, uo as deriveInlineTextFieldChanges, wc as ReactRemoveScroll, wo as buildThemeRuntime, y as applyBindingsToContent, zc as Anchor, zl as parseSurfaceTree } from "./previewAssistantSlot-
|
|
3
|
+
import { $c as useLayoutEffect2, $o as surfaceResolutionContextFromTheme, $s as Spinner, Ao as heroPhotoPaintsGround, Bc as Arrow, Bl as resolveSurfaceForeground, Cc as usePortalContainer, Do as DEFAULT_THEME_RESPONSIVE_MODE, Fc as Root, Fn as remoteDraftValues, Fo as compileEditorModelRuntime, Gc as useId$1, Gs as unwrapResponse, Hc as Root2$1, Ic as createRovingFocusGroupScope, Il as rgbColorValue, In as renderSourceFor, Jc as DismissableLayer, K as siteChromeHeaderLogoMayBeHardToSee, Kc as FocusScope, Ko as componentRuntimeRulesForTheme, Lc as Presence, Lo as restoreCompiledRuntimeFieldsFromContent, Lr as withValueAtPath, Nc as hideOthers, Nl as surfaceForegroundInputFromResolved, Oo as getResponsiveScopeSpec, Pc as Item, Pl as surfaceForegroundStyle, Po as applyCompiledRuntimeFieldsToContent, Ps as isRecord$1, Qc as useControllableState, Qi as buildThemeDataAttrs, Qo as compiledRuntimeStyleFieldNames, Rc as Portal, Rl as mapDrawingStyle, Rn as resolveRenderedValues, Ro as formatSiteChromeBackgroundTokenLabel, Sn as useOptionalEditorUiStoreInstance, Sr as resolveBlockVariantKey, To as escapeStyleContent, Uc as createPopperScope, Ul as expandPalette, Us as ApiEnvelopeError, Vc as Content$1, Wc as useSize, Ws as extractApiEnvelopeErrorDetails, Xc as useDirection, Xs as Callout, Yc as useCallbackRef, Yo as headerStyleRecipeForTheme, Ys as VISUALLY_HIDDEN_STYLES, Zc as createCollection, as as generateFontFaceCss, bc as menuItemInteractionClassName, c as usePreviewShownTheme, ca as SITE_CHROME_VISIBLE_HEADER_SELECTOR, cl as createSlot, dc as DialogContent, dl as useComposedRefs, dn as ApiRequestError, ea as themeRuntimeScopeProps, el as createContextScope, fl as cn$1, fs as resolveCompiledSectionContextFromContent, fu as authoredValuesEqual, gc as DialogTrigger, h as composePreviewTheme, ha as siteTopChromeMeasurementTargets$1, hc as DialogTitle, il as Button, is as buildGoogleFontFamilyQuery, jr as LocationMapView, lc as Dialog, lo as coerceInlineTextWithFallback, lu as asDesignBlockId, mc as DialogPortal, md as unsafeAsPositiveSeconds, nl as Primitive, ol as useControlReadiness, os as getSiteFontsStorageUrl, ou as getFontWidthRange, pa as measureSiteTopChromeBottomPx, pd as unsafeAsPositiveByteCount, pr as planArrangementContent, qc as useFocusGuards, qo as designRuntimeRulesForTheme, ri as getBlockDefinition, s as usePreviewPageDesignRenderState, td as unsafeAsEditorBlockId, tl as composeEventHandlers, u as useSiteChromeCustomizeOptional, uc as DialogClose, ud as assertNever, uo as deriveInlineTextFieldChanges, wc as ReactRemoveScroll, wo as buildThemeRuntime, y as applyBindingsToContent, zc as Anchor, zl as parseSurfaceTree } from "./previewAssistantSlot-aqpU34WI.mjs";
|
|
4
4
|
import { $ as Crosshair, B as House, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, F as Info, Gt as err, Kt as ok, Lt as parseLocationValue, Mt as formatLocationAddress, Nt as locationAddressSchema, Ot as sameLocationSpatialPair, Pt as locationPinSchema, St as LOCATION_MATCH_THRESHOLDS_METRES, Tt as decideLocationSave, Z as ExternalLink, c as Trash2, dt as ChevronLeft, ft as ChevronDown, g as RotateCcw, h as Route, ht as Building2, it as Circle, jt as decideLocationSourcePermission, kt as sameMeaningfulAddress, l as Store, lt as ChevronUp, n as X, p as Search, pt as Check, r as WifiOff, s as TriangleAlert, st as CircleCheck, ut as ChevronRight, v as Plus, w as Mountain, wt as decideLocationRelationship, y as Pencil } from "./lucide-react-McYZeSMb.mjs";
|
|
5
5
|
import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-BHAT81Wx.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-DpSd9aVk.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as selectEditorWriteState, bn as useEditorUiStore, fl as cn, kn as selectAutosaveStatus, mt as useSessionJournal, nl as Primitive, pl as useShallow, zn as useStore } from "./previewAssistantSlot-
|
|
2
|
+
import { An as selectEditorWriteState, bn as useEditorUiStore, fl as cn, kn as selectAutosaveStatus, mt as useSessionJournal, nl as Primitive, pl as useShallow, zn as useStore } from "./previewAssistantSlot-aqpU34WI.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+re_a0767706651230e21f3454caa0ad586a/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bc as Arrow, Cc as usePortalContainer, Fc as Root, Fi as systemCustomizeFacetAppliesToLayoutVariant, Gc as useId$1, Gr as fieldsNotShownIn, Hc as Root2$1, I as lookTilesFor, Ic as createRovingFocusGroupScope, Ii as systemCustomizeFacetDefinitionForBlock, Io as resolveEditorArrangementLook, Jc as DismissableLayer, Jn as manifestFieldSectionOptions, Jo as getCuratedSiteStyle, Js as Root$1, Ju as syncStateOf, Kc as FocusScope, Kn as createManifestFormAdapter, Lc as Presence, Li as systemCustomizeFacetDefinitionsForBlock, M as usePreviewRenderReadiness, Mi as arrangementKnobChoices, Mo as decideSectionPhoto, Ms as augmentManifestWithStyleGroups, Nc as hideOthers, Ni as resolveArrangementKnobs, No as sectionPhotoPresence, Pc as Item, Pi as isSystemCustomizeFacetId, Qc as useControllableState, Rc as Portal$2, Ri as systemCustomizeFacetStoredValue, Tn as shouldRevealAllBlockFieldValidation, Uc as createPopperScope, Uo as lookDefinitionForId, Vc as Content, Vt as derivePromotedFieldPlan, Wo as readStoredMode, Xc as useDirection, Yc as useCallbackRef, Zc as createCollection, bc as menuItemInteractionClassName, br as mergeManifestWithSdkOptions, cl as createSlot, cr as parseCanonicalSectionBackground, dl as useComposedRefs, du as asSiteStyleId, el as createContextScope, fl as cn, gs as lookModes, i as usePreviewSidebarNavigation, ko as resolveVisiblePromotedFieldPathsForEditorBlock, ll as createSlottable, mi as eventCalendarPagingFields, ms as isThemeV2NormalEditorRawStylePath, ni as resolveFieldOwnership, nl as Primitive, o as usePreviewPageDesignEditorState, or as parseBackgroundColorToken, ps as isThemeV2NormalEditorRawStyleFieldName, qc as useFocusGuards, ri as getBlockDefinition, rl as dispatchDiscreteCustomEvent, sl as cva, ti as fieldPathsOwnedBy, tl as composeEventHandlers, ul as composeRefs, vr as createCustomBlockRegistry, wc as ReactRemoveScroll, xa as eventCalendarListGroupingDecision, xc as menuTriggerInteractionClassName, xn as useEditorUiStoreInstance, yr as mergeBlockDescriptorsWithRegistry, zc as Anchor } from "./previewAssistantSlot-
|
|
2
|
+
import { Bc as Arrow, Cc as usePortalContainer, Fc as Root, Fi as systemCustomizeFacetAppliesToLayoutVariant, Gc as useId$1, Gr as fieldsNotShownIn, Hc as Root2$1, I as lookTilesFor, Ic as createRovingFocusGroupScope, Ii as systemCustomizeFacetDefinitionForBlock, Io as resolveEditorArrangementLook, Jc as DismissableLayer, Jn as manifestFieldSectionOptions, Jo as getCuratedSiteStyle, Js as Root$1, Ju as syncStateOf, Kc as FocusScope, Kn as createManifestFormAdapter, Lc as Presence, Li as systemCustomizeFacetDefinitionsForBlock, M as usePreviewRenderReadiness, Mi as arrangementKnobChoices, Mo as decideSectionPhoto, Ms as augmentManifestWithStyleGroups, Nc as hideOthers, Ni as resolveArrangementKnobs, No as sectionPhotoPresence, Pc as Item, Pi as isSystemCustomizeFacetId, Qc as useControllableState, Rc as Portal$2, Ri as systemCustomizeFacetStoredValue, Tn as shouldRevealAllBlockFieldValidation, Uc as createPopperScope, Uo as lookDefinitionForId, Vc as Content, Vt as derivePromotedFieldPlan, Wo as readStoredMode, Xc as useDirection, Yc as useCallbackRef, Zc as createCollection, bc as menuItemInteractionClassName, br as mergeManifestWithSdkOptions, cl as createSlot, cr as parseCanonicalSectionBackground, dl as useComposedRefs, du as asSiteStyleId, el as createContextScope, fl as cn, gs as lookModes, i as usePreviewSidebarNavigation, ko as resolveVisiblePromotedFieldPathsForEditorBlock, ll as createSlottable, mi as eventCalendarPagingFields, ms as isThemeV2NormalEditorRawStylePath, ni as resolveFieldOwnership, nl as Primitive, o as usePreviewPageDesignEditorState, or as parseBackgroundColorToken, ps as isThemeV2NormalEditorRawStyleFieldName, qc as useFocusGuards, ri as getBlockDefinition, rl as dispatchDiscreteCustomEvent, sl as cva, ti as fieldPathsOwnedBy, tl as composeEventHandlers, ul as composeRefs, vr as createCustomBlockRegistry, wc as ReactRemoveScroll, xa as eventCalendarListGroupingDecision, xc as menuTriggerInteractionClassName, xn as useEditorUiStoreInstance, yr as mergeBlockDescriptorsWithRegistry, zc as Anchor } from "./previewAssistantSlot-aqpU34WI.mjs";
|
|
3
3
|
import { it as Circle, pt as Check, ut as ChevronRight } from "./lucide-react-McYZeSMb.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { createContext, useContext, useMemo } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-
|
|
2
|
+
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-DnL-FgSV.mjs";
|
|
3
3
|
import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
|
|
4
4
|
import { NextResponse } from "next/server";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-
|
|
2
|
+
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-DnL-FgSV.mjs";
|
|
3
3
|
import { NextResponse } from "next/server";
|
|
4
4
|
//#region ../preview-next/src/middleware.ts
|
|
5
5
|
const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
|
|
@@ -115,7 +115,6 @@ const PUBLIC_READ_CACHE_POLICIES = {
|
|
|
115
115
|
"public_memberships"
|
|
116
116
|
], "batch_only"),
|
|
117
117
|
getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
|
|
118
|
-
resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
|
|
119
118
|
listPublicRouteCandidates: content(["published_content"], "batch_only"),
|
|
120
119
|
listPublicTeamMembers: content(["public_team_members"]),
|
|
121
120
|
listPublicProducts: availability(["public_products"], "direct"),
|
|
@@ -2653,15 +2652,6 @@ const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2653
2652
|
"resource:conflict",
|
|
2654
2653
|
"server:internal_error"
|
|
2655
2654
|
]
|
|
2656
|
-
},
|
|
2657
|
-
resolveEventSubroute: {
|
|
2658
|
-
path: "/public/sites/{siteId}/events/subroutes/resolve",
|
|
2659
|
-
method: "GET",
|
|
2660
|
-
revalidate: publicReadFreshnessSeconds("resolveEventSubroute"),
|
|
2661
|
-
tags: [TAG_TEMPLATES.publicEvents, "event-subroute"],
|
|
2662
|
-
auth: "public",
|
|
2663
|
-
responseKind: "json",
|
|
2664
|
-
errors: []
|
|
2665
2655
|
}
|
|
2666
2656
|
});
|
|
2667
2657
|
//#endregion
|
|
@@ -5867,6 +5857,14 @@ const API_ENDPOINTS = {
|
|
|
5867
5857
|
responseKind: "json",
|
|
5868
5858
|
errors: []
|
|
5869
5859
|
},
|
|
5860
|
+
adminDeleteSupportTicketScreenshot: {
|
|
5861
|
+
path: "/admin/support/tickets/screenshot/delete",
|
|
5862
|
+
method: "POST",
|
|
5863
|
+
tags: ["admin", "support"],
|
|
5864
|
+
auth: "admin",
|
|
5865
|
+
responseKind: "json",
|
|
5866
|
+
errors: []
|
|
5867
|
+
},
|
|
5870
5868
|
mfaTotpEnroll: {
|
|
5871
5869
|
path: "/auth/mfa/totp/enroll",
|
|
5872
5870
|
method: "POST",
|
|
@@ -6868,6 +6866,7 @@ const API_ENDPOINTS = {
|
|
|
6868
6866
|
responseKind: "json"
|
|
6869
6867
|
},
|
|
6870
6868
|
resolveRouteOutcome: {
|
|
6869
|
+
revalidate: PUBLIC_CONTENT_FRESHNESS_SECONDS,
|
|
6871
6870
|
path: "/sites/{siteId}/route-outcome",
|
|
6872
6871
|
method: "GET",
|
|
6873
6872
|
tags: [
|
|
@@ -7795,6 +7794,25 @@ const API_ENDPOINTS = {
|
|
|
7795
7794
|
"bookings"
|
|
7796
7795
|
]
|
|
7797
7796
|
},
|
|
7797
|
+
listEventBookingTicketChoices: {
|
|
7798
|
+
errors: [],
|
|
7799
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/ticket-choices",
|
|
7800
|
+
method: "GET",
|
|
7801
|
+
auth: "user",
|
|
7802
|
+
responseKind: "json"
|
|
7803
|
+
},
|
|
7804
|
+
changeEventBookingTickets: {
|
|
7805
|
+
errors: [],
|
|
7806
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/change-tickets",
|
|
7807
|
+
method: "POST",
|
|
7808
|
+
auth: "user",
|
|
7809
|
+
responseKind: "json",
|
|
7810
|
+
tags: [
|
|
7811
|
+
"site-{siteId}",
|
|
7812
|
+
"event-attendee-{attendeeId}",
|
|
7813
|
+
"bookings"
|
|
7814
|
+
]
|
|
7815
|
+
},
|
|
7798
7816
|
restoreEventBooking: {
|
|
7799
7817
|
errors: [],
|
|
7800
7818
|
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-
|
|
3
|
-
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-
|
|
1
|
+
import { Qn as siteHeaderManifest, Zn as siteFooterManifest, ec as toUtcIsoDateTimeString, ft as buildResolveImageUrlContext, mt as setContextResolveImageUrlContext, or as readRuntimeNow, sr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-DH1VrsCl.mjs";
|
|
2
|
+
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-DU4ETFPS.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-DyNSd2Yj.mjs";
|
|
4
4
|
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-BcNfYYuu.mjs";
|
|
5
5
|
import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
|
|
6
|
-
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-xeMG42aw.mjs";
|
|
7
7
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
8
8
|
import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
|
|
9
9
|
import "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
|
|
1
|
+
import { ot as lookFillPartsFromContent, rt as parseStoredVariant, st as resolveRuntimeSection, t as buildPageRenderPlan } from "./pageRenderPlan-JzxBnqfV.mjs";
|
|
2
|
+
import { Ao as isDecorativeTransitionIntent, Bo as resolveSectionBackground, Do as boundaryOptions, Eo as boundaryOptionForTransitionIntent, Fa as automaticArrangementLook, Fr as resolveDeclaredBlockDesignCapability, Ha as readStoredMode, Ho as defaultHeroImageSurfaceTreatment, Ia as compileArrangementLookRuntime, La as getCompatibleBlockAppearancePresets, Ma as arrangementAppearancePresets, Mo as softBoundaryOption, No as spaciousBoundaryOption, Pa as arrangementStyleAvailability, Po as transitionIntentForTreatment, Ra as resolveArrangementLookForBlock, Ua as resolveEffectiveArrangement, Xa as filterLayoutProfilesForPolicy, Ya as deriveSiteStyleBlockPolicy, Yi as plainTextToInlineText, Za as filterLookIdsForPolicy, ao as stripCompiledRuntimeStyleFields, bo as resolvePageDesignBlockLookChoice, dt as systemCustomizeFacetDefinitionsForBlock, hr as formatDate, io as compilePageRuntimeFields, jo as noneBoundaryOption, ko as boundaryTreatmentForBoundaryOptionId, na as isRecord, no as getCuratedSiteStyle, t as getBlockDefinition, xo as resolvePageDesignBoundaryChoice, za as resolveLookForBlock, zo as parseCanonicalRuntimeBackground } from "./registry-DH1VrsCl.mjs";
|
|
3
|
+
import { E as asPageFlowPresetId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
|
|
4
4
|
import { r as sectionStylesOverrideSchema } from "./schema-BpsqaSSU.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-DyNSd2Yj.mjs";
|
|
6
6
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
7
7
|
import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-CaH018pK.mjs";
|
|
8
8
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
@@ -1480,6 +1480,37 @@ const BINDING_SOURCES = [
|
|
|
1480
1480
|
];
|
|
1481
1481
|
//#endregion
|
|
1482
1482
|
//#region ../blocks/src/bindings/blockDesignBindings.ts
|
|
1483
|
+
function buildPageDesignBlockBinding(source) {
|
|
1484
|
+
const blockId = toDesignBlockId(source.id);
|
|
1485
|
+
if (blockId === null) return {
|
|
1486
|
+
kind: "invalid-block-id",
|
|
1487
|
+
blockId: source.id,
|
|
1488
|
+
blockKind: source.kind
|
|
1489
|
+
};
|
|
1490
|
+
const definition = getBlockDefinition(source.kind);
|
|
1491
|
+
return {
|
|
1492
|
+
kind: "valid",
|
|
1493
|
+
block: {
|
|
1494
|
+
blockId,
|
|
1495
|
+
blockKind: source.kind,
|
|
1496
|
+
content: source.content,
|
|
1497
|
+
currentContentId: source.currentContentId,
|
|
1498
|
+
...blockDesignInputsForDefinition(source.kind, definition, source.content),
|
|
1499
|
+
layoutOptionLabels: layoutOptionLabelsForDefinition(definition)
|
|
1500
|
+
}
|
|
1501
|
+
};
|
|
1502
|
+
}
|
|
1503
|
+
function toDesignBlockId(value) {
|
|
1504
|
+
if (value.trim().length === 0) return null;
|
|
1505
|
+
try {
|
|
1506
|
+
return asDesignBlockId(value);
|
|
1507
|
+
} catch {
|
|
1508
|
+
return null;
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
function layoutOptionLabelsForDefinition(definition) {
|
|
1512
|
+
return Object.fromEntries(Object.entries(definition?.manifest.variantOptions ?? {}).flatMap(([variantKey, option]) => option?.label !== void 0 && option.label.length > 0 ? [[variantKey, option.label]] : []));
|
|
1513
|
+
}
|
|
1483
1514
|
/** A block whose only variants are Look-only (the CTA's figure) keeps its plain layout's keys too. */
|
|
1484
1515
|
function arrangementKeysForManifest(meaning, variants, profileKeys) {
|
|
1485
1516
|
if (meaning.kind === "mode") return meaning.keys;
|
|
@@ -1869,4 +1900,4 @@ function normalizeBindingInput(value) {
|
|
|
1869
1900
|
return null;
|
|
1870
1901
|
}
|
|
1871
1902
|
//#endregion
|
|
1872
|
-
export {
|
|
1903
|
+
export { buildPageDesignBlockBinding as a, compileEditorModelRuntime as c, blockDesignInputsForDefinition as i, mergeHeaderNavTypographyPreference as l, isEntryBoundBlockEmpty as n, buildPageDesignEditorReadModel as o, resolveRuntimeJoinFacts as r, applyCompiledRuntimeFieldsToContent as s, applyBindingsToContent as t, readHeaderNavFontSizePreference as u };
|