@vue-pdf-viewer/shared 0.0.0-experimental.14 → 0.0.0-experimental.17
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/enumerators.d.ts +2 -1
- package/dist/enumerators.js +1 -0
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/enumerators.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare enum EventAnnotation {
|
|
2
2
|
highlight = "vpv:annotation:highlight",
|
|
3
3
|
freeText = "vpv:annotation:freeText",
|
|
4
|
-
signature = "vpv:annotation:signature"
|
|
4
|
+
signature = "vpv:annotation:signature",
|
|
5
|
+
image = "vpv:annotation:image"
|
|
5
6
|
}
|
|
6
7
|
export declare enum HighlightColor {
|
|
7
8
|
Purple = "#7862FF",
|
package/dist/enumerators.js
CHANGED
|
@@ -3,6 +3,7 @@ export var EventAnnotation;
|
|
|
3
3
|
EventAnnotation["highlight"] = "vpv:annotation:highlight";
|
|
4
4
|
EventAnnotation["freeText"] = "vpv:annotation:freeText";
|
|
5
5
|
EventAnnotation["signature"] = "vpv:annotation:signature";
|
|
6
|
+
EventAnnotation["image"] = "vpv:annotation:image";
|
|
6
7
|
})(EventAnnotation || (EventAnnotation = {}));
|
|
7
8
|
export var HighlightColor;
|
|
8
9
|
(function (HighlightColor) {
|
package/dist/types.d.ts
CHANGED
|
@@ -98,10 +98,12 @@ export type Localization = {
|
|
|
98
98
|
annotationImageTooltip: string;
|
|
99
99
|
annotationImageUnsupportedFileMessage: string;
|
|
100
100
|
};
|
|
101
|
+
export type AnnotationSlug = "highlight" | "freeText" | "signature" | "image";
|
|
101
102
|
export type ToolbarDirection = "top" | "left" | "right";
|
|
102
103
|
export interface PluginItem {
|
|
103
104
|
id: string;
|
|
104
105
|
component: Component;
|
|
106
|
+
slug: AnnotationSlug;
|
|
105
107
|
toolbarDirection: ToolbarDirection;
|
|
106
108
|
}
|
|
107
109
|
export interface PluginContext {
|