@props([ 'column', 'isClickDisabled' => false, 'record', 'recordAction' => null, 'recordKey' => null, 'recordUrl' => null, ]) @php use Filament\Support\Enums\Alignment; $action = $column->getAction(); $name = $column->getName(); $shouldOpenUrlInNewTab = $column->shouldOpenUrlInNewTab(); $tooltip = $column->getTooltip(); $url = $column->getUrl(); $columnClasses = \Illuminate\Support\Arr::toCssClasses([ 'flex w-full disabled:pointer-events-none', match ($column->getAlignment()) { Alignment::Center, 'center' => 'justify-center text-center', Alignment::End, 'end' => 'justify-end text-end', Alignment::Left, 'left' => 'justify-start text-left', Alignment::Right, 'right' => 'justify-end text-right', Alignment::Justify, 'justify' => 'justify-between text-justify', default => 'justify-start text-start', }, ]); $slot = $column->viewData(['recordKey' => $recordKey]); @endphp