@riverbankcms/sdk 0.118.0 → 0.121.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/{PreviewEditorSidebar-BBcK1DjD.mjs → PreviewEditorSidebar-lZ600tJx.mjs} +4 -4
- package/dist/{PreviewEditorUI-CuBFoYes.mjs → PreviewEditorUI-CTBWzLSb.mjs} +3 -3
- package/dist/{PreviewQueryProvider-nKUT4TL-.mjs → PreviewQueryProvider-BHT8CJvZ.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BWIO_Dsi.mjs → SdkPreviewModeRuntime-DhPU58s7.mjs} +5 -5
- package/dist/{SiteChromeCustomizeContext-CciG60M5.mjs → SiteChromeCustomizeContext-BkNvpzNZ.mjs} +52 -6
- package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -72
- package/dist/_dts/api/src/bookingConfig.d.ts +26 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
- package/dist/_dts/api/src/courses.d.ts +7 -1
- package/dist/_dts/api/src/endpoints.d.ts +2 -2
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +4 -1
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +22 -39
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +1 -7
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +6 -0
- package/dist/cli/index.mjs +3 -7
- package/dist/client/client.mjs +45 -3
- package/dist/client/rendering.mjs +43 -1
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/{previewAuthStore-DN7vcRsv.mjs → previewAuthStore-31xH13Jc.mjs} +1 -1
- package/dist/{sdk-runtime-vW8QbyPN.mjs → sdk-runtime-BE_vcGua.mjs} +2 -2
- package/dist/{separator-DJ4bkeY3.mjs → separator-CiffYtk3.mjs} +1 -1
- package/dist/server/components.mjs +43 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/next.mjs +45 -3
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +43 -1
- package/dist/server/rendering.mjs +43 -1
- package/dist/server/server.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $c as cn, $i as findCuratedPalette, $l as LoaderCircle, A as dismissWarnings, Ac as CollapsibleContent, Ai as curatedSiteStyles, B as previewCuratedPalette, Bc as DropdownMenuLabel, C as applyResolvedSelections, Cl as assertNever$1, D as createPalette, Dn as listEntryPageContentSlots, Ds as updateButtonStyleSelectionChoice, E as committedPaletteForSnapshot, Es as resolveButtonStyleSelection, F as openRow, Fi as getHeaderLayout, G as previewSiteStyle, Gt as useEditorUiStore, H as previewHeaderLayout, Hc as DropdownMenuTrigger, Hl as Smartphone, I as paletteMutationCapability, Ic as Surface, Ii as getHeaderStyle, J as setPaletteColors, K as reconcilePaletteLibraryActive, Kl as Plus, Kt as useEditorUiStoreInstance, L as palettePreviewProjection, Lc as DropdownMenu, M as markApplyFailed, Mi as getCuratedSiteStyle, N as markApplySaved, Nn as ThemeScope, O as createStyleConfiguratorState, Os as buttonStyleSelectionKey, P as markApplySaving, Pi as findFooterLook, Pl as X$1, Qi as curatedPalettes, Ql as Maximize2, R as prepareStalePaletteRetry, Rc as DropdownMenuContent, Sc as TabsTrigger, T as cancelPreview, Ts as findButtonStyleRecipe, U as previewHeaderStyle, Ul as SlidersHorizontal, V as previewFooterLook, Vc as DropdownMenuSeparator, W as previewSitePalette, X as syncStyleConfiguratorState, Xc as Button, Xl as Monitor, Y as styleConfiguratorHistoryEntryForPersistedSelection, Z as toggleRow, _ as planSiteChromeLookSelection, _c as PopoverTrigger, _n as createManifestValidation, at as resolvePreviewSidebarTab, b as usePreviewDesignCoordinator, bc as TabsContent, bn as createStoreBackend, c as selectionSnapshotFromApplySiteStyleSelectionResponse, cc as SelectContent, cu as ChevronLeft, d as PREVIEW_DESIGN_REFRESH_ERROR_MESSAGE, dc as SelectValue, dn as resolveContentTitle, dt as useUISelector, ea as buildPaletteLibraryReadModel, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fc as Callout, g as cycleableSiteChromeOptions, gc as PopoverContent, h as cycleSiteChromeLookId, hc as Popover, hn as ManifestForm, it as createOptimisticActionRunner, j as isPreviewingChange, jc as CollapsibleTrigger, js as themeButtonClassName, k as deriveStyleConfiguratorCapabilities, kc as Collapsible, l as resolveStyleConfiguratorInitialSnapshot, lc as SelectItem, ln as deriveRouteMetadataPresentation, m as buildSiteChromeLookModels, mc as SearchInput, mt as useEntryController, n as useSiteChromeCustomizeOptional, na as paletteColorsEqual, nl as unsafeAsEditorBlockId, ot as FooterComposerPanel, p as reportPreviewDesignError, pc as CalloutDescription, q as resetTypographyToSaved, ra as paletteColorsSchema, s as buildApplySiteStyleSelectionBody, sc as Select, sn as isAdapterReferenceKind, su as ChevronRight, ta as paletteColorEntries, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, uc as SelectTrigger, un as resolvePageRouteSlug, ut as ContentFieldsForm, uu as Check, v as planSiteStylePreviewChange, vc as Input, vn as FormRenderer, w as applyTypographyDraftPatch, ws as buttonStyleSelectionParameterValue, xc as TabsList, yc as Tabs, z as previewButtonStyle, zc as DropdownMenuItem, zl as Tablet, zt as BlockEditor } from "./SiteChromeCustomizeContext-
|
|
3
|
-
import { d as unwrapResponse, f as getDashboardUrl, r as usePreviewAuth } from "./previewAuthStore-
|
|
4
|
-
import { S as getSiteFontsStorageUrl, _ as useBlockCustomizeControls, b as buildFontPreviewUrl, d as resolvePreviewDashboardSetupHandoff, f as resolvePreviewEditorGuidanceModel, g as usePreviewBlockCustomizeSelectionOptional, h as canInspectSiteStyle, m as canApplySiteStyle, p as resolvePreviewSidebarChromeModel, u as buildPreviewDashboardSetupUrl, v as PreviewFormProvider, x as generateFontFaceCss, y as previewWidgetOverrides } from "./SdkPreviewModeRuntime-
|
|
5
|
-
import { t as Separator } from "./separator-
|
|
2
|
+
import { $c as cn, $i as findCuratedPalette, $l as LoaderCircle, A as dismissWarnings, Ac as CollapsibleContent, Ai as curatedSiteStyles, B as previewCuratedPalette, Bc as DropdownMenuLabel, C as applyResolvedSelections, Cl as assertNever$1, D as createPalette, Dn as listEntryPageContentSlots, Ds as updateButtonStyleSelectionChoice, E as committedPaletteForSnapshot, Es as resolveButtonStyleSelection, F as openRow, Fi as getHeaderLayout, G as previewSiteStyle, Gt as useEditorUiStore, H as previewHeaderLayout, Hc as DropdownMenuTrigger, Hl as Smartphone, I as paletteMutationCapability, Ic as Surface, Ii as getHeaderStyle, J as setPaletteColors, K as reconcilePaletteLibraryActive, Kl as Plus, Kt as useEditorUiStoreInstance, L as palettePreviewProjection, Lc as DropdownMenu, M as markApplyFailed, Mi as getCuratedSiteStyle, N as markApplySaved, Nn as ThemeScope, O as createStyleConfiguratorState, Os as buttonStyleSelectionKey, P as markApplySaving, Pi as findFooterLook, Pl as X$1, Qi as curatedPalettes, Ql as Maximize2, R as prepareStalePaletteRetry, Rc as DropdownMenuContent, Sc as TabsTrigger, T as cancelPreview, Ts as findButtonStyleRecipe, U as previewHeaderStyle, Ul as SlidersHorizontal, V as previewFooterLook, Vc as DropdownMenuSeparator, W as previewSitePalette, X as syncStyleConfiguratorState, Xc as Button, Xl as Monitor, Y as styleConfiguratorHistoryEntryForPersistedSelection, Z as toggleRow, _ as planSiteChromeLookSelection, _c as PopoverTrigger, _n as createManifestValidation, at as resolvePreviewSidebarTab, b as usePreviewDesignCoordinator, bc as TabsContent, bn as createStoreBackend, c as selectionSnapshotFromApplySiteStyleSelectionResponse, cc as SelectContent, cu as ChevronLeft, d as PREVIEW_DESIGN_REFRESH_ERROR_MESSAGE, dc as SelectValue, dn as resolveContentTitle, dt as useUISelector, ea as buildPaletteLibraryReadModel, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fc as Callout, g as cycleableSiteChromeOptions, gc as PopoverContent, h as cycleSiteChromeLookId, hc as Popover, hn as ManifestForm, it as createOptimisticActionRunner, j as isPreviewingChange, jc as CollapsibleTrigger, js as themeButtonClassName, k as deriveStyleConfiguratorCapabilities, kc as Collapsible, l as resolveStyleConfiguratorInitialSnapshot, lc as SelectItem, ln as deriveRouteMetadataPresentation, m as buildSiteChromeLookModels, mc as SearchInput, mt as useEntryController, n as useSiteChromeCustomizeOptional, na as paletteColorsEqual, nl as unsafeAsEditorBlockId, ot as FooterComposerPanel, p as reportPreviewDesignError, pc as CalloutDescription, q as resetTypographyToSaved, ra as paletteColorsSchema, s as buildApplySiteStyleSelectionBody, sc as Select, sn as isAdapterReferenceKind, su as ChevronRight, ta as paletteColorEntries, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, uc as SelectTrigger, un as resolvePageRouteSlug, ut as ContentFieldsForm, uu as Check, v as planSiteStylePreviewChange, vc as Input, vn as FormRenderer, w as applyTypographyDraftPatch, ws as buttonStyleSelectionParameterValue, xc as TabsList, yc as Tabs, z as previewButtonStyle, zc as DropdownMenuItem, zl as Tablet, zt as BlockEditor } from "./SiteChromeCustomizeContext-BkNvpzNZ.mjs";
|
|
3
|
+
import { d as unwrapResponse, f as getDashboardUrl, r as usePreviewAuth } from "./previewAuthStore-31xH13Jc.mjs";
|
|
4
|
+
import { S as getSiteFontsStorageUrl, _ as useBlockCustomizeControls, b as buildFontPreviewUrl, d as resolvePreviewDashboardSetupHandoff, f as resolvePreviewEditorGuidanceModel, g as usePreviewBlockCustomizeSelectionOptional, h as canInspectSiteStyle, m as canApplySiteStyle, p as resolvePreviewSidebarChromeModel, u as buildPreviewDashboardSetupUrl, v as PreviewFormProvider, x as generateFontFaceCss, y as previewWidgetOverrides } from "./SdkPreviewModeRuntime-DhPU58s7.mjs";
|
|
5
|
+
import { t as Separator } from "./separator-CiffYtk3.mjs";
|
|
6
6
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, useTransition } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $c as cn, $l as LoaderCircle, Cc as Dialog, Dc as DialogHeader, Gl as Redo2, Gt as useEditorUiStore, Hc as DropdownMenuTrigger, Il as Undo2, It as useEditor, Jl as PenLine, Kt as useEditorUiStoreInstance, Lc as DropdownMenu, Ll as TriangleAlert, Oc as DialogTitle, Rc as DropdownMenuContent, Tc as DialogDescription, Vl as Sparkles, Wt as classifyHistoryShortcut, Xc as Button, Yl as Palette, Zc as cva, a as previewDesignHistoryDomainForCommand, ac as TooltipContent, ht as useEntryEditorController, i as usePreviewDesignHistoryOrder, ic as Tooltip, lu as ChevronDown, n as useSiteChromeCustomizeOptional, nn as useMultiAutosave, nu as Eye, o as selectPreviewDesignHistoryDomain, oc as TooltipTrigger, ql as Pencil, ru as EllipsisVertical, wc as DialogContent, zc as DropdownMenuItem } from "./SiteChromeCustomizeContext-
|
|
3
|
-
import { d as unwrapResponse, r as usePreviewAuth } from "./previewAuthStore-
|
|
4
|
-
import { C as FixedBottomSurface, a as usePreviewPageDesignEditorState, c as applyPreviewChromeSurfaceToElement, l as resolvePreviewChromeSurface, o as PREVIEW_CHROME_PORTAL_CLASS_NAME, s as PREVIEW_CHROME_THEME_CLASS_NAME } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import { $c as cn, $l as LoaderCircle, Cc as Dialog, Dc as DialogHeader, Gl as Redo2, Gt as useEditorUiStore, Hc as DropdownMenuTrigger, Il as Undo2, It as useEditor, Jl as PenLine, Kt as useEditorUiStoreInstance, Lc as DropdownMenu, Ll as TriangleAlert, Oc as DialogTitle, Rc as DropdownMenuContent, Tc as DialogDescription, Vl as Sparkles, Wt as classifyHistoryShortcut, Xc as Button, Yl as Palette, Zc as cva, a as previewDesignHistoryDomainForCommand, ac as TooltipContent, ht as useEntryEditorController, i as usePreviewDesignHistoryOrder, ic as Tooltip, lu as ChevronDown, n as useSiteChromeCustomizeOptional, nn as useMultiAutosave, nu as Eye, o as selectPreviewDesignHistoryDomain, oc as TooltipTrigger, ql as Pencil, ru as EllipsisVertical, wc as DialogContent, zc as DropdownMenuItem } from "./SiteChromeCustomizeContext-BkNvpzNZ.mjs";
|
|
3
|
+
import { d as unwrapResponse, r as usePreviewAuth } from "./previewAuthStore-31xH13Jc.mjs";
|
|
4
|
+
import { C as FixedBottomSurface, a as usePreviewPageDesignEditorState, c as applyPreviewChromeSurfaceToElement, l as resolvePreviewChromeSurface, o as PREVIEW_CHROME_PORTAL_CLASS_NAME, s as PREVIEW_CHROME_THEME_CLASS_NAME } from "./SdkPreviewModeRuntime-DhPU58s7.mjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { useCallback, useEffect, useMemo, useState, useTransition } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as markPreviewAuthExpired, s as ApiRequestError } from "./previewAuthStore-
|
|
2
|
+
import { n as markPreviewAuthExpired, s as ApiRequestError } from "./previewAuthStore-31xH13Jc.mjs";
|
|
3
3
|
import { createContext, useContext, useRef } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { MutationCache, QueryCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as confirmAutosaveBatch, $a as toLocationMapHydrationProps, $c as cn, $n as uiTransforms, $o as CircleMinusIcon, $r as productItemKey, $s as mapCurrentValueForSelect, $t as undoHistory, Aa as eventCalendarDefaultViewSchema, Al as unsafeAsFormId, An as deriveLaunchReadiness, Ao as mediaSchema, Ar as buildGiftingInteractiveIslandProps, As as parseThemeButtonVariantId, At as ReferenceField, Ba as eventBlockKindValues, Bi as getGradientPreset, Bl as Star, Bn as mergeContentWithBlockStyleOverrides, Bo as isObjectRecord, Br as buildProductListInteractiveIslandProps, Bs as assertNever$6, Bt as hideThemeV2RawStyleFields, Ca as resolveEventListPaginationAction, Cc as Dialog, Ci as formatSiteChromeBackgroundTokenLabel, Cl as assertNever$5, Cn as useMediaEditorOptional, Co as defineProgressiveBlockRuntime, Cr as resolveDiscountContext, Cs as siblingPath, Ct as IconPickerField, Da as calendarTabViewsSchema, Dc as DialogHeader, Di as retargetCompiledRuntimeFieldsForContentAdjacency, Dl as unsafeAsAppointmentResourceId, Do as splitPositioningClasses, Dr as getStepNumber$1, Dt as ButtonWidgetProvider, Ea as normalizeOptionalId, Ec as DialogFooter, Ei as retargetCompiledBoundaryRuntimeForContentAdjacency, El as parseSiteId, En as getPageDesignEditorState, Eo as markEditableSurfaceForwarding, Er as WIZARD_STEPS$1, Et as ButtonVariantField, Fa as eventCalendarListLayoutCompatibleDisplayModeValues, Fc as createCollapsibleScope, Fl as Upload, Fn as createCustomBlockRegistry, Fo as parseBlockIconValue, Fr as checkoutBlockDefinition, Fs as resolveOnColorForThemeToken, Ft as EditorProvider, Ga as normalizeEventScheduleScope, Gc as createCollection, Gi as sectionTransitionVariantForBoundaryOptionId, Gn as siteHeaderManifest, Go as isInlineTextEmpty, Gr as buildProductDetailDisplay, Gs as mergeStyles, Gt as useEditorUiStore, Ha as eventSurfaceScopeValues, Hi as defaultSectionTransitionVariantForFamily, Hn as getBlockDefinition, Ho as logger, Hr as getShopDisplayForItems, Hs as normalizeBoxStylesCardVariant, Ht as stripTopLevelRoutingUi, Ia as eventCalendarListLayoutOptions, In as buildThemeRuntime, Io as resolveBlockIconRenderValue, Ir as cartBlockDefinition, Is as resolveTokenOrCssColorValue, It as useEditor, Ja as normalizeEventSurfaceScope, Jc as composeEventHandlers, Ji as backgroundAppearanceQuickColorTokenNames, Jn as planSiteOverlayHeaderClearance, Jo as isBlockButtonRole, Jr as EMPTY_COMMERCE_CART_STATE, Js as getFieldIntent, Jt as canRedoHistory, Ka as normalizeEventStaffMemberId, Kc as useControllableState, Ki as BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO, Kl as Plus, Kn as SITE_CHROME_VISIBLE_HEADER_SELECTOR, Ko as parseInlineTextFromUnknown, Kr as formatCommercePrice, Ks as rgbColorValue, Kt as useEditorUiStoreInstance, La as el, Li as gradientToCss, Ln as DEFAULT_THEME_RESPONSIVE_MODE, Lo as parseGeneratedIconAssetId, Lr as buildCartInteractiveIslandProps, Ls as isThemeV2NormalEditorRawStyleFieldName, Lt as LinkField, Ma as filterAutoShowSchema, Mc as Content, Ml as err$2, Mn as isSupportedLoaderEndpoint, Mo as resolveFeatureCardGeneratedIconSizePx, Mr as buildCourseRegistrationInteractiveIslandProps, Ms as parseThemeForPersistence, Mt as useRichTextImagePicker, Na as previewStageSchema, Nc as Root, Ni as surfaceResolutionContextFromTheme, Nl as ok$3, Nn as ThemeScope, No as shouldReserveFeatureCardIconZone, Nr as normalizeEventRegistrationPageSurfaceSubject, Ns as getTextColorForBackground, Nt as RichTextField, Oa as columnOptionSchema, Oc as DialogTitle, Oi as planPageDesignLayoutLookCompatibility, Ol as unsafeAsAppointmentServiceId, On as decodePublicProductCategorySelectorQuery, Oo as planSiteChromePlacement, Or as getWizardStepsForContext$1, Ot as FileField, Pa as weekStartSchema, Pc as Trigger, Pl as X, Pn as containerResponsiveThemeCss, Po as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Pr as resolveEventRegistrationScopedEvents, Ps as isCssColorLiteral, Pt as RichTextWidgetProvider, Q as beginAutosaveBatch, Qa as normalizeLocationMapProps, Qc as useComposedRefs, Qn as layoutTransforms, Qo as ChevronDownIcon, Qr as parseStoredCommerceCartState, Qs as hasEmptyOption, Qt as redoHistory, Ra as when, Ri as GRADIENT_PRESETS, Rl as Ticket, Rn as getResponsiveScopeSpec, Ro as parseGeneratedIconSetId, Rr as buildCheckoutInteractiveIslandProps, Rs as pageDesignEditorBackgroundOverrideOwner, Rt as LinkWidgetProvider, S as usePreviewThemeOverlay, Sa as resolveEventCalendarListPageSize, Sc as TabsTrigger, Si as resolveBackgroundColorValue, Sl as formatCurrencyAmount, Sn as MediaEditorContextProvider, So as defineClientOwnedBlockRuntime, Sr as findPreSelectedEvent, Ss as getAtPath, St as InlineTextField, Ta as normalizeCsvString, Tc as DialogDescription, Ti as compileEditorModelRuntime, Tl as parseMediaAssetId, Tn as applyPageDesignEditorAction, To as composeHeaderSectionWrapperClassName, Tr as resolveRegistrationTarget, Tt as EntryPickerWidgetProvider, Ua as normalizeEventBlockKind, Uc as useId$1, Ui as sectionTransitionFamilies, Un as projectRecurringSchedule, Uo as coerceInlineTextWithFallback, Ur as buildCartDisplay, Us as normalizeCardVariantRole, Ut as getBlockManifestFromSdkConfig, Va as eventScheduleScopeValues, Vi as parseGradientPresetId, Vl as Sparkles, Vn as generateDefaultAccordionSystem, Vo as isRecord$20, Vr as buildShopInteractiveIslandProps, Vs as ICON_CONFIG, Vt as prepareBlockEditorManifest, Wa as normalizeEventCategoryIdsCsv, Wc as useDirection, Wi as sectionTransitionFamilyForBoundaryOptionId, Wl as RotateCcw, Wn as siteFooterManifest, Wo as inlineTextToPlainText, Wr as buildProductCardDisplay, Ws as backgroundColorStyle, Xa as publicEventSchema, Xc as Button, Xi as parseBackgroundAppearanceColorToken, Xn as contentTransforms, Xo as ArrowDownIcon, Xr as buildProductCartItem, Xs as SdkConfigProvider, Xt as createHistoryState, Ya as normalizeEventVenueId, Yc as Primitive, Yi as foregroundTokenForBackgroundAppearanceColorToken, Yn as visibleHeaderClearancePx, Yo as getIconComponent, Yr as buildPassCartItem, Ys as isHeaderField, Yt as canUndoHistory, Za as buildGoogleMapsDirectionsUrl, Zi as defaultThemeTokens, Zl as Minus, Zn as mediaTransforms, Zo as ArrowRightIcon, Zr as deriveCommerceCheckoutState, Zs as useSdkConfig, Zt as pushHistoryEntry, _a as resolveSpacing, _i as defineFragment, _l as publicEventPricingCurrency, _o as blockBookingPaymentTermsSchema, _r as buildFormInteractiveIslandProps, _s as resolveMediaNodeResponsiveImage, _t as createSiteOptionWidgetAdapters, aa as runTransforms, ai as faqHeadingFragment, al as formatBookingDate, an as createSnapshotFromPageRecord, ao as formatEventTeacherLine, ar as shopBlockDefinition, as as FileSpreadsheetIcon, at as resolvePreviewSidebarTab, au as CirclePlus, ba as eventPageSizeSchema, bc as TabsContent, bi as boxStylesTransforms, bl as publicEventScalarPrice, bn as createStoreBackend, bo as defineInteractiveIslandMetaKeys, br as toRegistrationEvents, bs as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, bt as OfferingsPreviewGroupOrderField, cc as SelectContent, ci as formEmbedFragment, cl as formatBookingTime, cn as parseReferenceKind, co as getContainerClass, cr as newsletterSignupBlockDefinition, cs as PlusIcon, ct as PreviewInlineTextEditor, cu as ChevronLeft, da as buildOfferingsPreviewRenderStates, dc as SelectValue, di as testimonialsHeadingFragment, dl as parseBookingLocalDate, do as resolveEventLinkProps, dr as buildEventListingInteractiveIslandProps, ds as buildResolveImageUrlContext, dt as useUISelector, du as ArrowDown, ec as mapOptionValueForSelect, ei as reduceCommerceCart, el as clsx, en as unsafeAsLinkedContentEntryId, eo as formatDate$3, er as formattingTransforms, es as CirclePlusIcon, et as deriveTransactionCapabilities, eu as Image, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fa as normalizeOfferingsPreviewItemLimit, fi as ctaCopyFragment, fl as resolveBookingTimeZoneId, fn as PaletteProvider, fo as getEventAvailability, fr as eventCalendarBlockDefinition, fs as computeMediaTransformStyle, ft as EditableBlockProvider, fu as __exportAll, ga as isSemanticSpacing, gi as bodyCopyFragment, gl as formatBookingPriceDisplay, gn as createManifestFormAdapter, go as resolveRuntimeEventPricing, gr as formBlockDefinition, gs as resolveImageUrlWithContext, gt as createSiteOptionApiLoader, ha as resolveOfferingsPreviewGroups, hi as heroCopyFragment, hl as parseEventPageSurfaceSubject, ho as getLocalMinuteOfDay, hr as buildEventCalendarListingRender, hs as renderVideo, ht as useEntryEditorController, i as usePreviewDesignHistoryOrder, ia as createTransformRegistry, ii as faqAccordionFragment, il as addLocalScheduleDays, in as createRoutingHelpers, io as formatEventPriceDisplay, ir as NAV_DROPDOWN_SHIFT_PROPERTY, is as FileAudioIcon, iu as CreditCard, ja as eventLayoutSchema, ji as designRuntimeRulesForTheme, jl as unsafeAsPassId, jn as AMBIENT_BACKGROUND_ROLES, jo as FEATURE_CARD_ICON_TREATMENTS, jr as courseRegistrationBlockDefinition, js as themeButtonClassName, jt as ReferenceWidgetProvider, ka as eventButtonVariantSchema, ki as componentRuntimeRulesForTheme, kl as unsafeAsCustomerPassId, kn as DEFAULT_LAUNCH_READINESS_INPUT, ko as PUBLIC_DOWNLOAD_MEDIA_TYPES, kr as giftingBlockDefinition, ks as AFFORDANCE_SUPPRESS_CLASS, kt as MediaField, lc as SelectItem, li as formCopyFragment, ll as formatLocalScheduleDate, lo as groupEventsByDate, lr as buildNewsletterFormInteractiveIslandProps, ls as ImagePresets, lt as PreviewTextEditor, lu as ChevronDown, ma as resolveOfferingsPreviewGroupCta, mi as ctaRowFragment, ml as toScheduledBookingDateTime, mn as validateBlockManifestIssues, mo as getLocalDateKey, mr as buildEventCalendarListingDisplay, ms as renderAudio, n as useSiteChromeCustomizeOptional, nc as FieldFrame, ni as headingFragment, nl as unsafeAsEditorBlockId, no as formatEventDateParts, nr as ImageResolveContextProvider, ns as DownloadIcon, nt as idleEditorTransactionQueueState, oa as ctaButton, oi as blogFeaturedPostFragment, ol as formatBookingDateTime, on as BUILT_IN_REFERENCE_KINDS, oo as formatTime$3, or as productListBlockDefinition, os as FileTextIcon, ou as CircleMinus, p as reportPreviewDesignError, pa as resolveOfferingsPreviewCoursePath, pi as heroCtaRowFragment, pl as toBookingTimeZone, pn as usePalette, po as getEventAvailabilityStatus, pr as buildEventCalendarInteractiveIslandProps, ps as getCurrentResolveImageUrlContext, pt as EntryControllerProvider, qa as normalizeEventSurfacePresetsCsv, qc as createContextScope, qi as backgroundAppearanceColorTokenNames, qn as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, qo as canonicalizePersistedBlockButtonRole, qr as formatInterval, qs as textColorStyle, qt as useOptionalEditorUiStoreInstance, r as PreviewDesignHistoryOrderProvider, rc as useField, ri as cardFragment, rl as unsafeAsEditorBlockValues, rn as useDebouncedLatestSave, ro as formatEventPrice, rr as useImageResolveContextOptional, rs as FileArchiveIcon, rt as rejectAutosaveBatch, sc as Select, si as singleButtonFragment, sl as formatBookingInstant, so as getCardOrientation, sr as productDetailBlockDefinition, ss as MinusIcon, st as PreviewRichTextEditor, su as ChevronRight, t as SiteChromeCustomizeProvider, tc as unmapValueFromSelect, ti as richTextFragment, tl as parseFooterModuleId, tn as recordsEqual, to as formatEventCompactDateRail, tr as createManifestValidator, ts as ClockIcon$1, tt as enqueueTransaction, tu as GripVertical, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, ua as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, uc as SelectTrigger, ui as testimonialsCarouselFragment, ul as getBookingLocalDateKey, uo as resolveEventCta, ur as eventListingBlockDefinition, us as MediaPlaceholder, va as buildEventRuntimeFilters, vi as BACKGROUND_POSITION_PRESET_VALUES, vl as publicEventPricingMode, vn as FormRenderer, vo as buildInteractiveIslandProps, vr as eventRegistrationBlockDefinition, vs as resolveMediaStorageUrl, vt as SiteOptionPickerField, wa as normalizeCsvIds, wc as DialogContent, wi as applyCompiledRuntimeFieldsToContent, wl as expectParsedBrandedId, wn as useApiMediaUploader, wr as resolveEventRequiresPayment, wt as EntryPickerField, x as PreviewThemeOverlayProvider, xa as getEventRuntimeFiltersKey, xc as TabsList, xi as resolveSurfaceForegroundStyles, xl as publicEventTicketTypes, xn as MediaEditor, xo as createZodCodec, xr as findEventByOccurrenceId, xs as attachRenderableMediaAssetFields, xt as OfferingsPreviewWidgetProvider, y as PreviewDesignCoordinatorProvider, ya as eventListPaginationActionSchema, yc as Tabs, yi as getAnchorClasses, yl as publicEventPricingType, yn as evaluateVisibility, yo as createInteractiveIslandCodec, yr as buildEventRegistrationInteractiveIslandProps, ys as setContextResolveImageUrlContext, yt as SiteOptionWidgetProvider, za as bindingSchema, zi as GRADIENT_PRESET_IDS, zn as escapeStyleContent, zo as RichTextDocSchema, zr as buildProductDetailInteractiveIslandProps, zs as asDesignBlockId } from "./SiteChromeCustomizeContext-CciG60M5.mjs";
|
|
3
|
-
import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-
|
|
4
|
-
import { _ as API_ENDPOINTS, a as usePreviewToken, c as createBearerAPIClient, d as unwrapResponse, g as resolveSurfaceDocumentAttributes, h as SURFACE_IDS, i as usePreviewAuthFetch, m as SURFACE_DOCUMENT_DATA_ATTRIBUTE, n as markPreviewAuthExpired, o as isPreviewRuntimeSessionEditable, r as usePreviewAuth, s as ApiRequestError, t as initPreviewAuth } from "./previewAuthStore-
|
|
2
|
+
import { $ as confirmAutosaveBatch, $a as toLocationMapHydrationProps, $c as cn, $n as uiTransforms, $o as CircleMinusIcon, $r as productItemKey, $s as mapCurrentValueForSelect, $t as undoHistory, Aa as eventCalendarDefaultViewSchema, Al as unsafeAsFormId, An as deriveLaunchReadiness, Ao as mediaSchema, Ar as buildGiftingInteractiveIslandProps, As as parseThemeButtonVariantId, At as ReferenceField, Ba as eventBlockKindValues, Bi as getGradientPreset, Bl as Star, Bn as mergeContentWithBlockStyleOverrides, Bo as isObjectRecord, Br as buildProductListInteractiveIslandProps, Bs as assertNever$6, Bt as hideThemeV2RawStyleFields, Ca as resolveEventListPaginationAction, Cc as Dialog, Ci as formatSiteChromeBackgroundTokenLabel, Cl as assertNever$5, Cn as useMediaEditorOptional, Co as defineProgressiveBlockRuntime, Cr as resolveDiscountContext, Cs as siblingPath, Ct as IconPickerField, Da as calendarTabViewsSchema, Dc as DialogHeader, Di as retargetCompiledRuntimeFieldsForContentAdjacency, Dl as unsafeAsAppointmentResourceId, Do as splitPositioningClasses, Dr as getStepNumber$1, Dt as ButtonWidgetProvider, Ea as normalizeOptionalId, Ec as DialogFooter, Ei as retargetCompiledBoundaryRuntimeForContentAdjacency, El as parseSiteId, En as getPageDesignEditorState, Eo as markEditableSurfaceForwarding, Er as WIZARD_STEPS$1, Et as ButtonVariantField, Fa as eventCalendarListLayoutCompatibleDisplayModeValues, Fc as createCollapsibleScope, Fl as Upload, Fn as createCustomBlockRegistry, Fo as parseBlockIconValue, Fr as checkoutBlockDefinition, Fs as resolveOnColorForThemeToken, Ft as EditorProvider, Ga as normalizeEventScheduleScope, Gc as createCollection, Gi as sectionTransitionVariantForBoundaryOptionId, Gn as siteHeaderManifest, Go as isInlineTextEmpty, Gr as buildProductDetailDisplay, Gs as mergeStyles, Gt as useEditorUiStore, Ha as eventSurfaceScopeValues, Hi as defaultSectionTransitionVariantForFamily, Hn as getBlockDefinition, Ho as logger, Hr as getShopDisplayForItems, Hs as normalizeBoxStylesCardVariant, Ht as stripTopLevelRoutingUi, Ia as eventCalendarListLayoutOptions, In as buildThemeRuntime, Io as resolveBlockIconRenderValue, Ir as cartBlockDefinition, Is as resolveTokenOrCssColorValue, It as useEditor, Ja as normalizeEventSurfaceScope, Jc as composeEventHandlers, Ji as backgroundAppearanceQuickColorTokenNames, Jn as planSiteOverlayHeaderClearance, Jo as isBlockButtonRole, Jr as EMPTY_COMMERCE_CART_STATE, Js as getFieldIntent, Jt as canRedoHistory, Ka as normalizeEventStaffMemberId, Kc as useControllableState, Ki as BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO, Kl as Plus, Kn as SITE_CHROME_VISIBLE_HEADER_SELECTOR, Ko as parseInlineTextFromUnknown, Kr as formatCommercePrice, Ks as rgbColorValue, Kt as useEditorUiStoreInstance, La as el, Li as gradientToCss, Ln as DEFAULT_THEME_RESPONSIVE_MODE, Lo as parseGeneratedIconAssetId, Lr as buildCartInteractiveIslandProps, Ls as isThemeV2NormalEditorRawStyleFieldName, Lt as LinkField, Ma as filterAutoShowSchema, Mc as Content, Ml as err$2, Mn as isSupportedLoaderEndpoint, Mo as resolveFeatureCardGeneratedIconSizePx, Mr as buildCourseRegistrationInteractiveIslandProps, Ms as parseThemeForPersistence, Mt as useRichTextImagePicker, Na as previewStageSchema, Nc as Root, Ni as surfaceResolutionContextFromTheme, Nl as ok$3, Nn as ThemeScope, No as shouldReserveFeatureCardIconZone, Nr as normalizeEventRegistrationPageSurfaceSubject, Ns as getTextColorForBackground, Nt as RichTextField, Oa as columnOptionSchema, Oc as DialogTitle, Oi as planPageDesignLayoutLookCompatibility, Ol as unsafeAsAppointmentServiceId, On as decodePublicProductCategorySelectorQuery, Oo as planSiteChromePlacement, Or as getWizardStepsForContext$1, Ot as FileField, Pa as weekStartSchema, Pc as Trigger, Pl as X, Pn as containerResponsiveThemeCss, Po as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Pr as resolveEventRegistrationScopedEvents, Ps as isCssColorLiteral, Pt as RichTextWidgetProvider, Q as beginAutosaveBatch, Qa as normalizeLocationMapProps, Qc as useComposedRefs, Qn as layoutTransforms, Qo as ChevronDownIcon, Qr as parseStoredCommerceCartState, Qs as hasEmptyOption, Qt as redoHistory, Ra as when, Ri as GRADIENT_PRESETS, Rl as Ticket, Rn as getResponsiveScopeSpec, Ro as parseGeneratedIconSetId, Rr as buildCheckoutInteractiveIslandProps, Rs as pageDesignEditorBackgroundOverrideOwner, Rt as LinkWidgetProvider, S as usePreviewThemeOverlay, Sa as resolveEventCalendarListPageSize, Sc as TabsTrigger, Si as resolveBackgroundColorValue, Sl as formatCurrencyAmount, Sn as MediaEditorContextProvider, So as defineClientOwnedBlockRuntime, Sr as findPreSelectedEvent, Ss as getAtPath, St as InlineTextField, Ta as normalizeCsvString, Tc as DialogDescription, Ti as compileEditorModelRuntime, Tl as parseMediaAssetId, Tn as applyPageDesignEditorAction, To as composeHeaderSectionWrapperClassName, Tr as resolveRegistrationTarget, Tt as EntryPickerWidgetProvider, Ua as normalizeEventBlockKind, Uc as useId$1, Ui as sectionTransitionFamilies, Un as projectRecurringSchedule, Uo as coerceInlineTextWithFallback, Ur as buildCartDisplay, Us as normalizeCardVariantRole, Ut as getBlockManifestFromSdkConfig, Va as eventScheduleScopeValues, Vi as parseGradientPresetId, Vl as Sparkles, Vn as generateDefaultAccordionSystem, Vo as isRecord$20, Vr as buildShopInteractiveIslandProps, Vs as ICON_CONFIG, Vt as prepareBlockEditorManifest, Wa as normalizeEventCategoryIdsCsv, Wc as useDirection, Wi as sectionTransitionFamilyForBoundaryOptionId, Wl as RotateCcw, Wn as siteFooterManifest, Wo as inlineTextToPlainText, Wr as buildProductCardDisplay, Ws as backgroundColorStyle, Xa as publicEventSchema, Xc as Button, Xi as parseBackgroundAppearanceColorToken, Xn as contentTransforms, Xo as ArrowDownIcon, Xr as buildProductCartItem, Xs as SdkConfigProvider, Xt as createHistoryState, Ya as normalizeEventVenueId, Yc as Primitive, Yi as foregroundTokenForBackgroundAppearanceColorToken, Yn as visibleHeaderClearancePx, Yo as getIconComponent, Yr as buildPassCartItem, Ys as isHeaderField, Yt as canUndoHistory, Za as buildGoogleMapsDirectionsUrl, Zi as defaultThemeTokens, Zl as Minus, Zn as mediaTransforms, Zo as ArrowRightIcon, Zr as deriveCommerceCheckoutState, Zs as useSdkConfig, Zt as pushHistoryEntry, _a as resolveSpacing, _i as defineFragment, _l as publicEventPricingCurrency, _o as blockBookingPaymentTermsSchema, _r as buildFormInteractiveIslandProps, _s as resolveMediaNodeResponsiveImage, _t as createSiteOptionWidgetAdapters, aa as runTransforms, ai as faqHeadingFragment, al as formatBookingDate, an as createSnapshotFromPageRecord, ao as formatEventTeacherLine, ar as shopBlockDefinition, as as FileSpreadsheetIcon, at as resolvePreviewSidebarTab, au as CirclePlus, ba as eventPageSizeSchema, bc as TabsContent, bi as boxStylesTransforms, bl as publicEventScalarPrice, bn as createStoreBackend, bo as defineInteractiveIslandMetaKeys, br as toRegistrationEvents, bs as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, bt as OfferingsPreviewGroupOrderField, cc as SelectContent, ci as formEmbedFragment, cl as formatBookingTime, cn as parseReferenceKind, co as getContainerClass, cr as newsletterSignupBlockDefinition, cs as PlusIcon, ct as PreviewInlineTextEditor, cu as ChevronLeft, da as buildOfferingsPreviewRenderStates, dc as SelectValue, di as testimonialsHeadingFragment, dl as parseBookingLocalDate, do as resolveEventLinkProps, dr as buildEventListingInteractiveIslandProps, ds as buildResolveImageUrlContext, dt as useUISelector, du as ArrowDown, ec as mapOptionValueForSelect, ei as reduceCommerceCart, el as clsx, en as unsafeAsLinkedContentEntryId, eo as formatDate$3, er as formattingTransforms, es as CirclePlusIcon, et as deriveTransactionCapabilities, eu as Image, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fa as normalizeOfferingsPreviewItemLimit, fi as ctaCopyFragment, fl as resolveBookingTimeZoneId, fn as PaletteProvider, fo as getEventAvailability, fr as eventCalendarBlockDefinition, fs as computeMediaTransformStyle, ft as EditableBlockProvider, fu as __exportAll, ga as isSemanticSpacing, gi as bodyCopyFragment, gl as formatBookingPriceDisplay, gn as createManifestFormAdapter, go as resolveRuntimeEventPricing, gr as formBlockDefinition, gs as resolveImageUrlWithContext, gt as createSiteOptionApiLoader, ha as resolveOfferingsPreviewGroups, hi as heroCopyFragment, hl as parseEventPageSurfaceSubject, ho as getLocalMinuteOfDay, hr as buildEventCalendarListingRender, hs as renderVideo, ht as useEntryEditorController, i as usePreviewDesignHistoryOrder, ia as createTransformRegistry, ii as faqAccordionFragment, il as addLocalScheduleDays, in as createRoutingHelpers, io as formatEventPriceDisplay, ir as NAV_DROPDOWN_SHIFT_PROPERTY, is as FileAudioIcon, iu as CreditCard, ja as eventLayoutSchema, ji as designRuntimeRulesForTheme, jl as unsafeAsPassId, jn as AMBIENT_BACKGROUND_ROLES, jo as FEATURE_CARD_ICON_TREATMENTS, jr as courseRegistrationBlockDefinition, js as themeButtonClassName, jt as ReferenceWidgetProvider, ka as eventButtonVariantSchema, ki as componentRuntimeRulesForTheme, kl as unsafeAsCustomerPassId, kn as DEFAULT_LAUNCH_READINESS_INPUT, ko as PUBLIC_DOWNLOAD_MEDIA_TYPES, kr as giftingBlockDefinition, ks as AFFORDANCE_SUPPRESS_CLASS, kt as MediaField, lc as SelectItem, li as formCopyFragment, ll as formatLocalScheduleDate, lo as groupEventsByDate, lr as buildNewsletterFormInteractiveIslandProps, ls as ImagePresets, lt as PreviewTextEditor, lu as ChevronDown, ma as resolveOfferingsPreviewGroupCta, mi as ctaRowFragment, ml as toScheduledBookingDateTime, mn as validateBlockManifestIssues, mo as getLocalDateKey, mr as buildEventCalendarListingDisplay, ms as renderAudio, n as useSiteChromeCustomizeOptional, nc as FieldFrame, ni as headingFragment, nl as unsafeAsEditorBlockId, no as formatEventDateParts, nr as ImageResolveContextProvider, ns as DownloadIcon, nt as idleEditorTransactionQueueState, oa as ctaButton, oi as blogFeaturedPostFragment, ol as formatBookingDateTime, on as BUILT_IN_REFERENCE_KINDS, oo as formatTime$3, or as productListBlockDefinition, os as FileTextIcon, ou as CircleMinus, p as reportPreviewDesignError, pa as resolveOfferingsPreviewCoursePath, pi as heroCtaRowFragment, pl as toBookingTimeZone, pn as usePalette, po as getEventAvailabilityStatus, pr as buildEventCalendarInteractiveIslandProps, ps as getCurrentResolveImageUrlContext, pt as EntryControllerProvider, qa as normalizeEventSurfacePresetsCsv, qc as createContextScope, qi as backgroundAppearanceColorTokenNames, qn as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, qo as canonicalizePersistedBlockButtonRole, qr as formatInterval, qs as textColorStyle, qt as useOptionalEditorUiStoreInstance, r as PreviewDesignHistoryOrderProvider, rc as useField, ri as cardFragment, rl as unsafeAsEditorBlockValues, rn as useDebouncedLatestSave, ro as formatEventPrice, rr as useImageResolveContextOptional, rs as FileArchiveIcon, rt as rejectAutosaveBatch, sc as Select, si as singleButtonFragment, sl as formatBookingInstant, so as getCardOrientation, sr as productDetailBlockDefinition, ss as MinusIcon, st as PreviewRichTextEditor, su as ChevronRight, t as SiteChromeCustomizeProvider, tc as unmapValueFromSelect, ti as richTextFragment, tl as parseFooterModuleId, tn as recordsEqual, to as formatEventCompactDateRail, tr as createManifestValidator, ts as ClockIcon$1, tt as enqueueTransaction, tu as GripVertical, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, ua as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, uc as SelectTrigger, ui as testimonialsCarouselFragment, ul as getBookingLocalDateKey, uo as resolveEventCta, ur as eventListingBlockDefinition, us as MediaPlaceholder, va as buildEventRuntimeFilters, vi as BACKGROUND_POSITION_PRESET_VALUES, vl as publicEventPricingMode, vn as FormRenderer, vo as buildInteractiveIslandProps, vr as eventRegistrationBlockDefinition, vs as resolveMediaStorageUrl, vt as SiteOptionPickerField, wa as normalizeCsvIds, wc as DialogContent, wi as applyCompiledRuntimeFieldsToContent, wl as expectParsedBrandedId, wn as useApiMediaUploader, wr as resolveEventRequiresPayment, wt as EntryPickerField, x as PreviewThemeOverlayProvider, xa as getEventRuntimeFiltersKey, xc as TabsList, xi as resolveSurfaceForegroundStyles, xl as publicEventTicketTypes, xn as MediaEditor, xo as createZodCodec, xr as findEventByOccurrenceId, xs as attachRenderableMediaAssetFields, xt as OfferingsPreviewWidgetProvider, y as PreviewDesignCoordinatorProvider, ya as eventListPaginationActionSchema, yc as Tabs, yi as getAnchorClasses, yl as publicEventPricingType, yn as evaluateVisibility, yo as createInteractiveIslandCodec, yr as buildEventRegistrationInteractiveIslandProps, ys as setContextResolveImageUrlContext, yt as SiteOptionWidgetProvider, za as bindingSchema, zi as GRADIENT_PRESET_IDS, zn as escapeStyleContent, zo as RichTextDocSchema, zr as buildProductDetailInteractiveIslandProps, zs as asDesignBlockId } from "./SiteChromeCustomizeContext-BkNvpzNZ.mjs";
|
|
3
|
+
import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-BHT8CJvZ.mjs";
|
|
4
|
+
import { _ as API_ENDPOINTS, a as usePreviewToken, c as createBearerAPIClient, d as unwrapResponse, g as resolveSurfaceDocumentAttributes, h as SURFACE_IDS, i as usePreviewAuthFetch, m as SURFACE_DOCUMENT_DATA_ATTRIBUTE, n as markPreviewAuthExpired, o as isPreviewRuntimeSessionEditable, r as usePreviewAuth, s as ApiRequestError, t as initPreviewAuth } from "./previewAuthStore-31xH13Jc.mjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import React, { Children, Component, Fragment, cloneElement, createContext, createElement, forwardRef, isValidElement, startTransition, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -36850,10 +36850,10 @@ function LinkedEntryEditEventBridge() {
|
|
|
36850
36850
|
//#region ../preview-next/src/client/preview/PreviewShellLayout.tsx
|
|
36851
36851
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
36852
36852
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
36853
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
36853
|
+
return { default: (await import("./PreviewEditorSidebar-lZ600tJx.mjs")).PreviewEditorSidebar };
|
|
36854
36854
|
});
|
|
36855
36855
|
const PreviewEditorUI = React.lazy(async () => {
|
|
36856
|
-
return { default: (await import("./PreviewEditorUI-
|
|
36856
|
+
return { default: (await import("./PreviewEditorUI-CTBWzLSb.mjs")).PreviewEditorUI };
|
|
36857
36857
|
});
|
|
36858
36858
|
const previewPaneContainmentStyle = {
|
|
36859
36859
|
contain: "layout paint",
|
package/dist/{SiteChromeCustomizeContext-CciG60M5.mjs → SiteChromeCustomizeContext-BkNvpzNZ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as unwrapResponse, l as ApiEnvelopeError, s as ApiRequestError, u as extractApiEnvelopeErrorDetails } from "./previewAuthStore-
|
|
2
|
+
import { d as unwrapResponse, l as ApiEnvelopeError, s as ApiRequestError, u as extractApiEnvelopeErrorDetails } from "./previewAuthStore-31xH13Jc.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import React, { Component, Fragment, cloneElement, createContext, createElement, createRef, forwardRef, isValidElement, memo, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -102594,7 +102594,7 @@ function canonicalHeaderSelectionInput(layoutId, styleId) {
|
|
|
102594
102594
|
}
|
|
102595
102595
|
};
|
|
102596
102596
|
}
|
|
102597
|
-
function applySiteChromeLooks({ theme, siteStyle, headerLookId, headerLayoutId, headerStyleId, footerLookId, headerSelectionContext }) {
|
|
102597
|
+
function applySiteChromeLooks({ theme, siteStyle, footerPresentation, headerLookId, headerLayoutId, headerStyleId, footerLookId, headerSelectionContext }) {
|
|
102598
102598
|
const canonicalHeaderSelection = canonicalHeaderSelectionInput(headerLayoutId, headerStyleId);
|
|
102599
102599
|
const headerSelection = resolveHeaderLook({
|
|
102600
102600
|
theme,
|
|
@@ -102609,10 +102609,13 @@ function applySiteChromeLooks({ theme, siteStyle, headerLookId, headerLayoutId,
|
|
|
102609
102609
|
const headerWithBrandPresentation = headerSelectionContext?.logo ? applyHeaderBrandPresentation(header, headerSelection.brandPresentation) : header;
|
|
102610
102610
|
const resolvedHeaderLookId = canonicalHeaderSelection.kind === "canonical" ? findLegacyHeaderLookIdForSelection(headerLayoutStyleSelection) : headerSelection.selectedLookId;
|
|
102611
102611
|
const footerSelection = resolveFooterLook({
|
|
102612
|
-
theme
|
|
102612
|
+
theme: footerPresentation === void 0 ? theme : {
|
|
102613
|
+
...theme,
|
|
102614
|
+
footer: footerPresentation
|
|
102615
|
+
},
|
|
102613
102616
|
recommendedLookIds: footerLookId ? [footerLookId] : siteStyle.recommendedFooterLookIds
|
|
102614
102617
|
});
|
|
102615
|
-
const footerWithBrandPresentation = headerSelectionContext?.logo ? applyFooterBrandPresentation(footerSelection.footer, headerSelection.brandPresentation) : footerSelection.footer;
|
|
102618
|
+
const footerWithBrandPresentation = footerPresentation === void 0 && headerSelectionContext?.logo ? applyFooterBrandPresentation(footerSelection.footer, headerSelection.brandPresentation) : footerSelection.footer;
|
|
102616
102619
|
return {
|
|
102617
102620
|
theme: themeSchema.parse({
|
|
102618
102621
|
...theme,
|
|
@@ -102671,7 +102674,7 @@ function footerLogoSizeFromBrandPresentation(size) {
|
|
|
102671
102674
|
* notices.
|
|
102672
102675
|
*/
|
|
102673
102676
|
function compileSiteThemeFromSelections(input) {
|
|
102674
|
-
const { siteStyle, buttonStyleSelection, typography, headerLookId, headerLayoutId, headerStyleId, footerLookId, headerSelectionContext } = input;
|
|
102677
|
+
const { siteStyle, buttonStyleSelection, typography, footerPresentation, headerLookId, headerLayoutId, headerStyleId, footerLookId, headerSelectionContext } = input;
|
|
102675
102678
|
const defaultButtonStyle = defaultButtonStyleSelectionForSiteStyle(siteStyle);
|
|
102676
102679
|
const requestedButtonStyle = buttonStyleSelection ?? defaultButtonStyle;
|
|
102677
102680
|
const acceptsRequestedButtonStyle = siteStyle.buttonStyleChoices.some((choice) => choice.styleId === requestedButtonStyle.styleId);
|
|
@@ -102688,6 +102691,7 @@ function compileSiteThemeFromSelections(input) {
|
|
|
102688
102691
|
resolvedPalette: input.resolvedPalette
|
|
102689
102692
|
}), siteStyle), typography ?? siteStyle.typography, siteStyle.heroTypography),
|
|
102690
102693
|
siteStyle,
|
|
102694
|
+
footerPresentation,
|
|
102691
102695
|
headerLookId,
|
|
102692
102696
|
headerLayoutId,
|
|
102693
102697
|
headerStyleId,
|
|
@@ -125155,6 +125159,7 @@ function generateHeaderCss(options) {
|
|
|
125155
125159
|
cssChunks.push(generateMobilePanelStyles(header, themeId, tokens));
|
|
125156
125160
|
if (header.variant === "floating" && header.container) cssChunks.push(generateFloatingContainerStyles(header, themeId, tokens));
|
|
125157
125161
|
cssChunks.push(generateNavContainerStyles(header, themeId, tokens));
|
|
125162
|
+
cssChunks.push(generateHeaderCtaTreatmentStyles(header, themeId, tokens));
|
|
125158
125163
|
cssChunks.push(generateCtaGapStyles(header, themeId));
|
|
125159
125164
|
return cssChunks.filter(Boolean).join("\n\n");
|
|
125160
125165
|
}
|
|
@@ -125625,6 +125630,46 @@ const HEADER_CTA_GAP_MAP = {
|
|
|
125625
125630
|
spacious: "3rem"
|
|
125626
125631
|
};
|
|
125627
125632
|
/**
|
|
125633
|
+
* The inverted CTA treatment is contextual to branded header surfaces. It
|
|
125634
|
+
* cannot be represented by the generic secondary button role alone because
|
|
125635
|
+
* that role is transparent and inherits the surrounding surface foreground.
|
|
125636
|
+
* Keep the shared button's structure/effects while making the header own the
|
|
125637
|
+
* palette relationship for both desktop and mobile CTAs.
|
|
125638
|
+
*/
|
|
125639
|
+
function generateHeaderCtaTreatmentStyles(header, themeId, tokens) {
|
|
125640
|
+
if (header.ctaTreatment !== "inverted") return "";
|
|
125641
|
+
const desktopSelector = `:where([data-theme-scope="${themeId}"]) .header-cta`;
|
|
125642
|
+
const mobileSelector = `:where([data-theme-scope="${themeId}"]) .nav-mobile-cta`;
|
|
125643
|
+
const selectors = `${desktopSelector},\n${mobileSelector}`;
|
|
125644
|
+
const hoverSelectors = [
|
|
125645
|
+
`${desktopSelector}:hover`,
|
|
125646
|
+
`${desktopSelector}[data-force-hover="true"]`,
|
|
125647
|
+
`${mobileSelector}:hover`,
|
|
125648
|
+
`${mobileSelector}[data-force-hover="true"]`
|
|
125649
|
+
].join(",\n");
|
|
125650
|
+
const focusSelectors = [`${desktopSelector}:focus-visible`, `${mobileSelector}:focus-visible`].join(",\n");
|
|
125651
|
+
return `
|
|
125652
|
+
${selectors} {
|
|
125653
|
+
background-color: ${tokens.getColor("background")};
|
|
125654
|
+
background-image: none;
|
|
125655
|
+
color: ${tokens.getColor("onBackground")};
|
|
125656
|
+
border-color: currentColor;
|
|
125657
|
+
}
|
|
125658
|
+
|
|
125659
|
+
${hoverSelectors} {
|
|
125660
|
+
background-color: ${tokens.getColor("surface")};
|
|
125661
|
+
background-image: none;
|
|
125662
|
+
color: ${tokens.getColor("onSurface")};
|
|
125663
|
+
}
|
|
125664
|
+
|
|
125665
|
+
${focusSelectors} {
|
|
125666
|
+
outline: 2px solid ${tokens.getColor("onBackground")};
|
|
125667
|
+
outline-offset: 2px;
|
|
125668
|
+
box-shadow: 0 0 0 4px ${tokens.getColor("background")};
|
|
125669
|
+
}
|
|
125670
|
+
`;
|
|
125671
|
+
}
|
|
125672
|
+
/**
|
|
125628
125673
|
* Generate CTA button gap styles (left margin between nav links and CTA)
|
|
125629
125674
|
*/
|
|
125630
125675
|
function generateCtaGapStyles(header, themeId) {
|
|
@@ -125682,7 +125727,8 @@ ${`:where([data-theme-scope="${themeId}"])`} .footer-logo img {
|
|
|
125682
125727
|
`;
|
|
125683
125728
|
}
|
|
125684
125729
|
function resolveFooterLogoSize(footer, headerLogo) {
|
|
125685
|
-
|
|
125730
|
+
const brandDrivenSize = footerLogoSizeFromHeaderLogo(headerLogo);
|
|
125731
|
+
return footer.logo?.maxHeight ?? brandDrivenSize ?? footer.logo?.size ?? "md";
|
|
125686
125732
|
}
|
|
125687
125733
|
function footerLogoSizeFromHeaderLogo(headerLogo) {
|
|
125688
125734
|
const size = headerLogo?.size;
|
|
@@ -1207,8 +1207,6 @@ export declare const AiCommandBackedProposalSchema: z.ZodObject<{
|
|
|
1207
1207
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
1208
1208
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
1209
1209
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1210
|
-
completed: "completed";
|
|
1211
|
-
cancelled: "cancelled";
|
|
1212
1210
|
enrolled: "enrolled";
|
|
1213
1211
|
}>>;
|
|
1214
1212
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -2534,8 +2532,6 @@ export declare const AiCommandBackedProposalCompileResultSchema: z.ZodObject<{
|
|
|
2534
2532
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
2535
2533
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
2536
2534
|
status: z.ZodDefault<z.ZodEnum<{
|
|
2537
|
-
completed: "completed";
|
|
2538
|
-
cancelled: "cancelled";
|
|
2539
2535
|
enrolled: "enrolled";
|
|
2540
2536
|
}>>;
|
|
2541
2537
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -3860,8 +3856,6 @@ export declare const AiProposalCompileResultSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
3860
3856
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
3861
3857
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
3862
3858
|
status: z.ZodDefault<z.ZodEnum<{
|
|
3863
|
-
completed: "completed";
|
|
3864
|
-
cancelled: "cancelled";
|
|
3865
3859
|
enrolled: "enrolled";
|
|
3866
3860
|
}>>;
|
|
3867
3861
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -5202,8 +5196,6 @@ export declare const ProposeContentEditOutputSchema: z.ZodObject<{
|
|
|
5202
5196
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
5203
5197
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
5204
5198
|
status: z.ZodDefault<z.ZodEnum<{
|
|
5205
|
-
completed: "completed";
|
|
5206
|
-
cancelled: "cancelled";
|
|
5207
5199
|
enrolled: "enrolled";
|
|
5208
5200
|
}>>;
|
|
5209
5201
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -6532,8 +6524,6 @@ export declare const ProposeContentEditResultSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
6532
6524
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
6533
6525
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
6534
6526
|
status: z.ZodDefault<z.ZodEnum<{
|
|
6535
|
-
completed: "completed";
|
|
6536
|
-
cancelled: "cancelled";
|
|
6537
6527
|
enrolled: "enrolled";
|
|
6538
6528
|
}>>;
|
|
6539
6529
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -14656,8 +14646,6 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
14656
14646
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
14657
14647
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
14658
14648
|
status: z.ZodDefault<z.ZodEnum<{
|
|
14659
|
-
completed: "completed";
|
|
14660
|
-
cancelled: "cancelled";
|
|
14661
14649
|
enrolled: "enrolled";
|
|
14662
14650
|
}>>;
|
|
14663
14651
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -22556,8 +22544,6 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
22556
22544
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
22557
22545
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
22558
22546
|
status: z.ZodDefault<z.ZodEnum<{
|
|
22559
|
-
completed: "completed";
|
|
22560
|
-
cancelled: "cancelled";
|
|
22561
22547
|
enrolled: "enrolled";
|
|
22562
22548
|
}>>;
|
|
22563
22549
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -30457,8 +30443,6 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
30457
30443
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
30458
30444
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
30459
30445
|
status: z.ZodDefault<z.ZodEnum<{
|
|
30460
|
-
completed: "completed";
|
|
30461
|
-
cancelled: "cancelled";
|
|
30462
30446
|
enrolled: "enrolled";
|
|
30463
30447
|
}>>;
|
|
30464
30448
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -35401,8 +35385,6 @@ export declare const AiPageCommandBackedProposalSchema: z.ZodObject<{
|
|
|
35401
35385
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
35402
35386
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
35403
35387
|
status: z.ZodDefault<z.ZodEnum<{
|
|
35404
|
-
completed: "completed";
|
|
35405
|
-
cancelled: "cancelled";
|
|
35406
35388
|
enrolled: "enrolled";
|
|
35407
35389
|
}>>;
|
|
35408
35390
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -36848,8 +36830,6 @@ export declare const ReorderBlocksPageCommandBackedSchema: z.ZodObject<{
|
|
|
36848
36830
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
36849
36831
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
36850
36832
|
status: z.ZodDefault<z.ZodEnum<{
|
|
36851
|
-
completed: "completed";
|
|
36852
|
-
cancelled: "cancelled";
|
|
36853
36833
|
enrolled: "enrolled";
|
|
36854
36834
|
}>>;
|
|
36855
36835
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -38187,8 +38167,6 @@ export declare const MoveBlockPageCommandBackedSchema: z.ZodObject<{
|
|
|
38187
38167
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
38188
38168
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
38189
38169
|
status: z.ZodDefault<z.ZodEnum<{
|
|
38190
|
-
completed: "completed";
|
|
38191
|
-
cancelled: "cancelled";
|
|
38192
38170
|
enrolled: "enrolled";
|
|
38193
38171
|
}>>;
|
|
38194
38172
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -39520,8 +39498,6 @@ export declare const SwapBlocksPageCommandBackedSchema: z.ZodObject<{
|
|
|
39520
39498
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
39521
39499
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
39522
39500
|
status: z.ZodDefault<z.ZodEnum<{
|
|
39523
|
-
completed: "completed";
|
|
39524
|
-
cancelled: "cancelled";
|
|
39525
39501
|
enrolled: "enrolled";
|
|
39526
39502
|
}>>;
|
|
39527
39503
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -40853,8 +40829,6 @@ export declare const AddBlockPageCommandBackedSchema: z.ZodObject<{
|
|
|
40853
40829
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
40854
40830
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
40855
40831
|
status: z.ZodDefault<z.ZodEnum<{
|
|
40856
|
-
completed: "completed";
|
|
40857
|
-
cancelled: "cancelled";
|
|
40858
40832
|
enrolled: "enrolled";
|
|
40859
40833
|
}>>;
|
|
40860
40834
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -42186,8 +42160,6 @@ export declare const DuplicateBlockPageCommandBackedSchema: z.ZodObject<{
|
|
|
42186
42160
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
42187
42161
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
42188
42162
|
status: z.ZodDefault<z.ZodEnum<{
|
|
42189
|
-
completed: "completed";
|
|
42190
|
-
cancelled: "cancelled";
|
|
42191
42163
|
enrolled: "enrolled";
|
|
42192
42164
|
}>>;
|
|
42193
42165
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -43538,8 +43510,6 @@ export declare const ReorderBlocksPageOpSchema: z.ZodObject<{
|
|
|
43538
43510
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
43539
43511
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
43540
43512
|
status: z.ZodDefault<z.ZodEnum<{
|
|
43541
|
-
completed: "completed";
|
|
43542
|
-
cancelled: "cancelled";
|
|
43543
43513
|
enrolled: "enrolled";
|
|
43544
43514
|
}>>;
|
|
43545
43515
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -44907,8 +44877,6 @@ export declare const MoveBlockPageOpSchema: z.ZodObject<{
|
|
|
44907
44877
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
44908
44878
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
44909
44879
|
status: z.ZodDefault<z.ZodEnum<{
|
|
44910
|
-
completed: "completed";
|
|
44911
|
-
cancelled: "cancelled";
|
|
44912
44880
|
enrolled: "enrolled";
|
|
44913
44881
|
}>>;
|
|
44914
44882
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -46264,8 +46232,6 @@ export declare const SwapBlocksPageOpSchema: z.ZodObject<{
|
|
|
46264
46232
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
46265
46233
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
46266
46234
|
status: z.ZodDefault<z.ZodEnum<{
|
|
46267
|
-
completed: "completed";
|
|
46268
|
-
cancelled: "cancelled";
|
|
46269
46235
|
enrolled: "enrolled";
|
|
46270
46236
|
}>>;
|
|
46271
46237
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -47621,8 +47587,6 @@ export declare const AddBlockPageOpSchema: z.ZodObject<{
|
|
|
47621
47587
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
47622
47588
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
47623
47589
|
status: z.ZodDefault<z.ZodEnum<{
|
|
47624
|
-
completed: "completed";
|
|
47625
|
-
cancelled: "cancelled";
|
|
47626
47590
|
enrolled: "enrolled";
|
|
47627
47591
|
}>>;
|
|
47628
47592
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -48978,8 +48942,6 @@ export declare const DuplicateBlockPageOpSchema: z.ZodObject<{
|
|
|
48978
48942
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
48979
48943
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
48980
48944
|
status: z.ZodDefault<z.ZodEnum<{
|
|
48981
|
-
completed: "completed";
|
|
48982
|
-
cancelled: "cancelled";
|
|
48983
48945
|
enrolled: "enrolled";
|
|
48984
48946
|
}>>;
|
|
48985
48947
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -50331,8 +50293,6 @@ export declare const ProposePageOpsOutputSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
50331
50293
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
50332
50294
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
50333
50295
|
status: z.ZodDefault<z.ZodEnum<{
|
|
50334
|
-
completed: "completed";
|
|
50335
|
-
cancelled: "cancelled";
|
|
50336
50296
|
enrolled: "enrolled";
|
|
50337
50297
|
}>>;
|
|
50338
50298
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -51699,8 +51659,6 @@ export declare const ProposePageOpsOutputSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
51699
51659
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
51700
51660
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
51701
51661
|
status: z.ZodDefault<z.ZodEnum<{
|
|
51702
|
-
completed: "completed";
|
|
51703
|
-
cancelled: "cancelled";
|
|
51704
51662
|
enrolled: "enrolled";
|
|
51705
51663
|
}>>;
|
|
51706
51664
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -53055,8 +53013,6 @@ export declare const ProposePageOpsOutputSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
53055
53013
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
53056
53014
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
53057
53015
|
status: z.ZodDefault<z.ZodEnum<{
|
|
53058
|
-
completed: "completed";
|
|
53059
|
-
cancelled: "cancelled";
|
|
53060
53016
|
enrolled: "enrolled";
|
|
53061
53017
|
}>>;
|
|
53062
53018
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -54411,8 +54367,6 @@ export declare const ProposePageOpsOutputSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
54411
54367
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
54412
54368
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
54413
54369
|
status: z.ZodDefault<z.ZodEnum<{
|
|
54414
|
-
completed: "completed";
|
|
54415
|
-
cancelled: "cancelled";
|
|
54416
54370
|
enrolled: "enrolled";
|
|
54417
54371
|
}>>;
|
|
54418
54372
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -55767,8 +55721,6 @@ export declare const ProposePageOpsOutputSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
55767
55721
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
55768
55722
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
55769
55723
|
status: z.ZodDefault<z.ZodEnum<{
|
|
55770
|
-
completed: "completed";
|
|
55771
|
-
cancelled: "cancelled";
|
|
55772
55724
|
enrolled: "enrolled";
|
|
55773
55725
|
}>>;
|
|
55774
55726
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -57123,8 +57075,6 @@ export declare const ProposePageOpsResultSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
57123
57075
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
57124
57076
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
57125
57077
|
status: z.ZodDefault<z.ZodEnum<{
|
|
57126
|
-
completed: "completed";
|
|
57127
|
-
cancelled: "cancelled";
|
|
57128
57078
|
enrolled: "enrolled";
|
|
57129
57079
|
}>>;
|
|
57130
57080
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -58491,8 +58441,6 @@ export declare const ProposePageOpsResultSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
58491
58441
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
58492
58442
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
58493
58443
|
status: z.ZodDefault<z.ZodEnum<{
|
|
58494
|
-
completed: "completed";
|
|
58495
|
-
cancelled: "cancelled";
|
|
58496
58444
|
enrolled: "enrolled";
|
|
58497
58445
|
}>>;
|
|
58498
58446
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -59847,8 +59795,6 @@ export declare const ProposePageOpsResultSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
59847
59795
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
59848
59796
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
59849
59797
|
status: z.ZodDefault<z.ZodEnum<{
|
|
59850
|
-
completed: "completed";
|
|
59851
|
-
cancelled: "cancelled";
|
|
59852
59798
|
enrolled: "enrolled";
|
|
59853
59799
|
}>>;
|
|
59854
59800
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -61203,8 +61149,6 @@ export declare const ProposePageOpsResultSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
61203
61149
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
61204
61150
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
61205
61151
|
status: z.ZodDefault<z.ZodEnum<{
|
|
61206
|
-
completed: "completed";
|
|
61207
|
-
cancelled: "cancelled";
|
|
61208
61152
|
enrolled: "enrolled";
|
|
61209
61153
|
}>>;
|
|
61210
61154
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -62559,8 +62503,6 @@ export declare const ProposePageOpsResultSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
62559
62503
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
62560
62504
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
62561
62505
|
status: z.ZodDefault<z.ZodEnum<{
|
|
62562
|
-
completed: "completed";
|
|
62563
|
-
cancelled: "cancelled";
|
|
62564
62506
|
enrolled: "enrolled";
|
|
62565
62507
|
}>>;
|
|
62566
62508
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -63886,8 +63828,6 @@ export declare const proposalToolSchemas: {
|
|
|
63886
63828
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
63887
63829
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
63888
63830
|
status: z.ZodDefault<z.ZodEnum<{
|
|
63889
|
-
completed: "completed";
|
|
63890
|
-
cancelled: "cancelled";
|
|
63891
63831
|
enrolled: "enrolled";
|
|
63892
63832
|
}>>;
|
|
63893
63833
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -68594,8 +68534,6 @@ export declare const proposalToolSchemas: {
|
|
|
68594
68534
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
68595
68535
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
68596
68536
|
status: z.ZodDefault<z.ZodEnum<{
|
|
68597
|
-
completed: "completed";
|
|
68598
|
-
cancelled: "cancelled";
|
|
68599
68537
|
enrolled: "enrolled";
|
|
68600
68538
|
}>>;
|
|
68601
68539
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -73273,8 +73211,6 @@ export declare const proposalToolSchemas: {
|
|
|
73273
73211
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
73274
73212
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
73275
73213
|
status: z.ZodDefault<z.ZodEnum<{
|
|
73276
|
-
completed: "completed";
|
|
73277
|
-
cancelled: "cancelled";
|
|
73278
73214
|
enrolled: "enrolled";
|
|
73279
73215
|
}>>;
|
|
73280
73216
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -74641,8 +74577,6 @@ export declare const proposalToolSchemas: {
|
|
|
74641
74577
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
74642
74578
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
74643
74579
|
status: z.ZodDefault<z.ZodEnum<{
|
|
74644
|
-
completed: "completed";
|
|
74645
|
-
cancelled: "cancelled";
|
|
74646
74580
|
enrolled: "enrolled";
|
|
74647
74581
|
}>>;
|
|
74648
74582
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -75997,8 +75931,6 @@ export declare const proposalToolSchemas: {
|
|
|
75997
75931
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
75998
75932
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
75999
75933
|
status: z.ZodDefault<z.ZodEnum<{
|
|
76000
|
-
completed: "completed";
|
|
76001
|
-
cancelled: "cancelled";
|
|
76002
75934
|
enrolled: "enrolled";
|
|
76003
75935
|
}>>;
|
|
76004
75936
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -77353,8 +77285,6 @@ export declare const proposalToolSchemas: {
|
|
|
77353
77285
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
77354
77286
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
77355
77287
|
status: z.ZodDefault<z.ZodEnum<{
|
|
77356
|
-
completed: "completed";
|
|
77357
|
-
cancelled: "cancelled";
|
|
77358
77288
|
enrolled: "enrolled";
|
|
77359
77289
|
}>>;
|
|
77360
77290
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -78709,8 +78639,6 @@ export declare const proposalToolSchemas: {
|
|
|
78709
78639
|
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").BookingCustomerRef, string>>;
|
|
78710
78640
|
courseRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../site-commands/src/index").CourseRef, string>>;
|
|
78711
78641
|
status: z.ZodDefault<z.ZodEnum<{
|
|
78712
|
-
completed: "completed";
|
|
78713
|
-
cancelled: "cancelled";
|
|
78714
78642
|
enrolled: "enrolled";
|
|
78715
78643
|
}>>;
|
|
78716
78644
|
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
@@ -456,13 +456,38 @@ export type BookingSettings = {
|
|
|
456
456
|
/** Controls whether event destinations render as CMS pages or system booking-first pages. */
|
|
457
457
|
eventDestinationPolicy?: import("./event-destination-policy").EventDestinationPolicy;
|
|
458
458
|
};
|
|
459
|
+
export type BookingSettingsSection = "basics" | "payments" | "events" | "appointments" | "messages";
|
|
460
|
+
export declare const BOOKING_SETTINGS_SECTIONS: readonly ["basics", "payments", "events", "appointments", "messages"];
|
|
461
|
+
export declare const BOOKING_SETTINGS_SECTION_LABELS: Record<BookingSettingsSection, string>;
|
|
462
|
+
export declare const BOOKING_SETTINGS_SECTION_KEYS: {
|
|
463
|
+
readonly basics: readonly ["modules", "verticalConfig", "personRecordMode", "defaultTimezone", "calendarDisplay", "icsFeedsEnabled", "waitlists", "teamMemberProfilePages"];
|
|
464
|
+
readonly payments: readonly ["paymentDefaults", "currency", "refundsIssueCredit"];
|
|
465
|
+
readonly events: readonly ["defaultVenueId", "eventReminderHours", "eventReminderOverrides", "eventScheduleWindowMonths", "eventOrganizerNotifications", "eventOrganizerEmail", "eventTicketingDefaultEnabled", "collectAllAttendeeDetails", "eventBookingPolicies", "defaultEventImage", "eventDestinationPolicy"];
|
|
466
|
+
readonly appointments: readonly ["appointmentReminderHours", "appointmentReminderOverrides", "appointmentRescheduleHours", "appointmentDefaultMinLeadMinutes", "appointmentDefaultMaxBookingNoticeMinutes", "appointmentBookingPolicies"];
|
|
467
|
+
readonly messages: readonly ["remindersEnabled", "notificationSettings", "appointmentStaffReminder", "appointmentStaffChangeNotifications", "eventFeedback", "appointmentFollowUp"];
|
|
468
|
+
};
|
|
469
|
+
type BookingSettingsSectionValues = {
|
|
470
|
+
[Section in BookingSettingsSection]: Pick<BookingSettings, (typeof BOOKING_SETTINGS_SECTION_KEYS)[Section][number]>;
|
|
471
|
+
};
|
|
472
|
+
export type BookingSettingsSectionUpdate = {
|
|
473
|
+
[Section in BookingSettingsSection]: {
|
|
474
|
+
section: Section;
|
|
475
|
+
settings: BookingSettingsSectionValues[Section];
|
|
476
|
+
};
|
|
477
|
+
}[BookingSettingsSection];
|
|
478
|
+
export type BookingSettingsSectionUpdateRequest = Readonly<{
|
|
479
|
+
updates: readonly BookingSettingsSectionUpdate[];
|
|
480
|
+
}>;
|
|
481
|
+
export declare function createBookingSettingsUpdateRequest(settings: BookingSettings, sections?: readonly BookingSettingsSection[]): BookingSettingsSectionUpdateRequest;
|
|
482
|
+
export declare function applyBookingSettingsSectionUpdate(settings: BookingSettings, update: BookingSettingsSectionUpdate): BookingSettings;
|
|
483
|
+
export declare function applyBookingSettingsSectionUpdates(settings: BookingSettings, updates: readonly BookingSettingsSectionUpdate[]): BookingSettings;
|
|
459
484
|
export type BookingCurrencyEditState = {
|
|
460
485
|
kind: "editable";
|
|
461
486
|
} | {
|
|
462
487
|
kind: "locked";
|
|
463
488
|
reason: "paid_history_exists";
|
|
464
489
|
};
|
|
465
|
-
export type UpdateBookingSettingsRequest =
|
|
490
|
+
export type UpdateBookingSettingsRequest = BookingSettingsSectionUpdateRequest;
|
|
466
491
|
export type BookingSettingsEditorSnapshot = {
|
|
467
492
|
settings: BookingSettings;
|
|
468
493
|
updatedAt: string | null;
|
|
@@ -125,7 +125,7 @@ export type PageSurfaceEditorDocument<TContent = Record<string, unknown>> = {
|
|
|
125
125
|
publishedContent: TContent | null;
|
|
126
126
|
optimisticHash: string;
|
|
127
127
|
};
|
|
128
|
-
export type
|
|
128
|
+
export type PublishPageSurfaceResponse = {
|
|
129
129
|
publication: 'published' | 'noChange';
|
|
130
130
|
};
|
|
131
131
|
export type ContentEntryDetailResponse<TContent = Record<string, unknown>> = {
|