@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,299 +1,272 @@
1
- import { Color, DataCaptureView } from '@scandit/web-datacapture-core';
2
- import { LabelCaptureValidationFlowLayoutEvents, LabelCaptureValidationFlowLayoutEventMap } from '../../../ui/organisms/LabelCaptureValidationFlowLayout.js';
3
- import { TextInput, TextInputType, TextInputEvents } from '../../../ui/atoms/TextInput.js';
4
- import { InputState } from './ValidationFlowStateManager.js';
5
- import { KeyboardVisibilityChangedEvent } from '../../../ui/controllers/KeyboardVisibilityController.js';
6
- import '@scandit/web-datacapture-core/build/js/private/ui/atoms/Backdrop.js';
7
- import '@scandit/web-datacapture-core/build/js/private/utils/index.js';
8
- import '../../../ui/atoms/Button.js';
9
- import '@scandit/web-datacapture-core/build/js/private/GestureRecognizer/GestureRecognizer.js';
10
- import '@scandit/web-datacapture-core/build/js/commons/Color.js';
11
- import '../../../sdcLabelInternalModuleCapture-yM8m0vEc.js';
12
- import '../../../djinni-types/sdcBarcodeData.js';
13
- import '../../../djinni-types/sdcSymbologySettings.js';
14
- import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
15
- import '../../../djinni-types/sdcCoreInternalSdkArea.js';
16
- import '../../../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
17
- import '../../../djinni-types/sdcCoreCommonGraphic.js';
18
- import '../../../djinni-types/sdcCoreCommonGeometry.js';
19
- import '../../../djinni-types/sdcCoreInternalSdkCommonAsync.js';
20
- import '../../../djinni-types/sdcCoreInternalSdkOcr.js';
21
- import '../../../djinni-types/sdcCoreCommon.js';
22
- import '../../../djinni-types/sdcLabelData.js';
23
- import '../../../djinni-types/sdcLabelInternalModuleData.js';
24
- import '../../../djinni-types/sdcBarcodeInternalSdkData.js';
25
- import '../../../djinni-types/sdcCoreCommonBuffer.js';
26
- import '../../ValidationFlowField.js';
27
- import '../../LabelField.js';
28
- import '@scandit/web-datacapture-barcode';
29
- import '../../LabelFieldState.js';
30
- import '../../LabelFieldType.js';
31
- import '../../LabelFieldValueType.js';
32
- import '../../LabelDateResult.js';
1
+ import { InputState } from "./ValidationFlowStateManager.js";
2
+ import { TextInput, TextInputEvents, TextInputType } from "../../../ui/atoms/TextInput.js";
3
+ import { LabelCaptureValidationFlowLayoutEventMap, LabelCaptureValidationFlowLayoutEvents } from "../../../ui/organisms/LabelCaptureValidationFlowLayout.js";
4
+ import { KeyboardVisibilityChangedEvent } from "../../../ui/controllers/KeyboardVisibilityController.js";
5
+ import { Color, DataCaptureView } from "@scandit/web-datacapture-core";
33
6
 
7
+ //#region src/main/api/LabelCaptureValidationFlow/private/ValidationFlowView.d.ts
34
8
  /**
35
9
  * Configuration for creating an input field
36
10
  */
37
11
  interface InputFieldConfig {
38
- name: string;
39
- type: TextInputType;
40
- label: string;
41
- value: string;
42
- required: boolean;
43
- loadingText: string;
12
+ name: string;
13
+ type: TextInputType;
14
+ label: string;
15
+ value: string;
16
+ required: boolean;
17
+ loadingText: string;
44
18
  }
45
19
  /**
46
20
  * View layer interface - handles only UI/DOM operations
47
21
  * Does not contain business logic or state management
48
22
  */
