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,9 +1,8 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/ViewFinderConfiguration.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { PartiallyConstructible } from '../../utils/utils';
|
|
4
|
+
import { AspectRatio } from '../../geometry/Geometry';
|
|
5
|
+
import { EdgeInsets } from './Common';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
Base configuration of the scanning interface’s viewfinder, serving as guidance to the user.
|
|
@@ -11,7 +10,7 @@ Base configuration of the scanning interface’s viewfinder, serving as guidance
|
|
|
11
10
|
/** @internal */
|
|
12
11
|
export let BaseViewFinderConfiguration;
|
|
13
12
|
(function (_BaseViewFinderConfiguration) {
|
|
14
|
-
function
|
|
13
|
+
function from(source) {
|
|
15
14
|
const _type = source._type;
|
|
16
15
|
switch (_type) {
|
|
17
16
|
case 'ViewFinderConfiguration':
|
|
@@ -19,15 +18,15 @@ export let BaseViewFinderConfiguration;
|
|
|
19
18
|
case 'PermanentViewFinderConfiguration':
|
|
20
19
|
return new PermanentViewFinderConfiguration(source);
|
|
21
20
|
default:
|
|
22
|
-
throw `Unknown child class name: ${_type}
|
|
21
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
|
-
_BaseViewFinderConfiguration.
|
|
24
|
+
_BaseViewFinderConfiguration.from = from;
|
|
26
25
|
})(BaseViewFinderConfiguration || (BaseViewFinderConfiguration = {}));
|
|
27
26
|
/**
|
|
28
27
|
Configuration of the scanning interface’s viewfinder, allowing it to be shown or hidden as guidance to the user.
|
|
29
28
|
*/
|
|
30
|
-
export class ViewFinderConfiguration
|
|
29
|
+
export class ViewFinderConfiguration {
|
|
31
30
|
_type = 'ViewFinderConfiguration';
|
|
32
31
|
/**
|
|
33
32
|
The visual appearance of the viewfinder.
|
|
@@ -74,9 +73,8 @@ export class ViewFinderConfiguration extends PartiallyConstructible {
|
|
|
74
73
|
|
|
75
74
|
/** @param source {@displayType `DeepPartial<ViewFinderConfiguration>`} */
|
|
76
75
|
constructor(source = {}) {
|
|
77
|
-
super();
|
|
78
76
|
if (source.style !== undefined) {
|
|
79
|
-
this.style = FinderStyle.
|
|
77
|
+
this.style = FinderStyle.from(source.style);
|
|
80
78
|
}
|
|
81
79
|
if (source.overlayColor !== undefined) {
|
|
82
80
|
this.overlayColor = source.overlayColor;
|
|
@@ -99,7 +97,7 @@ export class ViewFinderConfiguration extends PartiallyConstructible {
|
|
|
99
97
|
/**
|
|
100
98
|
Configuration of the scanning interface’s viewfinder, which is always visible to guide the user.
|
|
101
99
|
*/
|
|
102
|
-
export class PermanentViewFinderConfiguration
|
|
100
|
+
export class PermanentViewFinderConfiguration {
|
|
103
101
|
_type = 'PermanentViewFinderConfiguration';
|
|
104
102
|
/**
|
|
105
103
|
The visual appearance of the viewfinder.
|
|
@@ -140,9 +138,8 @@ export class PermanentViewFinderConfiguration extends PartiallyConstructible {
|
|
|
140
138
|
|
|
141
139
|
/** @param source {@displayType `DeepPartial<PermanentViewFinderConfiguration>`} */
|
|
142
140
|
constructor(source = {}) {
|
|
143
|
-
super();
|
|
144
141
|
if (source.style !== undefined) {
|
|
145
|
-
this.style = FinderStyle.
|
|
142
|
+
this.style = FinderStyle.from(source.style);
|
|
146
143
|
}
|
|
147
144
|
if (source.overlayColor !== undefined) {
|
|
148
145
|
this.overlayColor = source.overlayColor;
|
|
@@ -165,7 +162,7 @@ The visual appearance of the viewfinder.
|
|
|
165
162
|
/** @internal */
|
|
166
163
|
export let FinderStyle;
|
|
167
164
|
(function (_FinderStyle) {
|
|
168
|
-
function
|
|
165
|
+
function from(source) {
|
|
169
166
|
const _type = source._type;
|
|
170
167
|
switch (_type) {
|
|
171
168
|
case 'FinderCorneredStyle':
|
|
@@ -173,15 +170,15 @@ export let FinderStyle;
|
|
|
173
170
|
case 'FinderStrokedStyle':
|
|
174
171
|
return new FinderStrokedStyle(source);
|
|
175
172
|
default:
|
|
176
|
-
throw `Unknown child class name: ${_type}
|
|
173
|
+
throw new Error(`Unknown child class name: ${_type}`);
|
|
177
174
|
}
|
|
178
175
|
}
|
|
179
|
-
_FinderStyle.
|
|
176
|
+
_FinderStyle.from = from;
|
|
180
177
|
})(FinderStyle || (FinderStyle = {}));
|
|
181
178
|
/**
|
|
182
179
|
A variant of the viewfinder displaying only the four corners of the scanning area.
|
|
183
180
|
*/
|
|
184
|
-
export class FinderCorneredStyle
|
|
181
|
+
export class FinderCorneredStyle {
|
|
185
182
|
_type = 'FinderCorneredStyle';
|
|
186
183
|
/**
|
|
187
184
|
The color of the viewfinder corner's outlines.
|
|
@@ -204,7 +201,6 @@ export class FinderCorneredStyle extends PartiallyConstructible {
|
|
|
204
201
|
|
|
205
202
|
/** @param source {@displayType `DeepPartial<FinderCorneredStyle>`} */
|
|
206
203
|
constructor(source = {}) {
|
|
207
|
-
super();
|
|
208
204
|
if (source.strokeColor !== undefined) {
|
|
209
205
|
this.strokeColor = source.strokeColor;
|
|
210
206
|
}
|
|
@@ -220,7 +216,7 @@ export class FinderCorneredStyle extends PartiallyConstructible {
|
|
|
220
216
|
/**
|
|
221
217
|
A variant of the viewfinder displaying a full outline of the scanning area.
|
|
222
218
|
*/
|
|
223
|
-
export class FinderStrokedStyle
|
|
219
|
+
export class FinderStrokedStyle {
|
|
224
220
|
_type = 'FinderStrokedStyle';
|
|
225
221
|
/**
|
|
226
222
|
The color of the viewfinder corner's outlines.
|
|
@@ -243,7 +239,6 @@ export class FinderStrokedStyle extends PartiallyConstructible {
|
|
|
243
239
|
|
|
244
240
|
/** @param source {@displayType `DeepPartial<FinderStrokedStyle>`} */
|
|
245
241
|
constructor(source = {}) {
|
|
246
|
-
super();
|
|
247
242
|
if (source.strokeColor !== undefined) {
|
|
248
243
|
this.strokeColor = source.strokeColor;
|
|
249
244
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AspectRatio","EdgeInsets","BaseViewFinderConfiguration","_BaseViewFinderConfiguration","from","source","_type","ViewFinderConfiguration","PermanentViewFinderConfiguration","Error","style","FinderCorneredStyle","strokeColor","strokeWidth","cornerRadius","overlayColor","aspectRatio","width","height","minimumInsets","top","left","bottom","right","preferredHeight","visible","constructor","undefined","FinderStyle","_FinderStyle","FinderStrokedStyle"],"sourceRoot":"../../../../../../src","sources":["types/core/ui_v2/common/ViewFinderConfiguration.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,WAAW,QAAQ,yBAAyB;AAErD,SAASC,UAAU,QAAQ,UAAU;;AAErC;AACA;AACA;AAIA;AAAA,WACiBC,2BAA2B;AAAA,WAAAC,4BAAA;EAEnC,SAASC,IAAIA,CAClBC,MAAgD,EACnB;IAC7B,MAAMC,KAAK,GAAGD,MAAM,CAACC,KAAK;IAC1B,QAAQA,KAAK;MACX,KAAK,yBAAyB;QAC5B,OAAO,IAAIC,uBAAuB,CAACF,MAAM,CAAC;MAC5C,KAAK,kCAAkC;QACrC,OAAO,IAAIG,gCAAgC,CAACH,MAAM,CAAC;MACrD;QACE,MAAM,IAAII,KAAK,CAAC,6BAA6BH,KAAK,EAAE,CAAC;IACzD;EACF;EAACH,4BAAA,CAAAC,IAAA,GAAAA,IAAA;AAAA,GAdcF,2BAA2B,KAA3BA,2BAA2B;AAiB5C;AACA;AACA;AACA,OAAO,MAAMK,uBAAuB,CAAC;EACnBD,KAAK,GAA8B,yBAAyB;EAC5E;AACF;AACA;EACSI,KAAK,GAAgB,IAAIC,mBAAmB,CAAC;IAClDC,WAAW,EAAE,iBAAiB;IAC9BC,WAAW,EAAE,GAAG;IAChBC,YAAY,EAAE;EAChB,CAAC,CAAC;EACF;AACF;AACA;AACA;AACA;EACSC,YAAY,GAAW,oBAAoB;EAClD;AACF;AACA;EACSC,WAAW,GAAgB,IAAIhB,WAAW,CAAC;IAAEiB,KAAK,EAAE,GAAG;IAAEC,MAAM,EAAE;EAAI,CAAC,CAAC;EAC9E;AACF;AACA;EACSC,aAAa,GAAe,IAAIlB,UAAU,CAAC;IAChDmB,GAAG,EAAE,IAAI;I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,IAAI,CAACf,WAAW,GAAGP,MAAM,CAACO,WAAW;IACvC;IACA,IAAIP,MAAM,CAACQ,WAAW,KAAKc,SAAS,EAAE;MACpC,IAAI,CAACd,WAAW,GAAGR,MAAM,CAACQ,WAAW;IACvC;IACA,IAAIR,MAAM,CAACS,YAAY,KAAKa,SAAS,EAAE;MACrC,IAAI,CAACb,YAAY,GAAGT,MAAM,CAACS,YAAY;IACzC;EACF;AACF","ignoreList":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export * from './barcode/BarcodeItemMapper';
|
|
2
1
|
export * from './barcode/ArTrackingOverlayConfiguration';
|
|
3
2
|
export * from './barcode/BarcodeInfoMapping';
|
|
4
|
-
export * from './barcode/
|
|
3
|
+
export * from './barcode/BarcodeItemMapper';
|
|
5
4
|
export * from './barcode/BarcodeScannerScreenConfiguration';
|
|
6
5
|
export * from './barcode/BarcodeScannerUiResult';
|
|
7
6
|
export * from './barcode/BarcodeTextLocalization';
|
|
@@ -10,6 +9,7 @@ export * from './barcode/FindAndPickScanningModeUseCase';
|
|
|
10
9
|
export * from './barcode/MultipleScanningModeUseCase';
|
|
11
10
|
export * from './barcode/SingleScanningModeUseCase';
|
|
12
11
|
export * from './common/ActionBarConfiguration';
|
|
12
|
+
export * from './common/BottomBarConfiguration';
|
|
13
13
|
export * from './common/CameraConfiguration';
|
|
14
14
|
export * from './common/CameraPermission';
|
|
15
15
|
export * from './common/Common';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["types/core/ui_v2/index.ts"],"mappings":"AAAA,cAAc,0CAA0C;AACxD,cAAc,8BAA8B;AAC5C,cAAc,6BAA6B;AAC3C,cAAc,6CAA6C;AAC3D,cAAc,kCAAkC;AAChD,cAAc,mCAAmC;AACjD,cAAc,0BAA0B;AACxC,cAAc,0CAA0C;AACxD,cAAc,uCAAuC;AACrD,cAAc,qCAAqC;AACnD,cAAc,iCAAiC;AAC/C,cAAc,iCAAiC;AAC/C,cAAc,8BAA8B;AAC5C,cAAc,2BAA2B;AACzC,cAAc,iBAAiB;AAC/B,cAAc,qCAAqC;AACnD,cAAc,gCAAgC;AAC9C,cAAc,6BAA6B;AAC3C,cAAc,8BAA8B;AAC5C,cAAc,oCAAoC;AAClD,cAAc,kCAAkC","ignoreList":[]}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from core/schemas/ObjectPoolTypes.yaml
|
|
3
3
|
|
|
4
|
-
import { ToJsonConfiguration } from '../
|
|
5
|
-
import { PartiallyConstructible } from '../utils/utils';
|
|
6
|
-
|
|
4
|
+
import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
|
|
7
5
|
/**
|
|
8
6
|
Profile info of a reference-counted stored object.
|
|
9
7
|
*/
|
|
10
|
-
export class RefCountedObjectProfile
|
|
8
|
+
export class RefCountedObjectProfile {
|
|
11
9
|
/**
|
|
12
10
|
Unique ID of the object.
|
|
13
11
|
*/
|
|
@@ -31,7 +29,6 @@ export class RefCountedObjectProfile extends PartiallyConstructible {
|
|
|
31
29
|
|
|
32
30
|
/** @param source {@displayType `DeepPartial<RefCountedObjectProfile>`} */
|
|
33
31
|
constructor(source = {}) {
|
|
34
|
-
super();
|
|
35
32
|
if (source.uniqueId !== undefined) {
|
|
36
33
|
this.uniqueId = source.uniqueId;
|
|
37
34
|
} else {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ToJsonConfiguration","RefCountedObjectProfile","strongReferences","serializedReferences","constructor","source","uniqueId","undefined","Error","timestampCreated","serialize","config"],"sourceRoot":"../../../../../src","sources":["types/core/utils/ObjectPoolTypes.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AAGtE;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,CAAC;EACnC;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;AACA;AACA;EACkBC,gBAAgB,GAAW,CAAC;EAC5C;AACF;AACA;AACA;AACA;EACkBC,oBAAoB,GAAW,CAAC;;EAEhD;EACOC,WAAWA,CAACC,MAA4C,GAAG,CAAC,CAAC,EAAE;IACpE,IAAIA,MAAM,CAACC,QAAQ,KAAKC,SAAS,EAAE;MACjC,IAAI,CAACD,QAAQ,GAAGD,MAAM,CAACC,QAAQ;IACjC,CAAC,MAAM;MACL,MAAM,IAAIE,KAAK,CAAC,kDAAkD,CAAC;IACrE;IACA,IAAIH,MAAM,CAACI,gBAAgB,KAAKF,SAAS,EAAE;MACzC,IAAI,CAACE,gBAAgB,GAAGJ,MAAM,CAACI,gBAAgB;IACjD,CAAC,MAAM;MACL,MAAM,IAAID,KAAK,CAAC,0DAA0D,CAAC;IAC7E;IACA,IAAIH,MAAM,CAACH,gBAAgB,KAAKK,SAAS,EAAE;MACzC,IAAI,CAACL,gBAAgB,GAAGG,MAAM,CAACH,gBAAgB;IACjD;IACA,IAAIG,MAAM,CAACF,oBAAoB,KAAKI,SAAS,EAAE;MAC7C,IAAI,CAACJ,oBAAoB,GAAGE,MAAM,CAACF,oBAAoB;IACzD;EACF;EAEOO,SAASA,CACdC,MAA2B,GAAG,IAAIX,mBAAmB,CAAC,CAAC,EACjB;IACtC,OAAO;MACLM,QAAQ,EAAE,IAAI,CAACA,QAAQ;MACvBG,gBAAgB,EAAE,IAAI,CAACA,gBAAgB;MACvCP,gBAAgB,EAAE,IAAI,CAACA,gBAAgB;MACvCC,oBAAoB,EAAE,IAAI,CAACA;IAC7B,CAAC;EACH;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["types/core/utils/index.ts"],"mappings":"AAAA,cAAc,mBAAmB;AACjC,cAAc,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["NonPartiallyConstructible","_nonPartiallyConstructibleMarker"],"sourceRoot":"../../../../../src","sources":["types/core/utils/utils.ts"],"mappings":"AAAA,MAAMA,yBAAyB,CAAC;EAC9BC,gCAAgCA,CAAA,EAAG,CAAC;AACtC;;AAQA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":"AAAA,cAAc,QAAQ;AACtB,cAAc,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ImageInput, ResultWrapper } from './types/base/customTypes';
|
|
2
|
+
import { BarcodeDocumentFormat, BarcodeDocumentParserResult } from './types/core/barcode/BarcodeDocumentTypes';
|
|
3
|
+
import { BarcodeScannerConfiguration, BarcodeScannerResult } from './types/core/barcode/BarcodeScannerTypes';
|
|
4
|
+
import { BarcodeScannerScreenConfiguration } from './types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration';
|
|
5
|
+
import { BarcodeScannerUiResult } from './types/core/ui_v2/barcode/BarcodeScannerUiResult';
|
|
6
|
+
/**
|
|
7
|
+
* Entry point for all barcode features.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ScanbotBarcode: {
|
|
10
|
+
/**
|
|
11
|
+
* Opens the Ready-To-Use UI screen for scanning barcodes with the desired configuration.
|
|
12
|
+
* @param {BarcodeScannerScreenConfiguration} configuration - The Barcode scanner configuration to be used for scanning.
|
|
13
|
+
* @returns {Promise<ResultWrapper<BarcodeScannerUiResult>>} - The result of the Barcode scanning operation.
|
|
14
|
+
*/
|
|
15
|
+
startScanner(configuration: BarcodeScannerScreenConfiguration): Promise<ResultWrapper<BarcodeScannerUiResult>>;
|
|
16
|
+
/**
|
|
17
|
+
* Scans Barcode from a given image with the desired configuration.
|
|
18
|
+
* @param {ImageInput} params.image - The image to be used for scanning.
|
|
19
|
+
* @param {BarcodeScannerConfiguration} params.configuration - The Barcode scanner configuration to be used for scanning.
|
|
20
|
+
* @returns {Promise<BarcodeScannerResult>} - The result of the Barcode scanning operation.
|
|
21
|
+
*/
|
|
22
|
+
scanFromImage(params: {
|
|
23
|
+
image: ImageInput;
|
|
24
|
+
configuration: BarcodeScannerConfiguration;
|
|
25
|
+
}): Promise<BarcodeScannerResult>;
|
|
26
|
+
/**
|
|
27
|
+
* Scans Barcode from a given PDF document with the desired configuration.
|
|
28
|
+
* @param {string} params.pdfFileUri - The PDF file uri to be used for scanning.
|
|
29
|
+
* @param {BarcodeScannerConfiguration} params.configuration - The Barcode scanner configuration to be used for scanning.
|
|
30
|
+
* @returns {Promise<BarcodeScannerResult>} - The result of the Barcode scanning operation.
|
|
31
|
+
*/
|
|
32
|
+
scanFromPdf(params: {
|
|
33
|
+
pdfFileUri: string;
|
|
34
|
+
configuration: BarcodeScannerConfiguration;
|
|
35
|
+
}): Promise<BarcodeScannerResult>;
|
|
36
|
+
/**
|
|
37
|
+
* Parses a barcode document from the given raw text content with the specified accepted formats.
|
|
38
|
+
* @param {string} params.rawText - The raw text content representing the document to be parsed.
|
|
39
|
+
* @param {BarcodeDocumentFormat[]} params.acceptedFormats - The list of accepted barcode document formats to be parsed. If not provided, all supported formats will be parsed.
|
|
40
|
+
* @returns {Promise<BarcodeDocumentParserResult>} - The result of the Barcode document parsing operation.
|
|
41
|
+
*/
|
|
42
|
+
parseDocument(params: {
|
|
43
|
+
rawText: string;
|
|
44
|
+
acceptedFormats?: BarcodeDocumentFormat[];
|
|
45
|
+
}): Promise<BarcodeDocumentParserResult>;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=Barcode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Barcode.d.ts","sourceRoot":"","sources":["../../../src/Barcode.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EACL,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F;;GAEG;AACH,eAAO,MAAM,cAAc;IACzB;;;;OAIG;gCAEc,iCAAiC,GAC/C,QAAQ,cAAc,sBAAsB,CAAC,CAAC;IAGjD;;;;;OAKG;0BACyB;QAC1B,KAAK,EAAE,UAAU,CAAC;QAClB,aAAa,EAAE,2BAA2B,CAAC;KAC5C,GAAG,QAAQ,oBAAoB,CAAC;IAGjC;;;;;OAKG;wBACuB;QACxB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,2BAA2B,CAAC;KAC5C,GAAG,QAAQ,oBAAoB,CAAC;IAGjC;;;;;OAKG;0BACyB;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,CAAC,EAAE,qBAAqB,EAAE,CAAC;KAC3C,GAAG,QAAQ,2BAA2B,CAAC;CAGzC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry point for all image processing features.
|
|
3
|
+
*/
|
|
4
|
+
export declare const ScanbotImageProcessor: {
|
|
5
|
+
/**
|
|
6
|
+
* Reads image data from the given file uri and returns it as a Base 64 encoded string.
|
|
7
|
+
* @param {string} imageFileUri - File uri of the image to be read.
|
|
8
|
+
* @returns {Promise<string>} - The Base 64 encoded representation of the image.
|
|
9
|
+
*/
|
|
10
|
+
readImageData(imageFileUri: string): Promise<string>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ImageProcessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageProcessor.d.ts","sourceRoot":"","sources":["../../../src/ImageProcessor.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,qBAAqB;IAChC;;;;OAIG;gCAC+B,MAAM,GAAG,QAAQ,MAAM,CAAC;CAG3D,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { SdkConfiguration } from './types/base/SdkConfiguration';
|
|
2
|
+
import { LicenseInfo } from './types/core/licensing/LicensingTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Entry point for all features that are part of Scanbot Barcode Scanner SDK.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ScanbotBarcodeSdk: {
|
|
7
|
+
/**
|
|
8
|
+
* Used for barcode scanning features.
|
|
9
|
+
*/
|
|
10
|
+
Barcode: {
|
|
11
|
+
startScanner(configuration: import("./types").BarcodeScannerScreenConfiguration): Promise<import("./types").ResultWrapper<import("./types").BarcodeScannerUiResult>>;
|
|
12
|
+
scanFromImage(params: {
|
|
13
|
+
image: import("./types").ImageInput;
|
|
14
|
+
configuration: import("./types").BarcodeScannerConfiguration;
|
|
15
|
+
}): Promise<import("./types").BarcodeScannerResult>;
|
|
16
|
+
scanFromPdf(params: {
|
|
17
|
+
pdfFileUri: string;
|
|
18
|
+
configuration: import("./types").BarcodeScannerConfiguration;
|
|
19
|
+
}): Promise<import("./types").BarcodeScannerResult>;
|
|
20
|
+
parseDocument(params: {
|
|
21
|
+
rawText: string;
|
|
22
|
+
acceptedFormats?: import("./types").BarcodeDocumentFormat[] | undefined;
|
|
23
|
+
}): Promise<import("./types").BarcodeDocumentParserResult>;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Used for image processing features.
|
|
27
|
+
*/
|
|
28
|
+
ImageProcessor: {
|
|
29
|
+
readImageData(imageFileUri: string): Promise<string>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Mock camera preview by using static images as a frame source. This is useful for testing purposes.
|
|
33
|
+
* @param {string} params.imageFileUri - The file uri of the image to be used as a mock camera frame.
|
|
34
|
+
* @param {boolean} params.refreshOnEachFrame - If true, the mock camera will refresh the frame on each request, simulating a live camera feed. Default is false
|
|
35
|
+
* @returns {Promise<void>}
|
|
36
|
+
*/
|
|
37
|
+
mockCamera(params: {
|
|
38
|
+
imageFileUri: string;
|
|
39
|
+
refreshOnEachFrame?: boolean;
|
|
40
|
+
}): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the Scanbot SDK with the preferred configuration.
|
|
43
|
+
* @param {SdkConfiguration} configuration - The SDK configuration to be used for initialization.
|
|
44
|
+
* @returns {Promise<LicenseInfo>} - Returns complete information about the license used for initialization.
|
|
45
|
+
*/
|
|
46
|
+
initialize(configuration: SdkConfiguration): Promise<LicenseInfo>;
|
|
47
|
+
/**
|
|
48
|
+
* Provides complete information about the current license.
|
|
49
|
+
* @returns {Promise<LicenseInfo>} - Returns complete information about the current license.
|
|
50
|
+
*/
|
|
51
|
+
getLicenseInfo(): Promise<LicenseInfo>;
|
|
52
|
+
/**
|
|
53
|
+
* Cleans up the storage used by the Scanbot SDK.
|
|
54
|
+
* @returns {Promise<void>}
|
|
55
|
+
*/
|
|
56
|
+
cleanupStorage(): Promise<void>;
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=Sdk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sdk.d.ts","sourceRoot":"","sources":["../../../src/Sdk.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,iBAAiB;IAC5B;;OAEG;;;;;;;;;;;;;;;;IAEH;;OAEG;;;;IAEH;;;;;OAKG;uBACsB;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,QAAQ,IAAI,CAAC;IAG/F;;;;OAIG;8BAC6B,gBAAgB,GAAG,QAAQ,WAAW,CAAC;IAGvE;;;OAGG;sBACqB,QAAQ,WAAW,CAAC;IAG5C;;;OAGG;sBACqB,QAAQ,IAAI,CAAC;CAGtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScanbotBarcodeCameraView.d.ts","sourceRoot":"","sources":["../../../../../src/components/barcode-camera-view/ScanbotBarcodeCameraView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EACnC,MAAM,sCAAsC,CAAC;AAE9C,eAAO,MAAM,wBAAwB,2HAkKnC,CAAC"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ColorValue, ViewStyle } from 'react-native';
|
|
3
3
|
import { StyleProp } from 'react-native/Libraries/StyleSheet/StyleSheet';
|
|
4
|
-
import { BarcodeAccumulationConfiguration, BarcodeDocumentFormat, BarcodeFormatConfigurationBase, BarcodeItem, BarcodeScannerEngineMode } from '../../
|
|
5
|
-
import { CameraModule } from '../../ui_v2';
|
|
4
|
+
import { BarcodeAccumulationConfiguration, BarcodeDocumentFormat, BarcodeFormatConfigurationBase, BarcodeItem, BarcodeScannerEngineMode, CameraModule, SBError } from '../../types';
|
|
6
5
|
import { BarcodeOverlayTextFormat, CameraViewAspectRatio, CameraViewFinderInset, ZoomRange } from './ScanbotBarcodeCameraViewTypes';
|
|
7
6
|
export interface ScanbotBarcodeCameraViewProperties {
|
|
8
|
-
/** Configuration properties of the finder overlay */
|
|
7
|
+
/** Configuration properties of the finder overlay. */
|
|
9
8
|
finderConfig?: FinderConfig;
|
|
10
|
-
/** Configuration properties of the camera device */
|
|
9
|
+
/** Configuration properties of the camera device. */
|
|
11
10
|
cameraConfig?: CameraConfig;
|
|
12
11
|
/** The selection overlay configuration. */
|
|
13
12
|
selectionOverlayConfig?: SelectionOverlayConfig;
|
|
14
|
-
/** Configuration for the barcode scanner **/
|
|
13
|
+
/** Configuration for the barcode scanner. **/
|
|
15
14
|
barcodeScannerConfiguration?: BarcodeCameraViewScannerConfiguration;
|
|
16
15
|
/** Whether flash is toggled on or off. */
|
|
17
16
|
flashEnabled?: boolean;
|
|
@@ -28,6 +27,7 @@ export interface ScanbotBarcodeCameraViewProperties {
|
|
|
28
27
|
hardwareButtonsEnabled?: boolean;
|
|
29
28
|
onBarcodeScannerResult: (result: BarcodeItem[]) => void;
|
|
30
29
|
onBarcodeTap?: (result: BarcodeItem) => void;
|
|
30
|
+
onError?: (error: SBError) => void;
|
|
31
31
|
style?: StyleProp<ViewStyle>;
|
|
32
32
|
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
33
33
|
children?: React.ReactNode;
|
|
@@ -86,34 +86,39 @@ export interface BarcodeCameraViewScannerConfiguration {
|
|
|
86
86
|
barcodeFormatConfigurations?: BarcodeFormatConfigurationBase[];
|
|
87
87
|
/**
|
|
88
88
|
List of document formats to be extracted.
|
|
89
|
-
Barcodes that decode to one of the extracted document formats will have
|
|
90
|
-
By default
|
|
89
|
+
Barcodes that decode to one of the extracted document formats will have extractedDocument field in BarcodeItem populated with the parsed document.
|
|
90
|
+
By default all supported barcode document formats are accepted.
|
|
91
91
|
If empty, no barcodes will be parsed into documents.
|
|
92
|
+
To only accept the document formats listed in extractedDocumentFormats, the property onlyAcceptDocuments must be true.
|
|
92
93
|
*/
|
|
93
94
|
extractedDocumentFormats?: BarcodeDocumentFormat[];
|
|
94
95
|
/**
|
|
95
|
-
If true and
|
|
96
|
+
If true and extractedDocumentFormats is not empty, then barcodes that don't decode to one of the extracted document formats will be ignored.
|
|
97
|
+
|
|
96
98
|
Default is false
|
|
97
99
|
*/
|
|
98
100
|
onlyAcceptDocuments?: boolean;
|
|
99
101
|
/**
|
|
100
102
|
If true, the barcode image will be returned in the BarcodeItem.
|
|
103
|
+
|
|
101
104
|
Default is false
|
|
102
105
|
*/
|
|
103
106
|
returnBarcodeImage?: boolean;
|
|
104
107
|
/**
|
|
105
108
|
The engine mode for barcode scanning.
|
|
109
|
+
|
|
106
110
|
Default is NEXT_GEN
|
|
107
111
|
*/
|
|
108
112
|
engineMode?: BarcodeScannerEngineMode;
|
|
109
113
|
/**
|
|
110
|
-
|
|
114
|
+
Configuration to accumulate barcodes across multiple frames in live mode.
|
|
111
115
|
*/
|
|
112
116
|
accumulationConfig?: BarcodeAccumulationConfiguration;
|
|
113
117
|
/**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
If true, the quads of linear (1D) barcodes will be further refined to more closely match the barcode's outline in the input image.
|
|
119
|
+
This will also produce stabler barcode outlines across frames for use cases such as AR.
|
|
120
|
+
|
|
121
|
+
Default is false
|
|
117
122
|
*/
|
|
118
123
|
optimizedForOverlays?: boolean;
|
|
119
124
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScanbotBarcodeCameraViewProperties.d.ts","sourceRoot":"","sources":["../../../../../src/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EACL,gCAAgC,EAChC,qBAAqB,EACrB,8BAA8B,EAC9B,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,OAAO,EACR,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,SAAS,EACV,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,kCAAkC;IACjD,sDAAsD;IACtD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qDAAqD;IACrD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,2CAA2C;IAC3C,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD,8CAA8C;IAC9C,2BAA2B,CAAC,EAAE,qCAAqC,CAAC;IACpE,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;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ACxG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScanbotBarcodeCameraViewTypes.d.ts","sourceRoot":"","sources":["../../../../../src/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,wBAAwB;AAClC,uCAAuC;AACrC,MAAM;AACR,yCAAyC;GACvC,MAAM;AACR,8CAA8C;GAC5C,eAAe,CAAC;AAEpB,kCAAkC;AAClC,MAAM,WAAW,SAAS;IACxB,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAEhB,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0DAA0D,CAAC;AACzE,cAAc,qDAAqD,CAAC"}
|
|
@@ -13,6 +13,7 @@ export interface NativeFormatConfigurations {
|
|
|
13
13
|
minimum1DQuietZoneSize?: Double;
|
|
14
14
|
minimumTextLength?: Double;
|
|
15
15
|
maximumTextLength?: Double;
|
|
16
|
+
enableOneDBlurScanner?: boolean;
|
|
16
17
|
returnStartEnd?: boolean;
|
|
17
18
|
stripCheckDigits?: boolean;
|
|
18
19
|
checksum?: boolean;
|
|
@@ -44,6 +45,7 @@ export interface NativeFormatConfigurations {
|
|
|
44
45
|
formats?: string[];
|
|
45
46
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult?: Double;
|
|
46
47
|
minimumNumberOfRequiredFramesWithEqualRecognitionResultExtensionless?: Double;
|
|
48
|
+
oneDConfirmationMode?: string;
|
|
47
49
|
}
|
|
48
50
|
export interface NativeBarcodeAccumulationConfiguration {
|
|
49
51
|
accumulationTime?: WithDefault<Int32, 500>;
|
|
@@ -53,6 +55,10 @@ export interface NativeBarcodeAccumulationConfiguration {
|
|
|
53
55
|
interface NativeProps extends ViewProps {
|
|
54
56
|
onBarcodeScannerResult?: DirectEventHandler<Event>;
|
|
55
57
|
onSelectBarcodeResult: DirectEventHandler<Event>;
|
|
58
|
+
onError: DirectEventHandler<Readonly<{
|
|
59
|
+
message: string;
|
|
60
|
+
code: Int32;
|
|
61
|
+
}>>;
|
|
56
62
|
flashEnabled?: WithDefault<boolean, false>;
|
|
57
63
|
finderEnabled?: WithDefault<boolean, false>;
|
|
58
64
|
finderStrokeWidth?: WithDefault<Int32, 2>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScanbotBarcodeScannerViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/spec/ScanbotBarcodeScannerViewNativeComponent.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EACV,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,KAAK,EACL,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAInD,KAAK,KAAK,GAAG,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,E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BAA0B,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC/D,8BAA8B,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/C,yBAAyB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACxD,wBAAwB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACvD,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACnD,kBAAkB,CAAC,EAAE,sCAAsC,CAAC;IAC5D,0BAA0B,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;CAC1D;;AAED,wBAAgF;AAEhF,UAAU,cAAc;IACtB,YAAY,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,KAAK,IAAI,CAAC;IAC9E,cAAc,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,KAAK,IAAI,CAAC;IAChF,0BAA0B,EAAE,CAC1B,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,EACrD,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,KAClB,IAAI,CAAC;CACX;AAED,eAAO,MAAM,QAAQ,gBAEnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarcodeScannerImpl.d.ts","sourceRoot":"","sources":["../../../../src/impl/BarcodeScannerImpl.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageProcessorImpl.d.ts","sourceRoot":"","sources":["../../../../src/impl/ImageProcessorImpl.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SdkImpl.d.ts","sourceRoot":"","sources":["../../../../src/impl/SdkImpl.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/impl/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scanbotBarcodeSDKModule.d.ts","sourceRoot":"","sources":["../../../../src/impl/scanbotBarcodeSDKModule.ts"],"names":[],"mappings":""}
|
|
@@ -1,68 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ExtractImagesFromPdfArguments, LicenseInfoResult, MockCameraParams, ResultWrapper, ScanbotBarcodeSdkConfiguration } from './base';
|
|
3
|
-
import { BarcodeScannerScreenConfiguration, BarcodeScannerUiResult } from './ui_v2';
|
|
4
|
-
declare const ScanbotBarcodeSDK: {
|
|
5
|
-
/**
|
|
6
|
-
* Initialize the Scanbot Barcode Scanner SDK with the preferred configuration.
|
|
7
|
-
*
|
|
8
|
-
* @param {ScanbotBarcodeSdkConfiguration} config
|
|
9
|
-
* @returns {Promise<LicenseInfoResult>}
|
|
10
|
-
*/
|
|
11
|
-
initializeSdk: (config: ScanbotBarcodeSdkConfiguration) => Promise<LicenseInfoResult>;
|
|
12
|
-
/**
|
|
13
|
-
* Provides complete information about the current license status.
|
|
14
|
-
*
|
|
15
|
-
* @returns {Promise<LicenseInfoResult>}
|
|
16
|
-
*/
|
|
17
|
-
getLicenseInfo: () => Promise<LicenseInfoResult>;
|
|
18
|
-
/**
|
|
19
|
-
* Remove all files generated by this plugin.
|
|
20
|
-
*
|
|
21
|
-
* @returns {Promise<string>}
|
|
22
|
-
*/
|
|
23
|
-
cleanup: () => Promise<string>;
|
|
24
|
-
/**
|
|
25
|
-
* Opens the Ready-To-Use UI screen for scanning barcodes with the desired configuration.
|
|
26
|
-
*
|
|
27
|
-
* @param {BarcodeScannerScreenConfiguration} config
|
|
28
|
-
* @returns {Promise<ResultWrapper<BarcodeScannerUiResult>>}
|
|
29
|
-
*/
|
|
30
|
-
startBarcodeScanner: (config: BarcodeScannerScreenConfiguration) => Promise<ResultWrapper<BarcodeScannerUiResult>>;
|
|
31
|
-
/**
|
|
32
|
-
* Detect barcodes on the image represented by the file URL. The image file URL is part of the input parameters.
|
|
33
|
-
*
|
|
34
|
-
* @param {{imageFileUri: string, configuration: BarcodeScannerConfiguration}} params
|
|
35
|
-
* @returns {Promise<BarcodeScannerResult>}
|
|
36
|
-
*/
|
|
37
|
-
detectBarcodesOnImage: (params: {
|
|
38
|
-
imageFileUri: string;
|
|
39
|
-
configuration: BarcodeScannerConfiguration;
|
|
40
|
-
}) => Promise<BarcodeScannerResult>;
|
|
41
|
-
/**
|
|
42
|
-
* Extract images from a PDF represented by the file URL. The PDF file URL is part of the input parameters.
|
|
43
|
-
*
|
|
44
|
-
* @param {ExtractImagesFromPdfArguments} params
|
|
45
|
-
* @returns {Promise<string[]>}
|
|
46
|
-
*/
|
|
47
|
-
extractImagesFromPDF: (params: ExtractImagesFromPdfArguments) => Promise<string[]>;
|
|
48
|
-
/**
|
|
49
|
-
* Returns the Base 64 encoded representation of the image data.
|
|
50
|
-
*
|
|
51
|
-
* @returns {Promise<string>}
|
|
52
|
-
*/
|
|
53
|
-
getImageData(imageUri: string): Promise<string>;
|
|
54
|
-
/**
|
|
55
|
-
* Mock camera preview by using static images as a frame source.
|
|
56
|
-
* This is useful for testing purposes.
|
|
57
|
-
*/
|
|
58
|
-
mockCamera(params: MockCameraParams): Promise<void>;
|
|
59
|
-
};
|
|
1
|
+
import { ScanbotBarcodeSdk as ScanbotBarcodeSDK } from './Sdk';
|
|
60
2
|
export default ScanbotBarcodeSDK;
|
|
61
|
-
export * from './
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './
|
|
64
|
-
export * from './
|
|
65
|
-
export * from './imageRef';
|
|
66
|
-
export * from './ui_v2';
|
|
67
|
-
export * from './utils';
|
|
3
|
+
export * from './Barcode';
|
|
4
|
+
export * from './ImageProcessor';
|
|
5
|
+
export * from './components';
|
|
6
|
+
export * from './types';
|
|
68
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/D,eAAe,iBAAiB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|