@mx-cartographer/experiences 7.4.5-alpha.mega1 → 7.4.5-alpha.mm0

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 (59) hide show
  1. package/dist/{Account-01wOyrH1.mjs → Account-BQE_ANvF.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-COMjOzwr.mjs → AccountDetailsContent-C6LkHJuy.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-Cbi5G6fJ.mjs → AccountDetailsHeader-CCkHHK_n.mjs} +4 -4
  4. package/dist/{AccountFields-Cd_nOWmf.mjs → AccountFields-DdOw6d6w.mjs} +2 -2
  5. package/dist/{AccountListItem-DxY4cCF1.mjs → AccountListItem-CZhCiU7q.mjs} +4 -4
  6. package/dist/{AccountStore-C1zMBzHq.mjs → AccountStore-kxFbaz-K.mjs} +2 -2
  7. package/dist/{Accounts-D7QljYas.mjs → Accounts-D_768tYo.mjs} +1 -1
  8. package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-C5fTz_GJ.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-l3tOyiqD.mjs} +1 -1
  10. package/dist/{ConnectDrawer-CuUj16NH.mjs → ConnectDrawer-g2IXvoSS.mjs} +1 -1
  11. package/dist/{ConnectionsDrawer-Bz4uwdFE.mjs → ConnectionsDrawer-vSEOHrUC.mjs} +6 -6
  12. package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-BnaVaZBU.mjs} +6 -6
  13. package/dist/{DebtsStore-Bu8rRRSL.mjs → DebtsStore-CFk9t-Ky.mjs} +1 -1
  14. package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-DSi2a4NQ.mjs} +3 -3
  15. package/dist/{GoalStore-CrNhjvNc.mjs → GoalStore-DxFUJRd4.mjs} +2 -2
  16. package/dist/{Help-BnPXM_N2.mjs → Help-D1I72J-F.mjs} +1 -1
  17. package/dist/{LineChart-bc1D9xBE.mjs → LineChart-B7MftxPX.mjs} +1 -1
  18. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-Dob72eoG.mjs} +10 -10
  19. package/dist/{ManageIncome-A69EUO5u.mjs → ManageIncome-DlAUFShc.mjs} +4 -4
  20. package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-4zS7jJrn.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-Csioy5P7.mjs} +1 -1
  22. package/dist/{NetWorthStore-CpL_kqvx.mjs → NetWorthStore-B6sG1eiD.mjs} +2 -2
  23. package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-ByORHzRI.mjs} +3 -3
  24. package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-BmSYWwSx.mjs} +3 -3
  25. package/dist/{RecurringSettings-B0uObPlD.mjs → RecurringSettings-CZvd4Wuv.mjs} +12 -12
  26. package/dist/{SpendingLegend-BbrZWbFX.mjs → SpendingLegend-CbNAMdPH.mjs} +2 -2
  27. package/dist/{TransactionDetails-COH0OKNG.mjs → TransactionDetails-DnLXfvDL.mjs} +5 -5
  28. package/dist/{TransactionStore-Dz-G8Wd0.mjs → TransactionStore-BOiv_pDO.mjs} +2 -2
  29. package/dist/{User-wXzDI4M8.mjs → User-BmdvAL7I.mjs} +1 -1
  30. package/dist/{WidgetContainer-6dsjtOVg.mjs → WidgetContainer-DR_iRKNU.mjs} +2 -2
  31. package/dist/accounts/index.es.js +121 -119
  32. package/dist/analytics/index.es.js +2 -2
  33. package/dist/budgets/index.es.js +10 -10
  34. package/dist/cashflow/index.es.js +8 -8
  35. package/dist/categories/index.es.js +1 -1
  36. package/dist/common/hooks/index.d.ts +1 -0
  37. package/dist/common/hooks/useWidgetLoadTimer.d.ts +24 -0
  38. package/dist/common/index.es.js +35 -33
  39. package/dist/dashboard/index.es.js +90 -88
  40. package/dist/debts/index.es.js +9 -9
  41. package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-DoKUltKJ.mjs} +1 -1
  42. package/dist/finstrong/index.es.js +10 -10
  43. package/dist/goals/index.es.js +12 -12
  44. package/dist/help/index.es.js +5 -5
  45. package/dist/{hooks-C41HAxM5.mjs → hooks-DtrRa6Lb.mjs} +10 -10
  46. package/dist/investments/index.es.js +3 -3
  47. package/dist/merchants/index.es.js +1 -1
  48. package/dist/networth/index.es.js +173 -173
  49. package/dist/notifications/index.es.js +2 -2
  50. package/dist/recurringtransactions/index.es.js +8 -8
  51. package/dist/settings/index.es.js +6 -6
  52. package/dist/spending/index.es.js +6 -6
  53. package/dist/transactions/index.es.js +13 -13
  54. package/dist/trends/index.es.js +9 -9
  55. package/dist/useAccountDisplayName-BUtYhbqe.mjs +15 -0
  56. package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-v_GGt72p.mjs} +1 -1
  57. package/dist/useWidgetLoadTimer-Bh9CIs-w.mjs +28 -0
  58. package/package.json +1 -1
  59. package/dist/useAccountDisplayName-CMMlIOXF.mjs +0 -15
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-CuUj16NH.mjs";
1
+ import { A as C } from "./ConnectDrawer-g2IXvoSS.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-Cbi5G6fJ.mjs";
15
- import { d as z, u as E, g as O, h as X } from "./hooks-C41HAxM5.mjs";
16
- import { A as at } from "./AccountListItem-DxY4cCF1.mjs";
17
- import { A as k } from "./WidgetContainer-6dsjtOVg.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-CCkHHK_n.mjs";
15
+ import { e as z, a as E, u as O, h as X } from "./hooks-DtrRa6Lb.mjs";
16
+ import { A as at } from "./AccountListItem-CZhCiU7q.mjs";
17
+ import { A as k } from "./WidgetContainer-DR_iRKNU.mjs";
18
18
  import { D as V, f as B, a as K } from "./Dialog-BPTr3qHE.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-BEtCk82g.mjs";
