import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DashboardScreenComponent } from './dashboard-screen/dashboard-screen.component';
import { RouterModule } from '@angular/router';
import { SharedModule } from '@shared/shared.module';
import { TemplateStatsComponent } from './components/template-stats/template-stats.component';
import { BreadcrumbTypes } from '@red/domain';
import { TranslateModule } from '@ngx-translate/core';
import { IconButtonComponent, IqserHelpModeModule, IqserRoutes } from '@iqser/common-ui';

const routes: IqserRoutes = [
    {
        path: '',
        component: DashboardScreenComponent,
        data: {
            breadcrumbs: [BreadcrumbTypes.dashboard],
        },
    },
];

@NgModule({
    declarations: [DashboardScreenComponent, TemplateStatsComponent],
    imports: [RouterModule.forChild(routes), CommonModule, SharedModule, TranslateModule, IqserHelpModeModule, IconButtonComponent],
})
export class DashboardModule {}
