@s8fy/pptx-viewer-svelte 3.8.0 → 3.9.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/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ The `pptx` action reuses the controller for source changes and recreates it when
|
|
|
50
50
|
|
|
51
51
|
## Action parameters and lifecycle
|
|
52
52
|
|
|
53
|
-
`PptxActionParams` extends `ViewerOptions` with `onReady(viewer)`. `onReady` runs on creation/recreation, not after file loading; use `onLoad({ total })` for document readiness. Other callbacks include `onSlideChange(index)`, `onLicenseStateChange(state)`, and `onError(error)`.
|
|
53
|
+
`PptxActionParams` extends `ViewerOptions` with `onReady(viewer)`. `onReady` runs on creation/recreation, not after file loading; use `onLoad({ total })` for document readiness. Other callbacks include `onSlideChange(index)`, `onPlaybackChange(playing)`, `onLicenseStateChange(state)`, and `onError(error)`.
|
|
54
54
|
|
|
55
55
|
Use `await file.arrayBuffer()` to prepare file bytes. A normalized model source is `{ kind: 'presentation', presentation }`. Omitting `source` creates an empty viewer. Top-level `file`, `fileName`, and `presentation` options are rejected.
|
|
56
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@s8fy/pptx-viewer-svelte",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "Svelte PowerPoint (PPTX) viewer actions and mounting helpers with local PDF export through the shared viewer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"3d-charts",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"registry": "https://registry.npmjs.org"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@s8fy/pptx-viewer": "3.
|
|
67
|
+
"@s8fy/pptx-viewer": "3.9.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@typescript/typescript6": "^6.0.2",
|