import { Observable } from 'rxjs'; import { Type, ComponentFactoryResolver, Injector } from '@angular/core'; export interface DcModalOptions { id?: string; title: string; component: Type; width?: string; data?: any; handler?: Function; onClose?: Function; backdropCloseable?: boolean; noHeaderShadow?: boolean; imgShow?: boolean; close?: boolean; iconCls?: any; beforeHidden?: () => boolean | Promise | Observable; }