import { ChangeDetectionStrategy, Component, input } from '@angular/core';
import { DatePipe } from '@angular/common';
import { TranslatePipe } from '../../../../../i18n/translate.pipe';
import { CardComponent } from '../../../../../shared/ui/card/card.component';
import { DashboardMetricComponent } from '../../../dashboard/components/dashboard-metric.component';
import { AdminModerationDashboardStats } from '../../facade/admin-moderation.facade';

@Component({
  selector: 'app-moderation-dashboard',
  standalone: true,
  imports: [TranslatePipe, DatePipe, CardComponent, DashboardMetricComponent],
  templateUrl: './moderation-dashboard.component.html',
  styleUrl: './moderation-dashboard.component.scss',
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ModerationDashboardComponent {
  readonly stats = input.required<AdminModerationDashboardStats>();
}
