@vue-pdf-viewer/shared 0.0.0-experimental.11 → 0.0.0-experimental.12

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 CHANGED
@@ -1,6 +1,9 @@
1
1
  import type { InjectionKey, Reactive, ComputedRef } from "vue";
2
2
  import type { LocaleKey, Localization, PluginContext } from "./index";
3
3
  import { EventAnnotation } from "./enumerators";
4
+ export declare const PLUGIN_ID: {
5
+ ANNOTATIONS: string;
6
+ };
4
7
  export declare const Locales: Record<LocaleKey, Localization>;
5
8
  export declare const SHARED_UI_SYMBOL: InjectionKey<Reactive<PluginContext["shared"]["ui"]>>;
6
9
  export declare const LOCALIZATION_SYMBOL: InjectionKey<ComputedRef<Localization> | undefined>;
package/dist/const.js CHANGED
@@ -4,6 +4,10 @@ import cn from "./locales/zh_CN.json";
4
4
  import it from "./locales/it_IT.json";
5
5
  import pt from "./locales/pt_PT.json";
6
6
  import th from "./locales/th_TH.json";
7
+ export const PLUGIN_ID = {
8
+ ANNOTATIONS: "annotations",
9
+ // ... other plugin ids
10
+ };
7
11
  export const Locales = {
8
12
  en_US: en,
9
13
  zh_CN: cn,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "0.0.0-experimental.11",
4
+ "version": "0.0.0-experimental.12",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",