| Current Path : /var/www/html/dynaweb-starter/storage/framework/views/ |
| Current File : /var/www/html/dynaweb-starter/storage/framework/views/d1010e541acbd26fb1e6e3e1d67abbe1.php |
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps([
'activelySorted' => false,
'alignment' => null,
'name',
'sortable' => false,
'sortDirection',
'wrap' => false,
]) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps([
'activelySorted' => false,
'alignment' => null,
'name',
'sortable' => false,
'sortDirection',
'wrap' => false,
]); ?>
<?php foreach (array_filter(([
'activelySorted' => false,
'alignment' => null,
'name',
'sortable' => false,
'sortDirection',
'wrap' => false,
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<?php
use Filament\Support\Enums\Alignment;
?>
<th
<?php echo e($attributes
->class(['fi-ta-header-cell px-3 py-3.5 sm:first-of-type:ps-6 sm:last-of-type:pe-6'])); ?>
>
<<?php echo e($sortable ? 'button' : 'span'); ?>
<?php if($sortable): ?>
type="button"
wire:click="sortTable('<?php echo e($name); ?>')"
<?php endif; ?>
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
'group flex w-full items-center gap-x-1',
'whitespace-nowrap' => ! $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,
},
]); ?>"
>
<!--[if BLOCK]><![endif]--><?php if($sortable): ?>
<span class="sr-only">
<?php echo e(__('filament-tables::table.sorting.fields.column.label')); ?>
</span>
<?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
<span
class="fi-ta-header-cell-label text-sm font-semibold text-gray-950 dark:text-white"
>
<?php echo e($slot); ?>
</span>
<!--[if BLOCK]><![endif]--><?php if($sortable): ?>
<?php if (isset($component)) { $__componentOriginal71c6471fa76ce19017edc287b6f4508c = $component; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '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-visible:text-gray-500 dark:group-hover:text-gray-400 dark:group-focus-visible:text-gray-400' => ! $activelySorted,
])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('filament::icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->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-visible:text-gray-500 dark:group-hover:text-gray-400 dark:group-focus-visible:text-gray-400' => ! $activelySorted,
]))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal71c6471fa76ce19017edc287b6f4508c)): ?>
<?php $component = $__componentOriginal71c6471fa76ce19017edc287b6f4508c; ?>
<?php unset($__componentOriginal71c6471fa76ce19017edc287b6f4508c); ?>
<?php endif; ?>
<span class="sr-only">
<?php echo e($sortDirection === 'asc' ? __('filament-tables::table.sorting.fields.direction.options.desc') : __('filament-tables::table.sorting.fields.direction.options.asc')); ?>
</span>
<?php endif; ?> <!--[if ENDBLOCK]><![endif]-->
</<?php echo e($sortable ? 'button' : 'span'); ?>>
</th>
<?php /**PATH /var/www/html/dynaweb-starter/vendor/filament/tables/src/../resources/views/components/header-cell.blade.php ENDPATH**/ ?>