import { DashboardWidgetPosition, DashboardWidgetSize } from './CuiDashboard.vue'; import { WidgetStrokeColor } from './widgetColors'; export interface KpiTrend { /** * @description Trend direction: "up" renders a green trending-up row, "down" a red trending-down row. */ direction: "up" | "down"; /** * @description Trend text (e.g. "+5.6% from the previous month"). */ text: string; } export interface CuiKpiVerticalProps { /** * @description Main title of the KPI card (e.g. "Students to enrol"). */ title: string; /** * @description Small caption shown below the title (e.g. "View: Students to enrol"). */ subtitle?: string; /** * @description Material Symbols icon name shown before the titles (e.g. "group_remove"). */ icon?: string; /** * @description Accent colour for the icon — one of the 11 basic colour names (same palette as stroke). When set, the icon renders inside a rounded tinted container in this colour; otherwise a plain muted icon is shown. */ iconColor?: WidgetStrokeColor; /** * @description The key metric shown centered below the header. */ value?: string | number; /** * @description Trend indicator rows shown below the value. */ trends?: KpiTrend[]; /** * @description Whether the card is selected (active filter/view). Shows a yellow highlight with a gold border. */ selected?: boolean; /** * @description Left accent stroke colour for visual grouping of related KPI cards — one of the 11 basic colour names. Omit for no stroke. */ stroke?: WidgetStrokeColor; /** * @description Deep link text shown at the bottom of the card with an arrow (e.g. "Go to: Enrol students"). Signals that clicking navigates to a detail page. */ deepLinkLabel?: string; /** * @description Accessible label for the card button. Falls back to the visible text content. */ wcagLabel?: string; /** * @description Unique widget id. Set this to use the card as a tile inside a CuiDashboard (it registers with the grid); omit for a standalone card. As a grid tile the card renders as a plain widget, so stroke/selected/click do not apply. */ id?: string; /** * @description Default size when used as a CuiDashboard tile without an explicit layout entry. */ defaultSize?: DashboardWidgetSize; /** * @description Default position when used as a CuiDashboard tile without an explicit layout entry. */ defaultPosition?: DashboardWidgetPosition; /** * @description Minimum size when used as a resizable CuiDashboard tile. */ minSize?: DashboardWidgetSize; /** * @description Maximum size when used as a resizable CuiDashboard tile. */ maxSize?: DashboardWidgetSize; } declare const _default: import('vue').DefineComponent any; }, string, import('vue').PublicProps, Readonly & Readonly<{ onClick?: ((event: MouseEvent) => any) | undefined; }>, { value: string | number; icon: string; id: string; subtitle: string; wcagLabel: string; stroke: WidgetStrokeColor; selected: boolean; defaultSize: DashboardWidgetSize; defaultPosition: DashboardWidgetPosition; minSize: DashboardWidgetSize; maxSize: DashboardWidgetSize; iconColor: WidgetStrokeColor; trends: KpiTrend[]; deepLinkLabel: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; export default _default;