123456789101112131415161718192021222324252627282930 |
- import { FunctionRegiste, LibParamType } from "../types";
- import { Scope } from "../Scope";
- 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, errorWho?: any): Function;
- /**
- * 从 ext.element 获取 scope 对象
- */
- export declare function lookupScope(extHandle: any): Scope;
|