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

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 (222) hide show
  1. package/CHANGELOG.md +128 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-B4CDD-zq.mjs} +1 -1
  3. package/dist/AccountDetailsContent-adZTkM52.mjs +683 -0
  4. package/dist/AccountDetailsHeader-DRjFuyJT.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-Cl4KHoSj.mjs} +14 -12
  6. package/dist/AccountListItem-wgmlex-_.mjs +90 -0
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-HbVblv86.mjs} +19 -8
  8. package/dist/{Accounts-BRf_YeTf.mjs → Accounts-CRUehOiy.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-Jv8h9H9l.mjs} +33 -33
  12. package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-CA190BPF.mjs} +18 -25
  13. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  14. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Dl006GKy.mjs} +43 -41
  15. package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-MUwRWH9e.mjs} +13 -11
  16. package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
  17. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-DVp54lUH.mjs} +49 -48
  18. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-Dsc04-4Z.mjs} +3 -3
  19. package/dist/CurrencyInput-D1cjbdCI.mjs +85 -0
  20. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  21. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CDPZw_-m.mjs} +3 -3
  22. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-pL63fmdT.mjs} +3 -3
  23. package/dist/{Dialog-CWW597AF.mjs → Dialog-CDV0kKxj.mjs} +24 -24
  24. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  25. package/dist/Drawer-BF40nbsH.mjs +163 -0
  26. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  27. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-QhQK4_FU.mjs} +4 -4
  28. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  29. package/dist/FinstrongStore-BGf36b0z.mjs +451 -0
  30. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-C1-w3Y1E.mjs} +7 -7
  31. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  32. package/dist/{Help-B6dIcujh.mjs → Help-DBfsTkAi.mjs} +125 -146
  33. package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
  34. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  35. package/dist/LineChart-C1PxNf7P.mjs +581 -0
  36. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BNCWQAN_.mjs} +10 -10
  37. package/dist/Loader-Ckqi9Rx6.mjs +21 -0
  38. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-8EsStyIQ.mjs} +195 -192
  39. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  40. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
  41. package/dist/MiniWidgetContainer-CKzf_Ira.mjs +56 -0
  42. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-Bti6u-d9.mjs} +4 -4
  43. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-B74rQVYC.mjs} +276 -273
  44. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
  45. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  46. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-2Y_3U_mg.mjs} +10 -10
  47. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-DAncu--R.mjs} +17 -17
  48. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-CxcSL1dY.mjs} +106 -105
  49. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-CNFxyGB6.mjs} +80 -73
  50. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-Cn6-R7ue.mjs} +10 -10
  51. package/dist/SearchBox-B7km148n.mjs +39 -0
  52. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-BASMQSIp.mjs} +3 -3
  53. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +6 -6
  54. package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
  55. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DPQ96k3x.mjs} +19 -19
  56. package/dist/SpendingLegend-6FqtMcBV.mjs +193 -0
  57. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  58. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  59. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  60. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  61. package/dist/TransactionDetails-Bn0qY5Hw.mjs +1336 -0
  62. package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-DbwAutwC.mjs} +146 -165
  63. package/dist/TrendsStore-_mRaFUdf.mjs +182 -0
  64. package/dist/{User-BQUxBeZV.mjs → User-BklmOUSd.mjs} +107 -107
  65. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DAkyNRlD.mjs} +706 -729
  66. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CDh9fjpR.mjs} +36 -36
  67. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  68. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  69. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  70. package/dist/accounts/index.es.js +228 -199
  71. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  72. package/dist/analytics/index.es.js +27 -27
  73. package/dist/budgets/index.es.js +459 -462
  74. package/dist/cashflow/index.es.js +419 -428
  75. package/dist/categories/index.es.js +2 -2
  76. package/dist/categories/stores/CategoryStore.d.ts +1 -1
  77. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  78. package/dist/common/components/Loader.d.ts +1 -2
  79. package/dist/common/components/Select.d.ts +4 -2
  80. package/dist/common/components/SkeletonLoader.d.ts +7 -0
  81. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  82. package/dist/common/components/charts/LineChart.d.ts +12 -2
  83. package/dist/common/components/charts/index.d.ts +0 -3
  84. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  85. package/dist/common/components/charts/linechart/CustomMark.d.ts +5 -1
  86. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  87. package/dist/common/components/drawer/Footer.d.ts +17 -0
  88. package/dist/common/components/index.d.ts +0 -1
  89. package/dist/common/hooks/index.d.ts +0 -1
  90. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  91. package/dist/common/index.es.js +413 -674
  92. package/dist/common/stores/GlobalStore.d.ts +7 -1
  93. package/dist/common/stores/GlobalUiStore.d.ts +3 -2
  94. package/dist/common/types/Finstrong.d.ts +54 -0
  95. package/dist/common/types/Global.d.ts +1 -0
  96. package/dist/common/types/Widgets.d.ts +1 -0
  97. package/dist/common/types/index.d.ts +1 -1
  98. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  99. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  100. package/dist/common/utils/Theme.d.ts +1 -3
  101. package/dist/dashboard/index.es.js +21 -21
  102. package/dist/debts/components/DebtsChart.d.ts +1 -2
  103. package/dist/debts/index.es.js +673 -665
  104. package/dist/exportTransactionsToCSV-BgV_wTLT.mjs +48 -0
  105. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  106. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  107. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  108. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  109. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  110. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  111. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  112. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  113. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  114. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  115. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  116. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  117. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  118. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  119. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  120. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  121. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  122. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  123. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  124. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  125. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  126. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  127. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  128. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  129. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  130. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  131. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  132. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  133. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  134. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  135. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  136. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  137. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  138. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  139. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  140. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  141. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  142. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  143. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  144. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  145. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  146. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  147. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  148. package/dist/finstrong/constants/index.d.ts +9 -0
  149. package/dist/finstrong/index.es.js +3175 -1067
  150. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  151. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  152. package/dist/goals/index.es.js +580 -570
  153. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  154. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  155. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  156. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  157. package/dist/help/index.es.js +6 -6
  158. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  159. package/dist/insights/index.es.js +1 -1
  160. package/dist/investments/index.es.js +537 -536
  161. package/dist/merchants/index.es.js +9 -9
  162. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  163. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  164. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  165. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  166. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  167. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  168. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  169. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  170. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  171. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  172. package/dist/microinsights/constants/App.d.ts +0 -1
  173. package/dist/microinsights/index.d.ts +3 -3
  174. package/dist/microinsights/index.es.js +7 -7
  175. package/dist/microinsights/interfaces.d.ts +0 -6
  176. package/dist/networth/components/NetWorthChange.d.ts +3 -1
  177. package/dist/networth/index.es.js +262 -254
  178. package/dist/notifications/index.es.js +90 -91
  179. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
  180. package/dist/recurringtransactions/index.es.js +586 -562
  181. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
  182. package/dist/settings/index.es.js +371 -365
  183. package/dist/spending/index.es.js +267 -419
  184. package/dist/spending/utils/SpendingData.d.ts +2 -1
  185. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  186. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  187. package/dist/transactions/index.es.js +231 -226
  188. package/dist/transactions/stores/TransactionStore.d.ts +1 -1
  189. package/dist/transactions/stores/UiStore.d.ts +0 -2
  190. package/dist/trends/index.es.js +988 -612
  191. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CcIp09Xc.mjs} +2 -2
  192. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-kNzLTWCp.mjs} +3 -3
  193. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  194. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-B5afALev.mjs} +1 -1
  195. package/package.json +51 -56
  196. package/dist/AccountDetailsContent-CAM9y39M.mjs +0 -679
  197. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  198. package/dist/AccountListItem-JFMZROh7.mjs +0 -90
  199. package/dist/CurrencyInput-DUsQbkXb.mjs +0 -85
  200. package/dist/Drawer-kEE73B87.mjs +0 -113
  201. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  202. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  203. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  204. package/dist/Loader-DUaFpDGv.mjs +0 -24
  205. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  206. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  207. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  208. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  209. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  210. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  211. package/dist/accounts/components/AccountsWidgetContent.d.ts +0 -3
  212. package/dist/common/components/barchart/Bar.d.ts +0 -25
  213. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  214. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  215. package/dist/common/components/barchart/Legend.d.ts +0 -8
  216. package/dist/common/components/barchart/Util.d.ts +0 -42
  217. package/dist/common/components/barchart/index.d.ts +0 -1
  218. package/dist/common/hooks/usePrevious.d.ts +0 -2
  219. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  220. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  221. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  222. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,9 +1,9 @@
