deeke-script-app 1.6.6 → 1.6.8
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/@deekeScript/@type/Class/Global.d.ts +1 -1
- package/@deekeScript/@type/Class/Rect.d.ts +16 -16
- package/@deekeScript/@type/Class/UiSelector.d.ts +201 -201
- package/@deekeScript/@type/Class/WebSocket.d.ts +49 -49
- package/@deekeScript/@type/interface/Access.d.ts +71 -71
- package/@deekeScript/@type/interface/App.d.ts +16 -8
- package/@deekeScript/@type/interface/Device.d.ts +88 -88
- package/@deekeScript/@type/interface/Encrypt.d.ts +58 -58
- package/@deekeScript/@type/interface/Engines.d.ts +39 -39
- package/@deekeScript/@type/interface/Files.d.ts +283 -0
- package/@deekeScript/@type/interface/FloatDialogs.d.ts +41 -35
- package/@deekeScript/@type/interface/ForegroundServiceBridge.d.ts +31 -31
- package/@deekeScript/@type/interface/Hid.d.ts +342 -342
- package/@deekeScript/@type/interface/Http.d.ts +41 -41
- package/@deekeScript/@type/interface/Images.d.ts +71 -71
- package/@deekeScript/@type/interface/Java.d.ts +7 -7
- package/@deekeScript/@type/interface/KeyBoards.d.ts +27 -27
- package/@deekeScript/@type/interface/Log.d.ts +16 -16
- package/@deekeScript/@type/interface/NotificationBridge.d.ts +28 -28
- package/@deekeScript/@type/interface/SocketIoClient.d.ts +76 -76
- package/@deekeScript/@type/interface/Storage.d.ts +11 -2
- package/@deekeScript/@type/interface/System.d.ts +114 -114
- package/@deekeScript/@type/interface/UiObject.d.ts +197 -197
- package/README.md +67 -67
- package/deekeScript.json +669 -669
- package/deekeScriptZipBuild +48 -48
- package/gulpfile +17 -17
- package/images/test/statistics.png +0 -0
- package/init +32 -32
- package/jsconfig.json +11 -11
- package/package.json +43 -42
- package/script/statistics/statistics.js +120 -120
- package/script/task/douyin_zan.js +37 -37
- package/script/task/dy.js +6 -6
- package/script/task/dyApp.js +6 -6
- package/script/task/tool.js +9 -9
- package/script/task.html +4 -4
- package/src/statistics/statistics.js +120 -120
- package/src/task/douyin_zan.js +89 -89
- package/src/task/dy.js +14 -14
- package/src/task/dyApp.js +7 -7
- package/src/task/tool.js +19 -19
- package/src/task.html +4 -4
- package/uglify-config.json +15 -15
- package/script/9/common/util.js +0 -20
- package/script/9/dy/common/common.js +0 -10
- package/script/9/dy/common/version.js +0 -4
- package/script/9/dy/common/video.js +0 -8
- package/script/9/dy/task/taskOne.js +0 -7
- package/script/9/dy/version/310701.js +0 -7
- package/script/test/2.js +0 -1
- package/script/test/5.js +0 -3
- package/script/test/8.js +0 -17
- package/src/12/main.js +0 -40
- package/src/12/task.js +0 -10
- package/src/9/common/util.js +0 -28
- package/src/9/dy/common/common.js +0 -13
- package/src/9/dy/common/version.js +0 -12
- package/src/9/dy/common/video.js +0 -14
- package/src/9/dy/task/taskOne.js +0 -13
- package/src/9/dy/version/310701.js +0 -7
- package/src/test/2.js +0 -2
- package/src/test/5.js +0 -4
- package/src/test/8.js +0 -36
- package/test/2.0/engines/enginesSimple.js +0 -72
- package/test/2.js +0 -6
- package/test/Access.js +0 -10
- package/test/SocketIOClient.js +0 -39
- package/test/SocketIOServer.js +0 -49
- package/test/Storage.js +0 -3
- package/test/augment/test.js +0 -0
- package/test/console.js +0 -5
- package/test/deekeScriptJson.js +0 -5
- package/test/device.js +0 -11
- package/test/encrypt.js +0 -4
- package/test/engines/1.js +0 -4
- package/test/engines/eng/1.js +0 -8
- package/test/engines/engines.js +0 -6
- package/test/engines/relative.dir.js +0 -8
- package/test/engines/relative.js +0 -1
- package/test/engines/test.js +0 -6
- package/test/engines.js +0 -5
- package/test/extension.js +0 -27
- package/test/files.js +0 -7
- package/test/foreground.js +0 -23
- package/test/http.js +0 -19
- package/test/images/findColor.js +0 -15
- package/test/java.js +0 -28
- package/test/log.js +0 -10
- package/test/module/module.js +0 -5
- package/test/notification.js +0 -26
- package/test/package.js +0 -3
- package/test/permise.js +0 -29
- package/test/thread.js +0 -11
- package/test/timer.close.js +0 -27
- package/test/timer.js +0 -25
- package/test/timer.stop.js +0 -28
- package/test/webSocket.js +0 -22
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
var FloatDialogs: FloatDialogs;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
interface FloatDialogs {
|
|
6
|
-
/**
|
|
7
|
-
* 悬浮窗弹窗(需要开启悬浮窗权限)
|
|
8
|
-
* @param title 弹窗标题
|
|
9
|
-
* @param content 弹窗内容
|
|
10
|
-
*/
|
|
11
|
-
public show(title: string, content: string): void;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* 悬浮窗弹窗(需要开启悬浮窗权限)
|
|
15
|
-
* @param content 弹窗内容
|
|
16
|
-
*/
|
|
17
|
-
public show(content: string): void;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* toast 吐司,与System.toast区别是,可以后台弹出消息
|
|
21
|
-
*/
|
|
22
|
-
public toast(content: string): void;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* toastLong 吐司(时间更长),与System.toast区别是,可以后台弹出消息
|
|
26
|
-
*/
|
|
27
|
-
public toastLong(content: string): void;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
declare global {
|
|
2
|
+
var FloatDialogs: FloatDialogs;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
interface FloatDialogs {
|
|
6
|
+
/**
|
|
7
|
+
* 悬浮窗弹窗(需要开启悬浮窗权限)
|
|
8
|
+
* @param title 弹窗标题
|
|
9
|
+
* @param content 弹窗内容
|
|
10
|
+
*/
|
|
11
|
+
public show(title: string, content: string): void;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* 悬浮窗弹窗(需要开启悬浮窗权限)
|
|
15
|
+
* @param content 弹窗内容
|
|
16
|
+
*/
|
|
17
|
+
public show(content: string): void;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* toast 吐司,与System.toast区别是,可以后台弹出消息
|
|
21
|
+
*/
|
|
22
|
+
public toast(content: string): void;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* toastLong 吐司(时间更长),与System.toast区别是,可以后台弹出消息
|
|
26
|
+
*/
|
|
27
|
+
public toastLong(content: string): void;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* 设置悬浮窗是否可点击
|
|
31
|
+
* @param clickable 是否可点击
|
|
32
|
+
*/
|
|
33
|
+
public setFloatWindowClickable(clickable: boolean): void;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 关闭FloatDialogs开启的所有弹窗
|
|
37
|
+
*/
|
|
38
|
+
public closeAll(): void;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
declare global {
|
|
3
|
-
var ForegroundServiceBridge: foregroundServiceBridge;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
interface foregroundServiceBridge {
|
|
7
|
-
/**
|
|
8
|
-
* 开启前台服务
|
|
9
|
-
*/
|
|
10
|
-
public startService(): void;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 注册执行的方法(启动服务前设置)
|
|
14
|
-
* @param register 注册监听
|
|
15
|
-
*/
|
|
16
|
-
public register(func: Function): void;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 前台服务标题和内容设置(启动服务前设置)
|
|
20
|
-
* @param title 前台服务标题
|
|
21
|
-
* @param content 前台服务内容
|
|
22
|
-
*/
|
|
23
|
-
public setContent(title: string, content: string):void;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* 关闭服务
|
|
27
|
-
*/
|
|
28
|
-
public stopService(): void;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { };
|
|
1
|
+
|
|
2
|
+
declare global {
|
|
3
|
+
var ForegroundServiceBridge: foregroundServiceBridge;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface foregroundServiceBridge {
|
|
7
|
+
/**
|
|
8
|
+
* 开启前台服务
|
|
9
|
+
*/
|
|
10
|
+
public startService(): void;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 注册执行的方法(启动服务前设置)
|
|
14
|
+
* @param register 注册监听
|
|
15
|
+
*/
|
|
16
|
+
public register(func: Function): void;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 前台服务标题和内容设置(启动服务前设置)
|
|
20
|
+
* @param title 前台服务标题
|
|
21
|
+
* @param content 前台服务内容
|
|
22
|
+
*/
|
|
23
|
+
public setContent(title: string, content: string):void;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 关闭服务
|
|
27
|
+
*/
|
|
28
|
+
public stopService(): void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { };
|