import { Component, EventEmitter, Input, Output } from '@angular/core'; import { MatIconModule } from '@angular/material/icon'; export type UploadSource = 'file' | 'sql'; @Component({ imports: [MatIconModule], selector: 'app-source-selection', styleUrl: './source-selection.scss', templateUrl: './source-selection.html', }) export class SourceSelectionComponent { @Input() source: UploadSource | null = null; @Output() readonly sourceChange = new EventEmitter(); }