@mx-cartographer/experiences 7.13.4 → 7.13.6

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.
@@ -18,7 +18,7 @@ import { parseISO as me } from "date-fns/parseISO";
18
18
  import J from "@mui/material/Button";
19
19
  import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
20
20
  import { T as V, u as fe, S as ge, a as Ce } from "./StatusIndicator-CIKUOoN_.mjs";
21
- import { T as be } from "./TransactionDetails-BmVM5f4V.mjs";
21
+ import { T as be } from "./TransactionDetails-C9DVd4nm.mjs";
22
22
  import { addYears as j } from "date-fns/addYears";
23
23
  import { getDayOfYear as xe } from "date-fns/getDayOfYear";
24
24
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
@@ -33,7 +33,7 @@ import { f as Ee, D as Le } from "./DateFormats-BMpMrZpW.mjs";
33
33
  import { D as Oe } from "./Dialog-Ck34yr-d.mjs";
34
34
  import { formatISO as Te } from "date-fns/formatISO";
35
35
  import { fromUnixTime as ke } from "date-fns/fromUnixTime";
36
- import { S as Ne } from "./SearchBox-B7km148n.mjs";
36
+ import { S as Ne } from "./SearchBox-CwDgvWVJ.mjs";
37
37
  import { h as Me } from "./DateUtil-wcYTmDRD.mjs";
38
38
  import { b as q } from "./Category-CevNQ03n.mjs";
39
39
  import { T as ne } from "./Transaction-CqjlF6SO.mjs";
@@ -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-DlV2oFD3.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-CYQVQmjx.mjs";
11
11
  import { u as _, i as A, g as f } from "./hooks-BxkfR-Ff.mjs";
12
12
  import { R as y, F as N } from "./RecurringTransactions-BOzBqfdg.mjs";
13
13
  import { A as m } from "./Analytics-BYItVAe-.mjs";
@@ -0,0 +1,48 @@
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
+ InputProps: {
17
+ startAdornment: /* @__PURE__ */ o(t, { position: "start", children: /* @__PURE__ */ o(n, { name: "search", size: 26, sx: { color: "action.active" } }) }),
18
+ endAdornment: /* @__PURE__ */ o(t, { position: "end", sx: { p: 0 }, children: r ? /* @__PURE__ */ o(
19
+ p,
20
+ {
21
+ "aria-label": a,
22
+ className: "mx-cat-cancel-search-button",
23
+ color: "primary",
24
+ onClick: () => e(""),
25
+ children: /* @__PURE__ */ o(n, { name: "cancel", size: 24 })
26
+ }
27
+ ) : null }),
28
+ sx: {
29
+ "& .MuiOutlinedInput-notchedOutline": {
30
+ borderColor: "text.secondary",
31
+ opacity: 0.5
32
+ },
33
+ "& input::placeholder": { color: "text.secondary", opacity: 1 }
34
+ }
35
+ },
36
+ "aria-label": c,
37
+ name: "search",
38
+ onChange: (l) => e(l.target.value),
39
+ placeholder: i,
40
+ sx: {
41
+ width: "100%"
42
+ },
43
+ value: r
44
+ }
45
+ ) }), I = s(x);
46
+ export {
47
+ I as S
48
+ };
@@ -27,7 +27,7 @@ import $ from "@mui/material/ListItemText";
27
27
  import { f as Me, D as ke } from "./DateFormats-BMpMrZpW.mjs";
28
28
  import Y from "@mui/material/ListItemButton";
29
29
  import z from "@mui/material/ListItemIcon";
30
- import { a as Pe } from "./CategorySelectorDrawer-DljLDG8i.mjs";
30
+ import { a as Pe } from "./CategorySelectorDrawer-gc41lfFZ.mjs";
31
31
  import { b as et, T as tt, u as J } from "./StatusIndicator-CIKUOoN_.mjs";
32
32
  import { D as X } from "./Dialog-Ck34yr-d.mjs";
33
33
  import { b as I } from "./Localization-CPkpIwIx.mjs";
@@ -11,7 +11,7 @@ import U from "@mui/material/ListSubheader";
11
11
  import P from "@mui/system/Stack";
12
12
  import { useTheme as M1, alpha as y1 } from "@mui/material/styles";
13
13
  import { u as S, A as x1 } from "../AccountDetailsHeader-D9gbTbUt.mjs";
14
- import { L as b1 } from "../LineChart-DBcA1UJI.mjs";
14
+ import { L as b1 } from "../LineChart-EAr5ox5U.mjs";
15
15
  import { g as w1, a as R1, b as S1 } from "../SpendingData-Bz1bCWAs.mjs";
