x-block-lib 0.7.29 → 0.8.1
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/misc/index.d.ts +1 -1
- package/dist/core/locale/msg/en.d.ts +3 -3
- package/dist/core/locale/msg/zhHans.d.ts +3 -3
- package/dist/index.js +779 -762
- package/dist/media/1x1.gif +0 -0
- package/dist/media/click.mp3 +0 -0
- package/dist/media/click.ogg +0 -0
- package/dist/media/click.wav +0 -0
- package/dist/media/delete-icon.svg +1 -0
- package/dist/media/delete.mp3 +0 -0
- package/dist/media/delete.ogg +0 -0
- package/dist/media/delete.wav +0 -0
- package/dist/media/disconnect.mp3 +0 -0
- package/dist/media/disconnect.ogg +0 -0
- package/dist/media/disconnect.wav +0 -0
- package/dist/media/dropdown-arrow.svg +1 -0
- package/dist/media/foldout-icon.svg +1 -0
- package/dist/media/handclosed.cur +0 -0
- package/dist/media/handdelete.cur +0 -0
- package/dist/media/handopen.cur +0 -0
- package/dist/media/pilcrow.png +0 -0
- package/dist/media/quote0.png +0 -0
- package/dist/media/quote1.png +0 -0
- package/dist/media/resize-handle.svg +3 -0
- package/dist/media/sprites.png +0 -0
- package/dist/media/sprites.svg +74 -0
- package/dist/{msg-en.ej4s6ljb.js → msg-en.kxesdd6m.js} +3 -3
- package/dist/{msg-zhHans.n67weiog.js → msg-zhHans.ja44gwyv.js} +3 -3
- package/package.json +18 -17
- /package/dist/core/blocks/app/misc/{appReact → watchEffect}/v1/index.d.ts +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="#041E49"><path d="M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="12.71" height="8.79" viewBox="0 0 12.71 8.79"><title>dropdown-arrow</title><g opacity="0.1"><path d="M12.71,2.44A2.41,2.41,0,0,1,12,4.16L8.08,8.08a2.45,2.45,0,0,1-3.45,0L0.72,4.16A2.42,2.42,0,0,1,0,2.44,2.48,2.48,0,0,1,.71.71C1,0.47,1.43,0,6.36,0S11.75,0.46,12,.71A2.44,2.44,0,0,1,12.71,2.44Z" fill="#231f20"/></g><path d="M6.36,7.79a1.43,1.43,0,0,1-1-.42L1.42,3.45a1.44,1.44,0,0,1,0-2c0.56-.56,9.31-0.56,9.87,0a1.44,1.44,0,0,1,0,2L7.37,7.37A1.43,1.43,0,0,1,6.36,7.79Z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="#041E49"><path d="M480-360 280-560h400L480-360Z"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="96px" height="124px">
|
|
3
|
+
<style type="text/css">
|
|
4
|
+
#background {
|
|
5
|
+
fill: none;
|
|
6
|
+
}
|
|
7
|
+
.arrows {
|
|
8
|
+
fill: #000;
|
|
9
|
+
stroke: none;
|
|
10
|
+
}
|
|
11
|
+
.selected>.arrows {
|
|
12
|
+
fill: #fff;
|
|
13
|
+
}
|
|
14
|
+
.checkmark {
|
|
15
|
+
fill: #000;
|
|
16
|
+
font-family: sans-serif;
|
|
17
|
+
font-size: 10pt;
|
|
18
|
+
text-anchor: middle;
|
|
19
|
+
}
|
|
20
|
+
.trash {
|
|
21
|
+
fill: #888;
|
|
22
|
+
}
|
|
23
|
+
.zoom {
|
|
24
|
+
fill: none;
|
|
25
|
+
stroke: #888;
|
|
26
|
+
stroke-width: 2;
|
|
27
|
+
stroke-linecap: round;
|
|
28
|
+
}
|
|
29
|
+
.zoom>.center {
|
|
30
|
+
fill: #888;
|
|
31
|
+
stroke-width: 0;
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
34
|
+
<rect id="background" width="96" height="124" x="0" y="0" />
|
|
35
|
+
|
|
36
|
+
<g>
|
|
37
|
+
<path class="arrows" d="M 13,1.5 13,14.5 1.74,8 z" />
|
|
38
|
+
<path class="arrows" d="M 17.5,3 30.5,3 24,14.26 z" />
|
|
39
|
+
<path class="arrows" d="M 35,1.5 35,14.5 46.26,8 z" />
|
|
40
|
+
</g>
|
|
41
|
+
<g class="selected" transform="translate(0, 16)">
|
|
42
|
+
<path class="arrows" d="M 13,1.5 13,14.5 1.74,8 z" />
|
|
43
|
+
<path class="arrows" d="M 17.5,3 30.5,3 24,14.26 z" />
|
|
44
|
+
<path class="arrows" d="M 35,1.5 35,14.5 46.26,8 z" />
|
|
45
|
+
</g>
|
|
46
|
+
|
|
47
|
+
<text class="checkmark" x="55.5" y="28">✓</text>
|
|
48
|
+
|
|
49
|
+
<g class="trash">
|
|
50
|
+
<path d="M 2,41 v 6 h 42 v -6 h -10.5 l -3,-3 h -15 l -3,3 z" />
|
|
51
|
+
<rect width="36" height="20" x="5" y="50" />
|
|
52
|
+
<rect width="36" height="42" x="5" y="50" rx="4" ry="4" />
|
|
53
|
+
</g>
|
|
54
|
+
|
|
55
|
+
<g class="zoom">
|
|
56
|
+
<circle r="11.5" cx="16" cy="108" />
|
|
57
|
+
<circle r="4.3" cx="16" cy="108" class="center" />
|
|
58
|
+
<path d="m 28,108 h3" />
|
|
59
|
+
<path d="m 1,108 h3" />
|
|
60
|
+
<path d="m 16,120 v3" />
|
|
61
|
+
<path d="m 16,93 v3" />
|
|
62
|
+
</g>
|
|
63
|
+
|
|
64
|
+
<g class="zoom">
|
|
65
|
+
<circle r="15" cx="48" cy="108" />
|
|
66
|
+
<path d="m 48,101.6 v12.8" />
|
|
67
|
+
<path d="m 41.6,108 h12.8" />
|
|
68
|
+
</g>
|
|
69
|
+
|
|
70
|
+
<g class="zoom">
|
|
71
|
+
<circle r="15" cx="80" cy="108" />
|
|
72
|
+
<path d="m 73.6,108 h12.8" />
|
|
73
|
+
</g>
|
|
74
|
+
</svg>
|
|
@@ -137,9 +137,9 @@ const _ = {
|
|
|
137
137
|
APP_V1_APP_ENV_IS_TITLE: "environment is %1",
|
|
138
138
|
APP_V1_APP_ENV_IS_TOOLTIP: "APP_V1_APP_ENV_IS_TOOLTIP",
|
|
139
139
|
APP_V1_APP_ENV_IS_HELPURL: "APP_V1_APP_ENV_IS_HELPURL",
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
APP_V1_WATCH_EFFECT_TITLE: "watch effect %1 do %2",
|
|
141
|
+
APP_V1_WATCH_EFFECT_TOOLTIP: "APP_V1_WATCH_EFFECT_TOOLTIP",
|
|
142
|
+
APP_V1_WATCH_EFFECT_HELPURL: "APP_V1_WATCH_EFFECT_HELPURL",
|
|
143
143
|
APP_V1_CALL_APP_METHOD_TITLE: "call method",
|
|
144
144
|
APP_V1_CALL_APP_METHOD_TOOLTIP: "APP_V1_CALL_APP_METHOD_TOOLTIP",
|
|
145
145
|
APP_V1_CALL_APP_METHOD_HELPURL: "APP_V1_CALL_APP_METHOD_HELPURL",
|
|
@@ -137,9 +137,9 @@ const _ = {
|
|
|
137
137
|
APP_V1_APP_ENV_IS_TITLE: "环境是%1",
|
|
138
138
|
APP_V1_APP_ENV_IS_TOOLTIP: "APP_V1_APP_ENV_IS_TOOLTIP",
|
|
139
139
|
APP_V1_APP_ENV_IS_HELPURL: "APP_V1_APP_ENV_IS_HELPURL",
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
APP_V1_WATCH_EFFECT_TITLE: "观察效应%1执行%2",
|
|
141
|
+
APP_V1_WATCH_EFFECT_TOOLTIP: "APP_V1_WATCH_EFFECT_TOOLTIP",
|
|
142
|
+
APP_V1_WATCH_EFFECT_HELPURL: "APP_V1_WATCH_EFFECT_HELPURL",
|
|
143
143
|
APP_V1_CALL_APP_METHOD_TITLE: "调用方法",
|
|
144
144
|
APP_V1_CALL_APP_METHOD_TOOLTIP: "APP_V1_CALL_APP_METHOD_TOOLTIP",
|
|
145
145
|
APP_V1_CALL_APP_METHOD_HELPURL: "APP_V1_CALL_APP_METHOD_HELPURL",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -27,39 +27,40 @@
|
|
|
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.
|
|
30
|
+
"axios": "^1.12.1",
|
|
31
31
|
"blockly": "^12.3.0",
|
|
32
32
|
"highlight.js": "^11.11.1",
|
|
33
33
|
"lodash-es": "^4.17.21",
|
|
34
|
-
"vue": "^3.5.
|
|
34
|
+
"vue": "^3.5.21",
|
|
35
35
|
"vue-draggable-plus": "^0.6.0",
|
|
36
|
-
"vue-i18n": "^11.1.
|
|
36
|
+
"vue-i18n": "^11.1.12",
|
|
37
37
|
"vue-router": "^4.5.1",
|
|
38
|
-
"vuetify": "^3.
|
|
39
|
-
"x-essential-lib": "^0.
|
|
40
|
-
"x-runtime-lib": "^0.
|
|
41
|
-
"x-state-lib": "^0.3.
|
|
38
|
+
"vuetify": "^3.10.0",
|
|
39
|
+
"x-essential-lib": "^0.9.0",
|
|
40
|
+
"x-runtime-lib": "^0.8.0",
|
|
41
|
+
"x-state-lib": "^0.3.18"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@eslint/js": "^9.
|
|
44
|
+
"@eslint/js": "^9.35.0",
|
|
45
45
|
"@types/lodash-es": "^4.17.12",
|
|
46
|
-
"@types/node": "^24.3.
|
|
46
|
+
"@types/node": "^24.3.3",
|
|
47
47
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
48
|
-
"eslint": "^9.
|
|
48
|
+
"eslint": "^9.35.0",
|
|
49
49
|
"eslint-config-prettier": "^10.1.8",
|
|
50
50
|
"eslint-plugin-prettier": "^5.5.4",
|
|
51
51
|
"eslint-plugin-vue": "^10.4.0",
|
|
52
|
-
"globals": "^16.
|
|
52
|
+
"globals": "^16.4.0",
|
|
53
53
|
"husky": "^9.1.7",
|
|
54
|
-
"lint-staged": "^16.1.
|
|
54
|
+
"lint-staged": "^16.1.6",
|
|
55
55
|
"prettier": "3.6.2",
|
|
56
|
-
"sass": "^1.
|
|
56
|
+
"sass": "^1.92.1",
|
|
57
57
|
"typescript": "^5.9.2",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
59
|
-
"vite": "^7.1.
|
|
58
|
+
"typescript-eslint": "^8.43.0",
|
|
59
|
+
"vite": "^7.1.5",
|
|
60
60
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
61
|
+
"vite-plugin-static-copy": "^3.1.2",
|
|
61
62
|
"vite-plugin-vuetify": "^2.1.2",
|
|
62
63
|
"vue-eslint-parser": "^10.2.0",
|
|
63
|
-
"vue-tsc": "^3.0.
|
|
64
|
+
"vue-tsc": "^3.0.7"
|
|
64
65
|
}
|
|
65
66
|
}
|
|
File without changes
|