@mx-cartographer/experiences 7.0.42 → 7.0.43-alpha.san1

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.0.43] - 10-06-2025
2
+
3
+ - **UPDATED** - Theme font to be applied in additional areas
4
+
1
5
  ## [7.0.42] - 10-06-2025
2
6
 
3
7
  - **FIXED** - Dashboard | `cashFlowWidget` - Increased mobile view breakpoint from 610px to 710px to prevent layout breakage with long amount values.
@@ -1,20 +1,20 @@
1
1
  import { jsxs as d, Fragment as g, jsx as t } from "react/jsx-runtime";
2
2
  import _ from "react";
3
- import { observer as b } from "mobx-react-lite";
3
+ import { observer as T } from "mobx-react-lite";
4
4
  import H from "@mui/material/Tab";
5
5
  import nt from "@mui/material/Tabs";
6
6
  import $ from "@mui/material/List";
7
7
  import Y from "@mui/material/ListSubheader";
8
8
  import ot from "@mui/material/Switch";
9
- import { Text as S, Icon as I, THEMES as G } from "@mxenabled/mxui";
9
+ import { Text as A, Icon as I, THEMES as G } from "@mxenabled/mxui";
10
10
  import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-Bt8O2raZ.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-B3DiwvB7.mjs";
15
15
  import { c as z, u as E, f as O, g as X } from "./hooks-BAAimqdq.mjs";
16
16
  import { A as at } from "./AccountListItem-FmvNfEP8.mjs";
17
- import { A as k } from "./WidgetContainer-ztkGgdIH.mjs";
17
+ import { A as k } from "./WidgetContainer-Beedl3IT.mjs";
18
18
  import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
