import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { BackLinkModule } from '@msfa-shared/components/back-link/back-link.module';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { UiLoaderModule } from '@ui/loader/loader.module';
import { UiSkeletonModule } from '@ui/skeleton/skeleton.module';
import { ReportLayoutModule } from '../../../components/report-layout/report-layout.module';
import { FranvaroReportViewComponent } from './franvaro-report-view.component';
import { FranvaroReportViewService } from './franvaro-report-view.service';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [FranvaroReportViewComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: FranvaroReportViewComponent }]),
    LayoutModule,
    ReportLayoutModule,
    BackLinkModule,
    UiLoaderModule,
    UiSkeletonModule,
  ],
  providers: [FranvaroReportViewService],
  exports: [FranvaroReportViewComponent],
})
export class FranvaroReportViewModule {}
