x-runtime-lib 0.7.18 → 0.7.20
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 +472 -453
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as n, inject as Q, provide as ee, readonly as Kt, onBeforeMount as
|
|
1
|
+
import { computed as n, inject as Q, provide as ee, readonly as Kt, onBeforeMount as Ji, onUnmounted as ge, defineComponent as T, useTemplateRef as ei, onMounted as ti, watch as le, nextTick as ni, createElementBlock as q, openBlock as V, normalizeStyle as ue, ref as ce, watchEffect as ii, createBlock as z, h as O, resolveComponent as A, withCtx as W, renderSlot as M, unref as D, createVNode as Z, createSlots as we, renderList as Xi, useId as oi, isRef as si, createCommentVNode as li, withModifiers as Yi, normalizeClass as Qi, toDisplayString as eo } from "vue";
|
|
2
2
|
import { waitUtil as ri, eventBus as jt, messageInfo as to, messageSuccess as no, messageWarning as ai, messageError as ui, createAxios as io, globalObjects as Be, openConfirmDlg as oo, openPromptDlg as so, useViewStack as di, injectDark as lo } from "x-essential-lib";
|
|
3
3
|
import { useTheme as ro } from "vuetify";
|
|
4
4
|
import { c as R, u as ao, r as ci, e as mi, i as uo, a as co, b as mo, d as po, f as fo, g as bo, h as vo, j as yo, I as ho, m as go, k as pi } from "./vendor.kp4chziz.js";
|
|
@@ -77,9 +77,9 @@ function j(t, e) {
|
|
|
77
77
|
return { color: n(() => s.value === "theme" ? l.value : s.value === "custom" ? o.value : "") };
|
|
78
78
|
}
|
|
79
79
|
function Ut(t, e) {
|
|
80
|
-
const i = n(() => e.node.border?.style), s = n(() => e.node.border?.width), l = n(() => e.node.border?.color), { color: o } = j(t, l), r = n(() => e.node.border?.roundRadius?.tl), u = n(() => e.node.border?.roundRadius?.tr),
|
|
80
|
+
const i = n(() => e.node.border?.style), s = n(() => e.node.border?.width), l = n(() => e.node.border?.color), { color: o } = j(t, l), r = n(() => e.node.border?.roundRadius?.tl), u = n(() => e.node.border?.roundRadius?.tr), m = n(() => e.node.border?.roundRadius?.bl), f = n(() => e.node.border?.roundRadius?.br);
|
|
81
81
|
function a(c) {
|
|
82
|
-
i.value && (c.borderStyle = i.value), s.value && (c.borderWidth = s.value), o.value && (c.borderColor = o.value), r.value && (c.borderTopLeftRadius = r.value), u.value && (c.borderTopRightRadius = u.value),
|
|
82
|
+
i.value && (c.borderStyle = i.value), s.value && (c.borderWidth = s.value), o.value && (c.borderColor = o.value), r.value && (c.borderTopLeftRadius = r.value), u.value && (c.borderTopRightRadius = u.value), m.value && (c.borderBottomLeftRadius = m.value), f.value && (c.borderBottomRightRadius = f.value);
|
|
83
83
|
}
|
|
84
84
|
return { borderStyle: i, borderWidth: s, borderColor: o, applyBorder: a };
|
|
85
85
|
}
|
|
@@ -112,7 +112,7 @@ function Se(t) {
|
|
|
112
112
|
const e = t.substring(0, t.length - 2), i = parseFloat(e);
|
|
113
113
|
return !(isNaN(i) || i % 1 !== 0);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Jt(t) {
|
|
116
116
|
if (typeof t != "string" || !t.endsWith("%"))
|
|
117
117
|
return !1;
|
|
118
118
|
const e = t.substring(0, t.length - 1), i = parseFloat(e);
|
|
@@ -193,12 +193,12 @@ function wo(t, e, i, s, l) {
|
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
195
|
if (s) {
|
|
196
|
-
const
|
|
197
|
-
if (!u.elements.has(
|
|
196
|
+
const m = u.refKey, f = l;
|
|
197
|
+
if (!u.elements.has(m)) {
|
|
198
198
|
console.error(`spawnNode [ref] element not found in pkg, ${o}`);
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
|
-
const a = re[
|
|
201
|
+
const a = re[m];
|
|
202
202
|
if (!a) {
|
|
203
203
|
console.error(`spawnNode [ref] element not found in global, ${o}`);
|
|
204
204
|
return;
|
|
@@ -208,30 +208,30 @@ function wo(t, e, i, s, l) {
|
|
|
208
208
|
console.error(`spawnNode [ref] props not found, ${o}`);
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
|
-
const
|
|
211
|
+
const d = {
|
|
212
212
|
basic: {
|
|
213
213
|
id: "",
|
|
214
214
|
key: ""
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
|
-
return L(
|
|
218
|
-
id:
|
|
219
|
-
},
|
|
217
|
+
return L(d, c), d.basic.id = N(16), d.basic.key = m, d.ref = {
|
|
218
|
+
id: f
|
|
219
|
+
}, d;
|
|
220
220
|
} else {
|
|
221
|
-
const
|
|
222
|
-
if (!u.elements.has(
|
|
221
|
+
const m = l;
|
|
222
|
+
if (!u.elements.has(m)) {
|
|
223
223
|
console.error(`spawnNode [key] element not found in pkg, ${o}`);
|
|
224
224
|
return;
|
|
225
225
|
}
|
|
226
|
-
const
|
|
227
|
-
if (!
|
|
226
|
+
const f = re[m];
|
|
227
|
+
if (!f) {
|
|
228
228
|
console.error(`spawnNode [key] element not found in global, ${o}`);
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
|
-
if (
|
|
232
|
-
return
|
|
231
|
+
if (f.spawn)
|
|
232
|
+
return f.spawn(t, e);
|
|
233
233
|
{
|
|
234
|
-
const a =
|
|
234
|
+
const a = f.props[r];
|
|
235
235
|
if (!a) {
|
|
236
236
|
console.error(`spawnNode [key] props not found, ${o}`);
|
|
237
237
|
return;
|
|
@@ -242,7 +242,7 @@ function wo(t, e, i, s, l) {
|
|
|
242
242
|
key: ""
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
return L(c, a), c.basic.id = N(16), c.basic.key =
|
|
245
|
+
return L(c, a), c.basic.id = N(16), c.basic.key = m, f.slots.some((d) => d.key === "default") && (c.children = []), c;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
@@ -346,7 +346,7 @@ function se(t, e, i) {
|
|
|
346
346
|
return a / 100 * e.value.height + "px";
|
|
347
347
|
}
|
|
348
348
|
return i.node.size?.minHeight;
|
|
349
|
-
}),
|
|
349
|
+
}), m = n(() => {
|
|
350
350
|
if (i.outer && t === "editor") {
|
|
351
351
|
const a = ze(i.node.size?.maxHeight);
|
|
352
352
|
if (a)
|
|
@@ -354,20 +354,20 @@ function se(t, e, i) {
|
|
|
354
354
|
}
|
|
355
355
|
return i.node.size?.maxHeight;
|
|
356
356
|
});
|
|
357
|
-
function
|
|
358
|
-
s.value && (a.width = s.value), l.value && (a.minWidth = l.value), o.value && (a.maxWidth = o.value), r.value && (a.height = r.value), u.value && (a.minHeight = u.value),
|
|
357
|
+
function f(a) {
|
|
358
|
+
s.value && (a.width = s.value), l.value && (a.minWidth = l.value), o.value && (a.maxWidth = o.value), r.value && (a.height = r.value), u.value && (a.minHeight = u.value), m.value && (a.maxHeight = m.value);
|
|
359
359
|
}
|
|
360
|
-
return { width: s, minWidth: l, maxWidth: o, height: r, minHeight: u, maxHeight:
|
|
360
|
+
return { width: s, minWidth: l, maxWidth: o, height: r, minHeight: u, maxHeight: m, applySize: f };
|
|
361
361
|
}
|
|
362
362
|
function Ei(t, e, i) {
|
|
363
363
|
const s = n(() => e.node.basic.id), l = n(() => `callMethod@${s.value}`);
|
|
364
|
-
|
|
364
|
+
Ji(() => {
|
|
365
365
|
t.eventBus?.on(l.value, i);
|
|
366
366
|
}), ge(() => {
|
|
367
367
|
t.eventBus?.off(l.value, i);
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
|
-
const $o = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Co = "#242424", Io = {}, So = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, To = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, zo = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ao = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, No = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Po = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Lo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Eo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Wo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Bo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Do = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ro = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, Mo = { 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" } }, Fo = { 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)" } } }, Ho = { 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)" } } }, Oo = { 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"] } } }, Go = { 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"] } } }, Ko = { 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"] } } }, jo = { 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"] } } }, Uo = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Zo = { textStyle: { color: "#eeeeee" } }, qo = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } },
|
|
370
|
+
const $o = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Co = "#242424", Io = {}, So = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, To = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, zo = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ao = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, No = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Po = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Lo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Eo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Wo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Bo = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Do = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ro = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, Mo = { 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" } }, Fo = { 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)" } } }, Ho = { 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)" } } }, Oo = { 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"] } } }, Go = { 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"] } } }, Ko = { 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"] } } }, jo = { 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"] } } }, Uo = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Zo = { textStyle: { color: "#eeeeee" } }, qo = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Jo = { 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" } } }, Xo = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Yo = { 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" } }, Qo = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, es = {
|
|
371
371
|
color: $o,
|
|
372
372
|
backgroundColor: Co,
|
|
373
373
|
textStyle: Io,
|
|
@@ -393,9 +393,9 @@ const $o = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#
|
|
|
393
393
|
toolbox: Uo,
|
|
394
394
|
legend: Zo,
|
|
395
395
|
tooltip: qo,
|
|
396
|
-
timeline:
|
|
397
|
-
visualMap:
|
|
398
|
-
dataZoom:
|
|
396
|
+
timeline: Jo,
|
|
397
|
+
visualMap: Xo,
|
|
398
|
+
dataZoom: Yo,
|
|
399
399
|
markPoint: Qo
|
|
400
400
|
}, ts = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], ns = "#f5f5f5", is = {}, os = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, ss = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, rs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, as = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, cs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ps = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, fs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bs = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, vs = { 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)" } } }, hs = { 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)" } } }, gs = { 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"] } } }, xs = { 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"] } } }, ks = { 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"] } } }, _s = { 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"] } } }, ws = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Vs = { textStyle: { color: "#333333" } }, $s = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, Cs = { 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" } } }, Is = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Ss = { 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" } }, Ts = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, zs = {
|
|
401
401
|
color: ts,
|
|
@@ -447,7 +447,7 @@ const As = /* @__PURE__ */ T({
|
|
|
447
447
|
outer: { type: Boolean }
|
|
448
448
|
},
|
|
449
449
|
setup(t) {
|
|
450
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth:
|
|
450
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth: m, maxWidth: f, height: a, minHeight: c, maxHeight: d, applySize: b } = se(i, s, e), { applyTitle: y } = yi(e), { applyXAxis: p } = hi(e), { applyYAxis: k } = gi(e), { applyLegend: _ } = bi(e), { applySeries: x } = vi(e), h = n(() => {
|
|
451
451
|
const C = {}, G = r.value.type;
|
|
452
452
|
return o === "page" ? G === "common" ? b(C) : console.assert(!1) : o === "comp" && G === "common" ? b(C) : console.assert(!1), C;
|
|
453
453
|
}), w = ei("chart");
|
|
@@ -460,7 +460,7 @@ const As = /* @__PURE__ */ T({
|
|
|
460
460
|
g?.resize();
|
|
461
461
|
}, P = () => {
|
|
462
462
|
const C = {};
|
|
463
|
-
y(C),
|
|
463
|
+
y(C), p(C), k(C), _(C), x(C), g?.setOption(C, !0);
|
|
464
464
|
};
|
|
465
465
|
return ti(async () => {
|
|
466
466
|
window.addEventListener("resize", S, !1), await ri(() => !!w.value), $(), P();
|
|
@@ -471,11 +471,11 @@ const As = /* @__PURE__ */ T({
|
|
|
471
471
|
() => s.value.width,
|
|
472
472
|
() => s.value.height,
|
|
473
473
|
u,
|
|
474
|
-
|
|
475
|
-
|
|
474
|
+
m,
|
|
475
|
+
f,
|
|
476
476
|
a,
|
|
477
477
|
c,
|
|
478
|
-
|
|
478
|
+
d
|
|
479
479
|
],
|
|
480
480
|
async () => {
|
|
481
481
|
await ni(), S();
|
|
@@ -500,7 +500,7 @@ const As = /* @__PURE__ */ T({
|
|
|
500
500
|
outer: { type: Boolean }
|
|
501
501
|
},
|
|
502
502
|
setup(t) {
|
|
503
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth:
|
|
503
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth: m, maxWidth: f, height: a, minHeight: c, maxHeight: d, applySize: b } = se(i, s, e), { applyTitle: y } = yi(e), { applyXAxis: p } = hi(e), { applyYAxis: k } = gi(e), { applyLegend: _ } = bi(e), { applySeries: x } = vi(e), h = n(() => {
|
|
504
504
|
const C = {}, G = r.value.type;
|
|
505
505
|
return o === "page" ? G === "common" ? b(C) : console.assert(!1) : o === "comp" && G === "common" ? b(C) : console.assert(!1), C;
|
|
506
506
|
}), w = ei("chart");
|
|
@@ -513,7 +513,7 @@ const As = /* @__PURE__ */ T({
|
|
|
513
513
|
g?.resize();
|
|
514
514
|
}, P = () => {
|
|
515
515
|
const C = {};
|
|
516
|
-
y(C),
|
|
516
|
+
y(C), p(C), k(C), _(C), x(C), g?.setOption(C, !0);
|
|
517
517
|
};
|
|
518
518
|
return ti(async () => {
|
|
519
519
|
window.addEventListener("resize", S, !1), await ri(() => !!w.value), $(), P();
|
|
@@ -524,11 +524,11 @@ const As = /* @__PURE__ */ T({
|
|
|
524
524
|
() => s.value.width,
|
|
525
525
|
() => s.value.height,
|
|
526
526
|
u,
|
|
527
|
-
|
|
528
|
-
|
|
527
|
+
m,
|
|
528
|
+
f,
|
|
529
529
|
a,
|
|
530
530
|
c,
|
|
531
|
-
|
|
531
|
+
d
|
|
532
532
|
],
|
|
533
533
|
async () => {
|
|
534
534
|
await ni(), S();
|
|
@@ -548,45 +548,56 @@ const As = /* @__PURE__ */ T({
|
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
550
|
function Ps(t, e) {
|
|
551
|
-
function i(
|
|
552
|
-
const
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
let y = parseInt(b.slice(1, -1), 10);
|
|
560
|
-
y > 0 && y--, a.push(y);
|
|
551
|
+
function i(a) {
|
|
552
|
+
const c = t.pseudoToNative(a), d = [], b = c.split(".");
|
|
553
|
+
for (let y = 0; y < b.length; y++) {
|
|
554
|
+
const p = b[y].trim();
|
|
555
|
+
if (p !== "")
|
|
556
|
+
if (/^\[\d+\]$/.test(p)) {
|
|
557
|
+
let k = parseInt(p.slice(1, -1), 10);
|
|
558
|
+
k > 0 && k--, d.push(k);
|
|
561
559
|
} else
|
|
562
|
-
|
|
560
|
+
d.push(p);
|
|
563
561
|
}
|
|
564
|
-
return t.nativeToPseudo(
|
|
562
|
+
return t.nativeToPseudo(d);
|
|
565
563
|
}
|
|
566
|
-
function s(
|
|
567
|
-
const
|
|
568
|
-
|
|
564
|
+
function s(a) {
|
|
565
|
+
const c = t.pseudoToNative(a);
|
|
566
|
+
try {
|
|
567
|
+
const d = JSON.parse(c);
|
|
568
|
+
return t.nativeToPseudo(d);
|
|
569
|
+
} catch {
|
|
570
|
+
return t.nativeToPseudo({});
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
function l(a) {
|
|
574
|
+
const c = t.pseudoToNative(a), d = JSON.stringify(c);
|
|
575
|
+
return t.nativeToPseudo(d);
|
|
569
576
|
}
|
|
570
|
-
function
|
|
571
|
-
const
|
|
572
|
-
|
|
573
|
-
typeof p == "object" ? a = JSON.stringify(p) : a = String(p), jt.emit("consoleAppend", a);
|
|
577
|
+
function o(a) {
|
|
578
|
+
const c = t.pseudoToNative(a);
|
|
579
|
+
console.log(c);
|
|
574
580
|
}
|
|
575
|
-
function
|
|
576
|
-
const
|
|
577
|
-
|
|
581
|
+
function r(a) {
|
|
582
|
+
const c = t.pseudoToNative(a);
|
|
583
|
+
let d = "";
|
|
584
|
+
typeof c == "object" ? d = JSON.stringify(c) : d = String(c), jt.emit("consoleAppend", d);
|
|
578
585
|
}
|
|
579
|
-
function
|
|
580
|
-
const
|
|
586
|
+
function u(a, c) {
|
|
587
|
+
const d = t.pseudoToNative(a), b = t.pseudoToNative(c);
|
|
588
|
+
d === "info" ? to(b) : d === "success" ? no(b) : d === "warning" ? ai(b) : d === "error" && ui(b);
|
|
589
|
+
}
|
|
590
|
+
function m(a, c) {
|
|
591
|
+
const d = t.pseudoToNative(a), b = t.pseudoToNative(c);
|
|
581
592
|
window.setTimeout(() => {
|
|
582
|
-
t.appendCode(`__timeoutCallbackV1__(${
|
|
583
|
-
},
|
|
593
|
+
t.appendCode(`__timeoutCallbackV1__(${d})`), t.run();
|
|
594
|
+
}, b);
|
|
584
595
|
}
|
|
585
|
-
function
|
|
586
|
-
const
|
|
596
|
+
function f(a, c) {
|
|
597
|
+
const d = t.pseudoToNative(a);
|
|
587
598
|
window.setTimeout(() => {
|
|
588
|
-
|
|
589
|
-
},
|
|
599
|
+
c(), t.run();
|
|
600
|
+
}, d);
|
|
590
601
|
}
|
|
591
602
|
t.setProperty(
|
|
592
603
|
e,
|
|
@@ -594,24 +605,32 @@ function Ps(t, e) {
|
|
|
594
605
|
t.createNativeFunction(i)
|
|
595
606
|
), t.setProperty(
|
|
596
607
|
e,
|
|
597
|
-
"
|
|
608
|
+
"__parseJsonV1__",
|
|
598
609
|
t.createNativeFunction(s)
|
|
599
610
|
), t.setProperty(
|
|
600
611
|
e,
|
|
601
|
-
"
|
|
612
|
+
"__jsonStringifyV1__",
|
|
602
613
|
t.createNativeFunction(l)
|
|
603
614
|
), t.setProperty(
|
|
604
615
|
e,
|
|
605
|
-
"
|
|
616
|
+
"__consoleLogV1__",
|
|
606
617
|
t.createNativeFunction(o)
|
|
607
618
|
), t.setProperty(
|
|
608
619
|
e,
|
|
609
|
-
"
|
|
620
|
+
"__debugTraceV1__",
|
|
610
621
|
t.createNativeFunction(r)
|
|
622
|
+
), t.setProperty(
|
|
623
|
+
e,
|
|
624
|
+
"__messageV1__",
|
|
625
|
+
t.createNativeFunction(u)
|
|
626
|
+
), t.setProperty(
|
|
627
|
+
e,
|
|
628
|
+
"__timeoutV1__",
|
|
629
|
+
t.createNativeFunction(m)
|
|
611
630
|
), t.setProperty(
|
|
612
631
|
e,
|
|
613
632
|
"__delayV1__",
|
|
614
|
-
t.createAsyncFunction(
|
|
633
|
+
t.createAsyncFunction(f)
|
|
615
634
|
);
|
|
616
635
|
}
|
|
617
636
|
const Wi = io({
|
|
@@ -626,16 +645,16 @@ function Ls(t) {
|
|
|
626
645
|
return Wi.post("callFunc", t);
|
|
627
646
|
}
|
|
628
647
|
function Es(t, e) {
|
|
629
|
-
async function i(s, l, o, r, u,
|
|
630
|
-
const
|
|
648
|
+
async function i(s, l, o, r, u, m) {
|
|
649
|
+
const f = t.pseudoToNative(s), a = t.pseudoToNative(l), c = t.pseudoToNative(o), d = t.pseudoToNative(r), b = t.pseudoToNative(u);
|
|
631
650
|
try {
|
|
632
|
-
const y = JSON.stringify(c), { strOutputs:
|
|
633
|
-
spaceid:
|
|
651
|
+
const y = JSON.stringify(c), { strOutputs: p } = await Ls({
|
|
652
|
+
spaceid: f,
|
|
634
653
|
id: a,
|
|
635
654
|
strInputs: y,
|
|
636
|
-
env:
|
|
637
|
-
}),
|
|
638
|
-
|
|
655
|
+
env: d
|
|
656
|
+
}), k = JSON.parse(p);
|
|
657
|
+
m(t.nativeToPseudo(k)), t.run();
|
|
639
658
|
} catch (y) {
|
|
640
659
|
console.error("callFuncV1 failed", b, y);
|
|
641
660
|
}
|
|
@@ -688,45 +707,45 @@ class Ws {
|
|
|
688
707
|
}
|
|
689
708
|
function Bs(t, e, i) {
|
|
690
709
|
const s = new Ws(t);
|
|
691
|
-
function l(
|
|
692
|
-
const
|
|
710
|
+
function l(d, b, y) {
|
|
711
|
+
const p = e.pseudoToNative(d), k = e.pseudoToNative(b), _ = e.pseudoToNative(y), x = s.addNode(p, k, _);
|
|
693
712
|
return e.nativeToPseudo(x);
|
|
694
713
|
}
|
|
695
|
-
function o(
|
|
696
|
-
const b = e.pseudoToNative(
|
|
714
|
+
function o(d) {
|
|
715
|
+
const b = e.pseudoToNative(d);
|
|
697
716
|
s.deleteNode(b);
|
|
698
717
|
}
|
|
699
|
-
function r(
|
|
700
|
-
const y = e.pseudoToNative(
|
|
701
|
-
let
|
|
702
|
-
if (y === "globality" ?
|
|
703
|
-
console.error(`getNodePropV1 node not found, ${
|
|
718
|
+
function r(d, b) {
|
|
719
|
+
const y = e.pseudoToNative(d), p = e.pseudoToNative(b), k = `id=${y} keys=${p}`;
|
|
720
|
+
let _;
|
|
721
|
+
if (y === "globality" ? _ = t.data.view : _ = s.getNode(y), !_) {
|
|
722
|
+
console.error(`getNodePropV1 node not found, ${k}`);
|
|
704
723
|
return;
|
|
705
724
|
}
|
|
706
|
-
const x =
|
|
725
|
+
const x = p.split("."), h = x.length;
|
|
707
726
|
for (let w = 0; w < h; w++) {
|
|
708
727
|
const g = x[w];
|
|
709
728
|
if (w === h - 1)
|
|
710
|
-
return e.nativeToPseudo(
|
|
711
|
-
if (!
|
|
712
|
-
console.error(`getNodePropV1 unpkg failed, ${
|
|
729
|
+
return e.nativeToPseudo(_[g]);
|
|
730
|
+
if (!_) {
|
|
731
|
+
console.error(`getNodePropV1 unpkg failed, ${k}`);
|
|
713
732
|
return;
|
|
714
733
|
}
|
|
715
|
-
|
|
734
|
+
_ = _[g];
|
|
716
735
|
}
|
|
717
736
|
}
|
|
718
|
-
function u(
|
|
719
|
-
const
|
|
737
|
+
function u(d, b, y) {
|
|
738
|
+
const p = e.pseudoToNative(d), k = e.pseudoToNative(b), _ = e.pseudoToNative(y), x = `id=${p} keys=${k} value=${_}`;
|
|
720
739
|
let h;
|
|
721
|
-
if (
|
|
740
|
+
if (p === "globality" ? h = t.data.view : h = s.getNode(p), !h) {
|
|
722
741
|
console.error(`setNodePropV1 node not found, ${x}`);
|
|
723
742
|
return;
|
|
724
743
|
}
|
|
725
|
-
const w =
|
|
744
|
+
const w = k.split("."), g = w.length;
|
|
726
745
|
for (let $ = 0; $ < g; $++) {
|
|
727
746
|
const S = w[$];
|
|
728
747
|
if ($ === g - 1)
|
|
729
|
-
h[S] =
|
|
748
|
+
h[S] = _;
|
|
730
749
|
else {
|
|
731
750
|
if (!h) {
|
|
732
751
|
console.error(`setNodePropV1 unpkg failed, ${x}`);
|
|
@@ -736,35 +755,35 @@ function Bs(t, e, i) {
|
|
|
736
755
|
}
|
|
737
756
|
}
|
|
738
757
|
}
|
|
739
|
-
function d
|
|
740
|
-
const
|
|
741
|
-
t.eventBus?.emit(`callMethod@${
|
|
758
|
+
function m(d, b, y, p) {
|
|
759
|
+
const k = e.pseudoToNative(d), _ = e.pseudoToNative(b), x = e.pseudoToNative(y), h = { outputs: [] };
|
|
760
|
+
t.eventBus?.emit(`callMethod@${k}`, { name: _, inputs: x, result: h }), p(e.nativeToPseudo(h.outputs)), e.run();
|
|
742
761
|
}
|
|
743
|
-
function
|
|
744
|
-
const y = e.pseudoToNative(
|
|
762
|
+
function f(d, b) {
|
|
763
|
+
const y = e.pseudoToNative(d), p = e.pseudoToNative(b);
|
|
745
764
|
if (t.mode === "runtime") {
|
|
746
|
-
const
|
|
765
|
+
const k = "/main/" + Date.now(), _ = {
|
|
747
766
|
orgid: t.org,
|
|
748
767
|
appid: `${y}${t.env}`,
|
|
749
|
-
pageid:
|
|
768
|
+
pageid: p
|
|
750
769
|
};
|
|
751
|
-
Be.router.replace({ path:
|
|
770
|
+
Be.router.replace({ path: k, query: _ });
|
|
752
771
|
} else t.mode === "preview" && ai(
|
|
753
772
|
Be.i18n.global.t(
|
|
754
773
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
755
774
|
)
|
|
756
775
|
);
|
|
757
776
|
}
|
|
758
|
-
function a(
|
|
759
|
-
const
|
|
760
|
-
oo({ title:
|
|
761
|
-
y(e.nativeToPseudo(
|
|
777
|
+
function a(d, b, y) {
|
|
778
|
+
const p = e.pseudoToNative(d), k = e.pseudoToNative(b);
|
|
779
|
+
oo({ title: p, text: k }).then((_) => {
|
|
780
|
+
y(e.nativeToPseudo(_)), e.run();
|
|
762
781
|
});
|
|
763
782
|
}
|
|
764
|
-
function c(
|
|
765
|
-
const
|
|
766
|
-
so({ title:
|
|
767
|
-
|
|
783
|
+
function c(d, b, y, p) {
|
|
784
|
+
const k = e.pseudoToNative(d), _ = e.pseudoToNative(b), x = e.pseudoToNative(y);
|
|
785
|
+
so({ title: k, label: _, value: x }).then((h) => {
|
|
786
|
+
p(e.nativeToPseudo(h)), e.run();
|
|
768
787
|
});
|
|
769
788
|
}
|
|
770
789
|
e.setProperty(
|
|
@@ -786,11 +805,11 @@ function Bs(t, e, i) {
|
|
|
786
805
|
), e.setProperty(
|
|
787
806
|
i,
|
|
788
807
|
"__callNodeMethodV1__",
|
|
789
|
-
e.createAsyncFunction(
|
|
808
|
+
e.createAsyncFunction(m)
|
|
790
809
|
), e.setProperty(
|
|
791
810
|
i,
|
|
792
811
|
"__navigateToV1__",
|
|
793
|
-
e.createNativeFunction(
|
|
812
|
+
e.createNativeFunction(f)
|
|
794
813
|
), e.setProperty(
|
|
795
814
|
i,
|
|
796
815
|
"__openConfirmDlgV1__",
|
|
@@ -984,17 +1003,17 @@ const Gs = /* @__PURE__ */ T({
|
|
|
984
1003
|
outer: { type: Boolean }
|
|
985
1004
|
},
|
|
986
1005
|
setup(t) {
|
|
987
|
-
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = te(), u = ne(),
|
|
988
|
-
Li(
|
|
1006
|
+
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = te(), u = ne(), m = ie(), f = Pi(), a = ce(-1), c = ce(), d = {};
|
|
1007
|
+
Li(d);
|
|
989
1008
|
const b = () => {
|
|
990
|
-
|
|
1009
|
+
d.eventBus && (d.eventBus = void 0), d.interpreter && (Di(d.interpreter), d.interpreter = void 0);
|
|
991
1010
|
};
|
|
992
1011
|
ii(() => {
|
|
993
1012
|
if (!i.refContext.refid) {
|
|
994
1013
|
a.value = -1, c.value = void 0, b();
|
|
995
1014
|
return;
|
|
996
1015
|
}
|
|
997
|
-
const g =
|
|
1016
|
+
const g = f.value[i.refContext.refid];
|
|
998
1017
|
if (!g) {
|
|
999
1018
|
a.value = -1, c.value = null, b(), jt.emit("compNotAvail", i.refContext.refid);
|
|
1000
1019
|
return;
|
|
@@ -1005,7 +1024,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1005
1024
|
const $ = c.value, S = $.code.script;
|
|
1006
1025
|
if (S) {
|
|
1007
1026
|
const P = Ri();
|
|
1008
|
-
|
|
1027
|
+
d.eventBus = P, d.interpreter = Bi(
|
|
1009
1028
|
{ org: s, env: l, mode: o, type: u, data: $, eventBus: P },
|
|
1010
1029
|
S
|
|
1011
1030
|
);
|
|
@@ -1013,12 +1032,12 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1013
1032
|
}), ge(() => {
|
|
1014
1033
|
b();
|
|
1015
1034
|
});
|
|
1016
|
-
const { applySize: y } = se(o, r, i),
|
|
1017
|
-
const g = {}, $ =
|
|
1035
|
+
const { applySize: y } = se(o, r, i), p = n(() => {
|
|
1036
|
+
const g = {}, $ = m.value.type;
|
|
1018
1037
|
return u === "page" ? $ === "common" ? y(g) : console.assert(!1) : u === "comp" && $ === "common" ? y(g) : console.assert(!1), g;
|
|
1019
1038
|
});
|
|
1020
|
-
function
|
|
1021
|
-
const $ = rn[
|
|
1039
|
+
function k(g) {
|
|
1040
|
+
const $ = rn[m.value.version].refKey, S = re[$];
|
|
1022
1041
|
return S ? O(S.comp, {
|
|
1023
1042
|
refContext: {
|
|
1024
1043
|
parent: i.refContext,
|
|
@@ -1027,7 +1046,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1027
1046
|
node: g
|
|
1028
1047
|
}) : (console.assert(!1, `ref element not found key=${$}`), O("div", `ref element not found key=${$}`));
|
|
1029
1048
|
}
|
|
1030
|
-
function
|
|
1049
|
+
function _(g) {
|
|
1031
1050
|
const $ = re[g.basic.key];
|
|
1032
1051
|
if (!$)
|
|
1033
1052
|
return console.assert(!1, `element not found key=${g.basic.key}`), O("div", `element not found key=${g.basic.key}`);
|
|
@@ -1038,7 +1057,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1038
1057
|
}), O($.comp, { node: g }, { default: () => S });
|
|
1039
1058
|
}
|
|
1040
1059
|
function x(g) {
|
|
1041
|
-
return g.ref ?
|
|
1060
|
+
return g.ref ? k(g) : _(g);
|
|
1042
1061
|
}
|
|
1043
1062
|
function h() {
|
|
1044
1063
|
let g = i.refContext.parent;
|
|
@@ -1059,37 +1078,37 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1059
1078
|
const $ = [];
|
|
1060
1079
|
return c.value.view.nodes.forEach((S) => {
|
|
1061
1080
|
$.push(x(S));
|
|
1062
|
-
}), O("div", { id: i.id, style:
|
|
1081
|
+
}), O("div", { id: i.id, style: p.value }, $);
|
|
1063
1082
|
} else
|
|
1064
1083
|
return console.assert(!1, `invalid subtype=${g}`), O("div", { id: i.id }, `invalid subtype=${g}`);
|
|
1065
1084
|
};
|
|
1066
1085
|
return (g, $) => (V(), z(w));
|
|
1067
1086
|
}
|
|
1068
|
-
}),
|
|
1087
|
+
}), Y = /* @__PURE__ */ T({
|
|
1069
1088
|
__name: "index",
|
|
1070
1089
|
props: {
|
|
1071
1090
|
refContext: {},
|
|
1072
1091
|
state: {}
|
|
1073
1092
|
},
|
|
1074
1093
|
setup(t) {
|
|
1075
|
-
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = ne(), u = ie(),
|
|
1094
|
+
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = ne(), u = ie(), m = Pi(), f = ce(-1), a = ce(), c = {};
|
|
1076
1095
|
Li(c);
|
|
1077
|
-
const
|
|
1096
|
+
const d = () => {
|
|
1078
1097
|
c.eventBus && (c.eventBus = void 0), c.interpreter && (Di(c.interpreter), c.interpreter = void 0);
|
|
1079
1098
|
};
|
|
1080
1099
|
ii(() => {
|
|
1081
1100
|
if (!i.refContext.refid) {
|
|
1082
|
-
|
|
1101
|
+
f.value = -1, a.value = void 0, d();
|
|
1083
1102
|
return;
|
|
1084
1103
|
}
|
|
1085
|
-
const h =
|
|
1104
|
+
const h = m.value[i.refContext.refid];
|
|
1086
1105
|
if (!h) {
|
|
1087
|
-
|
|
1106
|
+
f.value = -1, a.value = null, d(), jt.emit("compNotAvail", i.refContext.refid);
|
|
1088
1107
|
return;
|
|
1089
1108
|
}
|
|
1090
|
-
if (
|
|
1109
|
+
if (f.value === h.dataSeq || (f.value = h.dataSeq, a.value = R(h.data), o !== "runtime" && o !== "preview"))
|
|
1091
1110
|
return;
|
|
1092
|
-
|
|
1111
|
+
d();
|
|
1093
1112
|
const w = a.value, g = w.code.script;
|
|
1094
1113
|
if (g) {
|
|
1095
1114
|
const $ = Ri();
|
|
@@ -1099,7 +1118,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1099
1118
|
);
|
|
1100
1119
|
}
|
|
1101
1120
|
}), ge(() => {
|
|
1102
|
-
|
|
1121
|
+
d();
|
|
1103
1122
|
});
|
|
1104
1123
|
const b = () => {
|
|
1105
1124
|
console.log("triggerUpdate");
|
|
@@ -1121,19 +1140,19 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1121
1140
|
node: h
|
|
1122
1141
|
}) : (console.assert(!1, `ref element not found key=${w}`), O("div", `ref element not found key=${w}`));
|
|
1123
1142
|
}
|
|
1124
|
-
function
|
|
1143
|
+
function p(h) {
|
|
1125
1144
|
const w = re[h.basic.key];
|
|
1126
1145
|
if (!w)
|
|
1127
1146
|
return console.assert(!1, `element not found key=${h.basic.key}`), O("div", `element not found key=${h.basic.key}`);
|
|
1128
1147
|
const g = [];
|
|
1129
1148
|
return w.slots.some(($) => $.key === "default") && h.children?.forEach(($) => {
|
|
1130
|
-
g.push(
|
|
1149
|
+
g.push(k($));
|
|
1131
1150
|
}), O(w.comp, { node: h }, { default: () => g });
|
|
1132
1151
|
}
|
|
1133
|
-
function
|
|
1134
|
-
return h.ref ? y(h) :
|
|
1152
|
+
function k(h) {
|
|
1153
|
+
return h.ref ? y(h) : p(h);
|
|
1135
1154
|
}
|
|
1136
|
-
function
|
|
1155
|
+
function _() {
|
|
1137
1156
|
let h = i.refContext.parent;
|
|
1138
1157
|
for (; h; ) {
|
|
1139
1158
|
if (h.refid === i.refContext.refid)
|
|
@@ -1143,7 +1162,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1143
1162
|
return !1;
|
|
1144
1163
|
}
|
|
1145
1164
|
const x = () => {
|
|
1146
|
-
if (
|
|
1165
|
+
if (_())
|
|
1147
1166
|
return O("div", e("x-runtime-lib.circularRef"));
|
|
1148
1167
|
if (!a.value)
|
|
1149
1168
|
return a.value === void 0 ? O("div") : O("div", e("x-runtime-lib.compNotAvail"));
|
|
@@ -1151,7 +1170,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1151
1170
|
if (h === "common") {
|
|
1152
1171
|
const w = [];
|
|
1153
1172
|
return a.value.view.nodes.forEach((g) => {
|
|
1154
|
-
w.push(
|
|
1173
|
+
w.push(k(g));
|
|
1155
1174
|
}), w;
|
|
1156
1175
|
} else
|
|
1157
1176
|
return console.assert(!1, `invalid subtype=${h}`), O("div", `invalid subtype=${h}`);
|
|
@@ -1166,7 +1185,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1166
1185
|
},
|
|
1167
1186
|
setup(t) {
|
|
1168
1187
|
const e = t, i = B(), s = n(() => e.node.settings?.content), l = n(() => e.node.settings?.dot), o = n(() => i.value ? "dark" : "light"), r = n(() => e.node.settings?.offset?.x), u = n(() => e.node.settings?.offset?.y);
|
|
1169
|
-
return (
|
|
1188
|
+
return (m, f) => {
|
|
1170
1189
|
const a = A("v-badge");
|
|
1171
1190
|
return V(), z(a, {
|
|
1172
1191
|
content: s.value,
|
|
@@ -1176,7 +1195,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1176
1195
|
theme: o.value
|
|
1177
1196
|
}, {
|
|
1178
1197
|
default: W(() => [
|
|
1179
|
-
M(
|
|
1198
|
+
M(m.$slots, "default")
|
|
1180
1199
|
]),
|
|
1181
1200
|
_: 3
|
|
1182
1201
|
}, 8, ["content", "dot", "offset-x", "offset-y", "theme"]);
|
|
@@ -1189,30 +1208,30 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1189
1208
|
outer: { type: Boolean }
|
|
1190
1209
|
},
|
|
1191
1210
|
setup(t) {
|
|
1192
|
-
const e = t, i = F(), s = B(), l = Te(), o = n(() => e.node.settings?.addIcon?.append), r = n(() => e.node.settings?.block), u = n(() => e.node.settings?.color), { color:
|
|
1211
|
+
const e = t, i = F(), s = B(), l = Te(), o = n(() => e.node.settings?.addIcon?.append), r = n(() => e.node.settings?.block), u = n(() => e.node.settings?.color), { color: m } = j(s, u), f = n(() => e.node.settings?.density), a = n(() => e.node.settings?.disabled), c = n(() => e.node.size?.height), d = n(() => e.node.settings?.loading), b = n(() => e.node.size?.maxHeight), y = n(() => e.node.size?.maxWidth), p = n(() => e.node.size?.minHeight), k = n(() => e.node.size?.minWidth), _ = n(() => e.node.settings?.addIcon?.prepend), x = n(() => e.node.settings?.readonly), h = n(() => e.node.settings?.ripple), w = n(() => e.node.settings?.size), g = n(() => e.node.settings?.stacked), $ = n(() => e.node.settings?.text), S = n(() => s.value ? "dark" : "light"), P = n(() => e.node.settings?.variant), C = n(() => e.node.size?.width), G = (X) => {
|
|
1193
1212
|
if (i !== "runtime" && i !== "preview")
|
|
1194
1213
|
return;
|
|
1195
1214
|
const K = l.interpreter;
|
|
1196
1215
|
if (!K)
|
|
1197
1216
|
return;
|
|
1198
|
-
const
|
|
1199
|
-
K.appendCode(`__pointerPosX__ = ${
|
|
1217
|
+
const J = K.nativeToPseudo(X.clientX), oe = K.nativeToPseudo(X.clientY), xe = K.nativeToPseudo(e.node.basic.id);
|
|
1218
|
+
K.appendCode(`__pointerPosX__ = ${J};`), K.appendCode(`__pointerPosY__ = ${oe};`), K.appendCode(`__triggerEvent__('${xe}', 'click');`), K.run();
|
|
1200
1219
|
};
|
|
1201
|
-
return (
|
|
1202
|
-
const
|
|
1203
|
-
return V(), z(
|
|
1220
|
+
return (X, K) => {
|
|
1221
|
+
const J = A("v-btn");
|
|
1222
|
+
return V(), z(J, {
|
|
1204
1223
|
"append-icon": o.value,
|
|
1205
1224
|
block: r.value,
|
|
1206
|
-
color: D(
|
|
1207
|
-
density:
|
|
1225
|
+
color: D(m),
|
|
1226
|
+
density: f.value,
|
|
1208
1227
|
disabled: a.value,
|
|
1209
1228
|
height: c.value,
|
|
1210
|
-
loading:
|
|
1229
|
+
loading: d.value,
|
|
1211
1230
|
"max-height": b.value,
|
|
1212
1231
|
"max-width": y.value,
|
|
1213
|
-
"min-height":
|
|
1214
|
-
"min-width":
|
|
1215
|
-
"prepend-icon":
|
|
1232
|
+
"min-height": p.value,
|
|
1233
|
+
"min-width": k.value,
|
|
1234
|
+
"prepend-icon": _.value,
|
|
1216
1235
|
readonly: x.value,
|
|
1217
1236
|
ripple: h.value,
|
|
1218
1237
|
size: w.value,
|
|
@@ -1240,27 +1259,27 @@ function Zs(t, e) {
|
|
|
1240
1259
|
_: 3
|
|
1241
1260
|
});
|
|
1242
1261
|
}
|
|
1243
|
-
const qs = /* @__PURE__ */ be(Us, [["render", Zs]]),
|
|
1262
|
+
const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Js = /* @__PURE__ */ T({
|
|
1244
1263
|
__name: "index",
|
|
1245
1264
|
props: {
|
|
1246
1265
|
node: {},
|
|
1247
1266
|
outer: { type: Boolean }
|
|
1248
1267
|
},
|
|
1249
1268
|
setup(t) {
|
|
1250
|
-
const e = t, i = B(), s = n(() => e.node.settings?.block), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.divided), r = n(() => e.node.settings?.mandatory), u = n(() => e.node.settings?.multiple),
|
|
1251
|
-
return (y,
|
|
1252
|
-
const
|
|
1253
|
-
return V(), z(
|
|
1269
|
+
const e = t, i = B(), s = n(() => e.node.settings?.block), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.divided), r = n(() => e.node.settings?.mandatory), u = n(() => e.node.settings?.multiple), m = n(() => e.node.settings?.readonly), f = n(() => e.node.settings?.size), a = n(() => e.node.settings?.stacked), c = n(() => i.value ? "dark" : "light"), d = n(() => e.node.settings?.tile), b = n(() => e.node.settings?.variant);
|
|
1270
|
+
return (y, p) => {
|
|
1271
|
+
const k = A("v-btn-toggle");
|
|
1272
|
+
return V(), z(k, {
|
|
1254
1273
|
block: s.value,
|
|
1255
1274
|
disabled: l.value,
|
|
1256
1275
|
divided: o.value,
|
|
1257
1276
|
mandatory: r.value,
|
|
1258
1277
|
multiple: u.value,
|
|
1259
|
-
readonly:
|
|
1260
|
-
size:
|
|
1278
|
+
readonly: m.value,
|
|
1279
|
+
size: f.value,
|
|
1261
1280
|
stacked: a.value,
|
|
1262
1281
|
theme: c.value,
|
|
1263
|
-
tile:
|
|
1282
|
+
tile: d.value,
|
|
1264
1283
|
variant: b.value
|
|
1265
1284
|
}, {
|
|
1266
1285
|
default: W(() => [
|
|
@@ -1270,14 +1289,14 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1270
1289
|
}, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
|
|
1271
1290
|
};
|
|
1272
1291
|
}
|
|
1273
|
-
}),
|
|
1292
|
+
}), Xs = /* @__PURE__ */ T({
|
|
1274
1293
|
__name: "index",
|
|
1275
1294
|
props: {
|
|
1276
1295
|
node: {},
|
|
1277
1296
|
outer: { type: Boolean }
|
|
1278
1297
|
},
|
|
1279
1298
|
setup(t) {
|
|
1280
|
-
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.size?.height), r = n(() => e.node.settings?.hover), u = n(() => e.node.settings?.loading),
|
|
1299
|
+
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.size?.height), r = n(() => e.node.settings?.hover), u = n(() => e.node.settings?.loading), m = n(() => e.node.size?.maxHeight), f = n(() => e.node.size?.maxWidth), a = n(() => e.node.size?.minHeight), c = n(() => e.node.size?.minWidth), d = n(() => e.node.settings?.subtitle), b = n(() => e.node.settings?.text), y = n(() => i.value ? "dark" : "light"), p = n(() => e.node.settings?.title), k = n(() => e.node.settings?.variant), _ = n(() => e.node.size?.width);
|
|
1281
1300
|
return (x, h) => {
|
|
1282
1301
|
const w = A("v-card");
|
|
1283
1302
|
return V(), z(w, {
|
|
@@ -1286,16 +1305,16 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1286
1305
|
height: o.value,
|
|
1287
1306
|
hover: r.value,
|
|
1288
1307
|
loading: u.value,
|
|
1289
|
-
"max-height":
|
|
1290
|
-
"max-width":
|
|
1308
|
+
"max-height": m.value,
|
|
1309
|
+
"max-width": f.value,
|
|
1291
1310
|
"min-height": a.value,
|
|
1292
1311
|
"min-width": c.value,
|
|
1293
|
-
subtitle:
|
|
1312
|
+
subtitle: d.value,
|
|
1294
1313
|
text: b.value,
|
|
1295
1314
|
theme: y.value,
|
|
1296
|
-
title:
|
|
1297
|
-
variant:
|
|
1298
|
-
width:
|
|
1315
|
+
title: p.value,
|
|
1316
|
+
variant: k.value,
|
|
1317
|
+
width: _.value
|
|
1299
1318
|
}, {
|
|
1300
1319
|
default: W(() => [
|
|
1301
1320
|
M(x.$slots, "default")
|
|
@@ -1304,7 +1323,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1304
1323
|
}, 8, ["density", "disabled", "height", "hover", "loading", "max-height", "max-width", "min-height", "min-width", "subtitle", "text", "theme", "title", "variant", "width"]);
|
|
1305
1324
|
};
|
|
1306
1325
|
}
|
|
1307
|
-
}),
|
|
1326
|
+
}), Ys = /* @__PURE__ */ T({
|
|
1308
1327
|
__name: "index",
|
|
1309
1328
|
props: {
|
|
1310
1329
|
node: {},
|
|
@@ -1327,23 +1346,23 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1327
1346
|
outer: { type: Boolean }
|
|
1328
1347
|
},
|
|
1329
1348
|
setup(t) {
|
|
1330
|
-
const e = t, i = B(), s = n(() => e.node.settings?.closable), l = n(() => e.node.settings?.color), { color: o } = j(i, l), r = n(() => e.node.settings?.density), u = n(() => e.node.settings?.disabled),
|
|
1331
|
-
return (
|
|
1349
|
+
const e = t, i = B(), s = n(() => e.node.settings?.closable), l = n(() => e.node.settings?.color), { color: o } = j(i, l), r = n(() => e.node.settings?.density), u = n(() => e.node.settings?.disabled), m = n(() => e.node.settings?.draggable), f = n(() => e.node.settings?.filter), a = n(() => e.node.settings?.label), c = n(() => e.node.settings?.size), d = n(() => e.node.settings?.text), b = n(() => i.value ? "dark" : "light"), y = n(() => e.node.settings?.tile), p = n(() => e.node.settings?.value), k = n(() => e.node.settings?.variant);
|
|
1350
|
+
return (_, x) => {
|
|
1332
1351
|
const h = A("v-chip");
|
|
1333
1352
|
return V(), z(h, {
|
|
1334
1353
|
closable: s.value,
|
|
1335
1354
|
color: D(o),
|
|
1336
1355
|
density: r.value,
|
|
1337
1356
|
disabled: u.value,
|
|
1338
|
-
draggable:
|
|
1339
|
-
filter:
|
|
1357
|
+
draggable: m.value,
|
|
1358
|
+
filter: f.value,
|
|
1340
1359
|
label: a.value,
|
|
1341
1360
|
size: c.value,
|
|
1342
|
-
text:
|
|
1361
|
+
text: d.value,
|
|
1343
1362
|
theme: b.value,
|
|
1344
1363
|
tile: y.value,
|
|
1345
|
-
value:
|
|
1346
|
-
variant:
|
|
1364
|
+
value: p.value,
|
|
1365
|
+
variant: k.value
|
|
1347
1366
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"]);
|
|
1348
1367
|
};
|
|
1349
1368
|
}
|
|
@@ -1354,25 +1373,25 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1354
1373
|
outer: { type: Boolean }
|
|
1355
1374
|
},
|
|
1356
1375
|
setup(t) {
|
|
1357
|
-
const e = t, i = B(), s = n(() => e.node.settings?.column), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.filter), u = n(() => e.node.settings?.mandatory),
|
|
1376
|
+
const e = t, i = B(), s = n(() => e.node.settings?.column), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.filter), u = n(() => e.node.settings?.mandatory), m = n(() => e.node.settings?.value), f = (b) => {
|
|
1358
1377
|
if (!e.node.settings)
|
|
1359
1378
|
return;
|
|
1360
1379
|
const { settings: y } = e.node;
|
|
1361
1380
|
y.value = b;
|
|
1362
|
-
}, a = n(() => e.node.settings?.multiple), c = n(() => e.node.settings?.showArrows),
|
|
1381
|
+
}, a = n(() => e.node.settings?.multiple), c = n(() => e.node.settings?.showArrows), d = n(() => i.value ? "dark" : "light");
|
|
1363
1382
|
return (b, y) => {
|
|
1364
|
-
const
|
|
1365
|
-
return V(), z(
|
|
1383
|
+
const p = A("v-chip-group");
|
|
1384
|
+
return V(), z(p, {
|
|
1366
1385
|
column: s.value,
|
|
1367
1386
|
direction: l.value,
|
|
1368
1387
|
disabled: o.value,
|
|
1369
1388
|
filter: r.value,
|
|
1370
1389
|
mandatory: u.value,
|
|
1371
|
-
"model-value":
|
|
1390
|
+
"model-value": m.value,
|
|
1372
1391
|
multiple: a.value,
|
|
1373
1392
|
"show-arrows": c.value,
|
|
1374
|
-
theme:
|
|
1375
|
-
"onUpdate:modelValue":
|
|
1393
|
+
theme: d.value,
|
|
1394
|
+
"onUpdate:modelValue": f
|
|
1376
1395
|
}, {
|
|
1377
1396
|
default: W(() => [
|
|
1378
1397
|
M(b.$slots, "default")
|
|
@@ -1388,22 +1407,22 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1388
1407
|
outer: { type: Boolean }
|
|
1389
1408
|
},
|
|
1390
1409
|
setup(t) {
|
|
1391
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e),
|
|
1392
|
-
const
|
|
1393
|
-
return o === "page" ? x === "common" ? u(
|
|
1394
|
-
}),
|
|
1395
|
-
return (
|
|
1410
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), m = n(() => {
|
|
1411
|
+
const _ = {}, x = r.value.type;
|
|
1412
|
+
return o === "page" ? x === "common" ? u(_) : console.assert(!1) : o === "comp" && x === "common" ? u(_) : console.assert(!1), _;
|
|
1413
|
+
}), f = n(() => e.node.settings?.disabled), a = n(() => e.node.settings?.hideCanvas), c = n(() => e.node.settings?.hideHeader), d = n(() => e.node.settings?.hideInputs), b = n(() => e.node.settings?.hideSliders), y = n(() => e.node.settings?.landscape), p = n(() => e.node.settings?.showSwatches), k = n(() => l.value ? "dark" : "light");
|
|
1414
|
+
return (_, x) => {
|
|
1396
1415
|
const h = A("v-color-picker");
|
|
1397
1416
|
return V(), z(h, {
|
|
1398
|
-
disabled:
|
|
1417
|
+
disabled: f.value,
|
|
1399
1418
|
"hide-canvas": a.value,
|
|
1400
1419
|
"hide-header": c.value,
|
|
1401
|
-
"hide-inputs":
|
|
1420
|
+
"hide-inputs": d.value,
|
|
1402
1421
|
"hide-sliders": b.value,
|
|
1403
1422
|
landscape: y.value,
|
|
1404
|
-
"show-swatches":
|
|
1405
|
-
style: ue(
|
|
1406
|
-
theme:
|
|
1423
|
+
"show-swatches": p.value,
|
|
1424
|
+
style: ue(m.value),
|
|
1425
|
+
theme: k.value
|
|
1407
1426
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"]);
|
|
1408
1427
|
};
|
|
1409
1428
|
}
|
|
@@ -1414,8 +1433,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1414
1433
|
outer: { type: Boolean }
|
|
1415
1434
|
},
|
|
1416
1435
|
setup(t) {
|
|
1417
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder),
|
|
1418
|
-
return (c,
|
|
1436
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder), m = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), f = n(() => e.node.settings?.singleLine), a = n(() => s.value ? "dark" : "light");
|
|
1437
|
+
return (c, d) => {
|
|
1419
1438
|
const b = A("v-combobox");
|
|
1420
1439
|
return D(i) === "editor" ? (V(), q("div", nl, [
|
|
1421
1440
|
Z(b, {
|
|
@@ -1423,8 +1442,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1423
1442
|
label: o.value,
|
|
1424
1443
|
"model-value": r.value,
|
|
1425
1444
|
placeholder: u.value,
|
|
1426
|
-
readonly:
|
|
1427
|
-
"single-line":
|
|
1445
|
+
readonly: m.value,
|
|
1446
|
+
"single-line": f.value,
|
|
1428
1447
|
theme: a.value
|
|
1429
1448
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"])
|
|
1430
1449
|
])) : (V(), z(b, {
|
|
@@ -1433,8 +1452,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1433
1452
|
label: o.value,
|
|
1434
1453
|
"model-value": r.value,
|
|
1435
1454
|
placeholder: u.value,
|
|
1436
|
-
readonly:
|
|
1437
|
-
"single-line":
|
|
1455
|
+
readonly: m.value,
|
|
1456
|
+
"single-line": f.value,
|
|
1438
1457
|
theme: a.value
|
|
1439
1458
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"]));
|
|
1440
1459
|
};
|
|
@@ -1446,11 +1465,11 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1446
1465
|
outer: { type: Boolean }
|
|
1447
1466
|
},
|
|
1448
1467
|
setup(t) {
|
|
1449
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = n(() => e.node.settings?.backgroundColor), { color:
|
|
1450
|
-
const y = {},
|
|
1451
|
-
return o === "page" ?
|
|
1468
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = n(() => e.node.settings?.backgroundColor), { color: m } = j(l, u), { applySize: f } = se(i, s, e), { applyMargin: a } = Zt(e), { applyPadding: c } = qt(e), { applyBorder: d } = Ut(l, e), b = n(() => {
|
|
1469
|
+
const y = {}, p = r.value.type;
|
|
1470
|
+
return o === "page" ? p === "common" ? (f(y), a(y), c(y), d(y), m.value && (y.backgroundColor = m.value)) : console.assert(!1) : o === "comp" && p === "common" ? (f(y), a(y), c(y), d(y), m.value && (y.backgroundColor = m.value)) : console.assert(!1), y;
|
|
1452
1471
|
});
|
|
1453
|
-
return (y,
|
|
1472
|
+
return (y, p) => (V(), q("div", {
|
|
1454
1473
|
style: ue(b.value)
|
|
1455
1474
|
}, [
|
|
1456
1475
|
M(y.$slots, "default")
|
|
@@ -1463,34 +1482,34 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1463
1482
|
outer: { type: Boolean }
|
|
1464
1483
|
},
|
|
1465
1484
|
setup(t) {
|
|
1466
|
-
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.fixedFooter), o = n(() => e.node.settings?.fixedHeader), r = n(() => e.node.settings?.headers), u = n(() => e.node.size?.height),
|
|
1467
|
-
const
|
|
1468
|
-
return typeof
|
|
1469
|
-
}), a = n(() => e.node.settings?.loading), c = n(() => e.node.settings?.multiSort),
|
|
1470
|
-
const
|
|
1471
|
-
return (e.node.slots?.items ?? []).forEach((
|
|
1472
|
-
|
|
1473
|
-
}),
|
|
1485
|
+
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.fixedFooter), o = n(() => e.node.settings?.fixedHeader), r = n(() => e.node.settings?.headers), u = n(() => e.node.size?.height), m = n(() => e.node.settings?.hover), f = n(() => {
|
|
1486
|
+
const p = e.node.settings?.data;
|
|
1487
|
+
return typeof p == "string" ? JSON.parse(p) : p;
|
|
1488
|
+
}), a = n(() => e.node.settings?.loading), c = n(() => e.node.settings?.multiSort), d = n(() => i.value ? "dark" : "light"), b = n(() => e.node.size?.width), y = n(() => {
|
|
1489
|
+
const p = [];
|
|
1490
|
+
return (e.node.slots?.items ?? []).forEach((_) => {
|
|
1491
|
+
_.column && _.comp && p.push(_);
|
|
1492
|
+
}), p;
|
|
1474
1493
|
});
|
|
1475
|
-
return (
|
|
1476
|
-
const
|
|
1477
|
-
return V(), z(
|
|
1494
|
+
return (p, k) => {
|
|
1495
|
+
const _ = A("v-data-table");
|
|
1496
|
+
return V(), z(_, {
|
|
1478
1497
|
density: s.value,
|
|
1479
1498
|
"fixed-footer": l.value,
|
|
1480
1499
|
"fixed-header": o.value,
|
|
1481
1500
|
headers: r.value,
|
|
1482
1501
|
height: u.value,
|
|
1483
|
-
hover:
|
|
1484
|
-
items:
|
|
1502
|
+
hover: m.value,
|
|
1503
|
+
items: f.value,
|
|
1485
1504
|
loading: a.value,
|
|
1486
1505
|
"multi-sort": c.value,
|
|
1487
|
-
theme:
|
|
1506
|
+
theme: d.value,
|
|
1488
1507
|
width: b.value
|
|
1489
1508
|
}, we({ _: 2 }, [
|
|
1490
|
-
|
|
1509
|
+
Xi(y.value, (x) => ({
|
|
1491
1510
|
name: `item.${x.column}`,
|
|
1492
1511
|
fn: W(({ value: h }) => [
|
|
1493
|
-
Z(
|
|
1512
|
+
Z(Y, {
|
|
1494
1513
|
"ref-context": { refid: x.comp },
|
|
1495
1514
|
state: { value: h }
|
|
1496
1515
|
}, null, 8, ["ref-context", "state"])
|
|
@@ -1515,13 +1534,13 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1515
1534
|
return Ei(s, e, (u) => {
|
|
1516
1535
|
if (i !== "runtime" && i !== "preview" || !s.interpreter)
|
|
1517
1536
|
return;
|
|
1518
|
-
const { name:
|
|
1519
|
-
|
|
1520
|
-
}), (u,
|
|
1521
|
-
const
|
|
1522
|
-
return V(), z(
|
|
1537
|
+
const { name: f } = u;
|
|
1538
|
+
f === "open" ? o.value = !0 : f === "close" && (o.value = !1);
|
|
1539
|
+
}), (u, m) => {
|
|
1540
|
+
const f = A("v-dialog");
|
|
1541
|
+
return V(), z(f, {
|
|
1523
1542
|
modelValue: D(o),
|
|
1524
|
-
"onUpdate:modelValue":
|
|
1543
|
+
"onUpdate:modelValue": m[0] || (m[0] = (a) => si(o) ? o.value = a : null),
|
|
1525
1544
|
attach: "#dialogContainer"
|
|
1526
1545
|
}, {
|
|
1527
1546
|
activator: W(() => [
|
|
@@ -1544,20 +1563,20 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1544
1563
|
outer: { type: Boolean }
|
|
1545
1564
|
},
|
|
1546
1565
|
setup(t) {
|
|
1547
|
-
const e = t, i = F(), s = n(() => e.node.settings?.chips), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label),
|
|
1566
|
+
const e = t, i = F(), s = n(() => e.node.settings?.chips), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label), m = n(() => e.node.settings?.loading), f = n(() => e.node.settings?.multiple), a = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), c = n(() => e.node.settings?.reverse), d = n(() => e.node.settings?.singleLine);
|
|
1548
1567
|
return (b, y) => {
|
|
1549
|
-
const
|
|
1550
|
-
return V(), z(
|
|
1568
|
+
const p = A("v-file-input");
|
|
1569
|
+
return V(), z(p, {
|
|
1551
1570
|
chips: s.value,
|
|
1552
1571
|
density: l.value,
|
|
1553
1572
|
direction: o.value,
|
|
1554
1573
|
disabled: r.value,
|
|
1555
1574
|
label: u.value,
|
|
1556
|
-
loading:
|
|
1557
|
-
multiple:
|
|
1575
|
+
loading: m.value,
|
|
1576
|
+
multiple: f.value,
|
|
1558
1577
|
readonly: a.value,
|
|
1559
1578
|
reverse: c.value,
|
|
1560
|
-
"single-line":
|
|
1579
|
+
"single-line": d.value
|
|
1561
1580
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"]);
|
|
1562
1581
|
};
|
|
1563
1582
|
}
|
|
@@ -1568,24 +1587,24 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1568
1587
|
outer: { type: Boolean }
|
|
1569
1588
|
},
|
|
1570
1589
|
setup(t) {
|
|
1571
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), { applyMargin:
|
|
1572
|
-
|
|
1573
|
-
const
|
|
1574
|
-
|
|
1575
|
-
const x = ve(
|
|
1576
|
-
x === "no" ?
|
|
1577
|
-
const h = ve(
|
|
1578
|
-
h === "start" ?
|
|
1579
|
-
const w = ve(
|
|
1580
|
-
w === "start" ?
|
|
1590
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), { applyMargin: m } = Zt(e), { applyPadding: f } = qt(e), { applyBorder: a } = Ut(l, e), c = n(() => e.node.settings?.backgroundColor), { color: d } = j(l, c), b = (p) => {
|
|
1591
|
+
d.value && (p.backgroundColor = d.value), p.display = "flex";
|
|
1592
|
+
const k = ki(s.value.width), _ = ve(k, e.node.settings?.direction);
|
|
1593
|
+
_ === "row" ? p.flexDirection = "row" : _ === "rowReverse" ? p.flexDirection = "row-reverse" : _ === "column" ? p.flexDirection = "column" : _ === "columnReverse" && (p.flexDirection = "column-reverse");
|
|
1594
|
+
const x = ve(k, e.node.settings?.wrap);
|
|
1595
|
+
x === "no" ? p.flexWrap = "nowrap" : x === "yes" ? p.flexWrap = "wrap" : x === "reverse" && (p.flexWrap = "wrap-reverse");
|
|
1596
|
+
const h = ve(k, e.node.settings?.mainAlign);
|
|
1597
|
+
h === "start" ? p.justifyContent = "flex-start" : h === "end" ? p.justifyContent = "flex-end" : h === "center" ? p.justifyContent = "center" : h === "spaceBetween" ? p.justifyContent = "space-between" : h === "spaceAround" ? p.justifyContent = "space-around" : h === "spaceEvenly" && (p.justifyContent = "space-evenly");
|
|
1598
|
+
const w = ve(k, e.node.settings?.crossAlign);
|
|
1599
|
+
w === "start" ? p.alignItems = "flex-start" : w === "end" ? p.alignItems = "flex-end" : w === "center" ? p.alignItems = "center" : w === "baseline" ? p.alignItems = "baseline" : w === "stretch" && (p.alignItems = "stretch");
|
|
1581
1600
|
}, y = n(() => {
|
|
1582
|
-
const
|
|
1583
|
-
return o === "page" ?
|
|
1601
|
+
const p = {}, k = r.value.type;
|
|
1602
|
+
return o === "page" ? k === "common" ? (u(p), m(p), f(p), a(p), b(p)) : console.assert(!1) : o === "comp" && k === "common" ? (u(p), m(p), f(p), a(p), b(p)) : console.assert(!1), p;
|
|
1584
1603
|
});
|
|
1585
|
-
return (
|
|
1604
|
+
return (p, k) => (V(), q("div", {
|
|
1586
1605
|
style: ue(y.value)
|
|
1587
1606
|
}, [
|
|
1588
|
-
M(
|
|
1607
|
+
M(p.$slots, "default")
|
|
1589
1608
|
], 4));
|
|
1590
1609
|
}
|
|
1591
1610
|
}), pl = /* @__PURE__ */ T({
|
|
@@ -1595,12 +1614,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1595
1614
|
outer: { type: Boolean }
|
|
1596
1615
|
},
|
|
1597
1616
|
setup(t) {
|
|
1598
|
-
const e = t, i = F(), s = te(), l = ne(), o = ie(), { applySize: r } = se(i, s, e), u = n(() => e.node.settings?.grow),
|
|
1617
|
+
const e = t, i = F(), s = te(), l = ne(), o = ie(), { applySize: r } = se(i, s, e), u = n(() => e.node.settings?.grow), m = n(() => e.node.settings?.shrink), f = n(() => {
|
|
1599
1618
|
const a = {}, c = o.value.type;
|
|
1600
|
-
return l === "page" ? c === "common" ? (r(a), a.flexGrow = u.value ? 1 : 0, a.flexShrink =
|
|
1619
|
+
return l === "page" ? c === "common" ? (r(a), a.flexGrow = u.value ? 1 : 0, a.flexShrink = m.value ? 1 : 0) : console.assert(!1) : l === "comp" && c === "common" ? (r(a), a.flexGrow = u.value ? 1 : 0, a.flexShrink = m.value ? 1 : 0) : console.assert(!1), a;
|
|
1601
1620
|
});
|
|
1602
1621
|
return (a, c) => (V(), q("div", {
|
|
1603
|
-
style: ue(
|
|
1622
|
+
style: ue(f.value)
|
|
1604
1623
|
}, [
|
|
1605
1624
|
M(a.$slots, "default")
|
|
1606
1625
|
], 4));
|
|
@@ -1612,15 +1631,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1612
1631
|
outer: { type: Boolean }
|
|
1613
1632
|
},
|
|
1614
1633
|
setup(t) {
|
|
1615
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = Te(),
|
|
1634
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = Te(), m = n({
|
|
1616
1635
|
get: () => e.node.settings?.valid,
|
|
1617
1636
|
set: (x) => {
|
|
1618
1637
|
e.node.settings && (e.node.settings.valid = !!x);
|
|
1619
1638
|
}
|
|
1620
|
-
}),
|
|
1639
|
+
}), f = n(() => e.node.settings?.fastFail), { applySize: a } = se(i, s, e), { applyMargin: c } = Zt(e), { applyPadding: d } = qt(e), { applyBorder: b } = Ut(l, e), y = n(() => e.node.settings?.backgroundColor), { color: p } = j(l, y), k = n(() => {
|
|
1621
1640
|
const x = {}, h = r.value.type;
|
|
1622
|
-
return o === "page" ? h === "common" ? (a(x), c(x),
|
|
1623
|
-
}),
|
|
1641
|
+
return o === "page" ? h === "common" ? (a(x), c(x), d(x), b(x), p.value && (x.backgroundColor = p.value)) : console.assert(!1) : o === "comp" && h === "common" ? (a(x), c(x), d(x), b(x), p.value && (x.backgroundColor = p.value)) : console.assert(!1), x;
|
|
1642
|
+
}), _ = () => {
|
|
1624
1643
|
if (i !== "runtime" && i !== "preview")
|
|
1625
1644
|
return;
|
|
1626
1645
|
const x = u.interpreter;
|
|
@@ -1632,11 +1651,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1632
1651
|
return (x, h) => {
|
|
1633
1652
|
const w = A("v-form");
|
|
1634
1653
|
return V(), z(w, {
|
|
1635
|
-
modelValue:
|
|
1636
|
-
"onUpdate:modelValue": h[0] || (h[0] = (g) =>
|
|
1637
|
-
"fast-fail":
|
|
1638
|
-
style: ue(
|
|
1639
|
-
onSubmit:
|
|
1654
|
+
modelValue: m.value,
|
|
1655
|
+
"onUpdate:modelValue": h[0] || (h[0] = (g) => m.value = g),
|
|
1656
|
+
"fast-fail": f.value,
|
|
1657
|
+
style: ue(k.value),
|
|
1658
|
+
onSubmit: Yi(_, ["prevent"])
|
|
1640
1659
|
}, {
|
|
1641
1660
|
default: W(() => [
|
|
1642
1661
|
M(x.$slots, "default")
|
|
@@ -1652,15 +1671,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1652
1671
|
outer: { type: Boolean }
|
|
1653
1672
|
},
|
|
1654
1673
|
setup(t) {
|
|
1655
|
-
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.icon), u = n(() => e.node.settings?.size),
|
|
1656
|
-
return (
|
|
1674
|
+
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.icon), u = n(() => e.node.settings?.size), m = n(() => i.value ? "dark" : "light");
|
|
1675
|
+
return (f, a) => {
|
|
1657
1676
|
const c = A("v-icon");
|
|
1658
1677
|
return V(), z(c, {
|
|
1659
1678
|
color: D(l),
|
|
1660
1679
|
disabled: o.value,
|
|
1661
1680
|
icon: r.value,
|
|
1662
1681
|
size: u.value,
|
|
1663
|
-
theme:
|
|
1682
|
+
theme: m.value
|
|
1664
1683
|
}, null, 8, ["color", "disabled", "icon", "size", "theme"]);
|
|
1665
1684
|
};
|
|
1666
1685
|
}
|
|
@@ -1671,20 +1690,20 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1671
1690
|
outer: { type: Boolean }
|
|
1672
1691
|
},
|
|
1673
1692
|
setup(t) {
|
|
1674
|
-
const e = t, i = F(), s = Te(), l = ce(0), o = ce(0), r = n(() => [l.value, o.value]), u = n(() => e.node.basic?.id), { open:
|
|
1693
|
+
const e = t, i = F(), s = Te(), l = ce(0), o = ce(0), r = n(() => [l.value, o.value]), u = n(() => e.node.basic?.id), { open: m } = di(`runtimeMenu/${oi()}`);
|
|
1675
1694
|
return Ei(s, e, (a) => {
|
|
1676
1695
|
if (i !== "runtime" && i !== "preview")
|
|
1677
1696
|
return;
|
|
1678
1697
|
const c = s.interpreter;
|
|
1679
1698
|
if (!c)
|
|
1680
1699
|
return;
|
|
1681
|
-
const { name:
|
|
1682
|
-
|
|
1700
|
+
const { name: d } = a;
|
|
1701
|
+
d === "open" ? (l.value = c.getProperty(c.globalObject, "__pointerPosX__"), o.value = c.getProperty(c.globalObject, "__pointerPosY__"), m.value = !0) : d === "close" && (m.value = !1);
|
|
1683
1702
|
}), (a, c) => {
|
|
1684
|
-
const
|
|
1685
|
-
return V(), z(
|
|
1686
|
-
modelValue: D(
|
|
1687
|
-
"onUpdate:modelValue": c[0] || (c[0] = (b) => si(
|
|
1703
|
+
const d = A("v-menu");
|
|
1704
|
+
return V(), z(d, {
|
|
1705
|
+
modelValue: D(m),
|
|
1706
|
+
"onUpdate:modelValue": c[0] || (c[0] = (b) => si(m) ? m.value = b : null),
|
|
1688
1707
|
attach: "menuContainer",
|
|
1689
1708
|
"location-strategy": "connected",
|
|
1690
1709
|
scrim: "transparent",
|
|
@@ -1710,24 +1729,24 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1710
1729
|
outer: { type: Boolean }
|
|
1711
1730
|
},
|
|
1712
1731
|
setup(t) {
|
|
1713
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.addIcon?.append), o = n(() => e.node.settings?.addIcon?.appendInner), r = n(() => e.node.settings?.clearable), u = n(() => e.node.settings?.hideDetails),
|
|
1714
|
-
return (K,
|
|
1732
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.addIcon?.append), o = n(() => e.node.settings?.addIcon?.appendInner), r = n(() => e.node.settings?.clearable), u = n(() => e.node.settings?.hideDetails), m = n(() => e.node.settings?.label), f = n(() => e.node.settings?.loading), a = n(() => e.node.settings?.max), c = n(() => e.node.size?.maxWidth), d = n(() => e.node.settings?.min), b = n(() => e.node.size?.minWidth), y = n(() => e.node.settings?.value), p = n(() => e.node.settings?.placeholder), k = n(() => e.node.settings?.precision), _ = n(() => e.node.settings?.prefix), x = n(() => e.node.settings?.addIcon?.prepend), h = n(() => e.node.settings?.addIcon?.prependInner), w = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), g = n(() => e.node.settings?.reverse), $ = n(() => e.node.settings?.singleLine), S = n(() => e.node.settings?.step), P = n(() => e.node.settings?.suffix), C = n(() => s.value ? "dark" : "light"), G = n(() => e.node.settings?.variant), X = n(() => e.node.size?.width);
|
|
1733
|
+
return (K, J) => {
|
|
1715
1734
|
const oe = A("v-number-input");
|
|
1716
1735
|
return V(), z(oe, {
|
|
1717
1736
|
"append-icon": l.value,
|
|
1718
1737
|
"append-inner-icon": o.value,
|
|
1719
1738
|
clearable: r.value,
|
|
1720
1739
|
"hide-details": u.value,
|
|
1721
|
-
label:
|
|
1722
|
-
loading:
|
|
1740
|
+
label: m.value,
|
|
1741
|
+
loading: f.value,
|
|
1723
1742
|
max: a.value,
|
|
1724
1743
|
"max-width": c.value,
|
|
1725
|
-
min:
|
|
1744
|
+
min: d.value,
|
|
1726
1745
|
"min-width": b.value,
|
|
1727
1746
|
"model-value": y.value,
|
|
1728
|
-
placeholder:
|
|
1729
|
-
precision:
|
|
1730
|
-
prefix:
|
|
1747
|
+
placeholder: p.value,
|
|
1748
|
+
precision: k.value,
|
|
1749
|
+
prefix: _.value,
|
|
1731
1750
|
"prepend-icon": x.value,
|
|
1732
1751
|
"prepend-inner-icon": h.value,
|
|
1733
1752
|
readonly: w.value,
|
|
@@ -1737,7 +1756,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1737
1756
|
suffix: P.value,
|
|
1738
1757
|
theme: C.value,
|
|
1739
1758
|
variant: G.value,
|
|
1740
|
-
width:
|
|
1759
|
+
width: X.value
|
|
1741
1760
|
}, null, 8, ["append-icon", "append-inner-icon", "clearable", "hide-details", "label", "loading", "max", "max-width", "min", "min-width", "model-value", "placeholder", "precision", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "step", "suffix", "theme", "variant", "width"]);
|
|
1742
1761
|
};
|
|
1743
1762
|
}
|
|
@@ -1748,20 +1767,20 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1748
1767
|
outer: { type: Boolean }
|
|
1749
1768
|
},
|
|
1750
1769
|
setup(t) {
|
|
1751
|
-
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.length), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.showFirstLastPage),
|
|
1770
|
+
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.length), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.showFirstLastPage), m = n(() => e.node.settings?.size), f = n(() => e.node.settings?.start), a = n(() => i.value ? "dark" : "light"), c = n(() => e.node.settings?.tile), d = n(() => e.node.settings?.variant);
|
|
1752
1771
|
return (b, y) => {
|
|
1753
|
-
const
|
|
1754
|
-
return V(), z(
|
|
1772
|
+
const p = A("v-pagination");
|
|
1773
|
+
return V(), z(p, {
|
|
1755
1774
|
density: s.value,
|
|
1756
1775
|
disabled: l.value,
|
|
1757
1776
|
length: o.value,
|
|
1758
1777
|
"model-value": r.value,
|
|
1759
1778
|
"show-first-last-page": u.value,
|
|
1760
|
-
size:
|
|
1761
|
-
start:
|
|
1779
|
+
size: m.value,
|
|
1780
|
+
start: f.value,
|
|
1762
1781
|
theme: a.value,
|
|
1763
1782
|
tile: c.value,
|
|
1764
|
-
variant:
|
|
1783
|
+
variant: d.value
|
|
1765
1784
|
}, null, 8, ["density", "disabled", "length", "model-value", "show-first-last-page", "size", "start", "theme", "tile", "variant"]);
|
|
1766
1785
|
};
|
|
1767
1786
|
}
|
|
@@ -1772,16 +1791,16 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1772
1791
|
outer: { type: Boolean }
|
|
1773
1792
|
},
|
|
1774
1793
|
setup(t) {
|
|
1775
|
-
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label),
|
|
1776
|
-
return (c,
|
|
1794
|
+
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label), m = n(() => e.node.settings?.readonly), f = n(() => i.value ? "dark" : "light"), a = n(() => e.node.settings?.value);
|
|
1795
|
+
return (c, d) => {
|
|
1777
1796
|
const b = A("v-radio");
|
|
1778
1797
|
return V(), z(b, {
|
|
1779
1798
|
color: D(l),
|
|
1780
1799
|
density: o.value,
|
|
1781
1800
|
disabled: r.value,
|
|
1782
1801
|
label: u.value,
|
|
1783
|
-
readonly:
|
|
1784
|
-
theme:
|
|
1802
|
+
readonly: m.value,
|
|
1803
|
+
theme: f.value,
|
|
1785
1804
|
value: a.value
|
|
1786
1805
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
1787
1806
|
};
|
|
@@ -1793,8 +1812,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1793
1812
|
outer: { type: Boolean }
|
|
1794
1813
|
},
|
|
1795
1814
|
setup(t) {
|
|
1796
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.inline),
|
|
1797
|
-
return (c,
|
|
1815
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.inline), m = n(() => e.node.settings?.value), f = n(() => e.node.settings?.readonly), a = n(() => s.value ? "dark" : "light");
|
|
1816
|
+
return (c, d) => {
|
|
1798
1817
|
const b = A("v-radio-group");
|
|
1799
1818
|
return D(i) === "editor" ? (V(), q("div", kl, [
|
|
1800
1819
|
Z(b, {
|
|
@@ -1802,8 +1821,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1802
1821
|
direction: o.value,
|
|
1803
1822
|
disabled: r.value,
|
|
1804
1823
|
inline: u.value,
|
|
1805
|
-
"model-value":
|
|
1806
|
-
readonly:
|
|
1824
|
+
"model-value": m.value,
|
|
1825
|
+
readonly: f.value,
|
|
1807
1826
|
theme: a.value
|
|
1808
1827
|
}, {
|
|
1809
1828
|
default: W(() => [
|
|
@@ -1817,8 +1836,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1817
1836
|
direction: o.value,
|
|
1818
1837
|
disabled: r.value,
|
|
1819
1838
|
inline: u.value,
|
|
1820
|
-
"model-value":
|
|
1821
|
-
readonly:
|
|
1839
|
+
"model-value": m.value,
|
|
1840
|
+
readonly: f.value,
|
|
1822
1841
|
theme: a.value
|
|
1823
1842
|
}, {
|
|
1824
1843
|
default: W(() => [
|
|
@@ -1835,7 +1854,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1835
1854
|
outer: { type: Boolean }
|
|
1836
1855
|
},
|
|
1837
1856
|
setup(t) {
|
|
1838
|
-
const e = F(), i = B(), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.disabled), r = n(() => t.node.settings?.hideDetails), u = n(() => t.node.settings?.label),
|
|
1857
|
+
const e = F(), i = B(), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.disabled), r = n(() => t.node.settings?.hideDetails), u = n(() => t.node.settings?.label), m = n(() => t.node.settings?.max), f = n(() => t.node.settings?.min), a = n(() => {
|
|
1839
1858
|
const S = t.node.settings?.value?.start, P = t.node.settings?.value?.end;
|
|
1840
1859
|
return [S, P];
|
|
1841
1860
|
}), c = ([S, P]) => {
|
|
@@ -1843,15 +1862,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1843
1862
|
return;
|
|
1844
1863
|
const { value: C } = t.node.settings;
|
|
1845
1864
|
C.start = S, C.end = P;
|
|
1846
|
-
},
|
|
1865
|
+
}, d = n(() => t.node.settings?.readonly), b = n(() => t.node.settings?.showTicks), y = n(() => {
|
|
1847
1866
|
if (b.value === "always")
|
|
1848
1867
|
return "always";
|
|
1849
1868
|
if (b.value === "show")
|
|
1850
1869
|
return !0;
|
|
1851
|
-
}),
|
|
1852
|
-
if (
|
|
1870
|
+
}), p = n(() => t.node.settings?.step), k = n(() => i.value ? "dark" : "light"), _ = n(() => t.node.settings?.thumbLabel), x = n(() => {
|
|
1871
|
+
if (_.value === "always")
|
|
1853
1872
|
return "always";
|
|
1854
|
-
if (
|
|
1873
|
+
if (_.value === "show")
|
|
1855
1874
|
return !0;
|
|
1856
1875
|
}), h = n(() => t.node.settings?.thumbSize), w = n(() => t.node.settings?.ticks), g = n(() => {
|
|
1857
1876
|
if (!w.value)
|
|
@@ -1871,13 +1890,13 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1871
1890
|
disabled: o.value,
|
|
1872
1891
|
"hide-details": r.value,
|
|
1873
1892
|
label: u.value,
|
|
1874
|
-
max:
|
|
1875
|
-
min:
|
|
1893
|
+
max: m.value,
|
|
1894
|
+
min: f.value,
|
|
1876
1895
|
"model-value": a.value,
|
|
1877
|
-
readonly:
|
|
1896
|
+
readonly: d.value,
|
|
1878
1897
|
"show-ticks": y.value,
|
|
1879
|
-
step:
|
|
1880
|
-
theme:
|
|
1898
|
+
step: p.value,
|
|
1899
|
+
theme: k.value,
|
|
1881
1900
|
"thumb-label": x.value,
|
|
1882
1901
|
"thumb-size": h.value,
|
|
1883
1902
|
"tick-size": $.value,
|
|
@@ -1890,13 +1909,13 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1890
1909
|
disabled: o.value,
|
|
1891
1910
|
"hide-details": r.value,
|
|
1892
1911
|
label: u.value,
|
|
1893
|
-
max:
|
|
1894
|
-
min:
|
|
1912
|
+
max: m.value,
|
|
1913
|
+
min: f.value,
|
|
1895
1914
|
"model-value": a.value,
|
|
1896
|
-
readonly:
|
|
1915
|
+
readonly: d.value,
|
|
1897
1916
|
"show-ticks": y.value,
|
|
1898
|
-
step:
|
|
1899
|
-
theme:
|
|
1917
|
+
step: p.value,
|
|
1918
|
+
theme: k.value,
|
|
1900
1919
|
"thumb-label": x.value,
|
|
1901
1920
|
"thumb-size": h.value,
|
|
1902
1921
|
"tick-size": $.value,
|
|
@@ -1912,13 +1931,13 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1912
1931
|
outer: { type: Boolean }
|
|
1913
1932
|
},
|
|
1914
1933
|
setup(t) {
|
|
1915
|
-
const e = B(), i = n(() => t.node.settings?.clearable), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.disabled), o = n(() => t.node.settings?.halfIncrements), r = n(() => t.node.settings?.hover), u = n(() => t.node.settings?.length),
|
|
1934
|
+
const e = B(), i = n(() => t.node.settings?.clearable), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.disabled), o = n(() => t.node.settings?.halfIncrements), r = n(() => t.node.settings?.hover), u = n(() => t.node.settings?.length), m = n(() => t.node.settings?.value), f = (d) => {
|
|
1916
1935
|
if (!t.node.settings)
|
|
1917
1936
|
return;
|
|
1918
1937
|
const { settings: b } = t.node;
|
|
1919
|
-
b.value =
|
|
1938
|
+
b.value = d;
|
|
1920
1939
|
}, a = n(() => t.node.settings?.readonly), c = n(() => e.value ? "dark" : "light");
|
|
1921
|
-
return (
|
|
1940
|
+
return (d, b) => {
|
|
1922
1941
|
const y = A("v-rating");
|
|
1923
1942
|
return V(), z(y, {
|
|
1924
1943
|
clearable: i.value,
|
|
@@ -1927,10 +1946,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1927
1946
|
"half-increments": o.value,
|
|
1928
1947
|
hover: r.value,
|
|
1929
1948
|
length: u.value,
|
|
1930
|
-
"model-value":
|
|
1949
|
+
"model-value": m.value,
|
|
1931
1950
|
readonly: a.value,
|
|
1932
1951
|
theme: c.value,
|
|
1933
|
-
"onUpdate:modelValue":
|
|
1952
|
+
"onUpdate:modelValue": f
|
|
1934
1953
|
}, null, 8, ["clearable", "density", "disabled", "half-increments", "hover", "length", "model-value", "readonly", "theme"]);
|
|
1935
1954
|
};
|
|
1936
1955
|
}
|
|
@@ -1941,8 +1960,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1941
1960
|
outer: { type: Boolean }
|
|
1942
1961
|
},
|
|
1943
1962
|
setup(t) {
|
|
1944
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder),
|
|
1945
|
-
return (c,
|
|
1963
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder), m = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), f = n(() => e.node.settings?.singleLine), a = n(() => s.value ? "dark" : "light");
|
|
1964
|
+
return (c, d) => {
|
|
1946
1965
|
const b = A("v-select");
|
|
1947
1966
|
return D(i) === "editor" ? (V(), q("div", Cl, [
|
|
1948
1967
|
Z(b, {
|
|
@@ -1950,8 +1969,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1950
1969
|
label: o.value,
|
|
1951
1970
|
"model-value": r.value,
|
|
1952
1971
|
placeholder: u.value,
|
|
1953
|
-
readonly:
|
|
1954
|
-
"single-line":
|
|
1972
|
+
readonly: m.value,
|
|
1973
|
+
"single-line": f.value,
|
|
1955
1974
|
theme: a.value
|
|
1956
1975
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"])
|
|
1957
1976
|
])) : (V(), z(b, {
|
|
@@ -1960,8 +1979,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1960
1979
|
label: o.value,
|
|
1961
1980
|
"model-value": r.value,
|
|
1962
1981
|
placeholder: u.value,
|
|
1963
|
-
readonly:
|
|
1964
|
-
"single-line":
|
|
1982
|
+
readonly: m.value,
|
|
1983
|
+
"single-line": f.value,
|
|
1965
1984
|
theme: a.value
|
|
1966
1985
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"]));
|
|
1967
1986
|
};
|
|
@@ -1973,12 +1992,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1973
1992
|
outer: { type: Boolean }
|
|
1974
1993
|
},
|
|
1975
1994
|
setup(t) {
|
|
1976
|
-
const e = F(), i = lo(), s = n(() => t.node.settings?.color), { color: l } = j(i, s), o = n(() => t.node.settings?.direction), r = n(() => t.node.settings?.disabled), u = n(() => t.node.settings?.hideDetails),
|
|
1995
|
+
const e = F(), i = lo(), s = n(() => t.node.settings?.color), { color: l } = j(i, s), o = n(() => t.node.settings?.direction), r = n(() => t.node.settings?.disabled), u = n(() => t.node.settings?.hideDetails), m = n(() => t.node.settings?.label), f = n(() => t.node.settings?.max), a = n(() => t.node.settings?.min), c = n(() => t.node.settings?.value), d = n(() => t.node.settings?.readonly), b = n(() => !!t.node.settings?.reverse), y = n(() => t.node.settings?.showTicks), p = n(() => {
|
|
1977
1996
|
if (y.value === "always")
|
|
1978
1997
|
return "always";
|
|
1979
1998
|
if (y.value === "show")
|
|
1980
1999
|
return !0;
|
|
1981
|
-
}),
|
|
2000
|
+
}), k = n(() => t.node.settings?.step), _ = n(() => i.value ? "dark" : "light"), x = n(() => t.node.settings?.thumbColor), { color: h } = j(i, x), w = n(() => t.node.settings?.thumbLabel), g = n(() => {
|
|
1982
2001
|
if (w.value === "always")
|
|
1983
2002
|
return "always";
|
|
1984
2003
|
if (w.value === "show")
|
|
@@ -1991,7 +2010,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1991
2010
|
oe[xe] = ke;
|
|
1992
2011
|
if (!pi(oe))
|
|
1993
2012
|
return oe;
|
|
1994
|
-
}), C = n(() => t.node.settings?.tickSize), G = n(() => t.node.settings?.trackColor), { color:
|
|
2013
|
+
}), C = n(() => t.node.settings?.tickSize), G = n(() => t.node.settings?.trackColor), { color: X } = j(i, G), K = n(() => t.node.slots?.append), J = n(() => t.node.slots?.prepend);
|
|
1995
2014
|
return (oe, xe) => {
|
|
1996
2015
|
const ke = A("v-slider");
|
|
1997
2016
|
return D(e) === "editor" ? (V(), q("div", Sl, [
|
|
@@ -2000,37 +2019,37 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2000
2019
|
direction: o.value,
|
|
2001
2020
|
disabled: r.value,
|
|
2002
2021
|
"hide-details": u.value,
|
|
2003
|
-
label:
|
|
2004
|
-
max:
|
|
2022
|
+
label: m.value,
|
|
2023
|
+
max: f.value,
|
|
2005
2024
|
min: a.value,
|
|
2006
2025
|
"model-value": c.value,
|
|
2007
|
-
readonly:
|
|
2026
|
+
readonly: d.value,
|
|
2008
2027
|
reverse: b.value,
|
|
2009
|
-
"show-ticks":
|
|
2010
|
-
step:
|
|
2011
|
-
theme:
|
|
2028
|
+
"show-ticks": p.value,
|
|
2029
|
+
step: k.value,
|
|
2030
|
+
theme: _.value,
|
|
2012
2031
|
"thumb-color": D(h),
|
|
2013
2032
|
"thumb-label": g.value,
|
|
2014
2033
|
"thumb-size": $.value,
|
|
2015
2034
|
"tick-size": C.value,
|
|
2016
2035
|
ticks: P.value,
|
|
2017
|
-
"track-color": D(
|
|
2036
|
+
"track-color": D(X)
|
|
2018
2037
|
}, we({ _: 2 }, [
|
|
2019
2038
|
K.value ? {
|
|
2020
2039
|
name: "append",
|
|
2021
2040
|
fn: W(() => [
|
|
2022
|
-
Z(
|
|
2041
|
+
Z(Y, {
|
|
2023
2042
|
"ref-context": { refid: K.value },
|
|
2024
2043
|
state: {}
|
|
2025
2044
|
}, null, 8, ["ref-context"])
|
|
2026
2045
|
]),
|
|
2027
2046
|
key: "0"
|
|
2028
2047
|
} : void 0,
|
|
2029
|
-
|
|
2048
|
+
J.value ? {
|
|
2030
2049
|
name: "prepend",
|
|
2031
2050
|
fn: W(() => [
|
|
2032
|
-
Z(
|
|
2033
|
-
"ref-context": { refid:
|
|
2051
|
+
Z(Y, {
|
|
2052
|
+
"ref-context": { refid: J.value },
|
|
2034
2053
|
state: {}
|
|
2035
2054
|
}, null, 8, ["ref-context"])
|
|
2036
2055
|
]),
|
|
@@ -2043,37 +2062,37 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2043
2062
|
direction: o.value,
|
|
2044
2063
|
disabled: r.value,
|
|
2045
2064
|
"hide-details": u.value,
|
|
2046
|
-
label:
|
|
2047
|
-
max:
|
|
2065
|
+
label: m.value,
|
|
2066
|
+
max: f.value,
|
|
2048
2067
|
min: a.value,
|
|
2049
2068
|
"model-value": c.value,
|
|
2050
|
-
readonly:
|
|
2069
|
+
readonly: d.value,
|
|
2051
2070
|
reverse: b.value,
|
|
2052
|
-
"show-ticks":
|
|
2053
|
-
step:
|
|
2054
|
-
theme:
|
|
2071
|
+
"show-ticks": p.value,
|
|
2072
|
+
step: k.value,
|
|
2073
|
+
theme: _.value,
|
|
2055
2074
|
"thumb-color": D(h),
|
|
2056
2075
|
"thumb-label": g.value,
|
|
2057
2076
|
"thumb-size": $.value,
|
|
2058
2077
|
"tick-size": C.value,
|
|
2059
2078
|
ticks: P.value,
|
|
2060
|
-
"track-color": D(
|
|
2079
|
+
"track-color": D(X)
|
|
2061
2080
|
}, we({ _: 2 }, [
|
|
2062
2081
|
K.value ? {
|
|
2063
2082
|
name: "append",
|
|
2064
2083
|
fn: W(() => [
|
|
2065
|
-
Z(
|
|
2084
|
+
Z(Y, {
|
|
2066
2085
|
"ref-context": { refid: K.value },
|
|
2067
2086
|
state: {}
|
|
2068
2087
|
}, null, 8, ["ref-context"])
|
|
2069
2088
|
]),
|
|
2070
2089
|
key: "0"
|
|
2071
2090
|
} : void 0,
|
|
2072
|
-
|
|
2091
|
+
J.value ? {
|
|
2073
2092
|
name: "prepend",
|
|
2074
2093
|
fn: W(() => [
|
|
2075
|
-
Z(
|
|
2076
|
-
"ref-context": { refid:
|
|
2094
|
+
Z(Y, {
|
|
2095
|
+
"ref-context": { refid: J.value },
|
|
2077
2096
|
state: {}
|
|
2078
2097
|
}, null, 8, ["ref-context"])
|
|
2079
2098
|
]),
|
|
@@ -2166,8 +2185,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2166
2185
|
outer: { type: Boolean }
|
|
2167
2186
|
},
|
|
2168
2187
|
setup(t) {
|
|
2169
|
-
const e = t, i = F(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.hideDetails), u = n(() => e.node.settings?.indeterminate),
|
|
2170
|
-
return (
|
|
2188
|
+
const e = t, i = F(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.hideDetails), u = n(() => e.node.settings?.indeterminate), m = n(() => e.node.settings?.inline), f = n(() => e.node.settings?.inset), a = n(() => e.node.settings?.label), c = n(() => e.node.settings?.loading);
|
|
2189
|
+
return (d, b) => {
|
|
2171
2190
|
const y = A("v-switch");
|
|
2172
2191
|
return D(i) === "editor" ? (V(), q("div", Rl, [
|
|
2173
2192
|
Z(y, {
|
|
@@ -2176,8 +2195,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2176
2195
|
disabled: o.value,
|
|
2177
2196
|
"hide-details": r.value,
|
|
2178
2197
|
indeterminate: u.value,
|
|
2179
|
-
inline:
|
|
2180
|
-
inset:
|
|
2198
|
+
inline: m.value,
|
|
2199
|
+
inset: f.value,
|
|
2181
2200
|
label: a.value,
|
|
2182
2201
|
loading: c.value
|
|
2183
2202
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading"])
|
|
@@ -2188,8 +2207,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2188
2207
|
disabled: o.value,
|
|
2189
2208
|
"hide-details": r.value,
|
|
2190
2209
|
indeterminate: u.value,
|
|
2191
|
-
inline:
|
|
2192
|
-
inset:
|
|
2210
|
+
inline: m.value,
|
|
2211
|
+
inset: f.value,
|
|
2193
2212
|
label: a.value,
|
|
2194
2213
|
loading: c.value
|
|
2195
2214
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading"]));
|
|
@@ -2204,8 +2223,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2204
2223
|
setup(t) {
|
|
2205
2224
|
const e = t, i = B(), s = n(() => e.node.settings?.text), l = n(() => i.value ? "dark" : "light"), o = n(() => e.node.settings?.value);
|
|
2206
2225
|
return (r, u) => {
|
|
2207
|
-
const
|
|
2208
|
-
return V(), z(
|
|
2226
|
+
const m = A("v-tab");
|
|
2227
|
+
return V(), z(m, {
|
|
2209
2228
|
text: s.value,
|
|
2210
2229
|
theme: l.value,
|
|
2211
2230
|
value: o.value
|
|
@@ -2219,23 +2238,23 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2219
2238
|
outer: { type: Boolean }
|
|
2220
2239
|
},
|
|
2221
2240
|
setup(t) {
|
|
2222
|
-
const e = t, i = B(), s = n(() => e.node.settings?.alignTabs), l = n(() => e.node.settings?.color?.backgroundColor), { color: o } = j(i, l), r = n(() => e.node.settings?.centerActive), u = n(() => e.node.settings?.color?.selectedColor), { color:
|
|
2241
|
+
const e = t, i = B(), s = n(() => e.node.settings?.alignTabs), l = n(() => e.node.settings?.color?.backgroundColor), { color: o } = j(i, l), r = n(() => e.node.settings?.centerActive), u = n(() => e.node.settings?.color?.selectedColor), { color: m } = j(i, u), f = n(() => e.node.settings?.density), a = n(() => e.node.settings?.direction), c = n(() => e.node.settings?.disabled), d = n(() => e.node.settings?.fixedTabs), b = n(() => e.node.settings?.grow), y = n(() => e.node.settings?.hideSlider), p = n(() => e.node.settings?.items), k = n(() => e.node.settings?.mandatory), _ = n(() => !!e.node.settings?.showArrows), x = n(() => e.node.settings?.color?.sliderColor), { color: h } = j(i, x), w = n(() => e.node.settings?.stacked), g = n(() => i.value ? "dark" : "light");
|
|
2223
2242
|
return ($, S) => {
|
|
2224
2243
|
const P = A("v-tabs");
|
|
2225
2244
|
return V(), z(P, {
|
|
2226
2245
|
"align-tabs": s.value,
|
|
2227
2246
|
"bg-color": D(o),
|
|
2228
2247
|
"center-active": r.value,
|
|
2229
|
-
color: D(
|
|
2230
|
-
density:
|
|
2248
|
+
color: D(m),
|
|
2249
|
+
density: f.value,
|
|
2231
2250
|
direction: a.value,
|
|
2232
2251
|
disabled: c.value,
|
|
2233
|
-
"fixed-tabs":
|
|
2252
|
+
"fixed-tabs": d.value,
|
|
2234
2253
|
grow: b.value,
|
|
2235
2254
|
"hide-slider": y.value,
|
|
2236
|
-
items:
|
|
2237
|
-
mandatory:
|
|
2238
|
-
"show-arrows":
|
|
2255
|
+
items: p.value,
|
|
2256
|
+
mandatory: k.value,
|
|
2257
|
+
"show-arrows": _.value,
|
|
2239
2258
|
"slider-color": D(h),
|
|
2240
2259
|
stacked: w.value,
|
|
2241
2260
|
theme: g.value
|
|
@@ -2254,12 +2273,12 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2254
2273
|
outer: { type: Boolean }
|
|
2255
2274
|
},
|
|
2256
2275
|
setup(t) {
|
|
2257
|
-
const e = t, i = te(), s = n(() => e.node.settings?.align), l = n(() => e.node.settings?.decoration), o = n(() => e.node.settings?.emphasis), r = n(() => e.node.settings?.italic), u = n(() => e.node.settings?.text),
|
|
2258
|
-
const a = [], c = ki(i.value.width),
|
|
2259
|
-
return
|
|
2276
|
+
const e = t, i = te(), s = n(() => e.node.settings?.align), l = n(() => e.node.settings?.decoration), o = n(() => e.node.settings?.emphasis), r = n(() => e.node.settings?.italic), u = n(() => e.node.settings?.text), m = n(() => e.node.settings?.weight), f = n(() => {
|
|
2277
|
+
const a = [], c = ki(i.value.width), d = ve(c, e.node.settings?.style);
|
|
2278
|
+
return d && a.push(`text-${d}`), o.value === "high" ? a.push("text-high-emphasis") : o.value === "medium" ? a.push("text-medium-emphasis") : o.value === "disabled" && a.push("text-disabled"), s.value && a.push(`font-${s.value}`), l.value && a.push(`text-decoration-${l.value}`), m.value && a.push(`font-weight-${m.value}`), r.value && a.push("font-italic"), a.join(" ");
|
|
2260
2279
|
});
|
|
2261
2280
|
return (a, c) => (V(), q("span", {
|
|
2262
|
-
class: Qi(
|
|
2281
|
+
class: Qi(f.value)
|
|
2263
2282
|
}, eo(u.value), 3));
|
|
2264
2283
|
}
|
|
2265
2284
|
}), Gl = /* @__PURE__ */ T({
|
|
@@ -2269,7 +2288,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2269
2288
|
outer: { type: Boolean }
|
|
2270
2289
|
},
|
|
2271
2290
|
setup(t) {
|
|
2272
|
-
const e = t, i = B(), s = n(() => e.node.settings?.autoGrow), l = n(() => e.node.settings?.clearable), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label),
|
|
2291
|
+
const e = t, i = B(), s = n(() => e.node.settings?.autoGrow), l = n(() => e.node.settings?.clearable), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label), m = n(() => e.node.settings?.loading), f = n(() => e.node.settings?.maxRows), a = n(() => e.node.settings?.value), c = n(() => e.node.settings?.placeholder), d = n(() => e.node.settings?.readonly), b = n(() => e.node.settings?.reverse), y = n(() => e.node.settings?.rows), p = n(() => e.node.settings?.singleLine), k = n(() => i.value ? "dark" : "light"), _ = n(() => e.node.settings?.variant);
|
|
2273
2292
|
return (x, h) => {
|
|
2274
2293
|
const w = A("v-textarea");
|
|
2275
2294
|
return V(), z(w, {
|
|
@@ -2278,16 +2297,16 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2278
2297
|
density: o.value,
|
|
2279
2298
|
disabled: r.value,
|
|
2280
2299
|
label: u.value,
|
|
2281
|
-
loading:
|
|
2282
|
-
"max-rows":
|
|
2300
|
+
loading: m.value,
|
|
2301
|
+
"max-rows": f.value,
|
|
2283
2302
|
"model-value": a.value,
|
|
2284
2303
|
placeholder: c.value,
|
|
2285
|
-
readonly:
|
|
2304
|
+
readonly: d.value,
|
|
2286
2305
|
reverse: b.value,
|
|
2287
2306
|
rows: y.value,
|
|
2288
|
-
"single-line":
|
|
2289
|
-
theme:
|
|
2290
|
-
variant:
|
|
2307
|
+
"single-line": p.value,
|
|
2308
|
+
theme: k.value,
|
|
2309
|
+
variant: _.value
|
|
2291
2310
|
}, null, 8, ["auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "model-value", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"]);
|
|
2292
2311
|
};
|
|
2293
2312
|
}
|
|
@@ -2298,24 +2317,24 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2298
2317
|
outer: { type: Boolean }
|
|
2299
2318
|
},
|
|
2300
2319
|
setup(t) {
|
|
2301
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.appendIcon), o = n(() => e.node.settings?.appendInnerIcon), r = n(() => e.node.settings?.autofocus), u = n(() => e.node.settings?.clearable),
|
|
2302
|
-
return (
|
|
2303
|
-
const
|
|
2304
|
-
return V(), z(
|
|
2320
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.appendIcon), o = n(() => e.node.settings?.appendInnerIcon), r = n(() => e.node.settings?.autofocus), u = n(() => e.node.settings?.clearable), m = n(() => e.node.settings?.density), f = n(() => e.node.settings?.disabled), a = n(() => e.node.settings?.hideDetails), c = n(() => e.node.settings?.label), d = n(() => e.node.settings?.loading), b = n(() => e.node.settings?.placeholder), y = n(() => e.node.settings?.prefix), p = n(() => e.node.settings?.prependIcon), k = n(() => e.node.settings?.prependInnerIcon), _ = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), x = n(() => e.node.settings?.reverse), h = n(() => e.node.settings?.singleLine), w = n(() => e.node.settings?.suffix), g = n(() => s.value ? "dark" : "light"), $ = n(() => e.node.settings?.variant), S = n(() => e.node.slots?.append), P = n(() => e.node.slots?.appendInner), C = n(() => e.node.slots?.prepend), G = n(() => e.node.slots?.prependInner);
|
|
2321
|
+
return (X, K) => {
|
|
2322
|
+
const J = A("v-text-field");
|
|
2323
|
+
return V(), z(J, {
|
|
2305
2324
|
"append-icon": l.value,
|
|
2306
2325
|
"append-inner-icon": o.value,
|
|
2307
2326
|
autofocus: r.value,
|
|
2308
2327
|
clearable: u.value,
|
|
2309
|
-
density:
|
|
2310
|
-
disabled:
|
|
2328
|
+
density: m.value,
|
|
2329
|
+
disabled: f.value,
|
|
2311
2330
|
"hide-details": a.value,
|
|
2312
2331
|
label: c.value,
|
|
2313
|
-
loading:
|
|
2332
|
+
loading: d.value,
|
|
2314
2333
|
placeholder: b.value,
|
|
2315
2334
|
prefix: y.value,
|
|
2316
|
-
"prepend-icon":
|
|
2317
|
-
"prepend-inner-icon":
|
|
2318
|
-
readonly:
|
|
2335
|
+
"prepend-icon": p.value,
|
|
2336
|
+
"prepend-inner-icon": k.value,
|
|
2337
|
+
readonly: _.value,
|
|
2319
2338
|
reverse: x.value,
|
|
2320
2339
|
"single-line": h.value,
|
|
2321
2340
|
suffix: w.value,
|
|
@@ -2325,7 +2344,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2325
2344
|
S.value ? {
|
|
2326
2345
|
name: "append",
|
|
2327
2346
|
fn: W(() => [
|
|
2328
|
-
Z(
|
|
2347
|
+
Z(Y, {
|
|
2329
2348
|
"ref-context": { refid: S.value },
|
|
2330
2349
|
state: {}
|
|
2331
2350
|
}, null, 8, ["ref-context"])
|
|
@@ -2335,7 +2354,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2335
2354
|
P.value ? {
|
|
2336
2355
|
name: "append-inner",
|
|
2337
2356
|
fn: W(() => [
|
|
2338
|
-
Z(
|
|
2357
|
+
Z(Y, {
|
|
2339
2358
|
"ref-context": { refid: P.value },
|
|
2340
2359
|
state: {}
|
|
2341
2360
|
}, null, 8, ["ref-context"])
|
|
@@ -2345,7 +2364,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2345
2364
|
C.value ? {
|
|
2346
2365
|
name: "prepend",
|
|
2347
2366
|
fn: W(() => [
|
|
2348
|
-
Z(
|
|
2367
|
+
Z(Y, {
|
|
2349
2368
|
"ref-context": { refid: C.value },
|
|
2350
2369
|
state: {}
|
|
2351
2370
|
}, null, 8, ["ref-context"])
|
|
@@ -2355,7 +2374,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2355
2374
|
G.value ? {
|
|
2356
2375
|
name: "prepend-inner",
|
|
2357
2376
|
fn: W(() => [
|
|
2358
|
-
Z(
|
|
2377
|
+
Z(Y, {
|
|
2359
2378
|
"ref-context": { refid: G.value },
|
|
2360
2379
|
state: {}
|
|
2361
2380
|
}, null, 8, ["ref-context"])
|
|
@@ -2372,8 +2391,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2372
2391
|
outer: { type: Boolean }
|
|
2373
2392
|
},
|
|
2374
2393
|
setup(t) {
|
|
2375
|
-
const e = B(), i = n(() => t.node.settings?.align), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.dot?.color), { color: r } = j(e, o), u = n(() => t.node.settings?.dot?.fill),
|
|
2376
|
-
return (
|
|
2394
|
+
const e = B(), i = n(() => t.node.settings?.align), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.dot?.color), { color: r } = j(e, o), u = n(() => t.node.settings?.dot?.fill), m = n(() => t.node.settings?.hideOpposite), f = n(() => t.node.settings?.line?.color), { color: a } = j(e, f), c = n(() => t.node.settings?.line?.inset), d = n(() => t.node.settings?.line?.thickness), b = n(() => t.node.settings?.side), y = n(() => e.value ? "dark" : "light"), p = n(() => t.node.settings?.line.truncate);
|
|
2395
|
+
return (k, _) => {
|
|
2377
2396
|
const x = A("v-timeline");
|
|
2378
2397
|
return V(), z(x, {
|
|
2379
2398
|
align: i.value,
|
|
@@ -2381,16 +2400,16 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2381
2400
|
direction: l.value,
|
|
2382
2401
|
"dot-color": D(r),
|
|
2383
2402
|
"fill-dot": u.value,
|
|
2384
|
-
"hide-opposite":
|
|
2403
|
+
"hide-opposite": m.value,
|
|
2385
2404
|
"line-color": D(a),
|
|
2386
2405
|
"line-inset": c.value,
|
|
2387
|
-
"line-thickness":
|
|
2406
|
+
"line-thickness": d.value,
|
|
2388
2407
|
side: b.value,
|
|
2389
2408
|
theme: y.value,
|
|
2390
|
-
"truncate-line":
|
|
2409
|
+
"truncate-line": p.value
|
|
2391
2410
|
}, {
|
|
2392
2411
|
default: W(() => [
|
|
2393
|
-
M(
|
|
2412
|
+
M(k.$slots, "default")
|
|
2394
2413
|
]),
|
|
2395
2414
|
_: 3
|
|
2396
2415
|
}, 8, ["align", "density", "direction", "dot-color", "fill-dot", "hide-opposite", "line-color", "line-inset", "line-thickness", "side", "theme", "truncate-line"]);
|
|
@@ -2406,25 +2425,25 @@ function Zl(t, e) {
|
|
|
2406
2425
|
_: 3
|
|
2407
2426
|
});
|
|
2408
2427
|
}
|
|
2409
|
-
const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]),
|
|
2428
|
+
const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Jl = /* @__PURE__ */ T({
|
|
2410
2429
|
__name: "index",
|
|
2411
2430
|
props: {
|
|
2412
2431
|
node: {},
|
|
2413
2432
|
outer: { type: Boolean }
|
|
2414
2433
|
},
|
|
2415
2434
|
setup(t) {
|
|
2416
|
-
const e = B(), i = n(() => t.node.settings?.continuous), s = n(() => t.node.settings?.disabled), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.value), r = n(() => t.node.settings?.reverse), u = n(() => t.node.settings?.showArrows),
|
|
2435
|
+
const e = B(), i = n(() => t.node.settings?.continuous), s = n(() => t.node.settings?.disabled), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.value), r = n(() => t.node.settings?.reverse), u = n(() => t.node.settings?.showArrows), m = n(() => e.value ? "dark" : "light"), f = n(() => t.node.settings?.touch);
|
|
2417
2436
|
return (a, c) => {
|
|
2418
|
-
const
|
|
2419
|
-
return V(), z(
|
|
2437
|
+
const d = A("v-window");
|
|
2438
|
+
return V(), z(d, {
|
|
2420
2439
|
continuous: i.value,
|
|
2421
2440
|
direction: l.value,
|
|
2422
2441
|
disabled: s.value,
|
|
2423
2442
|
"model-value": o.value,
|
|
2424
2443
|
reverse: r.value,
|
|
2425
2444
|
"show-arrows": u.value,
|
|
2426
|
-
theme:
|
|
2427
|
-
touch:
|
|
2445
|
+
theme: m.value,
|
|
2446
|
+
touch: f.value
|
|
2428
2447
|
}, {
|
|
2429
2448
|
default: W(() => [
|
|
2430
2449
|
M(a.$slots, "default")
|
|
@@ -2433,8 +2452,8 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2433
2452
|
}, 8, ["continuous", "direction", "disabled", "model-value", "reverse", "show-arrows", "theme", "touch"]);
|
|
2434
2453
|
};
|
|
2435
2454
|
}
|
|
2436
|
-
}),
|
|
2437
|
-
function
|
|
2455
|
+
}), Xl = {};
|
|
2456
|
+
function Yl(t, e) {
|
|
2438
2457
|
const i = A("v-window-item");
|
|
2439
2458
|
return V(), z(i, null, {
|
|
2440
2459
|
default: W(() => [
|
|
@@ -2443,7 +2462,7 @@ function Jl(t, e) {
|
|
|
2443
2462
|
_: 3
|
|
2444
2463
|
});
|
|
2445
2464
|
}
|
|
2446
|
-
const Ql = /* @__PURE__ */ be(
|
|
2465
|
+
const Ql = /* @__PURE__ */ be(Xl, [["render", Yl]]), Mi = "badge_v1", cn = "breadcrumbs_v1", De = "bar_chart_v1", Re = "btn_v1", Me = "btn_group_v1", Fe = "btn_toggle_v1", He = "card_v1", Oe = "checkbox_v1", Ge = "chip_v1", Ke = "chip_group_v1", je = "color_picker_v1", Ue = "combobox_v1", Ze = "container_v1", qe = "data_table_v1", Je = "date_picker_v1", Xe = "dialog_v1", Ye = "file_input_v1", Qe = "flex_layout_v1", Fi = "flex_layout_entry_v1", et = "form_v1", tt = "icon_v1", nt = "globality_v1", it = "line_chart_v1", ot = "menu_v1", st = "number_input_v1", lt = "pagination_v1", Hi = "radio_v1", rt = "radio_group_v1", at = "range_slider_v1", ut = "rating_v1", _e = "ref_v1", dt = "select_v1", ct = "slider_v1", mt = "stepper_v1", Oi = "stepper_header_v1", Gi = "stepper_item_v1", Ki = "stepper_window_v1", ji = "stepper_window_item_v1", pt = "switch_v1", Ui = "tab_v1", ft = "tabs_v1", bt = "text_v1", vt = "textarea_v1", yt = "text_field_v1", ht = "timeline_v1", Zi = "timeline_item_v1", gt = "window_v1", qi = "window_item_v1", v = {
|
|
2447
2466
|
key: "basic",
|
|
2448
2467
|
name: "x-runtime-lib.basic",
|
|
2449
2468
|
children: [
|
|
@@ -2895,13 +2914,13 @@ const pn = {
|
|
|
2895
2914
|
spawn: nr
|
|
2896
2915
|
};
|
|
2897
2916
|
I(kt);
|
|
2898
|
-
const
|
|
2899
|
-
|
|
2900
|
-
|
|
2917
|
+
const Xt = R(U);
|
|
2918
|
+
Xt.key = "backgroundColor";
|
|
2919
|
+
Xt.name = "x-runtime-lib.backgroundColor";
|
|
2901
2920
|
const fn = {
|
|
2902
2921
|
key: "globalSettings",
|
|
2903
2922
|
name: "x-runtime-lib.globalSettings",
|
|
2904
|
-
children: [
|
|
2923
|
+
children: [Xt]
|
|
2905
2924
|
}, ir = {
|
|
2906
2925
|
key: nt,
|
|
2907
2926
|
name: "x-runtime-lib.globality",
|
|
@@ -3230,7 +3249,7 @@ const hn = {
|
|
|
3230
3249
|
}, ar = {
|
|
3231
3250
|
key: Fe,
|
|
3232
3251
|
name: "x-runtime-lib.buttonToggle",
|
|
3233
|
-
comp:
|
|
3252
|
+
comp: Js,
|
|
3234
3253
|
slots: [
|
|
3235
3254
|
{
|
|
3236
3255
|
key: "default",
|
|
@@ -3317,7 +3336,7 @@ const gn = {
|
|
|
3317
3336
|
}, ye = {
|
|
3318
3337
|
key: He,
|
|
3319
3338
|
name: "x-runtime-lib.card",
|
|
3320
|
-
comp:
|
|
3339
|
+
comp: Xs,
|
|
3321
3340
|
slots: [
|
|
3322
3341
|
{
|
|
3323
3342
|
key: "default",
|
|
@@ -3353,7 +3372,7 @@ const xn = {
|
|
|
3353
3372
|
}, dr = {
|
|
3354
3373
|
key: Oe,
|
|
3355
3374
|
name: "x-runtime-lib.checkbox",
|
|
3356
|
-
comp:
|
|
3375
|
+
comp: Ys,
|
|
3357
3376
|
slots: [],
|
|
3358
3377
|
events: [],
|
|
3359
3378
|
methods: [],
|
|
@@ -3626,13 +3645,13 @@ const wn = {
|
|
|
3626
3645
|
}
|
|
3627
3646
|
};
|
|
3628
3647
|
I(fr);
|
|
3629
|
-
const
|
|
3630
|
-
|
|
3631
|
-
|
|
3648
|
+
const Yt = R(U);
|
|
3649
|
+
Yt.key = "backgroundColor";
|
|
3650
|
+
Yt.name = "x-runtime-lib.backgroundColor";
|
|
3632
3651
|
const Vn = {
|
|
3633
3652
|
key: "settings",
|
|
3634
3653
|
name: "x-runtime-lib.settings",
|
|
3635
|
-
children: [
|
|
3654
|
+
children: [Yt]
|
|
3636
3655
|
}, $t = {
|
|
3637
3656
|
key: Ze,
|
|
3638
3657
|
name: "x-runtime-lib.container",
|
|
@@ -3823,7 +3842,7 @@ const $n = {
|
|
|
3823
3842
|
};
|
|
3824
3843
|
I(br);
|
|
3825
3844
|
const vr = {
|
|
3826
|
-
key:
|
|
3845
|
+
key: Je,
|
|
3827
3846
|
name: "x-runtime-lib.datePicker",
|
|
3828
3847
|
comp: al,
|
|
3829
3848
|
slots: [],
|
|
@@ -3836,7 +3855,7 @@ const vr = {
|
|
|
3836
3855
|
};
|
|
3837
3856
|
I(vr);
|
|
3838
3857
|
const yr = {
|
|
3839
|
-
key:
|
|
3858
|
+
key: Xe,
|
|
3840
3859
|
name: "x-runtime-lib.dialog",
|
|
3841
3860
|
comp: dl,
|
|
3842
3861
|
slots: [
|
|
@@ -3871,8 +3890,8 @@ const Sn = {
|
|
|
3871
3890
|
key: "settings",
|
|
3872
3891
|
name: "x-runtime-lib.settings",
|
|
3873
3892
|
children: []
|
|
3874
|
-
},
|
|
3875
|
-
key:
|
|
3893
|
+
}, Ja = {
|
|
3894
|
+
key: Ye,
|
|
3876
3895
|
name: "x-runtime-lib.fileInput",
|
|
3877
3896
|
comp: cl,
|
|
3878
3897
|
slots: [],
|
|
@@ -3953,21 +3972,21 @@ function hr(t, e) {
|
|
|
3953
3972
|
gr(t, e)
|
|
3954
3973
|
], o;
|
|
3955
3974
|
}
|
|
3956
|
-
function It(t, e, i, s, l, o, r, u,
|
|
3957
|
-
const
|
|
3975
|
+
function It(t, e, i, s, l, o, r, u, m) {
|
|
3976
|
+
const f = `type=${t} subtype=${e}`, a = E(t, e);
|
|
3958
3977
|
if (!a) {
|
|
3959
3978
|
console.error(
|
|
3960
|
-
`flexLayoutV1/spawnContainer prop tag not found, ${
|
|
3979
|
+
`flexLayoutV1/spawnContainer prop tag not found, ${f}`
|
|
3961
3980
|
);
|
|
3962
3981
|
return;
|
|
3963
3982
|
}
|
|
3964
3983
|
const c = $t.props[a];
|
|
3965
3984
|
if (!c) {
|
|
3966
|
-
console.error(`flexLayoutV1/spawnContainer props not found, ${
|
|
3985
|
+
console.error(`flexLayoutV1/spawnContainer props not found, ${f}`);
|
|
3967
3986
|
return;
|
|
3968
3987
|
}
|
|
3969
|
-
const
|
|
3970
|
-
return L(
|
|
3988
|
+
const d = {};
|
|
3989
|
+
return L(d, c), d.basic.id = N(16), d.basic.key = $t.key, s && (d.size.width = s), l && (d.size.minWidth = l), r && (d.size.height = r), u && (d.size.minHeight = u), console.log(d), i && (d.settings.backgroundColor.mode = "custom", d.settings.backgroundColor.custom.light = i, d.settings.backgroundColor.custom.dark = i), d.children = [], d;
|
|
3971
3990
|
}
|
|
3972
3991
|
function gr(t, e) {
|
|
3973
3992
|
const i = `type=${t} subtype=${e}`, s = E(t, e);
|
|
@@ -5777,7 +5796,7 @@ function Rr(t, e) {
|
|
|
5777
5796
|
const o = {};
|
|
5778
5797
|
return L(o, l), o.basic.id = N(16), o.basic.key = ae.key, o.settings.text = "text", o;
|
|
5779
5798
|
}
|
|
5780
|
-
const
|
|
5799
|
+
const Jn = {
|
|
5781
5800
|
key: "settings",
|
|
5782
5801
|
name: "x-runtime-lib.settings",
|
|
5783
5802
|
children: [
|
|
@@ -5871,8 +5890,8 @@ const Xn = {
|
|
|
5871
5890
|
events: [],
|
|
5872
5891
|
methods: [],
|
|
5873
5892
|
props: {
|
|
5874
|
-
pageCommon: [v,
|
|
5875
|
-
compCommon: [v,
|
|
5893
|
+
pageCommon: [v, Jn],
|
|
5894
|
+
compCommon: [v, Jn]
|
|
5876
5895
|
},
|
|
5877
5896
|
spawn: Rr
|
|
5878
5897
|
};
|
|
@@ -5891,7 +5910,7 @@ function Mr(t, e) {
|
|
|
5891
5910
|
const o = {};
|
|
5892
5911
|
return L(o, l), o.basic.id = N(16), o.basic.key = Mt.key, o.settings.label = "label", o;
|
|
5893
5912
|
}
|
|
5894
|
-
const
|
|
5913
|
+
const Xn = {
|
|
5895
5914
|
key: "settings",
|
|
5896
5915
|
name: "x-runtime-lib.settings",
|
|
5897
5916
|
children: [
|
|
@@ -5970,8 +5989,8 @@ const Yn = {
|
|
|
5970
5989
|
events: [],
|
|
5971
5990
|
methods: [],
|
|
5972
5991
|
props: {
|
|
5973
|
-
pageCommon: [v,
|
|
5974
|
-
compCommon: [v,
|
|
5992
|
+
pageCommon: [v, Xn],
|
|
5993
|
+
compCommon: [v, Xn]
|
|
5975
5994
|
},
|
|
5976
5995
|
spawn: Mr
|
|
5977
5996
|
};
|
|
@@ -6040,7 +6059,7 @@ function Hr(t, e, i) {
|
|
|
6040
6059
|
const r = {};
|
|
6041
6060
|
return L(r, o), r.basic.id = N(16), r.basic.key = ae.key, r.settings.text = i, r;
|
|
6042
6061
|
}
|
|
6043
|
-
const Or = R(U), Gr = R(U),
|
|
6062
|
+
const Or = R(U), Gr = R(U), Yn = {
|
|
6044
6063
|
key: "settings",
|
|
6045
6064
|
name: "x-runtime-lib.settings",
|
|
6046
6065
|
children: [
|
|
@@ -6131,8 +6150,8 @@ const Or = R(U), Gr = R(U), Jn = {
|
|
|
6131
6150
|
events: [],
|
|
6132
6151
|
methods: [],
|
|
6133
6152
|
props: {
|
|
6134
|
-
pageCommon: [v,
|
|
6135
|
-
compCommon: [v,
|
|
6153
|
+
pageCommon: [v, Yn],
|
|
6154
|
+
compCommon: [v, Yn]
|
|
6136
6155
|
},
|
|
6137
6156
|
spawn: Fr
|
|
6138
6157
|
};
|
|
@@ -6266,7 +6285,7 @@ const Qn = {
|
|
|
6266
6285
|
}, Gt = {
|
|
6267
6286
|
key: gt,
|
|
6268
6287
|
name: "x-runtime-lib.window",
|
|
6269
|
-
comp:
|
|
6288
|
+
comp: Jl,
|
|
6270
6289
|
slots: [
|
|
6271
6290
|
{
|
|
6272
6291
|
key: "default",
|
|
@@ -6292,16 +6311,16 @@ const Zr = [
|
|
|
6292
6311
|
{ title: "x-runtime-lib.category", value: "category" },
|
|
6293
6312
|
{ title: "x-runtime-lib.time", value: "time" },
|
|
6294
6313
|
{ title: "x-runtime-lib.log", value: "log" }
|
|
6295
|
-
],
|
|
6314
|
+
], Jr = [
|
|
6296
6315
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6297
6316
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
6298
6317
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
6299
6318
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
6300
|
-
],
|
|
6319
|
+
], Xr = [
|
|
6301
6320
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6302
6321
|
{ title: "x-runtime-lib.theme", value: "theme" },
|
|
6303
6322
|
{ title: "x-runtime-lib.custom", value: "custom" }
|
|
6304
|
-
],
|
|
6323
|
+
], Yr = [
|
|
6305
6324
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
6306
6325
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
6307
6326
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
@@ -6435,9 +6454,9 @@ const Zr = [
|
|
|
6435
6454
|
__proto__: null,
|
|
6436
6455
|
alignTabsItemsV1: Zr,
|
|
6437
6456
|
axisTypeItemsV1: qr,
|
|
6438
|
-
borderStyleItemsV1:
|
|
6439
|
-
colorModeItemsV1:
|
|
6440
|
-
densityItemsV1:
|
|
6457
|
+
borderStyleItemsV1: Jr,
|
|
6458
|
+
colorModeItemsV1: Xr,
|
|
6459
|
+
densityItemsV1: Yr,
|
|
6441
6460
|
directionItemsV1: Qr,
|
|
6442
6461
|
fieldVariantItemsV1: ea,
|
|
6443
6462
|
flexCrossAlignItemsV1: ta,
|
|
@@ -6546,7 +6565,7 @@ const Zr = [
|
|
|
6546
6565
|
title: "x-runtime-lib.percent",
|
|
6547
6566
|
value: "percent",
|
|
6548
6567
|
ui: "percentInput",
|
|
6549
|
-
validator:
|
|
6568
|
+
validator: Jt,
|
|
6550
6569
|
precision: 6,
|
|
6551
6570
|
default: "0%"
|
|
6552
6571
|
}
|
|
@@ -6570,7 +6589,7 @@ const Zr = [
|
|
|
6570
6589
|
title: "x-runtime-lib.percent",
|
|
6571
6590
|
value: "percent",
|
|
6572
6591
|
ui: "percentInput",
|
|
6573
|
-
validator:
|
|
6592
|
+
validator: Jt,
|
|
6574
6593
|
precision: 6,
|
|
6575
6594
|
min: 0,
|
|
6576
6595
|
default: "0%"
|
|
@@ -6595,7 +6614,7 @@ const Zr = [
|
|
|
6595
6614
|
title: "x-runtime-lib.percent",
|
|
6596
6615
|
value: "percent",
|
|
6597
6616
|
ui: "percentInput",
|
|
6598
|
-
validator:
|
|
6617
|
+
validator: Jt,
|
|
6599
6618
|
precision: 6,
|
|
6600
6619
|
min: 0,
|
|
6601
6620
|
default: "0%"
|
|
@@ -6680,9 +6699,9 @@ const Zr = [
|
|
|
6680
6699
|
Ue,
|
|
6681
6700
|
Ze,
|
|
6682
6701
|
qe,
|
|
6702
|
+
Je,
|
|
6683
6703
|
Xe,
|
|
6684
6704
|
Ye,
|
|
6685
|
-
Je,
|
|
6686
6705
|
Qe,
|
|
6687
6706
|
Fi,
|
|
6688
6707
|
et,
|
|
@@ -6725,7 +6744,7 @@ const Zr = [
|
|
|
6725
6744
|
Ge,
|
|
6726
6745
|
Ze,
|
|
6727
6746
|
Qe,
|
|
6728
|
-
|
|
6747
|
+
Xe,
|
|
6729
6748
|
ot,
|
|
6730
6749
|
_e
|
|
6731
6750
|
]
|
|
@@ -6751,7 +6770,7 @@ const Zr = [
|
|
|
6751
6770
|
Oe,
|
|
6752
6771
|
ct,
|
|
6753
6772
|
at,
|
|
6754
|
-
|
|
6773
|
+
Ye
|
|
6755
6774
|
]
|
|
6756
6775
|
},
|
|
6757
6776
|
{
|
|
@@ -6783,7 +6802,7 @@ const Zr = [
|
|
|
6783
6802
|
{
|
|
6784
6803
|
key: "pickers",
|
|
6785
6804
|
name: "x-runtime-lib.pickers",
|
|
6786
|
-
items: [je,
|
|
6805
|
+
items: [je, Je]
|
|
6787
6806
|
}
|
|
6788
6807
|
]
|
|
6789
6808
|
}, rn = {
|
|
@@ -6794,7 +6813,7 @@ const Zr = [
|
|
|
6794
6813
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + e + (e.split("/").length !== i ? ". Note that variables only represent file names one level deep." : ""))));
|
|
6795
6814
|
});
|
|
6796
6815
|
};
|
|
6797
|
-
async function
|
|
6816
|
+
async function Xa(t) {
|
|
6798
6817
|
return (await Ta(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.kt9hy7ly.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.d5y1j94g.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
6799
6818
|
}
|
|
6800
6819
|
export {
|
|
@@ -6820,7 +6839,7 @@ export {
|
|
|
6820
6839
|
re as elements,
|
|
6821
6840
|
Ua as ensureContext,
|
|
6822
6841
|
Za as fieldTypes,
|
|
6823
|
-
|
|
6842
|
+
Ja as fileInputV1,
|
|
6824
6843
|
Ct as flexLayoutEntryV1,
|
|
6825
6844
|
he as flexLayoutV1,
|
|
6826
6845
|
Tt as formV1,
|
|
@@ -6842,10 +6861,10 @@ export {
|
|
|
6842
6861
|
Ai as injectOrg,
|
|
6843
6862
|
Te as injectSandbox,
|
|
6844
6863
|
ne as injectType,
|
|
6845
|
-
|
|
6864
|
+
Jt as isPercentStr,
|
|
6846
6865
|
Se as isPixelStr,
|
|
6847
6866
|
kt as lineChartV1,
|
|
6848
|
-
|
|
6867
|
+
Xa as loadLocaleMessageRuntime,
|
|
6849
6868
|
Vr as menuV1,
|
|
6850
6869
|
Ri as newEventBus,
|
|
6851
6870
|
zt as numberInputV1,
|