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
@@ -0,0 +1,973 @@
1
+ import { BarcodeFormat } from "./BarcodeTypes";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
+ import { GS1Handling } from "./BarcodeTypes";
4
+ import { UpcEanExtensionBehavior } from "./BarcodeTypes";
5
+ /**
6
+ Base class for all barcode configurations.
7
+ */
8
+ export type BarcodeConfig = CodabarConfig | Code11Config | Code39Config | Code93Config | Code128Config | Code2Of5Config | DataBarConfig | DataBarExpandedConfig | DataBarLimitedConfig | ITFConfig | MSIPlesseyConfig | UpcEanConfig | PharmaCodeConfig | AztecConfig | QRCodeConfig | PDF417Config | MicroPDF417Config | DataMatrixConfig | MaxiCodeConfig | AustraliaPostConfig | JapanPostConfig | RoyalMailConfig | RoyalTNTPostConfig | USPSIntelligentMailConfig | PharmaCodeTwoTrackConfig | GS1CompositeConfig | GroupOneDConfig | GroupTwoDConfig | GroupFourStateConfig | GroupCommonConfig;
9
+ /** @internal */
10
+ export declare namespace BarcodeConfig {
11
+ /** @internal */
12
+ function From(source: {
13
+ [key: string]: any;
14
+ }): BarcodeConfig;
15
+ }
16
+ /**
17
+ Base class for all linear (1D) barcode configurations.
18
+ */
19
+ export type OneDBarcodeConfig = CodabarConfig | Code11Config | Code39Config | Code93Config | Code128Config | Code2Of5Config | DataBarConfig | DataBarExpandedConfig | DataBarLimitedConfig | ITFConfig | MSIPlesseyConfig | UpcEanConfig | PharmaCodeConfig;
20
+ /** @internal */
21
+ export declare namespace OneDBarcodeConfig {
22
+ /** @internal */
23
+ function From(source: {
24
+ [key: string]: any;
25
+ }): OneDBarcodeConfig;
26
+ }
27
+ /**
28
+ Codabar barcode configuration. Add to recognizer configuration to scan Codabar barcodes.
29
+ */
30
+ export declare class CodabarConfig extends PartiallyConstructible {
31
+ readonly _type: "CodabarConfig";
32
+ /**
33
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
34
+ @defaultValue 6;
35
+ */
36
+ readonly minimum1DQuietZoneSize: number;
37
+ /**
38
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
39
+ @defaultValue "";
40
+ */
41
+ readonly regexFilter: string;
42
+ /**
43
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
44
+ @defaultValue 0;
45
+ */
46
+ readonly minimumTextLength: number;
47
+ /**
48
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
49
+ @defaultValue 0;
50
+ */
51
+ readonly maximumTextLength: number;
52
+ /**
53
+ If true, return the start and end characters.
54
+ @defaultValue false;
55
+ */
56
+ readonly returnStartEnd: boolean;
57
+ /** @param source {@displayType `DeepPartial<CodabarConfig>`} */
58
+ constructor(source?: DeepPartial<CodabarConfig>);
59
+ }
60
+ /**
61
+ Code 11 barcode configuration. Add to recognizer configuration to scan Code11 barcodes.
62
+ */
63
+ export declare class Code11Config extends PartiallyConstructible {
64
+ readonly _type: "Code11Config";
65
+ /**
66
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
67
+ @defaultValue 6;
68
+ */
69
+ readonly minimum1DQuietZoneSize: number;
70
+ /**
71
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
72
+ @defaultValue "";
73
+ */
74
+ readonly regexFilter: string;
75
+ /**
76
+ If true, the check digits are stripped from the result.
77
+ @defaultValue false;
78
+ */
79
+ readonly stripCheckDigits: boolean;
80
+ /**
81
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
82
+ @defaultValue 0;
83
+ */
84
+ readonly minimumTextLength: number;
85
+ /**
86
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
87
+ @defaultValue 0;
88
+ */
89
+ readonly maximumTextLength: number;
90
+ /**
91
+ If true, return CODE_11 barcodes only if they have a valid checksum.
92
+ @defaultValue true;
93
+ */
94
+ readonly checksum: boolean;
95
+ /** @param source {@displayType `DeepPartial<Code11Config>`} */
96
+ constructor(source?: DeepPartial<Code11Config>);
97
+ }
98
+ /**
99
+ Code 39 barcode and derivatives configuration. Add to recognizer configuration to scan Code 39, Code 32 (Italian Pharmacode) and PZN (Pharmazentralnummer) barcodes.
100
+ */
101
+ export declare class Code39Config extends PartiallyConstructible {
102
+ readonly _type: "Code39Config";
103
+ /**
104
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
105
+ @defaultValue 6;
106
+ */
107
+ readonly minimum1DQuietZoneSize: number;
108
+ /**
109
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
110
+ @defaultValue "";
111
+ */
112
+ readonly regexFilter: string;
113
+ /**
114
+ If true, the check digits are stripped from the result.
115
+ @defaultValue false;
116
+ */
117
+ readonly stripCheckDigits: boolean;
118
+ /**
119
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
120
+ @defaultValue 0;
121
+ */
122
+ readonly minimumTextLength: number;
123
+ /**
124
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
125
+ @defaultValue 0;
126
+ */
127
+ readonly maximumTextLength: number;
128
+ /**
129
+ If true, scan and return valid CODE_32 (Italian Pharmacode) barcodes. If false, CODE_32 barcodes are not decoded and are returned as CODE_39 instead.
130
+ @defaultValue false;
131
+ */
132
+ readonly code32: boolean;
133
+ /**
134
+ If true, scan CODE_39 barcodes.
135
+ @defaultValue true;
136
+ */
137
+ readonly code39: boolean;
138
+ /**
139
+ If true, scan PZN (Pharmazentralnummer) barcodes. If false, PZN barcodes are not decoded and are returned as CODE_39 instead.
140
+ @defaultValue true;
141
+ */
142
+ readonly pzn: boolean;
143
+ /**
144
+ If true, try to scan CODE_39 in extended mode.
145
+ @defaultValue false;
146
+ */
147
+ readonly tryCode39ExtendedMode: boolean;
148
+ /**
149
+ If true, return CODE_39 barcodes only if they have a valid check digit.
150
+ @defaultValue false;
151
+ */
152
+ readonly useCode39CheckDigit: boolean;
153
+ /** @param source {@displayType `DeepPartial<Code39Config>`} */
154
+ constructor(source?: DeepPartial<Code39Config>);
155
+ }
156
+ /**
157
+ Code 93 barcode configuration. Add to recognizer configuration to scan Code 93 barcodes.
158
+ */
159
+ export declare class Code93Config extends PartiallyConstructible {
160
+ readonly _type: "Code93Config";
161
+ /**
162
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
163
+ @defaultValue 6;
164
+ */
165
+ readonly minimum1DQuietZoneSize: number;
166
+ /**
167
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
168
+ @defaultValue "";
169
+ */
170
+ readonly regexFilter: string;
171
+ /**
172
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
173
+ @defaultValue 0;
174
+ */
175
+ readonly minimumTextLength: number;
176
+ /**
177
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
178
+ @defaultValue 0;
179
+ */
180
+ readonly maximumTextLength: number;
181
+ /** @param source {@displayType `DeepPartial<Code93Config>`} */
182
+ constructor(source?: DeepPartial<Code93Config>);
183
+ }
184
+ /**
185
+ Code 128 barcode configuration. Add to recognizer configuration to scan Code 128 barcodes.
186
+ */
187
+ export declare class Code128Config extends PartiallyConstructible {
188
+ readonly _type: "Code128Config";
189
+ /**
190
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
191
+ @defaultValue 6;
192
+ */
193
+ readonly minimum1DQuietZoneSize: number;
194
+ /**
195
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
196
+ @defaultValue "";
197
+ */
198
+ readonly regexFilter: string;
199
+ /**
200
+ GS1 message handling options.
201
+ @defaultValue "PARSE";
202
+ */
203
+ readonly gs1Handling: GS1Handling;
204
+ /**
205
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
206
+ @defaultValue 0;
207
+ */
208
+ readonly minimumTextLength: number;
209
+ /**
210
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
211
+ @defaultValue 0;
212
+ */
213
+ readonly maximumTextLength: number;
214
+ /** @param source {@displayType `DeepPartial<Code128Config>`} */
215
+ constructor(source?: DeepPartial<Code128Config>);
216
+ }
217
+ /**
218
+ Configuration for all 2-of-5 barcode types (except Interleaved 2-of-5, which is handled by ItfConfig).
219
+ Add to recognizer configuration to scan Code 25, IATA 2-of-5 and Industrial 2-of-5 barcodes.
220
+
221
+ Industrial 2-of-5 barcodes are a subset of Code 25 barcodes.
222
+ Any valid Industrial 2-of-5 barcode is also a valid Code 25 barcode.
223
+
224
+ */
225
+ export declare class Code2Of5Config extends PartiallyConstructible {
226
+ readonly _type: "Code2Of5Config";
227
+ /**
228
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
229
+ @defaultValue 6;
230
+ */
231
+ readonly minimum1DQuietZoneSize: number;
232
+ /**
233
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
234
+ @defaultValue "";
235
+ */
236
+ readonly regexFilter: string;
237
+ /**
238
+ If true, the check digits are stripped from the result.
239
+ @defaultValue false;
240
+ */
241
+ readonly stripCheckDigits: boolean;
242
+ /**
243
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
244
+ @defaultValue 0;
245
+ */
246
+ readonly minimumTextLength: number;
247
+ /**
248
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
249
+ @defaultValue 0;
250
+ */
251
+ readonly maximumTextLength: number;
252
+ /**
253
+ If true, scan IATA 2-of-5 barcodes. If useIATA2OF5Checksum is true, only barcodes with a valid checksum are returned.
254
+ @defaultValue true;
255
+ */
256
+ readonly iata2of5: boolean;
257
+ /**
258
+ If true, scan and return Code 25 (Code 2-of-5) barcodes. If industrial2of5 is also true, then valid Industrial 2-of-5 barcodes will preferentially be returned as such, instead of Code 25.
259
+ @defaultValue false;
260
+ */
261
+ readonly code25: boolean;
262
+ /**
263
+ If true, scan and return valid Industrial 2-of-5 barcodes. If false, but code25 is true, Industrial 2-of-5 barcodes will be returned as Code 25 barcodes
264
+ @defaultValue true;
265
+ */
266
+ readonly industrial2of5: boolean;
267
+ /**
268
+ If true, return IATA_2_OF_5 barcodes only if they have a valid check digit.
269
+ @defaultValue true;
270
+ */
271
+ readonly useIATA2OF5Checksum: boolean;
272
+ /** @param source {@displayType `DeepPartial<Code2Of5Config>`} */
273
+ constructor(source?: DeepPartial<Code2Of5Config>);
274
+ }
275
+ /**
276
+ GS1 DataBar barcode configuration. Add to recognizer configuration to scan GS1 DataBar-14, GS1 DataBar-14 Truncated, GS1 DataBar-14 Stacked and GS1 DataBar-14 Stacked Omnidirectional barcodes.
277
+ */
278
+ export declare class DataBarConfig extends PartiallyConstructible {
279
+ readonly _type: "DataBarConfig";
280
+ /**
281
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
282
+ @defaultValue 6;
283
+ */
284
+ readonly minimum1DQuietZoneSize: number;
285
+ /**
286
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
287
+ @defaultValue "";
288
+ */
289
+ readonly regexFilter: string;
290
+ /**
291
+ GS1 message handling options.
292
+ @defaultValue "PARSE";
293
+ */
294
+ readonly gs1Handling: GS1Handling;
295
+ /** @param source {@displayType `DeepPartial<DataBarConfig>`} */
296
+ constructor(source?: DeepPartial<DataBarConfig>);
297
+ }
298
+ /**
299
+ GS1 DataBar Expanded barcode configuration. Add to recognizer configuration to scan GS1 DataBar Expanded and GS1 DataBar Expanded Stacked barcodes.
300
+ */
301
+ export declare class DataBarExpandedConfig extends PartiallyConstructible {
302
+ readonly _type: "DataBarExpandedConfig";
303
+ /**
304
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
305
+ @defaultValue 6;
306
+ */
307
+ readonly minimum1DQuietZoneSize: number;
308
+ /**
309
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
310
+ @defaultValue "";
311
+ */
312
+ readonly regexFilter: string;
313
+ /**
314
+ GS1 message handling options.
315
+ @defaultValue "PARSE";
316
+ */
317
+ readonly gs1Handling: GS1Handling;
318
+ /** @param source {@displayType `DeepPartial<DataBarExpandedConfig>`} */
319
+ constructor(source?: DeepPartial<DataBarExpandedConfig>);
320
+ }
321
+ /**
322
+ GS1 DataBar Limited barcode configuration. Add to recognizer configuration to scan GS1 DataBar Limited barcodes.
323
+ */
324
+ export declare class DataBarLimitedConfig extends PartiallyConstructible {
325
+ readonly _type: "DataBarLimitedConfig";
326
+ /**
327
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
328
+ @defaultValue 6;
329
+ */
330
+ readonly minimum1DQuietZoneSize: number;
331
+ /**
332
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
333
+ @defaultValue "";
334
+ */
335
+ readonly regexFilter: string;
336
+ /**
337
+ GS1 message handling options.
338
+ @defaultValue "PARSE";
339
+ */
340
+ readonly gs1Handling: GS1Handling;
341
+ /** @param source {@displayType `DeepPartial<DataBarLimitedConfig>`} */
342
+ constructor(source?: DeepPartial<DataBarLimitedConfig>);
343
+ }
344
+ /**
345
+ ITF (Interleaved 2-of-5) barcode configuration. Add to recognizer configuration to scan Interleaved 2-of-5 (ITF) barcodes.
346
+ */
347
+ export declare class ITFConfig extends PartiallyConstructible {
348
+ readonly _type: "ITFConfig";
349
+ /**
350
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
351
+ @defaultValue 6;
352
+ */
353
+ readonly minimum1DQuietZoneSize: number;
354
+ /**
355
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
356
+ @defaultValue "";
357
+ */
358
+ readonly regexFilter: string;
359
+ /**
360
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
361
+ @defaultValue 0;
362
+ */
363
+ readonly minimumTextLength: number;
364
+ /**
365
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
366
+ @defaultValue 0;
367
+ */
368
+ readonly maximumTextLength: number;
369
+ /** @param source {@displayType `DeepPartial<ITFConfig>`} */
370
+ constructor(source?: DeepPartial<ITFConfig>);
371
+ }
372
+ /**
373
+ Checksum algorithm for MSI_PLESSEY
374
+
375
+ - `MOD_10`:
376
+ Modulo 10
377
+ - `MOD_11_IBM`:
378
+ Modulo 11 IBM
379
+ - `MOD_11_NCR`:
380
+ Modulo 11 NCR
381
+ - `MOD_10_10`:
382
+ Modulo 1010
383
+ - `MOD_11_10_IBM`:
384
+ Modulo 1110 IBM
385
+ - `MOD_11_10_NCR`:
386
+ Modulo 1110 NCR
387
+ */
388
+ export type MSIPlesseyChecksumAlgorithm = "MOD_10" | "MOD_11_IBM" | "MOD_11_NCR" | "MOD_10_10" | "MOD_11_10_IBM" | "MOD_11_10_NCR";
389
+ /**
390
+ MSI Plessey barcode configuration. Add to recognizer configuration to scan MSI Plessey barcodes.
391
+ */
392
+ export declare class MSIPlesseyConfig extends PartiallyConstructible {
393
+ readonly _type: "MSIPlesseyConfig";
394
+ /**
395
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
396
+ @defaultValue 6;
397
+ */
398
+ readonly minimum1DQuietZoneSize: number;
399
+ /**
400
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
401
+ @defaultValue "";
402
+ */
403
+ readonly regexFilter: string;
404
+ /**
405
+ If true, the check digits are stripped from the result.
406
+ @defaultValue false;
407
+ */
408
+ readonly stripCheckDigits: boolean;
409
+ /**
410
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
411
+ @defaultValue 0;
412
+ */
413
+ readonly minimumTextLength: number;
414
+ /**
415
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
416
+ @defaultValue 0;
417
+ */
418
+ readonly maximumTextLength: number;
419
+ /**
420
+ List of MSI Plessey checksum algorithms to apply during scanning.
421
+ A barcode is considered valid if it passes any of the checksum algorithms in the list.
422
+ If the list is empty, no checksum validation is performed.
423
+ @defaultValue ["MOD_10"];
424
+ */
425
+ readonly checksumAlgorithms: MSIPlesseyChecksumAlgorithm[];
426
+ /** @param source {@displayType `DeepPartial<MSIPlesseyConfig>`} */
427
+ constructor(source?: DeepPartial<MSIPlesseyConfig>);
428
+ }
429
+ /**
430
+ UPC/EAN barcode configuration. Add to recognizer configuration to scan EAN-8, EAN-13, UPC-E and UPC-A barcodes.
431
+ */
432
+ export declare class UpcEanConfig extends PartiallyConstructible {
433
+ readonly _type: "UpcEanConfig";
434
+ /**
435
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
436
+ @defaultValue 6;
437
+ */
438
+ readonly minimum1DQuietZoneSize: number;
439
+ /**
440
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
441
+ @defaultValue "";
442
+ */
443
+ readonly regexFilter: string;
444
+ /**
445
+ If true, the check digits are stripped from the result.
446
+ @defaultValue false;
447
+ */
448
+ readonly stripCheckDigits: boolean;
449
+ /**
450
+ If true, scan and return valid EAN-8 barcodes.
451
+ @defaultValue true;
452
+ */
453
+ readonly ean8: boolean;
454
+ /**
455
+ If true, scan and return valid EAN-13 barcodes.
456
+ @defaultValue true;
457
+ */
458
+ readonly ean13: boolean;
459
+ /**
460
+ If true, scan and return valid UPC-A barcodes. If false, but ean13 is true, then UPC-A barcodes will be returned as EAN-13 barcodes.
461
+ @defaultValue true;
462
+ */
463
+ readonly upca: boolean;
464
+ /**
465
+ If true, scan and return valid UPC-E barcodes.
466
+ @defaultValue true;
467
+ */
468
+ readonly upce: boolean;
469
+ /**
470
+ Behavior when scanning UPC/EAN barcodes with EAN-2 or EAN-5 extensions.
471
+ @defaultValue "AllowAny";
472
+ */
473
+ readonly extensions: UpcEanExtensionBehavior;
474
+ /** @param source {@displayType `DeepPartial<UpcEanConfig>`} */
475
+ constructor(source?: DeepPartial<UpcEanConfig>);
476
+ }
477
+ /**
478
+ PharmaCode barcode configuration. Add to recognizer configuration to scan linear (1D) Laetus Pharmacode barcodes. Two-track PharmaCode scanning is configured separately through the PharmaCodeTwoTrackConfig class.
479
+ */
480
+ export declare class PharmaCodeConfig extends PartiallyConstructible {
481
+ readonly _type: "PharmaCodeConfig";
482
+ /**
483
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
484
+ @defaultValue 6;
485
+ */
486
+ readonly minimum1DQuietZoneSize: number;
487
+ /**
488
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
489
+ @defaultValue "";
490
+ */
491
+ readonly regexFilter: string;
492
+ /**
493
+ Minimum value for PharmaCode. Very low values are likely to produce more false positives.
494
+ @defaultValue 16;
495
+ */
496
+ readonly minimumValue: number;
497
+ /**
498
+ If true, a result consisting of only narrow bars is accepted as valid. The specification does not recommend such barcodes. Default is false.
499
+ @defaultValue false;
500
+ */
501
+ readonly allowNarrowBarsOnly: boolean;
502
+ /**
503
+ If true, a result consisting of only wide bars is accepted as valid. The specification does not recommend such barcodes. Default is false.
504
+ @defaultValue false;
505
+ */
506
+ readonly allowWideBarsOnly: boolean;
507
+ /** @param source {@displayType `DeepPartial<PharmaCodeConfig>`} */
508
+ constructor(source?: DeepPartial<PharmaCodeConfig>);
509
+ }
510
+ /**
511
+ Base class for all 2D barcode configurations.
512
+ */
513
+ export type TwoDBarcodeConfig = AztecConfig | QRCodeConfig | PDF417Config | MicroPDF417Config | DataMatrixConfig | MaxiCodeConfig;
514
+ /** @internal */
515
+ export declare namespace TwoDBarcodeConfig {
516
+ /** @internal */
517
+ function From(source: {
518
+ [key: string]: any;
519
+ }): TwoDBarcodeConfig;
520
+ }
521
+ /**
522
+ Aztec configuration. Add to recognizer configuration to scan Aztec codes.
523
+ */
524
+ export declare class AztecConfig extends PartiallyConstructible {
525
+ readonly _type: "AztecConfig";
526
+ /**
527
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
528
+ @defaultValue "";
529
+ */
530
+ readonly regexFilter: string;
531
+ /**
532
+ GS1 message handling options.
533
+ @defaultValue "PARSE";
534
+ */
535
+ readonly gs1Handling: GS1Handling;
536
+ /** @param source {@displayType `DeepPartial<AztecConfig>`} */
537
+ constructor(source?: DeepPartial<AztecConfig>);
538
+ }
539
+ /**
540
+ QR Code configuration. Add to recognizer configuration to scan QR codes, Micro QR codes and rectangular Micro QR (rMQR) codes.
541
+ */
542
+ export declare class QRCodeConfig extends PartiallyConstructible {
543
+ readonly _type: "QRCodeConfig";
544
+ /**
545
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
546
+ @defaultValue "";
547
+ */
548
+ readonly regexFilter: string;
549
+ /**
550
+ GS1 message handling options.
551
+ @defaultValue "PARSE";
552
+ */
553
+ readonly gs1Handling: GS1Handling;
554
+ /**
555
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
556
+ @defaultValue true;
557
+ */
558
+ readonly strictMode: boolean;
559
+ /**
560
+ If true, scan and return QR codes.
561
+ @defaultValue true;
562
+ */
563
+ readonly qr: boolean;
564
+ /**
565
+ If true, scan and return Micro QR codes.
566
+ @defaultValue false;
567
+ */
568
+ readonly microQr: boolean;
569
+ /**
570
+ If true, scan and return rectangular Micro QR (rMQR) codes.
571
+ @defaultValue false;
572
+ */
573
+ readonly rmqr: boolean;
574
+ /** @param source {@displayType `DeepPartial<QRCodeConfig>`} */
575
+ constructor(source?: DeepPartial<QRCodeConfig>);
576
+ }
577
+ /**
578
+ PDF417 configuration. Add to recognizer configuration to scan PDF417 codes.
579
+ */
580
+ export declare class PDF417Config extends PartiallyConstructible {
581
+ readonly _type: "PDF417Config";
582
+ /**
583
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
584
+ @defaultValue "";
585
+ */
586
+ readonly regexFilter: string;
587
+ /**
588
+ GS1 message handling options.
589
+ @defaultValue "PARSE";
590
+ */
591
+ readonly gs1Handling: GS1Handling;
592
+ /**
593
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
594
+ @defaultValue true;
595
+ */
596
+ readonly strictMode: boolean;
597
+ /** @param source {@displayType `DeepPartial<PDF417Config>`} */
598
+ constructor(source?: DeepPartial<PDF417Config>);
599
+ }
600
+ /**
601
+ MicroPDF417 configuration. Add to recognizer configuration to scan MicroPDF417 codes.
602
+ */
603
+ export declare class MicroPDF417Config extends PartiallyConstructible {
604
+ readonly _type: "MicroPDF417Config";
605
+ /**
606
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
607
+ @defaultValue "";
608
+ */
609
+ readonly regexFilter: string;
610
+ /**
611
+ GS1 message handling options.
612
+ @defaultValue "PARSE";
613
+ */
614
+ readonly gs1Handling: GS1Handling;
615
+ /**
616
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
617
+ @defaultValue true;
618
+ */
619
+ readonly strictMode: boolean;
620
+ /** @param source {@displayType `DeepPartial<MicroPDF417Config>`} */
621
+ constructor(source?: DeepPartial<MicroPDF417Config>);
622
+ }
623
+ /**
624
+ DataMatrix configuration. Add to recognizer configuration to scan DataMatrix and DataMatrix rectangular extensions (DMRE) codes.
625
+ */
626
+ export declare class DataMatrixConfig extends PartiallyConstructible {
627
+ readonly _type: "DataMatrixConfig";
628
+ /**
629
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
630
+ @defaultValue "";
631
+ */
632
+ readonly regexFilter: string;
633
+ /**
634
+ GS1 message handling options.
635
+ @defaultValue "PARSE";
636
+ */
637
+ readonly gs1Handling: GS1Handling;
638
+ /** @param source {@displayType `DeepPartial<DataMatrixConfig>`} */
639
+ constructor(source?: DeepPartial<DataMatrixConfig>);
640
+ }
641
+ /**
642
+ MaxiCode configuration. Add to recognizer configuration to scan MaxiCode codes.
643
+ */
644
+ export declare class MaxiCodeConfig extends PartiallyConstructible {
645
+ readonly _type: "MaxiCodeConfig";
646
+ /**
647
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
648
+ @defaultValue "";
649
+ */
650
+ readonly regexFilter: string;
651
+ /** @param source {@displayType `DeepPartial<MaxiCodeConfig>`} */
652
+ constructor(source?: DeepPartial<MaxiCodeConfig>);
653
+ }
654
+ /**
655
+ Base class for all four-state barcode configurations.
656
+ */
657
+ export type FourStateBarcodeConfig = AustraliaPostConfig | JapanPostConfig | RoyalMailConfig | RoyalTNTPostConfig | USPSIntelligentMailConfig | PharmaCodeTwoTrackConfig;
658
+ /** @internal */
659
+ export declare namespace FourStateBarcodeConfig {
660
+ /** @internal */
661
+ function From(source: {
662
+ [key: string]: any;
663
+ }): FourStateBarcodeConfig;
664
+ }
665
+ /**
666
+ can be either numeric or alphanumeric and is only relevant for Format Codes 59 and 62
667
+
668
+
669
+ - `NUMERIC`:
670
+ Numeric
671
+ - `ALPHA_NUMERIC`:
672
+ AlphaNumeric
673
+ */
674
+ export type AustraliaPostCustomerFormat = "NUMERIC" | "ALPHA_NUMERIC";
675
+ /**
676
+ Australia Post barcode configuration. Add to recognizer configuration to scan Australia Post barcodes.
677
+ */
678
+ export declare class AustraliaPostConfig extends PartiallyConstructible {
679
+ readonly _type: "AustraliaPostConfig";
680
+ /**
681
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
682
+ @defaultValue "";
683
+ */
684
+ readonly regexFilter: string;
685
+ /**
686
+ Can be either numeric or alpha-numeric and is only relevant for Format Codes 59 and 62.
687
+ @defaultValue "ALPHA_NUMERIC";
688
+ */
689
+ readonly australiaPostCustomerFormat: AustraliaPostCustomerFormat;
690
+ /** @param source {@displayType `DeepPartial<AustraliaPostConfig>`} */
691
+ constructor(source?: DeepPartial<AustraliaPostConfig>);
692
+ }
693
+ /**
694
+ Japan Post barcode configuration. Add to recognizer configuration to scan Japan Post barcodes.
695
+ */
696
+ export declare class JapanPostConfig extends PartiallyConstructible {
697
+ readonly _type: "JapanPostConfig";
698
+ /**
699
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
700
+ @defaultValue "";
701
+ */
702
+ readonly regexFilter: string;
703
+ /** @param source {@displayType `DeepPartial<JapanPostConfig>`} */
704
+ constructor(source?: DeepPartial<JapanPostConfig>);
705
+ }
706
+ /**
707
+ Royal Mail barcode configuration. Add to recognizer configuration to scan Royal Mail (a.k.a. RM4SCC, CBC, BPO 4-State) barcodes.
708
+ */
709
+ export declare class RoyalMailConfig extends PartiallyConstructible {
710
+ readonly _type: "RoyalMailConfig";
711
+ /**
712
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
713
+ @defaultValue "";
714
+ */
715
+ readonly regexFilter: string;
716
+ /**
717
+ If true, the check digits are stripped from the result.
718
+ @defaultValue false;
719
+ */
720
+ readonly stripCheckDigits: boolean;
721
+ /** @param source {@displayType `DeepPartial<RoyalMailConfig>`} */
722
+ constructor(source?: DeepPartial<RoyalMailConfig>);
723
+ }
724
+ /**
725
+ Royal TNT Post barcode configuration. Add to recognizer configuration to scan Royal TNT Post (a.k.a. KIX, Klant IndeX) barcodes.
726
+ */
727
+ export declare class RoyalTNTPostConfig extends PartiallyConstructible {
728
+ readonly _type: "RoyalTNTPostConfig";
729
+ /**
730
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
731
+ @defaultValue "";
732
+ */
733
+ readonly regexFilter: string;
734
+ /** @param source {@displayType `DeepPartial<RoyalTNTPostConfig>`} */
735
+ constructor(source?: DeepPartial<RoyalTNTPostConfig>);
736
+ }
737
+ /**
738
+ USPS Intelligent Mail barcode configuration. Add to recognizer configuration to scan USPS Intelligent Mail (a.k.a. USPS OneCode, USPS-STD-11) barcodes.
739
+ */
740
+ export declare class USPSIntelligentMailConfig extends PartiallyConstructible {
741
+ readonly _type: "USPSIntelligentMailConfig";
742
+ /**
743
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
744
+ @defaultValue "";
745
+ */
746
+ readonly regexFilter: string;
747
+ /** @param source {@displayType `DeepPartial<USPSIntelligentMailConfig>`} */
748
+ constructor(source?: DeepPartial<USPSIntelligentMailConfig>);
749
+ }
750
+ /**
751
+ PHARMA_CODE_TWO_TRACK barcode configuration. Add to recognizer configuration to scan Laetus two-track PharmaCode barcodes. Linear (i.e. one-track) PharmaCode scanning is configured separately through the PharmaCodeConfig class.
752
+ */
753
+ export declare class PharmaCodeTwoTrackConfig extends PartiallyConstructible {
754
+ readonly _type: "PharmaCodeTwoTrackConfig";
755
+ /**
756
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
757
+ @defaultValue "";
758
+ */
759
+ readonly regexFilter: string;
760
+ /**
761
+ Minimum value for PHARMA_CODE_TWO_TRACK. Very low values are likely to produce more false positives.
762
+ @defaultValue 364;
763
+ */
764
+ readonly minimumValue: number;
765
+ /** @param source {@displayType `DeepPartial<PharmaCodeTwoTrackConfig>`} */
766
+ constructor(source?: DeepPartial<PharmaCodeTwoTrackConfig>);
767
+ }
768
+ /**
769
+ GS1 Composite configuration. Add to recognizer configuration to scan GS1 Composite barcodes.
770
+
771
+ When not enabled, the individual parts of GS1 Composite barcodes will be returned as separate items,
772
+ if the respective formats are enabled (UPC-A, Code 128, MicroPDF417, PDF417).
773
+ Those barcode items will have their isGS1CompositePart field set to true.
774
+ If GS1 Composite scanning is enabled, the individual parts are never returned, even if their respective formats
775
+ are enabled, except when the linear component is a UPC or EAN barcode. In that case the linear component might still
776
+ occasionally be returned as a separate result. If this situation needs to be avoided, remove the UPC and EAN formats from
777
+ the enabled formats.
778
+
779
+ If GS1 Composite scanning is disabled, but GS1 message validation is enabled, then the parts of the composite barcode may
780
+ fail validation and be rejected.
781
+
782
+ */
783
+ export declare class GS1CompositeConfig extends PartiallyConstructible {
784
+ readonly _type: "GS1CompositeConfig";
785
+ /**
786
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
787
+ @defaultValue "";
788
+ */
789
+ readonly regexFilter: string;
790
+ /**
791
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
792
+ @defaultValue 6;
793
+ */
794
+ readonly minimum1DQuietZoneSize: number;
795
+ /**
796
+ GS1 message handling options.
797
+ @defaultValue "PARSE";
798
+ */
799
+ readonly gs1Handling: GS1Handling;
800
+ /**
801
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
802
+ @defaultValue true;
803
+ */
804
+ readonly strictMode: boolean;
805
+ /** @param source {@displayType `DeepPartial<GS1CompositeConfig>`} */
806
+ constructor(source?: DeepPartial<GS1CompositeConfig>);
807
+ }
808
+ /**
809
+ Convenience configuration for enabling the scanning of multiple linear (1D) barcode formats with a common configuration.
810
+ Add to recognizer configuration to enable and configure the scanning of multiple linear (1D) barcode formats.
811
+
812
+ The given configuration will be applied to all enabled barcode formats, if they support it.
813
+ You can override the common configuration for individual barcode formats by additionally adding
814
+ their specific configuration to the recognizer's configuration.
815
+
816
+ */
817
+ export declare class GroupOneDConfig extends PartiallyConstructible {
818
+ readonly _type: "GroupOneDConfig";
819
+ /**
820
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
821
+ @defaultValue "";
822
+ */
823
+ readonly regexFilter: string;
824
+ /**
825
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
826
+ @defaultValue 6;
827
+ */
828
+ readonly minimum1DQuietZoneSize: number;
829
+ /**
830
+ If true, the check digits are stripped from the result.
831
+ @defaultValue false;
832
+ */
833
+ readonly stripCheckDigits: boolean;
834
+ /**
835
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
836
+ @defaultValue 0;
837
+ */
838
+ readonly minimumTextLength: number;
839
+ /**
840
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
841
+ @defaultValue 0;
842
+ */
843
+ readonly maximumTextLength: number;
844
+ /**
845
+ GS1 message handling options.
846
+ @defaultValue "PARSE";
847
+ */
848
+ readonly gs1Handling: GS1Handling;
849
+ /**
850
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
851
+ @defaultValue true;
852
+ */
853
+ readonly strictMode: boolean;
854
+ /**
855
+ List of linear (1D) barcode formats to scan.
856
+ @defaultValue ["CODABAR", "CODE_11", "CODE_25", "CODE_32", "CODE_39", "CODE_93", "CODE_128", "DATABAR", "DATABAR_EXPANDED", "DATABAR_LIMITED", "EAN_8", "EAN_13", "IATA_2_OF_5", "INDUSTRIAL_2_OF_5", "ITF", "MSI_PLESSEY", "PHARMA_CODE", "PZN", "UPC_A", "UPC_E"];
857
+ */
858
+ readonly formats: BarcodeFormat[];
859
+ /** @param source {@displayType `DeepPartial<GroupOneDConfig>`} */
860
+ constructor(source?: DeepPartial<GroupOneDConfig>);
861
+ }
862
+ /**
863
+ Convenience configuration for enabling the scanning of multiple 2D codes with a common configuration.
864
+ Add to recognizer configuration to enable and configure the scanning of multiple 2D codes.
865
+
866
+ The given configuration will be applied to all enabled barcode formats, if they support it.
867
+ You can override the common configuration for individual barcode formats by additionally adding
868
+ their specific configuration to the recognizer's configuration.
869
+
870
+ */
871
+ export declare class GroupTwoDConfig extends PartiallyConstructible {
872
+ readonly _type: "GroupTwoDConfig";
873
+ /**
874
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
875
+ @defaultValue "";
876
+ */
877
+ readonly regexFilter: string;
878
+ /**
879
+ GS1 message handling options.
880
+ @defaultValue "PARSE";
881
+ */
882
+ readonly gs1Handling: GS1Handling;
883
+ /**
884
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
885
+ @defaultValue true;
886
+ */
887
+ readonly strictMode: boolean;
888
+ /**
889
+ List of 2D codes to scan.
890
+ @defaultValue ["AZTEC", "DATA_MATRIX", "MAXICODE", "MICRO_QR_CODE", "MICRO_PDF_417", "PDF_417", "QR_CODE", "RMQR_CODE"];
891
+ */
892
+ readonly formats: BarcodeFormat[];
893
+ /** @param source {@displayType `DeepPartial<GroupTwoDConfig>`} */
894
+ constructor(source?: DeepPartial<GroupTwoDConfig>);
895
+ }
896
+ /**
897
+ Convenience configuration for enabling the scanning of multiple four-state barcode formats with a common configuration.
898
+ Add to recognizer configuration to enable and configure the scanning of multiple four-state codes.
899
+
900
+ The given configuration will be applied to all enabled barcode formats, if they support it.
901
+ You can override the common configuration for individual barcode formats by additionally adding
902
+ their specific configuration to the recognizer's configuration.
903
+
904
+ */
905
+ export declare class GroupFourStateConfig extends PartiallyConstructible {
906
+ readonly _type: "GroupFourStateConfig";
907
+ /**
908
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
909
+ @defaultValue "";
910
+ */
911
+ readonly regexFilter: string;
912
+ /**
913
+ List of four-state barcode formats to scan.
914
+ @defaultValue ["AUSTRALIA_POST", "JAPAN_POST", "ROYAL_MAIL", "ROYAL_TNT_POST", "USPS_INTELLIGENT_MAIL"];
915
+ */
916
+ readonly formats: BarcodeFormat[];
917
+ /** @param source {@displayType `DeepPartial<GroupFourStateConfig>`} */
918
+ constructor(source?: DeepPartial<GroupFourStateConfig>);
919
+ }
920
+ /**
921
+ Convenience configuration for enabling the scanning of multiple barcode formats with a common configuration.
922
+ Add to recognizer configuration to enable and configure the scanning of multiple barcodes.
923
+
924
+ The given configuration will be applied to all enabled barcode formats, if they support it.
925
+ You can override the common configuration for individual barcode formats by additionally adding
926
+ their specific configuration to the recognizer's configuration.
927
+
928
+ */
929
+ export declare class GroupCommonConfig extends PartiallyConstructible {
930
+ readonly _type: "GroupCommonConfig";
931
+ /**
932
+ Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
933
+ @defaultValue "";
934
+ */
935
+ readonly regexFilter: string;
936
+ /**
937
+ Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
938
+ @defaultValue 6;
939
+ */
940
+ readonly minimum1DQuietZoneSize: number;
941
+ /**
942
+ If true, the check digits are stripped from the result.
943
+ @defaultValue false;
944
+ */
945
+ readonly stripCheckDigits: boolean;
946
+ /**
947
+ Minimum text length. Applied only to linear barcode formats that allow variable length.
948
+ @defaultValue 0;
949
+ */
950
+ readonly minimumTextLength: number;
951
+ /**
952
+ Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
953
+ @defaultValue 0;
954
+ */
955
+ readonly maximumTextLength: number;
956
+ /**
957
+ GS1 message handling options.
958
+ @defaultValue "PARSE";
959
+ */
960
+ readonly gs1Handling: GS1Handling;
961
+ /**
962
+ If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
963
+ @defaultValue true;
964
+ */
965
+ readonly strictMode: boolean;
966
+ /**
967
+ List of barcode formats to scan. By default, the most commonly used formats are enabled.
968
+ @defaultValue ["AZTEC", "CODABAR", "CODE_39", "CODE_93", "CODE_128", "DATA_MATRIX", "DATABAR", "DATABAR_EXPANDED", "DATABAR_LIMITED", "EAN_13", "EAN_8", "ITF", "MICRO_QR_CODE", "PDF_417", "QR_CODE", "UPC_A", "UPC_E"];
969
+ */
970
+ readonly formats: BarcodeFormat[];
971
+ /** @param source {@displayType `DeepPartial<GroupCommonConfig>`} */
972
+ constructor(source?: DeepPartial<GroupCommonConfig>);
973
+ }