pptx-svelte-viewer 4.63.1 → 4.65.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 +53 -0
- package/dist/{export-CCAOVMwd.js → export-C3NWTUOt.js} +8345 -8333
- package/dist/i18n/de.cjs +5 -0
- package/dist/i18n/de.mjs +5 -0
- package/dist/i18n/es.cjs +5 -0
- package/dist/i18n/es.mjs +5 -0
- package/dist/i18n/fr.cjs +5 -0
- package/dist/i18n/fr.mjs +5 -0
- package/dist/i18n/zh-CN.cjs +5 -0
- package/dist/i18n/zh-CN.mjs +5 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/internals.js +1 -1
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/transition-overlay-D3b7XOOt.js +4526 -0
- package/dist/viewer/index.d.ts +5 -1
- package/dist/viewer/index.js +2 -2
- package/dist/{y-webrtc-B64VF2WC.js → y-webrtc-e15qtqGo.js} +1 -1
- package/package.json +3 -3
- package/dist/transition-overlay-B7usotQl.js +0 -4488
package/dist/i18n/de.cjs
CHANGED
|
@@ -844,6 +844,11 @@ var translations5 = {
|
|
|
844
844
|
"pptx.statusBar.zoomOut": "Verkleinern",
|
|
845
845
|
"pptx.statusBar.zoomToFit": "An Fenster anpassen",
|
|
846
846
|
"pptx.autosave.saving": "Speichern...",
|
|
847
|
+
"pptx.autosave.progress.uploading": "Speichern\u2026 {percent}%",
|
|
848
|
+
"pptx.autosave.progress.checking": "Auf \xC4nderungen pr\xFCfen\u2026",
|
|
849
|
+
"pptx.autosave.progress.downloading": "Neueste Version wird abgerufen\u2026 {percent}%",
|
|
850
|
+
"pptx.autosave.progress.downloadingUnknown": "Neueste Version wird abgerufen\u2026",
|
|
851
|
+
"pptx.autosave.progress.merging": "\xC4nderungen werden zusammengef\xFChrt\u2026",
|
|
847
852
|
"pptx.autosave.saved": "Gespeichert {{time}}",
|
|
848
853
|
"pptx.autosave.error": "Fehler beim automatischen Speichern",
|
|
849
854
|
"pptx.autosave.disabled": "Automatisches Speichern nicht verf\xFCgbar",
|
package/dist/i18n/de.mjs
CHANGED
|
@@ -818,6 +818,11 @@ var translations5 = {
|
|
|
818
818
|
"pptx.statusBar.zoomOut": "Verkleinern",
|
|
819
819
|
"pptx.statusBar.zoomToFit": "An Fenster anpassen",
|
|
820
820
|
"pptx.autosave.saving": "Speichern...",
|
|
821
|
+
"pptx.autosave.progress.uploading": "Speichern\u2026 {percent}%",
|
|
822
|
+
"pptx.autosave.progress.checking": "Auf \xC4nderungen pr\xFCfen\u2026",
|
|
823
|
+
"pptx.autosave.progress.downloading": "Neueste Version wird abgerufen\u2026 {percent}%",
|
|
824
|
+
"pptx.autosave.progress.downloadingUnknown": "Neueste Version wird abgerufen\u2026",
|
|
825
|
+
"pptx.autosave.progress.merging": "\xC4nderungen werden zusammengef\xFChrt\u2026",
|
|
821
826
|
"pptx.autosave.saved": "Gespeichert {{time}}",
|
|
822
827
|
"pptx.autosave.error": "Fehler beim automatischen Speichern",
|
|
823
828
|
"pptx.autosave.disabled": "Automatisches Speichern nicht verf\xFCgbar",
|
package/dist/i18n/es.cjs
CHANGED
|
@@ -844,6 +844,11 @@ var translations5 = {
|
|
|
844
844
|
"pptx.statusBar.zoomOut": "Alejar",
|
|
845
845
|
"pptx.statusBar.zoomToFit": "Ajustar a la ventana",
|
|
846
846
|
"pptx.autosave.saving": "Guardando...",
|
|
847
|
+
"pptx.autosave.progress.uploading": "Guardando\u2026 {percent}%",
|
|
848
|
+
"pptx.autosave.progress.checking": "Buscando cambios\u2026",
|
|
849
|
+
"pptx.autosave.progress.downloading": "Obteniendo la \xFAltima versi\xF3n\u2026 {percent}%",
|
|
850
|
+
"pptx.autosave.progress.downloadingUnknown": "Obteniendo la \xFAltima versi\xF3n\u2026",
|
|
851
|
+
"pptx.autosave.progress.merging": "Combinando ediciones\u2026",
|
|
847
852
|
"pptx.autosave.saved": "Guardado {{time}}",
|
|
848
853
|
"pptx.autosave.error": "Error de guardado autom\xE1tico",
|
|
849
854
|
"pptx.autosave.disabled": "Autoguardado no disponible",
|
package/dist/i18n/es.mjs
CHANGED
|
@@ -818,6 +818,11 @@ var translations5 = {
|
|
|
818
818
|
"pptx.statusBar.zoomOut": "Alejar",
|
|
819
819
|
"pptx.statusBar.zoomToFit": "Ajustar a la ventana",
|
|
820
820
|
"pptx.autosave.saving": "Guardando...",
|
|
821
|
+
"pptx.autosave.progress.uploading": "Guardando\u2026 {percent}%",
|
|
822
|
+
"pptx.autosave.progress.checking": "Buscando cambios\u2026",
|
|
823
|
+
"pptx.autosave.progress.downloading": "Obteniendo la \xFAltima versi\xF3n\u2026 {percent}%",
|
|
824
|
+
"pptx.autosave.progress.downloadingUnknown": "Obteniendo la \xFAltima versi\xF3n\u2026",
|
|
825
|
+
"pptx.autosave.progress.merging": "Combinando ediciones\u2026",
|
|
821
826
|
"pptx.autosave.saved": "Guardado {{time}}",
|
|
822
827
|
"pptx.autosave.error": "Error de guardado autom\xE1tico",
|
|
823
828
|
"pptx.autosave.disabled": "Autoguardado no disponible",
|
package/dist/i18n/fr.cjs
CHANGED
|
@@ -844,6 +844,11 @@ var translations5 = {
|
|
|
844
844
|
"pptx.statusBar.zoomOut": "Zoom arri\xE8re",
|
|
845
845
|
"pptx.statusBar.zoomToFit": "Ajuster \xE0 la fen\xEAtre",
|
|
846
846
|
"pptx.autosave.saving": "Enregistrement...",
|
|
847
|
+
"pptx.autosave.progress.uploading": "Enregistrement\u2026 {percent}%",
|
|
848
|
+
"pptx.autosave.progress.checking": "Recherche de modifications\u2026",
|
|
849
|
+
"pptx.autosave.progress.downloading": "R\xE9cup\xE9ration de la derni\xE8re version\u2026 {percent}%",
|
|
850
|
+
"pptx.autosave.progress.downloadingUnknown": "R\xE9cup\xE9ration de la derni\xE8re version\u2026",
|
|
851
|
+
"pptx.autosave.progress.merging": "Fusion des modifications\u2026",
|
|
847
852
|
"pptx.autosave.saved": "Enregistr\xE9 {{time}}",
|
|
848
853
|
"pptx.autosave.error": "Erreur d'enregistrement automatique",
|
|
849
854
|
"pptx.autosave.disabled": "Enregistrement automatique indisponible",
|
package/dist/i18n/fr.mjs
CHANGED
|
@@ -818,6 +818,11 @@ var translations5 = {
|
|
|
818
818
|
"pptx.statusBar.zoomOut": "Zoom arri\xE8re",
|
|
819
819
|
"pptx.statusBar.zoomToFit": "Ajuster \xE0 la fen\xEAtre",
|
|
820
820
|
"pptx.autosave.saving": "Enregistrement...",
|
|
821
|
+
"pptx.autosave.progress.uploading": "Enregistrement\u2026 {percent}%",
|
|
822
|
+
"pptx.autosave.progress.checking": "Recherche de modifications\u2026",
|
|
823
|
+
"pptx.autosave.progress.downloading": "R\xE9cup\xE9ration de la derni\xE8re version\u2026 {percent}%",
|
|
824
|
+
"pptx.autosave.progress.downloadingUnknown": "R\xE9cup\xE9ration de la derni\xE8re version\u2026",
|
|
825
|
+
"pptx.autosave.progress.merging": "Fusion des modifications\u2026",
|
|
821
826
|
"pptx.autosave.saved": "Enregistr\xE9 {{time}}",
|
|
822
827
|
"pptx.autosave.error": "Erreur d'enregistrement automatique",
|
|
823
828
|
"pptx.autosave.disabled": "Enregistrement automatique indisponible",
|
package/dist/i18n/zh-CN.cjs
CHANGED
|
@@ -845,6 +845,11 @@ var translations7 = {
|
|
|
845
845
|
"pptx.statusBar.zoomOut": "\u7F29\u5C0F",
|
|
846
846
|
"pptx.statusBar.zoomToFit": "\u9002\u5E94\u7A97\u53E3",
|
|
847
847
|
"pptx.autosave.saving": "\u6B63\u5728\u4FDD\u5B58\u2026",
|
|
848
|
+
"pptx.autosave.progress.uploading": "\u6B63\u5728\u4FDD\u5B58\u2026 {percent}%",
|
|
849
|
+
"pptx.autosave.progress.checking": "\u6B63\u5728\u68C0\u67E5\u66F4\u6539\u2026",
|
|
850
|
+
"pptx.autosave.progress.downloading": "\u6B63\u5728\u83B7\u53D6\u6700\u65B0\u7248\u672C\u2026 {percent}%",
|
|
851
|
+
"pptx.autosave.progress.downloadingUnknown": "\u6B63\u5728\u83B7\u53D6\u6700\u65B0\u7248\u672C\u2026",
|
|
852
|
+
"pptx.autosave.progress.merging": "\u6B63\u5728\u5408\u5E76\u7F16\u8F91\u2026",
|
|
848
853
|
"pptx.autosave.saved": "\u5DF2\u4FDD\u5B58 {{time}}",
|
|
849
854
|
"pptx.autosave.error": "\u81EA\u52A8\u4FDD\u5B58\u9519\u8BEF",
|
|
850
855
|
"pptx.autosave.disabled": "\u81EA\u52A8\u4FDD\u5B58\u4E0D\u53EF\u7528",
|
package/dist/i18n/zh-CN.mjs
CHANGED
|
@@ -819,6 +819,11 @@ var translations7 = {
|
|
|
819
819
|
"pptx.statusBar.zoomOut": "\u7F29\u5C0F",
|
|
820
820
|
"pptx.statusBar.zoomToFit": "\u9002\u5E94\u7A97\u53E3",
|
|
821
821
|
"pptx.autosave.saving": "\u6B63\u5728\u4FDD\u5B58\u2026",
|
|
822
|
+
"pptx.autosave.progress.uploading": "\u6B63\u5728\u4FDD\u5B58\u2026 {percent}%",
|
|
823
|
+
"pptx.autosave.progress.checking": "\u6B63\u5728\u68C0\u67E5\u66F4\u6539\u2026",
|
|
824
|
+
"pptx.autosave.progress.downloading": "\u6B63\u5728\u83B7\u53D6\u6700\u65B0\u7248\u672C\u2026 {percent}%",
|
|
825
|
+
"pptx.autosave.progress.downloadingUnknown": "\u6B63\u5728\u83B7\u53D6\u6700\u65B0\u7248\u672C\u2026",
|
|
826
|
+
"pptx.autosave.progress.merging": "\u6B63\u5728\u5408\u5E76\u7F16\u8F91\u2026",
|
|
822
827
|
"pptx.autosave.saved": "\u5DF2\u4FDD\u5B58 {{time}}",
|
|
823
828
|
"pptx.autosave.error": "\u81EA\u52A8\u4FDD\u5B58\u9519\u8BEF",
|
|
824
829
|
"pptx.autosave.disabled": "\u81EA\u52A8\u4FDD\u5B58\u4E0D\u53EF\u7528",
|
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, 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, 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';
|
|
@@ -3566,6 +3566,8 @@ interface ViewerStateBag {
|
|
|
3566
3566
|
openFile(): void;
|
|
3567
3567
|
/** The File > Open cloud file now open; cleared when another document is loaded. */
|
|
3568
3568
|
cloudDocument: CloudDocumentController;
|
|
3569
|
+
/** Progress of a save to the host's storage (upload, merge), read by the status bar. */
|
|
3570
|
+
saveProgress: SaveProgressController;
|
|
3569
3571
|
/** Run a Quick Access Toolbar command by catalog id (unknown ids no-op). */
|
|
3570
3572
|
runQuickAccessCommand(id: string): void;
|
|
3571
3573
|
/**
|
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-
|
|
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";
|
|
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-
|
|
1
|
+
import { t as T } from "./transition-overlay-D3b7XOOt.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,
|