diff --git a/resources/views/livewire-tables/components/pagination.blade.php b/resources/views/livewire-tables/components/pagination.blade.php deleted file mode 100644 index 805f5ca..0000000 --- a/resources/views/livewire-tables/components/pagination.blade.php +++ /dev/null @@ -1,42 +0,0 @@ -@aware(['component']) -@props(['rows']) - -@php - $theme = $component->getTheme(); -@endphp - -@if ($component->hasConfigurableAreaFor('before-pagination')) - @include( - $component->getConfigurableAreaFor('before-pagination'), - $component->getParametersForConfigurableArea('before-pagination')) -@endif - - - -@if ($component->hasConfigurableAreaFor('after-pagination')) - @include( - $component->getConfigurableAreaFor('after-pagination'), - $component->getParametersForConfigurableArea('after-pagination')) -@endif diff --git a/resources/views/livewire-tables/components/tools/toolbar/items/bulk-actions.blade.php b/resources/views/livewire-tables/components/tools/toolbar/items/bulk-actions.blade.php deleted file mode 100644 index 9112eca..0000000 --- a/resources/views/livewire-tables/components/tools/toolbar/items/bulk-actions.blade.php +++ /dev/null @@ -1,96 +0,0 @@ -@aware(['component', 'tableName']) -
$component->isBootstrap(), - 'w-full md:w-auto mb-4 md:mb-0' => $component->isTailwind(), - ]) -> -
$component->isBootstrap(), - 'relative inline-block text-left z-10 w-full md:w-auto' => $component->isTailwind(), - ]) - > - - - @if($component->isTailwind()) -
-
- -
-
- @else -
$component->isBootstrap4(), - 'dropdown-menu -dropdown-menu-end w-100' => $component->isBootstrap5(), - ]) - aria-labelledby="{{ $tableName }}-bulkActionsDropdown" - > - @foreach ($component->getBulkActions() as $action => $title) - hasConfirmationMessage($action)) - wire:confirm="{{ $component->getBulkActionConfirmMessage($action) }}" - @endif - wire:click="{{ $action }}" - wire:key="{{ $tableName }}-bulk-action-{{ $action }}" - @class([ - 'dropdown-item' => $component->isBootstrap(), - ]) - > - {{ $title }} - - @endforeach -
- @endif - -
-
diff --git a/resources/views/livewire-tables/components/tools/toolbar/items/column-select.blade.php b/resources/views/livewire-tables/components/tools/toolbar/items/column-select.blade.php deleted file mode 100644 index f84d3a0..0000000 --- a/resources/views/livewire-tables/components/tools/toolbar/items/column-select.blade.php +++ /dev/null @@ -1,198 +0,0 @@ -@aware(['component', 'tableName']) -@if ($component->isTailwind()) - -@elseif ($component->isBootstrap()) -
$component->getColumnSelectIsHiddenOnMobile() && $component->isBootstrap4(), - 'd-none d-md-block mb-3 mb-md-0 pl-0 pl-md-2' => $component->getColumnSelectIsHiddenOnTablet() && $component->isBootstrap4(), - 'd-none d-sm-block' => $component->getColumnSelectIsHiddenOnMobile() && $component->isBootstrap5(), - 'd-none d-md-block' => $component->getColumnSelectIsHiddenOnTablet() && $component->isBootstrap5(), - 'mb-3 mb-md-0 md-0 ms-md-2' => $component->isBootstrap5() - ]) - > -
$component->isBootstrap(), - ]) - wire:key="{{ $tableName }}-column-select-button" - > - - -
$component->isBootstrap4(), - 'dropdown-menu dropdown-menu-end w-100' => $component->isBootstrap5(), - ]) - aria-labelledby="columnSelect-{{ $tableName }}" - > - @if($component->isBootstrap4()) -
- -
- @elseif($component->isBootstrap5()) -
- -
- @endif - - @foreach ($component->getColumnsForColumnSelect() as $columnSlug => $columnTitle) -
$component->isBootstrap5(), - ]) - > - @if ($component->isBootstrap4()) - - @elseif($component->isBootstrap5()) - - @endif -
- @endforeach -
-
-
- -@endif diff --git a/resources/views/livewire-tables/components/tools/toolbar/items/filter-button.blade.php b/resources/views/livewire-tables/components/tools/toolbar/items/filter-button.blade.php deleted file mode 100644 index 54a8b08..0000000 --- a/resources/views/livewire-tables/components/tools/toolbar/items/filter-button.blade.php +++ /dev/null @@ -1,64 +0,0 @@ -@aware(['component', 'tableName']) -@props(['filterGenericData']) - -
$component->isBootstrap4(), - 'ms-0 ms-md-2 mb-3 mb-md-0' => $component->isBootstrap5() && $component->searchIsEnabled(), - 'mb-3 mb-md-0' => $component->isBootstrap5() && !$component->searchIsEnabled(), - ]) -> -
isFilterLayoutPopover()) - x-data="{ filterPopoverOpen: false }" - x-on:keydown.escape.stop="if (!this.childElementOpen) { filterPopoverOpen = false }" - x-on:mousedown.away="if (!this.childElementOpen) { filterPopoverOpen = false }" - @endif - @class([ - 'btn-group d-block d-md-inline' => $component->isBootstrap(), - 'relative block md:inline-block text-left' => $component->isTailwind(), - ]) - > -
- -
- - @if ($component->isFilterLayoutPopover()) - - @endif - -
-
diff --git a/resources/views/livewire-tables/components/tools/toolbar/items/filter-popover.blade.php b/resources/views/livewire-tables/components/tools/toolbar/items/filter-popover.blade.php deleted file mode 100644 index f0c905b..0000000 --- a/resources/views/livewire-tables/components/tools/toolbar/items/filter-popover.blade.php +++ /dev/null @@ -1,82 +0,0 @@ -@aware(['component', 'tableName']) -@if($component->isBootstrap()) -
$component->isBootstrap4(), - 'dropdown-menu w-100' => $component->isBootstrap5(), - ]) - x-bind:class="{ 'show': filterPopoverOpen }" - role="menu" - > - @foreach ($component->getVisibleFilters() as $filter) -
$component->isBootstrap(), - ]) - id="{{ $tableName }}-filter-{{ $filter->getKey() }}-wrapper" - > - {{ $filter->setGenericDisplayData($filterGenericData)->render() }} -
- @endforeach - - @if ($component->hasAppliedVisibleFiltersWithValuesThatCanBeCleared()) -
$component->isBootstrap(), - ]) - > -
- - - @endif -
-@else - -@endif diff --git a/resources/views/livewire-tables/components/tools/toolbar/items/search-field.blade.php b/resources/views/livewire-tables/components/tools/toolbar/items/search-field.blade.php deleted file mode 100644 index 47cbbdb..0000000 --- a/resources/views/livewire-tables/components/tools/toolbar/items/search-field.blade.php +++ /dev/null @@ -1,40 +0,0 @@ -@aware(['component', 'tableName']) - -
$component->isBootstrap(), - 'flex rounded-md shadow-sm' => $component->isTailwind(), - ])> - getSearchOptions() }}="search" - placeholder="{{ $component->getSearchPlaceholder() }}" - type="text" - {{ - $attributes->merge($component->getSearchFieldAttributes()) - ->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 rounded-none rounded-l-md focus:ring-0 focus:border-gray-300' => $component->isTailwind() && $component->hasSearch() && $component->getSearchFieldAttributes()['default'] ?? true, - '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 rounded-md focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50' => $component->isTailwind() && !$component->hasSearch() && $component->getSearchFieldAttributes()['default'] ?? true, - 'form-control' => $component->isBootstrap() && $component->getSearchFieldAttributes()['default'] ?? true, - ]) - ->except('default') - }} - /> - - @if ($component->hasSearch()) - - - - - - - - - - - @endif -