@mx-cartographer/experiences 7.0.23-alpha.al10 → 7.0.23-alpha.al12

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 (58) hide show
  1. package/dist/{Account-CVVDlNDC.mjs → Account-BW3-oYEs.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-bQKVSCZF.mjs → AccountDetailsContent-UxSEMBo_.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-BGQAu0Xm.mjs → AccountDetailsHeader-Eb3WvBGm.mjs} +8 -8
  4. package/dist/{AccountFields-CC7kzfPK.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
  5. package/dist/{AccountListItem-wgvQjLxW.mjs → AccountListItem-B-ZjJ4Gp.mjs} +3 -3
  6. package/dist/{AccountStore-DpglOysH.mjs → AccountStore-DCDmxODy.mjs} +5 -5
  7. package/dist/{Accounts-ByViymVi.mjs → Accounts-CA-nqAjT.mjs} +1 -1
  8. package/dist/{BudgetUtil-gzgNEDE7.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-LpZcwQPa.mjs → CategorySelectorDrawer-BJ9jlCyt.mjs} +4 -4
  10. package/dist/{ConnectDrawer-C2minBK_.mjs → ConnectDrawer-phFH6OHt.mjs} +1 -1
  11. package/dist/{ConnectionsDrawer-Cd4dZuWL.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +2 -2
  12. package/dist/{CurrencyInput-Dz4r9Rfe.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
  13. package/dist/{DebtsStore-B51DTXVj.mjs → DebtsStore-VkyMADzd.mjs} +1 -1
  14. package/dist/ExportCsvAction-CbMfQ2Wa.mjs +24 -0
  15. package/dist/{GoalStore-DqQ2FMx5.mjs → GoalStore-eSOkI6uE.mjs} +2 -2
  16. package/dist/{Help-DVPbIxMM.mjs → Help-KAAMEubC.mjs} +1 -1
  17. package/dist/{LineChart-DLk-bww5.mjs → LineChart-BWWmmJxV.mjs} +1 -1
  18. package/dist/{ListItemAction-DE6S0N5o.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
  19. package/dist/{ManageIncome-BokhnWOn.mjs → ManageIncome-DbsiKUoO.mjs} +4 -4
  20. package/dist/{MicroWidgetContainer-5YscP1xa.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-BlsgwNew.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
  22. package/dist/{NetWorthStore-C0hQSRzt.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
  23. package/dist/{NotificationSettings-CWx6H-2z.mjs → NotificationSettings-BJFyyZYE.mjs} +2 -2
  24. package/dist/{OriginalBalanceAction-BKsSQVnI.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
  25. package/dist/{RecurringSettings-CICRt51C.mjs → RecurringSettings-Dj29piAQ.mjs} +3 -3
  26. package/dist/ResponsiveButton-DZFp78fJ.mjs +45 -0
  27. package/dist/{TransactionDetails-BXl0m15s.mjs → TransactionDetails-C-z3HGTT.mjs} +37 -37
  28. package/dist/{TransactionStore-BElBVYfk.mjs → TransactionStore-0tLtBEIC.mjs} +209 -248
  29. package/dist/TrendsStore-WrHxzdbQ.mjs +565 -0
  30. package/dist/{User-DtwqVm3K.mjs → User-Dq9Qj764.mjs} +1 -1
  31. package/dist/ViewMoreMicroCard-DFAY0tA8.mjs +1974 -0
  32. package/dist/{WidgetContainer-DK8aZO5l.mjs → WidgetContainer-CdBs9WOZ.mjs} +2 -2
  33. package/dist/accounts/index.es.js +12 -12
  34. package/dist/analytics/index.es.js +8 -8
  35. package/dist/budgets/index.es.js +10 -10
  36. package/dist/cashflow/index.es.js +7 -7
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/index.es.js +518 -577
  39. package/dist/dashboard/index.es.js +9 -9
  40. package/dist/debts/index.es.js +9 -9
  41. package/dist/{exportTransactionsToCSV-Cf5VRYVr.mjs → exportTransactionsToCSV-BDlt8u0n.mjs} +1 -1
  42. package/dist/finstrong/index.es.js +6 -6
  43. package/dist/goals/index.es.js +11 -11
  44. package/dist/help/index.es.js +3 -3
  45. package/dist/{hooks-DUeXom8C.mjs → hooks-DkUqN6JE.mjs} +13 -13
  46. package/dist/investments/index.es.js +3 -3
  47. package/dist/merchants/index.es.js +1 -1
  48. package/dist/microinsights/index.es.js +14 -1969
  49. package/dist/networth/index.es.js +7 -7
  50. package/dist/notifications/index.es.js +2 -2
  51. package/dist/recurringtransactions/index.es.js +8 -8
  52. package/dist/settings/index.es.js +24 -24
  53. package/dist/spending/index.es.js +21 -21
  54. package/dist/transactions/index.es.js +259 -270
  55. package/dist/trends/index.es.js +784 -406
  56. package/package.json +1 -1
  57. package/dist/TrendsStore-DRuzsVVE.mjs +0 -505
  58. package/dist/TrendsWidget-CRi8EO04.mjs +0 -6
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-C2minBK_.mjs";
1
+ import { A as C } from "./ConnectDrawer-phFH6OHt.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,10 +11,10 @@ import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-BGQAu0Xm.mjs";
15
- import { c as z, u as E, g as O, n as X } from "./hooks-DUeXom8C.mjs";
16
- import { A as at } from "./AccountListItem-wgvQjLxW.mjs";
17
- import { A as k } from "./WidgetContainer-DK8aZO5l.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-Eb3WvBGm.mjs";
15
+ import { c as z, u as E, e as O, f as X } from "./hooks-DkUqN6JE.mjs";
16
+ import { A as at } from "./AccountListItem-B-ZjJ4Gp.mjs";
17
+ import { A as k } from "./WidgetContainer-CdBs9WOZ.mjs";
18
18
  import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
@@ -22,7 +22,7 @@ import R from "@mui/material/ListItemAvatar";
22
22
  import ct from "@mui/material/Stack";
23
23
  import st from "@mui/material/styles/useTheme";
24
24
  import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
25
- import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-C2minBK_.mjs";
25
+ import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-phFH6OHt.mjs";
26
26
  import { fromUnixTime as lt } from "date-fns/fromUnixTime";
27
27
  import { isToday as dt } from "date-fns/isToday";
28
28
  import { isYesterday as ut } from "date-fns/isYesterday";
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
37
37
  import At from "@mui/material/MenuItem";
38
38
  import bt from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
- import { C as St } from "./CurrencyInput-Dz4r9Rfe.mjs";
41
- import { a as Dt } from "./AccountFields-CC7kzfPK.mjs";
40
+ import { C as St } from "./CurrencyInput-bEx2Mbd0.mjs";
41
+ import { a as Dt } from "./AccountFields-CIz-r3gP.mjs";
42
42
  import Et from "@mui/material/Alert";
43
43
  import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-BXl0m15s.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-C-z3HGTT.mjs";
48
48
  import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -2,17 +2,17 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { observer as p } from "mobx-react-lite";
3
3
  import d from "@mui/material/Stack";
4
4
  import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
5
- import { g as N } from "./AccountFields-CC7kzfPK.mjs";
5
+ import { g as N } from "./AccountFields-CIz-r3gP.mjs";
6
6
  import h from "react";
7
- import { G as v, c as S, j as y, u as _, k as E } from "./hooks-DUeXom8C.mjs";
7
+ import { G as v, c as S, k as y, u as _, l as E } from "./hooks-DkUqN6JE.mjs";
8
8
  import G from "@mui/material/Card";
9
9
  import O from "@mui/material/CardContent";
10
10
  import P from "@mui/material/CardHeader";
11
11
  import { useTheme as M } from "@mui/material/styles";
12
- import { g as B, a as H, b as j } from "./SpendingData-D5vsfYKo.mjs";
13
- import { L as U } from "./LineChart-DLk-bww5.mjs";
14
- import { I as f, P as g, S as C } from "./Account-CVVDlNDC.mjs";
15
- import { A } from "./ConnectDrawer-C2minBK_.mjs";
12
+ import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
13
+ import { L as j } from "./LineChart-BWWmmJxV.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-BW3-oYEs.mjs";
15
+ import { A } from "./ConnectDrawer-phFH6OHt.mjs";
16
16
  import { L as z } from "./Loader-DUaFpDGv.mjs";
17
17
  import { f as Y, D as k } from "./Dialog-CWW597AF.mjs";
18
18
  import { f as R } from "./NumberFormatting-CtWHhyBX.mjs";
@@ -21,7 +21,7 @@ const b = () => {
21
21
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
22
22
  return S().uiStore;
23
23
  }, $ = (o, n) => {
24
- const t = f.includes(n) ? B(o) : [], a = g.includes(n) ? H(o) : [], r = C.includes(n) ? j(o) : [];
24
+ const t = f.includes(n) ? B(o) : [], a = g.includes(n) ? H(o) : [], r = C.includes(n) ? U(o) : [];
25
25
  return [t, a, r].filter((s) => s.length > 0);
26
26
  }, F = (o, n, t) => {
27
27
  const [a, r] = o, s = a, c = r ?? a, i = [];
@@ -40,7 +40,7 @@ const b = () => {
40
40
  }, V = () => {
41
41
  const o = M(), { selectedAccount: n } = b(), { monthlyCategoryTotals: t } = y(), { trends: a } = _(), r = [o.palette.chart?.chart1, o.palette.chart?.chart2], s = $(t, n.account_type), c = F(s, n.account_type, a), i = [A.LOAN, A.MORTGAGE].includes(n.account_type);
42
42
  return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
43
- U,
43
+ j,
44
44
  {
45
45
  colors: r,
46
46
  datasets: s,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as c } from "@mxenabled/mxui";
3
- import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-C2minBK_.mjs";
4
- import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-ByViymVi.mjs";
3
+ import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-phFH6OHt.mjs";
4
+ import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CA-nqAjT.mjs";
5
5
  import { f as _, i as d, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f, D as o } from "./Dialog-CWW597AF.mjs";
@@ -10,9 +10,9 @@ import C from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as L } from "@mxenabled/mx-icons";
12
12
  import { I as A } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as j } from "./AccountFields-CC7kzfPK.mjs";
14
- import { d } from "./ConnectDrawer-C2minBK_.mjs";
15
- import { u as T } from "./hooks-DUeXom8C.mjs";
13
+ import { g as j } from "./AccountFields-CIz-r3gP.mjs";
14
+ import { d } from "./ConnectDrawer-phFH6OHt.mjs";
15
+ import { u as T } from "./hooks-DkUqN6JE.mjs";
16
16
  import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
17
17
  const $ = {
18
18
  gridRow: 1,
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as _, runInAction as a } from "mobx";
2
- import { i as g } from "./User-DtwqVm3K.mjs";
2
+ import { i as g } from "./User-Dq9Qj764.mjs";
3
3
  import { F as f, A as i } from "./Fetch-CkFKy79O.mjs";
4
- import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-C2minBK_.mjs";
4
+ import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-phFH6OHt.mjs";
5
5
  class l {
6
6
  fetchInstance;
7
7
  constructor(t, e) {
@@ -78,7 +78,7 @@ class N {
78
78
  return this.accounts.filter((t) => t.account_type === s.SAVINGS);
79
79
  }
80
80
  get visibleAccounts() {
81
- return console.log("visible accounts get: ", this.accounts), this.accounts.filter((t) => !t.is_hidden);
81
+ return this.accounts.filter((t) => !t.is_hidden);
82
82
  }
83
83
  get visibleCashAccounts() {
84
84
  return this.cashAccounts.filter((t) => !t.is_hidden);
@@ -138,10 +138,10 @@ class N {
138
138
  return e;
139
139
  };
140
140
  loadAccounts = async (t) => {
141
- await this.loadMembers();
141
+ await this.loadMembers(), console.log("inside load accounts, accounts is ", t);
142
142
  try {
143
143
  const e = t || await this.api.getAccounts();
144
- a(() => {
144
+ console.log("inside loadaccounts try, accounts is now: ", e), a(() => {
145
145
  this.accounts = this.sortAccounts(this.augmentAccounts(e));
146
146
  });
147
147
  } catch (e) {
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-C2minBK_.mjs";
1
+ import { A as _ } from "./ConnectDrawer-phFH6OHt.mjs";
2
2
  const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
3
3
  export {
4
4
  s as a,
@@ -1,4 +1,4 @@
1
- import { e as _ } from "./hooks-DUeXom8C.mjs";
1
+ import { g as _ } from "./hooks-DkUqN6JE.mjs";
2
2
  import { b as d } from "./Category-CevNQ03n.mjs";
3
3
  import { b as f } from "./Localization-2MODESHW.mjs";
4
4
  import { f as l } from "./NumberFormatting-CtWHhyBX.mjs";
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
2
2
  import { observer as g } from "mobx-react-lite";
3
3
  import C from "react";
4
4
  import $ from "@mui/material/Stack";
5
- import { G as K, j as y, u as b, g as D, a as U } from "./hooks-DUeXom8C.mjs";
5
+ import { G as K, k as y, u as b, e as D, a as U } from "./hooks-DkUqN6JE.mjs";
6
6
  import Y from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
8
  import v from "@mui/material/Divider";
@@ -11,7 +11,7 @@ import W from "@mui/material/ListItemAvatar";
11
11
  import N from "@mui/material/ListItemButton";
12
12
  import F from "@mui/material/ListItemIcon";
13
13
  import G from "@mui/material/ListItemText";
14
- import { CheckCircle as j, Edit as M, Delete as X, ExpandMore as z } from "@mxenabled/mx-icons";
14
+ import { CheckCircle as M, Edit as j, Delete as X, ExpandMore as z } from "@mxenabled/mx-icons";
15
15
  import { Text as B, TextField as q, CategoryIcon as H } from "@mxenabled/mxui";
16
16
  import J from "@mui/material/Collapse";
17
17
  import Q from "@mui/material/DialogContent";
@@ -194,7 +194,7 @@ const re = ({
194
194
  primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
195
195
  }
196
196
  ),
197
- i && A && /* @__PURE__ */ t(j, { fontSize: "small" }),
197
+ i && A && /* @__PURE__ */ t(M, { fontSize: "small" }),
198
198
  !w && /* @__PURE__ */ t(te, { label: l })
199
199
  ]
200
200
  }
@@ -207,7 +207,7 @@ const re = ({
207
207
  onClick: () => {
208
208
  p(!0), a(!0), d(m.ON_SUBCATEGORY_EDIT_CLICK);
209
209
  },
210
- children: /* @__PURE__ */ t(M, { color: "secondary" })
210
+ children: /* @__PURE__ */ t(j, { color: "secondary" })
211
211
  }
212
212
  ),
213
213
  /* @__PURE__ */ t(
@@ -14,7 +14,7 @@ import p from "@mui/material/ListItemText";
14
14
  import y from "@mui/material/Popover";
15
15
  import g from "@mui/material/Stack";
16
16
  import v from "@mui/material/Checkbox";
17
- import { u as B, c, d as u } from "./hooks-DUeXom8C.mjs";
17
+ import { u as B, c, d as u } from "./hooks-DkUqN6JE.mjs";
18
18
  import { b as W } from "./Localization-2MODESHW.mjs";
19
19
  import { u as EE } from "./useScreenSize-B6JyS_Lj.mjs";
20
20
  import { observer as z } from "mobx-react-lite";
@@ -3,8 +3,8 @@ import r from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as D } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-C2minBK_.mjs";
7
- import { c as b, d as w, u as _ } from "./hooks-DUeXom8C.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-phFH6OHt.mjs";
7
+ import { c as b, d as w, u as _ } from "./hooks-DkUqN6JE.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
10
10
  onClose: l,
@@ -5,7 +5,7 @@ import { v4 as B } from "uuid";
5
5
  import { useTokens as O, TextField as W, P as p } from "@mxenabled/mxui";
6
6
  import { b as _, g as d } from "./Localization-2MODESHW.mjs";
7
7
  import { g as j, C as D, f as y, M as C } from "./NumberFormatting-CtWHhyBX.mjs";
8
- import { u as F } from "./hooks-DUeXom8C.mjs";
8
+ import { u as F } from "./hooks-DkUqN6JE.mjs";
9
9
  const G = ({
10
10
  allowDecimals: o = !0,
11
11
  ariaLabel: g,
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
3
- import { A as p } from "./ConnectDrawer-C2minBK_.mjs";
3
+ import { A as p } from "./ConnectDrawer-phFH6OHt.mjs";
4
4
  const E = 12, T = 100;
5
5
  var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
6
6
  const b = {
@@ -0,0 +1,24 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { observer as c } from "mobx-react-lite";
3
+ import { Icon as i } from "@mxenabled/mxui";
4
+ import { e as p } from "./exportTransactionsToCSV-BDlt8u0n.mjs";
5
+ import { O as m } from "./User-Dq9Qj764.mjs";
6
+ import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
+ import { e as _, f as C, u as l } from "./hooks-DkUqN6JE.mjs";
8
+ const v = ({ filter: t }) => {
9
+ const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
10
+ r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
11
+ };
12
+ return /* @__PURE__ */ o("div", { className: "mx-txn-export-csv-action", children: /* @__PURE__ */ o(
13
+ x,
14
+ {
15
+ icon: /* @__PURE__ */ o(i, { name: "open_in_new" }),
16
+ label: n.export_csv_btn,
17
+ onClick: a,
18
+ tooltipText: n.export_csv_title
19
+ }
20
+ ) });
21
+ }, b = c(v);
22
+ export {
23
+ b as E
24
+ };
@@ -7,8 +7,8 @@ import O from "@mui/material/CardHeader";
7
7
  import S from "@mui/material/Stack";
8
8
  import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
9
9
  import { Text as A } from "@mxenabled/mxui";
10
- import { j as b } from "./ConnectDrawer-C2minBK_.mjs";
11
- import { l as y } from "./hooks-DUeXom8C.mjs";
10
+ import { j as b } from "./ConnectDrawer-phFH6OHt.mjs";
11
+ import { m as y } from "./hooks-DkUqN6JE.mjs";
12
12
  import { makeAutoObservable as D, runInAction as c } from "mobx";
13
13
  import { F as v, A as i } from "./Fetch-CkFKy79O.mjs";
14
14
  import { fromUnixTime as G } from "date-fns/fromUnixTime";
@@ -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, y as tt, c as ft, o as St, a as It, l as Tt } from "./hooks-DUeXom8C.mjs";
16
+ import { u as V, y as tt, c as ft, o as St, a as It, m as Tt } from "./hooks-DkUqN6JE.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-DhcC-C05.mjs";
@@ -7,7 +7,7 @@ import { f as y } from "./NumberFormatting-CtWHhyBX.mjs";
7
7
  import { observer as se } from "mobx-react-lite";
8
8
  import { Stack as x, Box as W, useTheme as ce } from "@mui/material";
9
9
  import { Text as l } from "@mxenabled/mxui";
10
- import { u as de } from "./hooks-DUeXom8C.mjs";
10
+ import { u as de } from "./hooks-DkUqN6JE.mjs";
11
11
  import { ChartsTooltip as he } from "@mui/x-charts/ChartsTooltip";
12
12
  const ue = (e) => {
13
13
  const a = N(), o = e.showLabel, s = e.style, g = Number(e.x), m = Number(e.y), u = e.handlers?.onMarkClick, f = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, d = le(a.breakpoints.up("sm")), n = e.valueFormatterString ? y(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), h = d ? a.typography.Small?.fontSize : a.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, C = n.length * k + 8 + 8, M = 24, S = g - C / 2, T = m - 30;
@@ -8,7 +8,7 @@ import L from "@mui/material/Stack";
8
8
  import { ChevronRight as g } from "@mxenabled/mx-icons";
9
9
  import { Text as m } from "@mxenabled/mxui";
10
10
  import { a as j } from "./Dialog-CWW597AF.mjs";
11
- import { u as P } from "./hooks-DUeXom8C.mjs";
11
+ import { u as P } from "./hooks-DkUqN6JE.mjs";
12
12
  const D = v(
13
13
  ({
14
14
  children: n,
@@ -16,23 +16,23 @@ import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import H from "@mui/material/Button";
18
18
  import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-BXl0m15s.mjs";
19
+ import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-C-z3HGTT.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
23
  import { DatePicker as xe } from "@mui/x-date-pickers";
24
24
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
- import { u as w, f as M, g as F, a as Ae, n as Z, o as De } from "./hooks-DUeXom8C.mjs";
25
+ import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-DkUqN6JE.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-DK8aZO5l.mjs";
28
+ import { A as R } from "./WidgetContainer-CdBs9WOZ.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-DtwqVm3K.mjs";
35
+ import { T as V } from "./User-Dq9Qj764.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -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-DUeXom8C.mjs";
9
+ import { W as w } from "./hooks-DkUqN6JE.mjs";
10
10
  const H = ({
11
11
  children: e,
12
12
  className: o,
@@ -7,7 +7,7 @@ import b from "@mui/material/IconButton";
7
7
  import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
8
8
  import { Text as W, H3 as H } from "@mxenabled/mxui";
9
9
  import { u as I } from "./useDimensions-27p2evRx.mjs";
10
- import { W as M } from "./hooks-DUeXom8C.mjs";
10
+ import { W as M } from "./hooks-DkUqN6JE.mjs";
11
11
  const j = ({
12
12
  className: t = "mx-cmn-mini-widget",
13
13
  closeLabel: a,
@@ -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-ByViymVi.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-C2minBK_.mjs";
6
+ import { a as b } from "./Accounts-CA-nqAjT.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-phFH6OHt.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
@@ -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 b } from "./Notification-ByMBpJ5u.mjs";
18
- import { u as D, r as T, o as w, c as se, g as ae, l as W, a as ce } from "./hooks-DUeXom8C.mjs";
18
+ import { u as D, r as T, o as w, c as se, e as ae, m as W, a as ce } from "./hooks-DkUqN6JE.mjs";
19
19
  import { b as le } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-CtWHhyBX.mjs";
21
21
  import { a as M } from "./Dialog-CWW597AF.mjs";
22
- import { C as me } from "./CurrencyInput-Dz4r9Rfe.mjs";
22
+ import { C as me } from "./CurrencyInput-bEx2Mbd0.mjs";
23
23
  import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
24
24
  import { D as J } from "./Drawer-kEE73B87.mjs";
25
25
  import he from "@mui/material/Collapse";
@@ -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-DE6S0N5o.mjs";
6
- import { u as h, i as b } from "./hooks-DUeXom8C.mjs";
5
+ import { L as y } from "./ListItemAction-DNZZ5fSa.mjs";
6
+ import { u as h, j as b } from "./hooks-DkUqN6JE.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-CtWHhyBX.mjs";
8
- import { C as f } from "./CurrencyInput-Dz4r9Rfe.mjs";
8
+ import { C as f } from "./CurrencyInput-bEx2Mbd0.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 R from "@mui/material/Tabs";
7
7
  import l from "@mui/material/Divider";
8
8
  import T from "@mui/material/List";
9
9
  import C from "@mui/material/Stack";
10
- import { R as x, A as S, a as E, M as A } from "./ManageIncome-BokhnWOn.mjs";
11
- import { u as h, f as y, g as _ } from "./hooks-DUeXom8C.mjs";
10
+ import { R as x, A as S, a as E, M as A } from "./ManageIncome-DbsiKUoO.mjs";
11
+ import { u as h, h as y, e as _ } from "./hooks-DkUqN6JE.mjs";
12
12
  import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
13
- import { A as d } from "./WidgetContainer-DK8aZO5l.mjs";
13
+ import { A as d } from "./WidgetContainer-CdBs9WOZ.mjs";
14
14
  const I = u(() => {
15
15
  const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
16
16
  o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -0,0 +1,45 @@
1
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
+ import p from "react";
3
+ import d from "@mui/material/Button";
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 = ({
8
+ icon: e,
9
+ label: i,
10
+ onClick: o,
11
+ placement: s = "bottom",
12
+ tooltipText: n,
13
+ variant: l = "text"
14
+ }) => {
15
+ const r = f();
16
+ return /* @__PURE__ */ m(p.Fragment, { children: [
17
+ /* @__PURE__ */ t(
18
+ d,
19
+ {
20
+ onClick: o,
21
+ startIcon: e,
22
+ sx: {
23
+ [r.breakpoints.down("lg")]: { display: "none" },
24
+ [r.breakpoints.up("lg")]: { display: "inline-flex" }
25
+ },
26
+ title: n,
27
+ variant: l,
28
+ children: i
29
+ }
30
+ ),
31
+ /* @__PURE__ */ t(
32
+ c,
33
+ {
34
+ describeChild: !0,
35
+ placement: s,
36
+ sx: { display: { xs: "inline-flex", lg: "none" } },
37
+ title: n,
38
+ children: /* @__PURE__ */ t(a, { onClick: o, children: e })
39
+ }
40
+ )
41
+ ] });
42
+ }, y = u;
43
+ export {
44
+ y as R
45
+ };