capacitor-plugin-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK for Capacitor
49 lines (45 loc) • 1.31 kB
TypeScript
import { ButtonConfiguration, StyledText } from '../../ui_v2/common/Common';
import type { DeepPartial } from '../../utils/utils';
import { PartiallyConstructible } from '../../utils/utils';
/**
Configuration of the standard alert dialog.
*/
export declare class ScanbotAlertDialog extends PartiallyConstructible {
/**
The title displayed above the message.
*/
title: StyledText;
/**
The explanation message.
*/
subtitle: StyledText;
/**
The background color of the alert dialog.
Default is "?sbColorSurface"
*/
sheetColor: string;
/**
The dialog overlay color.
Default is "?sbColorModalOverlay"
*/
modalOverlayColor: string;
/**
The color of the divider line.
Default is "?sbColorOutline"
*/
dividerColor: string;
/**
Configuration of the 'OK' button.
*/
okButton: ButtonConfiguration;
/**
Configuration of the middle button for dialogs with tree buttons.
*/
actionButton: ButtonConfiguration;
/**
Configuration of the 'cancel' button.
*/
cancelButton: ButtonConfiguration;
/** @param source {@displayType `DeepPartial<ScanbotAlertDialog>`} */
constructor(source?: DeepPartial<ScanbotAlertDialog>);
}