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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ToJsonConfiguration","ImageRef","CommonFieldTypeValues","OcrResult","constructor","source","text","undefined","Error","confidence","serialize","config","FieldValidationStatusValues","FieldDataFormatValues","FieldParsedData","type","value","FieldType","listIndex","name","fullName","normalizedName","commonType","includes","Field","confidenceWeight","image","validationStatus","parsedData","from","polygonInRoot","map","it","x","y","serializeImages","imageSerializationMode","_released","release","encodeImages","encodeInPlace","GenericDocumentType","GenericDocument","crop","fields","children","quad","quadInRoot","Promise","all","forEach"],"sourceRoot":"../../../../../src","sources":["types/core/generic_document/GenericDocument.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AACtE,SAASC,QAAQ,QAAQ,gBAAgB;AAGzC,SAA0BC,qBAAqB,QAAQ,mBAAmB;;AAE1E;AACA;AACA;AACA,OAAO,MAAMC,SAAS,CAAC;EACrB;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOC,WAAWA,CAACC,MAA8B,GAAG,CAAC,CAAC,EAAE;IACtD,IAAIA,MAAM,CAACC,IAAI,KAAKC,SAAS,EAAE;MAC7B,IAAI,CAACD,IAAI,GAAGD,MAAM,CAACC,IAAI;IACzB,CAAC,MAAM;MACL,MAAM,IAAIE,KAAK,CAAC,8CAA8C,CAAC;IACjE;IACA,IAAIH,MAAM,CAACI,UAAU,KAAKF,SAAS,EAAE;MACnC,IAAI,CAACE,UAAU,GAAGJ,MAAM,CAACI,UAAU;IACrC,CAAC,MAAM;MACL,MAAM,IAAID,KAAK,CAAC,oDAAoD,CAAC;IACvE;EACF;EAEOE,SAASA,CACdC,MAA2B,GAAG,IAAIX,mBAAmB,CAAC,CAAC,EAC/B;IACxB,OAAO;MACLM,IAAI,EAAE,IAAI,CAACA,IAAI;MACfG,UAAU,EAAE,IAAI,CAACA;IACnB,CAAC;EACH;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AAI,CAACA,UAAU;MAC3BgB,gBAAgB,EAAE,IAAI,CAACA;IACzB,CAAC;EACH;EAEQY,SAAS,GAAY,KAAK;EAE3BC,OAAOA,CAAA,EAAG;IACf,IAAI,IAAI,CAACD,SAAS,EAAE;MAClB;IACF;IACA,IAAI,CAACO,MAAM,CAACM,OAAO,CAAElB,EAAE,IAAK;MAC1BA,EAAE,CAACM,OAAO,CAAC,CAAC;IACd,CAAC,CAAC;IACF,IAAI,CAACO,QAAQ,CAACK,OAAO,CAAElB,EAAE,IAAK;MAC5BA,EAAE,CAACM,OAAO,CAAC,CAAC;IACd,CAAC,CAAC;IACF;MACE,IAAI,IAAI,CAACK,IAAI,IAAI,IAAI,EAAE;QACrB,IAAI,CAACA,IAAI,CAACL,OAAO,CAAC,CAAC;MACrB;IACF;IACA,IAAI,CAACD,SAAS,GAAG,IAAI;EACvB;EAEA,MAAaE,YAAYA,CAAA,EAAkB;IACzC,MAAMS,OAAO,CAACC,GAAG,CACf,IAAI,CAACL,MAAM,CAACb,GAAG,CAAC,MAAOC,EAAE,IAAK;MAC5B,MAAMA,EAAE,CAACO,YAAY,CAAC,CAAC;IACzB,CAAC,CACH,CAAC;IACD,MAAMS,OAAO,CAACC,GAAG,CACf,IAAI,CAACJ,QAAQ,CAACd,GAAG,CAAC,MAAOC,EAAE,IAAK;MAC9B,MAAMA,EAAE,CAACO,YAAY,CAAC,CAAC;IACzB,CAAC,CACH,CAAC;IACD,IAAI,IAAI,CAACI,IAAI,IAAI,IAAI,EAAE;MACrB,MAAM,IAAI,CAACA,IAAI,CAACH,aAAa,CAAC,CAAC;IACjC;EACF;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["types/core/generic_document/index.ts"],"mappings":"AAAA,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,mBAAmB","ignoreList":[]}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from core/schemas/Geometry.yaml
|
|
3
3
|
|
|
4
|
-
import { ToJsonConfiguration } from '
|
|
5
|
-
import { PartiallyConstructible } from '../../utils/utils';
|
|
6
|
-
|
|
4
|
+
import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
|
|
7
5
|
/**
|
|
8
6
|
Represents a line segment in 2D space.
|
|
9
7
|
*/
|
|
10
|
-
export class LineSegmentInt
|
|
8
|
+
export class LineSegmentInt {
|
|
11
9
|
/**
|
|
12
10
|
Start point of the segment.
|
|
13
11
|
*/
|
|
@@ -18,7 +16,6 @@ export class LineSegmentInt extends PartiallyConstructible {
|
|
|
18
16
|
|
|
19
17
|
/** @param source {@displayType `DeepPartial<LineSegmentInt>`} */
|
|
20
18
|
constructor(source = {}) {
|
|
21
|
-
super();
|
|
22
19
|
if (source.start !== undefined) {
|
|
23
20
|
this.start = {
|
|
24
21
|
x: source.start.x,
|
|
@@ -47,7 +44,7 @@ export class LineSegmentInt extends PartiallyConstructible {
|
|
|
47
44
|
/**
|
|
48
45
|
Represents a line segment in 2D space.
|
|
49
46
|
*/
|
|
50
|
-
export class LineSegmentFloat
|
|
47
|
+
export class LineSegmentFloat {
|
|
51
48
|
/**
|
|
52
49
|
Start point of the segment.
|
|
53
50
|
*/
|
|
@@ -58,7 +55,6 @@ export class LineSegmentFloat extends PartiallyConstructible {
|
|
|
58
55
|
|
|
59
56
|
/** @param source {@displayType `DeepPartial<LineSegmentFloat>`} */
|
|
60
57
|
constructor(source = {}) {
|
|
61
|
-
super();
|
|
62
58
|
if (source.start !== undefined) {
|
|
63
59
|
this.start = {
|
|
64
60
|
x: source.start.x,
|
|
@@ -87,7 +83,7 @@ export class LineSegmentFloat extends PartiallyConstructible {
|
|
|
87
83
|
/**
|
|
88
84
|
Aspect ratio is the ratio of the width to the height of an image or screen.
|
|
89
85
|
*/
|
|
90
|
-
export class AspectRatio
|
|
86
|
+
export class AspectRatio {
|
|
91
87
|
/**
|
|
92
88
|
Width component of the aspect ratio.
|
|
93
89
|
|
|
@@ -103,7 +99,6 @@ export class AspectRatio extends PartiallyConstructible {
|
|
|
103
99
|
|
|
104
100
|
/** @param source {@displayType `DeepPartial<AspectRatio>`} */
|
|
105
101
|
constructor(source = {}) {
|
|
106
|
-
super();
|
|
107
102
|
if (source.width !== undefined) {
|
|
108
103
|
this.width = source.width;
|
|
109
104
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ToJsonConfiguration","LineSegmentInt","constructor","source","start","undefined","x","y","Error","end","serialize","config","LineSegmentFloat","AspectRatio","width","height"],"sourceRoot":"../../../../../src","sources":["types/core/geometry/Geometry.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AAItE;AACA;AACA;AACA,OAAO,MAAMC,cAAc,CAAC;EAC1B;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOC,WAAWA,CAACC,MAAmC,GAAG,CAAC,CAAC,EAAE;IAC3D,IAAIA,MAAM,CAACC,KAAK,KAAKC,SAAS,EAAE;MAC9B,IAAI,CAACD,KAAK,GAAG;QAAEE,CAAC,EAAEH,MAAM,CAACC,KAAK,CAACE,CAAC;QAAEC,CAAC,EAAEJ,MAAM,CAACC,KAAK,CAACG;MAAE,CAAC;IACvD,CAAC,MAAM;MACL,MAAM,IAAIC,KAAK,CAAC,+CAA+C,CAAC;IAClE;IACA,IAAIL,MAAM,CAACM,GAAG,KAAKJ,SAAS,EAAE;MAC5B,IAAI,CAACI,GAAG,GAAG;QAAEH,CAAC,EAAEH,MAAM,CAACM,GAAG,CAACH,CAAC;QAAEC,CAAC,EAAEJ,MAAM,CAACM,GAAG,CAACF;MAAE,CAAC;IACjD,CAAC,MAAM;MACL,MAAM,IAAIC,KAAK,CAAC,6CAA6C,CAAC;IAChE;EACF;EAEOE,SAASA,CACdC,MAA2B,GAAG,IAAIX,mBAAmB,CAAC,CA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GX,MAAM,CAACW,KAAK;IAC3B;IACA,IAAIX,MAAM,CAACY,MAAM,KAAKV,SAAS,EAAE;MAC/B,IAAI,CAACU,MAAM,GAAGZ,MAAM,CAACY,MAAM;IAC7B;EACF;EAEOL,SAASA,CACdC,MAA2B,GAAG,IAAIX,mBAAmB,CAAC,CAAC,EAC7B;IAC1B,OAAO;MACLc,KAAK,EAAE,IAAI,CAACA,KAAK;MACjBC,MAAM,EAAE,IAAI,CAACA;IACf,CAAC;EACH;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["types/core/geometry/index.ts"],"mappings":"AAAA,cAAc,YAAY","ignoreList":[]}
|
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from core/schemas/ImageRefTypes.yaml
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
4
|
+
import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
|
|
5
|
+
import { RefCountedObjectProfile } from '../utils/ObjectPoolTypes';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
Color conversion to apply during image loading.
|
|
9
|
+
|
|
10
|
+
- `GRAY`:
|
|
11
|
+
Load image as grayscale.
|
|
12
|
+
- `COLOR`:
|
|
13
|
+
Load image as 3-channel BGR.
|
|
14
|
+
- `ANY_COLOR`:
|
|
15
|
+
Load image as 3-channel BGR if the source color space is color, otherwise as single-channel grayscale. Alpha channel is discarded.
|
|
16
|
+
- `UNCHANGED`:
|
|
17
|
+
Load image as-is, preserving the alpha channel if it exists.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/** @hidden */
|
|
21
|
+
export const ColorConversionValues = ['GRAY', 'COLOR', 'ANY_COLOR', 'UNCHANGED'];
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
Canvas color to use when converting images with alpha channel to images without alpha channel.
|
|
25
|
+
|
|
26
|
+
- `WHITE`:
|
|
27
|
+
White canvas color.
|
|
28
|
+
- `BLACK`:
|
|
29
|
+
Black canvas color.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/** @hidden */
|
|
33
|
+
export const CanvasColorValues = ['WHITE', 'BLACK'];
|
|
7
34
|
|
|
8
35
|
/**
|
|
9
36
|
Image Info.
|
|
10
37
|
*/
|
|
11
|
-
export class ImageInfo
|
|
38
|
+
export class ImageInfo {
|
|
12
39
|
/**
|
|
13
40
|
Image height in pixels.
|
|
14
41
|
*/
|
|
@@ -23,7 +50,6 @@ export class ImageInfo extends PartiallyConstructible {
|
|
|
23
50
|
|
|
24
51
|
/** @param source {@displayType `DeepPartial<ImageInfo>`} */
|
|
25
52
|
constructor(source = {}) {
|
|
26
|
-
super();
|
|
27
53
|
if (source.height !== undefined) {
|
|
28
54
|
this.height = source.height;
|
|
29
55
|
} else {
|
|
@@ -60,6 +86,7 @@ Image Ref Path Load Mode.
|
|
|
60
86
|
Image is loaded into memory the first time it's requested. Specified path is copied into internal directory and so isn't required to exist at the time of loading.
|
|
61
87
|
*/
|
|
62
88
|
|
|
89
|
+
/** @hidden */
|
|
63
90
|
export const PathLoadModeValues = ['EAGER', 'LAZY', 'LAZY_WITH_COPY'];
|
|
64
91
|
|
|
65
92
|
/**
|
|
@@ -71,6 +98,7 @@ Image Ref Buffer Load Mode.
|
|
|
71
98
|
Image is decoded the first time it's requested.
|
|
72
99
|
*/
|
|
73
100
|
|
|
101
|
+
/** @hidden */
|
|
74
102
|
export const BufferLoadModeValues = ['EAGER', 'LAZY'];
|
|
75
103
|
|
|
76
104
|
/**
|
|
@@ -82,6 +110,7 @@ Image Encoding Format.
|
|
|
82
110
|
PNG encoding.
|
|
83
111
|
*/
|
|
84
112
|
|
|
113
|
+
/** @hidden */
|
|
85
114
|
export const EncodingFormatValues = ['JPEG', 'PNG'];
|
|
86
115
|
|
|
87
116
|
/**
|
|
@@ -90,56 +119,82 @@ Encryption/Decryption mode to be used when an image is loaded/saved.
|
|
|
90
119
|
- `REQUIRED`:
|
|
91
120
|
Encryption/Decryption is used when loading/saving an image. A crypting provider must first be set using `ImageRef.setStorageCryptingProvider`. If no provider is set, the loading/saving operation will fail.
|
|
92
121
|
- `DISABLED`:
|
|
93
|
-
Encryption
|
|
94
|
-
- `
|
|
95
|
-
|
|
122
|
+
Encryption is not used when loading or saving images. Trying to load an encrypted image will fail.
|
|
123
|
+
- `AUTO`:
|
|
124
|
+
When saving, images are encrypted only if a crypting provider is set using `ImageRef.setStorageCryptingProvider`.
|
|
125
|
+
When loading, images will be decrypted if they're encrypted and a crypting provider is set, and loaded as-is otherwise.
|
|
96
126
|
*/
|
|
97
127
|
|
|
98
|
-
|
|
128
|
+
/** @hidden */
|
|
129
|
+
export const EncryptionModeValues = ['REQUIRED', 'DISABLED', 'AUTO'];
|
|
99
130
|
|
|
100
131
|
/**
|
|
101
132
|
Basic options for loading image.
|
|
102
133
|
*/
|
|
103
|
-
export class BasicImageLoadOptions
|
|
134
|
+
export class BasicImageLoadOptions {
|
|
104
135
|
/**
|
|
105
|
-
|
|
136
|
+
If the rect is not empty, the image will be cropped to this rect before processing.
|
|
106
137
|
*/
|
|
107
|
-
|
|
138
|
+
cropRect = {
|
|
108
139
|
x: 0,
|
|
109
140
|
y: 0,
|
|
110
141
|
width: 0,
|
|
111
142
|
height: 0
|
|
112
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
CanvasColor color to use when converting images with alpha channel to images without alpha channel.
|
|
146
|
+
|
|
147
|
+
Default is WHITE
|
|
148
|
+
*/
|
|
149
|
+
canvasColor = 'WHITE';
|
|
113
150
|
|
|
114
151
|
/** @param source {@displayType `DeepPartial<BasicImageLoadOptions>`} */
|
|
115
152
|
constructor(source = {}) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
height: source.roi.height
|
|
153
|
+
if (source.cropRect !== undefined) {
|
|
154
|
+
this.cropRect = {
|
|
155
|
+
x: source.cropRect.x,
|
|
156
|
+
y: source.cropRect.y,
|
|
157
|
+
width: source.cropRect.width,
|
|
158
|
+
height: source.cropRect.height
|
|
123
159
|
};
|
|
124
160
|
}
|
|
161
|
+
if (source.canvasColor !== undefined) {
|
|
162
|
+
this.canvasColor = source.canvasColor;
|
|
163
|
+
}
|
|
125
164
|
}
|
|
126
165
|
}
|
|
127
166
|
|
|
128
167
|
/**
|
|
129
168
|
Options for loading images that come from sensor.
|
|
130
169
|
*/
|
|
131
|
-
export class RawImageLoadOptions
|
|
170
|
+
export class RawImageLoadOptions {
|
|
132
171
|
/**
|
|
133
|
-
|
|
172
|
+
If the rect is not empty, the image will be cropped to this rect before processing.
|
|
134
173
|
*/
|
|
135
|
-
|
|
174
|
+
cropRect = {
|
|
136
175
|
x: 0,
|
|
137
176
|
y: 0,
|
|
138
177
|
width: 0,
|
|
139
178
|
height: 0
|
|
140
179
|
};
|
|
141
180
|
/**
|
|
142
|
-
|
|
181
|
+
Location of the image origin in the image coordinate system.
|
|
182
|
+
During loading images are flipped such that after the flip their new origin is in their top-left corner.
|
|
183
|
+
For example, an image coming from the front camera might have its origin set to the top-right, which will flip it along its vertical axis to create a mirror effect.
|
|
184
|
+
|
|
185
|
+
The origin is interpreted net of the image orientation. The origin rotates together with the image. The origin value is interpreted and the resulting flip executed AFTER the image matrix has been reoriented to have a neutral orientation.
|
|
186
|
+
|
|
187
|
+
Default is TOP_LEFT
|
|
188
|
+
*/
|
|
189
|
+
origin = 'TOP_LEFT';
|
|
190
|
+
/**
|
|
191
|
+
CanvasColor color to use when converting images with alpha channel to images without alpha channel.
|
|
192
|
+
|
|
193
|
+
Default is WHITE
|
|
194
|
+
*/
|
|
195
|
+
canvasColor = 'WHITE';
|
|
196
|
+
/**
|
|
197
|
+
Rotation that should be applied to the image to recover correct orientation. Is applied before cropping.
|
|
143
198
|
|
|
144
199
|
Default is NONE
|
|
145
200
|
*/
|
|
@@ -147,15 +202,20 @@ export class RawImageLoadOptions extends PartiallyConstructible {
|
|
|
147
202
|
|
|
148
203
|
/** @param source {@displayType `DeepPartial<RawImageLoadOptions>`} */
|
|
149
204
|
constructor(source = {}) {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
height: source.roi.height
|
|
205
|
+
if (source.cropRect !== undefined) {
|
|
206
|
+
this.cropRect = {
|
|
207
|
+
x: source.cropRect.x,
|
|
208
|
+
y: source.cropRect.y,
|
|
209
|
+
width: source.cropRect.width,
|
|
210
|
+
height: source.cropRect.height
|
|
157
211
|
};
|
|
158
212
|
}
|
|
213
|
+
if (source.origin !== undefined) {
|
|
214
|
+
this.origin = source.origin;
|
|
215
|
+
}
|
|
216
|
+
if (source.canvasColor !== undefined) {
|
|
217
|
+
this.canvasColor = source.canvasColor;
|
|
218
|
+
}
|
|
159
219
|
if (source.orientation !== undefined) {
|
|
160
220
|
this.orientation = source.orientation;
|
|
161
221
|
}
|
|
@@ -165,16 +225,28 @@ export class RawImageLoadOptions extends PartiallyConstructible {
|
|
|
165
225
|
/**
|
|
166
226
|
Options for loading image from path.
|
|
167
227
|
*/
|
|
168
|
-
export class PathImageLoadOptions
|
|
228
|
+
export class PathImageLoadOptions {
|
|
169
229
|
/**
|
|
170
|
-
|
|
230
|
+
If the rect is not empty, the image will be cropped to this rect before processing.
|
|
171
231
|
*/
|
|
172
|
-
|
|
232
|
+
cropRect = {
|
|
173
233
|
x: 0,
|
|
174
234
|
y: 0,
|
|
175
235
|
width: 0,
|
|
176
236
|
height: 0
|
|
177
237
|
};
|
|
238
|
+
/**
|
|
239
|
+
Color conversion to apply during image loading.
|
|
240
|
+
|
|
241
|
+
Default is ANY_COLOR
|
|
242
|
+
*/
|
|
243
|
+
colorConversion = 'ANY_COLOR';
|
|
244
|
+
/**
|
|
245
|
+
CanvasColor color to use when converting images with alpha channel to images without alpha channel.
|
|
246
|
+
|
|
247
|
+
Default is WHITE
|
|
248
|
+
*/
|
|
249
|
+
canvasColor = 'WHITE';
|
|
178
250
|
/**
|
|
179
251
|
Load mode.
|
|
180
252
|
|
|
@@ -184,21 +256,26 @@ export class PathImageLoadOptions extends PartiallyConstructible {
|
|
|
184
256
|
/**
|
|
185
257
|
Encryption mode.
|
|
186
258
|
|
|
187
|
-
Default is
|
|
259
|
+
Default is AUTO
|
|
188
260
|
*/
|
|
189
|
-
encryptionMode = '
|
|
261
|
+
encryptionMode = 'AUTO';
|
|
190
262
|
|
|
191
263
|
/** @param source {@displayType `DeepPartial<PathImageLoadOptions>`} */
|
|
192
264
|
constructor(source = {}) {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
height: source.roi.height
|
|
265
|
+
if (source.cropRect !== undefined) {
|
|
266
|
+
this.cropRect = {
|
|
267
|
+
x: source.cropRect.x,
|
|
268
|
+
y: source.cropRect.y,
|
|
269
|
+
width: source.cropRect.width,
|
|
270
|
+
height: source.cropRect.height
|
|
200
271
|
};
|
|
201
272
|
}
|
|
273
|
+
if (source.colorConversion !== undefined) {
|
|
274
|
+
this.colorConversion = source.colorConversion;
|
|
275
|
+
}
|
|
276
|
+
if (source.canvasColor !== undefined) {
|
|
277
|
+
this.canvasColor = source.canvasColor;
|
|
278
|
+
}
|
|
202
279
|
if (source.loadMode !== undefined) {
|
|
203
280
|
this.loadMode = source.loadMode;
|
|
204
281
|
}
|
|
@@ -211,16 +288,28 @@ export class PathImageLoadOptions extends PartiallyConstructible {
|
|
|
211
288
|
/**
|
|
212
289
|
Options for loading image from buffer.
|
|
213
290
|
*/
|
|
214
|
-
export class BufferImageLoadOptions
|
|
291
|
+
export class BufferImageLoadOptions {
|
|
215
292
|
/**
|
|
216
|
-
|
|
293
|
+
If the rect is not empty, the image will be cropped to this rect before processing.
|
|
217
294
|
*/
|
|
218
|
-
|
|
295
|
+
cropRect = {
|
|
219
296
|
x: 0,
|
|
220
297
|
y: 0,
|
|
221
298
|
width: 0,
|
|
222
299
|
height: 0
|
|
223
300
|
};
|
|
301
|
+
/**
|
|
302
|
+
Color conversion to apply during image loading.
|
|
303
|
+
|
|
304
|
+
Default is ANY_COLOR
|
|
305
|
+
*/
|
|
306
|
+
colorConversion = 'ANY_COLOR';
|
|
307
|
+
/**
|
|
308
|
+
CanvasColor color to use when converting images with alpha channel to images without alpha channel.
|
|
309
|
+
|
|
310
|
+
Default is WHITE
|
|
311
|
+
*/
|
|
312
|
+
canvasColor = 'WHITE';
|
|
224
313
|
/**
|
|
225
314
|
Load mode.
|
|
226
315
|
|
|
@@ -230,15 +319,20 @@ export class BufferImageLoadOptions extends PartiallyConstructible {
|
|
|
230
319
|
|
|
231
320
|
/** @param source {@displayType `DeepPartial<BufferImageLoadOptions>`} */
|
|
232
321
|
constructor(source = {}) {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
height: source.roi.height
|
|
322
|
+
if (source.cropRect !== undefined) {
|
|
323
|
+
this.cropRect = {
|
|
324
|
+
x: source.cropRect.x,
|
|
325
|
+
y: source.cropRect.y,
|
|
326
|
+
width: source.cropRect.width,
|
|
327
|
+
height: source.cropRect.height
|
|
240
328
|
};
|
|
241
329
|
}
|
|
330
|
+
if (source.colorConversion !== undefined) {
|
|
331
|
+
this.colorConversion = source.colorConversion;
|
|
332
|
+
}
|
|
333
|
+
if (source.canvasColor !== undefined) {
|
|
334
|
+
this.canvasColor = source.canvasColor;
|
|
335
|
+
}
|
|
242
336
|
if (source.loadMode !== undefined) {
|
|
243
337
|
this.loadMode = source.loadMode;
|
|
244
338
|
}
|
|
@@ -248,7 +342,7 @@ export class BufferImageLoadOptions extends PartiallyConstructible {
|
|
|
248
342
|
/**
|
|
249
343
|
Options for saving image to a path.
|
|
250
344
|
*/
|
|
251
|
-
export class SaveImageOptions
|
|
345
|
+
export class SaveImageOptions {
|
|
252
346
|
/**
|
|
253
347
|
Quality parameter is for jpeg only and is in range 0 to 100. If -1, then settings from hibernation are used.
|
|
254
348
|
In case when the Image Ref was created with a lazy load mode and originally has the same format as the requested to save,
|
|
@@ -261,13 +355,12 @@ export class SaveImageOptions extends PartiallyConstructible {
|
|
|
261
355
|
/**
|
|
262
356
|
Encryption mode.
|
|
263
357
|
|
|
264
|
-
Default is
|
|
358
|
+
Default is AUTO
|
|
265
359
|
*/
|
|
266
|
-
encryptionMode = '
|
|
360
|
+
encryptionMode = 'AUTO';
|
|
267
361
|
|
|
268
362
|
/** @param source {@displayType `DeepPartial<SaveImageOptions>`} */
|
|
269
363
|
constructor(source = {}) {
|
|
270
|
-
super();
|
|
271
364
|
if (source.quality !== undefined) {
|
|
272
365
|
this.quality = source.quality;
|
|
273
366
|
}
|
|
@@ -280,7 +373,7 @@ export class SaveImageOptions extends PartiallyConstructible {
|
|
|
280
373
|
/**
|
|
281
374
|
Options for encoding image.
|
|
282
375
|
*/
|
|
283
|
-
export class EncodeImageOptions
|
|
376
|
+
export class EncodeImageOptions {
|
|
284
377
|
/**
|
|
285
378
|
Quality parameter is for jpeg only and is in range 0 to 100. If -1, then settings from hibernation are used.
|
|
286
379
|
In case when the Image Ref was created with a lazy load mode and originally has the same format as the requested to save,
|
|
@@ -299,7 +392,6 @@ export class EncodeImageOptions extends PartiallyConstructible {
|
|
|
299
392
|
|
|
300
393
|
/** @param source {@displayType `DeepPartial<EncodeImageOptions>`} */
|
|
301
394
|
constructor(source = {}) {
|
|
302
|
-
super();
|
|
303
395
|
if (source.quality !== undefined) {
|
|
304
396
|
this.quality = source.quality;
|
|
305
397
|
}
|
|
@@ -326,12 +418,13 @@ The type of source which originated the underlying image.
|
|
|
326
418
|
ImageRef was created from another type, e.g. from custom loader.
|
|
327
419
|
*/
|
|
328
420
|
|
|
421
|
+
/** @hidden */
|
|
329
422
|
export const ImageSourceTypeValues = ['API', 'PLATFORM_IMAGE', 'CAMERA', 'FILE', 'BUFFER', 'OTHER'];
|
|
330
423
|
|
|
331
424
|
/**
|
|
332
425
|
Description of source from which the ImageRef was created.
|
|
333
426
|
*/
|
|
334
|
-
export class ImageSource
|
|
427
|
+
export class ImageSource {
|
|
335
428
|
/**
|
|
336
429
|
Source type from which the ImageRef was created.
|
|
337
430
|
*/
|
|
@@ -342,7 +435,6 @@ export class ImageSource extends PartiallyConstructible {
|
|
|
342
435
|
|
|
343
436
|
/** @param source {@displayType `DeepPartial<ImageSource>`} */
|
|
344
437
|
constructor(source = {}) {
|
|
345
|
-
super();
|
|
346
438
|
if (source.type !== undefined) {
|
|
347
439
|
this.type = source.type;
|
|
348
440
|
} else {
|
|
@@ -365,7 +457,7 @@ export class ImageSource extends PartiallyConstructible {
|
|
|
365
457
|
/**
|
|
366
458
|
ImageRef profile part specific to image information.
|
|
367
459
|
*/
|
|
368
|
-
export class ImageProfile
|
|
460
|
+
export class ImageProfile {
|
|
369
461
|
/**
|
|
370
462
|
Memory consumption of a memory-backed bitmap. Zero, if the image is hibernating.
|
|
371
463
|
|
|
@@ -381,7 +473,6 @@ export class ImageProfile extends PartiallyConstructible {
|
|
|
381
473
|
|
|
382
474
|
/** @param source {@displayType `DeepPartial<ImageProfile>`} */
|
|
383
475
|
constructor(source = {}) {
|
|
384
|
-
super();
|
|
385
476
|
if (source.bitmapMemoryConsumption !== undefined) {
|
|
386
477
|
this.bitmapMemoryConsumption = source.bitmapMemoryConsumption;
|
|
387
478
|
}
|
|
@@ -400,7 +491,7 @@ export class ImageProfile extends PartiallyConstructible {
|
|
|
400
491
|
/**
|
|
401
492
|
ImageRef profile which provides detailed information about stored object.
|
|
402
493
|
*/
|
|
403
|
-
export class ImageRefProfile
|
|
494
|
+
export class ImageRefProfile {
|
|
404
495
|
/**
|
|
405
496
|
Information about the strong and serialized references to the image.
|
|
406
497
|
*/
|
|
@@ -415,7 +506,6 @@ export class ImageRefProfile extends PartiallyConstructible {
|
|
|
415
506
|
|
|
416
507
|
/** @param source {@displayType `DeepPartial<ImageRefProfile>`} */
|
|
417
508
|
constructor(source = {}) {
|
|
418
|
-
super();
|
|
419
509
|
if (source.refInfo !== undefined) {
|
|
420
510
|
this.refInfo = new RefCountedObjectProfile(source.refInfo);
|
|
421
511
|
} else {
|
|
@@ -444,7 +534,7 @@ export class ImageRefProfile extends PartiallyConstructible {
|
|
|
444
534
|
/**
|
|
445
535
|
Snapshot of all alive ImageRefs.
|
|
446
536
|
*/
|
|
447
|
-
export class ImageRefPoolSnapshot
|
|
537
|
+
export class ImageRefPoolSnapshot {
|
|
448
538
|
/**
|
|
449
539
|
Detailed profiles of all alive ImageRefs.
|
|
450
540
|
*/
|
|
@@ -458,7 +548,6 @@ export class ImageRefPoolSnapshot extends PartiallyConstructible {
|
|
|
458
548
|
|
|
459
549
|
/** @param source {@displayType `DeepPartial<ImageRefPoolSnapshot>`} */
|
|
460
550
|
constructor(source = {}) {
|
|
461
|
-
super();
|
|
462
551
|
if (source.imageRefProfiles !== undefined) {
|
|
463
552
|
this.imageRefProfiles = source.imageRefProfiles.map(it => {
|
|
464
553
|
return new ImageRefProfile(it);
|
|
@@ -483,7 +572,7 @@ export class ImageRefPoolSnapshot extends PartiallyConstructible {
|
|
|
483
572
|
/**
|
|
484
573
|
difference between two snapshots.
|
|
485
574
|
*/
|
|
486
|
-
export class ImageRefPoolSnapshotsDiff
|
|
575
|
+
export class ImageRefPoolSnapshotsDiff {
|
|
487
576
|
/**
|
|
488
577
|
Difference between total memory consumption in two snapshots.
|
|
489
578
|
|
|
@@ -504,7 +593,6 @@ export class ImageRefPoolSnapshotsDiff extends PartiallyConstructible {
|
|
|
504
593
|
|
|
505
594
|
/** @param source {@displayType `DeepPartial<ImageRefPoolSnapshotsDiff>`} */
|
|
506
595
|
constructor(source = {}) {
|
|
507
|
-
super();
|
|
508
596
|
if (source.totalMemoryConsumptionDiff !== undefined) {
|
|
509
597
|
this.totalMemoryConsumptionDiff = source.totalMemoryConsumptionDiff;
|
|
510
598
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ToJsonConfiguration","RefCountedObjectProfile","ColorConversionValues","CanvasColorValues","ImageInfo","constructor","source","height","undefined","Error","width","maxByteSize","serialize","config","PathLoadModeValues","BufferLoadModeValues","EncodingFormatValues","EncryptionModeValues","BasicImageLoadOptions","cropRect","x","y","canvasColor","RawImageLoadOptions","origin","orientation","PathImageLoadOptions","colorConversion","loadMode","encryptionMode","BufferImageLoadOptions","SaveImageOptions","quality","EncodeImageOptions","format","ImageSourceTypeValues","ImageSource","type","filePath","ImageProfile","bitmapMemoryConsumption","hibernationMemoryConsumption","ImageRefProfile","refInfo","imageInfo","imageSource","ImageRefPoolSnapshot","totalMemoryConsumption","imageRefProfiles","map","it","ImageRefPoolSnapshotsDiff","totalMemoryConsumptionDiff","removed","added","modified"],"sourceRoot":"../../../../../src","sources":["types/core/image/ImageRefTypes.ts"],"mappings":"AAAA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,kCAAkC;AACtE,SAASC,uBAAuB,QAAQ,0BAA0B;;AAKlE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA,OAAO,MAAMC,qBAAqD,GAAG,CACnE,MAAM,EACN,OAAO,EACP,WAAW,EACX,WAAW,CACH;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAWA;AACA,OAAO,MAAMC,iBAA6C,GAAG,CAAC,OAAO,EAAE,OAAO,CAAU;;AAExF;AACA;AACA;AACA,OAAO,MAAMC,SAAS,CAAC;EACrB;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAGE;EACOC,WAAWA,CAACC,MAA8B,GAAG,CAAC,CAAC,EAAE;IACtD,IAAIA,MAAM,CAACC,MAAM,KAAKC,SAAS,EAAE;MAC/B,IAAI,CAACD,MAAM,GAAGD,MAAM,CAACC,MAAM;IAC7B,CAAC,MAAM;MACL,MAAM,IAAIE,KAAK,CAAC,gDAAg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ACjC,OAAOA,EAAE;MACX,CAAC,CAAC;MACFK,QAAQ,EAAE,IAAI,CAACA,QAAQ,CAACN,GAAG,CAAEC,EAAO,IAAK;QACvC,OAAOA,EAAE;MACX,CAAC;IACH,CAAC;EACH;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
|
+
/// Generated from core/schemas/ImageTypes.yaml
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
Image rotation.
|
|
6
|
+
|
|
7
|
+
- `NONE`:
|
|
8
|
+
No rotation.
|
|
9
|
+
- `CLOCKWISE_90`:
|
|
10
|
+
90 degrees clockwise rotation.
|
|
11
|
+
- `CLOCKWISE_180`:
|
|
12
|
+
180 degrees rotation.
|
|
13
|
+
- `COUNTERCLOCKWISE_90`:
|
|
14
|
+
90 degrees counterclockwise rotation.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/** @hidden */
|
|
18
|
+
export const ImageRotationValues = ['NONE', 'CLOCKWISE_90', 'CLOCKWISE_180', 'COUNTERCLOCKWISE_90'];
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
Location of the image origin in the image coordinate system.
|
|
22
|
+
|
|
23
|
+
- `TOP_LEFT`:
|
|
24
|
+
Origin is at the top left corner of the image.
|
|
25
|
+
- `TOP_RIGHT`:
|
|
26
|
+
Origin is at the top right corner of the image.
|
|
27
|
+
- `BOTTOM_LEFT`:
|
|
28
|
+
Origin is at the bottom left corner of the image.
|
|
29
|
+
- `BOTTOM_RIGHT`:
|
|
30
|
+
Origin is at the bottom right corner of the image.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/** @hidden */
|
|
34
|
+
export const ImageOriginValues = ['TOP_LEFT', 'TOP_RIGHT', 'BOTTOM_LEFT', 'BOTTOM_RIGHT'];
|
|
35
|
+
//# sourceMappingURL=ImageTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ImageRotationValues","ImageOriginValues"],"sourceRoot":"../../../../../src","sources":["types/core/image/ImageTypes.ts"],"mappings":"AAAA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA,OAAO,MAAMA,mBAAiD,GAAG,CAC/D,MAAM,EACN,cAAc,EACd,eAAe,EACf,qBAAqB,CACb;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmBA;AACA,OAAO,MAAMC,iBAA6C,GAAG,CAC3D,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,CACN","ignoreList":[]}
|