mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
853 B
23 lines
853 B
5 years ago
|
import { Filter } from './ActiveFilter';
|
||
|
import FilterItem from './FilterItem';
|
||
|
import FilterizrOptions from './FilterizrOptions/FilterizrOptions';
|
||
|
export default class FilterItems {
|
||
|
private filterItems;
|
||
|
private options;
|
||
|
constructor(filterItems: FilterItem[], options: FilterizrOptions);
|
||
|
readonly length: number;
|
||
|
get(): FilterItem[];
|
||
|
getItem(index: number): FilterItem;
|
||
|
set(filterItems: FilterItem[]): void;
|
||
|
destroy(): void;
|
||
|
updateTransitionStyle(): void;
|
||
|
updateDimensions(): void;
|
||
|
push(filterItem: FilterItem): number;
|
||
|
getFiltered(filter: Filter): FilterItem[];
|
||
|
getFilteredOut(filter: Filter): FilterItem[];
|
||
|
getSorted(sortAttr?: string, sortOrder?: 'asc' | 'desc'): FilterItem[];
|
||
|
getSearched(searchTerm: string): FilterItem[];
|
||
|
getShuffled(): FilterItem[];
|
||
|
private shouldBeFiltered;
|
||
|
}
|