@file-viewer/core 2.4.0 → 3.0.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.en.md +18 -1
- package/README.md +18 -1
- package/dist/config/options.js +9 -3
- package/dist/contracts/types.d.ts +249 -9
- package/dist/export.d.ts +10 -0
- package/dist/export.js +9 -0
- package/dist/exportDocument.d.ts +36 -0
- package/dist/exportDocument.js +894 -0
- package/dist/features/document/zoom.d.ts +1 -0
- package/dist/features/document/zoom.js +3 -0
- package/dist/features/printMask.js +138 -13
- package/dist/headless.d.ts +2 -2
- package/dist/headless.js +1 -1
- package/dist/i18n/messages.de.js +3 -0
- package/dist/i18n/messages.ja.js +3 -0
- package/dist/i18n/messages.js +6 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3 -2
- package/dist/output/export.d.ts +3 -24
- package/dist/output/export.js +27 -372
- package/dist/output/printLayout.js +10 -0
- package/dist/platform/assets.d.ts +69 -2
- package/dist/platform/assets.js +532 -29
- package/dist/registry/capabilities.d.ts +2 -2
- package/dist/registry/formats.d.ts +4 -4
- package/dist/registry/formats.generated.d.ts +273 -20
- package/dist/registry/formats.generated.js +463 -2
- package/dist/registry/registry.js +153 -11
- package/dist/renderers/index.d.ts +270 -17
- package/dist/security/svgResources.d.ts +13 -0
- package/dist/security/svgResources.js +177 -0
- package/dist/viewer/createViewer.js +42 -0
- package/dist/viewer/operations.d.ts +1 -0
- package/dist/viewer/operations.js +68 -5
- package/dist/viewer/state.js +1 -0
- package/package.json +9 -1
|
@@ -7,7 +7,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
7
7
|
readonly supportLevel: "high-fidelity";
|
|
8
8
|
readonly status: "stable";
|
|
9
9
|
readonly packageName: "@file-viewer/renderer-word";
|
|
10
|
-
readonly presets: readonly ["office", "all"];
|
|
10
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
11
11
|
readonly containerVersions: readonly ["OOXML Transitional", "OOXML Strict"];
|
|
12
12
|
readonly knownLimits: readonly ["VBA is never executed"];
|
|
13
13
|
readonly capabilities: {
|
|
@@ -26,7 +26,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
26
26
|
readonly supportLevel: "structured";
|
|
27
27
|
readonly status: "stable";
|
|
28
28
|
readonly packageName: "@file-viewer/renderer-word";
|
|
29
|
-
readonly presets: readonly ["office", "all"];
|
|
29
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
30
30
|
readonly containerVersions: readonly ["Word 97-2003 Binary"];
|
|
31
31
|
readonly knownLimits: readonly ["Macros are never executed"];
|
|
32
32
|
readonly capabilities: {
|
|
@@ -44,7 +44,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
44
44
|
readonly async: true;
|
|
45
45
|
readonly supportLevel: "structured";
|
|
46
46
|
readonly status: "stable";
|
|
47
|
-
readonly packageName: "@file-viewer/renderer-
|
|
47
|
+
readonly packageName: "@file-viewer/renderer-ppt";
|
|
48
48
|
readonly presets: readonly ["office", "all"];
|
|
49
49
|
readonly containerVersions: readonly ["PowerPoint 97-2003 Binary"];
|
|
50
50
|
readonly knownLimits: readonly ["Embedded engine watermark is retained", "Macros are never executed"];
|
|
@@ -63,8 +63,8 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
63
63
|
readonly async: true;
|
|
64
64
|
readonly supportLevel: "high-fidelity";
|
|
65
65
|
readonly status: "stable";
|
|
66
|
-
readonly packageName: "@file-viewer/renderer-
|
|
67
|
-
readonly presets: readonly ["office", "all"];
|
|
66
|
+
readonly packageName: "@file-viewer/renderer-pptx";
|
|
67
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
68
68
|
readonly containerVersions: readonly ["OOXML Transitional", "OOXML Strict"];
|
|
69
69
|
readonly knownLimits: readonly ["Macros and external programs are never executed"];
|
|
70
70
|
readonly capabilities: {
|
|
@@ -83,7 +83,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
83
83
|
readonly supportLevel: "structured";
|
|
84
84
|
readonly status: "stable";
|
|
85
85
|
readonly packageName: "@file-viewer/renderer-word";
|
|
86
|
-
readonly presets: readonly ["office", "all"];
|
|
86
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
87
87
|
readonly containerVersions: readonly ["RTF", "OpenDocument"];
|
|
88
88
|
readonly knownLimits: readonly [];
|
|
89
89
|
readonly capabilities: {
|
|
@@ -102,7 +102,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
102
102
|
readonly supportLevel: "structured";
|
|
103
103
|
readonly status: "stable";
|
|
104
104
|
readonly packageName: "@file-viewer/renderer-spreadsheet";
|
|
105
|
-
readonly presets: readonly ["office", "all"];
|
|
105
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
106
106
|
readonly containerVersions: readonly ["OOXML", "BIFF", "OpenDocument", "Delimited text"];
|
|
107
107
|
readonly knownLimits: readonly ["VBA and add-in code are never executed", "Formula results are read from the saved workbook cache"];
|
|
108
108
|
readonly capabilities: {
|
|
@@ -197,7 +197,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
197
197
|
readonly supportLevel: "structured";
|
|
198
198
|
readonly status: "stable";
|
|
199
199
|
readonly packageName: "@file-viewer/renderer-spreadsheet";
|
|
200
|
-
readonly presets: readonly ["office", "all"];
|
|
200
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
201
201
|
readonly containerVersions: readonly ["dBASE III/IV", "Visual FoxPro"];
|
|
202
202
|
readonly knownLimits: readonly ["Missing DBT/FPT memo sidecars are reported as incomplete"];
|
|
203
203
|
readonly capabilities: {
|
|
@@ -216,7 +216,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
216
216
|
readonly supportLevel: "high-fidelity";
|
|
217
217
|
readonly status: "stable";
|
|
218
218
|
readonly packageName: "@file-viewer/renderer-pdf";
|
|
219
|
-
readonly presets: readonly ["office", "all"];
|
|
219
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
220
220
|
readonly containerVersions: readonly ["PDF"];
|
|
221
221
|
readonly knownLimits: readonly [];
|
|
222
222
|
readonly capabilities: {
|
|
@@ -235,7 +235,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
235
235
|
readonly supportLevel: "structured";
|
|
236
236
|
readonly status: "stable";
|
|
237
237
|
readonly packageName: "@file-viewer/renderer-ofd";
|
|
238
|
-
readonly presets: readonly ["office", "all"];
|
|
238
|
+
readonly presets: readonly ["standard", "office", "all"];
|
|
239
239
|
readonly containerVersions: readonly ["OFD"];
|
|
240
240
|
readonly knownLimits: readonly [];
|
|
241
241
|
readonly capabilities: {
|
|
@@ -292,7 +292,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
292
292
|
readonly supportLevel: "structured";
|
|
293
293
|
readonly status: "stable";
|
|
294
294
|
readonly packageName: "@file-viewer/renderer-archive";
|
|
295
|
-
readonly presets: readonly ["all"];
|
|
295
|
+
readonly presets: readonly ["standard", "all"];
|
|
296
296
|
readonly containerVersions: readonly ["libarchive-supported containers"];
|
|
297
297
|
readonly knownLimits: readonly [];
|
|
298
298
|
readonly capabilities: {
|
|
@@ -302,6 +302,25 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
302
302
|
readonly zoom: false;
|
|
303
303
|
readonly search: true;
|
|
304
304
|
};
|
|
305
|
+
}, {
|
|
306
|
+
readonly id: "chm";
|
|
307
|
+
readonly label: "Compiled HTML Help";
|
|
308
|
+
readonly category: "ebook";
|
|
309
|
+
readonly extensions: readonly ["chm"];
|
|
310
|
+
readonly async: true;
|
|
311
|
+
readonly supportLevel: "structured";
|
|
312
|
+
readonly status: "stable";
|
|
313
|
+
readonly packageName: "@file-viewer/renderer-chm";
|
|
314
|
+
readonly presets: readonly ["all"];
|
|
315
|
+
readonly containerVersions: readonly ["Microsoft HTML Help ITSF v2/v3", "LZX MSCompressed and uncompressed content"];
|
|
316
|
+
readonly knownLimits: readonly ["ActiveX, Shortcut/WinHelp commands, scripts and external network resources are intentionally blocked", "Merged help collections require each referenced CHM file to be opened separately"];
|
|
317
|
+
readonly capabilities: {
|
|
318
|
+
readonly download: true;
|
|
319
|
+
readonly print: "adapter";
|
|
320
|
+
readonly exportHtml: "adapter";
|
|
321
|
+
readonly zoom: false;
|
|
322
|
+
readonly search: true;
|
|
323
|
+
};
|
|
305
324
|
}, {
|
|
306
325
|
readonly id: "email";
|
|
307
326
|
readonly label: "Email";
|
|
@@ -311,7 +330,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
311
330
|
readonly supportLevel: "structured";
|
|
312
331
|
readonly status: "stable";
|
|
313
332
|
readonly packageName: "@file-viewer/renderer-email";
|
|
314
|
-
readonly presets: readonly ["all"];
|
|
333
|
+
readonly presets: readonly ["standard", "all"];
|
|
315
334
|
readonly containerVersions: readonly ["MIME", "Outlook MSG", "mbox"];
|
|
316
335
|
readonly knownLimits: readonly [];
|
|
317
336
|
readonly capabilities: {
|
|
@@ -501,7 +520,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
501
520
|
readonly supportLevel: "high-fidelity";
|
|
502
521
|
readonly status: "stable";
|
|
503
522
|
readonly packageName: "@file-viewer/renderer-image";
|
|
504
|
-
readonly presets: readonly ["lite", "all"];
|
|
523
|
+
readonly presets: readonly ["lite", "standard", "all"];
|
|
505
524
|
readonly containerVersions: readonly ["Raster", "SVG"];
|
|
506
525
|
readonly knownLimits: readonly [];
|
|
507
526
|
readonly capabilities: {
|
|
@@ -511,6 +530,44 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
511
530
|
readonly zoom: "provider";
|
|
512
531
|
readonly search: false;
|
|
513
532
|
};
|
|
533
|
+
}, {
|
|
534
|
+
readonly id: "dicom";
|
|
535
|
+
readonly label: "DICOM";
|
|
536
|
+
readonly category: "medical-image";
|
|
537
|
+
readonly extensions: readonly ["dcm", "dicom"];
|
|
538
|
+
readonly async: true;
|
|
539
|
+
readonly supportLevel: "basic";
|
|
540
|
+
readonly status: "experimental";
|
|
541
|
+
readonly packageName: "@file-viewer/renderer-dicom";
|
|
542
|
+
readonly presets: readonly [];
|
|
543
|
+
readonly containerVersions: readonly ["DICOM Part 10"];
|
|
544
|
+
readonly knownLimits: readonly ["Local single-file and multi-frame viewing only; series assembly, PACS/DICOMweb, MPR, segmentation, measurement tools, and diagnostic-use claims are not included", "Tested transfer syntaxes are Implicit/Explicit VR Little Endian, JPEG Lossless Process 14 SV1, JPEG-LS Lossless, and JPEG 2000 Lossless"];
|
|
545
|
+
readonly capabilities: {
|
|
546
|
+
readonly download: true;
|
|
547
|
+
readonly print: false;
|
|
548
|
+
readonly exportHtml: false;
|
|
549
|
+
readonly zoom: "provider";
|
|
550
|
+
readonly search: false;
|
|
551
|
+
};
|
|
552
|
+
}, {
|
|
553
|
+
readonly id: "signature";
|
|
554
|
+
readonly label: "Digital signatures and evidence containers";
|
|
555
|
+
readonly category: "cryptographic-container";
|
|
556
|
+
readonly extensions: readonly ["p7m", "p7s", "p7c", "p7b", "pkcs7", "cms", "cmsc", "tsd", "tst", "tsq", "tsr", "asics", "scs", "asice", "sce", "ers", "asc", "sig", "pgp", "gpg", "jws"];
|
|
557
|
+
readonly async: true;
|
|
558
|
+
readonly supportLevel: "structured";
|
|
559
|
+
readonly status: "experimental";
|
|
560
|
+
readonly packageName: "@file-viewer/renderer-signature";
|
|
561
|
+
readonly presets: readonly [];
|
|
562
|
+
readonly containerVersions: readonly ["CMS/PKCS#7", "CAdES attributes", "RFC 3161", "RFC 5544", "ASiC-S/E", "RFC 4998", "RFC 7515", "OpenPGP RFC 9580"];
|
|
563
|
+
readonly knownLimits: readonly ["Opt-in renderer; it is not added to the published preset-all/full compatibility closure", "Cryptographic checks are reported separately from certificate/key trust, policy, qualified-signature status and legal validity", "ASiC XML references and RFC 4998 renewal chains are structurally inspected; full XAdES and archival-policy validation are not claimed", "OpenPGP private-key operations and automatic decryption are intentionally excluded"];
|
|
564
|
+
readonly capabilities: {
|
|
565
|
+
readonly download: true;
|
|
566
|
+
readonly print: false;
|
|
567
|
+
readonly exportHtml: false;
|
|
568
|
+
readonly zoom: false;
|
|
569
|
+
readonly search: false;
|
|
570
|
+
};
|
|
514
571
|
}, {
|
|
515
572
|
readonly id: "markdown";
|
|
516
573
|
readonly label: "Markdown";
|
|
@@ -520,7 +577,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
520
577
|
readonly supportLevel: "structured";
|
|
521
578
|
readonly status: "stable";
|
|
522
579
|
readonly packageName: "@file-viewer/renderer-text";
|
|
523
|
-
readonly presets: readonly ["lite", "all"];
|
|
580
|
+
readonly presets: readonly ["lite", "standard", "all"];
|
|
524
581
|
readonly containerVersions: readonly ["CommonMark/GFM"];
|
|
525
582
|
readonly knownLimits: readonly [];
|
|
526
583
|
readonly capabilities: {
|
|
@@ -539,7 +596,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
539
596
|
readonly supportLevel: "structured";
|
|
540
597
|
readonly status: "stable";
|
|
541
598
|
readonly packageName: "@file-viewer/renderer-text";
|
|
542
|
-
readonly presets: readonly ["lite", "all"];
|
|
599
|
+
readonly presets: readonly ["lite", "standard", "all"];
|
|
543
600
|
readonly containerVersions: readonly ["Plain text", "source code", "Git bundle"];
|
|
544
601
|
readonly knownLimits: readonly [];
|
|
545
602
|
readonly capabilities: {
|
|
@@ -558,7 +615,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
558
615
|
readonly supportLevel: "high-fidelity";
|
|
559
616
|
readonly status: "stable";
|
|
560
617
|
readonly packageName: "@file-viewer/renderer-media";
|
|
561
|
-
readonly presets: readonly ["lite", "all"];
|
|
618
|
+
readonly presets: readonly ["lite", "standard", "all"];
|
|
562
619
|
readonly containerVersions: readonly ["Browser media"];
|
|
563
620
|
readonly knownLimits: readonly ["Codec support follows the browser"];
|
|
564
621
|
readonly capabilities: {
|
|
@@ -577,7 +634,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
577
634
|
readonly supportLevel: "high-fidelity";
|
|
578
635
|
readonly status: "stable";
|
|
579
636
|
readonly packageName: "@file-viewer/renderer-media";
|
|
580
|
-
readonly presets: readonly ["lite", "all"];
|
|
637
|
+
readonly presets: readonly ["lite", "standard", "all"];
|
|
581
638
|
readonly containerVersions: readonly ["Browser media", "MIDI"];
|
|
582
639
|
readonly knownLimits: readonly ["Codec support follows the browser"];
|
|
583
640
|
readonly capabilities: {
|
|
@@ -587,6 +644,202 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
587
644
|
readonly zoom: false;
|
|
588
645
|
readonly search: false;
|
|
589
646
|
};
|
|
647
|
+
}, {
|
|
648
|
+
readonly id: "photoshop-design";
|
|
649
|
+
readonly label: "Adobe Photoshop";
|
|
650
|
+
readonly category: "asset";
|
|
651
|
+
readonly extensions: readonly ["psb", "pdd", "psdt"];
|
|
652
|
+
readonly async: true;
|
|
653
|
+
readonly supportLevel: "experimental";
|
|
654
|
+
readonly status: "experimental";
|
|
655
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
656
|
+
readonly presets: readonly [];
|
|
657
|
+
readonly enhancesRendererId: "data-asset";
|
|
658
|
+
readonly enhancesExtensions: readonly ["psd"];
|
|
659
|
+
readonly containerVersions: readonly ["PSD v1", "PSB v2"];
|
|
660
|
+
readonly knownLimits: readonly ["Pixel rendering is enabled only for 8-bit RGB and grayscale documents; unsupported color modes and bit depths are rejected instead of decoded incorrectly", "The untouched merged composite is the fidelity reference and must have been saved with Maximize Compatibility using Raw or PackBits RLE compression; ZIP composites are rejected", "Auxiliary channels are accepted only when PSD layer-info declares one merged-transparency channel; PSB currently requires exactly the base RGB or grayscale channels", "Embedded ICC profiles are detected but not color-converted yet, so profiled color is not reference-verified", "The PSD/PSB container version is taken from the 8BPS header; a mismatched filename extension is diagnosed and never used as the format authority", "Legacy PhotoDeluxe PDD and Photoshop template PSDT inputs are accepted only when the bytes validate as a PSD v1 8BPS container; unrelated files sharing those extensions are rejected", "PSD layer visibility is interactive only for flat normal-blend 100%-opacity documents without masks, effects, clipping, adjustments, groups, or resource-limit violations", "PSB currently exposes the saved composite and a read-only layer tree; interactive PSB layer recomposition is not claimed, and PSB files containing ZIP-compressed layer channels are rejected"];
|
|
661
|
+
readonly capabilities: {
|
|
662
|
+
readonly download: true;
|
|
663
|
+
readonly print: true;
|
|
664
|
+
readonly exportHtml: false;
|
|
665
|
+
readonly zoom: true;
|
|
666
|
+
readonly search: false;
|
|
667
|
+
};
|
|
668
|
+
}, {
|
|
669
|
+
readonly id: "illustrator-pdf-design";
|
|
670
|
+
readonly label: "Adobe Illustrator AI/AIT";
|
|
671
|
+
readonly category: "asset";
|
|
672
|
+
readonly extensions: readonly ["ait"];
|
|
673
|
+
readonly async: true;
|
|
674
|
+
readonly supportLevel: "experimental";
|
|
675
|
+
readonly status: "experimental";
|
|
676
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
677
|
+
readonly presets: readonly [];
|
|
678
|
+
readonly enhancesRendererId: "data-asset";
|
|
679
|
+
readonly enhancesExtensions: readonly ["ai"];
|
|
680
|
+
readonly containerVersions: readonly ["Illustrator PDF-compatible AI/AIT", "Illustrator native PGF/private source"];
|
|
681
|
+
readonly knownLimits: readonly ["Automatic mode prefers the verified PDF-compatible surface for the highest saved appearance fidelity, while Native PGF mode parses the editable private source in a dedicated bounded Worker and exposes native artboards and layer visibility", "A PDF header alone is insufficient: the renderer also requires Illustrator-origin XMP, MIME, creator, or AIPrivateData evidence so an ordinary renamed PDF is not advertised as an Illustrator document", "The packaged browser Worker decodes uncompressed, deflate, and Illustrator 24 zstd private source entirely offline; zstd output is streamed through the same decoded-byte ceiling and unsupported long-distance frames fail explicitly", "Native PGF rendering currently preserves and reports unknown operators but does not claim complete Illustrator gradients, text shaping, placed or embedded images, plugins, effects, masks, blending, overprint, spot-color management, or font substitution fidelity", "The PDF renderer is required only for the saved PDF surface; native-only AI/AIT can open without it, and PDF pages or optional-content groups are not presented as native artboards or layers"];
|
|
682
|
+
readonly capabilities: {
|
|
683
|
+
readonly download: true;
|
|
684
|
+
readonly print: true;
|
|
685
|
+
readonly exportHtml: false;
|
|
686
|
+
readonly zoom: true;
|
|
687
|
+
readonly search: true;
|
|
688
|
+
};
|
|
689
|
+
}, {
|
|
690
|
+
readonly id: "indesign-idml-design";
|
|
691
|
+
readonly label: "Adobe InDesign IDML";
|
|
692
|
+
readonly category: "asset";
|
|
693
|
+
readonly extensions: readonly ["idml"];
|
|
694
|
+
readonly async: true;
|
|
695
|
+
readonly supportLevel: "experimental";
|
|
696
|
+
readonly status: "experimental";
|
|
697
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
698
|
+
readonly presets: readonly [];
|
|
699
|
+
readonly containerVersions: readonly ["IDML package", "@paged-media/introspect-wasm 0.62.0"];
|
|
700
|
+
readonly knownLimits: readonly ["Pages are rendered locally by the CPU WASM engine in a module Worker; the browser never uploads the IDML package", "ZIP64, encrypted, multi-disk, overlapping, unsafe-path, unsupported-compression, and configured expansion-limit packages are rejected before the WASM engine opens them", "The current engine page tree lists TextFrame and Rectangle objects only even though other supported objects may still appear in rendered page pixels", "Each page render rebuilds the upstream document internally; interactive requests are latest-wins, preview is lazy, and print-all is bounded by the configured total RGBA working-set limit"];
|
|
701
|
+
readonly capabilities: {
|
|
702
|
+
readonly download: true;
|
|
703
|
+
readonly print: true;
|
|
704
|
+
readonly exportHtml: false;
|
|
705
|
+
readonly zoom: true;
|
|
706
|
+
readonly search: false;
|
|
707
|
+
};
|
|
708
|
+
}, {
|
|
709
|
+
readonly id: "indesign-exchange-design";
|
|
710
|
+
readonly label: "Adobe InCopy and InDesign Exchange";
|
|
711
|
+
readonly category: "asset";
|
|
712
|
+
readonly extensions: readonly ["icml", "idms", "inx"];
|
|
713
|
+
readonly async: true;
|
|
714
|
+
readonly supportLevel: "structured";
|
|
715
|
+
readonly status: "experimental";
|
|
716
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
717
|
+
readonly presets: readonly [];
|
|
718
|
+
readonly containerVersions: readonly ["ICML InCopyInterchange", "IDMS PageItem", "legacy INX"];
|
|
719
|
+
readonly knownLimits: readonly ["ICML is rendered as styled story content because the format does not carry a complete document page layout", "IDMS page-item paths, transforms, colors, stories, styles, layers, and linked-resource metadata are parsed in a terminable Worker and shown as a bounded layout-fragment preview; it is not advertised as a complete INDD page", "Legacy INX abbreviated records have no maintained browser layout engine; common page items and geometry are visualized while every unmapped element name remains visible in the structure inventory", "UTF-8, signature, DTD/entity, source size, node, depth, attribute, text, story, item, point, style, and color limits are enforced; linked resource paths are never fetched"];
|
|
720
|
+
readonly capabilities: {
|
|
721
|
+
readonly download: true;
|
|
722
|
+
readonly print: true;
|
|
723
|
+
readonly exportHtml: true;
|
|
724
|
+
readonly zoom: false;
|
|
725
|
+
readonly search: true;
|
|
726
|
+
};
|
|
727
|
+
}, {
|
|
728
|
+
readonly id: "adobe-animate-xfl-design";
|
|
729
|
+
readonly label: "Adobe Animate XFL";
|
|
730
|
+
readonly category: "asset";
|
|
731
|
+
readonly extensions: readonly ["fla", "xfl"];
|
|
732
|
+
readonly async: true;
|
|
733
|
+
readonly supportLevel: "structured";
|
|
734
|
+
readonly status: "experimental";
|
|
735
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
736
|
+
readonly presets: readonly [];
|
|
737
|
+
readonly containerVersions: readonly ["Modern compressed XFL-based FLA (CS5+)", "single DOMDocument XML XFL"];
|
|
738
|
+
readonly knownLimits: readonly ["Modern ZIP/XFL-based FLA is parsed in a terminable Worker; legacy binary FLA (Flash CS4 and earlier) is explicitly rejected", "The bounded first-frame preview reconstructs solid shapes, static text, nested symbols, and direct PNG/JPEG instances; masks, filters, tweens, ActionScript, audio/video playback, and proprietary bitmap .dat payloads remain structure-only", "A standard uncompressed .xfl is only a marker beside DOMDocument.xml, LIBRARY, and media folders; a single browser File object cannot access those siblings, so it must be packaged as FLA or supplied through a future folder/multi-file API", "ZIP64, encryption, multi-disk archives, overlapping records, unsafe or ambiguous paths, CRC failures, unsupported compression, DTD/entity XML, external XML stylesheets, and configured size/node/depth/ratio limits are rejected"];
|
|
739
|
+
readonly capabilities: {
|
|
740
|
+
readonly download: true;
|
|
741
|
+
readonly print: false;
|
|
742
|
+
readonly exportHtml: false;
|
|
743
|
+
readonly zoom: false;
|
|
744
|
+
readonly search: false;
|
|
745
|
+
};
|
|
746
|
+
}, {
|
|
747
|
+
readonly id: "adobe-xd-design";
|
|
748
|
+
readonly label: "Adobe XD Package";
|
|
749
|
+
readonly category: "asset";
|
|
750
|
+
readonly extensions: readonly ["xd"];
|
|
751
|
+
readonly async: true;
|
|
752
|
+
readonly supportLevel: "structured";
|
|
753
|
+
readonly status: "experimental";
|
|
754
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
755
|
+
readonly presets: readonly [];
|
|
756
|
+
readonly containerVersions: readonly ["XD UCF package", "AGC JSON inventory"];
|
|
757
|
+
readonly knownLimits: readonly ["A terminable module Worker shows the highest-resolution structurally referenced embedded PNG/JPEG rendition and a bounded manifest, artboard, layer, and resource inventory", "Native AGC vector scene reconstruction is not implemented; files without a saved preview remain structure-only", "ZIP64, encrypted, multi-disk, overlapping, unsafe-path, CRC-invalid, unsupported-compression, and configured expansion-limit packages are rejected"];
|
|
758
|
+
readonly capabilities: {
|
|
759
|
+
readonly download: true;
|
|
760
|
+
readonly print: false;
|
|
761
|
+
readonly exportHtml: false;
|
|
762
|
+
readonly zoom: false;
|
|
763
|
+
readonly search: false;
|
|
764
|
+
};
|
|
765
|
+
}, {
|
|
766
|
+
readonly id: "indesign-native-design";
|
|
767
|
+
readonly label: "Adobe InDesign Native";
|
|
768
|
+
readonly category: "asset";
|
|
769
|
+
readonly extensions: readonly ["indd", "indt"];
|
|
770
|
+
readonly async: true;
|
|
771
|
+
readonly supportLevel: "structured";
|
|
772
|
+
readonly status: "experimental";
|
|
773
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
774
|
+
readonly presets: readonly [];
|
|
775
|
+
readonly containerVersions: readonly ["InDesign 2+ native database", "INDD", "INDT"];
|
|
776
|
+
readonly knownLimits: readonly ["A terminable module Worker shows a JPEG/PNG preview only when it is embedded in a structurally verified contiguous XMP object", "The proprietary native layout database is not reconstructed; files without a saved XMP thumbnail remain metadata- or structure-only and should be exported to IDML for full page rendering", "The reader follows declared master-page and object boundaries and never scans arbitrary binary bytes for coincidental image signatures; legacy InDesign 1.x is rejected"];
|
|
777
|
+
readonly capabilities: {
|
|
778
|
+
readonly download: true;
|
|
779
|
+
readonly print: false;
|
|
780
|
+
readonly exportHtml: false;
|
|
781
|
+
readonly zoom: false;
|
|
782
|
+
readonly search: false;
|
|
783
|
+
};
|
|
784
|
+
}, {
|
|
785
|
+
readonly id: "postscript-design";
|
|
786
|
+
readonly label: "Adobe EPS and PostScript";
|
|
787
|
+
readonly category: "asset";
|
|
788
|
+
readonly extensions: readonly ["ps"];
|
|
789
|
+
readonly async: true;
|
|
790
|
+
readonly supportLevel: "experimental";
|
|
791
|
+
readonly status: "experimental";
|
|
792
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
793
|
+
readonly presets: readonly [];
|
|
794
|
+
readonly enhancesRendererId: "data-asset";
|
|
795
|
+
readonly enhancesExtensions: readonly ["eps"];
|
|
796
|
+
readonly containerVersions: readonly ["EPSF/DSC PostScript", "Adobe PostScript programs"];
|
|
797
|
+
readonly knownLimits: readonly ["Stet WASM renders pages in a terminable Worker with latest-wins interactive requests and bounded source size, VM memory, page count, dimensions, pixels, DPI, total print working set, and retained canvas cache", "The distributed runtime excludes upstream URW Base35 and Ghostscript CMYK ICC assets; Carlito, Tinos, Cousine, and Noto Sans Symbols 2 OFL substitutes plus the PLRM DeviceCMYK formula fallback can differ in metrics and color from Adobe applications", "This experimental path is not claimed to implement every Adobe PostScript Level 3 operator, font technology, color-management workflow, or printer device"];
|
|
798
|
+
readonly capabilities: {
|
|
799
|
+
readonly download: true;
|
|
800
|
+
readonly print: true;
|
|
801
|
+
readonly exportHtml: false;
|
|
802
|
+
readonly zoom: true;
|
|
803
|
+
readonly search: false;
|
|
804
|
+
};
|
|
805
|
+
}, {
|
|
806
|
+
readonly id: "adobe-palette-design";
|
|
807
|
+
readonly label: "Adobe Color Palettes";
|
|
808
|
+
readonly category: "asset";
|
|
809
|
+
readonly extensions: readonly ["ase", "aco"];
|
|
810
|
+
readonly async: true;
|
|
811
|
+
readonly supportLevel: "structured";
|
|
812
|
+
readonly status: "stable";
|
|
813
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
814
|
+
readonly presets: readonly [];
|
|
815
|
+
readonly containerVersions: readonly ["ASE 1.x", "ACO v1/v2"];
|
|
816
|
+
readonly knownLimits: readonly ["ASE RGB, CMYK, Gray, and CIELAB colors and ACO RGB, HSB, CMYK, CIELAB, and Gray colors are parsed with strict bounds in a terminable module Worker", "Browser swatches convert CIELAB D50 and device CMYK to approximate sRGB; original model values remain visible for reference", "Unknown ASE blocks and bounded ACO trailing application data are skipped and reported rather than executed"];
|
|
817
|
+
readonly capabilities: {
|
|
818
|
+
readonly download: true;
|
|
819
|
+
readonly print: true;
|
|
820
|
+
readonly exportHtml: true;
|
|
821
|
+
readonly zoom: false;
|
|
822
|
+
readonly search: true;
|
|
823
|
+
};
|
|
824
|
+
}, {
|
|
825
|
+
readonly id: "photoshop-resource-design";
|
|
826
|
+
readonly label: "Adobe Photoshop Resources and Presets";
|
|
827
|
+
readonly category: "asset";
|
|
828
|
+
readonly extensions: readonly ["abr", "csh", "pat", "grd", "asl"];
|
|
829
|
+
readonly async: true;
|
|
830
|
+
readonly supportLevel: "structured";
|
|
831
|
+
readonly status: "experimental";
|
|
832
|
+
readonly packageName: "@file-viewer/renderer-design";
|
|
833
|
+
readonly presets: readonly [];
|
|
834
|
+
readonly containerVersions: readonly ["Photoshop ABR 6.x", "Photoshop CSH v2", "PAT v1", "GRD v5", "ASL v2", "ag-psd 31.0.2"];
|
|
835
|
+
readonly knownLimits: readonly ["ABR previews decode saved brush-tip alpha, embedded patterns, and bounded preset metadata; they do not simulate Photoshop's stroke engine, dynamics, or paint blending", "CSH previews reconstruct bounded Bezier path geometry; subtract, intersect, and exclude composition is exposed as metadata rather than claimed as Photoshop-equivalent raster output", "PAT previews decode bounded RGB, grayscale, indexed-color, alpha, Raw, and PackBits pattern tiles; unsupported image modes and compression variants fail closed", "GRD previews render saved solid color stops and deterministic bounded noise samples from v5 descriptors; they do not claim Photoshop's complete interpolation and color-management pipeline", "ASL previews expose bounded layer-effect descriptors, blend metadata, and embedded pattern thumbnails as a structure view; they do not rasterize Photoshop's full effect stack", "Legacy ABR variants before 6.x and unknown CSH container versions are rejected instead of being scanned heuristically"];
|
|
836
|
+
readonly capabilities: {
|
|
837
|
+
readonly download: true;
|
|
838
|
+
readonly print: true;
|
|
839
|
+
readonly exportHtml: false;
|
|
840
|
+
readonly zoom: false;
|
|
841
|
+
readonly search: true;
|
|
842
|
+
};
|
|
590
843
|
}, {
|
|
591
844
|
readonly id: "data-asset";
|
|
592
845
|
readonly label: "Data Asset";
|
|
@@ -607,7 +860,7 @@ export declare const DEFAULT_RENDERER_DEFINITIONS: readonly [{
|
|
|
607
860
|
readonly search: true;
|
|
608
861
|
};
|
|
609
862
|
}];
|
|
610
|
-
export declare const DEFAULT_REGISTERED_EXTENSIONS: readonly ("markdown" | "webp" | "jpeg" | "png" | "xyz" | "wasm" | "
|
|
611
|
-
export declare const DEFAULT_STABLE_SUPPORTED_EXTENSIONS: readonly ("markdown" | "webp" | "jpeg" | "png" | "xyz" | "wasm" | "
|
|
863
|
+
export declare const DEFAULT_REGISTERED_EXTENSIONS: readonly ("markdown" | "webp" | "jpeg" | "png" | "pdf" | "xyz" | "wasm" | "chm" | "typst" | "xd" | "fla" | "js" | "html" | "svg" | "rb" | "docx" | "docm" | "dotx" | "dotm" | "doc" | "dot" | "ppt" | "pot" | "pptx" | "pptm" | "potx" | "potm" | "ppsx" | "ppsm" | "rtf" | "odt" | "odp" | "xlsx" | "xltx" | "xlsm" | "xlsb" | "xls" | "xlt" | "xla" | "xlam" | "xltm" | "csv" | "tsv" | "ods" | "fods" | "pages" | "numbers" | "key" | "wpd" | "wp" | "wp5" | "wp6" | "dbf" | "ofd" | "hwp" | "hwpx" | "typ" | "zip" | "zipx" | "7z" | "rar" | "tar" | "gz" | "gzip" | "tgz" | "bz2" | "bzip2" | "tbz" | "tbz2" | "xz" | "txz" | "lzma" | "zst" | "tzst" | "cab" | "ar" | "cpio" | "iso" | "xar" | "lha" | "lzh" | "jar" | "war" | "ear" | "apk" | "cbz" | "cbr" | "eml" | "msg" | "mbox" | "olb" | "dra" | "gds" | "oas" | "oasis" | "dxf" | "dwg" | "dwf" | "dwfx" | "xps" | "glb" | "gltf" | "obj" | "stl" | "ply" | "fbx" | "dae" | "3ds" | "3mf" | "amf" | "usd" | "usda" | "usdc" | "usdz" | "kmz" | "step" | "stp" | "iges" | "igs" | "ifc" | "3dm" | "brep" | "pcd" | "wrl" | "vrml" | "vtk" | "vtp" | "geojson" | "kml" | "gpx" | "shp" | "excalidraw" | "drawio" | "dio" | "mermaid" | "mmd" | "plantuml" | "puml" | "xmind" | "epub" | "fb2" | "umd" | "gif" | "jpg" | "bmp" | "tiff" | "tif" | "avif" | "ico" | "heic" | "heif" | "jxl" | "dicom" | "dcm" | "p7m" | "p7s" | "p7c" | "p7b" | "pkcs7" | "cms" | "cmsc" | "tsd" | "tst" | "tsq" | "tsr" | "asics" | "scs" | "asice" | "sce" | "ers" | "asc" | "sig" | "pgp" | "gpg" | "jws" | "md" | "txt" | "json" | "mjs" | "cjs" | "css" | "java" | "py" | "htm" | "jsx" | "ts" | "tsx" | "xml" | "log" | "vue" | "yaml" | "yml" | "ini" | "sh" | "bash" | "sql" | "go" | "rs" | "php" | "c" | "cpp" | "cc" | "h" | "hpp" | "cs" | "diff" | "patch" | "bundle" | "bdl" | "jsonc" | "json5" | "ipynb" | "toml" | "proto" | "hcl" | "tex" | "gv" | "http" | "react" | "swift" | "kt" | "mp4" | "webm" | "m3u8" | "mp3" | "mpeg" | "wav" | "ogg" | "oga" | "opus" | "m4a" | "aac" | "flac" | "weba" | "midi" | "mid" | "psb" | "pdd" | "psdt" | "psd" | "ait" | "ai" | "idml" | "icml" | "idms" | "inx" | "xfl" | "indd" | "indt" | "ps" | "eps" | "ase" | "aco" | "abr" | "csh" | "pat" | "grd" | "asl" | "ttf" | "otf" | "woff" | "woff2" | "sqlite" | "parquet" | "avro" | "webarchive")[];
|
|
864
|
+
export declare const DEFAULT_STABLE_SUPPORTED_EXTENSIONS: readonly ("markdown" | "webp" | "jpeg" | "png" | "pdf" | "xyz" | "wasm" | "chm" | "typst" | "js" | "html" | "svg" | "rb" | "docx" | "docm" | "dotx" | "dotm" | "doc" | "dot" | "ppt" | "pot" | "pptx" | "pptm" | "potx" | "potm" | "ppsx" | "ppsm" | "rtf" | "odt" | "odp" | "xlsx" | "xltx" | "xlsm" | "xlsb" | "xls" | "xlt" | "xla" | "xlam" | "xltm" | "csv" | "tsv" | "ods" | "fods" | "pages" | "numbers" | "key" | "wpd" | "wp" | "wp5" | "wp6" | "dbf" | "ofd" | "hwp" | "hwpx" | "typ" | "zip" | "zipx" | "7z" | "rar" | "tar" | "gz" | "gzip" | "tgz" | "bz2" | "bzip2" | "tbz" | "tbz2" | "xz" | "txz" | "lzma" | "zst" | "tzst" | "cab" | "ar" | "cpio" | "iso" | "xar" | "lha" | "lzh" | "jar" | "war" | "ear" | "apk" | "cbz" | "cbr" | "eml" | "msg" | "mbox" | "olb" | "dra" | "gds" | "oas" | "oasis" | "dxf" | "dwg" | "dwf" | "dwfx" | "xps" | "glb" | "gltf" | "obj" | "stl" | "ply" | "fbx" | "dae" | "3ds" | "3mf" | "amf" | "usd" | "usda" | "usdc" | "usdz" | "kmz" | "step" | "stp" | "iges" | "igs" | "ifc" | "3dm" | "brep" | "pcd" | "wrl" | "vrml" | "vtk" | "vtp" | "geojson" | "kml" | "gpx" | "shp" | "excalidraw" | "drawio" | "dio" | "mermaid" | "mmd" | "plantuml" | "puml" | "xmind" | "epub" | "fb2" | "umd" | "gif" | "jpg" | "bmp" | "tiff" | "tif" | "avif" | "ico" | "heic" | "heif" | "jxl" | "md" | "txt" | "json" | "mjs" | "cjs" | "css" | "java" | "py" | "htm" | "jsx" | "ts" | "tsx" | "xml" | "log" | "vue" | "yaml" | "yml" | "ini" | "sh" | "bash" | "sql" | "go" | "rs" | "php" | "c" | "cpp" | "cc" | "h" | "hpp" | "cs" | "diff" | "patch" | "bundle" | "bdl" | "jsonc" | "json5" | "ipynb" | "toml" | "proto" | "hcl" | "tex" | "gv" | "http" | "react" | "swift" | "kt" | "mp4" | "webm" | "m3u8" | "mp3" | "mpeg" | "wav" | "ogg" | "oga" | "opus" | "m4a" | "aac" | "flac" | "weba" | "midi" | "mid" | "psd" | "ai" | "eps" | "ase" | "aco" | "ttf" | "otf" | "woff" | "woff2" | "sqlite" | "parquet" | "avro" | "webarchive")[];
|
|
612
865
|
/** @deprecated Use DEFAULT_REGISTERED_EXTENSIONS when the experimental/stable distinction matters. */
|
|
613
|
-
export declare const DEFAULT_SUPPORTED_EXTENSIONS: readonly ("markdown" | "webp" | "jpeg" | "png" | "xyz" | "wasm" | "
|
|
866
|
+
export declare const DEFAULT_SUPPORTED_EXTENSIONS: readonly ("markdown" | "webp" | "jpeg" | "png" | "pdf" | "xyz" | "wasm" | "chm" | "typst" | "xd" | "fla" | "js" | "html" | "svg" | "rb" | "docx" | "docm" | "dotx" | "dotm" | "doc" | "dot" | "ppt" | "pot" | "pptx" | "pptm" | "potx" | "potm" | "ppsx" | "ppsm" | "rtf" | "odt" | "odp" | "xlsx" | "xltx" | "xlsm" | "xlsb" | "xls" | "xlt" | "xla" | "xlam" | "xltm" | "csv" | "tsv" | "ods" | "fods" | "pages" | "numbers" | "key" | "wpd" | "wp" | "wp5" | "wp6" | "dbf" | "ofd" | "hwp" | "hwpx" | "typ" | "zip" | "zipx" | "7z" | "rar" | "tar" | "gz" | "gzip" | "tgz" | "bz2" | "bzip2" | "tbz" | "tbz2" | "xz" | "txz" | "lzma" | "zst" | "tzst" | "cab" | "ar" | "cpio" | "iso" | "xar" | "lha" | "lzh" | "jar" | "war" | "ear" | "apk" | "cbz" | "cbr" | "eml" | "msg" | "mbox" | "olb" | "dra" | "gds" | "oas" | "oasis" | "dxf" | "dwg" | "dwf" | "dwfx" | "xps" | "glb" | "gltf" | "obj" | "stl" | "ply" | "fbx" | "dae" | "3ds" | "3mf" | "amf" | "usd" | "usda" | "usdc" | "usdz" | "kmz" | "step" | "stp" | "iges" | "igs" | "ifc" | "3dm" | "brep" | "pcd" | "wrl" | "vrml" | "vtk" | "vtp" | "geojson" | "kml" | "gpx" | "shp" | "excalidraw" | "drawio" | "dio" | "mermaid" | "mmd" | "plantuml" | "puml" | "xmind" | "epub" | "fb2" | "umd" | "gif" | "jpg" | "bmp" | "tiff" | "tif" | "avif" | "ico" | "heic" | "heif" | "jxl" | "dicom" | "dcm" | "p7m" | "p7s" | "p7c" | "p7b" | "pkcs7" | "cms" | "cmsc" | "tsd" | "tst" | "tsq" | "tsr" | "asics" | "scs" | "asice" | "sce" | "ers" | "asc" | "sig" | "pgp" | "gpg" | "jws" | "md" | "txt" | "json" | "mjs" | "cjs" | "css" | "java" | "py" | "htm" | "jsx" | "ts" | "tsx" | "xml" | "log" | "vue" | "yaml" | "yml" | "ini" | "sh" | "bash" | "sql" | "go" | "rs" | "php" | "c" | "cpp" | "cc" | "h" | "hpp" | "cs" | "diff" | "patch" | "bundle" | "bdl" | "jsonc" | "json5" | "ipynb" | "toml" | "proto" | "hcl" | "tex" | "gv" | "http" | "react" | "swift" | "kt" | "mp4" | "webm" | "m3u8" | "mp3" | "mpeg" | "wav" | "ogg" | "oga" | "opus" | "m4a" | "aac" | "flac" | "weba" | "midi" | "mid" | "psb" | "pdd" | "psdt" | "psd" | "ait" | "ai" | "idml" | "icml" | "idms" | "inx" | "xfl" | "indd" | "indt" | "ps" | "eps" | "ase" | "aco" | "abr" | "csh" | "pat" | "grd" | "asl" | "ttf" | "otf" | "woff" | "woff2" | "sqlite" | "parquet" | "avro" | "webarchive")[];
|