@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
38 lines (37 loc) • 1.76 kB
TypeScript
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit } from "@angular/core";
import { LoggerService } from "@nova-ui/bits";
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
import { BaseLayout } from "../../layouts/base-layout";
import * as i0 from "@angular/core";
export declare class WidgetBodyContentComponent extends BaseLayout implements OnChanges, OnInit, OnDestroy {
static lateLoadKey: string;
/**
* The component's id
*/
componentId: string;
/**
* The pizzagna node to use for the primary content
*/
primaryContent: string;
/**
* When this property is populated, the component displays the associated
* fallback content in place of the primary content
*/
fallbackKey: string;
/**
* Map of content keys to pizzagna nodes
*/
fallbackMap: Record<string, string>;
/**
* Optional class for styling
*/
elementClass: string;
classNames: string;
readonly defaultClasses = "w-100";
constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService);
ngOnInit(): void;
ngOnDestroy(): void;
getNodes(): string[];
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBodyContentComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBodyContentComponent, "nui-widget-body-content", never, { "componentId": { "alias": "componentId"; "required": false; }; "primaryContent": { "alias": "primaryContent"; "required": false; }; "fallbackKey": { "alias": "fallbackKey"; "required": false; }; "fallbackMap": { "alias": "fallbackMap"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
}