@@ -22,7 +22,7 @@ import P 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 { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-CuUj16NH.mjs";
25
+ import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-g2IXvoSS.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 bt from "@mui/material/MenuItem";
38
38
  import At from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
- import { C as St } from "./CurrencyInput-BFKcs-_K.mjs";
41
- import { b as Dt } from "./AccountFields-Cd_nOWmf.mjs";
40
+ import { C as St } from "./CurrencyInput-BnaVaZBU.mjs";
41
+ import { b as Dt } from "./AccountFields-DdOw6d6w.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-COH0OKNG.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-DnLXfvDL.mjs";
48
48
  import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -3,15 +3,15 @@ import { observer as m } from "mobx-react-lite";
3
3
  import e from "@mui/material/Stack";
4
4
  import { H3 as _, InstitutionLogo as x, Text as a, H2 as T } from "@mxenabled/mxui";
5
5
  import d from "react";
6
- import { G as N, d as f, m as D, f as w, u as E } from "./hooks-C41HAxM5.mjs";
7
- import { g as I } from "./AccountFields-Cd_nOWmf.mjs";
6
+ import { G as N, e as f, m as D, g as w, a as E } from "./hooks-DtrRa6Lb.mjs";
7
+ import { g as I } from "./AccountFields-DdOw6d6w.mjs";
8
8
  import G from "@mui/material/Card";
9
9
  import v from "@mui/material/CardContent";
10
10
  import O from "@mui/material/CardHeader";
11
11
  import { L as H } from "./Loader-DUaFpDGv.mjs";
12
12
  import { f as M, a as P } from "./Dialog-BPTr3qHE.mjs";
13
- import { I as L, P as U, S as j } from "./Account-01wOyrH1.mjs";
14
- import { u as z } from "./useAccountDisplayName-CMMlIOXF.mjs";
13
+ import { I as L, P as U, S as j } from "./Account-BQE_ANvF.mjs";
14
+ import { u as z } from "./useAccountDisplayName-BUtYhbqe.mjs";
15
15
  import { f as B } from "./NumberFormatting-DjTD0t3W.mjs";
16
16
  const p = () => {
17
17
  if (!d.useContext(N))
@@ -1,7 +1,7 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as y } from "@mxenabled/mxui";
3
- import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CuUj16NH.mjs";
4
- import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-D7QljYas.mjs";
3
+ import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-g2IXvoSS.mjs";
4
+ import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-D_768tYo.mjs";
5
5
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f as o, a as f } from "./Dialog-BPTr3qHE.mjs";
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
10
10
  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