16
16
  import { l as T1, u as y, d as k, g as I, h as m1, b as G, a as E1 } from "../hooks-BxkfR-Ff.mjs";
17
17
  import { A as N, g as L, N as p1 } from "../Account-BiB1F8lL.mjs";
@@ -56,7 +56,7 @@ import t3 from "@mui/material/Link";
56
56
  import n3 from "@mui/material/Paper";
57
57
  import { subDays as o3, startOfToday as i3, endOfToday as c3 } from "date-fns";
58
58
  import { T as a3 } from "../StatusIndicator-CIKUOoN_.mjs";
59
- import { T as s3 } from "../TransactionDetails-BmVM5f4V.mjs";
59
+ import { T as s3 } from "../TransactionDetails-C9DVd4nm.mjs";
60
60
  import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
61
61
  import { f as d1 } from "../NumberFormatting-QCaNwbjv.mjs";
62
62
  import { C as l3 } from "../ConnectionsDrawer-IA7vnv1J.mjs";
@@ -37,16 +37,16 @@ import De from "@mui/material/Tab";
37
37
  import Qe from "@mui/material/Tabs";
38
38
  import { e as et } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
39
39
  import { T as Ae } from "../StatusIndicator-CIKUOoN_.mjs";
40
- import { T as tt, c as ot } from "../TransactionDetails-BmVM5f4V.mjs";
40
+ import { T as tt, c as ot } from "../TransactionDetails-C9DVd4nm.mjs";
41
41
  import ve from "@mui/material/Card";
42
42
  import Te from "@mui/material/CardContent";
43
43
  import { S as Be } from "../StatusBar-BK_uYHAB.mjs";
44
44
  import { S as Ge } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
- import { u as nt, b as at } from "../CategorySelectorDrawer-DljLDG8i.mjs";
45
+ import { u as nt, b as at } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
46
46
  import Pe from "@mui/material/CardHeader";
47
47
  import { subDays as rt } from "date-fns/subDays";
48
48
  import st from "@mui/material/IconButton";
49
- import { M as it } from "../ManageIncome-DlV2oFD3.mjs";
49
+ import { M as it } from "../ManageIncome-CYQVQmjx.mjs";
50
50
  import { u as je } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
51
51
  import { W as ct } from "../WidgetContainer-D_iaToWJ.mjs";
52
52
  import { u as lt, g as dt, C as ut } from "../BudgetUtil-CLhRnCoX.mjs";
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-CPkpIwIx.mjs";
18
18
  import { M as Je } from "../MiniWidgetContainer-xLWSV6Wz.mjs";
19
19
  import { E as Ze } from "../EmptyState-DHAkGsjk.mjs";
