composer
This commit is contained in:
1 parent
c2981d43f6
commit
301443d8c4
25 files changed
+473
-565
No files matched your search
+9
-15
@@ -4,6 +4,7 @@ namespace App\Filament\Clusters\Administration\Inhaltsverzeichnis\Tables;
|
||||
|
||||
use Filament\Actions\DeleteAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Forms\Components\ToggleButtons;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Columns\TextInputColumn;
|
||||
@@ -11,7 +12,7 @@ use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use ToneGabes\BetterOptions\Forms\Components\RadioCards;
|
||||
use ToneGabes\Filament\Icons\Enums\Phosphor;
|
||||
|
||||
class InhaltsverzeichnisTable
|
||||
{
|
||||
@@ -55,24 +56,17 @@ class InhaltsverzeichnisTable
|
||||
->filters([
|
||||
Filter::make('filters')
|
||||
->schema([
|
||||
RadioCards::make('part')
|
||||
->columns(3)
|
||||
->iconAfter()
|
||||
->default('standard')
|
||||
->indicatorBefore()
|
||||
->hiddenIcon()
|
||||
->hiddenLabel()
|
||||
ToggleButtons::make('part')
|
||||
->inline()->hiddenLabel()
|
||||
->options([
|
||||
'standard' => 'Gutachten Standard',
|
||||
'nutzwerte' => 'Nutzwertberechnung',
|
||||
'paragraph' => 'Auszug Gutachten',
|
||||
'paragraph' => 'Auszug Gutachten §6',
|
||||
])
|
||||
->idleIndicator('phosphor-circle')
|
||||
->selectedIndicator('phosphor-circle-fill')
|
||||
->descriptions([
|
||||
'standard' => 'Inhaltsangabe, Texte',
|
||||
'nutzwerte' => 'Tabellen',
|
||||
'paragraph' => 'Gemäß Paragraph §6',
|
||||
->icons([
|
||||
'standard' => Phosphor::ListNumbers,
|
||||
'nutzwerte' => Phosphor::Table,
|
||||
'paragraph' => Phosphor::Paragraph,
|
||||
]),
|
||||
])
|
||||
->query(function (Builder $query, array $data): Builder {
|
||||
|
||||
Reference in new issue
Block a user