UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

45 lines 2.08 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 { /** @param source {@displayType `DeepPartial<DocumentScannerScreens>`} */ constructor(source = {}) { super(); /** Configuration of the screen for scanning the pages with the camera. */ this.camera = new CameraScreenConfiguration({}); /** Configuration of the screen for reviewing the scanned pages. */ this.review = new ReviewScreenConfiguration({}); /** Configuration of the screen for cropping the scanned pages. */ this.cropping = new CroppingScreenConfiguration({}); /** Configuration of the screen for reordering the scanned pages. */ this.reorderPages = new ReorderPagesScreenConfiguration({}); 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