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,12 +1,7 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/barcode/SingleScanningModeUseCase.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
ArOverlayGeneralConfiguration,
|
|
6
|
-
ArOverlayPolygonConfiguration,
|
|
7
|
-
BarcodeItemConfiguration,
|
|
8
|
-
} from '../../ui_v2/barcode/ArTrackingOverlayConfiguration';
|
|
9
|
-
import { BarcodeInfoMapping, BarcodeItemErrorState } from '../../ui_v2/barcode/BarcodeInfoMapping';
|
|
4
|
+
import { DeepPartial } from '../../utils/utils';
|
|
10
5
|
import {
|
|
11
6
|
BackgroundStyle,
|
|
12
7
|
BadgeStyle,
|
|
@@ -14,13 +9,18 @@ import {
|
|
|
14
9
|
ForegroundStyle,
|
|
15
10
|
PolygonStyle,
|
|
16
11
|
StyledText,
|
|
17
|
-
} from '
|
|
18
|
-
import {
|
|
12
|
+
} from '../common/Common';
|
|
13
|
+
import {
|
|
14
|
+
ArOverlayGeneralConfiguration,
|
|
15
|
+
ArOverlayPolygonConfiguration,
|
|
16
|
+
BarcodeItemConfiguration,
|
|
17
|
+
} from './ArTrackingOverlayConfiguration';
|
|
18
|
+
import { BarcodeInfoMapping, BarcodeItemErrorState } from './BarcodeInfoMapping';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
Configuration of the single barcode scanning mode.
|
|
22
22
|
*/
|
|
23
|
-
export class SingleScanningMode
|
|
23
|
+
export class SingleScanningMode {
|
|
24
24
|
public readonly _type: 'SingleScanningMode' = 'SingleScanningMode';
|
|
25
25
|
/**
|
|
26
26
|
If enabled, the confirmation sheet will be shown after the barcode has been scanned.
|
|
@@ -195,7 +195,6 @@ export class SingleScanningMode extends PartiallyConstructible {
|
|
|
195
195
|
|
|
196
196
|
/** @param source {@displayType `DeepPartial<SingleScanningMode>`} */
|
|
197
197
|
public constructor(source: DeepPartial<SingleScanningMode> = {}) {
|
|
198
|
-
super();
|
|
199
198
|
if (source.confirmationSheetEnabled !== undefined) {
|
|
200
199
|
this.confirmationSheetEnabled = source.confirmationSheetEnabled;
|
|
201
200
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/ActionBarConfiguration.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { DeepPartial } from '../../utils/utils';
|
|
5
|
+
import { RoundButton } from './Common';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
Configuration of the buttons available in the action bar.
|
|
9
9
|
*/
|
|
10
|
-
export class ActionBarConfiguration
|
|
10
|
+
export class ActionBarConfiguration {
|
|
11
11
|
/**
|
|
12
12
|
Configuration of the 'flash' button.
|
|
13
13
|
*/
|
|
@@ -44,7 +44,6 @@ export class ActionBarConfiguration extends PartiallyConstructible {
|
|
|
44
44
|
|
|
45
45
|
/** @param source {@displayType `DeepPartial<ActionBarConfiguration>`} */
|
|
46
46
|
public constructor(source: DeepPartial<ActionBarConfiguration> = {}) {
|
|
47
|
-
super();
|
|
48
47
|
if (source.flashButton !== undefined) {
|
|
49
48
|
this.flashButton = new RoundButton(source.flashButton);
|
|
50
49
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
|
+
/// Generated from rtu-ui-v2/schemas/common/BottomBarConfiguration.yaml
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
The visual mode used for the bottom bar.
|
|
6
|
+
|
|
7
|
+
- `SOLID`:
|
|
8
|
+
Display the bottom bar with a background color or with transparency.
|
|
9
|
+
- `GRADIENT`:
|
|
10
|
+
Display the bottom bar with a gradient background color or a gradient with transparency. The buttons will still be visible.
|
|
11
|
+
- `HIDDEN`:
|
|
12
|
+
Hide the bottom bar completely.
|
|
13
|
+
*/
|
|
14
|
+
export type BottomBarMode =
|
|
15
|
+
/**
|
|
16
|
+
Display the bottom bar with a background color or with transparency.
|
|
17
|
+
*/
|
|
18
|
+
| 'SOLID'
|
|
19
|
+
/**
|
|
20
|
+
Display the bottom bar with a gradient background color or a gradient with transparency. The buttons will still be visible.
|
|
21
|
+
*/
|
|
22
|
+
| 'GRADIENT'
|
|
23
|
+
/**
|
|
24
|
+
Hide the bottom bar completely.
|
|
25
|
+
*/
|
|
26
|
+
| 'HIDDEN';
|
|
27
|
+
|
|
28
|
+
/** @hidden */
|
|
29
|
+
export const BottomBarModeValues: ReadonlyArray<BottomBarMode> = [
|
|
30
|
+
'SOLID',
|
|
31
|
+
'GRADIENT',
|
|
32
|
+
'HIDDEN',
|
|
33
|
+
] as const;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/CameraConfiguration.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import { DeepPartial
|
|
4
|
+
import { CameraLiveScannerResolution } from '../../camera/Camera';
|
|
5
|
+
import { DeepPartial } from '../../utils/utils';
|
|
6
|
+
import { CameraPreviewMode, OrientationLockMode } from './Common';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
Determines which camera module to use on start-up.
|
|
@@ -14,14 +15,31 @@ Determines which camera module to use on start-up.
|
|
|
14
15
|
- `BACK_WIDEST`:
|
|
15
16
|
Use the back camera with the widest available angle. iOS only.
|
|
16
17
|
*/
|
|
17
|
-
export type CameraModule =
|
|
18
|
+
export type CameraModule =
|
|
19
|
+
/**
|
|
20
|
+
Use the front camera.
|
|
21
|
+
*/
|
|
22
|
+
| 'FRONT'
|
|
23
|
+
/**
|
|
24
|
+
Use the default back camera.
|
|
25
|
+
*/
|
|
26
|
+
| 'BACK'
|
|
27
|
+
/**
|
|
28
|
+
Use the back camera with the widest available angle. iOS only.
|
|
29
|
+
*/
|
|
30
|
+
| 'BACK_WIDEST';
|
|
18
31
|
|
|
19
|
-
|
|
32
|
+
/** @hidden */
|
|
33
|
+
export const CameraModuleValues: ReadonlyArray<CameraModule> = [
|
|
34
|
+
'FRONT',
|
|
35
|
+
'BACK',
|
|
36
|
+
'BACK_WIDEST',
|
|
37
|
+
] as const;
|
|
20
38
|
|
|
21
39
|
/**
|
|
22
40
|
Configuration of the camera settings to be used while scanning.
|
|
23
41
|
*/
|
|
24
|
-
export class CameraConfiguration
|
|
42
|
+
export class CameraConfiguration {
|
|
25
43
|
/**
|
|
26
44
|
Determines which camera module to use on start-up.
|
|
27
45
|
|
|
@@ -86,15 +104,20 @@ export class CameraConfiguration extends PartiallyConstructible {
|
|
|
86
104
|
Default is 20
|
|
87
105
|
*/
|
|
88
106
|
public fpsLimit: number = 20;
|
|
107
|
+
/**
|
|
108
|
+
The size of the image from camera which would be sent to the scanner for live scanning.
|
|
109
|
+
|
|
110
|
+
Default is FULL_HD
|
|
111
|
+
*/
|
|
112
|
+
public cameraLiveScannerResolution: CameraLiveScannerResolution = 'FULL_HD';
|
|
89
113
|
|
|
90
114
|
/** @param source {@displayType `DeepPartial<CameraConfiguration>`} */
|
|
91
115
|
public constructor(source: DeepPartial<CameraConfiguration> = {}) {
|
|
92
|
-
super();
|
|
93
116
|
if (source.cameraModule !== undefined) {
|
|
94
117
|
this.cameraModule = source.cameraModule;
|
|
95
118
|
}
|
|
96
119
|
if (source.zoomSteps !== undefined) {
|
|
97
|
-
this.zoomSteps = source.zoomSteps.map((it:
|
|
120
|
+
this.zoomSteps = source.zoomSteps.map((it: DeepPartial<number>) => {
|
|
98
121
|
return it;
|
|
99
122
|
});
|
|
100
123
|
}
|
|
@@ -125,5 +148,8 @@ export class CameraConfiguration extends PartiallyConstructible {
|
|
|
125
148
|
if (source.fpsLimit !== undefined) {
|
|
126
149
|
this.fpsLimit = source.fpsLimit;
|
|
127
150
|
}
|
|
151
|
+
if (source.cameraLiveScannerResolution !== undefined) {
|
|
152
|
+
this.cameraLiveScannerResolution = source.cameraLiveScannerResolution;
|
|
153
|
+
}
|
|
128
154
|
}
|
|
129
155
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/CameraPermission.yaml
|
|
3
3
|
|
|
4
|
+
import { DeepPartial } from '../../utils/utils';
|
|
4
5
|
import {
|
|
5
6
|
BackgroundStyle,
|
|
6
7
|
ButtonConfiguration,
|
|
7
8
|
ForegroundStyle,
|
|
8
9
|
IconStyle,
|
|
9
10
|
StyledText,
|
|
10
|
-
} from '
|
|
11
|
-
import { StatusBarMode } from '
|
|
12
|
-
import { DeepPartial, PartiallyConstructible } from '../../utils/utils';
|
|
11
|
+
} from './Common';
|
|
12
|
+
import { StatusBarMode } from './TopBarConfiguration';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
Configuration of the camera permission request view.
|
|
16
16
|
*/
|
|
17
|
-
export class CameraPermissionScreen
|
|
17
|
+
export class CameraPermissionScreen {
|
|
18
18
|
/**
|
|
19
19
|
Determines the visual mode for displaying the contents of the status bar.
|
|
20
20
|
|
|
@@ -78,7 +78,6 @@ export class CameraPermissionScreen extends PartiallyConstructible {
|
|
|
78
78
|
|
|
79
79
|
/** @param source {@displayType `DeepPartial<CameraPermissionScreen>`} */
|
|
80
80
|
public constructor(source: DeepPartial<CameraPermissionScreen> = {}) {
|
|
81
|
-
super();
|
|
82
81
|
if (source.statusBarMode !== undefined) {
|
|
83
82
|
this.statusBarMode = source.statusBarMode;
|
|
84
83
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/Common.yaml
|
|
3
3
|
|
|
4
|
-
import { DeepPartial
|
|
4
|
+
import { DeepPartial } from '../../utils/utils';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
Value palette describing the colors of the scanner screens.
|
|
8
8
|
*/
|
|
9
|
-
export class Palette
|
|
9
|
+
export class Palette {
|
|
10
10
|
/**
|
|
11
11
|
The primary color used for enabled elements.
|
|
12
12
|
|
|
@@ -106,7 +106,6 @@ export class Palette extends PartiallyConstructible {
|
|
|
106
106
|
|
|
107
107
|
/** @param source {@displayType `DeepPartial<Palette>`} */
|
|
108
108
|
public constructor(source: DeepPartial<Palette> = {}) {
|
|
109
|
-
super();
|
|
110
109
|
if (source.sbColorPrimary !== undefined) {
|
|
111
110
|
this.sbColorPrimary = source.sbColorPrimary;
|
|
112
111
|
}
|
|
@@ -161,7 +160,7 @@ export class Palette extends PartiallyConstructible {
|
|
|
161
160
|
/**
|
|
162
161
|
Configuration of the text field appearance.
|
|
163
162
|
*/
|
|
164
|
-
export class StyledText
|
|
163
|
+
export class StyledText {
|
|
165
164
|
/**
|
|
166
165
|
Determines whether the text field is visible or not.
|
|
167
166
|
|
|
@@ -189,7 +188,6 @@ export class StyledText extends PartiallyConstructible {
|
|
|
189
188
|
|
|
190
189
|
/** @param source {@displayType `DeepPartial<StyledText>`} */
|
|
191
190
|
public constructor(source: DeepPartial<StyledText> = {}) {
|
|
192
|
-
super();
|
|
193
191
|
if (source.visible !== undefined) {
|
|
194
192
|
this.visible = source.visible;
|
|
195
193
|
}
|
|
@@ -208,7 +206,7 @@ export class StyledText extends PartiallyConstructible {
|
|
|
208
206
|
/**
|
|
209
207
|
Configuration of the icon appearance.
|
|
210
208
|
*/
|
|
211
|
-
export class IconStyle
|
|
209
|
+
export class IconStyle {
|
|
212
210
|
/**
|
|
213
211
|
Determines whether the icon is visible or not.
|
|
214
212
|
|
|
@@ -224,7 +222,6 @@ export class IconStyle extends PartiallyConstructible {
|
|
|
224
222
|
|
|
225
223
|
/** @param source {@displayType `DeepPartial<IconStyle>`} */
|
|
226
224
|
public constructor(source: DeepPartial<IconStyle> = {}) {
|
|
227
|
-
super();
|
|
228
225
|
if (source.visible !== undefined) {
|
|
229
226
|
this.visible = source.visible;
|
|
230
227
|
}
|
|
@@ -237,7 +234,7 @@ export class IconStyle extends PartiallyConstructible {
|
|
|
237
234
|
/**
|
|
238
235
|
Configuration of the icon appearance on a button.
|
|
239
236
|
*/
|
|
240
|
-
export class IconButton
|
|
237
|
+
export class IconButton {
|
|
241
238
|
/**
|
|
242
239
|
Determines whether the icon is visible on the button.
|
|
243
240
|
|
|
@@ -259,7 +256,6 @@ export class IconButton extends PartiallyConstructible {
|
|
|
259
256
|
|
|
260
257
|
/** @param source {@displayType `DeepPartial<IconButton>`} */
|
|
261
258
|
public constructor(source: DeepPartial<IconButton> = {}) {
|
|
262
|
-
super();
|
|
263
259
|
if (source.visible !== undefined) {
|
|
264
260
|
this.visible = source.visible;
|
|
265
261
|
}
|
|
@@ -275,7 +271,7 @@ export class IconButton extends PartiallyConstructible {
|
|
|
275
271
|
/**
|
|
276
272
|
Configuration of the polygon appearance.
|
|
277
273
|
*/
|
|
278
|
-
export class PolygonStyle
|
|
274
|
+
export class PolygonStyle {
|
|
279
275
|
/**
|
|
280
276
|
The color of the polygon outline.
|
|
281
277
|
|
|
@@ -303,7 +299,6 @@ export class PolygonStyle extends PartiallyConstructible {
|
|
|
303
299
|
|
|
304
300
|
/** @param source {@displayType `DeepPartial<PolygonStyle>`} */
|
|
305
301
|
public constructor(source: DeepPartial<PolygonStyle> = {}) {
|
|
306
|
-
super();
|
|
307
302
|
if (source.strokeColor !== undefined) {
|
|
308
303
|
this.strokeColor = source.strokeColor;
|
|
309
304
|
}
|
|
@@ -322,7 +317,7 @@ export class PolygonStyle extends PartiallyConstructible {
|
|
|
322
317
|
/**
|
|
323
318
|
Configuration of the background appearance for buttons and hints.
|
|
324
319
|
*/
|
|
325
|
-
export class BackgroundStyle
|
|
320
|
+
export class BackgroundStyle {
|
|
326
321
|
/**
|
|
327
322
|
The color of the outline.
|
|
328
323
|
|
|
@@ -344,7 +339,6 @@ export class BackgroundStyle extends PartiallyConstructible {
|
|
|
344
339
|
|
|
345
340
|
/** @param source {@displayType `DeepPartial<BackgroundStyle>`} */
|
|
346
341
|
public constructor(source: DeepPartial<BackgroundStyle> = {}) {
|
|
347
|
-
super();
|
|
348
342
|
if (source.strokeColor !== undefined) {
|
|
349
343
|
this.strokeColor = source.strokeColor;
|
|
350
344
|
}
|
|
@@ -360,7 +354,7 @@ export class BackgroundStyle extends PartiallyConstructible {
|
|
|
360
354
|
/**
|
|
361
355
|
Configuration of the appearance for foreground elements (e.g. text and/or icons, etc).
|
|
362
356
|
*/
|
|
363
|
-
export class ForegroundStyle
|
|
357
|
+
export class ForegroundStyle {
|
|
364
358
|
/**
|
|
365
359
|
Determines whether the icon is visible or not.
|
|
366
360
|
|
|
@@ -382,7 +376,6 @@ export class ForegroundStyle extends PartiallyConstructible {
|
|
|
382
376
|
|
|
383
377
|
/** @param source {@displayType `DeepPartial<ForegroundStyle>`} */
|
|
384
378
|
public constructor(source: DeepPartial<ForegroundStyle> = {}) {
|
|
385
|
-
super();
|
|
386
379
|
if (source.iconVisible !== undefined) {
|
|
387
380
|
this.iconVisible = source.iconVisible;
|
|
388
381
|
}
|
|
@@ -398,7 +391,7 @@ export class ForegroundStyle extends PartiallyConstructible {
|
|
|
398
391
|
/**
|
|
399
392
|
Configuration of the badge.
|
|
400
393
|
*/
|
|
401
|
-
export class BadgeStyle
|
|
394
|
+
export class BadgeStyle {
|
|
402
395
|
/**
|
|
403
396
|
Determines whether the badge is visible or not.
|
|
404
397
|
|
|
@@ -418,7 +411,6 @@ export class BadgeStyle extends PartiallyConstructible {
|
|
|
418
411
|
|
|
419
412
|
/** @param source {@displayType `DeepPartial<BadgeStyle>`} */
|
|
420
413
|
public constructor(source: DeepPartial<BadgeStyle> = {}) {
|
|
421
|
-
super();
|
|
422
414
|
if (source.visible !== undefined) {
|
|
423
415
|
this.visible = source.visible;
|
|
424
416
|
}
|
|
@@ -434,7 +426,7 @@ export class BadgeStyle extends PartiallyConstructible {
|
|
|
434
426
|
/**
|
|
435
427
|
Configuration of the round button.
|
|
436
428
|
*/
|
|
437
|
-
export class RoundButton
|
|
429
|
+
export class RoundButton {
|
|
438
430
|
/**
|
|
439
431
|
Determines whether the button is visible or not.
|
|
440
432
|
|
|
@@ -474,7 +466,6 @@ export class RoundButton extends PartiallyConstructible {
|
|
|
474
466
|
|
|
475
467
|
/** @param source {@displayType `DeepPartial<RoundButton>`} */
|
|
476
468
|
public constructor(source: DeepPartial<RoundButton> = {}) {
|
|
477
|
-
super();
|
|
478
469
|
if (source.visible !== undefined) {
|
|
479
470
|
this.visible = source.visible;
|
|
480
471
|
}
|
|
@@ -499,7 +490,7 @@ export class RoundButton extends PartiallyConstructible {
|
|
|
499
490
|
/**
|
|
500
491
|
Configuration of the button with a badge.
|
|
501
492
|
*/
|
|
502
|
-
export class BadgedButton
|
|
493
|
+
export class BadgedButton {
|
|
503
494
|
/**
|
|
504
495
|
The color of the badge's background.
|
|
505
496
|
|
|
@@ -545,7 +536,6 @@ export class BadgedButton extends PartiallyConstructible {
|
|
|
545
536
|
|
|
546
537
|
/** @param source {@displayType `DeepPartial<BadgedButton>`} */
|
|
547
538
|
public constructor(source: DeepPartial<BadgedButton> = {}) {
|
|
548
|
-
super();
|
|
549
539
|
if (source.badgeBackgroundColor !== undefined) {
|
|
550
540
|
this.badgeBackgroundColor = source.badgeBackgroundColor;
|
|
551
541
|
}
|
|
@@ -573,7 +563,7 @@ export class BadgedButton extends PartiallyConstructible {
|
|
|
573
563
|
/**
|
|
574
564
|
Configuration of the button.
|
|
575
565
|
*/
|
|
576
|
-
export class ButtonConfiguration
|
|
566
|
+
export class ButtonConfiguration {
|
|
577
567
|
/**
|
|
578
568
|
Determines whether the button is visible or not.
|
|
579
569
|
|
|
@@ -603,7 +593,6 @@ export class ButtonConfiguration extends PartiallyConstructible {
|
|
|
603
593
|
|
|
604
594
|
/** @param source {@displayType `DeepPartial<ButtonConfiguration>`} */
|
|
605
595
|
public constructor(source: DeepPartial<ButtonConfiguration> = {}) {
|
|
606
|
-
super();
|
|
607
596
|
if (source.visible !== undefined) {
|
|
608
597
|
this.visible = source.visible;
|
|
609
598
|
}
|
|
@@ -625,7 +614,7 @@ export class ButtonConfiguration extends PartiallyConstructible {
|
|
|
625
614
|
/**
|
|
626
615
|
Configuration for the popup menu items.
|
|
627
616
|
*/
|
|
628
|
-
export class PopupMenuItem
|
|
617
|
+
export class PopupMenuItem {
|
|
629
618
|
/**
|
|
630
619
|
The text to be displayed on the button.
|
|
631
620
|
*/
|
|
@@ -643,7 +632,6 @@ export class PopupMenuItem extends PartiallyConstructible {
|
|
|
643
632
|
|
|
644
633
|
/** @param source {@displayType `DeepPartial<PopupMenuItem>`} */
|
|
645
634
|
public constructor(source: DeepPartial<PopupMenuItem> = {}) {
|
|
646
|
-
super();
|
|
647
635
|
if (source.title !== undefined) {
|
|
648
636
|
this.title = new StyledText(source.title);
|
|
649
637
|
}
|
|
@@ -659,7 +647,7 @@ export class PopupMenuItem extends PartiallyConstructible {
|
|
|
659
647
|
/**
|
|
660
648
|
Configuration of the button located on a bar.
|
|
661
649
|
*/
|
|
662
|
-
export class BarButtonConfiguration
|
|
650
|
+
export class BarButtonConfiguration {
|
|
663
651
|
/**
|
|
664
652
|
Determines whether the button is visible or not.
|
|
665
653
|
|
|
@@ -687,7 +675,6 @@ export class BarButtonConfiguration extends PartiallyConstructible {
|
|
|
687
675
|
|
|
688
676
|
/** @param source {@displayType `DeepPartial<BarButtonConfiguration>`} */
|
|
689
677
|
public constructor(source: DeepPartial<BarButtonConfiguration> = {}) {
|
|
690
|
-
super();
|
|
691
678
|
if (source.visible !== undefined) {
|
|
692
679
|
this.visible = source.visible;
|
|
693
680
|
}
|
|
@@ -716,9 +703,26 @@ Configure the orientation of the interface.
|
|
|
716
703
|
- `LANDSCAPE`:
|
|
717
704
|
Lock the orientation to landscape.
|
|
718
705
|
*/
|
|
719
|
-
export type OrientationLockMode =
|
|
706
|
+
export type OrientationLockMode =
|
|
707
|
+
/**
|
|
708
|
+
Do not restrict the interface's orientation.
|
|
709
|
+
*/
|
|
710
|
+
| 'NONE'
|
|
711
|
+
/**
|
|
712
|
+
Lock the orientation to portrait.
|
|
713
|
+
*/
|
|
714
|
+
| 'PORTRAIT'
|
|
715
|
+
/**
|
|
716
|
+
Lock the orientation to landscape.
|
|
717
|
+
*/
|
|
718
|
+
| 'LANDSCAPE';
|
|
720
719
|
|
|
721
|
-
|
|
720
|
+
/** @hidden */
|
|
721
|
+
export const OrientationLockModeValues: ReadonlyArray<OrientationLockMode> = [
|
|
722
|
+
'NONE',
|
|
723
|
+
'PORTRAIT',
|
|
724
|
+
'LANDSCAPE',
|
|
725
|
+
] as const;
|
|
722
726
|
|
|
723
727
|
/**
|
|
724
728
|
Configuration of the camera preview mode.
|
|
@@ -728,9 +732,21 @@ Configuration of the camera preview mode.
|
|
|
728
732
|
- `FILL_IN`:
|
|
729
733
|
In this mode, the camera preview frames fill the entire layout view - the preview frames may contain additional content at the edges that are not visible in the preview layout.
|
|
730
734
|
*/
|
|
731
|
-
export type CameraPreviewMode =
|
|
735
|
+
export type CameraPreviewMode =
|
|
736
|
+
/**
|
|
737
|
+
In this mode, the camera preview frames will be scaled to fit inside the layout view size - the full preview frame content will be visible, but unused edges might appear in the preview layout.
|
|
738
|
+
*/
|
|
739
|
+
| 'FIT_IN'
|
|
740
|
+
/**
|
|
741
|
+
In this mode, the camera preview frames fill the entire layout view - the preview frames may contain additional content at the edges that are not visible in the preview layout.
|
|
742
|
+
*/
|
|
743
|
+
| 'FILL_IN';
|
|
732
744
|
|
|
733
|
-
|
|
745
|
+
/** @hidden */
|
|
746
|
+
export const CameraPreviewModeValues: ReadonlyArray<CameraPreviewMode> = [
|
|
747
|
+
'FIT_IN',
|
|
748
|
+
'FILL_IN',
|
|
749
|
+
] as const;
|
|
734
750
|
|
|
735
751
|
/**
|
|
736
752
|
Determines the successful detection sound.
|
|
@@ -740,14 +756,23 @@ Determines the successful detection sound.
|
|
|
740
756
|
- `CLASSIC_BEEP`:
|
|
741
757
|
The old, classic beep sound.
|
|
742
758
|
*/
|
|
743
|
-
export type SoundType =
|
|
759
|
+
export type SoundType =
|
|
760
|
+
/**
|
|
761
|
+
A modern beep sound.
|
|
762
|
+
*/
|
|
763
|
+
| 'MODERN_BEEP'
|
|
764
|
+
/**
|
|
765
|
+
The old, classic beep sound.
|
|
766
|
+
*/
|
|
767
|
+
| 'CLASSIC_BEEP';
|
|
744
768
|
|
|
745
|
-
|
|
769
|
+
/** @hidden */
|
|
770
|
+
export const SoundTypeValues: ReadonlyArray<SoundType> = ['MODERN_BEEP', 'CLASSIC_BEEP'] as const;
|
|
746
771
|
|
|
747
772
|
/**
|
|
748
773
|
Configuration for the sound.
|
|
749
774
|
*/
|
|
750
|
-
export class Sound
|
|
775
|
+
export class Sound {
|
|
751
776
|
/**
|
|
752
777
|
Determine whether the beep sound should be enabled or not when a barcode is detected.
|
|
753
778
|
|
|
@@ -763,7 +788,6 @@ export class Sound extends PartiallyConstructible {
|
|
|
763
788
|
|
|
764
789
|
/** @param source {@displayType `DeepPartial<Sound>`} */
|
|
765
790
|
public constructor(source: DeepPartial<Sound> = {}) {
|
|
766
|
-
super();
|
|
767
791
|
if (source.successBeepEnabled !== undefined) {
|
|
768
792
|
this.successBeepEnabled = source.successBeepEnabled;
|
|
769
793
|
}
|
|
@@ -776,7 +800,7 @@ export class Sound extends PartiallyConstructible {
|
|
|
776
800
|
/**
|
|
777
801
|
Configure the vibration.
|
|
778
802
|
*/
|
|
779
|
-
export class Vibration
|
|
803
|
+
export class Vibration {
|
|
780
804
|
/**
|
|
781
805
|
Determine whether vibration should be enabled or not when a barcode is detected.
|
|
782
806
|
|
|
@@ -786,7 +810,6 @@ export class Vibration extends PartiallyConstructible {
|
|
|
786
810
|
|
|
787
811
|
/** @param source {@displayType `DeepPartial<Vibration>`} */
|
|
788
812
|
public constructor(source: DeepPartial<Vibration> = {}) {
|
|
789
|
-
super();
|
|
790
813
|
if (source.enabled !== undefined) {
|
|
791
814
|
this.enabled = source.enabled;
|
|
792
815
|
}
|
|
@@ -796,7 +819,7 @@ export class Vibration extends PartiallyConstructible {
|
|
|
796
819
|
/**
|
|
797
820
|
Configuration of timeouts.
|
|
798
821
|
*/
|
|
799
|
-
export class Timeouts
|
|
822
|
+
export class Timeouts {
|
|
800
823
|
/**
|
|
801
824
|
Sets the length of time, in milliseconds, when the scanner should auto close. Default is 0 (disabled).
|
|
802
825
|
|
|
@@ -812,7 +835,6 @@ export class Timeouts extends PartiallyConstructible {
|
|
|
812
835
|
|
|
813
836
|
/** @param source {@displayType `DeepPartial<Timeouts>`} */
|
|
814
837
|
public constructor(source: DeepPartial<Timeouts> = {}) {
|
|
815
|
-
super();
|
|
816
838
|
if (source.autoCancelTimeout !== undefined) {
|
|
817
839
|
this.autoCancelTimeout = source.autoCancelTimeout;
|
|
818
840
|
}
|
|
@@ -825,7 +847,7 @@ export class Timeouts extends PartiallyConstructible {
|
|
|
825
847
|
/**
|
|
826
848
|
Represents the insets of a rectangle.
|
|
827
849
|
*/
|
|
828
|
-
export class EdgeInsets
|
|
850
|
+
export class EdgeInsets {
|
|
829
851
|
/**
|
|
830
852
|
The top inset.
|
|
831
853
|
|
|
@@ -853,7 +875,6 @@ export class EdgeInsets extends PartiallyConstructible {
|
|
|
853
875
|
|
|
854
876
|
/** @param source {@displayType `DeepPartial<EdgeInsets>`} */
|
|
855
877
|
public constructor(source: DeepPartial<EdgeInsets> = {}) {
|
|
856
|
-
super();
|
|
857
878
|
if (source.top !== undefined) {
|
|
858
879
|
this.top = source.top;
|
|
859
880
|
}
|
|
@@ -11,6 +11,23 @@ The visual mode used for the navigation bar icons. Android only.
|
|
|
11
11
|
- `HIDDEN`:
|
|
12
12
|
Hide the navigation bar.
|
|
13
13
|
*/
|
|
14
|
-
export type NavigationBarMode =
|
|
14
|
+
export type NavigationBarMode =
|
|
15
|
+
/**
|
|
16
|
+
Display all icons in the navigation bar in black.
|
|
17
|
+
*/
|
|
18
|
+
| 'DARK'
|
|
19
|
+
/**
|
|
20
|
+
Display all icons in the navigation bar in white.
|
|
21
|
+
*/
|
|
22
|
+
| 'LIGHT'
|
|
23
|
+
/**
|
|
24
|
+
Hide the navigation bar.
|
|
25
|
+
*/
|
|
26
|
+
| 'HIDDEN';
|
|
15
27
|
|
|
16
|
-
|
|
28
|
+
/** @hidden */
|
|
29
|
+
export const NavigationBarModeValues: ReadonlyArray<NavigationBarMode> = [
|
|
30
|
+
'DARK',
|
|
31
|
+
'LIGHT',
|
|
32
|
+
'HIDDEN',
|
|
33
|
+
] as const;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/ScanCompletionOverlay.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { DeepPartial } from '../../utils/utils';
|
|
5
|
+
import { StyledText } from './Common';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
Configuration of the overlay to be shown after the successful scan.
|
|
9
9
|
*/
|
|
10
|
-
export class ScanCompletionOverlay
|
|
10
|
+
export class ScanCompletionOverlay {
|
|
11
11
|
/**
|
|
12
12
|
A caption below the icon.
|
|
13
13
|
*/
|
|
@@ -36,7 +36,6 @@ export class ScanCompletionOverlay extends PartiallyConstructible {
|
|
|
36
36
|
|
|
37
37
|
/** @param source {@displayType `DeepPartial<ScanCompletionOverlay>`} */
|
|
38
38
|
public constructor(source: DeepPartial<ScanCompletionOverlay> = {}) {
|
|
39
|
-
super();
|
|
40
39
|
if (source.message !== undefined) {
|
|
41
40
|
this.message = new StyledText(source.message);
|
|
42
41
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from rtu-ui-v2/schemas/common/ScanbotAlertDialog.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { DeepPartial } from '../../utils/utils';
|
|
5
|
+
import { BackgroundStyle, ButtonConfiguration, StyledText } from './Common';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
Configuration of the standard alert dialog.
|
|
9
9
|
*/
|
|
10
|
-
export class ScanbotAlertDialog
|
|
10
|
+
export class ScanbotAlertDialog {
|
|
11
11
|
/**
|
|
12
12
|
The title displayed above the message.
|
|
13
13
|
*/
|
|
@@ -68,7 +68,6 @@ export class ScanbotAlertDialog extends PartiallyConstructible {
|
|
|
68
68
|
|
|
69
69
|
/** @param source {@displayType `DeepPartial<ScanbotAlertDialog>`} */
|
|
70
70
|
public constructor(source: DeepPartial<ScanbotAlertDialog> = {}) {
|
|
71
|
-
super();
|
|
72
71
|
if (source.title !== undefined) {
|
|
73
72
|
this.title = new StyledText(source.title);
|
|
74
73
|
}
|