@mx-cartographer/experiences 6.26.27-alpha.al1 → 6.26.27-alpha.al2

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/index.es.js CHANGED
@@ -6594,6 +6594,7 @@ const cg = ({
6594
6594
  const i = Xl.find((a) => a.guid === e);
6595
6595
  return i ? n.palette.categories[i.colorName] || "" : n.palette.categories.uncategorized || "";
6596
6596
  }, Mc = (e, n, i, a = []) => {
6597
+ console.log("getting detailed category .... ", e), console.log("currentCategoryTotals: ", n), console.log("monthlyCategoryTotals: ", i);
6597
6598
  const o = e.guid, r = e.parent_guid || o, s = o === r, c = n.find((m) => m.category_guid === o)?.total || 0, l = Vr(
6598
6599
  i.filter((m) => m.category_guid === o)
6599
6600
  ), u = Vr(
@@ -6693,7 +6694,7 @@ class Dg {
6693
6694
  );
6694
6695
  }
6695
6696
  get detailedCategoriesWithTransactions() {
6696
- return vg(
6697
+ return console.log("detailed after augment: ", this.detailedCategories), vg(
6697
6698
  this.detailedCategories,
6698
6699
  this.globalStore.transactionStore.sortedTransactions
6699
6700
  );
@@ -24737,16 +24738,17 @@ const Ui = g.createContext(null), w0 = ({
24737
24738
  }
24738
24739
  );
24739
24740
  }), ib = (e, n) => {
24740
- const i = jo(e, n), a = Xo(e, n);
24741
+ const i = jo(e, n);
24742
+ console.log("monthlyCatTotals in trends chart ", e);
24743
+ const a = Xo(e, n);
24741
24744
  return [i, a].filter((o) => o.length > 0);
24742
24745
  }, ab = (e, n) => {
24743
24746
  const [i, a] = e, o = i, r = a ?? i, s = [];
24744
24747
  if (o) {
24745
24748
  const c = o.reduce((l, u) => l + u.y, 0);
24746
- console.log("credits: ", o), s.push({ label: n.income_label, amount: c });
24749
+ console.log("totalIncome ", c), s.push({ label: n.income_label, amount: c });
24747
24750
  }
24748
24751
  if (r) {
24749
- console.log("debits: ", r);
24750
24752
  const c = r.reduce((l, u) => l + u.y, 0);
24751
24753
  s.push({ label: n.spending_label, amount: c });
24752
24754
  }