20
20
  import { u as Fe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
21
- import { R as et } from "../RecurringSettings-CaESa69-.mjs";
21
+ import { R as et } from "../RecurringSettings-BoMIzZGw.mjs";
22
22
  import tt from "@mui/material/Tabs";
23
23
  import Ce from "@mui/material/Tab";
24
24
  import { getUnixTime as z } from "date-fns/getUnixTime";
@@ -36,7 +36,7 @@ import { alpha as it, keyframes as at } from "@mui/material/styles";
36
36
  import { DataGridPro as rt } from "@mui/x-data-grid-pro";
37
37
  import { T as _e } from "../TabContentContainer-j01JYR_7.mjs";
38
38
  import G from "@mui/material/Button";
39
- import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-DlV2oFD3.mjs";
39
+ import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-CYQVQmjx.mjs";
40
40
  import { D as Ge } from "../Drawer-Bbe4AMB1.mjs";
41
41
  import { subDays as Me } from "date-fns/subDays";
42
42
  import { endOfToday as mt } from "date-fns/endOfToday";
@@ -1,4 +1,4 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DljLDG8i.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
2
2
  import { C as g } from "../CategoryStore-FTxUbn0f.mjs";
3
3
  export {
4
4
  o as CategoryRow,
@@ -28,6 +28,7 @@ interface LineChartProps {
28
28
  customTooltipLabels?: TooltipLabel[][];
29
29
  datasets: LineChartDataset[];
30
30
  height?: number;
31
+ isCurrency?: boolean;
31
32
  isGraphClippingXAxis?: boolean;
32
33
  labels: LineChartLabel[];
33
34
  labelBackgroundColor?: string;
@@ -1,6 +1,7 @@
1
1
  import { LineChartLabel, TooltipLabel } from '../LineChart';
2
2
  interface CustomTooltipProps {
3
3
  customLabels?: TooltipLabel[][];
4
+ isCurrency?: boolean;
4
5
  labels?: LineChartLabel[];
5
6
  series: Array<{
6
7
  id?: string;
@@ -9,5 +10,5 @@ interface CustomTooltipProps {
9
10
  }>;
10
11
  valueFormatterString?: string;
11
12
  }
12
- export declare function CustomTooltip({ customLabels, labels, series, valueFormatterString, }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element | null;
13
+ export declare function CustomTooltip({ customLabels, isCurrency, labels, series, valueFormatterString, }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element | null;
13
14
  export {};
@@ -19,7 +19,7 @@ import { a as Xe, b as Je, C as ts, e as es, k as ss, h as rs, j as os, l as as
19
19
  import { C as is } from "../CurrencyInput-DuMktPu3.mjs";
20
20
  import { L as us } from "../Loader-D3rjKx72.mjs";
21
21
  import { R as hs } from "../ResponsiveButton-DZFp78fJ.mjs";
22
- import { S as gs } from "../SearchBox-B7km148n.mjs";
22
+ import { S as gs } from "../SearchBox-CwDgvWVJ.mjs";
23
23
  import { T as Y } from "../TransactionStore-DP5vipL2.mjs";
24
24
  import { S as _s } from "../TransactionStore-DP5vipL2.mjs";
25
25
  import { T as ms } from "../TabContentContainer-j01JYR_7.mjs";
@@ -14,7 +14,7 @@ import { L as U } from "../Loader-D3rjKx72.mjs";
14
14
  import h, { useState as Fn, useRef as Bn, useCallback as rt, useEffect as at } from "react";
15
15
  import P from "@mui/material/Button";
16
16
  import X from "@mui/material/Card";
17
- import { L as Ye } from "../LineChart-DBcA1UJI.mjs";
17
+ import { L as Ye } from "../LineChart-EAr5ox5U.mjs";
18
18
  import { C as St } from "../ConnectionsDrawer-IA7vnv1J.mjs";
19
19
  import { C as ae } from "../ConnectDrawer-C0wjwcJt.mjs";
20
20
  import le from "@mui/material/Tab";
@@ -56,10 +56,10 @@ import { formatISO as oo } from "date-fns/formatISO";
56
56
  import { fromUnixTime as ro } from "date-fns/fromUnixTime";
57
57
  import { startOfToday as st } from "date-fns/startOfToday";
58
58
  import { subDays as ao } from "date-fns/subDays";
59
- import { c as io, d as ct, S as so, i as co } from "../ManageIncome-DlV2oFD3.mjs";
59
+ import { c as io, d as ct, S as so, i as co } from "../ManageIncome-CYQVQmjx.mjs";
60
60
  import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
61
61
  import { AdapterDateFns as Ot } from "@mui/x-date-pickers/AdapterDateFnsV3";
62
- import { R as uo } from "../RecurringSettings-CaESa69-.mjs";
62
+ import { R as uo } from "../RecurringSettings-BoMIzZGw.mjs";
63
63
  import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
64
64
  import { format as mo } from "date-fns/format";
65
65
  import go from "@mui/lab/Timeline";
@@ -3630,6 +3630,7 @@ const zo = ({ total: t }) => {
3630
3630
  customLegendVariant: "caption",
3631
3631
  datasets: [u],
3632
3632
  height: 300,
3633
+ isCurrency: !1,
3633
3634
  isGraphClippingXAxis: !0,
3634
3635
  labelBackgroundColor: F.palette.border.dark,
3635
3636
  labelFontColor: F.palette.common.white,
@@ -14,7 +14,7 @@ import d from "@mui/material/Stack";
14
14
  import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
15
15
  import { c as v, u as w, b as C } from "../hooks-BxkfR-Ff.mjs";
16
16
  import { L as p } from "../Loader-D3rjKx72.mjs";
17
- import { S as N } from "../SearchBox-B7km148n.mjs";
17
+ import { S as N } from "../SearchBox-CwDgvWVJ.mjs";
18
18
  import { M as ne } from "../MerchantStore-BzGi4JAZ.mjs";
19
19
  const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
20
20
  height: f = "calc(100dvh - 120px)",
@@ -3,7 +3,7 @@ import { fromUnixTime as re } from "date-fns/fromUnixTime";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import ie from "@mui/material/Stack/Stack";
5
5
  import { useTheme as z } from "@mui/material/styles";
6
- import { L as ae } from "../LineChart-DBcA1UJI.mjs";
6
+ import { L as ae } from "../LineChart-EAr5ox5U.mjs";
7
7
  import { p as se, q as $, u as N, g as G, d as ce, b as Y } from "../hooks-BxkfR-Ff.mjs";
8
8
  import { u as q } from "../useScreenSize-B6JyS_Lj.mjs";
9
9
  import { f as le, D as de } from "../DateFormats-BMpMrZpW.mjs";
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
6
6
  import { startOfMonth as k } from "date-fns/startOfMonth";
7
7
  import { startOfToday as Q } from "date-fns/startOfToday";
8
8
  import { subDays as ee } from "date-fns/subDays";
9
- import { R as _e } from "../RecurringSettings-CaESa69-.mjs";
10
- import { M as Un } from "../RecurringSettings-CaESa69-.mjs";
9
+ import { R as _e } from "../RecurringSettings-BoMIzZGw.mjs";
10
+ import { M as Un } from "../RecurringSettings-BoMIzZGw.mjs";
11
11
  import { addMonths as He } from "date-fns/addMonths";
12
12
  import { subMonths as $e } from "date-fns/subMonths";
13
13
  import { isBefore as Be } from "date-fns/isBefore";
@@ -47,8 +47,8 @@ import dt from "@mui/material/ListSubheader";
47
47
  import ut from "@mui/material/ListItemAvatar";
48
48
  import mt from "@mui/material/ListItemButton";
49
49
  import pt from "@mui/material/ListItemText";
50
- import { b as gt } from "../ManageIncome-DlV2oFD3.mjs";
51
- import { c as Vn, M as qn, S as Zn } from "../ManageIncome-DlV2oFD3.mjs";
50
+ import { b as gt } from "../ManageIncome-CYQVQmjx.mjs";
51
+ import { c as Vn, M as qn, S as Zn } from "../ManageIncome-CYQVQmjx.mjs";
52
52
  import { f as E } from "../NumberFormatting-QCaNwbjv.mjs";
53
53
  import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
54
54
  import O from "@mui/material/Box";
@@ -35,7 +35,7 @@ import { L as ie } from "../Loader-D3rjKx72.mjs";
35
35
  import Ae from "@mui/material/List";
36
36
  import J from "@mui/material/Divider";
37
37
  import Ee from "@mui/material/ListSubheader";
38
- import { a as Re, u as Pe } from "../CategorySelectorDrawer-DljLDG8i.mjs";
38
+ import { a as Re, u as Pe } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
39
39
  import Ne from "@mui/material/ListItem";
40
40
  import Me from "@mui/material/ListItemButton";
41
41
  import Le from "@mui/material/ListItemIcon";
@@ -20,7 +20,7 @@ import St from "@mui/material/Button";
20
20
  import { useTheme as Tt } from "@mui/material";
21
21
  import { e as Mt } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
22
22
  import { T as Dt } from "../StatusIndicator-CIKUOoN_.mjs";
23
- import { T as xt } from "../TransactionDetails-BmVM5f4V.mjs";
23
+ import { T as xt } from "../TransactionDetails-C9DVd4nm.mjs";
24
24
  import vt from "@mui/material/Collapse";
25
25
  import wt from "@mui/material/Divider";
26
26
  import J from "@mui/material/List";
@@ -1,6 +1,6 @@
1
1
  import { T as wa } from "../TransactionApi-Ck5Ua-7F.mjs";
2
- import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-BmVM5f4V.mjs";
3
- import { B as Da, b as Ia } from "../TransactionDetails-BmVM5f4V.mjs";
2
+ import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-C9DVd4nm.mjs";
3
+ import { B as Da, b as Ia } from "../TransactionDetails-C9DVd4nm.mjs";
4
4
  import { T as E } from "../Transaction-CqjlF6SO.mjs";
5
5
  import { O as Na } from "../Transaction-CqjlF6SO.mjs";
6
6
  import { S as Z, D as Pe } from "../TransactionStore-DP5vipL2.mjs";
@@ -14,14 +14,14 @@ import m from "react";
14
14
  import { observer as S } from "mobx-react-lite";
15
15
  import We from "@mui/material/Paper";
16
16
  import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
17
- import { h as H, u as D, b as K, d as ne, l as Fe, a as Ue, g as Ke, o as ze } from "../hooks-BxkfR-Ff.mjs";
17
+ import { h as H, u as D, b as K, d as oe, l as Fe, a as Ue, g as Ke, o as ze } from "../hooks-BxkfR-Ff.mjs";
18
18
  import x from "@mui/material/Box";
19
19
  import { useTheme as qe } from "@mui/material/styles";
20
20
  import { Text as C, Icon as L, MerchantLogo as je, TextField as ee, P as Ye } from "@mxenabled/mxui";
21
21
  import { fromUnixTime as Xe } from "date-fns/fromUnixTime";
22
22
  import { f as Je, D as Qe } from "../DateFormats-BMpMrZpW.mjs";
23
23
  import w from "@mui/material/Stack";
24
- import { f as oe } from "../NumberFormatting-QCaNwbjv.mjs";
24
+ import { f as ne } from "../NumberFormatting-QCaNwbjv.mjs";
25
25
  import { L as z } from "../Loader-D3rjKx72.mjs";
26
26
  import { D as re } from "../Dialog-Ck34yr-d.mjs";
27
27
  import { endOfMonth as Ze } from "date-fns/endOfMonth";
@@ -29,13 +29,13 @@ import { getUnixTime as et } from "date-fns/getUnixTime";
29
29
  import { startOfMonth as tt } from "date-fns/startOfMonth";
30
30
  import { startOfToday as F } from "date-fns/startOfToday";
31
31
  import at from "@mui/material/styles/useTheme";
32
- import { C as nt } from "../ConnectDrawer-C0wjwcJt.mjs";
33
- import ot from "@mui/material/Divider";
32
+ import { C as ot } from "../ConnectDrawer-C0wjwcJt.mjs";
33
+ import nt from "@mui/material/Divider";
34
34
  import rt from "@mui/material/MenuItem";
35
35
  import it from "@mui/material/RadioGroup";
36
36
  import { ExpandMore as st } from "@mxenabled/mx-icons";
37
37
  import { C as ct } from "../CurrencyInput-DuMktPu3.mjs";
38
- import { a as lt, u as dt } from "../CategorySelectorDrawer-DljLDG8i.mjs";
38
+ import { a as lt, u as dt } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
39
39
  import { b as U } from "../Localization-CPkpIwIx.mjs";
40
40
  import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
41
41
  import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
@@ -43,22 +43,22 @@ import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
43
43
  import { u as pt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
44
44
  import { W as gt } from "../WidgetContainer-D_iaToWJ.mjs";
45
45
  import { A } from "../Analytics-BYItVAe-.mjs";
46
- import { S as ht } from "../SearchBox-B7km148n.mjs";
46
+ import { S as ht } from "../SearchBox-CwDgvWVJ.mjs";
47
47
  import { D as te } from "../Drawer-Bbe4AMB1.mjs";
48
48
  const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2", children: [
49
49
  `${t.row.account}`,
50
50
  t.row.number && ` | ${t.row.number}`
51
51
  ] }), Ct = (t) => {
52
- const { associatedBeats: o } = H(), { showInsights: r } = R(), { amount: a, transaction_type: l } = t.row, s = o.find((h) => h.associated_transaction_guid === t.row.guid), c = l === E.CREDIT;
52
+ const { associatedBeats: n } = H(), { showInsights: r } = R(), { amount: a, transaction_type: l } = t.row, s = n.find((h) => h.associated_transaction_guid === t.row.guid), c = l === E.CREDIT;
53
53
  return /* @__PURE__ */ _(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
54
- /* @__PURE__ */ _(C, { color: c ? "success.main" : "text.primary", variant: "body2", children: [
54
+ /* @__PURE__ */ _(C, { bold: c, color: c ? "success.main" : "text.primary", variant: "body2", children: [
55
55
  c ? "+" : "",
56
- oe(a, "0,0.00")
56
+ ne(a, "0,0.00")
57
57
  ] }),
58
58
  s && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "caption", children: s.short_title })
59
59
  ] });
60
60
  }, yt = (t) => {
61
- const { transactions: o } = D(), [r, a] = m.useState(!1);
61
+ const { transactions: n } = D(), [r, a] = m.useState(!1);
62
62
  return /* @__PURE__ */ _(
63
63
  w,
64
64
  {
@@ -71,13 +71,13 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
71
71
  width: "100%",
72
72
  children: [
73
73
  t.row.has_been_split && /* @__PURE__ */ e(L, { name: "call_split", size: 16 }),
74
- /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ? o.split_transaction_category_label : t.row.category }),
74
+ /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ? n.split_transaction_category_label : t.row.category }),
75
75
  !t.row.has_been_split && r && /* @__PURE__ */ e(L, { name: "edit", sx: { color: "action.active" } })
76
76
  ]
77
77
  }
78
78
  );
79
79
  }, bt = S(yt), Tt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: Je(Xe(t.row.date), Qe.MONTH_DAY) }), At = (t) => {
80
- const o = qe(), r = o.palette.mode === "dark", { transactions: a } = D(), { is_flagged: l, is_hidden: s, has_been_viewed: c, parent_guid: h } = t.row, f = !c && !!!h;
80
+ const n = qe(), r = n.palette.mode === "dark", { transactions: a } = D(), { is_flagged: l, is_hidden: s, has_been_viewed: c, parent_guid: h } = t.row, f = !c && !!!h;
81
81
  return /* @__PURE__ */ _(
82
82
  x,
83
83
  {
@@ -101,7 +101,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
101
101
  style: {
102
102
  display: "inline-block",
103
103
  height: 16,
104
- fill: o.palette.primary.light,
104
+ fill: n.palette.primary.light,
105
105
  verticalAlign: "middle",
106
106
  width: 16
107
107
  },
@@ -123,7 +123,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
123
123
  /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee })
124
124
  ] }), St = ({
125
125
  height: t = "100dvh",
126
- onCategoryClick: o,
126
+ onCategoryClick: n,
127
127
  onRowClick: r
128
128
  }) => {
129
129
  const { transactions: a } = D(), { isCopyLoaded: l } = K(), { isLoading: s, sortedTransactions: c } = H(), { clearExpandedSplits: h, toggleSplit: y } = R();
@@ -135,7 +135,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
135
135
  ...i
136
136
  })),
