@scandit/web-datacapture-label 8.5.1 → 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-BBWa1sgw.js +0 -1
- package/build/js/WorkerMain-dzOcGXQl.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/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.1.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.5a7e5789abb4.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
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{contextHandle as e,listenerHandle as t}from"./worker/workerHandles.js";import{DataCaptureLoader as n}from"@scandit/web-datacapture-core";var r=`label-worker-8.5.1.js`;function i(e){try{var t=e.endsWith(`/`)?e:e+`/`;return new URL(r,t).href}catch(t){var n=t instanceof Error?t.message:String(t);throw Error(`Invalid worker URL: `+e+`/`+r+` (`+n+`)`)}}function a(e){try{return new URL(e).origin===location.origin}catch(n){var t=n instanceof Error?n.message:String(n);return console.warn(`Could not determine origin for worker URL "`+e+`": `+t+`. Defaulting to cross-origin path.`),!1}}function o(e,t){/javascript|ecmascript/i.test(e.type)||(e=new Blob([e],{type:`application/javascript`}));var n=URL.createObjectURL(e),r=new Worker(n,{name:t});return setTimeout(function(){URL.revokeObjectURL(n)},0),r}async function s(e){if(!e||!e.libraryLocation)throw Error(`ExternalWorker requires options.libraryLocation`);var t=i(e.libraryLocation);try{var n=await fetch(t,a(t)?{}:{mode:`cors`});if(!n.ok)throw Error(`Failed to load worker script: `+t+` (status `+n.status+`)`);var r=await n.blob();return a(t)?new Worker(t,{name:e.name}):o(r,e.name)}catch(e){throw e instanceof Error&&e.message.startsWith(`Failed to load worker script:`)?e:Error(`Failed to load worker script: `+t+` (`+(e instanceof Error?e.message:e)+`)`)}}var c=class r extends n{constructor(...e){super(...e),this._name=`LabelCapture`}get dataCaptureWorker(){if(!this._dataCaptureWorker)throw Error(`Worker not initialized. Use LabelCaptureWorkerManager.create() to instantiate.`);return this._dataCaptureWorker}get name(){return this._name}async initializeNativeHandles(){return this._handshake??=(async()=>{let n=await this.workerCommand(`initializeNativeHandles`,{});this[e]=n.contextHandle,this[t]=n.listenerHandle})(),this._handshake}async createDataCaptureWorker(){return await s({name:this.name,libraryLocation:this.libraryLocation})}static async create(e){let t=new r(e);return t._dataCaptureWorker=await t.createDataCaptureWorker(),t.addWorkerMessageListener(),await t.workerCommand(`setLogLevel`,{level:t.logLevel}),await t.load(),t}async workerCommand(e,t,n){return new Promise((r,i)=>{let a=this.workerCommandId++;this.workerTasks.set(a,{resolve:r,reject:i,command:e});let o={...t,command:e,id:a};this.dataCaptureWorker.postMessage(o,n)})}};export{c as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{mapWebAdaptiveRecognitionModeToNativeAdaptiveRecognitionMode as e}from"./private/adaptiveRecognitionModeTranslator.js";import"./djinni-types/sdcCoreInternalSdkUiViewfinder.js";import{nativeImplementationRegistry as t}from"./worker/NativeImplementationRegistry.js";import{DataCaptureEngine as n}from"./worker/dataCaptureEngine.js";import{dispatchNativeCall as r,isNativeCallCommand as i}from"./worker/nativeDispatch.js";import{nativeBrushToWebBrush as a,webBrushToNativeBrush as o,webColorToNativeColor as s}from"./private/brushTranslator.js";import{webNumberWithUnitToNativeFloatWithUnit as c}from"./private/numberTranslator.js";import{ReceiptScanningHandler as l}from"./worker/handlers/ReceiptScanningHandler.js";import{mapNumberWithUnitToFloatWithUnit as u}from"./private/measureTranslator.js";import{ValidationFlowHandler as d}from"./worker/handlers/ValidationFlowHandler.js";import{Color as f}from"@scandit/web-datacapture-core";import{unknownErrorToString as p}from"@scandit/web-datacapture-core/build/js/private/utils/unknownErrorToString.js";import{WorkerMain as m}from"@scandit/web-datacapture-core/build/js/worker/index.js";const h=new j(globalThis,{get:()=>globalThis.Module,set:e=>{globalThis.Module=e}});var g=class{get Module(){return h.Module}impl(e){return t.get(e)}},_=new class extends g{async getName(e){return this.impl(e).getName()}async isOptional(e){return this.impl(e).isOptional()}async setOptional(e,t){throw Error(`This method must be implemented manually.`)}async getValueRegexes(e){return this.impl(e).getPatterns()}async setValueRegexes(e,t){throw Error(`This method must be implemented manually.`)}async getHiddenProperties(e){throw Error(`This method must be implemented manually.`)}async setHiddenProperties(e,t){throw Error(`This method must be implemented manually.`)}async getLocation(e){throw Error(`This method must be implemented manually.`)}async setLocation(e,t){throw Error(`This method must be implemented manually.`)}async getAnchorRegexes(e){throw Error(`This method must be implemented manually.`)}async setAnchorRegexes(e,t){throw Error(`This method must be implemented manually.`)}async getNumberOfMandatoryInstances(e){return this.impl(e).getNumberOfMandatoryInstances()}async setNumberOfMandatoryInstances(e,t){throw Error(`This method must be implemented manually.`)}},v=new class extends g{async create(e,n){let r=this.Module.LabelDefinition.create(e,n.map(e=>_.impl(e)));return t.register(`LabelDefinition`,r)}async getName(e){return this.impl(e).getName()}async getFieldDefinitions(e){return this.impl(e).getFieldDefinitions()}async createVinLabelDefinition(e){let n=this.Module.LabelDefinition.createVinLabelDefinition(e);return t.register(`LabelDefinition`,n)}async createPriceCaptureDefinition(e){let n=this.Module.LabelDefinition.createPriceCaptureDefinition(e);return t.register(`LabelDefinition`,n)}async getHiddenProperties(e){return this.impl(e).getHiddenProperties()}async setHiddenProperties(e,t){this.impl(e).setHiddenProperties(t)}async setAdaptiveRecognitionMode(t,n){let r=this.impl(t),i=e(n);r.setAdaptiveRecognitionMode(i)}},y=class{canHandle(e){return e.startsWith(`labelCaptureBuild`)}async handle(e){let{data:t}=e;switch(t.command){case`labelCaptureBuildVinLabelDefinition`:{let e=await v.createVinLabelDefinition(t.payload.name);t.payload.adaptiveRecognitionMode!==void 0&&await v.setAdaptiveRecognitionMode(e,t.payload.adaptiveRecognitionMode);let n=v.impl(e),r=n.getHiddenProperties(),i=n.getFieldDefinitions().map(e=>({name:e.getName(),patterns:e.getPatterns(),isOptional:e.isOptional(),numberOfMandatoryInstances:e.getNumberOfMandatoryInstances()??null}));return{payload:{handle:e,name:n.getName(),hiddenProperties:r,fields:i}}}case`labelCaptureBuildPriceCaptureDefinition`:{let e=await v.createPriceCaptureDefinition(t.payload.name);t.payload.adaptiveRecognitionMode!==void 0&&await v.setAdaptiveRecognitionMode(e,t.payload.adaptiveRecognitionMode);let n=v.impl(e),r=n.getHiddenProperties(),i=n.getFieldDefinitions().map(e=>({name:e.getName(),patterns:e.getPatterns(),isOptional:e.isOptional(),numberOfMandatoryInstances:e.getNumberOfMandatoryInstances()??null}));return{payload:{handle:e,name:n.getName(),hiddenProperties:r,fields:i}}}}}},b=new class extends g{create(){let e=this.Module.AimerViewfinder.create();return t.register(`AimerViewfinder`,e)}async setFrameColor(e,t){this.impl(e).setFrameColor(t)}async getFrameColor(e){return this.impl(e).getFrameColor()}async setDotColor(e,t){this.impl(e).setDotColor(t)}async getDotColor(e){return this.impl(e).getDotColor()}async getDotColorDefault(){return this.Module.AimerViewfinder.getDotColorDefault()}async getFrameColorDefault(){return this.Module.AimerViewfinder.getFrameColorDefault()}},x=new class extends g{create(){let e=this.Module.NoViewfinder.create();return t.register(`NoViewfinder`,e)}},S=new class extends g{create(e){let n=this.Module.RectangularViewfinderAnimation.create(e);return t.register(`RectangularViewfinderAnimation`,n)}async isLooping(e){return this.impl(e).isLooping()}async toJson(e){return this.impl(e).toJson()}getNativeImplementation(e){return this.impl(e)}},C=new class extends g{create(){let e=this.Module.RectangularViewfinder.create();return t.register(`RectangularViewfinder`,e)}createForStyles(e,n){let r=this.Module.RectangularViewfinder.createForStyles(e,n);return t.register(`RectangularViewfinder`,r)}async setWidthAndHeight(e,t,n){this.impl(e).setWidthAndHeight(t,n)}async setWidthAndAspectRatio(e,t,n){this.impl(e).setWidthAndAspectRatio(t,n)}async setHeightAndAspectRatio(e,t,n){this.impl(e).setHeightAndAspectRatio(t,n)}async setShorterDimensionAndAspectRatio(e,t,n){this.impl(e).setShorterDimensionAndAspectRatio(t,n)}async getSizeWithUnitAndAspect(e){return this.impl(e).getSizeWithUnitAndAspect()}async setColor(e,t){this.impl(e).setColor(t)}async getColor(e){return this.impl(e).getColor()}async setDisabledColor(e,t){this.impl(e).setDisabledColor(t)}async getDisabledColor(e){return this.impl(e).getDisabledColor()}async getStyle(e){return this.impl(e).getStyle()}async setAnimation(e,t){this.impl(e).setAnimation(t)}async getAnimation(e){return this.impl(e).getAnimation()}async setDimming(e,t){this.impl(e).setDimming(t)}async getDimming(e){return this.impl(e).getDimming()}async setDisabledDimming(e,t){this.impl(e).setDisabledDimming(t)}async getDisabledDimming(e){return this.impl(e).getDisabledDimming()}async getLineStyle(e){return this.impl(e).getLineStyle()}};async function w(e){if(e.type===`rectangular`){var t;let n=C.createForStyles(+(e.style===`rounded`),+(e.lineStyle===`light`)),r=[];e.size.width&&e.size.height?r.push(C.setWidthAndHeight(n,c(e.size.width),c(e.size.height))):e.size.width&&e.size.aspect?r.push(C.setWidthAndAspectRatio(n,c(e.size.width),e.size.aspect)):e.size.height&&e.size.aspect&&r.push(C.setHeightAndAspectRatio(n,c(e.size.height),e.size.aspect)),r.push(C.setColor(n,s(f.fromJSON(e.color)))),r.push(C.setDisabledColor(n,s(f.fromJSON(e.disabledColor)))),r.push(C.setDimming(n,e.dimming));let i=S.create(((t=e.animation)==null?void 0:t.looping)??!1);return r.push(C.setAnimation(n,S.getNativeImplementation(i))),await Promise.all(r),C.impl(n)}if(e.type===`aimer`){let t=b.create(),n=[];return n.push(b.setFrameColor(t,s(f.fromJSON(e.frameColor)))),n.push(b.setDotColor(t,s(f.fromJSON(e.dotColor)))),await Promise.all(n),b.impl(t)}return x.impl(x.create())}var T=class extends g{async create(e){let n=t.get(e),r=this.Module.LabelCaptureBasicOverlay.create(n);return t.register(`LabelCaptureBasicOverlay`,r)}async setDefaultFieldBrush(e,t,n){this.impl(e).setDefaultFieldBrush(t,n)}async getDefaultFieldBrush(e,t){return this.impl(e).getDefaultFieldBrush(t)}async setDefaultLabelBrush(e,t){this.impl(e).setDefaultLabelBrush(t)}async getDefaultLabelBrush(e){return this.impl(e).getDefaultLabelBrush()}async setBrushForField(e,t,n,r){this.impl(e).setBrushForField(t,n,r)}async setBrushForLabel(e,t,n){this.impl(e).setBrushForLabel(t,n)}async setListener(e,t){this.impl(e).setListener(t)}async getListener(e){return this.impl(e).getListener()}async setShouldShowScanAreaGuides(e,t){this.impl(e).setShouldShowScanAreaGuides(t)}async getShouldShowScanAreaGuides(e){return this.impl(e).getShouldShowScanAreaGuides()}async getViewfinder(e){return this.impl(e).getViewfinder()}async setViewfinder(e,t){this.impl(e).setViewfinder(t)}async asDataCaptureOverlay(e){return this.impl(e).asDataCaptureOverlay()}},E=new T,D=class{constructor(e){this.workerMain=e,this.labelBrushMap=new Map,this.fieldBrushMap=new Map,this.overlayListenerAdded=!1,this.labelCaptureBasicOverlayListener={onLabelTapped:(e,t)=>{this.workerMain.postCallbackMessage({type:`labelCaptureBasicOverlayOnLabelTapped`,payload:{labelJSON:JSON.parse(t.toJson())}})},brushForField:(e,t,n)=>(this.workerMain.postCallbackMessage({type:`labelCaptureBasicOverlayBrushForField`,payload:{fieldJSON:JSON.parse(t.toJson()),labelJSON:JSON.parse(n.toJson())}}),this.getBrushForField(n,t)),brushForLabel:(e,t)=>(this.workerMain.postCallbackMessage({type:`labelCaptureBasicOverlayBrushForLabel`,payload:{labelJSON:JSON.parse(t.toJson())}}),this.getBrushForLabel(t))}}canHandle(e){return e.startsWith(`labelCaptureBasicOverlay`)}async handle(e){let{data:t}=e;switch(t.command){case`labelCaptureBasicOverlayForLabelCapture`:return{payload:await E.create(t.payload.labelCaptureHandle)};case`labelCaptureBasicOverlaySetDefaultFieldBrush`:E.setDefaultFieldBrush(t.payload.labelCaptureBasicOverlayHandle,t.payload.labelFieldState,t.payload.brush?o(t.payload.brush):void 0);break;case`labelCaptureBasicOverlayGetDefaultFieldBrush`:{let e=await E.getDefaultFieldBrush(t.payload.labelCaptureBasicOverlayHandle,t.payload.labelFieldState);return{payload:e?a(e):void 0}}case`labelCaptureBasicOverlaySetDefaultLabelBrush`:E.setDefaultLabelBrush(t.payload.labelCaptureBasicOverlayHandle,t.payload.brush?o(t.payload.brush):void 0);break;case`labelCaptureBasicOverlayGetDefaultLabelBrush`:{let e=await E.getDefaultLabelBrush(t.payload.labelCaptureBasicOverlayHandle);return{payload:e?a(e):void 0}}case`labelCaptureBasicOverlaySetBrushForField`:{let{brush:e,fieldJSON:n,labelCaptureBasicOverlayHandle:r,labelJSON:i}=t.payload;if(this.overlayListenerAdded){let t=this.getFieldIdentifierFromJSON(i,n);if(e){let n=o(e);this.fieldBrushMap.set(t,n)}else this.fieldBrushMap.delete(t);break}await E.setBrushForField(r,e?o(e):void 0,n,i);break}case`labelCaptureBasicOverlaySetBrushForLabel`:{let{brush:e,labelCaptureBasicOverlayHandle:n,labelJSON:r}=t.payload;if(this.overlayListenerAdded){let t=this.getLabelIdentifierFromJSON(r);if(e){let n=o(e);this.labelBrushMap.set(t,n)}else this.labelBrushMap.delete(t);break}await E.setBrushForLabel(n,e?o(e):void 0,r);break}case`labelCaptureBasicOverlaySetListener`:await E.setListener(t.payload.labelCaptureBasicOverlayHandle,this.labelCaptureBasicOverlayListener),this.overlayListenerAdded=!0;break;case`labelCaptureBasicOverlaySetShouldShowScanAreaGuides`:await E.setShouldShowScanAreaGuides(t.payload.labelCaptureBasicOverlayHandle,t.payload.show);break;case`labelCaptureBasicOverlayGetShouldShowScanAreaGuides`:return{payload:await E.getShouldShowScanAreaGuides(t.payload.labelCaptureBasicOverlayHandle)};case`labelCaptureBasicOverlayGetViewfinder`:return{payload:await E.getViewfinder(t.payload.labelCaptureBasicOverlayHandle)};case`labelCaptureBasicOverlayUpdateViewfinder`:{let e=await w(t.payload.viewfinderJSON);await E.setViewfinder(t.payload.labelCaptureBasicOverlayHandle,e);break}}}getBrushForField(e,t){let n=this.getFieldIdentifier(e,t);return this.fieldBrushMap.get(n)}getBrushForLabel(e){let t=this.getLabelIdentifier(e);return this.labelBrushMap.get(t)}getFieldIdentifier(e,t){return`${e.getTrackingId()}-${t.getName()}-${t.getText()??``}`}getFieldIdentifierFromJSON(e,t){return`${e.trackingId}-${t.name}-${t.text??``}`}getLabelIdentifier(e){return e.getTrackingId()}getLabelIdentifierFromJSON(e){return e.trackingId}};const O=e=>e.result!=null&&e.error==null;var k=new class extends g{async loadFromString(e){let n=this.Module.LabelCaptureSettings.loadFromString(e);if(!O(n))throw Error(n.error);let r=n.result;return t.register(`LabelCaptureSettings`,r)}async createFromLabelDefinitions(e){let n=this.Module.LabelCaptureSettings.createFromLabelDefinitions(e.map(e=>v.impl(e)));if(!O(n))throw Error(n.error);let r=n.result;return t.register(`LabelCaptureSettings`,r)}async create(e,n,r){let i=this.Module.LabelCaptureSettings.create(e.map(e=>v.impl(e)),n,r);if(!O(i))throw Error(i.error);let a=i.result;return t.register(`LabelCaptureSettings`,a)}async setLocationSelection(e,t){this.impl(e).setLocationSelection(t)}async getLocationSelection(e){throw Error(`This method must be implemented manually.`)}async getLicenseKey(e){return this.impl(e).getLicenseKey()}async setLicenseKey(e,t){this.impl(e).setLicenseKey(t)}async getLicensee(e){return this.impl(e).getLicensee()}async setLicensee(e,t){this.impl(e).setLicensee(t)}async getIntProperty(e,t){return this.impl(e).getIntProperty(t)}async setIntProperty(e,t,n){this.impl(e).setIntProperty(t,n)}async getBlueprintJson(e){return this.impl(e).getBlueprintJson()}},A=class{constructor(e){this.workerMain=e}canHandle(e){return e.startsWith(`labelCaptureSettings`)}async handle(e){let{data:t}=e;switch(t.command){case`labelCaptureSettingsGetLocationSelection`:{let e=await k.impl(t.payload.settingsHandle).getLocationSelection();return{payload:e?JSON.parse(e.toJson()):void 0}}case`labelCaptureSettingsSetLocationSelection`:if(t.payload.locationSelection.type===`rectangular`){let e=t.payload.locationSelection,n=this.workerMain.Module.RectangularLocationSelection.create();if(e.size.width&&e.size.aspect){let t=u(e.size.width);n.setWidthAndAspectRatio(t,e.size.aspect)}if(e.size.height&&e.size.aspect){let t=u(e.size.height);n.setHeightAndAspectRatio(t,e.size.aspect)}if(e.size.width&&e.size.height){let t=u(e.size.width),r=u(e.size.height);n.setWidthAndHeight(t,r)}k.impl(t.payload.settingsHandle).setLocationSelection(n)}break}}},j=class extends m{constructor(e,t){super(e,t),this.dataCaptureInstance=new n(t,{postMessage:this.postMessage.bind(this),getOffscreenCanvas:this.getOffscreenCanvas.bind(this)}),this.fieldBuilderHandler=new y,this.settingsHandler=new A(this),this.labelCaptureBasicOverlayHandler=new D(this),this.validationFlowHandler=new d(this),this.receiptScanningHandler=new l(this)}get Module(){return this.dataCaptureInstance.Module}async respondWith(e,t,n){let r=null,i;try{i=n(),i instanceof Promise&&(i=await i)}catch(e){i=void 0,r=p(e)}let a={type:`workerTaskId`,command:e,id:t,payload:this.hasPayload(i)?i.payload:void 0};r!=null&&(a.error=r),this.postMessage(a,this.hasTransferables(i)?i.transferables:[])}postCallbackMessage(e,t){this.postMessage(e,t)}onMessage(e){let n=e.data.command;if(n==null)return super.onMessage(e);if(i(n)){let t=e;return this.respondWith(n,t.data.id,async()=>({payload:await r(t.data,{module:this.Module})})),!0}return n===`initializeNativeHandles`?(this.respondWith(n,e.data.id,()=>({payload:{contextHandle:t.register(`DataCaptureContext`,this.dataCaptureInstance.context),listenerHandle:t.register(`LabelCaptureListener`,this)}})),!0):this.fieldBuilderHandler.canHandle(n)?(this.respondWith(n,e.data.id,()=>this.fieldBuilderHandler.handle(e)),!0):this.settingsHandler.canHandle(n)?(this.respondWith(n,e.data.id,()=>this.settingsHandler.handle(e)),!0):this.labelCaptureBasicOverlayHandler.canHandle(n)?(this.respondWith(n,e.data.id,()=>this.labelCaptureBasicOverlayHandler.handle(e)),!0):this.validationFlowHandler.canHandle(n)?(this.respondWith(n,e.data.id,()=>this.validationFlowHandler.handle(e)),!0):this.receiptScanningHandler.canHandle(n)?(this.respondWith(n,e.data.id,()=>this.receiptScanningHandler.handle(e)),!0):n===`addNativeOverlay`?(this.respondWith(n,e.data.id,async()=>{this.dataCaptureInstance.addNativeOverlay(e)}),!0):n===`removeNativeOverlay`?(this.respondWith(n,e.data.id,async()=>{this.dataCaptureInstance.removeNativeOverlay(e)}),!0):super.onMessage(e)}onObservationStarted(){this.postCallbackMessage({type:`labelCaptureOnObservationStarted`})}onObservationStopped(){this.postCallbackMessage({type:`labelCaptureOnObservationStopped`})}onSessionUpdated(e,t,n){this.postCallbackMessage({type:`labelCaptureOnSessionUpdated`,payload:{session:JSON.parse(t.toJson()),data:this.dataCaptureInstance.prepareFrameForListener(n)}}),n.delete()}};export{T as a,C as c,b as d,y as f,g as h,D as i,S as l,_ as m,A as n,E as o,v as p,k as r,w as s,j as t,x as u};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region src/main/djinni-types/sdcAnalyticsModule.d.ts
|
|
2
|
-
interface PropertySubscriber {
|
|
3
|
-
/**
|
|
4
|
-
* json_object must contain an object of the form
|
|
5
|
-
* {"key": "a string", "value": anyValidJsonValue}
|
|
6
|
-
* where the "key" will be the identifier which was used
|
|
7
|
-
* when getting the behavior subject.
|
|
8
|
-
*/
|
|
9
|
-
onPropertyChanged(property: any): void;
|
|
10
|
-
}
|
|
11
|
-
interface PropertyBehaviorSubject {
|
|
12
|
-
addSubscriber(listener: PropertySubscriber): void;
|
|
13
|
-
removeSubscriber(listener: PropertySubscriber): void;
|
|
14
|
-
}
|
|
15
|
-
interface PropertyPushSource {
|
|
16
|
-
/**
|
|
17
|
-
* identifier will appear in the property_changed event
|
|
18
|
-
* as the 'key' of a json object
|
|
19
|
-
*/
|
|
20
|
-
getBehaviorSubject(identifier: string): PropertyBehaviorSubject;
|
|
21
|
-
}
|
|
22
|
-
interface SdcAnalyticsModule_statics {}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { PropertyBehaviorSubject, PropertyPushSource, PropertySubscriber, SdcAnalyticsModule_statics };
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.EAN13_UPCA=0]=`EAN13_UPCA`,e[e.UPCE=1]=`UPCE`,e[e.EAN8=2]=`EAN8`,e[e.CODE39=3]=`CODE39`,e[e.CODE93=4]=`CODE93`,e[e.CODE128=5]=`CODE128`,e[e.CODE11=6]=`CODE11`,e[e.CODE25=7]=`CODE25`,e[e.CODABAR=8]=`CODABAR`,e[e.INTERLEAVED_TWO_OF_FIVE=9]=`INTERLEAVED_TWO_OF_FIVE`,e[e.MSI_PLESSEY=10]=`MSI_PLESSEY`,e[e.QR=11]=`QR`,e[e.DATA_MATRIX=12]=`DATA_MATRIX`,e[e.AZTEC=13]=`AZTEC`,e[e.MAXI_CODE=14]=`MAXI_CODE`,e[e.DOT_CODE=15]=`DOT_CODE`,e[e.KIX=16]=`KIX`,e[e.ROYAL_MAIL_4STATE=17]=`ROYAL_MAIL_4STATE`,e[e.GS1_DATABAR=18]=`GS1_DATABAR`,e[e.GS1_DATABAR_EXPANDED=19]=`GS1_DATABAR_EXPANDED`,e[e.GS1_DATABAR_LIMITED=20]=`GS1_DATABAR_LIMITED`,e[e.PDF417=21]=`PDF417`,e[e.MICRO_PDF417=22]=`MICRO_PDF417`,e[e.MICRO_QR=23]=`MICRO_QR`,e[e.CODE32=24]=`CODE32`,e[e.LAPA4SC=25]=`LAPA4SC`,e[e.IATA_TWO_OF_FIVE=26]=`IATA_TWO_OF_FIVE`,e[e.MATRIX_TWO_OF_FIVE=27]=`MATRIX_TWO_OF_FIVE`,e[e.USPS_INTELLIGENT_MAIL=28]=`USPS_INTELLIGENT_MAIL`,e[e.ARUCO=29]=`ARUCO`,e[e.UPU4STATE=30]=`UPU4STATE`,e[e.AUSTRALIANPOST=31]=`AUSTRALIANPOST`,e[e.FRENCHPOST=32]=`FRENCHPOST`,e}({}),t=function(e){return e[e.NONE=0]=`NONE`,e[e.UNKNOWN=1]=`UNKNOWN`,e[e.LINKED=2]=`LINKED`,e[e.GS1_TYPE_A=3]=`GS1_TYPE_A`,e[e.GS1_TYPE_B=4]=`GS1_TYPE_B`,e[e.GS1_TYPE_C=5]=`GS1_TYPE_C`,e}({});export{t as CompositeFlag,e as Symbology};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.LEFT_TO_RIGHT=0]=`LEFT_TO_RIGHT`,e[e.RIGHT_TO_LEFT=1]=`RIGHT_TO_LEFT`,e[e.HORIZONTAL=2]=`HORIZONTAL`,e[e.TOP_TO_BOTTOM=3]=`TOP_TO_BOTTOM`,e[e.BOTTOM_TO_TOP=4]=`BOTTOM_TO_TOP`,e[e.VERTICAL=5]=`VERTICAL`,e[e.NONE=6]=`NONE`,e}({});export{e as Direction};
|
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as PointWithUnit, c as SdcCoreCommonGeometry_statics, d as SizeWithUnit, f as SizingMode, i as Point, l as Size2, n as MarginsWithUnit, o as Quadrilateral, r as MeasureUnit, s as Rect, t as FloatWithUnit, u as SizeWithAspect } from "../sdcCoreCommonGeometry-Bxvlllkc.js";
|
|
2
|
-
export { FloatWithUnit, MarginsWithUnit, MeasureUnit, Point, PointWithUnit, Quadrilateral, Rect, SdcCoreCommonGeometry_statics, Size2, SizeWithAspect, SizeWithUnit, SizingMode };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.PIXEL=0]=`PIXEL`,e[e.DIP=1]=`DIP`,e[e.FRACTION=2]=`FRACTION`,e}({}),t=function(e){return e[e.WIDTH_AND_HEIGHT=0]=`WIDTH_AND_HEIGHT`,e[e.WIDTH_AND_ASPECT_RATIO=1]=`WIDTH_AND_ASPECT_RATIO`,e[e.HEIGHT_AND_ASPECT_RATIO=2]=`HEIGHT_AND_ASPECT_RATIO`,e[e.SHORTER_DIMENSION_AND_ASPECT_RATIO=3]=`SHORTER_DIMENSION_AND_ASPECT_RATIO`,e}({});export{e as MeasureUnit,t as SizingMode};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.Y=0]=`Y`,e[e.U=1]=`U`,e[e.V=2]=`V`,e[e.R=3]=`R`,e[e.G=4]=`G`,e[e.B=5]=`B`,e[e.A=6]=`A`,e[e.D=7]=`D`,e}({});export{e as Channel};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as RadiusLocationSelection_statics, c as SdcCoreInternalSdkArea_statics, i as RadiusLocationSelection, n as NoLocationSelection, o as RectangularLocationSelection, r as NoLocationSelection_statics, s as RectangularLocationSelection_statics, t as LocationSelection } from "../sdcCoreInternalSdkArea-BDbnSRls.js";
|
|
2
|
-
export { LocationSelection, NoLocationSelection, NoLocationSelection_statics, RadiusLocationSelection, RadiusLocationSelection_statics, RectangularLocationSelection, RectangularLocationSelection_statics, SdcCoreInternalSdkArea_statics };
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.UNKNOWN=0]=`UNKNOWN`,e[e.SUPPORTED=1]=`SUPPORTED`,e[e.UNSUPPORTED=2]=`UNSUPPORTED`,e}({});export{e as FeatureAvailability};
|
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as ImageConverterInstance, c as SizeWithUnitAndAspect, i as ImageConverter, l as SizeWithUnitAndAspect_statics, n as BitmapWithFormat, o as ImageConverter_statics, r as ImageBuffer, s as SdcCoreInternalSdkCommonGeometry_statics, t as BitmapByteOrder } from "../sdcCoreInternalSdkCommonGeometry-BdkRyMJ5.js";
|
|
2
|
-
export { BitmapByteOrder, BitmapWithFormat, ImageBuffer, ImageConverter, ImageConverterInstance, ImageConverter_statics, SdcCoreInternalSdkCommonGeometry_statics, SizeWithUnitAndAspect, SizeWithUnitAndAspect_statics };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.RGBA=0]=`RGBA`,e[e.BGRA=1]=`BGRA`,e}({});export{e as BitmapByteOrder};
|
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as SdcCoreInternalSdkOcr_statics, i as ExternalOcrBackendResult, n as ExternalOcrBackendHelper, o as TextRecognizerSettings, r as ExternalOcrBackendHelper_statics, t as ExternalOcrBackend } from "../sdcCoreInternalSdkOcr-rkdYyZLs.js";
|
|
2
|
-
export { ExternalOcrBackend, ExternalOcrBackendHelper, ExternalOcrBackendHelper_statics, ExternalOcrBackendResult, SdcCoreInternalSdkOcr_statics, TextRecognizerSettings };
|
|
File without changes
|
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as NoViewfinder_statics, c as RectangularViewfinderAnimation_statics, d as RectangularViewfinder_statics, f as SdcCoreInternalSdkUiViewfinder_statics, h as Viewfinder, i as NoViewfinder, l as RectangularViewfinderLineStyle, m as TargetAimerViewfinder_statics, n as AimerViewfinder_statics, o as RectangularViewfinder, p as TargetAimerViewfinder, r as BaseRectangularViewfinder, s as RectangularViewfinderAnimation, t as AimerViewfinder, u as RectangularViewfinderStyle } from "../sdcCoreInternalSdkUiViewfinder-BoG0LyRj.js";
|
|
2
|
-
export { AimerViewfinder, AimerViewfinder_statics, BaseRectangularViewfinder, NoViewfinder, NoViewfinder_statics, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderAnimation_statics, RectangularViewfinderLineStyle, RectangularViewfinderStyle, RectangularViewfinder_statics, SdcCoreInternalSdkUiViewfinder_statics, TargetAimerViewfinder, TargetAimerViewfinder_statics, Viewfinder };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.SQUARE=0]=`SQUARE`,e[e.ROUNDED=1]=`ROUNDED`,e}({}),t=function(e){return e[e.BOLD=0]=`BOLD`,e[e.LIGHT=1]=`LIGHT`,e}({});export{t as RectangularViewfinderLineStyle,e as RectangularViewfinderStyle};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as LabelFieldType, i as LabelFieldState, n as LabelDateComponentFormat, o as SdcLabelData_statics, r as LabelFieldLocationType, t as AdaptiveRecognitionMode } from "../sdcLabelData-CHLquvuG.js";
|
|
2
|
-
export { AdaptiveRecognitionMode, LabelDateComponentFormat, LabelFieldLocationType, LabelFieldState, LabelFieldType, SdcLabelData_statics };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.CAPTURED=0]=`CAPTURED`,e[e.PREDICTED=1]=`PREDICTED`,e[e.UNKNOWN=2]=`UNKNOWN`,e}({}),t=function(e){return e[e.BARCODE=0]=`BARCODE`,e[e.TEXT=1]=`TEXT`,e[e.OBJECT=2]=`OBJECT`,e[e.UNKNOWN=3]=`UNKNOWN`,e}({}),n=function(e){return e[e.TOP_LEFT=0]=`TOP_LEFT`,e[e.TOP_RIGHT=1]=`TOP_RIGHT`,e[e.BOTTOM_RIGHT=2]=`BOTTOM_RIGHT`,e[e.BOTTOM_LEFT=3]=`BOTTOM_LEFT`,e[e.TOP=4]=`TOP`,e[e.RIGHT=5]=`RIGHT`,e[e.BOTTOM=6]=`BOTTOM`,e[e.LEFT=7]=`LEFT`,e[e.CENTER=8]=`CENTER`,e[e.WHOLE_LABEL=9]=`WHOLE_LABEL`,e}({}),r=function(e){return e[e.DMY=0]=`DMY`,e[e.MDY=1]=`MDY`,e[e.YMD=2]=`YMD`,e}({}),i=function(e){return e[e.OFF=0]=`OFF`,e[e.AUTO=1]=`AUTO`,e[e.ON=2]=`ON`,e}({});export{i as AdaptiveRecognitionMode,r as LabelDateComponentFormat,n as LabelFieldLocationType,e as LabelFieldState,t as LabelFieldType};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { A as LabelResultUpdateType, B as TextField, C as LabelDateFormat, D as LabelFieldLocation, E as LabelFieldDefinition, F as ReceiptScanningHandler, G as ValidationFlowField, H as TotalPriceText_statics, I as ReceiptScanningListener, J as ValidationFlowState, K as ValidationFlowHandler, L as SdcLabelInternalModuleCapture_statics, M as PackingDateText_statics, N as PartNumberBarcode, O as LabelFieldLocation_statics, P as PartNumberBarcode_statics, R as SerialNumberBarcode, S as LabelCapture_statics, T as LabelDefinition_statics, U as UnitPriceText, V as TotalPriceText, W as UnitPriceText_statics, X as WeightText_statics, Y as WeightText, _ as LabelCaptureHelper_statics, a as CustomText, b as LabelCaptureSettings, c as DateText_statics, d as ImeiOneBarcode, f as ImeiOneBarcode_statics, g as LabelCaptureHelper, h as LabelCapture, i as CustomBarcode_statics, j as PackingDateText, k as LabelResultUpdate, l as ExpiryDateText, m as ImeiTwoBarcode_statics, n as BarcodeField_statics, o as CustomText_statics, p as ImeiTwoBarcode, q as ValidationFlowListener, r as CustomBarcode, s as DateText, t as BarcodeField, u as ExpiryDateText_statics, v as LabelCaptureListener, w as LabelDefinition, x as LabelCaptureSettings_statics, y as LabelCaptureSession, z as SerialNumberBarcode_statics } from "../sdcLabelInternalModuleCapture-B6-1Wjzn.js";
|
|
2
|
-
export { BarcodeField, BarcodeField_statics, CustomBarcode, CustomBarcode_statics, CustomText, CustomText_statics, DateText, DateText_statics, ExpiryDateText, ExpiryDateText_statics, ImeiOneBarcode, ImeiOneBarcode_statics, ImeiTwoBarcode, ImeiTwoBarcode_statics, LabelCapture, LabelCaptureHelper, LabelCaptureHelper_statics, LabelCaptureListener, LabelCaptureSession, LabelCaptureSettings, LabelCaptureSettings_statics, LabelCapture_statics, LabelDateFormat, LabelDefinition, LabelDefinition_statics, LabelFieldDefinition, LabelFieldLocation, LabelFieldLocation_statics, LabelResultUpdate, LabelResultUpdateType, PackingDateText, PackingDateText_statics, PartNumberBarcode, PartNumberBarcode_statics, ReceiptScanningHandler, ReceiptScanningListener, SdcLabelInternalModuleCapture_statics, SerialNumberBarcode, SerialNumberBarcode_statics, TextField, TotalPriceText, TotalPriceText_statics, UnitPriceText, UnitPriceText_statics, ValidationFlowField, ValidationFlowHandler, ValidationFlowListener, ValidationFlowState, WeightText, WeightText_statics };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.SYNC=0]=`SYNC`,e[e.ASYNC_STARTED=1]=`ASYNC_STARTED`,e[e.ASYNC_FINISHED=2]=`ASYNC_FINISHED`,e}({}),t=function(e){return e[e.IDLE=0]=`IDLE`,e[e.IN_PARTIAL_SCAN=1]=`IN_PARTIAL_SCAN`,e[e.IN_COMPLETE_SCAN=2]=`IN_COMPLETE_SCAN`,e[e.PAUSED=3]=`PAUSED`,e[e.FINISHED=4]=`FINISHED`,e}({});export{e as LabelResultUpdateType,t as ValidationFlowState};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as ReceiptScanningLineItem, i as LabelFieldValueType, n as LabelDateResult, o as ReceiptScanningResult, r as LabelField, s as SdcLabelInternalModuleData_statics, t as CapturedLabel } from "../sdcLabelInternalModuleData-D_O2Y4cu.js";
|
|
2
|
-
export { CapturedLabel, LabelDateResult, LabelField, LabelFieldValueType, ReceiptScanningLineItem, ReceiptScanningResult, SdcLabelInternalModuleData_statics };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e=function(e){return e[e.DATE=0]=`DATE`,e[e.PRICE=1]=`PRICE`,e[e.WEIGHT=2]=`WEIGHT`,e[e.TEXT=3]=`TEXT`,e[e.NUMERIC=4]=`NUMERIC`,e}({});export{e as LabelFieldValueType};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as LabelCaptureBasicOverlay_statics, c as ReceiptScanningSettings, d as ValidationFlowOverlay, f as ValidationFlowOverlay_statics, g as ValidationFlowSettings_statics, h as ValidationFlowSettingsDefaults_statics, i as LabelCaptureBasicOverlayListener, l as ReceiptScanningSettings_statics, m as ValidationFlowSettingsDefaults, n as LabelCaptureAdvancedOverlay_statics, o as ReceiptScanningOverlay, p as ValidationFlowSettings, r as LabelCaptureBasicOverlay, s as ReceiptScanningOverlay_statics, t as LabelCaptureAdvancedOverlay, u as SdcLabelInternalModuleUiOverlay_statics } from "../sdcLabelInternalModuleUiOverlay-CGIKcVOW.js";
|
|
2
|
-
export { LabelCaptureAdvancedOverlay, LabelCaptureAdvancedOverlay_statics, LabelCaptureBasicOverlay, LabelCaptureBasicOverlayListener, LabelCaptureBasicOverlay_statics, ReceiptScanningOverlay, ReceiptScanningOverlay_statics, ReceiptScanningSettings, ReceiptScanningSettings_statics, SdcLabelInternalModuleUiOverlay_statics, ValidationFlowOverlay, ValidationFlowOverlay_statics, ValidationFlowSettings, ValidationFlowSettingsDefaults, ValidationFlowSettingsDefaults_statics, ValidationFlowSettings_statics };
|
|
File without changes
|
|
File without changes
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { o as Quadrilateral } from "./sdcCoreCommonGeometry-Bxvlllkc.js";
|
|
2
|
-
import { r as Symbology, t as CompositeFlag } from "./sdcBarcodeData-DOuUPRUb.js";
|
|
3
|
-
import { t as EncodingRange } from "./sdcCoreCommonBuffer-DjQM-W5x.js";
|
|
4
|
-
|
|
5
|
-
//#region src/main/djinni-types/sdcBarcodeInternalSdkData.d.ts
|
|
6
|
-
interface Barcode {
|
|
7
|
-
getSymbology(): Symbology;
|
|
8
|
-
getDataEncoding(): Array<EncodingRange>;
|
|
9
|
-
getUtf8String(): string | undefined;
|
|
10
|
-
getLocation(): Quadrilateral;
|
|
11
|
-
isGs1DataCarrier(): boolean;
|
|
12
|
-
getCompositeFlag(): CompositeFlag;
|
|
13
|
-
getFrameId(): number;
|
|
14
|
-
getSymbolCount(): number;
|
|
15
|
-
isColorInverted(): boolean;
|
|
16
|
-
getData(): Uint8Array;
|
|
17
|
-
getAddOnData(): string | undefined;
|
|
18
|
-
getCompositeData(): string | undefined;
|
|
19
|
-
getCompositeRawData(): Uint8Array;
|
|
20
|
-
isStructuredAppend(): boolean;
|
|
21
|
-
getStructuredAppendData(): AbstractStructuredAppendData | undefined;
|
|
22
|
-
getPixelPerElement(): number;
|
|
23
|
-
toJson(): string;
|
|
24
|
-
}
|
|
25
|
-
interface AbstractStructuredAppendData {
|
|
26
|
-
isComplete(): boolean;
|
|
27
|
-
getBarcodeSetId(): string;
|
|
28
|
-
getScannedSegmentCount(): number;
|
|
29
|
-
getTotalSegmentCount(): number;
|
|
30
|
-
getCompleteDataRaw(): Uint8Array;
|
|
31
|
-
getCompleteDataEncodings(): Array<EncodingRange>;
|
|
32
|
-
getCompleteDataUtf8String(): string | undefined;
|
|
33
|
-
}
|
|
34
|
-
interface SdcBarcodeInternalSdkData_statics {}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { Barcode as n, SdcBarcodeInternalSdkData_statics as r, AbstractStructuredAppendData as t };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/main/djinni-types/sdcCoreCommon.d.ts
|
|
2
|
-
declare enum Direction {
|
|
3
|
-
LEFT_TO_RIGHT = 0,
|
|
4
|
-
RIGHT_TO_LEFT = 1,
|
|
5
|
-
HORIZONTAL = 2,
|
|
6
|
-
TOP_TO_BOTTOM = 3,
|
|
7
|
-
BOTTOM_TO_TOP = 4,
|
|
8
|
-
VERTICAL = 5,
|
|
9
|
-
NONE = 6
|
|
10
|
-
}
|
|
11
|
-
interface SdcCoreCommon_statics {}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SdcCoreCommon_statics as n, Direction as t };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/main/djinni-types/sdcCoreCommonBuffer.d.ts
|
|
2
|
-
interface EncodingRange {
|
|
3
|
-
ianaName: string;
|
|
4
|
-
/** actually a u32, but this type is not supported by djinni */
|
|
5
|
-
startIndex: number;
|
|
6
|
-
/** actually a u32, but this type is not supported by djinni */
|
|
7
|
-
endIndex: number;
|
|
8
|
-
}
|
|
9
|
-
interface SdcCoreCommonBuffer_statics {}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { SdcCoreCommonBuffer_statics as n, EncodingRange as t };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
//#region src/main/djinni-types/sdcCoreCommonGraphic.d.ts
|
|
2
|
-
declare enum Channel {
|
|
3
|
-
Y = 0,
|
|
4
|
-
U = 1,
|
|
5
|
-
V = 2,
|
|
6
|
-
R = 3,
|
|
7
|
-
G = 4,
|
|
8
|
-
B = 5,
|
|
9
|
-
A = 6,
|
|
10
|
-
D = 7
|
|
11
|
-
}
|
|
12
|
-
interface ImagePlane {
|
|
13
|
-
channel: Channel;
|
|
14
|
-
subsamplingX: number;
|
|
15
|
-
subsamplingY: number;
|
|
16
|
-
rowStride: number;
|
|
17
|
-
pixelStride: number;
|
|
18
|
-
data: Uint8Array;
|
|
19
|
-
}
|
|
20
|
-
interface SdcCoreCommonGraphic_statics {}
|
|
21
|
-
//#endregion
|
|
22
|
-
export { ImagePlane as n, SdcCoreCommonGraphic_statics as r, Channel as t };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { t as FloatWithUnit } from "./sdcCoreCommonGeometry-Bxvlllkc.js";
|
|
2
|
-
import { c as SizeWithUnitAndAspect } from "./sdcCoreInternalSdkCommonGeometry-BdkRyMJ5.js";
|
|
3
|
-
|
|
4
|
-
//#region src/main/djinni-types/sdcCoreInternalSdkArea.d.ts
|
|
5
|
-
interface LocationSelection {}
|
|
6
|
-
interface NoLocationSelection {
|
|
7
|
-
asLocationSelection(): LocationSelection;
|
|
8
|
-
toJson(): string;
|
|
9
|
-
}
|
|
10
|
-
interface NoLocationSelection_statics {
|
|
11
|
-
create(): NoLocationSelection;
|
|
12
|
-
}
|
|
13
|
-
interface RadiusLocationSelection {
|
|
14
|
-
asLocationSelection(): LocationSelection;
|
|
15
|
-
getRadius(): FloatWithUnit;
|
|
16
|
-
toJson(): string;
|
|
17
|
-
}
|
|
18
|
-
interface RadiusLocationSelection_statics {
|
|
19
|
-
create(radius: FloatWithUnit): RadiusLocationSelection;
|
|
20
|
-
}
|
|
21
|
-
interface RectangularLocationSelection {
|
|
22
|
-
asLocationSelection(): LocationSelection;
|
|
23
|
-
setWidthAndHeight(width: FloatWithUnit, height: FloatWithUnit): void;
|
|
24
|
-
setWidthAndAspectRatio(width: FloatWithUnit, heightToWidthAspect: number): void;
|
|
25
|
-
setHeightAndAspectRatio(height: FloatWithUnit, widthToHeightAspect: number): void;
|
|
26
|
-
getSizeWithUnitAndAspect(): SizeWithUnitAndAspect;
|
|
27
|
-
toJson(): string;
|
|
28
|
-
}
|
|
29
|
-
interface RectangularLocationSelection_statics {
|
|
30
|
-
create(): RectangularLocationSelection;
|
|
31
|
-
}
|
|
32
|
-
interface SdcCoreInternalSdkArea_statics {
|
|
33
|
-
NoLocationSelection: NoLocationSelection_statics;
|
|
34
|
-
RadiusLocationSelection: RadiusLocationSelection_statics;
|
|
35
|
-
RectangularLocationSelection: RectangularLocationSelection_statics;
|
|
36
|
-
}
|
|
37
|
-
//#endregion
|
|
38
|
-
export { RadiusLocationSelection_statics as a, SdcCoreInternalSdkArea_statics as c, RadiusLocationSelection as i, NoLocationSelection as n, RectangularLocationSelection as o, NoLocationSelection_statics as r, RectangularLocationSelection_statics as s, LocationSelection as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//#region src/main/djinni-types/sdcCoreInternalSdkCapture.d.ts
|
|
2
|
-
declare enum FeatureAvailability {
|
|
3
|
-
UNKNOWN = 0,
|
|
4
|
-
SUPPORTED = 1,
|
|
5
|
-
UNSUPPORTED = 2
|
|
6
|
-
}
|
|
7
|
-
interface SdcCoreInternalSdkCapture_statics {}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { SdcCoreInternalSdkCapture_statics as n, FeatureAvailability as t };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { d as SizeWithUnit, f as SizingMode, s as Rect, t as FloatWithUnit, u as SizeWithAspect } from "./sdcCoreCommonGeometry-Bxvlllkc.js";
|
|
2
|
-
import { n as ImagePlane } from "./sdcCoreCommonGraphic-hFLsxC6K.js";
|
|
3
|
-
|
|
4
|
-
//#region src/main/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts
|
|
5
|
-
interface SizeWithUnitAndAspect {
|
|
6
|
-
getWidthAndHeight(): SizeWithUnit | undefined;
|
|
7
|
-
getWidthWithAspect(): SizeWithAspect | undefined;
|
|
8
|
-
getHeightWithAspect(): SizeWithAspect | undefined;
|
|
9
|
-
getShorterDimensionWithAspect(): SizeWithAspect | undefined;
|
|
10
|
-
getSizingMode(): SizingMode;
|
|
11
|
-
toJson(): string;
|
|
12
|
-
}
|
|
13
|
-
interface SizeWithUnitAndAspect_statics {
|
|
14
|
-
createWithWidthAndHeight(widthAndHeight: SizeWithUnit): SizeWithUnitAndAspect;
|
|
15
|
-
createWithWidthAndAspectRatio(width: FloatWithUnit, aspectRatio: number): SizeWithUnitAndAspect;
|
|
16
|
-
createWithHeightAndAspectRatio(height: FloatWithUnit, aspectRatio: number): SizeWithUnitAndAspect;
|
|
17
|
-
createWithShorterDimensionAndAspectRatio(fraction: number, aspectRatio: number): SizeWithUnitAndAspect;
|
|
18
|
-
}
|
|
19
|
-
interface ImageBuffer {
|
|
20
|
-
deepCopy(): ImageBuffer;
|
|
21
|
-
getWidth(): number;
|
|
22
|
-
getHeight(): number;
|
|
23
|
-
getPlanes(): Array<ImagePlane>;
|
|
24
|
-
toBitmap(): Uint8Array;
|
|
25
|
-
toBase64Png(): string;
|
|
26
|
-
getBitmapRepresentationFromYUV(imageCrop: Rect): Uint8Array;
|
|
27
|
-
}
|
|
28
|
-
declare enum BitmapByteOrder {
|
|
29
|
-
RGBA = 0,
|
|
30
|
-
BGRA = 1
|
|
31
|
-
}
|
|
32
|
-
interface BitmapWithFormat {
|
|
33
|
-
data: Uint8Array;
|
|
34
|
-
byteOrder: BitmapByteOrder;
|
|
35
|
-
}
|
|
36
|
-
interface ImageConverterInstance {
|
|
37
|
-
convertToJpeg(imageBuffer: ImageBuffer, orientation: number): Promise<Uint8Array>;
|
|
38
|
-
convertToBitmap(imageBuffer: ImageBuffer): BitmapWithFormat;
|
|
39
|
-
}
|
|
40
|
-
interface ImageConverter {}
|
|
41
|
-
interface ImageConverter_statics {
|
|
42
|
-
setInstance(instance: ImageConverterInstance): void;
|
|
43
|
-
getInstance(): ImageConverterInstance;
|
|
44
|
-
}
|
|
45
|
-
interface SdcCoreInternalSdkCommonGeometry_statics {
|
|
46
|
-
SizeWithUnitAndAspect: SizeWithUnitAndAspect_statics;
|
|
47
|
-
ImageConverter: ImageConverter_statics;
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
export { ImageConverterInstance as a, SizeWithUnitAndAspect as c, ImageConverter as i, SizeWithUnitAndAspect_statics as l, BitmapWithFormat as n, ImageConverter_statics as o, ImageBuffer as r, SdcCoreInternalSdkCommonGeometry_statics as s, BitmapByteOrder as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region src/main/djinni-types/sdcCoreInternalSdkCommonGraphics.d.ts
|
|
2
|
-
interface Color {
|
|
3
|
-
r: number;
|
|
4
|
-
g: number;
|
|
5
|
-
b: number;
|
|
6
|
-
a: number;
|
|
7
|
-
}
|
|
8
|
-
interface SdcCoreInternalSdkCommonGraphics_statics {}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { SdcCoreInternalSdkCommonGraphics_statics as n, Color as t };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { o as Quadrilateral, s as Rect } from "./sdcCoreCommonGeometry-Bxvlllkc.js";
|
|
2
|
-
import { r as ImageBuffer } from "./sdcCoreInternalSdkCommonGeometry-BdkRyMJ5.js";
|
|
3
|
-
import { t as Direction } from "./sdcCoreCommon-kHUoe_GV.js";
|
|
4
|
-
import { WasmFrameData } from "@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated";
|
|
5
|
-
|
|
6
|
-
//#region src/main/djinni-types/sdcCoreInternalSdkOcr.d.ts
|
|
7
|
-
interface TextRecognizerSettings {
|
|
8
|
-
minimumLineHeight: number;
|
|
9
|
-
maximumLineHeight: number;
|
|
10
|
-
combineCapturedTextsIntoSingleResult: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface ExternalOcrBackend {
|
|
13
|
-
getName(): string;
|
|
14
|
-
onBeforeNextFrame(frameData: WasmFrameData): void;
|
|
15
|
-
getLastErrorMessage(): string;
|
|
16
|
-
getLastResults(): Array<ExternalOcrBackendResult>;
|
|
17
|
-
getSpecificData(key: string): string;
|
|
18
|
-
setRecognitionArea(roi: Rect, direction: Direction): void;
|
|
19
|
-
processFrame(imageBuffer: ImageBuffer): boolean;
|
|
20
|
-
updateSettings(settings: TextRecognizerSettings): void;
|
|
21
|
-
}
|
|
22
|
-
interface ExternalOcrBackendHelper {}
|
|
23
|
-
interface ExternalOcrBackendHelper_statics {
|
|
24
|
-
adjustRoi(roi: Rect, margin: number): Rect;
|
|
25
|
-
}
|
|
26
|
-
interface ExternalOcrBackendResult {
|
|
27
|
-
value: string;
|
|
28
|
-
location: Quadrilateral;
|
|
29
|
-
}
|
|
30
|
-
interface SdcCoreInternalSdkOcr_statics {
|
|
31
|
-
ExternalOcrBackendHelper: ExternalOcrBackendHelper_statics;
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { SdcCoreInternalSdkOcr_statics as a, ExternalOcrBackendResult as i, ExternalOcrBackendHelper as n, TextRecognizerSettings as o, ExternalOcrBackendHelper_statics as r, ExternalOcrBackend as t };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { t as Color } from "./sdcCoreInternalSdkCommonGraphics-DRTWPww6.js";
|
|
2
|
-
|
|
3
|
-
//#region src/main/djinni-types/sdcCoreInternalSdkUiStyle.d.ts
|
|
4
|
-
interface Brush {
|
|
5
|
-
fillColor: Color;
|
|
6
|
-
strokeColor: Color;
|
|
7
|
-
strokeWidth: number;
|
|
8
|
-
}
|
|
9
|
-
interface SdcCoreInternalSdkUiStyle_statics {}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { SdcCoreInternalSdkUiStyle_statics as n, Brush as t };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { o as Quadrilateral } from "./sdcCoreCommonGeometry-Bxvlllkc.js";
|
|
2
|
-
import { a as LabelFieldType, i as LabelFieldState } from "./sdcLabelData-CHLquvuG.js";
|
|
3
|
-
import { n as Barcode } from "./sdcBarcodeInternalSdkData-CJZsjs8c.js";
|
|
4
|
-
|
|
5
|
-
//#region src/main/djinni-types/sdcLabelInternalModuleData.d.ts
|
|
6
|
-
declare enum LabelFieldValueType {
|
|
7
|
-
DATE = 0,
|
|
8
|
-
PRICE = 1,
|
|
9
|
-
WEIGHT = 2,
|
|
10
|
-
TEXT = 3,
|
|
11
|
-
NUMERIC = 4
|
|
12
|
-
}
|
|
13
|
-
interface LabelDateResult {
|
|
14
|
-
day?: number;
|
|
15
|
-
month?: number;
|
|
16
|
-
year?: number;
|
|
17
|
-
dayStr: string;
|
|
18
|
-
monthStr: string;
|
|
19
|
-
yearStr: string;
|
|
20
|
-
}
|
|
21
|
-
interface LabelField {
|
|
22
|
-
getName(): string;
|
|
23
|
-
isRequired(): boolean;
|
|
24
|
-
getType(): LabelFieldType;
|
|
25
|
-
getPredictedLocation(): Quadrilateral;
|
|
26
|
-
getState(): LabelFieldState;
|
|
27
|
-
getValueType(): LabelFieldValueType;
|
|
28
|
-
getBarcode(): Barcode;
|
|
29
|
-
getText(): string | undefined;
|
|
30
|
-
getDate(): LabelDateResult | undefined;
|
|
31
|
-
toJson(): string;
|
|
32
|
-
}
|
|
33
|
-
interface CapturedLabel {
|
|
34
|
-
getName(): string;
|
|
35
|
-
getDeltaTimeToPrediction(): number;
|
|
36
|
-
getFields(): Array<LabelField>;
|
|
37
|
-
getTrackingId(): number;
|
|
38
|
-
getPredictedBounds(): Quadrilateral;
|
|
39
|
-
isComplete(): boolean;
|
|
40
|
-
toJson(): string;
|
|
41
|
-
}
|
|
42
|
-
interface ReceiptScanningLineItem {
|
|
43
|
-
name: string;
|
|
44
|
-
unitPrice?: number;
|
|
45
|
-
discount?: number;
|
|
46
|
-
quantity: number;
|
|
47
|
-
totalPrice?: number;
|
|
48
|
-
}
|
|
49
|
-
interface ReceiptScanningResult {
|
|
50
|
-
storeName?: string;
|
|
51
|
-
storeCity?: string;
|
|
52
|
-
storeAddress?: string;
|
|
53
|
-
date?: string;
|
|
54
|
-
time?: string;
|
|
55
|
-
paymentPreTaxTotal?: number;
|
|
56
|
-
paymentTax?: number;
|
|
57
|
-
paymentTotal?: number;
|
|
58
|
-
loyaltyNumber?: number;
|
|
59
|
-
lineItems: Array<ReceiptScanningLineItem>;
|
|
60
|
-
}
|
|
61
|
-
interface SdcLabelInternalModuleData_statics {}
|
|
62
|
-
//#endregion
|
|
63
|
-
export { ReceiptScanningLineItem as a, LabelFieldValueType as i, LabelDateResult as n, ReceiptScanningResult as o, LabelField as r, SdcLabelInternalModuleData_statics as s, CapturedLabel as t };
|