UNPKG

668 BTypeScriptView Raw
1import { NbGetters, NbTreeGridPresentationNode } from './tree-grid.model';
2import * as i0 from "@angular/core";
3export declare class NbTreeGridDataService<T> {
4 private defaultGetters;
5 toPresentationNodes<N>(nodes: N[], customGetters?: NbGetters<N, T>, level?: number): NbTreeGridPresentationNode<T>[];
6 private mapNodes;
7 flattenExpanded(nodes: NbTreeGridPresentationNode<T>[]): NbTreeGridPresentationNode<T>[];
8 copy(nodes: NbTreeGridPresentationNode<T>[]): NbTreeGridPresentationNode<T>[];
9 static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridDataService<any>, never>;
10 static ɵprov: i0.ɵɵInjectableDeclaration<NbTreeGridDataService<any>>;
11}