x-block-lib 0.5.21 → 0.5.22
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 +11 -11
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ var Ke = (e, t, n) => el(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
13
13
|
import { getCurrentScope as tl, onScopeDispose as nl, unref as Y, computed as Ee, watch as ht, ref as at, getCurrentInstance as Ao, onMounted as qt, defineComponent as tt, onBeforeUnmount as oo, resolveComponent as ve, openBlock as me, createBlock as je, withCtx as Qe, createVNode as Ae, mergeProps as Di, useModel as di, toRefs as ol, reactive as il, h as hi, onUnmounted as sl, nextTick as Mi, isRef as pn, resolveDirective as al, withDirectives as rl, createElementBlock as st, normalizeStyle as qe, createElementVNode as We, toDisplayString as vo, withModifiers as _n, Fragment as da, renderList as ll, withKeys as ha, createCommentVNode as Lt, mergeModels as is } from "vue";
|
|
14
14
|
import { d as b, j as r, O as u, M as g, u as I, X as cl, E as P, B as D, F as V, i as te, a as Dt, b as Oo, c as he, C as fa, e as ul, P as fi, N as Pi, V as jn, g as At, f as pl, h as ga, s as _l, S as Le, k as Xn, l as Ht, m as xn, n as $o, o as sn, p as kt, q as ss, G as Go, r as dl, t as hl, v as Wo, U as wn, D as Vn, w as wt, x as fl, T as bo, y as ma, z as gl, A as ml, H as Tl, I as as, J as El } from "./blockly-h1celjt4.js";
|
|
15
15
|
import { openConfirmDlg as Al, openPromptDlg as vl, eventBus as Je, messageWarning as Ta, useColor as Io, useViewStack as yo, useSystem as Ea, injectDark as Ol, injectLocale as bl } from "x-essential-lib";
|
|
16
|
-
import {
|
|
16
|
+
import { globalState as U } from "x-state-lib";
|
|
17
17
|
import { pkgs as Il, elements as ke, getPropTag as Co } from "x-runtime-lib";
|
|
18
18
|
import { useI18n as Nn } from "vue-i18n";
|
|
19
19
|
import { useDisplay as yl } from "vuetify";
|
|
@@ -6064,13 +6064,13 @@ ${s}}
|
|
|
6064
6064
|
}
|
|
6065
6065
|
};
|
|
6066
6066
|
function $d() {
|
|
6067
|
-
return U.app.activeObject.type !== "comp" ? !1 : U.app.activeComp.properties.length > 0 || U.app.activeComp.methods.length > 0 || U.app.activeComp.events.length > 0;
|
|
6067
|
+
return U.app.activeObject.type !== "comp" ? !1 : U.app.activeComp.meta.properties.length > 0 || U.app.activeComp.meta.methods.length > 0 || U.app.activeComp.meta.events.length > 0;
|
|
6068
6068
|
}
|
|
6069
6069
|
function In() {
|
|
6070
|
-
return U.app.activeComp.methods;
|
|
6070
|
+
return U.app.activeComp.meta.methods;
|
|
6071
6071
|
}
|
|
6072
6072
|
function ro(e) {
|
|
6073
|
-
return U.app.activeComp.methods.find((t) => t.id === e);
|
|
6073
|
+
return U.app.activeComp.meta.methods.find((t) => t.id === e);
|
|
6074
6074
|
}
|
|
6075
6075
|
function Za() {
|
|
6076
6076
|
const e = [];
|
|
@@ -6079,13 +6079,13 @@ function Za() {
|
|
|
6079
6079
|
}), _e(e);
|
|
6080
6080
|
}
|
|
6081
6081
|
function Ci(e) {
|
|
6082
|
-
const t = U.app.activeComp.methods.find(
|
|
6082
|
+
const t = U.app.activeComp.meta.methods.find(
|
|
6083
6083
|
(n) => n.id === e
|
|
6084
6084
|
);
|
|
6085
6085
|
return t ? t.outputs : [];
|
|
6086
6086
|
}
|
|
6087
6087
|
function ei(e, t) {
|
|
6088
|
-
const n = U.app.activeComp.methods.find(
|
|
6088
|
+
const n = U.app.activeComp.meta.methods.find(
|
|
6089
6089
|
(o) => o.id === e
|
|
6090
6090
|
);
|
|
6091
6091
|
if (n)
|
|
@@ -6098,10 +6098,10 @@ function Gd(e) {
|
|
|
6098
6098
|
}), _e(t);
|
|
6099
6099
|
}
|
|
6100
6100
|
function er() {
|
|
6101
|
-
return U.app.activeComp.events;
|
|
6101
|
+
return U.app.activeComp.meta.events;
|
|
6102
6102
|
}
|
|
6103
6103
|
function Ps(e) {
|
|
6104
|
-
return U.app.activeComp.events.find((t) => t.id === e);
|
|
6104
|
+
return U.app.activeComp.meta.events.find((t) => t.id === e);
|
|
6105
6105
|
}
|
|
6106
6106
|
function Wd() {
|
|
6107
6107
|
const e = [];
|
|
@@ -6464,13 +6464,13 @@ r.forBlock.get_node_prop_as_v1 = function(e) {
|
|
|
6464
6464
|
return [`__getNodePropV1__(${n}, ${o})`, u.ATOMIC];
|
|
6465
6465
|
};
|
|
6466
6466
|
function Jd() {
|
|
6467
|
-
if (U.app.activeObject.type !== "page" || U.app.activePage.arguments.length > 0) return !1;
|
|
6467
|
+
if (U.app.activeObject.type !== "page" || U.app.activePage.meta.arguments.length > 0) return !1;
|
|
6468
6468
|
}
|
|
6469
6469
|
function tr() {
|
|
6470
|
-
return U.app.activePage.arguments;
|
|
6470
|
+
return U.app.activePage.meta.arguments;
|
|
6471
6471
|
}
|
|
6472
6472
|
function Us(e) {
|
|
6473
|
-
return U.app.activePage.arguments.find((t) => t.id === e);
|
|
6473
|
+
return U.app.activePage.meta.arguments.find((t) => t.id === e);
|
|
6474
6474
|
}
|
|
6475
6475
|
function Qd() {
|
|
6476
6476
|
const e = [];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.22",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"vue-draggable-plus": "^0.5.4",
|
|
33
33
|
"vuetify": "^3.7.3",
|
|
34
34
|
"x-essential-lib": "^0.7.11",
|
|
35
|
-
"x-runtime-lib": "^0.5.
|
|
36
|
-
"x-state-lib": "^0.1.
|
|
35
|
+
"x-runtime-lib": "^0.5.39",
|
|
36
|
+
"x-state-lib": "^0.1.7"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/js": "^10.0.0",
|