react-native-scanbot-barcode-scanner-sdk 7.1.2-rc.2 → 8.0.0-rc.1

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 (682) hide show
  1. package/LICENSE +1 -1
  2. package/Libraries.txt +437 -17
  3. package/README.md +32 -34
  4. package/RNScanbotBarcodeSDK.podspec +3 -2
  5. package/android/gradle.properties +3 -3
  6. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.kt +117 -69
  7. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkPluginResultDelegate.kt +3 -2
  8. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerView.kt +76 -50
  9. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewEvents.kt +24 -1
  10. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewManager.kt +66 -55
  11. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/models/ScanbotBarcodeScannerModels.kt +1 -1
  12. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/Extensions.kt +19 -0
  13. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.h +8 -7
  14. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.m +92 -221
  15. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.h +12 -8
  16. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.mm +147 -317
  17. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController+Utils.swift +74 -0
  18. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController.swift +429 -0
  19. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewManager.mm +17 -23
  20. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewOperators.h +95 -0
  21. package/ios/ScanbotBarcodeSdk.m +58 -76
  22. package/ios/ScanbotBarcodeSdkPluginResultDelegate.m +2 -6
  23. package/lib/commonjs/Barcode.js +51 -0
  24. package/lib/commonjs/Barcode.js.map +1 -0
  25. package/lib/commonjs/ImageProcessor.js +24 -0
  26. package/lib/commonjs/ImageProcessor.js.map +1 -0
  27. package/lib/commonjs/Sdk.js +57 -0
  28. package/lib/commonjs/Sdk.js.map +1 -0
  29. package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +14 -9
  30. package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
  31. package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
  32. package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
  33. package/lib/commonjs/{component/barcode-camera-view → components}/index.js +3 -3
  34. package/lib/commonjs/components/index.js.map +1 -0
  35. package/lib/commonjs/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
  36. package/lib/commonjs/impl/BarcodeScannerImpl.js +59 -0
  37. package/lib/commonjs/impl/BarcodeScannerImpl.js.map +1 -0
  38. package/lib/commonjs/impl/ImageProcessorImpl.js +20 -0
  39. package/lib/commonjs/impl/ImageProcessorImpl.js.map +1 -0
  40. package/lib/commonjs/impl/SdkImpl.js +27 -0
  41. package/lib/commonjs/impl/SdkImpl.js.map +1 -0
  42. package/lib/commonjs/impl/index.js +39 -0
  43. package/lib/commonjs/impl/index.js.map +1 -0
  44. package/lib/commonjs/impl/scanbotBarcodeSDKModule.js +22 -0
  45. package/lib/commonjs/impl/scanbotBarcodeSDKModule.js.map +1 -0
  46. package/lib/commonjs/index.js +18 -162
  47. package/lib/commonjs/index.js.map +1 -1
  48. package/lib/commonjs/types/base/SdkConfiguration.js +106 -0
  49. package/lib/commonjs/types/base/SdkConfiguration.js.map +1 -0
  50. package/lib/commonjs/{base/barcodeSDKConfigurations.js → types/base/customTypes.js} +1 -1
  51. package/lib/commonjs/types/base/customTypes.js.map +1 -0
  52. package/lib/commonjs/types/base/errors.js +139 -0
  53. package/lib/commonjs/types/base/errors.js.map +1 -0
  54. package/lib/commonjs/types/base/index.js +50 -0
  55. package/lib/commonjs/types/base/index.js.map +1 -0
  56. package/lib/commonjs/types/base/utils.js +59 -0
  57. package/lib/commonjs/types/base/utils.js.map +1 -0
  58. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -74
  59. package/lib/commonjs/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
  60. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +62 -10
  61. package/lib/commonjs/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
  62. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
  63. package/lib/commonjs/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
  64. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeTypes.js +31 -12
  65. package/lib/commonjs/types/core/barcode/BarcodeTypes.js.map +1 -0
  66. package/lib/commonjs/types/core/barcode/index.js.map +1 -0
  67. package/lib/commonjs/types/core/camera/Camera.js +23 -0
  68. package/lib/commonjs/types/core/camera/Camera.js.map +1 -0
  69. package/lib/commonjs/types/core/camera/index.js +17 -0
  70. package/lib/commonjs/types/core/camera/index.js.map +1 -0
  71. package/lib/commonjs/types/core/common/CommonTypes.js +29 -0
  72. package/lib/commonjs/types/core/common/CommonTypes.js.map +1 -0
  73. package/lib/commonjs/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -3
  74. package/lib/commonjs/types/core/common/JsonSerializationTypes.js.map +1 -0
  75. package/lib/commonjs/types/core/common/index.js +28 -0
  76. package/lib/commonjs/types/core/common/index.js.map +1 -0
  77. package/lib/commonjs/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1131 -160
  78. package/lib/commonjs/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
  79. package/lib/commonjs/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
  80. package/lib/commonjs/types/core/generic_document/CommonFieldType.js.map +1 -0
  81. package/lib/commonjs/{documents → types/core/generic_document}/GenericDocument.js +13 -18
  82. package/lib/commonjs/types/core/generic_document/GenericDocument.js.map +1 -0
  83. package/lib/commonjs/types/core/generic_document/index.js.map +1 -0
  84. package/lib/commonjs/{utils → types/core}/geometry/Geometry.js +4 -8
  85. package/lib/commonjs/types/core/geometry/Geometry.js.map +1 -0
  86. package/lib/commonjs/types/core/geometry/index.js +17 -0
  87. package/lib/commonjs/types/core/geometry/index.js.map +1 -0
  88. package/lib/commonjs/{imageRef → types/core/image}/ImageRefTypes.js +157 -69
  89. package/lib/commonjs/types/core/image/ImageRefTypes.js.map +1 -0
  90. package/lib/commonjs/types/core/image/ImageTypes.js +41 -0
  91. package/lib/commonjs/types/core/image/ImageTypes.js.map +1 -0
  92. package/lib/commonjs/{imageRef → types/core/image}/image.js +54 -50
  93. package/lib/commonjs/types/core/image/image.js.map +1 -0
  94. package/lib/commonjs/{imageRef → types/core/image}/index.js +0 -11
  95. package/lib/commonjs/types/core/image/index.js.map +1 -0
  96. package/lib/commonjs/types/core/index.js +105 -0
  97. package/lib/commonjs/types/core/index.js.map +1 -0
  98. package/lib/commonjs/types/core/licensing/LicensingTypes.js +239 -0
  99. package/lib/commonjs/types/core/licensing/LicensingTypes.js.map +1 -0
  100. package/lib/commonjs/types/core/licensing/index.js +17 -0
  101. package/lib/commonjs/types/core/licensing/index.js.map +1 -0
  102. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
  103. package/lib/commonjs/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
  104. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -8
  105. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
  106. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
  107. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
  108. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
  109. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -6
  110. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
  111. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -3
  112. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
  113. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
  114. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
  115. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
  116. package/lib/commonjs/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
  117. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
  118. package/lib/commonjs/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
  119. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
  120. package/lib/commonjs/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
  121. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
  122. package/lib/commonjs/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
  123. package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js +23 -0
  124. package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
  125. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -3
  126. package/lib/commonjs/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
  127. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -4
  128. package/lib/commonjs/types/core/ui_v2/common/CameraPermission.js.map +1 -0
  129. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -35
  130. package/lib/commonjs/types/core/ui_v2/common/Common.js.map +1 -0
  131. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
  132. package/lib/commonjs/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
  133. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
  134. package/lib/commonjs/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
  135. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
  136. package/lib/commonjs/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
  137. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
  138. package/lib/commonjs/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
  139. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
  140. package/lib/commonjs/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
  141. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
  142. package/lib/commonjs/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
  143. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/index.js +15 -15
  144. package/lib/commonjs/types/core/ui_v2/index.js.map +1 -0
  145. package/lib/commonjs/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -4
  146. package/lib/commonjs/types/core/utils/ObjectPoolTypes.js.map +1 -0
  147. package/lib/commonjs/types/core/utils/index.js +28 -0
  148. package/lib/commonjs/types/core/utils/index.js.map +1 -0
  149. package/lib/commonjs/types/core/utils/utils.js +10 -0
  150. package/lib/commonjs/types/core/utils/utils.js.map +1 -0
  151. package/lib/commonjs/types/index.js +28 -0
  152. package/lib/commonjs/types/index.js.map +1 -0
  153. package/lib/module/Barcode.js +45 -0
  154. package/lib/module/Barcode.js.map +1 -0
  155. package/lib/module/ImageProcessor.js +19 -0
  156. package/lib/module/ImageProcessor.js.map +1 -0
  157. package/lib/module/Sdk.js +51 -0
  158. package/lib/module/Sdk.js.map +1 -0
  159. package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +10 -4
  160. package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
  161. package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
  162. package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
  163. package/lib/module/components/index.js +4 -0
  164. package/lib/module/components/index.js.map +1 -0
  165. package/lib/module/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
  166. package/lib/module/impl/BarcodeScannerImpl.js +53 -0
  167. package/lib/module/impl/BarcodeScannerImpl.js.map +1 -0
  168. package/lib/module/impl/ImageProcessorImpl.js +15 -0
  169. package/lib/module/impl/ImageProcessorImpl.js.map +1 -0
  170. package/lib/module/impl/SdkImpl.js +22 -0
  171. package/lib/module/impl/SdkImpl.js.map +1 -0
  172. package/lib/module/impl/index.js +4 -0
  173. package/lib/module/impl/index.js.map +1 -0
  174. package/lib/module/impl/scanbotBarcodeSDKModule.js +16 -0
  175. package/lib/module/impl/scanbotBarcodeSDKModule.js.map +1 -0
  176. package/lib/module/index.js +5 -119
  177. package/lib/module/index.js.map +1 -1
  178. package/lib/module/types/base/SdkConfiguration.js +100 -0
  179. package/lib/module/types/base/SdkConfiguration.js.map +1 -0
  180. package/lib/module/types/base/customTypes.js +2 -0
  181. package/lib/module/types/base/customTypes.js.map +1 -0
  182. package/lib/module/types/base/errors.js +119 -0
  183. package/lib/module/types/base/errors.js.map +1 -0
  184. package/lib/module/types/base/index.js +5 -0
  185. package/lib/module/types/base/index.js.map +1 -0
  186. package/lib/module/types/base/utils.js +52 -0
  187. package/lib/module/types/base/utils.js.map +1 -0
  188. package/lib/module/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -76
  189. package/lib/module/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
  190. package/lib/module/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +60 -9
  191. package/lib/module/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
  192. package/lib/module/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
  193. package/lib/module/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
  194. package/lib/module/{barcode → types/core/barcode}/BarcodeTypes.js +30 -11
  195. package/lib/module/types/core/barcode/BarcodeTypes.js.map +1 -0
  196. package/lib/module/types/core/barcode/index.js.map +1 -0
  197. package/lib/module/types/core/camera/Camera.js +17 -0
  198. package/lib/module/types/core/camera/Camera.js.map +1 -0
  199. package/lib/module/types/core/camera/index.js +2 -0
  200. package/lib/module/types/core/camera/index.js.map +1 -0
  201. package/lib/module/types/core/common/CommonTypes.js +23 -0
  202. package/lib/module/types/core/common/CommonTypes.js.map +1 -0
  203. package/lib/module/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -4
  204. package/lib/module/types/core/common/JsonSerializationTypes.js.map +1 -0
  205. package/lib/module/types/core/common/index.js +3 -0
  206. package/lib/module/types/core/common/index.js.map +1 -0
  207. package/lib/module/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1129 -159
  208. package/lib/module/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
  209. package/lib/module/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
  210. package/lib/module/types/core/generic_document/CommonFieldType.js.map +1 -0
  211. package/lib/module/{documents → types/core/generic_document}/GenericDocument.js +13 -18
  212. package/lib/module/types/core/generic_document/GenericDocument.js.map +1 -0
  213. package/lib/module/types/core/generic_document/index.js.map +1 -0
  214. package/lib/module/{utils → types/core}/geometry/Geometry.js +4 -9
  215. package/lib/module/types/core/geometry/Geometry.js.map +1 -0
  216. package/lib/module/types/core/geometry/index.js +2 -0
  217. package/lib/module/types/core/geometry/index.js.map +1 -0
  218. package/lib/module/{imageRef → types/core/image}/ImageRefTypes.js +156 -68
  219. package/lib/module/types/core/image/ImageRefTypes.js.map +1 -0
  220. package/lib/module/types/core/image/ImageTypes.js +35 -0
  221. package/lib/module/types/core/image/ImageTypes.js.map +1 -0
  222. package/lib/module/{imageRef → types/core/image}/image.js +54 -49
  223. package/lib/module/types/core/image/image.js.map +1 -0
  224. package/lib/module/{imageRef → types/core/image}/index.js +0 -1
  225. package/lib/module/types/core/image/index.js.map +1 -0
  226. package/lib/module/types/core/index.js +10 -0
  227. package/lib/module/types/core/index.js.map +1 -0
  228. package/lib/module/types/core/licensing/LicensingTypes.js +233 -0
  229. package/lib/module/types/core/licensing/LicensingTypes.js.map +1 -0
  230. package/lib/module/types/core/licensing/index.js +2 -0
  231. package/lib/module/types/core/licensing/index.js.map +1 -0
  232. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
  233. package/lib/module/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
  234. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -9
  235. package/lib/module/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
  236. package/lib/module/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
  237. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
  238. package/lib/module/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
  239. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -7
  240. package/lib/module/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
  241. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -4
  242. package/lib/module/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
  243. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
  244. package/lib/module/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
  245. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
  246. package/lib/module/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
  247. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
  248. package/lib/module/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
  249. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
  250. package/lib/module/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
  251. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
  252. package/lib/module/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
  253. package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js +17 -0
  254. package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
  255. package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -4
  256. package/lib/module/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
  257. package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -5
  258. package/lib/module/types/core/ui_v2/common/CameraPermission.js.map +1 -0
  259. package/lib/module/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -36
  260. package/lib/module/types/core/ui_v2/common/Common.js.map +1 -0
  261. package/lib/module/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
  262. package/lib/module/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
  263. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
  264. package/lib/module/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
  265. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
  266. package/lib/module/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
  267. package/lib/module/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
  268. package/lib/module/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
  269. package/lib/module/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
  270. package/lib/module/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
  271. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
  272. package/lib/module/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
  273. package/lib/module/{ui_v2 → types/core/ui_v2}/index.js +2 -2
  274. package/lib/module/types/core/ui_v2/index.js.map +1 -0
  275. package/lib/module/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -5
  276. package/lib/module/types/core/utils/ObjectPoolTypes.js.map +1 -0
  277. package/lib/module/types/core/utils/index.js +3 -0
  278. package/lib/module/types/core/utils/index.js.map +1 -0
  279. package/lib/module/types/core/utils/utils.js +8 -0
  280. package/lib/module/types/core/utils/utils.js.map +1 -0
  281. package/lib/module/types/index.js +3 -0
  282. package/lib/module/types/index.js.map +1 -0
  283. package/lib/typescript/src/Barcode.d.ts +47 -0
  284. package/lib/typescript/src/Barcode.d.ts.map +1 -0
  285. package/lib/typescript/src/ImageProcessor.d.ts +12 -0
  286. package/lib/typescript/src/ImageProcessor.d.ts.map +1 -0
  287. package/lib/typescript/src/Sdk.d.ts +58 -0
  288. package/lib/typescript/src/Sdk.d.ts.map +1 -0
  289. package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +1 -0
  290. package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts +17 -12
  291. package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +1 -0
  292. package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +1 -0
  293. package/lib/typescript/src/components/index.d.ts +4 -0
  294. package/lib/typescript/src/components/index.d.ts.map +1 -0
  295. package/lib/typescript/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts +6 -0
  296. package/lib/typescript/src/components/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +1 -0
  297. package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts +2 -0
  298. package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts.map +1 -0
  299. package/lib/typescript/src/impl/ImageProcessorImpl.d.ts +2 -0
  300. package/lib/typescript/src/impl/ImageProcessorImpl.d.ts.map +1 -0
  301. package/lib/typescript/src/impl/SdkImpl.d.ts +2 -0
  302. package/lib/typescript/src/impl/SdkImpl.d.ts.map +1 -0
  303. package/lib/typescript/src/impl/index.d.ts +4 -0
  304. package/lib/typescript/src/impl/index.d.ts.map +1 -0
  305. package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts +2 -0
  306. package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts.map +1 -0
  307. package/lib/typescript/src/index.d.ts +5 -66
  308. package/lib/typescript/src/index.d.ts.map +1 -1
  309. package/lib/typescript/src/types/base/SdkConfiguration.d.ts +74 -0
  310. package/lib/typescript/src/types/base/SdkConfiguration.d.ts.map +1 -0
  311. package/lib/typescript/src/types/base/customTypes.d.ts +15 -0
  312. package/lib/typescript/src/types/base/customTypes.d.ts.map +1 -0
  313. package/lib/typescript/src/types/base/errors.d.ts +55 -0
  314. package/lib/typescript/src/types/base/errors.d.ts.map +1 -0
  315. package/lib/typescript/src/types/base/index.d.ts +5 -0
  316. package/lib/typescript/src/types/base/index.d.ts.map +1 -0
  317. package/lib/typescript/src/types/base/utils.d.ts +3 -0
  318. package/lib/typescript/src/types/base/utils.d.ts.map +1 -0
  319. package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.d.ts +203 -36
  320. package/lib/typescript/src/types/core/barcode/BarcodeConfigurationTypes.d.ts.map +1 -0
  321. package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts +117 -0
  322. package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts.map +1 -0
  323. package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeScannerTypes.d.ts +68 -21
  324. package/lib/typescript/src/types/core/barcode/BarcodeScannerTypes.d.ts.map +1 -0
  325. package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeTypes.d.ts +390 -13
  326. package/lib/typescript/src/types/core/barcode/BarcodeTypes.d.ts.map +1 -0
  327. package/lib/typescript/src/types/core/barcode/index.d.ts.map +1 -0
  328. package/lib/typescript/src/types/core/camera/Camera.d.ts +26 -0
  329. package/lib/typescript/src/types/core/camera/Camera.d.ts.map +1 -0
  330. package/lib/typescript/src/types/core/camera/index.d.ts +2 -0
  331. package/lib/typescript/src/types/core/camera/index.d.ts.map +1 -0
  332. package/lib/typescript/src/types/core/common/CommonTypes.d.ts +36 -0
  333. package/lib/typescript/src/types/core/common/CommonTypes.d.ts.map +1 -0
  334. package/lib/typescript/src/{utils/json → types/core/common}/JsonSerializationTypes.d.ts +13 -4
  335. package/lib/typescript/src/types/core/common/JsonSerializationTypes.d.ts.map +1 -0
  336. package/lib/typescript/src/types/core/common/index.d.ts +3 -0
  337. package/lib/typescript/src/types/core/common/index.d.ts.map +1 -0
  338. package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts +2360 -0
  339. package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts.map +1 -0
  340. package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts +176 -0
  341. package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts.map +1 -0
  342. package/lib/typescript/src/{documents → types/core/generic_document}/GenericDocument.d.ts +82 -14
  343. package/lib/typescript/src/types/core/generic_document/GenericDocument.d.ts.map +1 -0
  344. package/lib/typescript/src/types/core/generic_document/index.d.ts.map +1 -0
  345. package/lib/typescript/src/{utils → types/core}/geometry/Geometry.d.ts +6 -5
  346. package/lib/typescript/src/types/core/geometry/Geometry.d.ts.map +1 -0
  347. package/lib/typescript/src/types/core/geometry/index.d.ts +2 -0
  348. package/lib/typescript/src/types/core/geometry/index.d.ts.map +1 -0
  349. package/lib/typescript/src/{imageRef → types/core/image}/ImageRefTypes.d.ts +208 -40
  350. package/lib/typescript/src/types/core/image/ImageRefTypes.d.ts.map +1 -0
  351. package/lib/typescript/src/types/core/image/ImageTypes.d.ts +63 -0
  352. package/lib/typescript/src/types/core/image/ImageTypes.d.ts.map +1 -0
  353. package/lib/typescript/src/{imageRef → types/core/image}/image.d.ts +6 -10
  354. package/lib/typescript/src/types/core/image/image.d.ts.map +1 -0
  355. package/lib/typescript/src/{imageRef → types/core/image}/index.d.ts +0 -1
  356. package/lib/typescript/src/types/core/image/index.d.ts.map +1 -0
  357. package/lib/typescript/src/types/core/index.d.ts +10 -0
  358. package/lib/typescript/src/types/core/index.d.ts.map +1 -0
  359. package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts +243 -0
  360. package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts.map +1 -0
  361. package/lib/typescript/src/types/core/licensing/index.d.ts +2 -0
  362. package/lib/typescript/src/types/core/licensing/index.d.ts.map +1 -0
  363. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.d.ts +27 -10
  364. package/lib/typescript/src/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +1 -0
  365. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.d.ts +6 -6
  366. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +1 -0
  367. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeItemMapper.d.ts.map +1 -0
  368. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.d.ts +14 -14
  369. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +1 -0
  370. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.d.ts +4 -4
  371. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +1 -0
  372. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.d.ts +2 -2
  373. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +1 -0
  374. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts +8 -0
  375. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts.map +1 -0
  376. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.d.ts +6 -6
  377. package/lib/typescript/src/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +1 -0
  378. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.d.ts +42 -15
  379. package/lib/typescript/src/types/core/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +1 -0
  380. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.d.ts +5 -5
  381. package/lib/typescript/src/types/core/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +1 -0
  382. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.d.ts +3 -3
  383. package/lib/typescript/src/types/core/ui_v2/common/ActionBarConfiguration.d.ts.map +1 -0
  384. package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts +26 -0
  385. package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts.map +1 -0
  386. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.d.ts +25 -5
  387. package/lib/typescript/src/types/core/ui_v2/common/CameraConfiguration.d.ts.map +1 -0
  388. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.d.ts +4 -4
  389. package/lib/typescript/src/types/core/ui_v2/common/CameraPermission.d.ts.map +1 -0
  390. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/Common.d.ts +55 -24
  391. package/lib/typescript/src/types/core/ui_v2/common/Common.d.ts.map +1 -0
  392. package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts +26 -0
  393. package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts.map +1 -0
  394. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.d.ts +3 -3
  395. package/lib/typescript/src/types/core/ui_v2/common/ScanCompletionOverlay.d.ts.map +1 -0
  396. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.d.ts +3 -3
  397. package/lib/typescript/src/types/core/ui_v2/common/ScanbotAlertDialog.d.ts.map +1 -0
  398. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.d.ts +33 -7
  399. package/lib/typescript/src/types/core/ui_v2/common/TopBarConfiguration.d.ts.map +1 -0
  400. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.d.ts +4 -4
  401. package/lib/typescript/src/types/core/ui_v2/common/UserGuidanceConfiguration.d.ts.map +1 -0
  402. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.d.ts +7 -7
  403. package/lib/typescript/src/types/core/ui_v2/common/ViewFinderConfiguration.d.ts.map +1 -0
  404. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/index.d.ts +2 -2
  405. package/lib/typescript/src/types/core/ui_v2/index.d.ts.map +1 -0
  406. package/lib/typescript/src/{imageRef → types/core/utils}/ObjectPoolTypes.d.ts +3 -3
  407. package/lib/typescript/src/types/core/utils/ObjectPoolTypes.d.ts.map +1 -0
  408. package/lib/typescript/src/types/core/utils/index.d.ts +3 -0
  409. package/lib/typescript/src/types/core/utils/index.d.ts.map +1 -0
  410. package/lib/typescript/src/types/core/utils/utils.d.ts +28 -0
  411. package/lib/typescript/src/types/core/utils/utils.d.ts.map +1 -0
  412. package/lib/typescript/src/types/index.d.ts +3 -0
  413. package/lib/typescript/src/types/index.d.ts.map +1 -0
  414. package/package.json +13 -13
  415. package/src/Barcode.ts +67 -0
  416. package/src/ImageProcessor.ts +18 -0
  417. package/src/Sdk.ts +53 -0
  418. package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.tsx +13 -4
  419. package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.ts +22 -14
  420. package/src/components/index.ts +3 -0
  421. package/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.ts +3 -0
  422. package/src/impl/BarcodeScannerImpl.ts +115 -0
  423. package/src/impl/ImageProcessorImpl.ts +14 -0
  424. package/src/impl/SdkImpl.ts +28 -0
  425. package/src/impl/index.ts +3 -0
  426. package/src/impl/scanbotBarcodeSDKModule.ts +22 -0
  427. package/src/index.ts +5 -178
  428. package/src/types/base/SdkConfiguration.ts +120 -0
  429. package/src/types/base/customTypes.ts +14 -0
  430. package/src/types/base/errors.ts +158 -0
  431. package/src/types/base/index.ts +4 -0
  432. package/src/types/base/utils.ts +53 -0
  433. package/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.ts +294 -83
  434. package/src/types/core/barcode/BarcodeDocumentTypes.ts +218 -0
  435. package/src/{barcode → types/core/barcode}/BarcodeScannerTypes.ts +91 -44
  436. package/src/{barcode → types/core/barcode}/BarcodeTypes.ts +315 -19
  437. package/src/types/core/camera/Camera.ts +33 -0
  438. package/src/types/core/camera/index.ts +1 -0
  439. package/src/types/core/common/CommonTypes.ts +43 -0
  440. package/src/{utils/json → types/core/common}/JsonSerializationTypes.ts +16 -5
  441. package/src/types/core/common/index.ts +2 -0
  442. package/src/{documents → types/core/generic_document}/BarcodeDocumentModel.ts +1524 -172
  443. package/src/{documents → types/core/generic_document}/CommonFieldType.ts +96 -7
  444. package/src/{documents → types/core/generic_document}/GenericDocument.ts +77 -28
  445. package/src/{utils → types/core}/geometry/Geometry.ts +6 -8
  446. package/src/types/core/geometry/index.ts +1 -0
  447. package/src/{imageRef → types/core/image}/ImageRefTypes.ts +277 -83
  448. package/src/types/core/image/ImageTypes.ts +78 -0
  449. package/src/{imageRef → types/core/image}/image.ts +44 -76
  450. package/src/{imageRef → types/core/image}/index.ts +0 -1
  451. package/src/types/core/index.ts +9 -0
  452. package/src/types/core/licensing/LicensingTypes.ts +377 -0
  453. package/src/types/core/licensing/index.ts +1 -0
  454. package/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.ts +28 -17
  455. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.ts +6 -9
  456. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.ts +18 -25
  457. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.ts +5 -7
  458. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.ts +2 -3
  459. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.ts +6 -5
  460. package/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.ts +17 -19
  461. package/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.ts +50 -25
  462. package/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.ts +9 -10
  463. package/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.ts +3 -4
  464. package/src/types/core/ui_v2/common/BottomBarConfiguration.ts +33 -0
  465. package/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.ts +33 -7
  466. package/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.ts +4 -5
  467. package/src/{ui_v2 → types/core/ui_v2}/common/Common.ts +62 -41
  468. package/src/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.ts +19 -2
  469. package/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.ts +3 -4
  470. package/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.ts +3 -4
  471. package/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.ts +37 -13
  472. package/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.ts +4 -6
  473. package/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.ts +15 -17
  474. package/src/{ui_v2 → types/core/ui_v2}/index.ts +2 -4
  475. package/src/{imageRef → types/core/utils}/ObjectPoolTypes.ts +3 -4
  476. package/src/types/core/utils/index.ts +2 -0
  477. package/src/types/core/utils/utils.ts +45 -0
  478. package/src/types/index.ts +2 -0
  479. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/IntExtensions.kt +0 -7
  480. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.h +0 -121
  481. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.m +0 -307
  482. package/lib/commonjs/barcode/BarcodeConfigurationTypes.js.map +0 -1
  483. package/lib/commonjs/barcode/BarcodeDocumentTypes.js.map +0 -1
  484. package/lib/commonjs/barcode/BarcodeScannerTypes.js.map +0 -1
  485. package/lib/commonjs/barcode/BarcodeTypes.js.map +0 -1
  486. package/lib/commonjs/barcode/index.js.map +0 -1
  487. package/lib/commonjs/base/barcodeSDKConfigurations.js.map +0 -1
  488. package/lib/commonjs/base/barcodeSDKTypes.js +0 -2
  489. package/lib/commonjs/base/barcodeSDKTypes.js.map +0 -1
  490. package/lib/commonjs/base/index.js +0 -28
  491. package/lib/commonjs/base/index.js.map +0 -1
  492. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
  493. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
  494. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
  495. package/lib/commonjs/component/barcode-camera-view/index.js.map +0 -1
  496. package/lib/commonjs/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
  497. package/lib/commonjs/documents/BarcodeDocumentModel.js.map +0 -1
  498. package/lib/commonjs/documents/CommonFieldType.js.map +0 -1
  499. package/lib/commonjs/documents/GenericDocument.js.map +0 -1
  500. package/lib/commonjs/documents/index.js.map +0 -1
  501. package/lib/commonjs/imageRef/ImageRefTypes.js.map +0 -1
  502. package/lib/commonjs/imageRef/ImageTypes.js +0 -24
  503. package/lib/commonjs/imageRef/ImageTypes.js.map +0 -1
  504. package/lib/commonjs/imageRef/ObjectPoolTypes.js.map +0 -1
  505. package/lib/commonjs/imageRef/image.js.map +0 -1
  506. package/lib/commonjs/imageRef/index.js.map +0 -1
  507. package/lib/commonjs/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
  508. package/lib/commonjs/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
  509. package/lib/commonjs/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
  510. package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -179
  511. package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
  512. package/lib/commonjs/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
  513. package/lib/commonjs/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
  514. package/lib/commonjs/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
  515. package/lib/commonjs/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
  516. package/lib/commonjs/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
  517. package/lib/commonjs/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
  518. package/lib/commonjs/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
  519. package/lib/commonjs/ui_v2/common/ActionBarConfiguration.js.map +0 -1
  520. package/lib/commonjs/ui_v2/common/CameraConfiguration.js.map +0 -1
  521. package/lib/commonjs/ui_v2/common/CameraPermission.js.map +0 -1
  522. package/lib/commonjs/ui_v2/common/Common.js.map +0 -1
  523. package/lib/commonjs/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
  524. package/lib/commonjs/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
  525. package/lib/commonjs/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
  526. package/lib/commonjs/ui_v2/common/TopBarConfiguration.js.map +0 -1
  527. package/lib/commonjs/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
  528. package/lib/commonjs/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
  529. package/lib/commonjs/ui_v2/index.js.map +0 -1
  530. package/lib/commonjs/utils/geometry/Geometry.js.map +0 -1
  531. package/lib/commonjs/utils/index.js +0 -39
  532. package/lib/commonjs/utils/index.js.map +0 -1
  533. package/lib/commonjs/utils/json/JsonSerializationTypes.js.map +0 -1
  534. package/lib/commonjs/utils/utils.js +0 -31
  535. package/lib/commonjs/utils/utils.js.map +0 -1
  536. package/lib/module/barcode/BarcodeConfigurationTypes.js.map +0 -1
  537. package/lib/module/barcode/BarcodeDocumentTypes.js.map +0 -1
  538. package/lib/module/barcode/BarcodeScannerTypes.js.map +0 -1
  539. package/lib/module/barcode/BarcodeTypes.js.map +0 -1
  540. package/lib/module/barcode/index.js.map +0 -1
  541. package/lib/module/base/barcodeSDKConfigurations.js +0 -2
  542. package/lib/module/base/barcodeSDKConfigurations.js.map +0 -1
  543. package/lib/module/base/barcodeSDKTypes.js +0 -2
  544. package/lib/module/base/barcodeSDKTypes.js.map +0 -1
  545. package/lib/module/base/index.js +0 -3
  546. package/lib/module/base/index.js.map +0 -1
  547. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
  548. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
  549. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
  550. package/lib/module/component/barcode-camera-view/index.js +0 -4
  551. package/lib/module/component/barcode-camera-view/index.js.map +0 -1
  552. package/lib/module/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
  553. package/lib/module/documents/BarcodeDocumentModel.js.map +0 -1
  554. package/lib/module/documents/CommonFieldType.js.map +0 -1
  555. package/lib/module/documents/GenericDocument.js.map +0 -1
  556. package/lib/module/documents/index.js.map +0 -1
  557. package/lib/module/imageRef/ImageRefTypes.js.map +0 -1
  558. package/lib/module/imageRef/ImageTypes.js +0 -18
  559. package/lib/module/imageRef/ImageTypes.js.map +0 -1
  560. package/lib/module/imageRef/ObjectPoolTypes.js.map +0 -1
  561. package/lib/module/imageRef/image.js.map +0 -1
  562. package/lib/module/imageRef/index.js.map +0 -1
  563. package/lib/module/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
  564. package/lib/module/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
  565. package/lib/module/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
  566. package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -173
  567. package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
  568. package/lib/module/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
  569. package/lib/module/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
  570. package/lib/module/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
  571. package/lib/module/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
  572. package/lib/module/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
  573. package/lib/module/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
  574. package/lib/module/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
  575. package/lib/module/ui_v2/common/ActionBarConfiguration.js.map +0 -1
  576. package/lib/module/ui_v2/common/CameraConfiguration.js.map +0 -1
  577. package/lib/module/ui_v2/common/CameraPermission.js.map +0 -1
  578. package/lib/module/ui_v2/common/Common.js.map +0 -1
  579. package/lib/module/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
  580. package/lib/module/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
  581. package/lib/module/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
  582. package/lib/module/ui_v2/common/TopBarConfiguration.js.map +0 -1
  583. package/lib/module/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
  584. package/lib/module/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
  585. package/lib/module/ui_v2/index.js.map +0 -1
  586. package/lib/module/utils/geometry/Geometry.js.map +0 -1
  587. package/lib/module/utils/index.js +0 -4
  588. package/lib/module/utils/index.js.map +0 -1
  589. package/lib/module/utils/json/JsonSerializationTypes.js.map +0 -1
  590. package/lib/module/utils/utils.js +0 -22
  591. package/lib/module/utils/utils.js.map +0 -1
  592. package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts.map +0 -1
  593. package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts +0 -50
  594. package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts.map +0 -1
  595. package/lib/typescript/src/barcode/BarcodeScannerTypes.d.ts.map +0 -1
  596. package/lib/typescript/src/barcode/BarcodeTypes.d.ts.map +0 -1
  597. package/lib/typescript/src/barcode/index.d.ts.map +0 -1
  598. package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts +0 -60
  599. package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts.map +0 -1
  600. package/lib/typescript/src/base/barcodeSDKTypes.d.ts +0 -46
  601. package/lib/typescript/src/base/barcodeSDKTypes.d.ts.map +0 -1
  602. package/lib/typescript/src/base/index.d.ts +0 -3
  603. package/lib/typescript/src/base/index.d.ts.map +0 -1
  604. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +0 -1
  605. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +0 -1
  606. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +0 -1
  607. package/lib/typescript/src/component/barcode-camera-view/index.d.ts +0 -4
  608. package/lib/typescript/src/component/barcode-camera-view/index.d.ts.map +0 -1
  609. package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +0 -1
  610. package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts +0 -1458
  611. package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts.map +0 -1
  612. package/lib/typescript/src/documents/CommonFieldType.d.ts +0 -61
  613. package/lib/typescript/src/documents/CommonFieldType.d.ts.map +0 -1
  614. package/lib/typescript/src/documents/GenericDocument.d.ts.map +0 -1
  615. package/lib/typescript/src/documents/index.d.ts.map +0 -1
  616. package/lib/typescript/src/imageRef/ImageRefTypes.d.ts.map +0 -1
  617. package/lib/typescript/src/imageRef/ImageTypes.d.ts +0 -15
  618. package/lib/typescript/src/imageRef/ImageTypes.d.ts.map +0 -1
  619. package/lib/typescript/src/imageRef/ObjectPoolTypes.d.ts.map +0 -1
  620. package/lib/typescript/src/imageRef/image.d.ts.map +0 -1
  621. package/lib/typescript/src/imageRef/index.d.ts.map +0 -1
  622. package/lib/typescript/src/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +0 -1
  623. package/lib/typescript/src/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +0 -1
  624. package/lib/typescript/src/ui_v2/barcode/BarcodeItemMapper.d.ts.map +0 -1
  625. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts +0 -114
  626. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts.map +0 -1
  627. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +0 -1
  628. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +0 -1
  629. package/lib/typescript/src/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +0 -1
  630. package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts +0 -8
  631. package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts.map +0 -1
  632. package/lib/typescript/src/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +0 -1
  633. package/lib/typescript/src/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +0 -1
  634. package/lib/typescript/src/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +0 -1
  635. package/lib/typescript/src/ui_v2/common/ActionBarConfiguration.d.ts.map +0 -1
  636. package/lib/typescript/src/ui_v2/common/CameraConfiguration.d.ts.map +0 -1
  637. package/lib/typescript/src/ui_v2/common/CameraPermission.d.ts.map +0 -1
  638. package/lib/typescript/src/ui_v2/common/Common.d.ts.map +0 -1
  639. package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts +0 -13
  640. package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts.map +0 -1
  641. package/lib/typescript/src/ui_v2/common/ScanCompletionOverlay.d.ts.map +0 -1
  642. package/lib/typescript/src/ui_v2/common/ScanbotAlertDialog.d.ts.map +0 -1
  643. package/lib/typescript/src/ui_v2/common/TopBarConfiguration.d.ts.map +0 -1
  644. package/lib/typescript/src/ui_v2/common/UserGuidanceConfiguration.d.ts.map +0 -1
  645. package/lib/typescript/src/ui_v2/common/ViewFinderConfiguration.d.ts.map +0 -1
  646. package/lib/typescript/src/ui_v2/index.d.ts.map +0 -1
  647. package/lib/typescript/src/utils/geometry/Geometry.d.ts.map +0 -1
  648. package/lib/typescript/src/utils/index.d.ts +0 -4
  649. package/lib/typescript/src/utils/index.d.ts.map +0 -1
  650. package/lib/typescript/src/utils/json/JsonSerializationTypes.d.ts.map +0 -1
  651. package/lib/typescript/src/utils/utils.d.ts +0 -17
  652. package/lib/typescript/src/utils/utils.d.ts.map +0 -1
  653. package/src/barcode/BarcodeDocumentTypes.ts +0 -120
  654. package/src/base/barcodeSDKConfigurations.ts +0 -70
  655. package/src/base/barcodeSDKTypes.ts +0 -44
  656. package/src/base/index.ts +0 -2
  657. package/src/component/barcode-camera-view/index.ts +0 -3
  658. package/src/imageRef/ImageTypes.ts +0 -23
  659. package/src/ui_v2/barcode/BarcodeScannerConfiguration.ts +0 -207
  660. package/src/utils/index.ts +0 -3
  661. package/src/utils/utils.ts +0 -42
  662. /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
  663. /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
  664. /package/lib/commonjs/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
  665. /package/lib/commonjs/{barcode → types/core/barcode}/index.js +0 -0
  666. /package/lib/commonjs/{documents → types/core/generic_document}/index.js +0 -0
  667. /package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
  668. /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
  669. /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
  670. /package/lib/module/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
  671. /package/lib/module/{barcode → types/core/barcode}/index.js +0 -0
  672. /package/lib/module/{documents → types/core/generic_document}/index.js +0 -0
  673. /package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
  674. /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.d.ts +0 -0
  675. /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts +0 -0
  676. /package/lib/typescript/src/{barcode → types/core/barcode}/index.d.ts +0 -0
  677. /package/lib/typescript/src/{documents → types/core/generic_document}/index.d.ts +0 -0
  678. /package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.d.ts +0 -0
  679. /package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.ts +0 -0
  680. /package/src/{barcode → types/core/barcode}/index.ts +0 -0
  681. /package/src/{documents → types/core/generic_document}/index.ts +0 -0
  682. /package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.ts +0 -0
