@riverbankcms/sdk 0.119.0 → 0.123.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-C7TXFitV.mjs → PreviewEditorSidebar-DvJFmC29.mjs} +6 -6
- package/dist/{PreviewEditorUI-_1JIHTXS.mjs → PreviewEditorUI-DVHP4bCo.mjs} +3 -3
- package/dist/{PreviewQueryProvider-nKUT4TL-.mjs → PreviewQueryProvider-07EE4uWL.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CvJTVgWa.mjs → SdkPreviewModeRuntime-BE5eFayo.mjs} +5 -5
- package/dist/{SiteChromeCustomizeContext-66QfCbAS.mjs → SiteChromeCustomizeContext-4hn4A0HX.mjs} +3 -3
- package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -72
- package/dist/_dts/api/src/bookingConfig.d.ts +32 -6
- 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 +3 -3
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -3
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +34 -12
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +1 -7
- package/dist/cli/index.mjs +144 -2517
- package/dist/client/client.mjs +3 -2
- package/dist/preview-next/before-render.mjs +2 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +2 -1
- package/dist/{previewAuthStore-DN7vcRsv.mjs → previewAuthStore-ShY26RNz.mjs} +2 -1
- package/dist/{sdk-runtime-DaOiA7ct.mjs → sdk-runtime-CJxkFq2B.mjs} +2 -2
- package/dist/{separator-CqRhcCxD.mjs → separator-CoFmo8uA.mjs} +1 -1
- package/dist/server/components.mjs +32 -2401
- package/dist/server/index.mjs +3 -2
- package/dist/server/next.mjs +35 -2402
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +32 -2404
- package/dist/server/rendering.mjs +32 -2401
- package/dist/server/server.mjs +3 -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-4hn4A0HX.mjs";
|
|
3
|
+
import { d as unwrapResponse, f as getDashboardUrl, r as usePreviewAuth } from "./previewAuthStore-ShY26RNz.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-BE5eFayo.mjs";
|
|
5
|
+
import { t as Separator } from "./separator-CoFmo8uA.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";
|
|
@@ -1253,9 +1253,9 @@ function EntrySlotBlockEditorPanel({ siteId, dashboardBaseUrl, typeKey, entryId,
|
|
|
1253
1253
|
})
|
|
1254
1254
|
}, `${warning.kind}:${warning.slotKey}`)), slots.length > 1 ? /* @__PURE__ */ jsxs(Tabs, {
|
|
1255
1255
|
value: selectedSlot.slotKey,
|
|
1256
|
-
onValueChange: (nextSlotKey) => {
|
|
1256
|
+
onValueChange: async (nextSlotKey) => {
|
|
1257
1257
|
if (blockAutosaveStatus === "saving") return;
|
|
1258
|
-
uiStore.getState().autosave.saveNow(["blocks"]);
|
|
1258
|
+
await uiStore.getState().autosave.saveNow(["blocks"]);
|
|
1259
1259
|
setSlotSelection({
|
|
1260
1260
|
kind: "selected",
|
|
1261
1261
|
slotKey: nextSlotKey
|
|
@@ -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-4hn4A0HX.mjs";
|
|
3
|
+
import { d as unwrapResponse, r as usePreviewAuth } from "./previewAuthStore-ShY26RNz.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-BE5eFayo.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-ShY26RNz.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-66QfCbAS.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-4hn4A0HX.mjs";
|
|
3
|
+
import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-07EE4uWL.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-ShY26RNz.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-DvJFmC29.mjs")).PreviewEditorSidebar };
|
|
36854
36854
|
});
|
|
36855
36855
|
const PreviewEditorUI = React.lazy(async () => {
|
|
36856
|
-
return { default: (await import("./PreviewEditorUI-
|
|
36856
|
+
return { default: (await import("./PreviewEditorUI-DVHP4bCo.mjs")).PreviewEditorUI };
|
|
36857
36857
|
});
|
|
36858
36858
|
const previewPaneContainmentStyle = {
|
|
36859
36859
|
contain: "layout paint",
|
package/dist/{SiteChromeCustomizeContext-66QfCbAS.mjs → SiteChromeCustomizeContext-4hn4A0HX.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-ShY26RNz.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";
|
|
@@ -159804,7 +159804,7 @@ function useEntryActions({ entry, uiStore, hasRoute, routing, publishMutation, d
|
|
|
159804
159804
|
setErrorMessage(null);
|
|
159805
159805
|
const dirtyTypes = getDirtyAutosaveTypes(uiStore, hasRoute);
|
|
159806
159806
|
if (dirtyTypes.length === 0) return;
|
|
159807
|
-
uiStore.getState().autosave.saveNow(dirtyTypes);
|
|
159807
|
+
await uiStore.getState().autosave.saveNow(dirtyTypes);
|
|
159808
159808
|
await waitForAutosavesComplete(uiStore);
|
|
159809
159809
|
if (hasAutosaveErrors(uiStore)) {
|
|
159810
159810
|
const message = "Failed to save draft — some changes may not be saved.";
|
|
@@ -159837,7 +159837,7 @@ function useEntryActions({ entry, uiStore, hasRoute, routing, publishMutation, d
|
|
|
159837
159837
|
throw new Error("Cannot publish: failed to save draft changes.");
|
|
159838
159838
|
}
|
|
159839
159839
|
const dirtyTypes = getDirtyAutosaveTypes(uiStore, hasRoute);
|
|
159840
|
-
uiStore.getState().autosave.saveNow(dirtyTypes);
|
|
159840
|
+
await uiStore.getState().autosave.saveNow(dirtyTypes);
|
|
159841
159841
|
uiStore.getState().autosave.flushAllPending();
|
|
159842
159842
|
await waitForAutosavesComplete(uiStore);
|
|
159843
159843
|
const autosavePublishability = derivePublishability({
|
|
@@ -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">>;
|
|
@@ -352,17 +352,43 @@ export type BookingWaitlistSettings = {
|
|
|
352
352
|
holdDurationHours: number;
|
|
353
353
|
};
|
|
354
354
|
export type BookingNotificationUpdateKind = "new_booking" | "cancellation" | "reschedule" | "transfer";
|
|
355
|
-
export type
|
|
356
|
-
kind: "disabled";
|
|
357
|
-
} | {
|
|
355
|
+
export type BookingNotificationSendRule = {
|
|
358
356
|
kind: "send";
|
|
359
357
|
sendToAssignedStaff: boolean;
|
|
360
358
|
extraEmail: string | null;
|
|
361
359
|
sendToSiteOwnerIfNoStaff: boolean;
|
|
362
360
|
};
|
|
363
|
-
export type
|
|
364
|
-
|
|
365
|
-
|
|
361
|
+
export type BookingNotificationOverrideRule = BookingNotificationSendRule | {
|
|
362
|
+
kind: "disabled";
|
|
363
|
+
};
|
|
364
|
+
export type BookingNotificationState = "configured" | "disabled";
|
|
365
|
+
type BookingNotificationRouting = {
|
|
366
|
+
/** Preserved while notifications are disabled so re-enabling restores routing. */
|
|
367
|
+
defaultRule: BookingNotificationSendRule;
|
|
368
|
+
overrides: Partial<Record<BookingNotificationUpdateKind, BookingNotificationOverrideRule>>;
|
|
369
|
+
};
|
|
370
|
+
export type BookingNotificationSettings = (BookingNotificationRouting & {
|
|
371
|
+
/** Top-level authority for whether any booking-update notification may send. */
|
|
372
|
+
state: "configured";
|
|
373
|
+
}) | (BookingNotificationRouting & {
|
|
374
|
+
/** Top-level authority for whether any booking-update notification may send. */
|
|
375
|
+
state: "disabled";
|
|
376
|
+
});
|
|
377
|
+
export declare const DEFAULT_BOOKING_NOTIFICATION_SEND_RULE: {
|
|
378
|
+
readonly kind: "send";
|
|
379
|
+
readonly sendToAssignedStaff: true;
|
|
380
|
+
readonly extraEmail: null;
|
|
381
|
+
readonly sendToSiteOwnerIfNoStaff: true;
|
|
382
|
+
};
|
|
383
|
+
export declare const DEFAULT_BOOKING_NOTIFICATION_SETTINGS: {
|
|
384
|
+
readonly state: "configured";
|
|
385
|
+
readonly defaultRule: {
|
|
386
|
+
readonly kind: "send";
|
|
387
|
+
readonly sendToAssignedStaff: true;
|
|
388
|
+
readonly extraEmail: null;
|
|
389
|
+
readonly sendToSiteOwnerIfNoStaff: true;
|
|
390
|
+
};
|
|
391
|
+
readonly overrides: {};
|
|
366
392
|
};
|
|
367
393
|
export type AppointmentStaffReminderSettings = {
|
|
368
394
|
kind: "disabled";
|
|
@@ -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>> = {
|
|
@@ -231,6 +231,7 @@ export type CourseEnrollmentRecord = {
|
|
|
231
231
|
id: string;
|
|
232
232
|
siteId: string;
|
|
233
233
|
courseId: string;
|
|
234
|
+
eventSeriesId: string;
|
|
234
235
|
customerId: string;
|
|
235
236
|
status: CourseEnrollmentStatus;
|
|
236
237
|
paymentMethod: CourseEnrollmentPaymentMethod;
|
|
@@ -293,14 +294,19 @@ export type AddCourseEnrollmentRequest = {
|
|
|
293
294
|
customerName?: string;
|
|
294
295
|
customerEmail?: string;
|
|
295
296
|
customerPhone?: string | null;
|
|
296
|
-
status
|
|
297
|
+
status: 'enrolled' | 'waitlist';
|
|
297
298
|
settlement?: {
|
|
298
299
|
kind: 'complimentary';
|
|
299
300
|
};
|
|
300
301
|
formSubmissionJson?: Record<string, unknown>;
|
|
301
302
|
};
|
|
302
303
|
export type AddCourseEnrollmentResponse = {
|
|
304
|
+
kind: 'registration';
|
|
303
305
|
enrollment: CourseEnrollmentRecord;
|
|
306
|
+
} | {
|
|
307
|
+
kind: 'waitlist';
|
|
308
|
+
customerId: string;
|
|
309
|
+
waitlistPosition: number | null;
|
|
304
310
|
};
|
|
305
311
|
export type UpdateCourseEnrollmentRequest = {
|
|
306
312
|
status: 'enrolled' | 'waitlist' | 'cancelled' | 'completed';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { APIEndpoints } from
|
|
1
|
+
import type { APIEndpoints } from './types';
|
|
2
2
|
export declare const API_ENDPOINTS: {
|
|
3
3
|
readonly aiContentUpdateChat: {
|
|
4
4
|
readonly path: "/ai/content-update-chat";
|
|
@@ -395,7 +395,7 @@ export declare const API_ENDPOINTS: {
|
|
|
395
395
|
readonly auth: "user";
|
|
396
396
|
readonly tags: ["riverbank:site:{siteId}", "riverbank:site:{siteId}:booking-settings"];
|
|
397
397
|
readonly responseKind: "json";
|
|
398
|
-
readonly errors: readonly ["validation:invalid_input", "auth:forbidden", "server:internal_error"];
|
|
398
|
+
readonly errors: readonly ["validation:invalid_input", "auth:forbidden", "resource:conflict", "server:internal_error"];
|
|
399
399
|
};
|
|
400
400
|
readonly listBookingClosures: {
|
|
401
401
|
readonly path: "/sites/{siteId}/bookings/closures";
|
|
@@ -1735,7 +1735,7 @@ export declare const API_ENDPOINTS: {
|
|
|
1735
1735
|
readonly auth: "user";
|
|
1736
1736
|
readonly responseKind: "json";
|
|
1737
1737
|
};
|
|
1738
|
-
readonly
|
|
1738
|
+
readonly publishPageSurface: {
|
|
1739
1739
|
readonly path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication";
|
|
1740
1740
|
readonly method: "POST";
|
|
1741
1741
|
readonly errors: readonly ["auth:forbidden", "validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|