@model PlanTempus.Application.Features.Employees.Components.EmployeeRowViewModel

<swp-data-table-row data-employee-detail="@Model.Key">
    <swp-data-table-cell>
        <swp-user-info>
            <swp-user-avatar class="@Model.AvatarColor">@Model.Initials</swp-user-avatar>
            <swp-user-details>
                <swp-user-name>@Model.Name</swp-user-name>
                <swp-user-email>@Model.Email</swp-user-email>
            </swp-user-details>
        </swp-user-info>
    </swp-data-table-cell>
    <swp-data-table-cell>
        <swp-status-badge class="@Model.Role">@Model.RoleText</swp-status-badge>
    </swp-data-table-cell>
    <swp-data-table-cell>
        <swp-status-badge class="@Model.Status">@Model.StatusText</swp-status-badge>
    </swp-data-table-cell>
    <swp-data-table-cell>@Model.LastActive</swp-data-table-cell>
    <swp-data-table-cell>
        <swp-row-toggle>
            <i class="ph ph-caret-right"></i>
        </swp-row-toggle>
    </swp-data-table-cell>
</swp-data-table-row>
