@mx-cartographer/experiences 7.0.11 → 7.0.13

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 (41) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{Account-BVKkr6ft.mjs → Account-BW3-oYEs.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BmQ5a3Lk.mjs → AccountDetailsContent-Tm7IjJIc.mjs} +14 -14
  4. package/dist/{AccountDetailsHeader-vSwO-5Wk.mjs → AccountDetailsHeader-sum_Bgdy.mjs} +3 -3
  5. package/dist/{AccountFields-VRK4zgvW.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
  6. package/dist/{AccountListItem-SkBUCsb0.mjs → AccountListItem-B-ZjJ4Gp.mjs} +2 -2
  7. package/dist/{AccountStore-3Umlm7QY.mjs → AccountStore-BaMynkQT.mjs} +9 -9
  8. package/dist/{Accounts-CYsoAdW-.mjs → Accounts-CA-nqAjT.mjs} +1 -1
  9. package/dist/{ConnectDrawer-BA9H_xx8.mjs → ConnectDrawer-phFH6OHt.mjs} +4 -4
  10. package/dist/{ConnectionsDrawer-Bs-NUsAs.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +1 -1
  11. package/dist/{DebtsStore-BwmpJMik.mjs → DebtsStore-Dp-CraCD.mjs} +1 -1
  12. package/dist/{ExportCsvAction-CvyiKLTh.mjs → ExportCsvAction-CbMfQ2Wa.mjs} +2 -2
  13. package/dist/{GoalStore-BH5TWxYr.mjs → GoalStore-DJp7YL_M.mjs} +52 -51
  14. package/dist/{ManageIncome-DCUX6T2b.mjs → ManageIncome-Bef4VWt7.mjs} +3 -3
  15. package/dist/{NetWorthStore-NKD8a-19.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
  16. package/dist/{RecurringSettings-BD_CIXnV.mjs → RecurringSettings-1EOh67IT.mjs} +2 -2
  17. package/dist/TransactionDetails-DYF-P762.mjs +1337 -0
  18. package/dist/{TransactionStore-BVKUoEHj.mjs → TransactionStore-0tLtBEIC.mjs} +2 -2
  19. package/dist/{Transaction-Dns0Kuuy.mjs → User-Dq9Qj764.mjs} +47 -45
  20. package/dist/{WidgetContainer-BHhhVctF.mjs → WidgetContainer-C2NBfpDg.mjs} +1 -1
  21. package/dist/accounts/index.es.js +15 -15
  22. package/dist/budgets/index.es.js +5 -5
  23. package/dist/cashflow/index.es.js +5 -5
  24. package/dist/common/index.es.js +12 -12
  25. package/dist/dashboard/index.es.js +6 -6
  26. package/dist/debts/index.es.js +5 -5
  27. package/dist/{exportTransactionsToCSV-B4JW8rfR.mjs → exportTransactionsToCSV-BDlt8u0n.mjs} +1 -1
  28. package/dist/finstrong/index.es.js +4 -4
  29. package/dist/goals/index.es.js +6 -6
  30. package/dist/help/index.es.js +1 -1
  31. package/dist/investments/index.es.js +2 -2
  32. package/dist/networth/index.es.js +4 -4
  33. package/dist/recurringtransactions/index.es.js +5 -5
  34. package/dist/settings/index.es.js +1 -1
  35. package/dist/spending/index.es.js +2 -2
  36. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -0
  37. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +8 -0
  38. package/dist/transactions/index.es.js +121 -120
  39. package/dist/trends/index.es.js +3 -3
  40. package/package.json +1 -1
  41. package/dist/TransactionDetails-DFDYdDae.mjs +0 -1280
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [7.0.13] - 09-22-2025
2
+
3
+ - **ADDED** - Support view-only mode for transaction details based on feature flag
4
+
5
+ ## [7.0.12] - 09-19-2025
6
+
7
+ - **FIXED** - `Retirement Goal` Projection month and year issue fixed for new Goal add scenario
8
+
1
9
  ## [7.0.11] - 09-19-2025
2
10
 
3
11
  - **FIXED** - Graphs from preventing scroll Gesture
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-BA9H_xx8.mjs";
1
+ import { A as C } from "./ConnectDrawer-phFH6OHt.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,18 +11,18 @@ import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-vSwO-5Wk.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-sum_Bgdy.mjs";
15
15
  import { c as z, u as E, e as O, f as X } from "./hooks-DkUqN6JE.mjs";
16
- import { A as at } from "./AccountListItem-SkBUCsb0.mjs";
17
- import { A as k } from "./WidgetContainer-BHhhVctF.mjs";
18
- import { a as V, f as B, D as K } from "./Dialog-CWW597AF.mjs";
16
+ import { A as at } from "./AccountListItem-B-ZjJ4Gp.mjs";
17
+ import { A as k } from "./WidgetContainer-C2NBfpDg.mjs";
18
+ import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
21
21
  import R from "@mui/material/ListItemAvatar";
22
22
  import ct from "@mui/material/Stack";
23
23
  import st from "@mui/material/styles/useTheme";
24
24
  import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
25
- import { k as m, N as Q, h as Z, F as P } from "./ConnectDrawer-BA9H_xx8.mjs";
25
+ import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-phFH6OHt.mjs";
26
26
  import { fromUnixTime as lt } from "date-fns/fromUnixTime";
27
27
  import { isToday as dt } from "date-fns/isToday";
28
28
  import { isYesterday as ut } from "date-fns/isYesterday";
@@ -38,14 +38,14 @@ import At from "@mui/material/MenuItem";
38
38
  import bt from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
40
  import { C as St } from "./CurrencyInput-bEx2Mbd0.mjs";
41
- import { a as Dt } from "./AccountFields-VRK4zgvW.mjs";
41
+ import { a as Dt } from "./AccountFields-CIz-r3gP.mjs";
42
42
  import Et from "@mui/material/Alert";
43
43
  import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-DFDYdDae.mjs";
48
- import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-DYF-P762.mjs";
48
+ import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
51
51
  isLast: o = !1,
@@ -314,11 +314,11 @@ const U = ({
314
314
  };
315
315
  default: {
316
316
  const c = () => {
317
- const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, K.TIME_STAMP_HOUR_MINUTE);
317
+ const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, j.TIME_STAMP_HOUR_MINUTE);
318
318
  if (u)
319
319
  return dt(i) ? h(o.last_updated_at, o.today, u) : ut(i) ? h(o.last_updated_at, o.yesterday, u) : h(
320
320
  o.last_updated_at,
321
- B(i, K.MONTH_DAY_YEAR),
321
+ B(i, j.MONTH_DAY_YEAR),
322
322
  u
323
323
  );
324
324
  };
@@ -609,7 +609,7 @@ const U = ({
609
609
  }
610
610
  )
611
611
  ] });
