@scandit/web-datacapture-core 8.4.0 → 8.4.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 (121) 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/Camera.js +1 -1
  6. package/build/js/{DataCaptureContext-Qg40v7QA.d.ts → DataCaptureContext-qacCkSOl.d.ts} +1 -1
  7. package/build/js/DataCaptureContext.d.ts +1 -1
  8. package/build/js/DataCaptureContext.js +1 -1
  9. package/build/js/DataCaptureContextRelated.d.ts +1 -1
  10. package/build/js/DataCaptureVersion.js +1 -1
  11. package/build/js/DataCaptureView.d.ts +1 -1
  12. package/build/js/DataCaptureView.js +1 -1
  13. package/build/js/Feedback.js +1 -1
  14. package/build/js/FrameData.d.ts +1 -1
  15. package/build/js/ImageFrameSource.js +1 -1
  16. package/build/js/NotificationPresenter/index.d.ts +1 -1
  17. package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.d.ts +1 -1
  18. package/build/js/NotificationPresenter/private/presets.d.ts +1 -1
  19. package/build/js/ScanditIconBuilder.js +1 -1
  20. package/build/js/Sound.js +1 -1
  21. package/build/js/Vibration.js +1 -1
  22. package/build/js/browserHelper.d.ts +1 -0
  23. package/build/js/browserHelper.js +1 -1
  24. package/build/js/chunks/{chunk-CERFU73N.js → chunk-3WNU5X5L.js} +1 -1
  25. package/build/js/chunks/{chunk-6V2N4XHI.js → chunk-56OQ5EHO.js} +1 -1
  26. package/build/js/chunks/{chunk-CGK5V6XZ.js → chunk-56S3BFJ6.js} +1 -1
  27. package/build/js/chunks/{chunk-YUZDO2PC.js → chunk-5GUWY76Q.js} +1 -1
  28. package/build/js/chunks/{chunk-RXDVYEE5.js → chunk-7GQFJDH6.js} +1 -1
  29. package/build/js/chunks/{chunk-L66S4DN2.js → chunk-ASAV77S2.js} +1 -1
  30. package/build/js/chunks/{chunk-MBQZOWWF.js → chunk-ASJCS2FB.js} +1 -1
  31. package/build/js/chunks/{chunk-Y7BTRVB4.js → chunk-AYQTB54E.js} +1 -1
  32. package/build/js/chunks/chunk-AYYKQ7YB.js +2 -0
  33. package/build/js/chunks/{chunk-Y3TODCJD.js → chunk-EPIUNYWM.js} +1 -1
  34. package/build/js/chunks/{chunk-ALQOQOAM.js → chunk-HLVYMWIK.js} +1 -1
  35. package/build/js/chunks/{chunk-Z5LRFYGI.js → chunk-I52JX2MQ.js} +1 -1
  36. package/build/js/chunks/chunk-IGTW3KDT.js +1 -0
  37. package/build/js/chunks/{chunk-DGDPZ73X.js → chunk-JAY44NXK.js} +1 -1
  38. package/build/js/chunks/{chunk-G7ORIX4S.js → chunk-KJXBZMMB.js} +1 -1
  39. package/build/js/chunks/{chunk-43GCMDYV.js → chunk-KW2WZUE3.js} +1 -1
  40. package/build/js/chunks/{chunk-TMIZ6Z75.js → chunk-NOEX6HP5.js} +1 -1
  41. package/build/js/chunks/{chunk-76IGNICM.js → chunk-QJZW4BFG.js} +1 -1
  42. package/build/js/chunks/{chunk-GHR3BSUQ.js → chunk-QRMHTQBG.js} +1 -1
  43. package/build/js/chunks/{chunk-GULNUBED.js → chunk-RVJQOD3H.js} +1 -1
  44. package/build/js/chunks/{chunk-YJNJGCAN.js → chunk-RXFEUGTT.js} +1 -1
  45. package/build/js/chunks/{chunk-IASACVTH.js → chunk-SIMTA4TK.js} +1 -1
  46. package/build/js/chunks/chunk-T2JW7GJH.js +1 -0
  47. package/build/js/chunks/{chunk-CZI3JAVS.js → chunk-T6EVGEHJ.js} +1 -1
  48. package/build/js/chunks/{chunk-4F2Q2P2O.js → chunk-TDNR2OSD.js} +1 -1
  49. package/build/js/chunks/{chunk-KZEBJGMU.js → chunk-VUPEBHJF.js} +3 -3
  50. package/build/js/chunks/chunk-WMI56GO3.js +1 -0
  51. package/build/js/chunks/{chunk-XFQTFQYR.js → chunk-WOOPJWJS.js} +1 -1
  52. package/build/js/controls/CameraFOVSwitchControl.d.ts +1 -1
  53. package/build/js/controls/CameraFOVSwitchControl.js +1 -1
  54. package/build/js/controls/CameraSwitchControl.d.ts +1 -1
  55. package/build/js/controls/CameraSwitchControl.js +1 -1
  56. package/build/js/controls/TorchSwitchControl.d.ts +1 -1
  57. package/build/js/controls/TorchSwitchControl.js +1 -1
  58. package/build/js/controls/ZoomSwitchControl.d.ts +1 -1
  59. package/build/js/controls/ZoomSwitchControl.js +1 -1
  60. package/build/js/controls/common.d.ts +1 -1
  61. package/build/js/controls/index.d.ts +1 -1
  62. package/build/js/controls/index.js +1 -1
  63. package/build/js/defaults/DefaultsCamera.d.ts +1 -1
  64. package/build/js/defaults/DefaultsDataCaptureView.js +1 -1
  65. package/build/js/index.d.ts +1 -1
  66. package/build/js/index.js +1 -1
  67. package/build/js/moduleLoader.d.ts +1 -1
  68. package/build/js/private/CameraAccess.js +1 -1
  69. package/build/js/private/CameraManager.d.ts +1 -1
  70. package/build/js/private/CameraManager.js +1 -1
  71. package/build/js/private/CameraPool.d.ts +1 -1
  72. package/build/js/private/CanvasDrawerWithMetrics.d.ts +1 -1
  73. package/build/js/private/CoreModuleLicenseTextProvider.d.ts +1 -1
  74. package/build/js/private/CoreModuleLicenseTextProvider.js +1 -1
  75. package/build/js/private/CustomLocationsView.js +1 -1
  76. package/build/js/private/DataCaptureContextRelated.d.ts +1 -1
  77. package/build/js/private/FrameReaders/FrameReader.d.ts +1 -1
  78. package/build/js/private/FrameReaders/FrameReader.js +1 -1
  79. package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +1 -1
  80. package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +1 -1
  81. package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
  82. package/build/js/private/FrameReaders/index.d.ts +1 -1
  83. package/build/js/private/FrameReaders/index.js +1 -1
  84. package/build/js/private/NormalizedModuleLoaderOptions.d.ts +1 -1
  85. package/build/js/private/OrientationObserver.js +1 -1
  86. package/build/js/private/SingleImageUploaderView.d.ts +1 -1
  87. package/build/js/private/SingleImageUploaderView.js +1 -1
  88. package/build/js/private/ViewControls+related.js +1 -1
  89. package/build/js/private/ViewControls_related.d.ts +1 -1
  90. package/build/js/private/ViewsRegistry.d.ts +1 -1
  91. package/build/js/private/customHowler/Howl.js +1 -1
  92. package/build/js/private/customHowler/WebAudioContextManager.js +1 -1
  93. package/build/js/private/customHowler/index.js +1 -1
  94. package/build/js/private/customHowler/setup.js +1 -1
  95. package/build/js/private/hybridDesktopPlatformHelpers.js +1 -1
  96. package/build/js/private/ui/atoms/Toast.d.ts +1 -1
  97. package/build/js/private/ui/molecules/HintPresenter.d.ts +1 -1
  98. package/build/js/private/utils/index.js +1 -1
  99. package/build/js/private/utils/polyfillLoader.js +1 -1
  100. package/build/js/private/utils/replaceImagesInViewUtils.d.ts +1 -1
  101. package/build/js/private/utils/warnMultithreadingUnavailable.js +1 -1
  102. package/build/js/worker/ImageConverterForwarder.d.ts +1 -1
  103. package/build/js/worker/ViewInfoHelper.d.ts +1 -1
  104. package/build/js/worker/WorkerMain.d.ts +1 -1
  105. package/build/js/worker/WorkerMain.js +1 -1
  106. package/build/js/worker/coreCapture.inlineWorker.d.ts +1 -1
  107. package/build/js/worker/coreCapture.inlineWorker.js +1 -1
  108. package/build/js/worker/dataCaptureEngine.d.ts +1 -1
  109. package/build/js/worker/dataCaptureEngine.js +1 -1
  110. package/build/js/worker/dataCaptureLoader.d.ts +1 -1
  111. package/build/js/worker/dataCaptureLoader.js +1 -1
  112. package/build/js/worker/dataCaptureWorkerRelated.d.ts +1 -1
  113. package/build/js/worker/index.d.ts +1 -1
  114. package/build/js/worker/index.js +1 -1
  115. package/package.json +1 -1
  116. package/build/js/chunks/chunk-4LGQ66HW.js +0 -1
  117. package/build/js/chunks/chunk-HBPGHXF2.js +0 -1
  118. package/build/js/chunks/chunk-YONR3EGV.js +0 -2
  119. package/build/js/chunks/chunk-ZCF62ALL.js +0 -1
  120. /package/build/js/chunks/{chunk-J3HHOJE3.js → chunk-AC4QOIY7.js} +0 -0
  121. /package/build/js/chunks/{chunk-W7VB532D.js → chunk-WHRRC6V6.js} +0 -0
