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

31 lines (30 loc) 1.29 kB
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core"; import { FormArray, FormBuilder, FormControl, FormGroup } from "@angular/forms"; import { EventBus, IEvent } from "@nova-ui/bits"; import { IHasChangeDetector, IHasForm } from "../../../../../types"; export declare class GroupingConfigurationComponent implements OnInit, OnChanges, IHasChangeDetector, IHasForm, OnDestroy { changeDetector: ChangeDetectorRef; private formBuilder; private eventBus; static lateLoadKey: string; groups: string[]; groupBy: string[]; formReady: EventEmitter<FormGroup<any>>; form: FormGroup; selectData: Array<Array<string>>; private readonly destroy$; constructor(changeDetector: ChangeDetectorRef, formBuilder: FormBuilder, eventBus: EventBus<IEvent>); get getGroupByControl(): FormArray; get getDrillStateControl(): FormArray; get getGroupsControl(): FormControl; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; createControl(value?: string): FormControl; addGrouping(): void; removeRule(index: number): void; isAddRestricted(): boolean; getSubtitle(): string; ngOnDestroy(): void; private onDataSourceCreated; private fillGroupsOptions; }