@mx-cartographer/experiences 7.0.43 → 7.0.44

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 (61) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-9Tt9DsMn.mjs → Account-DNtjr75t.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BkxDh8cY.mjs → AccountDetailsContent-eODMVIVq.mjs} +16 -16
  4. package/dist/{AccountDetailsHeader-B3DiwvB7.mjs → AccountDetailsHeader-C0qgTju7.mjs} +38 -37
  5. package/dist/{AccountFields-DvACKQho.mjs → AccountFields-DDHk35Ou.mjs} +2 -2
  6. package/dist/AccountListItem-BxmUd4j3.mjs +90 -0
  7. package/dist/{AccountStore-BKK7dA8Y.mjs → AccountStore-CpjCeykS.mjs} +2 -2
  8. package/dist/{Accounts-DR3xTyAx.mjs → Accounts-nXcS0QUR.mjs} +1 -1
  9. package/dist/{BudgetUtil-n3gEKIub.mjs → BudgetUtil-2EncZLBQ.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-993LpETZ.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
  11. package/dist/{ConnectDrawer-L1_xPNYt.mjs → ConnectDrawer-YIWwEzuN.mjs} +179 -165
  12. package/dist/{ConnectionsDrawer-B-dZx6gH.mjs → ConnectionsDrawer-Bf2DNDCF.mjs} +2 -2
  13. package/dist/{CurrencyInput-pHmLzc_c.mjs → CurrencyInput-CRtdzs3o.mjs} +1 -1
  14. package/dist/{DebtsStore-3kGPnxRQ.mjs → DebtsStore-Dy3YG1fX.mjs} +1 -1
  15. package/dist/{ExportCsvAction-hsbyeBjg.mjs → ExportCsvAction-CebIvl-V.mjs} +3 -3
  16. package/dist/{GoalStore-B_nwDz-L.mjs → GoalStore-voP4QA5C.mjs} +2 -2
  17. package/dist/{Help-PP2i0N9Y.mjs → Help-CzBAsKA2.mjs} +1 -1
  18. package/dist/{LineChart-CHTf3RcN.mjs → LineChart-B2Y7zwMu.mjs} +1 -1
  19. package/dist/{ListItemAction-DXyHyJn0.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
  20. package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-kMsgLN3T.mjs} +37 -37
  21. package/dist/{MicroWidgetContainer-Dpu8VDSP.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
  22. package/dist/{MiniWidgetContainer-BhHaL8eb.mjs → MiniWidgetContainer-DSG6mwaW.mjs} +1 -1
  23. package/dist/{NetWorthStore-fst-mYe9.mjs → NetWorthStore-C5RMjsMS.mjs} +2 -2
  24. package/dist/{NotificationSettings-zI5EGf1a.mjs → NotificationSettings-BCtanw2c.mjs} +3 -3
  25. package/dist/{OriginalBalanceAction-DSA8sk5b.mjs → OriginalBalanceAction-CEuIYsc_.mjs} +3 -3
  26. package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-CETLT79T.mjs} +7 -7
  27. package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-B-rdHE3_.mjs} +5 -5
  28. package/dist/{TransactionStore-De9d82Ao.mjs → TransactionStore-CfQBEIsK.mjs} +2 -2
  29. package/dist/{TrendsStore-DWVFqEC-.mjs → TrendsStore-BKBnNQba.mjs} +1 -1
  30. package/dist/{User-BwjK6Fwz.mjs → User-8itAR7lR.mjs} +1 -1
  31. package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-p7NIdiNJ.mjs} +2 -2
  32. package/dist/accounts/index.es.js +18 -18
  33. package/dist/analytics/index.es.js +11 -11
  34. package/dist/budgets/index.es.js +10 -10
  35. package/dist/cashflow/index.es.js +25 -25
  36. package/dist/categories/index.es.js +1 -1
  37. package/dist/common/hooks/index.d.ts +1 -0
  38. package/dist/common/hooks/useAccountDisplayName.d.ts +3 -0
  39. package/dist/common/index.es.js +63 -61
  40. package/dist/common/utils/AccountDisplayName.d.ts +6 -0
  41. package/dist/common/utils/AccountFilter.d.ts +2 -1
  42. package/dist/dashboard/index.es.js +14 -14
  43. package/dist/debts/index.es.js +9 -9
  44. package/dist/{exportTransactionsToCSV--LPpH3es.mjs → exportTransactionsToCSV-CfylirZA.mjs} +1 -1
  45. package/dist/finstrong/index.es.js +6 -6
  46. package/dist/goals/index.es.js +529 -524
  47. package/dist/help/index.es.js +5 -5
  48. package/dist/{hooks-BAAimqdq.mjs → hooks-CE2TKk4a.mjs} +12 -12
  49. package/dist/investments/index.es.js +3 -3
  50. package/dist/merchants/index.es.js +1 -1
  51. package/dist/networth/index.es.js +7 -7
  52. package/dist/notifications/index.es.js +10 -10
  53. package/dist/recurringtransactions/index.es.js +8 -8
  54. package/dist/settings/index.es.js +6 -6
  55. package/dist/spending/index.es.js +4 -4
  56. package/dist/transactions/index.es.js +13 -13
  57. package/dist/trends/index.es.js +11 -11
  58. package/dist/useAccountDisplayName-DC1Lqjag.mjs +15 -0
  59. package/dist/{useInsightsEnabled-BwLaOKWW.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
  60. package/package.json +1 -1
  61. package/dist/AccountListItem-FmvNfEP8.mjs +0 -89
@@ -2,14 +2,14 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import d from "react";
3
3
  import { observer as y } from "mobx-react-lite";
4
4
  import { SurveyQuestionType as S } from "posthog-js";
5
- import j from "@mui/material/Alert";
6
- import A from "@mui/material/Button";
5
+ import A from "@mui/material/Alert";
6
+ import B from "@mui/material/Button";
7
7
  import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
- import { Text as u, TextField as B } from "@mxenabled/mxui";
10
- import { L } from "../Loader-DUaFpDGv.mjs";
11
- import { M as W } from "../MiniWidgetContainer-BhHaL8eb.mjs";
12
- import { j as f, u as b, f as q, a as E } from "../hooks-BAAimqdq.mjs";
9
+ import { Text as u, TextField as L } from "@mxenabled/mxui";
10
+ import { L as W } from "../Loader-DUaFpDGv.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-DSG6mwaW.mjs";
12
+ import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
15
15
  const O = () => {
@@ -70,7 +70,7 @@ const O = () => {
70
70
  }, X = y(O), z = () => {
71
71
  const { response: s, setResponse: o } = f(), { analytics: i } = b();
72
72
  return /* @__PURE__ */ e(
73
- B,
73
+ L,
74
74
  {
75
75
  label: i.feedback,
76
76
  multiline: !0,
@@ -112,7 +112,7 @@ const O = () => {
112
112
  s("survey sent", k), g(), C(!0);
113
113
  };
114
114
  return T ? !r && !x ? null : /* @__PURE__ */ l(
115
- W,
115
+ j,
116
116
  {
117
117
  closeLabel: M.close_aria,
118
118
  onClose: $,
@@ -141,7 +141,7 @@ const O = () => {
141
141
  r.type === S.Open && /* @__PURE__ */ e(H, {})
142
142
  ] }),
143
143
  /* @__PURE__ */ e(a, { sx: { px: 24, py: 16 }, children: /* @__PURE__ */ e(
144
- A,
144
+ B,
145
145
  {
146
146
  disabled: !t && !n,
147
147
  onClick: t ? R : F,
@@ -160,11 +160,11 @@ const O = () => {
160
160
  ] }),
161
161
  x && /* @__PURE__ */ l(d.Fragment, { children: [
162
162
  /* @__PURE__ */ e(a, { sx: { px: 24, py: 24 }, children: /* @__PURE__ */ e(u, { bold: !0, truncate: !1, children: c.thank_you }) }),
163
- /* @__PURE__ */ e(a, { sx: { px: 24, pb: 24 }, children: /* @__PURE__ */ e(j, { severity: "success", variant: "filled", children: c.feedback_sent_successfully }) })
163
+ /* @__PURE__ */ e(a, { sx: { px: 24, pb: 24 }, children: /* @__PURE__ */ e(A, { severity: "success", variant: "filled", children: c.feedback_sent_successfully }) })
164
164
  ] })
165
165
  ]
166
166
  }
167
- ) : /* @__PURE__ */ e(L, {});
167
+ ) : /* @__PURE__ */ e(W, {});
168
168
  }, ie = y(I);
169
169
  export {
170
170
  ie as SurveyMiniWidget
@@ -7,15 +7,15 @@ import W from "@mui/material/Box";
7
7
  import b from "@mui/material/Stack";
8
8
  import Q from "@mui/material/styles/useTheme";
9
9
  import { Icon as $, Text as p, CategoryIcon as H, H1 as Ge, H3 as Be } from "@mxenabled/mxui";
10
- import { u as Pe } from "../BudgetUtil-n3gEKIub.mjs";
11
- import { C as Ne } from "../ConnectionsDrawer-B-dZx6gH.mjs";
10
+ import { u as Pe } from "../BudgetUtil-2EncZLBQ.mjs";
11
+ import { C as Ne } from "../ConnectionsDrawer-Bf2DNDCF.mjs";
12
12
  import * as E from "d3";
13
13
  import je from "@mui/material/Tooltip";
14
- import { h as w, m as j, u as D, f as X, a as ee, p as ze, i as te, g as ne, l as Ue, c as Se } from "../hooks-BAAimqdq.mjs";
14
+ import { i as w, m as j, u as D, g as X, b as ee, p as ze, j as te, h as ne, a as Ue, d as Se } from "../hooks-CE2TKk4a.mjs";
15
15
  import { L as P } from "../Loader-DUaFpDGv.mjs";
16
16
  import { E as ce } from "../EmptyState-C0lr9E5T.mjs";
17
17
  import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
18
- import { A as k, W as Fe } from "../WidgetContainer-ztkGgdIH.mjs";
18
+ import { A as k, W as Fe } from "../WidgetContainer-p7NIdiNJ.mjs";
19
19
  import K from "@mui/material/List";
20
20
  import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
21
21
  import Ae from "@mui/material/Button";
@@ -27,26 +27,26 @@ import Z from "@mui/material/ListItemText";
27
27
  import { b as L } from "../Localization-2MODESHW.mjs";
28
28
  import { D as M } from "../Drawer-kEE73B87.mjs";
29
29
  import We from "@mui/material/ListItemSecondaryAction";
30
- import { C as He } from "../CurrencyInput-pHmLzc_c.mjs";
30
+ import { C as He } from "../CurrencyInput-CRtdzs3o.mjs";
31
31
  import { a as N } from "../Dialog-CWW597AF.mjs";
32
- import { M as Xe } from "../MiniWidgetContainer-BhHaL8eb.mjs";
32
+ import { M as Xe } from "../MiniWidgetContainer-DSG6mwaW.mjs";
33
33
  import { isAfter as Ke } from "date-fns/isAfter";
34
34
  import { startOfToday as q } from "date-fns/startOfToday";
35
35
  import Ve from "@mui/material/Alert";
36
36
  import Ye from "@mui/material/Snackbar";
37
37
  import be from "@mui/material/Tab";
38
38
  import Ze from "@mui/material/Tabs";
39
- import { e as qe } from "../exportTransactionsToCSV--LPpH3es.mjs";
40
- import { T as xe, a as Je } from "../TransactionDetails-C-2UEbmQ.mjs";
39
+ import { e as qe } from "../exportTransactionsToCSV-CfylirZA.mjs";
40
+ import { T as xe, a as Je } from "../TransactionDetails-B-rdHE3_.mjs";
41
41
  import ge from "@mui/material/Card";
42
42
  import pe from "@mui/material/CardContent";
43
43
  import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
44
44
  import { S as ve } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
- import { u as Qe, b as et } from "../CategorySelectorDrawer-993LpETZ.mjs";
45
+ import { u as Qe, b as et } from "../CategorySelectorDrawer-BmenK5bu.mjs";
46
46
  import Te from "@mui/material/CardHeader";
47
47
  import { subDays as tt } from "date-fns/subDays";
48
48
  import nt from "@mui/material/IconButton";
49
- import { M as ot } from "../ManageIncome-4_bSdxXr.mjs";
49
+ import { M as ot } from "../ManageIncome-kMsgLN3T.mjs";
50
50
  const ye = 5, at = 100, rt = 25, st = (t) => {
51
51
  const o = (a) => {
52
52
  a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
@@ -9,21 +9,21 @@ import D from "@mui/material/Divider";
9
9
  import r from "@mui/material/Stack";
10
10
  import ie from "@mui/material/styles/useTheme";
11
11
  import { Text as d, P as k, Icon as F, InstitutionLogo as xe, H1 as le, H2 as Xe } from "@mxenabled/mxui";
12
- import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, i as q, f as Ne, g as ke } from "../hooks-BAAimqdq.mjs";
12
+ import { G as Ye, t as de, u as O, p as re, d as Oe, b as Y, o as me, j as q, g as Ne, h as ke } from "../hooks-CE2TKk4a.mjs";
13
13
  import { C as L } from "../CurrencyText-YUhH2caW.mjs";
14
14
  import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
15
15
  import { L as se } from "../Loader-DUaFpDGv.mjs";
16
16
  import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
18
18
  import { b as X } from "../Localization-2MODESHW.mjs";
19
- import { M as Qe } from "../MiniWidgetContainer-BhHaL8eb.mjs";
20
- import { R as Ve } from "../RecurringSettings-RduF8gt3.mjs";
19
+ import { M as Qe } from "../MiniWidgetContainer-DSG6mwaW.mjs";
20
+ import { R as Ve } from "../RecurringSettings-CETLT79T.mjs";
21
21
  import Ke from "@mui/material/Tabs";
22
22
  import ye from "@mui/material/Tab";
23
23
  import { getUnixTime as U } from "date-fns/getUnixTime";
24
24
  import ee from "@mui/material/List";
25
25
  import te from "@mui/material/ListItem";
26
- import { A as Je } from "../AccountListItem-FmvNfEP8.mjs";
26
+ import { A as Je } from "../AccountListItem-BxmUd4j3.mjs";
27
27
  import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
28
28
  import Ze from "@mui/material/ListSubheader";
29
29
  import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
@@ -34,17 +34,17 @@ import { addDays as Ce } from "date-fns/addDays";
34
34
  import { alpha as et, keyframes as tt } from "@mui/material/styles";
35
35
  import { DataGridPro as nt } from "@mui/x-data-grid-pro";
36
36
  import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
37
- import { M as ot, S as at, i as it, d as _e, c as rt } from "../ManageIncome-4_bSdxXr.mjs";
37
+ import { M as ot, S as at, i as it, d as _e, c as rt } from "../ManageIncome-kMsgLN3T.mjs";
38
38
  import { D as $e } from "../Drawer-kEE73B87.mjs";
39
39
  import { formatISO as st } from "date-fns/formatISO";
40
40
  import { fromUnixTime as we } from "date-fns/fromUnixTime";
41
41
  import { startOfMonth as ct } from "date-fns/startOfMonth";
42
42
  import { subDays as Me } from "date-fns/subDays";
43
- import { S as lt, b as dt } from "../TransactionDetails-C-2UEbmQ.mjs";
43
+ import { S as lt, b as dt } from "../TransactionDetails-B-rdHE3_.mjs";
44
44
  import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.mjs";
45
45
  import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
46
46
  import { endOfToday as ht } from "date-fns/endOfToday";
47
- import { W as ve, A as Ae } from "../WidgetContainer-ztkGgdIH.mjs";
47
+ import { W as ve, A as Ae } from "../WidgetContainer-p7NIdiNJ.mjs";
48
48
  import { F as pt, A as B } from "../Fetch-87LIQbEA.mjs";
49
49
  const K = () => {
50
50
  if (!u.useContext(Ye))
@@ -75,7 +75,7 @@ const K = () => {
75
75
  setNextIncome: S,
76
76
  setSelectedCashAccounts: v,
77
77
  setUpcomingExpenses: p
78
- } = K(), { isDataLoaded: N, nextIncomeRecurrence: _, upcomingExpenses: z } = q();
78
+ } = K(), { isDataLoaded: N, nextIncomeRecurrence: _, upcomingExpenses: j } = q();
79
79
  u.useEffect(() => {
80
80
  y(c);
81
81
  }, [c]), u.useEffect(() => {
@@ -83,15 +83,15 @@ const K = () => {
83
83
  c.filter((R) => b.includes(R.guid))
84
84
  );
85
85
  }, [c, m]), u.useEffect(() => {
86
- _ && S(_), p(z);
87
- }, [_, z]);
86
+ _ && S(_), p(j);
87
+ }, [_, j]);
88
88
  const G = u.useMemo(
89
89
  () => c.filter((R) => b.includes(R.guid)).reduce((R, w) => R + (w?.balance || 0), 0),
90
- [b, z]
90
+ [b, j]
91
91
  ), W = u.useMemo(
92
92
  () => h.filter((R) => b.includes(R.accountGuid || "")).reduce((R, w) => R + w.amount, 0),
93
93
  [b, h]
94
- ), j = u.useMemo(
94
+ ), z = u.useMemo(
95
95
  () => G - W,
96
96
  [G, W]
97
97
  ), A = g?.has_completed_cash_flow_onboarding && !!a;
@@ -118,7 +118,7 @@ const K = () => {
118
118
  ] }),