@@ -1 +1 @@
1
- import {a as a$3}from'./chunk-U4IMOTYL.js';import {b,a as a$2}from'./chunk-KYNYQBNF.js';import {a as a$1}from'./chunk-QOCHMKNY.js';import {a as a$4}from'./chunk-KAFNKP6O.js';var z={bottomLeft:"bottomRight",bottomRight:"bottomLeft",topLeft:"topRight",topRight:"topLeft",centerLeft:"centerRight",centerRight:"centerLeft",center:"center",topCenter:"topCenter",bottomCenter:"bottomCenter"},a=class a{constructor(){this.listener=null;this._mounted=false;this._mirrored=false;this._cachedSize=new a$1(0,0);this.resizeObserver=null;this.mapViewAnchorPositionsForFramePoint=t=>t;}get size(){return this._cachedSize}setMirrored(t){this._mounted&&(this._mirrored=t);}mount(t){var n;if(this._mounted)return;if(!document.head.querySelector(`[data-component=${a.componentName}]`)){let i=document.createElement("style");i.dataset.component=a.componentName,i.append(document.createTextNode(b)),document.head.append(i);}let r=document.createElement("div");r.classList.add(a$2.CUSTOM_VIEW_CONTAINER),(n=t.parentNode)==null||n.replaceChild(r,t),this._htmlRoot=r,this.gestureRecognizer=new a$3(this._htmlRoot),this.gestureRecognizer.addListener({onTap:(i,o)=>{var s,e;let m=(s=o.target.dataset.identifier)!=null?s:"";m!==""&&((e=this.listener)==null||e.didTapView(Number.parseInt(m,10)));}}),this.resizeObserver=new ResizeObserver(([i])=>{this._cachedSize=new a$1(i.contentRect.width,i.contentRect.height);}),this.resizeObserver.observe(this._htmlRoot),this._cachedSize=new a$1(this._htmlRoot.clientWidth,this._htmlRoot.clientHeight),this._mounted=true;}unmount(){var t,r,n,i;this._mounted&&(this.removeChildren(),(t=this.gestureRecognizer)==null||t.removeAllListeners(),(r=this.resizeObserver)==null||r.disconnect(),(n=this._htmlRoot)==null||n.remove(),this._htmlRoot=null,this.gestureRecognizer=null,(i=document.head.querySelector(`[data-component=${a.componentName}]`))==null||i.remove(),this.listener=null,this._mounted=false);}render(t){var n,i,o,m,s;if(t.elements.length===0){this.removeChildren();return}for(let e of t.removedIds)(i=(n=this._htmlRoot)==null?void 0:n.querySelector(`#${a.elementSelectorPrefix}${e}`))==null||i.remove();let r=document.createDocumentFragment();for(let e of t.elements){let c=`${a.elementSelectorPrefix}${e.identifier}`,p=(o=this._htmlRoot)==null?void 0:o.querySelector(`#${c}`),l=p;if(p==null&&(l=new Image(e.view.options.size.width,e.view.options.size.height),l.id=c,l.dataset.identifier=String(e.identifier),r.append(l)),l){l.src=e.view.data;let h=this.mapViewAnchorPositionsForFramePoint(e.anchorPositions)[this._mirrored?z[e.anchor]:e.anchor];this._mirrored&&(h=a$4.mirrorX(h,this.size));let{x:u,y:P}=this.adjustCoordinatesWithOffset(h,{elementSize:e.view.options.size,offset:e.offset}),v=(m=e.view.options.scale)!=null?m:1;l.style.scale=`${v}`,l.style.transform=`translate3d(${u/v}px, ${P/v}px, 0px)`;}}(s=this._htmlRoot)==null||s.append(r);}renderDomView(t){var n,i;if(t.elements.length===0){this.removeChildren();return}let r=document.createDocumentFragment();for(let o of t.elements){let m=`${a.elementSelectorPrefix}${o.identifier}`,s=(n=this._htmlRoot)==null?void 0:n.querySelector(`#${m}`),{view:e}=o;if(e!=null){e.id=m,s&&s!==e&&s.replaceWith(e);let c=this.mapViewAnchorPositionsForFramePoint(o.anchorPositions)[this._mirrored?z[o.anchor]:o.anchor];this._mirrored&&(c=a$4.mirrorX(c,this.size));let{width:p,height:l}=e.getBoundingClientRect(),{x:h,y:u}=this.adjustCoordinatesWithOffset(c,{elementSize:{width:p,height:l},offset:o.offset});e.style.position="absolute",e.style.transform=`translate3d(calc(${h}px - 50%), calc(${u}px - 50%), 0px)`,r.append(e);}}(i=this._htmlRoot)==null||i.append(r);}removeChildren(){var t;for(;(t=this._htmlRoot)!=null&&t.firstChild;)this._htmlRoot.firstChild.remove();}adjustCoordinatesWithOffset(t,r){let n=t,{elementSize:i,offset:o}=r,m=t.x-i.width/2,s=t.y-i.height/2;return o.x.unit==="pixel"&&(n=new a$4(m+o.x.value,s+o.y.value)),o.x.unit==="fraction"&&(n=new a$4(m+i.width*o.x.value,s+i.height*o.y.value)),n}};a.componentName="CustomLocationsView",a.elementSelectorPrefix="scandit-view-";var S=a;export{S as a};
1
+ import {a as a$3}from'./chunk-U4IMOTYL.js';import {b,a as a$2}from'./chunk-KYNYQBNF.js';import {a as a$4}from'./chunk-KAFNKP6O.js';import {a as a$1}from'./chunk-QOCHMKNY.js';var z={bottomLeft:"bottomRight",bottomRight:"bottomLeft",topLeft:"topRight",topRight:"topLeft",centerLeft:"centerRight",centerRight:"centerLeft",center:"center",topCenter:"topCenter",bottomCenter:"bottomCenter"},a=class a{constructor(){this.listener=null;this._mounted=false;this._mirrored=false;this._cachedSize=new a$1(0,0);this.resizeObserver=null;this.mapViewAnchorPositionsForFramePoint=t=>t;}get size(){return this._cachedSize}setMirrored(t){this._mounted&&(this._mirrored=t);}mount(t){var n;if(this._mounted)return;if(!document.head.querySelector(`[data-component=${a.componentName}]`)){let i=document.createElement("style");i.dataset.component=a.componentName,i.append(document.createTextNode(b)),document.head.append(i);}let r=document.createElement("div");r.classList.add(a$2.CUSTOM_VIEW_CONTAINER),(n=t.parentNode)==null||n.replaceChild(r,t),this._htmlRoot=r,this.gestureRecognizer=new a$3(this._htmlRoot),this.gestureRecognizer.addListener({onTap:(i,o)=>{var s,e;let m=(s=o.target.dataset.identifier)!=null?s:"";m!==""&&((e=this.listener)==null||e.didTapView(Number.parseInt(m,10)));}}),this.resizeObserver=new ResizeObserver(([i])=>{this._cachedSize=new a$1(i.contentRect.width,i.contentRect.height);}),this.resizeObserver.observe(this._htmlRoot),this._cachedSize=new a$1(this._htmlRoot.clientWidth,this._htmlRoot.clientHeight),this._mounted=true;}unmount(){var t,r,n,i;this._mounted&&(this.removeChildren(),(t=this.gestureRecognizer)==null||t.removeAllListeners(),(r=this.resizeObserver)==null||r.disconnect(),(n=this._htmlRoot)==null||n.remove(),this._htmlRoot=null,this.gestureRecognizer=null,(i=document.head.querySelector(`[data-component=${a.componentName}]`))==null||i.remove(),this.listener=null,this._mounted=false);}render(t){var n,i,o,m,s;if(t.elements.length===0){this.removeChildren();return}for(let e of t.removedIds)(i=(n=this._htmlRoot)==null?void 0:n.querySelector(`#${a.elementSelectorPrefix}${e}`))==null||i.remove();let r=document.createDocumentFragment();for(let e of t.elements){let c=`${a.elementSelectorPrefix}${e.identifier}`,p=(o=this._htmlRoot)==null?void 0:o.querySelector(`#${c}`),l=p;if(p==null&&(l=new Image(e.view.options.size.width,e.view.options.size.height),l.id=c,l.dataset.identifier=String(e.identifier),r.append(l)),l){l.src=e.view.data;let h=this.mapViewAnchorPositionsForFramePoint(e.anchorPositions)[this._mirrored?z[e.anchor]:e.anchor];this._mirrored&&(h=a$4.mirrorX(h,this.size));let{x:u,y:P}=this.adjustCoordinatesWithOffset(h,{elementSize:e.view.options.size,offset:e.offset}),v=(m=e.view.options.scale)!=null?m:1;l.style.scale=`${v}`,l.style.transform=`translate3d(${u/v}px, ${P/v}px, 0px)`;}}(s=this._htmlRoot)==null||s.append(r);}renderDomView(t){var n,i;if(t.elements.length===0){this.removeChildren();return}let r=document.createDocumentFragment();for(let o of t.elements){let m=`${a.elementSelectorPrefix}${o.identifier}`,s=(n=this._htmlRoot)==null?void 0:n.querySelector(`#${m}`),{view:e}=o;if(e!=null){e.id=m,s&&s!==e&&s.replaceWith(e);let c=this.mapViewAnchorPositionsForFramePoint(o.anchorPositions)[this._mirrored?z[o.anchor]:o.anchor];this._mirrored&&(c=a$4.mirrorX(c,this.size));let{width:p,height:l}=e.getBoundingClientRect(),{x:h,y:u}=this.adjustCoordinatesWithOffset(c,{elementSize:{width:p,height:l},offset:o.offset});e.style.position="absolute",e.style.transform=`translate3d(calc(${h}px - 50%), calc(${u}px - 50%), 0px)`,r.append(e);}}(i=this._htmlRoot)==null||i.append(r);}removeChildren(){var t;for(;(t=this._htmlRoot)!=null&&t.firstChild;)this._htmlRoot.firstChild.remove();}adjustCoordinatesWithOffset(t,r){let n=t,{elementSize:i,offset:o}=r,m=t.x-i.width/2,s=t.y-i.height/2;return o.x.unit==="pixel"&&(n=new a$4(m+o.x.value,s+o.y.value)),o.x.unit==="fraction"&&(n=new a$4(m+i.width*o.x.value,s+i.height*o.y.value)),n}};a.componentName="CustomLocationsView",a.elementSelectorPrefix="scandit-view-";var S=a;export{S as a};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { C as Control, a as ControlType } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import '../private/Serializable.js';
@@ -1 +1 @@
1
- export{a as CameraFOVSwitchControl}from'../chunks/chunk-ALQOQOAM.js';
1
+ export{a as CameraFOVSwitchControl}from'../chunks/chunk-HLVYMWIK.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { C as Control, a as ControlType } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import '../private/Serializable.js';
@@ -1 +1 @@
1
- export{a as CameraSwitchControl}from'../chunks/chunk-GULNUBED.js';
1
+ export{a as CameraSwitchControl}from'../chunks/chunk-RVJQOD3H.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { C as Control, a as ControlType } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import '../private/Serializable.js';
@@ -1 +1 @@
1
- export{a as TorchSwitchControl}from'../chunks/chunk-J3HHOJE3.js';
1
+ export{a as TorchSwitchControl}from'../chunks/chunk-AC4QOIY7.js';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { Z as ZoomListener, C as Camera } from '../Camera-HgH6fwnW.js';
3
3
  import { ZoomSwitchOrientation } from '../ZoomSwitchOrientation.js';
