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

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 (154) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/{Account-B4CDD-zq.mjs → Account-CvR2-dSR.mjs} +1 -1
  3. package/dist/AccountDetailsContent-CitErkuS.mjs +686 -0
  4. package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-BkG3MNYo.mjs} +19 -19
  5. package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-zCMqet85.mjs} +10 -12
  6. package/dist/AccountListItem-DHrz8Mml.mjs +90 -0
  7. package/dist/{AccountStore-HbVblv86.mjs → AccountStore-LgfBcYMe.mjs} +101 -75
  8. package/dist/Accounts-Bzy1_REQ.mjs +9 -0
  9. package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-BmZXkL0C.mjs} +32 -32
  10. package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
  11. package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
  12. package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +27 -27
  13. package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
  14. package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
  15. package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BkvlItWx.mjs} +55 -56
  16. package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
  17. package/dist/CurrencyInput-itK0R3wV.mjs +85 -0
  18. package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
  19. package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-Bq-aPy-5.mjs} +3 -3
  20. package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
  21. package/dist/Drawer-By9V-B5L.mjs +178 -0
  22. package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-Cglo8Mca.mjs} +4 -4
  23. package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
  24. package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-1P19goZ7.mjs} +111 -151
  25. package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
  26. package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
  27. package/dist/{Help-DBfsTkAi.mjs → Help-Ea3BlXQp.mjs} +146 -125
  28. package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
  29. package/dist/LineChart-BF4QA-Lx.mjs +580 -0
  30. package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-BxTkF6Tz.mjs} +2 -2
  31. package/dist/Loader-DUaFpDGv.mjs +24 -0
  32. package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-CaoQl609.mjs} +142 -142
  33. package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
  34. package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
  35. package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-rC0q7P7t.mjs} +4 -4
  36. package/dist/NotificationSettings-uzM8tCoH.mjs +674 -0
  37. package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-CDX_kqHa.mjs} +14 -22
  38. package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +9 -9
  39. package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-B4ybrS0B.mjs} +17 -17
  40. package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BqijW_8S.mjs} +79 -79
  41. package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +81 -91
  42. package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
  43. package/dist/SearchBox-B2_zLv8-.mjs +42 -0
  44. package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
  45. package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
  46. package/dist/SpendingData-DQ1b9uqq.mjs +53 -0
  47. package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CDO060GT.mjs} +65 -65
  48. package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
  49. package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
  50. package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
  51. package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
  52. package/dist/TrendsStore-yO7qYv97.mjs +186 -0
  53. package/dist/{User-BklmOUSd.mjs → User-Cnlegl1N.mjs} +107 -107
  54. package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +211 -205
  55. package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-CoFDmQRE.mjs} +36 -36
  56. package/dist/accounts/index.es.js +200 -197
  57. package/dist/accounts/stores/AccountStore.d.ts +22 -25
  58. package/dist/accounts/utils/Accounts.d.ts +1 -2
  59. package/dist/analytics/index.es.js +27 -27
  60. package/dist/budgets/components/AddBudgets.d.ts +2 -1
  61. package/dist/budgets/index.es.js +703 -669
  62. package/dist/budgets/store/BudgetsStore.d.ts +0 -1
  63. package/dist/cashflow/index.es.js +420 -404
  64. package/dist/categories/index.es.js +2 -2
  65. package/dist/categories/stores/CategoryStore.d.ts +3 -6
  66. package/dist/categories/util/CategoryUtil.d.ts +2 -3
  67. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  68. package/dist/common/components/Loader.d.ts +2 -1
  69. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  70. package/dist/common/components/barchart/Bar.d.ts +25 -0
  71. package/dist/common/components/barchart/BarChart.d.ts +34 -0
  72. package/dist/common/components/barchart/BarColumn.d.ts +37 -0
  73. package/dist/common/components/barchart/Legend.d.ts +8 -0
  74. package/dist/common/components/barchart/Util.d.ts +42 -0
  75. package/dist/common/components/barchart/index.d.ts +1 -0
  76. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
  77. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
  78. package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
  79. package/dist/common/components/index.d.ts +1 -0
  80. package/dist/common/hooks/index.d.ts +2 -0
  81. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  82. package/dist/common/hooks/usePrevious.d.ts +2 -0
  83. package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
  84. package/dist/common/index.es.js +712 -436
  85. package/dist/common/stores/AppDataStore.d.ts +1 -3
  86. package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
  87. package/dist/common/stores/GlobalStore.d.ts +3 -3
  88. package/dist/common/stores/GlobalUiStore.d.ts +2 -3
  89. package/dist/common/stores/UserStore.d.ts +2 -3
  90. package/dist/common/types/Account.d.ts +6 -9
  91. package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
  92. package/dist/common/utils/Theme.d.ts +3 -1
  93. package/dist/dashboard/index.es.js +93 -91
  94. package/dist/debts/components/DebtsChart.d.ts +2 -1
  95. package/dist/debts/index.es.js +529 -527
  96. package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-DuAaI5XA.mjs} +3 -3
  97. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +4 -5
  98. package/dist/finstrong/index.es.js +876 -867
  99. package/dist/goals/index.es.js +526 -525
  100. package/dist/goals/stores/GoalStore.d.ts +4 -17
  101. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  102. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  103. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  104. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  105. package/dist/help/index.es.js +13 -9
  106. package/dist/{hooks-C41HAxM5.mjs → hooks-ZMp65DFz.mjs} +11 -11
  107. package/dist/investments/index.es.js +534 -531
  108. package/dist/investments/stores/HoldingStore.d.ts +0 -1
  109. package/dist/merchants/index.es.js +8 -8
  110. package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
  111. package/dist/microinsights/index.d.ts +1 -0
  112. package/dist/microinsights/index.es.js +101 -14
  113. package/dist/networth/components/NetWorthChange.d.ts +1 -3
  114. package/dist/networth/index.es.js +284 -285
  115. package/dist/notifications/index.es.js +95 -94
  116. package/dist/notifications/stores/NotificationStore.d.ts +1 -3
  117. package/dist/recurringtransactions/index.es.js +582 -562
  118. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -4
  119. package/dist/settings/index.es.js +340 -337
  120. package/dist/spending/index.es.js +281 -268
  121. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
  122. package/dist/transactions/index.es.js +253 -255
  123. package/dist/transactions/stores/TransactionStore.d.ts +77 -21
  124. package/dist/transactions/stores/UiStore.d.ts +2 -0
  125. package/dist/trends/components/TrendsTable.d.ts +0 -2
  126. package/dist/trends/index.es.js +838 -793
  127. package/dist/trends/utils/TrendsData.d.ts +1 -0
  128. package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
  129. package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
  130. package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
  131. package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
  132. package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
  133. package/package.json +57 -52
  134. package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
  135. package/dist/AccountListItem-wgmlex-_.mjs +0 -90
  136. package/dist/Accounts-CRUehOiy.mjs +0 -27
  137. package/dist/CategoryStore-MUwRWH9e.mjs +0 -176
  138. package/dist/CategoryUtil-DfVKKkRf.mjs +0 -80
  139. package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
  140. package/dist/Drawer-BF40nbsH.mjs +0 -163
  141. package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
  142. package/dist/LineChart-C1PxNf7P.mjs +0 -581
  143. package/dist/Loader-Ckqi9Rx6.mjs +0 -21
  144. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
  145. package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
  146. package/dist/NotificationSettings-B74rQVYC.mjs +0 -672
  147. package/dist/SearchBox-B7km148n.mjs +0 -39
  148. package/dist/SkeletonLoader-BaNboJjD.mjs +0 -38
  149. package/dist/SpendingData-DPQ96k3x.mjs +0 -55
  150. package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
  151. package/dist/TransactionStore-DbwAutwC.mjs +0 -671
  152. package/dist/TrendsStore-_mRaFUdf.mjs +0 -182
  153. package/dist/common/components/SkeletonLoader.d.ts +0 -7
  154. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +0 -3
