@mx-cartographer/experiences 7.11.0 → 7.11.2

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 (32) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{AccountDetailsHeader-DEgT29Bs.mjs → AccountDetailsHeader-hDo7gojQ.mjs} +1 -1
  3. package/dist/{AccountFields-DcRpcZX7.mjs → AccountFields-C-sby5mF.mjs} +1 -1
  4. package/dist/{AccountListItem-BSWdNVzS.mjs → AccountListItem-CjeAlrPC.mjs} +1 -1
  5. package/dist/Accounts-CseLC3lL.mjs +5 -0
  6. package/dist/Connect-Dg9HlAWv.mjs +39 -0
  7. package/dist/ConnectDrawer-BLwcW0Oe.mjs +58 -0
  8. package/dist/{ConnectionsDrawer-CEfYXsP_.mjs → ConnectionsDrawer-UQTh9UEc.mjs} +8 -7
  9. package/dist/GlobalAccountFilter-C8mpfudV.mjs +215 -0
  10. package/dist/{GoalStore-dGCnbRfR.mjs → GoalStore-DzOZ0je_.mjs} +1 -1
  11. package/dist/{WidgetContainer-BSrpqh6M.mjs → WidgetContainer-B5jzz8M1.mjs} +1 -1
  12. package/dist/accounts/index.es.js +29 -28
  13. package/dist/budgets/index.es.js +2 -2
  14. package/dist/cashflow/index.es.js +2 -2
  15. package/dist/common/index.es.js +154 -153
  16. package/dist/dashboard/index.es.js +35 -34
  17. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
  18. package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
  19. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
  20. package/dist/debts/index.es.js +159 -143
  21. package/dist/finstrong/index.es.js +4 -4
  22. package/dist/goals/index.es.js +3 -3
  23. package/dist/help/index.es.js +1 -1
  24. package/dist/investments/index.es.js +2 -2
  25. package/dist/networth/index.es.js +2 -2
  26. package/dist/recurringtransactions/index.es.js +41 -41
  27. package/dist/settings/index.es.js +1 -1
  28. package/dist/spending/index.es.js +1 -1
  29. package/dist/transactions/index.es.js +2 -2
  30. package/dist/trends/index.es.js +2 -2
  31. package/package.json +1 -1
  32. package/dist/GlobalAccountFilter-Cun09DE7.mjs +0 -316
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [7.11.2] - 02-27-2026
2
+
3
+ - **UPDATED** - Debts empty state | disable actions
4
+ - **UPDATED** - Global Account Filter | disabled when no accounts
5
+
6
+ ## [7.11.1] - 02-26-2026
7
+
8
+ - **FIXED** - Fix `aria-controls` and add `aria-expanded` in `GlobalAccountFilter`
9
+ - **FIXED** - Replace implicit heading in `RecurringTransactionsMiniWidget` with `h3`
10
+
1
11
  ## [7.11.0] - 02-26-2026
2
12
 
3
13
  - **ADDED** - `widget` to `deep_link_params` interface
@@ -4,7 +4,7 @@ import a from "@mui/material/Stack";
4
4
  import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
5
5
  import p from "react";
6
6
  import { G as N, d as _, m as P, f as G, u as O } from "./hooks-0kWPTHNb.mjs";
7
- import { g as R } from "./AccountFields-DcRpcZX7.mjs";
7
+ import { g as R } from "./AccountFields-C-sby5mF.mjs";
8
8
  import { A as r } from "./Account-BiB1F8lL.mjs";
9
9
  import w from "@mui/material/Card";
10
10
  import v from "@mui/material/CardContent";
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as y } from "@mxenabled/mxui";
3
3
  import { A as d, a as v, P as h, b as F } from "./Account-BiB1F8lL.mjs";
4
4
  import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-M-LTzStv.mjs";
5
- import { F as m } from "./GlobalAccountFilter-Cun09DE7.mjs";
5
+ import { F as m } from "./Accounts-CseLC3lL.mjs";
6
6
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
7
7
  import { b as i } from "./Localization-2MODESHW.mjs";
8
8
  import { f as o, D as f } from "./DateFormats-Cs-NbEZ7.mjs";
@@ -10,7 +10,7 @@ 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-DcRpcZX7.mjs";
13
+ import { g as T } from "./AccountFields-C-sby5mF.mjs";
14
14
  import { u as X } from "./useAccountDisplayName-BQfelpG3.mjs";
