bt-core-app 2.0.320 → 2.0.321

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 +13 -11
  2. package/package.json +1 -1
@@ -42695,23 +42695,25 @@ function Ej(e) {
42695
42695
  backgroundColor: M.noBackgroundColor == !0 ? void 0 : M.backgroundColor ?? h,
42696
42696
  borderColor: M.noBorderColor == !0 ? void 0 : M.borderColor ?? h,
42697
42697
  data: M.data.reduce((E, L) => {
42698
- var A = M.getLabelValue(L), I = v.tzDate(A);
42699
- u.labelFormat != null && (I = I.startOf(u.labelFormat)), f != null ? A = f(I.toFormat(om)) : u.labelFormatString != null && (A = I.toFormat(u.labelFormatString));
42700
- var V = M.getValue(L);
42701
- if (V != null)
42698
+ var A = M.getLabelValue(L), I = v.tzDate(A), V = A;
42699
+ u.labelFormat != null && (I = I.startOf(u.labelFormat)), f != null ? V = f(I.toFormat(om)) : u.labelFormatString != null && (V = I.toFormat(u.labelFormatString));
42700
+ var R = M.getValue(L);
42701
+ if (R != null)
42702
42702
  if (M.groupValues == !0) {
42703
- var R = E.find((P) => P.x == A);
42704
- R != null ? (console.log(`merging: ${R.x}`), R.y += V) : (console.log(`adding: ${A}`), E.push({
42705
- x: A,
42706
- y: V
42703
+ var P = E.find((F) => F.x == V);
42704
+ P != null ? (console.log(`merging: ${P.x}`), P.y += R) : (console.log(`adding: ${A}`), E.push({
42705
+ x: V,
42706
+ y: R,
42707
+ z: A
42707
42708
  }));
42708
42709
  } else
42709
42710
  E.push({
42710
- x: A,
42711
- y: V
42711
+ x: V,
42712
+ y: R,
42713
+ z: A
42712
42714
  });
42713
42715
  return E;
42714
- }, []).sort(ll.firstBy((E) => E.x)),
42716
+ }, []).sort(ll.firstBy((E) => E.z)),
42715
42717
  label: M.lineLabel
42716
42718
  };
42717
42719
  return M.getBackgroundColor != null && (D.backgroundColor = M.data.map((E, L) => M.getBackgroundColor(E, L, p))), D;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.320",
3
+ "version": "2.0.321",
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": {