@vue-pdf-viewer/annotation 1.5.0 → 1.6.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.d.ts +3 -1
- package/dist/index.js +2951 -2580
- package/dist/index.umd.cjs +10 -9
- package/dist/utils/xfdfSerializer.d.ts +17 -0
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Annotation, type XfdfImportResult } from "@vue-pdf-viewer/shared";
|
|
2
|
+
export declare class XfdfSerializer {
|
|
3
|
+
private static serializeAnnotation;
|
|
4
|
+
private static serializeTextMarkup;
|
|
5
|
+
private static serializeFreeText;
|
|
6
|
+
private static serializeStamp;
|
|
7
|
+
private static serializeInk;
|
|
8
|
+
private static serializePopup;
|
|
9
|
+
static exportToXfdf(annotations: Annotation[], pdfFilename?: string): string;
|
|
10
|
+
private static parseAnnotationElement;
|
|
11
|
+
private static parseTextMarkup;
|
|
12
|
+
private static parseFreeText;
|
|
13
|
+
private static parseStamp;
|
|
14
|
+
private static parseInk;
|
|
15
|
+
private static parsePopup;
|
|
16
|
+
static importFromXfdf(xfdfString: string, pageCount: number): XfdfImportResult;
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-pdf-viewer/annotation",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.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.1.0",
|
|
34
|
-
"@vue-pdf-viewer/shared": "1.
|
|
34
|
+
"@vue-pdf-viewer/shared": "1.6.0-rc.0",
|
|
35
35
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
36
36
|
"vue": "^3.2.37"
|
|
37
37
|
},
|