@scandit/web-datacapture-core 8.4.0-beta.1 → 8.5.0-beta.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 (780) hide show
  1. package/THIRD_PARTY.txt +2 -28
  2. package/build/electron/constants-D5Av3xIA.js +1 -0
  3. package/build/electron/constants-Tq_qHFkh.cjs +1 -0
  4. package/build/electron/main.cjs +1 -1
  5. package/build/electron/main.d.cts +12 -21
  6. package/build/electron/main.d.ts +12 -21
  7. package/build/electron/main.js +1 -1
  8. package/build/electron/preload.cjs +1 -1
  9. package/build/electron/preload.d.cts +4 -4
  10. package/build/electron/preload.d.ts +4 -4
  11. package/build/electron/preload.js +1 -1
  12. package/build/js/AdditionalLayerPosition-D_ouQ8wn.d.ts +7 -0
  13. package/build/js/AimerViewfinder-bCf_UrQu.d.ts +15 -0
  14. package/build/js/AimerViewfinder.d.ts +2 -22
  15. package/build/js/AimerViewfinder.js +1 -1
  16. package/build/js/Anchor-DxO9CbHk.d.ts +14 -0
  17. package/build/js/AnchorPositions-4M8lB28_.d.ts +42 -0
  18. package/build/js/AsyncStateMachine-gK_htWdT.d.ts +49 -0
  19. package/build/js/AudioCache-D893YEVZ.d.ts +37 -0
  20. package/build/js/BatteryInterface-BYl36ktu.d.ts +81 -0
  21. package/build/js/Brush-D6WUoW36.d.ts +32 -0
  22. package/build/js/Brush.d.ts +2 -32
  23. package/build/js/Brush.js +1 -1
  24. package/build/js/Camera-C7TNwqRo.d.ts +413 -0
  25. package/build/js/Camera.d.ts +2 -7
  26. package/build/js/Camera.js +1 -1
  27. package/build/js/CameraManager-DskA2C7T.js +35 -0
  28. package/build/js/CameraRelated.d.ts +2 -7
  29. package/build/js/CameraRelated.js +1 -1
  30. package/build/js/CavansDrawerAbstract-E_URl3X1.d.ts +37 -0
  31. package/build/js/Color-qNIvVO9c.d.ts +28 -0
  32. package/build/js/ColorType-Dj3_-sLJ.d.ts +7 -0
  33. package/build/js/CustomLocationsView-BmILmaYk.d.ts +59 -0
  34. package/build/js/DataCaptureContext-CYDrBO6_.d.ts +2017 -0
  35. package/build/js/DataCaptureContext-CbQes_57.js +6 -0
  36. package/build/js/DataCaptureContext.d.ts +2 -39
  37. package/build/js/DataCaptureContext.js +1 -1
  38. package/build/js/DataCaptureContextRelated.d.ts +2 -39
  39. package/build/js/DataCaptureContextRelated.js +1 -1
  40. package/build/js/DataCaptureContextSettings-jR9ArFal.d.ts +13 -0
  41. package/build/js/DataCaptureContextSettings.d.ts +2 -13
  42. package/build/js/DataCaptureContextSettings.js +1 -1
  43. package/build/js/DataCaptureError-fm19xgXy.d.ts +13 -0
  44. package/build/js/DataCaptureError.d.ts +2 -13
  45. package/build/js/DataCaptureError.js +1 -1
  46. package/build/js/DataCaptureVersion-CoBugUHX.d.ts +6 -0
  47. package/build/js/DataCaptureVersion.d.ts +2 -6
  48. package/build/js/DataCaptureVersion.js +1 -1
  49. package/build/js/DataCaptureView.d.ts +2 -39
  50. package/build/js/DataCaptureView.js +1 -1
  51. package/build/js/DataCaptureViewPlusRelated-DcAi6mWY.d.ts +50 -0
  52. package/build/js/DataCaptureViewPlusRelated.d.ts +2 -3
  53. package/build/js/DataCaptureViewPlusRelated.js +1 -1
  54. package/build/js/DefaultViewClassnames.d.ts +13 -13
  55. package/build/js/DefaultViewClassnames.js +1 -1
  56. package/build/js/Direction-Cii3d0QY.d.ts +12 -0
  57. package/build/js/DrawCommandBuffer-TbNqWVhj.d.ts +44 -0
  58. package/build/js/EventManager-Cr57hTzG.d.ts +9 -0
  59. package/build/js/Feedback-D4kA2xWA.d.ts +21 -0
  60. package/build/js/Feedback.d.ts +2 -21
  61. package/build/js/Feedback.js +1 -1
  62. package/build/js/FrameData.d.ts +2 -39
  63. package/build/js/FrameData.js +1 -1
  64. package/build/js/HtmlElementState-BeRz5m6o.d.ts +35 -0
  65. package/build/js/ImageFrameSource-YH6FmhqZ.d.ts +43 -0
  66. package/build/js/ImageFrameSource.d.ts +2 -47
  67. package/build/js/ImageFrameSource.js +1 -1
  68. package/build/js/JSONType-BJv7BUtr.d.ts +6 -0
  69. package/build/js/LaserlineViewfinder-Dkc264QQ.d.ts +17 -0
  70. package/build/js/LaserlineViewfinder.d.ts +2 -23
  71. package/build/js/LaserlineViewfinder.js +1 -1
  72. package/build/js/LoadingStatus-0KzcUFiY.d.ts +23 -0
  73. package/build/js/LoadingStatus.d.ts +2 -23
  74. package/build/js/LoadingStatus.js +1 -1
  75. package/build/js/Localization-LoX2FWJO.d.ts +44 -0
  76. package/build/js/Localization.d.ts +2 -44
  77. package/build/js/Localization.js +1 -1
  78. package/build/js/LocationSelection-BXqyUc16.d.ts +41 -0
  79. package/build/js/LocationSelection.d.ts +2 -44
  80. package/build/js/LocationSelection.js +1 -1
  81. package/build/js/MarginsWithUnit-BHhnV4t0.d.ts +38 -0
  82. package/build/js/MeasureUnit-D14sZoRp.d.ts +7 -0
  83. package/build/js/NotificationBuilder-B3uY_ZbG.d.ts +23 -0
  84. package/build/js/NotificationConfiguration-C-1Vhrpo.d.ts +22 -0
  85. package/build/js/NotificationPresenter/NotificationBuilder.d.ts +2 -25
  86. package/build/js/NotificationPresenter/NotificationBuilder.js +1 -1
  87. package/build/js/NotificationPresenter/NotificationConfiguration.d.ts +2 -24
  88. package/build/js/NotificationPresenter/NotificationConfiguration.js +1 -1
  89. package/build/js/NotificationPresenter/NotificationPresenter.d.ts +2 -14
  90. package/build/js/NotificationPresenter/NotificationStyle.d.ts +2 -9
  91. package/build/js/NotificationPresenter/NotificationStyle.js +1 -1
  92. package/build/js/NotificationPresenter/index.d.ts +6 -41
  93. package/build/js/NotificationPresenter/index.js +1 -1
  94. package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.d.ts +2 -48
  95. package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.js +1 -1
  96. package/build/js/NotificationPresenter/private/presets.d.ts +5 -41
  97. package/build/js/NotificationPresenter/private/presets.js +1 -1
  98. package/build/js/NotificationPresenter-D0g_arAJ.d.ts +9 -0
  99. package/build/js/NotificationStyle-COZXqLGO.d.ts +9 -0
  100. package/build/js/NumberWithUnit-UGwoucuQ.d.ts +19 -0
  101. package/build/js/OpenSourceSoftwareLicenseInfo-CpjUKTrl.d.ts +8 -0
  102. package/build/js/Orientation-BNtNH3yS.d.ts +10 -0
  103. package/build/js/OverrideState-CGTOUAyb.d.ts +8 -0
  104. package/build/js/Point-CD9Qi9ID.d.ts +20 -0
  105. package/build/js/PointWithUnit-C_e8HUvk.d.ts +26 -0
  106. package/build/js/Quadrilateral-DbJ7LU2U.d.ts +25 -0
  107. package/build/js/Rect-BVo37EKG.d.ts +19 -0
  108. package/build/js/RectWithUnit-OJ1xPlBN.d.ts +19 -0
  109. package/build/js/RectangularViewfinder-j93qfYTd.d.ts +36 -0
  110. package/build/js/RectangularViewfinder.d.ts +2 -40
  111. package/build/js/RectangularViewfinder.js +1 -1
  112. package/build/js/ScanditHTMLElement-CrbGsFpn.d.ts +5 -0
  113. package/build/js/ScanditIcon-FRMSos7x.d.ts +49 -0
  114. package/build/js/ScanditIcon.d.ts +2 -50
  115. package/build/js/ScanditIcon.js +1 -1
  116. package/build/js/ScanditIconBuilder-BtnTaVeJ.d.ts +66 -0
  117. package/build/js/ScanditIconBuilder.d.ts +3 -68
  118. package/build/js/ScanditIconBuilder.js +1 -1
  119. package/build/js/Serializable-Dbturs7d.d.ts +9 -0
  120. package/build/js/SingleImageUploader-CRDpQ9PA.d.ts +43 -0
  121. package/build/js/SingleImageUploader.d.ts +2 -48
  122. package/build/js/SingleImageUploader.js +1 -1
  123. package/build/js/SingleImageUploaderSettings-Y-cG1lpl.d.ts +33 -0
  124. package/build/js/SingleImageUploaderSettings.d.ts +2 -33
  125. package/build/js/SingleImageUploaderSettings.js +1 -1
  126. package/build/js/Size-i8Zhfc5b.d.ts +18 -0
  127. package/build/js/SizeMode-CkAAaxIg.d.ts +9 -0
  128. package/build/js/SizeWithAspect-Dg-YCV1Q.d.ts +12 -0
  129. package/build/js/SizeWithUnit-CNgvxsVj.d.ts +26 -0
  130. package/build/js/SizeWithUnitAndAspect-BrtiXpsG.d.ts +40 -0
  131. package/build/js/Sound-ByTzZ3ia.d.ts +21 -0
  132. package/build/js/Sound.d.ts +2 -21
  133. package/build/js/Sound.js +1 -1
  134. package/build/js/SvgIcon-CAR8Tf7x.d.ts +23 -0
  135. package/build/js/Vibration-B1J9JMda.d.ts +21 -0
  136. package/build/js/Vibration.d.ts +2 -21
  137. package/build/js/Vibration.js +1 -1
  138. package/build/js/View-BvEw8Q1D.d.ts +7 -0
  139. package/build/js/Viewfinder-DTjfkI0v.d.ts +19 -0
  140. package/build/js/Viewfinder.d.ts +2 -26
  141. package/build/js/Viewfinder.js +1 -1
  142. package/build/js/ViewfinderPlusRelated-CuUarlQb.d.ts +72 -0
  143. package/build/js/ViewfinderPlusRelated.d.ts +2 -76
  144. package/build/js/ViewfinderPlusRelated.js +1 -1
  145. package/build/js/WatermarkStack-CDKo8wBr.d.ts +41 -0
  146. package/build/js/ZoomGestureListener.d.ts +2 -3
  147. package/build/js/ZoomListener.d.ts +2 -7
  148. package/build/js/ZoomSwitchOrientation-Deylpp5l.d.ts +8 -0
  149. package/build/js/ZoomSwitchOrientation.d.ts +2 -8
  150. package/build/js/ZoomSwitchOrientation.js +1 -1
  151. package/build/js/areEqualArrays-BpuDaVrU.d.ts +4 -0
  152. package/build/js/assets/beepSound.d.ts +3 -3
  153. package/build/js/assets/beepSound.js +1 -1
  154. package/build/js/assets/folderImage.d.ts +3 -3
  155. package/build/js/assets/folderImage.js +1 -1
  156. package/build/js/assets/scanningByScandit.d.ts +3 -3
  157. package/build/js/assets/scanningByScandit.js +1 -1
  158. package/build/js/assets/transparentPixelImage.d.ts +3 -3
  159. package/build/js/assets/transparentPixelImage.js +1 -1
  160. package/build/js/browserCompatibility-DD4Tvtlv.d.ts +88 -0
  161. package/build/js/browserCompatibility.d.ts +2 -88
  162. package/build/js/browserCompatibility.js +1 -1
  163. package/build/js/browserHelper-BQPnAZ2Y.js +1 -0
  164. package/build/js/browserHelper-Dno5no9Z.d.ts +224 -0
  165. package/build/js/browserHelper.d.ts +2 -224
  166. package/build/js/browserHelper.js +1 -1
  167. package/build/js/clamp-B71RA4rG.d.ts +4 -0
  168. package/build/js/common-BisNSU4o.d.ts +25 -0
  169. package/build/js/commons/Anchor.d.ts +2 -14
  170. package/build/js/commons/Anchor.js +1 -1
  171. package/build/js/commons/Color.d.ts +2 -28
  172. package/build/js/commons/Color.js +1 -1
  173. package/build/js/commons/Direction.d.ts +2 -12
  174. package/build/js/commons/Direction.js +1 -1
  175. package/build/js/commons/JSONType.d.ts +2 -6
  176. package/build/js/commons/MarginsWithUnit.d.ts +2 -39
  177. package/build/js/commons/MarginsWithUnit.js +1 -1
  178. package/build/js/commons/MeasureUnit.d.ts +2 -7
  179. package/build/js/commons/MeasureUnit.js +1 -1
  180. package/build/js/commons/NumberWithUnit.d.ts +2 -19
  181. package/build/js/commons/NumberWithUnit.js +1 -1
  182. package/build/js/commons/Orientation.d.ts +2 -10
  183. package/build/js/commons/Orientation.js +1 -1
  184. package/build/js/commons/Point.d.ts +2 -20
  185. package/build/js/commons/Point.js +1 -1
  186. package/build/js/commons/PointWithUnit.d.ts +2 -27
  187. package/build/js/commons/PointWithUnit.js +1 -1
  188. package/build/js/commons/Quadrilateral.d.ts +2 -25
  189. package/build/js/commons/Quadrilateral.js +1 -1
  190. package/build/js/commons/Rect.d.ts +2 -19
  191. package/build/js/commons/Rect.js +1 -1
  192. package/build/js/commons/RectWithUnit.d.ts +2 -21
  193. package/build/js/commons/RectWithUnit.js +1 -1
  194. package/build/js/commons/Size.d.ts +2 -18
  195. package/build/js/commons/Size.js +1 -1
  196. package/build/js/commons/SizeMode.d.ts +2 -9
  197. package/build/js/commons/SizeMode.js +1 -1
  198. package/build/js/commons/SizeWithAspect.d.ts +2 -14
  199. package/build/js/commons/SizeWithAspect.js +1 -1
  200. package/build/js/commons/SizeWithUnit.d.ts +2 -27
  201. package/build/js/commons/SizeWithUnit.js +1 -1
  202. package/build/js/commons/SizeWithUnitAndAspect.d.ts +2 -42
  203. package/build/js/commons/SizeWithUnitAndAspect.js +1 -1
  204. package/build/js/controls/CameraFOVSwitchControl.d.ts +2 -76
  205. package/build/js/controls/CameraFOVSwitchControl.js +1 -1
  206. package/build/js/controls/CameraSwitchControl.d.ts +2 -66
  207. package/build/js/controls/CameraSwitchControl.js +1 -1
  208. package/build/js/controls/TorchSwitchControl.d.ts +2 -67
  209. package/build/js/controls/TorchSwitchControl.js +1 -1
  210. package/build/js/controls/ZoomSwitchControl.d.ts +2 -97
  211. package/build/js/controls/ZoomSwitchControl.js +1 -1
  212. package/build/js/controls/common.d.ts +2 -39
  213. package/build/js/controls/index.d.ts +2 -44
  214. package/build/js/controls/index.js +1 -1
  215. package/build/js/css-DUhStyMA.d.ts +4 -0
  216. package/build/js/debounce-B1bV6NXR.d.ts +4 -0
  217. package/build/js/defaults/DefaultsBrush.d.ts +4 -6
  218. package/build/js/defaults/DefaultsBrush.js +1 -1
  219. package/build/js/defaults/DefaultsCamera.d.ts +13 -51
  220. package/build/js/defaults/DefaultsCamera.js +1 -1
  221. package/build/js/defaults/DefaultsCameraSettings.d.ts +9 -14
  222. package/build/js/defaults/DefaultsCameraSettings.js +1 -1
  223. package/build/js/defaults/DefaultsDataCaptureView.d.ts +15 -18
  224. package/build/js/defaults/DefaultsDataCaptureView.js +1 -1
  225. package/build/js/defaults/DefaultsDeserializers.d.ts +6 -7
  226. package/build/js/defaults/DefaultsDeserializers.js +1 -1
  227. package/build/js/defaults/DefaultsFeedback.d.ts +4 -4
  228. package/build/js/defaults/DefaultsFeedback.js +1 -1
  229. package/build/js/defaults/DefaultsSingleImageUploader.d.ts +13 -13
  230. package/build/js/defaults/DefaultsSingleImageUploader.js +1 -1
  231. package/build/js/defaults/DefaultsViewfinders.d.ts +36 -41
  232. package/build/js/defaults/DefaultsViewfinders.js +1 -1
  233. package/build/js/deferred-BAgaHYOv.d.ts +9 -0
  234. package/build/js/defineCustomElements-D-wGrRhB.d.ts +4 -0
  235. package/build/js/domIdFromValues-i9GfVUED.d.ts +18 -0
  236. package/build/js/fromEntries-ByUS4mw-.d.ts +14 -0
  237. package/build/js/{global.d.d.ts → global.d.ts} +8 -11
  238. package/build/js/html-D92h5xTe.d.ts +60 -0
  239. package/build/js/hybridDesktopPlatformHelpers-DPAJQLcX.js +1 -0
  240. package/build/js/index-CBqIEC2q.d.ts +1 -0
  241. package/build/js/index-Cpl5B5iN.d.ts +58 -0
  242. package/build/js/index-PiddVj70.d.ts +9769 -0
  243. package/build/js/index.d.ts +57 -78
  244. package/build/js/index.js +1 -1
  245. package/build/js/isObject-DqOU8mxL.d.ts +4 -0
  246. package/build/js/isWorkerScope-CBqhEpK_.d.ts +4 -0
  247. package/build/js/license/OpenSourceSoftwareLicenseInfo.d.ts +2 -8
  248. package/build/js/license/OpenSourceSoftwareLicenseInfo.js +1 -1
  249. package/build/js/logger-D9wplwND.d.ts +30 -0
  250. package/build/js/logger.d.ts +2 -30
  251. package/build/js/logger.js +1 -1
  252. package/build/js/moduleLoader.d.ts +2 -39
  253. package/build/js/multithreadSimdHelper-BrYdWJgw.js +1 -0
  254. package/build/js/nativeHandle-DlljYL22.d.ts +4 -0
  255. package/build/js/private/AdditionalLayerPosition.d.ts +2 -6
  256. package/build/js/private/AdditionalLayerPosition.js +1 -1
  257. package/build/js/private/AnchorPositions.d.ts +2 -42
  258. package/build/js/private/AnchorPositions.js +1 -1
  259. package/build/js/private/BatteryInterface.d.ts +2 -81
  260. package/build/js/private/BatteryInterface.js +1 -1
  261. package/build/js/private/CameraAccess.d.ts +2 -7
  262. package/build/js/private/CameraAccess.js +1 -1
  263. package/build/js/private/CameraManager.d.ts +2 -39
  264. package/build/js/private/CameraManager.js +1 -1
  265. package/build/js/private/CameraPool.d.ts +76 -114
  266. package/build/js/private/CameraPool.js +1 -1
  267. package/build/js/private/CanvasDrawer.d.ts +30 -31
  268. package/build/js/private/CanvasDrawer.js +1 -1
  269. package/build/js/private/CanvasDrawerWithMetrics.d.ts +27 -66
  270. package/build/js/private/CanvasDrawerWithMetrics.js +1 -1
  271. package/build/js/private/CavansDrawerAbstract.d.ts +2 -37
  272. package/build/js/private/CavansDrawerAbstract.js +1 -1
  273. package/build/js/private/CoreModuleLicenseTextProvider.d.ts +13 -49
  274. package/build/js/private/CoreModuleLicenseTextProvider.js +1 -1
  275. package/build/js/private/CustomLocationsView.d.ts +2 -64
  276. package/build/js/private/CustomLocationsView.js +1 -1
  277. package/build/js/private/CustomLocationsViewStyles.d.ts +4 -4
  278. package/build/js/private/CustomLocationsViewStyles.js +17 -1
  279. package/build/js/private/DataCaptureContextRelated.d.ts +7 -44
  280. package/build/js/private/DrawCommandBuffer.d.ts +2 -44
  281. package/build/js/private/DrawCommandBuffer.js +1 -1
  282. package/build/js/private/EventManager.d.ts +2 -9
  283. package/build/js/private/EventManager.js +1 -1
  284. package/build/js/private/FrameReaders/ColorType.d.ts +2 -7
  285. package/build/js/private/FrameReaders/ColorType.js +1 -1
  286. package/build/js/private/FrameReaders/FrameReader.d.ts +2 -54
  287. package/build/js/private/FrameReaders/FrameReader.js +1 -1
  288. package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +2 -69
  289. package/build/js/private/FrameReaders/FrameReaderAbstract.js +1 -1
  290. package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +2 -74
  291. package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
  292. package/build/js/private/FrameReaders/WatermarkStack.d.ts +2 -41
  293. package/build/js/private/FrameReaders/WatermarkStack.js +1 -1
  294. package/build/js/private/FrameReaders/index.d.ts +3 -43
  295. package/build/js/private/FrameReaders/index.js +1 -1
  296. package/build/js/private/FrameReaders/webglUtilities.d.ts +3 -3
  297. package/build/js/private/FrameReaders/webglUtilities.js +1 -1
  298. package/build/js/private/GestureRecognizer/GestureRecognizer.d.ts +65 -66
  299. package/build/js/private/GestureRecognizer/GestureRecognizer.js +1 -1
  300. package/build/js/private/GestureRecognizer/PointerEventsDetector.d.ts +11 -15
  301. package/build/js/private/GestureRecognizer/PointerEventsDetector.js +1 -1
  302. package/build/js/private/GestureRecognizer/index.d.ts +2 -5
  303. package/build/js/private/GestureRecognizer/index.js +1 -1
  304. package/build/js/private/Helper.d.ts +7 -7
  305. package/build/js/private/Helper.js +1 -1
  306. package/build/js/private/HtmlElementState.d.ts +2 -37
  307. package/build/js/private/HtmlElementState.js +1 -1
  308. package/build/js/private/ImageConverterBase.d.ts +40 -40
  309. package/build/js/private/ImageConverterBase.js +1 -1
  310. package/build/js/private/ImageConverterMainThread.d.ts +6 -7
  311. package/build/js/private/ImageConverterMainThread.js +1 -1
  312. package/build/js/private/ModuleLicenseTextProvider.d.ts +4 -4
  313. package/build/js/private/NormalizedModuleLoaderOptions.d.ts +10 -46
  314. package/build/js/private/OrientationObserver.d.ts +26 -26
  315. package/build/js/private/OrientationObserver.js +1 -1
  316. package/build/js/private/Serializable.d.ts +2 -9
  317. package/build/js/private/SingleImageUploaderView.d.ts +52 -89
  318. package/build/js/private/SingleImageUploaderView.js +1 -1
  319. package/build/js/private/SingleImageUploaderViewStyles.d.ts +23 -23
  320. package/build/js/private/SingleImageUploaderViewStyles.js +31 -1
  321. package/build/js/private/View.d.ts +2 -7
  322. package/build/js/private/ViewClassNames.d.ts +13 -13
  323. package/build/js/private/ViewClassNames.js +1 -1
  324. package/build/js/private/ViewControls_related.d.ts +82 -121
  325. package/build/js/private/ViewControls_related.js +1 -0
  326. package/build/js/private/ViewStyles.d.ts +3 -3
  327. package/build/js/private/ViewStyles.js +1 -1
  328. package/build/js/private/ViewsRegistry.d.ts +4 -41
  329. package/build/js/private/ViewsRegistry.js +1 -1
  330. package/build/js/private/customHowler/AudioCache.d.ts +2 -37
  331. package/build/js/private/customHowler/AudioCache.js +1 -1
  332. package/build/js/private/customHowler/Howl.d.ts +141 -141
  333. package/build/js/private/customHowler/Howl.js +1 -1
  334. package/build/js/private/customHowler/HowlRegistry.d.ts +3 -3
  335. package/build/js/private/customHowler/HowlRegistry.js +1 -1
  336. package/build/js/private/customHowler/Html5Sound.d.ts +45 -45
  337. package/build/js/private/customHowler/Html5Sound.js +1 -1
  338. package/build/js/private/customHowler/UnlockManager.d.ts +32 -32
  339. package/build/js/private/customHowler/UnlockManager.js +1 -1
  340. package/build/js/private/customHowler/WebAudioContextManager.d.ts +127 -127
  341. package/build/js/private/customHowler/WebAudioContextManager.js +1 -1
  342. package/build/js/private/customHowler/debug.d.ts +3 -3
  343. package/build/js/private/customHowler/debug.js +1 -1
  344. package/build/js/private/customHowler/index.d.ts +2 -2
  345. package/build/js/private/customHowler/index.js +1 -1
  346. package/build/js/private/customHowler/setup.d.ts +4 -5
  347. package/build/js/private/customHowler/setup.js +1 -1
  348. package/build/js/private/djinni-types/index.d.ts +2 -57
  349. package/build/js/private/djinni-types/index.js +1 -1
  350. package/build/js/private/hybridDesktopPlatformHelpers.d.ts +5 -5
  351. package/build/js/private/hybridDesktopPlatformHelpers.js +1 -1
  352. package/build/js/private/multithreadSimdHelper.d.ts +3 -3
  353. package/build/js/private/multithreadSimdHelper.js +1 -1
  354. package/build/js/private/nativeHandle.d.ts +2 -4
  355. package/build/js/private/nativeHandle.js +1 -1
  356. package/build/js/private/privateAccess.d.ts +2 -8
  357. package/build/js/private/privateAccess.js +1 -1
  358. package/build/js/private/ui/atoms/AimerSvgIcon.d.ts +11 -12
  359. package/build/js/private/ui/atoms/AimerSvgIcon.js +1 -1
  360. package/build/js/private/ui/atoms/ArrowDownSvgIcon.d.ts +11 -12
  361. package/build/js/private/ui/atoms/ArrowDownSvgIcon.js +1 -2
  362. package/build/js/private/ui/atoms/ArrowLeftSvgIcon.d.ts +11 -12
  363. package/build/js/private/ui/atoms/ArrowLeftSvgIcon.js +1 -2
  364. package/build/js/private/ui/atoms/ArrowRightSvgIcon.d.ts +11 -12
  365. package/build/js/private/ui/atoms/ArrowRightSvgIcon.js +1 -2
  366. package/build/js/private/ui/atoms/ArrowUpSvgIcon.d.ts +11 -12
  367. package/build/js/private/ui/atoms/ArrowUpSvgIcon.js +1 -2
  368. package/build/js/private/ui/atoms/ArrowsUp.d.ts +13 -13
  369. package/build/js/private/ui/atoms/ArrowsUp.js +1 -1
  370. package/build/js/private/ui/atoms/Backdrop.d.ts +29 -23
  371. package/build/js/private/ui/atoms/Backdrop.js +1 -1
  372. package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.d.ts +11 -12
  373. package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.js +1 -1
  374. package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.d.ts +11 -12
  375. package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.js +1 -1
  376. package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.d.ts +11 -12
  377. package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.js +1 -1
  378. package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.d.ts +11 -12
  379. package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.js +1 -1
  380. package/build/js/private/ui/atoms/CameraSwitchSvgIcon.d.ts +11 -12
  381. package/build/js/private/ui/atoms/CameraSwitchSvgIcon.js +1 -1
  382. package/build/js/private/ui/atoms/Card.d.ts +21 -22
  383. package/build/js/private/ui/atoms/Card.js +1 -1
  384. package/build/js/private/ui/atoms/CardList.d.ts +49 -51
  385. package/build/js/private/ui/atoms/CardList.js +1 -1
  386. package/build/js/private/ui/atoms/CheckSvgIcon.d.ts +11 -12
  387. package/build/js/private/ui/atoms/CheckSvgIcon.js +1 -1
  388. package/build/js/private/ui/atoms/ChevronDownSvgIcon.d.ts +11 -12
  389. package/build/js/private/ui/atoms/ChevronDownSvgIcon.js +1 -2
  390. package/build/js/private/ui/atoms/ChevronLeftSvgIcon.d.ts +11 -12
  391. package/build/js/private/ui/atoms/ChevronLeftSvgIcon.js +1 -2
  392. package/build/js/private/ui/atoms/ChevronRightSvgIcon.d.ts +11 -12
  393. package/build/js/private/ui/atoms/ChevronRightSvgIcon.js +1 -2
  394. package/build/js/private/ui/atoms/ChevronUpSvgIcon.d.ts +11 -12
  395. package/build/js/private/ui/atoms/ChevronUpSvgIcon.js +1 -2
  396. package/build/js/private/ui/atoms/CrossSvgIcon.d.ts +11 -12
  397. package/build/js/private/ui/atoms/CrossSvgIcon.js +1 -1
  398. package/build/js/private/ui/atoms/DeleteSvgIcon.d.ts +11 -12
  399. package/build/js/private/ui/atoms/DeleteSvgIcon.js +1 -1
  400. package/build/js/private/ui/atoms/Dot5xSvgIcon.d.ts +11 -12
  401. package/build/js/private/ui/atoms/Dot5xSvgIcon.js +1 -1
  402. package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.d.ts +11 -12
  403. package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.js +1 -1
  404. package/build/js/private/ui/atoms/GlassSvgIcon.d.ts +11 -12
  405. package/build/js/private/ui/atoms/GlassSvgIcon.js +1 -1
  406. package/build/js/private/ui/atoms/HandLensCheckSvgIcon.d.ts +11 -12
  407. package/build/js/private/ui/atoms/HandLensCheckSvgIcon.js +1 -1
  408. package/build/js/private/ui/atoms/KeyboardSvgIcon.d.ts +11 -12
  409. package/build/js/private/ui/atoms/KeyboardSvgIcon.js +1 -1
  410. package/build/js/private/ui/atoms/LowStockSvgIcon.d.ts +11 -12
  411. package/build/js/private/ui/atoms/LowStockSvgIcon.js +1 -1
  412. package/build/js/private/ui/atoms/OnexSvgIcon.d.ts +11 -12
  413. package/build/js/private/ui/atoms/OnexSvgIcon.js +1 -1
  414. package/build/js/private/ui/atoms/PauseSvgIcon.d.ts +11 -12
  415. package/build/js/private/ui/atoms/PauseSvgIcon.js +1 -1
  416. package/build/js/private/ui/atoms/PrinterSvgIcon.d.ts +11 -12
  417. package/build/js/private/ui/atoms/PrinterSvgIcon.js +1 -2
  418. package/build/js/private/ui/atoms/ProgressBar.d.ts +22 -22
  419. package/build/js/private/ui/atoms/ProgressBar.js +1 -1
  420. package/build/js/private/ui/atoms/QuestionMarkSvgIcon.d.ts +11 -12
  421. package/build/js/private/ui/atoms/QuestionMarkSvgIcon.js +1 -1
  422. package/build/js/private/ui/atoms/RestartSvgIcon.d.ts +11 -12
  423. package/build/js/private/ui/atoms/RestartSvgIcon.js +1 -1
  424. package/build/js/private/ui/atoms/RoundedCheckSvgIcon.d.ts +11 -12
  425. package/build/js/private/ui/atoms/RoundedCheckSvgIcon.js +1 -1
  426. package/build/js/private/ui/atoms/RoundedCrossSvgIcon.d.ts +11 -12
  427. package/build/js/private/ui/atoms/RoundedCrossSvgIcon.js +1 -1
  428. package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.d.ts +11 -12
  429. package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.js +1 -1
  430. package/build/js/private/ui/atoms/ScanSvgIcon.d.ts +11 -12
  431. package/build/js/private/ui/atoms/ScanSvgIcon.js +1 -1
  432. package/build/js/private/ui/atoms/ShutterButton.d.ts +34 -34
  433. package/build/js/private/ui/atoms/ShutterButton.js +1 -1
  434. package/build/js/private/ui/atoms/SlashSvgIcon.d.ts +11 -12
  435. package/build/js/private/ui/atoms/SlashSvgIcon.js +1 -1
  436. package/build/js/private/ui/atoms/StarFilledSvgIcon.d.ts +11 -12
  437. package/build/js/private/ui/atoms/StarFilledSvgIcon.js +1 -1
  438. package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.d.ts +11 -12
  439. package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.js +1 -2
  440. package/build/js/private/ui/atoms/StarOutlinedSvgIcon.d.ts +11 -12
  441. package/build/js/private/ui/atoms/StarOutlinedSvgIcon.js +1 -1
  442. package/build/js/private/ui/atoms/SvgIcon.d.ts +2 -23
  443. package/build/js/private/ui/atoms/SvgIcon.js +1 -1
  444. package/build/js/private/ui/atoms/ToPickSvgIcon.d.ts +11 -12
  445. package/build/js/private/ui/atoms/ToPickSvgIcon.js +1 -1
  446. package/build/js/private/ui/atoms/Toast.d.ts +41 -76
  447. package/build/js/private/ui/atoms/Toast.js +1 -1
  448. package/build/js/private/ui/atoms/TorchOffSvgIcon.d.ts +11 -12
  449. package/build/js/private/ui/atoms/TorchOffSvgIcon.js +1 -1
  450. package/build/js/private/ui/atoms/TorchOnSvgIcon.d.ts +11 -12
  451. package/build/js/private/ui/atoms/TorchOnSvgIcon.js +1 -1
  452. package/build/js/private/ui/atoms/TwoxSvgIcon.d.ts +11 -12
  453. package/build/js/private/ui/atoms/TwoxSvgIcon.js +1 -1
  454. package/build/js/private/ui/atoms/WrongItemSvgIcon.d.ts +11 -12
  455. package/build/js/private/ui/atoms/WrongItemSvgIcon.js +1 -1
  456. package/build/js/private/ui/colors.d.ts +4 -5
  457. package/build/js/private/ui/colors.js +1 -1
  458. package/build/js/private/ui/molecules/ButtonEvents.d.ts +18 -18
  459. package/build/js/private/ui/molecules/ButtonEvents.js +1 -1
  460. package/build/js/private/ui/molecules/CameraFOVSwitchButton.d.ts +54 -57
  461. package/build/js/private/ui/molecules/CameraFOVSwitchButton.js +1 -1
  462. package/build/js/private/ui/molecules/CameraSwitchButton.d.ts +47 -50
  463. package/build/js/private/ui/molecules/CameraSwitchButton.js +1 -1
  464. package/build/js/private/ui/molecules/ControlsLayout.d.ts +12 -12
  465. package/build/js/private/ui/molecules/ControlsLayout.js +1 -1
  466. package/build/js/private/ui/molecules/HintPresenter.d.ts +2 -39
  467. package/build/js/private/ui/molecules/HintPresenter.js +1 -1
  468. package/build/js/private/ui/molecules/LoadingOverlay.d.ts +20 -20
  469. package/build/js/private/ui/molecules/LoadingOverlay.js +1 -1
  470. package/build/js/private/ui/molecules/TorchSwitchIconButton.d.ts +54 -60
  471. package/build/js/private/ui/molecules/TorchSwitchIconButton.js +1 -1
  472. package/build/js/private/ui/molecules/ZoomSwitchPill.d.ts +62 -65
  473. package/build/js/private/ui/molecules/ZoomSwitchPill.js +1 -1
  474. package/build/js/private/unsupportedBrowserError.d.ts +7 -7
  475. package/build/js/private/unsupportedBrowserError.js +1 -1
  476. package/build/js/private/utils/AnimationSimplePolyfill.d.ts +54 -54
  477. package/build/js/private/utils/AnimationSimplePolyfill.js +1 -1
  478. package/build/js/private/utils/AsyncStateMachine.d.ts +2 -49
  479. package/build/js/private/utils/AsyncStateMachine.js +1 -1
  480. package/build/js/private/utils/ScanditHTMLElement.d.ts +2 -6
  481. package/build/js/private/utils/ScanditHTMLElement.js +1 -1
  482. package/build/js/private/utils/areEqualArrays.d.ts +2 -4
  483. package/build/js/private/utils/areEqualArrays.js +1 -1
  484. package/build/js/private/utils/clamp.d.ts +2 -4
  485. package/build/js/private/utils/clamp.js +1 -1
  486. package/build/js/private/utils/cookieStore.d.ts +3 -3
  487. package/build/js/private/utils/cookieStore.js +1 -1
  488. package/build/js/private/utils/cookieStorePolyfill.d.ts +16 -16
  489. package/build/js/private/utils/cookieStorePolyfill.js +1 -1
  490. package/build/js/private/utils/css.d.ts +2 -4
  491. package/build/js/private/utils/css.js +1 -1
  492. package/build/js/private/utils/debounce.d.ts +2 -4
  493. package/build/js/private/utils/debounce.js +1 -1
  494. package/build/js/private/utils/deferred.d.ts +2 -9
  495. package/build/js/private/utils/deferred.js +1 -1
  496. package/build/js/private/utils/defineCustomElements.d.ts +2 -4
  497. package/build/js/private/utils/defineCustomElements.js +1 -1
  498. package/build/js/private/utils/domIdFromValues.d.ts +2 -18
  499. package/build/js/private/utils/domIdFromValues.js +1 -1
  500. package/build/js/private/utils/finalizationRegistryPolyfill.d.ts +3 -3
  501. package/build/js/private/utils/finalizationRegistryPolyfill.js +1 -1
  502. package/build/js/private/utils/fromEntries.d.ts +2 -14
  503. package/build/js/private/utils/fromEntries.js +1 -1
  504. package/build/js/private/utils/fromGrayScaleToRgba.d.ts +3 -3
  505. package/build/js/private/utils/fromGrayScaleToRgba.js +1 -1
  506. package/build/js/private/utils/getTimestamp.d.ts +3 -3
  507. package/build/js/private/utils/getTimestamp.js +1 -1
  508. package/build/js/private/utils/globalThisPolyfill.d.ts +3 -3
  509. package/build/js/private/utils/globalThisPolyfill.js +1 -1
  510. package/build/js/private/utils/html.d.ts +2 -60
  511. package/build/js/private/utils/html.js +1 -1
  512. package/build/js/private/utils/index.d.ts +21 -21
  513. package/build/js/private/utils/index.js +1 -1
  514. package/build/js/private/utils/isObject.d.ts +2 -4
  515. package/build/js/private/utils/isObject.js +1 -1
  516. package/build/js/private/utils/isPointerTouchEvent.d.ts +3 -3
  517. package/build/js/private/utils/isPointerTouchEvent.js +1 -1
  518. package/build/js/private/utils/isWorkerScope.d.ts +2 -4
  519. package/build/js/private/utils/isWorkerScope.js +1 -1
  520. package/build/js/private/utils/polyfillLoader.d.ts +11 -11
  521. package/build/js/private/utils/polyfillLoader.js +1 -1
  522. package/build/js/private/utils/quadrilateralUtils.d.ts +4 -6
  523. package/build/js/private/utils/quadrilateralUtils.js +1 -1
  524. package/build/js/private/utils/replaceImagesInViewUtils.d.ts +7 -43
  525. package/build/js/private/utils/replaceImagesInViewUtils.js +1 -1
  526. package/build/js/private/utils/safeCancelAnimation.d.ts +2 -53
  527. package/build/js/private/utils/safeCancelAnimation.js +1 -1
  528. package/build/js/private/utils/safeRequestAnimationFrame.d.ts +2 -23
  529. package/build/js/private/utils/safeRequestAnimationFrame.js +1 -1
  530. package/build/js/private/utils/safeStorage.d.ts +17 -17
  531. package/build/js/private/utils/safeStorage.js +1 -1
  532. package/build/js/private/utils/structuredClonePolyfill.d.ts +3 -3
  533. package/build/js/private/utils/structuredClonePolyfill.js +1 -1
  534. package/build/js/private/utils/throttle.d.ts +2 -4
  535. package/build/js/private/utils/throttle.js +1 -1
  536. package/build/js/private/utils/timeout.d.ts +2 -14
  537. package/build/js/private/utils/timeout.js +1 -1
  538. package/build/js/private/utils/unknownErrorToString.d.ts +2 -4
  539. package/build/js/private/utils/unknownErrorToString.js +1 -1
  540. package/build/js/private/utils/wait.d.ts +2 -4
  541. package/build/js/private/utils/wait.js +1 -1
  542. package/build/js/private/utils/waitTransitionEndForElement.d.ts +2 -4
  543. package/build/js/private/utils/waitTransitionEndForElement.js +1 -1
  544. package/build/js/private/utils/warnMultithreadingUnavailable.d.ts +3 -3
  545. package/build/js/private/utils/warnMultithreadingUnavailable.js +1 -2
  546. package/build/js/privateAccess-Cy_yPta4.d.ts +8 -0
  547. package/build/js/safeCancelAnimation-C9SG0625.d.ts +53 -0
  548. package/build/js/safeRequestAnimationFrame-CrVl8FPa.d.ts +23 -0
  549. package/build/js/throttle-ICpoGeaZ.d.ts +4 -0
  550. package/build/js/timeout-CHMzurwd.d.ts +14 -0
  551. package/build/js/translations-Bqx7KLdt.d.ts +12 -0
  552. package/build/js/translations.d.ts +2 -12
  553. package/build/js/translations.js +1 -1
  554. package/build/js/tsHelper-N1CSjsuN.d.ts +18 -0
  555. package/build/js/tsHelper.d.ts +2 -26
  556. package/build/js/tsHelper.js +1 -1
  557. package/build/js/unknownErrorToString-BGDQCTvQ.d.ts +4 -0
  558. package/build/js/wait-CRu1G76q.d.ts +4 -0
  559. package/build/js/waitTransitionEndForElement-BrVosj17.d.ts +4 -0
  560. package/build/js/worker/ImageConverterForwarder.d.ts +21 -57
  561. package/build/js/worker/ImageConverterForwarder.js +1 -1
  562. package/build/js/worker/ImageConverterWorker.d.ts +6 -7
  563. package/build/js/worker/ImageConverterWorker.js +1 -1
  564. package/build/js/worker/OverrideState.d.ts +2 -8
  565. package/build/js/worker/OverrideState.js +1 -1
  566. package/build/js/worker/ViewInfoHelper.d.ts +9 -46
  567. package/build/js/worker/ViewInfoHelper.js +1 -1
  568. package/build/js/worker/WorkerMain.d.ts +2 -63
  569. package/build/js/worker/WorkerMain.js +1 -1
  570. package/build/js/worker/dataCaptureEngine.d.ts +2 -39
  571. package/build/js/worker/dataCaptureEngine.js +1 -1
  572. package/build/js/worker/dataCaptureLoader.d.ts +2 -39
  573. package/build/js/worker/dataCaptureLoader.js +1 -1
  574. package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -39
  575. package/build/js/worker/dataCaptureWorkerRelated.js +1 -1
  576. package/build/js/worker/helper.d.ts +22 -13
  577. package/build/js/worker/helper.js +1 -1
  578. package/build/js/worker/helperFetch.d.ts +36 -22
  579. package/build/js/worker/helperFetch.js +1 -1
  580. package/build/js/worker/helperFs.d.ts +5 -5
  581. package/build/js/worker/helperFs.js +1 -1
  582. package/build/js/worker/importWasmScript.d.ts +3 -3
  583. package/build/js/worker/importWasmScript.js +1 -1
  584. package/build/js/worker/index.d.ts +2 -40
  585. package/build/js/worker/index.js +1 -1
  586. package/package.json +21 -11
  587. package/build/electron/chunk-6RVAZ75N.js +0 -1
  588. package/build/electron/common.cjs +0 -1
  589. package/build/electron/common.js +0 -0
  590. package/build/electron/constants.cjs +0 -1
  591. package/build/electron/constants.js +0 -1
  592. package/build/js/Camera-HgH6fwnW.d.ts +0 -410
  593. package/build/js/DataCaptureContext-qacCkSOl.d.ts +0 -1740
  594. package/build/js/DataCaptureViewPlusRelated-BOrDBPHq.d.ts +0 -49
  595. package/build/js/chunks/chunk-24MGHMOY.js +0 -1
  596. package/build/js/chunks/chunk-2HTI5D6Y.js +0 -1
  597. package/build/js/chunks/chunk-2JIATMSD.js +0 -1
  598. package/build/js/chunks/chunk-2LSO6JEZ.js +0 -1
  599. package/build/js/chunks/chunk-2UHUEJA4.js +0 -1
  600. package/build/js/chunks/chunk-3A4KLILV.js +0 -1
  601. package/build/js/chunks/chunk-3A7LM5JG.js +0 -1
  602. package/build/js/chunks/chunk-3KKUZY2T.js +0 -1
  603. package/build/js/chunks/chunk-3MKSI2DV.js +0 -1
  604. package/build/js/chunks/chunk-4BP7D26M.js +0 -1
  605. package/build/js/chunks/chunk-4F2Q2P2O.js +0 -1
  606. package/build/js/chunks/chunk-4KLHTKGW.js +0 -1
  607. package/build/js/chunks/chunk-4LGQ66HW.js +0 -1
  608. package/build/js/chunks/chunk-4QJAB4PO.js +0 -1
  609. package/build/js/chunks/chunk-4W2T3TLN.js +0 -1
  610. package/build/js/chunks/chunk-4WA2PCJE.js +0 -1
  611. package/build/js/chunks/chunk-4ZMCJXZS.js +0 -1
  612. package/build/js/chunks/chunk-56OQ5EHO.js +0 -1
  613. package/build/js/chunks/chunk-5LXHD7FZ.js +0 -1
  614. package/build/js/chunks/chunk-5RCWM6NI.js +0 -1
  615. package/build/js/chunks/chunk-6AZW5IIG.js +0 -1
  616. package/build/js/chunks/chunk-6EEMWSEO.js +0 -1
  617. package/build/js/chunks/chunk-6H6FKGVE.js +0 -1
  618. package/build/js/chunks/chunk-6W7FX6LD.js +0 -1
  619. package/build/js/chunks/chunk-76IGNICM.js +0 -1
  620. package/build/js/chunks/chunk-7HYFN4JO.js +0 -1
  621. package/build/js/chunks/chunk-7LTHFX4E.js +0 -1
  622. package/build/js/chunks/chunk-7OFC24NE.js +0 -1
  623. package/build/js/chunks/chunk-7SA74NKD.js +0 -0
  624. package/build/js/chunks/chunk-7SW2PEHB.js +0 -1
  625. package/build/js/chunks/chunk-AAEQZ45T.js +0 -1
  626. package/build/js/chunks/chunk-AAPD5YU3.js +0 -1
  627. package/build/js/chunks/chunk-AC4QOIY7.js +0 -1
  628. package/build/js/chunks/chunk-ACCTMSWC.js +0 -1
  629. package/build/js/chunks/chunk-ACFJP5SR.js +0 -1
  630. package/build/js/chunks/chunk-AD77NFCP.js +0 -1
  631. package/build/js/chunks/chunk-AE2LWVIB.js +0 -1
  632. package/build/js/chunks/chunk-AIC4H5KG.js +0 -2
  633. package/build/js/chunks/chunk-AIRWHLJH.js +0 -1
  634. package/build/js/chunks/chunk-AZWFNBVA.js +0 -1
  635. package/build/js/chunks/chunk-BA3RP6L2.js +0 -1
  636. package/build/js/chunks/chunk-BDGRWHLY.js +0 -1
  637. package/build/js/chunks/chunk-BDLLVGRH.js +0 -1
  638. package/build/js/chunks/chunk-BZAQMYII.js +0 -1
  639. package/build/js/chunks/chunk-CA6FHIF6.js +0 -35
  640. package/build/js/chunks/chunk-CAHJ3YOV.js +0 -1
  641. package/build/js/chunks/chunk-CAUB35PV.js +0 -1
  642. package/build/js/chunks/chunk-CD2BU66N.js +0 -1
  643. package/build/js/chunks/chunk-CERFU73N.js +0 -1
  644. package/build/js/chunks/chunk-CGK5V6XZ.js +0 -1
  645. package/build/js/chunks/chunk-CRUOVJHW.js +0 -1
  646. package/build/js/chunks/chunk-CX2R2XQK.js +0 -1
  647. package/build/js/chunks/chunk-D222MT4V.js +0 -1
  648. package/build/js/chunks/chunk-DGIQ3GF7.js +0 -1
  649. package/build/js/chunks/chunk-DN32UPQC.js +0 -1
  650. package/build/js/chunks/chunk-DZE2EYSZ.js +0 -1
  651. package/build/js/chunks/chunk-E4XJ4GKD.js +0 -1
  652. package/build/js/chunks/chunk-EMLXDXWN.js +0 -1
  653. package/build/js/chunks/chunk-ENYHCJGH.js +0 -1
  654. package/build/js/chunks/chunk-EP3GI7KA.js +0 -1
  655. package/build/js/chunks/chunk-EQ6V4W5K.js +0 -1
  656. package/build/js/chunks/chunk-EQRBQJYM.js +0 -1
  657. package/build/js/chunks/chunk-EV4OEANA.js +0 -1
  658. package/build/js/chunks/chunk-F2GMW4LP.js +0 -1
  659. package/build/js/chunks/chunk-FGO2SSRS.js +0 -1
  660. package/build/js/chunks/chunk-FHUC75ND.js +0 -1
  661. package/build/js/chunks/chunk-FR24G4R7.js +0 -1
  662. package/build/js/chunks/chunk-FTD535WI.js +0 -1
  663. package/build/js/chunks/chunk-G2BRTVN7.js +0 -1
  664. package/build/js/chunks/chunk-GHTCNOQN.js +0 -1
  665. package/build/js/chunks/chunk-GMOTHEWV.js +0 -1
  666. package/build/js/chunks/chunk-GPJEB376.js +0 -1
  667. package/build/js/chunks/chunk-GPPCTFZF.js +0 -1
  668. package/build/js/chunks/chunk-GPUTPXQM.js +0 -1
  669. package/build/js/chunks/chunk-GQ7A6533.js +0 -1
  670. package/build/js/chunks/chunk-GVHXM75D.js +0 -1
  671. package/build/js/chunks/chunk-H3J4TP2K.js +0 -1
  672. package/build/js/chunks/chunk-I6SWF3FQ.js +0 -1
  673. package/build/js/chunks/chunk-IASACVTH.js +0 -1
  674. package/build/js/chunks/chunk-IJQG3OU6.js +0 -1
  675. package/build/js/chunks/chunk-IMXMNDKM.js +0 -1
  676. package/build/js/chunks/chunk-JCKM5IJO.js +0 -0
  677. package/build/js/chunks/chunk-JFRSUCMO.js +0 -31
  678. package/build/js/chunks/chunk-JIGCOX5J.js +0 -1
  679. package/build/js/chunks/chunk-JLTSTUKY.js +0 -1
  680. package/build/js/chunks/chunk-JS3T7K2Z.js +0 -1
  681. package/build/js/chunks/chunk-KAFNKP6O.js +0 -1
  682. package/build/js/chunks/chunk-KSCFPJAW.js +0 -1
  683. package/build/js/chunks/chunk-KXAJHLEO.js +0 -1
  684. package/build/js/chunks/chunk-KYNYQBNF.js +0 -17
  685. package/build/js/chunks/chunk-L2STPTEN.js +0 -1
  686. package/build/js/chunks/chunk-L66S4DN2.js +0 -1
  687. package/build/js/chunks/chunk-LA6TM76R.js +0 -1
  688. package/build/js/chunks/chunk-LFJUGRQV.js +0 -1
  689. package/build/js/chunks/chunk-LPFXHHWJ.js +0 -1
  690. package/build/js/chunks/chunk-LSZZVJ6B.js +0 -1
  691. package/build/js/chunks/chunk-LV6LGCDC.js +0 -1
  692. package/build/js/chunks/chunk-LXOZUOZU.js +0 -1
  693. package/build/js/chunks/chunk-MA3GV76P.js +0 -1
  694. package/build/js/chunks/chunk-MA6UDVDJ.js +0 -1
  695. package/build/js/chunks/chunk-N5YZEC56.js +0 -1
  696. package/build/js/chunks/chunk-NIKRAADM.js +0 -1
  697. package/build/js/chunks/chunk-NQF3GUK2.js +0 -1
  698. package/build/js/chunks/chunk-NVK73TNL.js +0 -1
  699. package/build/js/chunks/chunk-NYYGU4ZV.js +0 -1
  700. package/build/js/chunks/chunk-O4HDBWKK.js +0 -1
  701. package/build/js/chunks/chunk-O7EM4VIM.js +0 -1
  702. package/build/js/chunks/chunk-O7TZTIHO.js +0 -1
  703. package/build/js/chunks/chunk-OLUNDJBC.js +0 -1
  704. package/build/js/chunks/chunk-ORP45GHJ.js +0 -1
  705. package/build/js/chunks/chunk-OX64CCOP.js +0 -1
  706. package/build/js/chunks/chunk-P2R7FW6C.js +0 -1
  707. package/build/js/chunks/chunk-P3NPNIWR.js +0 -1
  708. package/build/js/chunks/chunk-Q7JWDX4U.js +0 -1
  709. package/build/js/chunks/chunk-QBDQQMQ5.js +0 -1
  710. package/build/js/chunks/chunk-QCRFVRSS.js +0 -1
  711. package/build/js/chunks/chunk-QCZSSQAQ.js +0 -1
  712. package/build/js/chunks/chunk-QFSNPY5Y.js +0 -1
  713. package/build/js/chunks/chunk-QG3MRQMP.js +0 -1
  714. package/build/js/chunks/chunk-QHBIT2WY.js +0 -1
  715. package/build/js/chunks/chunk-QIWPWOQG.js +0 -1
  716. package/build/js/chunks/chunk-QOCHMKNY.js +0 -1
  717. package/build/js/chunks/chunk-QQEY536Q.js +0 -1
  718. package/build/js/chunks/chunk-QUWP3ILW.js +0 -1
  719. package/build/js/chunks/chunk-R6E4CT22.js +0 -1
  720. package/build/js/chunks/chunk-R6SUMD5F.js +0 -1
  721. package/build/js/chunks/chunk-RG272MAJ.js +0 -1
  722. package/build/js/chunks/chunk-RSQRPDVQ.js +0 -1
  723. package/build/js/chunks/chunk-RXDVYEE5.js +0 -1
  724. package/build/js/chunks/chunk-RXPPTQAB.js +0 -1
  725. package/build/js/chunks/chunk-RXT3JWWR.js +0 -1
  726. package/build/js/chunks/chunk-RZTXUIJ5.js +0 -0
  727. package/build/js/chunks/chunk-SBC5K7IT.js +0 -1
  728. package/build/js/chunks/chunk-SEAVQZN6.js +0 -1
  729. package/build/js/chunks/chunk-SGL5J2CI.js +0 -1
  730. package/build/js/chunks/chunk-SHM7SU3B.js +0 -1
  731. package/build/js/chunks/chunk-SJIN27Q5.js +0 -1
  732. package/build/js/chunks/chunk-SK6L34IF.js +0 -1
  733. package/build/js/chunks/chunk-SNP4G4KV.js +0 -0
  734. package/build/js/chunks/chunk-T3AOBMAS.js +0 -1
  735. package/build/js/chunks/chunk-TKO5JMMS.js +0 -1
  736. package/build/js/chunks/chunk-TPHGDMKG.js +0 -1
  737. package/build/js/chunks/chunk-TR3NGINC.js +0 -1
  738. package/build/js/chunks/chunk-TTGJAMI2.js +0 -1
  739. package/build/js/chunks/chunk-U2WQ3WDE.js +0 -1
  740. package/build/js/chunks/chunk-U4IMOTYL.js +0 -1
  741. package/build/js/chunks/chunk-U6MFAGMG.js +0 -1
  742. package/build/js/chunks/chunk-U7ETOWGJ.js +0 -1
  743. package/build/js/chunks/chunk-UNO6YIIA.js +0 -1
  744. package/build/js/chunks/chunk-UWBNF47P.js +0 -1
  745. package/build/js/chunks/chunk-UWLAKRB2.js +0 -2
  746. package/build/js/chunks/chunk-UZWBB65W.js +0 -1
  747. package/build/js/chunks/chunk-V2OKMBZD.js +0 -1
  748. package/build/js/chunks/chunk-VJB527QZ.js +0 -1
  749. package/build/js/chunks/chunk-VSROWPI6.js +0 -1
  750. package/build/js/chunks/chunk-W33RVR5M.js +0 -1
  751. package/build/js/chunks/chunk-W3X3ZRQZ.js +0 -1
  752. package/build/js/chunks/chunk-WARGMW7Z.js +0 -1
  753. package/build/js/chunks/chunk-WFKB322J.js +0 -1
  754. package/build/js/chunks/chunk-WGLHZXRT.js +0 -1
  755. package/build/js/chunks/chunk-WHRRC6V6.js +0 -1
  756. package/build/js/chunks/chunk-WOOPJWJS.js +0 -1
  757. package/build/js/chunks/chunk-WUHKODFA.js +0 -1
  758. package/build/js/chunks/chunk-XR65N6EG.js +0 -1
  759. package/build/js/chunks/chunk-XUIVDVLK.js +0 -6
  760. package/build/js/chunks/chunk-Y3TODCJD.js +0 -1
  761. package/build/js/chunks/chunk-Y7BTRVB4.js +0 -2
  762. package/build/js/chunks/chunk-Y7V35LNT.js +0 -1
  763. package/build/js/chunks/chunk-Y7ZNLVR2.js +0 -1
  764. package/build/js/chunks/chunk-YE2GYNRP.js +0 -1
  765. package/build/js/chunks/chunk-YJNJGCAN.js +0 -1
  766. package/build/js/chunks/chunk-YONR3EGV.js +0 -2
  767. package/build/js/chunks/chunk-YOTQPBO6.js +0 -1
  768. package/build/js/chunks/chunk-YRNH7TIR.js +0 -0
  769. package/build/js/chunks/chunk-YUZDO2PC.js +0 -1
  770. package/build/js/chunks/chunk-ZAXZRQYF.js +0 -1
  771. package/build/js/chunks/chunk-ZKROZLQ4.js +0 -2
  772. package/build/js/chunks/chunk-ZP3YIZEC.js +0 -1
  773. package/build/js/chunks/chunk-ZTKCGHYQ.js +0 -1
  774. package/build/js/common-4FJYEFaM.d.ts +0 -25
  775. package/build/js/global.d.js +0 -0
  776. package/build/js/private/ViewControls+related.js +0 -1
  777. package/build/js/worker/coreCapture.inlineWorker.d.ts +0 -46
  778. package/build/js/worker/coreCapture.inlineWorker.js +0 -1
  779. package/build/js/worker/inlineWorker.d.d.ts +0 -5
  780. package/build/js/worker/inlineWorker.d.js +0 -0
