<Layout::Resource::Tabular
    @resource="report"
    @title={{t "resource.reports"}}
    @searchQuery={{this.query}}
    @onSearch={{perform this.reportActions.controllerSearchTask this}}
    @data={{@model}}
    @columns={{this.columns}}
    @page={{this.page}}
    @onPageChange={{fn (mut this.page)}}
    @setupTable={{fn (mut this.table)}}
    @actionButtons={{this.actionButtons}}
    @bulkActions={{this.bulkActions}}
    @controller={{this}}
    @emptyStateComponent={{component
        "table/empty-state"
        icon="chart-line"
        title="No reports yet"
        description="Create a Fleet-Ops report to start tracking operational trends, utilization, and performance over time."
        filteredTitle="No reports match your search"
        filteredDescription="Adjust the search or filters to find an existing report."
        primaryText="New report"
        primaryIcon="plus"
        primaryAction=this.reportActions.transition.create
        secondaryText="Refresh"
        secondaryIcon="refresh"
        secondaryAction=this.reportActions.refresh
        docsSlug="fleet-ops/analytics/reports/overview"
        docsTitle="Reports guide"
        docsText="Reports guide"
        docsSource="fleet-ops-empty-reports"
    }}
/>
{{outlet}}
