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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -350
  112. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.js +1 -1
  113. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.d.ts +205 -225
  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-2K4IDUBI.js +0 -1
  364. package/build/js/chunks/chunk-36FUBGEZ.js +0 -1
  365. package/build/js/chunks/chunk-4PATACKR.js +0 -1
  366. package/build/js/chunks/chunk-5JGE6TIK.js +0 -1
  367. package/build/js/chunks/chunk-5X76K74S.js +0 -1
  368. package/build/js/chunks/chunk-67ANQYNA.js +0 -1
  369. package/build/js/chunks/chunk-6AJOOQM4.js +0 -1
  370. package/build/js/chunks/chunk-7D7JLKMH.js +0 -1
  371. package/build/js/chunks/chunk-7FZ6M63O.js +0 -1
  372. package/build/js/chunks/chunk-7V7K3PCH.js +0 -1
  373. package/build/js/chunks/chunk-7VGFHQT3.js +0 -1
  374. package/build/js/chunks/chunk-A537ABTE.js +0 -1
  375. package/build/js/chunks/chunk-A6QIZJQN.js +0 -1
  376. package/build/js/chunks/chunk-ABK45ILU.js +0 -1
  377. package/build/js/chunks/chunk-AI6PEJT5.js +0 -1
  378. package/build/js/chunks/chunk-AP77K5WE.js +0 -0
  379. package/build/js/chunks/chunk-AWVMQD6I.js +0 -1
  380. package/build/js/chunks/chunk-B5ARNEBW.js +0 -1
  381. package/build/js/chunks/chunk-BDA5SYXG.js +0 -1
  382. package/build/js/chunks/chunk-BEKGYADV.js +0 -1
  383. package/build/js/chunks/chunk-BGVFXDGB.js +0 -1
  384. package/build/js/chunks/chunk-BJFWGOUS.js +0 -1
  385. package/build/js/chunks/chunk-BJSBS5IL.js +0 -1
  386. package/build/js/chunks/chunk-BQJUSAIQ.js +0 -1
  387. package/build/js/chunks/chunk-BYHTDLZK.js +0 -1
  388. package/build/js/chunks/chunk-BYXHNUWR.js +0 -1
  389. package/build/js/chunks/chunk-CDFFSVSO.js +0 -1
  390. package/build/js/chunks/chunk-CGNWTUD5.js +0 -1
  391. package/build/js/chunks/chunk-CHBH6UKJ.js +0 -1
  392. package/build/js/chunks/chunk-COOCFN2K.js +0 -1
  393. package/build/js/chunks/chunk-CS7EEHHH.js +0 -1
  394. package/build/js/chunks/chunk-CUHE565K.js +0 -1
  395. package/build/js/chunks/chunk-D5PIEZCN.js +0 -1
  396. package/build/js/chunks/chunk-D6QEVE6U.js +0 -1
  397. package/build/js/chunks/chunk-DDYADIOR.js +0 -1
  398. package/build/js/chunks/chunk-DE2UH73T.js +0 -1
  399. package/build/js/chunks/chunk-DY7YMUCC.js +0 -1
  400. package/build/js/chunks/chunk-F5NT65XG.js +0 -1
  401. package/build/js/chunks/chunk-FMGM62PL.js +0 -1
  402. package/build/js/chunks/chunk-FNR2MDR4.js +0 -1
  403. package/build/js/chunks/chunk-GCMVU762.js +0 -1
  404. package/build/js/chunks/chunk-H3VMMXMG.js +0 -1
  405. package/build/js/chunks/chunk-H4H6H5GI.js +0 -1
  406. package/build/js/chunks/chunk-IIBMH4UP.js +0 -1
  407. package/build/js/chunks/chunk-ITZZENSQ.js +0 -1
  408. package/build/js/chunks/chunk-J53ZQXAJ.js +0 -1
  409. package/build/js/chunks/chunk-JO7OMLH3.js +0 -1
  410. package/build/js/chunks/chunk-KMUMMK5E.js +0 -0
  411. package/build/js/chunks/chunk-L3YJ62IW.js +0 -1
  412. package/build/js/chunks/chunk-L6U6LZ6D.js +0 -1
  413. package/build/js/chunks/chunk-LAW7AY4G.js +0 -1
  414. package/build/js/chunks/chunk-LEARM7VY.js +0 -1
  415. package/build/js/chunks/chunk-LJPJTX67.js +0 -1
  416. package/build/js/chunks/chunk-LLBGDMYR.js +0 -1
  417. package/build/js/chunks/chunk-LTIUWWPC.js +0 -1
  418. package/build/js/chunks/chunk-M4E4AARR.js +0 -1
  419. package/build/js/chunks/chunk-MGEXMPRG.js +0 -1
  420. package/build/js/chunks/chunk-MMRF53YY.js +0 -1
  421. package/build/js/chunks/chunk-MQ3C6JQR.js +0 -1
  422. package/build/js/chunks/chunk-MVGPTPXX.js +0 -1
  423. package/build/js/chunks/chunk-MWD5HRPP.js +0 -0
  424. package/build/js/chunks/chunk-N2RCJCCU.js +0 -1
  425. package/build/js/chunks/chunk-NCZG3BTH.js +0 -1
  426. package/build/js/chunks/chunk-NPDG2TI5.js +0 -1
  427. package/build/js/chunks/chunk-O5PVNK4O.js +0 -1
  428. package/build/js/chunks/chunk-PNBJM4BJ.js +0 -1
  429. package/build/js/chunks/chunk-POMTT6U2.js +0 -1
  430. package/build/js/chunks/chunk-QOVY54UR.js +0 -1
  431. package/build/js/chunks/chunk-QRSFFB7W.js +0 -1
  432. package/build/js/chunks/chunk-R3R62BOL.js +0 -1
  433. package/build/js/chunks/chunk-R5YROV5Y.js +0 -0
  434. package/build/js/chunks/chunk-SQTZDMV3.js +0 -2
  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-T6RBACQT.js +0 -1
  438. package/build/js/chunks/chunk-UNYPWXEG.js +0 -1
  439. package/build/js/chunks/chunk-UWPIQICM.js +0 -1
  440. package/build/js/chunks/chunk-V6PSSDG3.js +0 -1
  441. package/build/js/chunks/chunk-VIPA3YVR.js +0 -1
  442. package/build/js/chunks/chunk-VNO3A222.js +0 -1
  443. package/build/js/chunks/chunk-VOGHX5ZK.js +0 -1
  444. package/build/js/chunks/chunk-VPU7TPNE.js +0 -1
  445. package/build/js/chunks/chunk-VSEPEYHT.js +0 -1
  446. package/build/js/chunks/chunk-X2BMTDWA.js +0 -1
  447. package/build/js/chunks/chunk-XAZBXHAS.js +0 -1
  448. package/build/js/chunks/chunk-XCYFBGS2.js +0 -1
  449. package/build/js/chunks/chunk-XETUH5HN.js +0 -1
  450. package/build/js/chunks/chunk-XKSRWFDE.js +0 -1
  451. package/build/js/chunks/chunk-XQBJ3GXA.js +0 -1
  452. package/build/js/chunks/chunk-XRXASFAT.js +0 -1
  453. package/build/js/chunks/chunk-Y45KHLIU.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,78 +1,19 @@