49
23
  interface IValidationFlowView {
50
- /**
51
- * Get all input elements
52
- */
53
- getInputs(): TextInput[];
54
- /**
55
- * Get input by field name
56
- */
57
- getInputByName(fieldName: string): TextInput | null;
58
- /**
59
- * Check if an input with the given field name exists
60
- */
61
- hasInput(fieldName: string): boolean;
62
- /**
63
- * Check if an input with the given field name is currently focused
64
- */
65
- isInputFocused(fieldName: string): boolean;
66
- /**
67
- * Show scanning mode buttons (pause button)
68
- */
69
- showScanningButtons(): void;
70
- /**
71
- * Show validation mode buttons (clear all, submit)
72
- */
73
- showValidationButtons(): void;
74
- /**
75
- * Hide all buttons
76
- */
77
- hideAllButtons(): void;
78
- /**
79
- * Enable or disable the submit button
80
- */
81
- setSubmitButtonDisabled(disabled: boolean): void;
82
- /**
83
- * Update input visual state
84
- */
85
- updateInputVisualState(fieldName: string, config: {
86
- value?: string;
87
- loading?: boolean;
88
- loadingText?: string;
89
- invalid?: boolean;
90
- hintMessage?: string;
91
- backgroundColor?: Color | string;
92
- }): void;
93
- /**
94
- * Reset input validation state (remove error/success indicators)
95
- */
96
- resetInputValidation(fieldName: string): void;
97
- /**
98
- * Update scan icon visibility for an input
99
- */
100
- updateScanIconVisibility(fieldName: string, visible: boolean): void;
101
- /**
102
- * Update scan icon visibility for all inputs
103
- */
104
- updateAllScanIconVisibility(visible: boolean): void;
105
- /**
106
- * Update input visual state based on InputState enum
107
- * This is a high-level method that encapsulates all visual updates for a given state
108
- */
109
- updateInputForState(fieldName: string, state: InputState, value: string, config: {
110
- scanningText?: string;
111
- adaptiveScanningText?: string;
112
- hintMessage?: string;
113
- backgroundColor?: Color | string;
114
- scanIconVisible?: boolean;
115
- }): void;
116
- /**
117
- * Show adaptive recognition overlay
118
- */
119
- showAdaptiveRecognitionOverlay(): void;
120
- /**
121
- * Hide adaptive recognition overlay
122
- */
123
- hideAdaptiveRecognitionOverlay(): void;
124
- /**
125
- * Show backdrop
126
- */
127
- showBackdrop(): Promise<void>;
128
- /**
129
- * Hide backdrop
130
- */
131
- hideBackdrop(): Promise<void>;
132
- /**
133
- * Move input to top of list with animation
134
- */
135
- moveInputToTop(fieldName: string): Promise<void>;
136
- /**
137
- * Restore all inputs to original positions
138
- */
139
- restoreInputsPositions(): Promise<void>;
140
- /**
141
- * Update button text
142
- */
143
- updateButtonText(config: {
144
- finishButtonText?: string;
145
- restartButtonText?: string;
146
- pauseButtonText?: string;
147
- }): void;
148
- /**
149
- * Set placeholder text for an input
150
- */
151
- setInputPlaceholder(fieldName: string, placeholder: string): void;
152
- /**
153
- * Clear placeholder text for an input
154
- */
155
- clearInputPlaceholder(fieldName: string): void;
156
- /**
157
- * Set input value
158
- */
159
- setInputValue(fieldName: string, value: string): void;
160
- /**
161
- * Get input value
162
- */
163
- getInputValue(fieldName: string): string;
164
- /**
165
- * Set input background color
166
- */
167
- setInputBackgroundColor(fieldName: string, color: Color | string): void;
168
- /**
169
- * Append inputs to the layout
170
- */
171
- appendInputs(...inputs: TextInput[]): void;
172
- /**
173
- * Initialize inputs from configuration
174
- * Clears existing inputs and creates new ones
175
- */
176
- initializeInputs(configs: InputFieldConfig[]): void;
177
- /**
178
- * Remove all inputs from layout
179
- */
180
- clearInputs(): void;
181
- /**
182
- * Focus an input
183
- */
184
- focusInput(fieldName: string): void;
185
- /**
186
- * Blur an input
187
- */
188
- blurInput(fieldName: string): void;
189
- /**
190
- * Scroll an input into view with platform-specific behavior
191
- * Automatically handles iOS-specific scroll positioning and margins
192
- */
193
- scrollInputIntoView(fieldName: string, event: KeyboardVisibilityChangedEvent): void;
194
- /**
195
- * Check if an input is the currently active element
196
- */
197
- isInputActiveElement(fieldName: string): boolean;
198
- /**
199
- * Blur the currently active element (typically to dismiss keyboard)
200
- */
201
- blurActiveElement(): void;
202
- /**
203
- * Add event listener to the layout
204
- */
205
- addEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
206
- /**
207
- * Remove event listener from the layout
208
- */
209
- removeEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
210
- /**
211
- * Add click listener to submit button
212
- */
213
- addSubmitButtonListener(listener: () => void): void;
214
- /**
215
- * Remove click listener from submit button
216
- */
217
- removeSubmitButtonListener(listener: () => void): void;
218
- /**
219
- * Mount the view to the DataCaptureView
220
- */
221
- mount(dataCaptureView: DataCaptureView): Promise<void>;
222
- /**
223
- * Unmount the view and clean up
224
- */
225
- unmount(dataCaptureView: DataCaptureView): Promise<void>;
24
+ /**
25
+ * Get all input elements
26
+ */
27
+ getInputs(): TextInput[];
28
+ /**
29
+ * Get input by field name
30
+ */
31
+ getInputByName(fieldName: string): TextInput | null;
32
+ /**
33
+ * Check if an input with the given field name exists
34
+ */
35
+ hasInput(fieldName: string): boolean;
36
+ /**
37
+ * Check if an input with the given field name is currently focused
38
+ */
39
+ isInputFocused(fieldName: string): boolean;
40
+ /**
41
+ * Show scanning mode buttons (pause button)
42
+ */
43
+ showScanningButtons(): void;
44
+ /**
45
+ * Show validation mode buttons (clear all, submit)
46
+ */
47
+ showValidationButtons(): void;
48
+ /**
49
+ * Hide all buttons
50
+ */
51
+ hideAllButtons(): void;
52
+ /**
53
+ * Enable or disable the submit button
54
+ */
55
+ setSubmitButtonDisabled(disabled: boolean): void;
56
+ /**
57
+ * Update input visual state
58
+ */
59
+ updateInputVisualState(fieldName: string, config: {
60
+ value?: string;
61
+ loading?: boolean;
62
+ loadingText?: string;
63
+ invalid?: boolean;
64
+ hintMessage?: string;
65
+ backgroundColor?: Color | string;
66
+ }): void;
67
+ /**
68
+ * Reset input validation state (remove error/success indicators)
69
+ */
70
+ resetInputValidation(fieldName: string): void;
71
+ /**
72
+ * Update scan icon visibility for an input
73
+ */
74
+ updateScanIconVisibility(fieldName: string, visible: boolean): void;
75
+ /**
76
+ * Update scan icon visibility for all inputs
77
+ */
78
+ updateAllScanIconVisibility(visible: boolean): void;
79
+ /**
80
+ * Update input visual state based on InputState enum
81
+ * This is a high-level method that encapsulates all visual updates for a given state
82
+ */
83
+ updateInputForState(fieldName: string, state: InputState, value: string, config: {
84
+ scanningText?: string;
85
+ adaptiveScanningText?: string;
86
+ hintMessage?: string;
87
+ backgroundColor?: Color | string;
88
+ scanIconVisible?: boolean;
89
+ }): void;
90
+ /**
91
+ * Show adaptive recognition overlay
92
+ */
93
+ showAdaptiveRecognitionOverlay(): void;
94
+ /**
95
+ * Hide adaptive recognition overlay
96
+ */
97
+ hideAdaptiveRecognitionOverlay(): void;
98
+ /**
99
+ * Show backdrop
100
+ */
101
+ showBackdrop(): Promise<void>;
102
+ /**
103
+ * Hide backdrop
104
+ */
105
+ hideBackdrop(): Promise<void>;
106
+ /**
107
+ * Move input to top of list with animation
108
+ */
109
+ moveInputToTop(fieldName: string): Promise<void>;
110
+ /**
111
+ * Restore all inputs to original positions
112
+ */
113
+ restoreInputsPositions(): Promise<void>;
114
+ /**
115
+ * Update button text
116
+ */
117
+ updateButtonText(config: {
118
+ finishButtonText?: string;
119
+ restartButtonText?: string;
120
+ pauseButtonText?: string;
121
+ }): void;
122
+ /**
123
+ * Set placeholder text for an input
124
+ */
125
+ setInputPlaceholder(fieldName: string, placeholder: string): void;
126
+ /**
127
+ * Clear placeholder text for an input
128
+ */
129
+ clearInputPlaceholder(fieldName: string): void;
130
+ /**
131
+ * Set input value
132
+ */
133
+ setInputValue(fieldName: string, value: string): void;
134
+ /**
135
+ * Get input value
136
+ */
137
+ getInputValue(fieldName: string): string;
138
+ /**
139
+ * Set input background color
140
+ */
141
+ setInputBackgroundColor(fieldName: string, color: Color | string): void;
142
+ /**
143
+ * Append inputs to the layout
144
+ */
145
+ appendInputs(...inputs: TextInput[]): void;
146
+ /**
147
+ * Initialize inputs from configuration
148
+ * Clears existing inputs and creates new ones
149
+ */
150
+ initializeInputs(configs: InputFieldConfig[]): void;
151
+ /**
152
+ * Remove all inputs from layout
153
+ */
154
+ clearInputs(): void;
155
+ /**
156
+ * Focus an input
157
+ */
158
+ focusInput(fieldName: string): void;
159
+ /**
160
+ * Blur an input
161
+ */
162
+ blurInput(fieldName: string): void;
163
+ /**
164
+ * Scroll an input into view with platform-specific behavior
165
+ * Automatically handles iOS-specific scroll positioning and margins
166
+ */
167
+ scrollInputIntoView(fieldName: string, event: KeyboardVisibilityChangedEvent): void;
168
+ /**
169
+ * Check if an input is the currently active element
170
+ */
171
+ isInputActiveElement(fieldName: string): boolean;
172
+ /**
173
+ * Blur the currently active element (typically to dismiss keyboard)
174
+ */
175
+ blurActiveElement(): void;
176
+ /**
177
+ * Add event listener to the layout
178
+ */
179
+ addEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
180
+ /**
181
+ * Remove event listener from the layout
182
+ */
183
+ removeEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
184
+ /**
185
+ * Add click listener to submit button
186
+ */
187
+ addSubmitButtonListener(listener: () => void): void;
188
+ /**
189
+ * Remove click listener from submit button
190
+ */
191
+ removeSubmitButtonListener(listener: () => void): void;
192
+ /**
193
+ * Mount the view to the DataCaptureView
194
+ */
195
+ mount(dataCaptureView: DataCaptureView): Promise<void>;
196
+ /**
197
+ * Unmount the view and clean up
198
+ */
199
+ unmount(dataCaptureView: DataCaptureView): Promise<void>;
226
200
  }
