@mx-cartographer/experiences 8.1.12 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
  3. package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
  4. package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +21 -21
  5. package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
  6. package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-BYyeeCf6.mjs} +7 -7
  7. package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
  8. package/dist/{Analytics-CxK7O19c.mjs → Analytics-CkYXKvco.mjs} +1 -1
  9. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  10. package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
  11. package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
  12. package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +2 -2
  13. package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
  14. package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
  15. package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
  16. package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
  17. package/dist/CurrencyDialog-d4dL7vA5.mjs +371 -0
  18. package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-B59ugxPN.mjs} +15 -16
  19. package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  20. package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
  21. package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
  22. package/dist/DebtUtils-DD3186U-.mjs +153 -0
  23. package/dist/EmbeddedCard-BNl3quCs.mjs +856 -0
  24. package/dist/Error-Dogaw2jO.mjs +84 -0
  25. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  26. package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-hDprC41l.mjs} +6 -5
  27. package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
  28. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  29. package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
  30. package/dist/{Help-C_CM4gpK.mjs → Help-BSQm9o29.mjs} +68 -67
  31. package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
  32. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  33. package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-CejWS_rh.mjs} +2 -2
  34. package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
  35. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  36. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  37. package/dist/Localization-DnoVyBNK.mjs +38 -0
  38. package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-DwylSiWs.mjs} +51 -51
  39. package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
  40. package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
  41. package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
  42. package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-CCg-Tml2.mjs} +13 -13
  43. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  44. package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  45. package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +4 -4
  46. package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-CPXLW6AR.mjs} +9 -9
  47. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
  48. package/dist/Select-BZRUpOib.mjs +51 -0
  49. package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
  50. package/dist/Sizes-DISGrlUg.mjs +6 -0
  51. package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-PKlh8caU.mjs} +6 -6
  52. package/dist/{SpendingLegend-BS8mHUbu.mjs → SpendingLegend-BmkEr9Nh.mjs} +4 -4
  53. package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-CbBSxdOi.mjs} +33 -33
  54. package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
  55. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  56. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  57. package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +28 -30
  58. package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-DalWyz5A.mjs} +3 -3
  59. package/dist/accounts/hooks/useUiStore.d.ts +6 -1
  60. package/dist/accounts/index.d.ts +0 -1
  61. package/dist/accounts/index.es.js +62 -64
  62. package/dist/analytics/index.es.js +2 -2
  63. package/dist/budgets/index.es.js +18 -18
  64. package/dist/cashflow/context/hooks.d.ts +15 -1
  65. package/dist/cashflow/index.d.ts +0 -1
  66. package/dist/cashflow/index.es.js +28 -31
  67. package/dist/categories/context/hooks.d.ts +19 -1
  68. package/dist/categories/index.d.ts +0 -1
  69. package/dist/categories/index.es.js +4 -6
  70. package/dist/common/constants/ScheduledPayment.d.ts +1 -1
  71. package/dist/common/constants/index.d.ts +0 -3
  72. package/dist/common/context/GlobalDataProvider.d.ts +1 -1
  73. package/dist/common/context/hooks.d.ts +20 -20
  74. package/dist/common/index.d.ts +3 -1
  75. package/dist/common/index.es.js +215 -961
  76. package/dist/common/utils/AccountFilter.d.ts +1 -1
  77. package/dist/common/utils/index.d.ts +0 -4
  78. package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
  79. package/dist/core/constants/Transaction.d.ts +10 -0
  80. package/dist/core/constants/index.d.ts +2 -0
  81. package/dist/core/index.d.ts +1 -1
  82. package/dist/core/index.es.js +94 -79
  83. package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
  84. package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
  85. package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
  86. package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
  87. package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
  88. package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
  89. package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
  90. package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
  91. package/dist/core/stores/DebtsStore.d.ts +22 -0
  92. package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
  93. package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
  94. package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
  95. package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
  96. package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
  97. package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
  98. package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
  99. package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
  100. package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
  101. package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
  102. package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
  103. package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
  104. package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
  105. package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
  106. package/dist/{common → core}/stores/UserStore.d.ts +2 -2
  107. package/dist/core/stores/index.d.ts +24 -0
  108. package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
  109. package/dist/core/types/Offer.d.ts +32 -0
  110. package/dist/core/types/index.d.ts +3 -1
  111. package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
  112. package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
  113. package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
  114. package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
  115. package/dist/core/utils/DebtUtils.d.ts +31 -0
  116. package/dist/core/utils/FinstrongUtils.d.ts +7 -0
  117. package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
  118. package/dist/core/utils/HelpUtil.d.ts +3 -0
  119. package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
  120. package/dist/core/utils/Localization.d.ts +3 -0
  121. package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
  122. package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
  123. package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
  124. package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
  125. package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
  126. package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
  127. package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
  128. package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
  129. package/dist/core/utils/index.d.ts +1 -1
  130. package/dist/dashboard/index.es.js +4 -4
  131. package/dist/debts/components/DebtsChart.d.ts +1 -1
  132. package/dist/debts/components/DebtsTable.d.ts +1 -1
  133. package/dist/debts/components/SnowballCard.d.ts +1 -1
  134. package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
  135. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
  136. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
  137. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
  138. package/dist/debts/index.d.ts +0 -1
  139. package/dist/debts/index.es.js +568 -691
  140. package/dist/debts/utils/DebtsTable.d.ts +1 -1
  141. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  142. package/dist/finstrong/index.d.ts +0 -1
  143. package/dist/finstrong/index.es.js +1565 -1342
  144. package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
  145. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  146. package/dist/goals/index.d.ts +0 -1
  147. package/dist/goals/index.es.js +71 -73
  148. package/dist/help/index.es.js +4 -4
  149. package/dist/help/utils/index.d.ts +0 -1
  150. package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
  151. package/dist/insights/index.d.ts +0 -1
  152. package/dist/insights/index.es.js +52 -54
  153. package/dist/investments/components/AnalysisDetails.d.ts +1 -1
  154. package/dist/investments/index.es.js +6 -6
  155. package/dist/merchants/index.d.ts +0 -1
  156. package/dist/merchants/index.es.js +12 -14
  157. package/dist/microinsights/index.es.js +1 -1
  158. package/dist/microinsights/interfaces.d.ts +1 -33
  159. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
  160. package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
  161. package/dist/networth/components/NetWorthChange.d.ts +1 -1
  162. package/dist/networth/components/NetWorthListItem.d.ts +1 -1
  163. package/dist/networth/components/NetWorthSummary.d.ts +1 -1
  164. package/dist/networth/index.d.ts +0 -4
  165. package/dist/networth/index.es.js +232 -237
  166. package/dist/notifications/index.d.ts +0 -2
  167. package/dist/notifications/index.es.js +23 -26
  168. package/dist/recurringtransactions/index.d.ts +0 -1
  169. package/dist/recurringtransactions/index.es.js +92 -96
  170. package/dist/settings/index.d.ts +0 -1
  171. package/dist/settings/index.es.js +11 -13
  172. package/dist/spending/index.es.js +10 -10
  173. package/dist/transactions/context/hooks.d.ts +1 -1
  174. package/dist/transactions/index.d.ts +0 -4
  175. package/dist/transactions/index.es.js +102 -109
  176. package/dist/trends/index.d.ts +0 -1
  177. package/dist/trends/index.es.js +67 -68
  178. package/dist/trends/utils/shared.d.ts +1 -1
  179. package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
  180. package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
  181. package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
  182. package/package.json +1 -1
  183. package/dist/AccountApi-WEM2M9tg.mjs +0 -19
  184. package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
  185. package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
  186. package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
  187. package/dist/BeatStore-C7-PIhpB.mjs +0 -163
  188. package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
  189. package/dist/CashflowStore-BEi92kJg.mjs +0 -91
  190. package/dist/CategoryApi-CogDFScz.mjs +0 -29
  191. package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
  192. package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
  193. package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
  194. package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
  195. package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
  196. package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
  197. package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
  198. package/dist/Goal-MFBpoOIC.mjs +0 -29
  199. package/dist/GoalStore-BBAEbf43.mjs +0 -395
  200. package/dist/Localization-C_HZg9tJ.mjs +0 -15
  201. package/dist/Localization-CkQ49EKr.mjs +0 -26
  202. package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
  203. package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
  204. package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
  205. package/dist/NotificationApi-DF0obHoR.mjs +0 -20
  206. package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
  207. package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
  208. package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
  209. package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
  210. package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
  211. package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
  212. package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
  213. package/dist/Transaction-Cn5_iFm0.mjs +0 -5
  214. package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
  215. package/dist/TransactionStore-amPYxHnA.mjs +0 -710
  216. package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
  217. package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
  218. package/dist/accounts/stores/UiStore.d.ts +0 -10
  219. package/dist/accounts/utils/index.d.ts +0 -1
  220. package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
  221. package/dist/categories/stores/UiStore.d.ts +0 -20
  222. package/dist/common/stores/index.d.ts +0 -3
  223. package/dist/common/utils/Categories.d.ts +0 -6
  224. package/dist/common/utils/Localization.d.ts +0 -3
  225. package/dist/debts/store/DebtsStore.d.ts +0 -10
  226. package/dist/debts/store/DebtsUiStore.d.ts +0 -13
  227. package/dist/debts/utils/DebtStore.d.ts +0 -4
  228. package/dist/debts/utils/DebtsWidget.d.ts +0 -20
  229. package/dist/debts/utils/shared.d.ts +0 -12
  230. package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
  231. package/dist/help/constants/index.d.ts +0 -1
  232. package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
  233. package/dist/transactions/analytics.d.ts +0 -3
  234. package/dist/transactions/constants/Transaction.d.ts +0 -2
  235. package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
  236. package/dist/transactions/stores/UiStore.d.ts +0 -25
  237. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
  238. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
  239. /package/dist/{common → core}/constants/Category.d.ts +0 -0
  240. /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
  241. /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
  242. /package/dist/{help → core}/constants/Help.d.ts +0 -0
  243. /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
  244. /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
  245. /package/dist/{common → core}/constants/Table.d.ts +0 -0
  246. /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
