@scandit/web-datacapture-core 8.0.0 → 8.1.0

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 (410) hide show
  1. package/THIRD_PARTY.txt +331 -70
  2. package/build/js/AimerViewfinder.d.ts +8 -2
  3. package/build/js/AimerViewfinder.js +1 -1
  4. package/build/js/Brush.d.ts +5 -1
  5. package/build/js/Brush.js +1 -1
  6. package/build/js/Camera-DhGjpcjv.d.ts +394 -0
  7. package/build/js/Camera.d.ts +5 -3
  8. package/build/js/Camera.js +1 -1
  9. package/build/js/CameraRelated.d.ts +4 -2
  10. package/build/js/CameraRelated.js +1 -1
  11. package/build/js/{DataCaptureContext-8EuyQSL7.d.ts → DataCaptureContext-fzPdCXUX.d.ts} +69 -79
  12. package/build/js/DataCaptureContext.d.ts +16 -7
  13. package/build/js/DataCaptureContext.js +1 -1
  14. package/build/js/DataCaptureContextRelated.d.ts +19 -10
  15. package/build/js/DataCaptureContextSettings.d.ts +1 -1
  16. package/build/js/DataCaptureVersion.js +1 -1
  17. package/build/js/DataCaptureView.d.ts +17 -8
  18. package/build/js/DataCaptureView.js +1 -1
  19. package/build/js/DefaultViewClassnames.d.ts +0 -6
  20. package/build/js/DefaultViewClassnames.js +1 -1
  21. package/build/js/Feedback.js +1 -1
  22. package/build/js/FrameData.d.ts +17 -8
  23. package/build/js/FrameData.js +1 -1
  24. package/build/js/ImageFrameSource.d.ts +4 -2
  25. package/build/js/ImageFrameSource.js +1 -1
  26. package/build/js/LaserlineViewfinder.d.ts +7 -1
  27. package/build/js/LaserlineViewfinder.js +1 -1
  28. package/build/js/LocationSelection.d.ts +6 -1
  29. package/build/js/LocationSelection.js +1 -1
  30. package/build/js/NotificationPresenter/NotificationBuilder.d.ts +1 -1
  31. package/build/js/NotificationPresenter/NotificationBuilder.js +1 -1
  32. package/build/js/NotificationPresenter/NotificationConfiguration.d.ts +1 -1
  33. package/build/js/NotificationPresenter/NotificationConfiguration.js +1 -1
  34. package/build/js/NotificationPresenter/NotificationPresenter.d.ts +1 -1
  35. package/build/js/NotificationPresenter/index.d.ts +17 -8
  36. package/build/js/NotificationPresenter/index.js +1 -1
  37. package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.d.ts +17 -8
  38. package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.js +1 -1
  39. package/build/js/NotificationPresenter/private/presets.d.ts +17 -8
  40. package/build/js/NotificationPresenter/private/presets.js +1 -1
  41. package/build/js/RectangularViewfinder.d.ts +7 -1
  42. package/build/js/RectangularViewfinder.js +1 -1
  43. package/build/js/ScanditIcon.d.ts +1 -1
  44. package/build/js/ScanditIcon.js +1 -1
  45. package/build/js/ScanditIconBuilder.d.ts +22 -20
  46. package/build/js/ScanditIconBuilder.js +1 -1
  47. package/build/js/SingleImageUploader.d.ts +4 -2
  48. package/build/js/SingleImageUploader.js +1 -1
  49. package/build/js/SingleImageUploaderSettings.js +1 -1
  50. package/build/js/Vibration.js +1 -1
  51. package/build/js/Viewfinder.d.ts +7 -1
  52. package/build/js/ViewfinderPlusRelated.d.ts +7 -1
  53. package/build/js/browserHelper.d.ts +23 -1
  54. package/build/js/browserHelper.js +1 -1
  55. package/build/js/chunks/{chunk-2EY4FBA3.js → chunk-24IG7HUA.js} +1 -1
  56. package/build/js/chunks/chunk-2AX7TBDI.js +1 -0
  57. package/build/js/chunks/chunk-2JIATMSD.js +1 -0
  58. package/build/js/chunks/chunk-3CXYB36D.js +1 -0
  59. package/build/js/chunks/chunk-3D2HNEVH.js +1 -0
  60. package/build/js/chunks/chunk-3KKUZY2T.js +1 -0
  61. package/build/js/chunks/{chunk-5YXBE5P2.js → chunk-3LVMEVOI.js} +1 -1
  62. package/build/js/chunks/chunk-4BP7D26M.js +1 -0
  63. package/build/js/chunks/{chunk-A5WVN3T4.js → chunk-4F5JUHOJ.js} +1 -1
  64. package/build/js/chunks/{chunk-T4QDTXZN.js → chunk-4GKVQAVF.js} +1 -1
  65. package/build/js/chunks/chunk-4JH6EEAE.js +1 -0
  66. package/build/js/chunks/chunk-523EQN4Z.js +1 -0
  67. package/build/js/chunks/chunk-5C4OO6CX.js +35 -0
  68. package/build/js/chunks/{chunk-TDOKACT7.js → chunk-5IGOKD23.js} +1 -1
  69. package/build/js/chunks/{chunk-UBDDFAOX.js → chunk-5JAPQHXF.js} +1 -1
  70. package/build/js/chunks/chunk-5LXHD7FZ.js +1 -0
  71. package/build/js/chunks/chunk-5RCWM6NI.js +1 -0
  72. package/build/js/chunks/chunk-6LHGFWQI.js +1 -0
  73. package/build/js/chunks/chunk-74GO72VC.js +1 -0
  74. package/build/js/chunks/chunk-ADFFBLII.js +1 -0
  75. package/build/js/chunks/chunk-AFCJ24Y3.js +1 -0
  76. package/build/js/chunks/chunk-AWPUSRYW.js +1 -0
  77. package/build/js/chunks/chunk-AZWFNBVA.js +1 -0
  78. package/build/js/chunks/chunk-BDGRWHLY.js +1 -0
  79. package/build/js/chunks/chunk-BFLBICOJ.js +1 -0
  80. package/build/js/chunks/chunk-BG2MAWWN.js +1 -0
  81. package/build/js/chunks/chunk-BGUY24J4.js +1 -0
  82. package/build/js/chunks/chunk-BIJB4K7G.js +1 -0
  83. package/build/js/chunks/chunk-BZAQMYII.js +1 -0
  84. package/build/js/chunks/chunk-C3EY6I75.js +2 -0
  85. package/build/js/chunks/chunk-C657OBED.js +1 -0
  86. package/build/js/chunks/chunk-CAHJ3YOV.js +1 -0
  87. package/build/js/chunks/{chunk-GGMX65YP.js → chunk-CD2BU66N.js} +1 -1
  88. package/build/js/chunks/chunk-CRUOVJHW.js +1 -0
  89. package/build/js/chunks/chunk-D6JKW7G4.js +1 -0
  90. package/build/js/chunks/chunk-DQ2IFWM5.js +1 -0
  91. package/build/js/chunks/chunk-DZKZ6RMW.js +1 -0
  92. package/build/js/chunks/chunk-E4XJ4GKD.js +1 -0
  93. package/build/js/chunks/chunk-ENYHCJGH.js +1 -0
  94. package/build/js/chunks/{chunk-LOV5GR63.js → chunk-EQP4U5U2.js} +1 -1
  95. package/build/js/chunks/chunk-F2GMW4LP.js +1 -0
  96. package/build/js/chunks/{chunk-IU22MD7N.js → chunk-F2IJCZAS.js} +1 -1
  97. package/build/js/chunks/{chunk-3HOGSYPB.js → chunk-F6TT5US7.js} +1 -1
  98. package/build/js/chunks/chunk-FR24G4R7.js +1 -0
  99. package/build/js/chunks/chunk-GJBUPJIM.js +1 -0
  100. package/build/js/chunks/chunk-GPPCTFZF.js +1 -0
  101. package/build/js/chunks/chunk-GPUTPXQM.js +1 -0
  102. package/build/js/chunks/{chunk-3MEGNPVU.js → chunk-I6SWF3FQ.js} +1 -1
  103. package/build/js/chunks/chunk-IJQG3OU6.js +1 -0
  104. package/build/js/chunks/chunk-IMXMNDKM.js +1 -0
  105. package/build/js/chunks/chunk-J6LCRGZO.js +1 -0
  106. package/build/js/chunks/chunk-KAFNKP6O.js +1 -0
  107. package/build/js/chunks/{chunk-5MUFGMII.js → chunk-L7WVCDGR.js} +1 -1
  108. package/build/js/chunks/chunk-LORGLY2X.js +1 -0
  109. package/build/js/chunks/chunk-MA6UDVDJ.js +1 -0
  110. package/build/js/chunks/chunk-MBL5Q2H2.js +1 -0
  111. package/build/js/chunks/{chunk-HDY35RKY.js → chunk-NDQQHCZN.js} +1 -1
  112. package/build/js/chunks/chunk-O7QIRKOP.js +1 -0
  113. package/build/js/chunks/chunk-ORP45GHJ.js +1 -0
  114. package/build/js/chunks/chunk-PA2BMEFD.js +1 -0
  115. package/build/js/chunks/chunk-Q45KFJIS.js +1 -0
  116. package/build/js/chunks/chunk-QG3MRQMP.js +1 -0
  117. package/build/js/chunks/chunk-QOCHMKNY.js +1 -0
  118. package/build/js/chunks/chunk-QQEY536Q.js +1 -0
  119. package/build/js/chunks/chunk-R4KME2DS.js +6 -0
  120. package/build/js/chunks/chunk-R6SUMD5F.js +1 -0
  121. package/build/js/chunks/{chunk-CF2DKFX2.js → chunk-RHMGLXJ3.js} +1 -1
  122. package/build/js/chunks/chunk-RL4LGOQS.js +1 -0
  123. package/build/js/chunks/chunk-RSQRPDVQ.js +1 -0
  124. package/build/js/chunks/chunk-RXPPTQAB.js +1 -0
  125. package/build/js/chunks/chunk-SBC5K7IT.js +1 -0
  126. package/build/js/chunks/chunk-SGL5J2CI.js +1 -0
  127. package/build/js/chunks/chunk-SOCEWYYO.js +1 -0
  128. package/build/js/chunks/chunk-SVJ6BU5X.js +1 -0
  129. package/build/js/chunks/chunk-TKO5JMMS.js +1 -0
  130. package/build/js/chunks/chunk-TPHGDMKG.js +1 -0
  131. package/build/js/chunks/chunk-TU44BW74.js +1 -0
  132. package/build/js/chunks/chunk-TXVFFRVY.js +1 -0
  133. package/build/js/chunks/chunk-UOQFOEG6.js +1 -0
  134. package/build/js/chunks/chunk-UQVVJP5Z.js +1 -0
  135. package/build/js/chunks/chunk-V6RG452U.js +1 -0
  136. package/build/js/chunks/chunk-VBUDN72N.js +2 -0
  137. package/build/js/chunks/chunk-W6HSMZGZ.js +1 -0
  138. package/build/js/chunks/chunk-WARGMW7Z.js +1 -0
  139. package/build/js/chunks/{chunk-BRS5WVNO.js → chunk-WL2XKPJD.js} +1 -1
  140. package/build/js/chunks/{chunk-RETAUGCJ.js → chunk-X2ZGBI4S.js} +1 -1
  141. package/build/js/chunks/chunk-X4LJRWLI.js +1 -0
  142. package/build/js/chunks/{chunk-WAJ5PI3A.js → chunk-XINFYUZW.js} +1 -1
  143. package/build/js/chunks/chunk-Y7ZNLVR2.js +1 -0
  144. package/build/js/chunks/chunk-YOTQPBO6.js +1 -0
  145. package/build/js/chunks/{chunk-2BBQRPKY.js → chunk-ZEBGTTCX.js} +1 -1
  146. package/build/js/commons/Anchor.d.ts +14 -0
  147. package/build/js/commons/Anchor.js +1 -0
  148. package/build/js/commons/Color.d.ts +28 -0
  149. package/build/js/commons/Color.js +1 -0
  150. package/build/js/commons/Direction.d.ts +12 -0
  151. package/build/js/commons/Direction.js +1 -0
  152. package/build/js/commons/JSONType.d.ts +6 -0
  153. package/build/js/commons/JSONType.js +0 -0
  154. package/build/js/commons/MarginsWithUnit.d.ts +39 -0
  155. package/build/js/commons/MarginsWithUnit.js +1 -0
  156. package/build/js/commons/MeasureUnit.d.ts +7 -0
  157. package/build/js/commons/MeasureUnit.js +1 -0
  158. package/build/js/commons/NumberWithUnit.d.ts +19 -0
  159. package/build/js/commons/NumberWithUnit.js +1 -0
  160. package/build/js/commons/Orientation.d.ts +10 -0
  161. package/build/js/commons/Orientation.js +1 -0
  162. package/build/js/commons/Point.d.ts +20 -0
  163. package/build/js/commons/Point.js +1 -0
  164. package/build/js/commons/PointWithUnit.d.ts +27 -0
  165. package/build/js/commons/PointWithUnit.js +1 -0
  166. package/build/js/commons/Quadrilateral.d.ts +25 -0
  167. package/build/js/commons/Quadrilateral.js +1 -0
  168. package/build/js/commons/Rect.d.ts +19 -0
  169. package/build/js/commons/Rect.js +1 -0
  170. package/build/js/commons/RectWithUnit.d.ts +21 -0
  171. package/build/js/commons/RectWithUnit.js +1 -0
  172. package/build/js/commons/Size.d.ts +18 -0
  173. package/build/js/commons/Size.js +1 -0
  174. package/build/js/commons/SizeMode.d.ts +9 -0
  175. package/build/js/commons/SizeMode.js +1 -0
  176. package/build/js/commons/SizeWithAspect.d.ts +14 -0
  177. package/build/js/commons/SizeWithAspect.js +1 -0
  178. package/build/js/commons/SizeWithUnit.d.ts +27 -0
  179. package/build/js/commons/SizeWithUnit.js +1 -0
  180. package/build/js/commons/SizeWithUnitAndAspect.d.ts +42 -0
  181. package/build/js/commons/SizeWithUnitAndAspect.js +1 -0
  182. package/build/js/controls/CameraFOVSwitchControl.d.ts +71 -0
  183. package/build/js/controls/CameraFOVSwitchControl.js +1 -0
  184. package/build/js/controls/CameraSwitchControl.d.ts +64 -0
  185. package/build/js/controls/CameraSwitchControl.js +1 -0
  186. package/build/js/controls/TorchSwitchControl.d.ts +65 -0
  187. package/build/js/controls/TorchSwitchControl.js +1 -0
  188. package/build/js/controls/common.d.ts +37 -0
  189. package/build/js/controls/common.js +0 -0
  190. package/build/js/controls/index.d.ts +40 -0
  191. package/build/js/controls/index.js +1 -0
  192. package/build/js/defaults/DefaultsBrush.d.ts +9 -0
  193. package/build/js/defaults/DefaultsBrush.js +1 -0
  194. package/build/js/defaults/DefaultsCamera.d.ts +21 -0
  195. package/build/js/defaults/DefaultsCamera.js +1 -0
  196. package/build/js/defaults/DefaultsCameraSettings.d.ts +17 -0
  197. package/build/js/defaults/DefaultsCameraSettings.js +1 -0
  198. package/build/js/defaults/DefaultsDataCaptureView.d.ts +22 -0
  199. package/build/js/defaults/DefaultsDataCaptureView.js +1 -0
  200. package/build/js/defaults/DefaultsDeserializers.d.ts +12 -0
  201. package/build/js/defaults/DefaultsDeserializers.js +1 -0
  202. package/build/js/defaults/DefaultsFeedback.d.ts +7 -0
  203. package/build/js/defaults/DefaultsFeedback.js +1 -0
  204. package/build/js/defaults/DefaultsSingleImageUploader.d.ts +19 -0
  205. package/build/js/defaults/DefaultsSingleImageUploader.js +1 -0
  206. package/build/js/defaults/DefaultsViewfinders.d.ts +46 -0
  207. package/build/js/defaults/DefaultsViewfinders.js +1 -0
  208. package/build/js/index.d.ts +26 -8
  209. package/build/js/index.js +1 -1
  210. package/build/js/moduleLoader.d.ts +17 -8
  211. package/build/js/private/AnchorPositions.d.ts +2 -1
  212. package/build/js/private/AnchorPositions.js +1 -1
  213. package/build/js/private/CameraAccess.d.ts +4 -166
  214. package/build/js/private/CameraAccess.js +1 -1
  215. package/build/js/private/CameraManager.d.ts +17 -8
  216. package/build/js/private/CameraManager.js +1 -1
  217. package/build/js/private/CameraPool.d.ts +17 -8
  218. package/build/js/private/CanvasDrawerWithMetrics.d.ts +17 -8
  219. package/build/js/private/CoreModuleLicenseTextProvider.d.ts +17 -8
  220. package/build/js/private/CoreModuleLicenseTextProvider.js +1 -1
  221. package/build/js/private/CustomLocationsView.d.ts +7 -1
  222. package/build/js/private/CustomLocationsView.js +1 -1
  223. package/build/js/private/DataCaptureContextRelated.d.ts +17 -8
  224. package/build/js/private/FrameReaders/ColorType.d.ts +7 -0
  225. package/build/js/private/FrameReaders/ColorType.js +1 -0
  226. package/build/js/private/FrameReaders/FrameReader.d.ts +32 -8
  227. package/build/js/private/FrameReaders/FrameReader.js +1 -1
  228. package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +47 -8
  229. package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +17 -6
  230. package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
  231. package/build/js/private/FrameReaders/index.d.ts +20 -8
  232. package/build/js/private/FrameReaders/index.js +1 -1
  233. package/build/js/private/GestureRecognizer/GestureRecognizer.d.ts +22 -2
  234. package/build/js/private/GestureRecognizer/GestureRecognizer.js +1 -1
  235. package/build/js/private/GestureRecognizer/index.d.ts +1 -1
  236. package/build/js/private/GestureRecognizer/index.js +1 -1
  237. package/build/js/private/HtmlElementState.d.ts +3 -1
  238. package/build/js/private/HtmlElementState.js +1 -1
  239. package/build/js/private/{AsyncImageConverterBase.d.ts → ImageConverterBase.d.ts} +3 -3
  240. package/build/js/private/ImageConverterBase.js +1 -0
  241. package/build/js/private/{AsyncImageConverterMainThread.d.ts → ImageConverterMainThread.d.ts} +3 -3
  242. package/build/js/private/ImageConverterMainThread.js +1 -0
  243. package/build/js/private/NormalizedModuleLoaderOptions.d.ts +19 -10
  244. package/build/js/private/OrientationObserver.d.ts +8 -3
  245. package/build/js/private/OrientationObserver.js +1 -1
  246. package/build/js/private/SingleImageUploaderView.d.ts +4 -0
  247. package/build/js/private/SingleImageUploaderView.js +1 -1
  248. package/build/js/private/ViewClassNames.d.ts +0 -6
  249. package/build/js/private/ViewClassNames.js +1 -1
  250. package/build/js/private/ViewControls+related.js +1 -1
  251. package/build/js/private/ViewControls_related.d.ts +20 -8
  252. package/build/js/private/ViewStyles.js +1 -1
  253. package/build/js/private/ViewsRegistry.d.ts +17 -8
  254. package/build/js/private/djinni-types/index.d.ts +3 -3
  255. package/build/js/private/hybridDesktopPlatformHelpers.js +1 -1
  256. package/build/js/private/multithreadSimdHelper.d.ts +9 -4
  257. package/build/js/private/multithreadSimdHelper.js +1 -1
  258. package/build/js/private/ui/atoms/AimerSvgIcon.js +1 -1
  259. package/build/js/private/ui/atoms/ArrowDownSvgIcon.js +1 -1
  260. package/build/js/private/ui/atoms/ArrowLeftSvgIcon.js +1 -1
  261. package/build/js/private/ui/atoms/ArrowRightSvgIcon.js +1 -1
  262. package/build/js/private/ui/atoms/ArrowUpSvgIcon.js +1 -1
  263. package/build/js/private/ui/atoms/ArrowsUp.js +1 -1
  264. package/build/js/private/ui/atoms/Backdrop.js +1 -1
  265. package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.js +1 -1
  266. package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.d.ts +17 -0
  267. package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.js +1 -0
  268. package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.d.ts +17 -0
  269. package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.js +1 -0
  270. package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.js +1 -1
  271. package/build/js/private/ui/atoms/CameraSwitchSvgIcon.js +1 -1
  272. package/build/js/private/ui/atoms/Card.d.ts +1 -1
  273. package/build/js/private/ui/atoms/Card.js +1 -1
  274. package/build/js/private/ui/atoms/CardList.d.ts +1 -1
  275. package/build/js/private/ui/atoms/CardList.js +1 -1
  276. package/build/js/private/ui/atoms/CheckSvgIcon.js +1 -1
  277. package/build/js/private/ui/atoms/ChevronDownSvgIcon.js +1 -1
  278. package/build/js/private/ui/atoms/ChevronLeftSvgIcon.js +1 -1
  279. package/build/js/private/ui/atoms/ChevronRightSvgIcon.js +1 -1
  280. package/build/js/private/ui/atoms/ChevronUpSvgIcon.js +1 -1
  281. package/build/js/private/ui/atoms/CrossSvgIcon.js +1 -1
  282. package/build/js/private/ui/atoms/DeleteSvgIcon.d.ts +17 -0
  283. package/build/js/private/ui/atoms/DeleteSvgIcon.js +1 -0
  284. package/build/js/private/ui/atoms/Dot5xSvgIcon.js +1 -1
  285. package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.js +1 -1
  286. package/build/js/private/ui/atoms/GlassSvgIcon.js +1 -1
  287. package/build/js/private/ui/atoms/HandLensCheckSvgIcon.js +1 -1
  288. package/build/js/private/ui/atoms/KeyboardSvgIcon.js +1 -1
  289. package/build/js/private/ui/atoms/LowStockSvgIcon.js +1 -1
  290. package/build/js/private/ui/atoms/OnexSvgIcon.js +1 -1
  291. package/build/js/private/ui/atoms/PrinterSvgIcon.js +1 -1
  292. package/build/js/private/ui/atoms/ProgressBar.js +1 -1
  293. package/build/js/private/ui/atoms/QuestionMarkSvgIcon.js +1 -1
  294. package/build/js/private/ui/atoms/RestartSvgIcon.js +1 -1
  295. package/build/js/private/ui/atoms/RoundedCheckSvgIcon.js +1 -1
  296. package/build/js/private/ui/atoms/RoundedCrossSvgIcon.js +1 -1
  297. package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.js +1 -1
  298. package/build/js/private/ui/atoms/ShutterButton.js +1 -1
  299. package/build/js/private/ui/atoms/SlashSvgIcon.d.ts +17 -0
  300. package/build/js/private/ui/atoms/SlashSvgIcon.js +1 -0
  301. package/build/js/private/ui/atoms/StarFilledSvgIcon.js +1 -1
  302. package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.js +1 -1
  303. package/build/js/private/ui/atoms/StarOutlinedSvgIcon.js +1 -1
  304. package/build/js/private/ui/atoms/SvgIcon.js +1 -1
  305. package/build/js/private/ui/atoms/ToPickSvgIcon.js +1 -1
  306. package/build/js/private/ui/atoms/Toast.d.ts +17 -8
  307. package/build/js/private/ui/atoms/Toast.js +1 -1
  308. package/build/js/private/ui/atoms/TorchOffSvgIcon.d.ts +17 -0
  309. package/build/js/private/ui/atoms/TorchOffSvgIcon.js +1 -0
  310. package/build/js/private/ui/atoms/TorchOnSvgIcon.d.ts +17 -0
  311. package/build/js/private/ui/atoms/TorchOnSvgIcon.js +1 -0
  312. package/build/js/private/ui/atoms/TwoxSvgIcon.js +1 -1
  313. package/build/js/private/ui/atoms/WrongItemSvgIcon.js +1 -1
  314. package/build/js/private/ui/colors.d.ts +1 -1
  315. package/build/js/private/ui/colors.js +1 -1
  316. package/build/js/private/ui/molecules/ButtonEvents.d.ts +31 -0
  317. package/build/js/private/ui/molecules/ButtonEvents.js +1 -0
  318. package/build/js/private/ui/molecules/CameraFOVSwitchButton.d.ts +66 -0
  319. package/build/js/private/ui/molecules/CameraFOVSwitchButton.js +1 -0
  320. package/build/js/private/ui/molecules/CameraSwitchButton.d.ts +59 -0
  321. package/build/js/private/ui/molecules/CameraSwitchButton.js +1 -0
  322. package/build/js/private/ui/molecules/ControlsLayout.d.ts +22 -0
  323. package/build/js/private/ui/molecules/ControlsLayout.js +1 -0
  324. package/build/js/private/ui/molecules/HintPresenter.d.ts +17 -8
  325. package/build/js/private/ui/molecules/HintPresenter.js +1 -1
  326. package/build/js/private/ui/molecules/LoadingOverlay.js +1 -1
  327. package/build/js/private/ui/molecules/TorchSwitchIconButton.d.ts +68 -0
  328. package/build/js/private/ui/molecules/TorchSwitchIconButton.js +1 -0
  329. package/build/js/private/utils/index.js +1 -1
  330. package/build/js/private/utils/polyfillLoader.js +1 -1
  331. package/build/js/private/utils/quadrilateralUtils.d.ts +2 -1
  332. package/build/js/private/utils/quadrilateralUtils.js +1 -1
  333. package/build/js/private/utils/replaceImagesInViewUtils.d.ts +16 -7
  334. package/build/js/private/utils/warnMultithreadingUnavailable.js +1 -1
  335. package/build/js/worker/{AsyncImageConverterForwarder.d.ts → ImageConverterForwarder.d.ts} +20 -11
  336. package/build/js/worker/ImageConverterForwarder.js +1 -0
  337. package/build/js/worker/{AsyncImageConverterWorker.d.ts → ImageConverterWorker.d.ts} +3 -3
  338. package/build/js/worker/ImageConverterWorker.js +1 -0
  339. package/build/js/worker/WorkerMain.d.ts +17 -8
  340. package/build/js/worker/WorkerMain.js +1 -1
  341. package/build/js/worker/coreCapture.inlineWorker.d.ts +17 -8
  342. package/build/js/worker/coreCapture.inlineWorker.js +1 -1
  343. package/build/js/worker/dataCaptureEngine.d.ts +17 -8
  344. package/build/js/worker/dataCaptureEngine.js +1 -1
  345. package/build/js/worker/dataCaptureLoader.d.ts +17 -8
  346. package/build/js/worker/dataCaptureLoader.js +1 -1
  347. package/build/js/worker/dataCaptureWorkerRelated.d.ts +17 -8
  348. package/build/js/worker/index.d.ts +17 -8
  349. package/build/js/worker/index.js +1 -1
  350. package/package.json +4 -4
  351. package/build/js/Camera-CZ0Hl7v2.d.ts +0 -213
  352. package/build/js/Common.d.ts +0 -231
  353. package/build/js/Common.js +0 -1
  354. package/build/js/Defaults.d.ts +0 -139
  355. package/build/js/Defaults.js +0 -1
  356. package/build/js/ViewControls.d.ts +0 -54
  357. package/build/js/ViewControls.js +0 -1
  358. package/build/js/assets/index.d.d.ts +0 -5
  359. package/build/js/assets/index.d.ts +0 -5
  360. package/build/js/assets/index.js +0 -1
  361. package/build/js/chunks/chunk-25EQ6RFI.js +0 -1
  362. package/build/js/chunks/chunk-2VNXD4FC.js +0 -1
  363. package/build/js/chunks/chunk-36CF5U7R.js +0 -1
  364. package/build/js/chunks/chunk-4GP73VVU.js +0 -97
  365. package/build/js/chunks/chunk-4Y7Q64OZ.js +0 -1
  366. package/build/js/chunks/chunk-5N4CQMMU.js +0 -1
  367. package/build/js/chunks/chunk-5S537AFM.js +0 -1
  368. package/build/js/chunks/chunk-5TW3OTHU.js +0 -1
  369. package/build/js/chunks/chunk-7RMPOOYQ.js +0 -1
  370. package/build/js/chunks/chunk-AKDTQZ73.js +0 -1
  371. package/build/js/chunks/chunk-AL6GJUID.js +0 -1
  372. package/build/js/chunks/chunk-B2I3SBRI.js +0 -1
  373. package/build/js/chunks/chunk-EFFUWK5Z.js +0 -1
  374. package/build/js/chunks/chunk-EKOWJS3E.js +0 -1
  375. package/build/js/chunks/chunk-ELQAIHEQ.js +0 -1
  376. package/build/js/chunks/chunk-FGCJ3ZLG.js +0 -2
  377. package/build/js/chunks/chunk-FS52JIW4.js +0 -1
  378. package/build/js/chunks/chunk-GQVOVLRR.js +0 -1
  379. package/build/js/chunks/chunk-GYSREBEJ.js +0 -1
  380. package/build/js/chunks/chunk-HLJPVZHK.js +0 -1
  381. package/build/js/chunks/chunk-HTQSOUB3.js +0 -6
  382. package/build/js/chunks/chunk-I3U43DWH.js +0 -1
  383. package/build/js/chunks/chunk-K5B6J4SK.js +0 -1
  384. package/build/js/chunks/chunk-K7MUTJWB.js +0 -1
  385. package/build/js/chunks/chunk-KUVVZN66.js +0 -1
  386. package/build/js/chunks/chunk-MQ6H2ORR.js +0 -1
  387. package/build/js/chunks/chunk-MTNFYUSF.js +0 -2
  388. package/build/js/chunks/chunk-PAPLDTB7.js +0 -1
  389. package/build/js/chunks/chunk-PXPLMVCF.js +0 -1
  390. package/build/js/chunks/chunk-QDZ6UZHF.js +0 -1
  391. package/build/js/chunks/chunk-T3DJYPIP.js +0 -18
  392. package/build/js/chunks/chunk-TB4UKDDI.js +0 -1
  393. package/build/js/chunks/chunk-TOR7V7M7.js +0 -1
  394. package/build/js/chunks/chunk-TPQTY3KB.js +0 -1
  395. package/build/js/chunks/chunk-TQ6K3P2B.js +0 -1
  396. package/build/js/chunks/chunk-TZ6TWPJD.js +0 -1
  397. package/build/js/chunks/chunk-UHFABUTI.js +0 -1
  398. package/build/js/chunks/chunk-UMHCVFPN.js +0 -2
  399. package/build/js/chunks/chunk-UUD3OXOZ.js +0 -1
  400. package/build/js/chunks/chunk-VBRTZG3W.js +0 -1
  401. package/build/js/chunks/chunk-VQ7LLVHQ.js +0 -1
  402. package/build/js/chunks/chunk-WNFUUIF3.js +0 -1
  403. package/build/js/chunks/chunk-XVVC3E6G.js +0 -35
  404. package/build/js/private/AsyncImageConverterBase.js +0 -1
  405. package/build/js/private/AsyncImageConverterMainThread.js +0 -1
  406. package/build/js/worker/AsyncImageConverterForwarder.js +0 -1
  407. package/build/js/worker/AsyncImageConverterWorker.js +0 -1
  408. /package/build/js/{assets/index.d.js → chunks/chunk-ATTDETQP.js} +0 -0
  409. /package/build/js/chunks/{chunk-5RW5274G.js → chunk-BUKZPAC5.js} +0 -0
  410. /package/build/js/chunks/{chunk-GZMB3TRK.js → chunk-GHDJPETZ.js} +0 -0
