UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

21 lines (20 loc) 865 B
import type { ReactiveController } from 'lit'; import FilterDataOperation from '../operations/filter.js'; import GroupDataOperation from '../operations/group.js'; import type { ComboHost, ComboRecord, FilteringOptions, GroupingOptions } from '../types.js'; export declare class DataController<T extends object> implements ReactiveController { protected host: ComboHost<T>; protected grouping: GroupDataOperation<T>; protected filtering: FilterDataOperation<T>; private _searchTerm; private _compareCollator; constructor(host: ComboHost<T>); set searchTerm(value: string); get searchTerm(): string; get filteringOptions(): FilteringOptions<T>; get groupingOptions(): GroupingOptions<T>; get compareCollator(): Intl.Collator; private index; hostConnected(): void; apply(data: T[]): Promise<ComboRecord<T>[]>; }