@mx-cartographer/experiences 7.2.9-alpha-ram1 → 7.2.9-alpha-ram2-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.
|
@@ -22,7 +22,7 @@ import X from "@mui/material/ListItem";
|
|
|
22
22
|
import V from "@mui/material/ListItemAvatar";
|
|
23
23
|
import j from "@mui/material/ListItemButton";
|
|
24
24
|
import z from "@mui/material/ListItemText";
|
|
25
|
-
import { Text as
|
|
25
|
+
import { Text as F } from "@mxenabled/mxui";
|
|
26
26
|
import { f as O, a as C } from "./Dialog-BPTr3qHE.mjs";
|
|
27
27
|
import { b as W } from "./Localization-2MODESHW.mjs";
|
|
28
28
|
const m = {
|
|
@@ -83,8 +83,8 @@ const q = ({ list: e, onClickItem: t }) => /* @__PURE__ */ i(K, { sx: { bgcolor:
|
|
|
83
83
|
/* @__PURE__ */ i(
|
|
84
84
|
z,
|
|
85
85
|
{
|
|
86
|
-
primary: /* @__PURE__ */ i(
|
|
87
|
-
secondary: /* @__PURE__ */ i(
|
|
86
|
+
primary: /* @__PURE__ */ i(F, { sx: { color: "text.secondary" }, variant: "caption", children: r.primaryText }),
|
|
87
|
+
secondary: /* @__PURE__ */ i(F, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: r.secondaryText })
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
] }) }),
|
|
@@ -253,7 +253,7 @@ const q = ({ list: e, onClickItem: t }) => /* @__PURE__ */ i(K, { sx: { bgcolor:
|
|
|
253
253
|
})), ot = (e) => e.sort((r, n) => n.transaction.date - r.transaction.date).map(({ transaction: r }) => ({
|
|
254
254
|
...r
|
|
255
255
|
}));
|
|
256
|
-
class
|
|
256
|
+
class y {
|
|
257
257
|
fetchInstance;
|
|
258
258
|
constructor(t, r, n) {
|
|
259
259
|
this.fetchInstance = new x(t, r, void 0, n);
|
|
@@ -262,14 +262,14 @@ class F {
|
|
|
262
262
|
getAverageHealthScores = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/monthly_averages`).then((t) => t);
|
|
263
263
|
getDebtSpend = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/transactions/debt_spend`).then((t) => t.debt_spend);
|
|
264
264
|
getIncome = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/transactions/income`).then((t) => t.income);
|
|
265
|
-
getMonthlySummaries = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/monthly_summaries`).then((t) => t
|
|
265
|
+
getMonthlySummaries = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/monthly_summaries`).then((t) => t);
|
|
266
266
|
getHealthScoreChangeReports = async (t, r) => this.fetchInstance.get(`${h.HEALTH_SCORES}/change_report/from/${t}/to/${r}`).then((n) => n);
|
|
267
267
|
getPeerScore = async (t) => this.fetchInstance.get(`${h.HEALTH_SCORES}/average/${t}`).then((r) => r.average_health_score);
|
|
268
268
|
getSpendingFeeTransactions = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/transactions/spending_fee`).then((t) => t);
|
|
269
269
|
getStandardSpend = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/transactions/standard_spend`).then((t) => t);
|
|
270
270
|
}
|
|
271
271
|
class te {
|
|
272
|
-
api = new
|
|
272
|
+
api = new y("/", "");
|
|
273
273
|
augmentedChartData = [];
|
|
274
274
|
averageHealthScores = [];
|
|
275
275
|
monthlySummaries = [];
|
|
@@ -285,7 +285,7 @@ class te {
|
|
|
285
285
|
healthScoreChangeReports = [];
|
|
286
286
|
peerScore = null;
|
|
287
287
|
constructor(t) {
|
|
288
|
-
this.globalStore = t, this.api = new
|
|
288
|
+
this.globalStore = t, this.api = new y(t.endpoint, t.sessionToken, t.onError), b(this);
|
|
289
289
|
}
|
|
290
290
|
calculateHealthScore = async () => {
|
|
291
291
|
try {
|
|
@@ -428,5 +428,5 @@ export {
|
|
|
428
428
|
Ut as v,
|
|
429
429
|
Xt as w,
|
|
430
430
|
kt as x,
|
|
431
|
-
|
|
431
|
+
y
|
|
432
432
|
};
|
package/dist/common/index.es.js
CHANGED
|
@@ -64,7 +64,7 @@ import { startOfToday as U } from "date-fns/startOfToday";
|
|
|
64
64
|
import { f as bt, a as wt, b as L } from "../BudgetUtil-wjoNuj7B.mjs";
|
|
65
65
|
import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-wjoNuj7B.mjs";
|
|
66
66
|
import { a as xt } from "../DebtsStore-DB5U2WMC.mjs";
|
|
67
|
-
import { F as Ct } from "../FinstrongStore-
|
|
67
|
+
import { F as Ct } from "../FinstrongStore-CNXrAKRz.mjs";
|
|
68
68
|
import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
69
69
|
import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
|
|
70
70
|
import { N as Bt } from "../NetWorthStore-CUz0bwVm.mjs";
|