UNPKG

1.91 kBTypeScriptView Raw
1import { ElementRef, OnDestroy, OnInit, TemplateRef, Renderer2, ComponentFactoryResolver, AfterViewChecked } from '@angular/core';
2import { NbFocusTrap, NbFocusTrapFactoryService } from '../cdk/a11y/focus-trap';
3import { NbComponentType } from '../cdk/overlay/mapping';
4import { NbOverlayContainerComponent } from '../cdk/overlay/overlay-container';
5import { NbWindowConfig } from './window.options';
6import { NbWindowRef } from './window-ref';
7import * as i0 from "@angular/core";
8export declare class NbWindowComponent implements OnInit, AfterViewChecked, OnDestroy {
9 content: TemplateRef<any> | NbComponentType;
10 context: Object;
11 windowRef: NbWindowRef;
12 config: NbWindowConfig;
13 protected focusTrapFactory: NbFocusTrapFactoryService;
14 protected elementRef: ElementRef;
15 protected renderer: Renderer2;
16 cfr: ComponentFactoryResolver;
17 get isFullScreen(): boolean;
18 get maximized(): boolean;
19 get minimized(): boolean;
20 get showMinimize(): boolean;
21 get showMaximize(): boolean;
22 get showFullScreen(): boolean;
23 get showClose(): boolean;
24 overlayContainer: NbOverlayContainerComponent;
25 protected focusTrap: NbFocusTrap;
26 constructor(content: TemplateRef<any> | NbComponentType, context: Object, windowRef: NbWindowRef, config: NbWindowConfig, focusTrapFactory: NbFocusTrapFactoryService, elementRef: ElementRef, renderer: Renderer2);
27 ngOnInit(): void;
28 ngAfterViewChecked(): void;
29 ngOnDestroy(): void;
30 minimize(): void;
31 maximize(): void;
32 fullScreen(): void;
33 maximizeOrFullScreen(): void;
34 close(): void;
35 protected attachTemplate(): void;
36 protected attachComponent(): void;
37 static ɵfac: i0.ɵɵFactoryDeclaration<NbWindowComponent, never>;
38 static ɵcmp: i0.ɵɵComponentDeclaration<NbWindowComponent, "nb-window", never, { "cfr": { "alias": "cfr"; "required": false; }; }, {}, never, never, false, never>;
39}