@aware(['component']) @props(['rows']) @if ($component->bulkActionsAreEnabled() && $component->hasBulkActions() && $component->hasSelected()) @php $table = $component->getTableName(); $theme = $component->getTheme(); $colspan = $component->getColspanCount(); $selected = $component->getSelectedCount(); $selectAll = $component->selectAllIsEnabled(); @endphp @if ($theme === 'tailwind') @if ($selectAll) @lang('You are currently selecting all') {{ number_format($rows->total()) }} @lang('rows'). @lang('Deselect All') @else @lang('You have selected') {{ $selected }} @lang('rows, do you want to select all') {{ number_format($rows->total()) }}? @lang('Select All') @lang('Deselect All') @endif @elseif ($theme === 'bootstrap-4' || $theme === 'bootstrap-5') @if ($selectAll) @lang('You are currently selecting all') {{ number_format($rows->total()) }} @lang('rows'). @lang('Deselect All') @else @lang('You have selected') {{ $selected }} @lang('rows, do you want to select all') {{ number_format($rows->total()) }}? @lang('Select All') @lang('Deselect All') @endif @endif @endif