@aware(['component'])
@props(['rows'])
@if ($component->hasConfigurableAreaFor('before-pagination'))
@include($component->getConfigurableAreaFor('before-pagination'), $component->getParametersForConfigurableArea('before-pagination'))
@endif
@if ($component->isTailwind())
@if ($component->paginationVisibilityIsEnabled())
@if ($component->paginationIsEnabled() && $component->isPaginationMethod('standard') && $rows->lastPage() > 1)
@elseif ($component->paginationIsEnabled() && $component->isPaginationMethod('simple'))
@elseif ($component->paginationIsEnabled() && $component->isPaginationMethod('cursor'))
@else
@endif
@if ($component->paginationIsEnabled())
{{ $rows->links('livewire-tables::specific.tailwind.'.(!$component->isPaginationMethod('standard') ? 'simple-' : '').'pagination') }}
@endif
@endif
@elseif ($component->isBootstrap4())
@if ($component->paginationVisibilityIsEnabled())
@if ($component->paginationIsEnabled() && $component->isPaginationMethod('standard') && $rows->lastPage() > 1)
{{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }}
@if($component->showPaginationDetails())
@lang('Showing')
{{ $rows->count() ? $rows->firstItem() : 0 }}
@lang('to')
{{ $rows->count() ? $rows->lastItem() : 0 }}
@lang('of')
@lang('results')
@endif
@elseif ($component->paginationIsEnabled() && $component->isPaginationMethod('simple'))
{{ $rows->links('livewire-tables::specific.bootstrap-4.simple-pagination') }}
@if($component->showPaginationDetails())
@lang('Showing')
{{ $rows->count() ? $rows->firstItem() : 0 }}
@lang('to')
{{ $rows->count() ? $rows->lastItem() : 0 }}
@endif
@elseif ($component->paginationIsEnabled() && $component->isPaginationMethod('cursor'))
{{ $rows->links('livewire-tables::specific.bootstrap-4.simple-pagination') }}
@else
@lang('Showing')
{{ $rows->count() }}
@lang('results')
@endif
@endif
@elseif ($component->isBootstrap5())
@if ($component->paginationVisibilityIsEnabled())
@if ($component->paginationIsEnabled() && $component->isPaginationMethod('standard') && $rows->lastPage() > 1)
{{ $rows->links('livewire-tables::specific.bootstrap-4.pagination') }}
@if($component->showPaginationDetails())
@lang('Showing')
{{ $rows->count() ? $rows->firstItem() : 0 }}
@lang('to')
{{ $rows->count() ? $rows->lastItem() : 0 }}
@lang('of')
@lang('results')
@endif
@elseif ($component->paginationIsEnabled() && $component->isPaginationMethod('simple'))
{{ $rows->links('livewire-tables::specific.bootstrap-4.simple-pagination') }}
@if($component->showPaginationDetails())
@lang('Showing')
{{ $rows->count() ? $rows->firstItem() : 0 }}
@lang('to')
{{ $rows->count() ? $rows->lastItem() : 0 }}
@endif
@elseif ($component->paginationIsEnabled() && $component->isPaginationMethod('cursor'))
{{ $rows->links('livewire-tables::specific.bootstrap-4.simple-pagination') }}
@else
@lang('Showing')
{{ $rows->count() }}
@lang('results')
@endif
@endif
@endif
@if ($component->hasConfigurableAreaFor('after-pagination'))
@include($component->getConfigurableAreaFor('after-pagination'), $component->getParametersForConfigurableArea('after-pagination'))
@endif