UNPKG

@nebular/theme

Version:
30 lines (29 loc) 1.47 kB
/** * @license * Copyright Akveo. 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 { NbComponentPortal, NbPortalOutletDirective, NbTemplatePortal } from '../cdk/overlay/mapping'; import { NbFocusTrap, NbFocusTrapFactoryService } from '../cdk/a11y/focus-trap'; import { NbDialogConfig } from './dialog-config'; import * as i0 from "@angular/core"; /** * Container component for each dialog. * All the dialogs will be attached to it. * // TODO add animations * */ export declare class NbDialogContainerComponent implements OnInit, OnDestroy { protected config: NbDialogConfig; protected elementRef: ElementRef; protected focusTrapFactory: NbFocusTrapFactoryService; portalOutlet: NbPortalOutletDirective; protected focusTrap: NbFocusTrap; constructor(config: NbDialogConfig, elementRef: ElementRef, focusTrapFactory: NbFocusTrapFactoryService); ngOnInit(): void; ngOnDestroy(): void; attachComponentPortal<T>(portal: NbComponentPortal<T>): ComponentRef<T>; attachTemplatePortal<C>(portal: NbTemplatePortal<C>): EmbeddedViewRef<C>; static ɵfac: i0.ɵɵFactoryDeclaration<NbDialogContainerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NbDialogContainerComponent, "nb-dialog-container", never, {}, {}, never, never, false, never>; }