UNPKG

@stratio/egeo

Version:
44 lines (43 loc) 1.65 kB
import { ComponentFactoryResolver, EventEmitter, OnDestroy, AfterViewInit, ViewContainerRef } from '@angular/core'; import { AnimationEvent } from '@angular/animations'; import { StModalButton, StModalButtonResponse, StModalConfig } from './st-modal.model'; import { StWindowRefService } from '../utils/window-service'; export declare class StModalComponent implements OnDestroy, AfterViewInit { private cfr; private windowRef; modalConfig: StModalConfig; component: any; disabledAnimation: boolean; click: EventEmitter<StModalButtonResponse>; endAnimation: EventEmitter<boolean>; targetContent: ViewContainerRef; targetEmpty: ViewContainerRef; readonly defaultMaxWidth: number; readonly defaultMinWidth: number; target: ViewContainerRef; visibility: string; private componentRef; private _subscriptions; constructor(cfr: ComponentFactoryResolver, windowRef: StWindowRefService); readonly hasIcon: string; readonly isFullscreen: boolean; readonly title: string; readonly buttons: StModalButton[]; readonly isMessageModal: boolean; readonly isComplexMessageModal: boolean; readonly html: string; readonly message: string; readonly messageTitle: string; readonly modalStyles: Object; readonly emptyModal: boolean; readonly showCloseBtn: boolean; animationDone(event: AnimationEvent): void; onClickButtons(event: any): void; onClose(): void; /** DYNAMIC MODAL BODY COMPONENT LOAD */ ngAfterViewInit(): void; ngOnDestroy(): void; private getModalActualWidth; private loadBody; private bindModalInputs; }