@mx-cartographer/experiences 7.1.3-alpha.mm1 → 7.1.4
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 +13 -0
- package/dist/{Account-DKy2na__.mjs → Account-8IUM_CLv.mjs} +1 -1
- package/dist/{AccountDetailsContent-CCOCsdoL.mjs → AccountDetailsContent-CuZSSAEc.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Ca9SPAjA.mjs → AccountDetailsHeader-BZBsIKdF.mjs} +6 -6
- package/dist/{AccountFields-DDAr5SEq.mjs → AccountFields-BD_0GT68.mjs} +2 -2
- package/dist/{AccountListItem-CMes1Q7Z.mjs → AccountListItem-CllIBCao.mjs} +4 -4
- package/dist/{AccountStore-DYOG9MYj.mjs → AccountStore-BL0FE1QL.mjs} +53 -45
- package/dist/{Accounts-BNvFndCa.mjs → Accounts-Bvc9TJaO.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-psfk-Amb.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
- package/dist/{ConnectDrawer-CHG5Lv_B.mjs → ConnectDrawer-CPTXh70j.mjs} +8 -8
- package/dist/{ConnectionsDrawer-BeB6ab8V.mjs → ConnectionsDrawer-Dkb4vBmt.mjs} +2 -2
- package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-C4xNRL2W.mjs} +1 -1
- package/dist/{DebtsStore-BblTVTMD.mjs → DebtsStore-D4grpB4m.mjs} +1 -1
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-CBJAfyAw.mjs} +3 -3
- package/dist/{GoalStore-CSsU4LR2.mjs → GoalStore-B5MZzPLZ.mjs} +2 -2
- package/dist/{Help-B6dIcujh.mjs → Help-CzBAsKA2.mjs} +1 -1
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-B35qvXik.mjs} +1 -1
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
- package/dist/{ManageIncome-DqG75uQd.mjs → ManageIncome-DUuT-yMV.mjs} +34 -34
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-DTQdRK-3.mjs} +1 -1
- package/dist/{NetWorthStore-BbA7H83o.mjs → NetWorthStore-Do1Gk8Te.mjs} +2 -2
- package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-BuShgjn6.mjs} +3 -3
- package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-BsxcvNEF.mjs} +3 -3
- package/dist/{RecurringSettings-B9l_Axnd.mjs → RecurringSettings-BVOt46uV.mjs} +3 -3
- package/dist/{TransactionDetails-DPvvi4Iu.mjs → TransactionDetails-_cXLXTd3.mjs} +5 -5
- package/dist/{TransactionStore-CBrJOY0H.mjs → TransactionStore-B-Tq_YFE.mjs} +2 -2
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-ZZ8X36lJ.mjs} +1 -1
- package/dist/{User-BQUxBeZV.mjs → User-DaJAQ09j.mjs} +1 -1
- package/dist/{WidgetContainer-BMWagbIl.mjs → WidgetContainer-DtPnPQZY.mjs} +10 -10
- package/dist/accounts/index.es.js +13 -13
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +381 -387
- package/dist/categories/index.es.js +1 -1
- package/dist/common/context/GlobalDataProvider.d.ts +0 -1
- package/dist/common/context/hooks.d.ts +0 -3
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +49 -50
- package/dist/dashboard/index.es.js +77 -79
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-D8TTNrrE.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +52 -52
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-CE2TKk4a.mjs +74 -0
- 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 +2 -2
- package/dist/recurringtransactions/index.es.js +19 -19
- 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 +449 -449
- package/dist/{useAccountDisplayName-BEorBm5u.mjs → useAccountDisplayName-BXGkZN5B.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
- package/package.json +1 -1
- package/dist/hooks-D6XlXHf4.mjs +0 -77
|
@@ -28,9 +28,6 @@ export declare const useError: () => {
|
|
|
28
28
|
export declare const useEvent: () => {
|
|
29
29
|
onEvent: import('..').GlobalEventHandler;
|
|
30
30
|
};
|
|
31
|
-
export declare const useLoad: () => {
|
|
32
|
-
onLoad: ((widgetName: string) => void) | undefined;
|
|
33
|
-
};
|
|
34
31
|
export declare const usePageView: () => {
|
|
35
32
|
onPageView: (pageViewEvent: string) => void;
|
|
36
33
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent,
|
|
1
|
+
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
2
2
|
export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
|
|
3
3
|
export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
|
package/dist/common/index.es.js
CHANGED
|
@@ -6,73 +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-DaJAQ09j.mjs";
|
|
10
|
+
import { C as gs, b as ps, L as ms, a as _s } from "../User-DaJAQ09j.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 vs, D as Ds, W as As } from "../WidgetContainer-
|
|
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-DTQdRK-3.mjs";
|
|
15
|
+
import { A as vs, D as Ds, W as As } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
16
|
+
import { k as Ts, a as Bs, e as Is, h as Ns, A as Ms, f as ks, l as $s, d as Rs, n as Ps, E as Os, j as Us, N as Ls, i as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
17
|
+
import { C as Ys } from "../CurrencyInput-C4xNRL2W.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-B-Tq_YFE.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-B-Tq_YFE.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 "../RecurringTransactions-ej39mgA6.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-B5MZzPLZ.mjs";
|
|
29
|
+
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-B5MZzPLZ.mjs";
|
|
30
30
|
import { C as Sr } from "../CurrencyText-kyC1aseI.mjs";
|
|
31
31
|
import { E as wr } from "../EmptyState-DA_lfRBv.mjs";
|
|
32
|
-
import { L as Cr } from "../ListItemAction-
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as Dr, S as Ar } from "../TrendsStore-
|
|
32
|
+
import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
|
|
33
|
+
import { T as ct } from "../TrendsStore-ZZ8X36lJ.mjs";
|
|
34
|
+
import { L as Dr, S as Ar } from "../TrendsStore-ZZ8X36lJ.mjs";
|
|
35
35
|
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../ToggleListItem-r0Kx56wF.mjs";
|
|
36
36
|
import { jsxs as y, jsx as n } from "react/jsx-runtime";
|
|
37
37
|
import dt, { useRef as lt, useEffect as ut } from "react";
|
|
38
38
|
import { css as x, keyframes as ht } from "@mxenabled/cssinjs";
|
|
39
39
|
import { useTokens as C, 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-B35qvXik.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-
|
|
47
|
+
import { I as Vr, P as Zr, S as Jr } from "../Account-8IUM_CLv.mjs";
|
|
48
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-Buh7u8Oi.mjs";
|
|
51
51
|
import { R as mt } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
52
52
|
import { S as po, T as mo } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
53
|
-
import { G as fo,
|
|
54
|
-
import { u as
|
|
55
|
-
import { u as
|
|
56
|
-
import { u as
|
|
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 vo, m as Do, 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-BXGkZN5B.mjs";
|
|
55
|
+
import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
|
|
56
|
+
import { u as Vo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
57
|
import { makeAutoObservable as f, runInAction as p, reaction as _t } from "mobx";
|
|
58
|
-
import { a as ft } from "../AccountStore-
|
|
58
|
+
import { a as ft } from "../AccountStore-BL0FE1QL.mjs";
|
|
59
59
|
import yt from "posthog-js";
|
|
60
60
|
import { B as St } from "../BeatStore-IBnXd4YK.mjs";
|
|
61
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
62
62
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
63
63
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
64
|
-
import { f as bt, a as wt, b as L } from "../BudgetUtil-
|
|
65
|
-
import { g as
|
|
66
|
-
import { a as xt } from "../DebtsStore-
|
|
64
|
+
import { f as bt, a as wt, b as L } from "../BudgetUtil-psfk-Amb.mjs";
|
|
65
|
+
import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-psfk-Amb.mjs";
|
|
66
|
+
import { a as xt } from "../DebtsStore-D4grpB4m.mjs";
|
|
67
67
|
import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
|
|
68
68
|
import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
69
69
|
import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
|
|
70
|
-
import { N as Bt } from "../NetWorthStore-
|
|
70
|
+
import { N as Bt } from "../NetWorthStore-Do1Gk8Te.mjs";
|
|
71
71
|
import { a as It } from "../SettingsStore-BcgS_Ohv.mjs";
|
|
72
72
|
import { addMonths as Nt } from "date-fns/addMonths";
|
|
73
73
|
import { getMonth as T } from "date-fns/getMonth";
|
|
74
|
-
import { i as
|
|
75
|
-
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";
|
|
76
76
|
import { alpha as Mt, lighten as G, darken as H } from "@mui/material";
|
|
77
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 || {});
|
|
78
78
|
const Ye = [
|
|
@@ -1340,23 +1340,23 @@ export {
|
|
|
1340
1340
|
So as WidgetContainerContext,
|
|
1341
1341
|
bo as WidgetContainerProvider,
|
|
1342
1342
|
rs as analyticsSession,
|
|
1343
|
-
|
|
1344
|
-
|
|
1343
|
+
ia as buildDynamicCopy,
|
|
1344
|
+
ca as buildPluralCopy,
|
|
1345
1345
|
io as formatCurrency,
|
|
1346
1346
|
Yr as formatDate,
|
|
1347
1347
|
co as formatOrdinal,
|
|
1348
1348
|
lo as formatPercentage,
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1349
|
+
aa as fromTimestampToMonthYear,
|
|
1350
|
+
Jo as getCategory,
|
|
1351
|
+
ta as getCategoryTotalsByParent,
|
|
1352
1352
|
ze as getClientTheme,
|
|
1353
1353
|
uo as getCurrencyCodes,
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1354
|
+
ea as getDetailedCategory,
|
|
1355
|
+
sa as getDetailedSubCategory,
|
|
1356
|
+
da as getLocale,
|
|
1357
|
+
ra as isIncome,
|
|
1358
1358
|
ho as isValidNumber,
|
|
1359
|
-
|
|
1359
|
+
zo as useAccountDisplayName,
|
|
1360
1360
|
wo as useAccountStore,
|
|
1361
1361
|
xo as useAppConfig,
|
|
1362
1362
|
Co as useBudgetsStore,
|
|
@@ -1374,18 +1374,17 @@ export {
|
|
|
1374
1374
|
ko as useGoalStore,
|
|
1375
1375
|
$o as useHelpStore,
|
|
1376
1376
|
Ro as useHoldingStore,
|
|
1377
|
-
|
|
1378
|
-
Po as
|
|
1379
|
-
Oo as
|
|
1380
|
-
Uo as
|
|
1381
|
-
Lo as
|
|
1382
|
-
Go as usePageView,
|
|
1377
|
+
jo as useInsightsEnabled,
|
|
1378
|
+
Po as useMerchantStore,
|
|
1379
|
+
Oo as useNetWorthStore,
|
|
1380
|
+
Uo as useNotificationStore,
|
|
1381
|
+
Lo as usePageView,
|
|
1383
1382
|
Ke as usePrevious,
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1383
|
+
Go as useRecurringTransactionsStore,
|
|
1384
|
+
Vo as useScreenSize,
|
|
1385
|
+
Ho as useSettingsStore,
|
|
1386
|
+
Fo as useTransactionStore,
|
|
1387
|
+
Wo as useTrendsStore,
|
|
1388
|
+
qo as useUserStore,
|
|
1389
|
+
Yo as useWidgetContainerProvider
|
|
1391
1390
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import h from "@mui/material/Unstable_Grid2";
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { f as A, u as v, d as C, b as M, a as
|
|
9
|
-
import
|
|
10
|
-
import { Icon as S, H1 as
|
|
11
|
-
import { useMediaQuery as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
6
|
+
import s from "@mui/material/Stack";
|
|
7
|
+
import k from "@mui/material/styles/useTheme";
|
|
8
|
+
import { f as A, u as v, d as C, b as M, a as B } from "../hooks-CE2TKk4a.mjs";
|
|
9
|
+
import D from "@mui/material/Paper";
|
|
10
|
+
import { Icon as S, H1 as G, P as F } from "@mxenabled/mxui";
|
|
11
|
+
import { useMediaQuery as W } from "@mui/system";
|
|
12
|
+
import I from "@mui/material/Box";
|
|
13
|
+
import T from "@mui/material/Button";
|
|
14
|
+
import $ from "@mui/material/IconButton";
|
|
15
15
|
import H from "@mui/material/Tooltip";
|
|
16
16
|
import R from "@mui/material/useMediaQuery";
|
|
17
|
-
import {
|
|
17
|
+
import { k as j, l as Q } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
|
-
const
|
|
20
|
-
const e =
|
|
21
|
-
appDataStore: { banner:
|
|
19
|
+
const E = _(() => {
|
|
20
|
+
const e = k(), {
|
|
21
|
+
appDataStore: { banner: c, loadBanner: i, user: d }
|
|
22
22
|
} = A();
|
|
23
23
|
return r.useEffect(() => {
|
|
24
24
|
i().finally();
|
|
25
|
-
}, [d]),
|
|
26
|
-
|
|
25
|
+
}, [d]), c?.image_url ? /* @__PURE__ */ t(
|
|
26
|
+
s,
|
|
27
27
|
{
|
|
28
28
|
sx: {
|
|
29
29
|
alignItems: "center",
|
|
@@ -33,7 +33,7 @@ const P = _(() => {
|
|
|
33
33
|
children: /* @__PURE__ */ t(
|
|
34
34
|
"a",
|
|
35
35
|
{
|
|
36
|
-
href:
|
|
36
|
+
href: c?.redirect_url,
|
|
37
37
|
rel: "noreferrer",
|
|
38
38
|
style: {
|
|
39
39
|
width: "100%"
|
|
@@ -43,7 +43,7 @@ const P = _(() => {
|
|
|
43
43
|
"img",
|
|
44
44
|
{
|
|
45
45
|
alt: "",
|
|
46
|
-
src:
|
|
46
|
+
src: c.image_url,
|
|
47
47
|
style: {
|
|
48
48
|
width: "100%",
|
|
49
49
|
height: "auto",
|
|
@@ -55,25 +55,25 @@ const P = _(() => {
|
|
|
55
55
|
)
|
|
56
56
|
}
|
|
57
57
|
) : null;
|
|
58
|
-
}),
|
|
59
|
-
const { common:
|
|
60
|
-
return /* @__PURE__ */ t(
|
|
61
|
-
|
|
58
|
+
}), P = ({ handleConnectClick: e }) => {
|
|
59
|
+
const { common: c } = v(), i = R("(max-width: 700px)");
|
|
60
|
+
return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(H, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
|
|
61
|
+
$,
|
|
62
62
|
{
|
|
63
63
|
"aria-controls": "add_accounts",
|
|
64
64
|
"aria-describedby": "add-accounts",
|
|
65
65
|
"aria-haspopup": !0,
|
|
66
|
-
"aria-label":
|
|
66
|
+
"aria-label": c.add_accounts,
|
|
67
67
|
color: "primary",
|
|
68
68
|
onClick: e,
|
|
69
69
|
children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
|
|
70
70
|
}
|
|
71
71
|
) }) : /* @__PURE__ */ t(
|
|
72
|
-
|
|
72
|
+
T,
|
|
73
73
|
{
|
|
74
74
|
"aria-controls": "add_accounts",
|
|
75
75
|
"aria-haspopup": !0,
|
|
76
|
-
"aria-label":
|
|
76
|
+
"aria-label": c.add_accounts,
|
|
77
77
|
onClick: e,
|
|
78
78
|
startIcon: /* @__PURE__ */ t(S, { name: "add", size: 24 }),
|
|
79
79
|
sx: {
|
|
@@ -82,44 +82,44 @@ const P = _(() => {
|
|
|
82
82
|
minWidth: "max-content"
|
|
83
83
|
},
|
|
84
84
|
variant: "text",
|
|
85
|
-
children:
|
|
85
|
+
children: c.add_accounts
|
|
86
86
|
}
|
|
87
87
|
) });
|
|
88
|
-
},
|
|
89
|
-
const [e,
|
|
88
|
+
}, N = _(P), O = () => {
|
|
89
|
+
const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = M(), { common: o, connect: l } = v(), { config: m } = B(), { isMobile: x } = z(), n = {
|
|
90
90
|
accountFilterOptionsCopy: {
|
|
91
|
-
accountTypeAccounts:
|
|
92
|
-
cancelButton:
|
|
93
|
-
filterButton:
|
|
94
|
-
filterButtonAria:
|
|
95
|
-
selectAllAccounts:
|
|
96
|
-
toggleAccountTypeAccounts:
|
|
97
|
-
unselectAllAccounts:
|
|
98
|
-
zeroStateButton:
|
|
99
|
-
zeroStateDescription:
|
|
100
|
-
zeroStateTitle:
|
|
91
|
+
accountTypeAccounts: o.account_filter.account_type_accounts,
|
|
92
|
+
cancelButton: o.cancel_button,
|
|
93
|
+
filterButton: o.filter_button,
|
|
94
|
+
filterButtonAria: o.account_filter.filter_button_generic_aria,
|
|
95
|
+
selectAllAccounts: o.account_filter.select_all_accounts,
|
|
96
|
+
toggleAccountTypeAccounts: o.account_filter.toggle_account_type_accounts,
|
|
97
|
+
unselectAllAccounts: o.account_filter.unselect_all_accounts,
|
|
98
|
+
zeroStateButton: o.account_filter.zero_state_button,
|
|
99
|
+
zeroStateDescription: o.account_filter.zero_state_description,
|
|
100
|
+
zeroStateTitle: o.account_filter.zero_state_title
|
|
101
101
|
},
|
|
102
|
-
title:
|
|
103
|
-
},
|
|
102
|
+
title: o.filter_button
|
|
103
|
+
}, w = () => {
|
|
104
104
|
const p = (/* @__PURE__ */ new Date()).getHours();
|
|
105
|
-
return p > 1 && p < 12 ?
|
|
105
|
+
return p > 1 && p < 12 ? o.good_morning : p >= 12 && p < 18 ? o.good_afternoon : o.good_evening;
|
|
106
106
|
};
|
|
107
|
-
return /* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */ t(
|
|
109
|
-
/* @__PURE__ */ s
|
|
110
|
-
/* @__PURE__ */ t(
|
|
111
|
-
/* @__PURE__ */ t(
|
|
107
|
+
return /* @__PURE__ */ a(r.Fragment, { children: [
|
|
108
|
+
/* @__PURE__ */ t(D, { sx: { gap: 12, mb: x ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
109
|
+
/* @__PURE__ */ a(s, { children: [
|
|
110
|
+
/* @__PURE__ */ t(G, { variant: i ? "H2" : "H1", children: w() }),
|
|
111
|
+
/* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
|
|
112
112
|
] }),
|
|
113
|
-
/* @__PURE__ */ s
|
|
114
|
-
|
|
113
|
+
/* @__PURE__ */ a(s, { flexDirection: "row", children: [
|
|
114
|
+
m.show_connections_widget_in_master && /* @__PURE__ */ t(N, { handleConnectClick: () => c(!0) }),
|
|
115
115
|
/* @__PURE__ */ t(
|
|
116
|
-
|
|
116
|
+
j,
|
|
117
117
|
{
|
|
118
118
|
accounts: d,
|
|
119
|
-
copy:
|
|
120
|
-
onConnectAccountClick:
|
|
121
|
-
onFilterClick: (
|
|
122
|
-
b(
|
|
119
|
+
copy: n,
|
|
120
|
+
onConnectAccountClick: m.show_connections_widget_in_master ? () => c(!0) : void 0,
|
|
121
|
+
onFilterClick: (y) => {
|
|
122
|
+
b(y);
|
|
123
123
|
},
|
|
124
124
|
selectedAccountGuids: g,
|
|
125
125
|
showAccountNumbers: !1,
|
|
@@ -134,50 +134,48 @@ const P = _(() => {
|
|
|
134
134
|
e && /* @__PURE__ */ t(
|
|
135
135
|
Q,
|
|
136
136
|
{
|
|
137
|
-
onClose: () =>
|
|
137
|
+
onClose: () => c(!1),
|
|
138
138
|
showConnectWidget: e,
|
|
139
|
-
title:
|
|
139
|
+
title: l.mini_title
|
|
140
140
|
}
|
|
141
141
|
)
|
|
142
142
|
] });
|
|
143
|
-
},
|
|
143
|
+
}, U = _(O);
|
|
144
144
|
var f = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(f || {});
|
|
145
|
-
const
|
|
146
|
-
const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts:
|
|
145
|
+
const q = ({ widgets: e, isLoading: c }) => {
|
|
146
|
+
const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts: o } = C();
|
|
147
147
|
r.useEffect(() => {
|
|
148
|
-
b(
|
|
149
|
-
}, [n]), r.useEffect(() => {
|
|
150
|
-
o || x?.("Dashboard");
|
|
148
|
+
b(o);
|
|
151
149
|
}, [o]);
|
|
152
|
-
const
|
|
153
|
-
() => e.filter((
|
|
150
|
+
const l = r.useMemo(
|
|
151
|
+
() => e.filter((n) => n.location !== f.Disabled).sort((n, w) => n.index - w.index),
|
|
154
152
|
[e]
|
|
155
|
-
),
|
|
156
|
-
() =>
|
|
157
|
-
[
|
|
158
|
-
),
|
|
159
|
-
() =>
|
|
160
|
-
[
|
|
153
|
+
), m = r.useMemo(
|
|
154
|
+
() => l.filter((n) => n.location === f.Main),
|
|
155
|
+
[l]
|
|
156
|
+
), x = r.useMemo(
|
|
157
|
+
() => l.filter((n) => n.location === f.RightSide),
|
|
158
|
+
[l]
|
|
161
159
|
);
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */ t(
|
|
166
|
-
|
|
160
|
+
return /* @__PURE__ */ a(h, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
161
|
+
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(U, {}) }),
|
|
162
|
+
/* @__PURE__ */ a(h, { lg: 8, xs: 12, children: [
|
|
163
|
+
/* @__PURE__ */ t(E, {}),
|
|
164
|
+
c && /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
|
|
167
165
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
168
166
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" }),
|
|
169
167
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
170
168
|
] }),
|
|
171
|
-
!
|
|
169
|
+
!c && /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: i ? m.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) : l.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) })
|
|
172
170
|
] }),
|
|
173
|
-
i && /* @__PURE__ */ t(h, { lg: 4, children:
|
|
171
|
+
i && /* @__PURE__ */ t(h, { lg: 4, children: c ? /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
|
|
174
172
|
/* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
|
|
175
173
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
176
174
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
177
|
-
] }) : /* @__PURE__ */ t(
|
|
175
|
+
] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: x.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) }) })
|
|
178
176
|
] });
|
|
179
|
-
},
|
|
177
|
+
}, dt = _(q);
|
|
180
178
|
export {
|
|
181
|
-
|
|
179
|
+
dt as Dashboard,
|
|
182
180
|
f as DashboardLocation
|
|
183
181
|
};
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,30 +8,30 @@ import { intervalToDuration as Te, formatDuration as Ae } from "date-fns";
|
|
|
8
8
|
import { addMonths as le } from "date-fns/addMonths";
|
|
9
9
|
import { fromUnixTime as se } from "date-fns/fromUnixTime";
|
|
10
10
|
import { getUnixTime as ce } from "date-fns/getUnixTime";
|
|
11
|
-
import { D as B, M as Ee, I as Ie } from "../DebtsStore-
|
|
12
|
-
import { a as Fr } from "../DebtsStore-
|
|
11
|
+
import { D as B, M as Ee, I as Ie } from "../DebtsStore-D4grpB4m.mjs";
|
|
12
|
+
import { a as Fr } from "../DebtsStore-D4grpB4m.mjs";
|
|
13
13
|
import { f as M, a as Be } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
14
14
|
import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
|
|
15
|
-
import { G as Me,
|
|
15
|
+
import { G as Me, x as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-CE2TKk4a.mjs";
|
|
16
16
|
import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { D as te } from "../Drawer-kEE73B87.mjs";
|
|
18
18
|
import { b as A } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as ke, u as Ne } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as ke, u as Ne } from "../AccountDetailsHeader-BZBsIKdF.mjs";
|
|
20
20
|
import Fe from "@mui/material/Card";
|
|
21
21
|
import Re from "@mui/material/CardContent";
|
|
22
22
|
import Le from "@mui/material/CardHeader";
|
|
23
23
|
import { LineChart as $e } from "@mui/x-charts";
|
|
24
24
|
import re from "@mui/material/Box";
|
|
25
25
|
import { useTheme as He } from "@mui/material/styles";
|
|
26
|
-
import { A as T, W as Oe } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as Oe } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
27
27
|
import de from "@mui/material/Tab";
|
|
28
28
|
import We from "@mui/material/Tabs";
|
|
29
29
|
import _e from "@mui/material/List";
|
|
30
30
|
import j from "@mui/material/Divider";
|
|
31
|
-
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-
|
|
31
|
+
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-BsxcvNEF.mjs";
|
|
32
32
|
import Xe from "@mui/material/TextField";
|
|
33
|
-
import { L as J } from "../ListItemAction-
|
|
34
|
-
import { C as ae } from "../CurrencyInput-
|
|
33
|
+
import { L as J } from "../ListItemAction-DSrYDGAP.mjs";
|
|
34
|
+
import { C as ae } from "../CurrencyInput-C4xNRL2W.mjs";
|
|
35
35
|
import pe from "@mui/material/Alert";
|
|
36
36
|
import me from "@mui/material/AlertTitle";
|
|
37
37
|
import he from "@mui/material/Paper";
|
|
@@ -39,7 +39,7 @@ import { Error as Ve, CheckCircle as ye } from "@mxenabled/mx-icons";
|
|
|
39
39
|
import { T as ue } from "../TabContentContainer-j01JYR_7.mjs";
|
|
40
40
|
import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
|
|
41
41
|
import { H as z } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as Ke } from "../ConnectDrawer-
|
|
42
|
+
import { f as Ke } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
43
43
|
import fe from "@mui/material/Button";
|
|
44
44
|
import Ue from "@mui/material/IconButton";
|
|
45
45
|
import qe from "@mui/material/ListItem";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fromUnixTime as d } from "date-fns/fromUnixTime";
|
|
2
2
|
import { c as u } from "./Category-CevNQ03n.mjs";
|
|
3
3
|
import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
|
|
4
|
-
import { T as g } from "./User-
|
|
4
|
+
import { T as g } from "./User-DaJAQ09j.mjs";
|
|
5
5
|
function f(e) {
|
|
6
6
|
return new Set(
|
|
7
7
|
e.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
|
|
@@ -17,20 +17,20 @@ import Ne from "@mui/material/ListItemText";
|
|
|
17
17
|
import { b } from "../Localization-2MODESHW.mjs";
|
|
18
18
|
import * as ce from "d3";
|
|
19
19
|
import { observer as I } from "mobx-react-lite";
|
|
20
|
-
import { u as S, b as z,
|
|
20
|
+
import { u as S, b as z, w as $, o as Y, d as fe, i as ye, m as Ke } from "../hooks-CE2TKk4a.mjs";
|
|
21
21
|
import { L as N } from "../Loader-DUaFpDGv.mjs";
|
|
22
22
|
import { F as No, a as Ko } from "../FinstrongStore-F2c607dj.mjs";
|
|
23
23
|
import q from "@mui/material/Button";
|
|
24
24
|
import J from "@mui/material/Card";
|
|
25
|
-
import { L as be } from "../LineChart-
|
|
26
|
-
import {
|
|
25
|
+
import { L as be } from "../LineChart-B35qvXik.mjs";
|
|
26
|
+
import { l as xe } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
27
27
|
import Xe from "@mui/material/Accordion";
|
|
28
28
|
import je from "@mui/material/AccordionDetails";
|
|
29
29
|
import Ue from "@mui/material/AccordionSummary";
|
|
30
30
|
import Ve from "@mui/material/CardHeader";
|
|
31
31
|
import { u as Ye } from "../useDimensions-27p2evRx.mjs";
|
|
32
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
32
|
+
import { C as qe } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
|
|
33
|
+
import { R as Je } from "../RecurringSettings-BVOt46uV.mjs";
|
|
34
34
|
import Qe from "@mui/material/TextField";
|
|
35
35
|
import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as Ze } from "../Dialog-CWW597AF.mjs";
|
|
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
|
|
|
48
48
|
import lt from "@mui/lab/TimelineContent";
|
|
49
49
|
import dt from "@mui/lab/TimelineDot";
|
|
50
50
|
import pt from "@mui/lab/TimelineSeparator";
|
|
51
|
-
import { W as mt } from "../WidgetContainer-
|
|
51
|
+
import { W as mt } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
52
52
|
var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
|
|
53
53
|
const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
54
54
|
Be,
|