@mx-cartographer/experiences 6.26.10-alpha.san1 → 6.26.11-alpha.sms1
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 +9 -8
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -9541,43 +9541,43 @@ class dm {
|
|
|
9541
9541
|
* Calculates the total amount of all expenses for the current month.
|
|
9542
9542
|
*/
|
|
9543
9543
|
get expenseTotal() {
|
|
9544
|
-
return this.
|
|
9544
|
+
return this.currentMonthExpenses.reduce(zn, 0);
|
|
9545
9545
|
}
|
|
9546
9546
|
/**
|
|
9547
9547
|
* Calculates the total amount of all paid expenses for the current month.
|
|
9548
9548
|
*/
|
|
9549
9549
|
get paidExpenseTotal() {
|
|
9550
|
-
return this.
|
|
9550
|
+
return this.currentMonthExpenses.filter((n) => n.status === Je.Paid).reduce(zn, 0);
|
|
9551
9551
|
}
|
|
9552
9552
|
/**
|
|
9553
9553
|
* Calculates the total amount of all missed expenses for the current month.
|
|
9554
9554
|
*/
|
|
9555
9555
|
get missedExpenseTotal() {
|
|
9556
|
-
return this.
|
|
9556
|
+
return this.currentMonthExpenses.filter((n) => n.status === Je.Missed).reduce(zn, 0);
|
|
9557
9557
|
}
|
|
9558
9558
|
/**
|
|
9559
9559
|
* Calculates the total amount of all upcoming expenses for the current month.
|
|
9560
9560
|
*/
|
|
9561
9561
|
get upcomingExpenseTotal() {
|
|
9562
|
-
return this.
|
|
9562
|
+
return this.currentMonthExpenses.filter((n) => n.status === Je.Upcoming).reduce(zn, 0);
|
|
9563
9563
|
}
|
|
9564
9564
|
/**
|
|
9565
9565
|
* Calculates the total amount of all income for the current month.
|
|
9566
9566
|
*/
|
|
9567
9567
|
get incomeTotal() {
|
|
9568
|
-
return this.
|
|
9568
|
+
return this.currentMonthIncome.reduce(zn, 0);
|
|
9569
9569
|
}
|
|
9570
9570
|
/**
|
|
9571
9571
|
* Calculates the total amount of all paid income for the current month.
|
|
9572
9572
|
*/
|
|
9573
9573
|
get paidIncomeTotal() {
|
|
9574
|
-
return this.
|
|
9574
|
+
return this.currentMonthIncome.filter((n) => n.status === Je.Paid).reduce(zn, 0);
|
|
9575
9575
|
}
|
|
9576
9576
|
/**
|
|
9577
9577
|
* Calculates the total amount of all upcoming income for the current month.
|
|
9578
9578
|
*/
|
|
9579
9579
|
get upcomingIncomeTotal() {
|
|
9580
|
-
return this.
|
|
9580
|
+
return this.currentMonthIncome.filter((n) => n.status === Je.Upcoming).reduce(zn, 0);
|
|
9581
9581
|
}
|
|
9582
9582
|
/**
|
|
9583
9583
|
* Get the recurrences for the currently selected day.
|
|
@@ -24633,6 +24633,7 @@ class $0 {
|
|
|
24633
24633
|
return this.appData.user_profile;
|
|
24634
24634
|
}
|
|
24635
24635
|
loadAppData = async (n) => {
|
|
24636
|
+
console.log("appDataOverrides in exp", n);
|
|
24636
24637
|
try {
|
|
24637
24638
|
const i = n || await this.api.getAppData();
|
|
24638
24639
|
J(() => {
|
|
@@ -24803,7 +24804,7 @@ class mT {
|
|
|
24803
24804
|
transactions: c,
|
|
24804
24805
|
userFeatures: l
|
|
24805
24806
|
} = {}) => {
|
|
24806
|
-
await Promise.all([
|
|
24807
|
+
console.log("appData from exp", i), await Promise.all([
|
|
24807
24808
|
// Load copy, config and quser data
|
|
24808
24809
|
this.copyStore.loadCopy(),
|
|
24809
24810
|
this.appDataStore.loadAppData(i),
|