612
- }, Bt = b(Gt), Kt = () => {
612
+ }, Bt = b(Gt), jt = () => {
613
613
  const [e, o] = _.useState(""), { onEvent: n } = O(), { selectedAccount: c } = D(), { accounts: i } = E(), { setFilter: u, sortedTransactions: l } = X(), s = _.useMemo(
614
614
  () => l.find((r) => r.guid === e),
615
615
  [e, l]
@@ -632,7 +632,7 @@ const U = ({
632
632
  }
633
633
  )
634
634
  ] });
635
- }, jt = b(Kt), Yt = () => {
635
+ }, Kt = b(jt), Yt = () => {
636
636
  const [e, o] = _.useState(0), { accounts: n } = E();
637
637
  return /* @__PURE__ */ d(g, { children: [
638
638
  /* @__PURE__ */ t(Bt, { setTabValue: o }),
@@ -665,8 +665,8 @@ const U = ({
665
665
  ]
666
666
  }
667
667
  ),
668
- /* @__PURE__ */ t(j, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(jt, {}) }),
669
- /* @__PURE__ */ t(j, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
668
+ /* @__PURE__ */ t(K, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(Kt, {}) }),
669
+ /* @__PURE__ */ t(K, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
670
670
  ] });
671
671
  }, He = b(Yt);
