UNPKG

@nova-ui/dashboards

Version:

Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and

29 lines (28 loc) 1.39 kB
import { ChangeDetectorRef, DoCheck, OnChanges, OnDestroy, SimpleChanges } from "@angular/core"; import { Subject } from "rxjs"; import { LoggerService } from "@nova-ui/bits"; import { PizzagnaService } from "../../pizzagna/services/pizzagna.service"; import { IComponentConfiguration, IHasChangeDetector } from "../../types"; import * as i0 from "@angular/core"; export declare abstract class BaseLayout implements IHasChangeDetector, OnChanges, DoCheck, OnDestroy { changeDetector: ChangeDetectorRef; protected pizzagnaService: PizzagnaService; protected logger: LoggerService; nodeComponentsConfigs: IComponentConfiguration[]; nodeConfigs: IComponentConfiguration[]; protected destroyed$: Subject<void>; template: Partial<IComponentConfiguration>; constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService); abstract getNodes(): string[]; ngOnChanges(changes: SimpleChanges): void; ngDoCheck(): void; ngOnDestroy(): void; trackByFn(index: number, node: IComponentConfiguration): string; private checkNodeConfigs; private updateNodeComponentConfigs; private updateNodeConfigs; private getNodeComponentsConfigs; private getTemplateChangeForNodes; static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayout, never>; static ɵprov: i0.ɵɵInjectableDeclaration<BaseLayout>; }