@@ -1,13 +1,13 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/ArTrackingOverlayConfiguration.yaml
3
3
 
4
- import { BackgroundStyle, BadgeStyle, PolygonStyle, StyledText } from '../../ui_v2/common/Common';
5
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
4
+ import { DeepPartial } from '../../utils/utils';
5
+ import { BackgroundStyle, BadgeStyle, PolygonStyle, StyledText } from '../common/Common';
6
6
 
7
7
  /**
8
8
  Configuration of the overlay polygon displayed on top of a barcode in the camera preview.
9
9
  */
10
- export class ArOverlayPolygonConfiguration extends PartiallyConstructible {
10
+ export class ArOverlayPolygonConfiguration {
11
11
  /**
12
12
  Control the visibility of the overlay polygon.
13
13
 
@@ -35,7 +35,6 @@ export class ArOverlayPolygonConfiguration extends PartiallyConstructible {
35
35
 
36
36
  /** @param source {@displayType `DeepPartial<ArOverlayPolygonConfiguration>`} */
37
37
  public constructor(source: DeepPartial<ArOverlayPolygonConfiguration> = {}) {
38
- super();
39
38
  if (source.visible !== undefined) {
40
39
  this.visible = source.visible;
41
40
  }
@@ -60,19 +59,36 @@ Where to display the barcode info box in the camera preview.
60
59
  - `ABOVE`:
61
60
  Display the barcode info box above the overlay polygon.
62
61
  */
63
- export type BarcodeItemInfoPosition = 'DISABLED' | 'STACKED' | 'BELOW' | 'ABOVE';
62
+ export type BarcodeItemInfoPosition =
63
+ /**
64
+ Don't display any barcode info.
65
+ */
66
+ | 'DISABLED'
67
+ /**
68
+ Display the barcode info box in the center of the overlay polygon.
69
+ */
70
+ | 'STACKED'
71
+ /**
72
+ Display the barcode info box below the overlay polygon.
73
+ */
74
+ | 'BELOW'
75
+ /**
76
+ Display the barcode info box above the overlay polygon.
77
+ */
78
+ | 'ABOVE';
64
79
 
65
- export const BarcodeItemInfoPositionValues: BarcodeItemInfoPosition[] = [
80
+ /** @hidden */
81
+ export const BarcodeItemInfoPositionValues: ReadonlyArray<BarcodeItemInfoPosition> = [
66
82
  'DISABLED',
67
83
  'STACKED',
68
84
  'BELOW',
69
85
  'ABOVE',
70
- ];
86
+ ] as const;
71
87
 
72
88
  /**
73
89
  Configuration of the barcode info box displayed in the camera preview.
74
90
  */
75
- export class BarcodeItemConfiguration extends PartiallyConstructible {
91
+ export class BarcodeItemConfiguration {
76
92
  /**
77
93
  Control the visibility of the barcode image in the info box.
78
94
 
@@ -128,7 +144,6 @@ export class BarcodeItemConfiguration extends PartiallyConstructible {
128
144
 
129
145
  /** @param source {@displayType `DeepPartial<BarcodeItemConfiguration>`} */
130
146
  public constructor(source: DeepPartial<BarcodeItemConfiguration> = {}) {
131
- super();
132
147
  if (source.imageVisible !== undefined) {
133
148
  this.imageVisible = source.imageVisible;
134
149
  }
@@ -156,7 +171,7 @@ export class BarcodeItemConfiguration extends PartiallyConstructible {
156
171
  /**
157
172
  Configuration of the AR overlay displayed on top of barcodes in the camera preview.
158
173
  */
159
- export class ArOverlayGeneralConfiguration extends PartiallyConstructible {
174
+ export class ArOverlayGeneralConfiguration {
160
175
  /**
161
176
  Control the visibility of the user guidance.
162
177
 
@@ -221,7 +236,6 @@ export class ArOverlayGeneralConfiguration extends PartiallyConstructible {
221
236
 
222
237
  /** @param source {@displayType `DeepPartial<ArOverlayGeneralConfiguration>`} */
223
238
  public constructor(source: DeepPartial<ArOverlayGeneralConfiguration> = {}) {
224
- super();
225
239
  if (source.visible !== undefined) {
226
240
  this.visible = source.visible;
227
241
  }
@@ -246,7 +260,7 @@ export class ArOverlayGeneralConfiguration extends PartiallyConstructible {
246
260
  /**
247
261
  Configuration of the overlay polygon displayed on top of a barcode in the camera preview.
248
262
  */
249
- export class FindAndPickArOverlayPolygonConfiguration extends PartiallyConstructible {
263
+ export class FindAndPickArOverlayPolygonConfiguration {
250
264
  /**
251
265
  Control the visibility of the overlay polygon.
252
266
 
@@ -283,7 +297,6 @@ export class FindAndPickArOverlayPolygonConfiguration extends PartiallyConstruct
283
297
 
284
298
  /** @param source {@displayType `DeepPartial<FindAndPickArOverlayPolygonConfiguration>`} */
285
299
  public constructor(source: DeepPartial<FindAndPickArOverlayPolygonConfiguration> = {}) {
286
- super();
287
300
  if (source.visible !== undefined) {
288
301
  this.visible = source.visible;
289
302
  }
@@ -302,7 +315,7 @@ export class FindAndPickArOverlayPolygonConfiguration extends PartiallyConstruct
302
315
  /**
303
316
  Configuration of the round badge on find and pick ar layer.
304
317
  */
305
- export class FindAndPickBadgeConfiguration extends PartiallyConstructible {
318
+ export class FindAndPickBadgeConfiguration {
306
319
  /**
307
320
  Appearance of the badge when a barcode is partially scanned.
308
321
  */
@@ -342,7 +355,6 @@ export class FindAndPickBadgeConfiguration extends PartiallyConstructible {
342
355
 
343
356
  /** @param source {@displayType `DeepPartial<FindAndPickBadgeConfiguration>`} */
344
357
  public constructor(source: DeepPartial<FindAndPickBadgeConfiguration> = {}) {
345
- super();
346
358
  if (source.partiallyScanned !== undefined) {
347
359
  this.partiallyScanned = new BadgeStyle(source.partiallyScanned);
348
360
  }
@@ -358,7 +370,7 @@ export class FindAndPickBadgeConfiguration extends PartiallyConstructible {
358
370
  /**
359
371
  Configuration of the AR overlay.
360
372
  */
361
- export class ArOverlayFindAndPickConfiguration extends PartiallyConstructible {
373
+ export class ArOverlayFindAndPickConfiguration {
362
374
  /**
363
375
  Control the visibility of the user guidance.
364
376
 
@@ -383,7 +395,6 @@ export class ArOverlayFindAndPickConfiguration extends PartiallyConstructible {
383
395
 
384
396
  /** @param source {@displayType `DeepPartial<ArOverlayFindAndPickConfiguration>`} */
385
397
  public constructor(source: DeepPartial<ArOverlayFindAndPickConfiguration> = {}) {
386
- super();
387
398
  if (source.visible !== undefined) {
388
399
  this.visible = source.visible;
389
400
  }
@@ -1,14 +1,14 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/BarcodeInfoMapping.yaml
3
3
 
4
- import { BarcodeItemMapper } from '../../ui_v2/barcode/BarcodeItemMapper';
5
- import { ButtonConfiguration, StyledText } from '../../ui_v2/common/Common';
6
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
4
+ import { DeepPartial } from '../../utils/utils';
5
+ import { ButtonConfiguration, StyledText } from '../common/Common';
6
+ import { BarcodeItemMapper } from './BarcodeItemMapper';
7
7
 
8
8
  /**
9
9
  Configuration of the mapper's error dialog.
10
10
  */
11
- export class BarcodeItemErrorState extends PartiallyConstructible {
11
+ export class BarcodeItemErrorState {
12
12
  /**
13
13
  Title displayed above the error message.
14
14
  */
@@ -34,7 +34,6 @@ export class BarcodeItemErrorState extends PartiallyConstructible {
34
34
 
35
35
  /** @param source {@displayType `DeepPartial<BarcodeItemErrorState>`} */
36
36
  public constructor(source: DeepPartial<BarcodeItemErrorState> = {}) {
37
- super();
38
37
  if (source.title !== undefined) {
39
38
  this.title = new StyledText(source.title);
40
39
  }
@@ -53,7 +52,7 @@ export class BarcodeItemErrorState extends PartiallyConstructible {
53
52
  /**
54
53
  Format of the mapped barcode data.
55
54
  */
56
- export class BarcodeMappedData extends PartiallyConstructible {
55
+ export class BarcodeMappedData {
57
56
  /**
58
57
  Title of the barcode.
59
58
  */
@@ -69,7 +68,6 @@ export class BarcodeMappedData extends PartiallyConstructible {
69
68
 
70
69
  /** @param source {@displayType `DeepPartial<BarcodeMappedData>`} */
71
70
  public constructor(source: DeepPartial<BarcodeMappedData> = {}) {
72
- super();
73
71
  if (source.title !== undefined) {
74
72
  this.title = source.title;
75
73
  } else {
@@ -100,7 +98,7 @@ export namespace BarcodeMappedData {
100
98
  /**
101
99
  Configuration of the barcode data mapping.
102
100
  */
103
- export class BarcodeInfoMapping extends PartiallyConstructible {
101
+ export class BarcodeInfoMapping {
104
102
  /**
105
103
  Callback to map the barcode data to the data of the corresponding product.
106
104
  */
@@ -137,7 +135,6 @@ export class BarcodeInfoMapping extends PartiallyConstructible {
137
135
 
138
136
  /** @param source {@displayType `DeepPartial<BarcodeInfoMapping>`} */
139
137
  public constructor(source: DeepPartial<BarcodeInfoMapping> = {}) {
140
- super();
141
138
  if (source.barcodeItemMapper !== undefined) {
142
139
  this.barcodeItemMapper = source.barcodeItemMapper != null ? source.barcodeItemMapper : null;
143
140
  }
@@ -1,13 +1,12 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/BarcodeScannerScreenConfiguration.yaml
3
3
 
4
- import { CommonBarcodeScannerConfiguration } from '../../ui_v2/barcode/BarcodeScannerConfiguration';
5
- import { BarcodeTextLocalization } from '../../ui_v2/barcode/BarcodeTextLocalization';
6
- import { BarcodeUseCase } from '../../ui_v2/barcode/BarcodeUseCase';
7
- import { SingleScanningMode } from '../../ui_v2/barcode/SingleScanningModeUseCase';
8
- import { ActionBarConfiguration } from '../../ui_v2/common/ActionBarConfiguration';
9
- import { CameraConfiguration } from '../../ui_v2/common/CameraConfiguration';
10
- import { CameraPermissionScreen } from '../../ui_v2/common/CameraPermission';
4
+ import { BarcodeScannerConfiguration } from '../../barcode/BarcodeScannerTypes';
5
+ import { AspectRatio } from '../../geometry/Geometry';
6
+ import { DeepPartial } from '../../utils/utils';
7
+ import { ActionBarConfiguration } from '../common/ActionBarConfiguration';
8
+ import { CameraConfiguration } from '../common/CameraConfiguration';
9
+ import { CameraPermissionScreen } from '../common/CameraPermission';
11
10
  import {
12
11
  BackgroundStyle,
13
12
  ButtonConfiguration,
@@ -19,20 +18,18 @@ import {
19
18
  StyledText,
20
19
  Timeouts,
21
20
  Vibration,
22
- } from '../../ui_v2/common/Common';
23
- import { TopBarConfiguration } from '../../ui_v2/common/TopBarConfiguration';
24
- import { UserGuidanceConfiguration } from '../../ui_v2/common/UserGuidanceConfiguration';
25
- import {
26
- FinderCorneredStyle,
27
- ViewFinderConfiguration,
28
- } from '../../ui_v2/common/ViewFinderConfiguration';
29
- import { AspectRatio } from '../../utils/geometry/Geometry';
30
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
21
+ } from '../common/Common';
22
+ import { TopBarConfiguration } from '../common/TopBarConfiguration';
23
+ import { UserGuidanceConfiguration } from '../common/UserGuidanceConfiguration';
24
+ import { FinderCorneredStyle, ViewFinderConfiguration } from '../common/ViewFinderConfiguration';
25
+ import { BarcodeTextLocalization } from './BarcodeTextLocalization';
26
+ import { BarcodeUseCase } from './BarcodeUseCase';
27
+ import { SingleScanningMode } from './SingleScanningModeUseCase';
31
28
 
32
29
  /**
33
30
  Configuration of the barcode scanner screen.
34
31
  */
35
- export class BarcodeScannerScreenConfiguration extends PartiallyConstructible {
32
+ export class BarcodeScannerScreenConfiguration {
36
33
  /**
37
34
  Version number of the configuration object.
38
35
 
@@ -208,8 +205,7 @@ export class BarcodeScannerScreenConfiguration extends PartiallyConstructible {
208
205
  /**
209
206
  Configuration of the scanning behavior.
210
207
  */
211
- public scannerConfiguration: CommonBarcodeScannerConfiguration =
212
- new CommonBarcodeScannerConfiguration({});
208
+ public scannerConfiguration: BarcodeScannerConfiguration = new BarcodeScannerConfiguration({});
213
209
  /**
214
210
  Configuration of the barcode scanner screen's behavior.
215
211
  */
@@ -227,7 +223,7 @@ export class BarcodeScannerScreenConfiguration extends PartiallyConstructible {
227
223
  */
228
224
  public timeouts: Timeouts = new Timeouts({ autoCancelTimeout: 0, initialScanDelay: 0 });
229
225
  /**
230
- If enabled, the screen will not turn off while the barcode scanner is active. (Android only).
226
+ If enabled, the screen will not turn off while the barcode scanner is active.
231
227
 
232
228
  Default is true
233
229
  */
@@ -235,7 +231,6 @@ export class BarcodeScannerScreenConfiguration extends PartiallyConstructible {
235
231
 
236
232
  /** @param source {@displayType `DeepPartial<BarcodeScannerScreenConfiguration>`} */
237
233
  public constructor(source: DeepPartial<BarcodeScannerScreenConfiguration> = {}) {
238
- super();
239
234
  if (source.version !== undefined) {
240
235
  this.version = source.version;
241
236
  }
@@ -270,12 +265,10 @@ export class BarcodeScannerScreenConfiguration extends PartiallyConstructible {
270
265
  this.cameraConfiguration = new CameraConfiguration(source.cameraConfiguration);
271
266
  }
272
267
  if (source.scannerConfiguration !== undefined) {
273
- this.scannerConfiguration = new CommonBarcodeScannerConfiguration(
274
- source.scannerConfiguration
275
- );
268
+ this.scannerConfiguration = new BarcodeScannerConfiguration(source.scannerConfiguration);
276
269
  }
277
270
  if (source.useCase !== undefined) {
278
- this.useCase = BarcodeUseCase.From(source.useCase);
271
+ this.useCase = BarcodeUseCase.from(source.useCase);
279
272
  }
280
273
  if (source.sound !== undefined) {
281
274
  this.sound = new Sound(source.sound);
@@ -2,13 +2,13 @@
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/BarcodeScannerUIResult.yaml
3
3
 
4
4
  import { BarcodeItem } from '../../barcode/BarcodeScannerTypes';
5
- import { ToJsonConfiguration } from '../../utils/json/JsonSerializationTypes';
6
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
5
+ import { ToJsonConfiguration } from '../../common/JsonSerializationTypes';
6
+ import { DeepPartial } from '../../utils/utils';
7
7
 
8
8
  /**
9
9
  Data about the scanned barcode.
10
10
  */
11
- export class BarcodeScannerUiItem extends PartiallyConstructible {
11
+ export class BarcodeScannerUiItem {
12
12
  /**
13
13
  Scanned barcode.
14
14
  */
@@ -20,7 +20,6 @@ export class BarcodeScannerUiItem extends PartiallyConstructible {
20
20
 
21
21
  /** @param source {@displayType `DeepPartial<BarcodeScannerUiItem>`} */
22
22
  public constructor(source: DeepPartial<BarcodeScannerUiItem> = {}) {
23
- super();
24
23
  if (source.barcode !== undefined) {
25
24
  this.barcode = new BarcodeItem(source.barcode);
26
25
  } else {
@@ -60,7 +59,7 @@ export class BarcodeScannerUiItem extends PartiallyConstructible {
60
59
  /**
61
60
  Results of the barcode scan.
62
61
  */
63
- export class BarcodeScannerUiResult extends PartiallyConstructible {
62
+ export class BarcodeScannerUiResult {
64
63
  /**
65
64
  Selected zoom factor for the camera.
66
65
 
@@ -74,12 +73,11 @@ export class BarcodeScannerUiResult extends PartiallyConstructible {
74
73
 
75
74
  /** @param source {@displayType `DeepPartial<BarcodeScannerUiResult>`} */
76
75
  public constructor(source: DeepPartial<BarcodeScannerUiResult> = {}) {
77
- super();
78
76
  if (source.selectedZoomFactor !== undefined) {
79
77
  this.selectedZoomFactor = source.selectedZoomFactor;
80
78
  }
81
79
  if (source.items !== undefined) {
82
- this.items = source.items.map((it: any) => {
80
+ this.items = source.items.map((it: DeepPartial<BarcodeScannerUiItem>) => {
83
81
  return new BarcodeScannerUiItem(it);
84
82
  });
85
83
  }
@@ -1,12 +1,12 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/BarcodeTextLocalization.yaml
3
3
 
4
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
4
+ import { DeepPartial } from '../../utils/utils';
5
5
 
6
6
  /**
7
7
  Configuration of the all strings for barcode scanner.
8
8
  */
9
- export class BarcodeTextLocalization extends PartiallyConstructible {
9
+ export class BarcodeTextLocalization {
10
10
  /**
11
11
  Cancel button text for the top bar.
12
12
 
@@ -257,7 +257,6 @@ export class BarcodeTextLocalization extends PartiallyConstructible {
257
257
 
258
258
  /** @param source {@displayType `DeepPartial<BarcodeTextLocalization>`} */
259
259
  public constructor(source: DeepPartial<BarcodeTextLocalization> = {}) {
260
- super();
261
260
  if (source.topBarCancelButton !== undefined) {
262
261
  this.topBarCancelButton = source.topBarCancelButton;
263
262
  }
@@ -1,9 +1,10 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/BarcodeUseCase.yaml
3
3
 
4
- import { FindAndPickScanningMode } from '../../ui_v2/barcode/FindAndPickScanningModeUseCase';
5
- import { MultipleScanningMode } from '../../ui_v2/barcode/MultipleScanningModeUseCase';
6
- import { SingleScanningMode } from '../../ui_v2/barcode/SingleScanningModeUseCase';
4
+ import { DeepPartial } from '../../utils/utils';
5
+ import { FindAndPickScanningMode } from './FindAndPickScanningModeUseCase';
6
+ import { MultipleScanningMode } from './MultipleScanningModeUseCase';
7
+ import { SingleScanningMode } from './SingleScanningModeUseCase';
7
8
 
8
9
  /**
9
10
  Configuration of the barcode scanner screen's behavior.
@@ -12,7 +13,7 @@ export type BarcodeUseCase = SingleScanningMode | MultipleScanningMode | FindAnd
12
13
  /** @internal */
13
14
  export namespace BarcodeUseCase {
14
15
  /** @internal */
15
- export function From(source: { [key: string]: any }): BarcodeUseCase {
16
+ export function from(source: DeepPartial<BarcodeUseCase>): BarcodeUseCase {
16
17
  const _type = source._type;
17
18
  switch (_type) {
18
19
  case 'SingleScanningMode':
@@ -22,7 +23,7 @@ export namespace BarcodeUseCase {
22
23
  case 'FindAndPickScanningMode':
23
24
  return new FindAndPickScanningMode(source);
24
25
  default:
25
- throw `Unknown child class name: ${_type}`;
26
+ throw new Error(`Unknown child class name: ${_type}`);
26
27
  }
27
28
  }
28
29
  }
@@ -1,17 +1,7 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/FindAndPickScanningModeUseCase.yaml
3
3
 
4
- import {
5
- ArOverlayFindAndPickConfiguration,
6
- FindAndPickArOverlayPolygonConfiguration,
7
- FindAndPickBadgeConfiguration,
8
- } from '../../ui_v2/barcode/ArTrackingOverlayConfiguration';
9
- import {
10
- ManualCountEditDialog,
11
- Sheet,
12
- SheetContent,
13
- SwipeToDelete,
14
- } from '../../ui_v2/barcode/MultipleScanningModeUseCase';
4
+ import { DeepPartial } from '../../utils/utils';
15
5
  import {
16
6
  BackgroundStyle,
17
7
  BadgeStyle,
@@ -21,14 +11,24 @@ import {
21
11
  IconStyle,
22
12
  PolygonStyle,
23
13
  StyledText,
24
- } from '../../ui_v2/common/Common';
25
- import { ScanbotAlertDialog } from '../../ui_v2/common/ScanbotAlertDialog';
26
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
14
+ } from '../common/Common';
15
+ import { ScanbotAlertDialog } from '../common/ScanbotAlertDialog';
16
+ import {
17
+ ArOverlayFindAndPickConfiguration,
18
+ FindAndPickArOverlayPolygonConfiguration,
19
+ FindAndPickBadgeConfiguration,
20
+ } from './ArTrackingOverlayConfiguration';
21
+ import {
22
+ ManualCountEditDialog,
23
+ Sheet,
24
+ SheetContent,
25
+ SwipeToDelete,
26
+ } from './MultipleScanningModeUseCase';
27
27
 
28
28
  /**
29
29
  Configuration of the barcode to find and scan.
30
30
  */
31
- export class ExpectedBarcode extends PartiallyConstructible {
31
+ export class ExpectedBarcode {
32
32
  /**
33
33
  Value of the barcode to find. If not set, any barcode value will be accepted.
34
34
  */
@@ -50,7 +50,6 @@ export class ExpectedBarcode extends PartiallyConstructible {
50
50
 
51
51
  /** @param source {@displayType `DeepPartial<ExpectedBarcode>`} */
52
52
  public constructor(source: DeepPartial<ExpectedBarcode> = {}) {
53
- super();
54
53
  if (source.barcodeValue !== undefined) {
55
54
  this.barcodeValue = source.barcodeValue;
56
55
  } else {
@@ -80,7 +79,7 @@ export namespace ExpectedBarcode {
80
79
  /**
81
80
  Configuration of the Find and Pick barcode scanning mode.
82
81
  */
83
- export class FindAndPickScanningMode extends PartiallyConstructible {
82
+ export class FindAndPickScanningMode {
84
83
  public readonly _type: 'FindAndPickScanningMode' = 'FindAndPickScanningMode';
85
84
  /**
86
85
  Color of the selected barcode.
@@ -403,7 +402,6 @@ export class FindAndPickScanningMode extends PartiallyConstructible {
403
402
 
404
403
  /** @param source {@displayType `DeepPartial<FindAndPickScanningMode>`} */
405
404
  public constructor(source: DeepPartial<FindAndPickScanningMode> = {}) {
406
- super();
407
405
  if (source.scanningCompletedColor !== undefined) {
408
406
  this.scanningCompletedColor = source.scanningCompletedColor;
409
407
  }
@@ -417,7 +415,7 @@ export class FindAndPickScanningMode extends PartiallyConstructible {
417
415
  this.allowPartialScan = source.allowPartialScan;
418
416
  }
419
417
  if (source.expectedBarcodes !== undefined) {
420
- this.expectedBarcodes = source.expectedBarcodes.map((it: any) => {
418
+ this.expectedBarcodes = source.expectedBarcodes.map((it: DeepPartial<ExpectedBarcode>) => {
421
419
  return new ExpectedBarcode(it);
422
420
  });
423
421
  }
@@ -1,12 +1,7 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from rtu-ui-v2/schemas/barcode/MultipleScanningModeUseCase.yaml
3
3
 
4
- import {
5
- ArOverlayGeneralConfiguration,
6
- ArOverlayPolygonConfiguration,
7
- BarcodeItemConfiguration,
8
- } from '../../ui_v2/barcode/ArTrackingOverlayConfiguration';
9
- import { BarcodeInfoMapping, BarcodeItemErrorState } from '../../ui_v2/barcode/BarcodeInfoMapping';
4
+ import { DeepPartial } from '../../utils/utils';
10
5
  import {
11
6
  BackgroundStyle,
12
7
  BadgeStyle,
@@ -16,8 +11,13 @@ import {
16
11
  IconStyle,
17
12
  PolygonStyle,
18
13
  StyledText,
19
- } from '../../ui_v2/common/Common';
20
- import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
14
+ } from '../common/Common';
15
+ import {
16
+ ArOverlayGeneralConfiguration,
17
+ ArOverlayPolygonConfiguration,
18
+ BarcodeItemConfiguration,
19
+ } from './ArTrackingOverlayConfiguration';
20
+ import { BarcodeInfoMapping, BarcodeItemErrorState } from './BarcodeInfoMapping';
21
21
 
22
22
  /**
23
23
  Configuration of the mode used for scanning multiple barcodes.
@@ -27,12 +27,21 @@ Configuration of the mode used for scanning multiple barcodes.
27
27
  - `UNIQUE`:
28
28
  Only scan barcodes with unique values. Subsequent barcodes with the same values will be ignored.
29
29
  */
30
- export type MultipleBarcodesScanningMode = 'COUNTING' | 'UNIQUE';
30
+ export type MultipleBarcodesScanningMode =
31
+ /**
32
+ Scan barcodes even if they have the same value and count the number of repeated barcodes.
33
+ */
34
+ | 'COUNTING'
35
+ /**
36
+ Only scan barcodes with unique values. Subsequent barcodes with the same values will be ignored.
37
+ */
38
+ | 'UNIQUE';
31
39
 
32
- export const MultipleBarcodesScanningModeValues: MultipleBarcodesScanningMode[] = [
40
+ /** @hidden */
41
+ export const MultipleBarcodesScanningModeValues: ReadonlyArray<MultipleBarcodesScanningMode> = [
33
42
  'COUNTING',
34
43
  'UNIQUE',
35
- ];
44
+ ] as const;
36
45
 
37
46
  /**
38
47
  Configuration of the barcode result sheet's default visibility state.
@@ -42,9 +51,18 @@ Configuration of the barcode result sheet's default visibility state.
42
51
  - `COLLAPSED_SHEET`:
43
52
  Result sheet is visible and collapsed and can be expanded by dragging it up.
44
53
  */
45
- export type SheetMode = 'BUTTON' | 'COLLAPSED_SHEET';
54
+ export type SheetMode =
55
+ /**
56
+ Result sheet is hidden and can be opened by pressing the button. The button can show the total barcode count.
57
+ */
58
+ | 'BUTTON'
59
+ /**
60
+ Result sheet is visible and collapsed and can be expanded by dragging it up.
61
+ */
62
+ | 'COLLAPSED_SHEET';
46
63
 
47
- export const SheetModeValues: SheetMode[] = ['BUTTON', 'COLLAPSED_SHEET'];
64
+ /** @hidden */
65
+ export const SheetModeValues: ReadonlyArray<SheetMode> = ['BUTTON', 'COLLAPSED_SHEET'] as const;
48
66
 
49
67
  /**
50
68
  Configuration of the barcodes result sheet's height while collapsed.
@@ -54,14 +72,26 @@ Configuration of the barcodes result sheet's height while collapsed.
54
72
  - `LARGE`:
55
73
  Result sheet is not completely collapsed, revealing more information.
56
74
  */
57
- export type CollapsedVisibleHeight = 'SMALL' | 'LARGE';
75
+ export type CollapsedVisibleHeight =
76
+ /**
77
+ Result sheet is collapsed as much as possible, showing only the top part.
78
+ */
79
+ | 'SMALL'
80
+ /**
81
+ Result sheet is not completely collapsed, revealing more information.
82
+ */
83
+ | 'LARGE';
58
84
 
59
- export const CollapsedVisibleHeightValues: CollapsedVisibleHeight[] = ['SMALL', 'LARGE'];
85
+ /** @hidden */
86
+ export const CollapsedVisibleHeightValues: ReadonlyArray<CollapsedVisibleHeight> = [
87
+ 'SMALL',
88
+ 'LARGE',
89
+ ] as const;
60
90
 
61
91
  /**
62
92
  Configuration of the preview mode for scanning multiple barcodes.
63
93
  */
64
- export class Sheet extends PartiallyConstructible {
94
+ export class Sheet {
65
95
  /**
66
96
  Mode used for the preview for scanning multiple barcodes.
67
97
 
@@ -81,7 +111,6 @@ export class Sheet extends PartiallyConstructible {
81
111
 
82
112
  /** @param source {@displayType `DeepPartial<Sheet>`} */
83
113
  public constructor(source: DeepPartial<Sheet> = {}) {
84
- super();
85
114
  if (source.mode !== undefined) {
86
115
  this.mode = source.mode;
87
116
  }
@@ -97,7 +126,7 @@ export class Sheet extends PartiallyConstructible {
97
126
  /**
98
127
  Configuration of the swipe-to-delete button.
99
128
  */
100
- export class SwipeToDelete extends PartiallyConstructible {
129
+ export class SwipeToDelete {
101
130
  /**
102
131
  Whether swipe to delete is enabled or not.
103
132
 
@@ -119,7 +148,6 @@ export class SwipeToDelete extends PartiallyConstructible {
119
148
 
120
149
  /** @param source {@displayType `DeepPartial<SwipeToDelete>`} */
121
150
  public constructor(source: DeepPartial<SwipeToDelete> = {}) {
122
- super();
123
151
  if (source.enabled !== undefined) {
124
152
  this.enabled = source.enabled;
125
153
  }
@@ -135,7 +163,7 @@ export class SwipeToDelete extends PartiallyConstructible {
135
163
  /**
136
164
  Configuration of the dialog to manually edit the barcode count.
137
165
  */
138
- export class ManualCountEditDialog extends PartiallyConstructible {
166
+ export class ManualCountEditDialog {
139
167
  /**
140
168
  Color of the edit dialog's background.
141
169
 
@@ -209,7 +237,6 @@ export class ManualCountEditDialog extends PartiallyConstructible {
209
237
 
210
238
  /** @param source {@displayType `DeepPartial<ManualCountEditDialog>`} */
211
239
  public constructor(source: DeepPartial<ManualCountEditDialog> = {}) {
212
- super();
213
240
  if (source.sheetColor !== undefined) {
214
241
  this.sheetColor = source.sheetColor;
215
242
  }
@@ -240,7 +267,7 @@ export class ManualCountEditDialog extends PartiallyConstructible {
240
267
  /**
241
268
  Configuration of the list containing the barcodes that have already been scanned.
242
269
  */
243
- export class SheetContent extends PartiallyConstructible {
270
+ export class SheetContent {
244
271
  /**
245
272
  Color of the list's background.
246
273
 
@@ -383,7 +410,6 @@ export class SheetContent extends PartiallyConstructible {
383
410
 
384
411
  /** @param source {@displayType `DeepPartial<SheetContent>`} */
385
412
  public constructor(source: DeepPartial<SheetContent> = {}) {
386
- super();
387
413
  if (source.sheetColor !== undefined) {
388
414
  this.sheetColor = source.sheetColor;
389
415
  }
@@ -441,7 +467,7 @@ export class SheetContent extends PartiallyConstructible {
441
467
  /**
442
468
  Configuration of the mode for scanning multiple barcodes.
443
469
  */
444
- export class MultipleScanningMode extends PartiallyConstructible {
470
+ export class MultipleScanningMode {
445
471
  public readonly _type: 'MultipleScanningMode' = 'MultipleScanningMode';
446
472
  /**
447
473
  Time interval in milliseconds before a barcode is counted again. 0 = no delay. The default value is 1000.
@@ -718,7 +744,6 @@ export class MultipleScanningMode extends PartiallyConstructible {
718
744
 
719
745
  /** @param source {@displayType `DeepPartial<MultipleScanningMode>`} */
720
746
  public constructor(source: DeepPartial<MultipleScanningMode> = {}) {
721
- super();
722
747
  if (source.countingRepeatDelay !== undefined) {
723
748
  this.countingRepeatDelay = source.countingRepeatDelay;
724
749
  }