@scandit/web-datacapture-label 8.4.0-beta.1 → 8.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/THIRD_PARTY.txt +0 -2
  2. package/build/js/AdaptiveRecognitionMode-DBr--JVQ.d.ts +25 -0
  3. package/build/js/AdaptiveRecognitionResult-Clnk-SP8.d.ts +564 -0
  4. package/build/js/BarcodeField-CWg5Ve8v.d.ts +9 -0
  5. package/build/js/BarcodeFieldBuilder-CSsj0EXY.d.ts +21 -0
  6. package/build/js/Button-Ou77FlfL.d.ts +68 -0
  7. package/build/js/CapturedLabel-PjFfeqht.d.ts +30 -0
  8. package/build/js/CustomBarcode-B9b3T3wr.d.ts +29 -0
  9. package/build/js/CustomBarcodeBuilder-DdWG8iCR.d.ts +18 -0
  10. package/build/js/CustomText-Cl2GuEWp.d.ts +27 -0
  11. package/build/js/CustomTextBuilder-0AbdOASa.d.ts +20 -0
  12. package/build/js/DateText-qQtIgcnZ.d.ts +25 -0
  13. package/build/js/DateTextBuilder-D4LModbR.d.ts +21 -0
  14. package/build/js/ExpiryDateText-DkTHW-n-.d.ts +25 -0
  15. package/build/js/ExpiryDateTextBuilder-BGrTAbAB.d.ts +20 -0
  16. package/build/js/ImeiOneBarcode-d4T3iiT8.d.ts +22 -0
  17. package/build/js/ImeiOneBarcodeBuilder-B9onIT76.d.ts +15 -0
  18. package/build/js/ImeiTwoBarcode-DhmyWFV3.d.ts +22 -0
  19. package/build/js/ImeiTwoBarcodeBuilder-JChbnrgN.d.ts +15 -0
  20. package/build/js/LabelCapture-BZi-QVCO.d.ts +42 -0
  21. package/build/js/LabelCaptureAdvancedOverlay-e09i_aoX.d.ts +89 -0
  22. package/build/js/LabelCaptureBasicOverlay-BZl1LJkD.d.ts +63 -0
  23. package/build/js/LabelCaptureFeedback-Bc-zIaL_.d.ts +15 -0
  24. package/build/js/LabelCaptureOverlayJSON-B6X3-JDh.d.ts +9 -0
  25. package/build/js/LabelCaptureSession-Dc8YZO9H.d.ts +22 -0
  26. package/build/js/LabelCaptureSettings-D4GHiKnt.d.ts +29 -0
  27. package/build/js/LabelCaptureWorkerManager-GqFlRfyL.js +1 -0
  28. package/build/js/LabelDateComponentFormat-BDdyln8r.d.ts +8 -0
  29. package/build/js/LabelDateFormat-C9T5qNMc.d.ts +17 -0
  30. package/build/js/LabelDateResult-CQ9G5zQl.d.ts +27 -0
  31. package/build/js/LabelDefinition-CAZoQj1a.d.ts +71 -0
  32. package/build/js/LabelField-BAO35-Eb.d.ts +44 -0
  33. package/build/js/LabelFieldDefinition-CuGI3QUq.d.ts +9 -0
  34. package/build/js/LabelFieldDefinitionBuilder-rN0LybgZ.d.ts +37 -0
  35. package/build/js/LabelFieldLocation-DDqgTh17.d.ts +22 -0
  36. package/build/js/LabelFieldState-JJ7Cbn3n.d.ts +8 -0
  37. package/build/js/LabelFieldType-DEXmgciU.d.ts +8 -0
  38. package/build/js/LabelFieldValueType-C8ZfGaCT.d.ts +10 -0
  39. package/build/js/PackingDateText-DH3NkY_K.d.ts +25 -0
  40. package/build/js/PackingDateTextBuilder-Cay2b3Se.d.ts +20 -0
  41. package/build/js/PartNumberBarcode-Dzx1zF4O.d.ts +22 -0
  42. package/build/js/PartNumberBarcodeBuilder-Bwg9UTcy.d.ts +15 -0
  43. package/build/js/ReceiptScanningLineItem-CZ--bISr.d.ts +40 -0
  44. package/build/js/SerialNumberBarcode-DWBGJVoz.d.ts +22 -0
  45. package/build/js/SerialNumberBarcodeBuilder-oSUDdRsf.d.ts +15 -0
  46. package/build/js/TextField-CTCb88lU.d.ts +6 -0
  47. package/build/js/TextFieldBuilder-biW0vkn0.d.ts +6 -0
  48. package/build/js/TotalPriceText-BydB0NCL.d.ts +22 -0
  49. package/build/js/TotalPriceTextBuilder-B8MK5Xjy.d.ts +17 -0
  50. package/build/js/UnitPriceText-C7EwC-Go.d.ts +22 -0
  51. package/build/js/UnitPriceTextBuilder-Bc7dIZF4.d.ts +17 -0
  52. package/build/js/ValidationFlowField-DL7FdqPM.d.ts +21 -0
  53. package/build/js/WeightText-DrWQ9nBI.d.ts +22 -0
  54. package/build/js/WeightTextBuilder-BzG1seYF.d.ts +17 -0
  55. package/build/js/WorkerMain-dzOcGXQl.js +1 -0
  56. package/build/js/api/AdaptiveRecognitionMode.d.ts +2 -24
  57. package/build/js/api/AdaptiveRecognitionMode.js +1 -1
  58. package/build/js/api/AdaptiveRecognitionResult.d.ts +2 -37
  59. package/build/js/api/AdaptiveRecognitionResult.js +1 -1
  60. package/build/js/api/BarcodeField.d.ts +2 -8
  61. package/build/js/api/BarcodeFieldBuilder.d.ts +2 -14
  62. package/build/js/api/BarcodeFieldBuilder.js +1 -1
  63. package/build/js/api/CapturedLabel.d.ts +2 -34
  64. package/build/js/api/CapturedLabel.js +1 -1
  65. package/build/js/api/CustomBarcode.d.ts +2 -30
  66. package/build/js/api/CustomBarcode.js +1 -1
  67. package/build/js/api/CustomBarcodeBuilder.d.ts +2 -21
  68. package/build/js/api/CustomBarcodeBuilder.js +1 -1
  69. package/build/js/api/CustomText.d.ts +2 -62
  70. package/build/js/api/CustomText.js +1 -1
  71. package/build/js/api/CustomTextBuilder.d.ts +2 -57
  72. package/build/js/api/CustomTextBuilder.js +1 -1
  73. package/build/js/api/DateText.d.ts +2 -59
  74. package/build/js/api/DateText.js +1 -1
  75. package/build/js/api/DateTextBuilder.d.ts +2 -57
  76. package/build/js/api/DateTextBuilder.js +1 -1
  77. package/build/js/api/ExpiryDateText.d.ts +2 -59
  78. package/build/js/api/ExpiryDateText.js +1 -1
  79. package/build/js/api/ExpiryDateTextBuilder.d.ts +2 -56
  80. package/build/js/api/ExpiryDateTextBuilder.js +1 -1
  81. package/build/js/api/ImeiOneBarcode.d.ts +2 -22
  82. package/build/js/api/ImeiOneBarcode.js +1 -1
  83. package/build/js/api/ImeiOneBarcodeBuilder.d.ts +2 -17
  84. package/build/js/api/ImeiOneBarcodeBuilder.js +1 -1
  85. package/build/js/api/ImeiTwoBarcode.d.ts +2 -22
  86. package/build/js/api/ImeiTwoBarcode.js +1 -1
  87. package/build/js/api/ImeiTwoBarcodeBuilder.d.ts +2 -17
  88. package/build/js/api/ImeiTwoBarcodeBuilder.js +1 -1
  89. package/build/js/api/LabelCapture.d.ts +2 -58
  90. package/build/js/api/LabelCapture.js +1 -1
  91. package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts +45 -98
  92. package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.js +1 -1
  93. package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.d.ts +2 -37
  94. package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.js +1 -1
  95. package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +2 -60
  96. package/build/js/api/LabelCaptureAdvancedOverlay.js +1 -1
  97. package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +2 -60
  98. package/build/js/api/LabelCaptureBasicOverlay.d.ts +2 -60
  99. package/build/js/api/LabelCaptureBasicOverlay.js +1 -1
  100. package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +2 -60
  101. package/build/js/api/LabelCaptureFeedback.d.ts +2 -14
  102. package/build/js/api/LabelCaptureFeedback.js +1 -1
  103. package/build/js/api/LabelCaptureListener.d.ts +2 -58
  104. package/build/js/api/LabelCaptureOverlayJSON.d.ts +2 -44
  105. package/build/js/api/LabelCaptureSession.d.ts +2 -28
  106. package/build/js/api/LabelCaptureSession.js +1 -1
  107. package/build/js/api/LabelCaptureSettings.d.ts +2 -79
  108. package/build/js/api/LabelCaptureSettings.js +1 -1
  109. package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts +37 -89
  110. package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js +1 -1
  111. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.d.ts +291 -343
  112. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.js +1 -1
  113. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.d.ts +205 -186
  114. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.js +1 -1
  115. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.d.ts +254 -281
  116. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.js +1 -1
  117. package/build/js/api/LabelCaptureValidationFlowFeedback.d.ts +11 -10
  118. package/build/js/api/LabelCaptureValidationFlowFeedback.js +1 -1
  119. package/build/js/api/LabelCaptureValidationFlowSettings.d.ts +49 -48
  120. package/build/js/api/LabelCaptureValidationFlowSettings.js +1 -1
  121. package/build/js/api/LabelDateComponentFormat.d.ts +2 -7
  122. package/build/js/api/LabelDateComponentFormat.js +1 -1
  123. package/build/js/api/LabelDateFormat.d.ts +2 -16
  124. package/build/js/api/LabelDateFormat.js +1 -1
  125. package/build/js/api/LabelDateResult.d.ts +2 -26
  126. package/build/js/api/LabelDateResult.js +1 -1
  127. package/build/js/api/LabelDefinition.d.ts +2 -93
  128. package/build/js/api/LabelDefinition.js +1 -1
  129. package/build/js/api/LabelField.d.ts +2 -43
  130. package/build/js/api/LabelField.js +1 -1
  131. package/build/js/api/LabelFieldDefinition.d.ts +2 -8
  132. package/build/js/api/LabelFieldDefinitionBuilder.d.ts +2 -16
  133. package/build/js/api/LabelFieldDefinitionBuilder.js +1 -1
  134. package/build/js/api/LabelFieldLocation.d.ts +2 -21
  135. package/build/js/api/LabelFieldLocation.js +1 -1
  136. package/build/js/api/LabelFieldLocationType.d.ts +13 -12
  137. package/build/js/api/LabelFieldLocationType.js +1 -1
  138. package/build/js/api/LabelFieldState.d.ts +2 -7
  139. package/build/js/api/LabelFieldState.js +1 -1
  140. package/build/js/api/LabelFieldType.d.ts +2 -7
  141. package/build/js/api/LabelFieldType.js +1 -1
  142. package/build/js/api/LabelFieldValueType.d.ts +2 -9
  143. package/build/js/api/LabelFieldValueType.js +1 -1
  144. package/build/js/api/LabelResultUpdateType.d.ts +6 -5
  145. package/build/js/api/LabelResultUpdateType.js +1 -1
  146. package/build/js/api/PackingDateText.d.ts +2 -59
  147. package/build/js/api/PackingDateText.js +1 -1
  148. package/build/js/api/PackingDateTextBuilder.d.ts +2 -56
  149. package/build/js/api/PackingDateTextBuilder.js +1 -1
  150. package/build/js/api/PartNumberBarcode.d.ts +2 -22
  151. package/build/js/api/PartNumberBarcode.js +1 -1
  152. package/build/js/api/PartNumberBarcodeBuilder.d.ts +2 -17
  153. package/build/js/api/PartNumberBarcodeBuilder.js +1 -1
  154. package/build/js/api/PrivateReceiptScanningHandler.d.ts +30 -66
  155. package/build/js/api/PrivateReceiptScanningHandler.js +1 -1
  156. package/build/js/api/PrivateReceiptScanningListener.d.ts +17 -52
  157. package/build/js/api/PrivateValidationFlowHandler.d.ts +38 -69
  158. package/build/js/api/PrivateValidationFlowHandler.js +1 -1
  159. package/build/js/api/ReceiptScanningLineItem.d.ts +2 -39
  160. package/build/js/api/ReceiptScanningLineItem.js +1 -1
  161. package/build/js/api/ReceiptScanningResult.d.ts +2 -37
  162. package/build/js/api/ReceiptScanningResult.js +1 -1
  163. package/build/js/api/SerialNumberBarcode.d.ts +2 -22
  164. package/build/js/api/SerialNumberBarcode.js +1 -1
  165. package/build/js/api/SerialNumberBarcodeBuilder.d.ts +2 -17
  166. package/build/js/api/SerialNumberBarcodeBuilder.js +1 -1
  167. package/build/js/api/TextField.d.ts +2 -6
  168. package/build/js/api/TextFieldBuilder.d.ts +2 -6
  169. package/build/js/api/TextFieldBuilder.js +1 -1
  170. package/build/js/api/TotalPriceText.d.ts +2 -57
  171. package/build/js/api/TotalPriceText.js +1 -1
  172. package/build/js/api/TotalPriceTextBuilder.d.ts +2 -54
  173. package/build/js/api/TotalPriceTextBuilder.js +1 -1
  174. package/build/js/api/UnitPriceText.d.ts +2 -57
  175. package/build/js/api/UnitPriceText.js +1 -1
  176. package/build/js/api/UnitPriceTextBuilder.d.ts +2 -54
  177. package/build/js/api/UnitPriceTextBuilder.js +1 -1
  178. package/build/js/api/ValidationFlowField.d.ts +2 -26
  179. package/build/js/api/ValidationFlowField.js +1 -1
  180. package/build/js/api/WeightText.d.ts +2 -57
  181. package/build/js/api/WeightText.js +1 -1
  182. package/build/js/api/WeightTextBuilder.d.ts +2 -54
  183. package/build/js/api/WeightTextBuilder.js +1 -1
  184. package/build/js/dataCaptureEngine-CqE4l_uy.d.ts +36 -0
  185. package/build/js/djinni-types/sdcAnalyticsModule.d.ts +18 -18
  186. package/build/js/djinni-types/sdcBarcodeData.d.ts +2 -47
  187. package/build/js/djinni-types/sdcBarcodeData.js +1 -1
  188. package/build/js/djinni-types/sdcBarcodeInternalSdkData.d.ts +2 -36
  189. package/build/js/djinni-types/sdcCoreCommon.d.ts +2 -13
  190. package/build/js/djinni-types/sdcCoreCommon.js +1 -1
  191. package/build/js/djinni-types/sdcCoreCommonBuffer.d.ts +2 -11
  192. package/build/js/djinni-types/sdcCoreCommonGeometry.d.ts +2 -56
  193. package/build/js/djinni-types/sdcCoreCommonGeometry.js +1 -1
  194. package/build/js/djinni-types/sdcCoreCommonGraphic.d.ts +2 -22
  195. package/build/js/djinni-types/sdcCoreCommonGraphic.js +1 -1
  196. package/build/js/djinni-types/sdcCoreInternalSdkArea.d.ts +2 -39
  197. package/build/js/djinni-types/sdcCoreInternalSdkCapture.d.ts +2 -9
  198. package/build/js/djinni-types/sdcCoreInternalSdkCapture.js +1 -1
  199. package/build/js/djinni-types/sdcCoreInternalSdkCommonAsync.d.ts +2 -12
  200. package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts +2 -50
  201. package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.js +1 -1
  202. package/build/js/djinni-types/sdcCoreInternalSdkCommonGraphics.d.ts +2 -10
  203. package/build/js/djinni-types/sdcCoreInternalSdkOcr.d.ts +2 -35
  204. package/build/js/djinni-types/sdcCoreInternalSdkUiStyle.d.ts +2 -11
  205. package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.d.ts +2 -77
  206. package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.js +1 -1
  207. package/build/js/djinni-types/sdcLabelData.d.ts +2 -37
  208. package/build/js/djinni-types/sdcLabelData.js +1 -1
  209. package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +2 -15
  210. package/build/js/djinni-types/sdcLabelInternalModuleCapture.js +1 -1
  211. package/build/js/djinni-types/sdcLabelInternalModuleData.d.ts +2 -65
  212. package/build/js/djinni-types/sdcLabelInternalModuleData.js +1 -1
  213. package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +2 -135
  214. package/build/js/djinni-types/sdcSymbologySettings.d.ts +2 -21
  215. package/build/js/{global.d.d.ts → global.d.ts} +7 -8
  216. package/build/js/index.d.ts +53 -82
  217. package/build/js/index.js +1 -1
  218. package/build/js/moduleLoader.d.ts +4 -3
  219. package/build/js/moduleLoader.js +1 -1
  220. package/build/js/nativeCall-q32Awp0L.d.ts +13 -0
  221. package/build/js/nativeDispatch-C7kZCRYA.d.ts +13 -0
  222. package/build/js/private/PrivateLabelFieldDefinition.d.ts +7 -41
  223. package/build/js/private/PrivateRectangularLocationSelectionJSON.d.ts +6 -5
  224. package/build/js/private/adaptiveRecognitionModeTranslator.d.ts +5 -4
  225. package/build/js/private/adaptiveRecognitionModeTranslator.js +1 -1
  226. package/build/js/private/brushTranslator.d.ts +10 -9
  227. package/build/js/private/brushTranslator.js +1 -1
  228. package/build/js/private/createProxiedViewFinder.d.ts +6 -63
  229. package/build/js/private/createProxiedViewFinder.js +1 -1
  230. package/build/js/private/fromWrappedFutureToPromise.d.ts +4 -3
  231. package/build/js/private/fromWrappedFutureToPromise.js +1 -1
  232. package/build/js/private/labelFieldLocationTypeTranslator.d.ts +6 -5
  233. package/build/js/private/labelFieldLocationTypeTranslator.js +1 -1
  234. package/build/js/private/measureTranslator.d.ts +5 -4
  235. package/build/js/private/measureTranslator.js +1 -1
  236. package/build/js/private/numberTranslator.d.ts +5 -4
  237. package/build/js/private/numberTranslator.js +1 -1
  238. package/build/js/private/scrollIntoView/compute.d.ts +56 -56
  239. package/build/js/private/scrollIntoView/compute.js +1 -1
  240. package/build/js/private/scrollIntoView/index.d.ts +9 -8
  241. package/build/js/private/scrollIntoView/index.js +1 -1
  242. package/build/js/private/scrollIntoView/types.d.ts +11 -10
  243. package/build/js/private/symbologiesTranslator.d.ts +7 -6
  244. package/build/js/private/symbologiesTranslator.js +1 -1
  245. package/build/js/private/viewfinderTranslator.d.ts +6 -9
  246. package/build/js/private/viewfinderTranslator.js +1 -1
  247. package/build/js/sdcBarcodeData-DOuUPRUb.d.ts +47 -0
  248. package/build/js/sdcBarcodeInternalSdkData-CJZsjs8c.d.ts +36 -0
  249. package/build/js/sdcCoreCommon-kHUoe_GV.d.ts +13 -0
  250. package/build/js/sdcCoreCommonBuffer-DjQM-W5x.d.ts +11 -0
  251. package/build/js/sdcCoreCommonGeometry-Bxvlllkc.d.ts +56 -0
  252. package/build/js/sdcCoreCommonGraphic-hFLsxC6K.d.ts +22 -0
  253. package/build/js/sdcCoreInternalSdkArea-BDbnSRls.d.ts +38 -0
  254. package/build/js/sdcCoreInternalSdkCapture-CcabgRl6.d.ts +9 -0
  255. package/build/js/sdcCoreInternalSdkCommonAsync-8G3-3n53.d.ts +12 -0
  256. package/build/js/sdcCoreInternalSdkCommonGeometry-BdkRyMJ5.d.ts +50 -0
  257. package/build/js/sdcCoreInternalSdkCommonGraphics-DRTWPww6.d.ts +10 -0
  258. package/build/js/sdcCoreInternalSdkOcr-rkdYyZLs.d.ts +34 -0
  259. package/build/js/sdcCoreInternalSdkUiStyle-pVbYygcu.d.ts +11 -0
  260. package/build/js/sdcCoreInternalSdkUiViewfinder-BoG0LyRj.d.ts +73 -0
  261. package/build/js/sdcLabelData-CHLquvuG.d.ts +37 -0
  262. package/build/js/sdcLabelInternalModuleCapture-B6-1Wjzn.d.ts +512 -0
  263. package/build/js/sdcLabelInternalModuleData-D_O2Y4cu.d.ts +63 -0
  264. package/build/js/sdcLabelInternalModuleUiOverlay-CGIKcVOW.d.ts +113 -0
  265. package/build/js/sdcSymbologySettings-CR04eT_a.d.ts +21 -0
  266. package/build/js/ui/atoms/AdaptiveRecognitionOverlay.d.ts +21 -20
  267. package/build/js/ui/atoms/AdaptiveRecognitionOverlay.js +1 -1
  268. package/build/js/ui/atoms/Button.d.ts +2 -67
  269. package/build/js/ui/atoms/Button.js +1 -1
  270. package/build/js/ui/atoms/TextInput.d.ts +189 -188
  271. package/build/js/ui/atoms/TextInput.js +1 -1
  272. package/build/js/ui/atoms/viewportUtils.d.ts +3 -2
  273. package/build/js/ui/atoms/viewportUtils.js +1 -1
  274. package/build/js/ui/controllers/KeyboardVisibilityController.d.ts +131 -130
  275. package/build/js/ui/controllers/KeyboardVisibilityController.js +1 -1
  276. package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.d.ts +97 -96
  277. package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.js +1 -1
  278. package/build/js/vite-env.d.ts +1 -0
  279. package/build/js/worker/LabelCaptureWorkerManager.d.ts +17 -45
  280. package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
  281. package/build/js/worker/NativeImplementationRegistry.d.ts +19 -0
  282. package/build/js/worker/NativeImplementationRegistry.js +1 -0
  283. package/build/js/worker/WorkerMain.d.ts +22 -58
  284. package/build/js/worker/WorkerMain.js +1 -1
  285. package/build/js/worker/WorkerRegistry.d.ts +4 -40
  286. package/build/js/worker/WorkerRegistry.js +1 -1
  287. package/build/js/worker/dataCaptureEngine.d.ts +2 -67
  288. package/build/js/worker/dataCaptureEngine.js +1 -1
  289. package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -37
  290. package/build/js/worker/handlers/FieldBuilderHandler.d.ts +6 -41
  291. package/build/js/worker/handlers/FieldBuilderHandler.js +1 -1
  292. package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.d.ts +21 -57
  293. package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.js +1 -1
  294. package/build/js/worker/handlers/ReceiptScanningHandler.d.ts +10 -48
  295. package/build/js/worker/handlers/ReceiptScanningHandler.js +1 -1
  296. package/build/js/worker/handlers/SettingsHandler.d.ts +9 -47
  297. package/build/js/worker/handlers/SettingsHandler.js +1 -1
  298. package/build/js/worker/handlers/ValidationFlowHandler.d.ts +12 -50
  299. package/build/js/worker/handlers/ValidationFlowHandler.js +1 -1
  300. package/build/js/worker/labelWorkerHandler.d.ts +4 -40
  301. package/build/js/worker/labelWorkerHandler.js +1 -1
  302. package/build/js/worker/nativeCall.d.ts +2 -0
  303. package/build/js/worker/nativeCall.js +1 -0
  304. package/build/js/worker/nativeDispatch.d.ts +2 -0
  305. package/build/js/worker/nativeDispatch.js +1 -0
  306. package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +13 -47
  307. package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
  308. package/build/js/worker/proxies/CapturedLabelProxy.d.ts +12 -47
  309. package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
  310. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +24 -53
  311. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
  312. package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +8 -43
  313. package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
  314. package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +18 -52
  315. package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
  316. package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +14 -48
  317. package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
  318. package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +18 -55
  319. package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
  320. package/build/js/worker/proxies/LabelFieldProxy.d.ts +16 -50
  321. package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
  322. package/build/js/worker/proxies/NativeProxy.d.ts +2 -37
  323. package/build/js/worker/proxies/NativeProxy.js +1 -1
  324. package/build/js/worker/proxies/NoViewfinderProxy.d.ts +6 -41
  325. package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
  326. package/build/js/worker/proxies/ReceiptScanningHandlerProxy.d.ts +11 -48
  327. package/build/js/worker/proxies/ReceiptScanningHandlerProxy.js +1 -1
  328. package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.d.ts +9 -44
  329. package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -1
  330. package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +27 -59
  331. package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
  332. package/build/js/worker/proxies/ValidationFlowListenerProxy.d.ts +16 -53
  333. package/build/js/worker/proxies/ValidationFlowListenerProxy.js +1 -1
  334. package/build/js/worker/proxies/base/BarcodeFieldProxyBase.d.ts +10 -43
  335. package/build/js/worker/proxies/base/BarcodeFieldProxyBase.js +1 -1
  336. package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.d.ts +38 -72
  337. package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.js +1 -1
  338. package/build/js/worker/proxies/base/index.d.ts +3 -39
  339. package/build/js/worker/proxies/base/index.js +1 -1
  340. package/build/js/worker/workerHandles.d.ts +2 -0
  341. package/build/js/worker/workerHandles.js +1 -0
  342. package/build/js/workerHandles-DhpaE-4P.d.ts +5 -0
  343. package/package.json +7 -7
  344. package/sdc-lib/label-worker-8.5.0-beta.1.js +1 -0
  345. package/sdc-lib/resources/models/barcode_localization_clutter_aware.69933853e03e.model +0 -0
  346. package/sdc-lib/resources/models/invalidated_id_classification_default.e3985b833d16.model +0 -0
  347. package/sdc-lib/resources/models/ocr_attention.75e86b6ca0ca.model +0 -0
  348. package/sdc-lib/resources/models/qr_module_prediction.515757826ca3.model +0 -0
  349. package/sdc-lib/resources/models/qr_module_prediction_model_spatial_transformer.e790edc14d39.model +0 -0
  350. package/sdc-lib/resources/models/via_id_template_database.5a7e5789abb4.model +0 -0
  351. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.js +1 -1
  352. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.wasm +0 -0
  353. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.js +1 -1
  354. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.wasm +0 -0
  355. package/sdc-lib/scandit-datacapture-sdk-label-simd.js +1 -1
  356. package/sdc-lib/scandit-datacapture-sdk-label-simd.wasm +0 -0
  357. package/sdc-lib/scandit-datacapture-sdk-label.js +1 -1
  358. package/sdc-lib/scandit-datacapture-sdk-label.wasm +0 -0
  359. package/build/js/LabelCapture-DrHOFOh1.d.ts +0 -40
  360. package/build/js/LabelCaptureAdvancedOverlay-FdLIUFg0.d.ts +0 -87
  361. package/build/js/LabelCaptureBasicOverlay-DFtQFeL_.d.ts +0 -61
  362. package/build/js/NativeProxy-wKE5sxLq.d.ts +0 -1117
  363. package/build/js/chunks/chunk-2W6E3GQH.js +0 -2
  364. package/build/js/chunks/chunk-4PATACKR.js +0 -1
  365. package/build/js/chunks/chunk-4QEBUJAR.js +0 -1
  366. package/build/js/chunks/chunk-5X76K74S.js +0 -1
  367. package/build/js/chunks/chunk-67ANQYNA.js +0 -1
  368. package/build/js/chunks/chunk-6DWFIFUC.js +0 -1
  369. package/build/js/chunks/chunk-74H5UWMJ.js +0 -1
  370. package/build/js/chunks/chunk-7FZ6M63O.js +0 -1
  371. package/build/js/chunks/chunk-7V7K3PCH.js +0 -1
  372. package/build/js/chunks/chunk-7VGFHQT3.js +0 -1
  373. package/build/js/chunks/chunk-A537ABTE.js +0 -1
  374. package/build/js/chunks/chunk-ABK45ILU.js +0 -1
  375. package/build/js/chunks/chunk-AP77K5WE.js +0 -0
  376. package/build/js/chunks/chunk-BDA5SYXG.js +0 -1
  377. package/build/js/chunks/chunk-BEKGYADV.js +0 -1
  378. package/build/js/chunks/chunk-BGVFXDGB.js +0 -1
  379. package/build/js/chunks/chunk-BJFWGOUS.js +0 -1
  380. package/build/js/chunks/chunk-BJSBS5IL.js +0 -1
  381. package/build/js/chunks/chunk-BQJUSAIQ.js +0 -1
  382. package/build/js/chunks/chunk-BYHTDLZK.js +0 -1
  383. package/build/js/chunks/chunk-BYXHNUWR.js +0 -1
  384. package/build/js/chunks/chunk-CGNWTUD5.js +0 -1
  385. package/build/js/chunks/chunk-CHBH6UKJ.js +0 -1
  386. package/build/js/chunks/chunk-COOCFN2K.js +0 -1
  387. package/build/js/chunks/chunk-CS7EEHHH.js +0 -1
  388. package/build/js/chunks/chunk-CUHE565K.js +0 -1
  389. package/build/js/chunks/chunk-CVVZR6MJ.js +0 -1
  390. package/build/js/chunks/chunk-CYK3ORCG.js +0 -1
  391. package/build/js/chunks/chunk-D5PIEZCN.js +0 -1
  392. package/build/js/chunks/chunk-D6QEVE6U.js +0 -1
  393. package/build/js/chunks/chunk-DDYADIOR.js +0 -1
  394. package/build/js/chunks/chunk-DE2UH73T.js +0 -1
  395. package/build/js/chunks/chunk-DY7YMUCC.js +0 -1
  396. package/build/js/chunks/chunk-EPDDVGLY.js +0 -1
  397. package/build/js/chunks/chunk-F5NT65XG.js +0 -1
  398. package/build/js/chunks/chunk-FNR2MDR4.js +0 -1
  399. package/build/js/chunks/chunk-GCMVU762.js +0 -1
  400. package/build/js/chunks/chunk-H3VMMXMG.js +0 -1
  401. package/build/js/chunks/chunk-H4H6H5GI.js +0 -1
  402. package/build/js/chunks/chunk-IKDUT4HS.js +0 -1
  403. package/build/js/chunks/chunk-ITZZENSQ.js +0 -1
  404. package/build/js/chunks/chunk-J53ZQXAJ.js +0 -1
  405. package/build/js/chunks/chunk-JO7OMLH3.js +0 -1
  406. package/build/js/chunks/chunk-KMUMMK5E.js +0 -0
  407. package/build/js/chunks/chunk-L3YJ62IW.js +0 -1
  408. package/build/js/chunks/chunk-L6U6LZ6D.js +0 -1
  409. package/build/js/chunks/chunk-LAW7AY4G.js +0 -1
  410. package/build/js/chunks/chunk-LEARM7VY.js +0 -1
  411. package/build/js/chunks/chunk-LQCSGQVX.js +0 -1
  412. package/build/js/chunks/chunk-M4E4AARR.js +0 -1
  413. package/build/js/chunks/chunk-M6KOA6NQ.js +0 -1
  414. package/build/js/chunks/chunk-MGEXMPRG.js +0 -1
  415. package/build/js/chunks/chunk-MIF4OREL.js +0 -1
  416. package/build/js/chunks/chunk-MMRF53YY.js +0 -1
  417. package/build/js/chunks/chunk-MVGPTPXX.js +0 -1
  418. package/build/js/chunks/chunk-MWD5HRPP.js +0 -0
  419. package/build/js/chunks/chunk-N2RCJCCU.js +0 -1
  420. package/build/js/chunks/chunk-NCZG3BTH.js +0 -1
  421. package/build/js/chunks/chunk-NPDG2TI5.js +0 -1
  422. package/build/js/chunks/chunk-NRVY22W7.js +0 -1
  423. package/build/js/chunks/chunk-NT3LCYW2.js +0 -1
  424. package/build/js/chunks/chunk-NY6UU4OC.js +0 -1
  425. package/build/js/chunks/chunk-O3LIL6A5.js +0 -1
  426. package/build/js/chunks/chunk-O5PVNK4O.js +0 -1
  427. package/build/js/chunks/chunk-OGERPOPP.js +0 -1
  428. package/build/js/chunks/chunk-OI3DYGBC.js +0 -1
  429. package/build/js/chunks/chunk-PNBJM4BJ.js +0 -1
  430. package/build/js/chunks/chunk-POMTT6U2.js +0 -1
  431. package/build/js/chunks/chunk-QCDC57QB.js +0 -1
  432. package/build/js/chunks/chunk-QRSFFB7W.js +0 -1
  433. package/build/js/chunks/chunk-R5YROV5Y.js +0 -0
  434. package/build/js/chunks/chunk-SIJVFBZR.js +0 -1
  435. package/build/js/chunks/chunk-SUORGX6H.js +0 -0
  436. package/build/js/chunks/chunk-SYDG6PPD.js +0 -1
  437. package/build/js/chunks/chunk-TFLJLW4K.js +0 -1
  438. package/build/js/chunks/chunk-TZB6SCQB.js +0 -1
  439. package/build/js/chunks/chunk-UWPIQICM.js +0 -1
  440. package/build/js/chunks/chunk-UZ2W2CJH.js +0 -1
  441. package/build/js/chunks/chunk-V6PSSDG3.js +0 -1
  442. package/build/js/chunks/chunk-V7FLLMXI.js +0 -1
  443. package/build/js/chunks/chunk-VIPA3YVR.js +0 -1
  444. package/build/js/chunks/chunk-VNO3A222.js +0 -1
  445. package/build/js/chunks/chunk-VOGHX5ZK.js +0 -1
  446. package/build/js/chunks/chunk-VPU7TPNE.js +0 -1
  447. package/build/js/chunks/chunk-VSEPEYHT.js +0 -1
  448. package/build/js/chunks/chunk-X2BMTDWA.js +0 -1
  449. package/build/js/chunks/chunk-XCYFBGS2.js +0 -1
  450. package/build/js/chunks/chunk-XETUH5HN.js +0 -1
  451. package/build/js/chunks/chunk-XKSRWFDE.js +0 -1
  452. package/build/js/chunks/chunk-XRXASFAT.js +0 -1
  453. package/build/js/chunks/chunk-XTTGCSBA.js +0 -1
  454. package/build/js/chunks/chunk-ZFSXLH7S.js +0 -0
  455. package/build/js/chunks/chunk-ZU6C4VWO.js +0 -1
  456. package/build/js/chunks/chunk-ZWWBOSQM.js +0 -1
  457. package/build/js/chunks/chunk-ZX3QD2MF.js +0 -1
  458. package/build/js/global.d.js +0 -0
  459. package/build/js/sdcLabelInternalModuleCapture-yM8m0vEc.d.ts +0 -511
  460. package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.d.ts +0 -44
  461. package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.js +0 -1
  462. package/build/js/worker/handlers/LabelCaptureHandler.d.ts +0 -50
  463. package/build/js/worker/handlers/LabelCaptureHandler.js +0 -1
  464. package/build/js/worker/inlineWorker.d.d.ts +0 -4
  465. package/build/js/worker/inlineWorker.d.js +0 -0
  466. package/build/js/worker/labelCapture.inlineWorker.d.ts +0 -46
  467. package/build/js/worker/labelCapture.inlineWorker.js +0 -1
  468. package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +0 -58
  469. package/build/js/worker/proxies/BarcodeFieldProxy.js +0 -1
  470. package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +0 -50
  471. package/build/js/worker/proxies/CustomBarcodeProxy.js +0 -1
  472. package/build/js/worker/proxies/CustomTextProxy.d.ts +0 -49
  473. package/build/js/worker/proxies/CustomTextProxy.js +0 -1
  474. package/build/js/worker/proxies/DateTextProxy.d.ts +0 -49
  475. package/build/js/worker/proxies/DateTextProxy.js +0 -1
  476. package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +0 -52
  477. package/build/js/worker/proxies/ExpiryDateTextProxy.js +0 -1
  478. package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +0 -48
  479. package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +0 -1
  480. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +0 -48
  481. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +0 -1
  482. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +0 -48
  483. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +0 -1
  484. package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +0 -46
  485. package/build/js/worker/proxies/LabelCaptureHelperProxy.js +0 -1
  486. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +0 -52
  487. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +0 -1
  488. package/build/js/worker/proxies/LabelCaptureProxy.d.ts +0 -56
  489. package/build/js/worker/proxies/LabelCaptureProxy.js +0 -1
  490. package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +0 -48
  491. package/build/js/worker/proxies/LabelFieldLocationProxy.js +0 -1
  492. package/build/js/worker/proxies/PackingDateTextProxy.d.ts +0 -52
  493. package/build/js/worker/proxies/PackingDateTextProxy.js +0 -1
  494. package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +0 -48
  495. package/build/js/worker/proxies/PartNumberBarcodeProxy.js +0 -1
  496. package/build/js/worker/proxies/ReceiptScanningOverlayProxy.d.ts +0 -50
  497. package/build/js/worker/proxies/ReceiptScanningOverlayProxy.js +0 -1
  498. package/build/js/worker/proxies/ReceiptScanningSettingsProxy.d.ts +0 -47
  499. package/build/js/worker/proxies/ReceiptScanningSettingsProxy.js +0 -1
  500. package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +0 -48
  501. package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +0 -1
  502. package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +0 -48
  503. package/build/js/worker/proxies/TotalPriceTextProxy.js +0 -1
  504. package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +0 -48
  505. package/build/js/worker/proxies/UnitPriceTextProxy.js +0 -1
  506. package/build/js/worker/proxies/ValidationFlowOverlayProxy.d.ts +0 -46
  507. package/build/js/worker/proxies/ValidationFlowOverlayProxy.js +0 -1
  508. package/build/js/worker/proxies/ValidationFlowSettingsProxy.d.ts +0 -69
  509. package/build/js/worker/proxies/ValidationFlowSettingsProxy.js +0 -1
  510. package/build/js/worker/proxies/WeightTextProxy.d.ts +0 -48
  511. package/build/js/worker/proxies/WeightTextProxy.js +0 -1
  512. package/sdc-lib/resources/models/invalidated_id_classification_default.1cd0f5859941.model +0 -0
  513. package/sdc-lib/resources/models/ocr_attention.dd4572d2c642.model +0 -0
  514. package/sdc-lib/resources/models/via_id_template_database.488e01f034cb.model +0 -0
