@vue-pdf-viewer/viewer 3.8.0-beta.5 → 3.8.0-beta.7

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.
@@ -1,6 +1,6 @@
1
1
  import type { PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api';
2
2
  import type { AnnotationEventPayload, TextLayerLoadedEventPayload, RotateEvent, ToolbarOptions, PdfProperties } from '@/utils/types';
3
- import { ScrollMode, SelectionMode, ViewMode, ZoomLevel } from '@/utils/enumerators';
3
+ import { ScrollMode, ViewMode, ZoomLevel } from '@/utils/enumerators';
4
4
  import '../style.scss';
5
5
  import { Localization } from '@vue-pdf-viewer/shared';
6
6
  declare const _default: {
@@ -49,10 +49,6 @@ declare const _default: {
49
49
  readonly type: import("vue").PropType<boolean>;
50
50
  readonly default: () => boolean;
51
51
  };
52
- readonly selectionMode: {
53
- readonly type: import("vue").PropType<SelectionMode>;
54
- readonly default: undefined;
55
- };
56
52
  readonly characterMap: {
57
53
  readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
58
54
  readonly default: undefined;
@@ -202,7 +198,6 @@ declare const _default: {
202
198
  readonly initialThumbnailsVisible: boolean;
203
199
  readonly initialSearch: string;
204
200
  readonly textLayer: boolean;
205
- readonly selectionMode: SelectionMode;
206
201
  readonly characterMap: import("@/utils/types").CharacterMap;
207
202
  readonly toolbarOptions: false | Partial<ToolbarOptions>;
208
203
  readonly localization: Record<string, Localization>;
@@ -263,10 +258,6 @@ declare const _default: {
263
258
  readonly type: import("vue").PropType<boolean>;
264
259
  readonly default: () => boolean;
265
260
  };
266
- readonly selectionMode: {
267
- readonly type: import("vue").PropType<SelectionMode>;
268
- readonly default: undefined;
269
- };
270
261
  readonly characterMap: {
271
262
  readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
272
263
  readonly default: undefined;
@@ -388,7 +379,6 @@ declare const _default: {
388
379
  readonly initialThumbnailsVisible: boolean;
389
380
  readonly initialSearch: string;
390
381
  readonly textLayer: boolean;
391
- readonly selectionMode: SelectionMode;
392
382
  readonly characterMap: import("@/utils/types").CharacterMap;
393
383
  readonly toolbarOptions: false | Partial<ToolbarOptions>;
394
384
  readonly localization: Record<string, Localization>;
@@ -446,10 +436,6 @@ declare const _default: {
446
436
  readonly type: import("vue").PropType<boolean>;
447
437
  readonly default: () => boolean;
448
438
  };
449
- readonly selectionMode: {
450
- readonly type: import("vue").PropType<SelectionMode>;
451
- readonly default: undefined;
452
- };
453
439
  readonly characterMap: {
454
440
  readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
455
441
  readonly default: undefined;
@@ -599,7 +585,6 @@ declare const _default: {
599
585
  readonly initialThumbnailsVisible: boolean;
600
586
  readonly initialSearch: string;
601
587
  readonly textLayer: boolean;
602
- readonly selectionMode: SelectionMode;
603
588
  readonly characterMap: import("@/utils/types").CharacterMap;
604
589
  readonly toolbarOptions: false | Partial<ToolbarOptions>;
605
590
  readonly localization: Record<string, Localization>;
@@ -1,5 +1,5 @@
1
1
  import type { PDFDocumentProxy } from 'pdfjs-dist';
2
2
  import type { AnnotationEventPayload } from '@/utils/types';
3
3
  declare const EVENTS_TO_HANDLER: string[];
4
- declare function annotationEventsHandler(evt: Event, PDFDoc: PDFDocumentProxy, Annotations: Object[], viewerRotation: number): AnnotationEventPayload | Promise<AnnotationEventPayload | undefined> | undefined;
4
+ declare function annotationEventsHandler(evt: Event, PDFDoc: PDFDocumentProxy, Annotations: Object[], viewerRotation: number, annotationStorage?: any): AnnotationEventPayload | Promise<AnnotationEventPayload | undefined> | undefined;
5
5
  export { EVENTS_TO_HANDLER, annotationEventsHandler };