@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 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
- apng = "image/apng",
201
- avif = "image/avif",
202
- bmp = "image/bmp",
203
- gif = "image/gif",
204
- jpeg = "image/jpeg",
205
- png = "image/png",
206
- svg = "image/svg+xml",
207
- webp = "image/webp",
208
- icon = "image/x-icon"
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["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";
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) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.4.0-beta.5",
4
+ "version": "1.4.0-beta.7",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",