filens-preview 0.3.0 → 0.3.1
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 +13 -7
- package/dist/all-in-one/THIRD-PARTY-NOTICES.txt +870 -0
- package/dist/all-in-one/filens.js +5069 -114897
- package/dist/index.d.ts +2 -0
- package/dist/split/THIRD-PARTY-NOTICES.txt +870 -0
- package/dist/split/chunks/archive-DMapcEqq.js +1 -0
- package/dist/split/chunks/browser-video-session-CGI8FpX_.js +1 -0
- package/dist/split/chunks/cad-BvXJNqHR.js +7 -0
- package/dist/split/chunks/core-BLayEJn5.js +17 -0
- package/dist/split/chunks/diagram-DlpgioZ9.js +1 -0
- package/dist/split/chunks/docx-Sii3GNtE.js +1 -0
- package/dist/split/chunks/ebook-CLCQfska.js +5 -0
- package/dist/split/chunks/index-BPK_cNTp.js +1 -0
- package/dist/split/chunks/index-DI_GyFX1.js +1 -0
- package/dist/split/chunks/iwork-Datv3D5d.js +4 -0
- package/dist/split/chunks/media-runtime-tb-Q4Sah.js +1 -0
- package/dist/split/chunks/mindmap-B_GYpiFO.js +1 -0
- package/dist/split/chunks/model3d-BsIQNF2D.js +55 -0
- package/dist/split/chunks/mp4box.all-Bw_Tlr0T-D0URDfA1.js +1 -0
- package/dist/split/chunks/panorama-CIdiLIwD.js +973 -0
- package/dist/split/chunks/pdf-Dzzffz3p.js +12 -0
- package/dist/split/chunks/vendor-CBCxJuSg.js +4115 -0
- package/dist/split/chunks/xlsx-D2NFYc3n.js +3 -0
- package/dist/split/converter-image.wasm +0 -0
- package/dist/split/filens.js +2 -5012
- package/package.json +1 -1
- package/dist/split/chunks/archive-B4jVwD9o.js +0 -921
- package/dist/split/chunks/cad-DMg-lGJX.js +0 -2405
- package/dist/split/chunks/core--zVW212C.js +0 -14627
- package/dist/split/chunks/diagram-CDwCA6LZ.js +0 -654
- package/dist/split/chunks/docx-CuQfFJqr.js +0 -299
- package/dist/split/chunks/ebook-CLlJ8KX3.js +0 -623
- package/dist/split/chunks/iwork-dNVC0X8j.js +0 -772
- package/dist/split/chunks/media-runtime-gcsBQMuo.js +0 -48
- package/dist/split/chunks/mindmap-g0-VoK-K.js +0 -560
- package/dist/split/chunks/model3d-1G1CC52V.js +0 -5093
- package/dist/split/chunks/panorama-D7GVivtM.js +0 -5972
- package/dist/split/chunks/pdf-CecYOWld.js +0 -17898
- package/dist/split/chunks/vendor-DPFNKNkh.js +0 -59575
- package/dist/split/chunks/xlsx-Co26yo-R.js +0 -818
package/README.md
CHANGED
|
@@ -18,6 +18,10 @@ runtime fixes used by CLI 0.5.0's offline HTML preview. It uses native HEIC/HEIF
|
|
|
18
18
|
decoder as fallback. MOV plays through browser codecs.
|
|
19
19
|
Applications can supply an optional `mediaConverter` for unsupported MOV codecs.
|
|
20
20
|
Both builds preserve the same image and video support boundaries.
|
|
21
|
+
For optional local MP4/MOV recovery, pass `browserMedia: true` to `createPreview`.
|
|
22
|
+
It tries native playback first, then bounded remuxing or necessary WebCodecs AVC
|
|
23
|
+
processing, and never calls `mediaConverter` for video in this mode.
|
|
24
|
+
[Browser-only media scope and validation](../../docs/browser-media-engine.md).
|
|
21
25
|
|
|
22
26
|
```sh
|
|
23
27
|
npm install filens-preview
|
|
@@ -46,11 +50,11 @@ table is generated by `npm run report:preview-sizes` from exact byte measurement
|
|
|
46
50
|
<!-- preview-runtime-sizes:start -->
|
|
47
51
|
| Runtime | Raw MB | gzip MB | Brotli MB |
|
|
48
52
|
| --- | ---: | ---: | ---: |
|
|
49
|
-
| Split main runtime |
|
|
50
|
-
| All-in-one main JS | 8.
|
|
53
|
+
| Split main runtime | 10.55 | 3.34 | 2.67 |
|
|
54
|
+
| All-in-one main JS | 8.05 | 3.34 | 3.02 |
|
|
51
55
|
| Optional archive WASM + worker (either build) | 0.88 | 0.35 | 0.28 |
|
|
52
|
-
| Split with archive assets |
|
|
53
|
-
| All-in-one with archive assets |
|
|
56
|
+
| Split with archive assets | 11.44 | 3.69 | 2.94 |
|
|
57
|
+
| All-in-one with archive assets | 8.93 | 3.69 | 3.30 |
|
|
54
58
|
<!-- preview-runtime-sizes:end -->
|
|
55
59
|
|
|
56
60
|
These are current source build measurements (MB = 1,000,000 bytes), including
|
|
@@ -123,9 +127,11 @@ detection. Switch language with `viewer.update({ locale: 'de_DE' })`. Optional
|
|
|
123
127
|
Both split and all-in-one builds contain these dictionaries for offline use.
|
|
124
128
|
See the [locale list and API notes](../vue/README.md#languages-source-build).
|
|
125
129
|
|
|
126
|
-
APK/IPA packages
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
APK/IPA packages open as ZIP-compatible archives with directory browsing and
|
|
131
|
+
entry previews. Windows EXE/DLL/MUI/MUN resource files can be previewed as
|
|
132
|
+
application icons using the included WASM converter. The converter also exposes
|
|
133
|
+
APK/IPA icon extraction for explicit requests. Icon extraction supports compiled
|
|
134
|
+
Android icon resources, XML/binary iOS plist metadata, iOS CgBI PNGs,
|
|
129
135
|
and Windows PNG/DIB icon frames. These additions are included in 0.2.0.
|
|
130
136
|
See the [supported icon representations
|
|
131
137
|
and limits](../vue/README.md#application-icons-source-build).
|