@file-viewer/vue3 3.3.1 → 3.3.3

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
@@ -309,7 +309,7 @@ The table below lists the real props, event channel, and customization entry for
309
309
  | `iwork` | After explicitly installing the iWork capability, configure its Pages / Numbers / Keynote module Worker, timeout, ZIP/Snappy/IWA safety limits, and Quick Look fallback policy. It is not in the standard/full default closure. |
310
310
  | `hangul` | After explicitly installing the Hangul capability, configure its HWP/HWPX module Worker, timeout, ZIP limits, and HWP record limits. It is not in the standard/full default closure. |
311
311
  | `wordPerfect` | After explicitly installing the WordPerfect capability, configure its Worker, libwpd/librevenge WASM URL, and timeout. It is not in the standard/full default closure. |
312
- | `presentation` | The standard/full default includes only the PPTX/OpenXML `@file-viewer/pptx` Worker, with optional `workerUrl` / `workerType` overrides. Binary PowerPoint 97–2003 `.ppt` is a separate heavy capability; run `file-viewer add ppt --write` to install its Worker/WASM and assets explicitly. |
312
+ | `presentation` | Standard includes PPTX/OpenXML; Office/All presets and Full packages also support binary `.ppt` / `.pot`. PPT uses an Apache-2.0 TypeScript engine and parsing Worker, without WASM or embedded fonts. Minimal installs can use `file-viewer add ppt --write`; custom routes can override `pptModuleUrl` / `pptWorkerUrl`. |
313
313
  | `typst` / `data` / `cad` | After explicitly installing the matching capability, configure Typst, SQLite, or CAD/DWG/DXF/DWF WASM, worker, encoding, and rendering options. These capabilities are not in the standard/full default closure. |
314
314
  | `hooks` / `beforeOperation` | Shared lifecycle hooks and operation preflight checks for audit, permission, telemetry, and safety controls. |
315
315
 
@@ -435,7 +435,7 @@ View-state sync is designed for projection systems, remote-control displays, sid
435
435
 
436
436
  See the official documentation for options, lifecycle hooks, beforeOperation, theme, watermark, search, zoom, print, and export APIs: https://doc.file-viewer.app/
437
437
 
438
- Online demo: https://demo.file-viewer.app/. File Viewer-authored source and component packages generated by this repository use Apache-2.0. Any distribution that includes the `@file-viewer/ppt` runtime retains its independent LICENSE and NOTICE and does not relicense it under Apache-2.0. For derivative or commercial use, keep clear Flyfish Viewer attribution; shared compatibility fixes are welcome in the matching component repository.
438
+ Online demo: https://demo.file-viewer.app/. File Viewer-authored source, component packages and the new compiled TypeScript PPT runtime use Apache-2.0. The PPT engine source remains private; retain its LICENSE and NOTICE.md. Previous native PPT license and watermark requirements are unchanged, and other third-party runtimes retain their original licenses. Keep Flyfish Viewer attribution in derivative and commercial use.
439
439
  <!-- FILE_VIEWER_GENERATED:END -->
440
440
 
441
441
  ## Extending the native toolbar
package/README.md CHANGED
@@ -309,7 +309,7 @@ The table below lists the real props, event channel, and customization entry for
309
309
  | `iwork` | After explicitly installing the iWork capability, configure its Pages / Numbers / Keynote module Worker, timeout, ZIP/Snappy/IWA safety limits, and Quick Look fallback policy. It is not in the standard/full default closure. |
310
310
  | `hangul` | After explicitly installing the Hangul capability, configure its HWP/HWPX module Worker, timeout, ZIP limits, and HWP record limits. It is not in the standard/full default closure. |
311
311
  | `wordPerfect` | After explicitly installing the WordPerfect capability, configure its Worker, libwpd/librevenge WASM URL, and timeout. It is not in the standard/full default closure. |
312
- | `presentation` | The standard/full default includes only the PPTX/OpenXML `@file-viewer/pptx` Worker, with optional `workerUrl` / `workerType` overrides. Binary PowerPoint 97–2003 `.ppt` is a separate heavy capability; run `file-viewer add ppt --write` to install its Worker/WASM and assets explicitly. |
312
+ | `presentation` | Standard includes PPTX/OpenXML; Office/All presets and Full packages also support binary `.ppt` / `.pot`. PPT uses an Apache-2.0 TypeScript engine and parsing Worker, without WASM or embedded fonts. Minimal installs can use `file-viewer add ppt --write`; custom routes can override `pptModuleUrl` / `pptWorkerUrl`. |
313
313
  | `typst` / `data` / `cad` | After explicitly installing the matching capability, configure Typst, SQLite, or CAD/DWG/DXF/DWF WASM, worker, encoding, and rendering options. These capabilities are not in the standard/full default closure. |
314
314
  | `hooks` / `beforeOperation` | Shared lifecycle hooks and operation preflight checks for audit, permission, telemetry, and safety controls. |
315
315
 
@@ -435,7 +435,7 @@ View-state sync is designed for projection systems, remote-control displays, sid
435
435
 
436
436
  See the official documentation for options, lifecycle hooks, beforeOperation, theme, watermark, search, zoom, print, and export APIs: https://doc.file-viewer.app/
437
437
 
438
- Online demo: https://demo.file-viewer.app/. File Viewer-authored source and component packages generated by this repository use Apache-2.0. Any distribution that includes the `@file-viewer/ppt` runtime retains its independent LICENSE and NOTICE and does not relicense it under Apache-2.0. For derivative or commercial use, keep clear Flyfish Viewer attribution; shared compatibility fixes are welcome in the matching component repository.
438
+ Online demo: https://demo.file-viewer.app/. File Viewer-authored source, component packages and the new compiled TypeScript PPT runtime use Apache-2.0. The PPT engine source remains private; retain its LICENSE and NOTICE.md. Previous native PPT license and watermark requirements are unchanged, and other third-party runtimes retain their original licenses. Keep Flyfish Viewer attribution in derivative and commercial use.
439
439
  <!-- FILE_VIEWER_GENERATED:END -->
440
440
 
441
441
  ## Extending the native toolbar
