x-block-lib 0.4.33 → 0.4.35
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/dist/{blockly-fzxzwly0.js → blockly-3pjknyf9.js} +3 -2
- package/dist/components/sourceDlg/index.vue.d.ts +6 -0
- package/dist/core/locale/msg/en.d.ts +10 -0
- package/dist/core/locale/msg/zhHans.d.ts +10 -0
- package/dist/core/utils/compute/func.d.ts +17 -1
- package/dist/{i18n-en-n4vh7fbw.js → i18n-en-m3g6roub.js} +6 -2
- package/dist/{i18n-zhHans-idmyovro.js → i18n-zhHans-emne9mah.js} +6 -2
- package/dist/index.js +4646 -2450
- package/dist/{msg-en-g3j3bnkv.js → msg-en-kqhn7gr4.js} +11 -1
- package/dist/{msg-zhHans-jpsfx4co.js → msg-zhHans-l9gdu4vx.js} +11 -1
- package/package.json +3 -1
|
@@ -53,7 +53,13 @@ const _ = {
|
|
|
53
53
|
LABEL_BOOLEAN: "Boolean",
|
|
54
54
|
LABEL_CREATE_VARIABLE: "Create Variable",
|
|
55
55
|
LABEL_CREATED: "Created",
|
|
56
|
+
LABEL_GET: "Get",
|
|
57
|
+
LABEL_LIST: "List",
|
|
58
|
+
LABEL_OBJECT: "Object",
|
|
56
59
|
LABEL_PROCEDURE: "Procedure",
|
|
60
|
+
LABEL_PROPERTY: "Property",
|
|
61
|
+
LABEL_SET: "Set",
|
|
62
|
+
LABEL_TEXT: "Text",
|
|
57
63
|
LABEL_VARIABLE: "Variable",
|
|
58
64
|
// asset
|
|
59
65
|
ASSET_DATA: "data",
|
|
@@ -86,11 +92,15 @@ const _ = {
|
|
|
86
92
|
COLOR_V1_RGB_TOOLTIP: "COLOR_V1_RGB_TOOLTIP",
|
|
87
93
|
COLOR_V1_RGB_HELPURL: "COLOR_V1_RGB_HELPURL",
|
|
88
94
|
// compute
|
|
95
|
+
COMPUTE_CALL: "call",
|
|
89
96
|
COMPUTE_DO: "do",
|
|
90
97
|
COMPUTE_FUNC_ENTRY: "func entry",
|
|
91
|
-
COMPUTE_V1_DEBUG_TRACE_TITLE: "debug trace",
|
|
98
|
+
COMPUTE_V1_DEBUG_TRACE_TITLE: "debug trace %1",
|
|
92
99
|
COMPUTE_V1_DEBUG_TRACE_TOOLTIP: "COMPUTE_V1_DEBUG_TRACE_TOOLTIP",
|
|
93
100
|
COMPUTE_V1_DEBUG_TRACE_HELPURL: "COMPUTE_V1_DEBUG_TRACE_HELPURL",
|
|
101
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_TITLE: "set func output",
|
|
102
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_TOOLTIP: "COMPUTE_V1_SET_FUNC_OUTPUT_TOOLTIP",
|
|
103
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_HELPURL: "COMPUTE_V1_SET_FUNC_OUTPUT_HELPURL",
|
|
94
104
|
// list
|
|
95
105
|
LIST_V1_CREATE_CONTAINER_TITLE: "list",
|
|
96
106
|
LIST_V1_CREATE_ITEM_TITLE: "item",
|
|
@@ -53,7 +53,13 @@ const _ = {
|
|
|
53
53
|
LABEL_BOOLEAN: "布尔",
|
|
54
54
|
LABEL_CREATE_VARIABLE: "创建变量",
|
|
55
55
|
LABEL_CREATED: "已创建",
|
|
56
|
+
LABEL_GET: "获取",
|
|
57
|
+
LABEL_LIST: "列表",
|
|
58
|
+
LABEL_OBJECT: "对象",
|
|
56
59
|
LABEL_PROCEDURE: "程序",
|
|
60
|
+
LABEL_PROPERTY: "属性",
|
|
61
|
+
LABEL_SET: "设置",
|
|
62
|
+
LABEL_TEXT: "文本",
|
|
57
63
|
LABEL_VARIABLE: "变量",
|
|
58
64
|
// asset
|
|
59
65
|
ASSET_DATA: "数据",
|
|
@@ -86,11 +92,15 @@ const _ = {
|
|
|
86
92
|
COLOR_V1_RGB_TOOLTIP: "COLOR_V1_RGB_TOOLTIP",
|
|
87
93
|
COLOR_V1_RGB_HELPURL: "COLOR_V1_RGB_HELPURL",
|
|
88
94
|
// compute
|
|
95
|
+
COMPUTE_CALL: "调用",
|
|
89
96
|
COMPUTE_DO: "执行",
|
|
90
97
|
COMPUTE_FUNC_ENTRY: "函数入口",
|
|
91
|
-
COMPUTE_V1_DEBUG_TRACE_TITLE: "
|
|
98
|
+
COMPUTE_V1_DEBUG_TRACE_TITLE: "调试追踪%1",
|
|
92
99
|
COMPUTE_V1_DEBUG_TRACE_TOOLTIP: "COMPUTE_V1_DEBUG_TRACE_TOOLTIP",
|
|
93
100
|
COMPUTE_V1_DEBUG_TRACE_HELPURL: "COMPUTE_V1_DEBUG_TRACE_HELPURL",
|
|
101
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_TITLE: "设置函数输出",
|
|
102
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_TOOLTIP: "COMPUTE_V1_SET_FUNC_OUTPUT_TOOLTIP",
|
|
103
|
+
COMPUTE_V1_SET_FUNC_OUTPUT_HELPURL: "COMPUTE_V1_SET_FUNC_OUTPUT_HELPURL",
|
|
94
104
|
// list
|
|
95
105
|
LIST_V1_CREATE_CONTAINER_TITLE: "列表",
|
|
96
106
|
LIST_V1_CREATE_ITEM_TITLE: "项目",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.35",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"*": "prettier --write ."
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"@highlightjs/vue-plugin": "^2.1.0",
|
|
25
26
|
"@mdi/js": "^7.4.47",
|
|
27
|
+
"highlight.js": "^11.10.0",
|
|
26
28
|
"lodash-es": "^4.17.21",
|
|
27
29
|
"vue-draggable-plus": "^0.5.4"
|
|
28
30
|
},
|