@@ -1,39 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import './FrameReaders/ColorType.js';
3
- export { bk as CameraManager, bl as CameraManagerEvent, bm as CameraManagerEventParameters, bn as CameraResolutionConstraint, bo as ExtendedMediaTrackCapabilities, bp as ExtendedMediaTrackConstraintSet, O as FrameCapture, J as FrameId, bq as GUI, br as MeteringMode, bs as createFrameId } from '../DataCaptureContext-qacCkSOl.js';
4
- import '../Camera-HgH6fwnW.js';
5
- import '../commons/Rect.js';
6
- import '../DataCaptureContextSettings.js';
7
- import '../commons/JSONType.js';
8
- import './Serializable.js';
9
- import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
10
- import '../NotificationPresenter/NotificationPresenter.js';
11
- import '../NotificationPresenter/NotificationConfiguration.js';
12
- import '../commons/Color.js';
13
- import '../ScanditIcon.js';
14
- import './utils/ScanditHTMLElement.js';
15
- import '../NotificationPresenter/NotificationStyle.js';
16
- import '../commons/Anchor.js';
17
- import '../commons/MarginsWithUnit.js';
18
- import '../commons/NumberWithUnit.js';
19
- import '../commons/MeasureUnit.js';
20
- import '../commons/Orientation.js';
21
- import '../commons/Point.js';
22
- import '../commons/PointWithUnit.js';
23
- import '../commons/Quadrilateral.js';
24
- import '../commons/Size.js';
25
- import './CustomLocationsView.js';
26
- import './View.js';
27
- import './AnchorPositions.js';
28
- import './nativeHandle.js';
29
- import './privateAccess.js';
30
- import './AdditionalLayerPosition.js';
31
- import '../license/OpenSourceSoftwareLicenseInfo.js';
32
- import '../logger.js';
33
- import './BatteryInterface.js';
34
- import '../LoadingStatus.js';
35
- import './djinni-types/index.js';
36
- import './HtmlElementState.js';
37
- import '../commons/SizeWithUnit.js';
38
- import './utils/AsyncStateMachine.js';
39
- import '../tsHelper.js';
1
+ import { B as FrameCapture, F as CameraManagerEvent, H as GUI, I as CameraManagerEventParameters, L as CameraResolutionConstraint, P as CameraManager, R as ExtendedMediaTrackCapabilities, U as MeteringMode, V as FrameId, W as createFrameId, z as ExtendedMediaTrackConstraintSet } from "../DataCaptureContext-CYDrBO6_.js";
2
+ export { CameraManager, CameraManagerEvent, CameraManagerEventParameters, CameraResolutionConstraint, ExtendedMediaTrackCapabilities, ExtendedMediaTrackConstraintSet, FrameCapture, FrameId, GUI, MeteringMode, createFrameId };
@@ -1 +1 @@
1
- export{g as CameraManager,f as CameraManagerEvent,d as CameraResolutionConstraint,c as MeteringMode,e as createFrameId}from'../chunks/chunk-CA6FHIF6.js';
1
+ import{a as e,i as t,n,r,t as i}from"../CameraManager-DskA2C7T.js";export{i as CameraManager,n as CameraManagerEvent,r as CameraResolutionConstraint,t as MeteringMode,e as createFrameId};
@@ -1,43 +1,6 @@
1
- /// <reference types="emscripten" />
2
- import { C as Camera } from '../Camera-HgH6fwnW.js';
3
- import { INTERNAL_ACCESS } from './privateAccess.js';
4
- import '../ScanditIcon.js';
5
- import '../DataCaptureContext-qacCkSOl.js';
6
- import '../commons/Rect.js';
7
- import './Serializable.js';
8
- import '../commons/Point.js';
9
- import '../commons/Size.js';
10
- import '../commons/Color.js';
11
- import './utils/ScanditHTMLElement.js';
12
- import '../DataCaptureContextSettings.js';
13
- import '../commons/JSONType.js';
14
- import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
15
- import '../NotificationPresenter/NotificationPresenter.js';
16
- import '../NotificationPresenter/NotificationConfiguration.js';
17
- import '../NotificationPresenter/NotificationStyle.js';
18
- import '../commons/Anchor.js';
19
- import '../commons/MarginsWithUnit.js';
20
- import '../commons/NumberWithUnit.js';
21
- import '../commons/MeasureUnit.js';
22
- import '../commons/Orientation.js';
23
- import '../commons/PointWithUnit.js';
24
- import '../commons/Quadrilateral.js';
25
- import './CustomLocationsView.js';
26
- import './View.js';
27
- import './AnchorPositions.js';
28
- import './nativeHandle.js';
29
- import './AdditionalLayerPosition.js';
30
- import '../license/OpenSourceSoftwareLicenseInfo.js';
31
- import '../logger.js';
32
- import './FrameReaders/ColorType.js';
33
- import './BatteryInterface.js';
34
- import '../LoadingStatus.js';
35
- import './djinni-types/index.js';
36
- import './HtmlElementState.js';
37
- import '../commons/SizeWithUnit.js';
38
- import './utils/AsyncStateMachine.js';
39
- import '../tsHelper.js';
40
-
1
+ import { t as Camera } from "../Camera-C7TNwqRo.js";
2
+ import { t as INTERNAL_ACCESS } from "../privateAccess-Cy_yPta4.js";
3
+ //#region src/main/private/CameraPool.d.ts
41
4
  /**
42
5
  * Manages a pool of Camera instances to ensure efficient reuse and proper lifecycle management.
43
6
  *
@@ -55,81 +18,80 @@ import '../tsHelper.js';
55
18
  * you passed to "context.setFrameSource()")
56
19
  */
