@scandit/web-datacapture-label 8.4.0 → 8.5.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/THIRD_PARTY.txt +0 -2
- package/build/js/AdaptiveRecognitionMode-DBr--JVQ.d.ts +25 -0
- package/build/js/AdaptiveRecognitionResult-Clnk-SP8.d.ts +564 -0
- package/build/js/BarcodeField-CWg5Ve8v.d.ts +9 -0
- package/build/js/BarcodeFieldBuilder-CSsj0EXY.d.ts +21 -0
- package/build/js/Button-Ou77FlfL.d.ts +68 -0
- package/build/js/CapturedLabel-PjFfeqht.d.ts +30 -0
- package/build/js/CustomBarcode-B9b3T3wr.d.ts +29 -0
- package/build/js/CustomBarcodeBuilder-DdWG8iCR.d.ts +18 -0
- package/build/js/CustomText-Cl2GuEWp.d.ts +27 -0
- package/build/js/CustomTextBuilder-0AbdOASa.d.ts +20 -0
- package/build/js/DateText-qQtIgcnZ.d.ts +25 -0
- package/build/js/DateTextBuilder-D4LModbR.d.ts +21 -0
- package/build/js/ExpiryDateText-DkTHW-n-.d.ts +25 -0
- package/build/js/ExpiryDateTextBuilder-BGrTAbAB.d.ts +20 -0
- package/build/js/ImeiOneBarcode-d4T3iiT8.d.ts +22 -0
- package/build/js/ImeiOneBarcodeBuilder-B9onIT76.d.ts +15 -0
- package/build/js/ImeiTwoBarcode-DhmyWFV3.d.ts +22 -0
- package/build/js/ImeiTwoBarcodeBuilder-JChbnrgN.d.ts +15 -0
- package/build/js/LabelCapture-BZi-QVCO.d.ts +42 -0
- package/build/js/LabelCaptureAdvancedOverlay-e09i_aoX.d.ts +89 -0
- package/build/js/LabelCaptureBasicOverlay-BZl1LJkD.d.ts +63 -0
- package/build/js/LabelCaptureFeedback-Bc-zIaL_.d.ts +15 -0
- package/build/js/LabelCaptureOverlayJSON-B6X3-JDh.d.ts +9 -0
- package/build/js/LabelCaptureSession-Dc8YZO9H.d.ts +22 -0
- package/build/js/LabelCaptureSettings-D4GHiKnt.d.ts +29 -0
- package/build/js/LabelCaptureWorkerManager-GqFlRfyL.js +1 -0
- package/build/js/LabelDateComponentFormat-BDdyln8r.d.ts +8 -0
- package/build/js/LabelDateFormat-C9T5qNMc.d.ts +17 -0
- package/build/js/LabelDateResult-CQ9G5zQl.d.ts +27 -0
- package/build/js/LabelDefinition-CAZoQj1a.d.ts +71 -0
- package/build/js/LabelField-BAO35-Eb.d.ts +44 -0
- package/build/js/LabelFieldDefinition-CuGI3QUq.d.ts +9 -0
- package/build/js/LabelFieldDefinitionBuilder-rN0LybgZ.d.ts +37 -0
- package/build/js/LabelFieldLocation-DDqgTh17.d.ts +22 -0
- package/build/js/LabelFieldState-JJ7Cbn3n.d.ts +8 -0
- package/build/js/LabelFieldType-DEXmgciU.d.ts +8 -0
- package/build/js/LabelFieldValueType-C8ZfGaCT.d.ts +10 -0
- package/build/js/PackingDateText-DH3NkY_K.d.ts +25 -0
- package/build/js/PackingDateTextBuilder-Cay2b3Se.d.ts +20 -0
- package/build/js/PartNumberBarcode-Dzx1zF4O.d.ts +22 -0
- package/build/js/PartNumberBarcodeBuilder-Bwg9UTcy.d.ts +15 -0
- package/build/js/ReceiptScanningLineItem-CZ--bISr.d.ts +40 -0
- package/build/js/SerialNumberBarcode-DWBGJVoz.d.ts +22 -0
- package/build/js/SerialNumberBarcodeBuilder-oSUDdRsf.d.ts +15 -0
- package/build/js/TextField-CTCb88lU.d.ts +6 -0
- package/build/js/TextFieldBuilder-biW0vkn0.d.ts +6 -0
- package/build/js/TotalPriceText-BydB0NCL.d.ts +22 -0
- package/build/js/TotalPriceTextBuilder-B8MK5Xjy.d.ts +17 -0
- package/build/js/UnitPriceText-C7EwC-Go.d.ts +22 -0
- package/build/js/UnitPriceTextBuilder-Bc7dIZF4.d.ts +17 -0
- package/build/js/ValidationFlowField-DL7FdqPM.d.ts +21 -0
- package/build/js/WeightText-DrWQ9nBI.d.ts +22 -0
- package/build/js/WeightTextBuilder-BzG1seYF.d.ts +17 -0
- package/build/js/WorkerMain-dzOcGXQl.js +1 -0
- package/build/js/api/AdaptiveRecognitionMode.d.ts +2 -24
- package/build/js/api/AdaptiveRecognitionMode.js +1 -1
- package/build/js/api/AdaptiveRecognitionResult.d.ts +2 -37
- package/build/js/api/AdaptiveRecognitionResult.js +1 -1
- package/build/js/api/BarcodeField.d.ts +2 -8
- package/build/js/api/BarcodeFieldBuilder.d.ts +2 -14
- package/build/js/api/BarcodeFieldBuilder.js +1 -1
- package/build/js/api/CapturedLabel.d.ts +2 -34
- package/build/js/api/CapturedLabel.js +1 -1
- package/build/js/api/CustomBarcode.d.ts +2 -30
- package/build/js/api/CustomBarcode.js +1 -1
- package/build/js/api/CustomBarcodeBuilder.d.ts +2 -21
- package/build/js/api/CustomBarcodeBuilder.js +1 -1
- package/build/js/api/CustomText.d.ts +2 -62
- package/build/js/api/CustomText.js +1 -1
- package/build/js/api/CustomTextBuilder.d.ts +2 -57
- package/build/js/api/CustomTextBuilder.js +1 -1
- package/build/js/api/DateText.d.ts +2 -59
- package/build/js/api/DateText.js +1 -1
- package/build/js/api/DateTextBuilder.d.ts +2 -57
- package/build/js/api/DateTextBuilder.js +1 -1
- package/build/js/api/ExpiryDateText.d.ts +2 -59
- package/build/js/api/ExpiryDateText.js +1 -1
- package/build/js/api/ExpiryDateTextBuilder.d.ts +2 -56
- package/build/js/api/ExpiryDateTextBuilder.js +1 -1
- package/build/js/api/ImeiOneBarcode.d.ts +2 -22
- package/build/js/api/ImeiOneBarcode.js +1 -1
- package/build/js/api/ImeiOneBarcodeBuilder.d.ts +2 -17
- package/build/js/api/ImeiOneBarcodeBuilder.js +1 -1
- package/build/js/api/ImeiTwoBarcode.d.ts +2 -22
- package/build/js/api/ImeiTwoBarcode.js +1 -1
- package/build/js/api/ImeiTwoBarcodeBuilder.d.ts +2 -17
- package/build/js/api/ImeiTwoBarcodeBuilder.js +1 -1
- package/build/js/api/LabelCapture.d.ts +2 -58
- package/build/js/api/LabelCapture.js +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts +45 -98
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.js +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.d.ts +2 -37
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.js +1 -1
- package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +2 -60
- package/build/js/api/LabelCaptureAdvancedOverlay.js +1 -1
- package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +2 -60
- package/build/js/api/LabelCaptureBasicOverlay.d.ts +2 -60
- package/build/js/api/LabelCaptureBasicOverlay.js +1 -1
- package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +2 -60
- package/build/js/api/LabelCaptureFeedback.d.ts +2 -14
- package/build/js/api/LabelCaptureFeedback.js +1 -1
- package/build/js/api/LabelCaptureListener.d.ts +2 -58
- package/build/js/api/LabelCaptureOverlayJSON.d.ts +2 -44
- package/build/js/api/LabelCaptureSession.d.ts +2 -28
- package/build/js/api/LabelCaptureSession.js +1 -1
- package/build/js/api/LabelCaptureSettings.d.ts +2 -79
- package/build/js/api/LabelCaptureSettings.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts +37 -89
- package/build/js/api/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.d.ts +291 -350
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowPresenter.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.d.ts +205 -225
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowStateManager.js +1 -1
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.d.ts +254 -281
- package/build/js/api/LabelCaptureValidationFlow/private/ValidationFlowView.js +1 -1
- package/build/js/api/LabelCaptureValidationFlowFeedback.d.ts +11 -10
- package/build/js/api/LabelCaptureValidationFlowFeedback.js +1 -1
- package/build/js/api/LabelCaptureValidationFlowSettings.d.ts +49 -48
- package/build/js/api/LabelCaptureValidationFlowSettings.js +1 -1
- package/build/js/api/LabelDateComponentFormat.d.ts +2 -7
- package/build/js/api/LabelDateComponentFormat.js +1 -1
- package/build/js/api/LabelDateFormat.d.ts +2 -16
- package/build/js/api/LabelDateFormat.js +1 -1
- package/build/js/api/LabelDateResult.d.ts +2 -26
- package/build/js/api/LabelDateResult.js +1 -1
- package/build/js/api/LabelDefinition.d.ts +2 -93
- package/build/js/api/LabelDefinition.js +1 -1
- package/build/js/api/LabelField.d.ts +2 -43
- package/build/js/api/LabelField.js +1 -1
- package/build/js/api/LabelFieldDefinition.d.ts +2 -8
- package/build/js/api/LabelFieldDefinitionBuilder.d.ts +2 -16
- package/build/js/api/LabelFieldDefinitionBuilder.js +1 -1
- package/build/js/api/LabelFieldLocation.d.ts +2 -21
- package/build/js/api/LabelFieldLocation.js +1 -1
- package/build/js/api/LabelFieldLocationType.d.ts +13 -12
- package/build/js/api/LabelFieldLocationType.js +1 -1
- package/build/js/api/LabelFieldState.d.ts +2 -7
- package/build/js/api/LabelFieldState.js +1 -1
- package/build/js/api/LabelFieldType.d.ts +2 -7
- package/build/js/api/LabelFieldType.js +1 -1
- package/build/js/api/LabelFieldValueType.d.ts +2 -9
- package/build/js/api/LabelFieldValueType.js +1 -1
- package/build/js/api/LabelResultUpdateType.d.ts +6 -5
- package/build/js/api/LabelResultUpdateType.js +1 -1
- package/build/js/api/PackingDateText.d.ts +2 -59
- package/build/js/api/PackingDateText.js +1 -1
- package/build/js/api/PackingDateTextBuilder.d.ts +2 -56
- package/build/js/api/PackingDateTextBuilder.js +1 -1
- package/build/js/api/PartNumberBarcode.d.ts +2 -22
- package/build/js/api/PartNumberBarcode.js +1 -1
- package/build/js/api/PartNumberBarcodeBuilder.d.ts +2 -17
- package/build/js/api/PartNumberBarcodeBuilder.js +1 -1
- package/build/js/api/PrivateReceiptScanningHandler.d.ts +30 -66
- package/build/js/api/PrivateReceiptScanningHandler.js +1 -1
- package/build/js/api/PrivateReceiptScanningListener.d.ts +17 -52
- package/build/js/api/PrivateValidationFlowHandler.d.ts +38 -69
- package/build/js/api/PrivateValidationFlowHandler.js +1 -1
- package/build/js/api/ReceiptScanningLineItem.d.ts +2 -39
- package/build/js/api/ReceiptScanningLineItem.js +1 -1
- package/build/js/api/ReceiptScanningResult.d.ts +2 -37
- package/build/js/api/ReceiptScanningResult.js +1 -1
- package/build/js/api/SerialNumberBarcode.d.ts +2 -22
- package/build/js/api/SerialNumberBarcode.js +1 -1
- package/build/js/api/SerialNumberBarcodeBuilder.d.ts +2 -17
- package/build/js/api/SerialNumberBarcodeBuilder.js +1 -1
- package/build/js/api/TextField.d.ts +2 -6
- package/build/js/api/TextFieldBuilder.d.ts +2 -6
- package/build/js/api/TextFieldBuilder.js +1 -1
- package/build/js/api/TotalPriceText.d.ts +2 -57
- package/build/js/api/TotalPriceText.js +1 -1
- package/build/js/api/TotalPriceTextBuilder.d.ts +2 -54
- package/build/js/api/TotalPriceTextBuilder.js +1 -1
- package/build/js/api/UnitPriceText.d.ts +2 -57
- package/build/js/api/UnitPriceText.js +1 -1
- package/build/js/api/UnitPriceTextBuilder.d.ts +2 -54
- package/build/js/api/UnitPriceTextBuilder.js +1 -1
- package/build/js/api/ValidationFlowField.d.ts +2 -26
- package/build/js/api/ValidationFlowField.js +1 -1
- package/build/js/api/WeightText.d.ts +2 -57
- package/build/js/api/WeightText.js +1 -1
- package/build/js/api/WeightTextBuilder.d.ts +2 -54
- package/build/js/api/WeightTextBuilder.js +1 -1
- package/build/js/dataCaptureEngine-CqE4l_uy.d.ts +36 -0
- package/build/js/djinni-types/sdcAnalyticsModule.d.ts +18 -18
- package/build/js/djinni-types/sdcBarcodeData.d.ts +2 -47
- package/build/js/djinni-types/sdcBarcodeData.js +1 -1
- package/build/js/djinni-types/sdcBarcodeInternalSdkData.d.ts +2 -36
- package/build/js/djinni-types/sdcCoreCommon.d.ts +2 -13
- package/build/js/djinni-types/sdcCoreCommon.js +1 -1
- package/build/js/djinni-types/sdcCoreCommonBuffer.d.ts +2 -11
- package/build/js/djinni-types/sdcCoreCommonGeometry.d.ts +2 -56
- package/build/js/djinni-types/sdcCoreCommonGeometry.js +1 -1
- package/build/js/djinni-types/sdcCoreCommonGraphic.d.ts +2 -22
- package/build/js/djinni-types/sdcCoreCommonGraphic.js +1 -1
- package/build/js/djinni-types/sdcCoreInternalSdkArea.d.ts +2 -39
- package/build/js/djinni-types/sdcCoreInternalSdkCapture.d.ts +2 -9
- package/build/js/djinni-types/sdcCoreInternalSdkCapture.js +1 -1
- package/build/js/djinni-types/sdcCoreInternalSdkCommonAsync.d.ts +2 -12
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts +2 -50
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.js +1 -1
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGraphics.d.ts +2 -10
- package/build/js/djinni-types/sdcCoreInternalSdkOcr.d.ts +2 -35
- package/build/js/djinni-types/sdcCoreInternalSdkUiStyle.d.ts +2 -11
- package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.d.ts +2 -77
- package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.js +1 -1
- package/build/js/djinni-types/sdcLabelData.d.ts +2 -37
- package/build/js/djinni-types/sdcLabelData.js +1 -1
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +2 -15
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.js +1 -1
- package/build/js/djinni-types/sdcLabelInternalModuleData.d.ts +2 -65
- package/build/js/djinni-types/sdcLabelInternalModuleData.js +1 -1
- package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +2 -135
- package/build/js/djinni-types/sdcSymbologySettings.d.ts +2 -21
- package/build/js/{global.d.d.ts → global.d.ts} +7 -8
- package/build/js/index.d.ts +53 -82
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.d.ts +4 -3
- package/build/js/moduleLoader.js +1 -1
- package/build/js/nativeCall-q32Awp0L.d.ts +13 -0
- package/build/js/nativeDispatch-C7kZCRYA.d.ts +13 -0
- package/build/js/private/PrivateLabelFieldDefinition.d.ts +7 -41
- package/build/js/private/PrivateRectangularLocationSelectionJSON.d.ts +6 -5
- package/build/js/private/adaptiveRecognitionModeTranslator.d.ts +5 -4
- package/build/js/private/adaptiveRecognitionModeTranslator.js +1 -1
- package/build/js/private/brushTranslator.d.ts +10 -9
- package/build/js/private/brushTranslator.js +1 -1
- package/build/js/private/createProxiedViewFinder.d.ts +6 -63
- package/build/js/private/createProxiedViewFinder.js +1 -1
- package/build/js/private/fromWrappedFutureToPromise.d.ts +4 -3
- package/build/js/private/fromWrappedFutureToPromise.js +1 -1
- package/build/js/private/labelFieldLocationTypeTranslator.d.ts +6 -5
- package/build/js/private/labelFieldLocationTypeTranslator.js +1 -1
- package/build/js/private/measureTranslator.d.ts +5 -4
- package/build/js/private/measureTranslator.js +1 -1
- package/build/js/private/numberTranslator.d.ts +5 -4
- package/build/js/private/numberTranslator.js +1 -1
- package/build/js/private/scrollIntoView/compute.d.ts +56 -56
- package/build/js/private/scrollIntoView/compute.js +1 -1
- package/build/js/private/scrollIntoView/index.d.ts +9 -8
- package/build/js/private/scrollIntoView/index.js +1 -1
- package/build/js/private/scrollIntoView/types.d.ts +11 -10
- package/build/js/private/symbologiesTranslator.d.ts +7 -6
- package/build/js/private/symbologiesTranslator.js +1 -1
- package/build/js/private/viewfinderTranslator.d.ts +6 -9
- package/build/js/private/viewfinderTranslator.js +1 -1
- package/build/js/sdcBarcodeData-DOuUPRUb.d.ts +47 -0
- package/build/js/sdcBarcodeInternalSdkData-CJZsjs8c.d.ts +36 -0
- package/build/js/sdcCoreCommon-kHUoe_GV.d.ts +13 -0
- package/build/js/sdcCoreCommonBuffer-DjQM-W5x.d.ts +11 -0
- package/build/js/sdcCoreCommonGeometry-Bxvlllkc.d.ts +56 -0
- package/build/js/sdcCoreCommonGraphic-hFLsxC6K.d.ts +22 -0
- package/build/js/sdcCoreInternalSdkArea-BDbnSRls.d.ts +38 -0
- package/build/js/sdcCoreInternalSdkCapture-CcabgRl6.d.ts +9 -0
- package/build/js/sdcCoreInternalSdkCommonAsync-8G3-3n53.d.ts +12 -0
- package/build/js/sdcCoreInternalSdkCommonGeometry-BdkRyMJ5.d.ts +50 -0
- package/build/js/sdcCoreInternalSdkCommonGraphics-DRTWPww6.d.ts +10 -0
- package/build/js/sdcCoreInternalSdkOcr-rkdYyZLs.d.ts +34 -0
- package/build/js/sdcCoreInternalSdkUiStyle-pVbYygcu.d.ts +11 -0
- package/build/js/sdcCoreInternalSdkUiViewfinder-BoG0LyRj.d.ts +73 -0
- package/build/js/sdcLabelData-CHLquvuG.d.ts +37 -0
- package/build/js/sdcLabelInternalModuleCapture-B6-1Wjzn.d.ts +512 -0
- package/build/js/sdcLabelInternalModuleData-D_O2Y4cu.d.ts +63 -0
- package/build/js/sdcLabelInternalModuleUiOverlay-CGIKcVOW.d.ts +113 -0
- package/build/js/sdcSymbologySettings-CR04eT_a.d.ts +21 -0
- package/build/js/ui/atoms/AdaptiveRecognitionOverlay.d.ts +21 -20
- package/build/js/ui/atoms/AdaptiveRecognitionOverlay.js +1 -1
- package/build/js/ui/atoms/Button.d.ts +2 -67
- package/build/js/ui/atoms/Button.js +1 -1
- package/build/js/ui/atoms/TextInput.d.ts +189 -188
- package/build/js/ui/atoms/TextInput.js +1 -1
- package/build/js/ui/atoms/viewportUtils.d.ts +3 -2
- package/build/js/ui/atoms/viewportUtils.js +1 -1
- package/build/js/ui/controllers/KeyboardVisibilityController.d.ts +131 -130
- package/build/js/ui/controllers/KeyboardVisibilityController.js +1 -1
- package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.d.ts +97 -96
- package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.js +1 -1
- package/build/js/vite-env.d.ts +1 -0
- package/build/js/worker/LabelCaptureWorkerManager.d.ts +17 -45
- package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
- package/build/js/worker/NativeImplementationRegistry.d.ts +19 -0
- package/build/js/worker/NativeImplementationRegistry.js +1 -0
- package/build/js/worker/WorkerMain.d.ts +22 -58
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/WorkerRegistry.d.ts +4 -40
- package/build/js/worker/WorkerRegistry.js +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +2 -67
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -37
- package/build/js/worker/handlers/FieldBuilderHandler.d.ts +6 -41
- package/build/js/worker/handlers/FieldBuilderHandler.js +1 -1
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.d.ts +21 -57
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.js +1 -1
- package/build/js/worker/handlers/ReceiptScanningHandler.d.ts +10 -48
- package/build/js/worker/handlers/ReceiptScanningHandler.js +1 -1
- package/build/js/worker/handlers/SettingsHandler.d.ts +9 -47
- package/build/js/worker/handlers/SettingsHandler.js +1 -1
- package/build/js/worker/handlers/ValidationFlowHandler.d.ts +12 -50
- package/build/js/worker/handlers/ValidationFlowHandler.js +1 -1
- package/build/js/worker/labelWorkerHandler.d.ts +4 -40
- package/build/js/worker/labelWorkerHandler.js +1 -1
- package/build/js/worker/nativeCall.d.ts +2 -0
- package/build/js/worker/nativeCall.js +1 -0
- package/build/js/worker/nativeDispatch.d.ts +2 -0
- package/build/js/worker/nativeDispatch.js +1 -0
- package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +13 -47
- package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/CapturedLabelProxy.d.ts +12 -47
- package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +24 -53
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +8 -43
- package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +18 -52
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
- package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +14 -48
- package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +18 -55
- package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldProxy.d.ts +16 -50
- package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
- package/build/js/worker/proxies/NativeProxy.d.ts +2 -37
- package/build/js/worker/proxies/NativeProxy.js +1 -1
- package/build/js/worker/proxies/NoViewfinderProxy.d.ts +6 -41
- package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.d.ts +11 -48
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.js +1 -1
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.d.ts +9 -44
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -1
- package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +27 -59
- package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowListenerProxy.d.ts +16 -53
- package/build/js/worker/proxies/ValidationFlowListenerProxy.js +1 -1
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.d.ts +10 -43
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.js +1 -1
- package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.d.ts +38 -72
- package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.js +1 -1
- package/build/js/worker/proxies/base/index.d.ts +3 -39
- package/build/js/worker/proxies/base/index.js +1 -1
- package/build/js/worker/workerHandles.d.ts +2 -0
- package/build/js/worker/workerHandles.js +1 -0
- package/build/js/workerHandles-DhpaE-4P.d.ts +5 -0
- package/package.json +7 -7
- package/sdc-lib/label-worker-8.5.0-beta.1.js +1 -0
- package/sdc-lib/resources/models/barcode_localization_clutter_aware.69933853e03e.model +0 -0
- package/sdc-lib/resources/models/invalidated_id_classification_default.e3985b833d16.model +0 -0
- package/sdc-lib/resources/models/ocr_attention.75e86b6ca0ca.model +0 -0
- package/sdc-lib/resources/models/qr_module_prediction.515757826ca3.model +0 -0
- package/sdc-lib/resources/models/qr_module_prediction_model_spatial_transformer.e790edc14d39.model +0 -0
- package/sdc-lib/resources/models/via_id_template_database.5a7e5789abb4.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/LabelCapture-DrHOFOh1.d.ts +0 -40
- package/build/js/LabelCaptureAdvancedOverlay-FdLIUFg0.d.ts +0 -87
- package/build/js/LabelCaptureBasicOverlay-DFtQFeL_.d.ts +0 -61
- package/build/js/NativeProxy-wKE5sxLq.d.ts +0 -1117
- package/build/js/chunks/chunk-2K4IDUBI.js +0 -1
- package/build/js/chunks/chunk-36FUBGEZ.js +0 -1
- package/build/js/chunks/chunk-4PATACKR.js +0 -1
- package/build/js/chunks/chunk-5JGE6TIK.js +0 -1
- package/build/js/chunks/chunk-5X76K74S.js +0 -1
- package/build/js/chunks/chunk-67ANQYNA.js +0 -1
- package/build/js/chunks/chunk-6AJOOQM4.js +0 -1
- package/build/js/chunks/chunk-7D7JLKMH.js +0 -1
- package/build/js/chunks/chunk-7FZ6M63O.js +0 -1
- package/build/js/chunks/chunk-7V7K3PCH.js +0 -1
- package/build/js/chunks/chunk-7VGFHQT3.js +0 -1
- package/build/js/chunks/chunk-A537ABTE.js +0 -1
- package/build/js/chunks/chunk-A6QIZJQN.js +0 -1
- package/build/js/chunks/chunk-ABK45ILU.js +0 -1
- package/build/js/chunks/chunk-AI6PEJT5.js +0 -1
- package/build/js/chunks/chunk-AP77K5WE.js +0 -0
- package/build/js/chunks/chunk-AWVMQD6I.js +0 -1
- package/build/js/chunks/chunk-B5ARNEBW.js +0 -1
- package/build/js/chunks/chunk-BDA5SYXG.js +0 -1
- package/build/js/chunks/chunk-BEKGYADV.js +0 -1
- package/build/js/chunks/chunk-BGVFXDGB.js +0 -1
- package/build/js/chunks/chunk-BJFWGOUS.js +0 -1
- package/build/js/chunks/chunk-BJSBS5IL.js +0 -1
- package/build/js/chunks/chunk-BQJUSAIQ.js +0 -1
- package/build/js/chunks/chunk-BYHTDLZK.js +0 -1
- package/build/js/chunks/chunk-BYXHNUWR.js +0 -1
- package/build/js/chunks/chunk-CDFFSVSO.js +0 -1
- package/build/js/chunks/chunk-CGNWTUD5.js +0 -1
- package/build/js/chunks/chunk-CHBH6UKJ.js +0 -1
- package/build/js/chunks/chunk-COOCFN2K.js +0 -1
- package/build/js/chunks/chunk-CS7EEHHH.js +0 -1
- package/build/js/chunks/chunk-CUHE565K.js +0 -1
- package/build/js/chunks/chunk-D5PIEZCN.js +0 -1
- package/build/js/chunks/chunk-D6QEVE6U.js +0 -1
- package/build/js/chunks/chunk-DDYADIOR.js +0 -1
- package/build/js/chunks/chunk-DE2UH73T.js +0 -1
- package/build/js/chunks/chunk-DY7YMUCC.js +0 -1
- package/build/js/chunks/chunk-F5NT65XG.js +0 -1
- package/build/js/chunks/chunk-FMGM62PL.js +0 -1
- package/build/js/chunks/chunk-FNR2MDR4.js +0 -1
- package/build/js/chunks/chunk-GCMVU762.js +0 -1
- package/build/js/chunks/chunk-H3VMMXMG.js +0 -1
- package/build/js/chunks/chunk-H4H6H5GI.js +0 -1
- package/build/js/chunks/chunk-IIBMH4UP.js +0 -1
- package/build/js/chunks/chunk-ITZZENSQ.js +0 -1
- package/build/js/chunks/chunk-J53ZQXAJ.js +0 -1
- package/build/js/chunks/chunk-JO7OMLH3.js +0 -1
- package/build/js/chunks/chunk-KMUMMK5E.js +0 -0
- package/build/js/chunks/chunk-L3YJ62IW.js +0 -1
- package/build/js/chunks/chunk-L6U6LZ6D.js +0 -1
- package/build/js/chunks/chunk-LAW7AY4G.js +0 -1
- package/build/js/chunks/chunk-LEARM7VY.js +0 -1
- package/build/js/chunks/chunk-LJPJTX67.js +0 -1
- package/build/js/chunks/chunk-LLBGDMYR.js +0 -1
- package/build/js/chunks/chunk-LTIUWWPC.js +0 -1
- package/build/js/chunks/chunk-M4E4AARR.js +0 -1
- package/build/js/chunks/chunk-MGEXMPRG.js +0 -1
- package/build/js/chunks/chunk-MMRF53YY.js +0 -1
- package/build/js/chunks/chunk-MQ3C6JQR.js +0 -1
- package/build/js/chunks/chunk-MVGPTPXX.js +0 -1
- package/build/js/chunks/chunk-MWD5HRPP.js +0 -0
- package/build/js/chunks/chunk-N2RCJCCU.js +0 -1
- package/build/js/chunks/chunk-NCZG3BTH.js +0 -1
- package/build/js/chunks/chunk-NPDG2TI5.js +0 -1
- package/build/js/chunks/chunk-O5PVNK4O.js +0 -1
- package/build/js/chunks/chunk-PNBJM4BJ.js +0 -1
- package/build/js/chunks/chunk-POMTT6U2.js +0 -1
- package/build/js/chunks/chunk-QOVY54UR.js +0 -1
- package/build/js/chunks/chunk-QRSFFB7W.js +0 -1
- package/build/js/chunks/chunk-R3R62BOL.js +0 -1
- package/build/js/chunks/chunk-R5YROV5Y.js +0 -0
- package/build/js/chunks/chunk-SQTZDMV3.js +0 -2
- package/build/js/chunks/chunk-SUORGX6H.js +0 -0
- package/build/js/chunks/chunk-SYDG6PPD.js +0 -1
- package/build/js/chunks/chunk-T6RBACQT.js +0 -1
- package/build/js/chunks/chunk-UNYPWXEG.js +0 -1
- package/build/js/chunks/chunk-UWPIQICM.js +0 -1
- package/build/js/chunks/chunk-V6PSSDG3.js +0 -1
- package/build/js/chunks/chunk-VIPA3YVR.js +0 -1
- package/build/js/chunks/chunk-VNO3A222.js +0 -1
- package/build/js/chunks/chunk-VOGHX5ZK.js +0 -1
- package/build/js/chunks/chunk-VPU7TPNE.js +0 -1
- package/build/js/chunks/chunk-VSEPEYHT.js +0 -1
- package/build/js/chunks/chunk-X2BMTDWA.js +0 -1
- package/build/js/chunks/chunk-XAZBXHAS.js +0 -1
- package/build/js/chunks/chunk-XCYFBGS2.js +0 -1
- package/build/js/chunks/chunk-XETUH5HN.js +0 -1
- package/build/js/chunks/chunk-XKSRWFDE.js +0 -1
- package/build/js/chunks/chunk-XQBJ3GXA.js +0 -1
- package/build/js/chunks/chunk-XRXASFAT.js +0 -1
- package/build/js/chunks/chunk-Y45KHLIU.js +0 -1
- package/build/js/chunks/chunk-ZFSXLH7S.js +0 -0
- package/build/js/chunks/chunk-ZU6C4VWO.js +0 -1
- package/build/js/chunks/chunk-ZWWBOSQM.js +0 -1
- package/build/js/chunks/chunk-ZX3QD2MF.js +0 -1
- package/build/js/global.d.js +0 -0
- package/build/js/sdcLabelInternalModuleCapture-yM8m0vEc.d.ts +0 -511
- package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.d.ts +0 -44
- package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.js +0 -1
- package/build/js/worker/handlers/LabelCaptureHandler.d.ts +0 -50
- package/build/js/worker/handlers/LabelCaptureHandler.js +0 -1
- package/build/js/worker/inlineWorker.d.d.ts +0 -4
- package/build/js/worker/inlineWorker.d.js +0 -0
- package/build/js/worker/labelCapture.inlineWorker.d.ts +0 -46
- package/build/js/worker/labelCapture.inlineWorker.js +0 -1
- package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +0 -58
- package/build/js/worker/proxies/BarcodeFieldProxy.js +0 -1
- package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +0 -50
- package/build/js/worker/proxies/CustomBarcodeProxy.js +0 -1
- package/build/js/worker/proxies/CustomTextProxy.d.ts +0 -49
- package/build/js/worker/proxies/CustomTextProxy.js +0 -1
- package/build/js/worker/proxies/DateTextProxy.d.ts +0 -49
- package/build/js/worker/proxies/DateTextProxy.js +0 -1
- package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +0 -52
- package/build/js/worker/proxies/ExpiryDateTextProxy.js +0 -1
- package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +0 -48
- package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +0 -1
- package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +0 -48
- package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +0 -1
- package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +0 -48
- package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +0 -1
- package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +0 -46
- package/build/js/worker/proxies/LabelCaptureHelperProxy.js +0 -1
- package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +0 -52
- package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +0 -1
- package/build/js/worker/proxies/LabelCaptureProxy.d.ts +0 -56
- package/build/js/worker/proxies/LabelCaptureProxy.js +0 -1
- package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +0 -48
- package/build/js/worker/proxies/LabelFieldLocationProxy.js +0 -1
- package/build/js/worker/proxies/PackingDateTextProxy.d.ts +0 -52
- package/build/js/worker/proxies/PackingDateTextProxy.js +0 -1
- package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +0 -48
- package/build/js/worker/proxies/PartNumberBarcodeProxy.js +0 -1
- package/build/js/worker/proxies/ReceiptScanningOverlayProxy.d.ts +0 -50
- package/build/js/worker/proxies/ReceiptScanningOverlayProxy.js +0 -1
- package/build/js/worker/proxies/ReceiptScanningSettingsProxy.d.ts +0 -47
- package/build/js/worker/proxies/ReceiptScanningSettingsProxy.js +0 -1
- package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +0 -48
- package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +0 -1
- package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +0 -48
- package/build/js/worker/proxies/TotalPriceTextProxy.js +0 -1
- package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +0 -48
- package/build/js/worker/proxies/UnitPriceTextProxy.js +0 -1
- package/build/js/worker/proxies/ValidationFlowOverlayProxy.d.ts +0 -46
- package/build/js/worker/proxies/ValidationFlowOverlayProxy.js +0 -1
- package/build/js/worker/proxies/ValidationFlowSettingsProxy.d.ts +0 -69
- package/build/js/worker/proxies/ValidationFlowSettingsProxy.js +0 -1
- package/build/js/worker/proxies/WeightTextProxy.d.ts +0 -48
- package/build/js/worker/proxies/WeightTextProxy.js +0 -1
- package/sdc-lib/resources/models/invalidated_id_classification_default.1cd0f5859941.model +0 -0
- package/sdc-lib/resources/models/ocr_attention.dd4572d2c642.model +0 -0
- package/sdc-lib/resources/models/via_id_template_database.488e01f034cb.model +0 -0
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { BarcodeField } from './BarcodeField.js';
|
|
4
|
-
import './LabelFieldDefinition.js';
|
|
5
|
-
|
|
6
|
-
declare class ImeiOneBarcode implements BarcodeField {
|
|
7
|
-
private [nativeHandle];
|
|
8
|
-
private _name;
|
|
9
|
-
private _isOptional;
|
|
10
|
-
private _numberOfMandatoryInstances;
|
|
11
|
-
private _valueRegexes;
|
|
12
|
-
private _symbologies;
|
|
13
|
-
private constructor();
|
|
14
|
-
get name(): string;
|
|
15
|
-
get isOptional(): boolean;
|
|
16
|
-
get numberOfMandatoryInstances(): number | null;
|
|
17
|
-
get valueRegexes(): string[];
|
|
18
|
-
get symbologies(): SymbologySettings[];
|
|
19
|
-
private static forHandle;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { ImeiOneBarcode };
|
|
1
|
+
import { t as ImeiOneBarcode } from "../ImeiOneBarcode-d4T3iiT8.js";
|
|
2
|
+
export { ImeiOneBarcode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nativeHandle as e}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var t=class t{constructor(t){this[e]=t}get name(){return this._name}get isOptional(){return this._isOptional}get numberOfMandatoryInstances(){return this._numberOfMandatoryInstances}get valueRegexes(){return this._valueRegexes}get symbologies(){return this._symbologies}static forHandle(e){return new t(e)}};export{t as ImeiOneBarcode};
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import '@scandit/web-datacapture-barcode';
|
|
4
|
-
import './LabelFieldDefinitionBuilder.js';
|
|
5
|
-
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
6
|
-
import './BarcodeField.js';
|
|
7
|
-
import './LabelFieldDefinition.js';
|
|
8
|
-
|
|
9
|
-
declare class ImeiOneBarcodeBuilder extends BarcodeFieldBuilder<ImeiOneBarcodeBuilder, ImeiOneBarcode> {
|
|
10
|
-
private anchorRegexes;
|
|
11
|
-
private setAnchorRegexes;
|
|
12
|
-
private setAnchorRegex;
|
|
13
|
-
build(name: string): Promise<ImeiOneBarcode>;
|
|
14
|
-
protected getThis(): this;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { ImeiOneBarcodeBuilder };
|
|
1
|
+
import { n as imeiOneBarcode, t as ImeiOneBarcodeBuilder } from "../ImeiOneBarcodeBuilder-B9onIT76.js";
|
|
2
|
+
export { ImeiOneBarcodeBuilder, imeiOneBarcode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nativeCall as e}from"../worker/nativeCall.js";import{BarcodeFieldBuilder as t}from"./BarcodeFieldBuilder.js";import{ImeiOneBarcode as n}from"./ImeiOneBarcode.js";var r=class extends t{constructor(e){super(),this.anchorRegexes=[],this._name=e}setAnchorRegexes(e){return this.anchorRegexes=e,this.getThis()}setAnchorRegex(e){return this.anchorRegexes=[String(e)],this.getThis()}async build(t){let r=this.resolveName(t),i=await e(`ImeiOneBarcode.create`,r);await this.applyCommonFieldSettings(i),await this.applyAnchorRegexes(i,this.anchorRegexes),await this.applySymbologies(i);let a=n.forHandle(i);return a._isOptional=this._isOptional,a._numberOfMandatoryInstances=this._numberOfMandatoryInstances,a._name=r,a._valueRegexes=this.valueRegexes,a._symbologies=this.symbologySettings,a}getThis(){return this}};function i(e){return new r(e)}export{r as ImeiOneBarcodeBuilder,i as imeiOneBarcode};
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { BarcodeField } from './BarcodeField.js';
|
|
4
|
-
import './LabelFieldDefinition.js';
|
|
5
|
-
|
|
6
|
-
declare class ImeiTwoBarcode implements BarcodeField {
|
|
7
|
-
private [nativeHandle];
|
|
8
|
-
private _name;
|
|
9
|
-
private _isOptional;
|
|
10
|
-
private _numberOfMandatoryInstances;
|
|
11
|
-
private _valueRegexes;
|
|
12
|
-
private _symbologies;
|
|
13
|
-
private constructor();
|
|
14
|
-
get name(): string;
|
|
15
|
-
get isOptional(): boolean;
|
|
16
|
-
get numberOfMandatoryInstances(): number | null;
|
|
17
|
-
get valueRegexes(): string[];
|
|
18
|
-
get symbologies(): SymbologySettings[];
|
|
19
|
-
private static forHandle;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { ImeiTwoBarcode };
|
|
1
|
+
import { t as ImeiTwoBarcode } from "../ImeiTwoBarcode-DhmyWFV3.js";
|
|
2
|
+
export { ImeiTwoBarcode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nativeHandle as e}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var t=class t{constructor(t){this[e]=t}get name(){return this._name}get isOptional(){return this._isOptional}get numberOfMandatoryInstances(){return this._numberOfMandatoryInstances}get valueRegexes(){return this._valueRegexes}get symbologies(){return this._symbologies}static forHandle(e){return new t(e)}};export{t as ImeiTwoBarcode};
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import '@scandit/web-datacapture-barcode';
|
|
4
|
-
import './LabelFieldDefinitionBuilder.js';
|
|
5
|
-
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
6
|
-
import './BarcodeField.js';
|
|
7
|
-
import './LabelFieldDefinition.js';
|
|
8
|
-
|
|
9
|
-
declare class ImeiTwoBarcodeBuilder extends BarcodeFieldBuilder<ImeiTwoBarcodeBuilder, ImeiTwoBarcode> {
|
|
10
|
-
private anchorRegexes;
|
|
11
|
-
private setAnchorRegexes;
|
|
12
|
-
private setAnchorRegex;
|
|
13
|
-
build(name: string): Promise<ImeiTwoBarcode>;
|
|
14
|
-
protected getThis(): this;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { ImeiTwoBarcodeBuilder };
|
|
1
|
+
import { n as imeiTwoBarcode, t as ImeiTwoBarcodeBuilder } from "../ImeiTwoBarcodeBuilder-JChbnrgN.js";
|
|
2
|
+
export { ImeiTwoBarcodeBuilder, imeiTwoBarcode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nativeCall as e}from"../worker/nativeCall.js";import{BarcodeFieldBuilder as t}from"./BarcodeFieldBuilder.js";import{ImeiTwoBarcode as n}from"./ImeiTwoBarcode.js";var r=class extends t{constructor(e){super(),this.anchorRegexes=[],this._name=e}setAnchorRegexes(e){return this.anchorRegexes=e,this.getThis()}setAnchorRegex(e){return this.anchorRegexes=[String(e)],this.getThis()}async build(t){let r=this.resolveName(t),i=await e(`ImeiTwoBarcode.create`,r);await this.applyCommonFieldSettings(i),await this.applyAnchorRegexes(i,this.anchorRegexes),await this.applySymbologies(i);let a=n.forHandle(i);return a._isOptional=this._isOptional,a._numberOfMandatoryInstances=this._numberOfMandatoryInstances,a._name=r,a._valueRegexes=this.valueRegexes,a._symbologies=this.symbologySettings,a}getThis(){return this}};function i(e){return new r(e)}export{r as ImeiTwoBarcodeBuilder,i as imeiTwoBarcode};
|
|
@@ -1,58 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import './LabelCaptureSettings.js';
|
|
4
|
-
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
5
|
-
export { L as LabelCapture } from '../LabelCapture-DrHOFOh1.js';
|
|
6
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
7
|
-
import './LabelDefinition.js';
|
|
8
|
-
import './AdaptiveRecognitionMode.js';
|
|
9
|
-
import './ImeiOneBarcode.js';
|
|
10
|
-
import '@scandit/web-datacapture-barcode';
|
|
11
|
-
import './BarcodeField.js';
|
|
12
|
-
import './LabelFieldDefinition.js';
|
|
13
|
-
import './ImeiTwoBarcode.js';
|
|
14
|
-
import './PackingDateText.js';
|
|
15
|
-
import '../NativeProxy-wKE5sxLq.js';
|
|
16
|
-
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
17
|
-
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
18
|
-
import '../djinni-types/sdcBarcodeData.js';
|
|
19
|
-
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
20
|
-
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
21
|
-
import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
|
|
22
|
-
import '../djinni-types/sdcSymbologySettings.js';
|
|
23
|
-
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
24
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
25
|
-
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
26
|
-
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
27
|
-
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
28
|
-
import '../djinni-types/sdcCoreCommon.js';
|
|
29
|
-
import '../djinni-types/sdcLabelData.js';
|
|
30
|
-
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
31
|
-
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
32
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
33
|
-
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
34
|
-
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
35
|
-
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
36
|
-
import './CapturedLabel.js';
|
|
37
|
-
import './LabelField.js';
|
|
38
|
-
import './LabelFieldState.js';
|
|
39
|
-
import './LabelFieldType.js';
|
|
40
|
-
import './LabelFieldValueType.js';
|
|
41
|
-
import './LabelDateResult.js';
|
|
42
|
-
import './LabelCaptureSession.js';
|
|
43
|
-
import './LabelDateFormat.js';
|
|
44
|
-
import './LabelDateComponentFormat.js';
|
|
45
|
-
import './LabelFieldLocationType.js';
|
|
46
|
-
import './ReceiptScanningLineItem.js';
|
|
47
|
-
import './ValidationFlowField.js';
|
|
48
|
-
import './TextField.js';
|
|
49
|
-
import './PartNumberBarcode.js';
|
|
50
|
-
import './SerialNumberBarcode.js';
|
|
51
|
-
import './TotalPriceText.js';
|
|
52
|
-
import './UnitPriceText.js';
|
|
53
|
-
import './WeightText.js';
|
|
54
|
-
import './CustomBarcode.js';
|
|
55
|
-
import './LabelFieldLocation.js';
|
|
56
|
-
import './CustomText.js';
|
|
57
|
-
import './DateText.js';
|
|
58
|
-
import './ExpiryDateText.js';
|
|
1
|
+
import { t as LabelCapture } from "../LabelCapture-BZi-QVCO.js";
|
|
2
|
+
export { LabelCapture };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import{nativeCall as t}from"../worker/nativeCall.js";import{LabelCaptureFeedback as n}from"./LabelCaptureFeedback.js";import{LabelCaptureSession as r}from"./LabelCaptureSession.js";import{contextHandle as i,listenerHandle as a}from"../worker/workerHandles.js";import{PrivateReceiptScanningHandler as o}from"./PrivateReceiptScanningHandler.js";import{PrivateValidationFlowHandler as s}from"./PrivateValidationFlowHandler.js";import{CameraSettings as c,FocusGestureStrategy as l,VideoResolution as u,convertToPublicFrameData as d}from"@scandit/web-datacapture-core";import{nativeHandle as f}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";import{warnMultithreadingUnavailable as p}from"@scandit/web-datacapture-core/build/js/private/utils/warnMultithreadingUnavailable.js";var m=class m{constructor(e,t){this.skipSerialization=!0,this.context=null,this.listeners=new Set,this._receiptScanningHandler=null,this.workerListener=this.onWorkerMessage.bind(this),this._isEnabled=!0,this._feedback=n.default,this[f]=e,this.context=t}toJSONObject(){return{type:`labelCapture`,enabled:this.isEnabled(),settings:{}}}async unsetValidationFlowHandler(){await t(`LabelCapture.unsetValidationFlowHandler`,this[f])}async validationFlowHandler(){return await s.create(this)}async receiptScanningHandler(){return this._receiptScanningHandler||=await o.create(this),this._receiptScanningHandler}static createRecommendedCameraSettings(){return c.fromJSON({preferredResolution:u.FullHD,zoomFactor:1,zoomGestureZoomFactor:1,focusGestureStrategy:l.ManualUntilCapture,grayScaleFrameReader:!0})}static async forContext(n,r){p(),await e().initializeNativeHandles();let a=new m(await t(`LabelCapture.create`,e()[i],r[f]),n);return await n.addMode(a),a}async attachedToContext(n){this.context=n,await t(`LabelCaptureHelper.addLabelCaptureToContext`,this[f],e()[i])}async detachedFromContext(){await t(`LabelCaptureHelper.removeLabelCaptureFromContext`,this[f],e()[i]),this.context=null}get feedback(){return this._feedback}set feedback(e){this._feedback=e}isEnabled(){return this._isEnabled}async setEnabled(e){this._isEnabled=e;try{var n;await t(`LabelCapture.setEnabled`,this[f],e),await((n=this.context)==null?void 0:n.update([{type:`modeEnabled`,newValue:e}],{updateContext:!1}))}catch(t){throw this._isEnabled=!e,t}}async applySettings(e){await t(`LabelCapture.applySettingsWrapped`,this[f],e[f])}addListener(n){var r;this.listeners.add(n),(r=n.didStartObservingLabelCapture)==null||r.call(n,this),this.listeners.size===1&&(e().addWorkerListener(this.workerListener),t(`LabelCapture.addListenerAsync`,this[f],e()[a],1))}removeListener(n){var r;this.listeners.delete(n),(r=n.didStopObservingLabelCapture)==null||r.call(n,this),this.listeners.size===0&&(e().removeWorkerListener(this.workerListener),t(`LabelCapture.removeListenerAsync`,this[f],e()[a]))}onWorkerMessage(e){switch(e.type){case`labelCaptureOnObservationStarted`:this.didStartObservingLabelCapture();break;case`labelCaptureOnObservationStopped`:this.didStopObservingLabelCapture();break;case`labelCaptureOnSessionUpdated`:this.didUpdateSession(e.payload.session,e.payload.data);break}}didStartObservingLabelCapture(){for(let t of this.listeners){var e;(e=t.didStartObservingLabelCapture)==null||e.call(t,this)}}didStopObservingLabelCapture(){for(let t of this.listeners){var e;(e=t.didStopObservingLabelCapture)==null||e.call(t,this)}}didUpdateSession(e,t){let n=r.fromJSON(e),i=d(t,this.context);n.capturedLabels.length>0&&this.emitFeedback();for(let e of this.listeners){var a;(a=e.didUpdateSession)==null||a.call(e,this,n,i)}}emitFeedback(){var e;(e=this._feedback)!=null&&e.success&&this._feedback.success.emit()}};export{m as LabelCapture};
|
|
@@ -1,70 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import '@scandit/web-datacapture-barcode';
|
|
7
|
-
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
8
|
-
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
9
|
-
import '../djinni-types/sdcBarcodeData.js';
|
|
10
|
-
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
11
|
-
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
12
|
-
import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
|
|
13
|
-
import '../djinni-types/sdcSymbologySettings.js';
|
|
14
|
-
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
15
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
16
|
-
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
17
|
-
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
18
|
-
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
19
|
-
import '../djinni-types/sdcCoreCommon.js';
|
|
20
|
-
import '../djinni-types/sdcLabelData.js';
|
|
21
|
-
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
22
|
-
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
23
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
24
|
-
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
25
|
-
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
26
|
-
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
27
|
-
import './AdaptiveRecognitionMode.js';
|
|
28
|
-
import './CapturedLabel.js';
|
|
29
|
-
import './LabelField.js';
|
|
30
|
-
import './LabelFieldState.js';
|
|
31
|
-
import './LabelFieldType.js';
|
|
32
|
-
import './LabelFieldValueType.js';
|
|
33
|
-
import './LabelDateResult.js';
|
|
34
|
-
import './LabelCaptureSession.js';
|
|
35
|
-
import './LabelDateFormat.js';
|
|
36
|
-
import './LabelDateComponentFormat.js';
|
|
37
|
-
import './LabelFieldLocationType.js';
|
|
38
|
-
import './ReceiptScanningLineItem.js';
|
|
39
|
-
import './ValidationFlowField.js';
|
|
40
|
-
import './LabelCaptureFeedback.js';
|
|
41
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
42
|
-
import './LabelCaptureSettings.js';
|
|
43
|
-
import './LabelDefinition.js';
|
|
44
|
-
import './ImeiOneBarcode.js';
|
|
45
|
-
import './BarcodeField.js';
|
|
46
|
-
import './LabelFieldDefinition.js';
|
|
47
|
-
import './ImeiTwoBarcode.js';
|
|
48
|
-
import './PackingDateText.js';
|
|
49
|
-
import './TextField.js';
|
|
50
|
-
import './PartNumberBarcode.js';
|
|
51
|
-
import './SerialNumberBarcode.js';
|
|
52
|
-
import './TotalPriceText.js';
|
|
53
|
-
import './UnitPriceText.js';
|
|
54
|
-
import './WeightText.js';
|
|
55
|
-
import './CustomBarcode.js';
|
|
56
|
-
import './LabelFieldLocation.js';
|
|
57
|
-
import './CustomText.js';
|
|
58
|
-
import './DateText.js';
|
|
59
|
-
import './ExpiryDateText.js';
|
|
1
|
+
import { c as NativeProxyHandle, r as LabelCaptureAdaptiveRecognitionSettings, t as AdaptiveRecognitionResult } from "../AdaptiveRecognitionResult-Clnk-SP8.js";
|
|
2
|
+
import { t as LabelCapture } from "../LabelCapture-BZi-QVCO.js";
|
|
3
|
+
import { DataCaptureOverlay, DataCaptureView } from "@scandit/web-datacapture-core";
|
|
4
|
+
import { nativeHandle } from "@scandit/web-datacapture-core/build/js/private/nativeHandle.js";
|
|
5
|
+
import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable.js";
|
|
60
6
|
|
|
7
|
+
//#region src/main/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts
|
|
61
8
|
interface LabelCaptureAdaptiveRecognitionOverlayJSON {
|
|
62
|
-
|
|
63
|
-
|
|
9
|
+
type: "AdaptiveRecognitionOverlay";
|
|
10
|
+
nativeHandle: NativeProxyHandle;
|
|
64
11
|
}
|
|
65
12
|
interface LabelCaptureAdaptiveRecognitionListener {
|
|
66
|
-
|
|
67
|
-
|
|
13
|
+
onRecognized?(result: AdaptiveRecognitionResult): void;
|
|
14
|
+
onFailure?(): void;
|
|
68
15
|
}
|
|
69
16
|
/**
|
|
70
17
|
* Overlay for displaying receipt scanning processing animation.
|
|
@@ -72,39 +19,39 @@ interface LabelCaptureAdaptiveRecognitionListener {
|
|
|
72
19
|
* Result and error displays are delegated to application listeners (following iOS/Android pattern).
|
|
73
20
|
*/
|
|
74
21
|
declare class LabelCaptureAdaptiveRecognitionOverlay implements DataCaptureOverlay, Serializable<LabelCaptureAdaptiveRecognitionOverlayJSON> {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
22
|
+
[nativeHandle]: NativeProxyHandle;
|
|
23
|
+
listener: LabelCaptureAdaptiveRecognitionListener | null;
|
|
24
|
+
private labelCapture;
|
|
25
|
+
private receiptScanningHandler;
|
|
26
|
+
private dataCaptureView;
|
|
27
|
+
private overlayElement;
|
|
28
|
+
private onContextUpdatedListenerHandler;
|
|
29
|
+
private handlerListener;
|
|
30
|
+
private failedNotificationConfiguration;
|
|
31
|
+
/**
|
|
32
|
+
* TODO: flag to prevent multiple calls to the same method,
|
|
33
|
+
* should be removed when the native implementation is fixed
|
|
34
|
+
*/
|
|
35
|
+
private _isProcessing;
|
|
36
|
+
private constructor();
|
|
37
|
+
toJSONObject(): LabelCaptureAdaptiveRecognitionOverlayJSON;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a receipt scanning overlay for the given label capture and view.
|
|
40
|
+
* @param labelCapture - The label capture instance
|
|
41
|
+
* @param view - The data capture view to attach the overlay to
|
|
42
|
+
* @returns A new LabelCaptureAdaptiveRecognitionOverlay instance
|
|
43
|
+
*/
|
|
44
|
+
static withLabelCaptureForView(labelCapture: LabelCapture, view?: DataCaptureView): Promise<LabelCaptureAdaptiveRecognitionOverlay>;
|
|
45
|
+
private onProcessingStarted;
|
|
46
|
+
private onReceiptScanned;
|
|
47
|
+
private onReceiptScanningFailed;
|
|
48
|
+
applySettings(settings: LabelCaptureAdaptiveRecognitionSettings): Promise<void>;
|
|
49
|
+
private mount;
|
|
50
|
+
private unmount;
|
|
51
|
+
private onContextUpdatedListener;
|
|
52
|
+
private setupUI;
|
|
53
|
+
private showProcessingAnimation;
|
|
54
|
+
private hideProcessingAnimation;
|
|
108
55
|
}
|
|
109
|
-
|
|
110
|
-
export {
|
|
56
|
+
//#endregion
|
|
57
|
+
export { LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, LabelCaptureAdaptiveRecognitionOverlayJSON };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nativeCall as e}from"../worker/nativeCall.js";import{AdaptiveRecognitionOverlay as t}from"../ui/atoms/AdaptiveRecognitionOverlay.js";import{FrameSourceState as n,NotificationConfiguration as r}from"@scandit/web-datacapture-core";import{nativeHandle as i}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var a=class a{constructor(e,t){this.listener=null,this.labelCapture=null,this.receiptScanningHandler=null,this.dataCaptureView=null,this.overlayElement=null,this.onContextUpdatedListenerHandler=this.onContextUpdatedListener.bind(this),this.handlerListener={onProcessingStarted:this.onProcessingStarted.bind(this),onReceiptScanned:this.onReceiptScanned.bind(this),onReceiptScanningFailed:this.onReceiptScanningFailed.bind(this)},this.failedNotificationConfiguration=new r(`A failure occurred`,`AdaptiveRecognitionOverlayError`),this._isProcessing=!1,this[i]=e,this.labelCapture=t}toJSONObject(){return{type:`AdaptiveRecognitionOverlay`,nativeHandle:this[i]}}static async withLabelCaptureForView(t,n){var r,o;let s=new a(await e(`ReceiptScanningOverlay.create`,t[i]),t);return s.receiptScanningHandler=await t.receiptScanningHandler(),(r=s.receiptScanningHandler)==null||r.addListener(s.handlerListener),(o=t.context)==null||o.updateListeners.add(s.onContextUpdatedListenerHandler),n&&await n.addOverlay(s),s}async onProcessingStarted(){var e,t;this._isProcessing||((e=this.dataCaptureView)==null||(e=e.getNotificationPresenter())==null||e.hideNotification(this.failedNotificationConfiguration),this.showProcessingAnimation(),this._isProcessing=!0,await((t=this.labelCapture)==null||(t=t.context)==null||(t=t.frameSource)==null?void 0:t.switchToDesiredState(n.Standby)))}async onReceiptScanned(e){var t,n;this.hideProcessingAnimation(),(t=this.listener)==null||(n=t.onRecognized)==null||n.call(t,e),this._isProcessing=!1}async onReceiptScanningFailed(){var e,t,r,i,a,o;this.hideProcessingAnimation(),(e=this.listener)==null||(t=e.onFailure)==null||t.call(e),this._isProcessing=!1,await((r=this.dataCaptureView)==null||(r=r.getNotificationPresenter())==null?void 0:r.showNotification(this.failedNotificationConfiguration)),await((i=this.labelCapture)==null?void 0:i.setEnabled(!0)),await((a=this.labelCapture)==null||(a=a.context)==null||(a=a.frameSource)==null||(o=a.switchToDesiredState)==null?void 0:o.call(a,n.On))}async applySettings(t){await e(`ReceiptScanningOverlay.applySettings`,this[i],t[i])}async mount(e){this.dataCaptureView=e,this.setupUI()}async unmount(){var e,t,n,r;(e=this.receiptScanningHandler)==null||e.removeListener(this.handlerListener),await((t=this.receiptScanningHandler)==null?void 0:t.finishFlow()),(n=this.labelCapture)==null||(n=n.context)==null||n.updateListeners.delete(this.onContextUpdatedListenerHandler),(r=this.overlayElement)==null||r.remove(),this.overlayElement=null,this.dataCaptureView=null,this.labelCapture=null,this.receiptScanningHandler=null,this._isProcessing=!1}async onContextUpdatedListener(e){if(e.type===`removeOverlay`&&e.newValue===this&&await this.unmount(),e.type===`addOverlay`&&e.newValue===this){var t,r;this.mount(e.view),await((t=this.receiptScanningHandler)==null?void 0:t.startFlow()),await((r=this.labelCapture)==null||(r=r.context)==null||(r=r.frameSource)==null?void 0:r.switchToDesiredState(n.On))}}setupUI(){if(!this.dataCaptureView)return;t.register();let e=t.create();e.show=!1,this.overlayElement=e;let n=this.dataCaptureView.htmlElement;n&&n.prepend(this.overlayElement)}showProcessingAnimation(){this.overlayElement&&!this.overlayElement.show&&!this._isProcessing&&(this.overlayElement.show=!0)}hideProcessingAnimation(){var e;(e=this.overlayElement)!=null&&e.show&&this._isProcessing&&(this.overlayElement.show=!1)}};export{a as LabelCaptureAdaptiveRecognitionOverlay};
|
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export {
|
|
3
|
-
import '@scandit/web-datacapture-barcode';
|
|
4
|
-
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
5
|
-
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
6
|
-
import '../djinni-types/sdcBarcodeData.js';
|
|
7
|
-
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
8
|
-
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
9
|
-
import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
|
|
10
|
-
import '../djinni-types/sdcSymbologySettings.js';
|
|
11
|
-
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
12
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
13
|
-
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
14
|
-
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
15
|
-
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
16
|
-
import '../djinni-types/sdcCoreCommon.js';
|
|
17
|
-
import '../djinni-types/sdcLabelData.js';
|
|
18
|
-
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
19
|
-
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
20
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
21
|
-
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
22
|
-
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
23
|
-
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
24
|
-
import '@scandit/web-datacapture-core';
|
|
25
|
-
import './AdaptiveRecognitionMode.js';
|
|
26
|
-
import './CapturedLabel.js';
|
|
27
|
-
import './LabelField.js';
|
|
28
|
-
import './LabelFieldState.js';
|
|
29
|
-
import './LabelFieldType.js';
|
|
30
|
-
import './LabelFieldValueType.js';
|
|
31
|
-
import './LabelDateResult.js';
|
|
32
|
-
import './LabelCaptureSession.js';
|
|
33
|
-
import './LabelDateFormat.js';
|
|
34
|
-
import './LabelDateComponentFormat.js';
|
|
35
|
-
import './LabelFieldLocationType.js';
|
|
36
|
-
import './ReceiptScanningLineItem.js';
|
|
37
|
-
import './ValidationFlowField.js';
|
|
1
|
+
import { i as ReceiptScanningSettingsJSON, n as AdaptiveRecognitionResultType, r as LabelCaptureAdaptiveRecognitionSettings } from "../AdaptiveRecognitionResult-Clnk-SP8.js";
|
|
2
|
+
export { AdaptiveRecognitionResultType, LabelCaptureAdaptiveRecognitionSettings, ReceiptScanningSettingsJSON };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nativeCall as e}from"../worker/nativeCall.js";import{nativeHandle as t}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";let n=function(e){return e.Receipt=`receipt`,e}({});var r=class n{constructor(e){this.resultType=`receipt`,this[t]=e}async setProcessingHintText(n){await e(`ReceiptScanningSettings.setProcessingHintText`,this[t],n)}async getProcessingHintText(){return e(`ReceiptScanningSettings.getProcessingHintText`,this[t])}static async create(t){let r=t??`receipt`,i=new n(await e(`ReceiptScanningSettings.create`));return i.resultType=r,await i.getProcessingHintText(),i}};export{n as AdaptiveRecognitionResultType,r as LabelCaptureAdaptiveRecognitionSettings};
|
|
@@ -1,60 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
4
|
-
import '../NativeProxy-wKE5sxLq.js';
|
|
5
|
-
import './CapturedLabel.js';
|
|
6
|
-
import '../LabelCapture-DrHOFOh1.js';
|
|
7
|
-
export { L as LabelCaptureAdvancedOverlay } from '../LabelCaptureAdvancedOverlay-FdLIUFg0.js';
|
|
8
|
-
import './LabelCaptureOverlayJSON.js';
|
|
9
|
-
import './LabelField.js';
|
|
10
|
-
import '@scandit/web-datacapture-barcode';
|
|
11
|
-
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
12
|
-
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
13
|
-
import '../djinni-types/sdcBarcodeData.js';
|
|
14
|
-
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
15
|
-
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
16
|
-
import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
|
|
17
|
-
import '../djinni-types/sdcSymbologySettings.js';
|
|
18
|
-
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
19
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
20
|
-
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
21
|
-
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
22
|
-
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
23
|
-
import '../djinni-types/sdcCoreCommon.js';
|
|
24
|
-
import '../djinni-types/sdcLabelData.js';
|
|
25
|
-
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
26
|
-
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
27
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
28
|
-
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
29
|
-
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
30
|
-
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
31
|
-
import './AdaptiveRecognitionMode.js';
|
|
32
|
-
import './LabelCaptureSession.js';
|
|
33
|
-
import './LabelFieldState.js';
|
|
34
|
-
import './LabelFieldType.js';
|
|
35
|
-
import './LabelFieldValueType.js';
|
|
36
|
-
import './LabelDateResult.js';
|
|
37
|
-
import './LabelDateFormat.js';
|
|
38
|
-
import './LabelDateComponentFormat.js';
|
|
39
|
-
import './LabelFieldLocationType.js';
|
|
40
|
-
import './ReceiptScanningLineItem.js';
|
|
41
|
-
import './ValidationFlowField.js';
|
|
42
|
-
import './LabelCaptureFeedback.js';
|
|
43
|
-
import './LabelCaptureSettings.js';
|
|
44
|
-
import './LabelDefinition.js';
|
|
45
|
-
import './ImeiOneBarcode.js';
|
|
46
|
-
import './BarcodeField.js';
|
|
47
|
-
import './LabelFieldDefinition.js';
|
|
48
|
-
import './ImeiTwoBarcode.js';
|
|
49
|
-
import './PackingDateText.js';
|
|
50
|
-
import './TextField.js';
|
|
51
|
-
import './PartNumberBarcode.js';
|
|
52
|
-
import './SerialNumberBarcode.js';
|
|
53
|
-
import './TotalPriceText.js';
|
|
54
|
-
import './UnitPriceText.js';
|
|
55
|
-
import './WeightText.js';
|
|
56
|
-
import './CustomBarcode.js';
|
|
57
|
-
import './LabelFieldLocation.js';
|
|
58
|
-
import './CustomText.js';
|
|
59
|
-
import './DateText.js';
|
|
60
|
-
import './ExpiryDateText.js';
|
|
1
|
+
import { t as LabelCaptureAdvancedOverlay } from "../LabelCaptureAdvancedOverlay-e09i_aoX.js";
|
|
2
|
+
export { LabelCaptureAdvancedOverlay };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{labelWorkerHandler as e}from"../worker/labelWorkerHandler.js";import{nativeCall as t}from"../worker/nativeCall.js";import{LabelCaptureSession as n}from"./LabelCaptureSession.js";import{Anchor as r,MeasureUnit as i,NumberWithUnit as a,PointWithUnit as o}from"@scandit/web-datacapture-core";import{nativeHandle as s}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";var c=class c{static async withLabelCaptureForView(n,r){let i=new c(await t(`LabelCaptureAdvancedOverlay.create`,n[s]));return i._dataCaptureView=r,await r.addOverlay(i),e().addWorkerListener(i.onWorkerMessageHandler),i}constructor(e){this.onWorkerMessageHandler=this.onWorkerMessage.bind(this),this.defaultOffset=new o(new a(0,i.Pixel),new a(0,i.Pixel)),this._viewForCapturedLabelMap=new Map,this._viewForCapturedLabelFieldMap=new Map,this._anchorForCapturedLabelMap=new Map,this._offsetForCapturedLabelMap=new Map,this._offsetForCapturedLabelFieldMap=new Map,this._anchorForCapturedLabelFieldMap=new Map,this.listener=null,this[s]=e}keyForCapturedLabelField(e,t){return`${e.trackingId}-${e.name}-${t.name}`}async setShouldShowScanAreaGuides(e){await t(`LabelCaptureAdvancedOverlay.setShouldShowScanAreaGuides`,this[s],e)}async getShouldShowScanAreaGuides(){return t(`LabelCaptureAdvancedOverlay.getShouldShowScanAreaGuides`,this[s])}setViewForCapturedLabel(e,t){if(t==null){this._viewForCapturedLabelMap.set(e.name,null);return}this._viewForCapturedLabelMap.has(e.name)||this._viewForCapturedLabelMap.set(e.name,t)}setAnchorForCapturedLabel(e,t){this._anchorForCapturedLabelMap.set(e.name,t)}setOffsetForCapturedLabel(e,t){this._offsetForCapturedLabelMap.set(e.name,t)}setViewForCapturedLabelField(e,t,n){let r=this.keyForCapturedLabelField(t,e);if(n==null){this._viewForCapturedLabelFieldMap.set(r,null);return}this._viewForCapturedLabelFieldMap.has(r)||this._viewForCapturedLabelFieldMap.set(r,n)}setAnchorForCapturedLabelField(e,t,n){this._anchorForCapturedLabelFieldMap.set(this.keyForCapturedLabelField(t,e),n)}setOffsetForCapturedLabelField(e,t,n){this._offsetForCapturedLabelFieldMap.set(this.keyForCapturedLabelField(t,e),n)}clearCapturedLabelViews(){this._viewForCapturedLabelMap.clear(),this._viewForCapturedLabelFieldMap.clear(),this._dataCaptureView.renderCustomLocationsView({elements:[]})}onWorkerMessage(e){e.type===`labelCaptureOnSessionUpdated`&&this.update(n.fromJSON(e.payload.session))}handleUpdateField(e){let t=[];for(let l of e.fields){var n,i,a,o;let u=this.keyForCapturedLabelField(e,l),d=this._viewForCapturedLabelFieldMap.get(u)??((n=this.listener)==null||(i=n.viewForCapturedLabelField)==null?void 0:i.call(n,this,l)),f=this._anchorForCapturedLabelFieldMap.get(u)??((a=this.listener)==null||(o=a.anchorForCapturedLabelField)==null?void 0:o.call(a,this,l)),p=this._offsetForCapturedLabelFieldMap.get(u);if(p==null&&d!=null){var s,c;p=(s=this.listener)==null||(c=s.offsetForCapturedLabelField)==null?void 0:c.call(s,this,l,d)}t.push({identifier:u,anchorPositions:l.anchorPositions,view:d??null,anchor:f??r.BottomCenter,offset:p??this.defaultOffset})}return t}update(e){let t=[];for(let l of e.capturedLabels){var n,i,a,o;let e=this._viewForCapturedLabelMap.get(l.name)??((n=this.listener)==null||(i=n.viewForCapturedLabel)==null?void 0:i.call(n,this,l)),u=this._anchorForCapturedLabelMap.get(l.name)??((a=this.listener)==null||(o=a.anchorForCapturedLabel)==null?void 0:o.call(a,this,l)),d=this._offsetForCapturedLabelMap.get(l.name);if(d==null&&e!=null){var s,c;d=(s=this.listener)==null||(c=s.offsetForCapturedLabel)==null?void 0:c.call(s,this,l,e)}l.fields.length>0&&t.push({identifier:`${l.trackingId}-${l.name}`,anchorPositions:l.fields[0].anchorPositions,view:e??null,anchor:u??r.BottomCenter,offset:d??this.defaultOffset}),t.push(...this.handleUpdateField(l))}this._dataCaptureView.renderCustomLocationsView({elements:t})}toJSONObject(){return{type:this[s].className,nativeHandle:this[s]}}};export{c as LabelCaptureAdvancedOverlay};
|
|
@@ -1,60 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export { a as LabelCaptureAdvancedOverlayListener } from '../LabelCaptureAdvancedOverlay-FdLIUFg0.js';
|
|
4
|
-
import './LabelField.js';
|
|
5
|
-
import '@scandit/web-datacapture-barcode';
|
|
6
|
-
import './LabelFieldState.js';
|
|
7
|
-
import './LabelFieldType.js';
|
|
8
|
-
import './LabelFieldValueType.js';
|
|
9
|
-
import './LabelDateResult.js';
|
|
10
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
11
|
-
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
12
|
-
import '../NativeProxy-wKE5sxLq.js';
|
|
13
|
-
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
14
|
-
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
15
|
-
import '../djinni-types/sdcBarcodeData.js';
|
|
16
|
-
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
17
|
-
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
18
|
-
import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
|
|
19
|
-
import '../djinni-types/sdcSymbologySettings.js';
|
|
20
|
-
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
21
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
22
|
-
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
23
|
-
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
24
|
-
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
25
|
-
import '../djinni-types/sdcCoreCommon.js';
|
|
26
|
-
import '../djinni-types/sdcLabelData.js';
|
|
27
|
-
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
28
|
-
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
29
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
30
|
-
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
31
|
-
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
32
|
-
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
33
|
-
import './AdaptiveRecognitionMode.js';
|
|
34
|
-
import './LabelCaptureSession.js';
|
|
35
|
-
import './LabelDateFormat.js';
|
|
36
|
-
import './LabelDateComponentFormat.js';
|
|
37
|
-
import './LabelFieldLocationType.js';
|
|
38
|
-
import './ReceiptScanningLineItem.js';
|
|
39
|
-
import './ValidationFlowField.js';
|
|
40
|
-
import '../LabelCapture-DrHOFOh1.js';
|
|
41
|
-
import './LabelCaptureFeedback.js';
|
|
42
|
-
import './LabelCaptureSettings.js';
|
|
43
|
-
import './LabelDefinition.js';
|
|
44
|
-
import './ImeiOneBarcode.js';
|
|
45
|
-
import './BarcodeField.js';
|
|
46
|
-
import './LabelFieldDefinition.js';
|
|
47
|
-
import './ImeiTwoBarcode.js';
|
|
48
|
-
import './PackingDateText.js';
|
|
49
|
-
import './TextField.js';
|
|
50
|
-
import './PartNumberBarcode.js';
|
|
51
|
-
import './SerialNumberBarcode.js';
|
|
52
|
-
import './TotalPriceText.js';
|
|
53
|
-
import './UnitPriceText.js';
|
|
54
|
-
import './WeightText.js';
|
|
55
|
-
import './CustomBarcode.js';
|
|
56
|
-
import './LabelFieldLocation.js';
|
|
57
|
-
import './CustomText.js';
|
|
58
|
-
import './DateText.js';
|
|
59
|
-
import './ExpiryDateText.js';
|
|
60
|
-
import './LabelCaptureOverlayJSON.js';
|
|
1
|
+
import { n as LabelCaptureAdvancedOverlayListener } from "../LabelCaptureAdvancedOverlay-e09i_aoX.js";
|
|
2
|
+
export { LabelCaptureAdvancedOverlayListener };
|
|
@@ -1,60 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
4
|
-
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
5
|
-
import './CapturedLabel.js';
|
|
6
|
-
import './LabelField.js';
|
|
7
|
-
import '../NativeProxy-wKE5sxLq.js';
|
|
8
|
-
import '../LabelCapture-DrHOFOh1.js';
|
|
9
|
-
export { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-DFtQFeL_.js';
|
|
10
|
-
import './LabelCaptureOverlayJSON.js';
|
|
11
|
-
import '@scandit/web-datacapture-barcode';
|
|
12
|
-
import './LabelFieldState.js';
|
|
13
|
-
import './LabelFieldType.js';
|
|
14
|
-
import './LabelFieldValueType.js';
|
|
15
|
-
import './LabelDateResult.js';
|
|
16
|
-
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
17
|
-
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
18
|
-
import '../djinni-types/sdcBarcodeData.js';
|
|
19
|
-
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
20
|
-
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
21
|
-
import '../sdcLabelInternalModuleCapture-yM8m0vEc.js';
|
|
22
|
-
import '../djinni-types/sdcSymbologySettings.js';
|
|
23
|
-
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
24
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
25
|
-
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
26
|
-
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
27
|
-
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
28
|
-
import '../djinni-types/sdcCoreCommon.js';
|
|
29
|
-
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
30
|
-
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
31
|
-
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
32
|
-
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
33
|
-
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
34
|
-
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
35
|
-
import './AdaptiveRecognitionMode.js';
|
|
36
|
-
import './LabelCaptureSession.js';
|
|
37
|
-
import './LabelDateFormat.js';
|
|
38
|
-
import './LabelDateComponentFormat.js';
|
|
39
|
-
import './LabelFieldLocationType.js';
|
|
40
|
-
import './ReceiptScanningLineItem.js';
|
|
41
|
-
import './ValidationFlowField.js';
|
|
42
|
-
import './LabelCaptureFeedback.js';
|
|
43
|
-
import './LabelCaptureSettings.js';
|
|
44
|
-
import './LabelDefinition.js';
|
|
45
|
-
import './ImeiOneBarcode.js';
|
|
46
|
-
import './BarcodeField.js';
|
|
47
|
-
import './LabelFieldDefinition.js';
|
|
48
|
-
import './ImeiTwoBarcode.js';
|
|
49
|
-
import './PackingDateText.js';
|
|
50
|
-
import './TextField.js';
|
|
51
|
-
import './PartNumberBarcode.js';
|
|
52
|
-
import './SerialNumberBarcode.js';
|
|
53
|
-
import './TotalPriceText.js';
|
|
54
|
-
import './UnitPriceText.js';
|
|
55
|
-
import './WeightText.js';
|
|
56
|
-
import './CustomBarcode.js';
|
|
57
|
-
import './LabelFieldLocation.js';
|
|
58
|
-
import './CustomText.js';
|
|
59
|
-
import './DateText.js';
|
|
60
|
-
import './ExpiryDateText.js';
|
|
1
|
+
import { t as LabelCaptureBasicOverlay } from "../LabelCaptureBasicOverlay-BZl1LJkD.js";
|
|
2
|
+
export { LabelCaptureBasicOverlay };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{LabelField as e}from"./LabelField.js";import{CapturedLabel as t}from"./CapturedLabel.js";import{labelWorkerHandler as n}from"../worker/labelWorkerHandler.js";import{createProxiedViewFinder as r}from"../private/createProxiedViewFinder.js";import{AimerViewfinder as i,Logger as a,RectangularViewfinder as o}from"@scandit/web-datacapture-core";import{nativeHandle as s}from"@scandit/web-datacapture-core/build/js/private/nativeHandle.js";function c(e){return e instanceof o||e instanceof i}var l=class i{static async withLabelCapture(e){return new i(await n().workerCommand(`labelCaptureBasicOverlayForLabelCapture`,{payload:{labelCaptureHandle:e[s]}}))}static async withLabelCaptureForView(e,t){let r=new i(await n().workerCommand(`labelCaptureBasicOverlayForLabelCapture`,{payload:{labelCaptureHandle:e[s]}}));return await t.addOverlay(r),r}constructor(e){this.listeners=new Set,this.onWorkerMessageHandler=this.onWorkerMessage.bind(this),this[s]=e}toJSONObject(){return{type:this[s].className,nativeHandle:this[s]}}async getListener(){return this.listeners.size===0?null:[...this.listeners.values()][0]}async setListener(e){if(!e){this.listeners.clear(),n().removeWorkerListener(this.onWorkerMessageHandler),await n().workerCommand(`labelCaptureBasicOverlaySetListener`,{payload:{labelCaptureBasicOverlayHandle:this[s],value:!1}});return}this.listeners.size===0&&(this.listeners.add(e),n().addWorkerListener(this.onWorkerMessageHandler),await n().workerCommand(`labelCaptureBasicOverlaySetListener`,{payload:{labelCaptureBasicOverlayHandle:this[s],value:!0}}))}async getDefaultFieldBrush(e){return await n().workerCommand(`labelCaptureBasicOverlayGetDefaultFieldBrush`,{payload:{labelCaptureBasicOverlayHandle:this[s],labelFieldState:e}})}async setDefaultFieldBrush(e,t){return await n().workerCommand(`labelCaptureBasicOverlaySetDefaultFieldBrush`,{payload:{labelCaptureBasicOverlayHandle:this[s],labelFieldState:t,brush:e.toJSONObject()}})}async getDefaultLabelBrush(){return await n().workerCommand(`labelCaptureBasicOverlayGetDefaultLabelBrush`,{payload:{labelCaptureBasicOverlayHandle:this[s]}})}async setDefaultLabelBrush(e){return await n().workerCommand(`labelCaptureBasicOverlaySetDefaultLabelBrush`,{payload:{labelCaptureBasicOverlayHandle:this[s],brush:e.toJSONObject()}})}async setBrushForField(e,t,r){return await n().workerCommand(`labelCaptureBasicOverlaySetBrushForField`,{payload:{labelCaptureBasicOverlayHandle:this[s],fieldJSON:t.toJSONObject(),labelJSON:r.toJSONObject(),brush:e.toJSONObject()}})}async setBrushForLabel(e,t){return await n().workerCommand(`labelCaptureBasicOverlaySetBrushForLabel`,{payload:{labelCaptureBasicOverlayHandle:this[s],labelJSON:t.toJSONObject(),brush:e.toJSONObject()}})}async getShouldShowScanAreaGuides(){return await n().workerCommand(`labelCaptureBasicOverlayGetShouldShowScanAreaGuides`,{payload:{labelCaptureBasicOverlayHandle:this[s]}})}async setShouldShowScanAreaGuides(e){return await n().workerCommand(`labelCaptureBasicOverlaySetShouldShowScanAreaGuides`,{payload:{labelCaptureBasicOverlayHandle:this[s],show:e}})}async getViewfinder(){return await n().workerCommand(`labelCaptureBasicOverlayGetViewfinder`,{payload:{labelCaptureBasicOverlayHandle:this[s]}})}async setViewfinder(e){if(!c(e)){a.error(`Supported viewfinder types are RectangularViewfinder and AimerViewfinder`,e);return}return this.proxiedViewFinder=r(this,n(),e),await n().workerCommand(`labelCaptureBasicOverlayUpdateViewfinder`,{payload:{labelCaptureBasicOverlayHandle:this[s],viewfinderJSON:e==null?void 0:e.toJSONObject()}})}onWorkerMessage(n){switch(n.type){case`labelCaptureBasicOverlayOnLabelTapped`:for(let e of this.listeners){var r;(r=e.onLabelTapped)==null||r.call(e,this,t.fromJSON(n.payload.labelJSON))}break;case`labelCaptureBasicOverlayBrushForField`:for(let r of this.listeners){var i;let a=e.fromJSON(n.payload.fieldJSON),o=t.fromJSON(n.payload.labelJSON),s=(i=r.brushForField)==null?void 0:i.call(r,this,a,o);s&&this.setBrushForField(s,a,o)}break;case`labelCaptureBasicOverlayBrushForLabel`:for(let e of this.listeners){var a;let r=t.fromJSON(n.payload.labelJSON),i=(a=e.brushForLabel)==null?void 0:a.call(e,this,r);i&&this.setBrushForLabel(i,r)}break;default:break}}};export{l as LabelCaptureBasicOverlay};
|