4
- import { C as Control, a as ControlType } from '../DataCaptureContext-Qg40v7QA.js';
4
+ import { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
5
5
  import '../commons/Rect.js';
6
6
  import '../private/Serializable.js';
7
7
  import '../commons/Point.js';
@@ -1 +1 @@
1
- export{a as ZoomSwitchControl}from'../chunks/chunk-MBQZOWWF.js';
1
+ export{a as ZoomSwitchControl}from'../chunks/chunk-ASJCS2FB.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- export { C as Control, a as ControlType, bi as PrivateBaseControl, bj as PrivateControl } from '../DataCaptureContext-Qg40v7QA.js';
2
+ export { C as Control, a as ControlType, bi as PrivateBaseControl, bj as PrivateControl } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../private/Serializable.js';
4
4
  import '../Camera-HgH6fwnW.js';
5
5
  import '../commons/Rect.js';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="emscripten" />
2
2
  export { CameraFOVSwitchControl } from './CameraFOVSwitchControl.js';
3
3
  export { CameraSwitchControl } from './CameraSwitchControl.js';
4
- export { C as Control, a as ControlType } from '../DataCaptureContext-Qg40v7QA.js';
4
+ export { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
5
5
  export { TorchSwitchControl } from './TorchSwitchControl.js';
6
6
  export { ZoomSwitchControl } from './ZoomSwitchControl.js';
7
7
  import '../Camera-HgH6fwnW.js';
@@ -1 +1 @@
1
- export{a as TorchSwitchControl}from'../chunks/chunk-J3HHOJE3.js';export{a as ZoomSwitchControl}from'../chunks/chunk-MBQZOWWF.js';export{a as CameraFOVSwitchControl}from'../chunks/chunk-ALQOQOAM.js';export{a as CameraSwitchControl}from'../chunks/chunk-GULNUBED.js';
1
+ export{a as CameraFOVSwitchControl}from'../chunks/chunk-HLVYMWIK.js';export{a as CameraSwitchControl}from'../chunks/chunk-RVJQOD3H.js';export{a as TorchSwitchControl}from'../chunks/chunk-AC4QOIY7.js';export{a as ZoomSwitchControl}from'../chunks/chunk-ASJCS2FB.js';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { k as VideoResolution, j as FocusGestureStrategy, e as CameraPosition } from '../Camera-HgH6fwnW.js';
3
3
  import '../ScanditIcon.js';
4
- import '../DataCaptureContext-Qg40v7QA.js';
4
+ import '../DataCaptureContext-qacCkSOl.js';
5
5
  import '../commons/Rect.js';
6
6
  import '../private/Serializable.js';
7
7
  import '../commons/Point.js';
@@ -1 +1 @@
1
- export{a as defaultDataCaptureView}from'../chunks/chunk-6V2N4XHI.js';
1
+ export{a as defaultDataCaptureView}from'../chunks/chunk-56OQ5EHO.js';
@@ -26,7 +26,7 @@ export { SizeWithUnit, SizeWithUnitJSON } from './commons/SizeWithUnit.js';
26
26
  export { SizeWithUnitAndAspect, SizeWithUnitAndAspectJSON } from './commons/SizeWithUnitAndAspect.js';
27
27
  export { CameraFOVSwitchControl } from './controls/CameraFOVSwitchControl.js';
28
28
  export { CameraSwitchControl } from './controls/CameraSwitchControl.js';
29
- export { b as Change, c as ContextStatus, d as ContextStatusJSON, C as Control, a as ControlType, D as DataCaptureComponent, e as DataCaptureComponentJSON, f as DataCaptureContext, g as DataCaptureContextCreationOptions, h as DataCaptureContextJSON, i as DataCaptureContextListener, j as DataCaptureContextState, k as DataCaptureLoader, l as DataCaptureLoaderOptions, m as DataCaptureMode, n as DataCaptureModeJSON, o as DataCaptureOverlay, p as DataCaptureView, q as DataCaptureViewConnectOptions, r as DataCaptureViewJSON, s as DataCaptureViewListener, F as FrameData, M as ModuleLoader, t as ModuleLoaderOptions, P as PrivateCapabilityInfo, u as PrivateChangeSet, v as PrivateDataCaptureComponent, w as PrivateDataCaptureContext, x as PrivateDataCaptureContextOptions, y as PrivateDataCaptureMode, z as PrivateFrameHandler, A as PrivateFrameHandlerResponse, B as PrivateLoadableFrameData, E as PrivateMirrorAxis, G as convertToPublicFrameData } from './DataCaptureContext-Qg40v7QA.js';
29
+ export { b as Change, c as ContextStatus, d as ContextStatusJSON, C as Control, a as ControlType, D as DataCaptureComponent, e as DataCaptureComponentJSON, f as DataCaptureContext, g as DataCaptureContextCreationOptions, h as DataCaptureContextJSON, i as DataCaptureContextListener, j as DataCaptureContextState, k as DataCaptureLoader, l as DataCaptureLoaderOptions, m as DataCaptureMode, n as DataCaptureModeJSON, o as DataCaptureOverlay, p as DataCaptureView, q as DataCaptureViewConnectOptions, r as DataCaptureViewJSON, s as DataCaptureViewListener, F as FrameData, M as ModuleLoader, t as ModuleLoaderOptions, P as PrivateCapabilityInfo, u as PrivateChangeSet, v as PrivateDataCaptureComponent, w as PrivateDataCaptureContext, x as PrivateDataCaptureContextOptions, y as PrivateDataCaptureMode, z as PrivateFrameHandler, A as PrivateFrameHandlerResponse, B as PrivateLoadableFrameData, E as PrivateMirrorAxis, G as convertToPublicFrameData } from './DataCaptureContext-qacCkSOl.js';
30
30
  export { TorchSwitchControl } from './controls/TorchSwitchControl.js';
31
31
  export { ZoomSwitchControl } from './controls/ZoomSwitchControl.js';
32
32
  export { F as FocusGesture, a as FocusGestureJSON, L as LogoStyle, P as PinchToZoom, S as SwipeToZoom, T as TapToFocus, Z as ZoomGesture, b as ZoomGestureJSON, c as ZoomGestureListener } from './DataCaptureViewPlusRelated-BOrDBPHq.js';
package/build/js/index.js CHANGED
@@ -1 +1 @@
1
- export{a as DataCaptureLoader}from'./chunks/chunk-YJNJGCAN.js';export{a as WorkerMain}from'./chunks/chunk-TMIZ6Z75.js';export{a as TorchSwitchControl}from'./chunks/chunk-J3HHOJE3.js';export{a as ZoomSwitchControl}from'./chunks/chunk-MBQZOWWF.js';export{a as RectWithUnit}from'./chunks/chunk-TKO5JMMS.js';export{a as CameraFOVSwitchControl}from'./chunks/chunk-ALQOQOAM.js';export{a as CameraSwitchControl}from'./chunks/chunk-GULNUBED.js';export{a as Direction}from'./chunks/chunk-WARGMW7Z.js';export{a as NotificationBuilder}from'./chunks/chunk-5LXHD7FZ.js';export{a as NoViewfinder}from'./chunks/chunk-4ZMCJXZS.js';export{a as ZoomSwitchOrientation}from'./chunks/chunk-OLUNDJBC.js';export{a as PrivateNoneLocationSelection,b as RadiusLocationSelection,c as RectangularLocationSelection}from'./chunks/chunk-CAHJ3YOV.js';export{a as RectangularViewfinder}from'./chunks/chunk-GPUTPXQM.js';export{c as ScanditIconBuilder,b as ScanditIconForIconType,a as ScanditIconType}from'./chunks/chunk-W7VB532D.js';export{b as ScanditIcon,a as ScanditIconShape}from'./chunks/chunk-O4HDBWKK.js';export{a as SingleImageUploader}from'./chunks/chunk-4WA2PCJE.js';export{a as SingleImageUploaderSettings}from'./chunks/chunk-IMXMNDKM.js';export{a as DataCaptureVersion}from'./chunks/chunk-HBPGHXF2.js';export{a as DataCaptureView}from'./chunks/chunk-G7ORIX4S.js';export{a as AdditionalLayerPosition}from'./chunks/chunk-DZE2EYSZ.js';export{a as AnchorPositions}from'./chunks/chunk-RSQRPDVQ.js';export{a as MarginsWithUnit}from'./chunks/chunk-MA6UDVDJ.js';export{a as Orientation}from'./chunks/chunk-5RCWM6NI.js';export{a as PointWithUnit}from'./chunks/chunk-BDGRWHLY.js';export{a as Quadrilateral}from'./chunks/chunk-IJQG3OU6.js';export{a as Anchor}from'./chunks/chunk-Y7ZNLVR2.js';export{a as NotificationConfiguration}from'./chunks/chunk-CRUOVJHW.js';export{a as NotificationStyle}from'./chunks/chunk-RXT3JWWR.js';export{a as MeasureUnit}from'./chunks/chunk-QQEY536Q.js';export{a as LogoStyle,d as PinchToZoom,c as SwipeToZoom,b as TapToFocus}from'./chunks/chunk-4QJAB4PO.js';export{a as Feedback}from'./chunks/chunk-76IGNICM.js';export{a as Sound}from'./chunks/chunk-CGK5V6XZ.js';export{a as Vibration}from'./chunks/chunk-IASACVTH.js';export{a as convertToPublicFrameData}from'./chunks/chunk-W33RVR5M.js';export{a as ImageFrameSource}from'./chunks/chunk-43GCMDYV.js';export{a as LaserlineViewfinder}from'./chunks/chunk-RXPPTQAB.js';export{a as AimerViewfinder}from'./chunks/chunk-3KKUZY2T.js';export{c as RectangularViewfinderAnimation,b as RectangularViewfinderLineStyle,a as RectangularViewfinderStyle}from'./chunks/chunk-WGLHZXRT.js';export{a as SizeWithUnitAndAspect}from'./chunks/chunk-AZWFNBVA.js';export{a as SizingMode}from'./chunks/chunk-2JIATMSD.js';export{a as SizeWithAspect}from'./chunks/chunk-FR24G4R7.js';export{a as SizeWithUnit}from'./chunks/chunk-F2GMW4LP.js';export{a as NumberWithUnit}from'./chunks/chunk-ENYHCJGH.js';export{a as Brush}from'./chunks/chunk-YOTQPBO6.js';export{a as Color}from'./chunks/chunk-SGL5J2CI.js';export{a as Camera}from'./chunks/chunk-GHR3BSUQ.js';export{b as DataCaptureContext}from'./chunks/chunk-KZEBJGMU.js';export{a as OverrideState}from'./chunks/chunk-6W7FX6LD.js';export{b as loadingStatus}from'./chunks/chunk-6H6FKGVE.js';export{a as Localization}from'./chunks/chunk-GHTCNOQN.js';export{a as ScanditHTMLElement}from'./chunks/chunk-EV4OEANA.js';export{a as INTERNAL_ACCESS}from'./chunks/chunk-LFJUGRQV.js';export{a as Size}from'./chunks/chunk-QOCHMKNY.js';export{a as Point}from'./chunks/chunk-KAFNKP6O.js';export{a as Rect}from'./chunks/chunk-E4XJ4GKD.js';export{a as assert,b as assertUnreachable,c as assertUnreachableThrowException}from'./chunks/chunk-FTD535WI.js';export{b as BrowserHelper,a as DisplayMode}from'./chunks/chunk-YONR3EGV.js';export{a as Feature}from'./chunks/chunk-NVK73TNL.js';export{a as Logger}from'./chunks/chunk-XR65N6EG.js';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-D222MT4V.js';export{a as ContextStatus,b as PrivateMirrorAxis}from'./chunks/chunk-WUHKODFA.js';export{a as DataCaptureContextSettings}from'./chunks/chunk-7SW2PEHB.js';export{a as DataCaptureError}from'./chunks/chunk-QCZSSQAQ.js';
1
+ export{a as DataCaptureLoader}from'./chunks/chunk-RXFEUGTT.js';export{a as WorkerMain}from'./chunks/chunk-NOEX6HP5.js';export{a as CameraFOVSwitchControl}from'./chunks/chunk-HLVYMWIK.js';export{a as CameraSwitchControl}from'./chunks/chunk-RVJQOD3H.js';export{a as TorchSwitchControl}from'./chunks/chunk-AC4QOIY7.js';export{a as ZoomSwitchControl}from'./chunks/chunk-ASJCS2FB.js';export{a as RectWithUnit}from'./chunks/chunk-TKO5JMMS.js';export{a as Direction}from'./chunks/chunk-WARGMW7Z.js';export{a as NotificationBuilder}from'./chunks/chunk-5LXHD7FZ.js';export{a as NoViewfinder}from'./chunks/chunk-4ZMCJXZS.js';export{a as ZoomSwitchOrientation}from'./chunks/chunk-OLUNDJBC.js';export{a as PrivateNoneLocationSelection,b as RadiusLocationSelection,c as RectangularLocationSelection}from'./chunks/chunk-CAHJ3YOV.js';export{a as RectangularViewfinder}from'./chunks/chunk-GPUTPXQM.js';export{c as ScanditIconBuilder,b as ScanditIconForIconType,a as ScanditIconType}from'./chunks/chunk-WHRRC6V6.js';export{b as ScanditIcon,a as ScanditIconShape}from'./chunks/chunk-O4HDBWKK.js';export{a as SingleImageUploader}from'./chunks/chunk-4WA2PCJE.js';export{a as SingleImageUploaderSettings}from'./chunks/chunk-IMXMNDKM.js';export{a as DataCaptureVersion}from'./chunks/chunk-T2JW7GJH.js';export{a as DataCaptureView}from'./chunks/chunk-KJXBZMMB.js';export{a as AdditionalLayerPosition}from'./chunks/chunk-DZE2EYSZ.js';export{a as AnchorPositions}from'./chunks/chunk-RSQRPDVQ.js';export{a as PointWithUnit}from'./chunks/chunk-BDGRWHLY.js';export{a as Quadrilateral}from'./chunks/chunk-IJQG3OU6.js';export{a as Anchor}from'./chunks/chunk-Y7ZNLVR2.js';export{a as MarginsWithUnit}from'./chunks/chunk-MA6UDVDJ.js';export{a as Orientation}from'./chunks/chunk-5RCWM6NI.js';export{a as NotificationConfiguration}from'./chunks/chunk-CRUOVJHW.js';export{a as NotificationStyle}from'./chunks/chunk-RXT3JWWR.js';export{a as MeasureUnit}from'./chunks/chunk-QQEY536Q.js';export{a as LogoStyle,d as PinchToZoom,c as SwipeToZoom,b as TapToFocus}from'./chunks/chunk-4QJAB4PO.js';export{a as Feedback}from'./chunks/chunk-QJZW4BFG.js';export{a as Sound}from'./chunks/chunk-56S3BFJ6.js';export{a as Vibration}from'./chunks/chunk-SIMTA4TK.js';export{a as convertToPublicFrameData}from'./chunks/chunk-W33RVR5M.js';export{a as ImageFrameSource}from'./chunks/chunk-KW2WZUE3.js';export{a as LaserlineViewfinder}from'./chunks/chunk-RXPPTQAB.js';export{a as AimerViewfinder}from'./chunks/chunk-3KKUZY2T.js';export{c as RectangularViewfinderAnimation,b as RectangularViewfinderLineStyle,a as RectangularViewfinderStyle}from'./chunks/chunk-WGLHZXRT.js';export{a as SizeWithUnitAndAspect}from'./chunks/chunk-AZWFNBVA.js';export{a as SizingMode}from'./chunks/chunk-2JIATMSD.js';export{a as SizeWithAspect}from'./chunks/chunk-FR24G4R7.js';export{a as SizeWithUnit}from'./chunks/chunk-F2GMW4LP.js';export{a as NumberWithUnit}from'./chunks/chunk-ENYHCJGH.js';export{a as Brush}from'./chunks/chunk-YOTQPBO6.js';export{a as Color}from'./chunks/chunk-SGL5J2CI.js';export{a as Camera}from'./chunks/chunk-QRMHTQBG.js';export{b as DataCaptureContext}from'./chunks/chunk-VUPEBHJF.js';export{a as OverrideState}from'./chunks/chunk-6W7FX6LD.js';export{b as loadingStatus}from'./chunks/chunk-6H6FKGVE.js';export{a as Localization}from'./chunks/chunk-GHTCNOQN.js';export{a as ScanditHTMLElement}from'./chunks/chunk-EV4OEANA.js';export{a as INTERNAL_ACCESS}from'./chunks/chunk-LFJUGRQV.js';export{a as Point}from'./chunks/chunk-KAFNKP6O.js';export{a as Rect}from'./chunks/chunk-E4XJ4GKD.js';export{a as Size}from'./chunks/chunk-QOCHMKNY.js';export{a as assert,b as assertUnreachable,c as assertUnreachableThrowException}from'./chunks/chunk-FTD535WI.js';export{b as BrowserHelper,a as DisplayMode}from'./chunks/chunk-AYYKQ7YB.js';export{a as Feature}from'./chunks/chunk-NVK73TNL.js';export{a as Logger}from'./chunks/chunk-XR65N6EG.js';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-D222MT4V.js';export{a as ContextStatus,b as PrivateMirrorAxis}from'./chunks/chunk-WUHKODFA.js';export{a as DataCaptureContextSettings}from'./chunks/chunk-7SW2PEHB.js';export{a as DataCaptureError}from'./chunks/chunk-QCZSSQAQ.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- export { M as ModuleLoader } from './DataCaptureContext-Qg40v7QA.js';
2
+ export { M as ModuleLoader } from './DataCaptureContext-qacCkSOl.js';
3
3
  import './Camera-HgH6fwnW.js';
4
4
  import './commons/Rect.js';
5
5
  import './private/Serializable.js';
@@ -1 +1 @@
1
- export{c as AspectRatio,d as CameraAccess,a as CameraPosition,b as CameraResolutionConstraint}from'../chunks/chunk-YUZDO2PC.js';
1
+ export{c as AspectRatio,d as CameraAccess,a as CameraPosition,b as CameraResolutionConstraint}from'../chunks/chunk-5GUWY76Q.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import './FrameReaders/ColorType.js';
3
- export { bk as CameraManager, bl as CameraManagerEvent, bm as CameraManagerEventParameters, bn as CameraResolutionConstraint, bo as ExtendedMediaTrackCapabilities, bp as ExtendedMediaTrackConstraintSet, O as FrameCapture, L as FrameId, bq as GUI, br as MeteringMode, bs as createFrameId } from '../DataCaptureContext-Qg40v7QA.js';
3
+ export { bk as CameraManager, bl as CameraManagerEvent, bm as CameraManagerEventParameters, bn as CameraResolutionConstraint, bo as ExtendedMediaTrackCapabilities, bp as ExtendedMediaTrackConstraintSet, O as FrameCapture, J as FrameId, bq as GUI, br as MeteringMode, bs as createFrameId } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import '../Camera-HgH6fwnW.js';
5
5
  import '../commons/Rect.js';
6
6
  import '../DataCaptureContextSettings.js';
@@ -1 +1 @@
1
- export{g as CameraManager,f as CameraManagerEvent,d as CameraResolutionConstraint,c as MeteringMode,e as createFrameId}from'../chunks/chunk-CZI3JAVS.js';
1
+ export{g as CameraManager,f as CameraManagerEvent,d as CameraResolutionConstraint,c as MeteringMode,e as createFrameId}from'../chunks/chunk-T6EVGEHJ.js';
@@ -2,7 +2,7 @@
2
2
  import { C as Camera } from '../Camera-HgH6fwnW.js';
3
3
  import { INTERNAL_ACCESS } from './privateAccess.js';
4
4
  import '../ScanditIcon.js';
5
- import '../DataCaptureContext-Qg40v7QA.js';
5
+ import '../DataCaptureContext-qacCkSOl.js';
6
6
  import '../commons/Rect.js';
7
7
  import './Serializable.js';
8
8
  import '../commons/Point.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { PrivateCanvasDrawer } from './CanvasDrawer.js';
3
- import { K as PerformanceMetrics } from '../DataCaptureContext-Qg40v7QA.js';
3
+ import { I as PerformanceMetrics } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import '../ScanditIcon.js';
5
5
  import './CavansDrawerAbstract.js';
6
6
  import './DrawCommandBuffer.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { ModuleLicenseTextProvider } from './ModuleLicenseTextProvider.js';
3
- import { f as DataCaptureContext } from '../DataCaptureContext-Qg40v7QA.js';
3
+ import { f as DataCaptureContext } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import { Logger } from '../logger.js';
5
5
  import '../Camera-HgH6fwnW.js';
6
6
  import '../commons/Rect.js';
@@ -1 +1 @@
1
- export{a as CoreModuleLicenseTextProvider}from'../chunks/chunk-KZEBJGMU.js';
1
+ export{a as CoreModuleLicenseTextProvider}from'../chunks/chunk-VUPEBHJF.js';
@@ -1 +1 @@
1
- export{a as CustomLocationsView}from'../chunks/chunk-XFQTFQYR.js';
1
+ export{a as CustomLocationsView}from'../chunks/chunk-WOOPJWJS.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { f as DataCaptureContext, F as FrameData } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { f as DataCaptureContext, F as FrameData } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import './Serializable.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { O as FrameCapture } from '../../DataCaptureContext-Qg40v7QA.js';
2
+ import { O as FrameCapture } from '../../DataCaptureContext-qacCkSOl.js';
3
3
  import { FrameReaderAbstract } from './FrameReaderAbstract.js';
4
4
  import { ColorType } from './ColorType.js';
5
5
  import '../../Camera-HgH6fwnW.js';
@@ -1 +1 @@
1
- export{a as FrameReader}from'../../chunks/chunk-CZI3JAVS.js';
1
+ export{a as FrameReader}from'../../chunks/chunk-T6EVGEHJ.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { O as FrameCapture } from '../../DataCaptureContext-Qg40v7QA.js';
2
+ import { O as FrameCapture } from '../../DataCaptureContext-qacCkSOl.js';
3
3
  import { ColorType } from './ColorType.js';
4
4
  import { WatermarkStack } from './WatermarkStack.js';
5
5
  import { Optional } from '../../tsHelper.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { O as FrameCapture } from '../../DataCaptureContext-Qg40v7QA.js';
2
+ import { O as FrameCapture } from '../../DataCaptureContext-qacCkSOl.js';
3
3
  import { ColorType } from './ColorType.js';
4
4
  import { FrameReaderAbstract, PoolCapacityOptions } from './FrameReaderAbstract.js';
5
5
  import { WatermarkStack } from './WatermarkStack.js';
@@ -1 +1 @@
1
- export{b as GrayScaleFrameReader}from'../../chunks/chunk-CZI3JAVS.js';
1
+ export{b as GrayScaleFrameReader}from'../../chunks/chunk-T6EVGEHJ.js';
@@ -3,7 +3,7 @@ export { ColorType as FrameReaderType } from './ColorType.js';
3
3
  export { FrameReader } from './FrameReader.js';
4
4
  export { FrameReaderAbstract } from './FrameReaderAbstract.js';
5
5
  export { GrayScaleFrameReader } from './GrayScaleFrameReader.js';
6
- import '../../DataCaptureContext-Qg40v7QA.js';
6
+ import '../../DataCaptureContext-qacCkSOl.js';
7
7
  import '../../Camera-HgH6fwnW.js';
8
8
  import '../../commons/Rect.js';
9
9
  import '../Serializable.js';
@@ -1 +1 @@
1
- export{a as FrameReader,b as GrayScaleFrameReader}from'../../chunks/chunk-CZI3JAVS.js';export{a as FrameReaderType}from'../../chunks/chunk-ORP45GHJ.js';
1
+ export{a as FrameReader,b as GrayScaleFrameReader}from'../../chunks/chunk-T6EVGEHJ.js';export{a as FrameReaderType}from'../../chunks/chunk-ORP45GHJ.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { t as ModuleLoaderOptions } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { t as ModuleLoaderOptions } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import { LoadingStatusSubscriber } from '../LoadingStatus.js';
4
4
  import '../Camera-HgH6fwnW.js';
5
5
  import '../commons/Rect.js';
@@ -1 +1 @@
1
- export{b as OrientationObserver,a as orientationChangeEvent}from'../chunks/chunk-RXDVYEE5.js';
1
+ export{b as OrientationObserver,a as orientationChangeEvent}from'../chunks/chunk-7GQFJDH6.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { SingleImageUploaderSettings } from '../SingleImageUploaderSettings.js';
3
- import { L as FrameId } from '../DataCaptureContext-Qg40v7QA.js';
3
+ import { J as FrameId } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import { View } from './View.js';
5
5
  import 'csstype';
6
6
  import './Serializable.js';
@@ -1 +1 @@
1
- export{a as SingleImageUploaderView}from'../chunks/chunk-Z5LRFYGI.js';
1
+ export{a as SingleImageUploaderView}from'../chunks/chunk-I52JX2MQ.js';
@@ -1 +1 @@
1
- import {a as a$1}from'../chunks/chunk-GHR3BSUQ.js';import {d as d$1}from'../chunks/chunk-YUZDO2PC.js';import {b}from'../chunks/chunk-YONR3EGV.js';import {a}from'../chunks/chunk-XR65N6EG.js';import {f as f$1,g}from'../chunks/chunk-D222MT4V.js';var S=(t=>(t.Idle="idle",t.Pressed="pressed",t))(S||{}),d=class{constructor(e,t){this.state="idle";this.isHover=false;this.controlTypeToAriaLabelMap={"camera-fov":"Switch camera field of view",camera:"Switch camera",torch:"Toggle torch"};this.control=e,this.domHost=t,this.onTouchStartListener=this.onTouchStart.bind(this),this.onMouseEnterListener=this.onMouseEnter.bind(this),this.onMouseLeaveListener=this.onMouseLeave.bind(this),this.onClickListener=this.onClick.bind(this),this.setup();}get frameSource(){var e,t;return (t=(e=this.control.view)==null?void 0:e.getContext())==null?void 0:t.frameSource}get context(){var e;return (e=this.control.view)==null?void 0:e.getContext()}async install(){this.button||this.setup();let e=await this.canShow();return e?(this.updateButtonBackground(this.button,this.getImageFromState()),this.show()):this.hide(),e}remove(e=false){e&&this.button?(this.button.removeEventListener("mouseenter",this.onMouseEnterListener),this.button.removeEventListener("mouseleave",this.onMouseLeaveListener),this.button.removeEventListener("touchstart",this.onTouchStartListener),this.button.removeEventListener("click",this.onClickListener),this.button.remove(),this.isHover=false,this.button=void 0):this.hide();}hide(){this.button&&(this.button.style.display="none");}show(){this.button&&(this.button.style.display="block");}setupButton(){let e=document.createElement("button");e.type="button",e.style.display="none",e.className=`scandit-control-widget scandit-control-widget-${this.control.type}`,this.updateButtonBackground(e,this.getImageFromState()),this.domHost.append(e),e.addEventListener("mouseenter",this.onMouseEnterListener),e.addEventListener("mouseleave",this.onMouseLeaveListener),b.isDesktopDevice()||e.addEventListener("touchstart",this.onTouchStartListener),e.addEventListener("click",this.onClickListener),e.setAttribute("aria-pressed",String(this.state==="pressed"));let t=this.control.type,i=this.controlTypeToAriaLabelMap[t];return e.setAttribute("aria-label",i),this.button=e,this.button}setup(){this.setupButton();}onTouchStart(){var e,t;(e=this.button)==null||e.removeEventListener("mouseenter",this.onMouseEnterListener),(t=this.button)==null||t.removeEventListener("mouseleave",this.onMouseLeaveListener);}onMouseEnter(){this.isHover=true,this.updateButtonBackground(this.button,this.getImageFromState());}onMouseLeave(){this.isHover=false,this.updateButtonBackground(this.button,this.getImageFromState());}onClick(){var e;this.state=this.state==="pressed"?"idle":"pressed",this.buttonClicked(),this.updateButtonBackground(this.button,this.getImageFromState()),(e=this.button)==null||e.setAttribute("aria-pressed",String(this.state==="pressed"));}updateButtonBackground(e,t){t!=null&&e!=null&&(e.style.backgroundImage=`url(${JSON.stringify(t)})`);}},v=class extends d{constructor(e,t){super(e,t);}async buttonClicked(){await this.frameSource.setDesiredTorchState(this.retrieveTorchState()==="on"?"off":"on");}async canShow(){return this.isTorchAvailable()}getImageFromState(){return this.retrieveTorchState()==="on"?this.isHover?this.control.torchOnPressedImage:this.control.torchOnImage:this.isHover?this.control.torchOffPressedImage:this.control.torchOffImage}setup(){if(this.control.torchOffImage==null||this.control.torchOnImage==null){a.log(a.Level.Warn,"TorchSwitchControl icon is not set or is empty, the control will not be rendered.");return}super.setup();}async isTorchAvailable(){return f$1(this.frameSource)?this.frameSource.isTorchAvailable():false}retrieveTorchState(){return f$1(this.frameSource)?this.frameSource.getDesiredTorchState():"off"}},f=class extends d{constructor(e,t){super(e,t);}async canShow(){return (await a$1.getAll()).length>1}getImageFromState(){return this.isHover?this.control.pressedImage:this.control.idleImage}async buttonClicked(){if(this.isTransitioning)return;let e=await this.getNextDeviceCamera();e&&await this.switchCameras(e);}setup(){if(this.control.idleImage==null){a.log(a.Level.Warn,"CameraSwitchControl idle icon is not set or is empty, the control will not be rendered.");return}super.setup();}async getNextDeviceCamera(){var a;let e=await a$1.getAll(false,true),t=this.frameSource?this.frameSource:null,i=t==null?void 0:t.deviceId,r=e.findIndex(n=>n.deviceId===i);return r>-1?(a=e[r+1])!=null?a:e[0]:e.length>0?e[0]:null}async switchCameras(e){var a,n,l;this.isTransitioning=true;let t=(a=this.context)==null?void 0:a.frameSource,i,r;t!=null&&(i=new g(t.settings),r=t.desiredState),await(t==null?void 0:t.switchToDesiredState("off")),i!=null&&await e.applySettings(i),await((n=this.context)==null?void 0:n.setFrameSource(e)),await((l=this.context)==null?void 0:l.frameSource).switchToDesiredState(r!=null?r:"on"),this.isTransitioning=false;}},C=class extends d{constructor(e,t){super(e,t);}async install(){let e=await super.install();return e&&await this.setInitialCamera(),e}async canShow(){return !b.isIOSDeviceWithExtendedCameraAccess()||!f$1(this.frameSource)?false:d$1.isIOSBackDualWideCameraLabel(this.frameSource.label)||d$1.isIOSBackCameraLabel(this.frameSource.label)||d$1.isIOSUltraWideBackCameraLabel(this.frameSource.label)}getImageFromState(){return this.isUltraWideBackCamera()?this.isHover?this.control.cameraFOVUltraWidePressedImage:this.control.cameraFOVUltraWideImage:this.isHover?this.control.cameraFOVWidePressedImage:this.control.cameraFOVWideImage}async buttonClicked(){if(this.isTransitioning)return;let e=await this.getAlternativeCamera();e&&await this.switchCameras(e);}setup(){if(this.control.cameraFOVUltraWideImage==null||this.control.cameraFOVWideImage==null){a.log(a.Level.Warn,"CameraFOVSwitchControl icon is not set or is empty, the control will not be rendered.");return}super.setup();}async setInitialCamera(){var e,t;if(!this.isTransitioning&&!d$1.isIOSBackCameraLabel((t=(e=this.frameSource)==null?void 0:e.label)!=null?t:"")){let r=(await a$1.getAll()).find(a=>d$1.isIOSBackCameraLabel(a.label));r&&await this.switchCameras(r);}}isUltraWideBackCamera(){return f$1(this.frameSource)?d$1.isIOSUltraWideBackCameraLabel(this.frameSource.label):false}async getAlternativeCamera(){return (await a$1.getAll()).find(t=>this.isUltraWideBackCamera()?d$1.isIOSBackCameraLabel(t.label):d$1.isIOSUltraWideBackCameraLabel(t.label))}async switchCameras(e){var a,n,l;this.isTransitioning=true;let t=(a=this.context)==null?void 0:a.frameSource,i,r;t!=null&&(i=new g(t.settings),r=t.desiredState),await(t==null?void 0:t.switchToDesiredState("off")),i!=null&&await e.applySettings(i),await((n=this.context)==null?void 0:n.setFrameSource(e)),await((l=this.context)==null?void 0:l.frameSource).switchToDesiredState(r!=null?r:"on"),this.isTransitioning=false;}};export{S as ButtonState,f as CameraSwitchControlWidget,C as PrivateCameraFOVSwitchControlWidget,v as PrivateTorchControlWidget};
1
+ import {a as a$1}from'../chunks/chunk-QRMHTQBG.js';import {d as d$1}from'../chunks/chunk-5GUWY76Q.js';import {b}from'../chunks/chunk-AYYKQ7YB.js';import {a}from'../chunks/chunk-XR65N6EG.js';import {f as f$1,g}from'../chunks/chunk-D222MT4V.js';var S=(t=>(t.Idle="idle",t.Pressed="pressed",t))(S||{}),d=class{constructor(e,t){this.state="idle";this.isHover=false;this.controlTypeToAriaLabelMap={"camera-fov":"Switch camera field of view",camera:"Switch camera",torch:"Toggle torch"};this.control=e,this.domHost=t,this.onTouchStartListener=this.onTouchStart.bind(this),this.onMouseEnterListener=this.onMouseEnter.bind(this),this.onMouseLeaveListener=this.onMouseLeave.bind(this),this.onClickListener=this.onClick.bind(this),this.setup();}get frameSource(){var e,t;return (t=(e=this.control.view)==null?void 0:e.getContext())==null?void 0:t.frameSource}get context(){var e;return (e=this.control.view)==null?void 0:e.getContext()}async install(){this.button||this.setup();let e=await this.canShow();return e?(this.updateButtonBackground(this.button,this.getImageFromState()),this.show()):this.hide(),e}remove(e=false){e&&this.button?(this.button.removeEventListener("mouseenter",this.onMouseEnterListener),this.button.removeEventListener("mouseleave",this.onMouseLeaveListener),this.button.removeEventListener("touchstart",this.onTouchStartListener),this.button.removeEventListener("click",this.onClickListener),this.button.remove(),this.isHover=false,this.button=void 0):this.hide();}hide(){this.button&&(this.button.style.display="none");}show(){this.button&&(this.button.style.display="block");}setupButton(){let e=document.createElement("button");e.type="button",e.style.display="none",e.className=`scandit-control-widget scandit-control-widget-${this.control.type}`,this.updateButtonBackground(e,this.getImageFromState()),this.domHost.append(e),e.addEventListener("mouseenter",this.onMouseEnterListener),e.addEventListener("mouseleave",this.onMouseLeaveListener),b.isDesktopDevice()||e.addEventListener("touchstart",this.onTouchStartListener),e.addEventListener("click",this.onClickListener),e.setAttribute("aria-pressed",String(this.state==="pressed"));let t=this.control.type,i=this.controlTypeToAriaLabelMap[t];return e.setAttribute("aria-label",i),this.button=e,this.button}setup(){this.setupButton();}onTouchStart(){var e,t;(e=this.button)==null||e.removeEventListener("mouseenter",this.onMouseEnterListener),(t=this.button)==null||t.removeEventListener("mouseleave",this.onMouseLeaveListener);}onMouseEnter(){this.isHover=true,this.updateButtonBackground(this.button,this.getImageFromState());}onMouseLeave(){this.isHover=false,this.updateButtonBackground(this.button,this.getImageFromState());}onClick(){var e;this.state=this.state==="pressed"?"idle":"pressed",this.buttonClicked(),this.updateButtonBackground(this.button,this.getImageFromState()),(e=this.button)==null||e.setAttribute("aria-pressed",String(this.state==="pressed"));}updateButtonBackground(e,t){t!=null&&e!=null&&(e.style.backgroundImage=`url(${JSON.stringify(t)})`);}},v=class extends d{constructor(e,t){super(e,t);}async buttonClicked(){await this.frameSource.setDesiredTorchState(this.retrieveTorchState()==="on"?"off":"on");}async canShow(){return this.isTorchAvailable()}getImageFromState(){return this.retrieveTorchState()==="on"?this.isHover?this.control.torchOnPressedImage:this.control.torchOnImage:this.isHover?this.control.torchOffPressedImage:this.control.torchOffImage}setup(){if(this.control.torchOffImage==null||this.control.torchOnImage==null){a.log(a.Level.Warn,"TorchSwitchControl icon is not set or is empty, the control will not be rendered.");return}super.setup();}async isTorchAvailable(){return f$1(this.frameSource)?this.frameSource.isTorchAvailable():false}retrieveTorchState(){return f$1(this.frameSource)?this.frameSource.getDesiredTorchState():"off"}},f=class extends d{constructor(e,t){super(e,t);}async canShow(){return (await a$1.getAll()).length>1}getImageFromState(){return this.isHover?this.control.pressedImage:this.control.idleImage}async buttonClicked(){if(this.isTransitioning)return;let e=await this.getNextDeviceCamera();e&&await this.switchCameras(e);}setup(){if(this.control.idleImage==null){a.log(a.Level.Warn,"CameraSwitchControl idle icon is not set or is empty, the control will not be rendered.");return}super.setup();}async getNextDeviceCamera(){var a;let e=await a$1.getAll(false,true),t=this.frameSource?this.frameSource:null,i=t==null?void 0:t.deviceId,r=e.findIndex(n=>n.deviceId===i);return r>-1?(a=e[r+1])!=null?a:e[0]:e.length>0?e[0]:null}async switchCameras(e){var a,n,l;this.isTransitioning=true;let t=(a=this.context)==null?void 0:a.frameSource,i,r;t!=null&&(i=new g(t.settings),r=t.desiredState),await(t==null?void 0:t.switchToDesiredState("off")),i!=null&&await e.applySettings(i),await((n=this.context)==null?void 0:n.setFrameSource(e)),await((l=this.context)==null?void 0:l.frameSource).switchToDesiredState(r!=null?r:"on"),this.isTransitioning=false;}},C=class extends d{constructor(e,t){super(e,t);}async install(){let e=await super.install();return e&&await this.setInitialCamera(),e}async canShow(){return !b.isIOSDeviceWithExtendedCameraAccess()||!f$1(this.frameSource)?false:d$1.isIOSBackDualWideCameraLabel(this.frameSource.label)||d$1.isIOSBackCameraLabel(this.frameSource.label)||d$1.isIOSUltraWideBackCameraLabel(this.frameSource.label)}getImageFromState(){return this.isUltraWideBackCamera()?this.isHover?this.control.cameraFOVUltraWidePressedImage:this.control.cameraFOVUltraWideImage:this.isHover?this.control.cameraFOVWidePressedImage:this.control.cameraFOVWideImage}async buttonClicked(){if(this.isTransitioning)return;let e=await this.getAlternativeCamera();e&&await this.switchCameras(e);}setup(){if(this.control.cameraFOVUltraWideImage==null||this.control.cameraFOVWideImage==null){a.log(a.Level.Warn,"CameraFOVSwitchControl icon is not set or is empty, the control will not be rendered.");return}super.setup();}async setInitialCamera(){var e,t;if(!this.isTransitioning&&!d$1.isIOSBackCameraLabel((t=(e=this.frameSource)==null?void 0:e.label)!=null?t:"")){let r=(await a$1.getAll()).find(a=>d$1.isIOSBackCameraLabel(a.label));r&&await this.switchCameras(r);}}isUltraWideBackCamera(){return f$1(this.frameSource)?d$1.isIOSUltraWideBackCameraLabel(this.frameSource.label):false}async getAlternativeCamera(){return (await a$1.getAll()).find(t=>this.isUltraWideBackCamera()?d$1.isIOSBackCameraLabel(t.label):d$1.isIOSUltraWideBackCameraLabel(t.label))}async switchCameras(e){var a,n,l;this.isTransitioning=true;let t=(a=this.context)==null?void 0:a.frameSource,i,r;t!=null&&(i=new g(t.settings),r=t.desiredState),await(t==null?void 0:t.switchToDesiredState("off")),i!=null&&await e.applySettings(i),await((n=this.context)==null?void 0:n.setFrameSource(e)),await((l=this.context)==null?void 0:l.frameSource).switchToDesiredState(r!=null?r:"on"),this.isTransitioning=false;}};export{S as ButtonState,f as CameraSwitchControlWidget,C as PrivateCameraFOVSwitchControlWidget,v as PrivateTorchControlWidget};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { F as FrameSource } from '../Camera-HgH6fwnW.js';
3
- import { C as Control, f as DataCaptureContext, p as DataCaptureView } from '../DataCaptureContext-Qg40v7QA.js';
3
+ import { C as Control, f as DataCaptureContext, p as DataCaptureView } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import { CameraFOVSwitchControl } from '../controls/CameraFOVSwitchControl.js';
5
5
  import { CameraSwitchControl } from '../controls/CameraSwitchControl.js';
6
6
  import { TorchSwitchControl } from '../controls/TorchSwitchControl.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { p as DataCaptureView } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { p as DataCaptureView } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import './Serializable.js';
@@ -1 +1 @@
1
- export{a as Howl}from'../../chunks/chunk-CERFU73N.js';
1
+ export{a as Howl}from'../../chunks/chunk-3WNU5X5L.js';
@@ -1 +1 @@
1
- export{c as WebAudioContextManager,a as createAudioContext,b as getAudioCacheInstance}from'../../chunks/chunk-Y3TODCJD.js';
1
+ export{c as WebAudioContextManager,a as createAudioContext,b as getAudioCacheInstance}from'../../chunks/chunk-EPIUNYWM.js';
@@ -1 +1 @@
1
- export{a as disposeGlobalAudioContext,c as ensureUnlockSetup,b as resetGlobalAudioContext}from'../../chunks/chunk-4LGQ66HW.js';export{a as Howl}from'../../chunks/chunk-CERFU73N.js';
1
+ export{a as disposeGlobalAudioContext,c as ensureUnlockSetup,b as resetGlobalAudioContext}from'../../chunks/chunk-IGTW3KDT.js';export{a as Howl}from'../../chunks/chunk-3WNU5X5L.js';
@@ -1 +1 @@
1
- export{b as disposeGlobalAudioContext,d as ensureUnlockSetup,a as getGlobalAudioContext,c as resetGlobalAudioContext}from'../../chunks/chunk-4F2Q2P2O.js';
1
+ export{b as disposeGlobalAudioContext,d as ensureUnlockSetup,a as getGlobalAudioContext,c as resetGlobalAudioContext}from'../../chunks/chunk-TDNR2OSD.js';
@@ -1 +1 @@
1
- export{b as getAppInfo,c as getKey,a as isElectron}from'../chunks/chunk-L66S4DN2.js';
1
+ export{b as getAppInfo,c as getKey,a as isElectron}from'../chunks/chunk-ASAV77S2.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { N as GenericHint } from '../../../DataCaptureContext-Qg40v7QA.js';
2
+ import { N as GenericHint } from '../../../DataCaptureContext-qacCkSOl.js';
3
3
  import { ScanditIcon } from '../../../ScanditIcon.js';
4
4
  import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
5
5
  import '../../../Camera-HgH6fwnW.js';
@@ -2,7 +2,7 @@
2
2
  import '../../../ScanditIcon.js';
3
3
  import '../../utils/ScanditHTMLElement.js';
4
4
  import '../../../commons/Rect.js';
5
- export { H as HintPresenter, bt as HintPresenterEvents } from '../../../DataCaptureContext-Qg40v7QA.js';
5
+ export { H as HintPresenter, bt as HintPresenterEvents } from '../../../DataCaptureContext-qacCkSOl.js';
6
6
  import '../../../commons/Color.js';
7
7
  import '../../Serializable.js';
8
8
  import '../../../commons/Point.js';
@@ -1 +1 @@
1
- export{a as Timeout}from'../../chunks/chunk-Q7JWDX4U.js';export{a as wait}from'../../chunks/chunk-UZWBB65W.js';export{a as waitTransitionEndForElement}from'../../chunks/chunk-2HTI5D6Y.js';export{b as safeAwaitAnimation,a as safeCancelAnimation}from'../../chunks/chunk-EQ6V4W5K.js';export{a as throttle}from'../../chunks/chunk-T3AOBMAS.js';export{a as html,b as renderIf}from'../../chunks/chunk-UWBNF47P.js';export{a as defineCustomElements}from'../../chunks/chunk-3A4KLILV.js';export{a as domIdFromValues}from'../../chunks/chunk-2LSO6JEZ.js';export{a as AsyncStateMachine}from'../../chunks/chunk-LXOZUOZU.js';export{a as ScanditHTMLElement}from'../../chunks/chunk-EV4OEANA.js';export{a as clamp}from'../../chunks/chunk-L2STPTEN.js';export{a as css}from'../../chunks/chunk-LSZZVJ6B.js';export{a as unknownErrorToString}from'../../chunks/chunk-AIRWHLJH.js';export{a as isObject}from'../../chunks/chunk-FGO2SSRS.js';export{a as isWorkerScope}from'../../chunks/chunk-QCRFVRSS.js';export{a as Deferred}from'../../chunks/chunk-O7TZTIHO.js';export{a as fromEntries}from'../../chunks/chunk-RG272MAJ.js';export{a as areEqualArrays}from'../../chunks/chunk-4KLHTKGW.js';export{a as debounce}from'../../chunks/chunk-R6E4CT22.js';export{b as cancelSafeRequestAnimationFrame,a as safeRequestAnimationFrame}from'../../chunks/chunk-CX2R2XQK.js';
1
+ export{a as Timeout}from'../../chunks/chunk-Q7JWDX4U.js';export{a as wait}from'../../chunks/chunk-UZWBB65W.js';export{a as waitTransitionEndForElement}from'../../chunks/chunk-2HTI5D6Y.js';export{b as safeAwaitAnimation,a as safeCancelAnimation}from'../../chunks/chunk-EQ6V4W5K.js';export{a as throttle}from'../../chunks/chunk-T3AOBMAS.js';export{a as html,b as renderIf}from'../../chunks/chunk-UWBNF47P.js';export{a as defineCustomElements}from'../../chunks/chunk-3A4KLILV.js';export{a as domIdFromValues}from'../../chunks/chunk-2LSO6JEZ.js';export{a as AsyncStateMachine}from'../../chunks/chunk-LXOZUOZU.js';export{a as ScanditHTMLElement}from'../../chunks/chunk-EV4OEANA.js';export{a as clamp}from'../../chunks/chunk-L2STPTEN.js';export{a as unknownErrorToString}from'../../chunks/chunk-AIRWHLJH.js';export{a as isObject}from'../../chunks/chunk-FGO2SSRS.js';export{a as isWorkerScope}from'../../chunks/chunk-QCRFVRSS.js';export{a as Deferred}from'../../chunks/chunk-O7TZTIHO.js';export{a as css}from'../../chunks/chunk-LSZZVJ6B.js';export{a as fromEntries}from'../../chunks/chunk-RG272MAJ.js';export{a as areEqualArrays}from'../../chunks/chunk-4KLHTKGW.js';export{a as debounce}from'../../chunks/chunk-R6E4CT22.js';export{b as cancelSafeRequestAnimationFrame,a as safeRequestAnimationFrame}from'../../chunks/chunk-CX2R2XQK.js';
@@ -1 +1 @@
1
- export{a as loadPolyfills}from'../../chunks/chunk-Y7BTRVB4.js';
1
+ export{a as loadPolyfills}from'../../chunks/chunk-AYQTB54E.js';
@@ -2,7 +2,7 @@
2
2
  import { Size } from '../../commons/Size.js';
3
3
  import { Optional } from '../../tsHelper.js';
4
4
  import '../../ScanditIcon.js';
5
- import '../../DataCaptureContext-Qg40v7QA.js';
5
+ import '../../DataCaptureContext-qacCkSOl.js';
6
6
  import '../Serializable.js';
7
7
  import '../../commons/Color.js';
8
8
  import './ScanditHTMLElement.js';
@@ -1,2 +1,2 @@
1
- import {b}from'../../chunks/chunk-YONR3EGV.js';import {a as a$1}from'../../chunks/chunk-XR65N6EG.js';async function a(){let[{missingFeatures:t},i]=await Promise.all([b.checkBrowserCompatibility(),b.checkMultithreadingSupport()]);i||(a$1.warn("Multithreading is not supported."),t.includes("crossOriginIsolated")&&a$1.warn("Headers for Multithreading are absent or misconfigured: please check how to configure them properly: https://docs.scandit.com/sdks/web/matrixscan/get-started#enable-browser-multithreading"),t.includes("sharedArrayBuffer")&&a$1.warn("SharedArrayBuffer not supported. Check the requirements here: https://docs.scandit.com/system-requirements#web-sdk"));}
1
+ import {b}from'../../chunks/chunk-AYYKQ7YB.js';import {a as a$1}from'../../chunks/chunk-XR65N6EG.js';async function a(){let[{missingFeatures:t},i]=await Promise.all([b.checkBrowserCompatibility(),b.checkMultithreadingSupport()]);i||(a$1.warn("Multithreading is not supported."),t.includes("crossOriginIsolated")&&a$1.warn("Headers for Multithreading are absent or misconfigured: please check how to configure them properly: https://docs.scandit.com/sdks/web/matrixscan/get-started#enable-browser-multithreading"),t.includes("sharedArrayBuffer")&&a$1.warn("SharedArrayBuffer not supported. Check the requirements here: https://docs.scandit.com/system-requirements#web-sdk"));}
2
2
  export{a as warnMultithreadingUnavailable};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  import { ImageConverterInstance, ImageBuffer, BitmapWithFormat } from '../private/djinni-types/index.js';
3
- import { W as WorkerFunctions } from '../DataCaptureContext-Qg40v7QA.js';
3
+ import { W as WorkerFunctions } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import '../Camera-HgH6fwnW.js';
5
5
  import '../commons/Rect.js';
6
6
  import '../private/Serializable.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { V as ViewInfo } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { V as ViewInfo } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import '../private/Serializable.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { I as DataCaptureEngine, J as Module, Q as AnyDataCaptureActionMessage, R as AugmentedWorker, S as ModuleHandler, T as DataCaptureCallbackMessage, U as DataCaptureActionMessageKey, X as EngineWorkerResponse } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { K as DataCaptureEngine, L as Module, Q as AnyDataCaptureActionMessage, R as AugmentedWorker, S as ModuleHandler, T as DataCaptureCallbackMessage, U as DataCaptureActionMessageKey, X as EngineWorkerResponse } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../Camera-HgH6fwnW.js';
4
4
  import '../commons/Rect.js';
5
5
  import '../private/Serializable.js';
@@ -1 +1 @@
1
- export{a as WorkerMain}from'../chunks/chunk-TMIZ6Z75.js';
1
+ export{a as WorkerMain}from'../chunks/chunk-NOEX6HP5.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- import { I as DataCaptureEngine, J as Module } from '../DataCaptureContext-Qg40v7QA.js';
2
+ import { K as DataCaptureEngine, L as Module } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import { WorkerMain } from './WorkerMain.js';
4
4
  import '../Camera-HgH6fwnW.js';
5
5
  import '../commons/Rect.js';
@@ -1 +1 @@
1
- export{b as InlineWorker,a as workerInstance}from'../chunks/chunk-ZCF62ALL.js';
1
+ export{b as InlineWorker,a as workerInstance}from'../chunks/chunk-WMI56GO3.js';
@@ -3,7 +3,7 @@ import '../private/BatteryInterface.js';
3
3
  import '../LoadingStatus.js';
4
4
  import '../commons/Point.js';
5
5
  import '../commons/Orientation.js';
6
- export { a1 as CreateContextParameters, I as DataCaptureEngine, aJ as LoadLibraryParameters, aT as ProcessFrameParameters, aW as ReportCameraPropertiesParameters, a_ as SetFrameSourceParameters, ba as UpdateContextParameters, W as WorkerFunctions } from '../DataCaptureContext-Qg40v7QA.js';
6
+ export { a1 as CreateContextParameters, K as DataCaptureEngine, aJ as LoadLibraryParameters, aT as ProcessFrameParameters, aW as ReportCameraPropertiesParameters, a_ as SetFrameSourceParameters, ba as UpdateContextParameters, W as WorkerFunctions } from '../DataCaptureContext-qacCkSOl.js';
7
7
  import '../ScanditIcon.js';
8
8
  import '../private/FrameReaders/ColorType.js';
9
9
  import '../private/djinni-types/index.js';
@@ -1 +1 @@
1
- export{a as DataCaptureEngine}from'../chunks/chunk-DGDPZ73X.js';
1
+ export{a as DataCaptureEngine}from'../chunks/chunk-JAY44NXK.js';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="emscripten" />
2
- export { k as DataCaptureLoader, l as DataCaptureLoaderOptions } from '../DataCaptureContext-Qg40v7QA.js';
2
+ export { k as DataCaptureLoader, l as DataCaptureLoaderOptions } from '../DataCaptureContext-qacCkSOl.js';
3
3
  import '../LoadingStatus.js';
4
4
  import '../logger.js';
5
5
  import '../ScanditIcon.js';
@@ -1 +1 @@
1
- export{a as DataCaptureLoader}from'../chunks/chunk-YJNJGCAN.js';
1
+ export{a as DataCaptureLoader}from'../chunks/chunk-RXFEUGTT.js';
@@ -2,7 +2,7 @@
2
2
  import '../commons/Orientation.js';
3
3
  import '../commons/Point.js';
4
4
  import '../commons/Rect.js';
5
- export { Y as AddNativeOverlayAction, Q as AnyDataCaptureActionMessage, R as AugmentedWorker, Z as BatteryData, _ as CaptureModeDeserializerInstance, $ as ConvertToJPEGResultDataCaptureAction, a0 as CreateContextDataCaptureAction, U as DataCaptureActionMessageKey, T as DataCaptureCallbackMessage, a2 as DataCaptureCallbackMessageKeys, a3 as DataCaptureContext, a4 as DataCaptureContextDeserializer, a5 as DataCaptureContextDeserializerResult, a6 as DataCaptureImageBufferFrameSource, a7 as DataCaptureView, a8 as DataCaptureWorker, a9 as DeleteFrameDataDataCaptureAction, aa as DeviceInterfaceInstance, ab as DidTapTrackedBarcode, ac as DisposeDataCaptureAction, ad as EmscriptenClassHandle, X as EngineWorkerResponse, ae as ExtractCentaurusLicenseDataCaptureAction, af as ExtractCentaurusLicenseResponse, ag as FlushAnalyticsDataCaptureAction, N as GenericHint, ah as GestureListener, ai as GestureRecognizer, aj as GetOpenSourceSoftwareLicenseInfoAction, ak as GetOpenSourceSoftwareLicenseInfoResponse, al as GetViewfinderInfoAction, am as GetViewfinderInfoResponse, an as GuidanceHint, ao as GuidanceHintAnchor, ap as GuidanceHintStyle, aq as HideGuidanceMessage, ar as HideHintWorkerMessage, as as HideToastMessage, at as HintAnchor, au as HintCornerStyle, av as HintFont, aw as HintHeight, ax as HintIcon, ay as HintPresenterV2, az as HintPresenterV2updateAction, aA as HintStyle, aB as HintTextAlignment, aC as HintWidth, aD as IsFeatureSupportedAction, aE as IsFeatureSupportedMessage, aF as IsFeatureSupportedResponse, aG as JSONParseable, aH as LicensedFeature, aI as LoadLibraryDataCaptureAction, J as Module, S as ModuleHandler, aK as ModuleMirrorAxis, aL as OnFrameProcessingFinishedMessage, aM as OnFrameProcessingStartedMessage, aN as OnFrameSkippedMessage, aO as OnTapAction, aP as PayloadForCommand, K as PerformanceMetrics, aQ as PerformanceMetricsReportMessage, aR as PlatformHintPresenter, aS as ProcessFrameDataCaptureAction, aU as RemoveNativeOverlayAction, aV as ReportCameraPropertiesDataCaptureAction, aX as RequestFrameDataDataCaptureAction, aY as RequestFrameDataResponse, aZ as SetFrameSourceDataCaptureAction, a$ as SetLogLevelDataCaptureAction, b0 as ShowGuidanceMessage, b1 as ShowHintWorkerMessage, b2 as ShowToastMessage, b3 as StartUpdateTimerMessage, b4 as StopUpdateTimerMessage, b5 as SuccessFeedbackWorkerMessage, b6 as ToastHint, b7 as ToastHintStyle, b8 as UpdateBatteryInfoDataCaptureAction, b9 as UpdateContextDataCaptureAction, bb as UpdateHintWorkerMessage, bc as Vector, V as ViewInfo, bd as ViewSizeChangedMessage, be as VisibilityChangeAction, bf as WasmFeedback, bg as WasmFrameData, bh as WorkerResponse } from '../DataCaptureContext-Qg40v7QA.js';
5
+ export { Y as AddNativeOverlayAction, Q as AnyDataCaptureActionMessage, R as AugmentedWorker, Z as BatteryData, _ as CaptureModeDeserializerInstance, $ as ConvertToJPEGResultDataCaptureAction, a0 as CreateContextDataCaptureAction, U as DataCaptureActionMessageKey, T as DataCaptureCallbackMessage, a2 as DataCaptureCallbackMessageKeys, a3 as DataCaptureContext, a4 as DataCaptureContextDeserializer, a5 as DataCaptureContextDeserializerResult, a6 as DataCaptureImageBufferFrameSource, a7 as DataCaptureView, a8 as DataCaptureWorker, a9 as DeleteFrameDataDataCaptureAction, aa as DeviceInterfaceInstance, ab as DidTapTrackedBarcode, ac as DisposeDataCaptureAction, ad as EmscriptenClassHandle, X as EngineWorkerResponse, ae as ExtractCentaurusLicenseDataCaptureAction, af as ExtractCentaurusLicenseResponse, ag as FlushAnalyticsDataCaptureAction, N as GenericHint, ah as GestureListener, ai as GestureRecognizer, aj as GetOpenSourceSoftwareLicenseInfoAction, ak as GetOpenSourceSoftwareLicenseInfoResponse, al as GetViewfinderInfoAction, am as GetViewfinderInfoResponse, an as GuidanceHint, ao as GuidanceHintAnchor, ap as GuidanceHintStyle, aq as HideGuidanceMessage, ar as HideHintWorkerMessage, as as HideToastMessage, at as HintAnchor, au as HintCornerStyle, av as HintFont, aw as HintHeight, ax as HintIcon, ay as HintPresenterV2, az as HintPresenterV2updateAction, aA as HintStyle, aB as HintTextAlignment, aC as HintWidth, aD as IsFeatureSupportedAction, aE as IsFeatureSupportedMessage, aF as IsFeatureSupportedResponse, aG as JSONParseable, aH as LicensedFeature, aI as LoadLibraryDataCaptureAction, L as Module, S as ModuleHandler, aK as ModuleMirrorAxis, aL as OnFrameProcessingFinishedMessage, aM as OnFrameProcessingStartedMessage, aN as OnFrameSkippedMessage, aO as OnTapAction, aP as PayloadForCommand, I as PerformanceMetrics, aQ as PerformanceMetricsReportMessage, aR as PlatformHintPresenter, aS as ProcessFrameDataCaptureAction, aU as RemoveNativeOverlayAction, aV as ReportCameraPropertiesDataCaptureAction, aX as RequestFrameDataDataCaptureAction, aY as RequestFrameDataResponse, aZ as SetFrameSourceDataCaptureAction, a$ as SetLogLevelDataCaptureAction, b0 as ShowGuidanceMessage, b1 as ShowHintWorkerMessage, b2 as ShowToastMessage, b3 as StartUpdateTimerMessage, b4 as StopUpdateTimerMessage, b5 as SuccessFeedbackWorkerMessage, b6 as ToastHint, b7 as ToastHintStyle, b8 as UpdateBatteryInfoDataCaptureAction, b9 as UpdateContextDataCaptureAction, bb as UpdateHintWorkerMessage, bc as Vector, V as ViewInfo, bd as ViewSizeChangedMessage, be as VisibilityChangeAction, bf as WasmFeedback, bg as WasmFrameData, bh as WorkerResponse } from '../DataCaptureContext-qacCkSOl.js';
6
6
  import '../LoadingStatus.js';
7
7
  import '../logger.js';
8
8
  import '../private/BatteryInterface.js';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="emscripten" />
2
2
  export { WorkerMain } from './WorkerMain.js';
3
- export { Y as AddNativeOverlayAction, Q as AnyDataCaptureActionMessage, R as AugmentedWorker, Z as BatteryData, _ as CaptureModeDeserializerInstance, $ as ConvertToJPEGResultDataCaptureAction, a0 as CreateContextDataCaptureAction, a1 as CreateContextParameters, U as DataCaptureActionMessageKey, T as DataCaptureCallbackMessage, a2 as DataCaptureCallbackMessageKeys, a3 as DataCaptureContext, a4 as DataCaptureContextDeserializer, a5 as DataCaptureContextDeserializerResult, I as DataCaptureEngine, a6 as DataCaptureImageBufferFrameSource, k as DataCaptureLoader, l as DataCaptureLoaderOptions, a7 as DataCaptureView, a8 as DataCaptureWorker, a9 as DeleteFrameDataDataCaptureAction, aa as DeviceInterfaceInstance, ab as DidTapTrackedBarcode, ac as DisposeDataCaptureAction, ad as EmscriptenClassHandle, X as EngineWorkerResponse, ae as ExtractCentaurusLicenseDataCaptureAction, af as ExtractCentaurusLicenseResponse, ag as FlushAnalyticsDataCaptureAction, N as GenericHint, ah as GestureListener, ai as GestureRecognizer, aj as GetOpenSourceSoftwareLicenseInfoAction, ak as GetOpenSourceSoftwareLicenseInfoResponse, al as GetViewfinderInfoAction, am as GetViewfinderInfoResponse, an as GuidanceHint, ao as GuidanceHintAnchor, ap as GuidanceHintStyle, aq as HideGuidanceMessage, ar as HideHintWorkerMessage, as as HideToastMessage, at as HintAnchor, au as HintCornerStyle, av as HintFont, aw as HintHeight, ax as HintIcon, ay as HintPresenterV2, az as HintPresenterV2updateAction, aA as HintStyle, aB as HintTextAlignment, aC as HintWidth, aD as IsFeatureSupportedAction, aE as IsFeatureSupportedMessage, aF as IsFeatureSupportedResponse, aG as JSONParseable, aH as LicensedFeature, aI as LoadLibraryDataCaptureAction, aJ as LoadLibraryParameters, J as Module, S as ModuleHandler, aK as ModuleMirrorAxis, aL as OnFrameProcessingFinishedMessage, aM as OnFrameProcessingStartedMessage, aN as OnFrameSkippedMessage, aO as OnTapAction, aP as PayloadForCommand, K as PerformanceMetrics, aQ as PerformanceMetricsReportMessage, aR as PlatformHintPresenter, aS as ProcessFrameDataCaptureAction, aT as ProcessFrameParameters, aU as RemoveNativeOverlayAction, aV as ReportCameraPropertiesDataCaptureAction, aW as ReportCameraPropertiesParameters, aX as RequestFrameDataDataCaptureAction, aY as RequestFrameDataResponse, aZ as SetFrameSourceDataCaptureAction, a_ as SetFrameSourceParameters, a$ as SetLogLevelDataCaptureAction, b0 as ShowGuidanceMessage, b1 as ShowHintWorkerMessage, b2 as ShowToastMessage, b3 as StartUpdateTimerMessage, b4 as StopUpdateTimerMessage, b5 as SuccessFeedbackWorkerMessage, b6 as ToastHint, b7 as ToastHintStyle, b8 as UpdateBatteryInfoDataCaptureAction, b9 as UpdateContextDataCaptureAction, ba as UpdateContextParameters, bb as UpdateHintWorkerMessage, bc as Vector, V as ViewInfo, bd as ViewSizeChangedMessage, be as VisibilityChangeAction, bf as WasmFeedback, bg as WasmFrameData, W as WorkerFunctions, bh as WorkerResponse } from '../DataCaptureContext-Qg40v7QA.js';
3
+ export { Y as AddNativeOverlayAction, Q as AnyDataCaptureActionMessage, R as AugmentedWorker, Z as BatteryData, _ as CaptureModeDeserializerInstance, $ as ConvertToJPEGResultDataCaptureAction, a0 as CreateContextDataCaptureAction, a1 as CreateContextParameters, U as DataCaptureActionMessageKey, T as DataCaptureCallbackMessage, a2 as DataCaptureCallbackMessageKeys, a3 as DataCaptureContext, a4 as DataCaptureContextDeserializer, a5 as DataCaptureContextDeserializerResult, K as DataCaptureEngine, a6 as DataCaptureImageBufferFrameSource, k as DataCaptureLoader, l as DataCaptureLoaderOptions, a7 as DataCaptureView, a8 as DataCaptureWorker, a9 as DeleteFrameDataDataCaptureAction, aa as DeviceInterfaceInstance, ab as DidTapTrackedBarcode, ac as DisposeDataCaptureAction, ad as EmscriptenClassHandle, X as EngineWorkerResponse, ae as ExtractCentaurusLicenseDataCaptureAction, af as ExtractCentaurusLicenseResponse, ag as FlushAnalyticsDataCaptureAction, N as GenericHint, ah as GestureListener, ai as GestureRecognizer, aj as GetOpenSourceSoftwareLicenseInfoAction, ak as GetOpenSourceSoftwareLicenseInfoResponse, al as GetViewfinderInfoAction, am as GetViewfinderInfoResponse, an as GuidanceHint, ao as GuidanceHintAnchor, ap as GuidanceHintStyle, aq as HideGuidanceMessage, ar as HideHintWorkerMessage, as as HideToastMessage, at as HintAnchor, au as HintCornerStyle, av as HintFont, aw as HintHeight, ax as HintIcon, ay as HintPresenterV2, az as HintPresenterV2updateAction, aA as HintStyle, aB as HintTextAlignment, aC as HintWidth, aD as IsFeatureSupportedAction, aE as IsFeatureSupportedMessage, aF as IsFeatureSupportedResponse, aG as JSONParseable, aH as LicensedFeature, aI as LoadLibraryDataCaptureAction, aJ as LoadLibraryParameters, L as Module, S as ModuleHandler, aK as ModuleMirrorAxis, aL as OnFrameProcessingFinishedMessage, aM as OnFrameProcessingStartedMessage, aN as OnFrameSkippedMessage, aO as OnTapAction, aP as PayloadForCommand, I as PerformanceMetrics, aQ as PerformanceMetricsReportMessage, aR as PlatformHintPresenter, aS as ProcessFrameDataCaptureAction, aT as ProcessFrameParameters, aU as RemoveNativeOverlayAction, aV as ReportCameraPropertiesDataCaptureAction, aW as ReportCameraPropertiesParameters, aX as RequestFrameDataDataCaptureAction, aY as RequestFrameDataResponse, aZ as SetFrameSourceDataCaptureAction, a_ as SetFrameSourceParameters, a$ as SetLogLevelDataCaptureAction, b0 as ShowGuidanceMessage, b1 as ShowHintWorkerMessage, b2 as ShowToastMessage, b3 as StartUpdateTimerMessage, b4 as StopUpdateTimerMessage, b5 as SuccessFeedbackWorkerMessage, b6 as ToastHint, b7 as ToastHintStyle, b8 as UpdateBatteryInfoDataCaptureAction, b9 as UpdateContextDataCaptureAction, ba as UpdateContextParameters, bb as UpdateHintWorkerMessage, bc as Vector, V as ViewInfo, bd as ViewSizeChangedMessage, be as VisibilityChangeAction, bf as WasmFeedback, bg as WasmFrameData, W as WorkerFunctions, bh as WorkerResponse } from '../DataCaptureContext-qacCkSOl.js';
4
4
  import '../Camera-HgH6fwnW.js';
5
5
  import '../commons/Rect.js';
6
6
  import '../private/Serializable.js';
@@ -1 +1 @@
1
- export{a as DataCaptureLoader}from'../chunks/chunk-YJNJGCAN.js';export{a as WorkerMain}from'../chunks/chunk-TMIZ6Z75.js';export{a as DataCaptureEngine}from'../chunks/chunk-DGDPZ73X.js';export{h as GuidanceHintAnchor,i as GuidanceHintStyle,g as HintAnchor,e as HintCornerStyle,a as HintFont,d as HintHeight,f as HintIcon,b as HintTextAlignment,c as HintWidth,k as LicensedFeature,j as ToastHintStyle}from'../chunks/chunk-WFKB322J.js';
1
+ export{a as DataCaptureLoader}from'../chunks/chunk-RXFEUGTT.js';export{a as WorkerMain}from'../chunks/chunk-NOEX6HP5.js';export{a as DataCaptureEngine}from'../chunks/chunk-JAY44NXK.js';export{h as GuidanceHintAnchor,i as GuidanceHintStyle,g as HintAnchor,e as HintCornerStyle,a as HintFont,d as HintHeight,f as HintIcon,b as HintTextAlignment,c as HintWidth,k as LicensedFeature,j as ToastHintStyle}from'../chunks/chunk-WFKB322J.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scandit/web-datacapture-core",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Scandit Data Capture SDK for the Web",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "sideEffects": false,
@@ -1 +0,0 @@
1
- import {b,c,d}from'./chunk-4F2Q2P2O.js';function n(){b();}function p(){c();}function i(){d();}export{n as a,p as b,i as c};
@@ -1 +0,0 @@
1
- var e;(o=>{function i(){let r="8.4.0";return r}o.sdkVersion=i;})(e||(e={}));export{e as a};