x-block-lib 0.8.2 → 0.8.4
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/core/blocks/app/method/index.d.ts +1 -1
- package/dist/core/locale/msg/en.d.ts +3 -13
- package/dist/core/locale/msg/zhHans.d.ts +3 -13
- package/dist/core/utils/app/argument.d.ts +15 -0
- package/dist/core/utils/app/event.d.ts +19 -0
- package/dist/core/utils/app/index.d.ts +7 -0
- package/dist/core/utils/app/method.d.ts +35 -0
- package/dist/core/utils/app/node.d.ts +3 -51
- package/dist/core/utils/app/prop.d.ts +27 -0
- package/dist/core/utils/common/misc.d.ts +2 -0
- package/dist/core/utils/compute/index.d.ts +2 -0
- package/dist/core/utils/data/index.d.ts +2 -0
- package/dist/core/utils/resource/index.d.ts +3 -0
- package/dist/index.js +1861 -1838
- package/dist/{msg-en.dpnu3yhj.js → msg-en.jq2w67rd.js} +3 -14
- package/dist/{msg-zhHans.l0fgbms4.js → msg-zhHans.hsanc2zi.js} +3 -14
- package/dist/utils/name.d.ts +3 -0
- package/dist/{vendor.dbls1i6v.js → vendor.hbs954v9.js} +5007 -4934
- package/package.json +17 -17
- package/dist/core/utils/app/comp.d.ts +0 -71
- package/dist/core/utils/app/page.d.ts +0 -12
- /package/dist/core/blocks/app/method/{appMethodImpl → implAppMethod}/v1/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -23,44 +23,44 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@blockly/field-colour": "^6.0.4",
|
|
26
|
-
"@blockly/keyboard-navigation": "^3.0.
|
|
26
|
+
"@blockly/keyboard-navigation": "^3.0.2",
|
|
27
27
|
"@blockly/plugin-cross-tab-copy-paste": "^8.0.1",
|
|
28
28
|
"@blockly/shadow-block-converter": "^7.0.3",
|
|
29
29
|
"@highlightjs/vue-plugin": "^2.1.0",
|
|
30
|
-
"axios": "^1.12.
|
|
31
|
-
"blockly": "^12.3.
|
|
30
|
+
"axios": "^1.12.2",
|
|
31
|
+
"blockly": "^12.3.1",
|
|
32
32
|
"highlight.js": "^11.11.1",
|
|
33
33
|
"lodash-es": "^4.17.21",
|
|
34
|
-
"vue": "^3.5.
|
|
34
|
+
"vue": "^3.5.22",
|
|
35
35
|
"vue-draggable-plus": "^0.6.0",
|
|
36
36
|
"vue-i18n": "^11.1.12",
|
|
37
37
|
"vue-router": "^4.5.1",
|
|
38
|
-
"vuetify": "^3.10.
|
|
38
|
+
"vuetify": "^3.10.3",
|
|
39
39
|
"x-essential-lib": "^0.9.0",
|
|
40
|
-
"x-runtime-lib": "^0.8.
|
|
41
|
-
"x-state-lib": "^0.3.
|
|
40
|
+
"x-runtime-lib": "^0.8.2",
|
|
41
|
+
"x-state-lib": "^0.3.19"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@eslint/js": "^9.
|
|
44
|
+
"@eslint/js": "^9.36.0",
|
|
45
45
|
"@types/lodash-es": "^4.17.12",
|
|
46
|
-
"@types/node": "^24.
|
|
46
|
+
"@types/node": "^24.5.2",
|
|
47
47
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
48
|
-
"eslint": "^9.
|
|
48
|
+
"eslint": "^9.36.0",
|
|
49
49
|
"eslint-config-prettier": "^10.1.8",
|
|
50
50
|
"eslint-plugin-prettier": "^5.5.4",
|
|
51
|
-
"eslint-plugin-vue": "^10.
|
|
51
|
+
"eslint-plugin-vue": "^10.5.0",
|
|
52
52
|
"globals": "^16.4.0",
|
|
53
53
|
"husky": "^9.1.7",
|
|
54
|
-
"lint-staged": "^16.
|
|
54
|
+
"lint-staged": "^16.2.0",
|
|
55
55
|
"prettier": "3.6.2",
|
|
56
|
-
"sass": "^1.
|
|
56
|
+
"sass": "^1.93.2",
|
|
57
57
|
"typescript": "^5.9.2",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
59
|
-
"vite": "^7.1.
|
|
58
|
+
"typescript-eslint": "^8.44.1",
|
|
59
|
+
"vite": "^7.1.7",
|
|
60
60
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
61
61
|
"vite-plugin-static-copy": "^3.1.2",
|
|
62
62
|
"vite-plugin-vuetify": "^2.1.2",
|
|
63
63
|
"vue-eslint-parser": "^10.2.0",
|
|
64
|
-
"vue-tsc": "^3.0.
|
|
64
|
+
"vue-tsc": "^3.0.8"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as Blockly from 'blockly/core';
|
|
2
|
-
export declare function getAllPropertyInfos(): {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: import("x-runtime-lib").Type;
|
|
6
|
-
}[];
|
|
7
|
-
export declare function getPropertyInfo(id: string): {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
type: import("x-runtime-lib").Type;
|
|
11
|
-
} | undefined;
|
|
12
|
-
export declare function genPropertyOpts(): Blockly.MenuOption[];
|
|
13
|
-
export declare function getAllMethodInfos(): {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
inputs: {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
type: import("x-runtime-lib").Type;
|
|
20
|
-
}[];
|
|
21
|
-
outputs: {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
type: import("x-runtime-lib").Type;
|
|
25
|
-
}[];
|
|
26
|
-
}[];
|
|
27
|
-
export declare function getMethodInfo(id: string): {
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
inputs: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
type: import("x-runtime-lib").Type;
|
|
34
|
-
}[];
|
|
35
|
-
outputs: {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
type: import("x-runtime-lib").Type;
|
|
39
|
-
}[];
|
|
40
|
-
} | undefined;
|
|
41
|
-
export declare function genMethodOpts(): Blockly.MenuOption[];
|
|
42
|
-
export declare function getMethodAllOutputInfos(methodid: string): {
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
type: import("x-runtime-lib").Type;
|
|
46
|
-
}[];
|
|
47
|
-
export declare function getMethodOutputInfo(methodid: string, outputid: string): {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
type: import("x-runtime-lib").Type;
|
|
51
|
-
} | undefined;
|
|
52
|
-
export declare function genMethodOutputOpts(methodid: string): Blockly.MenuOption[];
|
|
53
|
-
export declare function getAllEventInfos(): {
|
|
54
|
-
id: string;
|
|
55
|
-
name: string;
|
|
56
|
-
params: {
|
|
57
|
-
id: string;
|
|
58
|
-
name: string;
|
|
59
|
-
type: import("x-runtime-lib").Type;
|
|
60
|
-
}[];
|
|
61
|
-
}[];
|
|
62
|
-
export declare function getEventInfo(id: string): {
|
|
63
|
-
id: string;
|
|
64
|
-
name: string;
|
|
65
|
-
params: {
|
|
66
|
-
id: string;
|
|
67
|
-
name: string;
|
|
68
|
-
type: import("x-runtime-lib").Type;
|
|
69
|
-
}[];
|
|
70
|
-
} | undefined;
|
|
71
|
-
export declare function genEventOpts(): Blockly.MenuOption[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as Blockly from 'blockly/core';
|
|
2
|
-
export declare function getAllArgumentInfos(): {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: import("x-runtime-lib").Type;
|
|
6
|
-
}[];
|
|
7
|
-
export declare function getArgumentInfo(id: string): {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
type: import("x-runtime-lib").Type;
|
|
11
|
-
} | undefined;
|
|
12
|
-
export declare function genArgumentOpts(): Blockly.MenuOption[];
|
|
File without changes
|