@props([
'allRecordsCount',
'colspan',
'selectedRecordsCount',
])
class(['bg-primary-500/10 filament-tables-selection-indicator']) }}>
config('tables.dark_mode')]) x-text="
singularText = '{{ trans_choice('tables::table.selection_indicator.selected_count', 1, ['count' => 1]) }}'
pluralText = '{{ trans_choice('tables::table.selection_indicator.selected_count', 2, ['count' => 2]) }}'
return (selectedRecords.length === 1) ?
singularText.replace('1', selectedRecords.length) :
pluralText.replace('2', selectedRecords.length)
">
|