import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { MatIcon } from '@angular/material/icon';
import { MatTooltip } from '@angular/material/tooltip';
import { NgIf } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { DatePipe } from '@shared/pipes/date.pipe';

@Component({
    selector: 'redaction-file-stats',
    templateUrl: './file-stats.component.html',
    changeDetection: ChangeDetectionStrategy.OnPush,
    standalone: true,
    imports: [MatIcon, MatTooltip, NgIf, TranslateModule, DatePipe],
})
export class FileStatsComponent {
    @Input() file: { numberOfPages: number; excludedPages: number[]; lastOCRTime?: string };
}
