@scandit/web-datacapture-label 8.3.0 → 8.4.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 (332) hide show
  1. package/build/js/{LabelCaptureAdvancedOverlay-DzSicuAv.d.ts → LabelCaptureAdvancedOverlay-FdLIUFg0.d.ts} +1 -1
  2. package/build/js/{LabelCaptureBasicOverlay-DF8gpw6K.d.ts → LabelCaptureBasicOverlay-DFtQFeL_.d.ts} +1 -1
  3. package/build/js/{NativeProxy-BpXwaSl-.d.ts → NativeProxy-wKE5sxLq.d.ts} +20 -4
  4. package/build/js/api/AdaptiveRecognitionMode.d.ts +7 -1
  5. package/build/js/api/AdaptiveRecognitionMode.js +1 -1
  6. package/build/js/api/AdaptiveRecognitionResult.d.ts +2 -2
  7. package/build/js/api/BarcodeFieldBuilder.js +1 -1
  8. package/build/js/api/CapturedLabel.js +1 -1
  9. package/build/js/api/CustomBarcode.d.ts +2 -0
  10. package/build/js/api/CustomBarcode.js +1 -1
  11. package/build/js/api/CustomBarcodeBuilder.js +1 -1
  12. package/build/js/api/CustomText.d.ts +4 -2
  13. package/build/js/api/CustomText.js +1 -1
  14. package/build/js/api/CustomTextBuilder.d.ts +2 -2
  15. package/build/js/api/CustomTextBuilder.js +1 -1
  16. package/build/js/api/DateText.d.ts +4 -2
  17. package/build/js/api/DateText.js +1 -1
  18. package/build/js/api/DateTextBuilder.d.ts +2 -2
  19. package/build/js/api/DateTextBuilder.js +1 -1
  20. package/build/js/api/ExpiryDateText.d.ts +4 -2
  21. package/build/js/api/ExpiryDateText.js +1 -1
  22. package/build/js/api/ExpiryDateTextBuilder.d.ts +3 -3
  23. package/build/js/api/ExpiryDateTextBuilder.js +1 -1
  24. package/build/js/api/ImeiOneBarcode.d.ts +2 -0
  25. package/build/js/api/ImeiOneBarcode.js +1 -1
  26. package/build/js/api/ImeiOneBarcodeBuilder.js +1 -1
  27. package/build/js/api/ImeiTwoBarcode.d.ts +2 -0
  28. package/build/js/api/ImeiTwoBarcode.js +1 -1
  29. package/build/js/api/ImeiTwoBarcodeBuilder.js +1 -1
  30. package/build/js/api/LabelCapture.d.ts +2 -2
  31. package/build/js/api/LabelCapture.js +1 -1
  32. package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts +2 -2
  33. package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.d.ts +2 -2
  34. package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +3 -3
  35. package/build/js/api/LabelCaptureAdvancedOverlay.js +1 -1
  36. package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +3 -3
  37. package/build/js/api/LabelCaptureBasicOverlay.d.ts +3 -3
  38. package/build/js/api/LabelCaptureBasicOverlay.js +1 -1
  39. package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +3 -3
  40. package/build/js/api/LabelCaptureListener.d.ts +2 -2
  41. package/build/js/api/LabelCaptureOverlayJSON.d.ts +2 -2
  42. package/build/js/api/LabelCaptureSession.js +1 -1
  43. package/build/js/api/LabelCaptureSettings.d.ts +2 -2
  44. package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts +5 -4
  45. package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js +1 -1
  46. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.d.ts +36 -10
  47. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.js +1 -1
  48. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.d.ts +13 -1
  49. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.js +1 -1
  50. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.d.ts +5 -3
  51. package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.js +1 -1
  52. package/build/js/api/LabelDefinition.d.ts +2 -2
  53. package/build/js/api/LabelField.js +1 -1
  54. package/build/js/api/LabelFieldDefinition.d.ts +1 -0
  55. package/build/js/api/LabelFieldDefinitionBuilder.d.ts +2 -0
  56. package/build/js/api/LabelFieldDefinitionBuilder.js +1 -1
  57. package/build/js/api/LabelResultUpdateType.d.ts +7 -0
  58. package/build/js/api/LabelResultUpdateType.js +1 -0
  59. package/build/js/api/PackingDateText.d.ts +4 -2
  60. package/build/js/api/PackingDateText.js +1 -1
  61. package/build/js/api/PackingDateTextBuilder.d.ts +2 -2
  62. package/build/js/api/PackingDateTextBuilder.js +1 -1
  63. package/build/js/api/PartNumberBarcode.d.ts +2 -0
  64. package/build/js/api/PartNumberBarcode.js +1 -1
  65. package/build/js/api/PartNumberBarcodeBuilder.js +1 -1
  66. package/build/js/api/PrivateReceiptScanningHandler.d.ts +2 -2
  67. package/build/js/api/PrivateReceiptScanningListener.d.ts +2 -2
  68. package/build/js/api/PrivateValidationFlowHandler.d.ts +6 -4
  69. package/build/js/api/PrivateValidationFlowHandler.js +1 -1
  70. package/build/js/api/ReceiptScanningResult.d.ts +2 -2
  71. package/build/js/api/SerialNumberBarcode.d.ts +2 -0
  72. package/build/js/api/SerialNumberBarcode.js +1 -1
  73. package/build/js/api/SerialNumberBarcodeBuilder.js +1 -1
  74. package/build/js/api/TextFieldBuilder.js +1 -1
  75. package/build/js/api/TotalPriceText.d.ts +4 -2
  76. package/build/js/api/TotalPriceText.js +1 -1
  77. package/build/js/api/TotalPriceTextBuilder.d.ts +2 -2
  78. package/build/js/api/TotalPriceTextBuilder.js +1 -1
  79. package/build/js/api/UnitPriceText.d.ts +4 -2
  80. package/build/js/api/UnitPriceText.js +1 -1
  81. package/build/js/api/UnitPriceTextBuilder.d.ts +2 -2
  82. package/build/js/api/UnitPriceTextBuilder.js +1 -1
  83. package/build/js/api/ValidationFlowField.js +1 -1
  84. package/build/js/api/WeightText.d.ts +4 -2
  85. package/build/js/api/WeightText.js +1 -1
  86. package/build/js/api/WeightTextBuilder.d.ts +2 -2
  87. package/build/js/api/WeightTextBuilder.js +1 -1
  88. package/build/js/chunks/chunk-2W6E3GQH.js +2 -0
  89. package/build/js/chunks/chunk-4QEBUJAR.js +1 -0
  90. package/build/js/chunks/chunk-5X76K74S.js +1 -0
  91. package/build/js/chunks/chunk-6DWFIFUC.js +1 -0
  92. package/build/js/chunks/{chunk-XQBJ3GXA.js → chunk-74H5UWMJ.js} +1 -1
  93. package/build/js/chunks/chunk-7FZ6M63O.js +1 -0
  94. package/build/js/chunks/chunk-ABK45ILU.js +1 -0
  95. package/build/js/chunks/{chunk-WX63L6GU.js → chunk-BDA5SYXG.js} +1 -1
  96. package/build/js/chunks/chunk-BEKGYADV.js +1 -0
  97. package/build/js/chunks/chunk-BQJUSAIQ.js +1 -0
  98. package/build/js/chunks/chunk-BYXHNUWR.js +1 -0
  99. package/build/js/chunks/chunk-CGNWTUD5.js +1 -0
  100. package/build/js/chunks/chunk-CVVZR6MJ.js +1 -0
  101. package/build/js/chunks/chunk-CYK3ORCG.js +1 -0
  102. package/build/js/chunks/chunk-DE2UH73T.js +1 -0
  103. package/build/js/chunks/chunk-EPDDVGLY.js +1 -0
  104. package/build/js/chunks/chunk-GCMVU762.js +1 -0
  105. package/build/js/chunks/chunk-H3VMMXMG.js +1 -0
  106. package/build/js/chunks/chunk-H4H6H5GI.js +1 -0
  107. package/build/js/chunks/chunk-IKDUT4HS.js +1 -0
  108. package/build/js/chunks/chunk-ITZZENSQ.js +1 -0
  109. package/build/js/chunks/chunk-J53ZQXAJ.js +1 -0
  110. package/build/js/chunks/chunk-LAW7AY4G.js +1 -0
  111. package/build/js/chunks/chunk-LEARM7VY.js +1 -0
  112. package/build/js/chunks/{chunk-A6QIZJQN.js → chunk-LQCSGQVX.js} +1 -1
  113. package/build/js/chunks/chunk-M4E4AARR.js +1 -0
  114. package/build/js/chunks/chunk-M6KOA6NQ.js +1 -0
  115. package/build/js/chunks/chunk-MGEXMPRG.js +1 -0
  116. package/build/js/chunks/chunk-MIF4OREL.js +1 -0
  117. package/build/js/chunks/chunk-MVGPTPXX.js +1 -0
  118. package/build/js/chunks/chunk-NCZG3BTH.js +1 -0
  119. package/build/js/chunks/chunk-NRVY22W7.js +1 -0
  120. package/build/js/chunks/chunk-NT3LCYW2.js +1 -0
  121. package/build/js/chunks/{chunk-2K4IDUBI.js → chunk-NY6UU4OC.js} +1 -1
  122. package/build/js/chunks/chunk-O3LIL6A5.js +1 -0
  123. package/build/js/chunks/{chunk-36FUBGEZ.js → chunk-OGERPOPP.js} +1 -1
  124. package/build/js/chunks/{chunk-F5UH7T5M.js → chunk-OI3DYGBC.js} +1 -1
  125. package/build/js/chunks/chunk-PNBJM4BJ.js +1 -0
  126. package/build/js/chunks/chunk-POMTT6U2.js +1 -0
  127. package/build/js/chunks/{chunk-6X5RLIWN.js → chunk-QCDC57QB.js} +1 -1
  128. package/build/js/chunks/chunk-SIJVFBZR.js +1 -0
  129. package/build/js/chunks/{chunk-MQ3C6JQR.js → chunk-TFLJLW4K.js} +1 -1
  130. package/build/js/chunks/chunk-TZB6SCQB.js +1 -0
  131. package/build/js/chunks/chunk-UWPIQICM.js +1 -0
  132. package/build/js/chunks/{chunk-5JGE6TIK.js → chunk-UZ2W2CJH.js} +1 -1
  133. package/build/js/chunks/chunk-V6PSSDG3.js +1 -0
  134. package/build/js/chunks/chunk-V7FLLMXI.js +1 -0
  135. package/build/js/chunks/chunk-VIPA3YVR.js +1 -0
  136. package/build/js/chunks/chunk-VOGHX5ZK.js +1 -0
  137. package/build/js/chunks/chunk-VPU7TPNE.js +1 -0
  138. package/build/js/chunks/chunk-XCYFBGS2.js +1 -0
  139. package/build/js/chunks/chunk-XTTGCSBA.js +1 -0
  140. package/build/js/chunks/chunk-ZWWBOSQM.js +1 -0
  141. package/build/js/chunks/chunk-ZX3QD2MF.js +1 -0
  142. package/build/js/djinni-types/sdcAnalyticsModule.d.ts +2 -3
  143. package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts +1 -0
  144. package/build/js/djinni-types/sdcLabelData.d.ts +2 -1
  145. package/build/js/djinni-types/sdcLabelData.js +1 -1
  146. package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +1 -1
  147. package/build/js/djinni-types/sdcLabelInternalModuleCapture.js +1 -1
  148. package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +1 -1
  149. package/build/js/index.d.ts +5 -4
  150. package/build/js/index.js +1 -1
  151. package/build/js/moduleLoader.js +1 -1
  152. package/build/js/private/PrivateLabelFieldDefinition.d.ts +2 -2
  153. package/build/js/private/adaptiveRecognitionModeTranslator.js +1 -1
  154. package/build/js/private/createProxiedViewFinder.d.ts +3 -3
  155. package/build/js/private/scrollIntoView/compute.d.ts +69 -0
  156. package/build/js/private/scrollIntoView/compute.js +1 -0
  157. package/build/js/private/scrollIntoView/index.d.ts +62 -0
  158. package/build/js/private/scrollIntoView/index.js +1 -0
  159. package/build/js/private/scrollIntoView/types.d.ts +21 -0
  160. package/build/js/private/scrollIntoView/types.js +0 -0
  161. package/build/js/private/viewfinderTranslator.js +1 -1
  162. package/build/js/{sdcLabelInternalModuleCapture-CxPSiq2o.d.ts → sdcLabelInternalModuleCapture-yM8m0vEc.d.ts} +34 -2
  163. package/build/js/ui/atoms/TextInput.d.ts +0 -6
  164. package/build/js/ui/atoms/TextInput.js +1 -1
  165. package/build/js/ui/atoms/viewportUtils.d.ts +27 -0
  166. package/build/js/ui/atoms/viewportUtils.js +1 -0
  167. package/build/js/ui/controllers/KeyboardVisibilityController.d.ts +55 -5
  168. package/build/js/ui/controllers/KeyboardVisibilityController.js +1 -1
  169. package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.d.ts +6 -2
  170. package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.js +1 -1
  171. package/build/js/worker/LabelCaptureWorkerManager.d.ts +2 -2
  172. package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
  173. package/build/js/worker/WorkerMain.d.ts +2 -2
  174. package/build/js/worker/WorkerMain.js +1 -1
  175. package/build/js/worker/WorkerRegistry.d.ts +2 -2
  176. package/build/js/worker/dataCaptureEngine.d.ts +2 -2
  177. package/build/js/worker/dataCaptureEngine.js +1 -1
  178. package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -2
  179. package/build/js/worker/handlers/FieldBuilderHandler.d.ts +2 -2
  180. package/build/js/worker/handlers/FieldBuilderHandler.js +1 -1
  181. package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.d.ts +2 -2
  182. package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.js +1 -1
  183. package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.d.ts +2 -2
  184. package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.js +1 -1
  185. package/build/js/worker/handlers/LabelCaptureHandler.d.ts +2 -2
  186. package/build/js/worker/handlers/LabelCaptureHandler.js +1 -1
  187. package/build/js/worker/handlers/ReceiptScanningHandler.d.ts +2 -2
  188. package/build/js/worker/handlers/ReceiptScanningHandler.js +1 -1
  189. package/build/js/worker/handlers/SettingsHandler.d.ts +2 -2
  190. package/build/js/worker/handlers/SettingsHandler.js +1 -1
  191. package/build/js/worker/handlers/ValidationFlowHandler.d.ts +4 -2
  192. package/build/js/worker/handlers/ValidationFlowHandler.js +1 -1
  193. package/build/js/worker/labelCapture.inlineWorker.d.ts +2 -2
  194. package/build/js/worker/labelCapture.inlineWorker.js +1 -1
  195. package/build/js/worker/labelWorkerHandler.d.ts +2 -2
  196. package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +2 -2
  197. package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
  198. package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +2 -2
  199. package/build/js/worker/proxies/BarcodeFieldProxy.js +1 -1
  200. package/build/js/worker/proxies/CapturedLabelProxy.d.ts +2 -2
  201. package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
  202. package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +2 -2
  203. package/build/js/worker/proxies/CustomBarcodeProxy.js +1 -1
  204. package/build/js/worker/proxies/CustomTextProxy.d.ts +2 -2
  205. package/build/js/worker/proxies/CustomTextProxy.js +1 -1
  206. package/build/js/worker/proxies/DateTextProxy.d.ts +2 -2
  207. package/build/js/worker/proxies/DateTextProxy.js +1 -1
  208. package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +2 -2
  209. package/build/js/worker/proxies/ExpiryDateTextProxy.js +1 -1
  210. package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +2 -2
  211. package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +1 -1
  212. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +2 -2
  213. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +1 -1
  214. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +2 -2
  215. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +1 -1
  216. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +2 -2
  217. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
  218. package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +2 -2
  219. package/build/js/worker/proxies/LabelCaptureHelperProxy.js +1 -1
  220. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +2 -2
  221. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +1 -1
  222. package/build/js/worker/proxies/LabelCaptureProxy.d.ts +2 -2
  223. package/build/js/worker/proxies/LabelCaptureProxy.js +1 -1
  224. package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +2 -2
  225. package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
  226. package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +2 -2
  227. package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
  228. package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +2 -2
  229. package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
  230. package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +4 -2
  231. package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
  232. package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +2 -2
  233. package/build/js/worker/proxies/LabelFieldLocationProxy.js +1 -1
  234. package/build/js/worker/proxies/LabelFieldProxy.d.ts +2 -2
  235. package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
  236. package/build/js/worker/proxies/NativeProxy.d.ts +2 -2
  237. package/build/js/worker/proxies/NativeProxy.js +1 -1
  238. package/build/js/worker/proxies/NoViewfinderProxy.d.ts +2 -2
  239. package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
  240. package/build/js/worker/proxies/PackingDateTextProxy.d.ts +2 -2
  241. package/build/js/worker/proxies/PackingDateTextProxy.js +1 -1
  242. package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +2 -2
  243. package/build/js/worker/proxies/PartNumberBarcodeProxy.js +1 -1
  244. package/build/js/worker/proxies/ReceiptScanningHandlerProxy.d.ts +2 -2
  245. package/build/js/worker/proxies/ReceiptScanningOverlayProxy.d.ts +2 -2
  246. package/build/js/worker/proxies/ReceiptScanningOverlayProxy.js +1 -1
  247. package/build/js/worker/proxies/ReceiptScanningSettingsProxy.d.ts +2 -2
  248. package/build/js/worker/proxies/ReceiptScanningSettingsProxy.js +1 -1
  249. package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.d.ts +2 -2
  250. package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -1
  251. package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +2 -2
  252. package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
  253. package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +2 -2
  254. package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +1 -1
  255. package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +2 -2
  256. package/build/js/worker/proxies/TotalPriceTextProxy.js +1 -1
  257. package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +2 -2
  258. package/build/js/worker/proxies/UnitPriceTextProxy.js +1 -1
  259. package/build/js/worker/proxies/ValidationFlowListenerProxy.d.ts +4 -4
  260. package/build/js/worker/proxies/ValidationFlowListenerProxy.js +1 -1
  261. package/build/js/worker/proxies/ValidationFlowOverlayProxy.d.ts +2 -2
  262. package/build/js/worker/proxies/ValidationFlowOverlayProxy.js +1 -1
  263. package/build/js/worker/proxies/ValidationFlowSettingsProxy.d.ts +2 -2
  264. package/build/js/worker/proxies/ValidationFlowSettingsProxy.js +1 -1
  265. package/build/js/worker/proxies/WeightTextProxy.d.ts +2 -2
  266. package/build/js/worker/proxies/WeightTextProxy.js +1 -1
  267. package/build/js/worker/proxies/base/BarcodeFieldProxyBase.d.ts +2 -2
  268. package/build/js/worker/proxies/base/BarcodeFieldProxyBase.js +1 -1
  269. package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.d.ts +4 -2
  270. package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.js +1 -1
  271. package/build/js/worker/proxies/base/index.d.ts +2 -2
  272. package/build/js/worker/proxies/base/index.js +1 -1
  273. package/package.json +3 -3
  274. package/sdc-lib/resources/models/barcode_1d_scanlines_reconstruction.5c2e5da7e592.model +0 -0
  275. package/sdc-lib/resources/models/barcode_keypoints_oned.c499e5bd6ed4.model +0 -0
  276. package/sdc-lib/resources/models/barcode_label_localization_mslc_model_smartphone.29decf3dd9e6.model +0 -0
  277. package/sdc-lib/resources/models/id_outline_localization_model_kpts.b74ff5cc58cf.model +0 -0
  278. package/sdc-lib/resources/models/ocr_attention.dd4572d2c642.model +0 -0
  279. package/sdc-lib/resources/models/via_id_template_database.488e01f034cb.model +0 -0
  280. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.js +1 -1
  281. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.wasm +0 -0
  282. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.js +1 -1
  283. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.wasm +0 -0
  284. package/sdc-lib/scandit-datacapture-sdk-label-simd.js +1 -1
  285. package/sdc-lib/scandit-datacapture-sdk-label-simd.wasm +0 -0
  286. package/sdc-lib/scandit-datacapture-sdk-label.js +1 -1
  287. package/sdc-lib/scandit-datacapture-sdk-label.wasm +0 -0
  288. package/build/js/chunks/chunk-2JJNU34C.js +0 -1
  289. package/build/js/chunks/chunk-4IN2HVLU.js +0 -1
  290. package/build/js/chunks/chunk-4LEONM2D.js +0 -1
  291. package/build/js/chunks/chunk-5CNHCL7M.js +0 -1
  292. package/build/js/chunks/chunk-7M5DXL6F.js +0 -1
  293. package/build/js/chunks/chunk-ANZRGHEQ.js +0 -1
  294. package/build/js/chunks/chunk-AONFYCPA.js +0 -1
  295. package/build/js/chunks/chunk-AVKEMR5W.js +0 -1
  296. package/build/js/chunks/chunk-CP4Y6VIT.js +0 -1
  297. package/build/js/chunks/chunk-DHFJ3EFE.js +0 -1
  298. package/build/js/chunks/chunk-DVWSNT7T.js +0 -1
  299. package/build/js/chunks/chunk-GVHKYWET.js +0 -1
  300. package/build/js/chunks/chunk-HMFPC3RG.js +0 -1
  301. package/build/js/chunks/chunk-JF7J7XP2.js +0 -1
  302. package/build/js/chunks/chunk-K5Y26N6X.js +0 -1
  303. package/build/js/chunks/chunk-KBXWH2TW.js +0 -1
  304. package/build/js/chunks/chunk-KFIB6ALQ.js +0 -1
  305. package/build/js/chunks/chunk-N2Q2DERV.js +0 -1
  306. package/build/js/chunks/chunk-N4GW7RGB.js +0 -1
  307. package/build/js/chunks/chunk-N7HKYUQ6.js +0 -1
  308. package/build/js/chunks/chunk-NAWWKVI5.js +0 -1
  309. package/build/js/chunks/chunk-NDYVHCIR.js +0 -1
  310. package/build/js/chunks/chunk-OHZCXBA4.js +0 -1
  311. package/build/js/chunks/chunk-PBTK3XKJ.js +0 -1
  312. package/build/js/chunks/chunk-RMO2SLDR.js +0 -1
  313. package/build/js/chunks/chunk-S7PTN3KC.js +0 -1
  314. package/build/js/chunks/chunk-SQEDHQIB.js +0 -1
  315. package/build/js/chunks/chunk-T5PFYQ2F.js +0 -1
  316. package/build/js/chunks/chunk-THXK2CAH.js +0 -1
  317. package/build/js/chunks/chunk-TTPFUFVN.js +0 -1
  318. package/build/js/chunks/chunk-U77DVACF.js +0 -1
  319. package/build/js/chunks/chunk-UDGNT475.js +0 -1
  320. package/build/js/chunks/chunk-VDVJDXZY.js +0 -1
  321. package/build/js/chunks/chunk-VEAIPJDT.js +0 -1
  322. package/build/js/chunks/chunk-W4ZKJPWB.js +0 -1
  323. package/build/js/chunks/chunk-WFKHPFU2.js +0 -1
  324. package/build/js/chunks/chunk-XNRT4YBM.js +0 -1
  325. package/build/js/chunks/chunk-XZAS7UFN.js +0 -1
  326. package/build/js/chunks/chunk-YH6BNOYC.js +0 -1
  327. package/build/js/chunks/chunk-YPFID6RX.js +0 -2
  328. package/build/js/chunks/chunk-ZMEFT4CJ.js +0 -1
  329. package/build/js/chunks/chunk-ZVURFK6X.js +0 -1
  330. package/sdc-lib/resources/models/barcode_keypoints_oned.6697cfdb9ce4.model +0 -0
  331. package/sdc-lib/resources/models/id_outline_localization_model_kpts.b7f16ab1f44c.model +0 -0
  332. package/sdc-lib/resources/models/via_id_template_database.578ae388d1d7.model +0 -0
@@ -1,5 +1,5 @@
1
1
  import { DataCaptureView } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
2
- import { L as LabelCapture } from '../sdcLabelInternalModuleCapture-CxPSiq2o.js';
2
+ import { L as LabelCapture } from '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
3
3
  import { Viewfinder } from './sdcCoreInternalSdkUiViewfinder.js';
4
4
  import { FeatureAvailability } from './sdcCoreInternalSdkCapture.js';
5
5
  import { LabelFieldState } from './sdcLabelData.js';
@@ -14,7 +14,7 @@ export { ImeiOneBarcodeBuilder } from './api/ImeiOneBarcodeBuilder.js';
14
14
  export { ImeiTwoBarcode } from './api/ImeiTwoBarcode.js';
15
15
  export { ImeiTwoBarcodeBuilder } from './api/ImeiTwoBarcodeBuilder.js';
16
16
  export { L as LabelCapture, a as LabelCaptureListener } from './LabelCapture-DrHOFOh1.js';
17
- export { L as LabelCaptureBasicOverlay, a as LabelCaptureBasicOverlayListener } from './LabelCaptureBasicOverlay-DF8gpw6K.js';
17
+ export { L as LabelCaptureBasicOverlay, a as LabelCaptureBasicOverlayListener } from './LabelCaptureBasicOverlay-DFtQFeL_.js';
18
18
  export { LabelCaptureFeedback, LabelCaptureFeedbackJSON } from './api/LabelCaptureFeedback.js';
