@php $items = $getItems(); $tableColumns = $getTableColumns(); $extraActions = $getExtraItemActions(); $hasExtraActions = ! empty($extraActions); $hasColumnManager = $hasColumnManager(); $attributes = $getExtraAttributeBag() ->class(['fi-fo-table-repeater', 'fi-compact']); @endphp @if (empty($items)) @php $tooltip = $getEmptyTooltip(); $attributes = $attributes->merge([ 'x-tooltip' => filled($tooltip) ? '{content: ' . Js::from($tooltip) . ', theme: $store.theme, allowHTML: ' . Js::from($tooltip instanceof \Illuminate\Contracts\Support\Htmlable) . '}' : null, ], escape: false); @endphp
{{ $placeholder }}
@endif| filled($columnWidth), ]) > @if (! $column->isHeaderLabelHidden()) {{ $column->getLabel() }} @else {{ $column->getLabel() }} @endif | @endforeach @if ($hasColumnManager)
|
@endif
|---|---|
|
{!! $component->toHtml() !!}
|
@endforeach
@if ($hasExtraActions)
@foreach ($extraActions as $action)
@php $action = $action(['item' => $index]); @endphp
{!! $action->toHtml() !!}
@endforeach
|
@endif