@mx-cartographer/experiences 8.0.0-alpha.bb3 → 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 (182) hide show
  1. package/CHANGELOG.md +128 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-BDXA6PWh.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CUztd3-b.mjs} +87 -83
  4. package/dist/AccountDetailsHeader-i3KFhNuo.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-QZspYAji.mjs} +6 -6
  6. package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DX5upmCS.mjs} +5 -5
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-BcnDpyLL.mjs} +19 -8
  8. package/dist/{Accounts-BRf_YeTf.mjs → Accounts-DXfZotRC.mjs} +1 -1
  9. package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
  10. package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
  11. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-Df2nII9u.mjs} +2 -2
  12. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +23 -21
  13. package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-DTgyAMM7.mjs} +12 -10
  14. package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-C5cR-nfQ.mjs} +1 -1
  15. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BIbTqYOH.mjs} +2 -2
  16. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +3 -3
  17. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-BFKcs-_K.mjs} +2 -2
  18. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  19. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  20. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-BbJB0nmu.mjs} +1 -1
  21. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  22. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  23. package/dist/Drawer-BEtCk82g.mjs +163 -0
  24. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  25. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  26. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  27. package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
  28. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-DpWY3gVb.mjs} +5 -5
  29. package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
  30. package/dist/LineChart-bc1D9xBE.mjs +581 -0
  31. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  32. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-NpXHhO1n.mjs} +177 -174
  33. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  34. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  35. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  36. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-lsuhEpn6.mjs} +2 -2
  37. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-CNmJWVeI.mjs} +241 -238
  38. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
  39. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  40. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +4 -4
  41. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-CqZh1SQa.mjs} +17 -17
  42. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BKcYmpv3.mjs} +46 -45
  43. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +80 -73
  44. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
  45. package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
  46. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  47. package/dist/SpendingLegend-CjX-hX2O.mjs +193 -0
  48. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  49. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  50. package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
  51. package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-D-Q3BU9Z.mjs} +119 -121
  52. package/dist/TrendsStore-BW9FGQeE.mjs +182 -0
  53. package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
  54. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-C0832BMe.mjs} +702 -723
  55. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-BhQ1Kx2z.mjs} +4 -4
  56. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  57. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  58. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  59. package/dist/accounts/index.es.js +229 -222
  60. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  61. package/dist/analytics/index.es.js +2 -2
  62. package/dist/budgets/index.es.js +380 -382
  63. package/dist/cashflow/index.es.js +405 -413
  64. package/dist/categories/index.es.js +2 -2
  65. package/dist/categories/stores/CategoryStore.d.ts +1 -1
  66. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  67. package/dist/common/components/Select.d.ts +4 -2
  68. package/dist/common/components/charts/LineChart.d.ts +12 -2
  69. package/dist/common/components/charts/index.d.ts +0 -3
  70. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  71. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  72. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  73. package/dist/common/components/drawer/Footer.d.ts +17 -0
  74. package/dist/common/hooks/index.d.ts +0 -1
  75. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  76. package/dist/common/index.es.js +320 -321
  77. package/dist/common/stores/GlobalStore.d.ts +7 -1
  78. package/dist/common/types/Finstrong.d.ts +54 -0
  79. package/dist/common/types/Global.d.ts +1 -0
  80. package/dist/common/types/Widgets.d.ts +1 -0
  81. package/dist/common/types/index.d.ts +1 -1
  82. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  83. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  84. package/dist/dashboard/index.es.js +2 -2
  85. package/dist/debts/index.es.js +506 -498
  86. package/dist/exportTransactionsToCSV-Cz2t0lmA.mjs +48 -0
  87. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  88. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  89. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  90. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  91. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  92. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  93. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  94. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  95. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  96. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  97. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  98. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  99. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  100. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  101. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  102. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  103. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  104. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  105. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  106. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  107. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  108. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  109. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  110. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  111. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  112. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  113. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  114. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  115. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  116. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  117. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  118. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  119. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  120. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  121. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  122. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  123. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  124. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  125. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  126. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  127. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  128. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  129. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  130. package/dist/finstrong/constants/index.d.ts +9 -0
  131. package/dist/finstrong/index.es.js +3171 -1063
  132. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  133. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  134. package/dist/goals/index.es.js +566 -562
  135. package/dist/help/index.es.js +3 -3
  136. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  137. package/dist/insights/index.es.js +1 -1
  138. package/dist/investments/index.es.js +437 -435
  139. package/dist/merchants/index.es.js +2 -2
  140. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  141. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  142. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  143. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  144. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  145. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  146. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  147. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  148. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  149. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  150. package/dist/microinsights/constants/App.d.ts +0 -1
  151. package/dist/microinsights/index.d.ts +3 -3
  152. package/dist/microinsights/index.es.js +7 -7
  153. package/dist/microinsights/interfaces.d.ts +0 -6
  154. package/dist/networth/index.es.js +188 -186
  155. package/dist/notifications/index.es.js +95 -96
  156. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
  157. package/dist/recurringtransactions/index.es.js +584 -560
  158. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
  159. package/dist/settings/index.es.js +286 -280
  160. package/dist/spending/index.es.js +269 -421
  161. package/dist/spending/utils/SpendingData.d.ts +2 -1
  162. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  163. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  164. package/dist/transactions/index.es.js +226 -220
  165. package/dist/transactions/stores/TransactionStore.d.ts +1 -1
  166. package/dist/transactions/stores/UiStore.d.ts +0 -2
  167. package/dist/trends/index.es.js +963 -586
  168. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CFNF8766.mjs} +2 -2
  169. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
  170. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  171. package/package.json +7 -7
  172. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  173. package/dist/Drawer-kEE73B87.mjs +0 -113
  174. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  175. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  176. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  177. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  178. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  179. package/dist/common/hooks/usePrevious.d.ts +0 -2
  180. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  181. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  182. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,60 +1,60 @@
