UNPKG

ngx-t-reports

Version:

Angular module for creating dynamic reports and dashboards. Supports various data sources, custom templates, and real-time updates.

20 lines (19 loc) 702 B
import { DocumentLitsLabelConfigInterface } from "../../../../types/DocumentSectionConfigurationsInterface"; export interface GroupConfig { name: string; propertyLabel: string; IS_GROUP_CONFIG: boolean; LEVELS_BEFORE: number[]; IS_CLOSED: boolean; level: number; totals?: { [key: string]: number; }; realTotal?: { [key: string]: number; }; } export declare function groupData(items: any[], keys: string[], level?: number): Map<any, any>; export declare function matrixTableGroupedData(array: any[], propertyName: string[], closedGroups: string[], listConfig: DocumentLitsLabelConfigInterface[]): Array<GroupConfig | { [key: string]: any; }>;