@aware(['component']) @props(['rows']) @php $theme = $component->getTheme(); @endphp @if ($theme === 'tailwind')
@if ($component->paginationVisibilityIsEnabled())
@if ($component->paginationIsEnabled() && $rows->lastPage() > 1)

@lang('Showing') {{ $rows->firstItem() }} @lang('to') {{ $rows->lastItem() }} @lang('of') {{ $rows->total() }} @lang('results')

@else

@lang('Showing') {{ $rows->count() }} @lang('results')

@endif
@if ($component->paginationIsEnabled()) {{ $rows->links('livewire-tables::specific.tailwind.pagination') }} @endif
@endif
@elseif ($theme === 'bootstrap-4')
@if ($component->paginationVisibilityIsEnabled()) @if ($component->paginationIsEnabled() && $rows->lastPage() > 1)
{{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }}
@lang('Showing') {{ $rows->count() ? $rows->firstItem() : 0 }} @lang('to') {{ $rows->count() ? $rows->lastItem() : 0 }} @lang('of') {{ $rows->total() }} @lang('results')
@else
@lang('Showing') {{ $rows->count() }} @lang('results')
@endif @endif
{{-- @elseif ($theme === 'bootstrap-5') --}} {{--
--}} {{-- @if ($component->paginationVisibilityIsEnabled()) --}} {{-- @if ($component->paginationIsEnabled() && $rows->lastPage() > 1) --}} {{--
--}} {{--
--}} {{-- {{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }} --}} {{--
--}} {{--
--}} {{-- @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled()) --}} {{--
--}} {{-- Show --}} {{-- --}} {{--
--}} {{-- @endif --}} {{--
--}} {{-- @lang('Showing') --}} {{-- {{ $rows->count() ? $rows->firstItem() : 0 }} --}} {{-- @lang('to') --}} {{-- {{ $rows->count() ? $rows->lastItem() : 0 }} --}} {{-- @lang('of') --}} {{-- {{ $rows->total() }} --}} {{-- @lang('results') --}} {{--
--}} {{--
--}} {{--
--}} {{-- @else --}} {{--
--}} {{--
--}} {{-- @lang('Showing') --}} {{-- {{ $rows->count() }} --}} {{-- @lang('results') --}} {{--
--}} {{--
--}} {{-- @endif --}} {{-- @endif --}} {{--
--}} {{-- @endif --}} {{-- --}} @elseif ($theme === 'bootstrap-5')
@if ($component->paginationVisibilityIsEnabled()) @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
{{ __('messages.common.show') }}
@if ($component->paginationIsEnabled() && $rows->lastPage() > 1)
{{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }}
@lang('Showing') {{ $rows->count() ? $rows->firstItem() : 0 }} @lang('to') {{ $rows->count() ? $rows->lastItem() : 0 }} @lang('of') {{ $rows->total() }} @lang('results')
@else
@lang('Showing') {{ $rows->count() }} @lang('results')
@endif @endif @endif
@endif