@mx-cartographer/experiences 7.13.17 → 7.13.18

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.
@@ -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-DB7cKC2J.mjs";
59
+ import { T as s3 } from "../TransactionDetails-CwqokbQo.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,7 +37,7 @@ import Ee from "@mui/material/Tab";
37
37
  import et from "@mui/material/Tabs";
38
38
  import { e as tt } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
39
39
  import { T as Ae } from "../StatusIndicator-CIKUOoN_.mjs";
40
- import { T as ot, c as nt } from "../TransactionDetails-DB7cKC2J.mjs";
40
+ import { T as ot, c as nt } from "../TransactionDetails-CwqokbQo.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";
@@ -46,7 +46,7 @@ import { u as at, b as rt } from "../CategorySelectorDrawer-Dc9Widy9.mjs";
46
46
  import je from "@mui/material/CardHeader";
47
47
  import { subDays as st } from "date-fns/subDays";
48
48
  import it from "@mui/material/IconButton";
49
- import { M as ct } from "../ManageIncome-B808Yjoa.mjs";
49
+ import { M as ct } from "../ManageIncome-B1j-AzI1.mjs";
50
50
  import { u as ze } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
51
51
  import { W as lt } from "../WidgetContainer-B7xDq2bM.mjs";
52
52
  import { u as dt, g as ut, C as mt } from "../BudgetUtil-CLhRnCoX.mjs";
@@ -10,15 +10,15 @@ import se from "@mui/material/styles/useTheme";
10
10
  import { Text as m, P as N, Icon as M, InstitutionLogo as ye, H2 as de, H3 as Ye } from "@mxenabled/mxui";
11
11
  import { G as Qe, t as me, u as L, p as ce, d as Ne, b as P, i as U, g as ke, a as Ke, h as Oe, o as Xe } from "../hooks-BxkfR-Ff.mjs";
12
12
  import { C as R } from "../CurrencyText-CA-E5N_y.mjs";
13
- import { I as ue } from "../CashflowStore-D3MKniVM.mjs";
14
- import { C as qn } from "../CashflowStore-D3MKniVM.mjs";
13
+ import { I as ue } from "../CashflowStore-CeAzChyD.mjs";
14
+ import { C as qn } from "../CashflowStore-CeAzChyD.mjs";
15
15
  import { u as pe } from "../useScreenSize-B6JyS_Lj.mjs";
16
16
  import { L as Z } from "../Loader-D3rjKx72.mjs";
17
17
  import { b as $ } from "../Localization-CPkpIwIx.mjs";
18
18
  import { M as Je } from "../MiniWidgetContainer-Bhkv-hpz.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-Db8Yrv1K.mjs";
21
+ import { R as et } from "../RecurringSettings-Dyj3i0ZJ.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 we } 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-B808Yjoa.mjs";
39
+ import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-B1j-AzI1.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";
@@ -47,7 +47,7 @@ import { formatISO as pt } from "date-fns/formatISO";
47
47
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
48
48
  import { startOfMonth as ht } from "date-fns/startOfMonth";
49
49
  import { S as ft, a as gt } from "../StatusIndicator-CIKUOoN_.mjs";
50
- import { F as bt, R as ve, e as Ae } from "../RecurringTransactions-C4jRZQ9t.mjs";
50
+ import { F as bt, R as ve, e as Ae } from "../RecurringTransactions-tayG19Wn.mjs";
51
51
  import { h as xt } from "../DateUtil-wcYTmDRD.mjs";
52
52
  import { F as yt, A as j } from "../Fetch-B6tMJC1r.mjs";
