@vue-pdf-viewer/viewer 3.11.1 → 3.12.0-beta.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/{VPdfViewer.vue_vue_type_style_index_1_scoped_347ed016_lang-4SOsedxV.js → VPdfViewer.vue_vue_type_style_index_1_scoped_9b7953f5_lang-CDacxFG4.js} +3 -3
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_347ed016_lang-C48yeNyx.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_9b7953f5_lang-e0bUasFa.cjs} +3 -3
- package/dist/{index-DuDQ73pK.cjs → index-GeODt42a.cjs} +1 -1
- package/dist/{index-Bn4N-NwS.js → index-Y7neaKhc.js} +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.js +4414 -4389
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/dist/types/components/VPdfViewer.vue.d.ts +9 -0
- package/dist/types/composables/useAnnotationUnderline.d.ts +1 -4
- package/dist/types/composables/usePdf.d.ts +1 -1
- package/dist/types/utils/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/license.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_9b7953f5_lang-e0bUasFa.cjs");exports.LicenseProduct=e.a;exports.LicenseType=e.L;exports.useLicense=e.u;
|
package/dist/license.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a, L as c, u as L } from "./VPdfViewer.
|
|
1
|
+
import { a, L as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_9b7953f5_lang-CDacxFG4.js";
|
|
2
2
|
export {
|
|
3
3
|
a as LicenseProduct,
|
|
4
4
|
c as LicenseType,
|
|
@@ -66,6 +66,9 @@ declare const _default: {
|
|
|
66
66
|
readonly default: () => Record<string, Localization>;
|
|
67
67
|
};
|
|
68
68
|
readonly initialSearch: {
|
|
69
|
+
/**
|
|
70
|
+
* Free & Freemium cannot utilize other props except `src`
|
|
71
|
+
*/
|
|
69
72
|
readonly type: StringConstructor;
|
|
70
73
|
readonly default: undefined;
|
|
71
74
|
};
|
|
@@ -297,6 +300,9 @@ declare const _default: {
|
|
|
297
300
|
readonly default: () => Record<string, Localization>;
|
|
298
301
|
};
|
|
299
302
|
readonly initialSearch: {
|
|
303
|
+
/**
|
|
304
|
+
* Free & Freemium cannot utilize other props except `src`
|
|
305
|
+
*/
|
|
300
306
|
readonly type: StringConstructor;
|
|
301
307
|
readonly default: undefined;
|
|
302
308
|
};
|
|
@@ -491,6 +497,9 @@ declare const _default: {
|
|
|
491
497
|
readonly default: () => Record<string, Localization>;
|
|
492
498
|
};
|
|
493
499
|
readonly initialSearch: {
|
|
500
|
+
/**
|
|
501
|
+
* Free & Freemium cannot utilize other props except `src`
|
|
502
|
+
*/
|
|
494
503
|
readonly type: StringConstructor;
|
|
495
504
|
readonly default: undefined;
|
|
496
505
|
};
|
|
@@ -709,10 +709,7 @@ export declare const useAnnotationUnderline: (props: UseAnnotationUnderlineProps
|
|
|
709
709
|
pageIndex: number;
|
|
710
710
|
isAddedNew?: boolean | undefined;
|
|
711
711
|
isModified?: boolean | undefined;
|
|
712
|
-
hexColor: string;
|
|
713
|
-
* Creates an underline annotation from selection boxes.
|
|
714
|
-
* This function is called by useAnnotationTextSelection when user selects "Underline" from the menu.
|
|
715
|
-
*/
|
|
712
|
+
hexColor: string;
|
|
716
713
|
drawLayerId: number;
|
|
717
714
|
outlineId: number;
|
|
718
715
|
boxes?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MaybeRef } from 'vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type PDFOptions, type PDFSrc, type PDFDocumentOptions } from '../utils/types';
|
|
3
3
|
import { type PDFDocumentProxy, type PDFPageProxy } from 'pdfjs-dist/types/src/display/api';
|
|
4
4
|
declare function usePdf(src: MaybeRef<PDFSrc>, options?: PDFOptions, workerUrl?: string, documentOptions?: PDFDocumentOptions): {
|
|
5
5
|
pdfDocLoadingTask: import("vue").ShallowRef<import("pdfjs-dist/types/src/display/api").PDFDocumentLoadingTask | undefined, import("pdfjs-dist/types/src/display/api").PDFDocumentLoadingTask | undefined>;
|
|
@@ -121,6 +121,9 @@ export type OnProgressCallback = (progressData: OnProgressParameters) => void;
|
|
|
121
121
|
export type UpdatePasswordFn = (newPassword: string) => void;
|
|
122
122
|
export type OnPasswordCallback = (updatePassword: UpdatePasswordFn, reason: any) => void;
|
|
123
123
|
export type OnErrorCallback = (error: any) => void;
|
|
124
|
+
export declare enum ErrorType {
|
|
125
|
+
NOT_SUPPORTED = "not-supported"
|
|
126
|
+
}
|
|
124
127
|
/**
|
|
125
128
|
* Payload for the password-required event.
|
|
126
129
|
*/
|