672
672
  export {
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { observer as p } from "mobx-react-lite";
3
3
  import d from "@mui/material/Stack";
4
4
  import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
5
- import { g as N } from "./AccountFields-VRK4zgvW.mjs";
5
+ import { g as N } from "./AccountFields-CIz-r3gP.mjs";
6
6
  import h from "react";
7
7
  import { G as v, c as S, k as y, u as _, l as E } from "./hooks-DkUqN6JE.mjs";
8
8
  import G from "@mui/material/Card";
@@ -11,8 +11,8 @@ import P from "@mui/material/CardHeader";
11
11
  import { useTheme as M } from "@mui/material/styles";
12
12
  import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
13
13
  import { L as j } from "./LineChart-BWWmmJxV.mjs";
14
- import { I as f, P as g, S as C } from "./Account-BVKkr6ft.mjs";
15
- import { A } from "./ConnectDrawer-BA9H_xx8.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-BW3-oYEs.mjs";
15
+ import { A } from "./ConnectDrawer-phFH6OHt.mjs";
16
16
  import { L as z } from "./Loader-Dp1P2gNw.mjs";
17
17
  import { f as Y, D as k } from "./Dialog-CWW597AF.mjs";
18
18
  import { f as R } from "./NumberFormatting-CtWHhyBX.mjs";
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as c } from "@mxenabled/mxui";
3
- import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-BA9H_xx8.mjs";
4
- import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CYsoAdW-.mjs";
3
+ import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-phFH6OHt.mjs";
4
+ import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CA-nqAjT.mjs";
5
5
  import { f as _, i as d, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f, D as o } from "./Dialog-CWW597AF.mjs";
@@ -10,8 +10,8 @@ import C from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as L } from "@mxenabled/mx-icons";
12
12
  import { I as A } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as j } from "./AccountFields-VRK4zgvW.mjs";
14
- import { d } from "./ConnectDrawer-BA9H_xx8.mjs";
13
+ import { g as j } from "./AccountFields-CIz-r3gP.mjs";
14
+ import { d } from "./ConnectDrawer-phFH6OHt.mjs";
15
15
  import { u as T } from "./hooks-DkUqN6JE.mjs";
16
16
  import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
