@scandit/web-datacapture-barcode 7.0.0 → 7.0.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.
- package/build/js/chunks/{chunk-APIYP6ZL.js → chunk-AGGHZGYI.js} +2 -2
- package/build/js/chunks/chunk-L626VDPZ.js +5 -0
- package/build/js/chunks/chunk-LL6ICDZV.js +3 -0
- package/build/js/chunks/{chunk-6UMT6EAO.js → chunk-MVB7CK43.js} +1 -1
- package/build/js/chunks/{chunk-3EXZIU37.js → chunk-OBQCD7KC.js} +1 -1
- package/build/js/chunks/{chunk-POA365GO.js → chunk-SHZ3YUQY.js} +1 -1
- package/build/js/index.js +6 -6
- package/build/js/moduleLoader.js +1 -1
- package/build/js/spark/index.js +4 -4
- package/build/js/spark/ui/SparkScanView.js +1 -1
- package/build/js/spark/ui/SparkScanViewPresenter.js +1 -1
- package/build/js/spark/ui/index.js +2 -2
- package/build/js/worker/BarcodeCaptureWorkerManager.js +1 -1
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/dataCapture.inlineWorker.js +1 -1
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/package.json +2 -2
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.worker.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.worker.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode.wasm +0 -0
- package/build/js/chunks/chunk-T6L75N3D.js +0 -3
- package/build/js/chunks/chunk-VXMLFKGN.js +0 -5
- package/build/js/chunks/{chunk-5AWKCU7L.js → chunk-IHZWYTCH.js} +2 -2
|
@@ -2,9 +2,9 @@ import { a } from './chunk-YQVJWYOP.js';
|
|
|
2
2
|
import { a as a$3 } from './chunk-JMWBOJQR.js';
|
|
3
3
|
import { a as a$2 } from './chunk-INRFTFPK.js';
|
|
4
4
|
import { a as a$1 } from './chunk-ZLYZOIU3.js';
|
|
5
|
-
import { a as a$4 } from './chunk-
|
|
5
|
+
import { a as a$4 } from './chunk-LL6ICDZV.js';
|
|
6
6
|
import { DataCaptureEngine } from '@scandit/web-datacapture-core/build/js/worker/index.js';
|
|
7
7
|
|
|
8
|
-
var d=class extends DataCaptureEngine{constructor(e,r){super(e,r);}getModeDeserializers(){this.barcodeCaptureMode=new a(this,this.Module,this.workerFunctions),this.barcodeBatchMode=new a$1(this,this.Module,this.workerFunctions),this.sparkScanMode=new a$2(this,this.Module,this.workerFunctions),this.barcodeFindMode=new a$3(this,this.Module,this.workerFunctions);let e=super.getModeDeserializers();return e.push_back(this.barcodeCaptureMode.getCaptureDeserializer()),e.push_back(this.barcodeBatchMode.getBatchDeserializer()),e.push_back(this.sparkScanMode.getSparkScanDeserializer()),e}getWasmSideModuleFileName(){return ""}getWasmCoreFileName(e,r){return r?e?"scandit-datacapture-sdk-barcode-simd-pthreads.wasm":"scandit-datacapture-sdk-barcode-pthreads.wasm":e?"scandit-datacapture-sdk-barcode-simd.wasm":"scandit-datacapture-sdk-barcode.wasm"}getWasmCoreExpectedHash(e,r){return r?e?"
|
|
8
|
+
var d=class extends DataCaptureEngine{constructor(e,r){super(e,r);}getModeDeserializers(){this.barcodeCaptureMode=new a(this,this.Module,this.workerFunctions),this.barcodeBatchMode=new a$1(this,this.Module,this.workerFunctions),this.sparkScanMode=new a$2(this,this.Module,this.workerFunctions),this.barcodeFindMode=new a$3(this,this.Module,this.workerFunctions);let e=super.getModeDeserializers();return e.push_back(this.barcodeCaptureMode.getCaptureDeserializer()),e.push_back(this.barcodeBatchMode.getBatchDeserializer()),e.push_back(this.sparkScanMode.getSparkScanDeserializer()),e}getWasmSideModuleFileName(){return ""}getWasmCoreFileName(e,r){return r?e?"scandit-datacapture-sdk-barcode-simd-pthreads.wasm":"scandit-datacapture-sdk-barcode-pthreads.wasm":e?"scandit-datacapture-sdk-barcode-simd.wasm":"scandit-datacapture-sdk-barcode.wasm"}getWasmCoreExpectedHash(e,r){return r?e?"d13e6818158b88ae1bd5716befe80b24401fec064fb8813a9adf0a4baebf5f5e":"6087ed38f29976e22796c9da937a7febfea0340d358d41099e5cf74832753853":e?"62e5d8b44b357c5cdeb9519e49d9a4aff9e1ad5f22d00e378c645e49e23205b2":"ab387f6e689a5605ac99053b6889d6aca9d4442e3598e7d8506392811cde3584"}getWasmMetadata(){return a$4}};
|
|
9
9
|
|
|
10
10
|
export { d as a };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DataCaptureLoader, Logger } from '@scandit/web-datacapture-core';
|
|
2
|
+
|
|
3
|
+
function i(r){let e=URL.createObjectURL(new Blob(['"use strict";(()=>{var u={"scandit-datacapture-sdk-barcode-pthreads.wasm":{bytes:7033813},"scandit-datacapture-sdk-barcode-simd.wasm":{bytes:7551236},"scandit-datacapture-sdk-barcode.wasm":{bytes:7369989},"scandit-datacapture-sdk-barcode-simd-pthreads.wasm":{bytes:7180436}};function C(t){return typeof t=="object"&&t!=null}function k(t){if(typeof t=="string")return t;if(C(t)){if(typeof t.message=="string")return t.message}else if(typeof t?.toString=="function")return t.toString();return"unknown error"}var c;(t=>{(o=>(o.Debug="debug",o.Info="info",o.Warn="warn",o.Error="error",o.Quiet="quiet"))(t.Level||(t.Level={}));let e=new Map([["debug",1],["info",2],["warn",3],["error",4],["quiet",5]]),r="debug";function a(o){r=o}t.setLevel=a;function s(o,...p){if(!(e.get(r)>e.get(o)))switch(o){case"debug":{console.debug(...p);break}case"info":{console.log(...p);break}case"warn":{console.warn(...p);break}case"error":{console.error(...p);break}}}t.log=s;function i(...o){s("warn",...o)}t.warn=i;function n(...o){s("debug",...o)}t.debug=n;function d(...o){s("info",...o)}t.info=d;function l(...o){s("error",...o)}t.error=l})(c||(c={}));var j=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t);var G=function(t,e){this[0]=t,this[1]=e},te=(t,e,r)=>{var a=(n,d,l,o)=>{try{var p=r[n](d),b=(d=p.value)instanceof G,h=p.done;Promise.resolve(b?d[0]:d).then(m=>b?a(n==="return"?n:"next",d[1]?{done:m.done,value:m.value}:m,l,o):l({value:m,done:h})).catch(m=>a("throw",m,l,o))}catch(m){o(m)}},s=n=>i[n]=d=>new Promise((l,o)=>a(n,d,l,o)),i={};return r=r.apply(t,e),i[j("asyncIterator")]=()=>i,s("next"),s("throw"),s("return"),i},re=(t,e,r)=>(e=t[j("asyncIterator")])?e.call(t):(t=t[j("iterator")](),e={},r=(a,s)=>(s=t[a])&&(e[a]=i=>new Promise((n,d,l)=>(i=s.call(t,i),l=i.done,Promise.resolve(i.value).then(o=>n({value:o,done:l}),d)))),r("next"),r("return"),e);var ae={};function Te(t){return[...new Uint8Array(t)].map(e=>{let r=e.toString(16);return r.length===1?`0${r}`:r}).join("")}function Ie(t){return te(this,null,function*(){let e=t.getReader();try{for(;;){let{done:r,value:a}=yield new G(e.read());if(r)return;yield a}}finally{e.releaseLock()}})}async function Ae(t){let e=[],r=0,a=0;try{for(var s=re(Ie(t)),i,n,d;i=!(n=await s.next()).done;i=!1){let o=n.value;e.push(o),r+=o.length}}catch(o){d=[o]}finally{try{i&&(n=s.return)&&await n.call(s)}finally{if(d)throw d[0]}}let l=new Uint8Array(r);for(let o of e)l.set(o,a),a+=o.length;return l.buffer}var We=(t=>(t.VALID="VALID",t.INVALID="INVALID",t.NOT_VERIFIABLE="NOT_VERIFIABLE",t))(We||{});async function Ee(t,e,r){if(typeof crypto.subtle.digest!="function")return c.log(c.Level.Warn,`Insecure context (see https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts): The hash of the Scandit Data Capture library WASM file found at ${r} could not be verified`),"NOT_VERIFIABLE";try{let a=t instanceof Promise?await t:t,s=await crypto.subtle.digest("SHA-256",a),i=Te(s);return e==null?(c.log(c.Level.Warn,"The library hash is not defined or empty, cannot correctly verify integrity."),"NOT_VERIFIABLE"):i===e?(c.log(c.Level.Debug,`Data Capture library WASM integrity found at ${r} has been verified correctly.`),"VALID"):(c.log(c.Level.Warn,`The Scandit Data Capture library WASM file found at ${r} seems invalid: expected file hash doesn\'t match (received: ${i}, expected: ${e}). Please ensure the correct Scandit Data Capture file (with correct version) is retrieved.`),"INVALID")}catch(a){return c.log(c.Level.Warn,"Wasm response could not be verified",a),"NOT_VERIFIABLE"}}var q=new Map([["br",4.4],["gzip",2.9],["none",1]]);function Re(t){var e;let r="content-encoding";if(t==null||t.get(r)==null)return q.get("none");let a=new Set(((e=t.get(r))!=null?e:"").split(",").map(s=>s.trim()));for(let[s,i]of q)if(a.has(s))return i;return q.get("none")}function Ne(t){var e,r;if(t==null)return 0;let a=(e=Re(t))!=null?e:1,s=Number.parseInt((r=t.get("content-length"))!=null?r:"0",10);return Number.isNaN(s)?0:Math.floor(s*a*100)/100}function _e(t){let{pathname:e}=new URL(t);for(let[r,a]of Object.entries(ae))if(e.endsWith(r))return a.bytes;return 0}function se(t){ae=t}var He=(t,e)=>{let r=Ne(e);return r===0?_e(t):r};function ze(t,e,r,{onProgress:a,onError:s,onComplete:i}){if(!e.body)return[e];let n=He(t,e.headers),d=0,l=0,[o,p]=r?e.body.tee():[e.body],b=o.pipeThrough(new TransformStream({async transform(h,m){try{d+=h.length,l=Number((d/n*100).toFixed(2)),n>0&&h.length>0&&l<100?a?.({percentage:l,loadedBytes:d,privateUri:t}):n===0&&h.length>0&&a?.({percentage:null,loadedBytes:d,privateUri:t}),m.enqueue(h)}catch(f){m.error(f),s?.({error:f})}},flush(h){a?.({percentage:100,loadedBytes:d,privateUri:t}),i?.({percentage:100,loadedBytes:d,privateUri:t}),h.terminate()}}));return[new Response(b,{headers:new Headers(e.headers),status:e.status,statusText:e.statusText}),p]}async function K({wasmURI:t,expectedHash:e,verifyResponseHash:r,onProgress:a,onComplete:s,onError:i,referredOrigin:n}){let d=await fetch(t,{referrerPolicy:"origin",referrer:n??""});if(!d.ok)throw new Error(`HTTP status code is not ok: ${d.status}, ${d.statusText}`);let[l,o]=ze(t,d,r,{onProgress:a,onError:i,onComplete:s});return o!=null&&Ee(Ae(o),e,t),l}function ie({wasmURI:t,expectedHash:e,verifyResponseHash:r,progressCallback:a,successCallback:s,importObject:i,referredOrigin:n}){async function d(o){try{let p=await K({wasmURI:t,expectedHash:e,verifyResponseHash:r,onProgress:a,referredOrigin:n}),b=await(o??p).arrayBuffer(),h=await globalThis.WebAssembly.instantiate(b,i);s(h.instance,h.module)}catch(p){c.log(c.Level.Error,p),c.log(c.Level.Error,`Couldn\'t instantiate Scandit SDK DataCapture library at ${t}, did you configure the path for it correctly?`)}}async function l(){let o;try{o=await K({wasmURI:t,expectedHash:e,verifyResponseHash:r,onProgress:a,referredOrigin:n});let p=await globalThis.WebAssembly.instantiateStreaming(o,i);s(p.instance,p.module)}catch(p){c.log(c.Level.Warn,p),c.log(c.Level.Warn,"WebAssembly streaming compile failed. Falling back to ArrayBuffer instantiation (this will make things slower)"),d(o?.bodyUsed===!0?void 0:o)}}typeof globalThis.WebAssembly.instantiateStreaming=="function"?l():d()}async function X(t,e,r,a){return new Promise((s,i)=>{t().then(s).catch(n=>{let d=e*2;if(d>r){i(n);return}a(n),globalThis.setTimeout(()=>{X(t,d,r,a).then(s).catch(i)},e)})})}function Y(t){var e,r;let a="";if((e=t.href)!=null&&e.startsWith("blob:null/"))a="localhost";else{let s=((r=t.pathname)==null?void 0:r.length)>1&&!t.pathname.startsWith("/");a=new URL(s?t.pathname:t.origin).hostname}return a.startsWith("[")&&a.endsWith("]")&&(a=a.slice(1,-1)),a}async function ne(t,e){async function r(){return importScripts(t)}try{await X(r,250,4e3,s=>{c.log(c.Level.Warn,s),c.log(c.Level.Warn,`Couldn\'t retrieve Scandit Data Capture library at ${t}, retrying...`)}),self.Module.mainScriptUrlOrBlob=t;let a=globalThis.SDC_WASM_JS_VERSION;return a!==e&&c.log(c.Level.Warn,`The Scandit Data Capture library JS file found at ${t} seems invalid: expected version doesn\'t match (received: ${a}, expected: ${e}). Please ensure the correct Scandit Data Capture file (with correct version) is retrieved.`),!0}catch(a){return c.log(c.Level.Error,a),!1}}var L=class oe extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,oe.prototype),this.name=e.name}toString(){return`${this.name}: ${this.message}`}};var T=Promise.resolve(),I=!1,Z=!1,D,M={writableDataPathPreload:"",writableDataPath:"",preloading:!1};async function Ve(){let t="FILE_DATA",e,r,a,s,i;function n(){clearTimeout(i),a.result.close(),s.result.close(),e(0)}function d(){try{let l=[],o=a.result.transaction(t,"readonly");o.addEventListener("error",n),o.addEventListener("abort",n);let p=o.objectStore(t).openCursor();p.onsuccess=()=>{let b=p.result;if(b==null)try{let h=0,m=s.result.transaction(t,"readwrite"),f=m.objectStore(t);m.addEventListener("error",n),m.addEventListener("abort",n),m.oncomplete=()=>{clearTimeout(i),a.result.close(),s.result.close(),e(h)};for(let v of l){let F=f.count(v.primaryKey);F.onsuccess=()=>{F.result===0&&(++h,f.add(v.value,v.primaryKey))},clearTimeout(i),i=globalThis.setTimeout(()=>{c.log(c.Level.Warn,"IndexedDB database is blocked! Resetting Scandit Data Capture library..."),r(new L({name:"BlockedIndexedDB",message:"IndexedDB database is blocked"}))},500)}}catch(h){n.call({error:h})}else{let{writableDataPathPreload:h,writableDataPath:m}=M;l.push({value:b.value,primaryKey:b.primaryKey.toString().replace(`${h}/`,`${m}/`)}),b.continue()}},p.onerror=n}catch(l){n.call({error:l})}}return new Promise((l,o)=>{let{writableDataPathPreload:p,writableDataPath:b}=M;e=l,r=o,a=indexedDB.open(p),a.onupgradeneeded=()=>{try{a.result.createObjectStore(t)}catch{}},a.onsuccess=()=>{if(!Array.from(a.result.objectStoreNames).includes(t)){l(0);return}s=indexedDB.open(b),s.onupgradeneeded=()=>{try{s.result.createObjectStore(t)}catch{}},s.onsuccess=()=>{d()},s.onblocked=s.onerror=n},a.onblocked=a.onerror=n})}async function de(t,e){let{preloading:r}=M;if(D!=null){if(I=!0,!r&&t){let a=await Ve();if(!e&&a===0){I=!1;return}}await new Promise((a,s)=>{D?.(t,i=>{if(I=!1,i!=null){s(i);return}a()})})}}async function ce(t,e=!1,r=!1){return(!Z||r)&&(I?(Z=!0,T=T.then(async()=>(Z=!1,de(t,e)))):T=de(t,e)),T}async function le(t){M=t,D=FS.syncfs,FS.syncfs=(e,r)=>{let a=r,s=i=>{a(i)};ce(e).then(s).catch(s)};try{FS.mkdir(M.writableDataPath)}catch(e){if(e.code!=="EEXIST")throw D=void 0,e}return FS.mount(IDBFS,{},M.writableDataPath),ce(!0,!0)}function Ue(t){return/^https?:\\/\\/(?:[^./]*\\.)*cdn.jsdelivr.net\\//.test(t)?{result:!0,cdnBaseURL:"https://cdn.jsdelivr.net/npm/"}:/^https?:\\/\\/(?:[^./]*\\.)*unpkg.com\\//.test(t)?{result:!0,cdnBaseURL:"https://unpkg.com/"}:{result:!1,cdnBaseURL:""}}function Je(t){let e=/@scandit\\/web-datacapture-[a-z]+/i.exec(t);return e?e[0]:null}function ue(t,e,r){let a=e,s=Ue(a);if(s.result){let n=Je(a);n!=null&&(a=`${s.cdnBaseURL}${n}@${t}/sdc-lib/`)}let i=r.replace(".wasm","");return s.result?{jsURI:`${a}${i}.js`,wasmURI:`${a}${i}.wasm`}:{jsURI:`${a}${i}.js?v=${t}`,wasmURI:`${a}${i}.wasm?v=${t}`}}var A;(t=>{function e(){return"7.0.1"}t.sdkVersion=e})(A||(A={}));var pe=class{constructor(){this.promise=new Promise((t,e)=>{this.reject=e,this.resolve=t})}};var $e=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),je=()=>(async t=>{try{return typeof MessageChannel<"u"&&new MessageChannel().port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(t)}catch{return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]));function Ge(){return typeof crossOriginIsolated>"u"?!1:crossOriginIsolated}function qe(){try{return new WebAssembly.Memory({initial:1,maximum:1,shared:!0}).buffer.constructor.name==="SharedArrayBuffer"}catch{return!1}}async function he(){return $e()}async function Ke(){if(!await je())return!1;let t=null;try{t=new Worker(URL.createObjectURL(new Blob([\'postMessage("Worker" in self);\'],{type:"text/javascript"})),{name:"nestedWorkerTest"})}catch{return!1}return new Promise(e=>{if(t==null){e(!1);return}t.onmessage=r=>{t?.terminate(),e(r.data)}})}async function me(){let t=await Ke();return Ge()&&qe()&&t}var ge=class be{constructor(e,r){this.hintPresenterV2=null,this.MAX_NUMBER_OF_IMAGES_IN_FRAME_DATA_POOL=10,this.redrawInterval=1e3/30,this.redrawRequests=[],this._isDrawLoopRunning=!1,this.frameDataPool=new Map,this.lastFrameCounter=-1,this.poorMansBenchmarkLogs=!1,this.writableDataPathPreload="/scandit_sync_folder_preload",this.writableDataPathStandard="/scandit_sync_folder",this.resourceFilesSubfolder="resources",this.performanceMetricsReporterTimer=void 0,this.performanceMetrics={frameDataPoolSize:0,processedFramesCount:0,redrawRequestsCount:0,actualRedrawsCount:0},this.gestureListener=null,this.webPlatformHintPresenter=null,this.moduleHandler=e,this.workerFunctions=r,this._loadProgressCallback=this._loadProgressCallback.bind(this),se(this.getWasmMetadata())}get Module(){return this.moduleHandler.get()}set isDrawLoopRunning(e){this._isDrawLoopRunning=e,!e&&typeof this.loopTimeoutId=="number"&&(clearTimeout(this.loopTimeoutId),this.loopTimeoutId=void 0)}get isDrawLoopRunning(){return this._isDrawLoopRunning}convertToLoadableFrameData(e){let r=this.getNextFrameId();this.frameDataPool.set(r,new Uint8ClampedArray(e.getFrameData()));let a=this.lastUsedModuleMirrorAxis==null?!1:this.lastUsedModuleMirrorAxis!==this.Module.Axis.None;return{frameId:r,width:e.getWidth(),height:e.getHeight(),isFrameSourceMirrored:a}}createContext(e){var r,a,s,i,n;let d=this.getModeDeserializers(),l=Y(location);(l==="localhost"||l==="127.0.0.1")&&navigator.userAgent.includes("Electron")&&e.appName!=null&&(l+=`-${e.appName}`),this.parentDomain=e.parentDomain,this.contextDeserializer=new this.Module.DataCaptureContextDeserializer(this.writableDataPath,e.deviceId,e.context.deviceModelName,l,this.parentDomain,d,e.delayedRegistration,e.highEndBlurryRecognition,this.resourcePath);let o=this.contextDeserializer.contextFromJson(JSON.stringify(e.context));if(o==null){let g=this.contextDeserializer.getLastError();throw new Error(`Could not create the context: ${g}`)}let p=o.getView();this.context=o.getContext(),o.delete();let b=this.Module.DataCaptureContextListener.extend("DataCaptureContextListener",{didChangeStatus:(g,y)=>{this.contextDidChangeStatus(JSON.parse(y.toJson()))},didStartObservingContext:()=>{this.didStartObservingContext()}}),h=this.Module.DataCaptureContextFrameListener.extend("DataCaptureContextFrameListener",{onObservationStarted:g=>{},onObservationStopped:g=>{},onFrameProcessingStarted:(g,y)=>{this.workerFunctions.postMessage({type:"onFrameProcessingStarted"})},onFrameProcessingFinished:(g,y)=>{this.workerFunctions.postMessage({type:"onFrameProcessingFinished"})},onFrameSkipped:(g,y)=>{this.workerFunctions.postMessage({type:"onFrameSkipped"})}}),m=this.Module.GestureRecognizer.extend("GestureRecognizer",{setGestureListener:(g,y)=>{var O;(O=this.gestureListener)==null||O.delete(),this.gestureListener=g.clone()}});(r=this.gestureRecognizer)==null||r.delete(),this.gestureRecognizer=new m;let f=new b;this.context.addListener(f),f.delete();let v=new h;this.context.addFrameListener(v),v.delete(),this.setView(p),(a=this.view)==null||a.setGestureRecognizer(this.gestureRecognizer);let F=this.Module.PlatformHintPresenter.extend("PlatformHintPresenter",{setHintPresenter:g=>{},showToast:g=>{this.workerFunctions.postMessage({type:"showToast",payload:JSON.parse(g)})},hideToast:g=>{this.workerFunctions.postMessage({type:"hideToast",payload:JSON.parse(g)})},showGuidance:g=>{this.workerFunctions.postMessage({type:"showGuidance",payload:JSON.parse(g)})},hideGuidance:g=>{this.workerFunctions.postMessage({type:"hideGuidance",payload:JSON.parse(g)})},startUpdateTimer:g=>{this.workerFunctions.postMessage({type:"startUpdateTimer",payload:{duration:{unit:"ms",value:g}}})},stopUpdateTimer:()=>{this.workerFunctions.postMessage({type:"stopUpdateTimer"})}});(s=this.hintPresenterV2)==null||s.delete(),(i=this.webPlatformHintPresenter)==null||i.delete(),this.webPlatformHintPresenter=new F,this.hintPresenterV2=new this.Module.HintPresenterV2(this.webPlatformHintPresenter),(n=this.view)==null||n.setHintPresenterV2(this.hintPresenterV2)}onTap(e){var r;(r=this.gestureListener)==null||r.onTap(JSON.stringify(e))}hintPresenterV2Update(){var e;(e=this.hintPresenterV2)==null||e.update()}startReportingPerformanceMetrics(){this.performanceMetricsReporterTimer==null&&(this.performanceMetricsReporterTimer=setInterval(()=>{this.reportPerformanceMetrics();for(let e of Object.keys(this.performanceMetrics))this.performanceMetrics[e]=0},1e3))}async reportPerformanceMetrics(){this.workerFunctions.postMessage({type:"performanceMetricsReport",payload:{...this.performanceMetrics}})}deleteFrameData(e){this.frameDataPool.delete(e)}dispose(){var e,r;this.context.dispose(),this.frameDataPool.clear(),this.isDrawLoopRunning=!1,this.lastFrameCounter=-1,(e=this.gestureRecognizer)==null||e.delete(),this.gestureRecognizer=null,(r=this.gestureListener)==null||r.delete(),this.gestureListener=null}flushAnalytics(){this.context.flushAnalytics()}extractCentaurusLicense(e){return{payload:{centaurus:{licenseKey:this.Module.LicenseUtils[be.get3dPartyLicenseKeyMethodName](e)}}}}getModeDeserializers(){return new this.Module.VectorDataCaptureModeDeserializer}loadLibrary(e){return this.libraryLoadingPromise!=null?this.libraryLoadingPromise:(this.libraryLoadingPromise=this.setup(e),this.libraryLoadingPromise)}processFrame(e){var r;if(this.context==null)return{payload:e,transferables:[e.data.buffer]};let a=e.data,s=e.colorType==="GRAYSCALE"?this.Module.ImageBufferFormat.Grayscale8:this.Module.ImageBufferFormat.Rgba8888,i=this.Module.allocateUint8Array(a.byteLength);return this.Module.HEAPU8.set(a,i),(r=this.imageFrameSource)==null||r.outputFrame(i,e.width,e.height,s),{payload:e,transferables:[e.data.buffer]}}reportCameraProperties(e){this.context.setCameraProperties(e.deviceId,e.isFrontFacing,e.hasAutofocus)}requestFrameData(e){let r=this.frameDataPool.get(e);return r==null?{payload:{data:null}}:{payload:{data:r},transferables:[r.buffer]}}scheduleRedraw(e,r){this.addRedrawRequest(r),this.isDrawLoopRunning||this.startDrawLoop(e)}sendViewRefreshCommands(e){this.workerFunctions.postMessage({type:"draw",payload:e},[e.buffer])}setFrameSource(e,r){var a;this.lastUsedModuleMirrorAxis=this.mapMirrorAxisOnModule(e),(a=this.imageFrameSource)==null||a.delete(),this.imageFrameSource=new this.Module.ImageBufferFrameSource(this.lastUsedModuleMirrorAxis,r,0),this.context.setFrameSource(this.imageFrameSource)}startDrawLoop(e){this.isDrawLoopRunning=!0;let r=i=>this.redrawRequests.length>0&&this.redrawRequests[0]<=i,a=i=>{for(;this.redrawRequests.length>0&&this.redrawRequests[0]<=i;)this.redrawRequests.shift()},s=()=>{this.loopTimeoutId=setTimeout(()=>{if(!this.isDrawLoopRunning)return;let i=performance.now();if(r(i)){a(i),e.draw();let n=e.getDrawCommands();this.sendViewRefreshCommands(new Uint8Array(n))}s()},this.redrawInterval)};s()}updateContext(e){if(this.context!=null&&this.contextDeserializer!=null){e.view!=null&&!e.view.visible&&this.context.flushAnalytics();let r=this.contextDeserializer.updateContextFromJson(this.context,this.view,JSON.stringify(e.context));if(r==null){let s=this.contextDeserializer.getLastError();throw new Error(`Could not update the context: ${s}`)}this.context.delete(),this.context=r.getContext();let a=r.getView();r.delete(),a!=null&&e.view!=null&&a.setViewSize(e.view.width,e.view.height,e.view.orientation),this.hintPresenterV2!=null&&a?.setHintPresenterV2(this.hintPresenterV2),this.gestureRecognizer!=null&&a?.setGestureRecognizer(this.gestureRecognizer),this.setView(a),c.log(c.Level.Debug,"context updated",e)}}onDocumentVisibilityChange(e){e==="hidden"&&this.context.flushAnalytics()}isFeatureSupported(e){return{payload:{supported:this.context.isFeatureSupported(e)}}}getViewfinderInfo(){var e,r;return{payload:{isDisplayingViewfinder:(r=(e=this.view)==null?void 0:e.isDisplayingViewfinder())!=null?r:!1,rect:JSON.parse(this.view.getViewfinderRect())}}}getOpenSourceSoftwareLicenseInfo(){return{payload:{licenseText:this.Module.OpenSourceSoftwareLicenseInfo.getLicenseText()}}}getNextFrameId(){return this.lastFrameCounter++,this.lastFrameCounter>=this.MAX_NUMBER_OF_IMAGES_IN_FRAME_DATA_POOL&&(this.lastFrameCounter=0),this.lastFrameCounter}getWasmDynamicLibraries(e){return this.getWasmSideModuleFileName()==null?[]:[`${e.replace(/\\/[^/]*$/,"/")}${this.getWasmSideModuleFileName()}`]}getWasmCoreExpectedHash(e,r){return r?e?"d13e6818158b88ae1bd5716befe80b24401fec064fb8813a9adf0a4baebf5f5e":"6087ed38f29976e22796c9da937a7febfea0340d358d41099e5cf74832753853":e?"62e5d8b44b357c5cdeb9519e49d9a4aff9e1ad5f22d00e378c645e49e23205b2":""}getWasmCoreFileName(e,r){return r?e?"scandit-datacapture-sdk-barcode-simd-pthreads.wasm":"scandit-datacapture-sdk-barcode-pthreads.wasm":e?"scandit-datacapture-sdk-barcode-simd.wasm":""}getWasmMetadata(){return u}getWasmSideModuleFileName(){return""}_loadProgressCallback(e){this.workerFunctions.postMessage({type:"loadLibraryProgress",payload:e})}addRedrawRequest(e){this.redrawRequests.push(Math.round(performance.now())+e),this.redrawRequests.sort((r,a)=>r-a)}contextDidChangeStatus(e){e.code===260?e.message=e.message.replace("domain name",`domain name (${Y(location)})`):e.code===265&&(e.message=e.message.replace("domain name",`domain name (${this.parentDomain})`)),this.workerFunctions.postMessage({type:"contextDidChangeStatus",payload:e})}didStartObservingContext(){this.workerFunctions.postMessage({type:"didStartObservingContext"})}mapMirrorAxisOnModule(e){switch(e){case"None":return this.Module.Axis.None;case"X":return this.Module.Axis.X;case"Y":return this.Module.Axis.Y;default:return this.Module.Axis.None}}setView(e){this.view=e,this.setViewRefreshHandler(e),e==null&&(this.isDrawLoopRunning=!1,this.sendViewRefreshCommands(new Uint8Array([])))}setViewRefreshHandler(e){if(e==null||e.isViewRefreshHandlerSet)return;let r=this.Module.NeedsRedrawDelegate.extend("NeedsRedrawDelegate",{setNeedsRedrawIn:this.scheduleRedraw.bind(this,e)}),a=new r;e.setNeedsRedrawDelegate(a),e.isViewRefreshHandlerSet=!0}setupDataDecoding(){let e=this.moduleHandler.get(),r=e.DataDecoding.extend("DataDecoding",{decode(a,s){try{let i=JSON.parse(s),n=[];for(let d of i){let l=new TextDecoder(d.ianaName,{fatal:!0});n.push(l.decode(a.slice(d.startIndex,d.endIndex)))}return n.join("")}catch{return""}}});e.setDataDecoding(new r)}start(e,r,a){e&&r&&(this.setupDataDecoding(),this.moduleHandler.get().callMain(),typeof this.moduleHandler.get().PThread=="object"||a())}getWritableDataPath(e,r){return e?this.writableDataPathPreload:r!=null?(c.log(c.Level.Debug,`IndexedDB database name override in use to recover from blocked standard database: ${r}`),r):this.writableDataPathStandard}numOfMBToPages(e){return Math.ceil(1024*e*1024/64/1024)}async setup({libraryLocation:e,locationPath:r,preloadEngine:a,writableDataPathOverride:s,overrideThreadsSupport:i,overrideSimdSupport:n,verifyResponseHash:d,referredOrigin:l,fixedWasmMemory:o}){var p;let b=!1,h=!1;this.writableDataPath=this.getWritableDataPath(a,s),this.resourcePath=`${e}${this.resourceFilesSubfolder}/`,globalThis.path=r;let{resolve:m,reject:f,promise:v}=new pe,F=A.sdkVersion();if(F==="")throw new L({name:"Invalid library version",message:"Library version is not defined or empty, cannot generate proper path to library files."});let[g,y]=await Promise.all([he(),me()]);i!=="auto"&&(y=i==="on"),n!=="auto"&&(g=n==="on");let O=this.getWasmCoreFileName(g,y),Pe=ue(F,e,O),{jsURI:$,wasmURI:ee}=Pe,Oe={instantiateWasm:(w,Be)=>(ie({importObject:w,wasmURI:ee,expectedHash:this.getWasmCoreExpectedHash(g,y),verifyResponseHash:d,successCallback:Be,progressCallback:this._loadProgressCallback,referredOrigin:l}),{})},B=o===null?null:new WebAssembly.Memory({initial:this.numOfMBToPages(o),maximum:this.numOfMBToPages(o),shared:y});return B!==null&&c.log(c.Level.Debug,"Fixed wasmMemory set",B),this.moduleHandler.set({...B?{wasmMemory:B}:{},mainScriptUrlOrBlob:$,canvas:(p=this.workerFunctions.getOffscreenCanvas())!=null?p:{getContext:()=>null},...Oe,dynamicLibraries:this.getWasmDynamicLibraries(ee),locateFile:w=>e+w,noInitialRun:!0,preRun:[async()=>{try{await le({writableDataPathPreload:this.writableDataPathPreload,writableDataPath:this.writableDataPath,preloading:a})}catch(w){if(w.name==="BlockedIndexedDB"){f(w.toString());return}c.log(c.Level.Debug,"No IndexedDB support, some data will not be persisted:",w)}h=!0,this.start(h,b,m)}],onMainComplete:()=>{if([b,h].includes(!1)){c.log(c.Level.Warn,{runtimeLoaded:b,fileSystemSynced:h},"Both runtimeLoaded and fileSystemSynced should be true when calling onMainComplete"),f("onMainComplete has been called but runtime or file system was not ready.");return}m()},onRuntimeInitialized:()=>{b=!0,this.start(h,b,m)},print:w=>{c.log(c.Level.Info,w)}}),await ne($,F)||f(`Couldn\'t retrieve Scandit Data Capture library at ${$}, did you configure the path for it correctly?`),v}};ge.get3dPartyLicenseKeyMethodName=atob("Z2V0QmxpbmtJZExpY2Vuc2VLZXk=");var x=ge;function fe(t){return typeof t=="object"&&t!=null&&t.document==null&&"addEventListener"in t&&typeof t.importScripts=="function"}function ye(t){console.warn("Reached unexpected case",t)}var Q=class{constructor(t,e){this.onMessageListener=this.onMessage.bind(this),this.workerSelf=t,this.dataCaptureInstance=new x(e,{postMessage:this.postMessage.bind(this),getOffscreenCanvas:this.getOffscreenCanvas.bind(this)}),fe(t)&&this.listenToMessages()}listenToMessages(){this.workerSelf.addEventListener("message",this.onMessageListener),this.workerSelf.addEventListener("error",t=>{c.log(c.Level.Error,t)}),this.workerSelf.addEventListener("messageerror",t=>{c.log(c.Level.Error,t)})}postMessage(t,e){this.workerSelf.postMessage(t,e??[])}getOffscreenCanvas(){if(typeof this.workerSelf.OffscreenCanvas=="function")return new this.workerSelf.OffscreenCanvas(32,32)}hasPayload(t){return C(t)&&"payload"in t}hasTransferables(t){return C(t)&&Array.isArray(t.transferables)}async respondWith(t,e,r){let a=null,s;try{s=r(),s instanceof Promise&&(s=await s)}catch(n){s=void 0,a=k(n)}let i={type:"workerTaskId",command:t,id:e,payload:this.hasPayload(s)?s.payload:void 0};a!=null&&(i.error=a),this.postMessage(i,this.hasTransferables(s)?s.transferables:[])}onMessage(t){switch(t.data.command){case"loadLibrary":{{let{data:e}=t;this.respondWith(e.command,e.id,async()=>this.dataCaptureInstance.loadLibrary({libraryLocation:e.libraryLocation,locationPath:e.locationPath,referredOrigin:e.referredOrigin,preloadEngine:e.preloadEngine,writableDataPathOverride:e.writableDataPathOverride,overrideThreadsSupport:e.overrideThreadsSupport,overrideSimdSupport:e.overrideSimdSupport,verifyResponseHash:e.verifyResponseHash,fixedWasmMemory:e.fixedWasmMemory}))}break}case"onTap":{{let{data:e}=t;this.respondWith(e.command,e.id,async()=>{this.dataCaptureInstance.onTap(e.point)})}break}case"hintPresenterV2update":{{let{data:e}=t;this.respondWith(e.command,e.id,async()=>{this.dataCaptureInstance.hintPresenterV2Update()})}break}case"createContext":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.createContext({context:e.context,deviceId:e.deviceId,delayedRegistration:e.delayedRegistration,highEndBlurryRecognition:e.highEndBlurryRecognition,appName:e.appName,parentDomain:e.parentDomain}))}break}case"setFrameSource":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.setFrameSource(e.mirrorAxis,e.isCameraFrameSource))}break}case"processFrame":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.processFrame({data:e.data,width:e.width,height:e.height,colorType:e.colorType}))}break}case"requestFrameData":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.requestFrameData(e.frameId))}break}case"deleteFrameData":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>{this.dataCaptureInstance.deleteFrameData(e.frameId)})}break}case"updateContext":{{let{data:e}=t;this.respondWith(e.command,e.id,async()=>this.dataCaptureInstance.updateContext(e))}break}case"dispose":{this.respondWith(t.data.command,t.data.id,()=>this.dataCaptureInstance.dispose());break}case"flushAnalytics":{this.respondWith(t.data.command,t.data.id,()=>{this.dataCaptureInstance.flushAnalytics()});break}case"reportCameraProperties":{{let{data:e}=t;this.respondWith(e.command,e.id,async()=>this.dataCaptureInstance.reportCameraProperties(e))}break}case"setLogLevel":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>{c.setLevel(e.level)})}break}case"extractCentaurusLicense":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.extractCentaurusLicense(e.licenseKey))}break}case"documentVisibility":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>{this.dataCaptureInstance.onDocumentVisibilityChange(e.state)})}break}case"isFeatureSupported":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.isFeatureSupported(e.feature))}break}case"getViewfinderInfo":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.getViewfinderInfo())}break}case"getOpenSourceSoftwareLicenseInfo":{{let{data:e}=t;this.respondWith(e.command,e.id,()=>this.dataCaptureInstance.getOpenSourceSoftwareLicenseInfo())}break}default:return ye(t.data),!1}return!0}};var Se=(t=>(t.Body="body",t.Footnote="footnote",t))(Se||{}),W=(t=>(t.Start="start",t.Center="center",t.End="end",t))(W||{}),we=(t=>(t.Normal="normal",t.Wider="wider",t.FitText="fitText",t))(we||{}),ve=(t=>(t.Normal="normal",t.Taller="taller",t))(ve||{}),Fe=(t=>(t.Square="square",t.Rounded="rounded",t))(Fe||{}),E=(t=>(t.None="none",t.Check="check",t.ExclamationMark="exclamationMark",t))(E||{}),R=(t=>(t.Top="top",t.AboveViewFinder="aboveViewFinder",t.BelowViewFinder="belowViewFinder",t))(R||{}),Me=(t=>(t.AboveViewFinder="aboveViewFinder",t.BelowViewFinder="belowViewFinder",t))(Me||{}),Ce=(t=>(t.BlackOnWhite="blackOnWhite",t.WhiteOnBlack="whiteOnBlack",t.Transparent="transparent",t))(Ce||{}),P=(t=>(t.Success="success",t.Error="error",t.Warning="warning",t.Info="info",t.Notification="notification",t))(P||{}),ke=(t=>(t[t.Ocr=0]="Ocr",t[t.HideLogo=1]="HideLogo",t[t.ShowTestLicenseMessage=2]="ShowTestLicenseMessage",t[t.AugmentedReality=5]="AugmentedReality",t[t.ActivityPingStatsAddon=8]="ActivityPingStatsAddon",t[t.ActivityPing=9]="ActivityPing",t[t.Registration=10]="Registration",t[t.Parser=11]="Parser",t[t.BarcodeCapture=14]="BarcodeCapture",t[t.Analytics=17]="Analytics",t[t.AnalyticsBatchMode=18]="AnalyticsBatchMode",t[t.AnalyticsScanContent=19]="AnalyticsScanContent",t[t.AnalyticsOnlineVerification=20]="AnalyticsOnlineVerification",t[t.SparkScan=21]="SparkScan",t[t.AamvaIdBarcodeVerification=22]="AamvaIdBarcodeVerification",t[t.MappingForTracking=23]="MappingForTracking",t[t.BarcodeFind=24]="BarcodeFind",t[t.MandatoryRegistration=25]="MandatoryRegistration",t[t.FeatureTracking=26]="FeatureTracking",t[t.IdCaptureViz=27]="IdCaptureViz",t[t.IdCaptureMrz=28]="IdCaptureMrz",t[t.IdCaptureBarcode=29]="IdCaptureBarcode",t[t.BarcodeSelectionAimToScan=30]="BarcodeSelectionAimToScan",t[t.BarcodeSelectionTapToScan=31]="BarcodeSelectionTapToScan",t[t.BarcodeCount=32]="BarcodeCount",t[t.BarcodePick=33]="BarcodePick",t[t.IdVerificationDataComparison=34]="IdVerificationDataComparison",t[t.SmartLabelBarcode=35]="SmartLabelBarcode",t[t.SmartLabelText=36]="SmartLabelText",t[t.VoidedIdDetection=37]="VoidedIdDetection",t[t.BarcodeArFull=38]="BarcodeArFull",t))(ke||{});var N=class{constructor(e,r,a){this.captureListenerSet=!1;this.coreEngine=e,this.Module=r,this.workerFunctions=a,this.setup()}barcodeCaptureDidUpdateSession(e){this.workerFunctions.postMessage({type:"barcodeCaptureDidUpdateSession",payload:JSON.parse(e.toJson())})}barcodeBatchDidUpdateSession(e){this.workerFunctions.postMessage({type:"barcodeBatchDidUpdateSession",payload:JSON.parse(e.toJson())})}getCaptureDeserializer(){return this.barcodeCaptureDeserializer}getTrackingDeserializer(){return this.barcodeBatchDeserializer}setup(){let e=this.Module.BarcodeCaptureListener.extend("BarcodeCaptureListener",{didScan:(n,d,l)=>{this.barcodeCaptureDidScan(d,l)},didUpdateSession:(n,d)=>{this.barcodeCaptureDidUpdateSession(d)}}),r=this.Module.Feedback.extend("Feedback",{emit:()=>{this.successFeedback()}}),a=new e,s=new r,i=this.Module.BarcodeCaptureDeserializerListener.extend("BarcodeCaptureDeserializerListener",{onModeDeserializationFinished:(n,d)=>{d.addListener(a,1),d.setSuccessFeedback(s)},onModeDeserializationStarted(){},onSettingsDeserializationStarted(){},onSettingsDeserializationFinished(){}});this.barcodeCaptureDeserializer=new this.Module.BarcodeCaptureDeserializer,this.barcodeCaptureDeserializer.setListener(new i)}successFeedback(){this.workerFunctions.postMessage({type:"successFeedback"})}barcodeCaptureDidScan(e,r){let a=this.coreEngine.convertToLoadableFrameData(r);this.workerFunctions.postMessage({type:"barcodeCaptureDidScan",payload:{session:JSON.parse(e.toJson()),frameData:a}})}};function Xe(t){return t.charAt(0).toUpperCase()+t.slice(1)}function De(t){return t}var _=class{constructor(e,r,a){this.barcodeFind=null;this.basicOverlay=null;this.transparentGuidanceHintStyle={backgroundColor:"00000000",cornerRadius:4,fitToText:!1,isAnimatedToView:!1,textAlignment:W.Center,hintIcon:E.None,hintAnchor:R.AboveViewFinder,hintAnchorOffset:-12,horizontalMargin:0,iconColor:"00000000",lineHeight:-1,maxLines:1,maxWidthFraction:.8,textColor:"ffffffff",textSize:15,textWeight:600};this.customerTransformation=De;this.coreEngine=e,this.Module=r,this.workerFunctions=a}async forSettings(e){this.barcodeFind?.delete(),this.barcodeFind=new this.Module.BarcodeFind(this.coreEngine.context,JSON.stringify(e));let r=this.Module.Feedback.extend("Feedback",{emit:()=>{this.listUpdatedFeedback()}}),a=this.Module.Feedback.extend("Feedback",{emit:()=>{this.barcodeFindFeedback()}}),s=this.Module.BarcodeFindTransformer.extend("BarcodeFindTransformer",{transformBarcodeData:n=>this.customerTransformation(n)}),i=this.Module.BarcodeFindListener.extend("BarcodeFindListener",{didUpdateSession:(n,d,l)=>{let o=this.coreEngine.convertToLoadableFrameData(l);this.workerFunctions.postMessage({type:"barcodeFindDidUpdateSession",payload:{session:JSON.parse(d.toJson()),frameData:o}})},onSearchPaused:n=>{let d=[];for(let l=0;l<n.size();l++)d.push(n.get(l));this.workerFunctions.postMessage({type:"barcodeFindSearchPaused",payload:{foundItems:d}})},onSearchStopped:n=>{let d=[];for(let l=0;l<n.size();l++)d.push(n.get(l));this.workerFunctions.postMessage({type:"barcodeFindSearchStopped",payload:{foundItems:d}})},onSearchStarted:()=>{this.workerFunctions.postMessage({type:"barcodeFindSearchStarted",payload:{}})}});this.barcodeFind.setBarcodeFindTransformer(new s),this.barcodeFind.addListener(new i,1),this.barcodeFind.setItemListUpdatedFeedback(new r),this.barcodeFind.setFeedback(new a),this.Module.addBarcodeFindToContext(this.coreEngine.context,this.barcodeFind)}barcodeFindFeedback(){this.workerFunctions.postMessage({type:"barcodeFindFeedback",payload:{}})}start(){this.barcodeFind?.start()}stop(){this.barcodeFind?.stop()}pause(){this.barcodeFind?.pause()}setEnabled(e){this.barcodeFind?.setEnabled(e)}setItemList(e){this.barcodeFind?.setItemList(JSON.stringify(e))}async removeMode(){this.barcodeFind!=null&&this.Module.removeBarcodeFindFromContext(this.coreEngine.context,this.barcodeFind)}addBasicOverlay(){this.basicOverlay?.delete(),this.basicOverlay=null,this.barcodeFind!=null&&(this.basicOverlay=new this.Module.BarcodeFindBasicOverlay(this.barcodeFind)),this.coreEngine.view!=null&&this.basicOverlay!=null&&(this.basicOverlay.setGuidanceHandler(this.createWebFindGuidanceHandler()),this.Module.addBarcodeFindBasicOverlayToView(this.coreEngine.view,this.basicOverlay))}removeBasicOverlay(){this.coreEngine.view!=null&&this.basicOverlay!=null&&this.Module.removeBarcodeFindBasicOverlayFromView(this.coreEngine.view,this.basicOverlay)}async applySettings(e){this.barcodeFind?.applySettings(JSON.stringify(e))}updateBasicOverlay(e){let r=Object.entries(e).filter(([a,s])=>a!=="type");for(let[a,s]of r){let i=`set${Xe(a)}`;this.basicOverlay!=null&&typeof this.basicOverlay[i]=="function"&&s!=null&&this.basicOverlay[i](s)}}setTransformerFunction(e){this.customerTransformation=e??De}successFeedback(){this.workerFunctions.postMessage({type:"successFeedback"})}listUpdatedFeedback(){this.workerFunctions.postMessage({type:"barcodeFindListUpdatedFeedback",payload:{}})}setToast(e,r){let a=this.coreEngine.hintPresenterV2;e?a?.showToast(JSON.stringify(r)):a?.hideToast(r.tag)}setGuidance(e,r,a){let s={tag:a,text:r,hintStyle:this.transparentGuidanceHintStyle};this.workerFunctions.postMessage({type:e?"showGuidance":"hideGuidance",payload:s})}createWebFindGuidanceHandler(){let e=this.Module.BarcodeFindGuidanceHandler.extend("BarcodeFindGuidanceHandler",{setInitialGuidance:(r,a)=>{this.setGuidance(r,a,"InitialGuidance")},setMoveCloserGuidance:(r,a)=>{this.setGuidance(!1,a,"InitialGuidance"),this.setGuidance(r,a,"MoveCloserGuidance")},setAllItemsFound:(r,a)=>{let s={text:a,toastHintStyle:P.Success,tag:"AllItemsFound"};this.setToast(r,s)},setTapShutterToPause:(r,a)=>{this.setGuidance(!1,a,"InitialGuidance"),this.setGuidance(r,a,"TapShutterToPause")},setTapShutterToResume:(r,a)=>{this.setGuidance(!1,a,"InitialGuidance"),this.setGuidance(r,a,"TapShutterResume")},setItemListUpdated:(r,a)=>{let s={text:a,toastHintStyle:P.Info,tag:"ItemListUpdated"};this.setToast(r,s)}});return new e}};var H=class{constructor(e,r,a){this.trackingListenerSet=!1;this.coreEngine=e,this.Module=r,this.workerFunctions=a,this.setup()}barcodeBatchDidUpdateSession(e){this.workerFunctions.postMessage({type:"barcodeBatchDidUpdateSession",payload:JSON.parse(e.toJson())})}getBatchDeserializer(){return this.barcodeBatchDeserializer}setup(){let e=this.Module.BarcodeBatchListener.extend("BarcodeTrackingListener",{didUpdateSession:(a,s)=>{this.barcodeBatchDidUpdateSession(s)},onTrackedBarcodeTapped:(a,s)=>{this.onTrackedBarcodeTapped(s)}}),r=this.Module.BarcodeBatchDeserializerListener.extend("BarcodeTrackingDeserializerListener",{onModeDeserializationFinished:(a,s)=>{this.trackingListenerSet||(s.addListener(new e,1),this.trackingListenerSet=!0)},onModeDeserializationStarted(){},onSettingsDeserializationStarted(){},onSettingsDeserializationFinished(){}});this.barcodeBatchDeserializer=new this.Module.BarcodeBatchDeserializer,this.barcodeBatchDeserializer.setListener(new r)}onTrackedBarcodeTapped(e){this.workerFunctions.postMessage({type:"didTapTrackedBarcode",payload:JSON.parse(e.toJson())})}};var S=class{constructor(e){this.subscribers=new Set;this.property={key:e,value:null}}addSubscriber(e){this.subscribers.add(e),e.onPropertyChanged?.(this.property)}removeSubscriber(e){this.subscribers.delete(e)}setProperty(e){if(this.property.value!==e.value){this.property={key:this.property.key,value:e.value};for(let r of this.subscribers)r.onPropertyChanged?.(this.property)}}};var Ye={torch_state:new S("torch_state"),scanning_mode:new S("scanning_mode"),sound_enabled:new S("sound_enabled"),haptic_enabled:new S("haptic_enabled"),hand_mode:new S("hand_mode"),session_stop_reason:new S("session_stop_reason"),camera_position:new S("camera_position")},z=class{getBehaviorSubject(e){return Ye[e]}};var V=class{constructor(e,r,a){this.captureListenerSet=!1;this.propertyPushSource=new z;this.coreEngine=e,this.Module=r,this.workerFunctions=a,this.setup()}sparkScanDidUpdateSession(e){this.workerFunctions.postMessage({type:"sparkScanDidUpdateSession",payload:JSON.parse(e.toJson())})}getSparkScanDeserializer(){return this.sparkScanDeserializer}setup(){let e=this.Module.SparkScanListener.extend("SparkScanListener",{didScan:(s,i,n)=>{this.sparkScanDidScan(i,n)},didUpdateSession:(s,i)=>{this.sparkScanDidUpdateSession(i)}}),r=this.Module.Feedback.extend("Feedback",{emit:()=>{this.successFeedback()}}),a=this.Module.SparkScanDeserializerListener.extend("SparkScanDeserializerListener",{onModeDeserializationFinished:(s,i)=>{this.captureListenerSet||(i.addListener(new e,1),i.setSuccessFeedback(new r),i.setPropertyPushSource(this.propertyPushSource),this.captureListenerSet=!0)},onModeDeserializationStarted(){},onSettingsDeserializationStarted(){},onSettingsDeserializationFinished(){},onOverlayDeserializationStarted(){},onOverlayDeserializationFinished:(s,i,n)=>{this.sparkScanOverlay?.delete(),this.sparkScanOverlay=i.clone()}});this.sparkScanDeserializer=new this.Module.SparkScanDeserializer,this.sparkScanDeserializer.setListener(new a)}emitErrorFeedback(e){this.sparkScanOverlay?.onErrorFeedbackEmitted(e)}overlayReadyForDraw(){this.sparkScanOverlay?.onReadyForNewData()}analyticsManagerPropertyChanged(e){this.propertyPushSource.getBehaviorSubject(e.key).setProperty(e)}successFeedback(){this.workerFunctions.postMessage({type:"successFeedback"})}sparkScanDidScan(e,r){let a=this.coreEngine.convertToLoadableFrameData(r);this.workerFunctions.postMessage({type:"sparkScanDidScan",payload:{session:JSON.parse(e.toJson()),frameData:a}})}};var U=class extends x{constructor(e,r){super(e,r)}getModeDeserializers(){this.barcodeCaptureMode=new N(this,this.Module,this.workerFunctions),this.barcodeBatchMode=new H(this,this.Module,this.workerFunctions),this.sparkScanMode=new V(this,this.Module,this.workerFunctions),this.barcodeFindMode=new _(this,this.Module,this.workerFunctions);let e=super.getModeDeserializers();return e.push_back(this.barcodeCaptureMode.getCaptureDeserializer()),e.push_back(this.barcodeBatchMode.getBatchDeserializer()),e.push_back(this.sparkScanMode.getSparkScanDeserializer()),e}getWasmSideModuleFileName(){return""}getWasmCoreFileName(e,r){return r?e?"scandit-datacapture-sdk-barcode-simd-pthreads.wasm":"scandit-datacapture-sdk-barcode-pthreads.wasm":e?"scandit-datacapture-sdk-barcode-simd.wasm":"scandit-datacapture-sdk-barcode.wasm"}getWasmCoreExpectedHash(e,r){return r?e?"d13e6818158b88ae1bd5716befe80b24401fec064fb8813a9adf0a4baebf5f5e":"6087ed38f29976e22796c9da937a7febfea0340d358d41099e5cf74832753853":e?"62e5d8b44b357c5cdeb9519e49d9a4aff9e1ad5f22d00e378c645e49e23205b2":"ab387f6e689a5605ac99053b6889d6aca9d4442e3598e7d8506392811cde3584"}getWasmMetadata(){return u}};function Ze(t){return(r=>/^[$A-Z_a-z][\\w$]*\\s*\\(.*\\)\\s*\\{/.test(r)&&!r.startsWith("function"))(t)?`function ${t}`:t}var Qe=["fetch","XMLHttpRequest","eval","Function","self","globalThis","Module","importScripts","this","console","window","document","import","Worker","ServiceWorker"];function et(t){return Qe.map(r=>new RegExp(`\\\\b${r}\\\\b`,"g")).some(r=>r.test(t))}function xe(t){if(t==null)return null;let e=Ze(t);if(et(e))throw new Error("Function should be pure. Shouldn\'t introduce side effects, or rely on global scope");let r=`\'use strict\';\n return (${e});`;try{return new Function(r)()}catch{return null}}var J=class extends Q{constructor(e,r){super(e,r),this.dataCaptureInstance=new U(r,{postMessage:this.postMessage.bind(this),getOffscreenCanvas:this.getOffscreenCanvas.bind(this)})}async respondWith(e,r,a){let s=null,i;try{i=a(),i instanceof Promise&&(i=await i)}catch(d){i=void 0,s=k(d)}let n={type:"workerTaskId",command:e,id:r,payload:this.hasPayload(i)?i.payload:void 0};s!=null&&(n.error=s),this.postMessage(n,this.hasTransferables(i)?i.transferables:[])}onMessage(e){switch(e.data.command){case"sparkScanEmitErrorFeedback":{let{data:r}=e;return this.respondWith(r.command,r.id,()=>{this.dataCaptureInstance.sparkScanMode.emitErrorFeedback(r.shouldRemoveBrush)}),!0}case"sparkScanOverlayReadyForDraw":{let{data:r}=e;return this.respondWith(r.command,r.id,()=>{this.dataCaptureInstance.sparkScanMode.overlayReadyForDraw()}),!0}case"sparkScanAnalyticsManagerPropertyChanged":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>{this.dataCaptureInstance.sparkScanMode.analyticsManagerPropertyChanged(r.property)}),!0}case"barcodeFindForSettings":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>this.dataCaptureInstance.barcodeFindMode.forSettings(r.settings)),!0}case"barcodeFindModeRemove":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>this.dataCaptureInstance.barcodeFindMode.removeMode()),!0}case"barcodeFindSearchStart":return this.respondWith(e.data.command,e.data.id,()=>{this.dataCaptureInstance.barcodeFindMode.start()}),!0;case"barcodeFindSearchPause":return this.respondWith(e.data.command,e.data.id,()=>{this.dataCaptureInstance.barcodeFindMode.pause()}),!0;case"barcodeFindSearchStop":return this.respondWith(e.data.command,e.data.id,()=>{this.dataCaptureInstance.barcodeFindMode.stop()}),!0;case"barcodeFindSetItemList":{let{data:r}=e;return this.respondWith(e.data.command,e.data.id,()=>{this.dataCaptureInstance.barcodeFindMode.setItemList(r.itemList)}),!0}case"barcodeFindSetEnabled":{let{data:r}=e;return this.respondWith(e.data.command,e.data.id,()=>{this.dataCaptureInstance.barcodeFindMode.setEnabled(r.enabled)}),!0}case"barcodeFindApplySettings":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>this.dataCaptureInstance.barcodeFindMode.applySettings(r.settings)),!0}case"barcodeFindAddBasicOverlay":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>{this.dataCaptureInstance.barcodeFindMode.addBasicOverlay()}),!0}case"barcodeFindRemoveBasicOverlay":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>{this.dataCaptureInstance.barcodeFindMode.removeBasicOverlay()}),!0}case"barcodeFindUpdateBasicOverlay":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>{this.dataCaptureInstance.barcodeFindMode.updateBasicOverlay(r.jsonOverlay)}),!0}case"barcodeFindSetTransformerFunction":{let{data:r}=e;return this.respondWith(r.command,r.id,async()=>{let a=xe(r.functionAsString);this.dataCaptureInstance.barcodeFindMode.setTransformerFunction(a)}),!0}default:return super.onMessage(e)}}};var Zr=new J(globalThis,{get:()=>globalThis.Module,set:t=>{globalThis.Module=t}});function Qr(t){}})();\n'],{type:"application/javascript"})),t=new Worker(e,r);return URL.revokeObjectURL(e),t}var n=class r extends DataCaptureLoader{get dataCaptureWorker(){return (this._dataCaptureWorker)!=null||(this._dataCaptureWorker=i({name:this.name})),this._dataCaptureWorker}get name(){return `BarcodeCapture${this.isPreloadEngine?" (preload)":""}`}static async create(e){var a;let t=new r(e);return await t.workerCommand("setLogLevel",{level:(a=e.logLevel)!=null?a:Logger.Level.Debug}),await t.load(),t}async workerCommand(e,t,a){return new Promise((o,d)=>{let s=this.workerCommandId++;this.workerTasks.set(s,{resolve:o,reject:d,command:e});let c={...t,command:e,id:s};this.dataCaptureWorker.postMessage(c,a);})}};
|
|
4
|
+
|
|
5
|
+
export { n as a };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var c={"scandit-datacapture-sdk-barcode-pthreads.wasm":{bytes:7033813},"scandit-datacapture-sdk-barcode-simd.wasm":{bytes:7551236},"scandit-datacapture-sdk-barcode.wasm":{bytes:7369989},"scandit-datacapture-sdk-barcode-simd-pthreads.wasm":{bytes:7180436}};
|
|
2
|
+
|
|
3
|
+
export { c as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a } from './chunk-
|
|
1
|
+
import { a } from './chunk-AGGHZGYI.js';
|
|
2
2
|
import { a as a$1 } from './chunk-KQ3LRAYO.js';
|
|
3
3
|
import { unknownErrorToString } from '@scandit/web-datacapture-core/build/js/private/utils/unknownErrorToString.js';
|
|
4
4
|
import { WorkerMain } from '@scandit/web-datacapture-core/build/js/worker/index.js';
|
|
@@ -5,7 +5,7 @@ import { a as a$6 } from './chunk-FJ4SOETD.js';
|
|
|
5
5
|
import { a as a$5, c, e, f, g, h, i, j, k, b as b$1, d as d$2 } from './chunk-DVHTYKDX.js';
|
|
6
6
|
import { m, j as j$1, i as i$1, d as d$1, c as c$1, k as k$1, l, f as f$1, b as b$2, e as e$1, g as g$1 } from './chunk-Y6DC25EF.js';
|
|
7
7
|
import { d } from './chunk-YBD5JYCX.js';
|
|
8
|
-
import { a as a$3 } from './chunk-
|
|
8
|
+
import { a as a$3 } from './chunk-IHZWYTCH.js';
|
|
9
9
|
import { a as a$4 } from './chunk-4EGODYYJ.js';
|
|
10
10
|
import { a } from './chunk-PTJJ3JDE.js';
|
|
11
11
|
import { Point, CameraPosition, Color } from '@scandit/web-datacapture-core';
|
package/build/js/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { a as SparkScanView } from './chunks/chunk-
|
|
1
|
+
export { a as SparkScanView } from './chunks/chunk-OBQCD7KC.js';
|
|
2
2
|
export { a as SparkScanViewState } from './chunks/chunk-L6IZLBEM.js';
|
|
3
3
|
export { a as SparkScanViewSettings } from './chunks/chunk-4EGODYYJ.js';
|
|
4
4
|
export { a as SparkScanToastSettings } from './chunks/chunk-BRRT6GC7.js';
|
|
5
|
-
export { a as SparkScanScanningBehavior } from './chunks/chunk-IMYBB4ZA.js';
|
|
6
|
-
export { a as SparkScanScanningMode, b as SparkScanScanningModeDefault, c as SparkScanScanningModeTarget } from './chunks/chunk-SZUPDKV5.js';
|
|
7
5
|
export { a as SparkScanSettings } from './chunks/chunk-ZZQDT5ZB.js';
|
|
8
|
-
export { a as SparkScan } from './chunks/chunk-VTHL2LZD.js';
|
|
9
|
-
export { a as SparkScanSession } from './chunks/chunk-QHNNJFNX.js';
|
|
10
6
|
export { b as SparkScanBarcodeErrorFeedback, a as SparkScanBarcodeFeedback, c as SparkScanBarcodeSuccessFeedback } from './chunks/chunk-PTJJ3JDE.js';
|
|
11
7
|
export { a as SparkScanPreviewBehavior } from './chunks/chunk-DFK7AQTK.js';
|
|
8
|
+
export { a as SparkScanScanningBehavior } from './chunks/chunk-IMYBB4ZA.js';
|
|
9
|
+
export { a as SparkScanScanningMode, b as SparkScanScanningModeDefault, c as SparkScanScanningModeTarget } from './chunks/chunk-SZUPDKV5.js';
|
|
12
10
|
export { a as BarcodeFindSettings } from './chunks/chunk-CYUXFHBE.js';
|
|
13
11
|
export { a as BarcodeFindView } from './chunks/chunk-WIIZ53ZJ.js';
|
|
14
|
-
export { a as
|
|
12
|
+
export { a as SparkScan } from './chunks/chunk-VTHL2LZD.js';
|
|
13
|
+
export { a as SparkScanSession } from './chunks/chunk-QHNNJFNX.js';
|
|
14
|
+
export { a as barcodeCaptureLoader } from './chunks/chunk-SHZ3YUQY.js';
|
|
15
15
|
export { a as BarcodeFind } from './chunks/chunk-ECL3JBWQ.js';
|
|
16
16
|
export { a as BarcodeFindItem, c as BarcodeFindItemContent, b as BarcodeFindItemSearchOptions } from './chunks/chunk-HTKUJZG2.js';
|
|
17
17
|
export { b as BarcodeCaptureOverlay, a as BarcodeCaptureOverlayStyle } from './chunks/chunk-XM2UJIDT.js';
|
package/build/js/moduleLoader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as barcodeCaptureLoader } from './chunks/chunk-
|
|
1
|
+
export { a as barcodeCaptureLoader } from './chunks/chunk-SHZ3YUQY.js';
|
package/build/js/spark/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { a as SparkScanView } from '../chunks/chunk-
|
|
1
|
+
export { a as SparkScanView } from '../chunks/chunk-OBQCD7KC.js';
|
|
2
2
|
export { a as SparkScanViewState } from '../chunks/chunk-L6IZLBEM.js';
|
|
3
3
|
export { a as SparkScanViewSettings } from '../chunks/chunk-4EGODYYJ.js';
|
|
4
4
|
export { a as SparkScanToastSettings } from '../chunks/chunk-BRRT6GC7.js';
|
|
5
|
+
export { a as SparkScanSettings } from '../chunks/chunk-ZZQDT5ZB.js';
|
|
6
|
+
export { b as SparkScanBarcodeErrorFeedback, a as SparkScanBarcodeFeedback, c as SparkScanBarcodeSuccessFeedback } from '../chunks/chunk-PTJJ3JDE.js';
|
|
7
|
+
export { a as SparkScanPreviewBehavior } from '../chunks/chunk-DFK7AQTK.js';
|
|
5
8
|
export { a as SparkScanScanningBehavior } from '../chunks/chunk-IMYBB4ZA.js';
|
|
6
9
|
export { a as SparkScanScanningMode, b as SparkScanScanningModeDefault, c as SparkScanScanningModeTarget } from '../chunks/chunk-SZUPDKV5.js';
|
|
7
|
-
export { a as SparkScanSettings } from '../chunks/chunk-ZZQDT5ZB.js';
|
|
8
10
|
export { a as SparkScan } from '../chunks/chunk-VTHL2LZD.js';
|
|
9
11
|
export { a as SparkScanSession } from '../chunks/chunk-QHNNJFNX.js';
|
|
10
|
-
export { b as SparkScanBarcodeErrorFeedback, a as SparkScanBarcodeFeedback, c as SparkScanBarcodeSuccessFeedback } from '../chunks/chunk-PTJJ3JDE.js';
|
|
11
|
-
export { a as SparkScanPreviewBehavior } from '../chunks/chunk-DFK7AQTK.js';
|
|
12
12
|
export { a as SparkScanMiniPreviewSize } from '../chunks/chunk-MVDPXLVX.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as SparkScanView } from '../../chunks/chunk-
|
|
1
|
+
export { a as SparkScanView } from '../../chunks/chunk-OBQCD7KC.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as SparkScanViewPresenter } from '../../chunks/chunk-
|
|
1
|
+
export { a as SparkScanViewPresenter } from '../../chunks/chunk-IHZWYTCH.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { a as SparkScanView } from '../../chunks/chunk-
|
|
1
|
+
export { a as SparkScanView } from '../../chunks/chunk-OBQCD7KC.js';
|
|
2
2
|
export { a as SparkScanViewTriggerButton } from '../../chunks/chunk-YVLXLEDF.js';
|
|
3
3
|
export { a as SparkScanViewVisualFeedback } from '../../chunks/chunk-TBXQSBKX.js';
|
|
4
4
|
export { b as SparkScanViewMiniPreview, a as SparkScanViewMiniPreviewButtonType } from '../../chunks/chunk-NL3O64AI.js';
|
|
5
5
|
export { a as SparkScanViewToast } from '../../chunks/chunk-K4MHNZXA.js';
|
|
6
6
|
export { a as SparkScanViewToolbar } from '../../chunks/chunk-ZEFZKKYO.js';
|
|
7
7
|
export { a as SparkScanViewIcon } from '../../chunks/chunk-DTO5ICFV.js';
|
|
8
|
-
export { a as SparkScanViewPresenter } from '../../chunks/chunk-
|
|
8
|
+
export { a as SparkScanViewPresenter } from '../../chunks/chunk-IHZWYTCH.js';
|
|
9
9
|
export { a as SparkScanViewStateManager } from '../../chunks/chunk-OTZPCIBD.js';
|
|
10
10
|
export { a as SparkScanViewState } from '../../chunks/chunk-L6IZLBEM.js';
|
|
11
11
|
export { a as SparkScanViewFeedbackManager } from '../../chunks/chunk-X2KFZW3W.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as BarcodeCaptureWorkerManager } from '../chunks/chunk-
|
|
1
|
+
export { a as BarcodeCaptureWorkerManager } from '../chunks/chunk-L626VDPZ.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as WorkerMain } from '../chunks/chunk-
|
|
1
|
+
export { a as WorkerMain } from '../chunks/chunk-MVB7CK43.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as DataCaptureEngine } from '../chunks/chunk-
|
|
1
|
+
export { a as DataCaptureEngine } from '../chunks/chunk-AGGHZGYI.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scandit/web-datacapture-barcode",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Scandit Data Capture SDK for the Web",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
|
-
"@scandit/web-datacapture-core": "7.0.
|
|
105
|
+
"@scandit/web-datacapture-core": "7.0.1"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
108
|
"@types/emscripten": "^1.39.13"
|