kwikui
Version:
KwikID's UI Component Library in Angular
26 lines (25 loc) • 983 B
TypeScript
import { PipeTransform } from "@angular/core";
import * as i0 from "@angular/core";
export declare class KwikUISearchFilterPipe implements PipeTransform {
/**
* @param items object from array
* @param term term's search
* @param excludes array of strings which will ignored during search
*/
transform(items: any, term: string, excludes?: any): any;
/**
*
* @param items List of items to filter
* @param term a string term to compare with every property of the list
* @param excludes List of keys which will be ignored during search
*
*/
static filter(items: Array<{
[key: string]: any;
}>, term: string, excludes: any): Array<{
[key: string]: any;
}>;
static ɵfac: i0.ɵɵFactoryDeclaration<KwikUISearchFilterPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<KwikUISearchFilterPipe, "kwikuiSearchFilter">;
static ɵprov: i0.ɵɵInjectableDeclaration<KwikUISearchFilterPipe>;
}