@aware(['component', 'tableName']) @php $customAttributes = $component->getBulkActionsThAttributes(); $bulkActionsThCheckboxAttributes = $component->getBulkActionsThCheckboxAttributes(); $theme = $component->getTheme(); @endphp @if ($component->bulkActionsAreEnabled() && $component->hasBulkActions())
$theme === 'tailwind', 'form-check' => $theme === 'bootstrap-5', ]) > merge($bulkActionsThCheckboxAttributes)->class([ 'rounded border-gray-300 text-indigo-600 shadow-sm transition duration-150 ease-in-out focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 dark:bg-gray-900 dark:text-white dark:border-gray-600 dark:hover:bg-gray-600 dark:focus:bg-gray-600' => ($theme === 'tailwind') && ($bulkActionsThCheckboxAttributes['default'] ?? true), 'form-check-input' => ($theme === 'bootstrap-5') && ($bulkActionsThCheckboxAttributes['default'] ?? true), 'except' => 'default', ]) }} />
@endif