Search search {{ total() }} record(s)
@if (filterDefs().length) {
@for (def of filterDefs(); track def.key) { @if (def.type === 'text') { {{ def.label }} } @else if (def.type === 'date') { {{ def.label }} } @else { {{ def.label }} All @for (opt of optionsFor(def); track opt.value) { {{ opt.label }} } } } @if (hasActiveFilters()) { }
} @if (loading()) { }
@for (col of config()?.columns ?? []; track col.key) { }
{{ col.label }} @if (col.link && row[col.key] != null) { } @else { @switch (col.type) { @case ('date') { {{ row[col.key] ? (row[col.key] | date: 'mediumDate') : '—' }} } @case ('datetime') { {{ row[col.key] ? (row[col.key] | date: 'medium') : '—' }} } @case ('boolean') { {{ row[col.key] ? 'check_circle' : 'remove' }} } @case ('badge') { @if (row[col.key]) { {{ row[col.key] }} } @else { } } @default { {{ row[col.key] ?? '—' }} } } } View @for (action of visibleActions(row); track action.action) { }
@if (!loading() && rows().length === 0) {
inbox No records found.
}