@@ -1 +1 @@
1
- export{a as RoundedCheckSvgIcon}from'../../../chunks/chunk-T4QDTXZN.js';
1
+ export{a as RoundedCheckSvgIcon}from'../../../chunks/chunk-4GKVQAVF.js';
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`<style>${e.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M8 8L16 16M16 8L8 16" stroke="${this.fill}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="12" cy="12" r="9" stroke="${this.fill}" stroke-width="2"/></svg>`}};e.tag="scandit-rounded-cross-icon";var t=e;t.register();export{t as RoundedCrossSvgIcon};
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`<style>${e.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M8 8L16 16M16 8L8 16" stroke="${this.fill}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="12" cy="12" r="9" stroke="${this.fill}" stroke-width="2"/></svg>`}};e.tag="scandit-rounded-cross-icon";var t=e;t.register();export{t as RoundedCrossSvgIcon};
@@ -1 +1 @@
1
- export{a as RoundedExclamationMarkSvgIcon}from'../../../chunks/chunk-IU22MD7N.js';
1
+ export{a as RoundedExclamationMarkSvgIcon}from'../../../chunks/chunk-F2IJCZAS.js';
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$2}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$4}from'../../../chunks/chunk-LSZZVJ6B.js';import {a as a$3}from'../../../chunks/chunk-XR65N6EG.js';var c="play",p="pause",b=a`<svg viewBox="0 0 100 100"><defs><mask id="${c}"><rect width="100" height="100" fill="white"/><path d="M40 59.4416V40.5584C40 39.8297 40.7543 39.3457 41.4167 39.6493L62.0166 49.0909C62.7944 49.4474 62.7944 50.5526 62.0166 50.9091L41.4167 60.3507C40.7543 60.6543 40 60.1703 40 59.4416Z" fill="black"/></mask><mask id="${p}"><rect width="100" height="100" fill="white"/><rect x="40" y="38" width="8" height="24" rx="2" fill="black"/><rect x="52" y="38" width="8" height="24" rx="2" fill="black"/></mask></defs><g class=""><circle id="main-circle" class="center" cx="50" cy="50" r="40" fill="white" mask="url(#${c})"/><circle class="border" cx="50" cy="50" r="48" fill="none" stroke-width="3" stroke="white"/></g></svg>`;function f(){return a$4`:host{--button-width:0px;display:inline-block;touch-action:manipulation}:host([hidden]){display:none}button{background:none;border:none;border-radius:100%;line-height:0;margin:0;padding:0;touch-action:manipulation}button.pulse{animation:pulsate 2s infinite;animation-delay:.3s;border-radius:100%;box-shadow:0 0 0 0 #ffffff80}svg{position:relative;width:100%}@keyframes pulsate{0%{transform:scale(1)}5%{box-shadow:0 0 0 0 #ffffff80;transform:scale(.9)}20%{transform:scale(1)}to{box-shadow:0 0 0 calc(var(--button-width)/2) #fff0}}`}function g(){return a$4`.rotating .border{stroke-dasharray:302 301;animation-direction:normal;animation-duration:4s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:rotating-stroke;animation-timing-function:linear;transform-origin:center}@keyframes rotating-stroke{0%{stroke-dasharray:302 301;transform:rotate(0)}50%{stroke-dasharray:1 301}51%{stroke-dasharray:0 291 10}to{stroke-dasharray:0 1 301;transform:rotate(-2turn)}}`}var d={default:"default",play:"play",pause:"pause"},i=class i extends a$1{constructor(){super();this._mainSVGCircle=null;this.shadowRoot||this.attachShadow({mode:"open"});}static get observedAttributes(){return ["variant","pulse","rotating"]}set variant(t){this.checkVariant(t)&&this.setAttribute("variant",t);}get variant(){var t;return (t=this.getAttribute("variant"))!=null?t:"default"}set pulse(t){t?this.setAttribute("pulse",""):this.removeAttribute("pulse");}get pulse(){return this.hasAttribute("pulse")}set rotating(t){t?this.setAttribute("rotating",""):this.removeAttribute("rotating");}get rotating(){return this.hasAttribute("rotating")}static register(){a$2({[i.tag]:i});}static create(){return document.createElement(i.tag)}attributeChangedCallback(t){var e,n,s;if(t==="variant"){if(!this.checkVariant(this.getAttribute("variant"))){this.variant="default";return}this._button&&(this.refreshButtonWidth(),this._button.classList.add(this.variant),(e=this._mainSVGCircle)==null||e.setAttribute("mask",`url(#${this.variant})`));}t==="pulse"&&(this.refreshButtonWidth(),(n=this._button)==null||n.classList.toggle("pulse",this.pulse)),t==="rotating"&&((s=this._button)==null||s.classList.toggle("rotating",this.rotating));}checkVariant(t){return this.isValidState(t)?true:(a$3.warn(`Invalid variant: "${t}". Must be one of ${Object.values(d).toString()}`),false)}refreshButtonWidth(){var e;let{width:t}=this.getBoundingClientRect();(e=this._button)==null||e.style.setProperty("--button-width",`${t}px`);}connectedCallback(){var t;this.hasAttribute("variant")||(this.variant="default"),this._button||(this._button=document.createElement("button"),this._button.innerHTML=b,this._button.classList.add(this.variant),this._button.classList.toggle("pulse",this.pulse),this._button.classList.toggle("rotating",this.rotating),this.shadowRoot.append(this._button),this.appendStyle(),this._mainSVGCircle=this._button.querySelector("#main-circle"),(t=this._mainSVGCircle)==null||t.setAttribute("mask",`url(#${this.variant})`),this.refreshButtonWidth());}isValidState(t){return t==null?false:Object.values(d).includes(t)}appendStyle(){var t;this.shadowRoot.append(f().cloneNode(true)),(t=this.shadowRoot.querySelector("svg"))==null||t.prepend(g().cloneNode(true));}};i.tag="scandit-shutter-button";var r=i;r.register();export{r as ShutterButton,d as VARIANTS};
1
+ import {a as a$2}from'../../../chunks/chunk-3A4KLILV.js';import {a}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$4}from'../../../chunks/chunk-LSZZVJ6B.js';import {a as a$3}from'../../../chunks/chunk-XR65N6EG.js';var c="play",p="pause",b=a`<svg viewBox="0 0 100 100"><defs><mask id="${c}"><rect width="100" height="100" fill="white"/><path d="M40 59.4416V40.5584C40 39.8297 40.7543 39.3457 41.4167 39.6493L62.0166 49.0909C62.7944 49.4474 62.7944 50.5526 62.0166 50.9091L41.4167 60.3507C40.7543 60.6543 40 60.1703 40 59.4416Z" fill="black"/></mask><mask id="${p}"><rect width="100" height="100" fill="white"/><rect x="40" y="38" width="8" height="24" rx="2" fill="black"/><rect x="52" y="38" width="8" height="24" rx="2" fill="black"/></mask></defs><g class=""><circle id="main-circle" class="center" cx="50" cy="50" r="40" fill="white" mask="url(#${c})"/><circle class="border" cx="50" cy="50" r="48" fill="none" stroke-width="3" stroke="white"/></g></svg>`;function f(){return a$4`:host{--button-width:0px;display:inline-block;touch-action:manipulation}:host([hidden]){display:none}button{background:none;border:none;border-radius:100%;line-height:0;margin:0;padding:0;touch-action:manipulation}button.pulse{animation:pulsate 2s infinite;animation-delay:.3s;border-radius:100%;box-shadow:0 0 0 0 #ffffff80}svg{position:relative;width:100%}@keyframes pulsate{0%{transform:scale(1)}5%{box-shadow:0 0 0 0 #ffffff80;transform:scale(.9)}20%{transform:scale(1)}to{box-shadow:0 0 0 calc(var(--button-width)/2) #fff0}}`}function g(){return a$4`.rotating .border{stroke-dasharray:302 301;animation-direction:normal;animation-duration:4s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:rotating-stroke;animation-timing-function:linear;transform-origin:center}@keyframes rotating-stroke{0%{stroke-dasharray:302 301;transform:rotate(0)}50%{stroke-dasharray:1 301}51%{stroke-dasharray:0 291 10}to{stroke-dasharray:0 1 301;transform:rotate(-2turn)}}`}var d={default:"default",play:"play",pause:"pause"},i=class i extends a$1{constructor(){super();this._mainSVGCircle=null;this.shadowRoot||this.attachShadow({mode:"open"});}static get observedAttributes(){return ["variant","pulse","rotating"]}set variant(t){this.checkVariant(t)&&this.setAttribute("variant",t);}get variant(){var t;return (t=this.getAttribute("variant"))!=null?t:"default"}set pulse(t){t?this.setAttribute("pulse",""):this.removeAttribute("pulse");}get pulse(){return this.hasAttribute("pulse")}set rotating(t){t?this.setAttribute("rotating",""):this.removeAttribute("rotating");}get rotating(){return this.hasAttribute("rotating")}static register(){a$2({[i.tag]:i});}static create(){return document.createElement(i.tag)}attributeChangedCallback(t){var e,n,s;if(t==="variant"){if(!this.checkVariant(this.getAttribute("variant"))){this.variant="default";return}this._button&&(this.refreshButtonWidth(),this._button.classList.add(this.variant),(e=this._mainSVGCircle)==null||e.setAttribute("mask",`url(#${this.variant})`));}t==="pulse"&&(this.refreshButtonWidth(),(n=this._button)==null||n.classList.toggle("pulse",this.pulse)),t==="rotating"&&((s=this._button)==null||s.classList.toggle("rotating",this.rotating));}checkVariant(t){return this.isValidState(t)?true:(a$3.warn(`Invalid variant: "${t}". Must be one of ${Object.values(d).toString()}`),false)}refreshButtonWidth(){var e;let{width:t}=this.getBoundingClientRect();(e=this._button)==null||e.style.setProperty("--button-width",`${t}px`);}connectedCallback(){var t;this.hasAttribute("variant")||(this.variant="default"),this._button||(this._button=document.createElement("button"),this._button.innerHTML=b,this._button.classList.add(this.variant),this._button.classList.toggle("pulse",this.pulse),this._button.classList.toggle("rotating",this.rotating),this.shadowRoot.append(this._button),this.appendStyle(),this._mainSVGCircle=this._button.querySelector("#main-circle"),(t=this._mainSVGCircle)==null||t.setAttribute("mask",`url(#${this.variant})`),this.refreshButtonWidth());}isValidState(t){return t==null?false:Object.values(d).includes(t)}appendStyle(){var t;this.shadowRoot.append(f().cloneNode(true)),(t=this.shadowRoot.querySelector("svg"))==null||t.prepend(g().cloneNode(true));}};i.tag="scandit-shutter-button";var r=i;r.register();export{r as ShutterButton,d as VARIANTS};
@@ -0,0 +1,17 @@
1
+ /// <reference types="emscripten" />
2
+ import { SvgIcon } from './SvgIcon.js';
3
+ import '../../utils/ScanditHTMLElement.js';
4
+
5
+ declare class SlashSvgIcon extends SvgIcon {
6
+ static tag: "scandit-slash-icon";
7
+ static create(): SlashSvgIcon;
8
+ static register(): void;
9
+ protected render(): string;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ [SlashSvgIcon.tag]: SlashSvgIcon;
14
+ }
15
+ }
16
+
17
+ export { SlashSvgIcon };
@@ -0,0 +1 @@
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><mask id="mask0_6868_2101" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24"><rect width="24" height="24" fill="#D9D9D9"/></mask><g mask="url(#mask0_6868_2101)"><path d="M18.7 18.7C18.8833 18.5167 18.975 18.2833 18.975 18C18.975 17.7167 18.8833 17.4833 18.7 17.3L6.69998 5.3C6.51664 5.1 6.28747 5 6.01248 5C5.73748 5 5.49998 5.1 5.29998 5.3C5.11664 5.48333 5.02498 5.71667 5.02498 6C5.02498 6.28333 5.11664 6.51667 5.29998 6.7L17.3 18.7C17.4833 18.8833 17.7166 18.975 18 18.975C18.2833 18.975 18.5166 18.8833 18.7 18.7Z" fill="${this.fill}"/></g></svg>`}};t.tag="scandit-slash-icon";var e=t;e.register();export{e as SlashSvgIcon};
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M19.7201 10.2996L16.2384 13.6936L17.0606 18.4872C17.0964 18.6968 17.0103 18.9087 16.8382 19.0339C16.7409 19.1049 16.6252 19.1406 16.5095 19.1406C16.4206 19.1406 16.3312 19.1194 16.2496 19.0763L11.9445 16.8131L7.63996 19.0758C7.45215 19.1753 7.22354 19.1591 7.05138 19.0333C6.87922 18.9081 6.79314 18.6963 6.82891 18.4866L7.65114 13.693L4.16883 10.2996C4.0168 10.1509 3.96146 9.92844 4.02742 9.72666C4.09337 9.52488 4.26833 9.37675 4.47905 9.34601L9.29112 8.64731L11.4431 4.28633C11.6315 3.90456 12.2575 3.90456 12.4459 4.28633L14.5979 8.64731L19.4099 9.34601C19.6207 9.37675 19.7956 9.52432 19.8616 9.72666C19.9275 9.929 19.8722 10.1504 19.7201 10.2996Z" fill="${this.fill}"/></svg>`}};t.tag="scandit-star-filled-icon";var e=t;e.register();export{e as StarFilledSvgIcon};
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M19.7201 10.2996L16.2384 13.6936L17.0606 18.4872C17.0964 18.6968 17.0103 18.9087 16.8382 19.0339C16.7409 19.1049 16.6252 19.1406 16.5095 19.1406C16.4206 19.1406 16.3312 19.1194 16.2496 19.0763L11.9445 16.8131L7.63996 19.0758C7.45215 19.1753 7.22354 19.1591 7.05138 19.0333C6.87922 18.9081 6.79314 18.6963 6.82891 18.4866L7.65114 13.693L4.16883 10.2996C4.0168 10.1509 3.96146 9.92844 4.02742 9.72666C4.09337 9.52488 4.26833 9.37675 4.47905 9.34601L9.29112 8.64731L11.4431 4.28633C11.6315 3.90456 12.2575 3.90456 12.4459 4.28633L14.5979 8.64731L19.4099 9.34601C19.6207 9.37675 19.7956 9.52432 19.8616 9.72666C19.9275 9.929 19.8722 10.1504 19.7201 10.2996Z" fill="${this.fill}"/></svg>`}};t.tag="scandit-star-filled-icon";var e=t;e.register();export{e as StarFilledSvgIcon};
@@ -1,2 +1,2 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_3285_9429" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="4" y="4" width="16" height="16"><path d="M19.7201 10.2996L16.2384 13.6936L17.0606 18.4872C17.0964 18.6968 17.0103 18.9087 16.8382 19.0339C16.7409 19.1049 16.6252 19.1406 16.5095 19.1406C16.4206 19.1406 16.3312 19.1194 16.2496 19.0763L11.9445 16.8131L7.63996 19.0758C7.45215 19.1753 7.22354 19.1591 7.05138 19.0333C6.87922 18.9081 6.79314 18.6963 6.82891 18.4866L7.65114 13.693L4.16883 10.2996C4.0168 10.1509 3.96146 9.92844 4.02742 9.72666C4.09337 9.52488 4.26833 9.37675 4.47905 9.34601L9.29112 8.64731L11.4431 4.28633C11.6315 3.90456 12.2575 3.90456 12.4459 4.28633L14.5979 8.64731L19.4099 9.34601C19.6207 9.37675 19.7956 9.52432 19.8616 9.72666C19.9275 9.929 19.8722 10.1504 19.7201 10.2996Z" fill="white"/></mask><g mask="url(#mask0_3285_9429)"><rect x="1" y="1" width="11" height="22" fill="${this.fill}"/></g></svg>`}};t.tag="scandit-half-star-icon";var s=t;
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_3285_9429" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="4" y="4" width="16" height="16"><path d="M19.7201 10.2996L16.2384 13.6936L17.0606 18.4872C17.0964 18.6968 17.0103 18.9087 16.8382 19.0339C16.7409 19.1049 16.6252 19.1406 16.5095 19.1406C16.4206 19.1406 16.3312 19.1194 16.2496 19.0763L11.9445 16.8131L7.63996 19.0758C7.45215 19.1753 7.22354 19.1591 7.05138 19.0333C6.87922 18.9081 6.79314 18.6963 6.82891 18.4866L7.65114 13.693L4.16883 10.2996C4.0168 10.1509 3.96146 9.92844 4.02742 9.72666C4.09337 9.52488 4.26833 9.37675 4.47905 9.34601L9.29112 8.64731L11.4431 4.28633C11.6315 3.90456 12.2575 3.90456 12.4459 4.28633L14.5979 8.64731L19.4099 9.34601C19.6207 9.37675 19.7956 9.52432 19.8616 9.72666C19.9275 9.929 19.8722 10.1504 19.7201 10.2996Z" fill="white"/></mask><g mask="url(#mask0_3285_9429)"><rect x="1" y="1" width="11" height="22" fill="${this.fill}"/></g></svg>`}};t.tag="scandit-half-star-icon";var s=t;
2
2
  export{s as StarHalfFilledSvgIcon};
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M19.7201 10.2996L16.2384 13.6936L17.0606 18.4872C17.0964 18.6968 17.0103 18.9087 16.8382 19.0339C16.7409 19.1049 16.6252 19.1406 16.5095 19.1406C16.4206 19.1406 16.3312 19.1194 16.2496 19.0763L11.9445 16.8131L7.63996 19.0758C7.45215 19.1753 7.22354 19.1591 7.05138 19.0333C6.87922 18.9081 6.79314 18.6963 6.82891 18.4866L7.65114 13.693L4.16883 10.2996C4.0168 10.1509 3.96146 9.92844 4.02742 9.72666C4.09337 9.52488 4.26833 9.37675 4.47905 9.34601L9.29112 8.64731L11.4431 4.28633C11.6315 3.90456 12.2575 3.90456 12.4459 4.28633L14.5979 8.64731L19.4099 9.34601C19.6207 9.37675 19.7956 9.52432 19.8616 9.72666C19.9275 9.929 19.8722 10.1504 19.7201 10.2996Z" stroke="${this.fill}"/></svg>`}};t.tag="scandit-star-icon";var e=t;e.register();export{e as StarOutlinedSvgIcon};
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M19.7201 10.2996L16.2384 13.6936L17.0606 18.4872C17.0964 18.6968 17.0103 18.9087 16.8382 19.0339C16.7409 19.1049 16.6252 19.1406 16.5095 19.1406C16.4206 19.1406 16.3312 19.1194 16.2496 19.0763L11.9445 16.8131L7.63996 19.0758C7.45215 19.1753 7.22354 19.1591 7.05138 19.0333C6.87922 18.9081 6.79314 18.6963 6.82891 18.4866L7.65114 13.693L4.16883 10.2996C4.0168 10.1509 3.96146 9.92844 4.02742 9.72666C4.09337 9.52488 4.26833 9.37675 4.47905 9.34601L9.29112 8.64731L11.4431 4.28633C11.6315 3.90456 12.2575 3.90456 12.4459 4.28633L14.5979 8.64731L19.4099 9.34601C19.6207 9.37675 19.7956 9.52432 19.8616 9.72666C19.9275 9.929 19.8722 10.1504 19.7201 10.2996Z" stroke="${this.fill}"/></svg>`}};t.tag="scandit-star-icon";var e=t;e.register();export{e as StarOutlinedSvgIcon};
@@ -1 +1 @@
1
- export{a as SvgIcon}from'../../../chunks/chunk-UBDDFAOX.js';
1
+ export{a as SvgIcon}from'../../../chunks/chunk-5JAPQHXF.js';
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`<style>${e.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.81609 3.75357L3.5 3.49997C3.00001 3.49997 3.00001 3.51193 3.00002 4.098L3.00002 4.09802L3 10.2442L3 12.8051L3.52512 13.4124C3.60697 13.7646 4.71865 18.1843 4.91217 18.5062L5.9129 19.5037L7.01724 20.5616C7.31194 20.8444 7.70452 21 8.12158 21H16.0212C16.0685 21 16.1149 20.994 16.1586 20.9825C16.2326 20.994 16.3091 21 16.3856 21H17.5415C17.9128 21 18.2127 20.7878 18.4911 20.5H19.25C19.7133 20.4974 20.1569 20.3122 20.4845 19.9845C20.8122 19.6569 20.9974 19.2133 21 18.75V4.75C20.9974 4.28668 20.8122 3.84309 20.4845 3.51546C20.1569 3.18784 19.7133 3.00263 19.25 3H5.25C4.78668 3.00263 4.34308 3.18784 4.01546 3.51546C3.94162 3.58931 3.87501 3.66904 3.81609 3.75357ZM5.00382 4.70645L7.9482 7.06865L13.2981 7.92252C13.8833 8.01629 14.4222 8.30108 14.8158 8.72553L17.5306 11.6512C17.8742 12.0213 18.0414 12.5161 17.9898 13.0084C17.9383 13.5012 17.6712 13.954 17.2578 14.2508C16.5262 14.777 15.4849 14.7071 14.8361 14.0857L13.9499 13.2368L14.4024 14.7535L18.5229 18.9513C18.5363 18.9677 18.5495 18.9839 18.5624 19H19.25C19.3163 19 19.3799 18.9737 19.4268 18.9268C19.4737 18.8799 19.5 18.8163 19.5 18.75V4.75C19.5 4.6837 19.4737 4.62011 19.4268 4.57322C19.3799 4.52634 19.3163 4.5 19.25 4.5H14.25V6C14.2474 6.46332 14 7 13.5 7C13.3596 7 13.1375 6.99979 12.8804 6.99955C12.2217 6.99894 11.3332 6.99811 11 7C10.5 7 10.2523 6.5 10.2523 6V4.5H5.25C5.18369 4.5 5.12011 4.52634 5.07322 4.57322C5.03673 4.60971 5.01269 4.65632 5.00382 4.70645ZM17.5415 20.0025C17.7581 20.0025 17.8461 19.8538 17.8737 19.79C17.9008 19.7262 17.9487 19.5616 17.7956 19.4149L13.5704 15.3675C13.5079 15.3077 13.4621 15.2333 13.4376 15.152L12.8565 13.2029C12.7357 12.7964 12.9096 12.3784 13.2903 12.164C13.6719 11.949 14.1374 12.0064 14.4498 12.3051L15.5723 13.3809C15.8572 13.6528 16.3133 13.6837 16.633 13.4533C16.8167 13.3216 16.9308 13.1281 16.9537 12.9091C16.9766 12.6902 16.9053 12.4797 16.7527 12.3151L14.0379 9.38938C13.8016 9.13501 13.4782 8.96343 13.1268 8.90757L7.60508 8.02577C7.49313 8.00781 7.39004 7.95544 7.31246 7.87664L3.83908 5.12252L3.79847 12.164V12.1814C4.26342 12.546 4.58468 13.0578 4.70287 13.6223L5.47398 17.3172C5.53438 17.6074 5.68172 17.8718 5.90093 18.0818L7.75347 19.8563C7.85031 19.9491 7.98464 20.0025 8.12158 20.0025H10.5937H13.2903H16.0212H17.5415Z" fill="${this.fill}"/></svg>`}};e.tag="scandit-to-pick-icon";var t=e;t.register();export{t as ToPickSvgIcon};
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`<style>${e.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.81609 3.75357L3.5 3.49997C3.00001 3.49997 3.00001 3.51193 3.00002 4.098L3.00002 4.09802L3 10.2442L3 12.8051L3.52512 13.4124C3.60697 13.7646 4.71865 18.1843 4.91217 18.5062L5.9129 19.5037L7.01724 20.5616C7.31194 20.8444 7.70452 21 8.12158 21H16.0212C16.0685 21 16.1149 20.994 16.1586 20.9825C16.2326 20.994 16.3091 21 16.3856 21H17.5415C17.9128 21 18.2127 20.7878 18.4911 20.5H19.25C19.7133 20.4974 20.1569 20.3122 20.4845 19.9845C20.8122 19.6569 20.9974 19.2133 21 18.75V4.75C20.9974 4.28668 20.8122 3.84309 20.4845 3.51546C20.1569 3.18784 19.7133 3.00263 19.25 3H5.25C4.78668 3.00263 4.34308 3.18784 4.01546 3.51546C3.94162 3.58931 3.87501 3.66904 3.81609 3.75357ZM5.00382 4.70645L7.9482 7.06865L13.2981 7.92252C13.8833 8.01629 14.4222 8.30108 14.8158 8.72553L17.5306 11.6512C17.8742 12.0213 18.0414 12.5161 17.9898 13.0084C17.9383 13.5012 17.6712 13.954 17.2578 14.2508C16.5262 14.777 15.4849 14.7071 14.8361 14.0857L13.9499 13.2368L14.4024 14.7535L18.5229 18.9513C18.5363 18.9677 18.5495 18.9839 18.5624 19H19.25C19.3163 19 19.3799 18.9737 19.4268 18.9268C19.4737 18.8799 19.5 18.8163 19.5 18.75V4.75C19.5 4.6837 19.4737 4.62011 19.4268 4.57322C19.3799 4.52634 19.3163 4.5 19.25 4.5H14.25V6C14.2474 6.46332 14 7 13.5 7C13.3596 7 13.1375 6.99979 12.8804 6.99955C12.2217 6.99894 11.3332 6.99811 11 7C10.5 7 10.2523 6.5 10.2523 6V4.5H5.25C5.18369 4.5 5.12011 4.52634 5.07322 4.57322C5.03673 4.60971 5.01269 4.65632 5.00382 4.70645ZM17.5415 20.0025C17.7581 20.0025 17.8461 19.8538 17.8737 19.79C17.9008 19.7262 17.9487 19.5616 17.7956 19.4149L13.5704 15.3675C13.5079 15.3077 13.4621 15.2333 13.4376 15.152L12.8565 13.2029C12.7357 12.7964 12.9096 12.3784 13.2903 12.164C13.6719 11.949 14.1374 12.0064 14.4498 12.3051L15.5723 13.3809C15.8572 13.6528 16.3133 13.6837 16.633 13.4533C16.8167 13.3216 16.9308 13.1281 16.9537 12.9091C16.9766 12.6902 16.9053 12.4797 16.7527 12.3151L14.0379 9.38938C13.8016 9.13501 13.4782 8.96343 13.1268 8.90757L7.60508 8.02577C7.49313 8.00781 7.39004 7.95544 7.31246 7.87664L3.83908 5.12252L3.79847 12.164V12.1814C4.26342 12.546 4.58468 13.0578 4.70287 13.6223L5.47398 17.3172C5.53438 17.6074 5.68172 17.8718 5.90093 18.0818L7.75347 19.8563C7.85031 19.9491 7.98464 20.0025 8.12158 20.0025H10.5937H13.2903H16.0212H17.5415Z" fill="${this.fill}"/></svg>`}};e.tag="scandit-to-pick-icon";var t=e;t.register();export{t as ToPickSvgIcon};
@@ -1,31 +1,40 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { ScanditIcon } from '../../../ScanditIcon.js';
3
3
  import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