1
- import { jsx as I } from "react/jsx-runtime";
2
- import M from "@mui/material/Box";
3
- import H from "@mui/material/FormControlLabel";
4
- import P from "@mui/material/Radio";
5
- import U from "@mui/material/styles/useTheme";
6
- import K from "@mui/material/Tooltip";
1
+ import { jsx as g } from "react/jsx-runtime";
2
+ import x from "@mui/material/Box";
3
+ import P from "@mui/material/FormControlLabel";
4
+ import H from "@mui/material/Radio";
5
+ import { useTheme as K } from "@mui/material/styles";
6
+ import U from "@mui/material/Tooltip";
7
7
  import { makeAutoObservable as p } from "mobx";
8
8
  import { endOfToday as f } from "date-fns/endOfToday";
9
9
  import { formatISO as V } from "date-fns/formatISO";
@@ -12,25 +12,25 @@ import { isBefore as v } from "date-fns/isBefore";
12
12
  import { startOfMonth as h } from "date-fns/startOfMonth";
13
13
  import { startOfToday as m } from "date-fns/startOfToday";
14
14
  import { subDays as B } from "date-fns/subDays";
15
- import { O as n, a as y, T as b } from "./User-BQUxBeZV.mjs";
16
- import { T as u } from "./TransactionApi-B3Tksf7L.mjs";
17
- import { b as Y } from "./Category-CevNQ03n.mjs";
18
- import { f as F } from "./exportTransactionsToCSV-7bVS7KXf.mjs";
15
+ import { O as o, a as y, T as b } from "./User-BklmOUSd.mjs";
16
+ import { T as u } from "./TransactionApi-CjBoLleL.mjs";
17
+ import { b as Y } from "./Category-Ccoew_sA.mjs";
18
+ import { f as F } from "./exportTransactionsToCSV-BgV_wTLT.mjs";
19
19
  import { format as W } from "date-fns/format";
