react-native-scanbot-barcode-scanner-sdk 7.1.2-rc.2 → 8.0.0-rc.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/LICENSE +1 -1
- package/Libraries.txt +437 -17
- package/README.md +32 -34
- package/RNScanbotBarcodeSDK.podspec +3 -2
- package/android/gradle.properties +3 -3
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.kt +117 -69
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkPluginResultDelegate.kt +3 -2
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerView.kt +76 -50
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewEvents.kt +24 -1
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewManager.kt +66 -55
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/models/ScanbotBarcodeScannerModels.kt +1 -1
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/Extensions.kt +19 -0
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.h +8 -7
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.m +92 -221
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.h +12 -8
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.mm +147 -317
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController+Utils.swift +74 -0
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController.swift +429 -0
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewManager.mm +17 -23
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewOperators.h +95 -0
- package/ios/ScanbotBarcodeSdk.m +58 -76
- package/ios/ScanbotBarcodeSdkPluginResultDelegate.m +2 -6
- package/lib/commonjs/Barcode.js +51 -0
- package/lib/commonjs/Barcode.js.map +1 -0
- package/lib/commonjs/ImageProcessor.js +24 -0
- package/lib/commonjs/ImageProcessor.js.map +1 -0
- package/lib/commonjs/Sdk.js +57 -0
- package/lib/commonjs/Sdk.js.map +1 -0
- package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +14 -9
- package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
- package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
- package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
- package/lib/commonjs/{component/barcode-camera-view → components}/index.js +3 -3
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
- package/lib/commonjs/impl/BarcodeScannerImpl.js +59 -0
- package/lib/commonjs/impl/BarcodeScannerImpl.js.map +1 -0
- package/lib/commonjs/impl/ImageProcessorImpl.js +20 -0
- package/lib/commonjs/impl/ImageProcessorImpl.js.map +1 -0
- package/lib/commonjs/impl/SdkImpl.js +27 -0
- package/lib/commonjs/impl/SdkImpl.js.map +1 -0
- package/lib/commonjs/impl/index.js +39 -0
- package/lib/commonjs/impl/index.js.map +1 -0
- package/lib/commonjs/impl/scanbotBarcodeSDKModule.js +22 -0
- package/lib/commonjs/impl/scanbotBarcodeSDKModule.js.map +1 -0
- package/lib/commonjs/index.js +18 -162
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types/base/SdkConfiguration.js +106 -0
- package/lib/commonjs/types/base/SdkConfiguration.js.map +1 -0
- package/lib/commonjs/{base/barcodeSDKConfigurations.js → types/base/customTypes.js} +1 -1
- package/lib/commonjs/types/base/customTypes.js.map +1 -0
- package/lib/commonjs/types/base/errors.js +139 -0
- package/lib/commonjs/types/base/errors.js.map +1 -0
- package/lib/commonjs/types/base/index.js +50 -0
- package/lib/commonjs/types/base/index.js.map +1 -0
- package/lib/commonjs/types/base/utils.js +59 -0
- package/lib/commonjs/types/base/utils.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -74
- package/lib/commonjs/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +62 -10
- package/lib/commonjs/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
- package/lib/commonjs/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeTypes.js +31 -12
- package/lib/commonjs/types/core/barcode/BarcodeTypes.js.map +1 -0
- package/lib/commonjs/types/core/barcode/index.js.map +1 -0
- package/lib/commonjs/types/core/camera/Camera.js +23 -0
- package/lib/commonjs/types/core/camera/Camera.js.map +1 -0
- package/lib/commonjs/types/core/camera/index.js +17 -0
- package/lib/commonjs/types/core/camera/index.js.map +1 -0
- package/lib/commonjs/types/core/common/CommonTypes.js +29 -0
- package/lib/commonjs/types/core/common/CommonTypes.js.map +1 -0
- package/lib/commonjs/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -3
- package/lib/commonjs/types/core/common/JsonSerializationTypes.js.map +1 -0
- package/lib/commonjs/types/core/common/index.js +28 -0
- package/lib/commonjs/types/core/common/index.js.map +1 -0
- package/lib/commonjs/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1131 -160
- package/lib/commonjs/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
- package/lib/commonjs/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
- package/lib/commonjs/types/core/generic_document/CommonFieldType.js.map +1 -0
- package/lib/commonjs/{documents → types/core/generic_document}/GenericDocument.js +13 -18
- package/lib/commonjs/types/core/generic_document/GenericDocument.js.map +1 -0
- package/lib/commonjs/types/core/generic_document/index.js.map +1 -0
- package/lib/commonjs/{utils → types/core}/geometry/Geometry.js +4 -8
- package/lib/commonjs/types/core/geometry/Geometry.js.map +1 -0
- package/lib/commonjs/types/core/geometry/index.js +17 -0
- package/lib/commonjs/types/core/geometry/index.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/image}/ImageRefTypes.js +157 -69
- package/lib/commonjs/types/core/image/ImageRefTypes.js.map +1 -0
- package/lib/commonjs/types/core/image/ImageTypes.js +41 -0
- package/lib/commonjs/types/core/image/ImageTypes.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/image}/image.js +54 -50
- package/lib/commonjs/types/core/image/image.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/image}/index.js +0 -11
- package/lib/commonjs/types/core/image/index.js.map +1 -0
- package/lib/commonjs/types/core/index.js +105 -0
- package/lib/commonjs/types/core/index.js.map +1 -0
- package/lib/commonjs/types/core/licensing/LicensingTypes.js +239 -0
- package/lib/commonjs/types/core/licensing/LicensingTypes.js.map +1 -0
- package/lib/commonjs/types/core/licensing/index.js +17 -0
- package/lib/commonjs/types/core/licensing/index.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
- package/lib/commonjs/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -8
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -6
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -3
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
- package/lib/commonjs/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
- package/lib/commonjs/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
- package/lib/commonjs/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
- package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js +23 -0
- package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -3
- package/lib/commonjs/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/CameraPermission.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -35
- package/lib/commonjs/types/core/ui_v2/common/Common.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
- package/lib/commonjs/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
- package/lib/commonjs/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
- package/lib/commonjs/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
- package/lib/commonjs/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/index.js +15 -15
- package/lib/commonjs/types/core/ui_v2/index.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -4
- package/lib/commonjs/types/core/utils/ObjectPoolTypes.js.map +1 -0
- package/lib/commonjs/types/core/utils/index.js +28 -0
- package/lib/commonjs/types/core/utils/index.js.map +1 -0
- package/lib/commonjs/types/core/utils/utils.js +10 -0
- package/lib/commonjs/types/core/utils/utils.js.map +1 -0
- package/lib/commonjs/types/index.js +28 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/module/Barcode.js +45 -0
- package/lib/module/Barcode.js.map +1 -0
- package/lib/module/ImageProcessor.js +19 -0
- package/lib/module/ImageProcessor.js.map +1 -0
- package/lib/module/Sdk.js +51 -0
- package/lib/module/Sdk.js.map +1 -0
- package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +10 -4
- package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
- package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
- package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
- package/lib/module/impl/BarcodeScannerImpl.js +53 -0
- package/lib/module/impl/BarcodeScannerImpl.js.map +1 -0
- package/lib/module/impl/ImageProcessorImpl.js +15 -0
- package/lib/module/impl/ImageProcessorImpl.js.map +1 -0
- package/lib/module/impl/SdkImpl.js +22 -0
- package/lib/module/impl/SdkImpl.js.map +1 -0
- package/lib/module/impl/index.js +4 -0
- package/lib/module/impl/index.js.map +1 -0
- package/lib/module/impl/scanbotBarcodeSDKModule.js +16 -0
- package/lib/module/impl/scanbotBarcodeSDKModule.js.map +1 -0
- package/lib/module/index.js +5 -119
- package/lib/module/index.js.map +1 -1
- package/lib/module/types/base/SdkConfiguration.js +100 -0
- package/lib/module/types/base/SdkConfiguration.js.map +1 -0
- package/lib/module/types/base/customTypes.js +2 -0
- package/lib/module/types/base/customTypes.js.map +1 -0
- package/lib/module/types/base/errors.js +119 -0
- package/lib/module/types/base/errors.js.map +1 -0
- package/lib/module/types/base/index.js +5 -0
- package/lib/module/types/base/index.js.map +1 -0
- package/lib/module/types/base/utils.js +52 -0
- package/lib/module/types/base/utils.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -76
- package/lib/module/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +60 -9
- package/lib/module/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
- package/lib/module/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeTypes.js +30 -11
- package/lib/module/types/core/barcode/BarcodeTypes.js.map +1 -0
- package/lib/module/types/core/barcode/index.js.map +1 -0
- package/lib/module/types/core/camera/Camera.js +17 -0
- package/lib/module/types/core/camera/Camera.js.map +1 -0
- package/lib/module/types/core/camera/index.js +2 -0
- package/lib/module/types/core/camera/index.js.map +1 -0
- package/lib/module/types/core/common/CommonTypes.js +23 -0
- package/lib/module/types/core/common/CommonTypes.js.map +1 -0
- package/lib/module/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -4
- package/lib/module/types/core/common/JsonSerializationTypes.js.map +1 -0
- package/lib/module/types/core/common/index.js +3 -0
- package/lib/module/types/core/common/index.js.map +1 -0
- package/lib/module/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1129 -159
- package/lib/module/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
- package/lib/module/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
- package/lib/module/types/core/generic_document/CommonFieldType.js.map +1 -0
- package/lib/module/{documents → types/core/generic_document}/GenericDocument.js +13 -18
- package/lib/module/types/core/generic_document/GenericDocument.js.map +1 -0
- package/lib/module/types/core/generic_document/index.js.map +1 -0
- package/lib/module/{utils → types/core}/geometry/Geometry.js +4 -9
- package/lib/module/types/core/geometry/Geometry.js.map +1 -0
- package/lib/module/types/core/geometry/index.js +2 -0
- package/lib/module/types/core/geometry/index.js.map +1 -0
- package/lib/module/{imageRef → types/core/image}/ImageRefTypes.js +156 -68
- package/lib/module/types/core/image/ImageRefTypes.js.map +1 -0
- package/lib/module/types/core/image/ImageTypes.js +35 -0
- package/lib/module/types/core/image/ImageTypes.js.map +1 -0
- package/lib/module/{imageRef → types/core/image}/image.js +54 -49
- package/lib/module/types/core/image/image.js.map +1 -0
- package/lib/module/{imageRef → types/core/image}/index.js +0 -1
- package/lib/module/types/core/image/index.js.map +1 -0
- package/lib/module/types/core/index.js +10 -0
- package/lib/module/types/core/index.js.map +1 -0
- package/lib/module/types/core/licensing/LicensingTypes.js +233 -0
- package/lib/module/types/core/licensing/LicensingTypes.js.map +1 -0
- package/lib/module/types/core/licensing/index.js +2 -0
- package/lib/module/types/core/licensing/index.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
- package/lib/module/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -9
- package/lib/module/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
- package/lib/module/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
- package/lib/module/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -7
- package/lib/module/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -4
- package/lib/module/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
- package/lib/module/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
- package/lib/module/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
- package/lib/module/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
- package/lib/module/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
- package/lib/module/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
- package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js +17 -0
- package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -4
- package/lib/module/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -5
- package/lib/module/types/core/ui_v2/common/CameraPermission.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -36
- package/lib/module/types/core/ui_v2/common/Common.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
- package/lib/module/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
- package/lib/module/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
- package/lib/module/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
- package/lib/module/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
- package/lib/module/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
- package/lib/module/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/index.js +2 -2
- package/lib/module/types/core/ui_v2/index.js.map +1 -0
- package/lib/module/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -5
- package/lib/module/types/core/utils/ObjectPoolTypes.js.map +1 -0
- package/lib/module/types/core/utils/index.js +3 -0
- package/lib/module/types/core/utils/index.js.map +1 -0
- package/lib/module/types/core/utils/utils.js +8 -0
- package/lib/module/types/core/utils/utils.js.map +1 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/typescript/src/Barcode.d.ts +47 -0
- package/lib/typescript/src/Barcode.d.ts.map +1 -0
- package/lib/typescript/src/ImageProcessor.d.ts +12 -0
- package/lib/typescript/src/ImageProcessor.d.ts.map +1 -0
- package/lib/typescript/src/Sdk.d.ts +58 -0
- package/lib/typescript/src/Sdk.d.ts.map +1 -0
- package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +1 -0
- package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts +17 -12
- package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +1 -0
- package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +4 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts +6 -0
- package/lib/typescript/src/components/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts +2 -0
- package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/ImageProcessorImpl.d.ts +2 -0
- package/lib/typescript/src/impl/ImageProcessorImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/SdkImpl.d.ts +2 -0
- package/lib/typescript/src/impl/SdkImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/index.d.ts +4 -0
- package/lib/typescript/src/impl/index.d.ts.map +1 -0
- package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts +2 -0
- package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +5 -66
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types/base/SdkConfiguration.d.ts +74 -0
- package/lib/typescript/src/types/base/SdkConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/types/base/customTypes.d.ts +15 -0
- package/lib/typescript/src/types/base/customTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/base/errors.d.ts +55 -0
- package/lib/typescript/src/types/base/errors.d.ts.map +1 -0
- package/lib/typescript/src/types/base/index.d.ts +5 -0
- package/lib/typescript/src/types/base/index.d.ts.map +1 -0
- package/lib/typescript/src/types/base/utils.d.ts +3 -0
- package/lib/typescript/src/types/base/utils.d.ts.map +1 -0
- package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.d.ts +203 -36
- package/lib/typescript/src/types/core/barcode/BarcodeConfigurationTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts +117 -0
- package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts.map +1 -0
- package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeScannerTypes.d.ts +68 -21
- package/lib/typescript/src/types/core/barcode/BarcodeScannerTypes.d.ts.map +1 -0
- package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeTypes.d.ts +390 -13
- package/lib/typescript/src/types/core/barcode/BarcodeTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/barcode/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/camera/Camera.d.ts +26 -0
- package/lib/typescript/src/types/core/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/src/types/core/camera/index.d.ts +2 -0
- package/lib/typescript/src/types/core/camera/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/common/CommonTypes.d.ts +36 -0
- package/lib/typescript/src/types/core/common/CommonTypes.d.ts.map +1 -0
- package/lib/typescript/src/{utils/json → types/core/common}/JsonSerializationTypes.d.ts +13 -4
- package/lib/typescript/src/types/core/common/JsonSerializationTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/common/index.d.ts +3 -0
- package/lib/typescript/src/types/core/common/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts +2360 -0
- package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts.map +1 -0
- package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts +176 -0
- package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts.map +1 -0
- package/lib/typescript/src/{documents → types/core/generic_document}/GenericDocument.d.ts +82 -14
- package/lib/typescript/src/types/core/generic_document/GenericDocument.d.ts.map +1 -0
- package/lib/typescript/src/types/core/generic_document/index.d.ts.map +1 -0
- package/lib/typescript/src/{utils → types/core}/geometry/Geometry.d.ts +6 -5
- package/lib/typescript/src/types/core/geometry/Geometry.d.ts.map +1 -0
- package/lib/typescript/src/types/core/geometry/index.d.ts +2 -0
- package/lib/typescript/src/types/core/geometry/index.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/image}/ImageRefTypes.d.ts +208 -40
- package/lib/typescript/src/types/core/image/ImageRefTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/image/ImageTypes.d.ts +63 -0
- package/lib/typescript/src/types/core/image/ImageTypes.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/image}/image.d.ts +6 -10
- package/lib/typescript/src/types/core/image/image.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/image}/index.d.ts +0 -1
- package/lib/typescript/src/types/core/image/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/index.d.ts +10 -0
- package/lib/typescript/src/types/core/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts +243 -0
- package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/licensing/index.d.ts +2 -0
- package/lib/typescript/src/types/core/licensing/index.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.d.ts +27 -10
- package/lib/typescript/src/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.d.ts +6 -6
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeItemMapper.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.d.ts +14 -14
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.d.ts +4 -4
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.d.ts +2 -2
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts +8 -0
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.d.ts +6 -6
- package/lib/typescript/src/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.d.ts +42 -15
- package/lib/typescript/src/types/core/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.d.ts +5 -5
- package/lib/typescript/src/types/core/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.d.ts +3 -3
- package/lib/typescript/src/types/core/ui_v2/common/ActionBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts +26 -0
- package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.d.ts +25 -5
- package/lib/typescript/src/types/core/ui_v2/common/CameraConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.d.ts +4 -4
- package/lib/typescript/src/types/core/ui_v2/common/CameraPermission.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/Common.d.ts +55 -24
- package/lib/typescript/src/types/core/ui_v2/common/Common.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts +26 -0
- package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.d.ts +3 -3
- package/lib/typescript/src/types/core/ui_v2/common/ScanCompletionOverlay.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.d.ts +3 -3
- package/lib/typescript/src/types/core/ui_v2/common/ScanbotAlertDialog.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.d.ts +33 -7
- package/lib/typescript/src/types/core/ui_v2/common/TopBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.d.ts +4 -4
- package/lib/typescript/src/types/core/ui_v2/common/UserGuidanceConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.d.ts +7 -7
- package/lib/typescript/src/types/core/ui_v2/common/ViewFinderConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/index.d.ts +2 -2
- package/lib/typescript/src/types/core/ui_v2/index.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/utils}/ObjectPoolTypes.d.ts +3 -3
- package/lib/typescript/src/types/core/utils/ObjectPoolTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/utils/index.d.ts +3 -0
- package/lib/typescript/src/types/core/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/utils/utils.d.ts +28 -0
- package/lib/typescript/src/types/core/utils/utils.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +3 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/package.json +13 -13
- package/src/Barcode.ts +67 -0
- package/src/ImageProcessor.ts +18 -0
- package/src/Sdk.ts +53 -0
- package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.tsx +13 -4
- package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.ts +22 -14
- package/src/components/index.ts +3 -0
- package/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.ts +3 -0
- package/src/impl/BarcodeScannerImpl.ts +115 -0
- package/src/impl/ImageProcessorImpl.ts +14 -0
- package/src/impl/SdkImpl.ts +28 -0
- package/src/impl/index.ts +3 -0
- package/src/impl/scanbotBarcodeSDKModule.ts +22 -0
- package/src/index.ts +5 -178
- package/src/types/base/SdkConfiguration.ts +120 -0
- package/src/types/base/customTypes.ts +14 -0
- package/src/types/base/errors.ts +158 -0
- package/src/types/base/index.ts +4 -0
- package/src/types/base/utils.ts +53 -0
- package/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.ts +294 -83
- package/src/types/core/barcode/BarcodeDocumentTypes.ts +218 -0
- package/src/{barcode → types/core/barcode}/BarcodeScannerTypes.ts +91 -44
- package/src/{barcode → types/core/barcode}/BarcodeTypes.ts +315 -19
- package/src/types/core/camera/Camera.ts +33 -0
- package/src/types/core/camera/index.ts +1 -0
- package/src/types/core/common/CommonTypes.ts +43 -0
- package/src/{utils/json → types/core/common}/JsonSerializationTypes.ts +16 -5
- package/src/types/core/common/index.ts +2 -0
- package/src/{documents → types/core/generic_document}/BarcodeDocumentModel.ts +1524 -172
- package/src/{documents → types/core/generic_document}/CommonFieldType.ts +96 -7
- package/src/{documents → types/core/generic_document}/GenericDocument.ts +77 -28
- package/src/{utils → types/core}/geometry/Geometry.ts +6 -8
- package/src/types/core/geometry/index.ts +1 -0
- package/src/{imageRef → types/core/image}/ImageRefTypes.ts +277 -83
- package/src/types/core/image/ImageTypes.ts +78 -0
- package/src/{imageRef → types/core/image}/image.ts +44 -76
- package/src/{imageRef → types/core/image}/index.ts +0 -1
- package/src/types/core/index.ts +9 -0
- package/src/types/core/licensing/LicensingTypes.ts +377 -0
- package/src/types/core/licensing/index.ts +1 -0
- package/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.ts +28 -17
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.ts +6 -9
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.ts +18 -25
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.ts +5 -7
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.ts +2 -3
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.ts +6 -5
- package/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.ts +17 -19
- package/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.ts +50 -25
- package/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.ts +9 -10
- package/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.ts +3 -4
- package/src/types/core/ui_v2/common/BottomBarConfiguration.ts +33 -0
- package/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.ts +33 -7
- package/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.ts +4 -5
- package/src/{ui_v2 → types/core/ui_v2}/common/Common.ts +62 -41
- package/src/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.ts +19 -2
- package/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.ts +3 -4
- package/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.ts +3 -4
- package/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.ts +37 -13
- package/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.ts +4 -6
- package/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.ts +15 -17
- package/src/{ui_v2 → types/core/ui_v2}/index.ts +2 -4
- package/src/{imageRef → types/core/utils}/ObjectPoolTypes.ts +3 -4
- package/src/types/core/utils/index.ts +2 -0
- package/src/types/core/utils/utils.ts +45 -0
- package/src/types/index.ts +2 -0
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/IntExtensions.kt +0 -7
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.h +0 -121
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.m +0 -307
- package/lib/commonjs/barcode/BarcodeConfigurationTypes.js.map +0 -1
- package/lib/commonjs/barcode/BarcodeDocumentTypes.js.map +0 -1
- package/lib/commonjs/barcode/BarcodeScannerTypes.js.map +0 -1
- package/lib/commonjs/barcode/BarcodeTypes.js.map +0 -1
- package/lib/commonjs/barcode/index.js.map +0 -1
- package/lib/commonjs/base/barcodeSDKConfigurations.js.map +0 -1
- package/lib/commonjs/base/barcodeSDKTypes.js +0 -2
- package/lib/commonjs/base/barcodeSDKTypes.js.map +0 -1
- package/lib/commonjs/base/index.js +0 -28
- package/lib/commonjs/base/index.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/index.js.map +0 -1
- package/lib/commonjs/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
- package/lib/commonjs/documents/BarcodeDocumentModel.js.map +0 -1
- package/lib/commonjs/documents/CommonFieldType.js.map +0 -1
- package/lib/commonjs/documents/GenericDocument.js.map +0 -1
- package/lib/commonjs/documents/index.js.map +0 -1
- package/lib/commonjs/imageRef/ImageRefTypes.js.map +0 -1
- package/lib/commonjs/imageRef/ImageTypes.js +0 -24
- package/lib/commonjs/imageRef/ImageTypes.js.map +0 -1
- package/lib/commonjs/imageRef/ObjectPoolTypes.js.map +0 -1
- package/lib/commonjs/imageRef/image.js.map +0 -1
- package/lib/commonjs/imageRef/index.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -179
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ActionBarConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/CameraConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/CameraPermission.js.map +0 -1
- package/lib/commonjs/ui_v2/common/Common.js.map +0 -1
- package/lib/commonjs/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
- package/lib/commonjs/ui_v2/common/TopBarConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/index.js.map +0 -1
- package/lib/commonjs/utils/geometry/Geometry.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -39
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/json/JsonSerializationTypes.js.map +0 -1
- package/lib/commonjs/utils/utils.js +0 -31
- package/lib/commonjs/utils/utils.js.map +0 -1
- package/lib/module/barcode/BarcodeConfigurationTypes.js.map +0 -1
- package/lib/module/barcode/BarcodeDocumentTypes.js.map +0 -1
- package/lib/module/barcode/BarcodeScannerTypes.js.map +0 -1
- package/lib/module/barcode/BarcodeTypes.js.map +0 -1
- package/lib/module/barcode/index.js.map +0 -1
- package/lib/module/base/barcodeSDKConfigurations.js +0 -2
- package/lib/module/base/barcodeSDKConfigurations.js.map +0 -1
- package/lib/module/base/barcodeSDKTypes.js +0 -2
- package/lib/module/base/barcodeSDKTypes.js.map +0 -1
- package/lib/module/base/index.js +0 -3
- package/lib/module/base/index.js.map +0 -1
- package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
- package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
- package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
- package/lib/module/component/barcode-camera-view/index.js +0 -4
- package/lib/module/component/barcode-camera-view/index.js.map +0 -1
- package/lib/module/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
- package/lib/module/documents/BarcodeDocumentModel.js.map +0 -1
- package/lib/module/documents/CommonFieldType.js.map +0 -1
- package/lib/module/documents/GenericDocument.js.map +0 -1
- package/lib/module/documents/index.js.map +0 -1
- package/lib/module/imageRef/ImageRefTypes.js.map +0 -1
- package/lib/module/imageRef/ImageTypes.js +0 -18
- package/lib/module/imageRef/ImageTypes.js.map +0 -1
- package/lib/module/imageRef/ObjectPoolTypes.js.map +0 -1
- package/lib/module/imageRef/image.js.map +0 -1
- package/lib/module/imageRef/index.js.map +0 -1
- package/lib/module/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -173
- package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
- package/lib/module/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
- package/lib/module/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
- package/lib/module/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
- package/lib/module/ui_v2/common/ActionBarConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/CameraConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/CameraPermission.js.map +0 -1
- package/lib/module/ui_v2/common/Common.js.map +0 -1
- package/lib/module/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
- package/lib/module/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
- package/lib/module/ui_v2/common/TopBarConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
- package/lib/module/ui_v2/index.js.map +0 -1
- package/lib/module/utils/geometry/Geometry.js.map +0 -1
- package/lib/module/utils/index.js +0 -4
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/json/JsonSerializationTypes.js.map +0 -1
- package/lib/module/utils/utils.js +0 -22
- package/lib/module/utils/utils.js.map +0 -1
- package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts +0 -50
- package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/BarcodeScannerTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/BarcodeTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/index.d.ts.map +0 -1
- package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts +0 -60
- package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts.map +0 -1
- package/lib/typescript/src/base/barcodeSDKTypes.d.ts +0 -46
- package/lib/typescript/src/base/barcodeSDKTypes.d.ts.map +0 -1
- package/lib/typescript/src/base/index.d.ts +0 -3
- package/lib/typescript/src/base/index.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/index.d.ts +0 -4
- package/lib/typescript/src/component/barcode-camera-view/index.d.ts.map +0 -1
- package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts +0 -1458
- package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts.map +0 -1
- package/lib/typescript/src/documents/CommonFieldType.d.ts +0 -61
- package/lib/typescript/src/documents/CommonFieldType.d.ts.map +0 -1
- package/lib/typescript/src/documents/GenericDocument.d.ts.map +0 -1
- package/lib/typescript/src/documents/index.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/ImageRefTypes.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/ImageTypes.d.ts +0 -15
- package/lib/typescript/src/imageRef/ImageTypes.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/ObjectPoolTypes.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/image.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/index.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeItemMapper.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts +0 -114
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts +0 -8
- package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ActionBarConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/CameraConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/CameraPermission.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/Common.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts +0 -13
- package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ScanCompletionOverlay.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ScanbotAlertDialog.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/TopBarConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/UserGuidanceConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ViewFinderConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/geometry/Geometry.d.ts.map +0 -1
- package/lib/typescript/src/utils/index.d.ts +0 -4
- package/lib/typescript/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/json/JsonSerializationTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/utils.d.ts +0 -17
- package/lib/typescript/src/utils/utils.d.ts.map +0 -1
- package/src/barcode/BarcodeDocumentTypes.ts +0 -120
- package/src/base/barcodeSDKConfigurations.ts +0 -70
- package/src/base/barcodeSDKTypes.ts +0 -44
- package/src/base/index.ts +0 -2
- package/src/component/barcode-camera-view/index.ts +0 -3
- package/src/imageRef/ImageTypes.ts +0 -23
- package/src/ui_v2/barcode/BarcodeScannerConfiguration.ts +0 -207
- package/src/utils/index.ts +0 -3
- package/src/utils/utils.ts +0 -42
- /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
- /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
- /package/lib/commonjs/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
- /package/lib/commonjs/{barcode → types/core/barcode}/index.js +0 -0
- /package/lib/commonjs/{documents → types/core/generic_document}/index.js +0 -0
- /package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
- /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
- /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
- /package/lib/module/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
- /package/lib/module/{barcode → types/core/barcode}/index.js +0 -0
- /package/lib/module/{documents → types/core/generic_document}/index.js +0 -0
- /package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
- /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.d.ts +0 -0
- /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts +0 -0
- /package/lib/typescript/src/{barcode → types/core/barcode}/index.d.ts +0 -0
- /package/lib/typescript/src/{documents → types/core/generic_document}/index.d.ts +0 -0
- /package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.d.ts +0 -0
- /package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.ts +0 -0
- /package/src/{barcode → types/core/barcode}/index.ts +0 -0
- /package/src/{documents → types/core/generic_document}/index.ts +0 -0
- /package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.ts +0 -0
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.MsiPlesseyChecksumAlgorithmValues = exports.BarcodeFormatUspsIntelligentMailConfiguration = exports.BarcodeFormatUpcEanConfiguration = exports.BarcodeFormatTwoDConfigurationBase = exports.BarcodeFormatRoyalTntPostConfiguration = exports.BarcodeFormatRoyalMailConfiguration = exports.BarcodeFormatQrCodeConfiguration = exports.BarcodeFormatPharmaCodeTwoTrackConfiguration = exports.BarcodeFormatPharmaCodeConfiguration = exports.BarcodeFormatPdf417Configuration = exports.BarcodeFormatOneDConfigurationBase = exports.BarcodeFormatMsiPlesseyConfiguration = exports.BarcodeFormatMicroPdf417Configuration = exports.BarcodeFormatMaxiCodeConfiguration = exports.BarcodeFormatJapanPostConfiguration = exports.BarcodeFormatItfConfiguration = exports.BarcodeFormatGs1CompositeConfiguration = exports.BarcodeFormatFourStateConfigurationBase = exports.BarcodeFormatDataMatrixConfiguration = exports.BarcodeFormatDataBarLimitedConfiguration = exports.BarcodeFormatDataBarExpandedConfiguration = exports.BarcodeFormatDataBarConfiguration = exports.BarcodeFormatConfigurationBase = exports.BarcodeFormatCommonTwoDConfiguration = exports.BarcodeFormatCommonOneDConfiguration = exports.BarcodeFormatCommonFourStateConfiguration = exports.BarcodeFormatCommonConfiguration = exports.BarcodeFormatCode93Configuration = exports.BarcodeFormatCode39Configuration = exports.BarcodeFormatCode2Of5Configuration = exports.BarcodeFormatCode128Configuration = exports.BarcodeFormatCode11Configuration = exports.BarcodeFormatCodabarConfiguration = exports.BarcodeFormatAztecConfiguration = exports.BarcodeFormatAustraliaPostConfiguration = exports.AustraliaPostCustomerFormatValues = void 0;
|
|
7
|
-
var _utils = require("../utils/utils");
|
|
8
7
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
9
8
|
/// Generated from core/schemas/BarcodeConfigurationTypes.yaml
|
|
10
9
|
/**
|
|
@@ -13,7 +12,7 @@ Base class for all barcode configurations.
|
|
|
13
12
|
/** @internal */
|
|
14
13
|
let BarcodeFormatConfigurationBase = exports.BarcodeFormatConfigurationBase = void 0;
|
|
15
14
|
(function (_BarcodeFormatConfigurationBase) {
|
|
16
|
-
function
|
|
15
|
+
function from(source) {
|
|
17
16
|
const _type = source._type;
|
|
18
17
|
switch (_type) {
|
|
19
18
|
case 'BarcodeFormatCodabarConfiguration':
|
|
@@ -77,10 +76,10 @@ let BarcodeFormatConfigurationBase = exports.BarcodeFormatConfigurationBase = vo
|
|
|
77
76
|
case 'BarcodeFormatCommonConfiguration':
|
|
78
77
|
return new BarcodeFormatCommonConfiguration(source);
|
|
79
78
|
default:
|
|
80
|
-
throw `Unknown child class name: ${_type}
|
|
79
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
|
-
_BarcodeFormatConfigurationBase.
|
|
82
|
+
_BarcodeFormatConfigurationBase.from = from;
|
|
84
83
|
})(BarcodeFormatConfigurationBase || (exports.BarcodeFormatConfigurationBase = BarcodeFormatConfigurationBase = {}));
|
|
85
84
|
/**
|
|
86
85
|
Base class for all linear (1D) barcode configurations.
|
|
@@ -88,7 +87,7 @@ Base class for all linear (1D) barcode configurations.
|
|
|
88
87
|
/** @internal */
|
|
89
88
|
let BarcodeFormatOneDConfigurationBase = exports.BarcodeFormatOneDConfigurationBase = void 0;
|
|
90
89
|
(function (_BarcodeFormatOneDConfigurationBase) {
|
|
91
|
-
function
|
|
90
|
+
function from(source) {
|
|
92
91
|
const _type = source._type;
|
|
93
92
|
switch (_type) {
|
|
94
93
|
case 'BarcodeFormatCodabarConfiguration':
|
|
@@ -118,15 +117,15 @@ let BarcodeFormatOneDConfigurationBase = exports.BarcodeFormatOneDConfigurationB
|
|
|
118
117
|
case 'BarcodeFormatPharmaCodeConfiguration':
|
|
119
118
|
return new BarcodeFormatPharmaCodeConfiguration(source);
|
|
120
119
|
default:
|
|
121
|
-
throw `Unknown child class name: ${_type}
|
|
120
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
|
-
_BarcodeFormatOneDConfigurationBase.
|
|
123
|
+
_BarcodeFormatOneDConfigurationBase.from = from;
|
|
125
124
|
})(BarcodeFormatOneDConfigurationBase || (exports.BarcodeFormatOneDConfigurationBase = BarcodeFormatOneDConfigurationBase = {}));
|
|
126
125
|
/**
|
|
127
126
|
Codabar barcode configuration. Add to scanner configuration to scan Codabar barcodes.
|
|
128
127
|
*/
|
|
129
|
-
class BarcodeFormatCodabarConfiguration
|
|
128
|
+
class BarcodeFormatCodabarConfiguration {
|
|
130
129
|
_type = 'BarcodeFormatCodabarConfiguration';
|
|
131
130
|
/**
|
|
132
131
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -164,6 +163,12 @@ class BarcodeFormatCodabarConfiguration extends _utils.PartiallyConstructible {
|
|
|
164
163
|
Default is 1
|
|
165
164
|
*/
|
|
166
165
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
166
|
+
/**
|
|
167
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
168
|
+
|
|
169
|
+
Default is THOROUGH
|
|
170
|
+
*/
|
|
171
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
167
172
|
/**
|
|
168
173
|
Minimum text length. Applied only to linear barcode formats that allow variable length.
|
|
169
174
|
|
|
@@ -176,6 +181,12 @@ class BarcodeFormatCodabarConfiguration extends _utils.PartiallyConstructible {
|
|
|
176
181
|
Default is 0
|
|
177
182
|
*/
|
|
178
183
|
maximumTextLength = 0;
|
|
184
|
+
/**
|
|
185
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
186
|
+
|
|
187
|
+
Default is true
|
|
188
|
+
*/
|
|
189
|
+
enableOneDBlurScanner = true;
|
|
179
190
|
/**
|
|
180
191
|
If true, return the start and end characters.
|
|
181
192
|
|
|
@@ -185,7 +196,6 @@ class BarcodeFormatCodabarConfiguration extends _utils.PartiallyConstructible {
|
|
|
185
196
|
|
|
186
197
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCodabarConfiguration>`} */
|
|
187
198
|
constructor(source = {}) {
|
|
188
|
-
super();
|
|
189
199
|
if (source.regexFilter !== undefined) {
|
|
190
200
|
this.regexFilter = source.regexFilter;
|
|
191
201
|
}
|
|
@@ -201,12 +211,18 @@ class BarcodeFormatCodabarConfiguration extends _utils.PartiallyConstructible {
|
|
|
201
211
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
202
212
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
203
213
|
}
|
|
214
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
215
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
216
|
+
}
|
|
204
217
|
if (source.minimumTextLength !== undefined) {
|
|
205
218
|
this.minimumTextLength = source.minimumTextLength;
|
|
206
219
|
}
|
|
207
220
|
if (source.maximumTextLength !== undefined) {
|
|
208
221
|
this.maximumTextLength = source.maximumTextLength;
|
|
209
222
|
}
|
|
223
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
224
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
225
|
+
}
|
|
210
226
|
if (source.returnStartEnd !== undefined) {
|
|
211
227
|
this.returnStartEnd = source.returnStartEnd;
|
|
212
228
|
}
|
|
@@ -217,7 +233,7 @@ class BarcodeFormatCodabarConfiguration extends _utils.PartiallyConstructible {
|
|
|
217
233
|
Code 11 barcode configuration. Add to scanner configuration to scan Code 11 barcodes.
|
|
218
234
|
*/
|
|
219
235
|
exports.BarcodeFormatCodabarConfiguration = BarcodeFormatCodabarConfiguration;
|
|
220
|
-
class BarcodeFormatCode11Configuration
|
|
236
|
+
class BarcodeFormatCode11Configuration {
|
|
221
237
|
_type = 'BarcodeFormatCode11Configuration';
|
|
222
238
|
/**
|
|
223
239
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -255,6 +271,12 @@ class BarcodeFormatCode11Configuration extends _utils.PartiallyConstructible {
|
|
|
255
271
|
Default is 1
|
|
256
272
|
*/
|
|
257
273
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
274
|
+
/**
|
|
275
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
276
|
+
|
|
277
|
+
Default is THOROUGH
|
|
278
|
+
*/
|
|
279
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
258
280
|
/**
|
|
259
281
|
If true, the check digits are stripped from the result.
|
|
260
282
|
|
|
@@ -282,7 +304,6 @@ class BarcodeFormatCode11Configuration extends _utils.PartiallyConstructible {
|
|
|
282
304
|
|
|
283
305
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode11Configuration>`} */
|
|
284
306
|
constructor(source = {}) {
|
|
285
|
-
super();
|
|
286
307
|
if (source.regexFilter !== undefined) {
|
|
287
308
|
this.regexFilter = source.regexFilter;
|
|
288
309
|
}
|
|
@@ -298,6 +319,9 @@ class BarcodeFormatCode11Configuration extends _utils.PartiallyConstructible {
|
|
|
298
319
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
299
320
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
300
321
|
}
|
|
322
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
323
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
324
|
+
}
|
|
301
325
|
if (source.stripCheckDigits !== undefined) {
|
|
302
326
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
303
327
|
}
|
|
@@ -317,7 +341,7 @@ class BarcodeFormatCode11Configuration extends _utils.PartiallyConstructible {
|
|
|
317
341
|
Code 39 barcode and derivatives configuration. Add to scanner configuration to scan Code 39, Code 32 (Italian Pharmacode), PZN7 and PZN8 (Pharmazentralnummer) barcodes.
|
|
318
342
|
*/
|
|
319
343
|
exports.BarcodeFormatCode11Configuration = BarcodeFormatCode11Configuration;
|
|
320
|
-
class BarcodeFormatCode39Configuration
|
|
344
|
+
class BarcodeFormatCode39Configuration {
|
|
321
345
|
_type = 'BarcodeFormatCode39Configuration';
|
|
322
346
|
/**
|
|
323
347
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -355,6 +379,12 @@ class BarcodeFormatCode39Configuration extends _utils.PartiallyConstructible {
|
|
|
355
379
|
Default is 1
|
|
356
380
|
*/
|
|
357
381
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
382
|
+
/**
|
|
383
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
384
|
+
|
|
385
|
+
Default is THOROUGH
|
|
386
|
+
*/
|
|
387
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
358
388
|
/**
|
|
359
389
|
If true, the check digits are stripped from the result.
|
|
360
390
|
|
|
@@ -373,6 +403,12 @@ class BarcodeFormatCode39Configuration extends _utils.PartiallyConstructible {
|
|
|
373
403
|
Default is 0
|
|
374
404
|
*/
|
|
375
405
|
maximumTextLength = 0;
|
|
406
|
+
/**
|
|
407
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
408
|
+
|
|
409
|
+
Default is true
|
|
410
|
+
*/
|
|
411
|
+
enableOneDBlurScanner = true;
|
|
376
412
|
/**
|
|
377
413
|
If true, scan and return valid CODE_32 (Italian Pharmacode) barcodes. If false, CODE_32 barcodes are not decoded and are returned as CODE_39 instead.
|
|
378
414
|
|
|
@@ -412,7 +448,6 @@ class BarcodeFormatCode39Configuration extends _utils.PartiallyConstructible {
|
|
|
412
448
|
|
|
413
449
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode39Configuration>`} */
|
|
414
450
|
constructor(source = {}) {
|
|
415
|
-
super();
|
|
416
451
|
if (source.regexFilter !== undefined) {
|
|
417
452
|
this.regexFilter = source.regexFilter;
|
|
418
453
|
}
|
|
@@ -428,6 +463,9 @@ class BarcodeFormatCode39Configuration extends _utils.PartiallyConstructible {
|
|
|
428
463
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
429
464
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
430
465
|
}
|
|
466
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
467
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
468
|
+
}
|
|
431
469
|
if (source.stripCheckDigits !== undefined) {
|
|
432
470
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
433
471
|
}
|
|
@@ -437,6 +475,9 @@ class BarcodeFormatCode39Configuration extends _utils.PartiallyConstructible {
|
|
|
437
475
|
if (source.maximumTextLength !== undefined) {
|
|
438
476
|
this.maximumTextLength = source.maximumTextLength;
|
|
439
477
|
}
|
|
478
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
479
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
480
|
+
}
|
|
440
481
|
if (source.code32 !== undefined) {
|
|
441
482
|
this.code32 = source.code32;
|
|
442
483
|
}
|
|
@@ -462,7 +503,7 @@ class BarcodeFormatCode39Configuration extends _utils.PartiallyConstructible {
|
|
|
462
503
|
Code 93 barcode configuration. Add to scanner configuration to scan Code 93 barcodes.
|
|
463
504
|
*/
|
|
464
505
|
exports.BarcodeFormatCode39Configuration = BarcodeFormatCode39Configuration;
|
|
465
|
-
class BarcodeFormatCode93Configuration
|
|
506
|
+
class BarcodeFormatCode93Configuration {
|
|
466
507
|
_type = 'BarcodeFormatCode93Configuration';
|
|
467
508
|
/**
|
|
468
509
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -500,6 +541,12 @@ class BarcodeFormatCode93Configuration extends _utils.PartiallyConstructible {
|
|
|
500
541
|
Default is 1
|
|
501
542
|
*/
|
|
502
543
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
544
|
+
/**
|
|
545
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
546
|
+
|
|
547
|
+
Default is THOROUGH
|
|
548
|
+
*/
|
|
549
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
503
550
|
/**
|
|
504
551
|
If true, the check digits are stripped from the result.
|
|
505
552
|
|
|
@@ -518,10 +565,15 @@ class BarcodeFormatCode93Configuration extends _utils.PartiallyConstructible {
|
|
|
518
565
|
Default is 0
|
|
519
566
|
*/
|
|
520
567
|
maximumTextLength = 0;
|
|
568
|
+
/**
|
|
569
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
570
|
+
|
|
571
|
+
Default is true
|
|
572
|
+
*/
|
|
573
|
+
enableOneDBlurScanner = true;
|
|
521
574
|
|
|
522
575
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode93Configuration>`} */
|
|
523
576
|
constructor(source = {}) {
|
|
524
|
-
super();
|
|
525
577
|
if (source.regexFilter !== undefined) {
|
|
526
578
|
this.regexFilter = source.regexFilter;
|
|
527
579
|
}
|
|
@@ -537,6 +589,9 @@ class BarcodeFormatCode93Configuration extends _utils.PartiallyConstructible {
|
|
|
537
589
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
538
590
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
539
591
|
}
|
|
592
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
593
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
594
|
+
}
|
|
540
595
|
if (source.stripCheckDigits !== undefined) {
|
|
541
596
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
542
597
|
}
|
|
@@ -546,6 +601,9 @@ class BarcodeFormatCode93Configuration extends _utils.PartiallyConstructible {
|
|
|
546
601
|
if (source.maximumTextLength !== undefined) {
|
|
547
602
|
this.maximumTextLength = source.maximumTextLength;
|
|
548
603
|
}
|
|
604
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
605
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
606
|
+
}
|
|
549
607
|
}
|
|
550
608
|
}
|
|
551
609
|
|
|
@@ -553,7 +611,7 @@ class BarcodeFormatCode93Configuration extends _utils.PartiallyConstructible {
|
|
|
553
611
|
Code 128 barcode configuration. Add to scanner configuration to scan Code 128 barcodes.
|
|
554
612
|
*/
|
|
555
613
|
exports.BarcodeFormatCode93Configuration = BarcodeFormatCode93Configuration;
|
|
556
|
-
class BarcodeFormatCode128Configuration
|
|
614
|
+
class BarcodeFormatCode128Configuration {
|
|
557
615
|
_type = 'BarcodeFormatCode128Configuration';
|
|
558
616
|
/**
|
|
559
617
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -591,6 +649,12 @@ class BarcodeFormatCode128Configuration extends _utils.PartiallyConstructible {
|
|
|
591
649
|
Default is 1
|
|
592
650
|
*/
|
|
593
651
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
652
|
+
/**
|
|
653
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
654
|
+
|
|
655
|
+
Default is THOROUGH
|
|
656
|
+
*/
|
|
657
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
594
658
|
/**
|
|
595
659
|
GS1 message handling options.
|
|
596
660
|
|
|
@@ -609,10 +673,15 @@ class BarcodeFormatCode128Configuration extends _utils.PartiallyConstructible {
|
|
|
609
673
|
Default is 0
|
|
610
674
|
*/
|
|
611
675
|
maximumTextLength = 0;
|
|
676
|
+
/**
|
|
677
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
678
|
+
|
|
679
|
+
Default is true
|
|
680
|
+
*/
|
|
681
|
+
enableOneDBlurScanner = true;
|
|
612
682
|
|
|
613
683
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode128Configuration>`} */
|
|
614
684
|
constructor(source = {}) {
|
|
615
|
-
super();
|
|
616
685
|
if (source.regexFilter !== undefined) {
|
|
617
686
|
this.regexFilter = source.regexFilter;
|
|
618
687
|
}
|
|
@@ -628,6 +697,9 @@ class BarcodeFormatCode128Configuration extends _utils.PartiallyConstructible {
|
|
|
628
697
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
629
698
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
630
699
|
}
|
|
700
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
701
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
702
|
+
}
|
|
631
703
|
if (source.gs1Handling !== undefined) {
|
|
632
704
|
this.gs1Handling = source.gs1Handling;
|
|
633
705
|
}
|
|
@@ -637,6 +709,9 @@ class BarcodeFormatCode128Configuration extends _utils.PartiallyConstructible {
|
|
|
637
709
|
if (source.maximumTextLength !== undefined) {
|
|
638
710
|
this.maximumTextLength = source.maximumTextLength;
|
|
639
711
|
}
|
|
712
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
713
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
714
|
+
}
|
|
640
715
|
}
|
|
641
716
|
}
|
|
642
717
|
|
|
@@ -648,7 +723,7 @@ Industrial 2-of-5 barcodes are a subset of Code 25 barcodes.
|
|
|
648
723
|
Any valid Industrial 2-of-5 barcode is also a valid Code 25 barcode.
|
|
649
724
|
*/
|
|
650
725
|
exports.BarcodeFormatCode128Configuration = BarcodeFormatCode128Configuration;
|
|
651
|
-
class BarcodeFormatCode2Of5Configuration
|
|
726
|
+
class BarcodeFormatCode2Of5Configuration {
|
|
652
727
|
_type = 'BarcodeFormatCode2Of5Configuration';
|
|
653
728
|
/**
|
|
654
729
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -686,6 +761,12 @@ class BarcodeFormatCode2Of5Configuration extends _utils.PartiallyConstructible {
|
|
|
686
761
|
Default is 1
|
|
687
762
|
*/
|
|
688
763
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
764
|
+
/**
|
|
765
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
766
|
+
|
|
767
|
+
Default is THOROUGH
|
|
768
|
+
*/
|
|
769
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
689
770
|
/**
|
|
690
771
|
If true, the check digits are stripped from the result.
|
|
691
772
|
|
|
@@ -731,7 +812,6 @@ class BarcodeFormatCode2Of5Configuration extends _utils.PartiallyConstructible {
|
|
|
731
812
|
|
|
732
813
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode2Of5Configuration>`} */
|
|
733
814
|
constructor(source = {}) {
|
|
734
|
-
super();
|
|
735
815
|
if (source.regexFilter !== undefined) {
|
|
736
816
|
this.regexFilter = source.regexFilter;
|
|
737
817
|
}
|
|
@@ -747,6 +827,9 @@ class BarcodeFormatCode2Of5Configuration extends _utils.PartiallyConstructible {
|
|
|
747
827
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
748
828
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
749
829
|
}
|
|
830
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
831
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
832
|
+
}
|
|
750
833
|
if (source.stripCheckDigits !== undefined) {
|
|
751
834
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
752
835
|
}
|
|
@@ -775,7 +858,7 @@ class BarcodeFormatCode2Of5Configuration extends _utils.PartiallyConstructible {
|
|
|
775
858
|
GS1 DataBar barcode configuration. Add to scanner configuration to scan GS1 DataBar-14, GS1 DataBar-14 Truncated, GS1 DataBar-14 Stacked and GS1 DataBar-14 Stacked Omnidirectional barcodes.
|
|
776
859
|
*/
|
|
777
860
|
exports.BarcodeFormatCode2Of5Configuration = BarcodeFormatCode2Of5Configuration;
|
|
778
|
-
class BarcodeFormatDataBarConfiguration
|
|
861
|
+
class BarcodeFormatDataBarConfiguration {
|
|
779
862
|
_type = 'BarcodeFormatDataBarConfiguration';
|
|
780
863
|
/**
|
|
781
864
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -813,6 +896,12 @@ class BarcodeFormatDataBarConfiguration extends _utils.PartiallyConstructible {
|
|
|
813
896
|
Default is 1
|
|
814
897
|
*/
|
|
815
898
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
899
|
+
/**
|
|
900
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
901
|
+
|
|
902
|
+
Default is THOROUGH
|
|
903
|
+
*/
|
|
904
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
816
905
|
/**
|
|
817
906
|
GS1 message handling options.
|
|
818
907
|
|
|
@@ -822,7 +911,6 @@ class BarcodeFormatDataBarConfiguration extends _utils.PartiallyConstructible {
|
|
|
822
911
|
|
|
823
912
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataBarConfiguration>`} */
|
|
824
913
|
constructor(source = {}) {
|
|
825
|
-
super();
|
|
826
914
|
if (source.regexFilter !== undefined) {
|
|
827
915
|
this.regexFilter = source.regexFilter;
|
|
828
916
|
}
|
|
@@ -838,6 +926,9 @@ class BarcodeFormatDataBarConfiguration extends _utils.PartiallyConstructible {
|
|
|
838
926
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
839
927
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
840
928
|
}
|
|
929
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
930
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
931
|
+
}
|
|
841
932
|
if (source.gs1Handling !== undefined) {
|
|
842
933
|
this.gs1Handling = source.gs1Handling;
|
|
843
934
|
}
|
|
@@ -848,7 +939,7 @@ class BarcodeFormatDataBarConfiguration extends _utils.PartiallyConstructible {
|
|
|
848
939
|
GS1 DataBar Expanded barcode configuration. Add to scanner configuration to scan GS1 DataBar Expanded and GS1 DataBar Expanded Stacked barcodes.
|
|
849
940
|
*/
|
|
850
941
|
exports.BarcodeFormatDataBarConfiguration = BarcodeFormatDataBarConfiguration;
|
|
851
|
-
class BarcodeFormatDataBarExpandedConfiguration
|
|
942
|
+
class BarcodeFormatDataBarExpandedConfiguration {
|
|
852
943
|
_type = 'BarcodeFormatDataBarExpandedConfiguration';
|
|
853
944
|
/**
|
|
854
945
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -886,6 +977,12 @@ class BarcodeFormatDataBarExpandedConfiguration extends _utils.PartiallyConstruc
|
|
|
886
977
|
Default is 1
|
|
887
978
|
*/
|
|
888
979
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
980
|
+
/**
|
|
981
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
982
|
+
|
|
983
|
+
Default is THOROUGH
|
|
984
|
+
*/
|
|
985
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
889
986
|
/**
|
|
890
987
|
GS1 message handling options.
|
|
891
988
|
|
|
@@ -895,7 +992,6 @@ class BarcodeFormatDataBarExpandedConfiguration extends _utils.PartiallyConstruc
|
|
|
895
992
|
|
|
896
993
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataBarExpandedConfiguration>`} */
|
|
897
994
|
constructor(source = {}) {
|
|
898
|
-
super();
|
|
899
995
|
if (source.regexFilter !== undefined) {
|
|
900
996
|
this.regexFilter = source.regexFilter;
|
|
901
997
|
}
|
|
@@ -911,6 +1007,9 @@ class BarcodeFormatDataBarExpandedConfiguration extends _utils.PartiallyConstruc
|
|
|
911
1007
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
912
1008
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
913
1009
|
}
|
|
1010
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1011
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1012
|
+
}
|
|
914
1013
|
if (source.gs1Handling !== undefined) {
|
|
915
1014
|
this.gs1Handling = source.gs1Handling;
|
|
916
1015
|
}
|
|
@@ -921,7 +1020,7 @@ class BarcodeFormatDataBarExpandedConfiguration extends _utils.PartiallyConstruc
|
|
|
921
1020
|
GS1 DataBar Limited barcode configuration. Add to scanner configuration to scan GS1 DataBar Limited barcodes.
|
|
922
1021
|
*/
|
|
923
1022
|
exports.BarcodeFormatDataBarExpandedConfiguration = BarcodeFormatDataBarExpandedConfiguration;
|
|
924
|
-
class BarcodeFormatDataBarLimitedConfiguration
|
|
1023
|
+
class BarcodeFormatDataBarLimitedConfiguration {
|
|
925
1024
|
_type = 'BarcodeFormatDataBarLimitedConfiguration';
|
|
926
1025
|
/**
|
|
927
1026
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -959,6 +1058,12 @@ class BarcodeFormatDataBarLimitedConfiguration extends _utils.PartiallyConstruct
|
|
|
959
1058
|
Default is 1
|
|
960
1059
|
*/
|
|
961
1060
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
1061
|
+
/**
|
|
1062
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1063
|
+
|
|
1064
|
+
Default is THOROUGH
|
|
1065
|
+
*/
|
|
1066
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
962
1067
|
/**
|
|
963
1068
|
GS1 message handling options.
|
|
964
1069
|
|
|
@@ -968,7 +1073,6 @@ class BarcodeFormatDataBarLimitedConfiguration extends _utils.PartiallyConstruct
|
|
|
968
1073
|
|
|
969
1074
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataBarLimitedConfiguration>`} */
|
|
970
1075
|
constructor(source = {}) {
|
|
971
|
-
super();
|
|
972
1076
|
if (source.regexFilter !== undefined) {
|
|
973
1077
|
this.regexFilter = source.regexFilter;
|
|
974
1078
|
}
|
|
@@ -984,6 +1088,9 @@ class BarcodeFormatDataBarLimitedConfiguration extends _utils.PartiallyConstruct
|
|
|
984
1088
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
985
1089
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
986
1090
|
}
|
|
1091
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1092
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1093
|
+
}
|
|
987
1094
|
if (source.gs1Handling !== undefined) {
|
|
988
1095
|
this.gs1Handling = source.gs1Handling;
|
|
989
1096
|
}
|
|
@@ -994,7 +1101,7 @@ class BarcodeFormatDataBarLimitedConfiguration extends _utils.PartiallyConstruct
|
|
|
994
1101
|
ITF (Interleaved 2-of-5) barcode configuration. Add to scanner configuration to scan Interleaved 2-of-5 (ITF) barcodes.
|
|
995
1102
|
*/
|
|
996
1103
|
exports.BarcodeFormatDataBarLimitedConfiguration = BarcodeFormatDataBarLimitedConfiguration;
|
|
997
|
-
class BarcodeFormatItfConfiguration
|
|
1104
|
+
class BarcodeFormatItfConfiguration {
|
|
998
1105
|
_type = 'BarcodeFormatITFConfiguration';
|
|
999
1106
|
/**
|
|
1000
1107
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1032,6 +1139,12 @@ class BarcodeFormatItfConfiguration extends _utils.PartiallyConstructible {
|
|
|
1032
1139
|
Default is 1
|
|
1033
1140
|
*/
|
|
1034
1141
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
1142
|
+
/**
|
|
1143
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1144
|
+
|
|
1145
|
+
Default is THOROUGH
|
|
1146
|
+
*/
|
|
1147
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
1035
1148
|
/**
|
|
1036
1149
|
Minimum text length. Applied only to linear barcode formats that allow variable length.
|
|
1037
1150
|
|
|
@@ -1044,10 +1157,15 @@ class BarcodeFormatItfConfiguration extends _utils.PartiallyConstructible {
|
|
|
1044
1157
|
Default is 0
|
|
1045
1158
|
*/
|
|
1046
1159
|
maximumTextLength = 0;
|
|
1160
|
+
/**
|
|
1161
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
1162
|
+
|
|
1163
|
+
Default is true
|
|
1164
|
+
*/
|
|
1165
|
+
enableOneDBlurScanner = true;
|
|
1047
1166
|
|
|
1048
1167
|
/** @param source {@displayType `DeepPartial<BarcodeFormatItfConfiguration>`} */
|
|
1049
1168
|
constructor(source = {}) {
|
|
1050
|
-
super();
|
|
1051
1169
|
if (source.regexFilter !== undefined) {
|
|
1052
1170
|
this.regexFilter = source.regexFilter;
|
|
1053
1171
|
}
|
|
@@ -1063,12 +1181,18 @@ class BarcodeFormatItfConfiguration extends _utils.PartiallyConstructible {
|
|
|
1063
1181
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
1064
1182
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1065
1183
|
}
|
|
1184
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1185
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1186
|
+
}
|
|
1066
1187
|
if (source.minimumTextLength !== undefined) {
|
|
1067
1188
|
this.minimumTextLength = source.minimumTextLength;
|
|
1068
1189
|
}
|
|
1069
1190
|
if (source.maximumTextLength !== undefined) {
|
|
1070
1191
|
this.maximumTextLength = source.maximumTextLength;
|
|
1071
1192
|
}
|
|
1193
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
1194
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
1195
|
+
}
|
|
1072
1196
|
}
|
|
1073
1197
|
}
|
|
1074
1198
|
|
|
@@ -1089,12 +1213,13 @@ Checksum algorithm for MSI_PLESSEY.
|
|
|
1089
1213
|
Modulo 1110 NCR.
|
|
1090
1214
|
*/
|
|
1091
1215
|
exports.BarcodeFormatItfConfiguration = BarcodeFormatItfConfiguration;
|
|
1216
|
+
/** @hidden */
|
|
1092
1217
|
const MsiPlesseyChecksumAlgorithmValues = exports.MsiPlesseyChecksumAlgorithmValues = ['MOD_10', 'MOD_11_IBM', 'MOD_11_NCR', 'MOD_10_10', 'MOD_11_10_IBM', 'MOD_11_10_NCR'];
|
|
1093
1218
|
|
|
1094
1219
|
/**
|
|
1095
1220
|
MSI Plessey barcode configuration. Add to scanner configuration to scan MSI Plessey barcodes.
|
|
1096
1221
|
*/
|
|
1097
|
-
class BarcodeFormatMsiPlesseyConfiguration
|
|
1222
|
+
class BarcodeFormatMsiPlesseyConfiguration {
|
|
1098
1223
|
_type = 'BarcodeFormatMSIPlesseyConfiguration';
|
|
1099
1224
|
/**
|
|
1100
1225
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1132,6 +1257,12 @@ class BarcodeFormatMsiPlesseyConfiguration extends _utils.PartiallyConstructible
|
|
|
1132
1257
|
Default is 1
|
|
1133
1258
|
*/
|
|
1134
1259
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
1260
|
+
/**
|
|
1261
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1262
|
+
|
|
1263
|
+
Default is THOROUGH
|
|
1264
|
+
*/
|
|
1265
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
1135
1266
|
/**
|
|
1136
1267
|
If true, the check digits are stripped from the result.
|
|
1137
1268
|
|
|
@@ -1150,6 +1281,12 @@ class BarcodeFormatMsiPlesseyConfiguration extends _utils.PartiallyConstructible
|
|
|
1150
1281
|
Default is 0
|
|
1151
1282
|
*/
|
|
1152
1283
|
maximumTextLength = 0;
|
|
1284
|
+
/**
|
|
1285
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
1286
|
+
|
|
1287
|
+
Default is true
|
|
1288
|
+
*/
|
|
1289
|
+
enableOneDBlurScanner = true;
|
|
1153
1290
|
/**
|
|
1154
1291
|
List of MSI Plessey checksum algorithms to apply during scanning.
|
|
1155
1292
|
A barcode is considered valid if it passes any of the checksum algorithms in the list.
|
|
@@ -1159,7 +1296,6 @@ class BarcodeFormatMsiPlesseyConfiguration extends _utils.PartiallyConstructible
|
|
|
1159
1296
|
|
|
1160
1297
|
/** @param source {@displayType `DeepPartial<BarcodeFormatMsiPlesseyConfiguration>`} */
|
|
1161
1298
|
constructor(source = {}) {
|
|
1162
|
-
super();
|
|
1163
1299
|
if (source.regexFilter !== undefined) {
|
|
1164
1300
|
this.regexFilter = source.regexFilter;
|
|
1165
1301
|
}
|
|
@@ -1175,6 +1311,9 @@ class BarcodeFormatMsiPlesseyConfiguration extends _utils.PartiallyConstructible
|
|
|
1175
1311
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
1176
1312
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1177
1313
|
}
|
|
1314
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1315
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1316
|
+
}
|
|
1178
1317
|
if (source.stripCheckDigits !== undefined) {
|
|
1179
1318
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
1180
1319
|
}
|
|
@@ -1184,6 +1323,9 @@ class BarcodeFormatMsiPlesseyConfiguration extends _utils.PartiallyConstructible
|
|
|
1184
1323
|
if (source.maximumTextLength !== undefined) {
|
|
1185
1324
|
this.maximumTextLength = source.maximumTextLength;
|
|
1186
1325
|
}
|
|
1326
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
1327
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
1328
|
+
}
|
|
1187
1329
|
if (source.checksumAlgorithms !== undefined) {
|
|
1188
1330
|
this.checksumAlgorithms = source.checksumAlgorithms.map(it => {
|
|
1189
1331
|
return it;
|
|
@@ -1196,7 +1338,7 @@ class BarcodeFormatMsiPlesseyConfiguration extends _utils.PartiallyConstructible
|
|
|
1196
1338
|
UPC/EAN barcode configuration. Add to scanner configuration to scan EAN-8, EAN-13, UPC-E and UPC-A barcodes.
|
|
1197
1339
|
*/
|
|
1198
1340
|
exports.BarcodeFormatMsiPlesseyConfiguration = BarcodeFormatMsiPlesseyConfiguration;
|
|
1199
|
-
class BarcodeFormatUpcEanConfiguration
|
|
1341
|
+
class BarcodeFormatUpcEanConfiguration {
|
|
1200
1342
|
_type = 'BarcodeFormatUpcEanConfiguration';
|
|
1201
1343
|
/**
|
|
1202
1344
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1234,12 +1376,25 @@ class BarcodeFormatUpcEanConfiguration extends _utils.PartiallyConstructible {
|
|
|
1234
1376
|
Default is 1
|
|
1235
1377
|
*/
|
|
1236
1378
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
1379
|
+
/**
|
|
1380
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1381
|
+
|
|
1382
|
+
Default is THOROUGH
|
|
1383
|
+
*/
|
|
1384
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
1237
1385
|
/**
|
|
1238
1386
|
If true, the check digits are stripped from the result.
|
|
1239
1387
|
|
|
1240
1388
|
Default is false
|
|
1241
1389
|
*/
|
|
1242
1390
|
stripCheckDigits = false;
|
|
1391
|
+
/**
|
|
1392
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
1393
|
+
Enabling this option may increase the number of misreads (false positives).
|
|
1394
|
+
|
|
1395
|
+
Default is false
|
|
1396
|
+
*/
|
|
1397
|
+
enableOneDBlurScanner = false;
|
|
1243
1398
|
/**
|
|
1244
1399
|
If true, scan and return valid EAN-8 barcodes.
|
|
1245
1400
|
|
|
@@ -1282,7 +1437,6 @@ class BarcodeFormatUpcEanConfiguration extends _utils.PartiallyConstructible {
|
|
|
1282
1437
|
|
|
1283
1438
|
/** @param source {@displayType `DeepPartial<BarcodeFormatUpcEanConfiguration>`} */
|
|
1284
1439
|
constructor(source = {}) {
|
|
1285
|
-
super();
|
|
1286
1440
|
if (source.regexFilter !== undefined) {
|
|
1287
1441
|
this.regexFilter = source.regexFilter;
|
|
1288
1442
|
}
|
|
@@ -1298,9 +1452,15 @@ class BarcodeFormatUpcEanConfiguration extends _utils.PartiallyConstructible {
|
|
|
1298
1452
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
1299
1453
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1300
1454
|
}
|
|
1455
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1456
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1457
|
+
}
|
|
1301
1458
|
if (source.stripCheckDigits !== undefined) {
|
|
1302
1459
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
1303
1460
|
}
|
|
1461
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
1462
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
1463
|
+
}
|
|
1304
1464
|
if (source.ean8 !== undefined) {
|
|
1305
1465
|
this.ean8 = source.ean8;
|
|
1306
1466
|
}
|
|
@@ -1326,7 +1486,7 @@ class BarcodeFormatUpcEanConfiguration extends _utils.PartiallyConstructible {
|
|
|
1326
1486
|
PharmaCode barcode configuration. Add to scanner configuration to scan linear (1D) Laetus Pharmacode barcodes. Two-track PharmaCode scanning is configured separately through the PharmaCodeTwoTrackConfig class.
|
|
1327
1487
|
*/
|
|
1328
1488
|
exports.BarcodeFormatUpcEanConfiguration = BarcodeFormatUpcEanConfiguration;
|
|
1329
|
-
class BarcodeFormatPharmaCodeConfiguration
|
|
1489
|
+
class BarcodeFormatPharmaCodeConfiguration {
|
|
1330
1490
|
_type = 'BarcodeFormatPharmaCodeConfiguration';
|
|
1331
1491
|
/**
|
|
1332
1492
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1364,6 +1524,12 @@ class BarcodeFormatPharmaCodeConfiguration extends _utils.PartiallyConstructible
|
|
|
1364
1524
|
Default is 1
|
|
1365
1525
|
*/
|
|
1366
1526
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
|
|
1527
|
+
/**
|
|
1528
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1529
|
+
|
|
1530
|
+
Default is THOROUGH
|
|
1531
|
+
*/
|
|
1532
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
1367
1533
|
/**
|
|
1368
1534
|
Minimum value for PharmaCode. Very low values are likely to produce more false positives.
|
|
1369
1535
|
|
|
@@ -1385,7 +1551,6 @@ class BarcodeFormatPharmaCodeConfiguration extends _utils.PartiallyConstructible
|
|
|
1385
1551
|
|
|
1386
1552
|
/** @param source {@displayType `DeepPartial<BarcodeFormatPharmaCodeConfiguration>`} */
|
|
1387
1553
|
constructor(source = {}) {
|
|
1388
|
-
super();
|
|
1389
1554
|
if (source.regexFilter !== undefined) {
|
|
1390
1555
|
this.regexFilter = source.regexFilter;
|
|
1391
1556
|
}
|
|
@@ -1401,6 +1566,9 @@ class BarcodeFormatPharmaCodeConfiguration extends _utils.PartiallyConstructible
|
|
|
1401
1566
|
if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
|
|
1402
1567
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1403
1568
|
}
|
|
1569
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1570
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1571
|
+
}
|
|
1404
1572
|
if (source.minimumValue !== undefined) {
|
|
1405
1573
|
this.minimumValue = source.minimumValue;
|
|
1406
1574
|
}
|
|
@@ -1420,7 +1588,7 @@ exports.BarcodeFormatPharmaCodeConfiguration = BarcodeFormatPharmaCodeConfigurat
|
|
|
1420
1588
|
/** @internal */
|
|
1421
1589
|
let BarcodeFormatTwoDConfigurationBase = exports.BarcodeFormatTwoDConfigurationBase = void 0;
|
|
1422
1590
|
(function (_BarcodeFormatTwoDConfigurationBase) {
|
|
1423
|
-
function
|
|
1591
|
+
function from(source) {
|
|
1424
1592
|
const _type = source._type;
|
|
1425
1593
|
switch (_type) {
|
|
1426
1594
|
case 'BarcodeFormatAztecConfiguration':
|
|
@@ -1436,15 +1604,15 @@ let BarcodeFormatTwoDConfigurationBase = exports.BarcodeFormatTwoDConfigurationB
|
|
|
1436
1604
|
case 'BarcodeFormatMaxiCodeConfiguration':
|
|
1437
1605
|
return new BarcodeFormatMaxiCodeConfiguration(source);
|
|
1438
1606
|
default:
|
|
1439
|
-
throw `Unknown child class name: ${_type}
|
|
1607
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
1440
1608
|
}
|
|
1441
1609
|
}
|
|
1442
|
-
_BarcodeFormatTwoDConfigurationBase.
|
|
1610
|
+
_BarcodeFormatTwoDConfigurationBase.from = from;
|
|
1443
1611
|
})(BarcodeFormatTwoDConfigurationBase || (exports.BarcodeFormatTwoDConfigurationBase = BarcodeFormatTwoDConfigurationBase = {}));
|
|
1444
1612
|
/**
|
|
1445
1613
|
Aztec configuration. Add to scanner configuration to scan Aztec codes.
|
|
1446
1614
|
*/
|
|
1447
|
-
class BarcodeFormatAztecConfiguration
|
|
1615
|
+
class BarcodeFormatAztecConfiguration {
|
|
1448
1616
|
_type = 'BarcodeFormatAztecConfiguration';
|
|
1449
1617
|
/**
|
|
1450
1618
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1476,7 +1644,6 @@ class BarcodeFormatAztecConfiguration extends _utils.PartiallyConstructible {
|
|
|
1476
1644
|
|
|
1477
1645
|
/** @param source {@displayType `DeepPartial<BarcodeFormatAztecConfiguration>`} */
|
|
1478
1646
|
constructor(source = {}) {
|
|
1479
|
-
super();
|
|
1480
1647
|
if (source.regexFilter !== undefined) {
|
|
1481
1648
|
this.regexFilter = source.regexFilter;
|
|
1482
1649
|
}
|
|
@@ -1496,7 +1663,7 @@ class BarcodeFormatAztecConfiguration extends _utils.PartiallyConstructible {
|
|
|
1496
1663
|
QR Code configuration. Add to scanner configuration to scan QR codes, Micro QR codes and rectangular Micro QR (rMQR) codes.
|
|
1497
1664
|
*/
|
|
1498
1665
|
exports.BarcodeFormatAztecConfiguration = BarcodeFormatAztecConfiguration;
|
|
1499
|
-
class BarcodeFormatQrCodeConfiguration
|
|
1666
|
+
class BarcodeFormatQrCodeConfiguration {
|
|
1500
1667
|
_type = 'BarcodeFormatQRCodeConfiguration';
|
|
1501
1668
|
/**
|
|
1502
1669
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1552,7 +1719,6 @@ class BarcodeFormatQrCodeConfiguration extends _utils.PartiallyConstructible {
|
|
|
1552
1719
|
|
|
1553
1720
|
/** @param source {@displayType `DeepPartial<BarcodeFormatQrCodeConfiguration>`} */
|
|
1554
1721
|
constructor(source = {}) {
|
|
1555
|
-
super();
|
|
1556
1722
|
if (source.regexFilter !== undefined) {
|
|
1557
1723
|
this.regexFilter = source.regexFilter;
|
|
1558
1724
|
}
|
|
@@ -1584,7 +1750,7 @@ class BarcodeFormatQrCodeConfiguration extends _utils.PartiallyConstructible {
|
|
|
1584
1750
|
PDF417 configuration. Add to scanner configuration to scan PDF417 codes.
|
|
1585
1751
|
*/
|
|
1586
1752
|
exports.BarcodeFormatQrCodeConfiguration = BarcodeFormatQrCodeConfiguration;
|
|
1587
|
-
class BarcodeFormatPdf417Configuration
|
|
1753
|
+
class BarcodeFormatPdf417Configuration {
|
|
1588
1754
|
_type = 'BarcodeFormatPDF417Configuration';
|
|
1589
1755
|
/**
|
|
1590
1756
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1622,7 +1788,6 @@ class BarcodeFormatPdf417Configuration extends _utils.PartiallyConstructible {
|
|
|
1622
1788
|
|
|
1623
1789
|
/** @param source {@displayType `DeepPartial<BarcodeFormatPdf417Configuration>`} */
|
|
1624
1790
|
constructor(source = {}) {
|
|
1625
|
-
super();
|
|
1626
1791
|
if (source.regexFilter !== undefined) {
|
|
1627
1792
|
this.regexFilter = source.regexFilter;
|
|
1628
1793
|
}
|
|
@@ -1645,7 +1810,7 @@ class BarcodeFormatPdf417Configuration extends _utils.PartiallyConstructible {
|
|
|
1645
1810
|
MicroPDF417 configuration. Add to scanner configuration to scan MicroPDF417 codes.
|
|
1646
1811
|
*/
|
|
1647
1812
|
exports.BarcodeFormatPdf417Configuration = BarcodeFormatPdf417Configuration;
|
|
1648
|
-
class BarcodeFormatMicroPdf417Configuration
|
|
1813
|
+
class BarcodeFormatMicroPdf417Configuration {
|
|
1649
1814
|
_type = 'BarcodeFormatMicroPDF417Configuration';
|
|
1650
1815
|
/**
|
|
1651
1816
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1683,7 +1848,6 @@ class BarcodeFormatMicroPdf417Configuration extends _utils.PartiallyConstructibl
|
|
|
1683
1848
|
|
|
1684
1849
|
/** @param source {@displayType `DeepPartial<BarcodeFormatMicroPdf417Configuration>`} */
|
|
1685
1850
|
constructor(source = {}) {
|
|
1686
|
-
super();
|
|
1687
1851
|
if (source.regexFilter !== undefined) {
|
|
1688
1852
|
this.regexFilter = source.regexFilter;
|
|
1689
1853
|
}
|
|
@@ -1706,7 +1870,7 @@ class BarcodeFormatMicroPdf417Configuration extends _utils.PartiallyConstructibl
|
|
|
1706
1870
|
DataMatrix configuration. Add to scanner configuration to scan DataMatrix and DataMatrix rectangular extensions (DMRE) codes.
|
|
1707
1871
|
*/
|
|
1708
1872
|
exports.BarcodeFormatMicroPdf417Configuration = BarcodeFormatMicroPdf417Configuration;
|
|
1709
|
-
class BarcodeFormatDataMatrixConfiguration
|
|
1873
|
+
class BarcodeFormatDataMatrixConfiguration {
|
|
1710
1874
|
_type = 'BarcodeFormatDataMatrixConfiguration';
|
|
1711
1875
|
/**
|
|
1712
1876
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1738,7 +1902,6 @@ class BarcodeFormatDataMatrixConfiguration extends _utils.PartiallyConstructible
|
|
|
1738
1902
|
|
|
1739
1903
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataMatrixConfiguration>`} */
|
|
1740
1904
|
constructor(source = {}) {
|
|
1741
|
-
super();
|
|
1742
1905
|
if (source.regexFilter !== undefined) {
|
|
1743
1906
|
this.regexFilter = source.regexFilter;
|
|
1744
1907
|
}
|
|
@@ -1758,7 +1921,7 @@ class BarcodeFormatDataMatrixConfiguration extends _utils.PartiallyConstructible
|
|
|
1758
1921
|
MaxiCode configuration. Add to scanner configuration to scan MaxiCode codes.
|
|
1759
1922
|
*/
|
|
1760
1923
|
exports.BarcodeFormatDataMatrixConfiguration = BarcodeFormatDataMatrixConfiguration;
|
|
1761
|
-
class BarcodeFormatMaxiCodeConfiguration
|
|
1924
|
+
class BarcodeFormatMaxiCodeConfiguration {
|
|
1762
1925
|
_type = 'BarcodeFormatMaxiCodeConfiguration';
|
|
1763
1926
|
/**
|
|
1764
1927
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1784,7 +1947,6 @@ class BarcodeFormatMaxiCodeConfiguration extends _utils.PartiallyConstructible {
|
|
|
1784
1947
|
|
|
1785
1948
|
/** @param source {@displayType `DeepPartial<BarcodeFormatMaxiCodeConfiguration>`} */
|
|
1786
1949
|
constructor(source = {}) {
|
|
1787
|
-
super();
|
|
1788
1950
|
if (source.regexFilter !== undefined) {
|
|
1789
1951
|
this.regexFilter = source.regexFilter;
|
|
1790
1952
|
}
|
|
@@ -1804,7 +1966,7 @@ exports.BarcodeFormatMaxiCodeConfiguration = BarcodeFormatMaxiCodeConfiguration;
|
|
|
1804
1966
|
/** @internal */
|
|
1805
1967
|
let BarcodeFormatFourStateConfigurationBase = exports.BarcodeFormatFourStateConfigurationBase = void 0;
|
|
1806
1968
|
(function (_BarcodeFormatFourStateConfigurationBase) {
|
|
1807
|
-
function
|
|
1969
|
+
function from(source) {
|
|
1808
1970
|
const _type = source._type;
|
|
1809
1971
|
switch (_type) {
|
|
1810
1972
|
case 'BarcodeFormatAustraliaPostConfiguration':
|
|
@@ -1820,10 +1982,10 @@ let BarcodeFormatFourStateConfigurationBase = exports.BarcodeFormatFourStateConf
|
|
|
1820
1982
|
case 'BarcodeFormatPharmaCodeTwoTrackConfiguration':
|
|
1821
1983
|
return new BarcodeFormatPharmaCodeTwoTrackConfiguration(source);
|
|
1822
1984
|
default:
|
|
1823
|
-
throw `Unknown child class name: ${_type}
|
|
1985
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
1824
1986
|
}
|
|
1825
1987
|
}
|
|
1826
|
-
_BarcodeFormatFourStateConfigurationBase.
|
|
1988
|
+
_BarcodeFormatFourStateConfigurationBase.from = from;
|
|
1827
1989
|
})(BarcodeFormatFourStateConfigurationBase || (exports.BarcodeFormatFourStateConfigurationBase = BarcodeFormatFourStateConfigurationBase = {}));
|
|
1828
1990
|
/**
|
|
1829
1991
|
Can be either numeric or alphanumeric and is only relevant for Format Codes 59 and 62.
|
|
@@ -1833,12 +1995,13 @@ Can be either numeric or alphanumeric and is only relevant for Format Codes 59 a
|
|
|
1833
1995
|
- `ALPHA_NUMERIC`:
|
|
1834
1996
|
AlphaNumeric.
|
|
1835
1997
|
*/
|
|
1998
|
+
/** @hidden */
|
|
1836
1999
|
const AustraliaPostCustomerFormatValues = exports.AustraliaPostCustomerFormatValues = ['NUMERIC', 'ALPHA_NUMERIC'];
|
|
1837
2000
|
|
|
1838
2001
|
/**
|
|
1839
2002
|
Australia Post barcode configuration. Add to scanner configuration to scan Australia Post barcodes.
|
|
1840
2003
|
*/
|
|
1841
|
-
class BarcodeFormatAustraliaPostConfiguration
|
|
2004
|
+
class BarcodeFormatAustraliaPostConfiguration {
|
|
1842
2005
|
_type = 'BarcodeFormatAustraliaPostConfiguration';
|
|
1843
2006
|
/**
|
|
1844
2007
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1870,7 +2033,6 @@ class BarcodeFormatAustraliaPostConfiguration extends _utils.PartiallyConstructi
|
|
|
1870
2033
|
|
|
1871
2034
|
/** @param source {@displayType `DeepPartial<BarcodeFormatAustraliaPostConfiguration>`} */
|
|
1872
2035
|
constructor(source = {}) {
|
|
1873
|
-
super();
|
|
1874
2036
|
if (source.regexFilter !== undefined) {
|
|
1875
2037
|
this.regexFilter = source.regexFilter;
|
|
1876
2038
|
}
|
|
@@ -1890,7 +2052,7 @@ class BarcodeFormatAustraliaPostConfiguration extends _utils.PartiallyConstructi
|
|
|
1890
2052
|
Japan Post barcode configuration. Add to scanner configuration to scan Japan Post barcodes.
|
|
1891
2053
|
*/
|
|
1892
2054
|
exports.BarcodeFormatAustraliaPostConfiguration = BarcodeFormatAustraliaPostConfiguration;
|
|
1893
|
-
class BarcodeFormatJapanPostConfiguration
|
|
2055
|
+
class BarcodeFormatJapanPostConfiguration {
|
|
1894
2056
|
_type = 'BarcodeFormatJapanPostConfiguration';
|
|
1895
2057
|
/**
|
|
1896
2058
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1916,7 +2078,6 @@ class BarcodeFormatJapanPostConfiguration extends _utils.PartiallyConstructible
|
|
|
1916
2078
|
|
|
1917
2079
|
/** @param source {@displayType `DeepPartial<BarcodeFormatJapanPostConfiguration>`} */
|
|
1918
2080
|
constructor(source = {}) {
|
|
1919
|
-
super();
|
|
1920
2081
|
if (source.regexFilter !== undefined) {
|
|
1921
2082
|
this.regexFilter = source.regexFilter;
|
|
1922
2083
|
}
|
|
@@ -1933,7 +2094,7 @@ class BarcodeFormatJapanPostConfiguration extends _utils.PartiallyConstructible
|
|
|
1933
2094
|
Royal Mail barcode configuration. Add to scanner configuration to scan Royal Mail (a.k.a. RM4SCC, CBC, BPO 4-State) barcodes.
|
|
1934
2095
|
*/
|
|
1935
2096
|
exports.BarcodeFormatJapanPostConfiguration = BarcodeFormatJapanPostConfiguration;
|
|
1936
|
-
class BarcodeFormatRoyalMailConfiguration
|
|
2097
|
+
class BarcodeFormatRoyalMailConfiguration {
|
|
1937
2098
|
_type = 'BarcodeFormatRoyalMailConfiguration';
|
|
1938
2099
|
/**
|
|
1939
2100
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -1965,7 +2126,6 @@ class BarcodeFormatRoyalMailConfiguration extends _utils.PartiallyConstructible
|
|
|
1965
2126
|
|
|
1966
2127
|
/** @param source {@displayType `DeepPartial<BarcodeFormatRoyalMailConfiguration>`} */
|
|
1967
2128
|
constructor(source = {}) {
|
|
1968
|
-
super();
|
|
1969
2129
|
if (source.regexFilter !== undefined) {
|
|
1970
2130
|
this.regexFilter = source.regexFilter;
|
|
1971
2131
|
}
|
|
@@ -1985,7 +2145,7 @@ class BarcodeFormatRoyalMailConfiguration extends _utils.PartiallyConstructible
|
|
|
1985
2145
|
Royal TNT Post barcode configuration. Add to scanner configuration to scan Royal TNT Post (a.k.a. KIX, Klant IndeX) barcodes.
|
|
1986
2146
|
*/
|
|
1987
2147
|
exports.BarcodeFormatRoyalMailConfiguration = BarcodeFormatRoyalMailConfiguration;
|
|
1988
|
-
class BarcodeFormatRoyalTntPostConfiguration
|
|
2148
|
+
class BarcodeFormatRoyalTntPostConfiguration {
|
|
1989
2149
|
_type = 'BarcodeFormatRoyalTNTPostConfiguration';
|
|
1990
2150
|
/**
|
|
1991
2151
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2011,7 +2171,6 @@ class BarcodeFormatRoyalTntPostConfiguration extends _utils.PartiallyConstructib
|
|
|
2011
2171
|
|
|
2012
2172
|
/** @param source {@displayType `DeepPartial<BarcodeFormatRoyalTntPostConfiguration>`} */
|
|
2013
2173
|
constructor(source = {}) {
|
|
2014
|
-
super();
|
|
2015
2174
|
if (source.regexFilter !== undefined) {
|
|
2016
2175
|
this.regexFilter = source.regexFilter;
|
|
2017
2176
|
}
|
|
@@ -2028,7 +2187,7 @@ class BarcodeFormatRoyalTntPostConfiguration extends _utils.PartiallyConstructib
|
|
|
2028
2187
|
USPS Intelligent Mail barcode configuration. Add to scanner configuration to scan USPS Intelligent Mail (a.k.a. USPS OneCode, USPS-STD-11) barcodes.
|
|
2029
2188
|
*/
|
|
2030
2189
|
exports.BarcodeFormatRoyalTntPostConfiguration = BarcodeFormatRoyalTntPostConfiguration;
|
|
2031
|
-
class BarcodeFormatUspsIntelligentMailConfiguration
|
|
2190
|
+
class BarcodeFormatUspsIntelligentMailConfiguration {
|
|
2032
2191
|
_type = 'BarcodeFormatUSPSIntelligentMailConfiguration';
|
|
2033
2192
|
/**
|
|
2034
2193
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2054,7 +2213,6 @@ class BarcodeFormatUspsIntelligentMailConfiguration extends _utils.PartiallyCons
|
|
|
2054
2213
|
|
|
2055
2214
|
/** @param source {@displayType `DeepPartial<BarcodeFormatUspsIntelligentMailConfiguration>`} */
|
|
2056
2215
|
constructor(source = {}) {
|
|
2057
|
-
super();
|
|
2058
2216
|
if (source.regexFilter !== undefined) {
|
|
2059
2217
|
this.regexFilter = source.regexFilter;
|
|
2060
2218
|
}
|
|
@@ -2071,7 +2229,7 @@ class BarcodeFormatUspsIntelligentMailConfiguration extends _utils.PartiallyCons
|
|
|
2071
2229
|
PHARMA_CODE_TWO_TRACK barcode configuration. Add to scanner configuration to scan Laetus two-track PharmaCode barcodes. Linear (i.e. one-track) PharmaCode scanning is configured separately through the PharmaCodeConfig class.
|
|
2072
2230
|
*/
|
|
2073
2231
|
exports.BarcodeFormatUspsIntelligentMailConfiguration = BarcodeFormatUspsIntelligentMailConfiguration;
|
|
2074
|
-
class BarcodeFormatPharmaCodeTwoTrackConfiguration
|
|
2232
|
+
class BarcodeFormatPharmaCodeTwoTrackConfiguration {
|
|
2075
2233
|
_type = 'BarcodeFormatPharmaCodeTwoTrackConfiguration';
|
|
2076
2234
|
/**
|
|
2077
2235
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2103,7 +2261,6 @@ class BarcodeFormatPharmaCodeTwoTrackConfiguration extends _utils.PartiallyConst
|
|
|
2103
2261
|
|
|
2104
2262
|
/** @param source {@displayType `DeepPartial<BarcodeFormatPharmaCodeTwoTrackConfiguration>`} */
|
|
2105
2263
|
constructor(source = {}) {
|
|
2106
|
-
super();
|
|
2107
2264
|
if (source.regexFilter !== undefined) {
|
|
2108
2265
|
this.regexFilter = source.regexFilter;
|
|
2109
2266
|
}
|
|
@@ -2134,7 +2291,7 @@ If GS1 Composite scanning is disabled, but GS1 message validation is enabled, th
|
|
|
2134
2291
|
fail validation and be rejected.
|
|
2135
2292
|
*/
|
|
2136
2293
|
exports.BarcodeFormatPharmaCodeTwoTrackConfiguration = BarcodeFormatPharmaCodeTwoTrackConfiguration;
|
|
2137
|
-
class BarcodeFormatGs1CompositeConfiguration
|
|
2294
|
+
class BarcodeFormatGs1CompositeConfiguration {
|
|
2138
2295
|
_type = 'BarcodeFormatGS1CompositeConfiguration';
|
|
2139
2296
|
/**
|
|
2140
2297
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2179,7 +2336,6 @@ class BarcodeFormatGs1CompositeConfiguration extends _utils.PartiallyConstructib
|
|
|
2179
2336
|
|
|
2180
2337
|
/** @param source {@displayType `DeepPartial<BarcodeFormatGs1CompositeConfiguration>`} */
|
|
2181
2338
|
constructor(source = {}) {
|
|
2182
|
-
super();
|
|
2183
2339
|
if (source.regexFilter !== undefined) {
|
|
2184
2340
|
this.regexFilter = source.regexFilter;
|
|
2185
2341
|
}
|
|
@@ -2210,7 +2366,7 @@ You can override the common configuration for individual barcode formats by addi
|
|
|
2210
2366
|
their specific configuration to the scanner's configuration.
|
|
2211
2367
|
*/
|
|
2212
2368
|
exports.BarcodeFormatGs1CompositeConfiguration = BarcodeFormatGs1CompositeConfiguration;
|
|
2213
|
-
class BarcodeFormatCommonOneDConfiguration
|
|
2369
|
+
class BarcodeFormatCommonOneDConfiguration {
|
|
2214
2370
|
_type = 'BarcodeFormatCommonOneDConfiguration';
|
|
2215
2371
|
/**
|
|
2216
2372
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2272,6 +2428,12 @@ class BarcodeFormatCommonOneDConfiguration extends _utils.PartiallyConstructible
|
|
|
2272
2428
|
Default is PARSE
|
|
2273
2429
|
*/
|
|
2274
2430
|
gs1Handling = 'PARSE';
|
|
2431
|
+
/**
|
|
2432
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
2433
|
+
|
|
2434
|
+
Default is THOROUGH
|
|
2435
|
+
*/
|
|
2436
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
2275
2437
|
/**
|
|
2276
2438
|
List of linear (1D) barcode formats to scan.
|
|
2277
2439
|
*/
|
|
@@ -2279,7 +2441,6 @@ class BarcodeFormatCommonOneDConfiguration extends _utils.PartiallyConstructible
|
|
|
2279
2441
|
|
|
2280
2442
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonOneDConfiguration>`} */
|
|
2281
2443
|
constructor(source = {}) {
|
|
2282
|
-
super();
|
|
2283
2444
|
if (source.regexFilter !== undefined) {
|
|
2284
2445
|
this.regexFilter = source.regexFilter;
|
|
2285
2446
|
}
|
|
@@ -2307,6 +2468,9 @@ class BarcodeFormatCommonOneDConfiguration extends _utils.PartiallyConstructible
|
|
|
2307
2468
|
if (source.gs1Handling !== undefined) {
|
|
2308
2469
|
this.gs1Handling = source.gs1Handling;
|
|
2309
2470
|
}
|
|
2471
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
2472
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
2473
|
+
}
|
|
2310
2474
|
if (source.formats !== undefined) {
|
|
2311
2475
|
this.formats = source.formats.map(it => {
|
|
2312
2476
|
return it;
|
|
@@ -2324,7 +2488,7 @@ You can override the common configuration for individual barcode formats by addi
|
|
|
2324
2488
|
their specific configuration to the scanner's configuration.
|
|
2325
2489
|
*/
|
|
2326
2490
|
exports.BarcodeFormatCommonOneDConfiguration = BarcodeFormatCommonOneDConfiguration;
|
|
2327
|
-
class BarcodeFormatCommonTwoDConfiguration
|
|
2491
|
+
class BarcodeFormatCommonTwoDConfiguration {
|
|
2328
2492
|
_type = 'BarcodeFormatCommonTwoDConfiguration';
|
|
2329
2493
|
/**
|
|
2330
2494
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2366,7 +2530,6 @@ class BarcodeFormatCommonTwoDConfiguration extends _utils.PartiallyConstructible
|
|
|
2366
2530
|
|
|
2367
2531
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonTwoDConfiguration>`} */
|
|
2368
2532
|
constructor(source = {}) {
|
|
2369
|
-
super();
|
|
2370
2533
|
if (source.regexFilter !== undefined) {
|
|
2371
2534
|
this.regexFilter = source.regexFilter;
|
|
2372
2535
|
}
|
|
@@ -2399,7 +2562,7 @@ You can override the common configuration for individual barcode formats by addi
|
|
|
2399
2562
|
their specific configuration to the scanner's configuration.
|
|
2400
2563
|
*/
|
|
2401
2564
|
exports.BarcodeFormatCommonTwoDConfiguration = BarcodeFormatCommonTwoDConfiguration;
|
|
2402
|
-
class BarcodeFormatCommonFourStateConfiguration
|
|
2565
|
+
class BarcodeFormatCommonFourStateConfiguration {
|
|
2403
2566
|
_type = 'BarcodeFormatCommonFourStateConfiguration';
|
|
2404
2567
|
/**
|
|
2405
2568
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2429,7 +2592,6 @@ class BarcodeFormatCommonFourStateConfiguration extends _utils.PartiallyConstruc
|
|
|
2429
2592
|
|
|
2430
2593
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonFourStateConfiguration>`} */
|
|
2431
2594
|
constructor(source = {}) {
|
|
2432
|
-
super();
|
|
2433
2595
|
if (source.regexFilter !== undefined) {
|
|
2434
2596
|
this.regexFilter = source.regexFilter;
|
|
2435
2597
|
}
|
|
@@ -2456,7 +2618,7 @@ You can override the common configuration for individual barcode formats by addi
|
|
|
2456
2618
|
their specific configuration to the scanner's configuration.
|
|
2457
2619
|
*/
|
|
2458
2620
|
exports.BarcodeFormatCommonFourStateConfiguration = BarcodeFormatCommonFourStateConfiguration;
|
|
2459
|
-
class BarcodeFormatCommonConfiguration
|
|
2621
|
+
class BarcodeFormatCommonConfiguration {
|
|
2460
2622
|
_type = 'BarcodeFormatCommonConfiguration';
|
|
2461
2623
|
/**
|
|
2462
2624
|
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
|
|
@@ -2524,14 +2686,19 @@ class BarcodeFormatCommonConfiguration extends _utils.PartiallyConstructible {
|
|
|
2524
2686
|
Default is true
|
|
2525
2687
|
*/
|
|
2526
2688
|
strictMode = true;
|
|
2689
|
+
/**
|
|
2690
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
2691
|
+
|
|
2692
|
+
Default is THOROUGH
|
|
2693
|
+
*/
|
|
2694
|
+
oneDConfirmationMode = 'THOROUGH';
|
|
2527
2695
|
/**
|
|
2528
2696
|
List of barcode formats to scan. By default, the most commonly used formats are enabled.
|
|
2529
2697
|
*/
|
|
2530
|
-
formats = ['AZTEC', 'CODABAR', 'CODE_39', 'CODE_93', 'CODE_128', 'DATA_MATRIX', 'DATABAR', 'DATABAR_EXPANDED', 'DATABAR_LIMITED', 'EAN_13', 'EAN_8', 'ITF', '
|
|
2698
|
+
formats = ['AZTEC', 'CODABAR', 'CODE_39', 'CODE_93', 'CODE_128', 'DATA_MATRIX', 'DATABAR', 'DATABAR_EXPANDED', 'DATABAR_LIMITED', 'EAN_13', 'EAN_8', 'ITF', 'PDF_417', 'QR_CODE', 'UPC_A', 'UPC_E'];
|
|
2531
2699
|
|
|
2532
2700
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonConfiguration>`} */
|
|
2533
2701
|
constructor(source = {}) {
|
|
2534
|
-
super();
|
|
2535
2702
|
if (source.regexFilter !== undefined) {
|
|
2536
2703
|
this.regexFilter = source.regexFilter;
|
|
2537
2704
|
}
|
|
@@ -2562,6 +2729,9 @@ class BarcodeFormatCommonConfiguration extends _utils.PartiallyConstructible {
|
|
|
2562
2729
|
if (source.strictMode !== undefined) {
|
|
2563
2730
|
this.strictMode = source.strictMode;
|
|
2564
2731
|
}
|
|
2732
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
2733
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
2734
|
+
}
|
|
2565
2735
|
if (source.formats !== undefined) {
|
|
2566
2736
|
this.formats = source.formats.map(it => {
|
|
2567
2737
|
return it;
|