@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms1

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 (106) hide show
  1. package/dist/{Account-B4CDD-zq.mjs → Account-BDXA6PWh.mjs} +1 -1
  2. package/dist/AccountDetailsContent-CUztd3-b.mjs +683 -0
  3. package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-i3KFhNuo.mjs} +18 -18
  4. package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-QZspYAji.mjs} +10 -12
  5. package/dist/AccountListItem-DX5upmCS.mjs +90 -0
  6. package/dist/{AccountStore-HbVblv86.mjs → AccountStore-BcnDpyLL.mjs} +3 -3
  7. package/dist/{Accounts-CRUehOiy.mjs → Accounts-DXfZotRC.mjs} +1 -1
  8. package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-Df2nII9u.mjs} +31 -31
  9. package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
  10. package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
  11. package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +27 -27
  12. package/dist/{CategoryStore-MUwRWH9e.mjs → CategoryStore-DTgyAMM7.mjs} +2 -2
  13. package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-C5cR-nfQ.mjs} +4 -4
  14. package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BIbTqYOH.mjs} +47 -48
  15. package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +2 -2
  16. package/dist/CurrencyInput-BFKcs-_K.mjs +85 -0
  17. package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
  18. package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-BbJB0nmu.mjs} +3 -3
  19. package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
  20. package/dist/{Drawer-BF40nbsH.mjs → Drawer-BEtCk82g.mjs} +17 -17
  21. package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  22. package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
  23. package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-DpWY3gVb.mjs} +4 -4
  24. package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
  25. package/dist/{Help-DBfsTkAi.mjs → Help-BnPXM_N2.mjs} +145 -124
  26. package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
  27. package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
  28. package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
  29. package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
  30. package/dist/Loader-DUaFpDGv.mjs +24 -0
  31. package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-NpXHhO1n.mjs} +46 -46
  32. package/dist/MicroWidgetContainer-DEiRnYVa.mjs +45 -0
  33. package/dist/MiniWidgetContainer-CmXpTylX.mjs +56 -0
  34. package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-lsuhEpn6.mjs} +4 -4
  35. package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-CNmJWVeI.mjs} +77 -77
  36. package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +8 -8
  37. package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-CqZh1SQa.mjs} +3 -3
  38. package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BKcYmpv3.mjs} +77 -77
  39. package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +1 -1
  40. package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
  41. package/dist/SearchBox-B2_zLv8-.mjs +42 -0
  42. package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
  43. package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
  44. package/dist/{SpendingData-DPQ96k3x.mjs → SpendingData-BuJ03S9d.mjs} +4 -4
  45. package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CjX-hX2O.mjs} +12 -12
  46. package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
  47. package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
  48. package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
  49. package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-D-Q3BU9Z.mjs} +58 -41
  50. package/dist/{TrendsStore-_mRaFUdf.mjs → TrendsStore-BW9FGQeE.mjs} +37 -37
  51. package/dist/{User-BklmOUSd.mjs → User-wXzDI4M8.mjs} +107 -107
  52. package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-C0832BMe.mjs} +233 -231
  53. package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-BhQ1Kx2z.mjs} +36 -36
  54. package/dist/accounts/index.es.js +94 -94
  55. package/dist/analytics/index.es.js +27 -27
  56. package/dist/budgets/index.es.js +251 -250
  57. package/dist/cashflow/index.es.js +158 -157
  58. package/dist/categories/index.es.js +2 -2
  59. package/dist/common/components/Loader.d.ts +2 -1
  60. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  61. package/dist/common/components/barchart/Bar.d.ts +25 -0
  62. package/dist/common/components/barchart/BarChart.d.ts +34 -0
  63. package/dist/common/components/barchart/BarColumn.d.ts +37 -0
  64. package/dist/common/components/barchart/Legend.d.ts +8 -0
  65. package/dist/common/components/barchart/Util.d.ts +42 -0
  66. package/dist/common/components/barchart/index.d.ts +1 -0
  67. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
  68. package/dist/common/components/index.d.ts +1 -0
  69. package/dist/common/index.es.js +660 -395
  70. package/dist/common/utils/Theme.d.ts +3 -1
  71. package/dist/dashboard/index.es.js +21 -21
  72. package/dist/debts/components/DebtsChart.d.ts +2 -1
  73. package/dist/debts/index.es.js +440 -440
  74. package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +3 -3
  75. package/dist/finstrong/index.es.js +118 -118
  76. package/dist/goals/index.es.js +380 -386
  77. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  78. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  79. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  80. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  81. package/dist/help/index.es.js +6 -6
  82. package/dist/investments/index.es.js +279 -278
  83. package/dist/merchants/index.es.js +7 -7
  84. package/dist/microinsights/index.es.js +1 -1
  85. package/dist/networth/components/NetWorthChange.d.ts +1 -3
  86. package/dist/networth/index.es.js +185 -191
  87. package/dist/notifications/index.es.js +30 -30
  88. package/dist/recurringtransactions/index.es.js +85 -85
  89. package/dist/settings/index.es.js +270 -270
  90. package/dist/spending/index.es.js +44 -44
  91. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
  92. package/dist/transactions/index.es.js +169 -168
  93. package/dist/trends/index.es.js +318 -317
  94. package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-CFNF8766.mjs} +1 -1
  95. package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
  96. package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
  97. package/package.json +50 -45
  98. package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
  99. package/dist/AccountListItem-wgmlex-_.mjs +0 -90
  100. package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
  101. package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
  102. package/dist/Loader-Ckqi9Rx6.mjs +0 -21
  103. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
  104. package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
  105. package/dist/SearchBox-B7km148n.mjs +0 -39
  106. package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
