1 | import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, EmbeddedViewRef, Injector, ViewContainerRef } from '@angular/core';
|
2 | import { NbPosition } from './overlay-position';
|
3 | import { NbComponentPortal, NbPortalInjector, NbPortalOutletDirective, NbTemplatePortal } from './mapping';
|
4 | import * as i0 from "@angular/core";
|
5 | export interface NbRenderableContainer {
|
6 | |
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | renderContent(): any;
|
13 | }
|
14 | export declare class NbPositionedContainerComponent {
|
15 | position: NbPosition;
|
16 | get top(): boolean;
|
17 | get topStart(): boolean;
|
18 | get topEnd(): boolean;
|
19 | get right(): boolean;
|
20 | get endTop(): boolean;
|
21 | get endBottom(): boolean;
|
22 | get bottom(): boolean;
|
23 | get bottomStart(): boolean;
|
24 | get bottomEnd(): boolean;
|
25 | get left(): boolean;
|
26 | get startTop(): boolean;
|
27 | get startBottom(): boolean;
|
28 | static ɵfac: i0.ɵɵFactoryDeclaration<NbPositionedContainerComponent, never>;
|
29 | static ɵcmp: i0.ɵɵComponentDeclaration<NbPositionedContainerComponent, "ng-component", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
|
30 | }
|
31 | export declare class NbOverlayContainerComponent {
|
32 | protected vcr: ViewContainerRef;
|
33 | protected injector: Injector;
|
34 | private changeDetectorRef;
|
35 | portalOutlet: NbPortalOutletDirective;
|
36 | isAttached: boolean;
|
37 | content: string;
|
38 | constructor(vcr: ViewContainerRef, injector: Injector, changeDetectorRef: ChangeDetectorRef);
|
39 | get isStringContent(): boolean;
|
40 | attachComponentPortal<T>(portal: NbComponentPortal<T>, context?: Object): ComponentRef<T>;
|
41 | attachTemplatePortal<C>(portal: NbTemplatePortal<C>): EmbeddedViewRef<C>;
|
42 | attachStringContent(content: string): void;
|
43 | detach(): void;
|
44 | protected createChildInjector(cfr: ComponentFactoryResolver): NbPortalInjector;
|
45 | static ɵfac: i0.ɵɵFactoryDeclaration<NbOverlayContainerComponent, never>;
|
46 | static ɵcmp: i0.ɵɵComponentDeclaration<NbOverlayContainerComponent, "nb-overlay-container", never, {}, {}, never, never, false, never>;
|
47 | }
|