@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
31 lines (30 loc) • 1.03 kB
TypeScript
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
import { BaseLayout } from "../../layouts/base-layout";
export declare class WidgetBodyComponent extends BaseLayout implements OnInit, OnDestroy {
private eventBus;
static lateLoadKey: string;
/**
* The component's id
*/
componentId: string;
/**
* Keeps track of whether the dashboard is in edit mode
*/
editMode: boolean;
/**
* Pizzagna key for the widget body content
*/
content: string;
/**
* Optional class for styling
*/
elementClass: string;
classNames: string;
readonly defaultClasses = "d-flex h-100 w-100";
constructor(eventBus: EventBus<IEvent>, changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService);
ngOnInit(): void;
ngOnDestroy(): void;
getNodes: () => string[];
}