4
- import { I as GenericHint } from '../../../DataCaptureContext-8EuyQSL7.js';
5
- import '../../../Common.js';
4
+ import { L as GenericHint } from '../../../DataCaptureContext-fzPdCXUX.js';
5
+ import '../../../commons/Color.js';
6
6
  import '../../Serializable.js';
7
- import '../../../Camera-CZ0Hl7v2.js';
7
+ import '../../../Camera-DhGjpcjv.js';
8
+ import '../../../commons/Rect.js';
9
+ import '../../../commons/Point.js';
10
+ import '../../../commons/Size.js';
8
11
  import '../../privateAccess.js';
9
12
  import '../../../DataCaptureContextSettings.js';
13
+ import '../../../commons/JSONType.js';
14
+ import '../../../commons/MarginsWithUnit.js';
15
+ import '../../../commons/NumberWithUnit.js';
16
+ import '../../../commons/MeasureUnit.js';
17
+ import '../../../commons/PointWithUnit.js';
18
+ import '../../../commons/Anchor.js';
19
+ import '../../../commons/Orientation.js';
20
+ import '../../../commons/Quadrilateral.js';
10
21
  import '../../../DataCaptureViewPlusRelated.js';
11
22
  import '../../../NotificationPresenter/NotificationPresenter.js';
