@scandit/web-datacapture-core 8.4.0 → 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-Qg40v7QA.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-3A4KLILV.js +0 -1
  600. package/build/js/chunks/chunk-3A7LM5JG.js +0 -1
  601. package/build/js/chunks/chunk-3KKUZY2T.js +0 -1
  602. package/build/js/chunks/chunk-3MKSI2DV.js +0 -1
  603. package/build/js/chunks/chunk-43GCMDYV.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-5LXHD7FZ.js +0 -1
  613. package/build/js/chunks/chunk-5RCWM6NI.js +0 -1
  614. package/build/js/chunks/chunk-6AZW5IIG.js +0 -1
  615. package/build/js/chunks/chunk-6EEMWSEO.js +0 -1
  616. package/build/js/chunks/chunk-6H6FKGVE.js +0 -1
  617. package/build/js/chunks/chunk-6V2N4XHI.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-ACFJP5SR.js +0 -1
  628. package/build/js/chunks/chunk-AE2LWVIB.js +0 -1
  629. package/build/js/chunks/chunk-AIC4H5KG.js +0 -2
  630. package/build/js/chunks/chunk-AIRWHLJH.js +0 -1
  631. package/build/js/chunks/chunk-ALQOQOAM.js +0 -1
  632. package/build/js/chunks/chunk-AZWFNBVA.js +0 -1
  633. package/build/js/chunks/chunk-BA3RP6L2.js +0 -1
  634. package/build/js/chunks/chunk-BDGRWHLY.js +0 -1
  635. package/build/js/chunks/chunk-BDLLVGRH.js +0 -1
  636. package/build/js/chunks/chunk-BZAQMYII.js +0 -1
  637. package/build/js/chunks/chunk-CAHJ3YOV.js +0 -1
  638. package/build/js/chunks/chunk-CAUB35PV.js +0 -1
  639. package/build/js/chunks/chunk-CD2BU66N.js +0 -1
  640. package/build/js/chunks/chunk-CERFU73N.js +0 -1
  641. package/build/js/chunks/chunk-CGK5V6XZ.js +0 -1
  642. package/build/js/chunks/chunk-CRUOVJHW.js +0 -1
  643. package/build/js/chunks/chunk-CX2R2XQK.js +0 -1
  644. package/build/js/chunks/chunk-CZI3JAVS.js +0 -35
  645. package/build/js/chunks/chunk-D222MT4V.js +0 -1
  646. package/build/js/chunks/chunk-DGDPZ73X.js +0 -1
  647. package/build/js/chunks/chunk-DGIQ3GF7.js +0 -1
  648. package/build/js/chunks/chunk-DN32UPQC.js +0 -1
  649. package/build/js/chunks/chunk-DZE2EYSZ.js +0 -1
  650. package/build/js/chunks/chunk-E4XJ4GKD.js +0 -1
  651. package/build/js/chunks/chunk-EMLXDXWN.js +0 -1
  652. package/build/js/chunks/chunk-ENYHCJGH.js +0 -1
  653. package/build/js/chunks/chunk-EP3GI7KA.js +0 -1
  654. package/build/js/chunks/chunk-EQ6V4W5K.js +0 -1
  655. package/build/js/chunks/chunk-EQRBQJYM.js +0 -1
  656. package/build/js/chunks/chunk-EV4OEANA.js +0 -1
  657. package/build/js/chunks/chunk-F2GMW4LP.js +0 -1
  658. package/build/js/chunks/chunk-FGO2SSRS.js +0 -1
  659. package/build/js/chunks/chunk-FHUC75ND.js +0 -1
  660. package/build/js/chunks/chunk-FR24G4R7.js +0 -1
  661. package/build/js/chunks/chunk-FTD535WI.js +0 -1
  662. package/build/js/chunks/chunk-G2BRTVN7.js +0 -1
  663. package/build/js/chunks/chunk-G7ORIX4S.js +0 -1
  664. package/build/js/chunks/chunk-GHR3BSUQ.js +0 -1
  665. package/build/js/chunks/chunk-GHTCNOQN.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-GULNUBED.js +0 -1
  671. package/build/js/chunks/chunk-GVHXM75D.js +0 -1
  672. package/build/js/chunks/chunk-HBPGHXF2.js +0 -1
  673. package/build/js/chunks/chunk-I6SWF3FQ.js +0 -1
  674. package/build/js/chunks/chunk-IASACVTH.js +0 -1
  675. package/build/js/chunks/chunk-IJQG3OU6.js +0 -1
  676. package/build/js/chunks/chunk-IMXMNDKM.js +0 -1
  677. package/build/js/chunks/chunk-J3HHOJE3.js +0 -1
  678. package/build/js/chunks/chunk-JCKM5IJO.js +0 -0
  679. package/build/js/chunks/chunk-JFRSUCMO.js +0 -31
  680. package/build/js/chunks/chunk-JIGCOX5J.js +0 -1
  681. package/build/js/chunks/chunk-JS3T7K2Z.js +0 -1
  682. package/build/js/chunks/chunk-KAFNKP6O.js +0 -1
  683. package/build/js/chunks/chunk-KSCFPJAW.js +0 -1
  684. package/build/js/chunks/chunk-KXAJHLEO.js +0 -1
  685. package/build/js/chunks/chunk-KYNYQBNF.js +0 -17
  686. package/build/js/chunks/chunk-KZEBJGMU.js +0 -6
  687. package/build/js/chunks/chunk-L2STPTEN.js +0 -1
  688. package/build/js/chunks/chunk-L66S4DN2.js +0 -1
  689. package/build/js/chunks/chunk-LA6TM76R.js +0 -1
  690. package/build/js/chunks/chunk-LFJUGRQV.js +0 -1
  691. package/build/js/chunks/chunk-LSZZVJ6B.js +0 -1
  692. package/build/js/chunks/chunk-LV6LGCDC.js +0 -1
  693. package/build/js/chunks/chunk-LXOZUOZU.js +0 -1
  694. package/build/js/chunks/chunk-MA3GV76P.js +0 -1
  695. package/build/js/chunks/chunk-MA6UDVDJ.js +0 -1
  696. package/build/js/chunks/chunk-MBQZOWWF.js +0 -1
  697. package/build/js/chunks/chunk-N5YZEC56.js +0 -1
  698. package/build/js/chunks/chunk-NIKRAADM.js +0 -1
  699. package/build/js/chunks/chunk-NQF3GUK2.js +0 -1
  700. package/build/js/chunks/chunk-NVK73TNL.js +0 -1
  701. package/build/js/chunks/chunk-NYYGU4ZV.js +0 -1
  702. package/build/js/chunks/chunk-O4HDBWKK.js +0 -1
  703. package/build/js/chunks/chunk-O7EM4VIM.js +0 -1
  704. package/build/js/chunks/chunk-O7TZTIHO.js +0 -1
  705. package/build/js/chunks/chunk-OLUNDJBC.js +0 -1
  706. package/build/js/chunks/chunk-ORP45GHJ.js +0 -1
  707. package/build/js/chunks/chunk-OX64CCOP.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-TMIZ6Z75.js +0 -1
  737. package/build/js/chunks/chunk-TPHGDMKG.js +0 -1
  738. package/build/js/chunks/chunk-TR3NGINC.js +0 -1
  739. package/build/js/chunks/chunk-TTGJAMI2.js +0 -1
  740. package/build/js/chunks/chunk-U2WQ3WDE.js +0 -1
  741. package/build/js/chunks/chunk-U4IMOTYL.js +0 -1
  742. package/build/js/chunks/chunk-U6MFAGMG.js +0 -1
  743. package/build/js/chunks/chunk-U7ETOWGJ.js +0 -1
  744. package/build/js/chunks/chunk-UNO6YIIA.js +0 -1
  745. package/build/js/chunks/chunk-UWBNF47P.js +0 -1
  746. package/build/js/chunks/chunk-UWLAKRB2.js +0 -2
  747. package/build/js/chunks/chunk-UZWBB65W.js +0 -1
  748. package/build/js/chunks/chunk-V2OKMBZD.js +0 -1
  749. package/build/js/chunks/chunk-VJB527QZ.js +0 -1
  750. package/build/js/chunks/chunk-VSROWPI6.js +0 -1
  751. package/build/js/chunks/chunk-W33RVR5M.js +0 -1
  752. package/build/js/chunks/chunk-W3X3ZRQZ.js +0 -1
  753. package/build/js/chunks/chunk-W7VB532D.js +0 -1
  754. package/build/js/chunks/chunk-WARGMW7Z.js +0 -1
  755. package/build/js/chunks/chunk-WFKB322J.js +0 -1
  756. package/build/js/chunks/chunk-WGLHZXRT.js +0 -1
  757. package/build/js/chunks/chunk-WUHKODFA.js +0 -1
  758. package/build/js/chunks/chunk-XFQTFQYR.js +0 -1
  759. package/build/js/chunks/chunk-XR65N6EG.js +0 -1
  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-Z5LRFYGI.js +0 -1
  771. package/build/js/chunks/chunk-ZAXZRQYF.js +0 -1
  772. package/build/js/chunks/chunk-ZCF62ALL.js +0 -1
  773. package/build/js/chunks/chunk-ZKROZLQ4.js +0 -2
  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 +1 @@
