@file-viewer/renderer-pptx 3.2.2 → 3.3.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.en.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @file-viewer/renderer-pptx
2
2
 
3
+ [English](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/presentation-pptx/README.md) · [简体中文](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/presentation-pptx/README.zh-CN.md)
4
+
3
5
  This renderer contains only modern OpenXML PowerPoint support. It does not install the legacy binary-PPT WASM, font, or runtime.
4
6
 
5
7
  ```ts
package/README.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # @file-viewer/renderer-pptx
2
2
 
3
- 仅包含现代 OpenXML PowerPoint 格式的渲染器。该包不会安装旧版二进制 PPT 的 WASM、字体或运行时。
3
+ [English](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/presentation-pptx/README.md) · [简体中文](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/presentation-pptx/README.zh-CN.md)
4
+
5
+ This renderer contains only modern OpenXML PowerPoint support. It does not install the legacy binary-PPT WASM, font, or runtime.
4
6
 
5
7
  ```ts
6
8
  import { pptxRenderer } from '@file-viewer/renderer-pptx'
7
9
  ```
8
10
 
9
- 需要同时支持旧 `.ppt` 时,可显式安装 `@file-viewer/renderer-ppt`,或继续使用兼容聚合包 `@file-viewer/renderer-presentation`。
11
+ Install `@file-viewer/renderer-ppt` explicitly for legacy `.ppt`, or keep using the compatibility aggregate `@file-viewer/renderer-presentation` when both are required.
10
12
 
11
- Worker 选择顺序为显式 `presentation.workerUrl` 或共享资源根目录、打包器已输出或包目录内可解析的 Worker、标准复制工具的资源清单。未知路径不会回退为猜测的应用相对地址;Angular、离线或独立静态目录使用标准资产复制,无需业务 alias。
13
+ 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.
@@ -0,0 +1,13 @@
1
+ # @file-viewer/renderer-pptx
2
+
3
+ [English](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/presentation-pptx/README.md) · [简体中文](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/presentation-pptx/README.zh-CN.md)
4
+
5
+ 仅包含现代 OpenXML PowerPoint 格式的渲染器。该包不会安装旧版二进制 PPT 的 WASM、字体或运行时。
6
+
7
+ ```ts
8
+ import { pptxRenderer } from '@file-viewer/renderer-pptx'
9
+ ```
10
+
11
+ 需要同时支持旧 `.ppt` 时,可显式安装 `@file-viewer/renderer-ppt`,或继续使用兼容聚合包 `@file-viewer/renderer-presentation`。
12
+
13
+ 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.2",
3
+ "version": "3.3.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Standalone OpenXML PowerPoint renderer for PPTX, PPTM, POTX, POTM, PPSX, and PPSM files.",
@@ -50,11 +50,12 @@
50
50
  "file-viewer.capability.json",
51
51
  "LICENSE",
52
52
  "README.en.md",
53
- "README.md"
53
+ "README.md",
54
+ "README.zh-CN.md"
54
55
  ],
55
56
  "dependencies": {
56
- "@file-viewer/core": "3.2.2",
57
- "@file-viewer/pptx": "3.2.2"
57
+ "@file-viewer/core": "3.3.0",
58
+ "@file-viewer/pptx": "3.3.0"
58
59
  },
59
60
  "fileViewer": {
60
61
  "capabilityManifest": "./file-viewer.capability.json",