12
23
  import '../../../NotificationPresenter/NotificationConfiguration.js';
13
24
  import '../../../NotificationPresenter/NotificationStyle.js';
14
- import '../../../ViewControls.js';
15
25
  import '../../CustomLocationsView.js';
16
26
  import '../../View.js';
17
27
  import '../../AnchorPositions.js';
18
28
  import '../../nativeHandle.js';
19
29
  import '../../../license/OpenSourceSoftwareLicenseInfo.js';
20
30
  import '../../../logger.js';
21
- import '../../FrameReaders/WatermarkStack.js';
22
- import '../../../tsHelper.js';
23
- import '../../CameraAccess.js';
31
+ import '../../FrameReaders/ColorType.js';
24
32
  import '../../../LoadingStatus.js';
25
- import '../../../worker/OverrideState.js';
26
33
  import '../../djinni-types/index.js';
27
34
  import '../../HtmlElementState.js';
35
+ import '../../../commons/SizeWithUnit.js';
28
36
  import '../../utils/AsyncStateMachine.js';
37
+ import '../../../tsHelper.js';
29
38
 
30
39
  declare enum ToastEvents {
31
40
  DidShow = "didshow",
@@ -1 +1 @@
1
- export{b as Toast,a as ToastEvents}from'../../../chunks/chunk-WAJ5PI3A.js';
1
+ export{b as Toast,a as ToastEvents}from'../../../chunks/chunk-XINFYUZW.js';
@@ -0,0 +1,17 @@
1
+ /// <reference types="emscripten" />
2
+ import { SvgIcon } from './SvgIcon.js';
3
+ import '../../utils/ScanditHTMLElement.js';
4
+
5
+ declare class TorchOffSvgIcon extends SvgIcon {
6
+ static tag: "scandit-torch-off-icon";
7
+ static create(): TorchOffSvgIcon;
8
+ static register(): void;
9
+ protected render(): string;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ [TorchOffSvgIcon.tag]: TorchOffSvgIcon;
14
+ }
15
+ }
16
+
17
+ export { TorchOffSvgIcon };
@@ -0,0 +1 @@
1
+ export{a as TorchOffSvgIcon}from'../../../chunks/chunk-LORGLY2X.js';
@@ -0,0 +1,17 @@
1
+ /// <reference types="emscripten" />
2
+ import { SvgIcon } from './SvgIcon.js';
3
+ import '../../utils/ScanditHTMLElement.js';
4
+
5
+ declare class TorchOnSvgIcon extends SvgIcon {
6
+ static tag: "scandit-torch-on-icon";
7
+ static create(): TorchOnSvgIcon;
8
+ static register(): void;
9
+ protected render(): string;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ [TorchOnSvgIcon.tag]: TorchOnSvgIcon;
14
+ }
15
+ }
16
+
17
+ export { TorchOnSvgIcon };
@@ -0,0 +1 @@
1
+ export{a as TorchOnSvgIcon}from'../../../chunks/chunk-O7QIRKOP.js';
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(32,32)}" viewBox="0 0 32 32" fill="none"><path d="M9.29751 21C8.6481 21 8.32681 20.6377 8.32681 20.1182C8.32681 19.7285 8.4772 19.4688 8.89419 19.0859L11.8336 16.2764C13.0504 15.1074 13.3649 14.6289 13.3649 13.918C13.3649 13.1045 12.736 12.5234 11.8542 12.5234C11.0612 12.5234 10.5143 12.9199 10.1588 13.7129C9.92642 14.123 9.68716 14.3145 9.24282 14.3145C8.68911 14.3145 8.36099 13.9863 8.36099 13.4736C8.36099 13.3164 8.38833 13.1729 8.43618 13.0293C8.77114 11.9355 10.0084 10.917 11.8747 10.917C13.9665 10.917 15.3747 12.0928 15.3747 13.7881C15.3747 14.9912 14.7868 15.7432 13.1735 17.2676L11.0407 19.3184V19.3594H14.7594C15.2926 19.3594 15.6139 19.6807 15.6139 20.1797C15.6139 20.665 15.2926 21 14.7594 21H9.29751ZM18.1637 20.3164C17.7194 20.3164 17.3502 19.9814 17.3502 19.5234C17.3502 19.2158 17.4938 19.0244 17.7331 18.7852L19.4557 17.0488L17.7331 15.3057C17.5006 15.0732 17.3502 14.8818 17.3502 14.5674C17.3502 14.1162 17.7262 13.7744 18.1706 13.7744C18.5124 13.7744 18.6696 13.9043 18.9499 14.1846L20.6247 15.8457L22.2995 14.1846C22.5797 13.9043 22.7438 13.7744 23.0788 13.7744C23.5231 13.7744 23.8991 14.1162 23.8991 14.5674C23.8991 14.875 23.7487 15.0732 23.5163 15.3057L21.7868 17.0488L23.5163 18.7852C23.7487 19.0176 23.8991 19.2158 23.8991 19.5234C23.8991 19.9746 23.5231 20.3164 23.0788 20.3164C22.7438 20.3164 22.5797 20.1865 22.2995 19.9062L20.6247 18.2451L18.943 19.9131C18.6627 20.1865 18.5055 20.3164 18.1637 20.3164Z" fill="${this.fill}"/></svg>`}};t.tag="scandit-twox-icon";var o=t;export{o as TwoxSvgIcon};
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`<style>${t.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(32,32)}" viewBox="0 0 32 32" fill="none"><path d="M9.29751 21C8.6481 21 8.32681 20.6377 8.32681 20.1182C8.32681 19.7285 8.4772 19.4688 8.89419 19.0859L11.8336 16.2764C13.0504 15.1074 13.3649 14.6289 13.3649 13.918C13.3649 13.1045 12.736 12.5234 11.8542 12.5234C11.0612 12.5234 10.5143 12.9199 10.1588 13.7129C9.92642 14.123 9.68716 14.3145 9.24282 14.3145C8.68911 14.3145 8.36099 13.9863 8.36099 13.4736C8.36099 13.3164 8.38833 13.1729 8.43618 13.0293C8.77114 11.9355 10.0084 10.917 11.8747 10.917C13.9665 10.917 15.3747 12.0928 15.3747 13.7881C15.3747 14.9912 14.7868 15.7432 13.1735 17.2676L11.0407 19.3184V19.3594H14.7594C15.2926 19.3594 15.6139 19.6807 15.6139 20.1797C15.6139 20.665 15.2926 21 14.7594 21H9.29751ZM18.1637 20.3164C17.7194 20.3164 17.3502 19.9814 17.3502 19.5234C17.3502 19.2158 17.4938 19.0244 17.7331 18.7852L19.4557 17.0488L17.7331 15.3057C17.5006 15.0732 17.3502 14.8818 17.3502 14.5674C17.3502 14.1162 17.7262 13.7744 18.1706 13.7744C18.5124 13.7744 18.6696 13.9043 18.9499 14.1846L20.6247 15.8457L22.2995 14.1846C22.5797 13.9043 22.7438 13.7744 23.0788 13.7744C23.5231 13.7744 23.8991 14.1162 23.8991 14.5674C23.8991 14.875 23.7487 15.0732 23.5163 15.3057L21.7868 17.0488L23.5163 18.7852C23.7487 19.0176 23.8991 19.2158 23.8991 19.5234C23.8991 19.9746 23.5231 20.3164 23.0788 20.3164C22.7438 20.3164 22.5797 20.1865 22.2995 19.9062L20.6247 18.2451L18.943 19.9131C18.6627 20.1865 18.5055 20.3164 18.1637 20.3164Z" fill="${this.fill}"/></svg>`}};t.tag="scandit-twox-icon";var o=t;export{o as TwoxSvgIcon};
@@ -1 +1 @@
1
- import {a}from'../../../chunks/chunk-UBDDFAOX.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`<style>${e.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M17.475 12C17.7487 12 18.0127 12.1008 18.2167 12.2833C18.3991 12.4872 18.5 12.7513 18.5 13.025C18.5 13.2986 18.3991 13.5627 18.2167 13.7666L16.7333 15.25L18.2167 16.7333C18.3991 16.9373 18.5 17.2014 18.5 17.475C18.5 17.7487 18.3991 18.0127 18.2167 18.2167C18.0127 18.3991 17.7487 18.5 17.475 18.5C17.2013 18.5 16.9373 18.3991 16.7333 18.2167L15.25 16.7333L13.7666 18.2167C13.5626 18.3991 13.2986 18.5 13.0249 18.5C12.7513 18.5 12.4872 18.3991 12.2833 18.2167C12.1008 18.0127 12 17.7487 12 17.475C12 17.2014 12.1008 16.9373 12.2833 16.7333L13.7666 15.25L12.2833 13.7666C12.1841 13.559 12.1518 13.3258 12.1907 13.099C12.2296 12.8723 12.3378 12.6632 12.5005 12.5005C12.6632 12.3378 12.8723 12.2296 13.099 12.1907C13.3258 12.1518 13.559 12.1841 13.7666 12.2833L15.25 13.7666L16.7333 12.2833C16.9373 12.1008 17.2013 12 17.475 12Z" fill="${this.fill}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.56522 19.75H4C3.53668 19.7474 3.09309 19.5622 2.76546 19.2345C2.43784 18.9069 2.25262 18.4633 2.25 18V4C2.25262 3.53668 2.43784 3.09309 2.76546 2.76546C3.09309 2.43784 3.53668 2.25262 4 2.25H18C18.4633 2.25262 18.9069 2.43784 19.2345 2.76546C19.5622 3.09309 19.7474 3.53668 19.75 4V9.56522C21.4254 10.8932 22.5 12.9461 22.5 15.25C22.5 19.2541 19.2541 22.5 15.25 22.5C12.9461 22.5 10.8932 21.4254 9.56522 19.75ZM8.64786 18.25H4C3.9337 18.25 3.87011 18.2237 3.82322 18.1768C3.77634 18.1299 3.75 18.0663 3.75 18V4C3.75 3.9337 3.77634 3.87011 3.82322 3.82322C3.87011 3.77634 3.9337 3.75 4 3.75H9V5C9.00262 5.46332 9.5 6 10 6C10.1514 6 10.352 5.99976 10.571 5.9995C11.0751 5.99889 11.677 5.99817 12 6C12.5 6 12.9977 5.5 12.9977 5V3.75H18C18.0663 3.75 18.1299 3.77634 18.1768 3.82322C18.2237 3.87011 18.25 3.9337 18.25 4C18.25 6.14366 18.2508 7.58699 18.2518 8.64867C17.3371 8.23208 16.3206 8 15.25 8C11.2459 8 8 11.2459 8 15.25C8 16.32 8.23178 17.3358 8.64786 18.25ZM21.25 15.25C21.25 18.5637 18.5637 21.25 15.25 21.25C11.9363 21.25 9.25 18.5637 9.25 15.25C9.25 11.9363 11.9363 9.25 15.25 9.25C18.5637 9.25 21.25 11.9363 21.25 15.25Z" fill="${this.fill}"/></svg>`}};e.tag="scandit-wrong-item-icon";var t=e;t.register();export{t as WrongItemSvgIcon};
1
+ import {a}from'../../../chunks/chunk-5JAPQHXF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$2}from'../../../chunks/chunk-UWBNF47P.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`<style>${e.tag}{display:flex}</style><svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none"><path d="M17.475 12C17.7487 12 18.0127 12.1008 18.2167 12.2833C18.3991 12.4872 18.5 12.7513 18.5 13.025C18.5 13.2986 18.3991 13.5627 18.2167 13.7666L16.7333 15.25L18.2167 16.7333C18.3991 16.9373 18.5 17.2014 18.5 17.475C18.5 17.7487 18.3991 18.0127 18.2167 18.2167C18.0127 18.3991 17.7487 18.5 17.475 18.5C17.2013 18.5 16.9373 18.3991 16.7333 18.2167L15.25 16.7333L13.7666 18.2167C13.5626 18.3991 13.2986 18.5 13.0249 18.5C12.7513 18.5 12.4872 18.3991 12.2833 18.2167C12.1008 18.0127 12 17.7487 12 17.475C12 17.2014 12.1008 16.9373 12.2833 16.7333L13.7666 15.25L12.2833 13.7666C12.1841 13.559 12.1518 13.3258 12.1907 13.099C12.2296 12.8723 12.3378 12.6632 12.5005 12.5005C12.6632 12.3378 12.8723 12.2296 13.099 12.1907C13.3258 12.1518 13.559 12.1841 13.7666 12.2833L15.25 13.7666L16.7333 12.2833C16.9373 12.1008 17.2013 12 17.475 12Z" fill="${this.fill}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.56522 19.75H4C3.53668 19.7474 3.09309 19.5622 2.76546 19.2345C2.43784 18.9069 2.25262 18.4633 2.25 18V4C2.25262 3.53668 2.43784 3.09309 2.76546 2.76546C3.09309 2.43784 3.53668 2.25262 4 2.25H18C18.4633 2.25262 18.9069 2.43784 19.2345 2.76546C19.5622 3.09309 19.7474 3.53668 19.75 4V9.56522C21.4254 10.8932 22.5 12.9461 22.5 15.25C22.5 19.2541 19.2541 22.5 15.25 22.5C12.9461 22.5 10.8932 21.4254 9.56522 19.75ZM8.64786 18.25H4C3.9337 18.25 3.87011 18.2237 3.82322 18.1768C3.77634 18.1299 3.75 18.0663 3.75 18V4C3.75 3.9337 3.77634 3.87011 3.82322 3.82322C3.87011 3.77634 3.9337 3.75 4 3.75H9V5C9.00262 5.46332 9.5 6 10 6C10.1514 6 10.352 5.99976 10.571 5.9995C11.0751 5.99889 11.677 5.99817 12 6C12.5 6 12.9977 5.5 12.9977 5V3.75H18C18.0663 3.75 18.1299 3.77634 18.1768 3.82322C18.2237 3.87011 18.25 3.9337 18.25 4C18.25 6.14366 18.2508 7.58699 18.2518 8.64867C17.3371 8.23208 16.3206 8 15.25 8C11.2459 8 8 11.2459 8 15.25C8 16.32 8.23178 17.3358 8.64786 18.25ZM21.25 15.25C21.25 18.5637 18.5637 21.25 15.25 21.25C11.9363 21.25 9.25 18.5637 9.25 15.25C9.25 11.9363 11.9363 9.25 15.25 9.25C18.5637 9.25 21.25 11.9363 21.25 15.25Z" fill="${this.fill}"/></svg>`}};e.tag="scandit-wrong-item-icon";var t=e;t.register();export{t as WrongItemSvgIcon};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { Color } from '../../Common.js';
2
+ import { Color } from '../../commons/Color.js';
3
3
  import '../Serializable.js';