19
19
  export { LabelCaptureSession, LabelCaptureSessionJSON } from './api/LabelCaptureSession.js';
20
20
  export { LabelCaptureSettings, LabelCaptureSettingsBuilder } from './api/LabelCaptureSettings.js';
@@ -28,6 +28,7 @@ export { LabelFieldDefinitionBuilder } from './api/LabelFieldDefinitionBuilder.j
28
28
  export { LabelFieldLocation } from './api/LabelFieldLocation.js';
29
29
  export { LabelFieldState } from './api/LabelFieldState.js';
30
30
  export { LabelFieldType } from './api/LabelFieldType.js';
31
+ export { LabelResultUpdateType } from './api/LabelResultUpdateType.js';
31
32
  export { PackingDateText } from './api/PackingDateText.js';
32
33
  export { PackingDateTextBuilder } from './api/PackingDateTextBuilder.js';
33
34
  export { PartNumberBarcode } from './api/PartNumberBarcode.js';
@@ -42,12 +43,12 @@ export { UnitPriceText } from './api/UnitPriceText.js';
42
43
  export { UnitPriceTextBuilder } from './api/UnitPriceTextBuilder.js';
43
44
  export { WeightText } from './api/WeightText.js';
44
45
  export { WeightTextBuilder } from './api/WeightTextBuilder.js';
