pptx-svelte-viewer 4.65.0 → 4.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/i18n/de.cjs CHANGED
@@ -943,6 +943,7 @@ var translations5 = {
943
943
  "pptx.toolbar.save": "Speichern",
944
944
  "pptx.settings.done": "Erledigt",
945
945
  "pptx.viewer.loading": "Pr\xE4sentation wird geladen\u2026",
946
+ "pptx.viewer.loadingFonts": "Schriftarten werden heruntergeladen ({{loaded}} von {{total}})\u2026",
946
947
  "pptx.viewer.encrypted": "Diese Pr\xE4sentation ist passwortgesch\xFCtzt und kann nicht ge\xF6ffnet werden.",
947
948
  "pptx.viewer.loadError": "Pr\xE4sentation konnte nicht geladen werden.",
948
949
  "pptx.viewer.loadLimit.maxInputBytes": "Diese Datei ist {{actual}} gro\xDF und damit gr\xF6\xDFer als die {{maximum}}, die dieser Viewer annimmt.",
@@ -6492,6 +6493,8 @@ var translations34 = {
6492
6493
  "pptx.options.trust.protectedViewInfo": 'Dokumente werden schreibgesch\xFCtzt ge\xF6ffnet; verwenden Sie "Bearbeitung aktivieren", um \xC4nderungen vorzunehmen.',
6493
6494
  "pptx.options.trust.allowExternalContent": "Externe Inhalte zulassen (Remotebilder und -medien)",
6494
6495
  "pptx.options.trust.allowExternalContentInfo": "Wenn deaktiviert, wird nur in der Datei eingebetteter Inhalt angezeigt.",
6496
+ "pptx.options.trust.allowFontDownloads": "Nicht installierte oder eingebettete Schriftarten herunterladen (Google Fonts)",
6497
+ "pptx.options.trust.allowFontDownloadsInfo": "Wenn aktiviert, ruft Ihr Browser fehlende Schriftarten von fonts.googleapis.com und fonts.gstatic.com (oder vom Schriftartserver Ihrer Organisation) ab. Wenn deaktiviert, verwendet Text installierte, eingebettete oder Ersatzschriftarten, sodass Zeilenumbr\xFCche von PowerPoint abweichen k\xF6nnen.",
6495
6498
  "pptx.options.trust.confirmHyperlinks": "Vor dem \xD6ffnen externer Hyperlinks best\xE4tigen"
6496
6499
  };
6497
6500
 
package/dist/i18n/de.mjs CHANGED
@@ -917,6 +917,7 @@ var translations5 = {
917
917
  "pptx.toolbar.save": "Speichern",
918
918
  "pptx.settings.done": "Erledigt",
919
919
  "pptx.viewer.loading": "Pr\xE4sentation wird geladen\u2026",
920
+ "pptx.viewer.loadingFonts": "Schriftarten werden heruntergeladen ({{loaded}} von {{total}})\u2026",
920
921
  "pptx.viewer.encrypted": "Diese Pr\xE4sentation ist passwortgesch\xFCtzt und kann nicht ge\xF6ffnet werden.",
921
922
  "pptx.viewer.loadError": "Pr\xE4sentation konnte nicht geladen werden.",
922
923
  "pptx.viewer.loadLimit.maxInputBytes": "Diese Datei ist {{actual}} gro\xDF und damit gr\xF6\xDFer als die {{maximum}}, die dieser Viewer annimmt.",
@@ -6466,6 +6467,8 @@ var translations34 = {
6466
6467
  "pptx.options.trust.protectedViewInfo": 'Dokumente werden schreibgesch\xFCtzt ge\xF6ffnet; verwenden Sie "Bearbeitung aktivieren", um \xC4nderungen vorzunehmen.',
6467
6468
  "pptx.options.trust.allowExternalContent": "Externe Inhalte zulassen (Remotebilder und -medien)",
6468
6469
  "pptx.options.trust.allowExternalContentInfo": "Wenn deaktiviert, wird nur in der Datei eingebetteter Inhalt angezeigt.",
6470
+ "pptx.options.trust.allowFontDownloads": "Nicht installierte oder eingebettete Schriftarten herunterladen (Google Fonts)",
6471
+ "pptx.options.trust.allowFontDownloadsInfo": "Wenn aktiviert, ruft Ihr Browser fehlende Schriftarten von fonts.googleapis.com und fonts.gstatic.com (oder vom Schriftartserver Ihrer Organisation) ab. Wenn deaktiviert, verwendet Text installierte, eingebettete oder Ersatzschriftarten, sodass Zeilenumbr\xFCche von PowerPoint abweichen k\xF6nnen.",
6469
6472
  "pptx.options.trust.confirmHyperlinks": "Vor dem \xD6ffnen externer Hyperlinks best\xE4tigen"
6470
6473
  };
6471
6474
 
package/dist/i18n/es.cjs CHANGED
@@ -943,6 +943,7 @@ var translations5 = {
943
943
  "pptx.toolbar.save": "Guardar",
944
944
  "pptx.settings.done": "Hecho",
945
945
  "pptx.viewer.loading": "Cargando presentaci\xF3n\u2026",
946
+ "pptx.viewer.loadingFonts": "Descargando fuentes ({{loaded}} de {{total}})\u2026",
946
947
  "pptx.viewer.encrypted": "Esta presentaci\xF3n est\xE1 protegida con contrase\xF1a y no se puede abrir.",
947
948
  "pptx.viewer.loadError": "No se pudo cargar la presentaci\xF3n.",
948
949
  "pptx.viewer.loadLimit.maxInputBytes": "Este archivo ocupa {{actual}}, m\xE1s que los {{maximum}} que admite este visor.",
@@ -6492,6 +6493,8 @@ var translations34 = {
6492
6493
  "pptx.options.trust.protectedViewInfo": "Los documentos se abren como solo lectura; use Habilitar edici\xF3n para realizar cambios.",
6493
6494
  "pptx.options.trust.allowExternalContent": "Permitir contenido externo (im\xE1genes y medios remotos)",
6494
6495
  "pptx.options.trust.allowExternalContentInfo": "Cuando est\xE1 desactivado, solo se muestra el contenido incrustado en el archivo.",
6496
+ "pptx.options.trust.allowFontDownloads": "Descargar fuentes que no est\xE1n instaladas ni incrustadas (Google Fonts)",
6497
+ "pptx.options.trust.allowFontDownloadsInfo": "Cuando est\xE1 activado, el navegador se conecta a fonts.googleapis.com y fonts.gstatic.com (o al servidor de fuentes de su organizaci\xF3n) para obtener las fuentes que faltan. Cuando est\xE1 desactivado, el texto usa fuentes instaladas, incrustadas o sustitutas, por lo que los saltos de l\xEDnea pueden diferir de PowerPoint.",
6495
6498
  "pptx.options.trust.confirmHyperlinks": "Confirmar antes de abrir hiperv\xEDnculos externos"
6496
6499
  };
6497
6500
 
package/dist/i18n/es.mjs CHANGED
@@ -917,6 +917,7 @@ var translations5 = {
917
917
  "pptx.toolbar.save": "Guardar",
918
918
  "pptx.settings.done": "Hecho",
919
919
  "pptx.viewer.loading": "Cargando presentaci\xF3n\u2026",
920
+ "pptx.viewer.loadingFonts": "Descargando fuentes ({{loaded}} de {{total}})\u2026",
920
921
  "pptx.viewer.encrypted": "Esta presentaci\xF3n est\xE1 protegida con contrase\xF1a y no se puede abrir.",
921
922
  "pptx.viewer.loadError": "No se pudo cargar la presentaci\xF3n.",
922
923
  "pptx.viewer.loadLimit.maxInputBytes": "Este archivo ocupa {{actual}}, m\xE1s que los {{maximum}} que admite este visor.",
@@ -6466,6 +6467,8 @@ var translations34 = {
6466
6467
  "pptx.options.trust.protectedViewInfo": "Los documentos se abren como solo lectura; use Habilitar edici\xF3n para realizar cambios.",
6467
6468
  "pptx.options.trust.allowExternalContent": "Permitir contenido externo (im\xE1genes y medios remotos)",
6468
6469
  "pptx.options.trust.allowExternalContentInfo": "Cuando est\xE1 desactivado, solo se muestra el contenido incrustado en el archivo.",
6470
+ "pptx.options.trust.allowFontDownloads": "Descargar fuentes que no est\xE1n instaladas ni incrustadas (Google Fonts)",
6471
+ "pptx.options.trust.allowFontDownloadsInfo": "Cuando est\xE1 activado, el navegador se conecta a fonts.googleapis.com y fonts.gstatic.com (o al servidor de fuentes de su organizaci\xF3n) para obtener las fuentes que faltan. Cuando est\xE1 desactivado, el texto usa fuentes instaladas, incrustadas o sustitutas, por lo que los saltos de l\xEDnea pueden diferir de PowerPoint.",
6469
6472
  "pptx.options.trust.confirmHyperlinks": "Confirmar antes de abrir hiperv\xEDnculos externos"
6470
6473
  };
6471
6474
 
package/dist/i18n/fr.cjs CHANGED
@@ -943,6 +943,7 @@ var translations5 = {
943
943
  "pptx.toolbar.save": "Sauvegarder",
944
944
  "pptx.settings.done": "Fait",
945
945
  "pptx.viewer.loading": "Chargement de la pr\xE9sentation\u2026",
946
+ "pptx.viewer.loadingFonts": "T\xE9l\xE9chargement des polices ({{loaded}} sur {{total}})\u2026",
946
947
  "pptx.viewer.encrypted": "Cette pr\xE9sentation est prot\xE9g\xE9e par mot de passe et ne peut pas \xEAtre ouverte.",
947
948
  "pptx.viewer.loadError": "\xC9chec du chargement de la pr\xE9sentation.",
948
949
  "pptx.viewer.loadLimit.maxInputBytes": "Ce fichier fait {{actual}}, plus que les {{maximum}} accept\xE9s par cette visionneuse.",
@@ -6495,6 +6496,8 @@ var translations34 = {
6495
6496
  "pptx.options.trust.protectedViewInfo": `Les documents s'ouvrent en lecture seule ; utilisez "Activer la modification" pour apporter des modifications.`,
6496
6497
  "pptx.options.trust.allowExternalContent": "Autoriser le contenu externe (images et m\xE9dias distants)",
6497
6498
  "pptx.options.trust.allowExternalContentInfo": "Lorsque cette option est d\xE9sactiv\xE9e, seul le contenu incorpor\xE9 dans le fichier est affich\xE9.",
6499
+ "pptx.options.trust.allowFontDownloads": "T\xE9l\xE9charger les polices non install\xE9es ni incorpor\xE9es (Google Fonts)",
6500
+ "pptx.options.trust.allowFontDownloadsInfo": "Lorsque cette option est activ\xE9e, votre navigateur contacte fonts.googleapis.com et fonts.gstatic.com (ou le serveur de polices de votre organisation) pour obtenir les polices manquantes. Lorsqu'elle est d\xE9sactiv\xE9e, le texte utilise des polices install\xE9es, incorpor\xE9es ou de substitution, et les sauts de ligne peuvent donc diff\xE9rer de PowerPoint.",
6498
6501
  "pptx.options.trust.confirmHyperlinks": "Confirmer avant d'ouvrir des liens hypertexte externes"
6499
6502
  };
6500
6503
 
package/dist/i18n/fr.mjs CHANGED
@@ -917,6 +917,7 @@ var translations5 = {
917
917
  "pptx.toolbar.save": "Sauvegarder",
918
918
  "pptx.settings.done": "Fait",
919
919
  "pptx.viewer.loading": "Chargement de la pr\xE9sentation\u2026",
920
+ "pptx.viewer.loadingFonts": "T\xE9l\xE9chargement des polices ({{loaded}} sur {{total}})\u2026",
920
921
  "pptx.viewer.encrypted": "Cette pr\xE9sentation est prot\xE9g\xE9e par mot de passe et ne peut pas \xEAtre ouverte.",
921
922
  "pptx.viewer.loadError": "\xC9chec du chargement de la pr\xE9sentation.",
922
923
  "pptx.viewer.loadLimit.maxInputBytes": "Ce fichier fait {{actual}}, plus que les {{maximum}} accept\xE9s par cette visionneuse.",
@@ -6469,6 +6470,8 @@ var translations34 = {
6469
6470
  "pptx.options.trust.protectedViewInfo": `Les documents s'ouvrent en lecture seule ; utilisez "Activer la modification" pour apporter des modifications.`,
6470
6471
  "pptx.options.trust.allowExternalContent": "Autoriser le contenu externe (images et m\xE9dias distants)",
6471
6472
  "pptx.options.trust.allowExternalContentInfo": "Lorsque cette option est d\xE9sactiv\xE9e, seul le contenu incorpor\xE9 dans le fichier est affich\xE9.",
6473
+ "pptx.options.trust.allowFontDownloads": "T\xE9l\xE9charger les polices non install\xE9es ni incorpor\xE9es (Google Fonts)",
6474
+ "pptx.options.trust.allowFontDownloadsInfo": "Lorsque cette option est activ\xE9e, votre navigateur contacte fonts.googleapis.com et fonts.gstatic.com (ou le serveur de polices de votre organisation) pour obtenir les polices manquantes. Lorsqu'elle est d\xE9sactiv\xE9e, le texte utilise des polices install\xE9es, incorpor\xE9es ou de substitution, et les sauts de ligne peuvent donc diff\xE9rer de PowerPoint.",
6472
6475
  "pptx.options.trust.confirmHyperlinks": "Confirmer avant d'ouvrir des liens hypertexte externes"
6473
6476
  };
6474
6477
 
@@ -941,6 +941,7 @@ var translations7 = {
941
941
  "pptx.toolbar.save": "\u4FDD\u5B58",
942
942
  "pptx.settings.done": "\u5B8C\u6210",
943
943
  "pptx.viewer.loading": "\u6B63\u5728\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F...",
944
+ "pptx.viewer.loadingFonts": "\u6B63\u5728\u4E0B\u8F7D\u5B57\u4F53\uFF08{{loaded}}/{{total}}\uFF09...",
944
945
  "pptx.viewer.encrypted": "\u8BE5\u6F14\u793A\u6587\u7A3F\u53D7\u5BC6\u7801\u4FDD\u62A4\uFF0C\u65E0\u6CD5\u6253\u5F00\u3002",
945
946
  "pptx.viewer.loadError": "\u65E0\u6CD5\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F\u3002",
946
947
  "pptx.viewer.loadLimit.maxInputBytes": "\u6B64\u6587\u4EF6\u5927\u5C0F\u4E3A {{actual}}\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}}\u3002",
@@ -6517,6 +6518,8 @@ var translations42 = {
6517
6518
  "pptx.options.trust.protectedViewInfo": "\u6587\u4EF6\u4EE5\u53EA\u8BFB\u65B9\u5F0F\u6253\u5F00\uFF1B\u4F7F\u7528\u542F\u7528\u7F16\u8F91\u8FDB\u884C\u66F4\u6539\u3002",
6518
6519
  "pptx.options.trust.allowExternalContent": "\u5141\u8BB8\u5916\u90E8\u5185\u5BB9\uFF08\u8FDC\u7A0B\u56FE\u50CF\u548C\u5A92\u4F53\uFF09",
6519
6520
  "pptx.options.trust.allowExternalContentInfo": "\u5173\u95ED\u65F6\uFF0C\u4EC5\u663E\u793A\u6587\u4EF6\u4E2D\u5D4C\u5165\u7684\u5185\u5BB9\u3002",
6521
+ "pptx.options.trust.allowFontDownloads": "\u4E0B\u8F7D\u672A\u5B89\u88C5\u6216\u672A\u5D4C\u5165\u7684\u5B57\u4F53\uFF08Google Fonts\uFF09",
6522
+ "pptx.options.trust.allowFontDownloadsInfo": "\u5F00\u542F\u65F6\uFF0C\u6D4F\u89C8\u5668\u4F1A\u8FDE\u63A5 fonts.googleapis.com \u548C fonts.gstatic.com\uFF08\u6216\u8D35\u7EC4\u7EC7\u8BBE\u7F6E\u7684\u5B57\u4F53\u670D\u52A1\u5668\uFF09\u4EE5\u83B7\u53D6\u7F3A\u5C11\u7684\u5B57\u4F53\u3002\u5173\u95ED\u65F6\uFF0C\u6587\u672C\u4F7F\u7528\u5DF2\u5B89\u88C5\u3001\u5DF2\u5D4C\u5165\u6216\u66FF\u4EE3\u5B57\u4F53\uFF0C\u56E0\u6B64\u6362\u884C\u53EF\u80FD\u4E0E PowerPoint \u4E0D\u540C\u3002",
6520
6523
  "pptx.options.trust.confirmHyperlinks": "\u6253\u5F00\u5916\u90E8\u8D85\u94FE\u63A5\u4E4B\u524D\u786E\u8BA4"
6521
6524
  };
6522
6525
 
@@ -915,6 +915,7 @@ var translations7 = {
915
915
  "pptx.toolbar.save": "\u4FDD\u5B58",
916
916
  "pptx.settings.done": "\u5B8C\u6210",
917
917
  "pptx.viewer.loading": "\u6B63\u5728\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F...",
918
+ "pptx.viewer.loadingFonts": "\u6B63\u5728\u4E0B\u8F7D\u5B57\u4F53\uFF08{{loaded}}/{{total}}\uFF09...",
918
919
  "pptx.viewer.encrypted": "\u8BE5\u6F14\u793A\u6587\u7A3F\u53D7\u5BC6\u7801\u4FDD\u62A4\uFF0C\u65E0\u6CD5\u6253\u5F00\u3002",
919
920
  "pptx.viewer.loadError": "\u65E0\u6CD5\u52A0\u8F7D\u6F14\u793A\u6587\u7A3F\u3002",
920
921
  "pptx.viewer.loadLimit.maxInputBytes": "\u6B64\u6587\u4EF6\u5927\u5C0F\u4E3A {{actual}}\uFF0C\u8D85\u8FC7\u6B64\u67E5\u770B\u5668\u5141\u8BB8\u7684 {{maximum}}\u3002",
@@ -6491,6 +6492,8 @@ var translations42 = {
6491
6492
  "pptx.options.trust.protectedViewInfo": "\u6587\u4EF6\u4EE5\u53EA\u8BFB\u65B9\u5F0F\u6253\u5F00\uFF1B\u4F7F\u7528\u542F\u7528\u7F16\u8F91\u8FDB\u884C\u66F4\u6539\u3002",
6492
6493
  "pptx.options.trust.allowExternalContent": "\u5141\u8BB8\u5916\u90E8\u5185\u5BB9\uFF08\u8FDC\u7A0B\u56FE\u50CF\u548C\u5A92\u4F53\uFF09",
6493
6494
  "pptx.options.trust.allowExternalContentInfo": "\u5173\u95ED\u65F6\uFF0C\u4EC5\u663E\u793A\u6587\u4EF6\u4E2D\u5D4C\u5165\u7684\u5185\u5BB9\u3002",
6495
+ "pptx.options.trust.allowFontDownloads": "\u4E0B\u8F7D\u672A\u5B89\u88C5\u6216\u672A\u5D4C\u5165\u7684\u5B57\u4F53\uFF08Google Fonts\uFF09",
6496
+ "pptx.options.trust.allowFontDownloadsInfo": "\u5F00\u542F\u65F6\uFF0C\u6D4F\u89C8\u5668\u4F1A\u8FDE\u63A5 fonts.googleapis.com \u548C fonts.gstatic.com\uFF08\u6216\u8D35\u7EC4\u7EC7\u8BBE\u7F6E\u7684\u5B57\u4F53\u670D\u52A1\u5668\uFF09\u4EE5\u83B7\u53D6\u7F3A\u5C11\u7684\u5B57\u4F53\u3002\u5173\u95ED\u65F6\uFF0C\u6587\u672C\u4F7F\u7528\u5DF2\u5B89\u88C5\u3001\u5DF2\u5D4C\u5165\u6216\u66FF\u4EE3\u5B57\u4F53\uFF0C\u56E0\u6B64\u6362\u884C\u53EF\u80FD\u4E0E PowerPoint \u4E0D\u540C\u3002",
6494
6497
  "pptx.options.trust.confirmHyperlinks": "\u6253\u5F00\u5916\u90E8\u8D85\u94FE\u63A5\u4E4B\u524D\u786E\u8BA4"
6495
6498
  };
6496
6499
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
2
- import { PrintSettings, CanvasSize, RasterizeElementResult, RasterizeElementTilesResult, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, GoogleFontsOption, ListConversionScope, PptxLoadLimits, ToolbarActionId, RibbonAddInTab, ViewerCustomization, DocumentStorage, CloudFileProvider, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, CollaborationInput, CollaborationConfig, CollaborationState, PowerPointViewerAPI, ViewerCustomizationApi, PptxAutosaveStatusKind, DeckSaveIntent, InlineTextDraft, AnimationGroup, AlignEdge, DistributeAxis, MergeShapeOperation, PasteSpecialFormat, CropSession, CropElementUpdate, TemplateElementMap, HistoryTheme, ElementBoxPatch, EditorHistoryController, InkStrokeView, InkPoint, MasterViewCrudAction, MasterViewCrudActionId, FreeformToolKind, EditPointsElementPatch, SlideTemplateId, SlideTemplateBuildOptions, SlidePasteRequest, RibbonTransitionDraft, CellCoord, CellRect, PendingInlineTextEdit, InlineListController, ElementClipboardPayload, TableStyleSaveOptions, FontEmbeddingDescriptor, InlineTextEditSnapshot, SnapGuideInput, CollaborationLivePatcher, InlineTextDraftSink, ResolvedKeyboardCustomization, MarqueeRect, ShapeAdjustmentHandleDescriptor, SnapLine, ResizeHandleId, ConnectorEndpointKind, CollaborationInlineEditor, FindResult, CollaborationTransport, YDocLike, YjsFactories, CollabProviderHandle, CollaborationHistoryTarget, RemoteCursor, SanitizedPresence, CollabLoadOrigin, BroadcastConfig, ElementAnimationState, AuthoredSlideRange, RunProgramNotice, ZoomNavigationTarget, PresentationSnapshot, AutosaveRecoveryPrompt, CompatibilityWarningToast, SlideSizeEmu, LoadLimitTranslate, ReadOnlyRecommendation, ReadOnlyBannerPasswordError, ViewerOptions, ViewerOptionsStoreInit, ViewerPreferences, ToolbarTabId, ViewerOptionsGroupId, ViewerOptionPrimitive, ViewerOptionsConstraints, CompareResult, Guide, DeckViewPreferences, CollaborationShellState, ViewerMode, AutosaveDisabledReason, MobileSheetKey, CloudDocumentController, SaveProgressController, FieldSubstitutionContext, SlidesPaneLayoutGalleryRequest } from 'ooxml-ui/pptx';
2
+ import { PrintSettings, CanvasSize, RasterizeElementResult, RasterizeElementTilesResult, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, GoogleFontsOption, ListConversionScope, PptxLoadLimits, ToolbarActionId, RibbonAddInTab, ViewerCustomization, DocumentStorage, CloudFileProvider, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, CollaborationInput, CollaborationConfig, CollaborationState, PowerPointViewerAPI, ViewerCustomizationApi, PptxAutosaveStatusKind, DeckSaveIntent, InlineTextDraft, AnimationGroup, AlignEdge, DistributeAxis, MergeShapeOperation, PasteSpecialFormat, CropSession, CropElementUpdate, TemplateElementMap, HistoryTheme, ElementBoxPatch, EditorHistoryController, InkStrokeView, InkPoint, MasterViewCrudAction, MasterViewCrudActionId, FreeformToolKind, EditPointsElementPatch, SlideTemplateId, SlideTemplateBuildOptions, SlidePasteRequest, RibbonTransitionDraft, CellCoord, CellRect, PendingInlineTextEdit, InlineListController, ElementClipboardPayload, TableStyleSaveOptions, FontEmbeddingDescriptor, InlineTextEditSnapshot, SnapGuideInput, CollaborationLivePatcher, InlineTextDraftSink, ResolvedKeyboardCustomization, MarqueeRect, ShapeAdjustmentHandleDescriptor, SnapLine, ResizeHandleId, ConnectorEndpointKind, CollaborationInlineEditor, FindResult, CollaborationTransport, YDocLike, YjsFactories, CollabProviderHandle, CollaborationHistoryTarget, RemoteCursor, SanitizedPresence, CollabLoadOrigin, BroadcastConfig, ElementAnimationState, AuthoredSlideRange, RunProgramNotice, ZoomNavigationTarget, PresentationSnapshot, AutosaveRecoveryPrompt, CompatibilityWarningToast, SlideSizeEmu, DeckWebfontProgress, LoadLimitTranslate, ReadOnlyRecommendation, ReadOnlyBannerPasswordError, ViewerOptions, ViewerOptionsStoreInit, ViewerPreferences, ToolbarTabId, ViewerOptionsGroupId, ViewerOptionPrimitive, ViewerOptionsConstraints, CompareResult, Guide, DeckViewPreferences, CollaborationShellState, ViewerMode, AutosaveDisabledReason, MobileSheetKey, CloudDocumentController, SaveProgressController, FieldSubstitutionContext, SlidesPaneLayoutGalleryRequest } from 'ooxml-ui/pptx';
3
3
  export { AutosaveRecord, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, BackstageCustomization, CANVAS_CONTEXT_MENU_COMMAND_IDS, CanvasSize, CollaborationConfig, CollaborationRole, CollaborationShellState, CollaborationState, CollaborationTransport, ConnectionStatus, ContextMenuCustomization, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, ElementUpdate, ElementUpdateOptions, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, HostCanvasMenuContext, HostElementMenuContext, HostMenuCommand, KeyboardCustomization, ListConversionScope, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OptionsCustomization, OptionsPageId, OptionsSectionId, OptionsSettingId, OptionsSettingValues, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_CONTROL_IDS, RIBBON_GROUP_IDS, RIBBON_TAB_IDS, RemoteCursor, ResolvedCustomization, RibbonContextualTabId, RibbonControlId, RibbonCustomization, RibbonGroupId, SanitizedPresence, SavedPresentationFormat, SessionDeck, ShortcutChord, SlidesPaneLayoutGalleryRequest, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, ViewerCustomization, ViewerCustomizationApi, ViewerDialogId, ViewerExportFormatId, ViewerFeatureId, ViewerPanelId, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, describeCollaborationShellState, forgetSessionDeck, getAutosaveSnapshot, getSessionTabId, isLegacyBinaryPresentation, isSupportedPresentationFile, listAutosaveSnapshots, loadPresentationDeck, loadSessionDeck, parsePresentationSessionId, presentationBaseName, rememberSessionDeck, restoreSessionDeck, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from 'ooxml-ui/pptx';
4
4
  import { Component } from 'svelte';
5
5
  import { PptxAiConfig, PptxAiBridge } from 'ooxml-ui/pptx/ai';
@@ -335,7 +335,10 @@ interface PowerPointViewerProps extends ViewportFitOptions {
335
335
  initialSlide?: number;
336
336
  /**
337
337
  * Google Fonts fallback for deck fonts that are neither installed nor
338
- * embedded. Unset: the viewer loads them from `fonts.googleapis.com`.
338
+ * embedded. Unset: File > Options > Trust Center > "Download fonts that
339
+ * are not installed or embedded" decides (on by default: the viewer
340
+ * loads them from `fonts.googleapis.com`). Any other value locks that
341
+ * option: off for `false` or an invalid `baseUrl`, on for a mirror.
339
342
  * `false`: no request goes to Google (`fonts.googleapis.com` or
340
343
  * `fonts.gstatic.com`); text uses installed, embedded or fallback fonts.
341
344
  * `{ baseUrl }`: requests go to a self-hosted mirror of the Google Fonts
@@ -3097,6 +3100,8 @@ declare class PresentationLoader {
3097
3100
  tableStylesToDelete: string[];
3098
3101
  /** True while a load is in flight. */
3099
3102
  loading: boolean;
3103
+ /** Webfont download progress while a load waits for the deck's fonts (after a short delay). */
3104
+ fontProgress: DeckWebfontProgress | null;
3100
3105
  /** Error message from the last failed load, or null. */
3101
3106
  error: string | null;
3102
3107
  /** True when the file is password-protected and could not be opened. */
@@ -3128,6 +3133,11 @@ declare class PresentationLoader {
3128
3133
  * the core's English message.
3129
3134
  */
3130
3135
  translate: LoadLimitTranslate | undefined;
3136
+ /**
3137
+ * The host `googleFonts` prop, read when a load waits for the deck's
3138
+ * webfonts. Set by the composition root; unset loads from Google Fonts.
3139
+ */
3140
+ getGoogleFonts: () => GoogleFontsOption | undefined;
3131
3141
  /** Parse a `.pptx` buffer into reactive viewer state. */
3132
3142
  load(raw: Uint8Array | ArrayBuffer, origin?: CollabLoadOrigin): Promise<void>;
3133
3143
  /**
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as s, g as o, h as a, l as r, m as S, p as i, s as t, t as _, w as T } from "./export-C3NWTUOt.js";
1
+ import { _ as s, g as o, h as a, l as r, m as S, p as i, s as t, t as _, w as T } from "./export-2vQNeP9e.js";
2
2
  import { i as n } from "./translator-2U8GG-ce.js";
3
3
  import "./i18n.js";
4
4
  import { BACKSTAGE_CARD_IDS as O, BACKSTAGE_PAGE_IDS as D, CANVAS_CONTEXT_MENU_COMMAND_IDS as N, EDITOR_SHORTCUT_ACTION_IDS as A, ELEMENT_CONTEXT_MENU_COMMAND_IDS as m, OPTIONS_PAGE_IDS as P, OPTIONS_SECTION_IDS as d, OPTIONS_SETTING_IDS as C, PPTX_OPEN_ACCEPT as p, PRESENTATION_OPEN_EXTENSIONS as R, RIBBON_CONTROL_IDS as v, RIBBON_GROUP_IDS as B, RIBBON_TAB_IDS as g, TOOLBAR_BUTTON_IDS as h, VIEWER_DIALOG_IDS as c, VIEWER_EXPORT_FORMAT_IDS as u, VIEWER_FEATURE_IDS as L, VIEWER_PANEL_IDS as M, createImageElementFromFile as V, defaultCssVars as f, defaultRadius as k, defaultThemeColors as G, deleteAutosaveSnapshot as b, describeCollaborationShellState as x, forgetSessionDeck as F, getAutosaveSnapshot as U, getSessionTabId as X, isLegacyBinaryPresentation as W, isSupportedPresentationFile as w, listAutosaveSnapshots as y, loadPresentationDeck as K, loadSessionDeck as H, parsePresentationSessionId as j, presentationBaseName as q, rememberSessionDeck as z, restoreSessionDeck as J, savedPresentationFileName as Q, themeToCssVars as Y, vermilionDarkColors as Z, vermilionDarkTheme as $, vermilionLightColors as ee, vermilionLightTheme as se, vermilionRadius as oe } from "ooxml-ui/pptx";
package/dist/internals.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as T } from "./transition-overlay-D3b7XOOt.js";
1
+ import { t as T } from "./transition-overlay-DmshZAWm.js";
2
2
  import { CINEMATIC_TRANSITION_KEYFRAMES as e, DEFAULT_MORPH_DURATION_MS as _, DEFAULT_TRANSITION_DURATION_MS as n, EASE as o, INSTANT as A, P14_TRANSITION_KEYFRAMES as E, P14_TRANSITION_KEYFRAMES_2 as I, P14_TRANSITION_KEYFRAMES_ALL as t, RANDOM_ELIGIBLE_TYPES as N, SLIDE_TRANSITION_KEYFRAMES as r, SLIDE_TRANSITION_KEYFRAMES_CSS as R, TRANSITION_SPEED_DURATION_MS as s, WHEEL_SPOKE_COUNTS as O, getCinematicTransitionAnimations as a, getP14TransitionAnimations as M, getSlideTransitionAnimations as D, resolveDirection as l, resolveDirection8 as L, resolveOrientation as P, resolveSlideTransition as m, resolveTransitionDurationMs as F, resolveWheelSpokeCount as v } from "ooxml-ui/pptx";
3
3
  export {
4
4
  e as CINEMATIC_TRANSITION_KEYFRAMES,