57
20
  declare class CameraPool {
58
- private cameraPool;
59
- /**
60
- * Track if the cameras of the device have been gathered. This means we have their ids, labels and positions.
61
- */
62
- private deviceCamerasDiscovered;
63
- /**
64
- * Creates a new camera if the pool does not contain a similar-enough instance.
65
- */
66
- getOrCreate(newCamera: Camera): Camera;
67
- /**
68
- * Reconciles the pool with the cameras reported by the device so that, after this call, the pool
69
- * holds exactly one Camera instance per device camera (keyed by deviceId) while preserving
70
- * existing Camera object references whenever possible.
71
- *
72
- * The algorithm has four steps:
73
- * 1. **Match by deviceId** — every incoming camera with a deviceId tries to find a pool camera
74
- * with the same deviceId. Matches update label and position in place.
75
- * 2. **Merge best-guesses by position** — any remaining incoming camera tries to merge into a
76
- * pool camera that has NO deviceId and shares its position. Pool cameras that already have a
77
- * deviceId are never touched by this step.
78
- * 3. **Force-merge remaining best-guesses** — any pool camera that still has no deviceId is
79
- * force-merged with the next unmatched incoming camera regardless of position. The initial
80
- * position is a "wish": we preserve the Camera object reference by snapping it to a real
81
- * device camera even if no position match was possible.
82
- * 4. **Reconcile leftovers** — incoming cameras with a deviceId that matched nothing are added
83
- * as new pool entries. Incoming cameras without a deviceId are dropped with a debug log
84
- * (should not happen in practice). Pool cameras that matched nothing (i.e. had a deviceId
85
- * absent from the device list) are marked as unmapped and removed, with a warning.
86
- *
87
- * @param newCameras Camera objects detected from the current device enumeration
88
- */
89
- integrateIncomingVideoDevices(newCameras: Camera[]): void;
90
- private matchByDeviceId;
91
- /**
92
- * Second pass: merge leftover incoming cameras into best-guess pool cameras (those without a
93
- * deviceId) that share a position. Pool cameras that already have a deviceId are immutable here —
94
- * this is the only legitimate use of position-based matching.
95
- */
96
- private mergeBestGuesses;
97
- /**
98
- * Third pass: any pool camera that still has no deviceId is snapped onto the next unmatched
99
- * incoming camera regardless of position. The initial position was a best-effort wish — when no
100
- * device camera satisfies it, preserving the Camera object reference beats honouring the wish.
101
- */
102
- private forceMergeBestGuesses;
103
- private pushOrDropLeftovers;
104
- private removeOrphans;
105
- /**
106
- * Re-binds a pool camera to a different deviceId after the CameraManager has ended up opening a
107
- * different stream than the one the camera was merged with during integration.
108
- *
109
- * Used by best-guess resolution: the bestGuess Camera is merged with *some* device camera during
110
- * integration (first match by position), but CameraManager may ultimately open a different camera
111
- * (the "main" one for iOS, typically). In that case the user's Camera reference must still reflect
112
- * what was actually opened, without breaking the pool invariant that each deviceId appears at most
113
- * once.
114
- *
115
- * When another pool camera already holds `target.deviceId`, their identities are swapped: `camera`
116
- * adopts the target identity, the existing holder adopts `camera`'s previous identity. Both device
117
- * cameras remain represented in the pool; only the Camera object references are reshuffled.
118
- */
119
- rebindToDeviceId(camera: Camera, target: Pick<Camera, "deviceId" | "label" | "position">): void;
120
- get(): Camera[];
121
- clear(): void;
122
- private push;
123
- private debugLog;
124
- private logPool;
125
- private dumpAsSimpleObjects;
21
+ private cameraPool;
22
+ /**
23
+ * Track if the cameras of the device have been gathered. This means we have their ids, labels and positions.
24
+ */
25
+ private deviceCamerasDiscovered;
26
+ /**
27
+ * Creates a new camera if the pool does not contain a similar-enough instance.
28
+ */
29
+ getOrCreate(newCamera: Camera): Camera;
30
+ /**
31
+ * Reconciles the pool with the cameras reported by the device so that, after this call, the pool
32
+ * holds exactly one Camera instance per device camera (keyed by deviceId) while preserving
33
+ * existing Camera object references whenever possible.
34
+ *
35
+ * The algorithm has four steps:
36
+ * 1. **Match by deviceId** — every incoming camera with a deviceId tries to find a pool camera
37
+ * with the same deviceId. Matches update label and position in place.
38
+ * 2. **Merge best-guesses by position** — any remaining incoming camera tries to merge into a
39
+ * pool camera that has NO deviceId and shares its position. Pool cameras that already have a
40
+ * deviceId are never touched by this step.
41
+ * 3. **Force-merge remaining best-guesses** — any pool camera that still has no deviceId is
42
+ * force-merged with the next unmatched incoming camera regardless of position. The initial
43
+ * position is a "wish": we preserve the Camera object reference by snapping it to a real
44
+ * device camera even if no position match was possible.
45
+ * 4. **Reconcile leftovers** — incoming cameras with a deviceId that matched nothing are added
46
+ * as new pool entries. Incoming cameras without a deviceId are dropped with a debug log
47
+ * (should not happen in practice). Pool cameras that matched nothing (i.e. had a deviceId
48
+ * absent from the device list) are marked as unmapped and removed, with a warning.
49
+ *
50
+ * @param newCameras Camera objects detected from the current device enumeration
51
+ */
52
+ integrateIncomingVideoDevices(newCameras: Camera[]): void;
53
+ private matchByDeviceId;
54
+ /**
55
+ * Second pass: merge leftover incoming cameras into best-guess pool cameras (those without a
56
+ * deviceId) that share a position. Pool cameras that already have a deviceId are immutable here —
57
+ * this is the only legitimate use of position-based matching.
58
+ */
59
+ private mergeBestGuesses;
60
+ /**
61
+ * Third pass: any pool camera that still has no deviceId is snapped onto the next unmatched
62
+ * incoming camera regardless of position. The initial position was a best-effort wish — when no
63
+ * device camera satisfies it, preserving the Camera object reference beats honouring the wish.
64
+ */
65
+ private forceMergeBestGuesses;
66
+ private pushOrDropLeftovers;
67
+ private removeOrphans;
68
+ /**
69
+ * Re-binds a pool camera to a different deviceId after the CameraManager has ended up opening a
70
+ * different stream than the one the camera was merged with during integration.
71
+ *
72
+ * Used by best-guess resolution: the bestGuess Camera is merged with *some* device camera during
73
+ * integration (first match by position), but CameraManager may ultimately open a different camera
74
+ * (the "main" one for iOS, typically). In that case the user's Camera reference must still reflect
75
+ * what was actually opened, without breaking the pool invariant that each deviceId appears at most
76
+ * once.
77
+ *
78
+ * When another pool camera already holds `target.deviceId`, their identities are swapped: `camera`
79
+ * adopts the target identity, the existing holder adopts `camera`'s previous identity. Both device
80
+ * cameras remain represented in the pool; only the Camera object references are reshuffled.
81
+ */
82
+ rebindToDeviceId(camera: Camera, target: Pick<Camera, "deviceId" | "label" | "position">): void;
83
+ get(): Camera[];
84
+ clear(): void;
85
+ private push;
86
+ private debugLog;
87
+ private logPool;
88
+ private dumpAsSimpleObjects;
126
89
  }
