scanbot-web-sdk 8.0.0 → 8.0.1-rc.1

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.
Files changed (30) hide show
  1. package/@types/ui2/barcode/controllers/multiple-scanning-mode-controller.d.ts +1 -0
  2. package/@types/ui2/barcode/controllers/single-scanning-mode-controller.d.ts +1 -0
  3. package/@types/ui2/barcode/views/barcode-scanner.d.ts +1 -0
  4. package/@types/ui2/barcode/views/navigation-bar.d.ts +1 -0
  5. package/@types/ui2/data-scanner/views/mrz-scanner-box.d.ts +1 -0
  6. package/@types/ui2/document/views/camera-screen/top-bar.d.ts +1 -0
  7. package/bundle/ScanbotSDK.min.js +3 -3
  8. package/bundle/ScanbotSDK.ui2.min.js +4 -4
  9. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  10. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  11. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  12. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  13. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  14. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  15. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  16. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  17. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  18. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  19. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  20. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  21. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  22. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  23. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  24. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  25. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  26. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  27. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  28. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  29. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  30. package/package.json +1 -1
@@ -6,6 +6,7 @@ declare class Props {
6
6
  root: Root;
7
7
  configuration: BarcodeScannerScreenConfiguration;
8
8
  onCameraPermissionDenied: () => void;
9
+ onSdkReady: () => void;
9
10
  onSubmit: (barcodeScannerResult: BarcodeScannerUiResult) => void;
10
11
  onError: (error?: Error) => void;
11
12
  scanningEnabled: React.MutableRefObject<boolean>;
@@ -6,6 +6,7 @@ declare class Props {
6
6
  root: Root;
7
7
  configuration: BarcodeScannerScreenConfiguration;
8
8
  onClose: () => void;
9
+ onSdkReady: () => void;
9
10
  onSubmit: (barcodeScannerUIResult: BarcodeScannerUiResult) => void;
10
11
  onError: (error?: Error) => void;
11
12
  onCameraPermissionDenied: () => void;
@@ -21,5 +21,6 @@ export declare class Props {
21
21
  onCameraPermissionDenied: () => void;
22
22
  setActionButtonsVisible: (visible: boolean) => void;
23
23
  onLicenseError?: () => void;
24
+ onSdkReady: () => void;
24
25
  }
25
26
  export declare function BarcodeScanner(props: Props): React.JSX.Element;
@@ -5,6 +5,7 @@ declare class Props extends TopBarConfiguration {
5
5
  children: React.ReactNode;
6
6
  rightItem?: React.ReactNode;
7
7
  cameraPermissionDenied: boolean;
8
+ isCancelDisabled: boolean;
8
9
  }
9
10
  type NavigationBarSize = {
10
11
  height: number;
@@ -11,6 +11,7 @@ declare class Props {
11
11
  onCameraPermissionDenied: (err: Error) => void;
12
12
  onMrzDetected: MrzResultCallback;
13
13
  onScannerReady: (scanner: MutableRefObject<MrzScannerView>) => void;
14
+ onSdkReady: () => void;
14
15
  onError: any;
15
16
  }
16
17
  export declare function MrzScannerBox(props: Props): React.JSX.Element;
@@ -6,6 +6,7 @@ declare class Props {
6
6
  onCloseButtonClick: () => void;
7
7
  onShowIntroButtonClick: () => void;
8
8
  cameraSelectConfig: CameraSelectConfig;
9
+ cancelButtonEnabled: boolean;
9
10
  }
10
11
  export declare function TopBar(props: Props): React.JSX.Element;
11
12
  export {};