@scandit/web-datacapture-label 8.0.0 → 8.1.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 +201 -71
- package/build/js/{LabelCapture-r1VXyYY1.d.ts → LabelCapture-DGLkCHVN.d.ts} +1 -3
- package/build/js/{LabelCaptureAdvancedOverlay-CX1Nuzz9.d.ts → LabelCaptureAdvancedOverlay-B1hVlOzu.d.ts} +2 -2
- package/build/js/{LabelCaptureBasicOverlay-Dpxz5gik.d.ts → LabelCaptureBasicOverlay-BjmQOKkn.d.ts} +2 -2
- package/build/js/{NativeProxy-Dqn_Pwfi.d.ts → NativeProxy-B98bIlIp.d.ts} +203 -22
- package/build/js/api/AdaptiveRecognitionResult.d.ts +38 -0
- package/build/js/api/AdaptiveRecognitionResult.js +1 -0
- package/build/js/api/CustomBarcodeBuilder.js +1 -1
- package/build/js/api/CustomText.d.ts +2 -1
- package/build/js/api/CustomTextBuilder.d.ts +2 -1
- package/build/js/api/DateText.d.ts +2 -1
- package/build/js/api/DateTextBuilder.d.ts +2 -1
- package/build/js/api/DateTextBuilder.js +1 -1
- package/build/js/api/ExpiryDateText.d.ts +2 -1
- package/build/js/api/ExpiryDateTextBuilder.d.ts +2 -1
- package/build/js/api/ExpiryDateTextBuilder.js +1 -1
- package/build/js/api/ImeiOneBarcodeBuilder.js +1 -1
- package/build/js/api/LabelCapture.d.ts +3 -2
- package/build/js/api/LabelCapture.js +1 -1
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts +111 -0
- package/build/js/api/LabelCaptureAdaptiveRecognitionOverlay.js +1 -0
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.d.ts +38 -0
- package/build/js/api/LabelCaptureAdaptiveRecognitionSettings.js +1 -0
- package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +4 -3
- package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +4 -3
- package/build/js/api/LabelCaptureBasicOverlay.d.ts +4 -3
- package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +4 -3
- package/build/js/api/LabelCaptureListener.d.ts +3 -2
- package/build/js/api/LabelCaptureOverlayJSON.d.ts +3 -1
- package/build/js/api/LabelCaptureSettings.d.ts +2 -1
- package/build/js/api/LabelCaptureValidationFlowOverlay.d.ts +7 -6
- package/build/js/api/LabelCaptureValidationFlowOverlay.js +1 -1
- package/build/js/api/LabelDefinition.d.ts +2 -1
- package/build/js/api/PackingDateText.d.ts +2 -1
- package/build/js/api/PackingDateTextBuilder.d.ts +2 -1
- package/build/js/api/PrivateReceiptScanningHandler.d.ts +76 -0
- package/build/js/api/PrivateReceiptScanningHandler.js +1 -0
- package/build/js/api/PrivateReceiptScanningListener.d.ts +59 -0
- package/build/js/api/PrivateReceiptScanningListener.js +0 -0
- package/build/js/api/ReceiptScanningLineItem.d.ts +39 -0
- package/build/js/api/ReceiptScanningLineItem.js +1 -0
- package/build/js/api/ReceiptScanningResult.d.ts +38 -0
- package/build/js/api/ReceiptScanningResult.js +1 -0
- package/build/js/api/TotalPriceText.d.ts +2 -1
- package/build/js/api/TotalPriceTextBuilder.d.ts +2 -1
- package/build/js/api/UnitPriceText.d.ts +2 -1
- package/build/js/api/UnitPriceTextBuilder.d.ts +2 -1
- package/build/js/api/WeightText.d.ts +2 -1
- package/build/js/api/WeightTextBuilder.d.ts +2 -1
- package/build/js/chunks/chunk-4PATACKR.js +1 -0
- package/build/js/chunks/chunk-4ZTL5HVQ.js +2 -0
- package/build/js/chunks/{chunk-3XCVMISO.js → chunk-AMSYA75T.js} +1 -1
- package/build/js/chunks/chunk-BJR4M6IU.js +1 -0
- package/build/js/chunks/chunk-CUHE565K.js +1 -0
- package/build/js/chunks/chunk-D6QEVE6U.js +1 -0
- package/build/js/chunks/chunk-DDYADIOR.js +1 -0
- package/build/js/chunks/chunk-G37GYNDK.js +1 -0
- package/build/js/chunks/chunk-IUFE5KAN.js +1 -0
- package/build/js/chunks/chunk-MMRF53YY.js +1 -0
- package/build/js/chunks/chunk-N2RCJCCU.js +1 -0
- package/build/js/chunks/chunk-QAQGURQH.js +1 -0
- package/build/js/chunks/chunk-RXF55CRU.js +1 -0
- package/build/js/chunks/{chunk-FEDVCTOM.js → chunk-T5PFYQ2F.js} +1 -1
- package/build/js/chunks/{chunk-TUGEFRT6.js → chunk-THXK2CAH.js} +1 -1
- package/build/js/chunks/{chunk-2JQJUKKV.js → chunk-U77DVACF.js} +1 -1
- package/build/js/chunks/{chunk-NJRLN3WA.js → chunk-VAZEF7GZ.js} +1 -1
- package/build/js/chunks/{chunk-TKET64Y7.js → chunk-ZVURFK6X.js} +1 -1
- package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts +4 -3
- package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +15 -2
- package/build/js/djinni-types/sdcLabelInternalModuleData.d.ts +20 -1
- package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +18 -1
- package/build/js/index.d.ts +11 -9
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.js +1 -1
- package/build/js/private/PrivateLabelFieldDefinition.d.ts +2 -1
- package/build/js/private/createProxiedViewFinder.d.ts +4 -3
- package/build/js/private/viewfinderTranslator.js +1 -1
- package/build/js/ui/organisms/AdaptiveRecognitionOverlay.d.ts +25 -0
- package/build/js/ui/organisms/AdaptiveRecognitionOverlay.js +1 -0
- package/build/js/worker/LabelCaptureWorkerManager.d.ts +3 -1
- package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
- package/build/js/worker/WorkerMain.d.ts +10 -10
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/WorkerRegistry.d.ts +3 -1
- package/build/js/worker/dataCaptureEngine.d.ts +3 -1
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +3 -1
- package/build/js/worker/handlers/FieldBuilderHandler.d.ts +45 -0
- package/build/js/worker/handlers/FieldBuilderHandler.js +1 -0
- package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.d.ts +45 -0
- package/build/js/worker/handlers/LabelCaptureAdvancedOverlayHandler.js +1 -0
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.d.ts +61 -0
- package/build/js/worker/handlers/LabelCaptureBasicOverlayHandler.js +1 -0
- package/build/js/worker/handlers/LabelCaptureHandler.d.ts +51 -0
- package/build/js/worker/handlers/LabelCaptureHandler.js +1 -0
- package/build/js/worker/handlers/ReceiptScanningHandler.d.ts +52 -0
- package/build/js/worker/handlers/ReceiptScanningHandler.js +1 -0
- package/build/js/worker/handlers/SettingsHandler.d.ts +51 -0
- package/build/js/worker/handlers/SettingsHandler.js +1 -0
- package/build/js/worker/handlers/ValidationFlowHandler.d.ts +52 -0
- package/build/js/worker/handlers/ValidationFlowHandler.js +1 -0
- package/build/js/worker/labelCapture.inlineWorker.d.ts +3 -1
- package/build/js/worker/labelCapture.inlineWorker.js +1 -1
- package/build/js/worker/labelWorkerHandler.d.ts +3 -1
- package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +3 -1
- package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +3 -1
- package/build/js/worker/proxies/BarcodeFieldProxy.js +1 -1
- package/build/js/worker/proxies/CapturedLabelProxy.d.ts +3 -1
- package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
- package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +9 -16
- package/build/js/worker/proxies/CustomBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/CustomTextProxy.d.ts +7 -14
- package/build/js/worker/proxies/CustomTextProxy.js +1 -1
- package/build/js/worker/proxies/DateTextProxy.d.ts +6 -12
- package/build/js/worker/proxies/DateTextProxy.js +1 -1
- package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +9 -15
- package/build/js/worker/proxies/ExpiryDateTextProxy.js +1 -1
- package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +9 -18
- package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +9 -18
- package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelCaptureHelperProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +6 -2
- package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelCaptureProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
- package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelFieldLocationProxy.js +1 -1
- package/build/js/worker/proxies/LabelFieldProxy.d.ts +3 -1
- package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
- package/build/js/worker/proxies/NativeProxy.d.ts +3 -1
- package/build/js/worker/proxies/NativeProxy.js +1 -1
- package/build/js/worker/proxies/NoViewfinderProxy.d.ts +3 -1
- package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/PackingDateTextProxy.d.ts +12 -18
- package/build/js/worker/proxies/PackingDateTextProxy.js +1 -1
- package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +9 -18
- package/build/js/worker/proxies/PartNumberBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.d.ts +52 -0
- package/build/js/worker/proxies/ReceiptScanningHandlerProxy.js +1 -0
- package/build/js/worker/proxies/ReceiptScanningOverlayProxy.d.ts +51 -0
- package/build/js/worker/proxies/ReceiptScanningOverlayProxy.js +1 -0
- package/build/js/worker/proxies/ReceiptScanningSettingsProxy.d.ts +48 -0
- package/build/js/worker/proxies/ReceiptScanningSettingsProxy.js +1 -0
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.d.ts +3 -1
- package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -1
- package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +3 -1
- package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
- package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +9 -18
- package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +1 -1
- package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +7 -15
- package/build/js/worker/proxies/TotalPriceTextProxy.js +1 -1
- package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +7 -15
- package/build/js/worker/proxies/UnitPriceTextProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowListenerProxy.d.ts +3 -1
- package/build/js/worker/proxies/ValidationFlowOverlayProxy.d.ts +3 -1
- package/build/js/worker/proxies/ValidationFlowOverlayProxy.js +1 -1
- package/build/js/worker/proxies/ValidationFlowSettingsProxy.d.ts +3 -1
- package/build/js/worker/proxies/ValidationFlowSettingsProxy.js +1 -1
- package/build/js/worker/proxies/WeightTextProxy.d.ts +19 -27
- package/build/js/worker/proxies/WeightTextProxy.js +1 -1
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.d.ts +57 -0
- package/build/js/worker/proxies/base/BarcodeFieldProxyBase.js +1 -0
- package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.d.ts +95 -0
- package/build/js/worker/proxies/base/LabelFieldDefinitionBaseProxy.js +1 -0
- package/build/js/worker/proxies/base/index.d.ts +40 -0
- package/build/js/worker/proxies/base/index.js +1 -0
- package/package.json +6 -6
- package/sdc-lib/resources/models/barcode_label_localization_mslc_model_s.77afd87bb1ae.model +0 -0
- package/sdc-lib/resources/models/invalidated_id_classification_default.655732a12364.model +0 -0
- package/sdc-lib/resources/models/ocr_barcode_semantics_default.afe40f85a32d.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/chunks/chunk-4VDTMXV4.js +0 -1
- package/build/js/chunks/chunk-6ZRD5AHI.js +0 -1
- package/build/js/chunks/chunk-BIHOAP6N.js +0 -2
- package/build/js/chunks/chunk-BMVC3AFP.js +0 -1
- package/sdc-lib/resources/models/invalidated_id_classification_default.373f114cb966.model +0 -0
- package/sdc-lib/resources/models/ocr_barcode_semantics_default.8c2870b758fd.model +0 -0
|
@@ -2,7 +2,7 @@ import '@scandit/web-datacapture-core';
|
|
|
2
2
|
import './LabelCaptureFeedback.js';
|
|
3
3
|
import './LabelCaptureSettings.js';
|
|
4
4
|
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
5
|
-
export { L as LabelCapture } from '../LabelCapture-
|
|
5
|
+
export { L as LabelCapture } from '../LabelCapture-DGLkCHVN.js';
|
|
6
6
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
7
7
|
import './LabelDefinition.js';
|
|
8
8
|
import './AdaptiveRecognitionMode.js';
|
|
@@ -12,7 +12,7 @@ import './BarcodeField.js';
|
|
|
12
12
|
import './LabelFieldDefinition.js';
|
|
13
13
|
import './ImeiTwoBarcode.js';
|
|
14
14
|
import './PackingDateText.js';
|
|
15
|
-
import '../NativeProxy-
|
|
15
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
16
16
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
17
17
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
18
18
|
import '../djinni-types/sdcBarcodeData.js';
|
|
@@ -44,6 +44,7 @@ import './LabelCaptureSession.js';
|
|
|
44
44
|
import './LabelDateFormat.js';
|
|
45
45
|
import './LabelDateComponentFormat.js';
|
|
46
46
|
import './LabelFieldLocationType.js';
|
|
47
|
+
import './ReceiptScanningLineItem.js';
|
|
47
48
|
import './ValidationFlowField.js';
|
|
48
49
|
import './TextField.js';
|
|
49
50
|
import './PartNumberBarcode.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as LabelCapture}from'../chunks/chunk-
|
|
1
|
+
export{a as LabelCapture}from'../chunks/chunk-RXF55CRU.js';
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { DataCaptureOverlay, DataCaptureView } from '@scandit/web-datacapture-core';
|
|
2
|
+
import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Serializable.js';
|
|
3
|
+
import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
4
|
+
import { b as AdaptiveRecognitionResult, N as NativeProxyHandle, L as LabelCaptureAdaptiveRecognitionSettings } from '../NativeProxy-B98bIlIp.js';
|
|
5
|
+
import { L as LabelCapture } from '../LabelCapture-DGLkCHVN.js';
|
|
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 '../djinni-types/sdcLabelInternalModuleCapture.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 '../ResultOrError-wVDzYSuC.js';
|
|
19
|
+
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
20
|
+
import '../djinni-types/sdcCoreCommon.js';
|
|
21
|
+
import '../djinni-types/sdcLabelData.js';
|
|
22
|
+
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
23
|
+
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
24
|
+
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
25
|
+
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
26
|
+
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
27
|
+
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
28
|
+
import './AdaptiveRecognitionMode.js';
|
|
29
|
+
import './CapturedLabel.js';
|
|
30
|
+
import './LabelField.js';
|
|
31
|
+
import './LabelFieldState.js';
|
|
32
|
+
import './LabelFieldType.js';
|
|
33
|
+
import './LabelFieldValueType.js';
|
|
34
|
+
import './LabelDateResult.js';
|
|
35
|
+
import './LabelCaptureSession.js';
|
|
36
|
+
import './LabelDateFormat.js';
|
|
37
|
+
import './LabelDateComponentFormat.js';
|
|
38
|
+
import './LabelFieldLocationType.js';
|
|
39
|
+
import './ReceiptScanningLineItem.js';
|
|
40
|
+
import './ValidationFlowField.js';
|
|
41
|
+
import './LabelCaptureFeedback.js';
|
|
42
|
+
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
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';
|
|
61
|
+
|
|
62
|
+
interface LabelCaptureAdaptiveRecognitionOverlayJSON {
|
|
63
|
+
type: "AdaptiveRecognitionOverlay";
|
|
64
|
+
nativeHandle: NativeProxyHandle;
|
|
65
|
+
}
|
|
66
|
+
interface LabelCaptureAdaptiveRecognitionListener {
|
|
67
|
+
onRecognized?(result: AdaptiveRecognitionResult): void;
|
|
68
|
+
onFailure?(): void;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Overlay for displaying receipt scanning processing animation.
|
|
72
|
+
* Shows visual feedback (animated border and scanning lines) during receipt processing.
|
|
73
|
+
* Result and error displays are delegated to application listeners (following iOS/Android pattern).
|
|
74
|
+
*/
|
|
75
|
+
declare class LabelCaptureAdaptiveRecognitionOverlay implements DataCaptureOverlay, Serializable<LabelCaptureAdaptiveRecognitionOverlayJSON> {
|
|
76
|
+
[nativeHandle]: NativeProxyHandle;
|
|
77
|
+
listener: LabelCaptureAdaptiveRecognitionListener | null;
|
|
78
|
+
private labelCapture;
|
|
79
|
+
private receiptScanningHandler;
|
|
80
|
+
private dataCaptureView;
|
|
81
|
+
private overlayElement;
|
|
82
|
+
private onContextUpdatedListenerHandler;
|
|
83
|
+
private handlerListener;
|
|
84
|
+
private failedNotificationConfiguration;
|
|
85
|
+
/**
|
|
86
|
+
* TODO: flag to prevent multiple calls to the same method,
|
|
87
|
+
* should be removed when the native implementation is fixed
|
|
88
|
+
*/
|
|
89
|
+
private _isProcessing;
|
|
90
|
+
private constructor();
|
|
91
|
+
toJSONObject(): LabelCaptureAdaptiveRecognitionOverlayJSON;
|
|
92
|
+
/**
|
|
93
|
+
* Creates a receipt scanning overlay for the given label capture and view.
|
|
94
|
+
* @param labelCapture - The label capture instance
|
|
95
|
+
* @param view - The data capture view to attach the overlay to
|
|
96
|
+
* @returns A new LabelCaptureAdaptiveRecognitionOverlay instance
|
|
97
|
+
*/
|
|
98
|
+
static withLabelCaptureForView(labelCapture: LabelCapture, view?: DataCaptureView): Promise<LabelCaptureAdaptiveRecognitionOverlay>;
|
|
99
|
+
private onProcessingStarted;
|
|
100
|
+
private onReceiptScanned;
|
|
101
|
+
private onReceiptScanningFailed;
|
|
102
|
+
applySettings(settings: LabelCaptureAdaptiveRecognitionSettings): Promise<void>;
|
|
103
|
+
private mount;
|
|
104
|
+
private unmount;
|
|
105
|
+
private onContextUpdatedListener;
|
|
106
|
+
private setupUI;
|
|
107
|
+
private showProcessingAnimation;
|
|
108
|
+
private hideProcessingAnimation;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { type LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, type LabelCaptureAdaptiveRecognitionOverlayJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as LabelCaptureAdaptiveRecognitionOverlay}from'../chunks/chunk-G37GYNDK.js';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
2
|
+
export { A as AdaptiveRecognitionResultType, L as LabelCaptureAdaptiveRecognitionSettings, c as ReceiptScanningSettingsJSON } from '../NativeProxy-B98bIlIp.js';
|
|
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 '../djinni-types/sdcLabelInternalModuleCapture.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 '../ResultOrError-wVDzYSuC.js';
|
|
16
|
+
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
17
|
+
import '../djinni-types/sdcCoreCommon.js';
|
|
18
|
+
import '../djinni-types/sdcLabelData.js';
|
|
19
|
+
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
20
|
+
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
21
|
+
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
22
|
+
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
23
|
+
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
24
|
+
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
25
|
+
import '@scandit/web-datacapture-core';
|
|
26
|
+
import './AdaptiveRecognitionMode.js';
|
|
27
|
+
import './CapturedLabel.js';
|
|
28
|
+
import './LabelField.js';
|
|
29
|
+
import './LabelFieldState.js';
|
|
30
|
+
import './LabelFieldType.js';
|
|
31
|
+
import './LabelFieldValueType.js';
|
|
32
|
+
import './LabelDateResult.js';
|
|
33
|
+
import './LabelCaptureSession.js';
|
|
34
|
+
import './LabelDateFormat.js';
|
|
35
|
+
import './LabelDateComponentFormat.js';
|
|
36
|
+
import './LabelFieldLocationType.js';
|
|
37
|
+
import './ReceiptScanningLineItem.js';
|
|
38
|
+
import './ValidationFlowField.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as AdaptiveRecognitionResultType,b as LabelCaptureAdaptiveRecognitionSettings}from'../chunks/chunk-N2RCJCCU.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@scandit/web-datacapture-core';
|
|
2
2
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
3
3
|
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
4
|
-
import '../NativeProxy-
|
|
4
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
5
5
|
import './CapturedLabel.js';
|
|
6
|
-
import '../LabelCapture-
|
|
7
|
-
export { L as LabelCaptureAdvancedOverlay } from '../LabelCaptureAdvancedOverlay-
|
|
6
|
+
import '../LabelCapture-DGLkCHVN.js';
|
|
7
|
+
export { L as LabelCaptureAdvancedOverlay } from '../LabelCaptureAdvancedOverlay-B1hVlOzu.js';
|
|
8
8
|
import './LabelCaptureOverlayJSON.js';
|
|
9
9
|
import './LabelField.js';
|
|
10
10
|
import '@scandit/web-datacapture-barcode';
|
|
@@ -38,6 +38,7 @@ import './LabelDateResult.js';
|
|
|
38
38
|
import './LabelDateFormat.js';
|
|
39
39
|
import './LabelDateComponentFormat.js';
|
|
40
40
|
import './LabelFieldLocationType.js';
|
|
41
|
+
import './ReceiptScanningLineItem.js';
|
|
41
42
|
import './ValidationFlowField.js';
|
|
42
43
|
import './LabelCaptureFeedback.js';
|
|
43
44
|
import './LabelCaptureSettings.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@scandit/web-datacapture-core';
|
|
2
2
|
import './CapturedLabel.js';
|
|
3
|
-
export { a as LabelCaptureAdvancedOverlayListener } from '../LabelCaptureAdvancedOverlay-
|
|
3
|
+
export { a as LabelCaptureAdvancedOverlayListener } from '../LabelCaptureAdvancedOverlay-B1hVlOzu.js';
|
|
4
4
|
import './LabelField.js';
|
|
5
5
|
import '@scandit/web-datacapture-barcode';
|
|
6
6
|
import './LabelFieldState.js';
|
|
@@ -9,7 +9,7 @@ import './LabelFieldValueType.js';
|
|
|
9
9
|
import './LabelDateResult.js';
|
|
10
10
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
11
11
|
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
12
|
-
import '../NativeProxy-
|
|
12
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
13
13
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
14
14
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
15
15
|
import '../djinni-types/sdcBarcodeData.js';
|
|
@@ -36,8 +36,9 @@ import './LabelCaptureSession.js';
|
|
|
36
36
|
import './LabelDateFormat.js';
|
|
37
37
|
import './LabelDateComponentFormat.js';
|
|
38
38
|
import './LabelFieldLocationType.js';
|
|
39
|
+
import './ReceiptScanningLineItem.js';
|
|
39
40
|
import './ValidationFlowField.js';
|
|
40
|
-
import '../LabelCapture-
|
|
41
|
+
import '../LabelCapture-DGLkCHVN.js';
|
|
41
42
|
import './LabelCaptureFeedback.js';
|
|
42
43
|
import './LabelCaptureSettings.js';
|
|
43
44
|
import './LabelDefinition.js';
|
|
@@ -4,9 +4,9 @@ import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
|
4
4
|
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
5
5
|
import './CapturedLabel.js';
|
|
6
6
|
import './LabelField.js';
|
|
7
|
-
import '../NativeProxy-
|
|
8
|
-
import '../LabelCapture-
|
|
9
|
-
export { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-
|
|
7
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
8
|
+
import '../LabelCapture-DGLkCHVN.js';
|
|
9
|
+
export { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-BjmQOKkn.js';
|
|
10
10
|
import './LabelCaptureOverlayJSON.js';
|
|
11
11
|
import '@scandit/web-datacapture-barcode';
|
|
12
12
|
import './LabelFieldState.js';
|
|
@@ -38,6 +38,7 @@ import './LabelCaptureSession.js';
|
|
|
38
38
|
import './LabelDateFormat.js';
|
|
39
39
|
import './LabelDateComponentFormat.js';
|
|
40
40
|
import './LabelFieldLocationType.js';
|
|
41
|
+
import './ReceiptScanningLineItem.js';
|
|
41
42
|
import './ValidationFlowField.js';
|
|
42
43
|
import './LabelCaptureFeedback.js';
|
|
43
44
|
import './LabelCaptureSettings.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@scandit/web-datacapture-core';
|
|
2
2
|
import './CapturedLabel.js';
|
|
3
3
|
import './LabelField.js';
|
|
4
|
-
export { a as LabelCaptureBasicOverlayListener } from '../LabelCaptureBasicOverlay-
|
|
4
|
+
export { a as LabelCaptureBasicOverlayListener } from '../LabelCaptureBasicOverlay-BjmQOKkn.js';
|
|
5
5
|
import '@scandit/web-datacapture-barcode';
|
|
6
6
|
import './LabelFieldState.js';
|
|
7
7
|
import './LabelFieldType.js';
|
|
@@ -10,7 +10,7 @@ import './LabelDateResult.js';
|
|
|
10
10
|
import '../djinni-types/sdcLabelData.js';
|
|
11
11
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
12
12
|
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
13
|
-
import '../NativeProxy-
|
|
13
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
14
14
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
15
15
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
16
16
|
import '../djinni-types/sdcBarcodeData.js';
|
|
@@ -36,8 +36,9 @@ import './LabelCaptureSession.js';
|
|
|
36
36
|
import './LabelDateFormat.js';
|
|
37
37
|
import './LabelDateComponentFormat.js';
|
|
38
38
|
import './LabelFieldLocationType.js';
|
|
39
|
+
import './ReceiptScanningLineItem.js';
|
|
39
40
|
import './ValidationFlowField.js';
|
|
40
|
-
import '../LabelCapture-
|
|
41
|
+
import '../LabelCapture-DGLkCHVN.js';
|
|
41
42
|
import './LabelCaptureFeedback.js';
|
|
42
43
|
import './LabelCaptureSettings.js';
|
|
43
44
|
import './LabelDefinition.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@scandit/web-datacapture-core';
|
|
2
2
|
import './LabelCaptureSession.js';
|
|
3
|
-
export { a as LabelCaptureListener } from '../LabelCapture-
|
|
3
|
+
export { a as LabelCaptureListener } from '../LabelCapture-DGLkCHVN.js';
|
|
4
4
|
import './CapturedLabel.js';
|
|
5
5
|
import './LabelField.js';
|
|
6
6
|
import '@scandit/web-datacapture-barcode';
|
|
@@ -19,7 +19,7 @@ import './BarcodeField.js';
|
|
|
19
19
|
import './LabelFieldDefinition.js';
|
|
20
20
|
import './ImeiTwoBarcode.js';
|
|
21
21
|
import './PackingDateText.js';
|
|
22
|
-
import '../NativeProxy-
|
|
22
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
23
23
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
24
24
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
25
25
|
import '../djinni-types/sdcBarcodeData.js';
|
|
@@ -44,6 +44,7 @@ import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
|
44
44
|
import './LabelDateFormat.js';
|
|
45
45
|
import './LabelDateComponentFormat.js';
|
|
46
46
|
import './LabelFieldLocationType.js';
|
|
47
|
+
import './ReceiptScanningLineItem.js';
|
|
47
48
|
import './ValidationFlowField.js';
|
|
48
49
|
import './TextField.js';
|
|
49
50
|
import './PartNumberBarcode.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NativeProxyHandle } from '../NativeProxy-
|
|
1
|
+
import { N as NativeProxyHandle } from '../NativeProxy-B98bIlIp.js';
|
|
2
2
|
import '@scandit/web-datacapture-barcode';
|
|
3
3
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
4
4
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
@@ -29,10 +29,12 @@ import './LabelFieldState.js';
|
|
|
29
29
|
import './LabelFieldType.js';
|
|
30
30
|
import './LabelFieldValueType.js';
|
|
31
31
|
import './LabelDateResult.js';
|
|
32
|
+
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
32
33
|
import './LabelCaptureSession.js';
|
|
33
34
|
import './LabelDateFormat.js';
|
|
34
35
|
import './LabelDateComponentFormat.js';
|
|
35
36
|
import './LabelFieldLocationType.js';
|
|
37
|
+
import './ReceiptScanningLineItem.js';
|
|
36
38
|
import './ValidationFlowField.js';
|
|
37
39
|
|
|
38
40
|
type LabelCaptureOverlayJSON = {
|
|
@@ -8,7 +8,7 @@ import './BarcodeField.js';
|
|
|
8
8
|
import './LabelFieldDefinition.js';
|
|
9
9
|
import './ImeiTwoBarcode.js';
|
|
10
10
|
import './PackingDateText.js';
|
|
11
|
-
import '../NativeProxy-
|
|
11
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
12
12
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
13
13
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
14
14
|
import '../djinni-types/sdcBarcodeData.js';
|
|
@@ -40,6 +40,7 @@ import './LabelCaptureSession.js';
|
|
|
40
40
|
import './LabelDateFormat.js';
|
|
41
41
|
import './LabelDateComponentFormat.js';
|
|
42
42
|
import './LabelFieldLocationType.js';
|
|
43
|
+
import './ReceiptScanningLineItem.js';
|
|
43
44
|
import './ValidationFlowField.js';
|
|
44
45
|
import './TextField.js';
|
|
45
46
|
import './PartNumberBarcode.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DataCaptureOverlay, DataCaptureView } from '@scandit/web-datacapture-core';
|
|
2
2
|
import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Serializable.js';
|
|
3
3
|
import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
4
|
-
import { N as NativeProxyHandle } from '../NativeProxy-
|
|
5
|
-
import { L as LabelCapture } from '../LabelCapture-
|
|
4
|
+
import { N as NativeProxyHandle } from '../NativeProxy-B98bIlIp.js';
|
|
5
|
+
import { L as LabelCapture } from '../LabelCapture-DGLkCHVN.js';
|
|
6
6
|
import { LabelCaptureValidationFlowSettings } from './LabelCaptureValidationFlowSettings.js';
|
|
7
7
|
import { LabelField } from './LabelField.js';
|
|
8
8
|
import '@scandit/web-datacapture-barcode';
|
|
@@ -29,10 +29,15 @@ import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
|
29
29
|
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
30
30
|
import './AdaptiveRecognitionMode.js';
|
|
31
31
|
import './CapturedLabel.js';
|
|
32
|
+
import './LabelFieldState.js';
|
|
33
|
+
import './LabelFieldType.js';
|
|
34
|
+
import './LabelFieldValueType.js';
|
|
35
|
+
import './LabelDateResult.js';
|
|
32
36
|
import './LabelCaptureSession.js';
|
|
33
37
|
import './LabelDateFormat.js';
|
|
34
38
|
import './LabelDateComponentFormat.js';
|
|
35
39
|
import './LabelFieldLocationType.js';
|
|
40
|
+
import './ReceiptScanningLineItem.js';
|
|
36
41
|
import './ValidationFlowField.js';
|
|
37
42
|
import './LabelCaptureFeedback.js';
|
|
38
43
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
@@ -54,10 +59,6 @@ import './LabelFieldLocation.js';
|
|
|
54
59
|
import './CustomText.js';
|
|
55
60
|
import './DateText.js';
|
|
56
61
|
import './ExpiryDateText.js';
|
|
57
|
-
import './LabelFieldState.js';
|
|
58
|
-
import './LabelFieldType.js';
|
|
59
|
-
import './LabelFieldValueType.js';
|
|
60
|
-
import './LabelDateResult.js';
|
|
61
62
|
|
|
62
63
|
interface LabelCaptureValidationFlowOverlayJSON {
|
|
63
64
|
type: "ValidationFlowOverlay";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as LabelCaptureValidationFlowOverlay}from'../chunks/chunk-
|
|
1
|
+
export{a as LabelCaptureValidationFlowOverlay}from'../chunks/chunk-VAZEF7GZ.js';
|
|
@@ -15,7 +15,7 @@ import { DateText } from './DateText.js';
|
|
|
15
15
|
import { ExpiryDateText } from './ExpiryDateText.js';
|
|
16
16
|
import '@scandit/web-datacapture-barcode';
|
|
17
17
|
import './BarcodeField.js';
|
|
18
|
-
import '../NativeProxy-
|
|
18
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
19
19
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
20
20
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
21
21
|
import '../djinni-types/sdcBarcodeData.js';
|
|
@@ -48,6 +48,7 @@ import './LabelCaptureSession.js';
|
|
|
48
48
|
import './LabelDateFormat.js';
|
|
49
49
|
import './LabelDateComponentFormat.js';
|
|
50
50
|
import './LabelFieldLocationType.js';
|
|
51
|
+
import './ReceiptScanningLineItem.js';
|
|
51
52
|
import './ValidationFlowField.js';
|
|
52
53
|
import './TextField.js';
|
|
53
54
|
import './LabelFieldLocation.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
2
|
-
import { N as NativeProxyHandle } from '../NativeProxy-
|
|
2
|
+
import { N as NativeProxyHandle } from '../NativeProxy-B98bIlIp.js';
|
|
3
3
|
import { LabelDateFormat } from './LabelDateFormat.js';
|
|
4
4
|
import { TextField } from './TextField.js';
|
|
5
5
|
import '@scandit/web-datacapture-barcode';
|
|
@@ -34,6 +34,7 @@ import './LabelFieldValueType.js';
|
|
|
34
34
|
import './LabelDateResult.js';
|
|
35
35
|
import './LabelCaptureSession.js';
|
|
36
36
|
import './LabelFieldLocationType.js';
|
|
37
|
+
import './ReceiptScanningLineItem.js';
|
|
37
38
|
import './ValidationFlowField.js';
|
|
38
39
|
import './LabelDateComponentFormat.js';
|
|
39
40
|
import './LabelFieldDefinition.js';
|
|
@@ -2,7 +2,7 @@ import { PackingDateText } from './PackingDateText.js';
|
|
|
2
2
|
import { TextFieldBuilder } from './TextFieldBuilder.js';
|
|
3
3
|
import { LabelDateFormat } from './LabelDateFormat.js';
|
|
4
4
|
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
5
|
-
import '../NativeProxy-
|
|
5
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
6
6
|
import '@scandit/web-datacapture-barcode';
|
|
7
7
|
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
8
8
|
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
@@ -35,6 +35,7 @@ import './LabelFieldValueType.js';
|
|
|
35
35
|
import './LabelDateResult.js';
|
|
36
36
|
import './LabelCaptureSession.js';
|
|
37
37
|
import './LabelFieldLocationType.js';
|
|
38
|
+
import './ReceiptScanningLineItem.js';
|
|
38
39
|
import './ValidationFlowField.js';
|
|
39
40
|
import './TextField.js';
|
|
40
41
|
import './LabelFieldDefinition.js';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { PrivateReceiptScanningListener } from './PrivateReceiptScanningListener.js';
|
|
2
|
+
import '../NativeProxy-B98bIlIp.js';
|
|
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 '../djinni-types/sdcLabelInternalModuleCapture.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 '../ResultOrError-wVDzYSuC.js';
|
|
16
|
+
import '../djinni-types/sdcCoreInternalSdkOcr.js';
|
|
17
|
+
import '../djinni-types/sdcCoreCommon.js';
|
|
18
|
+
import '../djinni-types/sdcLabelData.js';
|
|
19
|
+
import '../djinni-types/sdcLabelInternalModuleData.js';
|
|
20
|
+
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
|
|
21
|
+
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
|
|
22
|
+
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
|
|
23
|
+
import '../djinni-types/sdcCoreInternalSdkCapture.js';
|
|
24
|
+
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
|
|
25
|
+
import '@scandit/web-datacapture-core';
|
|
26
|
+
import './AdaptiveRecognitionMode.js';
|
|
27
|
+
import './CapturedLabel.js';
|
|
28
|
+
import './LabelField.js';
|
|
29
|
+
import './LabelFieldState.js';
|
|
30
|
+
import './LabelFieldType.js';
|
|
31
|
+
import './LabelFieldValueType.js';
|
|
32
|
+
import './LabelDateResult.js';
|
|
33
|
+
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.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
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Handler for receipt scanning functionality.
|
|
43
|
+
* Manages the flow of receipt scanning and notification of listeners.
|
|
44
|
+
* This handler bridges between the native Djinni receipt scanning handler
|
|
45
|
+
* and TypeScript listeners, providing a clean API for receipt scanning in the web platform.
|
|
46
|
+
*/
|
|
47
|
+
declare class PrivateReceiptScanningHandler {
|
|
48
|
+
private labelCaptureHandle;
|
|
49
|
+
private listeners;
|
|
50
|
+
private onWorkerMessageHandler;
|
|
51
|
+
private constructor();
|
|
52
|
+
/**
|
|
53
|
+
* Starts the receipt scanning flow.
|
|
54
|
+
*/
|
|
55
|
+
startFlow(): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Finishes the receipt scanning flow.
|
|
58
|
+
*/
|
|
59
|
+
finishFlow(): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Adds a listener to receive receipt scanning events.
|
|
62
|
+
* @param listener - The listener to add
|
|
63
|
+
*/
|
|
64
|
+
addListener(listener: PrivateReceiptScanningListener): void;
|
|
65
|
+
/**
|
|
66
|
+
* Removes a listener from receipt scanning events.
|
|
67
|
+
* @param listener - The listener to remove
|
|
68
|
+
*/
|
|
69
|
+
removeListener(listener: PrivateReceiptScanningListener): void;
|
|
70
|
+
private onWorkerMessage;
|
|
71
|
+
private onReceiptScanned;
|
|
72
|
+
private onReceiptScanningFailed;
|
|
73
|
+
private onProcessingStarted;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { PrivateReceiptScanningHandler };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as PrivateReceiptScanningHandler}from'../chunks/chunk-MMRF53YY.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { a as ReceiptScanningResult } from '../NativeProxy-B98bIlIp.js';
|
|
2
|
+
import '@scandit/web-datacapture-barcode';
|
|
3
|
+
import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
|
|
4
|
+
import '../djinni-types/sdcBarcodeInternalSdkData.js';
|
|
5
|
+
import '../djinni-types/sdcBarcodeData.js';
|
|
6
|
+
import '../djinni-types/sdcCoreCommonGeometry.js';
|
|
7
|
+
import '../djinni-types/sdcCoreCommonBuffer.js';
|
|
8
|
+
import '../djinni-types/sdcLabelInternalModuleCapture.js';
|
|
9
|
+
import '../djinni-types/sdcSymbologySettings.js';
|
|
10
|
+
import '../djinni-types/sdcCoreInternalSdkArea.js';
|
|
11
|
+
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
|
|
12
|
+
import '../djinni-types/sdcCoreCommonGraphic.js';
|
|
13
|
+
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
|
|
14
|
+
import '../ResultOrError-wVDzYSuC.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 '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
|
|
33
|
+
import './LabelCaptureSession.js';
|
|
34
|
+
import './LabelDateFormat.js';
|
|
35
|
+
import './LabelDateComponentFormat.js';
|
|
36
|
+
import './LabelFieldLocationType.js';
|
|
37
|
+
import './ReceiptScanningLineItem.js';
|
|
38
|
+
import './ValidationFlowField.js';
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Listener interface for receipt scanning events.
|
|
42
|
+
*/
|
|
43
|
+
interface PrivateReceiptScanningListener {
|
|
44
|
+
/**
|
|
45
|
+
* Called when a receipt has been successfully scanned.
|
|
46
|
+
* @param result - The result containing the extracted receipt data
|
|
47
|
+
*/
|
|
48
|
+
onReceiptScanned?(result: ReceiptScanningResult): void;
|
|
49
|
+
/**
|
|
50
|
+
* Called when receipt scanning has failed.
|
|
51
|
+
*/
|
|
52
|
+
onReceiptScanningFailed?(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Called when receipt processing has started.
|
|
55
|
+
*/
|
|
56
|
+
onProcessingStarted?(): void;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type { PrivateReceiptScanningListener };
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
interface ReceiptScanningLineItemJSON {
|
|
2
|
+
name: string;
|
|
3
|
+
unitPrice: number | null;
|
|
4
|
+
discount: number | null;
|
|
5
|
+
quantity: number;
|
|
6
|
+
totalPrice: number | null;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Represents a single line item from a receipt.
|
|
10
|
+
*/
|
|
11
|
+
declare class ReceiptScanningLineItem {
|
|
12
|
+
private _name;
|
|
13
|
+
private _unitPrice?;
|
|
14
|
+
private _discount?;
|
|
15
|
+
private _quantity;
|
|
16
|
+
private _totalPrice?;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the item.
|
|
19
|
+
*/
|
|
20
|
+
get name(): string;
|
|
21
|
+
/**
|
|
22
|
+
* The unit price of the item, or null if not available.
|
|
23
|
+
*/
|
|
24
|
+
get unitPrice(): number | null;
|
|
25
|
+
/**
|
|
26
|
+
* The discount applied to the item, or null if not available.
|
|
27
|
+
*/
|
|
28
|
+
get discount(): number | null;
|
|
29
|
+
/**
|
|
30
|
+
* The quantity of the item.
|
|
31
|
+
*/
|
|
32
|
+
get quantity(): number;
|
|
33
|
+
/**
|
|
34
|
+
* The total price of the item, or null if not available.
|
|
35
|
+
*/
|
|
36
|
+
get totalPrice(): number | null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { ReceiptScanningLineItem, type ReceiptScanningLineItemJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as ReceiptScanningLineItem}from'../chunks/chunk-D6QEVE6U.js';
|