@vue-pdf-viewer/viewer 4.3.0-rc.0 → 4.3.0-rc.2
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_8748e302_lang-DFcLx3sM.js → VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-CL7i9LtE.js} +622 -616
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-DklZ_CZ-.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-DNdHBH3g.cjs} +6 -6
- package/dist/{index-SSrRNEJ4.js → index-BkFRf6RF.js} +1 -1
- package/dist/{index-RMpGUrFP.cjs → index-_p6g3re4.cjs} +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.js +9703 -9303
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/dist/types/composables/useAnnotationFreeText.d.ts +2 -0
- package/dist/types/composables/useAnnotationHighlight.d.ts +2 -0
- package/dist/types/composables/useAnnotationStamp.d.ts +2 -0
- package/dist/types/composables/useAnnotationStrikethrough.d.ts +3 -0
- package/dist/types/composables/useAnnotationUnderline.d.ts +3 -0
- package/package.json +3 -3
package/dist/license.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-DNdHBH3g.cjs");exports.LicenseProduct=e.L;exports.LicenseType=e.a;exports.useLicense=e.u;
|
package/dist/license.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as a, a as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-
|
|
1
|
+
import { L as a, a as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_8748e302_lang-CL7i9LtE.js";
|
|
2
2
|
export {
|
|
3
3
|
a as LicenseProduct,
|
|
4
4
|
c as LicenseType,
|
|
@@ -930,6 +930,7 @@ export declare const useAnnotationFreeText: (props: UseAnnotationFreeTextProps)
|
|
|
930
930
|
noPrint?: boolean | undefined;
|
|
931
931
|
contents?: string | undefined;
|
|
932
932
|
imageDataUrl?: string | undefined;
|
|
933
|
+
vertices?: number[] | undefined;
|
|
933
934
|
}[], AnnotationFreeText[] | {
|
|
934
935
|
defaultAppearanceData?: {
|
|
935
936
|
fontColor: {
|
|
@@ -1850,6 +1851,7 @@ export declare const useAnnotationFreeText: (props: UseAnnotationFreeTextProps)
|
|
|
1850
1851
|
noPrint?: boolean | undefined;
|
|
1851
1852
|
contents?: string | undefined;
|
|
1852
1853
|
imageDataUrl?: string | undefined;
|
|
1854
|
+
vertices?: number[] | undefined;
|
|
1853
1855
|
}[]>;
|
|
1854
1856
|
freeTextElementClickOpens: import("vue").Reactive<Map<string, boolean>>;
|
|
1855
1857
|
freeTextElements: Ref<Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>, Map<string, HTMLElement> | (Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>)>;
|
|
@@ -349,6 +349,7 @@ export declare const useAnnotationHighlight: (props: UseAnnotationHighlightProps
|
|
|
349
349
|
fontSize?: number | undefined;
|
|
350
350
|
contents?: string | undefined;
|
|
351
351
|
imageDataUrl?: string | undefined;
|
|
352
|
+
vertices?: number[] | undefined;
|
|
352
353
|
}[], AnnotationHighlight[] | {
|
|
353
354
|
hexColor: string;
|
|
354
355
|
drawLayerId: number;
|
|
@@ -684,6 +685,7 @@ export declare const useAnnotationHighlight: (props: UseAnnotationHighlightProps
|
|
|
684
685
|
fontSize?: number | undefined;
|
|
685
686
|
contents?: string | undefined;
|
|
686
687
|
imageDataUrl?: string | undefined;
|
|
688
|
+
vertices?: number[] | undefined;
|
|
687
689
|
}[]>;
|
|
688
690
|
highlightElements: Ref<Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>, Map<string, HTMLElement> | (Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>)>;
|
|
689
691
|
highlightElementClickOpens: import("vue").Reactive<Map<string, boolean>>;
|
|
@@ -413,6 +413,7 @@ export declare const useAnnotationStamp: (props: UseAnnotationStampProps) => {
|
|
|
413
413
|
fontSize?: number | undefined;
|
|
414
414
|
contents?: string | undefined;
|
|
415
415
|
imageDataUrl?: string | undefined;
|
|
416
|
+
vertices?: number[] | undefined;
|
|
416
417
|
}[], AnnotationStamp[] | {
|
|
417
418
|
hasOwnCanvas: boolean;
|
|
418
419
|
originalAnnotation?: any;
|
|
@@ -809,6 +810,7 @@ export declare const useAnnotationStamp: (props: UseAnnotationStampProps) => {
|
|
|
809
810
|
fontSize?: number | undefined;
|
|
810
811
|
contents?: string | undefined;
|
|
811
812
|
imageDataUrl?: string | undefined;
|
|
813
|
+
vertices?: number[] | undefined;
|
|
812
814
|
}[]>;
|
|
813
815
|
stampElementClickOpens: import("vue").Reactive<Map<string, boolean>>;
|
|
814
816
|
handleStampRemove: (annotation: AnnotationStamp) => void;
|
|
@@ -354,6 +354,7 @@ export declare const useAnnotationStrikethrough: (props: UseAnnotationStrikethro
|
|
|
354
354
|
fontSize?: number | undefined;
|
|
355
355
|
contents?: string | undefined;
|
|
356
356
|
imageDataUrl?: string | undefined;
|
|
357
|
+
vertices?: number[] | undefined;
|
|
357
358
|
}[], StrikethroughAnnotation[] | {
|
|
358
359
|
isAddedNew?: boolean | undefined;
|
|
359
360
|
isModified?: boolean | undefined;
|
|
@@ -691,6 +692,7 @@ export declare const useAnnotationStrikethrough: (props: UseAnnotationStrikethro
|
|
|
691
692
|
fontSize?: number | undefined;
|
|
692
693
|
contents?: string | undefined;
|
|
693
694
|
imageDataUrl?: string | undefined;
|
|
695
|
+
vertices?: number[] | undefined;
|
|
694
696
|
}[]>;
|
|
695
697
|
strikethroughElements: Ref<Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>, Map<string, HTMLElement> | (Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>)>;
|
|
696
698
|
strikethroughElementClickOpens: import("vue").Reactive<Map<string, boolean>>;
|
|
@@ -758,6 +760,7 @@ export declare const useAnnotationStrikethrough: (props: UseAnnotationStrikethro
|
|
|
758
760
|
fontSize?: number | undefined;
|
|
759
761
|
contents?: string | undefined;
|
|
760
762
|
imageDataUrl?: string | undefined;
|
|
763
|
+
vertices?: number[] | undefined;
|
|
761
764
|
}>;
|
|
762
765
|
handleStrikethroughClick: (annotation: StrikethroughAnnotation) => void;
|
|
763
766
|
onSelectedStrikethroughColorUpdate: (color: string, annotation: StrikethroughAnnotation) => void;
|
|
@@ -354,6 +354,7 @@ export declare const useAnnotationUnderline: (props: UseAnnotationUnderlineProps
|
|
|
354
354
|
fontSize?: number | undefined;
|
|
355
355
|
contents?: string | undefined;
|
|
356
356
|
imageDataUrl?: string | undefined;
|
|
357
|
+
vertices?: number[] | undefined;
|
|
357
358
|
}[], UnderlineAnnotation[] | {
|
|
358
359
|
isAddedNew?: boolean | undefined;
|
|
359
360
|
isModified?: boolean | undefined;
|
|
@@ -691,6 +692,7 @@ export declare const useAnnotationUnderline: (props: UseAnnotationUnderlineProps
|
|
|
691
692
|
fontSize?: number | undefined;
|
|
692
693
|
contents?: string | undefined;
|
|
693
694
|
imageDataUrl?: string | undefined;
|
|
695
|
+
vertices?: number[] | undefined;
|
|
694
696
|
}[]>;
|
|
695
697
|
underlineElements: Ref<Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>, Map<string, HTMLElement> | (Map<string, HTMLElement> & Omit<Map<string, HTMLElement>, keyof Map<any, any>>)>;
|
|
696
698
|
underlineElementClickOpens: import("vue").Reactive<Map<string, boolean>>;
|
|
@@ -758,6 +760,7 @@ export declare const useAnnotationUnderline: (props: UseAnnotationUnderlineProps
|
|
|
758
760
|
fontSize?: number | undefined;
|
|
759
761
|
contents?: string | undefined;
|
|
760
762
|
imageDataUrl?: string | undefined;
|
|
763
|
+
vertices?: number[] | undefined;
|
|
761
764
|
}>;
|
|
762
765
|
handleUnderlineClick: (annotation: UnderlineAnnotation) => void;
|
|
763
766
|
onSelectedUnderlineColorUpdate: (color: string, annotation: UnderlineAnnotation) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-pdf-viewer/viewer",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "4.3.0-rc.
|
|
4
|
+
"version": "4.3.0-rc.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"prepare": "husky"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@vue-pdf-viewer/shared": "1.6.0",
|
|
68
|
+
"@vue-pdf-viewer/shared": "1.6.1-rc.0",
|
|
69
69
|
"@vueuse/core": "^13.6.0",
|
|
70
70
|
"node-forge": "^1.3.2",
|
|
71
71
|
"pdfjs-dist": "5.4.530",
|
|
@@ -129,4 +129,4 @@
|
|
|
129
129
|
"pnpm": ">=8.8.0",
|
|
130
130
|
"yarn": ">=1.20.0"
|
|
131
131
|
}
|
|
132
|
-
}
|
|
132
|
+
}
|