@mx-cartographer/experiences 7.2.14 → 7.2.15-alpha-ram1-finstromg-testing
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-vp_TAbGt.mjs → Account-01wOyrH1.mjs} +1 -1
- package/dist/{AccountDetailsContent-CsH1w_GZ.mjs → AccountDetailsContent-C_ZRryuO.mjs} +10 -10
- package/dist/{AccountDetailsHeader-Df1JkzYi.mjs → AccountDetailsHeader-D5h5tdeG.mjs} +8 -8
- package/dist/{AccountFields-DUToRRqW.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
- package/dist/{AccountListItem-CeY_WIpj.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
- package/dist/{AccountStore-BkoLK9Tq.mjs → AccountStore-DYwH7yC9.mjs} +40 -29
- package/dist/{Accounts-C1QxUB-e.mjs → Accounts-D7QljYas.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-ZO9N26Kx.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-Bw5s6Dw1.mjs → ConnectDrawer-CuUj16NH.mjs} +2 -2
- package/dist/{ConnectionsDrawer-BDvVuJQf.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +3 -3
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-BD_XwsI7.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/Drawer-BEtCk82g.mjs +163 -0
- package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DlGZfm4y.mjs} +3 -3
- package/dist/FinstrongStore-BbnA6Crl.mjs +434 -0
- package/dist/{GoalStore-DZ_Jvsa_.mjs → GoalStore-Dcnj5pii.mjs} +3 -3
- package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-Ct9DNmhS.mjs} +209 -181
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
- package/dist/{ManageIncome-CV-bGuR-.mjs → ManageIncome-n6qSYGHO.mjs} +152 -149
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-D1NiDUcc.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-BKKuULAd.mjs} +5 -5
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
- package/dist/{RecurringSettings-G6_BbsIF.mjs → RecurringSettings-BwnDPthJ.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-CW8mIzqd.mjs +196 -0
- package/dist/{TransactionDetails-CDtya0KS.mjs → TransactionDetails-CaJruWq3.mjs} +11 -8
- package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-DvOEbOzL.mjs} +3 -3
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-BVNxGsE4.mjs} +14 -14
- package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
- package/dist/{WidgetContainer-EbrN1oIo.mjs → WidgetContainer-6dsjtOVg.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 +13 -13
- package/dist/cashflow/index.es.js +45 -45
- 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 +8 -2
- package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -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 +34 -34
- package/dist/common/types/Finstrong.d.ts +50 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- 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 +4 -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 +17 -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 +3179 -1054
- package/dist/finstrong/stores/FinstrongStore.d.ts +10 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +15 -15
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
- package/dist/investments/index.es.js +5 -5
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +35 -35
- 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 +238 -415
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +95 -95
- package/dist/{useAccountDisplayName-jS05A6-6.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
|
@@ -1,79 +1,80 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as L } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { observer as A } from "mobx-react-lite";
|
|
4
|
-
import
|
|
4
|
+
import M from "@mui/material/Box";
|
|
5
5
|
import T from "@mui/material/Divider";
|
|
6
6
|
import K from "@mui/material/List";
|
|
7
7
|
import h from "@mui/material/Stack";
|
|
8
|
-
import { MerchantLogo as H, Text as S, H1 as
|
|
8
|
+
import { MerchantLogo as H, Text as S, H1 as oe, InstitutionLogo as ae, P as U } from "@mxenabled/mxui";
|
|
9
9
|
import ie from "@mui/material/ListItem";
|
|
10
10
|
import se from "@mui/material/ListItemAvatar";
|
|
11
11
|
import ce from "@mui/material/ListItemButton";
|
|
12
12
|
import le from "@mui/material/ListItemText";
|
|
13
|
-
import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-
|
|
13
|
+
import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-CngsRZ3K.mjs";
|
|
14
14
|
import { subDays as ue } from "date-fns/subDays";
|
|
15
15
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
|
+
import { parseISO as me } from "date-fns/parseISO";
|
|
17
18
|
import $ from "@mui/material/Button";
|
|
18
|
-
import { Delete as
|
|
19
|
-
import { T as X, a as
|
|
20
|
-
import { getDayOfYear as
|
|
21
|
-
import { setDayOfYear as
|
|
22
|
-
import { AdapterDateFns as
|
|
23
|
-
import { DatePicker as
|
|
24
|
-
import { LocalizationProvider as
|
|
25
|
-
import { u as w, j as
|
|
26
|
-
import { b as
|
|
27
|
-
import { D as O } from "./Drawer-
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
29
|
-
import { f as
|
|
30
|
-
import { formatISO as
|
|
31
|
-
import { fromUnixTime as
|
|
32
|
-
import { S as
|
|
33
|
-
import { h as
|
|
19
|
+
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
+
import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-CaJruWq3.mjs";
|
|
21
|
+
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
|
+
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
|
+
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
|
+
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
25
|
+
import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
+
import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
|
|
27
|
+
import { b as Ee, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
28
|
+
import { D as O } from "./Drawer-BEtCk82g.mjs";
|
|
29
|
+
import { A as R } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
30
|
+
import { f as Re, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
|
|
31
|
+
import { formatISO as Oe } from "date-fns/formatISO";
|
|
32
|
+
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
33
|
+
import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
|
+
import { h as Me } from "./DateUtil-CBdcsyuk.mjs";
|
|
34
35
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
35
|
-
import { T as V } from "./User-
|
|
36
|
+
import { T as V } from "./User-wXzDI4M8.mjs";
|
|
36
37
|
const ee = ({
|
|
37
38
|
frequency: n,
|
|
38
39
|
firstDay: t,
|
|
39
|
-
secondDay:
|
|
40
|
+
secondDay: o,
|
|
40
41
|
onFrequencyChange: i,
|
|
41
42
|
onFirstDayChange: s,
|
|
42
43
|
onSecondDayChange: l
|
|
43
44
|
}) => {
|
|
44
|
-
const { recurring:
|
|
45
|
+
const { recurring: r } = w(), a = u.useMemo(
|
|
45
46
|
() => [
|
|
46
|
-
{ id: d.EveryWeek, label:
|
|
47
|
-
{ id: d.EveryOtherWeek, label:
|
|
48
|
-
{ id: d.TwiceAMonth, label:
|
|
49
|
-
{ id: d.EveryMonth, label:
|
|
50
|
-
{ id: d.EveryOtherMonth, label:
|
|
51
|
-
{ id: d.EveryQuarter, label:
|
|
52
|
-
{ id: d.EveryOtherQuarter, label:
|
|
53
|
-
{ id: d.EveryYear, label:
|
|
47
|
+
{ id: d.EveryWeek, label: r.frequency_every_week },
|
|
48
|
+
{ id: d.EveryOtherWeek, label: r.frequency_every_other_week },
|
|
49
|
+
{ id: d.TwiceAMonth, label: r.frequency_twice_a_month },
|
|
50
|
+
{ id: d.EveryMonth, label: r.frequency_every_month },
|
|
51
|
+
{ id: d.EveryOtherMonth, label: r.frequency_every_other_month },
|
|
52
|
+
{ id: d.EveryQuarter, label: r.frequency_every_quarter },
|
|
53
|
+
{ id: d.EveryOtherQuarter, label: r.frequency_every_other_quarter },
|
|
54
|
+
{ id: d.EveryYear, label: r.frequency_every_year }
|
|
54
55
|
],
|
|
55
|
-
[
|
|
56
|
+
[r]
|
|
56
57
|
), m = [
|
|
57
|
-
{ id: 0, label:
|
|
58
|
-
{ id: 1, label:
|
|
59
|
-
{ id: 2, label:
|
|
60
|
-
{ id: 3, label:
|
|
61
|
-
{ id: 4, label:
|
|
62
|
-
{ id: 5, label:
|
|
63
|
-
{ id: 6, label:
|
|
58
|
+
{ id: 0, label: r.weekday_sunday },
|
|
59
|
+
{ id: 1, label: r.weekday_monday },
|
|
60
|
+
{ id: 2, label: r.weekday_tuesday },
|
|
61
|
+
{ id: 3, label: r.weekday_wednesday },
|
|
62
|
+
{ id: 4, label: r.weekday_thursday },
|
|
63
|
+
{ id: 5, label: r.weekday_friday },
|
|
64
|
+
{ id: 6, label: r.weekday_saturday }
|
|
64
65
|
], y = [...Array(31).keys()].map((p) => ({
|
|
65
66
|
id: p + 1,
|
|
66
|
-
label:
|
|
67
|
+
label: Ee(p + 1)
|
|
67
68
|
}));
|
|
68
|
-
y[30].label += ` (${
|
|
69
|
-
const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter,
|
|
70
|
-
p && s(
|
|
69
|
+
y[30].label += ` (${r.last_day_of_month})`;
|
|
70
|
+
const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, I = Se(z(), t), f = (p) => {
|
|
71
|
+
p && s(xe(p));
|
|
71
72
|
};
|
|
72
73
|
return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
|
|
73
74
|
/* @__PURE__ */ e(
|
|
74
75
|
N,
|
|
75
76
|
{
|
|
76
|
-
label:
|
|
77
|
+
label: r.frequency,
|
|
77
78
|
onChange: i,
|
|
78
79
|
options: a,
|
|
79
80
|
value: n
|
|
@@ -82,7 +83,7 @@ const ee = ({
|
|
|
82
83
|
b && /* @__PURE__ */ e(
|
|
83
84
|
N,
|
|
84
85
|
{
|
|
85
|
-
label:
|
|
86
|
+
label: r.day_of_the_week,
|
|
86
87
|
onChange: s,
|
|
87
88
|
options: m,
|
|
88
89
|
value: t
|
|
@@ -91,7 +92,7 @@ const ee = ({
|
|
|
91
92
|
g && /* @__PURE__ */ e(
|
|
92
93
|
N,
|
|
93
94
|
{
|
|
94
|
-
label: n === d.TwiceAMonth ?
|
|
95
|
+
label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
|
|
95
96
|
onChange: s,
|
|
96
97
|
options: n === d.TwiceAMonth ? C : y,
|
|
97
98
|
value: t
|
|
@@ -100,27 +101,27 @@ const ee = ({
|
|
|
100
101
|
n === d.TwiceAMonth && /* @__PURE__ */ e(
|
|
101
102
|
N,
|
|
102
103
|
{
|
|
103
|
-
label:
|
|
104
|
+
label: r.second_day_of_the_month,
|
|
104
105
|
onChange: l,
|
|
105
106
|
options: v,
|
|
106
|
-
value:
|
|
107
|
+
value: o || 0
|
|
107
108
|
}
|
|
108
109
|
),
|
|
109
|
-
n === d.EveryYear && /* @__PURE__ */ e(
|
|
110
|
-
|
|
110
|
+
n === d.EveryYear && /* @__PURE__ */ e(Ae, { dateAdapter: ve, children: /* @__PURE__ */ e(
|
|
111
|
+
we,
|
|
111
112
|
{
|
|
112
113
|
disablePast: !0,
|
|
113
|
-
label:
|
|
114
|
+
label: r.next_payment_date,
|
|
114
115
|
onChange: f,
|
|
115
|
-
value:
|
|
116
|
+
value: I
|
|
116
117
|
}
|
|
117
118
|
) })
|
|
118
119
|
] });
|
|
119
|
-
},
|
|
120
|
-
const { recurring: t } = w(), { updateRepeatingTransaction:
|
|
121
|
-
await
|
|
120
|
+
}, Fe = A(({ repeatingTransaction: n }) => {
|
|
121
|
+
const { recurring: t } = w(), { updateRepeatingTransaction: o } = F(), { onEvent: i } = G(), [s, l] = u.useState(!1), [r, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
|
|
122
|
+
await o({
|
|
122
123
|
...n,
|
|
123
|
-
recurrence_type:
|
|
124
|
+
recurrence_type: r,
|
|
124
125
|
recurrence_day: m,
|
|
125
126
|
second_recurrence_day: C
|
|
126
127
|
}), l(!1);
|
|
@@ -149,7 +150,7 @@ const ee = ({
|
|
|
149
150
|
ee,
|
|
150
151
|
{
|
|
151
152
|
firstDay: m,
|
|
152
|
-
frequency:
|
|
153
|
+
frequency: r,
|
|
153
154
|
onFirstDayChange: y,
|
|
154
155
|
onFrequencyChange: a,
|
|
155
156
|
onSecondDayChange: v,
|
|
@@ -159,11 +160,11 @@ const ee = ({
|
|
|
159
160
|
}
|
|
160
161
|
)
|
|
161
162
|
] });
|
|
162
|
-
}),
|
|
163
|
+
}), Ge = A(
|
|
163
164
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
164
|
-
const { recurring:
|
|
165
|
+
const { recurring: o } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: r, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, I] = u.useState("");
|
|
165
166
|
u.useEffect(() => {
|
|
166
|
-
|
|
167
|
+
r({
|
|
167
168
|
accounts: i,
|
|
168
169
|
dateRange: { start: ue(z(), 90), end: _e(z()) },
|
|
169
170
|
custom: (_) => _.repeating_transaction_guid === t.guid
|
|
@@ -174,7 +175,7 @@ const ee = ({
|
|
|
174
175
|
[g, a]
|
|
175
176
|
), p = t.repeating_transaction_type === E.Income, k = async () => {
|
|
176
177
|
await l(t.guid), n();
|
|
177
|
-
},
|
|
178
|
+
}, P = () => {
|
|
178
179
|
b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
179
180
|
};
|
|
180
181
|
return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
@@ -189,13 +190,13 @@ const ee = ({
|
|
|
189
190
|
}
|
|
190
191
|
),
|
|
191
192
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
192
|
-
/* @__PURE__ */ c(
|
|
193
|
+
/* @__PURE__ */ c(oe, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
|
|
193
194
|
p ? "+" : "",
|
|
194
195
|
J(m, "0,0.00")
|
|
195
196
|
] }),
|
|
196
|
-
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${
|
|
197
|
-
t.predicted_occurs_on,
|
|
198
|
-
|
|
197
|
+
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${Re(
|
|
198
|
+
me(t.predicted_occurs_on),
|
|
199
|
+
Te.MONTH_DAY_YEAR
|
|
199
200
|
)}` })
|
|
200
201
|
] }),
|
|
201
202
|
/* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: [
|
|
@@ -204,7 +205,7 @@ const ee = ({
|
|
|
204
205
|
Y,
|
|
205
206
|
{
|
|
206
207
|
iconName: "checkbook",
|
|
207
|
-
label:
|
|
208
|
+
label: o.account,
|
|
208
209
|
value: t.account.institutionName || ""
|
|
209
210
|
}
|
|
210
211
|
),
|
|
@@ -215,60 +216,60 @@ const ee = ({
|
|
|
215
216
|
Y,
|
|
216
217
|
{
|
|
217
218
|
iconName: "monetization_on",
|
|
218
|
-
label:
|
|
219
|
+
label: o.category,
|
|
219
220
|
value: f.category
|
|
220
221
|
}
|
|
221
222
|
),
|
|
222
223
|
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
223
224
|
] }),
|
|
224
|
-
/* @__PURE__ */ e(
|
|
225
|
+
/* @__PURE__ */ e(Fe, { repeatingTransaction: t }),
|
|
225
226
|
/* @__PURE__ */ e(T, {})
|
|
226
227
|
] }),
|
|
227
228
|
/* @__PURE__ */ e(
|
|
228
229
|
$,
|
|
229
230
|
{
|
|
230
231
|
color: "error",
|
|
231
|
-
onClick:
|
|
232
|
-
startIcon: /* @__PURE__ */ e(
|
|
232
|
+
onClick: P,
|
|
233
|
+
startIcon: /* @__PURE__ */ e(pe, {}),
|
|
233
234
|
sx: { mx: 24, my: 16 },
|
|
234
235
|
variant: "text",
|
|
235
|
-
children: p ?
|
|
236
|
+
children: p ? o.delete_income_title : o.delete_expense_title
|
|
236
237
|
}
|
|
237
238
|
),
|
|
238
|
-
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children:
|
|
239
|
-
/* @__PURE__ */ e(X, { height: "30dvh", onClick:
|
|
239
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
|
|
240
|
+
/* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
|
|
240
241
|
/* @__PURE__ */ e(
|
|
241
242
|
O,
|
|
242
243
|
{
|
|
243
|
-
ariaLabelClose:
|
|
244
|
+
ariaLabelClose: o.close_drawer_aria,
|
|
244
245
|
isOpen: !!g && !!f,
|
|
245
|
-
onClose: () =>
|
|
246
|
-
title:
|
|
247
|
-
children: f && /* @__PURE__ */ e(
|
|
246
|
+
onClose: () => I(""),
|
|
247
|
+
title: o.transaction_details_drawer_title,
|
|
248
|
+
children: f && /* @__PURE__ */ e(ge, { transaction: f })
|
|
248
249
|
}
|
|
249
250
|
),
|
|
250
251
|
/* @__PURE__ */ e(
|
|
251
|
-
|
|
252
|
+
Le,
|
|
252
253
|
{
|
|
253
254
|
copy: {
|
|
254
|
-
title: p ?
|
|
255
|
-
close_aria:
|
|
255
|
+
title: p ? o.delete_income_title : o.delete_expense_title,
|
|
256
|
+
close_aria: o.close_drawer_aria
|
|
256
257
|
},
|
|
257
258
|
isOpen: v,
|
|
258
259
|
onClose: () => b(!1),
|
|
259
260
|
onPrimaryAction: k,
|
|
260
|
-
children: /* @__PURE__ */ e(S, { children: p ?
|
|
261
|
+
children: /* @__PURE__ */ e(S, { children: p ? o.delete_income_description : o.delete_expense_description })
|
|
261
262
|
}
|
|
262
263
|
)
|
|
263
264
|
] });
|
|
264
265
|
}
|
|
265
|
-
),
|
|
266
|
+
), Pe = A(
|
|
266
267
|
({ onClick: n = () => {
|
|
267
268
|
}, repeatingTransaction: t }) => {
|
|
268
|
-
const { recurring:
|
|
269
|
+
const { recurring: o } = w(), [i, s] = u.useState(!1), l = u.useMemo(
|
|
269
270
|
() => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
|
|
270
271
|
[t]
|
|
271
|
-
),
|
|
272
|
+
), r = t.account?.institutionName || "", a = t.repeating_transaction_type === E.Income, m = Q(o, t, !0);
|
|
272
273
|
return /* @__PURE__ */ c(ie, { disableGutters: !0, disablePadding: !0, children: [
|
|
273
274
|
/* @__PURE__ */ c(ce, { onClick: () => {
|
|
274
275
|
n(t), s(!0);
|
|
@@ -287,12 +288,12 @@ const ee = ({
|
|
|
287
288
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
288
289
|
ae,
|
|
289
290
|
{
|
|
290
|
-
alt:
|
|
291
|
+
alt: r,
|
|
291
292
|
institutionGuid: t.account?.institution_guid,
|
|
292
293
|
size: 12
|
|
293
294
|
}
|
|
294
295
|
),
|
|
295
|
-
/* @__PURE__ */ e(S, { variant: "caption", children:
|
|
296
|
+
/* @__PURE__ */ e(S, { variant: "caption", children: r })
|
|
296
297
|
] })
|
|
297
298
|
] }),
|
|
298
299
|
/* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
@@ -328,12 +329,12 @@ const ee = ({
|
|
|
328
329
|
/* @__PURE__ */ e(
|
|
329
330
|
O,
|
|
330
331
|
{
|
|
331
|
-
ariaLabelClose:
|
|
332
|
+
ariaLabelClose: o.close_drawer_aria,
|
|
332
333
|
isOpen: i,
|
|
333
334
|
onClose: () => s(!1),
|
|
334
|
-
title: t.repeating_transaction_type === E.Income ?
|
|
335
|
+
title: t.repeating_transaction_type === E.Income ? o.income_details : o.expense_details,
|
|
335
336
|
children: /* @__PURE__ */ e(
|
|
336
|
-
|
|
337
|
+
Ge,
|
|
337
338
|
{
|
|
338
339
|
onDeleted: () => s(!1),
|
|
339
340
|
recurringTransaction: t
|
|
@@ -343,23 +344,23 @@ const ee = ({
|
|
|
343
344
|
)
|
|
344
345
|
] });
|
|
345
346
|
}
|
|
346
|
-
),
|
|
347
|
+
), Ue = A(
|
|
347
348
|
({
|
|
348
349
|
bgcolor: n = "background.default",
|
|
349
350
|
description: t,
|
|
350
|
-
onSearch:
|
|
351
|
+
onSearch: o,
|
|
351
352
|
onSelected: i
|
|
352
353
|
}) => {
|
|
353
|
-
const { recurring: s } = w(), { searchValue: l, setSearchValue:
|
|
354
|
+
const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = fe();
|
|
354
355
|
return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
355
356
|
t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
|
|
356
357
|
/* @__PURE__ */ e(
|
|
357
|
-
|
|
358
|
+
Ne,
|
|
358
359
|
{
|
|
359
360
|
ariaLabel: s.select_transaction_search_aria,
|
|
360
361
|
cancelAriaLabel: s.select_transaction_search_cancel_aria,
|
|
361
362
|
onChange: (a) => {
|
|
362
|
-
|
|
363
|
+
r(a), o(a);
|
|
363
364
|
},
|
|
364
365
|
placeholder: s.select_transaction_search_placeholder,
|
|
365
366
|
searchValue: l
|
|
@@ -377,62 +378,64 @@ const ee = ({
|
|
|
377
378
|
)
|
|
378
379
|
] });
|
|
379
380
|
}
|
|
380
|
-
),
|
|
381
|
+
), Ye = A(
|
|
381
382
|
({
|
|
382
383
|
bgcolor: n = "background.default",
|
|
383
384
|
firstDay: t,
|
|
384
|
-
secondDay:
|
|
385
|
+
secondDay: o,
|
|
385
386
|
frequency: i,
|
|
386
387
|
onFrequencyChange: s,
|
|
387
388
|
onFirstDayChange: l,
|
|
388
|
-
onSecondDayChange:
|
|
389
|
+
onSecondDayChange: r,
|
|
389
390
|
transaction: a
|
|
390
391
|
}) => {
|
|
391
392
|
const { recurring: m } = w();
|
|
392
393
|
return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
393
394
|
/* @__PURE__ */ c(h, { children: [
|
|
394
|
-
/* @__PURE__ */ e(
|
|
395
|
-
/* @__PURE__ */ e(
|
|
395
|
+
/* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
|
|
396
|
+
/* @__PURE__ */ e(be, { transaction: a })
|
|
396
397
|
] }),
|
|
397
|
-
/* @__PURE__ */
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
398
|
+
/* @__PURE__ */ c(M, { children: [
|
|
399
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
|
|
400
|
+
/* @__PURE__ */ e(
|
|
401
|
+
ee,
|
|
402
|
+
{
|
|
403
|
+
firstDay: t,
|
|
404
|
+
frequency: i,
|
|
405
|
+
onFirstDayChange: l,
|
|
406
|
+
onFrequencyChange: s,
|
|
407
|
+
onSecondDayChange: r,
|
|
408
|
+
secondDay: o
|
|
409
|
+
}
|
|
410
|
+
)
|
|
411
|
+
] })
|
|
409
412
|
] });
|
|
410
413
|
}
|
|
411
|
-
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT,
|
|
414
|
+
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, ze = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, Be = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
|
|
412
415
|
({
|
|
413
416
|
isIncome: n = !1,
|
|
414
417
|
label: t,
|
|
415
|
-
onAddRecurringTransaction:
|
|
418
|
+
onAddRecurringTransaction: o = () => null
|
|
416
419
|
}) => {
|
|
417
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions:
|
|
418
|
-
() =>
|
|
419
|
-
[v,
|
|
420
|
+
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, I] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, P] = u.useState(15), _ = u.useMemo(
|
|
421
|
+
() => r.find((x) => x.guid === v),
|
|
422
|
+
[v, r]
|
|
420
423
|
), ne = () => {
|
|
421
424
|
C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
422
|
-
},
|
|
425
|
+
}, re = async () => {
|
|
423
426
|
if (!_) {
|
|
424
427
|
j();
|
|
425
428
|
return;
|
|
426
429
|
}
|
|
427
|
-
|
|
428
|
-
const x = de(g,
|
|
430
|
+
o();
|
|
431
|
+
const x = de(g, ke(_.date)), D = {
|
|
429
432
|
account_guid: _.account_guid,
|
|
430
433
|
amount: _.amount,
|
|
431
434
|
created_by: 0,
|
|
432
435
|
// User
|
|
433
436
|
merchant_guid: _.merchant_guid,
|
|
434
437
|
description: _.payee || _.description || _.feed_description,
|
|
435
|
-
predicted_occurs_on:
|
|
438
|
+
predicted_occurs_on: Oe(x, { representation: "date" }),
|
|
436
439
|
recurrence_day: f,
|
|
437
440
|
recurrence_type: g,
|
|
438
441
|
repeating_transaction_type: n ? E.Income : E.Bill,
|
|
@@ -440,12 +443,12 @@ const ee = ({
|
|
|
440
443
|
transaction_type: _.transaction_type,
|
|
441
444
|
user_guid: m.guid
|
|
442
445
|
};
|
|
443
|
-
await a(
|
|
446
|
+
await a(D, _), j();
|
|
444
447
|
}, j = () => {
|
|
445
448
|
b(""), C(!1);
|
|
446
449
|
};
|
|
447
450
|
return /* @__PURE__ */ c(L, { children: [
|
|
448
|
-
/* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(
|
|
451
|
+
/* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
|
|
449
452
|
/* @__PURE__ */ e(
|
|
450
453
|
O,
|
|
451
454
|
{
|
|
@@ -454,13 +457,13 @@ const ee = ({
|
|
|
454
457
|
onClose: () => C(!1),
|
|
455
458
|
title: t,
|
|
456
459
|
children: /* @__PURE__ */ e(
|
|
457
|
-
|
|
460
|
+
Ue,
|
|
458
461
|
{
|
|
459
462
|
description: n ? i.add_income_description : i.add_expense_description,
|
|
460
463
|
onSearch: (x) => {
|
|
461
464
|
l({
|
|
462
465
|
...s,
|
|
463
|
-
custom: (
|
|
466
|
+
custom: (D) => n ? x ? Be(D, x) : W(D) : x ? ze(D, x) : q(D)
|
|
464
467
|
});
|
|
465
468
|
},
|
|
466
469
|
onSelected: (x) => b(x)
|
|
@@ -474,16 +477,16 @@ const ee = ({
|
|
|
474
477
|
ariaLabelClose: i.close_drawer_aria,
|
|
475
478
|
isOpen: !!v,
|
|
476
479
|
onClose: () => b(""),
|
|
477
|
-
onPrimaryAction:
|
|
480
|
+
onPrimaryAction: re,
|
|
478
481
|
title: n ? i.income_details : i.expense_details,
|
|
479
482
|
children: _ && /* @__PURE__ */ e(
|
|
480
|
-
|
|
483
|
+
Ye,
|
|
481
484
|
{
|
|
482
485
|
firstDay: f,
|
|
483
486
|
frequency: g,
|
|
484
487
|
onFirstDayChange: p,
|
|
485
|
-
onFrequencyChange:
|
|
486
|
-
onSecondDayChange:
|
|
488
|
+
onFrequencyChange: I,
|
|
489
|
+
onSecondDayChange: P,
|
|
487
490
|
secondDay: k,
|
|
488
491
|
transaction: _
|
|
489
492
|
}
|
|
@@ -492,20 +495,20 @@ const ee = ({
|
|
|
492
495
|
)
|
|
493
496
|
] });
|
|
494
497
|
}
|
|
495
|
-
),
|
|
498
|
+
), qe = A(
|
|
496
499
|
({ zeroStateFor: n }) => {
|
|
497
|
-
const { recurring: t } = w(), { onEvent:
|
|
500
|
+
const { recurring: t } = w(), { onEvent: o } = G(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
|
|
498
501
|
return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
499
|
-
/* @__PURE__ */ e(
|
|
502
|
+
/* @__PURE__ */ e(ye, { size: 48 }),
|
|
500
503
|
/* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
501
504
|
/* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
502
505
|
/* @__PURE__ */ e(
|
|
503
506
|
te,
|
|
504
507
|
{
|
|
505
508
|
isIncome: i,
|
|
506
|
-
label:
|
|
509
|
+
label: r,
|
|
507
510
|
onAddRecurringTransaction: () => {
|
|
508
|
-
|
|
511
|
+
o(
|
|
509
512
|
i ? R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : R.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
|
|
510
513
|
);
|
|
511
514
|
}
|
|
@@ -513,17 +516,17 @@ const ee = ({
|
|
|
513
516
|
)
|
|
514
517
|
] });
|
|
515
518
|
}
|
|
516
|
-
),
|
|
517
|
-
const { recurring: t } = w(), { repeatingTransactions:
|
|
519
|
+
), It = A(({ forOverview: n = !1 }) => {
|
|
520
|
+
const { recurring: t } = w(), { repeatingTransactions: o } = F(), { onEvent: i } = G(), s = (a) => {
|
|
518
521
|
i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
519
522
|
repeating_transaction_guid: a.guid
|
|
520
523
|
});
|
|
521
524
|
}, l = () => {
|
|
522
525
|
i(R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
|
|
523
|
-
},
|
|
526
|
+
}, r = o.filter(
|
|
524
527
|
(a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
|
|
525
528
|
);
|
|
526
|
-
return /* @__PURE__ */ e(L, { children:
|
|
529
|
+
return /* @__PURE__ */ e(L, { children: r.length !== 0 ? /* @__PURE__ */ c(
|
|
527
530
|
h,
|
|
528
531
|
{
|
|
529
532
|
sx: {
|
|
@@ -532,19 +535,19 @@ const ee = ({
|
|
|
532
535
|
},
|
|
533
536
|
children: [
|
|
534
537
|
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
535
|
-
/* @__PURE__ */ e(
|
|
536
|
-
/* @__PURE__ */ e(
|
|
538
|
+
/* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
|
|
539
|
+
/* @__PURE__ */ e(Pe, { onClick: s, repeatingTransaction: a }),
|
|
537
540
|
/* @__PURE__ */ e(
|
|
538
541
|
T,
|
|
539
542
|
{
|
|
540
|
-
variant: m <
|
|
543
|
+
variant: m < r.length - 1 ? "inset" : "fullWidth"
|
|
541
544
|
}
|
|
542
545
|
)
|
|
543
546
|
] }, a.guid)) }) }),
|
|
544
|
-
/* @__PURE__ */ c(
|
|
547
|
+
/* @__PURE__ */ c(M, { children: [
|
|
545
548
|
/* @__PURE__ */ e(T, {}),
|
|
546
549
|
/* @__PURE__ */ e(
|
|
547
|
-
|
|
550
|
+
M,
|
|
548
551
|
{
|
|
549
552
|
sx: {
|
|
550
553
|
alignContent: "center",
|
|
@@ -567,16 +570,16 @@ const ee = ({
|
|
|
567
570
|
] })
|
|
568
571
|
]
|
|
569
572
|
}
|
|
570
|
-
) : /* @__PURE__ */ e(
|
|
573
|
+
) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
|
|
571
574
|
});
|
|
572
575
|
export {
|
|
573
576
|
te as A,
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
577
|
+
It as M,
|
|
578
|
+
Pe as R,
|
|
579
|
+
Ue as S,
|
|
580
|
+
qe as a,
|
|
581
|
+
Ge as b,
|
|
582
|
+
Ye as c,
|
|
580
583
|
W as d,
|
|
581
|
-
|
|
584
|
+
Be as i
|
|
582
585
|
};
|
|
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
|
|
|
6
6
|
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
7
|
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
8
|
import { u as M } from "./useDimensions-27p2evRx.mjs";
|
|
9
|
-
import { W as w } from "./hooks-
|
|
9
|
+
import { W as w } from "./hooks-C41HAxM5.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
|
|
|
8
8
|
import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
|
|
9
9
|
import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
|
|
10
10
|
import { u as S } from "./useDimensions-27p2evRx.mjs";
|
|
11
|
-
import { W as j } from "./hooks-
|
|
11
|
+
import { W as j } from "./hooks-C41HAxM5.mjs";
|
|
12
12
|
const w = ({
|
|
13
13
|
children: a,
|
|
14
14
|
className: m = "mx-cmn-mini-widget",
|
|
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
4
4
|
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
5
5
|
import { subMonths as B } from "date-fns/subMonths";
|
|
6
|
-
import { a as b } from "./Accounts-
|
|
7
|
-
import { e as N, a as M, f as v } from "./ConnectDrawer-
|
|
6
|
+
import { a as b } from "./Accounts-D7QljYas.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
8
8
|
const f = 13, L = (n, t) => n.filter((e) => {
|
|
9
9
|
const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
|
|
10
10
|
return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
|