@mx-cartographer/experiences 8.1.0 → 8.1.1

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 (88) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
  3. package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
  4. package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
  5. package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
  6. package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
  7. package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-nxHZqg1Z.mjs} +3 -3
  8. package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
  9. package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
  10. package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-Cwvpb7xl.mjs} +46 -46
  11. package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
  12. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  13. package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
  14. package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
  15. package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
  16. package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
  17. package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
  18. package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
  19. package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
  20. package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
  21. package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
  22. package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
  23. package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
  24. package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
  25. package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
  26. package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
  27. package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
  28. package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
  29. package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
  30. package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
  31. package/dist/{Help-cTsMzSQh.mjs → Help-Dfw_GHKi.mjs} +95 -98
  32. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  33. package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
  34. package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
  35. package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
  36. package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-wgo-qbdP.mjs} +8 -8
  37. package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
  38. package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
  39. package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
  40. package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-BFFIl-wS.mjs} +8 -8
  41. package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
  42. package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-Dn5pPRVS.mjs} +2 -2
  43. package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
  44. package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
  45. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
  46. package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
  47. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  48. package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
  49. package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-RtFvutJ0.mjs} +4 -4
  50. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  51. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  52. package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Cb6vauzy.mjs} +21 -21
  53. package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
  54. package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
  55. package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
  56. package/dist/{WidgetContainer-Bc75FqK7.mjs → WidgetContainer-MhgZzIaI.mjs} +19 -19
  57. package/dist/accounts/index.es.js +28 -28
  58. package/dist/analytics/index.es.js +10 -10
  59. package/dist/budgets/index.es.js +18 -18
  60. package/dist/cashflow/index.es.js +109 -109
  61. package/dist/categories/index.es.js +2 -2
  62. package/dist/common/index.es.js +250 -250
  63. package/dist/core/index.es.js +64 -64
  64. package/dist/dashboard/index.es.js +21 -21
  65. package/dist/debts/index.es.js +21 -21
  66. package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
  67. package/dist/finstrong/index.es.js +21 -21
  68. package/dist/goals/index.es.js +16 -16
  69. package/dist/help/index.es.js +5 -5
  70. package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
  71. package/dist/insights/index.es.js +328 -328
  72. package/dist/investments/index.es.js +9 -9
  73. package/dist/merchants/index.es.js +9 -9
  74. package/dist/microinsights/index.es.js +1 -1
  75. package/dist/networth/index.es.js +25 -25
  76. package/dist/notifications/index.es.js +5 -5
  77. package/dist/recurringtransactions/index.es.js +23 -23
  78. package/dist/settings/index.es.js +95 -95
  79. package/dist/spending/index.es.js +64 -64
  80. package/dist/transactions/index.es.js +73 -73
  81. package/dist/trends/index.es.js +54 -54
  82. package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
  83. package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
  84. package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
  85. package/package.json +20 -20
  86. package/dist/DateUtil-C57sqxn4.mjs +0 -54
  87. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
  88. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
@@ -0,0 +1,45 @@
1
+ import { jsx as r, jsxs as p, Fragment as f } from "react/jsx-runtime";
2
+ import x from "@mui/material/Button";
3
+ import C from "@mui/material/Card";
4
+ import b from "@mui/material/CardContent";
5
+ import g from "@mui/material/CardHeader";
6
+ import { H3 as u, P as v } from "@mxenabled/mxui";
7
+ import { ChevronRight as W } from "@mxenabled/mx-icons";
8
+ import { u as w } from "./useDimensions-CeDR9V8N.mjs";
9
+ import { W as H } from "./hooks-HwStH7q_.mjs";
10
+ const D = ({
11
+ children: i,
12
+ className: o,
13
+ ctaLabel: n,
14
+ onCTAClick: a,
15
+ subHeader: t,
16
+ sx: s,
17
+ title: d,
18
+ variant: c = "borderless"
19
+ }) => {
20
+ const [m, { height: l, width: h }] = w(), e = /* @__PURE__ */ p(f, { children: [
21
+ /* @__PURE__ */ r(
22
+ g,
23
+ {
24
+ action: /* @__PURE__ */ r(
25
+ x,
26
+ {
27
+ endIcon: /* @__PURE__ */ r(W, { size: 20 }),
28
+ onClick: a,
29
+ size: "small",
30
+ variant: "text",
31
+ children: n
32
+ }
33
+ ),
34
+ subheader: t && /* @__PURE__ */ r(v, { sx: { color: "text.secondary" }, variant: "body2", children: t }),
35
+ sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
36
+ title: /* @__PURE__ */ r(u, { sx: { width: "calc(100% - 10px)" }, children: d })
37
+ }
38
+ ),
39
+ /* @__PURE__ */ r(b, { ref: m, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ r(H, { availableHeight: l, availableWidth: h, children: i }) })
40
+ ] });
41
+ return c === "borderless" ? e : /* @__PURE__ */ r(C, { className: o, sx: { alignItems: "center", p: 16, ...s }, children: e });
42
+ };
43
+ export {
44
+ D as M
45
+ };
@@ -0,0 +1,66 @@
1
+ import { jsxs as i, jsx as r, Fragment as g } from "react/jsx-runtime";
2
+ import b from "@mui/material/Box";
3
+ import u from "@mui/material/Button";
4
+ import C from "@mui/material/Card";
5
+ import v from "@mui/material/CardHeader";
6
+ import z from "@mui/material/CardContent";
7
+ import H from "@mui/material/IconButton";
8
+ import { Icon as I, ChevronRight as W } from "@mxenabled/mx-icons";
9
+ import { H3 as y, Text as B, P as j } from "@mxenabled/mxui";
10
+ import { u as w } from "./useDimensions-CeDR9V8N.mjs";
11
+ import { W as M } from "./hooks-HwStH7q_.mjs";
12
+ const J = ({
13
+ children: a,
14
+ className: m = "mx-cmn-mini-widget",
15
+ closeLabel: l,
16
+ contentStyles: d,
17
+ onClose: e,
18
+ onPrimaryCtaClick: o,
19
+ primaryCtaLabel: s = "",
20
+ primaryCtaLabelAria: c = "",
21
+ subTitle: t = "",
22
+ sx: p = {},
23
+ title: n = ""
24
+ }) => {
25
+ const [h, { height: f, width: x }] = w();
26
+ return /* @__PURE__ */ i(C, { className: m, sx: { ...p }, children: [
27
+ /* @__PURE__ */ r(
28
+ v,
29
+ {
30
+ sx: { pb: 8 },
31
+ title: /* @__PURE__ */ i(g, { children: [
32
+ /* @__PURE__ */ i(
33
+ b,
34
+ {
35
+ sx: {
36
+ alignItems: "center",
37
+ display: "grid",
38
+ gap: 2,
39
+ gridTemplateColumns: "1fr auto",
40
+ pb: 4
41
+ },
42
+ children: [
43
+ n && /* @__PURE__ */ r(y, { children: n }),
44
+ e ? /* @__PURE__ */ r(H, { "aria-label": l, onClick: e, size: "small", children: /* @__PURE__ */ r(I, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(
45
+ u,
46
+ {
47
+ "aria-label": c,
48
+ endIcon: /* @__PURE__ */ r(W, {}),
49
+ onClick: o,
50
+ size: "small",
51
+ children: /* @__PURE__ */ r(B, { bold: !0, variant: "body2", children: s })
52
+ }
53
+ )
54
+ ]
55
+ }
56
+ ),
57
+ t && /* @__PURE__ */ r(j, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "body2", children: t })
58
+ ] })
59
+ }
60
+ ),
61
+ /* @__PURE__ */ r(z, { ref: h, sx: { p: 0, ...d }, children: /* @__PURE__ */ r(M, { availableHeight: f, availableWidth: x, children: a }) })
62
+ ] });
63
+ };
64
+ export {
65
+ J as M
66
+ };
@@ -4,8 +4,8 @@ import { format as B } from "date-fns/format";
4
4
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
5
5
  import { startOfMonth as D } from "date-fns/startOfMonth";
6
6
  import { subMonths as _ } from "date-fns/subMonths";
7
- import { a as f } from "./Accounts-o7ohkngR.mjs";
8
- import { e as L, a as M, f as v } from "./Account-BiB1F8lL.mjs";
7
+ import { a as f } from "./Accounts-DX3xJE97.mjs";
8
+ import { e as L, f as M, a as v } from "./Account-CMjOp7S2.mjs";
9
9
  const A = 13, I = (n, t) => n.filter((e) => {
10
10
  const { is_closed: o, is_deleted: s, is_hidden: a, is_manual: c } = e;
11
11
  return o || s || a ? !1 : c || !e.guid ? !0 : t.some((l) => n.some((u) => l.guid === u.member_guid));
@@ -80,8 +80,8 @@ const A = 13, I = (n, t) => n.filter((e) => {
80
80
  return e[s] || (e[s] = []), e[s].push(o), e;
81
81
  }, {});
82
82
  return Object.entries(t).map(([e, o]) => ({
83
- icon: L[+e] || M[+e],
84
- name: v[+e],
83
+ icon: M[+e] || v[+e],
84
+ name: L[+e],
85
85
  accounts: o
86
86
  }));
87
87
  };
@@ -14,15 +14,15 @@ import { startOfMonth as oe } from "date-fns/startOfMonth";
14
14
  import { DateCalendar as se } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ae } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ce } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
- import { T as R, a as D } from "./ToggleListItem-BLu_fWA2.mjs";
18
- import { u as k, r as T, o as A, d as J, g as le, a as q, b as re } from "./hooks-BxkfR-Ff.mjs";
17
+ import { u as k, r as T, o as A, d as J, g as le, a as q, b as re } from "./hooks-HwStH7q_.mjs";
19
18
  import { A as de, N as b } from "./Notification-DTNYSd8P.mjs";
20
19
  import { b as me } from "./Localization-CkQ49EKr.mjs";
21
20
  import { b as he, f as ue } from "./NumberFormatting-CyrvFgfd.mjs";
22
- import { D as B } from "./Dialog-Ck34yr-d.mjs";
23
- import { C as _e } from "./CurrencyInput-BkNVHxSV.mjs";
21
+ import { T as R, a as D } from "./ToggleListItem-BLu_fWA2.mjs";
22
+ import { D as B } from "./Dialog-iLlBR8TG.mjs";
23
+ import { C as _e } from "./CurrencyInput-CSJ3zMgE.mjs";
24
24
  import { u as pe } from "./useScreenSize-CUcpY7aJ.mjs";
25
- import { D as K } from "./Drawer-Bbe4AMB1.mjs";
25
+ import { D as K } from "./Drawer-XPaLYjiO.mjs";
26
26
  import fe from "@mui/material/Collapse";
27
27
  import ge from "@mui/material/Card";
28
28
  import ye from "@mui/material/CardContent";
@@ -31,9 +31,9 @@ import j from "@mui/material/Button";
31
31
  import U from "@mui/material/TextField";
32
32
  import { u as be } from "./useDimensions-CeDR9V8N.mjs";
33
33
  import Q from "@mui/material/styles/useTheme";
34
- import { u as xe } from "./useInsightsEnabled-DL_oNyI0.mjs";
35
- import { u as Ce } from "./useWidgetLoadTimer-DgN1bTyu.mjs";
36
- import { L as ve } from "./Loader-D3rjKx72.mjs";
34
+ import { u as xe } from "./useInsightsEnabled-DzvRm5Bo.mjs";
35
+ import { u as Ce } from "./useWidgetLoadTimer-wkBTL5xx.mjs";
36
+ import { L as ve } from "./Loader-CxeBwuPG.mjs";
37
37
  const Te = C(() => {
38
38
  const { common: n, settings: t } = k(), { sendEmailVerification: s } = T(), { user: l } = A(), i = Q(), [r, a] = p.useState(!1), o = () => {
39
39
  a(!1);
@@ -2,12 +2,12 @@ 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-4KB7P75M.mjs";
6
- import { u as h, k as b } from "./hooks-BxkfR-Ff.mjs";
5
+ import { u as y, k as h } from "./hooks-HwStH7q_.mjs";
6
+ import { L as b } from "./ListItemAction-Buv7tPLp.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-CyrvFgfd.mjs";
8
- import { C as f } from "./CurrencyInput-BkNVHxSV.mjs";
8
+ import { C as f } from "./CurrencyInput-CSJ3zMgE.mjs";
9
9
  const F = p(({ goal: e }) => {
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 () => {
10
+ const { goals: a } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
11
11
  const n = { ...e, interest_rate: t };
12
12
  e.interest_rate = t, c ? l(n) : (await m(n), r(a.alert_goal_updated_interest_rate));
13
13
  }, u = () => {
@@ -16,7 +16,7 @@ const F = p(({ goal: e }) => {
16
16
  }, 250);
17
17
  };
18
18
  return /* @__PURE__ */ o(
19
- y,
19
+ b,
20
20
  {
21
21
  isDisabled: e.is_complete,
22
22
  isSaveDisabled: i,
@@ -40,7 +40,7 @@ const F = p(({ goal: e }) => {
40
40
  }
41
41
  );
42
42
  }), M = p(({ goal: e }) => {
43
- const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.monthly_payment ?? 0), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
43
+ const { goals: a } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.monthly_payment ?? 0), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
44
44
  const n = { ...e, monthly_payment: t };
45
45
  e.monthly_payment = t, c ? l(n) : (await m({ ...e, monthly_payment: t }), r(a.alert_goal_updated_payment));
46
46
  }, u = () => {
@@ -49,7 +49,7 @@ const F = p(({ goal: e }) => {
49
49
  }, 250);
50
50
  };
51
51
  return /* @__PURE__ */ o(
52
- y,
52
+ b,
53
53
  {
54
54
  isDisabled: e.is_complete,
55
55
  isSaveDisabled: i,
@@ -74,7 +74,7 @@ const F = p(({ goal: e }) => {
74
74
  }
75
75
  );
76
76
  }), z = p(({ goal: e }) => {
77
- const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.initial_amount), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
77
+ const { goals: a } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.initial_amount), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
78
78
  const n = { ...e, initial_amount: t };
79
79
  e.initial_amount = t, c ? l(n) : (await m({ ...e, initial_amount: t }), r(a.alert_goal_updated_balance));
80
80
  }, u = () => {
@@ -83,7 +83,7 @@ const F = p(({ goal: e }) => {
83
83
  }, 250);
84
84
  };
85
85
  return /* @__PURE__ */ o(
86
- y,
86
+ b,
87
87
  {
88
88
  isDisabled: e.is_complete,
89
89
  isSaveDisabled: i,
@@ -7,8 +7,8 @@ import x 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-DwSE_a8L.mjs";
11
- import { u as _, i as A, g as f } from "./hooks-BxkfR-Ff.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-wgo-qbdP.mjs";
11
+ import { u as _, i as A, g as f } from "./hooks-HwStH7q_.mjs";
12
12
  import { b as y, F as N } from "./RepeatingTransaction-D2gmBTd0.mjs";
13
13
  import { A as m } from "./Analytics-0Xm_BjHU.mjs";
14
14
  const I = h(() => {
@@ -1,14 +1,14 @@
1
1
  import { jsx as d, jsxs as O, Fragment as L } from "react/jsx-runtime";
2
- import R from "@mui/material/Avatar";
2
+ import F from "@mui/material/Avatar";
3
3
  import M from "@mui/material/ListItem";
4
- import F from "@mui/material/ListItemAvatar";
5
- import G from "@mui/material/ListItemButton";
6
- import P from "@mui/material/ListItemIcon";
4
+ import G from "@mui/material/ListItemAvatar";
5
+ import P from "@mui/material/ListItemButton";
6
+ import R from "@mui/material/ListItemIcon";
7
7
  import q from "@mui/material/ListItemText";
8
8
  import { Icon as w } from "@mxenabled/mxui";
9
9
  import C from "@mui/material/MenuItem";
10
- import $ from "@mui/material/TextField";
11
- import { ExpandMore as U } from "@mxenabled/mx-icons";
10
+ import U from "@mui/material/TextField";
11
+ import { ExpandMore as $ } from "@mxenabled/mx-icons";
12
12
  import { addDays as A } from "date-fns/addDays";
13
13
  import { addMonths as p } from "date-fns/addMonths";
14
14
  import { addQuarters as Q } from "date-fns/addQuarters";
@@ -32,14 +32,14 @@ import { subMonths as X } from "date-fns/subMonths";
32
32
  import { subQuarters as B } from "date-fns/subQuarters";
33
33
  import { subWeeks as Z } from "date-fns/subWeeks";
34
34
  import { subYears as ee } from "date-fns/subYears";
35
- import { g as te, a as re, b as ae, c as oe, d as se, e as ne, f as ce } from "./DateUtil-C57sqxn4.mjs";
36
- import { F as n, R as g, b as ie, a as Y } from "./RepeatingTransaction-D2gmBTd0.mjs";
35
+ import { g as te, a as re, b as ae, c as oe, d as se, e as ne, h as ce } from "./DateUtil-D0TO0DaZ.mjs";
36
+ import { F as n, b as ie, a as Y, R as g } from "./RepeatingTransaction-D2gmBTd0.mjs";
37
37
  import { b as N } from "./NumberFormatting-CyrvFgfd.mjs";
38
38
  import { b as h } from "./Localization-CkQ49EKr.mjs";
39
39
  import { f as v, D as k } from "./DateFormats-CaOj_4eI.mjs";
40
- const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
40
+ const ot = ({ iconName: e, label: o, onClick: r, value: a }) => {
41
41
  const t = /* @__PURE__ */ O(L, { children: [
42
- /* @__PURE__ */ d(F, { children: /* @__PURE__ */ d(R, { sx: { bgcolor: "neutral.light" }, variant: "rounded", children: /* @__PURE__ */ d(w, { name: e, sx: { color: "text.primary" } }) }) }),
42
+ /* @__PURE__ */ d(G, { children: /* @__PURE__ */ d(F, { sx: { bgcolor: "neutral.light" }, variant: "rounded", children: /* @__PURE__ */ d(w, { name: e, sx: { color: "text.primary" } }) }) }),
43
43
  /* @__PURE__ */ d(
44
44
  q,
45
45
  {
@@ -50,16 +50,16 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
50
50
  }
51
51
  )
52
52
  ] });
53
- return r ? /* @__PURE__ */ d(M, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ O(G, { onClick: r, children: [
53
+ return r ? /* @__PURE__ */ d(M, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ O(P, { onClick: r, children: [
54
54
  t,
55
- /* @__PURE__ */ d(P, { children: /* @__PURE__ */ d(w, { name: "chevron_right", size: 24 }) })
55
+ /* @__PURE__ */ d(R, { children: /* @__PURE__ */ d(w, { name: "chevron_right", size: 24 }) })
56
56
  ] }) }) : /* @__PURE__ */ d(M, { disableGutters: !1, disablePadding: !1, children: t });
57
- }, st = ue, nt = ({ label: e, onChange: o, options: r, value: a, ...t }) => /* @__PURE__ */ d(
58
- $,
57
+ }, st = ({ label: e, onChange: o, options: r, value: a, ...t }) => /* @__PURE__ */ d(
58
+ U,
59
59
  {
60
60
  InputLabelProps: { shrink: !0 },
61
61
  SelectProps: {
62
- IconComponent: (c) => /* @__PURE__ */ d(U, { size: 20, sx: { mr: 4 }, ...c })
62
+ IconComponent: (c) => /* @__PURE__ */ d($, { size: 20, sx: { mr: 4 }, ...c })
63
63
  },
64
64
  defaultValue: 0,
65
65
  label: e,
@@ -72,11 +72,11 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
72
72
  ...t,
73
73
  children: r.map((c) => /* @__PURE__ */ d(C, { value: c.id, children: c.label }, c.id))
74
74
  }
75
- ), de = (e) => {
75
+ ), ue = (e) => {
76
76
  if (!e) return "";
77
77
  let o = e.user_name || e.feed_name || "";
78
78
  return e.account_number && (o = `${o} *${e.account_number}`), o;
79
- }, me = (e, o) => {
79
+ }, de = (e, o) => {
80
80
  const r = [], a = e.recurrence_type === n.EveryYear, t = e.transactions.find(
81
81
  (m) => m.repeating_transaction_guid === e.guid
82
82
  );
@@ -88,7 +88,7 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
88
88
  expectedDate: s,
89
89
  frequency: e.recurrence_type,
90
90
  institutionGuid: e.account?.institution_guid || "",
91
- institutionName: de(e.account),
91
+ institutionName: ue(e.account),
92
92
  merchantGuid: e.merchant_guid,
93
93
  name: e.description,
94
94
  recurrenceDay: e.recurrence_day,
@@ -100,28 +100,28 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
100
100
  }, i = o.start, l = o.end;
101
101
  switch (e.recurrence_type) {
102
102
  case n.EveryWeek:
103
- r.push(...le(c, i, l));
103
+ r.push(...me(c, i, l));
104
104
  break;
105
105
  case n.EveryOtherWeek:
106
- r.push(...he(c, i, l));
106
+ r.push(...le(c, i, l));
107
107
  break;
108
108
  case n.TwiceAMonth:
109
- r.push(...pe(c, i, l));
109
+ r.push(...he(c, i, l));
110
110
  break;
111
111
  case n.EveryMonth:
112
- r.push(...ye(c, i, l));
112
+ r.push(...pe(c, i, l));
113
113
  break;
114
114
  case n.EveryOtherMonth:
115
- r.push(...fe(c, i, l));
115
+ r.push(...ye(c, i, l));
116
116
  break;
117
117
  case n.EveryQuarter:
118
- r.push(..._e(c, i, l));
118
+ r.push(...fe(c, i, l));
119
119
  break;
120
120
  case n.EveryOtherQuarter:
121
- r.push(...De(c, i, l));
121
+ r.push(..._e(c, i, l));
122
122
  break;
123
123
  case n.EveryYear:
124
- r.push(...xe(c, i, l));
124
+ r.push(...De(c, i, l));
125
125
  break;
126
126
  }
127
127
  for (const m of r) {
@@ -131,13 +131,13 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
131
131
  D ? (m.transaction = D, m.status = g.Paid, m.occurredOnDate = K(D.date)) : u(m.expectedDate, I(E(), 3)) && (m.status = g.Missed);
132
132
  }
133
133
  return r;
134
- }, le = (e, o, r) => {
134
+ }, me = (e, o, r) => {
135
135
  const a = [];
136
136
  let t = b(o, e.recurrenceDay);
137
137
  for (; u(t, r); )
138
138
  a.push({ ...e, expectedDate: t }), t = b(t, e.recurrenceDay);
139
139
  return a;
140
- }, he = (e, o, r) => {
140
+ }, le = (e, o, r) => {
141
141
  const a = [];
142
142
  let t = e.expectedDate;
143
143
  if (u(t, o))
@@ -151,7 +151,7 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
151
151
  for (; u(t, r); )
152
152
  a.push({ ...e, expectedDate: t }), t = A(t, 14);
153
153
  return a;
154
- }, pe = (e, o, r) => {
154
+ }, he = (e, o, r) => {
155
155
  const a = [];
156
156
  let t = _(o, e.recurrenceDay);
157
157
  for (; u(t, r); )
@@ -160,46 +160,46 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
160
160
  for (; u(s, r); )
161
161
  a.push({ ...e, expectedDate: s }), s = p(s, 1);
162
162
  return a;
163
- }, ye = (e, o, r) => {
163
+ }, pe = (e, o, r) => {
164
164
  const a = [];
165
165
  let t = _(o, e.recurrenceDay);
166
166
  for (a.push({ ...e, expectedDate: t }), t = p(t, 1); u(t, r); )
167
167
  a.push({ ...e, expectedDate: t }), t = p(t, 1);
168
168
  return a;
169
- }, fe = (e, o, r) => {
169
+ }, ye = (e, o, r) => {
170
170
  const a = [], t = e.expectedDate;
171
171
  let s = u(t, r) ? t : X(t, 2);
172
172
  for (; u(s, r); )
173
173
  y(s, o) && a.push({ ...e, expectedDate: s }), s = p(s, 2);
174
174
  return a;
175
- }, _e = (e, o, r) => {
175
+ }, fe = (e, o, r) => {
176
176
  const a = [], t = e.expectedDate;
177
177
  let s = u(t, r) ? t : B(t, 1);
178
178
  for (; u(s, r); )
179
179
  y(s, o) && a.push({ ...e, expectedDate: s }), s = Q(s, 1);
180
180
  return a;
181
- }, De = (e, o, r) => {
181
+ }, _e = (e, o, r) => {
182
182
  const a = [], t = e.expectedDate;
183
183
  let s = u(t, r) ? t : B(t, 2);
184
184
  for (; u(s, r); )
185
185
  y(s, o) && a.push({ ...e, expectedDate: s }), s = Q(s, 2);
186
186
  return a;
187
- }, xe = (e, o, r) => {
187
+ }, De = (e, o, r) => {
188
188
  const a = [], t = e.expectedDate;
189
189
  let s = u(t, r) ? t : ee(t, 1);
190
190
  for (; u(s, r); )
191
191
  y(s, o) && a.push({ ...e, expectedDate: s }), s = j(s, 1);
192
192
  return a;
193
- }, ct = (e, o) => {
193
+ }, nt = (e, o) => {
194
194
  const r = [];
195
195
  for (const a of e) {
196
- const t = me(a, o);
196
+ const t = de(a, o);
197
197
  r.push(...t);
198
198
  }
199
199
  return r.sort(
200
200
  (a, t) => f(a.occurredOnDate || a.expectedDate) - f(t.occurredOnDate || t.expectedDate)
201
201
  );
202
- }, it = (e, o, r) => {
202
+ }, ct = (e, o, r) => {
203
203
  const a = [];
204
204
  for (const t of o) {
205
205
  const s = r.filter(
@@ -212,7 +212,7 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
212
212
  });
213
213
  }
214
214
  return a;
215
- }, ut = (e) => e.reduce((o, r) => {
215
+ }, it = (e) => e.reduce((o, r) => {
216
216
  const a = z(r.expectedDate, { representation: "date" }), t = o.find(
217
217
  (s) => s.date.toString() === r.expectedDate.toString()
218
218
  );
@@ -221,7 +221,7 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
221
221
  id: `date-${a}`,
222
222
  recurrences: [r]
223
223
  }), o;
224
- }, []), dt = (e, o, r) => {
224
+ }, []), ut = (e, o, r) => {
225
225
  const a = b(E(), o.recurrence_day), t = S(E(), o.recurrence_day), s = N(o.recurrence_day), c = o.second_recurrence_day ? N(o.second_recurrence_day) : "";
226
226
  let i = r ? h(e.monthly_ordinal, s) : e.monthly;
227
227
  switch (o.recurrence_type) {
@@ -257,7 +257,7 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
257
257
  break;
258
258
  }
259
259
  return i;
260
- }, mt = (e, o, r) => {
260
+ }, dt = (e, o, r) => {
261
261
  let a = o;
262
262
  r !== void 0 && (e === n.EveryWeek || e === n.EveryOtherWeek ? a = J(o, r) : e === n.EveryYear ? a = S(o, r) : a = _(o, r));
263
263
  let t = a;
@@ -287,11 +287,11 @@ const ue = ({ iconName: e, label: o, onClick: r, value: a }) => {
287
287
  return t;
288
288
  };
289
289
  export {
290
- st as D,
291
- nt as S,
292
- it as a,
293
- ct as b,
294
- mt as c,
295
- ut as d,
296
- dt as g
290
+ ot as D,
291
+ st as S,
292
+ ct as a,
293
+ nt as b,
294
+ dt as c,
295
+ it as d,
296
+ ut as g
297
297
  };
@@ -8,7 +8,7 @@ import { startOfMonth as x } from "date-fns/startOfMonth";
8
8
  import { startOfToday as i } from "date-fns/startOfToday";
9
9
  import { subDays as S } from "date-fns/subDays";
10
10
  import { R as p } from "./RepeatingTransactionsApi-BNZgZPLs.mjs";
11
- import { a as c, b as y } from "./RecurringTransactions-kzlU8OFY.mjs";
11
+ import { a as c, b as y } from "./RecurringTransactions-DCt94TN4.mjs";
12
12
  import { R as a, a as l } from "./RepeatingTransaction-D2gmBTd0.mjs";
13
13
  var D = /* @__PURE__ */ ((n) => (n.Small = "small", n.Medium = "medium", n.Large = "large", n))(D || {});
14
14
  const L = 44, d = (n, e) => h(e.expectedDate, n), s = (n, e) => n + e.amount;
@@ -2,17 +2,17 @@ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
2
  import p from "react";
3
3
  import d from "@mui/material/Button";
4
4
  import a from "@mui/material/IconButton";
5
- import c from "@mui/material/Tooltip";
6
- import f from "@mui/material/styles/useTheme";
7
- const u = ({
5
+ import f from "@mui/material/Tooltip";
6
+ import c from "@mui/material/styles/useTheme";
7
+ const B = ({
8
8
  icon: e,
9
9
  label: i,
10
10
  onClick: o,
11
11
  placement: s = "bottom",
12
- tooltipText: n,
12
+ tooltipText: r,
13
13
  variant: l = "text"
14
14
  }) => {
15
- const r = f();
15
+ const n = c();
16
16
  return /* @__PURE__ */ m(p.Fragment, { children: [
17
17
  /* @__PURE__ */ t(
18
18
  d,
@@ -20,26 +20,26 @@ const u = ({
20
20
  onClick: o,
21
21
  startIcon: e,
22
22
  sx: {
23
- [r.breakpoints.down("lg")]: { display: "none" },
24
- [r.breakpoints.up("lg")]: { display: "inline-flex" }
23
+ [n.breakpoints.down("lg")]: { display: "none" },
24
+ [n.breakpoints.up("lg")]: { display: "inline-flex" }
25
25
  },
26
- title: n,
26
+ title: r,
27
27
  variant: l,
28
28
  children: i
29
29
  }
30
30
  ),
31
31
  /* @__PURE__ */ t(
32
- c,
32
+ f,
33
33
  {
34
34
  describeChild: !0,
35
35
  placement: s,
36
36
  sx: { display: { xs: "inline-flex", lg: "none" } },
37
- title: n,
37
+ title: r,
38
38
  children: /* @__PURE__ */ t(a, { onClick: o, children: e })
39
39
  }
40
40
  )
41
41
  ] });
42
- }, y = u;
42
+ };
43
43
  export {
44
- y as R
44
+ B as R
45
45
  };
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as w, runInAction as s } from "mobx";
2
2
  import { S as g } from "./SettingsApi-D9d7SLhB.mjs";
3
- import { B as u, A as n, I as i } from "./Notification-DTNYSd8P.mjs";
3
+ import { I as i, A as n, B as u } from "./Notification-DTNYSd8P.mjs";
4
4
  import { T as m } from "./TransactionApi-CLG2eSNe.mjs";
5
5
  const y = "PARENT-ENTITY", D = (c, e) => ({
6
6
  [u.BudgetExceeded]: e.notification_budget_exceeded,
@@ -1,11 +1,11 @@
1
1
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
2
  import l from "@mui/material/Box";
3
3
  import D from "@mui/material/styles/useTheme";
4
- const p = 48, u = 4, S = ({
4
+ const p = 48, d = 4, y = ({
5
5
  color: m = "",
6
6
  percent: r = 0,
7
7
  size: t = p,
8
- strokeWidth: s = u,
8
+ strokeWidth: s = d,
9
9
  children: i,
10
10
  backgroundStrokeColor: c
11
11
  }) => {
@@ -61,9 +61,9 @@ const p = 48, u = 4, S = ({
61
61
  ]
62
62
  }
63
63
  );
64
- }, E = S;
64
+ };
65
65
  export {
66
66
  p as D,
67
- E as S,
68
- u as a
67
+ y as S,
68
+ d as a
69
69
  };
@@ -3,7 +3,7 @@ import { isBefore as d } from "date-fns/isBefore";
3
3
  import { startOfMonth as _ } from "date-fns/startOfMonth";
4
4
  import { subMonths as y } from "date-fns/subMonths";
5
5
  import { endOfMonth as M } from "date-fns/endOfMonth";
6
- import { b as a, P as l } from "./Category-CevNQ03n.mjs";
6
+ import { b as a, P as l } from "./Category-Ccoew_sA.mjs";
7
7
  import { f as m, D as T } from "./DateFormats-CaOj_4eI.mjs";
8
8
  const i = (e) => (e.top_level_category_guid === a.INCOME || e.category_guid === a.INCOME) && !h(e), C = (e) => !i(e) && !f(e), p = (e) => l.includes(e.top_level_category_guid) || l.includes(e.category_guid), f = (e) => e.top_level_category_guid === a.TRANSFER || e.category_guid === a.TRANSFER, h = (e) => e.top_level_category_guid === a.INVESTMENTS || e.category_guid === a.INVESTMENTS, N = (e) => !i(e) && !p(e) && !f(e) && !h(e), w = (e) => e.filter((r) => r.category_guid === r.top_level_category_guid), F = (e, r) => {
9
9
  if (r === 0) return 0;
@@ -45,9 +45,9 @@ export {
45
45
  A as a,
46
46
  x as b,
47
47
  w as c,
48
- i as d,
48
+ C as d,
49
49
  H as e,
50
50
  F as f,
51
51
  b as g,
52
- C as i
52
+ i
53
53
  };
@@ -1,5 +1,5 @@
1
- import { b as _ } from "./CategoryUtil-DKRCegQv.mjs";
2
- import { b as p } from "./Category-CevNQ03n.mjs";
1
+ import { b as _ } from "./CategoryUtil-BJOHgYKS.mjs";
2
+ import { b as p } from "./Category-Ccoew_sA.mjs";
3
3
  import { jsxs as f, Fragment as N, jsx as d } from "react/jsx-runtime";
4
4
  import T from "react";
5
5
  import { observer as k } from "mobx-react-lite";
@@ -8,9 +8,9 @@ import M from "@mui/material/Button";
8
8
  import h from "@mui/material/Stack";
9
9
  import { useTheme as A } from "@mui/material/styles";
10
10
  import { CategoryIcon as G, CategoryIconVariants as O, Text as y, P as $ } from "@mxenabled/mxui";
11
- import { D as j } from "./Donut-CpxJlVvJ.mjs";
11
+ import { D as j } from "./Donut-D7ekbgf5.mjs";
12
12
  import { u as R } from "./useAriaLive-MkYebyUR.mjs";
13
- import { u as v } from "./hooks-BxkfR-Ff.mjs";
13
+ import { u as v } from "./hooks-HwStH7q_.mjs";
14
14
  import { u as V } from "./useScreenSize-CUcpY7aJ.mjs";
15
15
  import { f as b } from "./NumberFormatting-CyrvFgfd.mjs";
16
16
  const D = 5, B = (i, l, g, m) => m.reduce((o, n) => {