127
90
  declare const internal: {
128
- [INTERNAL_ACCESS]: {
129
- CameraPool: typeof CameraPool;
130
- };
91
+ [INTERNAL_ACCESS]: {
92
+ CameraPool: typeof CameraPool;
93
+ };
131
94
  };
132
-
133
95
  declare const cameraPool: CameraPool;
134
-
135
- export { cameraPool, internal };
96
+ //#endregion
97
+ export { cameraPool, internal };
@@ -1 +1 @@
1
- export{b as cameraPool,a as internal}from'../chunks/chunk-7LTHFX4E.js';
1
+ import{Logger as e}from"../logger.js";import{INTERNAL_ACCESS as t}from"./privateAccess.js";var n=class{constructor(){this.cameraPool=new Set,this.deviceCamerasDiscovered=!1}getOrCreate(t){let{position:n,deviceId:r}=t,i=t._isBestGuess??!1;if(this.cameraPool.size===0)return this.push(t,`no camera in pool`);let a=Array.from(this.cameraPool);if(r){let e=a.find(e=>e.deviceId===r);if(e)return e}if(i){let e=a.find(e=>e._isBestGuess);if(e)return e}if(!r){let e=a.find(e=>e.position===n);if(e)return e}return this.deviceCamerasDiscovered?(e.warn([`The camera you requested (id="${r}", position="${n}") could not be mapped to one of the camera`,`available on this device. Make sure to use Camera.getAll() to select one of the available cameras.`,`Returning the first available camera of the device`,`(id="${a[0].deviceId}", label="${a[0].label}", position="${a[0].position}").`].join(` `)),a[0]):this.push(t,`getOrCreate() did not match with a camera from the pool`)}integrateIncomingVideoDevices(e){this.debugLog(`Integrating ${e.length} cameras found on the device`,e);let t=Array.from(this.cameraPool),n=new Set,r=this.matchByDeviceId(e,t,n),i=this.mergeBestGuesses(r,t,n),a=this.forceMergeBestGuesses(i,t,n);this.pushOrDropLeftovers(a),this.removeOrphans(t,n),this.deviceCamerasDiscovered=!0,this.debugLog(`Camera pool state after integration of device cameras:`),this.logPool()}matchByDeviceId(e,n,r){let i=[];for(let a of e){if(!a.deviceId){i.push(a);continue}let e=n.find(e=>e.deviceId===a.deviceId&&!r.has(e));if(!e){i.push(a);continue}e[t].setLabel(a.label),e.position=a.position,e[t].resetUnmappedState(),r.add(e),this.debugLog(`Updated pool camera by deviceId`,{deviceId:e.deviceId,label:e.label,position:e.position})}return i}mergeBestGuesses(e,n,r){let i=[];for(let a of e){if(!a.deviceId){i.push(a);continue}let e=n.find(e=>!e.deviceId&&e.position===a.position&&!r.has(e));if(!e){i.push(a);continue}e[t].setDeviceId(a.deviceId),e[t].setLabel(a.label),e[t].resetUnmappedState(),r.add(e),this.debugLog(`Merged best-guess pool camera with incoming device camera`,{deviceId:e.deviceId,label:e.label,position:e.position})}return i}forceMergeBestGuesses(e,n,r){let i=n.filter(e=>!e.deviceId&&!r.has(e));if(i.length===0)return e;let a=[],o=0;for(let n of e){if(!n.deviceId||o>=i.length){a.push(n);continue}let e=i[o++];e[t].setDeviceId(n.deviceId),e[t].setLabel(n.label),e.position=n.position,e[t].resetUnmappedState(),r.add(e),this.debugLog(`Force-merged best-guess pool camera with incoming device camera`,{deviceId:e.deviceId,label:e.label,position:e.position})}return a}pushOrDropLeftovers(e){for(let t of e)t.deviceId?(this.push(t,`Device camera could not be matched by id or position`),this.debugLog(`Added new camera to pool`,{deviceId:t.deviceId,label:t.label,position:t.position})):this.debugLog(`Dropping incoming camera without deviceId`,{label:t.label,position:t.position})}removeOrphans(n,r){let i=n.filter(e=>!r.has(e));if(i.length!==0){e.warn([`Some cameras were created but could not be mapped to cameras found on the device.`,`This happens when you create more cameras than were discovered on the device.`,`These cameras will not be accessible.`].join(` `));for(let n of i)e.warn(`Removing non-updated camera:`,{deviceId:n.deviceId,label:n.label,position:n.position}),n[t].markAsUnmappedToDeviceCameras(),this.cameraPool.delete(n)}}rebindToDeviceId(e,n){if(e.deviceId===n.deviceId){e[t].setLabel(n.label),e.position=n.position;return}let r=Array.from(this.cameraPool).find(t=>t.deviceId===n.deviceId&&t!==e);if(r){let i=e.deviceId,a=e.label,o=e.position;r[t].setDeviceId(i),r[t].setLabel(a),r.position=o,this.debugLog(`Swapped identities during rebindToDeviceId`,{rebound:{...n},demoted:{deviceId:i,label:a,position:o}})}e[t].setDeviceId(n.deviceId),e[t].setLabel(n.label),e.position=n.position}get(){return Array.from(this.cameraPool)}clear(){this.cameraPool.clear(),this.deviceCamerasDiscovered=!1}push(e,t){return this.cameraPool.add(e),this.debugLog(`added camera to pool, reason: ${t}.`,`New pool size: ${this.cameraPool.size}`,JSON.stringify({deviceId:e.deviceId,position:e.position,label:e.label})),e}debugLog(...e){}logPool(){}dumpAsSimpleObjects(){return[...this.cameraPool].map(e=>({deviceId:e.deviceId,label:e.label,position:e.position}))}};const r={[t]:{CameraPool:n}},i=new n;export{i as cameraPool,r as internal};
@@ -1,36 +1,35 @@
1
- /// <reference types="emscripten" />
2
- import { CanvasDrawerAbstract } from './CavansDrawerAbstract.js';
3
- import './DrawCommandBuffer.js';
1
+ import { t as CanvasDrawerAbstract } from "../CavansDrawerAbstract-E_URl3X1.js";
4
2
 
