UNPKG

@orchestrator/core

Version:
20 lines (19 loc) 936 B
import { ComponentRef, OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export declare class ComponentsRegistryService implements OnDestroy { private parentComponentsRegistryService; private _componentsReady$; componentsReady$: import("rxjs").Observable<ComponentRef<any>[]>; private count; private childComponents; private subChildComponents; constructor(parentComponentsRegistryService: ComponentsRegistryService); ngOnDestroy(): void; waitFor(count: number): void; add(compRef: ComponentRef<any>): void; addChildren(compRefs: ComponentRef<any>[]): void; addChild(compRef: ComponentRef<any> | null | undefined): void; addSubChildren(compRefs: ComponentRef<any>[]): void; static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsRegistryService, [{ optional: true; skipSelf: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<ComponentsRegistryService>; }