@vue-pdf-viewer/shared 0.0.0-experimental.1 → 0.0.0-experimental.3

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.
@@ -83,6 +83,7 @@
83
83
  "annotationToggleHideTooltip": "Hide annotation tools",
84
84
  "annotationHighlightLabel": "Highlight",
85
85
  "annotationHighlightTooltip": "Highlight",
86
+ "annotationHighlightColorPickerLabel": "Highlight color",
86
87
  "annotationFreeTextLabel": "Free text",
87
88
  "annotationFreeTextTooltip": "Free text",
88
89
  "annotationSignatureLabel": "Signature",
@@ -83,6 +83,7 @@
83
83
  "annotationToggleHideTooltip": "Nascondi strumenti annotazione",
84
84
  "annotationHighlightLabel": "Evidenzia",
85
85
  "annotationHighlightTooltip": "Evidenzia",
86
+ "annotationHighlightColorPickerLabel": "Colore evidenziazione",
86
87
  "annotationFreeTextLabel": "Testo libero",
87
88
  "annotationFreeTextTooltip": "Testo libero",
88
89
  "annotationSignatureLabel": "Firma",
@@ -83,6 +83,7 @@
83
83
  "annotationToggleHideTooltip": "Ocultar ferramentas de anotação",
84
84
  "annotationHighlightLabel": "Destacar",
85
85
  "annotationHighlightTooltip": "Destacar",
86
+ "annotationHighlightColorPickerLabel": "Cor de destaque",
86
87
  "annotationFreeTextLabel": "Texto livre",
87
88
  "annotationFreeTextTooltip": "Texto livre",
88
89
  "annotationSignatureLabel": "Assinatura",
@@ -81,8 +81,9 @@
81
81
  "annotationLabel": "เครื่องมือการออกแบบ",
82
82
  "annotationToggleShowTooltip": "แสดงเครื่องมือการออกแบบ",
83
83
  "annotationToggleHideTooltip": "ซ่อนเครื่องมือการออกแบบ",
84
- "annotationHighlightLabel": "ตัวอักษรสี",
85
- "annotationHighlightTooltip": "ตัวอักษรสี",
84
+ "annotationHighlightLabel": "ไฮไลท์",
85
+ "annotationHighlightTooltip": "ไฮไลท์",
86
+ "annotationHighlightColorPickerLabel": "สีไฮไลท์",
86
87
  "annotationFreeTextLabel": "ข้อความ",
87
88
  "annotationFreeTextTooltip": "ข้อความ",
88
89
  "annotationSignatureLabel": "ลายนิ้วมือ",
@@ -83,6 +83,7 @@
83
83
  "annotationToggleHideTooltip": "隐藏注释工具",
84
84
  "annotationHighlightLabel": "高亮",
85
85
  "annotationHighlightTooltip": "高亮",
86
+ "annotationHighlightColorPickerLabel": "高亮颜色",
86
87
  "annotationFreeTextLabel": "自由文本",
87
88
  "annotationFreeTextTooltip": "自由文本",
88
89
  "annotationSignatureLabel": "签名",
package/dist/types.d.ts CHANGED
@@ -84,6 +84,7 @@ export type Localization = {
84
84
  annotationToggleHideTooltip: string;
85
85
  annotationHighlightLabel: string;
86
86
  annotationHighlightTooltip: string;
87
+ annotationHighlightColorPickerLabel: string;
87
88
  annotationFreeTextLabel: string;
88
89
  annotationFreeTextTooltip: string;
89
90
  annotationSignatureLabel: string;
@@ -107,6 +108,7 @@ export interface PluginContext {
107
108
  ui: {
108
109
  AppButton?: Component;
109
110
  AppTooltip?: Component;
111
+ AppPopover?: Component;
110
112
  };
111
113
  };
112
114
  }
package/dist/utils.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import { EventAnnotation } from "./enumerators";
2
- export declare function getEventName(instanceUId: number, baseEvent: EventAnnotation): string;
2
+ export declare const getEventName: (instanceId: number, event: EventAnnotation) => string;
package/dist/utils.js CHANGED
@@ -1,3 +1,3 @@
1
- export function getEventName(instanceUId, baseEvent) {
2
- return `${instanceUId}-${baseEvent}`;
3
- }
1
+ export const getEventName = (instanceId, event) => {
2
+ return `${instanceId}-${event}`;
3
+ };
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.1",
4
+ "version": "0.0.0-experimental.3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",