@mx-cartographer/experiences 9.0.0-alpha.al9 → 9.0.0
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 +20 -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-DJaIOxbb.mjs → AccountListItem-BDXHs4tV.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DVGuR3Ab.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +2 -2
- package/dist/{ConnectCard-CdXeMN22.mjs → ConnectCard-CCep7Zqe.mjs} +1 -1
- package/dist/{ConnectDrawer-CPsSusKE.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DWPOixe6.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
- package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
- package/dist/{Drawer-BNu88yNt.mjs → Drawer-BXqqBMxg.mjs} +29 -32
- package/dist/{EmbeddedCard-wENckl64.mjs → EmbeddedCard-DPwJjqMH.mjs} +1 -1
- package/dist/{ExportCsvAction-BkABqw52.mjs → ExportCsvAction-Bw02ZJEj.mjs} +1 -1
- package/dist/{Help-CNjuW34A.mjs → Help-DJ8PrVHX.mjs} +2 -2
- package/dist/{ManageIncome-D2hEHycu.mjs → ManageIncome-B1JfqslT.mjs} +5 -5
- package/dist/{NotificationSettings-CNsh4U5U.mjs → NotificationSettings-6p-h5phZ.mjs} +3 -3
- package/dist/{OriginalBalanceAction-BxOhy_ru.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +1 -1
- package/dist/{RecurringSettings-Qqila2ld.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/{Select-KwuuoKM-.mjs → Select-BFt-HD-L.mjs} +15 -15
- package/dist/{ToggleListItem-BTDtw-N4.mjs → ToggleListItem-Dl1lXNwj.mjs} +7 -8
- package/dist/{TransactionDetails-CMUIncOc.mjs → TransactionDetails-C3dlAzYf.mjs} +10 -8
- package/dist/{ViewMoreMicroCard-DoVNDQVG.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +527 -526
- package/dist/{WidgetContainer-CmkRiOTH.mjs → WidgetContainer-DNuz_s7W.mjs} +1 -1
- package/dist/accounts/index.es.js +11 -11
- package/dist/budgets/index.es.js +8 -8
- package/dist/cashflow/index.es.js +6 -6
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +101 -100
- package/dist/common/utils/Theme.d.ts +4 -13
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/types/AppData.d.ts +0 -14
- package/dist/core/types/Client.d.ts +13 -20
- package/dist/dashboard/index.es.js +33 -33
- package/dist/debts/index.es.js +6 -6
- package/dist/finstrong/index.es.js +9 -9
- package/dist/goals/index.es.js +5 -5
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +206 -209
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/cards/InsightCard.d.ts +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -4
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -4
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -4
- 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 +12 -4
- package/dist/networth/index.es.js +3 -3
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +6 -6
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +35 -36
- package/dist/trends/index.es.js +8 -9
- package/package.json +4 -4
- package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## [9.0.0] - 05-14-2026
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - Upgraded core dependencies: React 18 to 19, MUI 5 to 7, MXUI 1 to 2, mx-icons 1 to 2, and Storybook 8.6.4 to 8.6.18
|
|
4
|
+
- **UPDATED** - Migrated all MUI components from deprecated props to the new slotProps/slots API
|
|
5
|
+
- **UPDATED** - Migrated MUI Grid components from v1 item/xs props to v2 size prop
|
|
6
|
+
- **UPDATED** - Replaced removed MXUI components with mx-icons equivalents
|
|
7
|
+
- **UPDATED** - Migrated theme palette references from border to neutral
|
|
8
|
+
|
|
9
|
+
## [8.2.5] - 05-14-2026
|
|
10
|
+
|
|
11
|
+
- **FIXED** - Payment due date logic in account details to ensure consistent UTC-based date rendering
|
|
12
|
+
|
|
13
|
+
## [8.2.4] - 05-13-2026
|
|
14
|
+
|
|
15
|
+
- **UPDATED** - Removed deprecated `variant` and `showBorder` props from Insights Micro Widget after `cardStyle` migration, reduce type duplication for micro insight `cards`
|
|
16
|
+
|
|
17
|
+
## [8.2.3] - 05-11-2026
|
|
18
|
+
|
|
19
|
+
- **UPDATED** - Adds suppport for `cardStyle` batcave setting for Insights Micro Widget
|
|
20
|
+
|
|
1
21
|
## [8.2.2] - 05-08-2026
|
|
2
22
|
|
|
3
23
|
- **UPDATED** - Narrowed microinsights component prop types and removed unused type exports
|
|
@@ -5,7 +5,7 @@ import { H3 as x, InstitutionLogo as D, Text as d, H2 as N } from "@mxenabled/mx
|
|
|
5
5
|
import { f as P } from "./NumberFormatting--XMeeBfr.mjs";
|
|
6
6
|
import p from "react";
|
|
7
7
|
import { G, d as f, l as O, f as R, a as v, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
8
|
-
import { g as L } from "./AccountFields-
|
|
8
|
+
import { g as L } from "./AccountFields-mwJ8NXsX.mjs";
|
|
9
9
|
import { A as i } from "./Account-BaJmiJAG.mjs";
|
|
10
10
|
import H from "@mui/material/Card";
|
|
11
11
|
import M from "@mui/material/CardContent";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { Text as
|
|
3
|
-
import { A as d, a as
|
|
4
|
-
import { i as
|
|
2
|
+
import { Text as h, Icon as b } from "@mxenabled/mxui";
|
|
3
|
+
import { A as d, a as F, P as T, b as A } from "./Account-BaJmiJAG.mjs";
|
|
4
|
+
import { i as D, u as g, a as O, b as C, c as N } from "./AccountUtils-T5_Odvos.mjs";
|
|
5
5
|
import { F as m } from "./Accounts-CseLC3lL.mjs";
|
|
6
|
-
import { f
|
|
6
|
+
import { f } from "./DateUtil-Bhq59ZVg.mjs";
|
|
7
7
|
import { f as s, i as o, a as S, b as I } from "./NumberFormatting--XMeeBfr.mjs";
|
|
8
8
|
import { b as i } from "./Localization-DnoVyBNK.mjs";
|
|
9
|
-
import { f, D as
|
|
9
|
+
import { f as c, D as y } from "./DateFormats-HudZ3Bjs.mjs";
|
|
10
10
|
const Y = (l, e) => {
|
|
11
11
|
const n = [
|
|
12
12
|
{
|
|
@@ -19,7 +19,7 @@ const Y = (l, e) => {
|
|
|
19
19
|
valueFormatter: (a) => a
|
|
20
20
|
}
|
|
21
21
|
];
|
|
22
|
-
if (
|
|
22
|
+
if (D(l)) {
|
|
23
23
|
n.unshift({
|
|
24
24
|
label: e.account_balance,
|
|
25
25
|
name: "balance",
|
|
@@ -30,7 +30,7 @@ const Y = (l, e) => {
|
|
|
30
30
|
const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
|
|
31
31
|
label: e.account_types[t],
|
|
32
32
|
value: Number(t),
|
|
33
|
-
icon: /* @__PURE__ */ p(b, { name:
|
|
33
|
+
icon: /* @__PURE__ */ p(b, { name: F[t] })
|
|
34
34
|
}));
|
|
35
35
|
n.push({
|
|
36
36
|
label: e.account_type,
|
|
@@ -42,10 +42,10 @@ const Y = (l, e) => {
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
if (l.account_type === d.PROPERTY) {
|
|
45
|
-
const a = Object.keys(
|
|
45
|
+
const a = Object.keys(T).filter((t) => Number(t)).map((t) => ({
|
|
46
46
|
label: e.property_types[t],
|
|
47
47
|
value: Number(t),
|
|
48
|
-
icon: /* @__PURE__ */ p(b, { name:
|
|
48
|
+
icon: /* @__PURE__ */ p(b, { name: A[t] })
|
|
49
49
|
}));
|
|
50
50
|
n.push({
|
|
51
51
|
label: e.property_type,
|
|
@@ -56,7 +56,7 @@ const Y = (l, e) => {
|
|
|
56
56
|
valueFormatter: (t) => a.find((r) => r.value === t)?.label
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
if (
|
|
59
|
+
if (g(l)) {
|
|
60
60
|
let a = e.interest_rate, t = "interest_rate";
|
|
61
61
|
l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), n.push({
|
|
62
62
|
event: "account_details_click_interest_rate",
|
|
@@ -68,7 +68,7 @@ const Y = (l, e) => {
|
|
|
68
68
|
valueFormatter: (r) => o(r) ? S(r / 100) : r
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
return
|
|
71
|
+
return O(l) && (n.push({
|
|
72
72
|
label: e.minimum_payment,
|
|
73
73
|
name: "minimum_payment",
|
|
74
74
|
placeholder: i(e.enter_value, e.minimum_payment),
|
|
@@ -79,8 +79,8 @@ const Y = (l, e) => {
|
|
|
79
79
|
name: "payment_due_at",
|
|
80
80
|
type: m.Date,
|
|
81
81
|
valueFormatter: (a) => {
|
|
82
|
-
const t = typeof a == "number" ?
|
|
83
|
-
return
|
|
82
|
+
const t = typeof a == "number" ? f(a) : a;
|
|
83
|
+
return c(t, y.MED_MONTH_SHORT_DAY_FULL_YEAR);
|
|
84
84
|
}
|
|
85
85
|
}) : n.push({
|
|
86
86
|
label: e.day_payment_due,
|
|
@@ -91,13 +91,13 @@ const Y = (l, e) => {
|
|
|
91
91
|
e.day_of_every_month,
|
|
92
92
|
I(a <= 31 ? a : new Date(a).getDate())
|
|
93
93
|
)
|
|
94
|
-
})),
|
|
94
|
+
})), C(l) && n.push({
|
|
95
95
|
label: e.credit_limit,
|
|
96
96
|
name: "credit_limit",
|
|
97
97
|
placeholder: i(e.enter_value, e.credit_limit),
|
|
98
98
|
type: m.Currency,
|
|
99
99
|
valueFormatter: (a) => s(a, "0,0.00")
|
|
100
|
-
}),
|
|
100
|
+
}), N(l) && n.push({
|
|
101
101
|
label: e.original_balance,
|
|
102
102
|
minAmount: 1,
|
|
103
103
|
name: "original_balance",
|
|
@@ -115,11 +115,11 @@ const Y = (l, e) => {
|
|
|
115
115
|
}
|
|
116
116
|
default:
|
|
117
117
|
if (a = e.current_balance, t = l.balance, l.minimum_payment && l.payment_due_at) {
|
|
118
|
-
const
|
|
119
|
-
r = /* @__PURE__ */ p(
|
|
118
|
+
const v = f(l.payment_due_at);
|
|
119
|
+
r = /* @__PURE__ */ p(h, { component: "strong", variant: "caption", children: i(
|
|
120
120
|
e.payment_due_on,
|
|
121
121
|
s(l.minimum_payment, "0,0.00"),
|
|
122
|
-
|
|
122
|
+
c(v, y.FULL_MONTH_DAY)
|
|
123
123
|
) });
|
|
124
124
|
} else l.credit_limit && (r = e.available_credit, _ = s(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
|
|
125
125
|
}
|
|
@@ -11,7 +11,7 @@ import { InstitutionLogo as B, Text as r } from "@mxenabled/mxui";
|
|
|
11
11
|
import { Error as j } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as T } from "./IconBacking-DgT8DCeh.mjs";
|
|
13
13
|
import { f as $ } from "./NumberFormatting--XMeeBfr.mjs";
|
|
14
|
-
import { g as k } from "./AccountFields-
|
|
14
|
+
import { g as k } from "./AccountFields-mwJ8NXsX.mjs";
|
|
15
15
|
import { u as E } from "./useAccountDisplayName-CFa_MrS6.mjs";
|
|
16
16
|
import { a as M, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
17
17
|
import { C as d } from "./Account-BaJmiJAG.mjs";
|
|
@@ -22,8 +22,8 @@ import oe from "@mui/material/Chip";
|
|
|
22
22
|
import v from "@mui/material/IconButton";
|
|
23
23
|
import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
24
24
|
import { L as k } from "./Loader-CxeBwuPG.mjs";
|
|
25
|
-
import { S as re } from "./SearchBox-
|
|
26
|
-
import { D as ne } from "./Drawer-
|
|
25
|
+
import { S as re } from "./SearchBox-Cpgu_gdO.mjs";
|
|
26
|
+
import { D as ne } from "./Drawer-BXqqBMxg.mjs";
|
|
27
27
|
const y = () => {
|
|
28
28
|
if (!E.useContext(K))
|
|
29
29
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
@@ -7,7 +7,7 @@ import p from "@mui/material/CardHeader";
|
|
|
7
7
|
import C from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as f, ChevronRight as h } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as a } from "@mxenabled/mxui";
|
|
10
|
-
import { C as x } from "./ConnectDrawer-
|
|
10
|
+
import { C as x } from "./ConnectDrawer-Cnjr3Ddg.mjs";
|
|
11
11
|
const H = ({ description: i, label: e, title: c }) => {
|
|
12
12
|
const [s, o] = n.useState(!1);
|
|
13
13
|
return /* @__PURE__ */ r(n.Fragment, { children: [
|
|
@@ -6,7 +6,7 @@ import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
|
|
|
6
6
|
import { b as a, a as c } from "./Connect-Dk6GZEsA.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
8
|
import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
9
|
-
import { D as y } from "./Drawer-
|
|
9
|
+
import { D as y } from "./Drawer-BXqqBMxg.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
loadWidgetProps: l,
|
|
12
12
|
onClose: m,
|
|
@@ -6,7 +6,7 @@ import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
|
6
6
|
import { C as a, a as c } from "./Connect-Dk6GZEsA.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
8
|
import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
9
|
-
import { D as x } from "./Drawer-
|
|
9
|
+
import { D as x } from "./Drawer-BXqqBMxg.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
onClose: l,
|
|
12
12
|
showConnectionsWidget: o,
|
|
@@ -2,13 +2,13 @@ import { jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { css as k } from "@mxenabled/cssinjs";
|
|
4
4
|
import { v4 as q } from "uuid";
|
|
5
|
-
import { TextField as B, P as
|
|
5
|
+
import { TextField as B, P as p } from "@mxenabled/mxui";
|
|
6
6
|
import { g as L, C as O, f as y, M as C } from "./NumberFormatting--XMeeBfr.mjs";
|
|
7
|
-
import { b, g } from "./Localization-DnoVyBNK.mjs";
|
|
7
|
+
import { b as h, g as b } from "./Localization-DnoVyBNK.mjs";
|
|
8
8
|
import { u as W } from "./hooks-BaO_gOI6.mjs";
|
|
9
9
|
const J = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
|
-
ariaLabel:
|
|
11
|
+
ariaLabel: g,
|
|
12
12
|
amount: c,
|
|
13
13
|
amountIsRequired: M = !0,
|
|
14
14
|
copy: a,
|
|
@@ -20,31 +20,31 @@ const J = ({
|
|
|
20
20
|
setHasValidInput: r,
|
|
21
21
|
...N
|
|
22
22
|
}) => {
|
|
23
|
-
const [
|
|
23
|
+
const [l, t] = i.useState(""), { common: R } = W(), n = a || R.currency_input, A = j(), E = /^[0-9]*$/, P = /^(\d)*(\,)?([0-9]{1,2})?$/, T = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
24
24
|
let s;
|
|
25
|
-
const
|
|
25
|
+
const d = i.useRef(q());
|
|
26
26
|
if (o)
|
|
27
27
|
switch (L()) {
|
|
28
28
|
case O.CAD:
|
|
29
|
-
s =
|
|
29
|
+
s = P;
|
|
30
30
|
break;
|
|
31
31
|
default:
|
|
32
32
|
s = T;
|
|
33
33
|
break;
|
|
34
34
|
}
|
|
35
35
|
else
|
|
36
|
-
s =
|
|
36
|
+
s = E;
|
|
37
37
|
i.useEffect(() => {
|
|
38
|
-
|
|
38
|
+
_(c);
|
|
39
39
|
}, [c]);
|
|
40
|
-
const
|
|
40
|
+
const _ = (e) => {
|
|
41
41
|
!M && (e === "" || e === "." || e === ",") ? (t(""), r?.(!1)) : Number(e) < f ? (t(
|
|
42
|
-
|
|
42
|
+
h(
|
|
43
43
|
n.error_amount_must_be_equal_to,
|
|
44
44
|
y(f, "0")
|
|
45
45
|
)
|
|
46
46
|
), r?.(!1)) : Number(e) > C ? (t(
|
|
47
|
-
|
|
47
|
+
h(
|
|
48
48
|
n.error_amount_must_be_less_than_or_equal_to,
|
|
49
49
|
y(C, o ? "0,0.00" : "0,0", Math.floor)
|
|
50
50
|
)
|
|
@@ -53,24 +53,26 @@ const J = ({
|
|
|
53
53
|
return /* @__PURE__ */ m(
|
|
54
54
|
B,
|
|
55
55
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
className: `mx-cmn-currency-input ${R}`,
|
|
61
|
-
error: !!d,
|
|
62
|
-
helperText: d,
|
|
56
|
+
className: `mx-cmn-currency-input ${A}`,
|
|
57
|
+
error: !!l,
|
|
58
|
+
helperText: l,
|
|
63
59
|
hiddenLabel: !u,
|
|
64
|
-
id: `currency-input-${
|
|
60
|
+
id: `currency-input-${d.current}`,
|
|
65
61
|
inputMode: o ? "decimal" : "numeric",
|
|
66
|
-
inputProps: {
|
|
67
|
-
"aria-label": h || n.enter_amount,
|
|
68
|
-
noValidate: !0,
|
|
69
|
-
pattern: o ? "[0-9]*\\.?[0-9]*" : "[0-9]*"
|
|
70
|
-
},
|
|
71
62
|
label: u,
|
|
72
|
-
name: `currency-input-${
|
|
73
|
-
onChange: (e) =>
|
|
63
|
+
name: `currency-input-${d.current}`,
|
|
64
|
+
onChange: (e) => _(e.target.value),
|
|
65
|
+
slotProps: {
|
|
66
|
+
input: {
|
|
67
|
+
endAdornment: b().includes("fr-ca") ? /* @__PURE__ */ m(p, { children: "$" }) : void 0,
|
|
68
|
+
startAdornment: b().includes("fr-ca") ? void 0 : /* @__PURE__ */ m(p, { children: "$" })
|
|
69
|
+
},
|
|
70
|
+
htmlInput: {
|
|
71
|
+
"aria-label": g || n.enter_amount,
|
|
72
|
+
noValidate: !0,
|
|
73
|
+
pattern: o ? "[0-9]*\\.?[0-9]*" : "[0-9]*"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
74
76
|
value: c,
|
|
75
77
|
...N
|
|
76
78
|
}
|
|
@@ -9,12 +9,12 @@ const $ = ({
|
|
|
9
9
|
footerStyles: a = {},
|
|
10
10
|
hasSecondaryAction: t = !0,
|
|
11
11
|
isPrimaryDisabled: i,
|
|
12
|
-
onPrimaryAction:
|
|
13
|
-
onSecondaryAction:
|
|
14
|
-
primaryButtonProps:
|
|
12
|
+
onPrimaryAction: e,
|
|
13
|
+
onSecondaryAction: o,
|
|
14
|
+
primaryButtonProps: l = {},
|
|
15
15
|
primaryColor: c = "primary",
|
|
16
16
|
primaryText: d = "Save",
|
|
17
|
-
secondaryColor:
|
|
17
|
+
secondaryColor: n = "primary",
|
|
18
18
|
secondaryText: p = "Cancel"
|
|
19
19
|
}) => /* @__PURE__ */ u(
|
|
20
20
|
h,
|
|
@@ -31,19 +31,19 @@ const $ = ({
|
|
|
31
31
|
t && /* @__PURE__ */ r(
|
|
32
32
|
b,
|
|
33
33
|
{
|
|
34
|
-
color:
|
|
35
|
-
onClick:
|
|
36
|
-
variant:
|
|
34
|
+
color: n,
|
|
35
|
+
onClick: o,
|
|
36
|
+
variant: e ? "outlined" : "contained",
|
|
37
37
|
children: p
|
|
38
38
|
}
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
e && /* @__PURE__ */ r(
|
|
41
41
|
b,
|
|
42
42
|
{
|
|
43
|
-
...
|
|
43
|
+
...l,
|
|
44
44
|
color: c,
|
|
45
45
|
disabled: i,
|
|
46
|
-
onClick:
|
|
46
|
+
onClick: e,
|
|
47
47
|
variant: "contained",
|
|
48
48
|
children: d
|
|
49
49
|
}
|
|
@@ -54,12 +54,12 @@ const $ = ({
|
|
|
54
54
|
ariaLabelClose: a,
|
|
55
55
|
onClose: t,
|
|
56
56
|
shouldShowBorders: i,
|
|
57
|
-
shouldShowShadow:
|
|
58
|
-
title:
|
|
57
|
+
shouldShowShadow: e,
|
|
58
|
+
title: o
|
|
59
59
|
}) => /* @__PURE__ */ u(
|
|
60
60
|
h,
|
|
61
61
|
{
|
|
62
|
-
"aria-labelledby": `${
|
|
62
|
+
"aria-labelledby": `${o?.replace(/\s+/g, "-").toLowerCase()}-header-title`,
|
|
63
63
|
direction: "row",
|
|
64
64
|
sx: {
|
|
65
65
|
alignItems: "center",
|
|
@@ -68,7 +68,7 @@ const $ = ({
|
|
|
68
68
|
borderBottom: 1,
|
|
69
69
|
borderColor: "divider"
|
|
70
70
|
},
|
|
71
|
-
...
|
|
71
|
+
...e && {
|
|
72
72
|
boxShadow: "0px 2px 8px 0px #6A73811F"
|
|
73
73
|
},
|
|
74
74
|
padding: "8px 8px 8px 8px"
|
|
@@ -87,9 +87,9 @@ const $ = ({
|
|
|
87
87
|
D,
|
|
88
88
|
{
|
|
89
89
|
bold: !0,
|
|
90
|
-
id: `${
|
|
90
|
+
id: `${o?.replace(/\s+/g, "-").toLowerCase()}-header-title`,
|
|
91
91
|
variant: "body1",
|
|
92
|
-
children:
|
|
92
|
+
children: o
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
}
|
|
@@ -101,15 +101,15 @@ const $ = ({
|
|
|
101
101
|
ariaLabelClose: a = "Close",
|
|
102
102
|
children: t,
|
|
103
103
|
footerStyles: i = {},
|
|
104
|
-
hasSecondaryAction:
|
|
105
|
-
id:
|
|
106
|
-
isOpen:
|
|
104
|
+
hasSecondaryAction: e = !0,
|
|
105
|
+
id: o,
|
|
106
|
+
isOpen: l,
|
|
107
107
|
isPrimaryDisabled: c,
|
|
108
108
|
onClose: d,
|
|
109
|
-
onPrimaryAction:
|
|
109
|
+
onPrimaryAction: n,
|
|
110
110
|
onSecondaryAction: p,
|
|
111
|
-
primaryButtonProps:
|
|
112
|
-
primaryColor:
|
|
111
|
+
primaryButtonProps: g,
|
|
112
|
+
primaryColor: m = "primary",
|
|
113
113
|
primaryText: w,
|
|
114
114
|
secondaryColor: f = "secondary",
|
|
115
115
|
secondaryText: k,
|
|
@@ -120,13 +120,10 @@ const $ = ({
|
|
|
120
120
|
}) => /* @__PURE__ */ r(
|
|
121
121
|
v,
|
|
122
122
|
{
|
|
123
|
-
id:
|
|
124
|
-
isOpen:
|
|
123
|
+
id: o,
|
|
124
|
+
isOpen: l,
|
|
125
125
|
onClose: d,
|
|
126
126
|
slotProps: {
|
|
127
|
-
root: {
|
|
128
|
-
"aria-modal": "true"
|
|
129
|
-
},
|
|
130
127
|
paper: {
|
|
131
128
|
"aria-labelledby": `${x?.replace(/\s+/g, "-").toLowerCase()}-header-title`
|
|
132
129
|
}
|
|
@@ -154,16 +151,16 @@ const $ = ({
|
|
|
154
151
|
}
|
|
155
152
|
),
|
|
156
153
|
/* @__PURE__ */ r(s, { height: "100%", overflow: "auto", children: t }),
|
|
157
|
-
|
|
154
|
+
n && /* @__PURE__ */ r(
|
|
158
155
|
$,
|
|
159
156
|
{
|
|
160
157
|
footerStyles: i,
|
|
161
|
-
hasSecondaryAction:
|
|
158
|
+
hasSecondaryAction: e,
|
|
162
159
|
isPrimaryDisabled: c,
|
|
163
|
-
onPrimaryAction:
|
|
160
|
+
onPrimaryAction: n,
|
|
164
161
|
onSecondaryAction: p ?? d,
|
|
165
|
-
primaryButtonProps:
|
|
166
|
-
primaryColor:
|
|
162
|
+
primaryButtonProps: g,
|
|
163
|
+
primaryColor: m,
|
|
167
164
|
primaryText: w,
|
|
168
165
|
secondaryColor: f,
|
|
169
166
|
secondaryText: k
|
|
@@ -25,7 +25,7 @@ import { A as gt } from "./Analytics-CzGzz_sE.mjs";
|
|
|
25
25
|
import At from "@mui/material/Tab";
|
|
26
26
|
import Nt from "@mui/material/Tabs";
|
|
27
27
|
import ft from "@mui/material/IconButton";
|
|
28
|
-
import { D as It } from "./Drawer-
|
|
28
|
+
import { D as It } from "./Drawer-BXqqBMxg.mjs";
|
|
29
29
|
import { ChartContainer as xt, ChartsReferenceLine as U, ChartsXAxis as St, BarPlot as Ot } from "@mui/x-charts";
|
|
30
30
|
import Dt from "@mui/material/Card";
|
|
31
31
|
const K = () => {
|
|
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
4
|
import { e as p } from "./TransactionUtils-BphBJBbU.mjs";
|
|
5
|
-
import { O as m } from "./EmbeddedCard-
|
|
5
|
+
import { O as m } from "./EmbeddedCard-DPwJjqMH.mjs";
|
|
6
6
|
import { g as x, h as _, u as C } from "./hooks-BaO_gOI6.mjs";
|
|
7
7
|
import { R as l } from "./ResponsiveButton-CC9F_Ezk.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
@@ -24,7 +24,7 @@ import { H as Lt, P as Dt } from "./Help-CkQTjORd.mjs";
|
|
|
24
24
|
import dt from "@mui/material/Alert";
|
|
25
25
|
import gt from "@mui/material/Snackbar";
|
|
26
26
|
import ut from "@mui/material/TextField";
|
|
27
|
-
import { D as j } from "./Drawer-
|
|
27
|
+
import { D as j } from "./Drawer-BXqqBMxg.mjs";
|
|
28
28
|
import { L as mt } from "./Loader-CxeBwuPG.mjs";
|
|
29
29
|
import Rt from "@mui/material/ListItemAvatar";
|
|
30
30
|
import Pt from "@mui/material/ListItem";
|
|
@@ -2836,7 +2836,7 @@ const kt = ({
|
|
|
2836
2836
|
secondary: n,
|
|
2837
2837
|
slotProps: {
|
|
2838
2838
|
primary: { style: { ...c }, variant: "body1" },
|
|
2839
|
-
secondary: { variant: "caption"
|
|
2839
|
+
secondary: { variant: "caption" }
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
2842
2842
|
),
|
|
@@ -18,8 +18,8 @@ import { endOfMonth as me } from "date-fns/endOfMonth";
|
|
|
18
18
|
import { parseISO as pe } from "date-fns/parseISO";
|
|
19
19
|
import V from "@mui/material/Button";
|
|
20
20
|
import { Delete as ye, Add as he, ReceiptLong as fe } from "@mxenabled/mx-icons";
|
|
21
|
-
import { T as ee, u as ge, S as Ce, a as be } from "./EmbeddedCard-
|
|
22
|
-
import { T as xe } from "./TransactionDetails-
|
|
21
|
+
import { T as ee, u as ge, S as Ce, a as be } from "./EmbeddedCard-DPwJjqMH.mjs";
|
|
22
|
+
import { T as xe } from "./TransactionDetails-C3dlAzYf.mjs";
|
|
23
23
|
import { addYears as j } from "date-fns/addYears";
|
|
24
24
|
import { getDayOfYear as Se } from "date-fns/getDayOfYear";
|
|
25
25
|
import { setDayOfYear as ve } from "date-fns/setDayOfYear";
|
|
@@ -27,14 +27,14 @@ import { AdapterDateFns as De } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
27
27
|
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
28
28
|
import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
29
29
|
import { u as w, i as Y, g as P, b as Ie, h as te, C as Re } from "./hooks-BaO_gOI6.mjs";
|
|
30
|
-
import { S as M, D as z } from "./Select-
|
|
31
|
-
import { D as N } from "./Drawer-
|
|
30
|
+
import { S as M, D as z } from "./Select-BFt-HD-L.mjs";
|
|
31
|
+
import { D as N } from "./Drawer-BXqqBMxg.mjs";
|
|
32
32
|
import { A as O } from "./Analytics-CzGzz_sE.mjs";
|
|
33
33
|
import { f as Ee, D as Le } from "./DateFormats-HudZ3Bjs.mjs";
|
|
34
34
|
import { D as Oe } from "./Dialog-CwWc0AbH.mjs";
|
|
35
35
|
import { formatISO as Te } from "date-fns/formatISO";
|
|
36
36
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
37
|
-
import { S as Ne } from "./SearchBox-
|
|
37
|
+
import { S as Ne } from "./SearchBox-Cpgu_gdO.mjs";
|
|
38
38
|
import { i as Me } from "./DateUtil-Bhq59ZVg.mjs";
|
|
39
39
|
import { C as q } from "./Category-DEKZGLYe.mjs";
|
|
40
40
|
import { T as ne } from "./TransactionUtils-BphBJBbU.mjs";
|
|
@@ -18,11 +18,11 @@ import { b as le } from "./Localization-DnoVyBNK.mjs";
|
|
|
18
18
|
import { b as re, f as de } from "./NumberFormatting--XMeeBfr.mjs";
|
|
19
19
|
import { u as k, A as T, C as S, d as J, g as me, a as q, b as he } from "./hooks-BaO_gOI6.mjs";
|
|
20
20
|
import { A as ue, N as b } from "./Notification-DTNYSd8P.mjs";
|
|
21
|
-
import { T as R, a as D } from "./ToggleListItem-
|
|
21
|
+
import { T as R, a as D } from "./ToggleListItem-Dl1lXNwj.mjs";
|
|
22
22
|
import { D as B } from "./Dialog-CwWc0AbH.mjs";
|
|
23
|
-
import { C as _e } from "./CurrencyInput-
|
|
23
|
+
import { C as _e } from "./CurrencyInput-adTIRtL3.mjs";
|
|
24
24
|
import { u as fe } from "./useScreenSize-mWpmnh5w.mjs";
|
|
25
|
-
import { D as K } from "./Drawer-
|
|
25
|
+
import { D as K } from "./Drawer-BXqqBMxg.mjs";
|
|
26
26
|
import pe from "@mui/material/Collapse";
|
|
27
27
|
import ge from "@mui/material/Card";
|
|
28
28
|
import ye from "@mui/material/CardContent";
|
|
@@ -5,7 +5,7 @@ import v from "@mui/material/TextField";
|
|
|
5
5
|
import { a as T, f as S } from "./NumberFormatting--XMeeBfr.mjs";
|
|
6
6
|
import { u as y, k as h } from "./hooks-BaO_gOI6.mjs";
|
|
7
7
|
import { L as b } from "./ListItemAction-CwspSmQi.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-adTIRtL3.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: n } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const a = { ...e, interest_rate: t };
|
|
@@ -7,7 +7,7 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import b from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-B1JfqslT.mjs";
|
|
11
11
|
import { u as _, i as A, g as f } from "./hooks-BaO_gOI6.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactionsUtil-B3rLEx_g.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-CzGzz_sE.mjs";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { observer as s } from "mobx-react-lite";
|
|
3
|
+
import m from "@mui/material/Box";
|
|
4
|
+
import p from "@mui/material/IconButton";
|
|
5
|
+
import t from "@mui/material/InputAdornment";
|
|
6
|
+
import { TextField as d, Icon as n } from "@mxenabled/mxui";
|
|
7
|
+
const x = ({
|
|
8
|
+
ariaLabel: c = "Search",
|
|
9
|
+
cancelAriaLabel: a = "Cancel Search",
|
|
10
|
+
onChange: e,
|
|
11
|
+
placeholder: i = "Search",
|
|
12
|
+
searchValue: r
|
|
13
|
+
}) => /* @__PURE__ */ o(m, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ o(
|
|
14
|
+
d,
|
|
15
|
+
{
|
|
16
|
+
"aria-label": c,
|
|
17
|
+
name: "search",
|
|
18
|
+
onChange: (l) => e(l.target.value),
|
|
19
|
+
placeholder: i,
|
|
20
|
+
slotProps: {
|
|
21
|
+
input: {
|
|
22
|
+
startAdornment: /* @__PURE__ */ o(t, { position: "start", children: /* @__PURE__ */ o(n, { name: "search", size: 26, sx: { color: "action.active" } }) }),
|
|
23
|
+
endAdornment: /* @__PURE__ */ o(t, { position: "end", sx: { p: 0 }, children: r ? /* @__PURE__ */ o(
|
|
24
|
+
p,
|
|
25
|
+
{
|
|
26
|
+
"aria-label": a,
|
|
27
|
+
className: "mx-cat-cancel-search-button",
|
|
28
|
+
color: "primary",
|
|
29
|
+
onClick: () => e(""),
|
|
30
|
+
children: /* @__PURE__ */ o(n, { name: "cancel", size: 24 })
|
|
31
|
+
}
|
|
32
|
+
) : null }),
|
|
33
|
+
sx: {
|
|
34
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
35
|
+
borderColor: "text.secondary",
|
|
36
|
+
opacity: 0.5
|
|
37
|
+
},
|
|
38
|
+
"& input::placeholder": { color: "text.secondary", opacity: 1 }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
sx: {
|
|
43
|
+
width: "100%"
|
|
44
|
+
},
|
|
45
|
+
value: r
|
|
46
|
+
}
|
|
47
|
+
) }), v = s(x);
|
|
48
|
+
export {
|
|
49
|
+
v as S
|
|
50
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as m, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import c from "@mui/material/Avatar";
|
|
3
3
|
import l from "@mui/material/ListItem";
|
|
4
4
|
import h from "@mui/material/ListItemAvatar";
|
|
@@ -9,47 +9,47 @@ import { Icon as s } from "@mxenabled/mxui";
|
|
|
9
9
|
import g from "@mui/material/MenuItem";
|
|
10
10
|
import x from "@mui/material/TextField";
|
|
11
11
|
import { ExpandMore as b } from "@mxenabled/mx-icons";
|
|
12
|
-
const
|
|
12
|
+
const G = ({ iconName: a, label: n, onClick: e, value: i }) => {
|
|
13
13
|
const o = /* @__PURE__ */ m(d, { children: [
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
14
|
+
/* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(c, { sx: { bgcolor: "neutral.light" }, variant: "rounded", children: /* @__PURE__ */ r(s, { name: a, sx: { color: "text.primary" } }) }) }),
|
|
15
|
+
/* @__PURE__ */ r(
|
|
16
16
|
f,
|
|
17
17
|
{
|
|
18
18
|
primary: n,
|
|
19
19
|
secondary: i,
|
|
20
20
|
slotProps: {
|
|
21
|
-
primary: { variant: "caption",
|
|
21
|
+
primary: { variant: "caption", fontWeight: "normal" },
|
|
22
22
|
secondary: { color: "text.default", variant: "body1", fontWeight: 600 }
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
)
|
|
26
26
|
] });
|
|
27
|
-
return
|
|
27
|
+
return e ? /* @__PURE__ */ r(l, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ m(p, { onClick: e, children: [
|
|
28
28
|
o,
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
] }) }) : /* @__PURE__ */
|
|
31
|
-
},
|
|
29
|
+
/* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(s, { name: "chevron_right", size: 24 }) })
|
|
30
|
+
] }) }) : /* @__PURE__ */ r(l, { disableGutters: !1, disablePadding: !1, children: o });
|
|
31
|
+
}, M = ({ label: a, onChange: n, options: e, value: i, ...o }) => /* @__PURE__ */ r(
|
|
32
32
|
x,
|
|
33
33
|
{
|
|
34
34
|
defaultValue: 0,
|
|
35
35
|
label: a,
|
|
36
|
-
onChange: (
|
|
37
|
-
n(Number(
|
|
36
|
+
onChange: (t) => {
|
|
37
|
+
n(Number(t.target.value));
|
|
38
38
|
},
|
|
39
39
|
select: !0,
|
|
40
40
|
slotProps: {
|
|
41
41
|
inputLabel: { shrink: !0 },
|
|
42
42
|
select: {
|
|
43
|
-
IconComponent: (
|
|
43
|
+
IconComponent: (t) => /* @__PURE__ */ r(b, { size: 20, sx: { mr: 4 }, ...t })
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
value: i,
|
|
47
47
|
variant: "outlined",
|
|
48
48
|
...o,
|
|
49
|
-
children:
|
|
49
|
+
children: e.map((t) => /* @__PURE__ */ r(g, { value: t.id, children: t.label }, t.id))
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
G as D,
|
|
54
|
+
M as S
|
|
55
55
|
};
|