igniteui-angular
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
76 lines (75 loc) • 3.72 kB
TypeScript
import { PipeTransform } from '@angular/core';
import { ITreeGridRecord } from './tree-grid.interfaces';
import { GridType } from '../common/grid.interface';
import { ISortingExpression } from '../../data-operations/sorting-strategy';
import { IGridSortingStrategy } from '../common/strategy';
import { IGroupingExpression } from '../../data-operations/grouping-expression.interface';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class IgxTreeGridHierarchizingPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(collection: any[], primaryKey: string, foreignKey: string, childDataKey: string, _: number): ITreeGridRecord[];
private getRowID;
private hierarchizeFlatData;
private setIndentationLevels;
private hierarchizeRecursive;
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridHierarchizingPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridHierarchizingPipe, "treeGridHierarchizing", true>;
}
/**
* @hidden
*/
export declare class IgxTreeGridFlatteningPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(collection: ITreeGridRecord[], expandedLevels: number, expandedStates: Map<any, boolean>, _: number): any[];
private getFlatDataRecursive;
private updateNonProcessedRecordExpansion;
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridFlatteningPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridFlatteningPipe, "treeGridFlattening", true>;
}
/** @hidden */
export declare class IgxTreeGridSortingPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(hierarchicalData: ITreeGridRecord[], sortExpressions: ISortingExpression[], groupExpressions: IGroupingExpression[], sorting: IGridSortingStrategy, _: number, pinned?: boolean): ITreeGridRecord[];
private flattenTreeGridRecords;
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridSortingPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridSortingPipe, "treeGridSorting", true>;
}
/** @hidden */
export declare class IgxTreeGridPagingPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(collection: ITreeGridRecord[], enabled: boolean, page: number, perPage: number, _: number): ITreeGridRecord[];
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridPagingPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridPagingPipe, "treeGridPaging", true>;
}
/** @hidden */
export declare class IgxTreeGridTransactionPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(collection: any[], _: number): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridTransactionPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridTransactionPipe, "treeGridTransaction", true>;
}
/**
* This pipe maps the original record to ITreeGridRecord format used in TreeGrid.
*/
export declare class IgxTreeGridNormalizeRecordsPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(_: any[], __: number): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridNormalizeRecordsPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridNormalizeRecordsPipe, "treeGridNormalizeRecord", true>;
}
export declare class IgxTreeGridAddRowPipe implements PipeTransform {
private grid;
constructor(grid: GridType);
transform(collection: any, isPinned: boolean, _pipeTrigger: number): any;
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTreeGridAddRowPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IgxTreeGridAddRowPipe, "treeGridAddRow", true>;
}