@vue-pdf-viewer/shared 1.0.0-beta.6 → 1.0.0-rc.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/types.d.ts +5 -6
- package/package.json +13 -1
package/dist/types.d.ts
CHANGED
|
@@ -133,12 +133,11 @@ export interface LabelValuePair {
|
|
|
133
133
|
label: string;
|
|
134
134
|
value: string;
|
|
135
135
|
}
|
|
136
|
-
export type
|
|
136
|
+
export type AnnotationColors = LabelValuePair[] | string[];
|
|
137
|
+
export type AnnotationHighlightColors = (AnnotationColors & {
|
|
137
138
|
length: 1 | 2 | 3 | 4 | 5 | 6;
|
|
138
|
-
};
|
|
139
|
-
export type
|
|
140
|
-
export type FreeTextFontColors = (LabelValuePair[] | string[]) & {
|
|
139
|
+
}) | null;
|
|
140
|
+
export type AnnotationFreeTextFontColors = (AnnotationColors & {
|
|
141
141
|
length: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
142
|
-
};
|
|
143
|
-
export type AnnotationFreeTextFontColors = FreeTextFontColors | null;
|
|
142
|
+
}) | null;
|
|
144
143
|
export type VPVEvent = EventAnnotation | EventCore;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-pdf-viewer/shared",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-rc.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -32,5 +32,17 @@
|
|
|
32
32
|
"typescript": "^5.0.0",
|
|
33
33
|
"vite": "^3.1.0",
|
|
34
34
|
"vue-tsc": "^0.40.4"
|
|
35
|
+
},
|
|
36
|
+
"description": "A shared library of vue-pdf-viewer for Vue and Nuxt.",
|
|
37
|
+
"keywords": [
|
|
38
|
+
"vue-pdf-viewer shared library",
|
|
39
|
+
"vue pdf viewer shared library"
|
|
40
|
+
],
|
|
41
|
+
"author": "Vue PDF Viewer <david@vue-pdf-viewer.dev>",
|
|
42
|
+
"license": "See license section",
|
|
43
|
+
"homepage": "https://www.vue-pdf-viewer.dev",
|
|
44
|
+
"url": "https://github.com/vue-pdf-viewer/vue-pdf-viewer",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/vue-pdf-viewer/vue-pdf-viewer/issues/new"
|
|
35
47
|
}
|
|
36
48
|
}
|