/** * 仪表盘样式 */ export interface DashboardStyles { theme: DashboardTheme; chartMetricTheme?: ChartMetricTheme; echartsTheme: EchartsTheme; /** * 组件整体样式 */ overrallStyles?: OverrallStyles; } /** * 指标图样式 */ export interface ChartMetricTheme { name?: string; listLayoutName?: string; valueColor?: string; } /** * 配色方案 */ export interface EchartsTheme { palette: string; } /** * 仪表盘样式 风格 、背景 、高亮色 */ export interface DashboardTheme { /** * 风格 */ name: 'dark' | 'light'; /** * 高亮色 */ highlightColor: string; /** * 背景 */ background: BackgroundStyles; } /** * 组件样式 */ export interface ChartStyles { /** * 指标图样式 */ chartMetricTheme?: ChartMetricTheme; /** * 图表配色方案 */ echartsTheme?: EchartsTheme; /** * 组件整体样式 */ overrallStyles?: OverrallStyles; } /** * 组件整体样式 */ export interface OverrallStyles { /** * 标题颜色 */ titleColor: string; background: BackgroundStyles; } /** * 背景样式 */ export interface BackgroundStyles { /** * 组件背景类型 */ type: BackgroundType; /** * 背景色 */ color?: string; /** * 背景图片 */ imageUrl?: string; imageFillingMode?: ImageFillingModeType; } export declare enum BackgroundType { /** * 背景色 */ COLOR = "color", /** * 背景图片 */ IMAGE = "image" } export declare enum ImageFillingModeType { /** * 居中填满 */ CENTER = "center", /** * 拉伸填满 */ STRETCH = "stretch" }