15
15
  import { u as $ } from "./hooks-0kWPTHNb.mjs";
16
16
  import { C as d } from "./Account-BiB1F8lL.mjs";
@@ -0,0 +1,5 @@
1
+ var a = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Error = "error", r))(a || {}), t = /* @__PURE__ */ ((r) => (r.Currency = "currency", r.Date = "date", r.Input = "input", r.Select = "select", r))(t || {});
2
+ export {
3
+ t as F,
4
+ a as M
5
+ };
@@ -0,0 +1,39 @@
1
+ import { jsx as o, jsxs as e } from "react/jsx-runtime";
2
+ import { observer as i } from "mobx-react-lite";
3
+ import c from "@mui/material/Box";
4
+ import s from "@mui/material/CircularProgress";
5
+ import m from "@mui/material/Stack";
6
+ import { Text as a } from "@mxenabled/mxui";
7
+ import { M as t } from "./Accounts-CseLC3lL.mjs";
8
+ import { u as p } from "./hooks-0kWPTHNb.mjs";
9
+ const l = ({ status: r = t.Loading }) => {
10
+ const { connect: n } = p();
11
+ return /* @__PURE__ */ o(
12
+ c,
13
+ {
14
+ sx: {
15
+ height: "calc(100% - 62px)",
16
+ position: "absolute",
17
+ width: "100%"
18
+ },
19
+ children: /* @__PURE__ */ e(m, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
20
+ r === t.Loading && /* @__PURE__ */ o(s, { color: "primary", size: 48 }),
21
+ /* @__PURE__ */ o(
22
+ a,
23
+ {
24
+ sx: {
25
+ color: "grey.600",
26
+ marginTop: "16px"
27
+ },
28
+ children: r === t.Error ? n.oops : n.loading
29
+ }
30
+ )
31
+ ] })
32
+ }
33
+ );
34
+ }, S = i(l), T = "connect_widget", _ = "connections_widget";
35
+ export {
36
+ _ as C,
37
+ S as a,
38
+ T as b
39
+ };
@@ -0,0 +1,58 @@
1
+ import { jsx as r, jsxs as E } from "react/jsx-runtime";
2
+ import s from "react";
3
+ import { observer as _ } from "mobx-react-lite";
4
+ import g from "@mui/material/styles/useTheme";
5
+ import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
6
+ import { b as a, a as c } from "./Connect-Dg9HlAWv.mjs";
7
+ import { M as i } from "./Accounts-CseLC3lL.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-0kWPTHNb.mjs";
9
+ import { D as y } from "./Drawer-DV4NTsFg.mjs";
10
+ const I = ({
11
+ loadWidgetProps: l,
12
+ onClose: m,
13
+ showConnectWidget: o,
14
+ title: u
15
+ }) => {
16
+ let n;
17
+ const { refreshAccounts: f } = D(), { loadWidget: d } = L(), { connect: p } = w(), [C, e] = s.useState(!1), [h, t] = s.useState(!1), {
18
+ palette: { mode: S }
19
+ } = g();
20
+ return s.useEffect(() => (o ? (e(!0), d({ mode: S, ...l }).then((b) => {
21
+ n = new x({
22
+ container: `#${a}`,
23
+ style: {
24
+ border: "none",
25
+ height: "calc(100% - 62px)",
26
+ maxWidth: "450px",
27
+ position: "absolute",
28
+ width: "100%"
29
+ },
30
+ url: b.url,
31
+ onSsoUrlLoadError: () => {
32
+ e(!1), t(!0);
33
+ },
34
+ onLoad: () => {
35
+ e(!1), t(!1);
36
+ }
37
+ });
38
+ })) : (e(!1), t(!1)), () => {
39
+ n?.unmount();
40
+ }), [o]), /* @__PURE__ */ r(
41
+ y,
42
+ {
43
+ ariaLabelClose: p.close_manage_connection_aria,
44
+ isOpen: o,
45
+ onClose: () => {
46
+ m(), f();
47
+ },
48
+ title: u,
49
+ children: /* @__PURE__ */ E("div", { id: a, children: [
50
+ h && /* @__PURE__ */ r(c, { status: i.Error }),
51
+ C && /* @__PURE__ */ r(c, { status: i.Loading })
52
+ ] })
53
+ }
54
+ );
55
+ }, $ = _(I);
56
+ export {
57
+ $ as C
58
+ };
@@ -3,16 +3,17 @@ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as _ } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
6
- import { C as a, a as c, M as i } from "./GlobalAccountFilter-Cun09DE7.mjs";
6
+ import { C as a, a as c } from "./Connect-Dg9HlAWv.mjs";
7
+ import { M as i } from "./Accounts-CseLC3lL.mjs";
7
8
  import { d as D, e as L, u as w } from "./hooks-0kWPTHNb.mjs";