1
- import { T as Aa } from "../TransactionApi-B3Tksf7L.mjs";
2
- import { u as P, C as Pe, D as $e, M as Ve, c as We, T as Ge, a as Ue } from "../TransactionDetails-oP1eSuiS.mjs";
3
- import { B as xa, d as wa, b as Ia } from "../TransactionDetails-oP1eSuiS.mjs";
4
- import { T as M } from "../User-BQUxBeZV.mjs";
5
- import { O as Da } from "../User-BQUxBeZV.mjs";
6
- import { S as ae, D as Fe } from "../TransactionStore-ai3uII_r.mjs";
7
- import { T as Ea } from "../TransactionStore-ai3uII_r.mjs";
8
- import { e as ze } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
9
- import { E as Ma } from "../ExportCsvAction-sX8Rg4Ov.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
12
  import { observer as x } from "mobx-react-lite";
13
- import Ke from "@mui/material/Paper";
14
- import { DataGridPro as qe } from "@mui/x-data-grid-pro";
15
- import S from "@mui/material/Box";
16
- import { useTheme as je } from "@mui/material/styles";
17
- import { Text as C, Icon as B, MerchantLogo as Xe, TextField as ne, P as Ye } from "@mxenabled/mxui";
18
- import { h as $, u as w, b as j, d as se, m as Je, a as Qe, g as Ze, p as et } from "../hooks-D6XlXHf4.mjs";
19
- import { fromUnixTime as tt } from "date-fns/fromUnixTime";
20
- import { f as at, D as nt, a as ie } from "../Dialog-CWW597AF.mjs";
21
- import N from "@mui/material/Stack";
22
- import { f as ce } from "../NumberFormatting-Buh7u8Oi.mjs";
23
- import { L as X } from "../Loader-DUaFpDGv.mjs";
24
- import { endOfMonth as ot } from "date-fns/endOfMonth";
25
- import { getUnixTime as rt } from "date-fns/getUnixTime";
26
- import { startOfMonth as st } from "date-fns/startOfMonth";
27
- import { startOfToday as K } from "date-fns/startOfToday";
28
- import it from "@mui/material/styles/useTheme";
29
- import { l as ct } from "../ConnectDrawer-BQNs-hjk.mjs";
30
- import lt from "@mui/material/Divider";
31
- import dt from "@mui/material/MenuItem";
32
- import ut from "@mui/material/RadioGroup";
33
- import { ExpandMore as mt } from "@mxenabled/mx-icons";
34
- import { C as _t } from "../CurrencyInput-DUsQbkXb.mjs";
35
- import { a as pt, u as gt } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
36
- import { b as q } from "../Localization-2MODESHW.mjs";
37
- import { u as ht } from "../useAriaLive-B3_pRUio.mjs";
38
- import { A, W as ft } from "../WidgetContainer-BHWANqT4.mjs";
39
- import { u as Ct } from "../useScreenSize-B6JyS_Lj.mjs";
40
- import { S as yt } from "../SearchBox-B2_zLv8-.mjs";
41
- import { D as oe } from "../Drawer-kEE73B87.mjs";
42
- const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
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";
19
+ import { fromUnixTime as at } from "date-fns/fromUnixTime";
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
+ import { endOfMonth as rt } from "date-fns/endOfMonth";
25
+ import { getUnixTime as st } from "date-fns/getUnixTime";
26
+ import { startOfMonth as it } from "date-fns/startOfMonth";
27
+ import { startOfToday as z } from "date-fns/startOfToday";
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";
36
+ import { b as K } from "../Localization-2MODESHW.mjs";
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: [
43
43
  `${t.row.account}`,
44
44
  t.row.number && ` | ${t.row.number}`
45
- ] }), Tt = (t) => {
45
+ ] }), At = (t) => {
46
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__ */ _(N, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
47
+ return /* @__PURE__ */ _(S, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
48
48
  /* @__PURE__ */ _(C, { color: d ? "success.main" : "text.primary", variant: "Small", children: [
49
49
  d ? "+" : "",
50
50
  ce(a, "0,0.00")
51
51
  ] }),
52
52
  l && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "XSmall", children: l.short_title })
53
53
  ] });
