UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

46 lines (45 loc) 1.72 kB
/** * @license * Copyright Alibaba.com All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzI18nInterface, NzI18nService } from 'ng-zorro-antd/i18n'; import { NzTableFilterList } from '../table.types'; interface NzThItemInterface { text: string; value: NzSafeAny; checked: boolean; } export declare class NzTableFilterComponent implements OnChanges, OnDestroy, OnInit { private cdr; private i18n; contentTemplate: TemplateRef<NzSafeAny> | null; customFilter: boolean; extraTemplate: TemplateRef<NzSafeAny> | null; filterMultiple: boolean; listOfFilter: NzTableFilterList; readonly filterChange: EventEmitter<any>; private destroy$; locale: NzI18nInterface['Table']; isChanged: boolean; isChecked: boolean; isVisible: boolean; listOfParsedFilter: NzThItemInterface[]; trackByValue(_: number, item: NzThItemInterface): NzSafeAny; check(filter: NzThItemInterface): void; confirm(): void; reset(): void; onVisibleChange(value: boolean): void; emitFilterData(): void; parseListOfFilter(listOfFilter: NzTableFilterList, reset?: boolean): NzThItemInterface[]; getCheckedStatus(listOfParsedFilter: NzThItemInterface[]): boolean; constructor(cdr: ChangeDetectorRef, i18n: NzI18nService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; } export {};