@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.
@@ -23,10 +23,6 @@ export declare enum ZoomLevel {
23
23
  PageFit = "pageFit",
24
24
  PageWidth = "pageWidth"
25
25
  }
26
- export declare enum SelectionMode {
27
- Text = "text",
28
- Hand = "hand"
29
- }
30
26
  export declare enum ScrollDirection {
31
27
  Horizontal = "Horizontal",
32
28
  Vertical = "Vertical",
@@ -3,7 +3,7 @@ import type { PageViewport, RenderTask } from 'pdfjs-dist';
3
3
  import type { DocumentInitParameters, OnProgressParameters, PDFDataRangeTransport, TextContent, TypedArray, PDFPageProxy, PDFDocumentProxy, RenderParameters } from 'pdfjs-dist/types/src/display/api';
4
4
  import type { Metadata } from 'pdfjs-dist/types/src/display/metadata';
5
5
  import type { Annotation, AnnotationToolOption, TextSelectionOption } from '@vue-pdf-viewer/shared';
6
- import { ZoomLevel, ViewMode, ScrollMode, SelectionMode, VPVAnnotationType, LicenseType, LicenseProduct } from './enumerators';
6
+ import { ZoomLevel, ViewMode, ScrollMode, VPVAnnotationType, LicenseType, LicenseProduct } from './enumerators';
7
7
  import { Localization, Plugin, AnnotationType } from '@vue-pdf-viewer/shared';
8
8
  export interface VirtualRange {
9
9
  start: number;
@@ -395,12 +395,6 @@ export interface VPdfViewerProps {
395
395
  * A layer on a PDF to allow text selection
396
396
  */
397
397
  textLayer?: boolean;
398
- /**
399
- * The selection mode for the viewer (text selection or hand tool)
400
- * - 'text': Enable text selection with cursor
401
- * - 'hand': Enable grab-to-scroll with hand cursor
402
- */
403
- selectionMode?: SelectionMode;
404
398
  /**
405
399
  * Specifies the character map (CMap) to be used for text rendering.
406
400
  * A CMap associates character codes with corresponding glyphs in CID fonts.
@@ -513,10 +507,6 @@ export declare const VPVBaseProps: {
513
507
  readonly type: PropType<boolean>;
514
508
  readonly default: () => boolean;
515
509
  };
516
- readonly selectionMode: {
517
- readonly type: PropType<SelectionMode>;
518
- readonly default: undefined;
519
- };
520
510
  readonly characterMap: {
521
511
  readonly type: PropType<CharacterMap>;
522
512
  readonly default: undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/viewer",
3
3
  "private": false,
4
- "version": "3.8.0-beta.5",
4
+ "version": "3.8.0-beta.7",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
7
7
  "module": "./dist/index.js",