53
53
  const Y = () => {
@@ -24,9 +24,9 @@ import { T as Y } from "../TransactionStore-rpqhGX8m.mjs";
24
24
  import { S as _s } from "../TransactionStore-rpqhGX8m.mjs";
25
25
  import { T as ms } from "../TabContentContainer-j01JYR_7.mjs";
26
26
  import { I as Ss } from "../IconBacking-B9oC6uL2.mjs";
27
- import { D as ws, F as Cs, c as Ds, d as Es, R as As, S as xs } from "../RecurringTransactions-C4jRZQ9t.mjs";
28
- import { C as Q } from "../CashflowStore-D3MKniVM.mjs";
29
- import { I as Bs } from "../CashflowStore-D3MKniVM.mjs";
27
+ import { D as ws, F as Cs, c as Ds, d as Es, R as As, S as xs } from "../RecurringTransactions-tayG19Wn.mjs";
28
+ import { C as Q } from "../CashflowStore-CeAzChyD.mjs";
29
+ import { I as Bs } from "../CashflowStore-CeAzChyD.mjs";
30
30
  import { d as K } from "../GoalStore-DB58sKTC.mjs";
31
31
  import { C as vs, G as Ms, M as ks, T as Ns } from "../GoalStore-DB58sKTC.mjs";
32
32
  import { C as Ls } from "../CurrencyText-CA-E5N_y.mjs";
@@ -50,8 +50,8 @@ import { I as _r, P as fr, S as mr } from "../Account-DuOz1a27.mjs";
50
50
  import { b as f } from "../Category-CevNQ03n.mjs";
51
51
  import { C as Sr, c as br, a as wr, P as Cr } from "../Category-CevNQ03n.mjs";
52
52
  import { C as Er, f as Ar, b as xr, a as Tr, g as Br, i as Ir } from "../NumberFormatting-QCaNwbjv.mjs";
53
- import { R as X } from "../RecurringTransactionsStore-CiRGQ57O.mjs";
54
- import { S as Mr, T as kr } from "../RecurringTransactionsStore-CiRGQ57O.mjs";
53
+ import { R as X } from "../RecurringTransactionsStore-Dpl39vbj.mjs";
54
+ import { S as Mr, T as kr } from "../RecurringTransactionsStore-Dpl39vbj.mjs";
55
55
  import { G as Ur, C as Lr, D as Or, W as Pr, d as Rr, a as $r, m as Fr, t as Gr, l as Hr, v as Wr, w as qr, g as Yr, y as Qr, u as Kr, f as zr, b as jr, k as Vr, z as Zr, s as Xr, x as Jr, c as to, q as eo, n as so, A as ro, i as oo, r as ao, h as no, B as io, o as co, p as uo } from "../hooks-BxkfR-Ff.mjs";
56
56
  import { u as lo } from "../useAccountDisplayName-DKwT1mWv.mjs";
57
57
  import { u as po } from "../useInsightsEnabled-DL_oNyI0.mjs";
@@ -37,7 +37,7 @@ import $n from "@mui/material/ListItemButton";
37
37
  import En from "@mui/material/ListSubheader";
38
38
  import { f as W } from "../NumberFormatting-QCaNwbjv.mjs";
39
39
  import { b as V } from "../Localization-CPkpIwIx.mjs";
40
- import { S as it, F as Mt, e as zn, R as Dt } from "../RecurringTransactions-C4jRZQ9t.mjs";
40
+ import { S as it, F as Mt, e as zn, R as Dt } from "../RecurringTransactions-tayG19Wn.mjs";
41
41
  import { A as He } from "../Account-BiB1F8lL.mjs";
42
42
  import { S as Gn } from "../StatusBar-BK_uYHAB.mjs";
43
43
  import { h as It } from "../DateUtil-wcYTmDRD.mjs";
@@ -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-B808Yjoa.mjs";
59
+ import { c as io, d as ct, S as so, i as co } from "../ManageIncome-B1j-AzI1.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-Db8Yrv1K.mjs";
62
+ import { R as uo } from "../RecurringSettings-Dyj3i0ZJ.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";
@@ -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-Db8Yrv1K.mjs";
10
- import { M as Un } from "../RecurringSettings-Db8Yrv1K.mjs";
9
+ import { R as _e } from "../RecurringSettings-Dyj3i0ZJ.mjs";
10
+ import { M as Un } from "../RecurringSettings-Dyj3i0ZJ.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";
@@ -33,10 +33,10 @@ import ot from "@mui/material/Badge";
33
33
  import { PickersDay as at } from "@mui/x-date-pickers/PickersDay";
34
34
  import { I as F } from "../IconBacking-B9oC6uL2.mjs";
35
35
  import { u as y, b as z, i as I, g as U, p as Ie, h as re } from "../hooks-BxkfR-Ff.mjs";
36
- import { d as A, c as D, g as Ce, f as st } from "../RecurringTransactions-C4jRZQ9t.mjs";
36
+ import { d as A, c as D, g as Ce, f as st } from "../RecurringTransactions-tayG19Wn.mjs";
37
37
  import { f as S, D as w } from "../DateFormats-BMpMrZpW.mjs";
38
- import { T as G } from "../RecurringTransactionsStore-CiRGQ57O.mjs";
39
- import { R as jn } from "../RecurringTransactionsStore-CiRGQ57O.mjs";
38
+ import { T as G } from "../RecurringTransactionsStore-Dpl39vbj.mjs";
39
+ import { R as jn } from "../RecurringTransactionsStore-Dpl39vbj.mjs";
40
40
  import { g as ct, L as W, b as N } from "../Localization-CPkpIwIx.mjs";
41
41
  import { A as L } from "../Analytics-BYItVAe-.mjs";
42
42
  import lt from "@mui/material/Button";
@@ -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-B808Yjoa.mjs";
51
- import { c as Vn, M as qn, S as Zn } from "../ManageIncome-B808Yjoa.mjs";
50
+ import { b as gt } from "../ManageIncome-B1j-AzI1.mjs";
51
+ import { c as Vn, M as qn, S as Zn } from "../ManageIncome-B1j-AzI1.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";
@@ -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-DB7cKC2J.mjs";
23
+ import { T as xt } from "../TransactionDetails-CwqokbQo.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-DB7cKC2J.mjs";
3
- import { B as Da, b as Ia } from "../TransactionDetails-DB7cKC2J.mjs";
2
+ import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-CwqokbQo.mjs";
3
+ import { B as Da, b as Ia } from "../TransactionDetails-CwqokbQo.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-rpqhGX8m.mjs";
@@ -1,18 +1,18 @@
1
1
  import { jsxs as C, jsx as e, Fragment as wt } from "react/jsx-runtime";
2
2
  import g, { useRef as vt, useState as Dt, useEffect as It } from "react";
3
3
  import { observer as A } from "mobx-react-lite";
4
- import { CategoryIcon as we, Text as F, Icon as He, H3 as Ge, P as pe, ChevronRightIcon as Lt } from "@mxenabled/mxui";
4
+ import { CategoryIcon as we, Text as F, Icon as He, H3 as Ge, P as pe } from "@mxenabled/mxui";
5
5
  import N from "@mui/material/Box";
6
6
  import S from "@mui/material/Stack";
7
7
  import Te from "@mui/material/Button";
8
8
  import { addSeconds as et } from "date-fns/addSeconds";
9
9
  import { differenceInCalendarMonths as Se } from "date-fns/differenceInCalendarMonths";
10
- import Et from "numeral";
11
- import { useTheme as ae, styled as Mt, alpha as At } from "@mui/material/styles";
12
- import { useItemTooltip as Rt, ChartsTooltipContainer as kt } from "@mui/x-charts/ChartsTooltip";
13
- import { LineChart as Ht } from "@mui/x-charts/LineChart";
10
+ import Lt from "numeral";
11
+ import { useTheme as ae, styled as Et, alpha as Mt } from "@mui/material/styles";
12
+ import { useItemTooltip as At, ChartsTooltipContainer as Rt } from "@mui/x-charts/ChartsTooltip";
13
+ import { LineChart as kt } from "@mui/x-charts/LineChart";
14
14
  import { u as j } from "../useScreenSize-B6JyS_Lj.mjs";
15
- import { u as Nt } from "../useDimensions-CeDR9V8N.mjs";
15
+ import { u as Ht } from "../useDimensions-CeDR9V8N.mjs";
16
16
  import tt from "@mui/material/Card";
17
17
  import ot from "@mui/material/CardContent";
18
18
  import Ne from "@mui/material/Divider";
@@ -20,31 +20,31 @@ import $e from "@mui/material/Grid";
20
20
  import { u as R, l as U, g as $, b as fe, h as ve, d as De, B as ye, p as nt, f as Be, a as st } from "../hooks-BxkfR-Ff.mjs";
21
21
  import { b as rt } from "../Localization-CPkpIwIx.mjs";
22
22
  import { C as xe } from "../CurrencyText-CA-E5N_y.mjs";
23
- import { C as Re, b as ze, c as Wt } from "../Category-CevNQ03n.mjs";
23
+ import { C as Re, b as ze, c as Nt } from "../Category-CevNQ03n.mjs";
24
24
  import { f as Y, D as P } from "../DateFormats-BMpMrZpW.mjs";
25
- import { f as re, a as Ot } from "../NumberFormatting-QCaNwbjv.mjs";
26
- import { c as Gt, a as Ke, g as Bt, L as Pt } from "../TrendsStore-CYdTo7cN.mjs";
25
+ import { f as re, a as Wt } from "../NumberFormatting-QCaNwbjv.mjs";
26
+ import { c as Ot, a as Ke, g as Gt, L as Bt } from "../TrendsStore-CYdTo7cN.mjs";
27
27
  import { T as us } from "../TrendsStore-CYdTo7cN.mjs";
28
- import { c as Vt, i as Ft, d as $t, e as zt, b as at, g as it, f as Ye } from "../SpendingData-Bz1bCWAs.mjs";
29
- import Kt from "@mui/material/ToggleButton";
30
- import Yt from "@mui/material/ToggleButtonGroup";
28
+ import { c as Pt, i as Vt, d as Ft, e as $t, b as at, g as it, f as Ye } from "../SpendingData-Bz1bCWAs.mjs";
29
+ import zt from "@mui/material/ToggleButton";
30
+ import Kt from "@mui/material/ToggleButtonGroup";
31
31
  import { parseISO as lt } from "date-fns/parseISO";
32
32
  import { H as ke } from "../HeaderCell-P8w6CmfO.mjs";
33
- import { T as W, b as jt } from "../ViewMoreMicroCard-D24H9kDm.mjs";
34
- import { useGridApiContext as Ut, useGridRootProps as Xt, DataGridPro as Zt } from "@mui/x-data-grid-pro";
35
- import Qt from "@mui/material/Badge";
36
- import qt from "@mui/material/IconButton";
33
+ import { T as W, b as Yt } from "../ViewMoreMicroCard-D24H9kDm.mjs";
34
+ import { useGridApiContext as jt, useGridRootProps as Ut, DataGridPro as Xt } from "@mui/x-data-grid-pro";
35
+ import Zt from "@mui/material/Badge";
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-DB7cKC2J.mjs";
39
+ import { T as dt } from "../TransactionDetails-CwqokbQo.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-B7xDq2bM.mjs";
44
44
  import { L as Ve } from "../LineChart-EAr5ox5U.mjs";
45
- import { M as Jt } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
46
- import { subMonths as eo } from "date-fns";
47
- import { TrendingUp as to, TrendingDown as oo, MultilineChart as no, ExpandLess as so, ExpandMore as ro, ArrowBack as ao } from "@mxenabled/mx-icons";
45
+ import { M as qt } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
46
+ import { subMonths as Jt } from "date-fns";
47
+ import { TrendingUp as eo, TrendingDown as to, MultilineChart as oo, ExpandLess as no, ExpandMore as so, ChevronRight as ro, ArrowBack as ao } from "@mxenabled/mx-icons";
48
48
  import { M as io } from "../MicroWidgetContainer-B_EnfvCq.mjs";
49
49
  import lo from "@mui/material/Collapse";
50
50
  import We from "@mui/material/List";
@@ -190,7 +190,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
190
190
  series: n,
191
191
  xData: o
192
192
  }) => {
193
- const r = Rt(), i = ae();
193
+ const r = At(), i = ae();
194
194
  if (!r?.identifier) return null;
195
195
  const { dataIndex: a, seriesId: c } = r.identifier;
196
196
  if (a == null || !c) return null;
@@ -210,7 +210,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
210
210
  availableHeight: a = 0,
211
211
  minimumHeight: c = 350
212
212
  }) => {
213
- const u = ae(), { isMobile: l } = j(), [y, { height: m }] = Nt(), _ = g.useRef(null), [h, p] = g.useState(0);
213
+ const u = ae(), { isMobile: l } = j(), [y, { height: m }] = Ht(), _ = g.useRef(null), [h, p] = g.useState(0);
214
214
  g.useEffect(() => {
215
215
  const d = Math.max(a - m, c);
216
216
  p(d);
@@ -353,7 +353,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
353
353
  sx: { width: "100%", position: "relative" },
354
354
  children: [
355
355
  /* @__PURE__ */ e(
356
- Ht,
356
+ kt,
357
357
  {
358
358
  height: h,
359
359
  hideLegend: !0,
@@ -366,7 +366,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
366
366
  tooltip: { trigger: X ? "item" : "none" }
367
367
  },
368
368
  slots: {
369
- tooltip: X && L ? (d) => /* @__PURE__ */ e(kt, { children: /* @__PURE__ */ e(
369
+ tooltip: X && L ? (d) => /* @__PURE__ */ e(Rt, { children: /* @__PURE__ */ e(
370
370
  To,
371
371
  {
372
372
  ...d,
@@ -390,7 +390,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
390
390
  {
391
391
  min: q,
392
392
  max: ce || 100,
393
- valueFormatter: (d) => Et(d).format("0a")
393
+ valueFormatter: (d) => Lt(d).format("0a")
394
394
  }
395
395
  ]
396
396
  }
@@ -426,7 +426,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
426
426
  }, ft = ({ selectedTab: t, onTabChange: s }) => {
427
427
  const { common: n } = R();
428
428
  return /* @__PURE__ */ e(
429
- Yt,
429
+ Kt,
430
430
  {
431
431
  "aria-label": n.view_toggle,
432
432
  exclusive: !0,
@@ -434,7 +434,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
434
434
  orientation: "horizontal",
435
435
  value: t,
436
436
  children: ["Chart", "Table"].map((o) => /* @__PURE__ */ e(
437
- Kt,
437
+ zt,
438
438
  {
439
439
  "aria-label": o === "Chart" ? n.view_chart : n.view_table,
440
440
  "aria-pressed": t === o,
@@ -517,7 +517,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
517
517
  renderHeader: ke,
518
518
  renderCell: xo,
519
519
  sortable: !0,
520
- sortComparator: Gt,
520
+ sortComparator: Ot,
521
521
  type: "string"
522
522
  }, o = t.map((i) => ({
523
523
  field: i,
@@ -576,7 +576,7 @@ const pt = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
576
576
  });
577
577
  }
578
578
  return i;
579
- }, Do = Mt("div")({
579
+ }, Do = Et("div")({
580
580
  display: "flex",
581
581
  visibility: "hidden",
582
582
  width: 0
@@ -589,7 +589,7 @@ function Io({
589
589
  className: r,
590
590
  field: i
591
591
  }) {
592
- const a = Ut(), c = Xt();
592
+ const a = jt(), c = Ut();
593
593
  let u = null;
594
594
  const l = {};
595
595
  if (t === "asc" ? u = c.slots.columnSortedAscendingIcon : t === "desc" ? u = c.slots.columnSortedDescendingIcon : (u = c.slots.columnUnsortedIcon ?? null, l.sortingOrder = n), !u) return null;
@@ -597,7 +597,7 @@ function Io({
597
597
  let _ = "";
598
598
  t === "asc" ? _ = ", sorted ascending" : t === "desc" && (_ = ", sorted descending");
599
599
  const h = ["Total", "Category"].includes(m) ? "" : " category totals", p = `Sort by ${m}${h}${_}`, f = /* @__PURE__ */ e(u, { className: "MuiDataGrid-sortIcon", fontSize: "small", ...l }), T = /* @__PURE__ */ e(
600
- qt,
600
+ Qt,
601
601
  {
602
602
  disabled: o,
603
603
  size: "small",
@@ -609,7 +609,7 @@ function Io({
609
609
  children: f
610
610
  }
611
611
  );
612
- return /* @__PURE__ */ e(Do, { className: "MuiDataGrid-iconButtonContainer", children: s != null ? /* @__PURE__ */ e(Qt, { badgeContent: s, color: "default", overlap: "circular", children: T }) : T });
612
+ return /* @__PURE__ */ e(Do, { className: "MuiDataGrid-iconButtonContainer", children: s != null ? /* @__PURE__ */ e(Zt, { badgeContent: s, color: "default", overlap: "circular", children: T }) : T });
613
613
  }
614
614
  const Lo = g.memo(Io), Qe = ({
615
615
  columns: t,
@@ -620,7 +620,7 @@ const Lo = g.memo(Io), Qe = ({
620
620
  }) => {
621
621
  const i = ae(), { onEvent: a } = $(), c = i.palette.mode === "light";
622
622
  return /* @__PURE__ */ e(
623
- Zt,
623
+ Xt,
624
624
  {
625
625
  columns: t,
626
626
  disableColumnFilter: !0,
@@ -630,7 +630,7 @@ const Lo = g.memo(Io), Qe = ({
630
630
  onRowClick: (u) => {
631
631
  n || s?.(u.row.category_guid), a(v.TRENDS_CLICK_LIST_ITEM, {
632
632
  ...W,
633
- listItem: Wt[u.row.category_guid]
633
+ listItem: Nt[u.row.category_guid]
634
634
  });
635
635
  },
636
636
  pinnedRows: {
@@ -787,16 +787,16 @@ const Lo = g.memo(Io), Qe = ({
787
787
  }, [L, E, x]);
788
788
  const z = g.useMemo(() => {
789
789
  if (!M) return { stackedDatasets: [], unstackedDatasets: [] };
790
- const D = Bt(
790
+ const D = Gt(
791
791
  _,
792
792
  x.start,
793
793
  x.end
794
794
  ), B = G.length ? D.filter(
795
795
  (d) => d.top_level_category_guid === G || d.category_guid === G
796
- ) : Vt(D);
796
+ ) : Pt(D);
797
797
  return {
798
- stackedDatasets: B.filter(Ft),
799
- unstackedDatasets: B.filter($t)
798
+ stackedDatasets: B.filter(Vt),
799
+ unstackedDatasets: B.filter(Ft)
800
800
  };
801
801
  }, [_, G, x]), J = (D, B) => {
802
802
  O(B ?? Z), n(v.TRENDS_CLICK_TOGGLE_VIEW);
@@ -900,7 +900,7 @@ const Lo = g.memo(Io), Qe = ({
900
900
  }
901
901
  );
902
902
  }, rs = A(Ro), ko = () => {
903
- const { monthlyCategoryTotals: t } = U(), { trends: s } = R(), n = ae(), { availableHeight: o = 300 } = nt(), r = g.useMemo(() => zt(t), [t]);
903
+ const { monthlyCategoryTotals: t } = U(), { trends: s } = R(), n = ae(), { availableHeight: o = 300 } = nt(), r = g.useMemo(() => $t(t), [t]);
904
904
  return /* @__PURE__ */ e(
905
905
  Ve,
906
906
  {
@@ -927,7 +927,7 @@ const Lo = g.memo(Io), Qe = ({
927
927
  }), g.useEffect(() => {
928
928
  a && n && r(u).finally();
929
929
  }, [n, a, u]), !n || !a || !i ? /* @__PURE__ */ e(Le, {}) : /* @__PURE__ */ e(
930
- Jt,
930
+ qt,
931
931
  {
932
932
  contentStyles: { height: "calc(100% - 72px)", minHeight: 300, ":last-child": { pb: 0 } },
933
933
  onPrimaryCtaClick: t,
@@ -946,7 +946,7 @@ const Lo = g.memo(Io), Qe = ({
946
946
  secondaryLabel: r,
947
947
  shouldDisplayPercentage: i
948
948
  }) => {
949
- const { availableWidth: a } = nt(), c = g.useRef(null), u = g.useRef(null), l = Ot(Number(Math.abs(o)), {
949
+ const { availableWidth: a } = nt(), c = g.useRef(null), u = g.useRef(null), l = Wt(Number(Math.abs(o)), {
950
950
  style: "percent",
951
951
  minimumIntegerDigits: 1
952
952
  }), y = a === 288 && re(s, "0,0.00").length > 10 ? re(s, "0,0") : re(s, "0,0.00"), m = n === "spending" ? o > 0 : o >= 0, _ = n === "spending" ? "error.main" : "success.main", h = n === "spending" ? "success.main" : "text.secondary", p = c?.current, f = u?.current, T = p && f ? p.scrollWidth > f.clientWidth - Wo : !1;
@@ -974,7 +974,7 @@ const Lo = g.memo(Io), Qe = ({
974
974
  children: [
975
975
  /* @__PURE__ */ e(pe, { color: "text.secondary", variant: "caption", children: t }),
976
976
  i && /* @__PURE__ */ C(S, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
977
- m ? /* @__PURE__ */ e(to, { size: 20, sx: { color: _ } }) : /* @__PURE__ */ e(oo, { size: 20, sx: { color: h } }),
977
+ m ? /* @__PURE__ */ e(eo, { size: 20, sx: { color: _ } }) : /* @__PURE__ */ e(to, { size: 20, sx: { color: h } }),
978
978
  /* @__PURE__ */ e(
979
979
  pe,
980
980
  {
@@ -1025,7 +1025,7 @@ const Lo = g.memo(Io), Qe = ({
1025
1025
  }, Oo = A(() => {
1026
1026
  const { trends: t } = R();
1027
1027
  return /* @__PURE__ */ C(S, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
1028
- /* @__PURE__ */ e(no, { size: 32 }),
1028
+ /* @__PURE__ */ e(oo, { size: 32 }),
1029
1029
  /* @__PURE__ */ C(S, { children: [
1030
1030
  /* @__PURE__ */ e(pe, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
1031
1031
  /* @__PURE__ */ e(pe, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
@@ -1037,7 +1037,7 @@ const Lo = g.memo(Io), Qe = ({
1037
1037
  s || n().finally();
1038
1038
  }, []);
1039
1039
  const { onEvent: r } = $(), { monthlyCategoryTotals: i, loadMonthlyCategoryTotals: a, monthlyTotalsLoaded: c } = U(), u = {
1040
- start: eo(/* @__PURE__ */ new Date(), 1),
1040
+ start: Jt(/* @__PURE__ */ new Date(), 1),
1041
1041
  end: /* @__PURE__ */ new Date()
1042
1042
  }, { trends: l } = R(), { selectedAccounts: y, isInitialized: m } = fe();
1043
1043
  Ie({
@@ -1114,8 +1114,8 @@ const Lo = g.memo(Io), Qe = ({
1114
1114
  sx: { color: n.palette.primary.main, flexDirection: "row", alignItems: "center" },
1115
1115
  children: [
1116
1116
  /* @__PURE__ */ e(ht, { children: /* @__PURE__ */ e(F, { bold: !0, variant: "body2", children: t ? "View less" : "View more" }) }),
1117
- /* @__PURE__ */ e(uo, { sx: { color: n.palette.primary.main }, children: t ? /* @__PURE__ */ e(so, {}) : /* @__PURE__ */ e(
1118
- ro,
1117
+ /* @__PURE__ */ e(uo, { sx: { color: n.palette.primary.main }, children: t ? /* @__PURE__ */ e(no, {}) : /* @__PURE__ */ e(
1118
+ so,
1119
1119
  {
1120
1120
  sx: {
1121
1121
  transition: "transform 0.3s ease-in-out",
@@ -1145,14 +1145,14 @@ const Lo = g.memo(Io), Qe = ({
1145
1145
  };
1146
1146
  return /* @__PURE__ */ C(g.Fragment, { children: [
1147
1147
  /* @__PURE__ */ e(
1148
- Pt,
1148
+ Bt,
1149
1149
  {
1150
1150
  leftIcon: s ? /* @__PURE__ */ e(
1151
1151
  we,
1152
1152
  {
1153
1153
  categoryGuid: s,
1154
1154
  sx: {
1155
- bgcolor: At(Oe(s, l), 0.15),
1155
+ bgcolor: Mt(Oe(s, l), 0.15),
1156
1156
  border: `1px solid ${Oe(s, l)}`,
1157
1157
  color: "text.primary"
1158
1158
  }
@@ -1160,7 +1160,7 @@ const Lo = g.memo(Io), Qe = ({
1160
1160
  ) : void 0,
1161
1161
  onClick: m,
1162
1162
  rightContent: re(Math.abs(t), "0,0.00"),
1163
- rightIcon: r ? /* @__PURE__ */ e(Lt, {}) : void 0,
1163
+ rightIcon: r ? /* @__PURE__ */ e(ro, {}) : void 0,
1164
1164
  subtitle: y,
1165
1165
  title: n
1166
1166
  }
@@ -1223,7 +1223,7 @@ const Lo = g.memo(Io), Qe = ({
1223
1223
  s?.(T), n(v.TRENDS_CLICK_INSIGHT, W);
1224
1224
  }, h = l ? 200 : 170, p = l ? 170 : 124, f = t.length > 0 ? h : p;
1225
1225
  return /* @__PURE__ */ e(mo, { sx: { height: f }, children: /* @__PURE__ */ e(
1226
- jt,
1226
+ Yt,
1227
1227
  {
1228
1228
  areBeatsLoading: a.isLoading,
1229
1229
  beats: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.13.17",
3
+ "version": "7.13.18",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -192,8 +192,8 @@
192
192
  "@mui/x-date-pickers": "^7.29.4",
193
193
  "@mui/x-date-pickers-pro": "^7.29.4",
194
194
  "@mxenabled/cssinjs": "^0.6.0",
195
- "@mxenabled/mx-icons": "^1.5.1",
196
- "@mxenabled/mxui": "^1.5.14",
195
+ "@mxenabled/mx-icons": "^1.7.0",
196
+ "@mxenabled/mxui": "^1.5.16",
197
197
  "@mxenabled/web-widget-sdk": "^0.0.13",
198
198
  "@tanstack/react-virtual": "^3.13.2",
199
199
  "bowser": "^2.11.0",
@@ -281,5 +281,5 @@
281
281
  "CHANGELOG.md",
282
282
  "README.md"
283
283
  ],
284
- "packageManager": "yarn@4.11.0"
284
+ "packageManager": "yarn@4.13.0"
285
285
  }