@mx-cartographer/experiences 6.25.3-alpha.al1 → 6.25.3-alpha.al3
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -21994,7 +21994,7 @@ const Hf = (e) => e.reduce((i, a) => {
|
|
|
21994
21994
|
{
|
|
21995
21995
|
leftIcon: n ? /* @__PURE__ */ t(Nt, { categoryGuid: n }) : void 0,
|
|
21996
21996
|
onClick: o,
|
|
21997
|
-
rightContent: P(e, "0,0.00"),
|
|
21997
|
+
rightContent: P(Math.abs(e), "0,0.00"),
|
|
21998
21998
|
rightIcon: o ? /* @__PURE__ */ t(Ns, {}) : void 0,
|
|
21999
21999
|
subtitle: s,
|
|
22000
22000
|
title: i
|
|
@@ -24327,7 +24327,7 @@ class U0 {
|
|
|
24327
24327
|
return `${n} - ${i}`;
|
|
24328
24328
|
}
|
|
24329
24329
|
get sortedDetailedCategories() {
|
|
24330
|
-
return this.detailedCategoriesWithTransactions.slice().filter((n) => n.currentAmount !== 0).sort((n, i) => i.currentAmount - n.currentAmount);
|
|
24330
|
+
return this.detailedCategoriesWithTransactions.slice().filter((n) => n.currentAmount !== 0).sort((n, i) => Math.abs(i.currentAmount) - Math.abs(n.currentAmount));
|
|
24331
24331
|
}
|
|
24332
24332
|
get visibleCategories() {
|
|
24333
24333
|
return this.sortedDetailedCategories.slice(0, 5);
|