scanbot-web-sdk 2.13.0-alpha.1 → 2.13.0-alpha.6
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/@types/barcode-scanner-view.d.ts +1 -1
- package/@types/interfaces/i-barcode-scanner-handle.d.ts +7 -0
- package/@types/model/configuration/barcode-count-configuration.d.ts +4 -0
- package/@types/model/configuration/barcode-scanner-configuration.d.ts +2 -0
- package/@types/utils/dto/Point.d.ts +1 -0
- package/bundle/ScanbotSDK.min.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm-webpack-file-loader +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm-webpack-file-loader +0 -0
- package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
- package/package.json +1 -1
|
@@ -56,10 +56,10 @@ export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps,
|
|
|
56
56
|
pause(): void;
|
|
57
57
|
computeSize(): boolean;
|
|
58
58
|
detect(): Promise<void>;
|
|
59
|
+
private recognizeBarcodes;
|
|
59
60
|
desiredRecognitionResolution: number | undefined;
|
|
60
61
|
setRecognitionResolution(resolution: number): void;
|
|
61
62
|
getResolution(): Promise<Size>;
|
|
62
|
-
private recognizeBarcodes;
|
|
63
63
|
saveExtractedImageData(): void;
|
|
64
64
|
setFinderVisible(isVisible: boolean): void;
|
|
65
65
|
setZoom(zoom: number): void;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
import { Size } from "../utils/dto/Size";
|
|
1
2
|
import { IScannerCommon } from "./i-scanner-common-handle";
|
|
2
3
|
export interface IBarcodeScannerHandle extends IScannerCommon {
|
|
3
4
|
saveExtractedImageData(): void;
|
|
4
5
|
resumeDetection(): void;
|
|
5
6
|
pauseDetection(): void;
|
|
6
7
|
isDetectionPaused(): boolean;
|
|
8
|
+
getCapabilities(): MediaTrackCapabilities | undefined;
|
|
9
|
+
setZoom(): void;
|
|
10
|
+
setFinderVisible(isVisible: boolean): void;
|
|
11
|
+
updateTorch(enabled: boolean): void;
|
|
12
|
+
getResolution(): Promise<Size>;
|
|
13
|
+
setRecognitionResolution(resolution: number): void;
|
|
7
14
|
}
|
|
@@ -4,6 +4,7 @@ import { EngineMode } from "../barcode/engine-mode";
|
|
|
4
4
|
import { BarcodeFormat } from "../barcode/barcode-format";
|
|
5
5
|
import { ViewFinderConfiguration } from "./view-finder-configuration";
|
|
6
6
|
import { SelectionOverlayConfiguration } from "./selection-overlay-configuration";
|
|
7
|
+
import { BarcodeCountConfiguration } from "./barcode-count-configuration";
|
|
7
8
|
export declare class BarcodeScannerConfiguration extends ScannerConfiguration {
|
|
8
9
|
constructor();
|
|
9
10
|
/**
|
|
@@ -12,6 +13,7 @@ export declare class BarcodeScannerConfiguration extends ScannerConfiguration {
|
|
|
12
13
|
captureDelay?: number;
|
|
13
14
|
style?: ViewFinderConfiguration;
|
|
14
15
|
overlay?: SelectionOverlayConfiguration;
|
|
16
|
+
count?: BarcodeCountConfiguration;
|
|
15
17
|
engineMode?: EngineMode;
|
|
16
18
|
barcodeFormats?: BarcodeFormat[];
|
|
17
19
|
returnBarcodeImage?: boolean;
|
|
@@ -14,5 +14,6 @@ export declare class Point {
|
|
|
14
14
|
static withScale(x: number, y: number, scale: number): Point;
|
|
15
15
|
static fromCoordinates(clientX: any, clientY: any, rotations: number, scale: number): Point;
|
|
16
16
|
static centerOf(points: Point[]): Point;
|
|
17
|
+
static smallerSizeOfQuad(points: Point[]): number;
|
|
17
18
|
static empty(): Point;
|
|
18
19
|
}
|