@@ -1,59 +1,60 @@
1
- import { T as Ta } from "../TransactionApi-CjBoLleL.mjs";
2
- import { b as P, C as Ve, D as $e, M as Ge, d as We, u as Ue, T as Fe, a as ze } from "../TransactionDetails-Bn0qY5Hw.mjs";
3
- import { B as xa, e as Sa, c as wa } from "../TransactionDetails-Bn0qY5Hw.mjs";
4
- import { T as M } from "../User-BklmOUSd.mjs";
5
- import { O as Ia } from "../User-BklmOUSd.mjs";
6
- import { S as ae, D as Ke } from "../TransactionStore-DbwAutwC.mjs";
7
- import { T as Na } from "../TransactionStore-DbwAutwC.mjs";
8
- import { e as qe } from "../exportTransactionsToCSV-BgV_wTLT.mjs";
9
- import { E as Oa } from "../ExportCsvAction-QhQK4_FU.mjs";
1
+ import { T as Sa } from "../TransactionApi-CjBoLleL.mjs";
2
+ import { b as P, C as Pe, D as $e, M as Ve, d as Ge, u as We, T as Ue, a as Fe } from "../TransactionDetails-5M2vfr59.mjs";
3
+ import { B as wa, e as va, c as Ia } from "../TransactionDetails-5M2vfr59.mjs";
4
+ import { T as M } from "../User-wXzDI4M8.mjs";
5
+ import { O as Na } from "../User-wXzDI4M8.mjs";
6
+ import { S as ae, D as ze } from "../TransactionStore-D-Q3BU9Z.mjs";
7
+ import { T as Oa } from "../TransactionStore-D-Q3BU9Z.mjs";
8
+ import { e as Ke } from "../exportTransactionsToCSV-Cz2t0lmA.mjs";
9
+ import { E as ka } from "../ExportCsvAction-DzTrtPzk.mjs";
10
10
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
11
11
  import u from "react";
12
- import { observer as S } from "mobx-react-lite";
13
- import je from "@mui/material/Paper";
14
- import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
15
- import { L as q } from "../Loader-Ckqi9Rx6.mjs";
16
- import { Text as C, Icon as B, MerchantLogo as Xe, TextField as ne, P as Je } from "@mxenabled/mxui";
17
- import A from "@mui/material/Stack";
18
- import { h as V, u as w, b as j, d as se, m as Qe, a as Ze, g as et, p as tt } from "../hooks-C41HAxM5.mjs";
19
- import { f as ie } from "../NumberFormatting-DjTD0t3W.mjs";
20
- import x from "@mui/material/Box";
21
- import { useTheme as ce } from "@mui/material/styles";
12
+ import { observer as x } from "mobx-react-lite";
13
+ import qe from "@mui/material/Paper";
14
+ import { DataGridPro as je } from "@mui/x-data-grid-pro";
15
+ import A from "@mui/material/Box";
16
+ import { useTheme as Xe } from "@mui/material/styles";
17
+ import { Text as C, Icon as B, MerchantLogo as Ye, TextField as ne, P as Je } from "@mxenabled/mxui";
18
+ import { h as $, u as w, b as q, d as se, m as Qe, a as Ze, g as et, p as tt } from "../hooks-C41HAxM5.mjs";
22
19
  import { fromUnixTime as at } from "date-fns/fromUnixTime";
23
- import { f as nt, a as ot, D as le } from "../Dialog-CDV0kKxj.mjs";
20
+ import { f as nt, a as ot, D as ie } from "../Dialog-BPTr3qHE.mjs";
21
+ import S from "@mui/material/Stack";
22
+ import { f as ce } from "../NumberFormatting-DjTD0t3W.mjs";
23
+ import { L as j } from "../Loader-DUaFpDGv.mjs";
24
24
  import { endOfMonth as rt } from "date-fns/endOfMonth";
25
25
  import { getUnixTime as st } from "date-fns/getUnixTime";
26
26
  import { startOfMonth as it } from "date-fns/startOfMonth";
27
27
  import { startOfToday as z } from "date-fns/startOfToday";
28
- import { l as ct } from "../ConnectDrawer-DVp54lUH.mjs";
29
- import lt from "@mui/material/Divider";
30
- import dt from "@mui/material/MenuItem";
31
- import ut from "@mui/material/RadioGroup";
32
- import { ExpandMore as mt } from "@mxenabled/mx-icons";
33
- import { C as _t } from "../CurrencyInput-D1cjbdCI.mjs";
34
- import { a as pt, u as gt } from "../CategorySelectorDrawer-Dl006GKy.mjs";
28
+ import ct from "@mui/material/styles/useTheme";
29
+ import { l as lt } from "../ConnectDrawer-BIbTqYOH.mjs";
30
+ import dt from "@mui/material/Divider";
31
+ import ut from "@mui/material/MenuItem";
32
+ import mt from "@mui/material/RadioGroup";
33
+ import { ExpandMore as _t } from "@mxenabled/mx-icons";
34
+ import { C as pt } from "../CurrencyInput-BFKcs-_K.mjs";
35
+ import { a as gt, u as ht } from "../CategorySelectorDrawer-DqJK_rrL.mjs";
35
36
  import { b as K } from "../Localization-2MODESHW.mjs";
36
- import { S as ht } from "../SkeletonLoader-BaNboJjD.mjs";
37
- import { A as T, W as ft } from "../WidgetContainer-CDh9fjpR.mjs";
38
- import { D as oe } from "../Drawer-BF40nbsH.mjs";
39
- import { u as Ct } from "../useScreenSize-B5afALev.mjs";
40
- import { S as yt } from "../SearchBox-B7km148n.mjs";
41
- const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2", children: [
37
+ import { S as ft } from "../SkeletonLoader-BaNboJjD.mjs";
38
+ import { A as T, W as Ct } from "../WidgetContainer-BhQ1Kx2z.mjs";
39
+ import { u as yt } from "../useScreenSize-B6JyS_Lj.mjs";
40
+ import { S as bt } from "../SearchBox-B2_zLv8-.mjs";
41
+ import { D as oe } from "../Drawer-BEtCk82g.mjs";
42
+ const Tt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
42
43
  `${t.row.account}`,
43
44
  t.row.number && ` | ${t.row.number}`
44
- ] }), Tt = (t) => {
45
- const { associatedBeats: s } = V(), { showInsights: r } = P(), { amount: a, transaction_type: i } = t.row, l = s.find((p) => p.associated_transaction_guid === t.row.guid), d = i === M.CREDIT;
46
- return /* @__PURE__ */ _(A, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
47
- /* @__PURE__ */ _(C, { color: d ? "success.main" : "text.primary", variant: "body2", children: [
45
+ ] }), At = (t) => {
46
+ const { associatedBeats: s } = $(), { showInsights: r } = P(), { amount: a, transaction_type: i } = t.row, l = s.find((p) => p.associated_transaction_guid === t.row.guid), d = i === M.CREDIT;
47
+ return /* @__PURE__ */ _(S, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
48
+ /* @__PURE__ */ _(C, { color: d ? "success.main" : "text.primary", variant: "Small", children: [
48
49
  d ? "+" : "",
49
- ie(a, "0,0.00")
50
+ ce(a, "0,0.00")
50
51
  ] }),
51
- l && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "caption", children: l.short_title })
52
+ l && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "XSmall", children: l.short_title })
52
53
  ] });
53
- }, At = (t) => {
54
+ }, St = (t) => {
54
55
  const { transactions: s } = w(), [r, a] = u.useState(!1);
55
56
  return /* @__PURE__ */ _(
56
- A,
57
+ S,
57
58
  {
58
59
  alignItems: "center",
59
60
  direction: "row",
@@ -64,15 +65,15 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
64
65
  width: "100%",
65
66
  children: [
66
67
  t.row.has_been_split && /* @__PURE__ */ e(B, { name: "call_split", size: 16 }),
67
- /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ? s.split_transaction_category_label : t.row.category }),
68
+ /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.has_been_split ? s.split_transaction_category_label : t.row.category }),
68
69
  !t.row.has_been_split && r && /* @__PURE__ */ e(B, { name: "edit", sx: { color: "action.active" } })
69
70
  ]
70
71
  }
71
72
  );
72
- }, xt = S(At), St = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: nt(at(t.row.date), ot.MONTH_DAY) }), wt = (t) => {
73
- const s = ce(), { transactions: r } = w(), { is_flagged: a, is_hidden: i, has_been_viewed: l, parent_guid: d } = t.row, h = !l && !!!d;
73
+ }, xt = x(St), wt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: nt(at(t.row.date), ot.MONTH_DAY) }), vt = (t) => {
74
+ const s = Xe(), { transactions: r } = w(), { is_flagged: a, is_hidden: i, has_been_viewed: l, parent_guid: d } = t.row, h = !l && !!!d;
74
75
  return /* @__PURE__ */ _(
75
- x,
76
+ A,
76
77
  {
77
78
  "aria-label": i ? r.is_hidden : r.is_flagged,
78
79
  tabIndex: t.tabIndex,
@@ -97,21 +98,21 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
97
98
  ]
98
99
  }
99
100
  );
