@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.
- package/CHANGELOG.md +4 -0
- package/dist/{Account-9Tt9DsMn.mjs → Account-DNtjr75t.mjs} +1 -1
- package/dist/{AccountDetailsContent-BkxDh8cY.mjs → AccountDetailsContent-eODMVIVq.mjs} +16 -16
- package/dist/{AccountDetailsHeader-B3DiwvB7.mjs → AccountDetailsHeader-C0qgTju7.mjs} +38 -37
- package/dist/{AccountFields-DvACKQho.mjs → AccountFields-DDHk35Ou.mjs} +2 -2
- package/dist/AccountListItem-BxmUd4j3.mjs +90 -0
- package/dist/{AccountStore-BKK7dA8Y.mjs → AccountStore-CpjCeykS.mjs} +2 -2
- package/dist/{Accounts-DR3xTyAx.mjs → Accounts-nXcS0QUR.mjs} +1 -1
- package/dist/{BudgetUtil-n3gEKIub.mjs → BudgetUtil-2EncZLBQ.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-993LpETZ.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
- package/dist/{ConnectDrawer-L1_xPNYt.mjs → ConnectDrawer-YIWwEzuN.mjs} +179 -165
- package/dist/{ConnectionsDrawer-B-dZx6gH.mjs → ConnectionsDrawer-Bf2DNDCF.mjs} +2 -2
- package/dist/{CurrencyInput-pHmLzc_c.mjs → CurrencyInput-CRtdzs3o.mjs} +1 -1
- package/dist/{DebtsStore-3kGPnxRQ.mjs → DebtsStore-Dy3YG1fX.mjs} +1 -1
- package/dist/{ExportCsvAction-hsbyeBjg.mjs → ExportCsvAction-CebIvl-V.mjs} +3 -3
- package/dist/{GoalStore-B_nwDz-L.mjs → GoalStore-voP4QA5C.mjs} +2 -2
- package/dist/{Help-PP2i0N9Y.mjs → Help-CzBAsKA2.mjs} +1 -1
- package/dist/{LineChart-CHTf3RcN.mjs → LineChart-B2Y7zwMu.mjs} +1 -1
- package/dist/{ListItemAction-DXyHyJn0.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
- package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-kMsgLN3T.mjs} +37 -37
- package/dist/{MicroWidgetContainer-Dpu8VDSP.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BhHaL8eb.mjs → MiniWidgetContainer-DSG6mwaW.mjs} +1 -1
- package/dist/{NetWorthStore-fst-mYe9.mjs → NetWorthStore-C5RMjsMS.mjs} +2 -2
- package/dist/{NotificationSettings-zI5EGf1a.mjs → NotificationSettings-BCtanw2c.mjs} +3 -3
- package/dist/{OriginalBalanceAction-DSA8sk5b.mjs → OriginalBalanceAction-CEuIYsc_.mjs} +3 -3
- package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-CETLT79T.mjs} +7 -7
- package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-B-rdHE3_.mjs} +5 -5
- package/dist/{TransactionStore-De9d82Ao.mjs → TransactionStore-CfQBEIsK.mjs} +2 -2
- package/dist/{TrendsStore-DWVFqEC-.mjs → TrendsStore-BKBnNQba.mjs} +1 -1
- package/dist/{User-BwjK6Fwz.mjs → User-8itAR7lR.mjs} +1 -1
- package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-p7NIdiNJ.mjs} +2 -2
- package/dist/accounts/index.es.js +18 -18
- package/dist/analytics/index.es.js +11 -11
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +25 -25
- package/dist/categories/index.es.js +1 -1
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +3 -0
- package/dist/common/index.es.js +63 -61
- package/dist/common/utils/AccountDisplayName.d.ts +6 -0
- package/dist/common/utils/AccountFilter.d.ts +2 -1
- package/dist/dashboard/index.es.js +14 -14
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV--LPpH3es.mjs → exportTransactionsToCSV-CfylirZA.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +529 -524
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BAAimqdq.mjs → hooks-CE2TKk4a.mjs} +12 -12
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +10 -10
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +11 -11
- package/dist/useAccountDisplayName-DC1Lqjag.mjs +15 -0
- package/dist/{useInsightsEnabled-BwLaOKWW.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
- package/package.json +1 -1
- 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
|
|
6
|
-
import
|
|
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
|
|
10
|
-
import { L } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as
|
|
12
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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(
|
|
167
|
+
) : /* @__PURE__ */ e(W, {});
|
|
168
168
|
}, ie = y(I);
|
|
169
169
|
export {
|
|
170
170
|
ie as SurveyMiniWidget
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -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-
|
|
11
|
-
import { C as Ne } from "../ConnectionsDrawer-
|
|
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 {
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
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-
|
|
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-
|
|
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,
|
|
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-
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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:
|
|
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(
|
|
87
|
-
}, [_,
|
|
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,
|
|
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
|
-
),
|
|
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:
|
|
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:
|
|
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), [
|
|
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
|
-
),
|
|
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
|
-
|
|
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
|
-
!
|
|
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:
|
|
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
|
-
}),
|
|
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(), [
|
|
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),
|
|
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(
|
|
1024
|
+
h(z), i({
|
|
1025
1025
|
dateRange: { start: Me(M(), 90), end: ht() },
|
|
1026
|
-
accounts:
|
|
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:
|
|
1061
|
+
isOpen: j,
|
|
1062
1062
|
onClose: () => G(!1),
|
|
1063
1063
|
shouldShowHeaderBorders: !1,
|
|
1064
1064
|
title: p.action_title,
|
package/dist/common/index.es.js
CHANGED
|
@@ -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-
|
|
10
|
-
import { C as gs, b as ps, L as ms, a as _s } from "../User-
|
|
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-
|
|
14
|
-
import { M as xs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as
|
|
16
|
-
import {
|
|
17
|
-
import { C as Ys } from "../CurrencyInput-
|
|
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-
|
|
22
|
-
import { S as Js } from "../TransactionStore-
|
|
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-
|
|
29
|
-
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-
|
|
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-
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as
|
|
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-
|
|
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-
|
|
48
|
-
import { b as
|
|
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,
|
|
54
|
-
import { u as zo } from "../
|
|
55
|
-
import { u as jo } from "../
|
|
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-
|
|
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-
|
|
64
|
-
import { g as
|
|
65
|
-
import { a as xt } from "../DebtsStore-
|
|
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
|
|
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-
|
|
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
|
|
74
|
-
import { b as
|
|
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),
|
|
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:
|
|
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:
|
|
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:
|
|
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),
|
|
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:
|
|
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:
|
|
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 !==
|
|
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 !==
|
|
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 =
|
|
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
|
|
866
|
+
return vt(At(this.visibleHoldings), this.analysisType);
|
|
866
867
|
}
|
|
867
868
|
get analysisDetails() {
|
|
868
|
-
return
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1337
|
+
As as WidgetContainer,
|
|
1337
1338
|
So as WidgetContainerContext,
|
|
1338
1339
|
bo as WidgetContainerProvider,
|
|
1339
1340
|
rs as analyticsSession,
|
|
1340
|
-
|
|
1341
|
-
|
|
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
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1347
|
+
aa as fromTimestampToMonthYear,
|
|
1348
|
+
Jo as getCategory,
|
|
1349
|
+
ta as getCategoryTotalsByParent,
|
|
1349
1350
|
ze as getClientTheme,
|
|
1350
1351
|
uo as getCurrencyCodes,
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
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
|
-
|
|
1360
|
-
|
|
1361
|
+
Do as useCashflowStore,
|
|
1362
|
+
vo as useCategoryStore,
|
|
1361
1363
|
os as useCombineEvents,
|
|
1362
1364
|
as as useCombinePageviews,
|
|
1363
|
-
|
|
1364
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|