scanbot-web-sdk 2.13.0-alpha.6 → 2.13.0-rc.2

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.
@@ -19,6 +19,7 @@ export declare class BarcodeScannerState extends ScanbotCameraState {
19
19
  zoom?: number;
20
20
  action: ShutterButtonAction;
21
21
  image?: string;
22
+ bottomHintText?: string;
22
23
  }
23
24
  export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps, BarcodeScannerState> {
24
25
  finder?: ViewFinder;
@@ -66,4 +67,5 @@ export default class BarcodeScannerView extends ScannerView<BarcodeScannerProps,
66
67
  updateTorch(enabled: boolean): void;
67
68
  getCapabilities(): MediaTrackCapabilities | undefined;
68
69
  render(): JSX.Element;
70
+ countLabelText(barcodes: Barcode[]): string;
69
71
  }
@@ -1,4 +1,9 @@
1
- export interface BarcodeCountConfiguration {
1
+ export declare class BarcodeCountStyleConfiguration {
2
+ topLabelTop: number;
2
3
  sheetHeight?: string;
3
4
  sheetTopMargin?: string;
4
5
  }
6
+ export declare class BarcodeCountConfiguration {
7
+ enabled?: boolean;
8
+ style?: BarcodeCountStyleConfiguration;
9
+ }
@@ -13,12 +13,18 @@ export declare class BarcodeScannerConfiguration extends ScannerConfiguration {
13
13
  captureDelay?: number;
14
14
  style?: ViewFinderConfiguration;
15
15
  overlay?: SelectionOverlayConfiguration;
16
- count?: BarcodeCountConfiguration;
17
16
  engineMode?: EngineMode;
18
17
  barcodeFormats?: BarcodeFormat[];
19
18
  returnBarcodeImage?: boolean;
20
19
  showFinder?: boolean;
21
- manualDetection?: boolean;
20
+ /**
21
+ * Special property to enable barcode count mode.
22
+ * This is a type of a ready-to-use user interface scanning and counting found barcodes.
23
+ * It can be configured via its 'style' (BarcodeCountStyleConfiguration) property.
24
+ * It returns results normally via 'onBarcodesDetected' callback.
25
+ * Please note that results are returned for each consecutive scan, not only after the last scan
26
+ */
27
+ scanAndCount?: BarcodeCountConfiguration;
22
28
  /**
23
29
  * Digital zoom level of the video stream. Defaults to 1.0.
24
30
  * Please note that this is not the same as the optical zoom of the camera.
@@ -3,4 +3,5 @@ export default class Colors {
3
3
  static Orange: string;
4
4
  static White: string;
5
5
  static TransparentGreen: string;
6
+ static TransparentGray: string;
6
7
  }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export default class ScannerHintLabel extends React.Component<any, any> {
3
+ render(): React.ReactNode;
4
+ }