import { Component, Input, Output, EventEmitter } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ColorAnalysisResult } from '../../services/color-analysis.service';
import { CadAnalysisResult } from '../../services/cad-analysis.service';

@Component({
  selector: 'app-full-report-overlay',
  standalone: true,
  imports: [CommonModule],
  templateUrl: './full-report-overlay.component.html',
  styleUrls: ['./full-report-overlay.component.scss']
})
export class FullReportOverlayComponent {
  @Input() visible = false;
  @Input() colorResult?: ColorAnalysisResult;
  @Input() cadResult?: CadAnalysisResult;
  @Output() close = new EventEmitter<void>();

  onClose(): void {
    this.close.emit();
  }
}