pptx-react-viewer 4.53.1 → 4.54.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 +26 -0
- package/dist/{chunk-SN4XVKRH.mjs → chunk-6MMJBI4I.mjs} +6 -4
- package/dist/chunk-6MMJBI4I.mjs.br +0 -0
- package/dist/chunk-6MMJBI4I.mjs.gz +0 -0
- package/dist/{chunk-QCNVTNVV.mjs → chunk-GJB3TWLP.mjs} +33 -8
- package/dist/chunk-GJB3TWLP.mjs.br +0 -0
- package/dist/chunk-GJB3TWLP.mjs.gz +0 -0
- package/dist/{chunk-433LAU63.js → chunk-ISNT4VQN.js} +31 -6
- package/dist/chunk-ISNT4VQN.js.br +0 -0
- package/dist/chunk-ISNT4VQN.js.gz +0 -0
- package/dist/{chunk-2ZS3FP62.js → chunk-RB6MRBJI.js} +135 -133
- package/dist/chunk-RB6MRBJI.js.br +0 -0
- package/dist/chunk-RB6MRBJI.js.gz +0 -0
- package/dist/i18n/de.cjs +5 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +5 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +5 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +5 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +5 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +5 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +5 -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 +5 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.d.ts +16 -1
- package/dist/index.js +23 -23
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +18 -2
- package/dist/internals.js +80 -80
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +1 -1
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.d.ts +10 -1
- package/dist/viewer/index.js +18 -18
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +2 -2
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +4 -4
- package/dist/chunk-2ZS3FP62.js.br +0 -0
- package/dist/chunk-2ZS3FP62.js.gz +0 -0
- package/dist/chunk-433LAU63.js.br +0 -0
- package/dist/chunk-433LAU63.js.gz +0 -0
- package/dist/chunk-QCNVTNVV.mjs.br +0 -0
- package/dist/chunk-QCNVTNVV.mjs.gz +0 -0
- package/dist/chunk-SN4XVKRH.mjs.br +0 -0
- package/dist/chunk-SN4XVKRH.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/i18n/de.cjs
CHANGED
|
@@ -940,6 +940,11 @@ var translations5 = {
|
|
|
940
940
|
"pptx.viewer.loading": "Pr\xE4sentation wird geladen\u2026",
|
|
941
941
|
"pptx.viewer.encrypted": "Diese Pr\xE4sentation ist passwortgesch\xFCtzt und kann nicht ge\xF6ffnet werden.",
|
|
942
942
|
"pptx.viewer.loadError": "Pr\xE4sentation konnte nicht geladen werden.",
|
|
943
|
+
"pptx.viewer.loadLimit.maxInputBytes": "Diese Datei ist {{actual}} gro\xDF und damit gr\xF6\xDFer als die {{maximum}}, die dieser Viewer annimmt.",
|
|
944
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "Diese Pr\xE4sentation wird entpackt mindestens {{actual}} gro\xDF, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
945
|
+
"pptx.viewer.loadLimit.maxEntries": "Diese Pr\xE4sentation enth\xE4lt {{actual}} Teile, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
946
|
+
"pptx.viewer.loadLimit.maxSlides": "Diese Pr\xE4sentation hat {{actual}} Folien, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
947
|
+
"pptx.viewer.loadLimit.maxShapes": "Diese Pr\xE4sentation hat mindestens {{actual}} Formen, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
943
948
|
"pptx.viewer.slide": "Folie",
|
|
944
949
|
"pptx.viewer.background": "Hintergrund",
|
|
945
950
|
"pptx.viewer.speakerNotesPlaceholder": "Klicken Sie hier, um Sprechernotizen hinzuzuf\xFCgen",
|
package/dist/i18n/de.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs
CHANGED
|
@@ -914,6 +914,11 @@ var translations5 = {
|
|
|
914
914
|
"pptx.viewer.loading": "Pr\xE4sentation wird geladen\u2026",
|
|
915
915
|
"pptx.viewer.encrypted": "Diese Pr\xE4sentation ist passwortgesch\xFCtzt und kann nicht ge\xF6ffnet werden.",
|
|
916
916
|
"pptx.viewer.loadError": "Pr\xE4sentation konnte nicht geladen werden.",
|
|
917
|
+
"pptx.viewer.loadLimit.maxInputBytes": "Diese Datei ist {{actual}} gro\xDF und damit gr\xF6\xDFer als die {{maximum}}, die dieser Viewer annimmt.",
|
|
918
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "Diese Pr\xE4sentation wird entpackt mindestens {{actual}} gro\xDF, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
919
|
+
"pptx.viewer.loadLimit.maxEntries": "Diese Pr\xE4sentation enth\xE4lt {{actual}} Teile, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
920
|
+
"pptx.viewer.loadLimit.maxSlides": "Diese Pr\xE4sentation hat {{actual}} Folien, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
921
|
+
"pptx.viewer.loadLimit.maxShapes": "Diese Pr\xE4sentation hat mindestens {{actual}} Formen, mehr als die {{maximum}}, die dieser Viewer annimmt.",
|
|
917
922
|
"pptx.viewer.slide": "Folie",
|
|
918
923
|
"pptx.viewer.background": "Hintergrund",
|
|
919
924
|
"pptx.viewer.speakerNotesPlaceholder": "Klicken Sie hier, um Sprechernotizen hinzuzuf\xFCgen",
|
package/dist/i18n/de.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs
CHANGED
|
@@ -940,6 +940,11 @@ var translations5 = {
|
|
|
940
940
|
"pptx.viewer.loading": "Cargando presentaci\xF3n\u2026",
|
|
941
941
|
"pptx.viewer.encrypted": "Esta presentaci\xF3n est\xE1 protegida con contrase\xF1a y no se puede abrir.",
|
|
942
942
|
"pptx.viewer.loadError": "No se pudo cargar la presentaci\xF3n.",
|
|
943
|
+
"pptx.viewer.loadLimit.maxInputBytes": "Este archivo ocupa {{actual}}, m\xE1s que los {{maximum}} que admite este visor.",
|
|
944
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "Esta presentaci\xF3n ocupa al menos {{actual}} descomprimida, m\xE1s que los {{maximum}} que admite este visor.",
|
|
945
|
+
"pptx.viewer.loadLimit.maxEntries": "Esta presentaci\xF3n contiene {{actual}} partes, m\xE1s que las {{maximum}} que admite este visor.",
|
|
946
|
+
"pptx.viewer.loadLimit.maxSlides": "Esta presentaci\xF3n tiene {{actual}} diapositivas, m\xE1s que las {{maximum}} que admite este visor.",
|
|
947
|
+
"pptx.viewer.loadLimit.maxShapes": "Esta presentaci\xF3n tiene al menos {{actual}} formas, m\xE1s que las {{maximum}} que admite este visor.",
|
|
943
948
|
"pptx.viewer.slide": "Diapositiva",
|
|
944
949
|
"pptx.viewer.background": "Fondo",
|
|
945
950
|
"pptx.viewer.speakerNotesPlaceholder": "Haga clic para agregar notas del orador",
|
package/dist/i18n/es.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs
CHANGED
|
@@ -914,6 +914,11 @@ var translations5 = {
|
|
|
914
914
|
"pptx.viewer.loading": "Cargando presentaci\xF3n\u2026",
|
|
915
915
|
"pptx.viewer.encrypted": "Esta presentaci\xF3n est\xE1 protegida con contrase\xF1a y no se puede abrir.",
|
|
916
916
|
"pptx.viewer.loadError": "No se pudo cargar la presentaci\xF3n.",
|
|
917
|
+
"pptx.viewer.loadLimit.maxInputBytes": "Este archivo ocupa {{actual}}, m\xE1s que los {{maximum}} que admite este visor.",
|
|
918
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "Esta presentaci\xF3n ocupa al menos {{actual}} descomprimida, m\xE1s que los {{maximum}} que admite este visor.",
|
|
919
|
+
"pptx.viewer.loadLimit.maxEntries": "Esta presentaci\xF3n contiene {{actual}} partes, m\xE1s que las {{maximum}} que admite este visor.",
|
|
920
|
+
"pptx.viewer.loadLimit.maxSlides": "Esta presentaci\xF3n tiene {{actual}} diapositivas, m\xE1s que las {{maximum}} que admite este visor.",
|
|
921
|
+
"pptx.viewer.loadLimit.maxShapes": "Esta presentaci\xF3n tiene al menos {{actual}} formas, m\xE1s que las {{maximum}} que admite este visor.",
|
|
917
922
|
"pptx.viewer.slide": "Diapositiva",
|
|
918
923
|
"pptx.viewer.background": "Fondo",
|
|
919
924
|
"pptx.viewer.speakerNotesPlaceholder": "Haga clic para agregar notas del orador",
|
package/dist/i18n/es.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/es.mjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs
CHANGED
|
@@ -940,6 +940,11 @@ var translations5 = {
|
|
|
940
940
|
"pptx.viewer.loading": "Chargement de la pr\xE9sentation\u2026",
|
|
941
941
|
"pptx.viewer.encrypted": "Cette pr\xE9sentation est prot\xE9g\xE9e par mot de passe et ne peut pas \xEAtre ouverte.",
|
|
942
942
|
"pptx.viewer.loadError": "\xC9chec du chargement de la pr\xE9sentation.",
|
|
943
|
+
"pptx.viewer.loadLimit.maxInputBytes": "Ce fichier fait {{actual}}, plus que les {{maximum}} accept\xE9s par cette visionneuse.",
|
|
944
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "Une fois d\xE9compress\xE9e, cette pr\xE9sentation fait au moins {{actual}}, plus que les {{maximum}} accept\xE9s par cette visionneuse.",
|
|
945
|
+
"pptx.viewer.loadLimit.maxEntries": "Cette pr\xE9sentation contient {{actual}} parties, plus que les {{maximum}} accept\xE9es par cette visionneuse.",
|
|
946
|
+
"pptx.viewer.loadLimit.maxSlides": "Cette pr\xE9sentation contient {{actual}} diapositives, plus que les {{maximum}} accept\xE9es par cette visionneuse.",
|
|
947
|
+
"pptx.viewer.loadLimit.maxShapes": "Cette pr\xE9sentation contient au moins {{actual}} formes, plus que les {{maximum}} accept\xE9es par cette visionneuse.",
|
|
943
948
|
"pptx.viewer.slide": "Diapositive",
|
|
944
949
|
"pptx.viewer.background": "Arri\xE8re-plan",
|
|
945
950
|
"pptx.viewer.speakerNotesPlaceholder": "Cliquez pour ajouter des notes de conf\xE9rencier",
|
package/dist/i18n/fr.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/fr.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n/fr.mjs
CHANGED
|
@@ -914,6 +914,11 @@ var translations5 = {
|
|
|
914
914
|
"pptx.viewer.loading": "Chargement de la pr\xE9sentation\u2026",
|
|
915
915
|
"pptx.viewer.encrypted": "Cette pr\xE9sentation est prot\xE9g\xE9e par mot de passe et ne peut pas \xEAtre ouverte.",
|
|
916
916
|
"pptx.viewer.loadError": "\xC9chec du chargement de la pr\xE9sentation.",
|
|
917
|
+
"pptx.viewer.loadLimit.maxInputBytes": "Ce fichier fait {{actual}}, plus que les {{maximum}} accept\xE9s par cette visionneuse.",
|
|
918
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "Une fois d\xE9compress\xE9e, cette pr\xE9sentation fait au moins {{actual}}, plus que les {{maximum}} accept\xE9s par cette visionneuse.",
|
|
919
|
+
"pptx.viewer.loadLimit.maxEntries": "Cette pr\xE9sentation contient {{actual}} parties, plus que les {{maximum}} accept\xE9es par cette visionneuse.",
|
|
920
|
+
"pptx.viewer.loadLimit.maxSlides": "Cette pr\xE9sentation contient {{actual}} diapositives, plus que les {{maximum}} accept\xE9es par cette visionneuse.",
|
|
921
|
+
"pptx.viewer.loadLimit.maxShapes": "Cette pr\xE9sentation contient au moins {{actual}} formes, plus que les {{maximum}} accept\xE9es par cette visionneuse.",
|
|
917
922
|
"pptx.viewer.slide": "Diapositive",
|
|
918
923
|
"pptx.viewer.background": "Arri\xE8re-plan",
|
|
919
924
|
"pptx.viewer.speakerNotesPlaceholder": "Cliquez pour ajouter des notes de conf\xE9rencier",
|
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
|
@@ -938,6 +938,11 @@ var translations7 = {
|
|
|
938
938
|
"pptx.viewer.loading": "\u6B63\u5728\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F...",
|
|
939
939
|
"pptx.viewer.encrypted": "\u8BE5\u6F14\u793A\u6587\u7A3F\u53D7\u5BC6\u7801\u4FDD\u62A4\uFF0C\u65E0\u6CD5\u6253\u5F00\u3002",
|
|
940
940
|
"pptx.viewer.loadError": "\u65E0\u6CD5\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F\u3002",
|
|
941
|
+
"pptx.viewer.loadLimit.maxInputBytes": "\u6B64\u6587\u4EF6\u5927\u5C0F\u4E3A {{actual}}\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}}\u3002",
|
|
942
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "\u6B64\u6F14\u793A\u6587\u7A3F\u89E3\u538B\u540E\u81F3\u5C11\u4E3A {{actual}}\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}}\u3002",
|
|
943
|
+
"pptx.viewer.loadLimit.maxEntries": "\u6B64\u6F14\u793A\u6587\u7A3F\u5305\u542B {{actual}} \u4E2A\u90E8\u4EF6\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}} \u4E2A\u3002",
|
|
944
|
+
"pptx.viewer.loadLimit.maxSlides": "\u6B64\u6F14\u793A\u6587\u7A3F\u6709 {{actual}} \u5F20\u5E7B\u706F\u7247\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}} \u5F20\u3002",
|
|
945
|
+
"pptx.viewer.loadLimit.maxShapes": "\u6B64\u6F14\u793A\u6587\u7A3F\u81F3\u5C11\u6709 {{actual}} \u4E2A\u5F62\u72B6\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}} \u4E2A\u3002",
|
|
941
946
|
"pptx.viewer.slide": "\u5E7B\u706F\u7247",
|
|
942
947
|
"pptx.viewer.background": "\u80CC\u666F",
|
|
943
948
|
"pptx.viewer.speakerNotesPlaceholder": "\u5355\u51FB\u6DFB\u52A0\u6F14\u8BB2\u8005\u5907\u6CE8",
|
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
|
@@ -912,6 +912,11 @@ var translations7 = {
|
|
|
912
912
|
"pptx.viewer.loading": "\u6B63\u5728\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F...",
|
|
913
913
|
"pptx.viewer.encrypted": "\u8BE5\u6F14\u793A\u6587\u7A3F\u53D7\u5BC6\u7801\u4FDD\u62A4\uFF0C\u65E0\u6CD5\u6253\u5F00\u3002",
|
|
914
914
|
"pptx.viewer.loadError": "\u65E0\u6CD5\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F\u3002",
|
|
915
|
+
"pptx.viewer.loadLimit.maxInputBytes": "\u6B64\u6587\u4EF6\u5927\u5C0F\u4E3A {{actual}}\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}}\u3002",
|
|
916
|
+
"pptx.viewer.loadLimit.maxUncompressedBytes": "\u6B64\u6F14\u793A\u6587\u7A3F\u89E3\u538B\u540E\u81F3\u5C11\u4E3A {{actual}}\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}}\u3002",
|
|
917
|
+
"pptx.viewer.loadLimit.maxEntries": "\u6B64\u6F14\u793A\u6587\u7A3F\u5305\u542B {{actual}} \u4E2A\u90E8\u4EF6\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}} \u4E2A\u3002",
|
|
918
|
+
"pptx.viewer.loadLimit.maxSlides": "\u6B64\u6F14\u793A\u6587\u7A3F\u6709 {{actual}} \u5F20\u5E7B\u706F\u7247\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}} \u5F20\u3002",
|
|
919
|
+
"pptx.viewer.loadLimit.maxShapes": "\u6B64\u6F14\u793A\u6587\u7A3F\u81F3\u5C11\u6709 {{actual}} \u4E2A\u5F62\u72B6\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}} \u4E2A\u3002",
|
|
915
920
|
"pptx.viewer.slide": "\u5E7B\u706F\u7247",
|
|
916
921
|
"pptx.viewer.background": "\u80CC\u666F",
|
|
917
922
|
"pptx.viewer.speakerNotesPlaceholder": "\u5355\u51FB\u6DFB\u52A0\u6F14\u8BB2\u8005\u5907\u6CE8",
|
package/dist/i18n/zh-CN.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n/zh-CN.mjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React$1__default, { ReactNode, ReactElement } from 'react';
|
|
3
3
|
import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
|
|
4
|
-
import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, CanvasSize, DocumentStorage, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, CollaborationInput, GoogleFontsOption, ToolbarActionId, RibbonAddInTab, ViewerCustomization, PowerPointViewerAPI, ViewerCustomizationApi, CollaborationLivePatcher, InlineListReadResult, EditorImagePasteOptions, ViewerMode, RulerUnit, ElementAnimationState, ShapeAdjustmentHandleDescriptor, InlineTextEditSnapshot, ZoomNavigationTarget, FieldSubstitutionContext, EditPointsCommandId, EditPointsElementPatch, FreeformToolKind, ElementClipboardPayload, AnimationApplyGroup, InsertChartKind, ChangeCaseMode, SlideTemplateId, ReviewCommentsHost, CollaborationShellState, PptxAutosaveStatus } from 'ooxml-ui/pptx';
|
|
4
|
+
import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, CanvasSize, DocumentStorage, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, CollaborationInput, GoogleFontsOption, ToolbarActionId, RibbonAddInTab, ViewerCustomization, PptxLoadLimits, PowerPointViewerAPI, ViewerCustomizationApi, CollaborationLivePatcher, InlineListReadResult, EditorImagePasteOptions, ViewerMode, RulerUnit, ElementAnimationState, ShapeAdjustmentHandleDescriptor, InlineTextEditSnapshot, ZoomNavigationTarget, FieldSubstitutionContext, EditPointsCommandId, EditPointsElementPatch, FreeformToolKind, ElementClipboardPayload, AnimationApplyGroup, InsertChartKind, ChangeCaseMode, SlideTemplateId, ReviewCommentsHost, CollaborationShellState, PptxAutosaveStatus } from 'ooxml-ui/pptx';
|
|
5
5
|
export { AVATAR_COLOR_SWATCHES, AccountAuthConfig, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, BackstageCustomization, CANVAS_CONTEXT_MENU_COMMAND_IDS, CollaborationConfig, CollaborationShellState, ContextMenuCustomization, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, KeyboardCustomization, LocalStorageUsageSummary, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PowerPointViewerAPI, RIBBON_TAB_IDS, ResolvedCustomization, RibbonCustomization, SLIDE_TEMPLATES, SavedPresentationFormat, ShortcutChord, SlideTemplateId, SlideTemplateSpec, StoredViewerPrefs, THEME_CATALOG, TOOLBAR_BUTTON_IDS, ThemeCatalogEntry, ToolbarActionId, ToolbarButtonId, ToolbarTabId, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerMode, ViewerPanelId, ViewerProfile, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from 'ooxml-ui/pptx';
|
|
6
6
|
import { LocaleCatalogEntry } from 'ooxml-ui/pptx/i18n';
|
|
7
7
|
export { LOCALE_CATALOG, LocaleCatalogEntry } from 'ooxml-ui/pptx/i18n';
|
|
@@ -547,6 +547,15 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
547
547
|
* A change applies from the next load.
|
|
548
548
|
*/
|
|
549
549
|
allowExternalContent?: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Bounds on the work loading a deck may do, for hosts that show untrusted
|
|
552
|
+
* decks: `maxInputBytes`, `maxUncompressedBytes`, `maxEntries`, `maxSlides`
|
|
553
|
+
* and `maxShapes` (see `PptxLoadLimits`). Unset keeps the core defaults
|
|
554
|
+
* (500 MiB inflated, 65,536 ZIP entries, no other limit). A deck over a
|
|
555
|
+
* limit shows the load-error screen with the limit and the deck's value.
|
|
556
|
+
* A change applies from the next load.
|
|
557
|
+
*/
|
|
558
|
+
limits?: PptxLoadLimits;
|
|
550
559
|
}
|
|
551
560
|
interface PowerPointViewerHandle extends FileViewerHandle, PowerPointViewerAPI, ViewerCustomizationApi {
|
|
552
561
|
getContent: () => Promise<Uint8Array>;
|
|
@@ -1092,6 +1101,12 @@ interface UseViewerBuildingBlocksInput extends ViewportFitOptions {
|
|
|
1092
1101
|
* setting; unset keeps the user's choice. A change applies from the next load.
|
|
1093
1102
|
*/
|
|
1094
1103
|
allowExternalContent?: boolean;
|
|
1104
|
+
/**
|
|
1105
|
+
* As `PowerPointViewer`'s `limits`: bounds on loading a deck (input and
|
|
1106
|
+
* inflated size, ZIP entries, slides, shapes); unset keeps the core
|
|
1107
|
+
* defaults. A change applies from the next load.
|
|
1108
|
+
*/
|
|
1109
|
+
limits?: PptxLoadLimits;
|
|
1095
1110
|
/** Whether the built-in autosave-to-localStorage recovery timer is active. Defaults to true. */
|
|
1096
1111
|
autosaveEnabled?: boolean;
|
|
1097
1112
|
/** Display name used as the author for comments. */
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkRB6MRBJI_js = require('./chunk-RB6MRBJI.js');
|
|
4
|
+
var chunkISNT4VQN_js = require('./chunk-ISNT4VQN.js');
|
|
5
5
|
var chunk3TN5SUQR_js = require('./chunk-3TN5SUQR.js');
|
|
6
6
|
require('./chunk-PIRHQTI4.js');
|
|
7
7
|
var pptx = require('ooxml-ui/pptx');
|
|
@@ -11,87 +11,87 @@ var i18n = require('ooxml-ui/pptx/i18n');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkRB6MRBJI_js.PowerPointViewer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "PptxI18nProvider", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkRB6MRBJI_js.PptxI18nProvider; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkRB6MRBJI_js.SlideCanvas; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkRB6MRBJI_js.SlideTemplateGalleryDialog; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkRB6MRBJI_js.SlideTemplatePreview; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkRB6MRBJI_js.THEME_CATALOG; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "Toolbar", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkRB6MRBJI_js.Toolbar; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkRB6MRBJI_js.ViewerThemeProvider; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkRB6MRBJI_js.defaultCssVars; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "defaultRadius", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkRB6MRBJI_js.defaultRadius; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkRB6MRBJI_js.defaultThemeColors; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkRB6MRBJI_js.resolveThemeCatalogEntry; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkRB6MRBJI_js.themeToCssVars; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkRB6MRBJI_js.useViewerTheme; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkRB6MRBJI_js.vermilionDarkColors; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkRB6MRBJI_js.vermilionDarkTheme; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkRB6MRBJI_js.vermilionLightColors; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkRB6MRBJI_js.vermilionLightTheme; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkRB6MRBJI_js.vermilionRadius; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkISNT4VQN_js.renderToCanvas; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkISNT4VQN_js.useViewerBuildingBlocks; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
97
97
|
enumerable: true,
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PowerPointViewer, PptxI18nProvider, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-
|
|
2
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
1
|
+
export { PowerPointViewer, PptxI18nProvider, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-6MMJBI4I.mjs';
|
|
2
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-GJB3TWLP.mjs';
|
|
3
3
|
export { getAnimationInitialStyle } from './chunk-ID37Y3HG.mjs';
|
|
4
4
|
import './chunk-UV2HVMKZ.mjs';
|
|
5
5
|
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, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, saveViewerProfile, savedPresentationFileName, writeStoredViewerPrefs } from 'ooxml-ui/pptx';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollaborationRole, CollaborationConfig, HistoryTheme, PowerPointViewerAPI, ViewerCustomizationApi, PptxAutosaveStatus, ShapeAdjustmentHandleDescriptor, ChangeCaseMode, ResolvedKeyboardCustomization, FindResult, EditorImagePasteOptions, InsertChartKind, InsertChartOptions, PasteSpecialFormat, SlidePasteRequest, SlideTemplateId, MorphTransitionPlan, ElementAnimationState, ZoomNavigationTarget, PresentationSnapshot, DocumentStorage, InlineTextDraftSink, ViewerMode, ShapeAdjustmentDragState, GestureKind, PointerLike, InlineTextEditSnapshot, InlineListReadResult, FreeformToolKind, CollaborationLivePatcher, SlideSizeEmu, ElementClipboardPayload, CropSession, FontEmbeddingDescriptor, MasterViewTarget, ViewportFitOptions, CollaborationInput, GoogleFontsOption, ToolbarActionId, CollaborationShellState, AnimationApplyGroup, ReviewCommentsHost, RulerUnit, FieldSubstitutionContext, EditPointsCommandId, EditPointsElementPatch, PresentationPointerTool, RunProgramNotice, BorrowedCollaborationAwareness, CollabLoadOrigin, AuthoredSlideRange, DocumentSaveReason, FragmentedLayer, PrintSettings, ThemeEditorEdit, CompareResult, ReadOnlyRecommendation, CompatibilityWarningToast, DeviceOrientation, ResolvedCustomization, AutosaveRecord, DeckSavePurpose, ZoomExcursion, TouchGestureCallbacks, ViewerAutosaveStatus, ViewerOptionsStore, ViewerOptions, AutosaveRecoveryPrompt, VirtualizedRange, ToolbarTabId } from 'ooxml-ui/pptx';
|
|
1
|
+
import { CollaborationRole, CollaborationConfig, HistoryTheme, PowerPointViewerAPI, ViewerCustomizationApi, PptxAutosaveStatus, ShapeAdjustmentHandleDescriptor, ChangeCaseMode, ResolvedKeyboardCustomization, FindResult, EditorImagePasteOptions, InsertChartKind, InsertChartOptions, PasteSpecialFormat, SlidePasteRequest, SlideTemplateId, MorphTransitionPlan, ElementAnimationState, ZoomNavigationTarget, PresentationSnapshot, DocumentStorage, InlineTextDraftSink, ViewerMode, ShapeAdjustmentDragState, GestureKind, PointerLike, InlineTextEditSnapshot, InlineListReadResult, FreeformToolKind, CollaborationLivePatcher, SlideSizeEmu, ElementClipboardPayload, CropSession, FontEmbeddingDescriptor, MasterViewTarget, ViewportFitOptions, CollaborationInput, GoogleFontsOption, PptxLoadLimits, ToolbarActionId, CollaborationShellState, AnimationApplyGroup, ReviewCommentsHost, RulerUnit, FieldSubstitutionContext, EditPointsCommandId, EditPointsElementPatch, PresentationPointerTool, RunProgramNotice, BorrowedCollaborationAwareness, CollabLoadOrigin, AuthoredSlideRange, DocumentSaveReason, FragmentedLayer, PrintSettings, ThemeEditorEdit, CompareResult, ReadOnlyRecommendation, CompatibilityWarningToast, DeviceOrientation, ResolvedCustomization, AutosaveRecord, DeckSavePurpose, ZoomExcursion, TouchGestureCallbacks, ViewerAutosaveStatus, ViewerOptionsStore, ViewerOptions, AutosaveRecoveryPrompt, VirtualizedRange, ToolbarTabId } from 'ooxml-ui/pptx';
|
|
2
2
|
export { CINEMATIC_TRANSITION_KEYFRAMES, CollaborationConfig, DEFAULT_MORPH_DURATION_MS, DEFAULT_TRANSITION_DURATION_MS, DeviceOrientation, EASE, INSTANT, MOBILE_BREAKPOINT, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, RANDOM_ELIGIBLE_TYPES, ResolvedDirection, ResolvedDirection8, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, SlideTransitionAnimations, TABLET_BREAKPOINT, TRANSITION_SPEED_DURATION_MS, TouchGestureCallbacks, VirtualizedRange, WHEEL_SPOKE_COUNTS, computeVirtualRange, getCinematicTransitionAnimations, getP14TransitionAnimations, getSlideTransitionAnimations, resolveDirection, resolveDirection8, resolveOrientation, resolveSlideTransition, resolveTransitionDurationMs, resolveWheelSpokeCount } from 'ooxml-ui/pptx';
|
|
3
3
|
import { PptxSlide, PptxElement, PptxElementAnimation, TextStyle, PptxHeaderFooter, PptxTheme, PptxSlideMaster, ShapeStyle, PptxCommentMention, SmartArtLayout, InkPptxElement, ShapePptxElement, MergeShapeOperation, PptxSlideTransition, PptxAction, PptxModernCommentAuthor, ParsedTableStyleMap, PptxThemeOption, PptxCustomShow, PptxSection, PptxPresentationProperties, PptxViewProperties, PptxNotesMaster, PptxHandoutMaster, PptxCustomProperty, PptxTagCollection, PptxCoreProperties, PptxAppProperties, PptxEmbeddedFont, MasterViewTab, PptxSlideLayout, PptxHandler, PptxLayoutOption, PptxLayoutPreview, PptxComment, ConnectorPptxElement, PptxThemePreset, PptxThemeColorScheme, PptxThemeFontScheme, PptxData, PptxHandlerSaveOptions, PptxSaveFormat, TextSegment, PptxModifyVerifier } from 'ooxml-core/pptx';
|
|
4
4
|
import { CollaborationWriteBackState } from 'ooxml-core/collab';
|
|
@@ -2388,6 +2388,12 @@ interface UseViewerBuildingBlocksInput extends ViewportFitOptions {
|
|
|
2388
2388
|
* setting; unset keeps the user's choice. A change applies from the next load.
|
|
2389
2389
|
*/
|
|
2390
2390
|
allowExternalContent?: boolean;
|
|
2391
|
+
/**
|
|
2392
|
+
* As `PowerPointViewer`'s `limits`: bounds on loading a deck (input and
|
|
2393
|
+
* inflated size, ZIP entries, slides, shapes); unset keeps the core
|
|
2394
|
+
* defaults. A change applies from the next load.
|
|
2395
|
+
*/
|
|
2396
|
+
limits?: PptxLoadLimits;
|
|
2391
2397
|
/** Whether the built-in autosave-to-localStorage recovery timer is active. Defaults to true. */
|
|
2392
2398
|
autosaveEnabled?: boolean;
|
|
2393
2399
|
/** Display name used as the author for comments. */
|
|
@@ -3029,11 +3035,17 @@ interface UseLoadContentInput {
|
|
|
3029
3035
|
* changing it never reloads the deck; it applies on the next load.
|
|
3030
3036
|
*/
|
|
3031
3037
|
initialSlide?: number;
|
|
3038
|
+
/**
|
|
3039
|
+
* Host `limits` prop, passed to `PptxHandler.load`; unset keeps the core
|
|
3040
|
+
* defaults. Read through a ref like `initialSlide`, so a new object never
|
|
3041
|
+
* reloads the deck; it applies on the next load.
|
|
3042
|
+
*/
|
|
3043
|
+
limits?: PptxLoadLimits;
|
|
3032
3044
|
}
|
|
3033
3045
|
interface UseLoadContentResult {
|
|
3034
3046
|
handlerRef: React.MutableRefObject<PptxHandler | null>;
|
|
3035
3047
|
}
|
|
3036
|
-
declare function useLoadContent({ content, clearSelection, history, setSlides, setTemplateElementsBySlideId, mediaDataUrls, setCanvasSize, setSlideSizeEmu, setHeaderFooter, setFirstSlideNumber, setLayoutOptions, setSlideMasters, setModernCommentAuthors, setRecentColors, setTheme, setTableStyleMap, setTableStylesDefaultId, setTableStylesToDelete, setThemeOptions, setCustomShows, setActiveCustomShowId, setSections, setPresentationProperties, setViewProperties, setNotesMaster, setHandoutMaster, setNotesCanvasSize, setCustomProperties, setTagCollections, setCoreProperties, setAppProperties, setEmbeddedFonts, setActiveSlideIndex, setHasMacros, setHasDigitalSignatures, setDigitalSignatureCount, setGuides, setReadOnlyRecommendation, setModifyVerifier, setCompatToasts, setLoading, setError, setIsDirty, setIsEncrypted, onContentApplied, allowExternalImages, initialSlide }: UseLoadContentInput): UseLoadContentResult;
|
|
3048
|
+
declare function useLoadContent({ content, clearSelection, history, setSlides, setTemplateElementsBySlideId, mediaDataUrls, setCanvasSize, setSlideSizeEmu, setHeaderFooter, setFirstSlideNumber, setLayoutOptions, setSlideMasters, setModernCommentAuthors, setRecentColors, setTheme, setTableStyleMap, setTableStylesDefaultId, setTableStylesToDelete, setThemeOptions, setCustomShows, setActiveCustomShowId, setSections, setPresentationProperties, setViewProperties, setNotesMaster, setHandoutMaster, setNotesCanvasSize, setCustomProperties, setTagCollections, setCoreProperties, setAppProperties, setEmbeddedFonts, setActiveSlideIndex, setHasMacros, setHasDigitalSignatures, setDigitalSignatureCount, setGuides, setReadOnlyRecommendation, setModifyVerifier, setCompatToasts, setLoading, setError, setIsDirty, setIsEncrypted, onContentApplied, allowExternalImages, initialSlide, limits }: UseLoadContentInput): UseLoadContentResult;
|
|
3037
3049
|
//#endregion
|
|
3038
3050
|
//#region src/viewer/hooks/usePointerHandlers.d.ts
|
|
3039
3051
|
declare function usePointerHandlers(input: UsePointerHandlersInput): void;
|
|
@@ -3639,6 +3651,8 @@ interface UseContentLifecycleInput {
|
|
|
3639
3651
|
initialSlide?: number;
|
|
3640
3652
|
/** Forwarded to {@link useFontInjection}: the host `googleFonts` prop. */
|
|
3641
3653
|
googleFonts?: GoogleFontsOption;
|
|
3654
|
+
/** Forwarded to {@link useLoadContent}: the host `limits` prop. */
|
|
3655
|
+
limits?: PptxLoadLimits;
|
|
3642
3656
|
/** Forwarded to {@link useLoadContent}: see `useReadOnlyRecommendationState`. */
|
|
3643
3657
|
setReadOnlyRecommendation: React$1.Dispatch<React$1.SetStateAction<ReadOnlyRecommendation>>;
|
|
3644
3658
|
/** Forwarded to {@link useLoadContent}: see `useReadOnlyRecommendationState`. */
|
|
@@ -3743,6 +3757,8 @@ interface UseViewerIntegrationInput {
|
|
|
3743
3757
|
initialSlide?: number;
|
|
3744
3758
|
/** Host `googleFonts` prop: the Google Fonts fallback policy; forwarded to `useFontInjection`. */
|
|
3745
3759
|
googleFonts?: GoogleFontsOption;
|
|
3760
|
+
/** Host `limits` prop: the load limits; forwarded to `useContentLifecycle`. */
|
|
3761
|
+
limits?: PptxLoadLimits;
|
|
3746
3762
|
/** Forwarded to `useContentLifecycle` -> `useLoadContent`: see `useReadOnlyRecommendationState`. */
|
|
3747
3763
|
setReadOnlyRecommendation: Dispatch<SetStateAction<ReadOnlyRecommendation>>;
|
|
3748
3764
|
/** Forwarded to `useContentLifecycle` -> `useLoadContent`: see `useReadOnlyRecommendationState`. */
|