@mx-cartographer/experiences 7.0.36 → 7.0.37
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-DeMa6XJz.mjs → Account-9Tt9DsMn.mjs} +1 -1
- package/dist/{AccountDetailsContent-r2edUIO6.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-BDAuo2eh.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-DlZ8qeDR.mjs → RecurringSettings-DHPyexin.mjs} +3 -3
- package/dist/{TransactionDetails-Fdf0sKuB.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-C6H2vwT9.mjs → WidgetContainer-ztkGgdIH.mjs} +105 -105
- 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/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 +11 -11
- 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 +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/{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",
|
|
@@ -157,15 +157,15 @@ const We = {
|
|
|
157
157
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
158
158
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
159
159
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
160
|
-
},
|
|
160
|
+
}, ve = ({
|
|
161
161
|
calendarActions: a,
|
|
162
162
|
color: N = "primary",
|
|
163
163
|
copy: _,
|
|
164
|
-
range: m = [
|
|
164
|
+
range: m = [Le(De()), V(te())],
|
|
165
165
|
shouldShrinkToIcon: L = !0,
|
|
166
166
|
variant: n = "outlined"
|
|
167
167
|
}) => {
|
|
168
|
-
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 = {
|
|
169
169
|
buttons: [
|
|
170
170
|
{ label: "3M", value: 3 },
|
|
171
171
|
{ label: "6M", value: 6 },
|
|
@@ -183,38 +183,38 @@ const We = {
|
|
|
183
183
|
f(m), b(m);
|
|
184
184
|
}, [m]), o.useEffect(() => {
|
|
185
185
|
(n === "timeframebuttons" || n === "timeframetabs") && a.onRangeChanged(I());
|
|
186
|
-
}, [
|
|
186
|
+
}, [h]);
|
|
187
187
|
const I = () => {
|
|
188
|
-
const e = V(
|
|
189
|
-
return [V(X(e,
|
|
188
|
+
const e = V(te());
|
|
189
|
+
return [V(X(e, h)), e];
|
|
190
190
|
}, w = (e) => {
|
|
191
|
-
const [i, E] = l,
|
|
192
|
-
let
|
|
191
|
+
const [i, E] = l, S = e === "previous";
|
|
192
|
+
let u;
|
|
193
193
|
if (c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
V(
|
|
194
|
+
u = [
|
|
195
|
+
S ? X(i, 1) : Q(i, 1),
|
|
196
|
+
V(S ? X(E, 1) : Q(E, 1))
|
|
197
197
|
];
|
|
198
198
|
else if (c === _.dateRangePickerCopy.dateRangeYTD || c === _.dateRangePickerCopy.dateRangeLastYear) {
|
|
199
|
-
const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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)
|
|
203
203
|
];
|
|
204
204
|
} else {
|
|
205
|
-
const
|
|
206
|
-
|
|
205
|
+
const R = ue(E, i), g = S ? ke : Se;
|
|
206
|
+
u = [g(i, R), g(E, R)];
|
|
207
207
|
}
|
|
208
|
-
f(
|
|
208
|
+
f(u), a.onRangeChanged(u);
|
|
209
209
|
}, x = () => {
|
|
210
210
|
f(r), y(
|
|
211
211
|
c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth
|
|
212
212
|
), a.onRangeChanged(r);
|
|
213
|
-
},
|
|
213
|
+
}, v = (e, i) => {
|
|
214
214
|
e[1] = e[1] ?? e[0];
|
|
215
|
-
const E = [e[0], e[1] ?
|
|
215
|
+
const E = [e[0], e[1] ? Ne(e[1]) : e[1]];
|
|
216
216
|
b(E), H(i);
|
|
217
|
-
},
|
|
217
|
+
}, U = (e) => {
|
|
218
218
|
C(e);
|
|
219
219
|
};
|
|
220
220
|
return /* @__PURE__ */ T($, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
@@ -236,7 +236,7 @@ const We = {
|
|
|
236
236
|
/* @__PURE__ */ t(j, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
|
|
237
237
|
] }),
|
|
238
238
|
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ T(
|
|
239
|
-
|
|
239
|
+
he,
|
|
240
240
|
{
|
|
241
241
|
color: N,
|
|
242
242
|
sx: {
|
|
@@ -292,16 +292,16 @@ const We = {
|
|
|
292
292
|
}
|
|
293
293
|
),
|
|
294
294
|
n === "timeframebuttons" && /* @__PURE__ */ t(
|
|
295
|
-
|
|
295
|
+
we,
|
|
296
296
|
{
|
|
297
297
|
color: N,
|
|
298
298
|
exclusive: !0,
|
|
299
299
|
orientation: "horizontal",
|
|
300
|
-
value:
|
|
300
|
+
value: h,
|
|
301
301
|
children: d.buttons.map((e) => /* @__PURE__ */ t(
|
|
302
|
-
|
|
302
|
+
be,
|
|
303
303
|
{
|
|
304
|
-
onClick: () =>
|
|
304
|
+
onClick: () => U(e.value),
|
|
305
305
|
sx: { width: 56 },
|
|
306
306
|
value: e.value,
|
|
307
307
|
children: e.label
|
|
@@ -311,15 +311,15 @@ const We = {
|
|
|
311
311
|
}
|
|
312
312
|
),
|
|
313
313
|
n === "timeframetabs" && /* @__PURE__ */ t(
|
|
314
|
-
|
|
314
|
+
fe,
|
|
315
315
|
{
|
|
316
316
|
indicatorColor: "primary",
|
|
317
|
-
onChange: (e, i) =>
|
|
317
|
+
onChange: (e, i) => U(i),
|
|
318
318
|
textColor: "primary",
|
|
319
|
-
value:
|
|
319
|
+
value: h,
|
|
320
320
|
variant: "fullWidth",
|
|
321
321
|
children: d.tabs.map((e) => /* @__PURE__ */ t(
|
|
322
|
-
|
|
322
|
+
Oe,
|
|
323
323
|
{
|
|
324
324
|
label: /* @__PURE__ */ t(j, { bold: !0, variant: "Body", children: e.label }),
|
|
325
325
|
sx: { minWidth: 80 },
|
|
@@ -333,7 +333,7 @@ const We = {
|
|
|
333
333
|
}
|
|
334
334
|
),
|
|
335
335
|
p && D && /* @__PURE__ */ t(
|
|
336
|
-
|
|
336
|
+
Me,
|
|
337
337
|
{
|
|
338
338
|
ariaLabelClose: _.dateRangeCloseAria,
|
|
339
339
|
isOpen: p,
|
|
@@ -344,11 +344,11 @@ const We = {
|
|
|
344
344
|
primaryText: _.dateRangeEditApply,
|
|
345
345
|
title: _.dateRangeEditTitle,
|
|
346
346
|
children: /* @__PURE__ */ t(
|
|
347
|
-
|
|
347
|
+
J,
|
|
348
348
|
{
|
|
349
349
|
copy: _.dateRangePickerCopy,
|
|
350
350
|
dateRange: r,
|
|
351
|
-
onRangeChanged:
|
|
351
|
+
onRangeChanged: v,
|
|
352
352
|
selectedShortcut: c,
|
|
353
353
|
sx: { p: 16 }
|
|
354
354
|
}
|
|
@@ -356,7 +356,7 @@ const We = {
|
|
|
356
356
|
}
|
|
357
357
|
),
|
|
358
358
|
p && !D && /* @__PURE__ */ t(
|
|
359
|
-
|
|
359
|
+
Ge,
|
|
360
360
|
{
|
|
361
361
|
copy: { title: _.dateRangeEditTitle },
|
|
362
362
|
isOpen: !0,
|
|
@@ -369,11 +369,11 @@ const We = {
|
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
371
|
children: /* @__PURE__ */ t(
|
|
372
|
-
|
|
372
|
+
J,
|
|
373
373
|
{
|
|
374
374
|
copy: _.dateRangePickerCopy,
|
|
375
375
|
dateRange: r,
|
|
376
|
-
onRangeChanged:
|
|
376
|
+
onRangeChanged: v,
|
|
377
377
|
selectedShortcut: c,
|
|
378
378
|
sx: {
|
|
379
379
|
pt: 0,
|
|
@@ -386,7 +386,7 @@ const We = {
|
|
|
386
386
|
}
|
|
387
387
|
)
|
|
388
388
|
] });
|
|
389
|
-
},
|
|
389
|
+
}, ae = ve, Ue = ({
|
|
390
390
|
accountOptions: a,
|
|
391
391
|
actions: N = [],
|
|
392
392
|
calendarActions: _,
|
|
@@ -401,11 +401,11 @@ const We = {
|
|
|
401
401
|
sx: H = {},
|
|
402
402
|
title: r = ""
|
|
403
403
|
}) => {
|
|
404
|
-
const [b, p] = o.useState(!1), [k, { height: F, width: y }] =
|
|
405
|
-
l && (l(),
|
|
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));
|
|
406
406
|
};
|
|
407
407
|
if (!x)
|
|
408
|
-
return /* @__PURE__ */ t(
|
|
408
|
+
return /* @__PURE__ */ t(Te, {});
|
|
409
409
|
const u = {
|
|
410
410
|
accountFilterOptionsCopy: {
|
|
411
411
|
accountTypeAccounts: e.account_filter.account_type_accounts,
|
|
@@ -438,9 +438,9 @@ const We = {
|
|
|
438
438
|
dateRangeEditTitle: e.date_range_picker.edit_title,
|
|
439
439
|
dateRangeNextAria: e.date_range_picker.next_aria,
|
|
440
440
|
dateRangePreviousAria: e.date_range_picker.previous_aria
|
|
441
|
-
}, g = L ? L.start : w.start,
|
|
441
|
+
}, g = L ? L.start : w.start, Z = L ? L.end : w.end, ne = N?.length > 1;
|
|
442
442
|
return /* @__PURE__ */ T(
|
|
443
|
-
|
|
443
|
+
re,
|
|
444
444
|
{
|
|
445
445
|
className: W,
|
|
446
446
|
sx: {
|
|
@@ -452,55 +452,55 @@ const We = {
|
|
|
452
452
|
},
|
|
453
453
|
children: [
|
|
454
454
|
r && /* @__PURE__ */ t(
|
|
455
|
-
|
|
455
|
+
se,
|
|
456
456
|
{
|
|
457
457
|
action: /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
458
458
|
C && _ && /* @__PURE__ */ t($, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
|
|
459
|
-
|
|
459
|
+
ae,
|
|
460
460
|
{
|
|
461
461
|
calendarActions: _,
|
|
462
462
|
copy: R,
|
|
463
|
-
range: [g,
|
|
463
|
+
range: [g, Z],
|
|
464
464
|
shouldShrinkToIcon: !1,
|
|
465
465
|
variant: n
|
|
466
466
|
}
|
|
467
467
|
) }),
|
|
468
468
|
a && /* @__PURE__ */ t(
|
|
469
|
-
|
|
469
|
+
We,
|
|
470
470
|
{
|
|
471
471
|
accounts: a,
|
|
472
472
|
copy: u,
|
|
473
|
-
onConnectAccountClick: () => p(!0),
|
|
474
|
-
onFilterClick: (
|
|
475
|
-
|
|
473
|
+
onConnectAccountClick: E.show_connections_widget_in_master ? () => p(!0) : void 0,
|
|
474
|
+
onFilterClick: (O) => {
|
|
475
|
+
U(O), f?.(O);
|
|
476
476
|
},
|
|
477
|
-
selectedAccountGuids:
|
|
477
|
+
selectedAccountGuids: v,
|
|
478
478
|
showAccountNumbers: !1,
|
|
479
479
|
variant: "text"
|
|
480
480
|
}
|
|
481
481
|
),
|
|
482
|
-
N?.map((
|
|
483
|
-
if (o.isValidElement(
|
|
484
|
-
const { iconName:
|
|
485
|
-
return
|
|
482
|
+
N?.map((O) => {
|
|
483
|
+
if (o.isValidElement(O)) return O;
|
|
484
|
+
const { iconName: A, onClick: P, label: B } = O;
|
|
485
|
+
return ne ? C || I ? /* @__PURE__ */ t(
|
|
486
486
|
M,
|
|
487
487
|
{
|
|
488
488
|
onClick: P,
|
|
489
|
-
startIcon: /* @__PURE__ */ t(s, { name:
|
|
489
|
+
startIcon: /* @__PURE__ */ t(s, { name: A, size: 24 }),
|
|
490
490
|
sx: { my: 4 },
|
|
491
491
|
children: B
|
|
492
492
|
},
|
|
493
|
-
|
|
494
|
-
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(s, { name:
|
|
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(
|
|
495
495
|
M,
|
|
496
496
|
{
|
|
497
497
|
onClick: P,
|
|
498
|
-
startIcon: /* @__PURE__ */ t(s, { name:
|
|
498
|
+
startIcon: /* @__PURE__ */ t(s, { name: A, size: 24 }),
|
|
499
499
|
sx: { my: 4 },
|
|
500
500
|
children: B
|
|
501
501
|
},
|
|
502
|
-
|
|
503
|
-
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(s, { name:
|
|
502
|
+
A
|
|
503
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(s, { name: A, size: 24 }) }, A);
|
|
504
504
|
})
|
|
505
505
|
] }),
|
|
506
506
|
sx: {
|
|
@@ -515,50 +515,50 @@ const We = {
|
|
|
515
515
|
overflow: "hidden"
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
|
-
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: [
|
|
519
519
|
d && l && /* @__PURE__ */ t(
|
|
520
520
|
z,
|
|
521
521
|
{
|
|
522
522
|
"aria-label": e.back_to_dashboard,
|
|
523
523
|
color: "primary",
|
|
524
|
-
onClick:
|
|
524
|
+
onClick: S,
|
|
525
525
|
sx: { p: 12, mr: 4 },
|
|
526
526
|
children: /* @__PURE__ */ t(s, { name: "arrow_back", size: 24 })
|
|
527
527
|
}
|
|
528
528
|
),
|
|
529
|
-
/* @__PURE__ */ t(
|
|
529
|
+
/* @__PURE__ */ t(Ce, { children: r })
|
|
530
530
|
] })
|
|
531
531
|
}
|
|
532
532
|
),
|
|
533
|
-
D && /* @__PURE__ */ t(
|
|
533
|
+
D && /* @__PURE__ */ t(q, { sx: { mt: C ? 48 : 24 } }),
|
|
534
534
|
_ && (d || I) && /* @__PURE__ */ T(Y, { gap: 24, justifyContent: "center", sx: { mt: d ? 0 : 16 }, children: [
|
|
535
|
-
c && /* @__PURE__ */ t(
|
|
535
|
+
c && /* @__PURE__ */ t(q, {}),
|
|
536
536
|
/* @__PURE__ */ t(
|
|
537
|
-
|
|
537
|
+
ae,
|
|
538
538
|
{
|
|
539
539
|
calendarActions: _,
|
|
540
540
|
copy: R,
|
|
541
|
-
range: [g,
|
|
541
|
+
range: [g, Z],
|
|
542
542
|
shouldShrinkToIcon: !1,
|
|
543
543
|
variant: n
|
|
544
544
|
}
|
|
545
545
|
)
|
|
546
546
|
] }),
|
|
547
547
|
b && /* @__PURE__ */ t(
|
|
548
|
-
|
|
548
|
+
ye,
|
|
549
549
|
{
|
|
550
550
|
onClose: () => p(!1),
|
|
551
551
|
showConnectWidget: b,
|
|
552
552
|
title: i.mini_title
|
|
553
553
|
}
|
|
554
554
|
),
|
|
555
|
-
/* @__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 }) })
|
|
556
556
|
]
|
|
557
557
|
}
|
|
558
558
|
);
|
|
559
|
-
},
|
|
559
|
+
}, pt = ce(Ue);
|
|
560
560
|
export {
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
561
|
+
xe as A,
|
|
562
|
+
ae as D,
|
|
563
|
+
pt as W
|
|
564
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;
|