@ecan-bi/datav 1.1.72 → 1.1.74
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.es.js +163 -163
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +2 -2
- package/types/text/text/Text.vue.d.ts +54 -54
- package/types/text/text/index.d.ts +54 -54
- package/types/text/text/props.d.ts +35 -35
- package/types/text/time-display/TimeDisplay.vue.d.ts +4 -4
- package/types/text/time-display/index.d.ts +5 -5
- package/types/text/time-display/props.d.ts +4 -4
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
1
|
+
/*! @ecan-bi/datav@1.1.74 */
|
|
2
2
|
import { watch as ne, inject as B, computed as q, unref as A, watchEffect as uo, defineComponent as K, shallowRef as vt, toRefs as Dn, onMounted as Ue, onUnmounted as ft, h as dt, nextTick as mt, createVNode as G, resolveComponent as V, openBlock as D, createElementBlock as R, createBlock as Re, renderSlot as gt, withCtx as Y, ref as E, normalizeStyle as U, createCommentVNode as be, provide as ze, onBeforeUnmount as Tt, toDisplayString as ye, Fragment as Me, renderList as De, createElementVNode as ee, normalizeClass as Lt, pushScopeId as fo, popScopeId as mo, createSlots as On, resolveDynamicComponent as Rn, mergeProps as Fn, withModifiers as go, reactive as zn, createTextVNode as Ot, withDirectives as $n, vShow as Nn } from "vue";
|
|
3
3
|
import { throttle as Pn, init as Bn, use as qe, registerMap as Un } from "echarts/core";
|
|
4
4
|
import { addListener as Gn, removeListener as qn } from "resize-detector";
|
|
@@ -114,7 +114,7 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
|
|
|
114
114
|
), s = B(
|
|
115
115
|
wa,
|
|
116
116
|
null
|
|
117
|
-
), { autoresize: f, manualUpdate:
|
|
117
|
+
), { autoresize: f, manualUpdate: p, loading: y, loadingOptions: b } = Dn(e), d = q(
|
|
118
118
|
() => l.value || e.option || /* @__PURE__ */ Object.create(null)
|
|
119
119
|
), u = q(() => e.theme || A(i) || {}), m = q(
|
|
120
120
|
() => e.initOptions || A(r) || {}
|
|
@@ -138,7 +138,7 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
|
|
|
138
138
|
const k = g[I];
|
|
139
139
|
k && (I.indexOf("zr:") === 0 ? c.getZr().on(I.slice(3).toLowerCase(), k) : c.on(I.toLowerCase(), k));
|
|
140
140
|
});
|
|
141
|
-
function
|
|
141
|
+
function C() {
|
|
142
142
|
if (c && !c.isDisposed())
|
|
143
143
|
try {
|
|
144
144
|
c.resize();
|
|
@@ -152,7 +152,7 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
|
|
|
152
152
|
c.setOption(v || d.value, w.value);
|
|
153
153
|
}
|
|
154
154
|
f.value ? mt(() => {
|
|
155
|
-
|
|
155
|
+
C(), z();
|
|
156
156
|
}) : z();
|
|
157
157
|
}
|
|
158
158
|
function _(v, c) {
|
|
@@ -163,7 +163,7 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
|
|
|
163
163
|
}
|
|
164
164
|
let x = null;
|
|
165
165
|
ne(
|
|
166
|
-
|
|
166
|
+
p,
|
|
167
167
|
(v) => {
|
|
168
168
|
typeof x == "function" && (x(), x = null), v || (x = ne(
|
|
169
169
|
() => e.option,
|
|
@@ -266,8 +266,8 @@ function La(e, o, t) {
|
|
|
266
266
|
}
|
|
267
267
|
function Ia(e, o, t) {
|
|
268
268
|
e = xe(e, 360) * 6, o = xe(o, 100), t = xe(t, 100);
|
|
269
|
-
var n = Math.floor(e), a = e - n, l = t * (1 - o), i = t * (1 - a * o), r = t * (1 - (1 - a) * o), s = n % 6, f = [t, i, l, l, r, t][s],
|
|
270
|
-
return { r: f * 255, g:
|
|
269
|
+
var n = Math.floor(e), a = e - n, l = t * (1 - o), i = t * (1 - a * o), r = t * (1 - (1 - a) * o), s = n % 6, f = [t, i, l, l, r, t][s], p = [r, t, t, i, l, l][s], y = [l, l, r, t, t, i][s];
|
|
270
|
+
return { r: f * 255, g: p * 255, b: y * 255 };
|
|
271
271
|
}
|
|
272
272
|
function Ma(e, o, t, n) {
|
|
273
273
|
var a = [
|
|
@@ -576,8 +576,8 @@ function It(e) {
|
|
|
576
576
|
}));
|
|
577
577
|
t.push(f);
|
|
578
578
|
}
|
|
579
|
-
return o.theme === "dark" ? $a.map(function(
|
|
580
|
-
var y =
|
|
579
|
+
return o.theme === "dark" ? $a.map(function(p) {
|
|
580
|
+
var y = p.index, b = p.opacity, d = st(Na(Ze(o.backgroundColor || "#141414"), Ze(t[y]), b * 100));
|
|
581
581
|
return d;
|
|
582
582
|
}) : t;
|
|
583
583
|
}
|
|
@@ -934,14 +934,14 @@ function fl(e, o) {
|
|
|
934
934
|
}
|
|
935
935
|
Io("#1890ff");
|
|
936
936
|
var Ve = function(o, t) {
|
|
937
|
-
var n, a = to({}, o, t.attrs), l = a.class, i = a.icon, r = a.spin, s = a.rotate, f = a.tabindex,
|
|
937
|
+
var n, a = to({}, o, t.attrs), l = a.class, i = a.icon, r = a.spin, s = a.rotate, f = a.tabindex, p = a.twoToneColor, y = a.onClick, b = ul(a, ll), d = (n = {
|
|
938
938
|
anticon: !0
|
|
939
939
|
}, Et(n, "anticon-".concat(i.name), Boolean(i.name)), Et(n, l, l), n), u = r === "" || r || i.name === "loading" ? "anticon-spin" : "", m = f;
|
|
940
940
|
m === void 0 && y && (m = -1, b.tabindex = m);
|
|
941
941
|
var w = s ? {
|
|
942
942
|
msTransform: "rotate(".concat(s, "deg)"),
|
|
943
943
|
transform: "rotate(".concat(s, "deg)")
|
|
944
|
-
} : void 0, h = Lo(
|
|
944
|
+
} : void 0, h = Lo(p), S = il(h, 2), _ = S[0], L = S[1];
|
|
945
945
|
return G("span", to({
|
|
946
946
|
role: "img",
|
|
947
947
|
"aria-label": i.name
|
|
@@ -1184,8 +1184,8 @@ const kl = ((co = window == null ? void 0 : window.config) == null ? void 0 : co
|
|
|
1184
1184
|
let { name: t = "name", value: n = "value", type: a = "type" } = o || {};
|
|
1185
1185
|
t = t == null ? void 0 : t.trim(), n = n == null ? void 0 : n.trim(), a = a == null ? void 0 : a.trim();
|
|
1186
1186
|
const l = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), r = e.length;
|
|
1187
|
-
for (let
|
|
1188
|
-
const y = e[
|
|
1187
|
+
for (let p = 0; p < r; p++) {
|
|
1188
|
+
const y = e[p], b = y[t] || "", d = y[n] || "", u = y[a] || "";
|
|
1189
1189
|
if (l.add(b), i.has(u)) {
|
|
1190
1190
|
const m = i.get(u);
|
|
1191
1191
|
m.push({ name: b, value: d, ...y }), i.set(u, m);
|
|
@@ -1193,9 +1193,9 @@ const kl = ((co = window == null ? void 0 : window.config) == null ? void 0 : co
|
|
|
1193
1193
|
i.set(u, [{ name: b, value: d, ...y }]);
|
|
1194
1194
|
}
|
|
1195
1195
|
const s = Array.from(l), f = [];
|
|
1196
|
-
for (const [
|
|
1196
|
+
for (const [p, y] of i)
|
|
1197
1197
|
f.push({
|
|
1198
|
-
name:
|
|
1198
|
+
name: p,
|
|
1199
1199
|
data: y
|
|
1200
1200
|
});
|
|
1201
1201
|
return {
|
|
@@ -1269,13 +1269,13 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1269
1269
|
return e;
|
|
1270
1270
|
for (let s = 0; s < r.length; s++) {
|
|
1271
1271
|
const f = r[s];
|
|
1272
|
-
let
|
|
1273
|
-
const y = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, b =
|
|
1272
|
+
let p = f.slice(1, -1).trim();
|
|
1273
|
+
const y = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, b = p.match(y);
|
|
1274
1274
|
for (let d = 0; d < b.length; d++) {
|
|
1275
1275
|
const u = b[d], m = i[u];
|
|
1276
|
-
m != null && (
|
|
1276
|
+
m != null && (p = p.replace(u, m));
|
|
1277
1277
|
}
|
|
1278
|
-
/\(.*\)/g.test(
|
|
1278
|
+
(/\(.*\)/g.test(p) || /[+/\\*]/g.test(p)) && (p = yt(p, t)), e = e.replace(f, p);
|
|
1279
1279
|
}
|
|
1280
1280
|
return n && (e = e == null ? void 0 : e.replace(/\n|\\n/g, "<br/>")), a && (e = e == null ? void 0 : e.replace(/\s{2,}?/g, " ")), e;
|
|
1281
1281
|
}, _e = (e, o = () => {
|
|
@@ -1290,7 +1290,7 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1290
1290
|
} = e, { contextRequestUrl: s, touchEventId: f } = B(ve, {
|
|
1291
1291
|
contextRequestUrl: "",
|
|
1292
1292
|
touchEventId: ""
|
|
1293
|
-
}), { getGlobalModel:
|
|
1293
|
+
}), { getGlobalModel: p } = B(he, {
|
|
1294
1294
|
// @ts-ignore
|
|
1295
1295
|
// eslint-disable-next-line no-void
|
|
1296
1296
|
getGlobalModel: (u) => {
|
|
@@ -1303,8 +1303,8 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1303
1303
|
const { key: x, value: T } = L;
|
|
1304
1304
|
if (typeof T == "object" && T != null && T.id) {
|
|
1305
1305
|
let v = {};
|
|
1306
|
-
const { id: c, prop: g, propKey:
|
|
1307
|
-
c === "THIS" ? v =
|
|
1306
|
+
const { id: c, prop: g, propKey: C, operate: z } = T;
|
|
1307
|
+
c === "THIS" ? v = p(A(f)) || {} : v = p(c) || {};
|
|
1308
1308
|
const I = A(v[g]);
|
|
1309
1309
|
let k = null;
|
|
1310
1310
|
if (["date", "range"].some((H) => Dt(v == null ? void 0 : v.type, H))) {
|
|
@@ -1318,9 +1318,9 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1318
1318
|
k = A(I).subtract(H, N);
|
|
1319
1319
|
break;
|
|
1320
1320
|
}
|
|
1321
|
-
k == null && (k = A(I)), k = (k == null ? void 0 : k.format((
|
|
1321
|
+
k == null && (k = A(I)), k = (k == null ? void 0 : k.format((C == null ? void 0 : C.trim()) || v.format)) || "";
|
|
1322
1322
|
} else
|
|
1323
|
-
Object.prototype.toString.call(I) === "[object Object]" ? k = I[
|
|
1323
|
+
Object.prototype.toString.call(I) === "[object Object]" ? k = I[C || "value"] : k = I;
|
|
1324
1324
|
m[x] = k;
|
|
1325
1325
|
} else
|
|
1326
1326
|
typeof T == "string" && (m[x] = de(T));
|
|
@@ -1351,16 +1351,16 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1351
1351
|
t = (t == null ? void 0 : t.trim()) || t;
|
|
1352
1352
|
const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), i = e.length, r = n.length;
|
|
1353
1353
|
if (i === 1) {
|
|
1354
|
-
const
|
|
1354
|
+
const p = [];
|
|
1355
1355
|
for (let b = 0; b < r; b++) {
|
|
1356
1356
|
const d = n[b], { label: u, value: m } = d, w = { ...e[0], value: e[0][m] };
|
|
1357
|
-
a.add(u),
|
|
1357
|
+
a.add(u), p.push(w);
|
|
1358
1358
|
}
|
|
1359
1359
|
const y = e[0][t] || "";
|
|
1360
|
-
l.set(y,
|
|
1360
|
+
l.set(y, p);
|
|
1361
1361
|
} else
|
|
1362
|
-
for (let
|
|
1363
|
-
const y = e[
|
|
1362
|
+
for (let p = 0; p < i; p++) {
|
|
1363
|
+
const y = e[p], b = y[t];
|
|
1364
1364
|
a.add(b);
|
|
1365
1365
|
for (let d = 0; d < r; d++) {
|
|
1366
1366
|
const u = n[d], { label: m, value: w } = u, h = { ...y, value: y[w] };
|
|
@@ -1372,9 +1372,9 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
const s = Array.from(a), f = [];
|
|
1375
|
-
for (const [
|
|
1375
|
+
for (const [p, y] of l)
|
|
1376
1376
|
f.push({
|
|
1377
|
-
name:
|
|
1377
|
+
name: p,
|
|
1378
1378
|
data: y
|
|
1379
1379
|
});
|
|
1380
1380
|
return {
|
|
@@ -1421,12 +1421,12 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1421
1421
|
});
|
|
1422
1422
|
e.dataType === "indicator" && o();
|
|
1423
1423
|
const t = (i = {}) => {
|
|
1424
|
-
const { label: r, name: s, location: f, show:
|
|
1424
|
+
const { label: r, name: s, location: f, show: p, indexCode: y } = i;
|
|
1425
1425
|
return {
|
|
1426
1426
|
label: r,
|
|
1427
1427
|
columnName: s,
|
|
1428
1428
|
location: f,
|
|
1429
|
-
show:
|
|
1429
|
+
show: p,
|
|
1430
1430
|
calcType: "COLUMN",
|
|
1431
1431
|
hrpIndexCode: y
|
|
1432
1432
|
};
|
|
@@ -1435,7 +1435,7 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1435
1435
|
label: r,
|
|
1436
1436
|
name: s,
|
|
1437
1437
|
location: f,
|
|
1438
|
-
show:
|
|
1438
|
+
show: p,
|
|
1439
1439
|
indexCode: y,
|
|
1440
1440
|
calcType: b = "COLUMN",
|
|
1441
1441
|
builtInFormula: d,
|
|
@@ -1448,7 +1448,7 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1448
1448
|
label: r,
|
|
1449
1449
|
columnName: s,
|
|
1450
1450
|
location: f,
|
|
1451
|
-
show:
|
|
1451
|
+
show: p,
|
|
1452
1452
|
calcType: b,
|
|
1453
1453
|
hrpIndexCode: y,
|
|
1454
1454
|
aggregate: "SUM",
|
|
@@ -1466,8 +1466,8 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1466
1466
|
}), l = (i = []) => {
|
|
1467
1467
|
var f;
|
|
1468
1468
|
const r = i.length, s = [];
|
|
1469
|
-
for (let
|
|
1470
|
-
const y = i[
|
|
1469
|
+
for (let p = 0; p < r; p++) {
|
|
1470
|
+
const y = i[p], {
|
|
1471
1471
|
id: b,
|
|
1472
1472
|
conditionLabel: d,
|
|
1473
1473
|
conditionKey: u,
|
|
@@ -1494,7 +1494,7 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1494
1494
|
let {
|
|
1495
1495
|
source: s,
|
|
1496
1496
|
dataViewId: f,
|
|
1497
|
-
plugin:
|
|
1497
|
+
plugin: p = "1",
|
|
1498
1498
|
// 插件类型
|
|
1499
1499
|
layer: y,
|
|
1500
1500
|
// 后台图表类型,值分0,1
|
|
@@ -1555,16 +1555,16 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1555
1555
|
h == null || h.forEach((k) => {
|
|
1556
1556
|
g.push(t(k));
|
|
1557
1557
|
});
|
|
1558
|
-
const
|
|
1558
|
+
const C = [];
|
|
1559
1559
|
if (m == null || m.forEach((k) => {
|
|
1560
|
-
k.location = "LEFT",
|
|
1560
|
+
k.location = "LEFT", C.push(n(k));
|
|
1561
1561
|
}), w == null || w.forEach((k) => {
|
|
1562
|
-
k.location = "RIGHT",
|
|
1562
|
+
k.location = "RIGHT", C.push(n(k));
|
|
1563
1563
|
}), S == null || S.forEach((k) => {
|
|
1564
|
-
k.location = "LEFT",
|
|
1564
|
+
k.location = "LEFT", C.push(n(k));
|
|
1565
1565
|
}), y === "1" && g.length === 0)
|
|
1566
1566
|
return;
|
|
1567
|
-
if (y === "2" &&
|
|
1567
|
+
if (y === "2" && C.length === 0)
|
|
1568
1568
|
return;
|
|
1569
1569
|
let z;
|
|
1570
1570
|
(i == null ? void 0 : i.pageMode) === "design" ? z = i.sqlConditions ?? [] : z = l(_);
|
|
@@ -1574,12 +1574,12 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1574
1574
|
{
|
|
1575
1575
|
source: s,
|
|
1576
1576
|
dataViewId: f,
|
|
1577
|
-
plugin:
|
|
1577
|
+
plugin: p,
|
|
1578
1578
|
layer: y,
|
|
1579
1579
|
chartType: b,
|
|
1580
1580
|
classification: v,
|
|
1581
1581
|
series: c,
|
|
1582
|
-
indicatorList:
|
|
1582
|
+
indicatorList: C,
|
|
1583
1583
|
queryColumns: g,
|
|
1584
1584
|
pageFlag: !0,
|
|
1585
1585
|
sqlConditions: z,
|
|
@@ -1640,7 +1640,7 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1640
1640
|
mt(() => {
|
|
1641
1641
|
e.width && e.height ? (t.value = parseFloat(e.width), n.value = parseFloat(e.height)) : (t.value = r.value.clientWidth, n.value = r.value.clientHeight), (!a.value || !l.value) && (a.value = window.screen.width, l.value = window.screen.height), m();
|
|
1642
1642
|
});
|
|
1643
|
-
}),
|
|
1643
|
+
}), p = () => {
|
|
1644
1644
|
t.value && n.value ? (r.value.style.width = `${t.value}px`, r.value.style.height = `${n.value}px`) : (r.value.style.width = `${a.value}px`, r.value.style.height = `${l.value}px`);
|
|
1645
1645
|
}, y = () => {
|
|
1646
1646
|
const m = document.body.clientWidth, w = document.body.clientHeight, h = t.value || a.value, S = n.value || l.value, _ = m / h, L = w / S;
|
|
@@ -1658,7 +1658,7 @@ const Al = (e) => e.replace(/\\n/g, `
|
|
|
1658
1658
|
s && (s.disconnect(), s.takeRecords(), s = null);
|
|
1659
1659
|
};
|
|
1660
1660
|
return Ue(async () => {
|
|
1661
|
-
i.value = !1, await f(),
|
|
1661
|
+
i.value = !1, await f(), p(), y(), window.addEventListener("resize", b), d(), i.value = !0;
|
|
1662
1662
|
}), ft(() => {
|
|
1663
1663
|
window.removeEventListener("resize", b), u();
|
|
1664
1664
|
}), {
|
|
@@ -1767,7 +1767,7 @@ const El = /* @__PURE__ */ X(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
|
|
|
1767
1767
|
T.value = A(T) + 1;
|
|
1768
1768
|
}
|
|
1769
1769
|
});
|
|
1770
|
-
const c = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(),
|
|
1770
|
+
const c = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), C = ({ requestFn: $ = () => {
|
|
1771
1771
|
}, sortNum: N = 0, id: F = "" }) => {
|
|
1772
1772
|
if (c.has(N)) {
|
|
1773
1773
|
const j = c.get(N);
|
|
@@ -1819,7 +1819,7 @@ const El = /* @__PURE__ */ X(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
|
|
|
1819
1819
|
}
|
|
1820
1820
|
});
|
|
1821
1821
|
ze(Se, {
|
|
1822
|
-
setRequest:
|
|
1822
|
+
setRequest: C,
|
|
1823
1823
|
touchRequest: k
|
|
1824
1824
|
}), ze(Ye, {
|
|
1825
1825
|
emitRefreshPage: () => {
|
|
@@ -1868,12 +1868,12 @@ const zl = /* @__PURE__ */ X(Ol, [["render", Fl]]), $l = ae(zl), No = {
|
|
|
1868
1868
|
justifyContent: "center",
|
|
1869
1869
|
alignItems: "center",
|
|
1870
1870
|
variableFontSize: "14px",
|
|
1871
|
-
data: {},
|
|
1872
1871
|
variableDefaultValue: "0",
|
|
1873
1872
|
format: "",
|
|
1874
1873
|
target: "self",
|
|
1875
1874
|
href: "",
|
|
1876
|
-
linkPage: ""
|
|
1875
|
+
linkPage: "",
|
|
1876
|
+
data: {}
|
|
1877
1877
|
}, Po = le(No), Nl = ["refreshData", "click"], Pl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=", Bl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTA3LTIyVDA5OjM1OjE5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHN0RXZ0OndoZW49IjIwMjItMDctMjJUMDk6MzU6MTkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6VDI+BAAABUUlEQVRIia3WPyhGURgG8B8pi0xisStKMioZLQaLiaQMBoxiVBImCwaLf6MssloUk8Gmb7GgJFKSUvIZ7qe+bvd89+A+03uf989z3nPPPe+tK5fLqtF3tSESzRjFAJ4vemams4IaYqulCq9gEo34QGco+LcCg9hHaxW3jpsiBIZxmMp5kXQTRH1k8S4cZCxoE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==", Ul = K({
|
|
1878
1878
|
name: "EcanText",
|
|
1879
1879
|
components: { Skeleton: ht },
|
|
@@ -2005,11 +2005,11 @@ const Jl = /* @__PURE__ */ X(Vl, [["render", Zl], ["__scopeId", "data-v-4dd9c03e
|
|
|
2005
2005
|
color: "#333",
|
|
2006
2006
|
width: "240px",
|
|
2007
2007
|
height: "40px",
|
|
2008
|
-
textAlign: "center",
|
|
2009
2008
|
fontFamily: "",
|
|
2010
2009
|
fontWeight: 400,
|
|
2011
2010
|
textShadow: "",
|
|
2012
|
-
|
|
2011
|
+
alignItems: "center",
|
|
2012
|
+
justifyContent: "center"
|
|
2013
2013
|
}, Uo = le(Bo), Ql = K({
|
|
2014
2014
|
name: "EcanTimeDisplay",
|
|
2015
2015
|
props: {
|
|
@@ -2041,7 +2041,7 @@ function Kl(e, o, t, n, a, l) {
|
|
|
2041
2041
|
style: U(e.style)
|
|
2042
2042
|
}, ye(e.time), 5);
|
|
2043
2043
|
}
|
|
2044
|
-
const Xl = /* @__PURE__ */ X(Ql, [["render", Kl], ["__scopeId", "data-v-
|
|
2044
|
+
const Xl = /* @__PURE__ */ X(Ql, [["render", Kl], ["__scopeId", "data-v-3239bd2c"]]), ei = ae(Xl), Go = {
|
|
2045
2045
|
...re,
|
|
2046
2046
|
type: "ecanList",
|
|
2047
2047
|
name: "列表",
|
|
@@ -2297,8 +2297,8 @@ const fi = /* @__PURE__ */ X(oi, [["render", ui], ["__scopeId", "data-v-7aa27677
|
|
|
2297
2297
|
let x = L.slice(1, L.length - 1);
|
|
2298
2298
|
const T = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, v = L.match(T);
|
|
2299
2299
|
for (let g = 0; g < (v == null ? void 0 : v.length); g++) {
|
|
2300
|
-
const
|
|
2301
|
-
w[
|
|
2300
|
+
const C = (S = v[g]) == null ? void 0 : S.trim();
|
|
2301
|
+
w[C] != null && (x = x.replace(C, w[C]));
|
|
2302
2302
|
}
|
|
2303
2303
|
let c = x;
|
|
2304
2304
|
try {
|
|
@@ -2420,7 +2420,7 @@ const bi = /* @__PURE__ */ X(hi, [["render", yi], ["__scopeId", "data-v-00244f8a
|
|
|
2420
2420
|
},
|
|
2421
2421
|
// @ts-ignore
|
|
2422
2422
|
// eslint-disable-next-line no-void
|
|
2423
|
-
setGlobalModel: (f,
|
|
2423
|
+
setGlobalModel: (f, p) => {
|
|
2424
2424
|
}
|
|
2425
2425
|
});
|
|
2426
2426
|
a(e.id, {
|
|
@@ -2485,10 +2485,10 @@ const wi = /* @__PURE__ */ X(Ci, [["render", Si]]), xi = ae(wi), Zo = {
|
|
|
2485
2485
|
},
|
|
2486
2486
|
setup(e) {
|
|
2487
2487
|
const o = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, n = E(null);
|
|
2488
|
-
ne(() => [e.value, e.useCurrentTime, e.operate], ([s, f,
|
|
2488
|
+
ne(() => [e.value, e.useCurrentTime, e.operate], ([s, f, p]) => {
|
|
2489
2489
|
let y = null;
|
|
2490
|
-
if (s ? y = Ce(de(s)) : f && (y = Ce()),
|
|
2491
|
-
const { type: b, value: d, mode: u } =
|
|
2490
|
+
if (s ? y = Ce(de(s)) : f && (y = Ce()), p && y) {
|
|
2491
|
+
const { type: b, value: d, mode: u } = p;
|
|
2492
2492
|
switch (b) {
|
|
2493
2493
|
case "add":
|
|
2494
2494
|
y = y.add(d, u);
|
|
@@ -2594,7 +2594,7 @@ const Ti = /* @__PURE__ */ X(Ai, [["render", _i]]), Li = ae(Ti), Yo = {
|
|
|
2594
2594
|
s.value = !1;
|
|
2595
2595
|
}
|
|
2596
2596
|
}
|
|
2597
|
-
}, { getGlobalModel:
|
|
2597
|
+
}, { getGlobalModel: p, setGlobalModel: y } = B(he, {
|
|
2598
2598
|
// @ts-ignore
|
|
2599
2599
|
// eslint-disable-next-line no-void
|
|
2600
2600
|
getGlobalModel: (m) => {
|
|
@@ -2609,7 +2609,7 @@ const Ti = /* @__PURE__ */ X(Ai, [["render", _i]]), Li = ae(Ti), Yo = {
|
|
|
2609
2609
|
value: l
|
|
2610
2610
|
});
|
|
2611
2611
|
const d = fe(e)("selectChange", () => {
|
|
2612
|
-
const m = e.id, w =
|
|
2612
|
+
const m = e.id, w = p(m);
|
|
2613
2613
|
y(m, { ...w, RECORD: l });
|
|
2614
2614
|
});
|
|
2615
2615
|
ge(e, {
|
|
@@ -2690,13 +2690,13 @@ const Di = /* @__PURE__ */ X(Mi, [["render", Ei], ["__scopeId", "data-v-aa1e5833
|
|
|
2690
2690
|
ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([w, h, S, _, L, x]) => {
|
|
2691
2691
|
let T = null, v = null;
|
|
2692
2692
|
if (S && (T = Ce().subtract(_, L), v = Ce()), w && (T = Ce(de(w))), h && (v = Ce(de(h))), x) {
|
|
2693
|
-
const { type: c, value: g, mode:
|
|
2693
|
+
const { type: c, value: g, mode: C } = x;
|
|
2694
2694
|
switch (c) {
|
|
2695
2695
|
case "add":
|
|
2696
|
-
T = T && T.add(g,
|
|
2696
|
+
T = T && T.add(g, C), v = v && v.add(g, C);
|
|
2697
2697
|
break;
|
|
2698
2698
|
case "minus":
|
|
2699
|
-
T = T && T.subtract(g,
|
|
2699
|
+
T = T && T.subtract(g, C), v = v && v.subtract(g, C);
|
|
2700
2700
|
}
|
|
2701
2701
|
}
|
|
2702
2702
|
n.value = [T, v];
|
|
@@ -2718,12 +2718,12 @@ const Di = /* @__PURE__ */ X(Mi, [["render", Ei], ["__scopeId", "data-v-aa1e5833
|
|
|
2718
2718
|
// eslint-disable-next-line no-void
|
|
2719
2719
|
setGlobalModel: (w, h) => {
|
|
2720
2720
|
}
|
|
2721
|
-
}), f = q(() => Array.isArray(A(n)) ? A(n)[0] : null),
|
|
2721
|
+
}), f = q(() => Array.isArray(A(n)) ? A(n)[0] : null), p = q(() => Array.isArray(A(n)) ? A(n)[1] : null);
|
|
2722
2722
|
s(e.id, {
|
|
2723
2723
|
type: e.type,
|
|
2724
2724
|
format: e.format,
|
|
2725
2725
|
startTime: f,
|
|
2726
|
-
endTime:
|
|
2726
|
+
endTime: p
|
|
2727
2727
|
});
|
|
2728
2728
|
const y = fe(e);
|
|
2729
2729
|
let b = !1;
|
|
@@ -2902,7 +2902,7 @@ const Gi = /* @__PURE__ */ X(Bi, [["render", Ui]]), qi = ae(Gi), on = {
|
|
|
2902
2902
|
type: e.type,
|
|
2903
2903
|
value: n
|
|
2904
2904
|
});
|
|
2905
|
-
const
|
|
2905
|
+
const p = fe(e)("checkboxChange", () => {
|
|
2906
2906
|
const b = r(e.id);
|
|
2907
2907
|
s(e.id, { ...b, RECORD: n });
|
|
2908
2908
|
}), { setRequest: y } = B(Se, {
|
|
@@ -2919,7 +2919,7 @@ const Gi = /* @__PURE__ */ X(Bi, [["render", Ui]]), qi = ae(Gi), on = {
|
|
|
2919
2919
|
myOption: t,
|
|
2920
2920
|
style: o,
|
|
2921
2921
|
myValue: n,
|
|
2922
|
-
checkboxChange:
|
|
2922
|
+
checkboxChange: p
|
|
2923
2923
|
};
|
|
2924
2924
|
}
|
|
2925
2925
|
});
|
|
@@ -3034,8 +3034,8 @@ const Yi = K({
|
|
|
3034
3034
|
let { data: T = [] } = A(n)[0] || {};
|
|
3035
3035
|
if (Array.isArray(e.colors)) {
|
|
3036
3036
|
const v = e.isUseLabelColors, c = e.colors;
|
|
3037
|
-
T = T.map((g,
|
|
3038
|
-
label: v ? { color: c[
|
|
3037
|
+
T = T.map((g, C) => ({
|
|
3038
|
+
label: v ? { color: c[C] } : {},
|
|
3039
3039
|
...g
|
|
3040
3040
|
}));
|
|
3041
3041
|
}
|
|
@@ -3093,17 +3093,17 @@ const Yi = K({
|
|
|
3093
3093
|
show: e.tooltipShow,
|
|
3094
3094
|
trigger: e.tooltipTrigger,
|
|
3095
3095
|
formatter: (v) => {
|
|
3096
|
-
const { marker: c, seriesName: g, name:
|
|
3096
|
+
const { marker: c, seriesName: g, name: C, value: z, percent: I, data: k } = v || {};
|
|
3097
3097
|
return de(
|
|
3098
3098
|
e.tooltipFormatter,
|
|
3099
3099
|
{
|
|
3100
3100
|
textData: {
|
|
3101
3101
|
marker: c,
|
|
3102
|
-
name:
|
|
3102
|
+
name: C,
|
|
3103
3103
|
value: z,
|
|
3104
3104
|
percent: I,
|
|
3105
3105
|
a: g,
|
|
3106
|
-
b:
|
|
3106
|
+
b: C,
|
|
3107
3107
|
c: z,
|
|
3108
3108
|
d: I,
|
|
3109
3109
|
...k
|
|
@@ -3178,7 +3178,7 @@ const Yi = K({
|
|
|
3178
3178
|
}
|
|
3179
3179
|
}), { pageMode: f } = B(ve, {
|
|
3180
3180
|
pageMode: "normal"
|
|
3181
|
-
}),
|
|
3181
|
+
}), p = (T = [], v) => {
|
|
3182
3182
|
const { dataset: c } = Ke(T, v);
|
|
3183
3183
|
n.value = c;
|
|
3184
3184
|
}, y = (T = [], v) => {
|
|
@@ -3186,7 +3186,7 @@ const Yi = K({
|
|
|
3186
3186
|
n.value = c.dataset;
|
|
3187
3187
|
};
|
|
3188
3188
|
ne(() => e.data, (T) => {
|
|
3189
|
-
(e.dataType === "static" || A(f) === "design") &&
|
|
3189
|
+
(e.dataType === "static" || A(f) === "design") && p(T);
|
|
3190
3190
|
}, {
|
|
3191
3191
|
immediate: !0,
|
|
3192
3192
|
deep: !0
|
|
@@ -3197,7 +3197,7 @@ const Yi = K({
|
|
|
3197
3197
|
try {
|
|
3198
3198
|
b.value = !0;
|
|
3199
3199
|
const c = await d();
|
|
3200
|
-
|
|
3200
|
+
p((v = (T = c == null ? void 0 : c.data) == null ? void 0 : T.data) == null ? void 0 : v.rows, e.valueTypeDataFieldNames);
|
|
3201
3201
|
} catch (c) {
|
|
3202
3202
|
console.error(c);
|
|
3203
3203
|
} finally {
|
|
@@ -3212,11 +3212,11 @@ const Yi = K({
|
|
|
3212
3212
|
b.value = !0;
|
|
3213
3213
|
const v = await h(), { data: c } = v.data || {};
|
|
3214
3214
|
if (c) {
|
|
3215
|
-
const { columns: g = [], rows:
|
|
3215
|
+
const { columns: g = [], rows: C = [] } = ((T = v == null ? void 0 : v.data) == null ? void 0 : T.data) ?? {};
|
|
3216
3216
|
let z = [];
|
|
3217
3217
|
if (g.length > 0) {
|
|
3218
3218
|
const I = g[0], k = g[1];
|
|
3219
|
-
z =
|
|
3219
|
+
z = C.map((J) => ({
|
|
3220
3220
|
name: J[I],
|
|
3221
3221
|
value: J[k]
|
|
3222
3222
|
}));
|
|
@@ -3451,10 +3451,10 @@ const tr = K({
|
|
|
3451
3451
|
trigger: "axis",
|
|
3452
3452
|
show: e.tooltipShow,
|
|
3453
3453
|
formatter: (g) => {
|
|
3454
|
-
const
|
|
3454
|
+
const C = g.length;
|
|
3455
3455
|
let z = "", I = e.tooltipFormatter;
|
|
3456
3456
|
I === "" && (I = "{marker} {a} {c}");
|
|
3457
|
-
for (let k = 0; k <
|
|
3457
|
+
for (let k = 0; k < C; k++) {
|
|
3458
3458
|
const { marker: J, seriesName: H, name: $, value: N, data: F } = g[k] || {};
|
|
3459
3459
|
k === 0 && (z += `${$}<br/>`), z += de(
|
|
3460
3460
|
I,
|
|
@@ -3546,7 +3546,7 @@ const tr = K({
|
|
|
3546
3546
|
// eslint-disable-next-line no-void
|
|
3547
3547
|
setGlobalModel: (v, c) => {
|
|
3548
3548
|
}
|
|
3549
|
-
}), { pageMode:
|
|
3549
|
+
}), { pageMode: p } = B(ve, {
|
|
3550
3550
|
pageMode: "normal"
|
|
3551
3551
|
}), y = (v = [], c = !1) => {
|
|
3552
3552
|
let g;
|
|
@@ -3558,11 +3558,11 @@ const tr = K({
|
|
|
3558
3558
|
g = Ke(v, k);
|
|
3559
3559
|
}
|
|
3560
3560
|
a.value = g.dimensions;
|
|
3561
|
-
const
|
|
3561
|
+
const C = g.dataset, z = [], I = C.length;
|
|
3562
3562
|
for (let k = 0; k < I; k++)
|
|
3563
3563
|
z.push({
|
|
3564
3564
|
type: "line",
|
|
3565
|
-
...
|
|
3565
|
+
...C[k],
|
|
3566
3566
|
symbolSize: e.symbolSize,
|
|
3567
3567
|
smooth: e.smooth,
|
|
3568
3568
|
areaStyle: {
|
|
@@ -3603,7 +3603,7 @@ const tr = K({
|
|
|
3603
3603
|
n.value = k;
|
|
3604
3604
|
};
|
|
3605
3605
|
ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([v]) => {
|
|
3606
|
-
(e.dataType === "static" || A(
|
|
3606
|
+
(e.dataType === "static" || A(p) === "design") && y(v);
|
|
3607
3607
|
}, {
|
|
3608
3608
|
immediate: !0,
|
|
3609
3609
|
deep: !0
|
|
@@ -3627,7 +3627,7 @@ const tr = K({
|
|
|
3627
3627
|
var v;
|
|
3628
3628
|
try {
|
|
3629
3629
|
d.value = !0;
|
|
3630
|
-
const c = await S(), { columns: g = [], rows:
|
|
3630
|
+
const c = await S(), { columns: g = [], rows: C = [] } = ((v = c == null ? void 0 : c.data) == null ? void 0 : v.data) ?? {};
|
|
3631
3631
|
let z;
|
|
3632
3632
|
g.length > 0 && (z = {
|
|
3633
3633
|
name: g[0],
|
|
@@ -3635,7 +3635,7 @@ const tr = K({
|
|
|
3635
3635
|
label: I,
|
|
3636
3636
|
value: I
|
|
3637
3637
|
}))
|
|
3638
|
-
}), b(
|
|
3638
|
+
}), b(C, z, !0);
|
|
3639
3639
|
} catch (c) {
|
|
3640
3640
|
console.error(c);
|
|
3641
3641
|
} finally {
|
|
@@ -3830,7 +3830,7 @@ const ir = K({
|
|
|
3830
3830
|
const t = ie(e), n = E([]), a = E(!1), l = () => {
|
|
3831
3831
|
a.value = !1;
|
|
3832
3832
|
}, i = q(() => {
|
|
3833
|
-
const c = A(n), g = c.length,
|
|
3833
|
+
const c = A(n), g = c.length, C = [];
|
|
3834
3834
|
for (let z = 0; z < g; z++) {
|
|
3835
3835
|
const I = {
|
|
3836
3836
|
...c[z],
|
|
@@ -3842,9 +3842,9 @@ const ir = K({
|
|
|
3842
3842
|
fontSize: e.labelFontSize,
|
|
3843
3843
|
position: e.labelPosition,
|
|
3844
3844
|
color: e.labelColor
|
|
3845
|
-
},
|
|
3845
|
+
}, C.push(I);
|
|
3846
3846
|
}
|
|
3847
|
-
return
|
|
3847
|
+
return C;
|
|
3848
3848
|
}), r = E([]), s = E(!1), f = q(() => {
|
|
3849
3849
|
const c = e.yAxisLabelFormatter, g = e.xAxisLabelFormatter;
|
|
3850
3850
|
return {
|
|
@@ -3900,12 +3900,12 @@ const ir = K({
|
|
|
3900
3900
|
tooltip: {
|
|
3901
3901
|
trigger: "axis",
|
|
3902
3902
|
show: e.tooltipShow,
|
|
3903
|
-
formatter: (
|
|
3904
|
-
const z =
|
|
3903
|
+
formatter: (C) => {
|
|
3904
|
+
const z = C.length;
|
|
3905
3905
|
let I = "", k = e.tooltipFormatter;
|
|
3906
3906
|
k === "" && (k = "{marker} {a} {c}");
|
|
3907
3907
|
for (let J = 0; J < z; J++) {
|
|
3908
|
-
const { marker: H, seriesName: $, name: N, value: F, data: j } =
|
|
3908
|
+
const { marker: H, seriesName: $, name: N, value: F, data: j } = C[J] || {};
|
|
3909
3909
|
J === 0 && (I += `${N}<br/>`), I += de(
|
|
3910
3910
|
k,
|
|
3911
3911
|
{
|
|
@@ -3960,8 +3960,8 @@ const ir = K({
|
|
|
3960
3960
|
rotate: e.xAxisLabelRotate,
|
|
3961
3961
|
width: e.xAxisLabelWidth,
|
|
3962
3962
|
overflow: e.xAxisLabelOverflow,
|
|
3963
|
-
formatter(
|
|
3964
|
-
return Ne(g,
|
|
3963
|
+
formatter(C) {
|
|
3964
|
+
return Ne(g, C);
|
|
3965
3965
|
}
|
|
3966
3966
|
},
|
|
3967
3967
|
axisLine: {
|
|
@@ -3989,8 +3989,8 @@ const ir = K({
|
|
|
3989
3989
|
rotate: e.yAxisLabelRotate,
|
|
3990
3990
|
width: e.yAxisLabelWidth,
|
|
3991
3991
|
overflow: e.yAxisLabelOverflow,
|
|
3992
|
-
formatter(
|
|
3993
|
-
return Ne(c,
|
|
3992
|
+
formatter(C) {
|
|
3993
|
+
return Ne(c, C);
|
|
3994
3994
|
}
|
|
3995
3995
|
},
|
|
3996
3996
|
axisLine: {
|
|
@@ -4001,24 +4001,24 @@ const ir = K({
|
|
|
4001
4001
|
},
|
|
4002
4002
|
series: A(i)
|
|
4003
4003
|
};
|
|
4004
|
-
}), { pageMode:
|
|
4004
|
+
}), { pageMode: p } = B(ve, {
|
|
4005
4005
|
pageMode: "normal"
|
|
4006
4006
|
}), y = (c = [], g = !1) => {
|
|
4007
|
-
let
|
|
4007
|
+
let C = {};
|
|
4008
4008
|
if (e.dataFieldConfigType === "key") {
|
|
4009
4009
|
const z = g ? e.keyTypeDataFieldNames : null;
|
|
4010
|
-
|
|
4010
|
+
C = Ge(c, z);
|
|
4011
4011
|
} else if (e.dataFieldConfigType === "value") {
|
|
4012
4012
|
const z = g ? e.valueTypeDataFieldNames : null;
|
|
4013
|
-
|
|
4013
|
+
C = Ke(c, z);
|
|
4014
4014
|
}
|
|
4015
|
-
n.value =
|
|
4016
|
-
}, b = (c = [], g,
|
|
4017
|
-
const I = Ge(c,
|
|
4015
|
+
n.value = C.dataset, r.value = C.dimensions;
|
|
4016
|
+
}, b = (c = [], g, C = !1) => {
|
|
4017
|
+
const I = Ge(c, C ? g : null);
|
|
4018
4018
|
n.value = I.dataset, r.value = I.dimensions;
|
|
4019
4019
|
};
|
|
4020
4020
|
ne(() => e.data, (c) => {
|
|
4021
|
-
(e.dataType === "static" || A(
|
|
4021
|
+
(e.dataType === "static" || A(p) === "design") && y(c);
|
|
4022
4022
|
}, {
|
|
4023
4023
|
immediate: !0,
|
|
4024
4024
|
deep: !0
|
|
@@ -4027,10 +4027,10 @@ const ir = K({
|
|
|
4027
4027
|
var c, g;
|
|
4028
4028
|
try {
|
|
4029
4029
|
s.value = !0;
|
|
4030
|
-
const
|
|
4031
|
-
y((g = (c =
|
|
4032
|
-
} catch (
|
|
4033
|
-
console.error(
|
|
4030
|
+
const C = await d();
|
|
4031
|
+
y((g = (c = C == null ? void 0 : C.data) == null ? void 0 : c.data) == null ? void 0 : g.rows, !0);
|
|
4032
|
+
} catch (C) {
|
|
4033
|
+
console.error(C);
|
|
4034
4034
|
} finally {
|
|
4035
4035
|
s.value = !1;
|
|
4036
4036
|
}
|
|
@@ -4038,11 +4038,11 @@ const ir = K({
|
|
|
4038
4038
|
var c;
|
|
4039
4039
|
try {
|
|
4040
4040
|
s.value = !0;
|
|
4041
|
-
const g = await m(), { columns:
|
|
4041
|
+
const g = await m(), { columns: C = [], rows: z = [] } = ((c = g == null ? void 0 : g.data) == null ? void 0 : c.data) ?? {};
|
|
4042
4042
|
let I;
|
|
4043
|
-
|
|
4044
|
-
name:
|
|
4045
|
-
types:
|
|
4043
|
+
C.length > 0 && (I = {
|
|
4044
|
+
name: C[0],
|
|
4045
|
+
types: C.slice(1).map((k) => ({
|
|
4046
4046
|
label: k,
|
|
4047
4047
|
value: k
|
|
4048
4048
|
}))
|
|
@@ -4329,8 +4329,8 @@ const ur = K({
|
|
|
4329
4329
|
show: e.tooltipShow,
|
|
4330
4330
|
trigger: e.tooltipTrigger,
|
|
4331
4331
|
formatter(L) {
|
|
4332
|
-
var
|
|
4333
|
-
const { marker: x, seriesName: T } = L, v = ((
|
|
4332
|
+
var C;
|
|
4333
|
+
const { marker: x, seriesName: T } = L, v = ((C = L == null ? void 0 : L.data) == null ? void 0 : C.record) ?? {}, { name: c, value: g } = v;
|
|
4334
4334
|
return de(e.tooltipFormatter, {
|
|
4335
4335
|
textData: {
|
|
4336
4336
|
marker: x,
|
|
@@ -4382,17 +4382,17 @@ const ur = K({
|
|
|
4382
4382
|
immediate: !0,
|
|
4383
4383
|
deep: !0
|
|
4384
4384
|
});
|
|
4385
|
-
const
|
|
4385
|
+
const p = E(!1), y = _e(e), b = async () => {
|
|
4386
4386
|
var S, _;
|
|
4387
4387
|
if (e.dataType === "request") {
|
|
4388
|
-
|
|
4388
|
+
p.value = !0;
|
|
4389
4389
|
try {
|
|
4390
4390
|
const L = await y();
|
|
4391
4391
|
f((_ = (S = L == null ? void 0 : L.data) == null ? void 0 : S.data) == null ? void 0 : _.rows, e.dataFieldNames);
|
|
4392
4392
|
} catch (L) {
|
|
4393
4393
|
console.error(L);
|
|
4394
4394
|
} finally {
|
|
4395
|
-
|
|
4395
|
+
p.value = !1;
|
|
4396
4396
|
}
|
|
4397
4397
|
}
|
|
4398
4398
|
}, u = fe(e)("click", (S) => {
|
|
@@ -4421,7 +4421,7 @@ const ur = K({
|
|
|
4421
4421
|
option: l,
|
|
4422
4422
|
style: o,
|
|
4423
4423
|
click: u,
|
|
4424
|
-
loading:
|
|
4424
|
+
loading: p,
|
|
4425
4425
|
visible: n,
|
|
4426
4426
|
hideModal: a
|
|
4427
4427
|
};
|
|
@@ -4711,12 +4711,12 @@ const Cr = K({
|
|
|
4711
4711
|
show: e.tooltipShow,
|
|
4712
4712
|
formatter: (c) => {
|
|
4713
4713
|
const g = c.length;
|
|
4714
|
-
let
|
|
4714
|
+
let C = "", z = e.tooltipFormatter;
|
|
4715
4715
|
z === "" && (z = "{marker} {a} {c}");
|
|
4716
4716
|
const I = e.seriesTypes;
|
|
4717
4717
|
for (let k = 0; k < g; k++) {
|
|
4718
4718
|
const J = I[k], { tooltipFormatter: H } = J || {}, { marker: $, seriesName: N, name: F, value: j, data: Q } = c[k] || {};
|
|
4719
|
-
k === 0 && (
|
|
4719
|
+
k === 0 && (C += `${F}<br/>`), C += de(
|
|
4720
4720
|
// 如果系列有提示框组件就使用自定义,没有就用默认的
|
|
4721
4721
|
H || z,
|
|
4722
4722
|
{
|
|
@@ -4735,9 +4735,9 @@ const Cr = K({
|
|
|
4735
4735
|
useNewline: !0,
|
|
4736
4736
|
useSpace: !0
|
|
4737
4737
|
}
|
|
4738
|
-
),
|
|
4738
|
+
), C += "<br/>";
|
|
4739
4739
|
}
|
|
4740
|
-
return
|
|
4740
|
+
return C;
|
|
4741
4741
|
},
|
|
4742
4742
|
textStyle: {
|
|
4743
4743
|
color: e.tooltipTextStyleColor
|
|
@@ -4774,16 +4774,16 @@ const Cr = K({
|
|
|
4774
4774
|
})), { pageMode: s } = B(ve, {
|
|
4775
4775
|
pageMode: "normal"
|
|
4776
4776
|
}), f = (c = [], g = !1) => {
|
|
4777
|
-
let
|
|
4777
|
+
let C;
|
|
4778
4778
|
if (e.dataFieldConfigType === "key") {
|
|
4779
4779
|
const H = g ? e.keyTypeDataFieldNames : null;
|
|
4780
|
-
|
|
4780
|
+
C = Ge(c, H);
|
|
4781
4781
|
} else if (e.dataFieldConfigType === "value") {
|
|
4782
4782
|
const H = g ? e.valueTypeDataFieldNames : null;
|
|
4783
|
-
|
|
4783
|
+
C = Ke(c, H);
|
|
4784
4784
|
}
|
|
4785
|
-
a.value =
|
|
4786
|
-
const z =
|
|
4785
|
+
a.value = C.dimensions;
|
|
4786
|
+
const z = C.dataset, I = [], k = z.length, J = e.seriesTypes;
|
|
4787
4787
|
for (let H = 0; H < k; H++) {
|
|
4788
4788
|
const $ = J[H], { type: N, axisIndex: F } = $ || {};
|
|
4789
4789
|
let j = {
|
|
@@ -4807,8 +4807,8 @@ const Cr = K({
|
|
|
4807
4807
|
}), I.push(j);
|
|
4808
4808
|
}
|
|
4809
4809
|
n.value = I;
|
|
4810
|
-
},
|
|
4811
|
-
const I = Ge(c,
|
|
4810
|
+
}, p = (c = [], g, C = !1) => {
|
|
4811
|
+
const I = Ge(c, C ? g : null);
|
|
4812
4812
|
a.value = I.dimensions;
|
|
4813
4813
|
const k = I.dataset, J = [], H = k.length, $ = e.seriesTypes;
|
|
4814
4814
|
for (let N = 0; N < H; N++) {
|
|
@@ -4840,8 +4840,8 @@ const Cr = K({
|
|
|
4840
4840
|
},
|
|
4841
4841
|
axisLabel: {
|
|
4842
4842
|
color: e.yAxisLabelColor,
|
|
4843
|
-
formatter(
|
|
4844
|
-
return Ne(g.axisLabelFormatter,
|
|
4843
|
+
formatter(C) {
|
|
4844
|
+
return Ne(g.axisLabelFormatter, C);
|
|
4845
4845
|
}
|
|
4846
4846
|
},
|
|
4847
4847
|
axisLine: {
|
|
@@ -4855,10 +4855,10 @@ const Cr = K({
|
|
|
4855
4855
|
if (e.dataType === "request")
|
|
4856
4856
|
try {
|
|
4857
4857
|
b.value = !0;
|
|
4858
|
-
const
|
|
4859
|
-
f((g = (c =
|
|
4860
|
-
} catch (
|
|
4861
|
-
console.error(
|
|
4858
|
+
const C = await d();
|
|
4859
|
+
f((g = (c = C == null ? void 0 : C.data) == null ? void 0 : c.data) == null ? void 0 : g.rows, !0);
|
|
4860
|
+
} catch (C) {
|
|
4861
|
+
console.error(C);
|
|
4862
4862
|
} finally {
|
|
4863
4863
|
b.value = !1;
|
|
4864
4864
|
}
|
|
@@ -4866,15 +4866,15 @@ const Cr = K({
|
|
|
4866
4866
|
var c;
|
|
4867
4867
|
try {
|
|
4868
4868
|
b.value = !0;
|
|
4869
|
-
const g = await m(), { columns:
|
|
4869
|
+
const g = await m(), { columns: C = [], rows: z = [] } = ((c = g == null ? void 0 : g.data) == null ? void 0 : c.data) ?? {};
|
|
4870
4870
|
let I;
|
|
4871
|
-
|
|
4872
|
-
name:
|
|
4873
|
-
types:
|
|
4871
|
+
C.length > 0 && (I = {
|
|
4872
|
+
name: C[0],
|
|
4873
|
+
types: C.slice(1).map((k) => ({
|
|
4874
4874
|
label: k,
|
|
4875
4875
|
value: k
|
|
4876
4876
|
}))
|
|
4877
|
-
}),
|
|
4877
|
+
}), p(z, I, !0);
|
|
4878
4878
|
} catch (g) {
|
|
4879
4879
|
console.error(g);
|
|
4880
4880
|
} finally {
|
|
@@ -5123,18 +5123,18 @@ const jr = /* @__PURE__ */ X(Ar, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5123
5123
|
bottom: "bottom"
|
|
5124
5124
|
}[F]
|
|
5125
5125
|
};
|
|
5126
|
-
}), n = e.width, a = e.height, l = e.originalWidth, i = e.originalHeight, r = E("80%"), s = E(0), f = E(),
|
|
5126
|
+
}), n = e.width, a = e.height, l = e.originalWidth, i = e.originalHeight, r = E("80%"), s = E(0), f = E(), p = E(0), y = E({}), b = ie(e), d = E({}), u = E(!1), m = E();
|
|
5127
5127
|
let w;
|
|
5128
5128
|
const h = () => {
|
|
5129
5129
|
f.value = parseFloat(n) / parseFloat(l);
|
|
5130
5130
|
const F = parseFloat(a) / parseFloat(i), j = document.body.offsetWidth, Q = document.body.offsetHeight;
|
|
5131
|
-
s.value = j * A(f),
|
|
5131
|
+
s.value = j * A(f), p.value = Q * F, r.value = `${A(f) * 100}%`, y.value = {
|
|
5132
5132
|
width: `${A(s)}px`,
|
|
5133
|
-
height: `${A(
|
|
5133
|
+
height: `${A(p)}px`
|
|
5134
5134
|
}, d.value = {
|
|
5135
5135
|
...A(b),
|
|
5136
5136
|
backgroundImage: $e(e.backgroundImage, !0),
|
|
5137
|
-
transform: `scale(${A(s) / parseFloat(n)},${A(
|
|
5137
|
+
transform: `scale(${A(s) / parseFloat(n)},${A(p) / parseFloat(a)})`
|
|
5138
5138
|
};
|
|
5139
5139
|
}, S = Rt(() => {
|
|
5140
5140
|
h();
|
|
@@ -5158,7 +5158,7 @@ const jr = /* @__PURE__ */ X(Ar, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5158
5158
|
x.value = !1;
|
|
5159
5159
|
}, g = () => {
|
|
5160
5160
|
c();
|
|
5161
|
-
},
|
|
5161
|
+
}, C = () => {
|
|
5162
5162
|
c();
|
|
5163
5163
|
}, { setModalModel: z, pushUseModalIds: I, popUseModalIds: k } = B(Oo, {
|
|
5164
5164
|
pushUseModalIds: (F) => {
|
|
@@ -5196,7 +5196,7 @@ const jr = /* @__PURE__ */ X(Ar, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5196
5196
|
visible: x,
|
|
5197
5197
|
showModal: v,
|
|
5198
5198
|
onOk: g,
|
|
5199
|
-
onCancel:
|
|
5199
|
+
onCancel: C,
|
|
5200
5200
|
isFullWidth: H,
|
|
5201
5201
|
wrapClassName: N,
|
|
5202
5202
|
ready: u
|
|
@@ -5322,13 +5322,13 @@ const Jr = /* @__PURE__ */ X(Hr, [["render", Zr], ["__scopeId", "data-v-d94f0d60
|
|
|
5322
5322
|
immediate: !0,
|
|
5323
5323
|
deep: !0
|
|
5324
5324
|
});
|
|
5325
|
-
const s = (d) => t.value === d, f = fe(e), { setGlobalModel:
|
|
5325
|
+
const s = (d) => t.value === d, f = fe(e), { setGlobalModel: p } = B(he, {
|
|
5326
5326
|
// @ts-ignore
|
|
5327
5327
|
// eslint-disable-next-line no-void
|
|
5328
5328
|
setGlobalModel: (d, u) => {
|
|
5329
5329
|
}
|
|
5330
5330
|
});
|
|
5331
|
-
|
|
5331
|
+
p(e.id, {
|
|
5332
5332
|
value: r,
|
|
5333
5333
|
activeKey: t
|
|
5334
5334
|
});
|
|
@@ -5580,7 +5580,7 @@ const us = /* @__PURE__ */ X(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5580
5580
|
default:
|
|
5581
5581
|
return 55;
|
|
5582
5582
|
}
|
|
5583
|
-
}), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - A(n)), i = E([]), r = E([]), s = E([]), f = E([]),
|
|
5583
|
+
}), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - A(n)), i = E([]), r = E([]), s = E([]), f = E([]), p = E(0), y = E(1), b = q(() => e.paginationPageSize), d = zn([]), u = (M = []) => {
|
|
5584
5584
|
if (Array.isArray(M) && M.length > 0) {
|
|
5585
5585
|
const O = M.length, W = e.columnsFixedNum;
|
|
5586
5586
|
for (let Z = 0; Z < O; Z++) {
|
|
@@ -5726,7 +5726,7 @@ const us = /* @__PURE__ */ X(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5726
5726
|
...O
|
|
5727
5727
|
});
|
|
5728
5728
|
const Z = await L(O), { rows: P = [], total: te = 0 } = ((W = Z == null ? void 0 : Z.data) == null ? void 0 : W.data) || {};
|
|
5729
|
-
|
|
5729
|
+
p.value = te, Array.isArray(P) && (r.value = P);
|
|
5730
5730
|
} catch (Z) {
|
|
5731
5731
|
console.error(Z);
|
|
5732
5732
|
} finally {
|
|
@@ -5746,12 +5746,12 @@ const us = /* @__PURE__ */ X(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5746
5746
|
return e.paginationShow && {
|
|
5747
5747
|
simple: M,
|
|
5748
5748
|
position: O,
|
|
5749
|
-
total: A(
|
|
5749
|
+
total: A(p),
|
|
5750
5750
|
current: A(y),
|
|
5751
5751
|
pageSize: A(b),
|
|
5752
5752
|
showSizeChanger: !1
|
|
5753
5753
|
};
|
|
5754
|
-
}), g = (M) => +M == 1 ? "是" : +M == 0 ? "否" : M,
|
|
5754
|
+
}), g = (M) => +M == 1 ? "是" : +M == 0 ? "否" : M, C = (M, O) => O == null || O === "" ? M : {
|
|
5755
5755
|
money: Pt,
|
|
5756
5756
|
percentage: ut,
|
|
5757
5757
|
contrast: ut,
|
|
@@ -5859,7 +5859,7 @@ const us = /* @__PURE__ */ X(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5859
5859
|
style: t,
|
|
5860
5860
|
customRow: j,
|
|
5861
5861
|
pagination: c,
|
|
5862
|
-
formatFn:
|
|
5862
|
+
formatFn: C,
|
|
5863
5863
|
contrastClass: z,
|
|
5864
5864
|
tableChange: v,
|
|
5865
5865
|
summaryList: He,
|
|
@@ -5933,7 +5933,7 @@ const hs = {
|
|
|
5933
5933
|
class: "action-list"
|
|
5934
5934
|
}, Ss = ["href", "target", "onClick"];
|
|
5935
5935
|
function ws(e, o, t, n, a, l) {
|
|
5936
|
-
const i = V("a-button"), r = V("a-input"), s = V("a-checkbox-group"), f = V("a-table-summary-cell"),
|
|
5936
|
+
const i = V("a-button"), r = V("a-input"), s = V("a-checkbox-group"), f = V("a-table-summary-cell"), p = V("a-table-summary-row"), y = V("a-table-summary"), b = V("a-table"), d = V("skeleton");
|
|
5937
5937
|
return D(), R("div", {
|
|
5938
5938
|
class: "ecan-table",
|
|
5939
5939
|
style: U(e.style)
|
|
@@ -6041,7 +6041,7 @@ function ws(e, o, t, n, a, l) {
|
|
|
6041
6041
|
summary: Y(() => [
|
|
6042
6042
|
e.summaryList.length > 0 ? (D(), Re(y, { key: 0 }, {
|
|
6043
6043
|
default: Y(() => [
|
|
6044
|
-
G(
|
|
6044
|
+
G(p, null, {
|
|
6045
6045
|
default: Y(() => [
|
|
6046
6046
|
(D(!0), R(Me, null, De(e.summaryList, (u, m) => (D(), Re(f, {
|
|
6047
6047
|
key: m,
|
|
@@ -6141,12 +6141,12 @@ const As = K({
|
|
|
6141
6141
|
image: A(t),
|
|
6142
6142
|
repeat: e.geoBackgroundImageRepeat
|
|
6143
6143
|
} : e.geoItemStyleAreaColor), i = q(() => {
|
|
6144
|
-
const
|
|
6145
|
-
return e.symbolImage ? "image://" + $e(
|
|
6144
|
+
const p = e.symbolImage;
|
|
6145
|
+
return e.symbolImage ? "image://" + $e(p) : "circle";
|
|
6146
6146
|
}), r = q(() => {
|
|
6147
|
-
const
|
|
6147
|
+
const p = e.geoCenter;
|
|
6148
6148
|
let y;
|
|
6149
|
-
return typeof
|
|
6149
|
+
return typeof p == "string" && p !== "" && (y = p.split(",")), {
|
|
6150
6150
|
// backgroundColor: unref(background),
|
|
6151
6151
|
tooltip: {
|
|
6152
6152
|
show: !0
|
|
@@ -6227,9 +6227,9 @@ const As = K({
|
|
|
6227
6227
|
};
|
|
6228
6228
|
}), s = E(!1), f = async () => {
|
|
6229
6229
|
var y;
|
|
6230
|
-
const
|
|
6231
|
-
if (
|
|
6232
|
-
const b = await Fe(((y = window == null ? void 0 : window.config) == null ? void 0 : y.uploadPath) +
|
|
6230
|
+
const p = e.mapJson;
|
|
6231
|
+
if (p != null && p.path) {
|
|
6232
|
+
const b = await Fe(((y = window == null ? void 0 : window.config) == null ? void 0 : y.uploadPath) + p.path);
|
|
6233
6233
|
Un("map", (b == null ? void 0 : b.data) || {});
|
|
6234
6234
|
}
|
|
6235
6235
|
s.value = !0;
|