@mx-cartographer/experiences 7.0.35 → 7.0.37-alpha-recurring-transactions-divider-padding-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-DeMa6XJz.mjs → Account-9Tt9DsMn.mjs} +1 -1
- package/dist/{AccountDetailsContent-BwTOak3W.mjs → AccountDetailsContent-B5HMpGeJ.mjs} +8 -8
- package/dist/{AccountDetailsHeader-BCW4d-j4.mjs → AccountDetailsHeader-Bt8O2raZ.mjs} +5 -5
- package/dist/{AccountFields-B-igjxt-.mjs → AccountFields-DvACKQho.mjs} +2 -2
- package/dist/{AccountListItem-DAF9c7_x.mjs → AccountListItem-FmvNfEP8.mjs} +3 -3
- package/dist/{AccountStore-Bzy6rKGo.mjs → AccountStore-BKK7dA8Y.mjs} +2 -2
- package/dist/{Accounts-DNMSlq9A.mjs → Accounts-DR3xTyAx.mjs} +1 -1
- package/dist/{BudgetUtil-Iw9hUxhI.mjs → BudgetUtil-n3gEKIub.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-CMorcKFW.mjs → CategorySelectorDrawer-993LpETZ.mjs} +1 -1
- package/dist/{ConnectDrawer-jeSmGg38.mjs → ConnectDrawer-L1_xPNYt.mjs} +54 -55
- package/dist/{ConnectionsDrawer-hdOVHICr.mjs → ConnectionsDrawer-B-dZx6gH.mjs} +2 -2
- package/dist/{CurrencyInput-C0wTgNV6.mjs → CurrencyInput-pHmLzc_c.mjs} +1 -1
- package/dist/{DebtsStore-C2OfwE0t.mjs → DebtsStore-3kGPnxRQ.mjs} +1 -1
- package/dist/{ExportCsvAction-BlKpQTTL.mjs → ExportCsvAction-hsbyeBjg.mjs} +3 -3
- package/dist/{GoalStore-D2A2Lqd5.mjs → GoalStore-B_nwDz-L.mjs} +2 -2
- package/dist/{Help-DwKXfnqC.mjs → Help-PP2i0N9Y.mjs} +1 -1
- package/dist/{LineChart-DNC5UEt4.mjs → LineChart-CbOmpTDP.mjs} +1 -1
- package/dist/{ListItemAction-Dt9A2GQk.mjs → ListItemAction-DXyHyJn0.mjs} +1 -1
- package/dist/{ManageIncome-C0CbczlY.mjs → ManageIncome-BaZyK1CD.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DVRe-MJs.mjs → MicroWidgetContainer-Dpu8VDSP.mjs} +1 -1
- package/dist/{MiniWidgetContainer-C_N1u9ad.mjs → MiniWidgetContainer-BhHaL8eb.mjs} +1 -1
- package/dist/{NetWorthStore-CD4WWdXC.mjs → NetWorthStore-fst-mYe9.mjs} +2 -2
- package/dist/{NotificationSettings-CtbJFbrv.mjs → NotificationSettings-zI5EGf1a.mjs} +68 -68
- package/dist/{OriginalBalanceAction-CqQ5j4OW.mjs → OriginalBalanceAction-DSA8sk5b.mjs} +3 -3
- package/dist/{RecurringSettings-DR9KuVEN.mjs → RecurringSettings-DHPyexin.mjs} +3 -3
- package/dist/{TransactionDetails-BafSm7_T.mjs → TransactionDetails-C-2UEbmQ.mjs} +5 -5
- package/dist/{TransactionStore-C4LPHwzx.mjs → TransactionStore-De9d82Ao.mjs} +2 -2
- package/dist/{TrendsStore-BM-JjAs5.mjs → TrendsStore-DWVFqEC-.mjs} +1 -1
- package/dist/{User-BYkzrOdM.mjs → User-BwjK6Fwz.mjs} +1 -1
- package/dist/{WidgetContainer-CPBhSP3k.mjs → WidgetContainer-ztkGgdIH.mjs} +97 -96
- package/dist/accounts/index.es.js +13 -13
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +1 -0
- package/dist/common/index.es.js +23 -23
- package/dist/dashboard/index.es.js +31 -31
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-21c0EV3t.mjs → exportTransactionsToCSV--LPpH3es.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +504 -505
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-BhSK6dal.mjs → hooks-BAAimqdq.mjs} +2 -2
- 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 +2 -2
- package/dist/recurringtransactions/index.es.js +306 -305
- 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 +379 -367
- package/dist/{useInsightsEnabled-DqM4sFO1.mjs → useInsightsEnabled-BwLaOKWW.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsxs as T, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { observer as
|
|
4
|
-
import M from "@mui/material/Button";
|
|
3
|
+
import { observer as ce } from "mobx-react-lite";
|
|
5
4
|
import $ from "@mui/material/Box";
|
|
6
|
-
import
|
|
7
|
-
import re from "@mui/material/
|
|
5
|
+
import M from "@mui/material/Button";
|
|
6
|
+
import re from "@mui/material/Card";
|
|
8
7
|
import oe from "@mui/material/CardContent";
|
|
9
|
-
import
|
|
8
|
+
import se from "@mui/material/CardHeader";
|
|
9
|
+
import q from "@mui/material/Divider";
|
|
10
10
|
import z from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
|
-
import { Icon as s, Text as j, DateRangePicker as
|
|
13
|
-
import { u as
|
|
14
|
-
import { L as
|
|
15
|
-
import { f as
|
|
16
|
-
import { u as
|
|
17
|
-
import { addMonths as
|
|
18
|
-
import { addDays as
|
|
19
|
-
import { addYears as
|
|
20
|
-
import { differenceInCalendarDays as
|
|
21
|
-
import { endOfDay as
|
|
12
|
+
import { Icon as s, Text as j, DateRangePicker as J, H1 as le, H3 as Ce } from "@mxenabled/mxui";
|
|
13
|
+
import { u as de } from "./useDimensions-27p2evRx.mjs";
|
|
14
|
+
import { L as Te } from "./Loader-DUaFpDGv.mjs";
|
|
15
|
+
import { f as Ie, a as Ee, u as Re, l as ge, W as Ae } from "./hooks-BAAimqdq.mjs";
|
|
16
|
+
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
17
|
+
import { addMonths as Q } from "date-fns/addMonths";
|
|
18
|
+
import { addDays as Se } from "date-fns/addDays";
|
|
19
|
+
import { addYears as ee } from "date-fns/addYears";
|
|
20
|
+
import { differenceInCalendarDays as ue } from "date-fns/differenceInCalendarDays";
|
|
21
|
+
import { endOfDay as Ne } from "date-fns/endOfDay";
|
|
22
22
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
23
|
-
import { endOfToday as
|
|
24
|
-
import { endOfYear as
|
|
25
|
-
import { startOfMonth as
|
|
26
|
-
import { startOfToday as
|
|
27
|
-
import { startOfYear as
|
|
23
|
+
import { endOfToday as te } from "date-fns/endOfToday";
|
|
24
|
+
import { endOfYear as me } from "date-fns/endOfYear";
|
|
25
|
+
import { startOfMonth as Le } from "date-fns/startOfMonth";
|
|
26
|
+
import { startOfToday as De } from "date-fns/startOfToday";
|
|
27
|
+
import { startOfYear as pe } from "date-fns/startOfYear";
|
|
28
28
|
import { subMonths as X } from "date-fns/subMonths";
|
|
29
|
-
import { subDays as
|
|
30
|
-
import { subYears as
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import { f as K, D as G, a as
|
|
38
|
-
import { D as
|
|
39
|
-
import { i as
|
|
40
|
-
const
|
|
29
|
+
import { subDays as ke } from "date-fns/subDays";
|
|
30
|
+
import { subYears as _e } from "date-fns/subYears";
|
|
31
|
+
import he from "@mui/material/ButtonGroup";
|
|
32
|
+
import Oe from "@mui/material/Tab";
|
|
33
|
+
import fe from "@mui/material/Tabs";
|
|
34
|
+
import be from "@mui/material/ToggleButton";
|
|
35
|
+
import we from "@mui/material/ToggleButtonGroup";
|
|
36
|
+
import Ke from "@mui/material/styles/useTheme";
|
|
37
|
+
import { f as K, D as G, a as Ge } from "./Dialog-CWW597AF.mjs";
|
|
38
|
+
import { D as Me } from "./Drawer-kEE73B87.mjs";
|
|
39
|
+
import { i as We, j as ye } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
40
|
+
const xe = {
|
|
41
41
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
42
42
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
43
43
|
ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
|
|
@@ -140,6 +140,7 @@ const We = {
|
|
|
140
140
|
TRENDS_CLICK_ALL_CATEGORIES: "trends_click_allCategories",
|
|
141
141
|
TRENDS_CLICK_BACK: "trends_click_back",
|
|
142
142
|
TRENDS_CLICK_CHART: "trends_click_chart",
|
|
143
|
+
TRENDS_CLICK_CONNECT_ACCOUNTS: "trends_click_connectAccounts",
|
|
143
144
|
TRENDS_CLICK_EXPORT_CSV: "trends_click_exportCSV",
|
|
144
145
|
TRENDS_CLICK_FILTER: "trends_click_filter",
|
|
145
146
|
TRENDS_CLICK_GET_STARTED: "trends_click_getStarted",
|
|
@@ -156,15 +157,15 @@ const We = {
|
|
|
156
157
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
157
158
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
158
159
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
159
|
-
},
|
|
160
|
+
}, ve = ({
|
|
160
161
|
calendarActions: a,
|
|
161
162
|
color: N = "primary",
|
|
162
163
|
copy: _,
|
|
163
|
-
range: m = [
|
|
164
|
+
range: m = [Le(De()), V(te())],
|
|
164
165
|
shouldShrinkToIcon: L = !0,
|
|
165
166
|
variant: n = "outlined"
|
|
166
167
|
}) => {
|
|
167
|
-
const W =
|
|
168
|
+
const W = Ke(), { isMobile: D } = ie(), [l, f] = o.useState(m), [c, H] = o.useState(_.dateRangePickerCopy.dateRangeThisMonth), [r, b] = o.useState(l), [p, k] = o.useState(!1), [F, y] = o.useState(!0), [h, C] = o.useState(6), d = {
|
|
168
169
|
buttons: [
|
|
169
170
|
{ label: "3M", value: 3 },
|
|
170
171
|
{ label: "6M", value: 6 },
|
|
@@ -184,36 +185,36 @@ const We = {
|
|
|
184
185
|
(n === "timeframebuttons" || n === "timeframetabs") && a.onRangeChanged(I());
|
|
185
186
|
}, [h]);
|
|
186
187
|
const I = () => {
|
|
187
|
-
const e = V(
|
|
188
|
+
const e = V(te());
|
|
188
189
|
return [V(X(e, h)), e];
|
|
189
190
|
}, w = (e) => {
|
|
190
|
-
const [i, E] = l,
|
|
191
|
-
let
|
|
191
|
+
const [i, E] = l, S = e === "previous";
|
|
192
|
+
let u;
|
|
192
193
|
if (c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
V(
|
|
194
|
+
u = [
|
|
195
|
+
S ? X(i, 1) : Q(i, 1),
|
|
196
|
+
V(S ? X(E, 1) : Q(E, 1))
|
|
196
197
|
];
|
|
197
198
|
else if (c === _.dateRangePickerCopy.dateRangeYTD || c === _.dateRangePickerCopy.dateRangeLastYear) {
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
const R = pe(i), g = me(i);
|
|
200
|
+
u = [
|
|
201
|
+
S ? _e(R, 1) : ee(R, 1),
|
|
202
|
+
S ? _e(g, 1) : ee(g, 1)
|
|
202
203
|
];
|
|
203
204
|
} else {
|
|
204
|
-
const
|
|
205
|
-
|
|
205
|
+
const R = ue(E, i), g = S ? ke : Se;
|
|
206
|
+
u = [g(i, R), g(E, R)];
|
|
206
207
|
}
|
|
207
|
-
f(
|
|
208
|
+
f(u), a.onRangeChanged(u);
|
|
208
209
|
}, x = () => {
|
|
209
210
|
f(r), y(
|
|
210
211
|
c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth
|
|
211
212
|
), a.onRangeChanged(r);
|
|
212
213
|
}, v = (e, i) => {
|
|
213
214
|
e[1] = e[1] ?? e[0];
|
|
214
|
-
const E = [e[0], e[1] ?
|
|
215
|
+
const E = [e[0], e[1] ? Ne(e[1]) : e[1]];
|
|
215
216
|
b(E), H(i);
|
|
216
|
-
},
|
|
217
|
+
}, U = (e) => {
|
|
217
218
|
C(e);
|
|
218
219
|
};
|
|
219
220
|
return /* @__PURE__ */ T($, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
@@ -235,7 +236,7 @@ const We = {
|
|
|
235
236
|
/* @__PURE__ */ t(j, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
|
|
236
237
|
] }),
|
|
237
238
|
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ T(
|
|
238
|
-
|
|
239
|
+
he,
|
|
239
240
|
{
|
|
240
241
|
color: N,
|
|
241
242
|
sx: {
|
|
@@ -291,16 +292,16 @@ const We = {
|
|
|
291
292
|
}
|
|
292
293
|
),
|
|
293
294
|
n === "timeframebuttons" && /* @__PURE__ */ t(
|
|
294
|
-
|
|
295
|
+
we,
|
|
295
296
|
{
|
|
296
297
|
color: N,
|
|
297
298
|
exclusive: !0,
|
|
298
299
|
orientation: "horizontal",
|
|
299
300
|
value: h,
|
|
300
301
|
children: d.buttons.map((e) => /* @__PURE__ */ t(
|
|
301
|
-
|
|
302
|
+
be,
|
|
302
303
|
{
|
|
303
|
-
onClick: () =>
|
|
304
|
+
onClick: () => U(e.value),
|
|
304
305
|
sx: { width: 56 },
|
|
305
306
|
value: e.value,
|
|
306
307
|
children: e.label
|
|
@@ -310,15 +311,15 @@ const We = {
|
|
|
310
311
|
}
|
|
311
312
|
),
|
|
312
313
|
n === "timeframetabs" && /* @__PURE__ */ t(
|
|
313
|
-
|
|
314
|
+
fe,
|
|
314
315
|
{
|
|
315
316
|
indicatorColor: "primary",
|
|
316
|
-
onChange: (e, i) =>
|
|
317
|
+
onChange: (e, i) => U(i),
|
|
317
318
|
textColor: "primary",
|
|
318
319
|
value: h,
|
|
319
320
|
variant: "fullWidth",
|
|
320
321
|
children: d.tabs.map((e) => /* @__PURE__ */ t(
|
|
321
|
-
|
|
322
|
+
Oe,
|
|
322
323
|
{
|
|
323
324
|
label: /* @__PURE__ */ t(j, { bold: !0, variant: "Body", children: e.label }),
|
|
324
325
|
sx: { minWidth: 80 },
|
|
@@ -332,7 +333,7 @@ const We = {
|
|
|
332
333
|
}
|
|
333
334
|
),
|
|
334
335
|
p && D && /* @__PURE__ */ t(
|
|
335
|
-
|
|
336
|
+
Me,
|
|
336
337
|
{
|
|
337
338
|
ariaLabelClose: _.dateRangeCloseAria,
|
|
338
339
|
isOpen: p,
|
|
@@ -343,7 +344,7 @@ const We = {
|
|
|
343
344
|
primaryText: _.dateRangeEditApply,
|
|
344
345
|
title: _.dateRangeEditTitle,
|
|
345
346
|
children: /* @__PURE__ */ t(
|
|
346
|
-
|
|
347
|
+
J,
|
|
347
348
|
{
|
|
348
349
|
copy: _.dateRangePickerCopy,
|
|
349
350
|
dateRange: r,
|
|
@@ -355,7 +356,7 @@ const We = {
|
|
|
355
356
|
}
|
|
356
357
|
),
|
|
357
358
|
p && !D && /* @__PURE__ */ t(
|
|
358
|
-
|
|
359
|
+
Ge,
|
|
359
360
|
{
|
|
360
361
|
copy: { title: _.dateRangeEditTitle },
|
|
361
362
|
isOpen: !0,
|
|
@@ -368,7 +369,7 @@ const We = {
|
|
|
368
369
|
}
|
|
369
370
|
},
|
|
370
371
|
children: /* @__PURE__ */ t(
|
|
371
|
-
|
|
372
|
+
J,
|
|
372
373
|
{
|
|
373
374
|
copy: _.dateRangePickerCopy,
|
|
374
375
|
dateRange: r,
|
|
@@ -385,7 +386,7 @@ const We = {
|
|
|
385
386
|
}
|
|
386
387
|
)
|
|
387
388
|
] });
|
|
388
|
-
},
|
|
389
|
+
}, ae = ve, Ue = ({
|
|
389
390
|
accountOptions: a,
|
|
390
391
|
actions: N = [],
|
|
391
392
|
calendarActions: _,
|
|
@@ -400,11 +401,11 @@ const We = {
|
|
|
400
401
|
sx: H = {},
|
|
401
402
|
title: r = ""
|
|
402
403
|
}) => {
|
|
403
|
-
const [b, p] = o.useState(!1), [k, { height: F, width: y }] =
|
|
404
|
-
l && (l(), h(
|
|
404
|
+
const [b, p] = o.useState(!1), [k, { height: F, width: y }] = de(), { onEvent: h } = Ie(), { isDesktop: C, isMobile: d, isTablet: I } = ie(y), { displayedDateRange: w, isCopyLoaded: x, selectedAccountGuids: v, setSelectedAccountGuids: U } = Ee(), { common: e, connect: i } = Re(), { config: E } = ge(), S = () => {
|
|
405
|
+
l && (l(), h(xe.WIDGET_BACK_CLICK));
|
|
405
406
|
};
|
|
406
407
|
if (!x)
|
|
407
|
-
return /* @__PURE__ */ t(
|
|
408
|
+
return /* @__PURE__ */ t(Te, {});
|
|
408
409
|
const u = {
|
|
409
410
|
accountFilterOptionsCopy: {
|
|
410
411
|
accountTypeAccounts: e.account_filter.account_type_accounts,
|
|
@@ -437,9 +438,9 @@ const We = {
|
|
|
437
438
|
dateRangeEditTitle: e.date_range_picker.edit_title,
|
|
438
439
|
dateRangeNextAria: e.date_range_picker.next_aria,
|
|
439
440
|
dateRangePreviousAria: e.date_range_picker.previous_aria
|
|
440
|
-
}, g = L ? L.start : w.start,
|
|
441
|
+
}, g = L ? L.start : w.start, Z = L ? L.end : w.end, ne = N?.length > 1;
|
|
441
442
|
return /* @__PURE__ */ T(
|
|
442
|
-
|
|
443
|
+
re,
|
|
443
444
|
{
|
|
444
445
|
className: W,
|
|
445
446
|
sx: {
|
|
@@ -451,27 +452,27 @@ const We = {
|
|
|
451
452
|
},
|
|
452
453
|
children: [
|
|
453
454
|
r && /* @__PURE__ */ t(
|
|
454
|
-
|
|
455
|
+
se,
|
|
455
456
|
{
|
|
456
457
|
action: /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
457
458
|
C && _ && /* @__PURE__ */ t($, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
|
|
458
|
-
|
|
459
|
+
ae,
|
|
459
460
|
{
|
|
460
461
|
calendarActions: _,
|
|
461
462
|
copy: R,
|
|
462
|
-
range: [g,
|
|
463
|
+
range: [g, Z],
|
|
463
464
|
shouldShrinkToIcon: !1,
|
|
464
465
|
variant: n
|
|
465
466
|
}
|
|
466
467
|
) }),
|
|
467
468
|
a && /* @__PURE__ */ t(
|
|
468
|
-
|
|
469
|
+
We,
|
|
469
470
|
{
|
|
470
471
|
accounts: a,
|
|
471
472
|
copy: u,
|
|
472
|
-
onConnectAccountClick: () => p(!0),
|
|
473
|
+
onConnectAccountClick: E.show_connections_widget_in_master ? () => p(!0) : void 0,
|
|
473
474
|
onFilterClick: (O) => {
|
|
474
|
-
|
|
475
|
+
U(O), f?.(O);
|
|
475
476
|
},
|
|
476
477
|
selectedAccountGuids: v,
|
|
477
478
|
showAccountNumbers: !1,
|
|
@@ -480,26 +481,26 @@ const We = {
|
|
|
480
481
|
),
|
|
481
482
|
N?.map((O) => {
|
|
482
483
|
if (o.isValidElement(O)) return O;
|
|
483
|
-
const { iconName:
|
|
484
|
-
return
|
|
484
|
+
const { iconName: A, onClick: P, label: B } = O;
|
|
485
|
+
return ne ? C || I ? /* @__PURE__ */ t(
|
|
485
486
|
M,
|
|
486
487
|
{
|
|
487
|
-
onClick:
|
|
488
|
-
startIcon: /* @__PURE__ */ t(s, { name:
|
|
488
|
+
onClick: P,
|
|
489
|
+
startIcon: /* @__PURE__ */ t(s, { name: A, size: 24 }),
|
|
489
490
|
sx: { my: 4 },
|
|
490
491
|
children: B
|
|
491
492
|
},
|
|
492
|
-
|
|
493
|
-
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick:
|
|
493
|
+
A
|
|
494
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(s, { name: A, size: 24 }) }, A) : C || I ? /* @__PURE__ */ t(
|
|
494
495
|
M,
|
|
495
496
|
{
|
|
496
|
-
onClick:
|
|
497
|
-
startIcon: /* @__PURE__ */ t(s, { name:
|
|
497
|
+
onClick: P,
|
|
498
|
+
startIcon: /* @__PURE__ */ t(s, { name: A, size: 24 }),
|
|
498
499
|
sx: { my: 4 },
|
|
499
500
|
children: B
|
|
500
501
|
},
|
|
501
|
-
|
|
502
|
-
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick:
|
|
502
|
+
A
|
|
503
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(s, { name: A, size: 24 }) }, A);
|
|
503
504
|
})
|
|
504
505
|
] }),
|
|
505
506
|
sx: {
|
|
@@ -514,50 +515,50 @@ const We = {
|
|
|
514
515
|
overflow: "hidden"
|
|
515
516
|
}
|
|
516
517
|
},
|
|
517
|
-
title: C || I ? /* @__PURE__ */ t(
|
|
518
|
+
title: C || I ? /* @__PURE__ */ t(le, { children: r }) : /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
518
519
|
d && l && /* @__PURE__ */ t(
|
|
519
520
|
z,
|
|
520
521
|
{
|
|
521
522
|
"aria-label": e.back_to_dashboard,
|
|
522
523
|
color: "primary",
|
|
523
|
-
onClick:
|
|
524
|
+
onClick: S,
|
|
524
525
|
sx: { p: 12, mr: 4 },
|
|
525
526
|
children: /* @__PURE__ */ t(s, { name: "arrow_back", size: 24 })
|
|
526
527
|
}
|
|
527
528
|
),
|
|
528
|
-
/* @__PURE__ */ t(
|
|
529
|
+
/* @__PURE__ */ t(Ce, { children: r })
|
|
529
530
|
] })
|
|
530
531
|
}
|
|
531
532
|
),
|
|
532
|
-
D && /* @__PURE__ */ t(
|
|
533
|
+
D && /* @__PURE__ */ t(q, { sx: { mt: C ? 48 : 24 } }),
|
|
533
534
|
_ && (d || I) && /* @__PURE__ */ T(Y, { gap: 24, justifyContent: "center", sx: { mt: d ? 0 : 16 }, children: [
|
|
534
|
-
c && /* @__PURE__ */ t(
|
|
535
|
+
c && /* @__PURE__ */ t(q, {}),
|
|
535
536
|
/* @__PURE__ */ t(
|
|
536
|
-
|
|
537
|
+
ae,
|
|
537
538
|
{
|
|
538
539
|
calendarActions: _,
|
|
539
540
|
copy: R,
|
|
540
|
-
range: [g,
|
|
541
|
+
range: [g, Z],
|
|
541
542
|
shouldShrinkToIcon: !1,
|
|
542
543
|
variant: n
|
|
543
544
|
}
|
|
544
545
|
)
|
|
545
546
|
] }),
|
|
546
547
|
b && /* @__PURE__ */ t(
|
|
547
|
-
|
|
548
|
+
ye,
|
|
548
549
|
{
|
|
549
550
|
onClose: () => p(!1),
|
|
550
551
|
showConnectWidget: b,
|
|
551
552
|
title: i.mini_title
|
|
552
553
|
}
|
|
553
554
|
),
|
|
554
|
-
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(
|
|
555
|
+
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(Ae, { availableHeight: F, availableWidth: y, children: m }) })
|
|
555
556
|
]
|
|
556
557
|
}
|
|
557
558
|
);
|
|
558
|
-
},
|
|
559
|
+
}, pt = ce(Ue);
|
|
559
560
|
export {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
561
|
+
xe as A,
|
|
562
|
+
ae as D,
|
|
563
|
+
pt as W
|
|
563
564
|
};
|
|
@@ -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, a as y, c as T, f as N,
|
|
10
|
+
import { A as G } from "../AccountDetailsContent-B5HMpGeJ.mjs";
|
|
11
|
+
import { u as I1 } from "../AccountDetailsContent-B5HMpGeJ.mjs";
|
|
12
|
+
import { u as K, A as z } from "../AccountDetailsHeader-Bt8O2raZ.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-FmvNfEP8.mjs";
|
|
14
|
+
import { a as P } from "../AccountFields-DvACKQho.mjs";
|
|
15
|
+
import { g as D1, b as U1 } from "../AccountFields-DvACKQho.mjs";
|
|
16
|
+
import { u as g, a as y, c as T, f as N, l as Y } from "../hooks-BAAimqdq.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-ztkGgdIH.mjs";
|
|
20
|
+
import { C as Q } from "../ConnectionsDrawer-B-dZx6gH.mjs";
|
|
21
21
|
import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import { j as D } from "../ConnectDrawer-
|
|
24
|
-
import { F as $1, M as G1 } from "../ConnectDrawer-
|
|
23
|
+
import { j as D } from "../ConnectDrawer-L1_xPNYt.mjs";
|
|
24
|
+
import { F as $1, M as G1 } from "../ConnectDrawer-L1_xPNYt.mjs";
|
|
25
25
|
import e1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as U } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as U } from "../MiniWidgetContainer-BhHaL8eb.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-BKK7dA8Y.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),
|
|
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as B } from "@mxenabled/mxui";
|
|
10
10
|
import { L } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as W } from "../MiniWidgetContainer-
|
|
12
|
-
import { j as f, u as b, f as q, a as E } from "../hooks-
|
|
11
|
+
import { M as W } from "../MiniWidgetContainer-BhHaL8eb.mjs";
|
|
12
|
+
import { j as f, u as b, f as q, a as E } from "../hooks-BAAimqdq.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -7,15 +7,15 @@ import W from "@mui/material/Box";
|
|
|
7
7
|
import _ from "@mui/material/Stack";
|
|
8
8
|
import Q from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Icon as $, Text as g, CategoryIcon as H, H1 as Ge, H3 as Be } from "@mxenabled/mxui";
|
|
10
|
-
import { u as Pe } from "../BudgetUtil-
|
|
11
|
-
import { C as Ne } from "../ConnectionsDrawer-
|
|
10
|
+
import { u as Pe } from "../BudgetUtil-n3gEKIub.mjs";
|
|
11
|
+
import { C as Ne } from "../ConnectionsDrawer-B-dZx6gH.mjs";
|
|
12
12
|
import * as E from "d3";
|
|
13
13
|
import je from "@mui/material/Tooltip";
|
|
14
|
-
import { h as w,
|
|
14
|
+
import { h as w, m as j, u as D, f as X, a as ee, p as ze, i as te, g as ne, l as Ue, c as Se } from "../hooks-BAAimqdq.mjs";
|
|
15
15
|
import { L as P } from "../Loader-DUaFpDGv.mjs";
|
|
16
16
|
import { E as ce } from "../EmptyState-C0lr9E5T.mjs";
|
|
17
17
|
import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
18
|
-
import { A as k, W as Fe } from "../WidgetContainer-
|
|
18
|
+
import { A as k, W as Fe } from "../WidgetContainer-ztkGgdIH.mjs";
|
|
19
19
|
import K from "@mui/material/List";
|
|
20
20
|
import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import Ae from "@mui/material/Button";
|
|
@@ -27,26 +27,26 @@ import Z from "@mui/material/ListItemText";
|
|
|
27
27
|
import { b as L } from "../Localization-2MODESHW.mjs";
|
|
28
28
|
import { D as M } from "../Drawer-kEE73B87.mjs";
|
|
29
29
|
import We from "@mui/material/ListItemSecondaryAction";
|
|
30
|
-
import { C as He } from "../CurrencyInput-
|
|
30
|
+
import { C as He } from "../CurrencyInput-pHmLzc_c.mjs";
|
|
31
31
|
import { a as N } from "../Dialog-CWW597AF.mjs";
|
|
32
|
-
import { M as Xe } from "../MiniWidgetContainer-
|
|
32
|
+
import { M as Xe } from "../MiniWidgetContainer-BhHaL8eb.mjs";
|
|
33
33
|
import { isAfter as Ke } from "date-fns/isAfter";
|
|
34
34
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
35
35
|
import Ve from "@mui/material/Alert";
|
|
36
36
|
import Ye from "@mui/material/Snackbar";
|
|
37
37
|
import be from "@mui/material/Tab";
|
|
38
38
|
import Ze from "@mui/material/Tabs";
|
|
39
|
-
import { e as qe } from "../exportTransactionsToCSV
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
39
|
+
import { e as qe } from "../exportTransactionsToCSV--LPpH3es.mjs";
|
|
40
|
+
import { T as xe, a as Je } from "../TransactionDetails-C-2UEbmQ.mjs";
|
|
41
41
|
import ge from "@mui/material/Card";
|
|
42
42
|
import pe from "@mui/material/CardContent";
|
|
43
43
|
import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
|
|
44
44
|
import { S as ve } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { u as Qe, b as et } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as Qe, b as et } from "../CategorySelectorDrawer-993LpETZ.mjs";
|
|
46
46
|
import Te from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as tt } from "date-fns/subDays";
|
|
48
48
|
import nt from "@mui/material/IconButton";
|
|
49
|
-
import { M as ot } from "../ManageIncome-
|
|
49
|
+
import { M as ot } from "../ManageIncome-BaZyK1CD.mjs";
|
|
50
50
|
const ye = 5, at = 100, rt = 25, st = (t) => {
|
|
51
51
|
const o = (a) => {
|
|
52
52
|
a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
|
|
@@ -9,21 +9,21 @@ import D from "@mui/material/Divider";
|
|
|
9
9
|
import r from "@mui/material/Stack";
|
|
10
10
|
import ae from "@mui/material/styles/useTheme";
|
|
11
11
|
import { Text as h, P as k, Icon as F, InstitutionLogo as xe, H1 as le, H2 as Xe } from "@mxenabled/mxui";
|
|
12
|
-
import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, i as q, f as Ne, g as ke } from "../hooks-
|
|
12
|
+
import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, i as q, f as Ne, g as ke } from "../hooks-BAAimqdq.mjs";
|
|
13
13
|
import { C as L } from "../CurrencyText-YUhH2caW.mjs";
|
|
14
14
|
import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
15
15
|
import { L as se } from "../Loader-DUaFpDGv.mjs";
|
|
16
16
|
import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
18
18
|
import { b as X } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { M as Qe } from "../MiniWidgetContainer-
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
19
|
+
import { M as Qe } from "../MiniWidgetContainer-BhHaL8eb.mjs";
|
|
20
|
+
import { R as Ve } from "../RecurringSettings-DHPyexin.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import Ce from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
24
24
|
import ee from "@mui/material/List";
|
|
25
25
|
import te from "@mui/material/ListItem";
|
|
26
|
-
import { A as Je } from "../AccountListItem-
|
|
26
|
+
import { A as Je } from "../AccountListItem-FmvNfEP8.mjs";
|
|
27
27
|
import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
|
|
28
28
|
import Ze from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -34,17 +34,17 @@ import { addDays as _e } from "date-fns/addDays";
|
|
|
34
34
|
import { alpha as et, keyframes as tt } from "@mui/material/styles";
|
|
35
35
|
import { DataGridPro as nt } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
|
-
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-
|
|
37
|
+
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-BaZyK1CD.mjs";
|
|
38
38
|
import { D as $e } from "../Drawer-kEE73B87.mjs";
|
|
39
39
|
import { formatISO as st } from "date-fns/formatISO";
|
|
40
40
|
import { fromUnixTime as ye } from "date-fns/fromUnixTime";
|
|
41
41
|
import { startOfMonth as ct } from "date-fns/startOfMonth";
|
|
42
42
|
import { subDays as Me } from "date-fns/subDays";
|
|
43
|
-
import { S as lt, b as dt } from "../TransactionDetails-
|
|
43
|
+
import { S as lt, b as dt } from "../TransactionDetails-C-2UEbmQ.mjs";
|
|
44
44
|
import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
45
45
|
import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
|
|
46
46
|
import { endOfToday as ht } from "date-fns/endOfToday";
|
|
47
|
-
import { W as ve, A as Ae } from "../WidgetContainer-
|
|
47
|
+
import { W as ve, A as Ae } from "../WidgetContainer-ztkGgdIH.mjs";
|
|
48
48
|
import { F as pt, A as B } from "../Fetch-87LIQbEA.mjs";
|
|
49
49
|
const K = () => {
|
|
50
50
|
if (!m.useContext(Ye))
|
|
@@ -20,7 +20,7 @@ interface AccountFilterOptionsProps {
|
|
|
20
20
|
onAccountClick: (account: MappedAccount) => void;
|
|
21
21
|
onAccountGroupClick: (accountType: string, mappedAccounts: MappedAccounts, allGroupedAccountsSelected: boolean) => void;
|
|
22
22
|
onCancelClick: () => void;
|
|
23
|
-
onConnectAccountClick
|
|
23
|
+
onConnectAccountClick?: () => void;
|
|
24
24
|
onFilterClick: () => void;
|
|
25
25
|
selectedOptions: MappedOptions;
|
|
26
26
|
setSelectedOptions: (value: React.SetStateAction<MappedOptions>) => void;
|
|
@@ -99,6 +99,7 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
99
99
|
TRENDS_CLICK_ALL_CATEGORIES: string;
|
|
100
100
|
TRENDS_CLICK_BACK: string;
|
|
101
101
|
TRENDS_CLICK_CHART: string;
|
|
102
|
+
TRENDS_CLICK_CONNECT_ACCOUNTS: string;
|
|
102
103
|
TRENDS_CLICK_EXPORT_CSV: string;
|
|
103
104
|
TRENDS_CLICK_FILTER: string;
|
|
104
105
|
TRENDS_CLICK_GET_STARTED: string;
|