@mx-cartographer/experiences 7.4.9 → 7.4.11
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 +9 -0
- package/dist/{Account-01wOyrH1.mjs → Account-BrOTlmeK.mjs} +1 -1
- package/dist/{AccountDetailsContent-COMjOzwr.mjs → AccountDetailsContent-B7FqH05C.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Cbi5G6fJ.mjs → AccountDetailsHeader-C8MxsxhN.mjs} +4 -4
- package/dist/{AccountFields-Cd_nOWmf.mjs → AccountFields-BQZ-o6Kj.mjs} +2 -2
- package/dist/{AccountListItem-DxY4cCF1.mjs → AccountListItem-aIE9WWTO.mjs} +4 -4
- package/dist/{AccountStore-C1zMBzHq.mjs → AccountStore-DqO84Aer.mjs} +2 -2
- package/dist/{Accounts-D7QljYas.mjs → Accounts-DC_A4UCa.mjs} +1 -1
- package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-BmZXkL0C.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-SUgfE5GN.mjs} +1 -1
- package/dist/{ConnectDrawer-CuUj16NH.mjs → ConnectDrawer-KL8t1qSC.mjs} +1 -1
- package/dist/{ConnectionsDrawer-Bz4uwdFE.mjs → ConnectionsDrawer-DaK5uIL5.mjs} +2 -2
- package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-itK0R3wV.mjs} +1 -1
- package/dist/{DebtsStore-Bu8rRRSL.mjs → DebtsStore-DVPZbv2C.mjs} +1 -1
- package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-Cglo8Mca.mjs} +3 -3
- package/dist/{GoalStore-CrNhjvNc.mjs → GoalStore-o4rrjGSJ.mjs} +2 -2
- package/dist/{Help-BnPXM_N2.mjs → Help-BjLMsuMS.mjs} +1 -1
- package/dist/{LineChart-bc1D9xBE.mjs → LineChart-BQRxZF3p.mjs} +1 -1
- package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-BxTkF6Tz.mjs} +1 -1
- package/dist/{ManageIncome-A69EUO5u.mjs → ManageIncome-rcnDYsBJ.mjs} +75 -75
- package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-B2hO9rOG.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-98-hKFqm.mjs} +1 -1
- package/dist/{NetWorthStore-CpL_kqvx.mjs → NetWorthStore-DG2X69jG.mjs} +2 -2
- package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-Cy0qgDf6.mjs} +250 -248
- package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +3 -3
- package/dist/{RecurringSettings-B0uObPlD.mjs → RecurringSettings-C81H1l38.mjs} +3 -3
- package/dist/{SpendingLegend-Bf-wbJvb.mjs → SpendingLegend-DqZxN_BZ.mjs} +2 -2
- package/dist/{TransactionDetails-COH0OKNG.mjs → TransactionDetails-BA_E5nQ-.mjs} +5 -5
- package/dist/{TransactionStore-Dz-G8Wd0.mjs → TransactionStore-PRlwE-TF.mjs} +2 -2
- package/dist/{User-wXzDI4M8.mjs → User-Cnlegl1N.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-C0832BMe.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +105 -101
- package/dist/{WidgetContainer-6dsjtOVg.mjs → WidgetContainer-CaPjoWeE.mjs} +2 -2
- package/dist/accounts/index.es.js +148 -140
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +617 -612
- package/dist/cashflow/index.es.js +367 -362
- package/dist/categories/index.es.js +1 -1
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
- package/dist/common/index.es.js +35 -33
- package/dist/dashboard/index.es.js +90 -88
- package/dist/debts/index.es.js +346 -342
- package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-DuAaI5XA.mjs} +1 -1
- package/dist/finstrong/index.es.js +352 -350
- package/dist/goals/index.es.js +518 -511
- package/dist/help/index.es.js +13 -9
- package/dist/{hooks-C41HAxM5.mjs → hooks-ZMp65DFz.mjs} +11 -11
- package/dist/investments/index.es.js +395 -393
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
- package/dist/microinsights/index.d.ts +1 -0
- package/dist/microinsights/index.es.js +101 -14
- package/dist/networth/index.es.js +245 -240
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +293 -285
- package/dist/settings/index.es.js +252 -249
- package/dist/spending/index.es.js +137 -125
- package/dist/transactions/index.es.js +77 -73
- package/dist/trends/index.es.js +601 -588
- package/dist/{useAccountDisplayName-CMMlIOXF.mjs → useAccountDisplayName-Cjx8YmKK.mjs} +2 -2
- package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
- package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import k from "@mui/material/ListItemText";
|
|
|
12
12
|
import A from "@mui/material/Paper";
|
|
13
13
|
import d from "@mui/material/Stack";
|
|
14
14
|
import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
15
|
-
import { c as v, u as w, b as C } from "../hooks-
|
|
15
|
+
import { c as v, u as w, b as C } from "../hooks-ZMp65DFz.mjs";
|
|
16
16
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { S as N } from "../SearchBox-B2_zLv8-.mjs";
|
|
18
18
|
import { M as ne } from "../MerchantStore-WvZ4gnQe.mjs";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material/styles';
|
|
2
|
+
interface MicroCardTemplateProps {
|
|
3
|
+
avatarSx?: SxProps;
|
|
4
|
+
cardSx?: SxProps;
|
|
5
|
+
description: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
hasCardEffect?: boolean;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onPrimaryAction?: () => void;
|
|
10
|
+
onSecondaryAction?: () => void;
|
|
11
|
+
primaryActionText?: string;
|
|
12
|
+
secondaryActionText?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}
|
|
15
|
+
declare const MicroCardTemplate: ({ avatarSx, cardSx, description, icon, hasCardEffect, onClose, onPrimaryAction, onSecondaryAction, primaryActionText, secondaryActionText, title, }: MicroCardTemplateProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default MicroCardTemplate;
|
|
@@ -10,3 +10,4 @@ export { default as ViewMoreMicroCard } from './cards/ViewMoreMicroCard';
|
|
|
10
10
|
export { default as ZeroStateCard } from './cards/ZeroStateCard';
|
|
11
11
|
export { ChartFilledIcon, MonthlySpendComparisonIcon, ZeroStateIcon } from './beaticons';
|
|
12
12
|
export type { MicroWidgetProps, StyleProps } from './interfaces';
|
|
13
|
+
export { default as MicroCardTemplate } from './MicroCardTemplate';
|
|
@@ -1,16 +1,103 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as V, B as _, C as A, c as F, a as R, b as $, I as q, M as G, d as J, N as K, V as Q, Z as U, e as X } from "../ViewMoreMicroCard-DwR0v_ll.mjs";
|
|
2
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import g from "@mui/material/Avatar";
|
|
4
|
+
import v from "@mui/material/Box";
|
|
5
|
+
import d from "@mui/material/Button";
|
|
6
|
+
import u from "@mui/material/Card";
|
|
7
|
+
import I from "@mui/material/IconButton";
|
|
8
|
+
import t from "@mui/material/Stack";
|
|
9
|
+
import { Text as i, P as M } from "@mxenabled/mxui";
|
|
10
|
+
import { Close as w, Error as B } from "@mxenabled/mx-icons";
|
|
11
|
+
const k = {
|
|
12
|
+
close: "Close"
|
|
13
|
+
}, y = ({
|
|
14
|
+
avatarSx: p,
|
|
15
|
+
cardSx: h,
|
|
16
|
+
description: m,
|
|
17
|
+
icon: x = /* @__PURE__ */ e(B, {}),
|
|
18
|
+
hasCardEffect: C = !1,
|
|
19
|
+
onClose: a,
|
|
20
|
+
onPrimaryAction: s,
|
|
21
|
+
onSecondaryAction: n,
|
|
22
|
+
primaryActionText: l,
|
|
23
|
+
secondaryActionText: c,
|
|
24
|
+
title: b
|
|
25
|
+
}) => {
|
|
26
|
+
const o = !!(s && l), f = !!(n && c);
|
|
27
|
+
return /* @__PURE__ */ r(
|
|
28
|
+
C ? u : v,
|
|
29
|
+
{
|
|
30
|
+
sx: {
|
|
31
|
+
pb: 8,
|
|
32
|
+
position: "relative",
|
|
33
|
+
pt: 16,
|
|
34
|
+
px: 16,
|
|
35
|
+
...h
|
|
36
|
+
},
|
|
37
|
+
children: [
|
|
38
|
+
a && /* @__PURE__ */ e(
|
|
39
|
+
I,
|
|
40
|
+
{
|
|
41
|
+
"aria-label": k.close,
|
|
42
|
+
onClick: a,
|
|
43
|
+
sx: { minHeight: 40, minWidth: 40, position: "absolute", right: 4, top: 4 },
|
|
44
|
+
children: /* @__PURE__ */ e(w, {})
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ r(t, { sx: { gap: 6 }, children: [
|
|
48
|
+
/* @__PURE__ */ r(t, { sx: { flexDirection: "row", gap: 12 }, children: [
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
g,
|
|
51
|
+
{
|
|
52
|
+
sx: {
|
|
53
|
+
height: 32,
|
|
54
|
+
width: 32,
|
|
55
|
+
...p
|
|
56
|
+
},
|
|
57
|
+
variant: "rounded",
|
|
58
|
+
children: x
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
/* @__PURE__ */ r(t, { sx: { gap: 6 }, children: [
|
|
62
|
+
/* @__PURE__ */ e(t, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: /* @__PURE__ */ e(i, { bold: !0, sx: { lineHeight: 16 }, variant: "body1", children: b }) }),
|
|
63
|
+
/* @__PURE__ */ e(
|
|
64
|
+
M,
|
|
65
|
+
{
|
|
66
|
+
dangerouslySetInnerHTML: { __html: m },
|
|
67
|
+
sx: {
|
|
68
|
+
display: "-webkit-box",
|
|
69
|
+
overflow: "hidden",
|
|
70
|
+
textOverflow: "ellipsis",
|
|
71
|
+
WebkitBoxOrient: "vertical",
|
|
72
|
+
WebkitLineClamp: o ? 2 : 3
|
|
73
|
+
},
|
|
74
|
+
variant: "subtitle2"
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] })
|
|
78
|
+
] }),
|
|
79
|
+
o && /* @__PURE__ */ r(t, { sx: { alignItems: "center", flexDirection: "row", height: 28, pb: 4, pl: 36 }, children: [
|
|
80
|
+
o && /* @__PURE__ */ e(d, { onClick: s, size: "small", sx: { px: 8 }, variant: "text", children: /* @__PURE__ */ e(i, { bold: !0, variant: "body2", children: l }) }),
|
|
81
|
+
f && /* @__PURE__ */ e(d, { onClick: n, size: "small", sx: { px: 8 }, variant: "text", children: /* @__PURE__ */ e(i, { bold: !0, sx: { color: "text.secondary" }, variant: "body2", children: c }) })
|
|
82
|
+
] })
|
|
83
|
+
] })
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
}, L = y;
|
|
2
88
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
89
|
+
V as AppStore,
|
|
90
|
+
_ as BaseCard,
|
|
91
|
+
A as CarouselHeader,
|
|
92
|
+
F as ChartFilledIcon,
|
|
93
|
+
R as InsightCard,
|
|
94
|
+
$ as InsightsMicroWidget,
|
|
95
|
+
q as InsightsMicroWidgetDataProvider,
|
|
96
|
+
G as MicroBeatCarousel,
|
|
97
|
+
L as MicroCardTemplate,
|
|
98
|
+
J as MonthlySpendComparisonIcon,
|
|
99
|
+
K as NoRelevantInsightsCard,
|
|
100
|
+
Q as ViewMoreMicroCard,
|
|
101
|
+
U as ZeroStateCard,
|
|
102
|
+
X as ZeroStateIcon
|
|
16
103
|
};
|