UNPKG

@asif-dev/ng-pivottable

Version:

Angular wrappers for react-pivottable (PivotTable and PivotTableUI) — React 17

37 lines (36 loc) 2.13 kB
import { ElementRef, AfterViewInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class NgPivotTableComponent implements AfterViewInit, OnDestroy, OnChanges { data: any[]; rows: string[]; cols: string[]; vals: string[]; aggregatorName: string; rendererName?: string; valueFilter?: { [key: string]: any; }; sorters?: { [key: string]: (a: any, b: any) => number; }; derivedAttributes?: { [key: string]: (record: any) => any; }; hiddenAttributes?: string[]; hiddenFromAggregators?: string[]; hiddenFromDragDrop?: string[]; menuLimit?: number; unusedOrientationCutoff?: number; containerRef: ElementRef<HTMLDivElement>; private ngZone; private platformId; private isInitialized; private isBrowser; constructor(); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; private renderReact; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgPivotTableComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgPivotTableComponent, "ng-pivot-table", never, { "data": { "alias": "data"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "vals": { "alias": "vals"; "required": false; }; "aggregatorName": { "alias": "aggregatorName"; "required": false; }; "rendererName": { "alias": "rendererName"; "required": false; }; "valueFilter": { "alias": "valueFilter"; "required": false; }; "sorters": { "alias": "sorters"; "required": false; }; "derivedAttributes": { "alias": "derivedAttributes"; "required": false; }; "hiddenAttributes": { "alias": "hiddenAttributes"; "required": false; }; "hiddenFromAggregators": { "alias": "hiddenFromAggregators"; "required": false; }; "hiddenFromDragDrop": { "alias": "hiddenFromDragDrop"; "required": false; }; "menuLimit": { "alias": "menuLimit"; "required": false; }; "unusedOrientationCutoff": { "alias": "unusedOrientationCutoff"; "required": false; }; }, {}, never, never, true, never>; }