33 * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
44 */
55
6+ import { NgForOf , NgIf , NgTemplateOutlet } from '@angular/common' ;
67import {
78 ChangeDetectionStrategy ,
89 ChangeDetectorRef ,
@@ -17,14 +18,21 @@ import {
1718 TemplateRef ,
1819 ViewEncapsulation
1920} from '@angular/core' ;
21+ import { FormsModule } from '@angular/forms' ;
2022import { Subject } from 'rxjs' ;
2123import { takeUntil } from 'rxjs/operators' ;
2224
25+ import { NzButtonModule } from 'ng-zorro-antd/button' ;
26+ import { NzCheckboxModule } from 'ng-zorro-antd/checkbox' ;
2327import { NzSafeAny } from 'ng-zorro-antd/core/types' ;
2428import { arraysEqual } from 'ng-zorro-antd/core/util' ;
29+ import { NzDropDownModule } from 'ng-zorro-antd/dropdown' ;
2530import { NzI18nService , NzTableI18nInterface } from 'ng-zorro-antd/i18n' ;
31+ import { NzIconModule } from 'ng-zorro-antd/icon' ;
32+ import { NzRadioComponent } from 'ng-zorro-antd/radio' ;
2633
2734import { NzTableFilterList } from '../table.types' ;
35+ import { NzFilterTriggerComponent } from './filter-trigger.component' ;
2836
2937interface NzThItemInterface {
3038 text : string ;
@@ -74,7 +82,20 @@ interface NzThItemInterface {
7482 </nz-dropdown-menu>
7583 </ng-container>
7684 ` ,
77- host : { class : 'ant-table-filter-column' }
85+ host : { class : 'ant-table-filter-column' } ,
86+ imports : [
87+ NgTemplateOutlet ,
88+ NgIf ,
89+ NzFilterTriggerComponent ,
90+ NzIconModule ,
91+ NzDropDownModule ,
92+ NgForOf ,
93+ NzRadioComponent ,
94+ NzCheckboxModule ,
95+ FormsModule ,
96+ NzButtonModule
97+ ] ,
98+ standalone : true
7899} )
79100export class NzTableFilterComponent implements OnChanges , OnDestroy , OnInit {
80101 @Input ( ) contentTemplate : TemplateRef < NzSafeAny > | null = null ;
0 commit comments