54
- }, At = (t) => {
54
+ }, St = (t) => {
55
55
  const { transactions: s } = w(), [r, a] = u.useState(!1);
56
56
  return /* @__PURE__ */ _(
57
- N,
57
+ S,
58
58
  {
59
59
  alignItems: "center",
60
60
  direction: "row",
@@ -70,10 +70,10 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
70
70
  ]
71
71
  }
72
72
  );
73
- }, St = x(At), xt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: at(tt(t.row.date), nt.MONTH_DAY) }), wt = (t) => {
74
- const s = je(), { 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;
75
75
  return /* @__PURE__ */ _(
76
- S,
76
+ A,
77
77
  {
78
78
  "aria-label": i ? r.is_hidden : r.is_flagged,
79
79
  tabIndex: t.tabIndex,
@@ -98,21 +98,21 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
98
98
  ]
99
99
  }
100
100
  );
101
- }, It = x(wt), O = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), vt = (t) => /* @__PURE__ */ _(N, { 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: [
102
102
  /* @__PURE__ */ e(
103
- Xe,
103
+ Ye,
104
104
  {
105
105
  categoryGuid: t.row.top_level_category_guid || "",
106
106
  merchantGuid: t.row.merchant_guid || ""
107
107
  }
108
108
  ),
109
109
  /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.payee })
110
- ] }), Dt = ({
110
+ ] }), Nt = ({
111
111
  height: t = "100dvh",
112
112
  onCategoryClick: s,
113
113
  onRowClick: r
114
114
  }) => {
115
- const { transactions: a } = w(), { isCopyLoaded: i } = j(), { isLoading: l, sortedTransactions: d } = $(), { clearExpandedSplits: p, toggleSplit: h } = P();
115
+ const { transactions: a } = w(), { isCopyLoaded: i } = q(), { isLoading: l, sortedTransactions: d } = $(), { clearExpandedSplits: p, toggleSplit: h } = P();
116
116
  u.useEffect(() => () => p(), []);
117
117
  const f = u.useMemo(
118
118
  () => d.map((n) => ({
@@ -121,10 +121,10 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
121
121
  ...n
122
122
  })),
123
123
  [d]
124
- ), m = ({ row: { id: n, guid: g, has_been_split: T }, field: E }) => T ? h(n) : E === "category" ? s?.(g) : r?.(g);
124
+ ), m = ({ row: { id: n, guid: g, has_been_split: I }, field: E }) => I ? h(n) : E === "category" ? s?.(g) : r?.(g);
125
125
  if (!i)