1
- import { DataCaptureViewListener, Color, PrivateLoadableFrameData, DataCaptureView, MarginsWithUnit, NumberWithUnit } from '@scandit/web-datacapture-core';
2
- import { ValidationFlowStateManager } from './ValidationFlowStateManager.js';
3
- import { ValidationFlowView } from './ValidationFlowView.js';
4
- import { LabelCaptureValidationFlowSettings } from '../../LabelCaptureValidationFlowSettings.js';
5
- import { ValidationFlowField } from '../../ValidationFlowField.js';
6
- import { PrivateValidationFlowListener, PrivateValidationFlowHandler } from '../../PrivateValidationFlowHandler.js';
7
- import { V as ValidationFlowState } from '../../../sdcLabelInternalModuleCapture-yM8m0vEc.js';
8
- import { L as LabelCapture } from '../../../LabelCapture-DrHOFOh1.js';
9
- import { LabelCaptureValidationFlowFeedback } from '../../LabelCaptureValidationFlowFeedback.js';
10
- import { TextInputScanEvent, TextInputClearEvent, TextInputFocusEvent, TextInputBlurEvent, TextInputKeydownEvent } from '../../../ui/atoms/TextInput.js';
11
- import { LabelCaptureValidationFlowLayoutEventMap, LabelCaptureValidationFlowLayoutEvents } from '../../../ui/organisms/LabelCaptureValidationFlowLayout.js';
12
- import { KeyboardVisibilityController, KeyboardVisibilityChangedEvent } from '../../../ui/controllers/KeyboardVisibilityController.js';
13
- import { LabelResultUpdateType } from '../../LabelResultUpdateType.js';
14
- import { LabelCaptureValidationFlowListener } from '../LabelCaptureValidationFlowOverlay.js';
15
- import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
16
- import '../../LabelField.js';
17
- import '@scandit/web-datacapture-barcode';
18
- import '../../LabelFieldState.js';
19
- import '../../LabelFieldType.js';
20
- import '../../LabelFieldValueType.js';
21
- import '../../LabelDateResult.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 '../../../djinni-types/sdcLabelInternalModuleData.js';
29
- import '../../../djinni-types/sdcLabelData.js';
30
- import '../../../djinni-types/sdcCoreInternalSdkArea.js';
31
- import '../../../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
32
- import '../../../djinni-types/sdcCoreCommonGraphic.js';
33
- import '../../../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
34
- import '../../../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
35
- import '../../../djinni-types/sdcLabelInternalModuleUiOverlay.js';
36
- import '../../../djinni-types/sdcCoreInternalSdkCapture.js';
37
- import '../../../djinni-types/sdcCoreInternalSdkUiStyle.js';
38
- import '../../../djinni-types/sdcSymbologySettings.js';
39
- import '../../../djinni-types/sdcCoreInternalSdkCommonAsync.js';
40
- import '../../../djinni-types/sdcCoreInternalSdkOcr.js';
41
- import '../../../djinni-types/sdcCoreCommon.js';
42
- import '../../AdaptiveRecognitionMode.js';
43
- import '../../CapturedLabel.js';
44
- import '../../LabelCaptureSession.js';
45
- import '../../LabelDateFormat.js';
46
- import '../../LabelDateComponentFormat.js';
47
- import '../../LabelFieldLocationType.js';
48
- import '../../ReceiptScanningLineItem.js';
49
- import '../../LabelCaptureFeedback.js';
50
- import '@scandit/web-datacapture-core/build/js/private/Serializable';
51
- import '../../LabelCaptureSettings.js';
52
- import '../../LabelDefinition.js';
53
- import '../../ImeiOneBarcode.js';
54
- import '../../BarcodeField.js';
55
- import '../../LabelFieldDefinition.js';
56
- import '../../ImeiTwoBarcode.js';
57
- import '../../PackingDateText.js';
58
- import '../../TextField.js';
59
- import '../../PartNumberBarcode.js';
60
- import '../../SerialNumberBarcode.js';
61
- import '../../TotalPriceText.js';
62
- import '../../UnitPriceText.js';
63
- import '../../WeightText.js';
64
- import '../../CustomBarcode.js';
65
- import '../../LabelFieldLocation.js';
66
- import '../../CustomText.js';
67
- import '../../DateText.js';
68
- import '../../ExpiryDateText.js';
69
- import '@scandit/web-datacapture-core/build/js/commons/Color.js';
70
- import '@scandit/web-datacapture-core/build/js/private/utils/index.js';
71
- import '@scandit/web-datacapture-core/build/js/private/ui/atoms/Backdrop.js';
72
- import '../../../ui/atoms/Button.js';
73
- import '@scandit/web-datacapture-core/build/js/private/GestureRecognizer/GestureRecognizer.js';
74
- import '@scandit/web-datacapture-core/build/js/private/Serializable.js';
1
+ import { J as ValidationFlowState } from "../../../sdcLabelInternalModuleCapture-B6-1Wjzn.js";
2
+ import { t as ValidationFlowField } from "../../../ValidationFlowField-DL7FdqPM.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 { LabelCaptureValidationFlowListener } from "../LabelCaptureValidationFlowOverlay.js";
7
+ import { ValidationFlowStateManager } from "./ValidationFlowStateManager.js";
8
+ import { TextInputBlurEvent, TextInputClearEvent, TextInputFocusEvent, TextInputKeydownEvent, TextInputScanEvent } from "../../../ui/atoms/TextInput.js";
9
+ import { LabelCaptureValidationFlowLayoutEventMap, LabelCaptureValidationFlowLayoutEvents } from "../../../ui/organisms/LabelCaptureValidationFlowLayout.js";
10
+ import { KeyboardVisibilityChangedEvent, KeyboardVisibilityController } from "../../../ui/controllers/KeyboardVisibilityController.js";
11
+ import { ValidationFlowView } from "./ValidationFlowView.js";
12
+ import { PrivateValidationFlowHandler, PrivateValidationFlowListener } from "../../PrivateValidationFlowHandler.js";
13
+ import { LabelCaptureValidationFlowFeedback } from "../../LabelCaptureValidationFlowFeedback.js";
14
+ import { Color, DataCaptureView, DataCaptureViewListener, MarginsWithUnit, NumberWithUnit, PrivateLoadableFrameData } from "@scandit/web-datacapture-core";
75
15
 
