deeke-script-app 1.3.7 → 1.3.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.
@@ -0,0 +1,27 @@
1
+ global {
2
+ var KeyBoards: KeyBoards;
3
+ }
4
+
5
+ interface KeyBoards {
6
+ /**
7
+ * DeekeScript输入法是否启用(未设置为默认,也返回true,但是此时不能输入和删除)
8
+ */
9
+ public isEnabled(): boolean;
10
+
11
+ /**
12
+ * 判断DeekeScript输入法是否设置为默认,是的话,则可以使用输入和删除方法
13
+ */
14
+ public canInput():boolean;
15
+
16
+ /**
17
+ * 往文本框追加字符串
18
+ */
19
+ public input(str: string): boolean;
20
+
21
+ /**
22
+ * 删除文本框最后一个字符
23
+ */
24
+ public delete():boolean;
25
+ }
26
+
27
+ export { };
package/deekeScript.json CHANGED
@@ -3,7 +3,8 @@
3
3
  "icon": "images/test/app.png",
4
4
  "head": "images/test/app.png",
5
5
  "settingTopBg": "images/test/setting-top.png",
6
- "version": "1.0.0",
6
+ "versionCode": "101",
7
+ "versionName": "1.0.1",
7
8
  "host": "https://home.deeke.top",
8
9
  "switchSetting": {
9
10
  "alipay": true
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deeke-script-app",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "DeekeScript应用",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
package/script/index.js CHANGED
@@ -0,0 +1 @@
1
+ //这个文件不用编写代码
package/script/task/dy.js CHANGED
@@ -1,7 +1,14 @@
1
- let e = require("./dyApp"), o = UiSelector().id("name").findOne(), r = {
2
- toker_view_video_keywords: Storage.get("toker_view_video_keywords"),
3
- toker_view_video_second: Storage.getInteger("toker_view_video_second"),
4
- toker_run_sex: Storage.getArray("toker_run_sex")
5
- };
1
+ let dyApp = require("./dyApp");
6
2
 
7
- console.log(r, e.getName()), FloatDialogs.show("提示", "请编写业务代码");
3
+ let tag = UiSelector().id('name').findOne();
4
+
5
+ // console.log(tag.click());
6
+ let config = {
7
+ toker_view_video_keywords: Storage.get('toker_view_video_keywords'),
8
+ toker_view_video_second: Storage.getInteger('toker_view_video_second'),
9
+ toker_run_sex: Storage.getArray('toker_run_sex'),
10
+ }
11
+
12
+ console.log(config, dyApp.getName());//获取json文件中的配置参数
13
+
14
+ FloatDialogs.show('提示', '请编写业务代码');
@@ -1,7 +1,7 @@
1
- let e = {
2
- getName() {
1
+ const dyApp = {
2
+ getName(){
3
3
  return "appName";
4
4
  }
5
- };
5
+ }
6
6
 
7
- module.exports = e;
7
+ module.exports = dyApp;
@@ -1 +1 @@
1
- FloatDialogs.show("提示", "请编写业务代码");
1
+ FloatDialogs.show('提示', '请编写业务代码');
@@ -1,10 +1,19 @@
1
- let a = {
2
- intoApp() {},
3
- backApp() {},
4
- task() {},
1
+ let myTask = {
2
+ intoApp() {
3
+ //打开并进入App
4
+ },
5
+
6
+ backApp() {
7
+ //退出当前App
8
+ },
9
+
10
+ task(){
11
+ //任务代码
12
+ },
13
+
5
14
  run() {
6
- FloatDialogs.show("提示", "请编写业务代码");
15
+ FloatDialogs.show('提示', '请编写业务代码');
7
16
  }
8
- };
17
+ }
9
18
 
10
- a.run();
19
+ myTask.run();