@mx-cartographer/experiences 8.2.3 → 8.2.4-alpha-ram1-bug-testing
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 +16 -0
- package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
- package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
- package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
- package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
- package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
- package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
- package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
- package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
- package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
- package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
- package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
- package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
- package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
- package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
- package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
- package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
- package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
- package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
- package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
- package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
- package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
- package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
- package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
- package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
- package/dist/{ViewMoreMicroCard-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
- package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
- package/dist/accounts/index.es.js +199 -194
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/index.es.js +183 -184
- package/dist/cashflow/index.es.js +70 -80
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +1 -1
- package/dist/common/index.es.js +206 -194
- package/dist/common/utils/Theme.d.ts +6 -5
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +47 -47
- package/dist/debts/index.es.js +140 -140
- package/dist/finstrong/index.es.js +40 -32
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
- package/dist/goals/index.es.js +154 -165
- package/dist/help/index.es.js +2 -2
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
- package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
- package/dist/insights/index.es.js +677 -687
- package/dist/insights/themes/Typography.d.ts +0 -2
- package/dist/investments/index.es.js +205 -207
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/cards/InsightCard.d.ts +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
- package/dist/microinsights/carousel/BeatList.d.ts +2 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +11 -5
- package/dist/networth/index.es.js +85 -87
- package/dist/notifications/index.es.js +7 -8
- package/dist/recurringtransactions/index.es.js +53 -53
- package/dist/settings/index.es.js +111 -111
- package/dist/spending/index.es.js +7 -7
- package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
- package/dist/transactions/index.es.js +138 -140
- package/dist/trends/index.es.js +293 -292
- package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
- package/package.json +29 -23
- package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
- package/dist/Select-BZRUpOib.mjs +0 -51
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Icon as
|
|
2
|
+
import o from "@mui/material/Button";
|
|
3
|
+
import s from "@mui/material/Stack";
|
|
4
|
+
import { Icon as x } from "@mxenabled/mx-icons";
|
|
5
5
|
import { Text as c } from "@mxenabled/mxui";
|
|
6
|
-
const
|
|
7
|
-
icon:
|
|
8
|
-
iconColor:
|
|
9
|
-
header:
|
|
6
|
+
const w = ({
|
|
7
|
+
icon: m,
|
|
8
|
+
iconColor: l,
|
|
9
|
+
header: p,
|
|
10
10
|
onClick: a,
|
|
11
11
|
primaryButton: e,
|
|
12
12
|
primaryButtonStartIcon: i,
|
|
@@ -14,7 +14,7 @@ const b = ({
|
|
|
14
14
|
subText: d,
|
|
15
15
|
sx: h
|
|
16
16
|
}) => /* @__PURE__ */ n(
|
|
17
|
-
|
|
17
|
+
s,
|
|
18
18
|
{
|
|
19
19
|
sx: {
|
|
20
20
|
alignItems: "center",
|
|
@@ -24,15 +24,15 @@ const b = ({
|
|
|
24
24
|
...h
|
|
25
25
|
},
|
|
26
26
|
children: [
|
|
27
|
-
/* @__PURE__ */ t(
|
|
27
|
+
/* @__PURE__ */ t(x, { name: m, size: 48, sx: { color: l } }),
|
|
28
28
|
/* @__PURE__ */ t(
|
|
29
29
|
c,
|
|
30
30
|
{
|
|
31
31
|
className: "empty-state-header",
|
|
32
32
|
color: "text.primary",
|
|
33
|
-
sx: { fontWeight: 600, mt: 16, textAlign: "center"
|
|
33
|
+
sx: { fontWeight: 600, mt: 16, textAlign: "center" },
|
|
34
34
|
variant: "body1",
|
|
35
|
-
children:
|
|
35
|
+
children: p
|
|
36
36
|
}
|
|
37
37
|
),
|
|
38
38
|
/* @__PURE__ */ t(
|
|
@@ -40,13 +40,13 @@ const b = ({
|
|
|
40
40
|
{
|
|
41
41
|
className: "empty-state-subtext",
|
|
42
42
|
color: "text.secondary",
|
|
43
|
-
sx: { fontWeight: 400, textAlign: "center",
|
|
43
|
+
sx: { fontWeight: 400, textAlign: "center", width: "calc(100% - 8px)" },
|
|
44
44
|
variant: "subtitle2",
|
|
45
45
|
children: d
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
48
|
(e || r) && /* @__PURE__ */ n(
|
|
49
|
-
|
|
49
|
+
s,
|
|
50
50
|
{
|
|
51
51
|
className: "buttons-footer",
|
|
52
52
|
sx: {
|
|
@@ -55,17 +55,17 @@ const b = ({
|
|
|
55
55
|
},
|
|
56
56
|
children: [
|
|
57
57
|
e && /* @__PURE__ */ t(
|
|
58
|
-
|
|
58
|
+
o,
|
|
59
59
|
{
|
|
60
60
|
onClick: () => a?.("primary"),
|
|
61
|
-
startIcon: i ? /* @__PURE__ */ t(
|
|
61
|
+
startIcon: i ? /* @__PURE__ */ t(x, { name: i }) : void 0,
|
|
62
62
|
sx: { textWrap: "nowrap" },
|
|
63
63
|
variant: "contained",
|
|
64
64
|
children: e
|
|
65
65
|
}
|
|
66
66
|
),
|
|
67
67
|
r && /* @__PURE__ */ t(
|
|
68
|
-
|
|
68
|
+
o,
|
|
69
69
|
{
|
|
70
70
|
onClick: () => a?.("secondary"),
|
|
71
71
|
sx: { textWrap: "nowrap" },
|
|
@@ -80,5 +80,5 @@ const b = ({
|
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
w as E
|
|
84
84
|
};
|
|
@@ -2,9 +2,9 @@ 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
4
|
import { e as p } from "./TransactionUtils-BphBJBbU.mjs";
|
|
5
|
-
import { O as m } from "./EmbeddedCard-
|
|
5
|
+
import { O as m } from "./EmbeddedCard-DPwJjqMH.mjs";
|
|
6
6
|
import { g as x, h as _, u as C } from "./hooks-BaO_gOI6.mjs";
|
|
7
|
-
import { R as l } from "./ResponsiveButton-
|
|
7
|
+
import { R as l } from "./ResponsiveButton-CC9F_Ezk.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = x(), { tags: e, sortedTransactions: s } = _(), { transactions: n } = C(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -11,14 +11,14 @@ import E from "@mui/material/Tooltip";
|
|
|
11
11
|
import { FilterAlt as F } from "@mxenabled/mx-icons";
|
|
12
12
|
import S from "@mui/material/Checkbox";
|
|
13
13
|
import G from "@mui/material/List";
|
|
14
|
-
import
|
|
14
|
+
import g from "@mui/material/ListItem";
|
|
15
15
|
import _ from "@mui/material/ListItemButton";
|
|
16
16
|
import H from "@mui/material/ListItemIcon";
|
|
17
17
|
import v from "@mui/material/ListItemText";
|
|
18
|
-
import { b as M, u as
|
|
18
|
+
import { b as M, u as W, d as z } from "./hooks-BaO_gOI6.mjs";
|
|
19
19
|
const N = I(
|
|
20
20
|
({ allowedAccountTypes: a }) => {
|
|
21
|
-
const { accountFilterMap: s, updateAccountFilterMap: u } = M(), { accounts:
|
|
21
|
+
const { accountFilterMap: s, updateAccountFilterMap: u } = M(), { accounts: y, common: x } = W(), { account_filter: c } = x, { accountsByTypeMap: n } = z(), k = B.useMemo(
|
|
22
22
|
() => Array.from(n.keys()).reduce((t, i) => {
|
|
23
23
|
if (!a || a && a.includes(i)) {
|
|
24
24
|
const o = n.get(i);
|
|
@@ -29,10 +29,10 @@ const N = I(
|
|
|
29
29
|
[n, a]
|
|
30
30
|
), p = new Map(
|
|
31
31
|
Array.from(s.entries()).filter(([t]) => k.some((i) => i.guid === t))
|
|
32
|
-
), m = Array.from(p.values()).every((t) => t),
|
|
32
|
+
), m = Array.from(p.values()).every((t) => t), b = Array.from(p.values()).some((t) => t), f = () => {
|
|
33
33
|
for (const t of p.keys())
|
|
34
34
|
u(t, !m);
|
|
35
|
-
},
|
|
35
|
+
}, h = (t) => {
|
|
36
36
|
const i = n.get(t);
|
|
37
37
|
if (!i) return;
|
|
38
38
|
const o = i.some((r) => s.get(r.guid));
|
|
@@ -47,7 +47,7 @@ const N = I(
|
|
|
47
47
|
sx: { overflowY: "scroll", maxHeight: 350, minWidth: 280 },
|
|
48
48
|
children: [
|
|
49
49
|
/* @__PURE__ */ e(
|
|
50
|
-
|
|
50
|
+
g,
|
|
51
51
|
{
|
|
52
52
|
"aria-label": c.select_all_accounts,
|
|
53
53
|
disableGutters: !0,
|
|
@@ -61,9 +61,9 @@ const N = I(
|
|
|
61
61
|
"aria-checked": m,
|
|
62
62
|
checked: m,
|
|
63
63
|
disableRipple: !0,
|
|
64
|
-
indeterminate: !m &&
|
|
65
|
-
inputProps: { "aria-labelledby": "label-select-all" },
|
|
64
|
+
indeterminate: !m && b,
|
|
66
65
|
size: "small",
|
|
66
|
+
slotProps: { input: { "aria-labelledby": "label-select-all" } },
|
|
67
67
|
tabIndex: -1
|
|
68
68
|
}
|
|
69
69
|
),
|
|
@@ -72,18 +72,18 @@ const N = I(
|
|
|
72
72
|
{
|
|
73
73
|
id: "label-select-all",
|
|
74
74
|
primary: c.select_all_accounts,
|
|
75
|
-
|
|
75
|
+
slotProps: { primary: { variant: "body1", fontWeight: "normal" } }
|
|
76
76
|
}
|
|
77
77
|
)
|
|
78
78
|
] })
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
81
|
Array.from(n.keys()).map((t) => {
|
|
82
|
-
const i = n.get(t), o = a ? !a.includes(t) : !1, r =
|
|
82
|
+
const i = n.get(t), o = a ? !a.includes(t) : !1, r = y.account_type_accounts[t];
|
|
83
83
|
return (
|
|
84
84
|
// Account Type Header
|
|
85
85
|
/* @__PURE__ */ e(
|
|
86
|
-
|
|
86
|
+
g,
|
|
87
87
|
{
|
|
88
88
|
"aria-label": r,
|
|
89
89
|
disableGutters: !0,
|
|
@@ -95,25 +95,25 @@ const N = I(
|
|
|
95
95
|
{
|
|
96
96
|
dense: !0,
|
|
97
97
|
role: "menu",
|
|
98
|
-
subheader: /* @__PURE__ */ e(
|
|
98
|
+
subheader: /* @__PURE__ */ e(g, { "aria-label": r, role: "menu", children: /* @__PURE__ */ e(
|
|
99
99
|
_,
|
|
100
100
|
{
|
|
101
101
|
disableGutters: !0,
|
|
102
102
|
disabled: o,
|
|
103
|
-
onClick: () =>
|
|
103
|
+
onClick: () => h(t),
|
|
104
104
|
sx: { pl: 16, minHeight: 40, justifyContent: "left" },
|
|
105
105
|
children: /* @__PURE__ */ e(
|
|
106
106
|
v,
|
|
107
107
|
{
|
|
108
108
|
primary: r,
|
|
109
|
-
|
|
109
|
+
slotProps: { primary: { variant: "body1", fontWeight: "bold" } }
|
|
110
110
|
}
|
|
111
111
|
)
|
|
112
112
|
}
|
|
113
113
|
) }),
|
|
114
114
|
children: i?.map((l) => (
|
|
115
115
|
// Account Checkbox
|
|
116
|
-
/* @__PURE__ */ e(
|
|
116
|
+
/* @__PURE__ */ e(g, { "aria-label": l.displayName, role: "menuitem", children: /* @__PURE__ */ d(
|
|
117
117
|
_,
|
|
118
118
|
{
|
|
119
119
|
disableGutters: !0,
|
|
@@ -127,8 +127,8 @@ const N = I(
|
|
|
127
127
|
"aria-checked": s.get(l.guid),
|
|
128
128
|
checked: s.get(l.guid),
|
|
129
129
|
disableRipple: !0,
|
|
130
|
-
inputProps: { "aria-labelledby": `label-${l.guid}` },
|
|
131
130
|
size: "small",
|
|
131
|
+
slotProps: { input: { "aria-labelledby": `label-${l.guid}` } },
|
|
132
132
|
tabIndex: -1
|
|
133
133
|
}
|
|
134
134
|
) }),
|
|
@@ -137,7 +137,7 @@ const N = I(
|
|
|
137
137
|
{
|
|
138
138
|
id: `label-${l.guid}`,
|
|
139
139
|
primary: l.displayName,
|
|
140
|
-
|
|
140
|
+
slotProps: { primary: { variant: "body1", fontWeight: "normal" } }
|
|
141
141
|
}
|
|
142
142
|
)
|
|
143
143
|
]
|
|
@@ -161,17 +161,17 @@ const N = I(
|
|
|
161
161
|
allowedAccountTypes: a,
|
|
162
162
|
isDesktop: s,
|
|
163
163
|
onAccountFilterClick: u,
|
|
164
|
-
sx:
|
|
164
|
+
sx: y = {},
|
|
165
165
|
variant: x = "text"
|
|
166
166
|
}) => {
|
|
167
|
-
const { common: c } =
|
|
168
|
-
k(), f(
|
|
167
|
+
const { common: c } = W(), { accountFilterMap: n, resetAccountFilterMap: k } = M(), { detailedAccounts: p, updateAccountFilter: m } = z(), [b, f] = B.useState(null), h = (L) => {
|
|
168
|
+
k(), f(L.currentTarget), u?.();
|
|
169
169
|
}, t = () => {
|
|
170
170
|
f(null);
|
|
171
171
|
}, i = async () => {
|
|
172
172
|
await m(n), f(null);
|
|
173
|
-
}, o = c.account_filter, r = !!
|
|
174
|
-
return /* @__PURE__ */ d(j, { sx: { ...
|
|
173
|
+
}, o = c.account_filter, r = !!b, l = p.length === 0;
|
|
174
|
+
return /* @__PURE__ */ d(j, { sx: { ...y }, children: [
|
|
175
175
|
s ? /* @__PURE__ */ e(
|
|
176
176
|
C,
|
|
177
177
|
{
|
|
@@ -180,7 +180,7 @@ const N = I(
|
|
|
180
180
|
"aria-haspopup": !0,
|
|
181
181
|
"aria-label": o.title,
|
|
182
182
|
disabled: l,
|
|
183
|
-
onClick:
|
|
183
|
+
onClick: h,
|
|
184
184
|
startIcon: /* @__PURE__ */ e(F, { size: 24 }),
|
|
185
185
|
sx: { p: 8, whiteSpace: "nowrap", minWidth: "max-content" },
|
|
186
186
|
variant: x,
|
|
@@ -196,7 +196,7 @@ const N = I(
|
|
|
196
196
|
"aria-label": o.title,
|
|
197
197
|
color: "primary",
|
|
198
198
|
disabled: l,
|
|
199
|
-
onClick:
|
|
199
|
+
onClick: h,
|
|
200
200
|
sx: { p: 8 },
|
|
201
201
|
children: /* @__PURE__ */ e(F, { size: 24 })
|
|
202
202
|
}
|
|
@@ -204,7 +204,7 @@ const N = I(
|
|
|
204
204
|
/* @__PURE__ */ e(
|
|
205
205
|
O,
|
|
206
206
|
{
|
|
207
|
-
anchorEl:
|
|
207
|
+
anchorEl: b,
|
|
208
208
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
209
209
|
onClose: t,
|
|
210
210
|
open: r,
|