import { Component, Input } from '@angular/core';
import { AnnotationWrapper } from '@models/file/annotation.wrapper';
import { MultiSelectService } from '../../services/multi-select.service';
import { annotationTypesTranslations } from '@translations/annotation-types-translations';
import { Roles } from '@users/roles';

@Component({
    selector: 'redaction-annotation-card',
    templateUrl: './annotation-card.component.html',
    styleUrls: ['./annotation-card.component.scss'],
})
export class AnnotationCardComponent {
    readonly roles = Roles;
    readonly annotationTypesTranslations = annotationTypesTranslations;
    @Input() annotation: AnnotationWrapper;
    @Input() isSelected = false;

    constructor(readonly multiSelectService: MultiSelectService) {}
}
