pptx-svelte-viewer 4.30.2 → 4.31.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 +24 -0
- package/README.md +3 -1
- package/dist/{AiChatPanel-CRoSI3sz.js → AiChatPanel-DQcpaYBk.js} +2 -2
- package/dist/{export-o98bTQeZ.js → export-B7WzXP7J.js} +2600 -2585
- package/dist/index.d.ts +4 -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-HH1R3EHN.js +4390 -0
- package/dist/viewer/index.d.ts +3 -1
- package/dist/viewer/index.js +2 -2
- package/dist/{y-webrtc-Q-oYzMHo.js → y-webrtc-C5c3Q3Zh.js} +1 -1
- package/package.json +4 -4
- package/dist/transition-overlay-DdQQHW4O.js +0 -4361
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as svelte from 'svelte';
|
|
2
2
|
import { Component } from 'svelte';
|
|
3
|
-
import { PptxSlide, PptxData, SvgExportOptions, PptxSaveFormat, PptxElement, PptxChartData, PptxComment, PptxSlideMaster, PptxNotesMaster, PptxHandoutMaster, PptxSection, PptxHandler, PptxAnimationPreset, PptxHeaderFooter, PptxPresentationProperties, PptxCustomShow, PptxCoreProperties, PptxAppProperties, PptxCustomProperty, PptxTagCollection, TextSegment, MasterViewTab, ShapePptxElement, PptxLayoutOption, PptxLayoutPreview, PptxTransitionType, PptxSlideTransition, PptxTableData, PptxTheme, PptxViewProperties, PptxModernCommentAuthor, PptxCommentAuthor, PptxSlideSize, ParsedTableStyleMap, PptxModifyVerifier, PptxCompatibilityWarning, PptxEmbeddedFont, PptxThemeOption, PptxThemeColorScheme, PptxHandlerLoadOptions, PptxHandlerSaveOptions } from 'ooxml-core/pptx';
|
|
4
3
|
import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
|
|
5
4
|
import { PrintSettings, CanvasSize, RasterizeElementResult, RasterizeElementTilesResult, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, ToolbarActionId, ViewerCustomization, CollaborationConfig, PowerPointViewerAPI, ViewerCustomizationApi, RemoteCursor, SanitizedPresence, DeckSaveIntent, AnimationGroup, AlignEdge, DistributeAxis, MergeShapeOperation, PasteSpecialFormat, CropSession, CropElementUpdate, TemplateElementMap, ElementBoxPatch, InkStrokeView, InkPoint, MasterViewCrudAction, MasterViewCrudActionId, FreeformToolKind, EditPointsElementPatch, SlideTemplateId, SlideTemplateBuildOptions, RibbonTransitionDraft, CellCoord, CellRect, PendingInlineTextEdit, InlineListController, ElementClipboardPayload, TableStyleSaveOptions, FontEmbeddingDescriptor, InlineTextEditSnapshot, SnapGuideInput, CollaborationLivePatcher, ResolvedKeyboardCustomization, MarqueeRect, ShapeAdjustmentHandleDescriptor, SnapLine, ResizeHandleId, ConnectorEndpointKind, CollaborationInlineEditor, FindResult, ViewerPreferences, ViewportFitPadding, SlideSizeEmu, CollabLoadOrigin, AwarenessLike, CollaborationTransport, YDocLike, YjsFactories, ConnectionStatus, BroadcastConfig, ElementAnimationState, AuthoredSlideRange, RunProgramNotice, ZoomNavigationTarget, PresentationSnapshot, AutosaveRecoveryPrompt, CompatibilityWarningToast, ReadOnlyRecommendation, ModifyPasswordCheckResult, ViewerOptions, ViewerOptionsStoreInit, ToolbarTabId, ViewerOptionsGroupId, ViewerOptionPrimitive, ViewerOptionsConstraints, CompareResult, Guide, DeckViewPreferences, ResolvedCustomization, ViewerMode, CollaborationShellState, AutosaveDisabledReason, MobileSheetKey, FieldSubstitutionContext } from 'ooxml-ui/pptx';
|
|
6
5
|
export { CanvasSize, CollaborationShellState, ConnectionStatus, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, InlineListController, InlineListReadResult, InlineTextEditSnapshot, RemoteCursor, SanitizedPresence, ViewerTheme, zoomInPercent, zoomOutPercent } from 'ooxml-ui/pptx';
|
|
7
6
|
import { PptxAiConfig, PptxAiNotifyLevel, PptxAiBridge, PptxAiFocusedTarget, AiChangeBatch, AiCanvasHighlight, ToolCanvasTarget } from 'ooxml-ui/pptx/ai';
|
|
8
7
|
export { PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy } from 'ooxml-ui/pptx/ai';
|
|
9
8
|
import { LocaleCatalogEntry } from 'ooxml-ui/pptx/i18n';
|
|
9
|
+
import { PptxSlide, PptxData, SvgExportOptions, PptxSaveFormat, PptxElement, PptxChartData, PptxComment, PptxSlideMaster, PptxNotesMaster, PptxHandoutMaster, PptxSection, PptxHandler, PptxAnimationPreset, PptxHeaderFooter, PptxPresentationProperties, PptxCustomShow, PptxCoreProperties, PptxAppProperties, PptxCustomProperty, PptxTagCollection, TextSegment, MasterViewTab, ShapePptxElement, PptxLayoutOption, PptxLayoutPreview, PptxTransitionType, PptxSlideTransition, PptxTableData, PptxTheme, PptxViewProperties, PptxModernCommentAuthor, PptxCommentAuthor, PptxSlideSize, ParsedTableStyleMap, PptxModifyVerifier, PptxCompatibilityWarning, PptxEmbeddedFont, PptxThemeOption, PptxThemeColorScheme, PptxHandlerLoadOptions, PptxHandlerSaveOptions } from 'ooxml-core/pptx';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Animated-GIF export capture/encode pipeline. All the pure logic is shared:
|
|
@@ -430,6 +430,8 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
430
430
|
ondirtychange?: (dirty: boolean) => void;
|
|
431
431
|
oncontentchange?: (content: Uint8Array) => void;
|
|
432
432
|
onmodechange?: (mode: string) => void;
|
|
433
|
+
/** Fired before following a link; return false to cancel its default action. */
|
|
434
|
+
onhyperlinkclick?: ooxml_ui_pptx.HyperlinkClickHandler;
|
|
433
435
|
onzoomchange?: (zoom: number) => void;
|
|
434
436
|
onselectionchange?: (elementIds: string[]) => void;
|
|
435
437
|
onslidecountchange?: (count: number) => void;
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../transition-overlay-
|
|
2
|
-
import { S as e, _ as a, a as S, b as o, c as v, d as n, f as d, g as r, h as b, i as p, l as c, m, n as g, o as x, p as w, r as C, s as T, t as $, u as y, v as s, x as t } from "../export-
|
|
1
|
+
import "../transition-overlay-HH1R3EHN.js";
|
|
2
|
+
import { S as e, _ as a, a as S, b as o, c as v, d as n, f as d, g as r, h as b, i as p, l as c, m, n as g, o as x, p as w, r as C, s as T, t as $, u as y, v as s, x as t } from "../export-B7WzXP7J.js";
|
|
3
3
|
var P = e, V = t, u = s, A = a, R = r, f = o;
|
|
4
4
|
export {
|
|
5
5
|
A as CollaborationCursors,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as pr, O as gr, k as Fe } from "./transition-overlay-
|
|
1
|
+
import { A as pr, O as gr, k as Fe } from "./transition-overlay-HH1R3EHN.js";
|
|
2
2
|
import { $ as yr, A as br, B as Ct, D as mr, E as ut, F as _r, G as Ye, H as vr, I as Mt, J as je, K as wr, L as lt, M as se, O as Er, P as ae, R as ce, S as Cr, T as Rr, U as Rt, V as Sr, W as St, X as Tr, Y as ht, Z as Ar, _ as kr, a as Or, at as xr, b as Ge, c as Nr, d as Lr, et as Mr, f as Dr, g as Ir, i as Tt, it as Pr, j as it, k as Dt, l as jr, m as Ur, n as Br, nt as ft, o as It, ot as Fr, p as $r, q as Pt, r as $e, rt as jt, s as qr, st, t as Wr, tt as dt, u as Hr, v as Vr, w as Ut, x as Yr, y as Gr, z as Le } from "./awareness-BwmJcSKy.js";
|
|
3
3
|
import "yjs";
|
|
4
4
|
var zr = 1200, Kr = 2500, qe = 3e4, ot = (r) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-svelte-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.31.0",
|
|
4
4
|
"description": "pptx-viewer for Svelte 5: a PowerPoint viewer and editor component to render, edit, present, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"office",
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"html2canvas-pro": "^2.5.1",
|
|
117
117
|
"jspdf": "^4.2.1",
|
|
118
118
|
"jszip": "^3.10.2",
|
|
119
|
-
"ooxml-core": "^1.
|
|
120
|
-
"ooxml-ui": "^1.
|
|
119
|
+
"ooxml-core": "^1.6.0",
|
|
120
|
+
"ooxml-ui": "^1.6.0",
|
|
121
121
|
"opentype.js": "^2.0.0"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@types/opentype.js": "^1.3.10",
|
|
128
128
|
"ai": "^7.0.127",
|
|
129
129
|
"happy-dom": "^20.14.5",
|
|
130
|
-
"pptx-viewer-core": "^4.13.
|
|
130
|
+
"pptx-viewer-core": "^4.13.4",
|
|
131
131
|
"rollup": "^4.64.0",
|
|
132
132
|
"rollup-plugin-dts": "^6.5.1",
|
|
133
133
|
"svelte": "^5.57.1",
|