<?php

declare(strict_types=1);

namespace ImovelZapAi\Analytics\Domain\Enums;

enum WidgetType: string
{
    case KpiCards = 'kpi_cards';
    case Funnel = 'funnel';
    case Ranking = 'ranking';
    case PeriodCompare = 'period_compare';
    case AlertsList = 'alerts_list';
    case VisitsCalendarStub = 'visits_calendar_stub';

    public function label(): string
    {
        return match ($this) {
            self::KpiCards => 'Indicadores principais',
            self::Funnel => 'Funil',
            self::Ranking => 'Ranking',
            self::PeriodCompare => 'Comparativo de período',
            self::AlertsList => 'Alertas',
            self::VisitsCalendarStub => 'Calendário de visitas',
        };
    }
}
