@file-viewer/core 2.2.8 → 2.3.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.
@@ -0,0 +1,1125 @@
1
+ export const DEFAULT_RENDERER_DEFINITIONS = [
2
+ {
3
+ "id": "office-word-openxml",
4
+ "label": "Word OpenXML",
5
+ "category": "office",
6
+ "extensions": [
7
+ "docx",
8
+ "docm",
9
+ "dotx",
10
+ "dotm"
11
+ ],
12
+ "async": true,
13
+ "supportLevel": "high-fidelity",
14
+ "status": "stable",
15
+ "packageName": "@file-viewer/renderer-word",
16
+ "presets": [
17
+ "office",
18
+ "all"
19
+ ],
20
+ "containerVersions": [
21
+ "OOXML Transitional",
22
+ "OOXML Strict"
23
+ ],
24
+ "knownLimits": [
25
+ "VBA is never executed"
26
+ ],
27
+ "capabilities": {
28
+ "download": true,
29
+ "print": "adapter",
30
+ "exportHtml": "adapter",
31
+ "zoom": "provider",
32
+ "search": true
33
+ }
34
+ },
35
+ {
36
+ "id": "office-word-binary",
37
+ "label": "Word Binary",
38
+ "category": "office",
39
+ "extensions": [
40
+ "doc",
41
+ "dot"
42
+ ],
43
+ "async": true,
44
+ "supportLevel": "structured",
45
+ "status": "stable",
46
+ "packageName": "@file-viewer/renderer-word",
47
+ "presets": [
48
+ "office",
49
+ "all"
50
+ ],
51
+ "containerVersions": [
52
+ "Word 97-2003 Binary"
53
+ ],
54
+ "knownLimits": [
55
+ "Macros are never executed"
56
+ ],
57
+ "capabilities": {
58
+ "download": true,
59
+ "print": "adapter",
60
+ "exportHtml": "adapter",
61
+ "zoom": "provider",
62
+ "search": true
63
+ }
64
+ },
65
+ {
66
+ "id": "office-presentation-binary",
67
+ "label": "PowerPoint 97–2003",
68
+ "category": "office",
69
+ "extensions": [
70
+ "ppt",
71
+ "pot"
72
+ ],
73
+ "async": true,
74
+ "supportLevel": "structured",
75
+ "status": "stable",
76
+ "packageName": "@file-viewer/renderer-presentation",
77
+ "presets": [
78
+ "office",
79
+ "all"
80
+ ],
81
+ "containerVersions": [
82
+ "PowerPoint 97-2003 Binary"
83
+ ],
84
+ "knownLimits": [
85
+ "Embedded engine watermark is retained",
86
+ "Macros are never executed"
87
+ ],
88
+ "capabilities": {
89
+ "download": true,
90
+ "print": "adapter",
91
+ "exportHtml": "adapter",
92
+ "zoom": "provider",
93
+ "search": false
94
+ }
95
+ },
96
+ {
97
+ "id": "office-presentation",
98
+ "label": "PowerPoint OpenXML",
99
+ "category": "office",
100
+ "extensions": [
101
+ "pptx",
102
+ "pptm",
103
+ "potx",
104
+ "potm",
105
+ "ppsx",
106
+ "ppsm"
107
+ ],
108
+ "async": true,
109
+ "supportLevel": "high-fidelity",
110
+ "status": "stable",
111
+ "packageName": "@file-viewer/renderer-presentation",
112
+ "presets": [
113
+ "office",
114
+ "all"
115
+ ],
116
+ "containerVersions": [
117
+ "OOXML Transitional",
118
+ "OOXML Strict"
119
+ ],
120
+ "knownLimits": [
121
+ "Macros and external programs are never executed"
122
+ ],
123
+ "capabilities": {
124
+ "download": true,
125
+ "print": true,
126
+ "exportHtml": true,
127
+ "zoom": "provider",
128
+ "search": true
129
+ }
130
+ },
131
+ {
132
+ "id": "open-document",
133
+ "label": "Open Document",
134
+ "category": "office",
135
+ "extensions": [
136
+ "rtf",
137
+ "odt",
138
+ "odp"
139
+ ],
140
+ "async": true,
141
+ "supportLevel": "structured",
142
+ "status": "stable",
143
+ "packageName": "@file-viewer/renderer-word",
144
+ "presets": [
145
+ "office",
146
+ "all"
147
+ ],
148
+ "containerVersions": [
149
+ "RTF",
150
+ "OpenDocument"
151
+ ],
152
+ "knownLimits": [],
153
+ "capabilities": {
154
+ "download": true,
155
+ "print": true,
156
+ "exportHtml": true,
157
+ "zoom": "provider",
158
+ "search": true
159
+ }
160
+ },
161
+ {
162
+ "id": "spreadsheet-openxml",
163
+ "label": "Spreadsheet",
164
+ "category": "office",
165
+ "extensions": [
166
+ "xlsx",
167
+ "xltx",
168
+ "xlsm",
169
+ "xlsb",
170
+ "xls",
171
+ "xlt",
172
+ "xla",
173
+ "xlam",
174
+ "xltm",
175
+ "csv",
176
+ "tsv",
177
+ "ods",
178
+ "fods"
179
+ ],
180
+ "async": true,
181
+ "supportLevel": "structured",
182
+ "status": "stable",
183
+ "packageName": "@file-viewer/renderer-spreadsheet",
184
+ "presets": [
185
+ "office",
186
+ "all"
187
+ ],
188
+ "containerVersions": [
189
+ "OOXML",
190
+ "BIFF",
191
+ "OpenDocument",
192
+ "Delimited text"
193
+ ],
194
+ "knownLimits": [
195
+ "VBA and add-in code are never executed",
196
+ "Formula results are read from the saved workbook cache"
197
+ ],
198
+ "capabilities": {
199
+ "download": true,
200
+ "print": false,
201
+ "exportHtml": false,
202
+ "zoom": "provider",
203
+ "search": true
204
+ }
205
+ },
206
+ {
207
+ "id": "apple-pages",
208
+ "label": "Apple Pages",
209
+ "category": "office",
210
+ "extensions": [
211
+ "pages"
212
+ ],
213
+ "async": true,
214
+ "supportLevel": "high-fidelity",
215
+ "status": "stable",
216
+ "packageName": "@file-viewer/renderer-iwork",
217
+ "presets": [
218
+ "office",
219
+ "all"
220
+ ],
221
+ "containerVersions": [
222
+ "iWork '09 index.xml(.gz)",
223
+ "iWork 2013+ IWA"
224
+ ],
225
+ "knownLimits": [
226
+ "Static preview only",
227
+ "Encrypted iwpv2 files are detected but not decrypted"
228
+ ],
229
+ "capabilities": {
230
+ "download": true,
231
+ "print": "adapter",
232
+ "exportHtml": "adapter",
233
+ "zoom": "provider",
234
+ "search": true
235
+ }
236
+ },
237
+ {
238
+ "id": "apple-numbers",
239
+ "label": "Apple Numbers",
240
+ "category": "office",
241
+ "extensions": [
242
+ "numbers"
243
+ ],
244
+ "async": true,
245
+ "supportLevel": "high-fidelity",
246
+ "status": "stable",
247
+ "packageName": "@file-viewer/renderer-iwork",
248
+ "presets": [
249
+ "office",
250
+ "all"
251
+ ],
252
+ "containerVersions": [
253
+ "iWork '09 index.xml",
254
+ "iWork 2013+ IWA"
255
+ ],
256
+ "knownLimits": [
257
+ "Formula results are read from the saved document cache",
258
+ "Encrypted iwpv2 files are detected but not decrypted"
259
+ ],
260
+ "capabilities": {
261
+ "download": true,
262
+ "print": "adapter",
263
+ "exportHtml": "adapter",
264
+ "zoom": "provider",
265
+ "search": true
266
+ }
267
+ },
268
+ {
269
+ "id": "apple-keynote",
270
+ "label": "Apple Keynote",
271
+ "category": "office",
272
+ "extensions": [
273
+ "key"
274
+ ],
275
+ "async": true,
276
+ "supportLevel": "high-fidelity",
277
+ "status": "stable",
278
+ "packageName": "@file-viewer/renderer-iwork",
279
+ "presets": [
280
+ "office",
281
+ "all"
282
+ ],
283
+ "containerVersions": [
284
+ "iWork '09 index.apxl",
285
+ "iWork 2013+ IWA"
286
+ ],
287
+ "knownLimits": [
288
+ "Animations, transitions and video playback are not executed",
289
+ "Encrypted iwpv2 files are detected but not decrypted"
290
+ ],
291
+ "capabilities": {
292
+ "download": true,
293
+ "print": "adapter",
294
+ "exportHtml": "adapter",
295
+ "zoom": "provider",
296
+ "search": true
297
+ }
298
+ },
299
+ {
300
+ "id": "office-wordperfect",
301
+ "label": "WordPerfect",
302
+ "category": "office",
303
+ "extensions": [
304
+ "wpd",
305
+ "wp",
306
+ "wp5",
307
+ "wp6"
308
+ ],
309
+ "async": true,
310
+ "supportLevel": "structured",
311
+ "status": "stable",
312
+ "packageName": "@file-viewer/renderer-wordperfect",
313
+ "presets": [
314
+ "office",
315
+ "all"
316
+ ],
317
+ "containerVersions": [
318
+ "WordPerfect 4.2",
319
+ "WordPerfect 5.x",
320
+ "WordPerfect 6+"
321
+ ],
322
+ "knownLimits": [
323
+ "Macros are never executed",
324
+ ".wp5 and .wp6 are routing aliases for genuine WP5/WP6 payloads, not separate container formats",
325
+ "Pagination and unsupported embedded objects are presented as structured static preview"
326
+ ],
327
+ "capabilities": {
328
+ "download": true,
329
+ "print": "adapter",
330
+ "exportHtml": "adapter",
331
+ "zoom": "provider",
332
+ "search": true
333
+ }
334
+ },
335
+ {
336
+ "id": "spreadsheet-dbf",
337
+ "label": "dBASE Table",
338
+ "category": "office",
339
+ "extensions": [
340
+ "dbf"
341
+ ],
342
+ "async": true,
343
+ "supportLevel": "structured",
344
+ "status": "stable",
345
+ "packageName": "@file-viewer/renderer-spreadsheet",
346
+ "presets": [
347
+ "office",
348
+ "all"
349
+ ],
350
+ "containerVersions": [
351
+ "dBASE III/IV",
352
+ "Visual FoxPro"
353
+ ],
354
+ "knownLimits": [
355
+ "Missing DBT/FPT memo sidecars are reported as incomplete"
356
+ ],
357
+ "capabilities": {
358
+ "download": true,
359
+ "print": false,
360
+ "exportHtml": false,
361
+ "zoom": "provider",
362
+ "search": true
363
+ }
364
+ },
365
+ {
366
+ "id": "pdf",
367
+ "label": "PDF",
368
+ "category": "document",
369
+ "extensions": [
370
+ "pdf"
371
+ ],
372
+ "async": true,
373
+ "supportLevel": "high-fidelity",
374
+ "status": "stable",
375
+ "packageName": "@file-viewer/renderer-pdf",
376
+ "presets": [
377
+ "office",
378
+ "all"
379
+ ],
380
+ "containerVersions": [
381
+ "PDF"
382
+ ],
383
+ "knownLimits": [],
384
+ "capabilities": {
385
+ "download": true,
386
+ "print": "adapter",
387
+ "exportHtml": "adapter",
388
+ "zoom": "provider",
389
+ "search": "provider"
390
+ }
391
+ },
392
+ {
393
+ "id": "ofd",
394
+ "label": "OFD",
395
+ "category": "document",
396
+ "extensions": [
397
+ "ofd"
398
+ ],
399
+ "async": true,
400
+ "supportLevel": "structured",
401
+ "status": "stable",
402
+ "packageName": "@file-viewer/renderer-ofd",
403
+ "presets": [
404
+ "office",
405
+ "all"
406
+ ],
407
+ "containerVersions": [
408
+ "OFD"
409
+ ],
410
+ "knownLimits": [],
411
+ "capabilities": {
412
+ "download": true,
413
+ "print": true,
414
+ "exportHtml": true,
415
+ "zoom": "provider",
416
+ "search": true
417
+ }
418
+ },
419
+ {
420
+ "id": "office-hangul",
421
+ "label": "Hancom Hangul",
422
+ "category": "office",
423
+ "extensions": [
424
+ "hwp",
425
+ "hwpx"
426
+ ],
427
+ "async": true,
428
+ "supportLevel": "structured",
429
+ "status": "stable",
430
+ "packageName": "@file-viewer/renderer-hangul",
431
+ "presets": [
432
+ "office",
433
+ "all"
434
+ ],
435
+ "containerVersions": [
436
+ "HWP v5 CFB",
437
+ "HWPX ZIP/XML"
438
+ ],
439
+ "knownLimits": [
440
+ "Encrypted, DRM-protected and distribution documents are detected but not decrypted",
441
+ "Charts, OLE objects and advanced drawing effects remain limited in the static structured preview",
442
+ "HWP v5 pagination is approximated when the binary producer omits usable page geometry"
443
+ ],
444
+ "capabilities": {
445
+ "download": true,
446
+ "print": "adapter",
447
+ "exportHtml": "adapter",
448
+ "zoom": "provider",
449
+ "search": true
450
+ }
451
+ },
452
+ {
453
+ "id": "typst",
454
+ "label": "Typst",
455
+ "category": "document",
456
+ "extensions": [
457
+ "typ",
458
+ "typst"
459
+ ],
460
+ "async": true,
461
+ "supportLevel": "high-fidelity",
462
+ "status": "stable",
463
+ "packageName": "@file-viewer/renderer-typst",
464
+ "presets": [
465
+ "all"
466
+ ],
467
+ "containerVersions": [
468
+ "Typst source"
469
+ ],
470
+ "knownLimits": [],
471
+ "capabilities": {
472
+ "download": true,
473
+ "print": "adapter",
474
+ "exportHtml": "adapter",
475
+ "zoom": "provider",
476
+ "search": true
477
+ }
478
+ },
479
+ {
480
+ "id": "archive",
481
+ "label": "Archive",
482
+ "category": "archive",
483
+ "extensions": [
484
+ "zip",
485
+ "zipx",
486
+ "7z",
487
+ "rar",
488
+ "tar",
489
+ "gz",
490
+ "gzip",
491
+ "tgz",
492
+ "bz2",
493
+ "bzip2",
494
+ "tbz",
495
+ "tbz2",
496
+ "xz",
497
+ "txz",
498
+ "lzma",
499
+ "zst",
500
+ "tzst",
501
+ "cab",
502
+ "ar",
503
+ "cpio",
504
+ "iso",
505
+ "xar",
506
+ "lha",
507
+ "lzh",
508
+ "jar",
509
+ "war",
510
+ "ear",
511
+ "apk",
512
+ "cbz",
513
+ "cbr"
514
+ ],
515
+ "async": true,
516
+ "supportLevel": "structured",
517
+ "status": "stable",
518
+ "packageName": "@file-viewer/renderer-archive",
519
+ "presets": [
520
+ "all"
521
+ ],
522
+ "containerVersions": [
523
+ "libarchive-supported containers"
524
+ ],
525
+ "knownLimits": [],
526
+ "capabilities": {
527
+ "download": true,
528
+ "print": false,
529
+ "exportHtml": false,
530
+ "zoom": false,
531
+ "search": true
532
+ }
533
+ },
534
+ {
535
+ "id": "email",
536
+ "label": "Email",
537
+ "category": "email",
538
+ "extensions": [
539
+ "eml",
540
+ "msg",
541
+ "mbox"
542
+ ],
543
+ "async": true,
544
+ "supportLevel": "structured",
545
+ "status": "stable",
546
+ "packageName": "@file-viewer/renderer-email",
547
+ "presets": [
548
+ "all"
549
+ ],
550
+ "containerVersions": [
551
+ "MIME",
552
+ "Outlook MSG",
553
+ "mbox"
554
+ ],
555
+ "knownLimits": [],
556
+ "capabilities": {
557
+ "download": true,
558
+ "print": false,
559
+ "exportHtml": true,
560
+ "zoom": false,
561
+ "search": true
562
+ }
563
+ },
564
+ {
565
+ "id": "eda",
566
+ "label": "EDA",
567
+ "category": "eda",
568
+ "extensions": [
569
+ "olb",
570
+ "dra",
571
+ "gds",
572
+ "oas",
573
+ "oasis"
574
+ ],
575
+ "async": true,
576
+ "supportLevel": "structured",
577
+ "status": "stable",
578
+ "packageName": "@file-viewer/renderer-eda",
579
+ "presets": [
580
+ "engineering",
581
+ "all"
582
+ ],
583
+ "containerVersions": [
584
+ "OrCAD",
585
+ "GDSII",
586
+ "OASIS"
587
+ ],
588
+ "knownLimits": [],
589
+ "capabilities": {
590
+ "download": true,
591
+ "print": true,
592
+ "exportHtml": true,
593
+ "zoom": false,
594
+ "search": true
595
+ }
596
+ },
597
+ {
598
+ "id": "cad",
599
+ "label": "CAD",
600
+ "category": "cad",
601
+ "extensions": [
602
+ "dxf",
603
+ "dwg",
604
+ "dwf",
605
+ "dwfx",
606
+ "xps"
607
+ ],
608
+ "async": true,
609
+ "supportLevel": "high-fidelity",
610
+ "status": "stable",
611
+ "packageName": "@file-viewer/renderer-cad",
612
+ "presets": [
613
+ "engineering",
614
+ "all"
615
+ ],
616
+ "containerVersions": [
617
+ "DWG",
618
+ "DXF",
619
+ "DWF",
620
+ "DWFX/XPS"
621
+ ],
622
+ "knownLimits": [],
623
+ "capabilities": {
624
+ "download": true,
625
+ "print": true,
626
+ "exportHtml": true,
627
+ "zoom": "provider",
628
+ "search": false
629
+ }
630
+ },
631
+ {
632
+ "id": "model",
633
+ "label": "3D Model",
634
+ "category": "model",
635
+ "extensions": [
636
+ "glb",
637
+ "gltf",
638
+ "obj",
639
+ "stl",
640
+ "ply",
641
+ "fbx",
642
+ "dae",
643
+ "3ds",
644
+ "3mf",
645
+ "amf",
646
+ "usd",
647
+ "usda",
648
+ "usdc",
649
+ "usdz",
650
+ "kmz",
651
+ "step",
652
+ "stp",
653
+ "iges",
654
+ "igs",
655
+ "ifc",
656
+ "3dm",
657
+ "brep",
658
+ "pcd",
659
+ "wrl",
660
+ "vrml",
661
+ "xyz",
662
+ "vtk",
663
+ "vtp"
664
+ ],
665
+ "async": true,
666
+ "supportLevel": "structured",
667
+ "status": "stable",
668
+ "packageName": "@file-viewer/renderer-3d",
669
+ "presets": [
670
+ "engineering",
671
+ "all"
672
+ ],
673
+ "containerVersions": [
674
+ "Mesh",
675
+ "CAD exchange",
676
+ "scene"
677
+ ],
678
+ "knownLimits": [],
679
+ "capabilities": {
680
+ "download": true,
681
+ "print": false,
682
+ "exportHtml": false,
683
+ "zoom": "provider",
684
+ "search": false
685
+ }
686
+ },
687
+ {
688
+ "id": "geo",
689
+ "label": "Geospatial",
690
+ "category": "geo",
691
+ "extensions": [
692
+ "geojson",
693
+ "kml",
694
+ "gpx",
695
+ "shp"
696
+ ],
697
+ "async": true,
698
+ "supportLevel": "structured",
699
+ "status": "stable",
700
+ "packageName": "@file-viewer/renderer-geo",
701
+ "presets": [
702
+ "engineering",
703
+ "all"
704
+ ],
705
+ "containerVersions": [
706
+ "GeoJSON",
707
+ "KML",
708
+ "GPX",
709
+ "Shapefile"
710
+ ],
711
+ "knownLimits": [],
712
+ "capabilities": {
713
+ "download": true,
714
+ "print": true,
715
+ "exportHtml": true,
716
+ "zoom": "provider",
717
+ "search": true
718
+ }
719
+ },
720
+ {
721
+ "id": "drawing",
722
+ "label": "Drawing",
723
+ "category": "drawing",
724
+ "extensions": [
725
+ "excalidraw",
726
+ "drawio",
727
+ "dio",
728
+ "mermaid",
729
+ "mmd",
730
+ "plantuml",
731
+ "puml"
732
+ ],
733
+ "async": true,
734
+ "supportLevel": "structured",
735
+ "status": "stable",
736
+ "packageName": "@file-viewer/renderer-drawing",
737
+ "presets": [
738
+ "all"
739
+ ],
740
+ "containerVersions": [
741
+ "Draw.io",
742
+ "Excalidraw",
743
+ "Mermaid",
744
+ "PlantUML"
745
+ ],
746
+ "knownLimits": [],
747
+ "capabilities": {
748
+ "download": true,
749
+ "print": true,
750
+ "exportHtml": true,
751
+ "zoom": "provider",
752
+ "search": true
753
+ }
754
+ },
755
+ {
756
+ "id": "mindmap",
757
+ "label": "Mind Map",
758
+ "category": "mindmap",
759
+ "extensions": [
760
+ "xmind"
761
+ ],
762
+ "async": true,
763
+ "supportLevel": "structured",
764
+ "status": "stable",
765
+ "packageName": "@file-viewer/renderer-mindmap",
766
+ "presets": [
767
+ "all"
768
+ ],
769
+ "containerVersions": [
770
+ "XMind"
771
+ ],
772
+ "knownLimits": [],
773
+ "capabilities": {
774
+ "download": true,
775
+ "print": true,
776
+ "exportHtml": true,
777
+ "zoom": "provider",
778
+ "search": true
779
+ }
780
+ },
781
+ {
782
+ "id": "epub",
783
+ "label": "EPUB",
784
+ "category": "ebook",
785
+ "extensions": [
786
+ "epub"
787
+ ],
788
+ "async": true,
789
+ "supportLevel": "high-fidelity",
790
+ "status": "stable",
791
+ "packageName": "@file-viewer/renderer-epub",
792
+ "presets": [
793
+ "all"
794
+ ],
795
+ "containerVersions": [
796
+ "EPUB 2",
797
+ "EPUB 3"
798
+ ],
799
+ "knownLimits": [],
800
+ "capabilities": {
801
+ "download": true,
802
+ "print": false,
803
+ "exportHtml": true,
804
+ "zoom": false,
805
+ "search": "provider"
806
+ }
807
+ },
808
+ {
809
+ "id": "ebook-fb2",
810
+ "label": "FictionBook",
811
+ "category": "ebook",
812
+ "extensions": [
813
+ "fb2"
814
+ ],
815
+ "async": true,
816
+ "supportLevel": "structured",
817
+ "status": "stable",
818
+ "packageName": "@file-viewer/renderer-epub",
819
+ "presets": [
820
+ "all"
821
+ ],
822
+ "containerVersions": [
823
+ "FictionBook 2 XML"
824
+ ],
825
+ "knownLimits": [
826
+ "External network resources are not loaded"
827
+ ],
828
+ "capabilities": {
829
+ "download": true,
830
+ "print": true,
831
+ "exportHtml": true,
832
+ "zoom": false,
833
+ "search": true
834
+ }
835
+ },
836
+ {
837
+ "id": "umd",
838
+ "label": "UMD",
839
+ "category": "ebook",
840
+ "extensions": [
841
+ "umd"
842
+ ],
843
+ "async": true,
844
+ "supportLevel": "structured",
845
+ "status": "stable",
846
+ "packageName": "@file-viewer/renderer-epub",
847
+ "presets": [
848
+ "all"
849
+ ],
850
+ "containerVersions": [
851
+ "UMD"
852
+ ],
853
+ "knownLimits": [],
854
+ "capabilities": {
855
+ "download": true,
856
+ "print": true,
857
+ "exportHtml": true,
858
+ "zoom": "provider",
859
+ "search": true
860
+ }
861
+ },
862
+ {
863
+ "id": "image",
864
+ "label": "Image",
865
+ "category": "image",
866
+ "extensions": [
867
+ "gif",
868
+ "jpg",
869
+ "jpeg",
870
+ "bmp",
871
+ "tiff",
872
+ "tif",
873
+ "png",
874
+ "svg",
875
+ "webp",
876
+ "avif",
877
+ "ico",
878
+ "heic",
879
+ "heif",
880
+ "jxl"
881
+ ],
882
+ "async": true,
883
+ "supportLevel": "high-fidelity",
884
+ "status": "stable",
885
+ "packageName": "@file-viewer/renderer-image",
886
+ "presets": [
887
+ "lite",
888
+ "all"
889
+ ],
890
+ "containerVersions": [
891
+ "Raster",
892
+ "SVG"
893
+ ],
894
+ "knownLimits": [],
895
+ "capabilities": {
896
+ "download": true,
897
+ "print": true,
898
+ "exportHtml": true,
899
+ "zoom": "provider",
900
+ "search": false
901
+ }
902
+ },
903
+ {
904
+ "id": "markdown",
905
+ "label": "Markdown",
906
+ "category": "markdown",
907
+ "extensions": [
908
+ "md",
909
+ "markdown"
910
+ ],
911
+ "async": true,
912
+ "supportLevel": "structured",
913
+ "status": "stable",
914
+ "packageName": "@file-viewer/renderer-text",
915
+ "presets": [
916
+ "lite",
917
+ "all"
918
+ ],
919
+ "containerVersions": [
920
+ "CommonMark/GFM"
921
+ ],
922
+ "knownLimits": [],
923
+ "capabilities": {
924
+ "download": true,
925
+ "print": true,
926
+ "exportHtml": true,
927
+ "zoom": false,
928
+ "search": true
929
+ }
930
+ },
931
+ {
932
+ "id": "code",
933
+ "label": "Code and Text",
934
+ "category": "code",
935
+ "extensions": [
936
+ "txt",
937
+ "json",
938
+ "js",
939
+ "mjs",
940
+ "cjs",
941
+ "css",
942
+ "java",
943
+ "py",
944
+ "html",
945
+ "htm",
946
+ "jsx",
947
+ "ts",
948
+ "tsx",
949
+ "xml",
950
+ "log",
951
+ "vue",
952
+ "yaml",
953
+ "yml",
954
+ "ini",
955
+ "sh",
956
+ "bash",
957
+ "sql",
958
+ "go",
959
+ "rs",
960
+ "php",
961
+ "c",
962
+ "cpp",
963
+ "cc",
964
+ "h",
965
+ "hpp",
966
+ "cs",
967
+ "diff",
968
+ "patch",
969
+ "bundle",
970
+ "bdl",
971
+ "jsonc",
972
+ "json5",
973
+ "ipynb",
974
+ "toml",
975
+ "proto",
976
+ "hcl",
977
+ "tex",
978
+ "gv",
979
+ "http",
980
+ "react",
981
+ "rb",
982
+ "swift",
983
+ "kt"
984
+ ],
985
+ "async": true,
986
+ "supportLevel": "structured",
987
+ "status": "stable",
988
+ "packageName": "@file-viewer/renderer-text",
989
+ "presets": [
990
+ "lite",
991
+ "all"
992
+ ],
993
+ "containerVersions": [
994
+ "Plain text",
995
+ "source code",
996
+ "Git bundle"
997
+ ],
998
+ "knownLimits": [],
999
+ "capabilities": {
1000
+ "download": true,
1001
+ "print": true,
1002
+ "exportHtml": true,
1003
+ "zoom": false,
1004
+ "search": true
1005
+ }
1006
+ },
1007
+ {
1008
+ "id": "video",
1009
+ "label": "Video",
1010
+ "category": "media",
1011
+ "extensions": [
1012
+ "mp4",
1013
+ "webm",
1014
+ "m3u8"
1015
+ ],
1016
+ "async": true,
1017
+ "supportLevel": "high-fidelity",
1018
+ "status": "stable",
1019
+ "packageName": "@file-viewer/renderer-media",
1020
+ "presets": [
1021
+ "lite",
1022
+ "all"
1023
+ ],
1024
+ "containerVersions": [
1025
+ "Browser media"
1026
+ ],
1027
+ "knownLimits": [
1028
+ "Codec support follows the browser"
1029
+ ],
1030
+ "capabilities": {
1031
+ "download": true,
1032
+ "print": false,
1033
+ "exportHtml": false,
1034
+ "zoom": false,
1035
+ "search": false
1036
+ }
1037
+ },
1038
+ {
1039
+ "id": "audio",
1040
+ "label": "Audio",
1041
+ "category": "media",
1042
+ "extensions": [
1043
+ "mp3",
1044
+ "mpeg",
1045
+ "wav",
1046
+ "ogg",
1047
+ "oga",
1048
+ "opus",
1049
+ "m4a",
1050
+ "aac",
1051
+ "flac",
1052
+ "weba",
1053
+ "midi",
1054
+ "mid"
1055
+ ],
1056
+ "async": true,
1057
+ "supportLevel": "high-fidelity",
1058
+ "status": "stable",
1059
+ "packageName": "@file-viewer/renderer-media",
1060
+ "presets": [
1061
+ "lite",
1062
+ "all"
1063
+ ],
1064
+ "containerVersions": [
1065
+ "Browser media",
1066
+ "MIDI"
1067
+ ],
1068
+ "knownLimits": [
1069
+ "Codec support follows the browser"
1070
+ ],
1071
+ "capabilities": {
1072
+ "download": true,
1073
+ "print": false,
1074
+ "exportHtml": false,
1075
+ "zoom": false,
1076
+ "search": false
1077
+ }
1078
+ },
1079
+ {
1080
+ "id": "data-asset",
1081
+ "label": "Data Asset",
1082
+ "category": "asset",
1083
+ "extensions": [
1084
+ "ttf",
1085
+ "otf",
1086
+ "woff",
1087
+ "woff2",
1088
+ "psd",
1089
+ "ai",
1090
+ "eps",
1091
+ "sqlite",
1092
+ "wasm",
1093
+ "parquet",
1094
+ "avro",
1095
+ "webarchive"
1096
+ ],
1097
+ "async": true,
1098
+ "supportLevel": "structured",
1099
+ "status": "stable",
1100
+ "packageName": "@file-viewer/renderer-data",
1101
+ "presets": [
1102
+ "all"
1103
+ ],
1104
+ "containerVersions": [
1105
+ "Font",
1106
+ "design",
1107
+ "database",
1108
+ "binary data"
1109
+ ],
1110
+ "knownLimits": [],
1111
+ "capabilities": {
1112
+ "download": true,
1113
+ "print": false,
1114
+ "exportHtml": true,
1115
+ "zoom": false,
1116
+ "search": true
1117
+ }
1118
+ }
1119
+ ];
1120
+ export const DEFAULT_REGISTERED_EXTENSIONS = Object.freeze(Array.from(new Set(DEFAULT_RENDERER_DEFINITIONS.flatMap(definition => definition.extensions))).sort());
1121
+ export const DEFAULT_STABLE_SUPPORTED_EXTENSIONS = Object.freeze(Array.from(new Set(DEFAULT_RENDERER_DEFINITIONS
1122
+ .filter(definition => definition.status === 'stable')
1123
+ .flatMap(definition => definition.extensions))).sort());
1124
+ /** @deprecated Use DEFAULT_REGISTERED_EXTENSIONS when the experimental/stable distinction matters. */
1125
+ export const DEFAULT_SUPPORTED_EXTENSIONS = DEFAULT_REGISTERED_EXTENSIONS;