227
201
  /**
228
202
  * Concrete implementation of the view layer
229
203
  * Wraps the LabelCaptureValidationFlowLayout and provides a clean interface
230
204
  */
231
205
  declare class ValidationFlowView implements IValidationFlowView {
232
- private layout;
233
- private dataCaptureViewRoot;
234
- private scrollIntoView;
235
- /**
236
- * Ensure custom elements are registered (called once per application)
237
- */
238
- private static ensureCustomElementsRegistered;
239
- constructor();
240
- getInputs(): TextInput[];
241
- getInputByName(fieldName: string): TextInput | null;
242
- hasInput(fieldName: string): boolean;
243
- isInputFocused(fieldName: string): boolean;
244
- isFocusedElementAnTextInput(): boolean;
245
- showScanningButtons(): void;
246
- showValidationButtons(): void;
247
- hideAllButtons(): void;
248
- setSubmitButtonDisabled(disabled: boolean): void;
249
- updateInputVisualState(fieldName: string, config: {
250
- value?: string;
251
- loading?: boolean;
252
- loadingText?: string;
253
- invalid?: boolean;
254
- hintMessage?: string;
255
- backgroundColor?: Color | string;
256
- }): void;
257
- resetInputValidation(fieldName: string): void;
258
- updateScanIconVisibility(fieldName: string, visible: boolean): void;
259
- updateAllScanIconVisibility(visible: boolean): void;
260
- updateInputForState(fieldName: string, state: InputState, value: string, config: {
261
- scanningText?: string;
262
- adaptiveScanningText?: string;
263
- hintMessage?: string;
264
- backgroundColor?: Color | string;
265
- scanIconVisible?: boolean;
266
- }): void;
267
- showAdaptiveRecognitionOverlay(): void;
268
- hideAdaptiveRecognitionOverlay(): void;
269
- showBackdrop(): Promise<void>;
270
- hideBackdrop(): Promise<void>;
271
- moveInputToTop(fieldName: string): Promise<void>;
272
- restoreInputsPositions(): Promise<void>;
273
- updateButtonText(config: {
274
- finishButtonText?: string;
275
- restartButtonText?: string;
276
- pauseButtonText?: string;
277
- }): void;
278
- setInputPlaceholder(fieldName: string, placeholder: string): void;
279
- clearInputPlaceholder(fieldName: string): void;
280
- setInputValue(fieldName: string, value: string): void;
281
- getInputValue(fieldName: string): string;
282
- setInputBackgroundColor(fieldName: string, color: Color | string): void;
283
- initializeInputs(configs: InputFieldConfig[]): void;
284
- appendInputs(...inputs: TextInput[]): void;
285
- clearInputs(): void;
286
- focusInput(fieldName: string): void;
287
- blurInput(fieldName: string): void;
288
- scrollInputIntoView(fieldName: string, event: KeyboardVisibilityChangedEvent): void;
289
- isInputActiveElement(fieldName: string): boolean;
290
- blurActiveElement(): void;
291
- addEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
292
- removeEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
293
- addSubmitButtonListener(listener: () => void): void;
294
- removeSubmitButtonListener(listener: () => void): void;
295
- mount(dataCaptureView: DataCaptureView): Promise<void>;
296
- unmount(dataCaptureView: DataCaptureView): Promise<void>;
206
+ private layout;
207
+ private scrollIntoView;
208
+ /**
209
+ * Ensure custom elements are registered (called once per application)
210
+ */
211
+ private static ensureCustomElementsRegistered;
212
+ constructor();
213
+ getInputs(): TextInput[];
214
+ getInputByName(fieldName: string): TextInput | null;
215
+ hasInput(fieldName: string): boolean;
216
+ isInputFocused(fieldName: string): boolean;
217
+ isFocusedElementAnTextInput(): boolean;
218
+ showScanningButtons(): void;
219
+ showValidationButtons(): void;
220
+ hideAllButtons(): void;
221
+ setSubmitButtonDisabled(disabled: boolean): void;
222
+ updateInputVisualState(fieldName: string, config: {
223
+ value?: string;
224
+ loading?: boolean;
225
+ loadingText?: string;
226
+ invalid?: boolean;
227
+ hintMessage?: string;
228
+ backgroundColor?: Color | string;
229
+ }): void;
230
+ resetInputValidation(fieldName: string): void;
231
+ updateScanIconVisibility(fieldName: string, visible: boolean): void;
232
+ updateAllScanIconVisibility(visible: boolean): void;
233
+ updateInputForState(fieldName: string, state: InputState, value: string, config: {
234
+ scanningText?: string;
235
+ adaptiveScanningText?: string;
236
+ hintMessage?: string;
237
+ backgroundColor?: Color | string;
238
+ scanIconVisible?: boolean;
239
+ }): void;
240
+ showAdaptiveRecognitionOverlay(): void;
241
+ hideAdaptiveRecognitionOverlay(): void;
242
+ showBackdrop(): Promise<void>;
243
+ hideBackdrop(): Promise<void>;
244
+ moveInputToTop(fieldName: string): Promise<void>;
245
+ restoreInputsPositions(): Promise<void>;
246
+ updateButtonText(config: {
247
+ finishButtonText?: string;
248
+ restartButtonText?: string;
249
+ pauseButtonText?: string;
250
+ }): void;
251
+ setInputPlaceholder(fieldName: string, placeholder: string): void;
252
+ clearInputPlaceholder(fieldName: string): void;
253
+ setInputValue(fieldName: string, value: string): void;
254
+ getInputValue(fieldName: string): string;
255
+ setInputBackgroundColor(fieldName: string, color: Color | string): void;
256
+ initializeInputs(configs: InputFieldConfig[]): void;
257
+ appendInputs(...inputs: TextInput[]): void;
258
+ clearInputs(): void;
259
+ focusInput(fieldName: string): void;
260
+ blurInput(fieldName: string): void;
261
+ scrollInputIntoView(fieldName: string, event: KeyboardVisibilityChangedEvent): void;
262
+ isInputActiveElement(fieldName: string): boolean;
263
+ blurActiveElement(): void;
264
+ addEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
265
+ removeEventListener<K extends (typeof TextInputEvents)[keyof typeof TextInputEvents] | (typeof LabelCaptureValidationFlowLayoutEvents)[keyof typeof LabelCaptureValidationFlowLayoutEvents]>(type: K, listener: (this: HTMLElement, ev: LabelCaptureValidationFlowLayoutEventMap[K]) => void): void;
266
+ addSubmitButtonListener(listener: () => void): void;
267
+ removeSubmitButtonListener(listener: () => void): void;
268
+ mount(dataCaptureView: DataCaptureView): Promise<void>;
269
+ unmount(_dataCaptureView: DataCaptureView): Promise<void>;
297
270
  }
