import { NgModule } from '@angular/core';
import { CommonModule, LocationStrategy, HashLocationStrategy } from '@angular/common';

import { DashboardComponent } from './dashboard.component';
import { WorkareaComponent } from './workarea/workarea.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgxPaginationModule } from 'ngx-pagination';
import { NgxSpinnerModule } from 'ngx-spinner';
import { SharedModule } from '../Shared/shared.module';
import { OrderModule } from 'ngx-order-pipe';
import { JobstatusreportComponent } from './jobstatusreport/jobstatusreport.component';
import { MyjobsComponent } from './myjobs/myjobs.component';
import { JobassignmentComponent } from './jobassignment/jobassignment.component';
import { MailboxComponent } from './mailbox/mailbox.component';
import { AngularDraggableModule } from 'angular2-draggable';
import { DashboardRoutingModule } from './dashboard.routing.module';
import { AgGridModule } from 'ag-grid-angular';
import { AuthordashboardComponent } from './authordashboard/authordashboard.component';
import { ModalModule, BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
import { CompletionPopupComponent } from './completionPopup/completionPopup.component';
import {MatDialogModule} from "@angular/material";
import { DatePipe } from '@angular/common';
import { BsDatepickerModule } from 'ngx-bootstrap';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import { DxDataGridModule,DxButtonModule } from 'devextreme-angular';
import { RecorderrorinfoComponent } from './recorderrorinfo/recorderrorinfo.component';
@NgModule({
  declarations: [
    DashboardComponent,
    WorkareaComponent,
    JobstatusreportComponent,
    MyjobsComponent,
    JobassignmentComponent,
    MailboxComponent,
    AuthordashboardComponent,
    CompletionPopupComponent,
    RecorderrorinfoComponent
  ],
  imports: [
    CommonModule,
    FormsModule,
    OrderModule,
    NgxSpinnerModule,
    NgxPaginationModule,
    ReactiveFormsModule,
    DashboardRoutingModule,
    SharedModule,
    AngularDraggableModule,
    ModalModule,
    MatDialogModule,
    AgGridModule.withComponents(null),
    BsDatepickerModule.forRoot(),
    NgbModule,
    DxDataGridModule,
    DxButtonModule 
  ],
  providers:[BsModalRef, DatePipe],
  entryComponents: [CompletionPopupComponent]

})
export class DashboardModule { }
