@forelse($table->resource as $itemKey => $item) @if($hasBulkActions = $table->hasBulkActions()) @php $itemPrimaryKey = $table->findPrimaryKey($item) @endphp @endif @foreach($table->columns() as $column) rowLinks->has($itemKey)) @click="(event) => table.visit(@js($table->rowLinks->get($itemKey)), @js($table->rowLinkType), event)" @endif v-show="table.columnIsVisible(@js($column->key))" class="whitespace-nowrap text-sm @if($loop->first && $hasBulkActions) pr-6 @else px-6 @endif py-4 @if($column->highlight) text-gray-900 font-medium @else text-gray-500 @endif @if($table->rowLinks->has($itemKey)) cursor-pointer @endif {{ $column->classes }}" >
@isset(${'spladeTableCell' . $column->keyHash()}) {{ ${'spladeTableCell' . $column->keyHash()}($item, $itemKey) }} @else {!! nl2br(e($getColumnDataFromItem($item, $column))) !!} @endisset
@endforeach @empty @if(isset($emptyState) && !!$emptyState) {{ $emptyState }} @else

{{ __('There are no items to show.') }}

@endif @endforelse