137
137
  [c]
138
- ), d = ({ row: { id: i, guid: g, has_been_split: v }, field: n }) => v ? y(i) : n === "category" ? o?.(g) : r?.(g), I = (i, g) => {
138
+ ), d = ({ row: { id: i, guid: g, has_been_split: v }, field: o }) => v ? y(i) : o === "category" ? n?.(g) : r?.(g), I = (i, g) => {
139
139
  g.key !== "Enter" && g.key !== " " || d(i);
140
140
  };
141
141
  if (!l)
@@ -215,7 +215,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
215
215
  }
216
216
  }
217
217
  ) });
218
- }, Dt = S(St), It = ({ copy: t, isOpen: o, onClose: r, onPrimaryAction: a }) => {
218
+ }, Dt = S(St), It = ({ copy: t, isOpen: n, onClose: r, onPrimaryAction: a }) => {
219
219
  const { common: l, transactions: s } = D(), { isCopyLoaded: c } = K();
220
220
  return c ? /* @__PURE__ */ _(
221
221
  re,
@@ -223,7 +223,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
223
223
  copy: {
224
224
  title: t.title
225
225
  },
226
- isOpen: o,
226
+ isOpen: n,
227
227
  onClose: r,
228
228
  onPrimaryAction: a,
229
229
  primaryText: s.add_manual_account,
@@ -235,25 +235,25 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
235
235
  }
236
236
  ) : /* @__PURE__ */ e(z, {});
