@mx-cartographer/experiences 7.0.36 → 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 +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 +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 +11 -11
- package/dist/{useInsightsEnabled-DqM4sFO1.mjs → useInsightsEnabled-BwLaOKWW.mjs} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,10 +11,10 @@ import M from "@mui/material/Divider";
|
|
|
11
11
|
import v from "@mui/material/ListItem";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
13
13
|
import w from "@mui/material/ListItemText";
|
|
14
|
-
import { u as D } from "./AccountDetailsHeader-
|
|
15
|
-
import { c as z, u as E, f as O, g as X } from "./hooks-
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-Bt8O2raZ.mjs";
|
|
15
|
+
import { c as z, u as E, f as O, g as X } from "./hooks-BAAimqdq.mjs";
|
|
16
|
+
import { A as at } from "./AccountListItem-FmvNfEP8.mjs";
|
|
17
|
+
import { A as k } from "./WidgetContainer-ztkGgdIH.mjs";
|
|
18
18
|
import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
@@ -22,7 +22,7 @@ import R from "@mui/material/ListItemAvatar";
|
|
|
22
22
|
import ct from "@mui/material/Stack";
|
|
23
23
|
import st from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
|
|
25
|
-
import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-
|
|
25
|
+
import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
26
26
|
import { fromUnixTime as lt } from "date-fns/fromUnixTime";
|
|
27
27
|
import { isToday as dt } from "date-fns/isToday";
|
|
28
28
|
import { isYesterday as ut } from "date-fns/isYesterday";
|
|
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
|
|
|
37
37
|
import At from "@mui/material/MenuItem";
|
|
38
38
|
import bt from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
|
-
import { C as St } from "./CurrencyInput-
|
|
41
|
-
import { b as Dt } from "./AccountFields-
|
|
40
|
+
import { C as St } from "./CurrencyInput-pHmLzc_c.mjs";
|
|
41
|
+
import { b as Dt } from "./AccountFields-DvACKQho.mjs";
|
|
42
42
|
import Et from "@mui/material/Alert";
|
|
43
43
|
import yt from "@mui/material/AlertTitle";
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-C-2UEbmQ.mjs";
|
|
48
48
|
import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -2,17 +2,17 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as p } from "mobx-react-lite";
|
|
3
3
|
import d from "@mui/material/Stack";
|
|
4
4
|
import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
|
|
5
|
-
import { g as N } from "./AccountFields-
|
|
5
|
+
import { g as N } from "./AccountFields-DvACKQho.mjs";
|
|
6
6
|
import h from "react";
|
|
7
|
-
import { G as v, c as S,
|
|
7
|
+
import { G as v, c as S, m as y, u as _, e as E } from "./hooks-BAAimqdq.mjs";
|
|
8
8
|
import G from "@mui/material/Card";
|
|
9
9
|
import O from "@mui/material/CardContent";
|
|
10
10
|
import P from "@mui/material/CardHeader";
|
|
11
11
|
import { useTheme as M } from "@mui/material/styles";
|
|
12
12
|
import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
|
|
13
|
-
import { L as j } from "./LineChart-
|
|
14
|
-
import { I as f, P as g, S as C } from "./Account-
|
|
15
|
-
import { A } from "./ConnectDrawer-
|
|
13
|
+
import { L as j } from "./LineChart-CbOmpTDP.mjs";
|
|
14
|
+
import { I as f, P as g, S as C } from "./Account-9Tt9DsMn.mjs";
|
|
15
|
+
import { A } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
16
16
|
import { L as z } from "./Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { f as Y, D as R } from "./Dialog-CWW597AF.mjs";
|
|
18
18
|
import { f as $ } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
3
|
-
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-
|
|
4
|
-
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-
|
|
3
|
+
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
4
|
+
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-DR3xTyAx.mjs";
|
|
5
5
|
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
|
|
@@ -10,9 +10,9 @@ import C from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as L } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as A } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as j } from "./AccountFields-
|
|
14
|
-
import { d } from "./ConnectDrawer-
|
|
15
|
-
import { u as T } from "./hooks-
|
|
13
|
+
import { g as j } from "./AccountFields-DvACKQho.mjs";
|
|
14
|
+
import { d } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
15
|
+
import { u as T } from "./hooks-BAAimqdq.mjs";
|
|
16
16
|
import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
17
17
|
const $ = {
|
|
18
18
|
gridRow: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as _, runInAction as a } from "mobx";
|
|
2
|
-
import { i as g } from "./User-
|
|
2
|
+
import { i as g } from "./User-BwjK6Fwz.mjs";
|
|
3
3
|
import { F as f, A as i } from "./Fetch-87LIQbEA.mjs";
|
|
4
|
-
import { A as n, d as h, E as p, g as y, h as I } from "./ConnectDrawer-
|
|
4
|
+
import { A as n, d as h, E as p, g as y, h as I } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
5
5
|
class l {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, e, s) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _ } from "./ConnectDrawer-
|
|
1
|
+
import { A as _ } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
2
2
|
const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
|
|
3
3
|
export {
|
|
4
4
|
s as a,
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as g } from "mobx-react-lite";
|
|
3
3
|
import C from "react";
|
|
4
4
|
import $ from "@mui/material/Stack";
|
|
5
|
-
import { G as K,
|
|
5
|
+
import { G as K, m as y, u as b, f as D, a as U } from "./hooks-BAAimqdq.mjs";
|
|
6
6
|
import Y from "@mui/material/List";
|
|
7
7
|
import V from "@mui/material/Paper";
|
|
8
8
|
import v from "@mui/material/Divider";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as I, jsxs as U } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import T, { useMemo as $ } from "react";
|
|
3
3
|
import f from "@mui/material/Button";
|
|
4
|
-
import { AccountsIcon as Q, P as x, Icon as
|
|
4
|
+
import { AccountsIcon as Q, P as x, Icon as K, Text as q } from "@mxenabled/mxui";
|
|
5
5
|
import Z from "@mui/material/Tooltip";
|
|
6
|
-
import
|
|
6
|
+
import o from "@mui/material/Box";
|
|
7
7
|
import S from "@mui/material/IconButton";
|
|
8
8
|
import k from "@mui/material/FormControlLabel";
|
|
9
|
-
import
|
|
9
|
+
import t from "@mui/material/List";
|
|
10
10
|
import V from "@mui/material/ListItem";
|
|
11
11
|
import n from "@mui/material/ListItemButton";
|
|
12
12
|
import b from "@mui/material/ListSubheader";
|
|
@@ -14,7 +14,7 @@ import p from "@mui/material/ListItemText";
|
|
|
14
14
|
import y from "@mui/material/Popover";
|
|
15
15
|
import g from "@mui/material/Stack";
|
|
16
16
|
import v from "@mui/material/Checkbox";
|
|
17
|
-
import { u as B, c, d as u } from "./hooks-
|
|
17
|
+
import { u as B, c, d as u } from "./hooks-BAAimqdq.mjs";
|
|
18
18
|
import { b as W } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { u as EE } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { observer as z } from "mobx-react-lite";
|
|
@@ -67,7 +67,7 @@ const QE = {
|
|
|
67
67
|
5: "Locked",
|
|
68
68
|
1: "Prevented",
|
|
69
69
|
4: "Rejected"
|
|
70
|
-
},
|
|
70
|
+
}, DE = {
|
|
71
71
|
0: "Any",
|
|
72
72
|
9: "Cash",
|
|
73
73
|
1: "Checking",
|
|
@@ -122,8 +122,8 @@ const QE = {
|
|
|
122
122
|
7: "camera_alt",
|
|
123
123
|
8: "sports_baseball",
|
|
124
124
|
9: "monetization_on"
|
|
125
|
-
}, F = (E, N) => E.reduce((_, r) => (_[r.guid] = N?.includes(r.guid), _), {}),
|
|
126
|
-
const R =
|
|
125
|
+
}, F = (E, N) => E.reduce((_, r) => (_[r.guid] = N?.includes(r.guid), _), {}), CE = (E, N) => E.reduce((_, r) => {
|
|
126
|
+
const R = DE[r.account_type], s = {
|
|
127
127
|
accountNumber: r.account_number,
|
|
128
128
|
name: `${r.name || r.feed_name} ${r.is_closed ? `(${N})` : ""}`,
|
|
129
129
|
guid: r.guid
|
|
@@ -136,17 +136,17 @@ const QE = {
|
|
|
136
136
|
onAccountClick: r,
|
|
137
137
|
onAccountGroupClick: R,
|
|
138
138
|
onCancelClick: s,
|
|
139
|
-
onConnectAccountClick:
|
|
139
|
+
onConnectAccountClick: M,
|
|
140
140
|
onFilterClick: m,
|
|
141
|
-
selectedOptions:
|
|
142
|
-
setSelectedOptions:
|
|
141
|
+
selectedOptions: D,
|
|
142
|
+
setSelectedOptions: C,
|
|
143
143
|
handleClose: e,
|
|
144
144
|
showAccountNumbers: O
|
|
145
145
|
}) => {
|
|
146
146
|
const { connect: L } = B(), d = $(
|
|
147
|
-
() =>
|
|
147
|
+
() => CE(E, L.connection_statuses[12]),
|
|
148
148
|
[E]
|
|
149
|
-
), P = E.length < 1, l = !!N,
|
|
149
|
+
), P = E.length < 1, l = !!N, H = Object.values(D).every((i) => !!i);
|
|
150
150
|
return /* @__PURE__ */ I(
|
|
151
151
|
y,
|
|
152
152
|
{
|
|
@@ -177,12 +177,12 @@ const QE = {
|
|
|
177
177
|
/* @__PURE__ */ I(Q, { size: 32 }),
|
|
178
178
|
/* @__PURE__ */ I(x, { bold: !0, mt: 12, children: _.zeroStateTitle }),
|
|
179
179
|
/* @__PURE__ */ I(x, { mt: 12, children: _.zeroStateDescription }),
|
|
180
|
-
/* @__PURE__ */ I(f, { onClick:
|
|
180
|
+
M && /* @__PURE__ */ I(f, { onClick: M, children: _.zeroStateButton })
|
|
181
181
|
]
|
|
182
182
|
}
|
|
183
183
|
) : /* @__PURE__ */ U("form", { onSubmit: e, children: [
|
|
184
184
|
/* @__PURE__ */ U(
|
|
185
|
-
|
|
185
|
+
t,
|
|
186
186
|
{
|
|
187
187
|
className: "mx-cmn-account-options",
|
|
188
188
|
dense: !0,
|
|
@@ -214,14 +214,14 @@ const QE = {
|
|
|
214
214
|
control: /* @__PURE__ */ I(
|
|
215
215
|
v,
|
|
216
216
|
{
|
|
217
|
-
checked:
|
|
218
|
-
"data-ui-test": `checked-${
|
|
217
|
+
checked: H,
|
|
218
|
+
"data-ui-test": `checked-${H}`,
|
|
219
219
|
disableRipple: !0,
|
|
220
220
|
onChange: () => {
|
|
221
221
|
const i = {};
|
|
222
|
-
Object.keys(
|
|
223
|
-
i[A] = !
|
|
224
|
-
}),
|
|
222
|
+
Object.keys(D).forEach((A) => {
|
|
223
|
+
i[A] = !H;
|
|
224
|
+
}), C(i);
|
|
225
225
|
},
|
|
226
226
|
size: "small",
|
|
227
227
|
sx: {
|
|
@@ -232,15 +232,15 @@ const QE = {
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
),
|
|
235
|
-
label:
|
|
235
|
+
label: H ? _.unselectAllAccounts : _.selectAllAccounts
|
|
236
236
|
}
|
|
237
237
|
) }),
|
|
238
238
|
Object.keys(d).map((i) => {
|
|
239
239
|
const A = d[i], G = A.every(
|
|
240
|
-
(a) =>
|
|
240
|
+
(a) => D[a.guid]
|
|
241
241
|
);
|
|
242
242
|
return /* @__PURE__ */ I(V, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ I(
|
|
243
|
-
|
|
243
|
+
t,
|
|
244
244
|
{
|
|
245
245
|
"aria-label": W(_.accountTypeAccounts, i),
|
|
246
246
|
className: "mx-cmn-account-options-group",
|
|
@@ -272,7 +272,7 @@ const QE = {
|
|
|
272
272
|
) }),
|
|
273
273
|
sx: { overflow: "auto", width: "100%" },
|
|
274
274
|
children: A.map((a) => {
|
|
275
|
-
const Y =
|
|
275
|
+
const Y = D[a.guid], j = `${a.name}${O && a.accountNumber ? ` *${a.accountNumber.slice(-4)}` : ""}`;
|
|
276
276
|
return /* @__PURE__ */ I(
|
|
277
277
|
V,
|
|
278
278
|
{
|
|
@@ -336,17 +336,16 @@ const dE = ({
|
|
|
336
336
|
accounts: E,
|
|
337
337
|
copy: N,
|
|
338
338
|
onFilterClick: _,
|
|
339
|
-
onConnectAccountClick: r
|
|
340
|
-
},
|
|
339
|
+
onConnectAccountClick: r,
|
|
341
340
|
selectedAccountGuids: R,
|
|
342
341
|
showAccountNumbers: s,
|
|
343
|
-
sx:
|
|
342
|
+
sx: M = {},
|
|
344
343
|
variant: m = "outlined"
|
|
345
344
|
}) => {
|
|
346
|
-
const { isDesktop:
|
|
345
|
+
const { isDesktop: D } = EE(), [C, e] = T.useState(null), [O, L] = T.useState(
|
|
347
346
|
F(E, R)
|
|
348
347
|
);
|
|
349
|
-
|
|
348
|
+
T.useEffect(() => {
|
|
350
349
|
L(F(E, R));
|
|
351
350
|
}, [E, R]);
|
|
352
351
|
const d = (l) => {
|
|
@@ -354,15 +353,15 @@ const dE = ({
|
|
|
354
353
|
}, P = () => {
|
|
355
354
|
e(null);
|
|
356
355
|
};
|
|
357
|
-
return /* @__PURE__ */ U(
|
|
358
|
-
|
|
356
|
+
return /* @__PURE__ */ U(o, { className: "mx-cmn-account-filter", m: 4, sx: { ...M }, children: [
|
|
357
|
+
D ? /* @__PURE__ */ I(
|
|
359
358
|
f,
|
|
360
359
|
{
|
|
361
360
|
"aria-controls": "filter_accounts",
|
|
362
361
|
"aria-haspopup": !0,
|
|
363
362
|
"aria-label": N.title,
|
|
364
363
|
onClick: d,
|
|
365
|
-
startIcon: /* @__PURE__ */ I(
|
|
364
|
+
startIcon: /* @__PURE__ */ I(K, { name: "filter_alt", size: 24 }),
|
|
366
365
|
sx: { p: 8, whiteSpace: "nowrap", minWidth: "max-content" },
|
|
367
366
|
variant: m,
|
|
368
367
|
children: N.accountFilterOptionsCopy.filterButton
|
|
@@ -377,31 +376,31 @@ const dE = ({
|
|
|
377
376
|
color: "primary",
|
|
378
377
|
onClick: d,
|
|
379
378
|
sx: { p: 8 },
|
|
380
|
-
children: /* @__PURE__ */ I(
|
|
379
|
+
children: /* @__PURE__ */ I(K, { name: "filter_alt", size: 24 })
|
|
381
380
|
}
|
|
382
381
|
) }),
|
|
383
382
|
/* @__PURE__ */ I(
|
|
384
383
|
J,
|
|
385
384
|
{
|
|
386
|
-
accountFilterButtonEl:
|
|
385
|
+
accountFilterButtonEl: C,
|
|
387
386
|
accounts: E,
|
|
388
387
|
copy: N.accountFilterOptionsCopy,
|
|
389
388
|
handleClose: P,
|
|
390
389
|
onAccountClick: (l) => {
|
|
391
390
|
L({ ...O, [l.guid]: !O[l.guid] });
|
|
392
391
|
},
|
|
393
|
-
onAccountGroupClick: (l,
|
|
392
|
+
onAccountGroupClick: (l, H, i) => {
|
|
394
393
|
const A = { ...O };
|
|
395
|
-
|
|
394
|
+
H[l].forEach((G) => {
|
|
396
395
|
A[G.guid] = !i;
|
|
397
396
|
}), L(A);
|
|
398
397
|
},
|
|
399
398
|
onCancelClick: () => {
|
|
400
399
|
L(F(E, R)), P();
|
|
401
400
|
},
|
|
402
|
-
onConnectAccountClick: () => {
|
|
401
|
+
onConnectAccountClick: r ? () => {
|
|
403
402
|
P(), r();
|
|
404
|
-
},
|
|
403
|
+
} : void 0,
|
|
405
404
|
onFilterClick: () => {
|
|
406
405
|
_(Object.keys(O).filter((l) => O[l])), P();
|
|
407
406
|
},
|
|
@@ -411,10 +410,10 @@ const dE = ({
|
|
|
411
410
|
}
|
|
412
411
|
)
|
|
413
412
|
] });
|
|
414
|
-
}, bE = dE, eE = ({ status: E =
|
|
413
|
+
}, bE = dE, eE = ({ status: E = h.Loading }) => {
|
|
415
414
|
const { connect: N } = B();
|
|
416
415
|
return /* @__PURE__ */ I(
|
|
417
|
-
|
|
416
|
+
o,
|
|
418
417
|
{
|
|
419
418
|
sx: {
|
|
420
419
|
height: "calc(100% - 62px)",
|
|
@@ -422,7 +421,7 @@ const dE = ({
|
|
|
422
421
|
width: "100%"
|
|
423
422
|
},
|
|
424
423
|
children: /* @__PURE__ */ U(g, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
|
|
425
|
-
E ===
|
|
424
|
+
E === h.Loading && /* @__PURE__ */ I(NE, { color: "primary", size: 48 }),
|
|
426
425
|
/* @__PURE__ */ I(
|
|
427
426
|
q,
|
|
428
427
|
{
|
|
@@ -430,27 +429,27 @@ const dE = ({
|
|
|
430
429
|
color: "grey.600",
|
|
431
430
|
marginTop: "16px"
|
|
432
431
|
},
|
|
433
|
-
children: E ===
|
|
432
|
+
children: E === h.Error ? N.oops : N.loading
|
|
434
433
|
}
|
|
435
434
|
)
|
|
436
435
|
] })
|
|
437
436
|
}
|
|
438
437
|
);
|
|
439
438
|
}, w = z(eE);
|
|
440
|
-
var
|
|
441
|
-
const
|
|
439
|
+
var h = /* @__PURE__ */ ((E) => (E.Loading = "loading", E.Error = "error", E))(h || {}), PE = /* @__PURE__ */ ((E) => (E.Currency = "currency", E.Date = "date", E.Input = "input", E.Select = "select", E))(PE || {});
|
|
440
|
+
const X = "connect_widget", pE = "connections_widget", AE = ({
|
|
442
441
|
loadWidgetProps: E,
|
|
443
442
|
onClose: N,
|
|
444
443
|
showConnectWidget: _,
|
|
445
444
|
title: r
|
|
446
445
|
}) => {
|
|
447
446
|
let R;
|
|
448
|
-
const { refreshAccounts: s } = c(), { loadWidget:
|
|
447
|
+
const { refreshAccounts: s } = c(), { loadWidget: M } = u(), { connect: m } = B(), [D, C] = T.useState(!1), [e, O] = T.useState(!1), {
|
|
449
448
|
palette: { mode: L }
|
|
450
449
|
} = IE();
|
|
451
|
-
return
|
|
450
|
+
return T.useEffect(() => (_ ? (C(!0), M({ mode: L, ...E }).then((d) => {
|
|
452
451
|
R = new _E({
|
|
453
|
-
container: `#${
|
|
452
|
+
container: `#${X}`,
|
|
454
453
|
style: {
|
|
455
454
|
height: "calc(100% - 62px)",
|
|
456
455
|
maxWidth: "450px",
|
|
@@ -459,13 +458,13 @@ const o = "connect_widget", pE = "connections_widget", AE = ({
|
|
|
459
458
|
},
|
|
460
459
|
url: d.url,
|
|
461
460
|
onSsoUrlLoadError: () => {
|
|
462
|
-
|
|
461
|
+
C(!1), O(!0);
|
|
463
462
|
},
|
|
464
463
|
onLoad: () => {
|
|
465
|
-
|
|
464
|
+
C(!1), O(!1);
|
|
466
465
|
}
|
|
467
466
|
});
|
|
468
|
-
})) : (
|
|
467
|
+
})) : (C(!1), O(!1)), () => {
|
|
469
468
|
R?.unmount();
|
|
470
469
|
}), [_]), /* @__PURE__ */ I(
|
|
471
470
|
rE,
|
|
@@ -476,9 +475,9 @@ const o = "connect_widget", pE = "connections_widget", AE = ({
|
|
|
476
475
|
N(), s();
|
|
477
476
|
},
|
|
478
477
|
title: r,
|
|
479
|
-
children: /* @__PURE__ */ U("div", { id:
|
|
480
|
-
e && /* @__PURE__ */ I(w, { status:
|
|
481
|
-
|
|
478
|
+
children: /* @__PURE__ */ U("div", { id: X, children: [
|
|
479
|
+
e && /* @__PURE__ */ I(w, { status: h.Error }),
|
|
480
|
+
D && /* @__PURE__ */ I(w, { status: h.Loading })
|
|
482
481
|
] })
|
|
483
482
|
}
|
|
484
483
|
);
|
|
@@ -488,7 +487,7 @@ export {
|
|
|
488
487
|
pE as C,
|
|
489
488
|
aE as E,
|
|
490
489
|
PE as F,
|
|
491
|
-
|
|
490
|
+
h as M,
|
|
492
491
|
$E as N,
|
|
493
492
|
OE as P,
|
|
494
493
|
QE as S,
|
|
@@ -497,7 +496,7 @@ export {
|
|
|
497
496
|
w as c,
|
|
498
497
|
sE as d,
|
|
499
498
|
ZE as e,
|
|
500
|
-
|
|
499
|
+
DE as f,
|
|
501
500
|
jE as g,
|
|
502
501
|
LE as h,
|
|
503
502
|
bE as i,
|
|
@@ -3,8 +3,8 @@ import r from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as D } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, c, M as i } from "./ConnectDrawer-
|
|
7
|
-
import { c as b, d as w, u as _ } from "./hooks-
|
|
6
|
+
import { C as a, c, M as i } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
7
|
+
import { c as b, d as w, u as _ } from "./hooks-BAAimqdq.mjs";
|
|
8
8
|
import { D as x } from "./Drawer-kEE73B87.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
onClose: l,
|
|
@@ -5,7 +5,7 @@ import { v4 as B } from "uuid";
|
|
|
5
5
|
import { useTokens as O, TextField as W, P as p } from "@mxenabled/mxui";
|
|
6
6
|
import { b as _, g as d } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as j, C as D, f as y, M as C } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
-
import { u as F } from "./hooks-
|
|
8
|
+
import { u as F } from "./hooks-BAAimqdq.mjs";
|
|
9
9
|
const G = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: g,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as p } from "./ConnectDrawer-
|
|
3
|
+
import { A as p } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const b = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV--LPpH3es.mjs";
|
|
5
|
+
import { O as m } from "./User-BwjK6Fwz.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import { f as _, g as C, u as l } from "./hooks-
|
|
7
|
+
import { f as _, g as C, u as l } from "./hooks-BAAimqdq.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -7,8 +7,8 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import S from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as A } from "@mxenabled/mxui";
|
|
10
|
-
import { j as b } from "./ConnectDrawer-
|
|
11
|
-
import {
|
|
10
|
+
import { j as b } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
11
|
+
import { l as y } from "./hooks-BAAimqdq.mjs";
|
|
12
12
|
import { makeAutoObservable as D, runInAction as c } from "mobx";
|
|
13
13
|
import { F as v, A as i } from "./Fetch-87LIQbEA.mjs";
|
|
14
14
|
import { fromUnixTime as G } from "date-fns/fromUnixTime";
|
|
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
|
|
|
13
13
|
import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
|
-
import { u as V, z as tt, c as ft, o as St, a as It,
|
|
16
|
+
import { u as V, z as tt, c as ft, o as St, a as It, l as Tt } from "./hooks-BAAimqdq.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { E as Et, a as Ct, P as At } from "./Help-DhcC-C05.mjs";
|
|
@@ -7,7 +7,7 @@ import { f as y } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
|
7
7
|
import { observer as se } from "mobx-react-lite";
|
|
8
8
|
import { Stack as x, Box as W, useTheme as ce } from "@mui/material";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
-
import { u as de } from "./hooks-
|
|
10
|
+
import { u as de } from "./hooks-BAAimqdq.mjs";
|
|
11
11
|
import { ChartsTooltip as he } from "@mui/x-charts/ChartsTooltip";
|
|
12
12
|
const ue = (e) => {
|
|
13
13
|
const a = N(), o = e.showLabel, s = e.style, g = Number(e.x), m = Number(e.y), u = e.handlers?.onMarkClick, f = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, d = le(a.breakpoints.up("sm")), n = e.valueFormatterString ? y(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), h = d ? a.typography.Small?.fontSize : a.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, C = n.length * k + 8 + 8, M = 24, S = g - C / 2, T = m - 30;
|
|
@@ -8,7 +8,7 @@ import L from "@mui/material/Stack";
|
|
|
8
8
|
import { ChevronRight as g } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as m } from "@mxenabled/mxui";
|
|
10
10
|
import { a as j } from "./Dialog-CWW597AF.mjs";
|
|
11
|
-
import { u as P } from "./hooks-
|
|
11
|
+
import { u as P } from "./hooks-BAAimqdq.mjs";
|
|
12
12
|
const D = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -16,23 +16,23 @@ import { startOfToday as z } from "date-fns/startOfToday";
|
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import H from "@mui/material/Button";
|
|
18
18
|
import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
|
|
19
|
-
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
19
|
+
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-C-2UEbmQ.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
23
23
|
import { DatePicker as xe } from "@mui/x-date-pickers";
|
|
24
24
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
25
|
-
import { u as w, i as M, f as F, a as Ae, g as Z, o as De } from "./hooks-
|
|
25
|
+
import { u as w, i as M, f as F, a as Ae, g as Z, o as De } from "./hooks-BAAimqdq.mjs";
|
|
26
26
|
import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
27
27
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
28
|
+
import { A as R } from "./WidgetContainer-ztkGgdIH.mjs";
|
|
29
29
|
import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
|
|
30
30
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
31
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
32
32
|
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
33
33
|
import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
|
|
34
34
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
35
|
-
import { T as V } from "./User-
|
|
35
|
+
import { T as V } from "./User-BwjK6Fwz.mjs";
|
|
36
36
|
const ee = ({
|
|
37
37
|
frequency: n,
|
|
38
38
|
firstDay: t,
|
|
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
|
|
|
6
6
|
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
7
|
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
8
|
import { u as M } from "./useDimensions-27p2evRx.mjs";
|
|
9
|
-
import { W as w } from "./hooks-
|
|
9
|
+
import { W as w } from "./hooks-BAAimqdq.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -7,7 +7,7 @@ import b from "@mui/material/IconButton";
|
|
|
7
7
|
import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
|
|
8
8
|
import { Text as W, H3 as H } from "@mxenabled/mxui";
|
|
9
9
|
import { u as I } from "./useDimensions-27p2evRx.mjs";
|
|
10
|
-
import { W as M } from "./hooks-
|
|
10
|
+
import { W as M } from "./hooks-BAAimqdq.mjs";
|
|
11
11
|
const j = ({
|
|
12
12
|
className: t = "mx-cmn-mini-widget",
|
|
13
13
|
closeLabel: a,
|
|
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
4
4
|
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
5
5
|
import { subMonths as B } from "date-fns/subMonths";
|
|
6
|
-
import { a as b } from "./Accounts-
|
|
7
|
-
import { e as N, a as M, f as v } from "./ConnectDrawer-
|
|
6
|
+
import { a as b } from "./Accounts-DR3xTyAx.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-L1_xPNYt.mjs";
|
|
8
8
|
const f = 13, L = (n, t) => n.filter((e) => {
|
|
9
9
|
const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
|
|
10
10
|
return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
|