scanbot-web-sdk 6.0.0-dev.1 → 6.0.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/barcode-scanner-view.d.ts +10 -10
- package/@types/consume-type.d.ts +8 -0
- package/@types/core/bridge/common.d.ts +24 -0
- package/@types/core/bridge/compiled/BarcodeConfigs.d.ts +973 -0
- package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +185 -0
- package/@types/core/bridge/compiled/BarcodeTypes.d.ts +183 -0
- package/@types/core/bridge/compiled/CheckRecognizerTypes.d.ts +29 -0
- package/@types/core/bridge/compiled/CommonFieldType.d.ts +59 -0
- package/@types/core/bridge/compiled/DocumentDetectorTypes.d.ts +196 -0
- package/@types/core/bridge/compiled/DocumentQualityAnalyzerTypes.d.ts +105 -0
- package/@types/core/bridge/compiled/EhicTypes.d.ts +218 -0
- package/@types/core/bridge/compiled/FrameUtilities.d.ts +18 -0
- package/@types/core/bridge/compiled/GDRTypes.d.ts +38 -0
- package/@types/core/bridge/compiled/GenericDocument.d.ts +236 -0
- package/@types/core/bridge/compiled/GenericDocumentRecognizerConfigs.d.ts +183 -0
- package/@types/core/bridge/compiled/GenericDocumentRecognizerTypes.d.ts +105 -0
- package/@types/core/bridge/compiled/GenericDocumentTypes.d.ts +38 -0
- package/@types/core/bridge/compiled/GenericTextLineScannerTypes.d.ts +165 -0
- package/@types/core/bridge/compiled/Geometry.d.ts +49 -0
- package/@types/core/bridge/compiled/ImageProcessorTypes.d.ts +13 -0
- package/@types/core/bridge/compiled/LicensePlateScannerTypes.d.ts +67 -0
- package/@types/core/bridge/compiled/MRZTypes.d.ts +52 -0
- package/@types/core/bridge/compiled/MedicalCertificateTypes.d.ts +306 -0
- package/@types/core/bridge/compiled/OcrElements.d.ts +129 -0
- package/@types/core/bridge/compiled/ParametricFilters.d.ts +188 -0
- package/@types/core/bridge/compiled/PdfConfig.d.ts +197 -0
- package/@types/core/bridge/compiled/TiffTypes.d.ts +183 -0
- package/@types/core/bridge/utils.d.ts +7 -0
- package/@types/core/bridge/worker-bridge.d.ts +920 -0
- package/@types/core/worker/ScanbotSDK.Core-simd-threads.d.ts +0 -0
- package/@types/core/worker/ScanbotSDK.Core-simd.d.ts +0 -0
- package/@types/core/worker/ScanbotSDK.Core.d.ts +86 -0
- package/@types/core-types.d.ts +25 -0
- package/@types/cropping-view.d.ts +4 -2
- package/@types/document-scanner-view.d.ts +7 -5
- package/@types/generic-document-recognizer-view.d.ts +22 -0
- package/@types/index.d.ts +49 -21
- package/@types/interfaces/i-document-scanner-handle.d.ts +2 -2
- package/@types/interfaces/i-generic-document-recognizer-scanner-handle.d.ts +3 -0
- package/@types/model/barcode/barcode-result.d.ts +16 -8
- package/@types/model/barcode/barcode.d.ts +4 -14
- package/@types/model/camera-info.d.ts +3 -2
- package/@types/model/configuration/barcode-scanner-configuration.d.ts +15 -8
- package/@types/model/configuration/cropping-view-configuration.d.ts +7 -1
- package/@types/model/configuration/document-scanner-configuration.d.ts +6 -27
- package/@types/model/configuration/generic-document-recognizer-configuration.d.ts +9 -0
- package/@types/model/configuration/initialization-options.d.ts +10 -1
- package/@types/model/configuration/mrz-scanner-configuration.d.ts +4 -3
- package/@types/model/configuration/scanner-configuration.d.ts +8 -0
- package/@types/model/configuration/selection-overlay-configuration.d.ts +4 -4
- package/@types/model/configuration/text-data-scanner-configuration.d.ts +3 -6
- package/@types/model/configuration/view-finder-scanner-configuration.d.ts +3 -2
- package/@types/model/configuration/vin-scanner-configuration.d.ts +2 -1
- package/@types/model/error/media-error.d.ts +1 -0
- package/@types/model/response/cropping-result.d.ts +2 -1
- package/@types/scanbot-sdk.d.ts +510 -28
- package/@types/service/document-quality-analyzer.d.ts +7 -5
- package/@types/service/generic-document-recognizer.d.ts +13 -0
- package/@types/service/ocr-engine.d.ts +8 -5
- package/@types/service/pdf-generator.d.ts +7 -95
- package/@types/service/public-utils.d.ts +1 -1
- package/@types/service/simple-mrz-recognizer.d.ts +7 -5
- package/@types/service/text-data-recognizer.d.ts +7 -4
- package/@types/service/tiff-generator.d.ts +12 -10
- package/@types/ui2/common.d.ts +8 -0
- package/@types/ui2/configuration/ActionBarConfiguration.d.ts +30 -30
- package/@types/ui2/configuration/ArTrackingOverlayConfiguration.d.ts +220 -220
- package/@types/ui2/configuration/BarcodeInfoMapping.d.ts +52 -52
- package/@types/ui2/configuration/BarcodeItemMapper.d.ts +2 -2
- package/@types/ui2/configuration/BarcodeRecognizerConfiguration.d.ts +38 -181
- package/@types/ui2/configuration/BarcodeScannerConfiguration.d.ts +172 -188
- package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +1 -0
- package/@types/ui2/configuration/BarcodeScannerUIResult.d.ts +29 -0
- package/@types/ui2/configuration/BarcodeTextLocalization.d.ts +102 -107
- package/@types/ui2/configuration/BarcodeTypes.d.ts +1 -0
- package/@types/ui2/configuration/BarcodeUseCase.d.ts +5 -1
- package/@types/ui2/configuration/CameraConfiguration.d.ts +44 -45
- package/@types/ui2/configuration/CameraPermission.d.ts +33 -48
- package/@types/ui2/configuration/Common.d.ts +190 -227
- package/@types/ui2/configuration/CommonFieldType.d.ts +1 -0
- package/@types/ui2/configuration/FindAndPickScanningModeUseCase.d.ts +366 -14
- package/@types/ui2/configuration/GenericDocument.d.ts +1 -0
- package/@types/ui2/configuration/Geometry.d.ts +1 -0
- package/@types/ui2/configuration/MultipleScanningModeUseCase.d.ts +489 -489
- package/@types/ui2/configuration/ScanbotAlertDialog.d.ts +27 -27
- package/@types/ui2/configuration/SingleScanningModeUseCase.d.ts +170 -170
- package/@types/ui2/configuration/TopBarConfiguration.d.ts +36 -52
- package/@types/ui2/configuration/UserGuidanceConfiguration.d.ts +16 -16
- package/@types/ui2/configuration/ViewFinderConfiguration.d.ts +49 -46
- package/@types/ui2/configuration.d.ts +3 -2
- package/@types/ui2/controllers/barcode-scanner-controller.d.ts +2 -2
- package/@types/ui2/controllers/multiple-scanning-mode-controller.d.ts +6 -3
- package/@types/ui2/controllers/single-scanning-mode-controller.d.ts +6 -3
- package/@types/ui2/model/counted-barcodes.d.ts +17 -23
- package/@types/ui2/scanbot-sdk-ui.d.ts +2 -2
- package/@types/ui2/scanbot-ui-library.d.ts +3 -2
- package/@types/ui2/utils/barcode-mapper/expected-barcode-mapper.d.ts +13 -0
- package/@types/ui2/utils/barcode-mapper/i-barcode-mapper.d.ts +18 -0
- package/@types/ui2/utils/{barcode-mapper.d.ts → barcode-mapper/user-barcode-mapper.d.ts} +11 -11
- package/@types/ui2/utils/camera-config.d.ts +2 -2
- package/@types/ui2/utils/find-and-pick.ts/expected-barcode-counter.d.ts +7 -0
- package/@types/ui2/utils/styled-badge.d.ts +1 -1
- package/@types/ui2/utils/styled-input.d.ts +1 -1
- package/@types/ui2/views/action-button/action-button-container.d.ts +2 -0
- package/@types/ui2/views/ar/ar-badge.d.ts +18 -0
- package/@types/ui2/views/ar/ar-overlay-barcode-info.d.ts +5 -1
- package/@types/ui2/views/ar/vertical-positions.d.ts +12 -0
- package/@types/ui2/views/barcode-info/barcode-info.d.ts +3 -1
- package/@types/ui2/views/barcode-scanner.d.ts +6 -5
- package/@types/ui2/views/dialog/base/confirmation-dialog.d.ts +20 -0
- package/@types/ui2/views/dialog/find-and-pick-submit-dialog.d.ts +10 -0
- package/@types/ui2/views/drawer/barcode-result-drawer.d.ts +1 -1
- package/@types/ui2/views/drawer/counting-button.d.ts +1 -1
- package/@types/ui2/views/drawer/subviews/barcode-drawer-empty-state.d.ts +1 -1
- package/@types/ui2/views/drawer/subviews/barcode-list-item.d.ts +5 -4
- package/@types/ui2/views/drawer/subviews/barcode-list.d.ts +8 -1
- package/@types/ui2/views/drawer/subviews/drawer-header-content.d.ts +1 -1
- package/@types/ui2/views/form/dialog-button.d.ts +2 -2
- package/@types/utils/barcode-utils.d.ts +10 -0
- package/@types/utils/browser-cameras.d.ts +92 -0
- package/@types/utils/dto/MagneticLine.d.ts +4 -4
- package/@types/utils/dto/Point.d.ts +2 -2
- package/@types/utils/dto/Polygon.d.ts +2 -1
- package/@types/utils/image-utils.d.ts +1 -0
- package/@types/utils/react/usePromise.d.ts +3 -1
- package/@types/utils/stats.d.ts +4 -0
- package/@types/utils/utils.d.ts +1 -1
- package/@types/utils/video-stream.d.ts +4 -3
- package/@types/utils/video-to-image-data/two-d-video-to-image-data.d.ts +8 -0
- package/@types/utils/video-to-image-data/video-to-image-data.d.ts +5 -0
- package/@types/utils/video-to-image-data/webgl-video-to-image-data.d.ts +21 -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-calculation/scanned-image-with-overlay.d.ts +2 -2
- package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +7 -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/cropping/draggable-base-container.d.ts +8 -2
- package/@types/view/cropping/draggable-handles-component.d.ts +9 -2
- package/@types/view/scanbot-camera-view.d.ts +9 -3
- package/@types/view/view-finder.d.ts +1 -0
- package/@types/worker/worker-bridge.d.ts +906 -5
- package/Libraries.txt +307 -174
- package/README.md +3 -3
- package/bundle/ScanbotSDK.min.js +5 -5
- package/bundle/ScanbotSDK.ui2.min.js +108 -161
- package/bundle/ScanbotSDK.ui2.min.js.LICENSE.txt +0 -18
- 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 +4 -3
- package/ui.d.ts +3 -0
- package/ui.js +2 -0
- package/webpack/fileLoader.js +3 -5
- package/@types/core/compiled/ParametricFilters.d.ts +0 -181
- package/@types/core/utils.d.ts +0 -1
- package/@types/core/worker-bridge.d.ts +0 -20
- package/@types/model/barcode/barcode-format.d.ts +0 -1
- package/@types/model/barcode/engine-mode.d.ts +0 -1
- package/@types/model/configuration/document-quality-analyzer-configuration.d.ts +0 -13
- package/@types/model/document/contour-detection-result.d.ts +0 -11
- package/@types/model/document/detection-status.d.ts +0 -11
- package/@types/model/document/document-detection-result.d.ts +0 -8
- package/@types/model/filter-types.d.ts +0 -6
- package/@types/model/generic-text-line-recognizer/text-data-scanner-result.d.ts +0 -6
- package/@types/model/mrz/mrz-result.d.ts +0 -41
- package/@types/model/response/document-quality-analyzer-result.d.ts +0 -8
- package/@types/service/image-processor.d.ts +0 -35
- package/@types/ui2/configuration/BarcodeItem.d.ts +0 -30
- package/@types/ui2/configuration/BarcodeResult.d.ts +0 -14
- package/@types/ui2/configuration/utils.d.ts +0 -6
- package/@types/utils/networking.d.ts +0 -7
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm-webpack-file-loader +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm-webpack-file-loader +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm-webpack-file-loader +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm-webpack-file-loader +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm-webpack-file-loader +0 -0
- /package/@types/ui2/views/dialog/{styled-dialog.d.ts → base/styled-dialog.d.ts} +0 -0
|
@@ -1,395 +1,358 @@
|
|
|
1
|
-
import { DeepPartial, PartiallyConstructible } from "
|
|
1
|
+
import { DeepPartial, PartiallyConstructible } from "../common";
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Value palette describing the colors of the scanner screens.
|
|
4
|
+
*/
|
|
5
5
|
export declare class Palette extends PartiallyConstructible {
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Primary color used for enabled elements.
|
|
8
|
+
@defaultValue "#C8193C";
|
|
9
|
+
*/
|
|
10
10
|
sbColorPrimary: string;
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
Primary color used for disabled elements.
|
|
13
|
+
@defaultValue "#F5F5F5";
|
|
14
|
+
*/
|
|
15
15
|
sbColorPrimaryDisabled: string;
|
|
16
16
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
Color used to convey a negative meaning.
|
|
18
|
+
@defaultValue "#FF3737";
|
|
19
|
+
*/
|
|
20
20
|
sbColorNegative: string;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
Color used to convey a positive meaning.
|
|
23
|
+
@defaultValue "#4EFFB4";
|
|
24
|
+
*/
|
|
25
25
|
sbColorPositive: string;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
Color used to convey warnings.
|
|
28
|
+
@defaultValue "#FFCE5C";
|
|
29
|
+
*/
|
|
30
30
|
sbColorWarning: string;
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
Secondary color used for enabled elements.
|
|
33
|
+
@defaultValue "#FFEDEE";
|
|
34
|
+
*/
|
|
35
35
|
sbColorSecondary: string;
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
Secondary color used for disabled elements.
|
|
38
|
+
@defaultValue "#F5F5F5";
|
|
39
|
+
*/
|
|
40
40
|
sbColorSecondaryDisabled: string;
|
|
41
41
|
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
Color used for displaying elements on top of the primary color.
|
|
43
|
+
@defaultValue "#FFFFFF";
|
|
44
|
+
*/
|
|
45
45
|
sbColorOnPrimary: string;
|
|
46
46
|
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
Color used for displaying elements on top of the secondary color.
|
|
48
|
+
@defaultValue "#C8193C";
|
|
49
|
+
*/
|
|
50
50
|
sbColorOnSecondary: string;
|
|
51
51
|
/**
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
Color used for surfaces.
|
|
53
|
+
@defaultValue "#FFFFFF";
|
|
54
|
+
*/
|
|
55
55
|
sbColorSurface: string;
|
|
56
56
|
/**
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
Color used for outlines.
|
|
58
|
+
@defaultValue "#EFEFEF";
|
|
59
|
+
*/
|
|
60
60
|
sbColorOutline: string;
|
|
61
61
|
/**
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
Alternative color used on top of surfaces.
|
|
63
|
+
@defaultValue "#707070";
|
|
64
|
+
*/
|
|
65
65
|
sbColorOnSurfaceVariant: string;
|
|
66
66
|
/**
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
Color used on top of surfaces.
|
|
68
|
+
@defaultValue "#000000";
|
|
69
|
+
*/
|
|
70
70
|
sbColorOnSurface: string;
|
|
71
71
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
Transparent color with a low alpha value used for certain surfaces.
|
|
73
|
+
@defaultValue "#00000026";
|
|
74
|
+
*/
|
|
75
75
|
sbColorSurfaceLow: string;
|
|
76
76
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
Transparent color with a high alpha value used for certain surfaces.
|
|
78
|
+
@defaultValue "#0000007A";
|
|
79
|
+
*/
|
|
80
80
|
sbColorSurfaceHigh: string;
|
|
81
81
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
Transparent color with a very high alpha value used to fill certain overlays.
|
|
83
|
+
@defaultValue "#000000A3";
|
|
84
|
+
*/
|
|
85
85
|
sbColorModalOverlay: string;
|
|
86
86
|
/** @param source {@displayType `DeepPartial<Palette>`} */
|
|
87
87
|
constructor(source?: DeepPartial<Palette>);
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
Configuration of the text field appearance.
|
|
91
|
+
*/
|
|
92
92
|
export declare class StyledText extends PartiallyConstructible {
|
|
93
93
|
/**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
Whether the text field is visible.
|
|
95
|
+
@defaultValue true;
|
|
96
|
+
*/
|
|
97
97
|
visible: boolean;
|
|
98
98
|
/**
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
Value of the text field.
|
|
100
|
+
@defaultValue "";
|
|
101
|
+
*/
|
|
102
102
|
text: string;
|
|
103
103
|
/**
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
Text color.
|
|
105
|
+
@defaultValue "#FFFFFF";
|
|
106
|
+
*/
|
|
107
107
|
color: string;
|
|
108
108
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
Whether to enable drop shadows for the text.
|
|
110
|
+
@defaultValue false;
|
|
111
|
+
*/
|
|
112
112
|
useShadow: boolean;
|
|
113
113
|
/** @param source {@displayType `DeepPartial<StyledText>`} */
|
|
114
114
|
constructor(source?: DeepPartial<StyledText>);
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
Configuration of the icon appearance.
|
|
118
|
+
*/
|
|
119
119
|
export declare class IconStyle extends PartiallyConstructible {
|
|
120
120
|
/**
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
Whether the icon is visible on the button.
|
|
122
|
+
@defaultValue true;
|
|
123
|
+
*/
|
|
124
124
|
visible: boolean;
|
|
125
125
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
Icon color.
|
|
127
|
+
@defaultValue "#FFFFFF";
|
|
128
|
+
*/
|
|
129
129
|
color: string;
|
|
130
130
|
/** @param source {@displayType `DeepPartial<IconStyle>`} */
|
|
131
131
|
constructor(source?: DeepPartial<IconStyle>);
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
Configuration of the polygon appearance.
|
|
135
|
+
*/
|
|
136
136
|
export declare class PolygonStyle extends PartiallyConstructible {
|
|
137
137
|
/**
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
Color of the polygon outline.
|
|
139
|
+
@defaultValue "#FFFFFFFF";
|
|
140
|
+
*/
|
|
141
141
|
strokeColor: string;
|
|
142
142
|
/**
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
Polygon color.
|
|
144
|
+
@defaultValue "#FFFFFF30";
|
|
145
|
+
*/
|
|
146
146
|
fillColor: string;
|
|
147
147
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
Width of the polygon outline in dp.
|
|
149
|
+
@defaultValue 2.0;
|
|
150
|
+
*/
|
|
151
151
|
strokeWidth: number;
|
|
152
152
|
/**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
Polygon corner radius in dp.
|
|
154
|
+
@defaultValue 0.0;
|
|
155
|
+
*/
|
|
156
156
|
cornerRadius: number;
|
|
157
157
|
/** @param source {@displayType `DeepPartial<PolygonStyle>`} */
|
|
158
158
|
constructor(source?: DeepPartial<PolygonStyle>);
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
Appearance of the polygon used for buttons and hint backgrounds.
|
|
162
|
+
*/
|
|
163
163
|
export declare class BackgroundStyle extends PartiallyConstructible {
|
|
164
164
|
/**
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
Color of the polygon outline.
|
|
166
|
+
@defaultValue "#FFFFFFFF";
|
|
167
|
+
*/
|
|
168
168
|
strokeColor: string;
|
|
169
169
|
/**
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
Polygon color.
|
|
171
|
+
@defaultValue "#FFFFFF30";
|
|
172
|
+
*/
|
|
173
173
|
fillColor: string;
|
|
174
174
|
/**
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
Width of the polygon outline in dp.
|
|
176
|
+
@defaultValue 2.0;
|
|
177
|
+
*/
|
|
178
178
|
strokeWidth: number;
|
|
179
179
|
/** @param source {@displayType `DeepPartial<BackgroundStyle>`} */
|
|
180
180
|
constructor(source?: DeepPartial<BackgroundStyle>);
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
Configuration of the appearance of foreground elements (e.g. text and/or icons on buttons, etc).
|
|
184
|
+
*/
|
|
185
185
|
export declare class ForegroundStyle extends PartiallyConstructible {
|
|
186
186
|
/**
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
Whether the icon is visible.
|
|
188
|
+
@defaultValue true;
|
|
189
|
+
*/
|
|
190
190
|
iconVisible: boolean;
|
|
191
191
|
/**
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
Color used for foreground elements.
|
|
193
|
+
@defaultValue "#FFFFFF";
|
|
194
|
+
*/
|
|
195
195
|
color: string;
|
|
196
196
|
/**
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
Whether to use drop shadows for foreground elements.
|
|
198
|
+
@defaultValue false;
|
|
199
|
+
*/
|
|
200
200
|
useShadow: boolean;
|
|
201
201
|
/** @param source {@displayType `DeepPartial<ForegroundStyle>`} */
|
|
202
202
|
constructor(source?: DeepPartial<ForegroundStyle>);
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
export declare class AspectRatio extends PartiallyConstructible {
|
|
208
|
-
/**
|
|
209
|
-
Width component of the aspect ratio.
|
|
210
|
-
@defaultValue 1.0;
|
|
211
|
-
*/
|
|
212
|
-
width: number;
|
|
213
|
-
/**
|
|
214
|
-
Height component of the aspect ratio.
|
|
215
|
-
@defaultValue 1.0;
|
|
216
|
-
*/
|
|
217
|
-
height: number;
|
|
218
|
-
/** @param source {@displayType `DeepPartial<AspectRatio>`} */
|
|
219
|
-
constructor(source?: DeepPartial<AspectRatio>);
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
Configuration of the round button.
|
|
223
|
-
*/
|
|
205
|
+
Configuration of the round button.
|
|
206
|
+
*/
|
|
224
207
|
export declare class RoundButton extends PartiallyConstructible {
|
|
225
208
|
/**
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
209
|
+
Whether to display the button.
|
|
210
|
+
@defaultValue true;
|
|
211
|
+
*/
|
|
229
212
|
visible: boolean;
|
|
230
213
|
/**
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
214
|
+
Color of the button background shape.
|
|
215
|
+
@defaultValue "#0000007A";
|
|
216
|
+
*/
|
|
234
217
|
backgroundColor: string;
|
|
235
218
|
/**
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
219
|
+
Color of the button foreground (icon, text).
|
|
220
|
+
@defaultValue "#FFFFFF";
|
|
221
|
+
*/
|
|
239
222
|
foregroundColor: string;
|
|
240
223
|
/**
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
224
|
+
Color of the button background shape when the button is active (selected, toggled).
|
|
225
|
+
@defaultValue "#FFCE5C";
|
|
226
|
+
*/
|
|
244
227
|
activeBackgroundColor: string;
|
|
245
228
|
/**
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
229
|
+
Color of the button foreground (icon, text) when the button is active (selected, toggled).
|
|
230
|
+
@defaultValue "#1C1B1F";
|
|
231
|
+
*/
|
|
249
232
|
activeForegroundColor: string;
|
|
250
233
|
/** @param source {@displayType `DeepPartial<RoundButton>`} */
|
|
251
234
|
constructor(source?: DeepPartial<RoundButton>);
|
|
252
235
|
}
|
|
253
236
|
/**
|
|
254
|
-
|
|
255
|
-
|
|
237
|
+
Configuration of the round button with badge.
|
|
238
|
+
*/
|
|
256
239
|
export declare class BadgedButton extends PartiallyConstructible {
|
|
257
240
|
/**
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
241
|
+
Color of the badge's background shape.
|
|
242
|
+
@defaultValue "#FFFFFF";
|
|
243
|
+
*/
|
|
261
244
|
badgeBackgroundColor: string;
|
|
262
245
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
246
|
+
Color of the badge foreground (icon, text).
|
|
247
|
+
@defaultValue "#C8193C";
|
|
248
|
+
*/
|
|
266
249
|
badgeForegroundColor: string;
|
|
267
250
|
/**
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
251
|
+
Whether the button is visible.
|
|
252
|
+
@defaultValue true;
|
|
253
|
+
*/
|
|
271
254
|
visible: boolean;
|
|
272
255
|
/**
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
256
|
+
Color of the button background shape.
|
|
257
|
+
@defaultValue "#0000007A";
|
|
258
|
+
*/
|
|
276
259
|
backgroundColor: string;
|
|
277
260
|
/**
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
261
|
+
Color of the button foreground (icon, text).
|
|
262
|
+
@defaultValue "#FFFFFF";
|
|
263
|
+
*/
|
|
281
264
|
foregroundColor: string;
|
|
282
265
|
/**
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
266
|
+
Color of the button background shape when the button is active (selected, toggled).
|
|
267
|
+
@defaultValue "#FFCE5C";
|
|
268
|
+
*/
|
|
286
269
|
activeBackgroundColor: string;
|
|
287
270
|
/**
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
271
|
+
Color of the button foreground (icon, text) when the button is active (selected, toggled).
|
|
272
|
+
@defaultValue "#1C1B1F";
|
|
273
|
+
*/
|
|
291
274
|
activeForegroundColor: string;
|
|
292
275
|
/** @param source {@displayType `DeepPartial<BadgedButton>`} */
|
|
293
276
|
constructor(source?: DeepPartial<BadgedButton>);
|
|
294
277
|
}
|
|
295
278
|
/**
|
|
296
|
-
|
|
297
|
-
|
|
279
|
+
Button configuration.
|
|
280
|
+
*/
|
|
298
281
|
export declare class ButtonConfiguration extends PartiallyConstructible {
|
|
299
282
|
/**
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
283
|
+
Whether the button is visible or not.
|
|
284
|
+
@defaultValue true;
|
|
285
|
+
*/
|
|
303
286
|
visible: boolean;
|
|
304
287
|
/**
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
288
|
+
The text to be displayed on the button.
|
|
289
|
+
@defaultValue "";
|
|
290
|
+
*/
|
|
308
291
|
text: string;
|
|
309
292
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
293
|
+
The style of the button's background.
|
|
294
|
+
@defaultValue new BackgroundStyle({});
|
|
295
|
+
*/
|
|
313
296
|
background: BackgroundStyle;
|
|
314
297
|
/**
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
298
|
+
The style of the button's foreground (icon, text).
|
|
299
|
+
@defaultValue new ForegroundStyle({});
|
|
300
|
+
*/
|
|
318
301
|
foreground: ForegroundStyle;
|
|
319
302
|
/** @param source {@displayType `DeepPartial<ButtonConfiguration>`} */
|
|
320
303
|
constructor(source?: DeepPartial<ButtonConfiguration>);
|
|
321
304
|
}
|
|
322
305
|
/**
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
- `NONE`:
|
|
326
|
-
Do not restrict the interface's orientation.
|
|
327
|
-
- `PORTRAIT`:
|
|
328
|
-
Lock the orientation to portrait.
|
|
329
|
-
- `LANDSCAPE`:
|
|
330
|
-
Lock the orientation to landscape.
|
|
331
|
-
*/
|
|
332
|
-
export type OrientationLockMode = "NONE" | "PORTRAIT" | "LANDSCAPE";
|
|
333
|
-
/**
|
|
334
|
-
Configuration of the camera preview mode.
|
|
335
|
-
|
|
336
|
-
- `FIT_IN`:
|
|
337
|
-
In this mode, the camera preview frames will be scaled to the layout view size - the full preview frame content will be visible, but unused edges might appear in the preview layout.
|
|
338
|
-
- `FILL_IN`:
|
|
339
|
-
In this mode, the camera preview frames fill the layout view - the preview frames may contain additional content on the edges that was not visible in the preview layout.
|
|
340
|
-
*/
|
|
341
|
-
export type CameraPreviewMode = "FIT_IN" | "FILL_IN";
|
|
342
|
-
/**
|
|
343
|
-
The sound selection type.
|
|
306
|
+
The sound selection type.
|
|
344
307
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
308
|
+
- `MODERN_BEEP`:
|
|
309
|
+
To choose a modern beep sound.
|
|
310
|
+
- `CLASSIC_BEEP`:
|
|
311
|
+
To choose the old classic beep sound.
|
|
312
|
+
*/
|
|
350
313
|
export type SoundType = "MODERN_BEEP" | "CLASSIC_BEEP";
|
|
351
314
|
/**
|
|
352
|
-
|
|
353
|
-
|
|
315
|
+
Sound configuration.
|
|
316
|
+
*/
|
|
354
317
|
export declare class Sound extends PartiallyConstructible {
|
|
355
318
|
/**
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
319
|
+
Enable or disable the beep sound when a barcode is detected.
|
|
320
|
+
@defaultValue true;
|
|
321
|
+
*/
|
|
359
322
|
successBeepEnabled: boolean;
|
|
360
323
|
/**
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
324
|
+
The beep type.
|
|
325
|
+
@defaultValue "MODERN_BEEP";
|
|
326
|
+
*/
|
|
364
327
|
soundType: SoundType;
|
|
365
328
|
/** @param source {@displayType `DeepPartial<Sound>`} */
|
|
366
329
|
constructor(source?: DeepPartial<Sound>);
|
|
367
330
|
}
|
|
368
331
|
/**
|
|
369
|
-
|
|
370
|
-
|
|
332
|
+
Vibration configuration.
|
|
333
|
+
*/
|
|
371
334
|
export declare class Vibration extends PartiallyConstructible {
|
|
372
335
|
/**
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
336
|
+
Enable or disable vibration when a barcode is detected.
|
|
337
|
+
@defaultValue false;
|
|
338
|
+
*/
|
|
376
339
|
enabled: boolean;
|
|
377
340
|
/** @param source {@displayType `DeepPartial<Vibration>`} */
|
|
378
341
|
constructor(source?: DeepPartial<Vibration>);
|
|
379
342
|
}
|
|
380
343
|
/**
|
|
381
|
-
|
|
382
|
-
|
|
344
|
+
Configuration of timeouts.
|
|
345
|
+
*/
|
|
383
346
|
export declare class Timeouts extends PartiallyConstructible {
|
|
384
347
|
/**
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
348
|
+
Sets the auto close timer in ms. Default is 0 (disabled).
|
|
349
|
+
@defaultValue 0;
|
|
350
|
+
*/
|
|
388
351
|
autoCancelTimeout: number;
|
|
389
352
|
/**
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
353
|
+
Sets the time in ms the first scan is delayed by. Default is 0 (disabled).
|
|
354
|
+
@defaultValue 0;
|
|
355
|
+
*/
|
|
393
356
|
initialScanDelay: number;
|
|
394
357
|
/** @param source {@displayType `DeepPartial<Timeouts>`} */
|
|
395
358
|
constructor(source?: DeepPartial<Timeouts>);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../core/bridge/compiled/CommonFieldType";
|