##### {{ tableTitle () }}

@if(showFilterButton()){
} @if(showImportExportButtons()){
} @if(showAddButton()){
} @if (showSearch()) {
}
@if (toolbarTemplate(); as toolbar) {
@if (filterActionsTemplate(); as filterActions) {
}
}

@for (column of columns(); track column.key) { {{ column.label }} @if (column.sortable) { } } @if (actions().length > 0) { | Action }
--- | ---
@if (loading()) {
Loading data...
} @else if (rows().length === 0) {
{{ emptyMessage() }} @if (emptyDescription()) { {{ emptyDescription() }} }
} @else { @for (row of rows(); track row['id'] ?? $index; let rowIndex = $index) {
@for (column of columns(); track column.key) { @if (getCellTemplate(column); as customTemplate) { } @else if (column.badge) { {{ getDisplayValue(column, row) }} } @else { {{ getDisplayValue(column, row) }} } } @if (actions().length > 0) { | @for (action of actions(); track $index) { @if (isActionVisible(action, row)) { } } }
} }

@if (showPaginator()) {
}