pptx-svelte-viewer 4.1.2 → 4.1.4

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.
@@ -16376,6 +16376,8 @@ declare class ViewerState {
16376
16376
  set zoomPercent(percent: number | null);
16377
16377
  /** Reset for a freshly-loaded presentation. */
16378
16378
  reset(slideCount: number, initialSlide?: number): void;
16379
+ /** Keep navigation bounds aligned when editor operations change the deck. */
16380
+ setSlideCount(slideCount: number): void;
16379
16381
  goTo(index: number): void;
16380
16382
  next(): void;
16381
16383
  prev(): void;
@@ -1,16 +1,16 @@
1
- import { Hh as l, Vh as S } from "../transition-overlay-CPN-2tva.js";
2
- import { A as e, F as a, M as o, N as r, P as s, c as n, d, f as b, i as m, j as t, l as p, m as c, n as g, o as x, p as w, r as C, s as P, t as T, u as V } from "../export-DI4TCh5m.js";
3
- var $ = a, y = s, A = o, f = t, u = e, R = r;
1
+ import { Uh as l, Wh as S } from "../transition-overlay-DIPxa90i.js";
2
+ import { A as e, F as a, M as o, N as r, P as s, c as n, d, f as b, i as m, j as t, l as p, m as c, n as g, o as x, p as w, r as C, s as P, t as T, u as $ } from "../export-B2Ws2H1S.js";
3
+ var y = a, A = s, V = o, f = t, u = e, R = r;
4
4
  export {
5
5
  f as CollaborationCursors,
6
6
  R as EditorLayer,
7
7
  T as PowerPointViewer,
8
8
  m as PresentationLoader,
9
9
  u as RemoteSelectionOverlay,
10
- $ as Ribbon,
11
- A as SlideCanvas,
10
+ y as Ribbon,
11
+ V as SlideCanvas,
12
12
  C as ViewerState,
13
- y as ViewerToolbar,
13
+ A as ViewerToolbar,
14
14
  d as clampSlideIndex,
15
15
  c as createSvelteAiBridge,
16
16
  g as createViewerState,
@@ -18,9 +18,9 @@ export {
18
18
  P as exportAllSlidesToSvgBlobs,
19
19
  n as exportSlideAsSvg,
20
20
  p as exportSlideToSvg,
21
- V as exportSlideToSvgBlob,
21
+ $ as exportSlideToSvgBlob,
22
22
  b as fitScale,
23
23
  w as resolveNavigationKey,
24
- S as zoomInPercent,
25
- l as zoomOutPercent
24
+ l as zoomInPercent,
25
+ S as zoomOutPercent
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-svelte-viewer",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "Svelte 5 PowerPoint viewer and editor component: render, edit, present, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "office",
@@ -119,11 +119,11 @@
119
119
  "pptx-viewer-mcp": "^2.5.5"
120
120
  },
121
121
  "devDependencies": {
122
- "@ai-sdk/svelte": "^5.0.97",
122
+ "@ai-sdk/svelte": "^5.0.107",
123
123
  "@microsoft/api-extractor": "^7.59.1",
124
124
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
125
125
  "@types/opentype.js": "^1.3.10",
126
- "ai": "^7.0.97",
126
+ "ai": "^7.0.107",
127
127
  "happy-dom": "^20.14.0",
128
128
  "rollup": "^4.63.1",
129
129
  "rollup-plugin-dts": "^6.5.1",