x-runtime-lib 0.8.66 → 0.8.68
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 +152 -149
- package/dist/sandbox/runtime/base.d.ts +1 -1
- package/dist/sandbox/sandbox/index.d.ts +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useTheme as _r } from "vuetify";
|
|
|
6
6
|
import { getErrorMessage as wr } from "x-error-lib";
|
|
7
7
|
import { useI18n as bo } from "vue-i18n";
|
|
8
8
|
const Qn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
9
|
-
function
|
|
9
|
+
function T(t) {
|
|
10
10
|
let e = "";
|
|
11
11
|
for (let i = 0; i < t; i++) {
|
|
12
12
|
const o = Math.floor(Math.random() * Qn.length);
|
|
@@ -47,7 +47,7 @@ function Fe(t) {
|
|
|
47
47
|
function ei(t) {
|
|
48
48
|
return ho.findIndex((e) => e === t);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Te(t, e) {
|
|
51
51
|
let i;
|
|
52
52
|
for (const o of Vr) {
|
|
53
53
|
if (ei(o) < ei(t))
|
|
@@ -146,7 +146,7 @@ function Cr(t) {
|
|
|
146
146
|
}
|
|
147
147
|
return !0;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Tr(t) {
|
|
150
150
|
switch (t) {
|
|
151
151
|
case "referenceMethod":
|
|
152
152
|
case "multipleRefMethod":
|
|
@@ -156,7 +156,7 @@ function Pr(t) {
|
|
|
156
156
|
}
|
|
157
157
|
return !0;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Pr(t) {
|
|
160
160
|
switch (t) {
|
|
161
161
|
case "referenceEvent":
|
|
162
162
|
case "multipleRefEvent":
|
|
@@ -186,12 +186,12 @@ function Xu(t, e) {
|
|
|
186
186
|
function Yu(t, e) {
|
|
187
187
|
const { i18n: i } = ge;
|
|
188
188
|
let o = "";
|
|
189
|
-
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)), Rn(o, e,
|
|
189
|
+
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)), Rn(o, e, Tr(t));
|
|
190
190
|
}
|
|
191
191
|
function qu(t, e) {
|
|
192
192
|
const { i18n: i } = ge;
|
|
193
193
|
let o = "";
|
|
194
|
-
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 === "elementSlotEvent" || t === "customSlotEvent" ? o = i.global.t("x-runtime-lib.slot") : t === "elementPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.propertyChange") : t === "referencePropertyChangeEvent" ? o = i.global.t("x-runtime-lib.referencePropertyChange") : t === "multipleRefPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.multipleRefPropertyChange") : t === "customPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.customPropertyChange") : t === "elementSlotPropertyChangeEvent" || t === "customSlotPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.slotPropertyChange") : t === "stateChangeEvent" ? o = i.global.t("x-runtime-lib.stateChange") : console.assert(!1)), Rn(o, e,
|
|
194
|
+
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 === "elementSlotEvent" || t === "customSlotEvent" ? o = i.global.t("x-runtime-lib.slot") : t === "elementPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.propertyChange") : t === "referencePropertyChangeEvent" ? o = i.global.t("x-runtime-lib.referencePropertyChange") : t === "multipleRefPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.multipleRefPropertyChange") : t === "customPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.customPropertyChange") : t === "elementSlotPropertyChangeEvent" || t === "customSlotPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.slotPropertyChange") : t === "stateChangeEvent" ? o = i.global.t("x-runtime-lib.stateChange") : console.assert(!1)), Rn(o, e, Pr(t));
|
|
195
195
|
}
|
|
196
196
|
const ze = {}, w = (t) => {
|
|
197
197
|
ze[t.key] = t;
|
|
@@ -777,7 +777,7 @@ const Zr = /* @__PURE__ */ Se(qr, [["render", Jr]]), Qr = ["position", "rotation
|
|
|
777
777
|
B(r.$slots, "default")
|
|
778
778
|
], 8, ts));
|
|
779
779
|
}
|
|
780
|
-
}), is = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], os = "#242424", rs = {}, ss = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, as = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, cs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ps = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ys = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, fs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, hs = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, gs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, xs = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, vs = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, ks = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, _s = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, ws = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Vs = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Is = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, $s = { textStyle: { color: "#eeeeee" } }, Ss = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Cs = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } },
|
|
780
|
+
}), is = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], os = "#242424", rs = {}, ss = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, as = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, cs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ps = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ys = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, fs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, hs = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, gs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, xs = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, vs = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, ks = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, _s = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, ws = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Vs = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Is = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, $s = { textStyle: { color: "#eeeeee" } }, Ss = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Cs = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, Ts = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Ps = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, zs = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, As = {
|
|
781
781
|
color: is,
|
|
782
782
|
backgroundColor: os,
|
|
783
783
|
textStyle: rs,
|
|
@@ -804,8 +804,8 @@ const Zr = /* @__PURE__ */ Se(qr, [["render", Jr]]), Qr = ["position", "rotation
|
|
|
804
804
|
legend: $s,
|
|
805
805
|
tooltip: Ss,
|
|
806
806
|
timeline: Cs,
|
|
807
|
-
visualMap:
|
|
808
|
-
dataZoom:
|
|
807
|
+
visualMap: Ts,
|
|
808
|
+
dataZoom: Ps,
|
|
809
809
|
markPoint: zs
|
|
810
810
|
}, Ls = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Es = "#f5f5f5", Bs = {}, Ws = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Rs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ns = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ms = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Fs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Gs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, js = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Hs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Os = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ks = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Us = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Xs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Ys = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, qs = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Js = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Zs = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Qs = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, el = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, tl = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, nl = { textStyle: { color: "#333333" } }, il = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, ol = { lineStyle: { color: "#eeeeee", width: "2" }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: "1" }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: "1" }, label: { color: "#eeeeee" } } }, rl = { color: ["#bf444c", "#d88273", "#f6efa6"] }, sl = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, ll = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, al = {
|
|
811
811
|
color: Ls,
|
|
@@ -860,10 +860,10 @@ const cl = /* @__PURE__ */ V({
|
|
|
860
860
|
const e = t, i = Ce(), o = Ne(), s = fe(), r = ke(), { width: a, minWidth: c, maxWidth: p, height: d, minHeight: u, maxHeight: m, applySize: y } = ye(e), { applyTitle: b } = _o(e), { applyXAxis: g } = wo(e), { applyYAxis: x } = Vo(e), { applyLegend: $ } = vo(e), { applySeries: I } = ko(e), S = v(() => {
|
|
861
861
|
const C = {}, G = r.value.type;
|
|
862
862
|
return s === "page" ? G === "common" ? y(C) : console.assert(!1) : s === "comp" && G === "common" ? y(C) : console.assert(!1), C;
|
|
863
|
-
}),
|
|
863
|
+
}), P = no("chart");
|
|
864
864
|
let E;
|
|
865
865
|
const F = () => {
|
|
866
|
-
E?.dispose(), E = yo.init(
|
|
866
|
+
E?.dispose(), E = yo.init(P.value, o.value ? "dark" : "light");
|
|
867
867
|
const C = {};
|
|
868
868
|
E.setOption(C);
|
|
869
869
|
}, j = () => {
|
|
@@ -873,7 +873,7 @@ const cl = /* @__PURE__ */ V({
|
|
|
873
873
|
b(C), g(C), x(C), $(C), I(C), E?.setOption(C, !0);
|
|
874
874
|
};
|
|
875
875
|
return io(async () => {
|
|
876
|
-
window.addEventListener("resize", j, !1), await so(() => !!
|
|
876
|
+
window.addEventListener("resize", j, !1), await so(() => !!P.value), F(), N();
|
|
877
877
|
}), Ue(() => {
|
|
878
878
|
window.removeEventListener("resize", j, !1), E?.dispose();
|
|
879
879
|
}), oe(
|
|
@@ -918,10 +918,10 @@ const cl = /* @__PURE__ */ V({
|
|
|
918
918
|
const e = t, i = Ce(), o = Ne(), s = fe(), r = ke(), { width: a, minWidth: c, maxWidth: p, height: d, minHeight: u, maxHeight: m, applySize: y } = ye(e), { applyTitle: b } = _o(e), { applyXAxis: g } = wo(e), { applyYAxis: x } = Vo(e), { applyLegend: $ } = vo(e), { applySeries: I } = ko(e), S = v(() => {
|
|
919
919
|
const C = {}, G = r.value.type;
|
|
920
920
|
return s === "page" ? G === "common" ? y(C) : console.assert(!1) : s === "comp" && G === "common" ? y(C) : console.assert(!1), C;
|
|
921
|
-
}),
|
|
921
|
+
}), P = no("chart");
|
|
922
922
|
let E;
|
|
923
923
|
const F = () => {
|
|
924
|
-
E?.dispose(), E = yo.init(
|
|
924
|
+
E?.dispose(), E = yo.init(P.value, o.value ? "dark" : "light");
|
|
925
925
|
const C = {};
|
|
926
926
|
E.setOption(C);
|
|
927
927
|
}, j = () => {
|
|
@@ -931,7 +931,7 @@ const cl = /* @__PURE__ */ V({
|
|
|
931
931
|
b(C), g(C), x(C), $(C), I(C), E?.setOption(C, !0);
|
|
932
932
|
};
|
|
933
933
|
return io(async () => {
|
|
934
|
-
window.addEventListener("resize", j, !1), await so(() => !!
|
|
934
|
+
window.addEventListener("resize", j, !1), await so(() => !!P.value), F(), N();
|
|
935
935
|
}), Ue(() => {
|
|
936
936
|
window.removeEventListener("resize", j, !1), E?.dispose();
|
|
937
937
|
}), oe(
|
|
@@ -1131,7 +1131,7 @@ const cl = /* @__PURE__ */ V({
|
|
|
1131
1131
|
]), { property: I } = l(e, [
|
|
1132
1132
|
"settings",
|
|
1133
1133
|
"readonly"
|
|
1134
|
-
]), { property: S } = l(e, ["settings", "ripple"]), { property:
|
|
1134
|
+
]), { property: S } = l(e, ["settings", "ripple"]), { property: P } = l(e, ["settings", "size"]), { property: E } = l(e, ["settings", "stacked"]), { property: F } = l(e, ["settings", "text"]), { theme: j } = D(), { property: N } = l(e, ["settings", "variant"]), { property: C } = l(e, ["size", "width"]), G = (Z) => {
|
|
1135
1135
|
Q(i) && (o.setVariable("__pointerPosX__", Z.clientX), o.setVariable("__pointerPosY__", Z.clientY), o.callFunction(
|
|
1136
1136
|
"__triggerEventV1__",
|
|
1137
1137
|
J("elementEvent", e.node.basic.id, "click")
|
|
@@ -1156,7 +1156,7 @@ const cl = /* @__PURE__ */ V({
|
|
|
1156
1156
|
"prepend-icon": n($),
|
|
1157
1157
|
readonly: n(I),
|
|
1158
1158
|
ripple: n(S),
|
|
1159
|
-
size: n(
|
|
1159
|
+
size: n(P),
|
|
1160
1160
|
stacked: n(E),
|
|
1161
1161
|
text: n(F),
|
|
1162
1162
|
theme: n(j),
|
|
@@ -1236,10 +1236,10 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1236
1236
|
"subtitle"
|
|
1237
1237
|
]), { property: y } = l(e, ["settings", "text"]), { theme: b } = D(), { property: g } = l(e, ["settings", "title"]), { property: x } = l(e, ["settings", "variant"]), { property: $ } = l(e, ["size", "width"]);
|
|
1238
1238
|
return (I, S) => {
|
|
1239
|
-
const
|
|
1239
|
+
const P = A("v-card");
|
|
1240
1240
|
return h(), _(n(M), { block: "" }, {
|
|
1241
1241
|
default: k(() => [
|
|
1242
|
-
R(
|
|
1242
|
+
R(P, {
|
|
1243
1243
|
density: n(i),
|
|
1244
1244
|
disabled: n(o),
|
|
1245
1245
|
height: n(s),
|
|
@@ -1566,7 +1566,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1566
1566
|
});
|
|
1567
1567
|
};
|
|
1568
1568
|
}
|
|
1569
|
-
}),
|
|
1569
|
+
}), Tl = ["id"], Pl = /* @__PURE__ */ V({
|
|
1570
1570
|
__name: "index",
|
|
1571
1571
|
props: {
|
|
1572
1572
|
node: {},
|
|
@@ -1589,7 +1589,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1589
1589
|
n(i) === "editor" ? (h(), te("div", {
|
|
1590
1590
|
key: 0,
|
|
1591
1591
|
id: `__node__@${o.value}`
|
|
1592
|
-
}, null, 8,
|
|
1592
|
+
}, null, 8, Tl)) : ne("", !0)
|
|
1593
1593
|
]),
|
|
1594
1594
|
default: k(() => [
|
|
1595
1595
|
B(r.$slots, "default")
|
|
@@ -1654,13 +1654,13 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1654
1654
|
"backgroundColor"
|
|
1655
1655
|
]), { color: u } = O(d), m = (b) => {
|
|
1656
1656
|
u.value && (b.backgroundColor = u.value), b.display = "flex";
|
|
1657
|
-
const g = Fe(i.value.width), x =
|
|
1657
|
+
const g = Fe(i.value.width), x = Te(g, e.node.settings?.direction);
|
|
1658
1658
|
x === "row" ? b.flexDirection = "row" : x === "rowReverse" ? b.flexDirection = "row-reverse" : x === "column" ? b.flexDirection = "column" : x === "columnReverse" && (b.flexDirection = "column-reverse");
|
|
1659
|
-
const $ =
|
|
1659
|
+
const $ = Te(g, e.node.settings?.wrap);
|
|
1660
1660
|
$ === "no" ? b.flexWrap = "nowrap" : $ === "yes" ? b.flexWrap = "wrap" : $ === "reverse" && (b.flexWrap = "wrap-reverse");
|
|
1661
|
-
const I =
|
|
1661
|
+
const I = Te(g, e.node.settings?.mainAlign);
|
|
1662
1662
|
I === "start" ? b.justifyContent = "flex-start" : I === "end" ? b.justifyContent = "flex-end" : I === "center" ? b.justifyContent = "center" : I === "spaceBetween" ? b.justifyContent = "space-between" : I === "spaceAround" ? b.justifyContent = "space-around" : I === "spaceEvenly" && (b.justifyContent = "space-evenly");
|
|
1663
|
-
const S =
|
|
1663
|
+
const S = Te(g, e.node.settings?.crossAlign);
|
|
1664
1664
|
S === "start" ? b.alignItems = "flex-start" : S === "end" ? b.alignItems = "flex-end" : S === "center" ? b.alignItems = "center" : S === "baseline" ? b.alignItems = "baseline" : S === "stretch" && (b.alignItems = "stretch");
|
|
1665
1665
|
}, y = v(() => {
|
|
1666
1666
|
const b = {}, g = s.value.type;
|
|
@@ -1715,7 +1715,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1715
1715
|
const S = A("v-form");
|
|
1716
1716
|
return h(), _(S, {
|
|
1717
1717
|
modelValue: n(a),
|
|
1718
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
1718
|
+
"onUpdate:modelValue": I[0] || (I[0] = (P) => X(a) ? a.value = P : null),
|
|
1719
1719
|
"fast-fail": n(c),
|
|
1720
1720
|
style: ee(g.value),
|
|
1721
1721
|
onSubmit: Yo(x, ["prevent"])
|
|
@@ -1822,7 +1822,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1822
1822
|
]), { property: I } = l(e, [
|
|
1823
1823
|
"settings",
|
|
1824
1824
|
"readonly"
|
|
1825
|
-
]), { property: S } = l(e, ["settings", "reverse"]), { property:
|
|
1825
|
+
]), { property: S } = l(e, ["settings", "reverse"]), { property: P } = l(e, [
|
|
1826
1826
|
"settings",
|
|
1827
1827
|
"singleLine"
|
|
1828
1828
|
]), { property: E } = l(e, ["settings", "step"]), { property: F } = l(e, ["settings", "suffix"]), { theme: j } = D(), { property: N } = l(e, ["settings", "value"]), { property: C } = l(e, ["settings", "variant"]), { property: G } = l(e, ["size", "width"]);
|
|
@@ -1850,7 +1850,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
1850
1850
|
"prepend-inner-icon": n($),
|
|
1851
1851
|
readonly: n(I),
|
|
1852
1852
|
reverse: n(S),
|
|
1853
|
-
"single-line": n(
|
|
1853
|
+
"single-line": n(P),
|
|
1854
1854
|
step: n(E),
|
|
1855
1855
|
suffix: n(F),
|
|
1856
1856
|
theme: n(j),
|
|
@@ -2016,7 +2016,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
2016
2016
|
N[C] = G;
|
|
2017
2017
|
if (!fo(N))
|
|
2018
2018
|
return N;
|
|
2019
|
-
}), { property:
|
|
2019
|
+
}), { property: P } = l(e, [
|
|
2020
2020
|
"settings",
|
|
2021
2021
|
"tickSize"
|
|
2022
2022
|
]), { property: E } = l(e, [
|
|
@@ -2053,7 +2053,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
2053
2053
|
theme: n(b),
|
|
2054
2054
|
"thumb-label": x.value,
|
|
2055
2055
|
"thumb-size": n($),
|
|
2056
|
-
"tick-size": n(
|
|
2056
|
+
"tick-size": n(P),
|
|
2057
2057
|
ticks: S.value
|
|
2058
2058
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
|
|
2059
2059
|
]),
|
|
@@ -2174,7 +2174,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
2174
2174
|
]), { color: I } = O($), { property: S } = l(e, [
|
|
2175
2175
|
"settings",
|
|
2176
2176
|
"thumbLabel"
|
|
2177
|
-
]),
|
|
2177
|
+
]), P = v(() => {
|
|
2178
2178
|
if (S.value === "always")
|
|
2179
2179
|
return "always";
|
|
2180
2180
|
if (S.value === "show")
|
|
@@ -2220,7 +2220,7 @@ const gl = /* @__PURE__ */ Se(bl, [["render", hl]]), xl = /* @__PURE__ */ V({
|
|
|
2220
2220
|
step: n(g),
|
|
2221
2221
|
theme: n(x),
|
|
2222
2222
|
"thumb-color": n(I),
|
|
2223
|
-
"thumb-label":
|
|
2223
|
+
"thumb-label": P.value,
|
|
2224
2224
|
"thumb-size": n(E),
|
|
2225
2225
|
"tick-size": n(N),
|
|
2226
2226
|
ticks: j.value,
|
|
@@ -2448,7 +2448,7 @@ const Ql = /* @__PURE__ */ Se(Jl, [["render", Zl]]), ea = /* @__PURE__ */ V({
|
|
|
2448
2448
|
"settings",
|
|
2449
2449
|
"color",
|
|
2450
2450
|
"sliderColor"
|
|
2451
|
-
]), { color: S } = O(I), { property:
|
|
2451
|
+
]), { color: S } = O(I), { property: P } = l(e, ["settings", "stacked"]), { theme: E } = D(), { property: F } = l(e, ["settings", "value"]);
|
|
2452
2452
|
return (j, N) => {
|
|
2453
2453
|
const C = A("v-tabs");
|
|
2454
2454
|
return h(), _(n(M), { block: "" }, {
|
|
@@ -2470,7 +2470,7 @@ const Ql = /* @__PURE__ */ Se(Jl, [["render", Zl]]), ea = /* @__PURE__ */ V({
|
|
|
2470
2470
|
mandatory: n(x),
|
|
2471
2471
|
"show-arrows": n($),
|
|
2472
2472
|
"slider-color": n(S),
|
|
2473
|
-
stacked: n(
|
|
2473
|
+
stacked: n(P),
|
|
2474
2474
|
theme: n(E)
|
|
2475
2475
|
}, {
|
|
2476
2476
|
default: k(() => [
|
|
@@ -2497,7 +2497,7 @@ const Ql = /* @__PURE__ */ Se(Jl, [["render", Zl]]), ea = /* @__PURE__ */ V({
|
|
|
2497
2497
|
"settings",
|
|
2498
2498
|
"emphasis"
|
|
2499
2499
|
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property: p } = l(e, ["settings", "weight"]), d = v(() => {
|
|
2500
|
-
const u = [], m = Fe(i.value.width), y =
|
|
2500
|
+
const u = [], m = Fe(i.value.width), y = Te(m, e.node.settings?.style);
|
|
2501
2501
|
return y && u.push(`text-${y}`), r.value === "high" ? u.push("text-high-emphasis") : r.value === "medium" ? u.push("text-medium-emphasis") : r.value === "disabled" && u.push("text-disabled"), o.value && u.push(`font-${o.value}`), s.value && u.push(`text-decoration-${s.value}`), p.value && u.push(`font-weight-${p.value}`), a.value && u.push("font-italic"), u.join(" ");
|
|
2502
2502
|
});
|
|
2503
2503
|
return (u, m) => (h(), _(n(M), null, {
|
|
@@ -2536,10 +2536,10 @@ const Ql = /* @__PURE__ */ Se(Jl, [["render", Zl]]), ea = /* @__PURE__ */ V({
|
|
|
2536
2536
|
"singleLine"
|
|
2537
2537
|
]), { theme: g } = D(), { property: x } = l(e, ["settings", "value"]), { property: $ } = l(e, ["settings", "variant"]);
|
|
2538
2538
|
return (I, S) => {
|
|
2539
|
-
const
|
|
2539
|
+
const P = A("v-textarea");
|
|
2540
2540
|
return h(), _(n(M), { block: "" }, {
|
|
2541
2541
|
default: k(() => [
|
|
2542
|
-
R(
|
|
2542
|
+
R(P, {
|
|
2543
2543
|
modelValue: n(x),
|
|
2544
2544
|
"onUpdate:modelValue": S[0] || (S[0] = (E) => X(x) ? x.value = E : null),
|
|
2545
2545
|
"auto-grow": n(i),
|
|
@@ -2602,7 +2602,7 @@ const Ql = /* @__PURE__ */ Se(Jl, [["render", Zl]]), ea = /* @__PURE__ */ V({
|
|
|
2602
2602
|
]), { property: $ } = l(e, ["settings", "reverse"]), { property: I } = l(e, [
|
|
2603
2603
|
"settings",
|
|
2604
2604
|
"singleLine"
|
|
2605
|
-
]), { property: S } = l(e, ["settings", "suffix"]), { theme:
|
|
2605
|
+
]), { property: S } = l(e, ["settings", "suffix"]), { theme: P } = D(), { property: E } = l(e, ["settings", "value"]), { property: F } = l(e, ["settings", "variant"]), { property: j } = l(e, ["slots", "append"]), { property: N } = l(e, [
|
|
2606
2606
|
"slots",
|
|
2607
2607
|
"appendInner"
|
|
2608
2608
|
]), { property: C } = l(e, [
|
|
@@ -2636,7 +2636,7 @@ const Ql = /* @__PURE__ */ Se(Jl, [["render", Zl]]), ea = /* @__PURE__ */ V({
|
|
|
2636
2636
|
reverse: n($),
|
|
2637
2637
|
"single-line": n(I),
|
|
2638
2638
|
suffix: n(S),
|
|
2639
|
-
theme: n(
|
|
2639
|
+
theme: n(P),
|
|
2640
2640
|
variant: n(F)
|
|
2641
2641
|
}, En({ _: 2 }, [
|
|
2642
2642
|
n(j) ? {
|
|
@@ -2810,7 +2810,7 @@ function da(t, e) {
|
|
|
2810
2810
|
_: 3
|
|
2811
2811
|
});
|
|
2812
2812
|
}
|
|
2813
|
-
const ya = /* @__PURE__ */ Se(ma, [["render", da]]), Ye = "ambient_light_v1", qe = "badge_v1", Fn = "breadcrumbs_v1", Je = "bar_chart_v1", Ze = "box_geometry_v1", Qe = "btn_v1", et = "btn_group_v1", tt = "btn_toggle_v1", nt = "card_v1", it = "checkbox_v1", ot = "chip_v1", rt = "chip_group_v1", st = "color_picker_v1", lt = "combobox_v1", at = "container_v1", ct = "data_table_v1", ut = "date_picker_v1", pt = "dialog_v1", mt = "directional_light_v1", dt = "file_input_v1", yt = "flex_layout_v1", Io = "flex_layout_entry_v1", ft = "form_v1", sn = "globality_v1", bt = "group_v1", ht = "icon_v1", gt = "keyboard_controls_v1", xt = "line_chart_v1", vt = "map_controls_v1", kt = "menu_v1", _t = "mesh_v1", fa = "mesh_basic_material_v1", wt = "multiple_ref_v1", Vt = "number_input_v1", It = "orbit_controls_v1", $t = "orthographic_camera_v1", St = "pagination_v1", Ct = "perspective_camera_v1",
|
|
2813
|
+
const ya = /* @__PURE__ */ Se(ma, [["render", da]]), Ye = "ambient_light_v1", qe = "badge_v1", Fn = "breadcrumbs_v1", Je = "bar_chart_v1", Ze = "box_geometry_v1", Qe = "btn_v1", et = "btn_group_v1", tt = "btn_toggle_v1", nt = "card_v1", it = "checkbox_v1", ot = "chip_v1", rt = "chip_group_v1", st = "color_picker_v1", lt = "combobox_v1", at = "container_v1", ct = "data_table_v1", ut = "date_picker_v1", pt = "dialog_v1", mt = "directional_light_v1", dt = "file_input_v1", yt = "flex_layout_v1", Io = "flex_layout_entry_v1", ft = "form_v1", sn = "globality_v1", bt = "group_v1", ht = "icon_v1", gt = "keyboard_controls_v1", xt = "line_chart_v1", vt = "map_controls_v1", kt = "menu_v1", _t = "mesh_v1", fa = "mesh_basic_material_v1", wt = "multiple_ref_v1", Vt = "number_input_v1", It = "orbit_controls_v1", $t = "orthographic_camera_v1", St = "pagination_v1", Ct = "perspective_camera_v1", Tt = "point_light_v1", $o = "radio_v1", Pt = "radio_group_v1", zt = "range_slider_v1", Ae = "reference_v1", At = "rating_v1", Lt = "render_switch_v1", Et = "select_v1", Bt = "slider_v1", Wt = "sphere_geometry_v1", Rt = "spot_light_v1", Nt = "stepper_v1", So = "stepper_header_v1", Co = "stepper_item_v1", To = "stepper_window_v1", Po = "stepper_window_item_v1", Mt = "switch_v1", zo = "tab_v1", Gn = "table_v1", Dt = "tabs_v1", Ft = "text_v1", Gt = "textarea_v1", jt = "text_field_v1", Ht = "timeline_v1", Ao = "timeline_item_v1", Ot = "window_v1", Lo = "window_item_v1", f = {
|
|
2814
2814
|
key: "basic",
|
|
2815
2815
|
name: "x-runtime-lib.basic",
|
|
2816
2816
|
children: [
|
|
@@ -3417,7 +3417,7 @@ function Ia(t, e) {
|
|
|
3417
3417
|
return;
|
|
3418
3418
|
}
|
|
3419
3419
|
const r = {};
|
|
3420
|
-
return z(r, s), r.basic.id =
|
|
3420
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Ee.key, r.transform = {
|
|
3421
3421
|
position: {
|
|
3422
3422
|
x: 0,
|
|
3423
3423
|
y: 0,
|
|
@@ -3454,7 +3454,7 @@ function $a(t, e) {
|
|
|
3454
3454
|
return;
|
|
3455
3455
|
}
|
|
3456
3456
|
const r = {};
|
|
3457
|
-
return z(r, s), r.basic.id =
|
|
3457
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = ln.key, r.settings = {
|
|
3458
3458
|
width: 1,
|
|
3459
3459
|
height: 1,
|
|
3460
3460
|
depth: 1,
|
|
@@ -3479,7 +3479,7 @@ function Sa(t, e) {
|
|
|
3479
3479
|
return;
|
|
3480
3480
|
}
|
|
3481
3481
|
const r = {};
|
|
3482
|
-
return z(r, s), r.basic.id =
|
|
3482
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Le.key, r;
|
|
3483
3483
|
}
|
|
3484
3484
|
const ii = {
|
|
3485
3485
|
key: "settings",
|
|
@@ -3552,7 +3552,7 @@ function Ca(t, e) {
|
|
|
3552
3552
|
return;
|
|
3553
3553
|
}
|
|
3554
3554
|
const r = {};
|
|
3555
|
-
return z(r, s), r.basic.id =
|
|
3555
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Ee.key, r.transform = {
|
|
3556
3556
|
position: {
|
|
3557
3557
|
x: 0,
|
|
3558
3558
|
y: 0,
|
|
@@ -3569,11 +3569,11 @@ function Ca(t, e) {
|
|
|
3569
3569
|
z: 1
|
|
3570
3570
|
}
|
|
3571
3571
|
}, r.children = [
|
|
3572
|
-
|
|
3573
|
-
|
|
3572
|
+
Ta(t, e),
|
|
3573
|
+
Pa(t, e)
|
|
3574
3574
|
], r;
|
|
3575
3575
|
}
|
|
3576
|
-
function
|
|
3576
|
+
function Ta(t, e) {
|
|
3577
3577
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
3578
3578
|
if (!o) {
|
|
3579
3579
|
console.error(
|
|
@@ -3589,7 +3589,7 @@ function Pa(t, e) {
|
|
|
3589
3589
|
return;
|
|
3590
3590
|
}
|
|
3591
3591
|
const r = {};
|
|
3592
|
-
return z(r, s), r.basic.id =
|
|
3592
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = an.key, r.settings = {
|
|
3593
3593
|
radius: 1,
|
|
3594
3594
|
widthSegements: 32,
|
|
3595
3595
|
heightSegements: 16,
|
|
@@ -3599,7 +3599,7 @@ function Pa(t, e) {
|
|
|
3599
3599
|
thetaLength: 3.141592653589793
|
|
3600
3600
|
}, r;
|
|
3601
3601
|
}
|
|
3602
|
-
function
|
|
3602
|
+
function Pa(t, e) {
|
|
3603
3603
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
3604
3604
|
if (!o) {
|
|
3605
3605
|
console.error(
|
|
@@ -3615,7 +3615,7 @@ function Ta(t, e) {
|
|
|
3615
3615
|
return;
|
|
3616
3616
|
}
|
|
3617
3617
|
const r = {};
|
|
3618
|
-
return z(r, s), r.basic.id =
|
|
3618
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Le.key, r;
|
|
3619
3619
|
}
|
|
3620
3620
|
const oi = {
|
|
3621
3621
|
key: "settings",
|
|
@@ -3776,7 +3776,7 @@ const li = {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
]
|
|
3778
3778
|
}, La = {
|
|
3779
|
-
key:
|
|
3779
|
+
key: Tt,
|
|
3780
3780
|
name: "x-runtime-lib.pointLight",
|
|
3781
3781
|
comp: Ur,
|
|
3782
3782
|
properties: {
|
|
@@ -3901,7 +3901,7 @@ function Wa(t, e) {
|
|
|
3901
3901
|
return;
|
|
3902
3902
|
}
|
|
3903
3903
|
const r = {};
|
|
3904
|
-
return z(r, s), r.basic.id =
|
|
3904
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = cn.key, r.size.height = "300px", r.xAxis.data = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], r.series = [
|
|
3905
3905
|
{
|
|
3906
3906
|
type: "bar",
|
|
3907
3907
|
data: [120, 200, 150, 80, 70, 110, 130]
|
|
@@ -3956,7 +3956,7 @@ function Ra(t, e) {
|
|
|
3956
3956
|
return;
|
|
3957
3957
|
}
|
|
3958
3958
|
const r = {};
|
|
3959
|
-
return z(r, s), r.basic.id =
|
|
3959
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = un.key, r.size.height = "300px", r.xAxis.data = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], r.series = [
|
|
3960
3960
|
{
|
|
3961
3961
|
type: "line",
|
|
3962
3962
|
data: [120, 200, 150, 80, 70, 110, 130]
|
|
@@ -4181,7 +4181,7 @@ function Ga(t, e) {
|
|
|
4181
4181
|
return;
|
|
4182
4182
|
}
|
|
4183
4183
|
const r = {};
|
|
4184
|
-
return z(r, s), r.basic.id =
|
|
4184
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = pn.key, r.settings.text = "button", r;
|
|
4185
4185
|
}
|
|
4186
4186
|
const ja = W(K), bi = {
|
|
4187
4187
|
key: "settings",
|
|
@@ -4390,7 +4390,7 @@ function Ka(t, e) {
|
|
|
4390
4390
|
return;
|
|
4391
4391
|
}
|
|
4392
4392
|
const r = {};
|
|
4393
|
-
return z(r, s), r.basic.id =
|
|
4393
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Be.key, r.children = [], r.settings.title = "title", r.settings.subtitle = "subtitle", r.settings.text = "text", r;
|
|
4394
4394
|
}
|
|
4395
4395
|
const gi = {
|
|
4396
4396
|
key: "settings",
|
|
@@ -4593,7 +4593,7 @@ function Ya(t, e) {
|
|
|
4593
4593
|
return;
|
|
4594
4594
|
}
|
|
4595
4595
|
const r = {};
|
|
4596
|
-
return z(r, s), r.basic.id =
|
|
4596
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = dn.key, r.children = [
|
|
4597
4597
|
_e(t, e, "chip1", "chip 1"),
|
|
4598
4598
|
_e(t, e, "chip2", "chip 2"),
|
|
4599
4599
|
_e(t, e, "chip3", "chip 3"),
|
|
@@ -4614,7 +4614,7 @@ function _e(t, e, i, o) {
|
|
|
4614
4614
|
return;
|
|
4615
4615
|
}
|
|
4616
4616
|
const c = {};
|
|
4617
|
-
return z(c, a), c.basic.id =
|
|
4617
|
+
return z(c, a), c.basic.id = T(16), c.basic.key = mn.key, c.settings.value = i, c.settings.text = o, c;
|
|
4618
4618
|
}
|
|
4619
4619
|
const ki = {
|
|
4620
4620
|
key: "settings",
|
|
@@ -4962,7 +4962,7 @@ w(Qa);
|
|
|
4962
4962
|
const ec = {
|
|
4963
4963
|
key: pt,
|
|
4964
4964
|
name: "x-runtime-lib.dialog",
|
|
4965
|
-
comp:
|
|
4965
|
+
comp: Pl,
|
|
4966
4966
|
properties: {
|
|
4967
4967
|
pageCommon: [f],
|
|
4968
4968
|
compCommon: [f]
|
|
@@ -5044,7 +5044,7 @@ function tc(t, e) {
|
|
|
5044
5044
|
return;
|
|
5045
5045
|
}
|
|
5046
5046
|
const r = {};
|
|
5047
|
-
return z(r, s), r.basic.id =
|
|
5047
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = We.key, r.children = [
|
|
5048
5048
|
bn(
|
|
5049
5049
|
t,
|
|
5050
5050
|
e,
|
|
@@ -5084,7 +5084,7 @@ function bn(t, e, i, o, s, r, a, c, p) {
|
|
|
5084
5084
|
return;
|
|
5085
5085
|
}
|
|
5086
5086
|
const y = {};
|
|
5087
|
-
return z(y, m), y.basic.id =
|
|
5087
|
+
return z(y, m), y.basic.id = T(16), y.basic.key = yn.key, o && (y.size.width = o), s && (y.size.minWidth = s), a && (y.size.height = a), c && (y.size.minHeight = c), i && (y.settings.backgroundColor.mode = "custom", y.settings.backgroundColor.custom.light = i, y.settings.backgroundColor.custom.dark = i), y.children = [], y;
|
|
5088
5088
|
}
|
|
5089
5089
|
function nc(t, e) {
|
|
5090
5090
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
@@ -5105,7 +5105,7 @@ function nc(t, e) {
|
|
|
5105
5105
|
key: ""
|
|
5106
5106
|
}
|
|
5107
5107
|
};
|
|
5108
|
-
return z(r, s), r.basic.id =
|
|
5108
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = fn.key, r.children = [
|
|
5109
5109
|
bn(
|
|
5110
5110
|
t,
|
|
5111
5111
|
e,
|
|
@@ -5121,7 +5121,7 @@ function nc(t, e) {
|
|
|
5121
5121
|
const Hn = W(K);
|
|
5122
5122
|
Hn.key = "backgroundColor";
|
|
5123
5123
|
Hn.name = "x-runtime-lib.backgroundColor";
|
|
5124
|
-
const
|
|
5124
|
+
const Ti = {
|
|
5125
5125
|
key: "settings",
|
|
5126
5126
|
name: "x-runtime-lib.settings",
|
|
5127
5127
|
children: [
|
|
@@ -5296,8 +5296,8 @@ const Pi = {
|
|
|
5296
5296
|
name: "x-runtime-lib.flexLayout",
|
|
5297
5297
|
comp: Al,
|
|
5298
5298
|
properties: {
|
|
5299
|
-
pageCommon: [f, U, Ve, Ie, $e,
|
|
5300
|
-
compCommon: [f, U, Ve, Ie, $e,
|
|
5299
|
+
pageCommon: [f, U, Ve, Ie, $e, Ti],
|
|
5300
|
+
compCommon: [f, U, Ve, Ie, $e, Ti]
|
|
5301
5301
|
},
|
|
5302
5302
|
events: [
|
|
5303
5303
|
{
|
|
@@ -5311,7 +5311,7 @@ const Pi = {
|
|
|
5311
5311
|
spawn: tc
|
|
5312
5312
|
};
|
|
5313
5313
|
w(We);
|
|
5314
|
-
const
|
|
5314
|
+
const Pi = {
|
|
5315
5315
|
key: "settings",
|
|
5316
5316
|
name: "x-runtime-lib.settings",
|
|
5317
5317
|
children: [
|
|
@@ -5466,8 +5466,8 @@ const Ti = {
|
|
|
5466
5466
|
name: "x-runtime-lib.textField",
|
|
5467
5467
|
comp: sa,
|
|
5468
5468
|
properties: {
|
|
5469
|
-
pageCommon: [f,
|
|
5470
|
-
compCommon: [f,
|
|
5469
|
+
pageCommon: [f, Pi, zi],
|
|
5470
|
+
compCommon: [f, Pi, zi]
|
|
5471
5471
|
},
|
|
5472
5472
|
events: [],
|
|
5473
5473
|
methods: [],
|
|
@@ -5512,7 +5512,7 @@ function ic(t, e) {
|
|
|
5512
5512
|
return;
|
|
5513
5513
|
}
|
|
5514
5514
|
const r = {};
|
|
5515
|
-
return z(r, s), r.basic.id =
|
|
5515
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = gn.key, r.children = [oc(t, e)], r;
|
|
5516
5516
|
}
|
|
5517
5517
|
function oc(t, e) {
|
|
5518
5518
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
@@ -5526,7 +5526,7 @@ function oc(t, e) {
|
|
|
5526
5526
|
return;
|
|
5527
5527
|
}
|
|
5528
5528
|
const r = {};
|
|
5529
|
-
return z(r, s), r.basic.id =
|
|
5529
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = hn.key, r;
|
|
5530
5530
|
}
|
|
5531
5531
|
const Ai = {
|
|
5532
5532
|
key: "settings",
|
|
@@ -5644,7 +5644,7 @@ function ac(t, e) {
|
|
|
5644
5644
|
return;
|
|
5645
5645
|
}
|
|
5646
5646
|
const r = {};
|
|
5647
|
-
return z(r, s), r.basic.id =
|
|
5647
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = xn.key, r.settings.label = "label", r.settings.placeholder = "placeholder", r;
|
|
5648
5648
|
}
|
|
5649
5649
|
const Ei = {
|
|
5650
5650
|
key: "size",
|
|
@@ -5994,7 +5994,7 @@ function pc(t, e) {
|
|
|
5994
5994
|
return;
|
|
5995
5995
|
}
|
|
5996
5996
|
const r = {};
|
|
5997
|
-
return z(r, s), r.basic.id =
|
|
5997
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = kn.key, r.children = [
|
|
5998
5998
|
Qt(t, e, "option1", "Option 1"),
|
|
5999
5999
|
Qt(t, e, "option2", "Option 2"),
|
|
6000
6000
|
Qt(t, e, "option3", "Option 3")
|
|
@@ -6014,7 +6014,7 @@ function Qt(t, e, i, o) {
|
|
|
6014
6014
|
return;
|
|
6015
6015
|
}
|
|
6016
6016
|
const c = {};
|
|
6017
|
-
return z(c, a), c.basic.id =
|
|
6017
|
+
return z(c, a), c.basic.id = T(16), c.basic.key = vn.key, c.settings.value = i, c.settings.label = o, c;
|
|
6018
6018
|
}
|
|
6019
6019
|
const Ni = {
|
|
6020
6020
|
key: "settings",
|
|
@@ -6060,7 +6060,7 @@ const Ni = {
|
|
|
6060
6060
|
}
|
|
6061
6061
|
]
|
|
6062
6062
|
}, kn = {
|
|
6063
|
-
key:
|
|
6063
|
+
key: Pt,
|
|
6064
6064
|
name: "x-runtime-lib.radioGroup",
|
|
6065
6065
|
comp: Fl,
|
|
6066
6066
|
properties: {
|
|
@@ -6515,7 +6515,7 @@ const Hi = {
|
|
|
6515
6515
|
};
|
|
6516
6516
|
w(wn);
|
|
6517
6517
|
const Vn = {
|
|
6518
|
-
key:
|
|
6518
|
+
key: To,
|
|
6519
6519
|
name: "x-runtime-lib.stepperWindow",
|
|
6520
6520
|
comp: Ql,
|
|
6521
6521
|
properties: {
|
|
@@ -6539,7 +6539,7 @@ const Oi = {
|
|
|
6539
6539
|
}
|
|
6540
6540
|
]
|
|
6541
6541
|
}, In = {
|
|
6542
|
-
key:
|
|
6542
|
+
key: Po,
|
|
6543
6543
|
name: "x-runtime-lib.stepperWindowItem",
|
|
6544
6544
|
comp: ea,
|
|
6545
6545
|
properties: {
|
|
@@ -6563,7 +6563,7 @@ function bc(t, e) {
|
|
|
6563
6563
|
return;
|
|
6564
6564
|
}
|
|
6565
6565
|
const r = {};
|
|
6566
|
-
return z(r, s), r.basic.id =
|
|
6566
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = $n.key, r.children = [hc(t, e), gc(t, e)], r;
|
|
6567
6567
|
}
|
|
6568
6568
|
function hc(t, e) {
|
|
6569
6569
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
@@ -6577,7 +6577,7 @@ function hc(t, e) {
|
|
|
6577
6577
|
return;
|
|
6578
6578
|
}
|
|
6579
6579
|
const r = {};
|
|
6580
|
-
return z(r, s), r.basic.id =
|
|
6580
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = _n.key, r.children = [
|
|
6581
6581
|
en(t, e, "step1"),
|
|
6582
6582
|
en(t, e, "step2"),
|
|
6583
6583
|
en(t, e, "step3")
|
|
@@ -6595,7 +6595,7 @@ function en(t, e, i) {
|
|
|
6595
6595
|
return;
|
|
6596
6596
|
}
|
|
6597
6597
|
const a = {};
|
|
6598
|
-
return z(a, r), a.basic.id =
|
|
6598
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = wn.key, a.children = [], a.settings.value = i, a;
|
|
6599
6599
|
}
|
|
6600
6600
|
function gc(t, e) {
|
|
6601
6601
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
@@ -6609,7 +6609,7 @@ function gc(t, e) {
|
|
|
6609
6609
|
return;
|
|
6610
6610
|
}
|
|
6611
6611
|
const r = {};
|
|
6612
|
-
return z(r, s), r.basic.id =
|
|
6612
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Vn.key, r.children = [
|
|
6613
6613
|
tn(t, e, "step1", "step 1"),
|
|
6614
6614
|
tn(t, e, "step2", "step 2"),
|
|
6615
6615
|
tn(t, e, "step3", "step 3")
|
|
@@ -6631,7 +6631,7 @@ function tn(t, e, i, o) {
|
|
|
6631
6631
|
return;
|
|
6632
6632
|
}
|
|
6633
6633
|
const c = {};
|
|
6634
|
-
return z(c, a), c.basic.id =
|
|
6634
|
+
return z(c, a), c.basic.id = T(16), c.basic.key = In.key, c.children = [xc(t, e, o)], c.settings.value = i, c;
|
|
6635
6635
|
}
|
|
6636
6636
|
function xc(t, e, i) {
|
|
6637
6637
|
const o = `type=${t} subtype=${e}`, s = L(t, e);
|
|
@@ -6645,7 +6645,7 @@ function xc(t, e, i) {
|
|
|
6645
6645
|
return;
|
|
6646
6646
|
}
|
|
6647
6647
|
const a = {};
|
|
6648
|
-
return z(a, r), a.basic.id =
|
|
6648
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = Be.key, a.children = [], a.settings.title = i, a;
|
|
6649
6649
|
}
|
|
6650
6650
|
const Ki = {
|
|
6651
6651
|
key: "settings",
|
|
@@ -6735,7 +6735,7 @@ function kc(t, e) {
|
|
|
6735
6735
|
return;
|
|
6736
6736
|
}
|
|
6737
6737
|
const r = {};
|
|
6738
|
-
return z(r, s), r.basic.id =
|
|
6738
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Cn.key, r.children = [
|
|
6739
6739
|
nn(t, e, "tab1", "tab 1"),
|
|
6740
6740
|
nn(t, e, "tab2", "tab 2"),
|
|
6741
6741
|
nn(t, e, "tab3", "tab 3")
|
|
@@ -6753,7 +6753,7 @@ function nn(t, e, i, o) {
|
|
|
6753
6753
|
return;
|
|
6754
6754
|
}
|
|
6755
6755
|
const c = {};
|
|
6756
|
-
return z(c, a), c.basic.id =
|
|
6756
|
+
return z(c, a), c.basic.id = T(16), c.basic.key = Sn.key, c.settings.value = i, c.settings.text = o, c;
|
|
6757
6757
|
}
|
|
6758
6758
|
const Xn = W(K);
|
|
6759
6759
|
Xn.key = "backgroundColor";
|
|
@@ -6869,7 +6869,7 @@ function _c(t, e) {
|
|
|
6869
6869
|
return;
|
|
6870
6870
|
}
|
|
6871
6871
|
const r = {};
|
|
6872
|
-
return z(r, s), r.basic.id =
|
|
6872
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = xe.key, r.settings.text = "text", r;
|
|
6873
6873
|
}
|
|
6874
6874
|
const Yi = {
|
|
6875
6875
|
key: "settings",
|
|
@@ -6978,13 +6978,13 @@ function wc(t, e) {
|
|
|
6978
6978
|
console.error(`textareaV1/spawn property tag not found, ${i}`);
|
|
6979
6979
|
return;
|
|
6980
6980
|
}
|
|
6981
|
-
const s =
|
|
6981
|
+
const s = Tn.properties[o];
|
|
6982
6982
|
if (!s) {
|
|
6983
6983
|
console.error(`textareaV1/spawn properties not found, ${i}`);
|
|
6984
6984
|
return;
|
|
6985
6985
|
}
|
|
6986
6986
|
const r = {};
|
|
6987
|
-
return z(r, s), r.basic.id =
|
|
6987
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Tn.key, r.settings.label = "label", r;
|
|
6988
6988
|
}
|
|
6989
6989
|
const qi = {
|
|
6990
6990
|
key: "settings",
|
|
@@ -7057,7 +7057,7 @@ const qi = {
|
|
|
7057
7057
|
default: 0
|
|
7058
7058
|
}
|
|
7059
7059
|
]
|
|
7060
|
-
},
|
|
7060
|
+
}, Tn = {
|
|
7061
7061
|
key: Gt,
|
|
7062
7062
|
name: "x-runtime-lib.textarea",
|
|
7063
7063
|
comp: ra,
|
|
@@ -7071,8 +7071,8 @@ const qi = {
|
|
|
7071
7071
|
leaf: !0,
|
|
7072
7072
|
spawn: wc
|
|
7073
7073
|
};
|
|
7074
|
-
w(
|
|
7075
|
-
const
|
|
7074
|
+
w(Tn);
|
|
7075
|
+
const Pn = {
|
|
7076
7076
|
key: Ao,
|
|
7077
7077
|
name: "x-runtime-lib.timelineItem",
|
|
7078
7078
|
comp: ua,
|
|
@@ -7084,7 +7084,7 @@ const Tn = {
|
|
|
7084
7084
|
methods: [],
|
|
7085
7085
|
slots: []
|
|
7086
7086
|
};
|
|
7087
|
-
w(
|
|
7087
|
+
w(Pn);
|
|
7088
7088
|
function Vc(t, e) {
|
|
7089
7089
|
const i = `type=${t} subtype=${e}`, o = L(t, e);
|
|
7090
7090
|
if (!o) {
|
|
@@ -7097,7 +7097,7 @@ function Vc(t, e) {
|
|
|
7097
7097
|
return;
|
|
7098
7098
|
}
|
|
7099
7099
|
const r = {};
|
|
7100
|
-
return z(r, s), r.basic.id =
|
|
7100
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = zn.key, r.children = [
|
|
7101
7101
|
on(t, e, "timeline 1"),
|
|
7102
7102
|
on(t, e, "timeline 2"),
|
|
7103
7103
|
on(t, e, "timeline 3")
|
|
@@ -7109,13 +7109,13 @@ function on(t, e, i) {
|
|
|
7109
7109
|
console.error(`timelineV1/spawnEntry property tag not found, ${o}`);
|
|
7110
7110
|
return;
|
|
7111
7111
|
}
|
|
7112
|
-
const r =
|
|
7112
|
+
const r = Pn.properties[s];
|
|
7113
7113
|
if (!r) {
|
|
7114
7114
|
console.error(`timelineV1/spawnEntry properties not found, ${o}`);
|
|
7115
7115
|
return;
|
|
7116
7116
|
}
|
|
7117
7117
|
const a = {};
|
|
7118
|
-
return z(a, r), a.basic.id =
|
|
7118
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = Pn.key, a.children = [Ic(t, e, i)], a;
|
|
7119
7119
|
}
|
|
7120
7120
|
function Ic(t, e, i) {
|
|
7121
7121
|
const o = `type=${t} subtype=${e}`, s = L(t, e);
|
|
@@ -7129,7 +7129,7 @@ function Ic(t, e, i) {
|
|
|
7129
7129
|
return;
|
|
7130
7130
|
}
|
|
7131
7131
|
const a = {};
|
|
7132
|
-
return z(a, r), a.basic.id =
|
|
7132
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = xe.key, a.settings.text = i, a;
|
|
7133
7133
|
}
|
|
7134
7134
|
const $c = W(K), Sc = W(K), Ji = {
|
|
7135
7135
|
key: "settings",
|
|
@@ -7248,7 +7248,7 @@ function Cc(t, e) {
|
|
|
7248
7248
|
return;
|
|
7249
7249
|
}
|
|
7250
7250
|
const r = {};
|
|
7251
|
-
return z(r, s), r.basic.id =
|
|
7251
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Ln.key, r.children = [
|
|
7252
7252
|
rn(t, e, "window 1"),
|
|
7253
7253
|
rn(t, e, "window 2"),
|
|
7254
7254
|
rn(t, e, "window 3")
|
|
@@ -7266,9 +7266,9 @@ function rn(t, e, i) {
|
|
|
7266
7266
|
return;
|
|
7267
7267
|
}
|
|
7268
7268
|
const a = {};
|
|
7269
|
-
return z(a, r), a.basic.id =
|
|
7269
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = An.key, a.children = [Tc(t, e, i)], a;
|
|
7270
7270
|
}
|
|
7271
|
-
function
|
|
7271
|
+
function Tc(t, e, i) {
|
|
7272
7272
|
const o = `type=${t} subtype=${e}`, s = L(t, e);
|
|
7273
7273
|
if (!s) {
|
|
7274
7274
|
console.error(
|
|
@@ -7282,9 +7282,9 @@ function Pc(t, e, i) {
|
|
|
7282
7282
|
return;
|
|
7283
7283
|
}
|
|
7284
7284
|
const a = {};
|
|
7285
|
-
return z(a, r), a.basic.id =
|
|
7285
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = We.key, a.size.height = "200px", a.settings.mainAlign.xs = "center", a.settings.crossAlign.xs = "center", a.settings.backgroundColor.mode = "theme", a.settings.backgroundColor.theme = "background2", a.children = [Pc(t, e, i)], a;
|
|
7286
7286
|
}
|
|
7287
|
-
function
|
|
7287
|
+
function Pc(t, e, i) {
|
|
7288
7288
|
const o = `type=${t} subtype=${e}`, s = L(t, e);
|
|
7289
7289
|
if (!s) {
|
|
7290
7290
|
console.error(`windowV1/spawnText property tag not found, ${o}`);
|
|
@@ -7296,7 +7296,7 @@ function Tc(t, e, i) {
|
|
|
7296
7296
|
return;
|
|
7297
7297
|
}
|
|
7298
7298
|
const a = {};
|
|
7299
|
-
return z(a, r), a.basic.id =
|
|
7299
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = xe.key, a.settings.text = i, a.settings.style.xs = "h6", a;
|
|
7300
7300
|
}
|
|
7301
7301
|
const Zi = {
|
|
7302
7302
|
key: "settings",
|
|
@@ -7769,7 +7769,7 @@ const zc = [
|
|
|
7769
7769
|
Et,
|
|
7770
7770
|
lt,
|
|
7771
7771
|
Mt,
|
|
7772
|
-
|
|
7772
|
+
Pt,
|
|
7773
7773
|
it,
|
|
7774
7774
|
Bt,
|
|
7775
7775
|
zt,
|
|
@@ -7829,7 +7829,7 @@ const zc = [
|
|
|
7829
7829
|
items: [
|
|
7830
7830
|
Ye,
|
|
7831
7831
|
mt,
|
|
7832
|
-
|
|
7832
|
+
Tt,
|
|
7833
7833
|
Rt
|
|
7834
7834
|
]
|
|
7835
7835
|
},
|
|
@@ -7874,7 +7874,7 @@ const zc = [
|
|
|
7874
7874
|
Et,
|
|
7875
7875
|
lt,
|
|
7876
7876
|
Mt,
|
|
7877
|
-
|
|
7877
|
+
Pt,
|
|
7878
7878
|
it,
|
|
7879
7879
|
Bt,
|
|
7880
7880
|
zt,
|
|
@@ -7934,7 +7934,7 @@ const zc = [
|
|
|
7934
7934
|
items: [
|
|
7935
7935
|
Ye,
|
|
7936
7936
|
mt,
|
|
7937
|
-
|
|
7937
|
+
Tt,
|
|
7938
7938
|
Rt
|
|
7939
7939
|
]
|
|
7940
7940
|
},
|
|
@@ -7992,9 +7992,9 @@ const zc = [
|
|
|
7992
7992
|
$t,
|
|
7993
7993
|
St,
|
|
7994
7994
|
Ct,
|
|
7995
|
-
Pt,
|
|
7996
|
-
$o,
|
|
7997
7995
|
Tt,
|
|
7996
|
+
$o,
|
|
7997
|
+
Pt,
|
|
7998
7998
|
zt,
|
|
7999
7999
|
At,
|
|
8000
8000
|
Ae,
|
|
@@ -8006,8 +8006,8 @@ const zc = [
|
|
|
8006
8006
|
Nt,
|
|
8007
8007
|
So,
|
|
8008
8008
|
Co,
|
|
8009
|
-
Po,
|
|
8010
8009
|
To,
|
|
8010
|
+
Po,
|
|
8011
8011
|
Mt,
|
|
8012
8012
|
zo,
|
|
8013
8013
|
Gn,
|
|
@@ -8095,7 +8095,7 @@ function Qu(t, e, i, o, s) {
|
|
|
8095
8095
|
key: ""
|
|
8096
8096
|
}
|
|
8097
8097
|
};
|
|
8098
|
-
return z(y, m), y.basic.id =
|
|
8098
|
+
return z(y, m), y.basic.id = T(16), y.basic.key = p, y.reference = {
|
|
8099
8099
|
comp: d
|
|
8100
8100
|
}, y;
|
|
8101
8101
|
} else {
|
|
@@ -8123,7 +8123,7 @@ function Qu(t, e, i, o, s) {
|
|
|
8123
8123
|
key: ""
|
|
8124
8124
|
}
|
|
8125
8125
|
};
|
|
8126
|
-
return z(m, u), m.basic.id =
|
|
8126
|
+
return z(m, u), m.basic.id = T(16), m.basic.key = p, d.leaf || (m.children = []), m;
|
|
8127
8127
|
}
|
|
8128
8128
|
}
|
|
8129
8129
|
}
|
|
@@ -8146,7 +8146,7 @@ function ep(t, e) {
|
|
|
8146
8146
|
}
|
|
8147
8147
|
function hu(t) {
|
|
8148
8148
|
function e(o) {
|
|
8149
|
-
o.basic.id =
|
|
8149
|
+
o.basic.id = T(16), o.children?.forEach((s) => e(s));
|
|
8150
8150
|
}
|
|
8151
8151
|
const i = W(t);
|
|
8152
8152
|
return e(i), i;
|
|
@@ -8212,7 +8212,7 @@ function ku(t) {
|
|
|
8212
8212
|
function be() {
|
|
8213
8213
|
return ae(Go);
|
|
8214
8214
|
}
|
|
8215
|
-
function
|
|
8215
|
+
function Pe(t) {
|
|
8216
8216
|
const e = [t.type];
|
|
8217
8217
|
return t.type === "elementProperty" ? e.push(t.nodeId, t.propertyKeys) : t.type === "customProperty" || t.type === "adaptSlotProperty" ? e.push(t.propertyId) : t.type === "state" ? e.push(t.stateId) : console.assert(!1), e.join("/");
|
|
8218
8218
|
}
|
|
@@ -8232,7 +8232,7 @@ function De(t, e, i, o, s) {
|
|
|
8232
8232
|
}
|
|
8233
8233
|
let d = null;
|
|
8234
8234
|
for (const m of p)
|
|
8235
|
-
if (i ===
|
|
8235
|
+
if (i === Pe(m)) {
|
|
8236
8236
|
if (m.subKeys) {
|
|
8237
8237
|
if (!le(
|
|
8238
8238
|
we(o, m.subKeys),
|
|
@@ -8536,17 +8536,14 @@ function Su(t) {
|
|
|
8536
8536
|
function Cu(t) {
|
|
8537
8537
|
Vu(t), $u(t), Su(t);
|
|
8538
8538
|
}
|
|
8539
|
-
const
|
|
8539
|
+
const Tu = `
|
|
8540
8540
|
var __env__ = 'dev'
|
|
8541
8541
|
var __mode__ = 'editor'
|
|
8542
8542
|
|
|
8543
8543
|
function __getEnvV1__() {
|
|
8544
8544
|
return __env__
|
|
8545
8545
|
}
|
|
8546
|
-
|
|
8547
|
-
var __pointerPosX__ = 0
|
|
8548
|
-
var __pointerPosY__ = 0
|
|
8549
|
-
`, Tu = `
|
|
8546
|
+
`, Pu = `
|
|
8550
8547
|
var __events__ = {}
|
|
8551
8548
|
|
|
8552
8549
|
function __onEventV1__(id, callback) {
|
|
@@ -8630,7 +8627,7 @@ function __destroy__() {
|
|
|
8630
8627
|
__events__ = {}
|
|
8631
8628
|
__timers__ = {}
|
|
8632
8629
|
}
|
|
8633
|
-
`, Lu =
|
|
8630
|
+
`, Lu = Tu + Pu + zu + Au;
|
|
8634
8631
|
function Eu(t) {
|
|
8635
8632
|
return t instanceof Array ? t.join(".") : t;
|
|
8636
8633
|
}
|
|
@@ -8717,14 +8714,20 @@ class Bu {
|
|
|
8717
8714
|
console.error("Sandbox/getVariable invalid interpreter");
|
|
8718
8715
|
return;
|
|
8719
8716
|
}
|
|
8720
|
-
return this.interpreter.
|
|
8717
|
+
return this.interpreter.pseudoToNative(
|
|
8718
|
+
this.interpreter.getProperty(this.interpreter.globalObject, e)
|
|
8719
|
+
);
|
|
8721
8720
|
}
|
|
8722
8721
|
setVariable(e, i) {
|
|
8723
8722
|
if (!this.interpreter) {
|
|
8724
8723
|
console.error("Sandbox/setVariable invalid interpreter");
|
|
8725
8724
|
return;
|
|
8726
8725
|
}
|
|
8727
|
-
this.interpreter.setProperty(
|
|
8726
|
+
this.interpreter.setProperty(
|
|
8727
|
+
this.interpreter.globalObject,
|
|
8728
|
+
e,
|
|
8729
|
+
this.interpreter.nativeToPseudo(i)
|
|
8730
|
+
);
|
|
8728
8731
|
}
|
|
8729
8732
|
run() {
|
|
8730
8733
|
if (!this.interpreter) {
|
|
@@ -8754,7 +8757,7 @@ ${Ir(e)}} catch (e) {
|
|
|
8754
8757
|
for (const r of i)
|
|
8755
8758
|
o.push(JSON.stringify(r));
|
|
8756
8759
|
const s = `try {
|
|
8757
|
-
|
|
8760
|
+
${e}(${o.join(", ")});
|
|
8758
8761
|
} catch (e) {
|
|
8759
8762
|
__messageV1__('error', 'run exception: ' + e.message);
|
|
8760
8763
|
}
|
|
@@ -8847,7 +8850,7 @@ ${Ir(e)}} catch (e) {
|
|
|
8847
8850
|
if (!Q(this.mode))
|
|
8848
8851
|
return;
|
|
8849
8852
|
const { methodKey: o } = jo(e), s = {};
|
|
8850
|
-
|
|
8853
|
+
this.eventBus.emit(e, { key: o, inputs: i, outputs: s }), this.setVariable("__callMethodResult__", s);
|
|
8851
8854
|
}
|
|
8852
8855
|
callCustomMethod(e, i) {
|
|
8853
8856
|
Q(this.mode) && this.callFunction(`__implementMethod$${e}__`, i);
|
|
@@ -8868,7 +8871,7 @@ ${Ir(e)}} catch (e) {
|
|
|
8868
8871
|
}
|
|
8869
8872
|
}
|
|
8870
8873
|
function Zn(t, e, i, o, s) {
|
|
8871
|
-
const r = gu(), a = xu(), c = H(), p = fe(), d = Ce(), u = Ne(), m = (I, S,
|
|
8874
|
+
const r = gu(), a = xu(), c = H(), p = fe(), d = Ce(), u = Ne(), m = (I, S, P, E) => {
|
|
8872
8875
|
if (Q(c) && (x.callFunction(
|
|
8873
8876
|
"__triggerEventV1__",
|
|
8874
8877
|
J(
|
|
@@ -8876,65 +8879,65 @@ function Zn(t, e, i, o, s) {
|
|
|
8876
8879
|
I,
|
|
8877
8880
|
Eu(S)
|
|
8878
8881
|
),
|
|
8879
|
-
|
|
8880
|
-
E ??
|
|
8882
|
+
P,
|
|
8883
|
+
E ?? P
|
|
8881
8884
|
), t.value?.code.reactivity)) {
|
|
8882
8885
|
let F = "";
|
|
8883
8886
|
S instanceof Array ? F = S.join(".") : F = S, De(
|
|
8884
8887
|
x,
|
|
8885
8888
|
t.value.code.reactivity,
|
|
8886
|
-
|
|
8889
|
+
Pe({
|
|
8887
8890
|
type: "elementProperty",
|
|
8888
8891
|
nodeId: I,
|
|
8889
8892
|
propertyKeys: F
|
|
8890
8893
|
}),
|
|
8891
|
-
|
|
8894
|
+
P,
|
|
8892
8895
|
E
|
|
8893
8896
|
);
|
|
8894
8897
|
}
|
|
8895
|
-
}, y = (I, S,
|
|
8898
|
+
}, y = (I, S, P) => {
|
|
8896
8899
|
Q(c) && (x.callFunction(
|
|
8897
8900
|
"__triggerEventV1__",
|
|
8898
8901
|
J("customPropertyChangeEvent", "globality", I),
|
|
8899
8902
|
S,
|
|
8900
|
-
|
|
8903
|
+
P ?? S
|
|
8901
8904
|
), x.parent?.callFunction(
|
|
8902
8905
|
"__triggerEventV1__",
|
|
8903
8906
|
J("referencePropertyChangeEvent", x.id, I),
|
|
8904
8907
|
S,
|
|
8905
|
-
|
|
8908
|
+
P ?? S
|
|
8906
8909
|
), x.parent?.callFunction(
|
|
8907
8910
|
"__triggerEventV1__",
|
|
8908
8911
|
J("multipleRefPropertyChangeEvent", x.id, I),
|
|
8909
8912
|
S,
|
|
8910
|
-
|
|
8913
|
+
P ?? S
|
|
8911
8914
|
), t.value?.code.reactivity && De(
|
|
8912
8915
|
x,
|
|
8913
8916
|
t.value.code.reactivity,
|
|
8914
|
-
|
|
8917
|
+
Pe({ type: "customProperty", propertyId: I }),
|
|
8915
8918
|
S,
|
|
8916
|
-
|
|
8919
|
+
P
|
|
8917
8920
|
));
|
|
8918
|
-
}, b = (I, S,
|
|
8921
|
+
}, b = (I, S, P) => {
|
|
8919
8922
|
Q(c) && t.value?.code.reactivity && De(
|
|
8920
8923
|
x,
|
|
8921
8924
|
t.value.code.reactivity,
|
|
8922
|
-
|
|
8925
|
+
Pe({ type: "adaptSlotProperty", propertyId: I }),
|
|
8923
8926
|
S,
|
|
8924
|
-
|
|
8927
|
+
P
|
|
8925
8928
|
);
|
|
8926
|
-
}, g = (I, S,
|
|
8929
|
+
}, g = (I, S, P) => {
|
|
8927
8930
|
Q(c) && (x.callFunction(
|
|
8928
8931
|
"__triggerEventV1__",
|
|
8929
8932
|
J("stateChangeEvent", "globality", I),
|
|
8930
8933
|
S,
|
|
8931
|
-
|
|
8934
|
+
P ?? S
|
|
8932
8935
|
), t.value?.code.reactivity && De(
|
|
8933
8936
|
x,
|
|
8934
8937
|
t.value.code.reactivity,
|
|
8935
|
-
|
|
8938
|
+
Pe({ type: "state", stateId: I }),
|
|
8936
8939
|
S,
|
|
8937
|
-
|
|
8940
|
+
P
|
|
8938
8941
|
));
|
|
8939
8942
|
}, x = new Bu(e, i, o, s, r, a, c, p, {
|
|
8940
8943
|
onElementPropertyChange: m,
|
|
@@ -8953,11 +8956,11 @@ function Zn(t, e, i, o, s) {
|
|
|
8953
8956
|
}), Q(c) && oe(
|
|
8954
8957
|
d,
|
|
8955
8958
|
(I, S) => {
|
|
8956
|
-
const
|
|
8959
|
+
const P = Fe(I.width), E = Fe(S?.width ?? I.width);
|
|
8957
8960
|
x.callFunction(
|
|
8958
8961
|
"__triggerEventV1__",
|
|
8959
8962
|
J("elementEvent", "globality", "screenSizeChange"),
|
|
8960
|
-
|
|
8963
|
+
P,
|
|
8961
8964
|
E
|
|
8962
8965
|
);
|
|
8963
8966
|
},
|
|
@@ -9014,8 +9017,8 @@ export {
|
|
|
9014
9017
|
fn as flexLayoutEntryV1,
|
|
9015
9018
|
We as flexLayoutV1,
|
|
9016
9019
|
gn as formV1,
|
|
9017
|
-
|
|
9018
|
-
|
|
9020
|
+
T as genId,
|
|
9021
|
+
Te as getBreakpointProp,
|
|
9019
9022
|
we as getField,
|
|
9020
9023
|
ei as getIndexOfBreakpoint,
|
|
9021
9024
|
ep as getNode,
|
|
@@ -9037,8 +9040,8 @@ export {
|
|
|
9037
9040
|
fe as injectType,
|
|
9038
9041
|
xo as isCircularRef,
|
|
9039
9042
|
Q as isExecutableMode,
|
|
9040
|
-
|
|
9041
|
-
|
|
9043
|
+
Pr as isLocaleOfEventKind,
|
|
9044
|
+
Tr as isLocaleOfMethodKind,
|
|
9042
9045
|
Cr as isLocaleOfPropertyKind,
|
|
9043
9046
|
Wn as isPercentStr,
|
|
9044
9047
|
Xe as isPixelStr,
|
|
@@ -9048,7 +9051,7 @@ export {
|
|
|
9048
9051
|
J as makeEventId,
|
|
9049
9052
|
_u as makeMethodId,
|
|
9050
9053
|
up as makePropertyId,
|
|
9051
|
-
|
|
9054
|
+
Pe as makeTriggerId,
|
|
9052
9055
|
wa as mapControlsV1,
|
|
9053
9056
|
lc as menuV1,
|
|
9054
9057
|
Le as meshBasicMaterialV1,
|
|
@@ -9096,8 +9099,8 @@ export {
|
|
|
9096
9099
|
Cn as tabsV1,
|
|
9097
9100
|
hn as textFieldV1,
|
|
9098
9101
|
xe as textV1,
|
|
9099
|
-
|
|
9100
|
-
|
|
9102
|
+
Tn as textareaV1,
|
|
9103
|
+
Pn as timelineItemV1,
|
|
9101
9104
|
zn as timelineV1,
|
|
9102
9105
|
qu as toEventName,
|
|
9103
9106
|
Yu as toMethodName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const base = "\nvar __env__ = 'dev'\nvar __mode__ = 'editor'\n\nfunction __getEnvV1__() {\n return __env__\n}\n
|
|
1
|
+
export declare const base = "\nvar __env__ = 'dev'\nvar __mode__ = 'editor'\n\nfunction __getEnvV1__() {\n return __env__\n}\n";
|
|
@@ -53,9 +53,7 @@ export declare class Sandbox {
|
|
|
53
53
|
setAdaptSlotProperty(key: string, newValue: any): void;
|
|
54
54
|
callElementMethod(id: string, inputs: {
|
|
55
55
|
[key: string]: any;
|
|
56
|
-
}):
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
} | undefined;
|
|
56
|
+
}): void;
|
|
59
57
|
callCustomMethod(key: string, inputs: {
|
|
60
58
|
[key: string]: any;
|
|
61
59
|
}): void;
|