update to filament v4
This commit is contained in:
1 parent
38e841bd73
commit
4b4c8427d8
59 files changed
+2559
-1982
No files matched your search
@@ -8,5 +8,5 @@ use Filament\Support\Icons\Heroicon;
|
||||
|
||||
class MaintenanceCluster extends Cluster
|
||||
{
|
||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedSquares2x2;
|
||||
protected static string | \BackedEnum | null $navigationIcon = Heroicon::OutlinedSquares2x2;
|
||||
}
|
||||
@@ -19,11 +19,11 @@ class EventResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-goal';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-goal';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Data';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Data';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ use UnitEnum;
|
||||
|
||||
class Monitor extends Page
|
||||
{
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-monitor';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-monitor';
|
||||
|
||||
protected string $view = 'filament.pages.monitor';
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@ class BookmakerResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 21;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-notebook-pen';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-notebook-pen';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Administration';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@@ -19,11 +19,11 @@ class ClientResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 32;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-square-user';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-square-user';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'User Management';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'User Management';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@@ -26,11 +26,11 @@ class CountryResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 22;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-flag';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-flag';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Administration';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
|
||||
@@ -19,11 +19,11 @@ class ProviderResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 23;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-arrow-down-up';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-arrow-down-up';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Administration';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
|
||||
@@ -22,11 +22,11 @@ class SportResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 24;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-volleyball';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-volleyball';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Administration';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
|
||||
@@ -17,11 +17,11 @@ class SupervisorResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Supervisor::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-sliders-vertical';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-sliders-vertical';
|
||||
|
||||
protected static ?int $navigationSort = 20;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Administration';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
|
||||
@@ -19,13 +19,13 @@ class UserResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 31;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-user';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'lucide-user';
|
||||
|
||||
protected static ?string $cluster = MaintenanceCluster::class;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'User Management';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'User Management';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user