import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { LeafletModule } from "@asymmetrik/ngx-leaflet";

import { ChartsModule } from 'ng2-charts';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import { AngularMyDatePickerModule } from 'angular-mydatepicker';



import { AdminLayoutRoutes } from './admin.routing';
import { DashboardComponent } from '../../components/dashboard/dashboard.component';
import { ProfileComponent } from '../../components/profile/profile.component';
import { AssetsComponent } from '../../components/assets/assets.component';
import { OrganizationsComponent } from '../../components/organizations/organizations.component';
import { OrganizationComponent } from '../../components/organizations/organization/organization.component';
import { NewOrganizationComponent } from '../../components/organizations/new-organization/new-organization.component';
import { EditOrganizationComponent } from '../../components/organizations/edit-organization/edit-organization.component';
import { PlantsComponent } from '@app/components/plants/plants.component';
import { EditPlantComponent } from '@app/components/plants/edit-plant/edit-plant.component';
import { NewPlantComponent } from '@app/components/plants/new-plant/new-plant.component';
import { UsersComponent } from '@app/components/users/users.component';
import { NewUserComponent } from '@app/components/users/new-user/new-user.component';


import { PluginsModule } from '../../components/plugins/plugins.module';

import {
  MatButtonModule,
  MatInputModule,
  MatRippleModule,
  MatFormFieldModule,
  MatTooltipModule,
  MatSelectModule,
  MatExpansionModule,
  MatTableModule,
  MatPaginatorModule,
  MatProgressSpinnerModule,
  MatSortModule

} from '@angular/material';

import { BreadcrumbModule, IconsModule } from 'angular-bootstrap-md'


@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(AdminLayoutRoutes),
    FormsModule,
    ReactiveFormsModule,
    MatButtonModule,
    MatRippleModule,
    MatFormFieldModule,
    MatInputModule,
    MatSelectModule,
    MatTooltipModule,
    MatExpansionModule,
    MatTableModule,
    MatPaginatorModule,
    MatProgressSpinnerModule,
    MatSortModule,
    PluginsModule,
    LeafletModule,
    ChartsModule,
    NgbModule,
    AngularMyDatePickerModule
  ],
  declarations: [
    DashboardComponent,
    ProfileComponent,
    AssetsComponent,
    OrganizationsComponent,
    OrganizationComponent,
    NewOrganizationComponent,
    EditOrganizationComponent,
    PlantsComponent,
    EditPlantComponent,
    NewPlantComponent,
    UsersComponent,
    NewUserComponent
  ]
})

export class AdminModule {}
