scanbot-web-sdk 7.0.0-dev.1 → 7.0.0-dev.4
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 +6 -6
- package/@types/core/bridge/compiled/BarcodeDocumentModel.d.ts +1421 -0
- package/@types/core/bridge/compiled/CheckDocumentModel.d.ts +130 -0
- package/@types/core/bridge/compiled/CreditCardDocumentModel.d.ts +16 -0
- package/@types/core/bridge/compiled/DocumentsModel.d.ts +489 -0
- package/@types/core/bridge/compiled/TextPatternScannerTypes.d.ts +1 -21
- package/@types/core/bridge/compiled/VinScannerTypes.d.ts +79 -0
- package/@types/core/bridge/worker-bridge.d.ts +26 -12
- package/@types/core/worker/ScanbotSDK.Core.d.ts +8 -2
- package/@types/core-types.d.ts +28 -23
- package/@types/cropping-view.d.ts +2 -2
- package/@types/document-data-extractor-view.d.ts +3 -3
- package/@types/document-scanner-view.d.ts +6 -6
- package/@types/index.d.ts +7 -33
- package/@types/model/barcode/barcode-result.d.ts +3 -7
- package/@types/model/barcode/barcode.d.ts +4 -4
- package/@types/model/configuration/{barcode-scanner-configuration.d.ts → barcode-scanner-view-configuration.d.ts} +5 -5
- package/@types/model/configuration/document-data-extractor-view-configuration.d.ts +9 -0
- package/@types/model/configuration/{document-scanner-configuration.d.ts → document-scanner-view-configuration.d.ts} +7 -7
- package/@types/model/configuration/{mrz-scanner-configuration.d.ts → mrz-scanner-view-configuration.d.ts} +6 -6
- package/@types/model/configuration/selection-overlay-configuration.d.ts +2 -2
- package/@types/model/configuration/text-pattern-scanner-view-configuration.d.ts +9 -0
- package/@types/model/configuration/vin-scanner-view-configuration.d.ts +9 -0
- package/@types/mrz-scanner-view.d.ts +3 -3
- package/@types/scanbot-sdk.d.ts +89 -87
- package/@types/service/document-data-extractor.d.ts +2 -2
- package/@types/service/document-quality-analyzer.d.ts +2 -2
- package/@types/service/ocr-engine.d.ts +3 -3
- package/@types/service/simple-mrz-recognizer.d.ts +3 -3
- package/@types/service/text-pattern-scanner.d.ts +3 -3
- package/@types/service/tiff-generator.d.ts +2 -2
- package/@types/service/vin-scanner.d.ts +16 -0
- package/@types/text-pattern-scanner-view.d.ts +7 -7
- package/@types/ui2/barcode/controllers/barcode-scanner-controller.d.ts +2 -2
- package/@types/ui2/barcode/controllers/multiple-scanning-mode-controller.d.ts +2 -2
- package/@types/ui2/barcode/controllers/single-scanning-mode-controller.d.ts +2 -2
- package/@types/ui2/barcode/utils/camera-config.d.ts +1 -1
- package/@types/ui2/barcode/utils/styled-button.d.ts +1 -1
- package/@types/ui2/barcode/views/action-button/action-button-container.d.ts +2 -2
- package/@types/ui2/barcode/views/action-button/action-button.d.ts +1 -1
- package/@types/ui2/barcode/views/barcode-scanner.d.ts +3 -3
- package/@types/ui2/barcode/views/camera-permission-denied.d.ts +1 -1
- package/@types/ui2/barcode/views/drawer/subviews/drawer-header-content.d.ts +1 -1
- package/@types/ui2/barcode/views/form/dialog-button.d.ts +0 -1
- package/@types/ui2/barcode/views/navigation-bar.d.ts +1 -1
- package/@types/ui2/configuration/BarcodeItemMapper.d.ts +6 -0
- package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +2 -0
- package/@types/ui2/configuration/BarcodeTypes.d.ts +1 -0
- package/@types/ui2/configuration/CommonFieldType.d.ts +1 -0
- package/@types/ui2/configuration/GenericDocument.d.ts +1 -0
- package/@types/ui2/configuration/Geometry.d.ts +1 -1
- package/@types/ui2/configuration/barcode/ArTrackingOverlayConfiguration.d.ts +3 -24
- package/@types/ui2/configuration/barcode/BarcodeInfoMapping.d.ts +3 -3
- package/@types/ui2/configuration/barcode/BarcodeRecognizerConfiguration.d.ts +6 -13
- package/@types/ui2/configuration/barcode/BarcodeScannerConfiguration.d.ts +13 -13
- package/@types/ui2/configuration/barcode/BarcodeScannerUIResult.d.ts +8 -8
- package/@types/ui2/configuration/barcode/BarcodeUseCase.d.ts +3 -3
- package/@types/ui2/configuration/barcode/FindAndPickScanningModeUseCase.d.ts +8 -6
- package/@types/ui2/configuration/barcode/MultipleScanningModeUseCase.d.ts +11 -6
- package/@types/ui2/configuration/barcode/SingleScanningModeUseCase.d.ts +4 -4
- package/@types/ui2/configuration.d.ts +12 -20
- package/@types/ui2/document/model/sb-document.d.ts +3 -3
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-image.d.ts +0 -1
- package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +1 -1
- package/@types/ui2/document/views/camera-screen/user-guidance-text.d.ts +1 -1
- package/@types/ui2/scanbot-sdk-ui.d.ts +3 -3
- package/@types/utils/barcode-utils.d.ts +2 -2
- package/@types/utils/image-utils.d.ts +1 -0
- package/@types/view/action-bar/bottom-action-bar.d.ts +2 -2
- package/@types/view/barcode-calculation/barcode-calculation-popup-list.d.ts +2 -2
- package/@types/view/barcode-calculation/barcode-calculation-popup.d.ts +4 -4
- package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +5 -5
- package/@types/view/barcode-polygon/barcode-overlay.d.ts +3 -3
- package/@types/view/barcode-polygon/barcode-polygon-label.d.ts +2 -2
- package/@types/view/document-outline.d.ts +1 -1
- package/@types/view/polygon/animated-document-polygon.d.ts +1 -1
- package/@types/view/polygon/animated-path.d.ts +1 -1
- package/@types/worker/worker-bridge.d.ts +122 -108
- package/bundle/ScanbotSDK.min.js +5 -5
- package/bundle/ScanbotSDK.ui2.min.js +17 -17
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
- package/package.json +1 -1
- package/@types/model/configuration/document-data-extractor-configuration.d.ts +0 -9
- package/@types/model/configuration/text-pattern-scanner-configuration.d.ts +0 -9
- package/@types/model/configuration/vin-scanner-configuration.d.ts +0 -9
- package/@types/ui2/configuration/barcode/ActionBarConfiguration.d.ts +0 -42
- package/@types/ui2/configuration/barcode/BarcodeItemMapper.d.ts +0 -6
- package/@types/ui2/configuration/barcode/BarcodeScannerTypes.d.ts +0 -2
- package/@types/ui2/configuration/barcode/BarcodeTypes.d.ts +0 -1
- package/@types/ui2/configuration/barcode/CameraConfiguration.d.ts +0 -60
- package/@types/ui2/configuration/barcode/CameraPermission.d.ts +0 -54
- package/@types/ui2/configuration/barcode/Common.d.ts +0 -359
- package/@types/ui2/configuration/barcode/CommonFieldType.d.ts +0 -1
- package/@types/ui2/configuration/barcode/GenericDocument.d.ts +0 -1
- package/@types/ui2/configuration/barcode/Geometry.d.ts +0 -1
- package/@types/ui2/configuration/barcode/ScanbotAlertDialog.d.ts +0 -49
- package/@types/ui2/configuration/barcode/TopBarConfiguration.d.ts +0 -55
- package/@types/ui2/configuration/barcode/UserGuidanceConfiguration.d.ts +0 -30
- package/@types/ui2/configuration/barcode/ViewFinderConfiguration.d.ts +0 -93
|
@@ -7,9 +7,9 @@ import BarcodeCalculationPopup from "./view/barcode-calculation/barcode-calculat
|
|
|
7
7
|
import AnimatedBarcodeSelectionOverlay from "./view/barcode-polygon/animated-barcode-selection-overlay";
|
|
8
8
|
import BottomActionBar from "./view/action-bar/bottom-action-bar";
|
|
9
9
|
import ScannedImageWithOverlay from "./view/barcode-calculation/scanned-image-with-overlay";
|
|
10
|
-
import {
|
|
10
|
+
import { BarcodeScannerViewConfiguration } from "./model/configuration/barcode-scanner-view-configuration";
|
|
11
11
|
import { Size } from "./utils/dto/Size";
|
|
12
|
-
import {
|
|
12
|
+
import { BarcodeItem } from "./core-types";
|
|
13
13
|
import type { ObjectId } from "./core-types";
|
|
14
14
|
export declare class BarcodeScannerProps extends ScanbotCameraProps {
|
|
15
15
|
viewFinderPadding?: ViewFinderPadding;
|
|
@@ -36,15 +36,15 @@ export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps,
|
|
|
36
36
|
scannedImage: ScannedImageWithOverlay | undefined;
|
|
37
37
|
bottomActionBar: BottomActionBar | undefined;
|
|
38
38
|
barcodeScannerHandle: ObjectId<"BarcodeScanner"> | null;
|
|
39
|
-
readonly barcodes:
|
|
39
|
+
readonly barcodes: BarcodeItem[];
|
|
40
40
|
private detectionRunning;
|
|
41
41
|
constructor(props: BarcodeScannerProps);
|
|
42
|
-
get configuration():
|
|
42
|
+
get configuration(): BarcodeScannerViewConfiguration;
|
|
43
43
|
get enabled(): boolean;
|
|
44
44
|
/**
|
|
45
45
|
* Public API functions
|
|
46
46
|
*/
|
|
47
|
-
static create(configuration:
|
|
47
|
+
static create(configuration: BarcodeScannerViewConfiguration): Promise<BarcodeScannerView>;
|
|
48
48
|
isDetectionPaused(): boolean;
|
|
49
49
|
resumeDetection(): Promise<void>;
|
|
50
50
|
pauseDetection(): void;
|
|
@@ -72,5 +72,5 @@ export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps,
|
|
|
72
72
|
getCapabilities(): MediaTrackCapabilities | undefined;
|
|
73
73
|
render(): React.JSX.Element;
|
|
74
74
|
resetCountImage(): void;
|
|
75
|
-
countLabelText(barcodes:
|
|
75
|
+
countLabelText(barcodes: BarcodeItem[]): string;
|
|
76
76
|
}
|