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