import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule} from '@angular/router';
import {PentestComponent} from './pentest.component';
import {NbButtonModule, NbCardModule, NbLayoutModule, NbSelectModule, NbTabsetModule, NbTreeGridModule} from '@nebular/theme';
import {PentestHeaderComponent} from './pentest-header/pentest-header.component';
import {PentestContentComponent} from './pentest-content/pentest-content.component';
import {FlexLayoutModule} from '@angular/flex-layout';
import {FontAwesomeModule} from '@fortawesome/angular-fontawesome';
import {TranslateModule} from '@ngx-translate/core';
import {StatusTagModule} from '@shared/widgets/status-tag/status-tag.module';
import {PentestInfoComponent} from './pentest-content/pentest-info/pentest-info.component';
import {PentestFindingsComponent} from './pentest-content/pentest-findings/pentest-findings.component';
import {PentestCommentsComponent} from './pentest-content/pentest-comments/pentest-comments.component';
import {CommonAppModule} from '../common-app.module';
import {SeverityTagModule} from '@shared/widgets/severity-tag/severity-tag.module';
import {FindingDialogModule} from '@shared/modules/finding-dialog/finding-dialog.module';
import {CommentDialogModule} from '@shared/modules/comment-dialog/comment-dialog.module';
import {FindigWidgetModule} from '@shared/widgets/findig-widget/findig-widget.module';

@NgModule({
  declarations: [
    PentestComponent,
    PentestHeaderComponent,
    PentestContentComponent,
    PentestInfoComponent,
    PentestFindingsComponent,
    PentestCommentsComponent
  ],
    imports: [
        CommonModule,
        CommonAppModule,
        RouterModule.forChild([{
            path: '',
            component: PentestComponent
        }]),
        NbLayoutModule,
        NbCardModule,
        FlexLayoutModule,
        FontAwesomeModule,
        TranslateModule,
        NbButtonModule,
        StatusTagModule,
        NbTabsetModule,
        NbTreeGridModule,
        SeverityTagModule,
        NbSelectModule,
        // Dialog Modules
        FindingDialogModule,
        CommentDialogModule,
        FindigWidgetModule,
    ]
})
export class PentestModule {
}