298
-
299
- export { type IValidationFlowView, type InputFieldConfig, ValidationFlowView };
271
+ //#endregion
272
+ export { IValidationFlowView, InputFieldConfig, ValidationFlowView };
@@ -1 +1 @@
1
- export{a as ValidationFlowView}from'../../../chunks/chunk-IKDUT4HS.js';
1
+ import"./ValidationFlowStateManager.js";import{TextInput as e}from"../../../ui/atoms/TextInput.js";import{LabelCaptureValidationFlowLayout as t}from"../../../ui/organisms/LabelCaptureValidationFlowLayout.js";import{AdditionalLayerPosition as n,BrowserHelper as r,INTERNAL_ACCESS as i,Orientation as a}from"@scandit/web-datacapture-core";var o=class o{static ensureCustomElementsRegistered(){t.register(),e.register()}constructor(){this.layout=null,this.scrollIntoView=null,o.ensureCustomElementsRegistered()}getInputs(){var e;return((e=this.layout)==null?void 0:e.getInputs())??[]}getInputByName(e){var t;return((t=this.layout)==null?void 0:t.getInputByName(e))??null}hasInput(e){return this.getInputByName(e)!==null}isInputFocused(t){var n;let r=this.getInputByName(t);return r?r.hasAttribute(`focused`)||((n=document.activeElement)==null?void 0:n.closest(e.tag))===r:!1}isFocusedElementAnTextInput(){var t,n;let r=((t=this.layout)==null||(t=t.shadowRoot)==null?void 0:t.activeElement)??document.activeElement;return(r==null||(n=r.closest(e.tag))==null?void 0:n.tagName.toLowerCase())===e.tag}showScanningButtons(){var e;(e=this.layout)==null||e.showScanningButtons()}showValidationButtons(){var e;(e=this.layout)==null||e.showValidationButtons()}hideAllButtons(){var e;(e=this.layout)==null||e.hideAllButtons()}setSubmitButtonDisabled(e){var t;(t=this.layout)!=null&&t.submitButton&&(this.layout.submitButton.disabled=e)}updateInputVisualState(e,t){let n=this.getInputByName(e);n&&(t.value!==void 0&&(n.value=t.value),t.loading!==void 0&&(n.loading=t.loading),t.loadingText!==void 0&&(n.loadingText=t.loadingText),t.invalid!==void 0&&(t.invalid&&t.hintMessage?n.setValidationState(!1,t.hintMessage):t.invalid||n.resetValidation()),t.backgroundColor!==void 0&&(n.backgroundColor=t.backgroundColor))}resetInputValidation(e){let t=this.getInputByName(e);t&&t.resetValidation()}updateScanIconVisibility(e,t){let n=this.getInputByName(e);n&&(n.hideScanIcon=!t)}updateAllScanIconVisibility(e){let t=this.getInputs();for(let n of t)n.hideScanIcon=!e}updateInputForState(e,t,n,r){switch(t){case`initial`:this.updateInputVisualState(e,{value:n,loading:!1,loadingText:``,invalid:!1,backgroundColor:``});break;case`scanning`:this.updateInputVisualState(e,{value:n,loading:!0,loadingText:r.scanningText||`Scanning`,invalid:!1,backgroundColor:``});break;case`cloudBackup`:this.updateInputVisualState(e,{value:n,loading:!0,loadingText:r.adaptiveScanningText||`Processing, tap to type manually`,invalid:!1,backgroundColor:``});break;case`validated`:this.updateInputVisualState(e,{value:n,loading:!1,invalid:!1,backgroundColor:r.backgroundColor||``});break;case`error`:this.updateInputVisualState(e,{value:n,loading:!1,invalid:!0,hintMessage:r.hintMessage||``,backgroundColor:``});break}r.scanIconVisible!==void 0&&this.updateScanIconVisibility(e,r.scanIconVisible)}showAdaptiveRecognitionOverlay(){var e;(e=this.layout)==null||e.showAdaptiveRecognitionOverlay()}hideAdaptiveRecognitionOverlay(){var e;(e=this.layout)==null||e.hideAdaptiveRecognitionOverlay()}async showBackdrop(){var e;await((e=this.layout)==null||(e=e.backdrop)==null?void 0:e.show())}async hideBackdrop(){var e;await((e=this.layout)==null||(e=e.backdrop)==null?void 0:e.hide())}async moveInputToTop(e){var t;let n=this.getInputByName(e);n&&await((t=this.layout)==null?void 0:t.moveInputToTop(n))}async restoreInputsPositions(){var e;await((e=this.layout)==null?void 0:e.restoreInputsPositions())}updateButtonText(e){this.layout&&(e.finishButtonText!==void 0&&(this.layout.finishButtonText=e.finishButtonText),e.restartButtonText!==void 0&&(this.layout.restartButtonText=e.restartButtonText),e.pauseButtonText!==void 0&&(this.layout.pauseButtonText=e.pauseButtonText))}setInputPlaceholder(e,t){let n=this.getInputByName(e);n&&(n.placeholder=t)}clearInputPlaceholder(e){let t=this.getInputByName(e);t&&(t.placeholder=``)}setInputValue(e,t){let n=this.getInputByName(e);n&&(n.value=t)}getInputValue(e){let t=this.getInputByName(e);return(t==null?void 0:t.value)??``}setInputBackgroundColor(e,t){let n=this.getInputByName(e);n&&(n.backgroundColor=t)}initializeInputs(t){var n;this.clearInputs();let r=[];for(let n of t){let t=e.create();t.type=n.type,t.label=n.label,t.value=n.value,t.required=n.required,t.name=n.name,t.loadingText=n.loadingText,r.push(t)}(n=this.layout)==null||n.appendInputs(...r)}appendInputs(...e){var t;(t=this.layout)==null||t.appendInputs(...e)}clearInputs(){for(let e of this.getInputs())e.remove()}focusInput(e){let t=this.getInputByName(e);t==null||t.focus()}blurInput(e){let t=this.getInputByName(e);t==null||t.blur()}scrollInputIntoView(e,t){let n=this.getInputByName(e);if(n){if(r.isIOS()){var i;t.detail.orientation===a.LandscapeLeft||t.detail.orientation===a.LandscapeRight?n.style.scrollMarginBottom=`-20px`:n.style.removeProperty(`scroll-margin-bottom`),(i=this.scrollIntoView)==null||i.call(this,n,{behavior:`smooth`,block:`end`,inline:`nearest`});return}n.scrollIntoView({behavior:`smooth`,block:`end`,inline:`nearest`})}}isInputActiveElement(e){return this.getInputByName(e)===document.activeElement}blurActiveElement(){var e;(e=document.activeElement)==null||e.blur()}addEventListener(e,t){var n;(n=this.layout)==null||n.addEventListener(e,t)}removeEventListener(e,t){var n;(n=this.layout)==null||n.removeEventListener(e,t)}addSubmitButtonListener(e){var t;(t=this.layout)==null||(t=t.submitButton)==null||t.addEventListener(`click`,e)}removeSubmitButtonListener(e){var t;(t=this.layout)==null||(t=t.submitButton)==null||t.removeEventListener(`click`,e)}async mount(e){this.layout||(this.layout=t.create(),e[i].attachAdditionalLayer(this.layout,n.OverlayContainer),r.isIOS()&&(this.scrollIntoView=(await import(`../../../private/scrollIntoView/index.js`)).default))}async unmount(e){var t;(t=this.layout)==null||t.remove(),this.layout=null,this.scrollIntoView=null}};export{o as ValidationFlowView};
@@ -1,15 +1,16 @@
1
- import { FeedbackJSON, Feedback } from '@scandit/web-datacapture-core';
2
- import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Serializable';
1
+ import { Feedback, FeedbackJSON } from "@scandit/web-datacapture-core";
2
+ import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable";
3
3
 
