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