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

13 lines (12 loc) 636 B
import { Observable } from "rxjs"; import { LoggerService } from "@nova-ui/bits"; import { DashboardComponent } from "../components/dashboard/dashboard.component"; import { IConfiguratorSource } from "../configurator/services/types"; import { WidgetRemovalOperation } from "../configurator/services/types"; export declare class WidgetRemovalService { private logger; constructor(logger: LoggerService); handleRemove(dashboardComponent: DashboardComponent, widgetId: string, configuratorSource: IConfiguratorSource, tryRemove?: WidgetRemovalOperation): Observable<void>; private tryRemove; private updateDashboard; }