4
+ //#region src/main/api/LabelCaptureValidationFlowFeedback.d.ts
4
5
  interface LabelCaptureValidationFlowFeedbackJSON {
5
- scan: FeedbackJSON;
6
- adaptiveRecognitionResult: FeedbackJSON;
6
+ scan: FeedbackJSON;
7
+ adaptiveRecognitionResult: FeedbackJSON;
7
8
  }
8
9
  declare class LabelCaptureValidationFlowFeedback implements Serializable<LabelCaptureValidationFlowFeedbackJSON> {
9
- scan: Feedback;
10
- adaptiveRecognitionResult: Feedback;
11
- constructor();
12
- toJSONObject(): LabelCaptureValidationFlowFeedbackJSON;
10
+ scan: Feedback;
11
+ adaptiveRecognitionResult: Feedback;
12
+ constructor();
13
+ toJSONObject(): LabelCaptureValidationFlowFeedbackJSON;
13
14
  }
14
-
15
- export { LabelCaptureValidationFlowFeedback, type LabelCaptureValidationFlowFeedbackJSON };
15
+ //#endregion
16
+ export { LabelCaptureValidationFlowFeedback, LabelCaptureValidationFlowFeedbackJSON };
@@ -1 +1 @@
1
- export{a as LabelCaptureValidationFlowFeedback}from'../chunks/chunk-O5PVNK4O.js';
1
+ import{Feedback as e}from"@scandit/web-datacapture-core";import{debounce as t}from"@scandit/web-datacapture-core/build/js/private/utils/debounce.js";var n=class{constructor(){this.scan=new e(e.defaultFeedback.vibration,e.defaultFeedback.sound),this.scan.emit=t(this.scan.emit.bind(this.scan),100),this.adaptiveRecognitionResult=new e(e.defaultFeedback.vibration,null),this.adaptiveRecognitionResult.emit=t(this.adaptiveRecognitionResult.emit.bind(this.adaptiveRecognitionResult),100)}toJSONObject(){return{scan:this.scan.toJSONObject(),adaptiveRecognitionResult:this.adaptiveRecognitionResult.toJSONObject()}}};export{n as LabelCaptureValidationFlowFeedback};