4
4
 
5
5
  declare const primaryTeal100: Color;
@@ -1 +1 @@
1
- export{x as SecondaryBlue10,v as SecondaryBlue100,w as SecondaryBlue60,g as SecondaryGreen100,k as SecondaryGreen20,j as SecondaryGreen40,i as SecondaryGreen60,h as SecondaryGreen80,l as SecondaryOrange100,p as SecondaryOrange20,o as SecondaryOrange40,n as SecondaryOrange60,m as SecondaryOrange80,q as SecondaryRed100,u as SecondaryRed20,t as SecondaryRed40,s as SecondaryRed60,r as SecondaryRed80,f as gray300,e as gray900,a as primaryTeal100,d as primaryTeal25,c as primaryTeal50,b as primaryTeal75}from'../../chunks/chunk-TB4UKDDI.js';
1
+ export{x as SecondaryBlue10,v as SecondaryBlue100,w as SecondaryBlue60,g as SecondaryGreen100,k as SecondaryGreen20,j as SecondaryGreen40,i as SecondaryGreen60,h as SecondaryGreen80,l as SecondaryOrange100,p as SecondaryOrange20,o as SecondaryOrange40,n as SecondaryOrange60,m as SecondaryOrange80,q as SecondaryRed100,u as SecondaryRed20,t as SecondaryRed40,s as SecondaryRed60,r as SecondaryRed80,f as gray300,e as gray900,a as primaryTeal100,d as primaryTeal25,c as primaryTeal50,b as primaryTeal75}from'../../chunks/chunk-SOCEWYYO.js';
@@ -0,0 +1,31 @@
1
+ /// <reference types="emscripten" />
2
+ /**
3
+ * Custom event types for button components
4
+ */
5
+ interface CameraFOVChangedEventDetail {
6
+ currentMode: "1.0x" | "0.5x";
7
+ }
8
+ declare class CameraFOVChangedEvent extends CustomEvent<CameraFOVChangedEventDetail> {
9
+ constructor(detail: CameraFOVChangedEventDetail);
10
+ }
11
+ interface CameraSwitchedEventDetail {
12
+ currentMode: "front" | "back";
13
+ }
14
+ declare class CameraSwitchedEvent extends CustomEvent<CameraSwitchedEventDetail> {
15
+ constructor(detail: CameraSwitchedEventDetail);
16
+ }
17
+ interface TorchToggledEventDetail {
18
+ currentState: "on" | "off";
19
+ }
20
+ declare class TorchToggledEvent extends CustomEvent<TorchToggledEventDetail> {
21
+ constructor(detail: TorchToggledEventDetail);
22
+ }
23
+ declare global {
24
+ interface WindowEventMap {
25
+ "camera-fov-changed": CameraFOVChangedEvent;
26
+ "camera-switched": CameraSwitchedEvent;
27
+ "torch-toggled": TorchToggledEvent;
28
+ }
29
+ }
30
+
31
+ export { CameraFOVChangedEvent, type CameraFOVChangedEventDetail, CameraSwitchedEvent, type CameraSwitchedEventDetail, TorchToggledEvent, type TorchToggledEventDetail };
@@ -0,0 +1 @@
1
+ export{a as CameraFOVChangedEvent,b as CameraSwitchedEvent,c as TorchToggledEvent}from'../../../chunks/chunk-74GO72VC.js';
@@ -0,0 +1,66 @@
1
+ /// <reference types="emscripten" />
2
+ import { GestureRecognizerListener } from '../../GestureRecognizer/GestureRecognizer.js';
3
+ import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
4
+ import '../../EventManager.js';
5
+ import '../../../commons/Point.js';
6
+ import '../../Serializable.js';
7
+
8
+ type CameraFOVMode = "0.5x" | "1.0x";
9
+ interface CameraFOVSwitchButtonCustomImages {
10
+ wide: {
11
+ idle: string | null;
12
+ pressed: string | null;
13
+ };
14
+ ultraWide: {
15
+ idle: string | null;
16
+ pressed: string | null;
17
+ };
18
+ }
19
+ declare class CameraFOVSwitchButton extends ScanditHTMLElement implements GestureRecognizerListener {
20
+ static readonly tag: "scandit-camera-fov-switch-button";
21
+ private _currentMode;
22
+ private _gestureRecognizer;
23
+ private _ariaLabel;
24
+ private _useCustomImages;
25
+ private get button();
26
+ private get wideIcon();
27
+ private get ultraWideIcon();
28
+ constructor();
29
+ static create(): CameraFOVSwitchButton;
30
+ static register(): void;
31
+ private static createStyleElement;
32
+ connectedCallback(): void;
33
+ private setupButtonWithSvgIcons;
34
+ disconnectedCallback(): void;
35
+ /**
36
+ * Set the current camera FOV mode
37
+ */
38
+ set mode(newMode: CameraFOVMode);
39
+ /**
40
+ * Get the current camera FOV mode
41
+ */
42
+ get mode(): CameraFOVMode;
43
+ get ariaLabel(): string;
44
+ set ariaLabel(label: string);
45
+ /**
46
+ * Set whether to use custom images instead of SVG icons
47
+ * this is used mainly for retro-compatibility with 7.x/6.x versions of the SDK
48
+ */
49
+ set useCustomImages(value: boolean);
50
+ /**
51
+ * Set custom image URLs as CSS variables
52
+ * @param customImages Object containing wide and ultraWide images with idle and pressed states
53
+ */
54
+ setCustomImages(customImages: CameraFOVSwitchButtonCustomImages): void;
55
+ private updateIconVisibility;
56
+ onTap(): void;
57
+ onPress(): void;
58
+ onRelease(): void;
59
+ }
60
+ declare global {
61
+ interface HTMLElementTagNameMap {
62
+ [CameraFOVSwitchButton.tag]: CameraFOVSwitchButton;
63
+ }
64
+ }
65
+
66
+ export { type CameraFOVMode, CameraFOVSwitchButton, type CameraFOVSwitchButtonCustomImages };
@@ -0,0 +1 @@
1
+ import {a as a$3}from'../../../chunks/chunk-TXVFFRVY.js';import {a as a$2}from'../../../chunks/chunk-D6JKW7G4.js';import {a as a$7}from'../../../chunks/chunk-74GO72VC.js';import {a as a$6}from'../../../chunks/chunk-4JH6EEAE.js';import {a as a$4}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$1}from'../../../chunks/chunk-UWBNF47P.js';import {a}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$5}from'../../../chunks/chunk-LSZZVJ6B.js';var i=class i extends a{constructor(){super();this._currentMode="1.0x";this._ariaLabel="Switch camera field of view";this._useCustomImages=false;let e=this.attachShadow({mode:"open"});e.innerHTML=a$1`<button type="button"><slot></slot></button>`,e.append(i.createStyleElement().cloneNode(true));}get button(){var e,t;return (t=(e=this.shadowRoot)==null?void 0:e.querySelector("button"))!=null?t:void 0}get wideIcon(){var e;return (e=this.querySelector(a$2.tag))!=null?e:void 0}get ultraWideIcon(){var e;return (e=this.querySelector(a$3.tag))!=null?e:void 0}static create(){return document.createElement(i.tag)}static register(){a$4({[i.tag]:i});}static createStyleElement(){return a$5`:host{display:inline-block;--button-size:32px;--camera-fov-wide-idle:none;--camera-fov-wide-pressed:none;--camera-fov-ultrawide-idle:none;--camera-fov-ultrawide-pressed:none}:host[hidden]{display:none}button{align-items:center;border:none;cursor:pointer;display:flex;height:var(--button-size);justify-content:center;margin:0;outline:none;padding:0;width:var(--button-size);-webkit-tap-highlight-color:transparent;background:#0000;background-position:50%;background-repeat:no-repeat;background-size:contain;transform-origin:center;transition:outline .2s ease-in-out,transform .1s ease-in-out}button[data-pressed=true]{transform:scale(.95)}button[data-pressed=false]{transform:scale(1)}:host button:focus-visible{outline:2px solid #06c;outline-offset:2px}:host([data-use-custom-images=true]) ::slotted(*){display:none!important}:host([data-use-custom-images=true]) button{background-image:var(--camera-fov-wide-idle)}:host([data-use-custom-images=true]) button[data-pressed=true]{background-image:var(--camera-fov-wide-pressed)}:host([data-use-custom-images=true][data-current-mode="0.5x"]) button{background-image:var(--camera-fov-ultrawide-idle)}:host([data-use-custom-images=true][data-current-mode="0.5x"]) button[data-pressed=true]{background-image:var(--camera-fov-ultrawide-pressed)}`}connectedCallback(){if(!this.button)return;this.setupButtonWithSvgIcons();let e=this.button;!this._gestureRecognizer&&e&&(this._gestureRecognizer=new a$6(e),this._gestureRecognizer.addListener(this)),this.setAttribute("aria-label",this._ariaLabel);}setupButtonWithSvgIcons(){if(this.button){if(a$2.register(),a$3.register(),!this.wideIcon){let e=a$2.create();e.style.display="flex",this.appendChild(e);}if(!this.ultraWideIcon){let e=a$3.create();e.style.display="none",this.appendChild(e);}}}disconnectedCallback(){this._gestureRecognizer&&(this._gestureRecognizer.removeAllListeners(),this._gestureRecognizer=void 0);}set mode(e){e!=="0.5x"&&e!=="1.0x"||(this._currentMode=e,this.setAttribute("data-current-mode",e),this.updateIconVisibility());}get mode(){return this._currentMode}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.setAttribute("aria-label",e);}set useCustomImages(e){this._useCustomImages=e,e?this.setAttribute("data-use-custom-images","true"):this.removeAttribute("data-use-custom-images");}setCustomImages(e){let t=this.style,p=e.wide.idle?`url(${JSON.stringify(e.wide.idle)})`:"none",m=e.wide.pressed?`url(${JSON.stringify(e.wide.pressed)})`:"none",g=e.ultraWide.idle?`url(${JSON.stringify(e.ultraWide.idle)})`:"none",b=e.ultraWide.pressed?`url(${JSON.stringify(e.ultraWide.pressed)})`:"none";t.setProperty("--camera-fov-wide-idle",p),t.setProperty("--camera-fov-wide-pressed",m),t.setProperty("--camera-fov-ultrawide-idle",g),t.setProperty("--camera-fov-ultrawide-pressed",b),this.useCustomImages=true;}updateIconVisibility(){let e=this.wideIcon,t=this.ultraWideIcon;!e||!t||(this._currentMode==="0.5x"?(e.style.display="none",t.style.display="flex"):(e.style.display="flex",t.style.display="none"));}onTap(){this.dispatchEvent(new a$7({currentMode:this._currentMode}));}onPress(){let e=this.button;e&&e.setAttribute("data-pressed","true");}onRelease(){let e=this.button;e&&e.setAttribute("data-pressed","false");}};i.tag="scandit-camera-fov-switch-button";var c=i;export{c as CameraFOVSwitchButton};
@@ -0,0 +1,59 @@
1
+ /// <reference types="emscripten" />
2
+ import { GestureRecognizerListener } from '../../GestureRecognizer/GestureRecognizer.js';
3
+ import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
4
+ import '../../EventManager.js';
5
+ import '../../../commons/Point.js';
6
+ import '../../Serializable.js';
7
+
8
+ type CameraSwitchMode = "front" | "back";
9
+ interface CameraSwitchButtonCustomImages {
10
+ idle: string | null;
11
+ pressed: string | null;
12
+ }
13
+ declare class CameraSwitchButton extends ScanditHTMLElement implements GestureRecognizerListener {
14
+ static readonly tag: "scandit-camera-switch-button";
15
+ private _currentMode;
16
+ private _gestureRecognizer;
17
+ private _ariaLabel;
18
+ private _useCustomImages;
19
+ private get button();
20
+ private get frontIcon();
21
+ private get backIcon();
22
+ constructor();
23
+ static create(): CameraSwitchButton;
24
+ static register(): void;
25
+ private static createStyleElement;
26
+ connectedCallback(): void;
27
+ private setupButtonWithSvgIcons;
28
+ disconnectedCallback(): void;
29
+ /**
30
+ * Set the current camera mode
31
+ */
32
+ set mode(newMode: CameraSwitchMode);
33
+ /**
34
+ * Get the current camera mode
35
+ */
36
+ get mode(): CameraSwitchMode;
37
+ get ariaLabel(): string;
38
+ set ariaLabel(label: string);
39
+ /**
40
+ * Set whether to use custom images instead of SVG icons
41
+ */
42
+ set useCustomImages(value: boolean);
43
+ /**
44
+ * Set custom image URLs as CSS variables
45
+ * @param customImages Object containing idle and pressed images
46
+ */
47
+ setCustomImages(customImages: CameraSwitchButtonCustomImages): void;
48
+ private updateIconVisibility;
49
+ onTap(): void;
50
+ onPress(): void;
51
+ onRelease(): void;
52
+ }
53
+ declare global {
54
+ interface HTMLElementTagNameMap {
55
+ [CameraSwitchButton.tag]: CameraSwitchButton;
56
+ }
57
+ }
58
+
59
+ export { CameraSwitchButton, type CameraSwitchButtonCustomImages, type CameraSwitchMode };
@@ -0,0 +1 @@
1
+ import {a as a$2}from'../../../chunks/chunk-J6LCRGZO.js';import {a as a$3}from'../../../chunks/chunk-BIJB4K7G.js';import {b}from'../../../chunks/chunk-74GO72VC.js';import {a as a$6}from'../../../chunks/chunk-4JH6EEAE.js';import {a as a$7}from'../../../chunks/chunk-SGL5J2CI.js';import {a as a$4}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$1}from'../../../chunks/chunk-UWBNF47P.js';import {a}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$5}from'../../../chunks/chunk-LSZZVJ6B.js';var i=class i extends a{constructor(){super();this._currentMode="back";this._ariaLabel="Switch camera";this._useCustomImages=false;let t=this.attachShadow({mode:"open"});t.innerHTML=a$1`<button type="button"><slot></slot></button>`,t.append(i.createStyleElement().cloneNode(true));}get button(){var t,e;return (e=(t=this.shadowRoot)==null?void 0:t.querySelector("button"))!=null?e:void 0}get frontIcon(){var t;return (t=this.querySelector(a$2.tag))!=null?t:void 0}get backIcon(){var t;return (t=this.querySelector(a$3.tag))!=null?t:void 0}static create(){return document.createElement(i.tag)}static register(){a$4({[i.tag]:i});}static createStyleElement(){return a$5`:host{display:inline-block;--button-size:32px;--camera-switch-idle:none;--camera-switch-pressed:none}:host[hidden]{display:none}button{align-items:center;border:none;cursor:pointer;display:flex;height:var(--button-size);justify-content:center;margin:0;outline:none;padding:0;width:var(--button-size);-webkit-tap-highlight-color:transparent;background:#0000;background-position:50%;background-repeat:no-repeat;background-size:contain;opacity:1;transform-origin:center;transition:outline .2s ease-in-out,transform .1s ease-in-out}button[data-pressed=true]{transform:scale(.95)}button[data-pressed=false]{transform:scale(1)}:host button:focus-visible{outline:2px solid #06c;outline-offset:2px}:host([data-use-custom-images=true]) ::slotted(*){display:none!important}:host([data-use-custom-images=true]) button{background-image:var(--camera-switch-idle)}:host([data-use-custom-images=true]) button[data-pressed=true]{background-image:var(--camera-switch-pressed)}`}connectedCallback(){this.button&&(this.setupButtonWithSvgIcons(),!this._gestureRecognizer&&this.button&&(this._gestureRecognizer=new a$6(this.button),this._gestureRecognizer.addListener(this)),this.setAttribute("aria-label",this._ariaLabel));}setupButtonWithSvgIcons(){if(!this.button)return;a$2.register(),a$3.register();let t=a$7.fromHex("#FFFFFF");if(!this.frontIcon){let e=a$2.create();e.fill=`#${t.toJSON()}`,e.style.display="flex",this.appendChild(e);}if(!this.backIcon){let e=a$3.create();e.fill=`#${t.toJSON()}`,e.style.display="none",this.appendChild(e);}}disconnectedCallback(){this._gestureRecognizer&&(this._gestureRecognizer.removeAllListeners(),this._gestureRecognizer=void 0);}set mode(t){t!=="front"&&t!=="back"||(this._currentMode=t,this.updateIconVisibility());}get mode(){return this._currentMode}get ariaLabel(){return this._ariaLabel}set ariaLabel(t){this._ariaLabel=t,this.setAttribute("aria-label",t);}set useCustomImages(t){this._useCustomImages=t,t?this.setAttribute("data-use-custom-images","true"):this.removeAttribute("data-use-custom-images");}setCustomImages(t){let e=this.style,h=t.idle?`url(${JSON.stringify(t.idle)})`:"none",m=t.pressed?`url(${JSON.stringify(t.pressed)})`:"none";e.setProperty("--camera-switch-idle",h),e.setProperty("--camera-switch-pressed",m),this.useCustomImages=true;}updateIconVisibility(){let t=this.frontIcon,e=this.backIcon;!t||!e||(this._currentMode==="back"?(t.style.display="none",e.style.display="flex"):(t.style.display="flex",e.style.display="none"));}onTap(){this.dispatchEvent(new b({currentMode:this._currentMode}));}onPress(){let t=this.button;t&&t.setAttribute("data-pressed","true");}onRelease(){let t=this.button;t&&t.setAttribute("data-pressed","false");}};i.tag="scandit-camera-switch-button";var p=i;export{p as CameraSwitchButton};
@@ -0,0 +1,22 @@
1
+ /// <reference types="emscripten" />
2
+ import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
3
+
4
+ /**
5
+ * Layout container for view controls positioned using the Anchor enum.
6
+ * Supports 9 positions: top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right.
7
+ * Controls are positioned via slot attribute corresponding to their anchor position.
8
+ */
9
+ declare class ControlsLayout extends ScanditHTMLElement {
10
+ static tag: "scandit-controls-layout";
11
+ constructor();
12
+ static create(): ControlsLayout;
13
+ static register(): void;
14
+ private static createStyleElement;
15
+ }
16
+ declare global {
17
+ interface HTMLElementTagNameMap {
18
+ [ControlsLayout.tag]: ControlsLayout;
19
+ }
20
+ }
21
+
22
+ export { ControlsLayout };
@@ -0,0 +1 @@
1
+ export{a as ControlsLayout}from'../../../chunks/chunk-523EQN4Z.js';
@@ -1,28 +1,37 @@
1
1
  /// <reference types="emscripten" />
