@mx-cartographer/experiences 9.0.0-alpha.al10 → 9.0.0-alpha.al11
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 +12 -0
- 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-DDkzSdjL.mjs +1298 -0
- package/dist/{WidgetContainer-CmkRiOTH.mjs → WidgetContainer-DNuz_s7W.mjs} +1 -1
- package/dist/accounts/index.es.js +7 -7
- package/dist/budgets/index.es.js +8 -8
- package/dist/cashflow/index.es.js +5 -5
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +175 -182
- package/dist/common/utils/Theme.d.ts +2 -7
- package/dist/core/types/AppData.d.ts +0 -14
- package/dist/core/types/Client.d.ts +13 -20
- package/dist/dashboard/index.es.js +1 -1
- package/dist/debts/index.es.js +5 -5
- package/dist/finstrong/index.es.js +8 -8
- 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 +1 -1
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -1
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +2 -1
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -1
- package/dist/microinsights/carousel/BeatList.d.ts +1 -1
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +2 -0
- 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 +7 -7
- package/package.json +4 -4
- package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
- package/dist/ViewMoreMicroCard-DoVNDQVG.mjs +0 -1294
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [9.0.0] - 05-13-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.3] - 05-11-2026
|
|
10
|
+
|
|
11
|
+
- **UPDATED** - Adds suppport for `cardStyle` batcave setting for Insights Micro Widget
|
|
12
|
+
|
|
1
13
|
## [8.2.2] - 05-08-2026
|
|
2
14
|
|
|
3
15
|
- **UPDATED** - Narrowed microinsights component prop types and removed unused type exports
|
|
@@ -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
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import l from "@mui/material/ListItem";
|
|
3
3
|
import f from "@mui/material/ListItemButton";
|
|
4
4
|
import g from "@mui/material/ListItemIcon";
|
|
5
5
|
import d from "@mui/material/ListItemText";
|
|
6
|
-
import
|
|
6
|
+
import a from "@mui/material/Stack";
|
|
7
7
|
import p from "@mui/material/Switch";
|
|
8
8
|
import { Text as s } from "@mxenabled/mxui";
|
|
9
9
|
import I from "@mui/material/ListItemAvatar";
|
|
10
|
-
const
|
|
10
|
+
const S = ({
|
|
11
11
|
avatar: r,
|
|
12
12
|
endIcon: o,
|
|
13
13
|
isChecked: c,
|
|
@@ -27,9 +27,9 @@ const C = ({
|
|
|
27
27
|
"& .MuiListItemSecondaryAction-root": { right: o ? 64 : 24 },
|
|
28
28
|
"& .MuiListItemButton-root": { pr: 24 }
|
|
29
29
|
},
|
|
30
|
-
children: /* @__PURE__ */
|
|
30
|
+
children: /* @__PURE__ */ m(f, { onClick: i ? void 0 : () => e(), children: [
|
|
31
31
|
r && /* @__PURE__ */ t(I, { children: r }),
|
|
32
|
-
/* @__PURE__ */ t(d, { slotProps: { primary: { fontWeight: 400 } }, children: /* @__PURE__ */ t(
|
|
32
|
+
/* @__PURE__ */ t(d, { slotProps: { primary: { fontWeight: 400 } }, children: /* @__PURE__ */ t(a, { alignItems: "center", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ m(a, { sx: { width: "100%" }, children: [
|
|
33
33
|
/* @__PURE__ */ t(
|
|
34
34
|
s,
|
|
35
35
|
{
|
|
@@ -78,8 +78,7 @@ const C = ({
|
|
|
78
78
|
secondary: {
|
|
79
79
|
color: "text.secondary",
|
|
80
80
|
maxWidth: "calc(100% - 60px)",
|
|
81
|
-
variant: "caption"
|
|
82
|
-
whiteSpace: "wrap"
|
|
81
|
+
variant: "caption"
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
}
|
|
@@ -87,6 +86,6 @@ const C = ({
|
|
|
87
86
|
}
|
|
88
87
|
);
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
S as T,
|
|
91
90
|
W as a
|
|
92
91
|
};
|
|
@@ -22,7 +22,7 @@ import Xe from "@mui/material/FormGroup";
|
|
|
22
22
|
import ue from "@mui/material/IconButton";
|
|
23
23
|
import $e from "@mui/material/TextField";
|
|
24
24
|
import { u as Ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
25
|
-
import { b as Ze, T as Je, u as ne, O as C, c as et, d as tt, E as at, C as nt } from "./EmbeddedCard-
|
|
25
|
+
import { b as Ze, T as Je, u as ne, O as C, c as et, d as tt, E as at, C as nt } from "./EmbeddedCard-DPwJjqMH.mjs";
|
|
26
26
|
import { u as O, h as R, o as rt, d as ot, l as we, g as G, b as it, C as st } from "./hooks-BaO_gOI6.mjs";
|
|
27
27
|
import { A as Y } from "./Analytics-CzGzz_sE.mjs";
|
|
28
28
|
import lt from "@mui/material/ToggleButton";
|
|
@@ -37,15 +37,15 @@ import { BarChart as mt } from "@mui/x-charts";
|
|
|
37
37
|
import { L as _t } from "./Loader-CxeBwuPG.mjs";
|
|
38
38
|
import Q from "@mui/material/ListItemButton";
|
|
39
39
|
import X from "@mui/material/ListItemIcon";
|
|
40
|
-
import { b as Fe } from "./CategorySelectorDrawer-
|
|
40
|
+
import { b as Fe } from "./CategorySelectorDrawer-CmaDLhnf.mjs";
|
|
41
41
|
import { D as ae } from "./Dialog-CwWc0AbH.mjs";
|
|
42
|
-
import { D as _e } from "./Drawer-
|
|
42
|
+
import { D as _e } from "./Drawer-BXqqBMxg.mjs";
|
|
43
43
|
import { b as gt, C as pt, a as ht } from "./CurrencyDialog-DumQCTPO.mjs";
|
|
44
44
|
import Pe from "@mui/material/InputAdornment";
|
|
45
45
|
import yt from "@mui/material/Checkbox";
|
|
46
46
|
import { j as Tt } from "./DateUtil-Bhq59ZVg.mjs";
|
|
47
47
|
import Ne from "@mui/material/Grid";
|
|
48
|
-
import { C as bt } from "./CurrencyInput-
|
|
48
|
+
import { C as bt } from "./CurrencyInput-adTIRtL3.mjs";
|
|
49
49
|
import Ct from "@mui/material/Switch";
|
|
50
50
|
var de = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(de || {}), ie = /* @__PURE__ */ ((t) => (t[t.MerchantBudget = 0] = "MerchantBudget", t[t.SplitTransaction = 1] = "SplitTransaction", t[t.HideTransaction = 2] = "HideTransaction", t[t.MerchantLogo = 3] = "MerchantLogo", t))(ie || {});
|
|
51
51
|
const ft = [
|
|
@@ -1058,14 +1058,16 @@ const It = w(({ transaction: t }) => {
|
|
|
1058
1058
|
return /* @__PURE__ */ e(V, { className: "mx-txn-tag-manager-search", px: 24, py: 16, children: /* @__PURE__ */ e(
|
|
1059
1059
|
Le,
|
|
1060
1060
|
{
|
|
1061
|
-
InputProps: {
|
|
1062
|
-
startAdornment: /* @__PURE__ */ e(Pe, { position: "start", children: /* @__PURE__ */ e(ct, { color: "disabled" }) }),
|
|
1063
|
-
endAdornment: /* @__PURE__ */ e(Pe, { position: "end", sx: { padding: 0 }, children: n ? r : null })
|
|
1064
|
-
},
|
|
1065
1061
|
"aria-label": s.search_aria,
|
|
1066
1062
|
name: "search",
|
|
1067
1063
|
onChange: (o) => t(o.target.value),
|
|
1068
1064
|
placeholder: s.search_placeholder,
|
|
1065
|
+
slotProps: {
|
|
1066
|
+
input: {
|
|
1067
|
+
startAdornment: /* @__PURE__ */ e(Pe, { position: "start", children: /* @__PURE__ */ e(ct, { color: "disabled" }) }),
|
|
1068
|
+
endAdornment: /* @__PURE__ */ e(Pe, { position: "end", sx: { padding: 0 }, children: n ? r : null })
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1069
1071
|
sx: { bgcolor: "background.paper", width: "100%" },
|
|
1070
1072
|
value: n
|
|
1071
1073
|
}
|