import type Table from "./Table.js"; import CheckBox from "@ui5/webcomponents/dist/CheckBox.js"; import BusyIndicator from "@ui5/webcomponents/dist/BusyIndicator.js"; export default function TableTemplate(this: Table) { return (
{this.isMultiSelect && } {this.visibleColumns.map(col => )} { this.rows.map(row => )} {!this.rows.length && !this.hideNoData && } { this.growsWithButton && moreRow.call(this) } { this.growsOnScroll && endRow.call(this) }
{this.noDataText}
); } function moreRow(this: Table) { return (
{this._growingButtonText} {this.growingButtonSubtext && {this.growingButtonSubtext} }
); } function endRow(this: Table) { return ( ); }