126
- return /* @__PURE__ */ e(X, {});
127
- const I = [
126
+ return /* @__PURE__ */ e(j, {});
127
+ const v = [
128
128
  {
129
129
  field: "flag",
130
130
  headerName: "",
@@ -139,7 +139,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
139
139
  headerName: a.date_title,
140
140
  width: 103,
141
141
  renderHeader: O,
142
- renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(xt, { ...n }),
142
+ renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(wt, { ...n }),
143
143
  sortingOrder: ["desc", "asc"]
144
144
  },
145
145
  {
@@ -148,7 +148,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
148
148
  headerName: a.payee_title,
149
149
  flex: 0.33,
150
150
  renderHeader: O,
151
- renderCell: vt,
151
+ renderCell: Dt,
152
152
  sortingOrder: ["asc", "desc"]
153
153
  },
154
154
  {
@@ -156,7 +156,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
156
156
  headerName: a.category_title,
157
157
  flex: 0.25,
158
158
  renderHeader: O,
159
- renderCell: (n) => /* @__PURE__ */ e(St, { ...n }),
159
+ renderCell: (n) => /* @__PURE__ */ e(xt, { ...n }),
160
160
  sortingOrder: ["asc", "desc"]
161
161
  },
162
162
  {
@@ -164,7 +164,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
164
164
  headerName: a.account_title,
165
165
  flex: 0.33,
166
166
  renderHeader: O,
167
- renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(bt, { ...n }),
167
+ renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(Tt, { ...n }),
168
168
  sortingOrder: ["asc", "desc"]
169
169
  },
170
170
  {
@@ -172,16 +172,16 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
172
172
  headerName: a.amount_title,
173
173
  flex: 0.25,
174
174
  renderHeader: O,
175
- renderCell: Tt,
175
+ renderCell: At,
176
176
  align: "right",
177
177
  headerAlign: "right",
178
178
  sortingOrder: ["asc", "desc"]
179
179
  }
180
180
  ];
181
- return /* @__PURE__ */ e(Ke, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
182
- qe,
181
+ return /* @__PURE__ */ e(qe, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
182
+ je,
183
183
  {
184
- columns: I,
184
+ columns: v,
185
185
  disableColumnFilter: !0,
186
186
  disableColumnMenu: !0,
187
187
  getCellClassName: (n) => n.row.parent_guid ? "split-row" : "",
@@ -198,8 +198,8 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
198
198
  }
199
199
  }
200
200
  ) });
201
- }, Nt = x(Dt), Et = ({ copy: t, isOpen: s, onClose: r, onPrimaryAction: a }) => {
202
- 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();
203
203
  return d ? /* @__PURE__ */ _(
204
204
  ie,
205
205
  {
@@ -216,15 +216,15 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
216
216
  /* @__PURE__ */ e(C, { component: "p", truncate: !1, children: l.add_account_modal_cta })
217
217
  ]
218
218
  }
219
- ) : /* @__PURE__ */ e(X, {});
220
- }, Ot = x(Et), Mt = () => {
219
+ ) : /* @__PURE__ */ e(j, {});
220
+ }, Mt = x(Ot), kt = () => {
221
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(
222
222
  () => t.filter((o) => o.is_manual),
223
223
  [t]
224
224
  ).map((o) => ({
225
225
  label: `${o.name} | ${ce(o.balance, "0,0.00")}`,
226
226
  value: o.guid
227
- })), I = {
227
+ })), v = {
228
228
  error_amount_is_invalid: s.currency_input.error_amount_is_invalid,
229
229
  error_amount_must_be_equal_to: s.currency_input.error_amount_must_be_equal_to,
230
230
  error_amount_must_be_less_than_or_equal_to: s.currency_input.error_amount_must_be_less_than_or_equal_to,
@@ -233,26 +233,26 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
233
233
  p(o), l({ ...a, amount: Number(o) });
234
234
  }, g = (o, k) => {
235
235
  l({ ...a, transaction_type: Number(k) });
236
- }, T = (o) => {
236
+ }, I = (o) => {
237
237
  f(o), l({ ...a, payee: o, description: o });
238
238
  }, E = (o) => {
239
239
  l({ ...a, account_guid: o });
240
240
  };
