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.
- package/dist/bt-core-app.js +13 -11
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -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 ?
|
|
42700
|
-
var
|
|
42701
|
-
if (
|
|
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
|
|
42704
|
-
|
|
42705
|
-
x:
|
|
42706
|
-
y:
|
|
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:
|
|
42711
|
-
y:
|
|
42711
|
+
x: V,
|
|
42712
|
+
y: R,
|
|
42713
|
+
z: A
|
|
42712
42714
|
});
|
|
42713
42715
|
return E;
|
|
42714
|
-
}, []).sort(ll.firstBy((E) => E.
|
|
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