import { NgIf } from '@angular/common';
import { Component } from '@angular/core';
import { EmptyStateComponent } from '@common-ui/empty-state';
import { TranslateModule } from '@ngx-translate/core';
import { PdfViewer } from '../../../pdf-viewer/services/pdf-viewer.service';
import { DocumentInfoService } from '../../services/document-info.service';
import { FilePreviewStateService } from '../../services/file-preview-state.service';
import { DocumentInfoComponent } from '../document-info/document-info.component';
import { FileWorkloadComponent } from '../file-workload/file-workload.component';
import { getConfig } from '@iqser/common-ui';

@Component({
    selector: 'redaction-file-preview-right-container',
    templateUrl: './file-preview-right-container.component.html',
    styleUrls: ['./file-preview-right-container.component.scss'],
    standalone: true,
    imports: [EmptyStateComponent, NgIf, TranslateModule, DocumentInfoComponent, FileWorkloadComponent],
})
export class FilePreviewRightContainerComponent {
    readonly isDocumine = getConfig().IS_DOCUMINE;
    constructor(
        readonly pdf: PdfViewer,
        readonly state: FilePreviewStateService,
        readonly documentInfoService: DocumentInfoService,
    ) {}
}
