@vue-pdf-viewer/shared 1.4.0-beta.5 → 1.4.0-beta.7
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/types.d.ts +10 -9
- package/dist/types.js +9 -9
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export type Localization = {
|
|
|
125
125
|
annotationImageLabel: string;
|
|
126
126
|
annotationImageTooltip: string;
|
|
127
127
|
annotationImageUnsupportedFileMessage: string;
|
|
128
|
+
annotationImageUnsupportedFileSizeMessage: string;
|
|
128
129
|
annotationImageDeleteTooltip: string;
|
|
129
130
|
};
|
|
130
131
|
export type ToolbarDirection = "top" | "left" | "right";
|
|
@@ -197,15 +198,15 @@ export interface ImageOption extends AnnotationToolOption {
|
|
|
197
198
|
types?: ImageType[];
|
|
198
199
|
}
|
|
199
200
|
export declare enum ImageType {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
201
|
+
APNG = "image/apng",
|
|
202
|
+
AVIF = "image/avif",
|
|
203
|
+
BMP = "image/bmp",
|
|
204
|
+
GIF = "image/gif",
|
|
205
|
+
JPEG = "image/jpeg",
|
|
206
|
+
PNG = "image/png",
|
|
207
|
+
SVG = "image/svg+xml",
|
|
208
|
+
WEBP = "image/webp",
|
|
209
|
+
ICON = "image/x-icon"
|
|
209
210
|
}
|
|
210
211
|
export declare enum ErrorCode {
|
|
211
212
|
UnsupportedFileType = "unsupported-file-type",
|
package/dist/types.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export var ImageType;
|
|
2
2
|
(function (ImageType) {
|
|
3
|
-
ImageType["
|
|
4
|
-
ImageType["
|
|
5
|
-
ImageType["
|
|
6
|
-
ImageType["
|
|
7
|
-
ImageType["
|
|
8
|
-
ImageType["
|
|
9
|
-
ImageType["
|
|
10
|
-
ImageType["
|
|
11
|
-
ImageType["
|
|
3
|
+
ImageType["APNG"] = "image/apng";
|
|
4
|
+
ImageType["AVIF"] = "image/avif";
|
|
5
|
+
ImageType["BMP"] = "image/bmp";
|
|
6
|
+
ImageType["GIF"] = "image/gif";
|
|
7
|
+
ImageType["JPEG"] = "image/jpeg";
|
|
8
|
+
ImageType["PNG"] = "image/png";
|
|
9
|
+
ImageType["SVG"] = "image/svg+xml";
|
|
10
|
+
ImageType["WEBP"] = "image/webp";
|
|
11
|
+
ImageType["ICON"] = "image/x-icon";
|
|
12
12
|
})(ImageType || (ImageType = {}));
|
|
13
13
|
export var ErrorCode;
|
|
14
14
|
(function (ErrorCode) {
|