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

45 lines (44 loc) 1.79 kB
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core"; import { GridsterConfig } from "angular-gridster2"; import { BehaviorSubject } from "rxjs"; import { DataSourceService } from "@nova-ui/bits"; import { DashboardComponent, IDashboard, ProviderRegistryService, WidgetTypesService } from "@nova-ui/dashboards"; import { UnitTestRegistryService } from "../../../src/lib/services/unit-test-registry.service"; /** * A simple KPI data source to retrieve the average rating of Harry Potter and the Sorcerer's Stone (book) via googleapis */ export declare class DrilldownDataSource extends DataSourceService<any> implements OnDestroy { static providerId: string; random: number; busy: BehaviorSubject<boolean>; private drillState; private groupBy; private cache; private applyFilters$; constructor(); private groupedDataHistory; getFilteredData(data: any): Promise<any>; ngOnDestroy(): void; applyFilters(): Promise<void>; private getData; private getTransformedDataForGroup; private isHome; private isBack; private isDrillDown; private getOutput; } export declare class DrilldownWidgetTestComponent implements OnInit { private drilldownRegistry; private widgetTypesService; private providerRegistry; private changeDetectorRef; dashboard: IDashboard | undefined; gridsterConfig: GridsterConfig; editMode: boolean; dashboardComponent: DashboardComponent; constructor(drilldownRegistry: UnitTestRegistryService, widgetTypesService: WidgetTypesService, providerRegistry: ProviderRegistryService, changeDetectorRef: ChangeDetectorRef); /** Used for restoring widgets state */ reInitializeDashboard(): void; ngOnInit(): void; initializeDashboard(): void; }