@files-preview-app/preview-file 1.1.5 → 1.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.
package/dist/index.d.cts CHANGED
@@ -10,16 +10,25 @@ export { archivePlugin } from '@patel.sumit51/plugin-archive';
10
10
  export { markdownPlugin } from '@patel.sumit51/plugin-markdown';
11
11
  export { pptxPlugin } from '@patel.sumit51/plugin-pptx';
12
12
  export { threeDPlugin } from '@patel.sumit51/plugin-3d';
13
+ export { rtfPlugin } from '@patel.sumit51/plugin-rtf';
14
+ export { htmlPreviewPlugin } from '@patel.sumit51/plugin-html-preview';
15
+ export { openDocumentPlugin } from '@patel.sumit51/plugin-opendocument';
16
+ export { docPlugin } from '@patel.sumit51/plugin-doc';
17
+ export { pptPlugin } from '@patel.sumit51/plugin-ppt';
13
18
 
14
19
  /**
15
20
  * Returns all built-in default preview plugins:
16
- * PDF, Word (DOCX), Excel (XLSX), PowerPoint (PPTX), CSV/TSV,
17
- * ZIP Archives, Markdown, 3D Models (STL/OBJ), Media (Images/Video/Audio/SVG), and Code/Text.
21
+ * PDF, Word (DOCX, DOCM, DOTX, DOTM), Legacy Word (DOC, DOT),
22
+ * Excel/Spreadsheets (XLSX, XLS, XLSM, XLSB, XLTX, XLTM, ODS),
23
+ * PowerPoint (PPTX, PPSX, PPTM, PPSM, POTX, POTM), Legacy PowerPoint (PPT, PPS, POT),
24
+ * OpenDocument Suite (ODT, ODP, ODS, ODG, ODF), Rich Text (RTF),
25
+ * Sandboxed HTML, CSV/TSV, ZIP Archives, Markdown, 3D Models (STL/OBJ),
26
+ * Media (Images/Video/Audio/SVG), and Code/Text (190+ languages).
18
27
  */
19
28
  declare function getDefaultPlugins(): PreviewPlugin[];
20
29
  /**
21
30
  * Universal File Preview Viewer.
22
- * Pre-loads all format plugins by default so any file format can be previewed immediately.
31
+ * Pre-loads all format plugins by default so 50+ file formats can be previewed immediately.
23
32
  */
24
33
  declare class FilePreviewViewer extends FilePreviewViewer$1 {
25
34
  constructor(options?: {
package/dist/index.d.ts CHANGED
@@ -10,16 +10,25 @@ export { archivePlugin } from '@patel.sumit51/plugin-archive';
10
10
  export { markdownPlugin } from '@patel.sumit51/plugin-markdown';
11
11
  export { pptxPlugin } from '@patel.sumit51/plugin-pptx';
12
12
  export { threeDPlugin } from '@patel.sumit51/plugin-3d';
13
+ export { rtfPlugin } from '@patel.sumit51/plugin-rtf';
14
+ export { htmlPreviewPlugin } from '@patel.sumit51/plugin-html-preview';
15
+ export { openDocumentPlugin } from '@patel.sumit51/plugin-opendocument';
16
+ export { docPlugin } from '@patel.sumit51/plugin-doc';
17
+ export { pptPlugin } from '@patel.sumit51/plugin-ppt';
13
18
 
14
19
  /**
15
20
  * Returns all built-in default preview plugins:
16
- * PDF, Word (DOCX), Excel (XLSX), PowerPoint (PPTX), CSV/TSV,
17
- * ZIP Archives, Markdown, 3D Models (STL/OBJ), Media (Images/Video/Audio/SVG), and Code/Text.
21
+ * PDF, Word (DOCX, DOCM, DOTX, DOTM), Legacy Word (DOC, DOT),
22
+ * Excel/Spreadsheets (XLSX, XLS, XLSM, XLSB, XLTX, XLTM, ODS),
23
+ * PowerPoint (PPTX, PPSX, PPTM, PPSM, POTX, POTM), Legacy PowerPoint (PPT, PPS, POT),
24
+ * OpenDocument Suite (ODT, ODP, ODS, ODG, ODF), Rich Text (RTF),
25
+ * Sandboxed HTML, CSV/TSV, ZIP Archives, Markdown, 3D Models (STL/OBJ),
26
+ * Media (Images/Video/Audio/SVG), and Code/Text (190+ languages).
18
27
  */
19
28
  declare function getDefaultPlugins(): PreviewPlugin[];
20
29
  /**
21
30
  * Universal File Preview Viewer.
22
- * Pre-loads all format plugins by default so any file format can be previewed immediately.
31
+ * Pre-loads all format plugins by default so 50+ file formats can be previewed immediately.
23
32
  */
24
33
  declare class FilePreviewViewer extends FilePreviewViewer$1 {
25
34
  constructor(options?: {