@@ -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 W, C as Pe, D as We, M as $e, d as Ve, u as Ge, T as Ue, a as Fe } from "../TransactionDetails-m5PddMQn.mjs";
3
+ import { B as wa, e as Ia, c as va } from "../TransactionDetails-m5PddMQn.mjs";
4
+ import { T as M } from "../User-Cnlegl1N.mjs";
5
+ import { O as Na } from "../User-Cnlegl1N.mjs";
6
+ import { S as ae, D as ze } from "../TransactionStore-PRlwE-TF.mjs";
7
+ import { T as Oa } from "../TransactionStore-PRlwE-TF.mjs";
8
+ import { e as Ke } from "../exportTransactionsToCSV-DuAaI5XA.mjs";
9
+ import { E as ka } from "../ExportCsvAction-Cglo8Mca.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 S from "@mui/material/Box";
16
+ import { useTheme as Xe } from "@mui/material/styles";
17
+ import { Text as C, Icon as P, MerchantLogo as Ye, TextField as ne, P as Je } from "@mxenabled/mxui";
18
+ import { h as $, u as w, b as j, d as se, m as Qe, a as Ze, g as et, o as tt } from "../hooks-ZMp65DFz.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 N from "@mui/material/Stack";
22
+ import { f as ce } from "../NumberFormatting-DjTD0t3W.mjs";
23
+ import { L as X } 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
- 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";
35
- 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: [
27
+ import { startOfToday as K } from "date-fns/startOfToday";
28
+ import ct from "@mui/material/styles/useTheme";
29
+ import { l as lt } from "../ConnectDrawer-BkvlItWx.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-itK0R3wV.mjs";
35
+ import { a as gt, u as ht } from "../CategorySelectorDrawer-B-I3kajA.mjs";
36
+ import { b as q } from "../Localization-2MODESHW.mjs";
37
+ import { A, W as ft } from "../WidgetContainer-CoFDmQRE.mjs";
38
+ import { u as Ct } from "../useScreenSize-B6JyS_Lj.mjs";
39
+ import { u as yt } from "../useWidgetLoadTimer-hIOioiKx.mjs";
40
+ import { S as bt } from "../SearchBox-B2_zLv8-.mjs";
41
+ import { D as oe } from "../Drawer-By9V-B5L.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 } = W(), { 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__ */ _(N, { 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
+ N,
57
58
  {
58
59
  alignItems: "center",
59
60
  direction: "row",
@@ -63,22 +64,22 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
63
64
  onMouseLeave: () => a(!1),
64
65
  width: "100%",
65
66
  children: [
66
- 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
- !t.row.has_been_split && r && /* @__PURE__ */ e(B, { name: "edit", sx: { color: "action.active" } })
67
+ t.row.has_been_split && /* @__PURE__ */ e(P, { name: "call_split", size: 16 }),
68
+ /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.has_been_split ? s.split_transaction_category_label : t.row.category }),
69
+ !t.row.has_been_split && r && /* @__PURE__ */ e(P, { 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) }), It = (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
+ S,
76
77
  {
77
78
  "aria-label": i ? r.is_hidden : r.is_flagged,
78
79
  tabIndex: t.tabIndex,
79
80
  children: [
80
- a && /* @__PURE__ */ e(B, { fill: !0, name: "flag", size: 16, sx: { color: "warning.dark" } }),
81
- !a && i && /* @__PURE__ */ e(B, { name: "visibility_off", size: 16 }),
81
+ a && /* @__PURE__ */ e(P, { fill: !0, name: "flag", size: 16, sx: { color: "warning.dark" } }),
82
+ !a && i && /* @__PURE__ */ e(P, { name: "visibility_off", size: 16 }),
82
83
  h && /* @__PURE__ */ e(
83
84
  "svg",
84
85
  {
@@ -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
+ }, vt = x(It), O = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), Dt = (t) => /* @__PURE__ */ _(N, { 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 } = j(), { isLoading: l, sortedTransactions: d } = $(), { clearExpandedSplits: p, toggleSplit: h } = W();
115
116
  u.useEffect(() => () => p(), []);
116
117
  const f = u.useMemo(
117
118
  () => d.map((n) => ({
@@ -120,10 +121,10 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
120
121
  ...n
121
122
  })),
122
123
  [d]
123
- ), m = ({ row: { id: n, guid: g, has_been_split: I }, field: E }) => I ? h(n) : E === "category" ? s?.(g) : r?.(g);
124
+ ), m = ({ row: { id: n, guid: g, has_been_split: T }, field: E }) => T ? h(n) : E === "category" ? s?.(g) : r?.(g);
124
125
  if (!i)
125
- return /* @__PURE__ */ e(q, {});
126
- const v = [
126
+ return /* @__PURE__ */ e(X, {});
127
+ const I = [
127
128
  {
128
129
  field: "flag",
129
130
  headerName: "",
@@ -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,16 +172,16 @@ 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
- columns: v,
184
+ columns: I,
184
185
  disableColumnFilter: !0,
185
186
  disableColumnMenu: !0,
186
187
  getCellClassName: (n) => n.row.parent_guid ? "split-row" : "",
@@ -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
+ }, Et = x(Nt), Ot = ({ copy: t, isOpen: s, onClose: r, onPrimaryAction: a }) => {
201
202
  const { common: i, transactions: l } = w(), { isCopyLoaded: d } = j();
202
203
  return d ? /* @__PURE__ */ _(
203
- le,
204
+ ie,
204
205
  {
205
206
  copy: {
206
207
  title: t.title
@@ -215,15 +216,15 @@ 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 = () => {
220
- 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(
219
+ ) : /* @__PURE__ */ e(X, {});
220
+ }, Mt = x(Ot), kt = () => {
221
+ const { visibleAccounts: t } = se(), { common: s, transactions: r } = w(), { manualTransaction: a, setIsAmountValid: i, updateManualTransaction: l } = W(), [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
- })), v = {
227
+ })), I = {
227
228
  error_amount_is_invalid: s.currency_input.error_amount_is_invalid,
228
229
  error_amount_must_be_equal_to: s.currency_input.error_amount_must_be_equal_to,
229
230
  error_amount_must_be_less_than_or_equal_to: s.currency_input.error_amount_must_be_less_than_or_equal_to,
@@ -232,26 +233,26 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
232
233
  p(o), l({ ...a, amount: Number(o) });
233
234
  }, g = (o, k) => {
234
235
  l({ ...a, transaction_type: Number(k) });
235
- }, I = (o) => {
236
+ }, T = (o) => {
236
237
  f(o), l({ ...a, payee: o, description: o });
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__ */ _(S, { className: "mx-txn-manual-transaction-details", children: [
242
+ /* @__PURE__ */ _(N, { gap: 40, mx: 24, my: 32, children: [
242
243
  /* @__PURE__ */ _(
243
- A,
244
+ N,
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,
253
254
  ariaLabel: r.amount_title,
254
- copy: v,
255
+ copy: I,
255
256
  inputProps: {
256
257
  noValidate: !0
257
258
  },
@@ -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__ */ _(N, { alignItems: "center", direction: "row", children: [
266
267
  /* @__PURE__ */ e(
267
268
  ae,
268
269
  {
@@ -291,7 +292,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
291
292
  {
292
293
  label: r.payee_title,
293
294
  name: "payee",
294
- onChange: (o) => I(o.target.value),
295
+ onChange: (o) => T(o.target.value),
295
296
  sx: { bgcolor: "background.paper" },
296
297
  value: h
297
298
  }
@@ -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__ */ _(S, { bgcolor: "background.paper", children: [
316
+ /* @__PURE__ */ e(Pe, { transaction: a }),
317
+ /* @__PURE__ */ e(We, { transaction: a }),
316
318
  /* @__PURE__ */ e($e, { transaction: a }),
317
- /* @__PURE__ */ e(Ge, { transaction: a }),
318
- /* @__PURE__ */ e(We, { transaction: a })
319
+ /* @__PURE__ */ e(Ve, { 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__ */ _(S, { 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,10 +338,10 @@ 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
- title: K(
344
+ title: q(
344
345
  i.actions_apply_to_all_transaction_types,
345
346
  s.description
346
347
  )
@@ -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: q(
355
356
  i.actions_all_past_and_future,
356
357
  s.description,
357
358
  h?.name
@@ -359,191 +360,188 @@ 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: I, transactions: n } = w(), {
369
370
  displayedDateRange: g,
370
- isCopyLoaded: I,
371
+ isCopyLoaded: T,
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,
375
+ setSelectedAccounts: le
376
+ } = j(), { isDesktop: de, isTablet: ue } = Ct(), L = ct(), {
377
+ addTransaction: me,
377
378
  filter: Y,
378
- isTransactionDataLoaded: X,
379
- loadAssociatedBeats: pe,
380
- loadTransactionData: ge,
381
- setFilter: $,
379
+ loadAssociatedBeats: _e,
380
+ setFilter: V,
382
381
  sortedTransactionsWithSplits: G,
383
- tags: he,
384
- detailedTransactions: fe,
385
- updateTransaction: Ce
386
- } = V(), {
387
- clearExpandedSplits: ye,
388
- isAmountValid: be,
382
+ tags: pe,
383
+ transactions: ge,
384
+ updateTransaction: he
385
+ } = $(), {
386
+ clearExpandedSplits: fe,
387
+ isAmountValid: Ce,
389
388
  manualTransaction: R,
390
- searchValue: Te,
391
- setSearchValue: Ae,
392
- setShowInsights: xe,
393
- 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
- u.useEffect(() => {
396
- X || ge().finally();
397
- }, []), u.useEffect(() => {
398
- 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
- accounts: c.map((N) => N.guid),
401
- custom: (N) => !N.accountIsClosed && !N.accountIsHidden,
389
+ searchValue: ye,
390
+ setSearchValue: be,
391
+ setShowInsights: Te,
392
+ updateManualTransaction: Ae
393
+ } = W(), { userProfile: Se } = tt(), [U, y] = u.useState(""), [J, H] = u.useState(""), [xe, F] = u.useState(!1), [we, Q] = u.useState(!1), [B, Ie] = u.useState(!1), { announce: ve, ariaLive: De } = Ge(), v = p?.transactions?.selected_account_guid;
394
+ yt({
395
+ widgetName: "TransactionWidget",
396
+ isLoaded: B
397
+ }), u.useEffect(() => {
398
+ const c = v ? [{ guid: v }] : i.filter((D) => !D.is_hidden), ee = it(K()), te = rt(K());
399
+ v || le(c), k(ee, te), V({
400
+ accounts: c.map((D) => D.guid),
401
+ custom: (D) => !D.accountIsClosed && !D.accountIsHidden,
402
402
  dateRange: { start: ee, end: te }
403
- }), m(T.TRANSACTIONS_VIEW);
403
+ }), Ie(!0), m(A.TRANSACTIONS_VIEW);
404
404
  }, [i]), u.useEffect(() => {
405
- $({
405
+ B && (V({
406
406
  ...Y,
407
- accounts: D ? [D] : o,
407
+ accounts: v ? [v] : o,
408
408
  dateRange: { start: g.start, end: g.end }
409
- }), pe(g.start).finally();
410
- }, [g, o]), u.useEffect(() => {
411
- xe(r);
409
+ }), _e(g.start).finally());
410
+ }, [B, g, o]), u.useEffect(() => {
411
+ Te(r);
412
412
  }, [r]), u.useEffect(() => {
413
- I && n.showing_transactions_count && De(
414
- K(
413
+ T && n.showing_transactions_count && ve(
414
+ q(
415
415
  n.showing_transactions_count,
416
416
  G.length
417
417
  )
418
418
  );
419
- }, [I, g, o, G, n]);
420
- const Ee = u.useMemo(
419
+ }, [T, g, o, G, n]);
420
+ const Ne = u.useMemo(
421
421
  () => i.filter((c) => c.is_manual),
422
422
  [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), $({
423
+ ), b = J ? ge.find((c) => c.guid === J) : void 0, Z = Ce && !!R.payee && !!R.account_guid && !!R.category_guid, Ee = (c) => {
424
+ fe(), k(c[0], c[1]);
425
+ }, Oe = (c) => {
426
+ be(c), V({
427
427
  ...Y,
428
428
  searchTerm: c
429
- }), m(T.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
429
+ }), m(A.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
430
+ }, Me = () => {
431
+ Ke(G, pe), m(A.TRANSACTIONS_CLICK_EXPORT);
430
432
  }, ke = () => {
431
- qe(G, he), m(T.TRANSACTIONS_CLICK_EXPORT);
432
- }, Le = () => {
433
- Ee.length > 0 ? (Se({
434
- ...Ke,
435
- date: st(z()),
436
- user_guid: we?.user_guid || ""
433
+ Ne.length > 0 ? (Ae({
434
+ ...ze,
435
+ date: st(K()),
436
+ user_guid: Se?.user_guid || ""
437
437
  }), y(
438
438
  "addTransaction"
439
439
  /* AddTransaction */
440
- ), 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 = () => {
444
- U(!1), Q(!0);
445
- }, Be = async () => {
440
+ ), m(A.TRANSACTIONS_CLICK_ADD)) : (F(!0), m(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
441
+ }, Le = async () => {
442
+ Z && await me(R), y("");
443
+ }, Re = () => {
444
+ F(!1), Q(!0);
445
+ }, He = async () => {
446
446
  Q(!1), await l();
447
- }, Pe = async () => {
448
- b && !b.has_been_viewed && await Ce({ ...b, has_been_viewed: !0 }), y("");
447
+ }, Be = async () => {
448
+ b && !b.has_been_viewed && await he({ ...b, has_been_viewed: !0 }), y("");
449
449
  };
450
- if (!E)
451
- return /* @__PURE__ */ e(q, {});
452
- const F = [];
453
- return !d && (ue || me) && F.push({
450
+ if (!T || !E || !B)
451
+ return /* @__PURE__ */ e(X, {});
452
+ const z = [];
453
+ return !d && (de || ue) && z.push({
454
454
  iconName: "open_in_new",
455
455
  label: n.export_csv_btn,
456
- onClick: ke
457
- }), h.show_connections_widget_in_master && F.push({
456
+ onClick: Me
457
+ }), h.show_connections_widget_in_master && z.push({
458
458
  iconName: "add",
459
459
  label: n.add_transaction_btn,
460
- onClick: Le
460
+ onClick: ke
461
461
  }), /* @__PURE__ */ _(
462
462
  ft,
463
463
  {
464
- ...!D && { accountOptions: i },
465
- actions: F,
464
+ ...!v && { accountOptions: i },
465
+ actions: z,
466
466
  calendarActions: {
467
- onRangeChanged: Oe
467
+ onRangeChanged: Ee
468
468
  },
469
- onAccountsFilterClick: () => m(T.ACCOUNTS_CLICK_FILTER),
469
+ onAccountsFilterClick: () => m(A.ACCOUNTS_CLICK_FILTER),
470
470
  onBackClick: t,
471
471
  sx: a,
472
472
  title: n.transactions_title,
473
473
  children: [
474
- X ? /* @__PURE__ */ _(A, { children: [
475
- Ne,
476
- /* @__PURE__ */ e(x, { mt: 16, children: /* @__PURE__ */ e(
477
- yt,
478
- {
479
- onChange: Me,
480
- placeholder: n.action_bar_search_placeholder,
481
- searchValue: Te
482
- }
483
- ) }),
484
- /* @__PURE__ */ e(
485
- x,
486
- {
487
- sx: {
488
- [L.breakpoints.down("md")]: { display: "none" },
489
- [L.breakpoints.up("md")]: { display: "block" }
490
- },
491
- children: /* @__PURE__ */ e(
492
- Nt,
493
- {
494
- height: `calc(${s} - ${re}px)`,
495
- onCategoryClick: (c) => {
496
- H(c), y(
497
- "category"
498
- /* Category */
499
- );
500
- },
501
- onRowClick: (c) => {
502
- H(c), y(
503
- "transaction"
504
- /* Transaction */
505
- ), m(T.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: c });
506
- }
507
- }
508
- )
509
- }
510
- ),
511
- /* @__PURE__ */ e(
512
- x,
513
- {
514
- sx: {
515
- [L.breakpoints.down("md")]: { display: "block" },
516
- [L.breakpoints.up("md")]: { display: "none" }
517
- },
518
- children: /* @__PURE__ */ e(
519
- Fe,
520
- {
521
- height: `calc(${s} - ${re}px)`,
522
- onClick: (c) => {
523
- H(c), y(
524
- "transaction"
525
- /* Transaction */
526
- );
527
- },
528
- showHiddenTransactions: !0,
529
- showInsights: r
474
+ De,
475
+ /* @__PURE__ */ e(S, { mt: 16, children: /* @__PURE__ */ e(
476
+ bt,
477
+ {
478
+ onChange: Oe,
479
+ placeholder: n.action_bar_search_placeholder,
480
+ searchValue: ye
481
+ }
482
+ ) }),
483
+ /* @__PURE__ */ e(
484
+ S,
485
+ {
486
+ sx: {
487
+ [L.breakpoints.down("md")]: { display: "none" },
488
+ [L.breakpoints.up("md")]: { display: "block" }
489
+ },
490
+ children: /* @__PURE__ */ e(
491
+ Et,
492
+ {
493
+ height: `calc(${s} - ${re}px)`,
494
+ onCategoryClick: (c) => {
495
+ H(c), y(
496
+ "category"
497
+ /* Category */
498
+ );
499
+ },
500
+ onRowClick: (c) => {
501
+ H(c), y(
502
+ "transaction"
503
+ /* Transaction */
504
+ ), m(A.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: c });
530
505
  }
531
- )
532
- }
533
- )
534
- ] }) : /* @__PURE__ */ e(ht, { variant: "list" }),
506
+ }
507
+ )
508
+ }
509
+ ),
510
+ /* @__PURE__ */ e(
511
+ S,
512
+ {
513
+ sx: {
514
+ [L.breakpoints.down("md")]: { display: "block" },
515
+ [L.breakpoints.up("md")]: { display: "none" }
516
+ },
517
+ children: /* @__PURE__ */ e(
518
+ Ue,
519
+ {
520
+ height: `calc(${s} - ${re}px)`,
521
+ onClick: (c) => {
522
+ H(c), y(
523
+ "transaction"
524
+ /* Transaction */
525
+ );
526
+ },
527
+ showHiddenTransactions: !0,
528
+ showInsights: r
529
+ }
530
+ )
531
+ }
532
+ ),
535
533
  /* @__PURE__ */ e(
536
534
  oe,
537
535
  {
538
- ariaLabelClose: v.close_aria,
539
- isOpen: W === "transaction" && !!b,
540
- onClose: Pe,
536
+ ariaLabelClose: I.close_aria,
537
+ isOpen: U === "transaction" && !!b,
538
+ onClose: Be,
541
539
  title: n.details_title,
542
- children: b && /* @__PURE__ */ e(ze, { transaction: b })
540
+ children: b && /* @__PURE__ */ e(Fe, { transaction: b })
543
541
  }
544
542
  ),
545
- b && W === "category" && /* @__PURE__ */ e(
546
- Rt,
543
+ b && U === "category" && /* @__PURE__ */ e(
544
+ Ht,
547
545
  {
548
546
  onClose: () => {
549
547
  f(""), y(""), H("");
@@ -554,51 +552,51 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
554
552
  /* @__PURE__ */ e(
555
553
  oe,
556
554
  {
557
- ariaLabelClose: v.close_aria,
558
- isOpen: W === "addTransaction",
555
+ ariaLabelClose: I.close_aria,
556
+ isOpen: U === "addTransaction",
559
557
  isPrimaryDisabled: !Z,
560
558
  onClose: () => y(""),
561
- onPrimaryAction: Re,
559
+ onPrimaryAction: Le,
562
560
  title: n.add_transaction_title,
563
- children: /* @__PURE__ */ e(kt, {})
561
+ children: /* @__PURE__ */ e(Lt, {})
564
562
  }
565
563
  ),
566
564
  /* @__PURE__ */ e(
567
- Ot,
565
+ Mt,
568
566
  {
569
567
  copy: { title: n.add_manual_account },
570
- isOpen: ve,
568
+ isOpen: xe,
571
569
  onClose: () => {
572
- U(!1);
570
+ F(!1);
573
571
  },
574
- onPrimaryAction: He
572
+ onPrimaryAction: Re
575
573
  }
576
574
  ),
577
575
  /* @__PURE__ */ e(
578
- ct,
576
+ lt,
579
577
  {
580
- onClose: Be,
581
- showConnectWidget: Ie,
578
+ onClose: He,
579
+ showConnectWidget: we,
582
580
  title: n.add_manual_account
583
581
  }
584
582
  )
585
583
  ]
586
584
  }
587
585
  );
588
- }, Ca = S(Ht);
586
+ }, ba = x(Bt);
589
587
  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,
603
- P as useTransactionsUiStore
588
+ Mt as AddAccountModal,
589
+ wa as BottomActions,
590
+ ka as ExportCsvAction,
591
+ Na as TRANSACTION_EVENTS,
592
+ Ia as TopActions,
593
+ Sa as TransactionApi,
594
+ Fe as TransactionDetails,
595
+ Ue as TransactionList,
596
+ va as TransactionRow,
597
+ Oa as TransactionStore,
598
+ Et as TransactionTable,
599
+ ba as TransactionWidget,
600
+ Ke as exportTransactionsToCSV,
601
+ W as useTransactionsUiStore
604
602
  };