119
119
  /* @__PURE__ */ e(r, { pt: 18, children: /* @__PURE__ */ e(F, { name: "equal" }) }),
120
120
  /* @__PURE__ */ o(r, { pb: 14, pr: 24, pt: 12, children: [
121
- /* @__PURE__ */ e(L, { amount: j, variant: "H2" }),
121
+ /* @__PURE__ */ e(L, { amount: z, variant: "H2" }),
122
122
  /* @__PURE__ */ o(r, { alignItems: "center", direction: "row", gap: 8, children: [
123
123
  /* @__PURE__ */ e(k, { variant: "XSmall", whiteSpace: "nowrap", children: i.available_to_spend }),
124
124
  /* @__PURE__ */ e(he, { body: i.tooltip_body, title: i.tooltip_title })
@@ -163,7 +163,7 @@ const K = () => {
163
163
  justifyContent: "space-between",
164
164
  px: 16,
165
165
  sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
166
- children: /* @__PURE__ */ e(pe, { remaining: j })
166
+ children: /* @__PURE__ */ e(pe, { remaining: z })
167
167
  }
168
168
  ),
169
169
  /* @__PURE__ */ e(D, {}),
@@ -829,10 +829,10 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
829
829
  transform: rotate(360deg);
830
830
  }
831
831
  `, Ht = () => {
832
- const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: s } = O(), { completeOnboarding: c } = de(), { isDirty: f } = K(), { isMobile: m } = ue(), { isCopyLoaded: b, setDisplayedDate: y } = Y(), { filter: i, setFilter: g, transactions: l } = ke(), h = ie(), [C, S] = J(!0), [v, p] = u.useState(mt.EveryMonth), [N, _] = u.useState(1), [z, G] = u.useState(15), [W, j] = J(!1), [A, R] = J(1), [w, ze] = J([]), [fe, ce] = J(""), $ = u.useMemo(
832
+ const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: s } = O(), { completeOnboarding: c } = de(), { isDirty: f } = K(), { isMobile: m } = ue(), { isCopyLoaded: b, setDisplayedDate: y } = Y(), { filter: i, setFilter: g, transactions: l } = ke(), h = ie(), [C, S] = J(!0), [v, p] = u.useState(mt.EveryMonth), [N, _] = u.useState(1), [j, G] = u.useState(15), [W, z] = J(!1), [A, R] = J(1), [w, je] = J([]), [fe, ce] = J(""), $ = u.useMemo(
833
833
  () => l.find((x) => x.guid === fe),
834
834
  [fe, l]
835
- ), je = !!n.filter(
835
+ ), ze = !!n.filter(
836
836
  (x) => x.repeating_transaction_type === Ie.Income
837
837
  ).length, ge = async () => {
838
838
  R(2), y(
@@ -842,7 +842,7 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
842
842
  ), g({ ...i, custom: _e }), R(3);
843
843
  }, Be = async () => {
844
844
  if (!(w.length < 1)) {
845
- j(!0);
845
+ z(!0);
846
846
  for (let x = 0; x < w.length; x++) {
847
847
  const E = w[x], be = De(v, we(E.date)), Pe = {
848
848
  account_guid: E.account_guid,
@@ -934,7 +934,7 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
934
934
  }
935
935
  }
936
936
  ),
937
- !je && f && /* @__PURE__ */ e(k, { color: "error", mt: 16, children: t.confirm_error }),
937
+ !ze && f && /* @__PURE__ */ e(k, { color: "error", mt: 16, children: t.confirm_error }),
938
938
  $ && /* @__PURE__ */ o(P, { children: [
939
939
  /* @__PURE__ */ e(
940
940
  rt,
@@ -945,7 +945,7 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
945
945
  onFirstDayChange: _,
946
946
  onFrequencyChange: p,
947
947
  onSecondDayChange: G,
948
- secondDay: z,
948
+ secondDay: j,
949
949
  transaction: $
950
950
  }
951
951
  ),
@@ -960,7 +960,7 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
960
960
  ...$,
961
961
  nextDate: De(v, we($.date)),
962
962
  frequency: v
963
- }), ze(x), ce("");
963
+ }), je(x), ce("");
964
964
  },
965
965
  variant: "contained",
966
966
  children: s.confirm_button
@@ -1012,18 +1012,18 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
1012
1012
  setSelectedAccounts: c,
1013
1013
  shouldDisableNextDate: f,
1014
1014
  shouldDisablePrevDate: m
1015
- } = Y(), { onEvent: b } = Ne(), { visibleCashAccounts: y } = Oe(), { setFilter: i } = ke(), { userProfile: g } = me(), { dateRange: l, setSelectedCashAccounts: h } = K(), { loadRepeatingTransactions: C, setDateRange: S } = q(), { cashflow: v, recurring: p } = O(), { isCopyLoaded: N, isInitialized: _ } = Y(), [z, G] = u.useState(!1);
1015
+ } = Y(), { onEvent: b } = Ne(), { visibleCashAccounts: y } = Oe(), { setFilter: i } = ke(), { userProfile: g } = me(), { dateRange: l, setSelectedCashAccounts: h } = K(), { loadRepeatingTransactions: C, setDateRange: S } = q(), { cashflow: v, recurring: p } = O(), { isCopyLoaded: N, isInitialized: _ } = Y(), [j, G] = u.useState(!1);
1016
1016
  return u.useEffect(() => {
1017
1017
  _ && (S(l), C().finally());
1018
1018
  }, [_]), u.useEffect(() => {
1019
1019
  c(y);
1020
1020
  }, [y]), u.useEffect(() => {
1021
- const W = y.map((A) => A.guid), j = t.filter(
1021
+ const W = y.map((A) => A.guid), z = t.filter(
1022
1022
  (A) => s.includes(A.guid) && W.includes(A.guid)
1023
1023
  );
1024
- h(j), i({
1024
+ h(z), i({
1025
1025
  dateRange: { start: Me(M(), 90), end: ht() },
1026
- accounts: j.map((A) => A.guid)
1026
+ accounts: z.map((A) => A.guid)
1027
1027
  });
1028
1028
  }, [y, t]), !N || !_ ? /* @__PURE__ */ e(se, {}) : g?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ o(
1029
1029
  ve,
@@ -1058,7 +1058,7 @@ const Ct = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
1058
1058
  $e,
1059
1059
  {
1060
1060
  ariaLabelClose: v.close_settings_aria,
1061
- isOpen: z,
1061
+ isOpen: j,
1062
1062
  onClose: () => G(!1),
1063
1063
  shouldShowHeaderBorders: !1,
1064
1064
  title: p.action_title,
@@ -1,4 +1,4 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-993LpETZ.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-BmenK5bu.mjs";
2
2
  import { C as g } from "../CategoryStore-BCcpI3oJ.mjs";
3
3
  export {
4
4
  o as CategoryRow,
@@ -1,3 +1,4 @@
1
+ export { useAccountDisplayName } from './useAccountDisplayName';
1
2
  export { useCombineEvents, useCombinePageviews } from './useCombineEvents';
2
3
  export { useInsightsEnabled } from './useInsightsEnabled';
3
4
  export { useScreenSize } from './useScreenSize';
@@ -0,0 +1,3 @@
1
+ import { Account } from '../types';
2
+ export declare const useAccountDisplayName: (account: Account) => string;
3
+ export default useAccountDisplayName;
@@ -6,72 +6,73 @@ import { C as et } from "../CategoryStore-BCcpI3oJ.mjs";
6
6
  import { a as ds } from "../CategoryStore-BCcpI3oJ.mjs";
7
7
  import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
8
8
  import { a as us } from "../NotificationStore-C6PH6MKm.mjs";
9
- import { T as rt } from "../User-BwjK6Fwz.mjs";
10
- import { C as gs, b as ps, L as ms, a as _s } from "../User-BwjK6Fwz.mjs";
9
+ import { T as rt } from "../User-8itAR7lR.mjs";
10
+ import { C as gs, b as ps, L as ms, a as _s } from "../User-8itAR7lR.mjs";
11
11
  import { H as ot } from "../Help-DhcC-C05.mjs";
12
12
  import { E as ys } from "../Help-DhcC-C05.mjs";
13
- import { M as bs } from "../MicroWidgetContainer-Dpu8VDSP.mjs";
14
- import { M as xs } from "../MiniWidgetContainer-BhHaL8eb.mjs";
15
- import { A as vs, D as Ds, W as Es } from "../WidgetContainer-ztkGgdIH.mjs";
16
- import { i as Ts, a as Bs, e as Is, l as Ns, A as Ms, f as ks, j as $s, d as Rs, k as Ps, E as Os, h as Us, N as Ls, g as Gs, P as Hs, m as Fs, S as Ws } from "../ConnectDrawer-L1_xPNYt.mjs";
17
- import { C as Ys } from "../CurrencyInput-pHmLzc_c.mjs";
13
+ import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
14
+ import { M as xs } from "../MiniWidgetContainer-DSG6mwaW.mjs";
15
+ import { A as Ds, D as vs, W as As } from "../WidgetContainer-p7NIdiNJ.mjs";
16
+ import { j as Ts, a as Bs, e as Is, m as Ns, A as Ms, f as ks, k as $s, d as Rs, l as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, n as Fs, S as Ws } from "../ConnectDrawer-YIWwEzuN.mjs";
17
+ import { C as Ys } from "../CurrencyInput-CRtdzs3o.mjs";
18
18
  import { L as zs } from "../Loader-DUaFpDGv.mjs";
19
19
  import { R as js } from "../ResponsiveButton-DZFp78fJ.mjs";
20
20
  import { S as Vs } from "../SearchBox-B2_zLv8-.mjs";
21
- import { T as at } from "../TransactionStore-De9d82Ao.mjs";
22
- import { S as Js } from "../TransactionStore-De9d82Ao.mjs";
21
+ import { T as at } from "../TransactionStore-CfQBEIsK.mjs";
22
+ import { S as Js } from "../TransactionStore-CfQBEIsK.mjs";
23
23
  import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
24
24
  import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
25
25
  import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RepeatingTransaction-BW4J-jeJ.mjs";
26
26
  import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
27
27
  import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
28
- import { d as it } from "../GoalStore-B_nwDz-L.mjs";
29
- import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-B_nwDz-L.mjs";
28
+ import { d as it } from "../GoalStore-voP4QA5C.mjs";
29
+ import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-voP4QA5C.mjs";
30
30
  import { C as Sr } from "../CurrencyText-YUhH2caW.mjs";
31
31
  import { E as wr } from "../EmptyState-C0lr9E5T.mjs";
32
- import { L as Cr } from "../ListItemAction-DXyHyJn0.mjs";
33
- import { T as ct } from "../TrendsStore-DWVFqEC-.mjs";
34
- import { L as Dr, S as Er } from "../TrendsStore-DWVFqEC-.mjs";
32
+ import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
33
+ import { T as ct } from "../TrendsStore-BKBnNQba.mjs";
34
+ import { L as vr, S as Ar } from "../TrendsStore-BKBnNQba.mjs";
35
35
  import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../Notification-aGCHxikw.mjs";
36
36
  import { jsxs as f, jsx as n } from "react/jsx-runtime";
37
37
  import dt, { useRef as lt, useEffect as ut } from "react";
38
38
  import { css as w, keyframes as ht } from "@mxenabled/cssinjs";
39
39
  import { useTokens as x, Text as B } from "@mxenabled/mxui";
40
40
  import { D as Rr } from "../Donut-1UMNcG67.mjs";
41
- import { L as Or } from "../LineChart-CHTf3RcN.mjs";
41
+ import { L as Or } from "../LineChart-B2Y7zwMu.mjs";
42
42
  import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
43
43
  import { D as Hr, a as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-CWW597AF.mjs";
44
44
  import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
45
  import { S as zr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
46
46
  import { D as jr } from "../Drawer-kEE73B87.mjs";
47
- import { I as Vr, P as Zr, S as Jr } from "../Account-9Tt9DsMn.mjs";
48
- import { b as A } from "../Category-CevNQ03n.mjs";
47
+ import { I as Vr, P as Zr, S as Jr } from "../Account-DNtjr75t.mjs";
48
+ import { b as E } from "../Category-CevNQ03n.mjs";
49
49
  import { C as eo, c as so, a as ro, P as oo } from "../Category-CevNQ03n.mjs";
50
50
  import { C as no, f as io, b as co, a as lo, g as uo, i as ho } from "../NumberFormatting-CtWHhyBX.mjs";
51
51
  import { R as mt } from "../RecurringTransactionsStore-DeLXfuC4.mjs";
52
52
  import { S as po, T as mo } from "../RecurringTransactionsStore-DeLXfuC4.mjs";
53
- import { G as fo, B as yo, C as So, W as bo, c as wo, l as xo, h as Co, t as vo, m as Do, x as Eo, y as Ao, f as To, w as Bo, u as Io, e as No, a as Mo, k as ko, z as $o, s as Ro, b as Po, q as Oo, n as Uo, A as Lo, i as Go, r as Ho, g as Fo, v as Wo, o as qo, p as Yo } from "../hooks-BAAimqdq.mjs";
54
- import { u as zo } from "../useInsightsEnabled-BwLaOKWW.mjs";
55
- import { u as jo } from "../useScreenSize-B6JyS_Lj.mjs";
53
+ import { G as fo, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as Do, m as vo, x as Ao, y as Eo, g as To, w as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CE2TKk4a.mjs";
54
+ import { u as zo } from "../useAccountDisplayName-DC1Lqjag.mjs";
55
+ import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
56
+ import { u as Vo } from "../useScreenSize-B6JyS_Lj.mjs";
56
57
  import { makeAutoObservable as _, runInAction as m, reaction as _t } from "mobx";
57
- import { a as ft } from "../AccountStore-BKK7dA8Y.mjs";
58
+ import { a as ft } from "../AccountStore-CpjCeykS.mjs";
58
59
  import yt from "posthog-js";
59
60
  import { B as St } from "../BeatStore-IBnXd4YK.mjs";
60
61
  import { endOfMonth as Z } from "date-fns/endOfMonth";
61
62
  import { startOfMonth as J } from "date-fns/startOfMonth";
62
63
  import { startOfToday as U } from "date-fns/startOfToday";
63
- import { f as bt, a as wt, b as L } from "../BudgetUtil-n3gEKIub.mjs";
64
- import { g as Vo, e as Zo, c as Jo, d as ta, i as ea } from "../BudgetUtil-n3gEKIub.mjs";
65
- import { a as xt } from "../DebtsStore-3kGPnxRQ.mjs";
64
+ import { f as bt, a as wt, b as L } from "../BudgetUtil-2EncZLBQ.mjs";
65
+ import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-2EncZLBQ.mjs";
66
+ import { a as xt } from "../DebtsStore-Dy3YG1fX.mjs";
66
67
  import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
67
- import { A as vt, m as Dt, a as Et, b as At } from "../InvestmentUtil-jOyOgzIB.mjs";
68
+ import { A as Dt, m as vt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
68
69
  import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
69
- import { N as Bt } from "../NetWorthStore-fst-mYe9.mjs";
70
+ import { N as Bt } from "../NetWorthStore-C5RMjsMS.mjs";
70
71
  import { a as It } from "../SettingsStore-Dc34Tzx8.mjs";
71
72
  import { addMonths as Nt } from "date-fns/addMonths";
72
73
  import { getMonth as T } from "date-fns/getMonth";
73
- import { i as ra } from "../DateUtil-BcuH7ErC.mjs";
74
- import { b as aa, a as na, g as ia } from "../Localization-2MODESHW.mjs";
74
+ import { i as aa } from "../DateUtil-BcuH7ErC.mjs";
75
+ import { b as ia, a as ca, g as da } from "../Localization-2MODESHW.mjs";
75
76
  import { alpha as Mt, lighten as G, darken as H } from "@mui/material";
76
77
  var kt = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.EveryWeek = 1] = "EveryWeek", s[s.EveryOtherWeek = 2] = "EveryOtherWeek", s[s.EveryMonth = 3] = "EveryMonth", s[s.EveryOtherMonth = 4] = "EveryOtherMonth", s[s.EveryQuarter = 5] = "EveryQuarter", s[s.EveryOtherQuarter = 6] = "EveryOtherQuarter", s[s.EveryYear = 7] = "EveryYear", s))(kt || {});
77
78
  const Ye = [
@@ -371,14 +372,14 @@ const Ke = (s) => {
371
372
  width: d,
372
373
  xAxisLabel: g = ""
373
374
  }) => {
374
- const S = x(), C = Ht(S, d), v = h / l * i, D = Math.abs(h) / l * e, E = c === void 0 || c === o ? "primary" : "secondary";
375
+ const S = x(), C = Ht(S, d), D = h / l * i, v = Math.abs(h) / l * e, A = c === void 0 || c === o ? "primary" : "secondary";
375
376
  return /* @__PURE__ */ f("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
376
377
  /* @__PURE__ */ n("div", { style: { height: i }, children: h >= 0 && /* @__PURE__ */ n(
377
378
  q,
378
379
  {
379
380
  ariaLabel: s,
380
381
  color: r,
381
- height: v,
382
+ height: D,
382
383
  index: o,
383
384
  label: p,
384
385
  onClick: a,
@@ -393,7 +394,7 @@ const Ke = (s) => {
393
394
  {
394
395
  ariaLabel: s,
395
396
  color: r,
396
- height: D,
397
+ height: v,
397
398
  index: o,
398
399
  label: p,
399
400
  onClick: a,
@@ -405,7 +406,7 @@ const Ke = (s) => {
405
406
  {
406
407
  className: `mx-cmn-bar-label ${a ? "mx-cmn-clickable" : ""}`,
407
408
  onClick: a ? () => a(o) : void 0,
408
- children: /* @__PURE__ */ n(B, { bold: c === o, color: E, variant: "Small", children: g })
409
+ children: /* @__PURE__ */ n(B, { bold: c === o, color: A, variant: "Small", children: g })
409
410
  }
410
411
  )
411
412
  ] });
@@ -449,13 +450,13 @@ const Ke = (s) => {
449
450
  selectedIndex: i,
450
451
  valueFormatter: h = (p) => `${p}`
451
452
  }) => {
452
- const p = x(), d = zt(p), g = r.reduce(qt, []), S = s !== void 0 ? s : g.reduce(Ft, 0) / g.length, C = Math.max(...g), v = Math.min(...g), D = g.reduce(Wt, 0), E = C >= 0, R = v < 0, I = Q(E, R, o), N = Q(R, E, o), P = Yt(S, C, v, I || N), tt = (b) => i === void 0 || b === i ? e : `${e}80`, O = () => /* @__PURE__ */ n(
453
+ const p = x(), d = zt(p), g = r.reduce(qt, []), S = s !== void 0 ? s : g.reduce(Ft, 0) / g.length, C = Math.max(...g), D = Math.min(...g), v = g.reduce(Wt, 0), A = C >= 0, R = D < 0, I = Q(A, R, o), N = Q(R, A, o), P = Yt(S, C, D, I || N), tt = (b) => i === void 0 || b === i ? e : `${e}80`, O = () => /* @__PURE__ */ n(
453
454
  Y,
454
455
  {
455
456
  averageLineHeight: P,
456
457
  bottomHeight: N,
457
458
  color: "",
458
- range: D,
459
+ range: v,
459
460
  topHeight: I,
460
461
  value: 0,
461
462
  width: void 0
@@ -474,7 +475,7 @@ const Ke = (s) => {
474
475
  color: tt(M),
475
476
  index: M,
476
477
  onClick: c,
477
- range: D,
478
+ range: v,
478
479
  selectedIndex: i,
479
480
  topHeight: I,
480
481
  value: b.value,
@@ -686,7 +687,7 @@ class Zt {
686
687
  get detailedBudgets() {
687
688
  return L(
688
689
  this.budgets.filter(
689
- (t) => t.category_guid !== A.INCOME && t.category_guid !== A.TRANSFER && t.category_guid !== A.INVESTMENTS
690
+ (t) => t.category_guid !== E.INCOME && t.category_guid !== E.TRANSFER && t.category_guid !== E.INVESTMENTS
690
691
  ),
691
692
  this.globalStore.categoryStore.detailedCategories,
692
693
  this.globalStore.copyStore.copy.budgets,
@@ -700,7 +701,7 @@ class Zt {
700
701
  this.globalStore.copyStore.copy.budgets,
701
702
  this.theme
702
703
  ).reduce(
703
- (r, o) => o.category_guid !== A.INCOME ? r : !r || o.percentage > r.percentage ? o : r,
704
+ (r, o) => o.category_guid !== E.INCOME ? r : !r || o.percentage > r.percentage ? o : r,
704
705
  void 0
705
706
  )?.amount;
706
707
  }
@@ -852,7 +853,7 @@ class j {
852
853
  updateHoldings = async (t) => this.fetchInstance.put(`${u.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
853
854
  }
854
855
  class ne {
855
- analysisType = vt.Stocks;
856
+ analysisType = Dt.Stocks;
856
857
  api = new j("/", "");
857
858
  holdings = [];
858
859
  holdingsLoaded = !1;
@@ -862,10 +863,10 @@ class ne {
862
863
  this.globalStore = t, this.api = new j(t.endpoint, t.sessionToken, t.onError), _(this);
863
864
  }
864
865
  get analysisChartData() {
865
- return Dt(Et(this.visibleHoldings), this.analysisType);
866
+ return vt(At(this.visibleHoldings), this.analysisType);
866
867
  }
867
868
  get analysisDetails() {
868
- return At(this.visibleHoldings)[this.analysisType] || {};
869
+ return Et(this.visibleHoldings)[this.analysisType] || {};
869
870
  }
870
871
  get visibleHoldings() {
871
872
  return this.holdings.filter(
@@ -1228,7 +1229,7 @@ class Je {
1228
1229
  };
1229
1230
  }
1230
1231
  export {
1231
- vs as ANALYTICS_EVENTS,
1232
+ Ds as ANALYTICS_EVENTS,
1232
1233
  Ts as AccountFilter,
1233
1234
  Bs as AccountIcon,
1234
1235
  Is as AccountIconVariants,
@@ -1247,7 +1248,7 @@ export {
1247
1248
  ds as CategoryApi,
1248
1249
  eo as CategoryColors,
1249
1250
  so as CategoryGuidToName,
1250
- A as CategoryGuids,
1251
+ E as CategoryGuids,
1251
1252
  ro as CategoryIcon,
1252
1253
  pr as ConnectCard,
1253
1254
  $s as ConnectDrawer,
@@ -1260,7 +1261,7 @@ export {
1260
1261
  gt as DEFAULT_DONUT_SIZE,
1261
1262
  pt as DEFAULT_STROKE_WIDTH,
1262
1263
  ar as DataRow,
1263
- Ds as DateRangeSelector,
1264
+ vs as DateRangeSelector,
1264
1265
  Fr as Dialog,
1265
1266
  Rr as Donut,
1266
1267
  jr as Drawer,
@@ -1284,7 +1285,7 @@ export {
1284
1285
  Qe as LOADING_STATUS,
1285
1286
  Or as LineChart,
1286
1287
  Cr as ListItemAction,
1287
- Dr as ListItemRow,
1288
+ vr as ListItemRow,
1288
1289
  ms as ListItemWrapper,
1289
1290
  zs as Loader,
1290
1291
  Xe as LocalizedCopyApi,
@@ -1319,7 +1320,7 @@ export {
1319
1320
  Js as SelectionBox,
1320
1321
  zr as SingleSegmentDonut,
1321
1322
  po as Sizes,
1322
- Er as StackedLineChart,
1323
+ Ar as StackedLineChart,
1323
1324
  Lr as StatusBar,
1324
1325
  Ws as StatusName,
1325
1326
  mo as TOUCH_TARGET,
@@ -1333,35 +1334,36 @@ export {
1333
1334
  le as UserStore,
1334
1335
  Jt as UserVerification,
1335
1336
  W as WidgetApi,
1336
- Es as WidgetContainer,
1337
+ As as WidgetContainer,
1337
1338
  So as WidgetContainerContext,
1338
1339
  bo as WidgetContainerProvider,
1339
1340
  rs as analyticsSession,
1340
- aa as buildDynamicCopy,
1341
- na as buildPluralCopy,
1341
+ ia as buildDynamicCopy,
1342
+ ca as buildPluralCopy,
1342
1343
  io as formatCurrency,
1343
1344
  Yr as formatDate,
1344
1345
  co as formatOrdinal,
1345
1346
  lo as formatPercentage,
1346
- ra as fromTimestampToMonthYear,
1347
- Vo as getCategory,
1348
- Zo as getCategoryTotalsByParent,
1347
+ aa as fromTimestampToMonthYear,
1348
+ Jo as getCategory,
1349
+ ta as getCategoryTotalsByParent,
1349
1350
  ze as getClientTheme,
1350
1351
  uo as getCurrencyCodes,
1351
- Jo as getDetailedCategory,
1352
- ta as getDetailedSubCategory,
1353
- ia as getLocale,
1354
- ea as isIncome,
1352
+ ea as getDetailedCategory,
1353
+ sa as getDetailedSubCategory,
1354
+ da as getLocale,
1355
+ ra as isIncome,
1355
1356
  ho as isValidNumber,
1357
+ zo as useAccountDisplayName,
1356
1358
  wo as useAccountStore,
1357
1359
  xo as useAppConfig,
1358
1360
  Co as useBudgetsStore,
1359
- vo as useCashflowStore,
1360
- Do as useCategoryStore,
1361
+ Do as useCashflowStore,
1362
+ vo as useCategoryStore,
1361
1363
  os as useCombineEvents,
1362
1364
  as as useCombinePageviews,
1363
- Eo as useDebtStore,
1364
- Ao as useError,
1365
+ Ao as useDebtStore,
1366
+ Eo as useError,
1365
1367
  To as useEvent,
1366
1368
  Bo as useFinstrongStore,
1367
1369
  Io as useGlobalCopyStore,
@@ -1370,14 +1372,14 @@ export {
1370
1372
  ko as useGoalStore,
1371
1373
  $o as useHelpStore,
1372
1374
  Ro as useHoldingStore,
1373
- zo as useInsightsEnabled,
1375
+ jo as useInsightsEnabled,
1374
1376
  Po as useMerchantStore,
1375
1377
  Oo as useNetWorthStore,
1376
1378
  Uo as useNotificationStore,
1377
1379
  Lo as usePageView,
1378
1380
  Ke as usePrevious,
1379
1381
  Go as useRecurringTransactionsStore,
1380
- jo as useScreenSize,
1382
+ Vo as useScreenSize,
1381
1383
  Ho as useSettingsStore,
1382
1384
  Fo as useTransactionStore,
1383
1385
  Wo as useTrendsStore,
@@ -0,0 +1,6 @@
1
+ import { Account } from '../types/Account';
2
+ export interface AccountDisplayNameOptions {
3
+ allowNickname?: boolean;
4
+ }
5
+ export declare function getAccountDisplayName(account: Account, options?: AccountDisplayNameOptions): string;
6
+ export default getAccountDisplayName;
@@ -1,3 +1,4 @@
1
+ import { GlobalStore } from '../stores/GlobalStore';
1
2
  import { Account } from '../types';
2
3
  export interface MappedAccounts {
3
4
  [key: string]: MappedAccount[];
@@ -11,4 +12,4 @@ export interface MappedOptions {
11
12
  [key: string]: boolean;
12
13
  }
13
14
  export declare const setupMappedSelectedOptions: (accounts: Account[], selectedAccountGuids: string[]) => MappedOptions;
14
- export declare const setupMappedAccounts: (accounts: Account[], closeContentCopy: string) => MappedAccounts;
15
+ export declare const setupMappedAccounts: (accounts: Account[], closeContentCopy: string, globalStore?: GlobalStore) => MappedAccounts;