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

20 lines (19 loc) 877 B
import { IWidget, IWidgetTypeDefinition } from "../components/widget/types"; import * as i0 from "@angular/core"; export declare class WidgetTypesService { private widgetTypes; constructor(); registerWidgetType(key: string, version: number, widgetType: IWidgetTypeDefinition): void; getWidgetType(type: string, version?: number): IWidgetTypeDefinition; /** * Take a widget and merge it with the pizzagna of its type * * @param widget * * @return new reference of a widget including the pizzagna of its type */ mergeWithWidgetType(widget: IWidget): IWidget; setNode(widgetTemplate: IWidgetTypeDefinition, section: "widget" | "configurator", pathKey: string, value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTypesService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<WidgetTypesService>; }