1 | import { NbTreeGridPresentationNode } from './tree-grid.model';
|
2 | import * as i0 from "@angular/core";
|
3 | /**
|
4 | * Service used to filter tree grid data. Searched searchString in all object values.
|
5 | * If you need custom filter, you can extend this service and override filterPredicate or whole filter method.
|
6 | */
|
7 | export declare class NbTreeGridFilterService<T> {
|
8 | filter(query: string, data: NbTreeGridPresentationNode<T>[]): NbTreeGridPresentationNode<T>[];
|
9 | protected filterPredicate(data: T, searchQuery: string): boolean;
|
10 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridFilterService<any>, never>;
|
11 | static ɵprov: i0.ɵɵInjectableDeclaration<NbTreeGridFilterService<any>>;
|
12 | }
|