/** * @license * Copyright Endlessjs. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { ComponentRef, ElementRef, EmbeddedViewRef, OnDestroy, OnInit } from '@angular/core'; import { ElComponentPortal, ElPortalOutletDirective, ElTemplatePortal } from '../cdk/overlay/mapping'; import { ElFocusTrap, ElFocusTrapFactoryService } from '../cdk/a11y/focus-trap'; import { ElDialogConfig } from './dialog-config'; /** * Container component for each dialog. * All the dialogs will be attached to it. * // TODO add animations * */ export declare class ElDialogContainerComponent implements OnInit, OnDestroy { protected config: ElDialogConfig; protected elementRef: ElementRef; protected focusTrapFactory: ElFocusTrapFactoryService; portalOutlet: ElPortalOutletDirective; protected focusTrap: ElFocusTrap; constructor(config: ElDialogConfig, elementRef: ElementRef, focusTrapFactory: ElFocusTrapFactoryService); ngOnInit(): void; ngOnDestroy(): void; attachComponentPortal(portal: ElComponentPortal): ComponentRef; attachTemplatePortal(portal: ElTemplatePortal): EmbeddedViewRef; }