@riverbankcms/sdk 0.174.1 → 0.175.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-YRmc-Yxz.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
- package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
- package/dist/_dts/{client-B1J6Akyf.d.ts → client-B6tCvmG4.d.ts} +487 -11
- package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-B9qryk4R.d.ts} +2 -2
- package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
- package/dist/_dts/{index-yWDbUojb.d.ts → index-Bl5_pjmq.d.ts} +1 -1
- package/dist/_dts/{index-CF62FntA.d.ts → index-Btp5nIoz.d.ts} +2 -2
- package/dist/_dts/{index-BLEKFHt1.d.ts → index-CQUzwOxO.d.ts} +1 -1
- package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-DmhFb6R1.d.ts} +1 -1
- package/dist/_dts/{index-CXZSy_9M.d.ts → index-OtazQE3U.d.ts} +2 -2
- package/dist/_dts/{index-BgOr1Xyz.d.ts → index-YRQulWB4.d.ts} +3 -3
- package/dist/_dts/{index-DpJm0NpL.d.ts → index-_pXaCO12.d.ts} +4 -4
- package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
- package/dist/_dts/{request-BK-pHf0P.d.ts → request-BT8i_vH-.d.ts} +1621 -385
- package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-CVLYWcoI.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +13 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +3 -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 +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +2 -1
- package/dist/_dts/{types-DjVNADXR.d.ts → types-C0XZnjXz.d.ts} +3 -3
- package/dist/_dts/{types-CwmB2NHU.d.ts → types-CXL1QJSY.d.ts} +7 -7
- package/dist/_dts/{types-Dmow_FI6.d.ts → types-OKzbqRBx.d.ts} +2 -2
- package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
- package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
- package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
- package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
- package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
- package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-BybMSKNL.mjs} +4 -3
- package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
- package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
- package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
- package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +635 -359
- package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-BecH-qhI.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BJzmFdcn.mjs} +18 -3
- package/dist/client/{Page-BpeP9xdt.mjs → Page-CWN_8cLZ.mjs} +601 -579
- package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
- package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-C7RJBOW3.mjs} +37 -12
- package/dist/client/{accordion-nR7D4m1a.mjs → accordion-uUi_N6mZ.mjs} +1 -1
- package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
- package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
- package/dist/client/bookings.mjs +22 -15
- package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-C-gFwhnO.mjs} +2 -1
- package/dist/client/{carousel-CVUOatsY.mjs → carousel-C0_BqMA0.mjs} +1 -1
- package/dist/client/{cart-DE0K6E0R.mjs → cart-BOHuppVu.mjs} +3 -3
- package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-IfJE1zAp.mjs} +1 -1
- package/dist/client/{checkout-76cdHyPL.mjs → checkout-C3Aj-aNa.mjs} +3 -3
- package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
- package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
- package/dist/client/client.mjs +112 -21
- package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
- package/dist/client/{course-DHIrXqNT.mjs → course-DHmeQAvq.mjs} +2 -2
- package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
- package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-ABCZWkpT.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-BdcuW_pa.mjs} +1 -1
- package/dist/client/display-DMqotaGU.mjs +11797 -0
- package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
- package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-CJapNbTv.mjs} +1 -1
- package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-CAdcpnLc.mjs} +176 -75
- package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
- package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-B9Ly3024.mjs} +4 -4
- package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
- package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-ZSmvhWII.mjs} +4 -4
- package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
- package/dist/client/{form-CfqIAhfN.mjs → form-DG_YZSNn.mjs} +3 -3
- package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BU6dM0-C.mjs} +4 -4
- package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-Db0Iq7nx.mjs} +1 -1
- package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-DFfWHpQB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -3
- package/dist/client/gifting-DMrsN4B4.mjs +28 -0
- package/dist/client/gifting.client-BVa2XYJB.mjs +404 -0
- package/dist/client/gifting.parts-C2u4Y-pf.mjs +86 -0
- package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-D91EzlOR.mjs} +2 -2
- package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BDZLALxj.mjs} +2951 -14395
- package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
- package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
- package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-B_67sNwa.mjs} +3 -3
- package/dist/client/{noop-D5mFWXtN.mjs → noop-DF8_EiFt.mjs} +93 -28
- package/dist/client/portal/client.mjs +313 -148
- package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
- package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
- package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-W0_0lDGe.mjs} +3 -3
- package/dist/client/{productList-DTgZXOEq.mjs → productList-ayAtPJdb.mjs} +3 -3
- package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
- package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-B1EEZkcr.mjs} +307 -240
- package/dist/client/rendering/client.mjs +25 -491
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -6
- package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
- package/dist/client/{shop-5LBhftWx.mjs → shop-DbUUoHFJ.mjs} +3 -3
- package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
- package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
- package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
- package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
- package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CJAINJr3.mjs} +113 -35
- package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-DwVAuGsx.mjs} +2 -2
- package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel-DBTIFWTb.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
- package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
- package/dist/client/{view-BvuYmQJ5.mjs → view-BTk470k0.mjs} +3 -2
- package/dist/client/{view-D9ObkFtz.mjs → view-Cw4EmEPv.mjs} +99 -30
- package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +28 -25
- package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
- package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-B61mZd81.mjs} +4141 -2677
- package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-BZDIC-fA.mjs} +527 -236
- package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +13 -4
- package/dist/preview-next/container-responsive.css +51 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BOuNcOcN.mjs → route-contract-0gSlK9S0.mjs} +86 -12
- package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-DeXXycg8.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
- package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-7L3pC5Os.mjs} +13 -34
- package/dist/server/{client-CGtU5fHI.mjs → client-CgghATBm.mjs} +111 -20
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ChnkJSay.mjs → loadContent-D7M5Vcug.mjs} +5 -5
- package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CiTId05y.mjs} +2 -2
- package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
- package/dist/server/next.mjs +35 -9
- package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-Cuos4Xcd.mjs} +97 -39
- package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
- package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-JxlV8_Bo.mjs} +1261 -1129
- package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
- package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BDhlJbAx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
- package/dist/server/{registry-DmqxC8th.mjs → registry-cQ9N5W-n.mjs} +20432 -20165
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-CN4UmmTK.mjs} +1 -1
- package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-Bt_8IL1g.mjs → validation-3puM5SM8.mjs} +3 -3
- package/dist/server/{version-DT_efohp.mjs → version-B8g-Wx57.mjs} +1 -1
- package/dist/styles/index.css +295 -37
- package/package.json +1 -1
- package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $r as selectBlockContent, Aa as formEmbedFragment, As as isRecord$1, Ba as ctaButton, Bi as
|
|
2
|
+
import { $r as selectBlockContent, Aa as formEmbedFragment, As as isRecord$1, Ba as ctaButton, Bi as groupOfferingRunsByCourse, Br as defaultTransforms, Bs as unwrapResponse, Ca as richTextFragment, Cr as arrangementHooksFromContent, D as ObservedJoin, Da as faqHeadingFragment, Dr as buildLoadedOfferingsPreviewListing, Ea as faqAccordionFragment, El as parseThemeForPersistence, Er as getDefaultComponentRegistry, Fa as heroCtaRowFragment, Fi as buildResolveImageUrlContext, Fn as renderSourceFor, Fr as siblingPath, Fu as readEditorBlockVersionsFromPlacement, Ga as validateManifestDraft, Gr as createEditorPresentationPageReader, Ha as defineFragment, Hn as unsafeAsLinkedContentEntryId, Hr as resolvePageRouteTarget, Ia as ctaRowFragment, Ii as getCurrentResolveImageUrlContext, Il as defaultThemeTokens, In as renderedFieldChanges, Iu as readPublishedBlockPlacement, Jr as mapOutlineRegions, Ki as readOfferingsGrouping, Kr as allOutlineBlocks, Li as setContextResolveImageUrlContext, Ln as resolveRenderedValues, Ls as calendarWindowQuerySchema, Lu as selectedContentVersionId, Ma as testimonialsCarouselFragment, Mr as logger, Na as testimonialsHeadingFragment, Nl as parseSurfaceTree, Nr as Text$1, Oa as blogFeaturedPostFragment, Or as resolveEventDetailsPresentation, Pa as ctaCopyFragment, Pn as remoteDraftValues, Pr as getAtPath, Pt as clientComponentRegistry, Pu as NO_BLOCK_VERSIONS, Qr as readinessFactsFromLoaders, Ri as normalizeEventRegistrationPageSurfaceSubject, Rr as coerceLinkedContentEntriesPayload, Sa as bookingConsentCarrierSchema, So as mergeContentWithBlockStyleOverrides, Sr as resolveDefaultBlockTree, Ta as cardFragment, Tr as readBlockComposition, Ua as runTransforms, Ur as resolveRouteTarget, Va as bodyCopyFragment, Vr as resolveEntryRouteTarget, W as usePreviewToken, Wa as compileManifestContentContract, Wi as offeringsListingFor, Yu as unsafeAsEditorBlockId, ai as normalizeLocationMapSource, ao as coerceInlineTextWithFallback, ba as pageTemplateFromEntry, bn as useEditorUiStoreInstance, bo as buildThemeRuntime, br as makeDefaultBlockComponent, ci as offeringsPreviewBlockDefinition, do as isInlineTextEmpty, dr as createPageRenderPlanReader, eo as parseBlockIconValue, fr as planArrangementContent, gr as retargetJoinsAcrossOmissions, hr as renderedJoinLayout, id as assertNever, ii as normalizeBlockContent, ja as formCopyFragment, jl as textColorStyle, jr as renderInlineText, k as PreviewRenderPlanProjection, ka as singleButtonFragment, kr as buildAppointmentServicesView, ks as isObjectRecord, li as publicRouteCandidatesSchema, lu as buildMailingListSignupBlockSourceRef, ma as resolveDateRuntimeContext, mo as parseInlineTextFromUnknown, mr as joinSlotKey, ni as getBlockDefinition, no as parseGeneratedIconSetId, oi as resolveLocationMapLocation, oo as deriveInlineTextFieldChanges, pa as readRuntimeNow, pl as bindingSchema, pr as composePageJoins, qr as mapOutlineBlocks, rd as toUtcIsoDateTimeString, s as usePreviewPageDesignRenderState, su as generateUuidV4, to as parseGeneratedIconAssetId, ul as canWriteLinkedEntry, uo as inlineTextToPlainText, va as projectRecurringSchedule, vi as cardListPresentationSchemaShape, wa as headingFragment, wr as blockLookFromContent, wu as sameMailingListPlacementTargeting, xa as publicEventsArraySchema, xu as parseMailingListPlacementTargeting, ya as hiddenFromVisitors, yi as RichText$1, yn as useEditorUiStore, za as heroCopyFragment, zi as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS } from "./previewAssistantSlot-B61mZd81.mjs";
|
|
3
3
|
import { Bt as publicLocationSchema, Mt as decideLocationSourcePermission, Rt as parseLocationValue, zt as projectPublicLocation } from "./lucide-react-Dfgl3Vtq.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-
|
|
5
|
-
import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-
|
|
6
|
-
import { f as useEditor } from "./previewChromeRoot-
|
|
7
|
-
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-
|
|
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-BZDIC-fA.mjs";
|
|
5
|
+
import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-bq7gbKvn.mjs";
|
|
6
|
+
import { f as useEditor } from "./previewChromeRoot-dwOn9XtM.mjs";
|
|
7
|
+
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-ChyjB96e.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1642,13 +1642,15 @@ function prepareEntry(entry, input) {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
1644
|
/**
|
|
1645
|
-
* Editor admission validates
|
|
1646
|
-
* proof.
|
|
1645
|
+
* Editor admission validates what the owner still decides, without minting a
|
|
1646
|
+
* renderable proof. The Look's decisions are not authoring choices (a frame's
|
|
1647
|
+
* 4/5 is not on the block's ratio list), so the preview renders them unvalidated,
|
|
1648
|
+
* as a public page does, and a hidden stale value can't block it. Returns `null`
|
|
1649
|
+
* when even relaxed validation rejects the draft.
|
|
1647
1650
|
*/
|
|
1648
1651
|
function previewableEditorContent(entry) {
|
|
1649
1652
|
if (entry.block.presentationAdmission.kind !== "editor") return entry.renderableContent;
|
|
1650
|
-
|
|
1651
|
-
return draft.kind === "previewable" ? draft.data : null;
|
|
1653
|
+
return validateManifestDraft(compileManifestContentContract(entry.definition.manifest), entry.ownerEditableContent).kind === "previewable" ? entry.renderableContent : null;
|
|
1652
1654
|
}
|
|
1653
1655
|
function buildPreparedContent(entry, content, input) {
|
|
1654
1656
|
const { dataContext } = input;
|
|
@@ -2913,79 +2915,65 @@ function drawingAtCurrentPin(location, ready) {
|
|
|
2913
2915
|
}
|
|
2914
2916
|
//#endregion
|
|
2915
2917
|
//#region ../preview-next/src/client/blocks/previewBatchLoaderParams.ts
|
|
2916
|
-
function
|
|
2917
|
-
return
|
|
2918
|
+
function withOptionalParams(endpoint) {
|
|
2919
|
+
return (id, params) => params ? {
|
|
2920
|
+
id,
|
|
2921
|
+
endpoint,
|
|
2922
|
+
params
|
|
2923
|
+
} : {
|
|
2924
|
+
id,
|
|
2925
|
+
endpoint
|
|
2926
|
+
};
|
|
2918
2927
|
}
|
|
2919
|
-
function
|
|
2920
|
-
|
|
2921
|
-
|
|
2928
|
+
function withCategories(endpoint) {
|
|
2929
|
+
return (id, params) => {
|
|
2930
|
+
const categories = params?.categories;
|
|
2931
|
+
return categories ? {
|
|
2922
2932
|
id,
|
|
2923
2933
|
endpoint,
|
|
2924
|
-
params:
|
|
2925
|
-
}
|
|
2926
|
-
case "listPublicEvents": {
|
|
2927
|
-
const typedParams = params;
|
|
2928
|
-
return typedParams ? {
|
|
2929
|
-
id,
|
|
2930
|
-
endpoint,
|
|
2931
|
-
params: typedParams
|
|
2932
|
-
} : {
|
|
2933
|
-
id,
|
|
2934
|
-
endpoint
|
|
2935
|
-
};
|
|
2936
|
-
}
|
|
2937
|
-
case "getPublicEventDetails": {
|
|
2938
|
-
const typedParams = params;
|
|
2939
|
-
return typedParams ? {
|
|
2940
|
-
id,
|
|
2941
|
-
endpoint,
|
|
2942
|
-
params: typedParams
|
|
2943
|
-
} : {
|
|
2944
|
-
id,
|
|
2945
|
-
endpoint
|
|
2946
|
-
};
|
|
2947
|
-
}
|
|
2948
|
-
case "listPublicRouteCandidates": return {
|
|
2934
|
+
params: { categories }
|
|
2935
|
+
} : {
|
|
2949
2936
|
id,
|
|
2950
2937
|
endpoint
|
|
2951
2938
|
};
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
}
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
}
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2939
|
+
};
|
|
2940
|
+
}
|
|
2941
|
+
const batchRequestBuilders = {
|
|
2942
|
+
listPublicEventCalendarWindow: (id, params) => ({
|
|
2943
|
+
id,
|
|
2944
|
+
endpoint: "listPublicEventCalendarWindow",
|
|
2945
|
+
params: calendarWindowQuerySchema.parse(params ?? {})
|
|
2946
|
+
}),
|
|
2947
|
+
listPublicEvents: withOptionalParams("listPublicEvents"),
|
|
2948
|
+
getPublicEventDetails: withOptionalParams("getPublicEventDetails"),
|
|
2949
|
+
listPublicRouteCandidates: (id) => ({
|
|
2950
|
+
id,
|
|
2951
|
+
endpoint: "listPublicRouteCandidates"
|
|
2952
|
+
}),
|
|
2953
|
+
listPublicTeamMembers: (id) => ({
|
|
2954
|
+
id,
|
|
2955
|
+
endpoint: "listPublicTeamMembers"
|
|
2956
|
+
}),
|
|
2957
|
+
listPublicProducts: withOptionalParams("listPublicProducts"),
|
|
2958
|
+
listPublicPasses: withCategories("listPublicPasses"),
|
|
2959
|
+
listPublicMemberships: withCategories("listPublicMemberships"),
|
|
2960
|
+
getPublicBookingServices: withOptionalParams("getPublicBookingServices"),
|
|
2961
|
+
getPublicWeeklySlotAvailability: (id, params) => ({
|
|
2962
|
+
id,
|
|
2963
|
+
endpoint: "getPublicWeeklySlotAvailability",
|
|
2964
|
+
params: params ?? { serviceId: "" }
|
|
2965
|
+
}),
|
|
2966
|
+
getPublicFormById: (id, params) => ({
|
|
2967
|
+
id,
|
|
2968
|
+
endpoint: "getPublicFormById",
|
|
2969
|
+
params: params ?? { formId: "" }
|
|
2970
|
+
})
|
|
2971
|
+
};
|
|
2972
|
+
function isBatchableEndpoint(endpoint) {
|
|
2973
|
+
return Object.hasOwn(batchRequestBuilders, endpoint);
|
|
2974
|
+
}
|
|
2975
|
+
function buildBatchLoaderRequest(id, endpoint, params) {
|
|
2976
|
+
return batchRequestBuilders[endpoint](id, params);
|
|
2989
2977
|
}
|
|
2990
2978
|
function stripUndefined(obj) {
|
|
2991
2979
|
const out = {};
|
|
@@ -3023,22 +3011,27 @@ function eventLoaderParams(params) {
|
|
|
3023
3011
|
function nonEmpty(params) {
|
|
3024
3012
|
return Object.keys(params).length ? params : void 0;
|
|
3025
3013
|
}
|
|
3014
|
+
const noBatchParams = () => void 0;
|
|
3015
|
+
const categoriesParam = (params) => nonEmpty(stripUndefined({ categories: params.categories || void 0 }));
|
|
3016
|
+
const previewBatchParamReaders = {
|
|
3017
|
+
listPublicEventCalendarWindow: (params) => calendarWindowQuerySchema.parse(params),
|
|
3018
|
+
listPublicEvents: (params) => nonEmpty({
|
|
3019
|
+
...eventLoaderParams(params),
|
|
3020
|
+
detailLevel: params.detailLevel || void 0,
|
|
3021
|
+
readProfile: params.readProfile || void 0
|
|
3022
|
+
}),
|
|
3023
|
+
getPublicEventDetails: (params) => nonEmpty(eventLoaderParams(params)),
|
|
3024
|
+
listPublicProducts: (params) => nonEmpty(stripUndefined({ categorySelector: decodePublicProductCategorySelectorQuery(params) ?? void 0 })),
|
|
3025
|
+
listPublicPasses: categoriesParam,
|
|
3026
|
+
listPublicMemberships: categoriesParam,
|
|
3027
|
+
getPublicBookingServices: (params) => nonEmpty(stripUndefined({ ids: normalizeIdsParam(params.ids || void 0) })),
|
|
3028
|
+
getPublicFormById: (params) => ({ formId: params.formId ?? "" }),
|
|
3029
|
+
listPublicRouteCandidates: noBatchParams,
|
|
3030
|
+
listPublicTeamMembers: noBatchParams,
|
|
3031
|
+
getPublicWeeklySlotAvailability: noBatchParams
|
|
3032
|
+
};
|
|
3026
3033
|
function toPreviewBatchParams(endpoint, params) {
|
|
3027
|
-
|
|
3028
|
-
case "listPublicEventCalendarWindow": return calendarWindowQuerySchema.parse(params);
|
|
3029
|
-
case "listPublicEvents": return nonEmpty({
|
|
3030
|
-
...eventLoaderParams(params),
|
|
3031
|
-
detailLevel: params.detailLevel || void 0,
|
|
3032
|
-
readProfile: params.readProfile || void 0
|
|
3033
|
-
});
|
|
3034
|
-
case "getPublicEventDetails": return nonEmpty(eventLoaderParams(params));
|
|
3035
|
-
case "listPublicProducts": return nonEmpty(stripUndefined({ categorySelector: decodePublicProductCategorySelectorQuery(params) ?? void 0 }));
|
|
3036
|
-
case "getPublicBookingServices": return nonEmpty(stripUndefined({ ids: normalizeIdsParam(params.ids || void 0) }));
|
|
3037
|
-
case "getPublicFormById": return { formId: params.formId ?? "" };
|
|
3038
|
-
case "listPublicRouteCandidates":
|
|
3039
|
-
case "listPublicTeamMembers":
|
|
3040
|
-
case "getPublicWeeklySlotAvailability": return;
|
|
3041
|
-
}
|
|
3034
|
+
return previewBatchParamReaders[endpoint](params);
|
|
3042
3035
|
}
|
|
3043
3036
|
//#endregion
|
|
3044
3037
|
//#region ../preview-next/src/client/blocks/previewBlockDataClient.ts
|
|
@@ -3105,16 +3098,6 @@ async function callDirectLoaderApiEndpoint(client, endpoint, params, signal) {
|
|
|
3105
3098
|
params,
|
|
3106
3099
|
options: { signal }
|
|
3107
3100
|
}));
|
|
3108
|
-
case "listPublicPasses": return unwrapResponse(await client({
|
|
3109
|
-
endpoint,
|
|
3110
|
-
params,
|
|
3111
|
-
options: { signal }
|
|
3112
|
-
}));
|
|
3113
|
-
case "listPublicMemberships": return unwrapResponse(await client({
|
|
3114
|
-
endpoint,
|
|
3115
|
-
params,
|
|
3116
|
-
options: { signal }
|
|
3117
|
-
}));
|
|
3118
3101
|
case "listPublicRecurringSchedule": return projectRecurringSchedule(unwrapResponse(await client({
|
|
3119
3102
|
endpoint: "listPublicEvents",
|
|
3120
3103
|
params,
|