@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
@@ -11,21 +11,21 @@ import x from "@mui/material/Stack";
11
11
  import ce from "@mui/material/styles/useTheme";
12
12
  import Y from "@mui/material/Box";
13
13
  import X from "@mui/material/List";
14
+ import { b as R } from "../Localization-DnoVyBNK.mjs";
14
15
  import { Text as C, CategoryIcon as H, Icon as z, H3 as Le } from "@mxenabled/mxui";
15
- import { u as E, m as w, i as le, l as Z, p as de, a as Ne, g as q, b as J, h as Q, d as ke } from "../hooks-RzCoiTd0.mjs";
16
- import { f as D } from "../NumberFormatting-CyrvFgfd.mjs";
16
+ import { f as D } from "../NumberFormatting--XMeeBfr.mjs";
17
+ import { u as E, o as w, i as le, l as Z, D as de, a as Ne, g as q, b as J, h as Q, d as ke } from "../hooks-BaO_gOI6.mjs";
17
18
  import $e from "@mui/material/Button";
18
19
  import ue from "@mui/material/Divider";
19
20
  import ee from "@mui/material/ListItem";
20
21
  import me from "@mui/material/ListItemAvatar";
21
22
  import te from "@mui/material/ListItemButton";
22
23
  import oe from "@mui/material/ListItemText";
23
- import { b as R } from "../Localization-CkQ49EKr.mjs";
24
24
  import { D as $ } from "../Drawer-XPaLYjiO.mjs";
25
25
  import Xe from "@mui/material/ListItemSecondaryAction";
26
- import { C as Ze } from "../CurrencyInput-BMbUVSvz.mjs";
26
+ import { C as Ze } from "../CurrencyInput-B59ugxPN.mjs";
27
27
  import { D as W } from "../Dialog-iLlBR8TG.mjs";
28
- import { C as qe } from "../ConnectionsDrawer-DX6d7uwJ.mjs";
28
+ import { C as qe } from "../ConnectionsDrawer-D7IXAza2.mjs";
29
29
  import * as O from "d3";
30
30
  import Je from "@mui/material/Tooltip";
31
31
  import { useTheme as Ge, alpha as Qe } from "@mui/material/styles";
@@ -35,23 +35,23 @@ import { E as _e } from "../EmptyState-DHAkGsjk.mjs";
35
35
  import { A as P } from "../Analytics-CzGzz_sE.mjs";
36
36
  import Ee from "@mui/material/Tab";
37
37
  import et from "@mui/material/Tabs";
38
- import { e as tt } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
39
- import { T as ve } from "../EmbeddedCard-B9JoBaan.mjs";
40
- import { T as ot, c as nt } from "../TransactionDetails-C_skrQk8.mjs";
38
+ import { e as tt, g as we } from "../TransactionUtils-BphBJBbU.mjs";
39
+ import { T as ve } from "../EmbeddedCard-BNl3quCs.mjs";
40
+ import { T as ot, c as nt } from "../TransactionDetails-CbBSxdOi.mjs";
41
41
  import Te from "@mui/material/Card";
42
42
  import De from "@mui/material/CardContent";
43
43
  import { S as Se } from "../StatusBar-CPfSXe80.mjs";
44
44
  import { S as Pe } from "../SingleSegmentDonut-PsRQPkmV.mjs";
45
- import { u as at, C as rt } from "../CategorySelectorDrawer-hhDdSFHO.mjs";
45
+ import { u as at, C as rt } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
46
46
  import je from "@mui/material/CardHeader";
47
47
  import { subDays as st } from "date-fns/subDays";
48
48
  import it from "@mui/material/IconButton";
49
- import { M as ct } from "../ManageIncome-BX2IqW57.mjs";
50
- import { u as ze } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
51
- import { W as lt } from "../WidgetContainer-BPJoDkhL.mjs";
52
- import { u as dt, l as ut, d as mt } from "../BudgetUtil-H9igoNVm.mjs";
53
- import { M as gt } from "../MiniWidgetContainer-BOv3n4iw.mjs";
54
- import { b as we } from "../CategoryUtil-BJOHgYKS.mjs";
49
+ import { M as ct } from "../ManageIncome-DwylSiWs.mjs";
50
+ import { u as ze } from "../useWidgetLoadTimer-CJb-RELP.mjs";
51
+ import { W as lt } from "../WidgetContainer-DalWyz5A.mjs";
52
+ import { g as dt, a as ut } from "../BudgetUtil-Bg2AQJpQ.mjs";
53
+ import { M as mt } from "../MiniWidgetContainer-BdPiUU-u.mjs";
54
+ import { b as gt } from "../CurrencyDialog-d4dL7vA5.mjs";
55
55
  const pt = I(() => {
56
56
  const { budgets: t } = E(), { totalBudgeted: n } = w(), { incomeTotal: c } = le(), i = c - n;
57
57
  return /* @__PURE__ */ m(x, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
@@ -1189,7 +1189,7 @@ const It = ({
1189
1189
  ] })
1190
1190
  ] });
