pptx-svelte-viewer 4.1.0 → 4.1.2
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 +37 -0
- package/dist/{AiChatPanel-B3SDtN1C.js → AiChatPanel-MJd0wjii.js} +2 -2
- package/dist/{export-gq-uU4it.js → export-DI4TCh5m.js} +302 -264
- package/dist/index.js +2 -2
- package/dist/internals.js +1 -1
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/{transition-overlay-Dvef1UAZ.js → transition-overlay-CPN-2tva.js} +16564 -16583
- package/dist/viewer/index.d.ts +7 -3
- package/dist/viewer/index.js +2 -2
- package/package.json +2 -2
package/dist/viewer/index.d.ts
CHANGED
|
@@ -16909,8 +16909,8 @@ declare class PresenterSession {
|
|
|
16909
16909
|
* and never once offered one back, so the whole feature was invisible: the user
|
|
16910
16910
|
* lost a tab mid-edit, reopened the deck, and silently got the pre-crash work
|
|
16911
16911
|
* thrown away. Every decision (is it worth probing, is the snapshot fresh
|
|
16912
|
-
* enough,
|
|
16913
|
-
*
|
|
16912
|
+
* enough, what should the prompt say) lives in `pptx-viewer-shared`'s
|
|
16913
|
+
* `render/autosave-recovery` so all five
|
|
16914
16914
|
* bindings ask the same questions in the same order; this class is only the
|
|
16915
16915
|
* runes wiring plus the two actions.
|
|
16916
16916
|
*
|
|
@@ -16921,6 +16921,8 @@ declare class PresenterSession {
|
|
|
16921
16921
|
interface AutosaveRecoveryDeps {
|
|
16922
16922
|
/** IndexedDB record key (host `filePath`). Nothing to look up without one. */
|
|
16923
16923
|
getFilePath: () => string | undefined;
|
|
16924
|
+
/** Public document name rendered in the recovery message. */
|
|
16925
|
+
getFileName?: () => string | undefined;
|
|
16924
16926
|
/**
|
|
16925
16927
|
* Whether recovery snapshots are permitted at all, which is the HOST prop
|
|
16926
16928
|
* (`autosave !== false`) and not the user's toggle: someone who merely
|
|
@@ -16940,8 +16942,10 @@ declare class AutosaveRecoveryController {
|
|
|
16940
16942
|
#private;
|
|
16941
16943
|
/** The prompt to render, or null when there is nothing to recover. */
|
|
16942
16944
|
prompt: AutosaveRecoveryPrompt | null;
|
|
16945
|
+
/** The destructive delete is still pending. */
|
|
16946
|
+
discarding: boolean;
|
|
16943
16947
|
constructor(deps: AutosaveRecoveryDeps);
|
|
16944
|
-
/** Take the snapshot
|
|
16948
|
+
/** Take the snapshot and load its bytes in place without deleting it. */
|
|
16945
16949
|
restore(): Promise<void>;
|
|
16946
16950
|
/** Decline the snapshot: delete it, and never load it. */
|
|
16947
16951
|
discard(): Promise<void>;
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Hh as l, Vh as S } from "../transition-overlay-
|
|
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-
|
|
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
3
|
var $ = a, y = s, A = o, f = t, u = e, R = r;
|
|
4
4
|
export {
|
|
5
5
|
f as CollaborationCursors,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-svelte-viewer",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
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",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"jspdf": "^4.2.1",
|
|
117
117
|
"jszip": "^3.10.2",
|
|
118
118
|
"opentype.js": "^2.0.0",
|
|
119
|
-
"pptx-viewer-mcp": "^2.5.
|
|
119
|
+
"pptx-viewer-mcp": "^2.5.5"
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@ai-sdk/svelte": "^5.0.97",
|