diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 4c700e29..2a6d3137 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -67,7 +67,7 @@ class Statistic extends BaseDashboard case 'season_or_date': $this->filters[$filter] = 'season'; break; - default; + default: $this->filters[$filter] = null; break; } @@ -94,32 +94,42 @@ class Statistic extends BaseDashboard ->modalCancelAction(false) // Optional: hides the cancel button too ->label('Calculate') ->icon('icon-player') - ->color(fn(): string => $this->filters['team_id'] ? 'primary' : 'gray') - ->disabled(fn(): string => $this->filters['team_id'] ? false : true) + ->color(fn (): string => $this->filters['team_id'] ? 'primary' : 'gray') + ->disabled(fn (): string => $this->filters['team_id'] ? false : true) ->slideOverPosition(SlideOverPosition::Start) ->modalWidth(Width::SevenExtraLarge) ->slideOver() ->schema([ Grid::make(2) ->extraAttributes([ - 'class' => 'justify-between w-full gap-4' + 'class' => 'justify-between w-full gap-4', ]) ->schema([ ToggleButtons::make('status') + ->live() ->hiddenLabel() ->multiple() ->inline() + ->default('attack') ->options([ 'attack' => 'Attack', 'midfield' => 'Midfield', 'defence' => 'Defence', 'goalkeeper' => 'Goalkeeper', - ])->icons([ - 'attack' => 'phosphor-lightning', - 'midfield' => 'phosphor-align-center-horizontal-simple', - 'defence' => 'phosphor-shield', - 'goalkeeper' => 'phosphor-barricade', - ]), + ]) + ->colors([ + 'attack' => 'warning', + 'midfield' => 'info', + 'defence' => 'success', + 'goalkeeper' => 'gray', + ]) + ->afterStateUpdated(function (ToggleButtons $component, $state, $livewire) { + // 1. Fetch the enabled options array + $livewireComponent = $component->getLivewire(); + $data = json_encode($livewireComponent->mountedActions); + $livewire->js('toggle_type(\''.$data.'\')'); + + }), Grid::make(5) ->schema([ Action::make('restart') @@ -141,11 +151,11 @@ class Statistic extends BaseDashboard ->icon('phosphor-calculator'), ]) ->extraAttributes([ - 'class' => 'flex justify-center items-center gap-0' - ]) - ]) + 'class' => 'flex justify-center items-center gap-0', + ]), + ]), ]) - ->modalContentFooter(view('filament.modals.player-calculator-modal', ['filters' => $this->filters])) + ->modalContentFooter(view('filament.modals.player-calculator-modal', ['filters' => $this->filters])), ]; } @@ -183,10 +193,10 @@ class Statistic extends BaseDashboard ->live() ->preload() ->searchable(false) - ->prefixIconColor(fn(Get $get): string => $get('sofascore_category_id') ? 'success' : 'danger') + ->prefixIconColor(fn (Get $get): string => $get('sofascore_category_id') ? 'success' : 'danger') ->prefixIcon('phosphor-globe-fill') ->hiddenLabel() - ->options(fn() => LoadSofaScoreCategory::load()) + ->options(fn () => LoadSofaScoreCategory::load()) ->placeholder('Country') ->afterStateUpdated(function (callable $set, $state) { $set('seasonmode', SofaScoreCategory::where('id', $state)->value('season_mode')); @@ -199,10 +209,10 @@ class Statistic extends BaseDashboard Select::make('league_id') ->live() ->preload() - ->prefixIconColor(fn(Get $get): string => $get('league_id') ? 'success' : 'danger') + ->prefixIconColor(fn (Get $get): string => $get('league_id') ? 'success' : 'danger') ->prefixIcon('phosphor-trophy-fill') ->hiddenLabel() - ->options(fn(Get $get) => LoadStatisticFixturesLeaguesOptions::load($get('sofascore_category_id'))) + ->options(fn (Get $get) => LoadStatisticFixturesLeaguesOptions::load($get('sofascore_category_id'))) ->placeholder('League') ->afterStateUpdated(function (callable $set) { $set('match_id', null); @@ -213,7 +223,7 @@ class Statistic extends BaseDashboard Select::make('match_id') ->live() ->hiddenLabel() - ->prefixIconColor(fn(Get $get): string => $get('match_id') ? 'success' : 'danger') + ->prefixIconColor(fn (Get $get): string => $get('match_id') ? 'success' : 'danger') ->prefixIcon('phosphor-calendar-check-fill') ->options(function (Get $get) { return LoadStatisticFixturesMatchOptions::load($get('league_id')); @@ -238,7 +248,7 @@ class Statistic extends BaseDashboard } }) ->prefixIcon('phosphor-users-three-fill') - ->hidden(fn(Get $get) => $get('similar_past_matches') != 'none') + ->hidden(fn (Get $get) => $get('similar_past_matches') != 'none') ->options(function (Get $get) { if ($get('match_id')) { $res = StatisticFixtures::where('id', $get('match_id'))->first(); @@ -267,9 +277,9 @@ class Statistic extends BaseDashboard Action::make('iconInfo') ->color('success') ->icon('phosphor-question-fill') - ->tooltip(fn() => 'Team Position') + ->tooltip(fn () => 'Team Position') ) - ->hidden(fn(Get $get) => $get('similar_past_matches') != 'none') + ->hidden(fn (Get $get) => $get('similar_past_matches') != 'none') ->default('all') ->selectablePlaceholder(false) ->options([ @@ -325,17 +335,17 @@ class Statistic extends BaseDashboard ->hiddenLabel() ->suffixAction(Action::make('reset') ->icon('phosphor-x-circle') - ->action(fn(callable $set) => $set('similar_past_matches', 'none')) - ->color(fn(Get $get): string => $get('similar_past_matches') != 'none' ? 'info' : 'gray')) + ->action(fn (callable $set) => $set('similar_past_matches', 'none')) + ->color(fn (Get $get): string => $get('similar_past_matches') != 'none' ? 'info' : 'gray')) ->placeholder('Similar Past Matches') - ->suffix(fn(Get $get): string|HtmlString => $get('similar_past_matches') != 'none' ? new HtmlString('
± ' . $get('accuracy') . '
') : '') + ->suffix(fn (Get $get): string|HtmlString => $get('similar_past_matches') != 'none' ? new HtmlString('
± '.$get('accuracy').'
') : '') ->prefix('SPM') ->prefixAction( Action::make('iconInfo') ->icon('phosphor-question-fill') // ->color(fn(Get $get): string => $get('similar_past_matches') != 'none' ? 'success' : 'primary') ->color('success') - ->tooltip(fn() => $this->tooltip_similar_past_matches()) + ->tooltip(fn () => $this->tooltip_similar_past_matches()) ) ->default('none') ->selectablePlaceholder(false) @@ -355,7 +365,7 @@ class Statistic extends BaseDashboard Slider::make('accuracy') ->live() ->hiddenLabel() - ->hidden(fn(Get $get) => $get('similar_past_matches') == 'none') + ->hidden(fn (Get $get) => $get('similar_past_matches') == 'none') ->fillTrack() ->minValue(0) ->maxValue(0.25) @@ -374,17 +384,17 @@ class Statistic extends BaseDashboard ->hiddenLabel() ->allowHtml() ->placeholder('Player') - ->hidden(fn(Get $get) => $get('similar_past_matches') != 'none') - ->prefixIconColor(fn(Get $get): string => $get('similar_past_matches') == 'none' ? 'success' : '') + ->hidden(fn (Get $get) => $get('similar_past_matches') != 'none') + ->prefixIconColor(fn (Get $get): string => $get('similar_past_matches') == 'none' ? 'success' : '') ->prefixIcon('icon-player') ->preload() ->searchable() - ->extraAttributes(fn() => ['id' => 'player_selector']) + ->extraAttributes(fn () => ['id' => 'player_selector']) ->suffixAction( Action::make('iconInfo') ->icon('phosphor-question-fill') ->color('success') - ->tooltip(fn() => $this->tooltip_player_info()) + ->tooltip(fn () => $this->tooltip_player_info()) ) ->options(function (Get $get) { $team_id = $get('team_id'); @@ -392,6 +402,7 @@ class Statistic extends BaseDashboard $sofascore_category_id = $get('sofascore_category_id'); $season = $get('season'); $seasonmode = $get('seasonmode'); + return LoadPlayer::load($team_id, $team_position, $sofascore_category_id, $season, $seasonmode); }), Select::make('player_on_field') @@ -400,7 +411,7 @@ class Statistic extends BaseDashboard ->placeholder('Time on field') ->prefixIcon('phosphor-watch-fill') ->default('all') - ->hidden(fn(Get $get) => ! $get('ss_player_id')) + ->hidden(fn (Get $get) => ! $get('ss_player_id')) ->prefixIconColor('success') ->selectablePlaceholder(false) ->options([ @@ -420,7 +431,7 @@ class Statistic extends BaseDashboard ->extraAttributes([ 'class' => 'radio-statistic-group', ]) - ->hidden(fn(Get $get) => $get('similar_past_matches') != 'none') + ->hidden(fn (Get $get) => $get('similar_past_matches') != 'none') ->columnSpan([ 'default' => 4, 'sm' => 4, @@ -444,7 +455,7 @@ class Statistic extends BaseDashboard ->multiple() ->placeholder('Current Season') ->prefixIconColor('success') - ->hidden(fn(Get $get) => $get('seasonmode') == 'halfyear' || $get('season_or_date') == 'date' || $get('similar_past_matches') != 'none') + ->hidden(fn (Get $get) => $get('seasonmode') == 'halfyear' || $get('season_or_date') == 'date' || $get('similar_past_matches') != 'none') ->prefixIcon('phosphor-calendar-star-fill') ->options([ '2026' => '2026', @@ -464,7 +475,7 @@ class Statistic extends BaseDashboard ->multiple() ->placeholder('Current Season') ->prefixIconColor('success') - ->hidden(fn(Get $get) => $get('seasonmode') == 'fullyear' || $get('season_or_date') == 'date' || $get('similar_past_matches') != 'none') + ->hidden(fn (Get $get) => $get('seasonmode') == 'fullyear' || $get('season_or_date') == 'date' || $get('similar_past_matches') != 'none') ->prefixIcon('phosphor-calendar-star-fill') ->options([ '26/27' => '26/27', @@ -480,30 +491,30 @@ class Statistic extends BaseDashboard DatePicker::make('start_date') ->live() ->hiddenLabel() - ->hidden(fn(Get $get) => $get('season_or_date') == 'season') + ->hidden(fn (Get $get) => $get('season_or_date') == 'season') ->native(false) - ->prefixIconColor(fn(Get $get): string => $get('start_date') ? 'success' : 'primary') + ->prefixIconColor(fn (Get $get): string => $get('start_date') ? 'success' : 'primary') ->prefixIcon('phosphor-calendar-fill') ->prefix('Start') ->suffixAction( Action::make('clear_start') ->icon('phosphor-x') ->color('gray') - ->action(fn(Set $set) => $set('start_date', null)) + ->action(fn (Set $set) => $set('start_date', null)) ), DatePicker::make('end_date') ->live() ->hiddenLabel() - ->hidden(fn(Get $get) => $get('season_or_date') == 'season') + ->hidden(fn (Get $get) => $get('season_or_date') == 'season') ->native(false) - ->prefixIconColor(fn(Get $get): string => $get('end_date') ? 'success' : 'primary') + ->prefixIconColor(fn (Get $get): string => $get('end_date') ? 'success' : 'primary') ->prefixIcon('phosphor-calendar-fill') ->prefix('End') ->suffixAction( Action::make('clear_end') ->icon('phosphor-x') ->color('gray') - ->action(fn(Set $set) => $set('end_date', null)) + ->action(fn (Set $set) => $set('end_date', null)) ), ]); } diff --git a/app/Livewire/Mapper/LoadGridPositions.php b/app/Livewire/Mapper/LoadGridPositions.php index 851474cf..10b5fab7 100644 --- a/app/Livewire/Mapper/LoadGridPositions.php +++ b/app/Livewire/Mapper/LoadGridPositions.php @@ -4,7 +4,6 @@ namespace App\Livewire\Mapper; class LoadGridPositions { - public static function load() { $arr = []; diff --git a/app/Livewire/PlayerCalculator.php b/app/Livewire/PlayerCalculator.php index a2771471..45bc3f60 100644 --- a/app/Livewire/PlayerCalculator.php +++ b/app/Livewire/PlayerCalculator.php @@ -13,6 +13,7 @@ use Livewire\Component; class PlayerCalculator extends Component { use InteractsWithPageFilters; + public $grid = []; public function mount(array $filters) @@ -25,8 +26,29 @@ class PlayerCalculator extends Component array_splice($pla, $i, 0, [$v]); $i += 2; } - $this->grid = $pla; - // dd($this->grid); + $x = 1; + $y = 1; + foreach ($pla as $ele) { + foreach ($ele as $val) { + $tmp = []; + if (is_array($val)) { + foreach ($val as $key => $value) { + $tmp[$key] = $value; + } + $tmp['type'] = ''; + } else { + $tmp['type'] = $val != 0 ? $val : ''; + } + $tmp['x'] = 104 * $x; + $tmp['y'] = 104 * $y; + $this->grid[] = $tmp; + $x++; + if ($x > 10) { + $x = 1; + $y++; + } + } + } } public static function load(array $filters) @@ -58,7 +80,7 @@ class PlayerCalculator extends Component foreach ($player as $val) { if ($val->details) { $player_id = $val->ss_player_id; - if (!isset($arr[$player_id])) { + if (! isset($arr[$player_id])) { $arr[$player_id]['player_name'] = $val->details->player_name; $arr[$player_id]['events_played_home'] = $val->events_played_home; $arr[$player_id]['events_played_away'] = $val->events_played_away; @@ -76,7 +98,6 @@ class PlayerCalculator extends Component } } - $result = []; foreach ($arr as $player_id => $val) { @@ -95,27 +116,31 @@ class PlayerCalculator extends Component break; } - $colorlevel = round($matches->count() / 3); if (in_array($val['player_position'], $positions_map['MIDFIELD'])) { $position = 'MIDFIELD'; - } else if (in_array($val['player_position'], $positions_map['DEFENCE'])) { + $position_color = 'info'; + } elseif (in_array($val['player_position'], $positions_map['DEFENCE'])) { $position = 'DEFENCE'; - } else if (in_array($val['player_position'], $positions_map['ATTACK'])) { + $position_color = 'success'; + } elseif (in_array($val['player_position'], $positions_map['ATTACK'])) { $position = 'ATTACK'; - } else if (in_array($val['player_position'], $positions_map['GOALKEEPER'])) { + $position_color = 'warning'; + } elseif (in_array($val['player_position'], $positions_map['GOALKEEPER'])) { $position = 'GOALKEEPER'; + $position_color = 'gray'; } else { $position = 'NO SPECIFIC POSITION'; + $position_color = ''; } $name = $val['player_name']; $preferred_foot = $val['preferred_foot'] ?? '-'; - $everage_minutes = round($minues_played / $events_played) . ' min'; + $everage_minutes = round($minues_played / $events_played).' min'; if ($colorlevel > 1 && $events_played < $colorlevel) { $color = 'danger'; - } else if ($events_played < $colorlevel * 2) { + } elseif ($events_played < $colorlevel * 2) { $color = 'info'; } else { $color = 'success'; @@ -125,8 +150,9 @@ class PlayerCalculator extends Component 'player_id' => $player_id, 'name' => $name, 'position' => $position, + 'position_color' => $position_color, 'color' => $color, - 'info' => 'Ev ' . $events_played . ', ' . $preferred_foot . ', ' . $everage_minutes, + 'info' => 'Ev '.$events_played.', '.$preferred_foot.', '.$everage_minutes, ]; } diff --git a/composer.lock b/composer.lock index 5d1cbc70..26198244 100644 --- a/composer.lock +++ b/composer.lock @@ -1579,16 +1579,16 @@ }, { "name": "filament/actions", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "da3ed6cc03bd604b8b875ea03d4e9ef02c279eb2" + "reference": "cc84d88a7318eb1faae39cb5f36191ccc3b81334" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/da3ed6cc03bd604b8b875ea03d4e9ef02c279eb2", - "reference": "da3ed6cc03bd604b8b875ea03d4e9ef02c279eb2", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/cc84d88a7318eb1faae39cb5f36191ccc3b81334", + "reference": "cc84d88a7318eb1faae39cb5f36191ccc3b81334", "shasum": "" }, "require": { @@ -1624,20 +1624,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:45:04+00:00" + "time": "2026-08-31T17:03:02+00:00" }, { "name": "filament/filament", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "7e75d8da9b907ead7d618ce8237228316d08ae43" + "reference": "16adb1532c639739944a2acea959e16ac100e093" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/7e75d8da9b907ead7d618ce8237228316d08ae43", - "reference": "7e75d8da9b907ead7d618ce8237228316d08ae43", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/16adb1532c639739944a2acea959e16ac100e093", + "reference": "16adb1532c639739944a2acea959e16ac100e093", "shasum": "" }, "require": { @@ -1681,20 +1681,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:52:57+00:00" + "time": "2026-08-31T17:09:06+00:00" }, { "name": "filament/forms", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "3295b3acfe81dc75faa3a6dbbfea551e4df10887" + "reference": "ea0a0ee11efca648a043f9b3ff4113e54dadb7b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/3295b3acfe81dc75faa3a6dbbfea551e4df10887", - "reference": "3295b3acfe81dc75faa3a6dbbfea551e4df10887", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/ea0a0ee11efca648a043f9b3ff4113e54dadb7b0", + "reference": "ea0a0ee11efca648a043f9b3ff4113e54dadb7b0", "shasum": "" }, "require": { @@ -1731,20 +1731,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:51:04+00:00" + "time": "2026-08-31T17:04:14+00:00" }, { "name": "filament/infolists", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "dca2f115006b716f2293e29042f9c9b410fc3548" + "reference": "0a8ca9b6cc60f7179de87b0ad9c2f787bbbd2d29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/dca2f115006b716f2293e29042f9c9b410fc3548", - "reference": "dca2f115006b716f2293e29042f9c9b410fc3548", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/0a8ca9b6cc60f7179de87b0ad9c2f787bbbd2d29", + "reference": "0a8ca9b6cc60f7179de87b0ad9c2f787bbbd2d29", "shasum": "" }, "require": { @@ -1776,20 +1776,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:44:03+00:00" + "time": "2026-08-31T17:09:57+00:00" }, { "name": "filament/notifications", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "f188823f2e681883e1fa419af7e2f2a17d4c63c5" + "reference": "95d7d4730152353fbcd7365ee890022707382de7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/f188823f2e681883e1fa419af7e2f2a17d4c63c5", - "reference": "f188823f2e681883e1fa419af7e2f2a17d4c63c5", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/95d7d4730152353fbcd7365ee890022707382de7", + "reference": "95d7d4730152353fbcd7365ee890022707382de7", "shasum": "" }, "require": { @@ -1823,20 +1823,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:49:13+00:00" + "time": "2026-08-31T17:08:43+00:00" }, { "name": "filament/query-builder", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/query-builder.git", - "reference": "d658205b135ef364c992f5d5d518e9463099aab4" + "reference": "900b00b9dd5162c929aee540888c66883e7dd832" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/query-builder/zipball/d658205b135ef364c992f5d5d518e9463099aab4", - "reference": "d658205b135ef364c992f5d5d518e9463099aab4", + "url": "https://api.github.com/repos/filamentphp/query-builder/zipball/900b00b9dd5162c929aee540888c66883e7dd832", + "reference": "900b00b9dd5162c929aee540888c66883e7dd832", "shasum": "" }, "require": { @@ -1869,20 +1869,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:44:12+00:00" + "time": "2026-08-31T17:03:51+00:00" }, { "name": "filament/schemas", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/schemas.git", - "reference": "3e191f49090645685a34560f5a3e1ba28ed3e7bc" + "reference": "890fa9f369267f8a002ec6ea2313586b1f54cddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/schemas/zipball/3e191f49090645685a34560f5a3e1ba28ed3e7bc", - "reference": "3e191f49090645685a34560f5a3e1ba28ed3e7bc", + "url": "https://api.github.com/repos/filamentphp/schemas/zipball/890fa9f369267f8a002ec6ea2313586b1f54cddb", + "reference": "890fa9f369267f8a002ec6ea2313586b1f54cddb", "shasum": "" }, "require": { @@ -1914,20 +1914,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:51:01+00:00" + "time": "2026-08-31T17:09:38+00:00" }, { "name": "filament/support", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "b6a33dd2af46160abe73226d671b1bc490a84a27" + "reference": "db044fa876c998aa55b867f5774a4eb5b42c75ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/b6a33dd2af46160abe73226d671b1bc490a84a27", - "reference": "b6a33dd2af46160abe73226d671b1bc490a84a27", + "url": "https://api.github.com/repos/filamentphp/support/zipball/db044fa876c998aa55b867f5774a4eb5b42c75ea", + "reference": "db044fa876c998aa55b867f5774a4eb5b42c75ea", "shasum": "" }, "require": { @@ -1972,20 +1972,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:51:57+00:00" + "time": "2026-09-01T08:40:00+00:00" }, { "name": "filament/tables", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "be471ed4a9f2e7dcbbb134db622a03d4e89f7a21" + "reference": "71c498959168c0a60b6cbe754c216a3a1f0ec623" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/be471ed4a9f2e7dcbbb134db622a03d4e89f7a21", - "reference": "be471ed4a9f2e7dcbbb134db622a03d4e89f7a21", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/71c498959168c0a60b6cbe754c216a3a1f0ec623", + "reference": "71c498959168c0a60b6cbe754c216a3a1f0ec623", "shasum": "" }, "require": { @@ -2018,20 +2018,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:51:25+00:00" + "time": "2026-08-31T17:09:20+00:00" }, { "name": "filament/widgets", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "e500c98debe26112008398933fcf3ed50ee103f7" + "reference": "ce0718e8c0aced904fb9f09be03f4fb33f8dcde6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/e500c98debe26112008398933fcf3ed50ee103f7", - "reference": "e500c98debe26112008398933fcf3ed50ee103f7", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/ce0718e8c0aced904fb9f09be03f4fb33f8dcde6", + "reference": "ce0718e8c0aced904fb9f09be03f4fb33f8dcde6", "shasum": "" }, "require": { @@ -2062,7 +2062,7 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2026-08-05T20:49:46+00:00" + "time": "2026-08-31T17:10:07+00:00" }, { "name": "fruitcake/php-cors", @@ -2946,16 +2946,16 @@ }, { "name": "laravel/framework", - "version": "v12.68.0", + "version": "v12.69.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "1343c22b92edd48e29ff273d8ce7c15cf75d974c" + "reference": "0c07b0b1f88af44d8558ffadf66900a860f93c23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/1343c22b92edd48e29ff273d8ce7c15cf75d974c", - "reference": "1343c22b92edd48e29ff273d8ce7c15cf75d974c", + "url": "https://api.github.com/repos/laravel/framework/zipball/0c07b0b1f88af44d8558ffadf66900a860f93c23", + "reference": "0c07b0b1f88af44d8558ffadf66900a860f93c23", "shasum": "" }, "require": { @@ -3164,7 +3164,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2026-08-25T14:18:36+00:00" + "time": "2026-09-01T21:34:37+00:00" }, { "name": "laravel/prompts", @@ -3637,16 +3637,16 @@ }, { "name": "league/flysystem", - "version": "3.35.3", + "version": "3.36.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "5fc8404762179ae514678487b23494fd69b2309c" + "reference": "f7fb152932f30072d573510cbd4dd657d6475b25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/5fc8404762179ae514678487b23494fd69b2309c", - "reference": "5fc8404762179ae514678487b23494fd69b2309c", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f7fb152932f30072d573510cbd4dd657d6475b25", + "reference": "f7fb152932f30072d573510cbd4dd657d6475b25", "shasum": "" }, "require": { @@ -3714,9 +3714,9 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.35.3" + "source": "https://github.com/thephpleague/flysystem/tree/3.36.0" }, - "time": "2026-08-22T12:55:54+00:00" + "time": "2026-09-02T08:00:27+00:00" }, { "name": "league/flysystem-local", @@ -4091,16 +4091,16 @@ }, { "name": "livewire/livewire", - "version": "v4.4.2", + "version": "v4.4.3", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "4a030935e6c255c89a114b00ece66326f78157c0" + "reference": "92f1427022714b34024459167aa6a85d4fb4af44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/4a030935e6c255c89a114b00ece66326f78157c0", - "reference": "4a030935e6c255c89a114b00ece66326f78157c0", + "url": "https://api.github.com/repos/livewire/livewire/zipball/92f1427022714b34024459167aa6a85d4fb4af44", + "reference": "92f1427022714b34024459167aa6a85d4fb4af44", "shasum": "" }, "require": { @@ -4155,7 +4155,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v4.4.2" + "source": "https://github.com/livewire/livewire/tree/v4.4.3" }, "funding": [ { @@ -4163,7 +4163,7 @@ "type": "github" } ], - "time": "2026-08-24T15:02:06+00:00" + "time": "2026-08-31T15:40:58+00:00" }, { "name": "maennchen/zipstream-php", @@ -4596,16 +4596,16 @@ }, { "name": "mongodb/laravel-mongodb", - "version": "5.9.1", + "version": "5.10.0", "source": { "type": "git", "url": "https://github.com/mongodb/laravel-mongodb", - "reference": "c46115d75487c20e9e5b845e57092fd1270862f0" + "reference": "6ff3dd6d4445a6af2a75f02df373cd27dc9c95d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mongodb/laravel-mongodb/zipball/c46115d75487c20e9e5b845e57092fd1270862f0", - "reference": "c46115d75487c20e9e5b845e57092fd1270862f0", + "url": "https://api.github.com/repos/mongodb/laravel-mongodb/zipball/6ff3dd6d4445a6af2a75f02df373cd27dc9c95d1", + "reference": "6ff3dd6d4445a6af2a75f02df373cd27dc9c95d1", "shasum": "" }, "require": { @@ -4701,7 +4701,7 @@ "issues": "https://www.mongodb.com/support", "security": "https://www.mongodb.com/security" }, - "time": "2026-07-28T12:02:07+00:00" + "time": "2026-09-02T09:38:30+00:00" }, { "name": "mongodb/mongodb", @@ -4778,16 +4778,16 @@ }, { "name": "monolog/monolog", - "version": "3.10.0", + "version": "3.11.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0" + "reference": "147f303310f06334f03f409e49d7ad1e275ff05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b321dd6749f0bf7189444158a3ce785cc16d69b0", - "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/147f303310f06334f03f409e49d7ad1e275ff05a", + "reference": "147f303310f06334f03f409e49d7ad1e275ff05a", "shasum": "" }, "require": { @@ -4865,7 +4865,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.10.0" + "source": "https://github.com/Seldaek/monolog/tree/3.11.0" }, "funding": [ { @@ -4877,7 +4877,7 @@ "type": "tidelift" } ], - "time": "2026-01-02T08:56:05+00:00" + "time": "2026-09-02T12:39:56+00:00" }, { "name": "neitanod/forceutf8", @@ -7351,16 +7351,16 @@ }, { "name": "symfony/console", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "962e18f09ebe68a49039b4c82fc0ea4871824fca" + "reference": "23d6f88a29f6d0eac45bd77d70307adf83ba7ab0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/962e18f09ebe68a49039b4c82fc0ea4871824fca", - "reference": "962e18f09ebe68a49039b4c82fc0ea4871824fca", + "url": "https://api.github.com/repos/symfony/console/zipball/23d6f88a29f6d0eac45bd77d70307adf83ba7ab0", + "reference": "23d6f88a29f6d0eac45bd77d70307adf83ba7ab0", "shasum": "" }, "require": { @@ -7425,7 +7425,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.4.17" + "source": "https://github.com/symfony/console/tree/v7.4.18" }, "funding": [ { @@ -7445,20 +7445,20 @@ "type": "tidelift" } ], - "time": "2026-08-21T12:09:28+00:00" + "time": "2026-08-25T14:18:37+00:00" }, { "name": "symfony/css-selector", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "e3822e1cb7013a0a99b3c578130458927ec4eb89" + "reference": "fecf40067fc8d8880ea87b8ac227600b9aadd1d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/e3822e1cb7013a0a99b3c578130458927ec4eb89", - "reference": "e3822e1cb7013a0a99b3c578130458927ec4eb89", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/fecf40067fc8d8880ea87b8ac227600b9aadd1d0", + "reference": "fecf40067fc8d8880ea87b8ac227600b9aadd1d0", "shasum": "" }, "require": { @@ -7494,7 +7494,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.4.17" + "source": "https://github.com/symfony/css-selector/tree/v7.4.18" }, "funding": [ { @@ -7514,7 +7514,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T17:40:08+00:00" + "time": "2026-08-23T10:03:40+00:00" }, { "name": "symfony/deprecation-contracts", @@ -7904,16 +7904,16 @@ }, { "name": "symfony/html-sanitizer", - "version": "v7.4.14", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/html-sanitizer.git", - "reference": "c328df69f5b6f44a0d031d757903d955bebb23b3" + "reference": "5394e10c12b6190c019e3112e8b534180c22f0da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/c328df69f5b6f44a0d031d757903d955bebb23b3", - "reference": "c328df69f5b6f44a0d031d757903d955bebb23b3", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/5394e10c12b6190c019e3112e8b534180c22f0da", + "reference": "5394e10c12b6190c019e3112e8b534180c22f0da", "shasum": "" }, "require": { @@ -7954,7 +7954,7 @@ "sanitizer" ], "support": { - "source": "https://github.com/symfony/html-sanitizer/tree/v7.4.14" + "source": "https://github.com/symfony/html-sanitizer/tree/v7.4.18" }, "funding": [ { @@ -7974,20 +7974,20 @@ "type": "tidelift" } ], - "time": "2026-06-06T11:10:32+00:00" + "time": "2026-08-30T00:47:26+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "2ebe78c083501dfb9509b31a7aedcae4d60a391f" + "reference": "d070b716a32fbe3bf04204db0f58ace73b86d133" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/2ebe78c083501dfb9509b31a7aedcae4d60a391f", - "reference": "2ebe78c083501dfb9509b31a7aedcae4d60a391f", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d070b716a32fbe3bf04204db0f58ace73b86d133", + "reference": "d070b716a32fbe3bf04204db0f58ace73b86d133", "shasum": "" }, "require": { @@ -8036,7 +8036,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.4.17" + "source": "https://github.com/symfony/http-foundation/tree/v7.4.18" }, "funding": [ { @@ -8056,20 +8056,20 @@ "type": "tidelift" } ], - "time": "2026-08-20T09:55:18+00:00" + "time": "2026-08-30T20:10:52+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "aa160388d444210e3d01bbb4c5c53af4cd763df4" + "reference": "275d2d2d24530f2a0eaf17704a3a93860a036351" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/aa160388d444210e3d01bbb4c5c53af4cd763df4", - "reference": "aa160388d444210e3d01bbb4c5c53af4cd763df4", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/275d2d2d24530f2a0eaf17704a3a93860a036351", + "reference": "275d2d2d24530f2a0eaf17704a3a93860a036351", "shasum": "" }, "require": { @@ -8155,7 +8155,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.4.17" + "source": "https://github.com/symfony/http-kernel/tree/v7.4.18" }, "funding": [ { @@ -8175,7 +8175,7 @@ "type": "tidelift" } ], - "time": "2026-08-22T13:41:33+00:00" + "time": "2026-08-30T21:24:29+00:00" }, { "name": "symfony/mailer", @@ -8263,7 +8263,7 @@ }, { "name": "symfony/mime", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", @@ -8328,7 +8328,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.4.17" + "source": "https://github.com/symfony/mime/tree/v7.4.18" }, "funding": [ { @@ -9261,7 +9261,7 @@ }, { "name": "symfony/process", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -9302,7 +9302,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.4.17" + "source": "https://github.com/symfony/process/tree/v7.4.18" }, "funding": [ { @@ -9326,7 +9326,7 @@ }, { "name": "symfony/routing", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", @@ -9387,7 +9387,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v7.4.17" + "source": "https://github.com/symfony/routing/tree/v7.4.18" }, "funding": [ { @@ -9411,16 +9411,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.7.1", + "version": "v3.7.3", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0" + "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/c0a284bab1ed8aa0417e3d69250ab437739563a0", - "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", + "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", "shasum": "" }, "require": { @@ -9474,7 +9474,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.7.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.7.3" }, "funding": [ { @@ -9494,7 +9494,7 @@ "type": "tidelift" } ], - "time": "2026-06-16T09:55:08+00:00" + "time": "2026-07-27T15:39:01+00:00" }, { "name": "symfony/string", @@ -9849,16 +9849,16 @@ }, { "name": "symfony/var-dumper", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "53712df8727da1744490202eeb9cb50d4b95419d" + "reference": "e088da50b813f32473a76871616cbb8fa54653a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/53712df8727da1744490202eeb9cb50d4b95419d", - "reference": "53712df8727da1744490202eeb9cb50d4b95419d", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e088da50b813f32473a76871616cbb8fa54653a8", + "reference": "e088da50b813f32473a76871616cbb8fa54653a8", "shasum": "" }, "require": { @@ -9912,7 +9912,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.4.17" + "source": "https://github.com/symfony/var-dumper/tree/v7.4.18" }, "funding": [ { @@ -9932,7 +9932,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T12:09:28+00:00" + "time": "2026-08-30T20:10:52+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -9991,16 +9991,16 @@ }, { "name": "ueberdosis/tiptap-php", - "version": "2.1.2", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/ueberdosis/tiptap-php.git", - "reference": "0561e2146edbcdc622b5d4008d0ee02582f8642b" + "reference": "5a2e8155c5b09c9ad4efd480550270a6924865b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ueberdosis/tiptap-php/zipball/0561e2146edbcdc622b5d4008d0ee02582f8642b", - "reference": "0561e2146edbcdc622b5d4008d0ee02582f8642b", + "url": "https://api.github.com/repos/ueberdosis/tiptap-php/zipball/5a2e8155c5b09c9ad4efd480550270a6924865b9", + "reference": "5a2e8155c5b09c9ad4efd480550270a6924865b9", "shasum": "" }, "require": { @@ -10040,7 +10040,7 @@ ], "support": { "issues": "https://github.com/ueberdosis/tiptap-php/issues", - "source": "https://github.com/ueberdosis/tiptap-php/tree/2.1.2" + "source": "https://github.com/ueberdosis/tiptap-php/tree/2.2.0" }, "funding": [ { @@ -10056,7 +10056,7 @@ "type": "open_collective" } ], - "time": "2026-08-11T08:47:45+00:00" + "time": "2026-08-31T07:00:09+00:00" }, { "name": "vlucas/phpdotenv", @@ -10220,16 +10220,16 @@ "packages-dev": [ { "name": "barryvdh/laravel-debugbar", - "version": "v4.4.2", + "version": "v4.4.3", "source": { "type": "git", "url": "https://github.com/fruitcake/laravel-debugbar.git", - "reference": "18d1c1c64cc5d7794a2c52a2165fe6121e28ed44" + "reference": "caa08515a2eef6d8137653d3a1f3c3387cadf184" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/18d1c1c64cc5d7794a2c52a2165fe6121e28ed44", - "reference": "18d1c1c64cc5d7794a2c52a2165fe6121e28ed44", + "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/caa08515a2eef6d8137653d3a1f3c3387cadf184", + "reference": "caa08515a2eef6d8137653d3a1f3c3387cadf184", "shasum": "" }, "require": { @@ -10304,7 +10304,7 @@ ], "support": { "issues": "https://github.com/fruitcake/laravel-debugbar/issues", - "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.4.2" + "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.4.3" }, "funding": [ { @@ -10316,7 +10316,7 @@ "type": "github" } ], - "time": "2026-08-20T12:02:04+00:00" + "time": "2026-09-01T13:46:43+00:00" }, { "name": "brianium/paratest", @@ -10585,7 +10585,7 @@ }, { "name": "filament/upgrade", - "version": "v5.7.6", + "version": "v5.7.8", "source": { "type": "git", "url": "https://github.com/filamentphp/upgrade.git", @@ -12122,16 +12122,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.3.3", + "version": "2.3.5", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fb19eedd2bb67ff8cf7a5502ad329e701d6398a3" + "reference": "148cefffaf0233e4c08cc13db8a195a56dd6dfe9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fb19eedd2bb67ff8cf7a5502ad329e701d6398a3", - "reference": "fb19eedd2bb67ff8cf7a5502ad329e701d6398a3", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/148cefffaf0233e4c08cc13db8a195a56dd6dfe9", + "reference": "148cefffaf0233e4c08cc13db8a195a56dd6dfe9", "shasum": "" }, "require": { @@ -12163,17 +12163,17 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.3" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.5" }, - "time": "2026-07-08T07:01:06+00:00" + "time": "2026-08-31T16:05:28+00:00" }, { "name": "phpstan/phpstan", - "version": "2.2.9", + "version": "2.2.13", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/13d6b4f347bad222da436580c8304fa6f83e6bd0", - "reference": "13d6b4f347bad222da436580c8304fa6f83e6bd0", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9ba9ac76ee9c5cf5b56d58eb5deec6315b7a0260", + "reference": "9ba9ac76ee9c5cf5b56d58eb5deec6315b7a0260", "shasum": "" }, "require": { @@ -12229,7 +12229,7 @@ "type": "github" } ], - "time": "2026-08-22T07:38:16+00:00" + "time": "2026-09-03T20:38:19+00:00" }, { "name": "phpunit/php-code-coverage", @@ -12674,21 +12674,21 @@ }, { "name": "rector/rector", - "version": "2.6.4", + "version": "2.6.6", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "6ff008471683591224951526247b7a2b86980ba9" + "reference": "ca069d6c79feaa6651b423c15d101a27a436093e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/6ff008471683591224951526247b7a2b86980ba9", - "reference": "6ff008471683591224951526247b7a2b86980ba9", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/ca069d6c79feaa6651b423c15d101a27a436093e", + "reference": "ca069d6c79feaa6651b423c15d101a27a436093e", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.2.6" + "phpstan/phpstan": "^2.2.10" }, "conflict": { "rector/rector-doctrine": "*", @@ -12696,9 +12696,6 @@ "rector/rector-phpunit": "*", "rector/rector-symfony": "*" }, - "suggest": { - "ext-dom": "To manipulate phpunit.xml via the custom-rule command" - }, "bin": [ "bin/rector" ], @@ -12722,7 +12719,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.6.4" + "source": "https://github.com/rectorphp/rector/tree/2.6.6" }, "funding": [ { @@ -12730,7 +12727,7 @@ "type": "github" } ], - "time": "2026-08-27T09:20:34+00:00" + "time": "2026-09-02T09:38:46+00:00" }, { "name": "sebastian/cli-parser", @@ -13772,16 +13769,16 @@ }, { "name": "symfony/yaml", - "version": "v7.4.17", + "version": "v7.4.18", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "0b040d7b66ceb10b7bb24c8e6656257932693a12" + "reference": "4cef939e55b8a21c5780418de0d98ab00d0736e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/0b040d7b66ceb10b7bb24c8e6656257932693a12", - "reference": "0b040d7b66ceb10b7bb24c8e6656257932693a12", + "url": "https://api.github.com/repos/symfony/yaml/zipball/4cef939e55b8a21c5780418de0d98ab00d0736e1", + "reference": "4cef939e55b8a21c5780418de0d98ab00d0736e1", "shasum": "" }, "require": { @@ -13824,7 +13821,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.4.17" + "source": "https://github.com/symfony/yaml/tree/v7.4.18" }, "funding": [ { @@ -13844,7 +13841,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T12:09:28+00:00" + "time": "2026-08-30T00:47:26+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", diff --git a/package-lock.json b/package-lock.json index a73a4a31..a8294c4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2176,9 +2176,9 @@ } }, "node_modules/postcss": { - "version": "8.5.26", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz", - "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==", + "version": "8.5.28", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz", + "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==", "dev": true, "funding": [ { @@ -2196,7 +2196,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.17", + "nanoid": "^3.3.18", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, diff --git a/public/fonts/filament/filament/inter/index.css b/public/fonts/filament/filament/inter/index.css index 425213ef..62736da2 100644 --- a/public/fonts/filament/filament/inter/index.css +++ b/public/fonts/filament/filament/inter/index.css @@ -1 +1 @@ -@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-ext-wght-normal-IYF56FF6.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-wght-normal-JEOLYBOO.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-ext-wght-normal-EOVOK2B5.woff2") format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-wght-normal-IRE366VL.woff2") format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-vietnamese-wght-normal-CE5GGD3W.woff2") format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-ext-wght-normal-HA22NDSG.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-wght-normal-NRMW37G5.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD} +@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-wght-normal-DR6K5BQD.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-ext-wght-normal-A2J6H3EX.woff2") format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-wght-normal-ZABHMKQG.woff2") format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-vietnamese-wght-normal-VWEHJHBA.woff2") format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-ext-wght-normal-ZIT2UBIY.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-wght-normal-DIHYUR35.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD} \ No newline at end of file diff --git a/public/fonts/filament/filament/inter/inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2 b/public/fonts/filament/filament/inter/inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2 new file mode 100644 index 00000000..c33b4fb7 Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-cyrillic-ext-wght-normal-SP7Z6XGK.woff2 differ diff --git a/public/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2 b/public/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2 new file mode 100644 index 00000000..d9898185 Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-cyrillic-wght-normal-DR6K5BQD.woff2 differ diff --git a/public/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2 b/public/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2 new file mode 100644 index 00000000..f3ac9dd7 Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-greek-ext-wght-normal-A2J6H3EX.woff2 differ diff --git a/public/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2 b/public/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2 new file mode 100644 index 00000000..0d96bfa9 Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-greek-wght-normal-ZABHMKQG.woff2 differ diff --git a/public/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2 b/public/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2 new file mode 100644 index 00000000..bef4cf53 Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-latin-ext-wght-normal-ZIT2UBIY.woff2 differ diff --git a/public/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2 b/public/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2 new file mode 100644 index 00000000..ceb9aba8 Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-latin-wght-normal-DIHYUR35.woff2 differ diff --git a/public/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2 b/public/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2 new file mode 100644 index 00000000..6974b16a Binary files /dev/null and b/public/fonts/filament/filament/inter/inter-vietnamese-wght-normal-VWEHJHBA.woff2 differ diff --git a/resources/js/dragndrop.js b/resources/js/dragndrop.js index 679ceb5a..e7cafcdf 100644 --- a/resources/js/dragndrop.js +++ b/resources/js/dragndrop.js @@ -50,3 +50,20 @@ interact(".piece").draggable({ }, }, }); + +function toggle_type(mode) { + console.log(mode); +} + + +document.addEventListener("alpine:init", () => { + Alpine.store("main", { + players: [], + console(index) { + console.log(this.players[index]); + }, + loadPlayer(data) { + this.players = data; + } + }); +}); \ No newline at end of file diff --git a/resources/views/livewire/player-calculator.blade.php b/resources/views/livewire/player-calculator.blade.php index 50a30458..c8927a26 100644 --- a/resources/views/livewire/player-calculator.blade.php +++ b/resources/views/livewire/player-calculator.blade.php @@ -1,33 +1,51 @@ +@php + use Illuminate\Support\HtmlString; +@endphp + {{-- In Tailwind CSS, a value of 24 equals 96 pixels (or 6rem) --}}
- @foreach ($grid as $key => $elements) - @if ($key % 2 == 0) - @foreach ($elements as $name) - @if (isset($name['color'])) - -
{{ $name['position'] }}
-
{{ $name['name'] }}
-
{{ $name['info'] }}
-
- @else -
- @endif - @endforeach + style="background-image:url({{ asset('svg/soccerfield.svg') }});" x-data x-init=" + setTimeout(() => { + $store.main.loadPlayer({{ json_encode($grid) }}); + }, 1000); "> + + {{-- 0 => array:9 [▼ + "player_id" => 789695 + "name" => "Favio Álvarez" + "position" => "MIDFIELD" + "position_color" => "info" + "color" => "info" + "info" => "Ev 3, Right, 8 min" + "type" => "" + "x" => 104 + "y" => 104 + + 7 => array:3 [▼ + "type" => "ST" + "x" => 832 + "y" => 104 + ] + ] --}} + + @foreach ($grid as $key => $ele) + + @if(isset($ele['player_id'])) + +
{{ $ele['position'] }}
+ {{ $ele['name'] }} +
+ @elseif($ele['type']) +
+
+ {{ $ele['type'] }} +
+
@else - @foreach ($elements as $pos) - @if ($pos) -
-
- {{ $pos }} -
-
- @else -
- @endif - @endforeach +
@endif @endforeach - -
+ \ No newline at end of file