@vue-pdf-viewer/shared 0.0.0-experimental.20 → 0.0.0-experimental.21
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/const.d.ts +2 -1
- package/dist/const.js +9 -1
- package/dist/enumerators.d.ts +1 -1
- package/dist/enumerators.js +9 -9
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/const.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InjectionKey, Reactive, ComputedRef } from "vue";
|
|
2
|
-
import type { LocaleKey, Localization, PluginContext } from "./index";
|
|
2
|
+
import type { AnnotationHighlightColor, LocaleKey, Localization, PluginContext } from "./index";
|
|
3
3
|
import { EventAnnotation } from "./enumerators";
|
|
4
4
|
export declare const PLUGIN_ID: {
|
|
5
5
|
ANNOTATIONS: string;
|
|
@@ -8,3 +8,4 @@ export declare const Locales: Record<LocaleKey, Localization>;
|
|
|
8
8
|
export declare const SHARED_UI_SYMBOL: InjectionKey<Reactive<PluginContext["shared"]["ui"]>>;
|
|
9
9
|
export declare const LOCALIZATION_SYMBOL: InjectionKey<ComputedRef<Localization> | undefined>;
|
|
10
10
|
export declare const EVENT_ANNOTATION: typeof EventAnnotation;
|
|
11
|
+
export declare const DEFAULT_HIGHLIGHT_COLORS: AnnotationHighlightColor;
|
package/dist/const.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventAnnotation } from "./enumerators";
|
|
1
|
+
import { DefaultHighlightColor, EventAnnotation } from "./enumerators";
|
|
2
2
|
import en from "./locales/en_US.json";
|
|
3
3
|
import cn from "./locales/zh_CN.json";
|
|
4
4
|
import it from "./locales/it_IT.json";
|
|
@@ -18,3 +18,11 @@ export const Locales = {
|
|
|
18
18
|
export const SHARED_UI_SYMBOL = Symbol("VPV Shared UIs");
|
|
19
19
|
export const LOCALIZATION_SYMBOL = Symbol("VPV Current Localization");
|
|
20
20
|
export const EVENT_ANNOTATION = EventAnnotation;
|
|
21
|
+
export const DEFAULT_HIGHLIGHT_COLORS = [
|
|
22
|
+
DefaultHighlightColor.Purple,
|
|
23
|
+
DefaultHighlightColor.Cyan,
|
|
24
|
+
DefaultHighlightColor.Red,
|
|
25
|
+
DefaultHighlightColor.Orange,
|
|
26
|
+
DefaultHighlightColor.Yellow,
|
|
27
|
+
DefaultHighlightColor.Green,
|
|
28
|
+
];
|
package/dist/enumerators.d.ts
CHANGED
package/dist/enumerators.js
CHANGED
|
@@ -5,12 +5,12 @@ export var EventAnnotation;
|
|
|
5
5
|
EventAnnotation["signature"] = "vpv:annotation:signature";
|
|
6
6
|
EventAnnotation["image"] = "vpv:annotation:image";
|
|
7
7
|
})(EventAnnotation || (EventAnnotation = {}));
|
|
8
|
-
export var
|
|
9
|
-
(function (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(
|
|
8
|
+
export var DefaultHighlightColor;
|
|
9
|
+
(function (DefaultHighlightColor) {
|
|
10
|
+
DefaultHighlightColor["Purple"] = "#7862FF";
|
|
11
|
+
DefaultHighlightColor["Cyan"] = "#3FE9E3";
|
|
12
|
+
DefaultHighlightColor["Red"] = "#F87777";
|
|
13
|
+
DefaultHighlightColor["Orange"] = "#FE9639";
|
|
14
|
+
DefaultHighlightColor["Yellow"] = "#FBDA15";
|
|
15
|
+
DefaultHighlightColor["Green"] = "#88F526";
|
|
16
|
+
})(DefaultHighlightColor || (DefaultHighlightColor = {}));
|
package/dist/types.d.ts
CHANGED