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
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ToJsonConfiguration","ImageRef","CommonFieldTypeValues","OcrResult","constructor","source","text","undefined","Error","confidence","serialize","config","FieldValidationStatusValues","FieldDataFormatValues","FieldParsedData","type","value","FieldType","listIndex","name","fullName","normalizedName","commonType","includes","Field","confidenceWeight","image","validationStatus","parsedData","from","polygonInRoot","map","it","x","y","serializeImages","imageSerializationMode","_released","release","encodeImages","encodeInPlace","GenericDocumentType","GenericDocument","crop","fields","children","quad","quadInRoot","Promise","all","forEach"],"sourceRoot":"../../../../../src","sources":["types/core/generic_document/GenericDocument.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AACtE,SAASC,QAAQ,QAAQ,gBAAgB;AAGzC,SAA0BC,qBAAqB,QAAQ,mBAAmB;;AAE1E;AACA;AACA;AACA,OAAO,MAAMC,SAAS,CAAC;EACrB;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOC,WAAWA,CAACC,MAA8B,GAAG,CAAC,CAAC,EAAE;IACtD,IAAIA,MAAM,CAACC,IAAI,KAAKC,SAAS,EAAE;MAC7B,IAAI,CAACD,IAAI,GAAGD,MAAM,CAACC,IAAI;IACzB,CAAC,MAAM;MACL,MAAM,IAAIE,KAAK,CAAC,8CAA8C,CAAC;IACjE;IACA,IAAIH,MAAM,CAACI,UAAU,KAAKF,SAAS,EAAE;MACnC,IAAI,CAACE,UAAU,GAAGJ,MAAM,CAACI,UAAU;IACrC,CAAC,MAAM;MACL,MAAM,IAAID,KAAK,CAAC,oDAAoD,CAAC;IACvE;EACF;EAEOE,SAASA,CACdC,MAA2B,GAAG,IAAIX,mBAAmB,CAAC,CAAC,EAC/B;IACxB,OAAO;MACLM,IAAI,EAAE,IAAI,CAACA,IAAI;MACfG,UAAU,EAAE,IAAI,CAACA;IACnB,CAAC;EACH;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA4CA;AACA,OAAO,MAAMG,2BAAiE,GAAG,CAC/E,SAAS,EACT,YAAY,EACZ,MAAM,EACN,WAAW,EACX,UAAU,EACV,OAAO,EACP,SAAS,CACD;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA2BA;AACA,OAAO,MAAMC,qBAAqD,GAAG,CACnE,UAAU,EACV,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,QAAQ,CACA;;AAEV;AACA;AACA;AACA,OAAO,MAAMC,eAAe,CAAC;EAC3B;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOV,WAAWA,CAACC,MAAoC,GAAG,CAAC,CAAC,EAAE;IAC5D,IAAIA,MAAM,CAACU,IAAI,KAAKR,SAAS,EAAE;MAC7B,IAAI,CAACQ,IAAI,GAAGV,MAAM,CAACU,IAAI;IACzB,CAAC,MAAM;MACL,MAAM,IAAIP,KAAK,CAAC,8CAA8C,CAAC;IACjE;IACA,IAAIH,MAAM,CAACW,KAAK,KAAKT,SAAS,EAAE;MAC9B,IAAI,CAACS,KAAK,GAAGX,MAAM,CAAC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AK;MAC9B,MAAMA,EAAE,CAACO,YAAY,CAAC,CAAC;IACzB,CAAC,CACH,CAAC;IACD,IAAI,IAAI,CAACI,IAAI,IAAI,IAAI,EAAE;MACrB,MAAM,IAAI,CAACA,IAAI,CAACH,aAAa,CAAC,CAAC;IACjC;EACF;AACF","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["types/core/generic_document/index.ts"],"mappings":"AAAA,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,mBAAmB","ignoreList":[]}
@@ -1,13 +1,11 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from core/schemas/Geometry.yaml
3
3
 
4
- import { ToJsonConfiguration } from '../../utils/json/JsonSerializationTypes';
5
- import { PartiallyConstructible } from '../../utils/utils';
6
-
4
+ import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
7
5
  /**
8
6
  Represents a line segment in 2D space.
9
7
  */
