@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,30 +1,30 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import o from "react";
|
|
3
3
|
import { observer as p } from "mobx-react-lite";
|
|
4
|
-
import u from "@mui/material/
|
|
4
|
+
import u from "@mui/material/Grid";
|
|
5
5
|
import m from "@mui/material/Skeleton";
|
|
6
6
|
import s from "@mui/material/Stack";
|
|
7
|
-
import S from "@mui/material/styles
|
|
7
|
+
import { useTheme as S } from "@mui/material/styles";
|
|
8
8
|
import { f as w, u as b, a as v } from "../hooks-BaO_gOI6.mjs";
|
|
9
9
|
import C from "@mui/material/Paper";
|
|
10
10
|
import { Icon as _, H2 as M, P as D } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as G } from "@mui/system";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { G as
|
|
18
|
-
import { u as y } from "../useScreenSize-
|
|
19
|
-
import { C as
|
|
12
|
+
import z from "@mui/material/Box";
|
|
13
|
+
import W from "@mui/material/Button";
|
|
14
|
+
import k from "@mui/material/IconButton";
|
|
15
|
+
import A from "@mui/material/Tooltip";
|
|
16
|
+
import I from "@mui/material/useMediaQuery";
|
|
17
|
+
import { G as B } from "../GlobalAccountFilter-7Cg2-9A5.mjs";
|
|
18
|
+
import { u as y } from "../useScreenSize-mWpmnh5w.mjs";
|
|
19
|
+
import { C as F } from "../ConnectDrawer-Cnjr3Ddg.mjs";
|
|
20
20
|
import { u as R } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
21
21
|
const T = p(() => {
|
|
22
22
|
const t = S(), {
|
|
23
|
-
appDataStore: { banner:
|
|
23
|
+
appDataStore: { banner: r, loadBanner: i, user: a }
|
|
24
24
|
} = w();
|
|
25
|
-
return
|
|
25
|
+
return o.useEffect(() => {
|
|
26
26
|
i().finally();
|
|
27
|
-
}, [a]),
|
|
27
|
+
}, [a]), r?.image_url ? /* @__PURE__ */ e(
|
|
28
28
|
s,
|
|
29
29
|
{
|
|
30
30
|
sx: {
|
|
@@ -35,7 +35,7 @@ const T = p(() => {
|
|
|
35
35
|
children: /* @__PURE__ */ e(
|
|
36
36
|
"a",
|
|
37
37
|
{
|
|
38
|
-
href:
|
|
38
|
+
href: r?.redirect_url,
|
|
39
39
|
rel: "noreferrer",
|
|
40
40
|
style: {
|
|
41
41
|
width: "100%"
|
|
@@ -45,7 +45,7 @@ const T = p(() => {
|
|
|
45
45
|
"img",
|
|
46
46
|
{
|
|
47
47
|
alt: "",
|
|
48
|
-
src:
|
|
48
|
+
src: r.image_url,
|
|
49
49
|
style: {
|
|
50
50
|
width: "100%",
|
|
51
51
|
height: "auto",
|
|
@@ -58,24 +58,24 @@ const T = p(() => {
|
|
|
58
58
|
}
|
|
59
59
|
) : null;
|
|
60
60
|
}), $ = ({ handleConnectClick: t }) => {
|
|
61
|
-
const { common:
|
|
62
|
-
return /* @__PURE__ */ e(
|
|
63
|
-
|
|
61
|
+
const { common: r } = b(), i = I("(max-width: 700px)");
|
|
62
|
+
return /* @__PURE__ */ e(z, { children: i ? /* @__PURE__ */ e(A, { id: "add-accounts", placement: "bottom", title: r.add_accounts, children: /* @__PURE__ */ e(
|
|
63
|
+
k,
|
|
64
64
|
{
|
|
65
65
|
"aria-controls": "add_accounts",
|
|
66
66
|
"aria-describedby": "add-accounts",
|
|
67
67
|
"aria-haspopup": !0,
|
|
68
|
-
"aria-label":
|
|
68
|
+
"aria-label": r.add_accounts,
|
|
69
69
|
color: "primary",
|
|
70
70
|
onClick: t,
|
|
71
71
|
children: /* @__PURE__ */ e(_, { name: "add", size: 24 })
|
|
72
72
|
}
|
|
73
73
|
) }) : /* @__PURE__ */ e(
|
|
74
|
-
|
|
74
|
+
W,
|
|
75
75
|
{
|
|
76
76
|
"aria-controls": "add_accounts",
|
|
77
77
|
"aria-haspopup": !0,
|
|
78
|
-
"aria-label":
|
|
78
|
+
"aria-label": r.add_accounts,
|
|
79
79
|
onClick: t,
|
|
80
80
|
startIcon: /* @__PURE__ */ e(_, { name: "add", size: 24 }),
|
|
81
81
|
sx: {
|
|
@@ -84,68 +84,68 @@ const T = p(() => {
|
|
|
84
84
|
minWidth: "max-content"
|
|
85
85
|
},
|
|
86
86
|
variant: "text",
|
|
87
|
-
children:
|
|
87
|
+
children: r.add_accounts
|
|
88
88
|
}
|
|
89
89
|
) });
|
|
90
90
|
}, j = p($), Q = () => {
|
|
91
|
-
const [t,
|
|
91
|
+
const [t, r] = o.useState(!1), i = G("(max-width:320px)"), { common: a, connect: g } = b(), { config: d } = v(), { isMobile: f } = y(), x = () => {
|
|
92
92
|
const l = (/* @__PURE__ */ new Date()).getHours();
|
|
93
93
|
return l > 1 && l < 12 ? a.good_morning : l >= 12 && l < 18 ? a.good_afternoon : a.good_evening;
|
|
94
94
|
};
|
|
95
|
-
return /* @__PURE__ */ c(
|
|
96
|
-
/* @__PURE__ */ e(C, { sx: { gap: 12, mb:
|
|
95
|
+
return /* @__PURE__ */ c(o.Fragment, { children: [
|
|
96
|
+
/* @__PURE__ */ e(C, { sx: { gap: 12, mb: f ? 24 : 0, p: 24 }, children: /* @__PURE__ */ c(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
97
97
|
/* @__PURE__ */ c(s, { children: [
|
|
98
98
|
/* @__PURE__ */ e(M, { variant: i ? "h2" : "h1", children: x() }),
|
|
99
99
|
/* @__PURE__ */ e(D, { color: "text.secondary", children: a.heres_your_spending_overview })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ c(s, { flexDirection: "row", children: [
|
|
102
|
-
d.show_connections_widget_in_master && /* @__PURE__ */ e(j, { handleConnectClick: () =>
|
|
103
|
-
/* @__PURE__ */ e(
|
|
102
|
+
d.show_connections_widget_in_master && /* @__PURE__ */ e(j, { handleConnectClick: () => r(!0) }),
|
|
103
|
+
/* @__PURE__ */ e(B, {})
|
|
104
104
|
] })
|
|
105
105
|
] }) }),
|
|
106
106
|
t && /* @__PURE__ */ e(
|
|
107
|
-
|
|
107
|
+
F,
|
|
108
108
|
{
|
|
109
|
-
onClose: () =>
|
|
109
|
+
onClose: () => r(!1),
|
|
110
110
|
showConnectWidget: t,
|
|
111
|
-
title:
|
|
111
|
+
title: g.mini_title
|
|
112
112
|
}
|
|
113
113
|
)
|
|
114
114
|
] });
|
|
115
115
|
}, H = p(Q);
|
|
116
116
|
var h = /* @__PURE__ */ ((t) => (t[t.Main = 0] = "Main", t[t.RightSide = 1] = "RightSide", t[t.Disabled = 2] = "Disabled", t))(h || {});
|
|
117
|
-
const P = ({ widgets: t, isLoading:
|
|
118
|
-
const { isDesktop: i, isMobile: a } = y(), { copyStore:
|
|
117
|
+
const P = ({ widgets: t, isLoading: r }) => {
|
|
118
|
+
const { isDesktop: i, isMobile: a } = y(), { copyStore: g } = w();
|
|
119
119
|
R({
|
|
120
120
|
widgetName: "Dashboard",
|
|
121
|
-
isLoaded: !
|
|
121
|
+
isLoaded: !r
|
|
122
122
|
});
|
|
123
|
-
const d =
|
|
124
|
-
() => t.filter((
|
|
123
|
+
const d = o.useMemo(
|
|
124
|
+
() => t.filter((n) => n.location !== h.Disabled).sort((n, l) => n.index - l.index),
|
|
125
125
|
[t]
|
|
126
|
-
),
|
|
127
|
-
() => d.filter((
|
|
126
|
+
), f = o.useMemo(
|
|
127
|
+
() => d.filter((n) => n.location === h.Main),
|
|
128
128
|
[d]
|
|
129
|
-
), x =
|
|
130
|
-
() => d.filter((
|
|
129
|
+
), x = o.useMemo(
|
|
130
|
+
() => d.filter((n) => n.location === h.RightSide),
|
|
131
131
|
[d]
|
|
132
132
|
);
|
|
133
|
-
return /* @__PURE__ */ c(u, { container: !0, spacing: a ? 0 : 24,
|
|
134
|
-
/* @__PURE__ */ e(u, { sx: { pt: 16 },
|
|
135
|
-
/* @__PURE__ */ c(u, {
|
|
133
|
+
return /* @__PURE__ */ c(u, { container: !0, spacing: a ? 0 : 24, children: [
|
|
134
|
+
/* @__PURE__ */ e(u, { size: 12, sx: { pt: 16 }, children: g.isInitialized && /* @__PURE__ */ e(H, {}) }),
|
|
135
|
+
/* @__PURE__ */ c(u, { size: { xs: 12, lg: 8 }, children: [
|
|
136
136
|
/* @__PURE__ */ e(T, {}),
|
|
137
|
-
|
|
137
|
+
r && /* @__PURE__ */ c(s, { direction: "column", spacing: 24, children: [
|
|
138
138
|
/* @__PURE__ */ e(m, { height: 100, variant: "rounded", width: "100%" }),
|
|
139
139
|
/* @__PURE__ */ e(m, { height: 300, variant: "rounded", width: "100%" }),
|
|
140
140
|
/* @__PURE__ */ e(m, { height: 300, variant: "rounded", width: "100%" })
|
|
141
141
|
] }),
|
|
142
|
-
!
|
|
142
|
+
!r && /* @__PURE__ */ e(s, { direction: "column", spacing: 24, children: i ? f.map((n) => /* @__PURE__ */ e(o.Fragment, { children: n.component }, n.index)) : d.map((n) => /* @__PURE__ */ e(o.Fragment, { children: n.component }, n.index)) })
|
|
143
143
|
] }),
|
|
144
|
-
i && /* @__PURE__ */ e(u, { lg: 4, children:
|
|
144
|
+
i && /* @__PURE__ */ e(u, { size: { lg: 4 }, children: r ? /* @__PURE__ */ c(s, { direction: "column", spacing: 24, children: [
|
|
145
145
|
/* @__PURE__ */ e(m, { height: 200, variant: "rounded", width: "100%" }),
|
|
146
146
|
/* @__PURE__ */ e(m, { height: 100, variant: "rounded", width: "100%" }),
|
|
147
147
|
/* @__PURE__ */ e(m, { height: 300, variant: "rounded", width: "100%" })
|
|
148
|
-
] }) : /* @__PURE__ */ e(s, { direction: "column", spacing: 24, children: x.map((
|
|
148
|
+
] }) : /* @__PURE__ */ e(s, { direction: "column", spacing: 24, children: x.map((n) => /* @__PURE__ */ e(o.Fragment, { children: n.component }, n.index)) }) })
|
|
149
149
|
] });
|
|
150
150
|
}, se = p(P);
|
|
151
151
|
export {
|