@mx-cartographer/experiences 7.0.43 → 7.0.44
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-9Tt9DsMn.mjs → Account-DNtjr75t.mjs} +1 -1
- package/dist/{AccountDetailsContent-BkxDh8cY.mjs → AccountDetailsContent-eODMVIVq.mjs} +16 -16
- package/dist/{AccountDetailsHeader-B3DiwvB7.mjs → AccountDetailsHeader-C0qgTju7.mjs} +38 -37
- package/dist/{AccountFields-DvACKQho.mjs → AccountFields-DDHk35Ou.mjs} +2 -2
- package/dist/AccountListItem-BxmUd4j3.mjs +90 -0
- package/dist/{AccountStore-BKK7dA8Y.mjs → AccountStore-CpjCeykS.mjs} +2 -2
- package/dist/{Accounts-DR3xTyAx.mjs → Accounts-nXcS0QUR.mjs} +1 -1
- package/dist/{BudgetUtil-n3gEKIub.mjs → BudgetUtil-2EncZLBQ.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-993LpETZ.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
- package/dist/{ConnectDrawer-L1_xPNYt.mjs → ConnectDrawer-YIWwEzuN.mjs} +179 -165
- package/dist/{ConnectionsDrawer-B-dZx6gH.mjs → ConnectionsDrawer-Bf2DNDCF.mjs} +2 -2
- package/dist/{CurrencyInput-pHmLzc_c.mjs → CurrencyInput-CRtdzs3o.mjs} +1 -1
- package/dist/{DebtsStore-3kGPnxRQ.mjs → DebtsStore-Dy3YG1fX.mjs} +1 -1
- package/dist/{ExportCsvAction-hsbyeBjg.mjs → ExportCsvAction-CebIvl-V.mjs} +3 -3
- package/dist/{GoalStore-B_nwDz-L.mjs → GoalStore-voP4QA5C.mjs} +2 -2
- package/dist/{Help-PP2i0N9Y.mjs → Help-CzBAsKA2.mjs} +1 -1
- package/dist/{LineChart-CHTf3RcN.mjs → LineChart-B2Y7zwMu.mjs} +1 -1
- package/dist/{ListItemAction-DXyHyJn0.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
- package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-kMsgLN3T.mjs} +37 -37
- package/dist/{MicroWidgetContainer-Dpu8VDSP.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BhHaL8eb.mjs → MiniWidgetContainer-DSG6mwaW.mjs} +1 -1
- package/dist/{NetWorthStore-fst-mYe9.mjs → NetWorthStore-C5RMjsMS.mjs} +2 -2
- package/dist/{NotificationSettings-zI5EGf1a.mjs → NotificationSettings-BCtanw2c.mjs} +3 -3
- package/dist/{OriginalBalanceAction-DSA8sk5b.mjs → OriginalBalanceAction-CEuIYsc_.mjs} +3 -3
- package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-CETLT79T.mjs} +7 -7
- package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-B-rdHE3_.mjs} +5 -5
- package/dist/{TransactionStore-De9d82Ao.mjs → TransactionStore-CfQBEIsK.mjs} +2 -2
- package/dist/{TrendsStore-DWVFqEC-.mjs → TrendsStore-BKBnNQba.mjs} +1 -1
- package/dist/{User-BwjK6Fwz.mjs → User-8itAR7lR.mjs} +1 -1
- package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-p7NIdiNJ.mjs} +2 -2
- package/dist/accounts/index.es.js +18 -18
- package/dist/analytics/index.es.js +11 -11
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +25 -25
- package/dist/categories/index.es.js +1 -1
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +3 -0
- package/dist/common/index.es.js +63 -61
- package/dist/common/utils/AccountDisplayName.d.ts +6 -0
- package/dist/common/utils/AccountFilter.d.ts +2 -1
- package/dist/dashboard/index.es.js +14 -14
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV--LPpH3es.mjs → exportTransactionsToCSV-CfylirZA.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +529 -524
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BAAimqdq.mjs → hooks-CE2TKk4a.mjs} +12 -12
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +10 -10
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +11 -11
- package/dist/useAccountDisplayName-DC1Lqjag.mjs +15 -0
- package/dist/{useInsightsEnabled-BwLaOKWW.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountListItem-FmvNfEP8.mjs +0 -89
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as p } from "./ConnectDrawer-
|
|
3
|
+
import { A as p } from "./ConnectDrawer-YIWwEzuN.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const b = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-CfylirZA.mjs";
|
|
5
|
+
import { O as m } from "./User-8itAR7lR.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-CE2TKk4a.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -7,8 +7,8 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import S from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as A } from "@mxenabled/mxui";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { k as b } from "./ConnectDrawer-YIWwEzuN.mjs";
|
|
11
|
+
import { a as y } from "./hooks-CE2TKk4a.mjs";
|
|
12
12
|
import { makeAutoObservable as D, runInAction as c } from "mobx";
|
|
13
13
|
import { F as v, A as i } from "./Fetch-87LIQbEA.mjs";
|
|
14
14
|
import { fromUnixTime as G } from "date-fns/fromUnixTime";
|
|
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
|
|
|
13
13
|
import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
|
-
import { u as V, z as tt,
|
|
16
|
+
import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-CE2TKk4a.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { E as Et, a as Ct, P as At } from "./Help-DhcC-C05.mjs";
|
|
@@ -7,7 +7,7 @@ import { f as p } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
|
7
7
|
import { observer as st } from "mobx-react-lite";
|
|
8
8
|
import { Stack as x, Box as W, useTheme as ct } from "@mui/material";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
-
import { u as dt } from "./hooks-
|
|
10
|
+
import { u as dt } from "./hooks-CE2TKk4a.mjs";
|
|
11
11
|
import { ChartsTooltip as ht } from "@mui/x-charts/ChartsTooltip";
|
|
12
12
|
const mt = (t) => {
|
|
13
13
|
const a = P(), o = t.showLabel, s = t.style, y = Number(t.x), u = Number(t.y), m = t.handlers?.onMarkClick, f = t.handlers?.onMouseEnter, c = t.handlers?.onMouseLeave, d = lt(a.breakpoints.up("sm")), n = t.valueFormatterString ? p(t.yData[t.dataIndex], t.valueFormatterString) : String(t.yData[t.dataIndex]), h = d ? a.typography.Small?.fontSize : a.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, C = n.length * k + 8 + 8, M = 24, S = y - C / 2, T = u - 30;
|
|
@@ -8,7 +8,7 @@ import L from "@mui/material/Stack";
|
|
|
8
8
|
import { ChevronRight as g } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as m } from "@mxenabled/mxui";
|
|
10
10
|
import { a as j } from "./Dialog-CWW597AF.mjs";
|
|
11
|
-
import { u as P } from "./hooks-
|
|
11
|
+
import { u as P } from "./hooks-CE2TKk4a.mjs";
|
|
12
12
|
const D = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -3,8 +3,8 @@ import u from "react";
|
|
|
3
3
|
import { observer as A } from "mobx-react-lite";
|
|
4
4
|
import P from "@mui/material/Box";
|
|
5
5
|
import T from "@mui/material/Divider";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import K from "@mui/material/List";
|
|
7
|
+
import h 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";
|
|
@@ -15,24 +15,24 @@ 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
17
|
import $ from "@mui/material/Button";
|
|
18
|
-
import { Delete as me, Add as pe, ReceiptLong as
|
|
19
|
-
import { T as X, a as
|
|
18
|
+
import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
19
|
+
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-B-rdHE3_.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
23
23
|
import { DatePicker as ve } from "@mui/x-date-pickers";
|
|
24
24
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
25
|
-
import { u as w,
|
|
25
|
+
import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-CE2TKk4a.mjs";
|
|
26
26
|
import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
27
27
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
28
|
+
import { A as R } from "./WidgetContainer-p7NIdiNJ.mjs";
|
|
29
29
|
import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
|
|
30
30
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
31
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
32
32
|
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
33
33
|
import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
|
|
34
34
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
35
|
-
import { T as V } from "./User-
|
|
35
|
+
import { T as V } from "./User-8itAR7lR.mjs";
|
|
36
36
|
const ee = ({
|
|
37
37
|
frequency: n,
|
|
38
38
|
firstDay: t,
|
|
@@ -61,15 +61,15 @@ const ee = ({
|
|
|
61
61
|
{ id: 4, label: o.weekday_thursday },
|
|
62
62
|
{ id: 5, label: o.weekday_friday },
|
|
63
63
|
{ id: 6, label: o.weekday_saturday }
|
|
64
|
-
],
|
|
64
|
+
], y = [...Array(31).keys()].map((p) => ({
|
|
65
65
|
id: p + 1,
|
|
66
66
|
label: Ie(p + 1)
|
|
67
67
|
}));
|
|
68
|
-
|
|
69
|
-
const C =
|
|
68
|
+
y[30].label += ` (${o.last_day_of_month})`;
|
|
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 = (p) => {
|
|
70
70
|
p && s(be(p));
|
|
71
71
|
};
|
|
72
|
-
return /* @__PURE__ */ c(
|
|
72
|
+
return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
|
|
73
73
|
/* @__PURE__ */ e(
|
|
74
74
|
N,
|
|
75
75
|
{
|
|
@@ -93,7 +93,7 @@ const ee = ({
|
|
|
93
93
|
{
|
|
94
94
|
label: n === d.TwiceAMonth ? o.first_day_of_the_month : o.day_of_the_month,
|
|
95
95
|
onChange: s,
|
|
96
|
-
options: n === d.TwiceAMonth ? C :
|
|
96
|
+
options: n === d.TwiceAMonth ? C : y,
|
|
97
97
|
value: t
|
|
98
98
|
}
|
|
99
99
|
),
|
|
@@ -117,7 +117,7 @@ const ee = ({
|
|
|
117
117
|
) })
|
|
118
118
|
] });
|
|
119
119
|
}, Me = A(({ repeatingTransaction: n }) => {
|
|
120
|
-
const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: a } = F(), [s, l] = u.useState(!1), [o, i] = u.useState(n.recurrence_type), [m,
|
|
120
|
+
const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: a } = F(), [s, l] = u.useState(!1), [o, i] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
|
|
121
121
|
await r({
|
|
122
122
|
...n,
|
|
123
123
|
recurrence_type: o,
|
|
@@ -150,7 +150,7 @@ const ee = ({
|
|
|
150
150
|
{
|
|
151
151
|
firstDay: m,
|
|
152
152
|
frequency: o,
|
|
153
|
-
onFirstDayChange:
|
|
153
|
+
onFirstDayChange: y,
|
|
154
154
|
onFrequencyChange: i,
|
|
155
155
|
onSecondDayChange: v,
|
|
156
156
|
secondDay: C
|
|
@@ -161,7 +161,7 @@ const ee = ({
|
|
|
161
161
|
] });
|
|
162
162
|
}), Fe = A(
|
|
163
163
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
164
|
-
const { recurring: r } = w(), { selectedAccountGuids: a } = Ae(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: i } = Z(), { amount: m, description:
|
|
164
|
+
const { recurring: r } = w(), { selectedAccountGuids: a } = Ae(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: i } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
|
|
165
165
|
u.useEffect(() => {
|
|
166
166
|
o({
|
|
167
167
|
accounts: a,
|
|
@@ -177,8 +177,8 @@ const ee = ({
|
|
|
177
177
|
}, G = () => {
|
|
178
178
|
b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
179
179
|
};
|
|
180
|
-
return /* @__PURE__ */ c(
|
|
181
|
-
/* @__PURE__ */ c(
|
|
180
|
+
return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
181
|
+
/* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
|
|
182
182
|
/* @__PURE__ */ e(
|
|
183
183
|
H,
|
|
184
184
|
{
|
|
@@ -188,7 +188,7 @@ const ee = ({
|
|
|
188
188
|
sx: { mb: 12 }
|
|
189
189
|
}
|
|
190
190
|
),
|
|
191
|
-
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children:
|
|
191
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
192
192
|
/* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
|
|
193
193
|
p ? "+" : "",
|
|
194
194
|
J(m, "0,0.00")
|
|
@@ -198,7 +198,7 @@ const ee = ({
|
|
|
198
198
|
Re.MONTH_DAY_YEAR
|
|
199
199
|
)}` })
|
|
200
200
|
] }),
|
|
201
|
-
/* @__PURE__ */ c(
|
|
201
|
+
/* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: [
|
|
202
202
|
t.account && /* @__PURE__ */ c(L, { children: [
|
|
203
203
|
/* @__PURE__ */ e(
|
|
204
204
|
Y,
|
|
@@ -244,7 +244,7 @@ const ee = ({
|
|
|
244
244
|
isOpen: !!g && !!f,
|
|
245
245
|
onClose: () => D(""),
|
|
246
246
|
title: r.transaction_details_drawer_title,
|
|
247
|
-
children: f && /* @__PURE__ */ e(
|
|
247
|
+
children: f && /* @__PURE__ */ e(ye, { transaction: f })
|
|
248
248
|
}
|
|
249
249
|
),
|
|
250
250
|
/* @__PURE__ */ e(
|
|
@@ -280,10 +280,10 @@ const ee = ({
|
|
|
280
280
|
merchantGuid: t.merchant_guid
|
|
281
281
|
}
|
|
282
282
|
) }),
|
|
283
|
-
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(
|
|
284
|
-
/* @__PURE__ */ c(
|
|
283
|
+
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
284
|
+
/* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
|
|
285
285
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
286
|
-
/* @__PURE__ */ c(
|
|
286
|
+
/* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
287
287
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
288
288
|
ae,
|
|
289
289
|
{
|
|
@@ -295,7 +295,7 @@ const ee = ({
|
|
|
295
295
|
/* @__PURE__ */ e(S, { variant: "caption", children: o })
|
|
296
296
|
] })
|
|
297
297
|
] }),
|
|
298
|
-
/* @__PURE__ */ c(
|
|
298
|
+
/* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
299
299
|
/* @__PURE__ */ c(
|
|
300
300
|
S,
|
|
301
301
|
{
|
|
@@ -309,7 +309,7 @@ const ee = ({
|
|
|
309
309
|
}
|
|
310
310
|
),
|
|
311
311
|
/* @__PURE__ */ e(
|
|
312
|
-
|
|
312
|
+
h,
|
|
313
313
|
{
|
|
314
314
|
direction: "row",
|
|
315
315
|
sx: {
|
|
@@ -351,7 +351,7 @@ const ee = ({
|
|
|
351
351
|
onSelected: a
|
|
352
352
|
}) => {
|
|
353
353
|
const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = ge();
|
|
354
|
-
return /* @__PURE__ */ c(
|
|
354
|
+
return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
355
355
|
t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
|
|
356
356
|
/* @__PURE__ */ e(
|
|
357
357
|
ke,
|
|
@@ -380,8 +380,8 @@ const ee = ({
|
|
|
380
380
|
transaction: i
|
|
381
381
|
}) => {
|
|
382
382
|
const { recurring: m } = w();
|
|
383
|
-
return /* @__PURE__ */ c(
|
|
384
|
-
/* @__PURE__ */ c(
|
|
383
|
+
return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
384
|
+
/* @__PURE__ */ c(h, { children: [
|
|
385
385
|
/* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(i.date) }),
|
|
386
386
|
/* @__PURE__ */ e(Ce, { transaction: i })
|
|
387
387
|
] }),
|
|
@@ -405,14 +405,14 @@ const ee = ({
|
|
|
405
405
|
label: t,
|
|
406
406
|
onAddRecurringTransaction: r = () => null
|
|
407
407
|
}) => {
|
|
408
|
-
const { recurring: a } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: i } = M(), { user: m } = De(), [
|
|
408
|
+
const { recurring: a } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: i } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
|
|
409
409
|
() => o.find((x) => x.guid === v),
|
|
410
410
|
[v, o]
|
|
411
411
|
), ne = () => {
|
|
412
412
|
C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
413
413
|
}, oe = async () => {
|
|
414
414
|
if (!_) {
|
|
415
|
-
|
|
415
|
+
j();
|
|
416
416
|
return;
|
|
417
417
|
}
|
|
418
418
|
r();
|
|
@@ -431,8 +431,8 @@ const ee = ({
|
|
|
431
431
|
transaction_type: _.transaction_type,
|
|
432
432
|
user_guid: m.guid
|
|
433
433
|
};
|
|
434
|
-
await i(I, _),
|
|
435
|
-
},
|
|
434
|
+
await i(I, _), j();
|
|
435
|
+
}, j = () => {
|
|
436
436
|
b(""), C(!1);
|
|
437
437
|
};
|
|
438
438
|
return /* @__PURE__ */ c(L, { children: [
|
|
@@ -441,7 +441,7 @@ const ee = ({
|
|
|
441
441
|
O,
|
|
442
442
|
{
|
|
443
443
|
ariaLabelClose: a.close_drawer_aria,
|
|
444
|
-
isOpen:
|
|
444
|
+
isOpen: y,
|
|
445
445
|
onClose: () => C(!1),
|
|
446
446
|
title: t,
|
|
447
447
|
children: /* @__PURE__ */ e(
|
|
@@ -486,8 +486,8 @@ const ee = ({
|
|
|
486
486
|
), Be = A(
|
|
487
487
|
({ zeroStateFor: n }) => {
|
|
488
488
|
const { recurring: t } = w(), { onEvent: r } = F(), a = n === "income", s = a ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = a ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = a ? t.add_income : t.add_expense;
|
|
489
|
-
return /* @__PURE__ */ c(
|
|
490
|
-
/* @__PURE__ */ e(
|
|
489
|
+
return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
490
|
+
/* @__PURE__ */ e(he, { size: 48 }),
|
|
491
491
|
/* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
492
492
|
/* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
493
493
|
/* @__PURE__ */ e(
|
|
@@ -515,7 +515,7 @@ const ee = ({
|
|
|
515
515
|
(i) => i.repeating_transaction_type === E.Income && (i.transactions.length > 0 || i.recurrence_type === d.EveryYear)
|
|
516
516
|
);
|
|
517
517
|
return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
|
|
518
|
-
|
|
518
|
+
h,
|
|
519
519
|
{
|
|
520
520
|
sx: {
|
|
521
521
|
height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
|
|
@@ -523,7 +523,7 @@ const ee = ({
|
|
|
523
523
|
},
|
|
524
524
|
children: [
|
|
525
525
|
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
526
|
-
/* @__PURE__ */ e(P, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(
|
|
526
|
+
/* @__PURE__ */ e(P, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((i, m) => /* @__PURE__ */ c(u.Fragment, { children: [
|
|
527
527
|
/* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: i }),
|
|
528
528
|
/* @__PURE__ */ e(
|
|
529
529
|
T,
|
|
@@ -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-CE2TKk4a.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -7,7 +7,7 @@ import b from "@mui/material/IconButton";
|
|
|
7
7
|
import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
|
|
8
8
|
import { Text as W, H3 as H } from "@mxenabled/mxui";
|
|
9
9
|
import { u as I } from "./useDimensions-27p2evRx.mjs";
|
|
10
|
-
import { W as M } from "./hooks-
|
|
10
|
+
import { W as M } from "./hooks-CE2TKk4a.mjs";
|
|
11
11
|
const j = ({
|
|
12
12
|
className: t = "mx-cmn-mini-widget",
|
|
13
13
|
closeLabel: a,
|
|
@@ -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-nXcS0QUR.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-YIWwEzuN.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,11 +15,11 @@ 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 "./Notification-aGCHxikw.mjs";
|
|
18
|
-
import { u as D, r as T, o as A,
|
|
18
|
+
import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CE2TKk4a.mjs";
|
|
19
19
|
import { b as ce } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as re, f as de } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import { a as M } from "./Dialog-CWW597AF.mjs";
|
|
22
|
-
import { C as me } from "./CurrencyInput-
|
|
22
|
+
import { C as me } from "./CurrencyInput-CRtdzs3o.mjs";
|
|
23
23
|
import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
25
25
|
import _e from "@mui/material/Collapse";
|
|
@@ -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-DSnpkUq0.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,
|
|
5
|
+
import { L as y } from "./ListItemAction-DSrYDGAP.mjs";
|
|
6
|
+
import { u as h, l as b } from "./hooks-CE2TKk4a.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-CRtdzs3o.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,12 +7,12 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import p 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 h,
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-kMsgLN3T.mjs";
|
|
11
|
+
import { u as h, j as A, g as _ } from "./hooks-CE2TKk4a.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-p7NIdiNJ.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
|
-
const { recurring: n } = h(), { repeatingTransactions: c } = A(), { onEvent: o } =
|
|
15
|
+
const { recurring: n } = h(), { repeatingTransactions: c } = A(), { onEvent: o } = _(), a = (r) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
17
17
|
repeating_transaction_guid: r.guid
|
|
18
18
|
});
|
|
@@ -29,12 +29,12 @@ const I = u(() => {
|
|
|
29
29
|
maxHeight: "calc(100vh - 109px)"
|
|
30
30
|
},
|
|
31
31
|
children: [
|
|
32
|
-
/* @__PURE__ */ e(s, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(R, { sx: { bgcolor: "background.paper" }, children: i.map((r,
|
|
32
|
+
/* @__PURE__ */ e(s, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(R, { sx: { bgcolor: "background.paper" }, children: i.map((r, f) => /* @__PURE__ */ t(m.Fragment, { children: [
|
|
33
33
|
/* @__PURE__ */ e(C, { onClick: a, repeatingTransaction: r }),
|
|
34
34
|
/* @__PURE__ */ e(
|
|
35
35
|
p,
|
|
36
36
|
{
|
|
37
|
-
variant:
|
|
37
|
+
variant: f < i.length - 1 ? "inset" : "fullWidth"
|
|
38
38
|
}
|
|
39
39
|
)
|
|
40
40
|
] }, r.guid)) }) }),
|
|
@@ -59,7 +59,7 @@ const I = u(() => {
|
|
|
59
59
|
}
|
|
60
60
|
) : /* @__PURE__ */ e(E, { zeroStateFor: "expenses" }) });
|
|
61
61
|
}), X = u(() => {
|
|
62
|
-
const [n, c] = m.useState(0), { onEvent: o } =
|
|
62
|
+
const [n, c] = m.useState(0), { onEvent: o } = _(), { recurring: a } = h();
|
|
63
63
|
return /* @__PURE__ */ t(s, { bgcolor: "background.default", height: "100%", children: [
|
|
64
64
|
/* @__PURE__ */ t(
|
|
65
65
|
b,
|
|
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as S, Text as T, useTokens as ee, CategoryIcon
|
|
|
9
9
|
import B from "@mui/material/ListItemAvatar";
|
|
10
10
|
import M from "@mui/material/ListItemText";
|
|
11
11
|
import f from "@mui/material/Stack";
|
|
12
|
-
import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-
|
|
13
|
-
import { G as Be,
|
|
12
|
+
import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-8itAR7lR.mjs";
|
|
13
|
+
import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CE2TKk4a.mjs";
|
|
14
14
|
import { f as te } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
15
15
|
import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
|
|
16
16
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
17
17
|
import { isSameDay as Ne } from "date-fns/isSameDay";
|
|
18
18
|
import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-p7NIdiNJ.mjs";
|
|
21
21
|
import ne from "@mui/material/Paper";
|
|
22
22
|
import ce from "@mui/material/Button";
|
|
23
23
|
import je from "@mui/material/FormGroup";
|
|
@@ -30,14 +30,14 @@ import F from "@mui/material/ListItem";
|
|
|
30
30
|
import { a as V, f as Ee, D as Oe } from "./Dialog-CWW597AF.mjs";
|
|
31
31
|
import U from "@mui/material/ListItemButton";
|
|
32
32
|
import X from "@mui/material/ListItemIcon";
|
|
33
|
-
import { a as we } from "./CategorySelectorDrawer-
|
|
33
|
+
import { a as we } from "./CategorySelectorDrawer-BmenK5bu.mjs";
|
|
34
34
|
import { b as se } from "./Localization-2MODESHW.mjs";
|
|
35
35
|
import { getUnixTime as Ze } from "date-fns/getUnixTime";
|
|
36
36
|
import { D as de } from "./Drawer-kEE73B87.mjs";
|
|
37
37
|
import ye from "@mui/material/InputAdornment";
|
|
38
38
|
import Je from "@mui/material/Checkbox";
|
|
39
39
|
import ge from "@mui/material/Grid";
|
|
40
|
-
import { C as Qe } from "./CurrencyInput-
|
|
40
|
+
import { C as Qe } from "./CurrencyInput-CRtdzs3o.mjs";
|
|
41
41
|
import et from "@mui/material/Switch";
|
|
42
42
|
var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
|
|
43
43
|
const tt = [
|
|
@@ -13,10 +13,10 @@ import { isBefore as B } from "date-fns/isBefore";
|
|
|
13
13
|
import { startOfMonth as R } from "date-fns/startOfMonth";
|
|
14
14
|
import { startOfToday as G } from "date-fns/startOfToday";
|
|
15
15
|
import { subDays as Y } from "date-fns/subDays";
|
|
16
|
-
import { O as n, a as b, T as F } from "./User-
|
|
16
|
+
import { O as n, a as b, T as F } from "./User-8itAR7lR.mjs";
|
|
17
17
|
import { T as p } from "./TransactionApi-B3Tksf7L.mjs";
|
|
18
18
|
import { b as W } from "./Category-CevNQ03n.mjs";
|
|
19
|
-
import { f as z } from "./exportTransactionsToCSV
|
|
19
|
+
import { f as z } from "./exportTransactionsToCSV-CfylirZA.mjs";
|
|
20
20
|
import { format as k } from "date-fns/format";
|
|
21
21
|
import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
|
|
22
22
|
import { endOfMonth as X } from "date-fns/endOfMonth";
|
|
@@ -12,7 +12,7 @@ import Dt from "@mui/material/CardContent";
|
|
|
12
12
|
import P from "@mui/material/Divider";
|
|
13
13
|
import X from "@mui/material/Grid";
|
|
14
14
|
import { CategoryIcon as At, Text as S } from "@mxenabled/mxui";
|
|
15
|
-
import { u as Lt, m as Q } from "./hooks-
|
|
15
|
+
import { u as Lt, m as Q } from "./hooks-CE2TKk4a.mjs";
|
|
16
16
|
import { b as Rt } from "./Localization-2MODESHW.mjs";
|
|
17
17
|
import { C as O } from "./CurrencyText-YUhH2caW.mjs";
|
|
18
18
|
import { useTheme as wt, Card as Ht, CardContent as It, Box as kt } from "@mui/material";
|
|
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
|
|
|
22
22
|
import nn from "@mui/material/styles/useTheme";
|
|
23
23
|
import k from "@mui/material/ListItem";
|
|
24
24
|
import an from "@mui/material/ListItemButton";
|
|
25
|
-
import {
|
|
25
|
+
import { g as tn } from "./hooks-CE2TKk4a.mjs";
|
|
26
26
|
const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
27
27
|
const c = v(), l = en(c);
|
|
28
28
|
return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
|
|
@@ -12,7 +12,7 @@ import Y from "@mui/material/Stack";
|
|
|
12
12
|
import { Icon as s, Text as j, DateRangePicker as J, H1 as le, H3 as Ce } from "@mxenabled/mxui";
|
|
13
13
|
import { u as de } from "./useDimensions-27p2evRx.mjs";
|
|
14
14
|
import { L as Te } from "./Loader-DUaFpDGv.mjs";
|
|
15
|
-
import {
|
|
15
|
+
import { g as Ie, b as Ee, u as Re, a as ge, W as Ae } from "./hooks-CE2TKk4a.mjs";
|
|
16
16
|
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
18
18
|
import { addDays as Se } from "date-fns/addDays";
|
|
@@ -36,7 +36,7 @@ import we from "@mui/material/ToggleButtonGroup";
|
|
|
36
36
|
import Ke from "@mui/material/styles/useTheme";
|
|
37
37
|
import { f as K, D as G, a as Ge } from "./Dialog-CWW597AF.mjs";
|
|
38
38
|
import { D as Me } from "./Drawer-kEE73B87.mjs";
|
|
39
|
-
import {
|
|
39
|
+
import { j as We, k as ye } from "./ConnectDrawer-YIWwEzuN.mjs";
|
|
40
40
|
const xe = {
|
|
41
41
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
42
42
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as n, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as j } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { observer as M } from "mobx-react-lite";
|
|
4
4
|
import B from "@mui/material/Box";
|
|
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
8
|
import x from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as G } from "../AccountDetailsContent-
|
|
11
|
-
import { u as I1 } from "../AccountDetailsContent-
|
|
12
|
-
import { u as K, A as z } from "../AccountDetailsHeader-
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { a as P } from "../AccountFields-
|
|
15
|
-
import { g as D1, b as U1 } from "../AccountFields-
|
|
16
|
-
import { u as g,
|
|
10
|
+
import { A as G } from "../AccountDetailsContent-eODMVIVq.mjs";
|
|
11
|
+
import { u as I1 } from "../AccountDetailsContent-eODMVIVq.mjs";
|
|
12
|
+
import { u as K, A as z } from "../AccountDetailsHeader-C0qgTju7.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-BxmUd4j3.mjs";
|
|
14
|
+
import { a as P } from "../AccountFields-DDHk35Ou.mjs";
|
|
15
|
+
import { g as D1, b as U1 } from "../AccountFields-DDHk35Ou.mjs";
|
|
16
|
+
import { u as g, b as y, d as T, g as N, a as Y } from "../hooks-CE2TKk4a.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
18
18
|
import { D as q } from "../Drawer-kEE73B87.mjs";
|
|
19
|
-
import { A, W as J } from "../WidgetContainer-
|
|
20
|
-
import { C as Q } from "../ConnectionsDrawer-
|
|
19
|
+
import { A, W as J } from "../WidgetContainer-p7NIdiNJ.mjs";
|
|
20
|
+
import { C as Q } from "../ConnectionsDrawer-Bf2DNDCF.mjs";
|
|
21
21
|
import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import {
|
|
24
|
-
import { F as
|
|
23
|
+
import { k as D } from "../ConnectDrawer-YIWwEzuN.mjs";
|
|
24
|
+
import { F as j1, M as G1 } from "../ConnectDrawer-YIWwEzuN.mjs";
|
|
25
25
|
import e1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as U } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as U } from "../MiniWidgetContainer-DSG6mwaW.mjs";
|
|
27
27
|
import t1 from "@mui/material/Stack";
|
|
28
|
-
import { A as z1, a as P1 } from "../AccountStore-
|
|
28
|
+
import { A as z1, a as P1 } from "../AccountStore-CpjCeykS.mjs";
|
|
29
29
|
const l1 = () => {
|
|
30
30
|
const [c, L] = d.useState(""), { accounts: C } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = T(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
@@ -67,8 +67,8 @@ const l1 = () => {
|
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
) }),
|
|
70
|
-
children: /* @__PURE__ */ e(x, { children: i.map((f, Z,
|
|
71
|
-
const F = Z ===
|
|
70
|
+
children: /* @__PURE__ */ e(x, { children: i.map((f, Z, $) => {
|
|
71
|
+
const F = Z === $.length - 1;
|
|
72
72
|
return /* @__PURE__ */ n(d.Fragment, { children: [
|
|
73
73
|
/* @__PURE__ */ e(
|
|
74
74
|
W,
|
|
@@ -192,7 +192,7 @@ const l1 = () => {
|
|
|
192
192
|
onBackClick: c,
|
|
193
193
|
sx: L,
|
|
194
194
|
title: a.title,
|
|
195
|
-
children: V ? /* @__PURE__ */ n(
|
|
195
|
+
children: V ? /* @__PURE__ */ n(j, { children: [
|
|
196
196
|
/* @__PURE__ */ n(B, { sx: { px: w ? 24 : 12 }, children: [
|
|
197
197
|
b.length < 1 && /* @__PURE__ */ e(v, { display: "flex", justifyContent: "center", my: 24, children: a.no_accounts }),
|
|
198
198
|
/* @__PURE__ */ e(i1, {})
|
|
@@ -741,7 +741,7 @@ export {
|
|
|
741
741
|
E1 as AccountsMiniWidget,
|
|
742
742
|
B1 as AccountsWidget,
|
|
743
743
|
W1 as ConnectMiniWidget,
|
|
744
|
-
|
|
744
|
+
j1 as FieldType,
|
|
745
745
|
G1 as MemberConnectionStatus,
|
|
746
746
|
D1 as getAccountBalanceDetails,
|
|
747
747
|
U1 as getAccountDetailFields,
|