@scandit/web-datacapture-core 7.1.0 → 7.2.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 (148) hide show
  1. package/build/electron/common.cjs +1 -1
  2. package/build/electron/constants.cjs +1 -1
  3. package/build/electron/main.cjs +1 -1
  4. package/build/electron/preload.cjs +1 -1
  5. package/build/js/AimerViewfinder.d.ts +1 -0
  6. package/build/js/AimerViewfinder.js +1 -1
  7. package/build/js/Brush.d.ts +1 -0
  8. package/build/js/Brush.js +1 -1
  9. package/build/js/{Camera-DsOMNsZu.d.ts → Camera-BbwZV9Lu.d.ts} +77 -12
  10. package/build/js/Camera.d.ts +3 -2
  11. package/build/js/Camera.js +1 -1
  12. package/build/js/CameraAccess.d.ts +3 -2
  13. package/build/js/CameraRelated.d.ts +3 -2
  14. package/build/js/CameraRelated.js +1 -1
  15. package/build/js/Common.js +1 -1
  16. package/build/js/DataCaptureContext.d.ts +2 -1
  17. package/build/js/DataCaptureContext.js +1 -1
  18. package/build/js/DataCaptureContextRelated.d.ts +3 -2
  19. package/build/js/DataCaptureVersion.js +1 -1
  20. package/build/js/DataCaptureView.d.ts +2 -1
  21. package/build/js/DataCaptureView.js +1 -1
  22. package/build/js/Defaults.d.ts +2 -1
  23. package/build/js/Defaults.js +1 -1
  24. package/build/js/Feedback.js +1 -1
  25. package/build/js/FrameData.d.ts +3 -2
  26. package/build/js/ImageFrameSource.d.ts +3 -2
  27. package/build/js/LocationSelection.js +1 -1
  28. package/build/js/RectangularViewfinder.d.ts +1 -0
  29. package/build/js/RectangularViewfinder.js +1 -1
  30. package/build/js/ScanditIcon.js +1 -1
  31. package/build/js/ScanditIconBuilder.js +1 -1
  32. package/build/js/SingleImageUploader.d.ts +3 -2
  33. package/build/js/SingleImageUploader.js +1 -1
  34. package/build/js/SingleImageUploaderSettings.js +1 -1
  35. package/build/js/Vibration.js +1 -1
  36. package/build/js/Viewfinder.d.ts +5 -0
  37. package/build/js/chunks/chunk-2IAGUFM2.js +1 -0
  38. package/build/js/chunks/{chunk-RIMH6UPR.js → chunk-3BBG6EVS.js} +1 -1
  39. package/build/js/chunks/{chunk-AD3CNBDO.js → chunk-3OBWS6CO.js} +1 -1
  40. package/build/js/chunks/{chunk-PWRWWFPG.js → chunk-4QDKNW3V.js} +1 -1
  41. package/build/js/chunks/{chunk-6MF4F3EH.js → chunk-5FUZURCZ.js} +1 -1
  42. package/build/js/chunks/{chunk-76CQG6HG.js → chunk-6FPW3MIJ.js} +1 -1
  43. package/build/js/chunks/chunk-6HLE7FER.js +4 -0
  44. package/build/js/chunks/chunk-77BBIAZE.js +1 -0
  45. package/build/js/chunks/chunk-ACXIZNMK.js +1 -0
  46. package/build/js/chunks/chunk-AIC4H5KG.js +2 -0
  47. package/build/js/chunks/chunk-AOSR5K23.js +1 -0
  48. package/build/js/chunks/{chunk-YGFWA4WG.js → chunk-AYWOZOZP.js} +1 -1
  49. package/build/js/chunks/chunk-BA3RP6L2.js +1 -0
  50. package/build/js/chunks/chunk-BYMYBEMT.js +1 -0
  51. package/build/js/chunks/{chunk-R2VJDRLZ.js → chunk-CBF2PLFL.js} +1 -1
  52. package/build/js/chunks/chunk-CWOHXN5B.js +1 -0
  53. package/build/js/chunks/chunk-CXBLYHGE.js +1 -0
  54. package/build/js/chunks/{chunk-JO2MKLMM.js → chunk-DCVQRKUG.js} +1 -1
  55. package/build/js/chunks/{chunk-ZDYFZYVT.js → chunk-DCZONWJ2.js} +1 -1
  56. package/build/js/chunks/{chunk-CAIEX6BZ.js → chunk-E3TDSWVQ.js} +1 -1
  57. package/build/js/chunks/{chunk-64US32RY.js → chunk-EXY5MS5K.js} +1 -1
  58. package/build/js/chunks/{chunk-JRBLEJMD.js → chunk-FSWALUUO.js} +1 -1
  59. package/build/js/chunks/chunk-IHTCYPDZ.js +1 -0
  60. package/build/js/chunks/chunk-JVZYXEYO.js +1 -0
  61. package/build/js/chunks/{chunk-BWOCR6MD.js → chunk-KRIYEHHW.js} +1 -1
  62. package/build/js/chunks/{chunk-HC2AMLBI.js → chunk-L7TY4UEP.js} +1 -1
  63. package/build/js/chunks/{chunk-YEMIFGKZ.js → chunk-LU4WMIH5.js} +1 -1
  64. package/build/js/chunks/{chunk-EFNSFA3N.js → chunk-ORCTCIRE.js} +2 -2
  65. package/build/js/chunks/{chunk-7LG2KINM.js → chunk-PGNGNB6M.js} +1 -1
  66. package/build/js/chunks/{chunk-4YVKSEZS.js → chunk-SEAKJV3R.js} +1 -1
  67. package/build/js/chunks/chunk-SH2KZV6C.js +1 -0
  68. package/build/js/chunks/{chunk-7ALHRD5L.js → chunk-T5FGQOCF.js} +1 -1
  69. package/build/js/chunks/{chunk-7B2VPGLP.js → chunk-TCJPGGHY.js} +1 -1
  70. package/build/js/chunks/{chunk-NQC64CT7.js → chunk-UD3Z45BT.js} +1 -1
  71. package/build/js/chunks/{chunk-FHGLVS66.js → chunk-WSR7IH2J.js} +1 -1
  72. package/build/js/chunks/{chunk-7JX43F4O.js → chunk-Y6NN3VBO.js} +1 -1
  73. package/build/js/chunks/{chunk-T5QHKJ2U.js → chunk-YKP6UYCY.js} +1 -1
  74. package/build/js/chunks/chunk-ZE2WH3AH.js +1 -0
  75. package/build/js/chunks/{chunk-5PHKPYK6.js → chunk-ZG2DNH5P.js} +1 -1
  76. package/build/js/index.d.ts +3 -2
  77. package/build/js/index.js +1 -1
  78. package/build/js/private/AnchorPositions.js +1 -1
  79. package/build/js/private/CameraAccess.d.ts +3 -2
  80. package/build/js/private/CameraManager.d.ts +3 -2
  81. package/build/js/private/CameraManager.js +1 -1
  82. package/build/js/private/CanvasDrawerWithMetrics.d.ts +3 -2
  83. package/build/js/private/CoreModuleLicenseTextProvider.d.ts +3 -2
  84. package/build/js/private/CustomLocationsView.d.ts +12 -1
  85. package/build/js/private/CustomLocationsView.js +1 -1
  86. package/build/js/private/DataCaptureContextRelated.d.ts +3 -2
  87. package/build/js/private/FrameReaders/FrameReader.d.ts +3 -2
  88. package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +2 -1
  89. package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +2 -1
  90. package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
  91. package/build/js/private/FrameReaders/index.d.ts +3 -2
  92. package/build/js/private/FrameReaders/index.js +1 -1
  93. package/build/js/private/GestureRecognizer/GestureRecognizer.js +1 -1
  94. package/build/js/private/GestureRecognizer/index.js +1 -1
  95. package/build/js/private/Helper.js +1 -1
  96. package/build/js/private/HtmlElementState.js +1 -1
  97. package/build/js/private/NormalizedConfigureOptions.d.ts +3 -2
  98. package/build/js/private/ViewControls+related.js +1 -1
  99. package/build/js/private/ViewControls_related.d.ts +3 -2
  100. package/build/js/private/ViewsRegistry.d.ts +3 -2
  101. package/build/js/private/nativeHandle.d.ts +4 -0
  102. package/build/js/private/nativeHandle.js +1 -0
  103. package/build/js/private/ui/atoms/ProgressBar.js +1 -1
  104. package/build/js/private/ui/atoms/ShutterButton.d.ts +1 -1
  105. package/build/js/private/ui/atoms/ShutterButton.js +22 -6
  106. package/build/js/private/ui/atoms/Toast.d.ts +3 -2
  107. package/build/js/private/ui/atoms/Toast.js +1 -1
  108. package/build/js/private/ui/colors.js +1 -1
  109. package/build/js/private/ui/molecules/HintPresenter.d.ts +2 -1
  110. package/build/js/private/ui/molecules/HintPresenter.js +1 -1
  111. package/build/js/private/ui/molecules/LoadingOverlay.js +1 -1
  112. package/build/js/private/utils/index.js +1 -1
  113. package/build/js/private/utils/replaceImagesInViewUtils.d.ts +21 -0
  114. package/build/js/private/utils/replaceImagesInViewUtils.js +1 -0
  115. package/build/js/private/utils/symbols.d.ts +7 -0
  116. package/build/js/private/utils/symbols.js +1 -0
  117. package/build/js/private/utils/warnMultithreadingUnavailable.d.ts +4 -0
  118. package/build/js/private/utils/warnMultithreadingUnavailable.js +2 -0
  119. package/build/js/sdk.d.ts +3 -2
  120. package/build/js/worker/WorkerMain.d.ts +3 -2
  121. package/build/js/worker/WorkerMain.js +1 -1
  122. package/build/js/worker/dataCapture.inlineWorker.d.ts +4 -3
  123. package/build/js/worker/dataCapture.inlineWorker.js +1 -1
  124. package/build/js/worker/dataCaptureEngine.d.ts +2 -1
  125. package/build/js/worker/dataCaptureEngine.js +1 -1
  126. package/build/js/worker/dataCaptureLoader.d.ts +3 -2
  127. package/build/js/worker/dataCaptureLoader.js +1 -1
  128. package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -1
  129. package/build/js/worker/dataCaptureWorkerRelated.js +1 -1
  130. package/build/js/worker/helper.js +1 -1
  131. package/build/js/worker/helperFs.js +1 -1
  132. package/build/js/worker/importWasmScript.js +1 -1
  133. package/build/js/worker/index.d.ts +3 -2
  134. package/build/js/worker/index.js +1 -1
  135. package/package.json +2 -11
  136. package/build/js/chunks/chunk-2WN7BGOB.js +0 -1
  137. package/build/js/chunks/chunk-5DETRQ7Y.js +0 -1
  138. package/build/js/chunks/chunk-A4OAOJ72.js +0 -1
  139. package/build/js/chunks/chunk-BOCQXSFU.js +0 -1
  140. package/build/js/chunks/chunk-G33OCZIN.js +0 -1
  141. package/build/js/chunks/chunk-GAVFMG2G.js +0 -1
  142. package/build/js/chunks/chunk-GZ4F55TI.js +0 -1
  143. package/build/js/chunks/chunk-KRWPFM7Z.js +0 -1
  144. package/build/js/chunks/chunk-LDJ53PEJ.js +0 -1
  145. package/build/js/chunks/chunk-QK3D2DQM.js +0 -4
  146. package/build/js/chunks/chunk-RQQK6Z5F.js +0 -2
  147. package/build/js/chunks/chunk-TM7QAJVA.js +0 -1
  148. package/build/js/chunks/chunk-U2GDN6EV.js +0 -1
