@aware(['component']) @php $theme = $component->getTheme(); @endphp @if ($component->hasConfigurableAreaFor('before-toolbar')) @include($component->getConfigurableAreaFor('before-toolbar'), $component->getParametersForConfigurableArea('before-toolbar')) @endif @if ($theme === 'tailwind')
@if ($component->hasConfigurableAreaFor('toolbar-left-start')) @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) @endif @if ($component->reorderIsEnabled()) @endif @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled())
getSearchOptions() }}="{{ $component->getTableName() }}.search" placeholder="{{ __('Search') }}" type="text" class="block w-full border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 dark:bg-gray-700 dark:text-white dark:border-gray-600 @if ($component->hasSearch()) rounded-none rounded-l-md focus:ring-0 focus:border-gray-300 @else focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md @endif" /> @if ($component->hasSearch()) @endif
@endif @if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false, childElementOpen: false }" x-on:keydown.escape.stop="if (!childElementOpen) { open = false }" x-on:mousedown.away="if (!childElementOpen) { open = false }" @endif class="relative block md:inline-block text-left" >
@if ($component->isFilterLayoutPopover()) @endif
@endif @if ($component->hasConfigurableAreaFor('toolbar-left-end')) @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) @endif
@if ($component->hasConfigurableAreaFor('toolbar-right-start')) @include($component->getConfigurableAreaFor('toolbar-right-start'), $component->getParametersForConfigurableArea('toolbar-right-start')) @endif @if ($component->showBulkActionsDropdown())
@endif @if ($component->columnSelectIsEnabled()) @endif @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
@endif @if ($component->hasConfigurableAreaFor('toolbar-right-end')) @include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-right-end')) @endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters() && $component->isFilterLayoutSlideDown())
@foreach($component->getFiltersByRow() as $filterRowIndex => $filterRow)
true == false])> @foreach($filterRow as $filter)
!$filter->hasFilterSlidedownColspan(), 'sm:col-span-12 md:col-span-8 lg:col-span-4' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 2, 'sm:col-span-9 md:col-span-4 lg:col-span-3' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 3 ]) id="{{ $component->getTableName() }}-filter-{{ $filter->getKey() }}-wrapper"> {{ $filter->render($component) }}
@endforeach
@endforeach
@endif @elseif ($theme === 'bootstrap-4')
@if ($component->hasConfigurableAreaFor('toolbar-left-start')) @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) @endif @if ($component->reorderIsEnabled())
@endif @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled())
getSearchOptions() }}="{{ $component->getTableName() }}.search" placeholder="{{ __('Search') }}" type="text" class="form-control" > @if ($component->hasSearch())
@endif
@endif @if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false, childElementOpen: false }" x-on:keydown.escape.stop="if (!childElementOpen) { open = false }" x-on:mousedown.away="if (!childElementOpen) { open = false }" @endif class="btn-group d-block d-md-inline" >
@if ($component->isFilterLayoutPopover()) @endif
@endif @if ($component->hasConfigurableAreaFor('toolbar-left-end')) @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) @endif
@if ($component->hasConfigurableAreaFor('toolbar-right-start')) @include($component->getConfigurableAreaFor('toolbar-right-start'), $component->getParametersForConfigurableArea('toolbar-right-start')) @endif @if ($component->showBulkActionsDropdown())
@endif @if ($component->columnSelectIsEnabled())
@endif @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
@endif @if ($component->hasConfigurableAreaFor('toolbar-right-end')) @include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-right-end')) @endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters() && $component->isFilterLayoutSlideDown())
@foreach($component->getFiltersByRow() as $filterRowIndex => $filterRow)
@foreach($filterRow as $filter)
!$filter->hasFilterSlidedownColspan(), 'col-12 col-sm-6 col-md-6 col-lg-3' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 2, 'col-12 col-sm-3 col-md-3 col-lg-3' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 3, 'col-12 col-sm-1 col-md-1 col-lg-1' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 4, ]) id="{{ $component->getTableName() }}-filter-{{ $filter->getKey() }}-wrapper" > {{ $filter->render($component) }}
@endforeach
@endforeach
@endif @elseif ($theme === 'bootstrap-5')
@if ($component->hasConfigurableAreaFor('toolbar-left-start')) @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) @endif @if ($component->reorderIsEnabled())
@endif @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled())
getSearchOptions() }}="{{ $component->getTableName() }}.search" placeholder="{{ __('Search') }}" type="text" class="form-control" > @if ($component->hasSearch()) @endif
@endif @if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false, childElementOpen: false }" x-on:keydown.escape.stop="if (!childElementOpen) { open = false }" x-on:mousedown.away="if (!childElementOpen) { open = false }" @endif class="btn-group d-block d-md-inline" >
@if ($component->isFilterLayoutPopover()) @endif
@endif @if ($component->hasConfigurableAreaFor('toolbar-left-end')) @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) @endif
@if ($component->hasConfigurableAreaFor('toolbar-right-start')) @include($component->getConfigurableAreaFor('toolbar-right-start'), $component->getParametersForConfigurableArea('toolbar-right-start')) @endif @if ($component->showBulkActionsDropdown())
@endif @if ($component->columnSelectIsEnabled())
@endif @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
@endif @if ($component->hasConfigurableAreaFor('toolbar-right-end')) @include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-right-end')) @endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters() && $component->isFilterLayoutSlideDown())
@foreach($component->getFiltersByRow() as $filterRow)
@foreach($filterRow as $filter) @if($filter->isVisibleInMenus())
!$filter->hasFilterSlidedownColspan(), 'col-sm-6 col-md-6 col-lg-6' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 2, 'col-sm-9 col-md-9 col-lg-9' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 3, 'col-sm-12 col-md-12 col-lg-12' => $filter->hasFilterSlidedownColspan() && $filter->getFilterSlidedownColspan() == 4, ]) id="{{ $component->getTableName() }}-filter-{{ $filter->getKey() }}-wrapper" > {{ $filter->render($component) }}
@endif @endforeach
@endforeach
@endif @endif @if ($component->hasConfigurableAreaFor('after-toolbar')) @include($component->getConfigurableAreaFor('after-toolbar'), $component->getParametersForConfigurableArea('after-toolbar')) @endif