237
237
  }, vt = S(It), Nt = () => {
238
- const { visibleAccounts: t } = ne(), { common: o, transactions: r } = D(), { manualTransaction: a, setIsAmountValid: l, updateManualTransaction: s } = R(), [c, h] = m.useState(""), [y, f] = m.useState(""), d = m.useMemo(
239
- () => t.filter((n) => n.is_manual),
238
+ const { visibleAccounts: t } = oe(), { common: n, transactions: r } = D(), { manualTransaction: a, setIsAmountValid: l, updateManualTransaction: s } = R(), [c, h] = m.useState(""), [y, f] = m.useState(""), d = m.useMemo(
239
+ () => t.filter((o) => o.is_manual),
240
240
  [t]
241
- ).map((n) => ({
242
- label: `${n.name} | ${oe(n.balance, "0,0.00")}`,
243
- value: n.guid
241
+ ).map((o) => ({
242
+ label: `${o.name} | ${ne(o.balance, "0,0.00")}`,
243
+ value: o.guid
244
244
  })), I = {
245
- error_amount_is_invalid: o.currency_input.error_amount_is_invalid,
246
- error_amount_must_be_equal_to: o.currency_input.error_amount_must_be_equal_to,
247
- error_amount_must_be_less_than_or_equal_to: o.currency_input.error_amount_must_be_less_than_or_equal_to,
248
- enter_amount: o.currency_input.enter_amount
249
- }, p = (n) => {
250
- h(n), s({ ...a, amount: Number(n) });
251
- }, i = (n, B) => {
245
+ error_amount_is_invalid: n.currency_input.error_amount_is_invalid,
246
+ error_amount_must_be_equal_to: n.currency_input.error_amount_must_be_equal_to,
247
+ error_amount_must_be_less_than_or_equal_to: n.currency_input.error_amount_must_be_less_than_or_equal_to,
248
+ enter_amount: n.currency_input.enter_amount
249
+ }, p = (o) => {
250
+ h(o), s({ ...a, amount: Number(o) });
251
+ }, i = (o, B) => {
252
252
  s({ ...a, transaction_type: Number(B) });
253
- }, g = (n) => {
254
- f(n), s({ ...a, payee: n, description: n });
255
- }, v = (n) => {
256
- s({ ...a, account_guid: n });
253
+ }, g = (o) => {
254
+ f(o), s({ ...a, payee: o, description: o });
255
+ }, v = (o) => {
256
+ s({ ...a, account_guid: o });
257
257
  };
258
258
  return /* @__PURE__ */ _(x, { className: "mx-txn-manual-transaction-details", children: [
259
259
  /* @__PURE__ */ _(w, { gap: 40, mx: 24, my: 32, children: [
@@ -309,7 +309,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
309
309
  {
310
310
  label: r.payee_title,
311
311
  name: "payee",
312
- onChange: (n) => g(n.target.value),
312
+ onChange: (o) => g(o.target.value),
313
313
  sx: { bgcolor: "background.paper" },
314
314
  value: y
315
315
  }
@@ -320,15 +320,15 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
320
320
  InputLabelProps: { shrink: !0 },
321
321
  SelectProps: { defaultValue: -1, IconComponent: st },
322
322
  label: r.manual_transaction_select_an_account,
323
- onChange: (n) => v(n.target.value),
323
+ onChange: (o) => v(o.target.value),
324
324
  placeholder: r.manual_transaction_select,
325
325
  select: !0,
326
326
  sx: { bgcolor: "background.paper" },
327
- children: d.map((n) => /* @__PURE__ */ e(rt, { value: n.value, children: n.label }, n.value))
327
+ children: d.map((o) => /* @__PURE__ */ e(rt, { value: o.value, children: o.label }, o.value))
328
328
  }
329
329
  )
330
330
  ] }),
331
- /* @__PURE__ */ e(ot, { light: !0 }),
331
+ /* @__PURE__ */ e(nt, { light: !0 }),
332
332
  /* @__PURE__ */ _(x, { bgcolor: "background.paper", children: [
333
333
  /* @__PURE__ */ e(Me, { transaction: a }),
334
334
  /* @__PURE__ */ e(Le, { transaction: a }),
@@ -336,21 +336,21 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
336
336
  /* @__PURE__ */ e(He, { transaction: a })
337
337
  ] })
338
338
  ] });
339
- }, Et = S(Nt), kt = ({ onClose: t, transaction: o }) => {
339
+ }, Et = S(Nt), kt = ({ onClose: t, transaction: n }) => {
340
340
  const { addOrUpdateTransactionRule: r, updateTransaction: a } = H(), { transactions: l } = D(), { categories: s } = Fe(), [c, h] = m.useState(""), y = m.useMemo(
341
341
  () => s.find((d) => d.guid === c),
342
342
  [c]
343
343
  ), f = async (d) => {
344
- await a({ ...o, category_guid: c }), d && await r(c, o), h(""), t();
344
+ await a({ ...n, category_guid: c }), d && await r(c, n), h(""), t();
345
345
  };
346
346
  return /* @__PURE__ */ _(x, { className: "mx-txn-edit-category-action", children: [
347
347
  /* @__PURE__ */ e(
348
348
  lt,
349
349
  {
350
- initialSelected: o.category_guid,
350
+ initialSelected: n.category_guid,
351
351
  onClose: t,
352
352
  onSelect: (d) => h(d),
353
- showDrawer: !!o,
353
+ showDrawer: !!n,
354
354
  title: l.actions_select_a_category
355
355
  }
356
356
  ),
@@ -360,7 +360,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
360
360
  copy: {
361
361
  title: U(
362
362
  l.actions_apply_to_all_transaction_types,
363
- o.description
363
+ n.description
364
364
  )
365
365
  },
366
366
  isOpen: !!c,
@@ -371,7 +371,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
371
371
  secondaryText: l.actions_this_time_only,
372
372
  children: /* @__PURE__ */ e(Ye, { variant: "subtitle1", children: U(
373
373
  l.actions_all_past_and_future,
374
- o.description,
374
+ n.description,
375
375
  y?.name
376
376
  ) })
377
377
  }
@@ -379,11 +379,11 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
379
379
  ] });
380
380
  }, Ot = S(kt), ae = 120, Mt = ({
381
381
  onBackClick: t,
382
- height: o = "100dvh",
382
+ height: n = "100dvh",
383
383
  showInsights: r = !1,
384
384
  sx: a = {}
385
385
  }) => {
386
- const { manualAccounts: l, refreshAccounts: s } = ne(), { is_mobile_webview: c, clientConfig: h, config: y } = Ue(), { setSearchValue: f } = dt(), { onEvent: d } = Ke(), { common: I, transactions: p } = D(), { displayedDateRange: i, isInitialized: g, selectedAccountGuids: v, setDisplayedDate: n } = K(), { isDesktop: B, isTablet: ie } = _t(), k = at(), {
386
+ const { manualAccounts: l, refreshAccounts: s } = oe(), { is_mobile_webview: c, clientConfig: h, config: y } = Ue(), { setSearchValue: f } = dt(), { onEvent: d } = Ke(), { common: I, transactions: p } = D(), { displayedDateRange: i, isInitialized: g, selectedAccountGuids: v, setDisplayedDate: o } = K(), { isDesktop: B, isTablet: ie } = _t(), k = at(), {
387
387
  addTransaction: se,
388
388
  filter: ce,
389
389
  isTransactionDataLoaded: P,
@@ -409,7 +409,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
409
409
  }), m.useEffect(() => {
410
410
  P || le().finally();
411
411
  const u = tt(F()), Oe = Ze(F());
412
- n(u, Oe), d(A.TRANSACTIONS_VIEW);
412
+ o(u, Oe), d(A.TRANSACTIONS_VIEW);
413
413
  }, []), m.useEffect(() => {
414
414
  g && q({
415
415
  accounts: W ? [W] : v,
@@ -424,7 +424,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
424
424
  );
425
425
  }, [g, j]);
426
426
  const T = X ? me.find((u) => u.guid === X) : void 0, Q = ge && !!O.payee && !!O.account_guid && !!O.category_guid, we = (u) => {
427
- pe(), n(u[0], u[1]);
427
+ pe(), o(u[0], u[1]);
428
428
  }, Se = (u) => {
429
429
  he(u), q({
430
430
  ...ce,
@@ -494,7 +494,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
494
494
  children: /* @__PURE__ */ e(
495
495
  Dt,
496
496
  {
497
- height: `calc(${o} - ${ae}px)`,
497
+ height: `calc(${n} - ${ae}px)`,
498
498
  onCategoryClick: (u) => {
499
499
  M(u), b(
500
500
  "category"
@@ -521,7 +521,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
521
521
  children: /* @__PURE__ */ e(
522
522
  $e,
523
523
  {
524
- height: `calc(${o} - ${ae}px)`,
524
+ height: `calc(${n} - ${ae}px)`,
525
525
  onClick: (u) => {
526
526
  M(u), b(
527
527
  "transaction"
@@ -578,7 +578,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
578
578
  }
579
579
  ),
580
580
  /* @__PURE__ */ e(
581
- nt,
581
+ ot,
582
582
  {
583
583
  onClose: Ee,
584
584
  showConnectWidget: Te,
@@ -36,12 +36,12 @@ import Qt from "@mui/material/Badge";
36
36
  import qt from "@mui/material/IconButton";
37
37
  import { A as v } from "../Analytics-BYItVAe-.mjs";
38
38
  import { T as ct } from "../StatusIndicator-CIKUOoN_.mjs";
39
- import { T as dt } from "../TransactionDetails-BmVM5f4V.mjs";
39
+ import { T as dt } from "../TransactionDetails-C9DVd4nm.mjs";
40
40
  import { D as Pe } from "../Drawer-Bbe4AMB1.mjs";
41
41
  import { u as Ie } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
42
42
  import { L as Le } from "../Loader-D3rjKx72.mjs";
43
43
  import { W as ut } from "../WidgetContainer-D_iaToWJ.mjs";
44
- import { L as Ve } from "../LineChart-DBcA1UJI.mjs";
44
+ import { L as Ve } from "../LineChart-EAr5ox5U.mjs";
45
45
  import { M as Jt } from "../MiniWidgetContainer-xLWSV6Wz.mjs";
46
46
  import { subMonths as eo } from "date-fns";
47
47
  import { TrendingUp as to, TrendingDown as oo, MultilineChart as no, ExpandLess as so, ExpandMore as ro, ArrowBack as ao } from "@mxenabled/mx-icons";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.13.4",
3
+ "version": "7.13.6",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",