x-runtime-lib 0.8.39 → 0.8.41
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/composables/common/sandbox.d.ts +2 -1
- package/dist/index.js +256 -255
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as V, createElementBlock as J, renderSlot as L, unref as n, openBlock as v, createElementVNode as ne, computed as k, normalizeStyle as Q, ref as
|
|
2
|
-
import { globalObjects as
|
|
1
|
+
import { defineComponent as V, createElementBlock as J, renderSlot as L, unref as n, openBlock as v, createElementVNode as ne, computed as k, normalizeStyle as Q, ref as re, watchEffect as pe, watch as te, onBeforeMount as Ho, onUnmounted as Oe, createBlock as $, withCtx as I, createCommentVNode as ee, useTemplateRef as Zi, onMounted as qi, nextTick as Qi, h as oe, resolveComponent as z, createVNode as D, isRef as U, createSlots as Ln, renderList as Ko, useId as eo, withModifiers as jo, normalizeClass as Oo, toDisplayString as Uo, inject as le, provide as ae, readonly as Bn } from "vue";
|
|
2
|
+
import { globalObjects as he, waitUtil as to, useViewStack as no, eventBus as io, messageInfo as Xo, messageSuccess as Yo, messageWarning as oo, messageError as so, createAxios as Jo, openConfirmDlg as Zo, openPromptDlg as qo } from "x-essential-lib";
|
|
3
3
|
import { CameraHelper as ro, DirectionalLightHelper as Qo, PointLightHelper as es, SpotLightHelper as ts } from "three";
|
|
4
|
-
import { c as B, i as
|
|
4
|
+
import { c as B, i as se, q as Re, u as ns, r as lo, e as ao, a as is, b as os, d as ss, f as rs, g as ls, h as as, j as us, k as cs, l as uo, X as ps, Y as ms, K as ds, m as ys, n as fs, o as bs, I as hs } from "./vendor.dd29fg1n.js";
|
|
5
5
|
import { getErrorMessage as gs } from "x-error-lib";
|
|
6
6
|
import { useTheme as xs } from "vuetify";
|
|
7
7
|
import { useI18n as co } from "vue-i18n";
|
|
@@ -56,7 +56,7 @@ function Te(t, e) {
|
|
|
56
56
|
}
|
|
57
57
|
return i;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Ve(t, e) {
|
|
60
60
|
let i = t;
|
|
61
61
|
if (typeof i != "object")
|
|
62
62
|
return;
|
|
@@ -140,30 +140,30 @@ function $s(t) {
|
|
|
140
140
|
return t === "elementEvent" || t === "elementPropertyChangeEvent";
|
|
141
141
|
}
|
|
142
142
|
function En(t, e, i) {
|
|
143
|
-
const { i18n: o } =
|
|
143
|
+
const { i18n: o } = he;
|
|
144
144
|
let r = "";
|
|
145
145
|
return t && (r += t + " / "), e.forEach((s, a) => {
|
|
146
146
|
a > 0 && (r += " - "), i ? r += o.global.t(s) : r += s;
|
|
147
147
|
}), r;
|
|
148
148
|
}
|
|
149
149
|
function Hc(t, e) {
|
|
150
|
-
const { i18n: i } =
|
|
150
|
+
const { i18n: i } = he;
|
|
151
151
|
let o = "";
|
|
152
152
|
return t === "elementProperty" || (t === "referenceProperty" ? o = i.global.t("x-runtime-lib.reference") : t === "multipleRefProperty" ? o = i.global.t("x-runtime-lib.multipleRef") : t === "customProperty" ? o = i.global.t("x-runtime-lib.custom") : t === "elementSlotProperty" || t === "customSlotProperty" ? o = i.global.t("x-runtime-lib.slot") : console.assert(!1)), En(o, e, ws(t));
|
|
153
153
|
}
|
|
154
154
|
function Kc(t, e) {
|
|
155
|
-
const { i18n: i } =
|
|
155
|
+
const { i18n: i } = he;
|
|
156
156
|
let o = "";
|
|
157
157
|
return t === "elementMethod" || (t === "referenceMethod" ? o = i.global.t("x-runtime-lib.reference") : t === "multipleRefMethod" ? o = i.global.t("x-runtime-lib.multipleRef") : t === "customMethod" ? o = i.global.t("x-runtime-lib.custom") : t === "elementSlotMethod" || t === "customSlotMethod" ? o = i.global.t("x-runtime-lib.slot") : console.assert(!1)), En(o, e, Vs(t));
|
|
158
158
|
}
|
|
159
159
|
function jc(t, e) {
|
|
160
|
-
const { i18n: i } =
|
|
160
|
+
const { i18n: i } = he;
|
|
161
161
|
let o = "";
|
|
162
162
|
return t === "elementEvent" || (t === "referenceEvent" ? o = i.global.t("x-runtime-lib.reference") : t === "multipleRefEvent" ? o = i.global.t("x-runtime-lib.multipleRef") : t === "customEvent" ? o = i.global.t("x-runtime-lib.custom") : t === "elementPropertyChangeEvent" || t === "customPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.propertyChange") : t === "stateChangeEvent" ? o = i.global.t("x-runtime-lib.stateChange") : console.assert(!1)), En(o, e, $s(t));
|
|
163
163
|
}
|
|
164
164
|
const ze = {}, _ = (t) => {
|
|
165
165
|
ze[t.key] = t;
|
|
166
|
-
}, Is = ["position", "rotation", "scale"],
|
|
166
|
+
}, Is = ["position", "rotation", "scale"], xe = /* @__PURE__ */ V({
|
|
167
167
|
__name: "index",
|
|
168
168
|
props: {
|
|
169
169
|
position: {},
|
|
@@ -184,7 +184,7 @@ const ze = {}, _ = (t) => {
|
|
|
184
184
|
L(i.$slots, "default")
|
|
185
185
|
], 8, Is)) : L(i.$slots, "default", { key: 1 });
|
|
186
186
|
}
|
|
187
|
-
}),
|
|
187
|
+
}), X = /* @__PURE__ */ V({
|
|
188
188
|
__name: "index",
|
|
189
189
|
props: {
|
|
190
190
|
fitContent: { type: Boolean, default: !1 }
|
|
@@ -227,12 +227,12 @@ const ze = {}, _ = (t) => {
|
|
|
227
227
|
r ? typeof o == "object" ? s = JSON.stringify(o, null, 2) : (console.assert(!1), s = "{}") : s = o, t.setElementPropertyInner(e, i, s);
|
|
228
228
|
};
|
|
229
229
|
function l(t, e, i) {
|
|
230
|
-
const o = H(), r =
|
|
231
|
-
return
|
|
230
|
+
const o = H(), r = _e(), s = re();
|
|
231
|
+
return pe(() => {
|
|
232
232
|
let a = Ss(r, t.node, e, i);
|
|
233
233
|
o === "editor" && e[e.length - 1] === "readonly" && (a = !0), s.value = a;
|
|
234
234
|
}), te(s, (a, c) => {
|
|
235
|
-
|
|
235
|
+
se(a, c) || Cs(r, t.node, e, s.value, i);
|
|
236
236
|
}), { property: s };
|
|
237
237
|
}
|
|
238
238
|
function de(t) {
|
|
@@ -272,18 +272,18 @@ function de(t) {
|
|
|
272
272
|
"transform",
|
|
273
273
|
"scale",
|
|
274
274
|
"z"
|
|
275
|
-
]), p =
|
|
276
|
-
return
|
|
275
|
+
]), p = re([0, 0, 0]), u = re([0, 0, 0]), m = re([1, 1, 1]);
|
|
276
|
+
return pe(() => {
|
|
277
277
|
p.value = [e.value, i.value, o.value];
|
|
278
|
-
}),
|
|
278
|
+
}), pe(() => {
|
|
279
279
|
e.value = p.value[0], i.value = p.value[1], o.value = p.value[2];
|
|
280
|
-
}),
|
|
280
|
+
}), pe(() => {
|
|
281
281
|
u.value = [r.value, s.value, a.value];
|
|
282
|
-
}),
|
|
282
|
+
}), pe(() => {
|
|
283
283
|
r.value = u.value[0], s.value = u.value[1], a.value = u.value[2];
|
|
284
|
-
}),
|
|
284
|
+
}), pe(() => {
|
|
285
285
|
m.value = [c.value, d.value, y.value];
|
|
286
|
-
}),
|
|
286
|
+
}), pe(() => {
|
|
287
287
|
c.value = m.value[0], d.value = m.value[1], y.value = m.value[2];
|
|
288
288
|
}), { position: p, rotation: u, scale: m };
|
|
289
289
|
}
|
|
@@ -373,8 +373,8 @@ function Mn(t) {
|
|
|
373
373
|
}
|
|
374
374
|
return { paddingTop: e, paddingLeft: i, paddingBottom: o, paddingRight: r, applyPadding: s };
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
const e = H(), i =
|
|
376
|
+
function ye(t) {
|
|
377
|
+
const e = H(), i = Ce(), o = k(() => t.node.size?.width), r = k(() => t.node.size?.minWidth), s = k(() => t.node.size?.maxWidth), a = k(() => {
|
|
378
378
|
if (t.outer && e === "editor") {
|
|
379
379
|
const p = Zt(t.node.size?.height);
|
|
380
380
|
if (p)
|
|
@@ -421,7 +421,7 @@ const Ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
421
421
|
},
|
|
422
422
|
setup(t) {
|
|
423
423
|
const e = t, i = H(), { position: o, rotation: r, scale: s } = de(e), { property: a } = l(e, ["settings", "bottom"]), { property: c } = l(e, ["settings", "far"]), { property: d } = l(e, ["settings", "left"]), { property: y } = l(e, ["settings", "near"]), { property: p } = l(e, ["settings", "right"]), { property: u } = l(e, ["settings", "top"]);
|
|
424
|
-
return (m, b) => (v(), $(n(
|
|
424
|
+
return (m, b) => (v(), $(n(xe), {
|
|
425
425
|
position: n(o),
|
|
426
426
|
rotation: n(r),
|
|
427
427
|
scale: n(s)
|
|
@@ -456,7 +456,7 @@ const Ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
456
456
|
},
|
|
457
457
|
setup(t) {
|
|
458
458
|
const e = t, i = H(), { position: o, rotation: r, scale: s } = de(e), { property: a } = l(e, ["settings", "aspect"]), { property: c } = l(e, ["settings", "far"]), { property: d } = l(e, ["settings", "fov"]), { property: y } = l(e, ["settings", "near"]);
|
|
459
|
-
return (p, u) => (v(), $(n(
|
|
459
|
+
return (p, u) => (v(), $(n(xe), {
|
|
460
460
|
position: n(o),
|
|
461
461
|
rotation: n(r),
|
|
462
462
|
scale: n(s)
|
|
@@ -563,7 +563,7 @@ const Ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
563
563
|
"settings",
|
|
564
564
|
"intensity"
|
|
565
565
|
]);
|
|
566
|
-
return (y, p) => (v(), $(n(
|
|
566
|
+
return (y, p) => (v(), $(n(xe), {
|
|
567
567
|
position: n(o),
|
|
568
568
|
rotation: n(r),
|
|
569
569
|
scale: n(s)
|
|
@@ -593,7 +593,7 @@ const Ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
593
593
|
"settings",
|
|
594
594
|
"intensity"
|
|
595
595
|
]);
|
|
596
|
-
return (y, p) => (v(), $(n(
|
|
596
|
+
return (y, p) => (v(), $(n(xe), {
|
|
597
597
|
position: n(o),
|
|
598
598
|
rotation: n(r),
|
|
599
599
|
scale: n(s)
|
|
@@ -630,7 +630,7 @@ const Ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
630
630
|
"settings",
|
|
631
631
|
"intensity"
|
|
632
632
|
]);
|
|
633
|
-
return (u, m) => (v(), $(n(
|
|
633
|
+
return (u, m) => (v(), $(n(xe), {
|
|
634
634
|
position: n(o),
|
|
635
635
|
rotation: n(r),
|
|
636
636
|
scale: n(s)
|
|
@@ -672,7 +672,7 @@ const Ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
672
672
|
"settings",
|
|
673
673
|
"penumbra"
|
|
674
674
|
]);
|
|
675
|
-
return (b, h) => (v(), $(n(
|
|
675
|
+
return (b, h) => (v(), $(n(xe), {
|
|
676
676
|
position: n(o),
|
|
677
677
|
rotation: n(r),
|
|
678
678
|
scale: n(s)
|
|
@@ -711,7 +711,7 @@ const Us = /* @__PURE__ */ ve(js, [["render", Os]]), Xs = ["position", "rotation
|
|
|
711
711
|
},
|
|
712
712
|
setup(t) {
|
|
713
713
|
const e = t, i = H(), { position: o, rotation: r, scale: s } = de(e);
|
|
714
|
-
return (a, c) => (v(), $(n(
|
|
714
|
+
return (a, c) => (v(), $(n(xe), {
|
|
715
715
|
position: n(o),
|
|
716
716
|
rotation: n(r),
|
|
717
717
|
scale: n(s)
|
|
@@ -824,7 +824,7 @@ const ol = /* @__PURE__ */ V({
|
|
|
824
824
|
outer: { type: Boolean }
|
|
825
825
|
},
|
|
826
826
|
setup(t) {
|
|
827
|
-
const e = t, i =
|
|
827
|
+
const e = t, i = Ce(), o = Ne(), r = fe(), s = ke(), { width: a, minWidth: c, maxWidth: d, height: y, minHeight: p, maxHeight: u, applySize: m } = ye(e), { applyTitle: b } = ho(e), { applyXAxis: h } = go(e), { applyYAxis: g } = xo(e), { applyLegend: x } = fo(e), { applySeries: w } = bo(e), S = k(() => {
|
|
828
828
|
const C = {}, F = s.value.type;
|
|
829
829
|
return r === "page" ? F === "common" ? m(C) : console.assert(!1) : r === "comp" && F === "common" ? m(C) : console.assert(!1), C;
|
|
830
830
|
}), N = Zi("chart");
|
|
@@ -877,7 +877,7 @@ const ol = /* @__PURE__ */ V({
|
|
|
877
877
|
outer: { type: Boolean }
|
|
878
878
|
},
|
|
879
879
|
setup(t) {
|
|
880
|
-
const e = t, i =
|
|
880
|
+
const e = t, i = Ce(), o = Ne(), r = fe(), s = ke(), { width: a, minWidth: c, maxWidth: d, height: y, minHeight: p, maxHeight: u, applySize: m } = ye(e), { applyTitle: b } = ho(e), { applyXAxis: h } = go(e), { applyYAxis: g } = xo(e), { applyLegend: x } = fo(e), { applySeries: w } = bo(e), S = k(() => {
|
|
881
881
|
const C = {}, F = s.value.type;
|
|
882
882
|
return r === "page" ? F === "common" ? m(C) : console.assert(!1) : r === "comp" && F === "common" ? m(C) : console.assert(!1), C;
|
|
883
883
|
}), N = Zi("chart");
|
|
@@ -935,35 +935,38 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
935
935
|
outer: { type: Boolean }
|
|
936
936
|
},
|
|
937
937
|
setup(t) {
|
|
938
|
-
const { t: e } = co(), i = t, o =
|
|
939
|
-
Fo(o), Do(i.refContext.compId, o);
|
|
940
|
-
|
|
941
|
-
const
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
938
|
+
const { t: e } = co(), i = t, o = re(), r = _e();
|
|
939
|
+
Fo(o, r), Do(i.refContext.compId, o);
|
|
940
|
+
const { applySize: s } = ye(i), a = k(() => {
|
|
941
|
+
const y = {};
|
|
942
|
+
return o.value?.type === "common" && s(y), y;
|
|
943
|
+
});
|
|
944
|
+
function c(y) {
|
|
945
|
+
const p = ze[y.basic.key];
|
|
946
|
+
if (!p)
|
|
947
|
+
return console.assert(!1, `element not found key=${y.basic.key}`), oe("div", `element not found key=${y.basic.key}`);
|
|
948
|
+
const u = [];
|
|
949
|
+
p.leaf || y.children?.forEach((b) => {
|
|
950
|
+
u.push(c(b));
|
|
947
951
|
});
|
|
948
|
-
let
|
|
949
|
-
return
|
|
952
|
+
let m;
|
|
953
|
+
return y.reference && y.reference.comp && (m = {
|
|
950
954
|
parent: i.refContext,
|
|
951
|
-
compId:
|
|
952
|
-
}),
|
|
955
|
+
compId: y.reference.comp
|
|
956
|
+
}), oe(p.comp, { refContext: m, node: y }, { default: () => u });
|
|
953
957
|
}
|
|
954
|
-
const
|
|
958
|
+
const d = () => {
|
|
955
959
|
if (yo(i.refContext))
|
|
956
|
-
return
|
|
960
|
+
return oe("div", e("x-runtime-lib.circularRef"));
|
|
957
961
|
if (!o.value)
|
|
958
|
-
return
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}
|
|
964
|
-
}
|
|
962
|
+
return oe("div");
|
|
963
|
+
const y = [];
|
|
964
|
+
if (o.value.view.nodes.forEach((u) => {
|
|
965
|
+
y.push(c(u));
|
|
966
|
+
}), o.value.type === "common")
|
|
967
|
+
return oe("div", { style: a }, { default: () => y });
|
|
965
968
|
};
|
|
966
|
-
return (
|
|
969
|
+
return (y, p) => (v(), $(d));
|
|
967
970
|
}
|
|
968
971
|
}), cl = /* @__PURE__ */ V({
|
|
969
972
|
__name: "index",
|
|
@@ -973,49 +976,47 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
973
976
|
},
|
|
974
977
|
setup(t) {
|
|
975
978
|
const e = t, { property: i } = l(e, ["settings", "open"]);
|
|
976
|
-
return (o, r) => (v(), $(n(
|
|
979
|
+
return (o, r) => (v(), $(n(X), null, {
|
|
977
980
|
default: I(() => [
|
|
978
981
|
n(i) ? L(o.$slots, "default", { key: 0 }) : ee("", !0)
|
|
979
982
|
]),
|
|
980
983
|
_: 3
|
|
981
984
|
}));
|
|
982
985
|
}
|
|
983
|
-
}),
|
|
986
|
+
}), be = /* @__PURE__ */ V({
|
|
984
987
|
__name: "index",
|
|
985
988
|
props: {
|
|
986
989
|
refContext: {},
|
|
987
990
|
state: {}
|
|
988
991
|
},
|
|
989
992
|
setup(t) {
|
|
990
|
-
const { t: e } = co(), i = t, o =
|
|
991
|
-
Fo(o), Do(i.refContext.compId, o);
|
|
992
|
-
function
|
|
993
|
-
const
|
|
994
|
-
if (!
|
|
995
|
-
return console.assert(!1, `element not found key=${
|
|
996
|
-
const
|
|
997
|
-
|
|
998
|
-
|
|
993
|
+
const { t: e } = co(), i = t, o = re(), r = _e();
|
|
994
|
+
Fo(o, r), Do(i.refContext.compId, o);
|
|
995
|
+
function s(c) {
|
|
996
|
+
const d = ze[c.basic.key];
|
|
997
|
+
if (!d)
|
|
998
|
+
return console.assert(!1, `element not found key=${c.basic.key}`), oe("div", `element not found key=${c.basic.key}`);
|
|
999
|
+
const y = [];
|
|
1000
|
+
d.leaf || c.children?.forEach((u) => {
|
|
1001
|
+
y.push(s(u));
|
|
999
1002
|
});
|
|
1000
|
-
let
|
|
1001
|
-
return
|
|
1003
|
+
let p;
|
|
1004
|
+
return c.reference && c.reference.comp && (p = {
|
|
1002
1005
|
parent: i.refContext,
|
|
1003
|
-
compId:
|
|
1004
|
-
}),
|
|
1006
|
+
compId: c.reference.comp
|
|
1007
|
+
}), oe(d.comp, { refContext: p, node: c }, { default: () => y });
|
|
1005
1008
|
}
|
|
1006
|
-
const
|
|
1009
|
+
const a = () => {
|
|
1007
1010
|
if (yo(i.refContext))
|
|
1008
|
-
return
|
|
1011
|
+
return oe("div", e("x-runtime-lib.circularRef"));
|
|
1009
1012
|
if (!o.value)
|
|
1010
|
-
return
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
}), c;
|
|
1016
|
-
}
|
|
1013
|
+
return oe("div");
|
|
1014
|
+
const c = [];
|
|
1015
|
+
return o.value.view.nodes.forEach((d) => {
|
|
1016
|
+
c.push(s(d));
|
|
1017
|
+
}), c;
|
|
1017
1018
|
};
|
|
1018
|
-
return (
|
|
1019
|
+
return (c, d) => (v(), $(a));
|
|
1019
1020
|
}
|
|
1020
1021
|
}), pl = /* @__PURE__ */ V({
|
|
1021
1022
|
__name: "index",
|
|
@@ -1056,7 +1057,7 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
1056
1057
|
outer: { type: Boolean }
|
|
1057
1058
|
},
|
|
1058
1059
|
setup(t) {
|
|
1059
|
-
const e = t, i = H(), o =
|
|
1060
|
+
const e = t, i = H(), o = _e(), { property: r } = l(e, [
|
|
1060
1061
|
"settings",
|
|
1061
1062
|
"addIcon",
|
|
1062
1063
|
"append"
|
|
@@ -1072,14 +1073,14 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
1072
1073
|
"readonly"
|
|
1073
1074
|
]), { property: S } = l(e, ["settings", "ripple"]), { property: N } = l(e, ["settings", "size"]), { property: W } = l(e, ["settings", "stacked"]), { property: G } = l(e, ["settings", "text"]), { theme: M } = R(), { property: E } = l(e, ["settings", "variant"]), { property: C } = l(e, ["size", "width"]), F = (Z) => {
|
|
1074
1075
|
q(i) && (o.setVariable("__pointerPosX__", Z.clientX), o.setVariable("__pointerPosY__", Z.clientY), o.callFunction("__triggerEventV1__", [
|
|
1075
|
-
|
|
1076
|
+
me("elementEvent", e.node.basic.id, "click")
|
|
1076
1077
|
]));
|
|
1077
1078
|
};
|
|
1078
1079
|
return (Z, ie) => {
|
|
1079
|
-
const
|
|
1080
|
-
return v(), $(n(
|
|
1080
|
+
const ue = z("v-btn");
|
|
1081
|
+
return v(), $(n(X), null, {
|
|
1081
1082
|
default: I(() => [
|
|
1082
|
-
D(
|
|
1083
|
+
D(ue, {
|
|
1083
1084
|
"append-icon": n(r),
|
|
1084
1085
|
block: n(s),
|
|
1085
1086
|
color: n(c),
|
|
@@ -1284,7 +1285,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1284
1285
|
const b = z("v-chip-group");
|
|
1285
1286
|
return v(), $(b, {
|
|
1286
1287
|
modelValue: n(p),
|
|
1287
|
-
"onUpdate:modelValue": m[0] || (m[0] = (h) =>
|
|
1288
|
+
"onUpdate:modelValue": m[0] || (m[0] = (h) => U(p) ? p.value = h : null),
|
|
1288
1289
|
column: n(i),
|
|
1289
1290
|
direction: n(o),
|
|
1290
1291
|
disabled: n(r),
|
|
@@ -1308,7 +1309,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1308
1309
|
outer: { type: Boolean }
|
|
1309
1310
|
},
|
|
1310
1311
|
setup(t) {
|
|
1311
|
-
const e = t, i =
|
|
1312
|
+
const e = t, i = fe(), o = ke(), { applySize: r } = ye(e), s = k(() => {
|
|
1312
1313
|
const h = {}, g = o.value.type;
|
|
1313
1314
|
return i === "page" ? g === "common" ? r(h) : console.assert(!1) : i === "comp" && g === "common" ? r(h) : console.assert(!1), h;
|
|
1314
1315
|
}), { property: a } = l(e, [
|
|
@@ -1335,7 +1336,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1335
1336
|
]), { theme: b } = R();
|
|
1336
1337
|
return (h, g) => {
|
|
1337
1338
|
const x = z("v-color-picker");
|
|
1338
|
-
return v(), $(n(
|
|
1339
|
+
return v(), $(n(X), null, {
|
|
1339
1340
|
default: I(() => [
|
|
1340
1341
|
D(x, {
|
|
1341
1342
|
disabled: n(a),
|
|
@@ -1375,11 +1376,11 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1375
1376
|
]), { theme: c } = R(), { property: d } = l(e, ["settings", "value"]);
|
|
1376
1377
|
return (y, p) => {
|
|
1377
1378
|
const u = z("v-combobox");
|
|
1378
|
-
return v(), $(n(
|
|
1379
|
+
return v(), $(n(X), null, {
|
|
1379
1380
|
default: I(() => [
|
|
1380
1381
|
D(u, {
|
|
1381
1382
|
modelValue: n(d),
|
|
1382
|
-
"onUpdate:modelValue": p[0] || (p[0] = (m) =>
|
|
1383
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => U(d) ? d.value = m : null),
|
|
1383
1384
|
"hide-details": n(i),
|
|
1384
1385
|
label: n(o),
|
|
1385
1386
|
placeholder: n(r),
|
|
@@ -1399,10 +1400,10 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1399
1400
|
outer: { type: Boolean }
|
|
1400
1401
|
},
|
|
1401
1402
|
setup(t) {
|
|
1402
|
-
const e = t, i =
|
|
1403
|
+
const e = t, i = fe(), o = ke(), { property: r } = l(e, [
|
|
1403
1404
|
"settings",
|
|
1404
1405
|
"backgroundColor"
|
|
1405
|
-
]), { color: s } = K(r), { applySize: a } =
|
|
1406
|
+
]), { color: s } = K(r), { applySize: a } = ye(e), { applyMargin: c } = Nn(e), { applyPadding: d } = Mn(e), { applyBorder: y } = Rn(e), p = k(() => {
|
|
1406
1407
|
const u = {}, m = o.value.type;
|
|
1407
1408
|
return i === "page" ? m === "common" ? (a(u), c(u), d(u), y(u), s.value && (u.backgroundColor = s.value)) : console.assert(!1) : i === "comp" && m === "common" ? (a(u), c(u), d(u), y(u), s.value && (u.backgroundColor = s.value)) : console.assert(!1), u;
|
|
1408
1409
|
});
|
|
@@ -1440,7 +1441,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1440
1441
|
});
|
|
1441
1442
|
return (h, g) => {
|
|
1442
1443
|
const x = z("v-data-table");
|
|
1443
|
-
return v(), $(n(
|
|
1444
|
+
return v(), $(n(X), null, {
|
|
1444
1445
|
default: I(() => [
|
|
1445
1446
|
D(x, {
|
|
1446
1447
|
density: n(i),
|
|
@@ -1458,7 +1459,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1458
1459
|
Ko(b.value, (w) => ({
|
|
1459
1460
|
name: `item.${w.column}`,
|
|
1460
1461
|
fn: I(({ value: S }) => [
|
|
1461
|
-
D(n(
|
|
1462
|
+
D(n(be), {
|
|
1462
1463
|
"ref-context": { compId: w.comp },
|
|
1463
1464
|
state: { value: S }
|
|
1464
1465
|
}, null, 8, ["ref-context", "state"])
|
|
@@ -1475,7 +1476,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1475
1476
|
setup(t) {
|
|
1476
1477
|
return (e, i) => {
|
|
1477
1478
|
const o = z("v-date-picker");
|
|
1478
|
-
return v(), $(n(
|
|
1479
|
+
return v(), $(n(X), null, {
|
|
1479
1480
|
default: I(() => [
|
|
1480
1481
|
D(o)
|
|
1481
1482
|
]),
|
|
@@ -1490,7 +1491,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1490
1491
|
outer: { type: Boolean }
|
|
1491
1492
|
},
|
|
1492
1493
|
setup(t) {
|
|
1493
|
-
const e = t, i = H(), o =
|
|
1494
|
+
const e = t, i = H(), o = _e(), r = k(() => e.node.basic?.id), { open: s } = no(`runtimeDlg/${eo()}`);
|
|
1494
1495
|
return vo(o, e, (c) => {
|
|
1495
1496
|
if (!q(i))
|
|
1496
1497
|
return;
|
|
@@ -1500,7 +1501,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1500
1501
|
const y = z("v-dialog");
|
|
1501
1502
|
return v(), $(y, {
|
|
1502
1503
|
modelValue: n(s),
|
|
1503
|
-
"onUpdate:modelValue": d[0] || (d[0] = (p) =>
|
|
1504
|
+
"onUpdate:modelValue": d[0] || (d[0] = (p) => U(s) ? s.value = p : null),
|
|
1504
1505
|
attach: "#dialogContainer"
|
|
1505
1506
|
}, {
|
|
1506
1507
|
activator: I(() => [
|
|
@@ -1562,7 +1563,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1562
1563
|
outer: { type: Boolean }
|
|
1563
1564
|
},
|
|
1564
1565
|
setup(t) {
|
|
1565
|
-
const e = t, i =
|
|
1566
|
+
const e = t, i = Ce(), o = fe(), r = ke(), { applySize: s } = ye(e), { applyMargin: a } = Nn(e), { applyPadding: c } = Mn(e), { applyBorder: d } = Rn(e), { property: y } = l(e, [
|
|
1566
1567
|
"settings",
|
|
1567
1568
|
"backgroundColor"
|
|
1568
1569
|
]), { color: p } = K(y), u = (b) => {
|
|
@@ -1592,7 +1593,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1592
1593
|
outer: { type: Boolean }
|
|
1593
1594
|
},
|
|
1594
1595
|
setup(t) {
|
|
1595
|
-
const e = t, i =
|
|
1596
|
+
const e = t, i = fe(), o = ke(), { applySize: r } = ye(e), { property: s } = l(e, ["settings", "grow"]), { property: a } = l(e, ["settings", "shrink"]), c = k(() => {
|
|
1596
1597
|
const d = {}, y = o.value.type;
|
|
1597
1598
|
return i === "page" ? y === "common" ? (r(d), d.flexGrow = s.value ? 1 : 0, d.flexShrink = a.value ? 1 : 0) : console.assert(!1) : i === "comp" && y === "common" ? (r(d), d.flexGrow = s.value ? 1 : 0, d.flexShrink = a.value ? 1 : 0) : console.assert(!1), d;
|
|
1598
1599
|
});
|
|
@@ -1609,25 +1610,25 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1609
1610
|
outer: { type: Boolean }
|
|
1610
1611
|
},
|
|
1611
1612
|
setup(t) {
|
|
1612
|
-
const e = t, i = H(), o =
|
|
1613
|
+
const e = t, i = H(), o = fe(), r = ke(), s = _e(), { property: a } = l(e, ["settings", "valid"]), { property: c } = l(e, [
|
|
1613
1614
|
"settings",
|
|
1614
1615
|
"fastFail"
|
|
1615
1616
|
]), { property: d } = l(e, [
|
|
1616
1617
|
"settings",
|
|
1617
1618
|
"backgroundColor"
|
|
1618
|
-
]), { color: y } = K(d), { applySize: p } =
|
|
1619
|
+
]), { color: y } = K(d), { applySize: p } = ye(e), { applyMargin: u } = Nn(e), { applyPadding: m } = Mn(e), { applyBorder: b } = Rn(e), h = k(() => {
|
|
1619
1620
|
const x = {}, w = r.value.type;
|
|
1620
1621
|
return o === "page" ? w === "common" ? (p(x), u(x), m(x), b(x), y.value && (x.backgroundColor = y.value)) : console.assert(!1) : o === "comp" && w === "common" ? (p(x), u(x), m(x), b(x), y.value && (x.backgroundColor = y.value)) : console.assert(!1), x;
|
|
1621
1622
|
}), g = () => {
|
|
1622
1623
|
q(i) && s.callFunction("__triggerEventV1__", [
|
|
1623
|
-
|
|
1624
|
+
me("elementEvent", e.node.basic.id, "submit")
|
|
1624
1625
|
]);
|
|
1625
1626
|
};
|
|
1626
1627
|
return (x, w) => {
|
|
1627
1628
|
const S = z("v-form");
|
|
1628
1629
|
return v(), $(S, {
|
|
1629
1630
|
modelValue: n(a),
|
|
1630
|
-
"onUpdate:modelValue": w[0] || (w[0] = (N) =>
|
|
1631
|
+
"onUpdate:modelValue": w[0] || (w[0] = (N) => U(a) ? a.value = N : null),
|
|
1631
1632
|
"fast-fail": n(c),
|
|
1632
1633
|
style: Q(h.value),
|
|
1633
1634
|
onSubmit: jo(g, ["prevent"])
|
|
@@ -1668,7 +1669,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1668
1669
|
outer: { type: Boolean }
|
|
1669
1670
|
},
|
|
1670
1671
|
setup(t) {
|
|
1671
|
-
const e = t, i = H(), o =
|
|
1672
|
+
const e = t, i = H(), o = _e(), r = re(0), s = re(0), a = k(() => [r.value, s.value]), c = k(() => e.node.basic?.id), { open: d } = no(`runtimeMenu/${eo()}`);
|
|
1672
1673
|
return vo(o, e, (p) => {
|
|
1673
1674
|
if (!q(i))
|
|
1674
1675
|
return;
|
|
@@ -1678,7 +1679,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1678
1679
|
const m = z("v-menu");
|
|
1679
1680
|
return v(), $(m, {
|
|
1680
1681
|
modelValue: n(d),
|
|
1681
|
-
"onUpdate:modelValue": u[0] || (u[0] = (b) =>
|
|
1682
|
+
"onUpdate:modelValue": u[0] || (u[0] = (b) => U(d) ? d.value = b : null),
|
|
1682
1683
|
attach: "menuContainer",
|
|
1683
1684
|
"location-strategy": "connected",
|
|
1684
1685
|
scrim: "transparent",
|
|
@@ -1740,12 +1741,12 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1740
1741
|
"singleLine"
|
|
1741
1742
|
]), { property: W } = l(e, ["settings", "step"]), { property: G } = l(e, ["settings", "suffix"]), { theme: M } = R(), { property: E } = l(e, ["settings", "value"]), { property: C } = l(e, ["settings", "variant"]), { property: F } = l(e, ["size", "width"]);
|
|
1742
1743
|
return (Z, ie) => {
|
|
1743
|
-
const
|
|
1744
|
-
return v(), $(n(
|
|
1744
|
+
const ue = z("v-number-input");
|
|
1745
|
+
return v(), $(n(X), null, {
|
|
1745
1746
|
default: I(() => [
|
|
1746
|
-
D(
|
|
1747
|
+
D(ue, {
|
|
1747
1748
|
modelValue: n(E),
|
|
1748
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (
|
|
1749
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (ce) => U(E) ? E.value = ce : null),
|
|
1749
1750
|
"append-icon": n(i),
|
|
1750
1751
|
"append-inner-icon": n(o),
|
|
1751
1752
|
clearable: n(r),
|
|
@@ -1794,11 +1795,11 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1794
1795
|
});
|
|
1795
1796
|
return (h, g) => {
|
|
1796
1797
|
const x = z("v-pagination");
|
|
1797
|
-
return v(), $(n(
|
|
1798
|
+
return v(), $(n(X), null, {
|
|
1798
1799
|
default: I(() => [
|
|
1799
1800
|
D(x, {
|
|
1800
1801
|
modelValue: n(u),
|
|
1801
|
-
"onUpdate:modelValue": g[0] || (g[0] = (w) =>
|
|
1802
|
+
"onUpdate:modelValue": g[0] || (g[0] = (w) => U(u) ? u.value = w : null),
|
|
1802
1803
|
density: n(o),
|
|
1803
1804
|
disabled: n(r),
|
|
1804
1805
|
length: n(s),
|
|
@@ -1861,11 +1862,11 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1861
1862
|
]), { theme: c } = R(), { property: d } = l(e, ["settings", "value"]);
|
|
1862
1863
|
return (y, p) => {
|
|
1863
1864
|
const u = z("v-radio-group");
|
|
1864
|
-
return v(), $(n(
|
|
1865
|
+
return v(), $(n(X), null, {
|
|
1865
1866
|
default: I(() => [
|
|
1866
1867
|
D(u, {
|
|
1867
1868
|
modelValue: n(d),
|
|
1868
|
-
"onUpdate:modelValue": p[0] || (p[0] = (m) =>
|
|
1869
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => U(d) ? d.value = m : null),
|
|
1869
1870
|
density: n(i),
|
|
1870
1871
|
direction: n(o),
|
|
1871
1872
|
disabled: n(r),
|
|
@@ -1948,7 +1949,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1948
1949
|
});
|
|
1949
1950
|
return (E, C) => {
|
|
1950
1951
|
const F = z("v-range-slider");
|
|
1951
|
-
return v(), $(n(
|
|
1952
|
+
return v(), $(n(X), {
|
|
1952
1953
|
modelValue: M.value,
|
|
1953
1954
|
"onUpdate:modelValue": C[1] || (C[1] = (Z) => M.value = Z)
|
|
1954
1955
|
}, {
|
|
@@ -1999,11 +2000,11 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1999
2000
|
]), { theme: y } = R(), { property: p } = l(e, ["settings", "value"]);
|
|
2000
2001
|
return (u, m) => {
|
|
2001
2002
|
const b = z("v-rating");
|
|
2002
|
-
return v(), $(n(
|
|
2003
|
+
return v(), $(n(X), { "fit-content": !0 }, {
|
|
2003
2004
|
default: I(() => [
|
|
2004
2005
|
D(b, {
|
|
2005
2006
|
modelValue: n(p),
|
|
2006
|
-
"onUpdate:modelValue": m[0] || (m[0] = (h) =>
|
|
2007
|
+
"onUpdate:modelValue": m[0] || (m[0] = (h) => U(p) ? p.value = h : null),
|
|
2007
2008
|
clearable: n(i),
|
|
2008
2009
|
density: n(o),
|
|
2009
2010
|
disabled: n(r),
|
|
@@ -2040,11 +2041,11 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
2040
2041
|
]), { theme: c } = R(), { property: d } = l(e, ["settings", "value"]);
|
|
2041
2042
|
return (y, p) => {
|
|
2042
2043
|
const u = z("v-select");
|
|
2043
|
-
return v(), $(n(
|
|
2044
|
+
return v(), $(n(X), null, {
|
|
2044
2045
|
default: I(() => [
|
|
2045
2046
|
D(u, {
|
|
2046
2047
|
modelValue: n(d),
|
|
2047
|
-
"onUpdate:modelValue": p[0] || (p[0] = (m) =>
|
|
2048
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => U(d) ? d.value = m : null),
|
|
2048
2049
|
"hide-details": n(i),
|
|
2049
2050
|
label: n(o),
|
|
2050
2051
|
placeholder: n(r),
|
|
@@ -2101,28 +2102,28 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
2101
2102
|
]), { property: G } = l(e, ["settings", "ticks"]), M = k(() => {
|
|
2102
2103
|
if (!G.value)
|
|
2103
2104
|
return;
|
|
2104
|
-
const
|
|
2105
|
+
const ce = {};
|
|
2105
2106
|
for (const { value: Me, label: Jt } of G.value)
|
|
2106
|
-
|
|
2107
|
-
if (!uo(
|
|
2108
|
-
return
|
|
2107
|
+
ce[Me] = Jt;
|
|
2108
|
+
if (!uo(ce))
|
|
2109
|
+
return ce;
|
|
2109
2110
|
}), { property: E } = l(e, [
|
|
2110
2111
|
"settings",
|
|
2111
2112
|
"tickSize"
|
|
2112
2113
|
]), { property: C } = l(e, [
|
|
2113
2114
|
"settings",
|
|
2114
2115
|
"trackColor"
|
|
2115
|
-
]), { color: F } = K(C), { property: Z } = l(e, ["settings", "value"]), { property: ie } = l(e, ["slots", "append"]), { property:
|
|
2116
|
+
]), { color: F } = K(C), { property: Z } = l(e, ["settings", "value"]), { property: ie } = l(e, ["slots", "append"]), { property: ue } = l(e, [
|
|
2116
2117
|
"slots",
|
|
2117
2118
|
"prepend"
|
|
2118
2119
|
]);
|
|
2119
|
-
return (
|
|
2120
|
+
return (ce, Me) => {
|
|
2120
2121
|
const Jt = z("v-slider");
|
|
2121
|
-
return v(), $(n(
|
|
2122
|
+
return v(), $(n(X), null, {
|
|
2122
2123
|
default: I(() => [
|
|
2123
2124
|
D(Jt, {
|
|
2124
2125
|
modelValue: n(Z),
|
|
2125
|
-
"onUpdate:modelValue": Me[0] || (Me[0] = (Go) =>
|
|
2126
|
+
"onUpdate:modelValue": Me[0] || (Me[0] = (Go) => U(Z) ? Z.value = Go : null),
|
|
2126
2127
|
color: n(o),
|
|
2127
2128
|
direction: n(r),
|
|
2128
2129
|
disabled: n(s),
|
|
@@ -2145,18 +2146,18 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
2145
2146
|
n(ie) ? {
|
|
2146
2147
|
name: "append",
|
|
2147
2148
|
fn: I(() => [
|
|
2148
|
-
D(n(
|
|
2149
|
+
D(n(be), {
|
|
2149
2150
|
"ref-context": { compId: n(ie) },
|
|
2150
2151
|
state: {}
|
|
2151
2152
|
}, null, 8, ["ref-context"])
|
|
2152
2153
|
]),
|
|
2153
2154
|
key: "0"
|
|
2154
2155
|
} : void 0,
|
|
2155
|
-
n(
|
|
2156
|
+
n(ue) ? {
|
|
2156
2157
|
name: "prepend",
|
|
2157
2158
|
fn: I(() => [
|
|
2158
|
-
D(n(
|
|
2159
|
-
"ref-context": { compId: n(
|
|
2159
|
+
D(n(be), {
|
|
2160
|
+
"ref-context": { compId: n(ue) },
|
|
2160
2161
|
state: {}
|
|
2161
2162
|
}, null, 8, ["ref-context"])
|
|
2162
2163
|
]),
|
|
@@ -2183,7 +2184,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
2183
2184
|
const c = z("v-stepper");
|
|
2184
2185
|
return v(), $(c, {
|
|
2185
2186
|
modelValue: n(r),
|
|
2186
|
-
"onUpdate:modelValue": a[0] || (a[0] = (d) =>
|
|
2187
|
+
"onUpdate:modelValue": a[0] || (a[0] = (d) => U(r) ? r.value = d : null),
|
|
2187
2188
|
"hide-actions": n(i),
|
|
2188
2189
|
theme: n(o)
|
|
2189
2190
|
}, {
|
|
@@ -2272,11 +2273,11 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2272
2273
|
]), { property: c } = l(e, ["settings", "inline"]), { property: d } = l(e, ["settings", "inset"]), { property: y } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "loading"]), { theme: u } = R(), { property: m } = l(e, ["settings", "value"]);
|
|
2273
2274
|
return (b, h) => {
|
|
2274
2275
|
const g = z("v-switch");
|
|
2275
|
-
return v(), $(n(
|
|
2276
|
+
return v(), $(n(X), { "fit-content": !0 }, {
|
|
2276
2277
|
default: I(() => [
|
|
2277
2278
|
D(g, {
|
|
2278
2279
|
modelValue: n(m),
|
|
2279
|
-
"onUpdate:modelValue": h[0] || (h[0] = (x) =>
|
|
2280
|
+
"onUpdate:modelValue": h[0] || (h[0] = (x) => U(m) ? m.value = x : null),
|
|
2280
2281
|
density: n(i),
|
|
2281
2282
|
direction: n(o),
|
|
2282
2283
|
disabled: n(r),
|
|
@@ -2306,7 +2307,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2306
2307
|
});
|
|
2307
2308
|
return (c, d) => {
|
|
2308
2309
|
const y = z("v-tab");
|
|
2309
|
-
return v(), $(n(
|
|
2310
|
+
return v(), $(n(X), { "fit-content": !0 }, {
|
|
2310
2311
|
default: I(() => [
|
|
2311
2312
|
D(y, {
|
|
2312
2313
|
style: Q(a.value),
|
|
@@ -2367,7 +2368,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2367
2368
|
const C = z("v-tabs");
|
|
2368
2369
|
return v(), $(C, {
|
|
2369
2370
|
modelValue: n(G),
|
|
2370
|
-
"onUpdate:modelValue": E[0] || (E[0] = (F) =>
|
|
2371
|
+
"onUpdate:modelValue": E[0] || (E[0] = (F) => U(G) ? G.value = F : null),
|
|
2371
2372
|
"align-tabs": n(i),
|
|
2372
2373
|
"bg-color": n(r),
|
|
2373
2374
|
"center-active": n(s),
|
|
@@ -2399,7 +2400,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2399
2400
|
outer: { type: Boolean }
|
|
2400
2401
|
},
|
|
2401
2402
|
setup(t) {
|
|
2402
|
-
const e = t, i =
|
|
2403
|
+
const e = t, i = Ce(), { property: o } = l(e, ["settings", "align"]), { property: r } = l(e, [
|
|
2403
2404
|
"settings",
|
|
2404
2405
|
"decoration"
|
|
2405
2406
|
]), { property: s } = l(e, [
|
|
@@ -2441,11 +2442,11 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2441
2442
|
]), { theme: h } = R(), { property: g } = l(e, ["settings", "value"]), { property: x } = l(e, ["settings", "variant"]);
|
|
2442
2443
|
return (w, S) => {
|
|
2443
2444
|
const N = z("v-textarea");
|
|
2444
|
-
return v(), $(n(
|
|
2445
|
+
return v(), $(n(X), null, {
|
|
2445
2446
|
default: I(() => [
|
|
2446
2447
|
D(N, {
|
|
2447
2448
|
modelValue: n(g),
|
|
2448
|
-
"onUpdate:modelValue": S[0] || (S[0] = (W) =>
|
|
2449
|
+
"onUpdate:modelValue": S[0] || (S[0] = (W) => U(g) ? g.value = W : null),
|
|
2449
2450
|
"auto-grow": n(i),
|
|
2450
2451
|
clearable: n(o),
|
|
2451
2452
|
density: n(r),
|
|
@@ -2517,12 +2518,12 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2517
2518
|
"prependInner"
|
|
2518
2519
|
]);
|
|
2519
2520
|
return (Z, ie) => {
|
|
2520
|
-
const
|
|
2521
|
-
return v(), $(n(
|
|
2521
|
+
const ue = z("v-text-field");
|
|
2522
|
+
return v(), $(n(X), null, {
|
|
2522
2523
|
default: I(() => [
|
|
2523
|
-
D(
|
|
2524
|
+
D(ue, {
|
|
2524
2525
|
modelValue: n(W),
|
|
2525
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (
|
|
2526
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (ce) => U(W) ? W.value = ce : null),
|
|
2526
2527
|
"append-icon": n(i),
|
|
2527
2528
|
"append-inner-icon": n(o),
|
|
2528
2529
|
autofocus: n(r),
|
|
@@ -2546,7 +2547,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2546
2547
|
n(M) ? {
|
|
2547
2548
|
name: "append",
|
|
2548
2549
|
fn: I(() => [
|
|
2549
|
-
D(n(
|
|
2550
|
+
D(n(be), {
|
|
2550
2551
|
"ref-context": { compId: n(M) },
|
|
2551
2552
|
state: {}
|
|
2552
2553
|
}, null, 8, ["ref-context"])
|
|
@@ -2556,7 +2557,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2556
2557
|
n(E) ? {
|
|
2557
2558
|
name: "append-inner",
|
|
2558
2559
|
fn: I(() => [
|
|
2559
|
-
D(n(
|
|
2560
|
+
D(n(be), {
|
|
2560
2561
|
"ref-context": { compId: n(E) },
|
|
2561
2562
|
state: {}
|
|
2562
2563
|
}, null, 8, ["ref-context"])
|
|
@@ -2566,7 +2567,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2566
2567
|
n(C) ? {
|
|
2567
2568
|
name: "prepend",
|
|
2568
2569
|
fn: I(() => [
|
|
2569
|
-
D(n(
|
|
2570
|
+
D(n(be), {
|
|
2570
2571
|
"ref-context": { compId: n(C) },
|
|
2571
2572
|
state: {}
|
|
2572
2573
|
}, null, 8, ["ref-context"])
|
|
@@ -2576,7 +2577,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2576
2577
|
n(F) ? {
|
|
2577
2578
|
name: "prepend-inner",
|
|
2578
2579
|
fn: I(() => [
|
|
2579
|
-
D(n(
|
|
2580
|
+
D(n(be), {
|
|
2580
2581
|
"ref-context": { compId: n(F) },
|
|
2581
2582
|
state: {}
|
|
2582
2583
|
}, null, 8, ["ref-context"])
|
|
@@ -2684,7 +2685,7 @@ const la = /* @__PURE__ */ ve(sa, [["render", ra]]), aa = /* @__PURE__ */ V({
|
|
|
2684
2685
|
const m = z("v-window");
|
|
2685
2686
|
return v(), $(m, {
|
|
2686
2687
|
modelValue: n(y),
|
|
2687
|
-
"onUpdate:modelValue": u[0] || (u[0] = (b) =>
|
|
2688
|
+
"onUpdate:modelValue": u[0] || (u[0] = (b) => U(y) ? y.value = b : null),
|
|
2688
2689
|
continuous: n(i),
|
|
2689
2690
|
direction: n(r),
|
|
2690
2691
|
disabled: n(o),
|
|
@@ -2772,7 +2773,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2772
2773
|
]
|
|
2773
2774
|
}
|
|
2774
2775
|
]
|
|
2775
|
-
}, da = B(j),
|
|
2776
|
+
}, da = B(j), $e = {
|
|
2776
2777
|
key: "border",
|
|
2777
2778
|
name: "x-runtime-lib.border",
|
|
2778
2779
|
children: [
|
|
@@ -2851,7 +2852,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2851
2852
|
defaultArray: []
|
|
2852
2853
|
}
|
|
2853
2854
|
]
|
|
2854
|
-
},
|
|
2855
|
+
}, Ie = {
|
|
2855
2856
|
key: "margin",
|
|
2856
2857
|
name: "x-runtime-lib.margin",
|
|
2857
2858
|
children: [
|
|
@@ -2884,7 +2885,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2884
2885
|
default: ""
|
|
2885
2886
|
}
|
|
2886
2887
|
]
|
|
2887
|
-
},
|
|
2888
|
+
}, Se = {
|
|
2888
2889
|
key: "padding",
|
|
2889
2890
|
name: "x-runtime-lib.padding",
|
|
2890
2891
|
children: [
|
|
@@ -2917,7 +2918,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2917
2918
|
default: ""
|
|
2918
2919
|
}
|
|
2919
2920
|
]
|
|
2920
|
-
},
|
|
2921
|
+
}, O = {
|
|
2921
2922
|
key: "size",
|
|
2922
2923
|
name: "x-runtime-lib.size",
|
|
2923
2924
|
children: [
|
|
@@ -3834,8 +3835,8 @@ const ri = {
|
|
|
3834
3835
|
name: "x-runtime-lib.barChart",
|
|
3835
3836
|
comp: ol,
|
|
3836
3837
|
properties: {
|
|
3837
|
-
pageCommon: [f,
|
|
3838
|
-
compCommon: [f,
|
|
3838
|
+
pageCommon: [f, O, He, Ke, je, Ge, ri],
|
|
3839
|
+
compCommon: [f, O, He, Ke, je, Ge, ri]
|
|
3839
3840
|
},
|
|
3840
3841
|
events: [],
|
|
3841
3842
|
methods: [],
|
|
@@ -3889,8 +3890,8 @@ const li = {
|
|
|
3889
3890
|
name: "x-runtime-lib.lineChart",
|
|
3890
3891
|
comp: sl,
|
|
3891
3892
|
properties: {
|
|
3892
|
-
pageCommon: [f,
|
|
3893
|
-
compCommon: [f,
|
|
3893
|
+
pageCommon: [f, O, He, Ke, je, Ge, li],
|
|
3894
|
+
compCommon: [f, O, He, Ke, je, Ge, li]
|
|
3894
3895
|
},
|
|
3895
3896
|
events: [],
|
|
3896
3897
|
methods: [],
|
|
@@ -3929,8 +3930,8 @@ const ai = {
|
|
|
3929
3930
|
name: "x-runtime-lib.reference",
|
|
3930
3931
|
comp: ul,
|
|
3931
3932
|
properties: {
|
|
3932
|
-
pageCommon: [f, ai],
|
|
3933
|
-
compCommon: [f, ai]
|
|
3933
|
+
pageCommon: [f, O, ai],
|
|
3934
|
+
compCommon: [f, O, ai]
|
|
3934
3935
|
},
|
|
3935
3936
|
events: [],
|
|
3936
3937
|
methods: [],
|
|
@@ -4175,8 +4176,8 @@ const Da = B(j), di = {
|
|
|
4175
4176
|
name: "x-runtime-lib.button",
|
|
4176
4177
|
comp: ml,
|
|
4177
4178
|
properties: {
|
|
4178
|
-
pageCommon: [f,
|
|
4179
|
-
compCommon: [f,
|
|
4179
|
+
pageCommon: [f, O, di],
|
|
4180
|
+
compCommon: [f, O, di]
|
|
4180
4181
|
},
|
|
4181
4182
|
events: [
|
|
4182
4183
|
{
|
|
@@ -4352,8 +4353,8 @@ const fi = {
|
|
|
4352
4353
|
name: "x-runtime-lib.card",
|
|
4353
4354
|
comp: hl,
|
|
4354
4355
|
properties: {
|
|
4355
|
-
pageCommon: [f,
|
|
4356
|
-
compCommon: [f,
|
|
4356
|
+
pageCommon: [f, O, fi],
|
|
4357
|
+
compCommon: [f, O, fi]
|
|
4357
4358
|
},
|
|
4358
4359
|
events: [],
|
|
4359
4360
|
methods: [],
|
|
@@ -4494,15 +4495,15 @@ function Oa(t, e) {
|
|
|
4494
4495
|
}
|
|
4495
4496
|
const s = {};
|
|
4496
4497
|
return P(s, r), s.basic.id = T(16), s.basic.key = mn.key, s.children = [
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4498
|
+
we(t, e, "chip1", "chip 1"),
|
|
4499
|
+
we(t, e, "chip2", "chip 2"),
|
|
4500
|
+
we(t, e, "chip3", "chip 3"),
|
|
4501
|
+
we(t, e, "chip4", "chip 4"),
|
|
4502
|
+
we(t, e, "chip5", "chip 5"),
|
|
4503
|
+
we(t, e, "chip6", "chip 6")
|
|
4503
4504
|
], s;
|
|
4504
4505
|
}
|
|
4505
|
-
function
|
|
4506
|
+
function we(t, e, i, o) {
|
|
4506
4507
|
const r = `type=${t} subtype=${e}`, s = A(t, e);
|
|
4507
4508
|
if (!s) {
|
|
4508
4509
|
console.error(`chipGroupV1/spawnChip property tag not found, ${r}`);
|
|
@@ -4665,8 +4666,8 @@ const vi = {
|
|
|
4665
4666
|
name: "x-runtime-lib.container",
|
|
4666
4667
|
comp: wl,
|
|
4667
4668
|
properties: {
|
|
4668
|
-
pageCommon: [f,
|
|
4669
|
-
compCommon: [f,
|
|
4669
|
+
pageCommon: [f, O, $e, Ie, Se, vi],
|
|
4670
|
+
compCommon: [f, O, $e, Ie, Se, vi]
|
|
4670
4671
|
},
|
|
4671
4672
|
events: [
|
|
4672
4673
|
{
|
|
@@ -4924,8 +4925,8 @@ const Vi = {
|
|
|
4924
4925
|
name: "x-runtime-lib.flexLayoutEntry",
|
|
4925
4926
|
comp: Pl,
|
|
4926
4927
|
properties: {
|
|
4927
|
-
pageCommon: [f,
|
|
4928
|
-
compCommon: [f,
|
|
4928
|
+
pageCommon: [f, O, $i],
|
|
4929
|
+
compCommon: [f, O, $i]
|
|
4929
4930
|
},
|
|
4930
4931
|
events: [],
|
|
4931
4932
|
methods: [],
|
|
@@ -5196,8 +5197,8 @@ const Ii = {
|
|
|
5196
5197
|
name: "x-runtime-lib.flexLayout",
|
|
5197
5198
|
comp: Tl,
|
|
5198
5199
|
properties: {
|
|
5199
|
-
pageCommon: [f,
|
|
5200
|
-
compCommon: [f,
|
|
5200
|
+
pageCommon: [f, O, $e, Ie, Se, Ii],
|
|
5201
|
+
compCommon: [f, O, $e, Ie, Se, Ii]
|
|
5201
5202
|
},
|
|
5202
5203
|
events: [
|
|
5203
5204
|
{
|
|
@@ -5451,8 +5452,8 @@ const Ti = {
|
|
|
5451
5452
|
name: "x-runtime-lib.form",
|
|
5452
5453
|
comp: zl,
|
|
5453
5454
|
properties: {
|
|
5454
|
-
pageCommon: [f,
|
|
5455
|
-
compCommon: [f,
|
|
5455
|
+
pageCommon: [f, O, $e, Ie, Se, Ti],
|
|
5456
|
+
compCommon: [f, O, $e, Ie, Se, Ti]
|
|
5456
5457
|
},
|
|
5457
5458
|
events: [
|
|
5458
5459
|
{
|
|
@@ -6763,13 +6764,13 @@ function xu(t, e) {
|
|
|
6763
6764
|
console.error(`textV1/spawn property tag not found, ${i}`);
|
|
6764
6765
|
return;
|
|
6765
6766
|
}
|
|
6766
|
-
const r =
|
|
6767
|
+
const r = ge.properties[o];
|
|
6767
6768
|
if (!r) {
|
|
6768
6769
|
console.error(`textV1/spawn properties not found, ${i}`);
|
|
6769
6770
|
return;
|
|
6770
6771
|
}
|
|
6771
6772
|
const s = {};
|
|
6772
|
-
return P(s, r), s.basic.id = T(16), s.basic.key =
|
|
6773
|
+
return P(s, r), s.basic.id = T(16), s.basic.key = ge.key, s.settings.text = "text", s;
|
|
6773
6774
|
}
|
|
6774
6775
|
const Oi = {
|
|
6775
6776
|
key: "settings",
|
|
@@ -6857,7 +6858,7 @@ const Oi = {
|
|
|
6857
6858
|
default: !1
|
|
6858
6859
|
}
|
|
6859
6860
|
]
|
|
6860
|
-
},
|
|
6861
|
+
}, ge = {
|
|
6861
6862
|
key: Dt,
|
|
6862
6863
|
name: "x-runtime-lib.text",
|
|
6863
6864
|
comp: ta,
|
|
@@ -6871,7 +6872,7 @@ const Oi = {
|
|
|
6871
6872
|
leaf: !0,
|
|
6872
6873
|
spawn: xu
|
|
6873
6874
|
};
|
|
6874
|
-
_(
|
|
6875
|
+
_(ge);
|
|
6875
6876
|
function vu(t, e) {
|
|
6876
6877
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
6877
6878
|
if (!o) {
|
|
@@ -7023,13 +7024,13 @@ function _u(t, e, i) {
|
|
|
7023
7024
|
console.error(`timelineV1/spawnText property tag not found, ${o}`);
|
|
7024
7025
|
return;
|
|
7025
7026
|
}
|
|
7026
|
-
const s =
|
|
7027
|
+
const s = ge.properties[r];
|
|
7027
7028
|
if (!s) {
|
|
7028
7029
|
console.error(`timelineV1/spawnText properties not found, ${o}`);
|
|
7029
7030
|
return;
|
|
7030
7031
|
}
|
|
7031
7032
|
const a = {};
|
|
7032
|
-
return P(a, s), a.basic.id = T(16), a.basic.key =
|
|
7033
|
+
return P(a, s), a.basic.id = T(16), a.basic.key = ge.key, a.settings.text = i, a;
|
|
7033
7034
|
}
|
|
7034
7035
|
const wu = B(j), Vu = B(j), Xi = {
|
|
7035
7036
|
key: "settings",
|
|
@@ -7190,13 +7191,13 @@ function Su(t, e, i) {
|
|
|
7190
7191
|
console.error(`windowV1/spawnText property tag not found, ${o}`);
|
|
7191
7192
|
return;
|
|
7192
7193
|
}
|
|
7193
|
-
const s =
|
|
7194
|
+
const s = ge.properties[r];
|
|
7194
7195
|
if (!s) {
|
|
7195
7196
|
console.error(`windowV1/spawnText properties not found, ${o}`);
|
|
7196
7197
|
return;
|
|
7197
7198
|
}
|
|
7198
7199
|
const a = {};
|
|
7199
|
-
return P(a, s), a.basic.id = T(16), a.basic.key =
|
|
7200
|
+
return P(a, s), a.basic.id = T(16), a.basic.key = ge.key, a.settings.text = i, a.settings.style.xs = "h6", a;
|
|
7200
7201
|
}
|
|
7201
7202
|
const Yi = {
|
|
7202
7203
|
key: "settings",
|
|
@@ -8059,58 +8060,58 @@ function Jc(t) {
|
|
|
8059
8060
|
}
|
|
8060
8061
|
const Po = "runtimeOrg", zo = "runtimeEnv", Ao = "runtimeMode", Lo = "runtimeDevice", Bo = "runtimeDark", Wo = "runtimeType", Eo = "runtimeData", Ro = "runtimeDepends", No = "runtimeSandbox";
|
|
8061
8062
|
function Zc(t) {
|
|
8062
|
-
|
|
8063
|
+
ae(Po, t);
|
|
8063
8064
|
}
|
|
8064
8065
|
function fc() {
|
|
8065
|
-
return
|
|
8066
|
+
return le(Po);
|
|
8066
8067
|
}
|
|
8067
8068
|
function qc(t) {
|
|
8068
|
-
|
|
8069
|
+
ae(zo, t);
|
|
8069
8070
|
}
|
|
8070
8071
|
function bc() {
|
|
8071
|
-
return
|
|
8072
|
+
return le(zo);
|
|
8072
8073
|
}
|
|
8073
8074
|
function Qc(t) {
|
|
8074
|
-
|
|
8075
|
+
ae(Ao, t);
|
|
8075
8076
|
}
|
|
8076
8077
|
function H() {
|
|
8077
|
-
return
|
|
8078
|
+
return le(Ao);
|
|
8078
8079
|
}
|
|
8079
8080
|
function ep(t) {
|
|
8080
|
-
|
|
8081
|
+
ae(Lo, Bn(t));
|
|
8081
8082
|
}
|
|
8082
|
-
function
|
|
8083
|
-
return
|
|
8083
|
+
function Ce() {
|
|
8084
|
+
return le(Lo);
|
|
8084
8085
|
}
|
|
8085
8086
|
function tp(t) {
|
|
8086
|
-
|
|
8087
|
+
ae(Bo, Bn(t));
|
|
8087
8088
|
}
|
|
8088
8089
|
function Ne() {
|
|
8089
|
-
return
|
|
8090
|
+
return le(Bo);
|
|
8090
8091
|
}
|
|
8091
8092
|
function np(t) {
|
|
8092
|
-
|
|
8093
|
+
ae(Wo, t);
|
|
8093
8094
|
}
|
|
8094
|
-
function
|
|
8095
|
-
return
|
|
8095
|
+
function fe() {
|
|
8096
|
+
return le(Wo);
|
|
8096
8097
|
}
|
|
8097
8098
|
function ip(t) {
|
|
8098
|
-
|
|
8099
|
+
ae(Eo, t);
|
|
8099
8100
|
}
|
|
8100
8101
|
function ke() {
|
|
8101
|
-
return
|
|
8102
|
+
return le(Eo);
|
|
8102
8103
|
}
|
|
8103
8104
|
function op(t) {
|
|
8104
|
-
|
|
8105
|
+
ae(Ro, Bn(t));
|
|
8105
8106
|
}
|
|
8106
8107
|
function hc() {
|
|
8107
|
-
return
|
|
8108
|
+
return le(Ro);
|
|
8108
8109
|
}
|
|
8109
8110
|
function gc(t) {
|
|
8110
|
-
|
|
8111
|
+
ae(No, t);
|
|
8111
8112
|
}
|
|
8112
|
-
function
|
|
8113
|
-
return
|
|
8113
|
+
function _e() {
|
|
8114
|
+
return le(No);
|
|
8114
8115
|
}
|
|
8115
8116
|
function Pe(t) {
|
|
8116
8117
|
const e = [t.type];
|
|
@@ -8134,14 +8135,14 @@ function De(t, e, i, o, r) {
|
|
|
8134
8135
|
for (const u of d)
|
|
8135
8136
|
if (i === Pe(u)) {
|
|
8136
8137
|
if (u.subKeys) {
|
|
8137
|
-
if (!
|
|
8138
|
-
|
|
8139
|
-
|
|
8138
|
+
if (!se(
|
|
8139
|
+
Ve(o, u.subKeys),
|
|
8140
|
+
Ve(r, u.subKeys)
|
|
8140
8141
|
)) {
|
|
8141
8142
|
y = u;
|
|
8142
8143
|
break;
|
|
8143
8144
|
}
|
|
8144
|
-
} else if (!
|
|
8145
|
+
} else if (!se(o, r)) {
|
|
8145
8146
|
y = u;
|
|
8146
8147
|
break;
|
|
8147
8148
|
}
|
|
@@ -8149,7 +8150,7 @@ function De(t, e, i, o, r) {
|
|
|
8149
8150
|
if (!y)
|
|
8150
8151
|
continue;
|
|
8151
8152
|
let p;
|
|
8152
|
-
y.subKeys ? p =
|
|
8153
|
+
y.subKeys ? p = Ve(o, y.subKeys) : p = o;
|
|
8153
8154
|
for (const u of d)
|
|
8154
8155
|
if (u.subKeys) {
|
|
8155
8156
|
let m;
|
|
@@ -8168,8 +8169,8 @@ function De(t, e, i, o, r) {
|
|
|
8168
8169
|
console.assert(!1);
|
|
8169
8170
|
continue;
|
|
8170
8171
|
}
|
|
8171
|
-
const b =
|
|
8172
|
-
if (
|
|
8172
|
+
const b = Ve(m, u.subKeys);
|
|
8173
|
+
if (se(p, b))
|
|
8173
8174
|
continue;
|
|
8174
8175
|
const h = B(m);
|
|
8175
8176
|
mo(h, u.subKeys, B(p)), u.type === "elementProperty" ? t.setElementProperty(
|
|
@@ -8194,7 +8195,7 @@ function De(t, e, i, o, r) {
|
|
|
8194
8195
|
console.assert(!1);
|
|
8195
8196
|
continue;
|
|
8196
8197
|
}
|
|
8197
|
-
if (
|
|
8198
|
+
if (se(p, m))
|
|
8198
8199
|
continue;
|
|
8199
8200
|
u.type === "elementProperty" ? t.setElementProperty(
|
|
8200
8201
|
u.nodeId,
|
|
@@ -8293,7 +8294,7 @@ function xc(t, e) {
|
|
|
8293
8294
|
const Mo = Jo({
|
|
8294
8295
|
baseUrl: "http://localhost/computebase/",
|
|
8295
8296
|
onError: (t) => {
|
|
8296
|
-
const { i18n: e } =
|
|
8297
|
+
const { i18n: e } = he;
|
|
8297
8298
|
so(gs(e, t));
|
|
8298
8299
|
}
|
|
8299
8300
|
});
|
|
@@ -8352,9 +8353,9 @@ function _c(t, e, i) {
|
|
|
8352
8353
|
appId: `${b}${t.env}`,
|
|
8353
8354
|
pageId: h
|
|
8354
8355
|
};
|
|
8355
|
-
|
|
8356
|
+
he.router.replace({ path: g, query: x });
|
|
8356
8357
|
} else t.mode === "preview" && oo(
|
|
8357
|
-
|
|
8358
|
+
he.i18n.global.t(
|
|
8358
8359
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
8359
8360
|
)
|
|
8360
8361
|
);
|
|
@@ -8533,7 +8534,7 @@ function ap(t) {
|
|
|
8533
8534
|
methodKey: e[2]
|
|
8534
8535
|
};
|
|
8535
8536
|
}
|
|
8536
|
-
function
|
|
8537
|
+
function me(t, e, i) {
|
|
8537
8538
|
return `${t}/${e}/${i}`;
|
|
8538
8539
|
}
|
|
8539
8540
|
function up(t) {
|
|
@@ -8577,7 +8578,7 @@ class Pc {
|
|
|
8577
8578
|
this.nodes = {};
|
|
8578
8579
|
}
|
|
8579
8580
|
getElementPropertyInner(e, i) {
|
|
8580
|
-
return
|
|
8581
|
+
return Ve(e, i);
|
|
8581
8582
|
}
|
|
8582
8583
|
getElementProperty(e, i) {
|
|
8583
8584
|
const o = this.nodes[e];
|
|
@@ -8592,8 +8593,8 @@ class Pc {
|
|
|
8592
8593
|
return this.getElementPropertyInner(o, i);
|
|
8593
8594
|
}
|
|
8594
8595
|
setElementPropertyInner(e, i, o) {
|
|
8595
|
-
const r =
|
|
8596
|
-
|
|
8596
|
+
const r = Ve(e, i);
|
|
8597
|
+
se(o, r) || (mo(e, i, o), this.hooks?.onElementPropertyChange(
|
|
8597
8598
|
e.basic.id,
|
|
8598
8599
|
i,
|
|
8599
8600
|
o,
|
|
@@ -8625,7 +8626,7 @@ class Pc {
|
|
|
8625
8626
|
}
|
|
8626
8627
|
setCustomProperty(e, i) {
|
|
8627
8628
|
const o = this.customProperties[e];
|
|
8628
|
-
|
|
8629
|
+
se(i, o) || (this.customProperties[e] = i, this.hooks?.onCustomPropertyChange(e, i, o));
|
|
8629
8630
|
}
|
|
8630
8631
|
//--------------------------
|
|
8631
8632
|
// 适配的插槽属性
|
|
@@ -8639,7 +8640,7 @@ class Pc {
|
|
|
8639
8640
|
}
|
|
8640
8641
|
setAdaptSlotProperty(e, i) {
|
|
8641
8642
|
const o = this.adaptSlotProperties[e];
|
|
8642
|
-
|
|
8643
|
+
se(i, o) || (this.adaptSlotProperties[e] = i, this.hooks?.onAdaptSlotPropertyChange(e, i, o));
|
|
8643
8644
|
}
|
|
8644
8645
|
//--------------------------
|
|
8645
8646
|
// 状态
|
|
@@ -8653,7 +8654,7 @@ class Pc {
|
|
|
8653
8654
|
}
|
|
8654
8655
|
setState(e, i) {
|
|
8655
8656
|
const o = this.states[e];
|
|
8656
|
-
|
|
8657
|
+
se(i, o) || (this.states[e] = i, this.hooks?.onStateChange(e, i, o));
|
|
8657
8658
|
}
|
|
8658
8659
|
//--------------------------
|
|
8659
8660
|
// 解释器
|
|
@@ -8666,7 +8667,7 @@ class Pc {
|
|
|
8666
8667
|
wc(this, i, o);
|
|
8667
8668
|
}
|
|
8668
8669
|
), this.interpreter.appendCode(e), this.interpreter.run(), this.setVariable("__env__", this.env), this.setVariable("__mode__", this.mode), this.callFunction("__triggerEventV1__", [
|
|
8669
|
-
|
|
8670
|
+
me("elementEvent", "globality", "startup")
|
|
8670
8671
|
]);
|
|
8671
8672
|
}
|
|
8672
8673
|
destroyInterpreter() {
|
|
@@ -8700,8 +8701,8 @@ class Pc {
|
|
|
8700
8701
|
}
|
|
8701
8702
|
}
|
|
8702
8703
|
function Do(t, e) {
|
|
8703
|
-
const i = hc(), o =
|
|
8704
|
-
|
|
8704
|
+
const i = hc(), o = re(-1);
|
|
8705
|
+
pe(() => {
|
|
8705
8706
|
const r = i.value[t];
|
|
8706
8707
|
if (!r) {
|
|
8707
8708
|
o.value = -1, e.value = void 0, io.emit("compNotAvail", t);
|
|
@@ -8710,10 +8711,10 @@ function Do(t, e) {
|
|
|
8710
8711
|
o.value !== r.dataSeq && (o.value = r.dataSeq, e.value = B(r.data));
|
|
8711
8712
|
});
|
|
8712
8713
|
}
|
|
8713
|
-
function Fo(t) {
|
|
8714
|
-
const
|
|
8715
|
-
if (q(
|
|
8716
|
-
|
|
8714
|
+
function Fo(t, e) {
|
|
8715
|
+
const i = fc(), o = bc(), r = H(), s = fe(), a = Ce(), c = Ne(), d = (h, g, x, w) => {
|
|
8716
|
+
if (q(r) && (m.callFunction("__triggerEventV1__", [
|
|
8717
|
+
me(
|
|
8717
8718
|
"elementPropertyChangeEvent",
|
|
8718
8719
|
h,
|
|
8719
8720
|
Tc(g)
|
|
@@ -8734,9 +8735,9 @@ function Fo(t) {
|
|
|
8734
8735
|
w
|
|
8735
8736
|
);
|
|
8736
8737
|
}
|
|
8737
|
-
},
|
|
8738
|
-
q(
|
|
8739
|
-
|
|
8738
|
+
}, y = (h, g, x) => {
|
|
8739
|
+
q(r) && (m.callFunction("__triggerEventV1__", [
|
|
8740
|
+
me("customPropertyChangeEvent", "globality", h),
|
|
8740
8741
|
g,
|
|
8741
8742
|
x ?? g
|
|
8742
8743
|
]), t.value?.code.reactivity && De(
|
|
@@ -8746,17 +8747,17 @@ function Fo(t) {
|
|
|
8746
8747
|
g,
|
|
8747
8748
|
x
|
|
8748
8749
|
));
|
|
8749
|
-
},
|
|
8750
|
-
q(
|
|
8750
|
+
}, p = (h, g, x) => {
|
|
8751
|
+
q(r) && t.value?.code.reactivity && De(
|
|
8751
8752
|
m,
|
|
8752
8753
|
t.value.code.reactivity,
|
|
8753
8754
|
Pe({ type: "adaptSlotProperty", propertyId: h }),
|
|
8754
8755
|
g,
|
|
8755
8756
|
x
|
|
8756
8757
|
);
|
|
8757
|
-
},
|
|
8758
|
-
q(
|
|
8759
|
-
|
|
8758
|
+
}, u = (h, g, x) => {
|
|
8759
|
+
q(r) && (m.callFunction("__triggerEventV1__", [
|
|
8760
|
+
me("stateChangeEvent", "globality", h),
|
|
8760
8761
|
g,
|
|
8761
8762
|
x ?? g
|
|
8762
8763
|
]), t.value?.code.reactivity && De(
|
|
@@ -8766,36 +8767,36 @@ function Fo(t) {
|
|
|
8766
8767
|
g,
|
|
8767
8768
|
x
|
|
8768
8769
|
));
|
|
8769
|
-
},
|
|
8770
|
-
onElementPropertyChange:
|
|
8771
|
-
onCustomPropertyChange:
|
|
8772
|
-
onAdaptSlotPropertyChange:
|
|
8773
|
-
onStateChange:
|
|
8770
|
+
}, m = new Pc(e, i, o, r, s, {
|
|
8771
|
+
onElementPropertyChange: d,
|
|
8772
|
+
onCustomPropertyChange: y,
|
|
8773
|
+
onAdaptSlotPropertyChange: p,
|
|
8774
|
+
onStateChange: u
|
|
8774
8775
|
});
|
|
8775
8776
|
gc(m);
|
|
8776
8777
|
const b = () => {
|
|
8777
|
-
q(
|
|
8778
|
+
q(r) && (m.destroyInterpreter(), m.syncNodes(t.value), m.resetCustomProperties(), m.resetStates(), m.resetAdaptSlotProperties(), !(!t.value || !t.value.code.script) && m.createInterpreter(t.value.code.script));
|
|
8778
8779
|
};
|
|
8779
8780
|
b(), te(t, () => {
|
|
8780
8781
|
b();
|
|
8781
8782
|
}), Oe(() => {
|
|
8782
8783
|
m.destroyInterpreter();
|
|
8783
|
-
}), q(
|
|
8784
|
-
|
|
8784
|
+
}), q(r) && te(
|
|
8785
|
+
a,
|
|
8785
8786
|
(h, g) => {
|
|
8786
8787
|
const x = Fe(h.width), w = Fe(g?.width ?? h.width);
|
|
8787
8788
|
m.callFunction("__triggerEventV1__", [
|
|
8788
|
-
|
|
8789
|
+
me("elementEvent", "globality", "screenSizeChange"),
|
|
8789
8790
|
x,
|
|
8790
8791
|
w
|
|
8791
8792
|
]);
|
|
8792
8793
|
},
|
|
8793
8794
|
{ immediate: !0 }
|
|
8794
|
-
), q(
|
|
8795
|
-
|
|
8795
|
+
), q(r) && te(
|
|
8796
|
+
c,
|
|
8796
8797
|
(h) => {
|
|
8797
8798
|
m.callFunction("__triggerEventV1__", [
|
|
8798
|
-
|
|
8799
|
+
me("elementEvent", "globality", "darkModeChange"),
|
|
8799
8800
|
h
|
|
8800
8801
|
]);
|
|
8801
8802
|
},
|
|
@@ -8846,7 +8847,7 @@ export {
|
|
|
8846
8847
|
hn as formV1,
|
|
8847
8848
|
T as genId,
|
|
8848
8849
|
Te as getBreakpointProp,
|
|
8849
|
-
|
|
8850
|
+
Ve as getField,
|
|
8850
8851
|
Zn as getIndexOfBreakpoint,
|
|
8851
8852
|
Yc as getNode,
|
|
8852
8853
|
Ji as getPropertyDefault,
|
|
@@ -8859,12 +8860,12 @@ export {
|
|
|
8859
8860
|
Ne as injectDark,
|
|
8860
8861
|
ke as injectData,
|
|
8861
8862
|
hc as injectDepends,
|
|
8862
|
-
|
|
8863
|
+
Ce as injectDevice,
|
|
8863
8864
|
bc as injectEnv,
|
|
8864
8865
|
H as injectMode,
|
|
8865
8866
|
fc as injectOrg,
|
|
8866
|
-
|
|
8867
|
-
|
|
8867
|
+
_e as injectSandbox,
|
|
8868
|
+
fe as injectType,
|
|
8868
8869
|
yo as isCircularRef,
|
|
8869
8870
|
q as isExecutableMode,
|
|
8870
8871
|
$s as isLocaleOfEventKind,
|
|
@@ -8875,7 +8876,7 @@ export {
|
|
|
8875
8876
|
xa as keyboardControlsV1,
|
|
8876
8877
|
un as lineChartV1,
|
|
8877
8878
|
cp as loadLocaleMessageRuntime,
|
|
8878
|
-
|
|
8879
|
+
me as makeEventId,
|
|
8879
8880
|
lp as makeMethodId,
|
|
8880
8881
|
sp as makePropertyId,
|
|
8881
8882
|
Pe as makeTriggerId,
|
|
@@ -8926,7 +8927,7 @@ export {
|
|
|
8926
8927
|
In as tabV1,
|
|
8927
8928
|
Sn as tabsV1,
|
|
8928
8929
|
bn as textFieldV1,
|
|
8929
|
-
|
|
8930
|
+
ge as textV1,
|
|
8930
8931
|
Cn as textareaV1,
|
|
8931
8932
|
Tn as timelineItemV1,
|
|
8932
8933
|
Pn as timelineV1,
|