package/README.zh-CN.md CHANGED
@@ -292,7 +292,7 @@ const options = {
292
292
  | `iwork` | 显式安装 iWork capability 后,配置 Pages / Numbers / Keynote 的模块 Worker、超时、ZIP/Snappy/IWA 安全上限与 Quick Look 降级策略;它不属于 standard/full 默认闭包。 |
293
293
  | `hangul` | 显式安装 Hangul capability 后,配置 HWP/HWPX 模块 Worker、超时、ZIP 解压/压缩率/条目数与 HWP 记录数安全上限;它不属于 standard/full 默认闭包。 |
294
294
  | `wordPerfect` | 显式安装 WordPerfect capability 后,配置 Worker、libwpd/librevenge WASM 地址与超时;它不属于 standard/full 默认闭包。 |
295
- | `presentation` | standard/full 默认只装配 PPTX/OpenXML 的 `@file-viewer/pptx` Worker,可通过 `workerUrl` / `workerType` 覆盖。PowerPoint 97–2003 `.ppt` 是独立重型 capability,需用 `file-viewer add ppt --write` 显式安装其 Worker/WASM 和资产。 |
295
+ | `presentation` | standard 默认包含 PPTX/OpenXML;Office/All preset 和 Full 包同时支持二进制 `.ppt` / `.pot`。PPT 使用 Apache-2.0 的 TypeScript 引擎与解析 Worker,无需 WASM 或内置字体。精简安装可用 `file-viewer add ppt --write`;自定义路径可覆盖 `pptModuleUrl` / `pptWorkerUrl`。 |
296
296
  | `typst` / `data` / `cad` | 显式安装相应 capability 后,配置 Typst、SQLite、CAD/DWG/DXF/DWF 等 WASM、Worker、编码和渲染策略;这些能力不属于 standard/full 默认闭包。 |
297
297
  | `hooks` / `beforeOperation` | 统一生命周期 hooks 和操作前置校验,可用于审计、权限、埋点和安全控制。 |
298
298
 
@@ -418,7 +418,7 @@ const options = {
418
418
 
419
419
  完整参数、生命周期 hooks、beforeOperation、主题、水印、搜索、缩放、打印和导出说明见官方文档: https://doc.file-viewer.app/
420
420
 
421
- 在线 Demo: https://demo.file-viewer.app/ 。File Viewer 自身源码与本仓生成的组件包使用 Apache-2.0;发行物若包含 `@file-viewer/ppt` 运行时,该运行时保留其独立 LICENSE 与 NOTICE,不被 Apache-2.0 重新许可。二开或商用请保留 Flyfish Viewer 来源说明;如果修复了通用兼容问题,也欢迎贡献回对应组件仓库。
421
+ 在线 Demo: https://demo.file-viewer.app/ 。File Viewer 自身源码、组件包和新 TypeScript PPT 公共编译包使用 Apache-2.0;PPT 引擎源码保持私有,发行时保留其 LICENSE 与 NOTICE.md。旧 native PPT 的许可和水印要求不变,其余第三方运行时保留原许可证。二开或商用请保留 Flyfish Viewer 来源说明。
422
422
  <!-- FILE_VIEWER_GENERATED:END -->
423
423
 
424
424
  ## 扩展原生工具栏
@@ -135,7 +135,7 @@ var e = {
135
135
  "presentation.ppt.state.loading": "PowerPoint 97–2003 を解析しています...",
136
136
  "presentation.ppt.error.title": "PPT プレビューに失敗しました",
137
137
  "presentation.ppt.error.parseFailed": "この PPT ファイルを解析できませんでした。",
138
- "presentation.ppt.error.assetHint": "@file-viewer/ppt モジュール、pptWasmUrl、application/wasm MIME タイプ、Web Crypto、CSP 設定を確認してください。",
138
+ "presentation.ppt.error.assetHint": "@file-viewer/ppt モジュール、解析 Worker の JavaScript MIME タイプ、CSP 設定を確認してください。",
139
139
  "presentation.slideshow.start": "スライドショーを開始",
140
140
  "presentation.slideshow.exit": "スライドショーを終了",
141
141
  "presentation.slideshow.hint": "← → 移動 · Esc 終了",
@@ -597,7 +597,7 @@ var e = {
597
597
  "presentation.ppt.state.loading": "Parsen von PowerPoint 97–2003...",
598
598
  "presentation.ppt.error.title": "PPT-Vorschau fehlgeschlagen",
599
599
  "presentation.ppt.error.parseFailed": "Diese PPT-Datei konnte nicht analysiert werden.",
600
- "presentation.ppt.error.assetHint": "Überprüfen Sie die Einstellungen für Modul @file-viewer/ppt, pptWasmUrl, application/wasm MIME, Web Crypto und CSP.",
600
+ "presentation.ppt.error.assetHint": "Überprüfen Sie das Modul @file-viewer/ppt, den JavaScript-MIME-Typ des Parsing-Workers und die CSP-Einstellungen.",
601
601
  "presentation.slideshow.start": "Diashow starten",
602
602
  "presentation.slideshow.exit": "Diashow beenden",
603
603
  "presentation.slideshow.hint": "← → navigieren · Esc beenden",
@@ -1060,7 +1060,7 @@ var e = {
1060
1060
  "presentation.ppt.state.loading": "正在解析 PowerPoint 97–2003...",
1061
1061
  "presentation.ppt.error.title": "PPT 预览失败",
1062
1062
  "presentation.ppt.error.parseFailed": "无法解析这个 PPT 文件。",
1063
- "presentation.ppt.error.assetHint": "请检查 @file-viewer/ppt 模块、pptWasmUrl、application/wasm MIME 类型、Web Crypto 和 CSP 配置。",
1063
+ "presentation.ppt.error.assetHint": "请检查 @file-viewer/ppt 模块、解析 Worker 的 JavaScript MIME 类型和 CSP 配置。",
1064
1064
  "presentation.slideshow.start": "开始放映",
1065
1065
  "presentation.slideshow.exit": "退出放映",
1066
1066
  "presentation.slideshow.hint": "← → 翻页 · Esc 退出",
@@ -1523,7 +1523,7 @@ var e = {
1523
1523
  "presentation.ppt.state.loading": "Parsing PowerPoint 97–2003...",
1524
1524
  "presentation.ppt.error.title": "PPT preview failed",
1525
1525
  "presentation.ppt.error.parseFailed": "This PPT file could not be parsed.",
1526
- "presentation.ppt.error.assetHint": "Check the @file-viewer/ppt module, pptWasmUrl, application/wasm MIME type, Web Crypto, and CSP settings.",
1526
+ "presentation.ppt.error.assetHint": "Check the @file-viewer/ppt module, parsing Worker JavaScript MIME type, and CSP settings.",
1527
1527
  "presentation.slideshow.start": "Start slideshow",
1528
1528
  "presentation.slideshow.exit": "Exit slideshow",
1529
1529
  "presentation.slideshow.hint": "← → navigate · Esc exit",