UNPKG

amis-reports

Version:

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

26 lines (25 loc) 949 B
import { PlainObject } from './type'; export declare const NORMAL_STATISTIC_FUNCTIONS: { label: string; value: string; }[]; export declare const NUMERIC_STATISTIC_FUNCTIONS: { label: string; value: string; }[]; export declare const entityTofieldTypeMapping: PlainObject<string>; /** * 记录当前可用实体列表(以key/value方式放内存中,方便后续快读获取) */ export declare function saveModelFields(modelList: any[]): void; /** * 从sessionStorage获取模型字段列表 */ export declare function getModelFields(model?: string): any; /** * 从sessionStorage获取关联模型字段列表 */ export declare function getRelationModelFields(model?: string): any; export declare function getDataModelFields(data: [modelFields: any[], relationModelFields?: any[], model?: string]): any[]; export declare function getModelName(model: string): string; export declare function getDsKey(model: string): string;