UNPKG

@progress/kendo-angular-pivotgrid

Version:
43 lines (42 loc) 2.18 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 { PivotBaseBindingDirective } from './base-binding-directive'; import { PivotGridState } from '../models/configurator-settings'; import * as i0 from "@angular/core"; /** * A directive which binds the PivotGrid to data using an Online Analytical Processing (OLAP) service ([see example]({% slug directives_databinding_remote_pivotgrid %})). */ export declare class PivotOLAPBindingDirective extends PivotBaseBindingDirective { /** * The OLAP service endpoint where the data is processed and retrieved to render the pivot table. */ url: string; /** * The cube name that is used to retrieve data for the pivot table rendering. */ cube: string; /** * The database name that is used to retrieve the data from the specified connection string. */ catalog: string; type: 'local' | 'olap'; constructor(dataService: PivotGridDataService, zone: NgZone); ngOnChanges(changes: SimpleChanges): void; protected loadData(state: PivotGridState): void; protected loadFields(): void; protected updateFields(event: any, fields: any): Promise<any>; /** * @hidden */ fetchChildren(event: any, fields: any): Promise<any>; private normalizeKPIs; private getField; private loadKPIs; private loadAvailableFields; static ɵfac: i0.ɵɵFactoryDeclaration<PivotOLAPBindingDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<PivotOLAPBindingDirective, "[kendoPivotOLAPBinding]", ["kendoPivotOLAPBinding"], { "url": { "alias": "url"; "required": false; }; "cube": { "alias": "cube"; "required": false; }; "catalog": { "alias": "catalog"; "required": false; }; }, {}, never, never, true, never>; }