UNPKG

@neocomplexx/ngx-neo-modal-mat

Version:
82 lines (81 loc) 2.4 kB
import { OnInit, AfterViewInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import * as i0 from "@angular/core"; export declare class NgxNeoModalMatComponent implements OnInit, AfterViewInit { data: any; activeModal: MatDialogRef<NgxNeoModalMatComponent>; btn: any; input: any; config: { title: { visibility: boolean; text: string; }; message: string; type: any; input: { visibility: boolean; placeholder: string; value: any; autofocus: boolean; id: string; }; button: { yes: { visibility: boolean; autofocus: boolean; text: string; id: string; }; no: { visibility: boolean; autofocus: boolean; text: string; id: string; }; retry: { visibility: boolean; autofocus: boolean; text: string; id: string; }; cancel: { visibility: boolean; autofocus: boolean; text: string; id: string; }; accept: { visibility: boolean; autofocus: boolean; text: string; id: string; }; }; }; constructor(data: any, activeModal: MatDialogRef<NgxNeoModalMatComponent>); ngOnInit(): void; private isObject; private mergeDeep; private activeFocus; private getButtonFocus; private getInputFocus; ngAfterViewInit(): void; informResult(res: string): void; setFocus(): void; static ɵfac: i0.ɵɵFactoryDef<NgxNeoModalMatComponent, never>; static ɵcmp: i0.ɵɵComponentDefWithMeta<NgxNeoModalMatComponent, "lib-ngx-neo-modal-mat", never, {}, {}, never, never>; } export declare class AlertResult { ButtonResponse: AlertButton; messageInput: string; constructor(ButtonResponse: AlertButton, messageInput: string); } export declare enum AlertButton { None = 0, Accept = 1, Cancel = 2, Yes = 4, No = 8, Retry = 16 }