- import { g as T } from "./AccountFields-Cd_nOWmf.mjs";
14
- import { u as X } from "./useAccountDisplayName-CMMlIOXF.mjs";
15
- import { d } from "./ConnectDrawer-CuUj16NH.mjs";
16
- import { u as $ } from "./hooks-C41HAxM5.mjs";
13
+ import { g as T } from "./AccountFields-DdOw6d6w.mjs";
14
+ import { u as X } from "./useAccountDisplayName-BUtYhbqe.mjs";
15
+ import { d } from "./ConnectDrawer-g2IXvoSS.mjs";
16
+ import { a as $ } from "./hooks-DtrRa6Lb.mjs";
17
17
  import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
18
18
  const w = {
19
19
  gridRow: 1,
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as _, runInAction as a } from "mobx";
2
- import { i as f } from "./User-wXzDI4M8.mjs";
2
+ import { i as f } from "./User-BmdvAL7I.mjs";
3
3
  import { F as p, A as i } from "./Fetch-DecPFeGU.mjs";
4
- import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-CuUj16NH.mjs";
4
+ import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-g2IXvoSS.mjs";
5
5
  class A {
6
6
  fetchInstance;
7
7
  constructor(t, e, n) {
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-CuUj16NH.mjs";
1
+ import { A as _ } from "./ConnectDrawer-g2IXvoSS.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 { i as _ } from "./hooks-C41HAxM5.mjs";
1
+ import { i as _ } from "./hooks-DtrRa6Lb.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-DjTD0t3W.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, m as y, u as b, g as D, b as U } from "./hooks-C41HAxM5.mjs";
5
+ import { G as K, m as y, a as b, u as D, c as U } from "./hooks-DtrRa6Lb.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";
@@ -14,7 +14,7 @@ import EE from "@mui/material/ListItemText";
14
14
  import IE from "@mui/material/Popover";
15
15
  import F from "@mui/material/Stack";
16
16
  import w from "@mui/material/Checkbox";
17
- import { u as o, f as _E, d as NE, e as rE } from "./hooks-C41HAxM5.mjs";
17
+ import { a as o, g as _E, e as NE, f as rE } from "./hooks-DtrRa6Lb.mjs";
18
18
  import { b as W } from "./Localization-2MODESHW.mjs";
19
19
  import { u as RE } from "./useScreenSize-B6JyS_Lj.mjs";
20
20
  import { observer as Q } from "mobx-react-lite";
@@ -3,16 +3,16 @@ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as b } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as D } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-CuUj16NH.mjs";
7
- import { d as L, e as w, u as _ } from "./hooks-C41HAxM5.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-g2IXvoSS.mjs";
7
+ import { e as L, f as w, a as _ } from "./hooks-DtrRa6Lb.mjs";
8
8
  import { D as x } from "./Drawer-BEtCk82g.mjs";