2
2
  import '../../../ScanditIcon.js';
3
3
  import '../../utils/ScanditHTMLElement.js';
4
- import '../../../Common.js';
5
- export { H as HintPresenter, bk as HintPresenterEvents } from '../../../DataCaptureContext-8EuyQSL7.js';
4
+ import '../../../commons/Rect.js';
5
+ export { H as HintPresenter, bl as HintPresenterEvents } from '../../../DataCaptureContext-fzPdCXUX.js';
6
+ import '../../../commons/Color.js';
6
7
  import '../../Serializable.js';
7
- import '../../../Camera-CZ0Hl7v2.js';
8
+ import '../../../commons/Point.js';
9
+ import '../../../commons/Size.js';
10
+ import '../../../Camera-DhGjpcjv.js';
8
11
  import '../../privateAccess.js';
9
12
  import '../../../DataCaptureContextSettings.js';
13
+ import '../../../commons/JSONType.js';
14
+ import '../../../commons/MarginsWithUnit.js';
15
+ import '../../../commons/NumberWithUnit.js';
16
+ import '../../../commons/MeasureUnit.js';
17
+ import '../../../commons/PointWithUnit.js';
18
+ import '../../../commons/Anchor.js';
19
+ import '../../../commons/Orientation.js';
20
+ import '../../../commons/Quadrilateral.js';
10
21
  import '../../../DataCaptureViewPlusRelated.js';
