@mx-cartographer/experiences 8.0.0-alpha.sms1 → 8.0.0-alpha.sms2

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 (76) hide show
  1. package/dist/{Account-BDXA6PWh.mjs → Account-Cp30A3ad.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-CUztd3-b.mjs → AccountDetailsContent-C1HumFnW.mjs} +16 -16
  3. package/dist/{AccountDetailsHeader-i3KFhNuo.mjs → AccountDetailsHeader-NMx79DGs.mjs} +5 -5
  4. package/dist/{AccountFields-QZspYAji.mjs → AccountFields-CW6cIthP.mjs} +7 -5
  5. package/dist/{AccountListItem-DX5upmCS.mjs → AccountListItem-DxmAs98Z.mjs} +4 -4
  6. package/dist/{AccountStore-BcnDpyLL.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
  7. package/dist/{Accounts-DXfZotRC.mjs → Accounts-DUHkUyK4.mjs} +1 -1
  8. package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-CIDAPPPT.mjs} +1 -1
  9. package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-naOtJcwo.mjs} +12 -12
  10. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  11. package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +3 -3
  12. package/dist/{CategoryStore-DTgyAMM7.mjs → CategoryStore-MUwRWH9e.mjs} +2 -2
  13. package/dist/{CategoryUtil-C5cR-nfQ.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
  14. package/dist/{ConnectDrawer-BIbTqYOH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +28 -28
  15. package/dist/{ConnectionsDrawer-BFfY3_zB.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
  16. package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-BrGvhgVK.mjs} +8 -8
  17. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-CDPZw_-m.mjs} +1 -1
  18. package/dist/{DebtsStore-BbJB0nmu.mjs → DebtsStore-hi1cqrRk.mjs} +1 -1
  19. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CDV0kKxj.mjs} +24 -24
  20. package/dist/{Drawer-BEtCk82g.mjs → Drawer-Dqe5EqvA.mjs} +14 -14
  21. package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
  22. package/dist/{FinstrongStore-BIrX0Xg2.mjs → FinstrongStore-dKZOZ2hM.mjs} +53 -53
  23. package/dist/{GoalStore-DpWY3gVb.mjs → GoalStore-CFeAJloA.mjs} +2 -2
  24. package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
  25. package/dist/{Help-BnPXM_N2.mjs → Help-i4OasOO-.mjs} +177 -180
  26. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  27. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-BNCWQAN_.mjs} +1 -1
  28. package/dist/{Loader-DUaFpDGv.mjs → Loader-BSWSYqvn.mjs} +3 -3
  29. package/dist/{ManageIncome-NpXHhO1n.mjs → ManageIncome-D_qVX5dN.mjs} +8 -8
  30. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
  31. package/dist/MiniWidgetContainer-D7MkHG15.mjs +56 -0
  32. package/dist/{NetWorthStore-lsuhEpn6.mjs → NetWorthStore-8FFC1Bs0.mjs} +4 -4
  33. package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-BsWiYD94.mjs} +14 -14
  34. package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-62e0mU_3.mjs} +2 -2
  35. package/dist/{RecurringSettings-CqZh1SQa.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
  36. package/dist/{RecurringTransactions-BKcYmpv3.mjs → RecurringTransactions-Bhx56aA3.mjs} +36 -36
  37. package/dist/{RecurringTransactionsStore-Ni5tSQIO.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
  38. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-C6KH8JH4.mjs} +9 -9
  39. package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BASMQSIp.mjs} +1 -1
  40. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  41. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-DPQ96k3x.mjs} +4 -4
  42. package/dist/{SpendingLegend-CjX-hX2O.mjs → SpendingLegend-CZzDb-7d.mjs} +3 -3
  43. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  44. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  45. package/dist/{TransactionDetails-5M2vfr59.mjs → TransactionDetails-Duv1X9ec.mjs} +9 -9
  46. package/dist/{TransactionStore-D-Q3BU9Z.mjs → TransactionStore-DgLrYW4C.mjs} +41 -58
  47. package/dist/{TrendsStore-BW9FGQeE.mjs → TrendsStore-_mRaFUdf.mjs} +37 -37
  48. package/dist/{User-wXzDI4M8.mjs → User-DqNX2GAK.mjs} +19 -19
  49. package/dist/{ViewMoreMicroCard-C0832BMe.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +68 -69
  50. package/dist/{WidgetContainer-BhQ1Kx2z.mjs → WidgetContainer-B1Jzb4XA.mjs} +33 -33
  51. package/dist/accounts/index.es.js +71 -71
  52. package/dist/analytics/index.es.js +7 -7
  53. package/dist/budgets/index.es.js +110 -110
  54. package/dist/cashflow/index.es.js +68 -68
  55. package/dist/categories/index.es.js +2 -2
  56. package/dist/common/index.es.js +248 -248
  57. package/dist/dashboard/index.es.js +7 -7
  58. package/dist/debts/index.es.js +12 -12
  59. package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +3 -3
  60. package/dist/finstrong/index.es.js +18 -18
  61. package/dist/goals/index.es.js +19 -19
  62. package/dist/help/index.es.js +6 -6
  63. package/dist/investments/index.es.js +4 -4
  64. package/dist/merchants/index.es.js +12 -12
  65. package/dist/microinsights/index.es.js +1 -1
  66. package/dist/networth/index.es.js +11 -11
  67. package/dist/notifications/index.es.js +4 -4
  68. package/dist/recurringtransactions/index.es.js +16 -16
  69. package/dist/settings/index.es.js +62 -62
  70. package/dist/spending/index.es.js +26 -26
  71. package/dist/transactions/index.es.js +58 -58
  72. package/dist/trends/index.es.js +59 -59
  73. package/dist/{useAccountDisplayName-CFNF8766.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
  74. package/package.json +16 -21
  75. package/dist/MicroWidgetContainer-DEiRnYVa.mjs +0 -45
  76. package/dist/MiniWidgetContainer-CmXpTylX.mjs +0 -56
@@ -1,24 +1,24 @@
1
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import d from "@mui/material/Box";
3
- import m from "@mui/material/Stack";
4
- const s = ({
1
+ import { jsxs as d, jsx as m } from "react/jsx-runtime";
2
+ import c from "@mui/material/Box";
3
+ import e from "@mui/material/Stack";
4
+ const x = ({
5
5
  backingSx: r,
6
6
  children: i,
7
7
  size: o,
8
- sx: c
9
- }) => /* @__PURE__ */ n(
10
- m,
8
+ sx: t
9
+ }) => /* @__PURE__ */ d(
10
+ e,
11
11
  {
12
12
  sx: {
13
13
  display: "grid",
14
14
  placeItems: "center",
15
15
  zIndex: 3,
16
- ...c
16
+ ...t
17
17
  },
18
18
  children: [
19
19
  i,
20
- /* @__PURE__ */ t(
21
- d,
20
+ /* @__PURE__ */ m(
21
+ c,
22
22
  {
23
23
  sx: {
24
24
  backgroundColor: "common.white",
@@ -33,7 +33,7 @@ const s = ({
33
33
  )
34
34
  ]
35
35
  }
36
- ), x = s;
36
+ );
37
37
  export {
38
38
  x as I
39
39
  };
@@ -7,7 +7,7 @@ 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
9
  import { Text as a } from "@mxenabled/mxui";
10
- import { D as j } from "./Dialog-BPTr3qHE.mjs";
10
+ import { D as j } from "./Dialog-CDV0kKxj.mjs";
11
11
  import { u as P } from "./hooks-C41HAxM5.mjs";
12
12
  const q = v(
13
13
  ({
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
2
  import c from "@mui/material/CircularProgress";
3
3
  import a from "@mui/material/Stack";
4
4
  import { useTokens as i, Text as m } from "@mxenabled/mxui";
5
- const p = ({ height: e = 250, label: r = "", size: t = 32 }) => {
5
+ const f = ({ height: e = 250, label: r = "", size: t = 32 }) => {
6
6
  const n = i();
7
7
  return /* @__PURE__ */ s(
8
8
  a,
@@ -18,7 +18,7 @@ const p = ({ height: e = 250, label: r = "", size: t = 32 }) => {
18
18
  ]
19
19
  }
20
20
  );
21
- }, k = p;
21
+ };
22
22
  export {
23
- k as L
23
+ f as L
24
24
  };
@@ -10,14 +10,14 @@ import ie from "@mui/material/ListItem";
10
10
  import se from "@mui/material/ListItemAvatar";
11
11
  import ce from "@mui/material/ListItemButton";
12
12
  import le from "@mui/material/ListItemText";
13
- import { F as d, S as N, D as Y, g as Q, R, e as de } from "./RecurringTransactions-BKcYmpv3.mjs";
13
+ import { F as d, S as N, D as Y, g as Q, R, e as de } from "./RecurringTransactions-Bhx56aA3.mjs";
14
14
  import { subDays as _e } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as ue } 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-5M2vfr59.mjs";
20
+ import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-Duv1X9ec.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";
@@ -25,15 +25,15 @@ import { DatePicker as we } from "@mui/x-date-pickers";
25
25
  import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
26
26
  import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
27
27
  import { b as Re, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
28
- import { D as O } from "./Drawer-BEtCk82g.mjs";
29
- import { A as E } from "./WidgetContainer-BhQ1Kx2z.mjs";
30
- import { f as Ee, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
28
+ import { D as O } from "./Drawer-Dqe5EqvA.mjs";
29
+ import { A as E } from "./WidgetContainer-B1Jzb4XA.mjs";
30
+ import { f as Ee, a as Te, D as Le } from "./Dialog-CDV0kKxj.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
- import { h as Me } from "./DateUtil-CBdcsyuk.mjs";
35
- import { b as B } from "./Category-CevNQ03n.mjs";
36
- import { T as V } from "./User-wXzDI4M8.mjs";
34
+ import { h as Me } from "./DateUtil-CDPZw_-m.mjs";
35
+ import { b as B } from "./Category-Ccoew_sA.mjs";
36
+ import { T as V } from "./User-DqNX2GAK.mjs";
37
37
  const ee = ({
38
38
  frequency: n,
39
39
  firstDay: t,
@@ -0,0 +1,45 @@
1
+ import { jsxs as p, jsx as r, Fragment as f } from "react/jsx-runtime";
2
+ import x from "@mui/material/Button";
3
+ import C from "@mui/material/Card";
4
+ import b from "@mui/material/CardContent";
5
+ import g from "@mui/material/CardHeader";
6
+ import { H3 as u, P as v } from "@mxenabled/mxui";
7
+ import { ChevronRight as W } from "@mxenabled/mx-icons";
8
+ import { u as w } from "./useDimensions-27p2evRx.mjs";
9
+ import { W as H } from "./hooks-C41HAxM5.mjs";
10
+ const D = ({
11
+ children: i,
12
+ className: o,
13
+ ctaLabel: n,
14
+ onCTAClick: a,
15
+ subHeader: t,
16
+ sx: s,
17
+ title: d,
18
+ variant: c = "borderless"
19
+ }) => {
20
+ const [m, { height: l, width: h }] = w(), e = /* @__PURE__ */ p(f, { children: [
21
+ /* @__PURE__ */ r(
22
+ g,
23
+ {
24
+ action: /* @__PURE__ */ r(
25
+ x,
26
+ {
27
+ endIcon: /* @__PURE__ */ r(W, { size: 20 }),
28
+ onClick: a,
29
+ size: "small",
30
+ variant: "text",
31
+ children: n
32
+ }
33
+ ),
34
+ subheader: t && /* @__PURE__ */ r(v, { sx: { color: "text.secondary" }, variant: "body2", children: t }),
35
+ sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
36
+ title: /* @__PURE__ */ r(u, { sx: { width: "calc(100% - 10px)" }, children: d })
37
+ }
38
+ ),
39
+ /* @__PURE__ */ r(b, { ref: m, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ r(H, { availableHeight: l, availableWidth: h, children: i }) })
40
+ ] });
41
+ return c === "borderless" ? e : /* @__PURE__ */ r(C, { className: o, sx: { alignItems: "center", p: 16, ...s }, children: e });
42
+ };
43
+ export {
44
+ D as M
45
+ };
@@ -0,0 +1,56 @@
1
+ import { jsxs as i, jsx as r, Fragment as x } from "react/jsx-runtime";
2
+ import g from "@mui/material/Box";
3
+ import u from "@mui/material/Button";
4
+ import C from "@mui/material/Card";
5
+ import v from "@mui/material/CardHeader";
6
+ import b from "@mui/material/CardContent";
7
+ import z from "@mui/material/IconButton";
8
+ import { Icon as H, ChevronRight as I } from "@mxenabled/mx-icons";
9
+ import { H3 as W, Text as B, P as S } from "@mxenabled/mxui";
10
+ import { u as j } from "./useDimensions-27p2evRx.mjs";
11
+ import { W as w } from "./hooks-C41HAxM5.mjs";
12
+ const G = ({
13
+ children: m,
14
+ className: a = "mx-cmn-mini-widget",
15
+ closeLabel: l,
16
+ contentStyles: d,
17
+ onClose: e,
18
+ onPrimaryCtaClick: o,
19
+ primaryCtaLabel: s = "",
20
+ subTitle: t = "",
21
+ sx: c = {},
22
+ title: n = ""
23
+ }) => {
24
+ const [p, { height: h, width: f }] = j();
25
+ return /* @__PURE__ */ i(C, { className: a, sx: { ...c }, children: [
26
+ /* @__PURE__ */ r(
27
+ v,
28
+ {
29
+ sx: { pb: 8 },
30
+ title: /* @__PURE__ */ i(x, { children: [
31
+ /* @__PURE__ */ i(
32
+ g,
33
+ {
34
+ sx: {
35
+ alignItems: "center",
36
+ display: "grid",
37
+ gap: 2,
38
+ gridTemplateColumns: "1fr auto",
39
+ pb: 4
40
+ },
41
+ children: [
42
+ n && /* @__PURE__ */ r(W, { children: n }),
43
+ e ? /* @__PURE__ */ r(z, { "aria-label": l, onClick: e, size: "small", children: /* @__PURE__ */ r(H, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(u, { endIcon: /* @__PURE__ */ r(I, {}), onClick: o, size: "small", children: /* @__PURE__ */ r(B, { bold: !0, variant: "Small", children: s }) })
44
+ ]
45
+ }
46
+ ),
47
+ t && /* @__PURE__ */ r(S, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: t })
48
+ ] })
49
+ }
50
+ ),
51
+ /* @__PURE__ */ r(b, { ref: p, sx: { p: 0, ...d }, children: /* @__PURE__ */ r(w, { availableHeight: h, availableWidth: f, children: m }) })
52
+ ] });
53
+ };
54
+ export {
55
+ G as M
56
+ };
@@ -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-DXfZotRC.mjs";
7
- import { h as N, a as M, i as v } from "./ConnectDrawer-BIbTqYOH.mjs";
6
+ import { a as b } from "./Accounts-DUHkUyK4.mjs";
7
+ import { h as N, i as M, a as v } from "./ConnectDrawer-Dn1MlqLz.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));
@@ -79,8 +79,8 @@ const f = 13, L = (n, t) => n.filter((e) => {
79
79
  return e[s] || (e[s] = []), e[s].push(r), e;
80
80
  }, {});
81
81
  return Object.entries(t).map(([e, r]) => ({
82
- icon: N[+e] || M[+e],
83
- name: v[+e],
82
+ icon: M[+e] || v[+e],
83
+ name: N[+e],
84
84
  accounts: r
85
85
  }));
86
86
  };
@@ -15,13 +15,13 @@ 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";
19
- import { b as re } from "./Localization-2MODESHW.mjs";
20
- import { b as de, f as me } from "./NumberFormatting-DjTD0t3W.mjs";
21
- import { D as N } from "./Dialog-BPTr3qHE.mjs";
22
- import { C as he } from "./CurrencyInput-BFKcs-_K.mjs";
18
+ import { D as N } from "./Dialog-CDV0kKxj.mjs";
19
+ import { C as se } from "./CurrencyInput-BrGvhgVK.mjs";
20
+ import { u as D, s as T, p as I, d as ae, g as ce, a as W, n as le, b as re } from "./hooks-C41HAxM5.mjs";
21
+ import { b as de } from "./Localization-2MODESHW.mjs";
22
+ import { b as me, f as he } from "./NumberFormatting-DjTD0t3W.mjs";
23
23
  import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
24
- import { D as J } from "./Drawer-BEtCk82g.mjs";
24
+ import { D as J } from "./Drawer-Dqe5EqvA.mjs";
25
25
  import ue from "@mui/material/Collapse";
26
26
  import pe from "@mui/material/Card";
27
27
  import fe from "@mui/material/CardContent";
@@ -31,7 +31,7 @@ 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
33
  import { u as ye } from "./useInsightsEnabled-CNjP5cfR.mjs";
34
- import { L as be } from "./Loader-DUaFpDGv.mjs";
34
+ import { L as be } from "./Loader-BSWSYqvn.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 = () => {
37
37
  a(!1);
@@ -173,12 +173,12 @@ const xe = C(() => {
173
173
  ] });
174
174
  }), Te = C(
175
175
  ({ onProfileUpdated: n, profile: t }) => {
176
- const { common: o, recurring: r, settings: s } = D(), { updateAccount: c } = se(), a = t.notification_type === oe.DebtPaymentReminder, [i, _] = g.useState(!1), [d, h] = g.useState(t.threshold || 0), [u, f] = g.useState(
176
+ const { common: o, recurring: r, settings: s } = D(), { updateAccount: c } = ae(), a = t.notification_type === oe.DebtPaymentReminder, [i, _] = g.useState(!1), [d, h] = g.useState(t.threshold || 0), [u, f] = g.useState(
177
177
  t.account?.day_payment_is_due || 0
178
- ), p = t.account?.name || t.account?.feed_name || "", b = t.account?.day_payment_is_due ? re(
178
+ ), p = t.account?.name || t.account?.feed_name || "", b = t.account?.day_payment_is_due ? de(
179
179
  s.notification_debt_payment_date,
180
- de(t.account?.day_payment_is_due)
181
- ) : s.notification_debt_payment_zero_state, S = a ? b : me(t.threshold ?? 0, "0,0"), A = async () => {
180
+ me(t.account?.day_payment_is_due)
181
+ ) : s.notification_debt_payment_zero_state, S = a ? b : he(t.threshold ?? 0, "0,0"), A = async () => {
182
182
  a && t.account ? await c({ ...t.account, day_payment_is_due: u }) : n({ ...t, threshold: d });
183
183
  };
184
184
  return /* @__PURE__ */ l(m, { children: [
@@ -239,7 +239,7 @@ const xe = C(() => {
239
239
  views: ["day"]
240
240
  }
241
241
  ) }) : /* @__PURE__ */ e(
242
- he,
242
+ se,
243
243
  {
244
244
  amount: d,
245
245
  autoFocus: !0,
@@ -447,7 +447,7 @@ const xe = C(() => {
447
447
  const { budgetProfiles: n } = T();
448
448
  return /* @__PURE__ */ e(m, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
449
449
  }), De = C(() => {
450
- const { onEvent: n } = ae(), { settings: t } = D(), {
450
+ const { onEvent: n } = ce(), { settings: t } = D(), {
451
451
  clientCommunicationProfile: o,
452
452
  updateUserCommunicationProfile: r,
453
453
  userCommunicationsProfile: s
@@ -600,7 +600,7 @@ const xe = C(() => {
600
600
  showPersonalDetails: t = !1,
601
601
  view: o
602
602
  }) => {
603
- const { onLoad: r } = ce(), { config: s } = W(), { settings: c } = D(), { isInitialized: a } = le(), { clientCommunicationProfile: i, loadNotificationProfiles: _ } = T(), d = ye(), [h, u] = g.useState(
603
+ const { onLoad: r } = le(), { config: s } = W(), { settings: c } = D(), { isInitialized: a } = re(), { clientCommunicationProfile: i, loadNotificationProfiles: _ } = T(), d = ye(), [h, u] = g.useState(
604
604
  void 0
605
605
  );
606
606
  if (n.length > 0 && d && n.push(y.Insights), g.useEffect(() => {
@@ -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";
5
+ import { L as y } from "./ListItemAction-BNCWQAN_.mjs";
6
6
  import { u as h, l as b } from "./hooks-C41HAxM5.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-BrGvhgVK.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 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-NpXHhO1n.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-D_qVX5dN.mjs";
11
11
  import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
12
- import { R as y, F as N } from "./RecurringTransactions-BKcYmpv3.mjs";
13
- import { A as m } from "./WidgetContainer-BhQ1Kx2z.mjs";
12
+ import { R as y, F as N } from "./RecurringTransactions-Bhx56aA3.mjs";
13
+ import { A as m } from "./WidgetContainer-B1Jzb4XA.mjs";
14
14
  const I = h(() => {
15
15
  const { recurring: g } = _(), { detailedRepeatingTransactions: n } = A(), { onEvent: a } = f(), l = (r) => {
16
16
  a(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -29,12 +29,12 @@ import { subQuarters as N } from "date-fns/subQuarters";
29
29
  import { subYears as T } from "date-fns/subYears";
30
30
  import { lastDayOfMonth as q } from "date-fns/lastDayOfMonth";
31
31
  import { setDayOfYear as F } from "date-fns/setDayOfYear";
32
- import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-CBdcsyuk.mjs";
32
+ import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-CDPZw_-m.mjs";
33
33
  import { b as W } from "./NumberFormatting-DjTD0t3W.mjs";
34
- import { f as v, a as k } from "./Dialog-BPTr3qHE.mjs";
34
+ import { f as v, a as k } from "./Dialog-CDV0kKxj.mjs";
35
35
  import { b as l } from "./Localization-2MODESHW.mjs";
36
36
  var s = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(s || {}), p = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(p || {}), O = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(O || {}), Y = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(Y || {});
37
- const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
37
+ const qe = ({ iconName: e, label: a, onClick: t, value: n }) => {
38
38
  const o = /* @__PURE__ */ M(B, { children: [
39
39
  /* @__PURE__ */ d(L, { children: /* @__PURE__ */ d(P, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ d(I, { name: e, sx: { color: "text.primary" }, weight: S.Dark }) }) }),
40
40
  /* @__PURE__ */ d(
@@ -51,7 +51,7 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
51
51
  o,
52
52
  /* @__PURE__ */ d(C, { children: /* @__PURE__ */ d(I, { name: "chevron_right", size: 24 }) })
53
53
  ] }) }) : /* @__PURE__ */ d(w, { disableGutters: !1, disablePadding: !1, children: o });
54
- }, Fe = se, Re = ({ label: e, onChange: a, options: t, value: n, ...o }) => /* @__PURE__ */ d(
54
+ }, Fe = ({ label: e, onChange: a, options: t, value: n, ...o }) => /* @__PURE__ */ d(
55
55
  j,
56
56
  {
57
57
  InputLabelProps: { shrink: !0 },
@@ -69,11 +69,11 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
69
69
  ...o,
70
70
  children: t.map((c) => /* @__PURE__ */ d($, { value: c.id, children: c.label }, c.id))
71
71
  }
72
- ), ce = (e) => {
72
+ ), se = (e) => {
73
73
  if (!e) return "";
74
74
  let a = e.user_name || e.feed_name || "";
75
75
  return e.account_number && (a = `${a} *${e.account_number}`), a;
76
- }, ie = (e, a) => {
76
+ }, ce = (e, a) => {
77
77
  const t = [], n = e.transactions.find(
78
78
  (m) => m.repeating_transaction_guid === e.guid
79
79
  );
@@ -85,7 +85,7 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
85
85
  expectedDate: o,
86
86
  frequency: e.recurrence_type,
87
87
  institutionGuid: e.account?.institution_guid || "",
88
- institutionName: ce(e.account),
88
+ institutionName: se(e.account),
89
89
  merchantGuid: e.merchant_guid,
90
90
  name: e.description,
91
91
  recurrenceDay: e.recurrence_day,
@@ -97,28 +97,28 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
97
97
  }, c = a.start, i = a.end;
98
98
  switch (e.recurrence_type) {
99
99
  case s.EveryWeek:
100
- t.push(...ue(r, c, i));
100
+ t.push(...ie(r, c, i));
101
101
  break;
102
102
  case s.EveryOtherWeek:
103
- t.push(...de(r, c, i));
103
+ t.push(...ue(r, c, i));
104
104
  break;
105
105
  case s.TwiceAMonth:
106
- t.push(...me(r, c, i));
106
+ t.push(...de(r, c, i));
107
107
  break;
108
108
  case s.EveryMonth:
109
- t.push(...le(r, c, i));
109
+ t.push(...me(r, c, i));
110
110
  break;
111
111
  case s.EveryOtherMonth:
112
- t.push(...he(r, c, i));
112
+ t.push(...le(r, c, i));
113
113
  break;
114
114
  case s.EveryQuarter:
115
- t.push(...fe(r, c, i));
115
+ t.push(...he(r, c, i));
116
116
  break;
117
117
  case s.EveryOtherQuarter:
118
- t.push(...pe(r, c, i));
118
+ t.push(...fe(r, c, i));
119
119
  break;
120
120
  case s.EveryYear:
121
- t.push(...ye(r, c, i));
121
+ t.push(...pe(r, c, i));
122
122
  break;
123
123
  }
124
124
  for (const m of t) {
@@ -128,13 +128,13 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
128
128
  _ ? (m.transaction = _, m.status = p.Paid, m.occurredOnDate = V(_.date)) : u(m.expectedDate, D(b(), 3)) && (m.status = p.Missed);
129
129
  }
130
130
  return t;
131
- }, ue = (e, a, t) => {
131
+ }, ie = (e, a, t) => {
132
132
  const n = [];
133
133
  let o = E(a, e.recurrenceDay);
134
134
  for (; u(o, t); )
135
135
  n.push({ ...e, expectedDate: o }), o = E(o, e.recurrenceDay);
136
136
  return n;
137
- }, de = (e, a, t) => {
137
+ }, ue = (e, a, t) => {
138
138
  const n = [], o = e.expectedDate;
139
139
  if (u(o, t)) {
140
140
  let r = D(o, 14);
@@ -144,7 +144,7 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
144
144
  n.push({ ...e, expectedDate: r }), r = Q(r, 14);
145
145
  }
146
146
  return n;
147
- }, me = (e, a, t) => {
147
+ }, de = (e, a, t) => {
148
148
  const n = [];
149
149
  let o = g(a, e.recurrenceDay);
150
150
  for (; u(o, t); )
@@ -153,46 +153,46 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
153
153
  for (; u(r, t); )
154
154
  n.push({ ...e, expectedDate: r }), r = f(r, 1);
155
155
  return n;
156
- }, le = (e, a, t) => {
156
+ }, me = (e, a, t) => {
157
157
  const n = [];
158
158
  let o = g(a, e.recurrenceDay);
159
159
  for (n.push({ ...e, expectedDate: o }), o = f(o, 1); u(o, t); )
160
160
  n.push({ ...e, expectedDate: o }), o = f(o, 1);
161
161
  return n;
162
- }, he = (e, a, t) => {
162
+ }, le = (e, a, t) => {
163
163
  const n = [], o = e.expectedDate;
164
164
  let r = u(o, t) ? o : Z(o, 2);
165
165
  for (; u(r, t); )
166
166
  h(r, a) && n.push({ ...e, expectedDate: r }), r = f(r, 2);
167
167
  return n;
168
- }, fe = (e, a, t) => {
168
+ }, he = (e, a, t) => {
169
169
  const n = [], o = e.expectedDate;
170
170
  let r = u(o, t) ? o : N(o, 1);
171
171
  for (; u(r, t); )
172
172
  h(r, a) && n.push({ ...e, expectedDate: r }), r = A(r, 1);
173
173
  return n;
174
- }, pe = (e, a, t) => {
174
+ }, fe = (e, a, t) => {
175
175
  const n = [], o = e.expectedDate;
176
176
  let r = u(o, t) ? o : N(o, 2);
177
177
  for (; u(r, t); )
178
178
  h(r, a) && n.push({ ...e, expectedDate: r }), r = A(r, 2);
179
179
  return n;
180
- }, ye = (e, a, t) => {
180
+ }, pe = (e, a, t) => {
181
181
  const n = [], o = e.expectedDate;
182
182
  let r = u(o, t) ? o : T(o, 1);
183
183
  for (; u(r, t); )
184
184
  h(r, a) && n.push({ ...e, expectedDate: r }), r = K(r, 1);
185
185
  return n;
186
- }, et = (e, a) => {
186
+ }, Re = (e, a) => {
187
187
  const t = [];
188
188
  for (const n of e) {
189
- const o = ie(n, a);
189
+ const o = ce(n, a);
190
190
  t.push(...o);
191
191
  }
192
192
  return t.sort(
193
193
  (n, o) => y(n.occurredOnDate || n.expectedDate) - y(o.occurredOnDate || o.expectedDate)
194
194
  );
195
- }, tt = (e, a, t) => {
195
+ }, et = (e, a, t) => {
196
196
  const n = [];
197
197
  for (const o of a) {
198
198
  const r = t.filter(
@@ -205,7 +205,7 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
205
205
  });
206
206
  }
207
207
  return n;
208
- }, rt = (e) => e.reduce((a, t) => {
208
+ }, tt = (e) => e.reduce((a, t) => {
209
209
  const n = H(t.expectedDate, { representation: "date" }), o = a.find(
210
210
  (r) => r.date.toString() === t.expectedDate.toString()
211
211
  );
@@ -214,7 +214,7 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
214
214
  id: `date-${n}`,
215
215
  recurrences: [t]
216
216
  }), a;
217
- }, []), ot = (e, a, t) => {
217
+ }, []), rt = (e, a, t) => {
218
218
  const n = E(b(), a.recurrence_day), o = F(b(), a.recurrence_day), r = W(a.recurrence_day), c = a.second_recurrence_day ? W(a.second_recurrence_day) : "";
219
219
  let i = t ? l(e.monthly_ordinal, r) : e.monthly;
220
220
  switch (a.recurrence_type) {
@@ -250,7 +250,7 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
250
250
  break;
251
251
  }
252
252
  return i;
253
- }, at = (e, a) => {
253
+ }, ot = (e, a) => {
254
254
  let t = a;
255
255
  switch (e) {
256
256
  case s.EveryWeek:
@@ -278,15 +278,15 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
278
278
  return t;
279
279
  };
280
280
  export {
281
- Fe as D,
281
+ qe as D,
282
282
  s as F,
283
283
  Y as R,
284
- Re as S,
285
- tt as a,
286
- et as b,
284
+ Fe as S,
285
+ et as a,
286
+ Re as b,
287
287
  p as c,
288
288
  O as d,
289
- at as e,
290
- rt as f,
291
- ot as g
289
+ ot as e,
290
+ tt as f,
291
+ rt as g
292
292
  };
@@ -8,7 +8,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
10
  import { F as x, A as o } from "./Fetch-DecPFeGU.mjs";
11
- import { a as u, b as A, c as r, d } from "./RecurringTransactions-BKcYmpv3.mjs";
11
+ import { a as u, b as A, c as r, d } from "./RecurringTransactions-Bhx56aA3.mjs";
12
12
  var E = /* @__PURE__ */ ((a) => (a.Small = "small", a.Medium = "medium", a.Large = "large", a))(E || {});
13
13
  const G = 44;
14
14
  class h {
@@ -4,15 +4,15 @@ import d from "@mui/material/Button";
4
4
  import a from "@mui/material/IconButton";
5
5
  import c from "@mui/material/Tooltip";
6
6
  import f from "@mui/material/styles/useTheme";
7
- const u = ({
7
+ const B = ({
8
8
  icon: e,
9
9
  label: i,
10
10
  onClick: o,
11
11
  placement: s = "bottom",
12
- tooltipText: n,
12
+ tooltipText: r,
13
13
  variant: l = "text"
14
14
  }) => {
15
- const r = f();
15
+ const n = f();
16
16
  return /* @__PURE__ */ m(p.Fragment, { children: [
17
17
  /* @__PURE__ */ t(
18
18
  d,
@@ -20,10 +20,10 @@ const u = ({
20
20
  onClick: o,
21
21
  startIcon: e,
22
22
  sx: {
23
- [r.breakpoints.down("lg")]: { display: "none" },
24
- [r.breakpoints.up("lg")]: { display: "inline-flex" }
23
+ [n.breakpoints.down("lg")]: { display: "none" },
24
+ [n.breakpoints.up("lg")]: { display: "inline-flex" }
25
25
  },
26
- title: n,
26
+ title: r,
27
27
  variant: l,
28
28
  children: i
29
29
  }
@@ -34,12 +34,12 @@ const u = ({
34
34
  describeChild: !0,
35
35
  placement: s,
36
36
  sx: { display: { xs: "inline-flex", lg: "none" } },
37
- title: n,
37
+ title: r,
38
38
  children: /* @__PURE__ */ t(a, { onClick: o, children: e })
39
39
  }
40
40
  )
41
41
  ] });
42
- }, y = u;
42
+ };
43
43
  export {
44
- y as R
44
+ B as R
45
45
  };
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as N, runInAction as l } from "mobx";
2
2
  import { F as D, A as r } from "./Fetch-DecPFeGU.mjs";
3
- import { B as f, A as n, I as i } from "./ToggleListItem-ciFTiqRS.mjs";
3
+ import { I as i, A as n, B as f } from "./ToggleListItem-ciFTiqRS.mjs";
4
4
  import { T as m } from "./TransactionApi-CjBoLleL.mjs";
5
5
  class y {
6
6
  fetchInstance;
@@ -1,11 +1,11 @@
1
1
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
2
  import l from "@mui/material/Box";
3
3
  import D from "@mui/material/styles/useTheme";
4
- const p = 48, u = 4, S = ({
4
+ const p = 48, d = 4, y = ({
5
5
  color: m = "",
6
6
  percent: r = 0,
7
7
  size: t = p,
8
- strokeWidth: s = u,
8
+ strokeWidth: s = d,
9
9
  children: i,
10
10
  backgroundStrokeColor: c
11
11
  }) => {
@@ -61,9 +61,9 @@ const p = 48, u = 4, S = ({
61
61
  ]
62
62
  }
63
63
  );
64
- }, E = S;
64
+ };
65
65
  export {
66
66
  p as D,
67
- E as S,
68
- u as a
67
+ y as S,
68
+ d as a
69
69
  };