x-block-lib 0.10.33 → 0.10.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/i18n-en.fzzizejc.js +1 -0
- package/dist/i18n-zhHans.b0wqxx8d.js +1 -0
- package/dist/index.d.ts +140 -316
- package/dist/index.js +88 -10134
- package/dist/rolldown-runtime.81faoggt.js +1 -0
- package/dist/style.css +1 -0
- package/dist/vendor.oyecxxt6.js +2373 -0
- package/package.json +37 -53
- package/dist/i18n-en.lcnic7w6.js +0 -21
- package/dist/i18n-zhHans.h4es2oi9.js +0 -21
- package/dist/msg-en.guy8ywqy.js +0 -520
- package/dist/msg-zhHans.fzxiy58e.js +0 -520
- package/dist/rolldown-runtime.n5wfka5s.js +0 -20
- package/dist/vendor.hv87bh8l.js +0 -24153
package/package.json
CHANGED
|
@@ -1,74 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
|
-
"
|
|
4
|
-
"version": "0.10.33",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
3
|
+
"version": "0.10.35",
|
|
8
4
|
"files": [
|
|
9
5
|
"dist"
|
|
10
6
|
],
|
|
7
|
+
"type": "module",
|
|
8
|
+
"module": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
11
10
|
"scripts": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
11
|
+
"play": "vite",
|
|
12
|
+
"test": "vitest",
|
|
13
|
+
"lint": "oxlint",
|
|
14
|
+
"fmt": "oxfmt",
|
|
15
|
+
"build": "tsdown",
|
|
17
16
|
"lint-staged": "lint-staged",
|
|
18
17
|
"prepare": "husky"
|
|
19
18
|
},
|
|
20
|
-
"lint-staged": {
|
|
21
|
-
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix --ignore-pattern dist/ --ignore-pattern public/ .",
|
|
22
|
-
"*": "prettier --write ."
|
|
23
|
-
},
|
|
24
19
|
"dependencies": {
|
|
25
|
-
"@blockly/field-colour": "^6.0.11",
|
|
26
|
-
"@blockly/keyboard-navigation": "^3.0.5",
|
|
27
|
-
"@blockly/plugin-cross-tab-copy-paste": "^8.0.7",
|
|
28
|
-
"@blockly/shadow-block-converter": "^7.0.9",
|
|
29
20
|
"@highlightjs/vue-plugin": "^2.1.0",
|
|
30
21
|
"@sindresorhus/base62": "^1.0.0",
|
|
31
|
-
"@vueuse/core": "^14.
|
|
32
|
-
"axios": "^1.15.0",
|
|
33
|
-
"blockly": "^12.5.1",
|
|
22
|
+
"@vueuse/core": "^14.3.0",
|
|
34
23
|
"highlight.js": "^11.11.1",
|
|
35
24
|
"lodash-es": "^4.18.1",
|
|
36
|
-
"vue": "^3.5.
|
|
25
|
+
"vue": "^3.5.38",
|
|
37
26
|
"vue-draggable-plus": "^0.6.1",
|
|
38
|
-
"vue-i18n": "^11.
|
|
39
|
-
"
|
|
40
|
-
"vuetify": "^4.0.5"
|
|
41
|
-
},
|
|
42
|
-
"peerDependencies": {
|
|
43
|
-
"x-error-lib": "^0.5.18",
|
|
44
|
-
"x-essential-lib": "^0.9.35",
|
|
45
|
-
"x-runtime-lib": "^0.9.57",
|
|
46
|
-
"x-state-lib": "^0.3.43"
|
|
27
|
+
"vue-i18n": "^11.4.6",
|
|
28
|
+
"vuetify": "^4.1.2"
|
|
47
29
|
},
|
|
48
30
|
"devDependencies": {
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
31
|
+
"@blockly/field-colour": "^6.0.12",
|
|
32
|
+
"@blockly/plugin-cross-tab-copy-paste": "^8.0.8",
|
|
33
|
+
"@blockly/shadow-block-converter": "^7.0.10",
|
|
51
34
|
"@types/lodash-es": "^4.17.12",
|
|
52
|
-
"@types/node": "^
|
|
53
|
-
"
|
|
54
|
-
"@vue/tsconfig": "^0.9.1",
|
|
55
|
-
"eslint": "^10.2.0",
|
|
56
|
-
"eslint-config-prettier": "^10.1.8",
|
|
57
|
-
"eslint-plugin-prettier": "^5.5.5",
|
|
58
|
-
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
59
|
-
"eslint-plugin-vue": "^10.8.0",
|
|
60
|
-
"globals": "^17.4.0",
|
|
35
|
+
"@types/node": "^26.0.0",
|
|
36
|
+
"blockly": "^13.0.0",
|
|
61
37
|
"husky": "^9.1.7",
|
|
62
|
-
"lint-staged": "^
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"vite
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
38
|
+
"lint-staged": "^17.0.7",
|
|
39
|
+
"oxfmt": "^0.55.0",
|
|
40
|
+
"oxlint": "^1.70.0",
|
|
41
|
+
"sass": "^1.101.0",
|
|
42
|
+
"tsdown": "^0.22.3",
|
|
43
|
+
"typescript": "^6.0.3",
|
|
44
|
+
"vite": "^8.0.16",
|
|
45
|
+
"x-config-oxfmt": "^0.1.3",
|
|
46
|
+
"x-config-oxlint": "^0.1.2",
|
|
47
|
+
"x-config-vite-lib": "^0.1.10"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"x-error-lib": "^0.5.21",
|
|
51
|
+
"x-essential-lib": "^0.9.37",
|
|
52
|
+
"x-runtime-lib": "^0.9.60",
|
|
53
|
+
"x-state-lib": "^0.3.45"
|
|
54
|
+
},
|
|
55
|
+
"lint-staged": {
|
|
56
|
+
"*": "oxfmt --no-error-on-unmatched-pattern"
|
|
73
57
|
}
|
|
74
58
|
}
|
package/dist/i18n-en.lcnic7w6.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime.n5wfka5s.js";
|
|
2
|
-
//#region src/i18n/locales/en/index.ts
|
|
3
|
-
var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-block-lib": {
|
|
4
|
-
bind: "Bind",
|
|
5
|
-
dlg: { source: { title: "Source" } },
|
|
6
|
-
funcEntry: "Func Entry",
|
|
7
|
-
implementMethod: "Implement Method",
|
|
8
|
-
msg: { cannotOperateInLockedState: "Cannot operate in locked state" },
|
|
9
|
-
navigator: "Navigator",
|
|
10
|
-
noOption: "No Option",
|
|
11
|
-
procedure: "Procedure",
|
|
12
|
-
temporaryBlock: "Temporary Block",
|
|
13
|
-
tip: {
|
|
14
|
-
hotkeyCtrlE: "Press 'Ctrl W' to navigate",
|
|
15
|
-
hotkeyCtrlQ: "Press 'Ctrl Q' to clean workspace",
|
|
16
|
-
hotkeyCtrlW: "Press 'Ctrl R' to toggle lock state"
|
|
17
|
-
},
|
|
18
|
-
watchEffect: "Watch Effect"
|
|
19
|
-
} };
|
|
20
|
-
//#endregion
|
|
21
|
-
export { t };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime.n5wfka5s.js";
|
|
2
|
-
//#region src/i18n/locales/zhHans/index.ts
|
|
3
|
-
var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-block-lib": {
|
|
4
|
-
bind: "绑定",
|
|
5
|
-
dlg: { source: { title: "源代码" } },
|
|
6
|
-
funcEntry: "函数入口",
|
|
7
|
-
implementMethod: "实现方法",
|
|
8
|
-
msg: { cannotOperateInLockedState: "锁定状态下不能操作" },
|
|
9
|
-
navigator: "导航器",
|
|
10
|
-
noOption: "没有选项",
|
|
11
|
-
procedure: "子程序",
|
|
12
|
-
temporaryBlock: "临时块",
|
|
13
|
-
tip: {
|
|
14
|
-
hotkeyCtrlE: "按「Ctrl E」导航",
|
|
15
|
-
hotkeyCtrlQ: "按「Ctrl Q」清理工作区",
|
|
16
|
-
hotkeyCtrlW: "按「Ctrl W」切换锁状态"
|
|
17
|
-
},
|
|
18
|
-
watchEffect: "观察效应"
|
|
19
|
-
} };
|
|
20
|
-
//#endregion
|
|
21
|
-
export { t };
|