@vue-pdf-viewer/shared 1.2.0-rc.0 → 1.2.0-rc.2

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.
@@ -87,6 +87,8 @@
87
87
  "annotationLabel": "Annotation tools",
88
88
  "annotationToggleShowTooltip": "Show annotation tools",
89
89
  "annotationToggleHideTooltip": "Hide annotation tools",
90
+ "annotationTextSelectionLabel": "Text selection tool",
91
+ "annotationTextSelectionTooltip": "Enable text selection tool",
90
92
  "annotationHighlightLabel": "Highlight",
91
93
  "annotationHighlightTooltip": "Highlight",
92
94
  "annotationHighlightColorTooltip": "Change highlight color",
@@ -87,6 +87,8 @@
87
87
  "annotationLabel": "Strumenti annotazione",
88
88
  "annotationToggleShowTooltip": "Mostra strumenti annotazione",
89
89
  "annotationToggleHideTooltip": "Nascondi strumenti annotazione",
90
+ "annotationTextSelectionLabel": "Strumento selezione testo",
91
+ "annotationTextSelectionTooltip": "Abilita strumento selezione testo",
90
92
  "annotationHighlightLabel": "Evidenzia",
91
93
  "annotationHighlightTooltip": "Evidenzia",
92
94
  "annotationHighlightColorTooltip": "Cambia colore evidenziazione",
@@ -87,6 +87,8 @@
87
87
  "annotationLabel": "Ferramentas de anotação",
88
88
  "annotationToggleShowTooltip": "Mostrar ferramentas de anotação",
89
89
  "annotationToggleHideTooltip": "Ocultar ferramentas de anotação",
90
+ "annotationTextSelectionLabel": "Ferramenta de seleção de texto",
91
+ "annotationTextSelectionTooltip": "Ativar ferramenta de seleção de texto",
90
92
  "annotationHighlightLabel": "Destacar",
91
93
  "annotationHighlightTooltip": "Destacar",
92
94
  "annotationHighlightColorTooltip": "Alterar cor do destaque",
@@ -87,6 +87,8 @@
87
87
  "annotationLabel": "เครื่องมือการออกแบบ",
88
88
  "annotationToggleShowTooltip": "แสดงเครื่องมือการออกแบบ",
89
89
  "annotationToggleHideTooltip": "ซ่อนเครื่องมือการออกแบบ",
90
+ "annotationTextSelectionLabel": "เลือกข้อความ",
91
+ "annotationTextSelectionTooltip": "เปิดใช้การเลือกข้อความ",
90
92
  "annotationHighlightLabel": "ไฮไลท์",
91
93
  "annotationHighlightTooltip": "ไฮไลท์",
92
94
  "annotationHighlightColorTooltip": "เปลี่ยนสีไฮไลท์",
@@ -87,6 +87,8 @@
87
87
  "annotationLabel": "注释工具",
88
88
  "annotationToggleShowTooltip": "显示注释工具",
89
89
  "annotationToggleHideTooltip": "隐藏注释工具",
90
+ "annotationTextSelectionLabel": "文本选择工具",
91
+ "annotationTextSelectionTooltip": "启用文本选择工具",
90
92
  "annotationHighlightLabel": "高亮",
91
93
  "annotationHighlightTooltip": "高亮",
92
94
  "annotationHighlightColorTooltip": "更改高亮颜色",
package/dist/types.d.ts CHANGED
@@ -90,6 +90,8 @@ export type Localization = {
90
90
  annotationLabel: string;
91
91
  annotationToggleShowTooltip: string;
92
92
  annotationToggleHideTooltip: string;
93
+ annotationTextSelectionLabel: string;
94
+ annotationTextSelectionTooltip: string;
93
95
  annotationHighlightLabel: string;
94
96
  annotationHighlightTooltip: string;
95
97
  annotationHighlightColorTooltip: string;
@@ -191,16 +193,18 @@ export interface Annotation {
191
193
  annotationType: AnnotationType;
192
194
  rotation: number;
193
195
  rect: number[];
196
+ parentRect?: number[];
197
+ fieldType?: string;
194
198
  annotationFlags?: AnnotationFlag;
195
199
  borderStyle?: AnnotationBorderStyle;
196
200
  color?: Uint8ClampedArray | null;
197
- creationDate?: string | null;
201
+ creationDate?: string | Date | null;
198
202
  backgroundColor?: Uint8ClampedArray | null;
199
203
  borderColor?: Uint8ClampedArray | null;
200
204
  contentsObj?: AnnotationStringObj;
201
205
  hasOwnCanvas?: boolean;
202
206
  hasAppearance?: boolean;
203
- modificationDate?: string | null;
207
+ modificationDate?: string | Date | null;
204
208
  quadPoints?: Float32Array;
205
209
  subtype?: string;
206
210
  noRotate?: boolean;
@@ -210,6 +214,8 @@ export interface Annotation {
210
214
  titleObj?: AnnotationStringObj;
211
215
  opacity?: number;
212
216
  file?: AnnotationAttachment;
217
+ inReplyTo?: string;
218
+ value?: string;
213
219
  dest?: OutlineDestinations;
214
220
  url?: string;
215
221
  unsafeUrl?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.2.0-rc.0",
4
+ "version": "1.2.0-rc.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",