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 { GemensamPlaneringViewComponent } from './gemensam-planering-view.component';
import { GemensamPlaneringViewService } from './gemensam-planering-view.service';

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