3
+ //#region src/main/private/CanvasDrawer.d.ts
5
4
  declare enum PathWinding {
6
- Nonzero = "nonzero",
7
- Evenodd = "evenodd"
5
+ Nonzero = "nonzero",
6
+ Evenodd = "evenodd"
8
7
  }
9
8
  declare class PrivateCanvasDrawer extends CanvasDrawerAbstract {
10
- private static ResizeObserver;
11
- protected readonly canvas: HTMLCanvasElement;
12
- private _context;
13
- private resizeObserver?;
14
- private isNextDrawPending;
15
- private latestCommands;
16
- private readonly doDrawLoop;
17
- constructor(canvas: HTMLCanvasElement);
18
- get context(): CanvasRenderingContext2D;
19
- /**
20
- * Draw given commands. If the canvas has not a valid size, postpone drawing until it is.
21
- */
22
- draw(commands: Uint8Array): void;
23
- updateCanvasSizeAttributes(width: number, height: number, devicePixelRatio?: number): void;
24
- /**
25
- * Observe the canvas until it has a valid size. When it happens,
26
- * draw postponed commands onto it.
27
- * Also on canvas resize, scale the context by device pixel ratio.
28
- */
29
- startObservingCanvasResize(): void;
30
- endObservingCanvasResize(): void;
31
- protected doDraw(_timestamp: DOMHighResTimeStamp): void;
32
- private postponeDraw;
33
- private isCanvasReady;
9
+ private static ResizeObserver;
10
+ protected readonly canvas: HTMLCanvasElement;
11
+ private _context;
12
+ private resizeObserver?;
13
+ private isNextDrawPending;
14
+ private latestCommands;
15
+ private readonly doDrawLoop;
16
+ constructor(canvas: HTMLCanvasElement);
17
+ get context(): CanvasRenderingContext2D;
18
+ /**
19
+ * Draw given commands. If the canvas has not a valid size, postpone drawing until it is.
20
+ */
21
+ draw(commands: Uint8Array): void;
22
+ updateCanvasSizeAttributes(width: number, height: number, devicePixelRatio?: number): void;
23
+ /**
24
+ * Observe the canvas until it has a valid size. When it happens,
25
+ * draw postponed commands onto it.
26
+ * Also on canvas resize, scale the context by device pixel ratio.
27
+ */
28
+ startObservingCanvasResize(): void;
29
+ endObservingCanvasResize(): void;
30
+ protected doDraw(_timestamp: DOMHighResTimeStamp): void;
31
+ private postponeDraw;
32
+ private isCanvasReady;
34
33
  }
