@file-viewer/ppt 0.3.2 → 0.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.md +4 -4
- package/index.mjs +1 -1
- package/manifest.json +4 -4
- package/package.json +1 -1
- package/ppt-native.wasm +0 -0
package/README.md
CHANGED
|
@@ -193,9 +193,9 @@ moves assets, configure them explicitly:
|
|
|
193
193
|
|
|
194
194
|
```js
|
|
195
195
|
const viewer = await createPptViewer({
|
|
196
|
-
workerUrl: new URL('/vendor/file-viewer/ppt/0.3.
|
|
197
|
-
wasmUrl: new URL('/vendor/file-viewer/ppt/0.3.
|
|
198
|
-
fontUrl: new URL('/vendor/file-viewer/ppt/0.3.
|
|
196
|
+
workerUrl: new URL('/vendor/file-viewer/ppt/0.3.3/worker.mjs', location.origin),
|
|
197
|
+
wasmUrl: new URL('/vendor/file-viewer/ppt/0.3.3/ppt-native.wasm', location.origin),
|
|
198
|
+
fontUrl: new URL('/vendor/file-viewer/ppt/0.3.3/ppt-font-cjk.otf', location.origin)
|
|
199
199
|
});
|
|
200
200
|
```
|
|
201
201
|
|
|
@@ -447,7 +447,7 @@ manifest.json
|
|
|
447
447
|
`application/wasm`,`.otf` 使用 `font/otf`,`.ppt` 使用
|
|
448
448
|
`application/vnd.ms-powerpoint`。
|
|
449
449
|
|
|
450
|
-
将资源发布在版本化或内容寻址目录(如 `/vendor/file-viewer/ppt/0.3.
|
|
450
|
+
将资源发布在版本化或内容寻址目录(如 `/vendor/file-viewer/ppt/0.3.3/`)后,
|
|
451
451
|
可配置:
|
|
452
452
|
|
|
453
453
|
```http
|
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const MANIFEST = Object.freeze({"kind":"flyfish-ppt-public-native-wasm-v2","product":"Flyfish PPT Viewer","format":"PowerPoint 97-2003 (.ppt)","packageName":"@file-viewer/ppt","packageVersion":"0.3.
|
|
1
|
+
const MANIFEST = Object.freeze({"kind":"flyfish-ppt-public-native-wasm-v2","product":"Flyfish PPT Viewer","format":"PowerPoint 97-2003 (.ppt)","packageName":"@file-viewer/ppt","packageVersion":"0.3.3","engine":"flyfish-classic-ppt-native-engine","engineBuild":"d2b522ef23b5c08a","id":"FV-PPT-PUBLIC-WATERMARKED-V2","feature":"ppt","edition":"public-watermarked","holder":"Individuals and Organizations","distribution":"proprietary-public-binary","commercialUse":true,"publicAnyOrigin":true,"watermarkRequired":true,"watermarkText":"Flyfish Viewer","usePolicy":"public-watermarked-general-use","licensePolicy":"flyfish-public-watermarked-binary-license-v2","sourceCodeRights":false,"sourceDeliveryRights":false,"apacheLicenseApplies":false,"redistributionAllowed":true,"redistributionPolicy":"unmodified-integrated-bundling-only","standaloneRedistributionAllowed":false,"watermarkRemovalRequiresCommercialAuthorization":true,"runtimeLicenseRequired":false,"renderer":"native-wasm-worker-offscreen-canvas","integrity":"native-wasm-font-sha256-v2","wasmFile":"ppt-native.wasm","wasmBytes":1557729,"workerFile":"worker.mjs","fontPack":{"kind":"flyfish-cjk-font-pack-v1","file":"ppt-font-cjk.otf","bytes":16437364,"sha256":"2c76254f6fc379fddfce0a7e84fb5385bb135d3e399294f6eeb6680d0365b74b"},"workerDefault":true,"virtualScrollDefault":true,"frameCache":"indexeddb-final-watermarked-png-lru","watermarkEnforcement":"native-final-frame","wasmSha256":"5e1313c50fee36c9573527bc3bf88920ea54b25016ee72d369bb7b27df1540ba"});
|
|
2
2
|
const DEFAULT_WASM_URL = new URL('./ppt-native.wasm', import.meta.url);
|
|
3
3
|
const DEFAULT_FONT_URL = new URL(`./${MANIFEST.fontPack.file}`, import.meta.url);
|
|
4
4
|
const DEFAULT_WORKER_URL = new URL(`./${MANIFEST.workerFile}`, import.meta.url);
|
package/manifest.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"product": "Flyfish PPT Viewer",
|
|
4
4
|
"format": "PowerPoint 97-2003 (.ppt)",
|
|
5
5
|
"packageName": "@file-viewer/ppt",
|
|
6
|
-
"packageVersion": "0.3.
|
|
6
|
+
"packageVersion": "0.3.3",
|
|
7
7
|
"engine": "flyfish-classic-ppt-native-engine",
|
|
8
|
-
"engineBuild": "
|
|
8
|
+
"engineBuild": "d2b522ef23b5c08a",
|
|
9
9
|
"id": "FV-PPT-PUBLIC-WATERMARKED-V2",
|
|
10
10
|
"feature": "ppt",
|
|
11
11
|
"edition": "public-watermarked",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"renderer": "native-wasm-worker-offscreen-canvas",
|
|
29
29
|
"integrity": "native-wasm-font-sha256-v2",
|
|
30
30
|
"wasmFile": "ppt-native.wasm",
|
|
31
|
-
"wasmBytes":
|
|
31
|
+
"wasmBytes": 1557729,
|
|
32
32
|
"workerFile": "worker.mjs",
|
|
33
33
|
"fontPack": {
|
|
34
34
|
"kind": "flyfish-cjk-font-pack-v1",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"virtualScrollDefault": true,
|
|
41
41
|
"frameCache": "indexeddb-final-watermarked-png-lru",
|
|
42
42
|
"watermarkEnforcement": "native-final-frame",
|
|
43
|
-
"wasmSha256": "
|
|
43
|
+
"wasmSha256": "5e1313c50fee36c9573527bc3bf88920ea54b25016ee72d369bb7b27df1540ba"
|
|
44
44
|
}
|
package/package.json
CHANGED
package/ppt-native.wasm
CHANGED
|
Binary file
|