x-runtime-lib 0.7.15 → 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 +89 -89
- 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,17 +721,17 @@ 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
|
-
|
|
732
|
+
Be.router.replace({ path: _, query: k });
|
|
733
733
|
} else t.mode === "preview" && ai(
|
|
734
|
-
|
|
734
|
+
Be.i18n.global.t(
|
|
735
735
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
736
736
|
)
|
|
737
737
|
);
|
|
@@ -1152,15 +1152,15 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1152
1152
|
return V(), z(u, {
|
|
1153
1153
|
content: s.value,
|
|
1154
1154
|
dot: l.value,
|
|
1155
|
-
theme: o.value,
|
|
1156
1155
|
"offset-x": r.value,
|
|
1157
|
-
"offset-y": a.value
|
|
1156
|
+
"offset-y": a.value,
|
|
1157
|
+
theme: o.value
|
|
1158
1158
|
}, {
|
|
1159
1159
|
default: W(() => [
|
|
1160
1160
|
M(d.$slots, "default")
|
|
1161
1161
|
]),
|
|
1162
1162
|
_: 3
|
|
1163
|
-
}, 8, ["content", "dot", "
|
|
1163
|
+
}, 8, ["content", "dot", "offset-x", "offset-y", "theme"]);
|
|
1164
1164
|
};
|
|
1165
1165
|
}
|
|
1166
1166
|
}), js = /* @__PURE__ */ T({
|
|
@@ -1170,7 +1170,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1170
1170
|
outer: { type: Boolean }
|
|
1171
1171
|
},
|
|
1172
1172
|
setup(t) {
|
|
1173
|
-
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) => {
|
|
1174
1174
|
if (i !== "runtime" && i !== "preview")
|
|
1175
1175
|
return;
|
|
1176
1176
|
const K = l.interpreter;
|
|
@@ -1457,8 +1457,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1457
1457
|
const k = A("v-data-table");
|
|
1458
1458
|
return V(), z(k, {
|
|
1459
1459
|
density: s.value,
|
|
1460
|
-
"fixed-header": o.value,
|
|
1461
1460
|
"fixed-footer": l.value,
|
|
1461
|
+
"fixed-header": o.value,
|
|
1462
1462
|
headers: r.value,
|
|
1463
1463
|
height: a.value,
|
|
1464
1464
|
hover: d.value,
|
|
@@ -1467,7 +1467,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1467
1467
|
"multi-sort": m.value,
|
|
1468
1468
|
theme: c.value,
|
|
1469
1469
|
width: v.value
|
|
1470
|
-
},
|
|
1470
|
+
}, we({ _: 2 }, [
|
|
1471
1471
|
Yi(h.value, (x) => ({
|
|
1472
1472
|
name: `item.${x.column}`,
|
|
1473
1473
|
fn: W(({ value: y }) => [
|
|
@@ -1477,7 +1477,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1477
1477
|
}, null, 8, ["ref-context", "state"])
|
|
1478
1478
|
])
|
|
1479
1479
|
}))
|
|
1480
|
-
]), 1032, ["density", "fixed-
|
|
1480
|
+
]), 1032, ["density", "fixed-footer", "fixed-header", "headers", "height", "hover", "items", "loading", "multi-sort", "theme", "width"]);
|
|
1481
1481
|
};
|
|
1482
1482
|
}
|
|
1483
1483
|
}), ll = {};
|
|
@@ -1492,7 +1492,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1492
1492
|
outer: { type: Boolean }
|
|
1493
1493
|
},
|
|
1494
1494
|
setup(t) {
|
|
1495
|
-
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()}`);
|
|
1496
1496
|
return Ei(s, e, (a) => {
|
|
1497
1497
|
if (i !== "runtime" && i !== "preview" || !s.interpreter)
|
|
1498
1498
|
return;
|
|
@@ -1593,7 +1593,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1593
1593
|
outer: { type: Boolean }
|
|
1594
1594
|
},
|
|
1595
1595
|
setup(t) {
|
|
1596
|
-
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({
|
|
1597
1597
|
get: () => e.node.settings?.valid,
|
|
1598
1598
|
set: (x) => {
|
|
1599
1599
|
e.node.settings && (e.node.settings.valid = !!x);
|
|
@@ -1615,15 +1615,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1615
1615
|
return V(), z(w, {
|
|
1616
1616
|
modelValue: d.value,
|
|
1617
1617
|
"onUpdate:modelValue": y[0] || (y[0] = (g) => d.value = g),
|
|
1618
|
-
style: ue(_.value),
|
|
1619
1618
|
"fast-fail": p.value,
|
|
1619
|
+
style: ue(_.value),
|
|
1620
1620
|
onSubmit: Ji(k, ["prevent"])
|
|
1621
1621
|
}, {
|
|
1622
1622
|
default: W(() => [
|
|
1623
1623
|
M(x.$slots, "default")
|
|
1624
1624
|
]),
|
|
1625
1625
|
_: 3
|
|
1626
|
-
}, 8, ["modelValue", "
|
|
1626
|
+
}, 8, ["modelValue", "fast-fail", "style"]);
|
|
1627
1627
|
};
|
|
1628
1628
|
}
|
|
1629
1629
|
}), bl = /* @__PURE__ */ T({
|
|
@@ -1652,7 +1652,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1652
1652
|
outer: { type: Boolean }
|
|
1653
1653
|
},
|
|
1654
1654
|
setup(t) {
|
|
1655
|
-
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()}`);
|
|
1656
1656
|
return Ei(s, e, (u) => {
|
|
1657
1657
|
if (i !== "runtime" && i !== "preview")
|
|
1658
1658
|
return;
|
|
@@ -1666,10 +1666,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1666
1666
|
return V(), z(c, {
|
|
1667
1667
|
modelValue: D(d),
|
|
1668
1668
|
"onUpdate:modelValue": m[0] || (m[0] = (v) => si(d) ? d.value = v : null),
|
|
1669
|
-
"location-strategy": "connected",
|
|
1670
|
-
target: r.value,
|
|
1671
1669
|
attach: "menuContainer",
|
|
1672
|
-
|
|
1670
|
+
"location-strategy": "connected",
|
|
1671
|
+
scrim: "transparent",
|
|
1672
|
+
target: r.value
|
|
1673
1673
|
}, {
|
|
1674
1674
|
activator: W(() => [
|
|
1675
1675
|
D(i) === "editor" ? (V(), q("div", {
|
|
@@ -1861,9 +1861,9 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1861
1861
|
theme: _.value,
|
|
1862
1862
|
"thumb-label": x.value,
|
|
1863
1863
|
"thumb-size": y.value,
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
}, 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"])
|
|
1867
1867
|
])) : (V(), z(C, {
|
|
1868
1868
|
key: 1,
|
|
1869
1869
|
density: s.value,
|
|
@@ -1880,10 +1880,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1880
1880
|
theme: _.value,
|
|
1881
1881
|
"thumb-label": x.value,
|
|
1882
1882
|
"thumb-size": y.value,
|
|
1883
|
-
ticks: g.value,
|
|
1884
1883
|
"tick-size": $.value,
|
|
1884
|
+
ticks: g.value,
|
|
1885
1885
|
"onUpdate:modelValue": m
|
|
1886
|
-
}, 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"]));
|
|
1887
1887
|
};
|
|
1888
1888
|
}
|
|
1889
1889
|
}), $l = /* @__PURE__ */ T({
|
|
@@ -1993,10 +1993,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1993
1993
|
"thumb-color": D(y),
|
|
1994
1994
|
"thumb-label": g.value,
|
|
1995
1995
|
"thumb-size": $.value,
|
|
1996
|
-
ticks: P.value,
|
|
1997
1996
|
"tick-size": C.value,
|
|
1997
|
+
ticks: P.value,
|
|
1998
1998
|
"track-color": D(Y)
|
|
1999
|
-
},
|
|
1999
|
+
}, we({ _: 2 }, [
|
|
2000
2000
|
K.value ? {
|
|
2001
2001
|
name: "append",
|
|
2002
2002
|
fn: W(() => [
|
|
@@ -2017,7 +2017,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2017
2017
|
]),
|
|
2018
2018
|
key: "1"
|
|
2019
2019
|
} : void 0
|
|
2020
|
-
]), 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"])
|
|
2021
2021
|
])) : (V(), z(ke, {
|
|
2022
2022
|
key: 1,
|
|
2023
2023
|
color: D(l),
|
|
@@ -2036,10 +2036,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2036
2036
|
"thumb-color": D(y),
|
|
2037
2037
|
"thumb-label": g.value,
|
|
2038
2038
|
"thumb-size": $.value,
|
|
2039
|
-
ticks: P.value,
|
|
2040
2039
|
"tick-size": C.value,
|
|
2040
|
+
ticks: P.value,
|
|
2041
2041
|
"track-color": D(Y)
|
|
2042
|
-
},
|
|
2042
|
+
}, we({ _: 2 }, [
|
|
2043
2043
|
K.value ? {
|
|
2044
2044
|
name: "append",
|
|
2045
2045
|
fn: W(() => [
|
|
@@ -2060,7 +2060,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2060
2060
|
]),
|
|
2061
2061
|
key: "1"
|
|
2062
2062
|
} : void 0
|
|
2063
|
-
]), 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"]));
|
|
2064
2064
|
};
|
|
2065
2065
|
}
|
|
2066
2066
|
}), zl = /* @__PURE__ */ T({
|
|
@@ -2302,7 +2302,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2302
2302
|
suffix: w.value,
|
|
2303
2303
|
theme: g.value,
|
|
2304
2304
|
variant: $.value
|
|
2305
|
-
},
|
|
2305
|
+
}, we({ _: 2 }, [
|
|
2306
2306
|
S.value ? {
|
|
2307
2307
|
name: "append",
|
|
2308
2308
|
fn: W(() => [
|
|
@@ -2399,8 +2399,8 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2399
2399
|
const c = A("v-window");
|
|
2400
2400
|
return V(), z(c, {
|
|
2401
2401
|
continuous: i.value,
|
|
2402
|
-
disabled: s.value,
|
|
2403
2402
|
direction: l.value,
|
|
2403
|
+
disabled: s.value,
|
|
2404
2404
|
"model-value": o.value,
|
|
2405
2405
|
reverse: r.value,
|
|
2406
2406
|
"show-arrows": a.value,
|
|
@@ -2411,7 +2411,7 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2411
2411
|
M(u.$slots, "default")
|
|
2412
2412
|
]),
|
|
2413
2413
|
_: 3
|
|
2414
|
-
}, 8, ["continuous", "
|
|
2414
|
+
}, 8, ["continuous", "direction", "disabled", "model-value", "reverse", "show-arrows", "theme", "touch"]);
|
|
2415
2415
|
};
|
|
2416
2416
|
}
|
|
2417
2417
|
}), Yl = {};
|
|
@@ -2424,7 +2424,7 @@ function Jl(t, e) {
|
|
|
2424
2424
|
_: 3
|
|
2425
2425
|
});
|
|
2426
2426
|
}
|
|
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",
|
|
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 = {
|
|
2428
2428
|
key: "basic",
|
|
2429
2429
|
name: "x-runtime-lib.basic",
|
|
2430
2430
|
children: [
|
|
@@ -2540,7 +2540,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2540
2540
|
]
|
|
2541
2541
|
}
|
|
2542
2542
|
]
|
|
2543
|
-
},
|
|
2543
|
+
}, Ve = {
|
|
2544
2544
|
key: "legend",
|
|
2545
2545
|
name: "x-runtime-lib.legend",
|
|
2546
2546
|
children: [
|
|
@@ -2678,7 +2678,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2678
2678
|
default: ""
|
|
2679
2679
|
}
|
|
2680
2680
|
]
|
|
2681
|
-
},
|
|
2681
|
+
}, $e = {
|
|
2682
2682
|
key: "title",
|
|
2683
2683
|
name: "x-runtime-lib.title",
|
|
2684
2684
|
children: [
|
|
@@ -2701,7 +2701,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2701
2701
|
default: ""
|
|
2702
2702
|
}
|
|
2703
2703
|
]
|
|
2704
|
-
},
|
|
2704
|
+
}, Ce = {
|
|
2705
2705
|
key: "xAxis",
|
|
2706
2706
|
name: "x-runtime-lib.xAxis",
|
|
2707
2707
|
children: [
|
|
@@ -2734,7 +2734,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "brea
|
|
|
2734
2734
|
defaultArray: []
|
|
2735
2735
|
}
|
|
2736
2736
|
]
|
|
2737
|
-
},
|
|
2737
|
+
}, Ie = {
|
|
2738
2738
|
key: "yAxis",
|
|
2739
2739
|
name: "x-runtime-lib.yAxis",
|
|
2740
2740
|
children: [
|
|
@@ -2816,8 +2816,8 @@ const mn = {
|
|
|
2816
2816
|
events: [],
|
|
2817
2817
|
methods: [],
|
|
2818
2818
|
props: {
|
|
2819
|
-
pageCommon: [b, H, Ce, Ie,
|
|
2820
|
-
compCommon: [b, H, Ce, Ie,
|
|
2819
|
+
pageCommon: [b, H, $e, Ce, Ie, Ve, mn],
|
|
2820
|
+
compCommon: [b, H, $e, Ce, Ie, Ve, mn]
|
|
2821
2821
|
},
|
|
2822
2822
|
spawn: tr
|
|
2823
2823
|
};
|
|
@@ -2870,8 +2870,8 @@ const pn = {
|
|
|
2870
2870
|
events: [],
|
|
2871
2871
|
methods: [],
|
|
2872
2872
|
props: {
|
|
2873
|
-
pageCommon: [b, H, Ce, Ie,
|
|
2874
|
-
compCommon: [b, H, Ce, Ie,
|
|
2873
|
+
pageCommon: [b, H, $e, Ce, Ie, Ve, pn],
|
|
2874
|
+
compCommon: [b, H, $e, Ce, Ie, Ve, pn]
|
|
2875
2875
|
},
|
|
2876
2876
|
spawn: nr
|
|
2877
2877
|
};
|
|
@@ -2944,7 +2944,7 @@ const bn = {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
]
|
|
2946
2946
|
}, or = {
|
|
2947
|
-
key:
|
|
2947
|
+
key: _e,
|
|
2948
2948
|
name: "x-runtime-lib.ref",
|
|
2949
2949
|
comp: Gs,
|
|
2950
2950
|
slots: [],
|
|
@@ -4859,12 +4859,12 @@ function Sr(t, e) {
|
|
|
4859
4859
|
}
|
|
4860
4860
|
const o = {};
|
|
4861
4861
|
return L(o, l), o.basic.id = N(16), o.basic.key = Nt.key, o.children = [
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4862
|
+
Ae(t, e, "option1", "Option 1"),
|
|
4863
|
+
Ae(t, e, "option2", "Option 2"),
|
|
4864
|
+
Ae(t, e, "option3", "Option 3")
|
|
4865
4865
|
], o.settings.value = "option1", o;
|
|
4866
4866
|
}
|
|
4867
|
-
function
|
|
4867
|
+
function Ae(t, e, i, s) {
|
|
4868
4868
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
4869
4869
|
if (!o) {
|
|
4870
4870
|
console.error(`radioGroupV1/spawnEntry prop tag not found, ${l}`);
|
|
@@ -5461,12 +5461,12 @@ function Lr(t, e) {
|
|
|
5461
5461
|
}
|
|
5462
5462
|
const o = {};
|
|
5463
5463
|
return L(o, l), o.basic.id = N(16), o.basic.key = Pt.key, o.children = [
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5464
|
+
Ne(t, e, "step1"),
|
|
5465
|
+
Ne(t, e, "step2"),
|
|
5466
|
+
Ne(t, e, "step3")
|
|
5467
5467
|
], o;
|
|
5468
5468
|
}
|
|
5469
|
-
function
|
|
5469
|
+
function Ne(t, e, i) {
|
|
5470
5470
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
5471
5471
|
if (!l) {
|
|
5472
5472
|
console.error(`stepperV1/spawnItem prop tag not found, ${s}`);
|
|
@@ -5493,12 +5493,12 @@ function Er(t, e) {
|
|
|
5493
5493
|
}
|
|
5494
5494
|
const o = {};
|
|
5495
5495
|
return L(o, l), o.basic.id = N(16), o.basic.key = Et.key, o.children = [
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5496
|
+
Pe(t, e, "step1", "step 1"),
|
|
5497
|
+
Pe(t, e, "step2", "step 2"),
|
|
5498
|
+
Pe(t, e, "step3", "step 3")
|
|
5499
5499
|
], o;
|
|
5500
5500
|
}
|
|
5501
|
-
function
|
|
5501
|
+
function Pe(t, e, i, s) {
|
|
5502
5502
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
5503
5503
|
if (!o) {
|
|
5504
5504
|
console.error(`stepperV1/spawnWindowItem prop tag not found, ${l}`);
|
|
@@ -5618,12 +5618,12 @@ function Dr(t, e) {
|
|
|
5618
5618
|
}
|
|
5619
5619
|
const o = {};
|
|
5620
5620
|
return L(o, l), o.basic.id = N(16), o.basic.key = Rt.key, o.children = [
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5621
|
+
Le(t, e, "tab1", "tab 1"),
|
|
5622
|
+
Le(t, e, "tab2", "tab 2"),
|
|
5623
|
+
Le(t, e, "tab3", "tab 3")
|
|
5624
5624
|
], o;
|
|
5625
5625
|
}
|
|
5626
|
-
function
|
|
5626
|
+
function Le(t, e, i, s) {
|
|
5627
5627
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
5628
5628
|
if (!o) {
|
|
5629
5629
|
console.error(`tabsV1/spawnTab prop tag not found, ${l}`);
|
|
@@ -5988,12 +5988,12 @@ function Fr(t, e) {
|
|
|
5988
5988
|
}
|
|
5989
5989
|
const o = {};
|
|
5990
5990
|
return L(o, l), o.basic.id = N(16), o.basic.key = Ht.key, o.children = [
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5991
|
+
Ee(t, e, "timeline 1"),
|
|
5992
|
+
Ee(t, e, "timeline 2"),
|
|
5993
|
+
Ee(t, e, "timeline 3")
|
|
5994
5994
|
], o;
|
|
5995
5995
|
}
|
|
5996
|
-
function
|
|
5996
|
+
function Ee(t, e, i) {
|
|
5997
5997
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
5998
5998
|
if (!l) {
|
|
5999
5999
|
console.error(`timelineV1/spawnEntry prop tag not found, ${s}`);
|
|
@@ -6149,12 +6149,12 @@ function Kr(t, e) {
|
|
|
6149
6149
|
}
|
|
6150
6150
|
const o = {};
|
|
6151
6151
|
return L(o, l), o.basic.id = N(16), o.basic.key = Gt.key, o.children = [
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6152
|
+
We(t, e, "window 1"),
|
|
6153
|
+
We(t, e, "window 2"),
|
|
6154
|
+
We(t, e, "window 3")
|
|
6155
6155
|
], o;
|
|
6156
6156
|
}
|
|
6157
|
-
function
|
|
6157
|
+
function We(t, e, i) {
|
|
6158
6158
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
6159
6159
|
if (!l) {
|
|
6160
6160
|
console.error(`windowV1/spawnEntry prop tag not found, ${s}`);
|
|
@@ -6472,7 +6472,7 @@ const Zr = [
|
|
|
6472
6472
|
title: "x-runtime-lib.pixel",
|
|
6473
6473
|
value: "pixel",
|
|
6474
6474
|
ui: "pixelInput",
|
|
6475
|
-
validator:
|
|
6475
|
+
validator: Se,
|
|
6476
6476
|
default: "0px",
|
|
6477
6477
|
precision: 0,
|
|
6478
6478
|
min: 0,
|
|
@@ -6520,7 +6520,7 @@ const Zr = [
|
|
|
6520
6520
|
title: "x-runtime-lib.pixel",
|
|
6521
6521
|
value: "pixel",
|
|
6522
6522
|
ui: "pixelInput",
|
|
6523
|
-
validator:
|
|
6523
|
+
validator: Se,
|
|
6524
6524
|
default: "0px"
|
|
6525
6525
|
},
|
|
6526
6526
|
{
|
|
@@ -6543,7 +6543,7 @@ const Zr = [
|
|
|
6543
6543
|
title: "x-runtime-lib.pixel",
|
|
6544
6544
|
value: "pixel",
|
|
6545
6545
|
ui: "pixelInput",
|
|
6546
|
-
validator:
|
|
6546
|
+
validator: Se,
|
|
6547
6547
|
min: 0,
|
|
6548
6548
|
default: "0px"
|
|
6549
6549
|
},
|
|
@@ -6568,7 +6568,7 @@ const Zr = [
|
|
|
6568
6568
|
title: "x-runtime-lib.pixel",
|
|
6569
6569
|
value: "pixel",
|
|
6570
6570
|
ui: "pixelInput",
|
|
6571
|
-
validator:
|
|
6571
|
+
validator: Se,
|
|
6572
6572
|
min: 0,
|
|
6573
6573
|
default: "0px"
|
|
6574
6574
|
},
|
|
@@ -6644,7 +6644,7 @@ const Zr = [
|
|
|
6644
6644
|
}, Symbol.toStringTag, { value: "Module" })), Sa = {
|
|
6645
6645
|
version: "v1",
|
|
6646
6646
|
globalityKey: nt,
|
|
6647
|
-
refKey:
|
|
6647
|
+
refKey: _e,
|
|
6648
6648
|
items: { ...ga },
|
|
6649
6649
|
types: { ...Ia },
|
|
6650
6650
|
elements: /* @__PURE__ */ new Set([
|
|
@@ -6677,7 +6677,7 @@ const Zr = [
|
|
|
6677
6677
|
rt,
|
|
6678
6678
|
at,
|
|
6679
6679
|
ut,
|
|
6680
|
-
|
|
6680
|
+
_e,
|
|
6681
6681
|
dt,
|
|
6682
6682
|
ct,
|
|
6683
6683
|
mt,
|
|
@@ -6708,7 +6708,7 @@ const Zr = [
|
|
|
6708
6708
|
Qe,
|
|
6709
6709
|
Ye,
|
|
6710
6710
|
ot,
|
|
6711
|
-
|
|
6711
|
+
_e
|
|
6712
6712
|
]
|
|
6713
6713
|
},
|
|
6714
6714
|
{
|
|
@@ -6821,17 +6821,17 @@ export {
|
|
|
6821
6821
|
Ni as injectEnv,
|
|
6822
6822
|
F as injectMode,
|
|
6823
6823
|
Ai as injectOrg,
|
|
6824
|
-
|
|
6824
|
+
Te as injectSandbox,
|
|
6825
6825
|
ne as injectType,
|
|
6826
6826
|
Xt as isPercentStr,
|
|
6827
|
-
|
|
6827
|
+
Se as isPixelStr,
|
|
6828
6828
|
kt as lineChartV1,
|
|
6829
6829
|
Ya as loadLocaleMessageRuntime,
|
|
6830
6830
|
Vr as menuV1,
|
|
6831
6831
|
Ri as newEventBus,
|
|
6832
6832
|
zt as numberInputV1,
|
|
6833
6833
|
Cr as paginationV1,
|
|
6834
|
-
|
|
6834
|
+
ze as parsePercentStr,
|
|
6835
6835
|
Wa as parsePixelStr,
|
|
6836
6836
|
rn as pkgs,
|
|
6837
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
|
}
|