9
9
  const I = ({
10
10
  onClose: l,
11
11
  showConnectionsWidget: o,
12
- title: u
12
+ title: m
13
13
  }) => {
14
14
  let n;
15
- const { refreshAccounts: m } = L(), { loadWidget: f } = w(), { connect: d } = _(), p = b(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
15
+ const { refreshAccounts: u } = L(), { loadWidget: f } = w(), { connect: d } = _(), p = b(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
16
  return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
17
  n = new D({
18
18
  container: `#${a}`,
@@ -38,9 +38,9 @@ const I = ({
38
38
  ariaLabelClose: d.close_connections_aria,
39
39
  isOpen: o,
40
40
  onClose: () => {
41
- l(), m();
41
+ l(), u();
42
42
  },
43
- title: u,
43
+ title: m,
44
44
  children: /* @__PURE__ */ g("div", { id: a, children: [
45
45
  S && /* @__PURE__ */ r(c, { status: i.Error }),
46
46
  C && /* @__PURE__ */ r(c, { status: i.Loading })
@@ -1,17 +1,17 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import m from "react";
2
+ import a from "react";
3
3
  import { css as q } from "@mxenabled/cssinjs";
4
4
  import { v4 as B } from "uuid";
5
5
  import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
6
6
  import { b as y, g as C } from "./Localization-2MODESHW.mjs";
7
7
  import { g as W, C as j, f as g, M as b } from "./NumberFormatting-DjTD0t3W.mjs";
8
- import { u as D } from "./hooks-C41HAxM5.mjs";
8
+ import { a as D } from "./hooks-DtrRa6Lb.mjs";
9
9
  const F = ({
10
10
  allowDecimals: o = !0,
11
11
  ariaLabel: h,
12
12
  amount: c,
13
13
  amountIsRequired: $ = !0,
14
- copy: a,
14
+ copy: m,
15
15
  customValidate: M = () => !0,
16
16
  errorText: S = "",
17
17
  label: u,
@@ -20,9 +20,9 @@ const F = ({
20
20
  setHasValidInput: r,
21
21
  ...N
22
22
  }) => {
23
- const [l, t] = m.useState(""), { common: T } = D(), n = a || T.currency_input, k = L(), P = G(k), R = /^[0-9]*$/, A = /^(\d)*(\,)?([0-9]{1,2})?$/, E = /^(\d)*(\.)?([0-9]{1,2})?$/;
23
+ const [l, t] = a.useState(""), { common: T } = D(), n = m || T.currency_input, k = L(), P = G(k), R = /^[0-9]*$/, A = /^(\d)*(\,)?([0-9]{1,2})?$/, E = /^(\d)*(\.)?([0-9]{1,2})?$/;
24
24
  let s;
25
- const p = m.useRef(B());
25
+ const p = a.useRef(B());
26
26
  if (o)
27
27
  switch (W()) {
28
28
  case j.CAD:
@@ -34,7 +34,7 @@ const F = ({
34
34
  }
35
35
  else
36
36
  s = R;
37
- m.useEffect(() => {
37
+ a.useEffect(() => {
38
38
  d(c);
39
39
  }, [c]);
40
40
  const d = (e) => {
@@ -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-CuUj16NH.mjs";
3
+ import { A as p } from "./ConnectDrawer-g2IXvoSS.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 = {
@@ -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-Cz2t0lmA.mjs";
5
- import { O as m } from "./User-wXzDI4M8.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-DoKUltKJ.mjs";
5
+ import { O as m } from "./User-BmdvAL7I.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
- import { g as _, h as C, u as l } from "./hooks-C41HAxM5.mjs";
7
+ import { u as _, h as C, a as l } from "./hooks-DtrRa6Lb.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);
@@ -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 { l as b } from "./ConnectDrawer-CuUj16NH.mjs";
11
- import { a as y } from "./hooks-C41HAxM5.mjs";
10
+ import { l as b } from "./ConnectDrawer-g2IXvoSS.mjs";
11
+ import { b as y } from "./hooks-DtrRa6Lb.mjs";
12
12
  import { makeAutoObservable as D, runInAction as c } from "mobx";
13
13
  import { F as v, A as i } from "./Fetch-DecPFeGU.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, A as tt, d as ft, p as St, b as It, a as Tt } from "./hooks-C41HAxM5.mjs";
16
+ import { a as V, A as tt, e as ft, p as St, c as It, b as Tt } from "./hooks-DtrRa6Lb.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 we from "@mui/material/useMediaQuery";
7
7
  import { observer as Le } from "mobx-react-lite";
8
8
  import P from "@mui/material/Stack";
9
9
  import { Text as l } from "@mxenabled/mxui";
10
- import { u as Se } from "./hooks-C41HAxM5.mjs";
10
+ import { a as Se } from "./hooks-DtrRa6Lb.mjs";
11
11
  import { useTheme as ve, Stack as M, Box as X } from "@mui/material";
12
12
  import { ChartsTooltip as Te } from "@mui/x-charts/ChartsTooltip";
13
13
  const De = (e) => {
@@ -1,14 +1,14 @@
1
1
  import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
- import b from "react";
2
+ import u from "react";
3
3
  import { observer as v } from "mobx-react-lite";
4
4
  import x from "@mui/material/ListItem";
5
5
  import C from "@mui/material/ListItemButton";
6
6
  import I from "@mui/material/ListItemText";
7
7
  import L from "@mui/material/Stack";
8
8
  import { ChevronRight as g } from "@mxenabled/mx-icons";
9
- import { Text as a } from "@mxenabled/mxui";
9
+ import { Text as m } from "@mxenabled/mxui";
10
10
  import { D as j } from "./Dialog-BPTr3qHE.mjs";
11
- import { u as P } from "./hooks-C41HAxM5.mjs";
11
+ import { a as P } from "./hooks-DtrRa6Lb.mjs";
12
12
  const q = v(
13
13
  ({
14
14
  children: n,
@@ -21,9 +21,9 @@ const q = v(
21
21
  secondaryText: y,
22
22
  zeroStateText: o
23
23
  }) => {
24
- const { common: m } = P(), [d, t] = b.useState(!1), h = () => {
24
+ const { common: a } = P(), [d, t] = u.useState(!1), h = () => {
25
25
  t(!1), c?.();
26
- }, u = () => {
26
+ }, b = () => {
27
27
  t(!1), l();
28
28
  };
29
29
  return /* @__PURE__ */ e(x, { children: [
@@ -32,9 +32,9 @@ const q = v(
32
32
  I,
33
33
  {
34
34
  primary: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
35
- /* @__PURE__ */ r(a, { variant: "body1", children: f }),
35
+ /* @__PURE__ */ r(m, { variant: "body1", children: f }),
36
36
  /* @__PURE__ */ r(
37
- a,
37
+ m,
38
38
  {
39
39
  bold: !0,
40
40
  color: o ? "primary.main" : "text.primary",
@@ -52,12 +52,12 @@ const q = v(
52
52
  /* @__PURE__ */ r(
53
53
  j,
54
54
  {
55
- copy: { title: p, close_aria: m.close_aria },
55
+ copy: { title: p, close_aria: a.close_aria },
56
56
  disablePrimaryButton: s,
57
57
  isOpen: d,
58
58
  onClose: h,
59
- onPrimaryAction: u,
60
- primaryText: m.save_button,
59
+ onPrimaryAction: b,
60
+ primaryText: a.save_button,
61
61
  children: n
62
62
  }
63
63
  )
@@ -17,23 +17,23 @@ import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import { parseISO as me } from "date-fns/parseISO";
18
18
  import $ from "@mui/material/Button";
19
19
  import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
20
- import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-COH0OKNG.mjs";
20
+ import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-DnLXfvDL.mjs";
21
21
  import { getDayOfYear as xe } from "date-fns/getDayOfYear";
22
22
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
23
23
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
24
24
  import { DatePicker as we } from "@mui/x-date-pickers";
25
25
  import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
26
- import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
26
+ import { a as w, j as F, u as G, c as Ie, h as Z, p as De } from "./hooks-DtrRa6Lb.mjs";
27
27
  import { b as Ee, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
28
28
  import { D as O } from "./Drawer-BEtCk82g.mjs";
29
- import { A as R } from "./WidgetContainer-6dsjtOVg.mjs";
29
+ import { A as R } from "./WidgetContainer-DR_iRKNU.mjs";
30
30
  import { f as Re, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
31
31
  import { formatISO as Oe } from "date-fns/formatISO";
32
32
  import { fromUnixTime as ke } from "date-fns/fromUnixTime";
33
33
  import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
34
34
  import { h as Me } from "./DateUtil-CBdcsyuk.mjs";
35
35
  import { b as B } from "./Category-CevNQ03n.mjs";
36
- import { T as V } from "./User-wXzDI4M8.mjs";
36
+ import { T as V } from "./User-BmdvAL7I.mjs";
37
37
  const ee = ({
38
38
  frequency: n,
39
39
  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-C41HAxM5.mjs";
9
+ import { W as w } from "./hooks-DtrRa6Lb.mjs";
10
10
  const H = ({
11
11
  children: e,
12
12
  className: o,
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
8
8
  import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
9
9
  import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
10
10
  import { u as S } from "./useDimensions-27p2evRx.mjs";
11
- import { W as j } from "./hooks-C41HAxM5.mjs";
11
+ import { W as j } from "./hooks-DtrRa6Lb.mjs";
12
12
  const w = ({
13
13
  children: a,
14
14
  className: m = "mx-cmn-mini-widget",
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-D7QljYas.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-CuUj16NH.mjs";
6
+ import { a as b } from "./Accounts-D_768tYo.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-g2IXvoSS.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 R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
18
- import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-C41HAxM5.mjs";
18
+ import { a as D, s as T, p as I, e as se, u as ae, b as W, o as ce, c as le } from "./hooks-DtrRa6Lb.mjs";
19
19
  import { b as re } from "./Localization-2MODESHW.mjs";
20
20
  import { b as de, f as me } from "./NumberFormatting-DjTD0t3W.mjs";
21
21
  import { D as N } from "./Dialog-BPTr3qHE.mjs";
22
- import { C as he } from "./CurrencyInput-BFKcs-_K.mjs";
22
+ import { C as he } from "./CurrencyInput-BnaVaZBU.mjs";
23
23
  import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
24
24
  import { D as J } from "./Drawer-BEtCk82g.mjs";
25
25
  import ue from "@mui/material/Collapse";
@@ -30,7 +30,7 @@ import j from "@mui/material/Button";
30
30
  import U from "@mui/material/TextField";
31
31
  import { u as ge } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ye } from "./useInsightsEnabled-CNjP5cfR.mjs";
33
+ import { u as ye } from "./useInsightsEnabled-v_GGt72p.mjs";
34
34
  import { L as be } from "./Loader-DUaFpDGv.mjs";
35
35
  const xe = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: o } = T(), { user: r } = I(), s = X(), [c, a] = g.useState(!1), i = () => {
@@ -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-uobBrm_a.mjs";
6
- import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
5
+ import { L as y } from "./ListItemAction-Dob72eoG.mjs";
6
+ import { a as h, l as b } from "./hooks-DtrRa6Lb.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-DjTD0t3W.mjs";
8
- import { C as f } from "./CurrencyInput-BFKcs-_K.mjs";
8
+ import { C as f } from "./CurrencyInput-BnaVaZBU.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,17 +7,17 @@ import b from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import R from "@mui/material/List";
9
9
  import T from "@mui/material/Stack";
10
- import { R as C, A as S, a as E, M as v } from "./ManageIncome-A69EUO5u.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-DlAUFShc.mjs";
11
+ import { a as _, j as A, u as f } from "./hooks-DtrRa6Lb.mjs";
12
12
  import { R as y, F as N } from "./RecurringTransactions-BqijW_8S.mjs";
13
- import { A as m } from "./WidgetContainer-6dsjtOVg.mjs";
13
+ import { A as m } from "./WidgetContainer-DR_iRKNU.mjs";
14
14
  const I = h(() => {
15
- const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
16
- o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
15
+ const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: a } = f(), l = (r) => {
16
+ a(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
17
17
  repeating_transaction_guid: r.guid
18
18
  });
19
- }, a = () => {
20
- o(m.RECURRING_TRANSACTIONS_CLICK_ADD_EXPENSE);
19
+ }, o = () => {
20
+ a(m.RECURRING_TRANSACTIONS_CLICK_ADD_EXPENSE);
21
21
  }, i = n.filter(
22
22
  (r) => r.repeating_transaction_type !== y.Income && (r.transactions.length > 0 || r.recurrence_type === N.EveryYear)
23
23
  );
@@ -51,7 +51,7 @@ const I = h(() => {
51
51
  py: 12,
52
52
  textAlign: "right"
53
53
  },
54
- children: /* @__PURE__ */ e(S, { label: g.add_expense, onAddRecurringTransaction: a })
54
+ children: /* @__PURE__ */ e(S, { label: g.add_expense, onAddRecurringTransaction: o })
55
55
  }
56
56
  )
57
57
  ] })
@@ -59,13 +59,13 @@ const I = h(() => {
59
59
  }
60
60
  ) : /* @__PURE__ */ e(E, { zeroStateFor: "expenses" }) });
61
61
  }), X = h(({ defaultSelectedTab: g = 0 }) => {
62
- const [n, o] = u.useState(g), { onEvent: l } = f(), { recurring: a } = _();
62
+ const [n, a] = u.useState(g), { onEvent: l } = f(), { recurring: o } = _();
63
63
  return /* @__PURE__ */ t(c, { bgcolor: "background.default", height: "100%", children: [
64
64
  /* @__PURE__ */ t(
65
65
  b,
66
66
  {
67
67
  onChange: (r, s) => {
68
- o(s), l(
68
+ a(s), l(
69
69
  s === 0 ? "recurring_transactions_widget_manage_expenses" : "recurring_transactions_widget_edit_income"
70
70
  );
71
71
  },
@@ -73,8 +73,8 @@ const I = h(() => {
73
73
  value: n,
74
74
  variant: "fullWidth",
75
75
  children: [
76
- /* @__PURE__ */ e(p, { label: a.expenses }),
77
- /* @__PURE__ */ e(p, { label: a.income })
76
+ /* @__PURE__ */ e(p, { label: o.expenses }),
77
+ /* @__PURE__ */ e(p, { label: o.income })
78
78
  ]
79
79
  }
80
80
  ),
@@ -5,11 +5,11 @@ import x from "react";
5
5
  import { observer as w } from "mobx-react-lite";
6
6
  import f from "@mui/material/Stack";
7
7
  import { CategoryIcon as M, CategoryIconVariants as N, Text as h } from "@mxenabled/mxui";
8
- import { u as k } from "./TransactionDetails-COH0OKNG.mjs";
8
+ import { u as k } from "./TransactionDetails-DnLXfvDL.mjs";
9
9
  import A from "@mui/material/Button";
10
10
  import { useTheme as G } from "@mui/material";
11
11
  import { D as O } from "./Donut-oaQFlbit.mjs";
12
- import { u as $ } from "./hooks-C41HAxM5.mjs";
12
+ import { a as $ } from "./hooks-DtrRa6Lb.mjs";
13
13
  import { u as j } from "./useScreenSize-B6JyS_Lj.mjs";
14
14
  import { f as D } from "./NumberFormatting-DjTD0t3W.mjs";
15
15
  import R from "@mui/material/Box";
@@ -9,15 +9,15 @@ import { MerchantLogo as ge, Icon as C, Text as h, useTokens as te, CategoryIcon
9
9
  import $ from "@mui/material/ListItemAvatar";
10
10
  import M from "@mui/material/ListItemText";
11
11
  import b from "@mui/material/Stack";
12
- import { T as Pe, L as Ge, O as g, C as Me, b as Ke, i as $e } from "./User-wXzDI4M8.mjs";
13
- import { G as Be, h as w, u as N, g as O, m as xe, b as Fe, p as He } from "./hooks-C41HAxM5.mjs";
12
+ import { T as Pe, L as Ge, O as g, C as Me, b as Ke, i as $e } from "./User-BmdvAL7I.mjs";
13
+ import { G as Be, h as w, a as N, u as O, m as xe, c as Fe, p as He } from "./hooks-DtrRa6Lb.mjs";
14
14
  import { f as ae } from "./NumberFormatting-DjTD0t3W.mjs";
15
15
  import { Receipt as ze, Delete as ie, ChevronRight as Ue, Cancel as se, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
16
16
  import { fromUnixTime as Y } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ne } from "date-fns/isSameDay";
18
18
  import { h as Ye } from "./DateUtil-CBdcsyuk.mjs";
19
19
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
20
- import { A as P } from "./WidgetContainer-6dsjtOVg.mjs";
20
+ import { A as P } from "./WidgetContainer-DR_iRKNU.mjs";
21
21
  import re from "@mui/material/Paper";
22
22
  import de from "@mui/material/Button";
23
23
  import je from "@mui/material/FormGroup";
@@ -30,14 +30,14 @@ import B from "@mui/material/ListItem";
30
30
  import { D as W, f as we, a as Ee } from "./Dialog-BPTr3qHE.mjs";
31
31
  import U from "@mui/material/ListItemButton";
32
32
  import X from "@mui/material/ListItemIcon";
33
- import { a as Oe } from "./CategorySelectorDrawer-DqJK_rrL.mjs";
33
+ import { a as Oe } from "./CategorySelectorDrawer-l3tOyiqD.mjs";
34
34
  import { b as le } from "./Localization-2MODESHW.mjs";
35
35
  import { getUnixTime as Ze } from "date-fns/getUnixTime";
36
36
  import { D as ue } from "./Drawer-BEtCk82g.mjs";
37
37
  import ye from "@mui/material/InputAdornment";
38
38
  import Je from "@mui/material/Checkbox";
39
39
  import pe from "@mui/material/Grid";
40
- import { C as Qe } from "./CurrencyInput-BFKcs-_K.mjs";
40
+ import { C as Qe } from "./CurrencyInput-BnaVaZBU.mjs";
41
41
  import et from "@mui/material/Switch";
42
42
  var Z = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(Z || {}), oe = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(oe || {});
43
43
  const tt = [
@@ -13,10 +13,10 @@ import { isBefore as Y } from "date-fns/isBefore";
13
13
  import { startOfMonth as R } from "date-fns/startOfMonth";
14
14
  import { startOfToday as b } from "date-fns/startOfToday";
15
15
  import { subDays as F } from "date-fns/subDays";
16
- import { O as n, a as G, T as w } from "./User-wXzDI4M8.mjs";
16
+ import { O as n, a as G, T as w } from "./User-BmdvAL7I.mjs";
17
17
  import { T as p } from "./TransactionApi-CjBoLleL.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
- import { f as z } from "./exportTransactionsToCSV-Cz2t0lmA.mjs";
19
+ import { f as z } from "./exportTransactionsToCSV-DoKUltKJ.mjs";
20
20
  import { format as k } from "date-fns/format";
21
21
  import { f as g, a as O, O as $ } from "./Dialog-BPTr3qHE.mjs";
22
22
  import { endOfMonth as X } from "date-fns/endOfMonth";
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
22
22
  import nn from "@mui/material/styles/useTheme";
23
23
  import k from "@mui/material/ListItem";
24
24
  import an from "@mui/material/ListItemButton";
25
- import { g as tn } from "./hooks-C41HAxM5.mjs";
25
+ import { u as tn } from "./hooks-DtrRa6Lb.mjs";
26
26
  var on = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(on || {}), en = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(en || {});
27
27
  const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
28
28
  const c = v(), l = cn(c);
@@ -13,7 +13,7 @@ import { ChevronLeft as le } from "@mxenabled/mx-icons";
13
13
  import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
14
14
  import { u as Te } from "./useDimensions-27p2evRx.mjs";
15
15
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
16
- import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-C41HAxM5.mjs";
16
+ import { u as Ee, c as Re, a as ge, b as Ae, W as Se } from "./hooks-DtrRa6Lb.mjs";
17
17
  import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
18
18
  import { addMonths as Q } from "date-fns/addMonths";
19
19
  import { addDays as ue } from "date-fns/addDays";
@@ -37,7 +37,7 @@ import Ke from "@mui/material/ToggleButtonGroup";
37
37
  import Ge from "@mui/material/styles/useTheme";
38
38
  import { f as K, a as G, D as Me } from "./Dialog-BPTr3qHE.mjs";
39
39
  import { D as We } from "./Drawer-BEtCk82g.mjs";
40
- import { k as ye, l as xe } from "./ConnectDrawer-CuUj16NH.mjs";
40
+ import { k as ye, l as xe } from "./ConnectDrawer-g2IXvoSS.mjs";
41
41
  const ve = {
42
42
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
43
43
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",