45
- export { L as LabelCaptureAdvancedOverlay, a as LabelCaptureAdvancedOverlayListener } from './LabelCaptureAdvancedOverlay-DzSicuAv.js';
46
+ export { L as LabelCaptureAdvancedOverlay, a as LabelCaptureAdvancedOverlayListener } from './LabelCaptureAdvancedOverlay-FdLIUFg0.js';
46
47
  export { labelCaptureLoader } from './moduleLoader.js';
47
48
  export { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON } from './api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js';
48
49
  export { LabelCaptureValidationFlowSettings } from './api/LabelCaptureValidationFlowSettings.js';
49
50
  export { ReceiptScanningLineItem, ReceiptScanningLineItemJSON } from './api/ReceiptScanningLineItem.js';
50
- export { A as AdaptiveRecognitionResult, a as AdaptiveRecognitionResultType, L as LabelCaptureAdaptiveRecognitionSettings, R as ReceiptScanningResult, b as ReceiptScanningResultJSON, c as ReceiptScanningSettingsJSON } from './NativeProxy-BpXwaSl-.js';
51
+ export { A as AdaptiveRecognitionResult, a as AdaptiveRecognitionResultType, L as LabelCaptureAdaptiveRecognitionSettings, R as ReceiptScanningResult, b as ReceiptScanningResultJSON, c as ReceiptScanningSettingsJSON } from './NativeProxy-wKE5sxLq.js';
51
52
  export { LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, LabelCaptureAdaptiveRecognitionOverlayJSON } from './api/LabelCaptureAdaptiveRecognitionOverlay.js';
52
53
  import '@scandit/web-datacapture-barcode';
53
54
  import '@scandit/web-datacapture-core';
@@ -63,7 +64,7 @@ import './djinni-types/sdcBarcodeInternalSdkData.js';
63
64
  import './djinni-types/sdcBarcodeData.js';
64
65
  import './djinni-types/sdcCoreCommonGeometry.js';
65
66
  import './djinni-types/sdcCoreCommonBuffer.js';
66
- import './sdcLabelInternalModuleCapture-CxPSiq2o.js';
67
+ import './sdcLabelInternalModuleCapture-yM8m0vEc.js';
67
68
  import './djinni-types/sdcSymbologySettings.js';
68
69
  import './djinni-types/sdcCoreInternalSdkArea.js';
69
70
  import './djinni-types/sdcCoreInternalSdkCommonGeometry.js';
package/build/js/index.js CHANGED
@@ -1 +1 @@
1
- export{a as LabelCaptureValidationFlowOverlay}from'./chunks/chunk-VEAIPJDT.js';export{a as WeightTextBuilder}from'./chunks/chunk-YH6BNOYC.js';export{a as WeightText}from'./chunks/chunk-N4GW7RGB.js';export{a as SerialNumberBarcodeBuilder}from'./chunks/chunk-5CNHCL7M.js';export{a as TotalPriceTextBuilder}from'./chunks/chunk-NAWWKVI5.js';export{a as TotalPriceText}from'./chunks/chunk-JF7J7XP2.js';export{a as UnitPriceTextBuilder}from'./chunks/chunk-PBTK3XKJ.js';export{a as UnitPriceText}from'./chunks/chunk-VDVJDXZY.js';export{a as PartNumberBarcodeBuilder}from'./chunks/chunk-RMO2SLDR.js';export{a as PartNumberBarcode}from'./chunks/chunk-7M5DXL6F.js';export{a as SerialNumberBarcode}from'./chunks/chunk-UDGNT475.js';export{a as LabelFieldLocation}from'./chunks/chunk-BGVFXDGB.js';export{a as PackingDateTextBuilder}from'./chunks/chunk-CP4Y6VIT.js';export{a as PackingDateText}from'./chunks/chunk-4IN2HVLU.js';export{a as LabelCaptureValidationFlowSettings}from'./chunks/chunk-CS7EEHHH.js';export{a as LabelDefinition,b as LabelDefinitionBuilder}from'./chunks/chunk-XKSRWFDE.js';export{a as LabelCaptureBasicOverlay}from'./chunks/chunk-XQBJ3GXA.js';export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'./chunks/chunk-QRSFFB7W.js';export{a as ImeiOneBarcodeBuilder}from'./chunks/chunk-THXK2CAH.js';export{a as ImeiOneBarcode}from'./chunks/chunk-OHZCXBA4.js';export{a as ImeiTwoBarcodeBuilder}from'./chunks/chunk-ZMEFT4CJ.js';export{a as ImeiTwoBarcode}from'./chunks/chunk-S7PTN3KC.js';export{a as LabelCapture}from'./chunks/chunk-F5UH7T5M.js';export{a as ReceiptScanningResult}from'./chunks/chunk-CUHE565K.js';export{a as ReceiptScanningLineItem}from'./chunks/chunk-D6QEVE6U.js';export{a as LabelCaptureFeedback}from'./chunks/chunk-XETUH5HN.js';export{a as LabelCaptureAdaptiveRecognitionOverlay}from'./chunks/chunk-A537ABTE.js';export{a as LabelCaptureAdvancedOverlay}from'./chunks/chunk-5JGE6TIK.js';export{a as LabelCaptureSession}from'./chunks/chunk-2K4IDUBI.js';export{a as CustomBarcodeBuilder}from'./chunks/chunk-T5PFYQ2F.js';export{a as CustomBarcode}from'./chunks/chunk-N2Q2DERV.js';export{a as CustomTextBuilder}from'./chunks/chunk-4LEONM2D.js';export{a as CustomText}from'./chunks/chunk-K5Y26N6X.js';export{a as DateTextBuilder}from'./chunks/chunk-ZVURFK6X.js';export{a as LabelDateComponentFormat}from'./chunks/chunk-BJSBS5IL.js';export{a as LabelDateFormat}from'./chunks/chunk-BJFWGOUS.js';export{a as DateText}from'./chunks/chunk-DHFJ3EFE.js';export{a as ExpiryDateTextBuilder}from'./chunks/chunk-U77DVACF.js';export{a as TextFieldBuilder}from'./chunks/chunk-AVKEMR5W.js';export{a as ExpiryDateText}from'./chunks/chunk-SQEDHQIB.js';export{a as labelCaptureLoader}from'./chunks/chunk-6X5RLIWN.js';export{a as AdaptiveRecognitionMode}from'./chunks/chunk-N7HKYUQ6.js';export{a as AdaptiveRecognitionResult}from'./chunks/chunk-DDYADIOR.js';export{a as AdaptiveRecognitionResultType,b as LabelCaptureAdaptiveRecognitionSettings}from'./chunks/chunk-N2RCJCCU.js';export{a as LabelFieldDefinitionBuilder}from'./chunks/chunk-W4ZKJPWB.js';export{a as CapturedLabel}from'./chunks/chunk-36FUBGEZ.js';export{a as LabelField}from'./chunks/chunk-MQ3C6JQR.js';export{a as LabelFieldState}from'./chunks/chunk-COOCFN2K.js';export{a as LabelFieldType}from'./chunks/chunk-ZU6C4VWO.js';export{a as LabelDateResult}from'./chunks/chunk-D5PIEZCN.js';
1
+ export{a as LabelCaptureValidationFlowOverlay}from'./chunks/chunk-EPDDVGLY.js';export{a as TotalPriceTextBuilder}from'./chunks/chunk-DE2UH73T.js';export{a as TotalPriceText}from'./chunks/chunk-H4H6H5GI.js';export{a as UnitPriceTextBuilder}from'./chunks/chunk-7FZ6M63O.js';export{a as UnitPriceText}from'./chunks/chunk-UWPIQICM.js';export{a as WeightTextBuilder}from'./chunks/chunk-ZX3QD2MF.js';export{a as WeightText}from'./chunks/chunk-CGNWTUD5.js';export{a as SerialNumberBarcodeBuilder}from'./chunks/chunk-NRVY22W7.js';export{a as SerialNumberBarcode}from'./chunks/chunk-V6PSSDG3.js';export{a as LabelResultUpdateType}from'./chunks/chunk-XCYFBGS2.js';export{a as PackingDateTextBuilder}from'./chunks/chunk-ITZZENSQ.js';export{a as PackingDateText}from'./chunks/chunk-H3VMMXMG.js';export{a as PartNumberBarcodeBuilder}from'./chunks/chunk-6DWFIFUC.js';export{a as PartNumberBarcode}from'./chunks/chunk-VPU7TPNE.js';export{a as LabelDefinition,b as LabelDefinitionBuilder}from'./chunks/chunk-XKSRWFDE.js';export{a as LabelFieldLocation}from'./chunks/chunk-BGVFXDGB.js';export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'./chunks/chunk-QRSFFB7W.js';export{a as LabelCaptureValidationFlowSettings}from'./chunks/chunk-CS7EEHHH.js';export{a as LabelCapture}from'./chunks/chunk-OI3DYGBC.js';export{a as ReceiptScanningResult}from'./chunks/chunk-CUHE565K.js';export{a as ReceiptScanningLineItem}from'./chunks/chunk-D6QEVE6U.js';export{a as LabelCaptureAdaptiveRecognitionOverlay}from'./chunks/chunk-A537ABTE.js';export{a as LabelCaptureAdvancedOverlay}from'./chunks/chunk-UZ2W2CJH.js';export{a as LabelCaptureSession}from'./chunks/chunk-NY6UU4OC.js';export{a as LabelCaptureBasicOverlay}from'./chunks/chunk-74H5UWMJ.js';export{a as LabelCaptureFeedback}from'./chunks/chunk-XETUH5HN.js';export{a as DateTextBuilder}from'./chunks/chunk-LEARM7VY.js';export{a as LabelDateComponentFormat}from'./chunks/chunk-BJSBS5IL.js';export{a as LabelDateFormat}from'./chunks/chunk-BJFWGOUS.js';export{a as DateText}from'./chunks/chunk-VIPA3YVR.js';export{a as ExpiryDateTextBuilder}from'./chunks/chunk-M6KOA6NQ.js';export{a as ExpiryDateText}from'./chunks/chunk-NCZG3BTH.js';export{a as ImeiOneBarcodeBuilder}from'./chunks/chunk-SIJVFBZR.js';export{a as ImeiOneBarcode}from'./chunks/chunk-LAW7AY4G.js';export{a as ImeiTwoBarcodeBuilder}from'./chunks/chunk-XTTGCSBA.js';export{a as ImeiTwoBarcode}from'./chunks/chunk-MGEXMPRG.js';export{a as AdaptiveRecognitionResult}from'./chunks/chunk-DDYADIOR.js';export{a as AdaptiveRecognitionResultType,b as LabelCaptureAdaptiveRecognitionSettings}from'./chunks/chunk-N2RCJCCU.js';export{a as CapturedLabel}from'./chunks/chunk-OGERPOPP.js';export{a as LabelField}from'./chunks/chunk-TFLJLW4K.js';export{a as LabelFieldType}from'./chunks/chunk-ZU6C4VWO.js';export{a as LabelDateResult}from'./chunks/chunk-D5PIEZCN.js';export{a as LabelFieldState}from'./chunks/chunk-COOCFN2K.js';export{a as CustomBarcodeBuilder}from'./chunks/chunk-CVVZR6MJ.js';export{a as CustomBarcode}from'./chunks/chunk-BYXHNUWR.js';export{a as CustomTextBuilder}from'./chunks/chunk-4QEBUJAR.js';export{a as TextFieldBuilder}from'./chunks/chunk-M4E4AARR.js';export{a as LabelFieldDefinitionBuilder}from'./chunks/chunk-BQJUSAIQ.js';export{a as CustomText}from'./chunks/chunk-ZWWBOSQM.js';export{a as AdaptiveRecognitionMode}from'./chunks/chunk-GCMVU762.js';export{a as labelCaptureLoader}from'./chunks/chunk-QCDC57QB.js';
@@ -1 +1 @@
1
- export{a as labelCaptureLoader}from'./chunks/chunk-6X5RLIWN.js';
1
+ export{a as labelCaptureLoader}from'./chunks/chunk-QCDC57QB.js';
@@ -1,13 +1,13 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
2
  import { LabelFieldDefinition } from '../api/LabelFieldDefinition.js';
