@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms1
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/dist/{Account-B4CDD-zq.mjs → Account-BDXA6PWh.mjs} +1 -1
- package/dist/AccountDetailsContent-CUztd3-b.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-i3KFhNuo.mjs} +18 -18
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-QZspYAji.mjs} +10 -12
- package/dist/AccountListItem-DX5upmCS.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-BcnDpyLL.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DXfZotRC.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-Df2nII9u.mjs} +31 -31
- 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-DqJK_rrL.mjs} +27 -27
- package/dist/{CategoryStore-MUwRWH9e.mjs → CategoryStore-DTgyAMM7.mjs} +2 -2
- package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-C5cR-nfQ.mjs} +4 -4
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BIbTqYOH.mjs} +47 -48
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +2 -2
- package/dist/CurrencyInput-BFKcs-_K.mjs +85 -0
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-BbJB0nmu.mjs} +3 -3
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-BEtCk82g.mjs} +17 -17
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-DpWY3gVb.mjs} +4 -4
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-BnPXM_N2.mjs} +145 -124
- package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-NpXHhO1n.mjs} +46 -46
- package/dist/MicroWidgetContainer-DEiRnYVa.mjs +45 -0
- package/dist/MiniWidgetContainer-CmXpTylX.mjs +56 -0
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-lsuhEpn6.mjs} +4 -4
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-CNmJWVeI.mjs} +77 -77
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +8 -8
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-CqZh1SQa.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BKcYmpv3.mjs} +77 -77
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +1 -1
- 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-DPQ96k3x.mjs → SpendingData-BuJ03S9d.mjs} +4 -4
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CjX-hX2O.mjs} +12 -12
- 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-5M2vfr59.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-D-Q3BU9Z.mjs} +58 -41
- package/dist/{TrendsStore-_mRaFUdf.mjs → TrendsStore-BW9FGQeE.mjs} +37 -37
- package/dist/{User-BklmOUSd.mjs → User-wXzDI4M8.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-C0832BMe.mjs} +233 -231
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-BhQ1Kx2z.mjs} +36 -36
- package/dist/accounts/index.es.js +94 -94
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/index.es.js +251 -250
- package/dist/cashflow/index.es.js +158 -157
- package/dist/categories/index.es.js +2 -2
- 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/index.d.ts +1 -0
- package/dist/common/index.es.js +660 -395
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +440 -440
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +3 -3
- package/dist/finstrong/index.es.js +118 -118
- package/dist/goals/index.es.js +380 -386
- 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 +6 -6
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +7 -7
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +30 -30
- package/dist/recurringtransactions/index.es.js +85 -85
- package/dist/settings/index.es.js +270 -270
- package/dist/spending/index.es.js +44 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +169 -168
- package/dist/trends/index.es.js +318 -317
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-CFNF8766.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +50 -45
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -7,30 +7,30 @@ import v from "@mui/material/Box";
|
|
|
7
7
|
import b from "@mui/material/Stack";
|
|
8
8
|
import k from "@mui/material/Tab";
|
|
9
9
|
import at from "@mui/material/Tabs";
|
|
10
|
-
import
|
|
11
|
-
import { g as it, a as rt, S as
|
|
10
|
+
import mt from "@mui/material/styles/useTheme";
|
|
11
|
+
import { g as it, a as rt, S as $, b as Y } from "../SpendingLegend-CjX-hX2O.mjs";
|
|
12
12
|
import { Text as C, Icon as ht } from "@mxenabled/mxui";
|
|
13
13
|
import { f as R } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
14
14
|
import { u as L, m as W, d as st, b as P, a as F, h as ct, g as ft, n as bt } from "../hooks-C41HAxM5.mjs";
|
|
15
|
-
import { L as lt } from "../Loader-
|
|
16
|
-
import { M as _t } from "../MiniWidgetContainer-
|
|
17
|
-
import { startOfToday as
|
|
15
|
+
import { L as lt } from "../Loader-DUaFpDGv.mjs";
|
|
16
|
+
import { M as _t } from "../MiniWidgetContainer-CmXpTylX.mjs";
|
|
17
|
+
import { startOfToday as q } from "date-fns/startOfToday";
|
|
18
18
|
import yt from "@mui/material/Button";
|
|
19
19
|
import { useTheme as Ct } from "@mui/material";
|
|
20
|
-
import { e as St } from "../exportTransactionsToCSV-
|
|
21
|
-
import { T as Tt, a as Mt } from "../TransactionDetails-
|
|
20
|
+
import { e as St } from "../exportTransactionsToCSV-Cz2t0lmA.mjs";
|
|
21
|
+
import { T as Tt, a as Mt } from "../TransactionDetails-5M2vfr59.mjs";
|
|
22
22
|
import Dt from "@mui/material/Collapse";
|
|
23
23
|
import z from "@mui/material/Divider";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
24
|
+
import J from "@mui/material/List";
|
|
25
|
+
import Q from "@mui/material/ListItem";
|
|
26
26
|
import xt from "@mui/material/ListItemButton";
|
|
27
|
-
import { u as vt } from "../useScreenSize-
|
|
28
|
-
import { D as Z } from "../Drawer-
|
|
29
|
-
import { b as x } from "../Category-
|
|
30
|
-
import { A as tt, W as wt } from "../WidgetContainer-
|
|
31
|
-
const
|
|
32
|
-
/* @__PURE__ */ t(C, { bold: !0, sx: { textTransform: "none" }, variant: "
|
|
33
|
-
/* @__PURE__ */ t(C, { variant: "
|
|
27
|
+
import { u as vt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
28
|
+
import { D as Z } from "../Drawer-BEtCk82g.mjs";
|
|
29
|
+
import { b as x } from "../Category-CevNQ03n.mjs";
|
|
30
|
+
import { A as tt, W as wt } from "../WidgetContainer-BhQ1Kx2z.mjs";
|
|
31
|
+
const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column", children: [
|
|
32
|
+
/* @__PURE__ */ t(C, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: d }),
|
|
33
|
+
/* @__PURE__ */ t(C, { variant: "XSmall", children: R(n, "0,0") })
|
|
34
34
|
] }), Lt = () => {
|
|
35
35
|
const n = mt(), { goals: d, spending: o } = L(), { categories: r, dateRangeCategoryTotals: a } = W(), c = i.useMemo(
|
|
36
36
|
() => [
|
|
@@ -68,7 +68,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
68
68
|
"aria-controls": "spending-tabpanel",
|
|
69
69
|
id: "spending-tab",
|
|
70
70
|
label: /* @__PURE__ */ t(
|
|
71
|
-
|
|
71
|
+
B,
|
|
72
72
|
{
|
|
73
73
|
amount: m.totalAmount,
|
|
74
74
|
label: o.spend_tab_title
|
|
@@ -83,7 +83,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
83
83
|
"aria-controls": "income-tabpanel",
|
|
84
84
|
id: "income-tab",
|
|
85
85
|
label: /* @__PURE__ */ t(
|
|
86
|
-
|
|
86
|
+
B,
|
|
87
87
|
{
|
|
88
88
|
amount: p.totalAmount,
|
|
89
89
|
label: o.income_tab_title
|
|
@@ -104,7 +104,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
104
104
|
role: "tabpanel",
|
|
105
105
|
children: /* @__PURE__ */ s(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
|
106
106
|
/* @__PURE__ */ t(
|
|
107
|
-
|
|
107
|
+
$,
|
|
108
108
|
{
|
|
109
109
|
data: m,
|
|
110
110
|
onSelected: f,
|
|
@@ -112,7 +112,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
112
112
|
totalLabel: o.total_spending
|
|
113
113
|
}
|
|
114
114
|
),
|
|
115
|
-
/* @__PURE__ */ t(
|
|
115
|
+
/* @__PURE__ */ t(Y, { data: m, onSelected: f, selectedId: e })
|
|
116
116
|
] })
|
|
117
117
|
}
|
|
118
118
|
),
|
|
@@ -125,7 +125,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
125
125
|
role: "tabpanel",
|
|
126
126
|
children: /* @__PURE__ */ s(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
|
127
127
|
/* @__PURE__ */ t(
|
|
128
|
-
|
|
128
|
+
$,
|
|
129
129
|
{
|
|
130
130
|
data: p,
|
|
131
131
|
isIncome: !0,
|
|
@@ -134,7 +134,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
134
134
|
totalLabel: o.total_income
|
|
135
135
|
}
|
|
136
136
|
),
|
|
137
|
-
/* @__PURE__ */ t(
|
|
137
|
+
/* @__PURE__ */ t(Y, { data: p, onSelected: f, selectedId: e })
|
|
138
138
|
] })
|
|
139
139
|
}
|
|
140
140
|
)
|
|
@@ -172,9 +172,9 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
172
172
|
return /* @__PURE__ */ s(b, { direction: "column", justifyContent: "center", maxWidth: 400, minWidth: 275, width: "100%", children: [
|
|
173
173
|
/* @__PURE__ */ t(C, { bold: !0, sx: { py: 12 }, children: `${r} ${a.by_category}` }),
|
|
174
174
|
/* @__PURE__ */ t(z, { "aria-hidden": "true" }),
|
|
175
|
-
/* @__PURE__ */ t(
|
|
175
|
+
/* @__PURE__ */ t(J, { children: n.categoryData.map((e) => /* @__PURE__ */ s(i.Fragment, { children: [
|
|
176
176
|
/* @__PURE__ */ t(
|
|
177
|
-
|
|
177
|
+
Q,
|
|
178
178
|
{
|
|
179
179
|
disableGutters: !0,
|
|
180
180
|
disablePadding: !0,
|
|
@@ -207,7 +207,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
207
207
|
width: "100%",
|
|
208
208
|
children: [
|
|
209
209
|
/* @__PURE__ */ t(C, { bold: o === e.guid, children: e.name }),
|
|
210
|
-
/* @__PURE__ */ t(C, { bold: o === e.guid, variant: "
|
|
210
|
+
/* @__PURE__ */ t(C, { bold: o === e.guid, variant: "Body", children: R(e.amount, "0,0") })
|
|
211
211
|
]
|
|
212
212
|
}
|
|
213
213
|
)
|
|
@@ -217,9 +217,9 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
/* @__PURE__ */ t(z, {}),
|
|
220
|
-
e.categoryTotals && e.categoryTotals.length > 0 && /* @__PURE__ */ t(Dt, { in: c?.guid === e.guid, unmountOnExit: !0, children: /* @__PURE__ */ s(
|
|
220
|
+
e.categoryTotals && e.categoryTotals.length > 0 && /* @__PURE__ */ t(Dt, { in: c?.guid === e.guid, unmountOnExit: !0, children: /* @__PURE__ */ s(J, { children: [
|
|
221
221
|
c?.categoryTotals?.map((l) => /* @__PURE__ */ t(
|
|
222
|
-
|
|
222
|
+
Q,
|
|
223
223
|
{
|
|
224
224
|
sx: {
|
|
225
225
|
pl: 24,
|
|
@@ -260,7 +260,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
260
260
|
px: 8,
|
|
261
261
|
children: [
|
|
262
262
|
l && /* @__PURE__ */ t(
|
|
263
|
-
|
|
263
|
+
$,
|
|
264
264
|
{
|
|
265
265
|
data: {
|
|
266
266
|
categoryData: [],
|
|
@@ -276,7 +276,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
276
276
|
}
|
|
277
277
|
),
|
|
278
278
|
!l && /* @__PURE__ */ t(
|
|
279
|
-
|
|
279
|
+
$,
|
|
280
280
|
{
|
|
281
281
|
data: n,
|
|
282
282
|
onSelected: d,
|
|
@@ -308,27 +308,27 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
308
308
|
sortedTransactions: p,
|
|
309
309
|
sortedTransactionsWithSplits: A,
|
|
310
310
|
tags: f
|
|
311
|
-
} = ct(), y = o?.master?.deep_link_params?.account_guids, T = o?.master?.deep_link_params?.view, [M, N] = i.useState(""), [D, S] = i.useState(T === "income" ? 1 : 0), [O, I] = i.useState(""), [dt, H] = i.useState(!1),
|
|
311
|
+
} = ct(), y = o?.master?.deep_link_params?.account_guids, T = o?.master?.deep_link_params?.view, [M, N] = i.useState(""), [D, S] = i.useState(T === "income" ? 1 : 0), [O, I] = i.useState(""), [dt, H] = i.useState(!1), G = i.useMemo(
|
|
312
312
|
() => it(r, c, n, a),
|
|
313
313
|
[r, a]
|
|
314
314
|
), K = i.useMemo(
|
|
315
315
|
() => rt(r, a, Ot(n)),
|
|
316
316
|
[r, a]
|
|
317
|
-
),
|
|
317
|
+
), j = i.useMemo(
|
|
318
318
|
() => p.find((u) => u.guid === O),
|
|
319
319
|
[O, p]
|
|
320
320
|
), gt = (u, E) => {
|
|
321
321
|
S(E), N("");
|
|
322
322
|
}, U = (u) => {
|
|
323
323
|
N(M === u || u === "0" ? "" : u);
|
|
324
|
-
},
|
|
324
|
+
}, X = (u) => {
|
|
325
325
|
const E = {
|
|
326
326
|
accounts: y || _,
|
|
327
327
|
dateRange: g
|
|
328
328
|
};
|
|
329
329
|
if (D === 0)
|
|
330
330
|
if (u === "other") {
|
|
331
|
-
const h =
|
|
331
|
+
const h = G.categoryData.find((V) => V.guid === "other");
|
|
332
332
|
m({
|
|
333
333
|
...E,
|
|
334
334
|
custom: (V) => !!h?.categoryTotals?.find((ut) => ut.guid === V.top_level_category_guid)
|
|
@@ -354,9 +354,9 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
354
354
|
k,
|
|
355
355
|
{
|
|
356
356
|
label: /* @__PURE__ */ t(
|
|
357
|
-
|
|
357
|
+
B,
|
|
358
358
|
{
|
|
359
|
-
amount:
|
|
359
|
+
amount: G.totalAmount,
|
|
360
360
|
label: e.spend_tab_title
|
|
361
361
|
}
|
|
362
362
|
)
|
|
@@ -366,7 +366,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
366
366
|
k,
|
|
367
367
|
{
|
|
368
368
|
label: /* @__PURE__ */ t(
|
|
369
|
-
|
|
369
|
+
B,
|
|
370
370
|
{
|
|
371
371
|
amount: K.totalAmount,
|
|
372
372
|
label: e.income_tab_title
|
|
@@ -378,9 +378,9 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
378
378
|
D === 0 && /* @__PURE__ */ t(
|
|
379
379
|
et,
|
|
380
380
|
{
|
|
381
|
-
data:
|
|
381
|
+
data: G,
|
|
382
382
|
onSelected: U,
|
|
383
|
-
onViewTransactions:
|
|
383
|
+
onViewTransactions: X,
|
|
384
384
|
selectedId: M,
|
|
385
385
|
title: e.spend_tab_title
|
|
386
386
|
}
|
|
@@ -390,7 +390,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
390
390
|
{
|
|
391
391
|
data: K,
|
|
392
392
|
onSelected: U,
|
|
393
|
-
onViewTransactions:
|
|
393
|
+
onViewTransactions: X,
|
|
394
394
|
selectedId: M,
|
|
395
395
|
title: e.income_tab_title
|
|
396
396
|
}
|
|
@@ -420,14 +420,14 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
420
420
|
Z,
|
|
421
421
|
{
|
|
422
422
|
ariaLabelClose: e.close_drawer_aria,
|
|
423
|
-
isOpen: !!
|
|
423
|
+
isOpen: !!j,
|
|
424
424
|
onClose: () => I(""),
|
|
425
425
|
title: e.transaction_details_drawer_title,
|
|
426
|
-
children:
|
|
426
|
+
children: j && /* @__PURE__ */ t(Mt, { transaction: j })
|
|
427
427
|
}
|
|
428
428
|
)
|
|
429
429
|
] });
|
|
430
|
-
}, kt = w(Rt),
|
|
430
|
+
}, kt = w(Rt), $t = ({ onBackClick: n, sx: d = {} }) => {
|
|
431
431
|
const { visibleAccounts: o, isAccountDataLoaded: r, loadAccountData: a } = st(), { categoriesLoaded: c, loadCategories: e, loadDateRangeCategoryTotals: l } = W(), { isTransactionDataLoaded: g, loadTransactionData: _ } = ct(), { spending: m } = L(), {
|
|
432
432
|
displayedDateRange: p,
|
|
433
433
|
isInitialized: A,
|
|
@@ -436,7 +436,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
436
436
|
selectedAccounts: T
|
|
437
437
|
} = P(), { onEvent: M } = ft(), { onLoad: N } = bt(), { clientConfig: D } = F(), S = D?.master?.deep_link_params?.date_range;
|
|
438
438
|
i.useEffect(() => {
|
|
439
|
-
S && Array.isArray(S) && S.length === 2 ? f(S[0], S[1]) : f(nt(
|
|
439
|
+
S && Array.isArray(S) && S.length === 2 ? f(S[0], S[1]) : f(nt(q()), ot(q())), r || a().finally(), c || e().finally(), g || _().finally(), M(tt.SPENDING_VIEW);
|
|
440
440
|
}, []), i.useEffect(() => {
|
|
441
441
|
y(o);
|
|
442
442
|
}, [o]), i.useEffect(() => {
|
|
@@ -463,7 +463,7 @@ const j = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
|
|
|
463
463
|
children: /* @__PURE__ */ t(v, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(kt, {}) })
|
|
464
464
|
}
|
|
465
465
|
) : /* @__PURE__ */ t(lt, {});
|
|
466
|
-
}, he = w(
|
|
466
|
+
}, he = w($t);
|
|
467
467
|
export {
|
|
468
468
|
me as SpendingMiniWidget,
|
|
469
469
|
he as SpendingWidget
|