35
-
36
- export { PathWinding, PrivateCanvasDrawer };
34
+ //#endregion
35
+ export { PathWinding, PrivateCanvasDrawer };
@@ -1 +1 @@
1
- export{a as PathWinding,b as PrivateCanvasDrawer}from'../chunks/chunk-24MGHMOY.js';
1
+ import{safeRequestAnimationFrame as e}from"./utils/safeRequestAnimationFrame.js";import{DrawCommandBuffer as t}from"./DrawCommandBuffer.js";import{CanvasDrawerAbstract as n}from"./CavansDrawerAbstract.js";let r=function(e){return e.Nonzero=`nonzero`,e.Evenodd=`evenodd`,e}({});var i=class r extends n{constructor(e){super(),this._context=null,this.isNextDrawPending=!1,this.latestCommands=new Uint8Array([]),this.canvas=e,this.doDrawLoop=this.doDraw.bind(this)}get context(){if(!this._context&&(this._context=this.canvas.getContext(`2d`),!this._context))throw TypeError(`CanvasRenderingContext cannot be retrieved.`);return this._context}draw(t){if(this.latestCommands=t,!this.isCanvasReady()){this.postponeDraw();return}this.isNextDrawPending||(this.isNextDrawPending=!0,e(this.doDrawLoop))}updateCanvasSizeAttributes(e,t,n=window.devicePixelRatio){let r=Math.round(e*n),i=Math.round(t*n);(r!==this.canvas.width||i!==this.canvas.height)&&(this.canvas.width=r,this.canvas.height=i,this.context.scale(n,n))}startObservingCanvasResize(){if(!this.resizeObserver){if(!r.ResizeObserver)throw Error(`PrivateCanvasDrawer.ResizeObserver is not set`);this.resizeObserver=new r.ResizeObserver(e=>{let[t]=e,{width:n,height:r}=t.contentRect??this.canvas;n===0||r===0||(this.updateCanvasSizeAttributes(n,r),this.latestCommands.length!==0&&(this.draw(this.latestCommands),this.latestCommands=new Uint8Array([])))}),this.resizeObserver.observe(this.canvas)}}endObservingCanvasResize(){this.resizeObserver&&this.resizeObserver.unobserve(this.canvas)}doDraw(e){this.context.clearRect(0,0,this.canvas.width,this.canvas.height);let n=new t(this.latestCommands);for(;!n.isConsumed();){let e=n.extractCommandType();this.drawSingleCommand(e,n)}this.isNextDrawPending=!1}postponeDraw(){this.startObservingCanvasResize()}isCanvasReady(){return this.canvas.width>0&&this.canvas.height>0}};i.ResizeObserver=`ResizeObserver`in globalThis?globalThis.ResizeObserver:void 0;export{r as PathWinding,i as PrivateCanvasDrawer};
@@ -1,69 +1,30 @@
1
- /// <reference types="emscripten" />
2
- import { PrivateCanvasDrawer } from './CanvasDrawer.js';
3
- import { I as PerformanceMetrics } from '../DataCaptureContext-qacCkSOl.js';
4
- import '../ScanditIcon.js';
5
- import './CavansDrawerAbstract.js';
6
- import './DrawCommandBuffer.js';
7
- import '../Camera-HgH6fwnW.js';
8
- import '../commons/Rect.js';
9
- import './Serializable.js';
10
- import '../commons/Point.js';
11
- import '../commons/Size.js';
12
- import './privateAccess.js';
13
- import '../DataCaptureContextSettings.js';
14
- import '../commons/JSONType.js';
15
- import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
16
- import '../NotificationPresenter/NotificationPresenter.js';
17
- import '../NotificationPresenter/NotificationConfiguration.js';
18
- import '../commons/Color.js';
19
- import '../NotificationPresenter/NotificationStyle.js';
20
- import './utils/ScanditHTMLElement.js';
21
- import '../commons/Anchor.js';
22
- import '../commons/MarginsWithUnit.js';
23
- import '../commons/NumberWithUnit.js';
24
- import '../commons/MeasureUnit.js';
25
- import '../commons/Orientation.js';
26
- import '../commons/PointWithUnit.js';
27
- import '../commons/Quadrilateral.js';
28
- import './CustomLocationsView.js';
29
- import './View.js';
30
- import './AnchorPositions.js';
31
- import './nativeHandle.js';
32
- import './AdditionalLayerPosition.js';
33
- import '../license/OpenSourceSoftwareLicenseInfo.js';
34
- import '../logger.js';
35
- import './FrameReaders/ColorType.js';
36
- import './BatteryInterface.js';
37
- import '../LoadingStatus.js';
38
- import './djinni-types/index.js';
39
- import './HtmlElementState.js';
40
- import '../commons/SizeWithUnit.js';
41
- import './utils/AsyncStateMachine.js';
42
- import '../tsHelper.js';
1
+ import { cn as PerformanceMetrics } from "../DataCaptureContext-CYDrBO6_.js";
2
+ import { PrivateCanvasDrawer } from "./CanvasDrawer.js";
43
3
 
