@if (hasValidColumns && itemsSelected.length > 0 && !hideBatchActions) {
{{ literals.noItem }} {{ literals.oneItem }} {{ itemsSelected.length }} {{ literals.multipleItems }}
} @if (hasValidColumns && !hideColumnsManager) {
} @if (!hideTableSearch && hasValidColumns) { }
@if (container) { } @else {
@if (loading) { }
@if (height) {
@if (virtualScroll) {
} @if (!virtualScroll) {
}
} @if (!height) {
}
@if (hasFooter) { } }
@if (loading) { }
@if (height) {
@if (virtualScroll) {
} @if (!virtualScroll) {
}
} @if (!height) {
}
@if (hasFooter) { }
@if (!infiniteScroll) { } @if (hasSelectableColumn) { } @if ((hasMasterDetailColumn || hasRowTemplate) && hasMainColumns && !hasRowTemplateWithArrowDirectionRight) { } @if (!actionRight && hasItems && hasMainColumns && (visibleActions.length > 1 || isSingleAction)) { } @if (!hasMainColumns) { } @if (this.isDraggable || hasSomeFixed()) { @for (column of mainColumns; track trackBy(i); let i = $index) { } } @else { @for (column of mainColumns; track trackBy(i); let i = $index) { } } @if (hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager) && hasMainColumns) { } @if ( hasVisibleActions && actionRight && hasItems && hasMainColumns && (visibleActions.length > 1 || isSingleAction) ) { } @if (!hasItems || !hasMainColumns) { } @if (hasMainColumns) { @for (row of filteredItems; track trackBy(rowIndex); let rowIndex = $index) { @if (selectable) { } @if ( (columnMasterDetail && !hideDetail && !hasRowTemplate) || (hasRowTemplate && !hasRowTemplateWithArrowDirectionRight) ) { } @if (!actionRight && (visibleActions.length > 1 || isSingleAction)) { } @for (column of mainColumns; track trackBy(columnIndex); let columnIndex = $index) { } @if (hasRowTemplateWithArrowDirectionRight) { } @if (actionRight) { } @if (hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)) { } @if (hasMainColumns && isShowMasterDetail(row)) { } } }
@if (!hideSelectAll) { }
@if (height) {
{{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}
} @else { {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }} }
@if (this.isDraggable && !column.fixed) { @if (iconNameLib === 'AnimaliaIcon') { } @if (iconNameLib === 'PoIcon') { } }
{{ literals.noData }}
@switch (column.type) { @case ('columnTemplate') { } @case ('cellTemplate') { } @case ('boolean') { {{ getBooleanLabel(getCellData(row, column), column) }} } @case ('currency') { {{ getCellData(row, column) | currency: column.format : 'symbol' : '1.2-2' }} } @case ('date') { {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }} } @case ('time') { {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }} } @case ('dateTime') { {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }} } @case ('number') { {{ formatNumber(getCellData(row, column), column.format) }} } @case ('link') { } @case ('icon') { } @case ('subtitle') { } @case ('label') { } @default { {{ getCellData(row, column) }} } }
@if (hasSelectableColumn) { } @if ((hasMasterDetailColumn || hasRowTemplate) && hasMainColumns && !hasRowTemplateWithArrowDirectionRight) { } @if (!actionRight && hasItems && hasMainColumns && (visibleActions.length > 1 || isSingleAction)) { } @if (!hasMainColumns) { } @if (this.isDraggable || hasSomeFixed()) { @for (column of mainColumns; track trackBy(i); let i = $index) { } } @else { @for (column of mainColumns; track trackBy(i); let i = $index) { } } @if (hasRowTemplateWithArrowDirectionRight && hasMainColumns && (hasVisibleActions || hideColumnsManager)) { } @if ( hasVisibleActions && actionRight && hasItems && hasMainColumns && (visibleActions.length > 1 || isSingleAction) ) { } @if (!hasItems || !hasMainColumns) { } @if (hasMainColumns) { @if (selectable) { } @if ( (columnMasterDetail && !hideDetail && !hasRowTemplate) || (hasRowTemplate && !hasRowTemplateWithArrowDirectionRight) ) { } @if (!actionRight && (visibleActions.length > 1 || isSingleAction)) { } @for (column of mainColumns; track trackBy(columnIndex); let columnIndex = $index) { } @if (hasRowTemplateWithArrowDirectionRight) { } @if (actionRight) { } @if (hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)) { } @if (hasMainColumns && isShowMasterDetail(row)) { } }
@if (!hideSelectAll) { }
@if (height) {
{{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}
} @else { {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }} }
@if (this.isDraggable && !column.fixed) { @if (iconNameLib === 'AnimaliaIcon') { } @if (iconNameLib === 'PoIcon') { } }
{{ literals.noData }}
@switch (column.type) { @case ('columnTemplate') { } @case ('cellTemplate') { } @case ('boolean') { {{ getBooleanLabel(getCellData(row, column), column) }} } @case ('currency') { {{ getCellData(row, column) | currency: column.format : 'symbol' : '1.2-2' }} } @case ('date') { {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }} } @case ('time') { {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }} } @case ('dateTime') { {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }} } @case ('number') { {{ formatNumber(getCellData(row, column), column.format) }} } @case ('link') { } @case ('icon') { } @case ('subtitle') { } @case ('label') { } @default { {{ getCellData(row, column) }} } }
@if ((containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)) { } {{ column.label || (column.property | titlecase) }} @if (sort && column.sortable !== false) { @if (JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)) { @if (iconNameLib === 'AnimaliaIcon') { } @if (iconNameLib === 'PoIcon') { } } @if (JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending) { @if (iconNameLib === 'AnimaliaIcon') { } @if (iconNameLib === 'PoIcon') { } } @if (JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending) { @if (iconNameLib === 'AnimaliaIcon') { } @if (iconNameLib === 'PoIcon') { } } } @if (isSingleAction) { @if (firstAction.visible !== false) {
@if (firstAction.icon) { } @if (firstAction.label) { {{ firstAction.label }} }
} } @if (visibleActions.length > 1) {
}
@if (!hideColumnsManager) { }

{{ literals.bodyDelete }}