@@ -8,19 +8,19 @@ import y from "@mui/material/Stack";
8
8
  import $ from "@mui/material/Tab";
9
9
  import rt from "@mui/material/Tabs";
10
10
  import _t from "@mui/material/styles/useTheme";
11
- import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-BS8mHUbu.mjs";
11
+ import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-BmkEr9Nh.mjs";
12
12
  import { Text as T, Icon as bt } from "@mxenabled/mxui";
13
- import { f as k } from "../NumberFormatting-CyrvFgfd.mjs";
14
- import { u as A, l as R, d as ct, b as P, a as H, h as dt, g as yt } from "../hooks-RzCoiTd0.mjs";
15
- import { u as gt } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
13
+ import { f as k } from "../NumberFormatting--XMeeBfr.mjs";
14
+ import { u as A, l as R, d as ct, b as P, a as H, h as dt, g as yt } from "../hooks-BaO_gOI6.mjs";
15
+ import { u as gt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
16
16
  import { L as pt } from "../Loader-CxeBwuPG.mjs";
17
- import { M as Ct } from "../MiniWidgetContainer-BOv3n4iw.mjs";
17
+ import { M as Ct } from "../MiniWidgetContainer-BdPiUU-u.mjs";
18
18
  import { startOfToday as J } from "date-fns/startOfToday";
19
19
  import St from "@mui/material/Button";
20
20
  import { useTheme as Tt } from "@mui/material";
21
- import { e as Mt } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
22
- import { T as Dt } from "../EmbeddedCard-B9JoBaan.mjs";
23
- import { T as xt } from "../TransactionDetails-C_skrQk8.mjs";
21
+ import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
22
+ import { T as Dt } from "../EmbeddedCard-BNl3quCs.mjs";
23
+ import { T as xt } from "../TransactionDetails-CbBSxdOi.mjs";
24
24
  import vt from "@mui/material/Collapse";
25
25
  import wt from "@mui/material/Divider";
26
26
  import Q from "@mui/material/List";
@@ -28,10 +28,10 @@ import X from "@mui/material/ListItem";
28
28
  import Z from "@mui/material/ListItemButton";
29
29
  import { u as Lt } from "../useScreenSize-CeFhWTt_.mjs";
30
30
  import { D as tt } from "../Drawer-XPaLYjiO.mjs";
31
- import { b as w } from "../Category-Ccoew_sA.mjs";
31
+ import { C as w } from "../Category-DEKZGLYe.mjs";
32
32
  import { parseISO as et } from "date-fns/parseISO";
33
33
  import { A as nt } from "../Analytics-CzGzz_sE.mjs";
34
- import { W as It } from "../WidgetContainer-BPJoDkhL.mjs";
34
+ import { W as It } from "../WidgetContainer-DalWyz5A.mjs";
35
35
  const G = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
36
36
  /* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
37
37
  /* @__PURE__ */ t(T, { variant: "caption", children: k(n, o === "mini" ? "0,0" : "0,0.00") })
@@ -1 +1 @@
1
- export declare const useTransactionsUiStore: () => import('../stores/UiStore').UiStore;
1
+ export declare const useTransactionsUiStore: () => import('../../core/stores/TransactionStore').UiStore;
@@ -1,12 +1,8 @@
1
1
  export { BottomActions, TopActions } from './constants/Actions';
2
- export { ON_CLICK_EVENTS as TRANSACTION_EVENTS } from './constants/OnClickEvents';
3
- export { TransactionStore } from './stores/TransactionStore';
4
2
  export { useTransactionsUiStore } from './context/hooks';
5
- export { exportTransactionsToCSV } from './utils/exportTransactionsToCSV';
6
3
  export { default as ExportCsvAction } from './components/transactionwidget/actions/ExportCsvAction';
7
4
  export { default as TransactionRow } from './components/shared/transactionlist/TransactionRow';
8
5
  export { default as TransactionList } from './components/shared/TransactionList';
9
6
  export { default as TransactionTable } from './components/shared/TransactionTable';
10
7
  export { default as TransactionDetails } from './components/shared/TransactionDetails';
11
- export { default as AddAccountModal } from './components/transactionwidget/AddAccountModal';
12
8
  export { default as TransactionWidget } from './TransactionWidget';
@@ -1,54 +1,51 @@
1
- import { C as Re, D as Be, M as He, a as Pe, T as Ve } from "../TransactionDetails-C_skrQk8.mjs";
2
- import { B as Sa, b as Da } from "../TransactionDetails-C_skrQk8.mjs";
3
- import { e as $e } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
4
- import { O as va } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
5
- import { S as Z, D as We } from "../TransactionStore-amPYxHnA.mjs";
6
- import { T as Ea } from "../TransactionStore-amPYxHnA.mjs";
7
- import { u as B, T as Ge } from "../EmbeddedCard-B9JoBaan.mjs";
8
- import { a as ka } from "../EmbeddedCard-B9JoBaan.mjs";
9
- import { E as Ma } from "../ExportCsvAction-BDFu6YIe.mjs";
1
+ import { C as Re, D as Be, M as He, a as Pe, T as $e } from "../TransactionDetails-CbBSxdOi.mjs";
2
+ import { B as wa, b as Sa } from "../TransactionDetails-CbBSxdOi.mjs";
3
+ import { u as B, T as Ve } from "../EmbeddedCard-BNl3quCs.mjs";
4
+ import { a as va } from "../EmbeddedCard-BNl3quCs.mjs";
5
+ import { E as Na } from "../ExportCsvAction-hDprC41l.mjs";
10
6
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
11
7
  import u from "react";
12
8
  import { observer as D } from "mobx-react-lite";
13
- import Fe from "@mui/material/Paper";
14
- import { DataGridPro as Ue } from "@mui/x-data-grid-pro";
15
- import { h as H, u as I, g as ne, b as K, d as oe, l as Ke, a as ze, o as qe } from "../hooks-RzCoiTd0.mjs";
9
+ import We from "@mui/material/Paper";
10
+ import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
11
+ import { h as H, u as v, g as ne, b as K, d as oe, l as Fe, a as Ue, C as Ke } from "../hooks-BaO_gOI6.mjs";
16
12
  import { L as z } from "../Loader-CxeBwuPG.mjs";
17
- import { Text as y, Icon as R, MerchantLogo as Ye, TextField as ee, P as je } from "@mxenabled/mxui";
13
+ import { Text as y, Icon as R, MerchantLogo as ze, TextField as Z, P as qe } from "@mxenabled/mxui";
18
14
  import w from "@mui/material/Stack";
19
- import { T as O } from "../Transaction-Cn5_iFm0.mjs";
20
- import { f as re } from "../NumberFormatting-CyrvFgfd.mjs";
15
+ import { f as re } from "../NumberFormatting--XMeeBfr.mjs";
16
+ import { T as k, e as Ye, D as je } from "../TransactionUtils-BphBJBbU.mjs";
21
17
  import S from "@mui/material/Box";
22
18
  import { useTheme as Xe } from "@mui/material/styles";
23
19
  import { fromUnixTime as Je } from "date-fns/fromUnixTime";
24
- import { f as Qe, D as Ze } from "../DateFormats-CaOj_4eI.mjs";
20
+ import { f as Qe, D as Ze } from "../DateFormats-HudZ3Bjs.mjs";
25
21
  import { A } from "../Analytics-CzGzz_sE.mjs";
26
- import { D as ie } from "../Dialog-iLlBR8TG.mjs";
27
22
  import { endOfMonth as et } from "date-fns/endOfMonth";
28
23
  import { getUnixTime as tt } from "date-fns/getUnixTime";
29
24
  import { startOfMonth as at } from "date-fns/startOfMonth";
30
25
  import { startOfToday as F } from "date-fns/startOfToday";
31
26
  import nt from "@mui/material/styles/useTheme";
32
- import { C as ot } from "../ConnectDrawer-DNnuF80E.mjs";
27
+ import { b as U } from "../Localization-DnoVyBNK.mjs";
28
+ import { C as ot } from "../ConnectDrawer-DgfsTpyW.mjs";
33
29
  import rt from "@mui/material/Divider";
34
30
  import it from "@mui/material/MenuItem";
35
31
  import st from "@mui/material/RadioGroup";
36
32
  import { ExpandMore as ct } from "@mxenabled/mx-icons";
37
- import { C as lt } from "../CurrencyInput-BMbUVSvz.mjs";
38
- import { b as dt, u as ut } from "../CategorySelectorDrawer-hhDdSFHO.mjs";
39
- import { b as U } from "../Localization-CkQ49EKr.mjs";
33
+ import { C as lt } from "../CurrencyInput-B59ugxPN.mjs";
34
+ import { S as ee } from "../SelectionBox-Bx2a5rh4.mjs";
35
+ import { D as ie } from "../Dialog-iLlBR8TG.mjs";
36
+ import { b as dt, u as ut } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
40
37
  import { u as mt } from "../useAriaLive-MkYebyUR.mjs";
41
38
  import { S as _t } from "../SkeletonLoader-BaNboJjD.mjs";
42
39
  import { u as pt } from "../useScreenSize-CeFhWTt_.mjs";
43
- import { u as gt } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
44
- import { W as ht } from "../WidgetContainer-BPJoDkhL.mjs";
40
+ import { u as gt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
41
+ import { W as ht } from "../WidgetContainer-DalWyz5A.mjs";
45
42
  import { S as ft } from "../SearchBox-CwDgvWVJ.mjs";
46
43
  import { D as te } from "../Drawer-XPaLYjiO.mjs";
47
44
  const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
48
45
  `${t.row.account}`,
49
46
  t.row.number && ` | ${t.row.number}`
50
47
  ] }), yt = (t) => {
51
- const { associatedBeats: r } = H(), { showInsights: i } = B(), { amount: a, transaction_type: s } = t.row, c = r.find((p) => p.associated_transaction_guid === t.row.guid), l = s === O.CREDIT;
48
+ const { associatedBeats: r } = H(), { showInsights: i } = B(), { amount: a, transaction_type: s } = t.row, c = r.find((p) => p.associated_transaction_guid === t.row.guid), l = s === k.CREDIT;
52
49
  return /* @__PURE__ */ m(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
53
50
  /* @__PURE__ */ m(y, { bold: l, color: l ? "success.main" : "text.primary", variant: "body2", children: [
54
51
  l ? "+" : "",
@@ -57,7 +54,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
57
54
  c && i && /* @__PURE__ */ e(y, { bold: !0, color: "primary.light", variant: "caption", children: c.short_title })
58
55
  ] });
59
56
  }, bt = (t) => {
60
- const { transactions: r } = I(), [i, a] = u.useState(!1);
57
+ const { transactions: r } = v(), [i, a] = u.useState(!1);
61
58
  return /* @__PURE__ */ m(
62
59
  w,
63
60
  {
@@ -76,7 +73,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
76
73
  }
77
74
  );
78
75
  }, Tt = D(bt), xt = (t) => /* @__PURE__ */ e(y, { tabIndex: t.tabIndex, variant: "body2", children: Qe(Je(t.row.date), Ze.MONTH_DAY) }), At = (t) => {
79
- const r = Xe(), i = r.palette.mode === "dark", { transactions: a } = I(), { is_flagged: s, is_hidden: c, has_been_viewed: l, parent_guid: p } = t.row, f = !l && !!!p;
76
+ const r = Xe(), i = r.palette.mode === "dark", { transactions: a } = v(), { is_flagged: s, is_hidden: c, has_been_viewed: l, parent_guid: p } = t.row, f = !l && !!!p;
80
77
  return /* @__PURE__ */ m(
81
78
  S,
82
79
  {
@@ -113,7 +110,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
113
110
  );
114
111
  }, wt = D(At), E = (t) => /* @__PURE__ */ e(y, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), St = (t) => /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", gap: 8, children: [
115
112
  /* @__PURE__ */ e(
116
- Ye,
113
+ ze,
117
114
  {
118
115
  categoryGuid: t.row.top_level_category_guid || "",
119
116
  merchantGuid: t.row.merchant_guid || ""
@@ -128,7 +125,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
128
125
  onCategoryClick: r,
129
126
  onRowClick: i
130
127
  }) => {
131
- const { onEvent: a } = ne(), { transactions: s } = I(), { isCopyLoaded: c } = K(), { isLoading: l, sortedTransactions: p } = H(), { clearExpandedSplits: b, toggleSplit: f } = B();
128
+ const { onEvent: a } = ne(), { transactions: s } = v(), { isCopyLoaded: c } = K(), { isLoading: l, sortedTransactions: p } = H(), { clearExpandedSplits: b, toggleSplit: f } = B();
132
129
  u.useEffect(() => () => b(), []);
133
130
  const C = u.useMemo(
134
131
  () => p.map((o) => ({
@@ -137,7 +134,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
137
134
  ...o
138
135
  })),
139
136
  [p]
140
- ), h = ({ row: { id: o, guid: _, has_been_split: n }, field: N }) => n ? f(o) : N === "category" ? (a(A.TRANSACTIONS_TABLE_CLICK_CATEGORY, { guid: _ }), r?.(_)) : i?.(_), v = (o, _) => {
137
+ ), h = ({ row: { id: o, guid: _, has_been_split: n }, field: N }) => n ? f(o) : N === "category" ? (a(A.TRANSACTIONS_TABLE_CLICK_CATEGORY, { guid: _ }), r?.(_)) : i?.(_), I = (o, _) => {
141
138
  _.key !== "Enter" && _.key !== " " || h(o);
142
139
  };
143
140
  if (!c)
@@ -196,8 +193,8 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
196
193
  sortingOrder: ["asc", "desc"]
197
194
  }
198
195
  ];
199
- return /* @__PURE__ */ e(Fe, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
200
- Ue,
196
+ return /* @__PURE__ */ e(We, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
197
+ Ge,
201
198
  {
202
199
  columns: g,
203
200
  disableColumnFilter: !0,
@@ -207,7 +204,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
207
204
  initialState: { sorting: { sortModel: [{ field: "date", sort: "desc" }] } },
208
205
  loading: l,
209
206
  onCellClick: h,
210
- onCellKeyDown: v,
207
+ onCellKeyDown: I,
211
208
  rows: C,
212
209
  slotProps: { baseIconButton: { color: "secondary", sx: { ml: 8 } } },
213
210
  sx: {
@@ -221,27 +218,8 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
221
218
  }
222
219
  }
223
220
  ) });
