import { ChangeDetectionStrategy, Component, input } from '@angular/core';
import { RouterLink } from '@angular/router';
import { TranslatePipe } from '../../../../i18n/translate.pipe';
import { IconComponent } from '../../../../shared/ui/icon/icon.component';
import { AppIconName } from '../../../../shared/ui/icon/icon-registry';

@Component({
  selector: 'app-dashboard-shortcut-card',
  standalone: true,
  imports: [RouterLink, TranslatePipe, IconComponent],
  templateUrl: './dashboard-shortcut-card.component.html',
  styleUrl: './dashboard-shortcut-card.component.scss',
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DashboardShortcutCardComponent {
  readonly icon = input.required<AppIconName>();
  readonly labelKey = input.required<string>();
  readonly descriptionKey = input<string | null>(null);
  readonly route = input<string[] | null>(null);
  readonly comingSoon = input(false);
}
