import { RhSharedModule } from 'rh-base/shared'; import { NgModule } from '@angular/core'; import { DragDropModule } from '@angular/cdk/drag-drop'; import { RhFactoryLayoutService } from './factory-layout.service'; import { RhFactoryInfoSettingComponent } from './factory-info-setting/factory-info-setting.component'; import { RhOrganizationStructureSettingComponent } from './organization-structure-setting/organization-structure-setting.component'; import { RhOperateStationSettingComponent } from './operate-station-setting/operate-station-setting.component'; import { SharedModule } from '../shared/shared.module'; import { NzCalendarModule } from 'ng-zorro-antd/calendar'; import { RhWorkshopLineInfoSettingComponent } from './workshop-line-info-setting/workshop-line-info-setting.component'; import { RhWorkCenterSettingComponent } from './work-center-setting/work-center-setting.component'; import { RhWorkCenterInfosEditComponent } from './work-center-setting/snippets/work-center-infos-edit/work-center-infos-edit.component'; import { RhWorkCenterExtEditComponent } from './work-center-setting/snippets/work-center-ext-edit/work-center-ext-edit.component'; import { OrganizationExportComponent } from './organization-structure-setting/organization-export/organization-export.component'; const COMPONENTS = [ RhFactoryInfoSettingComponent, RhOrganizationStructureSettingComponent, RhOperateStationSettingComponent, RhWorkshopLineInfoSettingComponent, RhWorkCenterSettingComponent, RhWorkCenterInfosEditComponent, RhWorkCenterExtEditComponent ]; @NgModule({ imports: [RhSharedModule, NzCalendarModule, DragDropModule, SharedModule], declarations: [...COMPONENTS, OrganizationExportComponent], exports: [...COMPONENTS], providers: [RhFactoryLayoutService] }) export class RhFactoryLayoutModule {}