import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {UniversitiesComponent} from './universities/universities.component';
import {CitiesComponent} from './cities/cities.component';
import {RouterModule} from '@angular/router';
import {BasicsRoutes} from './basics.routing';
import {FlexLayoutModule} from '@angular/flex-layout';
import {
  MatAutocompleteModule,
  MatButtonModule,
  MatCardModule, MatCheckboxModule,
  MatDatepickerModule,
  MatFormFieldModule,
  MatGridListModule,
  MatIconModule,
  MatInputModule, MatMenuModule,
  MatOptionModule, MatProgressBarModule,
  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 { UnitesComponent } from './unites/unites.component';

@NgModule({
  imports: [
    MatDatepickerModule,
    MatMenuModule,
    LoadingModule,
    MatInputModule,
    MatFormFieldModule,
    MatCardModule,
    MatButtonModule,
    MatCheckboxModule,
    NgxDatatableModule,
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    RouterModule.forChild(BasicsRoutes),
    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: [UniversitiesComponent,
    CitiesComponent,
    UnitesComponent]
})
export class BasicsModule {
}
