@file-viewer/renderer-pptx 3.2.1 → 3.2.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/README.en.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # @file-viewer/renderer-pptx
2
2
 
3
- Runtime package version 3.2.1.
3
+ This renderer contains only modern OpenXML PowerPoint support. It does not install the legacy binary-PPT WASM, font, or runtime.
4
4
 
5
- Usage and API documentation: https://doc.file-viewer.app/guide/on-demand-renderers
5
+ ```ts
6
+ import { pptxRenderer } from '@file-viewer/renderer-pptx'
7
+ ```
6
8
 
7
- The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
9
+ Install `@file-viewer/renderer-ppt` explicitly for legacy `.ppt`, or keep using the compatibility aggregate `@file-viewer/renderer-presentation` when both are required.
10
+
11
+ Worker resolution first honors `presentation.workerUrl` or a configured shared asset base, then uses an emitted or directly served package asset, then checks the standard asset-copy manifest. Unknown locations never fall back to a guessed application-relative URL; Angular, offline, and separate static directories use the standard asset-copy command without application aliases.
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # @file-viewer/renderer-pptx
2
2
 
3
- Runtime package version 3.2.1.
3
+ 仅包含现代 OpenXML PowerPoint 格式的渲染器。该包不会安装旧版二进制 PPT 的 WASM、字体或运行时。
4
4
 
5
- Usage and API documentation: https://doc.file-viewer.app/guide/on-demand-renderers
5
+ ```ts
6
+ import { pptxRenderer } from '@file-viewer/renderer-pptx'
7
+ ```
6
8
 
7
- The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
9
+ 需要同时支持旧 `.ppt` 时,可显式安装 `@file-viewer/renderer-ppt`,或继续使用兼容聚合包 `@file-viewer/renderer-presentation`。
10
+
11
+ Worker 选择顺序为显式 `presentation.workerUrl` 或共享资源根目录、打包器已输出或包目录内可解析的 Worker、标准复制工具的资源清单。未知路径不会回退为猜测的应用相对地址;Angular、离线或独立静态目录使用标准资产复制,无需业务 alias。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/renderer-pptx",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Standalone OpenXML PowerPoint renderer for PPTX, PPTM, POTX, POTM, PPSX, and PPSM files.",
@@ -53,8 +53,8 @@
53
53
  "README.md"
54
54
  ],
55
55
  "dependencies": {
56
- "@file-viewer/core": "3.2.1",
57
- "@file-viewer/pptx": "3.2.1"
56
+ "@file-viewer/core": "3.2.2",
57
+ "@file-viewer/pptx": "3.2.2"
58
58
  },
59
59
  "fileViewer": {
60
60
  "capabilityManifest": "./file-viewer.capability.json",