@@ -1,60 +1,2 @@
1
- import '@scandit/web-datacapture-core';
2
- import './CapturedLabel.js';
3
- import './LabelField.js';
4
- export { a as LabelCaptureBasicOverlayListener } from '../LabelCaptureBasicOverlay-DFtQFeL_.js';
5
- import '@scandit/web-datacapture-barcode';
6
- import './LabelFieldState.js';
7
- import './LabelFieldType.js';
8
- import './LabelFieldValueType.js';
9
- import './LabelDateResult.js';
10
- import '../djinni-types/sdcLabelData.js';
11
- import '@scandit/web-datacapture-core/build/js/private/Serializable';
12
- import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
13
- import '../NativeProxy-wKE5sxLq.js';
14
- import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
15
- import '../djinni-types/sdcBarcodeInternalSdkData.js';
16
- import '../djinni-types/sdcBarcodeData.js';
17
- import '../djinni-types/sdcCoreCommonGeometry.js';
18
- import '../djinni-types/sdcCoreCommonBuffer.js';
19
- import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
20
- import '../djinni-types/sdcSymbologySettings.js';
21
- import '../djinni-types/sdcCoreInternalSdkArea.js';
22
- import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
23
- import '../djinni-types/sdcCoreCommonGraphic.js';
24
- import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
25
- import '../djinni-types/sdcCoreInternalSdkOcr.js';
26
- import '../djinni-types/sdcCoreCommon.js';
27
- import '../djinni-types/sdcLabelInternalModuleData.js';
28
- import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
29
- import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
30
- import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
31
- import '../djinni-types/sdcCoreInternalSdkCapture.js';
32
- import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
33
- import './AdaptiveRecognitionMode.js';
34
- import './LabelCaptureSession.js';
35
- import './LabelDateFormat.js';
36
- import './LabelDateComponentFormat.js';
37
- import './LabelFieldLocationType.js';
38
- import './ReceiptScanningLineItem.js';
39
- import './ValidationFlowField.js';
40
- import '../LabelCapture-DrHOFOh1.js';
41
- import './LabelCaptureFeedback.js';
42
- import './LabelCaptureSettings.js';
43
- import './LabelDefinition.js';
44
- import './ImeiOneBarcode.js';
45
- import './BarcodeField.js';
46
- import './LabelFieldDefinition.js';
47
- import './ImeiTwoBarcode.js';
48
- import './PackingDateText.js';
49
- import './TextField.js';
50
- import './PartNumberBarcode.js';
51
- import './SerialNumberBarcode.js';
52
- import './TotalPriceText.js';
53
- import './UnitPriceText.js';
54
- import './WeightText.js';
55
- import './CustomBarcode.js';
56
- import './LabelFieldLocation.js';
57
- import './CustomText.js';
58
- import './DateText.js';
59
- import './ExpiryDateText.js';
60
- import './LabelCaptureOverlayJSON.js';
1
+ import { n as LabelCaptureBasicOverlayListener } from "../LabelCaptureBasicOverlay-BZl1LJkD.js";
2
+ export { LabelCaptureBasicOverlayListener };
@@ -1,14 +1,2 @@
1
- import { FeedbackJSON, Feedback } from '@scandit/web-datacapture-core';
2
- import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Serializable';
3
-
4
- interface LabelCaptureFeedbackJSON {
5
- success: FeedbackJSON;
6
- }
7
- declare class LabelCaptureFeedback implements Serializable<LabelCaptureFeedbackJSON> {
8
- success: Feedback;
9
- constructor();
10
- static get default(): LabelCaptureFeedback;
11
- toJSONObject(): LabelCaptureFeedbackJSON;
12
- }
13
-
14
- export { LabelCaptureFeedback, type LabelCaptureFeedbackJSON };
1
+ import { n as LabelCaptureFeedbackJSON, t as LabelCaptureFeedback } from "../LabelCaptureFeedback-Bc-zIaL_.js";
2
+ export { LabelCaptureFeedback, LabelCaptureFeedbackJSON };
@@ -1 +1 @@
1
- export{a as LabelCaptureFeedback}from'../chunks/chunk-XETUH5HN.js';
1
+ import{Feedback as e}from"@scandit/web-datacapture-core";var t=class t{constructor(){this.success=new e(e.defaultFeedback.vibration,e.defaultFeedback.sound)}static get default(){return new t}toJSONObject(){return{success:this.success.toJSONObject()}}};export{t as LabelCaptureFeedback};
@@ -1,58 +1,2 @@
1
- import '@scandit/web-datacapture-core';
2
- import './LabelCaptureSession.js';
3
- export { a as LabelCaptureListener } from '../LabelCapture-DrHOFOh1.js';
4
- import './CapturedLabel.js';
5
- import './LabelField.js';
6
- import '@scandit/web-datacapture-barcode';
7
- import './LabelFieldState.js';
8
- import './LabelFieldType.js';
9
- import './LabelFieldValueType.js';
10
- import './LabelDateResult.js';
11
- import './LabelCaptureFeedback.js';
12
- import '@scandit/web-datacapture-core/build/js/private/Serializable';
13
- import './LabelCaptureSettings.js';
14
- import './LabelDefinition.js';
15
- import './AdaptiveRecognitionMode.js';
16
- import './ImeiOneBarcode.js';
17
- import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
18
- import './BarcodeField.js';
19
- import './LabelFieldDefinition.js';
20
- import './ImeiTwoBarcode.js';
21
- import './PackingDateText.js';
22
- import '../NativeProxy-wKE5sxLq.js';
23
- import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
24
- import '../djinni-types/sdcBarcodeInternalSdkData.js';
25
- import '../djinni-types/sdcBarcodeData.js';
26
- import '../djinni-types/sdcCoreCommonGeometry.js';
27
- import '../djinni-types/sdcCoreCommonBuffer.js';
28
- import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
29
- import '../djinni-types/sdcSymbologySettings.js';
30
- import '../djinni-types/sdcCoreInternalSdkArea.js';
31
- import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
32
- import '../djinni-types/sdcCoreCommonGraphic.js';
33
- import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
34
- import '../djinni-types/sdcCoreInternalSdkOcr.js';
35
- import '../djinni-types/sdcCoreCommon.js';
36
- import '../djinni-types/sdcLabelData.js';
37
- import '../djinni-types/sdcLabelInternalModuleData.js';
38
- import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
39
- import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
40
- import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
41
- import '../djinni-types/sdcCoreInternalSdkCapture.js';
42
- import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
43
- import './LabelDateFormat.js';
44
- import './LabelDateComponentFormat.js';
45
- import './LabelFieldLocationType.js';
46
- import './ReceiptScanningLineItem.js';
47
- import './ValidationFlowField.js';
48
- import './TextField.js';
49
- import './PartNumberBarcode.js';
50
- import './SerialNumberBarcode.js';
51
- import './TotalPriceText.js';
52
- import './UnitPriceText.js';
53
- import './WeightText.js';
54
- import './CustomBarcode.js';
55
- import './LabelFieldLocation.js';
56
- import './CustomText.js';
57
- import './DateText.js';
58
- import './ExpiryDateText.js';
1
+ import { n as LabelCaptureListener } from "../LabelCapture-BZi-QVCO.js";
2
+ export { LabelCaptureListener };
@@ -1,44 +1,2 @@
1
- import { N as NativeProxyHandle } from '../NativeProxy-wKE5sxLq.js';
2
- import '@scandit/web-datacapture-barcode';
3
- import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
4
- import '../djinni-types/sdcBarcodeInternalSdkData.js';
5
- import '../djinni-types/sdcBarcodeData.js';
6
- import '../djinni-types/sdcCoreCommonGeometry.js';
7
- import '../djinni-types/sdcCoreCommonBuffer.js';
8
- import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
9
- import '../djinni-types/sdcSymbologySettings.js';
10
- import '../djinni-types/sdcCoreInternalSdkArea.js';
11
- import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
12
- import '../djinni-types/sdcCoreCommonGraphic.js';
13
- import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
14
- import '../djinni-types/sdcCoreInternalSdkOcr.js';
15
- import '../djinni-types/sdcCoreCommon.js';
16
- import '../djinni-types/sdcLabelData.js';
17
- import '../djinni-types/sdcLabelInternalModuleData.js';
18
- import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
19
- import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
20
- import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
21
- import '../djinni-types/sdcCoreInternalSdkCapture.js';
22
- import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
23
- import '@scandit/web-datacapture-core';
24
- import './AdaptiveRecognitionMode.js';
25
- import './CapturedLabel.js';
26
- import './LabelField.js';
27
- import './LabelFieldState.js';
28
- import './LabelFieldType.js';
29
- import './LabelFieldValueType.js';
30
- import './LabelDateResult.js';
31
- import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
32
- import './LabelCaptureSession.js';
33
- import './LabelDateFormat.js';
34
- import './LabelDateComponentFormat.js';
35
- import './LabelFieldLocationType.js';
36
- import './ReceiptScanningLineItem.js';
37
- import './ValidationFlowField.js';
38
-
39
- type LabelCaptureOverlayJSON = {
40
- nativeHandle: NativeProxyHandle;
41
- type: string;
42
- };
43
-
44
- export type { LabelCaptureOverlayJSON };
1
+ import { t as LabelCaptureOverlayJSON } from "../LabelCaptureOverlayJSON-B6X3-JDh.js";
2
+ export { LabelCaptureOverlayJSON };
@@ -1,28 +1,2 @@
1
- import { CapturedLabel, CapturedLabelJSON } from './CapturedLabel.js';
2
- import '@scandit/web-datacapture-core';
3
- import './LabelField.js';
4
- import '@scandit/web-datacapture-barcode';
5
- import './LabelFieldState.js';
6
- import './LabelFieldType.js';
7
- import './LabelFieldValueType.js';
8
- import './LabelDateResult.js';
9
-
10
- interface LabelCaptureSessionJSON {
11
- canShowLocations: boolean;
12
- lastFrameId: number;
13
- frameSequenceId: number;
14
- labels: CapturedLabelJSON[];
15
- }
16
- declare class LabelCaptureSession {
17
- private _lastProcessedFrameId;
18
- private _frameSequenceId;
19
- private _capturedLabels;
20
- private _canShowLocations;
21
- get lastProcessedFrameId(): number;
22
- get frameSequenceId(): number;
23
- get capturedLabels(): CapturedLabel[];
24
- get canShowLocations(): boolean;
25
- private static fromJSON;
26
- }
27
-
28
- export { LabelCaptureSession, type LabelCaptureSessionJSON };
1
+ import { n as LabelCaptureSessionJSON, t as LabelCaptureSession } from "../LabelCaptureSession-Dc8YZO9H.js";
2
+ export { LabelCaptureSession, LabelCaptureSessionJSON };
@@ -1 +1 @@
1
- export{a as LabelCaptureSession}from'../chunks/chunk-NY6UU4OC.js';
1
+ import{CapturedLabel as e}from"./CapturedLabel.js";var t=class t{get lastProcessedFrameId(){return this._lastProcessedFrameId}get frameSequenceId(){return this._frameSequenceId}get capturedLabels(){return this._capturedLabels}get canShowLocations(){return this._canShowLocations}static fromJSON(n){let r=new t;return r._canShowLocations=n.canShowLocations,r._lastProcessedFrameId=n.lastFrameId,r._frameSequenceId=n.frameSequenceId,r._capturedLabels=n.labels.map(t=>e.fromJSON(t)),r}};export{t as LabelCaptureSession};
@@ -1,79 +1,2 @@
1
- import { LocationSelection } from '@scandit/web-datacapture-core';
2
- import { LabelDefinition } from './LabelDefinition.js';
3
- import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
4
- import './AdaptiveRecognitionMode.js';
5
- import './ImeiOneBarcode.js';
6
- import '@scandit/web-datacapture-barcode';
7
- import './BarcodeField.js';
8
- import './LabelFieldDefinition.js';
9
- import './ImeiTwoBarcode.js';
10
- import './PackingDateText.js';
11
- import '../NativeProxy-wKE5sxLq.js';
12
- import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
13
- import '../djinni-types/sdcBarcodeInternalSdkData.js';
14
- import '../djinni-types/sdcBarcodeData.js';
15
- import '../djinni-types/sdcCoreCommonGeometry.js';
16
- import '../djinni-types/sdcCoreCommonBuffer.js';
17
- import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
18
- import '../djinni-types/sdcSymbologySettings.js';
19
- import '../djinni-types/sdcCoreInternalSdkArea.js';
20
- import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
21
- import '../djinni-types/sdcCoreCommonGraphic.js';
22
- import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
23
- import '../djinni-types/sdcCoreInternalSdkOcr.js';
24
- import '../djinni-types/sdcCoreCommon.js';
25
- import '../djinni-types/sdcLabelData.js';
26
- import '../djinni-types/sdcLabelInternalModuleData.js';
27
- import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
28
- import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
29
- import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
30
- import '../djinni-types/sdcCoreInternalSdkCapture.js';
31
- import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
32
- import './CapturedLabel.js';
33
- import './LabelField.js';
34
- import './LabelFieldState.js';
35
- import './LabelFieldType.js';
36
- import './LabelFieldValueType.js';
37
- import './LabelDateResult.js';
38
- import './LabelCaptureSession.js';
39
- import './LabelDateFormat.js';
40
- import './LabelDateComponentFormat.js';
41
- import './LabelFieldLocationType.js';
42
- import './ReceiptScanningLineItem.js';
43
- import './ValidationFlowField.js';
44
- import './TextField.js';
45
- import './PartNumberBarcode.js';
46
- import './SerialNumberBarcode.js';
47
- import './TotalPriceText.js';
48
- import './UnitPriceText.js';
49
- import './WeightText.js';
50
- import './CustomBarcode.js';
51
- import './LabelFieldLocation.js';
52
- import './CustomText.js';
53
- import './DateText.js';
54
- import './ExpiryDateText.js';
55
-
56
- declare class LabelCaptureSettings {
57
- private [nativeHandle];
58
- private workerCommand;
59
- private constructor();
60
- static fromLabelDefinitions(labelDefinitions: LabelDefinition[]): Promise<LabelCaptureSettings>;
61
- private static forHandle;
62
- getLocationSelection(): Promise<LocationSelection | undefined>;
63
- setLocationSelection(locationSelection: LocationSelection): Promise<void>;
64
- getProperty(key: string): Promise<unknown>;
65
- setProperty(key: string, value: unknown): Promise<void>;
66
- getBlueprintJSON(): Promise<Record<string, unknown>>;
67
- }
68
- declare class LabelCaptureSettingsBuilder {
69
- private labelDefinitions;
70
- private hiddenProperties;
71
- private labelProperties?;
72
- addLabel(label: LabelDefinition): this;
73
- setHiddenProperty(key: string, value: unknown): this;
74
- setHiddenProperties(hiddenProperties: Record<string, unknown>): this;
75
- setLabelProperties(labelProperties: Record<string, unknown> | Record<string, unknown>[]): this;
76
- build(): Promise<LabelCaptureSettings>;
77
- }
78
-
79
- export { LabelCaptureSettings, LabelCaptureSettingsBuilder };
1
+ import { n as LabelCaptureSettingsBuilder, r as labelCaptureSettings, t as LabelCaptureSettings } from "../LabelCaptureSettings-D4GHiKnt.js";
2
+ export { LabelCaptureSettings, LabelCaptureSettingsBuilder, labelCaptureSettings };
@@ -1 +1 @@
1
- export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'../chunks/chunk-QRSFFB7W.js';
1
+ import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import{nativeCall as t}from"../worker/nativeCall.js";import{LabelDefinitionBuilder as n}from"./LabelDefinition.js";import{NumberWithUnit as r,RectangularLocationSelection as i,SizeWithUnit as a}from"@scandit/web-datacapture-core";import{nativeHandle as o}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var s=class n{constructor(e){this[o]=e}static async fromLabelDefinitions(e){let t=new c;for(let n of e)t.addLabel(n);return t.build()}static forHandle(e){return new n(e)}async getLocationSelection(){let t=await e().workerCommand(`labelCaptureSettingsGetLocationSelection`,{payload:{settingsHandle:this[o]}});if(t!=null){if(t.size.width!=null&&t.size.aspect!=null){let e=r.fromJSON(t.size.width);return i.withWidthAndAspectRatio(e,t.size.aspect)}if(t.size.height!=null&&t.size.aspect!=null){let e=r.fromJSON(t.size.height);return i.withHeightAndAspectRatio(e,t.size.aspect)}if(t.size.width!=null&&t.size.height!=null){let e=r.fromJSON(t.size.width),n=r.fromJSON(t.size.height);return i.withSize(new a(e,n))}}}async setLocationSelection(t){t instanceof i&&await e().workerCommand(`labelCaptureSettingsSetLocationSelection`,{payload:{settingsHandle:this[o],locationSelection:t.toJSONObject()}})}async getProperty(e){return e===`licenseKey`?t(`LabelCaptureSettings.getLicenseKey`,this[o]):e===`licensee`?t(`LabelCaptureSettings.getLicensee`,this[o]):t(`LabelCaptureSettings.getIntProperty`,this[o],e)}async setProperty(e,n){e===`licenseKey`&&typeof n==`string`?await t(`LabelCaptureSettings.setLicenseKey`,this[o],n):e===`licensee`&&typeof n==`string`?await t(`LabelCaptureSettings.setLicensee`,this[o],n):typeof n==`number`&&Number.isInteger(n)&&await t(`LabelCaptureSettings.setIntProperty`,this[o],e,n)}async getBlueprintJSON(){let e=await t(`LabelCaptureSettings.getBlueprintJson`,this[o]);return JSON.parse(e)}},c=class{constructor(){this.labelDefinitions=[],this.hiddenProperties={}}addLabel(e){return this.labelDefinitions.push(e),this}setHiddenProperty(e,t){return this.hiddenProperties[e]=t,this}setHiddenProperties(e){return this.hiddenProperties=e,this}setLabelProperties(e){return this.labelProperties=e,this}async build(){let e=[];for(let t of this.labelDefinitions)e.push(t instanceof n?await t.build():t);let r=await t(`LabelCaptureSettings.create`,e.map(e=>e[o]),JSON.stringify(this.hiddenProperties),this.labelProperties?JSON.stringify(this.labelProperties):``);return s.forHandle(r)}};function l(){return new c}export{s as LabelCaptureSettings,c as LabelCaptureSettingsBuilder,l as labelCaptureSettings};
@@ -1,96 +1,44 @@
1
- import { FrameData, DataCaptureOverlay, DataCaptureView } from '@scandit/web-datacapture-core';
2
- import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Serializable.js';
3
- import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
4
- import { N as NativeProxyHandle } from '../../NativeProxy-wKE5sxLq.js';
5
- import { L as LabelCapture } from '../../LabelCapture-DrHOFOh1.js';
6
- import { LabelCaptureValidationFlowSettings } from '../LabelCaptureValidationFlowSettings.js';
7
- import { LabelField } from '../LabelField.js';
8
- import { LabelResultUpdateType } from '../LabelResultUpdateType.js';
9
- import '@scandit/web-datacapture-barcode';
10
- import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
11
- import '../../djinni-types/sdcBarcodeInternalSdkData.js';
12
- import '../../djinni-types/sdcBarcodeData.js';
13
- import '../../djinni-types/sdcCoreCommonGeometry.js';
14
- import '../../djinni-types/sdcCoreCommonBuffer.js';
15
- import '../../sdcLabelInternalModuleCapture-yM8m0vEc.js';
16
- import '../../djinni-types/sdcSymbologySettings.js';
17
- import '../../djinni-types/sdcCoreInternalSdkArea.js';
18
- import '../../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
19
- import '../../djinni-types/sdcCoreCommonGraphic.js';
20
- import '../../djinni-types/sdcCoreInternalSdkCommonAsync.js';
21
- import '../../djinni-types/sdcCoreInternalSdkOcr.js';
22
- import '../../djinni-types/sdcCoreCommon.js';
23
- import '../../djinni-types/sdcLabelData.js';
24
- import '../../djinni-types/sdcLabelInternalModuleData.js';
25
- import '../../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
26
- import '../../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
27
- import '../../djinni-types/sdcLabelInternalModuleUiOverlay.js';
28
- import '../../djinni-types/sdcCoreInternalSdkCapture.js';
29
- import '../../djinni-types/sdcCoreInternalSdkUiStyle.js';
30
- import '../AdaptiveRecognitionMode.js';
31
- import '../CapturedLabel.js';
32
- import '../LabelFieldState.js';
33
- import '../LabelFieldType.js';
34
- import '../LabelFieldValueType.js';
35
- import '../LabelDateResult.js';
36
- import '../LabelCaptureSession.js';
37
- import '../LabelDateFormat.js';
38
- import '../LabelDateComponentFormat.js';
39
- import '../LabelFieldLocationType.js';
40
- import '../ReceiptScanningLineItem.js';
41
- import '../ValidationFlowField.js';
42
- import '../LabelCaptureFeedback.js';
43
- import '@scandit/web-datacapture-core/build/js/private/Serializable';
44
- import '../LabelCaptureSettings.js';
45
- import '../LabelDefinition.js';
46
- import '../ImeiOneBarcode.js';
47
- import '../BarcodeField.js';
48
- import '../LabelFieldDefinition.js';
49
- import '../ImeiTwoBarcode.js';
50
- import '../PackingDateText.js';
51
- import '../TextField.js';
52
- import '../PartNumberBarcode.js';
53
- import '../SerialNumberBarcode.js';
54
- import '../TotalPriceText.js';
55
- import '../UnitPriceText.js';
56
- import '../WeightText.js';
57
- import '../CustomBarcode.js';
58
- import '../LabelFieldLocation.js';
59
- import '../CustomText.js';
60
- import '../DateText.js';
61
- import '../ExpiryDateText.js';
1
+ import { t as LabelField } from "../../LabelField-BAO35-Eb.js";
2
+ import { c as NativeProxyHandle } from "../../AdaptiveRecognitionResult-Clnk-SP8.js";
3
+ import { t as LabelCapture } from "../../LabelCapture-BZi-QVCO.js";
4
+ import { LabelCaptureValidationFlowSettings } from "../LabelCaptureValidationFlowSettings.js";
5
+ import { LabelResultUpdateType } from "../LabelResultUpdateType.js";
6
+ import { DataCaptureOverlay, DataCaptureView, FrameData } from "@scandit/web-datacapture-core";
7
+ import { nativeHandle } from "@scandit/web-datacapture-core/build/js/private/nativeHandle.js";
8
+ import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable.js";
62
9
 
