import { RhSharedManageModule } from './../../shared-manage/shared-manage.module'; import { NgModule } from '@angular/core'; import { RhSharedModule } from 'rh-base/shared'; import { RhInventoryLockComponent } from './inventory-lock/inventory-lock.component'; import { RhInventoryControlService } from './inventory-control.service'; import { MaterialInventoryDetailsTableComponent } from './snippets/material-inventory-details-table/material-inventory-details-table.component'; import { RhTotalInventoryImportComponent } from './inventory-init/total-inventory-import/total-inventory-import.component'; import { RhInventoryDetailsImportComponent } from './inventory-init/inventory-details-import/inventory-details-import.component'; import { InventoryImportComponent } from './inventory-init/inventory-import/inventory-import.component'; import { RhInventorySearchModule } from '../inventory-search/inventory-search.module'; const COMMPONENTS = [ RhInventoryLockComponent, RhTotalInventoryImportComponent, RhInventoryDetailsImportComponent, InventoryImportComponent ]; const SNIPPETS = [MaterialInventoryDetailsTableComponent]; @NgModule({ declarations: [...COMMPONENTS, ...SNIPPETS], providers: [RhInventoryControlService], imports: [RhSharedModule, RhSharedManageModule, RhInventorySearchModule] }) export class RhInventoryControlModule {}