@mx-cartographer/experiences 7.1.3 → 7.1.4-ram2-alpha-finstrong-credit-score-graph-check
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-8IUM_CLv.mjs → Account-CpRTVIHg.mjs} +1 -1
- package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-6aPMU6Hp.mjs} +10 -10
- package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-BkUZYoV8.mjs} +8 -8
- package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
- package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
- package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-DTfpr3h0.mjs} +26 -15
- package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-D0BmvNxn.mjs} +1 -1
- package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DomNyubP.mjs} +3 -3
- package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
- package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
- package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer--gJHyp-S.mjs} +2 -2
- package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
- package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-9aR2sTJQ.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/Drawer-BEtCk82g.mjs +163 -0
- package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
- package/dist/FinstrongStore-CC4SrBjA.mjs +436 -0
- package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
- package/dist/{Help-CzBAsKA2.mjs → Help-BZ8pIkkR.mjs} +2 -2
- package/dist/LineChart-CE3oLBQ0.mjs +566 -0
- package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
- package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-BaNgfwr5.mjs} +34 -32
- package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
- package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
- package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
- package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
- package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
- package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-DE4T4yQy.mjs} +4 -4
- package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
- package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
- package/dist/SpendingLegend-D24CEkL3.mjs +170 -0
- package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
- package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-D8MKYDMb.mjs} +3 -3
- package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
- package/dist/{User-DaJAQ09j.mjs → User-BthIKO4w.mjs} +2 -2
- package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-DJA1bxLn.mjs} +4 -4
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/index.es.js +14 -14
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +287 -295
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +2 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +2 -0
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/index.es.js +33 -33
- package/dist/common/types/Finstrong.d.ts +50 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +57 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +2 -1
- package/dist/finstrong/components/CreditOverTimeGraph.d.ts +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +8 -0
- package/dist/finstrong/index.es.js +2910 -1028
- package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +65 -1
- package/dist/goals/index.es.js +14 -14
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-CE2TKk4a.mjs → hooks-CBST3rkm.mjs} +3 -3
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +34 -34
- package/dist/notifications/index.es.js +4 -4
- package/dist/recurringtransactions/index.es.js +13 -13
- package/dist/settings/index.es.js +8 -8
- package/dist/spending/index.es.js +222 -373
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +15 -15
- package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
- package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/LineChart-B35qvXik.mjs +0 -541
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -11,18 +11,18 @@ import M from "@mui/material/Divider";
|
|
|
11
11
|
import v from "@mui/material/ListItem";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
13
13
|
import w from "@mui/material/ListItemText";
|
|
14
|
-
import { u as D } from "./AccountDetailsHeader-
|
|
15
|
-
import { d as z, u as E, g as O, h as X } from "./hooks-
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
18
|
-
import {
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-BkUZYoV8.mjs";
|
|
15
|
+
import { d as z, u as E, g as O, h as X } from "./hooks-CBST3rkm.mjs";
|
|
16
|
+
import { A as at } from "./AccountListItem-CTT5m4qx.mjs";
|
|
17
|
+
import { A as k } from "./WidgetContainer-DJA1bxLn.mjs";
|
|
18
|
+
import { D as V, f as B, a as K } from "./Dialog-BPTr3qHE.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
20
|
-
import { D as J } from "./Drawer-
|
|
20
|
+
import { D as J } from "./Drawer-BEtCk82g.mjs";
|
|
21
21
|
import R from "@mui/material/ListItemAvatar";
|
|
22
22
|
import ct from "@mui/material/Stack";
|
|
23
23
|
import st from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
|
|
25
|
-
import { n as m, N as Q, l as Z, F as P } from "./ConnectDrawer-
|
|
25
|
+
import { n as m, N as Q, l as Z, F as P } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
26
26
|
import { fromUnixTime as lt } from "date-fns/fromUnixTime";
|
|
27
27
|
import { isToday as dt } from "date-fns/isToday";
|
|
28
28
|
import { isYesterday as ut } from "date-fns/isYesterday";
|
|
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
|
|
|
37
37
|
import At from "@mui/material/MenuItem";
|
|
38
38
|
import bt from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
|
-
import { C as St } from "./CurrencyInput-
|
|
41
|
-
import { b as Dt } from "./AccountFields-
|
|
40
|
+
import { C as St } from "./CurrencyInput-CC5cwVit.mjs";
|
|
41
|
+
import { b as Dt } from "./AccountFields-DOLjKu5l.mjs";
|
|
42
42
|
import Et from "@mui/material/Alert";
|
|
43
43
|
import yt from "@mui/material/AlertTitle";
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-DRlrltGq.mjs";
|
|
48
48
|
import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -2,20 +2,20 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as p } from "mobx-react-lite";
|
|
3
3
|
import d from "@mui/material/Stack";
|
|
4
4
|
import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
|
|
5
|
-
import { g as v } from "./AccountFields-
|
|
5
|
+
import { g as v } from "./AccountFields-DOLjKu5l.mjs";
|
|
6
6
|
import h from "react";
|
|
7
|
-
import { G as E, d as y, m as S, u as _, f as G } from "./hooks-
|
|
7
|
+
import { G as E, d as y, m as S, u as _, f as G } from "./hooks-CBST3rkm.mjs";
|
|
8
8
|
import O from "@mui/material/Card";
|
|
9
9
|
import P from "@mui/material/CardContent";
|
|
10
10
|
import M from "@mui/material/CardHeader";
|
|
11
11
|
import { useTheme as B } from "@mui/material/styles";
|
|
12
|
-
import { g as H, a as U, b as j } from "./SpendingData-
|
|
13
|
-
import { L as z } from "./LineChart-
|
|
14
|
-
import { I as f, P as g, S as C } from "./Account-
|
|
15
|
-
import { A } from "./ConnectDrawer-
|
|
12
|
+
import { g as H, a as U, b as j } from "./SpendingData-BuJ03S9d.mjs";
|
|
13
|
+
import { L as z } from "./LineChart-CE3oLBQ0.mjs";
|
|
14
|
+
import { I as f, P as g, S as C } from "./Account-CpRTVIHg.mjs";
|
|
15
|
+
import { A } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
16
16
|
import { L as Y } from "./Loader-DUaFpDGv.mjs";
|
|
17
|
-
import { f as R,
|
|
18
|
-
import { u as k } from "./useAccountDisplayName-
|
|
17
|
+
import { f as R, a as $ } from "./Dialog-BPTr3qHE.mjs";
|
|
18
|
+
import { u as k } from "./useAccountDisplayName-DH1CuQ9R.mjs";
|
|
19
19
|
import { f as F } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
20
20
|
const b = () => {
|
|
21
21
|
if (!h.useContext(E))
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
3
|
-
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-
|
|
4
|
-
import { i as T, u as
|
|
3
|
+
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
4
|
+
import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-D0BmvNxn.mjs";
|
|
5
5
|
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
|
-
import { f as o,
|
|
7
|
+
import { f as o, a as f } from "./Dialog-BPTr3qHE.mjs";
|
|
8
8
|
const w = (l, e) => {
|
|
9
9
|
const r = [
|
|
10
10
|
{
|
|
@@ -54,7 +54,7 @@ const w = (l, e) => {
|
|
|
54
54
|
valueFormatter: (t) => a.find((n) => n.value === t)?.label
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
if (
|
|
57
|
+
if (A(l)) {
|
|
58
58
|
let a = e.interest_rate, t = "interest_rate";
|
|
59
59
|
l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
|
|
60
60
|
event: "account_details_click_interest_rate",
|
|
@@ -66,7 +66,7 @@ const w = (l, e) => {
|
|
|
66
66
|
valueFormatter: (n) => b(n) ? N(n / 100) : n
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
return
|
|
69
|
+
return D(l) && (r.push({
|
|
70
70
|
label: e.minimum_payment,
|
|
71
71
|
name: "minimum_payment",
|
|
72
72
|
placeholder: i(e.enter_value, e.minimum_payment),
|
|
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-
|
|
15
|
-
import { d } from "./ConnectDrawer-
|
|
16
|
-
import { u as $ } from "./hooks-
|
|
13
|
+
import { g as T } from "./AccountFields-DOLjKu5l.mjs";
|
|
14
|
+
import { u as X } from "./useAccountDisplayName-DH1CuQ9R.mjs";
|
|
15
|
+
import { d } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
16
|
+
import { u as $ } from "./hooks-CBST3rkm.mjs";
|
|
17
17
|
import { f as k } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
18
18
|
const w = {
|
|
19
19
|
gridRow: 1,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { makeAutoObservable as
|
|
2
|
-
import { i as f } from "./User-
|
|
1
|
+
import { makeAutoObservable as _, runInAction as a } from "mobx";
|
|
2
|
+
import { i as f } from "./User-BthIKO4w.mjs";
|
|
3
3
|
import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
|
|
4
|
-
import { A as c, h as d, d as h, E as y, i as I, j as
|
|
5
|
-
class
|
|
4
|
+
import { A as c, h as d, d as h, E as y, i as I, j as C } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
5
|
+
class A {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, e, n) {
|
|
8
8
|
this.fetchInstance = new p(t, e, void 0, n);
|
|
@@ -17,26 +17,26 @@ class _ {
|
|
|
17
17
|
refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
|
|
18
18
|
updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
|
|
19
19
|
}
|
|
20
|
-
class
|
|
20
|
+
class b {
|
|
21
21
|
isLoading = !1;
|
|
22
22
|
selectedAccount = {};
|
|
23
23
|
selectedMember = {};
|
|
24
24
|
constructor() {
|
|
25
|
-
|
|
25
|
+
_(this);
|
|
26
26
|
}
|
|
27
27
|
setIsLoading = (t) => this.isLoading = t;
|
|
28
28
|
setSelectedAccount = (t) => this.selectedAccount = t;
|
|
29
29
|
setSelectedMember = (t) => this.selectedMember = t;
|
|
30
30
|
}
|
|
31
|
-
class
|
|
31
|
+
class w {
|
|
32
32
|
globalStore;
|
|
33
|
-
api = new
|
|
33
|
+
api = new A("/", "");
|
|
34
34
|
accounts = [];
|
|
35
35
|
institutions = [];
|
|
36
36
|
members = [];
|
|
37
37
|
uiStore;
|
|
38
38
|
constructor(t) {
|
|
39
|
-
this.globalStore = t, this.uiStore = new
|
|
39
|
+
this.globalStore = t, this.uiStore = new b(), this.api = new A(t.endpoint, t.sessionToken, t.onError), _(this);
|
|
40
40
|
}
|
|
41
41
|
loadAccountData = async ({
|
|
42
42
|
accounts: t,
|
|
@@ -111,6 +111,17 @@ class T {
|
|
|
111
111
|
get visibleSavingsAccounts() {
|
|
112
112
|
return this.savingsAccounts.filter((t) => !t.is_hidden);
|
|
113
113
|
}
|
|
114
|
+
get savingsAndCheckingAccountsBalance() {
|
|
115
|
+
return this.savingsAndCheckingAccounts.reduce(
|
|
116
|
+
(e, n) => e + (n?.balance || 0),
|
|
117
|
+
0
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
get savingsAndCheckingAccounts() {
|
|
121
|
+
return this.accounts.filter(
|
|
122
|
+
(e) => e.account_type === c.SAVINGS || e.account_type === c.CHECKING
|
|
123
|
+
);
|
|
124
|
+
}
|
|
114
125
|
addAccount = async (t) => {
|
|
115
126
|
try {
|
|
116
127
|
const e = await this.api.createAccount(t);
|
|
@@ -128,18 +139,18 @@ class T {
|
|
|
128
139
|
);
|
|
129
140
|
for (const r of t) {
|
|
130
141
|
if (s && r.member_is_managed_by_user) continue;
|
|
131
|
-
const o = this.members.find((
|
|
142
|
+
const o = this.members.find((m) => m.guid === r.member_guid);
|
|
132
143
|
if (!o) continue;
|
|
133
144
|
let u = h.Connected;
|
|
134
|
-
y.includes(o.connection_status) ? u = h.Error : I.includes(o.connection_status) ? u = h.Processing :
|
|
135
|
-
const
|
|
145
|
+
y.includes(o.connection_status) ? u = h.Error : I.includes(o.connection_status) ? u = h.Processing : C.includes(o.connection_status) && (u = h.RequiresMfa);
|
|
146
|
+
const g = [
|
|
136
147
|
r.user_name || r.feed_name || "",
|
|
137
148
|
r.account_number ? `*${r.account_number}` : ""
|
|
138
149
|
].join(" ").trim();
|
|
139
150
|
e.push({
|
|
140
151
|
...r,
|
|
141
152
|
connectionStatus: u,
|
|
142
|
-
institutionName:
|
|
153
|
+
institutionName: g,
|
|
143
154
|
memberName: o.name
|
|
144
155
|
}), o.connectionStatus = u;
|
|
145
156
|
}
|
|
@@ -238,6 +249,6 @@ class T {
|
|
|
238
249
|
};
|
|
239
250
|
}
|
|
240
251
|
export {
|
|
241
|
-
|
|
242
|
-
|
|
252
|
+
A,
|
|
253
|
+
w as a
|
|
243
254
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _ } from "./ConnectDrawer-
|
|
1
|
+
import { A as _ } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
2
2
|
const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
|
|
3
3
|
export {
|
|
4
4
|
s as a,
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as g } from "mobx-react-lite";
|
|
3
3
|
import C from "react";
|
|
4
4
|
import $ from "@mui/material/Stack";
|
|
5
|
-
import { G as K, m as y, u as b, g as D, b as U } from "./hooks-
|
|
5
|
+
import { G as K, m as y, u as b, g as D, b as U } from "./hooks-CBST3rkm.mjs";
|
|
6
6
|
import Y from "@mui/material/List";
|
|
7
7
|
import V from "@mui/material/Paper";
|
|
8
8
|
import v from "@mui/material/Divider";
|
|
@@ -16,13 +16,13 @@ import { Text as B, TextField as q, CategoryIcon as H } from "@mxenabled/mxui";
|
|
|
16
16
|
import J from "@mui/material/Collapse";
|
|
17
17
|
import Q from "@mui/material/DialogContent";
|
|
18
18
|
import { b as S } from "./Localization-2MODESHW.mjs";
|
|
19
|
-
import {
|
|
19
|
+
import { D as Z } from "./Dialog-BPTr3qHE.mjs";
|
|
20
20
|
import ee from "@mui/material/Box";
|
|
21
21
|
import te from "@mui/material/Chip";
|
|
22
22
|
import I from "@mui/material/IconButton";
|
|
23
23
|
import { S as oe } from "./SearchBox-B2_zLv8-.mjs";
|
|
24
24
|
import { L as k } from "./Loader-DUaFpDGv.mjs";
|
|
25
|
-
import { D as ae } from "./Drawer-
|
|
25
|
+
import { D as ae } from "./Drawer-BEtCk82g.mjs";
|
|
26
26
|
const h = () => {
|
|
27
27
|
if (!C.useContext(K))
|
|
28
28
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
@@ -3,7 +3,7 @@ import { getUnixTime as r } from "date-fns/getUnixTime";
|
|
|
3
3
|
import { subMonths as g } from "date-fns/subMonths";
|
|
4
4
|
import { startOfMonth as h } from "date-fns/startOfMonth";
|
|
5
5
|
import { endOfMonth as d } from "date-fns/endOfMonth";
|
|
6
|
-
import { a as T, g as m } from "./CategoryUtil-
|
|
6
|
+
import { a as T, g as m } from "./CategoryUtil-DUM8NuGO.mjs";
|
|
7
7
|
import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
|
|
8
8
|
import { b as f, c as w } from "./Category-CevNQ03n.mjs";
|
|
9
9
|
class y {
|
|
@@ -4,7 +4,7 @@ import { startOfToday as M } from "date-fns/startOfToday";
|
|
|
4
4
|
import { subMonths as T } from "date-fns/subMonths";
|
|
5
5
|
import { CategoryIconList as C } from "@mxenabled/mxui";
|
|
6
6
|
import { C as N, a as O, b } from "./Category-CevNQ03n.mjs";
|
|
7
|
-
import { f as D,
|
|
7
|
+
import { f as D, a as E } from "./Dialog-BPTr3qHE.mjs";
|
|
8
8
|
const R = 3, d = 12, Y = (n, r, t) => n.filter((e) => !e.parent_guid).map(
|
|
9
9
|
(e) => _(
|
|
10
10
|
e,
|
|
@@ -14,14 +14,14 @@ import EE from "@mui/material/ListItemText";
|
|
|
14
14
|
import IE from "@mui/material/Popover";
|
|
15
15
|
import F from "@mui/material/Stack";
|
|
16
16
|
import w from "@mui/material/Checkbox";
|
|
17
|
-
import { u as o, f as _E, d as NE, e as rE } from "./hooks-
|
|
17
|
+
import { u as o, f as _E, d as NE, e as rE } from "./hooks-CBST3rkm.mjs";
|
|
18
18
|
import { b as W } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { u as RE } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { observer as Q } from "mobx-react-lite";
|
|
21
21
|
import iE from "@mui/material/styles/useTheme";
|
|
22
22
|
import { ConnectWidget as aE } from "@mxenabled/web-widget-sdk";
|
|
23
23
|
import lE from "@mui/material/CircularProgress";
|
|
24
|
-
import { D as OE } from "./Drawer-
|
|
24
|
+
import { D as OE } from "./Drawer-BEtCk82g.mjs";
|
|
25
25
|
var T = /* @__PURE__ */ ((E) => (E[E.ANY = 0] = "ANY", E[E.CHECKING = 1] = "CHECKING", E[E.SAVINGS = 2] = "SAVINGS", E[E.LOAN = 3] = "LOAN", E[E.CREDIT_CARD = 4] = "CREDIT_CARD", E[E.INVESTMENT = 5] = "INVESTMENT", E[E.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", E[E.MORTGAGE = 7] = "MORTGAGE", E[E.PROPERTY = 8] = "PROPERTY", E[E.CASH = 9] = "CASH", E[E.INSURANCE = 10] = "INSURANCE", E[E.PREPAID = 11] = "PREPAID", E[E.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", E[E.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", E))(T || {}), sE = /* @__PURE__ */ ((E) => (E[E.NONE = 0] = "NONE", E[E.MONEY_MARKET = 1] = "MONEY_MARKET", E[E.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", E[E.AUTO = 3] = "AUTO", E[E.STUDENT = 4] = "STUDENT", E[E.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", E[E.PERSONAL = 6] = "PERSONAL", E[E.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", E[E.HOME_EQUITY = 8] = "HOME_EQUITY", E[E.PLAN_401_K = 9] = "PLAN_401_K", E[E.PLAN_403_B = 10] = "PLAN_403_B", E[E.PLAN_529 = 11] = "PLAN_529", E[E.IRA = 12] = "IRA", E[E.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", E[E.ROTH_IRA = 14] = "ROTH_IRA", E[E.TAXABLE = 15] = "TAXABLE", E[E.NON_TAXABLE = 16] = "NON_TAXABLE", E[E.BROKERAGE = 17] = "BROKERAGE", E[E.TRUST = 18] = "TRUST", E[E.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", E[E.PLAN_457 = 20] = "PLAN_457", E[E.PENSION = 21] = "PENSION", E[E.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", E[E.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", E[E.SIMPLE_IRA = 24] = "SIMPLE_IRA", E[E.BOAT = 25] = "BOAT", E[E.POWERSPORTS = 26] = "POWERSPORTS", E[E.RV = 27] = "RV", E[E.HELOC = 28] = "HELOC", E[E.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", E[E.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", E[E.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", E[E.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", E[E.DISABILITY = 33] = "DISABILITY", E[E.HEALTH = 34] = "HEALTH", E[E.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", E[E.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", E[E.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", E[E.TERM_LIFE = 38] = "TERM_LIFE", E[E.WHOLE_LIFE = 39] = "WHOLE_LIFE", E[E.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", E[E.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", E[E.HSA = 42] = "HSA", E[E.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", E[E.INDIVIDUAL = 44] = "INDIVIDUAL", E[E.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", E[E.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", E[E.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", E[E.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", E[E.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", E[E.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", E[E.PLAN_401_A = 51] = "PLAN_401_A", E[E.SARSEP_IRA = 52] = "SARSEP_IRA", E[E.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", E[E.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", E[E.SEPP_IRA = 55] = "SEPP_IRA", E[E.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", E[E.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", E[E.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", E[E.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", E[E.COVERDELL = 60] = "COVERDELL", E[E.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", E[E.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", E[E.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", E[E.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", E[E.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", E[E.CUSTODIAL = 66] = "CUSTODIAL", E[E.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", E[E.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", E[E.EDUCATIONAL = 69] = "EDUCATIONAL", E[E.ESTATE = 70] = "ESTATE", E[E.EXECUTOR = 71] = "EXECUTOR", E[E.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", E[E.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", E[E.HRA = 74] = "HRA", E[E.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", E[E.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", E[E.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", E[E.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", E[E.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", E[E.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", E[E.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", E[E.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", E[E.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", E[E.LIVING_TRUST = 84] = "LIVING_TRUST", E[E.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", E[E.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", E[E.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", E[E.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", E[E.PARTNERSHIP = 89] = "PARTNERSHIP", E[E.PLAN_409_A = 90] = "PLAN_409_A", E[E.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", E[E.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", E[E.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", E[E.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", E[E.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", E[E.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", E[E.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", E[E.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", E[E.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", E[E.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", E[E.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", E[E.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", E[E.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", E[E.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", E[E.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", E[E.HSA_SAVINGS = 106] = "HSA_SAVINGS", E[E.HSA_CHECKING = 107] = "HSA_CHECKING", E))(sE || {}), LE = /* @__PURE__ */ ((E) => (E[E.REAL_ESTATE = 0] = "REAL_ESTATE", E[E.VEHICLE = 1] = "VEHICLE", E[E.ART = 2] = "ART", E[E.JEWELRY = 3] = "JEWELRY", E[E.FURNITURE = 4] = "FURNITURE", E[E.APPLIANCES = 5] = "APPLIANCES", E[E.COMPUTER = 6] = "COMPUTER", E[E.ELECTRONICS = 7] = "ELECTRONICS", E[E.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", E[E.MISCELLANEOUS = 9] = "MISCELLANEOUS", E))(LE || {}), eE = /* @__PURE__ */ ((E) => (E[E.CREATED = 0] = "CREATED", E[E.PREVENTED = 1] = "PREVENTED", E[E.DENIED = 2] = "DENIED", E[E.CHALLENGED = 3] = "CHALLENGED", E[E.REJECTED = 4] = "REJECTED", E[E.LOCKED = 5] = "LOCKED", E[E.CONNECTED = 6] = "CONNECTED", E[E.IMPEDED = 7] = "IMPEDED", E[E.RECONNECTED = 8] = "RECONNECTED", E[E.DEGRADED = 9] = "DEGRADED", E[E.DISCONNECTED = 10] = "DISCONNECTED", E[E.DISCONTINUED = 11] = "DISCONTINUED", E[E.CLOSED = 12] = "CLOSED", E[E.DELAYED = 13] = "DELAYED", E[E.FAILED = 14] = "FAILED", E[E.UPDATED = 15] = "UPDATED", E[E.DISABLED = 16] = "DISABLED", E[E.IMPORTED = 17] = "IMPORTED", E[E.RESUMED = 18] = "RESUMED", E[E.EXPIRED = 19] = "EXPIRED", E[E.IMPAIRED = 20] = "IMPAIRED", E[E.PENDING = 21] = "PENDING", E))(eE || {});
|
|
26
26
|
const bE = [
|
|
27
27
|
0,
|
|
@@ -3,9 +3,9 @@ import r from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as D } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, c, M as i } from "./ConnectDrawer-
|
|
7
|
-
import { d as b, e as w, u as _ } from "./hooks-
|
|
8
|
-
import { D as x } from "./Drawer-
|
|
6
|
+
import { C as a, c, M as i } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
7
|
+
import { d as b, e as w, u as _ } from "./hooks-CBST3rkm.mjs";
|
|
8
|
+
import { D as x } from "./Drawer-BEtCk82g.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
onClose: l,
|
|
11
11
|
showConnectionsWidget: o,
|
|
@@ -5,7 +5,7 @@ import { v4 as B } from "uuid";
|
|
|
5
5
|
import { useTokens as O, TextField as W, P as p } from "@mxenabled/mxui";
|
|
6
6
|
import { b as _, g as d } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as j, C as D, f as y, M as C } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
8
|
-
import { u as F } from "./hooks-
|
|
8
|
+
import { u as F } from "./hooks-CBST3rkm.mjs";
|
|
9
9
|
const G = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: g,
|
|
@@ -7,8 +7,8 @@ import { isBefore as n } from "date-fns/isBefore";
|
|
|
7
7
|
import { nextDay as c } from "date-fns/nextDay";
|
|
8
8
|
import { setDate as d } from "date-fns/setDate";
|
|
9
9
|
import { startOfToday as o } from "date-fns/startOfToday";
|
|
10
|
-
import { fromUnixTime as
|
|
11
|
-
import { f as
|
|
10
|
+
import { fromUnixTime as i } from "date-fns/fromUnixTime";
|
|
11
|
+
import { f as D, a as f } from "./Dialog-BPTr3qHE.mjs";
|
|
12
12
|
const x = (t) => {
|
|
13
13
|
const e = y(t);
|
|
14
14
|
let r = c(t, e);
|
|
@@ -34,7 +34,7 @@ const x = (t) => {
|
|
|
34
34
|
}, Q = (t) => {
|
|
35
35
|
const e = p(t);
|
|
36
36
|
return a(e, 1);
|
|
37
|
-
}, w = (t) => l(t, 1), F = (t) => i(
|
|
37
|
+
}, w = (t) => l(t, 1), F = (t) => D(i(t), f.DAY_OF_WEEK_MONTH_DAY), H = (t) => t ? D(i(t), f.MONTH_YEAR) : "";
|
|
38
38
|
export {
|
|
39
39
|
Q as a,
|
|
40
40
|
p as b,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as p } from "./ConnectDrawer-
|
|
3
|
+
import { A as p } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const b = {
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import u from "@mui/material/Box";
|
|
3
|
+
import s from "@mui/material/Stack";
|
|
4
|
+
import { H2 as y, Drawer as B } from "@mxenabled/mxui";
|
|
5
|
+
import x from "@mui/material/Button";
|
|
6
|
+
import v from "@mui/material/IconButton";
|
|
7
|
+
import { ArrowBack as j } from "@mxenabled/mx-icons";
|
|
8
|
+
const F = ({
|
|
9
|
+
footerStyles: e = {},
|
|
10
|
+
hasSecondaryAction: a = !0,
|
|
11
|
+
isPrimaryDisabled: t,
|
|
12
|
+
onPrimaryAction: o,
|
|
13
|
+
onSecondaryAction: n,
|
|
14
|
+
primaryButtonProps: l = {},
|
|
15
|
+
primaryColor: c = "primary",
|
|
16
|
+
primaryText: i = "Save",
|
|
17
|
+
secondaryColor: d = "primary",
|
|
18
|
+
secondaryText: p = "Cancel"
|
|
19
|
+
}) => /* @__PURE__ */ h(
|
|
20
|
+
s,
|
|
21
|
+
{
|
|
22
|
+
sx: {
|
|
23
|
+
bgcolor: "background.paper",
|
|
24
|
+
flexDirection: "row",
|
|
25
|
+
gap: 16,
|
|
26
|
+
justifyContent: "flex-end",
|
|
27
|
+
p: 24,
|
|
28
|
+
...e
|
|
29
|
+
},
|
|
30
|
+
children: [
|
|
31
|
+
a && /* @__PURE__ */ r(
|
|
32
|
+
x,
|
|
33
|
+
{
|
|
34
|
+
color: d,
|
|
35
|
+
onClick: n,
|
|
36
|
+
variant: o ? "outlined" : "contained",
|
|
37
|
+
children: p
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
o && /* @__PURE__ */ r(
|
|
41
|
+
x,
|
|
42
|
+
{
|
|
43
|
+
...l,
|
|
44
|
+
color: c,
|
|
45
|
+
disabled: t,
|
|
46
|
+
onClick: o,
|
|
47
|
+
variant: "contained",
|
|
48
|
+
children: i
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
), H = ({
|
|
54
|
+
ariaLabelClose: e,
|
|
55
|
+
onClose: a,
|
|
56
|
+
shouldShowBorders: t,
|
|
57
|
+
shouldShowShadow: o,
|
|
58
|
+
title: n
|
|
59
|
+
}) => /* @__PURE__ */ h(
|
|
60
|
+
s,
|
|
61
|
+
{
|
|
62
|
+
"aria-level": 1,
|
|
63
|
+
direction: "row",
|
|
64
|
+
role: "heading",
|
|
65
|
+
sx: {
|
|
66
|
+
alignItems: "center",
|
|
67
|
+
backgroundColor: "background.paper",
|
|
68
|
+
...t && {
|
|
69
|
+
borderBottom: 1,
|
|
70
|
+
borderTop: 1,
|
|
71
|
+
borderColor: "border.light"
|
|
72
|
+
},
|
|
73
|
+
...o && {
|
|
74
|
+
boxShadow: "0px 2px 8px 0px #6A73811F"
|
|
75
|
+
},
|
|
76
|
+
padding: "8px 8px 8px 8px"
|
|
77
|
+
},
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ r(v, { "aria-label": e, color: "primary", onClick: a, children: /* @__PURE__ */ r(j, { color: "primary", sx: { fontSize: 22 } }) }),
|
|
80
|
+
/* @__PURE__ */ r(
|
|
81
|
+
u,
|
|
82
|
+
{
|
|
83
|
+
sx: {
|
|
84
|
+
flexGrow: 1,
|
|
85
|
+
margin: "auto",
|
|
86
|
+
textAlign: "center"
|
|
87
|
+
},
|
|
88
|
+
children: /* @__PURE__ */ r(y, { bold: !0, variant: "Body", children: n })
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ r(u, { width: "44px" })
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
), I = ({
|
|
95
|
+
ariaLabelClose: e = "Close",
|
|
96
|
+
children: a,
|
|
97
|
+
footerStyles: t = {},
|
|
98
|
+
hasSecondaryAction: o = !0,
|
|
99
|
+
id: n,
|
|
100
|
+
isOpen: l,
|
|
101
|
+
isPrimaryDisabled: c,
|
|
102
|
+
onClose: i,
|
|
103
|
+
onPrimaryAction: d,
|
|
104
|
+
onSecondaryAction: p,
|
|
105
|
+
primaryButtonProps: b,
|
|
106
|
+
primaryColor: m = "primary",
|
|
107
|
+
primaryText: g,
|
|
108
|
+
secondaryColor: w = "secondary",
|
|
109
|
+
secondaryText: f,
|
|
110
|
+
shouldShowHeaderBorders: k = !0,
|
|
111
|
+
shouldShowHeaderShadow: C = !1,
|
|
112
|
+
title: D,
|
|
113
|
+
...S
|
|
114
|
+
}) => /* @__PURE__ */ r(
|
|
115
|
+
B,
|
|
116
|
+
{
|
|
117
|
+
id: n,
|
|
118
|
+
isOpen: l,
|
|
119
|
+
onClose: i,
|
|
120
|
+
sx: {
|
|
121
|
+
"& .MuiDrawer-paper": {
|
|
122
|
+
backgroundColor: "background.default",
|
|
123
|
+
borderRadius: 0
|
|
124
|
+
},
|
|
125
|
+
height: "100%",
|
|
126
|
+
"& .MuiToolbar-root": {
|
|
127
|
+
backgroundColor: "background.paper"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
...S,
|
|
131
|
+
children: /* @__PURE__ */ h(s, { height: "100%", justifyContent: "space-between", children: [
|
|
132
|
+
/* @__PURE__ */ r(
|
|
133
|
+
H,
|
|
134
|
+
{
|
|
135
|
+
ariaLabelClose: e,
|
|
136
|
+
onClose: i,
|
|
137
|
+
shouldShowBorders: k,
|
|
138
|
+
shouldShowShadow: C,
|
|
139
|
+
title: D
|
|
140
|
+
}
|
|
141
|
+
),
|
|
142
|
+
/* @__PURE__ */ r(u, { height: "100%", overflow: "auto", children: a }),
|
|
143
|
+
d && /* @__PURE__ */ r(
|
|
144
|
+
F,
|
|
145
|
+
{
|
|
146
|
+
footerStyles: t,
|
|
147
|
+
hasSecondaryAction: o,
|
|
148
|
+
isPrimaryDisabled: c,
|
|
149
|
+
onPrimaryAction: d,
|
|
150
|
+
onSecondaryAction: p ?? i,
|
|
151
|
+
primaryButtonProps: b,
|
|
152
|
+
primaryColor: m,
|
|
153
|
+
primaryText: g,
|
|
154
|
+
secondaryColor: w,
|
|
155
|
+
secondaryText: f
|
|
156
|
+
}
|
|
157
|
+
)
|
|
158
|
+
] })
|
|
159
|
+
}
|
|
160
|
+
), q = I;
|
|
161
|
+
export {
|
|
162
|
+
q as D
|
|
163
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV-
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-XqdHNe2V.mjs";
|
|
5
|
+
import { O as m } from "./User-BthIKO4w.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import { g as _, h as C, u as l } from "./hooks-
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-CBST3rkm.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|