20
- import { fromUnixTime as z } from "date-fns/fromUnixTime";
21
- import { f as g, D as C, O as $ } from "./Dialog-CWW597AF.mjs";
22
- import { endOfMonth as k } from "date-fns/endOfMonth";
23
- import { B as L } from "./BeatApi-DhJpgCLz.mjs";
24
- const X = ({
20
+ import { fromUnixTime as $ } from "date-fns/fromUnixTime";
21
+ import { f as I, a as C, O as k } from "./Dialog-CDV0kKxj.mjs";
22
+ import { endOfMonth as z } from "date-fns/endOfMonth";
23
+ import { B as L } from "./BeatApi-De2IaqH2.mjs";
24
+ const Rt = ({
25
25
  checked: l = !1,
26
26
  label: t,
27
27
  sx: a = {},
28
28
  tooltip: e = "",
29
29
  value: A
30
30
  }) => {
31
- const d = U(), s = d.palette.mode === "light" ? d.palette.grey[400] : d.palette.grey[700], c = l ? d.palette.action.active : s;
32
- return /* @__PURE__ */ I(
33
- M,
31
+ const d = K(), s = d.palette.mode === "light" ? d.palette.grey[400] : d.palette.grey[700], c = l ? d.palette.action.active : s;
32
+ return /* @__PURE__ */ g(
33
+ x,
34
34
  {
35
35
  bgcolor: "background.paper",
36
36
  border: `${l ? 3 : 1}px solid`,
@@ -41,11 +41,11 @@ const X = ({
41
41
  pr: 8,
42
42
  py: 4,
43
43
  sx: { "&:hover": { borderColor: d.palette.action.active }, ...a },
44
- children: /* @__PURE__ */ I(K, { title: e, children: /* @__PURE__ */ I(
45
- H,
44
+ children: /* @__PURE__ */ g(U, { title: e, children: /* @__PURE__ */ g(
45
+ P,
46
46
  {
47
- control: /* @__PURE__ */ I(
48
- P,
47
+ control: /* @__PURE__ */ g(
48
+ H,
49
49
  {
50
50
  disableRipple: !0,
51
51
  sx: { "&.Mui-checked": { color: d.palette.action.active } }
@@ -59,31 +59,19 @@ const X = ({
59
59
  ) })
60
60
  }
61
61
  );
62
- }, pt = X, G = {
62
+ }, G = {
63
63
  ASC: "ASC",
64
- DESC: "DESC",
65
- DIRECTION: {
66
- ASC: "ascending",
67
- DESC: "descending"
68
- },
69
- ALIGN: {
70
- center: "center",
71
- left: "flex-start",
72
- right: "flex-end"
73
- }
74
- }, o = {
64
+ DESC: "DESC"
65
+ }, n = {
75
66
  ADD: "Add",
76
67
  ADD_CATEGORY: "Add Category",
77
68
  CHANGE_CATEGORY: "Change Category",
78
- CHANGE_DATE: "Change Date",
79
69
  CLOSE: "Close",
80
70
  DELETE: "Delete",
81
71
  EDIT: "Edit",
82
- HIDE: "Hide",
83
72
  SAVE: "Save",
84
73
  SPLIT: "Split",
85
74
  SELECT: "Select",
86
- UNHIDE: "Unhide",
87
75
  UNSPLIT: "Unsplit"
88
76
  }, T = {
89
77
  TRANSACTION_DETAILS: "Transaction Details",
@@ -106,251 +94,246 @@ const X = ({
106
94
  TAG_DELETE: "Delete Tag",
107
95
  TAG_EDIT: "Edit Tag",
108
96
  TRANSACTION: "Transaction",
109
- TRANSACTIONS_LIST: "Transactions List",
110
97
  UNHIDE_TRANSACTION: "Unhide Transaction"
111
98
  }, R = {
112
99
  // splits
113
- [n.ON_TRANSACTION_SPLIT_CLICK]: {
114
- action: o.SELECT,
100
+ [o.ON_TRANSACTION_SPLIT_CLICK]: {
101
+ action: n.SELECT,
115
102
  category: T.TRANSACTION_DETAILS,
116
103
  label: r.SPLITS
117
104
  },
118
- [n.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
119
- action: o.ADD_CATEGORY,
105
+ [o.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
106
+ action: n.ADD_CATEGORY,
120
107
  category: T.TRANSACTION_DETAILS,
121
108
  label: r.SPLITS
122
109
  },
123
- [n.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
124
- action: o.DELETE,
110
+ [o.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
111
+ action: n.DELETE,
125
112
  category: T.TRANSACTION_DETAILS,
126
113
  label: r.SPLITS
127
114
  },
128
- [n.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
129
- action: o.SPLIT,
115
+ [o.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
116
+ action: n.SPLIT,
130
117
  category: T.TRANSACTION_DETAILS,
131
118
  label: r.SPLITS
132
119
  },
133
- [n.ON_TRANSACTION_UNSPLIT]: {
134
- action: o.UNSPLIT,
120
+ [o.ON_TRANSACTION_UNSPLIT]: {
121
+ action: n.UNSPLIT,
135
122
  category: T.TRANSACTION_DETAILS,
136
123
  label: r.SPLITS
137
124
  },
138
125
  // category
139
- [n.ON_TRANSACTION_CATEGORY_CLICK]: {
140
- action: o.SELECT,
126
+ [o.ON_TRANSACTION_CATEGORY_CLICK]: {
127
+ action: n.SELECT,
141
128
  category: T.TRANSACTIONS_LIST,
142
129
  label: r.CATEGORY
143
130
  },
144
- [n.ON_TRANSACTION_CATEGORY_CHANGED]: {
145
- action: o.CHANGE_CATEGORY,
131
+ [o.ON_TRANSACTION_CATEGORY_CHANGED]: {
132
+ action: n.CHANGE_CATEGORY,
146
133
  category: T.TRANSACTION_DETAILS,
147
134
  label: r.CATEGORY
148
135
  },
149
136
  // date
150
- [n.ON_TRANSACTION_DATE_CHANGED]: {
151
- action: o.SAVE,
137
+ [o.ON_TRANSACTION_DATE_CHANGED]: {
138
+ action: n.SAVE,
152
139
  category: T.TRANSACTION_DETAILS,
153
140
  label: r.DATE
154
141
  },
155
- [n.ON_TRANSACTION_DATE_CLICK]: {
156
- action: o.SELECT,
142
+ [o.ON_TRANSACTION_DATE_CLICK]: {
143
+ action: n.SELECT,
157
144
  category: T.TRANSACTION_DETAILS,
158
145
  label: r.DATE
159
146
  },
160
147
  // merchant logo
161
- [n.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
162
- action: o.CLOSE,
148
+ [o.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
149
+ action: n.CLOSE,
163
150
  category: T.TRANSACTION_DETAILS,
164
151
  label: r.DELETE_MERCHANT_LOGO
165
152
  },
166
- [n.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
167
- action: o.SELECT,
153
+ [o.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
154
+ action: n.SELECT,
168
155
  category: T.TRANSACTION_DETAILS,
169
156
  label: r.DELETE_MERCHANT_LOGO
170
157
  },
171
- [n.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
172
- action: o.DELETE,
158
+ [o.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
159
+ action: n.DELETE,
173
160
  category: T.TRANSACTION_DETAILS,
174
161
  label: r.DELETE_MERCHANT_LOGO
175
162
  },
176
163
  // description
177
- [n.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
178
- action: o.EDIT,
164
+ [o.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
165
+ action: n.EDIT,
179
166
  category: T.TRANSACTION_DETAILS,
180
167
  label: r.DESCRIPTION
181
168
  },
182
- [n.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
183
- action: o.SAVE,
169
+ [o.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
170
+ action: n.SAVE,
184
171
  category: T.TRANSACTION_DETAILS,
185
172
  label: r.DESCRIPTION
186
173
  },
187
174
  // hide transactions
188
- [n.ON_TRANSACTION_HIDDEN]: {
189
- action: o.SAVE,
175
+ [o.ON_TRANSACTION_HIDDEN]: {
176
+ action: n.SAVE,
190
177
  category: T.TRANSACTION_DETAILS,
191
178
  label: r.HIDE_TRANSACTION
192
179
  },
193
- [n.ON_TRANSACTION_HIDE_CLICK]: {
194
- action: o.SELECT,
180
+ [o.ON_TRANSACTION_HIDE_CLICK]: {
181
+ action: n.SELECT,
195
182
  category: T.TRANSACTION_DETAILS,
196
183
  label: r.HIDE_TRANSACTION
197
184
  },
198
- [n.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
199
- action: o.CLOSE,
185
+ [o.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
186
+ action: n.CLOSE,
200
187
  category: T.TRANSACTION_DETAILS,
201
188
  label: r.HIDE_TRANSACTION
202
189
  },
203
190
  // transaction list
204
- [n.ON_TRANSACTION_LIST_ITEM_CLICK]: {
205
- action: o.SELECT,
191
+ [o.ON_TRANSACTION_LIST_ITEM_CLICK]: {
192
+ action: n.SELECT,
206
193
  category: T.TRANSACTIONS_LIST,
207
194
  label: r.TRANSACTION
208
195
  },
209
196
  // memo
210
- [n.ON_TRANSACTION_MEMO_CHANGED]: {
211
- action: o.SAVE,
197
+ [o.ON_TRANSACTION_MEMO_CHANGED]: {
198
+ action: n.SAVE,
212
199
  category: T.TRANSACTION_DETAILS,
213
200
  label: r.MEMO
214
201
  },
215
- [n.ON_TRANSACTION_MEMO_CLICK]: {
216
- action: o.SELECT,
202
+ [o.ON_TRANSACTION_MEMO_CLICK]: {
203
+ action: n.SELECT,
217
204
  category: T.TRANSACTION_DETAILS,
218
205
  label: r.MEMO
219
206
  },
220
207
  // tags
221
- [n.ON_TRANSACTION_TAGS_CHANGED]: {
222
- action: o.SAVE,
208
+ [o.ON_TRANSACTION_TAGS_CHANGED]: {
209
+ action: n.SAVE,
223
210
  category: T.TRANSACTION_DETAILS,
224
211
  label: r.TAGS
225
212
  },
226
- [n.ON_TRANSACTION_TAGS_CLICK]: {
227
- action: o.SELECT,
213
+ [o.ON_TRANSACTION_TAGS_CLICK]: {
214
+ action: n.SELECT,
228
215
  category: T.TRANSACTION_DETAILS,
229
216
  label: r.TAGS
230
217
  },
231
- [n.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
232
- action: o.CLOSE,
218
+ [o.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
219
+ action: n.CLOSE,
233
220
  category: T.TRANSACTION_DETAILS,
234
221
  label: r.TAGS
235
222
  },
236
- [n.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
237
- action: o.ADD,
223
+ [o.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
224
+ action: n.ADD,
238
225
  category: T.TRANSACTION_DETAILS,
239
226
  label: r.TAG_ADD
240
227
  },
241
- [n.ON_TRANSACTION_TAGS_TAG_ADDED]: {
242
- action: o.SAVE,
228
+ [o.ON_TRANSACTION_TAGS_TAG_ADDED]: {
229
+ action: n.SAVE,
243
230
  category: T.TRANSACTION_DETAILS,
244
231
  label: r.TAG_ADD
245
232
  },
246
- [n.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
247
- action: o.SELECT,
233
+ [o.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
234
+ action: n.SELECT,
248
235
  category: T.TRANSACTION_DETAILS,
249
236
  label: r.TAG_DELETE
250
237
  },
251
- [n.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
252
- action: o.CLOSE,
238
+ [o.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
239
+ action: n.CLOSE,
253
240
  category: T.TRANSACTION_DETAILS,
254
241
  label: r.TAG_DELETE
255
242
  },
256
- [n.ON_TRANSACTION_TAGS_TAG_DELETED]: {
257
- action: o.SAVE,
243
+ [o.ON_TRANSACTION_TAGS_TAG_DELETED]: {
244
+ action: n.SAVE,
258
245
  category: T.TRANSACTION_DETAILS,
259
246
  label: r.TAG_DELETE
260
247
  },
261
- [n.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
262
- action: o.EDIT,
248
+ [o.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
249
+ action: n.EDIT,
263
250
  category: T.TRANSACTION_DETAILS,
264
251
  label: r.TAG_EDIT
265
252
  },
266
- [n.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
267
- action: o.SAVE,
253
+ [o.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
254
+ action: n.SAVE,
268
255
  category: T.TRANSACTION_DETAILS,
269
256
  label: r.TAG_EDIT
270
257
  },
271
258
  // flag
272
- [n.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
273
- action: o.SELECT,
259
+ [o.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
260
+ action: n.SELECT,
274
261
  category: T.TRANSACTION_DETAILS,
275
262
  label: r.FLAG
276
263
  },
277
264
  // hide
278
- [n.ON_TRANSACTION_UNHIDDEN]: {
279
- action: o.SAVE,
265
+ [o.ON_TRANSACTION_UNHIDDEN]: {
266
+ action: n.SAVE,
280
267
  category: T.TRANSACTION_DETAILS,
281
268
  label: r.UNHIDE_TRANSACTION
282
269
  },
283
- [n.ON_TRANSACTION_UNHIDE_CLICK]: {
284
- action: o.SELECT,
270
+ [o.ON_TRANSACTION_UNHIDE_CLICK]: {
271
+ action: n.SELECT,
285
272
  category: T.TRANSACTION_DETAILS,
286
273
  label: r.UNHIDE_TRANSACTION
287
274
  },
288
- [n.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
289
- action: o.CLOSE,
275
+ [o.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
276
+ action: n.CLOSE,
290
277
  category: T.TRANSACTION_DETAILS,
291
278
  label: r.UNHIDE_TRANSACTION
292
279
  },
293
280
  // export CSV
294
- [n.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
295
- action: o.SELECT,
281
+ [o.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
282
+ action: n.SELECT,
296
283
  category: T.TRANSACTIONS_WIDGET,
297
284
  label: r.EXPORT_CSV
298
285
  },
299
286
  // add transaction
300
- [n.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
301
- action: o.SELECT,
287
+ [o.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
288
+ action: n.SELECT,
302
289
  category: T.TRANSACTIONS_WIDGET,
303
290
  label: r.ADD_TRANSACTION
304
291
  },
305
- [n.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
306
- action: o.ADD,
292
+ [o.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
293
+ action: n.ADD,
307
294
  category: T.TRANSACTIONS_WIDGET,
308
295
  label: r.ADD_TRANSACTION
309
296
  },
310
- [n.ON_TRANSACTION_DELETE_CLICK]: {
311
- action: o.SELECT,
297
+ [o.ON_TRANSACTION_DELETE_CLICK]: {
298
+ action: n.SELECT,
312
299
  category: T.TRANSACTIONS_WIDGET,
313
300
  label: r.DELETE_TRANSACTION
314
301
  },
315
- [n.ON_TRANSACTION_DELETE_CANCEL]: {
316
- action: o.CLOSE,
302
+ [o.ON_TRANSACTION_DELETE_CANCEL]: {
303
+ action: n.CLOSE,
317
304
  category: T.TRANSACTIONS_WIDGET,
318
305
  label: r.DELETE_TRANSACTION
319
306
  },
320
- [n.ON_TRANSACTION_DELETE_DELETED]: {
321
- action: o.DELETE,
307
+ [o.ON_TRANSACTION_DELETE_DELETED]: {
308
+ action: n.DELETE,
322
309
  category: T.TRANSACTIONS_WIDGET,
323
310
  label: r.DELETE_TRANSACTION
324
311
  }
325
- }, j = async (l, t) => !t || !R[l] ? null : t.sendAnalyticEvent(R[l]), D = {
326
- FLAG: "flag",
312
+ }, X = async (l, t) => !t || !R[l] ? null : t.sendAnalyticEvent(R[l]), D = {
327
313
  DATE: "date",
328
- PAYEE: "payee",
329
- CATEGORY: "category",
330
- ACCOUNT: "account",
331
314
  AMOUNT: "amount"
332
- }, Z = (l, t, a, e = []) => {
315
+ }, j = (l, t, a, e = []) => {
333
316
  const A = t.reduce((c, i) => ({ ...c, [i.guid]: i }), {}), d = a.reduce((c, i) => ({ ...c, [i.guid]: i }), {}), s = e.reduce((c, i) => {
334
- const { transaction_guid: N, tag_guid: E } = i;
335
- if (!c[N])
317
+ const { transaction_guid: S, tag_guid: E } = i;
318
+ if (!c[S])
336
319
  return {
337
320
  ...c,
338
- [N]: [E]
321
+ [S]: [E]
339
322
  };
340
- const S = [...c[N], E];
323
+ const N = [...c[S], E];
341
324
  return {
342
325
  ...c,
343
- [N]: S
326
+ [S]: N
344
327
  };
345
328
  }, {});
346
329
  return l.map((c) => {
347
- const i = A[c.account_guid], N = c.category_guid ? d[c.category_guid] : null, E = s[c.guid] ?? [];
330
+ const i = A[c.account_guid], S = c.category_guid ? d[c.category_guid] : null, E = s[c.guid] ?? [];
348
331
  return {
349
332
  ...c,
350
333
  account: i?.user_name || "Unknown",
351
334
  accountIsClosed: i?.is_closed,
352
335
  accountIsHidden: i?.is_hidden,
353
- category: N?.name || "Uncategorized",
336
+ category: S?.name || "Uncategorized",
354
337
  isIncome: c.top_level_category_guid === Y.INCOME,
355
338
  isPending: c.feed_status === y.PENDING,
356
339
  number: i?.account_number || "",
@@ -358,13 +341,13 @@ const X = ({
358
341
  tags: E
359
342
  };
360
343
  });
361
- }, q = "uncategorized", J = (l, t, a, e, A, d) => {
362
- const s = Q(l, A, d), c = tt(s, a, e);
344
+ }, Z = "uncategorized", q = (l, t, a, e, A, d) => {
345
+ const s = J(l, A, d), c = Q(s, a, e);
363
346
  return t.forEach((i) => {
364
- const N = c.findIndex((S) => S.guid === i), E = d.filter((S) => S.parent_guid === i);
365
- c.splice(N + 1, 0, ...E);
347
+ const S = c.findIndex((N) => N.guid === i), E = d.filter((N) => N.parent_guid === i);
348
+ c.splice(S + 1, 0, ...E);
366
349
  }), c;
367
- }, Q = (l, t, a) => {
350
+ }, J = (l, t, a) => {
368
351
  const {
369
352
  accounts: e = [],
370
353
  dateRange: A = { start: h(m()), end: f() },
@@ -372,24 +355,24 @@ const X = ({
372
355
  searchTerm: s = "",
373
356
  showSplits: c = !1
374
357
  } = l;
375
- return a.filter((i) => c ? !i.has_been_split : !i.parent_guid).filter((i) => !!e.find((N) => N === i.account_guid)).filter((i) => i.date >= O(A.start) && i.date <= O(A.end)).filter(d).filter((i) => {
376
- if (s === q && i.has_been_split)
358
+ return a.filter((i) => c ? !i.has_been_split : !i.parent_guid).filter((i) => !!e.find((S) => S === i.account_guid)).filter((i) => i.date >= O(A.start) && i.date <= O(A.end)).filter(d).filter((i) => {
359
+ if (s === Z && i.has_been_split)
377
360
  return !1;
378
361
  if (/^spl/i.test(s) && (i.has_been_split || i.parent_guid))
379
362
  return !0;
380
363
  const E = i.tags.some(
381
- (w) => _(s, t.find((x) => x.guid === w)?.name)
382
- ), S = z(i.date);
383
- return _(s, i.payee) || _(s, i.feed_description) || _(s, i.category) || _(s, g(S, C.MONTH)) || _(s, g(S, C.DAY)) || _(s, g(S, C.FULL_MONTH_DAY)) || _(s, g(S, C.MONTH_DAY_YEAR)) || _(s, W(S, $)) || _(s, i.account) || _(s, `${i.amount}`) || _(s, i.memo) || E;
364
+ (w) => _(s, t.find((M) => M.guid === w)?.name)
365
+ ), N = $(i.date);
366
+ return _(s, i.payee) || _(s, i.feed_description) || _(s, i.category) || _(s, I(N, C.MONTH)) || _(s, I(N, C.DAY)) || _(s, I(N, C.FULL_MONTH_DAY)) || _(s, I(N, C.MONTH_DAY_YEAR)) || _(s, W(N, k)) || _(s, i.account) || _(s, `${i.amount}`) || _(s, i.memo) || E;
384
367
  });
385
- }, tt = (l, t, a) => [...l].sort((e, A) => {
368
+ }, Q = (l, t, a) => [...l].sort((e, A) => {
386
369
  const d = t, s = (e[d] || "") > (A[d] || "");
387
370
  let c = s ? -1 : 1, i = s ? 1 : -1;
388
371
  return (t === D.DATE || t === D.AMOUNT) && (c = s ? 1 : -1, i = s ? -1 : 1), a === G.ASC ? c : i;
389
372
  }), _ = (l, t) => {
390
373
  const a = l.toLowerCase().split(" "), e = t?.toString().toLowerCase() ?? "";
391
374
  return a.every((A) => e.indexOf(A) > -1);
392
- }, at = {
375
+ }, tt = {
393
376
  account_guid: "",
394
377
  amount: 0,
395
378
  currency_code: "",
@@ -418,17 +401,16 @@ const X = ({
418
401
  memo: void 0,
419
402
  tags: []
420
403
  };
421
- class et {
404
+ class at {
422
405
  beginDate = h(/* @__PURE__ */ new Date());
423
- endDate = k(/* @__PURE__ */ new Date());
406
+ endDate = z(/* @__PURE__ */ new Date());
424
407
  expandedSplits = [];
425
- isInitialized = !1;
426
408
  height = 550;
427
409
  width = 1e3;
428
410
  shouldDisableDrawerScroll = !1;
429
411
  searchValue = "";
430
412
  selectedAccountGuids = [];
431
- manualTransaction = at;
413
+ manualTransaction = tt;
432
414
  isAmountValid = !1;
433
415
  showInsights = !1;
434
416
  constructor() {
@@ -437,7 +419,6 @@ class et {
437
419
  setDateRange = (t, a) => {
438
420
  this.beginDate = t, this.endDate = a;
439
421
  };
440
- setIsInitialized = (t) => this.isInitialized = t;
441
422
  setIsAmountValid = (t) => this.isAmountValid = t;
442
423
  setSearchValue = (t) => this.searchValue = t;
443
424
  setSelectedAccountGuids = (t) => this.selectedAccountGuids = t;
@@ -459,7 +440,7 @@ class et {
459
440
  this.manualTransaction = t;
460
441
  };
461
442
  }
462
- class ft {
443
+ class pt {
463
444
  globalStore;
464
445
  uiStore;
465
446
  api = new u("/", "");
@@ -479,29 +460,37 @@ class ft {
479
460
  isLoading = !0;
480
461
  sortColumn = D.DATE;
481
462
  sortDirection = G.DESC;
482
- onAnalyticEvent = j;
463
+ onAnalyticEvent = X;
483
464
  constructor(t) {
484
- this.globalStore = t, this.uiStore = new et(), this.api = new u(
465
+ this.globalStore = t, this.uiStore = new at(), this.api = new u(
485
466
  t.endpoint,
486
467
  t.sessionToken,
487
468
  t.onError
488
469
  ), this.beatApi = new L(t.endpoint, t.sessionToken, t.onError), p(this);
489
470
  }
490
471
  loadTransactionData = async () => {
491
- await Promise.all([
472
+ this.globalStore.accountStore.isAccountDataLoaded || await this.globalStore.accountStore.loadAccountData(), this.globalStore.categoryStore.categoriesLoaded || await this.globalStore.categoryStore.loadCategories(), await Promise.all([
492
473
  this.loadAssociatedBeats(h(/* @__PURE__ */ new Date())),
493
474
  this.loadTags(),
494
475
  this.loadTaggings(),
495
476
  this.loadTransactionRules(),
496
477
  // By default loads 90 days of transactions
497
478
  this.loadTransactions(this.cachedStartDate)
498
- ]), this.uiStore.setIsInitialized(!0);
479
+ ]);
499
480
  };
500
481
  get isTransactionDataLoaded() {
501
482
  return this.associatedBeatsLoaded && this.tagsLoaded && this.taggingsLoaded && this.transactionRulesLoaded && this.transactionsLoaded;
502
483
  }
484
+ get detailedTransactions() {
485
+ return this.isTransactionDataLoaded ? j(
486
+ this.transactions,
487
+ this.globalStore.accountStore.visibleAccounts,
488
+ this.globalStore.categoryStore.categories,
489
+ this.taggings
490
+ ) : [];
491
+ }
503
492
  get sortedTransactions() {
504
- return J(
493
+ return q(
505
494
  this.filter,
506
495
  this.uiStore.expandedSplits,
507
496
  this.sortColumn,
@@ -513,14 +502,6 @@ class ft {
513
502
  get sortedTransactionsWithSplits() {
514
503
  return F(this.sortedTransactions, this.transactions);
515
504
  }
516
- get detailedTransactions() {
517
- return Z(
518
- this.transactions,
519
- this.globalStore.accountStore.visibleAccounts,
520
- this.globalStore.categoryStore.categories,
521
- this.taggings
522
- );
523
- }
524
505
  setAssociatedBeats = (t) => {
525
506
  this.associatedBeats = t, this.associatedBeatsLoaded = !0;
526
507
  };
@@ -684,7 +665,7 @@ class ft {
684
665
  };
685
666
  }
686
667
  export {
687
- at as D,
688
- pt as S,
689
- ft as T
668
+ tt as D,
669
+ Rt as S,
670
+ pt as T
690
671
  };