x-runtime-lib 0.7.19 → 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 +455 -447
- 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), m = n(() => e.node.border?.roundRadius?.bl),
|
|
81
|
-
function a(
|
|
82
|
-
i.value && (
|
|
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
|
+
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), 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,7 +193,7 @@ function wo(t, e, i, s, l) {
|
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
195
|
if (s) {
|
|
196
|
-
const m = u.refKey,
|
|
196
|
+
const m = u.refKey, f = l;
|
|
197
197
|
if (!u.elements.has(m)) {
|
|
198
198
|
console.error(`spawnNode [ref] element not found in pkg, ${o}`);
|
|
199
199
|
return;
|
|
@@ -203,46 +203,46 @@ function wo(t, e, i, s, l) {
|
|
|
203
203
|
console.error(`spawnNode [ref] element not found in global, ${o}`);
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
|
-
const
|
|
207
|
-
if (!
|
|
206
|
+
const c = a.props[r];
|
|
207
|
+
if (!c) {
|
|
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
221
|
const m = l;
|
|
222
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;
|
|
238
238
|
}
|
|
239
|
-
const
|
|
239
|
+
const c = {
|
|
240
240
|
basic: {
|
|
241
241
|
id: "",
|
|
242
242
|
key: ""
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
return L(
|
|
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
|
}
|
|
@@ -354,20 +354,20 @@ function se(t, e, i) {
|
|
|
354
354
|
}
|
|
355
355
|
return i.node.size?.maxHeight;
|
|
356
356
|
});
|
|
357
|
-
function
|
|
357
|
+
function f(a) {
|
|
358
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: m, applySize:
|
|
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: m, maxWidth:
|
|
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();
|
|
@@ -472,10 +472,10 @@ const As = /* @__PURE__ */ T({
|
|
|
472
472
|
() => s.value.height,
|
|
473
473
|
u,
|
|
474
474
|
m,
|
|
475
|
-
|
|
475
|
+
f,
|
|
476
476
|
a,
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
c,
|
|
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: m, maxWidth:
|
|
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();
|
|
@@ -525,10 +525,10 @@ const As = /* @__PURE__ */ T({
|
|
|
525
525
|
() => s.value.height,
|
|
526
526
|
u,
|
|
527
527
|
m,
|
|
528
|
-
|
|
528
|
+
f,
|
|
529
529
|
a,
|
|
530
|
-
|
|
531
|
-
|
|
530
|
+
c,
|
|
531
|
+
d
|
|
532
532
|
],
|
|
533
533
|
async () => {
|
|
534
534
|
await ni(), S();
|
|
@@ -548,51 +548,55 @@ const As = /* @__PURE__ */ T({
|
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
550
|
function Ps(t, e) {
|
|
551
|
-
function i(
|
|
552
|
-
const
|
|
553
|
-
for (let
|
|
554
|
-
const
|
|
555
|
-
if (
|
|
556
|
-
if (/^\[\d+\]$/.test(
|
|
557
|
-
let
|
|
558
|
-
|
|
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);
|
|
559
559
|
} else
|
|
560
|
-
d.push(
|
|
560
|
+
d.push(p);
|
|
561
561
|
}
|
|
562
562
|
return t.nativeToPseudo(d);
|
|
563
563
|
}
|
|
564
|
-
function s(
|
|
565
|
-
const
|
|
564
|
+
function s(a) {
|
|
565
|
+
const c = t.pseudoToNative(a);
|
|
566
566
|
try {
|
|
567
|
-
const d = JSON.parse(
|
|
567
|
+
const d = JSON.parse(c);
|
|
568
568
|
return t.nativeToPseudo(d);
|
|
569
569
|
} catch {
|
|
570
570
|
return t.nativeToPseudo({});
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
function l(
|
|
574
|
-
const
|
|
575
|
-
|
|
573
|
+
function l(a) {
|
|
574
|
+
const c = t.pseudoToNative(a), d = JSON.stringify(c);
|
|
575
|
+
return t.nativeToPseudo(d);
|
|
576
|
+
}
|
|
577
|
+
function o(a) {
|
|
578
|
+
const c = t.pseudoToNative(a);
|
|
579
|
+
console.log(c);
|
|
576
580
|
}
|
|
577
|
-
function
|
|
578
|
-
const
|
|
581
|
+
function r(a) {
|
|
582
|
+
const c = t.pseudoToNative(a);
|
|
579
583
|
let d = "";
|
|
580
|
-
typeof
|
|
584
|
+
typeof c == "object" ? d = JSON.stringify(c) : d = String(c), jt.emit("consoleAppend", d);
|
|
581
585
|
}
|
|
582
|
-
function
|
|
583
|
-
const d = t.pseudoToNative(
|
|
584
|
-
d === "info" ? to(
|
|
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);
|
|
585
589
|
}
|
|
586
|
-
function
|
|
587
|
-
const d = t.pseudoToNative(
|
|
590
|
+
function m(a, c) {
|
|
591
|
+
const d = t.pseudoToNative(a), b = t.pseudoToNative(c);
|
|
588
592
|
window.setTimeout(() => {
|
|
589
593
|
t.appendCode(`__timeoutCallbackV1__(${d})`), t.run();
|
|
590
|
-
},
|
|
594
|
+
}, b);
|
|
591
595
|
}
|
|
592
|
-
function
|
|
593
|
-
const d = t.pseudoToNative(
|
|
596
|
+
function f(a, c) {
|
|
597
|
+
const d = t.pseudoToNative(a);
|
|
594
598
|
window.setTimeout(() => {
|
|
595
|
-
|
|
599
|
+
c(), t.run();
|
|
596
600
|
}, d);
|
|
597
601
|
}
|
|
598
602
|
t.setProperty(
|
|
@@ -605,24 +609,28 @@ function Ps(t, e) {
|
|
|
605
609
|
t.createNativeFunction(s)
|
|
606
610
|
), t.setProperty(
|
|
607
611
|
e,
|
|
608
|
-
"
|
|
612
|
+
"__jsonStringifyV1__",
|
|
609
613
|
t.createNativeFunction(l)
|
|
610
614
|
), t.setProperty(
|
|
611
615
|
e,
|
|
612
|
-
"
|
|
616
|
+
"__consoleLogV1__",
|
|
613
617
|
t.createNativeFunction(o)
|
|
614
618
|
), t.setProperty(
|
|
615
619
|
e,
|
|
616
|
-
"
|
|
620
|
+
"__debugTraceV1__",
|
|
617
621
|
t.createNativeFunction(r)
|
|
618
622
|
), t.setProperty(
|
|
619
623
|
e,
|
|
620
|
-
"
|
|
624
|
+
"__messageV1__",
|
|
621
625
|
t.createNativeFunction(u)
|
|
626
|
+
), t.setProperty(
|
|
627
|
+
e,
|
|
628
|
+
"__timeoutV1__",
|
|
629
|
+
t.createNativeFunction(m)
|
|
622
630
|
), t.setProperty(
|
|
623
631
|
e,
|
|
624
632
|
"__delayV1__",
|
|
625
|
-
t.createAsyncFunction(
|
|
633
|
+
t.createAsyncFunction(f)
|
|
626
634
|
);
|
|
627
635
|
}
|
|
628
636
|
const Wi = io({
|
|
@@ -638,15 +646,15 @@ function Ls(t) {
|
|
|
638
646
|
}
|
|
639
647
|
function Es(t, e) {
|
|
640
648
|
async function i(s, l, o, r, u, m) {
|
|
641
|
-
const
|
|
649
|
+
const f = t.pseudoToNative(s), a = t.pseudoToNative(l), c = t.pseudoToNative(o), d = t.pseudoToNative(r), b = t.pseudoToNative(u);
|
|
642
650
|
try {
|
|
643
|
-
const y = JSON.stringify(
|
|
644
|
-
spaceid:
|
|
651
|
+
const y = JSON.stringify(c), { strOutputs: p } = await Ls({
|
|
652
|
+
spaceid: f,
|
|
645
653
|
id: a,
|
|
646
654
|
strInputs: y,
|
|
647
|
-
env:
|
|
648
|
-
}),
|
|
649
|
-
m(t.nativeToPseudo(
|
|
655
|
+
env: d
|
|
656
|
+
}), k = JSON.parse(p);
|
|
657
|
+
m(t.nativeToPseudo(k)), t.run();
|
|
650
658
|
} catch (y) {
|
|
651
659
|
console.error("callFuncV1 failed", b, y);
|
|
652
660
|
}
|
|
@@ -699,45 +707,45 @@ class Ws {
|
|
|
699
707
|
}
|
|
700
708
|
function Bs(t, e, i) {
|
|
701
709
|
const s = new Ws(t);
|
|
702
|
-
function l(
|
|
703
|
-
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, _);
|
|
704
712
|
return e.nativeToPseudo(x);
|
|
705
713
|
}
|
|
706
|
-
function o(
|
|
707
|
-
const b = e.pseudoToNative(
|
|
714
|
+
function o(d) {
|
|
715
|
+
const b = e.pseudoToNative(d);
|
|
708
716
|
s.deleteNode(b);
|
|
709
717
|
}
|
|
710
|
-
function r(
|
|
711
|
-
const y = e.pseudoToNative(
|
|
712
|
-
let
|
|
713
|
-
if (y === "globality" ?
|
|
714
|
-
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}`);
|
|
715
723
|
return;
|
|
716
724
|
}
|
|
717
|
-
const x =
|
|
725
|
+
const x = p.split("."), h = x.length;
|
|
718
726
|
for (let w = 0; w < h; w++) {
|
|
719
727
|
const g = x[w];
|
|
720
728
|
if (w === h - 1)
|
|
721
|
-
return e.nativeToPseudo(
|
|
722
|
-
if (!
|
|
723
|
-
console.error(`getNodePropV1 unpkg failed, ${
|
|
729
|
+
return e.nativeToPseudo(_[g]);
|
|
730
|
+
if (!_) {
|
|
731
|
+
console.error(`getNodePropV1 unpkg failed, ${k}`);
|
|
724
732
|
return;
|
|
725
733
|
}
|
|
726
|
-
|
|
734
|
+
_ = _[g];
|
|
727
735
|
}
|
|
728
736
|
}
|
|
729
|
-
function u(
|
|
730
|
-
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=${_}`;
|
|
731
739
|
let h;
|
|
732
|
-
if (
|
|
740
|
+
if (p === "globality" ? h = t.data.view : h = s.getNode(p), !h) {
|
|
733
741
|
console.error(`setNodePropV1 node not found, ${x}`);
|
|
734
742
|
return;
|
|
735
743
|
}
|
|
736
|
-
const w =
|
|
744
|
+
const w = k.split("."), g = w.length;
|
|
737
745
|
for (let $ = 0; $ < g; $++) {
|
|
738
746
|
const S = w[$];
|
|
739
747
|
if ($ === g - 1)
|
|
740
|
-
h[S] =
|
|
748
|
+
h[S] = _;
|
|
741
749
|
else {
|
|
742
750
|
if (!h) {
|
|
743
751
|
console.error(`setNodePropV1 unpkg failed, ${x}`);
|
|
@@ -747,35 +755,35 @@ function Bs(t, e, i) {
|
|
|
747
755
|
}
|
|
748
756
|
}
|
|
749
757
|
}
|
|
750
|
-
function m(
|
|
751
|
-
const
|
|
752
|
-
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();
|
|
753
761
|
}
|
|
754
|
-
function
|
|
755
|
-
const y = e.pseudoToNative(
|
|
762
|
+
function f(d, b) {
|
|
763
|
+
const y = e.pseudoToNative(d), p = e.pseudoToNative(b);
|
|
756
764
|
if (t.mode === "runtime") {
|
|
757
|
-
const
|
|
765
|
+
const k = "/main/" + Date.now(), _ = {
|
|
758
766
|
orgid: t.org,
|
|
759
767
|
appid: `${y}${t.env}`,
|
|
760
|
-
pageid:
|
|
768
|
+
pageid: p
|
|
761
769
|
};
|
|
762
|
-
Be.router.replace({ path:
|
|
770
|
+
Be.router.replace({ path: k, query: _ });
|
|
763
771
|
} else t.mode === "preview" && ai(
|
|
764
772
|
Be.i18n.global.t(
|
|
765
773
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
766
774
|
)
|
|
767
775
|
);
|
|
768
776
|
}
|
|
769
|
-
function a(
|
|
770
|
-
const
|
|
771
|
-
oo({ title:
|
|
772
|
-
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();
|
|
773
781
|
});
|
|
774
782
|
}
|
|
775
|
-
function d
|
|
776
|
-
const
|
|
777
|
-
so({ title:
|
|
778
|
-
|
|
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();
|
|
779
787
|
});
|
|
780
788
|
}
|
|
781
789
|
e.setProperty(
|
|
@@ -801,7 +809,7 @@ function Bs(t, e, i) {
|
|
|
801
809
|
), e.setProperty(
|
|
802
810
|
i,
|
|
803
811
|
"__navigateToV1__",
|
|
804
|
-
e.createNativeFunction(
|
|
812
|
+
e.createNativeFunction(f)
|
|
805
813
|
), e.setProperty(
|
|
806
814
|
i,
|
|
807
815
|
"__openConfirmDlgV1__",
|
|
@@ -809,7 +817,7 @@ function Bs(t, e, i) {
|
|
|
809
817
|
), e.setProperty(
|
|
810
818
|
i,
|
|
811
819
|
"__openPromptDlgV1__",
|
|
812
|
-
e.createAsyncFunction(
|
|
820
|
+
e.createAsyncFunction(c)
|
|
813
821
|
);
|
|
814
822
|
}
|
|
815
823
|
function Ds(t, e, i) {
|
|
@@ -995,28 +1003,28 @@ const Gs = /* @__PURE__ */ T({
|
|
|
995
1003
|
outer: { type: Boolean }
|
|
996
1004
|
},
|
|
997
1005
|
setup(t) {
|
|
998
|
-
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = te(), u = ne(), m = ie(),
|
|
999
|
-
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);
|
|
1000
1008
|
const b = () => {
|
|
1001
|
-
|
|
1009
|
+
d.eventBus && (d.eventBus = void 0), d.interpreter && (Di(d.interpreter), d.interpreter = void 0);
|
|
1002
1010
|
};
|
|
1003
1011
|
ii(() => {
|
|
1004
1012
|
if (!i.refContext.refid) {
|
|
1005
|
-
a.value = -1,
|
|
1013
|
+
a.value = -1, c.value = void 0, b();
|
|
1006
1014
|
return;
|
|
1007
1015
|
}
|
|
1008
|
-
const g =
|
|
1016
|
+
const g = f.value[i.refContext.refid];
|
|
1009
1017
|
if (!g) {
|
|
1010
|
-
a.value = -1,
|
|
1018
|
+
a.value = -1, c.value = null, b(), jt.emit("compNotAvail", i.refContext.refid);
|
|
1011
1019
|
return;
|
|
1012
1020
|
}
|
|
1013
|
-
if (a.value === g.dataSeq || (a.value = g.dataSeq,
|
|
1021
|
+
if (a.value === g.dataSeq || (a.value = g.dataSeq, c.value = R(g.data), o !== "runtime" && o !== "preview"))
|
|
1014
1022
|
return;
|
|
1015
1023
|
b();
|
|
1016
|
-
const $ =
|
|
1024
|
+
const $ = c.value, S = $.code.script;
|
|
1017
1025
|
if (S) {
|
|
1018
1026
|
const P = Ri();
|
|
1019
|
-
|
|
1027
|
+
d.eventBus = P, d.interpreter = Bi(
|
|
1020
1028
|
{ org: s, env: l, mode: o, type: u, data: $, eventBus: P },
|
|
1021
1029
|
S
|
|
1022
1030
|
);
|
|
@@ -1024,11 +1032,11 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1024
1032
|
}), ge(() => {
|
|
1025
1033
|
b();
|
|
1026
1034
|
});
|
|
1027
|
-
const { applySize: y } = se(o, r, i),
|
|
1035
|
+
const { applySize: y } = se(o, r, i), p = n(() => {
|
|
1028
1036
|
const g = {}, $ = m.value.type;
|
|
1029
1037
|
return u === "page" ? $ === "common" ? y(g) : console.assert(!1) : u === "comp" && $ === "common" ? y(g) : console.assert(!1), g;
|
|
1030
1038
|
});
|
|
1031
|
-
function
|
|
1039
|
+
function k(g) {
|
|
1032
1040
|
const $ = rn[m.value.version].refKey, S = re[$];
|
|
1033
1041
|
return S ? O(S.comp, {
|
|
1034
1042
|
refContext: {
|
|
@@ -1038,7 +1046,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1038
1046
|
node: g
|
|
1039
1047
|
}) : (console.assert(!1, `ref element not found key=${$}`), O("div", `ref element not found key=${$}`));
|
|
1040
1048
|
}
|
|
1041
|
-
function
|
|
1049
|
+
function _(g) {
|
|
1042
1050
|
const $ = re[g.basic.key];
|
|
1043
1051
|
if (!$)
|
|
1044
1052
|
return console.assert(!1, `element not found key=${g.basic.key}`), O("div", `element not found key=${g.basic.key}`);
|
|
@@ -1049,7 +1057,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1049
1057
|
}), O($.comp, { node: g }, { default: () => S });
|
|
1050
1058
|
}
|
|
1051
1059
|
function x(g) {
|
|
1052
|
-
return g.ref ?
|
|
1060
|
+
return g.ref ? k(g) : _(g);
|
|
1053
1061
|
}
|
|
1054
1062
|
function h() {
|
|
1055
1063
|
let g = i.refContext.parent;
|
|
@@ -1063,54 +1071,54 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1063
1071
|
const w = () => {
|
|
1064
1072
|
if (h())
|
|
1065
1073
|
return O("div", { id: i.id }, e("x-runtime-lib.circularRef"));
|
|
1066
|
-
if (!
|
|
1067
|
-
return
|
|
1068
|
-
const g =
|
|
1074
|
+
if (!c.value)
|
|
1075
|
+
return c.value === void 0 ? O("div", { id: i.id }) : O("div", { id: i.id }, e("x-runtime-lib.compNotAvail"));
|
|
1076
|
+
const g = c.value.type;
|
|
1069
1077
|
if (g === "common") {
|
|
1070
1078
|
const $ = [];
|
|
1071
|
-
return
|
|
1079
|
+
return c.value.view.nodes.forEach((S) => {
|
|
1072
1080
|
$.push(x(S));
|
|
1073
|
-
}), O("div", { id: i.id, style:
|
|
1081
|
+
}), O("div", { id: i.id, style: p.value }, $);
|
|
1074
1082
|
} else
|
|
1075
1083
|
return console.assert(!1, `invalid subtype=${g}`), O("div", { id: i.id }, `invalid subtype=${g}`);
|
|
1076
1084
|
};
|
|
1077
1085
|
return (g, $) => (V(), z(w));
|
|
1078
1086
|
}
|
|
1079
|
-
}),
|
|
1087
|
+
}), Y = /* @__PURE__ */ T({
|
|
1080
1088
|
__name: "index",
|
|
1081
1089
|
props: {
|
|
1082
1090
|
refContext: {},
|
|
1083
1091
|
state: {}
|
|
1084
1092
|
},
|
|
1085
1093
|
setup(t) {
|
|
1086
|
-
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = ne(), u = ie(), m = Pi(),
|
|
1087
|
-
Li(
|
|
1088
|
-
const
|
|
1089
|
-
|
|
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 = {};
|
|
1095
|
+
Li(c);
|
|
1096
|
+
const d = () => {
|
|
1097
|
+
c.eventBus && (c.eventBus = void 0), c.interpreter && (Di(c.interpreter), c.interpreter = void 0);
|
|
1090
1098
|
};
|
|
1091
1099
|
ii(() => {
|
|
1092
1100
|
if (!i.refContext.refid) {
|
|
1093
|
-
|
|
1101
|
+
f.value = -1, a.value = void 0, d();
|
|
1094
1102
|
return;
|
|
1095
1103
|
}
|
|
1096
1104
|
const h = m.value[i.refContext.refid];
|
|
1097
1105
|
if (!h) {
|
|
1098
|
-
|
|
1106
|
+
f.value = -1, a.value = null, d(), jt.emit("compNotAvail", i.refContext.refid);
|
|
1099
1107
|
return;
|
|
1100
1108
|
}
|
|
1101
|
-
if (
|
|
1109
|
+
if (f.value === h.dataSeq || (f.value = h.dataSeq, a.value = R(h.data), o !== "runtime" && o !== "preview"))
|
|
1102
1110
|
return;
|
|
1103
|
-
|
|
1111
|
+
d();
|
|
1104
1112
|
const w = a.value, g = w.code.script;
|
|
1105
1113
|
if (g) {
|
|
1106
1114
|
const $ = Ri();
|
|
1107
|
-
|
|
1115
|
+
c.eventBus = $, c.interpreter = Bi(
|
|
1108
1116
|
{ org: s, env: l, mode: o, type: r, data: w, eventBus: $ },
|
|
1109
1117
|
g
|
|
1110
1118
|
);
|
|
1111
1119
|
}
|
|
1112
1120
|
}), ge(() => {
|
|
1113
|
-
|
|
1121
|
+
d();
|
|
1114
1122
|
});
|
|
1115
1123
|
const b = () => {
|
|
1116
1124
|
console.log("triggerUpdate");
|
|
@@ -1132,19 +1140,19 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1132
1140
|
node: h
|
|
1133
1141
|
}) : (console.assert(!1, `ref element not found key=${w}`), O("div", `ref element not found key=${w}`));
|
|
1134
1142
|
}
|
|
1135
|
-
function
|
|
1143
|
+
function p(h) {
|
|
1136
1144
|
const w = re[h.basic.key];
|
|
1137
1145
|
if (!w)
|
|
1138
1146
|
return console.assert(!1, `element not found key=${h.basic.key}`), O("div", `element not found key=${h.basic.key}`);
|
|
1139
1147
|
const g = [];
|
|
1140
1148
|
return w.slots.some(($) => $.key === "default") && h.children?.forEach(($) => {
|
|
1141
|
-
g.push(
|
|
1149
|
+
g.push(k($));
|
|
1142
1150
|
}), O(w.comp, { node: h }, { default: () => g });
|
|
1143
1151
|
}
|
|
1144
|
-
function
|
|
1145
|
-
return h.ref ? y(h) :
|
|
1152
|
+
function k(h) {
|
|
1153
|
+
return h.ref ? y(h) : p(h);
|
|
1146
1154
|
}
|
|
1147
|
-
function
|
|
1155
|
+
function _() {
|
|
1148
1156
|
let h = i.refContext.parent;
|
|
1149
1157
|
for (; h; ) {
|
|
1150
1158
|
if (h.refid === i.refContext.refid)
|
|
@@ -1154,7 +1162,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1154
1162
|
return !1;
|
|
1155
1163
|
}
|
|
1156
1164
|
const x = () => {
|
|
1157
|
-
if (
|
|
1165
|
+
if (_())
|
|
1158
1166
|
return O("div", e("x-runtime-lib.circularRef"));
|
|
1159
1167
|
if (!a.value)
|
|
1160
1168
|
return a.value === void 0 ? O("div") : O("div", e("x-runtime-lib.compNotAvail"));
|
|
@@ -1162,7 +1170,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1162
1170
|
if (h === "common") {
|
|
1163
1171
|
const w = [];
|
|
1164
1172
|
return a.value.view.nodes.forEach((g) => {
|
|
1165
|
-
w.push(
|
|
1173
|
+
w.push(k(g));
|
|
1166
1174
|
}), w;
|
|
1167
1175
|
} else
|
|
1168
1176
|
return console.assert(!1, `invalid subtype=${h}`), O("div", `invalid subtype=${h}`);
|
|
@@ -1177,7 +1185,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1177
1185
|
},
|
|
1178
1186
|
setup(t) {
|
|
1179
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);
|
|
1180
|
-
return (m,
|
|
1188
|
+
return (m, f) => {
|
|
1181
1189
|
const a = A("v-badge");
|
|
1182
1190
|
return V(), z(a, {
|
|
1183
1191
|
content: s.value,
|
|
@@ -1200,30 +1208,30 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1200
1208
|
outer: { type: Boolean }
|
|
1201
1209
|
},
|
|
1202
1210
|
setup(t) {
|
|
1203
|
-
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),
|
|
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) => {
|
|
1204
1212
|
if (i !== "runtime" && i !== "preview")
|
|
1205
1213
|
return;
|
|
1206
1214
|
const K = l.interpreter;
|
|
1207
1215
|
if (!K)
|
|
1208
1216
|
return;
|
|
1209
|
-
const
|
|
1210
|
-
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();
|
|
1211
1219
|
};
|
|
1212
|
-
return (
|
|
1213
|
-
const
|
|
1214
|
-
return V(), z(
|
|
1220
|
+
return (X, K) => {
|
|
1221
|
+
const J = A("v-btn");
|
|
1222
|
+
return V(), z(J, {
|
|
1215
1223
|
"append-icon": o.value,
|
|
1216
1224
|
block: r.value,
|
|
1217
1225
|
color: D(m),
|
|
1218
|
-
density:
|
|
1226
|
+
density: f.value,
|
|
1219
1227
|
disabled: a.value,
|
|
1220
|
-
height:
|
|
1221
|
-
loading:
|
|
1228
|
+
height: c.value,
|
|
1229
|
+
loading: d.value,
|
|
1222
1230
|
"max-height": b.value,
|
|
1223
1231
|
"max-width": y.value,
|
|
1224
|
-
"min-height":
|
|
1225
|
-
"min-width":
|
|
1226
|
-
"prepend-icon":
|
|
1232
|
+
"min-height": p.value,
|
|
1233
|
+
"min-width": k.value,
|
|
1234
|
+
"prepend-icon": _.value,
|
|
1227
1235
|
readonly: x.value,
|
|
1228
1236
|
ripple: h.value,
|
|
1229
1237
|
size: w.value,
|
|
@@ -1251,27 +1259,27 @@ function Zs(t, e) {
|
|
|
1251
1259
|
_: 3
|
|
1252
1260
|
});
|
|
1253
1261
|
}
|
|
1254
|
-
const qs = /* @__PURE__ */ be(Us, [["render", Zs]]),
|
|
1262
|
+
const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Js = /* @__PURE__ */ T({
|
|
1255
1263
|
__name: "index",
|
|
1256
1264
|
props: {
|
|
1257
1265
|
node: {},
|
|
1258
1266
|
outer: { type: Boolean }
|
|
1259
1267
|
},
|
|
1260
1268
|
setup(t) {
|
|
1261
|
-
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),
|
|
1262
|
-
return (y,
|
|
1263
|
-
const
|
|
1264
|
-
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, {
|
|
1265
1273
|
block: s.value,
|
|
1266
1274
|
disabled: l.value,
|
|
1267
1275
|
divided: o.value,
|
|
1268
1276
|
mandatory: r.value,
|
|
1269
1277
|
multiple: u.value,
|
|
1270
1278
|
readonly: m.value,
|
|
1271
|
-
size:
|
|
1279
|
+
size: f.value,
|
|
1272
1280
|
stacked: a.value,
|
|
1273
|
-
theme:
|
|
1274
|
-
tile:
|
|
1281
|
+
theme: c.value,
|
|
1282
|
+
tile: d.value,
|
|
1275
1283
|
variant: b.value
|
|
1276
1284
|
}, {
|
|
1277
1285
|
default: W(() => [
|
|
@@ -1281,14 +1289,14 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1281
1289
|
}, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
|
|
1282
1290
|
};
|
|
1283
1291
|
}
|
|
1284
|
-
}),
|
|
1292
|
+
}), Xs = /* @__PURE__ */ T({
|
|
1285
1293
|
__name: "index",
|
|
1286
1294
|
props: {
|
|
1287
1295
|
node: {},
|
|
1288
1296
|
outer: { type: Boolean }
|
|
1289
1297
|
},
|
|
1290
1298
|
setup(t) {
|
|
1291
|
-
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),
|
|
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);
|
|
1292
1300
|
return (x, h) => {
|
|
1293
1301
|
const w = A("v-card");
|
|
1294
1302
|
return V(), z(w, {
|
|
@@ -1298,15 +1306,15 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1298
1306
|
hover: r.value,
|
|
1299
1307
|
loading: u.value,
|
|
1300
1308
|
"max-height": m.value,
|
|
1301
|
-
"max-width":
|
|
1309
|
+
"max-width": f.value,
|
|
1302
1310
|
"min-height": a.value,
|
|
1303
|
-
"min-width":
|
|
1304
|
-
subtitle:
|
|
1311
|
+
"min-width": c.value,
|
|
1312
|
+
subtitle: d.value,
|
|
1305
1313
|
text: b.value,
|
|
1306
1314
|
theme: y.value,
|
|
1307
|
-
title:
|
|
1308
|
-
variant:
|
|
1309
|
-
width:
|
|
1315
|
+
title: p.value,
|
|
1316
|
+
variant: k.value,
|
|
1317
|
+
width: _.value
|
|
1310
1318
|
}, {
|
|
1311
1319
|
default: W(() => [
|
|
1312
1320
|
M(x.$slots, "default")
|
|
@@ -1315,7 +1323,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1315
1323
|
}, 8, ["density", "disabled", "height", "hover", "loading", "max-height", "max-width", "min-height", "min-width", "subtitle", "text", "theme", "title", "variant", "width"]);
|
|
1316
1324
|
};
|
|
1317
1325
|
}
|
|
1318
|
-
}),
|
|
1326
|
+
}), Ys = /* @__PURE__ */ T({
|
|
1319
1327
|
__name: "index",
|
|
1320
1328
|
props: {
|
|
1321
1329
|
node: {},
|
|
@@ -1338,8 +1346,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1338
1346
|
outer: { type: Boolean }
|
|
1339
1347
|
},
|
|
1340
1348
|
setup(t) {
|
|
1341
|
-
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),
|
|
1342
|
-
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) => {
|
|
1343
1351
|
const h = A("v-chip");
|
|
1344
1352
|
return V(), z(h, {
|
|
1345
1353
|
closable: s.value,
|
|
@@ -1347,14 +1355,14 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1347
1355
|
density: r.value,
|
|
1348
1356
|
disabled: u.value,
|
|
1349
1357
|
draggable: m.value,
|
|
1350
|
-
filter:
|
|
1358
|
+
filter: f.value,
|
|
1351
1359
|
label: a.value,
|
|
1352
|
-
size:
|
|
1353
|
-
text:
|
|
1360
|
+
size: c.value,
|
|
1361
|
+
text: d.value,
|
|
1354
1362
|
theme: b.value,
|
|
1355
1363
|
tile: y.value,
|
|
1356
|
-
value:
|
|
1357
|
-
variant:
|
|
1364
|
+
value: p.value,
|
|
1365
|
+
variant: k.value
|
|
1358
1366
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"]);
|
|
1359
1367
|
};
|
|
1360
1368
|
}
|
|
@@ -1365,15 +1373,15 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1365
1373
|
outer: { type: Boolean }
|
|
1366
1374
|
},
|
|
1367
1375
|
setup(t) {
|
|
1368
|
-
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),
|
|
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) => {
|
|
1369
1377
|
if (!e.node.settings)
|
|
1370
1378
|
return;
|
|
1371
1379
|
const { settings: y } = e.node;
|
|
1372
1380
|
y.value = b;
|
|
1373
|
-
}, a = n(() => e.node.settings?.multiple),
|
|
1381
|
+
}, a = n(() => e.node.settings?.multiple), c = n(() => e.node.settings?.showArrows), d = n(() => i.value ? "dark" : "light");
|
|
1374
1382
|
return (b, y) => {
|
|
1375
|
-
const
|
|
1376
|
-
return V(), z(
|
|
1383
|
+
const p = A("v-chip-group");
|
|
1384
|
+
return V(), z(p, {
|
|
1377
1385
|
column: s.value,
|
|
1378
1386
|
direction: l.value,
|
|
1379
1387
|
disabled: o.value,
|
|
@@ -1381,9 +1389,9 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1381
1389
|
mandatory: u.value,
|
|
1382
1390
|
"model-value": m.value,
|
|
1383
1391
|
multiple: a.value,
|
|
1384
|
-
"show-arrows":
|
|
1385
|
-
theme:
|
|
1386
|
-
"onUpdate:modelValue":
|
|
1392
|
+
"show-arrows": c.value,
|
|
1393
|
+
theme: d.value,
|
|
1394
|
+
"onUpdate:modelValue": f
|
|
1387
1395
|
}, {
|
|
1388
1396
|
default: W(() => [
|
|
1389
1397
|
M(b.$slots, "default")
|
|
@@ -1400,21 +1408,21 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1400
1408
|
},
|
|
1401
1409
|
setup(t) {
|
|
1402
1410
|
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), m = n(() => {
|
|
1403
|
-
const
|
|
1404
|
-
return o === "page" ? x === "common" ? u(
|
|
1405
|
-
}),
|
|
1406
|
-
return (
|
|
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) => {
|
|
1407
1415
|
const h = A("v-color-picker");
|
|
1408
1416
|
return V(), z(h, {
|
|
1409
|
-
disabled:
|
|
1417
|
+
disabled: f.value,
|
|
1410
1418
|
"hide-canvas": a.value,
|
|
1411
|
-
"hide-header":
|
|
1412
|
-
"hide-inputs":
|
|
1419
|
+
"hide-header": c.value,
|
|
1420
|
+
"hide-inputs": d.value,
|
|
1413
1421
|
"hide-sliders": b.value,
|
|
1414
1422
|
landscape: y.value,
|
|
1415
|
-
"show-swatches":
|
|
1423
|
+
"show-swatches": p.value,
|
|
1416
1424
|
style: ue(m.value),
|
|
1417
|
-
theme:
|
|
1425
|
+
theme: k.value
|
|
1418
1426
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"]);
|
|
1419
1427
|
};
|
|
1420
1428
|
}
|
|
@@ -1425,8 +1433,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1425
1433
|
outer: { type: Boolean }
|
|
1426
1434
|
},
|
|
1427
1435
|
setup(t) {
|
|
1428
|
-
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),
|
|
1429
|
-
return (
|
|
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) => {
|
|
1430
1438
|
const b = A("v-combobox");
|
|
1431
1439
|
return D(i) === "editor" ? (V(), q("div", nl, [
|
|
1432
1440
|
Z(b, {
|
|
@@ -1435,7 +1443,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1435
1443
|
"model-value": r.value,
|
|
1436
1444
|
placeholder: u.value,
|
|
1437
1445
|
readonly: m.value,
|
|
1438
|
-
"single-line":
|
|
1446
|
+
"single-line": f.value,
|
|
1439
1447
|
theme: a.value
|
|
1440
1448
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"])
|
|
1441
1449
|
])) : (V(), z(b, {
|
|
@@ -1445,7 +1453,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1445
1453
|
"model-value": r.value,
|
|
1446
1454
|
placeholder: u.value,
|
|
1447
1455
|
readonly: m.value,
|
|
1448
|
-
"single-line":
|
|
1456
|
+
"single-line": f.value,
|
|
1449
1457
|
theme: a.value
|
|
1450
1458
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"]));
|
|
1451
1459
|
};
|
|
@@ -1457,11 +1465,11 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1457
1465
|
outer: { type: Boolean }
|
|
1458
1466
|
},
|
|
1459
1467
|
setup(t) {
|
|
1460
|
-
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:
|
|
1461
|
-
const y = {},
|
|
1462
|
-
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;
|
|
1463
1471
|
});
|
|
1464
|
-
return (y,
|
|
1472
|
+
return (y, p) => (V(), q("div", {
|
|
1465
1473
|
style: ue(b.value)
|
|
1466
1474
|
}, [
|
|
1467
1475
|
M(y.$slots, "default")
|
|
@@ -1474,34 +1482,34 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1474
1482
|
outer: { type: Boolean }
|
|
1475
1483
|
},
|
|
1476
1484
|
setup(t) {
|
|
1477
|
-
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),
|
|
1478
|
-
const
|
|
1479
|
-
return typeof
|
|
1480
|
-
}), a = n(() => e.node.settings?.loading),
|
|
1481
|
-
const
|
|
1482
|
-
return (e.node.slots?.items ?? []).forEach((
|
|
1483
|
-
|
|
1484
|
-
}),
|
|
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;
|
|
1485
1493
|
});
|
|
1486
|
-
return (
|
|
1487
|
-
const
|
|
1488
|
-
return V(), z(
|
|
1494
|
+
return (p, k) => {
|
|
1495
|
+
const _ = A("v-data-table");
|
|
1496
|
+
return V(), z(_, {
|
|
1489
1497
|
density: s.value,
|
|
1490
1498
|
"fixed-footer": l.value,
|
|
1491
1499
|
"fixed-header": o.value,
|
|
1492
1500
|
headers: r.value,
|
|
1493
1501
|
height: u.value,
|
|
1494
1502
|
hover: m.value,
|
|
1495
|
-
items:
|
|
1503
|
+
items: f.value,
|
|
1496
1504
|
loading: a.value,
|
|
1497
|
-
"multi-sort":
|
|
1498
|
-
theme:
|
|
1505
|
+
"multi-sort": c.value,
|
|
1506
|
+
theme: d.value,
|
|
1499
1507
|
width: b.value
|
|
1500
1508
|
}, we({ _: 2 }, [
|
|
1501
|
-
|
|
1509
|
+
Xi(y.value, (x) => ({
|
|
1502
1510
|
name: `item.${x.column}`,
|
|
1503
1511
|
fn: W(({ value: h }) => [
|
|
1504
|
-
Z(
|
|
1512
|
+
Z(Y, {
|
|
1505
1513
|
"ref-context": { refid: x.comp },
|
|
1506
1514
|
state: { value: h }
|
|
1507
1515
|
}, null, 8, ["ref-context", "state"])
|
|
@@ -1526,11 +1534,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1526
1534
|
return Ei(s, e, (u) => {
|
|
1527
1535
|
if (i !== "runtime" && i !== "preview" || !s.interpreter)
|
|
1528
1536
|
return;
|
|
1529
|
-
const { name:
|
|
1530
|
-
|
|
1537
|
+
const { name: f } = u;
|
|
1538
|
+
f === "open" ? o.value = !0 : f === "close" && (o.value = !1);
|
|
1531
1539
|
}), (u, m) => {
|
|
1532
|
-
const
|
|
1533
|
-
return V(), z(
|
|
1540
|
+
const f = A("v-dialog");
|
|
1541
|
+
return V(), z(f, {
|
|
1534
1542
|
modelValue: D(o),
|
|
1535
1543
|
"onUpdate:modelValue": m[0] || (m[0] = (a) => si(o) ? o.value = a : null),
|
|
1536
1544
|
attach: "#dialogContainer"
|
|
@@ -1555,20 +1563,20 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1555
1563
|
outer: { type: Boolean }
|
|
1556
1564
|
},
|
|
1557
1565
|
setup(t) {
|
|
1558
|
-
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),
|
|
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);
|
|
1559
1567
|
return (b, y) => {
|
|
1560
|
-
const
|
|
1561
|
-
return V(), z(
|
|
1568
|
+
const p = A("v-file-input");
|
|
1569
|
+
return V(), z(p, {
|
|
1562
1570
|
chips: s.value,
|
|
1563
1571
|
density: l.value,
|
|
1564
1572
|
direction: o.value,
|
|
1565
1573
|
disabled: r.value,
|
|
1566
1574
|
label: u.value,
|
|
1567
1575
|
loading: m.value,
|
|
1568
|
-
multiple:
|
|
1576
|
+
multiple: f.value,
|
|
1569
1577
|
readonly: a.value,
|
|
1570
|
-
reverse:
|
|
1571
|
-
"single-line":
|
|
1578
|
+
reverse: c.value,
|
|
1579
|
+
"single-line": d.value
|
|
1572
1580
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"]);
|
|
1573
1581
|
};
|
|
1574
1582
|
}
|
|
@@ -1579,24 +1587,24 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1579
1587
|
outer: { type: Boolean }
|
|
1580
1588
|
},
|
|
1581
1589
|
setup(t) {
|
|
1582
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), { applyMargin: m } = Zt(e), { applyPadding:
|
|
1583
|
-
|
|
1584
|
-
const
|
|
1585
|
-
|
|
1586
|
-
const x = ve(
|
|
1587
|
-
x === "no" ?
|
|
1588
|
-
const h = ve(
|
|
1589
|
-
h === "start" ?
|
|
1590
|
-
const w = ve(
|
|
1591
|
-
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");
|
|
1592
1600
|
}, y = n(() => {
|
|
1593
|
-
const
|
|
1594
|
-
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;
|
|
1595
1603
|
});
|
|
1596
|
-
return (
|
|
1604
|
+
return (p, k) => (V(), q("div", {
|
|
1597
1605
|
style: ue(y.value)
|
|
1598
1606
|
}, [
|
|
1599
|
-
M(
|
|
1607
|
+
M(p.$slots, "default")
|
|
1600
1608
|
], 4));
|
|
1601
1609
|
}
|
|
1602
1610
|
}), pl = /* @__PURE__ */ T({
|
|
@@ -1606,12 +1614,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1606
1614
|
outer: { type: Boolean }
|
|
1607
1615
|
},
|
|
1608
1616
|
setup(t) {
|
|
1609
|
-
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),
|
|
1610
|
-
const a = {},
|
|
1611
|
-
return l === "page" ?
|
|
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(() => {
|
|
1618
|
+
const a = {}, c = o.value.type;
|
|
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;
|
|
1612
1620
|
});
|
|
1613
|
-
return (a,
|
|
1614
|
-
style: ue(
|
|
1621
|
+
return (a, c) => (V(), q("div", {
|
|
1622
|
+
style: ue(f.value)
|
|
1615
1623
|
}, [
|
|
1616
1624
|
M(a.$slots, "default")
|
|
1617
1625
|
], 4));
|
|
@@ -1628,10 +1636,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1628
1636
|
set: (x) => {
|
|
1629
1637
|
e.node.settings && (e.node.settings.valid = !!x);
|
|
1630
1638
|
}
|
|
1631
|
-
}),
|
|
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(() => {
|
|
1632
1640
|
const x = {}, h = r.value.type;
|
|
1633
|
-
return o === "page" ? h === "common" ? (a(x),
|
|
1634
|
-
}),
|
|
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
|
+
}), _ = () => {
|
|
1635
1643
|
if (i !== "runtime" && i !== "preview")
|
|
1636
1644
|
return;
|
|
1637
1645
|
const x = u.interpreter;
|
|
@@ -1645,9 +1653,9 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1645
1653
|
return V(), z(w, {
|
|
1646
1654
|
modelValue: m.value,
|
|
1647
1655
|
"onUpdate:modelValue": h[0] || (h[0] = (g) => m.value = g),
|
|
1648
|
-
"fast-fail":
|
|
1649
|
-
style: ue(
|
|
1650
|
-
onSubmit:
|
|
1656
|
+
"fast-fail": f.value,
|
|
1657
|
+
style: ue(k.value),
|
|
1658
|
+
onSubmit: Yi(_, ["prevent"])
|
|
1651
1659
|
}, {
|
|
1652
1660
|
default: W(() => [
|
|
1653
1661
|
M(x.$slots, "default")
|
|
@@ -1664,9 +1672,9 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1664
1672
|
},
|
|
1665
1673
|
setup(t) {
|
|
1666
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");
|
|
1667
|
-
return (
|
|
1668
|
-
const
|
|
1669
|
-
return V(), z(
|
|
1675
|
+
return (f, a) => {
|
|
1676
|
+
const c = A("v-icon");
|
|
1677
|
+
return V(), z(c, {
|
|
1670
1678
|
color: D(l),
|
|
1671
1679
|
disabled: o.value,
|
|
1672
1680
|
icon: r.value,
|
|
@@ -1686,16 +1694,16 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1686
1694
|
return Ei(s, e, (a) => {
|
|
1687
1695
|
if (i !== "runtime" && i !== "preview")
|
|
1688
1696
|
return;
|
|
1689
|
-
const
|
|
1690
|
-
if (!
|
|
1697
|
+
const c = s.interpreter;
|
|
1698
|
+
if (!c)
|
|
1691
1699
|
return;
|
|
1692
|
-
const { name:
|
|
1693
|
-
|
|
1694
|
-
}), (a,
|
|
1695
|
-
const
|
|
1696
|
-
return V(), z(
|
|
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);
|
|
1702
|
+
}), (a, c) => {
|
|
1703
|
+
const d = A("v-menu");
|
|
1704
|
+
return V(), z(d, {
|
|
1697
1705
|
modelValue: D(m),
|
|
1698
|
-
"onUpdate:modelValue":
|
|
1706
|
+
"onUpdate:modelValue": c[0] || (c[0] = (b) => si(m) ? m.value = b : null),
|
|
1699
1707
|
attach: "menuContainer",
|
|
1700
1708
|
"location-strategy": "connected",
|
|
1701
1709
|
scrim: "transparent",
|
|
@@ -1721,8 +1729,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1721
1729
|
outer: { type: Boolean }
|
|
1722
1730
|
},
|
|
1723
1731
|
setup(t) {
|
|
1724
|
-
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),
|
|
1725
|
-
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) => {
|
|
1726
1734
|
const oe = A("v-number-input");
|
|
1727
1735
|
return V(), z(oe, {
|
|
1728
1736
|
"append-icon": l.value,
|
|
@@ -1730,15 +1738,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1730
1738
|
clearable: r.value,
|
|
1731
1739
|
"hide-details": u.value,
|
|
1732
1740
|
label: m.value,
|
|
1733
|
-
loading:
|
|
1741
|
+
loading: f.value,
|
|
1734
1742
|
max: a.value,
|
|
1735
|
-
"max-width":
|
|
1736
|
-
min:
|
|
1743
|
+
"max-width": c.value,
|
|
1744
|
+
min: d.value,
|
|
1737
1745
|
"min-width": b.value,
|
|
1738
1746
|
"model-value": y.value,
|
|
1739
|
-
placeholder:
|
|
1740
|
-
precision:
|
|
1741
|
-
prefix:
|
|
1747
|
+
placeholder: p.value,
|
|
1748
|
+
precision: k.value,
|
|
1749
|
+
prefix: _.value,
|
|
1742
1750
|
"prepend-icon": x.value,
|
|
1743
1751
|
"prepend-inner-icon": h.value,
|
|
1744
1752
|
readonly: w.value,
|
|
@@ -1748,7 +1756,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1748
1756
|
suffix: P.value,
|
|
1749
1757
|
theme: C.value,
|
|
1750
1758
|
variant: G.value,
|
|
1751
|
-
width:
|
|
1759
|
+
width: X.value
|
|
1752
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"]);
|
|
1753
1761
|
};
|
|
1754
1762
|
}
|
|
@@ -1759,20 +1767,20 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1759
1767
|
outer: { type: Boolean }
|
|
1760
1768
|
},
|
|
1761
1769
|
setup(t) {
|
|
1762
|
-
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),
|
|
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);
|
|
1763
1771
|
return (b, y) => {
|
|
1764
|
-
const
|
|
1765
|
-
return V(), z(
|
|
1772
|
+
const p = A("v-pagination");
|
|
1773
|
+
return V(), z(p, {
|
|
1766
1774
|
density: s.value,
|
|
1767
1775
|
disabled: l.value,
|
|
1768
1776
|
length: o.value,
|
|
1769
1777
|
"model-value": r.value,
|
|
1770
1778
|
"show-first-last-page": u.value,
|
|
1771
1779
|
size: m.value,
|
|
1772
|
-
start:
|
|
1780
|
+
start: f.value,
|
|
1773
1781
|
theme: a.value,
|
|
1774
|
-
tile:
|
|
1775
|
-
variant:
|
|
1782
|
+
tile: c.value,
|
|
1783
|
+
variant: d.value
|
|
1776
1784
|
}, null, 8, ["density", "disabled", "length", "model-value", "show-first-last-page", "size", "start", "theme", "tile", "variant"]);
|
|
1777
1785
|
};
|
|
1778
1786
|
}
|
|
@@ -1783,8 +1791,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1783
1791
|
outer: { type: Boolean }
|
|
1784
1792
|
},
|
|
1785
1793
|
setup(t) {
|
|
1786
|
-
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),
|
|
1787
|
-
return (
|
|
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) => {
|
|
1788
1796
|
const b = A("v-radio");
|
|
1789
1797
|
return V(), z(b, {
|
|
1790
1798
|
color: D(l),
|
|
@@ -1792,7 +1800,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1792
1800
|
disabled: r.value,
|
|
1793
1801
|
label: u.value,
|
|
1794
1802
|
readonly: m.value,
|
|
1795
|
-
theme:
|
|
1803
|
+
theme: f.value,
|
|
1796
1804
|
value: a.value
|
|
1797
1805
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
1798
1806
|
};
|
|
@@ -1804,8 +1812,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1804
1812
|
outer: { type: Boolean }
|
|
1805
1813
|
},
|
|
1806
1814
|
setup(t) {
|
|
1807
|
-
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),
|
|
1808
|
-
return (
|
|
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) => {
|
|
1809
1817
|
const b = A("v-radio-group");
|
|
1810
1818
|
return D(i) === "editor" ? (V(), q("div", kl, [
|
|
1811
1819
|
Z(b, {
|
|
@@ -1814,11 +1822,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1814
1822
|
disabled: r.value,
|
|
1815
1823
|
inline: u.value,
|
|
1816
1824
|
"model-value": m.value,
|
|
1817
|
-
readonly:
|
|
1825
|
+
readonly: f.value,
|
|
1818
1826
|
theme: a.value
|
|
1819
1827
|
}, {
|
|
1820
1828
|
default: W(() => [
|
|
1821
|
-
M(
|
|
1829
|
+
M(c.$slots, "default")
|
|
1822
1830
|
]),
|
|
1823
1831
|
_: 3
|
|
1824
1832
|
}, 8, ["density", "direction", "disabled", "inline", "model-value", "readonly", "theme"])
|
|
@@ -1829,11 +1837,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1829
1837
|
disabled: r.value,
|
|
1830
1838
|
inline: u.value,
|
|
1831
1839
|
"model-value": m.value,
|
|
1832
|
-
readonly:
|
|
1840
|
+
readonly: f.value,
|
|
1833
1841
|
theme: a.value
|
|
1834
1842
|
}, {
|
|
1835
1843
|
default: W(() => [
|
|
1836
|
-
M(
|
|
1844
|
+
M(c.$slots, "default")
|
|
1837
1845
|
]),
|
|
1838
1846
|
_: 3
|
|
1839
1847
|
}, 8, ["density", "direction", "disabled", "inline", "model-value", "readonly", "theme"]));
|
|
@@ -1846,23 +1854,23 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1846
1854
|
outer: { type: Boolean }
|
|
1847
1855
|
},
|
|
1848
1856
|
setup(t) {
|
|
1849
|
-
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),
|
|
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(() => {
|
|
1850
1858
|
const S = t.node.settings?.value?.start, P = t.node.settings?.value?.end;
|
|
1851
1859
|
return [S, P];
|
|
1852
|
-
}),
|
|
1860
|
+
}), c = ([S, P]) => {
|
|
1853
1861
|
if (!t.node.settings?.value)
|
|
1854
1862
|
return;
|
|
1855
1863
|
const { value: C } = t.node.settings;
|
|
1856
1864
|
C.start = S, C.end = P;
|
|
1857
|
-
},
|
|
1865
|
+
}, d = n(() => t.node.settings?.readonly), b = n(() => t.node.settings?.showTicks), y = n(() => {
|
|
1858
1866
|
if (b.value === "always")
|
|
1859
1867
|
return "always";
|
|
1860
1868
|
if (b.value === "show")
|
|
1861
1869
|
return !0;
|
|
1862
|
-
}),
|
|
1863
|
-
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")
|
|
1864
1872
|
return "always";
|
|
1865
|
-
if (
|
|
1873
|
+
if (_.value === "show")
|
|
1866
1874
|
return !0;
|
|
1867
1875
|
}), h = n(() => t.node.settings?.thumbSize), w = n(() => t.node.settings?.ticks), g = n(() => {
|
|
1868
1876
|
if (!w.value)
|
|
@@ -1883,12 +1891,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1883
1891
|
"hide-details": r.value,
|
|
1884
1892
|
label: u.value,
|
|
1885
1893
|
max: m.value,
|
|
1886
|
-
min:
|
|
1894
|
+
min: f.value,
|
|
1887
1895
|
"model-value": a.value,
|
|
1888
|
-
readonly:
|
|
1896
|
+
readonly: d.value,
|
|
1889
1897
|
"show-ticks": y.value,
|
|
1890
|
-
step:
|
|
1891
|
-
theme:
|
|
1898
|
+
step: p.value,
|
|
1899
|
+
theme: k.value,
|
|
1892
1900
|
"thumb-label": x.value,
|
|
1893
1901
|
"thumb-size": h.value,
|
|
1894
1902
|
"tick-size": $.value,
|
|
@@ -1902,17 +1910,17 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1902
1910
|
"hide-details": r.value,
|
|
1903
1911
|
label: u.value,
|
|
1904
1912
|
max: m.value,
|
|
1905
|
-
min:
|
|
1913
|
+
min: f.value,
|
|
1906
1914
|
"model-value": a.value,
|
|
1907
|
-
readonly:
|
|
1915
|
+
readonly: d.value,
|
|
1908
1916
|
"show-ticks": y.value,
|
|
1909
|
-
step:
|
|
1910
|
-
theme:
|
|
1917
|
+
step: p.value,
|
|
1918
|
+
theme: k.value,
|
|
1911
1919
|
"thumb-label": x.value,
|
|
1912
1920
|
"thumb-size": h.value,
|
|
1913
1921
|
"tick-size": $.value,
|
|
1914
1922
|
ticks: g.value,
|
|
1915
|
-
"onUpdate:modelValue":
|
|
1923
|
+
"onUpdate:modelValue": c
|
|
1916
1924
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"]));
|
|
1917
1925
|
};
|
|
1918
1926
|
}
|
|
@@ -1923,13 +1931,13 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1923
1931
|
outer: { type: Boolean }
|
|
1924
1932
|
},
|
|
1925
1933
|
setup(t) {
|
|
1926
|
-
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),
|
|
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) => {
|
|
1927
1935
|
if (!t.node.settings)
|
|
1928
1936
|
return;
|
|
1929
1937
|
const { settings: b } = t.node;
|
|
1930
|
-
b.value =
|
|
1931
|
-
}, a = n(() => t.node.settings?.readonly),
|
|
1932
|
-
return (
|
|
1938
|
+
b.value = d;
|
|
1939
|
+
}, a = n(() => t.node.settings?.readonly), c = n(() => e.value ? "dark" : "light");
|
|
1940
|
+
return (d, b) => {
|
|
1933
1941
|
const y = A("v-rating");
|
|
1934
1942
|
return V(), z(y, {
|
|
1935
1943
|
clearable: i.value,
|
|
@@ -1940,8 +1948,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1940
1948
|
length: u.value,
|
|
1941
1949
|
"model-value": m.value,
|
|
1942
1950
|
readonly: a.value,
|
|
1943
|
-
theme:
|
|
1944
|
-
"onUpdate:modelValue":
|
|
1951
|
+
theme: c.value,
|
|
1952
|
+
"onUpdate:modelValue": f
|
|
1945
1953
|
}, null, 8, ["clearable", "density", "disabled", "half-increments", "hover", "length", "model-value", "readonly", "theme"]);
|
|
1946
1954
|
};
|
|
1947
1955
|
}
|
|
@@ -1952,8 +1960,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1952
1960
|
outer: { type: Boolean }
|
|
1953
1961
|
},
|
|
1954
1962
|
setup(t) {
|
|
1955
|
-
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),
|
|
1956
|
-
return (
|
|
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) => {
|
|
1957
1965
|
const b = A("v-select");
|
|
1958
1966
|
return D(i) === "editor" ? (V(), q("div", Cl, [
|
|
1959
1967
|
Z(b, {
|
|
@@ -1962,7 +1970,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1962
1970
|
"model-value": r.value,
|
|
1963
1971
|
placeholder: u.value,
|
|
1964
1972
|
readonly: m.value,
|
|
1965
|
-
"single-line":
|
|
1973
|
+
"single-line": f.value,
|
|
1966
1974
|
theme: a.value
|
|
1967
1975
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"])
|
|
1968
1976
|
])) : (V(), z(b, {
|
|
@@ -1972,7 +1980,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1972
1980
|
"model-value": r.value,
|
|
1973
1981
|
placeholder: u.value,
|
|
1974
1982
|
readonly: m.value,
|
|
1975
|
-
"single-line":
|
|
1983
|
+
"single-line": f.value,
|
|
1976
1984
|
theme: a.value
|
|
1977
1985
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"]));
|
|
1978
1986
|
};
|
|
@@ -1984,12 +1992,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1984
1992
|
outer: { type: Boolean }
|
|
1985
1993
|
},
|
|
1986
1994
|
setup(t) {
|
|
1987
|
-
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),
|
|
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(() => {
|
|
1988
1996
|
if (y.value === "always")
|
|
1989
1997
|
return "always";
|
|
1990
1998
|
if (y.value === "show")
|
|
1991
1999
|
return !0;
|
|
1992
|
-
}),
|
|
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(() => {
|
|
1993
2001
|
if (w.value === "always")
|
|
1994
2002
|
return "always";
|
|
1995
2003
|
if (w.value === "show")
|
|
@@ -2002,7 +2010,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2002
2010
|
oe[xe] = ke;
|
|
2003
2011
|
if (!pi(oe))
|
|
2004
2012
|
return oe;
|
|
2005
|
-
}), 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);
|
|
2006
2014
|
return (oe, xe) => {
|
|
2007
2015
|
const ke = A("v-slider");
|
|
2008
2016
|
return D(e) === "editor" ? (V(), q("div", Sl, [
|
|
@@ -2012,36 +2020,36 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2012
2020
|
disabled: r.value,
|
|
2013
2021
|
"hide-details": u.value,
|
|
2014
2022
|
label: m.value,
|
|
2015
|
-
max:
|
|
2023
|
+
max: f.value,
|
|
2016
2024
|
min: a.value,
|
|
2017
|
-
"model-value":
|
|
2018
|
-
readonly:
|
|
2025
|
+
"model-value": c.value,
|
|
2026
|
+
readonly: d.value,
|
|
2019
2027
|
reverse: b.value,
|
|
2020
|
-
"show-ticks":
|
|
2021
|
-
step:
|
|
2022
|
-
theme:
|
|
2028
|
+
"show-ticks": p.value,
|
|
2029
|
+
step: k.value,
|
|
2030
|
+
theme: _.value,
|
|
2023
2031
|
"thumb-color": D(h),
|
|
2024
2032
|
"thumb-label": g.value,
|
|
2025
2033
|
"thumb-size": $.value,
|
|
2026
2034
|
"tick-size": C.value,
|
|
2027
2035
|
ticks: P.value,
|
|
2028
|
-
"track-color": D(
|
|
2036
|
+
"track-color": D(X)
|
|
2029
2037
|
}, we({ _: 2 }, [
|
|
2030
2038
|
K.value ? {
|
|
2031
2039
|
name: "append",
|
|
2032
2040
|
fn: W(() => [
|
|
2033
|
-
Z(
|
|
2041
|
+
Z(Y, {
|
|
2034
2042
|
"ref-context": { refid: K.value },
|
|
2035
2043
|
state: {}
|
|
2036
2044
|
}, null, 8, ["ref-context"])
|
|
2037
2045
|
]),
|
|
2038
2046
|
key: "0"
|
|
2039
2047
|
} : void 0,
|
|
2040
|
-
|
|
2048
|
+
J.value ? {
|
|
2041
2049
|
name: "prepend",
|
|
2042
2050
|
fn: W(() => [
|
|
2043
|
-
Z(
|
|
2044
|
-
"ref-context": { refid:
|
|
2051
|
+
Z(Y, {
|
|
2052
|
+
"ref-context": { refid: J.value },
|
|
2045
2053
|
state: {}
|
|
2046
2054
|
}, null, 8, ["ref-context"])
|
|
2047
2055
|
]),
|
|
@@ -2055,36 +2063,36 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2055
2063
|
disabled: r.value,
|
|
2056
2064
|
"hide-details": u.value,
|
|
2057
2065
|
label: m.value,
|
|
2058
|
-
max:
|
|
2066
|
+
max: f.value,
|
|
2059
2067
|
min: a.value,
|
|
2060
|
-
"model-value":
|
|
2061
|
-
readonly:
|
|
2068
|
+
"model-value": c.value,
|
|
2069
|
+
readonly: d.value,
|
|
2062
2070
|
reverse: b.value,
|
|
2063
|
-
"show-ticks":
|
|
2064
|
-
step:
|
|
2065
|
-
theme:
|
|
2071
|
+
"show-ticks": p.value,
|
|
2072
|
+
step: k.value,
|
|
2073
|
+
theme: _.value,
|
|
2066
2074
|
"thumb-color": D(h),
|
|
2067
2075
|
"thumb-label": g.value,
|
|
2068
2076
|
"thumb-size": $.value,
|
|
2069
2077
|
"tick-size": C.value,
|
|
2070
2078
|
ticks: P.value,
|
|
2071
|
-
"track-color": D(
|
|
2079
|
+
"track-color": D(X)
|
|
2072
2080
|
}, we({ _: 2 }, [
|
|
2073
2081
|
K.value ? {
|
|
2074
2082
|
name: "append",
|
|
2075
2083
|
fn: W(() => [
|
|
2076
|
-
Z(
|
|
2084
|
+
Z(Y, {
|
|
2077
2085
|
"ref-context": { refid: K.value },
|
|
2078
2086
|
state: {}
|
|
2079
2087
|
}, null, 8, ["ref-context"])
|
|
2080
2088
|
]),
|
|
2081
2089
|
key: "0"
|
|
2082
2090
|
} : void 0,
|
|
2083
|
-
|
|
2091
|
+
J.value ? {
|
|
2084
2092
|
name: "prepend",
|
|
2085
2093
|
fn: W(() => [
|
|
2086
|
-
Z(
|
|
2087
|
-
"ref-context": { refid:
|
|
2094
|
+
Z(Y, {
|
|
2095
|
+
"ref-context": { refid: J.value },
|
|
2088
2096
|
state: {}
|
|
2089
2097
|
}, null, 8, ["ref-context"])
|
|
2090
2098
|
]),
|
|
@@ -2177,8 +2185,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2177
2185
|
outer: { type: Boolean }
|
|
2178
2186
|
},
|
|
2179
2187
|
setup(t) {
|
|
2180
|
-
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),
|
|
2181
|
-
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) => {
|
|
2182
2190
|
const y = A("v-switch");
|
|
2183
2191
|
return D(i) === "editor" ? (V(), q("div", Rl, [
|
|
2184
2192
|
Z(y, {
|
|
@@ -2188,9 +2196,9 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2188
2196
|
"hide-details": r.value,
|
|
2189
2197
|
indeterminate: u.value,
|
|
2190
2198
|
inline: m.value,
|
|
2191
|
-
inset:
|
|
2199
|
+
inset: f.value,
|
|
2192
2200
|
label: a.value,
|
|
2193
|
-
loading:
|
|
2201
|
+
loading: c.value
|
|
2194
2202
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading"])
|
|
2195
2203
|
])) : (V(), z(y, {
|
|
2196
2204
|
key: 1,
|
|
@@ -2200,9 +2208,9 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2200
2208
|
"hide-details": r.value,
|
|
2201
2209
|
indeterminate: u.value,
|
|
2202
2210
|
inline: m.value,
|
|
2203
|
-
inset:
|
|
2211
|
+
inset: f.value,
|
|
2204
2212
|
label: a.value,
|
|
2205
|
-
loading:
|
|
2213
|
+
loading: c.value
|
|
2206
2214
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading"]));
|
|
2207
2215
|
};
|
|
2208
2216
|
}
|
|
@@ -2230,7 +2238,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2230
2238
|
outer: { type: Boolean }
|
|
2231
2239
|
},
|
|
2232
2240
|
setup(t) {
|
|
2233
|
-
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),
|
|
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");
|
|
2234
2242
|
return ($, S) => {
|
|
2235
2243
|
const P = A("v-tabs");
|
|
2236
2244
|
return V(), z(P, {
|
|
@@ -2238,15 +2246,15 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2238
2246
|
"bg-color": D(o),
|
|
2239
2247
|
"center-active": r.value,
|
|
2240
2248
|
color: D(m),
|
|
2241
|
-
density:
|
|
2249
|
+
density: f.value,
|
|
2242
2250
|
direction: a.value,
|
|
2243
|
-
disabled:
|
|
2244
|
-
"fixed-tabs":
|
|
2251
|
+
disabled: c.value,
|
|
2252
|
+
"fixed-tabs": d.value,
|
|
2245
2253
|
grow: b.value,
|
|
2246
2254
|
"hide-slider": y.value,
|
|
2247
|
-
items:
|
|
2248
|
-
mandatory:
|
|
2249
|
-
"show-arrows":
|
|
2255
|
+
items: p.value,
|
|
2256
|
+
mandatory: k.value,
|
|
2257
|
+
"show-arrows": _.value,
|
|
2250
2258
|
"slider-color": D(h),
|
|
2251
2259
|
stacked: w.value,
|
|
2252
2260
|
theme: g.value
|
|
@@ -2265,12 +2273,12 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2265
2273
|
outer: { type: Boolean }
|
|
2266
2274
|
},
|
|
2267
2275
|
setup(t) {
|
|
2268
|
-
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),
|
|
2269
|
-
const a = [],
|
|
2270
|
-
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(" ");
|
|
2271
2279
|
});
|
|
2272
|
-
return (a,
|
|
2273
|
-
class: Qi(
|
|
2280
|
+
return (a, c) => (V(), q("span", {
|
|
2281
|
+
class: Qi(f.value)
|
|
2274
2282
|
}, eo(u.value), 3));
|
|
2275
2283
|
}
|
|
2276
2284
|
}), Gl = /* @__PURE__ */ T({
|
|
@@ -2280,7 +2288,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2280
2288
|
outer: { type: Boolean }
|
|
2281
2289
|
},
|
|
2282
2290
|
setup(t) {
|
|
2283
|
-
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),
|
|
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);
|
|
2284
2292
|
return (x, h) => {
|
|
2285
2293
|
const w = A("v-textarea");
|
|
2286
2294
|
return V(), z(w, {
|
|
@@ -2290,15 +2298,15 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2290
2298
|
disabled: r.value,
|
|
2291
2299
|
label: u.value,
|
|
2292
2300
|
loading: m.value,
|
|
2293
|
-
"max-rows":
|
|
2301
|
+
"max-rows": f.value,
|
|
2294
2302
|
"model-value": a.value,
|
|
2295
|
-
placeholder:
|
|
2296
|
-
readonly:
|
|
2303
|
+
placeholder: c.value,
|
|
2304
|
+
readonly: d.value,
|
|
2297
2305
|
reverse: b.value,
|
|
2298
2306
|
rows: y.value,
|
|
2299
|
-
"single-line":
|
|
2300
|
-
theme:
|
|
2301
|
-
variant:
|
|
2307
|
+
"single-line": p.value,
|
|
2308
|
+
theme: k.value,
|
|
2309
|
+
variant: _.value
|
|
2302
2310
|
}, null, 8, ["auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "model-value", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"]);
|
|
2303
2311
|
};
|
|
2304
2312
|
}
|
|
@@ -2309,24 +2317,24 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2309
2317
|
outer: { type: Boolean }
|
|
2310
2318
|
},
|
|
2311
2319
|
setup(t) {
|
|
2312
|
-
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),
|
|
2313
|
-
return (
|
|
2314
|
-
const
|
|
2315
|
-
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, {
|
|
2316
2324
|
"append-icon": l.value,
|
|
2317
2325
|
"append-inner-icon": o.value,
|
|
2318
2326
|
autofocus: r.value,
|
|
2319
2327
|
clearable: u.value,
|
|
2320
2328
|
density: m.value,
|
|
2321
|
-
disabled:
|
|
2329
|
+
disabled: f.value,
|
|
2322
2330
|
"hide-details": a.value,
|
|
2323
|
-
label:
|
|
2324
|
-
loading:
|
|
2331
|
+
label: c.value,
|
|
2332
|
+
loading: d.value,
|
|
2325
2333
|
placeholder: b.value,
|
|
2326
2334
|
prefix: y.value,
|
|
2327
|
-
"prepend-icon":
|
|
2328
|
-
"prepend-inner-icon":
|
|
2329
|
-
readonly:
|
|
2335
|
+
"prepend-icon": p.value,
|
|
2336
|
+
"prepend-inner-icon": k.value,
|
|
2337
|
+
readonly: _.value,
|
|
2330
2338
|
reverse: x.value,
|
|
2331
2339
|
"single-line": h.value,
|
|
2332
2340
|
suffix: w.value,
|
|
@@ -2336,7 +2344,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2336
2344
|
S.value ? {
|
|
2337
2345
|
name: "append",
|
|
2338
2346
|
fn: W(() => [
|
|
2339
|
-
Z(
|
|
2347
|
+
Z(Y, {
|
|
2340
2348
|
"ref-context": { refid: S.value },
|
|
2341
2349
|
state: {}
|
|
2342
2350
|
}, null, 8, ["ref-context"])
|
|
@@ -2346,7 +2354,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2346
2354
|
P.value ? {
|
|
2347
2355
|
name: "append-inner",
|
|
2348
2356
|
fn: W(() => [
|
|
2349
|
-
Z(
|
|
2357
|
+
Z(Y, {
|
|
2350
2358
|
"ref-context": { refid: P.value },
|
|
2351
2359
|
state: {}
|
|
2352
2360
|
}, null, 8, ["ref-context"])
|
|
@@ -2356,7 +2364,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2356
2364
|
C.value ? {
|
|
2357
2365
|
name: "prepend",
|
|
2358
2366
|
fn: W(() => [
|
|
2359
|
-
Z(
|
|
2367
|
+
Z(Y, {
|
|
2360
2368
|
"ref-context": { refid: C.value },
|
|
2361
2369
|
state: {}
|
|
2362
2370
|
}, null, 8, ["ref-context"])
|
|
@@ -2366,7 +2374,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2366
2374
|
G.value ? {
|
|
2367
2375
|
name: "prepend-inner",
|
|
2368
2376
|
fn: W(() => [
|
|
2369
|
-
Z(
|
|
2377
|
+
Z(Y, {
|
|
2370
2378
|
"ref-context": { refid: G.value },
|
|
2371
2379
|
state: {}
|
|
2372
2380
|
}, null, 8, ["ref-context"])
|
|
@@ -2383,8 +2391,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2383
2391
|
outer: { type: Boolean }
|
|
2384
2392
|
},
|
|
2385
2393
|
setup(t) {
|
|
2386
|
-
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),
|
|
2387
|
-
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, _) => {
|
|
2388
2396
|
const x = A("v-timeline");
|
|
2389
2397
|
return V(), z(x, {
|
|
2390
2398
|
align: i.value,
|
|
@@ -2394,14 +2402,14 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2394
2402
|
"fill-dot": u.value,
|
|
2395
2403
|
"hide-opposite": m.value,
|
|
2396
2404
|
"line-color": D(a),
|
|
2397
|
-
"line-inset":
|
|
2398
|
-
"line-thickness":
|
|
2405
|
+
"line-inset": c.value,
|
|
2406
|
+
"line-thickness": d.value,
|
|
2399
2407
|
side: b.value,
|
|
2400
2408
|
theme: y.value,
|
|
2401
|
-
"truncate-line":
|
|
2409
|
+
"truncate-line": p.value
|
|
2402
2410
|
}, {
|
|
2403
2411
|
default: W(() => [
|
|
2404
|
-
M(
|
|
2412
|
+
M(k.$slots, "default")
|
|
2405
2413
|
]),
|
|
2406
2414
|
_: 3
|
|
2407
2415
|
}, 8, ["align", "density", "direction", "dot-color", "fill-dot", "hide-opposite", "line-color", "line-inset", "line-thickness", "side", "theme", "truncate-line"]);
|
|
@@ -2417,17 +2425,17 @@ function Zl(t, e) {
|
|
|
2417
2425
|
_: 3
|
|
2418
2426
|
});
|
|
2419
2427
|
}
|
|
2420
|
-
const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]),
|
|
2428
|
+
const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Jl = /* @__PURE__ */ T({
|
|
2421
2429
|
__name: "index",
|
|
2422
2430
|
props: {
|
|
2423
2431
|
node: {},
|
|
2424
2432
|
outer: { type: Boolean }
|
|
2425
2433
|
},
|
|
2426
2434
|
setup(t) {
|
|
2427
|
-
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"),
|
|
2428
|
-
return (a,
|
|
2429
|
-
const
|
|
2430
|
-
return V(), z(
|
|
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);
|
|
2436
|
+
return (a, c) => {
|
|
2437
|
+
const d = A("v-window");
|
|
2438
|
+
return V(), z(d, {
|
|
2431
2439
|
continuous: i.value,
|
|
2432
2440
|
direction: l.value,
|
|
2433
2441
|
disabled: s.value,
|
|
@@ -2435,7 +2443,7 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2435
2443
|
reverse: r.value,
|
|
2436
2444
|
"show-arrows": u.value,
|
|
2437
2445
|
theme: m.value,
|
|
2438
|
-
touch:
|
|
2446
|
+
touch: f.value
|
|
2439
2447
|
}, {
|
|
2440
2448
|
default: W(() => [
|
|
2441
2449
|
M(a.$slots, "default")
|
|
@@ -2444,8 +2452,8 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2444
2452
|
}, 8, ["continuous", "direction", "disabled", "model-value", "reverse", "show-arrows", "theme", "touch"]);
|
|
2445
2453
|
};
|
|
2446
2454
|
}
|
|
2447
|
-
}),
|
|
2448
|
-
function
|
|
2455
|
+
}), Xl = {};
|
|
2456
|
+
function Yl(t, e) {
|
|
2449
2457
|
const i = A("v-window-item");
|
|
2450
2458
|
return V(), z(i, null, {
|
|
2451
2459
|
default: W(() => [
|
|
@@ -2454,7 +2462,7 @@ function Jl(t, e) {
|
|
|
2454
2462
|
_: 3
|
|
2455
2463
|
});
|
|
2456
2464
|
}
|
|
2457
|
-
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 = {
|
|
2458
2466
|
key: "basic",
|
|
2459
2467
|
name: "x-runtime-lib.basic",
|
|
2460
2468
|
children: [
|
|
@@ -2906,13 +2914,13 @@ const pn = {
|
|
|
2906
2914
|
spawn: nr
|
|
2907
2915
|
};
|
|
2908
2916
|
I(kt);
|
|
2909
|
-
const
|
|
2910
|
-
|
|
2911
|
-
|
|
2917
|
+
const Xt = R(U);
|
|
2918
|
+
Xt.key = "backgroundColor";
|
|
2919
|
+
Xt.name = "x-runtime-lib.backgroundColor";
|
|
2912
2920
|
const fn = {
|
|
2913
2921
|
key: "globalSettings",
|
|
2914
2922
|
name: "x-runtime-lib.globalSettings",
|
|
2915
|
-
children: [
|
|
2923
|
+
children: [Xt]
|
|
2916
2924
|
}, ir = {
|
|
2917
2925
|
key: nt,
|
|
2918
2926
|
name: "x-runtime-lib.globality",
|
|
@@ -3241,7 +3249,7 @@ const hn = {
|
|
|
3241
3249
|
}, ar = {
|
|
3242
3250
|
key: Fe,
|
|
3243
3251
|
name: "x-runtime-lib.buttonToggle",
|
|
3244
|
-
comp:
|
|
3252
|
+
comp: Js,
|
|
3245
3253
|
slots: [
|
|
3246
3254
|
{
|
|
3247
3255
|
key: "default",
|
|
@@ -3328,7 +3336,7 @@ const gn = {
|
|
|
3328
3336
|
}, ye = {
|
|
3329
3337
|
key: He,
|
|
3330
3338
|
name: "x-runtime-lib.card",
|
|
3331
|
-
comp:
|
|
3339
|
+
comp: Xs,
|
|
3332
3340
|
slots: [
|
|
3333
3341
|
{
|
|
3334
3342
|
key: "default",
|
|
@@ -3364,7 +3372,7 @@ const xn = {
|
|
|
3364
3372
|
}, dr = {
|
|
3365
3373
|
key: Oe,
|
|
3366
3374
|
name: "x-runtime-lib.checkbox",
|
|
3367
|
-
comp:
|
|
3375
|
+
comp: Ys,
|
|
3368
3376
|
slots: [],
|
|
3369
3377
|
events: [],
|
|
3370
3378
|
methods: [],
|
|
@@ -3637,13 +3645,13 @@ const wn = {
|
|
|
3637
3645
|
}
|
|
3638
3646
|
};
|
|
3639
3647
|
I(fr);
|
|
3640
|
-
const
|
|
3641
|
-
|
|
3642
|
-
|
|
3648
|
+
const Yt = R(U);
|
|
3649
|
+
Yt.key = "backgroundColor";
|
|
3650
|
+
Yt.name = "x-runtime-lib.backgroundColor";
|
|
3643
3651
|
const Vn = {
|
|
3644
3652
|
key: "settings",
|
|
3645
3653
|
name: "x-runtime-lib.settings",
|
|
3646
|
-
children: [
|
|
3654
|
+
children: [Yt]
|
|
3647
3655
|
}, $t = {
|
|
3648
3656
|
key: Ze,
|
|
3649
3657
|
name: "x-runtime-lib.container",
|
|
@@ -3834,7 +3842,7 @@ const $n = {
|
|
|
3834
3842
|
};
|
|
3835
3843
|
I(br);
|
|
3836
3844
|
const vr = {
|
|
3837
|
-
key:
|
|
3845
|
+
key: Je,
|
|
3838
3846
|
name: "x-runtime-lib.datePicker",
|
|
3839
3847
|
comp: al,
|
|
3840
3848
|
slots: [],
|
|
@@ -3847,7 +3855,7 @@ const vr = {
|
|
|
3847
3855
|
};
|
|
3848
3856
|
I(vr);
|
|
3849
3857
|
const yr = {
|
|
3850
|
-
key:
|
|
3858
|
+
key: Xe,
|
|
3851
3859
|
name: "x-runtime-lib.dialog",
|
|
3852
3860
|
comp: dl,
|
|
3853
3861
|
slots: [
|
|
@@ -3882,8 +3890,8 @@ const Sn = {
|
|
|
3882
3890
|
key: "settings",
|
|
3883
3891
|
name: "x-runtime-lib.settings",
|
|
3884
3892
|
children: []
|
|
3885
|
-
},
|
|
3886
|
-
key:
|
|
3893
|
+
}, Ja = {
|
|
3894
|
+
key: Ye,
|
|
3887
3895
|
name: "x-runtime-lib.fileInput",
|
|
3888
3896
|
comp: cl,
|
|
3889
3897
|
slots: [],
|
|
@@ -3965,20 +3973,20 @@ function hr(t, e) {
|
|
|
3965
3973
|
], o;
|
|
3966
3974
|
}
|
|
3967
3975
|
function It(t, e, i, s, l, o, r, u, m) {
|
|
3968
|
-
const
|
|
3976
|
+
const f = `type=${t} subtype=${e}`, a = E(t, e);
|
|
3969
3977
|
if (!a) {
|
|
3970
3978
|
console.error(
|
|
3971
|
-
`flexLayoutV1/spawnContainer prop tag not found, ${
|
|
3979
|
+
`flexLayoutV1/spawnContainer prop tag not found, ${f}`
|
|
3972
3980
|
);
|
|
3973
3981
|
return;
|
|
3974
3982
|
}
|
|
3975
|
-
const
|
|
3976
|
-
if (!
|
|
3977
|
-
console.error(`flexLayoutV1/spawnContainer props not found, ${
|
|
3983
|
+
const c = $t.props[a];
|
|
3984
|
+
if (!c) {
|
|
3985
|
+
console.error(`flexLayoutV1/spawnContainer props not found, ${f}`);
|
|
3978
3986
|
return;
|
|
3979
3987
|
}
|
|
3980
|
-
const
|
|
3981
|
-
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;
|
|
3982
3990
|
}
|
|
3983
3991
|
function gr(t, e) {
|
|
3984
3992
|
const i = `type=${t} subtype=${e}`, s = E(t, e);
|
|
@@ -5788,7 +5796,7 @@ function Rr(t, e) {
|
|
|
5788
5796
|
const o = {};
|
|
5789
5797
|
return L(o, l), o.basic.id = N(16), o.basic.key = ae.key, o.settings.text = "text", o;
|
|
5790
5798
|
}
|
|
5791
|
-
const
|
|
5799
|
+
const Jn = {
|
|
5792
5800
|
key: "settings",
|
|
5793
5801
|
name: "x-runtime-lib.settings",
|
|
5794
5802
|
children: [
|
|
@@ -5882,8 +5890,8 @@ const Xn = {
|
|
|
5882
5890
|
events: [],
|
|
5883
5891
|
methods: [],
|
|
5884
5892
|
props: {
|
|
5885
|
-
pageCommon: [v,
|
|
5886
|
-
compCommon: [v,
|
|
5893
|
+
pageCommon: [v, Jn],
|
|
5894
|
+
compCommon: [v, Jn]
|
|
5887
5895
|
},
|
|
5888
5896
|
spawn: Rr
|
|
5889
5897
|
};
|
|
@@ -5902,7 +5910,7 @@ function Mr(t, e) {
|
|
|
5902
5910
|
const o = {};
|
|
5903
5911
|
return L(o, l), o.basic.id = N(16), o.basic.key = Mt.key, o.settings.label = "label", o;
|
|
5904
5912
|
}
|
|
5905
|
-
const
|
|
5913
|
+
const Xn = {
|
|
5906
5914
|
key: "settings",
|
|
5907
5915
|
name: "x-runtime-lib.settings",
|
|
5908
5916
|
children: [
|
|
@@ -5981,8 +5989,8 @@ const Yn = {
|
|
|
5981
5989
|
events: [],
|
|
5982
5990
|
methods: [],
|
|
5983
5991
|
props: {
|
|
5984
|
-
pageCommon: [v,
|
|
5985
|
-
compCommon: [v,
|
|
5992
|
+
pageCommon: [v, Xn],
|
|
5993
|
+
compCommon: [v, Xn]
|
|
5986
5994
|
},
|
|
5987
5995
|
spawn: Mr
|
|
5988
5996
|
};
|
|
@@ -6051,7 +6059,7 @@ function Hr(t, e, i) {
|
|
|
6051
6059
|
const r = {};
|
|
6052
6060
|
return L(r, o), r.basic.id = N(16), r.basic.key = ae.key, r.settings.text = i, r;
|
|
6053
6061
|
}
|
|
6054
|
-
const Or = R(U), Gr = R(U),
|
|
6062
|
+
const Or = R(U), Gr = R(U), Yn = {
|
|
6055
6063
|
key: "settings",
|
|
6056
6064
|
name: "x-runtime-lib.settings",
|
|
6057
6065
|
children: [
|
|
@@ -6142,8 +6150,8 @@ const Or = R(U), Gr = R(U), Jn = {
|
|
|
6142
6150
|
events: [],
|
|
6143
6151
|
methods: [],
|
|
6144
6152
|
props: {
|
|
6145
|
-
pageCommon: [v,
|
|
6146
|
-
compCommon: [v,
|
|
6153
|
+
pageCommon: [v, Yn],
|
|
6154
|
+
compCommon: [v, Yn]
|
|
6147
6155
|
},
|
|
6148
6156
|
spawn: Fr
|
|
6149
6157
|
};
|
|
@@ -6277,7 +6285,7 @@ const Qn = {
|
|
|
6277
6285
|
}, Gt = {
|
|
6278
6286
|
key: gt,
|
|
6279
6287
|
name: "x-runtime-lib.window",
|
|
6280
|
-
comp:
|
|
6288
|
+
comp: Jl,
|
|
6281
6289
|
slots: [
|
|
6282
6290
|
{
|
|
6283
6291
|
key: "default",
|
|
@@ -6303,16 +6311,16 @@ const Zr = [
|
|
|
6303
6311
|
{ title: "x-runtime-lib.category", value: "category" },
|
|
6304
6312
|
{ title: "x-runtime-lib.time", value: "time" },
|
|
6305
6313
|
{ title: "x-runtime-lib.log", value: "log" }
|
|
6306
|
-
],
|
|
6314
|
+
], Jr = [
|
|
6307
6315
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6308
6316
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
6309
6317
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
6310
6318
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
6311
|
-
],
|
|
6319
|
+
], Xr = [
|
|
6312
6320
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
6313
6321
|
{ title: "x-runtime-lib.theme", value: "theme" },
|
|
6314
6322
|
{ title: "x-runtime-lib.custom", value: "custom" }
|
|
6315
|
-
],
|
|
6323
|
+
], Yr = [
|
|
6316
6324
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
6317
6325
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
6318
6326
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
@@ -6446,9 +6454,9 @@ const Zr = [
|
|
|
6446
6454
|
__proto__: null,
|
|
6447
6455
|
alignTabsItemsV1: Zr,
|
|
6448
6456
|
axisTypeItemsV1: qr,
|
|
6449
|
-
borderStyleItemsV1:
|
|
6450
|
-
colorModeItemsV1:
|
|
6451
|
-
densityItemsV1:
|
|
6457
|
+
borderStyleItemsV1: Jr,
|
|
6458
|
+
colorModeItemsV1: Xr,
|
|
6459
|
+
densityItemsV1: Yr,
|
|
6452
6460
|
directionItemsV1: Qr,
|
|
6453
6461
|
fieldVariantItemsV1: ea,
|
|
6454
6462
|
flexCrossAlignItemsV1: ta,
|
|
@@ -6557,7 +6565,7 @@ const Zr = [
|
|
|
6557
6565
|
title: "x-runtime-lib.percent",
|
|
6558
6566
|
value: "percent",
|
|
6559
6567
|
ui: "percentInput",
|
|
6560
|
-
validator:
|
|
6568
|
+
validator: Jt,
|
|
6561
6569
|
precision: 6,
|
|
6562
6570
|
default: "0%"
|
|
6563
6571
|
}
|
|
@@ -6581,7 +6589,7 @@ const Zr = [
|
|
|
6581
6589
|
title: "x-runtime-lib.percent",
|
|
6582
6590
|
value: "percent",
|
|
6583
6591
|
ui: "percentInput",
|
|
6584
|
-
validator:
|
|
6592
|
+
validator: Jt,
|
|
6585
6593
|
precision: 6,
|
|
6586
6594
|
min: 0,
|
|
6587
6595
|
default: "0%"
|
|
@@ -6606,7 +6614,7 @@ const Zr = [
|
|
|
6606
6614
|
title: "x-runtime-lib.percent",
|
|
6607
6615
|
value: "percent",
|
|
6608
6616
|
ui: "percentInput",
|
|
6609
|
-
validator:
|
|
6617
|
+
validator: Jt,
|
|
6610
6618
|
precision: 6,
|
|
6611
6619
|
min: 0,
|
|
6612
6620
|
default: "0%"
|
|
@@ -6691,9 +6699,9 @@ const Zr = [
|
|
|
6691
6699
|
Ue,
|
|
6692
6700
|
Ze,
|
|
6693
6701
|
qe,
|
|
6702
|
+
Je,
|
|
6694
6703
|
Xe,
|
|
6695
6704
|
Ye,
|
|
6696
|
-
Je,
|
|
6697
6705
|
Qe,
|
|
6698
6706
|
Fi,
|
|
6699
6707
|
et,
|
|
@@ -6736,7 +6744,7 @@ const Zr = [
|
|
|
6736
6744
|
Ge,
|
|
6737
6745
|
Ze,
|
|
6738
6746
|
Qe,
|
|
6739
|
-
|
|
6747
|
+
Xe,
|
|
6740
6748
|
ot,
|
|
6741
6749
|
_e
|
|
6742
6750
|
]
|
|
@@ -6762,7 +6770,7 @@ const Zr = [
|
|
|
6762
6770
|
Oe,
|
|
6763
6771
|
ct,
|
|
6764
6772
|
at,
|
|
6765
|
-
|
|
6773
|
+
Ye
|
|
6766
6774
|
]
|
|
6767
6775
|
},
|
|
6768
6776
|
{
|
|
@@ -6794,7 +6802,7 @@ const Zr = [
|
|
|
6794
6802
|
{
|
|
6795
6803
|
key: "pickers",
|
|
6796
6804
|
name: "x-runtime-lib.pickers",
|
|
6797
|
-
items: [je,
|
|
6805
|
+
items: [je, Je]
|
|
6798
6806
|
}
|
|
6799
6807
|
]
|
|
6800
6808
|
}, rn = {
|
|
@@ -6805,7 +6813,7 @@ const Zr = [
|
|
|
6805
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." : ""))));
|
|
6806
6814
|
});
|
|
6807
6815
|
};
|
|
6808
|
-
async function
|
|
6816
|
+
async function Xa(t) {
|
|
6809
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;
|
|
6810
6818
|
}
|
|
6811
6819
|
export {
|
|
@@ -6831,7 +6839,7 @@ export {
|
|
|
6831
6839
|
re as elements,
|
|
6832
6840
|
Ua as ensureContext,
|
|
6833
6841
|
Za as fieldTypes,
|
|
6834
|
-
|
|
6842
|
+
Ja as fileInputV1,
|
|
6835
6843
|
Ct as flexLayoutEntryV1,
|
|
6836
6844
|
he as flexLayoutV1,
|
|
6837
6845
|
Tt as formV1,
|
|
@@ -6853,10 +6861,10 @@ export {
|
|
|
6853
6861
|
Ai as injectOrg,
|
|
6854
6862
|
Te as injectSandbox,
|
|
6855
6863
|
ne as injectType,
|
|
6856
|
-
|
|
6864
|
+
Jt as isPercentStr,
|
|
6857
6865
|
Se as isPixelStr,
|
|
6858
6866
|
kt as lineChartV1,
|
|
6859
|
-
|
|
6867
|
+
Xa as loadLocaleMessageRuntime,
|
|
6860
6868
|
Vr as menuV1,
|
|
6861
6869
|
Ri as newEventBus,
|
|
6862
6870
|
zt as numberInputV1,
|