@@ -1 +1 @@
1
- var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty;module.exports=(e={},((e,n,c,l)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let a of o(n))p.call(e,a)||a===c||t(e,a,{get:()=>n[a],enumerable:!(l=r(n,a))||l.enumerable});return e})(t({},"__esModule",{value:!0}),e));
1
+ "use strict";var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty;module.exports=(e={},((e,c,n,l)=>{if(c&&"object"==typeof c||"function"==typeof c)for(let u of o(c))p.call(e,u)||u===n||t(e,u,{get:()=>c[u],enumerable:!(l=r(c,u))||l.enumerable});return e})(t({},"__esModule",{value:!0}),e));
@@ -1 +1 @@
1
- var e,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,p={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(p,{CHN:()=>y,Id:()=>i,K:()=>l}),module.exports=(e=p,((e,p,a,l)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let i of o(p))n.call(e,i)||i===a||r(e,i,{get:()=>p[i],enumerable:!(l=t(p,i))||l.enumerable});return e})(r({},"__esModule",{value:!0}),e));var a=String.fromCodePoint,l=a.apply(String,[119,101,98,107,105,116,84,114,97,110,115,112,111,114,116,68,117,112,108,101,120,67,104,97,110,110,101,108]),i=a.apply(String,[53,65,41,124,75,47,108,120,50,48,115,62,66,60,107,57]),y=a.apply(String,[111,74,88,52,51,101,51,112,66,79,38,88,40,65,36,94]);
1
+ "use strict";var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,p={};((e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})})(p,{CHN:()=>y,Id:()=>i,K:()=>l}),module.exports=(e=p,((e,p,a,l)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let i of o(p))n.call(e,i)||i===a||t(e,i,{get:()=>p[i],enumerable:!(l=r(p,i))||l.enumerable});return e})(t({},"__esModule",{value:!0}),e));var a=String.fromCodePoint,l=a.apply(String,[119,101,98,107,105,116,84,114,97,110,115,112,111,114,116,68,117,112,108,101,120,67,104,97,110,110,101,108]),i=a.apply(String,[53,65,41,124,75,47,108,120,50,48,115,62,66,60,107,57]),y=a.apply(String,[111,74,88,52,51,101,51,112,66,79,38,88,40,65,36,94]);
@@ -1 +1 @@
1
- var e,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,p={};((e,n)=>{for(var a in n)t(e,a,{get:n[a],enumerable:!0})})(p,{register:()=>u,unregister:()=>f}),module.exports=(e=p,((e,p,s,o)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let i of a(p))r.call(e,i)||i===s||t(e,i,{get:()=>p[i],enumerable:!(o=n(p,i))||o.enumerable});return e})(t({},"__esModule",{value:!0}),e));var s=String.fromCodePoint,o=(s.apply(String,[119,101,98,107,105,116,84,114,97,110,115,112,111,114,116,68,117,112,108,101,120,67,104,97,110,110,101,108]),s.apply(String,[53,65,41,124,75,47,108,120,50,48,115,62,66,60,107,57])),i=s.apply(String,[111,74,88,52,51,101,51,112,66,79,38,88,40,65,36,94]);function c(e,t){return async function(n,a){if(function(e,t){const n=new URL(e.url);return t.senderId===o&&"localhost"===n.hostname||""===n.hostname}(n.senderFrame,a))switch(a.type){case"get-license-key":if(null!=a.payload)try{const r=await async function(e,t){const{fs:n,crypto:a,path:r,app:p}=e,[s,o]=t.publicKey.split(":"),i=r.join(p.getAppPath(),t.licenseDataPath);return function(e,t,n){const r=a.createDecipheriv("aes-256-cbc",t,n);let p=r.update(e,"hex","utf8");return p+=r.final("utf8"),p}((await n.readFile(i)).toString("utf8"),Buffer.from(s,"base64"),Buffer.from(o,"base64"))}(e,{licenseDataPath:a.payload.licenseDataPath,publicKey:t});n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{licenseKey:r??""}})}catch(e){n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{error:e}})}break;case"get-app-info":try{const t=await async function(e){const{fs:t,path:n,app:a}=e;let r=process.cwd();a.isPackaged&&(r=a.getAppPath());const p=await t.readFile(n.join(r,"package.json"),"utf8"),s=JSON.parse(p);return{appId:s.build?.appId??s.appId,name:s.name,version:s.version}}(e);n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{isPackaged:e.app.isPackaged,version:t.version??e.app.getVersion(),appName:t.name??e.app.getName(),appId:t.appId??""}})}catch(e){n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{error:e}})}}}}var d=null,l=null;function u(e,t){l=e,d=c(e,t),l.ipcMain.on(i,d)}function f(){null!=d&&null!=l&&l.ipcMain.off(i,d)}
1
+ "use strict";var e,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,p={};((e,n)=>{for(var a in n)t(e,a,{get:n[a],enumerable:!0})})(p,{register:()=>u,unregister:()=>f}),module.exports=(e=p,((e,p,s,o)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let i of a(p))r.call(e,i)||i===s||t(e,i,{get:()=>p[i],enumerable:!(o=n(p,i))||o.enumerable});return e})(t({},"__esModule",{value:!0}),e));var s=String.fromCodePoint,o=(s.apply(String,[119,101,98,107,105,116,84,114,97,110,115,112,111,114,116,68,117,112,108,101,120,67,104,97,110,110,101,108]),s.apply(String,[53,65,41,124,75,47,108,120,50,48,115,62,66,60,107,57])),i=s.apply(String,[111,74,88,52,51,101,51,112,66,79,38,88,40,65,36,94]);function c(e,t){return async function(n,a){if(function(e,t){const n=new URL(e.url);return t.senderId===o&&"localhost"===n.hostname||""===n.hostname}(n.senderFrame,a))switch(a.type){case"get-license-key":if(null!=a.payload)try{const r=await async function(e,t){const{fs:n,crypto:a,path:r,app:p}=e,[s,o]=t.publicKey.split(":"),i=r.join(p.getAppPath(),t.licenseDataPath);return function(e,t,n){const r=a.createDecipheriv("aes-256-cbc",t,n);let p=r.update(e,"hex","utf8");return p+=r.final("utf8"),p}((await n.readFile(i)).toString("utf8"),Buffer.from(s,"base64"),Buffer.from(o,"base64"))}(e,{licenseDataPath:a.payload.licenseDataPath,publicKey:t});n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{licenseKey:r??""}})}catch(e){n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{error:e}})}break;case"get-app-info":try{const t=await async function(e){const{fs:t,path:n,app:a}=e;let r=process.cwd();a.isPackaged&&(r=a.getAppPath());const p=await t.readFile(n.join(r,"package.json"),"utf8"),s=JSON.parse(p);return{appId:s.build?.appId??s.appId,name:s.name,version:s.version}}(e);n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{isPackaged:e.app.isPackaged,version:t.version??e.app.getVersion(),appName:t.name??e.app.getName(),appId:t.appId??""}})}catch(e){n.sender.send(i,{type:a.type,senderId:a.senderId,payload:{error:e}})}}}}var d=null,l=null;function u(e,t){l=e,d=c(e,t),l.ipcMain.on(i,d)}function f(){null!=d&&null!=l&&l.ipcMain.off(i,d)}
@@ -1 +1 @@
1
- var e,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,p={};((e,n)=>{for(var t in n)r(e,t,{get:n[t],enumerable:!0})})(p,{preloadBindings:()=>s}),module.exports=(e=p,((e,p,a,l)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let y of t(p))o.call(e,y)||y===a||r(e,y,{get:()=>p[y],enumerable:!(l=n(p,y))||l.enumerable});return e})(r({},"__esModule",{value:!0}),e));var a=require("electron"),l=String.fromCodePoint,y=l.apply(String,[119,101,98,107,105,116,84,114,97,110,115,112,111,114,116,68,117,112,108,101,120,67,104,97,110,110,101,108]),i=l.apply(String,[53,65,41,124,75,47,108,120,50,48,115,62,66,60,107,57]),c=l.apply(String,[111,74,88,52,51,101,51,112,66,79,38,88,40,65,36,94]);function d(e){return null!=e.payload.error}function s(e){a.contextBridge.exposeInMainWorld(y,Object.freeze(function(e){return{getAppInfo:async()=>new Promise(((r,n)=>{e.once(c,((e,t)=>{d(t)&&n(t.payload.error),"get-app-info"===t.type&&r(t.payload)})),e.send(c,{type:"get-app-info",senderId:i})})),getKey:async r=>new Promise(((n,t)=>{e.once(c,((e,r)=>{d(r)&&t(r.payload.error),"get-license-key"===r.type&&n(r.payload)})),e.send(c,{type:"get-license-key",senderId:i,payload:r})}))}}(e)))}
1
+ "use strict";var e,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,p={};((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(p,{preloadBindings:()=>s}),module.exports=(e=p,((e,p,a,i)=>{if(p&&"object"==typeof p||"function"==typeof p)for(let l of n(p))o.call(e,l)||l===a||r(e,l,{get:()=>p[l],enumerable:!(i=t(p,l))||i.enumerable});return e})(r({},"__esModule",{value:!0}),e));var a=require("electron"),i=String.fromCodePoint,l=i.apply(String,[119,101,98,107,105,116,84,114,97,110,115,112,111,114,116,68,117,112,108,101,120,67,104,97,110,110,101,108]),y=i.apply(String,[53,65,41,124,75,47,108,120,50,48,115,62,66,60,107,57]),c=i.apply(String,[111,74,88,52,51,101,51,112,66,79,38,88,40,65,36,94]);function d(e){return null!=e.payload.error}function s(e){a.contextBridge.exposeInMainWorld(l,Object.freeze(function(e){return{getAppInfo:async()=>new Promise(((r,t)=>{e.once(c,((e,n)=>{d(n)&&t(n.payload.error),"get-app-info"===n.type&&r(n.payload)})),e.send(c,{type:"get-app-info",senderId:y})})),getKey:async r=>new Promise(((t,n)=>{e.once(c,((e,r)=>{d(r)&&n(r.payload.error),"get-license-key"===r.type&&t(r.payload)})),e.send(c,{type:"get-license-key",senderId:y,payload:r})}))}}(e)))}
@@ -3,6 +3,7 @@ import { Color } from './Common.js';
3
3
  import { Viewfinder } from './Viewfinder.js';
4
4
  import { AimerViewfinderJSON } from './ViewfinderPlusRelated.js';
5
5
  import { Serializable } from './private/Serializable.js';
6
+ import './private/nativeHandle.js';
6
7
 
7
8
  declare class AimerViewfinder implements Viewfinder, Serializable<AimerViewfinderJSON> {
8
9
  frameColor: Color;
@@ -1 +1 @@
1
- export{a as AimerViewfinder}from'./chunks/chunk-PWRWWFPG.js';
1
+ export{a as AimerViewfinder}from'./chunks/chunk-4QDKNW3V.js';
@@ -22,6 +22,7 @@ declare class Brush implements Serializable<BrushJSON> {
22
22
  get strokeWidth(): number;
23
23
  private static areEquals;
24
24
  toJSONObject(): BrushJSON;
25
+ protected static fromJSONObject(json: BrushJSON): Brush;
25
26
  }
26
27
 
27
28
  export { Brush, type BrushJSON };
package/build/js/Brush.js CHANGED
@@ -1 +1 @@
1
- export{a as Brush}from'./chunks/chunk-G33OCZIN.js';
1
+ export{a as Brush}from'./chunks/chunk-ACXIZNMK.js';
@@ -1,13 +1,14 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { Serializable } from './private/Serializable.js';
3
+ import { Size, Orientation, MarginsWithUnitJSON, PointWithUnitJSON, Anchor, MarginsWithUnit, PointWithUnit, Point, Quadrilateral, JSONType, RectJSON, PointJSON, Rect } from './Common.js';
3
4
  import { WatermarkStack } from './private/FrameReaders/WatermarkStack.js';
4
5
  import { Optional, MethodSignature } from './tsHelper.js';
5
- import { Size, Orientation, MarginsWithUnitJSON, PointWithUnitJSON, Anchor, MarginsWithUnit, PointWithUnit, Point, Quadrilateral, JSONType, RectJSON, PointJSON } from './Common.js';
6
6
  import './ScanditIcon.js';
7
7
  import { DataCaptureContextSettings, DataCaptureContextSettingsJSON } from './DataCaptureContextSettings.js';
8
8
  import { LogoStyle, FocusGestureJSON, ZoomGestureJSON, FocusGesture, ZoomGesture } from './DataCaptureViewPlusRelated.js';
9
9
  import { Control } from './ViewControls.js';
10
- import { DidTapCustomLocationsViewListener, StateToRender } from './private/CustomLocationsView.js';
10
+ import { DidTapCustomLocationsViewListener, StateToRender, StateToRenderDomView } from './private/CustomLocationsView.js';
11
+ import { nativeHandle } from './private/nativeHandle.js';
11
12
  import { AnchorPositions } from './private/AnchorPositions.js';
12
13
  import { OpenSourceSoftwareLicenseInfo } from './license/OpenSourceSoftwareLicenseInfo.js';
13
14
  import { HTMLElementStateJSON } from './private/HtmlElementState.js';
@@ -331,6 +332,10 @@ declare enum PrivateMirrorAxis {
331
332
  }
332
333
 
333
334
  interface DataCaptureOverlay extends Serializable {
335
+ [nativeHandle]?: {
336
+ className: string;
337
+ id: number;
338
+ };
334
339
  toJSONObject: () => any;
335
340
  }
336
341
  interface DataCaptureViewListener {
@@ -343,8 +348,8 @@ interface DataCaptureViewJSON {
343
348
  logoOffset: PointWithUnitJSON;
344
349
  logoHidden: boolean;
345
350
  logoStyle: LogoStyle;
346
- overlays: any[];
347
- controls: any[];
351
+ overlays: ReturnType<DataCaptureOverlay["toJSONObject"]>[];
352
+ controls: ReturnType<Control["toJSONObject"]>[];
348
353
  focusGesture: FocusGestureJSON | null;
349
354
  zoomGesture: ZoomGestureJSON | null;
350
355
  }
@@ -441,7 +446,7 @@ declare class DataCaptureView$1 implements Serializable<DataCaptureViewJSON> {
441
446
  allowPictureInPicture(allow: boolean): Promise<void>;
442
447
  protected viewAnchorPositionsForFrameAnchorPositions(anchorPositions: AnchorPositions): AnchorPositions;
443
448
  protected setDidTapCustomLocationsViewListener(didTapViewListener: DidTapCustomLocationsViewListener): void;
444
- protected renderCustomLocationsView(state: StateToRender): void;
449
+ protected renderCustomLocationsView(state: StateToRender | StateToRenderDomView): void;
445
450
  private removeStyles;
446
451
  private onHintPresenterUpdate;
447
452
  private clearHtmlElementContent;
@@ -585,8 +590,12 @@ interface DataCaptureMode extends Serializable {
585
590
  setEnabled(enabled: boolean): Promise<void>;
586
591
  context: Optional<DataCaptureContext$1>;
587
592
  }
593
+ interface NativeDataCaptureMode {
594
+ isEnabled(): Promise<boolean>;
595
+ setEnabled(enabled: boolean): Promise<void>;
596
+ }
588
597
  interface DataCaptureModeJSON<S = JSONType> {
589
- type: "barcodeCapture" | "barcodeTracking" | "idCapture" | "parser" | "sparkScan" | "barcodeFind" | "barcodeCheck";
598
+ type: "barcodeCapture" | "barcodeTracking" | "idCapture" | "parser" | "sparkScan" | "barcodeFind" | "barcodeCheck" | "labelCapture";
590
599
  enabled: boolean;
591
600
  settings: S;
592
601
  }
@@ -608,12 +617,15 @@ interface PrivateDataCaptureContext<W extends (...parameters: any[]) => unknown
608
617
  components: DataCaptureComponent[];
609
618
  initialize: () => Promise<void>;
610
619
  update: (changeSet?: PrivateChangeSet) => Promise<void>;
620
+ addNativeOverlay: (overlay: DataCaptureOverlay) => Promise<void>;
621
+ removeNativeOverlay: (overlay: DataCaptureOverlay) => Promise<void>;
611
622
  addComponent: (component: DataCaptureComponent) => Promise<void>;
612
623
  dataCaptureInstance: DataCaptureLoader;
613
624
  sendFrameToProcessor: (capture: FrameCapture) => Promise<WorkerResponse<"processFrame">>;
614
625
  subscribeToWorkerMessages: (listener: (message: DataCaptureCallbackMessage) => void) => void;
615
626
  unsubscribeToWorkerMessages: (listener: (message: DataCaptureCallbackMessage) => void) => void;
616
627
  hasEnabledMode: () => boolean;
628
+ hasEnabledNativeMode: () => Promise<boolean>;
617
629
  workerCommand: MethodSignature<W>;
618
630
  performanceMark: MethodSignature<DataCaptureContext$1["performanceMark"]>;
619
631
  isFeatureSupported: (feature: LicensedFeature) => Promise<boolean>;
@@ -654,6 +666,7 @@ declare class DataCaptureContext$1 implements Serializable<DataCaptureContextJSO
654
666
  private _frameSource;
655
667
  private _view;
656
668
  private readonly modes;
669
+ private readonly nativeModes;
657
670
  private readonly components;
658
671
  private readonly listeners;
659
672
  private readonly updateListeners;
@@ -720,9 +733,14 @@ declare class DataCaptureContext$1 implements Serializable<DataCaptureContextJSO
720
733
  private getViewInfo;
721
734
  private getMirrorAxisForFrameSource;
722
735
  private addComponent;
736
+ private addNativeMode;
737
+ private removeNativeMode;
738
+ private addNativeOverlay;
739
+ private removeNativeOverlay;
723
740
  private subscribeToWorkerMessages;
724
741
  private unsubscribeToWorkerMessages;
725
742
  private hasEnabledMode;
743
+ private hasEnabledNativeMode;
726
744
  /**
727
745
  * Some capture modes process frames synchronously, like IdCapture. Other can process multiple frames
728
746
  * in parallel, like MatrixScan. We inform the CameraManager how to process frames.
@@ -734,7 +752,7 @@ declare class DataCaptureContext$1 implements Serializable<DataCaptureContextJSO
734
752
  /**
735
753
  * MESSAGES (ACTIONS) SENT TO THE WORKER
736
754
  */
737
- type DataCaptureActionMessageKey = "createContext" | "deleteFrameData" | "dispose" | "documentVisibility" | "extractCentaurusLicense" | "flushAnalytics" | "isFeatureSupported" | "loadLibrary" | "onTap" | "processFrame" | "reportCameraProperties" | "requestFrameData" | "setFrameSource" | "setLogLevel" | "updateContext" | "hintPresenterV2update" | "getViewfinderInfo" | "getOpenSourceSoftwareLicenseInfo";
755
+ type DataCaptureActionMessageKey = "createContext" | "deleteFrameData" | "dispose" | "documentVisibility" | "extractCentaurusLicense" | "flushAnalytics" | "isFeatureSupported" | "loadLibrary" | "onTap" | "processFrame" | "reportCameraProperties" | "requestFrameData" | "setFrameSource" | "setLogLevel" | "updateContext" | "hintPresenterV2update" | "getViewfinderInfo" | "getOpenSourceSoftwareLicenseInfo" | "addNativeOverlay" | "removeNativeOverlay";
738
756
  interface ExtractCentaurusLicenseResponse {
739
757
  centaurus: {
740
758
  licenseKey: string;
@@ -821,7 +839,21 @@ type GetViewfinderInfoAction = DataCaptureActionMessage & {
821
839
  type GetOpenSourceSoftwareLicenseInfoAction = DataCaptureActionMessage & {
822
840
  command: "getOpenSourceSoftwareLicenseInfo";
823
841
  };
824
- type AnyDataCaptureActionMessage = CreateContextDataCaptureAction | DeleteFrameDataDataCaptureAction | DisposeDataCaptureAction | ExtractCentaurusLicenseDataCaptureAction | FlushAnalyticsDataCaptureAction | IsFeatureSupportedAction | LoadLibraryDataCaptureAction | OnTapAction | ProcessFrameDataCaptureAction | ReportCameraPropertiesDataCaptureAction | RequestFrameDataDataCaptureAction | SetFrameSourceDataCaptureAction | SetLogLevelDataCaptureAction | UpdateContextDataCaptureAction | VisibilityChangeAction | HintPresenterV2updateAction | GetViewfinderInfoAction | GetOpenSourceSoftwareLicenseInfoAction;
842
+ type AddNativeOverlayAction = DataCaptureActionMessage & {
843
+ command: "addNativeOverlay";
844
+ overlayHandle: {
845
+ className: string;
846
+ id: number;
847
+ };
848
+ };
849
+ type RemoveNativeOverlayAction = DataCaptureActionMessage & {
850
+ command: "removeNativeOverlay";
851
+ overlayHandle: {
852
+ className: string;
853
+ id: number;
854
+ };
855
+ };
856
+ type AnyDataCaptureActionMessage = CreateContextDataCaptureAction | DeleteFrameDataDataCaptureAction | DisposeDataCaptureAction | ExtractCentaurusLicenseDataCaptureAction | FlushAnalyticsDataCaptureAction | IsFeatureSupportedAction | LoadLibraryDataCaptureAction | OnTapAction | ProcessFrameDataCaptureAction | ReportCameraPropertiesDataCaptureAction | RequestFrameDataDataCaptureAction | SetFrameSourceDataCaptureAction | SetLogLevelDataCaptureAction | UpdateContextDataCaptureAction | VisibilityChangeAction | HintPresenterV2updateAction | GetViewfinderInfoAction | GetOpenSourceSoftwareLicenseInfoAction | AddNativeOverlayAction | RemoveNativeOverlayAction;
825
857
  /**
826
858
  * MESSAGES EMITTED BY THE WORKER
827
859
  */
@@ -1396,6 +1428,14 @@ declare class DataCaptureEngine<M extends Module> {
1396
1428
  */
1397
1429
  startDrawLoop(view: DataCaptureView): void;
1398
1430
  updateContext(contextUpdateParameters: UpdateContextParameters): EngineWorkerResponse<"updateContext">;
1431
+ /**
1432
+ * Called before updateContextFromJson
1433
+ *
1434
+ * @protected
1435
+ * @param {UpdateContextParameters} contextUpdateParameters
1436
+ * @returns {UpdateContextParameters}
1437
+ */
1438
+ protected onBeforeUpdateContextHook(contextUpdateParameters: UpdateContextParameters): UpdateContextParameters;
1399
1439
  onDocumentVisibilityChange(state: DocumentVisibilityState): void;
1400
1440
  isFeatureSupported(feature: LicensedFeature): EngineWorkerResponse<"isFeatureSupported">;
1401
1441
  getViewfinderInfo(): EngineWorkerResponse<"getViewfinderInfo">;
@@ -1419,7 +1459,19 @@ declare class DataCaptureEngine<M extends Module> {
1419
1459
  private contextDidChangeStatus;
1420
1460
  private didStartObservingContext;
1421
1461
  private mapMirrorAxisOnModule;
1422
- private setView;
1462
+ protected setView(view: DataCaptureView | undefined): void;
1463
+ /**
1464
+ * Add a native overlay to the view without passing from the deserializer.
1465
+ * must be implemented in the specific module.
1466
+ * @param event - The message event containing the overlay handle.
1467
+ */
1468
+ addNativeOverlay(event: MessageEvent<AnyDataCaptureActionMessage>): void;
1469
+ /**
1470
+ * Remove a native overlay from the view.
1471
+ * must be implemented in the specific module.
1472
+ * @param event - The message event containing the overlay handle.
1473
+ */
1474
+ removeNativeOverlay(event: MessageEvent<AnyDataCaptureActionMessage>): void;
1423
1475
  private setViewRefreshHandler;
1424
1476
  private setupDataDecoding;
1425
1477
  private start;
@@ -1495,6 +1547,8 @@ declare class CameraManager {
1495
1547
  gui: GUI;
1496
1548
  selectedCamera?: DeviceCamera$1;
1497
1549
  videoElement: HTMLVideoElement;
1550
+ private constraint;
1551
+ private clipArea?;
1498
1552
  private readonly checkCameraVideoStreamAccessIfVisibleListener;
1499
1553
  private readonly handleWebGLContextLostListener;
1500
1554
  private readonly listeners;
@@ -1536,6 +1590,8 @@ declare class CameraManager {
1536
1590
  private torchToggleEnabled;
1537
1591
  private videoMetadataCheckInterval;
1538
1592
  private isWebGLSupported;
1593
+ private clippedFrameRequestID?;
1594
+ private isVideoStreamPaused;
1539
1595
  constructor();
1540
1596
  get mediaStream(): MediaStream | undefined;
1541
1597
  set mediaStream(stream: MediaStream | undefined);
@@ -1545,8 +1601,8 @@ declare class CameraManager {
1545
1601
  static instance(): CameraManager;
1546
1602
  recycle(pixelsData: Uint8ClampedArray): void;
1547
1603
  getCurrentFrame(): FrameCapture | undefined;
1548
- requestVideoFrame(scheduledFunction: FrameRequestCallback | VideoFrameRequestCallback): number;
1549
- cancelVideoFrame(id: number): void;
1604
+ requestVideoFrame(scheduledFunction: FrameRequestCallback | VideoFrameRequestCallback, videoElement?: HTMLVideoElement): number;
1605
+ cancelVideoFrame(id: number, videoElement?: HTMLVideoElement): void;
1550
1606
  addListener<E extends CameraManagerEvent>(event: CameraManagerEvent, listener: (details: CameraManagerEventParameters<E>) => void): void;
1551
1607
  applyCameraSettings(cameraSettings?: CameraSettings): Promise<void>;
1552
1608
  captureImage(): FrameCapture | null;
@@ -1588,6 +1644,11 @@ declare class CameraManager {
1588
1644
  setFrameReaderType(type: ColorType): void;
1589
1645
  allowPictureInPicture(allow: boolean): Promise<void>;
1590
1646
  setFrameHandling(synchronous: boolean): void;
1647
+ setClipArea(clipArea?: Rect): Promise<void>;
1648
+ /**
1649
+ * Converts a rectangle in DataCaptureView coordinates to camera frame coordinates.
1650
+ */
1651
+ private frameRectFromViewRect;
1591
1652
  private accessAutoselectedCamera;
1592
1653
  private getFrameReaderOptions;
1593
1654
  private getFrameReader;
@@ -1636,6 +1697,9 @@ declare class CameraManager {
1636
1697
  private updateStreamForResolution;
1637
1698
  private videoTrackEndedRecovery;
1638
1699
  private videoTrackMuteRecovery;
1700
+ private clipMediaStreamIfNeeded;
1701
+ private drawClippedFrame;
1702
+ private cleanupClippedStream;
1639
1703
  }
1640
1704
 
1641
1705
  interface CameraJSON extends FrameSourceJSON {
@@ -1690,6 +1754,7 @@ declare class Camera implements FrameSource, Serializable<CameraJSON> {
1690
1754
  getMirrorImageEnabled(): boolean;
1691
1755
  setMirrorImageEnabled(enabled: boolean): Promise<void>;
1692
1756
  getCurrentState(): FrameSourceState;
1757
+ setClipArea(area?: Rect): Promise<void>;
1693
1758
  private setCurrentState;
1694
1759
  /**
1695
1760
  * Starts camera according to the given position. If a deviceId is set, pre-select the corresponding camera.
@@ -1718,4 +1783,4 @@ declare class Camera implements FrameSource, Serializable<CameraJSON> {
1718
1783
  private isZoomAvailable;
1719
1784
  }
1720
1785
 
1721
- export { type ModuleHandler as $, type PrivateFrameHandler as A, DataCaptureContext$1 as B, CameraPosition as C, DataCaptureLoader as D, type DataCaptureContextListener as E, FocusGestureStrategy as F, type ContextStatusJSON as G, ContextStatus as H, PrivateMirrorAxis as I, type DataCaptureOverlay as J, type DataCaptureViewListener as K, type DataCaptureViewJSON as L, DataCaptureView$1 as M, type FrameData as N, type PrivateLoadableFrameData as O, type PrivateChangeSet as P, convertToPublicFrameData as Q, type DataCaptureLoaderOptions as R, type PerformanceMetrics as S, TorchState as T, DataCaptureEngine as U, VideoResolution as V, type Module as W, type DataCaptureCallbackMessage as X, type GenericHint as Y, type AnyDataCaptureActionMessage as Z, type AugmentedWorker as _, type FrameSource as a, HintIcon as a$, type DataCaptureActionMessageKey as a0, type EngineWorkerResponse as a1, type ExtractCentaurusLicenseResponse as a2, type RequestFrameDataResponse as a3, type IsFeatureSupportedResponse as a4, type GetViewfinderInfo as a5, type GetOpenSourceSoftwareLicenseInfoResponse as a6, type WorkerResponse as a7, type LoadLibraryDataCaptureAction as a8, type CreateContextDataCaptureAction as a9, type OnFrameSkippedMessage as aA, type ShowToastMessage as aB, type HideToastMessage as aC, type ShowGuidanceMessage as aD, type HideGuidanceMessage as aE, type StartUpdateTimerMessage as aF, type StopUpdateTimerMessage as aG, type PayloadForCommand as aH, type DataCaptureWorker as aI, type EmscriptenClassHandle as aJ, type DataCaptureContext as aK, type DataCaptureImageBufferFrameSource as aL, type GestureListener as aM, type GestureRecognizer as aN, type DataCaptureView as aO, type JSONParseable as aP, type DataCaptureContextDeserializerResult as aQ, type DataCaptureContextDeserializer as aR, type CaptureModeDeserializerInstance as aS, type ModuleMirrorAxis as aT, type Vector as aU, type WasmFrameData as aV, HintFont as aW, HintTextAlignment as aX, HintWidth as aY, HintHeight as aZ, HintCornerStyle as a_, type SetFrameSourceDataCaptureAction as aa, type ProcessFrameDataCaptureAction as ab, type RequestFrameDataDataCaptureAction as ac, type DeleteFrameDataDataCaptureAction as ad, type VisibilityChangeAction as ae, type IsFeatureSupportedAction as af, type UpdateContextDataCaptureAction as ag, type DisposeDataCaptureAction as ah, type FlushAnalyticsDataCaptureAction as ai, type ReportCameraPropertiesDataCaptureAction as aj, type SetLogLevelDataCaptureAction as ak, type ExtractCentaurusLicenseDataCaptureAction as al, type OnTapAction as am, type HintPresenterV2updateAction as an, type GetViewfinderInfoAction as ao, type GetOpenSourceSoftwareLicenseInfoAction as ap, type DataCaptureCallbackMessageKeys as aq, type SuccessFeedbackWorkerMessage as ar, type ShowHintWorkerMessage as as, type UpdateHintWorkerMessage as at, type IsFeatureSupportedMessage as au, type HideHintWorkerMessage as av, type PerformanceMetricsReportMessage as aw, type DidTapTrackedBarcode as ax, type OnFrameProcessingStartedMessage as ay, type OnFrameProcessingFinishedMessage as az, FrameSourceState as b, HintAnchor as b0, type HintStyle as b1, GuidanceHintAnchor as b2, GuidanceHintStyle as b3, type GuidanceHint as b4, ToastHintStyle as b5, type ToastHint as b6, LicensedFeature as b7, type HintPresenterV2 as b8, type PlatformHintPresenter as b9, type LoadLibraryParameters as ba, type CreateContextParameters as bb, type UpdateContextParameters as bc, type SetFrameSourceParameters as bd, type ProcessFrameParameters as be, type ReportCameraPropertiesParameters as bf, type WorkerFunctions as bg, FrameReaderAbstract as bh, ColorType as bi, type PoolCapacityOptions as bj, type FrameCapture as bk, FrameReader as bl, CameraPosition$1 as bm, CameraResolutionConstraint$1 as bn, AspectRatio as bo, type DeviceCamera$1 as bp, CameraAccess$1 as bq, MeteringMode as br, CameraResolutionConstraint as bs, type ExtendedMediaTrackCapabilities as bt, type ExtendedMediaTrackConstraintSet as bu, type GUI as bv, CameraManagerEvent as bw, type CameraManagerEventParameters as bx, CameraManager as by, type FrameSourceListener as c, type FrameSourceJSON as d, type CameraJSON as e, type VideoFrameResolution as f, Camera as g, type CameraSettingsJSONBase as h, type CameraSettingsFromJSON as i, type CameraSettingsJSON as j, isCameraFrameSource as k, CameraSettings as l, CameraAccess as m, type DeviceCamera as n, type Change as o, type PrivateDataCaptureMode as p, type DataCaptureMode as q, type DataCaptureModeJSON as r, type PrivateDataCaptureComponent as s, type DataCaptureComponentJSON as t, type DataCaptureComponent as u, type PrivateDataCaptureContextOptions as v, type PrivateDataCaptureContext as w, type DataCaptureContextCreationOptions as x, type DataCaptureContextJSON as y, type PrivateFrameHandlerResponse as z };
1786
+ export { type AugmentedWorker as $, type PrivateFrameHandler as A, DataCaptureContext$1 as B, CameraPosition as C, DataCaptureLoader as D, type DataCaptureContextListener as E, FocusGestureStrategy as F, type ContextStatusJSON as G, ContextStatus as H, PrivateMirrorAxis as I, type DataCaptureOverlay as J, type DataCaptureViewListener as K, type DataCaptureViewJSON as L, DataCaptureView$1 as M, type NativeDataCaptureMode as N, type FrameData as O, type PrivateChangeSet as P, type PrivateLoadableFrameData as Q, convertToPublicFrameData as R, type DataCaptureLoaderOptions as S, TorchState as T, DataCaptureEngine as U, VideoResolution as V, type Module as W, type PerformanceMetrics as X, type DataCaptureCallbackMessage as Y, type GenericHint as Z, type AnyDataCaptureActionMessage as _, type FrameSource as a, HintWidth as a$, type ModuleHandler as a0, type DataCaptureActionMessageKey as a1, type EngineWorkerResponse as a2, type ExtractCentaurusLicenseResponse as a3, type RequestFrameDataResponse as a4, type IsFeatureSupportedResponse as a5, type GetViewfinderInfo as a6, type GetOpenSourceSoftwareLicenseInfoResponse as a7, type WorkerResponse as a8, type LoadLibraryDataCaptureAction as a9, type DidTapTrackedBarcode as aA, type OnFrameProcessingStartedMessage as aB, type OnFrameProcessingFinishedMessage as aC, type OnFrameSkippedMessage as aD, type ShowToastMessage as aE, type HideToastMessage as aF, type ShowGuidanceMessage as aG, type HideGuidanceMessage as aH, type StartUpdateTimerMessage as aI, type StopUpdateTimerMessage as aJ, type PayloadForCommand as aK, type DataCaptureWorker as aL, type EmscriptenClassHandle as aM, type DataCaptureContext as aN, type DataCaptureImageBufferFrameSource as aO, type GestureListener as aP, type GestureRecognizer as aQ, type DataCaptureView as aR, type JSONParseable as aS, type DataCaptureContextDeserializerResult as aT, type DataCaptureContextDeserializer as aU, type CaptureModeDeserializerInstance as aV, type ModuleMirrorAxis as aW, type Vector as aX, type WasmFrameData as aY, HintFont as aZ, HintTextAlignment as a_, type CreateContextDataCaptureAction as aa, type SetFrameSourceDataCaptureAction as ab, type ProcessFrameDataCaptureAction as ac, type RequestFrameDataDataCaptureAction as ad, type DeleteFrameDataDataCaptureAction as ae, type VisibilityChangeAction as af, type IsFeatureSupportedAction as ag, type UpdateContextDataCaptureAction as ah, type DisposeDataCaptureAction as ai, type FlushAnalyticsDataCaptureAction as aj, type ReportCameraPropertiesDataCaptureAction as ak, type SetLogLevelDataCaptureAction as al, type ExtractCentaurusLicenseDataCaptureAction as am, type OnTapAction as an, type HintPresenterV2updateAction as ao, type GetViewfinderInfoAction as ap, type GetOpenSourceSoftwareLicenseInfoAction as aq, type AddNativeOverlayAction as ar, type RemoveNativeOverlayAction as as, type DataCaptureCallbackMessageKeys as at, type SuccessFeedbackWorkerMessage as au, type ShowHintWorkerMessage as av, type UpdateHintWorkerMessage as aw, type IsFeatureSupportedMessage as ax, type HideHintWorkerMessage as ay, type PerformanceMetricsReportMessage as az, FrameSourceState as b, HintHeight as b0, HintCornerStyle as b1, HintIcon as b2, HintAnchor as b3, type HintStyle as b4, GuidanceHintAnchor as b5, GuidanceHintStyle as b6, type GuidanceHint as b7, ToastHintStyle as b8, type ToastHint as b9, type CameraManagerEventParameters as bA, CameraManager as bB, LicensedFeature as ba, type HintPresenterV2 as bb, type PlatformHintPresenter as bc, type LoadLibraryParameters as bd, type CreateContextParameters as be, type UpdateContextParameters as bf, type SetFrameSourceParameters as bg, type ProcessFrameParameters as bh, type ReportCameraPropertiesParameters as bi, type WorkerFunctions as bj, FrameReaderAbstract as bk, ColorType as bl, type PoolCapacityOptions as bm, type FrameCapture as bn, FrameReader as bo, CameraPosition$1 as bp, CameraResolutionConstraint$1 as bq, AspectRatio as br, type DeviceCamera$1 as bs, CameraAccess$1 as bt, MeteringMode as bu, CameraResolutionConstraint as bv, type ExtendedMediaTrackCapabilities as bw, type ExtendedMediaTrackConstraintSet as bx, type GUI as by, CameraManagerEvent as bz, type FrameSourceListener as c, type FrameSourceJSON as d, type CameraJSON as e, type VideoFrameResolution as f, Camera as g, type CameraSettingsJSONBase as h, type CameraSettingsFromJSON as i, type CameraSettingsJSON as j, isCameraFrameSource as k, CameraSettings as l, CameraAccess as m, type DeviceCamera as n, type Change as o, type PrivateDataCaptureMode as p, type DataCaptureMode as q, type DataCaptureModeJSON as r, type PrivateDataCaptureComponent as s, type DataCaptureComponentJSON as t, type DataCaptureComponent as u, type PrivateDataCaptureContextOptions as v, type PrivateDataCaptureContext as w, type DataCaptureContextCreationOptions as x, type DataCaptureContextJSON as y, type PrivateFrameHandlerResponse as z };
@@ -1,9 +1,9 @@
1
1
  /// <reference types="emscripten" />
2
- export { g as Camera, e as CameraJSON, f as VideoFrameResolution } from './Camera-DsOMNsZu.js';
2
+ export { g as Camera, e as CameraJSON, f as VideoFrameResolution } from './Camera-BbwZV9Lu.js';
3
+ import './Common.js';
3
4
  import './private/Serializable.js';
4
5
  import './private/FrameReaders/WatermarkStack.js';
5
6
  import './tsHelper.js';
6
- import './Common.js';
7
7
  import './ScanditIcon.js';
8
8
  import './private/utils/ScanditHTMLElement.js';
9
9
  import './DataCaptureContextSettings.js';
@@ -12,6 +12,7 @@ import './ViewControls.js';
12
12
  import './private/CustomLocationsView.js';
13
13
  import './private/View.js';
14
14
  import './private/AnchorPositions.js';
15
+ import './private/nativeHandle.js';
15
16
  import './license/OpenSourceSoftwareLicenseInfo.js';
16
17
  import './private/HtmlElementState.js';
17
18
  import './worker/OverrideState.js';
@@ -1 +1 @@
1
- export{a as Camera}from'./chunks/chunk-GZ4F55TI.js';
1
+ export{a as Camera}from'./chunks/chunk-2IAGUFM2.js';
@@ -1,9 +1,9 @@
1
1
  /// <reference types="emscripten" />
2
- export { m as CameraAccess, n as DeviceCamera } from './Camera-DsOMNsZu.js';
2
+ export { m as CameraAccess, n as DeviceCamera } from './Camera-BbwZV9Lu.js';
3
3
  import './private/Serializable.js';
4
+ import './Common.js';
4
5
  import './private/FrameReaders/WatermarkStack.js';
5
6
  import './tsHelper.js';
6
- import './Common.js';
7
7
  import './ScanditIcon.js';
8
8
  import './private/utils/ScanditHTMLElement.js';
9
9
  import './DataCaptureContextSettings.js';
@@ -12,6 +12,7 @@ import './ViewControls.js';
12
12
  import './private/CustomLocationsView.js';
13
13
  import './private/View.js';
14
14
  import './private/AnchorPositions.js';
15
+ import './private/nativeHandle.js';
15
16
  import './license/OpenSourceSoftwareLicenseInfo.js';
16
17
  import './private/HtmlElementState.js';
17
18
  import './worker/OverrideState.js';
@@ -1,9 +1,9 @@
1
1
  /// <reference types="emscripten" />
2
- export { C as CameraPosition, l as CameraSettings, i as CameraSettingsFromJSON, j as CameraSettingsJSON, h as CameraSettingsJSONBase, F as FocusGestureStrategy, a as FrameSource, d as FrameSourceJSON, c as FrameSourceListener, b as FrameSourceState, T as TorchState, V as VideoResolution, k as isCameraFrameSource } from './Camera-DsOMNsZu.js';
2
+ export { C as CameraPosition, l as CameraSettings, i as CameraSettingsFromJSON, j as CameraSettingsJSON, h as CameraSettingsJSONBase, F as FocusGestureStrategy, a as FrameSource, d as FrameSourceJSON, c as FrameSourceListener, b as FrameSourceState, T as TorchState, V as VideoResolution, k as isCameraFrameSource } from './Camera-BbwZV9Lu.js';
3
3
  import './private/Serializable.js';
4
+ import './Common.js';
4
5
  import './private/FrameReaders/WatermarkStack.js';
5
6
  import './tsHelper.js';
6
- import './Common.js';
7
7
  import './ScanditIcon.js';
8
8
  import './private/utils/ScanditHTMLElement.js';
9
9
  import './DataCaptureContextSettings.js';
@@ -12,6 +12,7 @@ import './ViewControls.js';
12
12
  import './private/CustomLocationsView.js';
13
13
  import './private/View.js';
14
14
  import './private/AnchorPositions.js';
15
+ import './private/nativeHandle.js';
15
16
  import './license/OpenSourceSoftwareLicenseInfo.js';
16
17
  import './private/HtmlElementState.js';
17
18
  import './worker/OverrideState.js';
@@ -1 +1 @@
1
- export{c as CameraPosition,g as CameraSettings,e as FocusGestureStrategy,a as FrameSourceState,b as TorchState,d as VideoResolution,f as isCameraFrameSource}from'./chunks/chunk-NQC64CT7.js';
1
+ export{c as CameraPosition,g as CameraSettings,e as FocusGestureStrategy,a as FrameSourceState,b as TorchState,d as VideoResolution,f as isCameraFrameSource}from'./chunks/chunk-UD3Z45BT.js';
@@ -1 +1 @@
1
- export{q as Anchor,n as Color,p as Direction,m as MarginsWithUnit,c as MeasureUnit,d as NumberWithUnit,o as Orientation,a as Point,e as PointWithUnit,b as Quadrilateral,f as Rect,g as RectWithUnit,i as Size,j as SizeWithAspect,h as SizeWithUnit,l as SizeWithUnitAndAspect,k as SizingMode}from'./chunks/chunk-LDJ53PEJ.js';
1
+ export{q as Anchor,n as Color,p as Direction,m as MarginsWithUnit,c as MeasureUnit,d as NumberWithUnit,o as Orientation,a as Point,e as PointWithUnit,b as Quadrilateral,f as Rect,g as RectWithUnit,i as Size,j as SizeWithAspect,h as SizeWithUnit,l as SizeWithUnitAndAspect,k as SizingMode}from'./chunks/chunk-77BBIAZE.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- export { o as Change, u as DataCaptureComponent, t as DataCaptureComponentJSON, B as DataCaptureContext, x as DataCaptureContextCreationOptions, y as DataCaptureContextJSON, q as DataCaptureMode, r as DataCaptureModeJSON, P as PrivateChangeSet, s as PrivateDataCaptureComponent, w as PrivateDataCaptureContext, v as PrivateDataCaptureContextOptions, p as PrivateDataCaptureMode, A as PrivateFrameHandler, z as PrivateFrameHandlerResponse } from './Camera-DsOMNsZu.js';
2
+ export { o as Change, u as DataCaptureComponent, t as DataCaptureComponentJSON, B as DataCaptureContext, x as DataCaptureContextCreationOptions, y as DataCaptureContextJSON, q as DataCaptureMode, r as DataCaptureModeJSON, N as NativeDataCaptureMode, P as PrivateChangeSet, s as PrivateDataCaptureComponent, w as PrivateDataCaptureContext, v as PrivateDataCaptureContextOptions, p as PrivateDataCaptureMode, A as PrivateFrameHandler, z as PrivateFrameHandlerResponse } from './Camera-BbwZV9Lu.js';
3
3
  import './Common.js';
4
4
  import './DataCaptureContextSettings.js';
5
5
  import './license/OpenSourceSoftwareLicenseInfo.js';
@@ -14,6 +14,7 @@ import './ViewControls.js';
14
14
  import './private/CustomLocationsView.js';
15
15
  import './private/View.js';
16
16
  import './private/AnchorPositions.js';
17
+ import './private/nativeHandle.js';
17
18
  import './worker/OverrideState.js';
18
19
  import './logger.js';
19
20
  import './LoadingStatus.js';
@@ -1 +1 @@
1
- export{a as DataCaptureContext}from'./chunks/chunk-QK3D2DQM.js';
1
+ export{a as DataCaptureContext}from'./chunks/chunk-6HLE7FER.js';
@@ -1,16 +1,17 @@
1
1
  /// <reference types="emscripten" />
2
- export { H as ContextStatus, G as ContextStatusJSON, E as DataCaptureContextListener, I as PrivateMirrorAxis } from './Camera-DsOMNsZu.js';
2
+ export { H as ContextStatus, G as ContextStatusJSON, E as DataCaptureContextListener, I as PrivateMirrorAxis } from './Camera-BbwZV9Lu.js';
3
3
  import './ScanditIcon.js';
4
4
  import './private/Serializable.js';
5
+ import './Common.js';
5
6
  import './private/FrameReaders/WatermarkStack.js';
6
7
  import './tsHelper.js';
7
- import './Common.js';
8
8
  import './DataCaptureContextSettings.js';
9
9
  import './DataCaptureViewPlusRelated.js';
10
10
  import './ViewControls.js';
11
11
  import './private/CustomLocationsView.js';
12
12
  import './private/View.js';
13
13
  import './private/AnchorPositions.js';
14
+ import './private/nativeHandle.js';
14
15
  import './license/OpenSourceSoftwareLicenseInfo.js';
15
16
  import './private/HtmlElementState.js';
16
17
  import './worker/OverrideState.js';
@@ -1 +1 @@
1
- export{a as DataCaptureVersion}from'./chunks/chunk-A4OAOJ72.js';
1
+ export{a as DataCaptureVersion}from'./chunks/chunk-AOSR5K23.js';
@@ -1,10 +1,11 @@
1
1
  /// <reference types="emscripten" />
2
2
  import './Common.js';
3
- export { J as DataCaptureOverlay, M as DataCaptureView, L as DataCaptureViewJSON, K as DataCaptureViewListener } from './Camera-DsOMNsZu.js';
3
+ export { J as DataCaptureOverlay, M as DataCaptureView, L as DataCaptureViewJSON, K as DataCaptureViewListener } from './Camera-BbwZV9Lu.js';
4
4
  import './DataCaptureViewPlusRelated.js';
5
5
  import './ViewControls.js';
6
6
  import './private/CustomLocationsView.js';
7
7
  import './private/Serializable.js';
8
+ import './private/nativeHandle.js';
8
9
  import './private/AnchorPositions.js';
9
10
  import './private/FrameReaders/WatermarkStack.js';
10
11
  import './tsHelper.js';
@@ -1 +1 @@
1
- export{a as DataCaptureView}from'./chunks/chunk-EFNSFA3N.js';
1
+ export{a as DataCaptureView}from'./chunks/chunk-ORCTCIRE.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import * as CSS from 'csstype';
3
- import { V as VideoResolution, F as FocusGestureStrategy, C as CameraPosition } from './Camera-DsOMNsZu.js';
3
+ import { V as VideoResolution, F as FocusGestureStrategy, C as CameraPosition } from './Camera-BbwZV9Lu.js';
4
4
  import { MarginsWithUnit, PointWithUnit, Anchor, Color } from './Common.js';
5
5
  import { FocusGestureJSON, FocusGesture, ZoomGestureJSON, ZoomGesture, LogoStyle } from './DataCaptureViewPlusRelated.js';
6
6
  import { RectangularViewfinderStyle, PrivateRectangularViewfinderDefault } from './ViewfinderPlusRelated.js';
@@ -14,6 +14,7 @@ import './ViewControls.js';
14
14
  import './private/CustomLocationsView.js';
15
15
  import './private/View.js';
16
16
  import './private/AnchorPositions.js';
17
+ import './private/nativeHandle.js';
17
18
  import './license/OpenSourceSoftwareLicenseInfo.js';
18
19
  import './private/HtmlElementState.js';
19
20
  import './worker/OverrideState.js';
@@ -1 +1 @@
1
- export{a as PrivateFocusGestureDeserializer,b as PrivateZoomGestureDeserializer,d as defaultValues,c as defaultsFromJSON,e as setDefaults}from'./chunks/chunk-CAIEX6BZ.js';
1
+ export{a as PrivateFocusGestureDeserializer,b as PrivateZoomGestureDeserializer,d as defaultValues,c as defaultsFromJSON,e as setDefaults}from'./chunks/chunk-E3TDSWVQ.js';
@@ -1 +1 @@
1
- export{a as Feedback}from'./chunks/chunk-R2VJDRLZ.js';
1
+ export{a as Feedback}from'./chunks/chunk-CBF2PLFL.js';
@@ -1,16 +1,17 @@
1
1
  /// <reference types="emscripten" />
2
- export { N as FrameData, O as PrivateLoadableFrameData, Q as convertToPublicFrameData } from './Camera-DsOMNsZu.js';
2
+ export { O as FrameData, Q as PrivateLoadableFrameData, R as convertToPublicFrameData } from './Camera-BbwZV9Lu.js';
3
3
  import './ScanditIcon.js';
4
4
  import './private/Serializable.js';
5
+ import './Common.js';
5
6
  import './private/FrameReaders/WatermarkStack.js';
6
7
  import './tsHelper.js';
7
- import './Common.js';
8
8
  import './DataCaptureContextSettings.js';
9
9
  import './DataCaptureViewPlusRelated.js';
10
10
  import './ViewControls.js';
11
11
  import './private/CustomLocationsView.js';
12
12
  import './private/View.js';
13
13
  import './private/AnchorPositions.js';
14
+ import './private/nativeHandle.js';
14
15
  import './license/OpenSourceSoftwareLicenseInfo.js';
15
16
  import './private/HtmlElementState.js';
16
17
  import './worker/OverrideState.js';
@@ -1,9 +1,9 @@
1
1
  /// <reference types="emscripten" />
2
- import { a as FrameSource, b as FrameSourceState, c as FrameSourceListener } from './Camera-DsOMNsZu.js';
2
+ import { a as FrameSource, b as FrameSourceState, c as FrameSourceListener } from './Camera-BbwZV9Lu.js';
3
3
  import { Serializable } from './private/Serializable.js';
4
+ import './Common.js';
4
5
  import './private/FrameReaders/WatermarkStack.js';
5
6
  import './tsHelper.js';
6
- import './Common.js';
7
7
  import './ScanditIcon.js';
8
8
  import './private/utils/ScanditHTMLElement.js';
9
9
  import './DataCaptureContextSettings.js';
@@ -12,6 +12,7 @@ import './ViewControls.js';
12
12
  import './private/CustomLocationsView.js';
13
13
  import './private/View.js';
14
14
  import './private/AnchorPositions.js';
15
+ import './private/nativeHandle.js';
15
16
  import './license/OpenSourceSoftwareLicenseInfo.js';
16
17
  import './private/HtmlElementState.js';
17
18
  import './worker/OverrideState.js';
@@ -1 +1 @@
1
- export{a as PrivateNoneLocationSelection,b as RadiusLocationSelection,c as RectangularLocationSelection}from'./chunks/chunk-ZDYFZYVT.js';
1
+ export{a as PrivateNoneLocationSelection,b as RadiusLocationSelection,c as RectangularLocationSelection}from'./chunks/chunk-DCZONWJ2.js';
@@ -3,6 +3,7 @@ import { Color, SizeWithUnitAndAspect, NumberWithUnit, SizeWithUnit } from './Co
3
3
  import { Viewfinder } from './Viewfinder.js';
4
4
  import { RectangularViewfinderJSON, RectangularViewfinderStyle, RectangularViewfinderLineStyle, RectangularViewfinderAnimation } from './ViewfinderPlusRelated.js';
5
5
  import { Serializable } from './private/Serializable.js';
6
+ import './private/nativeHandle.js';
6
7
 
7
8
  declare class RectangularViewfinder implements Viewfinder, Serializable<RectangularViewfinderJSON> {
8
9
  color: Color;
@@ -1 +1 @@
1
- export{a as RectangularViewfinder}from'./chunks/chunk-YEMIFGKZ.js';
1
+ export{a as RectangularViewfinder}from'./chunks/chunk-LU4WMIH5.js';
@@ -1 +1 @@
1
- export{b as ScanditIcon,a as ScanditIconShape}from'./chunks/chunk-AD3CNBDO.js';
1
+ export{b as ScanditIcon,a as ScanditIconShape}from'./chunks/chunk-3OBWS6CO.js';
@@ -1 +1 @@
1
- export{c as ScanditIconBuilder,b as ScanditIconForIconType,a as ScanditIconType}from'./chunks/chunk-7LG2KINM.js';export{a as ScanditIconShape}from'./chunks/chunk-AD3CNBDO.js';
1
+ export{c as ScanditIconBuilder,b as ScanditIconForIconType,a as ScanditIconType}from'./chunks/chunk-PGNGNB6M.js';export{a as ScanditIconShape}from'./chunks/chunk-3OBWS6CO.js';
@@ -1,10 +1,10 @@
1
1
  /// <reference types="emscripten" />
2
- import { d as FrameSourceJSON, b as FrameSourceState, a as FrameSource, c as FrameSourceListener } from './Camera-DsOMNsZu.js';
2
+ import { d as FrameSourceJSON, b as FrameSourceState, a as FrameSource, c as FrameSourceListener } from './Camera-BbwZV9Lu.js';
3
3
  import { SingleImageUploaderSettingsJSON, SingleImageUploaderSettings } from './SingleImageUploaderSettings.js';
4
4
  import { Serializable } from './private/Serializable.js';
5
+ import './Common.js';
5
6
  import './private/FrameReaders/WatermarkStack.js';
6
7
  import './tsHelper.js';
7
- import './Common.js';
8
8
  import './ScanditIcon.js';
9
9
  import './private/utils/ScanditHTMLElement.js';
10
10
  import './DataCaptureContextSettings.js';
@@ -13,6 +13,7 @@ import './ViewControls.js';
13
13
  import './private/CustomLocationsView.js';
14
14
  import './private/View.js';
15
15
  import './private/AnchorPositions.js';
16
+ import './private/nativeHandle.js';
16
17
  import './license/OpenSourceSoftwareLicenseInfo.js';
17
18
  import './private/HtmlElementState.js';
18
19
  import './worker/OverrideState.js';
@@ -1 +1 @@
1
- export{a as SingleImageUploader}from'./chunks/chunk-5PHKPYK6.js';
1
+ export{a as SingleImageUploader}from'./chunks/chunk-ZG2DNH5P.js';
@@ -1 +1 @@
1
- export{a as SingleImageUploaderSettings}from'./chunks/chunk-7JX43F4O.js';
1
+ export{a as SingleImageUploaderSettings}from'./chunks/chunk-Y6NN3VBO.js';
@@ -1 +1 @@
1
- export{a as Vibration}from'./chunks/chunk-JO2MKLMM.js';
1
+ export{a as Vibration}from'./chunks/chunk-DCVQRKUG.js';
@@ -1,9 +1,14 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { ViewfinderJSON } from './ViewfinderPlusRelated.js';
3
3
  import { Serializable } from './private/Serializable.js';
4
+ import { nativeHandle } from './private/nativeHandle.js';
4
5
  import './Common.js';
5
6
 
6
7
  interface Viewfinder {
8
+ [nativeHandle]?: {
9
+ className: string;
10
+ id: number;
11
+ };
7
12
  toJSONObject: () => ViewfinderJSON;
8
13
  }
9
14
  declare class NoneViewfinder implements Viewfinder, Serializable<ViewfinderJSON> {