@mx-cartographer/experiences 7.13.1 → 7.13.3

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.
@@ -2,10 +2,10 @@ import { jsxs as u, jsx as l } from "react/jsx-runtime";
2
2
  import T from "react";
3
3
  import x from "@mui/material/ListItem";
4
4
  import S from "@mui/material/ListItemButton";
5
- import f from "@mui/material/ListItemIcon";
5
+ import b from "@mui/material/ListItemIcon";
6
6
  import R from "@mui/material/ListItemText";
7
7
  import h from "@mui/material/Stack";
8
- import { Text as b } from "@mxenabled/mxui";
8
+ import { Text as f } from "@mxenabled/mxui";
9
9
  import { makeAutoObservable as A } from "mobx";
10
10
  import { addSeconds as N } from "date-fns/addSeconds";
11
11
  import { differenceInCalendarMonths as v } from "date-fns/differenceInCalendarMonths";
@@ -24,7 +24,7 @@ const rt = ({
24
24
  rightContentBold: c = !0
25
25
  }) => {
26
26
  const g = /* @__PURE__ */ u(T.Fragment, { children: [
27
- t && /* @__PURE__ */ l(f, { sx: { ml: 0 }, children: t }),
27
+ t && /* @__PURE__ */ l(b, { sx: { ml: 0 }, children: t }),
28
28
  /* @__PURE__ */ l(R, { children: /* @__PURE__ */ u(
29
29
  h,
30
30
  {
@@ -35,18 +35,18 @@ const rt = ({
35
35
  },
36
36
  children: [
37
37
  /* @__PURE__ */ u(h, { sx: { flex: 1, minWidth: 0 }, children: [
38
- /* @__PURE__ */ l(b, { bold: i, variant: "body1", children: r }),
39
- n && /* @__PURE__ */ l(b, { variant: "caption", children: n })
38
+ /* @__PURE__ */ l(f, { bold: i, variant: "body1", children: r }),
39
+ n && /* @__PURE__ */ l(f, { variant: "caption", children: n })
40
40
  ] }),
41
41
  /* @__PURE__ */ u(h, { sx: { flexDirection: "row", alignItems: "center", gap: 1 }, children: [
42
- a && /* @__PURE__ */ l(b, { bold: c, display: "flex", variant: "body1", children: a }),
43
- o && /* @__PURE__ */ l(f, { children: o })
42
+ a && /* @__PURE__ */ l(f, { bold: c, display: "flex", variant: "body1", children: a }),
43
+ o && /* @__PURE__ */ l(b, { children: o })
44
44
  ] })
45
45
  ]
46
46
  }
47
47
  ) })
48
48
  ] });
49
- return /* @__PURE__ */ l(x, { sx: { bgcolor: "background.paper" }, children: e ? /* @__PURE__ */ l(
49
+ return /* @__PURE__ */ l(x, { children: e ? /* @__PURE__ */ l(
50
50
  S,
51
51
  {
52
52
  onClick: e,
@@ -621,6 +621,7 @@ const Y = h.createContext(null), dt = ({
621
621
  children: u ? /* @__PURE__ */ o(
622
622
  ot,
623
623
  {
624
+ component: "div",
624
625
  onClick: u,
625
626
  sx: {
626
627
  pb: 8,
@@ -703,7 +704,7 @@ const Y = h.createContext(null), dt = ({
703
704
  isActiveCard: r,
704
705
  onCardClick: S,
705
706
  onPrimaryAction: S,
706
- primaryActionText: e.micro_call_to_action || m.micro_card_cta,
707
+ primaryActionText: e.micro_call_to_action || m?.micro_card_cta,
707
708
  ref: u,
708
709
  title: e.micro_title && e.micro_title.length > 0 ? e.micro_title : e.title,
709
710
  variant: C,
@@ -740,7 +741,7 @@ const Y = h.createContext(null), dt = ({
740
741
  se,
741
742
  {
742
743
  "aria-disabled": u,
743
- "aria-label": E.previous_insight_cta_aria,
744
+ "aria-label": E?.previous_insight_cta_aria,
744
745
  disabled: u,
745
746
  onClick: r,
746
747
  children: /* @__PURE__ */ o(
@@ -783,7 +784,7 @@ const Y = h.createContext(null), dt = ({
783
784
  se,
784
785
  {
785
786
  "aria-disabled": d,
786
- "aria-label": E.next_insight_cta_aria,
787
+ "aria-label": E?.next_insight_cta_aria,
787
788
  disabled: d,
788
789
  onClick: n,
789
790
  children: /* @__PURE__ */ o(
@@ -820,7 +821,7 @@ const Y = h.createContext(null), dt = ({
820
821
  return /* @__PURE__ */ M(Te, { children: [
821
822
  e.map((d, m) => {
822
823
  const _ = m + 1, A = e.length + 1, I = Xe(
823
- E.card_position_in_carousel_aria,
824
+ E?.card_position_in_carousel_aria,
824
825
  _.toString(),
825
826
  A.toString()
826
827
  ), S = d.micro_title && d.micro_title.length > 0, f = d.micro_description && d.micro_description.length > 0, v = S ? d.micro_title : d.title, N = f ? d.micro_description : d.description;
@@ -924,7 +925,7 @@ const Y = h.createContext(null), dt = ({
924
925
  return /* @__PURE__ */ M(
925
926
  W,
926
927
  {
927
- "aria-label": w.carousel_title,
928
+ "aria-label": w?.carousel_title,
928
929
  "aria-roledescription": "carousel",
929
930
  ref: A,
930
931
  role: "region",
@@ -1258,16 +1259,16 @@ const Y = h.createContext(null), dt = ({
1258
1259
  cardSx: {
1259
1260
  borderRadius: 2
1260
1261
  },
1261
- description: d.view_more_card_description,
1262
+ description: d?.view_more_card_description,
1262
1263
  hasCardEffect: !0,
1263
1264
  heightOverrides: e,
1264
1265
  icon: s && /* @__PURE__ */ o(l, { bgColor: c(g.palette.primary.main, 0.15), name: "show_chart" }),
1265
1266
  isActiveCard: n,
1266
1267
  onCardClick: _,
1267
1268
  onPrimaryAction: _,
1268
- primaryActionText: d.micro_card_cta,
1269
+ primaryActionText: d?.micro_card_cta,
1269
1270
  ref: E,
1270
- title: d.view_more_card_title,
1271
+ title: d?.view_more_card_title,
1271
1272
  variant: C,
1272
1273
  widthOverrides: a
1273
1274
  }
@@ -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-DBSlRSEm.mjs";
14
+ import { L as b1 } from "../LineChart-DBcA1UJI.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-BpcWeXNU.mjs";
59
+ import { T as s3 } from "../TransactionDetails-CBrqmEw1.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 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-BpcWeXNU.mjs";
40
+ import { T as tt, c as ot } from "../TransactionDetails-CBrqmEw1.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 nt, b as at } from "../CategorySelectorDrawer-DYHNBd2v.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-QvqN555q.mjs";
49
+ import { M as it } from "../ManageIncome-6rzdF0hn.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-DdOcok2e.mjs";
21
+ import { R as et } from "../RecurringSettings-DSsqb6FN.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-QvqN555q.mjs";
39
+ import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-6rzdF0hn.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";
@@ -32,8 +32,8 @@ 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";
33
33
  import { E as Ps } from "../EmptyState-DHAkGsjk.mjs";
34
34
  import { L as $s } from "../ListItemAction-4KB7P75M.mjs";
35
- import { T as z } from "../TrendsStore-st6GjDtg.mjs";
36
- import { L as Gs } from "../TrendsStore-st6GjDtg.mjs";
35
+ import { T as z } from "../TrendsStore-CYdTo7cN.mjs";
36
+ import { L as Gs } from "../TrendsStore-CYdTo7cN.mjs";
37
37
  import { A as Ws, B as qs, I as Ys, N as Qs, T as Ks, a as zs } from "../Notification-CMBNDGC-.mjs";
38
38
  import { G as Vs } from "../GlobalAccountFilter-B73Pw1hJ.mjs";
39
39
  import { S as Xs } from "../StatusBar-BK_uYHAB.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-DBSlRSEm.mjs";
17
+ import { L as Ye } from "../LineChart-DBcA1UJI.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-QvqN555q.mjs";
59
+ import { c as io, d as ct, S as so, i as co } from "../ManageIncome-6rzdF0hn.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-DdOcok2e.mjs";
62
+ import { R as uo } from "../RecurringSettings-DSsqb6FN.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";
@@ -1,4 +1,4 @@
1
- import { A as u, B as s, C as c, a as v, b as C, I as R, M as H, d as M, c as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-ApUBfGOX.mjs";
1
+ import { A as u, B as s, C as c, a as v, b as C, I as R, M as H, d as M, c as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-D24H9kDm.mjs";
2
2
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
3
3
  const a = ({
4
4
  color: i = "currentColor",
@@ -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-DBSlRSEm.mjs";
6
+ import { L as ae } from "../LineChart-DBcA1UJI.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-DdOcok2e.mjs";
10
- import { M as Un } from "../RecurringSettings-DdOcok2e.mjs";
9
+ import { R as _e } from "../RecurringSettings-DSsqb6FN.mjs";
10
+ import { M as Un } from "../RecurringSettings-DSsqb6FN.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-QvqN555q.mjs";
51
- import { c as Vn, M as qn, S as Zn } from "../ManageIncome-QvqN555q.mjs";
50
+ import { b as gt } from "../ManageIncome-6rzdF0hn.mjs";
51
+ import { c as Vn, M as qn, S as Zn } from "../ManageIncome-6rzdF0hn.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-BpcWeXNU.mjs";
23
+ import { T as xt } from "../TransactionDetails-CBrqmEw1.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-BpcWeXNU.mjs";
3
- import { B as Da, b as Ia } from "../TransactionDetails-BpcWeXNU.mjs";
2
+ import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-CBrqmEw1.mjs";
3
+ import { B as Da, b as Ia } from "../TransactionDetails-CBrqmEw1.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";
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { WidgetProps, Beat } from '../common';
2
+ import { Beat, WidgetProps } from '../common';
3
3
  interface TrendsWidgetProps extends WidgetProps {
4
4
  onInsightCardClick?: (beat?: Beat) => void;
5
5
  }
@@ -0,0 +1,3 @@
1
+ export declare const CategoryDetails: (() => import("react/jsx-runtime").JSX.Element | null) & {
2
+ displayName: string;
3
+ };