@vue-pdf-viewer/annotation 1.3.0-alpha.2 → 1.3.0-beta.0
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/index.js +1233 -1228
- package/dist/index.umd.cjs +8 -8
- package/dist/utils/pdfSerializer.d.ts +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ export declare class AnnotationPdfSerializer {
|
|
|
4
4
|
* Serialize annotations into a PDF document
|
|
5
5
|
*/
|
|
6
6
|
static serializeAnnotationsToPdf(originalBytes: Uint8Array, annotations: Annotation[]): Promise<Uint8Array>;
|
|
7
|
-
private static
|
|
7
|
+
private static addTextMarkupAnnotation;
|
|
8
8
|
/**
|
|
9
9
|
* Add a rectangle (square) annotation to the PDF
|
|
10
10
|
* Rectangle annotations are PDF annotation type 5 (Square)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-pdf-viewer/annotation",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.0-
|
|
4
|
+
"version": "1.3.0-beta.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@pdf-viewer/pdf": "1.0.0",
|
|
34
|
-
"@vue-pdf-viewer/shared": "1.2.0-rc.
|
|
34
|
+
"@vue-pdf-viewer/shared": "1.2.0-rc.11",
|
|
35
35
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
36
36
|
"vue": "^3.2.37"
|
|
37
37
|
},
|