import { OverlayModule } from '@angular/cdk/overlay'; import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { TranslateModule } from '@ngx-translate/core'; import { PipelineComponentFactoryService, YapCoreModule, YapDashboardModule, YapSelectModule } from '@onepoint-yap/dashboard'; import { FilterNode } from '@onepoint-yap/dashboard/pipeline-components/filter/node-class/filter-node.class'; import { FilterComponent } from './component/filter.component'; @NgModule({ imports: [ CommonModule, TranslateModule.forChild(), FormsModule, OverlayModule, YapCoreModule, YapDashboardModule, YapSelectModule ], declarations: [FilterComponent], exports: [FilterComponent] }) export class YapPipelineFilterModule { constructor(pipelineComponentFactoryService: PipelineComponentFactoryService) { pipelineComponentFactoryService.addType('Filter', FilterComponent, FilterNode); } }