c-admin-audit-log-page
A full-featured page for interacting with Coalesce's Audit Logging. Presents a view similar to c-admin-table-page with content optimized for viewing audit log records. Designed to be routed to directly with vue-router.
Examples
ts
import { CAdminAuditLogPage } from 'coalesce-vue-vuetify3';
const router = new Router({
// ...
routes: [
// ... other routes
{
path: '/admin/audit-logs',
component: CAdminAuditLogPage,
props: {
type: 'AuditLog'
}
},
]
})
Props
type: string
type: string
The PascalCase name of your IAuditLog
implementation.
list?: ListViewModel
list?: ListViewModel
An optional ListViewModel that will be used if provided instead of the one the component will create automatically from the provided type
prop.
color: string = 'primary'
color: string = 'primary'
A Vuetify color name to be applied to the toolbar at the top of the page.
Slots
row-detail: { item: AuditLogViewModel }
row-detail: { item: AuditLogViewModel }
A slot that can be used to replace the entire content of the Detail column on the page.
row-detail-append: { item: AuditLogViewModel }
row-detail-append: { item: AuditLogViewModel }
A slot that can be used to append additional content to the Detail column on the page.