bt-core-app 2.0.304 → 2.0.306
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/bt-core-app.js +25 -17
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -42570,17 +42570,19 @@ function Tse() {
|
|
|
42570
42570
|
}
|
|
42571
42571
|
function Vj(e) {
|
|
42572
42572
|
const t = Tu();
|
|
42573
|
-
function a(i, o) {
|
|
42574
|
-
const
|
|
42573
|
+
function a(i, o, s) {
|
|
42574
|
+
const c = tk();
|
|
42575
42575
|
return {
|
|
42576
42576
|
chartType: o ?? "line",
|
|
42577
42577
|
data: {
|
|
42578
|
-
datasets: i.map((
|
|
42579
|
-
var
|
|
42578
|
+
datasets: i.map((u) => {
|
|
42579
|
+
var d = l(u);
|
|
42580
|
+
let v = c.getColor();
|
|
42580
42581
|
return {
|
|
42581
|
-
backgroundColor:
|
|
42582
|
-
|
|
42583
|
-
|
|
42582
|
+
backgroundColor: v,
|
|
42583
|
+
borderColor: v,
|
|
42584
|
+
data: d,
|
|
42585
|
+
label: u.label
|
|
42584
42586
|
};
|
|
42585
42587
|
})
|
|
42586
42588
|
},
|
|
@@ -42589,24 +42591,30 @@ function Vj(e) {
|
|
|
42589
42591
|
parsing: {
|
|
42590
42592
|
xAxisKey: "xValue",
|
|
42591
42593
|
yAxisKey: "yValue"
|
|
42592
|
-
}
|
|
42594
|
+
},
|
|
42595
|
+
...s
|
|
42593
42596
|
}
|
|
42594
42597
|
};
|
|
42595
42598
|
}
|
|
42596
|
-
function n(i) {
|
|
42597
|
-
const
|
|
42599
|
+
function n(i, o) {
|
|
42600
|
+
const s = tk();
|
|
42598
42601
|
return {
|
|
42599
42602
|
chartType: "bar",
|
|
42600
42603
|
data: {
|
|
42601
|
-
datasets: i.getXYSets.map((
|
|
42602
|
-
|
|
42603
|
-
|
|
42604
|
-
|
|
42605
|
-
|
|
42606
|
-
|
|
42604
|
+
datasets: i.getXYSets.map((c) => {
|
|
42605
|
+
let u = s.getColor();
|
|
42606
|
+
return {
|
|
42607
|
+
backgroundColor: u,
|
|
42608
|
+
borderColor: u,
|
|
42609
|
+
data: i.list.map((d) => c.getValue(d)),
|
|
42610
|
+
label: c.getLabel()
|
|
42611
|
+
};
|
|
42612
|
+
}),
|
|
42613
|
+
labels: i.list.map((c) => i.getBottomLabel(c))
|
|
42607
42614
|
},
|
|
42608
42615
|
options: {
|
|
42609
|
-
responsive: !0
|
|
42616
|
+
responsive: !0,
|
|
42617
|
+
...o
|
|
42610
42618
|
}
|
|
42611
42619
|
};
|
|
42612
42620
|
}
|
package/package.json
CHANGED