@ecan-bi/tools 1.0.16 → 1.0.17
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 +62 -62
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! @ecan-bi/tools@1.0.
|
|
2
|
-
var
|
|
1
|
+
/*! @ecan-bi/tools@1.0.17 */
|
|
2
|
+
var Qe = Object.defineProperty, qe = Object.defineProperties;
|
|
3
3
|
var Xe = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var
|
|
4
|
+
var se = Object.getOwnPropertySymbols;
|
|
5
5
|
var Ke = Object.prototype.hasOwnProperty, Ue = Object.prototype.propertyIsEnumerable;
|
|
6
|
-
var Be = (e, o, l) => o in e ?
|
|
6
|
+
var Be = (e, o, l) => o in e ? Qe(e, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[o] = l, C = (e, o) => {
|
|
7
7
|
for (var l in o || (o = {}))
|
|
8
8
|
Ke.call(o, l) && Be(e, l, o[l]);
|
|
9
|
-
if (
|
|
10
|
-
for (var l of
|
|
9
|
+
if (se)
|
|
10
|
+
for (var l of se(o))
|
|
11
11
|
Ue.call(o, l) && Be(e, l, o[l]);
|
|
12
12
|
return e;
|
|
13
13
|
}, Y = (e, o) => qe(e, Xe(o));
|
|
@@ -15,8 +15,8 @@ var Se = (e, o) => {
|
|
|
15
15
|
var l = {};
|
|
16
16
|
for (var t in e)
|
|
17
17
|
Ke.call(e, t) && o.indexOf(t) < 0 && (l[t] = e[t]);
|
|
18
|
-
if (e != null &&
|
|
19
|
-
for (var t of
|
|
18
|
+
if (e != null && se)
|
|
19
|
+
for (var t of se(e))
|
|
20
20
|
o.indexOf(t) < 0 && Ue.call(e, t) && (l[t] = e[t]);
|
|
21
21
|
return l;
|
|
22
22
|
};
|
|
@@ -38,7 +38,7 @@ var We = (e, o, l) => new Promise((t, y) => {
|
|
|
38
38
|
});
|
|
39
39
|
import { unref as V, computed as oe } from "vue";
|
|
40
40
|
import $ from "dayjs";
|
|
41
|
-
import { cloneDeep as
|
|
41
|
+
import { cloneDeep as ue } from "lodash-es";
|
|
42
42
|
const we = (e, o) => {
|
|
43
43
|
const l = C({
|
|
44
44
|
dayjs: $
|
|
@@ -83,10 +83,10 @@ const we = (e, o) => {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
return !1;
|
|
86
|
-
}, W = (e, o) => Object.prototype.hasOwnProperty.call(e, o),
|
|
86
|
+
}, W = (e, o) => Object.prototype.hasOwnProperty.call(e, o), ce = (e) => {
|
|
87
87
|
const o = [];
|
|
88
88
|
for (const l of e)
|
|
89
|
-
l.conditions ? o.push(...
|
|
89
|
+
l.conditions ? o.push(...ce(l.conditions)) : (l == null ? void 0 : l.dataType) === "component" && o.push(l);
|
|
90
90
|
return o;
|
|
91
91
|
};
|
|
92
92
|
function Je(e) {
|
|
@@ -194,7 +194,7 @@ const tl = [
|
|
|
194
194
|
"customValue",
|
|
195
195
|
"id",
|
|
196
196
|
"keyName"
|
|
197
|
-
],
|
|
197
|
+
], ye = (e) => ze.get(e), il = (e, o = {}) => {
|
|
198
198
|
const { around: l, unit: t, id: y } = e;
|
|
199
199
|
let s = "";
|
|
200
200
|
const { pageMode: r = "", componentList: d = [] } = (o == null ? void 0 : o.graphicConfig) || {};
|
|
@@ -215,7 +215,7 @@ const tl = [
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
} else {
|
|
218
|
-
const f =
|
|
218
|
+
const f = ye(y) || {};
|
|
219
219
|
V(f.startTime) && (n = $(V(f.startTime))), V(f.endTime) && (i = $(V(f.endTime)));
|
|
220
220
|
}
|
|
221
221
|
if (n && i) {
|
|
@@ -249,7 +249,7 @@ const tl = [
|
|
|
249
249
|
}
|
|
250
250
|
}, le = (e, o) => {
|
|
251
251
|
const l = [];
|
|
252
|
-
return e != null && e.length &&
|
|
252
|
+
return e != null && e.length && ue(e).forEach((t) => {
|
|
253
253
|
if (t.join && t.conditions) {
|
|
254
254
|
const y = !t.conditions.some((s) => s.join && s.conditions);
|
|
255
255
|
t.conditions.forEach((s, r) => {
|
|
@@ -270,7 +270,7 @@ const tl = [
|
|
|
270
270
|
}), l;
|
|
271
271
|
}, Ae = (e = {}, o) => {
|
|
272
272
|
if (e != null && e.sortCpnts && o) {
|
|
273
|
-
const w =
|
|
273
|
+
const w = Pe(e);
|
|
274
274
|
w && (o.sort = w);
|
|
275
275
|
}
|
|
276
276
|
const {
|
|
@@ -294,7 +294,7 @@ const tl = [
|
|
|
294
294
|
let m;
|
|
295
295
|
if (u && (m = le(u)), n === "COMPONENT") {
|
|
296
296
|
const w = {};
|
|
297
|
-
return
|
|
297
|
+
return me(w, f), {
|
|
298
298
|
label: l.trim(),
|
|
299
299
|
columnName: t,
|
|
300
300
|
show: s,
|
|
@@ -333,7 +333,7 @@ const tl = [
|
|
|
333
333
|
}, nl = (e) => {
|
|
334
334
|
if (!e)
|
|
335
335
|
return [];
|
|
336
|
-
const o =
|
|
336
|
+
const o = ue((e == null ? void 0 : e.controlList) || []).filter((S) => S.conditionKey !== "parentCode"), {
|
|
337
337
|
classificationList: l = [],
|
|
338
338
|
rowHeaderList: t = [],
|
|
339
339
|
dimensionList: y = [],
|
|
@@ -355,7 +355,7 @@ const tl = [
|
|
|
355
355
|
...i
|
|
356
356
|
], a = [];
|
|
357
357
|
for (const S of f) {
|
|
358
|
-
const A =
|
|
358
|
+
const A = ce((S == null ? void 0 : S.conditions) || []);
|
|
359
359
|
if (A != null && A.length) {
|
|
360
360
|
const x = A.filter((c) => (c == null ? void 0 : c.dataType) === "component").map((c) => {
|
|
361
361
|
const m = {};
|
|
@@ -392,11 +392,11 @@ const tl = [
|
|
|
392
392
|
dataType: N = "component",
|
|
393
393
|
customValue: v
|
|
394
394
|
} = A, E = $e(A);
|
|
395
|
-
|
|
395
|
+
me(E, x, { prop: m, dateFormat: g, modelKey: w, keyName: c }), N === "" && (E.fieldValue = v || ""), u.push(E);
|
|
396
396
|
}
|
|
397
397
|
for (let S = u.length - 1; S >= 0; S--) {
|
|
398
398
|
const A = u[S];
|
|
399
|
-
A.globalCondition ||
|
|
399
|
+
A.globalCondition || ce(u).find((c) => c.alias === A.alias && c.globalCondition) && u.splice(S, 1);
|
|
400
400
|
}
|
|
401
401
|
return u;
|
|
402
402
|
};
|
|
@@ -449,7 +449,7 @@ function He(e) {
|
|
|
449
449
|
dataType: d = "component",
|
|
450
450
|
customValue: n
|
|
451
451
|
} = o, i = $e(o);
|
|
452
|
-
|
|
452
|
+
me(i, l, { prop: y, dateFormat: r, modelKey: s, keyName: t }), d === "" && (i.fieldValue = n || "");
|
|
453
453
|
for (const f in i)
|
|
454
454
|
o[f] = i[f];
|
|
455
455
|
for (const f of tl)
|
|
@@ -467,7 +467,7 @@ function rl(e) {
|
|
|
467
467
|
valueType: l.variableType,
|
|
468
468
|
alias: l.keyName || ""
|
|
469
469
|
};
|
|
470
|
-
|
|
470
|
+
me(t, l.id, {
|
|
471
471
|
dateFormat: l.format,
|
|
472
472
|
prop: l.dateTypeValue,
|
|
473
473
|
keyName: l.keyName,
|
|
@@ -479,7 +479,7 @@ function rl(e) {
|
|
|
479
479
|
}
|
|
480
480
|
return o;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function me(e, o, l) {
|
|
483
483
|
const { prop: t = "", dateFormat: y = "", modelKey: s = "", keyName: r = "", operateValue: d, operateMode: n, operateType: i } = l || {}, f = s || r;
|
|
484
484
|
if (o === "PARENT" && f && t) {
|
|
485
485
|
const m = window.config.record;
|
|
@@ -495,7 +495,7 @@ function ye(e, o, l) {
|
|
|
495
495
|
}
|
|
496
496
|
return;
|
|
497
497
|
}
|
|
498
|
-
const a =
|
|
498
|
+
const a = ye(o) || {}, { value: b, format: u = "YYYY-MM-DD", type: S = "", useCurrentTime: A, RECORD: x } = a || {}, c = y || u;
|
|
499
499
|
if (K(a.type, "date")) {
|
|
500
500
|
let m;
|
|
501
501
|
if (A ? b ? m = V(b) : m = $() : m = V(b), d && n && i)
|
|
@@ -546,10 +546,10 @@ function ye(e, o, l) {
|
|
|
546
546
|
} else
|
|
547
547
|
K(S, ol) ? s && x ? e.fieldValue = x[s] : !s && x ? e.fieldValue = x.value : e.fieldValue = V(b) : e.fieldValue = V(b);
|
|
548
548
|
}
|
|
549
|
-
const
|
|
549
|
+
const fe = (e) => {
|
|
550
550
|
var o;
|
|
551
551
|
if (e) {
|
|
552
|
-
const l = Array.isArray(e) ?
|
|
552
|
+
const l = Array.isArray(e) ? ue(e) : [ue(e)];
|
|
553
553
|
let t = "", y = [];
|
|
554
554
|
const s = [], r = [], d = [];
|
|
555
555
|
for (const n of l) {
|
|
@@ -573,11 +573,11 @@ const se = (e) => {
|
|
|
573
573
|
};
|
|
574
574
|
} else
|
|
575
575
|
return e;
|
|
576
|
-
},
|
|
576
|
+
}, Pe = (e) => {
|
|
577
577
|
const { sortCpnts: o = [] } = e;
|
|
578
578
|
let l, t = "";
|
|
579
579
|
for (const y of o) {
|
|
580
|
-
const s =
|
|
580
|
+
const s = ye(y) || {}, { type: r, RECORD: d } = s;
|
|
581
581
|
if (K(r, "image") && K(d == null ? void 0 : d.value, ["asc", "desc"])) {
|
|
582
582
|
t = d.value.toUpperCase();
|
|
583
583
|
break;
|
|
@@ -620,7 +620,7 @@ const se = (e) => {
|
|
|
620
620
|
// dataSourceId, // 所属数据源ID
|
|
621
621
|
idxLibMode: re,
|
|
622
622
|
// 指标库模式, source= INDICATOR_LIB时候必填, NORMAL_YEAR_TABLE = 普通年表, WITH_DATE_DIM_TABLE = 带有时间维度表
|
|
623
|
-
preview:
|
|
623
|
+
preview: xe = !1,
|
|
624
624
|
// 预览开关
|
|
625
625
|
edvDataSetId: Le
|
|
626
626
|
// 数据集id
|
|
@@ -645,7 +645,7 @@ const se = (e) => {
|
|
|
645
645
|
I != null && I.length && (I = le(I, "1")), a == null && (K(t, ["table", "card"]) || K(t, ["list", "circulate"]) && (u == null ? void 0 : u.length) > 1 ? a = "1" : K(t, ["select", "checkbox", "radio"]) ? a = "3" : a = "2");
|
|
646
646
|
let H;
|
|
647
647
|
const Ce = [];
|
|
648
|
-
let
|
|
648
|
+
let ge = "";
|
|
649
649
|
if (Array.isArray(u) && u.length > 0 && (!["ecanList", "ecanCirculate"].includes(t) || (u == null ? void 0 : u.length) === 1)) {
|
|
650
650
|
const L = u.length;
|
|
651
651
|
for (let T = 0; T < L; T++) {
|
|
@@ -653,7 +653,7 @@ const se = (e) => {
|
|
|
653
653
|
label: G = "",
|
|
654
654
|
name: D = "",
|
|
655
655
|
show: j = !1,
|
|
656
|
-
sort:
|
|
656
|
+
sort: P,
|
|
657
657
|
customGroup: q,
|
|
658
658
|
conditions: F,
|
|
659
659
|
dateFormat: k,
|
|
@@ -661,11 +661,11 @@ const se = (e) => {
|
|
|
661
661
|
truncations: M = []
|
|
662
662
|
} = p;
|
|
663
663
|
if (j || L === 1) {
|
|
664
|
-
|
|
664
|
+
ge = R, H = {
|
|
665
665
|
label: G.trim(),
|
|
666
666
|
columnName: D,
|
|
667
667
|
show: j,
|
|
668
|
-
sort:
|
|
668
|
+
sort: Pe(p) || fe(P) || P,
|
|
669
669
|
customGroup: q,
|
|
670
670
|
conditions: le(F),
|
|
671
671
|
typeGuid: R
|
|
@@ -674,8 +674,8 @@ const se = (e) => {
|
|
|
674
674
|
if (Array.isArray(M) && M.length > 0) {
|
|
675
675
|
const U = M.length;
|
|
676
676
|
for (let _ = 0; _ < U; _++) {
|
|
677
|
-
const z = M[_] || {}, { rule:
|
|
678
|
-
|
|
677
|
+
const z = M[_] || {}, { rule: Q = "", num: X = 0, name: ee = "" } = z;
|
|
678
|
+
Q && X && (h.num = X, h.rule = Q, ee && (h.otherGroupName = ee));
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
if ((Fe = Object.keys(h)) != null && Fe.length && (H.truncation = h), K(t, ["scatter", "valueline"]))
|
|
@@ -689,13 +689,13 @@ const se = (e) => {
|
|
|
689
689
|
if (Array.isArray(x) && x.length > 0) {
|
|
690
690
|
const L = x.length;
|
|
691
691
|
for (let T = 0; T < L; T++) {
|
|
692
|
-
const p = x[T] || {}, { label: G = "", name: D = "", show: j = !1, sort:
|
|
692
|
+
const p = x[T] || {}, { label: G = "", name: D = "", show: j = !1, sort: P, customGroup: q, conditions: F, typeGuid: k } = p;
|
|
693
693
|
if (j || L === 1) {
|
|
694
694
|
Te = {
|
|
695
695
|
label: G.trim(),
|
|
696
696
|
columnName: D,
|
|
697
697
|
show: j,
|
|
698
|
-
sort:
|
|
698
|
+
sort: fe(P),
|
|
699
699
|
customGroup: q,
|
|
700
700
|
conditions: le(F),
|
|
701
701
|
typeGuid: k
|
|
@@ -716,11 +716,11 @@ const se = (e) => {
|
|
|
716
716
|
});
|
|
717
717
|
const J = [];
|
|
718
718
|
["ecanList", "ecanCirculate"].includes(t) && (u == null ? void 0 : u.length) > 1 && (g = u), (Ie = (Ve = o == null ? void 0 : o.pivotTableCal) == null ? void 0 : Ve.dimensions) != null && Ie.length && (g = o.pivotTableCal.dimensions), g == null || g.forEach((L) => {
|
|
719
|
-
const { label: T, name: p, location: G, show: D, indexCode: j, sort:
|
|
720
|
-
let M =
|
|
719
|
+
const { label: T, name: p, location: G, show: D, indexCode: j, sort: P, typeGuid: q, indexCodeNum: F, dateFormat: k, conditions: R } = L;
|
|
720
|
+
let M = fe(P);
|
|
721
721
|
if (o.sort) {
|
|
722
722
|
const { field: U, order: _ } = o.sort;
|
|
723
|
-
let z = B.find((
|
|
723
|
+
let z = B.find((Q) => Q.label === U);
|
|
724
724
|
!z && T === U && (z = L), z && (M = {
|
|
725
725
|
columnName: z.columnName,
|
|
726
726
|
label: o.sort.field,
|
|
@@ -746,15 +746,15 @@ const se = (e) => {
|
|
|
746
746
|
if (Array.isArray(S) && S.length > 0 ? O = S : Array.isArray(A) && A.length > 0 && (O = A), O != null && O.length) {
|
|
747
747
|
const L = O.length;
|
|
748
748
|
for (let T = 0; T < L; T++) {
|
|
749
|
-
const p = O[T] || {}, { label: G = "", name: D = "", show: j = !1, sort:
|
|
750
|
-
let h =
|
|
749
|
+
const p = O[T] || {}, { label: G = "", name: D = "", show: j = !1, sort: P, customGroup: q, conditions: F, truncations: k, typeGuid: R = "", dateFormat: M } = p;
|
|
750
|
+
let h = fe(P);
|
|
751
751
|
if (o.sort) {
|
|
752
|
-
const { field: z, order:
|
|
752
|
+
const { field: z, order: Q } = o.sort;
|
|
753
753
|
let X = B.find((ee) => ee.label === z);
|
|
754
754
|
!X && p.label === z && (X = p), X && (h = {
|
|
755
755
|
columnName: X.columnName,
|
|
756
756
|
label: o.sort.field,
|
|
757
|
-
order:
|
|
757
|
+
order: Q.toUpperCase(),
|
|
758
758
|
type: "NORMAL"
|
|
759
759
|
});
|
|
760
760
|
}
|
|
@@ -771,15 +771,15 @@ const se = (e) => {
|
|
|
771
771
|
const _ = {};
|
|
772
772
|
if (Array.isArray(k) && k.length > 0) {
|
|
773
773
|
const z = k.length;
|
|
774
|
-
for (let
|
|
775
|
-
const X = k[
|
|
774
|
+
for (let Q = 0; Q < z; Q++) {
|
|
775
|
+
const X = k[Q] || {}, { rule: ee = "", num: Re = 0, name: Ye = "" } = X;
|
|
776
776
|
ee && Re && (_.num = Re, _.rule = ee, Ye && (_.otherGroupName = Ye));
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
(he = Object.keys(_)) != null && he.length && (U.truncation = _), ne.push(U);
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
|
-
let
|
|
782
|
+
let be = [], pe;
|
|
783
783
|
if (o != null && o.pivotTableCal) {
|
|
784
784
|
let L = [];
|
|
785
785
|
const {
|
|
@@ -788,7 +788,7 @@ const se = (e) => {
|
|
|
788
788
|
truncations: G = [],
|
|
789
789
|
sorts: D = [],
|
|
790
790
|
aggregateMethod: j = [],
|
|
791
|
-
rowDimensionKeys:
|
|
791
|
+
rowDimensionKeys: P = [],
|
|
792
792
|
colDimensionKeys: q = []
|
|
793
793
|
} = o.pivotTableCal;
|
|
794
794
|
if (B.push(...T), p != null && p.length)
|
|
@@ -820,9 +820,9 @@ const se = (e) => {
|
|
|
820
820
|
const k = J.find((R) => R.label === F);
|
|
821
821
|
k && ((De = j[F]) != null && De.length) && (k.aggregateMethod = j[F]);
|
|
822
822
|
}
|
|
823
|
-
ne = [],
|
|
823
|
+
ne = [], be = [];
|
|
824
824
|
for (const F of J)
|
|
825
|
-
|
|
825
|
+
P.includes(F.columnName) ? ne.push(F) : q.includes(F.columnName) && be.push(F);
|
|
826
826
|
}
|
|
827
827
|
if (K(t, ["text", "proportion", "counter"]) ? b = "zb" : K(t, ["valueline"]) && (b = "valueline"), s || t === "card") {
|
|
828
828
|
if (ne.length === 0 || B.length === 0)
|
|
@@ -833,7 +833,7 @@ const se = (e) => {
|
|
|
833
833
|
return;
|
|
834
834
|
if (a === "2" && B.length === 0)
|
|
835
835
|
return;
|
|
836
|
-
if (a === "3" && (!
|
|
836
|
+
if (a === "3" && (!ge && n !== "EDV_DATA_SET" || !v.labelField || !v.valueField))
|
|
837
837
|
return;
|
|
838
838
|
if (a === "3" && t === "ecanDataSelect" && B.length === 0)
|
|
839
839
|
return;
|
|
@@ -845,24 +845,24 @@ const se = (e) => {
|
|
|
845
845
|
T != null && T.length && (r = T[T.length - 1]);
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
-
let
|
|
848
|
+
let de;
|
|
849
849
|
if (!K(t, ["scatter", "valueline"]) && ((je = Object.keys(v)) != null && je.length)) {
|
|
850
|
-
const L =
|
|
850
|
+
const L = ce(N).find((p) => p.conditionKey === "parentCode"), T = {};
|
|
851
851
|
if (L) {
|
|
852
|
-
const p =
|
|
852
|
+
const p = ye(L.id) || {};
|
|
853
853
|
if (p != null && p.itemCodes)
|
|
854
854
|
T.parentItemCodes = p.itemCodes;
|
|
855
855
|
else
|
|
856
856
|
return;
|
|
857
857
|
}
|
|
858
|
-
t === "ecanDataSelect" && (T.indicatorList = B.filter((p) => p.show)), n === "EDV_DATA_SET" && (T.edvDataSetId = Le),
|
|
858
|
+
t === "ecanDataSelect" && (T.indicatorList = B.filter((p) => p.show)), n === "EDV_DATA_SET" && (T.edvDataSetId = Le), de = C({
|
|
859
859
|
url: "/diagram/formData",
|
|
860
860
|
source: n,
|
|
861
861
|
dataViewId: i,
|
|
862
862
|
plugin: "4",
|
|
863
863
|
layer: a,
|
|
864
864
|
chartType: "normalSelect",
|
|
865
|
-
rangeIndexTypeGuid:
|
|
865
|
+
rangeIndexTypeGuid: ge,
|
|
866
866
|
type: t === "ecanDataSelect" ? "normalSelectData" : "normalSelect",
|
|
867
867
|
labelField: v.labelField,
|
|
868
868
|
valueField: v.valueField,
|
|
@@ -877,7 +877,7 @@ const se = (e) => {
|
|
|
877
877
|
classifications: Ce
|
|
878
878
|
} : L = {
|
|
879
879
|
classification: H
|
|
880
|
-
},
|
|
880
|
+
}, de = C({
|
|
881
881
|
url: "/diagram",
|
|
882
882
|
source: n,
|
|
883
883
|
dataViewId: i,
|
|
@@ -895,15 +895,15 @@ const se = (e) => {
|
|
|
895
895
|
return p && Array.isArray(p) && (G.fieldValue = JSON.stringify(p)), C(C({}, T), G);
|
|
896
896
|
}),
|
|
897
897
|
idxLibMode: re,
|
|
898
|
-
preview:
|
|
898
|
+
preview: xe,
|
|
899
899
|
rowHeaders: ne,
|
|
900
900
|
keyName: e.keyName,
|
|
901
901
|
// 透视表指标排序相关入参
|
|
902
902
|
columnData: pe,
|
|
903
|
-
columnHeaders:
|
|
903
|
+
columnHeaders: be
|
|
904
904
|
}, L);
|
|
905
905
|
}
|
|
906
|
-
return
|
|
906
|
+
return console.log("resultParams", de), de;
|
|
907
907
|
}, dl = {
|
|
908
908
|
formatIndicatorParams: al
|
|
909
909
|
}, sl = (e = [], o) => {
|
|
@@ -1025,7 +1025,7 @@ const cl = (e, o, l) => {
|
|
|
1025
1025
|
formatter: (w) => {
|
|
1026
1026
|
let N = "", v = e.labelFormatter;
|
|
1027
1027
|
v === "" && (v = "{c}");
|
|
1028
|
-
const { seriesName: E, name: Z, value: re, data:
|
|
1028
|
+
const { seriesName: E, name: Z, value: re, data: xe } = w || {};
|
|
1029
1029
|
return N += ie(
|
|
1030
1030
|
v,
|
|
1031
1031
|
{
|
|
@@ -1035,7 +1035,7 @@ const cl = (e, o, l) => {
|
|
|
1035
1035
|
a: E,
|
|
1036
1036
|
b: Z,
|
|
1037
1037
|
c: re || 0
|
|
1038
|
-
},
|
|
1038
|
+
}, xe)
|
|
1039
1039
|
},
|
|
1040
1040
|
{
|
|
1041
1041
|
useNewline: !0,
|