pptx-svelte-viewer 4.34.0 → 4.36.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.
@@ -337,6 +337,8 @@ interface PowerPointViewerProps extends ViewportFitOptions {
337
337
  * helpers (`hideRibbonTab`, `lockSetting`, ...) on the component instance;
338
338
  * mutating the same object in place is not observed.
339
339
  */
340
+ /** Initial inspector visibility; omitted preserves the desktop/mobile default. */
341
+ inspectorInitiallyOpen?: boolean;
340
342
  customization?: ViewerCustomization;
341
343
  /**
342
344
  * Show the speaker-notes panel and its toolbar toggle. Default true. The
@@ -2240,6 +2242,7 @@ declare class FindReplaceState {
2240
2242
  /** The inspector pane's tab strip, matching React's `InspectorTab`. */
2241
2243
  type InspectorTabId = 'elements' | 'properties' | 'comments';
2242
2244
  declare class ChromeUiState {
2245
+ constructor(inspectorInitiallyOpen?: boolean);
2243
2246
  /** Left thumbnail rail visibility (React: `isSidebarCollapsed`). */
2244
2247
  sidebarCollapsed: boolean;
2245
2248
  /** Right inspector pane visibility (React: `isInspectorPaneOpen`). */
@@ -2514,6 +2517,7 @@ declare class PresentationLoader {
2514
2517
  handoutMaster: PptxHandoutMaster | undefined;
2515
2518
  sections: PptxSection[];
2516
2519
  headerFooter: PptxHeaderFooter;
2520
+ firstSlideNumber: number | undefined;
2517
2521
  presentationProperties: PptxPresentationProperties;
2518
2522
  /**
2519
2523
  * View properties (`ppt/viewProps.xml`, `p:viewPr`): grid spacing, snap /
@@ -2901,6 +2905,7 @@ declare class AnimationPlayback {
2901
2905
  */
2902
2906
  reset(options?: {
2903
2907
  completed?: boolean;
2908
+ stopped?: boolean;
2904
2909
  }): void;
2905
2910
  /**
2906
2911
  * Reveal the next click-group. Returns `true` if a group was revealed, `false`
@@ -3635,6 +3640,7 @@ declare class ViewerParityUiState {
3635
3640
  * whichever component renders the actual markup.
3636
3641
  */
3637
3642
  interface CreateViewerStateOptions {
3643
+ inspectorInitiallyOpen?: boolean | undefined;
3638
3644
  getSource: () => Uint8Array | ArrayBuffer | null | undefined;
3639
3645
  collaboration?: CollaborationConfig;
3640
3646
  shareDefaults?: ShareDefaultsInput;
@@ -1,5 +1,5 @@
1
- import "../transition-overlay-DUVAVLC7.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-Z5I2ESiY.js";
1
+ import "../transition-overlay-DuEdHA8e.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-DhJVM_b9.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-DUVAVLC7.js";
1
+ import { A as pr, O as gr, k as Fe } from "./transition-overlay-DuEdHA8e.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.34.0",
3
+ "version": "4.36.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",
@@ -111,21 +111,21 @@
111
111
  "pack": "bun run build && bun pm pack"
112
112
  },
113
113
  "dependencies": {
114
- "@lucide/svelte": "^1.52.0",
114
+ "@lucide/svelte": "^1.54.0",
115
115
  "fast-xml-parser": "^5.11.2",
116
- "html2canvas-pro": "^2.5.1",
116
+ "html2canvas-pro": "^2.5.2",
117
117
  "jspdf": "^4.2.1",
118
118
  "jszip": "^3.10.2",
119
- "ooxml-core": "^1.9.0",
120
- "ooxml-ui": "^1.9.0",
119
+ "ooxml-core": "^1.11.0",
120
+ "ooxml-ui": "^1.11.0",
121
121
  "opentype.js": "^2.0.0"
122
122
  },
123
123
  "devDependencies": {
124
- "@ai-sdk/svelte": "^5.0.127",
124
+ "@ai-sdk/svelte": "^5.0.137",
125
125
  "@microsoft/api-extractor": "^7.59.3",
126
126
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
127
127
  "@types/opentype.js": "^1.3.10",
128
- "ai": "^7.0.127",
128
+ "ai": "^7.0.137",
129
129
  "happy-dom": "^20.14.6",
130
130
  "pptx-viewer-core": "^4.13.5",
131
131
  "rollup": "^4.64.3",