@progress/kendo-angular-pivotgrid
Version:
PivotGrid package for Angular
52 lines (51 loc) • 1.99 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { EventEmitter, NgZone } from '@angular/core';
import { PivotDataItem, PivotGridField, Tuple } from '@progress/kendo-pivotgrid-common';
import { BehaviorSubject } from 'rxjs';
import { PivotBaseBindingDirective } from './base-binding-directive';
import { PivotDataRowItem } from '../models/data-row-item';
import { PivotGridState } from '../models/configurator-settings';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class PivotGridDataService {
private ngZone;
expandedStateChange: EventEmitter<any>;
configuratorFieldChange: EventEmitter<any>;
expandedFieldChange: EventEmitter<any>;
directive: PivotBaseBindingDirective;
normalizedData: any[];
rows: Tuple[];
columns: Tuple[];
wrapper: Element;
aggregateData: PivotDataRowItem[];
state: PivotGridState;
columnHeaderLeaves: {
total: boolean;
path: string[];
}[];
columnHeaderRows: BehaviorSubject<any[]>;
columnHeaderCols: BehaviorSubject<any[]>;
rowHeaderLeaves: {
total: boolean;
path: string[];
}[];
rowHeaderCols: BehaviorSubject<any[]>;
rowHeaderRows: BehaviorSubject<any[]>;
valuesRows: BehaviorSubject<{
row: string[];
cells: PivotDataItem[];
}[]>;
loading: BehaviorSubject<boolean>;
pivotGridId: number;
constructor(ngZone: NgZone);
fields: BehaviorSubject<PivotGridField[]>;
configuredFields: BehaviorSubject<any>;
updateRowsAndCols(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridDataService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PivotGridDataService>;
}