1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { FunctionRegiste, LibParamType } from "../types";
- import { Scope } from "../Scope";
- export declare function toString(value: any): string;
- export declare function isEmpty(value: any): boolean;
- export declare function getRegList(): FunctionRegiste[];
- export declare function getRegParamList(methodName: string): any;
- /**
- * 模拟点击按钮
- */
- export declare function raiseClick(buttonHandle: any): boolean;
- /**
- * 标注系统全局函数的参数
- * @param title 函数名称
- * @param type 函数类型
- * @param allowEmpty 可否为空
- */
- export declare function LibParam(title: string, type: LibParamType, allowEmpty?: boolean): (target: any, methodName: any, paramsIndex: any) => void;
- /**
- * 标注函数变成"系统全局函数"
- */
- export declare function Lib(registe: FunctionRegiste): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => any;
- /**
- * 解析事件
- * 'scope.私有方法名'
- * 'system.系统函数名'
- * 'format.格式化名'
- */
- export declare function lookupFn(scope: Scope, event: string): Function;
- /**
- * 从 ext.element 获取 scope 对象
- */
- export declare function lookupScope(extHandle: any): Scope;
- /**
- * 转换内联结构的行,到平面结构
- * company: { name:'公司1', id:'编号1' } => { company_id:'编号1', company_name:'公司1' }
- *
- * @param array
- * @param flatOption
- * @return {[]}
- */
- export declare function flatRow(array: any): any[];
|