@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-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/dist/{Account-B4CDD-zq.mjs → Account-Cp30A3ad.mjs} +1 -1
- package/dist/AccountDetailsContent-C1HumFnW.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-NMx79DGs.mjs} +17 -17
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-CW6cIthP.mjs} +8 -8
- package/dist/AccountListItem-DxmAs98Z.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DUHkUyK4.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-CIDAPPPT.mjs} +30 -30
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-naOtJcwo.mjs} +22 -15
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +26 -26
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +60 -61
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
- package/dist/CurrencyInput-BrGvhgVK.mjs +85 -0
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-hi1cqrRk.mjs} +3 -3
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-Dqe5EqvA.mjs} +6 -6
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-dKZOZ2hM.mjs} +3 -3
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-CFeAJloA.mjs} +3 -3
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-i4OasOO-.mjs} +176 -158
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/Loader-BSWSYqvn.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-D_qVX5dN.mjs} +44 -44
- package/dist/{MiniWidgetContainer-CKzf_Ira.mjs → MiniWidgetContainer-D7MkHG15.mjs} +12 -12
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-8FFC1Bs0.mjs} +2 -2
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-BsWiYD94.mjs} +67 -67
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-62e0mU_3.mjs} +7 -7
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-Bhx56aA3.mjs} +76 -76
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-C6KH8JH4.mjs} +1 -1
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +1 -1
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CZzDb-7d.mjs} +10 -10
- package/dist/TransactionDetails-Duv1X9ec.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-DgLrYW4C.mjs} +3 -3
- package/dist/{User-BklmOUSd.mjs → User-DqNX2GAK.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +178 -177
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-B1Jzb4XA.mjs} +6 -6
- package/dist/accounts/index.es.js +45 -45
- package/dist/analytics/index.es.js +22 -22
- package/dist/budgets/index.es.js +266 -265
- package/dist/cashflow/index.es.js +155 -154
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +659 -394
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +438 -438
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +1 -1
- package/dist/finstrong/index.es.js +113 -113
- package/dist/goals/index.es.js +379 -385
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +3 -3
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +16 -16
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +29 -29
- package/dist/recurringtransactions/index.es.js +82 -82
- package/dist/settings/index.es.js +254 -254
- package/dist/spending/index.es.js +43 -43
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +150 -149
- package/dist/trends/index.es.js +297 -296
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +30 -30
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import { observer as b } from "mobx-react-lite";
|
|
3
|
-
import I from "@mui/material/Badge";
|
|
4
|
-
import l from "@mui/material/Box";
|
|
5
|
-
import v from "@mui/material/ListItem";
|
|
6
|
-
import C from "@mui/material/ListItemAvatar";
|
|
7
|
-
import S from "@mui/material/ListItemButton";
|
|
8
|
-
import _ from "@mui/material/ListItemText";
|
|
9
|
-
import { useTheme as L } from "@mui/material/styles";
|
|
10
|
-
import { InstitutionLogo as A, Text as o } from "@mxenabled/mxui";
|
|
11
|
-
import { Error as B } from "@mxenabled/mx-icons";
|
|
12
|
-
import { I as j } from "./IconBacking-DgT8DCeh.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-Cl4KHoSj.mjs";
|
|
14
|
-
import { u as $ } from "./useAccountDisplayName-CcIp09Xc.mjs";
|
|
15
|
-
import { u as k } from "./hooks-C41HAxM5.mjs";
|
|
16
|
-
import { C as d } from "./ConnectDrawer-DVp54lUH.mjs";
|
|
17
|
-
import { f as w } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
|
-
const E = {
|
|
19
|
-
gridRow: 1,
|
|
20
|
-
gridColumn: 1,
|
|
21
|
-
zIndex: 2
|
|
22
|
-
}, M = ({ size: t = 20 }) => /* @__PURE__ */ e(j, { size: t, children: /* @__PURE__ */ e(B, { color: "error", filled: !0, sx: { fontSize: t, ...E } }) }), z = ({
|
|
23
|
-
account: t,
|
|
24
|
-
onRowClick: n,
|
|
25
|
-
listItemProps: c,
|
|
26
|
-
shouldShowConnectionStatus: p = !1
|
|
27
|
-
}) => {
|
|
28
|
-
const u = L(), f = $(t), { accounts: i } = k(), { firstSubtitle: h, firstValue: g, secondSubtitle: x, secondValue: y } = T(
|
|
29
|
-
t,
|
|
30
|
-
i
|
|
31
|
-
);
|
|
32
|
-
let s;
|
|
33
|
-
(t.connectionStatus === d.Error || t.connectionStatus === d.RequiresMfa) && (s = /* @__PURE__ */ e(M, { size: 16 }));
|
|
34
|
-
const a = /* @__PURE__ */ r(m, { children: [
|
|
35
|
-
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
|
|
36
|
-
I,
|
|
37
|
-
{
|
|
38
|
-
badgeContent: p ? s : void 0,
|
|
39
|
-
sx: {
|
|
40
|
-
"& .MuiBadge-badge": {
|
|
41
|
-
right: -1
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
children: /* @__PURE__ */ e(A, { alt: "MX", institutionGuid: t.institution_guid || "" })
|
|
45
|
-
}
|
|
46
|
-
) }),
|
|
47
|
-
/* @__PURE__ */ e(
|
|
48
|
-
_,
|
|
49
|
-
{
|
|
50
|
-
disableTypography: !0,
|
|
51
|
-
primary: /* @__PURE__ */ r(
|
|
52
|
-
o,
|
|
53
|
-
{
|
|
54
|
-
bold: !0,
|
|
55
|
-
color: t.is_hidden ? u.palette.text.secondary : void 0,
|
|
56
|
-
sx: { whiteSpace: "normal" },
|
|
57
|
-
variant: "body1",
|
|
58
|
-
children: [
|
|
59
|
-
`${f} ${t.account_number ? `*${t.account_number}` : ""}`,
|
|
60
|
-
" ",
|
|
61
|
-
t.is_hidden && !t.is_closed && i.is_hidden,
|
|
62
|
-
t.is_closed && i.is_closed
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
),
|
|
66
|
-
secondary: /* @__PURE__ */ r(m, { children: [
|
|
67
|
-
/* @__PURE__ */ r(l, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
68
|
-
/* @__PURE__ */ e(o, { variant: "caption", children: h }),
|
|
69
|
-
/* @__PURE__ */ e(o, { bold: !0, variant: "body2", children: w(g, "0,0.00") })
|
|
70
|
-
] }),
|
|
71
|
-
/* @__PURE__ */ r(l, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
72
|
-
/* @__PURE__ */ e(o, { variant: "caption", children: x }),
|
|
73
|
-
/* @__PURE__ */ e(o, { ml: "auto", variant: "caption", children: y })
|
|
74
|
-
] })
|
|
75
|
-
] })
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
] });
|
|
79
|
-
return /* @__PURE__ */ e(
|
|
80
|
-
v,
|
|
81
|
-
{
|
|
82
|
-
sx: { backgroundColor: "background.paper", color: t.is_closed ? "grey.700" : "" },
|
|
83
|
-
...c,
|
|
84
|
-
children: n ? /* @__PURE__ */ e(S, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: a }) : a
|
|
85
|
-
}
|
|
86
|
-
);
|
|
87
|
-
}, Z = b(z);
|
|
88
|
-
export {
|
|
89
|
-
Z as A
|
|
90
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import i from "react";
|
|
3
|
-
import { css as k } from "@mxenabled/cssinjs";
|
|
4
|
-
import { v4 as q } from "uuid";
|
|
5
|
-
import { TextField as B, P as _ } from "@mxenabled/mxui";
|
|
6
|
-
import { g as L, C as O, f as y, M as C } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
7
|
-
import { u as W } from "./hooks-C41HAxM5.mjs";
|
|
8
|
-
import { b, g } from "./Localization-2MODESHW.mjs";
|
|
9
|
-
const J = ({
|
|
10
|
-
allowDecimals: s = !0,
|
|
11
|
-
ariaLabel: h,
|
|
12
|
-
amount: c,
|
|
13
|
-
amountIsRequired: M = !0,
|
|
14
|
-
copy: a,
|
|
15
|
-
customValidate: $ = () => !0,
|
|
16
|
-
errorText: S = "",
|
|
17
|
-
label: u,
|
|
18
|
-
minAmount: f = 1,
|
|
19
|
-
setAmount: x,
|
|
20
|
-
setHasValidInput: r,
|
|
21
|
-
...N
|
|
22
|
-
}) => {
|
|
23
|
-
const [l, t] = i.useState(""), { common: P } = W(), o = a || P.currency_input, R = j(), A = /^[0-9]*$/, E = /^(\d)*(\,)?([0-9]{1,2})?$/, T = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
24
|
-
let n;
|
|
25
|
-
const d = i.useRef(q());
|
|
26
|
-
if (s)
|
|
27
|
-
switch (L()) {
|
|
28
|
-
case O.CAD:
|
|
29
|
-
n = E;
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
n = T;
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
else
|
|
36
|
-
n = A;
|
|
37
|
-
i.useEffect(() => {
|
|
38
|
-
p(c);
|
|
39
|
-
}, [c]);
|
|
40
|
-
const p = (e) => {
|
|
41
|
-
!M && (e === "" || e === "." || e === ",") ? (t(""), r?.(!1)) : Number(e) < f ? (t(
|
|
42
|
-
b(
|
|
43
|
-
o.error_amount_must_be_equal_to,
|
|
44
|
-
y(f, "0")
|
|
45
|
-
)
|
|
46
|
-
), r?.(!1)) : Number(e) > C ? (t(
|
|
47
|
-
b(
|
|
48
|
-
o.error_amount_must_be_less_than_or_equal_to,
|
|
49
|
-
y(C, s ? "0,0.00" : "0,0", Math.floor)
|
|
50
|
-
)
|
|
51
|
-
), r?.(!1)) : e.toString().match(n) ? $() ? (t(""), r?.(!0)) : (t(S), r?.(!1)) : (t(o.error_amount_is_invalid), r?.(!1)), x(e.toString());
|
|
52
|
-
};
|
|
53
|
-
return /* @__PURE__ */ m(
|
|
54
|
-
B,
|
|
55
|
-
{
|
|
56
|
-
InputProps: {
|
|
57
|
-
endAdornment: g().includes("fr-ca") ? /* @__PURE__ */ m(_, { children: "$" }) : void 0,
|
|
58
|
-
startAdornment: g().includes("fr-ca") ? void 0 : /* @__PURE__ */ m(_, { children: "$" })
|
|
59
|
-
},
|
|
60
|
-
className: `mx-cmn-currency-input ${R}`,
|
|
61
|
-
error: !!l,
|
|
62
|
-
helperText: l,
|
|
63
|
-
hiddenLabel: !u,
|
|
64
|
-
id: `currency-input-${d.current}`,
|
|
65
|
-
inputMode: s ? "decimal" : "numeric",
|
|
66
|
-
inputProps: {
|
|
67
|
-
"aria-label": h || o.enter_amount,
|
|
68
|
-
noValidate: !0,
|
|
69
|
-
pattern: "[0-9]*"
|
|
70
|
-
},
|
|
71
|
-
label: u,
|
|
72
|
-
name: `currency-input-${d.current}`,
|
|
73
|
-
onChange: (e) => p(e.target.value),
|
|
74
|
-
value: c,
|
|
75
|
-
...N
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
}, j = () => k({
|
|
79
|
-
"& .MuiInputBase-adornedStart > .p": {
|
|
80
|
-
marginRight: 4
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
export {
|
|
84
|
-
J as C
|
|
85
|
-
};
|
package/dist/Loader-Ckqi9Rx6.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import s from "@mui/material/CircularProgress";
|
|
3
|
-
import c from "@mui/material/Stack";
|
|
4
|
-
import { Text as i } from "@mxenabled/mxui";
|
|
5
|
-
const f = ({ height: t = 250, label: r = "", size: e = 32 }) => /* @__PURE__ */ n(
|
|
6
|
-
c,
|
|
7
|
-
{
|
|
8
|
-
alignItems: "center",
|
|
9
|
-
gap: 32,
|
|
10
|
-
height: t,
|
|
11
|
-
justifyContent: "center",
|
|
12
|
-
sx: { backgroundColor: "background.paper" },
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ o(s, { size: e }),
|
|
15
|
-
r && /* @__PURE__ */ o(i, { children: r })
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
f as L
|
|
21
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { observer as i } from "mobx-react-lite";
|
|
3
|
-
import s from "@mui/material/Box";
|
|
4
|
-
import p from "@mui/material/IconButton";
|
|
5
|
-
import n from "@mui/material/InputAdornment";
|
|
6
|
-
import { TextField as d, Icon as a } from "@mxenabled/mxui";
|
|
7
|
-
const h = ({
|
|
8
|
-
ariaLabel: c = "Search",
|
|
9
|
-
cancelAriaLabel: t = "Cancel Search",
|
|
10
|
-
onChange: o,
|
|
11
|
-
placeholder: l = "Search",
|
|
12
|
-
searchValue: e
|
|
13
|
-
}) => /* @__PURE__ */ r(s, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ r(
|
|
14
|
-
d,
|
|
15
|
-
{
|
|
16
|
-
InputProps: {
|
|
17
|
-
startAdornment: /* @__PURE__ */ r(n, { position: "start", children: /* @__PURE__ */ r(a, { color: "disabled", name: "search", size: 26 }) }),
|
|
18
|
-
endAdornment: /* @__PURE__ */ r(n, { position: "end", sx: { p: 0 }, children: e ? /* @__PURE__ */ r(
|
|
19
|
-
p,
|
|
20
|
-
{
|
|
21
|
-
"aria-label": t,
|
|
22
|
-
className: "mx-cat-cancel-search-button",
|
|
23
|
-
color: "primary",
|
|
24
|
-
onClick: () => o(""),
|
|
25
|
-
children: /* @__PURE__ */ r(a, { name: "cancel", size: 24 })
|
|
26
|
-
}
|
|
27
|
-
) : null })
|
|
28
|
-
},
|
|
29
|
-
"aria-label": c,
|
|
30
|
-
name: "search",
|
|
31
|
-
onChange: (m) => o(m.target.value),
|
|
32
|
-
placeholder: l,
|
|
33
|
-
sx: { bgcolor: "background.paper", width: "100%" },
|
|
34
|
-
value: e
|
|
35
|
-
}
|
|
36
|
-
) }), g = i(h);
|
|
37
|
-
export {
|
|
38
|
-
g as S
|
|
39
|
-
};
|