import { Route } from '@angular/router';

import { HomeRoutes } from './home/index';
import { MapSettingsRoutes } from './map-settings/index';
import { CameraSettingsRoutes } from './camera-settings/index';
import { ChartRoutes } from './charts/index';
import { BlankPageRoutes } from './blank-page/index';
import { TableRoutes } from './tables/index';
import { FormRoutes } from './forms/index';
import { GridRoutes } from './grid/index';
import { BSComponentRoutes } from './bs-component/index';
import { BSElementRoutes } from './bs-element/index';

import { DashboardComponent } from './index';

export const DashboardRoutes: Route[] = [
  	{
    	path: 'dashboard',
    	component: DashboardComponent,
    	children: [
	    	...HomeRoutes,
            ...MapSettingsRoutes,
            ...CameraSettingsRoutes,
	    	...ChartRoutes,
	    	...BSComponentRoutes,
            ...TableRoutes,
	    	...BlankPageRoutes,
            ...FormRoutes,
            ...GridRoutes,
            ...BSElementRoutes
    	]
  	}
];

import { Route } from '@angular/router';

import { HomeRoutes } from './home/index';
import { MapSettingsRoutes } from './map-settings/index';
import { CameraSettingsRoutes } from './camera-settings/index';
import { RealtimeStatisticRoutes } from './realtime-statistic/index';
// import { ChartRoutes } from './charts/index';
// import { BlankPageRoutes } from './blank-page/index';
// import { TableRoutes } from './tables/index';
// import { FormRoutes } from './forms/index';
// import { GridRoutes } from './grid/index';
// import { BSComponentRoutes } from './bs-component/index';
// import { BSElementRoutes } from './bs-element/index';

import { DashboardComponent } from './index';

export const DashboardRoutes: Route[] = [
  	{
    	path: 'dashboard',
    	component: DashboardComponent,
    	children: [
	    	...HomeRoutes,

            // Settings Components
            ...MapSettingsRoutes,
            ...CameraSettingsRoutes,

            // Statistic Component
            ...RealtimeStatisticRoutes,

	    	// ...ChartRoutes,
	    	// ...BSComponentRoutes,
      //       ...TableRoutes,
	    	// ...BlankPageRoutes,
      //       ...FormRoutes,
      //       ...GridRoutes,
      //       ...BSElementRoutes
    	]
  	}
];

Add realtimeStatistic component Comment unused components
Add realtimeStatistic component
Comment unused components
