UNPKG

@rxap/material-table-system

Version:

This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c

26 lines (25 loc) 929 B
import { OnDestroy } from '@angular/core'; import { FilterLike } from '@rxap/data-source/table'; import { ReplaySubject, Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class TableFilterService implements FilterLike, OnDestroy { readonly change: ReplaySubject<Record<string, any>>; current: Record<string, any>; private _subscription; readonly reset$: Subject<void>; /** * a flag to indicate whether any value was already send to the change subject * true - a value was send * false - no value was send * @private */ private _init; constructor(); reset(): void; setMap(map: Record<string, any>): void; set(key: string, value: any): void; remove(key: string): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TableFilterService>; }