UNPKG

react-native-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK React Native Plugin for Android and iOS

48 lines (45 loc) 1.9 kB
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten. /// Generated from rtu-ui-v2/schemas/document/DocumentScannerScreens.yaml import { CameraScreenConfiguration } from '../../ui_v2/document/CameraScreenConfiguration'; import { CroppingScreenConfiguration } from '../../ui_v2/document/CroppingScreenConfiguration'; import { ReorderPagesScreenConfiguration } from '../../ui_v2/document/ReorderPagesScreenConfiguration'; import { ReviewScreenConfiguration } from '../../ui_v2/document/ReviewScreenConfiguration'; import { PartiallyConstructible } from '../../utils/utils'; /** Configuration of the document scanner sub-screens. */ export class DocumentScannerScreens extends PartiallyConstructible { /** Configuration of the screen for scanning the pages with the camera. */ camera = new CameraScreenConfiguration({}); /** Configuration of the screen for reviewing the scanned pages. */ review = new ReviewScreenConfiguration({}); /** Configuration of the screen for cropping the scanned pages. */ cropping = new CroppingScreenConfiguration({}); /** Configuration of the screen for reordering the scanned pages. */ reorderPages = new ReorderPagesScreenConfiguration({}); /** @param source {@displayType `DeepPartial<DocumentScannerScreens>`} */ constructor(source = {}) { super(); if (source.camera !== undefined) { this.camera = new CameraScreenConfiguration(source.camera); } if (source.review !== undefined) { this.review = new ReviewScreenConfiguration(source.review); } if (source.cropping !== undefined) { this.cropping = new CroppingScreenConfiguration(source.cropping); } if (source.reorderPages !== undefined) { this.reorderPages = new ReorderPagesScreenConfiguration(source.reorderPages); } } } //# sourceMappingURL=DocumentScannerScreens.js.map