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.
Files changed (2) hide show
  1. package/dist/bt-core-app.js +22 -20
  2. package/package.json +1 -1
@@ -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 s = tk();
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((c) => {
42579
- var u = l(c);
42580
- let d = s.getColor();
42578
+ datasets: i.map((u) => {
42579
+ var d = l(u);
42580
+ let v = c.getColor();
42581
42581
  return {
42582
- backgroundColor: d,
42583
- borderColor: d,
42584
- data: u,
42585
- label: c.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 o = tk();
42599
+ function n(i, o) {
42600
+ const s = tk();
42600
42601
  return {
42601
42602
  chartType: "bar",
42602
42603
  data: {
42603
- datasets: i.getXYSets.map((s) => {
42604
- let c = o.getColor();
42604
+ datasets: i.getXYSets.map((c) => {
42605
+ let u = s.getColor();
42605
42606
  return {
42606
- backgroundColor: c,
42607
- borderColor: c,
42608
- data: i.list.map((u) => s.getValue(u)),
42609
- label: s.getLabel()
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((s) => i.getBottomLabel(s))
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.305",
3
+ "version": "2.0.306",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {