@mx-cartographer/experiences 7.12.16 → 7.13.0

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{AccountDetailsHeader-DkBNsLsI.mjs → AccountDetailsHeader-D9gbTbUt.mjs} +31 -31
  3. package/dist/{AccountFields-DeZSQOuM.mjs → AccountFields-CxqONzjY.mjs} +7 -7
  4. package/dist/AccountListItem-LcJVJysf.mjs +90 -0
  5. package/dist/{AccountStore-Brc0MNSF.mjs → AccountStore-BNlTuxWN.mjs} +12 -6
  6. package/dist/Accounts-o7ohkngR.mjs +27 -0
  7. package/dist/{BudgetUtil--_QXyszn.mjs → BudgetUtil-CLhRnCoX.mjs} +75 -75
  8. package/dist/{CashflowStore-DEdQJU5i.mjs → CashflowStore-D3MKniVM.mjs} +11 -11
  9. package/dist/{CategorySelectorDrawer-wfUTIbLR.mjs → CategorySelectorDrawer-DYHNBd2v.mjs} +31 -31
  10. package/dist/{ConnectDrawer-CioFo6Wy.mjs → ConnectDrawer-C0wjwcJt.mjs} +1 -1
  11. package/dist/{ConnectionsDrawer-DqhSaMrJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +1 -1
  12. package/dist/{Drawer-DV4NTsFg.mjs → Drawer-Bbe4AMB1.mjs} +5 -5
  13. package/dist/{GoalStore-0bd-Upkc.mjs → GoalStore-DB58sKTC.mjs} +8 -8
  14. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  15. package/dist/{Help-CDu1Fvrc.mjs → Help-CpLfyvPv.mjs} +24 -24
  16. package/dist/{LineChart-B1qbKR8q.mjs → LineChart-DBSlRSEm.mjs} +102 -102
  17. package/dist/{ManageIncome-BnWWjP2g.mjs → ManageIncome-QvqN555q.mjs} +62 -62
  18. package/dist/{MiniWidgetContainer-Cu72GNsE.mjs → MiniWidgetContainer-xLWSV6Wz.mjs} +13 -13
  19. package/dist/{NetWorthStore-DP78lgZ0.mjs → NetWorthStore-BqZ44-4M.mjs} +1 -1
  20. package/dist/{NotificationSettings-BH2yOwTB.mjs → NotificationSettings-DU3vJh5J.mjs} +139 -139
  21. package/dist/{OriginalBalanceAction-BM6rT_Cn.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +6 -6
  22. package/dist/{RecurringSettings-BmXtfHtK.mjs → RecurringSettings-DdOcok2e.mjs} +2 -2
  23. package/dist/{RecurringTransactions-CYNpe_RS.mjs → RecurringTransactions-BOzBqfdg.mjs} +11 -11
  24. package/dist/{RecurringTransactionsStore-BD-OfVZ-.mjs → RecurringTransactionsStore-CcfPS0d3.mjs} +1 -1
  25. package/dist/{SpendingLegend-Bq6aXMNh.mjs → SpendingLegend-CJjjTGBw.mjs} +76 -76
  26. package/dist/{StatusIndicator-BV3oFzxo.mjs → StatusIndicator-CIKUOoN_.mjs} +53 -53
  27. package/dist/{TransactionDetails-DYlTwSDt.mjs → TransactionDetails-BpcWeXNU.mjs} +350 -350
  28. package/dist/{WidgetContainer-B0ncgABX.mjs → WidgetContainer-D_iaToWJ.mjs} +12 -12
  29. package/dist/accounts/index.es.js +107 -107
  30. package/dist/accounts/utils/Accounts.d.ts +1 -1
  31. package/dist/analytics/index.es.js +18 -18
  32. package/dist/budgets/index.es.js +182 -182
  33. package/dist/cashflow/index.es.js +223 -223
  34. package/dist/categories/index.es.js +1 -1
  35. package/dist/common/index.es.js +54 -64
  36. package/dist/dashboard/index.es.js +9 -9
  37. package/dist/debts/index.es.js +469 -469
  38. package/dist/finstrong/index.es.js +68 -68
  39. package/dist/goals/index.es.js +437 -437
  40. package/dist/help/index.es.js +2 -2
  41. package/dist/insights/index.es.js +159 -159
  42. package/dist/investments/index.es.js +292 -292
  43. package/dist/merchants/index.es.js +12 -12
  44. package/dist/networth/index.es.js +175 -168
  45. package/dist/notifications/index.es.js +13 -13
  46. package/dist/recurringtransactions/index.es.js +69 -69
  47. package/dist/settings/index.es.js +187 -187
  48. package/dist/spending/index.es.js +58 -58
  49. package/dist/transactions/index.es.js +70 -70
  50. package/dist/trends/index.es.js +15 -15
  51. package/package.json +1 -1
  52. package/dist/AccountListItem-BIVhda6q.mjs +0 -90
  53. package/dist/Accounts-M-LTzStv.mjs +0 -27
  54. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
@@ -1,26 +1,26 @@
1
- import { T as Sa } from "../TransactionApi-Ck5Ua-7F.mjs";
2
- import { C as Me, D as Le, M as Re, a as He, T as Pe } from "../TransactionDetails-DYlTwSDt.mjs";
3
- import { B as Da, b as Ia } from "../TransactionDetails-DYlTwSDt.mjs";
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";
4
4
  import { T as E } from "../Transaction-CqjlF6SO.mjs";
5
5
  import { O as Na } from "../Transaction-CqjlF6SO.mjs";
6
- import { S as Z, D as Be } from "../TransactionStore-DP5vipL2.mjs";
6
+ import { S as Z, D as Pe } from "../TransactionStore-DP5vipL2.mjs";
7
7
  import { T as ka } from "../TransactionStore-DP5vipL2.mjs";
8
- import { u as R, T as $e } from "../StatusIndicator-BV3oFzxo.mjs";
9
- import { a as Ma } from "../StatusIndicator-BV3oFzxo.mjs";
8
+ import { u as R, T as $e } from "../StatusIndicator-CIKUOoN_.mjs";
9
+ import { a as Ma } from "../StatusIndicator-CIKUOoN_.mjs";
10
10
  import { e as Ve } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
11
11
  import { E as Ra } from "../ExportCsvAction-izkIdXj5.mjs";
12
12
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
13
13
  import m from "react";
14
- import { observer as w } from "mobx-react-lite";
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
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";
18
18
  import x from "@mui/material/Box";
19
19
  import { useTheme as qe } from "@mui/material/styles";
20
- import { Text as C, Icon as L, MerchantLogo as je, TextField as ee, P as Xe } from "@mxenabled/mxui";
21
- import { fromUnixTime as Ye } from "date-fns/fromUnixTime";
20
+ import { Text as C, Icon as L, MerchantLogo as je, TextField as ee, P as Ye } from "@mxenabled/mxui";
21
+ import { fromUnixTime as Xe } from "date-fns/fromUnixTime";
22
22
  import { f as Je, D as Qe } from "../DateFormats-BMpMrZpW.mjs";
23
- import S from "@mui/material/Stack";
23
+ import w from "@mui/material/Stack";
24
24
  import { f as oe } 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";
@@ -29,38 +29,38 @@ 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-CioFo6Wy.mjs";
32
+ import { C as nt } from "../ConnectDrawer-C0wjwcJt.mjs";
33
33
  import ot 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-wfUTIbLR.mjs";
38
+ import { a as lt, u as dt } from "../CategorySelectorDrawer-DYHNBd2v.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";
42
42
  import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
43
43
  import { u as pt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
44
- import { W as gt } from "../WidgetContainer-B0ncgABX.mjs";
44
+ import { W as gt } from "../WidgetContainer-D_iaToWJ.mjs";
45
45
  import { A } from "../Analytics-BYItVAe-.mjs";
46
46
  import { S as ht } from "../SearchBox-B7km148n.mjs";
47
- import { D as te } from "../Drawer-DV4NTsFg.mjs";
48
- const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
47
+ import { D as te } from "../Drawer-Bbe4AMB1.mjs";
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
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;
53
- return /* @__PURE__ */ _(S, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
54
- /* @__PURE__ */ _(C, { color: c ? "success.main" : "text.primary", variant: "Small", children: [
53
+ return /* @__PURE__ */ _(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
54
+ /* @__PURE__ */ _(C, { color: c ? "success.main" : "text.primary", variant: "body2", children: [
55
55
  c ? "+" : "",
56
56
  oe(a, "0,0.00")
57
57
  ] }),
58
- s && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "XSmall", children: s.short_title })
58
+ s && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "caption", children: s.short_title })
59
59
  ] });
60
60
  }, yt = (t) => {
61
61
  const { transactions: o } = D(), [r, a] = m.useState(!1);
62
62
  return /* @__PURE__ */ _(
63
- S,
63
+ w,
64
64
  {
65
65
  alignItems: "center",
66
66
  direction: "row",
@@ -71,12 +71,12 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
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: "Small", 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 ? o.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
- }, Tt = w(yt), bt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: Je(Ye(t.row.date), Qe.MONTH_DAY) }), At = (t) => {
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
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;
81
81
  return /* @__PURE__ */ _(
82
82
  x,
@@ -112,7 +112,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
112
112
  ]
113
113
  }
114
114
  );
115
- }, xt = w(At), N = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), St = (t) => /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", gap: 8, children: [
115
+ }, xt = S(At), N = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), wt = (t) => /* @__PURE__ */ _(w, { alignItems: "center", direction: "row", gap: 8, children: [
116
116
  /* @__PURE__ */ e(
117
117
  je,
118
118
  {
@@ -120,8 +120,8 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
120
120
  merchantGuid: t.row.merchant_guid || ""
121
121
  }
122
122
  ),
123
- /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.payee })
124
- ] }), wt = ({
123
+ /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee })
124
+ ] }), St = ({
125
125
  height: t = "100dvh",
126
126
  onCategoryClick: o,
127
127
  onRowClick: r
@@ -155,7 +155,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
155
155
  headerName: a.date_title,
156
156
  width: 103,
157
157
  renderHeader: N,
158
- renderCell: (i) => i.row.parent_guid ? null : /* @__PURE__ */ e(bt, { ...i }),
158
+ renderCell: (i) => i.row.parent_guid ? null : /* @__PURE__ */ e(Tt, { ...i }),
159
159
  sortingOrder: ["desc", "asc"]
160
160
  },
161
161
  {
@@ -164,7 +164,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
164
164
  headerName: a.payee_title,
165
165
  flex: 0.33,
166
166
  renderHeader: N,
167
- renderCell: St,
167
+ renderCell: wt,
168
168
  sortingOrder: ["asc", "desc"]
169
169
  },
170
170
  {
@@ -172,7 +172,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
172
172
  headerName: a.category_title,
173
173
  flex: 0.25,
174
174
  renderHeader: N,
175
- renderCell: (i) => /* @__PURE__ */ e(Tt, { ...i }),
175
+ renderCell: (i) => /* @__PURE__ */ e(bt, { ...i }),
176
176
  sortingOrder: ["asc", "desc"]
177
177
  },
178
178
  {
@@ -215,7 +215,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
215
215
  }
216
216
  }
217
217
  ) });
218
- }, Dt = w(wt), It = ({ copy: t, isOpen: o, onClose: r, onPrimaryAction: a }) => {
218
+ }, Dt = S(St), It = ({ copy: t, isOpen: o, onClose: r, onPrimaryAction: a }) => {
219
219
  const { common: l, transactions: s } = D(), { isCopyLoaded: c } = K();
220
220
  return c ? /* @__PURE__ */ _(
221
221
  re,
@@ -234,7 +234,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
234
234
  ]
235
235
  }
236
236
  ) : /* @__PURE__ */ e(z, {});
237
- }, vt = w(It), Nt = () => {
237
+ }, vt = S(It), Nt = () => {
238
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
239
  () => t.filter((n) => n.is_manual),
240
240
  [t]
@@ -248,17 +248,17 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
248
248
  enter_amount: o.currency_input.enter_amount
249
249
  }, p = (n) => {
250
250
  h(n), s({ ...a, amount: Number(n) });
251
- }, i = (n, P) => {
252
- s({ ...a, transaction_type: Number(P) });
251
+ }, i = (n, B) => {
252
+ s({ ...a, transaction_type: Number(B) });
253
253
  }, g = (n) => {
254
254
  f(n), s({ ...a, payee: n, description: n });
255
255
  }, v = (n) => {
256
256
  s({ ...a, account_guid: n });
257
257
  };
258
258
  return /* @__PURE__ */ _(x, { className: "mx-txn-manual-transaction-details", children: [
259
- /* @__PURE__ */ _(S, { gap: 40, mx: 24, my: 32, children: [
259
+ /* @__PURE__ */ _(w, { gap: 40, mx: 24, my: 32, children: [
260
260
  /* @__PURE__ */ _(
261
- S,
261
+ w,
262
262
  {
263
263
  direction: "row",
264
264
  sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
@@ -280,7 +280,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
280
280
  type: "number"
281
281
  }
282
282
  ),
283
- /* @__PURE__ */ e(it, { name: "TransactionType", onChange: i, row: !0, children: /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", children: [
283
+ /* @__PURE__ */ e(it, { name: "TransactionType", onChange: i, row: !0, children: /* @__PURE__ */ _(w, { alignItems: "center", direction: "row", children: [
284
284
  /* @__PURE__ */ e(
285
285
  Z,
286
286
  {
@@ -336,7 +336,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
336
336
  /* @__PURE__ */ e(He, { transaction: a })
337
337
  ] })
338
338
  ] });
339
- }, Et = w(Nt), kt = ({ onClose: t, transaction: o }) => {
339
+ }, Et = S(Nt), kt = ({ onClose: t, transaction: o }) => {
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]
@@ -369,7 +369,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
369
369
  onSecondaryAction: () => f(!1),
370
370
  primaryText: l.actions_apply_to_all,
371
371
  secondaryText: l.actions_this_time_only,
372
- children: /* @__PURE__ */ e(Xe, { variant: "Paragraph", children: U(
372
+ children: /* @__PURE__ */ e(Ye, { variant: "subtitle1", children: U(
373
373
  l.actions_all_past_and_future,
374
374
  o.description,
375
375
  y?.name
@@ -377,16 +377,16 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
377
377
  }
378
378
  )
379
379
  ] });
380
- }, Ot = w(kt), ae = 120, Mt = ({
380
+ }, Ot = S(kt), ae = 120, Mt = ({
381
381
  onBackClick: t,
382
382
  height: o = "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: P, isTablet: ie } = _t(), k = at(), {
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(), {
387
387
  addTransaction: se,
388
388
  filter: ce,
389
- isTransactionDataLoaded: B,
389
+ isTransactionDataLoaded: P,
390
390
  loadTransactionData: le,
391
391
  setFilter: q,
392
392
  sortedTransactions: j,
@@ -398,23 +398,23 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
398
398
  clearExpandedSplits: pe,
399
399
  isAmountValid: ge,
400
400
  manualTransaction: O,
401
- searchValue: X,
401
+ searchValue: Y,
402
402
  setSearchValue: he,
403
403
  setShowInsights: fe,
404
404
  updateManualTransaction: Ce
405
- } = R(), { userProfile: ye } = ze(), [$, T] = m.useState(""), [Y, M] = m.useState(""), [Te, V] = m.useState(!1), [be, J] = m.useState(!1), { announce: Ae, ariaLive: xe } = ut(), W = h?.transactions?.selected_account_guid;
405
+ } = R(), { userProfile: ye } = ze(), [$, b] = m.useState(""), [X, M] = m.useState(""), [be, V] = m.useState(!1), [Te, J] = m.useState(!1), { announce: Ae, ariaLive: xe } = ut(), W = h?.transactions?.selected_account_guid;
406
406
  pt({
407
407
  widgetName: "TransactionWidget",
408
- isLoaded: B
408
+ isLoaded: P
409
409
  }), m.useEffect(() => {
410
- B || le().finally();
410
+ P || le().finally();
411
411
  const u = tt(F()), Oe = Ze(F());
412
412
  n(u, Oe), d(A.TRANSACTIONS_VIEW);
413
413
  }, []), m.useEffect(() => {
414
414
  g && q({
415
415
  accounts: W ? [W] : v,
416
416
  dateRange: { start: i.start, end: i.end },
417
- searchTerm: X
417
+ searchTerm: Y
418
418
  });
419
419
  }, [g, i, v]), m.useEffect(() => {
420
420
  fe(r);
@@ -423,9 +423,9 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
423
423
  U(p.showing_transactions_count, j.length)
424
424
  );
425
425
  }, [g, j]);
426
- const b = Y ? me.find((u) => u.guid === Y) : void 0, Q = ge && !!O.payee && !!O.account_guid && !!O.category_guid, Se = (u) => {
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
427
  pe(), n(u[0], u[1]);
428
- }, we = (u) => {
428
+ }, Se = (u) => {
429
429
  he(u), q({
430
430
  ...ce,
431
431
  searchTerm: u
@@ -434,26 +434,26 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
434
434
  Ve(de, ue), d(A.TRANSACTIONS_CLICK_EXPORT);
435
435
  }, Ie = () => {
436
436
  l.length > 0 ? (Ce({
437
- ...Be,
437
+ ...Pe,
438
438
  date: et(F()),
439
439
  user_guid: ye?.user_guid || ""
440
- }), T(
440
+ }), b(
441
441
  "addTransaction"
442
442
  /* AddTransaction */
443
443
  ), d(A.TRANSACTIONS_CLICK_ADD)) : (V(!0), d(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
444
444
  }, ve = async () => {
445
- Q && await se(O), T("");
445
+ Q && await se(O), b("");
446
446
  }, Ne = () => {
447
447
  V(!1), J(!0);
448
448
  }, Ee = async () => {
449
449
  J(!1), await s();
450
450
  }, ke = async () => {
451
- b && !b.has_been_viewed && await _e({ ...b, has_been_viewed: !0 }), T("");
451
+ T && !T.has_been_viewed && await _e({ ...T, has_been_viewed: !0 }), b("");
452
452
  };
453
453
  if (!g)
454
454
  return /* @__PURE__ */ e(z, {});
455
455
  const G = [];
456
- return !c && (P || ie) && G.push({
456
+ return !c && (B || ie) && G.push({
457
457
  iconName: "open_in_new",
458
458
  label: p.export_csv_btn,
459
459
  onClick: De
@@ -466,7 +466,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
466
466
  {
467
467
  actions: G,
468
468
  calendarActions: {
469
- onRangeChanged: Se
469
+ onRangeChanged: we
470
470
  },
471
471
  onAccountsFilterClick: () => d(A.ACCOUNTS_CLICK_FILTER),
472
472
  onBackClick: t,
@@ -474,14 +474,14 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
474
474
  sx: a,
475
475
  title: p.transactions_title,
476
476
  children: [
477
- B ? /* @__PURE__ */ _(S, { children: [
477
+ P ? /* @__PURE__ */ _(w, { children: [
478
478
  xe,
479
479
  /* @__PURE__ */ e(x, { mt: 16, children: /* @__PURE__ */ e(
480
480
  ht,
481
481
  {
482
- onChange: we,
482
+ onChange: Se,
483
483
  placeholder: p.action_bar_search_placeholder,
484
- searchValue: X
484
+ searchValue: Y
485
485
  }
486
486
  ) }),
487
487
  /* @__PURE__ */ e(
@@ -496,13 +496,13 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
496
496
  {
497
497
  height: `calc(${o} - ${ae}px)`,
498
498
  onCategoryClick: (u) => {
499
- M(u), T(
499
+ M(u), b(
500
500
  "category"
501
501
  /* Category */
502
502
  );
503
503
  },
504
504
  onRowClick: (u) => {
505
- M(u), T(
505
+ M(u), b(
506
506
  "transaction"
507
507
  /* Transaction */
508
508
  ), d(A.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: u });
@@ -523,7 +523,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
523
523
  {
524
524
  height: `calc(${o} - ${ae}px)`,
525
525
  onClick: (u) => {
526
- M(u), T(
526
+ M(u), b(
527
527
  "transaction"
528
528
  /* Transaction */
529
529
  );
@@ -539,19 +539,19 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
539
539
  te,
540
540
  {
541
541
  ariaLabelClose: I.close_aria,
542
- isOpen: $ === "transaction" && !!b,
542
+ isOpen: $ === "transaction" && !!T,
543
543
  onClose: ke,
544
544
  title: p.details_title,
545
- children: b && /* @__PURE__ */ e(Pe, { transaction: b })
545
+ children: T && /* @__PURE__ */ e(Be, { transaction: T })
546
546
  }
547
547
  ),
548
- b && $ === "category" && /* @__PURE__ */ e(
548
+ T && $ === "category" && /* @__PURE__ */ e(
549
549
  Ot,
550
550
  {
551
551
  onClose: () => {
552
- f(""), T(""), M("");
552
+ f(""), b(""), M("");
553
553
  },
554
- transaction: b
554
+ transaction: T
555
555
  }
556
556
  ),
557
557
  /* @__PURE__ */ e(
@@ -560,7 +560,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
560
560
  ariaLabelClose: I.close_aria,
561
561
  isOpen: $ === "addTransaction",
562
562
  isPrimaryDisabled: !Q,
563
- onClose: () => T(""),
563
+ onClose: () => b(""),
564
564
  onPrimaryAction: ve,
565
565
  title: p.add_transaction_title,
566
566
  children: /* @__PURE__ */ e(Et, {})
@@ -570,7 +570,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
570
570
  vt,
571
571
  {
572
572
  copy: { title: p.add_manual_account },
573
- isOpen: Te,
573
+ isOpen: be,
574
574
  onClose: () => {
575
575
  V(!1);
576
576
  },
@@ -581,27 +581,27 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
581
581
  nt,
582
582
  {
583
583
  onClose: Ee,
584
- showConnectWidget: be,
584
+ showConnectWidget: Te,
585
585
  title: p.add_manual_account
586
586
  }
587
587
  )
588
588
  ]
589
589
  }
590
590
  );
591
- }, ba = w(Mt);
591
+ }, Ta = S(Mt);
592
592
  export {
593
593
  vt as AddAccountModal,
594
594
  Da as BottomActions,
595
595
  Ra as ExportCsvAction,
596
596
  Na as TRANSACTION_EVENTS,
597
597
  Ia as TopActions,
598
- Sa as TransactionApi,
599
- Pe as TransactionDetails,
598
+ wa as TransactionApi,
599
+ Be as TransactionDetails,
600
600
  $e as TransactionList,
601
601
  Ma as TransactionRow,
602
602
  ka as TransactionStore,
603
603
  Dt as TransactionTable,
604
- ba as TransactionWidget,
604
+ Ta as TransactionWidget,
605
605
  Ve as exportTransactionsToCSV,
606
606
  R as useTransactionsUiStore
607
607
  };
@@ -29,20 +29,20 @@ import { c as Bt, i as Pt, d as Vt, e as Ft, b as at, g as it, f as Ke } from ".
29
29
  import $t from "@mui/material/ToggleButton";
30
30
  import zt from "@mui/material/ToggleButtonGroup";
31
31
  import { parseISO as lt } from "date-fns/parseISO";
32
- import { H as ke } from "../HeaderCell-DjuifqHJ.mjs";
32
+ import { H as ke } from "../HeaderCell-P8w6CmfO.mjs";
33
33
  import { T as G, b as Kt } from "../ViewMoreMicroCard-BhG9hCoO.mjs";
34
34
  import { useGridApiContext as Yt, useGridRootProps as jt, DataGridPro as Ut } from "@mui/x-data-grid-pro";
35
35
  import Xt from "@mui/material/Badge";
36
36
  import Zt from "@mui/material/IconButton";
37
37
  import { A as v } from "../Analytics-BYItVAe-.mjs";
38
- import { T as ct } from "../StatusIndicator-BV3oFzxo.mjs";
39
- import { T as dt } from "../TransactionDetails-DYlTwSDt.mjs";
40
- import { D as We } from "../Drawer-DV4NTsFg.mjs";
38
+ import { T as ct } from "../StatusIndicator-CIKUOoN_.mjs";
39
+ import { T as dt } from "../TransactionDetails-BpcWeXNU.mjs";
40
+ import { D as We } 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
- import { W as ut } from "../WidgetContainer-B0ncgABX.mjs";
44
- import { L as Pe } from "../LineChart-B1qbKR8q.mjs";
45
- import { M as Qt } from "../MiniWidgetContainer-Cu72GNsE.mjs";
43
+ import { W as ut } from "../WidgetContainer-D_iaToWJ.mjs";
44
+ import { L as Pe } from "../LineChart-DBSlRSEm.mjs";
45
+ import { M as Qt } from "../MiniWidgetContainer-xLWSV6Wz.mjs";
46
46
  import { subMonths as qt } from "date-fns";
47
47
  import { TrendingUp as Jt, TrendingDown as eo, MultilineChart as to, ExpandLess as oo, ExpandMore as no, ArrowBack as so } from "@mxenabled/mx-icons";
48
48
  import { M as ro } from "../MicroWidgetContainer-B_EnfvCq.mjs";
@@ -59,7 +59,7 @@ import go from "@mui/material/Paper";
59
59
  import { E as po } from "../ExportCsvAction-izkIdXj5.mjs";
60
60
  import { u as fo } from "../useInsightsEnabled-DL_oNyI0.mjs";
61
61
  import { E as yo } from "../EmptyState-DHAkGsjk.mjs";
62
- import { C as Co } from "../ConnectDrawer-CioFo6Wy.mjs";
62
+ import { C as Co } from "../ConnectDrawer-C0wjwcJt.mjs";
63
63
  const ht = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
64
64
  const { categories: n } = A(), { getCategoryName: o } = J(), r = o(t);
65
65
  return /* @__PURE__ */ C(x, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
@@ -72,7 +72,7 @@ const ht = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
72
72
  children: /* @__PURE__ */ e(xe, { categoryGuid: s })
73
73
  }
74
74
  ),
75
- /* @__PURE__ */ e(Q, { variant: "Body", children: r })
75
+ /* @__PURE__ */ e(Q, { variant: "body1", children: r })
76
76
  ] });
77
77
  }, _o = ({
78
78
  categoryGuids: { guid: t, topLevelGuid: s },
@@ -105,21 +105,21 @@ const ht = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
105
105
  children: /* @__PURE__ */ C(tt, { children: [
106
106
  /* @__PURE__ */ C(W, { alignItems: "center", display: "flex", flexDirection: "column", children: [
107
107
  /* @__PURE__ */ e(ht, { categoryGuid: t, topLevelCategoryGuid: s }),
108
- /* @__PURE__ */ e(Q, { variant: "Small", children: `${n.length}-month total` }),
108
+ /* @__PURE__ */ e(Q, { variant: "body2", children: `${n.length}-month total` }),
109
109
  /* @__PURE__ */ e(we, { amount: i, bold: !0, formatString: "0,0", variant: "body2" })
110
110
  ] }),
111
111
  /* @__PURE__ */ e(Ne, { sx: { my: 16, width: "100%" } }),
112
112
  /* @__PURE__ */ e(Fe, { container: !0, children: n.map((y, m) => /* @__PURE__ */ C(g.Fragment, { children: [
113
113
  m > 0 && m % 3 === 0 && /* @__PURE__ */ e(Ne, { sx: { my: 16, width: "100%" } }),
114
114
  /* @__PURE__ */ e(Fe, { item: !0, xs: 4, children: /* @__PURE__ */ C(W, { alignItems: "center", display: "flex", flexDirection: "column", children: [
115
- /* @__PURE__ */ e(Q, { color: l.palette.text.secondary, variant: "XSmall", children: y.x }),
115
+ /* @__PURE__ */ e(Q, { color: l.palette.text.secondary, variant: "caption", children: y.x }),
116
116
  /* @__PURE__ */ e(
117
117
  we,
118
118
  {
119
119
  amount: y.y,
120
120
  bold: !0,
121
121
  formatString: "0,0",
122
- variant: "Body"
122
+ variant: "body1"
123
123
  }
124
124
  )
125
125
  ] }) })
@@ -177,7 +177,7 @@ const ht = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
177
177
  }
178
178
  }
179
179
  ),
180
- /* @__PURE__ */ e(Q, { variant: "Body", children: u(c) })
180
+ /* @__PURE__ */ e(Q, { variant: "body1", children: u(c) })
181
181
  ]
182
182
  },
183
183
  c
@@ -197,8 +197,8 @@ const ht = ({ categoryGuid: t, topLevelCategoryGuid: s }) => {
197
197
  const i = n.find((m) => m.id === u)?.data?.[a], y = o?.[a];
198
198
  return i === void 0 || !y ? null : /* @__PURE__ */ e(et, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ e(tt, { children: /* @__PURE__ */ C(W, { alignItems: "center", display: "flex", flexDirection: "column", children: [
199
199
  /* @__PURE__ */ e(ht, { categoryGuid: t, topLevelCategoryGuid: s }),
200
- /* @__PURE__ */ e(Q, { color: l.palette.text.secondary, variant: "Small", children: Z(y, B.MONTH_SHORT_YEAR) }),
201
- /* @__PURE__ */ e(we, { amount: String(i), bold: !0, formatString: "0,0", variant: "Body" })
200
+ /* @__PURE__ */ e(Q, { color: l.palette.text.secondary, variant: "body2", children: Z(y, B.MONTH_SHORT_YEAR) }),
201
+ /* @__PURE__ */ e(we, { amount: String(i), bold: !0, formatString: "0,0", variant: "body1" })
202
202
  ] }) }) });
203
203
  }, wo = ({
204
204
  onHoverArea: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.12.16",
3
+ "version": "7.13.0",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,90 +0,0 @@
1
- import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
2
- import { observer as b } from "mobx-react-lite";
3
- import I from "@mui/material/Badge";
4
- import m from "@mui/material/Box";
5
- import S from "@mui/material/ListItem";
6
- import v from "@mui/material/ListItemAvatar";
7
- import C from "@mui/material/ListItemButton";
8
- import _ from "@mui/material/ListItemText";
9
- import B from "@mui/material/styles/useTheme";
10
- import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
11
- import { Error as A } from "@mxenabled/mx-icons";
12
- import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as T } from "./AccountFields-DeZSQOuM.mjs";
14
- import { u as X } from "./useAccountDisplayName-DKwT1mWv.mjs";
15
- import { u as $ } from "./hooks-BxkfR-Ff.mjs";
16
- import { C as d } from "./Account-BiB1F8lL.mjs";
17
- import { f as k } from "./NumberFormatting-QCaNwbjv.mjs";
18
- const w = {
19
- gridRow: 1,
20
- gridColumn: 1,
21
- zIndex: 2
22
- }, E = ({ size: t = 20 }) => /* @__PURE__ */ e(j, { size: t, children: /* @__PURE__ */ e(A, { color: "error", filled: !0, sx: { fontSize: t, ...w } }) }), M = ({
23
- account: t,
24
- onRowClick: s,
25
- listItemProps: c,
26
- shouldShowConnectionStatus: p = !1
27
- }) => {
28
- const u = B(), f = X(t), { accounts: i } = $(), { firstSubtitle: h, firstValue: g, secondSubtitle: x, secondValue: y } = T(
29
- t,
30
- i
31
- );
32
- let n;
33
- (t.connectionStatus === d.Error || t.connectionStatus === d.RequiresMfa) && (n = /* @__PURE__ */ e(E, { size: 16 }));
34
- const a = /* @__PURE__ */ r(l, { children: [
35
- /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
36
- I,
37
- {
38
- badgeContent: p ? n : void 0,
39
- sx: {
40
- "& .MuiBadge-badge": {
41
- right: -1
42
- }
43
- },
44
- children: /* @__PURE__ */ e(L, { alt: "MX", institutionGuid: t.institution_guid || "" })
45
- }
46
- ) }),
47
- /* @__PURE__ */ e(
48
- _,
49
- {
50
- disableTypography: !0,
51
- primary: /* @__PURE__ */ r(
52
- o,
53
- {
54
- bold: !0,
55
- color: t.is_hidden ? u.palette.text.secondary : void 0,
56
- sx: { whiteSpace: "normal" },
57
- variant: "Body",
58
- children: [
59
- `${f} ${t.account_number ? `*${t.account_number}` : ""}`,
60
- " ",
61
- t.is_hidden && !t.is_closed && i.is_hidden,
62
- t.is_closed && i.is_closed
63
- ]
64
- }
65
- ),
66
- secondary: /* @__PURE__ */ r(l, { children: [
67
- /* @__PURE__ */ r(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
68
- /* @__PURE__ */ e(o, { variant: "XSmall", children: h }),
69
- /* @__PURE__ */ e(o, { bold: !0, variant: "Small", children: k(g, "0,0.00") })
70
- ] }),
71
- /* @__PURE__ */ r(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
72
- /* @__PURE__ */ e(o, { variant: "XSmall", children: x }),
73
- /* @__PURE__ */ e(o, { ml: "auto", variant: "XSmall", children: y })
74
- ] })
75
- ] })
76
- }
77
- )
78
- ] });
79
- return /* @__PURE__ */ e(
80
- S,
81
- {
82
- sx: { backgroundColor: "background.paper", color: t.is_closed ? "grey.700" : "" },
83
- ...c,
84
- children: s ? /* @__PURE__ */ e(C, { alignItems: "flex-start", onClick: s, sx: { px: 24 }, children: a }) : a
85
- }
86
- );
87
- }, Z = b(M);
88
- export {
89
- Z as A
90
- };
@@ -1,27 +0,0 @@
1
- import { A as e, C as u, E as r, c as p, M as y } from "./Account-BiB1F8lL.mjs";
2
- const l = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, R = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, f = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, m = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t, n, s, _) => t.filter((i) => !(i.member_is_managed_by_user && _)).sort(d).map((i) => {
3
- const c = n.find((a) => a.guid === i.institution_guid), o = s.find((a) => a.guid === i.member_guid);
4
- return E(i, c, o);
5
- }), E = (t, n, s) => {
6
- let _ = u.Connected;
7
- s && (r.includes(s.connection_status) ? _ = u.Error : p.includes(s.connection_status) ? _ = u.Processing : y.includes(s.connection_status) && (_ = u.RequiresMfa));
8
- const i = [
9
- t.user_name || t.feed_name || "",
10
- t.account_number ? `*${t.account_number}` : ""
11
- ].join(" ").trim();
12
- return {
13
- ...t,
14
- connectionStatus: _,
15
- displayName: i,
16
- institution: n,
17
- member: s
18
- };
19
- }, d = (t, n) => t.account_type > n.account_type ? 1 : t.account_type < n.account_type ? -1 : (t.name || "") > (n.name || "") ? 1 : (t.name || "") < (n.name || "") ? -1 : 0;
20
- export {
21
- l as a,
22
- R as b,
23
- m as c,
24
- A as d,
25
- I as i,
26
- f as u
27
- };
@@ -1,6 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { Text as o } from "@mxenabled/mxui";
3
- const l = (e) => /* @__PURE__ */ r(o, { fontWeight: 600, variant: "Small", children: e.colDef.headerName });
4
- export {
5
- l as H
6
- };