@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.mega2
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 +50 -0
- package/dist/{Account-B4CDD-zq.mjs → Account-CvR2-dSR.mjs} +1 -1
- package/dist/AccountDetailsContent-CitErkuS.mjs +686 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-BkG3MNYo.mjs} +19 -19
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-zCMqet85.mjs} +10 -12
- package/dist/AccountListItem-DHrz8Mml.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-LgfBcYMe.mjs} +101 -75
- package/dist/Accounts-Bzy1_REQ.mjs +9 -0
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-BmZXkL0C.mjs} +32 -32
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +27 -27
- package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
- package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BkvlItWx.mjs} +55 -56
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
- package/dist/CurrencyInput-itK0R3wV.mjs +85 -0
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-Bq-aPy-5.mjs} +3 -3
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
- package/dist/Drawer-By9V-B5L.mjs +178 -0
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-Cglo8Mca.mjs} +4 -4
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-1P19goZ7.mjs} +111 -151
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
- package/dist/{Help-DBfsTkAi.mjs → Help-Ea3BlXQp.mjs} +146 -125
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/LineChart-BF4QA-Lx.mjs +580 -0
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-BxTkF6Tz.mjs} +2 -2
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-CaoQl609.mjs} +142 -142
- package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
- package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-rC0q7P7t.mjs} +4 -4
- package/dist/NotificationSettings-uzM8tCoH.mjs +674 -0
- package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-CDX_kqHa.mjs} +14 -22
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +9 -9
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-B4ybrS0B.mjs} +17 -17
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BqijW_8S.mjs} +79 -79
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +81 -91
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
- package/dist/SpendingData-DQ1b9uqq.mjs +53 -0
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CDO060GT.mjs} +65 -65
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
- package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
- package/dist/TrendsStore-yO7qYv97.mjs +186 -0
- package/dist/{User-BklmOUSd.mjs → User-Cnlegl1N.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +211 -205
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-CoFDmQRE.mjs} +36 -36
- package/dist/accounts/index.es.js +200 -197
- package/dist/accounts/stores/AccountStore.d.ts +22 -25
- package/dist/accounts/utils/Accounts.d.ts +1 -2
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/components/AddBudgets.d.ts +2 -1
- package/dist/budgets/index.es.js +703 -669
- package/dist/budgets/store/BudgetsStore.d.ts +0 -1
- package/dist/cashflow/index.es.js +420 -404
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +3 -6
- package/dist/categories/util/CategoryUtil.d.ts +2 -3
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
- package/dist/common/index.es.js +712 -436
- package/dist/common/stores/AppDataStore.d.ts +1 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +3 -3
- package/dist/common/stores/GlobalUiStore.d.ts +2 -3
- package/dist/common/stores/UserStore.d.ts +2 -3
- package/dist/common/types/Account.d.ts +6 -9
- package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +93 -91
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +529 -527
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-DuAaI5XA.mjs} +3 -3
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +4 -5
- package/dist/finstrong/index.es.js +876 -867
- package/dist/goals/index.es.js +526 -525
- package/dist/goals/stores/GoalStore.d.ts +4 -17
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +13 -9
- package/dist/{hooks-C41HAxM5.mjs → hooks-ZMp65DFz.mjs} +11 -11
- package/dist/investments/index.es.js +534 -531
- package/dist/investments/stores/HoldingStore.d.ts +0 -1
- package/dist/merchants/index.es.js +8 -8
- package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
- package/dist/microinsights/index.d.ts +1 -0
- package/dist/microinsights/index.es.js +101 -14
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +284 -285
- package/dist/notifications/index.es.js +95 -94
- package/dist/notifications/stores/NotificationStore.d.ts +1 -3
- package/dist/recurringtransactions/index.es.js +582 -562
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -4
- package/dist/settings/index.es.js +340 -337
- package/dist/spending/index.es.js +281 -268
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +253 -255
- package/dist/transactions/stores/TransactionStore.d.ts +77 -21
- package/dist/transactions/stores/UiStore.d.ts +2 -0
- package/dist/trends/components/TrendsTable.d.ts +0 -2
- package/dist/trends/index.es.js +838 -793
- package/dist/trends/utils/TrendsData.d.ts +1 -0
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
- package/package.json +57 -52
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/Accounts-CRUehOiy.mjs +0 -27
- package/dist/CategoryStore-MUwRWH9e.mjs +0 -176
- package/dist/CategoryUtil-DfVKKkRf.mjs +0 -80
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/Drawer-BF40nbsH.mjs +0 -163
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/LineChart-C1PxNf7P.mjs +0 -581
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
- package/dist/NotificationSettings-B74rQVYC.mjs +0 -672
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/SkeletonLoader-BaNboJjD.mjs +0 -38
- package/dist/SpendingData-DPQ96k3x.mjs +0 -55
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
- package/dist/TransactionStore-DbwAutwC.mjs +0 -671
- package/dist/TrendsStore-_mRaFUdf.mjs +0 -182
- package/dist/common/components/SkeletonLoader.d.ts +0 -7
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +0 -3
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as L } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import u from "react";
|
|
3
3
|
import { observer as A } from "mobx-react-lite";
|
|
4
4
|
import M from "@mui/material/Box";
|
|
5
5
|
import T from "@mui/material/Divider";
|
|
6
6
|
import K from "@mui/material/List";
|
|
7
|
-
import
|
|
8
|
-
import { MerchantLogo as H, Text as S, H1 as
|
|
7
|
+
import h from "@mui/material/Stack";
|
|
8
|
+
import { MerchantLogo as H, Text as S, H1 as re, 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, e as de } from "./RecurringTransactions-
|
|
14
|
-
import { subDays as
|
|
13
|
+
import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-BqijW_8S.mjs";
|
|
14
|
+
import { subDays as ue } from "date-fns/subDays";
|
|
15
15
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
16
|
-
import { endOfMonth as
|
|
16
|
+
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
|
-
import { Delete as pe, Add as
|
|
20
|
-
import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-
|
|
19
|
+
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
+
import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-m5PddMQn.mjs";
|
|
21
21
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
24
|
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
25
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,
|
|
27
|
-
import { b as
|
|
28
|
-
import { D as O } from "./Drawer-
|
|
29
|
-
import { A as
|
|
30
|
-
import { f as
|
|
26
|
+
import { u as w, j as F, g as G, b as Ie, h as Z, o as De } from "./hooks-ZMp65DFz.mjs";
|
|
27
|
+
import { b as Ee, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
28
|
+
import { D as O } from "./Drawer-By9V-B5L.mjs";
|
|
29
|
+
import { A as R } from "./WidgetContainer-CoFDmQRE.mjs";
|
|
30
|
+
import { f as Re, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
|
|
31
31
|
import { formatISO as Oe } from "date-fns/formatISO";
|
|
32
32
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
33
|
-
import { S as Ne } from "./SearchBox-
|
|
34
|
-
import { h as Me } from "./DateUtil-
|
|
35
|
-
import { b as
|
|
36
|
-
import { T as V } from "./User-
|
|
33
|
+
import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
|
+
import { h as Me } from "./DateUtil-CBdcsyuk.mjs";
|
|
35
|
+
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
+
import { T as V } from "./User-Cnlegl1N.mjs";
|
|
37
37
|
const ee = ({
|
|
38
38
|
frequency: n,
|
|
39
39
|
firstDay: t,
|
|
40
|
-
secondDay:
|
|
40
|
+
secondDay: r,
|
|
41
41
|
onFrequencyChange: i,
|
|
42
42
|
onFirstDayChange: s,
|
|
43
43
|
onSecondDayChange: l
|
|
44
44
|
}) => {
|
|
45
|
-
const { recurring:
|
|
45
|
+
const { recurring: o } = w(), a = u.useMemo(
|
|
46
46
|
() => [
|
|
47
|
-
{ id: d.EveryWeek, label:
|
|
48
|
-
{ id: d.EveryOtherWeek, label:
|
|
49
|
-
{ id: d.TwiceAMonth, label:
|
|
50
|
-
{ id: d.EveryMonth, label:
|
|
51
|
-
{ id: d.EveryOtherMonth, label:
|
|
52
|
-
{ id: d.EveryQuarter, label:
|
|
53
|
-
{ id: d.EveryOtherQuarter, label:
|
|
54
|
-
{ id: d.EveryYear, label:
|
|
47
|
+
{ id: d.EveryWeek, label: o.frequency_every_week },
|
|
48
|
+
{ id: d.EveryOtherWeek, label: o.frequency_every_other_week },
|
|
49
|
+
{ id: d.TwiceAMonth, label: o.frequency_twice_a_month },
|
|
50
|
+
{ id: d.EveryMonth, label: o.frequency_every_month },
|
|
51
|
+
{ id: d.EveryOtherMonth, label: o.frequency_every_other_month },
|
|
52
|
+
{ id: d.EveryQuarter, label: o.frequency_every_quarter },
|
|
53
|
+
{ id: d.EveryOtherQuarter, label: o.frequency_every_other_quarter },
|
|
54
|
+
{ id: d.EveryYear, label: o.frequency_every_year }
|
|
55
55
|
],
|
|
56
|
-
[
|
|
56
|
+
[o]
|
|
57
57
|
), m = [
|
|
58
|
-
{ id: 0, label:
|
|
59
|
-
{ id: 1, label:
|
|
60
|
-
{ id: 2, label:
|
|
61
|
-
{ id: 3, label:
|
|
62
|
-
{ id: 4, label:
|
|
63
|
-
{ id: 5, label:
|
|
64
|
-
{ id: 6, label:
|
|
65
|
-
],
|
|
58
|
+
{ id: 0, label: o.weekday_sunday },
|
|
59
|
+
{ id: 1, label: o.weekday_monday },
|
|
60
|
+
{ id: 2, label: o.weekday_tuesday },
|
|
61
|
+
{ id: 3, label: o.weekday_wednesday },
|
|
62
|
+
{ id: 4, label: o.weekday_thursday },
|
|
63
|
+
{ id: 5, label: o.weekday_friday },
|
|
64
|
+
{ id: 6, label: o.weekday_saturday }
|
|
65
|
+
], y = [...Array(31).keys()].map((p) => ({
|
|
66
66
|
id: p + 1,
|
|
67
|
-
label:
|
|
67
|
+
label: Ee(p + 1)
|
|
68
68
|
}));
|
|
69
|
-
|
|
70
|
-
const C =
|
|
69
|
+
y[30].label += ` (${o.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
71
|
p && s(xe(p));
|
|
72
72
|
};
|
|
73
|
-
return /* @__PURE__ */ c(
|
|
73
|
+
return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
|
|
74
74
|
/* @__PURE__ */ e(
|
|
75
75
|
N,
|
|
76
76
|
{
|
|
77
|
-
label:
|
|
77
|
+
label: o.frequency,
|
|
78
78
|
onChange: i,
|
|
79
79
|
options: a,
|
|
80
80
|
value: n
|
|
@@ -83,7 +83,7 @@ const ee = ({
|
|
|
83
83
|
b && /* @__PURE__ */ e(
|
|
84
84
|
N,
|
|
85
85
|
{
|
|
86
|
-
label:
|
|
86
|
+
label: o.day_of_the_week,
|
|
87
87
|
onChange: s,
|
|
88
88
|
options: m,
|
|
89
89
|
value: t
|
|
@@ -92,41 +92,41 @@ const ee = ({
|
|
|
92
92
|
g && /* @__PURE__ */ e(
|
|
93
93
|
N,
|
|
94
94
|
{
|
|
95
|
-
label: n === d.TwiceAMonth ?
|
|
95
|
+
label: n === d.TwiceAMonth ? o.first_day_of_the_month : o.day_of_the_month,
|
|
96
96
|
onChange: s,
|
|
97
|
-
options: n === d.TwiceAMonth ? C :
|
|
97
|
+
options: n === d.TwiceAMonth ? C : y,
|
|
98
98
|
value: t
|
|
99
99
|
}
|
|
100
100
|
),
|
|
101
101
|
n === d.TwiceAMonth && /* @__PURE__ */ e(
|
|
102
102
|
N,
|
|
103
103
|
{
|
|
104
|
-
label:
|
|
104
|
+
label: o.second_day_of_the_month,
|
|
105
105
|
onChange: l,
|
|
106
106
|
options: v,
|
|
107
|
-
value:
|
|
107
|
+
value: r || 0
|
|
108
108
|
}
|
|
109
109
|
),
|
|
110
110
|
n === d.EveryYear && /* @__PURE__ */ e(Ae, { dateAdapter: ve, children: /* @__PURE__ */ e(
|
|
111
111
|
we,
|
|
112
112
|
{
|
|
113
113
|
disablePast: !0,
|
|
114
|
-
label:
|
|
114
|
+
label: o.next_payment_date,
|
|
115
115
|
onChange: f,
|
|
116
116
|
value: I
|
|
117
117
|
}
|
|
118
118
|
) })
|
|
119
119
|
] });
|
|
120
120
|
}, Fe = A(({ repeatingTransaction: n }) => {
|
|
121
|
-
const { recurring: t } = w(), { updateRepeatingTransaction:
|
|
122
|
-
await
|
|
121
|
+
const { recurring: t } = w(), { updateRepeatingTransaction: r } = F(), { onEvent: i } = G(), [s, l] = u.useState(!1), [o, 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 r({
|
|
123
123
|
...n,
|
|
124
|
-
recurrence_type:
|
|
124
|
+
recurrence_type: o,
|
|
125
125
|
recurrence_day: m,
|
|
126
126
|
second_recurrence_day: C
|
|
127
127
|
}), l(!1);
|
|
128
128
|
}, g = () => {
|
|
129
|
-
l(!0), i(
|
|
129
|
+
l(!0), i(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
|
|
130
130
|
};
|
|
131
131
|
return /* @__PURE__ */ c(L, { children: [
|
|
132
132
|
/* @__PURE__ */ e(
|
|
@@ -150,8 +150,8 @@ const ee = ({
|
|
|
150
150
|
ee,
|
|
151
151
|
{
|
|
152
152
|
firstDay: m,
|
|
153
|
-
frequency:
|
|
154
|
-
onFirstDayChange:
|
|
153
|
+
frequency: o,
|
|
154
|
+
onFirstDayChange: y,
|
|
155
155
|
onFrequencyChange: a,
|
|
156
156
|
onSecondDayChange: v,
|
|
157
157
|
secondDay: C
|
|
@@ -162,24 +162,24 @@ const ee = ({
|
|
|
162
162
|
] });
|
|
163
163
|
}), Ge = A(
|
|
164
164
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
165
|
-
const { recurring:
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
const { recurring: r } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, I] = u.useState("");
|
|
166
|
+
u.useEffect(() => {
|
|
167
|
+
o({
|
|
168
168
|
accounts: i,
|
|
169
|
-
dateRange: { start:
|
|
170
|
-
custom: (
|
|
169
|
+
dateRange: { start: ue(z(), 90), end: _e(z()) },
|
|
170
|
+
custom: (_) => _.repeating_transaction_guid === t.guid
|
|
171
171
|
});
|
|
172
172
|
}, [t]);
|
|
173
|
-
const f =
|
|
174
|
-
() => a.find((
|
|
173
|
+
const f = u.useMemo(
|
|
174
|
+
() => a.find((_) => _.guid === g),
|
|
175
175
|
[g, a]
|
|
176
|
-
), p = t.repeating_transaction_type ===
|
|
176
|
+
), p = t.repeating_transaction_type === E.Income, k = async () => {
|
|
177
177
|
await l(t.guid), n();
|
|
178
178
|
}, P = () => {
|
|
179
|
-
b(!0), s(
|
|
179
|
+
b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
180
180
|
};
|
|
181
|
-
return /* @__PURE__ */ c(
|
|
182
|
-
/* @__PURE__ */ c(
|
|
181
|
+
return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
182
|
+
/* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
|
|
183
183
|
/* @__PURE__ */ e(
|
|
184
184
|
H,
|
|
185
185
|
{
|
|
@@ -189,12 +189,12 @@ const ee = ({
|
|
|
189
189
|
sx: { mb: 12 }
|
|
190
190
|
}
|
|
191
191
|
),
|
|
192
|
-
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children:
|
|
193
|
-
/* @__PURE__ */ c(
|
|
192
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
193
|
+
/* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
|
|
194
194
|
p ? "+" : "",
|
|
195
195
|
J(m, "0,0.00")
|
|
196
196
|
] }),
|
|
197
|
-
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${
|
|
197
|
+
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Re(
|
|
198
198
|
me(t.predicted_occurs_on),
|
|
199
199
|
Te.MONTH_DAY_YEAR
|
|
200
200
|
)}` })
|
|
@@ -205,8 +205,8 @@ const ee = ({
|
|
|
205
205
|
Y,
|
|
206
206
|
{
|
|
207
207
|
iconName: "checkbook",
|
|
208
|
-
label:
|
|
209
|
-
value: t.account.
|
|
208
|
+
label: r.account,
|
|
209
|
+
value: t.account.institutionName || ""
|
|
210
210
|
}
|
|
211
211
|
),
|
|
212
212
|
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
@@ -216,7 +216,7 @@ const ee = ({
|
|
|
216
216
|
Y,
|
|
217
217
|
{
|
|
218
218
|
iconName: "monetization_on",
|
|
219
|
-
label:
|
|
219
|
+
label: r.category,
|
|
220
220
|
value: f.category
|
|
221
221
|
}
|
|
222
222
|
),
|
|
@@ -233,18 +233,18 @@ const ee = ({
|
|
|
233
233
|
startIcon: /* @__PURE__ */ e(pe, {}),
|
|
234
234
|
sx: { mx: 24, my: 16 },
|
|
235
235
|
variant: "text",
|
|
236
|
-
children: p ?
|
|
236
|
+
children: p ? r.delete_income_title : r.delete_expense_title
|
|
237
237
|
}
|
|
238
238
|
),
|
|
239
|
-
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "
|
|
239
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
|
|
240
240
|
/* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
|
|
241
241
|
/* @__PURE__ */ e(
|
|
242
242
|
O,
|
|
243
243
|
{
|
|
244
|
-
ariaLabelClose:
|
|
244
|
+
ariaLabelClose: r.close_drawer_aria,
|
|
245
245
|
isOpen: !!g && !!f,
|
|
246
246
|
onClose: () => I(""),
|
|
247
|
-
title:
|
|
247
|
+
title: r.transaction_details_drawer_title,
|
|
248
248
|
children: f && /* @__PURE__ */ e(ge, { transaction: f })
|
|
249
249
|
}
|
|
250
250
|
),
|
|
@@ -252,13 +252,13 @@ const ee = ({
|
|
|
252
252
|
Le,
|
|
253
253
|
{
|
|
254
254
|
copy: {
|
|
255
|
-
title: p ?
|
|
256
|
-
close_aria:
|
|
255
|
+
title: p ? r.delete_income_title : r.delete_expense_title,
|
|
256
|
+
close_aria: r.close_drawer_aria
|
|
257
257
|
},
|
|
258
258
|
isOpen: v,
|
|
259
259
|
onClose: () => b(!1),
|
|
260
260
|
onPrimaryAction: k,
|
|
261
|
-
children: /* @__PURE__ */ e(S, { children: p ?
|
|
261
|
+
children: /* @__PURE__ */ e(S, { children: p ? r.delete_income_description : r.delete_expense_description })
|
|
262
262
|
}
|
|
263
263
|
)
|
|
264
264
|
] });
|
|
@@ -266,10 +266,10 @@ const ee = ({
|
|
|
266
266
|
), Pe = A(
|
|
267
267
|
({ onClick: n = () => {
|
|
268
268
|
}, repeatingTransaction: t }) => {
|
|
269
|
-
const { recurring:
|
|
269
|
+
const { recurring: r } = w(), [i, s] = u.useState(!1), l = u.useMemo(
|
|
270
270
|
() => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
|
|
271
271
|
[t]
|
|
272
|
-
),
|
|
272
|
+
), o = t.account?.institutionName || "", a = t.repeating_transaction_type === E.Income, m = Q(r, t, !0);
|
|
273
273
|
return /* @__PURE__ */ c(ie, { disableGutters: !0, disablePadding: !0, children: [
|
|
274
274
|
/* @__PURE__ */ c(ce, { onClick: () => {
|
|
275
275
|
n(t), s(!0);
|
|
@@ -281,22 +281,22 @@ const ee = ({
|
|
|
281
281
|
merchantGuid: t.merchant_guid
|
|
282
282
|
}
|
|
283
283
|
) }),
|
|
284
|
-
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(
|
|
285
|
-
/* @__PURE__ */ c(
|
|
284
|
+
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
285
|
+
/* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
|
|
286
286
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
287
|
-
/* @__PURE__ */ c(
|
|
287
|
+
/* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
288
288
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
289
289
|
ae,
|
|
290
290
|
{
|
|
291
|
-
alt:
|
|
291
|
+
alt: o,
|
|
292
292
|
institutionGuid: t.account?.institution_guid,
|
|
293
293
|
size: 12
|
|
294
294
|
}
|
|
295
295
|
),
|
|
296
|
-
/* @__PURE__ */ e(S, { variant: "caption", children:
|
|
296
|
+
/* @__PURE__ */ e(S, { variant: "caption", children: o })
|
|
297
297
|
] })
|
|
298
298
|
] }),
|
|
299
|
-
/* @__PURE__ */ c(
|
|
299
|
+
/* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
300
300
|
/* @__PURE__ */ c(
|
|
301
301
|
S,
|
|
302
302
|
{
|
|
@@ -310,7 +310,7 @@ const ee = ({
|
|
|
310
310
|
}
|
|
311
311
|
),
|
|
312
312
|
/* @__PURE__ */ e(
|
|
313
|
-
|
|
313
|
+
h,
|
|
314
314
|
{
|
|
315
315
|
direction: "row",
|
|
316
316
|
sx: {
|
|
@@ -329,10 +329,10 @@ const ee = ({
|
|
|
329
329
|
/* @__PURE__ */ e(
|
|
330
330
|
O,
|
|
331
331
|
{
|
|
332
|
-
ariaLabelClose:
|
|
332
|
+
ariaLabelClose: r.close_drawer_aria,
|
|
333
333
|
isOpen: i,
|
|
334
334
|
onClose: () => s(!1),
|
|
335
|
-
title: t.repeating_transaction_type ===
|
|
335
|
+
title: t.repeating_transaction_type === E.Income ? r.income_details : r.expense_details,
|
|
336
336
|
children: /* @__PURE__ */ e(
|
|
337
337
|
Ge,
|
|
338
338
|
{
|
|
@@ -348,11 +348,11 @@ const ee = ({
|
|
|
348
348
|
({
|
|
349
349
|
bgcolor: n = "background.default",
|
|
350
350
|
description: t,
|
|
351
|
-
onSearch:
|
|
351
|
+
onSearch: r,
|
|
352
352
|
onSelected: i
|
|
353
353
|
}) => {
|
|
354
|
-
const { recurring: s } = w(), { searchValue: l, setSearchValue:
|
|
355
|
-
return /* @__PURE__ */ c(
|
|
354
|
+
const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = fe();
|
|
355
|
+
return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
356
356
|
t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
|
|
357
357
|
/* @__PURE__ */ e(
|
|
358
358
|
Ne,
|
|
@@ -360,7 +360,7 @@ const ee = ({
|
|
|
360
360
|
ariaLabel: s.select_transaction_search_aria,
|
|
361
361
|
cancelAriaLabel: s.select_transaction_search_cancel_aria,
|
|
362
362
|
onChange: (a) => {
|
|
363
|
-
|
|
363
|
+
o(a), r(a);
|
|
364
364
|
},
|
|
365
365
|
placeholder: s.select_transaction_search_placeholder,
|
|
366
366
|
searchValue: l
|
|
@@ -382,21 +382,21 @@ const ee = ({
|
|
|
382
382
|
({
|
|
383
383
|
bgcolor: n = "background.default",
|
|
384
384
|
firstDay: t,
|
|
385
|
-
secondDay:
|
|
385
|
+
secondDay: r,
|
|
386
386
|
frequency: i,
|
|
387
387
|
onFrequencyChange: s,
|
|
388
388
|
onFirstDayChange: l,
|
|
389
|
-
onSecondDayChange:
|
|
389
|
+
onSecondDayChange: o,
|
|
390
390
|
transaction: a
|
|
391
391
|
}) => {
|
|
392
392
|
const { recurring: m } = w();
|
|
393
|
-
return /* @__PURE__ */ c(
|
|
394
|
-
/* @__PURE__ */ c(
|
|
393
|
+
return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
394
|
+
/* @__PURE__ */ c(h, { children: [
|
|
395
395
|
/* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
|
|
396
396
|
/* @__PURE__ */ e(be, { transaction: a })
|
|
397
397
|
] }),
|
|
398
398
|
/* @__PURE__ */ c(M, { children: [
|
|
399
|
-
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "
|
|
399
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
|
|
400
400
|
/* @__PURE__ */ e(
|
|
401
401
|
ee,
|
|
402
402
|
{
|
|
@@ -404,56 +404,56 @@ const ee = ({
|
|
|
404
404
|
frequency: i,
|
|
405
405
|
onFirstDayChange: l,
|
|
406
406
|
onFrequencyChange: s,
|
|
407
|
-
onSecondDayChange:
|
|
408
|
-
secondDay:
|
|
407
|
+
onSecondDayChange: o,
|
|
408
|
+
secondDay: r
|
|
409
409
|
}
|
|
410
410
|
)
|
|
411
411
|
] })
|
|
412
412
|
] });
|
|
413
413
|
}
|
|
414
|
-
),
|
|
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(
|
|
415
415
|
({
|
|
416
416
|
isIncome: n = !1,
|
|
417
417
|
label: t,
|
|
418
|
-
onAddRecurringTransaction:
|
|
418
|
+
onAddRecurringTransaction: r = () => null
|
|
419
419
|
}) => {
|
|
420
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions:
|
|
421
|
-
() =>
|
|
422
|
-
[v,
|
|
420
|
+
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = 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
|
+
() => o.find((x) => x.guid === v),
|
|
422
|
+
[v, o]
|
|
423
423
|
), ne = () => {
|
|
424
|
-
C(!0), l(n ? { ...s, custom: W } : { ...s, custom:
|
|
425
|
-
},
|
|
426
|
-
if (!
|
|
424
|
+
C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
425
|
+
}, oe = async () => {
|
|
426
|
+
if (!_) {
|
|
427
427
|
j();
|
|
428
428
|
return;
|
|
429
429
|
}
|
|
430
|
-
|
|
431
|
-
const x = de(g, ke(
|
|
432
|
-
account_guid:
|
|
433
|
-
amount:
|
|
430
|
+
r();
|
|
431
|
+
const x = de(g, ke(_.date)), D = {
|
|
432
|
+
account_guid: _.account_guid,
|
|
433
|
+
amount: _.amount,
|
|
434
434
|
created_by: 0,
|
|
435
435
|
// User
|
|
436
|
-
merchant_guid:
|
|
437
|
-
description:
|
|
436
|
+
merchant_guid: _.merchant_guid,
|
|
437
|
+
description: _.payee || _.description || _.feed_description,
|
|
438
438
|
predicted_occurs_on: Oe(x, { representation: "date" }),
|
|
439
439
|
recurrence_day: f,
|
|
440
440
|
recurrence_type: g,
|
|
441
|
-
repeating_transaction_type: n ?
|
|
441
|
+
repeating_transaction_type: n ? E.Income : E.Bill,
|
|
442
442
|
second_recurrence_day: k,
|
|
443
|
-
transaction_type:
|
|
443
|
+
transaction_type: _.transaction_type,
|
|
444
444
|
user_guid: m.guid
|
|
445
445
|
};
|
|
446
|
-
await a(D,
|
|
446
|
+
await a(D, _), j();
|
|
447
447
|
}, j = () => {
|
|
448
448
|
b(""), C(!1);
|
|
449
449
|
};
|
|
450
450
|
return /* @__PURE__ */ c(L, { children: [
|
|
451
|
-
/* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(
|
|
451
|
+
/* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
|
|
452
452
|
/* @__PURE__ */ e(
|
|
453
453
|
O,
|
|
454
454
|
{
|
|
455
455
|
ariaLabelClose: i.close_drawer_aria,
|
|
456
|
-
isOpen:
|
|
456
|
+
isOpen: y,
|
|
457
457
|
onClose: () => C(!1),
|
|
458
458
|
title: t,
|
|
459
459
|
children: /* @__PURE__ */ e(
|
|
@@ -463,7 +463,7 @@ const ee = ({
|
|
|
463
463
|
onSearch: (x) => {
|
|
464
464
|
l({
|
|
465
465
|
...s,
|
|
466
|
-
custom: (D) => n ? x ?
|
|
466
|
+
custom: (D) => n ? x ? Be(D, x) : W(D) : x ? ze(D, x) : q(D)
|
|
467
467
|
});
|
|
468
468
|
},
|
|
469
469
|
onSelected: (x) => b(x)
|
|
@@ -477,9 +477,9 @@ const ee = ({
|
|
|
477
477
|
ariaLabelClose: i.close_drawer_aria,
|
|
478
478
|
isOpen: !!v,
|
|
479
479
|
onClose: () => b(""),
|
|
480
|
-
onPrimaryAction:
|
|
480
|
+
onPrimaryAction: oe,
|
|
481
481
|
title: n ? i.income_details : i.expense_details,
|
|
482
|
-
children:
|
|
482
|
+
children: _ && /* @__PURE__ */ e(
|
|
483
483
|
Ye,
|
|
484
484
|
{
|
|
485
485
|
firstDay: f,
|
|
@@ -488,28 +488,28 @@ const ee = ({
|
|
|
488
488
|
onFrequencyChange: I,
|
|
489
489
|
onSecondDayChange: P,
|
|
490
490
|
secondDay: k,
|
|
491
|
-
transaction:
|
|
491
|
+
transaction: _
|
|
492
492
|
}
|
|
493
493
|
)
|
|
494
494
|
}
|
|
495
495
|
)
|
|
496
496
|
] });
|
|
497
497
|
}
|
|
498
|
-
),
|
|
498
|
+
), qe = A(
|
|
499
499
|
({ zeroStateFor: n }) => {
|
|
500
|
-
const { recurring: t } = w(), { onEvent:
|
|
501
|
-
return /* @__PURE__ */ c(
|
|
502
|
-
/* @__PURE__ */ e(
|
|
500
|
+
const { recurring: t } = w(), { onEvent: r } = 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, o = i ? t.add_income : t.add_expense;
|
|
501
|
+
return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
502
|
+
/* @__PURE__ */ e(ye, { size: 48 }),
|
|
503
503
|
/* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
504
504
|
/* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
505
505
|
/* @__PURE__ */ e(
|
|
506
506
|
te,
|
|
507
507
|
{
|
|
508
508
|
isIncome: i,
|
|
509
|
-
label:
|
|
509
|
+
label: o,
|
|
510
510
|
onAddRecurringTransaction: () => {
|
|
511
|
-
|
|
512
|
-
i ?
|
|
511
|
+
r(
|
|
512
|
+
i ? R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : R.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
|
|
513
513
|
);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -517,30 +517,30 @@ const ee = ({
|
|
|
517
517
|
] });
|
|
518
518
|
}
|
|
519
519
|
), It = A(({ forOverview: n = !1 }) => {
|
|
520
|
-
const { recurring: t } = w(), {
|
|
521
|
-
i(
|
|
520
|
+
const { recurring: t } = w(), { repeatingTransactions: r } = F(), { onEvent: i } = G(), s = (a) => {
|
|
521
|
+
i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
522
522
|
repeating_transaction_guid: a.guid
|
|
523
523
|
});
|
|
524
524
|
}, l = () => {
|
|
525
|
-
i(
|
|
526
|
-
},
|
|
527
|
-
(a) => a.repeating_transaction_type ===
|
|
525
|
+
i(R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
|
|
526
|
+
}, o = r.filter(
|
|
527
|
+
(a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
|
|
528
528
|
);
|
|
529
|
-
return /* @__PURE__ */ e(L, { children:
|
|
530
|
-
|
|
529
|
+
return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
|
|
530
|
+
h,
|
|
531
531
|
{
|
|
532
532
|
sx: {
|
|
533
533
|
height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
|
|
534
534
|
maxHeight: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)"
|
|
535
535
|
},
|
|
536
536
|
children: [
|
|
537
|
-
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "
|
|
538
|
-
/* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children:
|
|
537
|
+
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
538
|
+
/* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
|
|
539
539
|
/* @__PURE__ */ e(Pe, { onClick: s, repeatingTransaction: a }),
|
|
540
540
|
/* @__PURE__ */ e(
|
|
541
541
|
T,
|
|
542
542
|
{
|
|
543
|
-
variant: m <
|
|
543
|
+
variant: m < o.length - 1 ? "inset" : "fullWidth"
|
|
544
544
|
}
|
|
545
545
|
)
|
|
546
546
|
] }, a.guid)) }) }),
|
|
@@ -570,16 +570,16 @@ const ee = ({
|
|
|
570
570
|
] })
|
|
571
571
|
]
|
|
572
572
|
}
|
|
573
|
-
) : /* @__PURE__ */ e(
|
|
573
|
+
) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
|
|
574
574
|
});
|
|
575
575
|
export {
|
|
576
576
|
te as A,
|
|
577
577
|
It as M,
|
|
578
578
|
Pe as R,
|
|
579
579
|
Ue as S,
|
|
580
|
-
|
|
580
|
+
qe as a,
|
|
581
581
|
Ge as b,
|
|
582
582
|
Ye as c,
|
|
583
583
|
W as d,
|
|
584
|
-
|
|
584
|
+
Be as i
|
|
585
585
|
};
|