Reports · Components
ReportConfirmation
No summary has been written for ReportConfirmation. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.Public export
typescript
import { ReportConfirmation } from '@happyvertical/smrt-reports/svelte';- Import path
@happyvertical/smrt-reports/svelte- Props
- 9
- Props described
- 3 of 9
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
proposalRuntimeReportProposalYesNot describedconfirm(proposal: RuntimeReportProposal) => Promise<SavedRuntimeReport>YesPosts the exact displayed spec and hash to the authenticated confirm route.reportHref(id: string) => stringNoNot describedondecline() => voidNoNot describedonsaved(report: SavedRuntimeReport) => voidNoNot describedoutcomeReportConfirmationOutcome | nullNoAn earlier answer (from the transcript): the card shows its outcome line and offers no buttons, so a reloaded or re-rendered card cannot approve twice.fieldsreadonly ReportFieldInfo[]NoThe source's field labels and formats (its descriptor's `fields`), so groupings and filters read "Issue date", "Total amount" and money, not model field names. Omitted, names are humanized.localestringNoNot describedcurrencystringNoNot describedBindable state
This component has no bindable public state.
Callback events
ondecline() => voidonsaved(report: SavedRuntimeReport) => void