17
17
  const $ = {
@@ -1,10 +1,11 @@
1
1
  import { makeAutoObservable as _, runInAction as a } from "mobx";
2
- import { F as g, A as i } from "./Fetch-CkFKy79O.mjs";
3
- import { A as s, d, E as f, i as p, j as y } from "./ConnectDrawer-BA9H_xx8.mjs";
2
+ import { i as g } from "./User-Dq9Qj764.mjs";
3
+ import { F as f, A as i } from "./Fetch-CkFKy79O.mjs";
4
+ import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-phFH6OHt.mjs";
4
5
  class l {
5
6
  fetchInstance;
6
7
  constructor(t, e) {
7
- this.fetchInstance = new g(t, e);
8
+ this.fetchInstance = new f(t, e);
8
9
  }
9
10
  createAccount = async (t) => this.fetchInstance.post(i.ACCOUNTS, t).then((e) => e.account).catch((e) => e);
10
11
  deleteAccount = async (t) => this.fetchInstance.delete(`${i.ACCOUNTS}/${t}`).catch((e) => e);
@@ -16,7 +17,6 @@ class l {
16
17
  refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
17
18
  updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
18
19
  }
19
- const I = (h, t) => !!h.find((e) => e.feature_name === t)?.is_enabled;
20
20
  class b {
21
21
  isLoading = !1;
22
22
  selectedAccount = {};
@@ -28,7 +28,7 @@ class b {
28
28
  setSelectedAccount = (t) => this.selectedAccount = t;
29
29
  setSelectedMember = (t) => this.selectedMember = t;
30
30
  }
31
- class w {
31
+ class N {
32
32
  globalStore;
33
33
  api = new l("/", "");
34
34
  accounts = [];
@@ -114,7 +114,7 @@ class w {
114
114
  }
115
115
  };
116
116
  augmentAccounts = (t = this.accounts) => {
117
- const e = [], n = this.globalStore.userStore.userFeatures, c = I(
117
+ const e = [], n = this.globalStore.userStore.userFeatures, c = g(
118
118
  n,
119
119
  "MD_EXCLUDE_EXTERNAL_ACCOUNTS"
120
120
  );
@@ -122,8 +122,8 @@ class w {
122
122
  if (c && r.member_is_managed_by_user) continue;
123
123
  const o = this.members.find((m) => m.guid === r.member_guid);
124
124
  if (!o) continue;
125
- let u = d.Connected;
126
- f.includes(o.connection_status) ? u = d.Error : p.includes(o.connection_status) ? u = d.Processing : y.includes(o.connection_status) && (u = d.RequiresMfa);
125
+ let u = h.Connected;
126
+ p.includes(o.connection_status) ? u = h.Error : y.includes(o.connection_status) ? u = h.Processing : I.includes(o.connection_status) && (u = h.RequiresMfa);
127
127
  const A = [
128
128
  r.user_name || r.feed_name || "",
129
129
  r.account_number ? `*${r.account_number}` : ""
@@ -231,5 +231,5 @@ class w {
231
231
  }
232
232
  export {
233
233
  l as A,
234
- w as a
234
+ N as a
235
235
  };
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-BA9H_xx8.mjs";
1
+ import { A as _ } from "./ConnectDrawer-phFH6OHt.mjs";
2
2
  const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
3
3
  export {
4
4
  s as a,
@@ -498,10 +498,10 @@ export {
498
498
  sE as d,
499
499
  ZE as e,
500
500
  CE as f,
501
- bE as g,
502
- yE as h,
503
- jE as i,
504
- LE as j,
501
+ jE as g,
502
+ LE as h,
503
+ bE as i,
504
+ yE as j,
505
505
  lE as k,
506
506
  iE as l,
507
507
  SE as m
@@ -3,7 +3,7 @@ import r from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as D } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-BA9H_xx8.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-phFH6OHt.mjs";
7
7
  import { c as b, d as w, u as _ } from "./hooks-DkUqN6JE.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as o, fromUnixTime as m, startOfMonth as _ } from "date-fns";
3
- import { A as b } from "./ConnectDrawer-BA9H_xx8.mjs";
3
+ import { A as b } from "./ConnectDrawer-phFH6OHt.mjs";
4
4
  var u = /* @__PURE__ */ ((a) => (a[a.HIGHEST_INTEREST = 1] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 2] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 3] = "HIGHEST_BALANCE", a))(u || {});
5
5
  const p = {
6
6
  unnamed_label: "Unnamed Debt"
@@ -1,8 +1,8 @@
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-B4JW8rfR.mjs";
5
- import { O as m } from "./Transaction-Dns0Kuuy.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-BDlt8u0n.mjs";
5
+ import { O as m } from "./User-Dq9Qj764.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
7
  import { e as _, f as C, u as l } from "./hooks-DkUqN6JE.mjs";
8
8
  const v = ({ filter: t }) => {
@@ -1,41 +1,41 @@
1
1
  import { jsxs as g, jsx as _ } from "react/jsx-runtime";
2
2
  import u from "react";
3
- import p from "@mui/material/Button";
4
- import T from "@mui/material/Card";
5
- import I from "@mui/material/CardContent";
6
- import N from "@mui/material/CardHeader";
7
- import O from "@mui/material/Stack";
8
- import { AccountBalance as w, ChevronRight as S } from "@mxenabled/mx-icons";
3
+ import T from "@mui/material/Button";
4
+ import I from "@mui/material/Card";
5
+ import N from "@mui/material/CardContent";
6
+ import O from "@mui/material/CardHeader";
7
+ import S from "@mui/material/Stack";
8
+ import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
9
9
  import { Text as A } from "@mxenabled/mxui";
10
- import { h as L } from "./ConnectDrawer-BA9H_xx8.mjs";
11
- import { m as b } from "./hooks-DkUqN6JE.mjs";
12
- import { makeAutoObservable as y, runInAction as c } from "mobx";
13
- import { F as D, A as i } from "./Fetch-CkFKy79O.mjs";
14
- import { fromUnixTime as C } from "date-fns/fromUnixTime";
15
- import { addYears as v } from "date-fns/addYears";
16
- import { getUnixTime as x } from "date-fns/getUnixTime";
17
- import { b as m } from "./Localization-2MODESHW.mjs";
18
- import { a as K } from "./NumberFormatting-CtWHhyBX.mjs";
19
- import { f as F, D as B } from "./Dialog-CWW597AF.mjs";
10
+ import { j as b } from "./ConnectDrawer-phFH6OHt.mjs";
11
+ import { m as y } from "./hooks-DkUqN6JE.mjs";
12
+ import { makeAutoObservable as D, runInAction as c } from "mobx";
13
+ import { F as v, A as i } from "./Fetch-CkFKy79O.mjs";
14
+ import { fromUnixTime as G } from "date-fns/fromUnixTime";
15
+ import { addYears as x } from "date-fns/addYears";
16
+ import { getUnixTime as K } from "date-fns/getUnixTime";
17
+ import { b as E } from "./Localization-2MODESHW.mjs";
18
+ import { a as F } from "./NumberFormatting-CtWHhyBX.mjs";
19
+ import { f as B, D as U } from "./Dialog-CWW597AF.mjs";
20
20
  const at = ({ description: e, label: t, title: o }) => {
21
- const { config: r } = b(), [n, s] = u.useState(!1);
21
+ const { config: r } = y(), [n, s] = u.useState(!1);
22
22
  if (r.show_connections_widget_in_master)
23
23
  return /* @__PURE__ */ g(u.Fragment, { children: [
24
- /* @__PURE__ */ g(T, { sx: { m: 24 }, children: [
24
+ /* @__PURE__ */ g(I, { sx: { m: 24 }, children: [
25
25
  /* @__PURE__ */ _(
26
- N,
26
+ O,
27
27
  {
28
28
  avatar: /* @__PURE__ */ _(w, {}),
29
29
  sx: { ".MuiCardHeader-avatar": { mr: 8 } },
30
30
  title: /* @__PURE__ */ _(A, { bold: !0, variant: "Body", children: o })
31
31
  }
32
32
  ),
33
- /* @__PURE__ */ _(I, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ g(O, { alignItems: "flex-start", spacing: 2, children: [
33
+ /* @__PURE__ */ _(N, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ g(S, { alignItems: "flex-start", spacing: 2, children: [
34
34
  /* @__PURE__ */ _(A, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: e }),
35
35
  /* @__PURE__ */ _(
36
- p,
36
+ T,
37
37
  {
38
- endIcon: /* @__PURE__ */ _(S, {}),
38
+ endIcon: /* @__PURE__ */ _(L, {}),
39
39
  onClick: () => s(!0),
40
40
  sx: {
41
41
  pl: 0,
@@ -50,7 +50,7 @@ const at = ({ description: e, label: t, title: o }) => {
50
50
  ] }) })
51
51
  ] }),
52
52
  /* @__PURE__ */ _(
53
- L,
53
+ b,
54
54
  {
55
55
  onClose: () => s(!1),
56
56
  showConnectWidget: n,
@@ -59,11 +59,11 @@ const at = ({ description: e, label: t, title: o }) => {
59
59
  )
60
60
  ] });
61
61
  };
62
- 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 || {}), U = /* @__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))(U || {}), l = /* @__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))(l || {});
62
+ 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))($ || {}), l = /* @__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))(l || {});
63
63
  class R {
64
64
  fetchInstance;
65
65
  constructor(t, o) {
66
- this.fetchInstance = new D(t, o);
66
+ this.fetchInstance = new v(t, o);
67
67
  }
68
68
  addGoal = async (t) => this.fetchInstance.post(i.GOALS, t).then((o) => o.goal);
69
69
  addRetirementGoal = async (t) => this.fetchInstance.post(i.RETIREMENT_GOALS, t).then((o) => o.retirement_goal);
@@ -91,19 +91,19 @@ function it(e, t) {
91
91
  style: "percent",
92
92
  minimumFractionDigits: 0,
93
93
  maximumFractionDigits: 0
94
- }, E = t.is_complete ? t.completed_at : t.projected_to_complete_at, d = E ? C(E) : /* @__PURE__ */ new Date(), G = m(
94
+ }, d = t.is_complete ? t.completed_at : t.projected_to_complete_at, m = d ? G(d) : /* @__PURE__ */ new Date(), f = E(
95
95
  e.goal_percentage,
96
- K(r, h)
97
- ), f = m(
96
+ F(r, h)
97
+ ), p = E(
98
98
  t.is_complete ? e.completed_label : e.goal_projection,
99
- F(d, B.MONTH_SHORT_YEAR)
99
+ B(m, U.MONTH_SHORT_YEAR)
100
100
  );
101
101
  return {
102
102
  backgroundColor: n,
103
103
  color: s,
104
104
  percentage: r,
105
- percentageText: G,
106
- projectedText: f
105
+ percentageText: f,
106
+ projectedText: p
107
107
  };
108
108
  }
109
109
  function st(e) {
@@ -162,15 +162,15 @@ function st(e) {
162
162
  const ct = (e, t) => {
163
163
  switch (e) {
164
164
  case a.DEBT_TRACK:
165
- return m(t.zero_state_ongoing, "debt");
165
+ return E(t.zero_state_ongoing, "debt");
166
166
  case a.SAVINGS_TRACK:
167
- return m(t.zero_state_ongoing, "saving");
167
+ return E(t.zero_state_ongoing, "saving");
168
168
  default:
169
- return m(t.zero_state_ongoing, "retirement");
169
+ return E(t.zero_state_ongoing, "retirement");
170
170
  }
171
- }, $ = (e, t) => {
172
- const o = C(t), r = v(o, e);
173
- return x(r);
171
+ }, C = (e, t) => {
172
+ const o = G(t), r = x(o, e);
173
+ return K(r);
174
174
  };
175
175
  class lt {
176
176
  globalStore;
@@ -183,7 +183,7 @@ class lt {
183
183
  monthlyCashFlowProfile = void 0;
184
184
  goalsLoaded = !1;
185
185
  constructor(t) {
186
- this.globalStore = t, this.api = new R(t.endpoint, t.sessionToken), y(this);
186
+ this.globalStore = t, this.api = new R(t.endpoint, t.sessionToken), D(this);
187
187
  }
188
188
  get orderedGoals() {
189
189
  return this.goals.slice().sort((t, o) => t.position - o.position);
@@ -223,13 +223,13 @@ class lt {
223
223
  addRetirementGoal = async (t) => {
224
224
  const o = this.globalStore.copyStore.copy.goals;
225
225
  try {
226
- const r = await this.api.addRetirementGoal(t), n = [];
227
- for (const s of this.newRetirementGoalAccounts) {
228
- const h = await this.api.addRetirementGoalAccount({
229
- ...s,
226
+ const r = await this.api.addRetirementGoal(t), n = [], s = this.globalStore.userStore.user.birthday;
227
+ for (const h of this.newRetirementGoalAccounts) {
228
+ const d = await this.api.addRetirementGoalAccount({
229
+ ...h,
230
230
  retirement_goal_guid: r.guid
231
231
  });
232
- n.push(h);
232
+ n.push(d);
233
233
  }
234
234
  this.setNewRetirementGoalAccounts([]), c(() => {
235
235
  this.goals = [
@@ -238,7 +238,8 @@ class lt {
238
238
  ...r,
239
239
  amount: r.target_amount,
240
240
  name: o.retirement,
241
- track_type: a.RETIREMENT_TRACK
241
+ track_type: a.RETIREMENT_TRACK,
242
+ projected_to_complete_at: r.retirement_age && s ? C(r.retirement_age, s) : void 0
242
243
  }
243
244
  ], this.retirementGoalAccounts = [...this.retirementGoalAccounts, ...n];
244
245
  });
@@ -259,18 +260,18 @@ class lt {
259
260
  loadGoals = async () => {
260
261
  const t = this.globalStore.copyStore.copy.goals;
261
262
  try {
262
- const o = await this.api.getGoals(), r = await this.api.getRetirementGoals(), n = await this.api.getRetirementGoalAccounts(), s = await this.api.getMonthlyCashFlowProfile(), h = this.globalStore.userStore.user.birthday, E = [
263
+ const o = await this.api.getGoals(), r = await this.api.getRetirementGoals(), n = await this.api.getRetirementGoalAccounts(), s = await this.api.getMonthlyCashFlowProfile(), h = this.globalStore.userStore.user.birthday, d = [
263
264
  ...o,
264
- ...r.map((d) => ({
265
- ...d,
266
- amount: d.target_amount,
265
+ ...r.map((m) => ({
266
+ ...m,
267
+ amount: m.target_amount,
267
268
  name: t.retirement,
268
269
  track_type: a.RETIREMENT_TRACK,
269
- projected_to_complete_at: d.retirement_age && h ? $(d.retirement_age, h) : void 0
270
+ projected_to_complete_at: m.retirement_age && h ? C(m.retirement_age, h) : void 0
270
271
  }))
271
272
  ];
272
273
  c(() => {
273
- this.goals = E, this.retirementGoalAccounts = n, this.monthlyCashFlowProfile = s, this.goalsLoaded = !0;
274
+ this.goals = d, this.retirementGoalAccounts = n, this.monthlyCashFlowProfile = s, this.goalsLoaded = !0;
274
275
  });
275
276
  } catch (o) {
276
277
  console.error(`Error occured while getting goals: ${o}`);
@@ -353,7 +354,7 @@ class lt {
353
354
  }
354
355
  export {
355
356
  at as C,
356
- U as G,
357
+ $ as G,
357
358
  l as M,
358
359
  a as T,
359
360
  ct as a,
@@ -16,7 +16,7 @@ import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import H from "@mui/material/Button";
18
18
  import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-DFDYdDae.mjs";
19
+ import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-DYF-P762.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -25,14 +25,14 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
25
25
  import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-DkUqN6JE.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-BHhhVctF.mjs";
28
+ import { A as R } from "./WidgetContainer-C2NBfpDg.mjs";
29
29
  import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
32
32
  import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
33
  import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./Transaction-Dns0Kuuy.mjs";
35
+ import { T as V } from "./User-Dq9Qj764.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-CYsoAdW-.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-BA9H_xx8.mjs";
6
+ import { a as b } from "./Accounts-CA-nqAjT.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-phFH6OHt.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
7
7
  import l from "@mui/material/Divider";
8
8
  import T from "@mui/material/List";
9
9
  import C from "@mui/material/Stack";
10
- import { R as x, A as S, a as E, M as A } from "./ManageIncome-DCUX6T2b.mjs";
10
+ import { R as x, A as S, a as E, M as A } from "./ManageIncome-Bef4VWt7.mjs";
11
11
  import { u as h, h as y, e as _ } from "./hooks-DkUqN6JE.mjs";
12
12
  import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
13
- import { A as d } from "./WidgetContainer-BHhhVctF.mjs";
13
+ import { A as d } from "./WidgetContainer-C2NBfpDg.mjs";
14
14
  const I = u(() => {
15
15
  const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
16
16
  o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {