x-block-lib 0.8.41 → 0.8.43
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/index.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var l=document.createElement("style");l.id="x-block-lib",l.appendChild(document.createTextNode(
|
|
2
|
-
|
|
3
|
-
Description: Original highlight.js style
|
|
4
|
-
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
|
5
|
-
Maintainer: @highlightjs/core-team
|
|
6
|
-
Website: https://highlightjs.org/
|
|
7
|
-
License: see project LICENSE
|
|
8
|
-
Touched: 2021
|
|
9
|
-
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.ghost[data-v-daa85471]{opacity:.4;pointer-events:none}.blocklyToolbox{overflow-x:hidden;width:56px}.blocklyMainBackground{stroke-width:0}.blocklyToolboxCategory{margin-bottom:12px!important}.blocklyToolboxCategoryIcon{display:none!important}.blocklyTreeRowContentContainer{height:28px;display:flex;align-items:center;justify-items:center;overflow:hidden}.blocklyFlyout{z-index:21}`)),document.head.appendChild(l)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
10
|
-
import { E as I, r as Tn, M as yo, s as vo, a as Co, X as Rn, u as C, B as E, j as s, O as u, F as O, b as Ge, i as v, c as Et, d as ko, e as U, f as T, g as No, h as $, k as ft, p as Ft, l as ot, m as En, n as B, C as Dn, N as it, o as Lo, P as We, q as Ve, V as St, t as Mn, W as So, v as Bo, w as bo, S as Po, x as Ro, y as Do, z as jt, T as Ie, A as Un, D as Mo, G as Uo, H as Vn, I as Vo, J as xo, K as Yo, L as Fo, Q as wo, R as Ko, U as $o, Y as Ho } from "./vendor.txua272r.js";
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var l=document.createElement("style");l.id="x-block-lib",l.appendChild(document.createTextNode("pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.ghost[data-v-daa85471]{opacity:.4;pointer-events:none}.blocklyToolbox{overflow-x:hidden;width:56px}.blocklyMainBackground{stroke-width:0}.blocklyToolboxCategory{margin-bottom:12px!important}.blocklyToolboxCategoryIcon{display:none!important}.blocklyTreeRowContentContainer{height:28px;display:flex;align-items:center;justify-items:center;overflow:hidden}.blocklyFlyout{z-index:21}")),document.head.appendChild(l)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import { E as I, r as Tn, M as yo, s as vo, a as Co, X as Rn, u as C, B as E, j as s, O as u, F as O, b as Ge, i as v, c as Et, d as ko, e as U, f as T, g as No, h as $, k as ft, p as Ft, l as ot, m as En, n as B, C as Dn, N as it, o as Lo, P as We, q as Ve, V as St, t as Mn, W as So, v as Bo, w as bo, S as Po, x as Ro, y as Do, z as jt, T as Ie, A as Un, D as Mo, G as Uo, H as Vn, I as Vo, J as xo, K as Yo, L as Fo, Q as wo, R as Ko, U as $o, Y as Ho } from "./vendor.je7mkgas.js";
|
|
11
3
|
import { globalState as g } from "x-state-lib";
|
|
12
4
|
import { globalObjects as kt, openConfirmDlg as Go, openPromptDlg as Wo, messageWarning as xn, useColor as Xt, useSystem as Yn, useViewStack as nn, eventBus as Lt } from "x-essential-lib";
|
|
13
5
|
import { pkgs as se, parsePixelStr as jo, parsePercentStr as Xo, getPropertyTag as Mt, unwrapEventId as on, elements as et, makeEventId as Z, toEventName as Oe, unwrapMethodId as Jt, makeMethodId as Yt, toMethodName as ye, unwrapPropertyId as Jo, makePropertyId as ee, toPropertyName as Fn, isLocaleOfMethodKind as wn, makeTriggerId as yt } from "x-runtime-lib";
|
|
@@ -1513,7 +1505,7 @@ s.forBlock.on_app_event_v1 = function(t) {
|
|
|
1513
1505
|
l !== 0 && (i += ", "), i += `__param$${r.key}__`;
|
|
1514
1506
|
});
|
|
1515
1507
|
const a = s.statementToCode(n, "HANDLE");
|
|
1516
|
-
return `__onEventV1__(${e(o)}, function(${i}) {
|
|
1508
|
+
return `__onEventV1__(${e(o)}, async function(${i}) {
|
|
1517
1509
|
${a}});
|
|
1518
1510
|
`;
|
|
1519
1511
|
};
|
|
@@ -8969,7 +8961,7 @@ T([
|
|
|
8969
8961
|
}
|
|
8970
8962
|
]);
|
|
8971
8963
|
s.forBlock.delay_v1 = function(t) {
|
|
8972
|
-
return `__delayV1__(${s.valueToCode(t, "DURATION", u.ATOMIC) || "0"});
|
|
8964
|
+
return `await __delayV1__(${s.valueToCode(t, "DURATION", u.ATOMIC) || "0"});
|
|
8973
8965
|
`;
|
|
8974
8966
|
};
|
|
8975
8967
|
const Ea = {
|
|
@@ -21053,7 +21053,6 @@ def ${c.FUNCTION_NAME_PLACEHOLDER_}(msg):
|
|
|
21053
21053
|
});
|
|
21054
21054
|
})(Ta)), Ta.exports;
|
|
21055
21055
|
}
|
|
21056
|
-
/*! For license information please see index.js.LICENSE.txt */
|
|
21057
21056
|
var iA = ma.exports, rT;
|
|
21058
21057
|
function sA() {
|
|
21059
21058
|
return rT || (rT = 1, (function(l, g) {
|
|
@@ -21975,12 +21974,6 @@ function IA(l) {
|
|
|
21975
21974
|
(l.charCodeAt(2) > 122 || l.charCodeAt(2) < 97);
|
|
21976
21975
|
}
|
|
21977
21976
|
const NA = Object.assign;
|
|
21978
|
-
/**!
|
|
21979
|
-
* Sortable 1.15.2
|
|
21980
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
21981
|
-
* @author owenm <owen23355@gmail.com>
|
|
21982
|
-
* @license MIT
|
|
21983
|
-
*/
|
|
21984
21977
|
function hT(l, g) {
|
|
21985
21978
|
var n = Object.keys(l);
|
|
21986
21979
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -23487,7 +23480,6 @@ const z$ = [
|
|
|
23487
23480
|
}
|
|
23488
23481
|
});
|
|
23489
23482
|
var Oa = { exports: {} };
|
|
23490
|
-
/*! For license information please see index.js.LICENSE.txt */
|
|
23491
23483
|
var iw = Oa.exports, CT;
|
|
23492
23484
|
function sw() {
|
|
23493
23485
|
return CT || (CT = 1, (function(l, g) {
|
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.43",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -22,45 +22,45 @@
|
|
|
22
22
|
"*": "prettier --write ."
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@blockly/field-colour": "^6.0.
|
|
25
|
+
"@blockly/field-colour": "^6.0.6",
|
|
26
26
|
"@blockly/keyboard-navigation": "^3.0.3",
|
|
27
27
|
"@blockly/plugin-cross-tab-copy-paste": "^8.0.2",
|
|
28
28
|
"@blockly/shadow-block-converter": "^7.0.4",
|
|
29
29
|
"@highlightjs/vue-plugin": "^2.1.0",
|
|
30
30
|
"@sindresorhus/base62": "^1.0.0",
|
|
31
|
-
"axios": "^1.
|
|
31
|
+
"axios": "^1.13.2",
|
|
32
32
|
"blockly": "^12.3.1",
|
|
33
33
|
"highlight.js": "^11.11.1",
|
|
34
34
|
"lodash-es": "^4.17.21",
|
|
35
|
-
"vue": "^3.5.
|
|
35
|
+
"vue": "^3.5.23",
|
|
36
36
|
"vue-draggable-plus": "^0.6.0",
|
|
37
37
|
"vue-i18n": "^11.1.12",
|
|
38
38
|
"vue-router": "^4.6.3",
|
|
39
|
-
"vuetify": "^3.10.
|
|
40
|
-
"x-essential-lib": "^0.9.
|
|
41
|
-
"x-runtime-lib": "^0.8.
|
|
42
|
-
"x-state-lib": "^0.3.
|
|
39
|
+
"vuetify": "^3.10.9",
|
|
40
|
+
"x-essential-lib": "^0.9.3",
|
|
41
|
+
"x-runtime-lib": "^0.8.76",
|
|
42
|
+
"x-state-lib": "^0.3.24"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@eslint/js": "^9.
|
|
45
|
+
"@eslint/js": "^9.39.1",
|
|
46
46
|
"@types/lodash-es": "^4.17.12",
|
|
47
|
-
"@types/node": "^24.
|
|
47
|
+
"@types/node": "^24.10.0",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
49
|
-
"eslint": "^9.
|
|
49
|
+
"eslint": "^9.39.1",
|
|
50
50
|
"eslint-config-prettier": "^10.1.8",
|
|
51
51
|
"eslint-plugin-prettier": "^5.5.4",
|
|
52
52
|
"eslint-plugin-vue": "^10.5.1",
|
|
53
|
-
"globals": "^16.
|
|
53
|
+
"globals": "^16.5.0",
|
|
54
54
|
"husky": "^9.1.7",
|
|
55
55
|
"lint-staged": "^16.2.6",
|
|
56
56
|
"prettier": "3.6.2",
|
|
57
|
-
"sass": "^1.93.
|
|
57
|
+
"sass": "^1.93.3",
|
|
58
58
|
"typescript": "^5.9.3",
|
|
59
|
-
"typescript-eslint": "^8.46.
|
|
60
|
-
"vite": "^7.1
|
|
59
|
+
"typescript-eslint": "^8.46.3",
|
|
60
|
+
"vite": "^7.2.1",
|
|
61
61
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
62
62
|
"vite-plugin-vuetify": "^2.1.2",
|
|
63
63
|
"vue-eslint-parser": "^10.2.0",
|
|
64
|
-
"vue-tsc": "^3.1.
|
|
64
|
+
"vue-tsc": "^3.1.3"
|
|
65
65
|
}
|
|
66
66
|
}
|