10
- export class LineSegmentInt extends PartiallyConstructible {
8
+ export class LineSegmentInt {
11
9
  /**
12
10
  Start point of the segment.
13
11
  */
@@ -18,7 +16,6 @@ export class LineSegmentInt extends PartiallyConstructible {
18
16
 
19
17
  /** @param source {@displayType `DeepPartial<LineSegmentInt>`} */
20
18
  constructor(source = {}) {
21
- super();
22
19
  if (source.start !== undefined) {
23
20
  this.start = {
24
21
  x: source.start.x,
@@ -47,7 +44,7 @@ export class LineSegmentInt extends PartiallyConstructible {
47
44
  /**
48
45
  Represents a line segment in 2D space.
49
46
  */
50
- export class LineSegmentFloat extends PartiallyConstructible {
47
+ export class LineSegmentFloat {
51
48
  /**
52
49
  Start point of the segment.
53
50
  */
@@ -58,7 +55,6 @@ export class LineSegmentFloat extends PartiallyConstructible {
58
55
 
59
56
  /** @param source {@displayType `DeepPartial<LineSegmentFloat>`} */
60
57
  constructor(source = {}) {
61
- super();
62
58
  if (source.start !== undefined) {
63
59
  this.start = {
64
60
  x: source.start.x,
@@ -87,7 +83,7 @@ export class LineSegmentFloat extends PartiallyConstructible {
87
83
  /**
88
84
  Aspect ratio is the ratio of the width to the height of an image or screen.
89
85
  */
90
- export class AspectRatio extends PartiallyConstructible {
86
+ export class AspectRatio {
91
87
  /**
92
88
  Width component of the aspect ratio.
93
89
 
@@ -103,7 +99,6 @@ export class AspectRatio extends PartiallyConstructible {
103
99
 
104
100
  /** @param source {@displayType `DeepPartial<AspectRatio>`} */
105
101
  constructor(source = {}) {
106
- super();
107
102
  if (source.width !== undefined) {
108
103
  this.width = source.width;
109
104
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ToJsonConfiguration","LineSegmentInt","constructor","source","start","undefined","x","y","Error","end","serialize","config","LineSegmentFloat","AspectRatio","width","height"],"sourceRoot":"../../../../../src","sources":["types/core/geometry/Geometry.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AAItE;AACA;AACA;AACA,OAAO,MAAMC,cAAc,CAAC;EAC1B;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOC,WAAWA,CAACC,MAAmC,GAAG,CAAC,CAAC,EAAE;IAC3D,IAAIA,MAAM,CAACC,KAAK,KAAKC,SAAS,EAAE;MAC9B,IAAI,CAACD,KAAK,GAAG;QAAEE,CAAC,EAAEH,MAAM,CAACC,KAAK,CAACE,CAAC;QAAEC,CAAC,EAAEJ,MAAM,CAACC,KAAK,CAACG;MAAE,CAAC;IACvD,CAAC,MAAM;MACL,MAAM,IAAIC,KAAK,CAAC,+CAA+C,CAAC;IAClE;IACA,IAAIL,MAAM,CAACM,GAAG,KAAKJ,SAAS,EAAE;MAC5B,IAAI,CAACI,GAAG,GAAG;QAAEH,CAAC,EAAEH,MAAM,CAACM,GAAG,CAACH,CAAC;QAAEC,CAAC,EAAEJ,MAAM,CAACM,GAAG,CAACF;MAAE,CAAC;IACjD,CAAC,MAAM;MACL,MAAM,IAAIC,KAAK,CAAC,6CAA6C,CAAC;IA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AAM,CAACW,KAAK,KAAKT,SAAS,EAAE;MAC9B,IAAI,CAACS,KAAK,GAAGX,MAAM,CAACW,KAAK;IAC3B;IACA,IAAIX,MAAM,CAACY,MAAM,KAAKV,SAAS,EAAE;MAC/B,IAAI,CAACU,MAAM,GAAGZ,MAAM,CAACY,MAAM;IAC7B;EACF;EAEOL,SAASA,CACdC,MAA2B,GAAG,IAAIX,mBAAmB,CAAC,CAAC,EAC7B;IAC1B,OAAO;MACLc,KAAK,EAAE,IAAI,CAACA,KAAK;MACjBC,MAAM,EAAE,IAAI,CAACA;IACf,CAAC;EACH;AACF","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export * from './Geometry';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["types/core/geometry/index.ts"],"mappings":"AAAA,cAAc,YAAY","ignoreList":[]}
@@ -1,14 +1,41 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from core/schemas/ImageRefTypes.yaml
3
3
 
4
- import { RefCountedObjectProfile } from '../imageRef/ObjectPoolTypes';
5
- import { ToJsonConfiguration } from '../utils/json/JsonSerializationTypes';
6
- import { PartiallyConstructible } from '../utils/utils';
4
+ import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
5
+ import { RefCountedObjectProfile } from '../utils/ObjectPoolTypes';
6
+
7
+ /**
8
+ Color conversion to apply during image loading.
9
+
10
+ - `GRAY`:
11
+ Load image as grayscale.
12
+ - `COLOR`:
13
+ Load image as 3-channel BGR.
14
+ - `ANY_COLOR`:
15
+ Load image as 3-channel BGR if the source color space is color, otherwise as single-channel grayscale. Alpha channel is discarded.
16
+ - `UNCHANGED`:
17
+ Load image as-is, preserving the alpha channel if it exists.
18
+ */
19
+
20
+ /** @hidden */
21
+ export const ColorConversionValues = ['GRAY', 'COLOR', 'ANY_COLOR', 'UNCHANGED'];
22
+
23
+ /**
24
+ Canvas color to use when converting images with alpha channel to images without alpha channel.
25
+
26
+ - `WHITE`:
27
+ White canvas color.
28
+ - `BLACK`:
29
+ Black canvas color.
30
+ */
31
+
32
+ /** @hidden */
33
+ export const CanvasColorValues = ['WHITE', 'BLACK'];
7
34
 
8
35
  /**
9
36
  Image Info.
10
37
  */
11
- export class ImageInfo extends PartiallyConstructible {
38
+ export class ImageInfo {
12
39
  /**
13
40
  Image height in pixels.
14
41
  */
@@ -23,7 +50,6 @@ export class ImageInfo extends PartiallyConstructible {
23
50
 
24
51
  /** @param source {@displayType `DeepPartial<ImageInfo>`} */
25
52
  constructor(source = {}) {
26
- super();
27
53
  if (source.height !== undefined) {
28
54
  this.height = source.height;
29
55
  } else {
@@ -60,6 +86,7 @@ Image Ref Path Load Mode.
60
86
  Image is loaded into memory the first time it's requested. Specified path is copied into internal directory and so isn't required to exist at the time of loading.
61
87
  */
62
88
 
89
+ /** @hidden */
63
90
  export const PathLoadModeValues = ['EAGER', 'LAZY', 'LAZY_WITH_COPY'];
64
91
 
65
92
  /**
@@ -71,6 +98,7 @@ Image Ref Buffer Load Mode.
71
98
  Image is decoded the first time it's requested.
72
99
  */
73
100
 
101
+ /** @hidden */
74
102
  export const BufferLoadModeValues = ['EAGER', 'LAZY'];
75
103
 
76
104
  /**
@@ -82,6 +110,7 @@ Image Encoding Format.
82
110
  PNG encoding.
83
111
  */
84
112
 
113
+ /** @hidden */
85
114
  export const EncodingFormatValues = ['JPEG', 'PNG'];
86
115
 
87
116
  /**
@@ -90,56 +119,82 @@ Encryption/Decryption mode to be used when an image is loaded/saved.
90
119
  - `REQUIRED`:
91
120
  Encryption/Decryption is used when loading/saving an image. A crypting provider must first be set using `ImageRef.setStorageCryptingProvider`. If no provider is set, the loading/saving operation will fail.
92
121
  - `DISABLED`:
93
- Encryption/Decryption is not used when loading/saving an image.
94
- - `IF_AVAILABLE`:
95
- Encryption/Decryption is used when loading/saving an image if a crypting provider is set using `ImageRef.setStorageCryptingProvider`.
122
+ Encryption is not used when loading or saving images. Trying to load an encrypted image will fail.
123
+ - `AUTO`:
124
+ When saving, images are encrypted only if a crypting provider is set using `ImageRef.setStorageCryptingProvider`.
125
+ When loading, images will be decrypted if they're encrypted and a crypting provider is set, and loaded as-is otherwise.
96
126
  */
97
127
 
98
- export const EncryptionModeValues = ['REQUIRED', 'DISABLED', 'IF_AVAILABLE'];
128
+ /** @hidden */
129
+ export const EncryptionModeValues = ['REQUIRED', 'DISABLED', 'AUTO'];
99
130
 
100
131
  /**
101
132
  Basic options for loading image.
102
133
  */
103
- export class BasicImageLoadOptions extends PartiallyConstructible {
134
+ export class BasicImageLoadOptions {
104
135
  /**
105
- Region of interest.
136
+ If the rect is not empty, the image will be cropped to this rect before processing.
106
137
  */
107
- roi = {
138
+ cropRect = {
108
139
  x: 0,
109
140
  y: 0,
110
141
  width: 0,
111
142
  height: 0
112
143
  };
144
+ /**
145
+ CanvasColor color to use when converting images with alpha channel to images without alpha channel.
146
+
147
+ Default is WHITE
148
+ */
149
+ canvasColor = 'WHITE';
113
150
 
114
151
  /** @param source {@displayType `DeepPartial<BasicImageLoadOptions>`} */
115
152
  constructor(source = {}) {
116
- super();
117
- if (source.roi !== undefined) {
118
- this.roi = {
119
- x: source.roi.x,
120
- y: source.roi.y,
121
- width: source.roi.width,
122
- height: source.roi.height
153
+ if (source.cropRect !== undefined) {
154
+ this.cropRect = {
155
+ x: source.cropRect.x,
156
+ y: source.cropRect.y,
157
+ width: source.cropRect.width,
158
+ height: source.cropRect.height
123
159
  };
124
160
  }
161
+ if (source.canvasColor !== undefined) {
162
+ this.canvasColor = source.canvasColor;
163
+ }
125
164
  }
126
165
  }
127
166
 
128
167
  /**
129
168
  Options for loading images that come from sensor.
130
169
  */
131
- export class RawImageLoadOptions extends PartiallyConstructible {
170
+ export class RawImageLoadOptions {
132
171
  /**
133
- Region of interest.
172
+ If the rect is not empty, the image will be cropped to this rect before processing.
134
173
  */
135
- roi = {
174
+ cropRect = {
136
175
  x: 0,
137
176
  y: 0,
138
177
  width: 0,
139
178
  height: 0
140
179
  };
141
180
  /**
142
- Rotation that should be applied to the image to recover correct orientation.
181
+ Location of the image origin in the image coordinate system.
182
+ During loading images are flipped such that after the flip their new origin is in their top-left corner.
183
+ For example, an image coming from the front camera might have its origin set to the top-right, which will flip it along its vertical axis to create a mirror effect.
184
+
185
+ The origin is interpreted net of the image orientation. The origin rotates together with the image. The origin value is interpreted and the resulting flip executed AFTER the image matrix has been reoriented to have a neutral orientation.
186
+
187
+ Default is TOP_LEFT
188
+ */
189
+ origin = 'TOP_LEFT';
190
+ /**
191
+ CanvasColor color to use when converting images with alpha channel to images without alpha channel.
192
+
193
+ Default is WHITE
194
+ */
195
+ canvasColor = 'WHITE';
196
+ /**
197
+ Rotation that should be applied to the image to recover correct orientation. Is applied before cropping.
143
198
 
144
199
  Default is NONE
145
200
  */
@@ -147,15 +202,20 @@ export class RawImageLoadOptions extends PartiallyConstructible {
147
202
 
148
203
  /** @param source {@displayType `DeepPartial<RawImageLoadOptions>`} */
149
204
  constructor(source = {}) {
150
- super();
151
- if (source.roi !== undefined) {
152
- this.roi = {
153
- x: source.roi.x,
154
- y: source.roi.y,
155
- width: source.roi.width,
156
- height: source.roi.height
205
+ if (source.cropRect !== undefined) {
206
+ this.cropRect = {
207
+ x: source.cropRect.x,
208
+ y: source.cropRect.y,
209
+ width: source.cropRect.width,
210
+ height: source.cropRect.height
157
211
  };
158
212
  }
213
+ if (source.origin !== undefined) {
214
+ this.origin = source.origin;
215
+ }
216
+ if (source.canvasColor !== undefined) {
217
+ this.canvasColor = source.canvasColor;
218
+ }
159
219
  if (source.orientation !== undefined) {
160
220
  this.orientation = source.orientation;
161
221
  }
@@ -165,16 +225,28 @@ export class RawImageLoadOptions extends PartiallyConstructible {
165
225
  /**
166
226
  Options for loading image from path.
167
227
  */
168
- export class PathImageLoadOptions extends PartiallyConstructible {
228
+ export class PathImageLoadOptions {
169
229
  /**
170
- Region of interest.
230
+ If the rect is not empty, the image will be cropped to this rect before processing.
171
231
  */
172
- roi = {
232
+ cropRect = {
173
233
  x: 0,
174
234
  y: 0,
175
235
  width: 0,
176
236
  height: 0
177
237
  };
238
+ /**
239
+ Color conversion to apply during image loading.
240
+
241
+ Default is ANY_COLOR
242
+ */
243
+ colorConversion = 'ANY_COLOR';
244
+ /**
245
+ CanvasColor color to use when converting images with alpha channel to images without alpha channel.
246
+
247
+ Default is WHITE
248
+ */
249
+ canvasColor = 'WHITE';
178
250
  /**
179
251
  Load mode.
180
252
 
@@ -184,21 +256,26 @@ export class PathImageLoadOptions extends PartiallyConstructible {
184
256
  /**
185
257
  Encryption mode.
186
258
 
187
- Default is IF_AVAILABLE
259
+ Default is AUTO
188
260
  */
189
- encryptionMode = 'IF_AVAILABLE';
261
+ encryptionMode = 'AUTO';
190
262
 
191
263
  /** @param source {@displayType `DeepPartial<PathImageLoadOptions>`} */
192
264
  constructor(source = {}) {
193
- super();
194
- if (source.roi !== undefined) {
195
- this.roi = {
196
- x: source.roi.x,
197
- y: source.roi.y,
198
- width: source.roi.width,
199
- height: source.roi.height
265
+ if (source.cropRect !== undefined) {
266
+ this.cropRect = {
267
+ x: source.cropRect.x,
268
+ y: source.cropRect.y,
269
+ width: source.cropRect.width,
270
+ height: source.cropRect.height
200
271
  };
201
272
  }
273
+ if (source.colorConversion !== undefined) {
274
+ this.colorConversion = source.colorConversion;
275
+ }
276
+ if (source.canvasColor !== undefined) {
277
+ this.canvasColor = source.canvasColor;
278
+ }
202
279
  if (source.loadMode !== undefined) {
203
280
  this.loadMode = source.loadMode;
204
281
  }
@@ -211,16 +288,28 @@ export class PathImageLoadOptions extends PartiallyConstructible {
211
288
  /**
212
289
  Options for loading image from buffer.
213
290
  */
214
- export class BufferImageLoadOptions extends PartiallyConstructible {
291
+ export class BufferImageLoadOptions {
215
292
  /**
216
- Region of interest.
293
+ If the rect is not empty, the image will be cropped to this rect before processing.
217
294
  */
218
- roi = {
295
+ cropRect = {
219
296
  x: 0,
220
297
  y: 0,
221
298
  width: 0,
222
299
  height: 0
223
300
  };
301
+ /**
302
+ Color conversion to apply during image loading.
303
+
304
+ Default is ANY_COLOR
305
+ */
306
+ colorConversion = 'ANY_COLOR';
307
+ /**
308
+ CanvasColor color to use when converting images with alpha channel to images without alpha channel.
309
+
310
+ Default is WHITE
311
+ */
312
+ canvasColor = 'WHITE';
224
313
  /**
225
314
  Load mode.
226
315
 
@@ -230,15 +319,20 @@ export class BufferImageLoadOptions extends PartiallyConstructible {
230
319
 
231
320
  /** @param source {@displayType `DeepPartial<BufferImageLoadOptions>`} */
232
321
  constructor(source = {}) {
233
- super();
234
- if (source.roi !== undefined) {
235
- this.roi = {
236
- x: source.roi.x,
237
- y: source.roi.y,
238
- width: source.roi.width,
239
- height: source.roi.height
322
+ if (source.cropRect !== undefined) {
323
+ this.cropRect = {
324
+ x: source.cropRect.x,
325
+ y: source.cropRect.y,
326
+ width: source.cropRect.width,
327
+ height: source.cropRect.height
240
328
  };
241
329
  }
330
+ if (source.colorConversion !== undefined) {
331
+ this.colorConversion = source.colorConversion;
332
+ }
333
+ if (source.canvasColor !== undefined) {
334
+ this.canvasColor = source.canvasColor;
335
+ }
242
336
  if (source.loadMode !== undefined) {
243
337
  this.loadMode = source.loadMode;
244
338
  }
@@ -248,7 +342,7 @@ export class BufferImageLoadOptions extends PartiallyConstructible {
248
342
  /**
249
343
  Options for saving image to a path.
250
344
  */
251
- export class SaveImageOptions extends PartiallyConstructible {
345
+ export class SaveImageOptions {
252
346
  /**
253
347
  Quality parameter is for jpeg only and is in range 0 to 100. If -1, then settings from hibernation are used.
254
348
  In case when the Image Ref was created with a lazy load mode and originally has the same format as the requested to save,
@@ -261,13 +355,12 @@ export class SaveImageOptions extends PartiallyConstructible {
261
355
  /**
262
356
  Encryption mode.
263
357
 
264
- Default is IF_AVAILABLE
358
+ Default is AUTO
265
359
  */
266
- encryptionMode = 'IF_AVAILABLE';
360
+ encryptionMode = 'AUTO';
267
361
 
268
362
  /** @param source {@displayType `DeepPartial<SaveImageOptions>`} */
269
363
  constructor(source = {}) {
270
- super();
271
364
  if (source.quality !== undefined) {
272
365
  this.quality = source.quality;
273
366
  }
@@ -280,7 +373,7 @@ export class SaveImageOptions extends PartiallyConstructible {
280
373
  /**
281
374
  Options for encoding image.
282
375
  */
283
- export class EncodeImageOptions extends PartiallyConstructible {
376
+ export class EncodeImageOptions {
284
377
  /**
285
378
  Quality parameter is for jpeg only and is in range 0 to 100. If -1, then settings from hibernation are used.
286
379
  In case when the Image Ref was created with a lazy load mode and originally has the same format as the requested to save,
@@ -299,7 +392,6 @@ export class EncodeImageOptions extends PartiallyConstructible {
299
392
 
300
393
  /** @param source {@displayType `DeepPartial<EncodeImageOptions>`} */
301
394
  constructor(source = {}) {
302
- super();
303
395
  if (source.quality !== undefined) {
304
396
  this.quality = source.quality;
305
397
  }
@@ -326,12 +418,13 @@ The type of source which originated the underlying image.
326
418
  ImageRef was created from another type, e.g. from custom loader.
327
419
  */
328
420
 
421
+ /** @hidden */
329
422
  export const ImageSourceTypeValues = ['API', 'PLATFORM_IMAGE', 'CAMERA', 'FILE', 'BUFFER', 'OTHER'];
330
423
 
331
424
  /**
332
425
  Description of source from which the ImageRef was created.
333
426
  */
334
- export class ImageSource extends PartiallyConstructible {
427
+ export class ImageSource {
335
428
  /**
336
429
  Source type from which the ImageRef was created.
337
430
  */
@@ -342,7 +435,6 @@ export class ImageSource extends PartiallyConstructible {
342
435
 
343
436
  /** @param source {@displayType `DeepPartial<ImageSource>`} */
344
437
  constructor(source = {}) {
345
- super();
346
438
  if (source.type !== undefined) {
347
439
  this.type = source.type;
348
440
  } else {
@@ -365,7 +457,7 @@ export class ImageSource extends PartiallyConstructible {
365
457
  /**
366
458
  ImageRef profile part specific to image information.
367
459
  */
368
- export class ImageProfile extends PartiallyConstructible {
460
+ export class ImageProfile {
369
461
  /**
370
462
  Memory consumption of a memory-backed bitmap. Zero, if the image is hibernating.
371
463
 
@@ -381,7 +473,6 @@ export class ImageProfile extends PartiallyConstructible {
381
473
 
382
474
  /** @param source {@displayType `DeepPartial<ImageProfile>`} */
383
475
  constructor(source = {}) {
384
- super();
385
476
  if (source.bitmapMemoryConsumption !== undefined) {
386
477
  this.bitmapMemoryConsumption = source.bitmapMemoryConsumption;
387
478
  }
@@ -400,7 +491,7 @@ export class ImageProfile extends PartiallyConstructible {
400
491
  /**
401
492
  ImageRef profile which provides detailed information about stored object.
402
493
  */
403
- export class ImageRefProfile extends PartiallyConstructible {
494
+ export class ImageRefProfile {
404
495
  /**
405
496
  Information about the strong and serialized references to the image.
406
497
  */
@@ -415,7 +506,6 @@ export class ImageRefProfile extends PartiallyConstructible {
415
506
 
416
507
  /** @param source {@displayType `DeepPartial<ImageRefProfile>`} */
417
508
  constructor(source = {}) {
418
- super();
419
509
  if (source.refInfo !== undefined) {
420
510
  this.refInfo = new RefCountedObjectProfile(source.refInfo);
421
511
  } else {
@@ -444,7 +534,7 @@ export class ImageRefProfile extends PartiallyConstructible {
444
534
  /**
445
535
  Snapshot of all alive ImageRefs.
446
536
  */
447
- export class ImageRefPoolSnapshot extends PartiallyConstructible {
537
+ export class ImageRefPoolSnapshot {
448
538
  /**
449
539
  Detailed profiles of all alive ImageRefs.
450
540
  */
@@ -458,7 +548,6 @@ export class ImageRefPoolSnapshot extends PartiallyConstructible {
458
548
 
459
549
  /** @param source {@displayType `DeepPartial<ImageRefPoolSnapshot>`} */
460
550
  constructor(source = {}) {
461
- super();
462
551
  if (source.imageRefProfiles !== undefined) {
463
552
  this.imageRefProfiles = source.imageRefProfiles.map(it => {
464
553
  return new ImageRefProfile(it);
@@ -483,7 +572,7 @@ export class ImageRefPoolSnapshot extends PartiallyConstructible {
483
572
  /**
484
573
  difference between two snapshots.
485
574
  */
486
- export class ImageRefPoolSnapshotsDiff extends PartiallyConstructible {
575
+ export class ImageRefPoolSnapshotsDiff {
487
576
  /**
488
577
  Difference between total memory consumption in two snapshots.
489
578
 
@@ -504,7 +593,6 @@ export class ImageRefPoolSnapshotsDiff extends PartiallyConstructible {
504
593
 
505
594
  /** @param source {@displayType `DeepPartial<ImageRefPoolSnapshotsDiff>`} */
506
595
  constructor(source = {}) {
507
- super();
508
596
  if (source.totalMemoryConsumptionDiff !== undefined) {
509
597
  this.totalMemoryConsumptionDiff = source.totalMemoryConsumptionDiff;
510
598
  }
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ToJsonConfiguration","RefCountedObjectProfile","ColorConversionValues","CanvasColorValues","ImageInfo","constructor","source","height","undefined","Error","width","maxByteSize","serialize","config","PathLoadModeValues","BufferLoadModeValues","EncodingFormatValues","EncryptionModeValues","BasicImageLoadOptions","cropRect","x","y","canvasColor","RawImageLoadOptions","origin","orientation","PathImageLoadOptions","colorConversion","loadMode","encryptionMode","BufferImageLoadOptions","SaveImageOptions","quality","EncodeImageOptions","format","ImageSourceTypeValues","ImageSource","type","filePath","ImageProfile","bitmapMemoryConsumption","hibernationMemoryConsumption","ImageRefProfile","refInfo","imageInfo","imageSource","ImageRefPoolSnapshot","totalMemoryConsumption","imageRefProfiles","map","it","ImageRefPoolSnapshotsDiff","totalMemoryConsumptionDiff","removed","added","modified"],"sourceRoot":"../../../../../src","sources":["types/core/image/ImageRefTypes.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AACtE,SAASC,uBAAuB,QAAQ,0BAA0B;;AAKlE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA,OAAO,MAAMC,qBAAqD,GAAG,CACnE,MAAM,EACN,OAAO,EACP,WAAW,EACX,WAAW,CACH;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAWA;AACA,OAAO,MAAMC,iBAA6C,GAAG,CAAC,OAAO,EAAE,OAAO,CAAU;;AAExF;AACA;AACA;AACA,OAAO,MAAMC,SAAS,CAAC;EACrB;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOC,WAAWA,CAACC,MAA8B,GAA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;MAC3DC,OAAO,EAAE,IAAI,CAACA,OAAO,CAACJ,GAAG,CAAEC,EAAO,IAAK;QACrC,OAAOA,EAAE;MACX,CAAC,CAAC;MACFI,KAAK,EAAE,IAAI,CAACA,KAAK,CAACL,GAAG,CAAEC,EAAO,IAAK;QACjC,OAAOA,EAAE;MACX,CAAC,CAAC;MACFK,QAAQ,EAAE,IAAI,CAACA,QAAQ,CAACN,GAAG,CAAEC,EAAO,IAAK;QACvC,OAAOA,EAAE;MACX,CAAC;IACH,CAAC;EACH;AACF","ignoreList":[]}
@@ -0,0 +1,35 @@
1
+ /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
+ /// Generated from core/schemas/ImageTypes.yaml
3
+
4
+ /**
5
+ Image rotation.
6
+
7
+ - `NONE`:
8
+ No rotation.
9
+ - `CLOCKWISE_90`:
10
+ 90 degrees clockwise rotation.
11
+ - `CLOCKWISE_180`:
12
+ 180 degrees rotation.
13
+ - `COUNTERCLOCKWISE_90`:
14
+ 90 degrees counterclockwise rotation.
15
+ */
16
+
17
+ /** @hidden */
18
+ export const ImageRotationValues = ['NONE', 'CLOCKWISE_90', 'CLOCKWISE_180', 'COUNTERCLOCKWISE_90'];
19
+
20
+ /**
21
+ Location of the image origin in the image coordinate system.
22
+
23
+ - `TOP_LEFT`:
24
+ Origin is at the top left corner of the image.
25
+ - `TOP_RIGHT`:
26
+ Origin is at the top right corner of the image.
27
+ - `BOTTOM_LEFT`:
28
+ Origin is at the bottom left corner of the image.
29
+ - `BOTTOM_RIGHT`:
30
+ Origin is at the bottom right corner of the image.
31
+ */
32
+
33
+ /** @hidden */
34
+ export const ImageOriginValues = ['TOP_LEFT', 'TOP_RIGHT', 'BOTTOM_LEFT', 'BOTTOM_RIGHT'];
35
+ //# sourceMappingURL=ImageTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ImageRotationValues","ImageOriginValues"],"sourceRoot":"../../../../../src","sources":["types/core/image/ImageTypes.ts"],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA,OAAO,MAAMA,mBAAiD,GAAG,CAC/D,MAAM,EACN,cAAc,EACd,eAAe,EACf,qBAAqB,CACb;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA,OAAO,MAAMC,iBAA6C,GAAG,CAC3D,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,CACN","ignoreList":[]}