@mx-cartographer/experiences 7.0.52-alpha.mega5 → 7.0.52-alpha.mega7
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/dist/{EmptyState-BYvgSeMz.mjs → EmptyState-Cu00ZWJL.mjs} +17 -19
- package/dist/MiniWidgetContainer-DTQdRK-3.mjs +56 -0
- package/dist/accounts/index.es.js +1 -1
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +0 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -2
- package/dist/budgets/index.es.js +640 -634
- package/dist/cashflow/index.es.js +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/index.es.js +3 -4
- package/dist/common/types/AppData.d.ts +0 -1
- package/dist/goals/index.es.js +1 -1
- package/dist/investments/index.es.js +1 -1
- package/dist/networth/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +1 -1
- package/dist/spending/index.es.js +1 -1
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
- package/dist/MiniWidgetContainer-CldJb_TI.mjs +0 -55
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "@mui/material/Button";
|
|
3
3
|
import i from "@mui/material/Stack";
|
|
4
|
-
import { Icon as
|
|
5
|
-
import { H2 as
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
header: p,
|
|
4
|
+
import { Icon as d } from "@mxenabled/mx-icons";
|
|
5
|
+
import { H2 as f, Text as h } from "@mxenabled/mxui";
|
|
6
|
+
const S = ({
|
|
7
|
+
icon: x,
|
|
8
|
+
iconColor: c,
|
|
9
|
+
header: s,
|
|
11
10
|
onClick: a,
|
|
12
11
|
primaryButton: r,
|
|
13
12
|
secondaryButton: e,
|
|
14
|
-
subText:
|
|
15
|
-
sx:
|
|
16
|
-
variant:
|
|
13
|
+
subText: p,
|
|
14
|
+
sx: l,
|
|
15
|
+
variant: m = "buttons"
|
|
17
16
|
}) => /* @__PURE__ */ n(
|
|
18
17
|
i,
|
|
19
18
|
{
|
|
@@ -21,28 +20,27 @@ const j = ({
|
|
|
21
20
|
mt: 54,
|
|
22
21
|
alignItems: "center",
|
|
23
22
|
alignSelf: "center",
|
|
24
|
-
...
|
|
23
|
+
...l
|
|
25
24
|
},
|
|
26
25
|
children: [
|
|
27
|
-
/* @__PURE__ */ t(
|
|
28
|
-
/* @__PURE__ */ t(
|
|
26
|
+
/* @__PURE__ */ t(d, { name: x, size: 54, sx: { color: c } }),
|
|
27
|
+
/* @__PURE__ */ t(f, { color: "text.primary", sx: { textWrap: "wrap", textAlign: "center" }, children: s }),
|
|
29
28
|
/* @__PURE__ */ t(
|
|
30
|
-
|
|
29
|
+
h,
|
|
31
30
|
{
|
|
32
31
|
color: "text.secondary",
|
|
33
32
|
sx: { textAlign: "center", textWrap: "wrap" },
|
|
34
33
|
variant: "Paragraph",
|
|
35
|
-
children:
|
|
34
|
+
children: p
|
|
36
35
|
}
|
|
37
36
|
),
|
|
38
|
-
|
|
37
|
+
m === "buttons" && (r || e) && /* @__PURE__ */ n(
|
|
39
38
|
i,
|
|
40
39
|
{
|
|
41
40
|
className: "buttons-footer",
|
|
42
41
|
sx: {
|
|
43
42
|
gap: 12,
|
|
44
|
-
mt: 48
|
|
45
|
-
...x
|
|
43
|
+
mt: 48
|
|
46
44
|
},
|
|
47
45
|
children: [
|
|
48
46
|
r && /* @__PURE__ */ t(
|
|
@@ -70,5 +68,5 @@ const j = ({
|
|
|
70
68
|
}
|
|
71
69
|
);
|
|
72
70
|
export {
|
|
73
|
-
|
|
71
|
+
S as E
|
|
74
72
|
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsxs as r, jsx as i, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import x from "@mui/material/Box";
|
|
3
|
+
import C from "@mui/material/Button";
|
|
4
|
+
import u from "@mui/material/Card";
|
|
5
|
+
import v from "@mui/material/CardHeader";
|
|
6
|
+
import b from "@mui/material/CardContent";
|
|
7
|
+
import W from "@mui/material/IconButton";
|
|
8
|
+
import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
|
|
9
|
+
import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
|
|
10
|
+
import { u as S } from "./useDimensions-27p2evRx.mjs";
|
|
11
|
+
import { W as j } from "./hooks-CE2TKk4a.mjs";
|
|
12
|
+
const w = ({
|
|
13
|
+
children: a,
|
|
14
|
+
className: m = "mx-cmn-mini-widget",
|
|
15
|
+
closeLabel: l,
|
|
16
|
+
contentStyles: d,
|
|
17
|
+
onClose: e,
|
|
18
|
+
onPrimaryCtaClick: o,
|
|
19
|
+
primaryCtaLabel: s = "",
|
|
20
|
+
subTitle: n = "",
|
|
21
|
+
sx: c = {},
|
|
22
|
+
title: t = ""
|
|
23
|
+
}) => {
|
|
24
|
+
const [p, { height: h, width: f }] = S();
|
|
25
|
+
return /* @__PURE__ */ r(u, { className: m, sx: { ...c }, children: [
|
|
26
|
+
/* @__PURE__ */ i(
|
|
27
|
+
v,
|
|
28
|
+
{
|
|
29
|
+
sx: { pb: 8 },
|
|
30
|
+
title: /* @__PURE__ */ r(g, { children: [
|
|
31
|
+
/* @__PURE__ */ r(
|
|
32
|
+
x,
|
|
33
|
+
{
|
|
34
|
+
sx: {
|
|
35
|
+
alignItems: "center",
|
|
36
|
+
display: "grid",
|
|
37
|
+
gap: 2,
|
|
38
|
+
gridTemplateColumns: "1fr auto",
|
|
39
|
+
pb: 4
|
|
40
|
+
},
|
|
41
|
+
children: [
|
|
42
|
+
t && /* @__PURE__ */ i(I, { children: t }),
|
|
43
|
+
e ? /* @__PURE__ */ i(W, { "aria-label": l, onClick: e, size: "small", children: /* @__PURE__ */ i(z, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ i(C, { endIcon: /* @__PURE__ */ i(H, {}), onClick: o, size: "small", children: /* @__PURE__ */ i(B, { bold: !0, variant: "Small", children: s }) })
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
n && /* @__PURE__ */ i(M, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: n })
|
|
48
|
+
] })
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ i(b, { ref: p, sx: { p: 0, ...d }, children: /* @__PURE__ */ i(j, { availableHeight: h, availableWidth: f, children: a }) })
|
|
52
|
+
] });
|
|
53
|
+
}, G = w;
|
|
54
|
+
export {
|
|
55
|
+
G as M
|
|
56
|
+
};
|
|
@@ -23,7 +23,7 @@ import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
|
23
23
|
import { k as U, l as e1 } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
24
24
|
import { F as G1, M as K1 } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as $ } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as $ } from "../MiniWidgetContainer-DTQdRK-3.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
28
|
import { A as P1, a as Y1 } from "../AccountStore-XZqHTKm3.mjs";
|
|
29
29
|
const i1 = () => {
|
|
@@ -8,7 +8,7 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
10
|
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-DTQdRK-3.mjs";
|
|
12
12
|
import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
@@ -3,8 +3,7 @@ import { BubbleData } from '../BubbleChart';
|
|
|
3
3
|
interface BubbleProps {
|
|
4
4
|
bubble: BubbleData;
|
|
5
5
|
isDraggable: boolean;
|
|
6
|
-
isMiniWidget: boolean;
|
|
7
6
|
onClick?: (budget: DetailedBudget) => void;
|
|
8
7
|
}
|
|
9
|
-
export declare function Bubble({ bubble, isDraggable,
|
|
8
|
+
export declare function Bubble({ bubble, isDraggable, onClick }: BubbleProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
10
9
|
export {};
|