Skip to main content

CnSpendAnalyticsWidget

Financial spend-analytics widget; data via dataSource/cnSpendSource.

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
contentobject\{\}Persisted widget content {period, viewMode, filters, aiInsights}.
dataSourceunionnullConsumer-supplied data source overriding the cnSpendAnalyticsSource injection. Must expose fetchSummary, fetchVendorCommitments, and fetchNarrative; may expose resolveDeepLink. When null the injection (then the empty state) is used.