10
+ //#region src/main/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts
63
11
  interface LabelCaptureValidationFlowOverlayJSON {
64
- type: "ValidationFlowOverlay";
65
- nativeHandle: NativeProxyHandle;
12
+ type: "ValidationFlowOverlay";
13
+ nativeHandle: NativeProxyHandle;
66
14
  }
67
15
  interface LabelCaptureValidationFlowListener {
68
- onValidationFlowLabelCaptured(fields: LabelField[]): void;
69
- onManualInput(field: LabelField, oldValue: string | undefined, newValue: string): void;
70
- onValidationFlowResultUpdate?(type: LabelResultUpdateType, fields: LabelField[], frameData: FrameData | null): void;
16
+ onValidationFlowLabelCaptured(fields: LabelField[]): void;
17
+ onManualInput(field: LabelField, oldValue: string | undefined, newValue: string): void;
18
+ onValidationFlowResultUpdate?(type: LabelResultUpdateType, fields: LabelField[], frameData: FrameData | null): void;
71
19
  }
72
20
  declare class LabelCaptureValidationFlowOverlay implements DataCaptureOverlay, Serializable<LabelCaptureValidationFlowOverlayJSON> {
73
- [nativeHandle]: NativeProxyHandle;
74
- listener: LabelCaptureValidationFlowListener;
75
- private labelCapture;
76
- private stateManager;
77
- private presenter;
78
- private onContextUpdatedListenerHandler;
79
- private feedback_;
80
- private originalLabelCaptureFeedback;
81
- private settings;
82
- private dataCaptureView;
83
- static withLabelCaptureForView(labelCapture: LabelCapture, dataCaptureView: DataCaptureView): Promise<LabelCaptureValidationFlowOverlay>;
84
- applySettings(settings: LabelCaptureValidationFlowSettings): Promise<void>;
85
- private constructor();
86
- toJSONObject(): LabelCaptureValidationFlowOverlayJSON;
87
- private onAddOverlay;
88
- private onRemoveOverlay;
89
- /**
90
- * This listener is used to remove the event listeners when the overlay is removed
91
- * from the data capture view
92
- */
93
- private onContextUpdatedListener;
21
+ [nativeHandle]: NativeProxyHandle;
22
+ listener: LabelCaptureValidationFlowListener;
23
+ private labelCapture;
24
+ private stateManager;
25
+ private presenter;
26
+ private onContextUpdatedListenerHandler;
27
+ private feedback_;
28
+ private originalLabelCaptureFeedback;
29
+ private settings;
30
+ private dataCaptureView;
31
+ static withLabelCaptureForView(labelCapture: LabelCapture, dataCaptureView: DataCaptureView): Promise<LabelCaptureValidationFlowOverlay>;
32
+ applySettings(settings: LabelCaptureValidationFlowSettings): Promise<void>;
33
+ private constructor();
34
+ toJSONObject(): LabelCaptureValidationFlowOverlayJSON;
35
+ private onAddOverlay;
36
+ private onRemoveOverlay;
37
+ /**
38
+ * This listener is used to remove the event listeners when the overlay is removed
39
+ * from the data capture view
40
+ */
41
+ private onContextUpdatedListener;
94
42
  }
