scanbot-web-sdk 5.1.0-dev.2 → 5.1.0-dev.3
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/model/configuration/text-data-scanner-configuration.d.ts +18 -0
- package/bundle/ScanbotSDK.min.js +1 -1
- package/bundle/ScanbotSDK.ui2.min.js +2 -2
- 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.Asm.wasm-webpack-file-loader +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-threads.wasm-webpack-file-loader +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm-webpack-file-loader +0 -0
- 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-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.Asm.wasm-webpack-file-loader +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
|
@@ -7,6 +7,24 @@ export declare class TextDataScannerConfiguration extends ViewFinderScannerConfi
|
|
|
7
7
|
ocrResolutionLimit?: number;
|
|
8
8
|
supportedLanguages?: string[];
|
|
9
9
|
validatorPreset?: ValidatorPreset;
|
|
10
|
+
/**
|
|
11
|
+
* Simple validation string pattern
|
|
12
|
+
* - `?` = any character
|
|
13
|
+
* - `#` = any digit
|
|
14
|
+
* - all other characters represent themselves
|
|
15
|
+
*
|
|
16
|
+
* If matchSubstring is true, the scanned text will be truncated to a substring matching the pattern.
|
|
17
|
+
* If matchSubstring is false, the scanned text will not be truncated. However, the results validated flag will
|
|
18
|
+
* only be set, if the entire scanned text matches the pattern.
|
|
19
|
+
*
|
|
20
|
+
* If validationPattern is empty, any scanned text will be accepted.
|
|
21
|
+
*
|
|
22
|
+
* validationPattern & validatorPreset cannot be used together.
|
|
23
|
+
*/
|
|
24
|
+
validationPattern?: string;
|
|
25
|
+
/** Controls if validationPattern should match the entire scanned text, or if it should find a matching substring. */
|
|
26
|
+
matchSubstring?: boolean;
|
|
27
|
+
allowedCharacters?: string;
|
|
10
28
|
onTextDetected?: TextDetectionCallback;
|
|
11
29
|
static fromJson(json: any): TextDataScannerConfiguration;
|
|
12
30
|
}
|