1191
1191
  }, Ut = (t) => {
1192
- const n = ce(), { onEvent: c } = q(), { detailedBudgets: i, isDataLoaded: a, loadBudgetData: s, setTheme: o } = w(), { budgets: r, common: p } = E(), { isInitialized: d, selectedAccounts: u } = J(), { loadDateRangeCategoryTotals: S, loadMonthlyCategoryTotals: g } = Z(), h = dt(), [_, y] = l.useState(!1);
1192
+ const n = ce(), { onEvent: c } = q(), { detailedBudgets: i, isDataLoaded: a, loadBudgetData: s, setTheme: o } = w(), { budgets: r, common: p } = E(), { isInitialized: d, selectedAccounts: u } = J(), { loadDateRangeCategoryTotals: S, loadMonthlyCategoryTotals: g } = Z(), h = dt(i), [_, y] = l.useState(!1);
1193
1193
  l.useEffect(() => {
1194
1194
  a || s().finally();
1195
1195
  }, []), l.useEffect(() => {
@@ -1212,7 +1212,7 @@ const It = ({
1212
1212
  }), !d || !a) return /* @__PURE__ */ e(pe, {});
1213
1213
  const B = i.length === 0;
1214
1214
  return /* @__PURE__ */ m(
1215
- gt,
1215
+ mt,
1216
1216
  {
1217
1217
  contentStyles: { height: "calc(100% - 66px)", ":last-child": { pb: 0 } },
1218
1218
  primaryCtaLabel: B ? r.get_started_cta : r.details_cta,
@@ -1372,7 +1372,7 @@ const It = ({
1372
1372
  }
1373
1373
  ),
1374
1374
  f && /* @__PURE__ */ e(
1375
- mt,
1375
+ gt,
1376
1376
  {
1377
1377
  closeAriaLabel: h.close_aria,
1378
1378
  content: ye(
@@ -1 +1,15 @@
1
- export declare const useCashflowUiStore: () => import('../stores/UiStore').UiStore;
1
+ export declare const useCashflowUiStore: () => {
2
+ dateRange: {
3
+ start: Date;
4
+ end: Date;
5
+ };
6
+ isDirty: boolean;
7
+ nextIncome: import('../../core').Recurrence | undefined;
8
+ upcomingExpenses: import('../../core').Recurrence[];
9
+ selectedCashAccounts: import('../../core').Account[];
10
+ get daysUntilNextIncome(): number;
11
+ get expensesTilNextIncome(): import('../../core').Recurrence[];
12
+ setNextIncome: (nextIncome: import('../../core').Recurrence) => void;
13
+ setUpcomingExpenses: (expenses: import('../../core').Recurrence[]) => void;
14
+ setSelectedCashAccounts: (accounts: import('../../core').Account[]) => import('../../core').Account[];
15
+ };
@@ -1,4 +1,3 @@
1
1
  export { default as CashflowMiniWidget } from './CashflowMiniWidget';
2
2
  export { default as CashflowWidget } from './CashflowWidget';
3
3
  export { default as CashflowOnboarding } from './CashflowOnboarding';
4
- export { CashflowStore } from './stores/CashflowStore';
@@ -8,26 +8,25 @@ import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import ie from "@mui/material/styles/useTheme";
10
10
  import { Text as m, P as N, Icon as z, InstitutionLogo as xe, H2 as de, H3 as qe } from "@mxenabled/mxui";
11
- import { G as Ke, w as me, u as k, p as ae, d as ke, b as P, i as B, g as Le, a as Ve, h as Ne, o as Xe } from "../hooks-RzCoiTd0.mjs";
12
- import { C as E } from "../CurrencyText-oqd6cX3M.mjs";
11
+ import { b as H } from "../Localization-DnoVyBNK.mjs";
12
+ import { G as Ke, p as me, u as k, D as ae, d as ke, b as P, i as B, g as Le, a as Ve, h as Ne, C as Xe } from "../hooks-BaO_gOI6.mjs";
13
+ import { C as E } from "../CurrencyText-CCbE6MmF.mjs";
13
14
  import { u as ue } from "../useScreenSize-CeFhWTt_.mjs";
14
15
  import { L as Z } from "../Loader-CxeBwuPG.mjs";
15
- import { b as H } from "../Localization-CkQ49EKr.mjs";
16
- import { I as pe } from "../CashflowStore-BEi92kJg.mjs";
17
- import { C as $n } from "../CashflowStore-BEi92kJg.mjs";
18
- import { u as Oe } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
19
- import { M as Je } from "../MiniWidgetContainer-BOv3n4iw.mjs";
16
+ import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
17
+ import { u as Oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
18
+ import { M as Je } from "../MiniWidgetContainer-BdPiUU-u.mjs";
20
19
  import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
21
- import { R as Ze } from "../RecurringSettings-DCplGEv_.mjs";
20
+ import { R as Ze } from "../RecurringSettings-CPXLW6AR.mjs";
22
21
  import et from "@mui/material/Tabs";
23
22
  import ye from "@mui/material/Tab";
24
23
  import { getUnixTime as le } from "date-fns/getUnixTime";
25
24
  import Q from "@mui/material/List";
26
25
  import ee from "@mui/material/ListItem";
27
- import { A as tt } from "../AccountListItem-DRDxaRBe.mjs";
28
- import { f as U, D as Y } from "../DateFormats-CaOj_4eI.mjs";
26
+ import { A as tt } from "../AccountListItem-BYyeeCf6.mjs";
27
+ import { f as U, D as Y } from "../DateFormats-HudZ3Bjs.mjs";
29
28
  import nt from "@mui/material/ListSubheader";
30
- import { f as J } from "../NumberFormatting-CyrvFgfd.mjs";
29
+ import { f as J } from "../NumberFormatting--XMeeBfr.mjs";
31
30
  import { isAfter as Ge } from "date-fns/isAfter";
32
31
  import { isBefore as Me } from "date-fns/isBefore";
33
32
  import { isToday as Fe } from "date-fns/isToday";
@@ -36,20 +35,19 @@ import { alpha as ot, keyframes as it } from "@mui/material/styles";
36
35
  import { DataGridPro as at } from "@mui/x-data-grid-pro";
37
36
  import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
38
37
  import W from "@mui/material/Button";
39
- import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-BX2IqW57.mjs";
38
+ import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-DwylSiWs.mjs";
40
39
  import { D as He } from "../Drawer-XPaLYjiO.mjs";
41
40
  import { subDays as We } from "date-fns/subDays";
42
41
  import { endOfToday as dt } from "date-fns/endOfToday";
43
- import { W as mt } from "../WidgetContainer-BPJoDkhL.mjs";
44
- import { A as X } from "../Account-CMjOp7S2.mjs";
42
+ import { W as mt } from "../WidgetContainer-DalWyz5A.mjs";
43
+ import { A as X } from "../Account-BaJmiJAG.mjs";
45
44
  import { A as Se } from "../Analytics-CzGzz_sE.mjs";
46
45
  import { formatISO as ut } from "date-fns/formatISO";
47
46
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
48
47
  import { startOfMonth as pt } from "date-fns/startOfMonth";
49
- import { S as ht, a as ft } from "../EmbeddedCard-B9JoBaan.mjs";
50
- import { c as Ie } from "../RecurringTransactions-DCt94TN4.mjs";
51
- import { i as gt } from "../DateUtil-D0TO0DaZ.mjs";
52
- import { F as bt, b as ve } from "../RepeatingTransaction-D2gmBTd0.mjs";
48
+ import { S as ht, a as ft } from "../EmbeddedCard-BNl3quCs.mjs";
49
+ import { F as gt, R as Ie, c as ve } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
50
+ import { i as bt } from "../DateUtil-Bhq59ZVg.mjs";
53
51
  const q = () => {
54
52
  if (!h.useContext(Ke))
55
53
  throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
@@ -205,7 +203,7 @@ const q = () => {
205
203
  ]
206
204
  }
207
205
  ) : /* @__PURE__ */ e(Z, {});
208
- }, Hn = A(Ct), wt = ({ remaining: i }) => /* @__PURE__ */ e(
206
+ }, Fn = A(Ct), wt = ({ remaining: i }) => /* @__PURE__ */ e(
209
207
  ee,
210
208
  {
211
209
  sx: {
@@ -802,7 +800,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
802
800
  ]
803
801
  }
804
802
  ) : /* @__PURE__ */ e(Z, {});
805
- }, Wn = A(Nt), Ot = ({ handleNextStep: i }) => {
803
+ }, Hn = A(Nt), Ot = ({ handleNextStep: i }) => {
806
804
  const { completeOnboarding: o } = me(), { cashflow: t } = k(), r = ie();
807
805
  return /* @__PURE__ */ n(s, { children: [
808
806
  /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.welcome_title }),
@@ -889,11 +887,11 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
889
887
  transform: rotate(360deg);
890
888
  }
891
889
  `, Wt = () => {
892
- const { addRepeatingTransaction: i, repeatingTransactions: o } = B(), { cashflow: t, common: r } = k(), { user: f } = Xe(), { completeOnboarding: u } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = Ne(), C = ie(), [w, R] = V(!0), [D, L] = h.useState(bt.EveryMonth), [p, _] = h.useState(1), [S, re] = h.useState(15), [K, se] = V(!1), [$, G] = V(1), [O, je] = V([]), [fe, ce] = V(""), M = h.useMemo(
890
+ const { addRepeatingTransaction: i, repeatingTransactions: o } = B(), { cashflow: t, common: r } = k(), { user: f } = Xe(), { completeOnboarding: u } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = Ne(), C = ie(), [w, R] = V(!0), [D, L] = h.useState(gt.EveryMonth), [p, _] = h.useState(1), [S, re] = h.useState(15), [K, se] = V(!1), [$, G] = V(1), [O, je] = V([]), [fe, ce] = V(""), M = h.useMemo(
893
891
  () => x.find((y) => y.guid === fe),
894
892
  [fe, x]
895
893
  ), Be = !!o.filter(
896
- (y) => y.repeating_transaction_type === ve.Income
894
+ (y) => y.repeating_transaction_type === Ie.Income
897
895
  ).length, ge = async () => {
898
896
  G(2), a(
899
897
  // Beginning of the month, 90 days before today
@@ -904,7 +902,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
904
902
  if (!(O.length < 1)) {
905
903
  se(!0);
906
904
  for (let y = 0; y < O.length; y++) {
907
- const T = O[y], be = Ie(D, De(T.date)), Ue = {
905
+ const T = O[y], be = ve(D, De(T.date)), Ue = {
908
906
  account_guid: T.account_guid,
909
907
  amount: T.amount,
910
908
  created_by: 0,
@@ -914,7 +912,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
914
912
  predicted_occurs_on: ut(be, { representation: "date" }),
915
913
  recurrence_day: be.getDay(),
916
914
  recurrence_type: D,
917
- repeating_transaction_type: ve.Income,
915
+ repeating_transaction_type: Ie.Income,
918
916
  second_recurrence_day: S,
919
917
  transaction_type: T.transaction_type,
920
918
  user_guid: f.guid
@@ -967,7 +965,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
967
965
  /* @__PURE__ */ e(N, { mb: 24, children: t.add_income_description }),
968
966
  O.length > 0 && !M && /* @__PURE__ */ n(j, { children: [
969
967
  /* @__PURE__ */ e(Q, { children: O.map((y, T) => /* @__PURE__ */ n(h.Fragment, { children: [
970
- /* @__PURE__ */ e(ht, { bgcolor: "background.paper", children: gt(
968
+ /* @__PURE__ */ e(ht, { bgcolor: "background.paper", children: bt(
971
969
  le(y.nextDate || y.date)
972
970
  ) }),
973
971
  /* @__PURE__ */ e(ft, { transaction: y }),
@@ -1022,7 +1020,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
1022
1020
  const y = [...O];
1023
1021
  y.push({
1024
1022
  ...M,
1025
- nextDate: Ie(D, De(M.date)),
1023
+ nextDate: ve(D, De(M.date)),
1026
1024
  frequency: D
1027
1025
  }), je(y), ce("");
1028
1026
  },
@@ -1069,10 +1067,9 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
1069
1067
  ]
1070
1068
  }
1071
1069
  ) : /* @__PURE__ */ e(Z, {});
1072
- }, zn = A(Wt);
1070
+ }, Wn = A(Wt);
1073
1071
  export {
1074
- Hn as CashflowMiniWidget,
1075
- zn as CashflowOnboarding,
1076
- $n as CashflowStore,
1077
- Wn as CashflowWidget
1072
+ Fn as CashflowMiniWidget,
1073
+ Wn as CashflowOnboarding,
1074
+ Hn as CashflowWidget
1078
1075
  };
@@ -1 +1,19 @@
1
- export declare const useCategoryUiStore: () => import('../stores/UiStore').UiStore;
1
+ export declare const useCategoryUiStore: () => {
2
+ expandedGuid: string | null;
3
+ selectedGuid: string | null;
4
+ searchValue: string;
5
+ showSelected: boolean;
6
+ shouldDisableDrawerScroll: boolean;
7
+ unselectable: string[];
8
+ unselectableText: string;
9
+ savedOnSelect: any;
10
+ setExpandedGuid: (guid: string | null) => string | null;
11
+ setSelectedGuid: (guid: string | null) => string | null;
12
+ setSearchValue: (value: string) => string;
13
+ setShouldDisableDrawerScroll: (shouldDisable: boolean) => boolean;
14
+ setShowSelected: (showSelected: boolean) => boolean;
15
+ setUnselectable: (unselectable: string[]) => string[];
16
+ setUnselectableText: (text: string) => string;
17
+ onSelect: (guid: string) => any;
18
+ setOnSelect: (callback: any) => any;
19
+ };
@@ -1,5 +1,4 @@
1
1
  export { default as CategorySelector } from './components/CategorySelector';
2
2
  export { default as CategorySelectorDrawer } from './components/CategorySelectorDrawer';
3
3
  export { default as CategoryRow } from './components/CategoryRow';
4
- export { CategoryStore } from './stores/CategoryStore';
5
4
  export { useCategoryUiStore } from './context/hooks';
@@ -1,9 +1,7 @@
1
- import { C as o, a, b as t, u as C } from "../CategorySelectorDrawer-hhDdSFHO.mjs";
2
- import { C as g } from "../CategoryStore-CA4NTaKH.mjs";
1
+ import { C as a, a as o, b as t, u as s } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
3
2
  export {
4
- o as CategoryRow,
5
- a as CategorySelector,
3
+ a as CategoryRow,
4
+ o as CategorySelector,
6
5
  t as CategorySelectorDrawer,
7
- g as CategoryStore,
8
- C as useCategoryUiStore
6
+ s as useCategoryUiStore
9
7
  };
@@ -1,4 +1,4 @@
1
- import { RecurrenceTypes } from '../../core';
1
+ import { RecurrenceTypes } from '../../core/constants';
2
2
  export declare const RECURRENCE_COPY: {
3
3
  id: RecurrenceTypes;
4
4
  copy: string;
@@ -1,8 +1,5 @@
1
1
  export { ANALYTICS_EVENTS } from './Analytics';
2
- export { DATE_FORMATS_INTL, formatDate, ORDINAL_DATE_FORMAT, ORDINAL_MONTH_DAY_YEAR_FORMAT, } from './DateFormats';
3
2
  export { INCOME_ACCOUNT_TYPES, PAYMENT_ACCOUNT_TYPES, SPENDING_ACCOUNT_TYPES } from './Account';
4
- export { CategoryColors, CategoryGuids, CategoryGuidToName, CategoryIcon, PaymentCategories, } from './Category';
5
- export { CurrencyCodes } from './Numbers';
6
3
  export { RECURRENCE_COPY } from './ScheduledPayment';
7
4
  export { LOADING_STATUS } from './SpendingPlan';
8
5
  export { DEFAULT_DONUT_SIZE, DEFAULT_STROKE_WIDTH } from './Donut';
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { GlobalErrorHandler, GlobalEventHandler } from '../../core';
3
- import { GlobalStore } from '..';
3
+ import { GlobalStore } from '../../core/stores';
4
4
  export interface GlobalStoreContextTypes {
5
5
  children: React.ReactNode;
6
6
  onError: GlobalErrorHandler;
@@ -1,27 +1,27 @@
1
1
  export declare const useGlobalDataContext: (providerName?: string) => import('./GlobalDataProvider').GlobalStoreContextTypes;
2
- export declare const useAccountStore: () => import('../../accounts').AccountStore;
2
+ export declare const useAccountStore: () => import('../../core').AccountStore;
3
3
  export declare const useAppConfig: () => import('../../core').AppConfig;
4
- export declare const useAnalyticsStore: () => import('../../analytics/stores/AnalyticsStore').AnalyticsStore;
5
- export declare const useBudgetsStore: () => import('../../budgets/store/BudgetsStore').BudgetsStore;
6
- export declare const useCashflowStore: () => import('../../cashflow').CashflowStore;
7
- export declare const useCategoryStore: () => import('../../categories').CategoryStore;
8
- export declare const useConnectStore: () => import('../stores/ConnectStore').ConnectStore;
9
- export declare const useDebtStore: () => import('../../debts').DebtsStore;
10
- export declare const useFinstrongStore: () => import('../../finstrong').FinstrongStore;
4
+ export declare const useAnalyticsStore: () => import('../../core').AnalyticsStore;
5
+ export declare const useBudgetsStore: () => import('../../core').BudgetsStore;
6
+ export declare const useCashflowStore: () => import('../../core').CashflowStore;
7
+ export declare const useCategoryStore: () => import('../../core').CategoryStore;
8
+ export declare const useConnectStore: () => import('../../core').ConnectStore;
9
+ export declare const useDebtStore: () => import('../../core').DebtsStore;
10
+ export declare const useFinstrongStore: () => import('../../core').FinstrongStore;
11
11
  export declare const useGlobalStore: () => import('..').GlobalStore;
12
- export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
12
+ export declare const useGlobalUiStore: () => import('../../core').GlobalUiStore;
13
13
  export declare const useGlobalCopyStore: () => import('../../core').GlobalCopy;
14
- export declare const useGoalStore: () => import('../../goals').GoalStore;
15
- export declare const useHelpStore: () => import('../../help/store/HelpStore').HelpStore;
16
- export declare const useHoldingStore: () => import('../../investments/stores/HoldingStore').HoldingStore;
17
- export declare const useMerchantStore: () => import('../../merchants').MerchantStore;
18
- export declare const useNetWorthStore: () => import('../../networth').NetWorthStore;
19
- export declare const useNotificationStore: () => import('../../notifications').NotificationStore;
20
- export declare const useRecurringTransactionsStore: () => import('../../recurringtransactions').RecurringTransactionsStore;
21
- export declare const useSettingsStore: () => import('../../settings').SettingsStore;
22
- export declare const useTransactionStore: () => import('../../transactions').TransactionStore;
23
- export declare const useTrendsStore: () => import('../../trends').TrendsStore;
24
- export declare const useUserStore: () => import('..').UserStore;
14
+ export declare const useGoalStore: () => import('../../core').GoalStore;
15
+ export declare const useHelpStore: () => import('../../core').HelpStore;
16
+ export declare const useHoldingStore: () => import('../../core').HoldingStore;
17
+ export declare const useMerchantStore: () => import('../../core').MerchantStore;
18
+ export declare const useNetWorthStore: () => import('../../core').NetWorthStore;
19
+ export declare const useNotificationStore: () => import('../../core').NotificationStore;
20
+ export declare const useRecurringTransactionsStore: () => import('../../core').RecurringTransactionsStore;
21
+ export declare const useSettingsStore: () => import('../../core').SettingsStore;
22
+ export declare const useTransactionStore: () => import('../../core').TransactionStore;
23
+ export declare const useTrendsStore: () => import('../../core').TrendsStore;
24
+ export declare const useUserStore: () => import('../../core').UserStore;
25
25
  export declare const useError: () => {
26
26
  onError: import('../../core').GlobalErrorHandler;
27
27
  };
@@ -2,5 +2,7 @@ export * from './components';
2
2
  export * from './constants';
3
3
  export * from './context';
4
4
  export * from './hooks';
5
- export * from './stores';
6
5
  export * from './utils';
6
+ export { GlobalStore } from '../core/stores/GlobalStore';
7
+ export { buildDynamicCopy, buildPluralCopy } from '../core/utils/Localization';
8
+ export { formatOrdinal, formatCurrency, formatPercentage, getCurrencyCodes, getPluralRules, generateEqualIntervals, } from '../core/utils/NumberFormatting';