95
-
96
- export { type LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, type LabelCaptureValidationFlowOverlayJSON };
43
+ //#endregion
44
+ export { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON };
@@ -1 +1 @@
1
- export{a as LabelCaptureValidationFlowOverlay}from'../../chunks/chunk-EPDDVGLY.js';
1
+ import{nativeCall as e}from"../../worker/nativeCall.js";import{LabelCaptureValidationFlowFeedback as t}from"../LabelCaptureValidationFlowFeedback.js";import{LabelCaptureValidationFlowSettings as n}from"../LabelCaptureValidationFlowSettings.js";import{ValidationFlowStateManager as r}from"./private/ValidationFlowStateManager.js";import{ValidationFlowPresenter as i}from"./private/ValidationFlowPresenter.js";import{Feedback as a,Logger as o}from"@scandit/web-datacapture-core";import{nativeHandle as s}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var c=class c{static async withLabelCaptureForView(t,r){var i;let a=new c(await e(`ValidationFlowOverlay.create`,t[s]),await n.create(),t);return a.dataCaptureView=r,(i=t.context)==null||i.updateListeners.add(a.onContextUpdatedListenerHandler),await r.addOverlay(a),a}async applySettings(t){this.settings=t,await e(`ValidationFlowOverlay.applySettings`,this[s],t[s]),this.presenter&&this.presenter.updateSettings(t)}constructor(e,n,i){this.listener={onValidationFlowLabelCaptured:e=>{},onManualInput:(e,t,n)=>{},onValidationFlowResultUpdate:(e,t,n)=>{}},this.stateManager=new r,this.presenter=null,this.onContextUpdatedListenerHandler=this.onContextUpdatedListener.bind(this),this.feedback_=new t,this.originalLabelCaptureFeedback=null,this[s]=e,this.labelCapture=i,this.settings=n}toJSONObject(){return{type:`ValidationFlowOverlay`,nativeHandle:this[s]}}async onAddOverlay(){this.originalLabelCaptureFeedback=this.labelCapture.feedback,this.labelCapture.feedback.success=new a(null,null);let e=await this.labelCapture.validationFlowHandler();this.stateManager=new r,this.presenter=new i(this.stateManager,this.settings,e,this.labelCapture,this.feedback_),this.presenter.setExternalListener({onManualInput:(e,t,n)=>this.listener.onManualInput(e,t,n),onValidationFlowLabelCaptured:e=>this.listener.onValidationFlowLabelCaptured(e),onValidationFlowResultUpdate:(e,t,n)=>{var r,i;return(r=(i=this.listener).onValidationFlowResultUpdate)==null?void 0:r.call(i,e,t,n)}}),await this.presenter.mount(this.dataCaptureView),await this.applySettings(this.settings)}async onRemoveOverlay(){var e,t,n;this.originalLabelCaptureFeedback&&=(this.labelCapture.feedback=this.originalLabelCaptureFeedback,null),(e=this.labelCapture)==null||(e=e.context)==null||e.updateListeners.delete(this.onContextUpdatedListenerHandler),(t=this.presenter)==null||t.setExternalListener({onManualInput:()=>{},onValidationFlowLabelCaptured:()=>{},onValidationFlowResultUpdate:()=>{}});let r=(n=this.presenter)==null?void 0:n.unmount(this.dataCaptureView);this.presenter=null,await(await this.labelCapture.validationFlowHandler()).reset(),await this.labelCapture.unsetValidationFlowHandler(),await r}async onContextUpdatedListener(e){if(e.type===`removeOverlay`&&e.newValue===this&&await this.onRemoveOverlay(),e.type===`addOverlay`&&e.newValue===this){var t;await this.onAddOverlay(),await((t=this.presenter)==null?void 0:t.goToCompleteScan())}e.type===`modeEnabled`&&e.newValue&&this.presenter&&(this.stateManager.isFinished||this.stateManager.isIdle?(o.debug(`Validation flow overlay: mode enabled and validation flow is finished or idle, going to complete scan`),await this.presenter.goToCompleteScan()):this.stateManager.isPaused&&(o.debug(`Validation flow overlay: mode enabled and validation flow is paused, resuming scan`),await this.presenter.resumeScan()))}};export{c as LabelCaptureValidationFlowOverlay};