@mx-cartographer/experiences 8.0.0-alpha.sms1 → 8.0.0-alpha.sms2

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.
Files changed (76) hide show
  1. package/dist/{Account-BDXA6PWh.mjs → Account-Cp30A3ad.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-CUztd3-b.mjs → AccountDetailsContent-C1HumFnW.mjs} +16 -16
  3. package/dist/{AccountDetailsHeader-i3KFhNuo.mjs → AccountDetailsHeader-NMx79DGs.mjs} +5 -5
  4. package/dist/{AccountFields-QZspYAji.mjs → AccountFields-CW6cIthP.mjs} +7 -5
  5. package/dist/{AccountListItem-DX5upmCS.mjs → AccountListItem-DxmAs98Z.mjs} +4 -4
  6. package/dist/{AccountStore-BcnDpyLL.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
  7. package/dist/{Accounts-DXfZotRC.mjs → Accounts-DUHkUyK4.mjs} +1 -1
  8. package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-CIDAPPPT.mjs} +1 -1
  9. package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-naOtJcwo.mjs} +12 -12
  10. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  11. package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +3 -3
  12. package/dist/{CategoryStore-DTgyAMM7.mjs → CategoryStore-MUwRWH9e.mjs} +2 -2
  13. package/dist/{CategoryUtil-C5cR-nfQ.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
  14. package/dist/{ConnectDrawer-BIbTqYOH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +28 -28
  15. package/dist/{ConnectionsDrawer-BFfY3_zB.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
  16. package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-BrGvhgVK.mjs} +8 -8
  17. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-CDPZw_-m.mjs} +1 -1
  18. package/dist/{DebtsStore-BbJB0nmu.mjs → DebtsStore-hi1cqrRk.mjs} +1 -1
  19. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CDV0kKxj.mjs} +24 -24
  20. package/dist/{Drawer-BEtCk82g.mjs → Drawer-Dqe5EqvA.mjs} +14 -14
  21. package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
  22. package/dist/{FinstrongStore-BIrX0Xg2.mjs → FinstrongStore-dKZOZ2hM.mjs} +53 -53
  23. package/dist/{GoalStore-DpWY3gVb.mjs → GoalStore-CFeAJloA.mjs} +2 -2
  24. package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
  25. package/dist/{Help-BnPXM_N2.mjs → Help-i4OasOO-.mjs} +177 -180
  26. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  27. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-BNCWQAN_.mjs} +1 -1
  28. package/dist/{Loader-DUaFpDGv.mjs → Loader-BSWSYqvn.mjs} +3 -3
  29. package/dist/{ManageIncome-NpXHhO1n.mjs → ManageIncome-D_qVX5dN.mjs} +8 -8
  30. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
  31. package/dist/MiniWidgetContainer-D7MkHG15.mjs +56 -0
  32. package/dist/{NetWorthStore-lsuhEpn6.mjs → NetWorthStore-8FFC1Bs0.mjs} +4 -4
  33. package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-BsWiYD94.mjs} +14 -14
  34. package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-62e0mU_3.mjs} +2 -2
  35. package/dist/{RecurringSettings-CqZh1SQa.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
  36. package/dist/{RecurringTransactions-BKcYmpv3.mjs → RecurringTransactions-Bhx56aA3.mjs} +36 -36
  37. package/dist/{RecurringTransactionsStore-Ni5tSQIO.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
  38. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-C6KH8JH4.mjs} +9 -9
  39. package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BASMQSIp.mjs} +1 -1
  40. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  41. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-DPQ96k3x.mjs} +4 -4
  42. package/dist/{SpendingLegend-CjX-hX2O.mjs → SpendingLegend-CZzDb-7d.mjs} +3 -3
  43. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  44. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  45. package/dist/{TransactionDetails-5M2vfr59.mjs → TransactionDetails-Duv1X9ec.mjs} +9 -9
  46. package/dist/{TransactionStore-D-Q3BU9Z.mjs → TransactionStore-DgLrYW4C.mjs} +41 -58
  47. package/dist/{TrendsStore-BW9FGQeE.mjs → TrendsStore-_mRaFUdf.mjs} +37 -37
  48. package/dist/{User-wXzDI4M8.mjs → User-DqNX2GAK.mjs} +19 -19
  49. package/dist/{ViewMoreMicroCard-C0832BMe.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +68 -69
  50. package/dist/{WidgetContainer-BhQ1Kx2z.mjs → WidgetContainer-B1Jzb4XA.mjs} +33 -33
  51. package/dist/accounts/index.es.js +71 -71
  52. package/dist/analytics/index.es.js +7 -7
  53. package/dist/budgets/index.es.js +110 -110
  54. package/dist/cashflow/index.es.js +68 -68
  55. package/dist/categories/index.es.js +2 -2
  56. package/dist/common/index.es.js +248 -248
  57. package/dist/dashboard/index.es.js +7 -7
  58. package/dist/debts/index.es.js +12 -12
  59. package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +3 -3
  60. package/dist/finstrong/index.es.js +18 -18
  61. package/dist/goals/index.es.js +19 -19
  62. package/dist/help/index.es.js +6 -6
  63. package/dist/investments/index.es.js +4 -4
  64. package/dist/merchants/index.es.js +12 -12
  65. package/dist/microinsights/index.es.js +1 -1
  66. package/dist/networth/index.es.js +11 -11
  67. package/dist/notifications/index.es.js +4 -4
  68. package/dist/recurringtransactions/index.es.js +16 -16
  69. package/dist/settings/index.es.js +62 -62
  70. package/dist/spending/index.es.js +26 -26
  71. package/dist/transactions/index.es.js +58 -58
  72. package/dist/trends/index.es.js +59 -59
  73. package/dist/{useAccountDisplayName-CFNF8766.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
  74. package/package.json +16 -21
  75. package/dist/MicroWidgetContainer-DEiRnYVa.mjs +0 -45
  76. package/dist/MiniWidgetContainer-CmXpTylX.mjs +0 -56
@@ -1,10 +1,10 @@
1
- import { intlFormat as h } from "date-fns/intlFormat";
2
- import { g } from "./Localization-2MODESHW.mjs";
3
- import { jsx as a, jsxs as y } from "react/jsx-runtime";
4
- import M from "@mui/material/Dialog";
5
- import T from "@mui/material/DialogContent";
1
+ import { intlFormat as D } from "date-fns/intlFormat";
2
+ import { g as y } from "./Localization-2MODESHW.mjs";
3
+ import { jsx as a, jsxs as M } from "react/jsx-runtime";
4
+ import T from "@mui/material/Dialog";
5
+ import g from "@mui/material/DialogContent";
6
6
  import { DialogHeader as u, DialogFooter as H } from "@mxenabled/mxui";
7
- const L = "do", S = "MMM do, yyyy", x = {
7
+ const F = "do", L = "MMM do, yyyy", S = {
8
8
  TIME_STAMP_HOUR_MINUTE: {
9
9
  hour: "numeric",
10
10
  minute: "numeric"
@@ -60,14 +60,14 @@ const L = "do", S = "MMM do, yyyy", x = {
60
60
  day: "numeric",
61
61
  year: "numeric"
62
62
  }
63
- }, b = (i, o) => h(new Date(i), Object.assign(o), { locale: g() }), N = ({
63
+ }, x = (i, o) => D(new Date(i), Object.assign(o), { locale: y() }), b = ({
64
64
  className: i,
65
65
  copy: o = {
66
66
  title: "",
67
67
  close_aria: "Close"
68
68
  },
69
- disablePrimaryButton: n = !1,
70
- isOpen: e = !1,
69
+ disablePrimaryButton: e = !1,
70
+ isOpen: n = !1,
71
71
  onClose: r,
72
72
  onPrimaryAction: m,
73
73
  primaryColor: c = "primary",
@@ -78,16 +78,16 @@ const L = "do", S = "MMM do, yyyy", x = {
78
78
  children: A,
79
79
  ...d
80
80
  }) => {
81
- const D = () => {
81
+ const O = () => {
82
82
  m?.(), r();
83
- }, O = () => {
83
+ }, h = () => {
84
84
  t && t(), r();
85
85
  };
86
- return /* @__PURE__ */ a("div", { className: `mx-cmn-dialog ${i}`, children: /* @__PURE__ */ y(
87
- M,
86
+ return /* @__PURE__ */ a("div", { className: `mx-cmn-dialog ${i}`, children: /* @__PURE__ */ M(
87
+ T,
88
88
  {
89
89
  onClose: r,
90
- open: e,
90
+ open: n,
91
91
  sx: {
92
92
  "& .MuiDialog-paperScrollPaper": {
93
93
  backgroundColor: "background.default"
@@ -97,13 +97,13 @@ const L = "do", S = "MMM do, yyyy", x = {
97
97
  ...d,
98
98
  children: [
99
99
  /* @__PURE__ */ a(u, { copy: { title: o.title, close_aria: o.close_aria }, onClose: r }),
100
- /* @__PURE__ */ a(T, { sx: { lineHeight: 1.5 }, children: A }),
100
+ /* @__PURE__ */ a(g, { sx: { lineHeight: 1.5 }, children: A }),
101
101
  /* @__PURE__ */ a(
102
102
  H,
103
103
  {
104
- isPrimaryDisabled: n,
105
- onPrimaryAction: D,
106
- onSecondaryAction: O,
104
+ isPrimaryDisabled: e,
105
+ onPrimaryAction: O,
106
+ onSecondaryAction: h,
107
107
  primaryColor: c,
108
108
  primaryText: _,
109
109
  secondaryColor: l,
@@ -113,11 +113,11 @@ const L = "do", S = "MMM do, yyyy", x = {
113
113
  ]
114
114
  }
115
115
  ) });
116
- }, I = N;
116
+ };
117
117
  export {
118
- I as D,
119
- L as O,
120
- x as a,
121
- S as b,
122
- b as f
118
+ b as D,
119
+ F as O,
120
+ S as a,
121
+ L as b,
122
+ x as f
123
123
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
2
  import u from "@mui/material/Box";
3
3
  import s from "@mui/material/Stack";
4
- import { H2 as y, Drawer as B } from "@mxenabled/mxui";
4
+ import { H2 as B, Drawer as D } from "@mxenabled/mxui";
5
5
  import x from "@mui/material/Button";
6
6
  import v from "@mui/material/IconButton";
7
7
  import { ArrowBack as j } from "@mxenabled/mx-icons";
@@ -85,13 +85,13 @@ const F = ({
85
85
  margin: "auto",
86
86
  textAlign: "center"
87
87
  },
88
- children: /* @__PURE__ */ r(y, { bold: !0, variant: "Body", children: n })
88
+ children: /* @__PURE__ */ r(B, { bold: !0, variant: "Body", children: n })
89
89
  }
90
90
  ),
91
91
  /* @__PURE__ */ r(u, { width: "44px" })
92
92
  ]
93
93
  }
94
- ), I = ({
94
+ ), $ = ({
95
95
  ariaLabelClose: e = "Close",
96
96
  children: a,
97
97
  footerStyles: t = {},
@@ -105,14 +105,14 @@ const F = ({
105
105
  primaryButtonProps: b,
106
106
  primaryColor: m = "primary",
107
107
  primaryText: g,
108
- secondaryColor: w = "secondary",
109
- secondaryText: f,
108
+ secondaryColor: f = "secondary",
109
+ secondaryText: w,
110
110
  shouldShowHeaderBorders: k = !0,
111
111
  shouldShowHeaderShadow: C = !1,
112
- title: D,
113
- ...S
112
+ title: S,
113
+ ...y
114
114
  }) => /* @__PURE__ */ r(
115
- B,
115
+ D,
116
116
  {
117
117
  id: n,
118
118
  isOpen: l,
@@ -127,7 +127,7 @@ const F = ({
127
127
  backgroundColor: "background.paper"
128
128
  }
129
129
  },
130
- ...S,
130
+ ...y,
131
131
  children: /* @__PURE__ */ h(s, { height: "100%", justifyContent: "space-between", children: [
132
132
  /* @__PURE__ */ r(
133
133
  H,
@@ -136,7 +136,7 @@ const F = ({
136
136
  onClose: i,
137
137
  shouldShowBorders: k,
138
138
  shouldShowShadow: C,
139
- title: D
139
+ title: S
140
140
  }
141
141
  ),
142
142
  /* @__PURE__ */ r(u, { height: "100%", overflow: "auto", children: a }),
@@ -151,13 +151,13 @@ const F = ({
151
151
  primaryButtonProps: b,
152
152
  primaryColor: m,
153
153
  primaryText: g,
154
- secondaryColor: w,
155
- secondaryText: f
154
+ secondaryColor: f,
155
+ secondaryText: w
156
156
  }
157
157
  )
158
158
  ] })
159
159
  }
160
- ), q = I;
160
+ );
161
161
  export {
162
- q as D
162
+ $ as D
163
163
  };
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { observer as c } from "mobx-react-lite";
3
3
  import { Icon as i } from "@mxenabled/mxui";
4
- import { e as p } from "./exportTransactionsToCSV-Cz2t0lmA.mjs";
5
- import { O as m } from "./User-wXzDI4M8.mjs";
6
- import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-BFpuIAXW.mjs";
5
+ import { O as m } from "./User-DqNX2GAK.mjs";
6
+ import { R as x } from "./ResponsiveButton-C6KH8JH4.mjs";
7
7
  import { g as _, h as C, u as l } from "./hooks-C41HAxM5.mjs";
8
8
  const v = ({ filter: t }) => {
9
9
  const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
@@ -23,7 +23,7 @@ import X from "@mui/material/ListItemAvatar";
23
23
  import V from "@mui/material/ListItemButton";
24
24
  import W from "@mui/material/ListItemText";
25
25
  import { Text as y } from "@mxenabled/mxui";
26
- import { f as O, a as T } from "./Dialog-BPTr3qHE.mjs";
26
+ import { f as O, a as T } from "./Dialog-CDV0kKxj.mjs";
27
27
  import { b as j } from "./Localization-2MODESHW.mjs";
28
28
  import { f as q } from "./NumberFormatting-DjTD0t3W.mjs";
29
29
  const m = {
@@ -54,7 +54,7 @@ const m = {
54
54
  MISSING: "MISSING DATA"
55
55
  };
56
56
  var I = /* @__PURE__ */ ((e) => (e.Connections = "connections", e.CreditScore = "credit_score", e.DateOfBirth = "date_of_birth", e.MonthlyIncome = "monthly_income", e))(I || {});
57
- const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ c(
57
+ const Mt = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ c(
58
58
  Y,
59
59
  {
60
60
  sx: {
@@ -92,7 +92,7 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
92
92
  r < e.length - 1 && /* @__PURE__ */ c(B, { sx: { color: "divider", ml: 68 } })
93
93
  ] }, n.key))
94
94
  }
95
- ) }), Gt = J, Lt = (e) => e * (180 / Math.PI), wt = (e, t) => [
95
+ ) }), Gt = (e) => e * (180 / Math.PI), Lt = (e, t) => [
96
96
  {
97
97
  description: t.vulnerable_description,
98
98
  max: 25,
@@ -129,7 +129,7 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
129
129
  GOOD: "#FFC02C",
130
130
  VERY_GOOD: "#29C76B",
131
131
  EXCEPTIONAL: "#008A5A"
132
- }, Nt = (e, t, n) => e >= 300 && e < 580 ? {
132
+ }, wt = (e, t, n) => e >= 300 && e < 580 ? {
133
133
  status: n.poor,
134
134
  color: t ? u.POOR : g.POOR
135
135
  } : e >= 580 && e < 670 ? {
@@ -144,7 +144,7 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
144
144
  } : e >= 800 && e <= 850 ? {
145
145
  status: n.exceptional,
146
146
  color: t ? u.EXCEPTIONAL : g.EXCEPTIONAL
147
- } : { status: n.missing_data }, Pt = (e, t, n, r) => {
147
+ } : { status: n.missing_data }, Nt = (e, t, n, r) => {
148
148
  const o = e.reduce((i, l) => i + l.value, 0);
149
149
  let a = 0;
150
150
  const s = e.map((i) => {
@@ -156,14 +156,14 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
156
156
  };
157
157
  });
158
158
  return [s[r].startAngle, s[r].endAngle];
159
- }, kt = (e, t, n, r, o) => {
159
+ }, Pt = (e, t, n, r, o) => {
160
160
  let a = 0, s = 0;
161
161
  const i = Math.floor(r), l = r - i;
162
162
  return i > n ? (a = e, s = t) : i === n && l > 0 && (a = e, s = o), [a, s];
163
- }, $t = (e, t, n = 0) => {
163
+ }, kt = (e, t, n = 0) => {
164
164
  const r = e * Math.sin(t - n), o = -e * Math.cos(t - n);
165
165
  return [r, o];
166
- }, zt = ({
166
+ }, $t = ({
167
167
  dynamicCopy: e,
168
168
  fallbackLabel: t,
169
169
  icon: n,
@@ -171,7 +171,7 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
171
171
  label: o,
172
172
  value: a
173
173
  }) => {
174
- const s = !!a, i = s ? Q(r, a) : e && j(e, t) || t;
174
+ const s = !!a, i = s ? J(r, a) : e && j(e, t) || t;
175
175
  return {
176
176
  icon: s ? /* @__PURE__ */ c(k, {}) : n,
177
177
  isComplete: s,
@@ -179,29 +179,29 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
179
179
  primaryText: o,
180
180
  secondaryText: i
181
181
  };
182
- }, Q = (e, t) => ({
182
+ }, J = (e, t) => ({
183
183
  [I.DateOfBirth]: (r) => R(new Date(Number(r) * 1e3), "MMM d, yyyy"),
184
184
  [I.MonthlyIncome]: (r) => q(Number(r), "0.00")
185
- })[e]?.(t) ?? String(t), Kt = (e) => e !== null ? Math.round(e * 100) : null, Bt = (e) => {
185
+ })[e]?.(t) ?? String(t), zt = (e) => e !== null ? Math.round(e * 100) : null, Kt = (e) => {
186
186
  const t = new Date((/* @__PURE__ */ new Date()).getFullYear(), e - 1, 1);
187
187
  return O(t, T.MONTH_SHORT);
188
- }, Yt = (e) => {
188
+ }, Bt = (e) => {
189
189
  const { good: t, poor: n } = m.daysOfCashOnHand;
190
190
  return e === null ? "MISSING" : e >= t ? "GOOD" : e >= n ? "FAIR" : "OFF_TRACK";
191
- }, Ut = (e) => {
191
+ }, Yt = (e) => {
192
192
  const { good: t, poor: n } = m.emergencySavings;
193
193
  return e === null ? "MISSING" : e >= t ? "GOOD" : e >= n ? "FAIR" : "OFF_TRACK";
194
- }, Xt = (e) => {
194
+ }, Ut = (e) => {
195
195
  const { good: t, poor: n } = m.spendToIncomeRatio;
196
196
  return e === null ? "MISSING" : e < t ? "GOOD" : e < n ? "FAIR" : "OFF_TRACK";
197
- }, Vt = (e) => {
197
+ }, Xt = (e) => {
198
198
  const { good: t, poor: n } = m.debtToIncomeRatio;
199
199
  return e === null ? "MISSING" : e <= t ? "GOOD" : e <= n ? "FAIR" : "OFF_TRACK";
200
- }, Wt = (e) => {
200
+ }, Vt = (e) => {
201
201
  const { good: t, poor: n } = m.creditScore;
202
202
  return e === null ? "MISSING" : e >= t ? "GOOD" : e >= n ? "FAIR" : "OFF_TRACK";
203
- }, Z = (e) => e === null ? "MISSING" : e === 0 ? "GOOD" : "OFF_TRACK", jt = (e, t) => {
204
- const n = Z(e), r = {
203
+ }, Q = (e) => e === null ? "MISSING" : e === 0 ? "GOOD" : "OFF_TRACK", Wt = (e, t) => {
204
+ const n = Q(e), r = {
205
205
  GOOD: t.count_good_description,
206
206
  OFF_TRACK: t.count_off_track_description,
207
207
  MISSING: t.count_missing_description
@@ -211,16 +211,16 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
211
211
  description: r[n],
212
212
  title: t.count_card_title
213
213
  };
214
- }, qt = (e) => ({
214
+ }, jt = (e) => ({
215
215
  [S.GOOD]: { backgroundColor: "success.lighter", color: "success.dark" },
216
216
  [S.FAIR]: { backgroundColor: "warning.lighter", color: "warning.dark" },
217
217
  [S.OFF_TRACK]: { backgroundColor: "error.lighter", color: "error.dark" },
218
218
  [S.MISSING]: { backgroundColor: "divider", color: "text.secondary" }
219
- })[e], tt = 1, et = 1, nt = {
219
+ })[e], Z = 1, tt = 1, et = {
220
220
  1: M,
221
221
  2: G,
222
222
  3: v
223
- }, rt = {
223
+ }, nt = {
224
224
  1: w,
225
225
  2: (e, t) => A(e, t) / 2,
226
226
  3: A,
@@ -229,7 +229,7 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
229
229
  { contributionPeriodIndex: 3, targetAmount: 6, upperLimit: 500 },
230
230
  { contributionPeriodIndex: 3, targetAmount: 3, upperLimit: 900 },
231
231
  { contributionPeriodIndex: 2, targetAmount: 1, upperLimit: 1e3 }
232
- ], Jt = ({
232
+ ], qt = ({
233
233
  contribution: e,
234
234
  goalAmount: t,
235
235
  goalPeriod: n,
@@ -238,20 +238,20 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
238
238
  }) => {
239
239
  const a = t - o;
240
240
  if (a <= 0) return 0;
241
- const s = N(), i = nt[r], l = rt[e];
241
+ const s = N(), i = et[r], l = nt[e];
242
242
  if (!i || !l) return a;
243
243
  const p = i(s, n), f = l(p, s);
244
244
  return Math.max(a / (f || 1), 1);
245
- }, Qt = (e) => !e || e <= 0 ? "0%" : e >= 1e3 ? "100%" : `${Math.round(e / 10)}%`, Zt = (e) => E.find((n) => e < n.upperLimit)?.targetAmount ?? et, te = (e) => E.find((r) => e < r.upperLimit)?.contributionPeriodIndex ?? tt, ee = (e, t) => [...e].sort((r, o) => r.year === o.year ? r.month - o.month : r.year - o.year).map((r) => ({
245
+ }, Jt = (e) => !e || e <= 0 ? "0%" : e >= 1e3 ? "100%" : `${Math.round(e / 10)}%`, Qt = (e) => E.find((n) => e < n.upperLimit)?.targetAmount ?? tt, Zt = (e) => E.find((r) => e < r.upperLimit)?.contributionPeriodIndex ?? Z, te = (e, t) => [...e].sort((r, o) => r.year === o.year ? r.month - o.month : r.year - o.year).map((r) => ({
246
246
  x: O(new Date(0, r.month - 1, 1), T.MONTH_SHORT),
247
247
  y: r[t]
248
- })), ot = (e) => e.sort((t, n) => t.monthly_health_score_average.month - n.monthly_health_score_average.month).map((t) => ({
248
+ })), rt = (e) => e.sort((t, n) => t.monthly_health_score_average.month - n.monthly_health_score_average.month).map((t) => ({
249
249
  x: O(
250
250
  new Date(0, t.monthly_health_score_average.month - 1, 1),
251
251
  T.MONTH_SHORT
252
252
  ),
253
253
  y: Math.round(t.monthly_health_score_average.average_health_score)
254
- })), at = (e) => e.map(({ transaction: n }) => ({
254
+ })), ot = (e) => e.map(({ transaction: n }) => ({
255
255
  ...n
256
256
  })).sort((n, r) => r.date - n.date);
257
257
  class F {
@@ -269,7 +269,7 @@ class F {
269
269
  getSpendingFeeTransactions = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/transactions/spending_fee`).then((t) => t);
270
270
  getStandardSpend = async () => this.fetchInstance.get(`${h.HEALTH_SCORES}/transactions/standard_spend`).then((t) => t);
271
271
  }
272
- class ne {
272
+ class ee {
273
273
  api = new F("/", "");
274
274
  augmentedChartData = [];
275
275
  averageHealthScores = [];
@@ -377,7 +377,7 @@ class ne {
377
377
  try {
378
378
  const t = await this.api.getAverageHealthScores();
379
379
  d(() => {
380
- this.augmentedChartData = ot(t);
380
+ this.augmentedChartData = rt(t);
381
381
  });
382
382
  } catch (t) {
383
383
  console.error(`Error occurred while getting augmented chart data: ${t}`);
@@ -385,7 +385,7 @@ class ne {
385
385
  };
386
386
  getSpendingFeeTransactions = async () => {
387
387
  try {
388
- const t = await this.api.getSpendingFeeTransactions(), n = at(t);
388
+ const t = await this.api.getSpendingFeeTransactions(), n = ot(t);
389
389
  d(() => {
390
390
  this.spendingFeeTransactions = n;
391
391
  });
@@ -421,31 +421,31 @@ class ne {
421
421
  export {
422
422
  I as A,
423
423
  u as C,
424
- ne as F,
425
- Gt as P,
426
- kt as a,
427
- $t as b,
428
- wt as c,
429
- Nt as d,
424
+ ee as F,
425
+ Mt as P,
426
+ Pt as a,
427
+ kt as b,
428
+ Lt as c,
429
+ wt as d,
430
430
  g as e,
431
- ee as f,
432
- Pt as g,
433
- qt as h,
431
+ te as f,
432
+ Nt as g,
433
+ jt as h,
434
434
  S as i,
435
- Wt as j,
436
- te as k,
437
- Zt as l,
438
- Jt as m,
439
- Qt as n,
440
- Ut as o,
441
- Z as p,
442
- Yt as q,
443
- Lt as r,
444
- Kt as s,
445
- Vt as t,
446
- Bt as u,
447
- Xt as v,
448
- jt as w,
449
- zt as x,
435
+ Vt as j,
436
+ Zt as k,
437
+ Qt as l,
438
+ qt as m,
439
+ Jt as n,
440
+ Yt as o,
441
+ Q as p,
442
+ Bt as q,
443
+ Gt as r,
444
+ zt as s,
445
+ Xt as t,
446
+ Kt as u,
447
+ Ut as v,
448
+ Wt as w,
449
+ $t as x,
450
450
  F as y
451
451
  };
@@ -7,7 +7,7 @@ import O from "@mui/material/CardHeader";
7
7
  import w from "@mui/material/Stack";
8
8
  import { AccountBalance as S, ChevronRight as L } from "@mxenabled/mx-icons";
9
9
  import { Text as g } from "@mxenabled/mxui";
10
- import { l as y } from "./ConnectDrawer-BIbTqYOH.mjs";
10
+ import { l as y } from "./ConnectDrawer-Dn1MlqLz.mjs";
11
11
  import { a as b } from "./hooks-C41HAxM5.mjs";
12
12
  import { makeAutoObservable as D, runInAction as E } from "mobx";
13
13
  import { F as v, A as i } from "./Fetch-DecPFeGU.mjs";
@@ -16,7 +16,7 @@ import { addYears as F } from "date-fns/addYears";
16
16
  import { getUnixTime as x } from "date-fns/getUnixTime";
17
17
  import { b as d } from "./Localization-2MODESHW.mjs";
18
18
  import { a as K } from "./NumberFormatting-DjTD0t3W.mjs";
19
- import { f as B, a as P } from "./Dialog-BPTr3qHE.mjs";
19
+ import { f as B, a as P } from "./Dialog-CDV0kKxj.mjs";
20
20
  var a = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(a || {}), $ = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))($ || {}), c = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(c || {});
21
21
  const at = ({ description: e, label: t, title: o }) => {
22
22
  const { config: r } = b(), [n, s] = u.useState(!1);
@@ -4,7 +4,7 @@ import { H3 as n } from "@mxenabled/mxui";
4
4
  const s = {
5
5
  text: "Oops! Something went wrong."
6
6
  };
7
- class r extends o.Component {
7
+ class l extends o.Component {
8
8
  state = {
9
9
  hasError: !1
10
10
  };
@@ -18,7 +18,7 @@ class r extends o.Component {
18
18
  return this.state.hasError ? /* @__PURE__ */ i(n, { sx: { pt: 24 }, children: s.text }) : this.props.children;
19
19
  }
20
20
  }
21
- const g = r, d = [
21
+ const g = [
22
22
  {
23
23
  flags: ["show_accounts_widget_in_master"],
24
24
  guid: "accounts",
@@ -222,7 +222,7 @@ const g = r, d = [
222
222
  }
223
223
  ]
224
224
  }
225
- ], _ = [
225
+ ], d = [
226
226
  {
227
227
  guid: "personal_information",
228
228
  icon: "person",
@@ -292,7 +292,7 @@ const g = r, d = [
292
292
  }
293
293
  ]
294
294
  }
295
- ], y = [
295
+ ], _ = [
296
296
  {
297
297
  type: "external"
298
298
  },
@@ -313,8 +313,8 @@ const g = r, d = [
313
313
  }
314
314
  ];
315
315
  export {
316
- g as E,
317
- d as H,
318
- y as P,
319
- _ as a
316
+ l as E,
317
+ g as H,
318
+ _ as P,
319
+ d as a
320
320
  };