3
- import { N as NativeProxyHandle } from '../NativeProxy-BpXwaSl-.js';
3
+ import { N as NativeProxyHandle } from '../NativeProxy-wKE5sxLq.js';
4
4
  import '@scandit/web-datacapture-barcode';
5
5
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
6
6
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
7
7
  import '../djinni-types/sdcBarcodeData.js';
8
8
  import '../djinni-types/sdcCoreCommonGeometry.js';
9
9
  import '../djinni-types/sdcCoreCommonBuffer.js';
10
- import '../sdcLabelInternalModuleCapture-CxPSiq2o.js';
10
+ import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
11
11
  import '../djinni-types/sdcSymbologySettings.js';
12
12
  import '../djinni-types/sdcCoreInternalSdkArea.js';
13
13
  import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
@@ -1 +1 @@
1
- export{a as mapWebAdaptiveRecognitionModeToNativeAdaptiveRecognitionMode}from'../chunks/chunk-ANZRGHEQ.js';
1
+ export{a as mapWebAdaptiveRecognitionModeToNativeAdaptiveRecognitionMode}from'../chunks/chunk-5X76K74S.js';
@@ -1,5 +1,5 @@
1
1
  import { AimerViewfinder, RectangularViewfinder } from '@scandit/web-datacapture-core';