4
+ //#region src/main/private/CanvasDrawerWithMetrics.d.ts
44
5
  declare class PrivateCanvasDrawerWithMetrics extends PrivateCanvasDrawer {
45
- private drawPerformanceFPSCounter;
46
- private lastDrawPerformanceFPSCounter;
47
- private lastFPSUpdateTime;
48
- private smoothedFPS;
49
- private totalFPSSamples;
50
- private performanceMetrics?;
51
- private performanceCanvasLayer;
52
- private _performanceLayerContext;
53
- private static readonly SMOOTHING_FACTOR;
54
- constructor(canvas: HTMLCanvasElement);
55
- get performanceLayerContext(): CanvasRenderingContext2D;
56
- setupPerformanceLayer(): void;
57
- setPerformanceMetrics(performanceMetrics: PerformanceMetrics): void;
58
- updateCanvasSizeAttributes(width: number, height: number, devicePixelRatio?: number): ReturnType<PrivateCanvasDrawer["updateCanvasSizeAttributes"]>;
59
- protected doDraw(timestamp: DOMHighResTimeStamp): void;
60
- private updateFPSMetrics;
61
- /**
62
- * Applies exponential smoothing to FPS measurements to reduce jitter.
63
- * Uses 90% weight on previous smoothed value and 10% weight on new sample.
64
- */
65
- private applyExponentialSmoothing;
66
- protected drawFullPerformanceMetrics(): void;
6
+ private drawPerformanceFPSCounter;
7
+ private lastDrawPerformanceFPSCounter;
8
+ private lastFPSUpdateTime;
9
+ private smoothedFPS;
10
+ private totalFPSSamples;
11
+ private performanceMetrics?;
12
+ private performanceCanvasLayer;
13
+ private _performanceLayerContext;
14
+ private static readonly SMOOTHING_FACTOR;
15
+ constructor(canvas: HTMLCanvasElement);
16
+ get performanceLayerContext(): CanvasRenderingContext2D;
17
+ setupPerformanceLayer(): void;
18
+ setPerformanceMetrics(performanceMetrics: PerformanceMetrics): void;
19
+ updateCanvasSizeAttributes(width: number, height: number, devicePixelRatio?: number): ReturnType<PrivateCanvasDrawer["updateCanvasSizeAttributes"]>;
20
+ protected doDraw(timestamp: DOMHighResTimeStamp): void;
21
+ private updateFPSMetrics;
22
+ /**
23
+ * Applies exponential smoothing to FPS measurements to reduce jitter.
24
+ * Uses 90% weight on previous smoothed value and 10% weight on new sample.
25
+ */
26
+ private applyExponentialSmoothing;
27
+ protected drawFullPerformanceMetrics(): void;
67
28
  }
