@riverbankcms/sdk 0.158.0 → 0.159.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 +21 -2
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-Cj1i1Yhh.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-Cgzbv22M.d.ts} +6 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-BC_FGc6b.d.ts} +2 -2
- package/dist/_dts/{client-B960v2gW.d.ts → client-BOK-YHVJ.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-CsrYWxq_.d.ts} +2 -2
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-ClgMD-9g.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-C_IDuELl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-B7bhYSWx.d.ts} +5 -2
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → hosted-booking-appearance-ChGCQYdQ.d.ts} +15 -7
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-BZ4fb2zz.d.ts} +3 -3
- package/dist/_dts/{index-DCNu_8it.d.ts → index-CcaG6O13.d.ts} +4 -4
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-Ci1PEk82.d.ts} +1 -1
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-DMOfW1A7.d.ts} +1 -1
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-Dt3XSGzY.d.ts} +2 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-DzUdUaJ-.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-C1JI2pG0.d.ts} +7 -7
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → navigation-BnV_hOZy.d.ts} +20 -19
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-BtRUtrJa.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BY7PgnDi.d.ts → types--oWXIfyz.d.ts} +7 -7
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CI9dYWJ8.d.ts} +2 -2
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-CMFIZGUI.d.ts} +3 -3
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Ct-GL0eA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DKS8Ba30.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-Cg9v6d7Y.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-BoVCTUXy.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-BxRVCJG3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BI-kvwXf.mjs} +8 -8
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DIvnoN5l.mjs} +6 -6
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-BRMtEaa6.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-B8DzAUDa.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-Bo4qzQi0.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-D2vemnCx.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs} +120 -88
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-dlapZ6mi.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-Dqpv9Ggi.mjs} +16 -13
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-BrvKa_8H.mjs} +2 -2
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-ByLpb4Dz.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BLndwxpx.mjs} +9 -9
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-CTxTEgHX.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-C8ef0vnT.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-BpH6jkUO.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-DV78Td13.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-BJVb2RpL.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-CqGPXPSm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-CVsgML69.mjs → context-BRgBWthI.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-D8ucLsvX.mjs} +1 -1
- package/dist/client/dateFormatting-LeKNQ-iX.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-CjstiFPh.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-BaQJyI9x.mjs} +2 -2
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-CYNQYOsP.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-DDqSpN36.mjs} +31 -17
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-3vQtuC9X.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-CEJFMjqV.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-nGh47jef.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-BL3Ptb83.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-DDSO6KB2.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-DjNLfy2Z.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-Cj0By6ot.mjs} +3 -3
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-DyA9C5Hy.mjs} +1 -1
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-CZo0MPTA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-JjSq6Mzp.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-DRN1JePj.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-CuCvQdvp.mjs} +2 -2
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-B9srHHzZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-C2EgEBP1.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-CaldoFmi.mjs} +1 -1
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-hm7L17LM.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-M8FTSgm2.mjs} +2 -2
- package/dist/client/portal/client.mjs +10 -67
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-y86uwzEI.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-_JBndYZT.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-D-9fb2cW.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BSRlnwBW.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-DhbGL302.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BaX0hxf5.mjs} +83 -63
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cny2Ukb6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-96er7pIx.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-CnIJfdZA.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-CsLwzq5O.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store--O8GRBwr.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-BcaJ-acA.mjs} +11 -10
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-BxL_bshW.mjs} +37 -3
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-VZjPOfCX.mjs} +2 -2
- package/dist/client/{timetableModel-D7PwpaBY.mjs → timetableModel-D09jPdue.mjs} +5 -5
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-pTXuY3jV.mjs} +2 -2
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-D14J-EhJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-o5sIVZ2u.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DJhFP_rg.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DMmNf2FP.mjs} +6 -6
- package/dist/client/{view-hJr_L4QC2.mjs → view-BgPql2yH2.mjs} +3 -3
- package/dist/client/{view-BPEa6Okm.mjs → view-D1R3Lk05.mjs} +13 -69
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-C0TsNqJc.mjs} +102 -37
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DADCj_ET.mjs} +67 -67
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-La40Dmmh.mjs} +3 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-406Hw9zY.mjs} +130 -130
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-CWN44I_B.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-BdwEZoo9.mjs} +111593 -111244
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-BVUKIYG0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-Cy9AKPy5.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs} +1 -1
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-Bhpzz2vO.mjs} +1 -1
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-DB6fb1pR.mjs} +4 -4
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-z2daXp-2.mjs} +1 -1
- package/dist/server/{blocks-jlIm0PWc.mjs → blocks-BaG8Qpaa.mjs} +64 -29
- package/dist/server/{client-CU4wlMLE.mjs → client-Cv-osXoU.mjs} +1 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-BNMDYCm8.mjs} +4 -4
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-CjA_F_AF.mjs} +2 -2
- package/dist/server/loadPage-jade28Xh.mjs +2 -0
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +12 -11
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-CGodrtqi.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-DxRC724a.mjs} +73 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-C6bhjRKT.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-DZ5Fq_-r.mjs} +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-CbGDakvp.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-DK2YBNqy.mjs} +8 -6
- package/dist/server/{validation-Cm41pDUB.mjs → validation-BtHE2S_D.mjs} +2 -2
- package/dist/server/{version-Bo9C3McI.mjs → version-CNCdL6id.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,140 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Cr as asSiteStyleId, Fr as makeBoundaryId, K as corners, On as defaultThemeTokens, U as parseThemeForPersistence, Xn as paletteColorsSchema, Zn as paletteModeSchema, Zt as resolveSurface, ar as buildRenderableMediaAssetIndex, bn as expandPalette, cr as resolveManagedMediaReference, gr as asDesignBlockId, lr as mediaIdentifierSchema$2, on as textColorStyle, or as renderableMediaAssetSchema$1, sr as indexRenderableMediaAssets, vt as stripStaleTransitionStyleGroup, wr as assertNever$1, xr as asLayoutVariantKey } from "./ThemedButton-BEOPss9H.mjs";
|
|
3
3
|
import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-BC0V7iAR.mjs";
|
|
4
|
-
import { $ as createGuardedPreviewApiClient, $
|
|
5
|
-
import { a as
|
|
6
|
-
import { a as
|
|
4
|
+
import { $ as createGuardedPreviewApiClient, $a as getResponsiveScopeSpec, $i as compileManifestContentContract, $o as isObjectRecord, Aa as coerceLinkedContentEntriesPayload, Ai as imagePoolForOverride, Ar as Tabs, B as arrangementBlockControlsFor, Ba as faqAccordionFragment, Bi as createCustomBlockRegistry, Bo as sectionFactsForContent, Ca as bookingConsentCarrierSchema, Cn as resolveRenderedValues, Co as surfaceResolutionContextFromTheme, Ct as VIEWING_PARTICIPATION, Da as planSiteChromePlacement, Di as canCycleBackgroundOverrideValue, Dn as isEdited, Do as deriveSiteStyleBlockPolicy, Ds as toUtcIsoDateTimeString, Dt as EditorWriteSurface, Ea as resolveRouteTarget, Ei as backgroundColorTokens, En as baselineRevisionOf, Eo as getGradientPreset, Et as EditLeaseModal, Fa as getCurrentResolveImageUrlContext, Fi as resolveBackgroundCapability, Fn as FormRenderer, Fr as DialogContent, G as usePreviewPageDesignEditorState, Ga as formCopyFragment, Gi as offeringsPreviewBlockDefinition, Gn as MediaEditorContextProvider, Go as deriveSectionGround, Ha as blogFeaturedPostFragment, Hi as resolveBlockVariantKey, Hn as decodePublicProductCategorySelectorQuery, Ho as sectionTransitionFamilies, Ia as setContextResolveImageUrlContext, Ii as isSupportedLoaderEndpoint, Ir as DialogDescription, Ja as ctaCopyFragment, Ji as SITE_CHROME_VISIBLE_HEADER_SELECTOR, Jn as ApiRequestError, Jo as resolveCompiledSectionForegroundFromContent, K as PreviewDesignHistoryOrderProvider, Ka as testimonialsCarouselFragment, Ki as publicRouteCandidatesSchema, Kn as useMediaEditorOptional, Ko as heroPhotoPaintsGround, La as richTextFragment, Li as ThemeScope, Ln as civilPickerDisplay, Lo as formatSiteChromeBackgroundTokenLabel, Lr as DialogFooter, Ma as resolveImageUrlWithContext, Mi as planBackgroundOverride, Mo as arrangementSlotNames, Mr as TabsList, Na as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, Ni as planBackgroundTransition, No as resolveItemSurface, Nr as TabsTrigger, Nt as OfferingsPreviewWidgetProvider, Oa as formatDate, Oi as defaultBackgroundOverrideForMode, Os as assertNever$2, Pa as buildResolveImageUrlContext, Pi as rankBackgroundImagePoolItems, Po as resolveLookSlotSurfaces, Pr as Dialog, Q as resolvePreviewSidebarTab, Qa as DEFAULT_THEME_RESPONSIVE_MODE, Qi as parseStoredVariant, Qo as isRichTextDoc, Qr as Upload, Ra as headingFragment, Ri as containerResponsiveThemeCss, Rn as MediaEditor, Ro as boundaryLayout, Rr as DialogHeader, Sa as publicEventsArraySchema, Si as Button, Sn as renderedFieldChanges, Ss as unsafeAsEditorBlockId, St as useRetentionTicks, Ta as resolvePageRouteTarget, Tn as unsafeAsLinkedContentEntryId, Tt as EditLeaseDiscardedNotice, U as nextArrangementLookPin, Ua as singleButtonFragment, Ui as getBlockDefinition, Un as DEFAULT_LAUNCH_READINESS_INPUT, Uo as sectionTransitionFamilyForBoundaryOptionId, Va as faqHeadingFragment, Vi as makeDefaultBlockComponent, Vn as blocksKeys, Vo as defaultSectionTransitionVariantForFamily, W as PreviewPageDesignEditorStateProvider, Wa as formEmbedFragment, Wi as normalizeBlockContent, Wn as deriveLaunchReadiness, Wo as sectionTransitionVariantForBoundaryOptionId, Xa as ctaRowFragment, Xi as planSiteOverlayHeaderClearance, Xo as readRuntimeNow, Xt as EditorProvider, Ya as heroCtaRowFragment, Yi as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, Yn as unwrapResponse, Yo as resolveSectionBackground, Za as heroCopyFragment, Zi as visibleHeaderClearancePx, Zo as resolveDateRuntimeContext, Zr as X, Zt as useEditor, _a as logger, _o as componentRuntimeRulesForTheme, _s as selectedContentVersionId, _t as useEntryEditorController, aa as systemCustomizeFacetLabelForValue, ai as RotateCcw, an as createRoutingHelpers, ao as blockLookFromContent, as as inlineTextToPlainText, ba as defaultTransforms, bn as remoteDraftValues, bo as headerStyleRecipeForTheme, bt as createEditorApiClientFactory, c as PreviewThemeOverlayProvider, ca as escapeStyleContent, co as applyCompiledRuntimeFieldsToContent, cs as bindingSchema, ct as PreviewRichTextEditor, da as buildLoadedOfferingsPreviewListing, ds as buildMailingListSignupBlockSourceRef, dt as PREVIEW_EDITABLE_OUTLINE, ea as validateManifestDraft, eo as ctaButton, es as isRecord$8, et as initPreviewAuth, fa as buildAppointmentServicesView, fo as arrangementManifestFromVariants, fs as parseFooterModuleId, ga as renderInlineText, gn as useOptionalEditorUiStoreInstance, go as resolvePublishedLook, gs as readEditorBlockVersionsFromPlacement, hi as GripVertical, hn as useEditorUiStoreInstance, ho as resolveModeArrangement, hs as NO_BLOCK_VERSIONS, ht as EntryControllerProvider, ia as systemCustomizeFacetDefinitionsForBlock, ii as SlidersHorizontal, io as arrangementHooksFromContent, ir as BlockApiProvider, is as coerceInlineTextWithFallback, it as usePreviewToken, ja as getLinkedContentEntryMeta, ji as parseBackgroundOverrideFromContent, jr as TabsContent, ka as LINKED_CONTENT_ENTRY_META_KEY, ki as enabledBackgroundModes, kn as canEditorWrite, l as usePreviewThemeOverlay, la as mergeContentWithBlockStyleOverrides, lo as compileEditorModelRuntime, ls as getAtPath, lt as PreviewInlineTextEditor, ma as offeringsListingFor, mi as Image, mn as useEditorUiStore, mo as resolveEffectiveArrangement, ms as sameMailingListPlacementTargeting, mt as EditableBlockProvider, n as useSiteChromeCustomizeOptional, na as systemCustomizeFacetAppliesToLayoutVariant, no as runTransforms, nr as clientComponentRegistry, ns as parseGeneratedIconAssetId, nt as renewPreviewSession, o as PreviewDesignCoordinatorProvider, oa as systemCustomizeFacetNextValue, on as createSnapshotFromPageRecord, oo as readBlockComposition, os as isInlineTextEmpty, ot as renderSiteChromeBlock, pa as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, pi as Info, po as readStoredMode, ps as parseMailingListPlacementTargeting, qa as testimonialsHeadingFragment, qi as projectRecurringSchedule, qn as useApiMediaUploader, qo as parseCanonicalRuntimeBackground, ra as systemCustomizeFacetCurrentValue, ro as defineFragment, rr as ImageResolveContextProvider, rs as parseGeneratedIconSetId, rt as usePreviewAuth, sa as buildThemeRuntime, so as applyPageOpeningForegroundToTheme, ss as plainTextToInlineText, t as SiteChromeCustomizeProvider, ta as resolveArrangementKnobs, to as bodyCopyFragment, tr as API_ENDPOINTS, ts as parseBlockIconValue, tt as registerPreviewRenewalFetcher, ua as getDefaultComponentRegistry, us as siblingPath, ut as PreviewTextEditor, va as Text$1, vi as ChevronRight, vn as activeLinkedSaveHandover, vo as designRuntimeRulesForTheme, vs as parseEditLeaseScope, wa as resolveEntryRouteTarget, wi as cn, wo as gradientToCss, xa as calendarWindowQuerySchema, xn as renderSourceFor, xt as createPageSurfaceEditorServices, ya as RichText$1, yi as ChevronLeft, yn as planLinkedSaveHandoverRetention, yo as getCuratedSiteStyle, z as arrangementBackgroundControlFor, za as cardFragment, zi as resolveSdkFooterMode, zo as composeBoundary, zr as DialogTitle } from "./SiteChromeCustomizeContext-BdwEZoo9.mjs";
|
|
5
|
+
import { a as sanitizeDashboardPath, d as useBlockCustomizeControls, f as PreviewBlockCustomizeSelectionProvider, h as previewWidgetOverrides, i as resolvePreviewDashboardSetupHandoff, l as PreviewSiteFontStorageProvider, n as resolveSiteStyleAccess, p as usePreviewBlockCustomizeSelectionOptional, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle } from "./siteStyleAccess-CFMmoMZb.mjs";
|
|
6
|
+
import { a as resolvePreviewChromeSurface, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_CHROME_Z_INDEX, n as PREVIEW_CHROME_THEME_CLASS_NAME, o as PREVIEW_KEEP_ALIVE_INTERVAL_MS, s as PREVIEW_KEEP_ALIVE_JITTER_RATIO, u as FixedBottomSurface } from "./previewChromeSurface-BVUKIYG0.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useQueryClient } from "@tanstack/react-query";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import { createPortal } from "react-dom";
|
|
13
|
-
//#region ../ui/src/resizable-split-pane.tsx
|
|
14
|
-
/**
|
|
15
|
-
* Resizable split pane component
|
|
16
|
-
*
|
|
17
|
-
* Two-panel layout with draggable resize handle.
|
|
18
|
-
* On mobile (<1024px), switches to tabs.
|
|
19
|
-
*/
|
|
20
|
-
function ResizableSplitPane({ left, right, defaultSplit = 40, minLeftWidth = 300, minRightWidth = 400, leftLabel = "Editor", rightLabel = "Preview", defaultTab = "left", className, leftPaneClassName, rightPaneClassName, onSplitChange, splitPercent: controlledSplitPercent }) {
|
|
21
|
-
const [internalSplitPercent, setInternalSplitPercent] = useState(defaultSplit);
|
|
22
|
-
const [isDragging, setIsDragging] = useState(false);
|
|
23
|
-
const [isMobile, setIsMobile] = useState(false);
|
|
24
|
-
const containerRef = useRef(null);
|
|
25
|
-
const splitPercent = controlledSplitPercent ?? internalSplitPercent;
|
|
26
|
-
const setSplitPercent = useCallback((value) => {
|
|
27
|
-
setInternalSplitPercent(value);
|
|
28
|
-
onSplitChange?.(value);
|
|
29
|
-
}, [onSplitChange]);
|
|
30
|
-
useEffect(() => {
|
|
31
|
-
const checkMobile = () => {
|
|
32
|
-
setIsMobile(window.innerWidth < 1024);
|
|
33
|
-
};
|
|
34
|
-
checkMobile();
|
|
35
|
-
window.addEventListener("resize", checkMobile);
|
|
36
|
-
return () => window.removeEventListener("resize", checkMobile);
|
|
37
|
-
}, []);
|
|
38
|
-
const handleMouseDown = useCallback((e) => {
|
|
39
|
-
e.preventDefault();
|
|
40
|
-
setIsDragging(true);
|
|
41
|
-
}, []);
|
|
42
|
-
const handleMouseMove = useCallback((e) => {
|
|
43
|
-
if (!isDragging || !containerRef.current) return;
|
|
44
|
-
const containerRect = containerRef.current.getBoundingClientRect();
|
|
45
|
-
const containerWidth = containerRect.width;
|
|
46
|
-
let newSplitPercent = (e.clientX - containerRect.left) / containerWidth * 100;
|
|
47
|
-
const minLeftPercent = minLeftWidth / containerWidth * 100;
|
|
48
|
-
const minRightPercent = minRightWidth / containerWidth * 100;
|
|
49
|
-
newSplitPercent = Math.max(minLeftPercent, newSplitPercent);
|
|
50
|
-
newSplitPercent = Math.min(100 - minRightPercent, newSplitPercent);
|
|
51
|
-
setSplitPercent(newSplitPercent);
|
|
52
|
-
}, [
|
|
53
|
-
isDragging,
|
|
54
|
-
minLeftWidth,
|
|
55
|
-
minRightWidth,
|
|
56
|
-
setSplitPercent
|
|
57
|
-
]);
|
|
58
|
-
const handleMouseUp = useCallback(() => {
|
|
59
|
-
setIsDragging(false);
|
|
60
|
-
}, []);
|
|
61
|
-
useEffect(() => {
|
|
62
|
-
if (isDragging) {
|
|
63
|
-
document.addEventListener("mousemove", handleMouseMove);
|
|
64
|
-
document.addEventListener("mouseup", handleMouseUp);
|
|
65
|
-
return () => {
|
|
66
|
-
document.removeEventListener("mousemove", handleMouseMove);
|
|
67
|
-
document.removeEventListener("mouseup", handleMouseUp);
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}, [
|
|
71
|
-
isDragging,
|
|
72
|
-
handleMouseMove,
|
|
73
|
-
handleMouseUp
|
|
74
|
-
]);
|
|
75
|
-
if (isMobile) return /* @__PURE__ */ jsx("div", {
|
|
76
|
-
className: cn("h-full min-h-0 overflow-hidden", className),
|
|
77
|
-
children: /* @__PURE__ */ jsxs(Tabs, {
|
|
78
|
-
defaultValue: defaultTab,
|
|
79
|
-
className: "flex h-full flex-col",
|
|
80
|
-
children: [
|
|
81
|
-
/* @__PURE__ */ jsxs(TabsList, {
|
|
82
|
-
className: "w-full justify-start rounded-none border-b",
|
|
83
|
-
children: [/* @__PURE__ */ jsx(TabsTrigger, {
|
|
84
|
-
value: "left",
|
|
85
|
-
className: "flex-1",
|
|
86
|
-
children: leftLabel
|
|
87
|
-
}), /* @__PURE__ */ jsx(TabsTrigger, {
|
|
88
|
-
value: "right",
|
|
89
|
-
className: "flex-1",
|
|
90
|
-
children: rightLabel
|
|
91
|
-
})]
|
|
92
|
-
}),
|
|
93
|
-
/* @__PURE__ */ jsx(TabsContent, {
|
|
94
|
-
value: "left",
|
|
95
|
-
className: "flex-1 overflow-auto min-h-0",
|
|
96
|
-
children: left
|
|
97
|
-
}),
|
|
98
|
-
/* @__PURE__ */ jsx(TabsContent, {
|
|
99
|
-
value: "right",
|
|
100
|
-
className: "flex-1 overflow-auto min-h-0",
|
|
101
|
-
children: right
|
|
102
|
-
})
|
|
103
|
-
]
|
|
104
|
-
})
|
|
105
|
-
});
|
|
106
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
107
|
-
ref: containerRef,
|
|
108
|
-
"data-testid": "resizable-split-pane",
|
|
109
|
-
className: cn("relative flex h-full min-h-0 overflow-hidden", className),
|
|
110
|
-
style: { cursor: isDragging ? "col-resize" : void 0 },
|
|
111
|
-
children: [
|
|
112
|
-
/* @__PURE__ */ jsx("div", {
|
|
113
|
-
className: cn("h-full min-h-0 overflow-auto", leftPaneClassName),
|
|
114
|
-
style: { width: `${splitPercent}%` },
|
|
115
|
-
children: left
|
|
116
|
-
}),
|
|
117
|
-
/* @__PURE__ */ jsx("div", {
|
|
118
|
-
"data-testid": "resizable-split-pane-handle",
|
|
119
|
-
role: "separator",
|
|
120
|
-
"aria-orientation": "vertical",
|
|
121
|
-
className: cn("group relative flex w-1.5 flex-shrink-0 cursor-col-resize items-center justify-center border-x bg-border/30 transition-colors hover:bg-border", isDragging && "bg-primary"),
|
|
122
|
-
onMouseDown: handleMouseDown,
|
|
123
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
124
|
-
className: "absolute inset-y-0 flex items-center",
|
|
125
|
-
children: /* @__PURE__ */ jsx(GripVertical, { className: cn("h-3 w-3 text-muted-foreground transition-colors group-hover:text-foreground", isDragging && "text-primary-foreground") })
|
|
126
|
-
})
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ jsx("div", {
|
|
129
|
-
className: cn("relative z-10 h-full min-h-0 overflow-auto", rightPaneClassName),
|
|
130
|
-
style: { width: `${100 - splitPercent}%` },
|
|
131
|
-
children: right
|
|
132
|
-
}),
|
|
133
|
-
isDragging && /* @__PURE__ */ jsx("div", { className: "pointer-events-none fixed inset-0 z-50 cursor-col-resize" })
|
|
134
|
-
]
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
//#endregion
|
|
138
13
|
//#region ../blocks/src/system/fragments/library/headerCta.ts
|
|
139
14
|
const headerCtaFragment = defineFragment({
|
|
140
15
|
variantMeaning: { kind: "arrangement" },
|
|
@@ -2874,6 +2749,131 @@ function planOpeningForegroundContent(block, audience) {
|
|
|
2874
2749
|
};
|
|
2875
2750
|
}
|
|
2876
2751
|
//#endregion
|
|
2752
|
+
//#region ../ui/src/resizable-split-pane.tsx
|
|
2753
|
+
/**
|
|
2754
|
+
* Resizable split pane component
|
|
2755
|
+
*
|
|
2756
|
+
* Two-panel layout with draggable resize handle.
|
|
2757
|
+
* On mobile (<1024px), switches to tabs.
|
|
2758
|
+
*/
|
|
2759
|
+
function ResizableSplitPane({ left, right, defaultSplit = 40, minLeftWidth = 300, minRightWidth = 400, leftLabel = "Editor", rightLabel = "Preview", defaultTab = "left", className, leftPaneClassName, rightPaneClassName, onSplitChange, splitPercent: controlledSplitPercent }) {
|
|
2760
|
+
const [internalSplitPercent, setInternalSplitPercent] = useState(defaultSplit);
|
|
2761
|
+
const [isDragging, setIsDragging] = useState(false);
|
|
2762
|
+
const [isMobile, setIsMobile] = useState(false);
|
|
2763
|
+
const containerRef = useRef(null);
|
|
2764
|
+
const splitPercent = controlledSplitPercent ?? internalSplitPercent;
|
|
2765
|
+
const setSplitPercent = useCallback((value) => {
|
|
2766
|
+
setInternalSplitPercent(value);
|
|
2767
|
+
onSplitChange?.(value);
|
|
2768
|
+
}, [onSplitChange]);
|
|
2769
|
+
useEffect(() => {
|
|
2770
|
+
const checkMobile = () => {
|
|
2771
|
+
setIsMobile(window.innerWidth < 1024);
|
|
2772
|
+
};
|
|
2773
|
+
checkMobile();
|
|
2774
|
+
window.addEventListener("resize", checkMobile);
|
|
2775
|
+
return () => window.removeEventListener("resize", checkMobile);
|
|
2776
|
+
}, []);
|
|
2777
|
+
const handleMouseDown = useCallback((e) => {
|
|
2778
|
+
e.preventDefault();
|
|
2779
|
+
setIsDragging(true);
|
|
2780
|
+
}, []);
|
|
2781
|
+
const handleMouseMove = useCallback((e) => {
|
|
2782
|
+
if (!isDragging || !containerRef.current) return;
|
|
2783
|
+
const containerRect = containerRef.current.getBoundingClientRect();
|
|
2784
|
+
const containerWidth = containerRect.width;
|
|
2785
|
+
let newSplitPercent = (e.clientX - containerRect.left) / containerWidth * 100;
|
|
2786
|
+
const minLeftPercent = minLeftWidth / containerWidth * 100;
|
|
2787
|
+
const minRightPercent = minRightWidth / containerWidth * 100;
|
|
2788
|
+
newSplitPercent = Math.max(minLeftPercent, newSplitPercent);
|
|
2789
|
+
newSplitPercent = Math.min(100 - minRightPercent, newSplitPercent);
|
|
2790
|
+
setSplitPercent(newSplitPercent);
|
|
2791
|
+
}, [
|
|
2792
|
+
isDragging,
|
|
2793
|
+
minLeftWidth,
|
|
2794
|
+
minRightWidth,
|
|
2795
|
+
setSplitPercent
|
|
2796
|
+
]);
|
|
2797
|
+
const handleMouseUp = useCallback(() => {
|
|
2798
|
+
setIsDragging(false);
|
|
2799
|
+
}, []);
|
|
2800
|
+
useEffect(() => {
|
|
2801
|
+
if (isDragging) {
|
|
2802
|
+
document.addEventListener("mousemove", handleMouseMove);
|
|
2803
|
+
document.addEventListener("mouseup", handleMouseUp);
|
|
2804
|
+
return () => {
|
|
2805
|
+
document.removeEventListener("mousemove", handleMouseMove);
|
|
2806
|
+
document.removeEventListener("mouseup", handleMouseUp);
|
|
2807
|
+
};
|
|
2808
|
+
}
|
|
2809
|
+
}, [
|
|
2810
|
+
isDragging,
|
|
2811
|
+
handleMouseMove,
|
|
2812
|
+
handleMouseUp
|
|
2813
|
+
]);
|
|
2814
|
+
if (isMobile) return /* @__PURE__ */ jsx("div", {
|
|
2815
|
+
className: cn("h-full min-h-0 overflow-hidden", className),
|
|
2816
|
+
children: /* @__PURE__ */ jsxs(Tabs, {
|
|
2817
|
+
defaultValue: defaultTab,
|
|
2818
|
+
className: "flex h-full flex-col",
|
|
2819
|
+
children: [
|
|
2820
|
+
/* @__PURE__ */ jsxs(TabsList, {
|
|
2821
|
+
className: "w-full justify-start rounded-none border-b",
|
|
2822
|
+
children: [/* @__PURE__ */ jsx(TabsTrigger, {
|
|
2823
|
+
value: "left",
|
|
2824
|
+
className: "flex-1",
|
|
2825
|
+
children: leftLabel
|
|
2826
|
+
}), /* @__PURE__ */ jsx(TabsTrigger, {
|
|
2827
|
+
value: "right",
|
|
2828
|
+
className: "flex-1",
|
|
2829
|
+
children: rightLabel
|
|
2830
|
+
})]
|
|
2831
|
+
}),
|
|
2832
|
+
/* @__PURE__ */ jsx(TabsContent, {
|
|
2833
|
+
value: "left",
|
|
2834
|
+
className: "flex-1 overflow-auto min-h-0",
|
|
2835
|
+
children: left
|
|
2836
|
+
}),
|
|
2837
|
+
/* @__PURE__ */ jsx(TabsContent, {
|
|
2838
|
+
value: "right",
|
|
2839
|
+
className: "flex-1 overflow-auto min-h-0",
|
|
2840
|
+
children: right
|
|
2841
|
+
})
|
|
2842
|
+
]
|
|
2843
|
+
})
|
|
2844
|
+
});
|
|
2845
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2846
|
+
ref: containerRef,
|
|
2847
|
+
"data-testid": "resizable-split-pane",
|
|
2848
|
+
className: cn("relative flex h-full min-h-0 overflow-hidden", className),
|
|
2849
|
+
style: { cursor: isDragging ? "col-resize" : void 0 },
|
|
2850
|
+
children: [
|
|
2851
|
+
/* @__PURE__ */ jsx("div", {
|
|
2852
|
+
className: cn("h-full min-h-0 overflow-auto", leftPaneClassName),
|
|
2853
|
+
style: { width: `${splitPercent}%` },
|
|
2854
|
+
children: left
|
|
2855
|
+
}),
|
|
2856
|
+
/* @__PURE__ */ jsx("div", {
|
|
2857
|
+
"data-testid": "resizable-split-pane-handle",
|
|
2858
|
+
role: "separator",
|
|
2859
|
+
"aria-orientation": "vertical",
|
|
2860
|
+
className: cn("group relative flex w-1.5 flex-shrink-0 cursor-col-resize items-center justify-center border-x bg-border/30 transition-colors hover:bg-border", isDragging && "bg-primary"),
|
|
2861
|
+
onMouseDown: handleMouseDown,
|
|
2862
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
2863
|
+
className: "absolute inset-y-0 flex items-center",
|
|
2864
|
+
children: /* @__PURE__ */ jsx(GripVertical, { className: cn("h-3 w-3 text-muted-foreground transition-colors group-hover:text-foreground", isDragging && "text-primary-foreground") })
|
|
2865
|
+
})
|
|
2866
|
+
}),
|
|
2867
|
+
/* @__PURE__ */ jsx("div", {
|
|
2868
|
+
className: cn("relative z-10 h-full min-h-0 overflow-auto", rightPaneClassName),
|
|
2869
|
+
style: { width: `${100 - splitPercent}%` },
|
|
2870
|
+
children: right
|
|
2871
|
+
}),
|
|
2872
|
+
isDragging && /* @__PURE__ */ jsx("div", { className: "pointer-events-none fixed inset-0 z-50 cursor-col-resize" })
|
|
2873
|
+
]
|
|
2874
|
+
});
|
|
2875
|
+
}
|
|
2876
|
+
//#endregion
|
|
2877
2877
|
//#region ../db/src/schemas/forms.ts
|
|
2878
2878
|
/**
|
|
2879
2879
|
* Form Settings Schemas
|
|
@@ -7973,10 +7973,10 @@ function resolveShellThemeRoles(props) {
|
|
|
7973
7973
|
}
|
|
7974
7974
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
7975
7975
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
7976
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
7976
|
+
return { default: (await import("./PreviewEditorSidebar-DADCj_ET.mjs")).PreviewEditorSidebar };
|
|
7977
7977
|
});
|
|
7978
7978
|
const PreviewEditorUI = React.lazy(async () => {
|
|
7979
|
-
return { default: (await import("./PreviewEditorUI-
|
|
7979
|
+
return { default: (await import("./PreviewEditorUI-La40Dmmh.mjs")).PreviewEditorUI };
|
|
7980
7980
|
});
|
|
7981
7981
|
const previewPaneContainmentStyle = {
|
|
7982
7982
|
contain: "layout paint",
|