UNPKG

amis-reports

Version:

爱速搭报表,基于 ECharts 实现的图表功能组件,旨在为用户提供简单和快捷的可视化报表能力,帮助用户在爱速搭平台上快速设计常见的数据报表页和大屏报表效果页。

19 lines (18 loc) 846 B
export declare const TEXT_STYLE_ATTRIBUTES: string[]; export declare const CHART_CSSVAR_COLOR_ATTRIBUTES: string[]; export declare const CHART_CSSVAR_STYLE_ATTRIBUTES: string[]; export declare function getStyleValueByProp(styleProp: string, curElem?: any): string; export declare function isCssVar(cssProp: string): boolean; /** * 将props中的css变量换算成普通数值字符串, * 比如: var(--colors-brand-4) 换算成 #ccffcc * @param curProps */ export declare function buildPropsStyle(curProps: any, curElem?: any): any; /** * * @param reportTheme 需要获取的报表主题,值的格式:color.brand、border.color等 * @param reportElem 当前报表元素 */ export declare function getThemeValueByElem(reportTheme: string, reportElem: any): string; export declare function getThemeValue(reportTheme: string): string;