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,5 +1,5 @@
|
|
|
1
|
-
import { ToJsonConfiguration } from '../
|
|
2
|
-
import { DeepPartial
|
|
1
|
+
import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
|
|
2
|
+
import { DeepPartial } from '../utils/utils';
|
|
3
3
|
/**
|
|
4
4
|
Enumerates character encodings.
|
|
5
5
|
|
|
@@ -72,12 +72,149 @@ Enumerates character encodings.
|
|
|
72
72
|
- `BINARY`:
|
|
73
73
|
Binary data.
|
|
74
74
|
*/
|
|
75
|
-
export type CharacterEncoding =
|
|
76
|
-
|
|
75
|
+
export type CharacterEncoding =
|
|
76
|
+
/**
|
|
77
|
+
Unknown encoding.
|
|
78
|
+
*/
|
|
79
|
+
'UNKNOWN'
|
|
80
|
+
/**
|
|
81
|
+
ASCII (ISO 646).
|
|
82
|
+
*/
|
|
83
|
+
| 'ASCII'
|
|
84
|
+
/**
|
|
85
|
+
ISO/IEC 8859 Part 1, a.k.a. Latin-1 Western European.
|
|
86
|
+
*/
|
|
87
|
+
| 'ISO_8859_PART1'
|
|
88
|
+
/**
|
|
89
|
+
ISO/IEC 8859 Part 2, a.k.a. Latin-2 Central European.
|
|
90
|
+
*/
|
|
91
|
+
| 'ISO_8859_PART2'
|
|
92
|
+
/**
|
|
93
|
+
ISO/IEC 8859 Part 3, a.k.a. Latin-3 South European.
|
|
94
|
+
*/
|
|
95
|
+
| 'ISO_8859_PART3'
|
|
96
|
+
/**
|
|
97
|
+
ISO/IEC 8859 Part 4, a.k.a. Latin-4 North European.
|
|
98
|
+
*/
|
|
99
|
+
| 'ISO_8859_PART4'
|
|
100
|
+
/**
|
|
101
|
+
ISO/IEC 8859 Part 5, a.k.a. Latin/Cyrillic.
|
|
102
|
+
*/
|
|
103
|
+
| 'ISO_8859_PART5'
|
|
104
|
+
/**
|
|
105
|
+
ISO/IEC 8859 Part 6, a.k.a. Latin/Arabic.
|
|
106
|
+
*/
|
|
107
|
+
| 'ISO_8859_PART6'
|
|
108
|
+
/**
|
|
109
|
+
ISO/IEC 8859 Part 7, a.k.a. Latin/Greek.
|
|
110
|
+
*/
|
|
111
|
+
| 'ISO_8859_PART7'
|
|
112
|
+
/**
|
|
113
|
+
ISO/IEC 8859 Part 8, a.k.a. Latin/Hebrew.
|
|
114
|
+
*/
|
|
115
|
+
| 'ISO_8859_PART8'
|
|
116
|
+
/**
|
|
117
|
+
ISO/IEC 8859 Part 9, a.k.a. Latin-5 Turkish.
|
|
118
|
+
*/
|
|
119
|
+
| 'ISO_8859_PART9'
|
|
120
|
+
/**
|
|
121
|
+
ISO/IEC 8859 Part 10, a.k.a. Latin-6 Nordic.
|
|
122
|
+
*/
|
|
123
|
+
| 'ISO_8859_PART10'
|
|
124
|
+
/**
|
|
125
|
+
ISO/IEC 8859 Part 11, a.k.a. Latin/Thai.
|
|
126
|
+
*/
|
|
127
|
+
| 'ISO_8859_PART11'
|
|
128
|
+
/**
|
|
129
|
+
ISO/IEC 8859 Part 13, a.k.a. Latin-7 Baltic Rim.
|
|
130
|
+
*/
|
|
131
|
+
| 'ISO_8859_PART13'
|
|
132
|
+
/**
|
|
133
|
+
ISO/IEC 8859 Part 14, a.k.a. Latin-8 Celtic.
|
|
134
|
+
*/
|
|
135
|
+
| 'ISO_8859_PART14'
|
|
136
|
+
/**
|
|
137
|
+
ISO/IEC 8859 Part 15, a.k.a. Latin-9.
|
|
138
|
+
*/
|
|
139
|
+
| 'ISO_8859_PART15'
|
|
140
|
+
/**
|
|
141
|
+
ISO/IEC 8859 Part 16, a.k.a. Latin-10 South-Eastern European.
|
|
142
|
+
*/
|
|
143
|
+
| 'ISO_8859_PART16'
|
|
144
|
+
/**
|
|
145
|
+
CP437 (DOS Latin US).
|
|
146
|
+
*/
|
|
147
|
+
| 'CP_437'
|
|
148
|
+
/**
|
|
149
|
+
Windows-1250 (Eastern European).
|
|
150
|
+
*/
|
|
151
|
+
| 'CP_1250'
|
|
152
|
+
/**
|
|
153
|
+
Windows-1251 (Cyrillic).
|
|
154
|
+
*/
|
|
155
|
+
| 'CP_1251'
|
|
156
|
+
/**
|
|
157
|
+
Windows-1252 (Western European).
|
|
158
|
+
*/
|
|
159
|
+
| 'CP_1252'
|
|
160
|
+
/**
|
|
161
|
+
Windows-1256 (Arabic).
|
|
162
|
+
*/
|
|
163
|
+
| 'CP_1256'
|
|
164
|
+
/**
|
|
165
|
+
Shift JIS (Japanese).
|
|
166
|
+
*/
|
|
167
|
+
| 'SHIFT_JIS'
|
|
168
|
+
/**
|
|
169
|
+
Big5 (Traditional Chinese).
|
|
170
|
+
*/
|
|
171
|
+
| 'BIG_5'
|
|
172
|
+
/**
|
|
173
|
+
GB2312 (Simplified Chinese).
|
|
174
|
+
*/
|
|
175
|
+
| 'GB_2312'
|
|
176
|
+
/**
|
|
177
|
+
GB18030 (Simplified Chinese).
|
|
178
|
+
*/
|
|
179
|
+
| 'GB_18030'
|
|
180
|
+
/**
|
|
181
|
+
EUC-JP (Japanese).
|
|
182
|
+
*/
|
|
183
|
+
| 'EUC_JP'
|
|
184
|
+
/**
|
|
185
|
+
EUC-KR (Korean).
|
|
186
|
+
*/
|
|
187
|
+
| 'EUC_KR'
|
|
188
|
+
/**
|
|
189
|
+
UTF16BE (UTF-16 Big Endian), a.k.a. UnicodeBig.
|
|
190
|
+
*/
|
|
191
|
+
| 'UTF_16_BE'
|
|
192
|
+
/**
|
|
193
|
+
UTF8 (UTF-8).
|
|
194
|
+
*/
|
|
195
|
+
| 'UTF_8'
|
|
196
|
+
/**
|
|
197
|
+
UTF16LE (UTF-16 Little Endian).
|
|
198
|
+
*/
|
|
199
|
+
| 'UTF_16_LE'
|
|
200
|
+
/**
|
|
201
|
+
UTF32BE (UTF-32 Big Endian).
|
|
202
|
+
*/
|
|
203
|
+
| 'UTF_32_BE'
|
|
204
|
+
/**
|
|
205
|
+
UTF32LE (UTF-32 Little Endian).
|
|
206
|
+
*/
|
|
207
|
+
| 'UTF_32_LE'
|
|
208
|
+
/**
|
|
209
|
+
Binary data.
|
|
210
|
+
*/
|
|
211
|
+
| 'BINARY';
|
|
212
|
+
/** @hidden */
|
|
213
|
+
export declare const CharacterEncodingValues: ReadonlyArray<CharacterEncoding>;
|
|
77
214
|
/**
|
|
78
215
|
A character encoding for a given range of bytes.
|
|
79
216
|
*/
|
|
80
|
-
export declare class RangeEncoding
|
|
217
|
+
export declare class RangeEncoding {
|
|
81
218
|
/**
|
|
82
219
|
Start index of the range.
|
|
83
220
|
*/
|
|
@@ -97,7 +234,7 @@ export declare class RangeEncoding extends PartiallyConstructible {
|
|
|
97
234
|
/**
|
|
98
235
|
The structured append mode can be used to split a message across multiple barcodes.
|
|
99
236
|
*/
|
|
100
|
-
export declare class StructuredAppendInfo
|
|
237
|
+
export declare class StructuredAppendInfo {
|
|
101
238
|
/**
|
|
102
239
|
The number of barcodes in the structured append set.
|
|
103
240
|
*/
|
|
@@ -192,12 +329,161 @@ Enumerates barcode formats.
|
|
|
192
329
|
- `PZN_8`:
|
|
193
330
|
PZN8, a.k.a. PZN, Pharmazentralnummer, German Pharmaceutical Central Number (1D).
|
|
194
331
|
*/
|
|
195
|
-
export type BarcodeFormat =
|
|
196
|
-
|
|
332
|
+
export type BarcodeFormat =
|
|
333
|
+
/**
|
|
334
|
+
Used as a return value if no valid barcode has been detected.
|
|
335
|
+
*/
|
|
336
|
+
'NONE'
|
|
337
|
+
/**
|
|
338
|
+
Aztec (2D).
|
|
339
|
+
*/
|
|
340
|
+
| 'AZTEC'
|
|
341
|
+
/**
|
|
342
|
+
CODABAR (1D).
|
|
343
|
+
*/
|
|
344
|
+
| 'CODABAR'
|
|
345
|
+
/**
|
|
346
|
+
Code 39 (1D).
|
|
347
|
+
*/
|
|
348
|
+
| 'CODE_39'
|
|
349
|
+
/**
|
|
350
|
+
Code 93 (1D).
|
|
351
|
+
*/
|
|
352
|
+
| 'CODE_93'
|
|
353
|
+
/**
|
|
354
|
+
Code 128 (1D).
|
|
355
|
+
*/
|
|
356
|
+
| 'CODE_128'
|
|
357
|
+
/**
|
|
358
|
+
Data Matrix (2D).
|
|
359
|
+
*/
|
|
360
|
+
| 'DATA_MATRIX'
|
|
361
|
+
/**
|
|
362
|
+
EAN-8 (1D).
|
|
363
|
+
*/
|
|
364
|
+
| 'EAN_8'
|
|
365
|
+
/**
|
|
366
|
+
EAN-13 (1D).
|
|
367
|
+
*/
|
|
368
|
+
| 'EAN_13'
|
|
369
|
+
/**
|
|
370
|
+
ITF (Interleaved Two of Five) (1D).
|
|
371
|
+
*/
|
|
372
|
+
| 'ITF'
|
|
373
|
+
/**
|
|
374
|
+
MaxiCode (2D).
|
|
375
|
+
*/
|
|
376
|
+
| 'MAXI_CODE'
|
|
377
|
+
/**
|
|
378
|
+
PDF417 (2D).
|
|
379
|
+
*/
|
|
380
|
+
| 'PDF_417'
|
|
381
|
+
/**
|
|
382
|
+
QR Code (2D).
|
|
383
|
+
*/
|
|
384
|
+
| 'QR_CODE'
|
|
385
|
+
/**
|
|
386
|
+
GS1 DataBar-14 (formerly RSS-14) (1D).
|
|
387
|
+
*/
|
|
388
|
+
| 'DATABAR'
|
|
389
|
+
/**
|
|
390
|
+
GS1 DataBar Expanded (formerly RSS Expanded) (1D).
|
|
391
|
+
*/
|
|
392
|
+
| 'DATABAR_EXPANDED'
|
|
393
|
+
/**
|
|
394
|
+
UPC-A (1D).
|
|
395
|
+
*/
|
|
396
|
+
| 'UPC_A'
|
|
397
|
+
/**
|
|
398
|
+
UPC-E (1D).
|
|
399
|
+
*/
|
|
400
|
+
| 'UPC_E'
|
|
401
|
+
/**
|
|
402
|
+
MSI PLESSEY.
|
|
403
|
+
*/
|
|
404
|
+
| 'MSI_PLESSEY'
|
|
405
|
+
/**
|
|
406
|
+
IATA 2 of 5 (1D).
|
|
407
|
+
*/
|
|
408
|
+
| 'IATA_2_OF_5'
|
|
409
|
+
/**
|
|
410
|
+
INDUSTRIAL 2 of 5 (1D).
|
|
411
|
+
*/
|
|
412
|
+
| 'INDUSTRIAL_2_OF_5'
|
|
413
|
+
/**
|
|
414
|
+
CODE 25 (1D).
|
|
415
|
+
*/
|
|
416
|
+
| 'CODE_25'
|
|
417
|
+
/**
|
|
418
|
+
Micro QR Code (2D).
|
|
419
|
+
*/
|
|
420
|
+
| 'MICRO_QR_CODE'
|
|
421
|
+
/**
|
|
422
|
+
USPS Intelligent Mail, a.k.a. USPS OneCode, USPS-STD-11.
|
|
423
|
+
*/
|
|
424
|
+
| 'USPS_INTELLIGENT_MAIL'
|
|
425
|
+
/**
|
|
426
|
+
Royal Mail Four-State Customer Code, a.k.a. RM4SCC, CBC, BPO 4 State Code.
|
|
427
|
+
*/
|
|
428
|
+
| 'ROYAL_MAIL'
|
|
429
|
+
/**
|
|
430
|
+
Japan Post Four-State Barcode.
|
|
431
|
+
*/
|
|
432
|
+
| 'JAPAN_POST'
|
|
433
|
+
/**
|
|
434
|
+
Royal TNT Post Four-State Barcode, a.k.a. KIX, Klant IndeX.
|
|
435
|
+
*/
|
|
436
|
+
| 'ROYAL_TNT_POST'
|
|
437
|
+
/**
|
|
438
|
+
Australia Post Four-State Customer Code.
|
|
439
|
+
*/
|
|
440
|
+
| 'AUSTRALIA_POST'
|
|
441
|
+
/**
|
|
442
|
+
GS1 DataBar Limited.
|
|
443
|
+
*/
|
|
444
|
+
| 'DATABAR_LIMITED'
|
|
445
|
+
/**
|
|
446
|
+
Micro PDF417 (2D).
|
|
447
|
+
*/
|
|
448
|
+
| 'MICRO_PDF_417'
|
|
449
|
+
/**
|
|
450
|
+
GS1 COMPOSITE (combined linear and 2D).
|
|
451
|
+
*/
|
|
452
|
+
| 'GS1_COMPOSITE'
|
|
453
|
+
/**
|
|
454
|
+
Rectangular Micro QR Code (2D).
|
|
455
|
+
*/
|
|
456
|
+
| 'RMQR_CODE'
|
|
457
|
+
/**
|
|
458
|
+
Code 11 (1D).
|
|
459
|
+
*/
|
|
460
|
+
| 'CODE_11'
|
|
461
|
+
/**
|
|
462
|
+
Code 32 (Italian Pharmacode) (1D).
|
|
463
|
+
*/
|
|
464
|
+
| 'CODE_32'
|
|
465
|
+
/**
|
|
466
|
+
Pharmacode, a.k.a. One-Track Pharmacode, Pharmaceutical Binary Code (1D).
|
|
467
|
+
*/
|
|
468
|
+
| 'PHARMA_CODE'
|
|
469
|
+
/**
|
|
470
|
+
Two-Track Pharmacode, a.k.a. Pharmaceutical Binary Code.
|
|
471
|
+
*/
|
|
472
|
+
| 'PHARMA_CODE_TWO_TRACK'
|
|
473
|
+
/**
|
|
474
|
+
PZN7, legacy PZN (Pharmazentralnummer), invalid since 01.01.2020 (1D).
|
|
475
|
+
*/
|
|
476
|
+
| 'PZN_7'
|
|
477
|
+
/**
|
|
478
|
+
PZN8, a.k.a. PZN, Pharmazentralnummer, German Pharmaceutical Central Number (1D).
|
|
479
|
+
*/
|
|
480
|
+
| 'PZN_8';
|
|
481
|
+
/** @hidden */
|
|
482
|
+
export declare const BarcodeFormatValues: ReadonlyArray<BarcodeFormat>;
|
|
197
483
|
/**
|
|
198
484
|
Lists of barcode formats to decode.
|
|
199
485
|
*/
|
|
200
|
-
export declare class BarcodeFormats
|
|
486
|
+
export declare class BarcodeFormats {
|
|
201
487
|
/** @param source {@displayType `DeepPartial<BarcodeFormats>`} */
|
|
202
488
|
constructor(source?: DeepPartial<BarcodeFormats>);
|
|
203
489
|
serialize(config?: ToJsonConfiguration): DeepPartial<BarcodeFormats>;
|
|
@@ -269,8 +555,35 @@ mark, a box, an escape sequence, a space or nothing at all.
|
|
|
269
555
|
- `DECODE_FULL`:
|
|
270
556
|
Combines the validations of VALIDATE_FULL and the human-readable output format of DECODE_STRUCTURE.
|
|
271
557
|
*/
|
|
272
|
-
export type Gs1Handling =
|
|
273
|
-
|
|
558
|
+
export type Gs1Handling =
|
|
559
|
+
/**
|
|
560
|
+
This is the default. GS1 messages are converted to the machine-readable format per
|
|
561
|
+
the GS1 spec (the special FNC1 character is converted to ASCII \x1D).
|
|
562
|
+
The implied 01 AI key is prepended to DataBar results.
|
|
563
|
+
No validation is performed.
|
|
564
|
+
*/
|
|
565
|
+
'PARSE'
|
|
566
|
+
/**
|
|
567
|
+
Same as PARSE. Additionally, messages containing unknown AI keys, or containing values
|
|
568
|
+
that don't fulfill the length, character set or regex requirements for known keys, are rejected.
|
|
569
|
+
*/
|
|
570
|
+
| 'VALIDATE_STRUCTURE'
|
|
571
|
+
/**
|
|
572
|
+
Same as VALIDATE_STRUCTURE. Additionally, GS1 strings are converted to the human-readable format,
|
|
573
|
+
instead (with parentheses used to wrap AI keys, e.g. "(01)123456789"). The \x1D character is
|
|
574
|
+
never used in this representation.
|
|
575
|
+
*/
|
|
576
|
+
| 'DECODE_STRUCTURE'
|
|
577
|
+
/**
|
|
578
|
+
Includes all validations from VALIDATE_STRUCTURE. Additionally, GS1 messages which have missing or incompatible combinations of AI keys are rejected. Additionally, values are checked against a list of known linting rules, e.g. checksums are calculated and verified, dates are checked for validity, etc. Results that fail any of the linter rules are rejected. The complete set of linter rules from the GS1 Syntax Dictionary are implemented.
|
|
579
|
+
*/
|
|
580
|
+
| 'VALIDATE_FULL'
|
|
581
|
+
/**
|
|
582
|
+
Combines the validations of VALIDATE_FULL and the human-readable output format of DECODE_STRUCTURE.
|
|
583
|
+
*/
|
|
584
|
+
| 'DECODE_FULL';
|
|
585
|
+
/** @hidden */
|
|
586
|
+
export declare const Gs1HandlingValues: ReadonlyArray<Gs1Handling>;
|
|
274
587
|
/**
|
|
275
588
|
Behavior when scanning UPC/EAN barcodes with EAN-2 or EAN-5 extensions.
|
|
276
589
|
|
|
@@ -289,6 +602,70 @@ Behavior when scanning UPC/EAN barcodes with EAN-2 or EAN-5 extensions.
|
|
|
289
602
|
- `ALLOW_ANY`:
|
|
290
603
|
Return any detected extension if present, but do not require it.
|
|
291
604
|
*/
|
|
292
|
-
export type UpcEanExtensionBehavior =
|
|
293
|
-
|
|
605
|
+
export type UpcEanExtensionBehavior =
|
|
606
|
+
/**
|
|
607
|
+
Only barcodes with a 2-digit extension are accepted.
|
|
608
|
+
*/
|
|
609
|
+
'REQUIRE_2'
|
|
610
|
+
/**
|
|
611
|
+
Only barcodes with a 5-digit extension are accepted.
|
|
612
|
+
*/
|
|
613
|
+
| 'REQUIRE_5'
|
|
614
|
+
/**
|
|
615
|
+
Only barcodes with either a 2-digit or a 5-digit extension are accepted.
|
|
616
|
+
*/
|
|
617
|
+
| 'REQUIRE_ANY'
|
|
618
|
+
/**
|
|
619
|
+
Always ignore the extension.
|
|
620
|
+
*/
|
|
621
|
+
| 'IGNORE'
|
|
622
|
+
/**
|
|
623
|
+
Return detected 2-digit extension if present, but do not require it. Ignore the 5-digit extension.
|
|
624
|
+
*/
|
|
625
|
+
| 'ALLOW_2'
|
|
626
|
+
/**
|
|
627
|
+
Return detected 5-digit extension if present, but do not require it. Ignore the 2-digit extension.
|
|
628
|
+
*/
|
|
629
|
+
| 'ALLOW_5'
|
|
630
|
+
/**
|
|
631
|
+
Return any detected extension if present, but do not require it.
|
|
632
|
+
*/
|
|
633
|
+
| 'ALLOW_ANY';
|
|
634
|
+
/** @hidden */
|
|
635
|
+
export declare const UpcEanExtensionBehaviorValues: ReadonlyArray<UpcEanExtensionBehavior>;
|
|
636
|
+
/**
|
|
637
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
638
|
+
Some barcode types are naturally prone to false positives (e.g. MSI Plessey).
|
|
639
|
+
For those barcode types false positives can be drastically reduced (precision can be increased) by requiring that multiple scan-lines in the input scan to the same result.
|
|
640
|
+
However, this stronger condition can lead to missed barcodes (lower recall).
|
|
641
|
+
Confirmation is avoided for barcode types, which are by design resistant to false positives, (e.g. Code128) to maximize recall.
|
|
642
|
+
|
|
643
|
+
- `NONE`:
|
|
644
|
+
No confirmation is required. This mode is the most prone to generating false positives.
|
|
645
|
+
- `MINIMAL`:
|
|
646
|
+
Minimal confirmation is performed. Compared to no confirmation, it provides a substantial decrease in false positives (increased precision), at the cost of a minimal decrease in recall.
|
|
647
|
+
- `MODERATE`:
|
|
648
|
+
Moderate confirmation is performed. Compared to minimal confirmation, it provides an additional decrease in false positives, at the cost of a slight decrease in recall.
|
|
649
|
+
- `THOROUGH`:
|
|
650
|
+
Recommended. Thorough confirmation is performed. Almost completely eliminates false positives, at the cost of an additional slight decrease in recall.
|
|
651
|
+
*/
|
|
652
|
+
export type OneDConfirmationMode =
|
|
653
|
+
/**
|
|
654
|
+
No confirmation is required. This mode is the most prone to generating false positives.
|
|
655
|
+
*/
|
|
656
|
+
'NONE'
|
|
657
|
+
/**
|
|
658
|
+
Minimal confirmation is performed. Compared to no confirmation, it provides a substantial decrease in false positives (increased precision), at the cost of a minimal decrease in recall.
|
|
659
|
+
*/
|
|
660
|
+
| 'MINIMAL'
|
|
661
|
+
/**
|
|
662
|
+
Moderate confirmation is performed. Compared to minimal confirmation, it provides an additional decrease in false positives, at the cost of a slight decrease in recall.
|
|
663
|
+
*/
|
|
664
|
+
| 'MODERATE'
|
|
665
|
+
/**
|
|
666
|
+
Recommended. Thorough confirmation is performed. Almost completely eliminates false positives, at the cost of an additional slight decrease in recall.
|
|
667
|
+
*/
|
|
668
|
+
| 'THOROUGH';
|
|
669
|
+
/** @hidden */
|
|
670
|
+
export declare const OneDConfirmationModeValues: ReadonlyArray<OneDConfirmationMode>;
|
|
294
671
|
//# sourceMappingURL=BarcodeTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarcodeTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/barcode/BarcodeTypes.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/barcode/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
The size of the image from camera which would be sent to the scanner for live scanning.
|
|
3
|
+
|
|
4
|
+
- `AUTO`:
|
|
5
|
+
Select to the image resolution automatically based on device specifics.
|
|
6
|
+
- `FULL_HD`:
|
|
7
|
+
The image is in Full HD resolution. 1920x1080 pixels or close to it.
|
|
8
|
+
- `UHD`:
|
|
9
|
+
The image is in UHD resolution. 3840x2160 pixels or close to it.
|
|
10
|
+
*/
|
|
11
|
+
export type CameraLiveScannerResolution =
|
|
12
|
+
/**
|
|
13
|
+
Select to the image resolution automatically based on device specifics.
|
|
14
|
+
*/
|
|
15
|
+
'AUTO'
|
|
16
|
+
/**
|
|
17
|
+
The image is in Full HD resolution. 1920x1080 pixels or close to it.
|
|
18
|
+
*/
|
|
19
|
+
| 'FULL_HD'
|
|
20
|
+
/**
|
|
21
|
+
The image is in UHD resolution. 3840x2160 pixels or close to it.
|
|
22
|
+
*/
|
|
23
|
+
| 'UHD';
|
|
24
|
+
/** @hidden */
|
|
25
|
+
export declare const CameraLiveScannerResolutionValues: ReadonlyArray<CameraLiveScannerResolution>;
|
|
26
|
+
//# sourceMappingURL=Camera.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/camera/Camera.ts"],"names":[],"mappings":"AAGA;;;;;;;;;EASE;AACF,MAAM,MAAM,2BAA2B;AACrC;;IAEI;AACF,MAAM;AACR;;IAEI;GACF,SAAS;AACX;;IAEI;GACF,KAAK,CAAC;AAEV,cAAc;AACd,eAAO,MAAM,iCAAiC,EAAE,aAAa,CAAC,2BAA2B,CAI/E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/camera/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Scanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
|
|
3
|
+
On the other hand, scanners can produce even better results if they can analyze multiple images of the same subject and cross-check and combine the results.
|
|
4
|
+
The processing mode tells the scanner whether to optimize for single or multiple images of a subject.
|
|
5
|
+
|
|
6
|
+
- `LIVE`:
|
|
7
|
+
In live mode input images are expected to come from a video source like a camera.
|
|
8
|
+
Scanners in live mode typically spend little time on each image and are able to quickly analyze multiple images and combine the individual image results into a final result.
|
|
9
|
+
Individual results from a particular image may be less accurate than running the scanner in single-shot mode on that frame, but after aggregating a few images of the same subject, the final result becomes much more accurate.
|
|
10
|
+
- `SINGLE_SHOT`:
|
|
11
|
+
In single-shot the scanner tries to extract the maximum amount of information possible from each input image. The scanner typically spends much longer on analyzing the image to ensure that all available information has been extracted.
|
|
12
|
+
- `AUTO`:
|
|
13
|
+
The scanner chooses live or single-shot mode based on the source of the image. An image constructed with RawImageLoadOptions.liveSource equal to true will be processed in live mode, otherwise it will be processed in single-shot mode.
|
|
14
|
+
On Android liveSource is automatically set to true if the ImageRef is created from Nv21 image data.
|
|
15
|
+
On iOS liveSource is automatically set to true if the ImageRef is created from a CMSampleBuffer.
|
|
16
|
+
*/
|
|
17
|
+
export type ProcessingMode =
|
|
18
|
+
/**
|
|
19
|
+
In live mode input images are expected to come from a video source like a camera.
|
|
20
|
+
Scanners in live mode typically spend little time on each image and are able to quickly analyze multiple images and combine the individual image results into a final result.
|
|
21
|
+
Individual results from a particular image may be less accurate than running the scanner in single-shot mode on that frame, but after aggregating a few images of the same subject, the final result becomes much more accurate.
|
|
22
|
+
*/
|
|
23
|
+
'LIVE'
|
|
24
|
+
/**
|
|
25
|
+
In single-shot the scanner tries to extract the maximum amount of information possible from each input image. The scanner typically spends much longer on analyzing the image to ensure that all available information has been extracted.
|
|
26
|
+
*/
|
|
27
|
+
| 'SINGLE_SHOT'
|
|
28
|
+
/**
|
|
29
|
+
The scanner chooses live or single-shot mode based on the source of the image. An image constructed with RawImageLoadOptions.liveSource equal to true will be processed in live mode, otherwise it will be processed in single-shot mode.
|
|
30
|
+
On Android liveSource is automatically set to true if the ImageRef is created from Nv21 image data.
|
|
31
|
+
On iOS liveSource is automatically set to true if the ImageRef is created from a CMSampleBuffer.
|
|
32
|
+
*/
|
|
33
|
+
| 'AUTO';
|
|
34
|
+
/** @hidden */
|
|
35
|
+
export declare const ProcessingModeValues: ReadonlyArray<ProcessingMode>;
|
|
36
|
+
//# sourceMappingURL=CommonTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommonTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/common/CommonTypes.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;EAeE;AACF,MAAM,MAAM,cAAc;AACxB;;;;IAII;AACF,MAAM;AACR;;IAEI;GACF,aAAa;AACf;;;;IAII;GACF,MAAM,CAAC;AAEX,cAAc;AACd,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,cAAc,CAIrD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DeepPartial
|
|
1
|
+
import { DeepPartial } from '../utils/utils';
|
|
2
2
|
/**
|
|
3
3
|
Configuration used to serialize an object to json.
|
|
4
4
|
*/
|
|
5
|
-
export declare class ToJsonConfiguration
|
|
5
|
+
export declare class ToJsonConfiguration {
|
|
6
6
|
/**
|
|
7
7
|
Serialize images in the object to json. If false, then fields that contain images are not serialized.
|
|
8
8
|
|
|
@@ -27,6 +27,15 @@ Image serialization mode. Applicable only when serializeImages is true.
|
|
|
27
27
|
- `BUFFER`:
|
|
28
28
|
Images are serialized as base64 encoded buffers.
|
|
29
29
|
*/
|
|
30
|
-
export type ImageSerializationMode =
|
|
31
|
-
|
|
30
|
+
export type ImageSerializationMode =
|
|
31
|
+
/**
|
|
32
|
+
Images are serialized as references to native resources.
|
|
33
|
+
*/
|
|
34
|
+
'REFERENCE'
|
|
35
|
+
/**
|
|
36
|
+
Images are serialized as base64 encoded buffers.
|
|
37
|
+
*/
|
|
38
|
+
| 'BUFFER';
|
|
39
|
+
/** @hidden */
|
|
40
|
+
export declare const ImageSerializationModeValues: ReadonlyArray<ImageSerializationMode>;
|
|
32
41
|
//# sourceMappingURL=JsonSerializationTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonSerializationTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/common/JsonSerializationTypes.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;EAEE;AACF,qBAAa,mBAAmB;IAC9B;;;;QAII;IACJ,SAAgB,eAAe,EAAE,OAAO,CAAQ;IAChD;;;;QAII;IACJ,SAAgB,sBAAsB,EAAE,sBAAsB,CAAe;IAE7E,sEAAsE;gBACnD,MAAM,GAAE,WAAW,CAAC,mBAAmB,CAAM;IASzD,SAAS,CACd,MAAM,GAAE,mBAA+C,GACtD,WAAW,CAAC,mBAAmB,CAAC;CAMpC;AAED;;;;;;;EAOE;AACF,MAAM,MAAM,sBAAsB;AAChC;;IAEI;AACF,WAAW;AACb;;IAEI;GACF,QAAQ,CAAC;AAEb,cAAc;AACd,eAAO,MAAM,4BAA4B,EAAE,aAAa,CAAC,sBAAsB,CAGrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/types/core/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC"}
|