import { ExprEditMode } from "./ExpressEntity"; /** * 简易表达式:计算条件实体 */ export declare class ConditionRule { computeField: string; value: string; operator: string; lbracket: string; rbracket: string; relation: string; } /** * 简易表达式:计算条件视图类 */ export declare class ConditionRuleView extends ConditionRule { fieldName: string; sysorgData: { showText: string; bindingData: any; }; } /** * 简易表达式--树节点信息实体 */ export declare class ComputeTreeNode { id: number; parentId: number; code: string; name: string; chainCode: string; chainName: string; treeInfo: ComputeTreeInfo; type: string; data: any; } /** * 简易表达式--树节点父节点实体 */ declare class ComputeTreeInfo { layer: number; path: string; } /** * 表达式返回结果 * @property type 表达式类型(简易/高级) * @property text 表达式文本 * @date 2021-01-11 * @author Vincent */ export declare class ExpressionResult { type: ExprEditMode; text: string; } /** * 简易表达式--工具类 */ export declare class ComputeExpressUtils { /** * 简易表达式--返回路径信息 * @param path 路径信息 * @returns 路径信息 */ static getPath(path: number): string; /** * 根据字段类型获取操作符 * @param type 字段类型 * @returns 对应操作符集合 */ static getOperator(type: string): { lang: string; resource: { label: string; value: string; }[]; }[]; /** * 转化为表达式串 * @param conditions 简易表达式-计算条件列表 * @returns */ static convertExpr(conditions: ConditionRule[]): string; } export {};