import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RequestsComponent } from './requests/requests.component';
import {RouterModule} from '@angular/router';
import {RequestRoutes} from './requests.routing';
import {FlexLayoutModule} from '@angular/flex-layout';
import {
  MatAutocompleteModule,
  MatButtonModule,
  MatCardModule, MatCheckboxModule,
  MatDatepickerModule, MatDialogModule,
  MatFormFieldModule,
  MatGridListModule,
  MatIconModule,
  MatInputModule, MatMenuModule,
  MatOptionModule, MatProgressBarModule, MatRadioModule,
  MatSelectModule, MatTabsModule
} from '@angular/material';
import {HttpClientModule} from '@angular/common/http';
import {FileUploadModule} from 'ng2-file-upload';
import {AgmCoreModule} from '@agm/core';
import {LoadingModule} from 'ngx-loading';
import {NgxDatatableModule} from '@swimlane/ngx-datatable';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import { RequestregisterComponent } from './requestregister/requestregister.component';

@NgModule({
  imports: [
    MatDialogModule,
    MatRadioModule,
    MatDatepickerModule,
    MatMenuModule,
    LoadingModule,
    MatInputModule,
    MatFormFieldModule,
    MatCardModule,
    MatButtonModule,
    MatCheckboxModule,
    NgxDatatableModule,
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    CommonModule,
    RouterModule.forChild(RequestRoutes),
    FlexLayoutModule,
    MatInputModule,
    MatOptionModule,
    MatSelectModule,
    MatIconModule,
    MatDatepickerModule,
    MatGridListModule,
    HttpClientModule,
    FileUploadModule,
    AgmCoreModule,
    LoadingModule,
    MatInputModule,
    MatFormFieldModule,
    MatCardModule,
    MatButtonModule,
    MatCheckboxModule,
    NgxDatatableModule,
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    FlexLayoutModule,
    MatInputModule,
    MatOptionModule,
    MatSelectModule,
    MatIconModule,
    MatTabsModule,
    MatAutocompleteModule,
    MatProgressBarModule
  ],
  declarations: [RequestsComponent, RequestregisterComponent]
})
export class RequestsModule { }
