@scandit/web-datacapture-label 8.5.2 → 8.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/js/{AdaptiveRecognitionResult-Clnk-SP8.d.ts → AdaptiveRecognitionResult-y66P3VQQ.d.ts} +224 -27
- package/build/js/{BarcodeField-CWg5Ve8v.d.ts → BarcodeField-DJn7-z-m.d.ts} +1 -2
- package/build/js/{BarcodeFieldBuilder-CSsj0EXY.d.ts → BarcodeFieldBuilder-C3ORgzp_.d.ts} +3 -4
- package/build/js/{Button-Ou77FlfL.d.ts → Button-BQw0QTaa.d.ts} +3 -2
- package/build/js/{CapturedLabel-PjFfeqht.d.ts → CapturedLabel-CxiHZPCl.d.ts} +1 -2
- package/build/js/Carrier-CjlU3MQ0.d.ts +38 -0
- package/build/js/{CustomBarcode-B9b3T3wr.d.ts → CustomBarcode-CDxDEuLW.d.ts} +2 -3
- package/build/js/{CustomBarcodeBuilder-DdWG8iCR.d.ts → CustomBarcodeBuilder-BbJ6y6wo.d.ts} +3 -4
- package/build/js/{CustomText-Cl2GuEWp.d.ts → CustomText-41Rtf4e7.d.ts} +3 -4
- package/build/js/{CustomTextBuilder-0AbdOASa.d.ts → CustomTextBuilder-Cx446FQo.d.ts} +3 -4
- package/build/js/{DateText-qQtIgcnZ.d.ts → DateText-wfiiLxGb.d.ts} +3 -4
- package/build/js/{DateTextBuilder-D4LModbR.d.ts → DateTextBuilder-hglQSv2l.d.ts} +3 -4
- package/build/js/{ExpiryDateText-DkTHW-n-.d.ts → ExpiryDateText-BtUI1uAf.d.ts} +3 -4
- package/build/js/{ExpiryDateTextBuilder-BGrTAbAB.d.ts → ExpiryDateTextBuilder-CGrQ7Hea.d.ts} +3 -4
- package/build/js/FieldId-BMwA9rgx.d.ts +32 -0
- package/build/js/{ImeiOneBarcode-d4T3iiT8.d.ts → ImeiOneBarcode-dhXCZMVi.d.ts} +1 -2
- package/build/js/{ImeiOneBarcodeBuilder-B9onIT76.d.ts → ImeiOneBarcodeBuilder-Bj3CjnCv.d.ts} +2 -3
- package/build/js/{ImeiTwoBarcode-DhmyWFV3.d.ts → ImeiTwoBarcode-Bm5fuVb-.d.ts} +1 -2
- package/build/js/{ImeiTwoBarcodeBuilder-JChbnrgN.d.ts → ImeiTwoBarcodeBuilder-CugRqyC8.d.ts} +2 -3
- package/build/js/{LabelCapture-BZi-QVCO.d.ts → LabelCapture-BsBYp-Tr.d.ts} +3 -4
- package/build/js/{LabelCaptureAdvancedOverlay-e09i_aoX.d.ts → LabelCaptureAdvancedOverlay-Bpt5QkPC.d.ts} +6 -6
- package/build/js/{LabelCaptureBasicOverlay-BZl1LJkD.d.ts → LabelCaptureBasicOverlay-CF4h_JL9.d.ts} +6 -7
- package/build/js/{LabelCaptureFeedback-Bc-zIaL_.d.ts → LabelCaptureFeedback-sBwE9pgJ.d.ts} +0 -1
- package/build/js/{LabelCaptureOverlayJSON-B6X3-JDh.d.ts → LabelCaptureOverlayJSON-B-Vo-158.d.ts} +1 -2
- package/build/js/{LabelCaptureSession-Dc8YZO9H.d.ts → LabelCaptureSession-lVHLczXv.d.ts} +1 -2
- package/build/js/{LabelCaptureSettings-D4GHiKnt.d.ts → LabelCaptureSettings-076qXEg4.d.ts} +1 -2
- package/build/js/LabelCaptureWorkerManager-AJWX-5XC.js +1 -0
- package/build/js/{LabelDateFormat-C9T5qNMc.d.ts → LabelDateFormat-2KViYUuq.d.ts} +1 -2
- package/build/js/{LabelDefinition-CAZoQj1a.d.ts → LabelDefinition-DEROTlBM.d.ts} +26 -27
- package/build/js/{LabelField-BAO35-Eb.d.ts → LabelField-b2ukZfup.d.ts} +6 -5
- package/build/js/{LabelFieldDefinitionBuilder-rN0LybgZ.d.ts → LabelFieldDefinitionBuilder-D-yf34AO.d.ts} +1 -2
- package/build/js/{LabelFieldLocation-DDqgTh17.d.ts → LabelFieldLocation-eoZD3v4d.d.ts} +0 -1
- package/build/js/{PackingDateText-DH3NkY_K.d.ts → PackingDateText-BxwiZ4HS.d.ts} +3 -4
- package/build/js/{PackingDateTextBuilder-Cay2b3Se.d.ts → PackingDateTextBuilder-CgWv_e2L.d.ts} +3 -4
- package/build/js/{PartNumberBarcode-Dzx1zF4O.d.ts → PartNumberBarcode-D2mysndM.d.ts} +1 -2
- package/build/js/{PartNumberBarcodeBuilder-Bwg9UTcy.d.ts → PartNumberBarcodeBuilder-CU5oArvT.d.ts} +2 -3
- package/build/js/{SerialNumberBarcode-DWBGJVoz.d.ts → SerialNumberBarcode-Ck2AEyxm.d.ts} +1 -2
- package/build/js/{SerialNumberBarcodeBuilder-oSUDdRsf.d.ts → SerialNumberBarcodeBuilder-BZRf4Jyp.d.ts} +2 -3
- package/build/js/{TextField-CTCb88lU.d.ts → TextField-B5ize0NE.d.ts} +1 -2
- package/build/js/{TextFieldBuilder-biW0vkn0.d.ts → TextFieldBuilder-CaffaBBH.d.ts} +1 -2
- package/build/js/{TotalPriceText-BydB0NCL.d.ts → TotalPriceText-CiOJFnt4.d.ts} +2 -3
- package/build/js/{TotalPriceTextBuilder-B8MK5Xjy.d.ts → TotalPriceTextBuilder-CDwYNGhA.d.ts} +2 -3
- package/build/js/{UnitPriceText-C7EwC-Go.d.ts → UnitPriceText-DMdoMIGG.d.ts} +2 -3
- package/build/js/{UnitPriceTextBuilder-Bc7dIZF4.d.ts → UnitPriceTextBuilder-B7fFpVja.d.ts} +2 -3
- package/build/js/{ValidationFlowField-DL7FdqPM.d.ts → ValidationFlowField-B8BG6AoW.d.ts} +1 -2
- package/build/js/{WeightText-DrWQ9nBI.d.ts → WeightText-xC0IyyPL.d.ts} +2 -3
- package/build/js/{WeightTextBuilder-BzG1seYF.d.ts → WeightTextBuilder-Bm1dmTp5.d.ts} +2 -3
- package/build/js/api/AdaptiveRecognitionMode.d.ts +1 -1
- package/build/js/api/AdaptiveRecognitionResult.d.ts +1 -1
- package/build/js/api/BarcodeField.d.ts +1 -1
- package/build/js/api/BarcodeFieldBuilder.d.ts +1 -1
- package/build/js/api/BarcodeFieldBuilder.js +1 -1
- package/build/js/api/CapturedLabel.d.ts +1 -1
- package/build/js/api/Carrier.d.ts +2 -0
- package/build/js/api/Carrier.js +1 -0
- package/build/js/api/CustomBarcode.d.ts +1 -1
- package/build/js/api/CustomBarcodeBuilder.d.ts +1 -1
- package/build/js/api/CustomText.d.ts +1 -1
- package/build/js/api/CustomTextBuilder.d.ts +1 -1
- package/build/js/api/DateText.d.ts +1 -1
- package/build/js/api/DateTextBuilder.d.ts +1 -1
- package/build/js/api/ExpiryDateText.d.ts +1 -1
- package/build/js/api/ExpiryDateTextBuilder.d.ts +1 -1
- package/build/js/api/ImeiOneBarcode.d.ts +1 -1
- package/build/js/api/ImeiOneBarcodeBuilder.d.ts +1 -1
- package/build/js/api/ImeiTwoBarcode.d.ts +1 -1
- package/build/js/api/ImeiTwoBarcodeBuilder.d.ts +1 -1
- package/build/js/api/LabelCapture.d.ts +1 -1
- package/build/js/api/LabelCapture.js +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts +5 -5
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.js +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.d.ts +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.js +1 -1
- package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +1 -1
- package/build/js/api/LabelCaptureAdvancedOverlay.js +1 -1
- package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +1 -1
- package/build/js/api/LabelCaptureBasicOverlay.d.ts +1 -1
- package/build/js/api/LabelCaptureBasicOverlay.js +1 -1
- package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +1 -1
- package/build/js/api/LabelCaptureFeedback.d.ts +1 -1
- package/build/js/api/LabelCaptureListener.d.ts +1 -1
- package/build/js/api/LabelCaptureOverlayJSON.d.ts +1 -1
- package/build/js/api/LabelCaptureSession.d.ts +1 -1
- package/build/js/api/LabelCaptureSettings.d.ts +1 -1
- package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts +3 -4
- package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/private/FieldId.d.ts +2 -0
- package/build/js/api/LabelCaptureValidationFlow/private/FieldId.js +1 -0
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.d.ts +4 -5
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.d.ts +14 -23
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.d.ts +2 -2
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.js +1 -1
- package/build/js/api/LabelCaptureValidationFlowFeedback.d.ts +0 -1
- package/build/js/api/LabelCaptureValidationFlowSettings.d.ts +0 -1
- package/build/js/api/LabelCaptureValidationFlowSettings.js +1 -1
- package/build/js/api/LabelDateComponentFormat.d.ts +1 -1
- package/build/js/api/LabelDateComponentFormat.js +1 -1
- package/build/js/api/LabelDateFormat.d.ts +1 -1
- package/build/js/api/LabelDateResult.d.ts +1 -1
- package/build/js/api/LabelDefinition.d.ts +1 -1
- package/build/js/api/LabelField.d.ts +1 -1
- package/build/js/api/LabelField.js +1 -1
- package/build/js/api/LabelFieldDefinition.d.ts +1 -1
- package/build/js/api/LabelFieldDefinitionBuilder.d.ts +1 -1
- package/build/js/api/LabelFieldLocation.d.ts +1 -1
- package/build/js/api/LabelFieldLocation.js +1 -1
- package/build/js/api/LabelFieldLocationType.js +1 -1
- package/build/js/api/LabelFieldState.d.ts +1 -1
- package/build/js/api/LabelFieldState.js +1 -1
- package/build/js/api/LabelFieldType.d.ts +1 -1
- package/build/js/api/LabelFieldType.js +1 -1
- package/build/js/api/LabelFieldValueType.d.ts +1 -1
- package/build/js/api/LabelFieldValueType.js +1 -1
- package/build/js/api/LabelResultUpdateType.js +1 -1
- package/build/js/api/PackingDateText.d.ts +1 -1
- package/build/js/api/PackingDateTextBuilder.d.ts +1 -1
- package/build/js/api/PartNumberBarcode.d.ts +1 -1
- package/build/js/api/PartNumberBarcodeBuilder.d.ts +1 -1
- package/build/js/api/PrivateReceiptScanningHandler.d.ts +6 -3
- package/build/js/api/PrivateReceiptScanningHandler.js +1 -1
- package/build/js/api/PrivateReceiptScanningListener.d.ts +12 -4
- package/build/js/api/PrivateValidationFlowHandler.d.ts +5 -6
- package/build/js/api/PrivateValidationFlowHandler.js +1 -1
- package/build/js/api/ReceiptScanningLineItem.d.ts +1 -1
- package/build/js/api/ReceiptScanningResult.d.ts +1 -1
- package/build/js/api/SerialNumberBarcode.d.ts +1 -1
- package/build/js/api/SerialNumberBarcodeBuilder.d.ts +1 -1
- package/build/js/api/ShippingLabelScanningResult.d.ts +2 -0
- package/build/js/api/ShippingLabelScanningResult.js +1 -0
- package/build/js/api/TextField.d.ts +1 -1
- package/build/js/api/TextFieldBuilder.d.ts +1 -1
- package/build/js/api/TotalPriceText.d.ts +1 -1
- package/build/js/api/TotalPriceTextBuilder.d.ts +1 -1
- package/build/js/api/UnitPriceText.d.ts +1 -1
- package/build/js/api/UnitPriceTextBuilder.d.ts +1 -1
- package/build/js/api/ValidationFlowField.d.ts +1 -1
- package/build/js/api/ValidationFlowField.js +1 -1
- package/build/js/api/WeightText.d.ts +1 -1
- package/build/js/api/WeightTextBuilder.d.ts +1 -1
- package/build/js/{dataCaptureEngine-CqE4l_uy.d.ts → dataCaptureEngine-Qn62h3C8.d.ts} +1 -2
- package/build/js/global.d.ts +5 -3
- package/build/js/index.d.ts +49 -48
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.d.ts +0 -1
- package/build/js/moduleLoader.js +1 -1
- package/build/js/{nativeCall-q32Awp0L.d.ts → nativeCall-BACigfoX.d.ts} +2 -3
- package/build/js/private/PrivateLabelFieldDefinition.d.ts +2 -3
- package/build/js/private/PrivateRectangularLocationSelectionJSON.d.ts +0 -1
- package/build/js/private/adaptiveRecognitionModeTranslator.d.ts +2 -3
- package/build/js/private/adaptiveRecognitionModeTranslator.js +1 -1
- package/build/js/private/brushTranslator.d.ts +2 -3
- package/build/js/private/carrierTranslator.d.ts +6 -0
- package/build/js/private/carrierTranslator.js +1 -0
- package/build/js/private/createProxiedViewFinder.d.ts +1 -2
- package/build/js/private/fromWrappedFutureToPromise.d.ts +1 -2
- package/build/js/private/labelFieldLocationTypeTranslator.d.ts +1 -2
- package/build/js/private/labelFieldLocationTypeTranslator.js +1 -1
- package/build/js/private/measureTranslator.d.ts +1 -2
- package/build/js/private/measureTranslator.js +1 -1
- package/build/js/private/numberTranslator.d.ts +1 -2
- package/build/js/private/numberTranslator.js +1 -1
- package/build/js/private/resultTypeTranslator.d.ts +6 -0
- package/build/js/private/resultTypeTranslator.js +1 -0
- package/build/js/private/scrollIntoView/compute.d.ts +1 -1
- package/build/js/private/scrollIntoView/index.d.ts +0 -1
- package/build/js/private/scrollIntoView/index.js +1 -1
- package/build/js/private/symbologiesTranslator.d.ts +1 -2
- package/build/js/private/symbologiesTranslator.js +1 -1
- package/build/js/private/viewfinderTranslator.d.ts +1 -2
- package/build/js/private/viewfinderTranslator.js +1 -1
- package/build/js/{sdcBarcodeData-DOuUPRUb.d.ts → sdcBarcodeData-CXuQyyJf.d.ts} +2 -3
- package/build/js/{sdcCoreCommonGeometry-Bxvlllkc.d.ts → sdcCoreCommonGeometry-CS1rDunH.d.ts} +2 -13
- package/build/js/{sdcCoreInternalSdkCommonAsync-8G3-3n53.d.ts → sdcCoreInternalSdkCommonAsync-DNIa_gEu.d.ts} +2 -3
- package/build/js/sdcCoreInternalSdkCommonGeometry-DfRpk9ff.d.ts +41 -0
- package/build/js/sdcCoreInternalSdkCommonGraphics-Br9oizuP.d.ts +9 -0
- package/build/js/sdcCoreInternalSdkUiStyle-DrsrRbqR.d.ts +9 -0
- package/build/js/{sdcCoreInternalSdkUiViewfinder-BoG0LyRj.d.ts → sdcCoreInternalSdkUiViewfinder-CS6t26-R.d.ts} +5 -18
- package/build/js/{sdcLabelData-CHLquvuG.d.ts → sdcLabelData-BitL7YVQ.d.ts} +2 -3
- package/build/js/{sdcLabelInternalModuleCapture-B6-1Wjzn.d.ts → sdcLabelInternalModuleCapture-LDFRDPMF.d.ts} +165 -54
- package/build/js/sdcLabelInternalModuleData-sZpfq0Gd.d.ts +149 -0
- package/build/js/symbologiesTranslator-kd0DbiBX.js +1 -0
- package/build/js/ui/atoms/AdaptiveRecognitionOverlay.d.ts +0 -1
- package/build/js/ui/atoms/Button.d.ts +1 -1
- package/build/js/ui/atoms/Button.js +1 -1
- package/build/js/ui/atoms/TextInput.d.ts +0 -1
- package/build/js/ui/atoms/TextInput.js +1 -1
- package/build/js/ui/controllers/KeyboardVisibilityController.d.ts +0 -1
- package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.d.ts +3 -3
- package/build/js/umd/index.js +1 -0
- package/build/js/viewfinderTranslator-C6Uufw4a.js +1 -0
- package/build/js/vite-env.d.ts +1 -1
- package/build/js/worker/LabelCaptureWorkerManager.d.ts +2 -3
- package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
- package/build/js/worker/NativeImplementationRegistry.d.ts +1 -2
- package/build/js/worker/WorkerMain.d.ts +4 -5
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/WorkerRegistry.d.ts +0 -1
- package/build/js/worker/dataCaptureEngine.d.ts +1 -1
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -2
- package/build/js/worker/handlers/{ReceiptScanningHandler.d.ts → AdaptiveRecognitionHandler.d.ts} +5 -6
- package/build/js/worker/handlers/AdaptiveRecognitionHandler.js +1 -0
- package/build/js/worker/handlers/FieldBuilderHandler.d.ts +1 -2
- package/build/js/worker/handlers/FieldBuilderHandler.js +1 -1
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.d.ts +6 -4
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.js +1 -1
- package/build/js/worker/handlers/SettingsHandler.d.ts +1 -2
- package/build/js/worker/handlers/SettingsHandler.js +1 -1
- package/build/js/worker/handlers/ValidationFlowHandler.d.ts +1 -2
- package/build/js/worker/handlers/ValidationFlowHandler.js +1 -1
- package/build/js/worker/labelWorkerHandler.d.ts +0 -1
- package/build/js/worker/nativeCall.d.ts +1 -1
- package/build/js/worker/nativeDispatch.d.ts +1 -1
- package/build/js/worker/proxies/AdaptiveRecognitionHandlerProxy.d.ts +15 -0
- package/build/js/worker/proxies/AdaptiveRecognitionHandlerProxy.js +1 -0
- package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +3 -4
- package/build/js/worker/proxies/AimerViewfinderProxy.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/LabelCaptureBasicOverlayProxy.d.ts +6 -8
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.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 -4
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
- package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +3 -4
- 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/LabelFieldProxy.d.ts +3 -4
- package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
- package/build/js/worker/proxies/NativeProxy.d.ts +1 -1
- 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/RectangularViewfinderAnimationProxy.d.ts +2 -3
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -1
- package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +5 -6
- package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowListenerProxy.d.ts +1 -3
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.d.ts +2 -4
- 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/workerHandles.d.ts +1 -1
- package/package.json +12 -8
- package/sdc-lib/label-worker-8.6.0-beta.1.js +1 -0
- package/sdc-lib/resources/models/aus_mdl_keypoint_detection.1b3529e0e8a3.model +0 -0
- package/sdc-lib/resources/models/barcode_classification_default.5afae5235672.model +0 -0
- package/sdc-lib/resources/models/barcode_keypoints_oned.963fc43efda2.model +0 -0
- package/sdc-lib/resources/models/barcode_keypoints_twod.90548e549497.model +0 -0
- package/sdc-lib/resources/models/barcode_label_localization_mslc_model_s.cf4be2418f6d.model +0 -0
- package/sdc-lib/resources/models/barcode_label_localization_mslc_model_smartphone.d37117f6a058.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_clutter_aware.40a9ddd42447.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_default.67ae150de2e5.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_dpm_default.96d5335f10a1.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default.3aff51b79974.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_oned_default.ca3e3afb3c45.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_twod_default.62d5ab2b650d.model +0 -0
- package/sdc-lib/resources/models/id_outline_localization_model_kpts.376104335628.model +0 -0
- package/sdc-lib/resources/models/mqr_model_1.f74eb91b2d3b.model +0 -0
- package/sdc-lib/resources/models/mqr_model_2.300660c7d3db.model +0 -0
- package/sdc-lib/resources/models/mrz_line_localization.6598e20b3c9e.model +0 -0
- package/sdc-lib/resources/models/mrz_localization.07beaad40bbd.model +0 -0
- package/sdc-lib/resources/models/ocr_attention.61cf55c1930f.model +0 -0
- package/sdc-lib/resources/models/ocr_attention_big.81959e2e4ef4.model +0 -0
- package/sdc-lib/resources/models/price_localization_in_whole_label.ef6641ccf26f.model +0 -0
- package/sdc-lib/resources/models/qr_model_1.d46cc8f45676.model +0 -0
- package/sdc-lib/resources/models/via_id_template_database.948ef137372d.model +0 -0
- 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/LabelCaptureWorkerManager-Jxe1KSMt.js +0 -1
- package/build/js/djinni-types/sdcAnalyticsModule.d.ts +0 -24
- package/build/js/djinni-types/sdcAnalyticsModule.js +0 -0
- package/build/js/djinni-types/sdcBarcodeData.d.ts +0 -2
- package/build/js/djinni-types/sdcBarcodeData.js +0 -1
- package/build/js/djinni-types/sdcBarcodeInternalSdkData.d.ts +0 -2
- package/build/js/djinni-types/sdcBarcodeInternalSdkData.js +0 -0
- package/build/js/djinni-types/sdcCoreCommon.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreCommon.js +0 -1
- package/build/js/djinni-types/sdcCoreCommonBuffer.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreCommonBuffer.js +0 -0
- package/build/js/djinni-types/sdcCoreCommonGeometry.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreCommonGeometry.js +0 -1
- package/build/js/djinni-types/sdcCoreCommonGraphic.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreCommonGraphic.js +0 -1
- package/build/js/djinni-types/sdcCoreInternalSdkArea.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkArea.js +0 -0
- package/build/js/djinni-types/sdcCoreInternalSdkCapture.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkCapture.js +0 -1
- package/build/js/djinni-types/sdcCoreInternalSdkCommonAsync.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkCommonAsync.js +0 -0
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.js +0 -1
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGraphics.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGraphics.js +0 -0
- package/build/js/djinni-types/sdcCoreInternalSdkOcr.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkOcr.js +0 -0
- package/build/js/djinni-types/sdcCoreInternalSdkUiStyle.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkUiStyle.js +0 -0
- package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.d.ts +0 -2
- package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.js +0 -1
- package/build/js/djinni-types/sdcLabelData.d.ts +0 -2
- package/build/js/djinni-types/sdcLabelData.js +0 -1
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +0 -2
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.js +0 -1
- package/build/js/djinni-types/sdcLabelInternalModuleData.d.ts +0 -2
- package/build/js/djinni-types/sdcLabelInternalModuleData.js +0 -1
- package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +0 -2
- package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.js +0 -0
- package/build/js/djinni-types/sdcSymbologySettings.d.ts +0 -2
- package/build/js/djinni-types/sdcSymbologySettings.js +0 -0
- package/build/js/sdcBarcodeInternalSdkData-CJZsjs8c.d.ts +0 -36
- package/build/js/sdcCoreCommon-kHUoe_GV.d.ts +0 -13
- package/build/js/sdcCoreCommonBuffer-DjQM-W5x.d.ts +0 -11
- package/build/js/sdcCoreCommonGraphic-hFLsxC6K.d.ts +0 -22
- package/build/js/sdcCoreInternalSdkArea-BDbnSRls.d.ts +0 -38
- package/build/js/sdcCoreInternalSdkCapture-CcabgRl6.d.ts +0 -9
- package/build/js/sdcCoreInternalSdkCommonGeometry-BdkRyMJ5.d.ts +0 -50
- package/build/js/sdcCoreInternalSdkCommonGraphics-DRTWPww6.d.ts +0 -10
- package/build/js/sdcCoreInternalSdkOcr-rkdYyZLs.d.ts +0 -34
- package/build/js/sdcCoreInternalSdkUiStyle-pVbYygcu.d.ts +0 -11
- package/build/js/sdcLabelInternalModuleData-D_O2Y4cu.d.ts +0 -63
- package/build/js/sdcLabelInternalModuleUiOverlay-CGIKcVOW.d.ts +0 -113
- package/build/js/sdcSymbologySettings-CR04eT_a.d.ts +0 -21
- package/build/js/viewfinderTranslator-BSoFZt6m.js +0 -1
- package/build/js/worker/handlers/ReceiptScanningHandler.js +0 -1
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.d.ts +0 -14
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.js +0 -1
- package/sdc-lib/label-worker-8.5.2.js +0 -1
- package/sdc-lib/resources/models/aus_mdl_keypoint_detection.17f1b2958a9e.model +0 -0
- package/sdc-lib/resources/models/barcode_classification_default.48685f5fe19b.model +0 -0
- package/sdc-lib/resources/models/barcode_keypoints_oned.c499e5bd6ed4.model +0 -0
- package/sdc-lib/resources/models/barcode_label_localization_mslc_model_s.616a59ec3a8d.model +0 -0
- package/sdc-lib/resources/models/barcode_label_localization_mslc_model_smartphone.29decf3dd9e6.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_clutter_aware.69933853e03e.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_default.59f74a846b63.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_dpm_default.7e4fe5631f81.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default.184ecbeb5b83.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_oned_default.c547484132c1.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_twod_default.4b64523bf755.model +0 -0
- package/sdc-lib/resources/models/id_outline_localization_model_kpts.b74ff5cc58cf.model +0 -0
- package/sdc-lib/resources/models/mrz_line_localization.577844e2ebed.model +0 -0
- package/sdc-lib/resources/models/mrz_localization.77e331c44b52.model +0 -0
- package/sdc-lib/resources/models/ocr_attention.75e86b6ca0ca.model +0 -0
- package/sdc-lib/resources/models/price_localization_in_whole_label.555b33695325.model +0 -0
- package/sdc-lib/resources/models/qr_model_1.e790edc14d39.model +0 -0
- package/sdc-lib/resources/models/via_id_template_database.e54ca9420de3.model +0 -0
- /package/build/js/{AdaptiveRecognitionMode-DBr--JVQ.d.ts → AdaptiveRecognitionMode-Ce7PcDLT.d.ts} +0 -0
- /package/build/js/{LabelDateComponentFormat-BDdyln8r.d.ts → LabelDateComponentFormat-BogF5Duc.d.ts} +0 -0
- /package/build/js/{LabelDateResult-CQ9G5zQl.d.ts → LabelDateResult-CXE4kE4_.d.ts} +0 -0
- /package/build/js/{LabelFieldDefinition-CuGI3QUq.d.ts → LabelFieldDefinition-Dx10zV00.d.ts} +0 -0
- /package/build/js/{LabelFieldState-JJ7Cbn3n.d.ts → LabelFieldState-PNXv3OG0.d.ts} +0 -0
- /package/build/js/{LabelFieldType-DEXmgciU.d.ts → LabelFieldType-DTWF1oEh.d.ts} +0 -0
- /package/build/js/{LabelFieldValueType-C8ZfGaCT.d.ts → LabelFieldValueType-Bpo3SRcL.d.ts} +0 -0
- /package/build/js/{ReceiptScanningLineItem-CZ--bISr.d.ts → ReceiptScanningLineItem-sJWucFWu.d.ts} +0 -0
- /package/build/js/{nativeDispatch-C7kZCRYA.d.ts → nativeDispatch-DihCPqt9.d.ts} +0 -0
- /package/build/js/{workerHandles-DhpaE-4P.d.ts → workerHandles-dyelIcCK.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PackingDateText } from "../PackingDateText-
|
|
1
|
+
import { t as PackingDateText } from "../PackingDateText-BxwiZ4HS.js";
|
|
2
2
|
export { PackingDateText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as packingDateText, t as PackingDateTextBuilder } from "../PackingDateTextBuilder-
|
|
1
|
+
import { n as packingDateText, t as PackingDateTextBuilder } from "../PackingDateTextBuilder-CgWv_e2L.js";
|
|
2
2
|
export { PackingDateTextBuilder, packingDateText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PartNumberBarcode } from "../PartNumberBarcode-
|
|
1
|
+
import { t as PartNumberBarcode } from "../PartNumberBarcode-D2mysndM.js";
|
|
2
2
|
export { PartNumberBarcode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as partNumberBarcode, t as PartNumberBarcodeBuilder } from "../PartNumberBarcodeBuilder-
|
|
1
|
+
import { n as partNumberBarcode, t as PartNumberBarcodeBuilder } from "../PartNumberBarcodeBuilder-CU5oArvT.js";
|
|
2
2
|
export { PartNumberBarcodeBuilder, partNumberBarcode };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { n as AdaptiveRecognitionResultType } from "../AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
1
2
|
import { PrivateReceiptScanningListener } from "./PrivateReceiptScanningListener.js";
|
|
2
|
-
|
|
3
3
|
//#region src/main/api/PrivateReceiptScanningHandler.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Handler for receipt scanning functionality.
|
|
@@ -13,9 +13,10 @@ declare class PrivateReceiptScanningHandler {
|
|
|
13
13
|
private onWorkerMessageHandler;
|
|
14
14
|
private constructor();
|
|
15
15
|
/**
|
|
16
|
-
* Starts the
|
|
16
|
+
* Starts the adaptive recognition scanning flow for the given result type.
|
|
17
|
+
* @param resultType - The type of document to recognize; defaults to Receipt.
|
|
17
18
|
*/
|
|
18
|
-
startFlow(): Promise<void>;
|
|
19
|
+
startFlow(resultType?: AdaptiveRecognitionResultType): Promise<void>;
|
|
19
20
|
/**
|
|
20
21
|
* Finishes the receipt scanning flow.
|
|
21
22
|
*/
|
|
@@ -33,6 +34,8 @@ declare class PrivateReceiptScanningHandler {
|
|
|
33
34
|
private onWorkerMessage;
|
|
34
35
|
private onReceiptScanned;
|
|
35
36
|
private onReceiptScanningFailed;
|
|
37
|
+
private onShippingLabelScanned;
|
|
38
|
+
private onShippingLabelScanningFailed;
|
|
36
39
|
private onProcessingStarted;
|
|
37
40
|
}
|
|
38
41
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import{ReceiptScanningResult as t}from"./ReceiptScanningResult.js";import{
|
|
1
|
+
import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import"./LabelCaptureAdaptiveRecognitionSettings.js";import{ReceiptScanningResult as t}from"./ReceiptScanningResult.js";import{ShippingLabelScanningResult as n}from"./ShippingLabelScanningResult.js";import{nativeHandle as r}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var i=class i{constructor(e){this.listeners=new Set,this.onWorkerMessageHandler=this.onWorkerMessage.bind(this),this.labelCaptureHandle=e[r]}static async create(e){return new i(e)}async startFlow(t=`receipt`){await e().workerCommand(`receiptScanningHandlerStartFlow`,{payload:{labelCaptureHandle:this.labelCaptureHandle,resultType:t}})}async finishFlow(){await e().workerCommand(`receiptScanningHandlerFinishFlow`,{payload:{labelCaptureHandle:this.labelCaptureHandle}})}addListener(t){this.listeners.add(t),this.listeners.size===1&&(e().addWorkerListener(this.onWorkerMessageHandler),e().workerCommand(`receiptScanningHandlerAddListener`,{payload:{labelCaptureHandle:this.labelCaptureHandle}}))}removeListener(t){this.listeners.delete(t),this.listeners.size===0&&(e().removeWorkerListener(this.onWorkerMessageHandler),e().workerCommand(`receiptScanningHandlerRemoveListener`,{payload:{labelCaptureHandle:this.labelCaptureHandle}}))}onWorkerMessage(e){switch(e.type){case`receiptScanningListenerOnReceiptScanned`:this.onReceiptScanned(e.payload.result);break;case`receiptScanningListenerOnReceiptScanningFailed`:this.onReceiptScanningFailed();break;case`receiptScanningListenerOnShippingLabelScanned`:this.onShippingLabelScanned(e.payload.result);break;case`receiptScanningListenerOnShippingLabelScanningFailed`:this.onShippingLabelScanningFailed();break;case`receiptScanningListenerOnProcessingStarted`:this.onProcessingStarted();break}}onReceiptScanned(e){let n=t.fromJSON(e);for(let e of this.listeners){var r;(r=e.onReceiptScanned)==null||r.call(e,n)}}onReceiptScanningFailed(){for(let t of this.listeners){var e;(e=t.onReceiptScanningFailed)==null||e.call(t)}}onShippingLabelScanned(e){let t=n.fromJSON(e);for(let e of this.listeners){var r;(r=e.onShippingLabelScanned)==null||r.call(e,t)}}onShippingLabelScanningFailed(){for(let t of this.listeners){var e;(e=t.onShippingLabelScanningFailed)==null||e.call(t)}}onProcessingStarted(){for(let t of this.listeners){var e;(e=t.onProcessingStarted)==null||e.call(t)}}};export{i as PrivateReceiptScanningHandler};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Ft as ReceiptScanningResult, Nt as ShippingLabelScanningResult } from "../AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
3
2
|
//#region src/main/api/PrivateReceiptScanningListener.d.ts
|
|
4
3
|
/**
|
|
5
|
-
* Listener interface for
|
|
4
|
+
* Listener interface for adaptive recognition scanning events.
|
|
6
5
|
*/
|
|
7
6
|
interface PrivateReceiptScanningListener {
|
|
8
7
|
/**
|
|
@@ -15,7 +14,16 @@ interface PrivateReceiptScanningListener {
|
|
|
15
14
|
*/
|
|
16
15
|
onReceiptScanningFailed?(): void;
|
|
17
16
|
/**
|
|
18
|
-
* Called when
|
|
17
|
+
* Called when a shipping label has been successfully scanned.
|
|
18
|
+
* @param result - The result containing the extracted shipping label data
|
|
19
|
+
*/
|
|
20
|
+
onShippingLabelScanned?(result: ShippingLabelScanningResult): void;
|
|
21
|
+
/**
|
|
22
|
+
* Called when shipping label scanning has failed.
|
|
23
|
+
*/
|
|
24
|
+
onShippingLabelScanningFailed?(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Called when processing has started.
|
|
19
27
|
*/
|
|
20
28
|
onProcessingStarted?(): void;
|
|
21
29
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as DataCaptureCallbackMessage } from "../AdaptiveRecognitionResult-
|
|
3
|
-
import { n as ValidationFlowFieldJSON, t as ValidationFlowField } from "../ValidationFlowField-
|
|
1
|
+
import { K as ValidationFlowState, W as ValidationFlowFieldTarget, Y as ResultOrError } from "../sdcLabelInternalModuleCapture-LDFRDPMF.js";
|
|
2
|
+
import { _ as DataCaptureCallbackMessage } from "../AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
3
|
+
import { n as ValidationFlowFieldJSON, t as ValidationFlowField } from "../ValidationFlowField-B8BG6AoW.js";
|
|
4
4
|
import { LabelResultUpdateType } from "./LabelResultUpdateType.js";
|
|
5
5
|
import { PrivateLoadableFrameData } from "@scandit/web-datacapture-core";
|
|
6
6
|
import { nativeHandle } from "@scandit/web-datacapture-core/build/js/private/nativeHandle.js";
|
|
7
|
-
|
|
8
7
|
//#region src/main/api/PrivateValidationFlowHandler.d.ts
|
|
9
8
|
interface PrivateValidationFlowListener {
|
|
10
9
|
onFieldsScanned?(fields: ValidationFlowField[]): void;
|
|
@@ -25,8 +24,8 @@ declare class PrivateValidationFlowHandler {
|
|
|
25
24
|
private constructor();
|
|
26
25
|
private static create;
|
|
27
26
|
startCompleteLabelScan(name: string): Promise<void>;
|
|
28
|
-
startPartialLabelScan(
|
|
29
|
-
updateFieldValue(
|
|
27
|
+
startPartialLabelScan(targets: ValidationFlowFieldTarget[]): Promise<void>;
|
|
28
|
+
updateFieldValue(target: ValidationFlowFieldTarget, value: string): Promise<boolean>;
|
|
30
29
|
onFinishFlowRequested(): Promise<ResultOrError<ValidationFlowFieldJSON[], string>>;
|
|
31
30
|
pauseScan(): Promise<void>;
|
|
32
31
|
reset(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import{ValidationFlowField as t}from"./ValidationFlowField.js";import{nativeHandle as n}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var r=class r{constructor(e,t){this.validationFlowListeners=new Set,this.onWorkerMessageHandler=this.onWorkerMessage.bind(this),this[n]=e,this.labelCaptureWorkerManager=t}static async create(t){let i=e()
|
|
1
|
+
import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import{ValidationFlowField as t}from"./ValidationFlowField.js";import{nativeHandle as n}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var r=class r{constructor(e,t){this.validationFlowListeners=new Set,this.onWorkerMessageHandler=this.onWorkerMessage.bind(this),this[n]=e,this.labelCaptureWorkerManager=t}static async create(t){let i=e(),a=await i.workerCommand(`validationFlowHandlerCreate`,{payload:{labelCaptureHandle:t[n]}});return new r(a,i)}async startCompleteLabelScan(e){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerStartCompleteLabelScan`,{payload:{labelCaptureHandle:this[n],labelName:e}})}async startPartialLabelScan(e){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerStartPartialLabelScan`,{payload:{labelCaptureHandle:this[n],targets:e}})}async updateFieldValue(e,t){return await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerUpdateFieldValue`,{payload:{labelCaptureHandle:this[n],target:e,value:t}})}async onFinishFlowRequested(){return await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerFinishFlow`,{payload:{labelCaptureHandle:this[n]}})}async pauseScan(){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerPauseScan`,{payload:{labelCaptureHandle:this[n]}})}async reset(){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerReset`,{payload:{labelCaptureHandle:this[n]}})}async resumeScan(){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerResumeScan`,{payload:{labelCaptureHandle:this[n]}})}async validationFlowFields(){return(await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerGetValidationFlowFields`,{payload:{labelCaptureHandle:this[n]}})).map(e=>t.fromJSONObject(e))}async clearAllFields(){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerClearAllFields`,{payload:{labelCaptureHandle:this[n]}})}async cancelCloudBackupTaskForField(e){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerCancelCloudBackupTaskForField`,{payload:{labelCaptureHandle:this[n],fieldName:e}})}async uncancelCloudBackupTaskForField(e){await this.labelCaptureWorkerManager.workerCommand(`validationFlowHandlerUncancelCloudBackupTaskForField`,{payload:{labelCaptureHandle:this[n],fieldName:e}})}addListener(e){this.validationFlowListeners.size===0&&this.labelCaptureWorkerManager.addWorkerListener(this.onWorkerMessageHandler),this.validationFlowListeners.add(e)}removeListener(e){this.validationFlowListeners.delete(e),this.validationFlowListeners.size===0&&this.labelCaptureWorkerManager.removeWorkerListener(this.onWorkerMessageHandler)}async onWorkerMessage(e){if(this.validationFlowListeners.size!==0)switch(e.type){case`validationFlowListenerOnFieldsScanned`:{let r=e.payload.fields.map(e=>t.fromJSONObject(e));for(let e of this.validationFlowListeners){var n;(n=e.onFieldsScanned)==null||n.call(e,r)}break}case`validationFlowListenerOnScanTimeout`:{let e=[];for(let t of this.validationFlowListeners){var r;e.push((r=t.onScanTimeout)==null?void 0:r.call(t))}await Promise.all(e);break}case`validationFlowListenerOnLabelIsMissingRequiredField`:{let n=e.payload.fields.map(e=>t.fromJSONObject(e)),r=[];for(let e of this.validationFlowListeners){var i;r.push((i=e.onLabelIsMissingRequiredField)==null?void 0:i.call(e,n))}await Promise.all(r);break}case`validationFlowListenerOnManualInput`:{let n=t.fromJSONObject(e.payload.field);for(let t of this.validationFlowListeners){var a;(a=t.onManualInput)==null||a.call(t,n,e.payload.oldValue,e.payload.newValue)}break}case`validationFlowListenerOnStateChanged`:{let t=e.payload.state,n=[];for(let e of this.validationFlowListeners){var o;n.push((o=e.onStateChanged)==null?void 0:o.call(e,t))}await Promise.all(n);break}case`validationFlowListenerOnCloudBackupServiceStarted`:{let e=[];for(let t of this.validationFlowListeners){var s;e.push((s=t.onCloudBackupServiceStarted)==null?void 0:s.call(t))}await Promise.all(e);break}case`validationFlowListenerOnCloudBackupServiceStopped`:for(let e of this.validationFlowListeners){var c;(c=e.onCloudBackupServiceStopped)==null||c.call(e)}break;case`validationFlowListenerOnResultUpdate`:{let n=e.payload.updateType,r=e.payload.fields.map(e=>t.fromJSONObject(e));for(let t of this.validationFlowListeners){var l;(l=t.onResultUpdate)==null||l.call(t,n,r,e.payload.data)}break}case`validationFlowFeedbackForCloudBackupEmit`:for(let e of this.validationFlowListeners){var u;(u=e.onCloudBackupFeedbackEmit)==null||u.call(e)}break}}};export{r as PrivateValidationFlowHandler};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ReceiptScanningLineItemJSON, t as ReceiptScanningLineItem } from "../ReceiptScanningLineItem-
|
|
1
|
+
import { n as ReceiptScanningLineItemJSON, t as ReceiptScanningLineItem } from "../ReceiptScanningLineItem-sJWucFWu.js";
|
|
2
2
|
export { ReceiptScanningLineItem, ReceiptScanningLineItemJSON };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as ReceiptScanningResult, It as ReceiptScanningResultJSON } from "../AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
2
2
|
export { ReceiptScanningResult, ReceiptScanningResultJSON };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SerialNumberBarcode } from "../SerialNumberBarcode-
|
|
1
|
+
import { t as SerialNumberBarcode } from "../SerialNumberBarcode-Ck2AEyxm.js";
|
|
2
2
|
export { SerialNumberBarcode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as serialNumberBarcode, t as SerialNumberBarcodeBuilder } from "../SerialNumberBarcodeBuilder-
|
|
1
|
+
import { n as serialNumberBarcode, t as SerialNumberBarcodeBuilder } from "../SerialNumberBarcodeBuilder-BZRf4Jyp.js";
|
|
2
2
|
export { SerialNumberBarcodeBuilder, serialNumberBarcode };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./LabelCaptureAdaptiveRecognitionSettings.js";import{AdaptiveRecognitionResult as e}from"./AdaptiveRecognitionResult.js";import"./Carrier.js";import{Barcode as t}from"@scandit/web-datacapture-barcode";var n=class n extends e{constructor(...e){super(...e),this.resultType=`shipping-label`,this._barcodes=[],this._trackingId=``,this._receiverFullName=``,this._receiverStreet=``,this._receiverCity=``,this._receiverPostalCode=``,this._carrier=`not-available`}get barcodes(){return this._barcodes}get trackingId(){return this._trackingId}get receiverFullName(){return this._receiverFullName}get receiverCompany(){return this._receiverCompany??null}get receiverStreet(){return this._receiverStreet}get receiverCity(){return this._receiverCity}get receiverState(){return this._receiverState??null}get receiverPostalCode(){return this._receiverPostalCode}get receiverCountry(){return this._receiverCountry??null}get carrier(){return this._carrier}static fromJSON(e){let r=new n;return r._barcodes=e.barcodes.map(e=>t.fromJSON(e)),r._trackingId=e.trackingId,r._receiverFullName=e.receiverFullName,r._receiverCompany=e.receiverCompany??void 0,r._receiverStreet=e.receiverStreet,r._receiverCity=e.receiverCity,r._receiverState=e.receiverState??void 0,r._receiverPostalCode=e.receiverPostalCode,r._receiverCountry=e.receiverCountry??void 0,r._carrier=e.carrier,r}toJSONObject(){return{barcodes:this._barcodes.map(e=>e.toJSONObject()),trackingId:this._trackingId,receiverFullName:this._receiverFullName,receiverCompany:this._receiverCompany??null,receiverStreet:this._receiverStreet,receiverCity:this._receiverCity,receiverState:this._receiverState??null,receiverPostalCode:this._receiverPostalCode,receiverCountry:this._receiverCountry??null,carrier:this._carrier}}};export{n as ShippingLabelScanningResult};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextField } from "../TextField-
|
|
1
|
+
import { t as TextField } from "../TextField-B5ize0NE.js";
|
|
2
2
|
export { TextField };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextFieldBuilder } from "../TextFieldBuilder-
|
|
1
|
+
import { t as TextFieldBuilder } from "../TextFieldBuilder-CaffaBBH.js";
|
|
2
2
|
export { TextFieldBuilder };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TotalPriceText } from "../TotalPriceText-
|
|
1
|
+
import { t as TotalPriceText } from "../TotalPriceText-CiOJFnt4.js";
|
|
2
2
|
export { TotalPriceText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as totalPriceText, t as TotalPriceTextBuilder } from "../TotalPriceTextBuilder-
|
|
1
|
+
import { n as totalPriceText, t as TotalPriceTextBuilder } from "../TotalPriceTextBuilder-CDwYNGhA.js";
|
|
2
2
|
export { TotalPriceTextBuilder, totalPriceText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UnitPriceText } from "../UnitPriceText-
|
|
1
|
+
import { t as UnitPriceText } from "../UnitPriceText-DMdoMIGG.js";
|
|
2
2
|
export { UnitPriceText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as unitPriceText, t as UnitPriceTextBuilder } from "../UnitPriceTextBuilder-
|
|
1
|
+
import { n as unitPriceText, t as UnitPriceTextBuilder } from "../UnitPriceTextBuilder-B7fFpVja.js";
|
|
2
2
|
export { UnitPriceTextBuilder, unitPriceText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ValidationFlowFieldJSON, t as ValidationFlowField } from "../ValidationFlowField-
|
|
1
|
+
import { n as ValidationFlowFieldJSON, t as ValidationFlowField } from "../ValidationFlowField-B8BG6AoW.js";
|
|
2
2
|
export { ValidationFlowField, ValidationFlowFieldJSON };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{LabelField as e}from"./LabelField.js";var t=class t{constructor(e,t,n){this.labelField=e,this.valid=t,this.processingInCloud=n}getLabelField(){return this.labelField}isValid(){return this.valid}isProcessingInCloud(){return this.processingInCloud}toJSONObject(){return{labelField:this.labelField.toJSONObject(),valid:this.valid,isProcessingInCloud:this.processingInCloud}}static fromJSONObject(n){return new t(e.fromJSON(n.labelField),n.valid,n.isProcessingInCloud)}};export{t as ValidationFlowField};
|
|
1
|
+
import{LabelField as e}from"./LabelField.js";var t=class t{constructor(e,t,n){this.labelField=e,this.valid=t,this.processingInCloud=n}getLabelField(){return this.labelField}isValid(){return this.valid}isProcessingInCloud(){return this.processingInCloud}getInstanceIndex(){return this.labelField.instanceIndex}toJSONObject(){return{labelField:this.labelField.toJSONObject(),valid:this.valid,isProcessingInCloud:this.processingInCloud}}static fromJSONObject(n){return new t(e.fromJSON(n.labelField),n.valid,n.isProcessingInCloud)}};export{t as ValidationFlowField};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WeightText } from "../WeightText-
|
|
1
|
+
import { t as WeightText } from "../WeightText-xC0IyyPL.js";
|
|
2
2
|
export { WeightText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as weightText, t as WeightTextBuilder } from "../WeightTextBuilder-
|
|
1
|
+
import { n as weightText, t as WeightTextBuilder } from "../WeightTextBuilder-Bm1dmTp5.js";
|
|
2
2
|
export { WeightTextBuilder, weightText };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Q as Module, _ as DataCaptureCallbackMessage } from "./AdaptiveRecognitionResult-
|
|
1
|
+
import { Q as Module, _ as DataCaptureCallbackMessage } from "./AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
2
2
|
import { DataCaptureEngine } from "@scandit/web-datacapture-core/build/js/worker/index.js";
|
|
3
3
|
import { AddNativeOverlayAction, EmscriptenDataCaptureOverlay, ModuleHandler, RemoveNativeOverlayAction, UpdateContextParameters, Vector, WorkerFunctions } from "@scandit/web-datacapture-core/build/js/worker/index";
|
|
4
|
-
|
|
5
4
|
//#region src/main/worker/dataCaptureEngine.d.ts
|
|
6
5
|
type NativeLabelCaptureOverlay = {
|
|
7
6
|
asDataCaptureOverlay(): EmscriptenDataCaptureOverlay;
|
package/build/js/global.d.ts
CHANGED
|
@@ -13,11 +13,13 @@ declare global {
|
|
|
13
13
|
var SDC_WASM_CORE_MT_HASH: string;
|
|
14
14
|
var SDC_WASM_CORE_MT_SIMD_HASH: string;
|
|
15
15
|
var SDC_WASM_SIDE_MODULE_FILE_NAME: string;
|
|
16
|
-
var SDC_WASM_JS_VERSION: string;
|
|
16
|
+
var SDC_WASM_JS_VERSION: string;
|
|
17
|
+
// LABEL FILES
|
|
17
18
|
var SDC_WASM_LABEL_FILE_NAME: string;
|
|
18
19
|
var SDC_WASM_LABEL_SIMD_FILE_NAME: string;
|
|
19
20
|
var SDC_WASM_LABEL_MT_FILE_NAME: string;
|
|
20
|
-
var SDC_WASM_LABEL_MT_SIMD_FILE_NAME: string;
|
|
21
|
+
var SDC_WASM_LABEL_MT_SIMD_FILE_NAME: string;
|
|
22
|
+
// LABEL FILES HASHES
|
|
21
23
|
var SDC_WASM_LABEL_HASH: string;
|
|
22
24
|
var SDC_WASM_LABEL_SIMD_HASH: string;
|
|
23
25
|
var SDC_WASM_LABEL_MT_HASH: string;
|
|
@@ -34,4 +36,4 @@ declare global {
|
|
|
34
36
|
webkitVibrate?: Navigator["vibrate"];
|
|
35
37
|
enumerateDevices?: () => Promise<MediaDeviceInfo[]>;
|
|
36
38
|
}
|
|
37
|
-
}
|
|
39
|
+
}
|
package/build/js/index.d.ts
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import { t as AdaptiveRecognitionMode } from "./AdaptiveRecognitionMode-
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import { t as
|
|
25
|
-
import {
|
|
26
|
-
import { t as
|
|
27
|
-
import {
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import { n as
|
|
31
|
-
import { t as
|
|
32
|
-
import {
|
|
33
|
-
import { t as
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
37
|
-
import { t as
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import { n as
|
|
44
|
-
import { n as
|
|
45
|
-
import { n as
|
|
1
|
+
import { t as AdaptiveRecognitionMode } from "./AdaptiveRecognitionMode-Ce7PcDLT.js";
|
|
2
|
+
import { Ft as ReceiptScanningResult, It as ReceiptScanningResultJSON, Nt as ShippingLabelScanningResult, Pt as ShippingLabelScanningResultJSON, i as ReceiptScanningSettingsJSON, n as AdaptiveRecognitionResultType, r as LabelCaptureAdaptiveRecognitionSettings, t as AdaptiveRecognitionResult } from "./AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
3
|
+
import { t as LabelFieldState } from "./LabelFieldState-PNXv3OG0.js";
|
|
4
|
+
import { t as LabelFieldType } from "./LabelFieldType-DTWF1oEh.js";
|
|
5
|
+
import { n as LabelDateResultJSON, t as LabelDateResult } from "./LabelDateResult-CXE4kE4_.js";
|
|
6
|
+
import { n as LabelFieldJSON, t as LabelField } from "./LabelField-b2ukZfup.js";
|
|
7
|
+
import { n as CapturedLabelJSON, t as CapturedLabel } from "./CapturedLabel-CxiHZPCl.js";
|
|
8
|
+
import { n as LabelCaptureSessionJSON, t as LabelCaptureSession } from "./LabelCaptureSession-lVHLczXv.js";
|
|
9
|
+
import { n as ReceiptScanningLineItemJSON, t as ReceiptScanningLineItem } from "./ReceiptScanningLineItem-sJWucFWu.js";
|
|
10
|
+
import { t as Carrier } from "./Carrier-CjlU3MQ0.js";
|
|
11
|
+
import { t as LabelFieldDefinition } from "./LabelFieldDefinition-Dx10zV00.js";
|
|
12
|
+
import { t as BarcodeField } from "./BarcodeField-DJn7-z-m.js";
|
|
13
|
+
import { n as LabelFieldDefinitionBuilder, r as TextFieldClass, t as FieldDefinitionClass } from "./LabelFieldDefinitionBuilder-D-yf34AO.js";
|
|
14
|
+
import { t as LabelFieldLocation } from "./LabelFieldLocation-eoZD3v4d.js";
|
|
15
|
+
import { t as CustomBarcode } from "./CustomBarcode-CDxDEuLW.js";
|
|
16
|
+
import { n as customBarcode, t as CustomBarcodeBuilder } from "./CustomBarcodeBuilder-BbJ6y6wo.js";
|
|
17
|
+
import { t as TextField } from "./TextField-B5ize0NE.js";
|
|
18
|
+
import { t as CustomText } from "./CustomText-41Rtf4e7.js";
|
|
19
|
+
import { t as TextFieldBuilder } from "./TextFieldBuilder-CaffaBBH.js";
|
|
20
|
+
import { n as customText, t as CustomTextBuilder } from "./CustomTextBuilder-Cx446FQo.js";
|
|
21
|
+
import { t as LabelDateComponentFormat } from "./LabelDateComponentFormat-BogF5Duc.js";
|
|
22
|
+
import { n as LabelDateFormatJSON, t as LabelDateFormat } from "./LabelDateFormat-2KViYUuq.js";
|
|
23
|
+
import { t as DateText } from "./DateText-wfiiLxGb.js";
|
|
24
|
+
import { n as dateText, t as DateTextBuilder } from "./DateTextBuilder-hglQSv2l.js";
|
|
25
|
+
import { t as ExpiryDateText } from "./ExpiryDateText-BtUI1uAf.js";
|
|
26
|
+
import { n as expiryDateText, t as ExpiryDateTextBuilder } from "./ExpiryDateTextBuilder-CGrQ7Hea.js";
|
|
27
|
+
import { t as ImeiOneBarcode } from "./ImeiOneBarcode-dhXCZMVi.js";
|
|
28
|
+
import { n as imeiOneBarcode, t as ImeiOneBarcodeBuilder } from "./ImeiOneBarcodeBuilder-Bj3CjnCv.js";
|
|
29
|
+
import { t as ImeiTwoBarcode } from "./ImeiTwoBarcode-Bm5fuVb-.js";
|
|
30
|
+
import { n as imeiTwoBarcode, t as ImeiTwoBarcodeBuilder } from "./ImeiTwoBarcodeBuilder-CugRqyC8.js";
|
|
31
|
+
import { n as LabelCaptureFeedbackJSON, t as LabelCaptureFeedback } from "./LabelCaptureFeedback-sBwE9pgJ.js";
|
|
32
|
+
import { t as PackingDateText } from "./PackingDateText-BxwiZ4HS.js";
|
|
33
|
+
import { n as packingDateText, t as PackingDateTextBuilder } from "./PackingDateTextBuilder-CgWv_e2L.js";
|
|
34
|
+
import { t as PartNumberBarcode } from "./PartNumberBarcode-D2mysndM.js";
|
|
35
|
+
import { n as partNumberBarcode, t as PartNumberBarcodeBuilder } from "./PartNumberBarcodeBuilder-CU5oArvT.js";
|
|
36
|
+
import { t as SerialNumberBarcode } from "./SerialNumberBarcode-Ck2AEyxm.js";
|
|
37
|
+
import { n as serialNumberBarcode, t as SerialNumberBarcodeBuilder } from "./SerialNumberBarcodeBuilder-BZRf4Jyp.js";
|
|
38
|
+
import { t as TotalPriceText } from "./TotalPriceText-CiOJFnt4.js";
|
|
39
|
+
import { n as totalPriceText, t as TotalPriceTextBuilder } from "./TotalPriceTextBuilder-CDwYNGhA.js";
|
|
40
|
+
import { t as UnitPriceText } from "./UnitPriceText-DMdoMIGG.js";
|
|
41
|
+
import { n as unitPriceText, t as UnitPriceTextBuilder } from "./UnitPriceTextBuilder-B7fFpVja.js";
|
|
42
|
+
import { t as WeightText } from "./WeightText-xC0IyyPL.js";
|
|
43
|
+
import { n as weightText, t as WeightTextBuilder } from "./WeightTextBuilder-Bm1dmTp5.js";
|
|
44
|
+
import { n as LabelDefinitionBuilder, r as label, t as LabelDefinition } from "./LabelDefinition-DEROTlBM.js";
|
|
45
|
+
import { n as LabelCaptureSettingsBuilder, r as labelCaptureSettings, t as LabelCaptureSettings } from "./LabelCaptureSettings-076qXEg4.js";
|
|
46
|
+
import { n as LabelCaptureListener, t as LabelCapture } from "./LabelCapture-BsBYp-Tr.js";
|
|
46
47
|
import { LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, LabelCaptureAdaptiveRecognitionOverlayJSON } from "./api/LabelCaptureAdaptiveRecognitionOverlay.js";
|
|
47
|
-
import { n as LabelCaptureAdvancedOverlayListener, t as LabelCaptureAdvancedOverlay } from "./LabelCaptureAdvancedOverlay-
|
|
48
|
-
import { n as LabelCaptureBasicOverlayListener, t as LabelCaptureBasicOverlay } from "./LabelCaptureBasicOverlay-
|
|
48
|
+
import { n as LabelCaptureAdvancedOverlayListener, t as LabelCaptureAdvancedOverlay } from "./LabelCaptureAdvancedOverlay-Bpt5QkPC.js";
|
|
49
|
+
import { n as LabelCaptureBasicOverlayListener, t as LabelCaptureBasicOverlay } from "./LabelCaptureBasicOverlay-CF4h_JL9.js";
|
|
49
50
|
import { LabelCaptureValidationFlowSettings } from "./api/LabelCaptureValidationFlowSettings.js";
|
|
50
51
|
import { LabelResultUpdateType } from "./api/LabelResultUpdateType.js";
|
|
51
52
|
import { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON } from "./api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js";
|
|
52
53
|
import { labelCaptureLoader } from "./moduleLoader.js";
|
|
53
|
-
export { AdaptiveRecognitionMode, AdaptiveRecognitionResult, AdaptiveRecognitionResultType, BarcodeField, CapturedLabel, CapturedLabelJSON, CustomBarcode, CustomBarcodeBuilder, CustomText, CustomTextBuilder, DateText, DateTextBuilder, ExpiryDateText, ExpiryDateTextBuilder, FieldDefinitionClass, ImeiOneBarcode, ImeiOneBarcodeBuilder, ImeiTwoBarcode, ImeiTwoBarcodeBuilder, LabelCapture,
|
|
54
|
+
export { AdaptiveRecognitionMode, AdaptiveRecognitionResult, AdaptiveRecognitionResultType, BarcodeField, CapturedLabel, CapturedLabelJSON, Carrier, CustomBarcode, CustomBarcodeBuilder, CustomText, CustomTextBuilder, DateText, DateTextBuilder, ExpiryDateText, ExpiryDateTextBuilder, FieldDefinitionClass, ImeiOneBarcode, ImeiOneBarcodeBuilder, ImeiTwoBarcode, ImeiTwoBarcodeBuilder, LabelCapture, LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, LabelCaptureAdaptiveRecognitionOverlayJSON, LabelCaptureAdaptiveRecognitionSettings, LabelCaptureAdvancedOverlay, LabelCaptureAdvancedOverlayListener, LabelCaptureBasicOverlay, LabelCaptureBasicOverlayListener, LabelCaptureFeedback, LabelCaptureFeedbackJSON, LabelCaptureListener, LabelCaptureSession, LabelCaptureSessionJSON, LabelCaptureSettings, LabelCaptureSettingsBuilder, LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON, LabelCaptureValidationFlowSettings, LabelDateComponentFormat, LabelDateFormat, LabelDateFormatJSON, LabelDateResult, LabelDateResultJSON, LabelDefinition, LabelDefinitionBuilder, LabelField, LabelFieldDefinition, LabelFieldDefinitionBuilder, LabelFieldJSON, LabelFieldLocation, LabelFieldState, LabelFieldType, LabelResultUpdateType, PackingDateText, PackingDateTextBuilder, PartNumberBarcode, PartNumberBarcodeBuilder, ReceiptScanningLineItem, ReceiptScanningLineItemJSON, ReceiptScanningResult, ReceiptScanningResultJSON, ReceiptScanningSettingsJSON, SerialNumberBarcode, SerialNumberBarcodeBuilder, ShippingLabelScanningResult, ShippingLabelScanningResultJSON, TextField, TextFieldBuilder, TextFieldClass, TotalPriceText, TotalPriceTextBuilder, UnitPriceText, UnitPriceTextBuilder, WeightText, WeightTextBuilder, customBarcode, customText, dateText, expiryDateText, imeiOneBarcode, imeiTwoBarcode, label, labelCaptureLoader, labelCaptureSettings, packingDateText, partNumberBarcode, serialNumberBarcode, totalPriceText, unitPriceText, weightText };
|
package/build/js/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{AdaptiveRecognitionMode as e}from"./api/AdaptiveRecognitionMode.js";import"./api/BarcodeField.js";import{LabelFieldState as t}from"./api/LabelFieldState.js";import{LabelFieldType as n}from"./api/LabelFieldType.js";import{LabelDateResult as r}from"./api/LabelDateResult.js";import{LabelField as i}from"./api/LabelField.js";import{CapturedLabel as a}from"./api/CapturedLabel.js";import{CustomBarcode as o}from"./api/CustomBarcode.js";import{LabelFieldDefinitionBuilder as s}from"./api/LabelFieldDefinitionBuilder.js";import{CustomBarcodeBuilder as c,customBarcode as l}from"./api/CustomBarcodeBuilder.js";import{CustomText as u}from"./api/CustomText.js";import{TextFieldBuilder as d}from"./api/TextFieldBuilder.js";import{CustomTextBuilder as f,customText as p}from"./api/CustomTextBuilder.js";import{DateText as m}from"./api/DateText.js";import{LabelDateComponentFormat as h}from"./api/LabelDateComponentFormat.js";import{LabelDateFormat as g}from"./api/LabelDateFormat.js";import{DateTextBuilder as _,dateText as v}from"./api/DateTextBuilder.js";import{ExpiryDateText as y}from"./api/ExpiryDateText.js";import{ExpiryDateTextBuilder as b,expiryDateText as x}from"./api/ExpiryDateTextBuilder.js";import{ImeiOneBarcode as S}from"./api/ImeiOneBarcode.js";import{ImeiOneBarcodeBuilder as C,imeiOneBarcode as w}from"./api/ImeiOneBarcodeBuilder.js";import{ImeiTwoBarcode as T}from"./api/ImeiTwoBarcode.js";import{ImeiTwoBarcodeBuilder as E,imeiTwoBarcode as D}from"./api/ImeiTwoBarcodeBuilder.js";import{LabelCaptureFeedback as O}from"./api/LabelCaptureFeedback.js";import{LabelCaptureSession as k}from"./api/LabelCaptureSession.js";import{AdaptiveRecognitionResultType as A,LabelCaptureAdaptiveRecognitionSettings as j}from"./api/LabelCaptureAdaptiveRecognitionSettings.js";import{AdaptiveRecognitionResult as M}from"./api/AdaptiveRecognitionResult.js";import{ReceiptScanningLineItem as N}from"./api/ReceiptScanningLineItem.js";import{ReceiptScanningResult as P}from"./api/ReceiptScanningResult.js";import{
|
|
1
|
+
import{AdaptiveRecognitionMode as e}from"./api/AdaptiveRecognitionMode.js";import"./api/BarcodeField.js";import{LabelFieldState as t}from"./api/LabelFieldState.js";import{LabelFieldType as n}from"./api/LabelFieldType.js";import{LabelDateResult as r}from"./api/LabelDateResult.js";import{LabelField as i}from"./api/LabelField.js";import{CapturedLabel as a}from"./api/CapturedLabel.js";import{CustomBarcode as o}from"./api/CustomBarcode.js";import{LabelFieldDefinitionBuilder as s}from"./api/LabelFieldDefinitionBuilder.js";import{CustomBarcodeBuilder as c,customBarcode as l}from"./api/CustomBarcodeBuilder.js";import{CustomText as u}from"./api/CustomText.js";import{TextFieldBuilder as d}from"./api/TextFieldBuilder.js";import{CustomTextBuilder as f,customText as p}from"./api/CustomTextBuilder.js";import{DateText as m}from"./api/DateText.js";import{LabelDateComponentFormat as h}from"./api/LabelDateComponentFormat.js";import{LabelDateFormat as g}from"./api/LabelDateFormat.js";import{DateTextBuilder as _,dateText as v}from"./api/DateTextBuilder.js";import{ExpiryDateText as y}from"./api/ExpiryDateText.js";import{ExpiryDateTextBuilder as b,expiryDateText as x}from"./api/ExpiryDateTextBuilder.js";import{ImeiOneBarcode as S}from"./api/ImeiOneBarcode.js";import{ImeiOneBarcodeBuilder as C,imeiOneBarcode as w}from"./api/ImeiOneBarcodeBuilder.js";import{ImeiTwoBarcode as T}from"./api/ImeiTwoBarcode.js";import{ImeiTwoBarcodeBuilder as E,imeiTwoBarcode as D}from"./api/ImeiTwoBarcodeBuilder.js";import{LabelCaptureFeedback as O}from"./api/LabelCaptureFeedback.js";import{LabelCaptureSession as k}from"./api/LabelCaptureSession.js";import{AdaptiveRecognitionResultType as A,LabelCaptureAdaptiveRecognitionSettings as j}from"./api/LabelCaptureAdaptiveRecognitionSettings.js";import{AdaptiveRecognitionResult as M}from"./api/AdaptiveRecognitionResult.js";import{ReceiptScanningLineItem as N}from"./api/ReceiptScanningLineItem.js";import{ReceiptScanningResult as P}from"./api/ReceiptScanningResult.js";import{Carrier as F}from"./api/Carrier.js";import{ShippingLabelScanningResult as I}from"./api/ShippingLabelScanningResult.js";import{LabelCapture as L}from"./api/LabelCapture.js";import{LabelCaptureBasicOverlay as R}from"./api/LabelCaptureBasicOverlay.js";import"./api/LabelCaptureBasicOverlayListener.js";import"./api/LabelCaptureListener.js";import{LabelDefinition as z,LabelDefinitionBuilder as B,label as V}from"./api/LabelDefinition.js";import{LabelCaptureSettings as H,LabelCaptureSettingsBuilder as U,labelCaptureSettings as W}from"./api/LabelCaptureSettings.js";import"./api/LabelFieldDefinition.js";import{LabelFieldLocation as G}from"./api/LabelFieldLocation.js";import{LabelResultUpdateType as K}from"./api/LabelResultUpdateType.js";import{PackingDateText as q}from"./api/PackingDateText.js";import{PackingDateTextBuilder as J,packingDateText as Y}from"./api/PackingDateTextBuilder.js";import{PartNumberBarcode as X}from"./api/PartNumberBarcode.js";import{PartNumberBarcodeBuilder as Z,partNumberBarcode as Q}from"./api/PartNumberBarcodeBuilder.js";import{SerialNumberBarcode as $}from"./api/SerialNumberBarcode.js";import{SerialNumberBarcodeBuilder as ee,serialNumberBarcode as te}from"./api/SerialNumberBarcodeBuilder.js";import"./api/TextField.js";import{TotalPriceText as ne}from"./api/TotalPriceText.js";import{TotalPriceTextBuilder as re,totalPriceText as ie}from"./api/TotalPriceTextBuilder.js";import{UnitPriceText as ae}from"./api/UnitPriceText.js";import{UnitPriceTextBuilder as oe,unitPriceText as se}from"./api/UnitPriceTextBuilder.js";import{WeightText as ce}from"./api/WeightText.js";import{WeightTextBuilder as le,weightText as ue}from"./api/WeightTextBuilder.js";import{LabelCaptureAdvancedOverlay as de}from"./api/LabelCaptureAdvancedOverlay.js";import"./api/LabelCaptureAdvancedOverlayListener.js";import{labelCaptureLoader as fe}from"./moduleLoader.js";import{LabelCaptureValidationFlowSettings as pe}from"./api/LabelCaptureValidationFlowSettings.js";import{LabelCaptureValidationFlowOverlay as me}from"./api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js";import{LabelCaptureAdaptiveRecognitionOverlay as he}from"./api/LabelCaptureAdaptiveRecognitionOverlay.js";export{e as AdaptiveRecognitionMode,M as AdaptiveRecognitionResult,A as AdaptiveRecognitionResultType,a as CapturedLabel,F as Carrier,o as CustomBarcode,c as CustomBarcodeBuilder,u as CustomText,f as CustomTextBuilder,m as DateText,_ as DateTextBuilder,y as ExpiryDateText,b as ExpiryDateTextBuilder,S as ImeiOneBarcode,C as ImeiOneBarcodeBuilder,T as ImeiTwoBarcode,E as ImeiTwoBarcodeBuilder,L as LabelCapture,he as LabelCaptureAdaptiveRecognitionOverlay,j as LabelCaptureAdaptiveRecognitionSettings,de as LabelCaptureAdvancedOverlay,R as LabelCaptureBasicOverlay,O as LabelCaptureFeedback,k as LabelCaptureSession,H as LabelCaptureSettings,U as LabelCaptureSettingsBuilder,me as LabelCaptureValidationFlowOverlay,pe as LabelCaptureValidationFlowSettings,h as LabelDateComponentFormat,g as LabelDateFormat,r as LabelDateResult,z as LabelDefinition,B as LabelDefinitionBuilder,i as LabelField,s as LabelFieldDefinitionBuilder,G as LabelFieldLocation,t as LabelFieldState,n as LabelFieldType,K as LabelResultUpdateType,q as PackingDateText,J as PackingDateTextBuilder,X as PartNumberBarcode,Z as PartNumberBarcodeBuilder,N as ReceiptScanningLineItem,P as ReceiptScanningResult,$ as SerialNumberBarcode,ee as SerialNumberBarcodeBuilder,I as ShippingLabelScanningResult,d as TextFieldBuilder,ne as TotalPriceText,re as TotalPriceTextBuilder,ae as UnitPriceText,oe as UnitPriceTextBuilder,ce as WeightText,le as WeightTextBuilder,l as customBarcode,p as customText,v as dateText,x as expiryDateText,w as imeiOneBarcode,D as imeiTwoBarcode,V as label,fe as labelCaptureLoader,W as labelCaptureSettings,Y as packingDateText,Q as partNumberBarcode,te as serialNumberBarcode,ie as totalPriceText,se as unitPriceText,ue as weightText};
|
package/build/js/moduleLoader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{WorkerRegistry as e}from"./worker/WorkerRegistry.js";import{t}from"./LabelCaptureWorkerManager-
|
|
1
|
+
import{WorkerRegistry as e}from"./worker/WorkerRegistry.js";import{t}from"./LabelCaptureWorkerManager-AJWX-5XC.js";function n(){return{moduleName:`LabelCapture`,load:async n=>{let r=n,i=await t.create({...r,libraryLocation:r.libraryLocation});return e.set(`LabelCapture`,i),i}}}export{n as labelCaptureLoader};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { V as LabelCaptureModule, c as NativeProxyHandle } from "./AdaptiveRecognitionResult-
|
|
2
|
-
|
|
1
|
+
import { V as LabelCaptureModule, c as NativeProxyHandle } from "./AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
3
2
|
//#region src/main/worker/nativeCall.d.ts
|
|
4
3
|
type NativeClass = keyof LabelCaptureModule & string;
|
|
5
4
|
type NativeMethod<C extends NativeClass> = keyof LabelCaptureModule[C] & string;
|
|
6
|
-
type NativeCommand = { [C in NativeClass]: `${C}.${NativeMethod<C>}
|
|
5
|
+
type NativeCommand = { [C in NativeClass]: `${C}.${NativeMethod<C>}`; }[NativeClass];
|
|
7
6
|
type HandleOf<C extends NativeClass> = NativeProxyHandle & {
|
|
8
7
|
className: C;
|
|
9
8
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { c as NativeProxyHandle } from "../AdaptiveRecognitionResult-
|
|
2
|
-
import { t as LabelFieldDefinition } from "../LabelFieldDefinition-
|
|
1
|
+
import { c as NativeProxyHandle } from "../AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
2
|
+
import { t as LabelFieldDefinition } from "../LabelFieldDefinition-Dx10zV00.js";
|
|
3
3
|
import { nativeHandle } from "@scandit/web-datacapture-core/build/js/private/nativeHandle.js";
|
|
4
|
-
|
|
5
4
|
//#region src/main/private/PrivateLabelFieldDefinition.d.ts
|
|
6
5
|
interface PrivateLabelFieldDefinition extends LabelFieldDefinition {
|
|
7
6
|
[nativeHandle]: NativeProxyHandle;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as AdaptiveRecognitionMode } from "../AdaptiveRecognitionMode-
|
|
2
|
-
import { t as AdaptiveRecognitionMode$1 } from "../sdcLabelData-
|
|
3
|
-
|
|
1
|
+
import { t as AdaptiveRecognitionMode } from "../AdaptiveRecognitionMode-Ce7PcDLT.js";
|
|
2
|
+
import { t as AdaptiveRecognitionMode$1 } from "../sdcLabelData-BitL7YVQ.js";
|
|
4
3
|
//#region src/main/private/adaptiveRecognitionModeTranslator.d.ts
|
|
5
4
|
declare function mapWebAdaptiveRecognitionModeToNativeAdaptiveRecognitionMode(mode: AdaptiveRecognitionMode): AdaptiveRecognitionMode$1;
|
|
6
5
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../api/AdaptiveRecognitionMode.js";
|
|
1
|
+
import"../api/AdaptiveRecognitionMode.js";function e(e){return{off:0,auto:1,on:2}[e]}export{e as mapWebAdaptiveRecognitionModeToNativeAdaptiveRecognitionMode};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as Color$1 } from "../sdcCoreInternalSdkCommonGraphics-
|
|
2
|
-
import { t as Brush$1 } from "../sdcCoreInternalSdkUiStyle-
|
|
1
|
+
import { t as Color$1 } from "../sdcCoreInternalSdkCommonGraphics-Br9oizuP.js";
|
|
2
|
+
import { t as Brush$1 } from "../sdcCoreInternalSdkUiStyle-DrsrRbqR.js";
|
|
3
3
|
import { Brush, BrushJSON, Color } from "@scandit/web-datacapture-core";
|
|
4
|
-
|
|
5
4
|
//#region src/main/private/brushTranslator.d.ts
|
|
6
5
|
declare function nativeColorToWebColor(nativeColor: Color$1): Color;
|
|
7
6
|
declare function webColorToNativeColor(webColor: Color): Color$1;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { r as Carrier } from "../sdcLabelInternalModuleData-sZpfq0Gd.js";
|
|
2
|
+
import { t as Carrier$1 } from "../Carrier-CjlU3MQ0.js";
|
|
3
|
+
//#region src/main/private/carrierTranslator.d.ts
|
|
4
|
+
declare function mapNativeCarrierToWebCarrier(carrier: Carrier): Carrier$1;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { mapNativeCarrierToWebCarrier };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../api/Carrier.js";const e={0:`fedex`,1:`ups`,2:`usps`,3:`dhl`,4:`dpd`,5:`gls`,6:`tnt`,7:`amazon-logistics`,8:`ontrac`,9:`royal-mail`,10:`parcelforce`,11:`evri`,12:`yodel`,13:`chronopost`,14:`colissimo`,15:`mondial-relay`,16:`poste-italiane`,17:`brt`,18:`sda`,19:`hermes`,20:`austrian-post`,21:`swiss-post`,22:`postnl`,23:`bpost`,24:`postnord`,25:`correos`,26:`seur`,27:`inpost`,28:`other`,29:`not-available`};function t(t){return e[t]}export{t as mapNativeCarrierToWebCarrier};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as LabelCaptureBasicOverlay } from "../LabelCaptureBasicOverlay-
|
|
1
|
+
import { t as LabelCaptureBasicOverlay } from "../LabelCaptureBasicOverlay-CF4h_JL9.js";
|
|
2
2
|
import { LabelCaptureWorkerManager } from "../worker/LabelCaptureWorkerManager.js";
|
|
3
3
|
import { AimerViewfinder, RectangularViewfinder } from "@scandit/web-datacapture-core";
|
|
4
|
-
|
|
5
4
|
//#region src/main/private/createProxiedViewFinder.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* Creates a proxied viewfinder that notifies the worker when a property is set or a method is called.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as WrappedFuture } from "../sdcCoreInternalSdkCommonAsync-DNIa_gEu.js";
|
|
3
2
|
//#region src/main/private/fromWrappedFutureToPromise.d.ts
|
|
4
3
|
declare function fromWrappedFutureToPromise(future: WrappedFuture, errorMessage: string): Promise<boolean>;
|
|
5
4
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { r as LabelFieldLocationType } from "../sdcLabelData-
|
|
1
|
+
import { r as LabelFieldLocationType } from "../sdcLabelData-BitL7YVQ.js";
|
|
2
2
|
import { LabelFieldLocationType as LabelFieldLocationType$1 } from "../api/LabelFieldLocationType.js";
|
|
3
|
-
|
|
4
3
|
//#region src/main/private/labelFieldLocationTypeTranslator.d.ts
|
|
5
4
|
declare function mapWebLabelFieldLocationTypeToNativeLabelFieldLocationType(locationType: LabelFieldLocationType$1): LabelFieldLocationType;
|
|
6
5
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{LabelFieldLocationType as e}from"../api/LabelFieldLocationType.js";function t(t){return{[e.Bottom]:6,[e.BottomLeft]:3,[e.BottomRight]:2,[e.Center]:8,[e.Left]:7,[e.Right]:5,[e.Top]:4,[e.TopLeft]:0,[e.TopRight]:1,[e.WholeLabel]:9}[t]}export{t as mapWebLabelFieldLocationTypeToNativeLabelFieldLocationType};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as MeasureUnit$1, t as FloatWithUnit } from "../sdcCoreCommonGeometry-CS1rDunH.js";
|
|
2
2
|
import { MeasureUnit, NumberWithUnitJSON } from "@scandit/web-datacapture-core";
|
|
3
|
-
|
|
4
3
|
//#region src/main/private/measureTranslator.d.ts
|
|
5
4
|
declare function mapWebMeasureUnitToNativeMeasureUnit(measureUnit: MeasureUnit): MeasureUnit$1;
|
|
6
5
|
declare function mapNumberWithUnitToFloatWithUnit(numberWithUnit: NumberWithUnitJSON): FloatWithUnit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{MeasureUnit as e}from"@scandit/web-datacapture-core";function t(t){return{[e.Fraction]:2,[e.Pixel]:0}[t]}function n(e){return{value:e.value,unit:t(e.unit)}}export{n as mapNumberWithUnitToFloatWithUnit,t as mapWebMeasureUnitToNativeMeasureUnit};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as FloatWithUnit } from "../sdcCoreCommonGeometry-
|
|
1
|
+
import { t as FloatWithUnit } from "../sdcCoreCommonGeometry-CS1rDunH.js";
|
|
2
2
|
import { NumberWithUnit, NumberWithUnitJSON } from "@scandit/web-datacapture-core";
|
|
3
|
-
|
|
4
3
|
//#region src/main/private/numberTranslator.d.ts
|
|
5
4
|
declare function nativeFloatWithUnitToWebFloatWithUnit(nativeFloatWithUnit: FloatWithUnit): NumberWithUnit;
|
|
6
5
|
declare function webNumberWithUnitToNativeFloatWithUnit(webNumberWithUnitJSON: NumberWithUnitJSON): FloatWithUnit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{MeasureUnit as e,NumberWithUnit as t}from"@scandit/web-datacapture-core";const n={[e.Pixel]:0,[e.Fraction]:2},r={0:e.Pixel,2:e.Fraction,1:e.Pixel};function i(e){let n=r[e.unit];return new t(e.value,n)}function a(e){let t=n[e.unit];return{value:e.value,unit:t}}export{i as nativeFloatWithUnitToWebFloatWithUnit,a as webNumberWithUnitToNativeFloatWithUnit};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { t as AdaptiveRecognitionResultType } from "../sdcLabelInternalModuleData-sZpfq0Gd.js";
|
|
2
|
+
import { n as AdaptiveRecognitionResultType$1 } from "../AdaptiveRecognitionResult-y66P3VQQ.js";
|
|
3
|
+
//#region src/main/private/resultTypeTranslator.d.ts
|
|
4
|
+
declare function mapWebAdaptiveRecognitionResultTypeToNative(resultType: AdaptiveRecognitionResultType$1): AdaptiveRecognitionResultType;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { mapWebAdaptiveRecognitionResultTypeToNative };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../api/LabelCaptureAdaptiveRecognitionSettings.js";function e(e){return{receipt:0,"shipping-label":1}[e]}export{e as mapWebAdaptiveRecognitionResultTypeToNative};
|