UNPKG

@progress/kendo-angular-pivotgrid

Version:
43 lines (42 loc) 2.06 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgZone, SimpleChanges } from '@angular/core'; import { PivotGridDataService } from './pivotgrid-data.service'; import { Dimension, Measure } from '@progress/kendo-pivotgrid-common'; import { PivotBaseBindingDirective } from './base-binding-directive'; import { PivotGridState } from '../models/configurator-settings'; import * as i0 from "@angular/core"; /** * A directive which binds the PivotGrid to local data ([see example]({% slug directives_databinding_local_pivotgrid %})). */ export declare class PivotLocalBindingDirective extends PivotBaseBindingDirective { /** * The array of data which will be used to populate the PivotGrid. */ data: any[]; /** * Represents the dimensions object of the PivotGrid. */ dimensions: { [key: string]: Dimension; }; /** * Represents the measures collection of the PivotGrid. */ measures: Measure[]; type: 'local' | 'olap'; constructor(dataService: PivotGridDataService, zone: NgZone); ngOnChanges(changes: SimpleChanges): void; /** * @hidden */ fetchChildren(node: any): Promise<any>; protected loadFields(): void; protected loadData(state: PivotGridState): void; private createAxisSettings; private getRootAxes; static ɵfac: i0.ɵɵFactoryDeclaration<PivotLocalBindingDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<PivotLocalBindingDirective, "[kendoPivotLocalBinding]", ["kendoPivotLocalBinding"], { "data": { "alias": "kendoPivotLocalBinding"; "required": false; }; "dimensions": { "alias": "dimensions"; "required": false; }; "measures": { "alias": "measures"; "required": false; }; }, {}, never, never, true, never>; }