@mx-cartographer/experiences 7.2.9-alpha-ram3-finstrong-testing → 7.2.9-alpha-ram4-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.
@@ -23,7 +23,7 @@ import V from "@mui/material/ListItemAvatar";
23
23
  import j from "@mui/material/ListItemButton";
24
24
  import z from "@mui/material/ListItemText";
25
25
  import { Text as F } from "@mxenabled/mxui";
26
- import { f as O, a as C } from "./Dialog-BPTr3qHE.mjs";
26
+ import { f as _, a as C } from "./Dialog-BPTr3qHE.mjs";
27
27
  import { b as W } from "./Localization-2MODESHW.mjs";
28
28
  const m = {
29
29
  creditScore: {
@@ -52,7 +52,7 @@ const m = {
52
52
  OFF_TRACK: "Off Track",
53
53
  MISSING: "Missing"
54
54
  };
55
- var _ = /* @__PURE__ */ ((e) => (e.Connections = "connections", e.CreditScore = "credit_score", e.DateOfBirth = "date_of_birth", e.MonthlyIncome = "monthly_income", e))(_ || {});
55
+ var O = /* @__PURE__ */ ((e) => (e.Connections = "connections", e.CreditScore = "credit_score", e.DateOfBirth = "date_of_birth", e.MonthlyIncome = "monthly_income", e))(O || {});
56
56
  const q = ({ list: e, onClickItem: t }) => /* @__PURE__ */ i(K, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ i(
57
57
  U,
58
58
  {
@@ -179,11 +179,11 @@ const q = ({ list: e, onClickItem: t }) => /* @__PURE__ */ i(K, { sx: { bgcolor:
179
179
  secondaryText: c
180
180
  };
181
181
  }, J = (e, t) => ({
182
- [_.DateOfBirth]: (n) => R(new Date(Number(n) * 1e3), "MMM d, yyyy"),
183
- [_.MonthlyIncome]: (n) => `$${n}`
182
+ [O.DateOfBirth]: (n) => R(new Date(Number(n) * 1e3), "MMM d, yyyy"),
183
+ [O.MonthlyIncome]: (n) => `$${n}`
184
184
  })[e]?.(t) ?? String(t), $t = (e) => e !== null ? Math.round(e * 100) : null, Bt = (e) => {
185
185
  const t = new Date((/* @__PURE__ */ new Date()).getFullYear(), e - 1, 1);
186
- return O(t, C.MONTH_SHORT);
186
+ return _(t, C.MONTH_SHORT);
187
187
  }, Kt = (e) => {
188
188
  const { good: t, poor: r } = m.daysOfCashOnHand;
189
189
  return e === null ? "MISSING" : e >= t ? "GOOD" : e >= r ? "FAIR" : "OFF_TRACK";
@@ -243,9 +243,9 @@ const q = ({ list: e, onClickItem: t }) => /* @__PURE__ */ i(K, { sx: { bgcolor:
243
243
  return Math.max(a / (f || 1), 1);
244
244
  }, qt = (e) => !e || e <= 0 ? "0%" : e >= 1e3 ? "100%" : `${Math.round(e / 10)}%`, Jt = (e) => E.find((r) => e < r.upperLimit)?.targetAmount ?? tt, Qt = (e) => E.find((n) => e < n.upperLimit)?.contributionPeriodIndex ?? Z, Zt = (e, t) => e.map((n) => {
245
245
  const o = new Date(0, n.month - 1, 1);
246
- return { x: O(o, C.MONTH_SHORT), y: n[t] };
247
- }).reverse(), nt = (e) => e?.health_scores.sort((t, r) => t.monthly_health_score_average.month - r.monthly_health_score_average.month).map((t) => ({
248
- x: O(
246
+ return { x: _(o, C.MONTH_SHORT), y: n[t] };
247
+ }).reverse(), nt = (e) => e.sort((t, r) => t.monthly_health_score_average.month - r.monthly_health_score_average.month).map((t) => ({
248
+ x: _(
249
249
  new Date(0, t.monthly_health_score_average.month - 1, 1),
250
250
  C.MONTH_SHORT
251
251
  ),
@@ -400,7 +400,7 @@ class te {
400
400
  }
401
401
  }
402
402
  export {
403
- _ as A,
403
+ O as A,
404
404
  u as C,
405
405
  te as F,
406
406
  vt as P,
@@ -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-D2uwTgBD.mjs";
67
+ import { F as Ct } from "../FinstrongStore-rVhw737g.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";
@@ -5,8 +5,8 @@ import { useTheme as G, alpha as ue } from "@mui/material/styles";
5
5
  import { PieChart as Vt, BarPlot as Yt } from "@mui/x-charts";
6
6
  import { TrendingUp as dt, ArrowRightAlt as Xt, TrendingDown as Ut, AccountBalance as pt, ChevronRight as Z, MultilineChart as ut, CreditCard as ze, CheckCircle as qt, Cancel as Zt, Savings as Qt, ContentCopy as Jt, Add as _t, Cardiology as en, Payments as tn, CalendarMonth as nn, ExpandMore as on } from "@mxenabled/mx-icons";
7
7
  import { P as M, H3 as j, Text as A, InstitutionLogo as ht, H2 as Ie, MerchantLogo as rn, Icon as an } from "@mxenabled/mxui";
8
- import { g as sn, a as cn, r as Qe, b as ln, c as Ge, d as mt, C as be, e as fe, f as dn, h as pn, i as un, j as gt, k as Je, l as _n, m as et, n as hn, o as yt, p as mn, q as bt, s as ke, t as gn, u as yn, v as bn, w as fn, A as ee, x as xn, P as Sn } from "../FinstrongStore-D2uwTgBD.mjs";
9
- import { y as yi, F as bi } from "../FinstrongStore-D2uwTgBD.mjs";
8
+ import { g as sn, a as cn, r as Qe, b as ln, c as Ge, d as mt, C as be, e as fe, f as dn, h as pn, i as un, j as gt, k as Je, l as _n, m as et, n as hn, o as yt, p as mn, q as bt, s as ke, t as gn, u as yn, v as bn, w as fn, A as ee, x as xn, P as Sn } from "../FinstrongStore-rVhw737g.mjs";
9
+ import { y as yi, F as bi } from "../FinstrongStore-rVhw737g.mjs";
10
10
  import * as tt from "d3";
11
11
  import { observer as x } from "mobx-react-lite";
12
12
  import { u as w, b as Y, p as Q, z as R, q as Cn, a as ft, d as Se, m as He, g as vn, f as wn, j as kn, h as Mn, i as xt } from "../hooks-C41HAxM5.mjs";
@@ -102,9 +102,7 @@ export declare const getSeriesGraphData: (monthlySummaries: MonthlySummaries[],
102
102
  x: string;
103
103
  y: number;
104
104
  }[];
105
- export declare const augmentChartData: (averageHealthScores: {
106
- health_scores: MonthlyHealthScoreItem[];
107
- }) => {
105
+ export declare const augmentChartData: (averageHealthScores: MonthlyHealthScoreItem[]) => {
108
106
  x: string;
109
107
  y: number;
110
108
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.2.9-alpha-ram3-finstrong-testing",
3
+ "version": "7.2.9-alpha-ram4-finstrong-testing",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",