import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { UiBackLinkModule } from '@ui/back-link/back-link.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 { InformativRapportViewComponent } from './informativ-rapport-view.component';
import { InformativRapportViewService } from './informativ-rapport-view.service';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [InformativRapportViewComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: InformativRapportViewComponent }]),
    LayoutModule,
    ReportLayoutModule,
    UiBackLinkModule,
    UiLoaderModule,
    UiSkeletonModule,
  ],
  providers: [InformativRapportViewService],
  exports: [InformativRapportViewComponent],
})
export class InformativRapportViewModule {}