224
- }, It = D(Dt), vt = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
225
- const { common: s, transactions: c } = I(), { isCopyLoaded: l } = K();
226
- return l ? /* @__PURE__ */ m(
227
- ie,
228
- {
229
- copy: {
230
- title: t.title
231
- },
232
- isOpen: r,
233
- onClose: i,
234
- onPrimaryAction: a,
235
- primaryText: c.add_manual_account,
236
- secondaryText: s.cancel_button,
237
- children: [
238
- /* @__PURE__ */ e(y, { component: "p", sx: { marginBottom: "20px" }, truncate: !1, children: c.add_account_modal_message }),
239
- /* @__PURE__ */ e(y, { component: "p", truncate: !1, children: c.add_account_modal_cta })
240
- ]
241
- }
242
- ) : /* @__PURE__ */ e(z, {});
243
- }, Nt = D(vt), Et = () => {
244
- const { visibleAccounts: t } = oe(), { common: r, transactions: i } = I(), { manualTransaction: a, setIsAmountValid: s, updateManualTransaction: c } = B(), [l, p] = u.useState(""), [b, f] = u.useState(""), C = u.useMemo(
221
+ }, vt = D(Dt), It = () => {
222
+ const { visibleAccounts: t } = oe(), { common: r, transactions: i } = v(), { manualTransaction: a, setIsAmountValid: s, updateManualTransaction: c } = B(), [l, p] = u.useState(""), [b, f] = u.useState(""), C = u.useMemo(
245
223
  () => t.filter((n) => n.is_manual),
246
224
  [t]
247
225
  ).map((n) => ({
@@ -252,7 +230,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
252
230
  error_amount_must_be_equal_to: r.currency_input.error_amount_must_be_equal_to,
253
231
  error_amount_must_be_less_than_or_equal_to: r.currency_input.error_amount_must_be_less_than_or_equal_to,
254
232
  enter_amount: r.currency_input.enter_amount
255
- }, v = (n) => {
233
+ }, I = (n) => {
256
234
  p(n), c({ ...a, amount: Number(n) });
257
235
  }, g = (n, N) => {
258
236
  c({ ...a, transaction_type: Number(N) });
@@ -280,7 +258,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
280
258
  noValidate: !0
281
259
  },
282
260
  label: i.amount_title,
283
- setAmount: v,
261
+ setAmount: I,
284
262
  setHasValidInput: s,
285
263
  sx: { bgcolor: "background.paper" },
286
264
  type: "number"
@@ -288,22 +266,22 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
288
266
  ),
289
267
  /* @__PURE__ */ e(st, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", children: [
290
268
  /* @__PURE__ */ e(
291
- Z,
269
+ ee,
292
270
  {
293
- checked: a.transaction_type === O.CREDIT,
271
+ checked: a.transaction_type === k.CREDIT,
294
272
  label: i.manual_transaction_credit_button_label,
295
273
  sx: { ml: { xs: 0, sm: 8 } },
296
274
  tooltip: i.manual_transaction_credit_button_tooltip,
297
- value: O.CREDIT
275
+ value: k.CREDIT
298
276
  }
299
277
  ),
300
278
  /* @__PURE__ */ e(
301
- Z,
279
+ ee,
302
280
  {
303
- checked: a.transaction_type === O.DEBIT,
281
+ checked: a.transaction_type === k.DEBIT,
304
282
  label: i.manual_transaction_debit_button_label,
305
283
  tooltip: i.manual_transaction_debit_button_tooltip,
306
- value: O.DEBIT
284
+ value: k.DEBIT
307
285
  }
308
286
  )
309
287
  ] }) })
