import { DataSourceType } from "../formKeyType"; import { jsonResponseType } from "./type"; export declare class JsonDomSelectService { showEditIcon(formKey: DataSourceType, data: any): boolean; /** * 获取数据源或者自定义数据的渲染内容 * @param formKey * @param data */ getJsonRenderData(formKey: DataSourceType, data: any): Promise; /** * 先尝试从服务端获取的数据,如果没有,再从本地数据中获取 * @param dataSourceId */ private getDataSourceRenderJsonData; private getDataBySessionStorage; /** * 判断此数据源是否在白名单中 * 目前仅支持,引擎,并且是方法是getRule * @param dataSourceItem */ private isWhiteListRequest; /** * 兼容不同的数据类型,最终的数据结构时不带code的 * @param data */ private getDataSourceJson; private getHandleRes; private getJsonValueByData; }