100
- }, vt = S(wt), O = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), It = (t) => /* @__PURE__ */ _(A, { alignItems: "center", direction: "row", gap: 8, children: [
101
+ }, It = x(vt), O = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), Dt = (t) => /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", gap: 8, children: [
101
102
  /* @__PURE__ */ e(
102
- Xe,
103
+ Ye,
103
104
  {
104
105
  categoryGuid: t.row.top_level_category_guid || "",
105
106
  merchantGuid: t.row.merchant_guid || ""
106
107
  }
107
108
  ),
108
- /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee })
109
- ] }), Dt = ({
109
+ /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.payee })
110
+ ] }), Nt = ({
110
111
  height: t = "100dvh",
111
112
  onCategoryClick: s,
112
113
  onRowClick: r
113
114
  }) => {
114
- const { transactions: a } = w(), { isCopyLoaded: i } = j(), { isLoading: l, sortedTransactions: d } = V(), { clearExpandedSplits: p, toggleSplit: h } = P();
115
+ const { transactions: a } = w(), { isCopyLoaded: i } = q(), { isLoading: l, sortedTransactions: d } = $(), { clearExpandedSplits: p, toggleSplit: h } = P();
115
116
  u.useEffect(() => () => p(), []);
116
117
  const f = u.useMemo(
117
118
  () => d.map((n) => ({
@@ -122,7 +123,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
122
123
  [d]
123
124
  ), m = ({ row: { id: n, guid: g, has_been_split: I }, field: E }) => I ? h(n) : E === "category" ? s?.(g) : r?.(g);
124
125
  if (!i)
125
- return /* @__PURE__ */ e(q, {});
126
+ return /* @__PURE__ */ e(j, {});
126
127
  const v = [
127
128
  {
128
129
  field: "flag",
@@ -130,7 +131,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
130
131
  minWidth: 32,
131
132
  width: 32,
132
133
  sortable: !1,
133
- renderCell: (n) => /* @__PURE__ */ e(vt, { ...n }),
134
+ renderCell: (n) => /* @__PURE__ */ e(It, { ...n }),
134
135
  renderHeader: () => /* @__PURE__ */ e("span", { "aria-label": a.transaction_status, role: "presentation" })
135
136
  },
136
137
  {
@@ -138,7 +139,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
138
139
  headerName: a.date_title,
139
140
  width: 103,
140
141
  renderHeader: O,
141
- renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(St, { ...n }),
142
+ renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(wt, { ...n }),
142
143
  sortingOrder: ["desc", "asc"]
143
144
  },
144
145
  {
@@ -147,7 +148,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
147
148
  headerName: a.payee_title,
148
149
  flex: 0.33,
149
150
  renderHeader: O,
150
- renderCell: It,
151
+ renderCell: Dt,
151
152
  sortingOrder: ["asc", "desc"]
152
153
  },
153
154
  {
@@ -163,7 +164,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
163
164
  headerName: a.account_title,
164
165
  flex: 0.33,
165
166
  renderHeader: O,
166
- renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(bt, { ...n }),
167
+ renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(Tt, { ...n }),
167
168
  sortingOrder: ["asc", "desc"]
168
169
  },
169
170
  {
@@ -171,14 +172,14 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
171
172
  headerName: a.amount_title,
172
173
  flex: 0.25,
173
174
  renderHeader: O,
174
- renderCell: Tt,
175
+ renderCell: At,
175
176
  align: "right",
176
177
  headerAlign: "right",
177
178
  sortingOrder: ["asc", "desc"]
178
179
  }
179
180
  ];
180
- return /* @__PURE__ */ e(je, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
181
- Ye,
181
+ return /* @__PURE__ */ e(qe, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
182
+ je,
182
183
  {
183
184
  columns: v,
184
185
  disableColumnFilter: !0,
@@ -197,10 +198,10 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
197
198
  }
198
199
  }
199
200
  ) });
200
- }, Nt = S(Dt), Et = ({ copy: t, isOpen: s, onClose: r, onPrimaryAction: a }) => {
201
- const { common: i, transactions: l } = w(), { isCopyLoaded: d } = j();
201
+ }, Et = x(Nt), Ot = ({ copy: t, isOpen: s, onClose: r, onPrimaryAction: a }) => {
202
+ const { common: i, transactions: l } = w(), { isCopyLoaded: d } = q();
202
203
  return d ? /* @__PURE__ */ _(
203
- le,
204
+ ie,
204
205
  {
205
206
  copy: {
206
207
  title: t.title
@@ -215,13 +216,13 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
215
216
  /* @__PURE__ */ e(C, { component: "p", truncate: !1, children: l.add_account_modal_cta })
216
217
  ]
217
218
  }
218
- ) : /* @__PURE__ */ e(q, {});
219
- }, Ot = S(Et), Mt = () => {
219
+ ) : /* @__PURE__ */ e(j, {});
220
+ }, Mt = x(Ot), kt = () => {
220
221
  const { visibleAccounts: t } = se(), { common: s, transactions: r } = w(), { manualTransaction: a, setIsAmountValid: i, updateManualTransaction: l } = P(), [d, p] = u.useState(""), [h, f] = u.useState(""), m = u.useMemo(
221
222
  () => t.filter((o) => o.is_manual),
222
223
  [t]
223
224
  ).map((o) => ({
224
- label: `${o.name} | ${ie(o.balance, "0,0.00")}`,
225
+ label: `${o.name} | ${ce(o.balance, "0,0.00")}`,
225
226
  value: o.guid
226
227
  })), v = {
227
228
  error_amount_is_invalid: s.currency_input.error_amount_is_invalid,
@@ -237,16 +238,16 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
237
238
  }, E = (o) => {
238
239
  l({ ...a, account_guid: o });
239
240
  };
240
- return /* @__PURE__ */ _(x, { className: "mx-txn-manual-transaction-details", children: [
241
- /* @__PURE__ */ _(A, { gap: 40, mx: 24, my: 32, children: [
241
+ return /* @__PURE__ */ _(A, { className: "mx-txn-manual-transaction-details", children: [
242
+ /* @__PURE__ */ _(S, { gap: 40, mx: 24, my: 32, children: [
242
243
  /* @__PURE__ */ _(
243
- A,
244
+ S,
244
245
  {
245
246
  direction: "row",
246
247
  sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
247
248
  children: [
248
249
  /* @__PURE__ */ e(
249
- _t,
250
+ pt,
250
251
  {
251
252
  allowDecimals: !0,
252
253
  amount: d,
@@ -262,7 +263,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
262
263
  type: "number"
263
264
  }
264
265
  ),
265
- /* @__PURE__ */ e(ut, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ _(A, { alignItems: "center", direction: "row", children: [
266
+ /* @__PURE__ */ e(mt, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", children: [
266
267
  /* @__PURE__ */ e(
267
268
  ae,
268
269
  {
@@ -300,34 +301,34 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
300
301
  ne,
301
302
  {
302
303
  InputLabelProps: { shrink: !0 },
303
- SelectProps: { defaultValue: -1, IconComponent: mt },
304
+ SelectProps: { defaultValue: -1, IconComponent: _t },
304
305
  label: r.manual_transaction_select_an_account,
305
306
  onChange: (o) => E(o.target.value),
306
307
  placeholder: r.manual_transaction_select,
307
308
  select: !0,
308
309
  sx: { bgcolor: "background.paper" },
309
- children: m.map((o) => /* @__PURE__ */ e(dt, { value: o.value, children: o.label }, o.value))
310
+ children: m.map((o) => /* @__PURE__ */ e(ut, { value: o.value, children: o.label }, o.value))
310
311
  }
311
312
  )
312
313
  ] }),
313
- /* @__PURE__ */ e(lt, { light: !0 }),
314
- /* @__PURE__ */ _(x, { bgcolor: "background.paper", children: [
315
- /* @__PURE__ */ e(Ve, { transaction: a }),
314
+ /* @__PURE__ */ e(dt, { light: !0 }),
315
+ /* @__PURE__ */ _(A, { bgcolor: "background.paper", children: [
316
+ /* @__PURE__ */ e(Pe, { transaction: a }),
316
317
  /* @__PURE__ */ e($e, { transaction: a }),
317
- /* @__PURE__ */ e(Ge, { transaction: a }),
318
- /* @__PURE__ */ e(We, { transaction: a })
318
+ /* @__PURE__ */ e(Ve, { transaction: a }),
319
+ /* @__PURE__ */ e(Ge, { transaction: a })
319
320
  ] })
320
321
  ] });
321
- }, kt = S(Mt), Lt = ({ onClose: t, transaction: s }) => {
322
- const { addOrUpdateTransactionRule: r, updateTransaction: a } = V(), { transactions: i } = w(), { categories: l } = Qe(), [d, p] = u.useState(""), h = u.useMemo(
322
+ }, Lt = x(kt), Rt = ({ onClose: t, transaction: s }) => {
323
+ const { addOrUpdateTransactionRule: r, updateTransaction: a } = $(), { transactions: i } = w(), { categories: l } = Qe(), [d, p] = u.useState(""), h = u.useMemo(
323
324
  () => l.find((m) => m.guid === d),
324
325
  [d]
325
326
  ), f = async (m) => {
326
327
  await a({ ...s, category_guid: d }), m && await r(d, s), p(""), t();
327
328
  };
328
- return /* @__PURE__ */ _(x, { className: "mx-txn-edit-category-action", children: [
329
+ return /* @__PURE__ */ _(A, { className: "mx-txn-edit-category-action", children: [
329
330
  /* @__PURE__ */ e(
330
- pt,
331
+ gt,
331
332
  {
332
333
  initialSelected: s.category_guid,
333
334
  onClose: t,
@@ -337,7 +338,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
337
338
  }
338
339
  ),
339
340
  /* @__PURE__ */ e(
340
- le,
341
+ ie,
341
342
  {
342
343
  copy: {
343
344
  title: K(
@@ -351,7 +352,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
351
352
  onSecondaryAction: () => f(!1),
352
353
  primaryText: i.actions_apply_to_all,
353
354
  secondaryText: i.actions_this_time_only,
354
- children: /* @__PURE__ */ e(Je, { variant: "subtitle1", children: K(
355
+ children: /* @__PURE__ */ e(Je, { variant: "Paragraph", children: K(
355
356
  i.actions_all_past_and_future,
356
357
  s.description,
357
358
  h?.name
@@ -359,137 +360,137 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
359
360
  }
360
361
  )
361
362
  ] });
362
- }, Rt = S(Lt), re = 120, Ht = ({
363
+ }, Ht = x(Rt), re = 120, Bt = ({
363
364
  onBackClick: t,
364
365
  height: s = "100dvh",
365
366
  showInsights: r = !1,
366
367
  sx: a = {}
367
368
  }) => {
368
- const { visibleAccounts: i, refreshAccounts: l } = se(), { is_mobile_webview: d, clientConfig: p, config: h } = Ze(), { setSearchValue: f } = gt(), { onEvent: m } = et(), { common: v, transactions: n } = w(), {
369
+ const { visibleAccounts: i, refreshAccounts: l } = se(), { is_mobile_webview: d, clientConfig: p, config: h } = Ze(), { setSearchValue: f } = ht(), { onEvent: m } = et(), { common: v, transactions: n } = w(), {
369
370
  displayedDateRange: g,
370
371
  isCopyLoaded: I,
371
372
  isInitialized: E,
372
373
  selectedAccountGuids: o,
373
374
  setDisplayedDate: k,
374
- setSelectedAccounts: de
375
- } = j(), { isDesktop: ue, isTablet: me } = Ct(), L = ce(), {
376
- addTransaction: _e,
377
- filter: Y,
378
- isTransactionDataLoaded: X,
379
- loadAssociatedBeats: pe,
380
- loadTransactionData: ge,
381
- setFilter: $,
375
+ setSelectedAccounts: le
376
+ } = q(), { isDesktop: de, isTablet: ue } = yt(), L = ct(), {
377
+ addTransaction: me,
378
+ filter: X,
379
+ isTransactionDataLoaded: Y,
380
+ loadAssociatedBeats: _e,
381
+ loadTransactionData: pe,
382
+ setFilter: V,
382
383
  sortedTransactionsWithSplits: G,
383
- tags: he,
384
- detailedTransactions: fe,
385
- updateTransaction: Ce
386
- } = V(), {
387
- clearExpandedSplits: ye,
388
- isAmountValid: be,
384
+ tags: ge,
385
+ detailedTransactions: he,
386
+ updateTransaction: fe
387
+ } = $(), {
388
+ clearExpandedSplits: Ce,
389
+ isAmountValid: ye,
389
390
  manualTransaction: R,
390
- searchValue: Te,
391
- setSearchValue: Ae,
392
- setShowInsights: xe,
391
+ searchValue: be,
392
+ setSearchValue: Te,
393
+ setShowInsights: Ae,
393
394
  updateManualTransaction: Se
394
- } = P(), { userProfile: we } = tt(), [W, y] = u.useState(""), [J, H] = u.useState(""), [ve, U] = u.useState(!1), [Ie, Q] = u.useState(!1), { announce: De, ariaLive: Ne } = Ue(), D = p?.transactions?.selected_account_guid;
395
+ } = P(), { userProfile: xe } = tt(), [W, y] = u.useState(""), [J, H] = u.useState(""), [we, U] = u.useState(!1), [ve, Q] = u.useState(!1), { announce: Ie, ariaLive: De } = We(), D = p?.transactions?.selected_account_guid;
395
396
  u.useEffect(() => {
396
- X || ge().finally();
397
+ Y || pe().finally();
397
398
  }, []), u.useEffect(() => {
398
399
  const c = D ? [{ guid: D }] : i.filter((N) => !N.is_hidden), ee = it(z()), te = rt(z());
399
- D || de(c), k(ee, te), $({
400
+ D || le(c), k(ee, te), V({
400
401
  accounts: c.map((N) => N.guid),
401
402
  custom: (N) => !N.accountIsClosed && !N.accountIsHidden,
402
403
  dateRange: { start: ee, end: te }
403
404
  }), m(T.TRANSACTIONS_VIEW);
404
405
  }, [i]), u.useEffect(() => {
405
- $({
406
- ...Y,
406
+ V({
407
+ ...X,
407
408
  accounts: D ? [D] : o,
408
409
  dateRange: { start: g.start, end: g.end }
409
- }), pe(g.start).finally();
410
+ }), _e(g.start).finally();
410
411
  }, [g, o]), u.useEffect(() => {
411
- xe(r);
412
+ Ae(r);
412
413
  }, [r]), u.useEffect(() => {
413
- I && n.showing_transactions_count && De(
414
+ I && n.showing_transactions_count && Ie(
414
415
  K(
415
416
  n.showing_transactions_count,
416
417
  G.length
417
418
  )
418
419
  );
419
420
  }, [I, g, o, G, n]);
420
- const Ee = u.useMemo(
421
+ const Ne = u.useMemo(
421
422
  () => i.filter((c) => c.is_manual),
422
423
  [i]
423
- ), b = J ? fe.find((c) => c.guid === J) : void 0, Z = be && !!R.payee && !!R.account_guid && !!R.category_guid, Oe = (c) => {
424
- ye(), k(c[0], c[1]);
425
- }, Me = (c) => {
426
- Ae(c), $({
427
- ...Y,
424
+ ), b = J ? he.find((c) => c.guid === J) : void 0, Z = ye && !!R.payee && !!R.account_guid && !!R.category_guid, Ee = (c) => {
425
+ Ce(), k(c[0], c[1]);
426
+ }, Oe = (c) => {
427
+ Te(c), V({
428
+ ...X,
428
429
  searchTerm: c
429
430
  }), m(T.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
431
+ }, Me = () => {
432
+ Ke(G, ge), m(T.TRANSACTIONS_CLICK_EXPORT);
430
433
  }, ke = () => {
431
- qe(G, he), m(T.TRANSACTIONS_CLICK_EXPORT);
432
- }, Le = () => {
433
- Ee.length > 0 ? (Se({
434
- ...Ke,
434
+ Ne.length > 0 ? (Se({
435
+ ...ze,
435
436
  date: st(z()),
436
- user_guid: we?.user_guid || ""
437
+ user_guid: xe?.user_guid || ""
437
438
  }), y(
438
439
  "addTransaction"
439
440
  /* AddTransaction */
440
441
  ), m(T.TRANSACTIONS_CLICK_ADD)) : (U(!0), m(T.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
441
- }, Re = async () => {
442
- Z && await _e(R), y("");
443
- }, He = () => {
442
+ }, Le = async () => {
443
+ Z && await me(R), y("");
444
+ }, Re = () => {
444
445
  U(!1), Q(!0);
445
- }, Be = async () => {
446
+ }, He = async () => {
446
447
  Q(!1), await l();
447
- }, Pe = async () => {
448
- b && !b.has_been_viewed && await Ce({ ...b, has_been_viewed: !0 }), y("");
448
+ }, Be = async () => {
449
+ b && !b.has_been_viewed && await fe({ ...b, has_been_viewed: !0 }), y("");
449
450
  };
450
451
  if (!E)
451
- return /* @__PURE__ */ e(q, {});
452
+ return /* @__PURE__ */ e(j, {});
452
453
  const F = [];
453
- return !d && (ue || me) && F.push({
454
+ return !d && (de || ue) && F.push({
454
455
  iconName: "open_in_new",
455
456
  label: n.export_csv_btn,
456
- onClick: ke
457
+ onClick: Me
457
458
  }), h.show_connections_widget_in_master && F.push({
458
459
  iconName: "add",
459
460
  label: n.add_transaction_btn,
460
- onClick: Le
461
+ onClick: ke
461
462
  }), /* @__PURE__ */ _(
462
- ft,
463
+ Ct,
463
464
  {
464
465
  ...!D && { accountOptions: i },
465
466
  actions: F,
466
467
  calendarActions: {
467
- onRangeChanged: Oe
468
+ onRangeChanged: Ee
468
469
  },
469
470
  onAccountsFilterClick: () => m(T.ACCOUNTS_CLICK_FILTER),
470
471
  onBackClick: t,
471
472
  sx: a,
472
473
  title: n.transactions_title,
473
474
  children: [
474
- X ? /* @__PURE__ */ _(A, { children: [
475
- Ne,
476
- /* @__PURE__ */ e(x, { mt: 16, children: /* @__PURE__ */ e(
477
- yt,
475
+ Y ? /* @__PURE__ */ _(S, { children: [
476
+ De,
477
+ /* @__PURE__ */ e(A, { mt: 16, children: /* @__PURE__ */ e(
478
+ bt,
478
479
  {
479
- onChange: Me,
480
+ onChange: Oe,
480
481
  placeholder: n.action_bar_search_placeholder,
481
- searchValue: Te
482
+ searchValue: be
482
483
  }
483
484
  ) }),
484
485
  /* @__PURE__ */ e(
485
- x,
486
+ A,
486
487
  {
487
488
  sx: {
488
489
  [L.breakpoints.down("md")]: { display: "none" },
489
490
  [L.breakpoints.up("md")]: { display: "block" }
490
491
  },
491
492
  children: /* @__PURE__ */ e(
492
- Nt,
493
+ Et,
493
494
  {
494
495
  height: `calc(${s} - ${re}px)`,
495
496
  onCategoryClick: (c) => {
@@ -509,14 +510,14 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
509
510
  }
510
511
  ),
511
512
  /* @__PURE__ */ e(
512
- x,
513
+ A,
513
514
  {
514
515
  sx: {
515
516
  [L.breakpoints.down("md")]: { display: "block" },
516
517
  [L.breakpoints.up("md")]: { display: "none" }
517
518
  },
518
519
  children: /* @__PURE__ */ e(
519
- Fe,
520
+ Ue,
520
521
  {
521
522
  height: `calc(${s} - ${re}px)`,
522
523
  onClick: (c) => {
@@ -531,19 +532,19 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
531
532
  )
532
533
  }
533
534
  )
534
- ] }) : /* @__PURE__ */ e(ht, { variant: "list" }),
535
+ ] }) : /* @__PURE__ */ e(ft, { variant: "list" }),
535
536
  /* @__PURE__ */ e(
536
537
  oe,
537
538
  {
538
539
  ariaLabelClose: v.close_aria,
539
540
  isOpen: W === "transaction" && !!b,
540
- onClose: Pe,
541
+ onClose: Be,
541
542
  title: n.details_title,
542
- children: b && /* @__PURE__ */ e(ze, { transaction: b })
543
+ children: b && /* @__PURE__ */ e(Fe, { transaction: b })
543
544
  }
544
545
  ),
545
546
  b && W === "category" && /* @__PURE__ */ e(
546
- Rt,
547
+ Ht,
547
548
  {
548
549
  onClose: () => {
549
550
  f(""), y(""), H("");
@@ -558,47 +559,47 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
558
559
  isOpen: W === "addTransaction",
559
560
  isPrimaryDisabled: !Z,
560
561
  onClose: () => y(""),
561
- onPrimaryAction: Re,
562
+ onPrimaryAction: Le,
562
563
  title: n.add_transaction_title,
563
- children: /* @__PURE__ */ e(kt, {})
564
+ children: /* @__PURE__ */ e(Lt, {})
564
565
  }
565
566
  ),
566
567
  /* @__PURE__ */ e(
567
- Ot,
568
+ Mt,
568
569
  {
569
570
  copy: { title: n.add_manual_account },
570
- isOpen: ve,
571
+ isOpen: we,
571
572
  onClose: () => {
572
573
  U(!1);
573
574
  },
574
- onPrimaryAction: He
575
+ onPrimaryAction: Re
575
576
  }
576
577
  ),
577
578
  /* @__PURE__ */ e(
578
- ct,
579
+ lt,
579
580
  {
580
- onClose: Be,
581
- showConnectWidget: Ie,
581
+ onClose: He,
582
+ showConnectWidget: ve,
582
583
  title: n.add_manual_account
583
584
  }
584
585
  )
585
586
  ]
586
587
  }
587
588
  );
588
- }, Ca = S(Ht);
589
+ }, ba = x(Bt);
589
590
  export {
590
- Ot as AddAccountModal,
591
- xa as BottomActions,
592
- Oa as ExportCsvAction,
593
- Ia as TRANSACTION_EVENTS,
594
- Sa as TopActions,
595
- Ta as TransactionApi,
596
- ze as TransactionDetails,
597
- Fe as TransactionList,
598
- wa as TransactionRow,
599
- Na as TransactionStore,
600
- Nt as TransactionTable,
601
- Ca as TransactionWidget,
602
- qe as exportTransactionsToCSV,
591
+ Mt as AddAccountModal,
592
+ wa as BottomActions,
593
+ ka as ExportCsvAction,
594
+ Na as TRANSACTION_EVENTS,
595
+ va as TopActions,
596
+ Sa as TransactionApi,
597
+ Fe as TransactionDetails,
598
+ Ue as TransactionList,
599
+ Ia as TransactionRow,
600
+ Oa as TransactionStore,
601
+ Et as TransactionTable,
602
+ ba as TransactionWidget,
603
+ Ke as exportTransactionsToCSV,
603
604
  P as useTransactionsUiStore
604
605
  };