epii-types-rpa 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rpa.d.ts +10 -3
package/package.json
CHANGED
package/rpa.d.ts
CHANGED
|
@@ -49,6 +49,8 @@ namespace rpa {
|
|
|
49
49
|
|
|
50
50
|
namespace console {
|
|
51
51
|
function log(object: any): Promise;
|
|
52
|
+
function error(error): Promise;
|
|
53
|
+
function readline(tip:String = ""):Promise;
|
|
52
54
|
}
|
|
53
55
|
namespace tools {
|
|
54
56
|
function addRequestHandler(r: RequestHandler): Promise
|
|
@@ -100,8 +102,8 @@ namespace rpa {
|
|
|
100
102
|
function get(key: String = null): Promise;
|
|
101
103
|
function set(map: Object): Promise;
|
|
102
104
|
}
|
|
103
|
-
namespace frame {
|
|
104
|
-
function newIframeAndevaluateCross(urlOrFunction, func: Function, data = {},removeOnFinish:Boolean = true): Promise;
|
|
105
|
+
namespace frame {
|
|
106
|
+
function newIframeAndevaluateCross(urlOrFunction, func: Function, data = {}, removeOnFinish: Boolean = true): Promise;
|
|
105
107
|
function evaluateCross(name: String, func: Function, data = {}): Promise;
|
|
106
108
|
function evaluate(name: String, func: Function): Promise;
|
|
107
109
|
function evaluateOnNextFrame(invokeFun: Function, func: Function, remove: boolean): Promise;
|
|
@@ -115,7 +117,9 @@ namespace rpa {
|
|
|
115
117
|
function removeItem(key: String): Promise;
|
|
116
118
|
}
|
|
117
119
|
namespace view {
|
|
118
|
-
function
|
|
120
|
+
function alert(message?: any): Promise;
|
|
121
|
+
function confirm(message?: string): Promise;
|
|
122
|
+
function getCustomValue(keysOrOptions: Array, title = ""): Promise;
|
|
119
123
|
function showConsoleView(title: String = null): Promise;
|
|
120
124
|
function hideConsoleView();
|
|
121
125
|
function console(msg: String, color: String = "#ffffff");
|
|
@@ -123,6 +127,9 @@ namespace rpa {
|
|
|
123
127
|
function hideMaskView();
|
|
124
128
|
|
|
125
129
|
}
|
|
130
|
+
namespace process {
|
|
131
|
+
function exit(): Promise;
|
|
132
|
+
}
|
|
126
133
|
}
|
|
127
134
|
|
|
128
135
|
declare function require(path: String): Promise;
|