import { CoreModel } from '../core/core.model'; import { IconModel } from '../icon/icon.model'; export declare class AlertModel extends CoreModel { /** * Alert id. Optional, but must be set for correct work with alerts actions events. */ id?: string; /** * Optional content section. */ content?: { /** * Title of alert. */ title?: string; /** * Message of alert. */ message?: string; /** * Alert html ng-template name. */ templateName?: string; }; /** * Alert position. Can be: top-left, top-right, bottom-left, bottom-right. Default: top-right. */ position?: string; /** * Alert timeout */ timeOut?: number; /** * Alert timeout after hover on alert. */ extendedTimeOut?: number; /** * Optional inform section. */ inform?: { /** * If to show inform icon */ show?: boolean; /** * Alert inform icon model. Default must be specified in corresponding template. */ icon?: IconModel; }; /** * Optional cancel section. */ cancel?: { /** * If to show cancel icon */ show?: boolean; /** * Alert cancel icon model. Default must be specified in corresponding template. */ icon?: IconModel; }; /** * Optional confirm section. */ confirm?: { /** * If to show confirm icon */ show?: boolean; /** * Alert confirm icon model. Default must be specified in corresponding template. */ icon?: IconModel; }; /** * If to show progressBar */ progressBar?: boolean; /** * ProgressBar animation: increasing/decreasing. Default: decreasing. */ progressAnimation?: string; /** * Class for alert title */ autoDismiss?: boolean; /** * Maximum number of alerts opened */ maxOpened?: number; /** * If to open newest alert on top of other alerts */ newestOnTop?: boolean; /** * Fire ApplicationRef.tick() from the toast component when activated. Helps show toast from a websocket event. */ onActivateTick?: boolean; /** * Close on click */ tapToDismiss?: boolean; /** * To prevent duplicates */ preventDuplicates?: boolean; /** @hidden */ constructor(values?: Object); }