11
22
  import '../../../NotificationPresenter/NotificationPresenter.js';
12
23
  import '../../../NotificationPresenter/NotificationConfiguration.js';
13
24
  import '../../../NotificationPresenter/NotificationStyle.js';
14
- import '../../../ViewControls.js';
15
25
  import '../../CustomLocationsView.js';
16
26
  import '../../View.js';
17
27
  import '../../AnchorPositions.js';
18
28
  import '../../nativeHandle.js';
19
29
  import '../../../license/OpenSourceSoftwareLicenseInfo.js';
20
30
  import '../../../logger.js';
21
- import '../../FrameReaders/WatermarkStack.js';
22
- import '../../../tsHelper.js';
23
- import '../../CameraAccess.js';
31
+ import '../../FrameReaders/ColorType.js';
24
32
  import '../../../LoadingStatus.js';
25
- import '../../../worker/OverrideState.js';
26
33
  import '../../djinni-types/index.js';
27
34
  import '../../HtmlElementState.js';
35
+ import '../../../commons/SizeWithUnit.js';
28
36
  import '../../utils/AsyncStateMachine.js';
37
+ import '../../../tsHelper.js';
@@ -1 +1 @@
1
- export{b as HintPresenter,a as HintPresenterEvents}from'../../../chunks/chunk-TDOKACT7.js';
1
+ export{b as HintPresenter,a as HintPresenterEvents}from'../../../chunks/chunk-5IGOKD23.js';
@@ -1 +1 @@
1
- export{a as LoadingOverlay}from'../../../chunks/chunk-HDY35RKY.js';
1
+ export{a as LoadingOverlay}from'../../../chunks/chunk-NDQQHCZN.js';
@@ -0,0 +1,68 @@
1
+ /// <reference types="emscripten" />
2
+ import { T as TorchState } from '../../../Camera-DhGjpcjv.js';
3
+ import { GestureRecognizerListener } from '../../GestureRecognizer/GestureRecognizer.js';
4
+ import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
5
+ import '../../../commons/Rect.js';
6
+ import '../../Serializable.js';
7
+ import '../../../commons/Point.js';
8
+ import '../../../commons/Size.js';
9
+ import '../../privateAccess.js';
10
+ import '../../EventManager.js';
11
+
12
+ interface TorchSwitchIconButtonCustomImages {
13
+ on: {
14
+ idle: string | null;
15
+ pressed: string | null;
16
+ };
17
+ off: {
18
+ idle: string | null;
19
+ pressed: string | null;
20
+ };
21
+ }
22
+ declare class TorchSwitchIconButton extends ScanditHTMLElement implements GestureRecognizerListener {
23
+ static readonly tag: "scandit-torch-switch-icon-button";
24
+ static readonly observedAttributes: string[];
25
+ private _size;
26
+ private _shadow;
27
+ private _gestureRecognizer;
28
+ private _ariaLabel;
29
+ private _useCustomImages;
30
+ private get button();
31
+ private get onIcon();
32
+ private get offIcon();
33
+ constructor();
34
+ set size(size: number);
35
+ get size(): number;
36
+ set shadow(shadow: boolean);
37
+ get shadow(): boolean;
38
+ get state(): TorchState;
39
+ set state(value: TorchState);
40
+ get ariaLabel(): string;
41
+ set ariaLabel(label: string);
42
+ /**
43
+ * Set whether to use custom images instead of SVG icons
44
+ */
45
+ set useCustomImages(value: boolean);
46
+ /**
47
+ * Set custom image URLs as CSS variables
48
+ * @param customImages Object containing on and off images with idle and pressed states
49
+ */
50
+ setCustomImages(customImages: TorchSwitchIconButtonCustomImages): void;
51
+ static create(): TorchSwitchIconButton;
52
+ static register(): void;
53
+ private static createStyleElement;
54
+ connectedCallback(): void;
55
+ attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
56
+ render(newState: TorchState): void;
57
+ disconnectedCallback(): void;
58
+ onTap(): void;
59
+ onPress(): void;
60
+ onRelease(): void;
61
+ }
62
+ declare global {
63
+ interface HTMLElementTagNameMap {
64
+ [TorchSwitchIconButton.tag]: TorchSwitchIconButton;
65
+ }
66
+ }
67
+
68
+ export { TorchSwitchIconButton, type TorchSwitchIconButtonCustomImages };
@@ -0,0 +1 @@
1
+ import {a as a$3}from'../../../chunks/chunk-LORGLY2X.js';import {a as a$2}from'../../../chunks/chunk-O7QIRKOP.js';import {c}from'../../../chunks/chunk-74GO72VC.js';import {a as a$7}from'../../../chunks/chunk-4JH6EEAE.js';import {a as a$6}from'../../../chunks/chunk-SGL5J2CI.js';import {a as a$4}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$1}from'../../../chunks/chunk-UWBNF47P.js';import {a}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$5}from'../../../chunks/chunk-LSZZVJ6B.js';var s=class s extends a{constructor(){super();this._size=32;this._shadow=false;this._ariaLabel="Toggle torch";this._useCustomImages=false;let t=this.attachShadow({mode:"open"});t.innerHTML=a$1`<button><slot></slot></button>`,t.append(s.createStyleElement().cloneNode(true));}get button(){var t,e;return (e=(t=this.shadowRoot)==null?void 0:t.querySelector("button"))!=null?e:void 0}get onIcon(){var t;return (t=this.querySelector(a$2.tag))!=null?t:void 0}get offIcon(){var t;return (t=this.querySelector(a$3.tag))!=null?t:void 0}set size(t){this._size=t;let e=this.onIcon,o=this.offIcon;e&&(e.size=this._size),o&&(o.size=this._size);}get size(){return this._size}set shadow(t){this._shadow=t;let e=this.onIcon,o=this.offIcon;e&&e.toggleAttribute("shadow",this._shadow),o&&o.toggleAttribute("shadow",this._shadow);}get shadow(){return this._shadow}get state(){var t;return (t=this.getAttribute("state"))!=null?t:"off"}set state(t){this.setAttribute("state",t),this.setAttribute("aria-pressed",t==="on"?"true":"false");}get ariaLabel(){return this._ariaLabel}set ariaLabel(t){this._ariaLabel=t,this.setAttribute("aria-label",t);}set useCustomImages(t){this._useCustomImages=t,t?this.setAttribute("data-use-custom-images","true"):this.removeAttribute("data-use-custom-images");}setCustomImages(t){let e=this.style,o=t.on.idle?`url(${JSON.stringify(t.on.idle)})`:"none",i=t.on.pressed?`url(${JSON.stringify(t.on.pressed)})`:"none",n=t.off.idle?`url(${JSON.stringify(t.off.idle)})`:"none",b=t.off.pressed?`url(${JSON.stringify(t.off.pressed)})`:"none";e.setProperty("--torch-on-idle",o),e.setProperty("--torch-on-pressed",i),e.setProperty("--torch-off-idle",n),e.setProperty("--torch-off-pressed",b),this.useCustomImages=true;}static create(){return document.createElement(s.tag)}static register(){a$4({[s.tag]:s});}static createStyleElement(){return a$5`:host{display:inline-block;--button-size:32px;--torch-on-idle:none;--torch-on-pressed:none;--torch-off-idle:none;--torch-off-pressed:none}:host[hidden]{display:none}:host button{align-items:center;background:none;background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;display:flex;height:var(--button-size);justify-content:center;margin:0;opacity:1;outline:none;padding:0;width:var(--button-size);-webkit-tap-highlight-color:transparent;transform-origin:center;transition:outline .2s ease-in-out,opacity .2s ease-in-out,transform .1s ease-in-out}:host([state=off]) button{opacity:.5}button[data-pressed=true]{transform:scale(.95)}button[data-pressed=false]{transform:scale(1)}:host button:focus-visible{outline:2px solid #06c;outline-offset:2px}:host([data-use-custom-images=true]) ::slotted(*){display:none!important}:host([data-use-custom-images=true][state=on]) button{background-image:var(--torch-on-idle)}:host([data-use-custom-images=true][state=on]) button[data-pressed=true]{background-image:var(--torch-on-pressed)}:host([data-use-custom-images=true][state=off]) button{background-image:var(--torch-off-idle)}:host([data-use-custom-images=true][state=off]) button[data-pressed=true]{background-image:var(--torch-off-pressed)}`}connectedCallback(){if(!this.button)return;if(a$2.register(),a$3.register(),!this.onIcon||!this.offIcon){let o=a$6.fromHex("#FFFFFF"),i=a$2.create(),n=a$3.create();i.toggleAttribute("shadow",this._shadow),n.toggleAttribute("shadow",this._shadow),i.size=this._size,n.size=this._size,n.fill=`#${o.toJSON()}`,i.fill=`#${o.toJSON()}`,this.appendChild(i),this.appendChild(n);}let t="off";(this.getAttribute("state")==="on"||this.getAttribute("state")==="off")&&(t=this.getAttribute("state")),this.state=t;let e=this.button;!this._gestureRecognizer&&e&&(this._gestureRecognizer=new a$7(e),this._gestureRecognizer.addListener(this)),this.setAttribute("aria-label",this._ariaLabel),this.setAttribute("aria-pressed",t==="on"?"true":"false");}attributeChangedCallback(t,e,o){t==="state"&&this.render(o);}render(t){let e=this.onIcon,o=this.offIcon;t==="on"?(o!=null&&(o.style.display="none"),e!=null&&(e.style.display="flex")):(e!=null&&(e.style.display="none"),o!=null&&(o.style.display="flex"));}disconnectedCallback(){this._gestureRecognizer&&(this._gestureRecognizer.removeAllListeners(),this._gestureRecognizer=void 0);}onTap(){this.dispatchEvent(new c({currentState:this.state}));}onPress(){let t=this.button;t&&t.setAttribute("data-pressed","true");}onRelease(){let t=this.button;t&&t.setAttribute("data-pressed","false");}};s.tag="scandit-torch-switch-icon-button",s.observedAttributes=["state"];var g=s;export{g as TorchSwitchIconButton};