@props([
'allSelectableRecordsCount',
'deselectAllRecordsAction' => 'deselectAllRecords',
'end' => null,
'page' => null,
'selectAllRecordsAction' => 'selectAllRecords',
'selectCurrentPageOnly' => false,
'selectedRecordsCount',
'selectedRecordsPropertyName' => 'selectedRecords',
])
merge([
'wire:key' => "{$this->getId()}.table.selection.indicator",
], escape: false)
->class([
'fi-ta-selection-indicator flex flex-col justify-between gap-y-1 bg-gray-50 px-3 py-2 dark:bg-white/5 sm:flex-row sm:items-center sm:px-6 sm:py-1.5',
])
}}
>
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\Tables\View\TablesRenderHook::SELECTION_INDICATOR_ACTIONS_BEFORE, scopes: static::class) }}
{{ trans_choice('filament-tables::table.selection_indicator.actions.select_all.label', $allSelectableRecordsCount) }}
{{ __('filament-tables::table.selection_indicator.actions.deselect_all.label') }}
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\Tables\View\TablesRenderHook::SELECTION_INDICATOR_ACTIONS_AFTER, scopes: static::class) }}
{{ $end }}