deeke-script-app 1.5.6 → 1.5.7

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.
Files changed (66) hide show
  1. package/@deekeScript/@type/Class/Global.d.ts +1 -1
  2. package/@deekeScript/@type/Class/Rect.d.ts +16 -16
  3. package/@deekeScript/@type/Class/UiSelector.d.ts +201 -201
  4. package/@deekeScript/@type/Class/WebSocket.d.ts +49 -49
  5. package/@deekeScript/@type/interface/Access.d.ts +71 -71
  6. package/@deekeScript/@type/interface/Engines.d.ts +34 -34
  7. package/@deekeScript/@type/interface/ForegroundServiceBridge.d.ts +31 -31
  8. package/@deekeScript/@type/interface/Hid.d.ts +342 -342
  9. package/@deekeScript/@type/interface/Http.d.ts +41 -41
  10. package/@deekeScript/@type/interface/Images.d.ts +71 -71
  11. package/@deekeScript/@type/interface/Java.d.ts +7 -7
  12. package/@deekeScript/@type/interface/KeyBoards.d.ts +27 -27
  13. package/@deekeScript/@type/interface/Log.d.ts +16 -16
  14. package/@deekeScript/@type/interface/NotificationBridge.d.ts +28 -28
  15. package/@deekeScript/@type/interface/{SocketIoClient.d.ts → SocketIOClient.d.ts} +76 -76
  16. package/@deekeScript/@type/interface/UiObject.d.ts +91 -36
  17. package/README.md +67 -35
  18. package/deekeScript.json +611 -611
  19. package/deekeScriptZipBuild +48 -48
  20. package/gulpfile +17 -17
  21. package/images/test/statistics.png +0 -0
  22. package/init +32 -32
  23. package/jsconfig.json +11 -11
  24. package/package.json +42 -42
  25. package/script/statistics/statistics.js +120 -120
  26. package/script/task/dy.js +14 -14
  27. package/script/task/dyApp.js +7 -7
  28. package/script/task/tool.js +19 -19
  29. package/script/task.html +4 -4
  30. package/src/statistics/statistics.js +120 -120
  31. package/src/task/dy.js +14 -14
  32. package/src/task/dyApp.js +7 -7
  33. package/src/task/tool.js +19 -19
  34. package/src/task.html +4 -4
  35. package/test/2.0/engines/enginesSimple.js +72 -72
  36. package/test/2.js +6 -6
  37. package/test/SocketIOClient.js +39 -39
  38. package/test/SocketIOServer.js +49 -49
  39. package/test/Storage.js +3 -3
  40. package/test/console.js +5 -5
  41. package/test/deekeScriptJson.js +5 -5
  42. package/test/encrypt.js +3 -3
  43. package/test/engines/1.js +4 -4
  44. package/test/engines/eng/1.js +8 -8
  45. package/test/engines/engines.js +6 -6
  46. package/test/engines/relative.dir.js +8 -8
  47. package/test/engines/relative.js +1 -1
  48. package/test/engines/test.js +6 -6
  49. package/test/engines.js +5 -5
  50. package/test/extension.js +27 -27
  51. package/test/files.js +7 -7
  52. package/test/foreground.js +23 -23
  53. package/test/http.js +19 -19
  54. package/test/images/findColor.js +15 -15
  55. package/test/java.js +28 -28
  56. package/test/log.js +10 -10
  57. package/test/module/module.js +4 -4
  58. package/test/notification.js +26 -26
  59. package/test/package.js +3 -3
  60. package/test/permise.js +29 -29
  61. package/test/thread.js +11 -11
  62. package/test/timer.close.js +27 -27
  63. package/test/timer.js +25 -25
  64. package/test/timer.stop.js +28 -28
  65. package/test/webSocket.js +22 -22
  66. package/uglify-config.json +15 -15
@@ -1,34 +1,34 @@
1
- declare global {
2
- var Engines: Engines;
3
- }
4
-
5
- interface Engines {
6
- /**
7
- * 执行脚本
8
- * @param file 文件路径,相对根目录的路径
9
- */
10
- public executeScript(file: string): void;
11
-
12
- /**
13
- * 执行脚本
14
- * @param content 脚本内容
15
- */
16
- public executeScriptStr(content: string): void;
17
-
18
- /**
19
- * 关闭当前线程和子线程所有脚本(包含定时器、socket、Hid等;不会关闭hooks脚本)
20
- */
21
- public closeAll(): void;
22
-
23
- /**
24
- * 关闭当前线程之外的其他线程和子线程(包含定时器、socket、Hid等;不会关闭hooks脚本)
25
- */
26
- public closeOther(): void;
27
-
28
- /**
29
- * 关闭hooks脚本
30
- */
31
- public closeHook(): void;
32
- }
33
-
34
- export { };
1
+ declare global {
2
+ var Engines: Engines;
3
+ }
4
+
5
+ interface Engines {
6
+ /**
7
+ * 执行脚本
8
+ * @param file 文件路径,相对根目录的路径
9
+ */
10
+ public executeScript(file: string): void;
11
+
12
+ /**
13
+ * 执行脚本
14
+ * @param content 脚本内容
15
+ */
16
+ public executeScriptStr(content: string): void;
17
+
18
+ /**
19
+ * 关闭当前线程和子线程所有脚本(包含定时器、socket、Hid等;不会关闭hooks脚本)
20
+ */
21
+ public closeAll(): void;
22
+
23
+ /**
24
+ * 关闭当前线程之外的其他线程和子线程(包含定时器、socket、Hid等;不会关闭hooks脚本)
25
+ */
26
+ public closeOther(): void;
27
+
28
+ /**
29
+ * 关闭hooks脚本
30
+ */
31
+ public closeHook(): void;
32
+ }
33
+
34
+ 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 { };