import {CUSTOM_ELEMENTS_SCHEMA, NgModule, NO_ERRORS_SCHEMA} from '@angular/core';
import {CommonModule} from '@angular/common';
import {PipeModule} from '../shared/pipe/pipe.module';
import {RouterModule} from '@angular/router';
import {NgxEchartsModule} from 'ngx-echarts';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {DragulaModule} from 'ng2-dragula';
import {ContractManagementComponent} from './contract-management/contract-management.component';
import {CostManagementComponent} from './cost-management/cost-management.component';
import {InfoProjectManagementComponent} from './info-project-management/info-project-management.component';
import {ServicePersonnelComponent} from './service-personnel/service-personnel.component';
import {ServiceUnitComponent} from './service-unit/service-unit.component';
import {InformationProjectService} from './information-project.service';
import {FullScreenComponent} from '../modal/full-screen/full-screen.component';

@NgModule({
    imports: [
        CommonModule,
        PipeModule,
        RouterModule,
        CommonModule,
        NgxEchartsModule,
        FormsModule,
        ReactiveFormsModule,
        NgZorroAntdModule.forRoot(),
        DragulaModule.forRoot(),
    ],
    providers: [
        InformationProjectService
    ],
    declarations: [
        ContractManagementComponent,
        CostManagementComponent,
        InfoProjectManagementComponent,
        ServicePersonnelComponent,
        ServiceUnitComponent,
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
})
export class InformationProjectModule {
}
