export declare class Condition { operatorText: { opEqual: string; opGreaterE: string; opLessE: string; opNotEqual: string; opGreater: string; opLess: string; opLike: string; opBegin: string; opEnd: string; opNotLike: string; opNoBegin: string; opNoEnd: string; opIs: string; opIsNot: string; opAnd: string; opOr: string; }; /**根据传递的字段类型,找到对应过滤条件比较符 */ /** * 从数据库中取出的值,进行处理 * 比如:对于like是带%的,去掉% */ getShowValue(operator: any, originalValue: any): any; /** * 从控件上取值,根据比较符类型,返回值 */ getValue(operator: any, originalValue: any, dataType: any): any; /** * 取值(为空则返回空,不为空,返回原值) * @param originalValue */ trimValue(originalValue: any): any; /** * 去掉空格 * @param value */ trim(value: any): any; /** * 获取比较操作符列表 */ getOperatorList(dataType: any): Array; /** * 格式化日期 * @param date * @param fmt */ formatDate(date: any, fmt: any): string; /** * 过滤originals,返回第一个符合的对象 * @param originals * @param propName * @param propValue */ getFilterFirst(originals: any, propName: any, propValue: any): any; /** * 返回过滤条件中的类型 */ getDataType(originalDataType: any): any; /** * 根据条件返回真实值和显示值 * @param operator * @param value * @param datatype */ getConditionValueADisplayValue(operator: any, value: any, datatype: any): { Value: any; DisplayValue: any; }; } export declare const OPERATE_CONDITION: Condition;