<?php

namespace App\Filament\Pages;

use App\Filament\Widgets\AlertasStockBodegasWidget;
use Filament\Pages\Page;

class GestionDashboard extends Page
{
    protected static ?string $navigationIcon = 'heroicon-o-chart-bar';

    protected static ?string $navigationGroup = 'Gestión';
    protected static ?int $navigationSort = 1;

    protected static ?string $title = 'Dashboard de Gestión';

    protected static string $view = 'filament.pages.gestion-dashboard';

    protected function getHeaderWidgets(): array
    {
        return [
            \App\Filament\Widgets\GestionKpisWidget::class,
            \App\Filament\Widgets\AlertasStockBodegasWidget::class,
        ];
    }

    // ESTO CONTROLA EL ANCHO DE LOS WIDGETS
    // protected function getHeaderWidgetsColumns(): int | array
    // {
    //     return 12;
    // }
}
