@mx-cartographer/experiences 7.9.6-alpha.mm0 → 7.9.6-bug-testing-alpha-transactions
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/{ManageIncome-DOsgqv_y.mjs → ManageIncome-DV6GIjAN.mjs} +79 -83
- package/dist/{RecurringSettings-DT1hanRo.mjs → RecurringSettings-CE7kxzFZ.mjs} +2 -2
- package/dist/{TransactionDetails-BdR4hm3y.mjs → TransactionDetails-DhEr3tAj.mjs} +42 -43
- package/dist/{TransactionStore-BSp5bOKg.mjs → TransactionStore-COGlidS-.mjs} +25 -24
- package/dist/{WidgetContainer-DaQvpZHu.mjs → WidgetContainer-to34uDrh.mjs} +148 -153
- package/dist/accounts/index.es.js +2 -2
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +4 -4
- package/dist/common/index.es.js +3 -4
- package/dist/common/types/AppData.d.ts +0 -1
- package/dist/debts/index.es.js +1 -1
- package/dist/finstrong/index.es.js +4 -4
- package/dist/goals/index.es.js +1 -1
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +1 -1
- package/dist/networth/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +5 -5
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +5 -5
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as C, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import I from "react";
|
|
3
3
|
import { observer as te } from "mobx-react-lite";
|
|
4
4
|
import X from "@mui/material/Box";
|
|
5
5
|
import W from "@mui/material/Button";
|
|
@@ -10,36 +10,36 @@ import j from "@mui/material/Divider";
|
|
|
10
10
|
import H from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
12
|
import { ChevronLeft as re } from "@mxenabled/mx-icons";
|
|
13
|
-
import { Icon as
|
|
13
|
+
import { Icon as E, Text as F, DateRangePicker as $, H2 as ce, H3 as se } from "@mxenabled/mxui";
|
|
14
14
|
import { u as oe } from "./useDimensions-27p2evRx.mjs";
|
|
15
15
|
import { G as le } from "./GlobalAccountFilter-DQCPNc95.mjs";
|
|
16
16
|
import { L as Ce } from "./Loader-DUaFpDGv.mjs";
|
|
17
|
-
import { g as de, b as Te, u as Ie,
|
|
17
|
+
import { g as de, b as Te, u as Ie, W as Ee } from "./hooks-ZMp65DFz.mjs";
|
|
18
18
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { addMonths as Z } from "date-fns/addMonths";
|
|
20
|
-
import { addDays as
|
|
20
|
+
import { addDays as Re } from "date-fns/addDays";
|
|
21
21
|
import { addYears as q } from "date-fns/addYears";
|
|
22
|
-
import { differenceInCalendarDays as
|
|
23
|
-
import { endOfDay as
|
|
22
|
+
import { differenceInCalendarDays as ge } from "date-fns/differenceInCalendarDays";
|
|
23
|
+
import { endOfDay as Ae } from "date-fns/endOfDay";
|
|
24
24
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
25
25
|
import { endOfToday as J } from "date-fns/endOfToday";
|
|
26
|
-
import { endOfYear as
|
|
27
|
-
import { startOfMonth as
|
|
28
|
-
import { startOfToday as
|
|
29
|
-
import { startOfYear as
|
|
26
|
+
import { endOfYear as Se } from "date-fns/endOfYear";
|
|
27
|
+
import { startOfMonth as Ne } from "date-fns/startOfMonth";
|
|
28
|
+
import { startOfToday as me } from "date-fns/startOfToday";
|
|
29
|
+
import { startOfYear as Le } from "date-fns/startOfYear";
|
|
30
30
|
import { subMonths as z } from "date-fns/subMonths";
|
|
31
|
-
import { subDays as
|
|
31
|
+
import { subDays as ue } from "date-fns/subDays";
|
|
32
32
|
import { subYears as Q } from "date-fns/subYears";
|
|
33
|
-
import
|
|
33
|
+
import De from "@mui/material/ButtonGroup";
|
|
34
34
|
import ke from "@mui/material/Tab";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import { u as
|
|
40
|
-
import { f as
|
|
41
|
-
import { D as
|
|
42
|
-
const
|
|
35
|
+
import pe from "@mui/material/Tabs";
|
|
36
|
+
import Oe from "@mui/material/ToggleButton";
|
|
37
|
+
import he from "@mui/material/ToggleButtonGroup";
|
|
38
|
+
import fe from "@mui/material/styles/useTheme";
|
|
39
|
+
import { u as be } from "./useAriaLive-B3_pRUio.mjs";
|
|
40
|
+
import { f as S, D as N, a as Ke } from "./Dialog-B4PI-_bL.mjs";
|
|
41
|
+
import { D as we } from "./Drawer-DV4NTsFg.mjs";
|
|
42
|
+
const Ge = {
|
|
43
43
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
44
44
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
45
45
|
ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
|
|
@@ -159,15 +159,15 @@ const Me = {
|
|
|
159
159
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
160
160
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
161
161
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
162
|
-
},
|
|
163
|
-
calendarActions:
|
|
164
|
-
color:
|
|
162
|
+
}, Me = ({
|
|
163
|
+
calendarActions: r,
|
|
164
|
+
color: m = "primary",
|
|
165
165
|
copy: t,
|
|
166
|
-
range:
|
|
167
|
-
shouldShrinkToIcon:
|
|
166
|
+
range: L = [Ne(me()), V(J())],
|
|
167
|
+
shouldShrinkToIcon: u = !0,
|
|
168
168
|
variant: c = "outlined"
|
|
169
169
|
}) => {
|
|
170
|
-
const x =
|
|
170
|
+
const x = fe(), { isMobile: D } = _e(), { announce: B, ariaLive: k } = be(), [A, h] = I.useState(L), [d, f] = I.useState(t.dateRangePickerCopy.dateRangeThisMonth), [R, v] = I.useState(A), [p, O] = I.useState(!1), [T, g] = I.useState(!0), [l, y] = I.useState(6), P = {
|
|
171
171
|
buttons: [
|
|
172
172
|
{ label: "3M", value: 3 },
|
|
173
173
|
{ label: "6M", value: 6 },
|
|
@@ -181,43 +181,43 @@ const Me = {
|
|
|
181
181
|
{ label: "1 Year", value: 12 }
|
|
182
182
|
]
|
|
183
183
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}, [
|
|
187
|
-
(c === "timeframebuttons" || c === "timeframetabs") &&
|
|
184
|
+
I.useEffect(() => {
|
|
185
|
+
h(L), v(L);
|
|
186
|
+
}, [L]), I.useEffect(() => {
|
|
187
|
+
(c === "timeframebuttons" || c === "timeframetabs") && r.onRangeChanged(a());
|
|
188
188
|
}, [l]);
|
|
189
189
|
const a = () => {
|
|
190
190
|
const _ = V(J());
|
|
191
191
|
return [V(z(_, l)), _];
|
|
192
|
-
},
|
|
193
|
-
const [
|
|
192
|
+
}, U = (_) => {
|
|
193
|
+
const [n, i] = A, s = _ === "previous";
|
|
194
194
|
let o;
|
|
195
195
|
if (d === t.dateRangePickerCopy.dateRangeThisMonth || d === t.dateRangePickerCopy.dateRangeLastMonth)
|
|
196
196
|
o = [
|
|
197
|
-
|
|
198
|
-
V(
|
|
197
|
+
s ? z(n, 1) : Z(n, 1),
|
|
198
|
+
V(s ? z(i, 1) : Z(i, 1))
|
|
199
199
|
];
|
|
200
200
|
else if (d === t.dateRangePickerCopy.dateRangeYTD || d === t.dateRangePickerCopy.dateRangeLastYear) {
|
|
201
|
-
const
|
|
201
|
+
const G = Le(n), M = Se(n);
|
|
202
202
|
o = [
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
s ? Q(G, 1) : q(G, 1),
|
|
204
|
+
s ? Q(M, 1) : q(M, 1)
|
|
205
205
|
];
|
|
206
206
|
} else {
|
|
207
|
-
const
|
|
208
|
-
o = [M(
|
|
207
|
+
const G = ge(i, n), M = s ? ue : Re;
|
|
208
|
+
o = [M(n, G), M(i, G)];
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
|
|
210
|
+
h(o), r.onRangeChanged(o);
|
|
211
|
+
}, b = () => {
|
|
212
|
+
h(R), g(
|
|
213
213
|
d === t.dateRangePickerCopy.dateRangeThisMonth || d === t.dateRangePickerCopy.dateRangeLastMonth
|
|
214
|
-
),
|
|
215
|
-
}, K = (_,
|
|
214
|
+
), r.onRangeChanged(R);
|
|
215
|
+
}, K = (_, n) => {
|
|
216
216
|
_[1] = _[1] ?? _[0];
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
|
|
217
|
+
const i = [_[0], _[1] ? Ae(_[1]) : _[1]], s = S(i[0], N.MONTH_DAY_YEAR), o = S(i[1], N.MONTH_DAY_YEAR);
|
|
218
|
+
v(i), f(n), B(`${t.dateRangePickerCopy}: ${s} - ${o}`);
|
|
219
|
+
}, w = (_) => {
|
|
220
|
+
y(_);
|
|
221
221
|
};
|
|
222
222
|
return /* @__PURE__ */ C(X, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
223
223
|
/* @__PURE__ */ C(
|
|
@@ -225,25 +225,25 @@ const Me = {
|
|
|
225
225
|
{
|
|
226
226
|
sx: {
|
|
227
227
|
[x.breakpoints.down("sm")]: {
|
|
228
|
-
display:
|
|
228
|
+
display: u ? "none" : "flex",
|
|
229
229
|
justifyContent: "center"
|
|
230
230
|
},
|
|
231
231
|
[x.breakpoints.up("sm")]: { display: "inline-flex" }
|
|
232
232
|
},
|
|
233
233
|
children: [
|
|
234
234
|
c === "readonly" && /* @__PURE__ */ C(Y, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
235
|
-
/* @__PURE__ */ e(
|
|
236
|
-
/* @__PURE__ */ e(F, { bold: !0, children:
|
|
237
|
-
/* @__PURE__ */ e(
|
|
238
|
-
/* @__PURE__ */ e(F, { bold: !0, children:
|
|
235
|
+
/* @__PURE__ */ e(E, { name: "calendar_month", size: 24 }),
|
|
236
|
+
/* @__PURE__ */ e(F, { bold: !0, children: S(R[0], N.MONTH_DAY) }),
|
|
237
|
+
/* @__PURE__ */ e(E, { name: "remove" }),
|
|
238
|
+
/* @__PURE__ */ e(F, { bold: !0, children: S(R[1], N.MONTH_DAY_YEAR) })
|
|
239
239
|
] }),
|
|
240
240
|
c !== "readonly" && c !== "timeframebuttons" && c !== "timeframetabs" && /* @__PURE__ */ C(
|
|
241
|
-
|
|
241
|
+
De,
|
|
242
242
|
{
|
|
243
|
-
color:
|
|
243
|
+
color: m,
|
|
244
244
|
sx: {
|
|
245
245
|
"& .MuiButtonGroup-grouped": {
|
|
246
|
-
padding:
|
|
246
|
+
padding: D ? 0 : 12
|
|
247
247
|
},
|
|
248
248
|
"& .MuiButtonGroup-middleButton": {
|
|
249
249
|
px: 24
|
|
@@ -255,55 +255,55 @@ const Me = {
|
|
|
255
255
|
/* @__PURE__ */ e(
|
|
256
256
|
W,
|
|
257
257
|
{
|
|
258
|
-
"aria-disabled":
|
|
258
|
+
"aria-disabled": r.shouldDisablePrevious,
|
|
259
259
|
"aria-label": t.dateRangePreviousAria,
|
|
260
|
-
color:
|
|
261
|
-
onClick: () =>
|
|
262
|
-
children: /* @__PURE__ */ e(
|
|
260
|
+
color: r.shouldDisablePrevious ? "secondary" : "primary",
|
|
261
|
+
onClick: () => r.shouldDisablePrevious ? null : U("previous"),
|
|
262
|
+
children: /* @__PURE__ */ e(E, { name: "chevron_left", size: 20 })
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
265
|
/* @__PURE__ */ e(
|
|
266
266
|
W,
|
|
267
267
|
{
|
|
268
|
-
"aria-disabled":
|
|
269
|
-
color:
|
|
270
|
-
onClick: () =>
|
|
271
|
-
startIcon: /* @__PURE__ */ e(
|
|
268
|
+
"aria-disabled": r.shouldDisablePicker,
|
|
269
|
+
color: m,
|
|
270
|
+
onClick: () => r.shouldDisablePicker ? null : O(!0),
|
|
271
|
+
startIcon: /* @__PURE__ */ e(E, { name: "calendar_month", size: 20 }),
|
|
272
272
|
sx: {
|
|
273
|
-
p:
|
|
273
|
+
p: D ? 0 : 8
|
|
274
274
|
},
|
|
275
|
-
children:
|
|
276
|
-
|
|
275
|
+
children: T ? S(A[0], N.MONTH_YEAR) : /* @__PURE__ */ C("span", { children: [
|
|
276
|
+
S(A[0], N.MONTH_DAY_YEAR),
|
|
277
277
|
" -",
|
|
278
278
|
" ",
|
|
279
|
-
|
|
279
|
+
S(A[1], N.MONTH_DAY_YEAR)
|
|
280
280
|
] })
|
|
281
281
|
}
|
|
282
282
|
),
|
|
283
283
|
/* @__PURE__ */ e(
|
|
284
284
|
W,
|
|
285
285
|
{
|
|
286
|
-
"aria-disabled":
|
|
286
|
+
"aria-disabled": r.shouldDisableNext,
|
|
287
287
|
"aria-label": t.dateRangeNextAria,
|
|
288
|
-
color:
|
|
289
|
-
onClick: () =>
|
|
290
|
-
children: /* @__PURE__ */ e(
|
|
288
|
+
color: r.shouldDisableNext ? "secondary" : "primary",
|
|
289
|
+
onClick: () => r.shouldDisableNext ? null : U("next"),
|
|
290
|
+
children: /* @__PURE__ */ e(E, { name: "chevron_right", size: 20 })
|
|
291
291
|
}
|
|
292
292
|
)
|
|
293
293
|
]
|
|
294
294
|
}
|
|
295
295
|
),
|
|
296
296
|
c === "timeframebuttons" && /* @__PURE__ */ e(
|
|
297
|
-
|
|
297
|
+
he,
|
|
298
298
|
{
|
|
299
|
-
color:
|
|
299
|
+
color: m,
|
|
300
300
|
exclusive: !0,
|
|
301
301
|
orientation: "horizontal",
|
|
302
302
|
value: l,
|
|
303
303
|
children: P.buttons.map((_) => /* @__PURE__ */ e(
|
|
304
|
-
|
|
304
|
+
Oe,
|
|
305
305
|
{
|
|
306
|
-
onClick: () =>
|
|
306
|
+
onClick: () => w(_.value),
|
|
307
307
|
sx: { width: 56 },
|
|
308
308
|
value: _.value,
|
|
309
309
|
children: _.label
|
|
@@ -313,10 +313,10 @@ const Me = {
|
|
|
313
313
|
}
|
|
314
314
|
),
|
|
315
315
|
c === "timeframetabs" && /* @__PURE__ */ e(
|
|
316
|
-
|
|
316
|
+
pe,
|
|
317
317
|
{
|
|
318
318
|
indicatorColor: "primary",
|
|
319
|
-
onChange: (_,
|
|
319
|
+
onChange: (_, n) => w(n),
|
|
320
320
|
textColor: "primary",
|
|
321
321
|
value: l,
|
|
322
322
|
variant: "fullWidth",
|
|
@@ -334,14 +334,14 @@ const Me = {
|
|
|
334
334
|
]
|
|
335
335
|
}
|
|
336
336
|
),
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
p && D && /* @__PURE__ */ C(
|
|
338
|
+
we,
|
|
339
339
|
{
|
|
340
340
|
ariaLabelClose: t.dateRangeCloseAria,
|
|
341
|
-
isOpen:
|
|
342
|
-
onClose: () =>
|
|
341
|
+
isOpen: p,
|
|
342
|
+
onClose: () => O(!1),
|
|
343
343
|
onPrimaryAction: () => {
|
|
344
|
-
|
|
344
|
+
b(), O(!1);
|
|
345
345
|
},
|
|
346
346
|
primaryText: t.dateRangeEditApply,
|
|
347
347
|
title: t.dateRangeEditTitle,
|
|
@@ -351,7 +351,7 @@ const Me = {
|
|
|
351
351
|
$,
|
|
352
352
|
{
|
|
353
353
|
copy: t.dateRangePickerCopy,
|
|
354
|
-
dateRange:
|
|
354
|
+
dateRange: R,
|
|
355
355
|
onRangeChanged: K,
|
|
356
356
|
selectedShortcut: d,
|
|
357
357
|
sx: { p: 0 }
|
|
@@ -360,13 +360,13 @@ const Me = {
|
|
|
360
360
|
]
|
|
361
361
|
}
|
|
362
362
|
),
|
|
363
|
-
|
|
363
|
+
p && !D && /* @__PURE__ */ C(
|
|
364
364
|
Ke,
|
|
365
365
|
{
|
|
366
366
|
copy: { title: t.dateRangeEditTitle },
|
|
367
367
|
isOpen: !0,
|
|
368
|
-
onClose: () =>
|
|
369
|
-
onPrimaryAction: () =>
|
|
368
|
+
onClose: () => O(!1),
|
|
369
|
+
onPrimaryAction: () => b(),
|
|
370
370
|
primaryText: t.dateRangeEditApply,
|
|
371
371
|
sx: {
|
|
372
372
|
"& .MuiDialogContent-root": {
|
|
@@ -379,7 +379,7 @@ const Me = {
|
|
|
379
379
|
$,
|
|
380
380
|
{
|
|
381
381
|
copy: t.dateRangePickerCopy,
|
|
382
|
-
dateRange:
|
|
382
|
+
dateRange: R,
|
|
383
383
|
onRangeChanged: K,
|
|
384
384
|
selectedShortcut: d,
|
|
385
385
|
sx: {
|
|
@@ -394,31 +394,29 @@ const Me = {
|
|
|
394
394
|
}
|
|
395
395
|
)
|
|
396
396
|
] });
|
|
397
|
-
}, ee =
|
|
397
|
+
}, ee = Me, L_ = te(
|
|
398
398
|
({
|
|
399
|
-
allowedAccountTypes:
|
|
400
|
-
actions:
|
|
399
|
+
allowedAccountTypes: r,
|
|
400
|
+
actions: m = [],
|
|
401
401
|
calendarActions: t,
|
|
402
|
-
children:
|
|
403
|
-
dateRange:
|
|
402
|
+
children: L,
|
|
403
|
+
dateRange: u,
|
|
404
404
|
dateRangeVariant: c,
|
|
405
405
|
className: x = "mx-cmn-widget",
|
|
406
|
-
hasDivider:
|
|
406
|
+
hasDivider: D = !1,
|
|
407
407
|
onAccountsFilterClick: B,
|
|
408
408
|
onBackClick: k,
|
|
409
|
-
showAccountFilter:
|
|
410
|
-
showDividerAboveDateSelector:
|
|
409
|
+
showAccountFilter: A = !0,
|
|
410
|
+
showDividerAboveDateSelector: h = !0,
|
|
411
411
|
sx: d = {},
|
|
412
|
-
title:
|
|
412
|
+
title: f = ""
|
|
413
413
|
}) => {
|
|
414
|
-
const [
|
|
415
|
-
|
|
416
|
-
const U = () => {
|
|
417
|
-
k && (k(), h(Me.WIDGET_BACK_CLICK));
|
|
414
|
+
const [R, { height: v, width: p }] = oe(), { onEvent: O } = de(), { isDesktop: T, isMobile: g, isTablet: l } = _e(p), { displayedDateRange: y, isCopyLoaded: P } = Te(), { common: a } = Ie(), U = () => {
|
|
415
|
+
k && (k(), O(Ge.WIDGET_BACK_CLICK));
|
|
418
416
|
};
|
|
419
417
|
if (!P)
|
|
420
418
|
return /* @__PURE__ */ e(Ce, {});
|
|
421
|
-
const
|
|
419
|
+
const b = {
|
|
422
420
|
dateRangePickerCopy: {
|
|
423
421
|
dateRangeFrom: a.date_range_picker.from,
|
|
424
422
|
dateRangeTo: a.date_range_picker.to,
|
|
@@ -436,125 +434,122 @@ const Me = {
|
|
|
436
434
|
dateRangeEditTitle: a.date_range_picker.edit_title,
|
|
437
435
|
dateRangeNextAria: a.date_range_picker.next_aria,
|
|
438
436
|
dateRangePreviousAria: a.date_range_picker.previous_aria
|
|
439
|
-
},
|
|
437
|
+
}, K = u ? u.start : y.start, w = u ? u.end : y.end, _ = m?.length > 1;
|
|
440
438
|
return /* @__PURE__ */ C(
|
|
441
439
|
ae,
|
|
442
440
|
{
|
|
443
441
|
className: x,
|
|
444
442
|
sx: {
|
|
445
|
-
...
|
|
443
|
+
...g && { px: 4 },
|
|
446
444
|
"& .mx-cmn-date-range-selector": {
|
|
447
|
-
...(
|
|
445
|
+
...(g || l) && { textAlign: "center" }
|
|
448
446
|
},
|
|
449
447
|
...d
|
|
450
448
|
},
|
|
451
449
|
children: [
|
|
452
|
-
|
|
450
|
+
f && /* @__PURE__ */ e(
|
|
453
451
|
ne,
|
|
454
452
|
{
|
|
455
453
|
action: /* @__PURE__ */ C(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
456
|
-
|
|
454
|
+
T && t && /* @__PURE__ */ e(X, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ e(
|
|
457
455
|
ee,
|
|
458
456
|
{
|
|
459
457
|
calendarActions: t,
|
|
460
|
-
copy:
|
|
461
|
-
range: [
|
|
458
|
+
copy: b,
|
|
459
|
+
range: [K, w],
|
|
462
460
|
shouldShrinkToIcon: !1,
|
|
463
461
|
variant: c
|
|
464
462
|
}
|
|
465
463
|
) }),
|
|
466
|
-
|
|
464
|
+
A && /* @__PURE__ */ e(
|
|
467
465
|
le,
|
|
468
466
|
{
|
|
469
|
-
allowedAccountTypes:
|
|
467
|
+
allowedAccountTypes: r,
|
|
470
468
|
onAccountFilterClick: B
|
|
471
469
|
}
|
|
472
470
|
),
|
|
473
|
-
|
|
474
|
-
if (
|
|
475
|
-
const { iconName: i, onClick:
|
|
476
|
-
return
|
|
471
|
+
m?.map((n) => {
|
|
472
|
+
if (I.isValidElement(n)) return n;
|
|
473
|
+
const { iconName: i, onClick: s, label: o } = n;
|
|
474
|
+
return _ ? T || l ? /* @__PURE__ */ e(
|
|
477
475
|
W,
|
|
478
476
|
{
|
|
479
|
-
onClick:
|
|
480
|
-
startIcon: /* @__PURE__ */ e(
|
|
477
|
+
onClick: s,
|
|
478
|
+
startIcon: /* @__PURE__ */ e(E, { name: i, size: 24 }),
|
|
481
479
|
sx: { my: 4 },
|
|
482
|
-
children:
|
|
480
|
+
children: o
|
|
483
481
|
},
|
|
484
482
|
i
|
|
485
483
|
) : /* @__PURE__ */ e(
|
|
486
484
|
H,
|
|
487
485
|
{
|
|
488
|
-
"aria-label":
|
|
486
|
+
"aria-label": o,
|
|
489
487
|
color: "primary",
|
|
490
|
-
onClick:
|
|
491
|
-
children: /* @__PURE__ */ e(
|
|
488
|
+
onClick: s,
|
|
489
|
+
children: /* @__PURE__ */ e(E, { name: i, size: 24 })
|
|
492
490
|
},
|
|
493
491
|
i
|
|
494
|
-
) :
|
|
492
|
+
) : T || l ? /* @__PURE__ */ e(
|
|
495
493
|
W,
|
|
496
494
|
{
|
|
497
|
-
onClick:
|
|
498
|
-
startIcon: /* @__PURE__ */ e(
|
|
495
|
+
onClick: s,
|
|
496
|
+
startIcon: /* @__PURE__ */ e(E, { name: i, size: 24 }),
|
|
499
497
|
sx: { my: 4 },
|
|
500
|
-
children:
|
|
498
|
+
children: o
|
|
501
499
|
},
|
|
502
500
|
i
|
|
503
|
-
) : /* @__PURE__ */ e(H, { "aria-label":
|
|
501
|
+
) : /* @__PURE__ */ e(H, { "aria-label": o, color: "primary", onClick: s, children: /* @__PURE__ */ e(E, { name: i, size: 24 }) }, i);
|
|
504
502
|
})
|
|
505
503
|
] }),
|
|
506
504
|
sx: {
|
|
507
|
-
p:
|
|
505
|
+
p: T ? 48 : 24,
|
|
508
506
|
pb: 0,
|
|
509
507
|
"& .MuiCardHeader-action": {
|
|
510
508
|
mr: 0,
|
|
511
|
-
...t &&
|
|
512
|
-
...(
|
|
509
|
+
...t && T && { flexGrow: 1 },
|
|
510
|
+
...(g || l) && { alignSelf: "center" }
|
|
513
511
|
},
|
|
514
512
|
"& .MuiCardHeader-content": {
|
|
515
513
|
overflow: "hidden"
|
|
516
514
|
}
|
|
517
515
|
},
|
|
518
|
-
title: (
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
f.display_widget_headings ? /* @__PURE__ */ e(se, { children: w }) : null
|
|
532
|
-
] })
|
|
533
|
-
)
|
|
516
|
+
title: T || l ? /* @__PURE__ */ e(ce, { variant: "H1", children: f }) : /* @__PURE__ */ C(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
517
|
+
g && k && /* @__PURE__ */ e(
|
|
518
|
+
H,
|
|
519
|
+
{
|
|
520
|
+
"aria-label": a.back_to_dashboard,
|
|
521
|
+
color: "primary",
|
|
522
|
+
onClick: U,
|
|
523
|
+
sx: { p: 12, mr: 4 },
|
|
524
|
+
children: /* @__PURE__ */ e(re, { size: 24 })
|
|
525
|
+
}
|
|
526
|
+
),
|
|
527
|
+
/* @__PURE__ */ e(se, { children: f })
|
|
528
|
+
] })
|
|
534
529
|
}
|
|
535
530
|
),
|
|
536
|
-
|
|
537
|
-
t && (
|
|
538
|
-
|
|
531
|
+
D && /* @__PURE__ */ e(j, { sx: { mt: T ? 48 : 24 } }),
|
|
532
|
+
t && (g || l) && /* @__PURE__ */ C(Y, { gap: 24, justifyContent: "center", sx: { mt: g ? 0 : 16 }, children: [
|
|
533
|
+
h && /* @__PURE__ */ e(j, {}),
|
|
539
534
|
/* @__PURE__ */ e(
|
|
540
535
|
ee,
|
|
541
536
|
{
|
|
542
537
|
calendarActions: t,
|
|
543
|
-
copy:
|
|
544
|
-
range: [
|
|
538
|
+
copy: b,
|
|
539
|
+
range: [K, w],
|
|
545
540
|
shouldShrinkToIcon: !1,
|
|
546
541
|
variant: c
|
|
547
542
|
}
|
|
548
543
|
)
|
|
549
544
|
] }),
|
|
550
|
-
/* @__PURE__ */ e(ie, { ref:
|
|
545
|
+
/* @__PURE__ */ e(ie, { ref: R, sx: { p: 0 }, children: /* @__PURE__ */ e(Ee, { availableHeight: v, availableWidth: p, children: L }) })
|
|
551
546
|
]
|
|
552
547
|
}
|
|
553
548
|
);
|
|
554
549
|
}
|
|
555
550
|
);
|
|
556
551
|
export {
|
|
557
|
-
|
|
552
|
+
Ge as A,
|
|
558
553
|
ee as D,
|
|
559
|
-
|
|
554
|
+
L_ as W
|
|
560
555
|
};
|
|
@@ -25,7 +25,7 @@ import I1 from "@mui/material/Switch";
|
|
|
25
25
|
import D from "@mui/material/ListItem";
|
|
26
26
|
import $ from "@mui/material/ListItemButton";
|
|
27
27
|
import O from "@mui/material/ListItemText";
|
|
28
|
-
import { A as S, W as N1 } from "../WidgetContainer-
|
|
28
|
+
import { A as S, W as N1 } from "../WidgetContainer-to34uDrh.mjs";
|
|
29
29
|
import { a as Q, f as s1, D as l1 } from "../Dialog-B4PI-_bL.mjs";
|
|
30
30
|
import { b as f } from "../Localization-2MODESHW.mjs";
|
|
31
31
|
import { D as t1 } from "../Drawer-DV4NTsFg.mjs";
|
|
@@ -53,7 +53,7 @@ import t3 from "@mui/material/AlertTitle";
|
|
|
53
53
|
import n3 from "@mui/material/Link";
|
|
54
54
|
import o3 from "@mui/material/Paper";
|
|
55
55
|
import { subDays as i3, startOfToday as c3, endOfToday as a3 } from "date-fns";
|
|
56
|
-
import { T as s3, a as l3 } from "../TransactionDetails-
|
|
56
|
+
import { T as s3, a as l3 } from "../TransactionDetails-DhEr3tAj.mjs";
|
|
57
57
|
import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
|
|
58
58
|
import { f as d1 } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
59
59
|
import { C as r3 } from "../ConnectionsDrawer-BDpVTTSe.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -28,7 +28,7 @@ import { useTheme as Ve } from "@mui/material/styles";
|
|
|
28
28
|
import { u as ie } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
29
29
|
import { L as ge } from "../Loader-DUaFpDGv.mjs";
|
|
30
30
|
import { E as le } from "../EmptyState-DoxNUae-.mjs";
|
|
31
|
-
import { A as N, W as Ye } from "../WidgetContainer-
|
|
31
|
+
import { A as N, W as Ye } from "../WidgetContainer-to34uDrh.mjs";
|
|
32
32
|
import { u as Ze } from "../BudgetUtil-BmZXkL0C.mjs";
|
|
33
33
|
import { u as we } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
34
34
|
import { M as qe } from "../MiniWidgetContainer-98-hKFqm.mjs";
|
|
@@ -39,7 +39,7 @@ import Ee from "@mui/material/Snackbar";
|
|
|
39
39
|
import _e from "@mui/material/Tab";
|
|
40
40
|
import Qe from "@mui/material/Tabs";
|
|
41
41
|
import { e as et } from "../exportTransactionsToCSV-DtQ7ovAR.mjs";
|
|
42
|
-
import { T as Ie, a as tt } from "../TransactionDetails-
|
|
42
|
+
import { T as Ie, a as tt } from "../TransactionDetails-DhEr3tAj.mjs";
|
|
43
43
|
import pe from "@mui/material/Card";
|
|
44
44
|
import he from "@mui/material/CardContent";
|
|
45
45
|
import { S as me } from "../StatusBar-BK_uYHAB.mjs";
|
|
@@ -48,7 +48,7 @@ import { u as nt, b as ot } from "../CategorySelectorDrawer-cQKX5dZb.mjs";
|
|
|
48
48
|
import Re from "@mui/material/CardHeader";
|
|
49
49
|
import { subDays as at } from "date-fns/subDays";
|
|
50
50
|
import rt from "@mui/material/IconButton";
|
|
51
|
-
import { M as st } from "../ManageIncome-
|
|
51
|
+
import { M as st } from "../ManageIncome-DV6GIjAN.mjs";
|
|
52
52
|
const it = E(() => {
|
|
53
53
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = te(), s = i - o;
|
|
54
54
|
return /* @__PURE__ */ m(B, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-2MODESHW.mjs";
|
|
|
18
18
|
import { u as Oe } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
19
19
|
import { M as Je } from "../MiniWidgetContainer-98-hKFqm.mjs";
|
|
20
20
|
import { E as Ze } from "../EmptyState-DoxNUae-.mjs";
|
|
21
|
-
import { R as et } from "../RecurringSettings-
|
|
21
|
+
import { R as et } from "../RecurringSettings-CE7kxzFZ.mjs";
|
|
22
22
|
import tt from "@mui/material/Tabs";
|
|
23
23
|
import ye from "@mui/material/Tab";
|
|
24
24
|
import { getUnixTime as z } from "date-fns/getUnixTime";
|
|
@@ -36,16 +36,16 @@ import { alpha as at, keyframes as it } from "@mui/material/styles";
|
|
|
36
36
|
import { DataGridPro as rt } from "@mui/x-data-grid-pro";
|
|
37
37
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
38
38
|
import G from "@mui/material/Button";
|
|
39
|
-
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-
|
|
39
|
+
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-DV6GIjAN.mjs";
|
|
40
40
|
import { D as Ge } from "../Drawer-DV4NTsFg.mjs";
|
|
41
41
|
import { subDays as Me } from "date-fns/subDays";
|
|
42
42
|
import { endOfToday as mt } from "date-fns/endOfToday";
|
|
43
|
-
import { W as ut, A as Ie } from "../WidgetContainer-
|
|
43
|
+
import { W as ut, A as Ie } from "../WidgetContainer-to34uDrh.mjs";
|
|
44
44
|
import { A as Q } from "../Account-BiB1F8lL.mjs";
|
|
45
45
|
import { formatISO as ht } from "date-fns/formatISO";
|
|
46
46
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
47
47
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
48
|
-
import { S as ft, b as gt } from "../TransactionDetails-
|
|
48
|
+
import { S as ft, b as gt } from "../TransactionDetails-DhEr3tAj.mjs";
|
|
49
49
|
import { F as bt, R as ve, e as Ae } from "../RepeatingTransaction-miZVnk_A.mjs";
|
|
50
50
|
import { h as xt } from "../DateUtil-D7U-nc1Y.mjs";
|
|
51
51
|
import { F as Ct, A as j } from "../Fetch-DecPFeGU.mjs";
|
package/dist/common/index.es.js
CHANGED
|
@@ -12,14 +12,14 @@ import { H as at } from "../Help-DhcC-C05.mjs";
|
|
|
12
12
|
import { E as Ss } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as ws } from "../MicroWidgetContainer-B2hO9rOG.mjs";
|
|
14
14
|
import { M as xs } from "../MiniWidgetContainer-98-hKFqm.mjs";
|
|
15
|
-
import { A as As, D as vs, W as Es } from "../WidgetContainer-
|
|
15
|
+
import { A as As, D as vs, W as Es } from "../WidgetContainer-to34uDrh.mjs";
|
|
16
16
|
import { b as Bs, G as Is } from "../GlobalAccountFilter-DQCPNc95.mjs";
|
|
17
17
|
import { C as Ms } from "../CurrencyInput-itK0R3wV.mjs";
|
|
18
18
|
import { L as Us } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as Rs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Os } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as it } from "../TransactionStore-
|
|
22
|
-
import { S as Fs } from "../TransactionStore-
|
|
21
|
+
import { T as it } from "../TransactionStore-COGlidS-.mjs";
|
|
22
|
+
import { S as Fs } from "../TransactionStore-COGlidS-.mjs";
|
|
23
23
|
import { T as Gs } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as qs } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as Qs, F as Xs, c as js, d as Ks, R as zs, S as Vs } from "../RepeatingTransaction-miZVnk_A.mjs";
|
|
@@ -939,7 +939,6 @@ const z = {
|
|
|
939
939
|
display_terms_and_conditions: !0,
|
|
940
940
|
display_user_profile_in_settings: !0,
|
|
941
941
|
display_user_transaction_rules_in_settings: !0,
|
|
942
|
-
display_widget_headings: !0,
|
|
943
942
|
enable_add_account_in_zero_state: !0,
|
|
944
943
|
enable_aggregation_prompts: !0,
|
|
945
944
|
enable_external_accounts_in_goals_widget: !0,
|