68
-
69
- export { PrivateCanvasDrawerWithMetrics };
29
+ //#endregion
30
+ export { PrivateCanvasDrawerWithMetrics };
@@ -1 +1 @@
1
- export{a as PrivateCanvasDrawerWithMetrics}from'../chunks/chunk-Y7V35LNT.js';
1
+ import{Logger as e}from"../logger.js";import{PrivateCanvasDrawer as t}from"./CanvasDrawer.js";const n={cameraOutputFrames:{text:`Camera frames output`,valueSuffix:`/sec`},frameDataPoolSize:{text:`Frame data pool size`,valueSuffix:``},redrawRequestsCount:{text:`Engine redraw requests`,valueSuffix:`/sec`},actualRedrawsCount:{text:`Actual redraws`,valueSuffix:`/sec`},frameProcessingStartedCount:{text:`Frames queued`,valueSuffix:`/sec`},frameProcessedCount:{text:`Frames processed`,valueSuffix:`/sec`},frameSkippedCount:{text:`Frames skipped (total)`,valueSuffix:``},FPS:{text:`Overlay FPS `,valueSuffix:`/sec`}};var r=class r extends t{constructor(t){var n;super(t),this.drawPerformanceFPSCounter=0,this.lastDrawPerformanceFPSCounter=0,this.lastFPSUpdateTime=0,this.smoothedFPS=0,this.totalFPSSamples=0,this.performanceCanvasLayer=document.createElement(`canvas`),(n=t.parentElement)==null||n.insertBefore(this.performanceCanvasLayer,t.nextSibling),e.warn(`Performance monitoring enabled, FPS will be drawn into overlay canvas`)}get performanceLayerContext(){if(!this._performanceLayerContext&&(this._performanceLayerContext=this.performanceCanvasLayer.getContext(`2d`),!this._performanceLayerContext))throw TypeError(`CanvasRenderingContext cannot be retrieved.`);return this._performanceLayerContext}setupPerformanceLayer(){}setPerformanceMetrics(e){this.performanceMetrics=e,this.drawFullPerformanceMetrics()}updateCanvasSizeAttributes(e,t,n=window.devicePixelRatio){super.updateCanvasSizeAttributes(e,t,n),this.performanceCanvasLayer.width=this.canvas.width,this.performanceCanvasLayer.height=this.canvas.height,this.performanceLayerContext.scale(n,n)}doDraw(e){super.doDraw(e)}updateFPSMetrics(e){this.lastFPSUpdateTime===0&&(this.lastFPSUpdateTime=e),this.drawPerformanceFPSCounter++,e-this.lastFPSUpdateTime>=1e3&&(this.lastDrawPerformanceFPSCounter=this.drawPerformanceFPSCounter,this.smoothedFPS=this.applyExponentialSmoothing(this.smoothedFPS,this.lastDrawPerformanceFPSCounter,this.totalFPSSamples),this.totalFPSSamples++,this.drawPerformanceFPSCounter=0,this.lastFPSUpdateTime=e),this.drawFullPerformanceMetrics()}applyExponentialSmoothing(e,t,n){return n<1?t:e*r.SMOOTHING_FACTOR+(1-r.SMOOTHING_FACTOR)*t}drawFullPerformanceMetrics(){if(!this.performanceMetrics)return;let e={...this.performanceMetrics,FPS:Math.round(this.smoothedFPS)},t=Math.min(Math.max(window.innerWidth/35,13),20),r=1.5*t,i=1.5;this.performanceLayerContext.font=`bold ${t}px sans-serif`;let a=0,o=0,s=[];for(let[c,l]of Object.entries(e)){let e=n[c];if(!e)continue;let u=`${e.text}: ${l}${e.valueSuffix}`;o=Math.max(this.performanceLayerContext.measureText(u).width,o),s.push({text:u,x:r,y:r+t*i*a++})}this.performanceLayerContext.clearRect(r-4,r-t-4,o+8,Object.values(e).length*t*i+8),this.performanceLayerContext.fillStyle=`rgba(0, 0, 0, 0.3)`,this.performanceLayerContext.fillRect(r-4,r-t-4,o+8,Object.values(e).length*t*i+8),this.performanceLayerContext.fillStyle=`white`;for(let{text:e,x:t,y:n}of s)this.performanceLayerContext.fillText(e,t,n)}};r.SMOOTHING_FACTOR=.9;export{r as PrivateCanvasDrawerWithMetrics};
@@ -1,37 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { DrawCommandEnum, DrawCommandBuffer } from './DrawCommandBuffer.js';
3
-
4
- declare enum PathWinding {
5
- Nonzero = "nonzero",
6
- Evenodd = "evenodd"
7
- }
8
- declare abstract class CanvasDrawerAbstract {
9
- protected pathWinding: PathWinding;
10
- protected abstract context: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D;
11
- protected abstract draw(commands: Uint8Array): void;
12
- protected drawSingleCommand(commandType: DrawCommandEnum, commandBuffer: DrawCommandBuffer): void;
13
- private beginPath;
14
- private closePath;
15
- private setStrokeColor;
16
- private setFillColor;
17
- private fill;
18
- private stroke;
19
- private addLine;
20
- private lineTo;
21
- private moveTo;
22
- private addRectangle;
23
- private addRoundedRectangle;
24
- private setStrokeWidth;
25
- private addArc;
26
- private addCircle;
27
- private bezierTo;
28
- private saveState;
29
- private restoreState;
30
- private translate;
31
- private transform;
32
- private scale;
33
- private addPathWinding;
34
- private colorToRgbaString;
35
- }
36
-
37
- export { CanvasDrawerAbstract, PathWinding };
1
+ import { n as PathWinding, t as CanvasDrawerAbstract } from "../CavansDrawerAbstract-E_URl3X1.js";
2
+ export { CanvasDrawerAbstract, PathWinding };
@@ -1 +1 @@
1
- export{b as CanvasDrawerAbstract,a as PathWinding}from'../chunks/chunk-QBDQQMQ5.js';
1
+ import{assertUnreachable as e}from"../tsHelper.js";import"./DrawCommandBuffer.js";let t=function(e){return e.Nonzero=`nonzero`,e.Evenodd=`evenodd`,e}({});var n=class{constructor(){this.pathWinding=`nonzero`}drawSingleCommand(t,n){switch(t){case 0:this.addLine(n);break;case 1:this.addArc(n);break;case 2:this.addCircle(n);break;case 3:this.addRectangle(n);break;case 4:this.addRoundedRectangle(n);break;case 5:this.beginPath(n);break;case 6:this.closePath(n);break;case 7:this.fill(n);break;case 8:this.stroke(n);break;case 10:this.setStrokeWidth(n);break;case 11:this.setFillColor(n);break;case 12:this.setStrokeColor(n);break;case 13:this.moveTo(n);break;case 14:this.lineTo(n);break;case 15:this.saveState(n);break;case 16:this.restoreState(n);break;case 17:this.translate(n);break;case 19:this.bezierTo(n);break;case 20:this.transform(n);break;case 21:this.scale(n);break;case 22:this.addPathWinding(n);break;case 9:case 18:break;default:e(t);break}}beginPath(e){this.context.beginPath()}closePath(e){this.context.closePath()}setStrokeColor(e){let t=e.extractColor();this.context.strokeStyle=this.colorToRgbaString(t)}setFillColor(e){let t=e.extractColor();this.context.fillStyle=this.colorToRgbaString(t)}fill(e){this.context.fill(this.pathWinding)}stroke(e){this.context.stroke()}addLine(e){let t=e.extractFloat(),n=e.extractFloat();this.context.moveTo(t,n);let r=e.extractFloat(),i=e.extractFloat();this.context.lineTo(r,i)}lineTo(e){let t=e.extractFloat(),n=e.extractFloat();this.context.lineTo(t,n)}moveTo(e){let t=e.extractFloat(),n=e.extractFloat();this.context.moveTo(t,n)}addRectangle(e){let t=e.extractFloat(),n=e.extractFloat(),r=e.extractFloat(),i=e.extractFloat();this.context.rect(t,n,r,i)}addRoundedRectangle(e){let t=e.extractFloat(),n=e.extractFloat(),r=e.extractFloat(),i=e.extractFloat(),a=e.extractFloat();this.context.moveTo(t+a,n),this.context.lineTo(t+r-a,n),this.context.quadraticCurveTo(t+r,n,t+r,n+a),this.context.lineTo(t+r,n+i-a),this.context.quadraticCurveTo(t+r,n+i,t+r-a,n+i),this.context.lineTo(t+a,n+i),this.context.quadraticCurveTo(t,n+i,t,n+i-a),this.context.lineTo(t,n+a),this.context.quadraticCurveTo(t,n,t+a,n),this.context.closePath()}setStrokeWidth(e){this.context.lineWidth=e.extractFloat()}addArc(e){let t=e.extractFloat(),n=e.extractFloat(),r=e.extractFloat(),i=e.extractFloat(),a=e.extractFloat(),o=e.extractBoolean();this.context.arc(t,n,r,i,a,o)}addCircle(e){let t=e.extractFloat(),n=e.extractFloat(),r=e.extractFloat();this.context.arc(t,n,r,0,Math.PI*2)}bezierTo(e){let t=e.extractFloat(),n=e.extractFloat(),r=e.extractFloat(),i=e.extractFloat(),a=e.extractFloat(),o=e.extractFloat();this.context.bezierCurveTo(t,n,r,i,a,o)}saveState(e){this.context.save()}restoreState(e){this.context.restore()}translate(e){let t=e.extractFloat(),n=e.extractFloat();this.context.translate(t,n)}transform(e){let t=e.extractFloat(),n=e.extractFloat(),r=e.extractFloat(),i=e.extractFloat(),a=e.extractFloat(),o=e.extractFloat();this.context.transform(t,n,r,i,a,o)}scale(e){let t=e.extractFloat();this.context.scale(t,t)}addPathWinding(e){let t=e.extractBoolean();this.pathWinding=t?`nonzero`:`evenodd`}colorToRgbaString(e){return`rgba(${e.r},${e.g},${e.b},${e.a})`}};export{n as CanvasDrawerAbstract,t as PathWinding};
@@ -1,52 +1,16 @@
1
- /// <reference types="emscripten" />
2
- import { ModuleLicenseTextProvider } from './ModuleLicenseTextProvider.js';
3
- import { f as DataCaptureContext } from '../DataCaptureContext-qacCkSOl.js';
4
- import { Logger } from '../logger.js';
5
- import '../Camera-HgH6fwnW.js';
6
- import '../commons/Rect.js';
7
- import './Serializable.js';
8
- import '../commons/Point.js';
9
- import '../commons/Size.js';
10
- import './privateAccess.js';
11
- import '../DataCaptureContextSettings.js';
12
- import '../commons/JSONType.js';
13
- import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
14
- import '../NotificationPresenter/NotificationPresenter.js';
15
- import '../NotificationPresenter/NotificationConfiguration.js';
16
- import '../commons/Color.js';
17
- import '../ScanditIcon.js';
18
- import './utils/ScanditHTMLElement.js';
19
- import '../NotificationPresenter/NotificationStyle.js';
20
- import '../commons/Anchor.js';
21
- import '../commons/MarginsWithUnit.js';
22
- import '../commons/NumberWithUnit.js';
23
- import '../commons/MeasureUnit.js';
24
- import '../commons/Orientation.js';
25
- import '../commons/PointWithUnit.js';
26
- import '../commons/Quadrilateral.js';
27
- import './CustomLocationsView.js';
28
- import './View.js';
29
- import './AnchorPositions.js';
30
- import './nativeHandle.js';
31
- import './AdditionalLayerPosition.js';
32
- import '../license/OpenSourceSoftwareLicenseInfo.js';
33
- import './FrameReaders/ColorType.js';
34
- import './BatteryInterface.js';
35
- import '../LoadingStatus.js';
36
- import './djinni-types/index.js';
37
- import './HtmlElementState.js';
38
- import '../commons/SizeWithUnit.js';
39
- import './utils/AsyncStateMachine.js';
40
- import '../tsHelper.js';
1
+ import { i as DataCaptureContext } from "../DataCaptureContext-CYDrBO6_.js";
2
+ import { t as Logger } from "../logger-D9wplwND.js";
3
+ import { ModuleLicenseTextProvider } from "./ModuleLicenseTextProvider.js";
41
4
 
5
+ //#region src/main/private/CoreModuleLicenseTextProvider.d.ts
42
6
  declare class CoreModuleLicenseTextProvider implements ModuleLicenseTextProvider {
43
- private logger;
44
- private fetch;
45
- private staticContext;
46
- constructor(staticContext?: typeof DataCaptureContext, logger?: typeof Logger, fetch?: typeof globalThis.fetch);
47
- private get workerCommand();
48
- getLicenseText(): Promise<string>;
49
- private fetchWebLicenseText;
7
+ private logger;
8
+ private fetch;
9
+ private staticContext;
10
+ constructor(staticContext?: typeof DataCaptureContext, logger?: typeof Logger, fetch?: typeof globalThis.fetch);
11
+ private get workerCommand();
12
+ getLicenseText(): Promise<string>;
13
+ private fetchWebLicenseText;
50
14
  }
51
-
52
- export { CoreModuleLicenseTextProvider };
15
+ //#endregion
16
+ export { CoreModuleLicenseTextProvider };
@@ -1 +1 @@
1
- export{a as CoreModuleLicenseTextProvider}from'../chunks/chunk-XUIVDVLK.js';
1
+ import{n as e}from"../DataCaptureContext-CbQes_57.js";export{e as CoreModuleLicenseTextProvider};
@@ -1,64 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { Anchor } from '../commons/Anchor.js';
3
- import { SizeJSON } from '../commons/Size.js';
4
- import { PointWithUnit } from '../commons/PointWithUnit.js';
5
- import { View } from './View.js';
6
- import { AnchorPositions } from './AnchorPositions.js';
7
- import './Serializable.js';
8
- import '../commons/NumberWithUnit.js';
9
- import '../commons/MeasureUnit.js';
10
- import '../commons/Point.js';
11
- import '../commons/Quadrilateral.js';
12
-
13
- interface DidTapCustomLocationsViewListener {
14
- didTapView: (identifier: number) => void;
15
- }
16
- interface Item {
17
- identifier: number;
18
- anchorPositions: AnchorPositions;
19
- view: {
20
- data: string;
21
- options: {
22
- size: SizeJSON;
23
- scale?: number;
24
- };
25
- };
26
- anchor: Anchor;
27
- offset: PointWithUnit;
28
- }
29
- interface ItemDomView {
30
- identifier: string;
31
- anchorPositions: AnchorPositions;
32
- view: HTMLElement | null;
33
- anchor: Anchor;
34
- offset: PointWithUnit;
35
- }
36
- interface StateToRender {
37
- removedIds: string[];
38
- elements: Item[];
39
- }
40
- interface StateToRenderDomView {
41
- elements: ItemDomView[];
42
- }
43
- declare class CustomLocationsView implements View {
44
- private static readonly componentName;
45
- private static readonly elementSelectorPrefix;
46
- listener: DidTapCustomLocationsViewListener | null;
47
- private _mounted;
48
- private _htmlRoot;
49
- private _mirrored;
50
- private gestureRecognizer;
51
- private _cachedSize;
52
- private resizeObserver;
53
- private get size();
54
- setMirrored(mirrored: boolean): void;
55
- mount(htmlRoot: HTMLElement): void;
56
- unmount(): void;
57
- render(state: StateToRender): void;
58
- renderDomView(state: StateToRenderDomView): void;
59
- mapViewAnchorPositionsForFramePoint: (anchorPositions: AnchorPositions) => AnchorPositions;
60
- private removeChildren;
61
- private adjustCoordinatesWithOffset;
62
- }
63
-
64
- export { CustomLocationsView, type DidTapCustomLocationsViewListener, type StateToRender, type StateToRenderDomView };
1
+ import { i as StateToRenderDomView, n as DidTapCustomLocationsViewListener, r as StateToRender, t as CustomLocationsView } from "../CustomLocationsView-BmILmaYk.js";
2
+ export { CustomLocationsView, DidTapCustomLocationsViewListener, StateToRender, StateToRenderDomView };