@mx-cartographer/experiences 7.12.17 → 7.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/{AccountDetailsHeader-BkEF1gO-.mjs → AccountDetailsHeader-D9gbTbUt.mjs} +31 -31
- package/dist/{AccountFields-C_dcdCM7.mjs → AccountFields-CxqONzjY.mjs} +6 -6
- package/dist/AccountListItem-LcJVJysf.mjs +90 -0
- package/dist/{AccountStore-ypdfueW9.mjs → AccountStore-BNlTuxWN.mjs} +1 -1
- package/dist/{BudgetUtil--_QXyszn.mjs → BudgetUtil-CLhRnCoX.mjs} +75 -75
- package/dist/{CashflowStore-DEdQJU5i.mjs → CashflowStore-D3MKniVM.mjs} +11 -11
- package/dist/{CategorySelectorDrawer-wfUTIbLR.mjs → CategorySelectorDrawer-DYHNBd2v.mjs} +31 -31
- package/dist/{ConnectDrawer-CioFo6Wy.mjs → ConnectDrawer-C0wjwcJt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DqhSaMrJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +1 -1
- package/dist/{Drawer-DV4NTsFg.mjs → Drawer-Bbe4AMB1.mjs} +5 -5
- package/dist/{GoalStore-0bd-Upkc.mjs → GoalStore-DB58sKTC.mjs} +8 -8
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CDu1Fvrc.mjs → Help-CpLfyvPv.mjs} +24 -24
- package/dist/{LineChart-B1qbKR8q.mjs → LineChart-DBSlRSEm.mjs} +102 -102
- package/dist/{ManageIncome-BnWWjP2g.mjs → ManageIncome-QvqN555q.mjs} +62 -62
- package/dist/{MiniWidgetContainer-Cu72GNsE.mjs → MiniWidgetContainer-xLWSV6Wz.mjs} +13 -13
- package/dist/{NotificationSettings-BH2yOwTB.mjs → NotificationSettings-DU3vJh5J.mjs} +139 -139
- package/dist/{OriginalBalanceAction-BM6rT_Cn.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +6 -6
- package/dist/{RecurringSettings-BmXtfHtK.mjs → RecurringSettings-DdOcok2e.mjs} +2 -2
- package/dist/{RecurringTransactions-CYNpe_RS.mjs → RecurringTransactions-BOzBqfdg.mjs} +11 -11
- package/dist/{RecurringTransactionsStore-BD-OfVZ-.mjs → RecurringTransactionsStore-CcfPS0d3.mjs} +1 -1
- package/dist/{SpendingLegend-Bq6aXMNh.mjs → SpendingLegend-CJjjTGBw.mjs} +76 -76
- package/dist/{StatusIndicator-BV3oFzxo.mjs → StatusIndicator-CIKUOoN_.mjs} +53 -53
- package/dist/{TransactionDetails-DYlTwSDt.mjs → TransactionDetails-BpcWeXNU.mjs} +350 -350
- package/dist/{ViewMoreMicroCard-BhG9hCoO.mjs → ViewMoreMicroCard-ApUBfGOX.mjs} +107 -106
- package/dist/{WidgetContainer-B0ncgABX.mjs → WidgetContainer-D_iaToWJ.mjs} +12 -12
- package/dist/accounts/index.es.js +107 -107
- package/dist/analytics/index.es.js +18 -18
- package/dist/budgets/index.es.js +182 -182
- package/dist/cashflow/index.es.js +223 -223
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +54 -64
- package/dist/common/types/Beat.d.ts +2 -0
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +469 -469
- package/dist/finstrong/index.es.js +68 -68
- package/dist/goals/index.es.js +437 -437
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +159 -159
- package/dist/investments/index.es.js +292 -292
- package/dist/merchants/index.es.js +12 -12
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/index.d.ts +1 -0
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +175 -168
- package/dist/notifications/index.es.js +13 -13
- package/dist/recurringtransactions/index.es.js +69 -69
- package/dist/settings/index.es.js +187 -187
- package/dist/spending/index.es.js +58 -58
- package/dist/transactions/index.es.js +70 -70
- package/dist/trends/index.es.js +16 -16
- package/package.json +1 -1
- package/dist/AccountListItem-BAf03YhK.mjs +0 -90
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
|
@@ -7,8 +7,8 @@ import { Text as a, Icon as d, IconWeight as u } from "@mxenabled/mxui";
|
|
|
7
7
|
import { makeAutoObservable as c } from "mobx";
|
|
8
8
|
import { addDays as x } from "date-fns/addDays";
|
|
9
9
|
import { differenceInDays as g } from "date-fns/differenceInDays";
|
|
10
|
-
import { endOfMonth as
|
|
11
|
-
import { isBefore as
|
|
10
|
+
import { endOfMonth as I } from "date-fns/endOfMonth";
|
|
11
|
+
import { isBefore as S } from "date-fns/isBefore";
|
|
12
12
|
import { startOfToday as s } from "date-fns/startOfToday";
|
|
13
13
|
const b = ({
|
|
14
14
|
body: o,
|
|
@@ -21,8 +21,8 @@ const b = ({
|
|
|
21
21
|
{
|
|
22
22
|
open: i,
|
|
23
23
|
title: /* @__PURE__ */ m(f, { gap: 2, p: 12, sx: { textOverflow: "none" }, children: [
|
|
24
|
-
/* @__PURE__ */ t(a, { bold: !0, variant: "
|
|
25
|
-
/* @__PURE__ */ t(a, { sx: { whiteSpace: "unset" }, variant: "
|
|
24
|
+
/* @__PURE__ */ t(a, { bold: !0, variant: "body1", children: n }),
|
|
25
|
+
/* @__PURE__ */ t(a, { sx: { whiteSpace: "unset" }, variant: "body2", children: o })
|
|
26
26
|
] }),
|
|
27
27
|
children: /* @__PURE__ */ t(
|
|
28
28
|
p,
|
|
@@ -48,8 +48,8 @@ const b = ({
|
|
|
48
48
|
)
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
|
-
},
|
|
52
|
-
class
|
|
51
|
+
}, N = b;
|
|
52
|
+
class y {
|
|
53
53
|
// Cashflow is hard-coded to display 30 days starting from today
|
|
54
54
|
dateRange = { start: s(), end: x(s(), 30) };
|
|
55
55
|
isDirty = !1;
|
|
@@ -67,7 +67,7 @@ class w {
|
|
|
67
67
|
// if there is no income activity
|
|
68
68
|
get expensesTilNextIncome() {
|
|
69
69
|
return this.upcomingExpenses.filter(
|
|
70
|
-
(e) =>
|
|
70
|
+
(e) => S(e.expectedDate, this.nextIncome?.expectedDate || I(/* @__PURE__ */ new Date()))
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
73
|
setNextIncome = (e) => {
|
|
@@ -78,11 +78,11 @@ class w {
|
|
|
78
78
|
};
|
|
79
79
|
setSelectedCashAccounts = (e) => this.selectedCashAccounts = e;
|
|
80
80
|
}
|
|
81
|
-
class
|
|
81
|
+
class P {
|
|
82
82
|
globalStore;
|
|
83
83
|
uiStore;
|
|
84
84
|
constructor(e) {
|
|
85
|
-
this.globalStore = e, this.uiStore = new
|
|
85
|
+
this.globalStore = e, this.uiStore = new y(), c(this);
|
|
86
86
|
}
|
|
87
87
|
completeOnboarding = async () => {
|
|
88
88
|
const e = {
|
|
@@ -93,6 +93,6 @@ class N {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
P as C,
|
|
97
|
+
N as I
|
|
98
98
|
};
|
|
@@ -12,19 +12,19 @@ import N from "@mui/material/ListItemButton";
|
|
|
12
12
|
import M from "@mui/material/ListItemIcon";
|
|
13
13
|
import G from "@mui/material/ListItemText";
|
|
14
14
|
import { CheckCircle as j, Edit as X, Delete as z, ExpandMore as q } from "@mxenabled/mx-icons";
|
|
15
|
-
import { Text as
|
|
15
|
+
import { Text as v, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
|
|
16
16
|
import Q from "@mui/material/Collapse";
|
|
17
17
|
import Z from "@mui/material/DialogContent";
|
|
18
18
|
import { b as g } from "./Localization-CPkpIwIx.mjs";
|
|
19
19
|
import { D as ee } from "./Dialog-Ck34yr-d.mjs";
|
|
20
20
|
import te from "@mui/material/Box";
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
22
|
-
import
|
|
22
|
+
import B from "@mui/material/IconButton";
|
|
23
23
|
import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
24
24
|
import { S as re } from "./SearchBox-B7km148n.mjs";
|
|
25
25
|
import { L as P } from "./Loader-D3rjKx72.mjs";
|
|
26
|
-
import { D as ne } from "./Drawer-
|
|
27
|
-
const
|
|
26
|
+
import { D as ne } from "./Drawer-Bbe4AMB1.mjs";
|
|
27
|
+
const y = () => {
|
|
28
28
|
if (!E.useContext(V))
|
|
29
29
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
30
30
|
return f().uiStore;
|
|
@@ -49,9 +49,9 @@ const se = ({
|
|
|
49
49
|
isOpen: l,
|
|
50
50
|
type: i
|
|
51
51
|
}) => {
|
|
52
|
-
const [a, c] = E.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } =
|
|
52
|
+
const [a, c] = E.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } = y();
|
|
53
53
|
let d = "", m = [];
|
|
54
|
-
const u = i === "delete", h = e.length > 50 ? `${e.slice(0, 50)}...` : e,
|
|
54
|
+
const u = i === "delete", h = e.length > 50 ? `${e.slice(0, 50)}...` : e, b = i === "edit" ? g(r.edit_subcategory_aria, h) : r.add_subcategory_aria;
|
|
55
55
|
switch (i) {
|
|
56
56
|
case "add":
|
|
57
57
|
d = r.add_subcategory_title;
|
|
@@ -62,7 +62,7 @@ const se = ({
|
|
|
62
62
|
case "delete":
|
|
63
63
|
d = r.delete_subcategory_heading, m = g(
|
|
64
64
|
r.all_transactions_in_this_subcategory,
|
|
65
|
-
/* @__PURE__ */ t(
|
|
65
|
+
/* @__PURE__ */ t(v, { bold: !0, children: g(r.all_parent_category, h) })
|
|
66
66
|
);
|
|
67
67
|
break;
|
|
68
68
|
}
|
|
@@ -80,14 +80,14 @@ const se = ({
|
|
|
80
80
|
onPrimaryAction: () => {
|
|
81
81
|
n(!1), o(a);
|
|
82
82
|
},
|
|
83
|
-
children: /* @__PURE__ */ t(Z, { children: u ? /* @__PURE__ */ t(
|
|
83
|
+
children: /* @__PURE__ */ t(Z, { children: u ? /* @__PURE__ */ t(v, { children: m }) : /* @__PURE__ */ t(
|
|
84
84
|
H,
|
|
85
85
|
{
|
|
86
86
|
inputProps: {
|
|
87
|
-
"aria-label":
|
|
87
|
+
"aria-label": b,
|
|
88
88
|
maxLength: 50
|
|
89
89
|
},
|
|
90
|
-
label:
|
|
90
|
+
label: b,
|
|
91
91
|
name: "modify-subcategory",
|
|
92
92
|
onChange: (D) => c(D.target.value),
|
|
93
93
|
placeholder: r.input_placeholder,
|
|
@@ -98,7 +98,7 @@ const se = ({
|
|
|
98
98
|
}
|
|
99
99
|
);
|
|
100
100
|
}, R = p(se), ie = ({ announce: e, parentCategory: s }) => {
|
|
101
|
-
const [o, l] = E.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } =
|
|
101
|
+
const [o, l] = E.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } = y(), n = async (u) => {
|
|
102
102
|
await i(u.trim(), s.guid), e(g(a.add_subcategory_announcement, u)), c(C.ON_SUBCATEGORY_ADDED), l(!1);
|
|
103
103
|
}, d = async () => {
|
|
104
104
|
c(C.ON_SUBCATEGORY_ADD_CLICK), r(!0), l(!0);
|
|
@@ -110,7 +110,7 @@ const se = ({
|
|
|
110
110
|
G,
|
|
111
111
|
{
|
|
112
112
|
primary: a.add_subcategory_button,
|
|
113
|
-
primaryTypographyProps: { color: "primary", fontWeight: "normal", variant: "
|
|
113
|
+
primaryTypographyProps: { color: "primary", fontWeight: "normal", variant: "body1" }
|
|
114
114
|
}
|
|
115
115
|
) }),
|
|
116
116
|
o && /* @__PURE__ */ t(
|
|
@@ -179,7 +179,7 @@ const se = ({
|
|
|
179
179
|
showSelected: r,
|
|
180
180
|
unselectable: n,
|
|
181
181
|
unselectableText: d
|
|
182
|
-
} =
|
|
182
|
+
} = y(), { categories: m } = S(), { onEvent: u } = A(), [h, b] = E.useState(!1), [D, O] = E.useState(!1), T = !!o.revision, w = o.guid === i, I = !n.some(($) => $ === o.guid);
|
|
183
183
|
return /* @__PURE__ */ _(
|
|
184
184
|
x,
|
|
185
185
|
{
|
|
@@ -194,7 +194,7 @@ const se = ({
|
|
|
194
194
|
"aria-pressed": w,
|
|
195
195
|
color: "secondary",
|
|
196
196
|
onClick: () => {
|
|
197
|
-
|
|
197
|
+
I && (a(o.guid), l(o.guid), u(C.ON_CATEGORY_SELECTED));
|
|
198
198
|
},
|
|
199
199
|
sx: { height: 44 },
|
|
200
200
|
children: [
|
|
@@ -202,27 +202,27 @@ const se = ({
|
|
|
202
202
|
G,
|
|
203
203
|
{
|
|
204
204
|
primary: o.name,
|
|
205
|
-
primaryTypographyProps: { fontWeight: "normal", variant: "
|
|
205
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "body1" }
|
|
206
206
|
}
|
|
207
207
|
),
|
|
208
208
|
r && w && /* @__PURE__ */ t(j, { fontSize: "small" }),
|
|
209
|
-
!
|
|
209
|
+
!I && /* @__PURE__ */ t(oe, { label: d })
|
|
210
210
|
]
|
|
211
211
|
}
|
|
212
212
|
),
|
|
213
213
|
T && /* @__PURE__ */ _(te, { className: "mx-cat-subcategory-edit-container", sx: { marginRight: 24 }, children: [
|
|
214
214
|
/* @__PURE__ */ t(
|
|
215
|
-
|
|
215
|
+
B,
|
|
216
216
|
{
|
|
217
217
|
"aria-label": g(m.edit_subcategory_title, o.name),
|
|
218
218
|
onClick: () => {
|
|
219
|
-
|
|
219
|
+
b(!0), c(!0), u(C.ON_SUBCATEGORY_EDIT_CLICK);
|
|
220
220
|
},
|
|
221
221
|
children: /* @__PURE__ */ t(X, { color: "secondary" })
|
|
222
222
|
}
|
|
223
223
|
),
|
|
224
224
|
/* @__PURE__ */ t(
|
|
225
|
-
|
|
225
|
+
B,
|
|
226
226
|
{
|
|
227
227
|
"aria-label": g(m.delete_subcategory_aria, o.name),
|
|
228
228
|
edge: "end",
|
|
@@ -247,7 +247,7 @@ const se = ({
|
|
|
247
247
|
de,
|
|
248
248
|
{
|
|
249
249
|
announce: e,
|
|
250
|
-
setShowRename:
|
|
250
|
+
setShowRename: b,
|
|
251
251
|
showRename: h,
|
|
252
252
|
subCategory: o
|
|
253
253
|
}
|
|
@@ -256,7 +256,7 @@ const se = ({
|
|
|
256
256
|
}
|
|
257
257
|
);
|
|
258
258
|
}, ge = p(Ce), _e = ({ categories: e, parentCategory: s }) => {
|
|
259
|
-
const { expandedGuid: o, searchValue: l } =
|
|
259
|
+
const { expandedGuid: o, searchValue: l } = y(), { announce: i, ariaLive: a } = ae(), c = s.guid === o, r = !!l;
|
|
260
260
|
return /* @__PURE__ */ _(
|
|
261
261
|
Q,
|
|
262
262
|
{
|
|
@@ -292,7 +292,7 @@ const se = ({
|
|
|
292
292
|
}
|
|
293
293
|
);
|
|
294
294
|
}, Ee = p(_e), pe = ({ category: e, subCategories: s }) => {
|
|
295
|
-
const { expandedGuid: o, searchValue: l, setExpandedGuid: i } =
|
|
295
|
+
const { expandedGuid: o, searchValue: l, setExpandedGuid: i } = y(), { onEvent: a } = A(), c = e.guid === o, r = () => {
|
|
296
296
|
const n = e.guid !== o ? e.guid : null;
|
|
297
297
|
i(n), a(n ? C.ON_CATEGORY_EXPANDED : C.ON_CATEGORY_COLLAPSED);
|
|
298
298
|
};
|
|
@@ -311,7 +311,7 @@ const se = ({
|
|
|
311
311
|
G,
|
|
312
312
|
{
|
|
313
313
|
primary: e.name,
|
|
314
|
-
primaryTypographyProps: { fontWeight: "normal", variant: "
|
|
314
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "body1" }
|
|
315
315
|
}
|
|
316
316
|
),
|
|
317
317
|
/* @__PURE__ */ t(M, { children: /* @__PURE__ */ t(
|
|
@@ -331,7 +331,7 @@ const se = ({
|
|
|
331
331
|
/* @__PURE__ */ t(Ee, { categories: s, parentCategory: e })
|
|
332
332
|
] });
|
|
333
333
|
}, he = p(pe), Se = () => {
|
|
334
|
-
const { categories: e } = f(), { searchValue: s } =
|
|
334
|
+
const { categories: e } = f(), { searchValue: s } = y(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
|
|
335
335
|
if (n.parent_guid === null) {
|
|
336
336
|
const m = [
|
|
337
337
|
{
|
|
@@ -356,7 +356,7 @@ const se = ({
|
|
|
356
356
|
},
|
|
357
357
|
a.category.guid
|
|
358
358
|
)) }) });
|
|
359
|
-
},
|
|
359
|
+
}, be = p(Se), ye = ({
|
|
360
360
|
initialSelected: e,
|
|
361
361
|
onSelect: s = void 0,
|
|
362
362
|
showSelected: o = !0,
|
|
@@ -368,16 +368,16 @@ const se = ({
|
|
|
368
368
|
setOnSelect: m,
|
|
369
369
|
setSearchValue: u,
|
|
370
370
|
setSelectedGuid: h,
|
|
371
|
-
setShowSelected:
|
|
371
|
+
setShowSelected: b,
|
|
372
372
|
setUnselectable: D,
|
|
373
373
|
setUnselectableText: O
|
|
374
|
-
} =
|
|
374
|
+
} = y();
|
|
375
375
|
return E.useEffect(() => {
|
|
376
376
|
s && m(s);
|
|
377
377
|
}), E.useEffect(() => {
|
|
378
378
|
a.length || c();
|
|
379
379
|
}, []), E.useEffect(() => {
|
|
380
|
-
e && h(e),
|
|
380
|
+
e && h(e), b(o), D(l), O(i);
|
|
381
381
|
}, [e, o, l, i]), n ? /* @__PURE__ */ _(K, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
|
382
382
|
/* @__PURE__ */ t(
|
|
383
383
|
re,
|
|
@@ -389,9 +389,9 @@ const se = ({
|
|
|
389
389
|
searchValue: d
|
|
390
390
|
}
|
|
391
391
|
),
|
|
392
|
-
/* @__PURE__ */ t(
|
|
392
|
+
/* @__PURE__ */ t(be, {})
|
|
393
393
|
] }) : /* @__PURE__ */ t(P, {});
|
|
394
|
-
}, De = p(
|
|
394
|
+
}, De = p(ye), fe = ({
|
|
395
395
|
id: e,
|
|
396
396
|
onClose: s,
|
|
397
397
|
title: o,
|
|
@@ -416,5 +416,5 @@ export {
|
|
|
416
416
|
De as C,
|
|
417
417
|
Je as a,
|
|
418
418
|
he as b,
|
|
419
|
-
|
|
419
|
+
y as u
|
|
420
420
|
};
|
|
@@ -6,7 +6,7 @@ import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
|
|
|
6
6
|
import { b as a, a as c } from "./Connect-eYIWqCEr.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
8
|
import { d as D, e as L, u as w } from "./hooks-BxkfR-Ff.mjs";
|
|
9
|
-
import { D as y } from "./Drawer-
|
|
9
|
+
import { D as y } from "./Drawer-Bbe4AMB1.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
loadWidgetProps: l,
|
|
12
12
|
onClose: m,
|
|
@@ -6,7 +6,7 @@ import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
|
6
6
|
import { C as a, a as c } from "./Connect-eYIWqCEr.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
8
|
import { d as D, e as L, u as w } from "./hooks-BxkfR-Ff.mjs";
|
|
9
|
-
import { D as x } from "./Drawer-
|
|
9
|
+
import { D as x } from "./Drawer-Bbe4AMB1.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
onClose: l,
|
|
12
12
|
showConnectionsWidget: o,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "@mui/material/Box";
|
|
3
3
|
import h from "@mui/material/Stack";
|
|
4
|
-
import { H2 as S, Drawer as
|
|
4
|
+
import { H2 as S, Drawer as v } from "@mxenabled/mxui";
|
|
5
5
|
import b from "@mui/material/Button";
|
|
6
|
-
import
|
|
6
|
+
import B from "@mui/material/IconButton";
|
|
7
7
|
import { ArrowBack as $ } from "@mxenabled/mx-icons";
|
|
8
8
|
const j = ({
|
|
9
9
|
footerStyles: a = {},
|
|
@@ -74,7 +74,7 @@ const j = ({
|
|
|
74
74
|
padding: "8px 8px 8px 8px"
|
|
75
75
|
},
|
|
76
76
|
children: [
|
|
77
|
-
/* @__PURE__ */ r(
|
|
77
|
+
/* @__PURE__ */ r(B, { "aria-label": a, color: "primary", onClick: t, children: /* @__PURE__ */ r($, { color: "primary", sx: { fontSize: 22 } }) }),
|
|
78
78
|
/* @__PURE__ */ r(
|
|
79
79
|
s,
|
|
80
80
|
{
|
|
@@ -88,7 +88,7 @@ const j = ({
|
|
|
88
88
|
{
|
|
89
89
|
bold: !0,
|
|
90
90
|
id: `${e?.replace(/\s+/g, "-").toLowerCase()}-header-title`,
|
|
91
|
-
variant: "
|
|
91
|
+
variant: "body1",
|
|
92
92
|
children: e
|
|
93
93
|
}
|
|
94
94
|
)
|
|
@@ -118,7 +118,7 @@ const j = ({
|
|
|
118
118
|
title: x,
|
|
119
119
|
...D
|
|
120
120
|
}) => /* @__PURE__ */ r(
|
|
121
|
-
|
|
121
|
+
v,
|
|
122
122
|
{
|
|
123
123
|
id: e,
|
|
124
124
|
isOpen: n,
|
|
@@ -5,9 +5,9 @@ import I from "@mui/material/Card";
|
|
|
5
5
|
import N from "@mui/material/CardContent";
|
|
6
6
|
import O from "@mui/material/CardHeader";
|
|
7
7
|
import w from "@mui/material/Stack";
|
|
8
|
-
import { AccountBalance as L, ChevronRight as
|
|
8
|
+
import { AccountBalance as L, ChevronRight as y } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as g } from "@mxenabled/mxui";
|
|
10
|
-
import { C as
|
|
10
|
+
import { C as S } from "./ConnectDrawer-C0wjwcJt.mjs";
|
|
11
11
|
import { makeAutoObservable as b, runInAction as u } from "mobx";
|
|
12
12
|
import { F as D, A as i } from "./Fetch-B6tMJC1r.mjs";
|
|
13
13
|
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
@@ -25,15 +25,15 @@ const rt = ({ description: o, label: t, title: e }) => {
|
|
|
25
25
|
{
|
|
26
26
|
avatar: /* @__PURE__ */ l(L, {}),
|
|
27
27
|
sx: { ".MuiCardHeader-avatar": { mr: 8 } },
|
|
28
|
-
title: /* @__PURE__ */ l(g, { bold: !0, variant: "
|
|
28
|
+
title: /* @__PURE__ */ l(g, { bold: !0, variant: "body1", children: e })
|
|
29
29
|
}
|
|
30
30
|
),
|
|
31
31
|
/* @__PURE__ */ l(N, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ _(w, { alignItems: "flex-start", spacing: 2, children: [
|
|
32
|
-
/* @__PURE__ */ l(g, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "
|
|
32
|
+
/* @__PURE__ */ l(g, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "subtitle2", children: o }),
|
|
33
33
|
/* @__PURE__ */ l(
|
|
34
34
|
T,
|
|
35
35
|
{
|
|
36
|
-
endIcon: /* @__PURE__ */ l(
|
|
36
|
+
endIcon: /* @__PURE__ */ l(y, {}),
|
|
37
37
|
onClick: () => a(!0),
|
|
38
38
|
sx: {
|
|
39
39
|
pl: 0,
|
|
@@ -48,7 +48,7 @@ const rt = ({ description: o, label: t, title: e }) => {
|
|
|
48
48
|
] }) })
|
|
49
49
|
] }),
|
|
50
50
|
/* @__PURE__ */ l(
|
|
51
|
-
|
|
51
|
+
S,
|
|
52
52
|
{
|
|
53
53
|
onClose: () => a(!1),
|
|
54
54
|
showConnectWidget: r,
|
|
@@ -57,7 +57,7 @@ const rt = ({ description: o, label: t, title: e }) => {
|
|
|
57
57
|
)
|
|
58
58
|
] });
|
|
59
59
|
};
|
|
60
|
-
var n = /* @__PURE__ */ ((o) => (o[o.DEBT_TRACK = 1] = "DEBT_TRACK", o[o.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", o[o.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", o[o.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", o))(n || {}),
|
|
60
|
+
var n = /* @__PURE__ */ ((o) => (o[o.DEBT_TRACK = 1] = "DEBT_TRACK", o[o.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", o[o.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", o[o.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", o))(n || {}), $ = /* @__PURE__ */ ((o) => (o[o.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", o[o.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", o[o.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", o[o.ACTION = 4] = "ACTION", o))($ || {}), c = /* @__PURE__ */ ((o) => (o[o.AUTOMOBILE = 1] = "AUTOMOBILE", o[o.COLLEGE = 2] = "COLLEGE", o[o.HOUSE = 3] = "HOUSE", o[o.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", o[o.VACATION = 5] = "VACATION", o[o.ELECTRONIC = 6] = "ELECTRONIC", o[o.OTHER = 7] = "OTHER", o[o.RETIREMENT = 8] = "RETIREMENT", o[o.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", o[o.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", o[o.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", o[o.CREDIT_CARD = 12] = "CREDIT_CARD", o[o.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", o[o.LOANS = 14] = "LOANS", o))(c || {});
|
|
61
61
|
class A {
|
|
62
62
|
fetchInstance;
|
|
63
63
|
constructor(t, e, r) {
|
|
@@ -410,7 +410,7 @@ class st {
|
|
|
410
410
|
}
|
|
411
411
|
export {
|
|
412
412
|
rt as C,
|
|
413
|
-
|
|
413
|
+
$ as G,
|
|
414
414
|
c as M,
|
|
415
415
|
n as T,
|
|
416
416
|
it as a,
|
|
@@ -22,7 +22,7 @@ import { observer as lt } from "mobx-react-lite";
|
|
|
22
22
|
import dt from "@mui/material/Alert";
|
|
23
23
|
import gt from "@mui/material/Snackbar";
|
|
24
24
|
import ut from "@mui/material/TextField";
|
|
25
|
-
import { D as j } from "./Drawer-
|
|
25
|
+
import { D as j } from "./Drawer-Bbe4AMB1.mjs";
|
|
26
26
|
import { L as mt } from "./Loader-D3rjKx72.mjs";
|
|
27
27
|
import Dt from "@mui/material/ListItemAvatar";
|
|
28
28
|
import Rt from "@mui/material/ListItem";
|
|
@@ -62,7 +62,7 @@ const kt = (e, i, n) => {
|
|
|
62
62
|
children: [
|
|
63
63
|
/* @__PURE__ */ _(C, { children: [
|
|
64
64
|
/* @__PURE__ */ t(it, { children: c }),
|
|
65
|
-
/* @__PURE__ */ t(U, { variant: "
|
|
65
|
+
/* @__PURE__ */ t(U, { variant: "body1", children: l })
|
|
66
66
|
] }),
|
|
67
67
|
i && /* @__PURE__ */ t(
|
|
68
68
|
C,
|
|
@@ -121,7 +121,7 @@ const kt = (e, i, n) => {
|
|
|
121
121
|
sx: { height: 64, p: "14px 24px" },
|
|
122
122
|
children: /* @__PURE__ */ _(C, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
123
123
|
/* @__PURE__ */ t(Y, { name: b, size: 24 }),
|
|
124
|
-
/* @__PURE__ */ t(E, { variant: "
|
|
124
|
+
/* @__PURE__ */ t(E, { variant: "body1", children: L })
|
|
125
125
|
] })
|
|
126
126
|
}
|
|
127
127
|
),
|
|
@@ -147,7 +147,7 @@ const kt = (e, i, n) => {
|
|
|
147
147
|
borderBottomRightRadius: 7
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
|
-
children: /* @__PURE__ */ t(E, { color: "secondary", variant: "
|
|
150
|
+
children: /* @__PURE__ */ t(E, { color: "secondary", variant: "body2", children: B })
|
|
151
151
|
},
|
|
152
152
|
$
|
|
153
153
|
)) })
|
|
@@ -216,7 +216,7 @@ const kt = (e, i, n) => {
|
|
|
216
216
|
/* @__PURE__ */ _(
|
|
217
217
|
At,
|
|
218
218
|
{
|
|
219
|
-
separator: /* @__PURE__ */ t(E, { bold: !0, color: "grey.600", sx: { fontWeight: 700 }, variant: "
|
|
219
|
+
separator: /* @__PURE__ */ t(E, { bold: !0, color: "grey.600", sx: { fontWeight: 700 }, variant: "body2", children: "/" }),
|
|
220
220
|
children: [
|
|
221
221
|
/* @__PURE__ */ t(
|
|
222
222
|
E,
|
|
@@ -225,11 +225,11 @@ const kt = (e, i, n) => {
|
|
|
225
225
|
color: "primary.lighter",
|
|
226
226
|
onClick: n,
|
|
227
227
|
sx: { cursor: "pointer", fontWeight: 700 },
|
|
228
|
-
variant: "
|
|
228
|
+
variant: "body2",
|
|
229
229
|
children: m.list_title
|
|
230
230
|
}
|
|
231
231
|
),
|
|
232
|
-
/* @__PURE__ */ t(E, { bold: !0, color: "text.secondary", sx: { fontWeight: 700 }, variant: "
|
|
232
|
+
/* @__PURE__ */ t(E, { bold: !0, color: "text.secondary", sx: { fontWeight: 700 }, variant: "body2", children: d })
|
|
233
233
|
]
|
|
234
234
|
}
|
|
235
235
|
)
|
|
@@ -2591,15 +2591,15 @@ const kt = (e, i, n) => {
|
|
|
2591
2591
|
/* @__PURE__ */ _(N, { children: [
|
|
2592
2592
|
/* @__PURE__ */ _(C, { gap: 4, sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
2593
2593
|
i && /* @__PURE__ */ t(Y, { name: "help", size: 20, sx: { color: "text.primary" } }),
|
|
2594
|
-
/* @__PURE__ */ t(E, { color: "text.primary", variant: "
|
|
2594
|
+
/* @__PURE__ */ t(E, { color: "text.primary", variant: "h3", children: d })
|
|
2595
2595
|
] }),
|
|
2596
|
-
n && /* @__PURE__ */ t(E, { color: "text.primary", variant: "
|
|
2596
|
+
n && /* @__PURE__ */ t(E, { color: "text.primary", variant: "h3", children: n })
|
|
2597
2597
|
] }),
|
|
2598
|
-
/* @__PURE__ */ t(E, { color: "text.secondary", sx: { whiteSpace: "wrap" }, variant: "
|
|
2598
|
+
/* @__PURE__ */ t(E, { color: "text.secondary", sx: { whiteSpace: "wrap" }, variant: "body2", children: c })
|
|
2599
2599
|
]
|
|
2600
2600
|
}
|
|
2601
2601
|
),
|
|
2602
|
-
e && /* @__PURE__ */ t(U, { color: "text.secondary", sx: { px: 24 }, variant: "
|
|
2602
|
+
e && /* @__PURE__ */ t(U, { color: "text.secondary", sx: { px: 24 }, variant: "body2", children: e })
|
|
2603
2603
|
] }), ie = ({
|
|
2604
2604
|
alert: e,
|
|
2605
2605
|
copy: i,
|
|
@@ -2669,7 +2669,7 @@ const kt = (e, i, n) => {
|
|
|
2669
2669
|
fontWeight: 400,
|
|
2670
2670
|
whiteSpace: "wrap"
|
|
2671
2671
|
},
|
|
2672
|
-
variant: "
|
|
2672
|
+
variant: "subtitle2",
|
|
2673
2673
|
children: i.request_contact_support_warning
|
|
2674
2674
|
}
|
|
2675
2675
|
) })
|
|
@@ -2711,7 +2711,7 @@ const kt = (e, i, n) => {
|
|
|
2711
2711
|
sx: { p: "14px 24px", height: 64 },
|
|
2712
2712
|
children: /* @__PURE__ */ _(C, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
2713
2713
|
/* @__PURE__ */ t(Y, { name: d, size: 24 }),
|
|
2714
|
-
/* @__PURE__ */ t(E, { variant: "
|
|
2714
|
+
/* @__PURE__ */ t(E, { variant: "body1", children: v })
|
|
2715
2715
|
] })
|
|
2716
2716
|
}
|
|
2717
2717
|
),
|
|
@@ -2740,7 +2740,7 @@ const kt = (e, i, n) => {
|
|
|
2740
2740
|
borderBottomRightRadius: 7
|
|
2741
2741
|
}
|
|
2742
2742
|
},
|
|
2743
|
-
children: /* @__PURE__ */ t(E, { color: "secondary", variant: "
|
|
2743
|
+
children: /* @__PURE__ */ t(E, { color: "secondary", variant: "body2", children: h })
|
|
2744
2744
|
},
|
|
2745
2745
|
I
|
|
2746
2746
|
)) })
|
|
@@ -2854,9 +2854,9 @@ const kt = (e, i, n) => {
|
|
|
2854
2854
|
Gt,
|
|
2855
2855
|
{
|
|
2856
2856
|
primary: e,
|
|
2857
|
-
primaryTypographyProps: { style: { ...c }, variant: "
|
|
2857
|
+
primaryTypographyProps: { style: { ...c }, variant: "body1" },
|
|
2858
2858
|
secondary: n,
|
|
2859
|
-
secondaryTypographyProps: { variant: "
|
|
2859
|
+
secondaryTypographyProps: { variant: "caption" }
|
|
2860
2860
|
}
|
|
2861
2861
|
),
|
|
2862
2862
|
/* @__PURE__ */ t(Pt, { children: /* @__PURE__ */ t(St, {}) })
|
|
@@ -2903,7 +2903,7 @@ const kt = (e, i, n) => {
|
|
|
2903
2903
|
fontWeight: "bold",
|
|
2904
2904
|
gutterBottom: !0,
|
|
2905
2905
|
sx: { ml: 24 },
|
|
2906
|
-
variant: "
|
|
2906
|
+
variant: "caption",
|
|
2907
2907
|
children: e.request_support_institution_topic_label
|
|
2908
2908
|
}
|
|
2909
2909
|
),
|
|
@@ -2930,7 +2930,7 @@ const kt = (e, i, n) => {
|
|
|
2930
2930
|
{
|
|
2931
2931
|
color: "text.secondary",
|
|
2932
2932
|
sx: { whiteSpace: "wrap", fontWeight: 400, textAlign: "center" },
|
|
2933
|
-
variant: "
|
|
2933
|
+
variant: "subtitle2",
|
|
2934
2934
|
children: e.request_support_footer_short_content
|
|
2935
2935
|
}
|
|
2936
2936
|
),
|
|
@@ -2977,7 +2977,7 @@ const kt = (e, i, n) => {
|
|
|
2977
2977
|
sx: {
|
|
2978
2978
|
fontWeight: 600
|
|
2979
2979
|
},
|
|
2980
|
-
variant: "
|
|
2980
|
+
variant: "body1",
|
|
2981
2981
|
children: s(e.request_support_institution_message_title, i)
|
|
2982
2982
|
}
|
|
2983
2983
|
),
|
|
@@ -2989,7 +2989,7 @@ const kt = (e, i, n) => {
|
|
|
2989
2989
|
fontWeight: 400,
|
|
2990
2990
|
mt: 2
|
|
2991
2991
|
},
|
|
2992
|
-
variant: "
|
|
2992
|
+
variant: "subtitle2",
|
|
2993
2993
|
children: s(e.request_support_institution_message, i)
|
|
2994
2994
|
}
|
|
2995
2995
|
)
|
|
@@ -3013,8 +3013,8 @@ const kt = (e, i, n) => {
|
|
|
3013
3013
|
/* @__PURE__ */ t(C, { sx: { alignItems: "center", pb: 24, pt: 80 }, children: /* @__PURE__ */ t(Y, { color: "success", fill: !0, name: "check_circle", size: 64 }) }),
|
|
3014
3014
|
/* @__PURE__ */ _(C, { sx: { alignItems: "center", gap: 16, pb: 48 }, children: [
|
|
3015
3015
|
/* @__PURE__ */ t(at, { children: e.request_support_success }),
|
|
3016
|
-
/* @__PURE__ */ t(U, { align: "center", variant: "
|
|
3017
|
-
/* @__PURE__ */ t(E, { bold: !0, variant: "
|
|
3016
|
+
/* @__PURE__ */ t(U, { align: "center", variant: "body1", children: e.request_support_submit_success_message }),
|
|
3017
|
+
/* @__PURE__ */ t(E, { bold: !0, variant: "body1", children: i })
|
|
3018
3018
|
] }),
|
|
3019
3019
|
/* @__PURE__ */ t(z, { fullWidth: !0, onClick: c, variant: "contained", children: d.done_button }),
|
|
3020
3020
|
/* @__PURE__ */ t(z, { fullWidth: !0, onClick: l, sx: { mt: 8 }, children: e.request_support_institution_back })
|
|
@@ -3079,7 +3079,7 @@ const kt = (e, i, n) => {
|
|
|
3079
3079
|
fontWeight: "bold",
|
|
3080
3080
|
gutterBottom: !0,
|
|
3081
3081
|
sx: { ml: 24 },
|
|
3082
|
-
variant: "
|
|
3082
|
+
variant: "caption",
|
|
3083
3083
|
children: e.popular_topics
|
|
3084
3084
|
}
|
|
3085
3085
|
),
|
|
@@ -3100,7 +3100,7 @@ const kt = (e, i, n) => {
|
|
|
3100
3100
|
fontWeight: "bold",
|
|
3101
3101
|
gutterBottom: !0,
|
|
3102
3102
|
sx: { m: "24px 0px 0px 24px" },
|
|
3103
|
-
variant: "
|
|
3103
|
+
variant: "caption",
|
|
3104
3104
|
children: e.help_by_category
|
|
3105
3105
|
}
|
|
3106
3106
|
),
|