@mx-cartographer/experiences 7.2.13-alpha.mm3 → 7.2.14-alpha-ram1
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 +8 -0
- package/dist/{Account-B-CuHOYf.mjs → Account-01wOyrH1.mjs} +1 -1
- package/dist/{AccountDetailsContent-bqByD9ea.mjs → AccountDetailsContent-C_ZRryuO.mjs} +10 -10
- package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-D5h5tdeG.mjs} +8 -8
- package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
- package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
- package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-DYwH7yC9.mjs} +40 -29
- package/dist/{Accounts-IeEtQjzA.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-DaFRU5st.mjs → ConnectDrawer-CuUj16NH.mjs} +3 -2
- package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +14 -13
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/Donut-oaQFlbit.mjs +86 -0
- 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-CyGPqKlT.mjs +440 -0
- package/dist/{GoalStore-TD0BfzWX.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-Cw-QhHiy.mjs → ManageIncome-C3bINPG2.mjs} +112 -111
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-B_1oulrt.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-Dhf7DHVC.mjs → RecurringSettings-B_mCFQhb.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-DW7T0W0z.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-C88Ecu2W.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 +456 -431
- 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 +35 -35
- 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 -1053
- package/dist/finstrong/stores/FinstrongStore.d.ts +12 -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 +6 -6
- 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 +273 -398
- package/dist/transactions/index.es.js +174 -201
- package/dist/trends/index.es.js +95 -95
- package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
- package/dist/useAriaLive-B3_pRUio.mjs +35 -0
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Donut-1UMNcG67.mjs +0 -57
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
|
@@ -6,10 +6,10 @@ import C from "@mui/material/ListItemButton";
|
|
|
6
6
|
import I from "@mui/material/ListItemText";
|
|
7
7
|
import L from "@mui/material/Stack";
|
|
8
8
|
import { ChevronRight as g } from "@mxenabled/mx-icons";
|
|
9
|
-
import { Text as
|
|
10
|
-
import {
|
|
11
|
-
import { u as P } from "./hooks-
|
|
12
|
-
const
|
|
9
|
+
import { Text as a } from "@mxenabled/mxui";
|
|
10
|
+
import { D as j } from "./Dialog-BPTr3qHE.mjs";
|
|
11
|
+
import { u as P } from "./hooks-C41HAxM5.mjs";
|
|
12
|
+
const q = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
15
15
|
isDisabled: i = !1,
|
|
@@ -21,7 +21,7 @@ const D = v(
|
|
|
21
21
|
secondaryText: y,
|
|
22
22
|
zeroStateText: o
|
|
23
23
|
}) => {
|
|
24
|
-
const { common:
|
|
24
|
+
const { common: m } = P(), [d, t] = b.useState(!1), h = () => {
|
|
25
25
|
t(!1), c?.();
|
|
26
26
|
}, u = () => {
|
|
27
27
|
t(!1), l();
|
|
@@ -32,9 +32,9 @@ const D = v(
|
|
|
32
32
|
I,
|
|
33
33
|
{
|
|
34
34
|
primary: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
35
|
-
/* @__PURE__ */ r(
|
|
35
|
+
/* @__PURE__ */ r(a, { variant: "body1", children: f }),
|
|
36
36
|
/* @__PURE__ */ r(
|
|
37
|
-
|
|
37
|
+
a,
|
|
38
38
|
{
|
|
39
39
|
bold: !0,
|
|
40
40
|
color: o ? "primary.main" : "text.primary",
|
|
@@ -52,12 +52,12 @@ const D = v(
|
|
|
52
52
|
/* @__PURE__ */ r(
|
|
53
53
|
j,
|
|
54
54
|
{
|
|
55
|
-
copy: { title: p, close_aria:
|
|
55
|
+
copy: { title: p, close_aria: m.close_aria },
|
|
56
56
|
disablePrimaryButton: s,
|
|
57
57
|
isOpen: d,
|
|
58
58
|
onClose: h,
|
|
59
59
|
onPrimaryAction: u,
|
|
60
|
-
primaryText:
|
|
60
|
+
primaryText: m.save_button,
|
|
61
61
|
children: n
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -65,5 +65,5 @@ const D = v(
|
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
q as L
|
|
69
69
|
};
|
|
@@ -1,39 +1,38 @@
|
|
|
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
|
-
import
|
|
7
|
+
import p from "@mui/material/Stack";
|
|
8
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 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";
|
|
18
17
|
import $ from "@mui/material/Button";
|
|
19
|
-
import { Delete as
|
|
20
|
-
import { T as X, a as
|
|
21
|
-
import { getDayOfYear as
|
|
22
|
-
import { setDayOfYear as
|
|
23
|
-
import { AdapterDateFns as
|
|
24
|
-
import { DatePicker as
|
|
25
|
-
import { LocalizationProvider as
|
|
26
|
-
import { u as w, j as
|
|
27
|
-
import { b as
|
|
28
|
-
import { D as O } from "./Drawer-
|
|
29
|
-
import { A as R } from "./WidgetContainer-
|
|
30
|
-
import { f as
|
|
31
|
-
import { formatISO as
|
|
32
|
-
import { fromUnixTime as
|
|
33
|
-
import { S as
|
|
34
|
-
import { h as
|
|
18
|
+
import { Delete as me, Add as he, ReceiptLong as pe } from "@mxenabled/mx-icons";
|
|
19
|
+
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-CaJruWq3.mjs";
|
|
20
|
+
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
|
+
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
22
|
+
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
23
|
+
import { DatePicker as ve } from "@mui/x-date-pickers";
|
|
24
|
+
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
25
|
+
import { u as w, j as F, g as G, b as Ae, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
|
|
26
|
+
import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
27
|
+
import { D as O } from "./Drawer-BEtCk82g.mjs";
|
|
28
|
+
import { A as R } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
29
|
+
import { f as Ee, a as Re, D as Te } from "./Dialog-BPTr3qHE.mjs";
|
|
30
|
+
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
|
+
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
32
|
+
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
33
|
+
import { h as Ne } from "./DateUtil-CBdcsyuk.mjs";
|
|
35
34
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
-
import { T as V } from "./User-
|
|
35
|
+
import { T as V } from "./User-wXzDI4M8.mjs";
|
|
37
36
|
const ee = ({
|
|
38
37
|
frequency: n,
|
|
39
38
|
firstDay: t,
|
|
@@ -62,15 +61,15 @@ const ee = ({
|
|
|
62
61
|
{ id: 4, label: o.weekday_thursday },
|
|
63
62
|
{ id: 5, label: o.weekday_friday },
|
|
64
63
|
{ id: 6, label: o.weekday_saturday }
|
|
65
|
-
], y = [...Array(31).keys()].map((
|
|
66
|
-
id:
|
|
67
|
-
label:
|
|
64
|
+
], y = [...Array(31).keys()].map((h) => ({
|
|
65
|
+
id: h + 1,
|
|
66
|
+
label: Ie(h + 1)
|
|
68
67
|
}));
|
|
69
68
|
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,
|
|
71
|
-
|
|
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, D = xe(z(), t), f = (h) => {
|
|
70
|
+
h && s(be(h));
|
|
72
71
|
};
|
|
73
|
-
return /* @__PURE__ */ c(
|
|
72
|
+
return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
|
|
74
73
|
/* @__PURE__ */ e(
|
|
75
74
|
N,
|
|
76
75
|
{
|
|
@@ -107,18 +106,18 @@ const ee = ({
|
|
|
107
106
|
value: r || 0
|
|
108
107
|
}
|
|
109
108
|
),
|
|
110
|
-
n === d.EveryYear && /* @__PURE__ */ e(
|
|
111
|
-
|
|
109
|
+
n === d.EveryYear && /* @__PURE__ */ e(we, { dateAdapter: Se, children: /* @__PURE__ */ e(
|
|
110
|
+
ve,
|
|
112
111
|
{
|
|
113
112
|
disablePast: !0,
|
|
114
113
|
label: o.next_payment_date,
|
|
115
114
|
onChange: f,
|
|
116
|
-
value:
|
|
115
|
+
value: D
|
|
117
116
|
}
|
|
118
117
|
) })
|
|
119
118
|
] });
|
|
120
|
-
},
|
|
121
|
-
const { recurring: t } = w(), { updateRepeatingTransaction: r } =
|
|
119
|
+
}, Me = A(({ repeatingTransaction: n }) => {
|
|
120
|
+
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
121
|
await r({
|
|
123
122
|
...n,
|
|
124
123
|
recurrence_type: o,
|
|
@@ -160,9 +159,9 @@ const ee = ({
|
|
|
160
159
|
}
|
|
161
160
|
)
|
|
162
161
|
] });
|
|
163
|
-
}),
|
|
162
|
+
}), Fe = A(
|
|
164
163
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
165
|
-
const { recurring: r } = w(), { selectedAccountGuids: i } =
|
|
164
|
+
const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { 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, D] = u.useState("");
|
|
166
165
|
u.useEffect(() => {
|
|
167
166
|
o({
|
|
168
167
|
accounts: i,
|
|
@@ -173,13 +172,13 @@ const ee = ({
|
|
|
173
172
|
const f = u.useMemo(
|
|
174
173
|
() => a.find((_) => _.guid === g),
|
|
175
174
|
[g, a]
|
|
176
|
-
),
|
|
175
|
+
), h = t.repeating_transaction_type === E.Income, k = async () => {
|
|
177
176
|
await l(t.guid), n();
|
|
178
|
-
},
|
|
177
|
+
}, P = () => {
|
|
179
178
|
b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
180
179
|
};
|
|
181
|
-
return /* @__PURE__ */ c(
|
|
182
|
-
/* @__PURE__ */ c(
|
|
180
|
+
return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
181
|
+
/* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
|
|
183
182
|
/* @__PURE__ */ e(
|
|
184
183
|
H,
|
|
185
184
|
{
|
|
@@ -190,13 +189,13 @@ const ee = ({
|
|
|
190
189
|
}
|
|
191
190
|
),
|
|
192
191
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
193
|
-
/* @__PURE__ */ c(re, { color:
|
|
194
|
-
|
|
192
|
+
/* @__PURE__ */ c(re, { color: h ? "success.main" : "text.primary", sx: { my: 4 }, children: [
|
|
193
|
+
h ? "+" : "",
|
|
195
194
|
J(m, "0,0.00")
|
|
196
195
|
] }),
|
|
197
|
-
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ee(
|
|
197
|
+
t.predicted_occurs_on,
|
|
198
|
+
Re.MONTH_DAY_YEAR
|
|
200
199
|
)}` })
|
|
201
200
|
] }),
|
|
202
201
|
/* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: [
|
|
@@ -222,48 +221,48 @@ const ee = ({
|
|
|
222
221
|
),
|
|
223
222
|
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
224
223
|
] }),
|
|
225
|
-
/* @__PURE__ */ e(
|
|
224
|
+
/* @__PURE__ */ e(Me, { repeatingTransaction: t }),
|
|
226
225
|
/* @__PURE__ */ e(T, {})
|
|
227
226
|
] }),
|
|
228
227
|
/* @__PURE__ */ e(
|
|
229
228
|
$,
|
|
230
229
|
{
|
|
231
230
|
color: "error",
|
|
232
|
-
onClick:
|
|
233
|
-
startIcon: /* @__PURE__ */ e(
|
|
231
|
+
onClick: P,
|
|
232
|
+
startIcon: /* @__PURE__ */ e(me, {}),
|
|
234
233
|
sx: { mx: 24, my: 16 },
|
|
235
234
|
variant: "text",
|
|
236
|
-
children:
|
|
235
|
+
children: h ? r.delete_income_title : r.delete_expense_title
|
|
237
236
|
}
|
|
238
237
|
),
|
|
239
238
|
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
|
|
240
|
-
/* @__PURE__ */ e(X, { height: "30dvh", onClick:
|
|
239
|
+
/* @__PURE__ */ e(X, { height: "30dvh", onClick: D }),
|
|
241
240
|
/* @__PURE__ */ e(
|
|
242
241
|
O,
|
|
243
242
|
{
|
|
244
243
|
ariaLabelClose: r.close_drawer_aria,
|
|
245
244
|
isOpen: !!g && !!f,
|
|
246
|
-
onClose: () =>
|
|
245
|
+
onClose: () => D(""),
|
|
247
246
|
title: r.transaction_details_drawer_title,
|
|
248
|
-
children: f && /* @__PURE__ */ e(
|
|
247
|
+
children: f && /* @__PURE__ */ e(ye, { transaction: f })
|
|
249
248
|
}
|
|
250
249
|
),
|
|
251
250
|
/* @__PURE__ */ e(
|
|
252
|
-
|
|
251
|
+
Te,
|
|
253
252
|
{
|
|
254
253
|
copy: {
|
|
255
|
-
title:
|
|
254
|
+
title: h ? r.delete_income_title : r.delete_expense_title,
|
|
256
255
|
close_aria: r.close_drawer_aria
|
|
257
256
|
},
|
|
258
257
|
isOpen: v,
|
|
259
258
|
onClose: () => b(!1),
|
|
260
259
|
onPrimaryAction: k,
|
|
261
|
-
children: /* @__PURE__ */ e(S, { children:
|
|
260
|
+
children: /* @__PURE__ */ e(S, { children: h ? r.delete_income_description : r.delete_expense_description })
|
|
262
261
|
}
|
|
263
262
|
)
|
|
264
263
|
] });
|
|
265
264
|
}
|
|
266
|
-
),
|
|
265
|
+
), Ge = A(
|
|
267
266
|
({ onClick: n = () => {
|
|
268
267
|
}, repeatingTransaction: t }) => {
|
|
269
268
|
const { recurring: r } = w(), [i, s] = u.useState(!1), l = u.useMemo(
|
|
@@ -281,10 +280,10 @@ const ee = ({
|
|
|
281
280
|
merchantGuid: t.merchant_guid
|
|
282
281
|
}
|
|
283
282
|
) }),
|
|
284
|
-
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(
|
|
285
|
-
/* @__PURE__ */ c(
|
|
283
|
+
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
284
|
+
/* @__PURE__ */ c(p, { direction: "column", sx: { width: "50%" }, children: [
|
|
286
285
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
287
|
-
/* @__PURE__ */ c(
|
|
286
|
+
/* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
288
287
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
289
288
|
ae,
|
|
290
289
|
{
|
|
@@ -296,7 +295,7 @@ const ee = ({
|
|
|
296
295
|
/* @__PURE__ */ e(S, { variant: "caption", children: o })
|
|
297
296
|
] })
|
|
298
297
|
] }),
|
|
299
|
-
/* @__PURE__ */ c(
|
|
298
|
+
/* @__PURE__ */ c(p, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
300
299
|
/* @__PURE__ */ c(
|
|
301
300
|
S,
|
|
302
301
|
{
|
|
@@ -310,7 +309,7 @@ const ee = ({
|
|
|
310
309
|
}
|
|
311
310
|
),
|
|
312
311
|
/* @__PURE__ */ e(
|
|
313
|
-
|
|
312
|
+
p,
|
|
314
313
|
{
|
|
315
314
|
direction: "row",
|
|
316
315
|
sx: {
|
|
@@ -334,7 +333,7 @@ const ee = ({
|
|
|
334
333
|
onClose: () => s(!1),
|
|
335
334
|
title: t.repeating_transaction_type === E.Income ? r.income_details : r.expense_details,
|
|
336
335
|
children: /* @__PURE__ */ e(
|
|
337
|
-
|
|
336
|
+
Fe,
|
|
338
337
|
{
|
|
339
338
|
onDeleted: () => s(!1),
|
|
340
339
|
recurringTransaction: t
|
|
@@ -344,18 +343,18 @@ const ee = ({
|
|
|
344
343
|
)
|
|
345
344
|
] });
|
|
346
345
|
}
|
|
347
|
-
),
|
|
346
|
+
), Pe = A(
|
|
348
347
|
({
|
|
349
348
|
bgcolor: n = "background.default",
|
|
350
349
|
description: t,
|
|
351
350
|
onSearch: r,
|
|
352
351
|
onSelected: i
|
|
353
352
|
}) => {
|
|
354
|
-
const { recurring: s } = w(), { searchValue: l, setSearchValue: o } =
|
|
355
|
-
return /* @__PURE__ */ c(
|
|
353
|
+
const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = ge();
|
|
354
|
+
return /* @__PURE__ */ c(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
356
355
|
t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
|
|
357
356
|
/* @__PURE__ */ e(
|
|
358
|
-
|
|
357
|
+
ke,
|
|
359
358
|
{
|
|
360
359
|
ariaLabel: s.select_transaction_search_aria,
|
|
361
360
|
cancelAriaLabel: s.select_transaction_search_cancel_aria,
|
|
@@ -378,7 +377,7 @@ const ee = ({
|
|
|
378
377
|
)
|
|
379
378
|
] });
|
|
380
379
|
}
|
|
381
|
-
),
|
|
380
|
+
), Ue = A(
|
|
382
381
|
({
|
|
383
382
|
bgcolor: n = "background.default",
|
|
384
383
|
firstDay: t,
|
|
@@ -390,32 +389,34 @@ const ee = ({
|
|
|
390
389
|
transaction: a
|
|
391
390
|
}) => {
|
|
392
391
|
const { recurring: m } = w();
|
|
393
|
-
return /* @__PURE__ */ c(
|
|
394
|
-
/* @__PURE__ */ c(
|
|
395
|
-
/* @__PURE__ */ e(
|
|
396
|
-
/* @__PURE__ */ e(
|
|
392
|
+
return /* @__PURE__ */ c(p, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
393
|
+
/* @__PURE__ */ c(p, { children: [
|
|
394
|
+
/* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
|
|
395
|
+
/* @__PURE__ */ e(Ce, { transaction: a })
|
|
397
396
|
] }),
|
|
398
|
-
/* @__PURE__ */
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
397
|
+
/* @__PURE__ */ c(M, { children: [
|
|
398
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
|
|
399
|
+
/* @__PURE__ */ e(
|
|
400
|
+
ee,
|
|
401
|
+
{
|
|
402
|
+
firstDay: t,
|
|
403
|
+
frequency: i,
|
|
404
|
+
onFirstDayChange: l,
|
|
405
|
+
onFrequencyChange: s,
|
|
406
|
+
onSecondDayChange: o,
|
|
407
|
+
secondDay: r
|
|
408
|
+
}
|
|
409
|
+
)
|
|
410
|
+
] })
|
|
410
411
|
] });
|
|
411
412
|
}
|
|
412
|
-
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT,
|
|
413
|
+
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (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, ze = (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(
|
|
413
414
|
({
|
|
414
415
|
isIncome: n = !1,
|
|
415
416
|
label: t,
|
|
416
417
|
onAddRecurringTransaction: r = () => null
|
|
417
418
|
}) => {
|
|
418
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } =
|
|
419
|
+
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, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, P] = u.useState(15), _ = u.useMemo(
|
|
419
420
|
() => o.find((x) => x.guid === v),
|
|
420
421
|
[v, o]
|
|
421
422
|
), ne = () => {
|
|
@@ -426,14 +427,14 @@ const ee = ({
|
|
|
426
427
|
return;
|
|
427
428
|
}
|
|
428
429
|
r();
|
|
429
|
-
const x = de(g,
|
|
430
|
+
const x = de(g, Oe(_.date)), I = {
|
|
430
431
|
account_guid: _.account_guid,
|
|
431
432
|
amount: _.amount,
|
|
432
433
|
created_by: 0,
|
|
433
434
|
// User
|
|
434
435
|
merchant_guid: _.merchant_guid,
|
|
435
436
|
description: _.payee || _.description || _.feed_description,
|
|
436
|
-
predicted_occurs_on:
|
|
437
|
+
predicted_occurs_on: Le(x, { representation: "date" }),
|
|
437
438
|
recurrence_day: f,
|
|
438
439
|
recurrence_type: g,
|
|
439
440
|
repeating_transaction_type: n ? E.Income : E.Bill,
|
|
@@ -441,7 +442,7 @@ const ee = ({
|
|
|
441
442
|
transaction_type: _.transaction_type,
|
|
442
443
|
user_guid: m.guid
|
|
443
444
|
};
|
|
444
|
-
await a(
|
|
445
|
+
await a(I, _), j();
|
|
445
446
|
}, j = () => {
|
|
446
447
|
b(""), C(!1);
|
|
447
448
|
};
|
|
@@ -455,13 +456,13 @@ const ee = ({
|
|
|
455
456
|
onClose: () => C(!1),
|
|
456
457
|
title: t,
|
|
457
458
|
children: /* @__PURE__ */ e(
|
|
458
|
-
|
|
459
|
+
Pe,
|
|
459
460
|
{
|
|
460
461
|
description: n ? i.add_income_description : i.add_expense_description,
|
|
461
462
|
onSearch: (x) => {
|
|
462
463
|
l({
|
|
463
464
|
...s,
|
|
464
|
-
custom: (
|
|
465
|
+
custom: (I) => n ? x ? ze(I, x) : W(I) : x ? Ye(I, x) : q(I)
|
|
465
466
|
});
|
|
466
467
|
},
|
|
467
468
|
onSelected: (x) => b(x)
|
|
@@ -478,13 +479,13 @@ const ee = ({
|
|
|
478
479
|
onPrimaryAction: oe,
|
|
479
480
|
title: n ? i.income_details : i.expense_details,
|
|
480
481
|
children: _ && /* @__PURE__ */ e(
|
|
481
|
-
|
|
482
|
+
Ue,
|
|
482
483
|
{
|
|
483
484
|
firstDay: f,
|
|
484
485
|
frequency: g,
|
|
485
|
-
onFirstDayChange:
|
|
486
|
-
onFrequencyChange:
|
|
487
|
-
onSecondDayChange:
|
|
486
|
+
onFirstDayChange: h,
|
|
487
|
+
onFrequencyChange: D,
|
|
488
|
+
onSecondDayChange: P,
|
|
488
489
|
secondDay: k,
|
|
489
490
|
transaction: _
|
|
490
491
|
}
|
|
@@ -493,11 +494,11 @@ const ee = ({
|
|
|
493
494
|
)
|
|
494
495
|
] });
|
|
495
496
|
}
|
|
496
|
-
),
|
|
497
|
+
), Be = A(
|
|
497
498
|
({ zeroStateFor: n }) => {
|
|
498
|
-
const { recurring: t } = w(), { onEvent: r } =
|
|
499
|
-
return /* @__PURE__ */ c(
|
|
500
|
-
/* @__PURE__ */ e(
|
|
499
|
+
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;
|
|
500
|
+
return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
501
|
+
/* @__PURE__ */ e(pe, { size: 48 }),
|
|
501
502
|
/* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
502
503
|
/* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
503
504
|
/* @__PURE__ */ e(
|
|
@@ -514,8 +515,8 @@ const ee = ({
|
|
|
514
515
|
)
|
|
515
516
|
] });
|
|
516
517
|
}
|
|
517
|
-
),
|
|
518
|
-
const { recurring: t } = w(), { repeatingTransactions: r } =
|
|
518
|
+
), wt = A(({ forOverview: n = !1 }) => {
|
|
519
|
+
const { recurring: t } = w(), { repeatingTransactions: r } = F(), { onEvent: i } = G(), s = (a) => {
|
|
519
520
|
i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
520
521
|
repeating_transaction_guid: a.guid
|
|
521
522
|
});
|
|
@@ -525,7 +526,7 @@ const ee = ({
|
|
|
525
526
|
(a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
|
|
526
527
|
);
|
|
527
528
|
return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
|
|
528
|
-
|
|
529
|
+
p,
|
|
529
530
|
{
|
|
530
531
|
sx: {
|
|
531
532
|
height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
|
|
@@ -533,8 +534,8 @@ const ee = ({
|
|
|
533
534
|
},
|
|
534
535
|
children: [
|
|
535
536
|
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
536
|
-
/* @__PURE__ */ e(
|
|
537
|
-
/* @__PURE__ */ e(
|
|
537
|
+
/* @__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: [
|
|
538
|
+
/* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
|
|
538
539
|
/* @__PURE__ */ e(
|
|
539
540
|
T,
|
|
540
541
|
{
|
|
@@ -542,10 +543,10 @@ const ee = ({
|
|
|
542
543
|
}
|
|
543
544
|
)
|
|
544
545
|
] }, a.guid)) }) }),
|
|
545
|
-
/* @__PURE__ */ c(
|
|
546
|
+
/* @__PURE__ */ c(M, { children: [
|
|
546
547
|
/* @__PURE__ */ e(T, {}),
|
|
547
548
|
/* @__PURE__ */ e(
|
|
548
|
-
|
|
549
|
+
M,
|
|
549
550
|
{
|
|
550
551
|
sx: {
|
|
551
552
|
alignContent: "center",
|
|
@@ -568,16 +569,16 @@ const ee = ({
|
|
|
568
569
|
] })
|
|
569
570
|
]
|
|
570
571
|
}
|
|
571
|
-
) : /* @__PURE__ */ e(
|
|
572
|
+
) : /* @__PURE__ */ e(Be, { zeroStateFor: "income" }) });
|
|
572
573
|
});
|
|
573
574
|
export {
|
|
574
575
|
te as A,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
576
|
+
wt as M,
|
|
577
|
+
Ge as R,
|
|
578
|
+
Pe as S,
|
|
579
|
+
Be as a,
|
|
580
|
+
Fe as b,
|
|
581
|
+
Ue as c,
|
|
581
582
|
W as d,
|
|
582
|
-
|
|
583
|
+
ze as i
|
|
583
584
|
};
|
|
@@ -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));
|
|
@@ -15,13 +15,13 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
|
|
|
15
15
|
import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
|
|
16
16
|
import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as oe, T as F, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
|
|
18
|
-
import { u as D, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-
|
|
18
|
+
import { u as D, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-C41HAxM5.mjs";
|
|
19
19
|
import { b as ce } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as re, f as de } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
21
|
-
import {
|
|
22
|
-
import { C as me } from "./CurrencyInput-
|
|
21
|
+
import { D as M } from "./Dialog-BPTr3qHE.mjs";
|
|
22
|
+
import { C as me } from "./CurrencyInput-xH-hqry9.mjs";
|
|
23
23
|
import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
|
-
import { D as J } from "./Drawer-
|
|
24
|
+
import { D as J } from "./Drawer-BEtCk82g.mjs";
|
|
25
25
|
import _e from "@mui/material/Collapse";
|
|
26
26
|
import ue from "@mui/material/Card";
|
|
27
27
|
import pe from "@mui/material/CardContent";
|
|
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
|
|
|
30
30
|
import L from "@mui/material/TextField";
|
|
31
31
|
import { u as fe } from "./useDimensions-27p2evRx.mjs";
|
|
32
32
|
import X from "@mui/material/styles/useTheme";
|
|
33
|
-
import { u as ge } from "./useInsightsEnabled-
|
|
33
|
+
import { u as ge } from "./useInsightsEnabled-CNjP5cfR.mjs";
|
|
34
34
|
import { L as ye } from "./Loader-DUaFpDGv.mjs";
|
|
35
35
|
const be = C(() => {
|
|
36
36
|
const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
|
|
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { observer as p } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/TextField";
|
|
5
|
-
import { L as y } from "./ListItemAction-
|
|
6
|
-
import { u as h, l as b } from "./hooks-
|
|
5
|
+
import { L as y } from "./ListItemAction-uobBrm_a.mjs";
|
|
6
|
+
import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-xH-hqry9.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
11
|
-
import { u as _, j as A, g as f } from "./hooks-
|
|
12
|
-
import { R as y, F as N } from "./RecurringTransactions-
|
|
13
|
-
import { A as m } from "./WidgetContainer-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-C3bINPG2.mjs";
|
|
11
|
+
import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
|
|
12
|
+
import { R as y, F as N } from "./RecurringTransactions-CngsRZ3K.mjs";
|
|
13
|
+
import { A as m } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
15
|
const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
|
|
16
16
|
o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|