@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
27 lines (26 loc) • 1.05 kB
TypeScript
import { ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
import { EventBus, IEvent } from "@nova-ui/bits";
import { IListWidgetConfiguration } from "./types";
import { IHasChangeDetector } from "../../types";
export declare class ListWidgetComponent implements OnDestroy, OnInit, IHasChangeDetector, OnChanges {
changeDetector: ChangeDetectorRef;
private zone;
private host;
private eventBus;
static lateLoadKey: string;
data: any[];
configuration: IListWidgetConfiguration;
elementClass: string;
private itemFormatterProps;
private readonly destroy$;
private widgetWidth;
constructor(changeDetector: ChangeDetectorRef, zone: NgZone, host: ElementRef, eventBus: EventBus<IEvent>);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
onListItemEvent(item: any): void;
ngOnDestroy(): void;
getPropsFor(item: any): any;
shouldDisplayRepeat(): boolean;
private calcItemProps;
private initResizeObserver;
}