8
9
  import { D as x } from "./Drawer-DV4NTsFg.mjs";
9
10
  const I = ({
10
11
  onClose: l,
11
12
  showConnectionsWidget: o,
12
- title: u
13
+ title: m
13
14
  }) => {
14
15
  let n;
15
- const { refreshAccounts: m } = D(), { loadWidget: f } = L(), { connect: d } = w(), p = _(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
+ const { refreshAccounts: u } = D(), { loadWidget: f } = L(), { connect: d } = w(), p = _(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
17
  return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
18
  n = new b({
18
19
  container: `#${a}`,
@@ -38,16 +39,16 @@ const I = ({
38
39
  ariaLabelClose: d.close_connections_aria,
39
40
  isOpen: o,
40
41
  onClose: () => {
41
- l(), m();
42
+ l(), u();
42
43
  },
43
- title: u,
44
+ title: m,
44
45
  children: /* @__PURE__ */ g("div", { id: a, children: [
45
46
  S && /* @__PURE__ */ r(c, { status: i.Error }),
46
47
  C && /* @__PURE__ */ r(c, { status: i.Loading })
47
48
  ] })
48
49
  }
49
50
  );
50
- }, M = E(I);
51
+ }, W = E(I);
51
52
  export {
52
- M as C
53
+ W as C
53
54
  };
@@ -0,0 +1,215 @@
1
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
+ import B from "react";
3
+ import { observer as I } from "mobx-react-lite";
4
+ import j from "@mui/material/Box";
5
+ import k from "@mui/material/Button";
6
+ import P from "@mui/material/Divider";
7
+ import w from "@mui/material/IconButton";
8
+ import O from "@mui/material/Popover";
9
+ import S from "@mui/material/Stack";
10
+ import D from "@mui/material/Tooltip";
11
+ import { FilterAlt as A } from "@mxenabled/mx-icons";
12
+ import F from "@mui/material/Checkbox";
13
+ import G from "@mui/material/List";
14
+ import y from "@mui/material/ListItem";
15
+ import v from "@mui/material/ListItemButton";
16
+ import E from "@mui/material/ListItemIcon";
17
+ import _ from "@mui/material/ListItemText";
18
+ import { b as z, u as M, d as L } from "./hooks-0kWPTHNb.mjs";
19
+ import { u as H } from "./useScreenSize-B6JyS_Lj.mjs";
20
+ const R = I(
21
+ ({ allowedAccountTypes: n }) => {
22
+ const { accountFilterMap: c, updateAccountFilterMap: u } = z(), { accounts: g, common: x } = M(), { account_filter: d } = x, { accountsByTypeMap: a } = L(), C = B.useMemo(
23
+ () => Array.from(a.keys()).reduce((e, r) => {
24
+ if (!n || n && n.includes(r)) {
25
+ const i = a.get(r);
26
+ i && e.push(...i);
27
+ }
28
+ return e;
29
+ }, []),
30
+ [a, n]
31
+ ), m = new Map(
32
+ Array.from(c.entries()).filter(([e]) => C.some((r) => r.guid === e))
33
+ ), p = Array.from(m.values()).every((e) => e), h = Array.from(m.values()).some((e) => e), f = () => {
34
+ for (const e of m.keys())
35
+ u(e, !p);
36
+ }, b = (e) => {
37
+ const r = a.get(e);
38
+ if (!r) return;
39
+ const i = r.some((o) => c.get(o.guid));
40
+ for (const o of r)
41
+ u(o.guid, !i);
42
+ };
43
+ return /* @__PURE__ */ s(
44
+ G,
45
+ {
46
+ dense: !0,
47
+ id: "filter_accounts",
48
+ sx: { overflowY: "scroll", maxHeight: 350, minWidth: 280 },
49
+ children: [
50
+ /* @__PURE__ */ t(y, { disableGutters: !0, disablePadding: !0, sx: { py: 16 }, children: /* @__PURE__ */ s(v, { disableGutters: !0, onClick: f, sx: { p: 0, px: 8 }, children: [
51
+ /* @__PURE__ */ t(
52
+ F,
53
+ {
54
+ checked: p,
55
+ disableRipple: !0,
56
+ indeterminate: !p && h,
57
+ inputProps: { "aria-labelledby": "label-select-all" },
58
+ size: "small",
59
+ tabIndex: -1
60
+ }
61
+ ),
62
+ /* @__PURE__ */ t(
63
+ _,
64
+ {
65
+ id: "label-select-all",
66
+ primary: d.select_all_accounts,
67
+ primaryTypographyProps: { variant: "body1" }
68
+ }
69
+ )
70
+ ] }) }),
71
+ Array.from(a.keys()).map((e) => {
72
+ const r = a.get(e), i = n ? !n.includes(e) : !1, o = g.account_type_accounts[e];
73
+ return (
74
+ // Account Type Header
75
+ /* @__PURE__ */ t(y, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ s(S, { sx: { pb: 8, width: "100%" }, children: [
76
+ /* @__PURE__ */ t(P, {}),
77
+ /* @__PURE__ */ t(
78
+ G,
79
+ {
80
+ dense: !0,
81
+ subheader: /* @__PURE__ */ t(y, { children: /* @__PURE__ */ t(
82
+ v,
83
+ {
84
+ disableGutters: !0,
85
+ disabled: i,
86
+ onClick: () => b(e),
87
+ sx: { pl: 16, minHeight: 40, justifyContent: "left" },
88
+ children: /* @__PURE__ */ t(
89
+ _,
90
+ {
91
+ primary: o,
92
+ primaryTypographyProps: { variant: "body1", fontWeight: "bold" }
93
+ }
94
+ )
95
+ }
96
+ ) }),
97
+ children: r?.map((l) => (
98
+ // Account Checkbox
99
+ /* @__PURE__ */ t(y, { children: /* @__PURE__ */ s(
100
+ v,
101
+ {
102
+ disableGutters: !0,
103
+ disabled: i,
104
+ onClick: () => u(l.guid, !c.get(l.guid)),
105
+ sx: { p: 0, minHeight: 40 },
106
+ children: [
107
+ /* @__PURE__ */ t(E, { children: /* @__PURE__ */ t(
108
+ F,
109
+ {
110
+ checked: c.get(l.guid),
111
+ disableRipple: !0,
112
+ inputProps: { "aria-labelledby": `label-${l.guid}` },
113
+ size: "small",
114
+ tabIndex: -1
115
+ }
116
+ ) }),
117
+ /* @__PURE__ */ t(
118
+ _,
119
+ {
120
+ id: `label-${l.guid}`,
121
+ primary: l.displayName,
122
+ primaryTypographyProps: { variant: "body1" }
123
+ }
124
+ )
125
+ ]
126
+ }
127
+ ) }, l.guid)
128
+ ))
129
+ }
130
+ )
131
+ ] }) }, e)
132
+ );
133
+ })
134
+ ]
135
+ }
136
+ );
137
+ }
138
+ ), at = I(
139
+ ({
140
+ allowedAccountTypes: n,
141
+ onAccountFilterClick: c,
142
+ sx: u = {},
143
+ variant: g = "text"
144
+ }) => {
145
+ const { isDesktop: x } = H(), { common: d } = M(), { accountFilterMap: a, resetAccountFilterMap: C } = z(), { detailedAccounts: m, updateAccountFilter: p } = L(), [h, f] = B.useState(null), b = (W) => {
146
+ C(), f(W.currentTarget), c?.();
147
+ }, e = () => {
148
+ f(null);
149
+ }, r = async () => {
150
+ await p(a), f(null);
151
+ }, i = d.account_filter, o = !!h, l = m.length === 0;
152
+ return /* @__PURE__ */ s(j, { m: 4, sx: { ...u }, children: [
153
+ x ? /* @__PURE__ */ t(
154
+ k,
155
+ {
156
+ "aria-controls": o ? "filter_accounts" : void 0,
157
+ "aria-expanded": o,
158
+ "aria-haspopup": !0,
159
+ "aria-label": i.title,
160
+ disabled: l,
161
+ onClick: b,
162
+ startIcon: /* @__PURE__ */ t(A, { size: 24 }),
163
+ sx: { p: 8, whiteSpace: "nowrap", minWidth: "max-content" },
164
+ variant: g,
165
+ children: d.filter_button
166
+ }
167
+ ) : /* @__PURE__ */ t(D, { id: "filter-accounts", placement: "bottom", title: i.title, children: /* @__PURE__ */ t(
168
+ w,
169
+ {
170
+ "aria-controls": o ? "filter_accounts" : void 0,
171
+ "aria-describedby": "filter-accounts",
172
+ "aria-expanded": o,
173
+ "aria-haspopup": !0,
174
+ "aria-label": i.title,
175
+ color: "primary",
176
+ disabled: l,
177
+ onClick: b,
178
+ sx: { p: 8 },
179
+ children: /* @__PURE__ */ t(A, { size: 24 })
180
+ }
181
+ ) }),
182
+ /* @__PURE__ */ t(
183
+ O,
184
+ {
185
+ anchorEl: h,
186
+ anchorOrigin: { vertical: "bottom", horizontal: "left" },
187
+ onClose: e,
188
+ open: o,
189
+ transformOrigin: { vertical: "top", horizontal: "left" },
190
+ children: /* @__PURE__ */ s(S, { children: [
191
+ /* @__PURE__ */ t(R, { allowedAccountTypes: n }),
192
+ /* @__PURE__ */ t(P, {}),
193
+ /* @__PURE__ */ s(S, { direction: "row", justifyContent: "space-between", spacing: 16, sx: { p: 16 }, children: [
194
+ /* @__PURE__ */ t(k, { fullWidth: !0, onClick: e, variant: "text", children: d.cancel_button }),
195
+ /* @__PURE__ */ t(
196
+ k,
197
+ {
198
+ "aria-label": i.filter_button_aria,
199
+ color: "primary",
200
+ fullWidth: !0,
201
+ onClick: r,
202
+ variant: "contained",
203
+ children: d.filter_button
204
+ }
205
+ )
206
+ ] })
207
+ ] })
208
+ }
209
+ )
210
+ ] });
211
+ }
212
+ );
213
+ export {
214
+ at as G
215
+ };
@@ -7,7 +7,7 @@ import O from "@mui/material/CardHeader";
7
7
  import w from "@mui/material/Stack";
8
8
  import { AccountBalance as L, ChevronRight as S } from "@mxenabled/mx-icons";
9
9
  import { Text as g } from "@mxenabled/mxui";
10
- import { b as y } from "./GlobalAccountFilter-Cun09DE7.mjs";
10
+ import { C as y } from "./ConnectDrawer-BLwcW0Oe.mjs";
11
11
  import { makeAutoObservable as b, runInAction as u } from "mobx";
12
12
  import { F as D, A as i } from "./Fetch-DecPFeGU.mjs";
13
13
  import { fromUnixTime as R } from "date-fns/fromUnixTime";
@@ -12,7 +12,7 @@ import F from "@mui/material/Stack";
12
12
  import { ChevronLeft as ie } from "@mxenabled/mx-icons";
13
13
  import { Icon as f, Text as $, DateRangePicker as q, H2 as se, H3 as le } from "@mxenabled/mxui";
14
14
  import { u as de } from "./useDimensions-CeDR9V8N.mjs";
15
- import { G as me } from "./GlobalAccountFilter-Cun09DE7.mjs";
15
+ import { G as me } from "./GlobalAccountFilter-C8mpfudV.mjs";
16
16
  import { L as ce } from "./Loader-D3rjKx72.mjs";
17
17
  import { g as pe, b as ue, u as ge, a as he, W as fe } from "./hooks-0kWPTHNb.mjs";
18
18
  import { u as te } from "./useScreenSize-B6JyS_Lj.mjs";
@@ -10,15 +10,15 @@ import E from "@mui/material/List";
10
10
  import B from "@mui/material/ListSubheader";
11
11
  import W from "@mui/system/Stack";
12
12
  import { useTheme as M1, alpha as y1 } from "@mui/material/styles";
13
- import { u as R, A as x1 } from "../AccountDetailsHeader-DEgT29Bs.mjs";
13
+ import { u as R, A as x1 } from "../AccountDetailsHeader-hDo7gojQ.mjs";
14
14
  import { L as w1 } from "../LineChart-Dlp9RAJz.mjs";
15
15
  import { g as b1, a as S1, b as R1 } from "../SpendingData-C3bN-37j.mjs";
16
16
  import { m as T1, u as y, d as k, g as Z, h as m1, b as G, a as E1 } from "../hooks-0kWPTHNb.mjs";
17
17
  import { A as N, g as L, N as p1 } from "../Account-BiB1F8lL.mjs";
18
18
  import { I as _1, P as L1, S as f1 } from "../Account-DuOz1a27.mjs";
19
- import { a as D1, b as k1 } from "../AccountFields-DcRpcZX7.mjs";
20
- import { g as o2 } from "../AccountFields-DcRpcZX7.mjs";
21
- import { A as U } from "../AccountListItem-BSWdNVzS.mjs";
19
+ import { a as D1, b as k1 } from "../AccountFields-C-sby5mF.mjs";
20
+ import { g as i2 } from "../AccountFields-C-sby5mF.mjs";
21
+ import { A as U } from "../AccountListItem-CjeAlrPC.mjs";
22
22
  import a1 from "@mui/material/Tab";
23
23
  import Z1 from "@mui/material/Tabs";
24
24
  import I1 from "@mui/material/Switch";
@@ -32,13 +32,12 @@ import { D as t1 } from "../Drawer-DV4NTsFg.mjs";
32
32
  import Y from "@mui/material/ListItemAvatar";
33
33
  import N1 from "@mui/material/styles/useTheme";
34
34
  import { Error as g1, CheckCircle as O1, Language as F1 } from "@mxenabled/mx-icons";
35
- import { b as z, F as j } from "../GlobalAccountFilter-Cun09DE7.mjs";
36
- import { M as c2 } from "../GlobalAccountFilter-Cun09DE7.mjs";
35
+ import { C as z } from "../ConnectDrawer-BLwcW0Oe.mjs";
37
36
  import { fromUnixTime as P1 } from "date-fns/fromUnixTime";
38
37
  import { isToday as W1 } from "date-fns/isToday";
39
38
  import { isYesterday as B1 } from "date-fns/isYesterday";
40
39
  import { f as s1, D as l1 } from "../DateFormats-Cs-NbEZ7.mjs";
41
- import { I as X } from "../IconBacking-B9oC6uL2.mjs";
40
+ import { I as j } from "../IconBacking-B9oC6uL2.mjs";
42
41
  import { addMonths as U1 } from "date-fns/addMonths";
43
42
  import { AdapterDateFns as $1 } from "@mui/x-date-pickers/AdapterDateFnsV3";
44
43
  import { DateCalendar as G1 } from "@mui/x-date-pickers/DateCalendar";
@@ -48,6 +47,8 @@ import { LocalizationProvider as Y1 } from "@mui/x-date-pickers-pro";
48
47
  import j1 from "@mui/material/MenuItem";
49
48
  import X1 from "@mui/material/Select";
50
49
  import J1 from "@mui/material/TextField";
50
+ import { F as X } from "../Accounts-CseLC3lL.mjs";
51
+ import { M as a2 } from "../Accounts-CseLC3lL.mjs";
51
52
  import { C as q1 } from "../CurrencyInput-PMOAH5R3.mjs";
52
53
  import Q1 from "@mui/material/Alert";
53
54
  import e3 from "@mui/material/AlertTitle";
@@ -58,14 +59,14 @@ import { T as a3 } from "../TransactionList-DrtItQUk.mjs";
58
59
  import { T as s3 } from "../TransactionDetails-DGLtjFZF.mjs";
59
60
  import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
60
61
  import { f as d1 } from "../NumberFormatting-DjTD0t3W.mjs";
61
- import { C as l3 } from "../ConnectionsDrawer-CEfYXsP_.mjs";
62
+ import { C as l3 } from "../ConnectionsDrawer-UQTh9UEc.mjs";
62
63
  import { u as H1 } from "../useScreenSize-B6JyS_Lj.mjs";
63
64
  import { u as n1 } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
64
65
  import { L as o1 } from "../Loader-D3rjKx72.mjs";
65
- import { W as r3 } from "../WidgetContainer-BSrpqh6M.mjs";
66
+ import { W as r3 } from "../WidgetContainer-B5jzz8M1.mjs";
66
67
  import { M as A1 } from "../MiniWidgetContainer-B4gbUTJ2.mjs";
67
- import { A as s2 } from "../AccountApi-DgZ8ILj1.mjs";
68
- import { A as r2 } from "../AccountStore-DdGz1ig2.mjs";
68
+ import { A as l2 } from "../AccountApi-DgZ8ILj1.mjs";
69
+ import { A as d2 } from "../AccountStore-DdGz1ig2.mjs";
69
70
  const d3 = (t, o) => {
70
71
  const n = _1.includes(o) ? b1(t) : [], i = L1.includes(o) ? S1(t) : [], c = f1.includes(o) ? R1(t) : [];
71
72
  return [n, i, c].filter((l) => l.length > 0);
@@ -411,10 +412,10 @@ const d3 = (t, o) => {
411
412
  return /* @__PURE__ */ C(x, { children: [
412
413
  /* @__PURE__ */ e(B, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(g, { bold: !0, component: "h2", variant: "XSmall", children: c.connection_status }) }),
413
414
  /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper" }, children: i.is_manual || !a.ctaCopy ? /* @__PURE__ */ C(e1, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
414
- /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(X, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
415
+ /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(j, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
415
416
  /* @__PURE__ */ e(O, { primary: a.mainMessage, secondary: a.secondaryMessage })
416
417
  ] }) : /* @__PURE__ */ C($, { onClick: () => o(!0), children: [
417
- /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(X, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
418
+ /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(j, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
418
419
  /* @__PURE__ */ e(
419
420
  O,
420
421
  {
@@ -432,7 +433,7 @@ const d3 = (t, o) => {
432
433
  !i.is_manual && i.institution_url && /* @__PURE__ */ C(x, { children: [
433
434
  /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ C($, { component: "a", href: i.institution_url, target: "_blank", children: [
434
435
  /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(
435
- X,
436
+ j,
436
437
  {
437
438
  backingSx: {
438
439
  backgroundColor: n === i1.LIGHT ? "grey.300" : "grey.700",
@@ -470,7 +471,7 @@ const d3 = (t, o) => {
470
471
  a(""), m(""), n();
471
472
  }, v = () => {
472
473
  switch (t.type) {
473
- case j.Select:
474
+ case X.Select:
474
475
  return /* @__PURE__ */ C(z1, { fullWidth: !0, children: [
475
476
  /* @__PURE__ */ e(K1, { id: `${t.label}-select-label`, children: t.label }),
476
477
  /* @__PURE__ */ e(
@@ -491,7 +492,7 @@ const d3 = (t, o) => {
491
492
  }
492
493
  )
493
494
  ] });
494
- case j.Currency:
495
+ case X.Currency:
495
496
  return /* @__PURE__ */ e(
496
497
  q1,
497
498
  {
@@ -504,7 +505,7 @@ const d3 = (t, o) => {
504
505
  setHasValidInput: s
505
506
  }
506
507
  );
507
- case j.Date:
508
+ case X.Date:
508
509
  return /* @__PURE__ */ e(Y1, { dateAdapter: $1, children: /* @__PURE__ */ e(
509
510
  G1,
510
511
  {
@@ -933,7 +934,7 @@ const d3 = (t, o) => {
933
934
  ]
934
935
  }
935
936
  ) : /* @__PURE__ */ e(o1, {});
936
- }, q4 = V(D3);
937
+ }, Q4 = V(D3);
937
938
  function k3(t) {
938
939
  const { heldAccounts: o, externalAccounts: n } = t.reduce(
939
940
  (i, c) => (c.member_is_managed_by_user ? i.externalAccounts.push(c) : i.heldAccounts.push(c), i),
@@ -996,7 +997,7 @@ const I3 = {
996
997
  ] }) : /* @__PURE__ */ e(h1, { sx: { px: 12, py: 8 }, variant: "list" })
997
998
  }
998
999
  ) : /* @__PURE__ */ e(o1, {});
999
- }, Q4 = V(N3), O3 = () => /* @__PURE__ */ C(
1000
+ }, e2 = V(N3), O3 = () => /* @__PURE__ */ C(
1000
1001
  "svg",
1001
1002
  {
1002
1003
  fill: "none",
@@ -1484,18 +1485,18 @@ const I3 = {
1484
1485
  ]
1485
1486
  }
1486
1487
  ) : /* @__PURE__ */ e(o1, {});
1487
- }, e2 = V(W3);
1488
+ }, t2 = V(W3);
1488
1489
  export {
1489
- s2 as AccountApi,
1490
+ l2 as AccountApi,
1490
1491
  R3 as AccountDetailsContent,
1491
1492
  x1 as AccountDetailsHeader,
1492
- r2 as AccountStore,
1493
- Q4 as AccountsMiniWidget,
1494
- q4 as AccountsWidget,
1495
- e2 as ConnectMiniWidget,
1496
- j as FieldType,
1497
- c2 as MemberConnectionStatus,
1498
- o2 as getAccountBalanceDetails,
1493
+ d2 as AccountStore,
1494
+ e2 as AccountsMiniWidget,
1495
+ Q4 as AccountsWidget,
1496
+ t2 as ConnectMiniWidget,
1497
+ X as FieldType,
1498
+ a2 as MemberConnectionStatus,
1499
+ i2 as getAccountBalanceDetails,
1499
1500
  D1 as getAccountDetailFields,
1500
1501
  R as useAccountUiStore,
1501
1502
  m3 as useGetMergeableAccounts
@@ -25,7 +25,7 @@ import { D as k } from "../Drawer-DV4NTsFg.mjs";
25
25
  import Qe from "@mui/material/ListItemSecondaryAction";
26
26
  import { C as et } from "../CurrencyInput-PMOAH5R3.mjs";
27
27
  import { D as U } from "../Dialog-BqUCsQvo.mjs";
28
- import { C as tt } from "../ConnectionsDrawer-CEfYXsP_.mjs";
28
+ import { C as tt } from "../ConnectionsDrawer-UQTh9UEc.mjs";
29
29
  import * as M from "d3";
30
30
  import ot from "@mui/material/Tooltip";
31
31
  import { useTheme as ze, alpha as nt } from "@mui/material/styles";
@@ -48,7 +48,7 @@ import { subDays as lt } from "date-fns/subDays";
48
48
  import dt from "@mui/material/IconButton";
49
49
  import { M as ut } from "../ManageIncome-C9VHBLye.mjs";
50
50
  import { u as He } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
51
- import { W as mt } from "../WidgetContainer-BSrpqh6M.mjs";
51
+ import { W as mt } from "../WidgetContainer-B5jzz8M1.mjs";
52
52
  import { u as gt, C as pt } from "../BudgetUtil-C71e-szt.mjs";
53
53
  import { M as ht } from "../MiniWidgetContainer-B4gbUTJ2.mjs";
54
54
  import { ChevronRight as ft } from "@mxenabled/mx-icons";
@@ -24,7 +24,7 @@ import ye from "@mui/material/Tab";
24
24
  import { getUnixTime as z } from "date-fns/getUnixTime";
25
25
  import J from "@mui/material/List";
26
26
  import ee from "@mui/material/ListItem";
27
- import { A as nt } from "../AccountListItem-BSWdNVzS.mjs";
27
+ import { A as nt } from "../AccountListItem-CjeAlrPC.mjs";
28
28
  import { f as q, D as X } from "../DateFormats-Cs-NbEZ7.mjs";
29
29
  import ot from "@mui/material/ListSubheader";
30
30
  import { f as K } from "../NumberFormatting-DjTD0t3W.mjs";
@@ -40,7 +40,7 @@ import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-C9V
40
40
  import { D as Ge } from "../Drawer-DV4NTsFg.mjs";
41
41
  import { subDays as Me } from "date-fns/subDays";
42
42
  import { endOfToday as mt } from "date-fns/endOfToday";
43
- import { W as ut } from "../WidgetContainer-BSrpqh6M.mjs";
43
+ import { W as ut } from "../WidgetContainer-B5jzz8M1.mjs";
44
44
  import { A as Ie } from "../Analytics-i5h6BxR1.mjs";
45
45
  import { A as Q } from "../Account-BiB1F8lL.mjs";
46
46
  import { formatISO as ht } from "date-fns/formatISO";