@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
30 lines (29 loc) • 1.47 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";
import * as i0 from "@angular/core";
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;
static ɵfac: i0.ɵɵFactoryDeclaration<ListWidgetComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ListWidgetComponent, "nui-list-widget", never, { "data": { "alias": "data"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
}