@aware([ 'tableName','isTailwind','isBootstrap'])
@props([])
@php($toolBarAttributes = $this->getToolBarAttributesBag)
merge()
->class([
'md:flex md:justify-between mb-4 px-4 md:p-0' => $isTailwind && ($toolBarAttributes['default-styling'] ?? true),
'd-md-flex justify-content-between mb-3' => $isBootstrap && ($toolBarAttributes['default-styling'] ?? true),
])
->except(['default','default-styling','default-colors'])
}}
>
$isBootstrap,
'w-full mb-4 md:mb-0 md:w-2/4 md:flex space-y-4 md:space-y-0 md:space-x-2' => $isTailwind,
])
>
@if ($this->hasConfigurableAreaFor('toolbar-left-start'))
$isBootstrap,
'flex rounded-md shadow-sm' => $isTailwind,
])>
@include($this->getConfigurableAreaFor('toolbar-left-start'), $this->getParametersForConfigurableArea('toolbar-left-start'))
@endif
@if ($this->showReorderButton())
@endif
@if ($this->showSearchField())
@endif
@if ($this->showFiltersButton())
@endif
@if($this->showActionsInToolbarLeft())
@endif
@if ($this->hasConfigurableAreaFor('toolbar-left-end'))
$isBootstrap,
'flex rounded-md shadow-sm' => $isTailwind,
])>
@include($this->getConfigurableAreaFor('toolbar-left-end'), $this->getParametersForConfigurableArea('toolbar-left-end'))
@endif
$isBootstrap,
'md:flex md:items-center space-y-4 md:space-y-0 md:space-x-2' => $isTailwind,
])
>
@includeWhen($this->hasConfigurableAreaFor('toolbar-right-start'), $this->getConfigurableAreaFor('toolbar-right-start'), $this->getParametersForConfigurableArea('toolbar-right-start'))
@if($this->showActionsInToolbarRight())
@endif
@if ($this->showBulkActionsDropdownAlpine() && $this->shouldAlwaysHideBulkActionsDropdownOption != true)
@endif
@if ($this->columnSelectIsEnabled)
@endif
@if ($this->showPaginationDropdown())
@endif
@includeWhen($this->hasConfigurableAreaFor('toolbar-right-end'), $this->getConfigurableAreaFor('toolbar-right-end'), $this->getParametersForConfigurableArea('toolbar-right-end'))