s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Svelte · Audit

AuditList

No summary has been written for AuditList. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { AuditList } from '@happyvertical/smrt-svelte';
Import path
@happyvertical/smrt-svelte
Props
10
Props described
10 of 10
Bindable state
0
Callback events
1
Verified release
0.57.40

Props

NameTypeRequiredDescription
entriesAuditHistoryEntry[]YesAuthorized data only. For server paging use onfilter to reload the authorized page.
loadingbooleanNoShows the loading state and disables filter submission while a page is loading.
errorstring | nullNoDisplays a history-loading error above the entries.
onfilter(filter: AuditListFilter) => voidNoRequests an authorized server page for the submitted filters instead of filtering locally.
showFiltersbooleanNoShows the built-in person, record and date filters.
resourceLabelAuditEntryLabelNoResolves friendly resource text for each authorized entry.
resourceHrefAuditResourceHrefNoResolves an already-authorized local or HTTP(S) destination for each entry.
actionLabelAuditEntryLabelNoResolves friendly action text for each authorized entry.
fieldLabelAuditFieldLabelNoResolves friendly field text for each authorized entry change.
formatValueAuditValueFormatterNoFormats before/after values as escaped text.

Bindable state

This component has no bindable public state.

Callback events

  • onfilter(filter: AuditListFilter) => void

Examples and explanation