onlyProps([
'activelySorted' => false,
'alignment' => null,
'name',
'sortable' => false,
'sortDirection',
'wrap' => false,
]) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
exceptProps([
'activelySorted' => false,
'alignment' => null,
'name',
'sortable' => false,
'sortDirection',
'wrap' => false,
]); ?>
false,
'alignment' => null,
'name',
'sortable' => false,
'sortDirection',
'wrap' => false,
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
$__value) {
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
class(['fi-ta-header-cell px-3 py-3.5 sm:first-of-type:ps-6 sm:last-of-type:pe-6'])); ?>
>
<
type="button"
wire:click="sortTable('')"
class=" ! $wrap,
'whitespace-normal' => $wrap,
match ($alignment) {
Alignment::Center, 'center' => 'justify-center',
Alignment::End, 'end' => 'justify-end',
Alignment::Left, 'left' => 'justify-start rtl:flex-row-reverse',
Alignment::Right, 'right' => 'justify-end rtl:flex-row-reverse',
Alignment::Start, 'start' => 'justify-start',
default => null,
},
]); ?>"
>
'filament::components.icon','data' => ['alias' => $activelySorted && $sortDirection === 'asc' ? 'tables::header-cell.sort-asc-button' : 'tables::header-cell.sort-desc-button','icon' => $activelySorted && $sortDirection === 'asc' ? 'heroicon-m-chevron-up' : 'heroicon-m-chevron-down','class' => \Illuminate\Support\Arr::toCssClasses([
'fi-ta-header-cell-sort-icon h-5 w-5 transition duration-75',
'text-gray-950 dark:text-white' => $activelySorted,
'text-gray-400 dark:text-gray-500 group-hover:text-gray-500 group-focus:text-gray-500 dark:group-hover:text-gray-400 dark:group-focus:text-gray-400' => ! $activelySorted,
])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::icon'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($activelySorted && $sortDirection === 'asc' ? 'tables::header-cell.sort-asc-button' : 'tables::header-cell.sort-desc-button'),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($activelySorted && $sortDirection === 'asc' ? 'heroicon-m-chevron-up' : 'heroicon-m-chevron-down'),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([
'fi-ta-header-cell-sort-icon h-5 w-5 transition duration-75',
'text-gray-950 dark:text-white' => $activelySorted,
'text-gray-400 dark:text-gray-500 group-hover:text-gray-500 group-focus:text-gray-500 dark:group-hover:text-gray-400 dark:group-focus:text-gray-400' => ! $activelySorted,
]))]); ?>
renderComponent(); ?>
>
|