2
- import { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-DF8gpw6K.js';
2
+ import { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-DFtQFeL_.js';
3
3
  import { LabelCaptureWorkerManager } from '../worker/LabelCaptureWorkerManager.js';
4
4
  import '../djinni-types/sdcLabelData.js';
5
5
  import '@scandit/web-datacapture-core/build/js/private/Serializable';
@@ -11,13 +11,13 @@ import '../api/LabelFieldState.js';
11
11
  import '../api/LabelFieldType.js';
12
12
  import '../api/LabelFieldValueType.js';
13
13
  import '../api/LabelDateResult.js';
14
- import '../NativeProxy-BpXwaSl-.js';
14
+ import '../NativeProxy-wKE5sxLq.js';
15
15
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
16
16
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
17
17
  import '../djinni-types/sdcBarcodeData.js';
18
18
  import '../djinni-types/sdcCoreCommonGeometry.js';
19
19
  import '../djinni-types/sdcCoreCommonBuffer.js';
20
- import '../sdcLabelInternalModuleCapture-CxPSiq2o.js';
20
+ import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
21
21
  import '../djinni-types/sdcSymbologySettings.js';
22
22
  import '../djinni-types/sdcCoreInternalSdkArea.js';
23
23
  import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
@@ -0,0 +1,69 @@
1
+ /**
2
+ * This new option is tracked in this PR, which is the most likely candidate at the time: https://github.com/w3c/csswg-drafts/pull/1805
3
+ * @public
4
+ */
5
+ type ScrollMode = "always" | "if-needed";
6
+ /** @public */
7
+ interface Options {
8
+ /**
9
+ * Control the logical scroll position on the y-axis. The spec states that the `block` direction is related to the [writing-mode](https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode), but this is not implemented yet in this library.
10
+ * This means that `block: 'start'` aligns to the top edge and `block: 'end'` to the bottom.
11
+ * @defaultValue 'center'
12
+ */
13
+ block?: ScrollLogicalPosition;
14
+ /**
15
+ * Like `block` this is affected by the [writing-mode](https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode). In left-to-right pages `inline: 'start'` will align to the left edge. In right-to-left it should be flipped. This will be supported in a future release.
16
+ * @defaultValue 'nearest'
17
+ */
18
+ inline?: ScrollLogicalPosition;
19
+ /**
20
+ * This is a proposed addition to the spec that you can track here: https://github.com/w3c/csswg-drafts/pull/5677
21
+ *
22
+ * This library will be updated to reflect any changes to the spec and will provide a migration path.
23
+ * To be backwards compatible with `Element.scrollIntoViewIfNeeded` if something is not 100% visible it will count as "needs scrolling". If you need a different visibility ratio your best option would be to implement an [Intersection Observer](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API).
24
+ * @defaultValue 'always'
25
+ */
26
+ scrollMode?: ScrollMode;
27
+ /**
28
+ * By default there is no boundary. All the parent elements of your target is checked until it reaches the viewport ([`document.scrollingElement`](https://developer.mozilla.org/en-US/docs/Web/API/document/scrollingElement)) when calculating layout and what to scroll.
29
+ * By passing a boundary you can short-circuit this loop depending on your needs:
30
+ *
31
+ * - Prevent the browser window from scrolling.
32
+ * - Scroll elements into view in a list, without scrolling container elements.
33
+ *
34
+ * You can also pass a function to do more dynamic checks to override the scroll scoping:
35
+ *
36
+ * ```js
37
+ * let actions = compute(target, {
38
+ * boundary: (parent) => {
39
+ * // By default `overflow: hidden` elements are allowed, only `overflow: visible | clip` is skipped as
40
+ * // this is required by the CSSOM spec
41
+ * if (getComputedStyle(parent)['overflow'] === 'hidden') {
42
+ * return false
43
+ * }
44
+
45
+ * return true
46
+ * },
47
+ * })
48
+ * ```
49
+ * @defaultValue null
50
+ */
51
+ boundary?: Element | ((parent: Element) => boolean) | null;
52
+ /**
53
+ * New option that skips auto-scrolling all nodes with overflow: hidden set
54
+ * See FF implementation: https://hg.mozilla.org/integration/fx-team/rev/c48c3ec05012#l7.18
55
+ * @defaultValue false
56
+ * @public
57
+ */
58
+ skipOverflowHiddenElements?: boolean;
59
+ }
60
+ /** @public */
61
+ interface ScrollAction {
62
+ el: Element;
63
+ top: number;
64
+ left: number;
65
+ }
66
+ /** @public */
67
+ declare const compute: (target: Element, options: Options) => ScrollAction[];
68
+
69
+ export { type Options, type ScrollAction, type ScrollMode, compute };
@@ -0,0 +1 @@
1
+ export{a as compute}from'../../chunks/chunk-PNBJM4BJ.js';
@@ -0,0 +1,62 @@
1
+ import { Options as Options$1, ScrollAction } from './compute.js';
2
+
3
+ /** @public */
4
+ type Options<T = unknown> = StandardBehaviorOptions | CustomBehaviorOptions<T>;
5
+ /**
6
+ * Only scrolls if the `node` is partially out of view:
7
+ * ```ts
8
+ * scrollIntoView(node, { scrollMode: 'if-needed' })
9
+ * ```
10
+ * Skips scrolling `overflow: hidden` elements:
11
+ * ```ts
12
+ * scrollIntoView(node, { skipOverflowHiddenElements: true })
13
+ * ```
14
+ * When scrolling is needed do the least and smoothest scrolling possible:
15
+ * ```ts
16
+ * scrollIntoView(node, {
17
+ * behavior: 'smooth',
18
+ * scrollMode: 'if-needed',
19
+ * block: 'nearest',
20
+ * inline: 'nearest',
21
+ * })
22
+ * ```
23
+ * @public
24
+ */
25
+ interface StandardBehaviorOptions extends Options$1 {
26
+ /**
27
+ * @defaultValue 'auto
28
+ */
29
+ behavior?: ScrollBehavior;
30
+ }
31
+ /** @public */
32
+ interface CustomBehaviorOptions<T = unknown> extends Options$1 {
33
+ behavior: CustomScrollBehaviorCallback<T>;
34
+ }
35
+ /** @public */
36
+ type CustomScrollBehaviorCallback<T = unknown> = (actions: ScrollAction[]) => T;
37
+ /**
38
+ * Scrolls the given element into view, with options for when, and how.
39
+ * Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.
40
+ * @public
41
+ */
42
+ declare function scrollIntoView(target: Element, options?: StandardBehaviorOptions | boolean): void;
43
+ /**
44
+ * Scrolls the given element into view, with options for when, and how.
45
+ * Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.
46
+ *
47
+ * You can set the expected return type for `behavior: Function`:
48
+ * ```ts
49
+ * await scrollIntoView<Promise<boolean[]>>(node, {
50
+ * behavior: async actions => {
51
+ * return Promise.all(actions.map(
52
+ * // animate() resolves to `true` if anything was animated, `false` if the element already were in the end state
53
+ * ({ el, left, top }) => animate(el, {scroll: {left, top}})
54
+ * ))
55
+ * }
56
+ * })
57
+ * ```
58
+ * @public
59
+ */
60
+ declare function scrollIntoView<T>(target: Element, options: CustomBehaviorOptions<T>): T;
61
+
62
+ export { type CustomBehaviorOptions, type CustomScrollBehaviorCallback, type Options, type StandardBehaviorOptions, scrollIntoView as default };
@@ -0,0 +1 @@
1
+ import {a}from'../../chunks/chunk-PNBJM4BJ.js';var d=e=>e===Object(e)&&Object.keys(e).length!==0,p=e=>typeof e=="object"?typeof e.behavior=="function":false,u=e=>e===false?{block:"end",inline:"nearest"}:d(e)?e:{block:"start",inline:"nearest"},f=e=>{let o=window.getComputedStyle(e);return {top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}},h=e=>{let o=e;for(;o!=null&&o.parentNode;){if(o.parentNode===document)return true;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode;}return false};function m(e,o){if(!e.isConnected||!h(e))return;let t=f(e);if(p(o))return o.behavior(a(e,o));let r=typeof o=="boolean"||o==null?void 0:o.behavior;for(let{el:a$1,top:i,left:s}of a(e,u(o))){let l=i-t.top+t.bottom,c=s-t.left+t.right;a$1.scroll({top:l,left:c,behavior:r});}}var O=m;export{O as default};
@@ -0,0 +1,21 @@
1
+ type ScrollBehavior = "auto" | "smooth";
2
+ type ScrollLogicalPosition = "start" | "center" | "end" | "nearest";
3
+ type ScrollMode = "always" | "if-needed";
4
+ type SkipOverflowHiddenElements = boolean;
5
+ interface Options {
6
+ block?: ScrollLogicalPosition;
7
+ inline?: ScrollLogicalPosition;
8
+ scrollMode?: ScrollMode;
9
+ boundary?: CustomScrollBoundary;
10
+ skipOverflowHiddenElements?: SkipOverflowHiddenElements;
11
+ }
12
+ type CustomScrollBoundaryCallback = (parent: Element) => boolean;
13
+ type CustomScrollBoundary = Element | CustomScrollBoundaryCallback | null;
14
+ interface CustomScrollAction {
15
+ el: Element;
16
+ top: number;
17
+ left: number;
18
+ }
19
+ type CustomScrollBehaviorCallback<T> = (actions: CustomScrollAction[]) => T;
20
+
21
+ export type { CustomScrollAction, CustomScrollBehaviorCallback, CustomScrollBoundary, CustomScrollBoundaryCallback, Options, ScrollBehavior, ScrollLogicalPosition, ScrollMode, SkipOverflowHiddenElements };
File without changes
@@ -1 +1 @@
1
- export{Y as nativeViewfinderFromJSON}from'../chunks/chunk-XNRT4YBM.js';
1
+ export{Y as nativeViewfinderFromJSON}from'../chunks/chunk-MIF4OREL.js';
@@ -1,6 +1,6 @@
1
1
  import { Symbology } from './djinni-types/sdcBarcodeData.js';
2
2
  import { SymbologySettings } from './djinni-types/sdcSymbologySettings.js';
3
- import { WasmFrameData, DataCaptureContext } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
3
+ import { WasmFrameData, DataCaptureContext, WasmFeedback } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
4
4
  import { LocationSelection } from './djinni-types/sdcCoreInternalSdkArea.js';
5
5
  import { WrappedFuture } from './djinni-types/sdcCoreInternalSdkCommonAsync.js';
6
6
  import { ExternalOcrBackend } from './djinni-types/sdcCoreInternalSdkOcr.js';
@@ -111,6 +111,8 @@ interface LabelFieldDefinition {
111
111
  setLocation(location: LabelFieldLocation): void;
112
112
  getDataTypePatterns(): Array<string> | undefined;
113
113
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
114
+ getNumberOfMandatoryInstances(): number | undefined;
115
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
114
116
  }
115
117
  interface LabelDateFormat {
116
118
  componentFormat: LabelDateComponentFormat;
@@ -129,6 +131,8 @@ interface TextField {
129
131
  setLocation(location: LabelFieldLocation): void;
130
132
  getDataTypePatterns(): Array<string> | undefined;
131
133
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
134
+ getNumberOfMandatoryInstances(): number | undefined;
135
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
132
136
  resetDataTypePatterns(): void;
133
137
  }
134
138
  interface DateText {
@@ -143,6 +147,8 @@ interface DateText {
143
147
  getLabelDateFormat(): LabelDateFormat;
144
148
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
145
149
  getDataTypePatterns(): Array<string> | undefined;
150
+ getNumberOfMandatoryInstances(): number | undefined;
151
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
146
152
  resetDataTypePatterns(): void;
147
153
  }
148
154
  interface DateText_statics {
@@ -165,6 +171,8 @@ interface ExpiryDateText {
165
171
  setLocation(location: LabelFieldLocation): void;
166
172
  getDataTypePatterns(): Array<string> | undefined;
167
173
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
174
+ getNumberOfMandatoryInstances(): number | undefined;
175
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
168
176
  }
169
177
  interface ExpiryDateText_statics {
170
178
  create(name: string): ExpiryDateText;
@@ -186,6 +194,8 @@ interface PackingDateText {
186
194
  setLocation(location: LabelFieldLocation): void;
187
195
  getDataTypePatterns(): Array<string> | undefined;
188
196
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
197
+ getNumberOfMandatoryInstances(): number | undefined;
198
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
189
199
  }
190
200
  interface PackingDateText_statics {
191
201
  create(name: string): PackingDateText;
@@ -204,6 +214,8 @@ interface TotalPriceText {
204
214
  setLocation(location: LabelFieldLocation): void;
205
215
  getDataTypePatterns(): Array<string> | undefined;
206
216
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
217
+ getNumberOfMandatoryInstances(): number | undefined;
218
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
207
219
  resetDataTypePatterns(): void;
208
220
  }
209
221
  interface TotalPriceText_statics {
@@ -223,6 +235,8 @@ interface UnitPriceText {
223
235
  setLocation(location: LabelFieldLocation): void;
224
236
  getDataTypePatterns(): Array<string> | undefined;
225
237
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
238
+ getNumberOfMandatoryInstances(): number | undefined;
239
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
226
240
  resetDataTypePatterns(): void;
227
241
  }
228
242
  interface UnitPriceText_statics {
@@ -242,6 +256,8 @@ interface WeightText {
242
256
  setLocation(location: LabelFieldLocation): void;
243
257
  getDataTypePatterns(): Array<string> | undefined;
244
258
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
259
+ getNumberOfMandatoryInstances(): number | undefined;
260
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
245
261
  resetDataTypePatterns(): void;
246
262
  }
247
263
  interface WeightText_statics {
@@ -261,6 +277,8 @@ interface CustomText {
261
277
  setLocation(location: LabelFieldLocation): void;
262
278
  getDataTypePatterns(): Array<string> | undefined;
263
279
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
280
+ getNumberOfMandatoryInstances(): number | undefined;
281
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
264
282
  resetDataTypePatterns(): void;
265
283
  }
266
284
  interface CustomText_statics {
@@ -281,6 +299,8 @@ interface BarcodeField {
281
299
  setLocation(location: LabelFieldLocation): void;
282
300
  getDataTypePatterns(): Array<string> | undefined;
283
301
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
302
+ getNumberOfMandatoryInstances(): number | undefined;
303
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
284
304
  }
285
305
  interface BarcodeField_statics {
286
306
  defaultSymbologies(symbologies: Array<Symbology>): Array<SymbologySettings>;
@@ -299,6 +319,8 @@ interface ImeiOneBarcode {
299
319
  setLocation(location: LabelFieldLocation): void;
300
320
  getDataTypePatterns(): Array<string> | undefined;
301
321
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
322
+ getNumberOfMandatoryInstances(): number | undefined;
323
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
302
324
  /** inherited from barcode_field */
303
325
  getSymbologies(): Array<SymbologySettings>;
304
326
  setSymbologies(symbologies: Array<SymbologySettings>): void;
@@ -320,6 +342,8 @@ interface ImeiTwoBarcode {
320
342
  setLocation(location: LabelFieldLocation): void;
321
343
  getDataTypePatterns(): Array<string> | undefined;
322
344
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
345
+ getNumberOfMandatoryInstances(): number | undefined;
346
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
323
347
  /** inherited from barcode_field */
324
348
  getSymbologies(): Array<SymbologySettings>;
325
349
  setSymbologies(symbologies: Array<SymbologySettings>): void;
@@ -341,6 +365,8 @@ interface PartNumberBarcode {
341
365
  setLocation(location: LabelFieldLocation): void;
342
366
  getDataTypePatterns(): Array<string> | undefined;
343
367
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
368
+ getNumberOfMandatoryInstances(): number | undefined;
369
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
344
370
  /** inherited from barcode_field */
345
371
  getSymbologies(): Array<SymbologySettings>;
346
372
  setSymbologies(symbologies: Array<SymbologySettings>): void;
@@ -362,6 +388,8 @@ interface SerialNumberBarcode {
362
388
  setLocation(location: LabelFieldLocation): void;
363
389
  getDataTypePatterns(): Array<string> | undefined;
364
390
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
391
+ getNumberOfMandatoryInstances(): number | undefined;
392
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
365
393
  /** inherited from barcode_field */
366
394
  getSymbologies(): Array<SymbologySettings>;
367
395
  setSymbologies(symbologies: Array<SymbologySettings>): void;
@@ -383,6 +411,8 @@ interface CustomBarcode {
383
411
  setLocation(location: LabelFieldLocation): void;
384
412
  getDataTypePatterns(): Array<string> | undefined;
385
413
  setDataTypePatterns(dataTypePatterns: Array<string>): void;
414
+ getNumberOfMandatoryInstances(): number | undefined;
415
+ setNumberOfMandatoryInstances(numberOfMandatoryInstances: number | undefined): void;
386
416
  /** inherited from barcode_field */
387
417
  getSymbologies(): Array<SymbologySettings>;
388
418
  setSymbologies(symbologies: Array<SymbologySettings>): void;
@@ -454,6 +484,8 @@ interface ValidationFlowHandler {
454
484
  uncancelCloudBackupTaskForField(fieldName: string): void;
455
485
  addListener(listener: ValidationFlowListener): void;
456
486
  removeListener(listener: ValidationFlowListener): void;
487
+ setFeedbackForCloudBackup(feedback: WasmFeedback): void;
488
+ getFeedbackForCloudBackup(): WasmFeedback;
457
489
  }
458
490
  interface SdcLabelInternalModuleCapture_statics {
459
491
  LabelCapture: LabelCapture_statics;
@@ -476,4 +508,4 @@ interface SdcLabelInternalModuleCapture_statics {
476
508
  LabelFieldLocation: LabelFieldLocation_statics;
477
509
  }
478
510
 
479
- export { type LabelDefinition_statics as A, type BarcodeField as B, type CustomBarcode as C, type DateText as D, type ExpiryDateText as E, type LabelFieldLocation_statics as F, type PackingDateText_statics as G, type PartNumberBarcode_statics as H, type ImeiOneBarcode as I, type ReceiptScanningHandler as J, type SerialNumberBarcode_statics as K, type LabelCapture as L, type TextField as M, type TotalPriceText_statics as N, type UnitPriceText_statics as O, type PackingDateText as P, type WeightText_statics as Q, type ResultOrError as R, type SerialNumberBarcode as S, type TotalPriceText as T, type UnitPriceText as U, ValidationFlowState as V, type WeightText as W, type SdcLabelInternalModuleCapture_statics as X, type ValidationFlowHandler as Y, LabelResultUpdateType as a, type LabelCaptureListener as b, type LabelCaptureSession as c, type LabelFieldLocation as d, type LabelFieldDefinition as e, type CustomText as f, type LabelDateFormat as g, type ImeiTwoBarcode as h, type LabelCaptureHelper as i, type LabelCaptureSettings as j, type LabelDefinition as k, type PartNumberBarcode as l, type ReceiptScanningListener as m, type ValidationFlowListener as n, type ValidationFlowField as o, type LabelResultUpdate as p, type BarcodeField_statics as q, type CustomBarcode_statics as r, type CustomText_statics as s, type DateText_statics as t, type ExpiryDateText_statics as u, type ImeiOneBarcode_statics as v, type ImeiTwoBarcode_statics as w, type LabelCapture_statics as x, type LabelCaptureHelper_statics as y, type LabelCaptureSettings_statics as z };
511
+ export { type LabelFieldLocation_statics as A, type BarcodeField as B, type CustomBarcode as C, type DateText as D, type ExpiryDateText as E, type PackingDateText_statics as F, type PartNumberBarcode_statics as G, type ReceiptScanningHandler as H, type ImeiOneBarcode as I, type SerialNumberBarcode_statics as J, type TextField as K, type LabelCapture as L, type TotalPriceText_statics as M, type UnitPriceText_statics as N, type WeightText_statics as O, type PackingDateText as P, LabelResultUpdateType as Q, type ResultOrError as R, type SerialNumberBarcode as S, type TotalPriceText as T, type UnitPriceText as U, ValidationFlowState as V, type WeightText as W, type SdcLabelInternalModuleCapture_statics as X, type ValidationFlowHandler as Y, type LabelCaptureListener as a, type LabelCaptureSession as b, type LabelFieldLocation as c, type LabelFieldDefinition as d, type CustomText as e, type LabelDateFormat as f, type ImeiTwoBarcode as g, type LabelCaptureHelper as h, type LabelCaptureSettings as i, type LabelDefinition as j, type PartNumberBarcode as k, type ReceiptScanningListener as l, type ValidationFlowListener as m, type ValidationFlowField as n, type LabelResultUpdate as o, type BarcodeField_statics as p, type CustomBarcode_statics as q, type CustomText_statics as r, type DateText_statics as s, type ExpiryDateText_statics as t, type ImeiOneBarcode_statics as u, type ImeiTwoBarcode_statics as v, type LabelCapture_statics as w, type LabelCaptureHelper_statics as x, type LabelCaptureSettings_statics as y, type LabelDefinition_statics as z };
@@ -62,7 +62,6 @@ declare class TextInput extends ScanditHTMLElement {
62
62
  private _placeholder;
63
63
  private _required;
64
64
  private _isInitialized;
65
- private _handleChange;
66
65
  private _handleInput;
67
66
  private _handleFocus;
68
67
  private _handleBlur;
@@ -77,8 +76,6 @@ declare class TextInput extends ScanditHTMLElement {
77
76
  private _scanIcon;
78
77
  private _hintMessage;
79
78
  private _loadingText;
80
- private _viewportMetaTag;
81
- private _originalViewportContent;
82
79
  private _clearTabIndexTimeout;
83
80
  private static createStyleElement;
84
81
  constructor();
@@ -160,7 +157,6 @@ declare class TextInput extends ScanditHTMLElement {
160
157
  */
161
158
  private _setValidityState;
162
159
  private _onInput;
163
- private _onChange;
164
160
  private _onFocus;
165
161
  private _onBlur;
166
162
  private _onKeydown;
@@ -168,8 +164,6 @@ declare class TextInput extends ScanditHTMLElement {
168
164
  select(): void;
169
165
  blur(): void;
170
166
  scrollIntoView(options?: ScrollIntoViewOptions): void;
171
- private _disableViewportZoom;
172
- private _restoreViewportZoom;
173
167
  private _initializeIcons;
174
168
  private _updateCrossIconTabIndex;
175
169
  private _updateInputDisplay;
@@ -1 +1 @@
1
- export{h as TextInput,e as TextInputBlurEvent,c as TextInputClearEvent,a as TextInputEvents,d as TextInputFocusEvent,f as TextInputInputEvent,g as TextInputKeydownEvent,b as TextInputScanEvent}from'../../chunks/chunk-DVWSNT7T.js';
1
+ export{h as TextInput,e as TextInputBlurEvent,c as TextInputClearEvent,a as TextInputEvents,d as TextInputFocusEvent,f as TextInputInputEvent,g as TextInputKeydownEvent,b as TextInputScanEvent}from'../../chunks/chunk-BEKGYADV.js';
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Parse viewport meta tag content string into a Map of properties.
3
+ * Pure function with no side effects.
4
+ *
5
+ * @example
6
+ * parseViewportContent("width=device-width, initial-scale=1.0")
7
+ * // Returns: Map { "width" => "device-width", "initial-scale" => "1.0" }
8
+ *
9
+ * @param content - The viewport content attribute value
10
+ * @returns Map of viewport properties
11
+ */
12
+ declare function parseViewportContent(content: string): Map<string, string>;
13
+ /**
14
+ * Serialize a Map of viewport properties back into content string format.
15
+ * Pure function with no side effects.
16
+ *
17
+ * @example
18
+ * const map = new Map([["width", "device-width"], ["initial-scale", "1.0"]]);
19
+ * serializeViewportContent(map)
20
+ * // Returns: "width=device-width, initial-scale=1.0"
21
+ *
22
+ * @param viewportMap - Map of viewport properties
23
+ * @returns Viewport content string ready for meta tag
24
+ */
25
+ declare function serializeViewportContent(viewportMap: Map<string, string>): string;
26
+
27
+ export { parseViewportContent, serializeViewportContent };
@@ -0,0 +1 @@
1
+ export{a as parseViewportContent,b as serializeViewportContent}from'../../chunks/chunk-J53ZQXAJ.js';
@@ -1,3 +1,5 @@
1
+ import { Orientation } from '@scandit/web-datacapture-core';
2
+
1
3
  /**
2
4
  * Interface for global dependencies that can be injected for testing
3
5
  */
@@ -10,8 +12,9 @@ declare class KeyboardVisibilityChangedEvent extends CustomEvent<{
10
12
  isKeyboardVisible: boolean;
11
13
  keyboardHeight: number;
12
14
  keyboardTop: number;
15
+ orientation: Orientation;
13
16
  }> {
14
- constructor(isKeyboardVisible: boolean, keyboardHeight?: number, keyboardTop?: number);
17
+ constructor(isKeyboardVisible: boolean, keyboardHeight: number | undefined, keyboardTop: number | undefined, orientation: Orientation);
15
18
  }
16
19
  interface KeyboardVisibilityControllerEventMap {
17
20
  "keyboard-visibility-changed": KeyboardVisibilityChangedEvent;
@@ -30,10 +33,41 @@ declare class KeyboardVisibilityController extends EventTarget {
30
33
  private _keyboardTop;
31
34
  private _isConnected;
32
35
  private _refCount;
36
+ /**
37
+ * Initial viewport height captured when first connecting.
38
+ * Used as reference to detect keyboard in portrait mode.
39
+ *
40
+ * Critical for iOS Safari bug: when keyboard appears, BOTH window.innerHeight
41
+ * and visualViewport.height shrink. We can't reliably use window.innerHeight
42
+ * after keyboard appears, so we store the initial value before any keyboard.
43
+ */
33
44
  private _initialViewportHeight;
45
+ /**
46
+ * Initial viewport width captured when first connecting.
47
+ * Used as reference to detect keyboard in landscape mode.
48
+ *
49
+ * Why we need this: In landscape, the portrait viewport width becomes the
50
+ * landscape height reference. Since keyboard doesn't affect width in portrait,
51
+ * we can safely use _initialViewportWidth as the landscape height reference.
52
+ *
53
+ * This solves the landscape orientation change problem:
54
+ * - User starts in portrait: we capture height + width
55
+ * - User rotates to landscape with keyboard visible
56
+ * - Can't recalculate height (keyboard is visible, both dimensions shrunk)
57
+ * - Solution: use stored portrait width as landscape height reference
58
+ *
59
+ * Special case - initial keyboard detection:
60
+ * If an input is already focused on connect (auto-focus), we detect the keyboard
61
+ * and estimate the true pre-keyboard width by comparing visualViewport.height to
62
+ * window.innerHeight. This ensures the stored width is the full device width,
63
+ * not a shrunk value. This is critical for correct rotation behavior.
64
+ */
65
+ private _initialViewportWidth;
34
66
  private _handleFocusIn;
35
67
  private _handleFocusOut;
36
68
  private _handleVisualViewportResize;
69
+ private _handleOrientationChange;
70
+ private _orientationObserver;
37
71
  private readonly _globals;
38
72
  private static readonly KEYBOARD_HEIGHT_THRESHOLD;
39
73
  private static readonly VIEWPORT_RESIZE_DEBOUNCE;
@@ -57,9 +91,24 @@ declare class KeyboardVisibilityController extends EventTarget {
57
91
  private _setupListeners;
58
92
  private _removeListeners;
59
93
  /**
60
- * Calculate keyboard height using Visual Viewport API
61
- * On iOS, window.innerHeight shrinks when keyboard appears, so we must use
62
- * the initial viewport height as reference instead.
94
+ * Calculate keyboard height using Visual Viewport API with orientation awareness.
95
+ *
96
+ * iOS Safari bug workaround (https://bugs.webkit.org/show_bug.cgi?id=195428):
97
+ * When keyboard appears, both window.innerHeight and visualViewport.height shrink.
98
+ * We can't use current window.innerHeight as reference. Instead, we use the
99
+ * initial viewport dimensions captured before keyboard appeared.
100
+ *
101
+ * Orientation-aware logic:
102
+ * - PORTRAIT: keyboard_height = _initialViewportHeight - visualViewport.height
103
+ * (height is the dimension affected by keyboard)
104
+ *
105
+ * - LANDSCAPE: keyboard_height = _initialViewportWidth - visualViewport.height
106
+ * (portrait width becomes landscape height; width unaffected by keyboard)
107
+ *
108
+ * This solves the landscape orientation change problem:
109
+ * If user rotates to landscape while keyboard is visible, we can't recalculate
110
+ * the initial height (both dimensions shrunk). But we have the stored portrait
111
+ * width, which becomes the landscape height reference.
63
112
  */
64
113
  private _calculateKeyboardHeight;
65
114
  /**
@@ -69,9 +118,10 @@ declare class KeyboardVisibilityController extends EventTarget {
69
118
  private _calculateKeyboardTop;
70
119
  /**
71
120
  * Handle visual viewport resize events
72
- * Called by debounced handler after viewport has stopped resizing
121
+ * Called by debounced handler after viewport has stopped resizing (250ms debounce)
73
122
  */
74
123
  private _onVisualViewportResize;
124
+ private _onOrientationChange;
75
125
  private _onFocusIn;
76
126
  private _onFocusOut;
77
127
  isKeyboardVisible(): boolean;
@@ -1 +1 @@
1
- export{a as KeyboardVisibilityChangedEvent,b as KeyboardVisibilityController}from'../../chunks/chunk-HMFPC3RG.js';
1
+ export{a as KeyboardVisibilityChangedEvent,b as KeyboardVisibilityController}from'../../chunks/chunk-VOGHX5ZK.js';