@@ -311,7 +289,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
311
289
  }
312
290
  ),
313
291
  /* @__PURE__ */ e(
314
- ee,
292
+ Z,
315
293
  {
316
294
  label: i.payee_title,
317
295
  name: "payee",
@@ -321,7 +299,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
321
299
  }
322
300
  ),
323
301
  /* @__PURE__ */ e(
324
- ee,
302
+ Z,
325
303
  {
326
304
  InputLabelProps: { shrink: !0 },
327
305
  SelectProps: { defaultValue: -1, IconComponent: ct },
@@ -342,8 +320,27 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
342
320
  /* @__PURE__ */ e(Pe, { transaction: a })
343
321
  ] })
344
322
  ] });
345
- }, Ot = D(Et), kt = ({ onClose: t, transaction: r }) => {
346
- const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = I(), { categories: c } = Ke(), [l, p] = u.useState(""), b = u.useMemo(
323
+ }, Nt = D(It), Et = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
324
+ const { common: s, transactions: c } = v(), { isCopyLoaded: l } = K();
325
+ return l ? /* @__PURE__ */ m(
326
+ ie,
327
+ {
328
+ copy: {
329
+ title: t.title
330
+ },
331
+ isOpen: r,
332
+ onClose: i,
333
+ onPrimaryAction: a,
334
+ primaryText: c.add_manual_account,
335
+ secondaryText: s.cancel_button,
336
+ children: [
337
+ /* @__PURE__ */ e(y, { component: "p", sx: { marginBottom: "20px" }, truncate: !1, children: c.add_account_modal_message }),
338
+ /* @__PURE__ */ e(y, { component: "p", truncate: !1, children: c.add_account_modal_cta })
339
+ ]
340
+ }
341
+ ) : /* @__PURE__ */ e(z, {});
342
+ }, kt = D(Et), Ot = ({ onClose: t, transaction: r }) => {
343
+ const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = v(), { categories: c } = Fe(), [l, p] = u.useState(""), b = u.useMemo(
347
344
  () => c.find((C) => C.guid === l),
348
345
  [l]
349
346
  ), f = async (C) => {
@@ -375,7 +372,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
375
372
  onSecondaryAction: () => f(!1),
376
373
  primaryText: s.actions_apply_to_all,
377
374
  secondaryText: s.actions_this_time_only,
378
- children: /* @__PURE__ */ e(je, { variant: "subtitle1", children: U(
375
+ children: /* @__PURE__ */ e(qe, { variant: "subtitle1", children: U(
379
376
  s.actions_all_past_and_future,
380
377
  r.description,
381
378
  b?.name
@@ -383,14 +380,14 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
383
380
  }
384
381
  )
385
382
  ] });
386
- }, Lt = D(kt), ae = 120, Mt = ({
383
+ }, Lt = D(Ot), ae = 120, Mt = ({
387
384
  onBackClick: t,
388
385
  onMenuClick: r,
389
386
  height: i = "100dvh",
390
387
  showInsights: a = !1,
391
388
  sx: s = {}
392
389
  }) => {
393
- const { manualAccounts: c, refreshAccounts: l } = oe(), { is_mobile_webview: p, clientConfig: b, config: f } = ze(), { setSearchValue: C } = ut(), { onEvent: h } = ne(), { common: v, transactions: g } = I(), { displayedDateRange: o, isInitialized: _, selectedAccountGuids: n, setDisplayedDate: N } = K(), { isDesktop: se, isTablet: ce } = pt(), k = nt(), {
390
+ const { manualAccounts: c, refreshAccounts: l } = oe(), { is_mobile_webview: p, clientConfig: b, config: f } = Ue(), { setSearchValue: C } = ut(), { onEvent: h } = ne(), { common: I, transactions: g } = v(), { displayedDateRange: o, isInitialized: _, selectedAccountGuids: n, setDisplayedDate: N } = K(), { isDesktop: se, isTablet: ce } = pt(), O = nt(), {
394
391
  addTransaction: le,
395
392
  filter: de,
396
393
  isTransactionDataLoaded: P,
@@ -409,7 +406,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
409
406
  setSearchValue: Ce,
410
407
  setShowInsights: ye,
411
408
  updateManualTransaction: be
412
- } = B(), { userProfile: Te } = qe(), [V, T] = u.useState(""), [X, M] = u.useState(""), [xe, $] = u.useState(!1), [Ae, J] = u.useState(!1), { announce: we, ariaLive: Se } = mt(), W = b?.transactions?.selected_account_guid;
409
+ } = B(), { userProfile: Te } = Ke(), [$, T] = u.useState(""), [X, M] = u.useState(""), [xe, V] = u.useState(!1), [Ae, J] = u.useState(!1), { announce: we, ariaLive: Se } = mt(), W = b?.transactions?.selected_account_guid;
413
410
  gt({
414
411
  widgetName: "TransactionWidget",
415
412
  isLoaded: P
@@ -432,27 +429,27 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
432
429
  }, [_, Y]);
433
430
  const x = X ? pe.find((d) => d.guid === X) : void 0, Q = fe && !!L.payee && !!L.account_guid && !!L.category_guid, De = (d) => {
434
431
  he(), N(d[0], d[1]);
435
- }, Ie = (d) => {
432
+ }, ve = (d) => {
436
433
  Ce(d), q({
437
434
  ...de,
438
435
  searchTerm: d
439
436
  }), h(A.TRANSACTIONS_CLICK_SEARCH, { search_term: d });
440
- }, ve = () => {
441
- $e(me, _e), h(A.TRANSACTIONS_CLICK_EXPORT);
437
+ }, Ie = () => {
438
+ Ye(me, _e), h(A.TRANSACTIONS_CLICK_EXPORT);
442
439
  }, Ne = () => {
443
440
  c.length > 0 ? (be({
444
- ...We,
441
+ ...je,
445
442
  date: tt(F()),
446
443
  user_guid: Te?.user_guid || ""
447
444
  }), T(
448
445
  "addTransaction"
449
446
  /* AddTransaction */
450
- ), h(A.TRANSACTIONS_CLICK_ADD)) : ($(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
447
+ ), h(A.TRANSACTIONS_CLICK_ADD)) : (V(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
451
448
  }, Ee = async () => {
452
449
  Q && await le(L), T("");
453
- }, Oe = () => {
454
- $(!1), J(!0);
455
- }, ke = async () => {
450
+ }, ke = () => {
451
+ V(!1), J(!0);
452
+ }, Oe = async () => {
456
453
  J(!1), await l();
457
454
  }, Le = async () => {
458
455
  x && !x.has_been_viewed && await ge({ ...x, has_been_viewed: !0 }), T("");
@@ -463,7 +460,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
463
460
  return !p && (se || ce) && G.push({
464
461
  iconName: "open_in_new",
465
462
  label: g.export_csv_btn,
466
- onClick: ve
463
+ onClick: Ie
467
464
  }), f.show_connections_widget_in_master && G.push({
468
465
  iconName: "add",
469
466
  label: g.add_transaction_btn,
@@ -488,7 +485,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
488
485
  /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
489
486
  ft,
490
487
  {
491
- onChange: Ie,
488
+ onChange: ve,
492
489
  placeholder: g.action_bar_search_placeholder,
493
490
  searchValue: j
494
491
  }
@@ -497,11 +494,11 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
497
494
  S,
498
495
  {
499
496
  sx: {
500
- [k.breakpoints.down("md")]: { display: "none" },
501
- [k.breakpoints.up("md")]: { display: "block" }
497
+ [O.breakpoints.down("md")]: { display: "none" },
498
+ [O.breakpoints.up("md")]: { display: "block" }
502
499
  },
503
500
  children: /* @__PURE__ */ e(
504
- It,
501
+ vt,
505
502
  {
506
503
  height: `calc(${i} - ${ae}px)`,
507
504
  onCategoryClick: (d) => {
@@ -524,11 +521,11 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
524
521
  S,
525
522
  {
526
523
  sx: {
527
- [k.breakpoints.down("md")]: { display: "block" },
528
- [k.breakpoints.up("md")]: { display: "none" }
524
+ [O.breakpoints.down("md")]: { display: "block" },
525
+ [O.breakpoints.up("md")]: { display: "none" }
529
526
  },
530
527
  children: /* @__PURE__ */ e(
531
- Ge,
528
+ Ve,
532
529
  {
533
530
  height: `calc(${i} - ${ae}px)`,
534
531
  onClick: (d) => {
@@ -546,14 +543,14 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
546
543
  /* @__PURE__ */ e(
547
544
  te,
548
545
  {
549
- ariaLabelClose: v.close_aria,
550
- isOpen: V === "transaction" && !!x,
546
+ ariaLabelClose: I.close_aria,
547
+ isOpen: $ === "transaction" && !!x,
551
548
  onClose: Le,
552
549
  title: g.details_title,
553
- children: x && /* @__PURE__ */ e(Ve, { transaction: x })
550
+ children: x && /* @__PURE__ */ e($e, { transaction: x })
554
551
  }
555
552
  ),
556
- x && V === "category" && /* @__PURE__ */ e(
553
+ x && $ === "category" && /* @__PURE__ */ e(
557
554
  Lt,
558
555
  {
559
556
  onClose: () => {
@@ -565,30 +562,30 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
565
562
  /* @__PURE__ */ e(
566
563
  te,
567
564
  {
568
- ariaLabelClose: v.close_aria,
569
- isOpen: V === "addTransaction",
565
+ ariaLabelClose: I.close_aria,
566
+ isOpen: $ === "addTransaction",
570
567
  isPrimaryDisabled: !Q,
571
568
  onClose: () => T(""),
572
569
  onPrimaryAction: Ee,
573
570
  title: g.add_transaction_title,
574
- children: /* @__PURE__ */ e(Ot, {})
571
+ children: /* @__PURE__ */ e(Nt, {})
575
572
  }
576
573
  ),
577
574
  /* @__PURE__ */ e(
578
- Nt,
575
+ kt,
579
576
  {
580
577
  copy: { title: g.add_manual_account },
581
578
  isOpen: xe,
582
579
  onClose: () => {
583
- $(!1);
580
+ V(!1);
584
581
  },
585
- onPrimaryAction: Oe
582
+ onPrimaryAction: ke
586
583
  }
587
584
  ),
588
585
  /* @__PURE__ */ e(
589
586
  ot,
590
587
  {
591
- onClose: ke,
588
+ onClose: Oe,
592
589
  showConnectWidget: Ae,
593
590
  title: g.add_manual_account
594
591
  }
@@ -596,19 +593,15 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
596
593
  ]
597
594
  }
598
595
  );
599
- }, xa = D(Mt);
596
+ }, Ta = D(Mt);
600
597
  export {
601
- Nt as AddAccountModal,
602
- Sa as BottomActions,
603
- Ma as ExportCsvAction,
604
- va as TRANSACTION_EVENTS,
605
- Da as TopActions,
606
- Ve as TransactionDetails,
607
- Ge as TransactionList,
608
- ka as TransactionRow,
609
- Ea as TransactionStore,
610
- It as TransactionTable,
611
- xa as TransactionWidget,
612
- $e as exportTransactionsToCSV,
598
+ wa as BottomActions,
599
+ Na as ExportCsvAction,
600
+ Sa as TopActions,
601
+ $e as TransactionDetails,
602
+ Ve as TransactionList,
603
+ va as TransactionRow,
604
+ vt as TransactionTable,
605
+ Ta as TransactionWidget,
613
606
  B as useTransactionsUiStore
614
607
  };
@@ -2,4 +2,3 @@ export { default as TrendsFullWidget } from './TrendsFullWidget';
2
2
  export { default as TrendsMiniWidget } from './TrendsMiniWidget';
3
3
  export { TrendsMicroWidget } from './TrendsMicroWidget';
4
4
  export { default as TrendsWidget } from './TrendsWidget';
5
- export { TrendsStore } from './stores/TrendsStore';