@cannymindstech/file-viewers 0.27.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/dist/chunk-2BLHLWNN.js +299 -0
- package/dist/chunk-2BLHLWNN.js.map +1 -0
- package/dist/chunk-6BRYDA3B.js +329 -0
- package/dist/chunk-6BRYDA3B.js.map +1 -0
- package/dist/chunk-6MV4VQQN.mjs +2269 -0
- package/dist/chunk-6MV4VQQN.mjs.map +1 -0
- package/dist/chunk-7JPF5AYR.mjs +488 -0
- package/dist/chunk-7JPF5AYR.mjs.map +1 -0
- package/dist/chunk-7LPCKPN2.js +2269 -0
- package/dist/chunk-7LPCKPN2.js.map +1 -0
- package/dist/chunk-7PMZ4GN5.mjs +290 -0
- package/dist/chunk-7PMZ4GN5.mjs.map +1 -0
- package/dist/chunk-B5NNB4KD.mjs +268 -0
- package/dist/chunk-B5NNB4KD.mjs.map +1 -0
- package/dist/chunk-CIWCHSAA.js +309 -0
- package/dist/chunk-CIWCHSAA.js.map +1 -0
- package/dist/chunk-D7SDEVDM.js +268 -0
- package/dist/chunk-D7SDEVDM.js.map +1 -0
- package/dist/chunk-ECZ6IBOS.js +424 -0
- package/dist/chunk-ECZ6IBOS.js.map +1 -0
- package/dist/chunk-EKNP342T.mjs +299 -0
- package/dist/chunk-EKNP342T.mjs.map +1 -0
- package/dist/chunk-EM63H4SA.js +290 -0
- package/dist/chunk-EM63H4SA.js.map +1 -0
- package/dist/chunk-IJMNPAXX.mjs +309 -0
- package/dist/chunk-IJMNPAXX.mjs.map +1 -0
- package/dist/chunk-KJNOBIUZ.mjs +36 -0
- package/dist/chunk-KJNOBIUZ.mjs.map +1 -0
- package/dist/chunk-KQCU7XW2.mjs +424 -0
- package/dist/chunk-KQCU7XW2.mjs.map +1 -0
- package/dist/chunk-MJYCPSD4.js +742 -0
- package/dist/chunk-MJYCPSD4.js.map +1 -0
- package/dist/chunk-OPJOCUSL.js +36 -0
- package/dist/chunk-OPJOCUSL.js.map +1 -0
- package/dist/chunk-QGL3ZOPD.mjs +742 -0
- package/dist/chunk-QGL3ZOPD.mjs.map +1 -0
- package/dist/chunk-QV63FULE.js +488 -0
- package/dist/chunk-QV63FULE.js.map +1 -0
- package/dist/chunk-XJQ5J2UF.mjs +329 -0
- package/dist/chunk-XJQ5J2UF.mjs.map +1 -0
- package/dist/components/viewers/AudioViewer.d.mts +6 -0
- package/dist/components/viewers/AudioViewer.d.ts +6 -0
- package/dist/components/viewers/AudioViewer.js +10 -0
- package/dist/components/viewers/AudioViewer.js.map +1 -0
- package/dist/components/viewers/AudioViewer.mjs +10 -0
- package/dist/components/viewers/AudioViewer.mjs.map +1 -0
- package/dist/components/viewers/DefaultViewer.d.mts +6 -0
- package/dist/components/viewers/DefaultViewer.d.ts +6 -0
- package/dist/components/viewers/DefaultViewer.js +10 -0
- package/dist/components/viewers/DefaultViewer.js.map +1 -0
- package/dist/components/viewers/DefaultViewer.mjs +10 -0
- package/dist/components/viewers/DefaultViewer.mjs.map +1 -0
- package/dist/components/viewers/ImageViewer.d.mts +6 -0
- package/dist/components/viewers/ImageViewer.d.ts +6 -0
- package/dist/components/viewers/ImageViewer.js +10 -0
- package/dist/components/viewers/ImageViewer.js.map +1 -0
- package/dist/components/viewers/ImageViewer.mjs +10 -0
- package/dist/components/viewers/ImageViewer.mjs.map +1 -0
- package/dist/components/viewers/PDFViewer.d.mts +51 -0
- package/dist/components/viewers/PDFViewer.d.ts +51 -0
- package/dist/components/viewers/PDFViewer.js +11 -0
- package/dist/components/viewers/PDFViewer.js.map +1 -0
- package/dist/components/viewers/PDFViewer.mjs +11 -0
- package/dist/components/viewers/PDFViewer.mjs.map +1 -0
- package/dist/components/viewers/TIFFViewer.d.mts +6 -0
- package/dist/components/viewers/TIFFViewer.d.ts +6 -0
- package/dist/components/viewers/TIFFViewer.js +10 -0
- package/dist/components/viewers/TIFFViewer.js.map +1 -0
- package/dist/components/viewers/TIFFViewer.mjs +10 -0
- package/dist/components/viewers/TIFFViewer.mjs.map +1 -0
- package/dist/components/viewers/TextViewer.d.mts +6 -0
- package/dist/components/viewers/TextViewer.d.ts +6 -0
- package/dist/components/viewers/TextViewer.js +10 -0
- package/dist/components/viewers/TextViewer.js.map +1 -0
- package/dist/components/viewers/TextViewer.mjs +10 -0
- package/dist/components/viewers/TextViewer.mjs.map +1 -0
- package/dist/components/viewers/VideoViewer.d.mts +6 -0
- package/dist/components/viewers/VideoViewer.d.ts +6 -0
- package/dist/components/viewers/VideoViewer.js +10 -0
- package/dist/components/viewers/VideoViewer.js.map +1 -0
- package/dist/components/viewers/VideoViewer.mjs +10 -0
- package/dist/components/viewers/VideoViewer.mjs.map +1 -0
- package/dist/index.d.mts +75 -0
- package/dist/index.d.ts +75 -0
- package/dist/index.js +305 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +305 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types-AT684fjV.d.mts +96 -0
- package/dist/types-AT684fjV.d.ts +96 -0
- package/package.json +45 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { F as FileViewerProps } from '../../types-AT684fjV.js';
|
|
3
|
+
|
|
4
|
+
interface PDFViewerMethods {
|
|
5
|
+
zoomIn: () => void;
|
|
6
|
+
zoomOut: () => void;
|
|
7
|
+
setZoom: (level: number) => void;
|
|
8
|
+
resetZoom: () => void;
|
|
9
|
+
getZoom: () => number;
|
|
10
|
+
goToPage: (page: number) => void;
|
|
11
|
+
getCurrentPage: () => number;
|
|
12
|
+
getTotalPages: () => number;
|
|
13
|
+
nextPage: () => void;
|
|
14
|
+
previousPage: () => void;
|
|
15
|
+
goToFirstPage: () => void;
|
|
16
|
+
goToLastPage: () => void;
|
|
17
|
+
searchText: (keyword: string) => Promise<any>;
|
|
18
|
+
nextResult: () => number;
|
|
19
|
+
previousResult: () => number;
|
|
20
|
+
goToResult: (index: number) => number;
|
|
21
|
+
stopSearch: () => void;
|
|
22
|
+
getSearchState: () => any;
|
|
23
|
+
getSelectedText: () => Promise<string>;
|
|
24
|
+
clearSelection: () => void;
|
|
25
|
+
copy: () => void;
|
|
26
|
+
rotateForward: () => void;
|
|
27
|
+
rotateBackward: () => void;
|
|
28
|
+
getRotation: () => number;
|
|
29
|
+
print: () => void;
|
|
30
|
+
printWithAnnotations: () => Promise<void>;
|
|
31
|
+
printWithoutAnnotations: () => Promise<void>;
|
|
32
|
+
downloadWithAnnotations: (filename?: string) => Promise<void>;
|
|
33
|
+
downloadWithoutAnnotations: (filename?: string) => Promise<void>;
|
|
34
|
+
annotation?: {
|
|
35
|
+
activateHighlighter: () => void;
|
|
36
|
+
deactivateHighlighter: () => void;
|
|
37
|
+
activateStamp: (dataUrl: string) => Promise<void>;
|
|
38
|
+
deactivateStamp: () => void;
|
|
39
|
+
deleteSelectedAnnotation: () => boolean;
|
|
40
|
+
getSelectedAnnotation: () => any;
|
|
41
|
+
getAllAnnotations: () => any[];
|
|
42
|
+
exportAnnotationsAsJSON: () => string;
|
|
43
|
+
onAnnotationEvent?: (callback: (event: {
|
|
44
|
+
type: 'create' | 'update' | 'delete';
|
|
45
|
+
annotation: any;
|
|
46
|
+
}) => void) => (() => void) | undefined;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
declare const PDFViewer: React.ForwardRefExoticComponent<Omit<FileViewerProps, "ref"> & React.RefAttributes<PDFViewerMethods>>;
|
|
50
|
+
|
|
51
|
+
export { PDFViewer, type PDFViewerMethods };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk7LPCKPN2js = require('../../chunk-7LPCKPN2.js');
|
|
5
|
+
require('../../chunk-ECZ6IBOS.js');
|
|
6
|
+
require('../../chunk-OPJOCUSL.js');
|
|
7
|
+
require('../../chunk-EM63H4SA.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.PDFViewer = _chunk7LPCKPN2js.PDFViewer;
|
|
11
|
+
//# sourceMappingURL=PDFViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/PDFViewer.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC;AACE;AACF,+CAAC","file":"/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/PDFViewer.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkMJYCPSD4js = require('../../chunk-MJYCPSD4.js');
|
|
5
|
+
require('../../chunk-OPJOCUSL.js');
|
|
6
|
+
require('../../chunk-EM63H4SA.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.TIFFViewer = _chunkMJYCPSD4js.TIFFViewer;
|
|
10
|
+
//# sourceMappingURL=TIFFViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/TIFFViewer.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC;AACE;AACF,iDAAC","file":"/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/TIFFViewer.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkCIWCHSAAjs = require('../../chunk-CIWCHSAA.js');
|
|
5
|
+
require('../../chunk-OPJOCUSL.js');
|
|
6
|
+
require('../../chunk-EM63H4SA.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.TextViewer = _chunkCIWCHSAAjs.TextViewer;
|
|
10
|
+
//# sourceMappingURL=TextViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/TextViewer.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC;AACE;AACF,iDAAC","file":"/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/TextViewer.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk6BRYDA3Bjs = require('../../chunk-6BRYDA3B.js');
|
|
5
|
+
require('../../chunk-OPJOCUSL.js');
|
|
6
|
+
require('../../chunk-EM63H4SA.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.VideoViewer = _chunk6BRYDA3Bjs.VideoViewer;
|
|
10
|
+
//# sourceMappingURL=VideoViewer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/VideoViewer.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC;AACE;AACF,mDAAC","file":"/home/premkumar/Documents/GitHub/DMS-File-Viewers/packages/lib/dist/components/viewers/VideoViewer.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { F as FileViewerProps, V as ViewerInfo, a as FileViewerComponent } from './types-AT684fjV.mjs';
|
|
3
|
+
export { c as DynamicViewerImport, D as DynamicViewerRegistry, S as SearchResult, T as ToolbarActionId, d as ToolbarActionsConfig, b as ViewerRegistry } from './types-AT684fjV.mjs';
|
|
4
|
+
export { TextViewer } from './components/viewers/TextViewer.mjs';
|
|
5
|
+
export { ImageViewer } from './components/viewers/ImageViewer.mjs';
|
|
6
|
+
export { PDFViewer, PDFViewerMethods } from './components/viewers/PDFViewer.mjs';
|
|
7
|
+
export { VideoViewer } from './components/viewers/VideoViewer.mjs';
|
|
8
|
+
export { AudioViewer } from './components/viewers/AudioViewer.mjs';
|
|
9
|
+
export { TIFFViewer } from './components/viewers/TIFFViewer.mjs';
|
|
10
|
+
export { DefaultViewer } from './components/viewers/DefaultViewer.mjs';
|
|
11
|
+
|
|
12
|
+
interface FileViewerComponentProps extends Partial<FileViewerProps> {
|
|
13
|
+
customRegistry?: Record<string, ViewerInfo>;
|
|
14
|
+
loadingComponent?: React.ComponentType<{
|
|
15
|
+
fileName?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
}>;
|
|
18
|
+
errorComponent?: React.ComponentType<{
|
|
19
|
+
error: Error;
|
|
20
|
+
retry: () => void;
|
|
21
|
+
}>;
|
|
22
|
+
}
|
|
23
|
+
declare const FileViewer: React.FC<FileViewerComponentProps>;
|
|
24
|
+
|
|
25
|
+
interface FileIconProps {
|
|
26
|
+
ext?: string;
|
|
27
|
+
size?: number;
|
|
28
|
+
sx?: React.CSSProperties;
|
|
29
|
+
}
|
|
30
|
+
declare const FileIcon: React.FC<FileIconProps>;
|
|
31
|
+
|
|
32
|
+
declare const dynamicViewerRegistry: Record<string, ViewerInfo>;
|
|
33
|
+
declare const getViewerInfo: (extension: string) => ViewerInfo;
|
|
34
|
+
declare const getViewerComponent: (extension: string, customRegistry?: Record<string, ViewerInfo>) => Promise<FileViewerComponent>;
|
|
35
|
+
|
|
36
|
+
declare const getFileExtension: (fileName: string) => string;
|
|
37
|
+
declare const getMimeTypeFromExtension: (extension: string) => string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Local shim for @embedpdf/plugin-annotation v2.14.1 lock-mode types.
|
|
41
|
+
*
|
|
42
|
+
* Once @cannymindstech/pdf-viewer @ 0.7.0 is published with its own re-exports
|
|
43
|
+
* of these from @embedpdf/plugin-annotation, this file should be deleted and
|
|
44
|
+
* src/index.ts switched back to:
|
|
45
|
+
*
|
|
46
|
+
* export { LockModeType } from '@cannymindstech/pdf-viewer';
|
|
47
|
+
* export type { LockMode, PdfAnnotationFlagName } from '@cannymindstech/pdf-viewer';
|
|
48
|
+
*
|
|
49
|
+
* Numeric values intentionally match the upstream enum so the shim is wire-
|
|
50
|
+
* compatible with the engine even before the upstream bump.
|
|
51
|
+
*/
|
|
52
|
+
declare enum LockModeType {
|
|
53
|
+
None = 0,
|
|
54
|
+
All = 1,
|
|
55
|
+
Include = 2,
|
|
56
|
+
Exclude = 3
|
|
57
|
+
}
|
|
58
|
+
type LockMode = {
|
|
59
|
+
type: LockModeType.None;
|
|
60
|
+
} | {
|
|
61
|
+
type: LockModeType.All;
|
|
62
|
+
} | {
|
|
63
|
+
type: LockModeType.Include;
|
|
64
|
+
categories: string[];
|
|
65
|
+
} | {
|
|
66
|
+
type: LockModeType.Exclude;
|
|
67
|
+
categories: string[];
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* PDF annotation flag names recognized by @embedpdf/plugin-annotation v2.14.1.
|
|
71
|
+
* `lockedContents` is new in 2.14.1; older runtimes silently ignore it.
|
|
72
|
+
*/
|
|
73
|
+
type PdfAnnotationFlagName = 'invisible' | 'hidden' | 'print' | 'noZoom' | 'noRotate' | 'noView' | 'readOnly' | 'locked' | 'toggleNoView' | 'lockedContents';
|
|
74
|
+
|
|
75
|
+
export { FileIcon, FileViewer, FileViewerComponent, FileViewerProps, type LockMode, LockModeType, type PdfAnnotationFlagName, ViewerInfo, dynamicViewerRegistry, getFileExtension, getMimeTypeFromExtension, getViewerComponent, getViewerInfo };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { F as FileViewerProps, V as ViewerInfo, a as FileViewerComponent } from './types-AT684fjV.js';
|
|
3
|
+
export { c as DynamicViewerImport, D as DynamicViewerRegistry, S as SearchResult, T as ToolbarActionId, d as ToolbarActionsConfig, b as ViewerRegistry } from './types-AT684fjV.js';
|
|
4
|
+
export { TextViewer } from './components/viewers/TextViewer.js';
|
|
5
|
+
export { ImageViewer } from './components/viewers/ImageViewer.js';
|
|
6
|
+
export { PDFViewer, PDFViewerMethods } from './components/viewers/PDFViewer.js';
|
|
7
|
+
export { VideoViewer } from './components/viewers/VideoViewer.js';
|
|
8
|
+
export { AudioViewer } from './components/viewers/AudioViewer.js';
|
|
9
|
+
export { TIFFViewer } from './components/viewers/TIFFViewer.js';
|
|
10
|
+
export { DefaultViewer } from './components/viewers/DefaultViewer.js';
|
|
11
|
+
|
|
12
|
+
interface FileViewerComponentProps extends Partial<FileViewerProps> {
|
|
13
|
+
customRegistry?: Record<string, ViewerInfo>;
|
|
14
|
+
loadingComponent?: React.ComponentType<{
|
|
15
|
+
fileName?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
}>;
|
|
18
|
+
errorComponent?: React.ComponentType<{
|
|
19
|
+
error: Error;
|
|
20
|
+
retry: () => void;
|
|
21
|
+
}>;
|
|
22
|
+
}
|
|
23
|
+
declare const FileViewer: React.FC<FileViewerComponentProps>;
|
|
24
|
+
|
|
25
|
+
interface FileIconProps {
|
|
26
|
+
ext?: string;
|
|
27
|
+
size?: number;
|
|
28
|
+
sx?: React.CSSProperties;
|
|
29
|
+
}
|
|
30
|
+
declare const FileIcon: React.FC<FileIconProps>;
|
|
31
|
+
|
|
32
|
+
declare const dynamicViewerRegistry: Record<string, ViewerInfo>;
|
|
33
|
+
declare const getViewerInfo: (extension: string) => ViewerInfo;
|
|
34
|
+
declare const getViewerComponent: (extension: string, customRegistry?: Record<string, ViewerInfo>) => Promise<FileViewerComponent>;
|
|
35
|
+
|
|
36
|
+
declare const getFileExtension: (fileName: string) => string;
|
|
37
|
+
declare const getMimeTypeFromExtension: (extension: string) => string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Local shim for @embedpdf/plugin-annotation v2.14.1 lock-mode types.
|
|
41
|
+
*
|
|
42
|
+
* Once @cannymindstech/pdf-viewer @ 0.7.0 is published with its own re-exports
|
|
43
|
+
* of these from @embedpdf/plugin-annotation, this file should be deleted and
|
|
44
|
+
* src/index.ts switched back to:
|
|
45
|
+
*
|
|
46
|
+
* export { LockModeType } from '@cannymindstech/pdf-viewer';
|
|
47
|
+
* export type { LockMode, PdfAnnotationFlagName } from '@cannymindstech/pdf-viewer';
|
|
48
|
+
*
|
|
49
|
+
* Numeric values intentionally match the upstream enum so the shim is wire-
|
|
50
|
+
* compatible with the engine even before the upstream bump.
|
|
51
|
+
*/
|
|
52
|
+
declare enum LockModeType {
|
|
53
|
+
None = 0,
|
|
54
|
+
All = 1,
|
|
55
|
+
Include = 2,
|
|
56
|
+
Exclude = 3
|
|
57
|
+
}
|
|
58
|
+
type LockMode = {
|
|
59
|
+
type: LockModeType.None;
|
|
60
|
+
} | {
|
|
61
|
+
type: LockModeType.All;
|
|
62
|
+
} | {
|
|
63
|
+
type: LockModeType.Include;
|
|
64
|
+
categories: string[];
|
|
65
|
+
} | {
|
|
66
|
+
type: LockModeType.Exclude;
|
|
67
|
+
categories: string[];
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* PDF annotation flag names recognized by @embedpdf/plugin-annotation v2.14.1.
|
|
71
|
+
* `lockedContents` is new in 2.14.1; older runtimes silently ignore it.
|
|
72
|
+
*/
|
|
73
|
+
type PdfAnnotationFlagName = 'invisible' | 'hidden' | 'print' | 'noZoom' | 'noRotate' | 'noView' | 'readOnly' | 'locked' | 'toggleNoView' | 'lockedContents';
|
|
74
|
+
|
|
75
|
+
export { FileIcon, FileViewer, FileViewerComponent, FileViewerProps, type LockMode, LockModeType, type PdfAnnotationFlagName, ViewerInfo, dynamicViewerRegistry, getFileExtension, getMimeTypeFromExtension, getViewerComponent, getViewerInfo };
|