1
- export{a as convertToPublicFrameData}from'./chunks/chunk-W33RVR5M.js';
1
+ function e(){return typeof OffscreenCanvas<`u`}async function t(e,t){let r=await this.getData();return r==null?null:n(r,this.width,this.height,e,t)}async function n(t,n,r,i,a){let o=e(),s;o?s=new OffscreenCanvas(n,r):(s=document.createElement(`canvas`),s.width=n,s.height=r);let c=s.getContext(`2d`);if(!c)throw Error(`Could not get 2d context from canvas`);let l=new ImageData(t,n,r);return c.putImageData(l,0,0),o?s.convertToBlob({type:i||`image/jpeg`,quality:a}):new Promise((e,t)=>{s.toBlob(n=>{if(n===null){t(Error(`Could not create Blob object from canvas`));return}e(n)},i,a)})}function r(e,n){let r={width:e.width,height:e.height,isFrameSourceMirrored:e.isFrameSourceMirrored,colorType:e.colorType,getData:async()=>(await n.requestFrameData(e.frameId)).data};return r.toBlob=t.bind(r),r}export{r as convertToPublicFrameData};
@@ -0,0 +1,35 @@
1
+ import { t as Serializable } from "./Serializable-Dbturs7d.js";
2
+ import { t as SizeWithUnit } from "./SizeWithUnit-CNgvxsVj.js";
3
+
4
+ //#region src/main/private/HtmlElementState.d.ts
5
+ interface HTMLElementStateJSON {
6
+ size: SizeWithUnit;
7
+ visible: boolean;
8
+ }
9
+ declare class HTMLElementState implements Serializable<HTMLElementStateJSON> {
10
+ element: HTMLElement;
11
+ private resizeObserver;
12
+ private mutationObserver;
13
+ private onStateChangedListener?;
14
+ private onDisconnectedListener?;
15
+ private cachedDOMRect;
16
+ constructor(element: HTMLElement);
17
+ get width(): number;
18
+ get height(): number;
19
+ static areEquivalentJSONStates(state1?: HTMLElementStateJSON, state2?: HTMLElementStateJSON): boolean;
20
+ onStateChanged(callback: () => void): void;
21
+ onDisconnected(callback: () => void): void;
22
+ toJSONObject(): HTMLElementStateJSON;
23
+ isSameAs(other: HTMLElementState): boolean;
24
+ removeListeners(): void;
25
+ private isVisible;
26
+ private setupListeners;
27
+ private onSizeChange;
28
+ private onMutation;
29
+ /**
30
+ * cache DOMRect from ResizeObserver entries if available, else use getBoundingClientRect
31
+ */
32
+ private cacheDOMRect;
33
+ }
34
+ //#endregion
35
+ export { HTMLElementStateJSON as n, HTMLElementState as t };
@@ -0,0 +1,43 @@
1
+ import { t as Serializable } from "./Serializable-Dbturs7d.js";
2
+ import { d as FrameSource, m as FrameSourceState, p as FrameSourceListener } from "./Camera-C7TNwqRo.js";
3
+
4
+ //#region src/main/ImageFrameSource.d.ts
5
+ interface ImageFrameSourceJSON {
6
+ /**
7
+ * The official type should be "image", but we cannot use it because it would not work in conjunction
8
+ * with Centaurus.
9
+ */
10
+ type: "imageFrameSource";
11
+ }
12
+ declare class ImageFrameSource implements FrameSource, Serializable<ImageFrameSourceJSON> {
13
+ /**
14
+ * The official type should be "image", but we cannot use it because it would not work in conjunction
15
+ * with Centaurus.
16
+ * @see toJSONObject
17
+ */
18
+ private readonly type;
19
+ private readonly _listeners;
20
+ private _currentState;
21
+ private _desiredState;
22
+ private _context;
23
+ private _imageData;
24
+ get desiredState(): FrameSourceState;
25
+ private get context();
26
+ private set context(value);
27
+ private get currentState();
28
+ static fromFile(file: File): Promise<ImageFrameSource>;
29
+ static fromImage(image: HTMLImageElement): Promise<ImageFrameSource>;
30
+ static fromImageData(imageData: ImageData): Promise<ImageFrameSource>;
31
+ switchToDesiredState(state: FrameSourceState): Promise<void>;
32
+ addListener(listener: FrameSourceListener | null): void;
33
+ removeListener(listener: FrameSourceListener | null): void;
34
+ toJSONObject(): ImageFrameSourceJSON;
35
+ getCurrentState(): FrameSourceState;
36
+ private getCanvasAndContext;
37
+ private setCurrentState;
38
+ private notifyContext;
39
+ private notifyListeners;
40
+ private processSubmittedImage;
41
+ }
42
+ //#endregion
43
+ export { ImageFrameSourceJSON as n, ImageFrameSource as t };
@@ -1,47 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { F as FrameSource, a as FrameSourceState, b as FrameSourceListener } from './Camera-HgH6fwnW.js';
3
- import { Serializable } from './private/Serializable.js';
4
- import './commons/Rect.js';
5
- import './commons/Point.js';
6
- import './commons/Size.js';
7
- import './private/privateAccess.js';
8
-
9
- interface ImageFrameSourceJSON {
10
- /**
11
- * The official type should be "image", but we cannot use it because it would not work in conjunction
12
- * with Centaurus.
13
- */
14
- type: "imageFrameSource";
15
- }
16
- declare class ImageFrameSource implements FrameSource, Serializable<ImageFrameSourceJSON> {
17
- /**
18
- * The official type should be "image", but we cannot use it because it would not work in conjunction
19
- * with Centaurus.
20
- * @see toJSONObject
21
- */
22
- private readonly type;
23
- private readonly _listeners;
24
- private _currentState;
25
- private _desiredState;
26
- private _context;
27
- private _imageData;
28
- get desiredState(): FrameSourceState;
29
- private get context();
30
- private set context(value);
31
- private get currentState();
32
- static fromFile(file: File): Promise<ImageFrameSource>;
33
- static fromImage(image: HTMLImageElement): Promise<ImageFrameSource>;
34
- static fromImageData(imageData: ImageData): Promise<ImageFrameSource>;
35
- switchToDesiredState(state: FrameSourceState): Promise<void>;
36
- addListener(listener: FrameSourceListener | null): void;
37
- removeListener(listener: FrameSourceListener | null): void;
38
- toJSONObject(): ImageFrameSourceJSON;
39
- getCurrentState(): FrameSourceState;
40
- private getCanvasAndContext;
41
- private setCurrentState;
42
- private notifyContext;
43
- private notifyListeners;
44
- private processSubmittedImage;
45
- }
46
-
47
- export { ImageFrameSource, type ImageFrameSourceJSON };
1
+ import { n as ImageFrameSourceJSON, t as ImageFrameSource } from "./ImageFrameSource-YH6FmhqZ.js";
2
+ export { ImageFrameSource, ImageFrameSourceJSON };
@@ -1 +1 @@
1
- export{a as ImageFrameSource}from'./chunks/chunk-43GCMDYV.js';
1
+ import{Logger as e}from"./logger.js";import"./CameraRelated.js";import{DataCaptureError as t}from"./DataCaptureError.js";import{a as n}from"./CameraManager-DskA2C7T.js";var r=class r{constructor(){this.type=`imageFrameSource`,this._listeners=new Set,this._currentState=`off`,this._desiredState=`off`,this._context=null,this._imageData=null}get desiredState(){return this._desiredState}get context(){return this._context}set context(e){this._context=e}get currentState(){return this._currentState}static async fromFile(e){let n=URL.createObjectURL(e),i=new Image;i.src=n;try{await i.decode()}catch{throw new t({name:`InvalidImageError`,message:`Submitted file is not an image`})}finally{URL.revokeObjectURL(n)}return r.fromImage(i)}static async fromImage(e){let n=new r;try{await e.decode()}catch{throw new t({name:`InvalidImageError`,message:`Submitted image cannot be decoded`})}let i=n.getCanvasAndContext(e.width,e.height);return i.drawImage(e,0,0),n._imageData=i.getImageData(0,0,e.width,e.height,{colorSpace:`srgb`}),n}static async fromImageData(e){let n=new r,i=n.getCanvasAndContext(e.width,e.height);try{i.putImageData(e,0,0)}catch(e){throw new t({name:`InvalidImageError`,message:`Submitted image data does not seem valid (details: ${e})`})}return n._imageData=e,n}async switchToDesiredState(t){if(t===`on`){if(this.currentState===`on`)return}else if(this.currentState===`off`)return;if(this._desiredState=t,t===`off`){await this.setCurrentState(`off`);return}return this._imageData==null?(e.log(e.Level.Warn,`No image data to process.`),this.processSubmittedImage({data:new Uint8ClampedArray,width:0,height:0,colorSpace:`srgb`})):this.processSubmittedImage(this._imageData)}addListener(e){e!=null&&this._listeners.add(e)}removeListener(e){e!=null&&this._listeners.delete(e)}toJSONObject(){return{type:this.type}}getCurrentState(){return this._currentState}getCanvasAndContext(e,n){let r=document.createElement(`canvas`);r.width=e,r.height=n;let i=r.getContext(`2d`);if(i==null)throw new t({name:`ImageFrameSourceError`,message:`Could not generate a canvas context to get image data`});return i}async setCurrentState(e){if(e!==this._currentState)return this._currentState=e,this.notifyListeners(),this.notifyContext({type:`frameSourceState`,newValue:e})}async notifyContext(e){if(this._context)return this._context.update([e])}notifyListeners(){for(let e of this._listeners)e.didChangeState&&e.didChangeState(this,this.currentState)}async processSubmittedImage(e){var t;await this.setCurrentState(`on`);let r={data:e.data,width:e.width,height:e.height,frameId:n()};await((t=this._context)==null?void 0:t.sendFrameToProcessor(r)),await this.setCurrentState(`off`)}};export{r as ImageFrameSource};
@@ -0,0 +1,6 @@
1
+ //#region src/main/commons/JSONType.d.ts
2
+ interface JSONType {
3
+ [key: string]: JSONType | JSONType[] | boolean | number | string | null;
4
+ }
5
+ //#endregion
6
+ export { JSONType as t };
@@ -0,0 +1,17 @@
1
+ import { t as Serializable } from "./Serializable-Dbturs7d.js";
2
+ import { t as Color } from "./Color-qNIvVO9c.js";
3
+ import { t as NumberWithUnit } from "./NumberWithUnit-UGwoucuQ.js";
4
+ import { n as LaserlineViewfinderJSON } from "./ViewfinderPlusRelated-CuUarlQb.js";
5
+ import { n as Viewfinder } from "./Viewfinder-DTjfkI0v.js";
6
+
7
+ //#region src/main/LaserlineViewfinder.d.ts
8
+ declare class LaserlineViewfinder implements Viewfinder, Serializable<LaserlineViewfinderJSON> {
9
+ width: NumberWithUnit;
10
+ enabledColor: Color;
11
+ disabledColor: Color;
12
+ private readonly type;
13
+ constructor();
14
+ toJSONObject(): LaserlineViewfinderJSON;
15
+ }
16
+ //#endregion
17
+ export { LaserlineViewfinder as t };
@@ -1,23 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { Color } from './commons/Color.js';
3
- import { NumberWithUnit } from './commons/NumberWithUnit.js';
4
- import { Viewfinder } from './Viewfinder.js';
5
- import { LaserlineViewfinderJSON } from './ViewfinderPlusRelated.js';
6
- import { Serializable } from './private/Serializable.js';
7
- import './commons/MeasureUnit.js';
8
- import './private/nativeHandle.js';
9
- import './commons/SizeWithUnitAndAspect.js';
10
- import './commons/SizeMode.js';
11
- import './commons/SizeWithAspect.js';
12
- import './commons/SizeWithUnit.js';
13
-
14
- declare class LaserlineViewfinder implements Viewfinder, Serializable<LaserlineViewfinderJSON> {
15
- width: NumberWithUnit;
16
- enabledColor: Color;
17
- disabledColor: Color;
18
- private readonly type;
19
- constructor();
20
- toJSONObject(): LaserlineViewfinderJSON;
21
- }
22
-
23
- export { LaserlineViewfinder };
1
+ import { t as LaserlineViewfinder } from "./LaserlineViewfinder-Dkc264QQ.js";
2
+ export { LaserlineViewfinder };
@@ -1 +1 @@
1
- export{a as LaserlineViewfinder}from'./chunks/chunk-RXPPTQAB.js';
1
+ import{defaultViewfinders as e}from"./defaults/DefaultsViewfinders.js";var t=class{constructor(){this.type=`laserline`,this.width=e.LaserlineViewfinder.width,this.enabledColor=e.LaserlineViewfinder.enabledColor,this.disabledColor=e.LaserlineViewfinder.disabledColor}toJSONObject(){return{type:this.type,width:this.width.toJSONObject(),disabledColor:this.disabledColor.toJSON(),enabledColor:this.enabledColor.toJSON()}}};export{t as LaserlineViewfinder};
@@ -0,0 +1,23 @@
1
+ //#region src/main/LoadingStatus.d.ts
2
+ interface ProgressInfo {
3
+ percentage: number | null;
4
+ loadedBytes?: number;
5
+ /**
6
+ * @hidden
7
+ *
8
+ * Used internally
9
+ */
10
+ privateUri: string;
11
+ }
12
+ interface LoadingStatusSubscriber {
13
+ (info: ProgressInfo): void;
14
+ }
15
+ declare class LoadingStatus {
16
+ private readonly subscribers;
17
+ subscribe(subscriber: LoadingStatusSubscriber): void;
18
+ unsubscribe(subscriber: LoadingStatusSubscriber): void;
19
+ private notify;
20
+ }
21
+ declare const loadingStatus: LoadingStatus;
22
+ //#endregion
23
+ export { loadingStatus as i, LoadingStatusSubscriber as n, ProgressInfo as r, LoadingStatus as t };
@@ -1,23 +1,2 @@
1
- /// <reference types="emscripten" />
2
- interface ProgressInfo {
3
- percentage: number | null;
4
- loadedBytes?: number;
5
- /**
6
- * @hidden
7
- *
8
- * Used internally
9
- */
10
- privateUri: string;
11
- }
12
- interface LoadingStatusSubscriber {
13
- (info: ProgressInfo): void;
14
- }
15
- declare class LoadingStatus {
16
- private readonly subscribers;
17
- subscribe(subscriber: LoadingStatusSubscriber): void;
18
- unsubscribe(subscriber: LoadingStatusSubscriber): void;
19
- private notify;
20
- }
21
- declare const loadingStatus: LoadingStatus;
22
-
23
- export { LoadingStatus, type LoadingStatusSubscriber, type ProgressInfo, loadingStatus as default };
1
+ import { i as loadingStatus, n as LoadingStatusSubscriber, r as ProgressInfo, t as LoadingStatus } from "./LoadingStatus-0KzcUFiY.js";
2
+ export { LoadingStatus, LoadingStatusSubscriber, ProgressInfo, loadingStatus as default };
@@ -1 +1 @@
1
- export{a as LoadingStatus,b as default}from'./chunks/chunk-6H6FKGVE.js';
1
+ var e=class{constructor(){this.subscribers=new Set}subscribe(e){this.subscribers.add(e)}unsubscribe(e){this.subscribers.has(e)&&this.subscribers.delete(e)}notify(e){for(let t of this.subscribers)t(e)}};const t=new e;export{e as LoadingStatus,t as default};
@@ -0,0 +1,44 @@
1
+ import { r as DistributiveKeyOf } from "./tsHelper-N1CSjsuN.js";
2
+ import { n as Translations } from "./translations-Bqx7KLdt.js";
3
+
4
+ //#region src/main/Localization.d.ts
5
+ type LocalizationSubscriber = (translations: Partial<Record<DistributiveKeyOf<Translations>, string>>) => void;
6
+ interface LocalizationSubscription {
7
+ cancel(): void;
8
+ }
9
+ declare class Localization {
10
+ private static instance?;
11
+ private translations;
12
+ private subscribers;
13
+ static getInstance(): Localization;
14
+ /**
15
+ * @description Given a key, returns a single translation. You can pass a generic to define the scope of the
16
+ * translations you have.
17
+ *
18
+ * @example
19
+ * // When using the barcode module
20
+ * Localization.getInstance().get<SDCCore.Translations | SDCBarcode.Translations>("core.camera.recovery")
21
+ *
22
+ * @param key One of the keys of the passed Generic interface
23
+ * @returns the corresponding translation, or an empty string if the key was not found.
24
+ */
25
+ get<K = Translations>(key: keyof K): string;
26
+ /**
27
+ * @returns An object containing all the translations
28
+ */
29
+ getAll<K extends object = Translations>(): Record<DistributiveKeyOf<K>, string>;
30
+ /**
31
+ * @description Update the translations with the given object.
32
+ * @param {object} translations An object containing all or a subset of all translations
33
+ */
34
+ update<K extends object = Translations>(translations: Partial<Record<DistributiveKeyOf<K>, string>>): void;
35
+ /**
36
+ * @description Update all translations that are passed in argument but only if not already present. Useful to avoid
37
+ * overwriting translation that the customer may have set early in the code.
38
+ * @param {object} translations An object containing all or a subset of all translations
39
+ */
40
+ updateIfMissing<K extends object = Translations>(translations: Partial<Record<DistributiveKeyOf<K>, string>>): void;
41
+ private subscribe;
42
+ }
43
+ //#endregion
44
+ export { LocalizationSubscriber as n, LocalizationSubscription as r, Localization as t };
@@ -1,44 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { Translations } from './translations.js';
3
- import { DistributiveKeyOf } from './tsHelper.js';
4
-
5
- type LocalizationSubscriber = (translations: Partial<Record<DistributiveKeyOf<Translations>, string>>) => void;
6
- interface LocalizationSubscription {
7
- cancel(): void;
8
- }
9
- declare class Localization {
10
- private static instance?;
11
- private translations;
12
- private subscribers;
13
- static getInstance(): Localization;
14
- /**
15
- * @description Given a key, returns a single translation. You can pass a generic to define the scope of the
16
- * translations you have.
17
- *
18
- * @example
19
- * // When using the barcode module
20
- * Localization.getInstance().get<SDCCore.Translations | SDCBarcode.Translations>("core.camera.recovery")
21
- *
22
- * @param key One of the keys of the passed Generic interface
23
- * @returns the corresponding translation, or an empty string if the key was not found.
24
- */
25
- get<K = Translations>(key: keyof K): string;
26
- /**
27
- * @returns An object containing all the translations
28
- */
29
- getAll<K extends object = Translations>(): Record<DistributiveKeyOf<K>, string>;
30
- /**
31
- * @description Update the translations with the given object.
32
- * @param {object} translations An object containing all or a subset of all translations
33
- */
34
- update<K extends object = Translations>(translations: Partial<Record<DistributiveKeyOf<K>, string>>): void;
35
- /**
36
- * @description Update all translations that are passed in argument but only if not already present. Useful to avoid
37
- * overwriting translation that the customer may have set early in the code.
38
- * @param {object} translations An object containing all or a subset of all translations
39
- */
40
- updateIfMissing<K extends object = Translations>(translations: Partial<Record<DistributiveKeyOf<K>, string>>): void;
41
- private subscribe;
42
- }
43
-
44
- export { Localization, type LocalizationSubscriber, type LocalizationSubscription };
1
+ import { n as LocalizationSubscriber, r as LocalizationSubscription, t as Localization } from "./Localization-LoX2FWJO.js";
2
+ export { Localization, LocalizationSubscriber, LocalizationSubscription };
@@ -1 +1 @@
1
- export{a as Localization}from'./chunks/chunk-GHTCNOQN.js';
1
+ import{fromEntries as e}from"./private/utils/fromEntries.js";var t=class t{constructor(){this.translations=new Map,this.subscribers=new Set}static getInstance(){return t.instance??=new t,t.instance}get(e){return this.translations.get(e)??``}getAll(){return e(this.translations.entries())}update(t){this.translations=new Map(Object.entries({...e(this.translations),...t}));let n=this.getAll();for(let e of this.subscribers)e(n)}updateIfMissing(e){for(let[t,n]of Object.entries(e))this.translations.has(t)||this.translations.set(t,n);let t=this.getAll();for(let e of this.subscribers)e(t)}subscribe(e){return this.subscribers.add(e),e(this.getAll()),{cancel:()=>this.subscribers.delete(e)}}};export{t as Localization};
@@ -0,0 +1,41 @@
1
+ import { t as Serializable } from "./Serializable-Dbturs7d.js";
2
+ import { n as NumberWithUnitJSON, t as NumberWithUnit } from "./NumberWithUnit-UGwoucuQ.js";
3
+ import { t as SizeWithUnit } from "./SizeWithUnit-CNgvxsVj.js";
4
+ import { n as SizeWithUnitAndAspectJSON, t as SizeWithUnitAndAspect } from "./SizeWithUnitAndAspect-BrtiXpsG.js";
5
+
6
+ //#region src/main/LocationSelection.d.ts
7
+ interface LocationSelectionJSON {
8
+ type: string;
9
+ }
10
+ interface LocationSelection extends Serializable<LocationSelectionJSON> {
11
+ toJSONObject: () => any;
12
+ }
13
+ declare const PrivateNoneLocationSelection: {
14
+ type: string;
15
+ };
16
+ interface RadiusLocationSelectionJSON {
17
+ type: "radius";
18
+ radius: NumberWithUnitJSON;
19
+ }
20
+ interface RectangularLocationSelectionJSON {
21
+ type: "rectangular";
22
+ size: SizeWithUnitAndAspectJSON;
23
+ }
24
+ declare class RadiusLocationSelection implements LocationSelection, Serializable<RadiusLocationSelectionJSON> {
25
+ private readonly type;
26
+ private readonly _radius;
27
+ get radius(): NumberWithUnit;
28
+ constructor(radius: NumberWithUnit);
29
+ toJSONObject(): RadiusLocationSelectionJSON;
30
+ }
31
+ declare class RectangularLocationSelection implements LocationSelection, Serializable<RectangularLocationSelectionJSON> {
32
+ private readonly type;
33
+ private _sizeWithUnitAndAspect;
34
+ get sizeWithUnitAndAspect(): SizeWithUnitAndAspect;
35
+ static withSize(size: SizeWithUnit): RectangularLocationSelection;
36
+ static withWidthAndAspectRatio(width: NumberWithUnit, heightToWidthAspectRatio: number): RectangularLocationSelection;
37
+ static withHeightAndAspectRatio(height: NumberWithUnit, widthToHeightAspectRatio: number): RectangularLocationSelection;
38
+ toJSONObject(): RectangularLocationSelectionJSON;
39
+ }
40
+ //#endregion
41
+ export { RectangularLocationSelection as a, RadiusLocationSelection as i, LocationSelectionJSON as n, PrivateNoneLocationSelection as r, LocationSelection as t };
@@ -1,44 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { NumberWithUnitJSON, NumberWithUnit } from './commons/NumberWithUnit.js';
3
- import { SizeWithUnit } from './commons/SizeWithUnit.js';
4
- import { SizeWithUnitAndAspectJSON, SizeWithUnitAndAspect } from './commons/SizeWithUnitAndAspect.js';
5
- import { Serializable } from './private/Serializable.js';
6
- import './commons/MeasureUnit.js';
7
- import './commons/SizeMode.js';
8
- import './commons/SizeWithAspect.js';
9
-
10
- interface LocationSelectionJSON {
11
- type: string;
12
- }
13
- interface LocationSelection extends Serializable<LocationSelectionJSON> {
14
- toJSONObject: () => any;
15
- }
16
- declare const PrivateNoneLocationSelection: {
17
- type: string;
18
- };
19
- interface RadiusLocationSelectionJSON {
20
- type: "radius";
21
- radius: NumberWithUnitJSON;
22
- }
23
- interface RectangularLocationSelectionJSON {
24
- type: "rectangular";
25
- size: SizeWithUnitAndAspectJSON;
26
- }
27
- declare class RadiusLocationSelection implements LocationSelection, Serializable<RadiusLocationSelectionJSON> {
28
- private readonly type;
29
- private readonly _radius;
30
- get radius(): NumberWithUnit;
31
- constructor(radius: NumberWithUnit);
32
- toJSONObject(): RadiusLocationSelectionJSON;
33
- }
34
- declare class RectangularLocationSelection implements LocationSelection, Serializable<RectangularLocationSelectionJSON> {
35
- private readonly type;
36
- private _sizeWithUnitAndAspect;
37
- get sizeWithUnitAndAspect(): SizeWithUnitAndAspect;
38
- static withSize(size: SizeWithUnit): RectangularLocationSelection;
39
- static withWidthAndAspectRatio(width: NumberWithUnit, heightToWidthAspectRatio: number): RectangularLocationSelection;
40
- static withHeightAndAspectRatio(height: NumberWithUnit, widthToHeightAspectRatio: number): RectangularLocationSelection;
41
- toJSONObject(): RectangularLocationSelectionJSON;
42
- }
43
-
44
- export { type LocationSelection, type LocationSelectionJSON, PrivateNoneLocationSelection, RadiusLocationSelection, RectangularLocationSelection };
1
+ import { a as RectangularLocationSelection, i as RadiusLocationSelection, n as LocationSelectionJSON, r as PrivateNoneLocationSelection, t as LocationSelection } from "./LocationSelection-BXqyUc16.js";
2
+ export { LocationSelection, LocationSelectionJSON, PrivateNoneLocationSelection, RadiusLocationSelection, RectangularLocationSelection };
@@ -1 +1 @@
1
- export{a as PrivateNoneLocationSelection,b as RadiusLocationSelection,c as RectangularLocationSelection}from'./chunks/chunk-CAHJ3YOV.js';
1
+ import{SizeWithUnitAndAspect as e}from"./commons/SizeWithUnitAndAspect.js";const t={type:`none`};var n=class{get radius(){return this._radius}constructor(e){this.type=`radius`,this._radius=e}toJSONObject(){return{type:this.type,radius:this.radius.toJSONObject()}}},r=class t{constructor(){this.type=`rectangular`}get sizeWithUnitAndAspect(){return this._sizeWithUnitAndAspect}static withSize(n){let r=new t;return r._sizeWithUnitAndAspect=e.sizeWithWidthAndHeight(n),r}static withWidthAndAspectRatio(n,r){let i=new t;return i._sizeWithUnitAndAspect=e.sizeWithWidthAndAspectRatio(n,r),i}static withHeightAndAspectRatio(n,r){let i=new t;return i._sizeWithUnitAndAspect=e.sizeWithHeightAndAspectRatio(n,r),i}toJSONObject(){return{type:this.type,size:this.sizeWithUnitAndAspect.toJSONObject()}}};export{t as PrivateNoneLocationSelection,n as RadiusLocationSelection,r as RectangularLocationSelection};
@@ -0,0 +1,38 @@
1
+ import { t as Serializable } from "./Serializable-Dbturs7d.js";
2
+ import { t as NumberWithUnit } from "./NumberWithUnit-UGwoucuQ.js";
3
+
4
+ //#region src/main/commons/MarginsWithUnit.d.ts
5
+ interface MarginsWithUnitJSON {
6
+ left: {
7
+ value: number;
8
+ unit: string;
9
+ };
10
+ right: {
11
+ value: number;
12
+ unit: string;
13
+ };
14
+ top: {
15
+ value: number;
16
+ unit: string;
17
+ };
18
+ bottom: {
19
+ value: number;
20
+ unit: string;
21
+ };
22
+ }
23
+ declare class MarginsWithUnit implements Serializable<MarginsWithUnitJSON> {
24
+ private readonly _left;
25
+ private readonly _right;
26
+ private readonly _top;
27
+ private readonly _bottom;
28
+ constructor(left: NumberWithUnit, top: NumberWithUnit, right: NumberWithUnit, bottom: NumberWithUnit);
29
+ private static get zero();
30
+ get left(): NumberWithUnit;
31
+ get right(): NumberWithUnit;
32
+ get top(): NumberWithUnit;
33
+ get bottom(): NumberWithUnit;
34
+ private static fromJSON;
35
+ toJSONObject(): MarginsWithUnitJSON;
36
+ }
37
+ //#endregion
38
+ export { MarginsWithUnitJSON as n, MarginsWithUnit as t };
@@ -0,0 +1,7 @@
1
+ //#region src/main/commons/MeasureUnit.d.ts
2
+ declare enum MeasureUnit {
3
+ Pixel = "pixel",
4
+ Fraction = "fraction"
5
+ }
6
+ //#endregion
7
+ export { MeasureUnit as t };
@@ -0,0 +1,23 @@
1
+ import { t as Color } from "./Color-qNIvVO9c.js";
2
+ import { t as ScanditIcon } from "./ScanditIcon-FRMSos7x.js";
3
+ import { t as NotificationStyle } from "./NotificationStyle-COZXqLGO.js";
4
+ import { t as NotificationConfiguration } from "./NotificationConfiguration-C-1Vhrpo.js";
5
+
6
+ //#region src/main/NotificationPresenter/NotificationBuilder.d.ts
7
+ declare class NotificationBuilder {
8
+ private _text;
9
+ private _tag;
10
+ private _icon?;
11
+ private _style?;
12
+ private _textColor;
13
+ private _backgroundColor;
14
+ private constructor();
15
+ static init(text: string, tag: string): NotificationBuilder;
16
+ withIcon(icon: ScanditIcon): NotificationBuilder;
17
+ withTextColor(color: Color): NotificationBuilder;
18
+ withBackgroundColor(color: Color): NotificationBuilder;
19
+ withNotificationStyle(style: NotificationStyle): NotificationBuilder;
20
+ build(): NotificationConfiguration;
21
+ }
22
+ //#endregion
23
+ export { NotificationBuilder as t };
@@ -0,0 +1,22 @@
1
+ import { t as Color } from "./Color-qNIvVO9c.js";
2
+ import { t as ScanditIcon } from "./ScanditIcon-FRMSos7x.js";
3
+ import { t as NotificationStyle } from "./NotificationStyle-COZXqLGO.js";
4
+
5
+ //#region src/main/NotificationPresenter/NotificationConfiguration.d.ts
6
+ declare class NotificationConfiguration {
7
+ private _style?;
8
+ private _icon?;
9
+ private _message;
10
+ private _textColor;
11
+ private _backgroundColor;
12
+ private _tag;
13
+ constructor(message: string, tag: string, style?: NotificationStyle, icon?: ScanditIcon, textColor?: Color, backgroundColor?: Color);
14
+ get tag(): string;
15
+ get message(): string;
16
+ get style(): NotificationStyle | null;
17
+ get icon(): ScanditIcon | null;
18
+ get textColor(): Color;
19
+ get backgroundColor(): Color;
20
+ }
21
+ //#endregion
22
+ export { NotificationConfiguration as t };
@@ -1,25 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { Color } from '../commons/Color.js';
3
- import { ScanditIcon } from '../ScanditIcon.js';
4
- import { NotificationConfiguration } from './NotificationConfiguration.js';
5
- import { NotificationStyle } from './NotificationStyle.js';
6
- import '../private/Serializable.js';
7
- import '../private/utils/ScanditHTMLElement.js';
8
-
9
- declare class NotificationBuilder {
10
- private _text;
11
- private _tag;
12
- private _icon?;
13
- private _style?;
14
- private _textColor;
15
- private _backgroundColor;
16
- private constructor();
17
- static init(text: string, tag: string): NotificationBuilder;
18
- withIcon(icon: ScanditIcon): NotificationBuilder;
19
- withTextColor(color: Color): NotificationBuilder;
20
- withBackgroundColor(color: Color): NotificationBuilder;
21
- withNotificationStyle(style: NotificationStyle): NotificationBuilder;
22
- build(): NotificationConfiguration;
23
- }
24
-
25
- export { NotificationBuilder };
1
+ import { t as NotificationBuilder } from "../NotificationBuilder-B3uY_ZbG.js";
2
+ export { NotificationBuilder };
@@ -1 +1 @@
1
- export{a as NotificationBuilder}from'../chunks/chunk-5LXHD7FZ.js';
1
+ import{Color as e}from"../commons/Color.js";import{NotificationConfiguration as t}from"./NotificationConfiguration.js";import{error as n,info as r,success as i,warning as a}from"./private/presets.js";var o=class o{constructor(){this._text=``,this._tag=``,this._textColor=e.fromHex(r.hintStyle.textColor),this._backgroundColor=e.fromHex(r.hintStyle.backgroundColor)}static init(e,t){let n=new o;return n._text=e,n._tag=t,n}withIcon(e){return this._icon=e,this}withTextColor(e){return this._textColor=e,this}withBackgroundColor(e){return this._backgroundColor=e,this}withNotificationStyle(t){this._style=t;let o={info:r,error:n,warning:a,success:i}[t];return this._textColor=e.fromHex(o.hintStyle.textColor),this._backgroundColor=e.fromHex(o.hintStyle.backgroundColor),this}build(){return new t(this._text,this._tag,this._style,this._icon,this._textColor,this._backgroundColor)}};export{o as NotificationBuilder};
@@ -1,24 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { Color } from '../commons/Color.js';
3
- import { ScanditIcon } from '../ScanditIcon.js';
4
- import { NotificationStyle } from './NotificationStyle.js';
5
- import '../private/Serializable.js';
6
- import '../private/utils/ScanditHTMLElement.js';
7
-
8
- declare class NotificationConfiguration {
9
- private _style?;
10
- private _icon?;
11
- private _message;
12
- private _textColor;
13
- private _backgroundColor;
14
- private _tag;
15
- constructor(message: string, tag: string, style?: NotificationStyle, icon?: ScanditIcon, textColor?: Color, backgroundColor?: Color);
16
- get tag(): string;
17
- get message(): string;
18
- get style(): NotificationStyle | null;
19
- get icon(): ScanditIcon | null;
20
- get textColor(): Color;
21
- get backgroundColor(): Color;
22
- }
23
-
24
- export { NotificationConfiguration };
1
+ import { t as NotificationConfiguration } from "../NotificationConfiguration-C-1Vhrpo.js";
2
+ export { NotificationConfiguration };
@@ -1 +1 @@
1
- export{a as NotificationConfiguration}from'../chunks/chunk-CRUOVJHW.js';
1
+ var e=class{constructor(e,t,n,r,i,a){this._message=e,this._tag=t,this._style=n,this._icon=r,this._textColor=i,this._backgroundColor=a}get tag(){return this._tag}get message(){return this._message}get style(){return this._style||null}get icon(){return this._icon||null}get textColor(){return this._textColor}get backgroundColor(){return this._backgroundColor}};export{e as NotificationConfiguration};
@@ -1,14 +1,2 @@
1
- /// <reference types="emscripten" />
2
- import { NotificationConfiguration } from './NotificationConfiguration.js';
3
- import '../commons/Color.js';
4
- import '../private/Serializable.js';
5
- import '../ScanditIcon.js';
6
- import '../private/utils/ScanditHTMLElement.js';
7
- import './NotificationStyle.js';
8
-
9
- interface NotificationPresenter {
10
- showNotification(notificationConfiguration: NotificationConfiguration): Promise<void>;
11
- hideNotification(notificationConfiguration: NotificationConfiguration): Promise<void>;
12
- }
13
-
14
- export type { NotificationPresenter };
1
+ import { t as NotificationPresenter } from "../NotificationPresenter-D0g_arAJ.js";
2
+ export { NotificationPresenter };
@@ -1,9 +1,2 @@
1
- /// <reference types="emscripten" />
2
- declare enum NotificationStyle {
3
- Info = "info",
4
- Error = "error",
5
- Warning = "warning",
6
- Success = "success"
7
- }
8
-
9
- export { NotificationStyle };
1
+ import { t as NotificationStyle } from "../NotificationStyle-COZXqLGO.js";
2
+ export { NotificationStyle };