@scandit/web-datacapture-label 8.2.0-beta.1 → 8.2.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/{LabelCapture-DGLkCHVN.d.ts → LabelCapture-DrHOFOh1.d.ts} +0 -1
- package/build/js/{LabelCaptureAdvancedOverlay-Gh80a5hZ.d.ts → LabelCaptureAdvancedOverlay-Dq97psgW.d.ts} +2 -2
- package/build/js/{LabelCaptureBasicOverlay-C6TRvWxE.d.ts → LabelCaptureBasicOverlay-C3OSXO1g.d.ts} +2 -2
- package/build/js/{NativeProxy-DreJVzqM.d.ts → NativeProxy-CYZsx-_W.d.ts} +28 -8
- package/build/js/api/AdaptiveRecognitionResult.d.ts +2 -3
- package/build/js/api/CapturedLabel.js +1 -1
- package/build/js/api/CustomBarcodeBuilder.js +1 -1
- package/build/js/api/CustomText.d.ts +2 -3
- package/build/js/api/CustomTextBuilder.d.ts +4 -3
- package/build/js/api/CustomTextBuilder.js +1 -1
- package/build/js/api/DateText.d.ts +2 -3
- package/build/js/api/DateTextBuilder.d.ts +2 -3
- package/build/js/api/ExpiryDateText.d.ts +2 -3
- package/build/js/api/ExpiryDateTextBuilder.d.ts +3 -4
- package/build/js/api/ExpiryDateTextBuilder.js +1 -1
- package/build/js/api/ImeiOneBarcodeBuilder.js +1 -1
- package/build/js/api/ImeiTwoBarcodeBuilder.js +1 -1
- package/build/js/api/LabelCapture.d.ts +3 -4
- package/build/js/api/LabelCapture.js +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts +3 -4
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.d.ts +2 -3
- package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +4 -5
- package/build/js/api/LabelCaptureAdvancedOverlay.js +1 -1
- package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +4 -5
- package/build/js/api/LabelCaptureBasicOverlay.d.ts +4 -5
- package/build/js/api/LabelCaptureBasicOverlay.js +1 -1
- package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +4 -5
- package/build/js/api/LabelCaptureListener.d.ts +3 -4
- package/build/js/api/LabelCaptureOverlayJSON.d.ts +2 -3
- package/build/js/api/LabelCaptureSession.js +1 -1
- package/build/js/api/LabelCaptureSettings.d.ts +2 -3
- package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts +95 -0
- package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js +1 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.d.ts +349 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.js +1 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.d.ts +194 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.js +1 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.d.ts +297 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.js +1 -0
- package/build/js/api/LabelCaptureValidationFlowFeedback.d.ts +15 -0
- package/build/js/api/LabelCaptureValidationFlowFeedback.js +1 -0
- package/build/js/api/LabelDefinition.d.ts +2 -3
- package/build/js/api/LabelField.js +1 -1
- package/build/js/api/PackingDateText.d.ts +2 -3
- package/build/js/api/PackingDateTextBuilder.d.ts +2 -3
- package/build/js/api/PartNumberBarcodeBuilder.js +1 -1
- package/build/js/api/PrivateReceiptScanningHandler.d.ts +2 -3
- package/build/js/api/PrivateReceiptScanningListener.d.ts +2 -3
- package/build/js/api/PrivateValidationFlowHandler.d.ts +47 -4
- package/build/js/api/PrivateValidationFlowHandler.js +1 -1
- package/build/js/api/ReceiptScanningResult.d.ts +2 -3
- package/build/js/api/SerialNumberBarcodeBuilder.js +1 -1
- package/build/js/api/TotalPriceText.d.ts +2 -3
- package/build/js/api/TotalPriceTextBuilder.d.ts +2 -3
- package/build/js/api/UnitPriceText.d.ts +2 -3
- package/build/js/api/UnitPriceTextBuilder.d.ts +2 -3
- package/build/js/api/ValidationFlowField.d.ts +4 -1
- package/build/js/api/ValidationFlowField.js +1 -1
- package/build/js/api/WeightText.d.ts +2 -3
- package/build/js/api/WeightTextBuilder.d.ts +2 -3
- package/build/js/chunks/{chunk-2WECOW4F.js → chunk-2K4IDUBI.js} +1 -1
- package/build/js/chunks/{chunk-GOW3A5CW.js → chunk-36FUBGEZ.js} +1 -1
- package/build/js/chunks/chunk-4LEONM2D.js +1 -0
- package/build/js/chunks/{chunk-AVU64GAK.js → chunk-5CNHCL7M.js} +1 -1
- package/build/js/chunks/{chunk-6WMMNFP2.js → chunk-5JGE6TIK.js} +1 -1
- package/build/js/chunks/chunk-A6QIZJQN.js +1 -0
- package/build/js/chunks/chunk-AONFYCPA.js +1 -0
- package/build/js/chunks/chunk-DVWSNT7T.js +1 -0
- package/build/js/chunks/chunk-DXLTMLGV.js +2 -0
- package/build/js/chunks/chunk-F5UH7T5M.js +1 -0
- package/build/js/chunks/chunk-HMFPC3RG.js +1 -0
- package/build/js/chunks/chunk-KBXWH2TW.js +1 -0
- package/build/js/chunks/chunk-KFIB6ALQ.js +1 -0
- package/build/js/chunks/chunk-MQ3C6JQR.js +1 -0
- package/build/js/chunks/chunk-NDYVHCIR.js +1 -0
- package/build/js/chunks/chunk-O5PVNK4O.js +1 -0
- package/build/js/chunks/chunk-OWLFTMGR.js +1 -0
- package/build/js/chunks/{chunk-WADZQKYF.js → chunk-QBLOKSED.js} +1 -1
- package/build/js/chunks/{chunk-GEFDYKTD.js → chunk-RMO2SLDR.js} +1 -1
- package/build/js/chunks/{chunk-H7A45TQE.js → chunk-T5PFYQ2F.js} +1 -1
- package/build/js/chunks/chunk-TBGGF77V.js +1 -0
- package/build/js/chunks/{chunk-QVLYUSDL.js → chunk-THXK2CAH.js} +1 -1
- package/build/js/chunks/chunk-TTPFUFVN.js +1 -0
- package/build/js/chunks/{chunk-K44FWZYF.js → chunk-U77DVACF.js} +1 -1
- package/build/js/chunks/chunk-VEAIPJDT.js +1 -0
- package/build/js/chunks/chunk-WFKHPFU2.js +1 -0
- package/build/js/chunks/{chunk-INKFF3U2.js → chunk-XQBJ3GXA.js} +1 -1
- package/build/js/chunks/chunk-XZAS7UFN.js +1 -0
- package/build/js/chunks/{chunk-HTEZ5TMC.js → chunk-ZMEFT4CJ.js} +1 -1
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +10 -441
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.js +1 -1
- package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +2 -3
- package/build/js/index.d.ts +6 -7
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.js +1 -1
- package/build/js/private/PrivateLabelFieldDefinition.d.ts +2 -3
- package/build/js/private/createProxiedViewFinder.d.ts +4 -5
- package/build/js/private/viewfinderTranslator.js +1 -1
- package/build/js/sdcLabelInternalModuleCapture-wUz3FjZK.d.ts +479 -0
- package/build/js/ui/atoms/Button.d.ts +0 -1
- package/build/js/ui/atoms/TextInput.d.ts +53 -45
- package/build/js/ui/atoms/TextInput.js +1 -1
- package/build/js/ui/controllers/KeyboardVisibilityController.d.ts +100 -0
- package/build/js/ui/controllers/KeyboardVisibilityController.js +1 -0
- package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.d.ts +33 -11
- package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.js +1 -1
- package/build/js/worker/LabelCaptureWorkerManager.d.ts +2 -3
- package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
- package/build/js/worker/WorkerMain.d.ts +2 -3
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/WorkerRegistry.d.ts +2 -3
- package/build/js/worker/dataCaptureEngine.d.ts +2 -3
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -3
- package/build/js/worker/handlers/FieldBuilderHandler.d.ts +2 -3
- package/build/js/worker/handlers/FieldBuilderHandler.js +1 -1
- package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.d.ts +2 -3
- package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.js +1 -1
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.d.ts +2 -3
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.js +1 -1
- package/build/js/worker/handlers/LabelCaptureHandler.d.ts +2 -3
- package/build/js/worker/handlers/LabelCaptureHandler.js +1 -1
- package/build/js/worker/handlers/ReceiptScanningHandler.d.ts +2 -3
- package/build/js/worker/handlers/ReceiptScanningHandler.js +1 -1
- package/build/js/worker/handlers/SettingsHandler.d.ts +2 -3
- package/build/js/worker/handlers/SettingsHandler.js +1 -1
- package/build/js/worker/handlers/ValidationFlowHandler.d.ts +2 -3
- package/build/js/worker/handlers/ValidationFlowHandler.js +1 -1
- package/build/js/worker/labelCapture.inlineWorker.d.ts +2 -3
- package/build/js/worker/labelCapture.inlineWorker.js +1 -1
- package/build/js/worker/labelWorkerHandler.d.ts +2 -3
- package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +2 -3
- package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +2 -3
- package/build/js/worker/proxies/BarcodeFieldProxy.js +1 -1
- package/build/js/worker/proxies/CapturedLabelProxy.d.ts +2 -3
- package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
- package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +2 -3
- package/build/js/worker/proxies/CustomBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/CustomTextProxy.d.ts +3 -3
- package/build/js/worker/proxies/CustomTextProxy.js +1 -1
- package/build/js/worker/proxies/DateTextProxy.d.ts +2 -3
- package/build/js/worker/proxies/DateTextProxy.js +1 -1
- package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +2 -3
- package/build/js/worker/proxies/ExpiryDateTextProxy.js +1 -1
- package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +2 -3
- package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +2 -3
- package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelCaptureHelperProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureProxy.d.ts +3 -3
- package/build/js/worker/proxies/LabelCaptureProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
- package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelFieldLocationProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldProxy.d.ts +2 -3
- package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
- package/build/js/worker/proxies/NativeProxy.d.ts +2 -3
- package/build/js/worker/proxies/NativeProxy.js +1 -1
- package/build/js/worker/proxies/NoViewfinderProxy.d.ts +2 -3
- package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/PackingDateTextProxy.d.ts +2 -3
- package/build/js/worker/proxies/PackingDateTextProxy.js +1 -1
- package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +2 -3
- package/build/js/worker/proxies/PartNumberBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.d.ts +2 -3
- package/build/js/worker/proxies/ReceiptScanningOverlayProxy.d.ts +2 -3
- package/build/js/worker/proxies/ReceiptScanningOverlayProxy.js +1 -1
- package/build/js/worker/proxies/ReceiptScanningSettingsProxy.d.ts +2 -3
- package/build/js/worker/proxies/ReceiptScanningSettingsProxy.js +1 -1
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.d.ts +2 -3
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -1
- package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +2 -3
- package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +2 -3
- package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +2 -3
- package/build/js/worker/proxies/TotalPriceTextProxy.js +1 -1
- package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +2 -3
- package/build/js/worker/proxies/UnitPriceTextProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowListenerProxy.d.ts +3 -3
- package/build/js/worker/proxies/ValidationFlowListenerProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowOverlayProxy.d.ts +2 -3
- package/build/js/worker/proxies/ValidationFlowOverlayProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowSettingsProxy.d.ts +2 -3
- package/build/js/worker/proxies/ValidationFlowSettingsProxy.js +1 -1
- package/build/js/worker/proxies/WeightTextProxy.d.ts +2 -3
- package/build/js/worker/proxies/WeightTextProxy.js +1 -1
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.d.ts +2 -3
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.js +1 -1
- package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.d.ts +2 -3
- package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.js +1 -1
- package/build/js/worker/proxies/base/index.d.ts +2 -3
- package/build/js/worker/proxies/base/index.js +1 -1
- package/package.json +3 -3
- package/sdc-lib/scandit-datacapture-sdk-label-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-label-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-label-simd.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-label-simd.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-label.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-label.wasm +0 -0
- package/build/js/ResultOrError-wVDzYSuC.d.ts +0 -27
- package/build/js/api/LabelCaptureValidationFlowOverlay.d.ts +0 -143
- package/build/js/api/LabelCaptureValidationFlowOverlay.js +0 -1
- package/build/js/chunks/chunk-6GCZVUBU.js +0 -1
- package/build/js/chunks/chunk-6O4CVQF2.js +0 -1
- package/build/js/chunks/chunk-7UMN72SD.js +0 -1
- package/build/js/chunks/chunk-E2ZQGWKI.js +0 -1
- package/build/js/chunks/chunk-GYKCTYW2.js +0 -1
- package/build/js/chunks/chunk-IU34OFUF.js +0 -2
- package/build/js/chunks/chunk-JTZCA3DV.js +0 -1
- package/build/js/chunks/chunk-RPOZ2B2F.js +0 -1
- package/build/js/chunks/chunk-SUEFKTEN.js +0 -1
- package/build/js/chunks/chunk-TCXD3SSH.js +0 -1
- package/build/js/chunks/chunk-VHYYJSJM.js +0 -1
- package/build/js/chunks/chunk-W7XOV4H3.js +0 -1
- package/build/js/chunks/chunk-WR7V5D4H.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-F5NT65XG.js';import {a
|
|
1
|
+
import {a as a$1}from'./chunk-F5NT65XG.js';import {a}from'./chunk-SYDG6PPD.js';import {a as a$2}from'./chunk-36FUBGEZ.js';import {a as a$3}from'./chunk-MQ3C6JQR.js';import {Logger,RectangularViewfinder,AimerViewfinder}from'@scandit/web-datacapture-core';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';function f(d){return d instanceof RectangularViewfinder||d instanceof AimerViewfinder}var p=class p{constructor(e){this.listeners=new Set;this.onWorkerMessageHandler=this.onWorkerMessage.bind(this);this[nativeHandle]=e;}static async withLabelCapture(e){let t=await a().workerCommand("labelCaptureBasicOverlayForLabelCapture",{payload:{labelCaptureHandle:e[nativeHandle]}});return new p(t)}static async withLabelCaptureForView(e,t){let i=await a().workerCommand("labelCaptureBasicOverlayForLabelCapture",{payload:{labelCaptureHandle:e[nativeHandle]}}),s=new p(i);return await t.addOverlay(s),s}toJSONObject(){return {type:this[nativeHandle].className,nativeHandle:this[nativeHandle]}}async getListener(){return this.listeners.size===0?null:[...this.listeners.values()][0]}async setListener(e){if(!e){this.listeners.clear(),a().removeWorkerListener(this.onWorkerMessageHandler),await a().workerCommand("labelCaptureBasicOverlaySetListener",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],value:false}});return}this.listeners.size===0&&(this.listeners.add(e),a().addWorkerListener(this.onWorkerMessageHandler),await a().workerCommand("labelCaptureBasicOverlaySetListener",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],value:true}}));}async getDefaultFieldBrush(e){return await a().workerCommand("labelCaptureBasicOverlayGetDefaultFieldBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelFieldState:e}})}async setDefaultFieldBrush(e,t){return await a().workerCommand("labelCaptureBasicOverlaySetDefaultFieldBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelFieldState:t,brush:e.toJSONObject()}})}async getDefaultLabelBrush(){return await a().workerCommand("labelCaptureBasicOverlayGetDefaultLabelBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setDefaultLabelBrush(e){return await a().workerCommand("labelCaptureBasicOverlaySetDefaultLabelBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],brush:e.toJSONObject()}})}async setBrushForField(e,t,i){return await a().workerCommand("labelCaptureBasicOverlaySetBrushForField",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],fieldJSON:t.toJSONObject(),labelJSON:i.toJSONObject(),brush:e.toJSONObject()}})}async setBrushForLabel(e,t){return await a().workerCommand("labelCaptureBasicOverlaySetBrushForLabel",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelJSON:t.toJSONObject(),brush:e.toJSONObject()}})}async getShouldShowScanAreaGuides(){return await a().workerCommand("labelCaptureBasicOverlayGetShouldShowScanAreaGuides",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setShouldShowScanAreaGuides(e){return await a().workerCommand("labelCaptureBasicOverlaySetShouldShowScanAreaGuides",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],show:e}})}async getViewfinder(){return await a().workerCommand("labelCaptureBasicOverlayGetViewfinder",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setViewfinder(e){if(!f(e)){Logger.error("Supported viewfinder types are RectangularViewfinder and AimerViewfinder",e);return}return this.proxiedViewFinder=a$1(this,a(),e),await a().workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],viewfinderJSON:e==null?void 0:e.toJSONObject()}})}onWorkerMessage(e){var t,i,s;switch(e.type){case "labelCaptureBasicOverlayOnLabelTapped":{for(let l of this.listeners)(t=l.onLabelTapped)==null||t.call(l,this,a$2.fromJSON(e.payload.labelJSON));break}case "labelCaptureBasicOverlayBrushForField":{for(let l of this.listeners){let o=a$3.fromJSON(e.payload.fieldJSON),u=a$2.fromJSON(e.payload.labelJSON),b=(i=l.brushForField)==null?void 0:i.call(l,this,o,u);b&&this.setBrushForField(b,o,u);}break}case "labelCaptureBasicOverlayBrushForLabel":{for(let l of this.listeners){let o=a$2.fromJSON(e.payload.labelJSON),u=(s=l.brushForLabel)==null?void 0:s.call(l,this,o);u&&this.setBrushForLabel(u,o);}break}}}},m=p;export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-X2BMTDWA.js';import {h}from'./chunk-DVWSNT7T.js';import {a as a$1}from'./chunk-CHBH6UKJ.js';import {Orientation,ScanditIconBuilder,Color,ScanditIconType}from'@scandit/web-datacapture-core';import {Backdrop}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/Backdrop.js';import {ScanditHTMLElement,css,defineCustomElements,html,safeRequestAnimationFrame,safeCancelAnimation,safeAwaitAnimation}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';import {orientationChangeEvent,OrientationObserver}from'@scandit/web-datacapture-core/build/js/private/OrientationObserver.js';async function w(d,v=null,t=15){let i=new ScanditIconBuilder().withIcon(d).withWidth(t).withHeight(t).withIconSize(t);return i.withIconColor(v!=null?v:Color.fromHex("#000000")),await i.build()}var e="scandit-lvfl",M=300,R="ease-in-out",g={slideUp:d=>[{transform:"translateY(0)"},{transform:`translateY(${-d}px)`}],slideDown:d=>[{transform:`translateY(${-d}px)`},{transform:"translateY(0)"}],fadeOut:()=>[{opacity:"1"},{opacity:"0"}],fadeIn:()=>[{opacity:"0"},{opacity:"1"}]},y={duration:M,easing:R,fill:"forwards"},C={ClearAllButtonClicked:"scandit-clear-all-button-clicked",PauseButtonClicked:"scandit-pause-button-clicked",ClickedOutsideList:"scandit-clicked-outside-list",ValidationFlowLayoutChange:"scandit-validation-flow-layout-change"},s=class s extends ScanditHTMLElement{constructor(){super(...arguments);this.dataCaptureViewContainer_=null;this.dataCaptureViewWrapper_=null;this.backdrop_=null;this.adaptiveRecognitionOverlay_=null;this.clearButton_=null;this.submitButton_=null;this.pauseButton_=null;this.gridLayoutContainer_=null;this.buttonsContainer_=null;this.orientationObserver_=null;this.onOrientationChangeHandler=this.onOrientationChange.bind(this);this.onClearButtonClickHandler=this.onClearButtonClick.bind(this);this.onPauseButtonClickHandler=this.onPauseButtonClick.bind(this);this.onDataCaptureViewWrapperClickHandler=this.onDataCaptureViewWrapperClick.bind(this);this.collapseAnimations=new Map;this.focusedInput=null;this.focusedInputOffset=0;this.currentAnimationPromise=null;this.lastOrientationEvent_=null;}static createStyleElement(){return css`.${e}{display:flex;flex-direction:column;font-family:Roboto,Noto Sans,Open Sans,sans-serif;height:100%;overflow:hidden;position:relative;width:100%;--safe-area-inset-top:env(safe-area-inset-top,0px);--safe-area-inset-bottom:env(safe-area-inset-bottom,0px);--safe-area-inset-left:env(safe-area-inset-left,0px);--safe-area-inset-right:env(safe-area-inset-right,0px)}.${e}[hidden]{display:none}.${e} .${e}__datacapture-view-wrapper{flex:1;height:100%;margin-top:auto;min-height:40%;position:relative;width:100%}.${e} .${e}__datacapture-view-container{height:100%;width:100%}.${e} .${e}__backdrop{inset:0;position:absolute}.${e} .${e}__container{display:flex;flex-direction:column;max-height:60%;position:relative}.${e} .${e}__buttons-container{bottom:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;left:0;padding:.5rem 1rem;position:absolute;width:100%;z-index:1}.${e} .${e}__buttons-container>${a.tag}{opacity:1;pointer-events:auto;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;visibility:visible}.${e} .${e}__buttons-container>${a.tag}.scandit-button-hidden{opacity:0;pointer-events:none;visibility:hidden}.${e} .${e}__grid-layout-container{box-sizing:border-box;container-type:inline-size;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin:1rem;overflow-y:scroll;position:relative}.${e} .${e}__grid-layout-container>${h.tag}{grid-column:span 4;opacity:1;transform:translateY(0)}@media (min-width:48rem){.${e} .${e}__grid-layout-container{grid-template-columns:repeat(8,1fr);margin:2rem}}@media (min-width:68.75rem){.${e} .${e}__grid-layout-container{grid-template-columns:repeat(16,1fr);margin:2rem}}@supports (container-type:inline-size){@container (min-width: 48rem){.${e} .${e}__grid-layout-container{grid-template-columns:repeat(8,1fr);margin:2rem}}@container (min-width: 68.75rem){.${e} .${e}__grid-layout-container{grid-template-columns:repeat(16,1fr);margin:2rem}}}@media (orientation:landscape){.${e}{flex-direction:row}.${e} .${e}__datacapture-view-wrapper{margin-top:0;max-height:100%;min-width:40%}.${e} .${e}__container{flex:1;max-height:100%}.${e} .${e}__buttons-container{bottom:calc(var(--safe-area-inset-bottom));left:-100%;width:100%}}`}static create(){return s.register(),document.createElement(s.tag)}static register(){defineCustomElements({[s.tag]:s}),a$1.register(),Backdrop.register(),a.register(),h.register();}get dataCaptureViewContainer(){return this.dataCaptureViewContainer_}get backdrop(){return this.backdrop_}get clearButton(){return this.clearButton_}get submitButton(){return this.submitButton_}get pauseButton(){return this.pauseButton_}getInputs(){if(!this.gridLayoutContainer_)return [];let t=this.gridLayoutContainer_.querySelectorAll(h.tag);return Array.from(t)}getInputByName(t){if(!this.gridLayoutContainer_)return;let i=this.gridLayoutContainer_.querySelector(`${h.tag}[name="${t}"]`);return i!=null?i:void 0}static injectStyles(){if(s.injectedStyleElement===null)try{let t=s.createStyleElement().cloneNode(true);document.head.append(t),s.injectedStyleElement=t;}catch{}}connectedCallback(){var t,i,a$2,n;s.injectStyles(),this.classList.add(e),this.innerHTML=html`<div class="${e}__datacapture-view-wrapper"><div class="${e}__datacapture-view-container"></div><${Backdrop.tag} class="${e}__backdrop"></${Backdrop.tag}><${a$1.tag}></${a$1.tag}></div><div class="${e}__container"><div class="${e}__buttons-container"></div><div class="${e}__grid-layout-container"></div></div>`,this.dataCaptureViewContainer_=this.querySelector(`.${e}__datacapture-view-container`),this.dataCaptureViewWrapper_=this.querySelector(`.${e}__datacapture-view-wrapper`),this.gridLayoutContainer_=this.querySelector(`.${e}__grid-layout-container`),this.backdrop_=this.querySelector(Backdrop.tag),this.adaptiveRecognitionOverlay_=this.querySelector(a$1.tag),this.buttonsContainer_=this.querySelector(`.${e}__buttons-container`),this.clearButton_=a.create(),this.clearButton_.variant="secondary",this.clearButton_.kind="destructive",this.clearButton_.size="small",this.clearButton_.textContent="Clear All",this.clearButton_.classList.add("scandit-button-hidden"),this.clearButton_.setAttribute("tabindex","-1"),this.submitButton_=a.create(),this.submitButton_.variant="primary",this.submitButton_.kind="action",this.submitButton_.size="small",this.submitButton_.type="button",this.submitButton_.disabled=true,this.submitButton_.textContent="Finish",this.submitButton_.classList.add("scandit-button-hidden"),this.submitButton_.setAttribute("tabindex","-1"),this.pauseButton_=a.create(),this.pauseButton_.variant="secondary",this.pauseButton_.size="small",this.pauseButton_.textContent="Pause",this.pauseButton_.classList.add("scandit-button-hidden"),this.pauseButton_.setAttribute("tabindex","-1"),(t=this.buttonsContainer_)==null||t.append(this.clearButton_,this.pauseButton_,this.submitButton_),(i=this.clearButton_)==null||i.addEventListener("click",this.onClearButtonClickHandler),(a$2=this.pauseButton_)==null||a$2.addEventListener("click",this.onPauseButtonClickHandler),(n=this.dataCaptureViewWrapper_)==null||n.addEventListener("click",this.onDataCaptureViewWrapperClickHandler),this.addButtonIcons(),this.setupOrientationObserver();}disconnectedCallback(){var t,i,a,n,o;(t=this.clearButton_)==null||t.removeEventListener("click",this.onClearButtonClickHandler),(i=this.pauseButton_)==null||i.removeEventListener("click",this.onPauseButtonClickHandler),(a=this.dataCaptureViewWrapper_)==null||a.removeEventListener("click",this.onDataCaptureViewWrapperClickHandler),(n=this.orientationObserver_)==null||n.removeEventListener(orientationChangeEvent,this.onOrientationChangeHandler),(o=this.orientationObserver_)==null||o.unregister(),this.orientationObserver_=null,this.resetInputsState(),this.currentAnimationPromise=null,this.innerHTML="",this.dataCaptureViewContainer_=null,this.dataCaptureViewWrapper_=null,this.backdrop_=null,this.clearButton_=null,this.submitButton_=null,this.pauseButton_=null,this.buttonsContainer_=null,s.injectedStyleElement!==null&&(s.injectedStyleElement.remove(),s.injectedStyleElement=null);}onClearButtonClick(){let t=this.getInputs();this.dispatchEvent(new CustomEvent(C.ClearAllButtonClicked,{bubbles:true,detail:{inputs:t}}));}onPauseButtonClick(){this.dispatchEvent(new CustomEvent(C.PauseButtonClicked,{bubbles:true}));}onDataCaptureViewWrapperClick(t){this.dispatchEvent(new CustomEvent(C.ClickedOutsideList,{bubbles:true}));}async addButtonIcons(){var n,o,r;let[t,i,a]=await Promise.all([w(ScanditIconType.Delete),w(ScanditIconType.Checkmark),w(ScanditIconType.Pause)]);t.slot="icon-start",(n=this.clearButton_)==null||n.append(t),i.slot="icon-start",(o=this.submitButton_)==null||o.append(i),a.slot="icon-start",(r=this.pauseButton_)==null||r.append(a);}setupOrientationObserver(){this.orientationObserver_=new OrientationObserver,this.orientationObserver_.addEventListener(orientationChangeEvent,this.onOrientationChangeHandler),this.orientationObserver_.register();}onOrientationChange(t){if(this.lastOrientationEvent_=t!=null?t:this.lastOrientationEvent_,!this.lastOrientationEvent_)return;let i=0,a=0,n=0,o=0,r=this.lastOrientationEvent_.detail.value;if(r===Orientation.LandscapeRight||r===Orientation.LandscapeLeft){let c=getComputedStyle(this).getPropertyValue("--safe-area-inset-bottom").trim(),u=getComputedStyle(this).getPropertyValue("--safe-area-inset-top").trim(),f=getComputedStyle(this).getPropertyValue("--safe-area-inset-left").trim(),p=getComputedStyle(this).getPropertyValue("--safe-area-inset-right").trim();i=parseInt(c,10)||0,a=parseInt(u,10)||0,n=parseInt(f,10)||0,o=parseInt(p,10)||0;}this.dispatchEvent(new CustomEvent(C.ValidationFlowLayoutChange,{bubbles:true,detail:{buttonContainerHeight:this.buttonsContainerHeight,safeAreaInsetBottom:i,safeAreaInsetTop:a,safeAreaInsetLeft:n,safeAreaInsetRight:o}}));}showButton(t){t&&(t.classList.remove("scandit-button-hidden"),t.removeAttribute("tabindex"));}hideButton(t){t&&(t.classList.add("scandit-button-hidden"),t.setAttribute("tabindex","-1"));}showValidationButtons(){this.showButton(this.clearButton_),this.showButton(this.submitButton_),this.hideButton(this.pauseButton_);}showScanningButtons(){this.hideButton(this.clearButton_),this.hideButton(this.submitButton_),this.showButton(this.pauseButton_);}hideAllButtons(){var t;(t=this.buttonsContainer_)==null||t.querySelectorAll(a.tag).forEach(i=>{this.hideButton(i);});}get buttonsContainerHeight(){var t,i,a,n,o,r,c,u;return (u=(c=(o=(a=(t=this.buttonsContainer_)==null?void 0:t.offsetHeight)!=null?a:(i=this.clearButton_)==null?void 0:i.offsetHeight)!=null?o:(n=this.submitButton_)==null?void 0:n.offsetHeight)!=null?c:(r=this.pauseButton_)==null?void 0:r.offsetHeight)!=null?u:0}get finishButtonText(){var t,i;return (i=(t=this.submitButton_)==null?void 0:t.textContent)!=null?i:""}set finishButtonText(t){this.submitButton_&&(this.submitButton_.textContent=t);}get restartButtonText(){var t,i;return (i=(t=this.clearButton_)==null?void 0:t.textContent)!=null?i:""}set restartButtonText(t){this.clearButton_&&(this.clearButton_.textContent=t);}get pauseButtonText(){var t,i;return (i=(t=this.pauseButton_)==null?void 0:t.textContent)!=null?i:""}set pauseButtonText(t){this.pauseButton_&&(this.pauseButton_.textContent=t);}appendInputs(...t){var i;(i=this.gridLayoutContainer_)==null||i.append(...t),safeRequestAnimationFrame(()=>{this.onOrientationChangeHandler();});}async waitForAnimations(){this.currentAnimationPromise&&await this.currentAnimationPromise;}resetInputsState(){for(let t of this.collapseAnimations.values())safeCancelAnimation(t);if(this.collapseAnimations.clear(),this.focusedInput=null,this.focusedInputOffset=0,!!this.gridLayoutContainer_)for(let t of this.getInputs()){for(let i of t.getAnimations())safeCancelAnimation(i);t.style.removeProperty("pointer-events");}}async moveInputToTop(t){if(!this.gridLayoutContainer_)return;await this.waitForAnimations(),this.resetInputsState();let i=(async()=>{if(!this.gridLayoutContainer_)return;safeRequestAnimationFrame(()=>{this.gridLayoutContainer_&&(this.gridLayoutContainer_.scrollTop=0);});let a=this.getInputs();this.focusedInput=t;let n=this.gridLayoutContainer_.getBoundingClientRect(),o=t.getBoundingClientRect(),r=this.gridLayoutContainer_.scrollTop||0,c=Math.round(o.top-n.top+r);this.focusedInputOffset=c;let u=[],f=t.animate(g.slideUp(c),y);this.collapseAnimations.set(t,f),u.push(safeAwaitAnimation(f));for(let p of a)if(p!==t){p.style.pointerEvents="none";let I=p.animate(g.fadeOut(),y);this.collapseAnimations.set(p,I),u.push(safeAwaitAnimation(I));}await Promise.all(u);})();this.currentAnimationPromise=i;try{await i;}finally{this.currentAnimationPromise=null;}}async restoreInputsPositions(){await this.waitForAnimations();let t=(async()=>{if(!this.focusedInput)return;let i=this.getInputs(),a=[];if(this.focusedInputOffset>0){let n=this.focusedInput.animate(g.slideDown(this.focusedInputOffset),y);this.collapseAnimations.set(this.focusedInput,n),a.push(safeAwaitAnimation(n));}for(let n of i)if(n!==this.focusedInput){let o=n.animate(g.fadeIn(),y);this.collapseAnimations.set(n,o),a.push(safeAwaitAnimation(o).then(()=>{n.style.removeProperty("pointer-events");}));}await Promise.all(a),this.focusedInput=null,this.focusedInputOffset=0;})();this.currentAnimationPromise=t;try{await t;}finally{this.currentAnimationPromise=null,this.resetInputsState();}}showAdaptiveRecognitionOverlay(){this.adaptiveRecognitionOverlay_&&(this.adaptiveRecognitionOverlay_.show=true);}hideAdaptiveRecognitionOverlay(){this.adaptiveRecognitionOverlay_&&(this.adaptiveRecognitionOverlay_.show=false);}};s.tag="scandit-label-capture-validation-flow-layout",s.injectedStyleElement=null;var O=s;export{C as a,O as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-S7PTN3KC.js';import {a}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-S7PTN3KC.js';import {a as a$1}from'./chunk-SYDG6PPD.js';import {a}from'./chunk-WX63L6GU.js';var o=class extends a{constructor(){super(...arguments);this.anchorRegexes=[];}setAnchorRegexes(e){return this.anchorRegexes=e,this.getThis()}setAnchorRegex(e){return this.anchorRegexes=[String(e)],this.getThis()}async build(e){let a=await a$1().workerCommand("labelCaptureBuildImeiTwoBarcode",{payload:{name:e,dataTypePatterns:this.anchorRegexes,hiddenProperties:this.hiddenProperties,isOptional:this._isOptional,patterns:this.valueRegexes,symbologies:this.symbologies}}),i=a$2.forHandle(a);return i._isOptional=this._isOptional,i._name=e,i._valueRegexes=this.valueRegexes,i._symbologies=this.symbologySettings,i}getThis(){return this}};export{o as a};
|
|
@@ -1,446 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
1
|
+
import './sdcBarcodeData.js';
|
|
2
|
+
import './sdcSymbologySettings.js';
|
|
3
|
+
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
4
|
+
import './sdcCoreInternalSdkArea.js';
|
|
5
|
+
import './sdcCoreInternalSdkCommonAsync.js';
|
|
6
|
+
export { B as BarcodeField, q as BarcodeField_statics, C as CustomBarcode, r as CustomBarcode_statics, f as CustomText, s as CustomText_statics, D as DateText, t as DateText_statics, E as ExpiryDateText, u as ExpiryDateText_statics, I as ImeiOneBarcode, v as ImeiOneBarcode_statics, h as ImeiTwoBarcode, w as ImeiTwoBarcode_statics, L as LabelCapture, i as LabelCaptureHelper, y as LabelCaptureHelper_statics, b as LabelCaptureListener, c as LabelCaptureSession, j as LabelCaptureSettings, z as LabelCaptureSettings_statics, x as LabelCapture_statics, g as LabelDateFormat, k as LabelDefinition, A as LabelDefinition_statics, e as LabelFieldDefinition, d as LabelFieldLocation, F as LabelFieldLocation_statics, p as LabelResultUpdate, a as LabelResultUpdateType, P as PackingDateText, G as PackingDateText_statics, l as PartNumberBarcode, H as PartNumberBarcode_statics, J as ReceiptScanningHandler, m as ReceiptScanningListener, Y as SdcLabelInternalModuleCapture_statics, S as SerialNumberBarcode, K as SerialNumberBarcode_statics, M as TextField, T as TotalPriceText, N as TotalPriceText_statics, U as UnitPriceText, O as UnitPriceText_statics, o as ValidationFlowField, X as ValidationFlowHandler, n as ValidationFlowListener, V as ValidationFlowState, W as WeightText, Q as WeightText_statics } from '../sdcLabelInternalModuleCapture-wUz3FjZK.js';
|
|
7
|
+
import './sdcCoreInternalSdkOcr.js';
|
|
8
|
+
import './sdcCoreCommonGeometry.js';
|
|
9
|
+
import './sdcLabelData.js';
|
|
10
|
+
import './sdcLabelInternalModuleData.js';
|
|
11
11
|
import './sdcCoreInternalSdkCommonGeometry.js';
|
|
12
12
|
import './sdcCoreCommonGraphic.js';
|
|
13
13
|
import './sdcCoreCommon.js';
|
|
14
14
|
import './sdcBarcodeInternalSdkData.js';
|
|
15
15
|
import './sdcCoreCommonBuffer.js';
|
|
16
|
-
|
|
17
|
-
interface LabelCapture {
|
|
18
|
-
isEnabled(): boolean;
|
|
19
|
-
setEnabled(enabled: boolean): void;
|
|
20
|
-
isAttachedToContext(): boolean;
|
|
21
|
-
addListenerAsync(listener: LabelCaptureListener, priority: number): void;
|
|
22
|
-
removeListenerAsync(listener: LabelCaptureListener): void;
|
|
23
|
-
getSession(): LabelCaptureSession;
|
|
24
|
-
applySettingsWrapped(settings: LabelCaptureSettings): WrappedFuture;
|
|
25
|
-
getContext(): DataCaptureContext;
|
|
26
|
-
registerExternalOcrBackend(backend: ExternalOcrBackend): void;
|
|
27
|
-
shouldUseEngineDrivenAnimations(): boolean;
|
|
28
|
-
receiptScanningHandler(): ReceiptScanningHandler;
|
|
29
|
-
validationFlowHandler(): ValidationFlowHandler;
|
|
30
|
-
}
|
|
31
|
-
interface LabelCapture_statics {
|
|
32
|
-
create(context: DataCaptureContext, settings: LabelCaptureSettings): LabelCapture;
|
|
33
|
-
}
|
|
34
|
-
interface LabelCaptureHelper {
|
|
35
|
-
}
|
|
36
|
-
interface LabelCaptureHelper_statics {
|
|
37
|
-
addLabelCaptureToContext(mode: LabelCapture, context: DataCaptureContext): void;
|
|
38
|
-
removeLabelCaptureFromContext(mode: LabelCapture, context: DataCaptureContext): void;
|
|
39
|
-
}
|
|
40
|
-
interface LabelCaptureSettings {
|
|
41
|
-
setLocationSelection(locationSelection: LocationSelection): void;
|
|
42
|
-
getLocationSelection(): LocationSelection | undefined;
|
|
43
|
-
getLicenseKey(): string;
|
|
44
|
-
setLicenseKey(license: string): void;
|
|
45
|
-
getLicensee(): string;
|
|
46
|
-
setLicensee(licensee: string): void;
|
|
47
|
-
getIntProperty(key: string): number | undefined;
|
|
48
|
-
setIntProperty(key: string, value: number): void;
|
|
49
|
-
getBlueprintJson(): string;
|
|
50
|
-
getBasicOverlayAnimationMillis(): number | undefined;
|
|
51
|
-
}
|
|
52
|
-
interface LabelCaptureSettings_statics {
|
|
53
|
-
loadFromString(description: string): ResultOrError<LabelCaptureSettings, string>;
|
|
54
|
-
createFromLabelDefinitions(labelDefinitions: Array<LabelDefinition>): ResultOrError<LabelCaptureSettings, string>;
|
|
55
|
-
create(labelDefinitions: Array<LabelDefinition>, hiddenPropertyJsonString: string, blueprintJsonUpdate: string): ResultOrError<LabelCaptureSettings, string>;
|
|
56
|
-
}
|
|
57
|
-
interface LabelCaptureSession {
|
|
58
|
-
getLabels(): Array<CapturedLabel>;
|
|
59
|
-
getLastFrameId(): number;
|
|
60
|
-
toJson(): string;
|
|
61
|
-
}
|
|
62
|
-
interface LabelCaptureListener {
|
|
63
|
-
onSessionUpdated(mode: LabelCapture, session: LabelCaptureSession, data: WasmFrameData): void;
|
|
64
|
-
onObservationStarted(mode: LabelCapture): void;
|
|
65
|
-
onObservationStopped(mode: LabelCapture): void;
|
|
66
|
-
}
|
|
67
|
-
interface LabelDefinition {
|
|
68
|
-
getName(): string;
|
|
69
|
-
getFieldDefinitions(): Array<LabelFieldDefinition>;
|
|
70
|
-
getHiddenProperties(): string;
|
|
71
|
-
setHiddenProperties(jsonString: string): void;
|
|
72
|
-
getAdaptiveRecognitionMode(): AdaptiveRecognitionMode;
|
|
73
|
-
setAdaptiveRecognitionMode(mode: AdaptiveRecognitionMode): void;
|
|
74
|
-
}
|
|
75
|
-
interface LabelDefinition_statics {
|
|
76
|
-
create(name: string, fieldDefinitions: Array<LabelFieldDefinition>): LabelDefinition;
|
|
77
|
-
createVinLabelDefinition(name: string): LabelDefinition;
|
|
78
|
-
createPriceCaptureDefinition(name: string): LabelDefinition;
|
|
79
|
-
createSevenSegmentDisplayLabelDefinition(name: string): LabelDefinition;
|
|
80
|
-
}
|
|
81
|
-
interface LabelFieldDefinition {
|
|
82
|
-
getName(): string;
|
|
83
|
-
isOptional(): boolean;
|
|
84
|
-
setOptional(optional: boolean): void;
|
|
85
|
-
getPatterns(): Array<string>;
|
|
86
|
-
setPatterns(patterns: Array<string>): void;
|
|
87
|
-
getHiddenProperties(): string;
|
|
88
|
-
setHiddenProperties(jsonString: string): void;
|
|
89
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
90
|
-
setLocation(location: LabelFieldLocation): void;
|
|
91
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
92
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
93
|
-
}
|
|
94
|
-
interface LabelDateFormat {
|
|
95
|
-
componentFormat: LabelDateComponentFormat;
|
|
96
|
-
acceptPartialDates: boolean;
|
|
97
|
-
}
|
|
98
|
-
interface TextField {
|
|
99
|
-
/** inherited from label_field_definition */
|
|
100
|
-
getName(): string;
|
|
101
|
-
isOptional(): boolean;
|
|
102
|
-
setOptional(optional: boolean): void;
|
|
103
|
-
getPatterns(): Array<string>;
|
|
104
|
-
setPatterns(patterns: Array<string>): void;
|
|
105
|
-
getHiddenProperties(): string;
|
|
106
|
-
setHiddenProperties(jsonString: string): void;
|
|
107
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
108
|
-
setLocation(location: LabelFieldLocation): void;
|
|
109
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
110
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
111
|
-
resetDataTypePatterns(): void;
|
|
112
|
-
}
|
|
113
|
-
interface DateText {
|
|
114
|
-
getName(): string;
|
|
115
|
-
isOptional(): boolean;
|
|
116
|
-
setOptional(optional: boolean): void;
|
|
117
|
-
getPatterns(): Array<string>;
|
|
118
|
-
setPatterns(patterns: Array<string>): void;
|
|
119
|
-
getHiddenProperties(): string;
|
|
120
|
-
setHiddenProperties(jsonString: string): void;
|
|
121
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
122
|
-
getLabelDateFormat(): LabelDateFormat;
|
|
123
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
124
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
125
|
-
resetDataTypePatterns(): void;
|
|
126
|
-
}
|
|
127
|
-
interface DateText_statics {
|
|
128
|
-
create(name: string, format: LabelDateFormat): DateText;
|
|
129
|
-
}
|
|
130
|
-
interface ExpiryDateText {
|
|
131
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
132
|
-
setLabelDateFormat(format: LabelDateFormat): void;
|
|
133
|
-
getLabelDateFormat(): LabelDateFormat | undefined;
|
|
134
|
-
resetDataTypePatterns(): void;
|
|
135
|
-
/** inherited from label_field_definition */
|
|
136
|
-
getName(): string;
|
|
137
|
-
isOptional(): boolean;
|
|
138
|
-
setOptional(optional: boolean): void;
|
|
139
|
-
getPatterns(): Array<string>;
|
|
140
|
-
setPatterns(patterns: Array<string>): void;
|
|
141
|
-
getHiddenProperties(): string;
|
|
142
|
-
setHiddenProperties(jsonString: string): void;
|
|
143
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
144
|
-
setLocation(location: LabelFieldLocation): void;
|
|
145
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
146
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
147
|
-
}
|
|
148
|
-
interface ExpiryDateText_statics {
|
|
149
|
-
create(name: string): ExpiryDateText;
|
|
150
|
-
}
|
|
151
|
-
interface PackingDateText {
|
|
152
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
153
|
-
setLabelDateFormat(format: LabelDateFormat): void;
|
|
154
|
-
getLabelDateFormat(): LabelDateFormat | undefined;
|
|
155
|
-
resetDataTypePatterns(): void;
|
|
156
|
-
/** inherited from label_field_definition */
|
|
157
|
-
getName(): string;
|
|
158
|
-
isOptional(): boolean;
|
|
159
|
-
setOptional(optional: boolean): void;
|
|
160
|
-
getPatterns(): Array<string>;
|
|
161
|
-
setPatterns(patterns: Array<string>): void;
|
|
162
|
-
getHiddenProperties(): string;
|
|
163
|
-
setHiddenProperties(jsonString: string): void;
|
|
164
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
165
|
-
setLocation(location: LabelFieldLocation): void;
|
|
166
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
167
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
168
|
-
}
|
|
169
|
-
interface PackingDateText_statics {
|
|
170
|
-
create(name: string): PackingDateText;
|
|
171
|
-
}
|
|
172
|
-
interface TotalPriceText {
|
|
173
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
174
|
-
/** inherited from label_field_definition */
|
|
175
|
-
getName(): string;
|
|
176
|
-
isOptional(): boolean;
|
|
177
|
-
setOptional(optional: boolean): void;
|
|
178
|
-
getPatterns(): Array<string>;
|
|
179
|
-
setPatterns(patterns: Array<string>): void;
|
|
180
|
-
getHiddenProperties(): string;
|
|
181
|
-
setHiddenProperties(jsonString: string): void;
|
|
182
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
183
|
-
setLocation(location: LabelFieldLocation): void;
|
|
184
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
185
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
186
|
-
resetDataTypePatterns(): void;
|
|
187
|
-
}
|
|
188
|
-
interface TotalPriceText_statics {
|
|
189
|
-
create(name: string): TotalPriceText;
|
|
190
|
-
}
|
|
191
|
-
interface UnitPriceText {
|
|
192
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
193
|
-
/** inherited from label_field_definition */
|
|
194
|
-
getName(): string;
|
|
195
|
-
isOptional(): boolean;
|
|
196
|
-
setOptional(optional: boolean): void;
|
|
197
|
-
getPatterns(): Array<string>;
|
|
198
|
-
setPatterns(patterns: Array<string>): void;
|
|
199
|
-
getHiddenProperties(): string;
|
|
200
|
-
setHiddenProperties(jsonString: string): void;
|
|
201
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
202
|
-
setLocation(location: LabelFieldLocation): void;
|
|
203
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
204
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
205
|
-
resetDataTypePatterns(): void;
|
|
206
|
-
}
|
|
207
|
-
interface UnitPriceText_statics {
|
|
208
|
-
create(name: string): UnitPriceText;
|
|
209
|
-
}
|
|
210
|
-
interface WeightText {
|
|
211
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
212
|
-
/** inherited from label_field_definition */
|
|
213
|
-
getName(): string;
|
|
214
|
-
isOptional(): boolean;
|
|
215
|
-
setOptional(optional: boolean): void;
|
|
216
|
-
getPatterns(): Array<string>;
|
|
217
|
-
setPatterns(patterns: Array<string>): void;
|
|
218
|
-
getHiddenProperties(): string;
|
|
219
|
-
setHiddenProperties(jsonString: string): void;
|
|
220
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
221
|
-
setLocation(location: LabelFieldLocation): void;
|
|
222
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
223
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
224
|
-
resetDataTypePatterns(): void;
|
|
225
|
-
}
|
|
226
|
-
interface WeightText_statics {
|
|
227
|
-
create(name: string): WeightText;
|
|
228
|
-
}
|
|
229
|
-
interface CustomText {
|
|
230
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
231
|
-
/** inherited from label_field_definition */
|
|
232
|
-
getName(): string;
|
|
233
|
-
isOptional(): boolean;
|
|
234
|
-
setOptional(optional: boolean): void;
|
|
235
|
-
getPatterns(): Array<string>;
|
|
236
|
-
setPatterns(patterns: Array<string>): void;
|
|
237
|
-
getHiddenProperties(): string;
|
|
238
|
-
setHiddenProperties(jsonString: string): void;
|
|
239
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
240
|
-
setLocation(location: LabelFieldLocation): void;
|
|
241
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
242
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
243
|
-
resetDataTypePatterns(): void;
|
|
244
|
-
}
|
|
245
|
-
interface CustomText_statics {
|
|
246
|
-
create(name: string): CustomText;
|
|
247
|
-
}
|
|
248
|
-
interface BarcodeField {
|
|
249
|
-
getSymbologies(): Array<SymbologySettings>;
|
|
250
|
-
setSymbologies(symbologies: Array<SymbologySettings>): void;
|
|
251
|
-
/** inherited from label_field_definition */
|
|
252
|
-
getName(): string;
|
|
253
|
-
isOptional(): boolean;
|
|
254
|
-
setOptional(optional: boolean): void;
|
|
255
|
-
getPatterns(): Array<string>;
|
|
256
|
-
setPatterns(patterns: Array<string>): void;
|
|
257
|
-
getHiddenProperties(): string;
|
|
258
|
-
setHiddenProperties(jsonString: string): void;
|
|
259
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
260
|
-
setLocation(location: LabelFieldLocation): void;
|
|
261
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
262
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
263
|
-
}
|
|
264
|
-
interface BarcodeField_statics {
|
|
265
|
-
defaultSymbologies(symbologies: Array<Symbology>): Array<SymbologySettings>;
|
|
266
|
-
}
|
|
267
|
-
interface ImeiOneBarcode {
|
|
268
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
269
|
-
/** inherited from label_field_definition */
|
|
270
|
-
getName(): string;
|
|
271
|
-
isOptional(): boolean;
|
|
272
|
-
setOptional(optional: boolean): void;
|
|
273
|
-
getPatterns(): Array<string>;
|
|
274
|
-
setPatterns(patterns: Array<string>): void;
|
|
275
|
-
getHiddenProperties(): string;
|
|
276
|
-
setHiddenProperties(jsonString: string): void;
|
|
277
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
278
|
-
setLocation(location: LabelFieldLocation): void;
|
|
279
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
280
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
281
|
-
/** inherited from barcode_field */
|
|
282
|
-
getSymbologies(): Array<SymbologySettings>;
|
|
283
|
-
setSymbologies(symbologies: Array<SymbologySettings>): void;
|
|
284
|
-
}
|
|
285
|
-
interface ImeiOneBarcode_statics {
|
|
286
|
-
create(name: string): ImeiOneBarcode;
|
|
287
|
-
}
|
|
288
|
-
interface ImeiTwoBarcode {
|
|
289
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
290
|
-
/** inherited from label_field_definition */
|
|
291
|
-
getName(): string;
|
|
292
|
-
isOptional(): boolean;
|
|
293
|
-
setOptional(optional: boolean): void;
|
|
294
|
-
getPatterns(): Array<string>;
|
|
295
|
-
setPatterns(patterns: Array<string>): void;
|
|
296
|
-
getHiddenProperties(): string;
|
|
297
|
-
setHiddenProperties(jsonString: string): void;
|
|
298
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
299
|
-
setLocation(location: LabelFieldLocation): void;
|
|
300
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
301
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
302
|
-
/** inherited from barcode_field */
|
|
303
|
-
getSymbologies(): Array<SymbologySettings>;
|
|
304
|
-
setSymbologies(symbologies: Array<SymbologySettings>): void;
|
|
305
|
-
}
|
|
306
|
-
interface ImeiTwoBarcode_statics {
|
|
307
|
-
create(name: string): ImeiTwoBarcode;
|
|
308
|
-
}
|
|
309
|
-
interface PartNumberBarcode {
|
|
310
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
311
|
-
/** inherited from label_field_definition */
|
|
312
|
-
getName(): string;
|
|
313
|
-
isOptional(): boolean;
|
|
314
|
-
setOptional(optional: boolean): void;
|
|
315
|
-
getPatterns(): Array<string>;
|
|
316
|
-
setPatterns(patterns: Array<string>): void;
|
|
317
|
-
getHiddenProperties(): string;
|
|
318
|
-
setHiddenProperties(jsonString: string): void;
|
|
319
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
320
|
-
setLocation(location: LabelFieldLocation): void;
|
|
321
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
322
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
323
|
-
/** inherited from barcode_field */
|
|
324
|
-
getSymbologies(): Array<SymbologySettings>;
|
|
325
|
-
setSymbologies(symbologies: Array<SymbologySettings>): void;
|
|
326
|
-
}
|
|
327
|
-
interface PartNumberBarcode_statics {
|
|
328
|
-
create(name: string): PartNumberBarcode;
|
|
329
|
-
}
|
|
330
|
-
interface SerialNumberBarcode {
|
|
331
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
332
|
-
/** inherited from label_field_definition */
|
|
333
|
-
getName(): string;
|
|
334
|
-
isOptional(): boolean;
|
|
335
|
-
setOptional(optional: boolean): void;
|
|
336
|
-
getPatterns(): Array<string>;
|
|
337
|
-
setPatterns(patterns: Array<string>): void;
|
|
338
|
-
getHiddenProperties(): string;
|
|
339
|
-
setHiddenProperties(jsonString: string): void;
|
|
340
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
341
|
-
setLocation(location: LabelFieldLocation): void;
|
|
342
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
343
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
344
|
-
/** inherited from barcode_field */
|
|
345
|
-
getSymbologies(): Array<SymbologySettings>;
|
|
346
|
-
setSymbologies(symbologies: Array<SymbologySettings>): void;
|
|
347
|
-
}
|
|
348
|
-
interface SerialNumberBarcode_statics {
|
|
349
|
-
create(name: string): SerialNumberBarcode;
|
|
350
|
-
}
|
|
351
|
-
interface CustomBarcode {
|
|
352
|
-
asLabelFieldDefinition(): LabelFieldDefinition;
|
|
353
|
-
/** inherited from label_field_definition */
|
|
354
|
-
getName(): string;
|
|
355
|
-
isOptional(): boolean;
|
|
356
|
-
setOptional(optional: boolean): void;
|
|
357
|
-
getPatterns(): Array<string>;
|
|
358
|
-
setPatterns(patterns: Array<string>): void;
|
|
359
|
-
getHiddenProperties(): string;
|
|
360
|
-
setHiddenProperties(jsonString: string): void;
|
|
361
|
-
getLocation(): LabelFieldLocation | undefined;
|
|
362
|
-
setLocation(location: LabelFieldLocation): void;
|
|
363
|
-
getDataTypePatterns(): Array<string> | undefined;
|
|
364
|
-
setDataTypePatterns(dataTypePatterns: Array<string>): void;
|
|
365
|
-
/** inherited from barcode_field */
|
|
366
|
-
getSymbologies(): Array<SymbologySettings>;
|
|
367
|
-
setSymbologies(symbologies: Array<SymbologySettings>): void;
|
|
368
|
-
}
|
|
369
|
-
interface CustomBarcode_statics {
|
|
370
|
-
create(name: string, symbologies: Array<SymbologySettings>): CustomBarcode;
|
|
371
|
-
}
|
|
372
|
-
interface LabelFieldLocation {
|
|
373
|
-
getLabelFieldLocationType(): LabelFieldLocationType | undefined;
|
|
374
|
-
getRect(): Rect | undefined;
|
|
375
|
-
}
|
|
376
|
-
interface LabelFieldLocation_statics {
|
|
377
|
-
createWithType(locationType: LabelFieldLocationType): LabelFieldLocation;
|
|
378
|
-
createWithRect(rect: Rect): LabelFieldLocation;
|
|
379
|
-
}
|
|
380
|
-
interface ReceiptScanningListener {
|
|
381
|
-
onProcessingStarted(): void;
|
|
382
|
-
onReceiptScanned(result: ReceiptScanningResult): void;
|
|
383
|
-
onReceiptScanningFailed(): void;
|
|
384
|
-
}
|
|
385
|
-
interface ReceiptScanningHandler {
|
|
386
|
-
startFlow(): void;
|
|
387
|
-
finishFlow(): void;
|
|
388
|
-
addListener(listener: ReceiptScanningListener): void;
|
|
389
|
-
removeListener(listener: ReceiptScanningListener): void;
|
|
390
|
-
}
|
|
391
|
-
declare enum ValidationFlowState {
|
|
392
|
-
IDLE = 0,
|
|
393
|
-
IN_PARTIAL_SCAN = 1,
|
|
394
|
-
IN_COMPLETE_SCAN = 2,
|
|
395
|
-
PAUSED = 3,
|
|
396
|
-
FINISHED = 4
|
|
397
|
-
}
|
|
398
|
-
interface ValidationFlowField {
|
|
399
|
-
getLabelField(): LabelField;
|
|
400
|
-
isValid(): boolean;
|
|
401
|
-
}
|
|
402
|
-
interface ValidationFlowListener {
|
|
403
|
-
onFieldsScanned(fields: Array<ValidationFlowField>): void;
|
|
404
|
-
onScanTimeout(): void;
|
|
405
|
-
onLabelIsMissingRequiredField(fields: Array<ValidationFlowField>): void;
|
|
406
|
-
onManualInput(field: ValidationFlowField, oldValue: string | undefined, newValue: string): void;
|
|
407
|
-
onStateChanged(state: ValidationFlowState): void;
|
|
408
|
-
onCloudBackupServiceStarted(): void;
|
|
409
|
-
onCloudBackupServiceStopped(): void;
|
|
410
|
-
}
|
|
411
|
-
interface ValidationFlowHandler {
|
|
412
|
-
startCompleteLabelScan(labelName: string): void;
|
|
413
|
-
startPartialLabelScan(fieldNames: Array<string>): void;
|
|
414
|
-
updateFieldValue(fieldName: string, value: string): boolean;
|
|
415
|
-
finishFlow(): ResultOrError<Array<ValidationFlowField>, string>;
|
|
416
|
-
clearAllFields(): void;
|
|
417
|
-
validationFlowFields(): Array<ValidationFlowField>;
|
|
418
|
-
pauseScan(): void;
|
|
419
|
-
resumeScan(): void;
|
|
420
|
-
cancelCloudBackupTaskForField(fieldName: string): void;
|
|
421
|
-
uncancelCloudBackupTaskForField(fieldName: string): void;
|
|
422
|
-
addListener(listener: ValidationFlowListener): void;
|
|
423
|
-
removeListener(listener: ValidationFlowListener): void;
|
|
424
|
-
}
|
|
425
|
-
interface SdcLabelInternalModuleCapture_statics {
|
|
426
|
-
LabelCapture: LabelCapture_statics;
|
|
427
|
-
LabelCaptureHelper: LabelCaptureHelper_statics;
|
|
428
|
-
LabelCaptureSettings: LabelCaptureSettings_statics;
|
|
429
|
-
LabelDefinition: LabelDefinition_statics;
|
|
430
|
-
DateText: DateText_statics;
|
|
431
|
-
ExpiryDateText: ExpiryDateText_statics;
|
|
432
|
-
PackingDateText: PackingDateText_statics;
|
|
433
|
-
TotalPriceText: TotalPriceText_statics;
|
|
434
|
-
UnitPriceText: UnitPriceText_statics;
|
|
435
|
-
WeightText: WeightText_statics;
|
|
436
|
-
CustomText: CustomText_statics;
|
|
437
|
-
BarcodeField: BarcodeField_statics;
|
|
438
|
-
ImeiOneBarcode: ImeiOneBarcode_statics;
|
|
439
|
-
ImeiTwoBarcode: ImeiTwoBarcode_statics;
|
|
440
|
-
PartNumberBarcode: PartNumberBarcode_statics;
|
|
441
|
-
SerialNumberBarcode: SerialNumberBarcode_statics;
|
|
442
|
-
CustomBarcode: CustomBarcode_statics;
|
|
443
|
-
LabelFieldLocation: LabelFieldLocation_statics;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export { type BarcodeField, type BarcodeField_statics, type CustomBarcode, type CustomBarcode_statics, type CustomText, type CustomText_statics, type DateText, type DateText_statics, type ExpiryDateText, type ExpiryDateText_statics, type ImeiOneBarcode, type ImeiOneBarcode_statics, type ImeiTwoBarcode, type ImeiTwoBarcode_statics, type LabelCapture, type LabelCaptureHelper, type LabelCaptureHelper_statics, type LabelCaptureListener, type LabelCaptureSession, type LabelCaptureSettings, type LabelCaptureSettings_statics, type LabelCapture_statics, type LabelDateFormat, type LabelDefinition, type LabelDefinition_statics, type LabelFieldDefinition, type LabelFieldLocation, type LabelFieldLocation_statics, type PackingDateText, type PackingDateText_statics, type PartNumberBarcode, type PartNumberBarcode_statics, type ReceiptScanningHandler, type ReceiptScanningListener, type SdcLabelInternalModuleCapture_statics, type SerialNumberBarcode, type SerialNumberBarcode_statics, type TextField, type TotalPriceText, type TotalPriceText_statics, type UnitPriceText, type UnitPriceText_statics, type ValidationFlowField, type ValidationFlowHandler, type ValidationFlowListener, ValidationFlowState, type WeightText, type WeightText_statics };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ValidationFlowState}from'../chunks/chunk-
|
|
1
|
+
export{a as LabelResultUpdateType,b as ValidationFlowState}from'../chunks/chunk-KFIB6ALQ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataCaptureView } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
2
|
-
import { LabelCapture } from '
|
|
2
|
+
import { L as LabelCapture } from '../sdcLabelInternalModuleCapture-wUz3FjZK.js';
|
|
3
3
|
import { Viewfinder } from './sdcCoreInternalSdkUiViewfinder.js';
|
|
4
4
|
import { FeatureAvailability } from './sdcCoreInternalSdkCapture.js';
|
|
5
5
|
import { LabelFieldState } from './sdcLabelData.js';
|
|
@@ -12,12 +12,11 @@ import './sdcCoreInternalSdkCommonGeometry.js';
|
|
|
12
12
|
import './sdcCoreCommonGraphic.js';
|
|
13
13
|
import './sdcCoreCommonGeometry.js';
|
|
14
14
|
import './sdcCoreInternalSdkCommonAsync.js';
|
|
15
|
-
import '../ResultOrError-wVDzYSuC.js';
|
|
16
15
|
import './sdcCoreInternalSdkOcr.js';
|
|
17
16
|
import './sdcCoreCommon.js';
|
|
17
|
+
import './sdcCoreInternalSdkCommonGraphics.js';
|
|
18
18
|
import './sdcBarcodeInternalSdkData.js';
|
|
19
19
|
import './sdcCoreCommonBuffer.js';
|
|
20
|
-
import './sdcCoreInternalSdkCommonGraphics.js';
|
|
21
20
|
|
|
22
21
|
interface LabelCaptureBasicOverlayListener {
|
|
23
22
|
brushForField(overlay: LabelCaptureBasicOverlay, field: LabelField, label: CapturedLabel): Brush | undefined;
|
package/build/js/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export { ImeiOneBarcode } from './api/ImeiOneBarcode.js';
|
|
|
13
13
|
export { ImeiOneBarcodeBuilder } from './api/ImeiOneBarcodeBuilder.js';
|
|
14
14
|
export { ImeiTwoBarcode } from './api/ImeiTwoBarcode.js';
|
|
15
15
|
export { ImeiTwoBarcodeBuilder } from './api/ImeiTwoBarcodeBuilder.js';
|
|
16
|
-
export { L as LabelCapture, a as LabelCaptureListener } from './LabelCapture-
|
|
17
|
-
export { L as LabelCaptureBasicOverlay, a as LabelCaptureBasicOverlayListener } from './LabelCaptureBasicOverlay-
|
|
16
|
+
export { L as LabelCapture, a as LabelCaptureListener } from './LabelCapture-DrHOFOh1.js';
|
|
17
|
+
export { L as LabelCaptureBasicOverlay, a as LabelCaptureBasicOverlayListener } from './LabelCaptureBasicOverlay-C3OSXO1g.js';
|
|
18
18
|
export { LabelCaptureFeedback, LabelCaptureFeedbackJSON } from './api/LabelCaptureFeedback.js';
|
|
19
19
|
export { LabelCaptureSession, LabelCaptureSessionJSON } from './api/LabelCaptureSession.js';
|
|
20
20
|
export { LabelCaptureSettings, LabelCaptureSettingsBuilder } from './api/LabelCaptureSettings.js';
|
|
@@ -42,12 +42,12 @@ export { UnitPriceText } from './api/UnitPriceText.js';
|
|
|
42
42
|
export { UnitPriceTextBuilder } from './api/UnitPriceTextBuilder.js';
|
|
43
43
|
export { WeightText } from './api/WeightText.js';
|
|
44
44
|
export { WeightTextBuilder } from './api/WeightTextBuilder.js';
|
|
45
|
-
export { L as LabelCaptureAdvancedOverlay, a as LabelCaptureAdvancedOverlayListener } from './LabelCaptureAdvancedOverlay-
|
|
45
|
+
export { L as LabelCaptureAdvancedOverlay, a as LabelCaptureAdvancedOverlayListener } from './LabelCaptureAdvancedOverlay-Dq97psgW.js';
|
|
46
46
|
export { labelCaptureLoader } from './moduleLoader.js';
|
|
47
|
-
export { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON } from './api/LabelCaptureValidationFlowOverlay.js';
|
|
47
|
+
export { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON } from './api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js';
|
|
48
48
|
export { LabelCaptureValidationFlowSettings } from './api/LabelCaptureValidationFlowSettings.js';
|
|
49
49
|
export { ReceiptScanningLineItem, ReceiptScanningLineItemJSON } from './api/ReceiptScanningLineItem.js';
|
|
50
|
-
export { b as AdaptiveRecognitionResult, A as AdaptiveRecognitionResultType, L as LabelCaptureAdaptiveRecognitionSettings, a as ReceiptScanningResult, R as ReceiptScanningResultJSON, c as ReceiptScanningSettingsJSON } from './NativeProxy-
|
|
50
|
+
export { b as AdaptiveRecognitionResult, A as AdaptiveRecognitionResultType, L as LabelCaptureAdaptiveRecognitionSettings, a as ReceiptScanningResult, R as ReceiptScanningResultJSON, c as ReceiptScanningSettingsJSON } from './NativeProxy-CYZsx-_W.js';
|
|
51
51
|
export { LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, LabelCaptureAdaptiveRecognitionOverlayJSON } from './api/LabelCaptureAdaptiveRecognitionOverlay.js';
|
|
52
52
|
import '@scandit/web-datacapture-barcode';
|
|
53
53
|
import '@scandit/web-datacapture-core';
|
|
@@ -63,13 +63,12 @@ import './djinni-types/sdcBarcodeInternalSdkData.js';
|
|
|
63
63
|
import './djinni-types/sdcBarcodeData.js';
|
|
64
64
|
import './djinni-types/sdcCoreCommonGeometry.js';
|
|
65
65
|
import './djinni-types/sdcCoreCommonBuffer.js';
|
|
66
|
-
import './
|
|
66
|
+
import './sdcLabelInternalModuleCapture-wUz3FjZK.js';
|
|
67
67
|
import './djinni-types/sdcSymbologySettings.js';
|
|
68
68
|
import './djinni-types/sdcCoreInternalSdkArea.js';
|
|
69
69
|
import './djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
70
70
|
import './djinni-types/sdcCoreCommonGraphic.js';
|
|
71
71
|
import './djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
72
|
-
import './ResultOrError-wVDzYSuC.js';
|
|
73
72
|
import './djinni-types/sdcCoreInternalSdkOcr.js';
|
|
74
73
|
import './djinni-types/sdcCoreCommon.js';
|
|
75
74
|
import './djinni-types/sdcLabelInternalModuleData.js';
|
package/build/js/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as
|
|
1
|
+
export{a as LabelCaptureValidationFlowOverlay}from'./chunks/chunk-VEAIPJDT.js';export{a as WeightTextBuilder}from'./chunks/chunk-YH6BNOYC.js';export{a as WeightText}from'./chunks/chunk-N4GW7RGB.js';export{a as SerialNumberBarcodeBuilder}from'./chunks/chunk-5CNHCL7M.js';export{a as TotalPriceTextBuilder}from'./chunks/chunk-NAWWKVI5.js';export{a as TotalPriceText}from'./chunks/chunk-JF7J7XP2.js';export{a as UnitPriceTextBuilder}from'./chunks/chunk-PBTK3XKJ.js';export{a as UnitPriceText}from'./chunks/chunk-VDVJDXZY.js';export{a as PartNumberBarcodeBuilder}from'./chunks/chunk-RMO2SLDR.js';export{a as PartNumberBarcode}from'./chunks/chunk-7M5DXL6F.js';export{a as SerialNumberBarcode}from'./chunks/chunk-UDGNT475.js';export{a as LabelFieldLocation}from'./chunks/chunk-BGVFXDGB.js';export{a as PackingDateTextBuilder}from'./chunks/chunk-CP4Y6VIT.js';export{a as PackingDateText}from'./chunks/chunk-4IN2HVLU.js';export{a as LabelCaptureValidationFlowSettings}from'./chunks/chunk-CS7EEHHH.js';export{a as LabelDefinition,b as LabelDefinitionBuilder}from'./chunks/chunk-XKSRWFDE.js';export{a as LabelCaptureBasicOverlay}from'./chunks/chunk-XQBJ3GXA.js';export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'./chunks/chunk-QRSFFB7W.js';export{a as ImeiOneBarcodeBuilder}from'./chunks/chunk-THXK2CAH.js';export{a as ImeiOneBarcode}from'./chunks/chunk-OHZCXBA4.js';export{a as ImeiTwoBarcodeBuilder}from'./chunks/chunk-ZMEFT4CJ.js';export{a as ImeiTwoBarcode}from'./chunks/chunk-S7PTN3KC.js';export{a as LabelCapture}from'./chunks/chunk-F5UH7T5M.js';export{a as ReceiptScanningResult}from'./chunks/chunk-CUHE565K.js';export{a as ReceiptScanningLineItem}from'./chunks/chunk-D6QEVE6U.js';export{a as LabelCaptureFeedback}from'./chunks/chunk-XETUH5HN.js';export{a as LabelCaptureAdaptiveRecognitionOverlay}from'./chunks/chunk-A537ABTE.js';export{a as LabelCaptureAdvancedOverlay}from'./chunks/chunk-5JGE6TIK.js';export{a as LabelCaptureSession}from'./chunks/chunk-2K4IDUBI.js';export{a as CustomBarcodeBuilder}from'./chunks/chunk-T5PFYQ2F.js';export{a as CustomBarcode}from'./chunks/chunk-N2Q2DERV.js';export{a as CustomTextBuilder}from'./chunks/chunk-4LEONM2D.js';export{a as CustomText}from'./chunks/chunk-K5Y26N6X.js';export{a as DateTextBuilder}from'./chunks/chunk-ZVURFK6X.js';export{a as LabelDateComponentFormat}from'./chunks/chunk-BJSBS5IL.js';export{a as LabelDateFormat}from'./chunks/chunk-BJFWGOUS.js';export{a as DateText}from'./chunks/chunk-DHFJ3EFE.js';export{a as ExpiryDateTextBuilder}from'./chunks/chunk-U77DVACF.js';export{a as TextFieldBuilder}from'./chunks/chunk-AVKEMR5W.js';export{a as ExpiryDateText}from'./chunks/chunk-SQEDHQIB.js';export{a as labelCaptureLoader}from'./chunks/chunk-QBLOKSED.js';export{a as AdaptiveRecognitionMode}from'./chunks/chunk-N7HKYUQ6.js';export{a as AdaptiveRecognitionResult}from'./chunks/chunk-DDYADIOR.js';export{a as AdaptiveRecognitionResultType,b as LabelCaptureAdaptiveRecognitionSettings}from'./chunks/chunk-N2RCJCCU.js';export{a as LabelFieldDefinitionBuilder}from'./chunks/chunk-W4ZKJPWB.js';export{a as CapturedLabel}from'./chunks/chunk-36FUBGEZ.js';export{a as LabelField}from'./chunks/chunk-MQ3C6JQR.js';export{a as LabelFieldState}from'./chunks/chunk-COOCFN2K.js';export{a as LabelFieldType}from'./chunks/chunk-ZU6C4VWO.js';export{a as LabelDateResult}from'./chunks/chunk-D5PIEZCN.js';
|
package/build/js/moduleLoader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as labelCaptureLoader}from'./chunks/chunk-
|
|
1
|
+
export{a as labelCaptureLoader}from'./chunks/chunk-QBLOKSED.js';
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
2
2
|
import { LabelFieldDefinition } from '../api/LabelFieldDefinition.js';
|
|
3
|
-
import { N as NativeProxyHandle } from '../NativeProxy-
|
|
3
|
+
import { N as NativeProxyHandle } from '../NativeProxy-CYZsx-_W.js';
|
|
4
4
|
import '@scandit/web-datacapture-barcode';
|
|
5
5
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
6
6
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
7
7
|
import '../djinni-types/sdcBarcodeData.js';
|
|
8
8
|
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
9
9
|
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
10
|
-
import '../
|
|
10
|
+
import '../sdcLabelInternalModuleCapture-wUz3FjZK.js';
|
|
11
11
|
import '../djinni-types/sdcSymbologySettings.js';
|
|
12
12
|
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
13
13
|
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
14
14
|
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
15
15
|
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
16
|
-
import '../ResultOrError-wVDzYSuC.js';
|
|
17
16
|
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
18
17
|
import '../djinni-types/sdcCoreCommon.js';
|
|
19
18
|
import '../djinni-types/sdcLabelData.js';
|