filens-preview 0.1.3 → 0.2.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.
Files changed (27) hide show
  1. package/README.md +104 -19
  2. package/dist/all-in-one/THIRD-PARTY-NOTICES.txt +0 -1010
  3. package/dist/all-in-one/filens.js +41412 -39945
  4. package/dist/index.d.ts +4 -0
  5. package/dist/split/THIRD-PARTY-NOTICES.txt +0 -1010
  6. package/dist/split/assets/iwork-worker-DiTOJG8f.js +27 -0
  7. package/dist/split/chunks/{archive-Drem4a-o.js → archive-_cUUL2-3.js} +2 -2
  8. package/dist/split/chunks/{cad-CsU3TiHK.js → cad-Cyh8aipO.js} +1 -1
  9. package/dist/split/chunks/{core-BvtuMqS1.js → core-gp02JQ3r.js} +1493 -1459
  10. package/dist/split/chunks/{diagram-BxRNHzmO.js → diagram-rxvArV-1.js} +2 -2
  11. package/dist/split/chunks/{docx-Ch1AvEUX.js → docx-ecvZsSWm.js} +2 -2
  12. package/dist/split/chunks/{ebook-P42eILp5.js → ebook-5FyKWZ8s.js} +2 -2
  13. package/dist/split/chunks/{iwork-HnghW_EB.js → iwork-DlaehzuR.js} +63 -63
  14. package/dist/split/chunks/{media-runtime-kbzoW8bd.js → media-runtime-DwW7eq4g.js} +2 -2
  15. package/dist/split/chunks/{mindmap-vFlOJSIq.js → mindmap-D9lNNDoa.js} +2 -2
  16. package/dist/split/chunks/model3d-BtFT01ZH.js +5093 -0
  17. package/dist/split/chunks/{panorama-Bw_8HQsv.js → panorama-Ci6DK6sa.js} +989 -985
  18. package/dist/split/chunks/{vendor-Cv2Fxtsf.js → vendor-DvWhw-zP.js} +6883 -7216
  19. package/dist/split/chunks/{xlsx-ypLtJxeq.js → xlsx-VJTu9XNS.js} +2 -2
  20. package/dist/split/converter-core.wasm +0 -0
  21. package/dist/split/converter-office.wasm +0 -0
  22. package/dist/split/filens-step.wasm +0 -0
  23. package/dist/split/filens.js +3814 -1213
  24. package/package.json +1 -1
  25. package/dist/split/assets/iwork-worker-D64s_rsm.js +0 -34
  26. package/dist/split/chunks/model3d-BBFXmxkf.js +0 -5926
  27. package/dist/split/occt-import-js.wasm +0 -0
package/dist/index.d.ts CHANGED
@@ -15,6 +15,10 @@ export interface BrowserPreviewOptions {
15
15
  password?: string;
16
16
  fit?: 'contain' | 'width' | 'height' | 'none';
17
17
  toolbar?: boolean;
18
+ /** ZimaOS codes (zh_CN) and BCP 47 tags (zh-CN); defaults to browser language. */
19
+ locale?: string;
20
+ /** English source phrases mapped to host translations. */
21
+ messages?: Readonly<Record<string, string>>;
18
22
  initialScale?: number;
19
23
  minScale?: number;
20
24
  maxScale?: number;