@mx-cartographer/experiences 7.0.52-alpha.mega9 → 7.0.52-alpha.sms2
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 +0 -6
- package/dist/{EmptyState-Cu00ZWJL.mjs → EmptyState-C0lr9E5T.mjs} +5 -5
- package/dist/MiniWidgetContainer-CldJb_TI.mjs +55 -0
- package/dist/{ViewMoreMicroCard-BAz2NyEO.mjs → ViewMoreMicroCard-DfbJb5f9.mjs} +2 -2
- package/dist/accounts/index.es.js +1 -1
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/components/bubblechart/Mercury.d.ts +2 -3
- package/dist/budgets/index.es.js +666 -751
- package/dist/budgets/utils/BubblesSVG.d.ts +8 -25
- package/dist/cashflow/index.es.js +1 -1
- package/dist/common/components/EmptyState.d.ts +1 -1
- package/dist/common/components/MiniWidgetContainer.d.ts +0 -1
- package/dist/common/index.es.js +2 -2
- package/dist/goals/index.es.js +1 -1
- package/dist/investments/index.es.js +1 -1
- package/dist/microinsights/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 +3 -3
- package/package.json +2 -2
- package/dist/MiniWidgetContainer-DTQdRK-3.mjs +0 -56
|
@@ -32,28 +32,11 @@ export declare const getScale: (min: number, max: number) => d3.ScaleLinear<numb
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const simulate: (budgets: DetailedBudget[]) => d3.Simulation<BubbleData, undefined>;
|
|
34
34
|
export declare const getSmartScale: (count: number, height: number, maxValue: number, minValue: number, width: number) => d3.ScaleLinear<number, number, never>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
category_guid: string;
|
|
44
|
-
end_date?: number;
|
|
45
|
-
flags?: string[];
|
|
46
|
-
guid: string;
|
|
47
|
-
parent_guid?: string;
|
|
48
|
-
revision: number;
|
|
49
|
-
start_date: number;
|
|
50
|
-
transaction_total: number;
|
|
51
|
-
user_guid: string;
|
|
52
|
-
index?: number | undefined;
|
|
53
|
-
x?: number | undefined;
|
|
54
|
-
y?: number | undefined;
|
|
55
|
-
vx?: number | undefined;
|
|
56
|
-
vy?: number | undefined;
|
|
57
|
-
fx?: number | null | undefined;
|
|
58
|
-
fy?: number | null | undefined;
|
|
59
|
-
}[];
|
|
35
|
+
/**
|
|
36
|
+
* Simulate a compact layout for smaller viewports
|
|
37
|
+
* @param budgets Budget data
|
|
38
|
+
* @param height Height of the container
|
|
39
|
+
* @param width Width of the container
|
|
40
|
+
* @returns A D3 simulation for the compact layout
|
|
41
|
+
*/
|
|
42
|
+
export declare const simulateCompact: (budgets: DetailedBudget[], height: number, width: number) => d3.Simulation<BubbleData, undefined>;
|
|
@@ -16,7 +16,7 @@ import { L as se } from "../Loader-DUaFpDGv.mjs";
|
|
|
16
16
|
import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
18
18
|
import { b as X } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { M as Qe } from "../MiniWidgetContainer-
|
|
19
|
+
import { M as Qe } from "../MiniWidgetContainer-CldJb_TI.mjs";
|
|
20
20
|
import { R as Ve } from "../RecurringSettings-CHuS8Ik_.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import ye from "@mui/material/Tab";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material/styles';
|
|
3
3
|
interface EmptyWidgetProps {
|
|
4
|
-
icon: string;
|
|
5
4
|
iconColor?: string;
|
|
6
5
|
header: string;
|
|
6
|
+
icon: string;
|
|
7
7
|
onClick?: (buttonType: string) => void;
|
|
8
8
|
primaryButton?: string;
|
|
9
9
|
secondaryButton?: string;
|
package/dist/common/index.es.js
CHANGED
|
@@ -11,7 +11,7 @@ import { C as gs, b as ps, L as ms, a as _s } from "../User-DaJAQ09j.mjs";
|
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
14
|
-
import { M as xs } from "../MiniWidgetContainer-
|
|
14
|
+
import { M as xs } from "../MiniWidgetContainer-CldJb_TI.mjs";
|
|
15
15
|
import { A as vs, D as Ds, W as As } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
16
16
|
import { j as Ts, a as Bs, e as Is, n as Ns, A as Ms, f as ks, k as $s, d as Rs, m as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
17
17
|
import { C as Ys } from "../CurrencyInput-CRtdzs3o.mjs";
|
|
@@ -28,7 +28,7 @@ import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
|
28
28
|
import { d as it } from "../GoalStore-8dI95nSW.mjs";
|
|
29
29
|
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-8dI95nSW.mjs";
|
|
30
30
|
import { C as Sr } from "../CurrencyText-YUhH2caW.mjs";
|
|
31
|
-
import { E as wr } from "../EmptyState-
|
|
31
|
+
import { E as wr } from "../EmptyState-C0lr9E5T.mjs";
|
|
32
32
|
import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
|
|
33
33
|
import { T as ct } from "../TrendsStore-BKBnNQba.mjs";
|
|
34
34
|
import { L as Dr, S as Ar } from "../TrendsStore-BKBnNQba.mjs";
|
package/dist/goals/index.es.js
CHANGED
|
@@ -48,7 +48,7 @@ import { isValid as ut } from "date-fns/isValid";
|
|
|
48
48
|
import { AdapterDateFns as _t } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
49
49
|
import { DatePicker as pt } from "@mui/x-date-pickers";
|
|
50
50
|
import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
|
|
51
|
-
import { E as gt } from "../EmptyState-
|
|
51
|
+
import { E as gt } from "../EmptyState-C0lr9E5T.mjs";
|
|
52
52
|
import { A as Y, W as bt } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
53
53
|
import { L as Ke } from "../Loader-DUaFpDGv.mjs";
|
|
54
54
|
import ft from "@mui/material/Stack/Stack";
|
|
@@ -38,7 +38,7 @@ import { D as $e } from "../Drawer-kEE73B87.mjs";
|
|
|
38
38
|
import { DataGridPro as qe } from "@mui/x-data-grid-pro";
|
|
39
39
|
import { Stack as Ke } from "@mui/material";
|
|
40
40
|
import { L as De } from "../Loader-DUaFpDGv.mjs";
|
|
41
|
-
import { E as Ye } from "../EmptyState-
|
|
41
|
+
import { E as Ye } from "../EmptyState-C0lr9E5T.mjs";
|
|
42
42
|
const de = ({ sx: t = {} }) => {
|
|
43
43
|
const { investments: h } = E(), { onEvent: c } = be(), { setShowConnectionsWidget: u } = H();
|
|
44
44
|
return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-
|
|
1
|
+
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-DfbJb5f9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as AppStore,
|
|
4
4
|
e as BeatCard,
|
|
@@ -31,7 +31,7 @@ import { C as Me } from "../ConnectionsDrawer-BprLSCBH.mjs";
|
|
|
31
31
|
import He from "@mui/material/Collapse";
|
|
32
32
|
import V from "@mui/material/ListItemIcon";
|
|
33
33
|
import ie from "@mui/material/styles/useTheme";
|
|
34
|
-
import { E as Be } from "../EmptyState-
|
|
34
|
+
import { E as Be } from "../EmptyState-C0lr9E5T.mjs";
|
|
35
35
|
import { D as Y } from "../Drawer-kEE73B87.mjs";
|
|
36
36
|
const Oe = ({
|
|
37
37
|
chartData: t,
|
|
@@ -51,7 +51,7 @@ import O from "@mui/material/Box";
|
|
|
51
51
|
import { S as ke } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as xe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as V } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-CldJb_TI.mjs";
|
|
55
55
|
import { u as gt } from "../useDimensions-27p2evRx.mjs";
|
|
56
56
|
import { M as ht } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
57
57
|
const Q = {
|
|
@@ -18,7 +18,7 @@ import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../h
|
|
|
18
18
|
import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
21
|
+
import { M as St } from "../MiniWidgetContainer-CldJb_TI.mjs";
|
|
22
22
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
23
23
|
import { T as Tt, a as Mt } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
24
24
|
import Dt from "@mui/material/Collapse";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -20,14 +20,14 @@ import { C as ct } from "../CurrencyText-YUhH2caW.mjs";
|
|
|
20
20
|
import { c as Me } from "../Category-CevNQ03n.mjs";
|
|
21
21
|
import { b as lt } from "../Localization-2MODESHW.mjs";
|
|
22
22
|
import { H as be } from "../HeaderCell-DjuifqHJ.mjs";
|
|
23
|
-
import { T as A, b as dt } from "../ViewMoreMicroCard-
|
|
23
|
+
import { T as A, b as dt } from "../ViewMoreMicroCard-DfbJb5f9.mjs";
|
|
24
24
|
import { A as y, W as Ae } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
25
25
|
import { a as Re, T as ke } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
26
26
|
import { D as Ce } from "../Drawer-kEE73B87.mjs";
|
|
27
27
|
import { L as J } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { useTheme as Ne } from "@mui/material/styles";
|
|
29
29
|
import { L as Te } from "../LineChart-B2Y7zwMu.mjs";
|
|
30
|
-
import { M as ht } from "../MiniWidgetContainer-
|
|
30
|
+
import { M as ht } from "../MiniWidgetContainer-CldJb_TI.mjs";
|
|
31
31
|
import { subMonths as ut } from "date-fns";
|
|
32
32
|
import { TrendingUp as mt, TrendingDown as gt, MultilineChart as pt, ExpandLess as Ct, ExpandMore as ft } from "@mxenabled/mx-icons";
|
|
33
33
|
import { a as Tt, f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -45,7 +45,7 @@ import vt from "@mui/material/Paper";
|
|
|
45
45
|
import { b as Mt } from "../CategoryUtil-BR3H5i6n.mjs";
|
|
46
46
|
import { E as At } from "../ExportCsvAction-CBJAfyAw.mjs";
|
|
47
47
|
import { u as Rt } from "../useInsightsEnabled-DSnpkUq0.mjs";
|
|
48
|
-
import { E as kt } from "../EmptyState-
|
|
48
|
+
import { E as kt } from "../EmptyState-C0lr9E5T.mjs";
|
|
49
49
|
import { k as Nt } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
50
50
|
const We = ({ selectedTab: n, onTabChange: o }) => /* @__PURE__ */ e(
|
|
51
51
|
st,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "7.0.52-alpha.
|
|
3
|
+
"version": "7.0.52-alpha.sms2",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"author": "MX",
|
|
6
6
|
"license": "MIT",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"@mui/x-date-pickers": "^7.29.4",
|
|
186
186
|
"@mui/x-date-pickers-pro": "^7.29.4",
|
|
187
187
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
188
|
-
"@mxenabled/mx-icons": "
|
|
188
|
+
"@mxenabled/mx-icons": "1.5.2-alpha.sms1",
|
|
189
189
|
"@mxenabled/mxui": "^1.5.6",
|
|
190
190
|
"@mxenabled/web-widget-sdk": "^0.0.13",
|
|
191
191
|
"@tanstack/react-virtual": "^3.13.2",
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
};
|