@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').
@else
@lang('You have selected') {{ $selected }} @lang('rows, do you want to select all') {{ number_format($rows->total()) }}?
@endif
@elseif ($theme === 'bootstrap-4' || $theme === 'bootstrap-5') @if ($selectAll)
@lang('You are currently selecting all') {{ number_format($rows->total()) }} @lang('rows').
@else
@lang('You have selected') {{ $selected }} @lang('rows, do you want to select all') {{ number_format($rows->total()) }}?
@endif
@endif @endif