pptx-vanilla-viewer 3.80.0 → 4.1.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/CHANGELOG.md +78 -19
- package/README.md +75 -362
- package/dist/ai-panel-6JMUOAO6.js +1 -0
- package/dist/ai-panel-SXVNV3LN.cjs +1 -0
- package/dist/ai.cjs +1 -1
- package/dist/ai.js +1 -1
- package/dist/chunk-4TOJI3PN.js +4 -0
- package/dist/chunk-LRW2J5GY.cjs +2 -0
- package/dist/chunk-OZKSMNX3.js +2 -0
- package/dist/chunk-VV56WC6E.cjs +4 -0
- package/dist/i18n/de.cjs +174 -107
- package/dist/i18n/de.mjs +174 -107
- package/dist/i18n/es.cjs +174 -107
- package/dist/i18n/es.mjs +174 -107
- package/dist/i18n/fr.cjs +175 -108
- package/dist/i18n/fr.mjs +175 -108
- package/dist/i18n/ja.cjs +92 -25
- package/dist/i18n/ja.mjs +92 -25
- package/dist/i18n/ko.cjs +92 -25
- package/dist/i18n/ko.mjs +92 -25
- package/dist/i18n/zh-CN.cjs +177 -110
- package/dist/i18n/zh-CN.mjs +177 -110
- package/dist/index.cjs +127 -72
- package/dist/index.d.ts +193 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +123 -68
- package/dist/internals.cjs +1 -1
- package/dist/internals.js +1 -1
- package/dist/styles.css +94 -8
- package/package.json +12 -10
- package/dist/ai-panel-IWCC7TBE.cjs +0 -1
- package/dist/ai-panel-SSGS4M3M.js +0 -1
- package/dist/chunk-E6TYZBTW.cjs +0 -4
- package/dist/chunk-IONQSRAW.cjs +0 -2
- package/dist/chunk-LQOWWDBY.js +0 -2
- package/dist/chunk-WSE2YCFS.js +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as index_d_exports$2 } from "./transition-overlay-taaC_b8X.js";
|
|
2
|
-
import { AccountAuthConfig, AccountAuthConfig as AccountAuthConfig$1, AlignEdge, AnimationGroup, AutosaveActivation, AutosaveRecord, AutosaveRecord as AutosaveRecord$1, AutosaveRecoveryController, AutosaveRecoveryOffer, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, BackstageCardId, BackstageCustomization, BackstagePage, BuildingBlockFailureCode, BuildingBlockRequest, BuildingBlockResult, BuildingBlockToolbarGroupId, BuildingBlockToolbarGroupId as BuildingBlockToolbarGroupId$1, CANVAS_CONTEXT_MENU_COMMAND_IDS, CanvasContextMenuCommandId, CanvasSize, ChangeCaseMode, ChartPartRef, CloudFileProvider, CloudOpenedFile, CollabLoadOrigin, CollabLoadOrigin as CollabLoadOrigin$1, CollaborationConfig, CollaborationConfig as CollaborationConfig$1, CollaborationHistoryTarget, CollaborationInput, CollaborationInput as CollaborationInput$1, CollaborationLivePatcher, CollaborationLivePatcher as CollaborationLivePatcher$1, CollaborationRole, CollaborationShellState, CollaborationShellState as CollaborationShellState$1, CollaborationState, CollaborationState as CollaborationState$1, CollaborationState as CollaborationState$2, CollaborationTransport, CommentsPanelController, CompatibilityWarningToast, ConnectionStatus, ConnectionStatus as ConnectionStatus$1, ContextMenuCommandId, ContextMenuCustomization, ContextMenuTableContext, CropElementUpdate, CropSession, DeckSaveIntent, DeckStyleState, DeckWebfontProgress, DocumentStorage, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, EditorKeyActionName, ElementAnimationState, ElementClipboardPayload, ElementRenderErrorContext, ElementRenderErrorHandler, ElementRenderErrorHandler as ElementRenderErrorHandler$1, ElementUpdate, ElementUpdate as ElementUpdate$1, ElementUpdateOptions, ElementUpdateOptions as ElementUpdateOptions$1, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, FindReplaceController, FindReplaceMode, FindReplaceStatus, FindResult, FreeformToolKind, GoogleFontsOption, Guide, HostBackstagePage, HostBackstageRegionId, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, HyperlinkEditData, InlineListReadResult, InlineListReadResult as InlineListReadResult$1, InlineTextDraft, InlineTextEditSnapshot, InlineTextEditSnapshot as InlineTextEditSnapshot$1, InlineTextSelection, InlineTextSelection as InlineTextSelection$1, InsertChartKind, InsertChartOptions, KeyboardCustomization, ListConversionScope, ListConversionScope as ListConversionScope$1, LiveColorInput, MasterViewCrudAction, MasterViewCrudActionId, MobileSheetKey, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OptionsCustomization, OptionsPageId, OptionsPageId as OptionsPageId$1, OptionsSectionId, OptionsSectionId as OptionsSectionId$1, OptionsSettingId, OptionsSettingId as OptionsSettingId$1, OptionsSettingValues, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PasteSpecialFormat, PdfExportSettings, PowerPointViewerAPI, PptxLoadLimits, PptxSaveAcknowledgement, PptxSaveSnapshot, PptxUiRibbonInsertElement, PresentationBlackout, PresentationPointerTool, PresentationSnapshot, PrintSettings, RIBBON_TAB_IDS, RasterizeElementResult, RasterizeElementTilesResult, ReadOnlyBannerPasswordError, ReadOnlyRecommendation, RemoteCursor, RemoteCursor as RemoteCursor$1, ResolvedCustomization, ResolvedCustomization as ResolvedCustomization$1, ReviewCommentsHost, RibbonAddInTab, RibbonContextualTabId, RibbonControlId, RibbonCustomization, RibbonDisplayController, RibbonDisplayMode, RibbonGalleryApplyResult, RibbonGalleryContext, RibbonGroupId, RibbonTransitionDraft, RulerUnit, RunProgramNotice, SanitizedPresence, SanitizedPresence as SanitizedPresence$1, SaveProgressState, SavedPresentationFormat, SessionDeck, ShapePresetType, ShareDefaults, ShortcutChord, ShortcutChord as ShortcutChord$1, SlideCommentsChange, SlidePasteRequest, SlideSizeEmu, SlideSizeRescaleMode, SlideTemplateId, SlidesPaneBulkSlideOps, SlidesPaneLayoutGalleryRequest, SlidesPaneSingleSlideOps, StatusBarAutosave, StrokeToInkElementOpts, TOOLBAR_BUTTON_IDS, TextAdvancedChanges, ThemeCatalogEntry, ToolbarActionId, ToolbarActionId as ToolbarActionId$1, ToolbarButtonId, ToolbarTabId, UseViewerBuildingBlocksActionsOptions, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VectorPdfExportResult, ViewerAutosaveStatus, ViewerBuildingBlockActions, ViewerBuildingBlockActions as ViewerBuildingBlockActions$1, ViewerCapabilityId, ViewerCustomization, ViewerCustomization as ViewerCustomization$1, ViewerCustomizationApi, ViewerCustomizationApi as ViewerCustomizationApi$1, ViewerCustomizationController, ViewerDialogId, ViewerDialogId as ViewerDialogId$1, ViewerExportFormatId, ViewerFeatureId, ViewerFeatureId as ViewerFeatureId$1, ViewerFontSource, ViewerMode, ViewerOptionPrimitive, ViewerOptionsStore, ViewerPanelId, ViewerPanelId as ViewerPanelId$1, ViewerQuickAccessOptions, ViewerRegionContext, ViewerRegionId, ViewerRegionRenderer, ViewerTheme, ViewerTheme as ViewerTheme$1, ViewerThemeColors, ViewportFitOptions, ViewportFitOptions as ViewportFitOptions$1, ViewportFitPadding, ZoomExcursion, ZoomNavigationTarget, buildInlineTextCommitPatch, canInteractWithElement, createImageElementFromFile, createSlidesPaneBulkSlideOps, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, findReplacementAvailability, forgetSessionDeck, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, loadPresentationDeck, loadSessionDeck, overlayInlineTextSnapshot, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, restoreSessionDeck, savedPresentationFileName, themeToCssVars, vermilionDarkTheme, vermilionLightTheme } from "ooxml-ui/pptx";
|
|
2
|
+
import { AccountAuthConfig, AccountAuthConfig as AccountAuthConfig$1, AlignEdge, AnimationGroup, AutosaveActivation, AutosaveRecord, AutosaveRecord as AutosaveRecord$1, AutosaveRecoveryController, AutosaveRecoveryOffer, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, BackstageCardId, BackstageCustomization, BackstagePage, BuildingBlockFailureCode, BuildingBlockRequest, BuildingBlockResult, BuildingBlockToolbarGroupId, BuildingBlockToolbarGroupId as BuildingBlockToolbarGroupId$1, CANVAS_CONTEXT_MENU_COMMAND_IDS, CanvasContextMenuCommandId, CanvasSize, ChangeCaseMode, ChartPartRef, CloudFileProvider, CloudOpenedFile, CollabLoadOrigin, CollabLoadOrigin as CollabLoadOrigin$1, CollaborationConfig, CollaborationConfig as CollaborationConfig$1, CollaborationFailure, CollaborationFailure as CollaborationFailure$1, CollaborationHistoryTarget, CollaborationInput, CollaborationInput as CollaborationInput$1, CollaborationLivePatcher, CollaborationLivePatcher as CollaborationLivePatcher$1, CollaborationRole, CollaborationShellState, CollaborationShellState as CollaborationShellState$1, CollaborationState, CollaborationState as CollaborationState$1, CollaborationState as CollaborationState$2, CollaborationTransport, CommentsPanelController, CompatibilityWarningToast, ConnectionStatus, ConnectionStatus as ConnectionStatus$1, ContextMenuCommandId, ContextMenuCustomization, ContextMenuTableContext, CropElementUpdate, CropSession, DeckSaveIntent, DeckStyleState, DeckWebfontProgress, DocumentStorage, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, EditorKeyActionName, ElementAnimationState, ElementClipboardPayload, ElementGeometryPatch, ElementRenderErrorContext, ElementRenderErrorHandler, ElementRenderErrorHandler as ElementRenderErrorHandler$1, ElementUpdate, ElementUpdate as ElementUpdate$1, ElementUpdateOptions, ElementUpdateOptions as ElementUpdateOptions$1, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, ExternalContentView, ExternalContentViewInput, FindReplaceController, FindReplaceMode, FindReplaceStatus, FindResult, FreeformToolKind, GoogleFontsOption, Guide, HostBackstagePage, HostBackstageRegionId, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, HyperlinkEditData, InlineListReadResult, InlineListReadResult as InlineListReadResult$1, InlineTextDraft, InlineTextEditSnapshot, InlineTextEditSnapshot as InlineTextEditSnapshot$1, InlineTextSelection, InlineTextSelection as InlineTextSelection$1, InsertChartKind, InsertChartOptions, KeyboardCustomization, ListConversionScope, ListConversionScope as ListConversionScope$1, LiveColorInput, MasterViewCrudAction, MasterViewCrudActionId, MobileSheetKey, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OptionsCustomization, OptionsPageId, OptionsPageId as OptionsPageId$1, OptionsSectionId, OptionsSectionId as OptionsSectionId$1, OptionsSettingId, OptionsSettingId as OptionsSettingId$1, OptionsSettingValues, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PasteSpecialFormat, PdfExportSettings, PowerPointViewerAPI, PptxLoadLimits, PptxSaveAcknowledgement, PptxSaveSnapshot, PptxUiRibbonInsertElement, PresentationBlackout, PresentationPointerTool, PresentationSnapshot, PrintSettings, RIBBON_TAB_IDS, RasterizeElementResult, RasterizeElementTilesResult, ReadOnlyBannerPasswordError, ReadOnlyRecommendation, RemoteCursor, RemoteCursor as RemoteCursor$1, ResolvedCustomization, ResolvedCustomization as ResolvedCustomization$1, ReviewCommentsHost, RibbonAddInTab, RibbonContextualTabId, RibbonControlId, RibbonCustomization, RibbonDisplayController, RibbonDisplayMode, RibbonGalleryApplyResult, RibbonGalleryContext, RibbonGroupId, RibbonTransitionDraft, RibbonViewZoom, RulerUnit, RunProgramNotice, SanitizedPresence, SanitizedPresence as SanitizedPresence$1, SaveProgressState, SavedPresentationFormat, SessionDeck, ShapePresetType, ShareDefaults, ShortcutChord, ShortcutChord as ShortcutChord$1, SlideCommentsChange, SlidePasteRequest, SlideSizeEmu, SlideSizeRescaleMode, SlideTemplateId, SlidesPaneBulkSlideOps, SlidesPaneLayoutGalleryRequest, SlidesPaneSingleSlideOps, StatusBarAutosave, StrokeToInkElementOpts, TOOLBAR_BUTTON_IDS, TextAdvancedChanges, ThemeCatalogEntry, ToolbarActionId, ToolbarActionId as ToolbarActionId$1, ToolbarButtonId, ToolbarTabId, UseViewerBuildingBlocksActionsOptions, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VectorPdfExportResult, ViewerAutosaveStatus, ViewerBuildingBlockActions, ViewerBuildingBlockActions as ViewerBuildingBlockActions$1, ViewerCapabilityId, ViewerCustomization, ViewerCustomization as ViewerCustomization$1, ViewerCustomizationApi, ViewerCustomizationApi as ViewerCustomizationApi$1, ViewerCustomizationController, ViewerDialogId, ViewerDialogId as ViewerDialogId$1, ViewerExportFormatId, ViewerExternalContentBar, ViewerFeatureId, ViewerFeatureId as ViewerFeatureId$1, ViewerFontSource, ViewerMode, ViewerOptionPrimitive, ViewerOptionsStore, ViewerPanelId, ViewerPanelId as ViewerPanelId$1, ViewerQuickAccessOptions, ViewerRegionContext, ViewerRegionId, ViewerRegionRenderer, ViewerTheme, ViewerTheme as ViewerTheme$1, ViewerThemeColors, ViewportFitOptions, ViewportFitOptions as ViewportFitOptions$1, ViewportFitPadding, ZoomExcursion, ZoomNavigationTarget, buildInlineTextCommitPatch, canInteractWithElement, collaborationFailureMessageKey, createImageElementFromFile, createSlidesPaneBulkSlideOps, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, findReplacementAvailability, forgetSessionDeck, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, linkedContentView, loadPresentationDeck, loadSessionDeck, overlayInlineTextSnapshot, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, resolveExternalContentView, restoreSessionDeck, savedPresentationFileName, themeToCssVars, vermilionDarkTheme, vermilionLightTheme } from "ooxml-ui/pptx";
|
|
3
3
|
import { LocaleCatalogEntry, TranslationKey, TranslationMessages, Translator, createTranslator, keyToLabel, translationsEn } from "ooxml-ui/pptx/i18n";
|
|
4
4
|
import { LoadPresentationOptions, LoadedPresentation, loadPresentation, revokeBlobUrls } from "ooxml-ui/pptx/dom";
|
|
5
5
|
import { PptxAiBridge, PptxAiConfig, PptxAiConfig as PptxAiConfig$1, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy } from "ooxml-ui/pptx/ai";
|
|
@@ -94,8 +94,13 @@ interface ViewerState {
|
|
|
94
94
|
* byte-identical file.
|
|
95
95
|
*/
|
|
96
96
|
embedFonts: boolean;
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
/**
|
|
98
|
+
* The loaded deck's verified signature state, absent when it carries no
|
|
99
|
+
* signature parts. Every signature surface derives from
|
|
100
|
+
* `signatureStatusView(signatures, locale)`; a deck reads as signed only when
|
|
101
|
+
* its signatures verify.
|
|
102
|
+
*/
|
|
103
|
+
signatures: index_d_exports$2.SignatureSummary | undefined;
|
|
99
104
|
isPasswordProtected: boolean;
|
|
100
105
|
/**
|
|
101
106
|
* The File > Info > Protect Presentation secret, or null when the deck saves
|
|
@@ -182,6 +187,12 @@ interface ViewerState {
|
|
|
182
187
|
zoom: ZoomLevel;
|
|
183
188
|
/** True while a load is in flight. */
|
|
184
189
|
loading: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Names the presentation load the deck comes from: each load and each collaboration join whose
|
|
192
|
+
* room replaced the slides bumps it, and nothing else does (edits, master and layout changes and
|
|
193
|
+
* slide paste keep it). The AI bridge's `getDeckLoad`.
|
|
194
|
+
*/
|
|
195
|
+
deckLoad: number;
|
|
185
196
|
/** Webfont download progress while a load waits for the deck's fonts (after a short delay). */
|
|
186
197
|
fontProgress?: DeckWebfontProgress | null;
|
|
187
198
|
/** Error message from the last failed load, or null. */
|
|
@@ -312,6 +323,14 @@ interface ViewerState {
|
|
|
312
323
|
*/
|
|
313
324
|
cropSession: CropSession | null;
|
|
314
325
|
spellCheckEnabled: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* The user chose Enable Content on the security bar for this presentation, in this viewer
|
|
328
|
+
* only (`resolveExternalContentView`). Reset on every load; a collaborator's choice never
|
|
329
|
+
* reaches it.
|
|
330
|
+
*/
|
|
331
|
+
externalContentEnabled: boolean;
|
|
332
|
+
/** The user closed the security bar for this presentation. Reset on every load. */
|
|
333
|
+
externalContentBarClosed: boolean;
|
|
315
334
|
/**
|
|
316
335
|
* Whether the loaded deck recommends opening read-only (`p:modifyVerifier`
|
|
317
336
|
* or `docProps/custom.xml`'s "Mark as Final"), and why; null when it does
|
|
@@ -590,6 +609,11 @@ interface DeckActions {
|
|
|
590
609
|
fontScheme: index_d_exports$2.PptxThemeFontScheme;
|
|
591
610
|
name: string;
|
|
592
611
|
}): void | Promise<void>;
|
|
612
|
+
/**
|
|
613
|
+
* Apply a partial theme update at once (the assistant): parts it leaves out keep the
|
|
614
|
+
* current theme's. One undo step; the handler's theme parts follow on its write queue.
|
|
615
|
+
*/
|
|
616
|
+
applyThemeUpdates(updates: Partial<index_d_exports$2.PptxTheme>): void;
|
|
593
617
|
/** Replace the deck's `ppt/tags/*.xml` collections (inspector TAGS card). */
|
|
594
618
|
updateTagCollections(next: index_d_exports$2.PptxTagCollection[]): void;
|
|
595
619
|
/** Patch the active slide (inspector THEME OVERRIDE card). */
|
|
@@ -770,6 +794,7 @@ interface MergeActions {
|
|
|
770
794
|
}
|
|
771
795
|
/** History-aware slide section actions exposed to the rail and Home ribbon. */
|
|
772
796
|
interface SectionActions {
|
|
797
|
+
commitSummaryZoom(mutation: import('ooxml-ui/pptx').SummaryZoomMutation): void;
|
|
773
798
|
addSection(name: string, afterSlideIndex?: number): string | null;
|
|
774
799
|
renameSection(sectionId: string, name: string): void;
|
|
775
800
|
deleteSection(sectionId: string): void;
|
|
@@ -888,13 +913,7 @@ interface TransitionActions {
|
|
|
888
913
|
applyTransitionChange(changes: Partial<index_d_exports$2.PptxSlideTransition>): void;
|
|
889
914
|
}
|
|
890
915
|
/** A geometry patch from the inspector (all fields optional). */
|
|
891
|
-
|
|
892
|
-
x?: number;
|
|
893
|
-
y?: number;
|
|
894
|
-
width?: number;
|
|
895
|
-
height?: number;
|
|
896
|
-
rotation?: number;
|
|
897
|
-
}
|
|
916
|
+
type GeometryPatch = ElementGeometryPatch;
|
|
898
917
|
/**
|
|
899
918
|
* The full set of formatting / insert / arrange / clipboard / slide actions
|
|
900
919
|
* exposed to the editing chrome (ribbon, inspector). Composed from the
|
|
@@ -1481,6 +1500,7 @@ declare function createMasterViewSidebar(doc: Document, t: Translator): MasterVi
|
|
|
1481
1500
|
type RibbonTabId = 'file' | 'home' | 'insert' | 'draw' | 'design' | 'transitions' | 'animations' | 'slideShow' | 'record' | 'review' | 'view' | 'help';
|
|
1482
1501
|
/** Nav-row handlers: always-visible (both edit and read-only chrome). */
|
|
1483
1502
|
interface RibbonNavHandlers {
|
|
1503
|
+
viewZoom?: RibbonViewZoom | undefined;
|
|
1484
1504
|
prev(): void;
|
|
1485
1505
|
next(): void;
|
|
1486
1506
|
zoomIn(): void;
|
|
@@ -1674,6 +1694,7 @@ interface RibbonDrawState {
|
|
|
1674
1694
|
/** Insert tab handler: build + insert an element of the given kind/shape preset. */
|
|
1675
1695
|
interface RibbonInsertHandlers {
|
|
1676
1696
|
insert: EditActions['insert'];
|
|
1697
|
+
getGraphicTarget?: import('ooxml-ui/pptx').RibbonInsertState['getGraphicTarget'];
|
|
1677
1698
|
insertImage: EditActions['insertImage'];
|
|
1678
1699
|
insertMedia: EditActions['insertMedia'];
|
|
1679
1700
|
insertChart: EditActions['insertChart'];
|
|
@@ -2245,7 +2266,8 @@ interface ThumbnailRail {
|
|
|
2245
2266
|
}
|
|
2246
2267
|
/**
|
|
2247
2268
|
* The thumbnail sidebar: a scaled-down live render of every slide; clicking a
|
|
2248
|
-
* thumbnail navigates to it.
|
|
2269
|
+
* thumbnail navigates to it. Every row is rebuilt on `render`; scrolling and
|
|
2270
|
+
* selection build only the rows entering the window.
|
|
2249
2271
|
*/
|
|
2250
2272
|
declare function createThumbnailRail(doc: Document, t: Translator, onSelect: (index: number) => void, onAddSlide?: () => void, menuDeps?: ThumbnailRailMenuDeps): ThumbnailRail;
|
|
2251
2273
|
/** Autosave lifecycle states the title-bar status text reflects. */
|
|
@@ -2289,6 +2311,8 @@ interface TitleBarDeps {
|
|
|
2289
2311
|
hiddenActions?: readonly ToolbarActionId$1[];
|
|
2290
2312
|
/** Options-driven Quick Access strip; omitted = the classic Save/Undo/Redo. */
|
|
2291
2313
|
quickAccess?: TitleBarQuickAccess;
|
|
2314
|
+
/** Options > General > "Collapse the search box by default". */
|
|
2315
|
+
searchCollapsed?: boolean;
|
|
2292
2316
|
/**
|
|
2293
2317
|
* Fires whenever the below-the-ribbon strip's emptiness is recomputed, so the
|
|
2294
2318
|
* detached dock (see `ViewerChrome.setQuickAccessPosition`) can hide instead
|
|
@@ -2321,6 +2345,8 @@ interface TitleBar {
|
|
|
2321
2345
|
dockQuickAccessElement(): void;
|
|
2322
2346
|
/** Switch the strips between the title bar and the below-ribbon dock. */
|
|
2323
2347
|
setQuickAccessDetached(detached: boolean): void;
|
|
2348
|
+
/** Options > General > "Collapse the search box by default". */
|
|
2349
|
+
setSearchCollapsed(collapsed: boolean): void;
|
|
2324
2350
|
}
|
|
2325
2351
|
interface ChromeOptions$1 {
|
|
2326
2352
|
showToolbar: boolean;
|
|
@@ -2375,6 +2401,13 @@ interface ChromeOptions$1 {
|
|
|
2375
2401
|
titleBar: TitleBarDeps;
|
|
2376
2402
|
/** Optional File > Account sign-in hook point; disabled/absent by default. */
|
|
2377
2403
|
accountAuth?: AccountAuthConfig$1;
|
|
2404
|
+
/**
|
|
2405
|
+
* The UI locale this chrome's labels are built in (a locale switch rebuilds
|
|
2406
|
+
* the chrome); the signature badge words its state in it. Default `'en'`.
|
|
2407
|
+
*/
|
|
2408
|
+
locale?: string;
|
|
2409
|
+
/** Signature badge click: opens File > Info > Digital Signatures. */
|
|
2410
|
+
onOpenSignatures?(): void;
|
|
2378
2411
|
onSelectSlide(index: number): void;
|
|
2379
2412
|
/** Header click on the notes panel; shares the ribbon Notes button's handler. */
|
|
2380
2413
|
onToggleNotes(): void;
|
|
@@ -2390,6 +2423,10 @@ interface ChromeOptions$1 {
|
|
|
2390
2423
|
onSubmitReadOnlyPassword(password: string): void;
|
|
2391
2424
|
/** The read-only recommendation banner's password form "Cancel". */
|
|
2392
2425
|
onCancelReadOnlyPasswordPrompt(): void;
|
|
2426
|
+
/** Enable Content on the security bar for linked pictures and media. */
|
|
2427
|
+
onEnableExternalContent(): void;
|
|
2428
|
+
/** The security bar's close button: the linked content stays blocked. */
|
|
2429
|
+
onCloseExternalContentBar(): void;
|
|
2393
2430
|
/** One compatibility toast's own dismiss button. */
|
|
2394
2431
|
onDismissCompatToast(id: string): void;
|
|
2395
2432
|
/** The compatibility toast stack's "Dismiss all" button. */
|
|
@@ -2447,12 +2484,19 @@ interface ViewerChrome {
|
|
|
2447
2484
|
setQuickAccessPosition(position: 'above' | 'below'): void;
|
|
2448
2485
|
/** Show/hide the Protected View "Enable Editing" banner. */
|
|
2449
2486
|
setProtectedView(active: boolean): void;
|
|
2487
|
+
/**
|
|
2488
|
+
* Show the loaded deck's verified signature state in the badge under the
|
|
2489
|
+
* Ribbon; no badge for an unsigned deck. A no-op when the toolbar is hidden.
|
|
2490
|
+
*/
|
|
2491
|
+
setSignatures(summary: index_d_exports$2.SignatureSummary | undefined): void;
|
|
2450
2492
|
/** Show/hide + populate the read-only recommendation banner. */
|
|
2451
2493
|
setReadOnlyRecommendation(recommendation: ReadOnlyRecommendation | null, dismissed: boolean, passwordState: {
|
|
2452
2494
|
promptOpen: boolean;
|
|
2453
2495
|
error: ModifyPasswordErrorReason | null;
|
|
2454
2496
|
checking: boolean;
|
|
2455
2497
|
}): void;
|
|
2498
|
+
/** Show (or remove) the security bar for linked pictures and media. */
|
|
2499
|
+
setExternalContentBar(visible: boolean): void;
|
|
2456
2500
|
/**
|
|
2457
2501
|
* Replace the compatibility-warning toast stack. `rightInset` (default 0)
|
|
2458
2502
|
* is the open format/inspector panel's width, so the stack clears it
|
|
@@ -2596,6 +2640,10 @@ declare const ICON_PATHS: {
|
|
|
2596
2640
|
readonly 'arrow-left-right': readonly ['M8 3L4 7l4 4', 'M4 7h16', 'M16 13l4 4-4 4', 'M20 17H4'];
|
|
2597
2641
|
readonly lock: readonly ['M3 11h18v11H3z', 'M7 11V7a5 5 0 0 1 10 0v4'];
|
|
2598
2642
|
readonly 'lock-open': readonly ['M3 11h18v11H3z', 'M7 11V7a5 5 0 0 1 9.9-1'];
|
|
2643
|
+
readonly 'shield-check': readonly ["M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z", 'M9 12l2 2 4-4'];
|
|
2644
|
+
readonly 'shield-alert': readonly ["M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z", 'M12 8v4', 'M12 16h.01'];
|
|
2645
|
+
readonly 'shield-x': readonly ["M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z", 'M14.5 9.5l-5 5', 'M9.5 9.5l5 5'];
|
|
2646
|
+
readonly 'shield-question': readonly ["M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z", 'M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3', 'M12 17h.01'];
|
|
2599
2647
|
readonly paintbrush: readonly ['m14.622 17.897-10.68-2.913', 'M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z', 'M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15'];
|
|
2600
2648
|
readonly filter: readonly ['M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z'];
|
|
2601
2649
|
readonly 'merge-shapes': readonly ['M3 3h12v12H3z', 'M9 9h12v12H9z'];
|
|
@@ -2984,6 +3032,12 @@ interface SlidesPaneOptions {
|
|
|
2984
3032
|
canvasSize: CanvasSize;
|
|
2985
3033
|
/** Resolved media URLs (`LoadedPresentation.mediaDataUrls`) for images and video posters. */
|
|
2986
3034
|
mediaDataUrls?: ReadonlyMap<string, string>;
|
|
3035
|
+
/**
|
|
3036
|
+
* Draw the deck's linked web content (pictures, fills, media posters at other servers).
|
|
3037
|
+
* Leave it unset until the viewer allows it (`resolveExternalContentView`); unset draws
|
|
3038
|
+
* the slides without contacting those servers.
|
|
3039
|
+
*/
|
|
3040
|
+
linkedContent?: boolean;
|
|
2987
3041
|
/** The deck's sections; with any, the rail groups thumbnails under collapsible headers. */
|
|
2988
3042
|
sections?: readonly index_d_exports$2.PptxSection[];
|
|
2989
3043
|
/**
|
|
@@ -3093,7 +3147,7 @@ export declare function createSlidesPane(container: HTMLElement, initial: Slides
|
|
|
3093
3147
|
* default it has on {@link SlidesPaneOptions}, so a host can spread the options
|
|
3094
3148
|
* it gives the slides pane.
|
|
3095
3149
|
*/
|
|
3096
|
-
interface SlideThumbnailOptions extends Pick<SlidesPaneOptions, 'canvasSize' | 'mediaDataUrls' | 'headerFooter' | 'customProperties' | 'firstSlideNumber' | 'locale' | 'colorScheme' | 'fontScheme' | 'formatScheme' | 'tableStyleMap' | 't' | 'registry' | 'onElementRenderError'> {
|
|
3150
|
+
interface SlideThumbnailOptions extends Pick<SlidesPaneOptions, 'canvasSize' | 'mediaDataUrls' | 'linkedContent' | 'headerFooter' | 'customProperties' | 'firstSlideNumber' | 'locale' | 'colorScheme' | 'fontScheme' | 'formatScheme' | 'tableStyleMap' | 't' | 'registry' | 'onElementRenderError'> {
|
|
3097
3151
|
/** The document the thumbnail's nodes are created in. */
|
|
3098
3152
|
document: Document;
|
|
3099
3153
|
/** The slide to draw, as the host stores it (unsaved edits included). */
|
|
@@ -3229,6 +3283,11 @@ interface SyncStageParams {
|
|
|
3229
3283
|
showWithAnimation?: boolean;
|
|
3230
3284
|
/** Archive-path to data-URL map, used to resolve action-sound sources. */
|
|
3231
3285
|
mediaDataUrls?: ReadonlyMap<string, string>;
|
|
3286
|
+
/**
|
|
3287
|
+
* Whether this viewer allows the deck's linked content, read when a sound plays: a
|
|
3288
|
+
* linked sound plays only then. Unset withholds linked sounds.
|
|
3289
|
+
*/
|
|
3290
|
+
getLinkedContentAllowed?: () => boolean;
|
|
3232
3291
|
/**
|
|
3233
3292
|
* Re-render the given tracked elements in place against the current element
|
|
3234
3293
|
* states, so staged chart / SmartArt builds and `p:animClr` fill / stroke
|
|
@@ -3365,6 +3424,11 @@ interface RenderControllerDeps {
|
|
|
3365
3424
|
* `getSmartArt3D`.
|
|
3366
3425
|
*/
|
|
3367
3426
|
getPieChart3D(): boolean;
|
|
3427
|
+
/**
|
|
3428
|
+
* Whether this viewer draws the deck's linked web content now (`linkedContentAllowed`):
|
|
3429
|
+
* every stage, thumbnail and preview this controller builds passes it on.
|
|
3430
|
+
*/
|
|
3431
|
+
getLinkedContentAllowed(): boolean;
|
|
3368
3432
|
/**
|
|
3369
3433
|
* `viewerOptions.advanced.pixelateMosaicAnimation`. `true` plays the
|
|
3370
3434
|
* blocky mosaic reveal for `p:animEffect/@filter="pixelate"`; `false`
|
|
@@ -3687,10 +3751,10 @@ interface PrintOptions extends Partial<PrintSettings> {
|
|
|
3687
3751
|
*/
|
|
3688
3752
|
declare function runPrint(deps: ExportCaptureDeps, options?: PrintOptions): Promise<boolean>;
|
|
3689
3753
|
/**
|
|
3690
|
-
* WebM
|
|
3754
|
+
* Video export (WebM, or MP4 on Safari) for the vanilla binding, driven by the shared `video-plan`
|
|
3691
3755
|
* module: `planVideoSegments` (per-slide segment timing + frame counts),
|
|
3692
|
-
* `fpsToFrameIntervalMs` (draw-loop pacing), and `
|
|
3693
|
-
*
|
|
3756
|
+
* `fpsToFrameIntervalMs` (draw-loop pacing), and `requireVideoRecordingFormat`
|
|
3757
|
+
* (MediaRecorder container and codec, by `isTypeSupported`). Only the browser
|
|
3694
3758
|
* driver lives here: capture each slide to a canvas, replay the canvases onto
|
|
3695
3759
|
* a recording canvas fed to `captureStream()` + `MediaRecorder`, and download
|
|
3696
3760
|
* the resulting Blob. Vanilla port of React's `exportAllSlidesAsVideo`.
|
|
@@ -3718,9 +3782,10 @@ interface ExportVideoDeps extends ExportCaptureDeps {
|
|
|
3718
3782
|
waitMs?: (ms: number) => Promise<void>;
|
|
3719
3783
|
}
|
|
3720
3784
|
/**
|
|
3721
|
-
* Capture every slide, record them into a
|
|
3722
|
-
*
|
|
3723
|
-
* `AbortError` when `signal` aborts during capture or recording
|
|
3785
|
+
* Capture every slide, record them into a video, and trigger a `<baseName>.webm`
|
|
3786
|
+
* (or `.mp4` on Safari) download. No-op when the deck is empty. Throws the shared
|
|
3787
|
+
* `AbortError` when `signal` aborts during capture or recording, and
|
|
3788
|
+
* `VideoExportUnsupportedError` before capturing when no container can be recorded.
|
|
3724
3789
|
*/
|
|
3725
3790
|
declare function runVideoExport(deps: ExportVideoDeps, options?: ExportVideoOptions): Promise<void>;
|
|
3726
3791
|
interface RasterizeSlideDeps {
|
|
@@ -3766,6 +3831,11 @@ interface RasterizeSlideDeps {
|
|
|
3766
3831
|
* `PptxViewerOptions.pieChart3D`. Same "read fresh" note as `getSmartArt3D`.
|
|
3767
3832
|
*/
|
|
3768
3833
|
getPieChart3D(): boolean;
|
|
3834
|
+
/**
|
|
3835
|
+
* Whether this viewer draws the deck's linked web content now, read fresh on every export so
|
|
3836
|
+
* an export made before Enable Content contacts no linked server. Omitted withholds it.
|
|
3837
|
+
*/
|
|
3838
|
+
getLinkedContentAllowed?(): boolean;
|
|
3769
3839
|
/**
|
|
3770
3840
|
* Options > Advanced > "Default resolution" / "Do not compress images"
|
|
3771
3841
|
* raster-scale multiplier (see `resolveImageResolutionScale` in
|
|
@@ -3896,6 +3966,8 @@ interface ExportControllerDeps {
|
|
|
3896
3966
|
onPdfExportReport?: (result: VectorPdfExportResult) => void;
|
|
3897
3967
|
/** Show the PDF approximation notice in the compatibility toast stack. */
|
|
3898
3968
|
notify?: (toast: CompatibilityWarningToast) => void;
|
|
3969
|
+
/** Dismiss an earlier PDF approximation notice when a later export completes cleanly. */
|
|
3970
|
+
dismissNotice?: (id: string) => void;
|
|
3899
3971
|
}
|
|
3900
3972
|
interface ExportController {
|
|
3901
3973
|
/** Export a single slide as a PNG download. Defaults to the current slide. */
|
|
@@ -4076,7 +4148,7 @@ interface PptxViewerCallbacks {
|
|
|
4076
4148
|
* people change. Viewer-owned and host-owned (`collaboration.session`) sessions both
|
|
4077
4149
|
* report; unchanged states are not repeated.
|
|
4078
4150
|
*/
|
|
4079
|
-
onCollaborationChange?: (state: CollaborationState$
|
|
4151
|
+
onCollaborationChange?: (state: CollaborationState$1) => void;
|
|
4080
4152
|
/**
|
|
4081
4153
|
* Fired with the serialised `.pptx` bytes after each committed edit. Serialising
|
|
4082
4154
|
* is asynchronous, so a burst of edits can deliver several snapshots in order.
|
|
@@ -4195,11 +4267,13 @@ interface PptxViewerOptions extends PptxViewerCallbacks, ViewportFitOptions$1 {
|
|
|
4195
4267
|
/**
|
|
4196
4268
|
* Host switch for content a deck links from another server (http(s)
|
|
4197
4269
|
* relationship targets): pictures, picture fills and bullets, video, audio
|
|
4198
|
-
* and poster frames.
|
|
4199
|
-
*
|
|
4200
|
-
*
|
|
4201
|
-
*
|
|
4202
|
-
*
|
|
4270
|
+
* and poster frames. Unset follows PowerPoint: nothing is fetched when a
|
|
4271
|
+
* deck opens, and a security bar offers Enable Content for that
|
|
4272
|
+
* presentation (File > Options > Trust Center > "Allow external content",
|
|
4273
|
+
* off by default, fetches without asking). `false`: none of it is fetched
|
|
4274
|
+
* and no bar shows. `true`: it is fetched without asking. Either value
|
|
4275
|
+
* locks the Trust Center option to match. Google Fonts requests are
|
|
4276
|
+
* separate (see `googleFonts`). Read once, when the viewer is created.
|
|
4203
4277
|
*/
|
|
4204
4278
|
allowExternalContent?: boolean;
|
|
4205
4279
|
/**
|
|
@@ -4439,7 +4513,7 @@ interface PptxViewerOptions extends PptxViewerCallbacks, ViewportFitOptions$1 {
|
|
|
4439
4513
|
* shared codec limitation), and a remote update replaces the whole local
|
|
4440
4514
|
* slide array, so a joiner's host-provided media can degrade.
|
|
4441
4515
|
*/
|
|
4442
|
-
collaboration?: CollaborationInput
|
|
4516
|
+
collaboration?: CollaborationInput;
|
|
4443
4517
|
/**
|
|
4444
4518
|
* Prefilled values for the built-in Share/Broadcast dialogs' form fields
|
|
4445
4519
|
* (e.g. a host-generated display name), mirroring the Vue binding's
|
|
@@ -4580,13 +4654,13 @@ interface PptxViewerInstance extends PowerPointViewerAPI, ViewerCustomizationApi
|
|
|
4580
4654
|
* transport is created; connection status arrives via
|
|
4581
4655
|
* {@link PptxViewerCallbacks.onCollaborationStatus}.
|
|
4582
4656
|
*/
|
|
4583
|
-
startCollaboration(config: CollaborationInput
|
|
4657
|
+
startCollaboration(config: CollaborationInput): Promise<void>;
|
|
4584
4658
|
/** Stop the active collaboration session (no-op when none is running). */
|
|
4585
4659
|
stopCollaboration(): void;
|
|
4586
4660
|
/** Current collaboration connection status (`'disconnected'` when inactive). */
|
|
4587
4661
|
getCollaborationStatus(): ConnectionStatus;
|
|
4588
4662
|
/** The shared `CollaborationState` (the off state when no session is active). */
|
|
4589
|
-
getCollaborationState(): CollaborationState$
|
|
4663
|
+
getCollaborationState(): CollaborationState$1;
|
|
4590
4664
|
/** Force an immediate autosave snapshot (no-op when autosave is disabled). */
|
|
4591
4665
|
autosaveNow(): Promise<void>;
|
|
4592
4666
|
/** Enable or disable recovery autosave without rebuilding the viewer. */
|
|
@@ -4629,6 +4703,7 @@ interface ChromeLifecycle {
|
|
|
4629
4703
|
}
|
|
4630
4704
|
/** The subset of `PptxViewer` needed to build its `MountChromeDeps`. */
|
|
4631
4705
|
interface ChromeHost {
|
|
4706
|
+
importSlides?: (source: ArrayBuffer, indexes: readonly number[]) => Promise<void>;
|
|
4632
4707
|
subtitleOptionsStore?(): ViewerOptionsStore | undefined;
|
|
4633
4708
|
doc: Document;
|
|
4634
4709
|
container: HTMLElement;
|
|
@@ -4648,6 +4723,7 @@ interface ChromeHost {
|
|
|
4648
4723
|
/** The viewer's live theme (kept in sync by `setTheme`); read on mount/remount instead of the static `options.theme`. */
|
|
4649
4724
|
currentTheme: ViewerTheme$1 | undefined;
|
|
4650
4725
|
editor: {
|
|
4726
|
+
commitSlides?(slides: index_d_exports$2.PptxSlide[]): void;
|
|
4651
4727
|
commitNotes(notes: string, notesSegments?: index_d_exports$2.TextSegment[]): void;
|
|
4652
4728
|
getEditActions(): EditActions;
|
|
4653
4729
|
getFindReplaceActions(): FindReplaceActions;
|
|
@@ -4679,6 +4755,12 @@ interface ChromeHost {
|
|
|
4679
4755
|
submitReadOnlyPassword(password: string): void;
|
|
4680
4756
|
/** The read-only recommendation banner's password form "Cancel". */
|
|
4681
4757
|
cancelReadOnlyPasswordPrompt(): void;
|
|
4758
|
+
/** Enable Content on the security bar for linked pictures and media. */
|
|
4759
|
+
enableExternalContent(): void;
|
|
4760
|
+
/** The security bar's close button. */
|
|
4761
|
+
closeExternalContentBar(): void;
|
|
4762
|
+
/** Whether the chrome shows the security bar for the loaded deck (`resolveExternalContentView`). */
|
|
4763
|
+
externalContentBarInChrome(): boolean;
|
|
4682
4764
|
/** One compatibility toast's own dismiss button. */
|
|
4683
4765
|
dismissCompatToast(id: string): void;
|
|
4684
4766
|
/** The compatibility toast stack's "Dismiss all" button. */
|
|
@@ -4798,6 +4880,8 @@ interface ChromeHost {
|
|
|
4798
4880
|
getCloudFiles?(): BackstageCloudFiles;
|
|
4799
4881
|
/** The open document's name (a cloud file's, or the `fileName` option). */
|
|
4800
4882
|
getFileName?(): string | undefined;
|
|
4883
|
+
/** The current UI locale. */
|
|
4884
|
+
getLocale(): string;
|
|
4801
4885
|
setTheme(theme: ViewerTheme$1 | undefined): void;
|
|
4802
4886
|
applyPresentationTheme(presetId: string): void;
|
|
4803
4887
|
}
|
|
@@ -4849,6 +4933,8 @@ interface ExportLifecycleDeps {
|
|
|
4849
4933
|
getLineChart3D(): boolean;
|
|
4850
4934
|
getAreaChart3D(): boolean;
|
|
4851
4935
|
getPieChart3D(): boolean;
|
|
4936
|
+
/** See `RasterizeSlideDeps.getLinkedContentAllowed`. */
|
|
4937
|
+
getLinkedContentAllowed?(): boolean;
|
|
4852
4938
|
/**
|
|
4853
4939
|
* Options > Advanced > "Default resolution" / "Do not compress images"
|
|
4854
4940
|
* raster-scale multiplier (see `resolveImageResolutionScale`), read fresh
|
|
@@ -4875,6 +4961,8 @@ interface ExportLifecycleDeps {
|
|
|
4875
4961
|
onPdfExportReport?(result: VectorPdfExportResult): void;
|
|
4876
4962
|
/** Show the PDF approximation notice in the compatibility toast stack. */
|
|
4877
4963
|
notify?(toast: CompatibilityWarningToast): void;
|
|
4964
|
+
/** Dismiss an earlier PDF approximation notice when a later export completes cleanly. */
|
|
4965
|
+
dismissNotice?(id: string): void;
|
|
4878
4966
|
}
|
|
4879
4967
|
/** The export slice of the public viewer API (see `PptxViewerInstance`). */
|
|
4880
4968
|
interface ViewerExportApi {
|
|
@@ -5003,6 +5091,7 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5003
5091
|
protected readonly exporter: ExportLifecycle;
|
|
5004
5092
|
private readonly loading;
|
|
5005
5093
|
private readonly slidePackageClipboard;
|
|
5094
|
+
importSlides: (source: ArrayBuffer, indexes: readonly number[]) => Promise<void>;
|
|
5006
5095
|
private readonly registry;
|
|
5007
5096
|
private readonly sessions;
|
|
5008
5097
|
private readonly controls;
|
|
@@ -5033,6 +5122,7 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5033
5122
|
/** Tags in-flight webfont resolutions; only the newest deck may apply its result. */
|
|
5034
5123
|
private webfontsToken;
|
|
5035
5124
|
private detachFontDownloads;
|
|
5125
|
+
private detachExternalContentOption;
|
|
5036
5126
|
/** The current deck's fonts in the module-wide glyph-outline cache; released on destroy. */
|
|
5037
5127
|
private readonly outlineFonts;
|
|
5038
5128
|
/** Host/user intent is retained while collaboration temporarily disables editing. */
|
|
@@ -5054,6 +5144,11 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5054
5144
|
private rulers;
|
|
5055
5145
|
/** File > Options store + option-driven behavior (undo depth, ribbon, etc.). */
|
|
5056
5146
|
private optionsController;
|
|
5147
|
+
/**
|
|
5148
|
+
* The host `allowExternalContent` switch: the option, or the building blocks' live value.
|
|
5149
|
+
* Unset leaves linked content to Trust Center and the security bar.
|
|
5150
|
+
*/
|
|
5151
|
+
private hostAllowExternalContent;
|
|
5057
5152
|
/** The host's ribbon tabs (`ribbonAddIns` option, `setRibbonAddIns`). */
|
|
5058
5153
|
private ribbonAddIns;
|
|
5059
5154
|
/** Ribbon Display Options; owned here so the state survives a chrome rebuild. */
|
|
@@ -5118,12 +5213,6 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5118
5213
|
*/
|
|
5119
5214
|
private setupContextMenu;
|
|
5120
5215
|
private setupAiChat;
|
|
5121
|
-
/**
|
|
5122
|
-
* Merge AI-proposed theme scheme updates into the live deck and re-render.
|
|
5123
|
-
* Theme scheme state sits outside the slides history snapshot, so this is a
|
|
5124
|
-
* best-effort apply (not a strictly undoable step, unlike slide edits).
|
|
5125
|
-
*/
|
|
5126
|
-
private applyAiThemeUpdates;
|
|
5127
5216
|
/**
|
|
5128
5217
|
* Load another document (the host's, a device file or a recent one): a file opened from a
|
|
5129
5218
|
* cloud place no longer applies.
|
|
@@ -5146,6 +5235,8 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5146
5235
|
private documentView;
|
|
5147
5236
|
/** The open document's name, for the title bar (chrome rebuilds read it again). */
|
|
5148
5237
|
getFileName(): string | undefined;
|
|
5238
|
+
/** The current UI locale, for the chrome (a `setLocale` rebuilds it). */
|
|
5239
|
+
getLocale(): string;
|
|
5149
5240
|
/** The host's `fileProviders` as File > Open places (empty: the Open page has none). */
|
|
5150
5241
|
getCloudFiles(): BackstageCloudFiles;
|
|
5151
5242
|
/**
|
|
@@ -5387,6 +5478,30 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5387
5478
|
editAnywayFromReadOnlyRecommendation(): void;
|
|
5388
5479
|
/** The read-only recommendation banner's plain close button: hides the banner, keeps the lock. */
|
|
5389
5480
|
dismissReadOnlyBanner(): void;
|
|
5481
|
+
/**
|
|
5482
|
+
* Enable Content on the security bar: draw this presentation's linked pictures and media,
|
|
5483
|
+
* in this viewer only. Nothing reloads: the deck, its unsaved state, the slide on screen,
|
|
5484
|
+
* undo history, autosave and a collaboration session carry on as they were.
|
|
5485
|
+
*/
|
|
5486
|
+
enableExternalContent(): void;
|
|
5487
|
+
/** The security bar's close button: the linked content stays blocked. */
|
|
5488
|
+
closeExternalContentBar(): void;
|
|
5489
|
+
/** Whether the security bar shows for the loaded deck. */
|
|
5490
|
+
externalContentBarVisible(): boolean;
|
|
5491
|
+
/** Whether this viewer draws the deck's linked web content now. */
|
|
5492
|
+
linkedContentAllowed(): boolean;
|
|
5493
|
+
private externalContentViewOf;
|
|
5494
|
+
/** Redraw after a change to what may be fetched that the store does not hold. */
|
|
5495
|
+
private redrawLinkedContent;
|
|
5496
|
+
/**
|
|
5497
|
+
* Whether this viewer's own chrome draws the security bar. The building blocks' canvas
|
|
5498
|
+
* leaves it to the host shell, which renders it from `externalContent`, as in React.
|
|
5499
|
+
*/
|
|
5500
|
+
protected showsExternalContentBar(): boolean;
|
|
5501
|
+
/** Whether the chrome shows the security bar now (`ChromeHost`). */
|
|
5502
|
+
externalContentBarInChrome(): boolean;
|
|
5503
|
+
/** A live host `allowExternalContent` (the building blocks): applies to the open deck at once. */
|
|
5504
|
+
protected setHostAllowExternalContent(allow: boolean | undefined): void;
|
|
5390
5505
|
/** The read-only recommendation banner's password form "Cancel": closes the prompt without unlocking. */
|
|
5391
5506
|
cancelReadOnlyPasswordPrompt(): void;
|
|
5392
5507
|
/**
|
|
@@ -5397,6 +5512,8 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5397
5512
|
*/
|
|
5398
5513
|
submitReadOnlyPassword(password: string): void;
|
|
5399
5514
|
private checkReadOnlyPassword;
|
|
5515
|
+
/** Word a signature load notice still on screen in the current locale. */
|
|
5516
|
+
private rewordSignatureNotice;
|
|
5400
5517
|
/** One compatibility toast's own dismiss button. */
|
|
5401
5518
|
dismissCompatToast(id: string): void;
|
|
5402
5519
|
/** The compatibility toast stack's "Dismiss all" button. */
|
|
@@ -5510,10 +5627,10 @@ export declare class PptxViewer extends ViewerCustomizationHost implements PptxV
|
|
|
5510
5627
|
exitPresentation(): Promise<void>;
|
|
5511
5628
|
getRegistry: () => index_d_exports$1.ElementRendererRegistry;
|
|
5512
5629
|
getHandler: () => index_d_exports$2.PptxHandler | null;
|
|
5513
|
-
startCollaboration(config: CollaborationInput
|
|
5630
|
+
startCollaboration(config: CollaborationInput): Promise<void>;
|
|
5514
5631
|
stopCollaboration: () => void;
|
|
5515
5632
|
getCollaborationStatus: () => ConnectionStatus;
|
|
5516
|
-
getCollaborationState: () => CollaborationState$
|
|
5633
|
+
getCollaborationState: () => CollaborationState$1;
|
|
5517
5634
|
autosaveNow(): Promise<void>;
|
|
5518
5635
|
setAutosaveEnabled(enabled: boolean): void;
|
|
5519
5636
|
isAutosaveEnabled: () => boolean;
|
|
@@ -5573,11 +5690,11 @@ interface CollaborationControllerDeps {
|
|
|
5573
5690
|
/** Notified on every connection-status transition. */
|
|
5574
5691
|
onStatusChange?: (status: ConnectionStatus$1) => void;
|
|
5575
5692
|
/** Notified with the shared `CollaborationState` whenever it really changes. */
|
|
5576
|
-
onStateChange?: (state: CollaborationState$
|
|
5693
|
+
onStateChange?: (state: CollaborationState$2) => void;
|
|
5577
5694
|
}
|
|
5578
5695
|
interface CollaborationController {
|
|
5579
5696
|
/** Connect and begin syncing. Stops any prior session first. */
|
|
5580
|
-
start(config: CollaborationInput): Promise<void>;
|
|
5697
|
+
start(config: CollaborationInput$1): Promise<void>;
|
|
5581
5698
|
/** Disconnect and tear the session down. */
|
|
5582
5699
|
stop(): void;
|
|
5583
5700
|
/** Whether a session is currently active. */
|
|
@@ -5586,8 +5703,10 @@ interface CollaborationController {
|
|
|
5586
5703
|
isReadOnly(): boolean;
|
|
5587
5704
|
/** Current connection status. */
|
|
5588
5705
|
getStatus(): ConnectionStatus$1;
|
|
5706
|
+
/** Why the session failed to start while the status is `error`; `null` otherwise. */
|
|
5707
|
+
getFailure(): CollaborationFailure$1 | null;
|
|
5589
5708
|
/** The shared `CollaborationState` (the off state when no session is active). */
|
|
5590
|
-
getState(): CollaborationState$
|
|
5709
|
+
getState(): CollaborationState$2;
|
|
5591
5710
|
/** Publish a cursor move (slide-space px); no-op when no session is active. */
|
|
5592
5711
|
setCursor(x: number, y: number, activeSlideIndex?: number): void;
|
|
5593
5712
|
/** Publish the local selection; no-op when no session is active. */
|
|
@@ -5704,6 +5823,8 @@ interface StateSyncDeps {
|
|
|
5704
5823
|
getChrome(): ViewerChrome;
|
|
5705
5824
|
renderer: RenderController;
|
|
5706
5825
|
callbacks: PptxViewerCallbacks;
|
|
5826
|
+
/** Whether the security bar for linked pictures and media shows in `state`. */
|
|
5827
|
+
externalContentBarInChrome(state: ViewerState): boolean;
|
|
5707
5828
|
}
|
|
5708
5829
|
/**
|
|
5709
5830
|
* Build the store listener that turns {@link ViewerState} transitions into
|
|
@@ -5730,6 +5851,9 @@ declare function buildViewerCss(): string;
|
|
|
5730
5851
|
declare function ensureViewerStyles(doc: Document): void;
|
|
5731
5852
|
/** The complete viewer stylesheet text (for hosts that self-manage CSS). */
|
|
5732
5853
|
export declare function getViewerCss(): string;
|
|
5854
|
+
declare namespace index_d_exports {
|
|
5855
|
+
export { AccessibilityPanel, AutosaveController, AutosaveRecord, AutosaveStatus, ButtonHandle, ChromeOptions$1 as ChromeOptions, CollaborationConfig, CollaborationController, CollaborationRole, CollaborationState$1 as CollaborationState, CollaborationTransport, ColorControlHandle, ConnectionStatus, ContextMenuAiHooks, ContextMenuCommandDeps, ContextMenuTableTarget, DEFAULT_RIBBON_TAB, DrawTool, DropdownHandle, DropdownItem, DropdownOptions, EditActions, ElementContextMenu, ElementContextMenuDeps, ExportCaptureDeps, ExportController, ExportControllerDeps, ExportGifOptions, ExportLifecycle, ExportLifecycleDeps, ExportPdfOptions, ExportProgress, ExportProgressModal, ExportProgressModalDeps, ExportProgressUi, ExportProgressUiDeps, ExportVideoDeps, ExportVideoOptions, FindReplaceActions, FindReplacePanel, IconName, Inspector, InspectorHandlers, InspectorState, KeyboardHandlers, LoadPresentationOptions, LoadedPresentation, MasterViewSidebar, MasterViewSidebarOptions, MobileActionSheets, MobileToolbar, MobileToolbarHandlers, NotesPanel, NotesPanelUpdate, NumberFieldHandle, OpenPrintWindow, PptxViewer, PptxViewerCallbacks, PptxViewerInstance, PptxViewerOptions, PptxViewerSource, PresentationContextMenu, PresentationContextMenuDeps, PresentationController, PresentationToolbar, PresentationToolbarHandlers, PresentationToolbarState, PresentationTouchControls, PrintOptions, ProtectedViewBanner, RIBBON_TABS, RasterizeSlide, RasterizeSlideController, RasterizeSlideDeps, RasterizeSlideToRaster, RasterizeSlideToTiles, RenderController, RenderControllerDeps, Ribbon, RibbonDesignHandlers, RibbonDrawHandlers, RibbonDrawState, RibbonEditState, RibbonFileHandlers, RibbonHandlers, RibbonInsertHandlers, RibbonNavHandlers, RibbonNavState, RibbonPrimaryHandlers, RibbonSelectionState, RibbonSlideShowHandlers, RibbonTabBar, RibbonTabDef, RibbonTabId, RulerSelection, RulerStrips, RulerStripsState, ShortcutPanel, SlideThumbnailOptions, SlidesPane, SlidesPaneLayoutGalleryRequest, SlidesPaneOptions, StateSyncDeps, Store, StoreListener, SvgExportOptions, ThumbnailRail, TouchGestureHandlers, TranslationMessages, Translator, ViewerChrome, ViewerExportApi, ViewerExportHost, ViewerState, ZoomLevel, applyThemeVars, attachKeyboardNavigation, attachTouchGestures, buildViewerChrome, buildViewerCss, clampSlideIndex, createAccessibilityPanel, createAutosaveController, createCollaborationController, createExportController, createExportLifecycle, createExportProgressModal, createExportProgressUi, createFindReplacePanel, createIcon, createInitialViewerState, createInspector, createMasterViewSidebar, createMobileActionSheets, createMobileToolbar, createNotesPanel, createPptxViewer, createPresentationController, createPresentationToolbar, createPresentationTouchControls, createProtectedViewBanner, createRasterizeSlide, createRenderController, createRibbon, createRibbonTabBar, createRulerStrips, createShortcutPanel, createSlidesPane, createStateSync, createStore, createThumbnailRail, createTranslator, ensureViewerStyles, exportAllSlidesToSvg, exportSlideToSvg, getViewerCss, isRibbonTab, loadPresentation, makeButton, makeColorControl, makeDropdown, makeNumberField, mountElementContextMenu, mountPresentationContextMenu, readTableCellTarget, renderSlideThumbnail, renderToCanvas, resolveSourceToBuffer, resolveTableTarget, revokeBlobUrls, runContextMenuCommand, runGifExport, runPrint, runVideoExport };
|
|
5856
|
+
}
|
|
5733
5857
|
/** Viewer options the building blocks decide themselves (they mount no chrome). */
|
|
5734
5858
|
type ChromeOptions = 'source' | 'editable' | 'readOnly' | 'showToolbar' | 'showThumbnails' | 'showFormatToolbar' | 'showInspector' | 'showCompatibilityToasts';
|
|
5735
5859
|
interface ViewerBuildingBlocksOptions extends Omit<PptxViewerOptions, ChromeOptions>, UseViewerBuildingBlocksActionsOptions {
|
|
@@ -5761,7 +5885,7 @@ interface ViewerBuildingBlocksState {
|
|
|
5761
5885
|
*/
|
|
5762
5886
|
shellState: CollaborationShellState$1;
|
|
5763
5887
|
/** The shared `CollaborationState` of the room the canvas is in (`COLLABORATION_OFF` when none). */
|
|
5764
|
-
collaborationState: CollaborationState$
|
|
5888
|
+
collaborationState: CollaborationState$2;
|
|
5765
5889
|
}
|
|
5766
5890
|
interface ViewerBuildingBlocks {
|
|
5767
5891
|
/** Host-owned workflows (pickers, dialogs, Find / Replace, layouts); see the vanilla docs. */
|
|
@@ -5769,6 +5893,15 @@ interface ViewerBuildingBlocks {
|
|
|
5769
5893
|
/** The current state; same value `getState()` returns. */
|
|
5770
5894
|
readonly state: ViewerBuildingBlocksState;
|
|
5771
5895
|
getState(): ViewerBuildingBlocksState;
|
|
5896
|
+
/**
|
|
5897
|
+
* PowerPoint's security bar for linked pictures and media: a deck that links them to the web
|
|
5898
|
+
* opens without downloading them. The canvas does not draw the bar; mount it with
|
|
5899
|
+
* {@link mountExternalContentBar}, or draw your own while `barVisible`, wiring Enable Content
|
|
5900
|
+
* and Close to `enable` and `close`. Enable Content only redraws: nothing reloads, and a
|
|
5901
|
+
* collaborator decides for themselves. Slides your shell draws itself (its own thumbnails)
|
|
5902
|
+
* go through `linkedContentView(slide, allowed)`. Read it again after `subscribe` fires.
|
|
5903
|
+
*/
|
|
5904
|
+
readonly externalContent: ViewerExternalContentBar;
|
|
5772
5905
|
/** The full viewer instance behind the canvas, for its imperative API; null until mounted. */
|
|
5773
5906
|
readonly viewer: PptxViewer | null;
|
|
5774
5907
|
/** Call `listener` after every change of state, actions or options; returns the unsubscribe. */
|
|
@@ -5783,12 +5916,32 @@ interface ViewerBuildingBlocks {
|
|
|
5783
5916
|
mountCanvas(host: HTMLElement): () => void;
|
|
5784
5917
|
/** Mount the compact toolbar; `include` picks groups. Returns its disposer. */
|
|
5785
5918
|
mountToolbar(host: HTMLElement, include?: readonly BuildingBlockToolbarGroupId$1[]): () => void;
|
|
5919
|
+
/**
|
|
5920
|
+
* Mount the security bar (`pptx-ui-external-content-bar`); it shows only while
|
|
5921
|
+
* `externalContent.barVisible`. Returns its disposer.
|
|
5922
|
+
*/
|
|
5923
|
+
mountExternalContentBar(host: HTMLElement): () => void;
|
|
5786
5924
|
/** Mount the slide thumbnail rail. Returns its disposer. */
|
|
5787
5925
|
mountSlidesPane(host: HTMLElement): () => void;
|
|
5788
5926
|
/** Dispose every mounted block and the viewer. */
|
|
5789
5927
|
destroy(): void;
|
|
5790
5928
|
}
|
|
5791
5929
|
export declare function createViewerBuildingBlocks(initial?: ViewerBuildingBlocksOptions): ViewerBuildingBlocks;
|
|
5930
|
+
/**
|
|
5931
|
+
* PowerPoint's security bar for linked pictures and media: "SECURITY WARNING
|
|
5932
|
+
* References to external pictures and other media have been blocked.
|
|
5933
|
+
* [Enable Content]". A thin adapter over the shared
|
|
5934
|
+
* `pptx-ui-external-content-bar`, which owns the markup and the strings.
|
|
5935
|
+
*
|
|
5936
|
+
* The bar is in the DOM only while it shows: `anchor` marks its place (after
|
|
5937
|
+
* the read-only banner), so a viewer without the bar has no trace of it.
|
|
5938
|
+
*/
|
|
5939
|
+
interface ExternalContentBar {
|
|
5940
|
+
/** Where the bar goes when shown; the chrome appends it in the banner row. */
|
|
5941
|
+
anchor: Comment;
|
|
5942
|
+
update(visible: boolean): void;
|
|
5943
|
+
}
|
|
5944
|
+
export declare function createExternalContentBar(doc: Document, t: Translator, onEnable: () => void, onClose: () => void): ExternalContentBar;
|
|
5792
5945
|
type CssStyleMap = index_d_exports$1.CssStyleMap;
|
|
5793
5946
|
type ElementRenderContext = index_d_exports$1.ElementRenderContext;
|
|
5794
5947
|
type ElementRenderer = index_d_exports$1.ElementRenderer;
|
|
@@ -5802,5 +5955,5 @@ type createElementRendererRegistry = index_d_exports$1.createElementRendererRegi
|
|
|
5802
5955
|
type createSvgEl = index_d_exports$1.createSvgEl;
|
|
5803
5956
|
type disposePptxRenderStage = index_d_exports$1.disposePptxRenderStage;
|
|
5804
5957
|
type renderSlideStage = index_d_exports$1.renderSlideStage;
|
|
5805
|
-
export { type AccountAuthConfig, type AutosaveRecord, type AutosaveStatus, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, type BackstageCustomization, type BuildingBlockFailureCode, type BuildingBlockRequest, type BuildingBlockResult, type BuildingBlockToolbarGroupId, CANVAS_CONTEXT_MENU_COMMAND_IDS, type CollabLoadOrigin, type CollaborationConfig, type CollaborationController, type CollaborationControllerDeps, type CollaborationCursors, type CollaborationLivePatcher, type CollaborationRole, type CollaborationShell, type CollaborationShellOptions, type CollaborationShellState, type CollaborationState, type CollaborationTransport, type ConnectionStatus, type ContextMenuCustomization, type CssStyleMap, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, type EditActions, type ElementRenderContext, type ElementRenderErrorContext, type ElementRenderErrorHandler, type ElementRenderer, type ElementRendererRegistry, type ElementUpdate, type ElementUpdateOptions, type ExportGifOptions, type ExportPdfOptions, type ExportProgress, type ExportVideoOptions, type ExternalCollaborationAwareness, type ExternalCollaborationSession, type ExternalCollaborationSnapshot, type FindReplaceActions, type HostCanvasMenuContext, type HostElementMenuContext, type HostMenuCommand, type HyperlinkEditData, type InlineEditorSession, type InlineListReadResult, type InlineTextEditSnapshot, type InlineTextSelection, type KeyboardCustomization, type ListConversionScope, type LoadPresentationOptions, type LoadedPresentation, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, type OpenInlineEditorOptions, type OpenPrintWindow, type OptionsCustomization, type OptionsPageId, type OptionsSectionId, type OptionsSettingId, type OptionsSettingValues, type OverlayBox, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, type PptxAiAssistant, type PptxAiBridge, type PptxAiConfig, type PptxAiConnection, type PptxAiContextStrategy, type PptxAiToolName, type PptxAiWritePolicy, type PptxElement, type PptxElementType, type PptxHandler, type PptxHandlerSaveOptions, type PptxSlide, type PptxViewerCallbacks, type PptxViewerInstance, type PptxViewerOptions, type PptxViewerSource, type PrintOptions, RIBBON_TAB_IDS, type RemoteCursor, type RemoteSelectionOverlay, type ResolvedCustomization, type Ribbon, type RibbonCustomization, type RibbonDesignHandlers, type RibbonDrawHandlers, type RibbonDrawState, type RibbonEditState, type RibbonFileHandlers, type RibbonHandlers, type RibbonInsertHandlers, type RibbonNavHandlers, type RibbonNavState, type RibbonPrimaryHandlers, type RibbonSelectionState, type RibbonSlideShowHandlers, type RibbonTabId, type SanitizedPresence, type SavedPresentationFormat, type SessionDeck, type ShortcutChord, type SlideStageOptions, type SlideThumbnailOptions, type SlidesPane, type SlidesPaneBulkSlideOps, type SlidesPaneLayoutGalleryRequest, type SlidesPaneOptions, type SlidesPaneSingleSlideOps, type Store, type SvgExportOptions, TOOLBAR_BUTTON_IDS, type ToolbarActionId, type TranslationKey, type TranslationMessages, type Translator, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, type ViewerBuildingBlockActions, type ViewerBuildingBlocks, type ViewerBuildingBlocksOptions, type ViewerBuildingBlocksState, type ViewerCustomization, type ViewerCustomizationApi, type ViewerDialogId, type ViewerExportFormatId, type ViewerFeatureId, type ViewerPanelId, type ViewerState, type ViewerTheme, type ViewerThemeColors, type ViewportFitOptions, type ViewportFitPadding, type ZoomLevel, applyStyleMap, buildInlineTextCommitPatch, canInteractWithElement, createDefaultRegistry, createEl, createElementRendererRegistry, createImageElementFromFile, createSlidesPaneBulkSlideOps, createSvgEl, createTranslator, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, disposePptxRenderStage, forgetSessionDeck, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, keyToLabel, loadPresentation, loadPresentationDeck, loadSessionDeck, overlayInlineTextSnapshot, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, renderSlideStage, restoreSessionDeck, revokeBlobUrls, savedPresentationFileName, themeToCssVars, translationsEn, vermilionDarkTheme, vermilionLightTheme };
|
|
5958
|
+
export { type AccountAuthConfig, type AutosaveRecord, type AutosaveStatus, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, type BackstageCustomization, type BuildingBlockFailureCode, type BuildingBlockRequest, type BuildingBlockResult, type BuildingBlockToolbarGroupId, CANVAS_CONTEXT_MENU_COMMAND_IDS, type CollabLoadOrigin, type CollaborationConfig, type CollaborationController, type CollaborationControllerDeps, type CollaborationCursors, type CollaborationFailure, type CollaborationLivePatcher, type CollaborationRole, type CollaborationShell, type CollaborationShellOptions, type CollaborationShellState, type CollaborationState, type CollaborationTransport, type ConnectionStatus, type ContextMenuCustomization, type CssStyleMap, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, type EditActions, type ElementRenderContext, type ElementRenderErrorContext, type ElementRenderErrorHandler, type ElementRenderer, type ElementRendererRegistry, type ElementUpdate, type ElementUpdateOptions, type ExportGifOptions, type ExportPdfOptions, type ExportProgress, type ExportVideoOptions, type ExternalCollaborationAwareness, type ExternalCollaborationSession, type ExternalCollaborationSnapshot, type ExternalContentBar, type ExternalContentView, type ExternalContentViewInput, type FindReplaceActions, type HostCanvasMenuContext, type HostElementMenuContext, type HostMenuCommand, type HyperlinkEditData, type InlineEditorSession, type InlineListReadResult, type InlineTextEditSnapshot, type InlineTextSelection, type KeyboardCustomization, type ListConversionScope, type LoadPresentationOptions, type LoadedPresentation, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, type OpenInlineEditorOptions, type OpenPrintWindow, type OptionsCustomization, type OptionsPageId, type OptionsSectionId, type OptionsSettingId, type OptionsSettingValues, type OverlayBox, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, type PptxAiAssistant, type PptxAiBridge, type PptxAiConfig, type PptxAiConnection, type PptxAiContextStrategy, type PptxAiToolName, type PptxAiWritePolicy, type PptxElement, type PptxElementType, type PptxHandler, type PptxHandlerSaveOptions, type PptxSlide, type PptxViewerCallbacks, type PptxViewerInstance, type PptxViewerOptions, type PptxViewerSource, type PrintOptions, RIBBON_TAB_IDS, type RemoteCursor, type RemoteSelectionOverlay, type ResolvedCustomization, type Ribbon, type RibbonCustomization, type RibbonDesignHandlers, type RibbonDrawHandlers, type RibbonDrawState, type RibbonEditState, type RibbonFileHandlers, type RibbonHandlers, type RibbonInsertHandlers, type RibbonNavHandlers, type RibbonNavState, type RibbonPrimaryHandlers, type RibbonSelectionState, type RibbonSlideShowHandlers, type RibbonTabId, type SanitizedPresence, type SavedPresentationFormat, type SessionDeck, type ShortcutChord, type SlideStageOptions, type SlideThumbnailOptions, type SlidesPane, type SlidesPaneBulkSlideOps, type SlidesPaneLayoutGalleryRequest, type SlidesPaneOptions, type SlidesPaneSingleSlideOps, type Store, type SvgExportOptions, TOOLBAR_BUTTON_IDS, type ToolbarActionId, type TranslationKey, type TranslationMessages, type Translator, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, type ViewerBuildingBlockActions, type ViewerBuildingBlocks, type ViewerBuildingBlocksOptions, type ViewerBuildingBlocksState, type ViewerCustomization, type ViewerCustomizationApi, type ViewerDialogId, type ViewerExportFormatId, type ViewerFeatureId, type ViewerPanelId, type ViewerState, type ViewerTheme, type ViewerThemeColors, type ViewportFitOptions, type ViewportFitPadding, type ZoomLevel, applyStyleMap, buildInlineTextCommitPatch, canInteractWithElement, collaborationFailureMessageKey, createDefaultRegistry, createEl, createElementRendererRegistry, createImageElementFromFile, createSlidesPaneBulkSlideOps, createSvgEl, createTranslator, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, disposePptxRenderStage, forgetSessionDeck, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, keyToLabel, linkedContentView, loadPresentation, loadPresentationDeck, loadSessionDeck, overlayInlineTextSnapshot, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, renderSlideStage, resolveExternalContentView, restoreSessionDeck, revokeBlobUrls, savedPresentationFileName, themeToCssVars, translationsEn, vermilionDarkTheme, vermilionLightTheme };
|
|
5806
5959
|
//# sourceMappingURL=index.d.ts.map
|