@mx-cartographer/experiences 7.1.3-alpha.mm1 → 7.1.4

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 (61) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{Account-DKy2na__.mjs → Account-8IUM_CLv.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CCOCsdoL.mjs → AccountDetailsContent-CuZSSAEc.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-Ca9SPAjA.mjs → AccountDetailsHeader-BZBsIKdF.mjs} +6 -6
  5. package/dist/{AccountFields-DDAr5SEq.mjs → AccountFields-BD_0GT68.mjs} +2 -2
  6. package/dist/{AccountListItem-CMes1Q7Z.mjs → AccountListItem-CllIBCao.mjs} +4 -4
  7. package/dist/{AccountStore-DYOG9MYj.mjs → AccountStore-BL0FE1QL.mjs} +53 -45
  8. package/dist/{Accounts-BNvFndCa.mjs → Accounts-Bvc9TJaO.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-psfk-Amb.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
  11. package/dist/{ConnectDrawer-CHG5Lv_B.mjs → ConnectDrawer-CPTXh70j.mjs} +8 -8
  12. package/dist/{ConnectionsDrawer-BeB6ab8V.mjs → ConnectionsDrawer-Dkb4vBmt.mjs} +2 -2
  13. package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-C4xNRL2W.mjs} +1 -1
  14. package/dist/{DebtsStore-BblTVTMD.mjs → DebtsStore-D4grpB4m.mjs} +1 -1
  15. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-CBJAfyAw.mjs} +3 -3
  16. package/dist/{GoalStore-CSsU4LR2.mjs → GoalStore-B5MZzPLZ.mjs} +2 -2
  17. package/dist/{Help-B6dIcujh.mjs → Help-CzBAsKA2.mjs} +1 -1
  18. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-B35qvXik.mjs} +1 -1
  19. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
  20. package/dist/{ManageIncome-DqG75uQd.mjs → ManageIncome-DUuT-yMV.mjs} +34 -34
  21. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
  22. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-DTQdRK-3.mjs} +1 -1
  23. package/dist/{NetWorthStore-BbA7H83o.mjs → NetWorthStore-Do1Gk8Te.mjs} +2 -2
  24. package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-BuShgjn6.mjs} +3 -3
  25. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-BsxcvNEF.mjs} +3 -3
  26. package/dist/{RecurringSettings-B9l_Axnd.mjs → RecurringSettings-BVOt46uV.mjs} +3 -3
  27. package/dist/{TransactionDetails-DPvvi4Iu.mjs → TransactionDetails-_cXLXTd3.mjs} +5 -5
  28. package/dist/{TransactionStore-CBrJOY0H.mjs → TransactionStore-B-Tq_YFE.mjs} +2 -2
  29. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-ZZ8X36lJ.mjs} +1 -1
  30. package/dist/{User-BQUxBeZV.mjs → User-DaJAQ09j.mjs} +1 -1
  31. package/dist/{WidgetContainer-BMWagbIl.mjs → WidgetContainer-DtPnPQZY.mjs} +10 -10
  32. package/dist/accounts/index.es.js +13 -13
  33. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  34. package/dist/analytics/index.es.js +2 -2
  35. package/dist/budgets/index.es.js +10 -10
  36. package/dist/cashflow/index.es.js +381 -387
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/context/GlobalDataProvider.d.ts +0 -1
  39. package/dist/common/context/hooks.d.ts +0 -3
  40. package/dist/common/context/index.d.ts +1 -1
  41. package/dist/common/index.es.js +49 -50
  42. package/dist/dashboard/index.es.js +77 -79
  43. package/dist/debts/index.es.js +9 -9
  44. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-D8TTNrrE.mjs} +1 -1
  45. package/dist/finstrong/index.es.js +6 -6
  46. package/dist/goals/index.es.js +52 -52
  47. package/dist/help/index.es.js +3 -3
  48. package/dist/hooks-CE2TKk4a.mjs +74 -0
  49. package/dist/investments/index.es.js +3 -3
  50. package/dist/merchants/index.es.js +1 -1
  51. package/dist/networth/index.es.js +7 -7
  52. package/dist/notifications/index.es.js +2 -2
  53. package/dist/recurringtransactions/index.es.js +19 -19
  54. package/dist/settings/index.es.js +6 -6
  55. package/dist/spending/index.es.js +4 -4
  56. package/dist/transactions/index.es.js +13 -13
  57. package/dist/trends/index.es.js +449 -449
  58. package/dist/{useAccountDisplayName-BEorBm5u.mjs → useAccountDisplayName-BXGkZN5B.mjs} +2 -2
  59. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
  60. package/package.json +1 -1
  61. package/dist/hooks-D6XlXHf4.mjs +0 -77
@@ -4,7 +4,7 @@ import { observer as A } from "mobx-react-lite";
4
4
  import P from "@mui/material/Box";
5
5
  import T from "@mui/material/Divider";
6
6
  import K from "@mui/material/List";
7
- import h from "@mui/material/Stack";
7
+ import p from "@mui/material/Stack";
8
8
  import { MerchantLogo as H, Text as S, H1 as re, InstitutionLogo as ae, P as U } from "@mxenabled/mxui";
9
9
  import ie from "@mui/material/ListItem";
10
10
  import se from "@mui/material/ListItemAvatar";
@@ -15,24 +15,24 @@ import { subDays as ue } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import $ from "@mui/material/Button";
18
- import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
19
- import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-DPvvi4Iu.mjs";
18
+ import { Delete as me, Add as he, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-_cXLXTd3.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as xe } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
23
  import { DatePicker as ve } from "@mui/x-date-pickers";
24
24
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
- import { u as w, j as M, g as F, b as Ae, h as Z, p as De } from "./hooks-D6XlXHf4.mjs";
25
+ import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-CE2TKk4a.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-BMWagbIl.mjs";
28
+ import { A as R } from "./WidgetContainer-DtPnPQZY.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 "./User-BQUxBeZV.mjs";
35
+ import { T as V } from "./User-DaJAQ09j.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -61,15 +61,15 @@ const ee = ({
61
61
  { id: 4, label: o.weekday_thursday },
62
62
  { id: 5, label: o.weekday_friday },
63
63
  { id: 6, label: o.weekday_saturday }
64
- ], y = [...Array(31).keys()].map((p) => ({
65
- id: p + 1,
66
- label: Ie(p + 1)
64
+ ], y = [...Array(31).keys()].map((h) => ({
65
+ id: h + 1,
66
+ label: Ie(h + 1)
67
67
  }));
68
68
  y[30].label += ` (${o.last_day_of_month})`;
69
- const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, D = xe(z(), t), f = (p) => {
70
- p && s(be(p));
69
+ const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, D = xe(z(), t), f = (h) => {
70
+ h && s(be(h));
71
71
  };
72
- return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
72
+ return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
73
73
  /* @__PURE__ */ e(
74
74
  N,
75
75
  {
@@ -172,13 +172,13 @@ const ee = ({
172
172
  const f = u.useMemo(
173
173
  () => a.find((_) => _.guid === g),
174
174
  [g, a]
175
- ), p = t.repeating_transaction_type === E.Income, k = async () => {
175
+ ), h = t.repeating_transaction_type === E.Income, k = async () => {
176
176
  await l(t.guid), n();
177
177
  }, G = () => {
178
178
  b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
179
179
  };
180
- return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
- /* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
180
+ return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
+ /* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
182
182
  /* @__PURE__ */ e(
183
183
  H,
184
184
  {
@@ -189,8 +189,8 @@ const ee = ({
189
189
  }
190
190
  ),
191
191
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
192
- /* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
- p ? "+" : "",
192
+ /* @__PURE__ */ c(re, { color: h ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
+ h ? "+" : "",
194
194
  J(m, "0,0.00")
195
195
  ] }),
196
196
  /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ee(
@@ -232,7 +232,7 @@ const ee = ({
232
232
  startIcon: /* @__PURE__ */ e(me, {}),
233
233
  sx: { mx: 24, my: 16 },
234
234
  variant: "text",
235
- children: p ? r.delete_income_title : r.delete_expense_title
235
+ children: h ? r.delete_income_title : r.delete_expense_title
236
236
  }
237
237
  ),
238
238
  /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
@@ -251,13 +251,13 @@ const ee = ({
251
251
  Te,
252
252
  {
253
253
  copy: {
254
- title: p ? r.delete_income_title : r.delete_expense_title,
254
+ title: h ? r.delete_income_title : r.delete_expense_title,
255
255
  close_aria: r.close_drawer_aria
256
256
  },
257
257
  isOpen: v,
258
258
  onClose: () => b(!1),
259
259
  onPrimaryAction: k,
260
- children: /* @__PURE__ */ e(S, { children: p ? r.delete_income_description : r.delete_expense_description })
260
+ children: /* @__PURE__ */ e(S, { children: h ? r.delete_income_description : r.delete_expense_description })
261
261
  }
262
262
  )
263
263
  ] });
@@ -280,10 +280,10 @@ const ee = ({
280
280
  merchantGuid: t.merchant_guid
281
281
  }
282
282
  ) }),
283
- /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
284
- /* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
283
+ /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
284
+ /* @__PURE__ */ c(p, { direction: "column", sx: { width: "50%" }, children: [
285
285
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
286
- /* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
286
+ /* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
287
287
  t.account?.institution_guid && /* @__PURE__ */ e(
288
288
  ae,
289
289
  {
@@ -295,7 +295,7 @@ const ee = ({
295
295
  /* @__PURE__ */ e(S, { variant: "caption", children: o })
296
296
  ] })
297
297
  ] }),
298
- /* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
298
+ /* @__PURE__ */ c(p, { alignItems: "flex-end", sx: { width: "50%" }, children: [
299
299
  /* @__PURE__ */ c(
300
300
  S,
301
301
  {
@@ -309,7 +309,7 @@ const ee = ({
309
309
  }
310
310
  ),
311
311
  /* @__PURE__ */ e(
312
- h,
312
+ p,
313
313
  {
314
314
  direction: "row",
315
315
  sx: {
@@ -351,7 +351,7 @@ const ee = ({
351
351
  onSelected: i
352
352
  }) => {
353
353
  const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = ge();
354
- return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
354
+ return /* @__PURE__ */ c(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
355
355
  t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
356
356
  /* @__PURE__ */ e(
357
357
  ke,
@@ -389,8 +389,8 @@ const ee = ({
389
389
  transaction: a
390
390
  }) => {
391
391
  const { recurring: m } = w();
392
- return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
393
- /* @__PURE__ */ c(h, { children: [
392
+ return /* @__PURE__ */ c(p, { bgcolor: n, gap: 24, height: "100%", children: [
393
+ /* @__PURE__ */ c(p, { children: [
394
394
  /* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
395
395
  /* @__PURE__ */ e(Ce, { transaction: a })
396
396
  ] }),
@@ -414,7 +414,7 @@ const ee = ({
414
414
  label: t,
415
415
  onAddRecurringTransaction: r = () => null
416
416
  }) => {
417
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
417
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
418
418
  () => o.find((x) => x.guid === v),
419
419
  [v, o]
420
420
  ), ne = () => {
@@ -445,7 +445,7 @@ const ee = ({
445
445
  b(""), C(!1);
446
446
  };
447
447
  return /* @__PURE__ */ c(L, { children: [
448
- /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(pe, { size: 24 }), variant: "contained", children: t }),
448
+ /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
449
449
  /* @__PURE__ */ e(
450
450
  O,
451
451
  {
@@ -481,7 +481,7 @@ const ee = ({
481
481
  {
482
482
  firstDay: f,
483
483
  frequency: g,
484
- onFirstDayChange: p,
484
+ onFirstDayChange: h,
485
485
  onFrequencyChange: D,
486
486
  onSecondDayChange: G,
487
487
  secondDay: k,
@@ -495,8 +495,8 @@ const ee = ({
495
495
  ), Be = A(
496
496
  ({ zeroStateFor: n }) => {
497
497
  const { recurring: t } = w(), { onEvent: r } = F(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
498
- return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
499
- /* @__PURE__ */ e(he, { size: 48 }),
498
+ return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
499
+ /* @__PURE__ */ e(pe, { size: 48 }),
500
500
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
501
501
  /* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
502
502
  /* @__PURE__ */ e(
@@ -524,7 +524,7 @@ const ee = ({
524
524
  (a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
525
525
  );
526
526
  return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
527
- h,
527
+ p,
528
528
  {
529
529
  sx: {
530
530
  height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
6
6
  import { P as u, H3 as v } from "@mxenabled/mxui";
7
7
  import { ChevronRight as W } from "@mxenabled/mx-icons";
8
8
  import { u as M } from "./useDimensions-27p2evRx.mjs";
9
- import { W as w } from "./hooks-D6XlXHf4.mjs";
9
+ import { W as w } from "./hooks-CE2TKk4a.mjs";
10
10
  const H = ({
11
11
  children: e,
12
12
  className: o,
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
8
8
  import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
9
9
  import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
10
10
  import { u as S } from "./useDimensions-27p2evRx.mjs";
11
- import { W as j } from "./hooks-D6XlXHf4.mjs";
11
+ import { W as j } from "./hooks-CE2TKk4a.mjs";
12
12
  const w = ({
13
13
  children: a,
14
14
  className: m = "mx-cmn-mini-widget",
@@ -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-BNvFndCa.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-CHG5Lv_B.mjs";
6
+ import { a as b } from "./Accounts-Bvc9TJaO.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-CPTXh70j.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));
@@ -15,11 +15,11 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
17
  import { A as oe, T as F, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
18
- import { u as D, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-D6XlXHf4.mjs";
18
+ import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CE2TKk4a.mjs";
19
19
  import { b as ce } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-Buh7u8Oi.mjs";
21
21
  import { a as M } from "./Dialog-CWW597AF.mjs";
22
- import { C as me } from "./CurrencyInput-CsCy7uaS.mjs";
22
+ import { C as me } from "./CurrencyInput-C4xNRL2W.mjs";
23
23
  import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
24
24
  import { D as J } from "./Drawer-kEE73B87.mjs";
25
25
  import _e from "@mui/material/Collapse";
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
30
30
  import L from "@mui/material/TextField";
31
31
  import { u as fe } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ge } from "./useInsightsEnabled-DBpwEq10.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-DSnpkUq0.mjs";
34
34
  import { L as ye } from "./Loader-DUaFpDGv.mjs";
35
35
  const be = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { observer as p } from "mobx-react-lite";
4
4
  import v from "@mui/material/TextField";
5
- import { L as y } from "./ListItemAction-DHa3KJPs.mjs";
6
- import { u as h, l as b } from "./hooks-D6XlXHf4.mjs";
5
+ import { L as y } from "./ListItemAction-DSrYDGAP.mjs";
6
+ import { u as h, l as b } from "./hooks-CE2TKk4a.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-CsCy7uaS.mjs";
8
+ import { C as f } from "./CurrencyInput-C4xNRL2W.mjs";
9
9
  const F = p(({ goal: e }) => {
10
10
  const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
11
11
  const n = { ...e, interest_rate: t };
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import R from "@mui/material/List";
9
9
  import T from "@mui/material/Stack";
10
- import { R as C, A as S, a as E, M as v } from "./ManageIncome-DqG75uQd.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-D6XlXHf4.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-DUuT-yMV.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-CE2TKk4a.mjs";
12
12
  import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
- import { A as m } from "./WidgetContainer-BMWagbIl.mjs";
13
+ import { A as m } from "./WidgetContainer-DtPnPQZY.mjs";
14
14
  const I = h(() => {
15
15
  const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
16
16
  o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as S, Text as T, useTokens as ee, CategoryIcon
9
9
  import B from "@mui/material/ListItemAvatar";
10
10
  import M from "@mui/material/ListItemText";
11
11
  import f from "@mui/material/Stack";
12
- import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-BQUxBeZV.mjs";
13
- import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, p as He } from "./hooks-D6XlXHf4.mjs";
12
+ import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-DaJAQ09j.mjs";
13
+ import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CE2TKk4a.mjs";
14
14
  import { f as te } from "./NumberFormatting-Buh7u8Oi.mjs";
15
15
  import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
16
16
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ne } from "date-fns/isSameDay";
18
18
  import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
19
19
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
20
- import { A as P } from "./WidgetContainer-BMWagbIl.mjs";
20
+ import { A as P } from "./WidgetContainer-DtPnPQZY.mjs";
21
21
  import ne from "@mui/material/Paper";
22
22
  import ce from "@mui/material/Button";
23
23
  import je from "@mui/material/FormGroup";
@@ -30,14 +30,14 @@ import F from "@mui/material/ListItem";
30
30
  import { a as V, f as Ee, D as Oe } from "./Dialog-CWW597AF.mjs";
31
31
  import U from "@mui/material/ListItemButton";
32
32
  import X from "@mui/material/ListItemIcon";
33
- import { a as we } from "./CategorySelectorDrawer-DUe4lH5-.mjs";
33
+ import { a as we } from "./CategorySelectorDrawer-BmenK5bu.mjs";
34
34
  import { b as se } from "./Localization-2MODESHW.mjs";
35
35
  import { getUnixTime as Ze } from "date-fns/getUnixTime";
36
36
  import { D as de } from "./Drawer-kEE73B87.mjs";
37
37
  import ye from "@mui/material/InputAdornment";
38
38
  import Je from "@mui/material/Checkbox";
39
39
  import ge from "@mui/material/Grid";
40
- import { C as Qe } from "./CurrencyInput-CsCy7uaS.mjs";
40
+ import { C as Qe } from "./CurrencyInput-C4xNRL2W.mjs";
41
41
  import et from "@mui/material/Switch";
42
42
  var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
43
43
  const tt = [
@@ -13,10 +13,10 @@ import { isBefore as B } from "date-fns/isBefore";
13
13
  import { startOfMonth as R } from "date-fns/startOfMonth";
14
14
  import { startOfToday as G } from "date-fns/startOfToday";
15
15
  import { subDays as Y } from "date-fns/subDays";
16
- import { O as n, a as b, T as F } from "./User-BQUxBeZV.mjs";
16
+ import { O as n, a as b, T as F } from "./User-DaJAQ09j.mjs";
17
17
  import { T as p } from "./TransactionApi-B3Tksf7L.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
- import { f as z } from "./exportTransactionsToCSV-7bVS7KXf.mjs";
19
+ import { f as z } from "./exportTransactionsToCSV-D8TTNrrE.mjs";
20
20
  import { format as k } from "date-fns/format";
21
21
  import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
22
22
  import { endOfMonth as X } from "date-fns/endOfMonth";
@@ -12,7 +12,7 @@ import Dt from "@mui/material/CardContent";
12
12
  import P from "@mui/material/Divider";
13
13
  import X from "@mui/material/Grid";
14
14
  import { CategoryIcon as At, Text as S } from "@mxenabled/mxui";
15
- import { u as Lt, m as Q } from "./hooks-D6XlXHf4.mjs";
15
+ import { u as Lt, m as Q } from "./hooks-CE2TKk4a.mjs";
16
16
  import { b as Rt } from "./Localization-2MODESHW.mjs";
17
17
  import { C as O } from "./CurrencyText-kyC1aseI.mjs";
18
18
  import { useTheme as wt, Card as Ht, CardContent as It, Box as kt } from "@mui/material";
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
22
22
  import nn from "@mui/material/styles/useTheme";
23
23
  import k from "@mui/material/ListItem";
24
24
  import an from "@mui/material/ListItemButton";
25
- import { g as tn } from "./hooks-D6XlXHf4.mjs";
25
+ import { g as tn } from "./hooks-CE2TKk4a.mjs";
26
26
  var on = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(on || {}), en = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(en || {});
27
27
  const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
28
28
  const c = v(), l = cn(c);
@@ -10,10 +10,10 @@ import q from "@mui/material/Divider";
10
10
  import z from "@mui/material/IconButton";
11
11
  import Y from "@mui/material/Stack";
12
12
  import { ChevronLeft as le } from "@mxenabled/mx-icons";
13
- import { Icon as T, Text as j, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
13
+ import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
14
14
  import { u as Te } from "./useDimensions-27p2evRx.mjs";
15
15
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
16
- import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-D6XlXHf4.mjs";
16
+ import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CE2TKk4a.mjs";
17
17
  import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
18
18
  import { addMonths as Q } from "date-fns/addMonths";
19
19
  import { addDays as ue } from "date-fns/addDays";
@@ -26,7 +26,7 @@ import { endOfYear as Le } from "date-fns/endOfYear";
26
26
  import { startOfMonth as De } from "date-fns/startOfMonth";
27
27
  import { startOfToday as pe } from "date-fns/startOfToday";
28
28
  import { startOfYear as ke } from "date-fns/startOfYear";
29
- import { subMonths as X } from "date-fns/subMonths";
29
+ import { subMonths as j } from "date-fns/subMonths";
30
30
  import { subDays as he } from "date-fns/subDays";
31
31
  import { subYears as _e } from "date-fns/subYears";
32
32
  import Oe from "@mui/material/ButtonGroup";
@@ -37,7 +37,7 @@ import Ke from "@mui/material/ToggleButtonGroup";
37
37
  import Ge from "@mui/material/styles/useTheme";
38
38
  import { f as K, D as G, a as Me } from "./Dialog-CWW597AF.mjs";
39
39
  import { D as We } from "./Drawer-kEE73B87.mjs";
40
- import { j as ye, k as xe } from "./ConnectDrawer-CHG5Lv_B.mjs";
40
+ import { k as ye, l as xe } from "./ConnectDrawer-CPTXh70j.mjs";
41
41
  const ve = {
42
42
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
43
43
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
@@ -187,14 +187,14 @@ const ve = {
187
187
  }, [h]);
188
188
  const I = () => {
189
189
  const e = V(te());
190
- return [V(X(e, h)), e];
190
+ return [V(j(e, h)), e];
191
191
  }, w = (e) => {
192
192
  const [i, E] = s, S = e === "previous";
193
193
  let u;
194
194
  if (c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth)
195
195
  u = [
196
- S ? X(i, 1) : Q(i, 1),
197
- V(S ? X(E, 1) : Q(E, 1))
196
+ S ? j(i, 1) : Q(i, 1),
197
+ V(S ? j(E, 1) : Q(E, 1))
198
198
  ];
199
199
  else if (c === _.dateRangePickerCopy.dateRangeYTD || c === _.dateRangePickerCopy.dateRangeLastYear) {
200
200
  const R = ke(i), g = Le(i);
@@ -232,9 +232,9 @@ const ve = {
232
232
  children: [
233
233
  n === "readonly" && /* @__PURE__ */ d(Y, { alignItems: "center", direction: "row", gap: 8, children: [
234
234
  /* @__PURE__ */ t(T, { name: "calendar_month", size: 24 }),
235
- /* @__PURE__ */ t(j, { bold: !0, children: K(r[0], G.MONTH_DAY) }),
235
+ /* @__PURE__ */ t(X, { bold: !0, children: K(r[0], G.MONTH_DAY) }),
236
236
  /* @__PURE__ */ t(T, { name: "remove" }),
237
- /* @__PURE__ */ t(j, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
237
+ /* @__PURE__ */ t(X, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
238
238
  ] }),
239
239
  n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ d(
240
240
  Oe,
@@ -322,7 +322,7 @@ const ve = {
322
322
  children: C.tabs.map((e) => /* @__PURE__ */ t(
323
323
  fe,
324
324
  {
325
- label: /* @__PURE__ */ t(j, { bold: !0, variant: "Body", children: e.label }),
325
+ label: /* @__PURE__ */ t(X, { bold: !0, variant: "Body", children: e.label }),
326
326
  sx: { minWidth: 80 },
327
327
  value: e.value
328
328
  },
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
7
7
  import O from "@mui/material/ListSubheader";
8
8
  import _ from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as K } from "../AccountDetailsContent-CCOCsdoL.mjs";
11
- import { u as D1 } from "../AccountDetailsContent-CCOCsdoL.mjs";
12
- import { u as z, A as P } from "../AccountDetailsHeader-Ca9SPAjA.mjs";
13
- import { A as W } from "../AccountListItem-CMes1Q7Z.mjs";
14
- import { a as Y } from "../AccountFields-DDAr5SEq.mjs";
15
- import { g as U1, b as $1 } from "../AccountFields-DDAr5SEq.mjs";
16
- import { u as w, b as S, d as T, g as D, a as q } from "../hooks-D6XlXHf4.mjs";
10
+ import { A as K } from "../AccountDetailsContent-CuZSSAEc.mjs";
11
+ import { u as D1 } from "../AccountDetailsContent-CuZSSAEc.mjs";
12
+ import { u as z, A as P } from "../AccountDetailsHeader-BZBsIKdF.mjs";
13
+ import { A as W } from "../AccountListItem-CllIBCao.mjs";
14
+ import { a as Y } from "../AccountFields-BD_0GT68.mjs";
15
+ import { g as U1, b as $1 } from "../AccountFields-BD_0GT68.mjs";
16
+ import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CE2TKk4a.mjs";
17
17
  import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
18
18
  import { D as J } from "../Drawer-kEE73B87.mjs";
19
- import { A as y, W as Q } from "../WidgetContainer-BMWagbIl.mjs";
20
- import { C as X } from "../ConnectionsDrawer-BeB6ab8V.mjs";
19
+ import { A as y, W as Q } from "../WidgetContainer-DtPnPQZY.mjs";
20
+ import { C as X } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
21
21
  import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { L as R } from "../Loader-DUaFpDGv.mjs";
23
- import { k as U, l as e1 } from "../ConnectDrawer-CHG5Lv_B.mjs";
24
- import { F as G1, M as K1 } from "../ConnectDrawer-CHG5Lv_B.mjs";
23
+ import { l as U, m as e1 } from "../ConnectDrawer-CPTXh70j.mjs";
24
+ import { F as G1, M as K1 } from "../ConnectDrawer-CPTXh70j.mjs";
25
25
  import t1 from "@mui/material/ListItem";
26
- import { M as $ } from "../MiniWidgetContainer-D0gfmbaF.mjs";
26
+ import { M as $ } from "../MiniWidgetContainer-DTQdRK-3.mjs";
27
27
  import l1 from "@mui/material/Stack";
28
- import { A as P1, a as Y1 } from "../AccountStore-DYOG9MYj.mjs";
28
+ import { A as P1, a as Y1 } from "../AccountStore-BL0FE1QL.mjs";
29
29
  const i1 = () => {
30
30
  const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
31
31
  () => l.filter((t) => t.is_hidden),
@@ -20,12 +20,14 @@ export declare class AccountStore {
20
20
  get finstrongAccounts(): Account[];
21
21
  get investmentAccounts(): Account[];
22
22
  get savingsAccounts(): Account[];
23
+ get retirementAccounts(): Account[];
23
24
  get visibleAccounts(): Account[];
24
25
  get visibleCashAccounts(): Account[];
25
26
  get visibleCashBalance(): number;
26
27
  get visibleCheckingAccounts(): Account[];
27
28
  get visibleDebtAccounts(): Account[];
28
29
  get visibleFinstrongAccounts(): Account[];
30
+ get visibleRetirementAccounts(): Account[];
29
31
  get visibleInvestmentAccounts(): Account[];
30
32
  get visibleSavingsAccounts(): Account[];
31
33
  addAccount: (account: Account) => Promise<void>;
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
9
  import { Text as u, TextField as L } from "@mxenabled/mxui";
10
10
  import { L as W } from "../Loader-DUaFpDGv.mjs";
11
- import { M as j } from "../MiniWidgetContainer-D0gfmbaF.mjs";
12
- import { k as f, u as b, g as q, b as E } from "../hooks-D6XlXHf4.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-DTQdRK-3.mjs";
12
+ import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
15
15
  const O = () => {
@@ -8,7 +8,7 @@ import S from "@mui/material/Stack";
8
8
  import Q from "@mui/material/styles/useTheme";
9
9
  import { Text as y, CategoryIcon as H, Icon as N, H1 as ze, H3 as xe } from "@mxenabled/mxui";
10
10
  import W from "@mui/material/List";
11
- import { u as w, i as D, j as ee, m as j, q as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-D6XlXHf4.mjs";
11
+ import { u as w, i as D, j as ee, m as j, p as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-CE2TKk4a.mjs";
12
12
  import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
13
13
  import Ae from "@mui/material/Button";
14
14
  import ae from "@mui/material/Divider";
@@ -19,34 +19,34 @@ import Y from "@mui/material/ListItemText";
19
19
  import { b as M } from "../Localization-2MODESHW.mjs";
20
20
  import { D as k } from "../Drawer-kEE73B87.mjs";
21
21
  import Fe from "@mui/material/ListItemSecondaryAction";
22
- import { C as He } from "../CurrencyInput-CsCy7uaS.mjs";
22
+ import { C as He } from "../CurrencyInput-C4xNRL2W.mjs";
23
23
  import { a as $ } from "../Dialog-CWW597AF.mjs";
24
- import { C as We } from "../ConnectionsDrawer-BeB6ab8V.mjs";
24
+ import { C as We } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
25
25
  import * as O from "d3";
26
26
  import Xe from "@mui/material/Tooltip";
27
27
  import { u as se } from "../useScreenSize-B6JyS_Lj.mjs";
28
28
  import { L as G } from "../Loader-DUaFpDGv.mjs";
29
29
  import { E as de } from "../EmptyState-DA_lfRBv.mjs";
30
- import { A as L, W as Ke } from "../WidgetContainer-BMWagbIl.mjs";
31
- import { u as Ve } from "../BudgetUtil-B2ZXyw-g.mjs";
32
- import { M as Ye } from "../MiniWidgetContainer-D0gfmbaF.mjs";
30
+ import { A as L, W as Ke } from "../WidgetContainer-DtPnPQZY.mjs";
31
+ import { u as Ve } from "../BudgetUtil-psfk-Amb.mjs";
32
+ import { M as Ye } from "../MiniWidgetContainer-DTQdRK-3.mjs";
33
33
  import { isAfter as Ze } from "date-fns/isAfter";
34
34
  import { startOfToday as Z } from "date-fns/startOfToday";
35
35
  import qe from "@mui/material/Alert";
36
36
  import Je from "@mui/material/Snackbar";
37
37
  import ye from "@mui/material/Tab";
38
38
  import Qe from "@mui/material/Tabs";
39
- import { e as et } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
40
- import { T as Te, a as tt } from "../TransactionDetails-DPvvi4Iu.mjs";
39
+ import { e as et } from "../exportTransactionsToCSV-D8TTNrrE.mjs";
40
+ import { T as Te, a as tt } from "../TransactionDetails-_cXLXTd3.mjs";
41
41
  import pe from "@mui/material/Card";
42
42
  import he from "@mui/material/CardContent";
43
43
  import { S as ge } from "../StatusBar-BK_uYHAB.mjs";
44
44
  import { S as we } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
- import { u as nt, b as ot } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
45
+ import { u as nt, b as ot } from "../CategorySelectorDrawer-BmenK5bu.mjs";
46
46
  import De from "@mui/material/CardHeader";
47
47
  import { subDays as at } from "date-fns/subDays";
48
48
  import rt from "@mui/material/IconButton";
49
- import { M as st } from "../ManageIncome-DqG75uQd.mjs";
49
+ import { M as st } from "../ManageIncome-DUuT-yMV.mjs";
50
50
  const it = I(() => {
51
51
  const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ee(), s = i - o;
52
52
  return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [