@mx-cartographer/experiences 7.11.6 → 7.11.7

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 (82) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-JlrX0MwM.mjs} +1 -1
  3. package/dist/{AccountDetailsHeader-hDo7gojQ.mjs → AccountDetailsHeader-BCi1WwkM.mjs} +2 -2
  4. package/dist/{AccountListItem-CjeAlrPC.mjs → AccountListItem-Ceuh5WKe.mjs} +2 -2
  5. package/dist/{AccountStore-DdGz1ig2.mjs → AccountStore-CSLinWGm.mjs} +2 -2
  6. package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-B7yMnwRX.mjs} +1 -1
  7. package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C3njaxFy.mjs} +1 -1
  8. package/dist/BudgetUtil-CTpLz9lw.mjs +101 -0
  9. package/dist/{CategorySelectorDrawer-zT9pFvTa.mjs → CategorySelectorDrawer-BMmxw2oY.mjs} +1 -1
  10. package/dist/{CategoryStore-Cg6hsxza.mjs → CategoryStore-BC1Dbefp.mjs} +1 -1
  11. package/dist/{Connect-Dg9HlAWv.mjs → Connect-Df7iVTcV.mjs} +1 -1
  12. package/dist/{ConnectDrawer-BLwcW0Oe.mjs → ConnectDrawer-CVt-8rPJ.mjs} +2 -2
  13. package/dist/{ConnectionsDrawer-UQTh9UEc.mjs → ConnectionsDrawer-c7HaKeRj.mjs} +2 -2
  14. package/dist/{CurrencyInput-PMOAH5R3.mjs → CurrencyInput-CDY0awYV.mjs} +1 -1
  15. package/dist/{ExportCsvAction-B5Ra5duE.mjs → ExportCsvAction-BSK-EZ4D.mjs} +3 -3
  16. package/dist/{Fetch-DecPFeGU.mjs → Fetch-C67go-m2.mjs} +1 -0
  17. package/dist/{FinstrongStore-DBSoLGSE.mjs → FinstrongStore-93XvOWQr.mjs} +1 -1
  18. package/dist/{GlobalAccountFilter-C8mpfudV.mjs → GlobalAccountFilter-B3v8E_rC.mjs} +1 -1
  19. package/dist/{GoalStore-DzOZ0je_.mjs → GoalStore-XHAvX1lP.mjs} +2 -2
  20. package/dist/{Help-HjHBZzI9.mjs → Help-BBxespai.mjs} +1 -1
  21. package/dist/{LineChart-Dlp9RAJz.mjs → LineChart-Pu3pKqtQ.mjs} +1 -1
  22. package/dist/{ListItemAction-BDnpuLln.mjs → ListItemAction-5YhgdUZW.mjs} +1 -1
  23. package/dist/{ManageIncome-C05btqU-.mjs → ManageIncome-C389-HAc.mjs} +10 -10
  24. package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-DeeJLKfx.mjs} +1 -1
  25. package/dist/{MicroWidgetContainer-jvYZ5bb6.mjs → MicroWidgetContainer-CMES42I1.mjs} +1 -1
  26. package/dist/{MiniWidgetContainer-B4gbUTJ2.mjs → MiniWidgetContainer-DhEx4qKi.mjs} +1 -1
  27. package/dist/{NetWorthStore-yV43kJro.mjs → NetWorthStore-iebGdvTb.mjs} +1 -1
  28. package/dist/{NotificationSettings-BYv2INpX.mjs → NotificationSettings-BSaCGB8x.mjs} +4 -4
  29. package/dist/{NotificationStore-DBs11ZBH.mjs → NotificationStore-CUhig4c1.mjs} +1 -1
  30. package/dist/{OriginalBalanceAction-CRevNVIM.mjs → OriginalBalanceAction-Bq4utJ1f.mjs} +3 -3
  31. package/dist/{RecurringSettings-B0SSXpiK.mjs → RecurringSettings-CLtfXCFT.mjs} +2 -2
  32. package/dist/{RecurringTransactionsStore-DAX5ozGz.mjs → RecurringTransactionsStore-Ce7p6L0E.mjs} +1 -1
  33. package/dist/{SettingsStore-BqPjOIWk.mjs → SettingsStore-tK6INBFP.mjs} +2 -2
  34. package/dist/{SpendingLegend-D91UDDIu.mjs → SpendingLegend-bMrPWOGJ.mjs} +1 -1
  35. package/dist/{Transaction-BNO5Yz-B.mjs → Transaction-BR682Yj5.mjs} +1 -1
  36. package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-BnjVP2x2.mjs} +1 -1
  37. package/dist/TransactionDetails-Cedp4OOg.mjs +1260 -0
  38. package/dist/{TransactionList-DrtItQUk.mjs → TransactionList-BibbhhS9.mjs} +2 -2
  39. package/dist/{TransactionStore-DYXYuq5s.mjs → TransactionStore-Cv-7GLPT.mjs} +4 -4
  40. package/dist/User-CCSM9p05.mjs +368 -0
  41. package/dist/{ViewMoreMicroCard-BCYgXtiG.mjs → ViewMoreMicroCard-C4QiAZz4.mjs} +3 -3
  42. package/dist/{WidgetContainer-BEpJCqAV.mjs → WidgetContainer-sC5KLXHI.mjs} +2 -2
  43. package/dist/accounts/index.es.js +14 -14
  44. package/dist/analytics/index.es.js +11 -11
  45. package/dist/budgets/api/BudgetsApi.d.ts +1 -0
  46. package/dist/budgets/index.es.js +25 -24
  47. package/dist/budgets/store/BudgetsStore.d.ts +7 -0
  48. package/dist/cashflow/index.es.js +9 -9
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  51. package/dist/common/index.es.js +277 -253
  52. package/dist/common/stores/GlobalStore.d.ts +3 -1
  53. package/dist/common/types/Budget.d.ts +8 -0
  54. package/dist/common/types/localization/BudgetsCopy.d.ts +5 -0
  55. package/dist/common/types/localization/CommonCopy.d.ts +2 -0
  56. package/dist/dashboard/index.es.js +4 -4
  57. package/dist/debts/index.es.js +8 -8
  58. package/dist/{exportTransactionsToCSV-DC2YMFft.mjs → exportTransactionsToCSV-YXwmzmUp.mjs} +1 -1
  59. package/dist/finstrong/index.es.js +12 -12
  60. package/dist/goals/index.es.js +10 -10
  61. package/dist/help/index.es.js +4 -4
  62. package/dist/{hooks-0kWPTHNb.mjs → hooks-zu7yblbi.mjs} +3 -3
  63. package/dist/insights/index.es.js +4 -4
  64. package/dist/investments/index.es.js +4 -4
  65. package/dist/merchants/index.es.js +2 -2
  66. package/dist/microinsights/index.es.js +1 -1
  67. package/dist/networth/index.es.js +8 -8
  68. package/dist/notifications/index.es.js +11 -11
  69. package/dist/recurringtransactions/index.es.js +102 -102
  70. package/dist/settings/index.es.js +8 -8
  71. package/dist/spending/index.es.js +8 -8
  72. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +3 -1
  73. package/dist/transactions/index.es.js +17 -17
  74. package/dist/trends/index.es.js +12 -12
  75. package/dist/{useAccountDisplayName-BQfelpG3.mjs → useAccountDisplayName-CxYB0Wpw.mjs} +1 -1
  76. package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-C6fkIgHW.mjs} +1 -1
  77. package/dist/{useInsightsEnabled-bDCTNOJS.mjs → useInsightsEnabled-CYLDtNYt.mjs} +1 -1
  78. package/dist/{useWidgetLoadTimer-yzSfT9dS.mjs → useWidgetLoadTimer-Bmgv_UeH.mjs} +1 -1
  79. package/package.json +1 -1
  80. package/dist/BudgetUtil-C71e-szt.mjs +0 -236
  81. package/dist/TransactionDetails-Cym3mIjc.mjs +0 -1181
  82. package/dist/User-C8w4H0cj.mjs +0 -237
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.11.7] - 03-04-2026
2
+
3
+ - **UPDATED** - Transaction Details | Added "Add a Merchant Budgets" | Without "Manage merchant Budget Flow"
4
+
1
5
  ## [7.11.6] - 03-02-2026
2
6
 
3
7
  - **FIXED** - Account Details drawer a11y issues
@@ -1,4 +1,4 @@
1
- import { F as s, A as e } from "./Fetch-DecPFeGU.mjs";
1
+ import { F as s, A as e } from "./Fetch-C67go-m2.mjs";
2
2
  class r {
3
3
  fetchInstance;
4
4
  constructor(t, c, n) {
@@ -3,7 +3,7 @@ import { observer as f } from "mobx-react-lite";
3
3
  import a from "@mui/material/Stack";
4
4
  import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
5
5
  import p from "react";
6
- import { G as N, d as _, m as P, f as G, u as O } from "./hooks-0kWPTHNb.mjs";
6
+ import { G as N, d as _, m as P, f as G, u as O } from "./hooks-zu7yblbi.mjs";
7
7
  import { g as R } from "./AccountFields-C-sby5mF.mjs";
8
8
  import { A as r } from "./Account-BiB1F8lL.mjs";
9
9
  import w from "@mui/material/Card";
@@ -11,7 +11,7 @@ import v from "@mui/material/CardContent";
11
11
  import L from "@mui/material/CardHeader";
12
12
  import { L as H } from "./Loader-D3rjKx72.mjs";
13
13
  import { I as M, P as U, S as Y } from "./Account-DuOz1a27.mjs";
14
- import { u as j } from "./useAccountDisplayName-BQfelpG3.mjs";
14
+ import { u as j } from "./useAccountDisplayName-CxYB0Wpw.mjs";
15
15
  import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
16
16
  const C = () => {
17
17
  if (!p.useContext(N))
@@ -11,8 +11,8 @@ import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as A } from "@mxenabled/mx-icons";
12
12
  import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
13
  import { g as T } from "./AccountFields-C-sby5mF.mjs";
14
- import { u as X } from "./useAccountDisplayName-BQfelpG3.mjs";
15
- import { u as $ } from "./hooks-0kWPTHNb.mjs";
14
+ import { u as X } from "./useAccountDisplayName-CxYB0Wpw.mjs";
15
+ import { u as $ } from "./hooks-zu7yblbi.mjs";
16
16
  import { C as d } from "./Account-BiB1F8lL.mjs";
17
17
  import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
18
18
  const w = {
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as h, runInAction as a } from "mobx";
2
- import { i as g } from "./User-C8w4H0cj.mjs";
3
- import { A as d } from "./AccountApi-DgZ8ILj1.mjs";
2
+ import { i as g } from "./User-CCSM9p05.mjs";
3
+ import { A as d } from "./AccountApi-JlrX0MwM.mjs";
4
4
  import { d as m } from "./Accounts-M-LTzStv.mjs";
5
5
  import { A as s, d as u } from "./Account-BiB1F8lL.mjs";
6
6
  class p {
@@ -1,4 +1,4 @@
1
- import { F as c, A as s } from "./Fetch-DecPFeGU.mjs";
1
+ import { F as c, A as s } from "./Fetch-C67go-m2.mjs";
2
2
  class i {
3
3
  fetchInstance;
4
4
  constructor(t, e, n) {
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as c, runInAction as r } from "mobx";
2
- import { B as l } from "./BeatApi-De2IaqH2.mjs";
2
+ import { B as l } from "./BeatApi-B7yMnwRX.mjs";
3
3
  function d(t, e, s, i = "asc") {
4
4
  const a = i === "desc" ? -1 : 1;
5
5
  return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);
@@ -0,0 +1,101 @@
1
+ import { b as d } from "./Category-CevNQ03n.mjs";
2
+ import { i as _ } from "./hooks-zu7yblbi.mjs";
3
+ import { b as f } from "./Localization-2MODESHW.mjs";
4
+ import { f as l } from "./NumberFormatting-DjTD0t3W.mjs";
5
+ const p = (n, e) => n.find((t) => t.guid === e), B = (n, e) => n.find((t) => t.guid === e), T = (n, e) => {
6
+ const t = n.find((r) => r.subCategories.find((a) => a.guid === e));
7
+ if (t)
8
+ return t.subCategories.find((r) => r.guid === e);
9
+ }, k = (n, e) => {
10
+ const t = [];
11
+ for (const r of e) {
12
+ const a = p(n, r.category_guid);
13
+ if (!a) continue;
14
+ const o = a.parent_guid ?? a.guid, s = p(n, o);
15
+ if (!s) continue;
16
+ const u = {
17
+ amount: r.total,
18
+ category: a,
19
+ guid: a.guid,
20
+ subCategoryTotals: []
21
+ }, i = t.find((g) => g.guid === o);
22
+ i ? (i.amount += r.total, i.subCategoryTotals.push(u)) : t.push({
23
+ amount: r.total,
24
+ category: s,
25
+ guid: o,
26
+ subCategoryTotals: [u]
27
+ });
28
+ }
29
+ return t;
30
+ }, w = (n, e) => {
31
+ const t = n.find((r) => r.guid === e);
32
+ return t ? t.guid === d.INCOME || t.parent_guid === d.INCOME : !1;
33
+ }, y = (n, e) => !n && !e ? 0 : !n && e ? 101 : e / n * 100, b = (n, e) => {
34
+ const t = {
35
+ background: e.palette.success.main,
36
+ description: n <= 100 ? e.palette.text.secondary : e.palette.error.main,
37
+ text: e.palette.common.white,
38
+ mercury: e.palette.success.lighter
39
+ };
40
+ return n > 100 ? (t.background = e.palette.error.main, t.mercury = e.palette.error.lighter) : n > 80 && (t.background = e.palette.warning.main, t.text = e.palette.grey[900], t.mercury = e.palette.warning.lighter), t;
41
+ }, G = () => {
42
+ const { detailedBudgets: n } = _();
43
+ return n.map((t) => {
44
+ const r = t.transaction_total;
45
+ return t.amount - r;
46
+ }).reduce((t, r) => t + r, 0);
47
+ }, I = (n, e, t, r) => {
48
+ const a = [];
49
+ for (const o of n) {
50
+ const s = B(e, o.category_guid);
51
+ if (!s) continue;
52
+ const u = s.totalAmount, i = y(o.amount, u), g = o.amount - u;
53
+ a.push({
54
+ ...o,
55
+ budgetColors: b(i, r),
56
+ category: s,
57
+ description: f(
58
+ g < 0 ? t.budget_remaining_over : t.budget_remaining_left,
59
+ l(Math.abs(g), "0,0")
60
+ ),
61
+ percentage: i,
62
+ subBudgets: [],
63
+ transaction_total: u
64
+ });
65
+ }
66
+ for (const o of n) {
67
+ const s = T(e, o.category_guid);
68
+ if (!s) continue;
69
+ const u = s.currentAmount, i = a.find((C) => C.category_guid === s.parent_guid);
70
+ if (!i) continue;
71
+ const g = o.amount - u, c = y(o.amount, u);
72
+ i && i.subBudgets.push({
73
+ ...o,
74
+ budgetColors: b(c, r),
75
+ category: s,
76
+ description: f(
77
+ g < 0 ? t.budget_remaining_over : t.budget_remaining_left,
78
+ l(Math.abs(g), "0,0")
79
+ ),
80
+ percentage: c,
81
+ subBudgets: [],
82
+ transaction_total: u
83
+ });
84
+ }
85
+ return a;
86
+ }, m = (n, e) => n.find((t) => t.guid === e), S = (n, e, t) => {
87
+ const r = m(n, t);
88
+ if (r)
89
+ return m(r.subBudgets, e);
90
+ };
91
+ export {
92
+ S as a,
93
+ I as b,
94
+ B as c,
95
+ T as d,
96
+ k as e,
97
+ m as f,
98
+ p as g,
99
+ w as i,
100
+ G as u
101
+ };
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
2
  import { observer as E } from "mobx-react-lite";
3
3
  import _ from "react";
4
4
  import K from "@mui/material/Stack";
5
- import { G as V, m as D, u as h, g as f, b as U } from "./hooks-0kWPTHNb.mjs";
5
+ import { G as V, m as D, u as h, g as f, b as U } from "./hooks-zu7yblbi.mjs";
6
6
  import Y from "@mui/material/List";
7
7
  import W from "@mui/material/Paper";
8
8
  import k from "@mui/material/Divider";
@@ -4,7 +4,7 @@ import { subMonths as c } from "date-fns/subMonths";
4
4
  import { startOfMonth as C } from "date-fns/startOfMonth";
5
5
  import { endOfMonth as h } from "date-fns/endOfMonth";
6
6
  import { a as T, g as m } from "./CategoryUtil-Cufq3fxg.mjs";
7
- import { F as f, A as i } from "./Fetch-DecPFeGU.mjs";
7
+ import { F as f, A as i } from "./Fetch-C67go-m2.mjs";
8
8
  import { b as l, c as p } from "./Category-CevNQ03n.mjs";
9
9
  class d {
10
10
  fetchInstance;
@@ -5,7 +5,7 @@ import s from "@mui/material/CircularProgress";
5
5
  import m from "@mui/material/Stack";
6
6
  import { Text as a } from "@mxenabled/mxui";
7
7
  import { M as t } from "./Accounts-CseLC3lL.mjs";
8
- import { u as p } from "./hooks-0kWPTHNb.mjs";
8
+ import { u as p } from "./hooks-zu7yblbi.mjs";
9
9
  const l = ({ status: r = t.Loading }) => {
10
10
  const { connect: n } = p();
11
11
  return /* @__PURE__ */ o(
@@ -3,9 +3,9 @@ import s from "react";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import g from "@mui/material/styles/useTheme";
5
5
  import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
6
- import { b as a, a as c } from "./Connect-Dg9HlAWv.mjs";
6
+ import { b as a, a as c } from "./Connect-Df7iVTcV.mjs";
7
7
  import { M as i } from "./Accounts-CseLC3lL.mjs";
8
- import { d as D, e as L, u as w } from "./hooks-0kWPTHNb.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-zu7yblbi.mjs";
9
9
  import { D as y } from "./Drawer-DV4NTsFg.mjs";
10
10
  const I = ({
11
11
  loadWidgetProps: l,
@@ -3,9 +3,9 @@ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as _ } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
6
- import { C as a, a as c } from "./Connect-Dg9HlAWv.mjs";
6
+ import { C as a, a as c } from "./Connect-Df7iVTcV.mjs";
7
7
  import { M as i } from "./Accounts-CseLC3lL.mjs";
8
- import { d as D, e as L, u as w } from "./hooks-0kWPTHNb.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-zu7yblbi.mjs";
9
9
  import { D as x } from "./Drawer-DV4NTsFg.mjs";
10
10
  const I = ({
11
11
  onClose: l,
@@ -4,7 +4,7 @@ import { css as k } from "@mxenabled/cssinjs";
4
4
  import { v4 as q } from "uuid";
5
5
  import { TextField as B, P as _ } from "@mxenabled/mxui";
6
6
  import { g as L, C as O, f as y, M as C } from "./NumberFormatting-DjTD0t3W.mjs";
7
- import { u as W } from "./hooks-0kWPTHNb.mjs";
7
+ import { u as W } from "./hooks-zu7yblbi.mjs";
8
8
  import { b, g } from "./Localization-2MODESHW.mjs";
9
9
  const j = ({
10
10
  allowDecimals: o = !0,
@@ -1,10 +1,10 @@
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-DC2YMFft.mjs";
5
- import { O as m } from "./Transaction-BNO5Yz-B.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-YXwmzmUp.mjs";
5
+ import { O as m } from "./Transaction-BR682Yj5.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
- import { g as _, h as C, u as l } from "./hooks-0kWPTHNb.mjs";
7
+ import { g as _, h as C, u as l } from "./hooks-zu7yblbi.mjs";
8
8
  const v = ({ filter: t }) => {
9
9
  const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
10
10
  r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
@@ -23,6 +23,7 @@ const E = {
23
23
  LOCALIZED_CONTENT: "localized_content",
24
24
  MEMBERS: "members",
25
25
  MERCHANTS: "merchants",
26
+ MERCHANT_BUDGETS: "merchant_budgets",
26
27
  MONTHLY_CASH_FLOW_PROFILE: "monthly_cash_flow_profile",
27
28
  MONTHLY_CATEGORY_TOTALS: "monthly_category_totals",
28
29
  OFFERS: "offers",
@@ -3,7 +3,7 @@ import { format as R } from "date-fns/format";
3
3
  import { fromUnixTime as b } from "date-fns/fromUnixTime";
4
4
  import { getUnixTime as T } from "date-fns/getUnixTime";
5
5
  import { subMonths as H } from "date-fns/subMonths";
6
- import { F as x, A as h } from "./Fetch-DecPFeGU.mjs";
6
+ import { F as x, A as h } from "./Fetch-C67go-m2.mjs";
7
7
  import { jsx as c, jsxs as C } from "react/jsx-runtime";
8
8
  import { addDays as v } from "date-fns/addDays";
9
9
  import { addMonths as M } from "date-fns/addMonths";
@@ -15,7 +15,7 @@ import y from "@mui/material/ListItem";
15
15
  import v from "@mui/material/ListItemButton";
16
16
  import E from "@mui/material/ListItemIcon";
17
17
  import _ from "@mui/material/ListItemText";
18
- import { b as z, u as M, d as L } from "./hooks-0kWPTHNb.mjs";
18
+ import { b as z, u as M, d as L } from "./hooks-zu7yblbi.mjs";
19
19
  import { u as H } from "./useScreenSize-B6JyS_Lj.mjs";
20
20
  const R = I(
21
21
  ({ allowedAccountTypes: n }) => {
@@ -7,9 +7,9 @@ import O from "@mui/material/CardHeader";
7
7
  import w from "@mui/material/Stack";
8
8
  import { AccountBalance as L, ChevronRight as S } from "@mxenabled/mx-icons";
9
9
  import { Text as g } from "@mxenabled/mxui";
10
- import { C as y } from "./ConnectDrawer-BLwcW0Oe.mjs";
10
+ import { C as y } from "./ConnectDrawer-CVt-8rPJ.mjs";
11
11
  import { makeAutoObservable as b, runInAction as u } from "mobx";
12
- import { F as D, A as i } from "./Fetch-DecPFeGU.mjs";
12
+ import { F as D, A as i } from "./Fetch-C67go-m2.mjs";
13
13
  import { fromUnixTime as R } from "date-fns/fromUnixTime";
14
14
  import { addYears as F } from "date-fns/addYears";
15
15
  import { getUnixTime as v } from "date-fns/getUnixTime";
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
13
13
  import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
14
14
  import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
15
15
  import xt from "@mui/material/Breadcrumbs";
16
- import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-0kWPTHNb.mjs";
16
+ import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-zu7yblbi.mjs";
17
17
  import { useTheme as Z } from "@mui/material/styles";
18
18
  import { b as s } from "./Localization-2MODESHW.mjs";
19
19
  import { E as Et, a as Ct, P as At } from "./Help-B8mD4aLJ.mjs";
@@ -13,7 +13,7 @@ import { f as p, c as X } from "./NumberFormatting-DjTD0t3W.mjs";
13
13
  import { observer as St } from "mobx-react-lite";
14
14
  import P from "@mui/material/Stack";
15
15
  import { Text as l } from "@mxenabled/mxui";
16
- import { u as vt } from "./hooks-0kWPTHNb.mjs";
16
+ import { u as vt } from "./hooks-zu7yblbi.mjs";
17
17
  import Dt from "@mui/material/useMediaQuery";
18
18
  import { Stack as M, Box as F } from "@mui/material";
19
19
  const Tt = ({
@@ -8,7 +8,7 @@ import L from "@mui/material/Stack";
8
8
  import { ChevronRight as _ } from "@mxenabled/mx-icons";
9
9
  import { Text as m } from "@mxenabled/mxui";
10
10
  import { D as g } from "./Dialog-DdCwLgrl.mjs";
11
- import { u as j } from "./hooks-0kWPTHNb.mjs";
11
+ import { u as j } from "./hooks-zu7yblbi.mjs";
12
12
  const q = v(
13
13
  ({
14
14
  children: n,
@@ -17,15 +17,15 @@ import { endOfMonth as ue } from "date-fns/endOfMonth";
17
17
  import { parseISO as me } from "date-fns/parseISO";
18
18
  import Z from "@mui/material/Button";
19
19
  import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
20
- import { T as J, u as fe, S as ge, a as Ce } from "./TransactionList-DrtItQUk.mjs";
21
- import { T as be } from "./TransactionDetails-Cym3mIjc.mjs";
22
- import { addYears as j } from "date-fns/addYears";
20
+ import { T as J, u as fe, S as ge, a as Ce } from "./TransactionList-BibbhhS9.mjs";
21
+ import { T as be } from "./TransactionDetails-Cedp4OOg.mjs";
22
+ import { addYears as K } from "date-fns/addYears";
23
23
  import { getDayOfYear as xe } from "date-fns/getDayOfYear";
24
24
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
25
25
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
26
26
  import { DatePicker as De } from "@mui/x-date-pickers";
27
27
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
28
- import { u as w, i as Y, g as P, b as Ae, h as V, o as Ie } from "./hooks-0kWPTHNb.mjs";
28
+ import { u as w, j as Y, g as P, b as Ae, h as V, o as Ie } from "./hooks-zu7yblbi.mjs";
29
29
  import { b as Re, f as ee } from "./NumberFormatting-DjTD0t3W.mjs";
30
30
  import { D as N } from "./Drawer-DV4NTsFg.mjs";
31
31
  import { A as L } from "./Analytics-i5h6BxR1.mjs";
@@ -36,7 +36,7 @@ import { fromUnixTime as ke } from "date-fns/fromUnixTime";
36
36
  import { S as Ne } from "./SearchBox-B7km148n.mjs";
37
37
  import { h as Me } from "./DateUtil-CVXVMbjf.mjs";
38
38
  import { b as B } from "./Category-CevNQ03n.mjs";
39
- import { T as te } from "./Transaction-BNO5Yz-B.mjs";
39
+ import { T as te } from "./Transaction-BR682Yj5.mjs";
40
40
  const ne = ({
41
41
  frequency: n,
42
42
  firstDay: t,
@@ -70,7 +70,7 @@ const ne = ({
70
70
  label: Re(b + 1)
71
71
  }));
72
72
  h[30].label += ` (${r.last_day_of_month})`;
73
- const g = h.slice(0, 15), v = h.slice(14), C = n === d.EveryWeek || n === d.EveryOtherWeek, f = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, A = Se(E(), t), y = A < E() ? j(A, 1) : A, D = (b) => {
73
+ const g = h.slice(0, 15), v = h.slice(14), C = n === d.EveryWeek || n === d.EveryOtherWeek, f = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, A = Se(E(), t), y = A < E() ? K(A, 1) : A, D = (b) => {
74
74
  b && s(xe(b));
75
75
  };
76
76
  return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
@@ -115,7 +115,7 @@ const ne = ({
115
115
  {
116
116
  disablePast: !0,
117
117
  label: r.next_payment_date,
118
- maxDate: X(j(E(), 1), 1),
118
+ maxDate: X(K(E(), 1), 1),
119
119
  minDate: E(),
120
120
  onChange: D,
121
121
  value: y
@@ -429,7 +429,7 @@ const ne = ({
429
429
  g(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
430
430
  }, ae = async () => {
431
431
  if (!u) {
432
- K();
432
+ j();
433
433
  return;
434
434
  }
435
435
  o();
@@ -448,8 +448,8 @@ const ne = ({
448
448
  transaction_type: u.transaction_type,
449
449
  user_guid: m.guid
450
450
  };
451
- await a(R, u), K();
452
- }, K = () => {
451
+ await a(R, u), j();
452
+ }, j = () => {
453
453
  C(""), g(!1);
454
454
  };
455
455
  return /* @__PURE__ */ c(k, { children: [
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as m, runInAction as c } from "mobx";
2
- import { F as p, A as h } from "./Fetch-DecPFeGU.mjs";
2
+ import { F as p, A as h } from "./Fetch-C67go-m2.mjs";
3
3
  class i {
4
4
  fetchInstance;
5
5
  constructor(t, n, s) {
@@ -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-CeDR9V8N.mjs";
9
- import { W as w } from "./hooks-0kWPTHNb.mjs";
9
+ import { W as w } from "./hooks-zu7yblbi.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-CeDR9V8N.mjs";
11
- import { W as j } from "./hooks-0kWPTHNb.mjs";
11
+ import { W as j } from "./hooks-zu7yblbi.mjs";
12
12
  const w = ({
13
13
  children: a,
14
14
  className: m = "mx-cmn-mini-widget",
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as p } from "mobx";
2
- import { A as m } from "./AccountApi-DgZ8ILj1.mjs";
2
+ import { A as m } from "./AccountApi-JlrX0MwM.mjs";
3
3
  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";
@@ -15,11 +15,11 @@ 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
17
  import { A as le, T as R, a as D, N as b } from "./Notification-CMBNDGC-.mjs";
18
- import { u as S, r as T, o as A, d as J, g as re, a as X, b as de } from "./hooks-0kWPTHNb.mjs";
18
+ import { u as S, r as T, o as A, d as J, g as re, a as X, b as de } from "./hooks-zu7yblbi.mjs";
19
19
  import { b as me } from "./Localization-2MODESHW.mjs";
20
20
  import { b as _e, f as he } from "./NumberFormatting-DjTD0t3W.mjs";
21
21
  import { D as N } from "./Dialog-DdCwLgrl.mjs";
22
- import { C as ue } from "./CurrencyInput-PMOAH5R3.mjs";
22
+ import { C as ue } from "./CurrencyInput-CDY0awYV.mjs";
23
23
  import { u as fe } from "./useScreenSize-B6JyS_Lj.mjs";
24
24
  import { D as q } from "./Drawer-DV4NTsFg.mjs";
25
25
  import pe from "@mui/material/Collapse";
@@ -30,8 +30,8 @@ import j from "@mui/material/Button";
30
30
  import U from "@mui/material/TextField";
31
31
  import { u as be } from "./useDimensions-CeDR9V8N.mjs";
32
32
  import K from "@mui/material/styles/useTheme";
33
- import { u as xe } from "./useInsightsEnabled-bDCTNOJS.mjs";
34
- import { u as Ce } from "./useWidgetLoadTimer-yzSfT9dS.mjs";
33
+ import { u as xe } from "./useInsightsEnabled-CYLDtNYt.mjs";
34
+ import { u as Ce } from "./useWidgetLoadTimer-Bmgv_UeH.mjs";
35
35
  import { L as ve } from "./Loader-D3rjKx72.mjs";
36
36
  const Te = C(() => {
37
37
  const { common: n, settings: t } = S(), { sendEmailVerification: s } = T(), { user: l } = A(), i = K(), [r, a] = f.useState(!1), o = () => {
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as f, observable as l, runInAction as h } from "mobx";
2
2
  import { fromUnixTime as s, isSameDay as u } from "date-fns";
3
3
  import { I as d } from "./Notification-CMBNDGC-.mjs";
4
- import { F as N, A as o } from "./Fetch-DecPFeGU.mjs";
4
+ import { F as N, A as o } from "./Fetch-C67go-m2.mjs";
5
5
  class r {
6
6
  fetchInstance;
7
7
  constructor(t, i, n) {
@@ -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-BDnpuLln.mjs";
6
- import { u as h, l as b } from "./hooks-0kWPTHNb.mjs";
5
+ import { L as y } from "./ListItemAction-5YhgdUZW.mjs";
6
+ import { u as h, l as b } from "./hooks-zu7yblbi.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-DjTD0t3W.mjs";
8
- import { C as f } from "./CurrencyInput-PMOAH5R3.mjs";
8
+ import { C as f } from "./CurrencyInput-CDY0awYV.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,8 +7,8 @@ import R from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import b 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-C05btqU-.mjs";
11
- import { u as _, i as A, g as f } from "./hooks-0kWPTHNb.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-C389-HAc.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-zu7yblbi.mjs";
12
12
  import { R as y, F as N } from "./RecurringTransactions-B_I4_FGO.mjs";
13
13
  import { A as m } from "./Analytics-i5h6BxR1.mjs";
14
14
  const I = h(() => {
@@ -7,7 +7,7 @@ import { isWithinInterval as T } from "date-fns/isWithinInterval";
7
7
  import { startOfMonth as y } from "date-fns/startOfMonth";
8
8
  import { startOfToday as i } from "date-fns/startOfToday";
9
9
  import { subDays as I } from "date-fns/subDays";
10
- import { F as x, A as o } from "./Fetch-DecPFeGU.mjs";
10
+ import { F as x, A as o } from "./Fetch-C67go-m2.mjs";
11
11
  import { a as u, b as A, c as r, d } from "./RecurringTransactions-B_I4_FGO.mjs";
12
12
  var E = /* @__PURE__ */ ((a) => (a.Small = "small", a.Medium = "medium", a.Large = "large", a))(E || {});
13
13
  const G = 44;
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as N, runInAction as l } from "mobx";
2
- import { F as D, A as r } from "./Fetch-DecPFeGU.mjs";
2
+ import { F as D, A as r } from "./Fetch-C67go-m2.mjs";
3
3
  import { B as f, A as n, I as i } from "./Notification-CMBNDGC-.mjs";
4
- import { T as m } from "./TransactionApi-CjBoLleL.mjs";
4
+ import { T as m } from "./TransactionApi-BnjVP2x2.mjs";
5
5
  class y {
6
6
  fetchInstance;
7
7
  constructor(e, t, o) {
@@ -9,7 +9,7 @@ import { useTheme as M } from "@mui/material/styles";
9
9
  import { CategoryIcon as A, CategoryIconVariants as G, Text as y, P as O } from "@mxenabled/mxui";
10
10
  import { D as $ } from "./Donut-DSGXraiS.mjs";
11
11
  import { u as j } from "./useAriaLive-MkYebyUR.mjs";
12
- import { u as R } from "./hooks-0kWPTHNb.mjs";
12
+ import { u as R } from "./hooks-zu7yblbi.mjs";
13
13
  import { u as v } from "./useScreenSize-B6JyS_Lj.mjs";
14
14
  import { f as x } from "./NumberFormatting-DjTD0t3W.mjs";
15
15
  import B from "@mui/material/Box";
@@ -1,7 +1,7 @@
1
1
  import { jsx as C } from "react/jsx-runtime";
2
2
  import A from "@mui/material/ListItem";
3
3
  import o from "@mui/material/ListItemButton";
4
- import { g as O } from "./hooks-0kWPTHNb.mjs";
4
+ import { g as O } from "./hooks-zu7yblbi.mjs";
5
5
  const S = ({
6
6
  children: T,
7
7
  clickEventName: _,
@@ -1,4 +1,4 @@
1
- import { F as g, A as e } from "./Fetch-DecPFeGU.mjs";
1
+ import { F as g, A as e } from "./Fetch-C67go-m2.mjs";
2
2
  class u {
3
3
  fetchInstance;
4
4
  constructor(n, t, a) {