UNPKG

react-native-scanbot-sdk

Version:

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

252 lines (223 loc) 9.99 kB
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten. /// Generated from rtu-ui-v2/schemas/vin/VINScannerScreenTextLocalization.yaml import { DeepPartial, PartiallyConstructible } from '../../utils/utils'; /** Configuration of the all strings for generic text scanner screen. */ export class VinScannerScreenTextLocalization extends PartiallyConstructible { /** Title for the top bar. Default is "VIN Scanner" */ public topBarTitle: string = 'VIN Scanner'; /** Cancel button text for the top bar. Default is "Cancel" */ public topBarCancelButton: string = 'Cancel'; /** Text for the top user guidance caption. Default is "Point the camera at the VIN" */ public topUserGuidance: string = 'Point the camera at the VIN'; /** Text for the user guidance caption below the finder view. Default is "Looking for VIN..." */ public finderViewUserGuidance: string = 'Looking for VIN...'; /** Title for the introduction screen. Default is "How to scan a VIN" */ public introScreenTitle: string = 'How to scan a VIN'; /** Start scanning button text for the introduction screen. Default is "Start Scanning" */ public introScreenDoneButton: string = 'Start Scanning'; /** The text explanation for the introduction screen. Default is "A VIN (Vehicle Identification Number) is a unique code you'll find on a vehicle's windshield or on the inside of the driver's door. \n\nTo scan, simply point your camera at the VIN, ensuring it's within the frame. The VIN will be automatically extracted.\n\nTap 'Start Scanning' to begin." */ public introScreenText: string = "A VIN (Vehicle Identification Number) is a unique code you'll find on a vehicle's windshield or on the inside of the driver's door. \n\nTo scan, simply point your camera at the VIN, ensuring it's within the frame. The VIN will be automatically extracted.\n\nTap 'Start Scanning' to begin."; /** Caption for the success overlay. Default is "Scanned successfully" */ public completionOverlaySuccessMessage: string = 'Scanned successfully'; /** Accessibility description for the 'open introduction screen' button in top bar. Default is "Open VIN Scanner introduction" */ public accessibilityDescriptionOpenIntroScreenButton: string = 'Open VIN Scanner introduction'; /** Accessibility description for the 'done'/'start scanning' button in the introduction screen. Default is "Start VIN scanning" */ public accessibilityDescriptionIntroScreenDoneButton: string = 'Start VIN scanning'; /** Accessibility description for the 'cancel' button in the top bar. Default is "Cancel VIN scanning" */ public accessibilityDescriptionCancelButton: string = 'Cancel VIN scanning'; /** Title for the text pattern confirmation alert. Default is "VIN detected" */ public vinConfirmationAlertTitle: string = 'VIN detected'; /** Cancel button text for the text pattern confirmation alert. Default is "Cancel" */ public vinConfirmationAlertCancelButton: string = 'Cancel'; /** Submit button text for the text pattern confirmation alert. Default is "Submit" */ public vinConfirmationAlertSubmitButton: string = 'Submit'; /** Accessibility description for the cancel button in the text pattern confirmation alert. Default is "Cancel VIN scanning" */ public accessibilityDescriptionConfirmationCancelButton: string = 'Cancel VIN scanning'; /** Accessibility description for the submit button in the text pattern confirmation alert. Default is "Submit VIN scan result" */ public accessibilityDescriptionConfirmationSubmitButton: string = 'Submit VIN scan result'; /** Accessibility description for the flash button. Default is "Toggle flash" */ public accessibilityDescriptionFlashButton: string = 'Toggle flash'; /** Accessibility description for the zoom button. Default is "Toggle camera zoom" */ public accessibilityDescriptionZoomButton: string = 'Toggle camera zoom'; /** Accessibility description for the flip camera button. Default is "Flip camera" */ public accessibilityDescriptionFlipCameraButton: string = 'Flip camera'; /** The title of the camera permission dialog. Default is "Camera permission denied!" */ public cameraPermissionEnableCameraTitle: string = 'Camera permission denied!'; /** The explanation text of the camera permission dialog. Default is "Please allow the usage of the camera to start the scanning process." */ public cameraPermissionEnableCameraExplanation: string = 'Please allow the usage of the camera to start the scanning process.'; /** The 'enable' button title of the camera permission dialog. Default is "Grant permission" */ public cameraPermissionEnableCameraButton: string = 'Grant permission'; /** The 'close' button title of the camera permission dialog. Default is "Close" */ public cameraPermissionCloseButton: string = 'Close'; /** The accessibility hint for the 'enable' button of the camera permission dialog. Default is "Tap to grant camera permission" */ public accessibilityDescriptionCameraPermissionEnableCameraButton: string = 'Tap to grant camera permission'; /** The accessibility hint for the 'close' button of the camera permission dialog. Default is "Close screen without granting permission" */ public accessibilityDescriptionCameraPermissionCloseButton: string = 'Close screen without granting permission'; /** @param source {@displayType `DeepPartial<VinScannerScreenTextLocalization>`} */ public constructor(source: DeepPartial<VinScannerScreenTextLocalization> = {}) { super(); if (source.topBarTitle !== undefined) { this.topBarTitle = source.topBarTitle; } if (source.topBarCancelButton !== undefined) { this.topBarCancelButton = source.topBarCancelButton; } if (source.topUserGuidance !== undefined) { this.topUserGuidance = source.topUserGuidance; } if (source.finderViewUserGuidance !== undefined) { this.finderViewUserGuidance = source.finderViewUserGuidance; } if (source.introScreenTitle !== undefined) { this.introScreenTitle = source.introScreenTitle; } if (source.introScreenDoneButton !== undefined) { this.introScreenDoneButton = source.introScreenDoneButton; } if (source.introScreenText !== undefined) { this.introScreenText = source.introScreenText; } if (source.completionOverlaySuccessMessage !== undefined) { this.completionOverlaySuccessMessage = source.completionOverlaySuccessMessage; } if (source.accessibilityDescriptionOpenIntroScreenButton !== undefined) { this.accessibilityDescriptionOpenIntroScreenButton = source.accessibilityDescriptionOpenIntroScreenButton; } if (source.accessibilityDescriptionIntroScreenDoneButton !== undefined) { this.accessibilityDescriptionIntroScreenDoneButton = source.accessibilityDescriptionIntroScreenDoneButton; } if (source.accessibilityDescriptionCancelButton !== undefined) { this.accessibilityDescriptionCancelButton = source.accessibilityDescriptionCancelButton; } if (source.vinConfirmationAlertTitle !== undefined) { this.vinConfirmationAlertTitle = source.vinConfirmationAlertTitle; } if (source.vinConfirmationAlertCancelButton !== undefined) { this.vinConfirmationAlertCancelButton = source.vinConfirmationAlertCancelButton; } if (source.vinConfirmationAlertSubmitButton !== undefined) { this.vinConfirmationAlertSubmitButton = source.vinConfirmationAlertSubmitButton; } if (source.accessibilityDescriptionConfirmationCancelButton !== undefined) { this.accessibilityDescriptionConfirmationCancelButton = source.accessibilityDescriptionConfirmationCancelButton; } if (source.accessibilityDescriptionConfirmationSubmitButton !== undefined) { this.accessibilityDescriptionConfirmationSubmitButton = source.accessibilityDescriptionConfirmationSubmitButton; } if (source.accessibilityDescriptionFlashButton !== undefined) { this.accessibilityDescriptionFlashButton = source.accessibilityDescriptionFlashButton; } if (source.accessibilityDescriptionZoomButton !== undefined) { this.accessibilityDescriptionZoomButton = source.accessibilityDescriptionZoomButton; } if (source.accessibilityDescriptionFlipCameraButton !== undefined) { this.accessibilityDescriptionFlipCameraButton = source.accessibilityDescriptionFlipCameraButton; } if (source.cameraPermissionEnableCameraTitle !== undefined) { this.cameraPermissionEnableCameraTitle = source.cameraPermissionEnableCameraTitle; } if (source.cameraPermissionEnableCameraExplanation !== undefined) { this.cameraPermissionEnableCameraExplanation = source.cameraPermissionEnableCameraExplanation; } if (source.cameraPermissionEnableCameraButton !== undefined) { this.cameraPermissionEnableCameraButton = source.cameraPermissionEnableCameraButton; } if (source.cameraPermissionCloseButton !== undefined) { this.cameraPermissionCloseButton = source.cameraPermissionCloseButton; } if (source.accessibilityDescriptionCameraPermissionEnableCameraButton !== undefined) { this.accessibilityDescriptionCameraPermissionEnableCameraButton = source.accessibilityDescriptionCameraPermissionEnableCameraButton; } if (source.accessibilityDescriptionCameraPermissionCloseButton !== undefined) { this.accessibilityDescriptionCameraPermissionCloseButton = source.accessibilityDescriptionCameraPermissionCloseButton; } } }