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
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from core/schemas/BarcodeConfigurationTypes.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { DeepPartial } from '../utils/utils';
|
|
5
|
+
import {
|
|
6
|
+
BarcodeFormat,
|
|
7
|
+
Gs1Handling,
|
|
8
|
+
OneDConfirmationMode,
|
|
9
|
+
UpcEanExtensionBehavior,
|
|
10
|
+
} from './BarcodeTypes';
|
|
6
11
|
|
|
7
12
|
/**
|
|
8
13
|
Base class for all barcode configurations.
|
|
@@ -41,7 +46,9 @@ export type BarcodeFormatConfigurationBase =
|
|
|
41
46
|
/** @internal */
|
|
42
47
|
export namespace BarcodeFormatConfigurationBase {
|
|
43
48
|
/** @internal */
|
|
44
|
-
export function
|
|
49
|
+
export function from(
|
|
50
|
+
source: DeepPartial<BarcodeFormatConfigurationBase>
|
|
51
|
+
): BarcodeFormatConfigurationBase {
|
|
45
52
|
const _type = source._type;
|
|
46
53
|
switch (_type) {
|
|
47
54
|
case 'BarcodeFormatCodabarConfiguration':
|
|
@@ -105,7 +112,7 @@ export namespace BarcodeFormatConfigurationBase {
|
|
|
105
112
|
case 'BarcodeFormatCommonConfiguration':
|
|
106
113
|
return new BarcodeFormatCommonConfiguration(source);
|
|
107
114
|
default:
|
|
108
|
-
throw `Unknown child class name: ${_type}
|
|
115
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
109
116
|
}
|
|
110
117
|
}
|
|
111
118
|
}
|
|
@@ -130,7 +137,9 @@ export type BarcodeFormatOneDConfigurationBase =
|
|
|
130
137
|
/** @internal */
|
|
131
138
|
export namespace BarcodeFormatOneDConfigurationBase {
|
|
132
139
|
/** @internal */
|
|
133
|
-
export function
|
|
140
|
+
export function from(
|
|
141
|
+
source: DeepPartial<BarcodeFormatOneDConfigurationBase>
|
|
142
|
+
): BarcodeFormatOneDConfigurationBase {
|
|
134
143
|
const _type = source._type;
|
|
135
144
|
switch (_type) {
|
|
136
145
|
case 'BarcodeFormatCodabarConfiguration':
|
|
@@ -160,7 +169,7 @@ export namespace BarcodeFormatOneDConfigurationBase {
|
|
|
160
169
|
case 'BarcodeFormatPharmaCodeConfiguration':
|
|
161
170
|
return new BarcodeFormatPharmaCodeConfiguration(source);
|
|
162
171
|
default:
|
|
163
|
-
throw `Unknown child class name: ${_type}
|
|
172
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
164
173
|
}
|
|
165
174
|
}
|
|
166
175
|
}
|
|
@@ -168,7 +177,7 @@ export namespace BarcodeFormatOneDConfigurationBase {
|
|
|
168
177
|
/**
|
|
169
178
|
Codabar barcode configuration. Add to scanner configuration to scan Codabar barcodes.
|
|
170
179
|
*/
|
|
171
|
-
export class BarcodeFormatCodabarConfiguration
|
|
180
|
+
export class BarcodeFormatCodabarConfiguration {
|
|
172
181
|
public readonly _type: 'BarcodeFormatCodabarConfiguration' = 'BarcodeFormatCodabarConfiguration';
|
|
173
182
|
/**
|
|
174
183
|
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).
|
|
@@ -206,6 +215,12 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
|
|
|
206
215
|
Default is 1
|
|
207
216
|
*/
|
|
208
217
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
218
|
+
/**
|
|
219
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
220
|
+
|
|
221
|
+
Default is THOROUGH
|
|
222
|
+
*/
|
|
223
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
209
224
|
/**
|
|
210
225
|
Minimum text length. Applied only to linear barcode formats that allow variable length.
|
|
211
226
|
|
|
@@ -218,6 +233,12 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
|
|
|
218
233
|
Default is 0
|
|
219
234
|
*/
|
|
220
235
|
public maximumTextLength: number = 0;
|
|
236
|
+
/**
|
|
237
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
238
|
+
|
|
239
|
+
Default is true
|
|
240
|
+
*/
|
|
241
|
+
public enableOneDBlurScanner: boolean = true;
|
|
221
242
|
/**
|
|
222
243
|
If true, return the start and end characters.
|
|
223
244
|
|
|
@@ -227,7 +248,6 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
|
|
|
227
248
|
|
|
228
249
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCodabarConfiguration>`} */
|
|
229
250
|
public constructor(source: DeepPartial<BarcodeFormatCodabarConfiguration> = {}) {
|
|
230
|
-
super();
|
|
231
251
|
if (source.regexFilter !== undefined) {
|
|
232
252
|
this.regexFilter = source.regexFilter;
|
|
233
253
|
}
|
|
@@ -244,12 +264,18 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
|
|
|
244
264
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
245
265
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
246
266
|
}
|
|
267
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
268
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
269
|
+
}
|
|
247
270
|
if (source.minimumTextLength !== undefined) {
|
|
248
271
|
this.minimumTextLength = source.minimumTextLength;
|
|
249
272
|
}
|
|
250
273
|
if (source.maximumTextLength !== undefined) {
|
|
251
274
|
this.maximumTextLength = source.maximumTextLength;
|
|
252
275
|
}
|
|
276
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
277
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
278
|
+
}
|
|
253
279
|
if (source.returnStartEnd !== undefined) {
|
|
254
280
|
this.returnStartEnd = source.returnStartEnd;
|
|
255
281
|
}
|
|
@@ -259,7 +285,7 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
|
|
|
259
285
|
/**
|
|
260
286
|
Code 11 barcode configuration. Add to scanner configuration to scan Code 11 barcodes.
|
|
261
287
|
*/
|
|
262
|
-
export class BarcodeFormatCode11Configuration
|
|
288
|
+
export class BarcodeFormatCode11Configuration {
|
|
263
289
|
public readonly _type: 'BarcodeFormatCode11Configuration' = 'BarcodeFormatCode11Configuration';
|
|
264
290
|
/**
|
|
265
291
|
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).
|
|
@@ -297,6 +323,12 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
|
|
|
297
323
|
Default is 1
|
|
298
324
|
*/
|
|
299
325
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
326
|
+
/**
|
|
327
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
328
|
+
|
|
329
|
+
Default is THOROUGH
|
|
330
|
+
*/
|
|
331
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
300
332
|
/**
|
|
301
333
|
If true, the check digits are stripped from the result.
|
|
302
334
|
|
|
@@ -324,7 +356,6 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
|
|
|
324
356
|
|
|
325
357
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode11Configuration>`} */
|
|
326
358
|
public constructor(source: DeepPartial<BarcodeFormatCode11Configuration> = {}) {
|
|
327
|
-
super();
|
|
328
359
|
if (source.regexFilter !== undefined) {
|
|
329
360
|
this.regexFilter = source.regexFilter;
|
|
330
361
|
}
|
|
@@ -341,6 +372,9 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
|
|
|
341
372
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
342
373
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
343
374
|
}
|
|
375
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
376
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
377
|
+
}
|
|
344
378
|
if (source.stripCheckDigits !== undefined) {
|
|
345
379
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
346
380
|
}
|
|
@@ -359,7 +393,7 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
|
|
|
359
393
|
/**
|
|
360
394
|
Code 39 barcode and derivatives configuration. Add to scanner configuration to scan Code 39, Code 32 (Italian Pharmacode), PZN7 and PZN8 (Pharmazentralnummer) barcodes.
|
|
361
395
|
*/
|
|
362
|
-
export class BarcodeFormatCode39Configuration
|
|
396
|
+
export class BarcodeFormatCode39Configuration {
|
|
363
397
|
public readonly _type: 'BarcodeFormatCode39Configuration' = 'BarcodeFormatCode39Configuration';
|
|
364
398
|
/**
|
|
365
399
|
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).
|
|
@@ -397,6 +431,12 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
|
|
|
397
431
|
Default is 1
|
|
398
432
|
*/
|
|
399
433
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
434
|
+
/**
|
|
435
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
436
|
+
|
|
437
|
+
Default is THOROUGH
|
|
438
|
+
*/
|
|
439
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
400
440
|
/**
|
|
401
441
|
If true, the check digits are stripped from the result.
|
|
402
442
|
|
|
@@ -415,6 +455,12 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
|
|
|
415
455
|
Default is 0
|
|
416
456
|
*/
|
|
417
457
|
public maximumTextLength: number = 0;
|
|
458
|
+
/**
|
|
459
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
460
|
+
|
|
461
|
+
Default is true
|
|
462
|
+
*/
|
|
463
|
+
public enableOneDBlurScanner: boolean = true;
|
|
418
464
|
/**
|
|
419
465
|
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.
|
|
420
466
|
|
|
@@ -454,7 +500,6 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
|
|
|
454
500
|
|
|
455
501
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode39Configuration>`} */
|
|
456
502
|
public constructor(source: DeepPartial<BarcodeFormatCode39Configuration> = {}) {
|
|
457
|
-
super();
|
|
458
503
|
if (source.regexFilter !== undefined) {
|
|
459
504
|
this.regexFilter = source.regexFilter;
|
|
460
505
|
}
|
|
@@ -471,6 +516,9 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
|
|
|
471
516
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
472
517
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
473
518
|
}
|
|
519
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
520
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
521
|
+
}
|
|
474
522
|
if (source.stripCheckDigits !== undefined) {
|
|
475
523
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
476
524
|
}
|
|
@@ -480,6 +528,9 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
|
|
|
480
528
|
if (source.maximumTextLength !== undefined) {
|
|
481
529
|
this.maximumTextLength = source.maximumTextLength;
|
|
482
530
|
}
|
|
531
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
532
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
533
|
+
}
|
|
483
534
|
if (source.code32 !== undefined) {
|
|
484
535
|
this.code32 = source.code32;
|
|
485
536
|
}
|
|
@@ -504,7 +555,7 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
|
|
|
504
555
|
/**
|
|
505
556
|
Code 93 barcode configuration. Add to scanner configuration to scan Code 93 barcodes.
|
|
506
557
|
*/
|
|
507
|
-
export class BarcodeFormatCode93Configuration
|
|
558
|
+
export class BarcodeFormatCode93Configuration {
|
|
508
559
|
public readonly _type: 'BarcodeFormatCode93Configuration' = 'BarcodeFormatCode93Configuration';
|
|
509
560
|
/**
|
|
510
561
|
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).
|
|
@@ -542,6 +593,12 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
|
|
|
542
593
|
Default is 1
|
|
543
594
|
*/
|
|
544
595
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
596
|
+
/**
|
|
597
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
598
|
+
|
|
599
|
+
Default is THOROUGH
|
|
600
|
+
*/
|
|
601
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
545
602
|
/**
|
|
546
603
|
If true, the check digits are stripped from the result.
|
|
547
604
|
|
|
@@ -560,10 +617,15 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
|
|
|
560
617
|
Default is 0
|
|
561
618
|
*/
|
|
562
619
|
public maximumTextLength: number = 0;
|
|
620
|
+
/**
|
|
621
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
622
|
+
|
|
623
|
+
Default is true
|
|
624
|
+
*/
|
|
625
|
+
public enableOneDBlurScanner: boolean = true;
|
|
563
626
|
|
|
564
627
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode93Configuration>`} */
|
|
565
628
|
public constructor(source: DeepPartial<BarcodeFormatCode93Configuration> = {}) {
|
|
566
|
-
super();
|
|
567
629
|
if (source.regexFilter !== undefined) {
|
|
568
630
|
this.regexFilter = source.regexFilter;
|
|
569
631
|
}
|
|
@@ -580,6 +642,9 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
|
|
|
580
642
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
581
643
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
582
644
|
}
|
|
645
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
646
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
647
|
+
}
|
|
583
648
|
if (source.stripCheckDigits !== undefined) {
|
|
584
649
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
585
650
|
}
|
|
@@ -589,13 +654,16 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
|
|
|
589
654
|
if (source.maximumTextLength !== undefined) {
|
|
590
655
|
this.maximumTextLength = source.maximumTextLength;
|
|
591
656
|
}
|
|
657
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
658
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
659
|
+
}
|
|
592
660
|
}
|
|
593
661
|
}
|
|
594
662
|
|
|
595
663
|
/**
|
|
596
664
|
Code 128 barcode configuration. Add to scanner configuration to scan Code 128 barcodes.
|
|
597
665
|
*/
|
|
598
|
-
export class BarcodeFormatCode128Configuration
|
|
666
|
+
export class BarcodeFormatCode128Configuration {
|
|
599
667
|
public readonly _type: 'BarcodeFormatCode128Configuration' = 'BarcodeFormatCode128Configuration';
|
|
600
668
|
/**
|
|
601
669
|
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).
|
|
@@ -633,6 +701,12 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
|
|
|
633
701
|
Default is 1
|
|
634
702
|
*/
|
|
635
703
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
704
|
+
/**
|
|
705
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
706
|
+
|
|
707
|
+
Default is THOROUGH
|
|
708
|
+
*/
|
|
709
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
636
710
|
/**
|
|
637
711
|
GS1 message handling options.
|
|
638
712
|
|
|
@@ -651,10 +725,15 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
|
|
|
651
725
|
Default is 0
|
|
652
726
|
*/
|
|
653
727
|
public maximumTextLength: number = 0;
|
|
728
|
+
/**
|
|
729
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
730
|
+
|
|
731
|
+
Default is true
|
|
732
|
+
*/
|
|
733
|
+
public enableOneDBlurScanner: boolean = true;
|
|
654
734
|
|
|
655
735
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode128Configuration>`} */
|
|
656
736
|
public constructor(source: DeepPartial<BarcodeFormatCode128Configuration> = {}) {
|
|
657
|
-
super();
|
|
658
737
|
if (source.regexFilter !== undefined) {
|
|
659
738
|
this.regexFilter = source.regexFilter;
|
|
660
739
|
}
|
|
@@ -671,6 +750,9 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
|
|
|
671
750
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
672
751
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
673
752
|
}
|
|
753
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
754
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
755
|
+
}
|
|
674
756
|
if (source.gs1Handling !== undefined) {
|
|
675
757
|
this.gs1Handling = source.gs1Handling;
|
|
676
758
|
}
|
|
@@ -680,6 +762,9 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
|
|
|
680
762
|
if (source.maximumTextLength !== undefined) {
|
|
681
763
|
this.maximumTextLength = source.maximumTextLength;
|
|
682
764
|
}
|
|
765
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
766
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
767
|
+
}
|
|
683
768
|
}
|
|
684
769
|
}
|
|
685
770
|
|
|
@@ -690,7 +775,7 @@ Add to scanner configuration to scan Code 25, IATA 2-of-5 and Industrial 2-of-5
|
|
|
690
775
|
Industrial 2-of-5 barcodes are a subset of Code 25 barcodes.
|
|
691
776
|
Any valid Industrial 2-of-5 barcode is also a valid Code 25 barcode.
|
|
692
777
|
*/
|
|
693
|
-
export class BarcodeFormatCode2Of5Configuration
|
|
778
|
+
export class BarcodeFormatCode2Of5Configuration {
|
|
694
779
|
public readonly _type: 'BarcodeFormatCode2Of5Configuration' =
|
|
695
780
|
'BarcodeFormatCode2Of5Configuration';
|
|
696
781
|
/**
|
|
@@ -729,6 +814,12 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
|
|
|
729
814
|
Default is 1
|
|
730
815
|
*/
|
|
731
816
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
817
|
+
/**
|
|
818
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
819
|
+
|
|
820
|
+
Default is THOROUGH
|
|
821
|
+
*/
|
|
822
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
732
823
|
/**
|
|
733
824
|
If true, the check digits are stripped from the result.
|
|
734
825
|
|
|
@@ -774,7 +865,6 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
|
|
|
774
865
|
|
|
775
866
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCode2Of5Configuration>`} */
|
|
776
867
|
public constructor(source: DeepPartial<BarcodeFormatCode2Of5Configuration> = {}) {
|
|
777
|
-
super();
|
|
778
868
|
if (source.regexFilter !== undefined) {
|
|
779
869
|
this.regexFilter = source.regexFilter;
|
|
780
870
|
}
|
|
@@ -791,6 +881,9 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
|
|
|
791
881
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
792
882
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
793
883
|
}
|
|
884
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
885
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
886
|
+
}
|
|
794
887
|
if (source.stripCheckDigits !== undefined) {
|
|
795
888
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
796
889
|
}
|
|
@@ -818,7 +911,7 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
|
|
|
818
911
|
/**
|
|
819
912
|
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.
|
|
820
913
|
*/
|
|
821
|
-
export class BarcodeFormatDataBarConfiguration
|
|
914
|
+
export class BarcodeFormatDataBarConfiguration {
|
|
822
915
|
public readonly _type: 'BarcodeFormatDataBarConfiguration' = 'BarcodeFormatDataBarConfiguration';
|
|
823
916
|
/**
|
|
824
917
|
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).
|
|
@@ -856,6 +949,12 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
|
|
|
856
949
|
Default is 1
|
|
857
950
|
*/
|
|
858
951
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
952
|
+
/**
|
|
953
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
954
|
+
|
|
955
|
+
Default is THOROUGH
|
|
956
|
+
*/
|
|
957
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
859
958
|
/**
|
|
860
959
|
GS1 message handling options.
|
|
861
960
|
|
|
@@ -865,7 +964,6 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
|
|
|
865
964
|
|
|
866
965
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataBarConfiguration>`} */
|
|
867
966
|
public constructor(source: DeepPartial<BarcodeFormatDataBarConfiguration> = {}) {
|
|
868
|
-
super();
|
|
869
967
|
if (source.regexFilter !== undefined) {
|
|
870
968
|
this.regexFilter = source.regexFilter;
|
|
871
969
|
}
|
|
@@ -882,6 +980,9 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
|
|
|
882
980
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
883
981
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
884
982
|
}
|
|
983
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
984
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
985
|
+
}
|
|
885
986
|
if (source.gs1Handling !== undefined) {
|
|
886
987
|
this.gs1Handling = source.gs1Handling;
|
|
887
988
|
}
|
|
@@ -891,7 +992,7 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
|
|
|
891
992
|
/**
|
|
892
993
|
GS1 DataBar Expanded barcode configuration. Add to scanner configuration to scan GS1 DataBar Expanded and GS1 DataBar Expanded Stacked barcodes.
|
|
893
994
|
*/
|
|
894
|
-
export class BarcodeFormatDataBarExpandedConfiguration
|
|
995
|
+
export class BarcodeFormatDataBarExpandedConfiguration {
|
|
895
996
|
public readonly _type: 'BarcodeFormatDataBarExpandedConfiguration' =
|
|
896
997
|
'BarcodeFormatDataBarExpandedConfiguration';
|
|
897
998
|
/**
|
|
@@ -930,6 +1031,12 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
|
|
|
930
1031
|
Default is 1
|
|
931
1032
|
*/
|
|
932
1033
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
1034
|
+
/**
|
|
1035
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1036
|
+
|
|
1037
|
+
Default is THOROUGH
|
|
1038
|
+
*/
|
|
1039
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
933
1040
|
/**
|
|
934
1041
|
GS1 message handling options.
|
|
935
1042
|
|
|
@@ -939,7 +1046,6 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
|
|
|
939
1046
|
|
|
940
1047
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataBarExpandedConfiguration>`} */
|
|
941
1048
|
public constructor(source: DeepPartial<BarcodeFormatDataBarExpandedConfiguration> = {}) {
|
|
942
|
-
super();
|
|
943
1049
|
if (source.regexFilter !== undefined) {
|
|
944
1050
|
this.regexFilter = source.regexFilter;
|
|
945
1051
|
}
|
|
@@ -956,6 +1062,9 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
|
|
|
956
1062
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
957
1063
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
958
1064
|
}
|
|
1065
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1066
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1067
|
+
}
|
|
959
1068
|
if (source.gs1Handling !== undefined) {
|
|
960
1069
|
this.gs1Handling = source.gs1Handling;
|
|
961
1070
|
}
|
|
@@ -965,7 +1074,7 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
|
|
|
965
1074
|
/**
|
|
966
1075
|
GS1 DataBar Limited barcode configuration. Add to scanner configuration to scan GS1 DataBar Limited barcodes.
|
|
967
1076
|
*/
|
|
968
|
-
export class BarcodeFormatDataBarLimitedConfiguration
|
|
1077
|
+
export class BarcodeFormatDataBarLimitedConfiguration {
|
|
969
1078
|
public readonly _type: 'BarcodeFormatDataBarLimitedConfiguration' =
|
|
970
1079
|
'BarcodeFormatDataBarLimitedConfiguration';
|
|
971
1080
|
/**
|
|
@@ -1004,6 +1113,12 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
|
|
|
1004
1113
|
Default is 1
|
|
1005
1114
|
*/
|
|
1006
1115
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
1116
|
+
/**
|
|
1117
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1118
|
+
|
|
1119
|
+
Default is THOROUGH
|
|
1120
|
+
*/
|
|
1121
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
1007
1122
|
/**
|
|
1008
1123
|
GS1 message handling options.
|
|
1009
1124
|
|
|
@@ -1013,7 +1128,6 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
|
|
|
1013
1128
|
|
|
1014
1129
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataBarLimitedConfiguration>`} */
|
|
1015
1130
|
public constructor(source: DeepPartial<BarcodeFormatDataBarLimitedConfiguration> = {}) {
|
|
1016
|
-
super();
|
|
1017
1131
|
if (source.regexFilter !== undefined) {
|
|
1018
1132
|
this.regexFilter = source.regexFilter;
|
|
1019
1133
|
}
|
|
@@ -1030,6 +1144,9 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
|
|
|
1030
1144
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
1031
1145
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1032
1146
|
}
|
|
1147
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1148
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1149
|
+
}
|
|
1033
1150
|
if (source.gs1Handling !== undefined) {
|
|
1034
1151
|
this.gs1Handling = source.gs1Handling;
|
|
1035
1152
|
}
|
|
@@ -1039,7 +1156,7 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
|
|
|
1039
1156
|
/**
|
|
1040
1157
|
ITF (Interleaved 2-of-5) barcode configuration. Add to scanner configuration to scan Interleaved 2-of-5 (ITF) barcodes.
|
|
1041
1158
|
*/
|
|
1042
|
-
export class BarcodeFormatItfConfiguration
|
|
1159
|
+
export class BarcodeFormatItfConfiguration {
|
|
1043
1160
|
public readonly _type: 'BarcodeFormatITFConfiguration' = 'BarcodeFormatITFConfiguration';
|
|
1044
1161
|
/**
|
|
1045
1162
|
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).
|
|
@@ -1077,6 +1194,12 @@ export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
|
|
|
1077
1194
|
Default is 1
|
|
1078
1195
|
*/
|
|
1079
1196
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
1197
|
+
/**
|
|
1198
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1199
|
+
|
|
1200
|
+
Default is THOROUGH
|
|
1201
|
+
*/
|
|
1202
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
1080
1203
|
/**
|
|
1081
1204
|
Minimum text length. Applied only to linear barcode formats that allow variable length.
|
|
1082
1205
|
|
|
@@ -1089,10 +1212,15 @@ export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
|
|
|
1089
1212
|
Default is 0
|
|
1090
1213
|
*/
|
|
1091
1214
|
public maximumTextLength: number = 0;
|
|
1215
|
+
/**
|
|
1216
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
1217
|
+
|
|
1218
|
+
Default is true
|
|
1219
|
+
*/
|
|
1220
|
+
public enableOneDBlurScanner: boolean = true;
|
|
1092
1221
|
|
|
1093
1222
|
/** @param source {@displayType `DeepPartial<BarcodeFormatItfConfiguration>`} */
|
|
1094
1223
|
public constructor(source: DeepPartial<BarcodeFormatItfConfiguration> = {}) {
|
|
1095
|
-
super();
|
|
1096
1224
|
if (source.regexFilter !== undefined) {
|
|
1097
1225
|
this.regexFilter = source.regexFilter;
|
|
1098
1226
|
}
|
|
@@ -1109,12 +1237,18 @@ export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
|
|
|
1109
1237
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
1110
1238
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1111
1239
|
}
|
|
1240
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1241
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1242
|
+
}
|
|
1112
1243
|
if (source.minimumTextLength !== undefined) {
|
|
1113
1244
|
this.minimumTextLength = source.minimumTextLength;
|
|
1114
1245
|
}
|
|
1115
1246
|
if (source.maximumTextLength !== undefined) {
|
|
1116
1247
|
this.maximumTextLength = source.maximumTextLength;
|
|
1117
1248
|
}
|
|
1249
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
1250
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
1251
|
+
}
|
|
1118
1252
|
}
|
|
1119
1253
|
}
|
|
1120
1254
|
|
|
@@ -1135,26 +1269,45 @@ Checksum algorithm for MSI_PLESSEY.
|
|
|
1135
1269
|
Modulo 1110 NCR.
|
|
1136
1270
|
*/
|
|
1137
1271
|
export type MsiPlesseyChecksumAlgorithm =
|
|
1272
|
+
/**
|
|
1273
|
+
Modulo 10.
|
|
1274
|
+
*/
|
|
1138
1275
|
| 'MOD_10'
|
|
1276
|
+
/**
|
|
1277
|
+
Modulo 11 IBM.
|
|
1278
|
+
*/
|
|
1139
1279
|
| 'MOD_11_IBM'
|
|
1280
|
+
/**
|
|
1281
|
+
Modulo 11 NCR.
|
|
1282
|
+
*/
|
|
1140
1283
|
| 'MOD_11_NCR'
|
|
1284
|
+
/**
|
|
1285
|
+
Modulo 1010.
|
|
1286
|
+
*/
|
|
1141
1287
|
| 'MOD_10_10'
|
|
1288
|
+
/**
|
|
1289
|
+
Modulo 1110 IBM.
|
|
1290
|
+
*/
|
|
1142
1291
|
| 'MOD_11_10_IBM'
|
|
1292
|
+
/**
|
|
1293
|
+
Modulo 1110 NCR.
|
|
1294
|
+
*/
|
|
1143
1295
|
| 'MOD_11_10_NCR';
|
|
1144
1296
|
|
|
1145
|
-
|
|
1297
|
+
/** @hidden */
|
|
1298
|
+
export const MsiPlesseyChecksumAlgorithmValues: ReadonlyArray<MsiPlesseyChecksumAlgorithm> = [
|
|
1146
1299
|
'MOD_10',
|
|
1147
1300
|
'MOD_11_IBM',
|
|
1148
1301
|
'MOD_11_NCR',
|
|
1149
1302
|
'MOD_10_10',
|
|
1150
1303
|
'MOD_11_10_IBM',
|
|
1151
1304
|
'MOD_11_10_NCR',
|
|
1152
|
-
];
|
|
1305
|
+
] as const;
|
|
1153
1306
|
|
|
1154
1307
|
/**
|
|
1155
1308
|
MSI Plessey barcode configuration. Add to scanner configuration to scan MSI Plessey barcodes.
|
|
1156
1309
|
*/
|
|
1157
|
-
export class BarcodeFormatMsiPlesseyConfiguration
|
|
1310
|
+
export class BarcodeFormatMsiPlesseyConfiguration {
|
|
1158
1311
|
public readonly _type: 'BarcodeFormatMSIPlesseyConfiguration' =
|
|
1159
1312
|
'BarcodeFormatMSIPlesseyConfiguration';
|
|
1160
1313
|
/**
|
|
@@ -1193,6 +1346,12 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
|
|
|
1193
1346
|
Default is 1
|
|
1194
1347
|
*/
|
|
1195
1348
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
1349
|
+
/**
|
|
1350
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1351
|
+
|
|
1352
|
+
Default is THOROUGH
|
|
1353
|
+
*/
|
|
1354
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
1196
1355
|
/**
|
|
1197
1356
|
If true, the check digits are stripped from the result.
|
|
1198
1357
|
|
|
@@ -1211,6 +1370,12 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
|
|
|
1211
1370
|
Default is 0
|
|
1212
1371
|
*/
|
|
1213
1372
|
public maximumTextLength: number = 0;
|
|
1373
|
+
/**
|
|
1374
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
1375
|
+
|
|
1376
|
+
Default is true
|
|
1377
|
+
*/
|
|
1378
|
+
public enableOneDBlurScanner: boolean = true;
|
|
1214
1379
|
/**
|
|
1215
1380
|
List of MSI Plessey checksum algorithms to apply during scanning.
|
|
1216
1381
|
A barcode is considered valid if it passes any of the checksum algorithms in the list.
|
|
@@ -1220,7 +1385,6 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
|
|
|
1220
1385
|
|
|
1221
1386
|
/** @param source {@displayType `DeepPartial<BarcodeFormatMsiPlesseyConfiguration>`} */
|
|
1222
1387
|
public constructor(source: DeepPartial<BarcodeFormatMsiPlesseyConfiguration> = {}) {
|
|
1223
|
-
super();
|
|
1224
1388
|
if (source.regexFilter !== undefined) {
|
|
1225
1389
|
this.regexFilter = source.regexFilter;
|
|
1226
1390
|
}
|
|
@@ -1237,6 +1401,9 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
|
|
|
1237
1401
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
1238
1402
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1239
1403
|
}
|
|
1404
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1405
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1406
|
+
}
|
|
1240
1407
|
if (source.stripCheckDigits !== undefined) {
|
|
1241
1408
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
1242
1409
|
}
|
|
@@ -1246,10 +1413,15 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
|
|
|
1246
1413
|
if (source.maximumTextLength !== undefined) {
|
|
1247
1414
|
this.maximumTextLength = source.maximumTextLength;
|
|
1248
1415
|
}
|
|
1416
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
1417
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
1418
|
+
}
|
|
1249
1419
|
if (source.checksumAlgorithms !== undefined) {
|
|
1250
|
-
this.checksumAlgorithms = source.checksumAlgorithms.map(
|
|
1251
|
-
|
|
1252
|
-
|
|
1420
|
+
this.checksumAlgorithms = source.checksumAlgorithms.map(
|
|
1421
|
+
(it: DeepPartial<MsiPlesseyChecksumAlgorithm>) => {
|
|
1422
|
+
return it;
|
|
1423
|
+
}
|
|
1424
|
+
);
|
|
1253
1425
|
}
|
|
1254
1426
|
}
|
|
1255
1427
|
}
|
|
@@ -1257,7 +1429,7 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
|
|
|
1257
1429
|
/**
|
|
1258
1430
|
UPC/EAN barcode configuration. Add to scanner configuration to scan EAN-8, EAN-13, UPC-E and UPC-A barcodes.
|
|
1259
1431
|
*/
|
|
1260
|
-
export class BarcodeFormatUpcEanConfiguration
|
|
1432
|
+
export class BarcodeFormatUpcEanConfiguration {
|
|
1261
1433
|
public readonly _type: 'BarcodeFormatUpcEanConfiguration' = 'BarcodeFormatUpcEanConfiguration';
|
|
1262
1434
|
/**
|
|
1263
1435
|
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).
|
|
@@ -1295,12 +1467,25 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
|
|
|
1295
1467
|
Default is 1
|
|
1296
1468
|
*/
|
|
1297
1469
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
1470
|
+
/**
|
|
1471
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1472
|
+
|
|
1473
|
+
Default is THOROUGH
|
|
1474
|
+
*/
|
|
1475
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
1298
1476
|
/**
|
|
1299
1477
|
If true, the check digits are stripped from the result.
|
|
1300
1478
|
|
|
1301
1479
|
Default is false
|
|
1302
1480
|
*/
|
|
1303
1481
|
public stripCheckDigits: boolean = false;
|
|
1482
|
+
/**
|
|
1483
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
1484
|
+
Enabling this option may increase the number of misreads (false positives).
|
|
1485
|
+
|
|
1486
|
+
Default is false
|
|
1487
|
+
*/
|
|
1488
|
+
public enableOneDBlurScanner: boolean = false;
|
|
1304
1489
|
/**
|
|
1305
1490
|
If true, scan and return valid EAN-8 barcodes.
|
|
1306
1491
|
|
|
@@ -1343,7 +1528,6 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
|
|
|
1343
1528
|
|
|
1344
1529
|
/** @param source {@displayType `DeepPartial<BarcodeFormatUpcEanConfiguration>`} */
|
|
1345
1530
|
public constructor(source: DeepPartial<BarcodeFormatUpcEanConfiguration> = {}) {
|
|
1346
|
-
super();
|
|
1347
1531
|
if (source.regexFilter !== undefined) {
|
|
1348
1532
|
this.regexFilter = source.regexFilter;
|
|
1349
1533
|
}
|
|
@@ -1360,9 +1544,15 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
|
|
|
1360
1544
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
1361
1545
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1362
1546
|
}
|
|
1547
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1548
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1549
|
+
}
|
|
1363
1550
|
if (source.stripCheckDigits !== undefined) {
|
|
1364
1551
|
this.stripCheckDigits = source.stripCheckDigits;
|
|
1365
1552
|
}
|
|
1553
|
+
if (source.enableOneDBlurScanner !== undefined) {
|
|
1554
|
+
this.enableOneDBlurScanner = source.enableOneDBlurScanner;
|
|
1555
|
+
}
|
|
1366
1556
|
if (source.ean8 !== undefined) {
|
|
1367
1557
|
this.ean8 = source.ean8;
|
|
1368
1558
|
}
|
|
@@ -1388,7 +1578,7 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
|
|
|
1388
1578
|
/**
|
|
1389
1579
|
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.
|
|
1390
1580
|
*/
|
|
1391
|
-
export class BarcodeFormatPharmaCodeConfiguration
|
|
1581
|
+
export class BarcodeFormatPharmaCodeConfiguration {
|
|
1392
1582
|
public readonly _type: 'BarcodeFormatPharmaCodeConfiguration' =
|
|
1393
1583
|
'BarcodeFormatPharmaCodeConfiguration';
|
|
1394
1584
|
/**
|
|
@@ -1427,6 +1617,12 @@ export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible
|
|
|
1427
1617
|
Default is 1
|
|
1428
1618
|
*/
|
|
1429
1619
|
public minimumNumberOfRequiredFramesWithEqualRecognitionResult: number = 1;
|
|
1620
|
+
/**
|
|
1621
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1622
|
+
|
|
1623
|
+
Default is THOROUGH
|
|
1624
|
+
*/
|
|
1625
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
1430
1626
|
/**
|
|
1431
1627
|
Minimum value for PharmaCode. Very low values are likely to produce more false positives.
|
|
1432
1628
|
|
|
@@ -1448,7 +1644,6 @@ export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible
|
|
|
1448
1644
|
|
|
1449
1645
|
/** @param source {@displayType `DeepPartial<BarcodeFormatPharmaCodeConfiguration>`} */
|
|
1450
1646
|
public constructor(source: DeepPartial<BarcodeFormatPharmaCodeConfiguration> = {}) {
|
|
1451
|
-
super();
|
|
1452
1647
|
if (source.regexFilter !== undefined) {
|
|
1453
1648
|
this.regexFilter = source.regexFilter;
|
|
1454
1649
|
}
|
|
@@ -1465,6 +1660,9 @@ export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible
|
|
|
1465
1660
|
this.minimumNumberOfRequiredFramesWithEqualRecognitionResult =
|
|
1466
1661
|
source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
|
|
1467
1662
|
}
|
|
1663
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
1664
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
1665
|
+
}
|
|
1468
1666
|
if (source.minimumValue !== undefined) {
|
|
1469
1667
|
this.minimumValue = source.minimumValue;
|
|
1470
1668
|
}
|
|
@@ -1490,7 +1688,9 @@ export type BarcodeFormatTwoDConfigurationBase =
|
|
|
1490
1688
|
/** @internal */
|
|
1491
1689
|
export namespace BarcodeFormatTwoDConfigurationBase {
|
|
1492
1690
|
/** @internal */
|
|
1493
|
-
export function
|
|
1691
|
+
export function from(
|
|
1692
|
+
source: DeepPartial<BarcodeFormatTwoDConfigurationBase>
|
|
1693
|
+
): BarcodeFormatTwoDConfigurationBase {
|
|
1494
1694
|
const _type = source._type;
|
|
1495
1695
|
switch (_type) {
|
|
1496
1696
|
case 'BarcodeFormatAztecConfiguration':
|
|
@@ -1506,7 +1706,7 @@ export namespace BarcodeFormatTwoDConfigurationBase {
|
|
|
1506
1706
|
case 'BarcodeFormatMaxiCodeConfiguration':
|
|
1507
1707
|
return new BarcodeFormatMaxiCodeConfiguration(source);
|
|
1508
1708
|
default:
|
|
1509
|
-
throw `Unknown child class name: ${_type}
|
|
1709
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
1510
1710
|
}
|
|
1511
1711
|
}
|
|
1512
1712
|
}
|
|
@@ -1514,7 +1714,7 @@ export namespace BarcodeFormatTwoDConfigurationBase {
|
|
|
1514
1714
|
/**
|
|
1515
1715
|
Aztec configuration. Add to scanner configuration to scan Aztec codes.
|
|
1516
1716
|
*/
|
|
1517
|
-
export class BarcodeFormatAztecConfiguration
|
|
1717
|
+
export class BarcodeFormatAztecConfiguration {
|
|
1518
1718
|
public readonly _type: 'BarcodeFormatAztecConfiguration' = 'BarcodeFormatAztecConfiguration';
|
|
1519
1719
|
/**
|
|
1520
1720
|
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).
|
|
@@ -1546,7 +1746,6 @@ export class BarcodeFormatAztecConfiguration extends PartiallyConstructible {
|
|
|
1546
1746
|
|
|
1547
1747
|
/** @param source {@displayType `DeepPartial<BarcodeFormatAztecConfiguration>`} */
|
|
1548
1748
|
public constructor(source: DeepPartial<BarcodeFormatAztecConfiguration> = {}) {
|
|
1549
|
-
super();
|
|
1550
1749
|
if (source.regexFilter !== undefined) {
|
|
1551
1750
|
this.regexFilter = source.regexFilter;
|
|
1552
1751
|
}
|
|
@@ -1565,7 +1764,7 @@ export class BarcodeFormatAztecConfiguration extends PartiallyConstructible {
|
|
|
1565
1764
|
/**
|
|
1566
1765
|
QR Code configuration. Add to scanner configuration to scan QR codes, Micro QR codes and rectangular Micro QR (rMQR) codes.
|
|
1567
1766
|
*/
|
|
1568
|
-
export class BarcodeFormatQrCodeConfiguration
|
|
1767
|
+
export class BarcodeFormatQrCodeConfiguration {
|
|
1569
1768
|
public readonly _type: 'BarcodeFormatQRCodeConfiguration' = 'BarcodeFormatQRCodeConfiguration';
|
|
1570
1769
|
/**
|
|
1571
1770
|
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).
|
|
@@ -1621,7 +1820,6 @@ export class BarcodeFormatQrCodeConfiguration extends PartiallyConstructible {
|
|
|
1621
1820
|
|
|
1622
1821
|
/** @param source {@displayType `DeepPartial<BarcodeFormatQrCodeConfiguration>`} */
|
|
1623
1822
|
public constructor(source: DeepPartial<BarcodeFormatQrCodeConfiguration> = {}) {
|
|
1624
|
-
super();
|
|
1625
1823
|
if (source.regexFilter !== undefined) {
|
|
1626
1824
|
this.regexFilter = source.regexFilter;
|
|
1627
1825
|
}
|
|
@@ -1652,7 +1850,7 @@ export class BarcodeFormatQrCodeConfiguration extends PartiallyConstructible {
|
|
|
1652
1850
|
/**
|
|
1653
1851
|
PDF417 configuration. Add to scanner configuration to scan PDF417 codes.
|
|
1654
1852
|
*/
|
|
1655
|
-
export class BarcodeFormatPdf417Configuration
|
|
1853
|
+
export class BarcodeFormatPdf417Configuration {
|
|
1656
1854
|
public readonly _type: 'BarcodeFormatPDF417Configuration' = 'BarcodeFormatPDF417Configuration';
|
|
1657
1855
|
/**
|
|
1658
1856
|
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).
|
|
@@ -1690,7 +1888,6 @@ export class BarcodeFormatPdf417Configuration extends PartiallyConstructible {
|
|
|
1690
1888
|
|
|
1691
1889
|
/** @param source {@displayType `DeepPartial<BarcodeFormatPdf417Configuration>`} */
|
|
1692
1890
|
public constructor(source: DeepPartial<BarcodeFormatPdf417Configuration> = {}) {
|
|
1693
|
-
super();
|
|
1694
1891
|
if (source.regexFilter !== undefined) {
|
|
1695
1892
|
this.regexFilter = source.regexFilter;
|
|
1696
1893
|
}
|
|
@@ -1712,7 +1909,7 @@ export class BarcodeFormatPdf417Configuration extends PartiallyConstructible {
|
|
|
1712
1909
|
/**
|
|
1713
1910
|
MicroPDF417 configuration. Add to scanner configuration to scan MicroPDF417 codes.
|
|
1714
1911
|
*/
|
|
1715
|
-
export class BarcodeFormatMicroPdf417Configuration
|
|
1912
|
+
export class BarcodeFormatMicroPdf417Configuration {
|
|
1716
1913
|
public readonly _type: 'BarcodeFormatMicroPDF417Configuration' =
|
|
1717
1914
|
'BarcodeFormatMicroPDF417Configuration';
|
|
1718
1915
|
/**
|
|
@@ -1751,7 +1948,6 @@ export class BarcodeFormatMicroPdf417Configuration extends PartiallyConstructibl
|
|
|
1751
1948
|
|
|
1752
1949
|
/** @param source {@displayType `DeepPartial<BarcodeFormatMicroPdf417Configuration>`} */
|
|
1753
1950
|
public constructor(source: DeepPartial<BarcodeFormatMicroPdf417Configuration> = {}) {
|
|
1754
|
-
super();
|
|
1755
1951
|
if (source.regexFilter !== undefined) {
|
|
1756
1952
|
this.regexFilter = source.regexFilter;
|
|
1757
1953
|
}
|
|
@@ -1773,7 +1969,7 @@ export class BarcodeFormatMicroPdf417Configuration extends PartiallyConstructibl
|
|
|
1773
1969
|
/**
|
|
1774
1970
|
DataMatrix configuration. Add to scanner configuration to scan DataMatrix and DataMatrix rectangular extensions (DMRE) codes.
|
|
1775
1971
|
*/
|
|
1776
|
-
export class BarcodeFormatDataMatrixConfiguration
|
|
1972
|
+
export class BarcodeFormatDataMatrixConfiguration {
|
|
1777
1973
|
public readonly _type: 'BarcodeFormatDataMatrixConfiguration' =
|
|
1778
1974
|
'BarcodeFormatDataMatrixConfiguration';
|
|
1779
1975
|
/**
|
|
@@ -1806,7 +2002,6 @@ export class BarcodeFormatDataMatrixConfiguration extends PartiallyConstructible
|
|
|
1806
2002
|
|
|
1807
2003
|
/** @param source {@displayType `DeepPartial<BarcodeFormatDataMatrixConfiguration>`} */
|
|
1808
2004
|
public constructor(source: DeepPartial<BarcodeFormatDataMatrixConfiguration> = {}) {
|
|
1809
|
-
super();
|
|
1810
2005
|
if (source.regexFilter !== undefined) {
|
|
1811
2006
|
this.regexFilter = source.regexFilter;
|
|
1812
2007
|
}
|
|
@@ -1825,7 +2020,7 @@ export class BarcodeFormatDataMatrixConfiguration extends PartiallyConstructible
|
|
|
1825
2020
|
/**
|
|
1826
2021
|
MaxiCode configuration. Add to scanner configuration to scan MaxiCode codes.
|
|
1827
2022
|
*/
|
|
1828
|
-
export class BarcodeFormatMaxiCodeConfiguration
|
|
2023
|
+
export class BarcodeFormatMaxiCodeConfiguration {
|
|
1829
2024
|
public readonly _type: 'BarcodeFormatMaxiCodeConfiguration' =
|
|
1830
2025
|
'BarcodeFormatMaxiCodeConfiguration';
|
|
1831
2026
|
/**
|
|
@@ -1852,7 +2047,6 @@ export class BarcodeFormatMaxiCodeConfiguration extends PartiallyConstructible {
|
|
|
1852
2047
|
|
|
1853
2048
|
/** @param source {@displayType `DeepPartial<BarcodeFormatMaxiCodeConfiguration>`} */
|
|
1854
2049
|
public constructor(source: DeepPartial<BarcodeFormatMaxiCodeConfiguration> = {}) {
|
|
1855
|
-
super();
|
|
1856
2050
|
if (source.regexFilter !== undefined) {
|
|
1857
2051
|
this.regexFilter = source.regexFilter;
|
|
1858
2052
|
}
|
|
@@ -1878,7 +2072,9 @@ export type BarcodeFormatFourStateConfigurationBase =
|
|
|
1878
2072
|
/** @internal */
|
|
1879
2073
|
export namespace BarcodeFormatFourStateConfigurationBase {
|
|
1880
2074
|
/** @internal */
|
|
1881
|
-
export function
|
|
2075
|
+
export function from(
|
|
2076
|
+
source: DeepPartial<BarcodeFormatFourStateConfigurationBase>
|
|
2077
|
+
): BarcodeFormatFourStateConfigurationBase {
|
|
1882
2078
|
const _type = source._type;
|
|
1883
2079
|
switch (_type) {
|
|
1884
2080
|
case 'BarcodeFormatAustraliaPostConfiguration':
|
|
@@ -1894,7 +2090,7 @@ export namespace BarcodeFormatFourStateConfigurationBase {
|
|
|
1894
2090
|
case 'BarcodeFormatPharmaCodeTwoTrackConfiguration':
|
|
1895
2091
|
return new BarcodeFormatPharmaCodeTwoTrackConfiguration(source);
|
|
1896
2092
|
default:
|
|
1897
|
-
throw `Unknown child class name: ${_type}
|
|
2093
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
1898
2094
|
}
|
|
1899
2095
|
}
|
|
1900
2096
|
}
|
|
@@ -1907,17 +2103,26 @@ Can be either numeric or alphanumeric and is only relevant for Format Codes 59 a
|
|
|
1907
2103
|
- `ALPHA_NUMERIC`:
|
|
1908
2104
|
AlphaNumeric.
|
|
1909
2105
|
*/
|
|
1910
|
-
export type AustraliaPostCustomerFormat =
|
|
2106
|
+
export type AustraliaPostCustomerFormat =
|
|
2107
|
+
/**
|
|
2108
|
+
Numeric.
|
|
2109
|
+
*/
|
|
2110
|
+
| 'NUMERIC'
|
|
2111
|
+
/**
|
|
2112
|
+
AlphaNumeric.
|
|
2113
|
+
*/
|
|
2114
|
+
| 'ALPHA_NUMERIC';
|
|
1911
2115
|
|
|
1912
|
-
|
|
2116
|
+
/** @hidden */
|
|
2117
|
+
export const AustraliaPostCustomerFormatValues: ReadonlyArray<AustraliaPostCustomerFormat> = [
|
|
1913
2118
|
'NUMERIC',
|
|
1914
2119
|
'ALPHA_NUMERIC',
|
|
1915
|
-
];
|
|
2120
|
+
] as const;
|
|
1916
2121
|
|
|
1917
2122
|
/**
|
|
1918
2123
|
Australia Post barcode configuration. Add to scanner configuration to scan Australia Post barcodes.
|
|
1919
2124
|
*/
|
|
1920
|
-
export class BarcodeFormatAustraliaPostConfiguration
|
|
2125
|
+
export class BarcodeFormatAustraliaPostConfiguration {
|
|
1921
2126
|
public readonly _type: 'BarcodeFormatAustraliaPostConfiguration' =
|
|
1922
2127
|
'BarcodeFormatAustraliaPostConfiguration';
|
|
1923
2128
|
/**
|
|
@@ -1950,7 +2155,6 @@ export class BarcodeFormatAustraliaPostConfiguration extends PartiallyConstructi
|
|
|
1950
2155
|
|
|
1951
2156
|
/** @param source {@displayType `DeepPartial<BarcodeFormatAustraliaPostConfiguration>`} */
|
|
1952
2157
|
public constructor(source: DeepPartial<BarcodeFormatAustraliaPostConfiguration> = {}) {
|
|
1953
|
-
super();
|
|
1954
2158
|
if (source.regexFilter !== undefined) {
|
|
1955
2159
|
this.regexFilter = source.regexFilter;
|
|
1956
2160
|
}
|
|
@@ -1969,7 +2173,7 @@ export class BarcodeFormatAustraliaPostConfiguration extends PartiallyConstructi
|
|
|
1969
2173
|
/**
|
|
1970
2174
|
Japan Post barcode configuration. Add to scanner configuration to scan Japan Post barcodes.
|
|
1971
2175
|
*/
|
|
1972
|
-
export class BarcodeFormatJapanPostConfiguration
|
|
2176
|
+
export class BarcodeFormatJapanPostConfiguration {
|
|
1973
2177
|
public readonly _type: 'BarcodeFormatJapanPostConfiguration' =
|
|
1974
2178
|
'BarcodeFormatJapanPostConfiguration';
|
|
1975
2179
|
/**
|
|
@@ -1996,7 +2200,6 @@ export class BarcodeFormatJapanPostConfiguration extends PartiallyConstructible
|
|
|
1996
2200
|
|
|
1997
2201
|
/** @param source {@displayType `DeepPartial<BarcodeFormatJapanPostConfiguration>`} */
|
|
1998
2202
|
public constructor(source: DeepPartial<BarcodeFormatJapanPostConfiguration> = {}) {
|
|
1999
|
-
super();
|
|
2000
2203
|
if (source.regexFilter !== undefined) {
|
|
2001
2204
|
this.regexFilter = source.regexFilter;
|
|
2002
2205
|
}
|
|
@@ -2012,7 +2215,7 @@ export class BarcodeFormatJapanPostConfiguration extends PartiallyConstructible
|
|
|
2012
2215
|
/**
|
|
2013
2216
|
Royal Mail barcode configuration. Add to scanner configuration to scan Royal Mail (a.k.a. RM4SCC, CBC, BPO 4-State) barcodes.
|
|
2014
2217
|
*/
|
|
2015
|
-
export class BarcodeFormatRoyalMailConfiguration
|
|
2218
|
+
export class BarcodeFormatRoyalMailConfiguration {
|
|
2016
2219
|
public readonly _type: 'BarcodeFormatRoyalMailConfiguration' =
|
|
2017
2220
|
'BarcodeFormatRoyalMailConfiguration';
|
|
2018
2221
|
/**
|
|
@@ -2045,7 +2248,6 @@ export class BarcodeFormatRoyalMailConfiguration extends PartiallyConstructible
|
|
|
2045
2248
|
|
|
2046
2249
|
/** @param source {@displayType `DeepPartial<BarcodeFormatRoyalMailConfiguration>`} */
|
|
2047
2250
|
public constructor(source: DeepPartial<BarcodeFormatRoyalMailConfiguration> = {}) {
|
|
2048
|
-
super();
|
|
2049
2251
|
if (source.regexFilter !== undefined) {
|
|
2050
2252
|
this.regexFilter = source.regexFilter;
|
|
2051
2253
|
}
|
|
@@ -2064,7 +2266,7 @@ export class BarcodeFormatRoyalMailConfiguration extends PartiallyConstructible
|
|
|
2064
2266
|
/**
|
|
2065
2267
|
Royal TNT Post barcode configuration. Add to scanner configuration to scan Royal TNT Post (a.k.a. KIX, Klant IndeX) barcodes.
|
|
2066
2268
|
*/
|
|
2067
|
-
export class BarcodeFormatRoyalTntPostConfiguration
|
|
2269
|
+
export class BarcodeFormatRoyalTntPostConfiguration {
|
|
2068
2270
|
public readonly _type: 'BarcodeFormatRoyalTNTPostConfiguration' =
|
|
2069
2271
|
'BarcodeFormatRoyalTNTPostConfiguration';
|
|
2070
2272
|
/**
|
|
@@ -2091,7 +2293,6 @@ export class BarcodeFormatRoyalTntPostConfiguration extends PartiallyConstructib
|
|
|
2091
2293
|
|
|
2092
2294
|
/** @param source {@displayType `DeepPartial<BarcodeFormatRoyalTntPostConfiguration>`} */
|
|
2093
2295
|
public constructor(source: DeepPartial<BarcodeFormatRoyalTntPostConfiguration> = {}) {
|
|
2094
|
-
super();
|
|
2095
2296
|
if (source.regexFilter !== undefined) {
|
|
2096
2297
|
this.regexFilter = source.regexFilter;
|
|
2097
2298
|
}
|
|
@@ -2107,7 +2308,7 @@ export class BarcodeFormatRoyalTntPostConfiguration extends PartiallyConstructib
|
|
|
2107
2308
|
/**
|
|
2108
2309
|
USPS Intelligent Mail barcode configuration. Add to scanner configuration to scan USPS Intelligent Mail (a.k.a. USPS OneCode, USPS-STD-11) barcodes.
|
|
2109
2310
|
*/
|
|
2110
|
-
export class BarcodeFormatUspsIntelligentMailConfiguration
|
|
2311
|
+
export class BarcodeFormatUspsIntelligentMailConfiguration {
|
|
2111
2312
|
public readonly _type: 'BarcodeFormatUSPSIntelligentMailConfiguration' =
|
|
2112
2313
|
'BarcodeFormatUSPSIntelligentMailConfiguration';
|
|
2113
2314
|
/**
|
|
@@ -2134,7 +2335,6 @@ export class BarcodeFormatUspsIntelligentMailConfiguration extends PartiallyCons
|
|
|
2134
2335
|
|
|
2135
2336
|
/** @param source {@displayType `DeepPartial<BarcodeFormatUspsIntelligentMailConfiguration>`} */
|
|
2136
2337
|
public constructor(source: DeepPartial<BarcodeFormatUspsIntelligentMailConfiguration> = {}) {
|
|
2137
|
-
super();
|
|
2138
2338
|
if (source.regexFilter !== undefined) {
|
|
2139
2339
|
this.regexFilter = source.regexFilter;
|
|
2140
2340
|
}
|
|
@@ -2150,7 +2350,7 @@ export class BarcodeFormatUspsIntelligentMailConfiguration extends PartiallyCons
|
|
|
2150
2350
|
/**
|
|
2151
2351
|
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.
|
|
2152
2352
|
*/
|
|
2153
|
-
export class BarcodeFormatPharmaCodeTwoTrackConfiguration
|
|
2353
|
+
export class BarcodeFormatPharmaCodeTwoTrackConfiguration {
|
|
2154
2354
|
public readonly _type: 'BarcodeFormatPharmaCodeTwoTrackConfiguration' =
|
|
2155
2355
|
'BarcodeFormatPharmaCodeTwoTrackConfiguration';
|
|
2156
2356
|
/**
|
|
@@ -2183,7 +2383,6 @@ export class BarcodeFormatPharmaCodeTwoTrackConfiguration extends PartiallyConst
|
|
|
2183
2383
|
|
|
2184
2384
|
/** @param source {@displayType `DeepPartial<BarcodeFormatPharmaCodeTwoTrackConfiguration>`} */
|
|
2185
2385
|
public constructor(source: DeepPartial<BarcodeFormatPharmaCodeTwoTrackConfiguration> = {}) {
|
|
2186
|
-
super();
|
|
2187
2386
|
if (source.regexFilter !== undefined) {
|
|
2188
2387
|
this.regexFilter = source.regexFilter;
|
|
2189
2388
|
}
|
|
@@ -2213,7 +2412,7 @@ the enabled formats.
|
|
|
2213
2412
|
If GS1 Composite scanning is disabled, but GS1 message validation is enabled, then the parts of the composite barcode may
|
|
2214
2413
|
fail validation and be rejected.
|
|
2215
2414
|
*/
|
|
2216
|
-
export class BarcodeFormatGs1CompositeConfiguration
|
|
2415
|
+
export class BarcodeFormatGs1CompositeConfiguration {
|
|
2217
2416
|
public readonly _type: 'BarcodeFormatGS1CompositeConfiguration' =
|
|
2218
2417
|
'BarcodeFormatGS1CompositeConfiguration';
|
|
2219
2418
|
/**
|
|
@@ -2259,7 +2458,6 @@ export class BarcodeFormatGs1CompositeConfiguration extends PartiallyConstructib
|
|
|
2259
2458
|
|
|
2260
2459
|
/** @param source {@displayType `DeepPartial<BarcodeFormatGs1CompositeConfiguration>`} */
|
|
2261
2460
|
public constructor(source: DeepPartial<BarcodeFormatGs1CompositeConfiguration> = {}) {
|
|
2262
|
-
super();
|
|
2263
2461
|
if (source.regexFilter !== undefined) {
|
|
2264
2462
|
this.regexFilter = source.regexFilter;
|
|
2265
2463
|
}
|
|
@@ -2289,7 +2487,7 @@ The given configuration will be applied to all enabled barcode formats, if they
|
|
|
2289
2487
|
You can override the common configuration for individual barcode formats by additionally adding
|
|
2290
2488
|
their specific configuration to the scanner's configuration.
|
|
2291
2489
|
*/
|
|
2292
|
-
export class BarcodeFormatCommonOneDConfiguration
|
|
2490
|
+
export class BarcodeFormatCommonOneDConfiguration {
|
|
2293
2491
|
public readonly _type: 'BarcodeFormatCommonOneDConfiguration' =
|
|
2294
2492
|
'BarcodeFormatCommonOneDConfiguration';
|
|
2295
2493
|
/**
|
|
@@ -2352,6 +2550,12 @@ export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible
|
|
|
2352
2550
|
Default is PARSE
|
|
2353
2551
|
*/
|
|
2354
2552
|
public gs1Handling: Gs1Handling = 'PARSE';
|
|
2553
|
+
/**
|
|
2554
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
2555
|
+
|
|
2556
|
+
Default is THOROUGH
|
|
2557
|
+
*/
|
|
2558
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
2355
2559
|
/**
|
|
2356
2560
|
List of linear (1D) barcode formats to scan.
|
|
2357
2561
|
*/
|
|
@@ -2381,7 +2585,6 @@ export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible
|
|
|
2381
2585
|
|
|
2382
2586
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonOneDConfiguration>`} */
|
|
2383
2587
|
public constructor(source: DeepPartial<BarcodeFormatCommonOneDConfiguration> = {}) {
|
|
2384
|
-
super();
|
|
2385
2588
|
if (source.regexFilter !== undefined) {
|
|
2386
2589
|
this.regexFilter = source.regexFilter;
|
|
2387
2590
|
}
|
|
@@ -2410,8 +2613,11 @@ export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible
|
|
|
2410
2613
|
if (source.gs1Handling !== undefined) {
|
|
2411
2614
|
this.gs1Handling = source.gs1Handling;
|
|
2412
2615
|
}
|
|
2616
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
2617
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
2618
|
+
}
|
|
2413
2619
|
if (source.formats !== undefined) {
|
|
2414
|
-
this.formats = source.formats.map((it:
|
|
2620
|
+
this.formats = source.formats.map((it: DeepPartial<BarcodeFormat>) => {
|
|
2415
2621
|
return it;
|
|
2416
2622
|
});
|
|
2417
2623
|
}
|
|
@@ -2426,7 +2632,7 @@ The given configuration will be applied to all enabled barcode formats, if they
|
|
|
2426
2632
|
You can override the common configuration for individual barcode formats by additionally adding
|
|
2427
2633
|
their specific configuration to the scanner's configuration.
|
|
2428
2634
|
*/
|
|
2429
|
-
export class BarcodeFormatCommonTwoDConfiguration
|
|
2635
|
+
export class BarcodeFormatCommonTwoDConfiguration {
|
|
2430
2636
|
public readonly _type: 'BarcodeFormatCommonTwoDConfiguration' =
|
|
2431
2637
|
'BarcodeFormatCommonTwoDConfiguration';
|
|
2432
2638
|
/**
|
|
@@ -2478,7 +2684,6 @@ export class BarcodeFormatCommonTwoDConfiguration extends PartiallyConstructible
|
|
|
2478
2684
|
|
|
2479
2685
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonTwoDConfiguration>`} */
|
|
2480
2686
|
public constructor(source: DeepPartial<BarcodeFormatCommonTwoDConfiguration> = {}) {
|
|
2481
|
-
super();
|
|
2482
2687
|
if (source.regexFilter !== undefined) {
|
|
2483
2688
|
this.regexFilter = source.regexFilter;
|
|
2484
2689
|
}
|
|
@@ -2495,7 +2700,7 @@ export class BarcodeFormatCommonTwoDConfiguration extends PartiallyConstructible
|
|
|
2495
2700
|
this.strictMode = source.strictMode;
|
|
2496
2701
|
}
|
|
2497
2702
|
if (source.formats !== undefined) {
|
|
2498
|
-
this.formats = source.formats.map((it:
|
|
2703
|
+
this.formats = source.formats.map((it: DeepPartial<BarcodeFormat>) => {
|
|
2499
2704
|
return it;
|
|
2500
2705
|
});
|
|
2501
2706
|
}
|
|
@@ -2510,7 +2715,7 @@ The given configuration will be applied to all enabled barcode formats, if they
|
|
|
2510
2715
|
You can override the common configuration for individual barcode formats by additionally adding
|
|
2511
2716
|
their specific configuration to the scanner's configuration.
|
|
2512
2717
|
*/
|
|
2513
|
-
export class BarcodeFormatCommonFourStateConfiguration
|
|
2718
|
+
export class BarcodeFormatCommonFourStateConfiguration {
|
|
2514
2719
|
public readonly _type: 'BarcodeFormatCommonFourStateConfiguration' =
|
|
2515
2720
|
'BarcodeFormatCommonFourStateConfiguration';
|
|
2516
2721
|
/**
|
|
@@ -2547,7 +2752,6 @@ export class BarcodeFormatCommonFourStateConfiguration extends PartiallyConstruc
|
|
|
2547
2752
|
|
|
2548
2753
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonFourStateConfiguration>`} */
|
|
2549
2754
|
public constructor(source: DeepPartial<BarcodeFormatCommonFourStateConfiguration> = {}) {
|
|
2550
|
-
super();
|
|
2551
2755
|
if (source.regexFilter !== undefined) {
|
|
2552
2756
|
this.regexFilter = source.regexFilter;
|
|
2553
2757
|
}
|
|
@@ -2558,7 +2762,7 @@ export class BarcodeFormatCommonFourStateConfiguration extends PartiallyConstruc
|
|
|
2558
2762
|
this.addAdditionalQuietZone = source.addAdditionalQuietZone;
|
|
2559
2763
|
}
|
|
2560
2764
|
if (source.formats !== undefined) {
|
|
2561
|
-
this.formats = source.formats.map((it:
|
|
2765
|
+
this.formats = source.formats.map((it: DeepPartial<BarcodeFormat>) => {
|
|
2562
2766
|
return it;
|
|
2563
2767
|
});
|
|
2564
2768
|
}
|
|
@@ -2573,7 +2777,7 @@ The given configuration will be applied to all enabled barcode formats, if they
|
|
|
2573
2777
|
You can override the common configuration for individual barcode formats by additionally adding
|
|
2574
2778
|
their specific configuration to the scanner's configuration.
|
|
2575
2779
|
*/
|
|
2576
|
-
export class BarcodeFormatCommonConfiguration
|
|
2780
|
+
export class BarcodeFormatCommonConfiguration {
|
|
2577
2781
|
public readonly _type: 'BarcodeFormatCommonConfiguration' = 'BarcodeFormatCommonConfiguration';
|
|
2578
2782
|
/**
|
|
2579
2783
|
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).
|
|
@@ -2641,6 +2845,12 @@ export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
|
|
|
2641
2845
|
Default is true
|
|
2642
2846
|
*/
|
|
2643
2847
|
public strictMode: boolean = true;
|
|
2848
|
+
/**
|
|
2849
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
2850
|
+
|
|
2851
|
+
Default is THOROUGH
|
|
2852
|
+
*/
|
|
2853
|
+
public oneDConfirmationMode: OneDConfirmationMode = 'THOROUGH';
|
|
2644
2854
|
/**
|
|
2645
2855
|
List of barcode formats to scan. By default, the most commonly used formats are enabled.
|
|
2646
2856
|
*/
|
|
@@ -2657,7 +2867,6 @@ export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
|
|
|
2657
2867
|
'EAN_13',
|
|
2658
2868
|
'EAN_8',
|
|
2659
2869
|
'ITF',
|
|
2660
|
-
'MICRO_QR_CODE',
|
|
2661
2870
|
'PDF_417',
|
|
2662
2871
|
'QR_CODE',
|
|
2663
2872
|
'UPC_A',
|
|
@@ -2666,7 +2875,6 @@ export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
|
|
|
2666
2875
|
|
|
2667
2876
|
/** @param source {@displayType `DeepPartial<BarcodeFormatCommonConfiguration>`} */
|
|
2668
2877
|
public constructor(source: DeepPartial<BarcodeFormatCommonConfiguration> = {}) {
|
|
2669
|
-
super();
|
|
2670
2878
|
if (source.regexFilter !== undefined) {
|
|
2671
2879
|
this.regexFilter = source.regexFilter;
|
|
2672
2880
|
}
|
|
@@ -2698,8 +2906,11 @@ export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
|
|
|
2698
2906
|
if (source.strictMode !== undefined) {
|
|
2699
2907
|
this.strictMode = source.strictMode;
|
|
2700
2908
|
}
|
|
2909
|
+
if (source.oneDConfirmationMode !== undefined) {
|
|
2910
|
+
this.oneDConfirmationMode = source.oneDConfirmationMode;
|
|
2911
|
+
}
|
|
2701
2912
|
if (source.formats !== undefined) {
|
|
2702
|
-
this.formats = source.formats.map((it:
|
|
2913
|
+
this.formats = source.formats.map((it: DeepPartial<BarcodeFormat>) => {
|
|
2703
2914
|
return it;
|
|
2704
2915
|
});
|
|
2705
2916
|
}
|