@@ -44,7 +44,7 @@ import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-C-2UEbmQ.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-cJi4Vtpl.mjs";
48
48
  import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -64,8 +64,8 @@ const U = ({
64
64
  (c) => c.member_guid === n.guid && n.successfully_aggregated_at && c.guid !== o.guid
65
65
  );
66
66
  }, Ot = () => {
67
- const [e, o] = _.useState(!1), [n, c] = _.useState(!1), [i, u] = _.useState(!1), [l, s] = _.useState({}), { selectedAccount: r } = D(), { mergeAccounts: y, updateAccount: T } = z(), { accounts: a } = E(), C = Nt(), { onEvent: A } = O(), { modifyTransactionByAccountGuid: x } = X(), L = async (f) => {
68
- await T({
67
+ const [e, o] = _.useState(!1), [n, c] = _.useState(!1), [i, u] = _.useState(!1), [l, s] = _.useState({}), { selectedAccount: r } = D(), { mergeAccounts: y, updateAccount: S } = z(), { accounts: a } = E(), C = Nt(), { onEvent: b } = O(), { modifyTransactionByAccountGuid: x } = X(), L = async (f) => {
68
+ await S({
69
69
  ...r,
70
70
  ...f
71
71
  }), "is_closed" in f && f.is_closed !== r.is_closed && x(r.guid, { accountIsClosed: f.is_closed });
@@ -75,12 +75,12 @@ const U = ({
75
75
  );
76
76
  };
77
77
  return /* @__PURE__ */ d(g, { children: [
78
- /* @__PURE__ */ t(Y, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(S, { bold: !0, component: "h2", variant: "XSmall", children: a.actions }) }),
78
+ /* @__PURE__ */ t(Y, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(A, { bold: !0, component: "h2", variant: "XSmall", children: a.actions }) }),
79
79
  /* @__PURE__ */ t(
80
80
  U,
81
81
  {
82
82
  onClick: () => {
83
- L({ is_hidden: !r.is_hidden }), A(k.ACCOUNT_DETAILS_CLICK_HIDE, { account_guid: r.guid });
83
+ L({ is_hidden: !r.is_hidden }), b(k.ACCOUNT_DETAILS_CLICK_HIDE, { account_guid: r.guid });
84
84
  },
85
85
  primaryText: r.is_hidden ? a.unhide_account : a.hide_Account,
86
86
  secondaryText: r.is_hidden ? a.include_this_account : a.exclude_this_account,
@@ -91,7 +91,7 @@ const U = ({
91
91
  U,
92
92
  {
93
93
  onClick: () => {
94
- o(!0), A(k.ACCOUNT_DETAILS_CLICK_MARK_CLOSED, {
94
+ o(!0), b(k.ACCOUNT_DETAILS_CLICK_MARK_CLOSED, {
95
95
  account_guid: r.guid
96
96
  });
97
97
  },
@@ -105,7 +105,7 @@ const U = ({
105
105
  {
106
106
  isLast: !0,
107
107
  onClick: () => {
108
- c(!0), A(k.ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE, {
108
+ c(!0), b(k.ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE, {
109
109
  account_guid: r.guid
110
110
  });
111
111
  },
@@ -126,10 +126,10 @@ const U = ({
126
126
  o(!1);
127
127
  },
128
128
  onPrimaryAction: () => L({ is_closed: !r.is_closed }),
129
- children: h(
129
+ children: /* @__PURE__ */ t(A, { truncate: !1, children: h(
130
130
  r.is_closed ? a.this_will_resume_updating_the_balance : a.this_will_set_the_balance_of_your_account,
131
131
  r.name
132
- )
132
+ ) })
133
133
  }
134
134
  ),
135
135
  /* @__PURE__ */ t(
@@ -167,17 +167,17 @@ const U = ({
167
167
  onClose: () => u(!1),
168
168
  onPrimaryAction: p,
169
169
  children: [
170
- h(
170
+ /* @__PURE__ */ t(A, { truncate: !1, children: h(
171
171
  a.this_means_accounts_will_be_merged,
172
172
  r.name,
173
173
  l.name
174
- ),
175
- /* @__PURE__ */ t(S, { color: "error", sx: { mt: 24 }, children: a.this_action_cannot_be_undone })
174
+ ) }),
175
+ /* @__PURE__ */ t(A, { color: "error", sx: { mt: 24 }, children: a.this_action_cannot_be_undone })
176
176
  ]
177
177
  }
178
178
  )
179
179
  ] });
180
- }, Rt = b(Ot), tt = (e, o) => {
180
+ }, Rt = T(Ot), tt = (e, o) => {
181
181
  const { connection_messages: n } = o;
182
182
  switch (e.connection_status) {
183
183
  case m.CHALLENGED:
@@ -351,7 +351,7 @@ const U = ({
351
351
  secondaryMessage: l.title
352
352
  };
353
353
  return /* @__PURE__ */ d(g, { children: [
354
- /* @__PURE__ */ t(Y, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(S, { bold: !0, component: "h2", variant: "XSmall", children: i.connection_status }) }),
354
+ /* @__PURE__ */ t(Y, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(A, { bold: !0, component: "h2", variant: "XSmall", children: i.connection_status }) }),
355
355
  /* @__PURE__ */ t(v, { sx: { backgroundColor: "background.paper" }, children: c.is_manual || !s.ctaCopy ? /* @__PURE__ */ d(ct, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
356
356
  /* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(F, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
357
357
  /* @__PURE__ */ t(w, { primary: s.mainMessage, secondary: s.secondaryMessage })
@@ -364,7 +364,7 @@ const U = ({
364
364
  secondary: s.secondaryMessage && /* @__PURE__ */ d(g, { children: [
365
365
  s.secondaryMessage,
366
366
  " ",
367
- /* @__PURE__ */ t(S, { bold: !0, sx: { color: "action.active" }, variant: "XSmall", children: s.ctaCopy })
367
+ /* @__PURE__ */ t(A, { bold: !0, sx: { color: "action.active" }, variant: "XSmall", children: s.ctaCopy })
368
368
  ] })
369
369
  }
370
370
  ),
@@ -407,10 +407,10 @@ const U = ({
407
407
  }
408
408
  )
409
409
  ] });
410
- }, Ft = b(Pt), Ut = ({ field: e, isOpen: o, onClose: n }) => {
411
- const { updateAccount: c } = z(), { selectedAccount: i } = D(), { accounts: u } = E(), [l, s] = _.useState(i[e.name]), [r, y] = _.useState(""), [T, a] = _.useState(!0), C = () => {
410
+ }, Ft = T(Pt), Ut = ({ field: e, isOpen: o, onClose: n }) => {
411
+ const { updateAccount: c } = z(), { selectedAccount: i } = D(), { accounts: u } = E(), [l, s] = _.useState(i[e.name]), [r, y] = _.useState(""), [S, a] = _.useState(!0), C = () => {
412
412
  s(""), y(""), n();
413
- }, A = () => {
413
+ }, b = () => {
414
414
  switch (e.type) {
415
415
  case P.Select:
416
416
  return /* @__PURE__ */ d(gt, { fullWidth: !0, children: [
@@ -496,26 +496,26 @@ const U = ({
496
496
  close_aria: u.close_aria,
497
497
  title: h(u.edit_field, e.label)
498
498
  },
499
- disablePrimaryButton: !!r || !T,
499
+ disablePrimaryButton: !!r || !S,
500
500
  isOpen: o,
501
501
  onClose: C,
502
502
  onPrimaryAction: x,
503
503
  primaryText: u.save,
504
- children: A()
504
+ children: b()
505
505
  }
506
506
  );
507
- }, Wt = b(Ut), $t = () => {
508
- const e = window.app?.config, { onEvent: o } = O(), { selectedAccount: n } = D(), { accounts: c } = E(), i = Dt(n, c), u = n.member_is_managed_by_user || !n.member_is_managed_by_user && e.enable_renaming_home_accounts, [l, s] = _.useState(!1), [r, y] = _.useState(i[0]), T = i.filter(
507
+ }, Wt = T(Ut), $t = () => {
508
+ const e = window.app?.config, { onEvent: o } = O(), { selectedAccount: n } = D(), { accounts: c } = E(), i = Dt(n, c), u = n.member_is_managed_by_user || !n.member_is_managed_by_user && e.enable_renaming_home_accounts, [l, s] = _.useState(!1), [r, y] = _.useState(i[0]), S = i.filter(
509
509
  (a) => u || n[a.name] || n[a.name] === 0
510
510
  );
511
511
  return /* @__PURE__ */ d(g, { children: [
512
- T.map((a) => {
513
- const C = n[a.name] || n[a.name] === 0, A = T.indexOf(a) === T.length - 1, x = /* @__PURE__ */ t(
512
+ S.map((a) => {
513
+ const C = n[a.name] || n[a.name] === 0, b = S.indexOf(a) === S.length - 1, x = /* @__PURE__ */ t(
514
514
  w,
515
515
  {
516
516
  disableTypography: !0,
517
- primary: /* @__PURE__ */ t(S, { sx: { fontSize: 11 }, children: a.label }),
518
- secondary: /* @__PURE__ */ t(S, { bold: !0, sx: { fontSize: 15 }, children: C ? a.valueFormatter(n[a.name]) : a.placeholder })
517
+ primary: /* @__PURE__ */ t(A, { sx: { fontSize: 11 }, children: a.label }),
518
+ secondary: /* @__PURE__ */ t(A, { bold: !0, sx: { fontSize: 15 }, children: C ? a.valueFormatter(n[a.name]) : a.placeholder })
519
519
  }
520
520
  );
521
521
  return /* @__PURE__ */ t(_.Fragment, { children: u ? /* @__PURE__ */ d(g, { children: [
@@ -531,10 +531,10 @@ const U = ({
531
531
  ]
532
532
  }
533
533
  ) }),
534
- /* @__PURE__ */ t(M, { sx: { ml: A ? 0 : 24 } })
534
+ /* @__PURE__ */ t(M, { sx: { ml: b ? 0 : 24 } })
535
535
  ] }) : C && /* @__PURE__ */ d(g, { children: [
536
536
  /* @__PURE__ */ t(v, { sx: { backgroundColor: "background.paper", px: 24 }, children: x }),
537
- /* @__PURE__ */ t(M, { sx: { ml: A ? 0 : 24 } })
537
+ /* @__PURE__ */ t(M, { sx: { ml: b ? 0 : 24 } })
538
538
  ] }) }, a.name);
539
539
  }),
540
540
  l && r && /* @__PURE__ */ t(
@@ -546,14 +546,14 @@ const U = ({
546
546
  }
547
547
  )
548
548
  ] });
549
- }, Vt = b($t), zt = () => {
549
+ }, Vt = T($t), zt = () => {
550
550
  const { onEvent: e } = O();
551
551
  return _.useEffect(() => e(k.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ d($, { children: [
552
552
  /* @__PURE__ */ t(Vt, {}),
553
553
  /* @__PURE__ */ t(Ft, {}),
554
554
  /* @__PURE__ */ t(Rt, {})
555
555
  ] });
556
- }, Ht = b(zt), Gt = ({ setTabValue: e }) => {
556
+ }, Ht = T(zt), Gt = ({ setTabValue: e }) => {
557
557
  const [o, n] = _.useState(!1), { selectedMember: c } = D(), { accounts: i, connect: u } = E(), l = c.connection_status && Q.includes(c.connection_status);
558
558
  if (_.useEffect(() => {
559
559
  l && e(1);
@@ -585,7 +585,7 @@ const U = ({
585
585
  },
586
586
  children: [
587
587
  s.title && /* @__PURE__ */ t(yt, { sx: { fontWeight: 600, marginTop: 2 }, variant: "Body", children: s.title }),
588
- /* @__PURE__ */ t(S, { component: "p", sx: { whiteSpace: "wrap" }, variant: "ParagraphSmall", children: s.main }),
588
+ /* @__PURE__ */ t(A, { component: "p", sx: { whiteSpace: "wrap" }, variant: "ParagraphSmall", children: s.main }),
589
589
  s.cta && /* @__PURE__ */ t(
590
590
  xt,
591
591
  {
@@ -609,7 +609,7 @@ const U = ({
609
609
  }
610
610
  )
611
611
  ] });
612
- }, Bt = b(Gt), jt = () => {
612
+ }, Bt = T(Gt), jt = () => {
613
613
  const [e, o] = _.useState(""), { onEvent: n } = O(), { selectedAccount: c } = D(), { accounts: i } = E(), { setFilter: u, sortedTransactions: l } = X(), s = _.useMemo(
614
614
  () => l.find((r) => r.guid === e),
615
615
  [e, l]
@@ -632,7 +632,7 @@ const U = ({
632
632
  }
633
633
  )
634
634
  ] });
635
- }, Kt = b(jt), Yt = () => {
635
+ }, Kt = T(jt), Yt = () => {
636
636
  const [e, o] = _.useState(0), { accounts: n } = E();
637
637
  return /* @__PURE__ */ d(g, { children: [
638
638
  /* @__PURE__ */ t(Bt, { setTabValue: o }),
@@ -668,7 +668,7 @@ const U = ({
668
668
  /* @__PURE__ */ t(K, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(Kt, {}) }),
669
669
  /* @__PURE__ */ t(K, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
670
670
  ] });
671
- }, He = b(Yt);
671
+ }, He = T(Yt);
672
672
  export {
673
673
  He as A,
674
674
  Nt as u
@@ -10,7 +10,7 @@ import O from "@mui/material/CardContent";
10
10
  import P from "@mui/material/CardHeader";
11
11
  import { useTheme as M } from "@mui/material/styles";
12
12
  import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
13
- import { L as j } from "./LineChart-CbOmpTDP.mjs";
13
+ import { L as j } from "./LineChart-CHTf3RcN.mjs";
14
14
  import { I as f, P as g, S as C } from "./Account-9Tt9DsMn.mjs";
15
15
  import { A } from "./ConnectDrawer-L1_xPNYt.mjs";
16
16
  import { L as z } from "./Loader-DUaFpDGv.mjs";