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 { OutputDatasetDefinitionComponent } from './component/output-dataset-definition.component'; import { OutputDatasetDefinitionNode } from './node-class/output-dataset-definition-node.class'; @NgModule({ imports: [ CommonModule, TranslateModule.forChild(), FormsModule, OverlayModule, YapCoreModule, YapDashboardModule, YapSelectModule ], declarations: [OutputDatasetDefinitionComponent], exports: [OutputDatasetDefinitionComponent] }) export class YapPipelineOutputDatasetDefinitionModule { constructor(pipelineComponentFactoryService: PipelineComponentFactoryService) { pipelineComponentFactoryService.addType( 'OutputDatasetDefinition', OutputDatasetDefinitionComponent, OutputDatasetDefinitionNode ); } }