16
+ //#region src/main/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.d.ts
76
17
  /**
77
18
  * Convert a margin value to pixels, using the view dimension for Fraction unit.
78
19
  * C++ requires all scan area margins to use the same unit (Pixel), so we always
@@ -103,280 +44,280 @@ declare function toPixelMargins(margins: MarginsWithUnit, viewWidth: number, vie
103
44
  * and validation handler calls to orchestrate the complete validation flow.
104
45
  */
105
46
  declare class ValidationFlowPresenter implements PrivateValidationFlowListener, DataCaptureViewListener {
106
- private stateManager;
107
- private settings;
108
- private validationFlowHandler;
109
- private labelCapture;
110
- private feedback;
111
- private keyboardController;
112
- private _view;
113
- private externalListener?;
114
- private _latestViewScanAreaMargins;
115
- private _isAdjustingScanArea;
116
- private dataCaptureView;
117
- /**
118
- * Getter for the view - exposed for testing purposes
119
- */
120
- get view(): ValidationFlowView;
121
- private readonly onTextInputScanIconClickHandler;
122
- private readonly onTextInputClearIconClickHandler;
123
- private readonly onTextInputFocusHandler;
124
- private readonly onTextInputBlurHandler;
125
- private readonly onTextInputKeydownHandler;
126
- private readonly onClearAllButtonClickedHandler;
127
- private readonly onSubmitButtonClickedHandler;
128
- private readonly onPauseButtonClickedHandler;
129
- private readonly onClickedOutsideListHandler;
130
- private readonly onValidationFlowLayoutChangeHandler;
131
- private readonly onKeyboardVisibilityChangedHandler;
132
- constructor(stateManager: ValidationFlowStateManager, settings: LabelCaptureValidationFlowSettings, validationFlowHandler: PrivateValidationFlowHandler, labelCapture: LabelCapture, feedback: LabelCaptureValidationFlowFeedback, view?: ValidationFlowView, keyboardController?: KeyboardVisibilityController);
133
- /**
134
- * Update the settings reference when applySettings is called on the overlay.
135
- * This ensures the presenter always uses the most up-to-date settings.
136
- */
137
- updateSettings(settings: LabelCaptureValidationFlowSettings): void;
138
- private get camera();
139
- /**
140
- * Set dependencies needed for event handling
141
- */
142
- /**
143
- * Set the external listener for validation flow events.
144
- * This should be called before mounting the presenter.
145
- */
146
- setExternalListener(listener: LabelCaptureValidationFlowListener): void;
147
- /**
148
- * Start a complete scan and initialize inputs with validation flow fields.
149
- * This method orchestrates the initialization of the validation flow.
150
- */
151
- goToCompleteScan(): Promise<void>;
152
- resumeScan(): Promise<void>;
153
- private resumePreviousScanMode;
154
- /**
155
- * Initialize inputs from validation flow fields
156
- */
157
- initializeInputs(validationFlowFields: ValidationFlowField[]): Promise<void>;
158
- /**
159
- * Update scan icon visibility for a specific input based on business rules.
160
- * Logic: showScanIcon = !scanningState && (isFocused || isEmpty)
161
- *
162
- * Rules:
163
- * - If scanning locally (camera active): ALWAYS hide scan icon
164
- * - If NOT scanning locally:
165
- * - If field is focused: show scan icon
166
- * - If field is NOT focused AND filled: hide scan icon
167
- * - If field is NOT focused AND empty: show scan icon
168
- */
169
- updateScanIconVisibility(fieldName: string): void;
170
- /**
171
- * Update scan icon visibility for all inputs
172
- */
173
- updateAllScanIconsVisibility(): void;
174
- /**
175
- * Update submit button enabled/disabled state based on business rule:
176
- * Submit button is enabled only when all required fields are filled and valid.
177
- */
178
- updateSubmitButtonState(): void;
179
- private updateFieldValueAndState;
180
- private refocusInputForCorrection;
181
- private restoreLayout;
182
- /**
183
- * Update cloud backup task state for a specific field
184
- * @param fieldName - Name of the field
185
- * @param mode - 'cancel' to cancel task, 'uncancel' to restore task
186
- */
187
- private updateCloudBackupTaskState;
188
- /**
189
- * Update the cloud backup fields map based on validation flow fields from backend.
190
- * Delegates to the state manager which owns the business rule for inclusion.
191
- */
192
- private updateCloudBackupFieldsMap;
193
- /**
194
- * Builds the standard configuration object for updateInputForState calls.
195
- * Centralizes the repetitive config to avoid duplication across the codebase.
196
- */
197
- getInputStateConfig(options?: {
198
- hintMessage?: string;
199
- backgroundColor?: Color | string;
200
- }): {
201
- scanningText: string;
202
- adaptiveScanningText: string;
203
- hintMessage: string;
204
- backgroundColor: Color | string;
205
- scanIconVisible: boolean;
206
- };
207
- /**
208
- * Centralised two-step update: store state in state manager (invariant enforced),
209
- * then reflect the stored state in the view.
210
- */
211
- private applyInputState;
212
- /**
213
- * Implementation of ValidationFlowListenerCallbacks.onFieldsScanned
214
- * Handles the fields scanned event - updates state and processes fields
215
- */
216
- onFieldsScanned(fields: ValidationFlowField[]): Promise<void>;
217
- /**
218
- * Implementation of ValidationFlowListenerCallbacks.onLabelIsMissingRequiredField
219
- * Handles validation error event - updates state and processes fields
220
- */
221
- onLabelIsMissingRequiredField(fields: ValidationFlowField[]): Promise<void>;
222
- /**
223
- * Implementation of ValidationFlowListenerCallbacks.onScanTimeout
224
- * Handles scan timeout event
225
- */
226
- onScanTimeout(): Promise<void>;
227
- /**
228
- * Single-pass state sync for all inputs.
229
- *
230
- * Reads the latest scan results from the state manager (stored by onFieldsScanned).
231
- * Callers that don't originate from onFieldsScanned operate with an empty result map,
232
- * which matches the previous behavior of passing no scan results.
233
- * After processing, scan results are cleared so subsequent calls start clean.
234
- *
235
- * State resolution priority (per input):
236
- * 1. Field has a stored scan result AND non-empty scanned value → Validated / Error / Initial
237
- * 2. Scanning active AND field empty → Scanning
238
- * 3. Cloud backup active for field AND field empty → CloudBackup
239
- * 4. Otherwise → Initial
240
- *
241
- * The focused-field invariant (focused field never gets Scanning/CloudBackup) is enforced
242
- * inside setInputState in ValidationFlowStateManager.
243
- */
244
- private syncInputWithState;
245
- /**
246
- * Implementation of ValidationFlowListenerCallbacks.onManualInput
247
- * Handles manual input event from user
248
- */
249
- onManualInput(field: ValidationFlowField, oldValue: string | undefined, newValue: string): void;
250
- /**
251
- * Restore button visibility based on current validation flow state.
252
- */
253
- private restoreButtonsBasedOnState;
254
- /**
255
- * Implementation of ValidationFlowListenerCallbacks.onStateChanged
256
- * Handles state changes - updates button visibility and processes state
257
- */
258
- onStateChanged(state: ValidationFlowState): Promise<void>;
259
- /**
260
- * Implementation of ValidationFlowListenerCallbacks.onCloudBackupServiceStarted
261
- * Handles cloud backup service started event - updates inputs and processes cloud backup start
262
- */
263
- onCloudBackupServiceStarted(): Promise<void>;
264
- /**
265
- * Implementation of ValidationFlowListenerCallbacks.onCloudBackupServiceStopped
266
- * Handles cloud backup service stopped event - resets inputs and processes cloud backup stop
267
- */
268
- onCloudBackupServiceStopped(): Promise<void>;
269
- /**
270
- * Implementation of ValidationFlowListener.onResultUpdate
271
- * - ASYNC_STARTED: cloud backup task started — fields carry isProcessingInCloud()=true
272
- * (C++ sets this before firing the event). Use them directly to set cloud backup state
273
- * rather than calling validationFlowFields() async, which risks a race where the task
274
- * has already finished by the time the call returns.
275
- * - SYNC: confirmed scanner capture → apply teal background + emit scan feedback
276
- * - ASYNC_FINISHED: cloud backup recognition complete → feedback emitted natively via onCloudBackupFeedbackEmit
277
- */
278
- onResultUpdate(updateType: LabelResultUpdateType, fields: ValidationFlowField[], frameData?: PrivateLoadableFrameData): Promise<void>;
279
- /**
280
- * Called when the native C++ layer emits the cloud backup feedback.
281
- * This replaces the previous manual emit in onResultUpdate for AsyncFinished.
282
- */
283
- onCloudBackupFeedbackEmit(): void;
284
- /**
285
- * Camera management helpers
286
- */
287
- private standByCamera;
288
- private activateCamera;
289
- /**
290
- * Event handler: Text input scan icon clicked
291
- */
292
- onTextInputScanIconClick(event: TextInputScanEvent): Promise<void>;
293
- /**
294
- * Event handler: Text input clear icon clicked
295
- */
296
- onTextInputClearIconClick(event: TextInputClearEvent): Promise<void>;
297
- /**
298
- * Event handler: Text input focused
299
- */
300
- onTextInputFocus(event: TextInputFocusEvent): Promise<void>;
301
- /**
302
- * Event handler: Text input blurred
303
- */
304
- onTextInputBlur(event: TextInputBlurEvent): Promise<void>;
305
- /**
306
- * Orchestrate blur validation for a field.
307
- * Directly handles validation, state updates, and layout restoration.
308
- *
309
- * Flow:
310
- * - If field is empty: re-enable cloud backup and restore layout
311
- * - If field is not empty: validate field value
312
- * - If valid: restore layout
313
- * - If invalid: refocus for correction
314
- * - Always clear focused input at end
315
- *
316
- * Returns true if field is valid, false otherwise.
317
- */
318
- runBlurValidation(currentInputName: string): Promise<boolean>;
319
- /**
320
- * Event handler: Text input keydown (Enter/Escape)
321
- */
322
- onTextInputKeydown(event: TextInputKeydownEvent): Promise<void>;
323
- /**
324
- * Event handler: Keyboard visibility changed
325
- */
326
- onKeyboardVisibilityChanged(event: KeyboardVisibilityChangedEvent): Promise<void>;
327
- /**
328
- * Event handler: Clear all button clicked
329
- */
330
- onClearAllButtonClicked(_event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.ClearAllButtonClicked]): Promise<void>;
331
- /**
332
- * Event handler: Submit button clicked
333
- */
334
- onSubmitButtonClicked(): Promise<void>;
335
- /**
336
- * Event handler: Pause button clicked
337
- */
338
- onPauseButtonClicked(_event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.PauseButtonClicked]): Promise<void>;
339
- /**
340
- * Event handler: Clicked outside list
341
- *
342
- * If a field is focused the tap will blur it naturally, triggering onTextInputBlur which
343
- * owns validation. This handler steps aside in that case.
344
- *
345
- * If already paused with no focused field, restores the previous scan mode: partial scan
346
- * if target fields were recorded, complete scan otherwise.
347
- */
348
- onClickedOutsideList(_event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.ClickedOutsideList]): Promise<void>;
349
- /**
350
- * Event handler: Validation flow layout changed (scan area margins)
351
- */
352
- onValidationFlowLayoutChange(event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.ValidationFlowLayoutChange]): void;
353
- /**
354
- * DataCaptureViewListener: Scan area margins are about to change
355
- */
356
- willChangeScanAreaMargins(_view: DataCaptureView, _oldMargins: MarginsWithUnit, newMargins: MarginsWithUnit): void;
357
- didChangeScanAreaMargins(_view: DataCaptureView, _margins: MarginsWithUnit): void;
358
- /**
359
- * Helper: Cancel all cloud backup tasks
360
- */
361
- private cancelAllCloudBackupTasks;
362
- /**
363
- * Helper: Handle in pause scan state
364
- */
365
- onPauseStateChanged(): Promise<void>;
366
- /**
367
- * Helper: Handle in scan state
368
- */
369
- onScanStateChanged(): Promise<void>;
370
- /**
371
- * Mount the validation flow - sets up all event listeners and initializes the view
372
- */
373
- mount(dataCaptureView: DataCaptureView): Promise<void>;
374
- /**
375
- * Unmount the validation flow - removes all event listeners and cleans up
376
- */
377
- unmount(dataCaptureView: DataCaptureView): Promise<void>;
378
- registerEventListeners(): void;
379
- unregisterEventListeners(): void;
47
+ private stateManager;
48
+ private settings;
49
+ private validationFlowHandler;
50
+ private labelCapture;
51
+ private feedback;
52
+ private keyboardController;
53
+ private _view;
54
+ private externalListener?;
55
+ private _latestViewScanAreaMargins;
56
+ private _isAdjustingScanArea;
57
+ private dataCaptureView;
58
+ /**
59
+ * Getter for the view - exposed for testing purposes
60
+ */
61
+ get view(): ValidationFlowView;
62
+ private readonly onTextInputScanIconClickHandler;
63
+ private readonly onTextInputClearIconClickHandler;
64
+ private readonly onTextInputFocusHandler;
65
+ private readonly onTextInputBlurHandler;
66
+ private readonly onTextInputKeydownHandler;
67
+ private readonly onClearAllButtonClickedHandler;
68
+ private readonly onSubmitButtonClickedHandler;
69
+ private readonly onPauseButtonClickedHandler;
70
+ private readonly onClickedOutsideListHandler;
71
+ private readonly onValidationFlowLayoutChangeHandler;
72
+ private readonly onKeyboardVisibilityChangedHandler;
73
+ constructor(stateManager: ValidationFlowStateManager, settings: LabelCaptureValidationFlowSettings, validationFlowHandler: PrivateValidationFlowHandler, labelCapture: LabelCapture, feedback: LabelCaptureValidationFlowFeedback, view?: ValidationFlowView, keyboardController?: KeyboardVisibilityController);
74
+ /**
75
+ * Update the settings reference when applySettings is called on the overlay.
76
+ * This ensures the presenter always uses the most up-to-date settings.
77
+ */
78
+ updateSettings(settings: LabelCaptureValidationFlowSettings): void;
79
+ private get camera();
80
+ /**
81
+ * Set dependencies needed for event handling
82
+ */
83
+ /**
84
+ * Set the external listener for validation flow events.
85
+ * This should be called before mounting the presenter.
86
+ */
87
+ setExternalListener(listener: LabelCaptureValidationFlowListener): void;
88
+ /**
89
+ * Start a complete scan and initialize inputs with validation flow fields.
90
+ * This method orchestrates the initialization of the validation flow.
91
+ */
92
+ goToCompleteScan(): Promise<void>;
93
+ resumeScan(): Promise<void>;
94
+ private resumePreviousScanMode;
95
+ /**
96
+ * Initialize inputs from validation flow fields
97
+ */
98
+ initializeInputs(validationFlowFields: ValidationFlowField[]): Promise<void>;
99
+ /**
100
+ * Update scan icon visibility for a specific input based on business rules.
101
+ * Logic: showScanIcon = !scanningState && (isFocused || isEmpty)
102
+ *
103
+ * Rules:
104
+ * - If scanning locally (camera active): ALWAYS hide scan icon
105
+ * - If NOT scanning locally:
106
+ * - If field is focused: show scan icon
107
+ * - If field is NOT focused AND filled: hide scan icon
108
+ * - If field is NOT focused AND empty: show scan icon
109
+ */
110
+ updateScanIconVisibility(fieldName: string): void;
111
+ /**
112
+ * Update scan icon visibility for all inputs
113
+ */
114
+ updateAllScanIconsVisibility(): void;
115
+ /**
116
+ * Update submit button enabled/disabled state based on business rule:
117
+ * Submit button is enabled only when all required fields are filled and valid.
118
+ */
119
+ updateSubmitButtonState(): void;
120
+ private updateFieldValueAndState;
121
+ private refocusInputForCorrection;
122
+ private restoreLayout;
123
+ /**
124
+ * Update cloud backup task state for a specific field
125
+ * @param fieldName - Name of the field
126
+ * @param mode - 'cancel' to cancel task, 'uncancel' to restore task
127
+ */
128
+ private updateCloudBackupTaskState;
129
+ /**
130
+ * Update the cloud backup fields map based on validation flow fields from backend.
131
+ * Delegates to the state manager which owns the business rule for inclusion.
132
+ */
133
+ private updateCloudBackupFieldsMap;
134
+ /**
135
+ * Builds the standard configuration object for updateInputForState calls.
136
+ * Centralizes the repetitive config to avoid duplication across the codebase.
137
+ */
138
+ getInputStateConfig(options?: {
139
+ hintMessage?: string;
140
+ backgroundColor?: Color | string;
141
+ }): {
142
+ scanningText: string;
143
+ adaptiveScanningText: string;
144
+ hintMessage: string;
145
+ backgroundColor: Color | string;
146
+ scanIconVisible: boolean;
147
+ };
148
+ /**
149
+ * Centralised two-step update: store state in state manager (invariant enforced),
150
+ * then reflect the stored state in the view.
151
+ */
152
+ private applyInputState;
153
+ /**
154
+ * Implementation of ValidationFlowListenerCallbacks.onFieldsScanned
155
+ * Handles the fields scanned event - updates state and processes fields
156
+ */
157
+ onFieldsScanned(fields: ValidationFlowField[]): Promise<void>;
158
+ /**
159
+ * Implementation of ValidationFlowListenerCallbacks.onLabelIsMissingRequiredField
160
+ * Handles validation error event - updates state and processes fields
161
+ */
162
+ onLabelIsMissingRequiredField(fields: ValidationFlowField[]): Promise<void>;
163
+ /**
164
+ * Implementation of ValidationFlowListenerCallbacks.onScanTimeout
165
+ * Handles scan timeout event
166
+ */
167
+ onScanTimeout(): Promise<void>;
168
+ /**
169
+ * Single-pass state sync for all inputs.
170
+ *
171
+ * Reads the latest scan results from the state manager (stored by onFieldsScanned).
172
+ * Callers that don't originate from onFieldsScanned operate with an empty result map,
173
+ * which matches the previous behavior of passing no scan results.
174
+ * After processing, scan results are cleared so subsequent calls start clean.
175
+ *
176
+ * State resolution priority (per input):
177
+ * 1. Field has a stored scan result AND non-empty scanned value → Validated / Error / Initial
178
+ * 2. Scanning active AND field empty → Scanning
179
+ * 3. Cloud backup active for field AND field empty → CloudBackup
180
+ * 4. Otherwise → Initial
181
+ *
182
+ * The focused-field invariant (focused field never gets Scanning/CloudBackup) is enforced
183
+ * inside setInputState in ValidationFlowStateManager.
184
+ */
185
+ private syncInputWithState;
186
+ /**
187
+ * Implementation of ValidationFlowListenerCallbacks.onManualInput
188
+ * Handles manual input event from user
189
+ */
190
+ onManualInput(field: ValidationFlowField, oldValue: string | undefined, newValue: string): void;
191
+ /**
192
+ * Restore button visibility based on current validation flow state.
193
+ */
194
+ private restoreButtonsBasedOnState;
195
+ /**
196
+ * Implementation of ValidationFlowListenerCallbacks.onStateChanged
197
+ * Handles state changes - updates button visibility and processes state
198
+ */
199
+ onStateChanged(state: ValidationFlowState): Promise<void>;
200
+ /**
201
+ * Implementation of ValidationFlowListenerCallbacks.onCloudBackupServiceStarted
202
+ * Handles cloud backup service started event - updates inputs and processes cloud backup start
203
+ */
204
+ onCloudBackupServiceStarted(): Promise<void>;
205
+ /**
206
+ * Implementation of ValidationFlowListenerCallbacks.onCloudBackupServiceStopped
207
+ * Handles cloud backup service stopped event - resets inputs and processes cloud backup stop
208
+ */
209
+ onCloudBackupServiceStopped(): Promise<void>;
210
+ /**
211
+ * Implementation of ValidationFlowListener.onResultUpdate
212
+ * - ASYNC_STARTED: cloud backup task started — fields carry isProcessingInCloud()=true
213
+ * (C++ sets this before firing the event). Use them directly to set cloud backup state
214
+ * rather than calling validationFlowFields() async, which risks a race where the task
215
+ * has already finished by the time the call returns.
216
+ * - SYNC: confirmed scanner capture → apply teal background + emit scan feedback
217
+ * - ASYNC_FINISHED: cloud backup recognition complete → feedback emitted natively via onCloudBackupFeedbackEmit
218
+ */
219
+ onResultUpdate(updateType: LabelResultUpdateType, fields: ValidationFlowField[], frameData?: PrivateLoadableFrameData): Promise<void>;
220
+ /**
221
+ * Called when the native C++ layer emits the cloud backup feedback.
222
+ * This replaces the previous manual emit in onResultUpdate for AsyncFinished.
223
+ */
224
+ onCloudBackupFeedbackEmit(): void;
225
+ /**
226
+ * Camera management helpers
227
+ */
228
+ private standByCamera;
229
+ private activateCamera;
230
+ /**
231
+ * Event handler: Text input scan icon clicked
232
+ */
233
+ onTextInputScanIconClick(event: TextInputScanEvent): Promise<void>;
234
+ /**
235
+ * Event handler: Text input clear icon clicked
236
+ */
237
+ onTextInputClearIconClick(event: TextInputClearEvent): Promise<void>;
238
+ /**
239
+ * Event handler: Text input focused
240
+ */
241
+ onTextInputFocus(event: TextInputFocusEvent): Promise<void>;
242
+ /**
243
+ * Event handler: Text input blurred
244
+ */
245
+ onTextInputBlur(event: TextInputBlurEvent): Promise<void>;
246
+ /**
247
+ * Orchestrate blur validation for a field.
248
+ * Directly handles validation, state updates, and layout restoration.
249
+ *
250
+ * Flow:
251
+ * - If field is empty: re-enable cloud backup and restore layout
252
+ * - If field is not empty: validate field value
253
+ * - If valid: restore layout
254
+ * - If invalid: refocus for correction
255
+ * - Always clear focused input at end
256
+ *
257
+ * Returns true if field is valid, false otherwise.
258
+ */
259
+ runBlurValidation(currentInputName: string): Promise<boolean>;
260
+ /**
261
+ * Event handler: Text input keydown (Enter/Escape)
262
+ */
263
+ onTextInputKeydown(event: TextInputKeydownEvent): Promise<void>;
264
+ /**
265
+ * Event handler: Keyboard visibility changed
266
+ */
267
+ onKeyboardVisibilityChanged(event: KeyboardVisibilityChangedEvent): Promise<void>;
268
+ /**
269
+ * Event handler: Clear all button clicked
270
+ */
271
+ onClearAllButtonClicked(_event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.ClearAllButtonClicked]): Promise<void>;
272
+ /**
273
+ * Event handler: Submit button clicked
274
+ */
275
+ onSubmitButtonClicked(): Promise<void>;
276
+ /**
277
+ * Event handler: Pause button clicked
278
+ */
279
+ onPauseButtonClicked(_event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.PauseButtonClicked]): Promise<void>;
280
+ /**
281
+ * Event handler: Clicked outside list
282
+ *
283
+ * If a field is focused the tap will blur it naturally, triggering onTextInputBlur which
284
+ * owns validation. This handler steps aside in that case.
285
+ *
286
+ * If already paused with no focused field, restores the previous scan mode: partial scan
287
+ * if target fields were recorded, complete scan otherwise.
288
+ */
289
+ onClickedOutsideList(_event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.ClickedOutsideList]): Promise<void>;
290
+ /**
291
+ * Event handler: Validation flow layout changed (scan area margins)
292
+ */
293
+ onValidationFlowLayoutChange(event: LabelCaptureValidationFlowLayoutEventMap[typeof LabelCaptureValidationFlowLayoutEvents.ValidationFlowLayoutChange]): void;
294
+ /**
295
+ * DataCaptureViewListener: Scan area margins are about to change
296
+ */
297
+ willChangeScanAreaMargins(_view: DataCaptureView, _oldMargins: MarginsWithUnit, newMargins: MarginsWithUnit): void;
298
+ didChangeScanAreaMargins(_view: DataCaptureView, _margins: MarginsWithUnit): void;
299
+ /**
300
+ * Helper: Cancel all cloud backup tasks
301
+ */
302
+ private cancelAllCloudBackupTasks;
303
+ /**
304
+ * Helper: Handle in pause scan state
305
+ */
306
+ onPauseStateChanged(): Promise<void>;
307
+ /**
308
+ * Helper: Handle in scan state
309
+ */
310
+ onScanStateChanged(): Promise<void>;
311
+ /**
312
+ * Mount the validation flow - sets up all event listeners and initializes the view
313
+ */
314
+ mount(dataCaptureView: DataCaptureView): Promise<void>;
315
+ /**
316
+ * Unmount the validation flow - removes all event listeners and cleans up
317
+ */
318
+ unmount(dataCaptureView: DataCaptureView): Promise<void>;
319
+ registerEventListeners(): void;
320
+ unregisterEventListeners(): void;
380
321
  }
381
-
382
- export { ValidationFlowPresenter, convertToPx, toPixelMargins };
322
+ //#endregion
323
+ export { ValidationFlowPresenter, convertToPx, toPixelMargins };