import { BaseModule, VJson } from './YvanUIModule'; export declare const exprPropArr: string[]; export declare const eventPropArr: string[]; export interface MetaData { "id": string; "title": string; "mdmInfo": { "mdmId": string; "mdmSubject": string; "mdmCategory1": string; "mdmCategory2": string; "mdmCategory3": string; }; "valueStrategy": { "nullable": boolean; "nullableCreate": boolean; "beforeStrategy": string; "insertStrategy": string; "updateStrategy": string; "dict": any; }; "viewInfo": { "name": string; "editType": "编码类" | "代码类" | "标志类" | "文本类" | "金额类" | "比例类" | "数值类" | "日期类" | "时间类" | "日期时间类"; "columnWidth": number; "label": string; "searchWidget": string; "sortable": boolean; "filterable": boolean; }; "dbInfo": { "table": string; "field": string; "fieldLen": number; "fieldType": string; "fk": boolean; "pk": boolean; "version": string; }; "attributes": {}; } export declare const metaViewType: { 编码类: string; 代码类: string; 标志类: string; 文本类: string; 金额类: string; 比例类: string; 数值类: string; 日期类: string; 时间类: string; 日期时间类: string; }; export declare function setMetaDataList(m: MetaData[]): void; export declare function getMetaDataList(): MetaData[]; export declare function getMetaData(metaId: string): MetaData | null; /** * 深度遍历 vjson * @param vjson 视图JSON * @param resolver 分析函数 * @return 记录 resolver 方法返回 true 时,对象的访问路径 */ export declare function deepTravVJson(vjson: VJson, resolver: (child: VJson) => any): Array; /** * 深度遍历 vjson 后,所有 mark 对象及访问方法 */ export interface PathMarker { id: number; keyName: string; object: any; } /** * 根据 vjson 中的 ctlName, 合并属性 * @param vjson 原始 vjson 视图 * @param ctlOption 要被扩展的 ctlName 属性对 */ export declare function viewExtend(vjson: VJson, ctlOption: any): VJson; /** * 根据 vjson 格式,嵌入 yvan 组件, 生成能够为 webix 使用的 vjson */ export declare function wrapperWebixConfig(module: BaseModule, vjson: VJson): void; /** * 将传统 ts Class 转换为 vue 对象. * 普通模块对象和 dialog 对象都要经过转换 */ export declare function componentFactory(Component: BaseModule & any, options?: any): any; /** * 在目标 DOM 选择器上渲染模块 */ export declare function render(selector: string, baseModule: BaseModule): any; /** * 在占位空间 spaceId 上渲染 vjson * @param module 当前模块 * @param spaceId 占位空间 * @param vjson 界面描述 */ export declare function renderPlace(module: BaseModule, spaceId: string, vjson: VJson): void;