import { NgModule } from '@angular/core';
import { PdfViewerComponent } from './pdf-viewer.component';
import { CommonModule } from '@angular/common';
import { CompareFileInputComponent } from './components/compare-file-input/compare-file-input.component';
import { PageRotationService } from './services/page-rotation.service';
import { REDAnnotationManager } from './services/annotation-manager.service';
import { PdfViewer } from './services/pdf-viewer.service';
import { TooltipsService } from './services/tooltips.service';
import { ViewerHeaderService } from './services/viewer-header.service';
import { PaginatorComponent } from './components/paginator/paginator.component';
import { MatIconModule } from '@angular/material/icon';
import { AnnotationDrawService } from './services/annotation-draw.service';
import { REDDocumentViewer } from './services/document-viewer.service';
import { ReadableRedactionsService } from './services/readable-redactions.service';
import { LayersService } from './services/layers.service';

@NgModule({
    declarations: [PdfViewerComponent, CompareFileInputComponent, PaginatorComponent],
    exports: [PdfViewerComponent],
    imports: [CommonModule, MatIconModule],
    providers: [
        PdfViewer,
        REDDocumentViewer,
        REDAnnotationManager,
        PageRotationService,
        TooltipsService,
        LayersService,
        ReadableRedactionsService,
        ViewerHeaderService,
        AnnotationDrawService,
    ],
})
export class PdfViewerModule {}
