import { NgModule, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ClarityModule } from '@clr/angular';
import { GridsterModule } from 'angular-gridster2';
import { NgChartsModule } from 'ng2-charts';
import { DynamicModule } from 'ng-dynamic-component';

import { ShieldDashboardRoutingModule } from './shield-dashboard-routing.module';
import { ShieldDashboardComponent } from './shield-dashboard.component';
import { SidebarFiltersComponent } from './components/sidebar-filters/sidebar-filters.component';
import { BarChartComponent } from './components/bar-chart/bar-chart.component';
import { DonutChartComponent } from './components/donut-chart/donut-chart.component';
import { MapChartComponent } from './components/map-chart/map-chart.component';
import { DataTableComponent } from './components/data-table/data-table.component';
import { DealDetailsCardComponent } from './components/deal-details-card/deal-details-card.component';
import { QuarterwiseFlowComponent } from './components/quarterwise-flow/quarterwise-flow.component';
import { LoadingShimmerComponent } from './components/loading-shimmer/loading-shimmer.component';

@NgModule({
  declarations: [
    ShieldDashboardComponent,
    SidebarFiltersComponent,
    BarChartComponent,
    DonutChartComponent,
    MapChartComponent,
    DataTableComponent,
    DealDetailsCardComponent,
    QuarterwiseFlowComponent,
    LoadingShimmerComponent
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    ClarityModule,
    GridsterModule,
    NgChartsModule,
    DynamicModule,
    ShieldDashboardRoutingModule
  ],
  schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
})
export class ShieldDashboardModule { }