@mx-cartographer/experiences 7.12.17 → 7.13.1
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/{AccountDetailsHeader-BkEF1gO-.mjs → AccountDetailsHeader-D9gbTbUt.mjs} +31 -31
- package/dist/{AccountFields-C_dcdCM7.mjs → AccountFields-CxqONzjY.mjs} +6 -6
- package/dist/AccountListItem-LcJVJysf.mjs +90 -0
- package/dist/{AccountStore-ypdfueW9.mjs → AccountStore-BNlTuxWN.mjs} +1 -1
- package/dist/{BudgetUtil--_QXyszn.mjs → BudgetUtil-CLhRnCoX.mjs} +75 -75
- package/dist/{CashflowStore-DEdQJU5i.mjs → CashflowStore-D3MKniVM.mjs} +11 -11
- package/dist/{CategorySelectorDrawer-wfUTIbLR.mjs → CategorySelectorDrawer-DYHNBd2v.mjs} +31 -31
- package/dist/{ConnectDrawer-CioFo6Wy.mjs → ConnectDrawer-C0wjwcJt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DqhSaMrJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +1 -1
- package/dist/{Drawer-DV4NTsFg.mjs → Drawer-Bbe4AMB1.mjs} +5 -5
- package/dist/{GoalStore-0bd-Upkc.mjs → GoalStore-DB58sKTC.mjs} +8 -8
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CDu1Fvrc.mjs → Help-CpLfyvPv.mjs} +24 -24
- package/dist/{LineChart-B1qbKR8q.mjs → LineChart-DBSlRSEm.mjs} +102 -102
- package/dist/{ManageIncome-BnWWjP2g.mjs → ManageIncome-QvqN555q.mjs} +62 -62
- package/dist/{MiniWidgetContainer-Cu72GNsE.mjs → MiniWidgetContainer-xLWSV6Wz.mjs} +13 -13
- package/dist/{NotificationSettings-BH2yOwTB.mjs → NotificationSettings-DU3vJh5J.mjs} +139 -139
- package/dist/{OriginalBalanceAction-BM6rT_Cn.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +6 -6
- package/dist/{RecurringSettings-BmXtfHtK.mjs → RecurringSettings-DdOcok2e.mjs} +2 -2
- package/dist/{RecurringTransactions-CYNpe_RS.mjs → RecurringTransactions-BOzBqfdg.mjs} +11 -11
- package/dist/{RecurringTransactionsStore-BD-OfVZ-.mjs → RecurringTransactionsStore-CcfPS0d3.mjs} +1 -1
- package/dist/{SpendingLegend-Bq6aXMNh.mjs → SpendingLegend-CJjjTGBw.mjs} +76 -76
- package/dist/{StatusIndicator-BV3oFzxo.mjs → StatusIndicator-CIKUOoN_.mjs} +53 -53
- package/dist/{TransactionDetails-DYlTwSDt.mjs → TransactionDetails-BpcWeXNU.mjs} +350 -350
- package/dist/{ViewMoreMicroCard-BhG9hCoO.mjs → ViewMoreMicroCard-ApUBfGOX.mjs} +107 -106
- package/dist/{WidgetContainer-B0ncgABX.mjs → WidgetContainer-D_iaToWJ.mjs} +12 -12
- package/dist/accounts/index.es.js +107 -107
- package/dist/analytics/index.es.js +18 -18
- package/dist/budgets/index.es.js +182 -182
- package/dist/cashflow/index.es.js +223 -223
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +54 -64
- package/dist/common/types/Beat.d.ts +2 -0
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +469 -469
- package/dist/finstrong/index.es.js +68 -68
- package/dist/goals/index.es.js +437 -437
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +159 -159
- package/dist/investments/index.es.js +292 -292
- package/dist/merchants/index.es.js +12 -12
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/index.d.ts +1 -0
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +175 -168
- package/dist/notifications/index.es.js +13 -13
- package/dist/recurringtransactions/index.es.js +69 -69
- package/dist/settings/index.es.js +187 -187
- package/dist/spending/index.es.js +58 -58
- package/dist/transactions/index.es.js +70 -70
- package/dist/trends/index.es.js +16 -16
- package/package.json +1 -1
- package/dist/AccountListItem-BAf03YhK.mjs +0 -90
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
|
@@ -7,36 +7,36 @@ import w from "@mui/material/Box";
|
|
|
7
7
|
import C from "@mui/material/Stack";
|
|
8
8
|
import N from "@mui/material/Tab";
|
|
9
9
|
import it from "@mui/material/Tabs";
|
|
10
|
-
import
|
|
11
|
-
import { g as rt, a as st, S as $, b as
|
|
12
|
-
import { Text as T, Icon as
|
|
10
|
+
import bt from "@mui/material/styles/useTheme";
|
|
11
|
+
import { g as rt, a as st, S as $, b as Y } from "../SpendingLegend-CJjjTGBw.mjs";
|
|
12
|
+
import { Text as T, Icon as _t } from "@mxenabled/mxui";
|
|
13
13
|
import { f as R } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
14
14
|
import { u as I, l as A, d as lt, b as V, a as F, h as dt, g as yt } from "../hooks-BxkfR-Ff.mjs";
|
|
15
15
|
import { u as ct } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
16
16
|
import { L as gt } from "../Loader-D3rjKx72.mjs";
|
|
17
|
-
import { M as Ct } from "../MiniWidgetContainer-
|
|
18
|
-
import { startOfToday as
|
|
17
|
+
import { M as Ct } from "../MiniWidgetContainer-xLWSV6Wz.mjs";
|
|
18
|
+
import { startOfToday as q } from "date-fns/startOfToday";
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
|
|
22
|
-
import { T as Dt } from "../StatusIndicator-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt } from "../StatusIndicator-CIKUOoN_.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-BpcWeXNU.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
26
|
+
import J from "@mui/material/List";
|
|
27
|
+
import Q from "@mui/material/ListItem";
|
|
28
|
+
import X from "@mui/material/ListItemButton";
|
|
29
29
|
import { u as Lt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
30
|
-
import { D as Z } from "../Drawer-
|
|
30
|
+
import { D as Z } from "../Drawer-Bbe4AMB1.mjs";
|
|
31
31
|
import { b as v } from "../Category-CevNQ03n.mjs";
|
|
32
32
|
import { parseISO as tt } from "date-fns/parseISO";
|
|
33
33
|
import { A as et } from "../Analytics-BYItVAe-.mjs";
|
|
34
|
-
import { W as It } from "../WidgetContainer-
|
|
35
|
-
const
|
|
36
|
-
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "
|
|
37
|
-
/* @__PURE__ */ t(T, { variant: "
|
|
34
|
+
import { W as It } from "../WidgetContainer-D_iaToWJ.mjs";
|
|
35
|
+
const O = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C, { direction: "column", children: [
|
|
36
|
+
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
|
|
37
|
+
/* @__PURE__ */ t(T, { variant: "caption", children: R(n, o === "mini" ? "0,0" : "0,0.00") })
|
|
38
38
|
] }), At = () => {
|
|
39
|
-
const n =
|
|
39
|
+
const n = bt(), { goals: d, spending: o } = I(), { categories: a, dateRangeCategoryTotals: i } = A(), c = l.useMemo(
|
|
40
40
|
() => [
|
|
41
41
|
n.palette.chartMono.chartMono5,
|
|
42
42
|
n.palette.chartMono.chartMono4,
|
|
@@ -46,14 +46,14 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
46
46
|
n.palette.chartMono.chartMono6
|
|
47
47
|
],
|
|
48
48
|
[n]
|
|
49
|
-
), [e, r] = l.useState(""), [g,
|
|
49
|
+
), [e, r] = l.useState(""), [g, _] = l.useState(0), u = l.useMemo(
|
|
50
50
|
() => rt(a, d, n, i),
|
|
51
51
|
[a, i]
|
|
52
52
|
), m = l.useMemo(
|
|
53
53
|
() => st(a, i, c),
|
|
54
54
|
[a, i, c]
|
|
55
55
|
), M = (f, D) => {
|
|
56
|
-
|
|
56
|
+
_(D), r("");
|
|
57
57
|
}, y = (f) => {
|
|
58
58
|
r(e === f ? "" : f);
|
|
59
59
|
};
|
|
@@ -72,7 +72,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
72
72
|
"aria-controls": "spending-tabpanel",
|
|
73
73
|
id: "spending-tab",
|
|
74
74
|
label: /* @__PURE__ */ t(
|
|
75
|
-
|
|
75
|
+
O,
|
|
76
76
|
{
|
|
77
77
|
amount: u.totalAmount,
|
|
78
78
|
label: o.spend_tab_title,
|
|
@@ -88,7 +88,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
88
88
|
"aria-controls": "income-tabpanel",
|
|
89
89
|
id: "income-tab",
|
|
90
90
|
label: /* @__PURE__ */ t(
|
|
91
|
-
|
|
91
|
+
O,
|
|
92
92
|
{
|
|
93
93
|
amount: m.totalAmount,
|
|
94
94
|
label: o.income_tab_title,
|
|
@@ -118,7 +118,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
118
118
|
totalLabel: o.total_spending
|
|
119
119
|
}
|
|
120
120
|
),
|
|
121
|
-
/* @__PURE__ */ t(
|
|
121
|
+
/* @__PURE__ */ t(Y, { data: u, onSelected: y, selectedId: e })
|
|
122
122
|
] })
|
|
123
123
|
}
|
|
124
124
|
),
|
|
@@ -140,13 +140,13 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
140
140
|
totalLabel: o.total_income
|
|
141
141
|
}
|
|
142
142
|
),
|
|
143
|
-
/* @__PURE__ */ t(
|
|
143
|
+
/* @__PURE__ */ t(Y, { data: m, onSelected: y, selectedId: e })
|
|
144
144
|
] })
|
|
145
145
|
}
|
|
146
146
|
)
|
|
147
147
|
] });
|
|
148
148
|
}, Et = L(At), Wt = ({ onPrimaryCtaClick: n, sx: d = {} }) => {
|
|
149
|
-
const { isAccountDataLoaded: o, loadAccountData: a } = lt(), { dateRangeTotalsLoaded: i, categoriesLoaded: c, loadCategories: e, loadDateRangeCategoryTotals: r } = A(), { spending: g } = I(), { isInitialized:
|
|
149
|
+
const { isAccountDataLoaded: o, loadAccountData: a } = lt(), { dateRangeTotalsLoaded: i, categoriesLoaded: c, loadCategories: e, loadDateRangeCategoryTotals: r } = A(), { spending: g } = I(), { isInitialized: _, selectedAccounts: u } = V();
|
|
150
150
|
return ct({
|
|
151
151
|
widgetName: "SpendingMiniWidget",
|
|
152
152
|
isLoaded: i
|
|
@@ -158,7 +158,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
158
158
|
ot(/* @__PURE__ */ new Date()),
|
|
159
159
|
at(/* @__PURE__ */ new Date())
|
|
160
160
|
).finally();
|
|
161
|
-
}, [u]),
|
|
161
|
+
}, [u]), _ ? /* @__PURE__ */ t(
|
|
162
162
|
Ct,
|
|
163
163
|
{
|
|
164
164
|
className: "mx-exp-spending-miniwidget",
|
|
@@ -179,9 +179,9 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
179
179
|
return /* @__PURE__ */ p(C, { direction: "column", justifyContent: "center", maxWidth: 400, minWidth: 275, width: "100%", children: [
|
|
180
180
|
/* @__PURE__ */ t(T, { bold: !0, id: "spending-list-title", sx: { py: 12 }, variant: "h3", children: `${a} ${i.by_category}` }),
|
|
181
181
|
/* @__PURE__ */ t(wt, { "aria-hidden": "true" }),
|
|
182
|
-
/* @__PURE__ */ t(
|
|
182
|
+
/* @__PURE__ */ t(J, { "aria-labelledby": "spending-list-title", children: n.categoryData.map((e) => /* @__PURE__ */ p(l.Fragment, { children: [
|
|
183
183
|
/* @__PURE__ */ t(
|
|
184
|
-
|
|
184
|
+
Q,
|
|
185
185
|
{
|
|
186
186
|
disableGutters: !0,
|
|
187
187
|
disablePadding: !0,
|
|
@@ -191,7 +191,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
191
191
|
minHeight: 44
|
|
192
192
|
},
|
|
193
193
|
children: /* @__PURE__ */ p(
|
|
194
|
-
|
|
194
|
+
X,
|
|
195
195
|
{
|
|
196
196
|
"aria-expanded": c?.guid === e.guid,
|
|
197
197
|
id: `spending-list-category-${e.guid}`,
|
|
@@ -219,7 +219,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
219
219
|
width: "100%",
|
|
220
220
|
children: [
|
|
221
221
|
/* @__PURE__ */ t(T, { bold: o === e.guid, children: e.name }),
|
|
222
|
-
/* @__PURE__ */ t(T, { bold: o === e.guid, variant: "
|
|
222
|
+
/* @__PURE__ */ t(T, { bold: o === e.guid, variant: "body1", children: R(e.amount, "0,0.00") })
|
|
223
223
|
]
|
|
224
224
|
}
|
|
225
225
|
)
|
|
@@ -228,15 +228,15 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
228
228
|
)
|
|
229
229
|
}
|
|
230
230
|
),
|
|
231
|
-
e.categoryTotals && e.categoryTotals.length > 0 && /* @__PURE__ */ t(vt, { in: c?.guid === e.guid, unmountOnExit: !0, children: /* @__PURE__ */ t(
|
|
232
|
-
|
|
231
|
+
e.categoryTotals && e.categoryTotals.length > 0 && /* @__PURE__ */ t(vt, { in: c?.guid === e.guid, unmountOnExit: !0, children: /* @__PURE__ */ t(J, { sx: { borderBottom: 1, borderColor: "divider" }, children: c?.categoryTotals?.map((r) => /* @__PURE__ */ t(
|
|
232
|
+
Q,
|
|
233
233
|
{
|
|
234
234
|
sx: {
|
|
235
235
|
pl: 12,
|
|
236
236
|
py: 0
|
|
237
237
|
},
|
|
238
238
|
children: /* @__PURE__ */ t(
|
|
239
|
-
|
|
239
|
+
X,
|
|
240
240
|
{
|
|
241
241
|
id: `spending-list-subcategory-${r.guid}`,
|
|
242
242
|
onClick: () => d(r.guid, !0),
|
|
@@ -308,28 +308,28 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
308
308
|
]
|
|
309
309
|
}
|
|
310
310
|
);
|
|
311
|
-
}, nt = L($t),
|
|
311
|
+
}, nt = L($t), Ot = (n) => [
|
|
312
312
|
n.palette.chartMono.chartMono5,
|
|
313
313
|
n.palette.chartMono.chartMono4,
|
|
314
314
|
n.palette.chartMono.chartMono3,
|
|
315
315
|
n.palette.chartMono.chartMono2,
|
|
316
316
|
n.palette.chartMono.chartMono1,
|
|
317
317
|
n.palette.chartMono.chartMono6
|
|
318
|
-
],
|
|
318
|
+
], kt = () => {
|
|
319
319
|
const n = Tt(), { is_mobile_webview: d } = F(), { clientConfig: o } = F(), { categories: a, dateRangeCategoryTotals: i } = A(), {
|
|
320
320
|
goals: c,
|
|
321
321
|
spending: e,
|
|
322
322
|
transactions: r
|
|
323
|
-
} = I(), { displayedDateRange: g, selectedAccountGuids:
|
|
323
|
+
} = I(), { displayedDateRange: g, selectedAccountGuids: _ } = V(), {
|
|
324
324
|
setFilter: u,
|
|
325
325
|
sortedTransactions: m,
|
|
326
326
|
sortedTransactionsWithSplits: M,
|
|
327
327
|
tags: y
|
|
328
|
-
} = dt(), f = o?.master?.deep_link_params?.account_guids, D = o?.master?.deep_link_params?.view, [x, E] = l.useState(""), [
|
|
328
|
+
} = dt(), f = o?.master?.deep_link_params?.account_guids, D = o?.master?.deep_link_params?.view, [x, E] = l.useState(""), [b, W] = l.useState(D === "income" ? 1 : 0), [z, H] = l.useState(""), [pt, k] = l.useState(!1), B = l.useMemo(
|
|
329
329
|
() => rt(a, c, n, i),
|
|
330
330
|
[a, i]
|
|
331
331
|
), P = l.useMemo(
|
|
332
|
-
() => st(a, i,
|
|
332
|
+
() => st(a, i, Ot(n)),
|
|
333
333
|
[a, i]
|
|
334
334
|
), G = l.useMemo(
|
|
335
335
|
() => m.find((s) => s.guid === z),
|
|
@@ -341,20 +341,20 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
341
341
|
}, mt = (s) => {
|
|
342
342
|
u({
|
|
343
343
|
...{
|
|
344
|
-
accounts: f ||
|
|
344
|
+
accounts: f || _,
|
|
345
345
|
dateRange: g
|
|
346
346
|
},
|
|
347
347
|
custom: (h) => x === "other" ? h.top_level_category_guid === s : h.category_guid === s,
|
|
348
348
|
showSplits: !0
|
|
349
|
-
}),
|
|
349
|
+
}), k(!0);
|
|
350
350
|
}, U = (s) => {
|
|
351
351
|
const S = {
|
|
352
|
-
accounts: f ||
|
|
352
|
+
accounts: f || _,
|
|
353
353
|
dateRange: g
|
|
354
354
|
};
|
|
355
|
-
if (
|
|
355
|
+
if (b === 0)
|
|
356
356
|
if (s === "other") {
|
|
357
|
-
const h =
|
|
357
|
+
const h = B.categoryData.find((j) => j.guid === "other");
|
|
358
358
|
u({
|
|
359
359
|
...S,
|
|
360
360
|
custom: (j) => !!h?.categoryTotals?.find((ft) => ft.guid === j.top_level_category_guid)
|
|
@@ -370,19 +370,19 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
370
370
|
...S,
|
|
371
371
|
custom: (h) => s ? h.category_guid === s : h.category_guid === v.INCOME || h.top_level_category_guid === v.INCOME
|
|
372
372
|
});
|
|
373
|
-
|
|
373
|
+
k(!0);
|
|
374
374
|
}, ht = () => {
|
|
375
375
|
Mt(M, y);
|
|
376
376
|
};
|
|
377
377
|
return /* @__PURE__ */ p(w, { children: [
|
|
378
|
-
/* @__PURE__ */ p(it, { onChange: ut, value:
|
|
378
|
+
/* @__PURE__ */ p(it, { onChange: ut, value: b, variant: "fullWidth", children: [
|
|
379
379
|
/* @__PURE__ */ t(
|
|
380
380
|
N,
|
|
381
381
|
{
|
|
382
382
|
label: /* @__PURE__ */ t(
|
|
383
|
-
|
|
383
|
+
O,
|
|
384
384
|
{
|
|
385
|
-
amount:
|
|
385
|
+
amount: B.totalAmount,
|
|
386
386
|
label: e.spend_tab_title
|
|
387
387
|
}
|
|
388
388
|
)
|
|
@@ -392,7 +392,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
392
392
|
N,
|
|
393
393
|
{
|
|
394
394
|
label: /* @__PURE__ */ t(
|
|
395
|
-
|
|
395
|
+
O,
|
|
396
396
|
{
|
|
397
397
|
amount: P.totalAmount,
|
|
398
398
|
label: e.income_tab_title
|
|
@@ -401,17 +401,17 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
401
401
|
}
|
|
402
402
|
)
|
|
403
403
|
] }),
|
|
404
|
-
|
|
404
|
+
b === 0 && /* @__PURE__ */ t(
|
|
405
405
|
nt,
|
|
406
406
|
{
|
|
407
|
-
data:
|
|
407
|
+
data: B,
|
|
408
408
|
onSelected: K,
|
|
409
409
|
onViewTransactions: U,
|
|
410
410
|
selectedId: x,
|
|
411
411
|
title: e.spend_tab_title
|
|
412
412
|
}
|
|
413
413
|
),
|
|
414
|
-
|
|
414
|
+
b === 1 && /* @__PURE__ */ t(
|
|
415
415
|
nt,
|
|
416
416
|
{
|
|
417
417
|
data: P,
|
|
@@ -426,14 +426,14 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
426
426
|
{
|
|
427
427
|
ariaLabelClose: e.close_drawer_aria,
|
|
428
428
|
isOpen: pt,
|
|
429
|
-
onClose: () =>
|
|
429
|
+
onClose: () => k(!1),
|
|
430
430
|
title: e.transactions_drawer_title,
|
|
431
431
|
children: /* @__PURE__ */ p(C, { children: [
|
|
432
432
|
!d && m.length > 0 && /* @__PURE__ */ t(C, { direction: "row", justifyContent: "right", mb: -24, mr: 8, mt: 8, zIndex: 1, children: /* @__PURE__ */ t(
|
|
433
433
|
St,
|
|
434
434
|
{
|
|
435
435
|
onClick: ht,
|
|
436
|
-
startIcon: /* @__PURE__ */ t(
|
|
436
|
+
startIcon: /* @__PURE__ */ t(_t, { name: "ios_share" }),
|
|
437
437
|
variant: "text",
|
|
438
438
|
children: r.export_csv_btn
|
|
439
439
|
}
|
|
@@ -453,14 +453,14 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
453
453
|
}
|
|
454
454
|
)
|
|
455
455
|
] });
|
|
456
|
-
},
|
|
457
|
-
const { isAccountDataLoaded: o, loadAccountData: a } = lt(), { categoriesLoaded: i, dateRangeTotalsLoaded: c, loadCategories: e, loadDateRangeCategoryTotals: r } = A(), { isTransactionDataLoaded: g, loadTransactionData:
|
|
456
|
+
}, Bt = L(kt), Gt = ({ onBackClick: n, sx: d = {} }) => {
|
|
457
|
+
const { isAccountDataLoaded: o, loadAccountData: a } = lt(), { categoriesLoaded: i, dateRangeTotalsLoaded: c, loadCategories: e, loadDateRangeCategoryTotals: r } = A(), { isTransactionDataLoaded: g, loadTransactionData: _ } = dt(), { spending: u } = I(), { displayedDateRange: m, isInitialized: M, setDisplayedDate: y, selectedAccounts: f } = V(), { onEvent: D } = yt(), { clientConfig: x } = F();
|
|
458
458
|
ct({
|
|
459
459
|
widgetName: "SpendingWidget",
|
|
460
460
|
isLoaded: c
|
|
461
461
|
}), l.useEffect(() => {
|
|
462
|
-
const
|
|
463
|
-
y(W[0], W[1]), o || a().finally(), i || e().finally(), g ||
|
|
462
|
+
const b = x?.master?.deep_link_params, W = b?.date_range ? [tt(b.date_range.from), tt(b.date_range.to)] : [ot(q()), at(q())];
|
|
463
|
+
y(W[0], W[1]), o || a().finally(), i || e().finally(), g || _().finally(), D(et.SPENDING_VIEW);
|
|
464
464
|
}, []), l.useEffect(() => {
|
|
465
465
|
M && r(
|
|
466
466
|
f,
|
|
@@ -468,8 +468,8 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
468
468
|
m.end
|
|
469
469
|
).finally();
|
|
470
470
|
}, [m, M, f]);
|
|
471
|
-
const E = (
|
|
472
|
-
y(
|
|
471
|
+
const E = (b) => {
|
|
472
|
+
y(b[0], b[1]);
|
|
473
473
|
};
|
|
474
474
|
return M ? /* @__PURE__ */ t(
|
|
475
475
|
It,
|
|
@@ -479,7 +479,7 @@ const B = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C,
|
|
|
479
479
|
onBackClick: n,
|
|
480
480
|
sx: d,
|
|
481
481
|
title: u.title,
|
|
482
|
-
children: /* @__PURE__ */ t(w, { width: "100%", children: /* @__PURE__ */ t(
|
|
482
|
+
children: /* @__PURE__ */ t(w, { width: "100%", children: /* @__PURE__ */ t(Bt, {}) })
|
|
483
483
|
}
|
|
484
484
|
) : /* @__PURE__ */ t(gt, {});
|
|
485
485
|
}, Se = L(Gt);
|