x-runtime-lib 0.7.14 → 0.7.16
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 +93 -91
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as n, inject as Q, provide as ee, readonly as Kt, onBeforeMount as Xi, onUnmounted as ge, defineComponent as T, useTemplateRef as ei, onMounted as ti, watch as le, nextTick as ni, createElementBlock as q, openBlock as V, normalizeStyle as ue, ref as ce, watchEffect as ii, createBlock as z, h as O, resolveComponent as A, withCtx as W, renderSlot as M, unref as D, createVNode as Z, createSlots as
|
|
2
|
-
import { waitUtil as ri, eventBus as jt, messageInfo as to, messageSuccess as no, messageWarning as ai, messageError as ui, createAxios as io, globalObjects as
|
|
1
|
+
import { computed as n, inject as Q, provide as ee, readonly as Kt, onBeforeMount as Xi, onUnmounted as ge, defineComponent as T, useTemplateRef as ei, onMounted as ti, watch as le, nextTick as ni, createElementBlock as q, openBlock as V, normalizeStyle as ue, ref as ce, watchEffect as ii, createBlock as z, h as O, resolveComponent as A, withCtx as W, renderSlot as M, unref as D, createVNode as Z, createSlots as we, renderList as Yi, useId as oi, isRef as si, createCommentVNode as li, withModifiers as Ji, normalizeClass as Qi, toDisplayString as eo } from "vue";
|
|
2
|
+
import { waitUtil as ri, eventBus as jt, messageInfo as to, messageSuccess as no, messageWarning as ai, messageError as ui, createAxios as io, globalObjects as Be, openConfirmDlg as oo, openPromptDlg as so, useViewStack as di, injectDark as lo } from "x-essential-lib";
|
|
3
3
|
import { useTheme as ro } from "vuetify";
|
|
4
4
|
import { c as R, u as ao, r as ci, e as mi, i as uo, a as co, b as mo, d as po, f as fo, g as bo, h as vo, j as yo, I as ho, m as go, k as pi } from "./vendor.gekjccxc.js";
|
|
5
5
|
import { useI18n as fi } from "vue-i18n";
|
|
@@ -106,7 +106,7 @@ function N(t) {
|
|
|
106
106
|
}
|
|
107
107
|
return e;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Se(t) {
|
|
110
110
|
if (typeof t != "string" || !t.endsWith("px"))
|
|
111
111
|
return !1;
|
|
112
112
|
const e = t.substring(0, t.length - 2), i = parseFloat(e);
|
|
@@ -125,7 +125,7 @@ function Wa(t) {
|
|
|
125
125
|
if (!isNaN(i) && i % 1 === 0)
|
|
126
126
|
return i;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function ze(t) {
|
|
129
129
|
if (typeof t != "string" || !t.endsWith("%"))
|
|
130
130
|
return;
|
|
131
131
|
const e = t.substring(0, t.length - 1), i = parseFloat(e);
|
|
@@ -328,27 +328,27 @@ function Pi() {
|
|
|
328
328
|
function Li(t) {
|
|
329
329
|
ee(zi, t);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Te() {
|
|
332
332
|
return Q(zi);
|
|
333
333
|
}
|
|
334
334
|
function se(t, e, i) {
|
|
335
335
|
const s = n(() => i.node.size?.width), l = n(() => i.node.size?.minWidth), o = n(() => i.node.size?.maxWidth), r = n(() => {
|
|
336
336
|
if (i.outer && t === "editor") {
|
|
337
|
-
const u =
|
|
337
|
+
const u = ze(i.node.size?.height);
|
|
338
338
|
if (u)
|
|
339
339
|
return u / 100 * e.value.height + "px";
|
|
340
340
|
}
|
|
341
341
|
return i.node.size?.height;
|
|
342
342
|
}), a = n(() => {
|
|
343
343
|
if (i.outer && t === "editor") {
|
|
344
|
-
const u =
|
|
344
|
+
const u = ze(i.node.size?.minHeight);
|
|
345
345
|
if (u)
|
|
346
346
|
return u / 100 * e.value.height + "px";
|
|
347
347
|
}
|
|
348
348
|
return i.node.size?.minHeight;
|
|
349
349
|
}), d = n(() => {
|
|
350
350
|
if (i.outer && t === "editor") {
|
|
351
|
-
const u =
|
|
351
|
+
const u = ze(i.node.size?.maxHeight);
|
|
352
352
|
if (u)
|
|
353
353
|
return u / 100 * e.value.height + "px";
|
|
354
354
|
}
|
|
@@ -598,7 +598,7 @@ function Ps(t, e) {
|
|
|
598
598
|
const Wi = io({
|
|
599
599
|
baseUrl: "http://localhost/computebase/",
|
|
600
600
|
onError: (t) => {
|
|
601
|
-
const { i18n: e } =
|
|
601
|
+
const { i18n: e } = Be;
|
|
602
602
|
ui(xo(e, t));
|
|
603
603
|
}
|
|
604
604
|
});
|
|
@@ -721,18 +721,20 @@ function Bs(t, e, i) {
|
|
|
721
721
|
const _ = e.pseudoToNative(c), k = e.pseudoToNative(v), x = e.pseudoToNative(h), y = { outputs: [] };
|
|
722
722
|
t.eventBus?.emit(`callMethod@${_}`, { name: k, inputs: x, result: y }), f(e.nativeToPseudo(y.outputs)), e.run();
|
|
723
723
|
}
|
|
724
|
-
function p(c, v
|
|
725
|
-
const
|
|
724
|
+
function p(c, v) {
|
|
725
|
+
const h = e.pseudoToNative(c), f = e.pseudoToNative(v);
|
|
726
726
|
if (t.mode === "runtime") {
|
|
727
|
-
const
|
|
727
|
+
const _ = "/main/" + Date.now(), k = {
|
|
728
728
|
orgid: t.org,
|
|
729
|
-
appid: `${
|
|
730
|
-
pageid:
|
|
729
|
+
appid: `${h}${t.env}`,
|
|
730
|
+
pageid: f
|
|
731
731
|
};
|
|
732
|
-
|
|
733
|
-
} else t.mode === "preview" &&
|
|
734
|
-
|
|
735
|
-
|
|
732
|
+
Be.router.replace({ path: _, query: k });
|
|
733
|
+
} else t.mode === "preview" && ai(
|
|
734
|
+
Be.i18n.global.t(
|
|
735
|
+
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
736
|
+
)
|
|
737
|
+
);
|
|
736
738
|
}
|
|
737
739
|
function u(c, v, h) {
|
|
738
740
|
const f = e.pseudoToNative(c), _ = e.pseudoToNative(v);
|
|
@@ -1150,15 +1152,15 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1150
1152
|
return V(), z(u, {
|
|
1151
1153
|
content: s.value,
|
|
1152
1154
|
dot: l.value,
|
|
1153
|
-
theme: o.value,
|
|
1154
1155
|
"offset-x": r.value,
|
|
1155
|
-
"offset-y": a.value
|
|
1156
|
+
"offset-y": a.value,
|
|
1157
|
+
theme: o.value
|
|
1156
1158
|
}, {
|
|
1157
1159
|
default: W(() => [
|
|
1158
1160
|
M(d.$slots, "default")
|
|
1159
1161
|
]),
|
|
1160
1162
|
_: 3
|
|
1161
|
-
}, 8, ["content", "dot", "
|
|
1163
|
+
}, 8, ["content", "dot", "offset-x", "offset-y", "theme"]);
|
|
1162
1164
|
};
|
|
1163
1165
|
}
|
|
1164
1166
|
}), js = /* @__PURE__ */ T({
|
|
@@ -1168,7 +1170,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1168
1170
|
outer: { type: Boolean }
|
|
1169
1171
|
},
|
|
1170
1172
|
setup(t) {
|
|
1171
|
-
const e = t, i = F(), s = B(), l =
|
|
1173
|
+
const e = t, i = F(), s = B(), l = Te(), o = n(() => e.node.settings?.addIcon?.append), r = n(() => e.node.settings?.block), a = n(() => e.node.settings?.color), { color: d } = j(s, a), p = n(() => e.node.settings?.density), u = n(() => e.node.settings?.disabled), m = n(() => e.node.size?.height), c = n(() => e.node.settings?.loading), v = n(() => e.node.size?.maxHeight), h = n(() => e.node.size?.maxWidth), f = n(() => e.node.size?.minHeight), _ = n(() => e.node.size?.minWidth), k = n(() => e.node.settings?.addIcon?.prepend), x = n(() => e.node.settings?.readonly), y = n(() => e.node.settings?.ripple), w = n(() => e.node.settings?.size), g = n(() => e.node.settings?.stacked), $ = n(() => e.node.settings?.text), S = n(() => s.value ? "dark" : "light"), P = n(() => e.node.settings?.variant), C = n(() => e.node.size?.width), G = (Y) => {
|
|
1172
1174
|
if (i !== "runtime" && i !== "preview")
|
|
1173
1175
|
return;
|
|
1174
1176
|
const K = l.interpreter;
|
|
@@ -1455,8 +1457,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1455
1457
|
const k = A("v-data-table");
|
|
1456
1458
|
return V(), z(k, {
|
|
1457
1459
|
density: s.value,
|
|
1458
|
-
"fixed-header": o.value,
|
|
1459
1460
|
"fixed-footer": l.value,
|
|
1461
|
+
"fixed-header": o.value,
|
|
1460
1462
|
headers: r.value,
|
|
1461
1463
|
height: a.value,
|
|
1462
1464
|
hover: d.value,
|
|
@@ -1465,7 +1467,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1465
1467
|
"multi-sort": m.value,
|
|
1466
1468
|
theme: c.value,
|
|
1467
1469
|
width: v.value
|
|
1468
|
-
},
|
|
1470
|
+
}, we({ _: 2 }, [
|
|
1469
1471
|
Yi(h.value, (x) => ({
|
|
1470
1472
|
name: `item.${x.column}`,
|
|
1471
1473
|
fn: W(({ value: y }) => [
|
|
@@ -1475,7 +1477,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1475
1477
|
}, null, 8, ["ref-context", "state"])
|
|
1476
1478
|
])
|
|
1477
1479
|
}))
|
|
1478
|
-
]), 1032, ["density", "fixed-
|
|
1480
|
+
]), 1032, ["density", "fixed-footer", "fixed-header", "headers", "height", "hover", "items", "loading", "multi-sort", "theme", "width"]);
|
|
1479
1481
|
};
|
|
1480
1482
|
}
|
|
1481
1483
|
}), ll = {};
|
|
@@ -1490,7 +1492,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1490
1492
|
outer: { type: Boolean }
|
|
1491
1493
|
},
|
|
1492
1494
|
setup(t) {
|
|
1493
|
-
const e = t, i = F(), s =
|
|
1495
|
+
const e = t, i = F(), s = Te(), l = n(() => e.node.basic?.id), { open: o } = di(`runtimeDlg/${oi()}`);
|
|
1494
1496
|
return Ei(s, e, (a) => {
|
|
1495
1497
|
if (i !== "runtime" && i !== "preview" || !s.interpreter)
|
|
1496
1498
|
return;
|
|
@@ -1591,7 +1593,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1591
1593
|
outer: { type: Boolean }
|
|
1592
1594
|
},
|
|
1593
1595
|
setup(t) {
|
|
1594
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), a =
|
|
1596
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), a = Te(), d = n({
|
|
1595
1597
|
get: () => e.node.settings?.valid,
|
|
1596
1598
|
set: (x) => {
|
|
1597
1599
|
e.node.settings && (e.node.settings.valid = !!x);
|
|
@@ -1613,15 +1615,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1613
1615
|
return V(), z(w, {
|
|
1614
1616
|
modelValue: d.value,
|
|
1615
1617
|
"onUpdate:modelValue": y[0] || (y[0] = (g) => d.value = g),
|
|
1616
|
-
style: ue(_.value),
|
|
1617
1618
|
"fast-fail": p.value,
|
|
1619
|
+
style: ue(_.value),
|
|
1618
1620
|
onSubmit: Ji(k, ["prevent"])
|
|
1619
1621
|
}, {
|
|
1620
1622
|
default: W(() => [
|
|
1621
1623
|
M(x.$slots, "default")
|
|
1622
1624
|
]),
|
|
1623
1625
|
_: 3
|
|
1624
|
-
}, 8, ["modelValue", "
|
|
1626
|
+
}, 8, ["modelValue", "fast-fail", "style"]);
|
|
1625
1627
|
};
|
|
1626
1628
|
}
|
|
1627
1629
|
}), bl = /* @__PURE__ */ T({
|
|
@@ -1650,7 +1652,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1650
1652
|
outer: { type: Boolean }
|
|
1651
1653
|
},
|
|
1652
1654
|
setup(t) {
|
|
1653
|
-
const e = t, i = F(), s =
|
|
1655
|
+
const e = t, i = F(), s = Te(), l = ce(0), o = ce(0), r = n(() => [l.value, o.value]), a = n(() => e.node.basic?.id), { open: d } = di(`runtimeMenu/${oi()}`);
|
|
1654
1656
|
return Ei(s, e, (u) => {
|
|
1655
1657
|
if (i !== "runtime" && i !== "preview")
|
|
1656
1658
|
return;
|
|
@@ -1664,10 +1666,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1664
1666
|
return V(), z(c, {
|
|
1665
1667
|
modelValue: D(d),
|
|
1666
1668
|
"onUpdate:modelValue": m[0] || (m[0] = (v) => si(d) ? d.value = v : null),
|
|
1667
|
-
"location-strategy": "connected",
|
|
1668
|
-
target: r.value,
|
|
1669
1669
|
attach: "menuContainer",
|
|
1670
|
-
|
|
1670
|
+
"location-strategy": "connected",
|
|
1671
|
+
scrim: "transparent",
|
|
1672
|
+
target: r.value
|
|
1671
1673
|
}, {
|
|
1672
1674
|
activator: W(() => [
|
|
1673
1675
|
D(i) === "editor" ? (V(), q("div", {
|
|
@@ -1859,9 +1861,9 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1859
1861
|
theme: _.value,
|
|
1860
1862
|
"thumb-label": x.value,
|
|
1861
1863
|
"thumb-size": y.value,
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
}, null, 8, ["density", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "
|
|
1864
|
+
"tick-size": $.value,
|
|
1865
|
+
ticks: g.value
|
|
1866
|
+
}, null, 8, ["density", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
|
|
1865
1867
|
])) : (V(), z(C, {
|
|
1866
1868
|
key: 1,
|
|
1867
1869
|
density: s.value,
|
|
@@ -1878,10 +1880,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1878
1880
|
theme: _.value,
|
|
1879
1881
|
"thumb-label": x.value,
|
|
1880
1882
|
"thumb-size": y.value,
|
|
1881
|
-
ticks: g.value,
|
|
1882
1883
|
"tick-size": $.value,
|
|
1884
|
+
ticks: g.value,
|
|
1883
1885
|
"onUpdate:modelValue": m
|
|
1884
|
-
}, null, 8, ["density", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "
|
|
1886
|
+
}, null, 8, ["density", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"]));
|
|
1885
1887
|
};
|
|
1886
1888
|
}
|
|
1887
1889
|
}), $l = /* @__PURE__ */ T({
|
|
@@ -1991,10 +1993,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1991
1993
|
"thumb-color": D(y),
|
|
1992
1994
|
"thumb-label": g.value,
|
|
1993
1995
|
"thumb-size": $.value,
|
|
1994
|
-
ticks: P.value,
|
|
1995
1996
|
"tick-size": C.value,
|
|
1997
|
+
ticks: P.value,
|
|
1996
1998
|
"track-color": D(Y)
|
|
1997
|
-
},
|
|
1999
|
+
}, we({ _: 2 }, [
|
|
1998
2000
|
K.value ? {
|
|
1999
2001
|
name: "append",
|
|
2000
2002
|
fn: W(() => [
|
|
@@ -2015,7 +2017,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2015
2017
|
]),
|
|
2016
2018
|
key: "1"
|
|
2017
2019
|
} : void 0
|
|
2018
|
-
]), 1032, ["color", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "reverse", "show-ticks", "step", "theme", "thumb-color", "thumb-label", "thumb-size", "
|
|
2020
|
+
]), 1032, ["color", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "reverse", "show-ticks", "step", "theme", "thumb-color", "thumb-label", "thumb-size", "tick-size", "ticks", "track-color"])
|
|
2019
2021
|
])) : (V(), z(ke, {
|
|
2020
2022
|
key: 1,
|
|
2021
2023
|
color: D(l),
|
|
@@ -2034,10 +2036,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2034
2036
|
"thumb-color": D(y),
|
|
2035
2037
|
"thumb-label": g.value,
|
|
2036
2038
|
"thumb-size": $.value,
|
|
2037
|
-
ticks: P.value,
|
|
2038
2039
|
"tick-size": C.value,
|
|
2040
|
+
ticks: P.value,
|
|
2039
2041
|
"track-color": D(Y)
|
|
2040
|
-
},
|
|
2042
|
+
}, we({ _: 2 }, [
|
|
2041
2043
|
K.value ? {
|
|
2042
2044
|
name: "append",
|
|
2043
2045
|
fn: W(() => [
|
|
@@ -2058,7 +2060,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2058
2060
|
]),
|
|
2059
2061
|
key: "1"
|
|
2060
2062
|
} : void 0
|
|
2061
|
-
]), 1032, ["color", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "reverse", "show-ticks", "step", "theme", "thumb-color", "thumb-label", "thumb-size", "
|
|
2063
|
+
]), 1032, ["color", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "reverse", "show-ticks", "step", "theme", "thumb-color", "thumb-label", "thumb-size", "tick-size", "ticks", "track-color"]));
|
|
2062
2064
|
};
|
|
2063
2065
|
}
|
|
2064
2066
|
}), zl = /* @__PURE__ */ T({
|
|
@@ -2300,7 +2302,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2300
2302
|
suffix: w.value,
|
|
2301
2303
|
theme: g.value,
|
|
2302
2304
|
variant: $.value
|
|
2303
|
-
},
|
|
2305
|
+
}, we({ _: 2 }, [
|
|
2304
2306
|
S.value ? {
|
|
2305
2307
|
name: "append",
|
|
2306
2308
|
fn: W(() => [
|
|
@@ -2397,8 +2399,8 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2397
2399
|
const c = A("v-window");
|
|
2398
2400
|
return V(), z(c, {
|
|
2399
2401
|
continuous: i.value,
|
|
2400
|
-
disabled: s.value,
|
|
2401
2402
|
direction: l.value,
|
|
2403
|
+
disabled: s.value,
|
|
2402
2404
|
"model-value": o.value,
|
|
2403
2405
|
reverse: r.value,
|
|
2404
2406
|
"show-arrows": a.value,
|
|
@@ -2409,7 +2411,7 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2409
2411
|
M(u.$slots, "default")
|
|
2410
2412
|
]),
|
|
2411
2413
|
_: 3
|
|
2412
|
-
}, 8, ["continuous", "
|
|
2414
|
+
}, 8, ["continuous", "direction", "disabled", "model-value", "reverse", "show-arrows", "theme", "touch"]);
|
|
2413
2415
|
};
|
|
2414
2416
|
}
|
|
2415
2417
|
}), Yl = {};
|
|
@@ -2422,7 +2424,7 @@ function Jl(t, e) {
|
|
|
2422
2424
|
_: 3
|
|
2423
2425
|
});
|
|
2424
2426
|
}
|
|
2425
|
-
const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "breadcrumbs_v1", De = "bar_chart_v1", Re = "btn_v1", Me = "btn_group_v1", Fe = "btn_toggle_v1", He = "card_v1", Oe = "checkbox_v1", Ge = "chip_v1", Ke = "chip_group_v1", je = "color_picker_v1", Ue = "combobox_v1", Ze = "container_v1", qe = "data_table_v1", Xe = "date_picker_v1", Ye = "dialog_v1", Je = "file_input_v1", Qe = "flex_layout_v1", Fi = "flex_layout_entry_v1", et = "form_v1", tt = "icon_v1", nt = "globality_v1", it = "line_chart_v1", ot = "menu_v1", st = "number_input_v1", lt = "pagination_v1", Hi = "radio_v1", rt = "radio_group_v1", at = "range_slider_v1", ut = "rating_v1",
|
|
2427
|
+
const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "breadcrumbs_v1", De = "bar_chart_v1", Re = "btn_v1", Me = "btn_group_v1", Fe = "btn_toggle_v1", He = "card_v1", Oe = "checkbox_v1", Ge = "chip_v1", Ke = "chip_group_v1", je = "color_picker_v1", Ue = "combobox_v1", Ze = "container_v1", qe = "data_table_v1", Xe = "date_picker_v1", Ye = "dialog_v1", Je = "file_input_v1", Qe = "flex_layout_v1", Fi = "flex_layout_entry_v1", et = "form_v1", tt = "icon_v1", nt = "globality_v1", it = "line_chart_v1", ot = "menu_v1", st = "number_input_v1", lt = "pagination_v1", Hi = "radio_v1", rt = "radio_group_v1", at = "range_slider_v1", ut = "rating_v1", _e = "ref_v1", dt = "select_v1", ct = "slider_v1", mt = "stepper_v1", Oi = "stepper_header_v1", Gi = "stepper_item_v1", Ki = "stepper_window_v1", ji = "stepper_window_item_v1", pt = "switch_v1", Ui = "tab_v1", ft = "tabs_v1", bt = "text_v1", vt = "textarea_v1", yt = "text_field_v1", ht = "timeline_v1", Zi = "timeline_item_v1", gt = "window_v1", qi = "window_item_v1", b = {
|
|
2426
2428
|
key: "basic",
|
|
2427
2429
|
name: "x-runtime-lib.basic",
|
|
2428
2430
|
children: [
|
|
@@ -2538,7 +2540,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2538
2540
|
]
|
|
2539
2541
|
}
|
|
2540
2542
|
]
|
|
2541
|
-
},
|
|
2543
|
+
}, Ve = {
|
|
2542
2544
|
key: "legend",
|
|
2543
2545
|
name: "x-runtime-lib.legend",
|
|
2544
2546
|
children: [
|
|
@@ -2676,7 +2678,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2676
2678
|
default: ""
|
|
2677
2679
|
}
|
|
2678
2680
|
]
|
|
2679
|
-
},
|
|
2681
|
+
}, $e = {
|
|
2680
2682
|
key: "title",
|
|
2681
2683
|
name: "x-runtime-lib.title",
|
|
2682
2684
|
children: [
|
|
@@ -2699,7 +2701,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2699
2701
|
default: ""
|
|
2700
2702
|
}
|
|
2701
2703
|
]
|
|
2702
|
-
},
|
|
2704
|
+
}, Ce = {
|
|
2703
2705
|
key: "xAxis",
|
|
2704
2706
|
name: "x-runtime-lib.xAxis",
|
|
2705
2707
|
children: [
|
|
@@ -2732,7 +2734,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2732
2734
|
defaultArray: []
|
|
2733
2735
|
}
|
|
2734
2736
|
]
|
|
2735
|
-
},
|
|
2737
|
+
}, Ie = {
|
|
2736
2738
|
key: "yAxis",
|
|
2737
2739
|
name: "x-runtime-lib.yAxis",
|
|
2738
2740
|
children: [
|
|
@@ -2814,8 +2816,8 @@ const mn = {
|
|
|
2814
2816
|
events: [],
|
|
2815
2817
|
methods: [],
|
|
2816
2818
|
props: {
|
|
2817
|
-
pageCommon: [b, H, Ce, Ie,
|
|
2818
|
-
compCommon: [b, H, Ce, Ie,
|
|
2819
|
+
pageCommon: [b, H, $e, Ce, Ie, Ve, mn],
|
|
2820
|
+
compCommon: [b, H, $e, Ce, Ie, Ve, mn]
|
|
2819
2821
|
},
|
|
2820
2822
|
spawn: tr
|
|
2821
2823
|
};
|
|
@@ -2868,8 +2870,8 @@ const pn = {
|
|
|
2868
2870
|
events: [],
|
|
2869
2871
|
methods: [],
|
|
2870
2872
|
props: {
|
|
2871
|
-
pageCommon: [b, H, Ce, Ie,
|
|
2872
|
-
compCommon: [b, H, Ce, Ie,
|
|
2873
|
+
pageCommon: [b, H, $e, Ce, Ie, Ve, pn],
|
|
2874
|
+
compCommon: [b, H, $e, Ce, Ie, Ve, pn]
|
|
2873
2875
|
},
|
|
2874
2876
|
spawn: nr
|
|
2875
2877
|
};
|
|
@@ -2942,7 +2944,7 @@ const bn = {
|
|
|
2942
2944
|
}
|
|
2943
2945
|
]
|
|
2944
2946
|
}, or = {
|
|
2945
|
-
key:
|
|
2947
|
+
key: _e,
|
|
2946
2948
|
name: "x-runtime-lib.ref",
|
|
2947
2949
|
comp: Gs,
|
|
2948
2950
|
slots: [],
|
|
@@ -4857,12 +4859,12 @@ function Sr(t, e) {
|
|
|
4857
4859
|
}
|
|
4858
4860
|
const o = {};
|
|
4859
4861
|
return L(o, l), o.basic.id = N(16), o.basic.key = Nt.key, o.children = [
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4862
|
+
Ae(t, e, "option1", "Option 1"),
|
|
4863
|
+
Ae(t, e, "option2", "Option 2"),
|
|
4864
|
+
Ae(t, e, "option3", "Option 3")
|
|
4863
4865
|
], o.settings.value = "option1", o;
|
|
4864
4866
|
}
|
|
4865
|
-
function
|
|
4867
|
+
function Ae(t, e, i, s) {
|
|
4866
4868
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
4867
4869
|
if (!o) {
|
|
4868
4870
|
console.error(`radioGroupV1/spawnEntry prop tag not found, ${l}`);
|
|
@@ -5459,12 +5461,12 @@ function Lr(t, e) {
|
|
|
5459
5461
|
}
|
|
5460
5462
|
const o = {};
|
|
5461
5463
|
return L(o, l), o.basic.id = N(16), o.basic.key = Pt.key, o.children = [
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5464
|
+
Ne(t, e, "step1"),
|
|
5465
|
+
Ne(t, e, "step2"),
|
|
5466
|
+
Ne(t, e, "step3")
|
|
5465
5467
|
], o;
|
|
5466
5468
|
}
|
|
5467
|
-
function
|
|
5469
|
+
function Ne(t, e, i) {
|
|
5468
5470
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
5469
5471
|
if (!l) {
|
|
5470
5472
|
console.error(`stepperV1/spawnItem prop tag not found, ${s}`);
|
|
@@ -5491,12 +5493,12 @@ function Er(t, e) {
|
|
|
5491
5493
|
}
|
|
5492
5494
|
const o = {};
|
|
5493
5495
|
return L(o, l), o.basic.id = N(16), o.basic.key = Et.key, o.children = [
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5496
|
+
Pe(t, e, "step1", "step 1"),
|
|
5497
|
+
Pe(t, e, "step2", "step 2"),
|
|
5498
|
+
Pe(t, e, "step3", "step 3")
|
|
5497
5499
|
], o;
|
|
5498
5500
|
}
|
|
5499
|
-
function
|
|
5501
|
+
function Pe(t, e, i, s) {
|
|
5500
5502
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
5501
5503
|
if (!o) {
|
|
5502
5504
|
console.error(`stepperV1/spawnWindowItem prop tag not found, ${l}`);
|
|
@@ -5616,12 +5618,12 @@ function Dr(t, e) {
|
|
|
5616
5618
|
}
|
|
5617
5619
|
const o = {};
|
|
5618
5620
|
return L(o, l), o.basic.id = N(16), o.basic.key = Rt.key, o.children = [
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5621
|
+
Le(t, e, "tab1", "tab 1"),
|
|
5622
|
+
Le(t, e, "tab2", "tab 2"),
|
|
5623
|
+
Le(t, e, "tab3", "tab 3")
|
|
5622
5624
|
], o;
|
|
5623
5625
|
}
|
|
5624
|
-
function
|
|
5626
|
+
function Le(t, e, i, s) {
|
|
5625
5627
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
5626
5628
|
if (!o) {
|
|
5627
5629
|
console.error(`tabsV1/spawnTab prop tag not found, ${l}`);
|
|
@@ -5986,12 +5988,12 @@ function Fr(t, e) {
|
|
|
5986
5988
|
}
|
|
5987
5989
|
const o = {};
|
|
5988
5990
|
return L(o, l), o.basic.id = N(16), o.basic.key = Ht.key, o.children = [
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5991
|
+
Ee(t, e, "timeline 1"),
|
|
5992
|
+
Ee(t, e, "timeline 2"),
|
|
5993
|
+
Ee(t, e, "timeline 3")
|
|
5992
5994
|
], o;
|
|
5993
5995
|
}
|
|
5994
|
-
function
|
|
5996
|
+
function Ee(t, e, i) {
|
|
5995
5997
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
5996
5998
|
if (!l) {
|
|
5997
5999
|
console.error(`timelineV1/spawnEntry prop tag not found, ${s}`);
|
|
@@ -6147,12 +6149,12 @@ function Kr(t, e) {
|
|
|
6147
6149
|
}
|
|
6148
6150
|
const o = {};
|
|
6149
6151
|
return L(o, l), o.basic.id = N(16), o.basic.key = Gt.key, o.children = [
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6152
|
+
We(t, e, "window 1"),
|
|
6153
|
+
We(t, e, "window 2"),
|
|
6154
|
+
We(t, e, "window 3")
|
|
6153
6155
|
], o;
|
|
6154
6156
|
}
|
|
6155
|
-
function
|
|
6157
|
+
function We(t, e, i) {
|
|
6156
6158
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
6157
6159
|
if (!l) {
|
|
6158
6160
|
console.error(`windowV1/spawnEntry prop tag not found, ${s}`);
|
|
@@ -6470,7 +6472,7 @@ const Zr = [
|
|
|
6470
6472
|
title: "x-runtime-lib.pixel",
|
|
6471
6473
|
value: "pixel",
|
|
6472
6474
|
ui: "pixelInput",
|
|
6473
|
-
validator:
|
|
6475
|
+
validator: Se,
|
|
6474
6476
|
default: "0px",
|
|
6475
6477
|
precision: 0,
|
|
6476
6478
|
min: 0,
|
|
@@ -6518,7 +6520,7 @@ const Zr = [
|
|
|
6518
6520
|
title: "x-runtime-lib.pixel",
|
|
6519
6521
|
value: "pixel",
|
|
6520
6522
|
ui: "pixelInput",
|
|
6521
|
-
validator:
|
|
6523
|
+
validator: Se,
|
|
6522
6524
|
default: "0px"
|
|
6523
6525
|
},
|
|
6524
6526
|
{
|
|
@@ -6541,7 +6543,7 @@ const Zr = [
|
|
|
6541
6543
|
title: "x-runtime-lib.pixel",
|
|
6542
6544
|
value: "pixel",
|
|
6543
6545
|
ui: "pixelInput",
|
|
6544
|
-
validator:
|
|
6546
|
+
validator: Se,
|
|
6545
6547
|
min: 0,
|
|
6546
6548
|
default: "0px"
|
|
6547
6549
|
},
|
|
@@ -6566,7 +6568,7 @@ const Zr = [
|
|
|
6566
6568
|
title: "x-runtime-lib.pixel",
|
|
6567
6569
|
value: "pixel",
|
|
6568
6570
|
ui: "pixelInput",
|
|
6569
|
-
validator:
|
|
6571
|
+
validator: Se,
|
|
6570
6572
|
min: 0,
|
|
6571
6573
|
default: "0px"
|
|
6572
6574
|
},
|
|
@@ -6642,7 +6644,7 @@ const Zr = [
|
|
|
6642
6644
|
}, Symbol.toStringTag, { value: "Module" })), Sa = {
|
|
6643
6645
|
version: "v1",
|
|
6644
6646
|
globalityKey: nt,
|
|
6645
|
-
refKey:
|
|
6647
|
+
refKey: _e,
|
|
6646
6648
|
items: { ...ga },
|
|
6647
6649
|
types: { ...Ia },
|
|
6648
6650
|
elements: /* @__PURE__ */ new Set([
|
|
@@ -6675,7 +6677,7 @@ const Zr = [
|
|
|
6675
6677
|
rt,
|
|
6676
6678
|
at,
|
|
6677
6679
|
ut,
|
|
6678
|
-
|
|
6680
|
+
_e,
|
|
6679
6681
|
dt,
|
|
6680
6682
|
ct,
|
|
6681
6683
|
mt,
|
|
@@ -6706,7 +6708,7 @@ const Zr = [
|
|
|
6706
6708
|
Qe,
|
|
6707
6709
|
Ye,
|
|
6708
6710
|
ot,
|
|
6709
|
-
|
|
6711
|
+
_e
|
|
6710
6712
|
]
|
|
6711
6713
|
},
|
|
6712
6714
|
{
|
|
@@ -6819,17 +6821,17 @@ export {
|
|
|
6819
6821
|
Ni as injectEnv,
|
|
6820
6822
|
F as injectMode,
|
|
6821
6823
|
Ai as injectOrg,
|
|
6822
|
-
|
|
6824
|
+
Te as injectSandbox,
|
|
6823
6825
|
ne as injectType,
|
|
6824
6826
|
Xt as isPercentStr,
|
|
6825
|
-
|
|
6827
|
+
Se as isPixelStr,
|
|
6826
6828
|
kt as lineChartV1,
|
|
6827
6829
|
Ya as loadLocaleMessageRuntime,
|
|
6828
6830
|
Vr as menuV1,
|
|
6829
6831
|
Ri as newEventBus,
|
|
6830
6832
|
zt as numberInputV1,
|
|
6831
6833
|
Cr as paginationV1,
|
|
6832
|
-
|
|
6834
|
+
ze as parsePercentStr,
|
|
6833
6835
|
Wa as parsePixelStr,
|
|
6834
6836
|
rn as pkgs,
|
|
6835
6837
|
Oa as provideDark,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-runtime-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.16",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
"lodash-es": "^4.17.21",
|
|
29
29
|
"mitt": "^3.0.1",
|
|
30
30
|
"vue": "^3.5.17",
|
|
31
|
-
"vue-i18n": "^11.1.
|
|
32
|
-
"vuetify": "^3.9.
|
|
33
|
-
"x-error-lib": "^0.5.
|
|
34
|
-
"x-essential-lib": "^0.8.
|
|
31
|
+
"vue-i18n": "^11.1.10",
|
|
32
|
+
"vuetify": "^3.9.1",
|
|
33
|
+
"x-error-lib": "^0.5.5",
|
|
34
|
+
"x-essential-lib": "^0.8.24"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@eslint/js": "^9.
|
|
37
|
+
"@eslint/js": "^9.31.0",
|
|
38
38
|
"@types/lodash-es": "^4.17.12",
|
|
39
|
-
"@types/node": "^24.0.
|
|
39
|
+
"@types/node": "^24.0.14",
|
|
40
40
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
41
|
-
"eslint": "^9.
|
|
41
|
+
"eslint": "^9.31.0",
|
|
42
42
|
"eslint-config-prettier": "^10.1.5",
|
|
43
43
|
"eslint-plugin-prettier": "^5.5.1",
|
|
44
44
|
"eslint-plugin-vue": "^10.3.0",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"prettier": "3.6.2",
|
|
49
49
|
"sass": "^1.89.2",
|
|
50
50
|
"typescript": "^5.8.3",
|
|
51
|
-
"typescript-eslint": "^8.
|
|
52
|
-
"vite": "^7.0.
|
|
51
|
+
"typescript-eslint": "^8.37.0",
|
|
52
|
+
"vite": "^7.0.5",
|
|
53
53
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
54
54
|
"vite-plugin-vuetify": "^2.1.1",
|
|
55
55
|
"vue-eslint-parser": "^10.2.0",
|
|
56
56
|
"vue-router": "^4.5.1",
|
|
57
|
-
"vue-tsc": "^3.0.
|
|
57
|
+
"vue-tsc": "^3.0.2"
|
|
58
58
|
}
|
|
59
59
|
}
|