pptx-react-viewer 4.5.0 → 4.6.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 +44 -0
- package/README.md +34 -33
- package/dist/{AiChatPanel-P2N6X2KB.js → AiChatPanel-3C7GM6ZF.js} +28 -28
- package/dist/AiChatPanel-3C7GM6ZF.js.br +0 -0
- package/dist/AiChatPanel-3C7GM6ZF.js.gz +0 -0
- package/dist/{AiChatPanel-HXGCZPUX.mjs → AiChatPanel-L7DBCWE3.mjs} +4 -4
- package/dist/AiChatPanel-L7DBCWE3.mjs.br +0 -0
- package/dist/AiChatPanel-L7DBCWE3.mjs.gz +0 -0
- package/dist/{Model3DScene-QXMMJRV3.mjs → Model3DScene-IJ7YYTYU.mjs} +1 -1
- package/dist/Model3DScene-IJ7YYTYU.mjs.br +0 -0
- package/dist/Model3DScene-IJ7YYTYU.mjs.gz +0 -0
- package/dist/{Model3DScene-PIFMH2TU.js → Model3DScene-USKNPWWH.js} +2 -2
- package/dist/Model3DScene-USKNPWWH.js.br +0 -0
- package/dist/Model3DScene-USKNPWWH.js.gz +0 -0
- package/dist/{chunk-UMQV2432.js → chunk-3JUZOKFI.js} +1 -0
- package/dist/chunk-3JUZOKFI.js.br +0 -0
- package/dist/{chunk-UMQV2432.js.gz → chunk-3JUZOKFI.js.gz} +0 -0
- package/dist/{chunk-T35BGKZG.js → chunk-5V5SMT5A.js} +5 -5
- package/dist/chunk-5V5SMT5A.js.br +0 -0
- package/dist/chunk-5V5SMT5A.js.gz +0 -0
- package/dist/{chunk-UZFCFYK6.js → chunk-DFSWCVRW.js} +1278 -1129
- package/dist/chunk-DFSWCVRW.js.br +0 -0
- package/dist/chunk-DFSWCVRW.js.gz +0 -0
- package/dist/{chunk-LYZQLV7R.js → chunk-FZSYLXJT.js} +783 -38
- package/dist/chunk-FZSYLXJT.js.br +0 -0
- package/dist/chunk-FZSYLXJT.js.gz +0 -0
- package/dist/{chunk-Y4VRYQQS.js → chunk-IBHIXBC5.js} +865 -844
- package/dist/chunk-IBHIXBC5.js.br +0 -0
- package/dist/chunk-IBHIXBC5.js.gz +0 -0
- package/dist/{chunk-VZNIVS3X.mjs → chunk-ICEZL4TM.mjs} +755 -38
- package/dist/chunk-ICEZL4TM.mjs.br +0 -0
- package/dist/chunk-ICEZL4TM.mjs.gz +0 -0
- package/dist/{chunk-PRXJ3J5W.mjs → chunk-INX3E37P.mjs} +53 -32
- package/dist/chunk-INX3E37P.mjs.br +0 -0
- package/dist/chunk-INX3E37P.mjs.gz +0 -0
- package/dist/{chunk-ZF5S3HHW.mjs → chunk-K6QHGABT.mjs} +2 -2
- package/dist/chunk-K6QHGABT.mjs.br +0 -0
- package/dist/chunk-K6QHGABT.mjs.gz +0 -0
- package/dist/{chunk-APAVAD2A.mjs → chunk-OOO4JL2N.mjs} +1 -0
- package/dist/chunk-OOO4JL2N.mjs.br +0 -0
- package/dist/{chunk-APAVAD2A.mjs.gz → chunk-OOO4JL2N.mjs.gz} +0 -0
- package/dist/{chunk-DX2JCSQ4.mjs → chunk-VCAQSSGD.mjs} +1 -1
- package/dist/chunk-VCAQSSGD.mjs.br +0 -0
- package/dist/chunk-VCAQSSGD.mjs.gz +0 -0
- package/dist/{chunk-6FVYG27J.js → chunk-Y4QUVWZC.js} +188 -188
- package/dist/chunk-Y4QUVWZC.js.br +0 -0
- package/dist/chunk-Y4QUVWZC.js.gz +0 -0
- package/dist/{chunk-IDV2ITXM.mjs → chunk-ZAQFTO4P.mjs} +220 -71
- package/dist/chunk-ZAQFTO4P.mjs.br +0 -0
- package/dist/chunk-ZAQFTO4P.mjs.gz +0 -0
- package/dist/i18n/de.cjs +1 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +1 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +1 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +1 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +1 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +1 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +1 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +1 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +266 -3
- package/dist/index.js +105 -49
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +273 -2
- package/dist/internals.js +105 -105
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.d.ts +368 -1
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +3 -4
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-HXGCZPUX.mjs.br +0 -0
- package/dist/AiChatPanel-HXGCZPUX.mjs.gz +0 -0
- package/dist/AiChatPanel-P2N6X2KB.js.br +0 -0
- package/dist/AiChatPanel-P2N6X2KB.js.gz +0 -0
- package/dist/Model3DScene-PIFMH2TU.js.br +0 -0
- package/dist/Model3DScene-PIFMH2TU.js.gz +0 -0
- package/dist/Model3DScene-QXMMJRV3.mjs.br +0 -0
- package/dist/Model3DScene-QXMMJRV3.mjs.gz +0 -0
- package/dist/chunk-6FVYG27J.js.br +0 -0
- package/dist/chunk-6FVYG27J.js.gz +0 -0
- package/dist/chunk-APAVAD2A.mjs.br +0 -0
- package/dist/chunk-DX2JCSQ4.mjs.br +0 -0
- package/dist/chunk-DX2JCSQ4.mjs.gz +0 -0
- package/dist/chunk-IDV2ITXM.mjs.br +0 -0
- package/dist/chunk-IDV2ITXM.mjs.gz +0 -0
- package/dist/chunk-LYZQLV7R.js.br +0 -0
- package/dist/chunk-LYZQLV7R.js.gz +0 -0
- package/dist/chunk-PRXJ3J5W.mjs.br +0 -0
- package/dist/chunk-PRXJ3J5W.mjs.gz +0 -0
- package/dist/chunk-T35BGKZG.js.br +0 -0
- package/dist/chunk-T35BGKZG.js.gz +0 -0
- package/dist/chunk-UMQV2432.js.br +0 -0
- package/dist/chunk-UZFCFYK6.js.br +0 -0
- package/dist/chunk-UZFCFYK6.js.gz +0 -0
- package/dist/chunk-VZNIVS3X.mjs.br +0 -0
- package/dist/chunk-VZNIVS3X.mjs.gz +0 -0
- package/dist/chunk-Y4VRYQQS.js.br +0 -0
- package/dist/chunk-Y4VRYQQS.js.gz +0 -0
- package/dist/chunk-ZF5S3HHW.mjs.br +0 -0
- package/dist/chunk-ZF5S3HHW.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/i18n/de.cjs
CHANGED
|
@@ -3608,6 +3608,7 @@ var translations21 = {
|
|
|
3608
3608
|
"pptx.options.screenTipStyle.off": "QuickInfos nicht anzeigen",
|
|
3609
3609
|
"pptx.options.general.personalize": "Ihre Kopie des Viewers personalisieren",
|
|
3610
3610
|
"pptx.options.general.userName": "Benutzername",
|
|
3611
|
+
"pptx.options.lockedByHost": "Diese Einstellung wird von Ihrer Organisation verwaltet",
|
|
3611
3612
|
"pptx.options.general.userInitials": "Initialen",
|
|
3612
3613
|
"pptx.options.general.appearance": "Viewer-Design",
|
|
3613
3614
|
"pptx.options.general.fonts": "Schriftarten",
|
package/dist/i18n/de.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs
CHANGED
|
@@ -3582,6 +3582,7 @@ var translations21 = {
|
|
|
3582
3582
|
"pptx.options.screenTipStyle.off": "QuickInfos nicht anzeigen",
|
|
3583
3583
|
"pptx.options.general.personalize": "Ihre Kopie des Viewers personalisieren",
|
|
3584
3584
|
"pptx.options.general.userName": "Benutzername",
|
|
3585
|
+
"pptx.options.lockedByHost": "Diese Einstellung wird von Ihrer Organisation verwaltet",
|
|
3585
3586
|
"pptx.options.general.userInitials": "Initialen",
|
|
3586
3587
|
"pptx.options.general.appearance": "Viewer-Design",
|
|
3587
3588
|
"pptx.options.general.fonts": "Schriftarten",
|
package/dist/i18n/de.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs
CHANGED
|
@@ -3608,6 +3608,7 @@ var translations21 = {
|
|
|
3608
3608
|
"pptx.options.screenTipStyle.off": "No mostrar informaci\xF3n en pantalla",
|
|
3609
3609
|
"pptx.options.general.personalize": "Personalizar la copia del visor",
|
|
3610
3610
|
"pptx.options.general.userName": "Nombre de usuario",
|
|
3611
|
+
"pptx.options.lockedByHost": "Esta configuraci\xF3n la administra su organizaci\xF3n",
|
|
3611
3612
|
"pptx.options.general.userInitials": "Iniciales",
|
|
3612
3613
|
"pptx.options.general.appearance": "Tema del visor",
|
|
3613
3614
|
"pptx.options.general.fonts": "Fuentes",
|
package/dist/i18n/es.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs
CHANGED
|
@@ -3582,6 +3582,7 @@ var translations21 = {
|
|
|
3582
3582
|
"pptx.options.screenTipStyle.off": "No mostrar informaci\xF3n en pantalla",
|
|
3583
3583
|
"pptx.options.general.personalize": "Personalizar la copia del visor",
|
|
3584
3584
|
"pptx.options.general.userName": "Nombre de usuario",
|
|
3585
|
+
"pptx.options.lockedByHost": "Esta configuraci\xF3n la administra su organizaci\xF3n",
|
|
3585
3586
|
"pptx.options.general.userInitials": "Iniciales",
|
|
3586
3587
|
"pptx.options.general.appearance": "Tema del visor",
|
|
3587
3588
|
"pptx.options.general.fonts": "Fuentes",
|
package/dist/i18n/es.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs
CHANGED
|
@@ -3608,6 +3608,7 @@ var translations21 = {
|
|
|
3608
3608
|
"pptx.options.screenTipStyle.off": "Ne pas afficher les info-bulles",
|
|
3609
3609
|
"pptx.options.general.personalize": "Personnaliser votre copie de la visionneuse",
|
|
3610
3610
|
"pptx.options.general.userName": "Nom d'utilisateur",
|
|
3611
|
+
"pptx.options.lockedByHost": "Ce param\xE8tre est g\xE9r\xE9 par votre organisation",
|
|
3611
3612
|
"pptx.options.general.userInitials": "Initiales",
|
|
3612
3613
|
"pptx.options.general.appearance": "Th\xE8me de la visionneuse",
|
|
3613
3614
|
"pptx.options.general.fonts": "Polices",
|
package/dist/i18n/fr.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.mjs
CHANGED
|
@@ -3582,6 +3582,7 @@ var translations21 = {
|
|
|
3582
3582
|
"pptx.options.screenTipStyle.off": "Ne pas afficher les info-bulles",
|
|
3583
3583
|
"pptx.options.general.personalize": "Personnaliser votre copie de la visionneuse",
|
|
3584
3584
|
"pptx.options.general.userName": "Nom d'utilisateur",
|
|
3585
|
+
"pptx.options.lockedByHost": "Ce param\xE8tre est g\xE9r\xE9 par votre organisation",
|
|
3585
3586
|
"pptx.options.general.userInitials": "Initiales",
|
|
3586
3587
|
"pptx.options.general.appearance": "Th\xE8me de la visionneuse",
|
|
3587
3588
|
"pptx.options.general.fonts": "Polices",
|
package/dist/i18n/fr.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/fr.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.cjs
CHANGED
|
@@ -3633,6 +3633,7 @@ var translations29 = {
|
|
|
3633
3633
|
"pptx.options.screenTipStyle.off": "\u4E0D\u663E\u793A\u5C4F\u5E55\u63D0\u793A",
|
|
3634
3634
|
"pptx.options.general.personalize": "\u4E2A\u6027\u5316\u60A8\u7684\u67E5\u770B\u5668\u526F\u672C",
|
|
3635
3635
|
"pptx.options.general.userName": "\u7528\u6237\u540D",
|
|
3636
|
+
"pptx.options.lockedByHost": "\u6B64\u8BBE\u7F6E\u7531\u4F60\u7684\u7EC4\u7EC7\u7BA1\u7406",
|
|
3636
3637
|
"pptx.options.general.userInitials": "\u7F29\u5199",
|
|
3637
3638
|
"pptx.options.general.appearance": "\u67E5\u770B\u5668\u4E3B\u9898",
|
|
3638
3639
|
"pptx.options.general.fonts": "\u5B57\u4F53",
|
package/dist/i18n/zh-CN.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.mjs
CHANGED
|
@@ -3607,6 +3607,7 @@ var translations29 = {
|
|
|
3607
3607
|
"pptx.options.screenTipStyle.off": "\u4E0D\u663E\u793A\u5C4F\u5E55\u63D0\u793A",
|
|
3608
3608
|
"pptx.options.general.personalize": "\u4E2A\u6027\u5316\u60A8\u7684\u67E5\u770B\u5668\u526F\u672C",
|
|
3609
3609
|
"pptx.options.general.userName": "\u7528\u6237\u540D",
|
|
3610
|
+
"pptx.options.lockedByHost": "\u6B64\u8BBE\u7F6E\u7531\u4F60\u7684\u7EC4\u7EC7\u7BA1\u7406",
|
|
3610
3611
|
"pptx.options.general.userInitials": "\u7F29\u5199",
|
|
3611
3612
|
"pptx.options.general.appearance": "\u67E5\u770B\u5668\u4E3B\u9898",
|
|
3612
3613
|
"pptx.options.general.fonts": "\u5B57\u4F53",
|
package/dist/i18n/zh-CN.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3JUZOKFI_js = require('./chunk-3JUZOKFI.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk3JUZOKFI_js.LOCALE_CATALOG; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "keyToLabel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk3JUZOKFI_js.keyToLabel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "translationsEn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk3JUZOKFI_js.translationsEn; }
|
|
19
19
|
});
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/i18n.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-
|
|
1
|
+
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-OOO4JL2N.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/i18n.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n.mjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -13193,6 +13193,27 @@ declare function presentationBaseName(sourceName: string | null | undefined, fal
|
|
|
13193
13193
|
* bytes either way.
|
|
13194
13194
|
*/
|
|
13195
13195
|
declare function savedPresentationFileName(sourceName: string | null | undefined, format?: SavedPresentationFormat): string;
|
|
13196
|
+
/** A logical editor command produced by one key press. */
|
|
13197
|
+
type EditorKeyActionName = 'undo' | 'redo' | 'copy' | 'cut' | 'paste' | 'duplicate' | 'delete' | 'selectAll' | 'group' | 'ungroup' | 'nudge' | 'prevSlide' | 'nextSlide' | 'escape' | 'find' | 'findReplace' | 'toggleShortcuts' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'increaseFontSize' | 'decreaseFontSize' | 'copyFormat' | 'pasteFormat' | 'newSlide' | 'hyperlink' | 'clearFormatting' | 'cycleSelectionNext' | 'cycleSelectionPrev' | 'pasteSpecial';
|
|
13198
|
+
/** Every command a canvas context menu can offer, in no particular order. */
|
|
13199
|
+
type ContextMenuCommandId = 'copy' | 'cut' | 'paste' | 'duplicate' | 'edit-text' | 'bring-forward' | 'send-backward' | 'bring-front' | 'send-back' | 'ai-ask' | 'ai-fix' | 'comment' | 'hyperlink' | 'table-insert-row-above' | 'table-insert-row-below' | 'table-delete-row' | 'table-insert-col-left' | 'table-insert-col-right' | 'table-delete-col' | 'table-merge-selected' | 'table-merge-right' | 'table-merge-down' | 'table-split' | 'group' | 'ungroup' | 'save-as-picture' | 'edit-alt-text' | 'size-and-position' | 'format-shape' | 'delete';
|
|
13200
|
+
//#endregion
|
|
13201
|
+
//#region src/render/canvas-context-menu-commands.d.ts
|
|
13202
|
+
/**
|
|
13203
|
+
* The right-click menu for the empty slide canvas (no element under the
|
|
13204
|
+
* cursor), as distinct from {@link ./context-menu-commands}'s per-element menu.
|
|
13205
|
+
*
|
|
13206
|
+
* Right-clicking empty canvas used to do nothing at all in every binding: React
|
|
13207
|
+
* and Vue both bailed out early (`getElementIdFromEvent` returns `null`, so the
|
|
13208
|
+
* handler just returns) rather than opening a menu, and the other three never
|
|
13209
|
+
* wired a handler for it either. PowerPoint offers Paste, Layout, Reset,
|
|
13210
|
+
* Format Background and view toggles (Grid and Guides, Ruler) from this menu;
|
|
13211
|
+
* this module is the one list every binding renders instead of five omissions.
|
|
13212
|
+
*
|
|
13213
|
+
* @module render/canvas-context-menu-commands
|
|
13214
|
+
*/
|
|
13215
|
+
/** Every command the empty-canvas context menu can offer, in no particular order. */
|
|
13216
|
+
type CanvasContextMenuCommandId = 'paste' | 'layout' | 'reset-slide' | 'format-background' | 'grid-and-guides' | 'ruler';
|
|
13196
13217
|
//#endregion
|
|
13197
13218
|
//#region src/render/insert-chart.d.ts
|
|
13198
13219
|
/**
|
|
@@ -13258,6 +13279,21 @@ interface ZoomNavigationTarget {
|
|
|
13258
13279
|
returnToParent: boolean;
|
|
13259
13280
|
transitionDurationMs?: number;
|
|
13260
13281
|
}
|
|
13282
|
+
type BackstagePage = 'home' | 'new' | 'open' | 'info' | 'save' | 'saveAs' | 'print' | 'share' | 'export' | 'close' | 'account' | 'options';
|
|
13283
|
+
//#endregion
|
|
13284
|
+
//#region src/render/backstage-cards.d.ts
|
|
13285
|
+
/**
|
|
13286
|
+
* Every action card the File-tab backstage can show, keyed by the operation it
|
|
13287
|
+
* triggers rather than by its wording.
|
|
13288
|
+
*
|
|
13289
|
+
* The five bindings used to hardcode a title and a body string each, which made
|
|
13290
|
+
* the whole backstage untranslatable and let the copy drift: the same card
|
|
13291
|
+
* carried four different descriptions depending on which binding you opened it
|
|
13292
|
+
* in. Both halves now live here as a dictionary key plus an English fallback,
|
|
13293
|
+
* so a wording change lands everywhere at once and a translator only has to
|
|
13294
|
+
* translate it once.
|
|
13295
|
+
*/
|
|
13296
|
+
type BackstageCardId = 'protect' | 'inspect' | 'embedFonts' | 'signatures' | 'versionHistory' | 'saveAsPptx' | 'saveAsPpsx' | 'saveAsPptm' | 'saveAsPpt' | 'pdf' | 'png' | 'video' | 'gif' | 'json' | 'copyImage' | 'print' | 'share';
|
|
13261
13297
|
//#endregion
|
|
13262
13298
|
//#region src/render/account.d.ts
|
|
13263
13299
|
/** Local-only display profile shown in File > Account. Never sent anywhere; purely cosmetic. */
|
|
@@ -13488,6 +13524,7 @@ interface ViewerOptions {
|
|
|
13488
13524
|
trust: ViewerTrustOptions;
|
|
13489
13525
|
}
|
|
13490
13526
|
type ViewerOptionsGroupId = keyof ViewerOptions;
|
|
13527
|
+
type ViewerOptionPrimitive = boolean | number | string;
|
|
13491
13528
|
type StoredViewerOptions = { [G in ViewerOptionsGroupId]?: Partial<ViewerOptions[G]>; };
|
|
13492
13529
|
//#endregion
|
|
13493
13530
|
//#region src/render/viewer-prefs-storage.d.ts
|
|
@@ -13519,6 +13556,226 @@ declare function writeStoredViewerPrefs(patch: Partial<StoredViewerPrefs>): void
|
|
|
13519
13556
|
/** Remove all persisted viewer preferences. Silently no-ops when storage is unavailable. */
|
|
13520
13557
|
declare function clearStoredViewerPrefs(): void;
|
|
13521
13558
|
//#endregion
|
|
13559
|
+
//#region src/render/options/viewer-options-controls.d.ts
|
|
13560
|
+
/**
|
|
13561
|
+
* Control/section/tab descriptor types for the File > Options schema, plus
|
|
13562
|
+
* the terse constructors the tab-definition modules build panes with.
|
|
13563
|
+
*/
|
|
13564
|
+
type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
|
|
13565
|
+
//#endregion
|
|
13566
|
+
//#region src/render/customization/customization-types.d.ts
|
|
13567
|
+
/** Keys of an options group whose value is a primitive (not an array). */
|
|
13568
|
+
type PrimitiveKeys<T> = { [K in keyof T]: T[K] extends ViewerOptionPrimitive ? K : never; }[keyof T] & string;
|
|
13569
|
+
/**
|
|
13570
|
+
* One File > Options setting, addressed as `<group>.<key>`, for example
|
|
13571
|
+
* `general.userName` or `advanced.showGrid`. The union is derived from the
|
|
13572
|
+
* `ViewerOptions` model itself, so a typo is a compile error.
|
|
13573
|
+
*/
|
|
13574
|
+
type OptionsSettingId = { [G in ViewerOptionsGroupId]: `${G}.${PrimitiveKeys<ViewerOptions[G]>}`; }[ViewerOptionsGroupId];
|
|
13575
|
+
/**
|
|
13576
|
+
* A File > Options page: the ten PowerPoint categories plus `ai`, the AI
|
|
13577
|
+
* assistant page a binding adds when the host configured an assistant.
|
|
13578
|
+
*/
|
|
13579
|
+
type OptionsPageId = ViewerOptionsTabId | 'ai';
|
|
13580
|
+
/**
|
|
13581
|
+
* One section of an Options page, addressed as `<page>.<section>`, for
|
|
13582
|
+
* example `general.personalize` or `advanced.print`. The full list is
|
|
13583
|
+
* `OPTIONS_SECTION_IDS` (derived from the schema at runtime).
|
|
13584
|
+
*/
|
|
13585
|
+
type OptionsSectionId = `${ViewerOptionsTabId}.${string}`;
|
|
13586
|
+
/** Values a host forces onto settings. */
|
|
13587
|
+
type OptionsSettingValues = Partial<Record<OptionsSettingId, ViewerOptionPrimitive>>;
|
|
13588
|
+
/** Ribbon and toolbar customisation. */
|
|
13589
|
+
interface RibbonCustomization {
|
|
13590
|
+
/** Ribbon tabs to remove (the File tab included, unlike Customize Ribbon). */
|
|
13591
|
+
hiddenTabs?: readonly ToolbarTabId[];
|
|
13592
|
+
/** Top-level toolbar buttons / control clusters to remove. */
|
|
13593
|
+
hiddenButtons?: readonly ToolbarButtonId[];
|
|
13594
|
+
}
|
|
13595
|
+
/** File > Options (the Settings dialog) customisation. */
|
|
13596
|
+
interface OptionsCustomization {
|
|
13597
|
+
/** Whole pages to remove from the dialog's category rail. */
|
|
13598
|
+
hiddenPages?: readonly OptionsPageId[];
|
|
13599
|
+
/** Sections (`<page>.<section>`) to remove from their page. */
|
|
13600
|
+
hiddenSections?: readonly OptionsSectionId[];
|
|
13601
|
+
/** Individual settings (`<group>.<key>`) to remove wherever they appear. */
|
|
13602
|
+
hiddenSettings?: readonly OptionsSettingId[];
|
|
13603
|
+
/**
|
|
13604
|
+
* Settings pinned to a fixed value. The value is forced into the options
|
|
13605
|
+
* store, user edits to it are ignored, and the control renders read-only.
|
|
13606
|
+
* Add the id to `hiddenSettings` too to lock it invisibly.
|
|
13607
|
+
*/
|
|
13608
|
+
locked?: OptionsSettingValues;
|
|
13609
|
+
/**
|
|
13610
|
+
* Host defaults: the value a setting starts at when the user has not saved
|
|
13611
|
+
* a choice of their own. "Reset" returns to these, not to the built-ins.
|
|
13612
|
+
*/
|
|
13613
|
+
defaults?: OptionsSettingValues;
|
|
13614
|
+
}
|
|
13615
|
+
/** File tab (backstage) customisation. */
|
|
13616
|
+
interface BackstageCustomization {
|
|
13617
|
+
/** Navigation entries (pages) to remove from the File tab. */
|
|
13618
|
+
hiddenPages?: readonly BackstagePage[];
|
|
13619
|
+
/** Action cards to remove from the pages that show them. */
|
|
13620
|
+
hiddenCards?: readonly BackstageCardId[];
|
|
13621
|
+
}
|
|
13622
|
+
/** Right-click menu customisation. */
|
|
13623
|
+
interface ContextMenuCustomization {
|
|
13624
|
+
/** Entries to remove from the element (right-click on a shape) menu. */
|
|
13625
|
+
hiddenElementCommands?: readonly ContextMenuCommandId[];
|
|
13626
|
+
/** Entries to remove from the empty-canvas menu. */
|
|
13627
|
+
hiddenCanvasCommands?: readonly CanvasContextMenuCommandId[];
|
|
13628
|
+
/** Remove the element context menu entirely. */
|
|
13629
|
+
disableElementMenu?: boolean;
|
|
13630
|
+
/** Remove the empty-canvas context menu entirely. */
|
|
13631
|
+
disableCanvasMenu?: boolean;
|
|
13632
|
+
}
|
|
13633
|
+
/**
|
|
13634
|
+
* A shortcut chord in the form `Mod+Shift+D`: modifiers `Mod` (Ctrl on
|
|
13635
|
+
* Windows/Linux, Cmd on macOS), `Ctrl`, `Meta`, `Alt`, `Shift`, joined by `+`,
|
|
13636
|
+
* followed by a `KeyboardEvent.key` value (`D`, `Delete`, `ArrowLeft`, `F2`).
|
|
13637
|
+
*/
|
|
13638
|
+
type ShortcutChord = string;
|
|
13639
|
+
/** Editor keyboard-shortcut customisation. */
|
|
13640
|
+
interface KeyboardCustomization {
|
|
13641
|
+
/** Turn every editor shortcut off (the host owns the keyboard). */
|
|
13642
|
+
disableAll?: boolean;
|
|
13643
|
+
/** Editor commands whose shortcut is turned off. */
|
|
13644
|
+
disabled?: readonly EditorKeyActionName[];
|
|
13645
|
+
/**
|
|
13646
|
+
* Replacement chords per command. A remapped command no longer answers to
|
|
13647
|
+
* its built-in chord; it answers to the chord(s) given here instead.
|
|
13648
|
+
*/
|
|
13649
|
+
remap?: Partial<Record<EditorKeyActionName, ShortcutChord | readonly ShortcutChord[]>>;
|
|
13650
|
+
}
|
|
13651
|
+
/**
|
|
13652
|
+
* Chrome regions a host can remove. Each id maps onto one region in every
|
|
13653
|
+
* binding; see `VIEWER_PANEL_IDS` for the catalogue.
|
|
13654
|
+
*/
|
|
13655
|
+
type ViewerPanelId = 'statusBar' | 'slidesPane' | 'inspector' | 'notes' | 'quickAccessToolbar' | 'titleBar';
|
|
13656
|
+
/** Feature areas that can be switched off as a whole. */
|
|
13657
|
+
type ViewerFeatureId = 'ai' | 'collaboration' | 'comments' | 'presentMode';
|
|
13658
|
+
/** Dialogs (and the entry points that open them) a host can remove. */
|
|
13659
|
+
type ViewerDialogId = 'options' | 'share' | 'broadcast' | 'print' | 'export';
|
|
13660
|
+
/** Export formats offered by the File > Export page. */
|
|
13661
|
+
type ViewerExportFormatId = 'pdf' | 'png' | 'video' | 'gif' | 'json' | 'copyImage';
|
|
13662
|
+
/**
|
|
13663
|
+
* The whole customisation object. Every field is optional; omitted fields hide
|
|
13664
|
+
* nothing and lock nothing.
|
|
13665
|
+
*/
|
|
13666
|
+
interface ViewerCustomization {
|
|
13667
|
+
ribbon?: RibbonCustomization;
|
|
13668
|
+
options?: OptionsCustomization;
|
|
13669
|
+
backstage?: BackstageCustomization;
|
|
13670
|
+
contextMenu?: ContextMenuCustomization;
|
|
13671
|
+
keyboard?: KeyboardCustomization;
|
|
13672
|
+
/** Chrome regions to remove (`true` hides). */
|
|
13673
|
+
hiddenPanels?: readonly ViewerPanelId[];
|
|
13674
|
+
/** Feature areas to switch off (their buttons, menus, pages and panels). */
|
|
13675
|
+
disabledFeatures?: readonly ViewerFeatureId[];
|
|
13676
|
+
/** Dialogs to remove, along with every entry point that opens them. */
|
|
13677
|
+
hiddenDialogs?: readonly ViewerDialogId[];
|
|
13678
|
+
/** Export formats to remove from File > Export. */
|
|
13679
|
+
hiddenExportFormats?: readonly ViewerExportFormatId[];
|
|
13680
|
+
}
|
|
13681
|
+
//#endregion
|
|
13682
|
+
//#region src/render/customization/customization-catalog.d.ts
|
|
13683
|
+
declare const RIBBON_TAB_IDS: readonly ToolbarTabId[];
|
|
13684
|
+
declare const TOOLBAR_BUTTON_IDS: readonly ["share", "broadcast", "export", "undo", "redo", "record", "notes", "fullscreen", "zoom", "navigation"];
|
|
13685
|
+
declare const OPTIONS_PAGE_IDS: readonly OptionsPageId[];
|
|
13686
|
+
declare const OPTIONS_SECTION_IDS: readonly OptionsSectionId[];
|
|
13687
|
+
declare const OPTIONS_SETTING_IDS: readonly OptionsSettingId[];
|
|
13688
|
+
declare const BACKSTAGE_PAGE_IDS: readonly BackstagePage[];
|
|
13689
|
+
declare const BACKSTAGE_CARD_IDS: readonly BackstageCardId[];
|
|
13690
|
+
declare const ELEMENT_CONTEXT_MENU_COMMAND_IDS: readonly ["copy", "cut", "paste", "duplicate", "edit-text", "bring-forward", "send-backward", "bring-front", "send-back", "ai-ask", "ai-fix", "comment", "hyperlink", "table-insert-row-above", "table-insert-row-below", "table-delete-row", "table-insert-col-left", "table-insert-col-right", "table-delete-col", "table-merge-selected", "table-merge-right", "table-merge-down", "table-split", "group", "ungroup", "save-as-picture", "edit-alt-text", "size-and-position", "format-shape", "delete"];
|
|
13691
|
+
declare const CANVAS_CONTEXT_MENU_COMMAND_IDS: readonly ["paste", "layout", "reset-slide", "format-background", "grid-and-guides", "ruler"];
|
|
13692
|
+
declare const EDITOR_SHORTCUT_ACTION_IDS: readonly ["undo", "redo", "copy", "cut", "paste", "duplicate", "delete", "selectAll", "group", "ungroup", "nudge", "prevSlide", "nextSlide", "escape", "find", "findReplace", "toggleShortcuts", "alignLeft", "alignCenter", "alignRight", "alignJustify", "increaseFontSize", "decreaseFontSize", "copyFormat", "pasteFormat", "newSlide", "hyperlink", "clearFormatting", "cycleSelectionNext", "cycleSelectionPrev", "pasteSpecial"];
|
|
13693
|
+
declare const VIEWER_PANEL_IDS: readonly ["statusBar", "slidesPane", "inspector", "notes", "quickAccessToolbar", "titleBar"];
|
|
13694
|
+
declare const VIEWER_FEATURE_IDS: readonly ["ai", "collaboration", "comments", "presentMode"];
|
|
13695
|
+
declare const VIEWER_DIALOG_IDS: readonly ["options", "share", "broadcast", "print", "export"];
|
|
13696
|
+
declare const VIEWER_EXPORT_FORMAT_IDS: readonly ["pdf", "png", "video", "gif", "json", "copyImage"];
|
|
13697
|
+
//#endregion
|
|
13698
|
+
//#region src/render/customization/customization-keymap.d.ts
|
|
13699
|
+
/** A parsed `Mod+Shift+D` chord. */
|
|
13700
|
+
interface ParsedShortcutChord {
|
|
13701
|
+
key: string;
|
|
13702
|
+
mod: boolean;
|
|
13703
|
+
ctrl: boolean;
|
|
13704
|
+
meta: boolean;
|
|
13705
|
+
alt: boolean;
|
|
13706
|
+
shift: boolean;
|
|
13707
|
+
}
|
|
13708
|
+
/** The normalised keyboard slice of a resolved customisation. */
|
|
13709
|
+
interface ResolvedKeyboardCustomization {
|
|
13710
|
+
disableAll: boolean;
|
|
13711
|
+
disabled: ReadonlySet<EditorKeyActionName>;
|
|
13712
|
+
remap: ReadonlyMap<EditorKeyActionName, readonly ParsedShortcutChord[]>;
|
|
13713
|
+
}
|
|
13714
|
+
//#endregion
|
|
13715
|
+
//#region src/render/customization/customization-resolve.d.ts
|
|
13716
|
+
/** The normalised, set-based view of a customisation. Treat as immutable. */
|
|
13717
|
+
interface ResolvedCustomization {
|
|
13718
|
+
hiddenActions: ReadonlySet<ToolbarActionId>;
|
|
13719
|
+
hiddenOptionsPages: ReadonlySet<OptionsPageId>;
|
|
13720
|
+
hiddenOptionsSections: ReadonlySet<OptionsSectionId>;
|
|
13721
|
+
hiddenSettings: ReadonlySet<OptionsSettingId>;
|
|
13722
|
+
lockedSettings: OptionsSettingValues;
|
|
13723
|
+
defaultSettings: OptionsSettingValues;
|
|
13724
|
+
hiddenBackstagePages: ReadonlySet<BackstagePage>;
|
|
13725
|
+
hiddenBackstageCards: ReadonlySet<BackstageCardId>;
|
|
13726
|
+
hiddenElementCommands: ReadonlySet<ContextMenuCommandId>;
|
|
13727
|
+
hiddenCanvasCommands: ReadonlySet<CanvasContextMenuCommandId>;
|
|
13728
|
+
elementMenuEnabled: boolean;
|
|
13729
|
+
canvasMenuEnabled: boolean;
|
|
13730
|
+
hiddenPanels: ReadonlySet<ViewerPanelId>;
|
|
13731
|
+
disabledFeatures: ReadonlySet<ViewerFeatureId>;
|
|
13732
|
+
hiddenDialogs: ReadonlySet<ViewerDialogId>;
|
|
13733
|
+
keyboard: ResolvedKeyboardCustomization;
|
|
13734
|
+
}
|
|
13735
|
+
//#endregion
|
|
13736
|
+
//#region src/render/customization/customization-controller.d.ts
|
|
13737
|
+
/** The imperative methods every binding's component handle exposes. */
|
|
13738
|
+
interface ViewerCustomizationApi {
|
|
13739
|
+
/** The current customisation object (a snapshot; do not mutate). */
|
|
13740
|
+
getCustomization(): ViewerCustomization;
|
|
13741
|
+
/** Replace the whole customisation. */
|
|
13742
|
+
setCustomization(next: ViewerCustomization): void;
|
|
13743
|
+
/** Merge a partial customisation (see `mergeCustomization`). */
|
|
13744
|
+
updateCustomization(patch: ViewerCustomization): void;
|
|
13745
|
+
/** Drop every customisation, back to the stock UI. */
|
|
13746
|
+
resetCustomization(): void;
|
|
13747
|
+
hideRibbonTab(tab: ToolbarTabId): void;
|
|
13748
|
+
showRibbonTab(tab: ToolbarTabId): void;
|
|
13749
|
+
hideToolbarButton(button: ToolbarButtonId): void;
|
|
13750
|
+
showToolbarButton(button: ToolbarButtonId): void;
|
|
13751
|
+
hideOptionsPage(page: OptionsPageId): void;
|
|
13752
|
+
showOptionsPage(page: OptionsPageId): void;
|
|
13753
|
+
hideOptionsSection(section: OptionsSectionId): void;
|
|
13754
|
+
showOptionsSection(section: OptionsSectionId): void;
|
|
13755
|
+
hideSetting(setting: OptionsSettingId): void;
|
|
13756
|
+
showSetting(setting: OptionsSettingId): void;
|
|
13757
|
+
/** Pin a setting to `value`; `hidden` also removes it from the dialog. */
|
|
13758
|
+
lockSetting(setting: OptionsSettingId, value: ViewerOptionPrimitive, hidden?: boolean): void;
|
|
13759
|
+
unlockSetting(setting: OptionsSettingId): void;
|
|
13760
|
+
/** Set (or with `undefined`, clear) the host default for a setting. */
|
|
13761
|
+
setSettingDefault(setting: OptionsSettingId, value: ViewerOptionPrimitive | undefined): void;
|
|
13762
|
+
hideBackstagePage(page: BackstagePage): void;
|
|
13763
|
+
showBackstagePage(page: BackstagePage): void;
|
|
13764
|
+
hideBackstageCard(card: BackstageCardId): void;
|
|
13765
|
+
showBackstageCard(card: BackstageCardId): void;
|
|
13766
|
+
hideContextMenuCommand(command: ContextMenuCommandId): void;
|
|
13767
|
+
showContextMenuCommand(command: ContextMenuCommandId): void;
|
|
13768
|
+
hideCanvasContextMenuCommand(command: CanvasContextMenuCommandId): void;
|
|
13769
|
+
showCanvasContextMenuCommand(command: CanvasContextMenuCommandId): void;
|
|
13770
|
+
disableShortcut(action: EditorKeyActionName): void;
|
|
13771
|
+
enableShortcut(action: EditorKeyActionName): void;
|
|
13772
|
+
/** Move a command onto new chord(s); `undefined` restores the built-in chord. */
|
|
13773
|
+
remapShortcut(action: EditorKeyActionName, chords: ShortcutChord | readonly ShortcutChord[] | undefined): void;
|
|
13774
|
+
setPanelVisible(panel: ViewerPanelId, visible: boolean): void;
|
|
13775
|
+
setFeatureEnabled(feature: ViewerFeatureId, enabled: boolean): void;
|
|
13776
|
+
setDialogAvailable(dialog: ViewerDialogId, available: boolean): void;
|
|
13777
|
+
}
|
|
13778
|
+
//#endregion
|
|
13522
13779
|
//#region src/render/viewport-fit.d.ts
|
|
13523
13780
|
/** Unscaled CSS pixels reserved on each side of the ordinary viewer viewport. */
|
|
13524
13781
|
type ViewportFitPadding = number | {
|
|
@@ -14174,8 +14431,14 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
14174
14431
|
* @see {@link PptxAiConfig}
|
|
14175
14432
|
*/
|
|
14176
14433
|
ai?: PptxAiConfig;
|
|
14434
|
+
/**
|
|
14435
|
+
* Framework-neutral UI customisation. See docs/guide/customization.md.
|
|
14436
|
+
* Unioned with `hiddenActions`. A new object replaces the whole
|
|
14437
|
+
* customisation, including edits made through the handle helpers.
|
|
14438
|
+
*/
|
|
14439
|
+
customization?: ViewerCustomization;
|
|
14177
14440
|
}
|
|
14178
|
-
interface PowerPointViewerHandle extends FileViewerHandle, PowerPointViewerAPI {
|
|
14441
|
+
interface PowerPointViewerHandle extends FileViewerHandle, PowerPointViewerAPI, ViewerCustomizationApi {
|
|
14179
14442
|
getContent: () => Promise<Uint8Array>;
|
|
14180
14443
|
}
|
|
14181
14444
|
|
|
@@ -14738,5 +15001,5 @@ declare function SlideTemplatePreview({ templateId, scheme }: SlideTemplatePrevi
|
|
|
14738
15001
|
*/
|
|
14739
15002
|
declare function renderToCanvas(element: HTMLElement, options?: Partial<Options>): Promise<HTMLCanvasElement>;
|
|
14740
15003
|
|
|
14741
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, LOCALE_CATALOG, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PowerPointViewer, SLIDE_TEMPLATES, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, VIEWER_PREFS_STORAGE_KEY, ViewerThemeProvider, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getAnimationInitialStyle, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, renderToCanvas, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, useViewerBuildingBlocks, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs };
|
|
14742
|
-
export type { AccountAuthConfig, CollaborationConfig, CollaborationContextValue, CollaborationShellState, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, LocalStorageUsageSummary, LocaleCatalogEntry, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy, SavedPresentationFormat, SlideCanvasProps, SlideTemplateGalleryDialogProps, SlideTemplateId, SlideTemplatePreviewProps, SlideTemplateSpec, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarProps, ToolbarTabId, UseViewerBuildingBlocksInput, ViewerBuildingBlocksResult, ViewerMode, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding };
|
|
15004
|
+
export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, LOCALE_CATALOG, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PowerPointViewer, RIBBON_TAB_IDS, SLIDE_TEMPLATES, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, TOOLBAR_BUTTON_IDS, Toolbar, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, ViewerThemeProvider, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getAnimationInitialStyle, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, renderToCanvas, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, useViewerBuildingBlocks, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs };
|
|
15005
|
+
export type { AccountAuthConfig, BackstageCustomization, CollaborationConfig, CollaborationContextValue, CollaborationShellState, ContextMenuCustomization, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, KeyboardCustomization, LocalStorageUsageSummary, LocaleCatalogEntry, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PowerPointViewerAPI, PowerPointViewerHandle, PowerPointViewerProps, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiWritePolicy, ResolvedCustomization, RibbonCustomization, SavedPresentationFormat, ShortcutChord, SlideCanvasProps, SlideTemplateGalleryDialogProps, SlideTemplateId, SlideTemplatePreviewProps, SlideTemplateSpec, StoredViewerPrefs, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarProps, ToolbarTabId, UseViewerBuildingBlocksInput, ViewerBuildingBlocksResult, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerMode, ViewerPanelId, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding };
|