pptx-svelte-viewer 2.20.2 → 2.20.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, G as a, J as t, K as o, Q as i, W as r, X as n, Y as l, Z as S, a as d, at as m, c as p, ct as T, dt as v, et as P, ft as g, it as u, l as h, lt as c, mt as A, nt as C, o as N, ot as f, pt as k, q as D, rt as E, s as x, st as b, t as B, tt as I, u as O, ut as _ } from "./export-CkPplz4E.js";
1
+ import { $ as e, G as a, J as t, K as o, Q as i, W as r, X as n, Y as l, Z as S, a as d, at as m, c as p, ct as T, dt as v, et as P, ft as g, it as u, l as h, lt as c, mt as A, nt as C, o as N, ot as f, pt as k, q as D, rt as E, s as x, st as b, t as B, tt as I, u as O, ut as _ } from "./export-CEyYhd0_.js";
2
2
  import { i as R } from "./translator-Cs5ewuZ4.js";
3
3
  import "./i18n.js";
4
4
  export {
@@ -1,5 +1,5 @@
1
1
  import { PptxSlide } from 'pptx-viewer-core';
2
- import { CollaborationConfig, YDocLike, YjsFactories } from 'pptx-viewer-shared';
2
+ import { CollabLoadOrigin, CollaborationConfig, YDocLike, YjsFactories } from 'pptx-viewer-shared';
3
3
  export interface ObserveRemoteDeps {
4
4
  isApplyingRemote: () => boolean;
5
5
  setApplyingRemote: (value: boolean) => void;
@@ -19,7 +19,7 @@ export type AdoptDocSlidesDeps = Pick<ObserveRemoteDeps, 'setApplyingRemote' | '
19
19
  * win; an empty room means this client is the seeder and its loaded deck
20
20
  * stands (written into the doc by the normal gated publish path).
21
21
  */
22
- export declare function adoptDocSlidesAfterLoad(ydoc: YDocLike, deps: AdoptDocSlidesDeps): void;
22
+ export declare function adoptDocSlidesAfterLoad(ydoc: YDocLike, deps: AdoptDocSlidesDeps, origin?: CollabLoadOrigin): void;
23
23
  /** Register the remote-slide observer; returns the unobserve function. */
24
24
  export declare function observeRemoteSlides(ydoc: YDocLike, config: CollaborationConfig, deps: ObserveRemoteDeps): () => void;
25
25
  /** Everything `publishLocalSlides` needs from the controller's private state. */
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration-remote-sync.d.ts","sourceRoot":"","sources":["../../../src/viewer/collab/collaboration-remote-sync.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAQtF,MAAM,WAAW,iBAAiB;IACjC,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,iBAAiB,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACjD,iBAAiB,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACzD;AAED,yFAAyF;AACzF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACpC,iBAAiB,EACjB,mBAAmB,GAAG,eAAe,GAAG,mBAAmB,CAC3D,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAatF;AAED,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,mBAAmB,EAC3B,IAAI,EAAE,iBAAiB,GACrB,MAAM,IAAI,CAgBZ;AAED,iFAAiF;AACjF,MAAM,WAAW,uBAAuB;IACvC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/B,6EAA6E;IAC7E,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAClC,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,GAAG,IAAI,CAehF"}
1
+ {"version":3,"file":"collaboration-remote-sync.d.ts","sourceRoot":"","sources":["../../../src/viewer/collab/collaboration-remote-sync.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EACX,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,MAAM,oBAAoB,CAAC;AAS5B,MAAM,WAAW,iBAAiB;IACjC,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,iBAAiB,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACjD,iBAAiB,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACzD;AAED,yFAAyF;AACzF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACpC,iBAAiB,EACjB,mBAAmB,GAAG,eAAe,GAAG,mBAAmB,CAC3D,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,kBAAkB,EACxB,MAAM,GAAE,gBAAyB,GAC/B,IAAI,CAeN;AAED,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,mBAAmB,EAC3B,IAAI,EAAE,iBAAiB,GACrB,MAAM,IAAI,CAgBZ;AAED,iFAAiF;AACjF,MAAM,WAAW,uBAAuB;IACvC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/B,6EAA6E;IAC7E,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAClC,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,GAAG,IAAI,CAehF"}
@@ -1,4 +1,4 @@
1
- import { CollaborationConfig, CollaborationLivePatcher, ConnectionStatus, RemoteCursor, SanitizedPresence } from 'pptx-viewer-shared';
1
+ import { CollaborationConfig, CollabLoadOrigin, CollaborationLivePatcher, ConnectionStatus, RemoteCursor, SanitizedPresence } from 'pptx-viewer-shared';
2
2
  import { CollaborationDeps } from './collaboration-deps';
3
3
  /**
4
4
  * The collaboration controller. Construct it once during component setup: it
@@ -37,7 +37,7 @@ export declare class CollaborationController {
37
37
  * publish effect can flush the freshly loaded slides into the doc, so a
38
38
  * late joiner's bootstrap deck never clobbers the room's synced content.
39
39
  */
40
- adoptDocAfterLoad(): void;
40
+ adoptDocAfterLoad(origin?: CollabLoadOrigin): void;
41
41
  /** Start (or restart) a session with the given config (dialog-driven). */
42
42
  start(config: CollaborationConfig): Promise<void>;
43
43
  stop(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration.svelte.d.ts","sourceRoot":"","sources":["../../../src/viewer/collab/collaboration.svelte.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACX,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EAGjB,MAAM,oBAAoB,CAAC;AAW5B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAc9D;;;;GAIG;AACH,qBAAa,uBA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sB,CAAC;AAc9D;;;;GAIG;AACH,qBAAa,uBAAuB;;IACnC,yCAAyC;IACzC,MAAM,mBAA4C;IAClD,8EAA8E;IAC9E,QAAQ,CAAC,WAAW,EAAE,wBAAwB,CAAoC;gBA0BtE,IAAI,EAAE,iBAAiB;IAuBnC,4CAA4C;IAC5C,IAAI,MAAM,IAAI,OAAO,CAEpB;IACD,+FAA+F;IAC/F,IAAI,QAAQ,IAAI,OAAO,CAEtB;IACD,sDAAsD;IACtD,IAAI,OAAO,IAAI,YAAY,EAAE,CAE5B;IACD,sDAAsD;IACtD,IAAI,eAAe,IAAI,iBAAiB,EAAE,CAEzC;IACD,+DAA+D;IAC/D,IAAI,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAEpC;IAED,+EAA+E;IAC/E,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI;IAGhE,oEAAoE;IACpE,YAAY,CAAC,iBAAiB,EAAE,MAAM,GAAG,SAAS,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI;IAGpF,uEAAuE;IACvE,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAGnC,yEAAyE;IACzE,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAIzC;;;;;;OAMG;IACH,iBAAiB,CAAC,MAAM,GAAE,gBAAyB,GAAG,IAAI;IA8C1D,0EAA0E;IACpE,KAAK,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAsFvD,IAAI,IAAI,IAAI;CAoBZ"}
@@ -9488,6 +9488,39 @@ interface CollaborationLivePatcher {
9488
9488
  dispose: () => void;
9489
9489
  }
9490
9490
  //#endregion
9491
+ //#region src/render/collaboration-load-origin.d.ts
9492
+ /**
9493
+ * Who asked for the deck that just finished loading, and what that means for a
9494
+ * room that already holds slides.
9495
+ *
9496
+ * Every binding brackets its content-load with an adoption check: when a load
9497
+ * lands while a collaboration session is up and the shared doc already has
9498
+ * slides, the ROOM wins and the freshly parsed deck is thrown away. That rule
9499
+ * exists for one case only - a late joiner whose bootstrap deck (the blank or
9500
+ * sample deck the host mounted the viewer with) finishes parsing after the
9501
+ * room's real slides arrived, which would otherwise clobber them with nothing
9502
+ * left to repair it, since the doc itself never changed.
9503
+ *
9504
+ * Applied to EVERY load it also swallows the deck a user deliberately opens
9505
+ * during a session. Joining a room and then opening a file left the viewer on
9506
+ * the room's blank starter deck: the file parsed, was committed, and was
9507
+ * immediately overwritten (reproduced in the vanilla demo - a 7-slide deck
9508
+ * opened in a room settled back to the room's 1 slide, and the bigger the file
9509
+ * the longer the window). Opening a file is an act of authorship, so it is
9510
+ * published to the room instead.
9511
+ *
9512
+ * @module render/collaboration-load-origin
9513
+ */
9514
+ /**
9515
+ * Why a content load ran.
9516
+ *
9517
+ * - `bootstrap`: the deck the host handed the viewer at mount (`source`), or a
9518
+ * session restore. Nobody chose it during the session.
9519
+ * - `user`: opened during the session - File > Open, a recent file, a dropped
9520
+ * file, or a host calling the load API.
9521
+ */
9522
+ type CollabLoadOrigin = 'bootstrap' | 'user';
9523
+ //#endregion
9491
9524
  //#region src/render/slide-compare.d.ts
9492
9525
  type SlideDiffStatus = 'added' | 'removed' | 'changed' | 'unchanged';
9493
9526
  type ElementChangeKind = 'added' | 'removed' | 'moved' | 'resized' | 'textChanged';
@@ -12352,8 +12385,14 @@ declare class PresentationLoader {
12352
12385
  handler: PptxHandler | null;
12353
12386
  /** Incremented after each successful load (drives `load` callbacks). */
12354
12387
  loadCount: number;
12388
+ /**
12389
+ * Why the deck now loaded was loaded. A collaboration room may replace the
12390
+ * host's own `source` (a late joiner's bootstrap) but never a file the user
12391
+ * opened during the session (`shouldRoomSlidesReplaceLoad`).
12392
+ */
12393
+ loadOrigin: CollabLoadOrigin;
12355
12394
  /** Parse a `.pptx` buffer into reactive viewer state. */
12356
- load(raw: Uint8Array | ArrayBuffer): Promise<void>;
12395
+ load(raw: Uint8Array | ArrayBuffer, origin?: CollabLoadOrigin): Promise<void>;
12357
12396
  /** Cancel in-flight loads, revoke Blob URLs, dispose the handler. */
12358
12397
  dispose(): void;
12359
12398
  }
@@ -12495,7 +12534,7 @@ declare class CollaborationController {
12495
12534
  * publish effect can flush the freshly loaded slides into the doc, so a
12496
12535
  * late joiner's bootstrap deck never clobbers the room's synced content.
12497
12536
  */
12498
- adoptDocAfterLoad(): void;
12537
+ adoptDocAfterLoad(origin?: CollabLoadOrigin): void;
12499
12538
  /** Start (or restart) a session with the given config (dialog-driven). */
12500
12539
  start(config: CollaborationConfig): Promise<void>;
12501
12540
  stop(): void;
@@ -1,4 +1,4 @@
1
- import { A as e, M as a, _ as s, c as t, d as i, f as l, gt as S, ht as n, i as v, j as o, l as d, n as p, o as b, p as g, r as c, s as x, t as w, u as T } from "../export-CkPplz4E.js";
1
+ import { A as e, M as a, _ as s, c as t, d as i, f as l, gt as S, ht as n, i as v, j as o, l as d, n as p, o as b, p as g, r as c, s as x, t as w, u as T } from "../export-CEyYhd0_.js";
2
2
  var m = a, A = o, P = e;
3
3
  export {
4
4
  w as PowerPointViewer,
@@ -1,5 +1,5 @@
1
1
  import { ParsedTableStyleMap, PptxAppProperties, PptxCoreProperties, PptxCustomProperty, PptxEmbeddedFont, PptxHandoutMaster, PptxHeaderFooter, PptxNotesMaster, PptxPresentationProperties, PptxCustomShow, PptxSection, PptxSlide, PptxSlideMaster, PptxTagCollection, PptxThemeColorScheme, PptxTheme, PptxThemeOption, PptxHandler } from 'pptx-viewer-core';
2
- import { CanvasSize, SlideSizeEmu } from 'pptx-viewer-shared';
2
+ import { CanvasSize, CollabLoadOrigin, SlideSizeEmu } from 'pptx-viewer-shared';
3
3
  /**
4
4
  * Reactive load pipeline for the Svelte viewer: the runes port of the Vue
5
5
  * `useLoadContent` composable's viewer subset.
@@ -65,8 +65,14 @@ export declare class PresentationLoader {
65
65
  handler: PptxHandler | null;
66
66
  /** Incremented after each successful load (drives `load` callbacks). */
67
67
  loadCount: number;
68
+ /**
69
+ * Why the deck now loaded was loaded. A collaboration room may replace the
70
+ * host's own `source` (a late joiner's bootstrap) but never a file the user
71
+ * opened during the session (`shouldRoomSlidesReplaceLoad`).
72
+ */
73
+ loadOrigin: CollabLoadOrigin;
68
74
  /** Parse a `.pptx` buffer into reactive viewer state. */
69
- load(raw: Uint8Array | ArrayBuffer): Promise<void>;
75
+ load(raw: Uint8Array | ArrayBuffer, origin?: CollabLoadOrigin): Promise<void>;
70
76
  /** Cancel in-flight loads, revoke Blob URLs, dispose the handler. */
71
77
  dispose(): void;
72
78
  }
@@ -1 +1 @@
1
- {"version":3,"file":"presentation-loader.svelte.d.ts","sourceRoot":"","sources":["../../../src/viewer/state/presentation-loader.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,WAAW,EACX,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKnE;;;;;;;;GAQG;AACH,qBAAa,kBAAkB;;IAC9B,8DAA8D;IAC9D,MAAM,cAA+B;IACrC,wEAAwE;IACxE,YAAY,oBAAqC;IACjD,WAAW,8BAAsD;IACjE,aAAa,gCAAwD;IACrE,QAAQ,gBAAiC;IACzC,YAAY,mBAAoC;IAChD,sBAAsB,6BAA8C;IACpE,WAAW,mBAAoC;IAC/C,cAAc,iCAAyD;IACvE,aAAa,gCAAwD;IACrE,gBAAgB,uBAAwC;IACxD,qFAAqF;IACrF,cAAc,sBAAuC;IACrD,aAAa,qBAAsC;IACnD,oBAAoB,UAAiB;IACrC,qBAAqB,SAAa;IAClC,mBAAmB,UAAiB;IACpC,yDAAyD;IACzD,SAAS,UAAiB;IAC1B,eAAe,yBAAiD;IAChE,4EAA4E;IAC5E,YAAY,oBAAqC;IACjD,mCAAmC;IACnC,UAAU,aAGP;IACH;;;;;;;;;OASG;IACH,SAAS,2BAAmD;IAC5D,qEAAqE;IACrE,aAAa,sBAA8C;IAC3D,4EAA4E;IAC5E,WAAW,mCAA2D;IACtE,iBAAiB,wBAAgD;IACjE,qEAAqE;IACrE,aAAa,kCAA0D;IACvE,sCAAsC;IACtC,OAAO,UAAiB;IACxB,wDAAwD;IACxD,KAAK,gBAA+B;IACpC,wEAAwE;IACxE,WAAW,UAAiB;IAC5B,4DAA4D;IAC5D,OAAO,qBAAwC;IAC/C,wEAAwE;IACxE,SAAS,SAAa;IAKtB,yDAAyD;IACnD,IAAI,CAAC,GAAG,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAmGxD,qEAAqE;IACrE,OAAO,IAAI,IAAI;CAQf"}
1
+ {"version":3,"file":"presentation-loader.svelte.d.ts","sourceRoot":"","sources":["../../../src/viewer/state/presentation-loader.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,WAAW,EACX,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKrF;;;;;;;;GAQG;AACH,qBAAa,kBAAkB;;IAC9B,8DAA8D;IAC9D,MAAM,cAA+B;IACrC,wEAAwE;IACxE,YAAY,oBAAqC;IACjD,WAAW,8BAAsD;IACjE,aAAa,gCAAwD;IACrE,QAAQ,gBAAiC;IACzC,YAAY,mBAAoC;IAChD,sBAAsB,6BAA8C;IACpE,WAAW,mBAAoC;IAC/C,cAAc,iCAAyD;IACvE,aAAa,gCAAwD;IACrE,gBAAgB,uBAAwC;IACxD,qFAAqF;IACrF,cAAc,sBAAuC;IACrD,aAAa,qBAAsC;IACnD,oBAAoB,UAAiB;IACrC,qBAAqB,SAAa;IAClC,mBAAmB,UAAiB;IACpC,yDAAyD;IACzD,SAAS,UAAiB;IAC1B,eAAe,yBAAiD;IAChE,4EAA4E;IAC5E,YAAY,oBAAqC;IACjD,mCAAmC;IACnC,UAAU,aAGP;IACH;;;;;;;;;OASG;IACH,SAAS,2BAAmD;IAC5D,qEAAqE;IACrE,aAAa,sBAA8C;IAC3D,4EAA4E;IAC5E,WAAW,mCAA2D;IACtE,iBAAiB,wBAAgD;IACjE,qEAAqE;IACrE,aAAa,kCAA0D;IACvE,sCAAsC;IACtC,OAAO,UAAiB;IACxB,wDAAwD;IACxD,KAAK,gBAA+B;IACpC,wEAAwE;IACxE,WAAW,UAAiB;IAC5B,4DAA4D;IAC5D,OAAO,qBAAwC;IAC/C,wEAAwE;IACxE,SAAS,SAAa;IAKtB;;;;OAIG;IACH,UAAU,EAAE,gBAAgB,CAAkB;IAE9C,yDAAyD;IACnD,IAAI,CAAC,GAAG,EAAE,UAAU,GAAG,WAAW,EAAE,MAAM,GAAE,gBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAoG3F,qEAAqE;IACrE,OAAO,IAAI,IAAI;CAQf"}
@@ -1 +1 @@
1
- {"version":3,"file":"viewer-effects.svelte.d.ts","sourceRoot":"","sources":["../../../src/viewer/state/viewer-effects.svelte.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAA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CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IACjC,SAAS,IAAI,UAAU,GAAG,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;IACzD,WAAW,IAAI,OAAO,CAAC;IACvB,eAAe,IAAI,MAAM,CAAC;IAC1B,aAAa,IAAI,UAAU,CAAC;IAC5B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,SAAS,IAAI,CAAC,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC9D,UAAU,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACtD,gBAAgB,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC1D;;;;;;;OAOG;IACH,gBAAgB,CAAC,IAAI,IAAI,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,CA+F9D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-svelte-viewer",
3
- "version": "2.20.2",
3
+ "version": "2.20.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",