@mx-cartographer/experiences 7.2.15-alpha-ram22-finstrong-testing → 7.2.15-alpha-ram24-finstrong-testing
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/finstrong/index.es.js +15 -16
- package/package.json +1 -1
|
@@ -1682,17 +1682,18 @@ const L = {
|
|
|
1682
1682
|
totalComparison: d,
|
|
1683
1683
|
totalMain: l
|
|
1684
1684
|
}) => {
|
|
1685
|
-
const p = E(), h = so(p.breakpoints.down("xs"))
|
|
1686
|
-
console.log(r, "data");
|
|
1687
|
-
const _ = m.useMemo(
|
|
1685
|
+
const p = E(), h = so(p.breakpoints.down("xs")), _ = m.useMemo(
|
|
1688
1686
|
() => r.sort((g, f) => g.month - f.month).map((g) => {
|
|
1689
1687
|
const f = Ln(g.month), M = {
|
|
1690
1688
|
spending_vs_income: {
|
|
1691
|
-
main: g.
|
|
1692
|
-
comparison: g.
|
|
1693
|
-
formattedMain: W(
|
|
1689
|
+
main: g.standard_spend,
|
|
1690
|
+
comparison: g.income,
|
|
1691
|
+
formattedMain: W(
|
|
1692
|
+
g.standard_spend > 1e3 ? Math.round(g.standard_spend / 100) * 100 : Math.round(g.standard_spend),
|
|
1693
|
+
"0.0a"
|
|
1694
|
+
),
|
|
1694
1695
|
formattedComparison: W(
|
|
1695
|
-
Math.round(g.
|
|
1696
|
+
g.income > 1e3 ? Math.round(g.income / 100) * 100 : Math.round(g.income),
|
|
1696
1697
|
"0.0a"
|
|
1697
1698
|
)
|
|
1698
1699
|
},
|
|
@@ -1709,9 +1710,7 @@ const L = {
|
|
|
1709
1710
|
};
|
|
1710
1711
|
}),
|
|
1711
1712
|
[r, t]
|
|
1712
|
-
)
|
|
1713
|
-
console.log(_, "chartData");
|
|
1714
|
-
const b = {
|
|
1713
|
+
), b = {
|
|
1715
1714
|
dataKey: "label",
|
|
1716
1715
|
scaleType: "band"
|
|
1717
1716
|
}, x = Math.max(..._.map((g) => Math.max(g.main, g.comparison))), v = Math.ceil(x * 1.2 / 1e3) * 1e3, y = v / 3, D = {
|
|
@@ -1767,17 +1766,17 @@ const L = {
|
|
|
1767
1766
|
sx: {
|
|
1768
1767
|
width: 10,
|
|
1769
1768
|
height: 10,
|
|
1770
|
-
backgroundColor: "chartMono.
|
|
1769
|
+
backgroundColor: "chartMono.chartMono3",
|
|
1771
1770
|
borderRadius: "2px"
|
|
1772
1771
|
}
|
|
1773
1772
|
}
|
|
1774
1773
|
),
|
|
1775
1774
|
/* @__PURE__ */ i(u, { sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
1776
1775
|
/* @__PURE__ */ i(I, { variant: "subtitle2", children: [
|
|
1777
|
-
|
|
1776
|
+
a,
|
|
1778
1777
|
" "
|
|
1779
1778
|
] }),
|
|
1780
|
-
!h &&
|
|
1779
|
+
!h && l && /* @__PURE__ */ e(I, { sx: { fontWeight: 700 }, variant: "subtitle2", children: l })
|
|
1781
1780
|
] })
|
|
1782
1781
|
] }),
|
|
1783
1782
|
/* @__PURE__ */ i(u, { alignItems: "center", direction: "row", spacing: 8, children: [
|
|
@@ -1787,17 +1786,17 @@ const L = {
|
|
|
1787
1786
|
sx: {
|
|
1788
1787
|
width: 10,
|
|
1789
1788
|
height: 10,
|
|
1790
|
-
backgroundColor: "chartMono.
|
|
1789
|
+
backgroundColor: "chartMono.chartMono5",
|
|
1791
1790
|
borderRadius: "2px"
|
|
1792
1791
|
}
|
|
1793
1792
|
}
|
|
1794
1793
|
),
|
|
1795
1794
|
/* @__PURE__ */ i(u, { sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
1796
1795
|
/* @__PURE__ */ i(I, { variant: "subtitle2", children: [
|
|
1797
|
-
|
|
1796
|
+
s,
|
|
1798
1797
|
" "
|
|
1799
1798
|
] }),
|
|
1800
|
-
!h &&
|
|
1799
|
+
!h && d && /* @__PURE__ */ e(I, { sx: { fontWeight: 700 }, variant: "subtitle2", children: d })
|
|
1801
1800
|
] })
|
|
1802
1801
|
] })
|
|
1803
1802
|
] }),
|
package/package.json
CHANGED