241
- return /* @__PURE__ */ _(S, { className: "mx-txn-manual-transaction-details", children: [
242
- /* @__PURE__ */ _(N, { 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: [
243
243
  /* @__PURE__ */ _(
244
- N,
244
+ S,
245
245
  {
246
246
  direction: "row",
247
247
  sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
248
248
  children: [
249
249
  /* @__PURE__ */ e(
250
- _t,
250
+ pt,
251
251
  {
252
252
  allowDecimals: !0,
253
253
  amount: d,
254
254
  ariaLabel: r.amount_title,
255
- copy: I,
255
+ copy: v,
256
256
  inputProps: {
257
257
  noValidate: !0
258
258
  },
@@ -263,7 +263,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
263
263
  type: "number"
264
264
  }
265
265
  ),
266
- /* @__PURE__ */ e(ut, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", children: [
266
+ /* @__PURE__ */ e(mt, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", children: [
267
267
  /* @__PURE__ */ e(
268
268
  ae,
269
269
  {
@@ -292,7 +292,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
292
292
  {
293
293
  label: r.payee_title,
294
294
  name: "payee",
295
- onChange: (o) => T(o.target.value),
295
+ onChange: (o) => I(o.target.value),
296
296
  sx: { bgcolor: "background.paper" },
297
297
  value: h
298
298
  }
@@ -301,34 +301,34 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
301
301
  ne,
302
302
  {
303
303
  InputLabelProps: { shrink: !0 },
304
- SelectProps: { defaultValue: -1, IconComponent: mt },
304
+ SelectProps: { defaultValue: -1, IconComponent: _t },
305
305
  label: r.manual_transaction_select_an_account,
306
306
  onChange: (o) => E(o.target.value),
307
307
  placeholder: r.manual_transaction_select,
308
308
  select: !0,
309
309
  sx: { bgcolor: "background.paper" },
310
- 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))
311
311
  }
312
312
  )
313
313
  ] }),
314
- /* @__PURE__ */ e(lt, { light: !0 }),
315
- /* @__PURE__ */ _(S, { bgcolor: "background.paper", children: [
314
+ /* @__PURE__ */ e(dt, { light: !0 }),
315
+ /* @__PURE__ */ _(A, { bgcolor: "background.paper", children: [
316
316
  /* @__PURE__ */ e(Pe, { transaction: a }),
317
317
  /* @__PURE__ */ e($e, { transaction: a }),
318
318
  /* @__PURE__ */ e(Ve, { transaction: a }),
319
- /* @__PURE__ */ e(We, { transaction: a })
319
+ /* @__PURE__ */ e(Ge, { transaction: a })
320
320
  ] })
321
321
  ] });
322
- }, kt = x(Mt), Lt = ({ onClose: t, transaction: s }) => {
323
- const { addOrUpdateTransactionRule: r, updateTransaction: a } = $(), { transactions: i } = w(), { categories: l } = Je(), [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(
324
324
  () => l.find((m) => m.guid === d),
325
325
  [d]
326
326
  ), f = async (m) => {
327
327
  await a({ ...s, category_guid: d }), m && await r(d, s), p(""), t();
328
328
  };
329
- return /* @__PURE__ */ _(S, { className: "mx-txn-edit-category-action", children: [
329
+ return /* @__PURE__ */ _(A, { className: "mx-txn-edit-category-action", children: [
330
330
  /* @__PURE__ */ e(
331
- pt,
331
+ gt,
332
332
  {
333
333
  initialSelected: s.category_guid,
334
334
  onClose: t,
@@ -341,7 +341,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
341
341
  ie,
342
342
  {
343
343
  copy: {
344
- title: q(
344
+ title: K(
345
345
  i.actions_apply_to_all_transaction_types,
346
346
  s.description
347
347
  )
@@ -352,7 +352,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
352
352
  onSecondaryAction: () => f(!1),
353
353
  primaryText: i.actions_apply_to_all,
354
354
  secondaryText: i.actions_this_time_only,
355
- children: /* @__PURE__ */ e(Ye, { variant: "Paragraph", children: q(
355
+ children: /* @__PURE__ */ e(Je, { variant: "Paragraph", children: K(
356
356
  i.actions_all_past_and_future,
357
357
  s.description,
358
358
  h?.name
@@ -360,81 +360,85 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
360
360
  }
361
361
  )
362
362
  ] });
363
- }, Rt = x(Lt), re = 120, Ht = ({
363
+ }, Ht = x(Rt), re = 120, Bt = ({
364
364
  onBackClick: t,
365
365
  height: s = "100dvh",
366
366
  showInsights: r = !1,
367
367
  sx: a = {}
368
368
  }) => {
369
- const { visibleAccounts: i, refreshAccounts: l } = se(), { is_mobile_webview: d, clientConfig: p, config: h } = Qe(), { setSearchValue: f } = gt(), { onEvent: m } = Ze(), { common: I, 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(), {
370
370
  displayedDateRange: g,
371
- isCopyLoaded: T,
371
+ isCopyLoaded: I,
372
372
  isInitialized: E,
373
373
  selectedAccountGuids: o,
374
374
  setDisplayedDate: k,
375
375
  setSelectedAccounts: le
376
- } = j(), { isDesktop: de, isTablet: ue } = Ct(), L = it(), {
376
+ } = q(), { isDesktop: de, isTablet: ue } = yt(), L = ct(), {
377
377
  addTransaction: me,
378
- filter: Y,
378
+ filter: X,
379
+ isTransactionDataLoaded: Y,
379
380
  loadAssociatedBeats: _e,
381
+ loadTransactionData: pe,
380
382
  setFilter: V,
381
- sortedTransactionsWithSplits: W,
382
- tags: pe,
383
- transactions: ge,
384
- updateTransaction: he
383
+ sortedTransactionsWithSplits: G,
384
+ tags: ge,
385
+ detailedTransactions: he,
386
+ updateTransaction: fe
385
387
  } = $(), {
386
- clearExpandedSplits: fe,
387
- isAmountValid: Ce,
388
+ clearExpandedSplits: Ce,
389
+ isAmountValid: ye,
388
390
  manualTransaction: R,
389
- searchValue: ye,
390
- setSearchValue: be,
391
- setShowInsights: Te,
392
- updateManualTransaction: Ae
393
- } = P(), { userProfile: Se } = et(), [G, y] = u.useState(""), [J, H] = u.useState(""), [xe, U] = u.useState(!1), [we, Q] = u.useState(!1), [F, Ie] = u.useState(!1), { announce: ve, ariaLive: De } = ht(), v = p?.transactions?.selected_account_guid;
391
+ searchValue: be,
392
+ setSearchValue: Te,
393
+ setShowInsights: Ae,
394
+ updateManualTransaction: Se
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;
394
396
  u.useEffect(() => {
395
- const c = v ? [{ guid: v }] : i.filter((D) => !D.is_hidden), ee = st(K()), te = ot(K());
396
- v || le(c), k(ee, te), V({
397
- accounts: c.map((D) => D.guid),
398
- custom: (D) => !D.accountIsClosed && !D.accountIsHidden,
397
+ Y || pe().finally();
398
+ }, []), u.useEffect(() => {
399
+ const c = D ? [{ guid: D }] : i.filter((N) => !N.is_hidden), ee = it(z()), te = rt(z());
400
+ D || le(c), k(ee, te), V({
401
+ accounts: c.map((N) => N.guid),
402
+ custom: (N) => !N.accountIsClosed && !N.accountIsHidden,
399
403
  dateRange: { start: ee, end: te }
400
- }), Ie(!0), m(A.TRANSACTIONS_VIEW);
404
+ }), m(T.TRANSACTIONS_VIEW);
401
405
  }, [i]), u.useEffect(() => {
402
- F && (V({
403
- ...Y,
404
- accounts: v ? [v] : o,
406
+ V({
407
+ ...X,
408
+ accounts: D ? [D] : o,
405
409
  dateRange: { start: g.start, end: g.end }
406
- }), _e(g.start).finally());
407
- }, [F, g, o]), u.useEffect(() => {
408
- Te(r);
410
+ }), _e(g.start).finally();
411
+ }, [g, o]), u.useEffect(() => {
412
+ Ae(r);
409
413
  }, [r]), u.useEffect(() => {
410
- T && n.showing_transactions_count && ve(
411
- q(
414
+ I && n.showing_transactions_count && Ie(
415
+ K(
412
416
  n.showing_transactions_count,
413
- W.length
417
+ G.length
414
418
  )
415
419
  );
416
- }, [T, g, o, W, n]);
420
+ }, [I, g, o, G, n]);
417
421
  const Ne = u.useMemo(
418
422
  () => i.filter((c) => c.is_manual),
419
423
  [i]
420
- ), b = J ? ge.find((c) => c.guid === J) : void 0, Z = Ce && !!R.payee && !!R.account_guid && !!R.category_guid, Ee = (c) => {
421
- fe(), k(c[0], c[1]);
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]);
422
426
  }, Oe = (c) => {
423
- be(c), V({
424
- ...Y,
427
+ Te(c), V({
428
+ ...X,
425
429
  searchTerm: c
426
- }), m(A.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
430
+ }), m(T.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
427
431
  }, Me = () => {
428
- ze(W, pe), m(A.TRANSACTIONS_CLICK_EXPORT);
432
+ Ke(G, ge), m(T.TRANSACTIONS_CLICK_EXPORT);
429
433
  }, ke = () => {
430
- Ne.length > 0 ? (Ae({
431
- ...Fe,
432
- date: rt(K()),
433
- user_guid: Se?.user_guid || ""
434
+ Ne.length > 0 ? (Se({
435
+ ...ze,
436
+ date: st(z()),
437
+ user_guid: xe?.user_guid || ""
434
438
  }), y(
435
439
  "addTransaction"
436
440
  /* AddTransaction */
437
- ), m(A.TRANSACTIONS_CLICK_ADD)) : (U(!0), m(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
441
+ ), m(T.TRANSACTIONS_CLICK_ADD)) : (U(!0), m(T.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
438
442
  }, Le = async () => {
439
443
  Z && await me(R), y("");
440
444
  }, Re = () => {
@@ -442,103 +446,105 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
442
446
  }, He = async () => {
443
447
  Q(!1), await l();
444
448
  }, Be = async () => {
445
- b && !b.has_been_viewed && await he({ ...b, has_been_viewed: !0 }), y("");
449
+ b && !b.has_been_viewed && await fe({ ...b, has_been_viewed: !0 }), y("");
446
450
  };
447
- if (!T || !E || !F)
448
- return /* @__PURE__ */ e(X, {});
449
- const z = [];
450
- return !d && (de || ue) && z.push({
451
+ if (!E)
452
+ return /* @__PURE__ */ e(j, {});
453
+ const F = [];
454
+ return !d && (de || ue) && F.push({
451
455
  iconName: "open_in_new",
452
456
  label: n.export_csv_btn,
453
457
  onClick: Me
454
- }), h.show_connections_widget_in_master && z.push({
458
+ }), h.show_connections_widget_in_master && F.push({
455
459
  iconName: "add",
456
460
  label: n.add_transaction_btn,
457
461
  onClick: ke
458
462
  }), /* @__PURE__ */ _(
459
- ft,
463
+ Ct,
460
464
  {
461
- ...!v && { accountOptions: i },
462
- actions: z,
465
+ ...!D && { accountOptions: i },
466
+ actions: F,
463
467
  calendarActions: {
464
468
  onRangeChanged: Ee
465
469
  },
466
- onAccountsFilterClick: () => m(A.ACCOUNTS_CLICK_FILTER),
470
+ onAccountsFilterClick: () => m(T.ACCOUNTS_CLICK_FILTER),
467
471
  onBackClick: t,
468
472
  sx: a,
469
473
  title: n.transactions_title,
470
474
  children: [
471
- De,
472
- /* @__PURE__ */ e(S, { mt: 16, children: /* @__PURE__ */ e(
473
- yt,
474
- {
475
- onChange: Oe,
476
- placeholder: n.action_bar_search_placeholder,
477
- searchValue: ye
478
- }
479
- ) }),
480
- /* @__PURE__ */ e(
481
- S,
482
- {
483
- sx: {
484
- [L.breakpoints.down("md")]: { display: "none" },
485
- [L.breakpoints.up("md")]: { display: "block" }
486
- },
487
- children: /* @__PURE__ */ e(
488
- Nt,
489
- {
490
- height: `calc(${s} - ${re}px)`,
491
- onCategoryClick: (c) => {
492
- H(c), y(
493
- "category"
494
- /* Category */
495
- );
496
- },
497
- onRowClick: (c) => {
498
- H(c), y(
499
- "transaction"
500
- /* Transaction */
501
- ), m(A.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: c });
475
+ Y ? /* @__PURE__ */ _(S, { children: [
476
+ De,
477
+ /* @__PURE__ */ e(A, { mt: 16, children: /* @__PURE__ */ e(
478
+ bt,
479
+ {
480
+ onChange: Oe,
481
+ placeholder: n.action_bar_search_placeholder,
482
+ searchValue: be
483
+ }
484
+ ) }),
485
+ /* @__PURE__ */ e(
486
+ A,
487
+ {
488
+ sx: {
489
+ [L.breakpoints.down("md")]: { display: "none" },
490
+ [L.breakpoints.up("md")]: { display: "block" }
491
+ },
492
+ children: /* @__PURE__ */ e(
493
+ Et,
494
+ {
495
+ height: `calc(${s} - ${re}px)`,
496
+ onCategoryClick: (c) => {
497
+ H(c), y(
498
+ "category"
499
+ /* Category */
500
+ );
501
+ },
502
+ onRowClick: (c) => {
503
+ H(c), y(
504
+ "transaction"
505
+ /* Transaction */
506
+ ), m(T.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: c });
507
+ }
502
508
  }
503
- }
504
- )
505
- }
506
- ),
507
- /* @__PURE__ */ e(
508
- S,
509
- {
510
- sx: {
511
- [L.breakpoints.down("md")]: { display: "block" },
512
- [L.breakpoints.up("md")]: { display: "none" }
513
- },
514
- children: /* @__PURE__ */ e(
515
- Ge,
516
- {
517
- height: `calc(${s} - ${re}px)`,
518
- onClick: (c) => {
519
- H(c), y(
520
- "transaction"
521
- /* Transaction */
522
- );
523
- },
524
- showHiddenTransactions: !0,
525
- showInsights: r
526
- }
527
- )
528
- }
529
- ),
509
+ )
510
+ }
511
+ ),
512
+ /* @__PURE__ */ e(
513
+ A,
514
+ {
515
+ sx: {
516
+ [L.breakpoints.down("md")]: { display: "block" },
517
+ [L.breakpoints.up("md")]: { display: "none" }
518
+ },
519
+ children: /* @__PURE__ */ e(
520
+ Ue,
521
+ {
522
+ height: `calc(${s} - ${re}px)`,
523
+ onClick: (c) => {
524
+ H(c), y(
525
+ "transaction"
526
+ /* Transaction */
527
+ );
528
+ },
529
+ showHiddenTransactions: !0,
530
+ showInsights: r
531
+ }
532
+ )
533
+ }
534
+ )
535
+ ] }) : /* @__PURE__ */ e(ft, { variant: "list" }),
530
536
  /* @__PURE__ */ e(
531
537
  oe,
532
538
  {
533
- ariaLabelClose: I.close_aria,
534
- isOpen: G === "transaction" && !!b,
539
+ ariaLabelClose: v.close_aria,
540
+ isOpen: W === "transaction" && !!b,
535
541
  onClose: Be,
536
542
  title: n.details_title,
537
- children: b && /* @__PURE__ */ e(Ue, { transaction: b })
543
+ children: b && /* @__PURE__ */ e(Fe, { transaction: b })
538
544
  }
539
545
  ),
540
- b && G === "category" && /* @__PURE__ */ e(
541
- Rt,
546
+ b && W === "category" && /* @__PURE__ */ e(
547
+ Ht,
542
548
  {
543
549
  onClose: () => {
544
550
  f(""), y(""), H("");
@@ -549,20 +555,20 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
549
555
  /* @__PURE__ */ e(
550
556
  oe,
551
557
  {
552
- ariaLabelClose: I.close_aria,
553
- isOpen: G === "addTransaction",
558
+ ariaLabelClose: v.close_aria,
559
+ isOpen: W === "addTransaction",
554
560
  isPrimaryDisabled: !Z,
555
561
  onClose: () => y(""),
556
562
  onPrimaryAction: Le,
557
563
  title: n.add_transaction_title,
558
- children: /* @__PURE__ */ e(kt, {})
564
+ children: /* @__PURE__ */ e(Lt, {})
559
565
  }
560
566
  ),
561
567
  /* @__PURE__ */ e(
562
- Ot,
568
+ Mt,
563
569
  {
564
570
  copy: { title: n.add_manual_account },
565
- isOpen: xe,
571
+ isOpen: we,
566
572
  onClose: () => {
567
573
  U(!1);
568
574
  },
@@ -570,30 +576,30 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
570
576
  }
571
577
  ),
572
578
  /* @__PURE__ */ e(
573
- ct,
579
+ lt,
574
580
  {
575
581
  onClose: He,
576
- showConnectWidget: we,
582
+ showConnectWidget: ve,
577
583
  title: n.add_manual_account
578
584
  }
579
585
  )
580
586
  ]
581
587
  }
582
588
  );
583
- }, ya = x(Ht);
589
+ }, ba = x(Bt);
584
590
  export {
585
- Ot as AddAccountModal,
586
- xa as BottomActions,
587
- Ma as ExportCsvAction,
588
- Da as TRANSACTION_EVENTS,
589
- wa as TopActions,
590
- Aa as TransactionApi,
591
- Ue as TransactionDetails,
592
- Ge as TransactionList,
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,
593
599
  Ia as TransactionRow,
594
- Ea as TransactionStore,
595
- Nt as TransactionTable,
596
- ya as TransactionWidget,
597
- ze as exportTransactionsToCSV,
600
+ Oa as TransactionStore,
601
+ Et as TransactionTable,
602
+ ba as TransactionWidget,
603
+ Ke as exportTransactionsToCSV,
598
604
  P as useTransactionsUiStore
599
605
  };