@mx-cartographer/experiences 8.0.0-alpha.test2 → 8.0.0-alpha.v2

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 (513) hide show
  1. package/CHANGELOG.md +335 -0
  2. package/README.md +5 -3
  3. package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
  4. package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
  5. package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
  6. package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
  7. package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
  8. package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
  9. package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
  10. package/dist/Accounts-CseLC3lL.mjs +5 -0
  11. package/dist/Accounts-o7ohkngR.mjs +27 -0
  12. package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
  13. package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
  14. package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
  15. package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
  16. package/dist/CashflowStore-CeAzChyD.mjs +91 -0
  17. package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
  18. package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
  19. package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
  20. package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
  21. package/dist/Connect-eYIWqCEr.mjs +39 -0
  22. package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
  23. package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
  24. package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
  25. package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
  26. package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
  27. package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
  28. package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
  29. package/dist/Dialog-Ck34yr-d.mjs +63 -0
  30. package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
  31. package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
  32. package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
  33. package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
  34. package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
  35. package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
  36. package/dist/Goal-0loDagc5.mjs +6 -0
  37. package/dist/GoalStore-fgXt--2Y.mjs +418 -0
  38. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  39. package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
  40. package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
  41. package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
  42. package/dist/LineChart-EAr5ox5U.mjs +612 -0
  43. package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
  44. package/dist/Loader-D3rjKx72.mjs +21 -0
  45. package/dist/Localization-CPkpIwIx.mjs +37 -0
  46. package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
  47. package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
  48. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
  49. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
  50. package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
  51. package/dist/Notification-DTNYSd8P.mjs +7 -0
  52. package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
  53. package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
  54. package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
  55. package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
  56. package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
  57. package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
  58. package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
  59. package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
  60. package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
  61. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
  62. package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
  63. package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
  64. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
  65. package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
  66. package/dist/SpendingLegend-BgjazduU.mjs +193 -0
  67. package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
  68. package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
  69. package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
  70. package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
  71. package/dist/Transaction-Cn5_iFm0.mjs +5 -0
  72. package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
  73. package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
  74. package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
  75. package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
  76. package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
  77. package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
  78. package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
  79. package/dist/accounts/AccountsWidget.d.ts +1 -1
  80. package/dist/accounts/api/AccountApi.d.ts +1 -1
  81. package/dist/accounts/components/AccountListItem.d.ts +1 -1
  82. package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
  83. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
  84. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
  85. package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
  86. package/dist/accounts/index.es.js +459 -368
  87. package/dist/accounts/stores/AccountStore.d.ts +2 -1
  88. package/dist/accounts/stores/UiStore.d.ts +1 -1
  89. package/dist/accounts/utils/AccountDetails.d.ts +1 -1
  90. package/dist/accounts/utils/AccountFields.d.ts +1 -1
  91. package/dist/accounts/utils/Accounts.d.ts +2 -2
  92. package/dist/analytics/index.es.js +93 -112
  93. package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
  94. package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
  95. package/dist/budgets/api/BudgetsApi.d.ts +5 -1
  96. package/dist/budgets/components/BubbleChart.d.ts +1 -1
  97. package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
  98. package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
  99. package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
  100. package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
  101. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
  102. package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
  103. package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
  104. package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
  105. package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
  106. package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
  107. package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
  108. package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
  109. package/dist/budgets/index.es.js +851 -865
  110. package/dist/budgets/store/BudgetsStore.d.ts +15 -1
  111. package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
  112. package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
  113. package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
  114. package/dist/cashflow/CashflowWidget.d.ts +1 -1
  115. package/dist/cashflow/api/CashflowApi.d.ts +1 -1
  116. package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
  117. package/dist/cashflow/index.es.js +290 -288
  118. package/dist/cashflow/stores/UiStore.d.ts +1 -1
  119. package/dist/cashflow/util/Filters.d.ts +1 -1
  120. package/dist/categories/components/CategoryRow.d.ts +1 -1
  121. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
  122. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
  123. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
  124. package/dist/categories/components/SubcategoryList.d.ts +1 -1
  125. package/dist/categories/components/SubcategoryRow.d.ts +1 -1
  126. package/dist/categories/index.es.js +2 -2
  127. package/dist/categories/stores/CategoryStore.d.ts +2 -1
  128. package/dist/categories/util/CategoryUtil.d.ts +1 -1
  129. package/dist/common/api/AnalyticsApi.d.ts +1 -1
  130. package/dist/common/api/AppDataApi.d.ts +1 -1
  131. package/dist/common/api/BeatApi.d.ts +1 -1
  132. package/dist/common/api/CategoryApi.d.ts +1 -1
  133. package/dist/common/api/GlobalCopyApi.d.ts +1 -1
  134. package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
  135. package/dist/common/api/NotificationApi.d.ts +1 -1
  136. package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
  137. package/dist/common/api/UserApi.d.ts +1 -1
  138. package/dist/common/components/CurrencyDialog.d.ts +1 -1
  139. package/dist/common/components/CurrencyInput.d.ts +1 -1
  140. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  141. package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
  142. package/dist/common/components/Loader.d.ts +1 -2
  143. package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
  144. package/dist/common/components/WidgetContainer.d.ts +1 -1
  145. package/dist/common/components/charts/LineChart.d.ts +1 -0
  146. package/dist/common/components/charts/index.d.ts +1 -0
  147. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
  148. package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
  149. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
  150. package/dist/common/components/index.d.ts +0 -1
  151. package/dist/common/constants/Account.d.ts +1 -1
  152. package/dist/common/constants/Analytics.d.ts +10 -0
  153. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  154. package/dist/common/constants/DefaultConfig.d.ts +1 -1
  155. package/dist/common/constants/ScheduledPayment.d.ts +1 -10
  156. package/dist/common/constants/SpendingPlan.d.ts +0 -10
  157. package/dist/common/constants/index.d.ts +2 -2
  158. package/dist/common/context/GlobalDataProvider.d.ts +2 -1
  159. package/dist/common/context/hooks.d.ts +4 -4
  160. package/dist/common/hooks/index.d.ts +1 -0
  161. package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
  162. package/dist/common/hooks/useCombineEvents.d.ts +1 -1
  163. package/dist/common/hooks/usePrevious.d.ts +2 -0
  164. package/dist/common/index.d.ts +0 -1
  165. package/dist/common/index.es.js +625 -860
  166. package/dist/common/stores/AppDataStore.d.ts +3 -3
  167. package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
  168. package/dist/common/stores/GlobalStore.d.ts +4 -2
  169. package/dist/common/stores/GlobalUiStore.d.ts +3 -3
  170. package/dist/common/stores/UserStore.d.ts +1 -1
  171. package/dist/common/utils/AccountDisplayName.d.ts +1 -1
  172. package/dist/common/utils/AccountFilter.d.ts +1 -1
  173. package/dist/common/utils/Analytics.d.ts +1 -1
  174. package/dist/common/utils/Categories.d.ts +1 -1
  175. package/dist/common/utils/Fetch.d.ts +1 -1
  176. package/dist/common/utils/Localization.d.ts +9 -1
  177. package/dist/common/utils/Theme.d.ts +3 -3
  178. package/dist/common/utils/User.d.ts +1 -1
  179. package/dist/common/utils/index.d.ts +1 -1
  180. package/dist/core/constants/index.d.ts +1 -0
  181. package/dist/core/constants/repeatingTransactions.d.ts +10 -0
  182. package/dist/core/index.d.ts +2 -0
  183. package/dist/core/index.es.js +41 -0
  184. package/dist/{common → core}/types/Analytics.d.ts +6 -3
  185. package/dist/{common → core}/types/AppData.d.ts +1 -0
  186. package/dist/{common → core}/types/Beat.d.ts +2 -0
  187. package/dist/{common → core}/types/Budget.d.ts +8 -0
  188. package/dist/{common → core}/types/Expense.d.ts +2 -1
  189. package/dist/{common → core}/types/Finstrong.d.ts +0 -2
  190. package/dist/{common → core}/types/Notification.d.ts +15 -5
  191. package/dist/{common → core}/types/index.d.ts +1 -2
  192. package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
  193. package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
  194. package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
  195. package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
  196. package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
  197. package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
  198. package/dist/dashboard/index.es.js +46 -45
  199. package/dist/debts/DebtsWidget.d.ts +1 -1
  200. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
  201. package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
  202. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
  203. package/dist/debts/index.es.js +705 -646
  204. package/dist/debts/store/DebtsStore.d.ts +2 -1
  205. package/dist/debts/utils/DebtStore.d.ts +1 -1
  206. package/dist/debts/utils/DebtsWidget.d.ts +7 -1
  207. package/dist/debts/utils/shared.d.ts +1 -1
  208. package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
  209. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  210. package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
  211. package/dist/finstrong/components/HealthChart.d.ts +1 -1
  212. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
  213. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
  214. package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
  215. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
  216. package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
  217. package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
  218. package/dist/finstrong/index.es.js +161 -159
  219. package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
  220. package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
  221. package/dist/goals/GoalsWidget.d.ts +1 -1
  222. package/dist/goals/api/GoalApi.d.ts +2 -2
  223. package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
  224. package/dist/goals/components/AddGoal.d.ts +1 -1
  225. package/dist/goals/components/GoalDetails.d.ts +1 -1
  226. package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
  227. package/dist/goals/components/GoalList.d.ts +1 -1
  228. package/dist/goals/components/GoalStatusCard.d.ts +1 -1
  229. package/dist/goals/components/ManageGoals.d.ts +1 -1
  230. package/dist/goals/components/actions/AccountAction.d.ts +1 -1
  231. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
  232. package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
  233. package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
  234. package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
  235. package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
  236. package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
  237. package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
  238. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
  239. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
  240. package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
  241. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  242. package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
  243. package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
  244. package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
  245. package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
  246. package/dist/goals/index.es.js +445 -419
  247. package/dist/goals/stores/GoalStore.d.ts +2 -1
  248. package/dist/goals/util/GoalsUtil.d.ts +1 -1
  249. package/dist/help/HelpWidget.d.ts +1 -1
  250. package/dist/help/api/HelpApi.d.ts +1 -1
  251. package/dist/help/components/HelpContent.d.ts +1 -1
  252. package/dist/help/components/HelpList.d.ts +1 -1
  253. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  254. package/dist/help/components/content/ContentItem.d.ts +1 -1
  255. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  256. package/dist/help/components/content/NoImageContent.d.ts +1 -1
  257. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  258. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  259. package/dist/help/components/content/section/Accounts.d.ts +1 -1
  260. package/dist/help/components/content/section/Budgets.d.ts +1 -1
  261. package/dist/help/components/content/section/CashFlow.d.ts +1 -1
  262. package/dist/help/components/content/section/Debts.d.ts +1 -1
  263. package/dist/help/components/content/section/General.d.ts +1 -1
  264. package/dist/help/components/content/section/Goals.d.ts +1 -1
  265. package/dist/help/components/content/section/Insights.d.ts +1 -1
  266. package/dist/help/components/content/section/Investments.d.ts +1 -1
  267. package/dist/help/components/content/section/Mobile.d.ts +1 -1
  268. package/dist/help/components/content/section/NetWorth.d.ts +1 -1
  269. package/dist/help/components/content/section/Notifications.d.ts +1 -1
  270. package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
  271. package/dist/help/components/content/section/Spending.d.ts +1 -1
  272. package/dist/help/components/content/section/Transactions.d.ts +1 -1
  273. package/dist/help/components/content/section/Trends.d.ts +1 -1
  274. package/dist/help/components/content/section/index.d.ts +15 -15
  275. package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
  276. package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
  277. package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
  278. package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
  279. package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
  280. package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
  281. package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
  282. package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
  283. package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
  284. package/dist/help/index.es.js +8 -8
  285. package/dist/help/store/HelpStore.d.ts +5 -4
  286. package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
  287. package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
  288. package/dist/insights/components/feed/Header.d.ts +8 -0
  289. package/dist/insights/components/index.d.ts +4 -0
  290. package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
  291. package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
  292. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
  293. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
  294. package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
  295. package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
  296. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
  297. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
  298. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
  299. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
  300. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
  301. package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
  302. package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
  303. package/dist/insights/index.es.js +1361 -1081
  304. package/dist/insights/store/BeatStore.d.ts +1 -1
  305. package/dist/investments/InvestmentsWidget.d.ts +1 -1
  306. package/dist/investments/api/HoldingApi.d.ts +1 -1
  307. package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
  308. package/dist/investments/index.es.js +258 -258
  309. package/dist/investments/stores/HoldingStore.d.ts +2 -1
  310. package/dist/investments/util/InvestmentUtil.d.ts +1 -1
  311. package/dist/merchants/api/MerchantApi.d.ts +1 -1
  312. package/dist/merchants/index.es.js +16 -16
  313. package/dist/merchants/stores/MerchantStore.d.ts +2 -1
  314. package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
  315. package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
  316. package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
  317. package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
  318. package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
  319. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
  320. package/dist/microinsights/beaticons/index.d.ts +3 -0
  321. package/dist/microinsights/cards/InsightCard.d.ts +1 -1
  322. package/dist/microinsights/carousel/BeatList.d.ts +1 -1
  323. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
  324. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
  325. package/dist/microinsights/constants/Analytics.d.ts +1 -1
  326. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
  327. package/dist/microinsights/context/hooks.d.ts +1 -1
  328. package/dist/microinsights/index.es.js +1 -1
  329. package/dist/microinsights/interfaces.d.ts +1 -1
  330. package/dist/microinsights/stores/CopyStore.d.ts +1 -1
  331. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
  332. package/dist/microinsights/utils/DataSeries.d.ts +1 -1
  333. package/dist/microinsights/utils/colorType.d.ts +22 -0
  334. package/dist/networth/NetWorthWidget.d.ts +1 -1
  335. package/dist/networth/components/micro/NetworthData.d.ts +1 -1
  336. package/dist/networth/components/micro/ZeroState.d.ts +1 -1
  337. package/dist/networth/index.es.js +181 -174
  338. package/dist/networth/stores/NetWorthStore.d.ts +2 -1
  339. package/dist/networth/types/NetWorth.d.ts +1 -1
  340. package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
  341. package/dist/notifications/components/NotificationBadge.d.ts +1 -1
  342. package/dist/notifications/components/NotificationCard.d.ts +1 -1
  343. package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
  344. package/dist/notifications/components/NotificationList.d.ts +2 -1
  345. package/dist/notifications/index.es.js +104 -92
  346. package/dist/notifications/stores/NotificationStore.d.ts +2 -1
  347. package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
  348. package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
  349. package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
  350. package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
  351. package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
  352. package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
  353. package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
  354. package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
  355. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
  356. package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
  357. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
  358. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
  359. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
  360. package/dist/recurringtransactions/index.es.js +477 -451
  361. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
  362. package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
  363. package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
  364. package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
  365. package/dist/settings/SettingsWidget.d.ts +1 -1
  366. package/dist/settings/TransactionRulesWidget.d.ts +1 -1
  367. package/dist/settings/api/SettingsApi.d.ts +1 -2
  368. package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
  369. package/dist/settings/components/devices/DeviceList.d.ts +1 -1
  370. package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
  371. package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
  372. package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
  373. package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
  374. package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
  375. package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
  376. package/dist/settings/index.es.js +314 -323
  377. package/dist/settings/stores/SettingsStore.d.ts +3 -2
  378. package/dist/settings/util/Notifications.d.ts +1 -1
  379. package/dist/spending/SpendingMiniWidget.d.ts +1 -1
  380. package/dist/spending/SpendingWidget.d.ts +1 -1
  381. package/dist/spending/index.es.js +167 -166
  382. package/dist/spending/utils/SpendingData.d.ts +1 -1
  383. package/dist/transactions/TransactionWidget.d.ts +1 -1
  384. package/dist/transactions/api/TransactionApi.d.ts +1 -1
  385. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
  386. package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
  387. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
  388. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
  389. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
  390. package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
  391. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
  392. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
  393. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
  394. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
  395. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
  396. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
  397. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +1 -1
  398. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
  399. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
  400. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
  401. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -0
  402. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
  403. package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
  404. package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
  405. package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
  406. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
  407. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
  408. package/dist/transactions/constants/Actions.d.ts +4 -3
  409. package/dist/transactions/constants/Transaction.d.ts +1 -1
  410. package/dist/transactions/index.es.js +195 -187
  411. package/dist/transactions/stores/TransactionStore.d.ts +2 -1
  412. package/dist/transactions/stores/UiStore.d.ts +1 -1
  413. package/dist/transactions/utils/Filters.d.ts +1 -1
  414. package/dist/transactions/utils/Transactions.d.ts +1 -1
  415. package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
  416. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
  417. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -1
  418. package/dist/trends/TrendsFullWidget.d.ts +1 -1
  419. package/dist/trends/TrendsMiniWidget.d.ts +1 -1
  420. package/dist/trends/TrendsWidget.d.ts +1 -1
  421. package/dist/trends/components/CategoriesList.d.ts +1 -1
  422. package/dist/trends/components/CategoriesListItem.d.ts +1 -1
  423. package/dist/trends/components/CategoryDetails.d.ts +3 -0
  424. package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
  425. package/dist/trends/components/TrendsInsights.d.ts +1 -1
  426. package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
  427. package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
  428. package/dist/trends/index.es.js +817 -764
  429. package/dist/trends/stores/TrendsStore.d.ts +2 -1
  430. package/dist/trends/utils/SpendingData.d.ts +1 -1
  431. package/dist/trends/utils/TrendsData.d.ts +1 -1
  432. package/dist/trends/utils/TrendsTable.d.ts +1 -1
  433. package/dist/trends/utils/TrendsWidget.d.ts +7 -0
  434. package/dist/trends/utils/shared.d.ts +1 -1
  435. package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
  436. package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
  437. package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
  438. package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
  439. package/package.json +17 -10
  440. package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
  441. package/dist/AccountListItem-k63LpVBs.mjs +0 -90
  442. package/dist/Accounts-CuE8aSZN.mjs +0 -27
  443. package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
  444. package/dist/CashflowStore-naOtJcwo.mjs +0 -91
  445. package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
  446. package/dist/Dialog-jmgGw5WA.mjs +0 -58
  447. package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
  448. package/dist/GoalStore-BjHKNAVm.mjs +0 -421
  449. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  450. package/dist/LineChart-CnscUFUG.mjs +0 -580
  451. package/dist/Loader-icSc5MlE.mjs +0 -24
  452. package/dist/Localization-2MODESHW.mjs +0 -30
  453. package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
  454. package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
  455. package/dist/Notification-Bs1fdbzI.mjs +0 -95
  456. package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
  457. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  458. package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
  459. package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
  460. package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
  461. package/dist/TransactionList-BDffKJMO.mjs +0 -204
  462. package/dist/User-DS18cMaz.mjs +0 -237
  463. package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
  464. package/dist/common/components/barchart/Bar.d.ts +0 -25
  465. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  466. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  467. package/dist/common/components/barchart/Legend.d.ts +0 -8
  468. package/dist/common/components/barchart/Util.d.ts +0 -42
  469. package/dist/common/components/barchart/index.d.ts +0 -1
  470. package/dist/common/types/SpendingPlan.d.ts +0 -44
  471. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  472. package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
  473. /package/dist/{common → core}/types/Account.d.ts +0 -0
  474. /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
  475. /package/dist/{common → core}/types/Category.d.ts +0 -0
  476. /package/dist/{common → core}/types/Client.d.ts +0 -0
  477. /package/dist/{common → core}/types/Date.d.ts +0 -0
  478. /package/dist/{common → core}/types/Debt.d.ts +0 -0
  479. /package/dist/{common → core}/types/Global.d.ts +0 -0
  480. /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
  481. /package/dist/{common → core}/types/Goal.d.ts +0 -0
  482. /package/dist/{common → core}/types/Handlers.d.ts +0 -0
  483. /package/dist/{common → core}/types/Help.d.ts +0 -0
  484. /package/dist/{common → core}/types/Holding.d.ts +0 -0
  485. /package/dist/{common → core}/types/Institution.d.ts +0 -0
  486. /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
  487. /package/dist/{common → core}/types/Merchant.d.ts +0 -0
  488. /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
  489. /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
  490. /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
  491. /package/dist/{common → core}/types/Transaction.d.ts +0 -0
  492. /package/dist/{common → core}/types/User.d.ts +0 -0
  493. /package/dist/{common → core}/types/Widgets.d.ts +0 -0
  494. /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
  495. /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
  496. /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
  497. /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
  498. /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
  499. /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
  500. /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
  501. /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
  502. /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
  503. /package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -0
  504. /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
  505. /package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +0 -0
  506. /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
  507. /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
  508. /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
  509. /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
  510. /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
  511. /package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +0 -0
  512. /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
  513. /package/dist/{common → core}/types/localization/index.d.ts +0 -0
@@ -1,60 +1,61 @@
1
1
  import { jsxs as o, Fragment as B, jsx as e } from "react/jsx-runtime";
2
- import p, { useState as Y } from "react";
2
+ import h, { useState as Q } from "react";
3
3
  import { observer as T } from "mobx-react-lite";
4
- import { addMonths as Xe } from "date-fns/addMonths";
4
+ import { addMonths as Ve } from "date-fns/addMonths";
5
5
  import { startOfToday as W } from "date-fns/startOfToday";
6
6
  import D from "@mui/material/Box";
7
7
  import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import se from "@mui/material/styles/useTheme";
10
- import { Text as m, P as N, Icon as $, InstitutionLogo as Ce, H2 as de, H3 as Ve } from "@mxenabled/mxui";
11
- import { G as Ye, t as me, u as L, p as ce, d as Ne, b as P, i as U, g as ke, a as Qe, h as He, o as Ke } from "../hooks-CBl85iRr.mjs";
12
- import { C as R } from "../CurrencyText-C-85TnUF.mjs";
13
- import { L as Z } from "../Loader-icSc5MlE.mjs";
14
- import { I as ue } from "../CashflowStore-naOtJcwo.mjs";
15
- import { C as qn } from "../CashflowStore-naOtJcwo.mjs";
16
- import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
17
- import { b as G } from "../Localization-2MODESHW.mjs";
18
- import { M as Je } from "../MiniWidgetContainer-CXQcSWSl.mjs";
10
+ import { Text as m, P as N, Icon as M, InstitutionLogo as ye, H2 as de, H3 as Ye } from "@mxenabled/mxui";
11
+ import { G as Qe, t as me, u as L, p as ce, d as Ne, b as P, i as U, g as ke, a as Ke, h as Oe, o as Xe } from "../hooks-BxkfR-Ff.mjs";
12
+ import { C as R } from "../CurrencyText-CA-E5N_y.mjs";
13
+ import { I as ue } from "../CashflowStore-CeAzChyD.mjs";
14
+ import { C as Vn } from "../CashflowStore-CeAzChyD.mjs";
15
+ import { u as pe } from "../useScreenSize-B6JyS_Lj.mjs";
16
+ import { L as Z } from "../Loader-D3rjKx72.mjs";
17
+ import { b as $ } from "../Localization-CPkpIwIx.mjs";
18
+ import { M as Je } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
19
19
  import { E as Ze } from "../EmptyState-DHAkGsjk.mjs";
20
- import { u as Oe } from "../useWidgetLoadTimer-DmNCCLa-.mjs";
21
- import { R as et } from "../RecurringSettings-rEotGPcM.mjs";
20
+ import { u as Fe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
21
+ import { R as et } from "../RecurringSettings-BN9H5ALr.mjs";
22
22
  import tt from "@mui/material/Tabs";
23
- import ye from "@mui/material/Tab";
23
+ import Ce from "@mui/material/Tab";
24
24
  import { getUnixTime as z } from "date-fns/getUnixTime";
25
25
  import J from "@mui/material/List";
26
26
  import ee from "@mui/material/ListItem";
27
- import { A as nt } from "../AccountListItem-k63LpVBs.mjs";
28
- import { f as q, D as X } from "../DateFormats-Cs-NbEZ7.mjs";
27
+ import { A as nt } from "../AccountListItem-D9WJDbZ1.mjs";
28
+ import { f as q, D as V } from "../DateFormats-BMpMrZpW.mjs";
29
29
  import ot from "@mui/material/ListSubheader";
30
- import { f as K } from "../NumberFormatting-DjTD0t3W.mjs";
31
- import { isAfter as Fe } from "date-fns/isAfter";
30
+ import { f as X } from "../NumberFormatting-QCaNwbjv.mjs";
31
+ import { isAfter as He } from "date-fns/isAfter";
32
32
  import { isBefore as We } from "date-fns/isBefore";
33
- import { isToday as Ge } from "date-fns/isToday";
33
+ import { isToday as $e } from "date-fns/isToday";
34
34
  import { addDays as _e } from "date-fns/addDays";
35
- import { alpha as at, keyframes as it } from "@mui/material/styles";
35
+ import { alpha as it, keyframes as at } from "@mui/material/styles";
36
36
  import { DataGridPro as rt } from "@mui/x-data-grid-pro";
37
- import { T as Se } from "../TabContentContainer-CnMXkVqr.mjs";
38
- import M from "@mui/material/Button";
39
- import { M as st, S as ct, i as lt, d as we, c as dt } from "../ManageIncome-BVqHHIO7.mjs";
40
- import { D as Me } from "../Drawer-Bet2ZPJo.mjs";
41
- import { subDays as $e } from "date-fns/subDays";
37
+ import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
38
+ import G from "@mui/material/Button";
39
+ import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-Cc-wba0I.mjs";
40
+ import { D as Ge } from "../Drawer-Bbe4AMB1.mjs";
41
+ import { subDays as Me } from "date-fns/subDays";
42
42
  import { endOfToday as mt } from "date-fns/endOfToday";
43
- import { W as ut } from "../WidgetContainer-DFwVgavi.mjs";
44
- import { A as Q } from "../Account-CMjOp7S2.mjs";
45
- import { A as Ie } from "../Analytics-i5h6BxR1.mjs";
46
- import { formatISO as ht } from "date-fns/formatISO";
43
+ import { W as ut } from "../WidgetContainer-B7xDq2bM.mjs";
44
+ import { A as Ie } from "../Analytics-BYItVAe-.mjs";
45
+ import { A as K } from "../Account-BiB1F8lL.mjs";
46
+ import { formatISO as pt } from "date-fns/formatISO";
47
47
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
48
- import { startOfMonth as pt } from "date-fns/startOfMonth";
49
- import { S as ft, a as gt } from "../TransactionList-BDffKJMO.mjs";
50
- import { F as bt, R as ve, e as Ae } from "../RecurringTransactions-DlKYwpfK.mjs";
51
- import { h as xt } from "../DateUtil-CVXVMbjf.mjs";
52
- import { F as Ct, A as j } from "../Fetch-DecPFeGU.mjs";
53
- const V = () => {
54
- if (!p.useContext(Ye))
48
+ import { startOfMonth as ht } from "date-fns/startOfMonth";
49
+ import { S as ft, a as gt } from "../StatusIndicator-4tWnjeKS.mjs";
50
+ import { c as ve } from "../RecurringTransactions-BCJp-Nap.mjs";
51
+ import { h as bt } from "../DateUtil-wcYTmDRD.mjs";
52
+ import { F as xt, R as Ae } from "../RepeatingTransaction-DF4vJn_v.mjs";
53
+ import { F as yt, A as j } from "../Fetch-B6tMJC1r.mjs";
54
+ const Y = () => {
55
+ if (!h.useContext(Qe))
55
56
  throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
56
57
  return me().uiStore;
57
- }, yt = ({ remaining: a }) => {
58
+ }, Ct = ({ remaining: i }) => {
58
59
  const { cashflow: n } = L();
59
60
  return /* @__PURE__ */ o(B, { children: [
60
61
  /* @__PURE__ */ e(
@@ -62,88 +63,88 @@ const V = () => {
62
63
  {
63
64
  sx: {
64
65
  borderRadius: "1px",
65
- backgroundColor: a < 0 ? "error.main" : a > 0 ? "success.main" : "warning.main",
66
+ backgroundColor: i < 0 ? "error.main" : i > 0 ? "success.main" : "warning.main",
66
67
  height: 6,
67
68
  width: 6
68
69
  }
69
70
  }
70
71
  ),
71
72
  /* @__PURE__ */ e(m, { bold: !0, sx: { flexGrow: 1, fontSize: 12 }, children: n.remaining_cash }),
72
- /* @__PURE__ */ e(R, { amount: a, bold: !0, sx: { fontSize: 12 } })
73
+ /* @__PURE__ */ e(R, { amount: i, bold: !0, sx: { fontSize: 12 } })
73
74
  ] });
74
- }, pe = T(yt), _t = () => {
75
- const a = se(), { availableWidth: n } = ce(), { isMobile: t } = he(), { visibleCashAccounts: i, visibleCashBalance: f } = Ne(), { selectedAccountGuids: u } = P(), { cashflow: c } = L(), {
75
+ }, he = T(Ct), _t = () => {
76
+ const i = se(), { availableWidth: n } = ce(), { isMobile: t } = pe(), { visibleCashAccounts: a, visibleCashBalance: f } = Ne(), { selectedAccountGuids: u } = P(), { cashflow: c } = L(), {
76
77
  daysUntilNextIncome: l,
77
78
  expensesTilNextIncome: g,
78
79
  selectedCashAccounts: r,
79
- setNextIncome: h,
80
+ setNextIncome: p,
80
81
  setSelectedCashAccounts: d,
81
82
  setUpcomingExpenses: x
82
- } = V(), { isDataLoaded: _, nextIncomeRecurrence: S, upcomingExpenses: A } = U();
83
- p.useEffect(() => {
83
+ } = Y(), { isDataLoaded: _, nextIncomeRecurrence: w, upcomingExpenses: A } = U();
84
+ h.useEffect(() => {
84
85
  d(
85
- i.filter((C) => u.includes(C.guid))
86
+ a.filter((y) => u.includes(y.guid))
86
87
  );
87
- }, [i, u]), p.useEffect(() => {
88
- S && h(S), x(A);
89
- }, [S, A]);
90
- const w = p.useMemo(
91
- () => i.filter((C) => u.includes(C.guid)).reduce((C, I) => C + (I?.balance || 0), 0),
88
+ }, [a, u]), h.useEffect(() => {
89
+ w && p(w), x(A);
90
+ }, [w, A]);
91
+ const S = h.useMemo(
92
+ () => a.filter((y) => u.includes(y.guid)).reduce((y, I) => y + (I?.balance || 0), 0),
92
93
  [u, A]
93
- ), k = p.useMemo(
94
- () => g.filter((C) => u.includes(C.accountGuid || "")).reduce((C, I) => C + I.amount, 0),
94
+ ), k = h.useMemo(
95
+ () => g.filter((y) => u.includes(y.accountGuid || "")).reduce((y, I) => y + I.amount, 0),
95
96
  [u, g]
96
- ), b = p.useMemo(
97
- () => w - k,
98
- [w, k]
97
+ ), b = h.useMemo(
98
+ () => S - k,
99
+ [S, k]
99
100
  );
100
101
  return _ ? /* @__PURE__ */ e(D, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: n > 710 ? /* @__PURE__ */ o(
101
102
  s,
102
103
  {
103
- border: `1px solid ${a.palette.border.light}`,
104
+ border: `1px solid ${i.palette.divider}`,
104
105
  borderRadius: 1,
105
106
  direction: "row",
106
107
  justifyContent: "space-between",
107
108
  px: 24,
108
109
  children: [
109
110
  /* @__PURE__ */ o(s, { pb: 14, pt: 12, children: [
110
- /* @__PURE__ */ e(R, { amount: w, variant: "H2" }),
111
- /* @__PURE__ */ e(N, { variant: "XSmall", whiteSpace: "nowrap", children: G(
111
+ /* @__PURE__ */ e(R, { amount: S, variant: "h2" }),
112
+ /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: $(
112
113
  c.total_cash_accounts,
113
114
  r.length
114
115
  ) })
115
116
  ] }),
116
- /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e($, { name: "remove" }) }),
117
+ /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e(M, { name: "remove" }) }),
117
118
  /* @__PURE__ */ o(s, { pb: 14, pt: 12, children: [
118
- /* @__PURE__ */ e(R, { amount: k, variant: "H2" }),
119
- /* @__PURE__ */ e(N, { variant: "XSmall", whiteSpace: "nowrap", children: G(c.expenses_due, g.length) })
119
+ /* @__PURE__ */ e(R, { amount: k, variant: "h2" }),
120
+ /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: $(c.expenses_due, g.length) })
120
121
  ] }),
121
- /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e($, { name: "equal" }) }),
122
+ /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e(M, { name: "equal" }) }),
122
123
  /* @__PURE__ */ o(s, { pb: 14, pr: 24, pt: 12, children: [
123
- /* @__PURE__ */ e(R, { amount: b, variant: "H2" }),
124
+ /* @__PURE__ */ e(R, { amount: b, variant: "h2" }),
124
125
  /* @__PURE__ */ o(s, { alignItems: "center", direction: "row", gap: 8, children: [
125
- /* @__PURE__ */ e(N, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
126
+ /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: c.available_to_spend }),
126
127
  /* @__PURE__ */ e(ue, { body: c.tooltip_body, title: c.tooltip_title })
127
128
  ] })
128
129
  ] }),
129
- /* @__PURE__ */ e(s, { borderLeft: `1px solid ${a.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: /* @__PURE__ */ o(B, { children: [
130
- /* @__PURE__ */ e(m, { variant: "H2", children: G(c.days, l) }),
131
- /* @__PURE__ */ e(N, { variant: "XSmall", whiteSpace: "nowrap", children: c.next_paycheck })
130
+ /* @__PURE__ */ e(s, { borderLeft: `1px solid ${i.palette.divider}`, pb: 12, pl: 24, pt: 12, children: /* @__PURE__ */ o(B, { children: [
131
+ /* @__PURE__ */ e(m, { variant: "h2", children: $(c.days, l) }),
132
+ /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: c.next_paycheck })
132
133
  ] }) })
133
134
  ]
134
135
  }
135
- ) : /* @__PURE__ */ o(s, { border: `1px solid ${a.palette.border.light}`, borderRadius: 1, children: [
136
+ ) : /* @__PURE__ */ o(s, { border: `1px solid ${i.palette.divider}`, borderRadius: 1, children: [
136
137
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
137
- /* @__PURE__ */ e(m, { variant: "Small", children: G(
138
+ /* @__PURE__ */ e(m, { variant: "body2", children: $(
138
139
  c.total_cash_accounts,
139
140
  r.length
140
141
  ) }),
141
- /* @__PURE__ */ e(R, { amount: f, bold: !0, variant: "XSmall" })
142
+ /* @__PURE__ */ e(R, { amount: f, bold: !0, variant: "caption" })
142
143
  ] }),
143
144
  /* @__PURE__ */ e(v, {}),
144
145
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
145
- /* @__PURE__ */ e(m, { variant: "Small", children: G(c.expenses_due, g.length) }),
146
- /* @__PURE__ */ e(R, { amount: k, bold: !0, symbol: "-", variant: "XSmall" })
146
+ /* @__PURE__ */ e(m, { variant: "body2", children: $(c.expenses_due, g.length) }),
147
+ /* @__PURE__ */ e(R, { amount: k, bold: !0, symbol: "-", variant: "caption" })
147
148
  ] }),
148
149
  /* @__PURE__ */ e(v, {}),
149
150
  /* @__PURE__ */ e(
@@ -157,24 +158,24 @@ const V = () => {
157
158
  justifyContent: "space-between",
158
159
  px: 16,
159
160
  sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
160
- children: /* @__PURE__ */ e(pe, { remaining: b })
161
+ children: /* @__PURE__ */ e(he, { remaining: b })
161
162
  }
162
163
  ),
163
164
  /* @__PURE__ */ e(v, {}),
164
165
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
165
- /* @__PURE__ */ e(m, { variant: "Small", children: c.next_paycheck }),
166
- /* @__PURE__ */ e(m, { bold: !0, variant: "XSmall", children: G(c.days, l) })
166
+ /* @__PURE__ */ e(m, { variant: "body2", children: c.next_paycheck }),
167
+ /* @__PURE__ */ e(m, { bold: !0, variant: "caption", children: $(c.days, l) })
167
168
  ] })
168
169
  ] }) }) : /* @__PURE__ */ e(Z, { height: t ? 210 : 120 });
169
- }, St = T(_t), wt = ({
170
- onPrimaryCtaClick: a,
170
+ }, wt = T(_t), St = ({
171
+ onPrimaryCtaClick: i,
171
172
  onSecondaryCtaClick: n,
172
173
  sx: t = {}
173
174
  }) => {
174
- const { cashflow: i } = L(), { isInitialized: f } = P(), { loadRepeatingTransactionData: u, income: c, isDataLoaded: l, setDateRange: g } = U();
175
- p.useEffect(() => {
176
- g({ start: W(), end: Xe(W(), 1) }), l || u().finally();
177
- }, []), Oe({
175
+ const { cashflow: a } = L(), { isInitialized: f } = P(), { loadRepeatingTransactionData: u, income: c, isDataLoaded: l, setDateRange: g } = U();
176
+ h.useEffect(() => {
177
+ g({ start: W(), end: Ve(W(), 1) }), l || u().finally();
178
+ }, []), Fe({
178
179
  widgetName: "CashflowMiniWidget",
179
180
  isLoaded: l
180
181
  });
@@ -183,28 +184,29 @@ const V = () => {
183
184
  Je,
184
185
  {
185
186
  className: "mx-exp-cashflow-miniwidget",
186
- onPrimaryCtaClick: a,
187
- primaryCtaLabel: i.primary_cta,
188
- subTitle: r || !l ? void 0 : i.sub_title,
187
+ onPrimaryCtaClick: i,
188
+ primaryCtaLabel: a.primary_cta,
189
+ primaryCtaLabelAria: a.primary_cta_aria,
190
+ subTitle: r || !l ? void 0 : a.sub_title,
189
191
  sx: { height: "100%", ...t },
190
- title: i.title,
192
+ title: a.title,
191
193
  children: [
192
194
  !l && /* @__PURE__ */ e(Z, {}),
193
195
  l && (r ? /* @__PURE__ */ e(
194
196
  Ze,
195
197
  {
196
- header: i.create,
198
+ header: a.create,
197
199
  icon: "local_atm",
198
200
  onClick: n,
199
- primaryButton: i.add_income,
201
+ primaryButton: a.add_income,
200
202
  primaryButtonStartIcon: "add",
201
- subText: i.create_description
203
+ subText: a.create_description
202
204
  }
203
- ) : /* @__PURE__ */ e(St, {}))
205
+ ) : /* @__PURE__ */ e(wt, {}))
204
206
  ]
205
207
  }
206
208
  ) : /* @__PURE__ */ e(Z, {});
207
- }, $n = T(wt), It = ({ remaining: a }) => /* @__PURE__ */ e(
209
+ }, jn = T(St), It = ({ remaining: i }) => /* @__PURE__ */ e(
208
210
  ee,
209
211
  {
210
212
  sx: {
@@ -217,28 +219,28 @@ const V = () => {
217
219
  borderBottomRightRadius: "3px",
218
220
  minHeight: "auto"
219
221
  },
220
- children: /* @__PURE__ */ e(pe, { remaining: a })
222
+ children: /* @__PURE__ */ e(he, { remaining: i })
221
223
  }
222
224
  );
223
- var te = /* @__PURE__ */ ((a) => (a.EXPENSE = "expense", a.INCOME = "income", a))(te || {});
224
- const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
225
+ var te = /* @__PURE__ */ ((i) => (i.EXPENSE = "expense", i.INCOME = "income", i))(te || {});
226
+ const Dt = ({ recurrence: i }) => /* @__PURE__ */ o(B, { children: [
225
227
  /* @__PURE__ */ o(ee, { sx: { display: "flex", alignItems: "center", gap: 16, px: 24, py: 12 }, children: [
226
228
  /* @__PURE__ */ o(s, { alignItems: "center", height: 32, width: 32, children: [
227
- /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 11 }, children: q(a.expectedDate, X.MONTH) }),
228
- /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 11 }, children: q(a.expectedDate, X.DAY) })
229
+ /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 11 }, children: q(i.expectedDate, V.MONTH) }),
230
+ /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 11 }, children: q(i.expectedDate, V.DAY) })
229
231
  ] }),
230
- /* @__PURE__ */ e(m, { sx: { flexGrow: 1, fontSize: 13 }, children: a.name }),
232
+ /* @__PURE__ */ e(m, { sx: { flexGrow: 1, fontSize: 13 }, children: i.name }),
231
233
  /* @__PURE__ */ e(
232
234
  R,
233
235
  {
234
- amount: a.amount,
236
+ amount: i.amount,
235
237
  bold: !0,
236
238
  sx: { textAlign: "right", fontSize: 13 }
237
239
  }
238
240
  )
239
241
  ] }),
240
242
  /* @__PURE__ */ e(v, {})
241
- ] }), Ee = T(Dt), vt = ({ total: a, type: n }) => {
243
+ ] }), Ee = T(Dt), vt = ({ total: i, type: n }) => {
242
244
  const { cashflow: t } = L();
243
245
  return /* @__PURE__ */ o(B, { children: [
244
246
  /* @__PURE__ */ o(
@@ -257,32 +259,32 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
257
259
  /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 12 }, children: n === te.EXPENSE ? t.expenses : t.income }),
258
260
  /* @__PURE__ */ o(m, { bold: !0, sx: { fontSize: 13 }, children: [
259
261
  n === te.EXPENSE ? "-" : "+",
260
- K(a, "0,0.00")
262
+ X(i, "0,0.00")
261
263
  ] })
262
264
  ]
263
265
  }
264
266
  ),
265
267
  /* @__PURE__ */ e(v, {})
266
268
  ] });
267
- }, Te = T(vt), re = (a, n) => (t) => t.accountGuid === a.guid && (Ge(t.expectedDate) || Fe(t.expectedDate, n.start)) && We(t.expectedDate, n.end), At = () => {
268
- const { availableWidth: a } = ce(), { cashflow: n } = L(), { upcomingExpenses: t, upcomingIncome: i } = U(), { dateRange: f, selectedCashAccounts: u } = V();
269
+ }, Te = T(vt), re = (i, n) => (t) => t.accountGuid === i.guid && ($e(t.expectedDate) || He(t.expectedDate, n.start)) && We(t.expectedDate, n.end), At = () => {
270
+ const { availableWidth: i } = ce(), { cashflow: n } = L(), { upcomingExpenses: t, upcomingIncome: a } = U(), { dateRange: f, selectedCashAccounts: u } = Y();
269
271
  return /* @__PURE__ */ o(s, { children: [
270
- /* @__PURE__ */ o(s, { direction: a < 400 ? "column" : "row", justifyContent: "space-between", children: [
272
+ /* @__PURE__ */ o(s, { direction: i < 400 ? "column" : "row", justifyContent: "space-between", children: [
271
273
  /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: n.accounts_breakdown }),
272
274
  /* @__PURE__ */ o(m, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: [
273
- q(f.start, X.FULL_MONTH_DAY),
275
+ q(f.start, V.FULL_MONTH_DAY),
274
276
  " -",
275
277
  " ",
276
- q(f.end, X.FULL_MONTH_DAY)
278
+ q(f.end, V.FULL_MONTH_DAY)
277
279
  ] })
278
280
  ] }),
279
281
  /* @__PURE__ */ e(s, { children: u.map((c) => {
280
- const l = i.filter(re(c, f)).sort((d, x) => z(d.expectedDate) - z(x.expectedDate)), g = t.filter(
282
+ const l = a.filter(re(c, f)).sort((d, x) => z(d.expectedDate) - z(x.expectedDate)), g = t.filter(
281
283
  re(c, f)
282
284
  ), r = l.reduce(
283
285
  (d, x) => d + x.amount,
284
286
  0
285
- ), h = g.reduce(
287
+ ), p = g.reduce(
286
288
  (d, x) => d + x.amount,
287
289
  0
288
290
  );
@@ -291,7 +293,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
291
293
  {
292
294
  sx: {
293
295
  border: "1px solid",
294
- borderColor: "border.light",
296
+ borderColor: "neutral.light",
295
297
  mb: 24,
296
298
  borderRadius: 1
297
299
  },
@@ -319,7 +321,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
319
321
  g.length > 0 && /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ e(
320
322
  J,
321
323
  {
322
- subheader: /* @__PURE__ */ e(Te, { total: h, type: te.EXPENSE }),
324
+ subheader: /* @__PURE__ */ e(Te, { total: p, type: te.EXPENSE }),
323
325
  sx: { width: "100%" },
324
326
  children: g.map((d) => /* @__PURE__ */ e(Ee, { recurrence: d }, d.repeatingTransactionGuid))
325
327
  }
@@ -327,7 +329,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
327
329
  /* @__PURE__ */ e(
328
330
  It,
329
331
  {
330
- remaining: (c.available_balance || c.balance || 0) + r - h
332
+ remaining: (c.available_balance || c.balance || 0) + r - p
331
333
  }
332
334
  )
333
335
  ]
@@ -337,16 +339,16 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
337
339
  }) })
338
340
  ] });
339
341
  }, Et = T(At), Tt = () => {
340
- const { availableWidth: a } = ce(), n = se(), { cashflow: t } = L(), { upcomingExpenses: i, upcomingIncome: f } = U(), { dateRange: u, selectedCashAccounts: c } = V(), l = [
342
+ const { availableWidth: i } = ce(), n = se(), { cashflow: t } = L(), { upcomingExpenses: a, upcomingIncome: f } = U(), { dateRange: u, selectedCashAccounts: c } = Y(), l = [
341
343
  {
342
344
  field: "account",
343
345
  flex: 1.5,
344
346
  headerName: t.accounts,
345
- renderCell: ({ value: { name: r, nickname: h, institution_guid: d, account_number: x } }) => {
346
- const _ = h || r;
347
+ renderCell: ({ value: { name: r, nickname: p, institution_guid: d, account_number: x } }) => {
348
+ const _ = p || r;
347
349
  return /* @__PURE__ */ o(s, { alignItems: "center", flexDirection: "row", gap: 12, children: [
348
350
  /* @__PURE__ */ e(
349
- Ce,
351
+ ye,
350
352
  {
351
353
  alt: t.institution_logo,
352
354
  institutionGuid: d || "",
@@ -362,21 +364,21 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
362
364
  flex: 1,
363
365
  headerName: t.balance,
364
366
  type: "number",
365
- renderCell: (r) => /* @__PURE__ */ e(m, { color: n.palette.text.primary, variant: "Small", children: K(r.value, "0,0.00") })
367
+ renderCell: (r) => /* @__PURE__ */ e(m, { color: n.palette.text.primary, variant: "body2", children: X(r.value, "0,0.00") })
366
368
  },
367
369
  {
368
370
  field: "income",
369
371
  flex: 1,
370
372
  headerName: t.projected_income,
371
373
  type: "number",
372
- renderCell: (r) => /* @__PURE__ */ e(m, { color: n.palette.text.primary, variant: "Small", children: `+${K(r.value, "0,0.00")}` })
374
+ renderCell: (r) => /* @__PURE__ */ e(m, { color: n.palette.text.primary, variant: "body2", children: `+${X(r.value, "0,0.00")}` })
373
375
  },
374
376
  {
375
377
  field: "expenses",
376
378
  flex: 1.1,
377
379
  headerName: t.projected_expenses,
378
380
  type: "number",
379
- renderCell: (r) => /* @__PURE__ */ e(m, { color: n.palette.text.primary, variant: "Small", children: `-${K(r.value, "0,0.00")}` })
381
+ renderCell: (r) => /* @__PURE__ */ e(m, { color: n.palette.text.primary, variant: "body2", children: `-${X(r.value, "0,0.00")}` })
380
382
  },
381
383
  {
382
384
  field: "remaining",
@@ -384,32 +386,32 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
384
386
  headerName: t.remaining,
385
387
  type: "number",
386
388
  renderCell: (r) => {
387
- const h = r.row.balance + r.row.income - r.row.expenses;
389
+ const p = r.row.balance + r.row.income - r.row.expenses;
388
390
  return /* @__PURE__ */ e(
389
391
  m,
390
392
  {
391
- color: Math.sign(h) === -1 ? n.palette.error.main : n.palette.text.primary,
392
- variant: "Small",
393
- children: K(h, "0,0.00")
393
+ color: Math.sign(p) === -1 ? n.palette.error.main : n.palette.text.primary,
394
+ variant: "body2",
395
+ children: X(p, "0,0.00")
394
396
  }
395
397
  );
396
398
  }
397
399
  }
398
- ], g = p.useMemo(() => c.map((r) => {
399
- const h = i.filter(
400
+ ], g = h.useMemo(() => c.map((r) => {
401
+ const p = a.filter(
400
402
  re(r, { start: W(), end: _e(W(), 30) })
401
- ).reduce((_, S) => _ + S.amount, 0), d = f.filter(
403
+ ).reduce((_, w) => _ + w.amount, 0), d = f.filter(
402
404
  re(r, { start: W(), end: _e(W(), 30) })
403
- ).reduce((_, S) => _ + S.amount, 0), x = (r.balance || 0) + d - h;
405
+ ).reduce((_, w) => _ + w.amount, 0), x = (r.balance || 0) + d - p;
404
406
  return {
405
407
  account: r,
406
408
  balance: r.balance || 0,
407
409
  id: r.guid,
408
410
  income: d,
409
- expenses: h,
411
+ expenses: p,
410
412
  remaining: x
411
413
  };
412
- }), [c, i, f]);
414
+ }), [c, a, f]);
413
415
  return /* @__PURE__ */ o(
414
416
  D,
415
417
  {
@@ -420,7 +422,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
420
422
  /* @__PURE__ */ o(
421
423
  s,
422
424
  {
423
- direction: a < 540 ? "column" : "row",
425
+ direction: i < 540 ? "column" : "row",
424
426
  justifyContent: "space-between",
425
427
  mb: 12,
426
428
  children: [
@@ -445,15 +447,15 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
445
447
  )
446
448
  ] }),
447
449
  /* @__PURE__ */ o(m, { bold: !0, sx: { fontSize: 15, whiteSpace: "normal" }, children: [
448
- q(u.start, X.FULL_MONTH_DAY),
450
+ q(u.start, V.FULL_MONTH_DAY),
449
451
  " -",
450
452
  " ",
451
- q(u.end, X.FULL_MONTH_DAY)
453
+ q(u.end, V.FULL_MONTH_DAY)
452
454
  ] })
453
455
  ]
454
456
  }
455
457
  ),
456
- a > 650 ? /* @__PURE__ */ e(
458
+ i > 650 ? /* @__PURE__ */ e(
457
459
  rt,
458
460
  {
459
461
  columnHeaderHeight: 48,
@@ -466,12 +468,12 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
466
468
  rows: g,
467
469
  sx: {
468
470
  border: "1px solid",
469
- borderColor: "border.light",
471
+ borderColor: "neutral.light",
470
472
  borderRadius: 1,
471
473
  "& .MuiDataGrid-columnHeader .MuiIconButton-root": {
472
474
  color: n.palette.primary.main,
473
475
  "&:hover": {
474
- backgroundColor: at(n.palette.primary.main, 0.1)
476
+ backgroundColor: it(n.palette.primary.main, 0.1)
475
477
  }
476
478
  },
477
479
  "& .MuiDataGrid-columnHeaderTitle": {
@@ -484,13 +486,13 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
484
486
  }
485
487
  }
486
488
  ) : g.map((r) => {
487
- const { name: h, nickname: d, institution_guid: x, account_number: _ } = r.account, S = d || h;
489
+ const { name: p, nickname: d, institution_guid: x, account_number: _ } = r.account, w = d || p;
488
490
  return /* @__PURE__ */ e(
489
491
  J,
490
492
  {
491
493
  sx: {
492
494
  border: "1px solid",
493
- borderColor: "border.light",
495
+ borderColor: "neutral.light",
494
496
  borderRadius: 1,
495
497
  marginBottom: 24
496
498
  },
@@ -506,16 +508,16 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
506
508
  children: [
507
509
  /* @__PURE__ */ o(s, { alignItems: "center", flexDirection: "row", gap: 8, width: "50%", children: [
508
510
  /* @__PURE__ */ e(
509
- Ce,
511
+ ye,
510
512
  {
511
513
  alt: t.institution_logo,
512
514
  institutionGuid: x || "",
513
515
  size: 16
514
516
  }
515
517
  ),
516
- /* @__PURE__ */ e(m, { variant: "Small", children: `${S} ${_ ? `*${_}` : ""}` })
518
+ /* @__PURE__ */ e(m, { variant: "body2", children: `${w} ${_ ? `*${_}` : ""}` })
517
519
  ] }),
518
- /* @__PURE__ */ e(R, { amount: r.balance, bold: !0, variant: "Small" })
520
+ /* @__PURE__ */ e(R, { amount: r.balance, bold: !0, variant: "body2" })
519
521
  ]
520
522
  }
521
523
  ),
@@ -529,8 +531,8 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
529
531
  px: 16,
530
532
  py: 12,
531
533
  children: [
532
- /* @__PURE__ */ e(m, { variant: "Small", children: t.projected_income }),
533
- /* @__PURE__ */ e(R, { amount: r.income, bold: !0, symbol: "+", variant: "Small" })
534
+ /* @__PURE__ */ e(m, { variant: "body2", children: t.projected_income }),
535
+ /* @__PURE__ */ e(R, { amount: r.income, bold: !0, symbol: "+", variant: "body2" })
534
536
  ]
535
537
  }
536
538
  ),
@@ -544,8 +546,8 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
544
546
  px: 16,
545
547
  py: 12,
546
548
  children: [
547
- /* @__PURE__ */ e(m, { variant: "Small", children: t.projected_expenses }),
548
- /* @__PURE__ */ e(R, { amount: r.expenses, bold: !0, symbol: "-", variant: "Small" })
549
+ /* @__PURE__ */ e(m, { variant: "body2", children: t.projected_expenses }),
550
+ /* @__PURE__ */ e(R, { amount: r.expenses, bold: !0, symbol: "-", variant: "body2" })
549
551
  ]
550
552
  }
551
553
  ),
@@ -561,7 +563,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
561
563
  px: 16,
562
564
  py: 12,
563
565
  sx: { borderBottomLeftRadius: "4px", borderBottomRightRadius: "4px" },
564
- children: /* @__PURE__ */ e(pe, { remaining: r.remaining })
566
+ children: /* @__PURE__ */ e(he, { remaining: r.remaining })
565
567
  }
566
568
  )
567
569
  ] }) })
@@ -573,39 +575,39 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
573
575
  }
574
576
  );
575
577
  }, Rt = T(Tt), Lt = () => {
576
- const { cashflow: a } = L(), { isDesktop: n } = he(), { onEvent: t } = ke(), [i, f] = p.useState(0), u = (c, l) => {
578
+ const { cashflow: i } = L(), { isDesktop: n } = pe(), { onEvent: t } = ke(), [a, f] = h.useState(0), u = (c, l) => {
577
579
  f(l);
578
580
  };
579
- return p.useEffect(() => {
580
- t(i === 0 ? "cash_flow_summary" : "cash_flow_details");
581
- }, [i]), /* @__PURE__ */ o(D, { children: [
581
+ return h.useEffect(() => {
582
+ t(a === 0 ? "cash_flow_summary" : "cash_flow_details");
583
+ }, [a]), /* @__PURE__ */ o(D, { children: [
582
584
  /* @__PURE__ */ o(
583
585
  tt,
584
586
  {
585
- "aria-label": a.cashflow_summary_and_details,
587
+ "aria-label": i.cashflow_summary_and_details,
586
588
  centered: !0,
587
589
  onChange: u,
588
590
  textColor: "primary",
589
- value: i,
591
+ value: a,
590
592
  variant: "fullWidth",
591
593
  children: [
592
594
  /* @__PURE__ */ e(
593
- ye,
595
+ Ce,
594
596
  {
595
597
  "aria-controls": "cashflow-tabpanel-0",
596
598
  id: "cashflow-tab-0",
597
- label: a.summary,
599
+ label: i.summary,
598
600
  sx: {
599
601
  textTransform: "none"
600
602
  }
601
603
  }
602
604
  ),
603
605
  /* @__PURE__ */ e(
604
- ye,
606
+ Ce,
605
607
  {
606
608
  "aria-controls": "cashflow-tabpanel-1",
607
609
  id: "cashflow-tab-1",
608
- label: a.details,
610
+ label: i.details,
609
611
  sx: {
610
612
  textTransform: "none"
611
613
  }
@@ -615,14 +617,14 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
615
617
  }
616
618
  ),
617
619
  /* @__PURE__ */ e(D, { sx: { mb: 32 } }),
618
- /* @__PURE__ */ e(Se, { index: 0, name: "cashflow", value: i, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Rt, {}) }) }),
619
- /* @__PURE__ */ e(Se, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Et, {}) }) })
620
+ /* @__PURE__ */ e(we, { index: 0, name: "cashflow", value: a, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Rt, {}) }) }),
621
+ /* @__PURE__ */ e(we, { index: 1, name: "cashflow", value: a, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Et, {}) }) })
620
622
  ] });
621
- }, Nt = T(Lt), ie = ({
622
- amount: a,
623
+ }, Nt = T(Lt), ae = ({
624
+ amount: i,
623
625
  isMobile: n = !1,
624
626
  isTotal: t = !1,
625
- label: i,
627
+ label: a,
626
628
  symbol: f,
627
629
  tooltip: u
628
630
  }) => /* @__PURE__ */ o(
@@ -634,49 +636,49 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
634
636
  padding: n ? "14px 16px" : 0,
635
637
  sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
636
638
  children: [
637
- !n && /* @__PURE__ */ e(R, { amount: a, component: "h2", variant: "H2" }),
639
+ !n && /* @__PURE__ */ e(R, { amount: i, component: "h2", variant: "h2" }),
638
640
  /* @__PURE__ */ o(s, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
639
- /* @__PURE__ */ e(m, { bold: t, variant: "Small", children: i }),
641
+ /* @__PURE__ */ e(m, { bold: t, variant: "body2", children: a }),
640
642
  u
641
643
  ] }),
642
- n && /* @__PURE__ */ e(R, { amount: a, component: "h2", symbol: f, variant: "Small" })
644
+ n && /* @__PURE__ */ e(R, { amount: i, component: "h2", symbol: f, variant: "body2" })
643
645
  ]
644
646
  }
645
- ), Re = (a, n) => (t) => t.accountGuid && a.includes(t.accountGuid) && (Ge(t.expectedDate) || Fe(t.expectedDate, n.start)) && We(t.expectedDate, n.end), kt = () => {
646
- const { availableWidth: a } = ce(), { cashflow: n } = L(), { income: t, isDataLoaded: i, upcomingExpenses: f, upcomingIncome: u } = U(), { selectedAccountGuids: c } = P(), { dateRange: l, selectedCashAccounts: g } = V(), [r, h] = p.useState(!1), d = p.useMemo(
647
+ ), Re = (i, n) => (t) => t.accountGuid && i.includes(t.accountGuid) && ($e(t.expectedDate) || He(t.expectedDate, n.start)) && We(t.expectedDate, n.end), kt = () => {
648
+ const { availableWidth: i } = ce(), { cashflow: n } = L(), { income: t, isDataLoaded: a, upcomingExpenses: f, upcomingIncome: u } = U(), { selectedAccountGuids: c } = P(), { dateRange: l, selectedCashAccounts: g } = Y(), [r, p] = h.useState(!1), d = h.useMemo(
647
649
  () => f.filter(Re(c, l)),
648
650
  [l, c, f]
649
- ), x = p.useMemo(
651
+ ), x = h.useMemo(
650
652
  () => u.filter(Re(c, l)),
651
653
  [l, c, u]
652
- ), _ = p.useMemo(
653
- () => g.reduce((C, I) => C + (I?.balance || 0), 0),
654
+ ), _ = h.useMemo(
655
+ () => g.reduce((y, I) => y + (I?.balance || 0), 0),
654
656
  [g]
655
- ), S = d.reduce((C, I) => C + I.amount, 0), A = x.reduce((C, I) => C + I.amount, 0), w = _ - S + A, k = i && t.length > 0, b = a < 725;
657
+ ), w = d.reduce((y, I) => y + I.amount, 0), A = x.reduce((y, I) => y + I.amount, 0), S = _ - w + A, k = a && t.length > 0, b = i < 725;
656
658
  return /* @__PURE__ */ o(s, { sx: { mx: b ? 16 : 0, my: b ? 24 : 42 }, children: [
657
659
  /* @__PURE__ */ o(
658
660
  s,
659
661
  {
660
662
  border: b ? "1px solid" : "none",
661
- borderColor: "border.light",
663
+ borderColor: "neutral.light",
662
664
  borderRadius: 2,
663
665
  flexDirection: b ? "column" : "row",
664
666
  gap: b ? 0 : 24,
665
667
  justifyContent: "center",
666
668
  children: [
667
669
  /* @__PURE__ */ e(
668
- ie,
670
+ ae,
669
671
  {
670
672
  amount: _,
671
673
  isMobile: b,
672
- label: G(n.cash_and_bank, g.length)
674
+ label: $(n.cash_and_bank, g.length)
673
675
  }
674
676
  ),
675
677
  b && /* @__PURE__ */ e(v, {}),
676
678
  k ? /* @__PURE__ */ o(B, { children: [
677
679
  !b && /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
678
680
  /* @__PURE__ */ e(
679
- ie,
681
+ ae,
680
682
  {
681
683
  amount: A,
682
684
  isMobile: b,
@@ -685,29 +687,29 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
685
687
  }
686
688
  )
687
689
  ] }) : /* @__PURE__ */ e(
688
- M,
690
+ G,
689
691
  {
690
- onClick: () => h(!0),
691
- startIcon: /* @__PURE__ */ e($, { name: "add" }),
692
+ onClick: () => p(!0),
693
+ startIcon: /* @__PURE__ */ e(M, { name: "add" }),
692
694
  sx: { fontSize: 13 },
693
695
  children: n.add_income
694
696
  }
695
697
  ),
696
698
  b ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
697
699
  /* @__PURE__ */ e(
698
- ie,
700
+ ae,
699
701
  {
700
- amount: S,
702
+ amount: w,
701
703
  isMobile: b,
702
- label: G(n.to_be_paid_out, d.length),
704
+ label: $(n.to_be_paid_out, d.length),
703
705
  symbol: b ? "-" : void 0
704
706
  }
705
707
  ),
706
708
  b ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
707
709
  /* @__PURE__ */ e(
708
- ie,
710
+ ae,
709
711
  {
710
- amount: w,
712
+ amount: S,
711
713
  isMobile: b,
712
714
  isTotal: b,
713
715
  label: n.remaining_cash,
@@ -724,30 +726,30 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
724
726
  }
725
727
  ),
726
728
  /* @__PURE__ */ e(
727
- Me,
729
+ Ge,
728
730
  {
729
731
  ariaLabelClose: n.close_manage_income_aria,
730
732
  isOpen: r,
731
- onClose: () => h(!1),
733
+ onClose: () => p(!1),
732
734
  shouldShowHeaderBorders: !1,
733
735
  title: n.manage_income,
734
736
  children: /* @__PURE__ */ e(st, {})
735
737
  }
736
738
  )
737
739
  ] });
738
- }, Ht = T(kt), Ot = ({ onBackClick: a, sx: n = {} }) => {
739
- const { selectedAccounts: t, selectedAccountGuids: i, shouldDisableNextDate: f, shouldDisablePrevDate: u } = P(), { onEvent: c } = ke(), { clientConfig: l } = Qe(), { visibleCashAccounts: g } = Ne(), { setFilter: r } = He(), { dateRange: h, setSelectedCashAccounts: d } = V(), { loadRepeatingTransactionData: x, isDataLoaded: _, setDateRange: S } = U(), { cashflow: A, recurring: w } = L(), { isInitialized: k } = P(), C = l?.master?.deep_link_params?.view === "manage_income", [I, ne] = p.useState(C);
740
- return p.useEffect(() => {
741
- S(h), _ || x().finally();
742
- }, []), p.useEffect(() => {
743
- const oe = g.map((H) => H.guid), ae = t.filter(
744
- (H) => i.includes(H.guid) && oe.includes(H.guid)
740
+ }, Ot = T(kt), Ft = ({ onBackClick: i, sx: n = {} }) => {
741
+ const { selectedAccounts: t, selectedAccountGuids: a, shouldDisableNextDate: f, shouldDisablePrevDate: u } = P(), { onEvent: c } = ke(), { clientConfig: l } = Ke(), { visibleCashAccounts: g } = Ne(), { setFilter: r } = Oe(), { dateRange: p, setSelectedCashAccounts: d } = Y(), { loadRepeatingTransactionData: x, isDataLoaded: _, setDateRange: w } = U(), { cashflow: A, recurring: S } = L(), { isInitialized: k } = P(), y = l?.master?.deep_link_params?.view === "manage_income", [I, ne] = h.useState(y);
742
+ return h.useEffect(() => {
743
+ w(p), _ || x().finally();
744
+ }, []), h.useEffect(() => {
745
+ const oe = g.map((O) => O.guid), ie = t.filter(
746
+ (O) => a.includes(O.guid) && oe.includes(O.guid)
745
747
  );
746
- d(ae), r({
747
- dateRange: { start: $e(W(), 90), end: mt() },
748
- accounts: ae.map((H) => H.guid)
748
+ d(ie), r({
749
+ dateRange: { start: Me(W(), 90), end: mt() },
750
+ accounts: ie.map((O) => O.guid)
749
751
  });
750
- }, [g, t]), Oe({
752
+ }, [g, t]), Fe({
751
753
  widgetName: "CashflowWidget",
752
754
  isLoaded: _
753
755
  }), k ? /* @__PURE__ */ o(
@@ -755,7 +757,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
755
757
  {
756
758
  actions: [
757
759
  {
758
- label: w.action_title,
760
+ label: S.action_title,
759
761
  iconName: "credit_card_gear",
760
762
  onClick: () => {
761
763
  ne(!0), c(Ie.CASH_FLOW_CLICK_SETTINGS);
@@ -763,11 +765,11 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
763
765
  }
764
766
  ],
765
767
  allowedAccountTypes: [
766
- Q.CASH,
767
- Q.CHECKING,
768
- Q.PREPAID,
769
- Q.SAVINGS,
770
- Q.CHECKING_LINE_OF_CREDIT
768
+ K.CASH,
769
+ K.CHECKING,
770
+ K.PREPAID,
771
+ K.SAVINGS,
772
+ K.CHECKING_LINE_OF_CREDIT
771
773
  ],
772
774
  calendarActions: {
773
775
  shouldDisableNext: f,
@@ -776,37 +778,37 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
776
778
  onRangeChanged: () => {
777
779
  }
778
780
  },
779
- dateRange: h,
781
+ dateRange: p,
780
782
  dateRangeVariant: "readonly",
781
783
  onAccountsFilterClick: () => c(Ie.CASH_FLOW_CLICK_FILTER),
782
- onBackClick: a,
784
+ onBackClick: i,
783
785
  sx: n,
784
786
  title: A.title,
785
787
  children: [
786
- /* @__PURE__ */ e(Ht, {}),
788
+ /* @__PURE__ */ e(Ot, {}),
787
789
  /* @__PURE__ */ e(Nt, {}),
788
790
  /* @__PURE__ */ e(
789
- Me,
791
+ Ge,
790
792
  {
791
793
  ariaLabelClose: A.close_settings_aria,
792
794
  isOpen: I,
793
795
  onClose: () => ne(!1),
794
796
  shouldShowHeaderBorders: !1,
795
- title: w.action_title,
796
- children: /* @__PURE__ */ e(et, { defaultSelectedTab: C ? 1 : 0 })
797
+ title: S.action_title,
798
+ children: /* @__PURE__ */ e(et, { defaultSelectedTab: y ? 1 : 0 })
797
799
  }
798
800
  )
799
801
  ]
800
802
  }
801
803
  ) : /* @__PURE__ */ e(Z, {});
802
- }, jn = T(Ot), Ft = ({ handleNextStep: a }) => {
803
- const { completeOnboarding: n } = me(), { cashflow: t } = L(), i = se();
804
+ }, zn = T(Ft), Ht = ({ handleNextStep: i }) => {
805
+ const { completeOnboarding: n } = me(), { cashflow: t } = L(), a = se();
804
806
  return /* @__PURE__ */ o(s, { children: [
805
- /* @__PURE__ */ e(de, { pb: 12, variant: "H1", children: t.welcome_title }),
807
+ /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.welcome_title }),
806
808
  /* @__PURE__ */ e(
807
- Ve,
809
+ Ye,
808
810
  {
809
- color: i.palette.primary.light,
811
+ color: a.palette.primary.light,
810
812
  pb: 8,
811
813
  sx: { wordBreak: "break-word", whiteSpace: "initial" },
812
814
  children: t.welcome_sub_title
@@ -818,14 +820,14 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
818
820
  /* @__PURE__ */ e(
819
821
  D,
820
822
  {
821
- bgcolor: i.palette.primary.lighter,
823
+ bgcolor: a.palette.primary.lighter,
822
824
  borderRadius: 1,
823
825
  component: "span",
824
826
  height: 44,
825
827
  mr: 24,
826
828
  sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
827
829
  width: 44,
828
- children: /* @__PURE__ */ e($, { color: "primary", name: "currency_exchange" })
830
+ children: /* @__PURE__ */ e(M, { color: "primary", name: "currency_exchange" })
829
831
  }
830
832
  ),
831
833
  t.bullet_one
@@ -834,14 +836,14 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
834
836
  /* @__PURE__ */ e(
835
837
  D,
836
838
  {
837
- bgcolor: i.palette.primary.lighter,
839
+ bgcolor: a.palette.primary.lighter,
838
840
  borderRadius: 1,
839
841
  component: "span",
840
842
  height: 44,
841
843
  mr: 24,
842
844
  sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
843
845
  width: 44,
844
- children: /* @__PURE__ */ e($, { color: "primary", name: "cardiology" })
846
+ children: /* @__PURE__ */ e(M, { color: "primary", name: "cardiology" })
845
847
  }
846
848
  ),
847
849
  t.bullet_two
@@ -850,35 +852,35 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
850
852
  /* @__PURE__ */ e(
851
853
  D,
852
854
  {
853
- bgcolor: i.palette.primary.lighter,
855
+ bgcolor: a.palette.primary.lighter,
854
856
  borderRadius: 1,
855
857
  component: "span",
856
858
  height: 44,
857
859
  mr: 24,
858
860
  sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
859
861
  width: 44,
860
- children: /* @__PURE__ */ e($, { color: "primary", name: "flare" })
862
+ children: /* @__PURE__ */ e(M, { color: "primary", name: "flare" })
861
863
  }
862
864
  ),
863
865
  t.bullet_three
864
866
  ] })
865
867
  ] }),
866
868
  /* @__PURE__ */ o(s, { direction: "row", spacing: 16, children: [
867
- /* @__PURE__ */ e(M, { onClick: a, variant: "contained", children: t.get_started_button }),
868
- /* @__PURE__ */ e(M, { onClick: n, variant: "outlined", children: t.skip_button })
869
+ /* @__PURE__ */ e(G, { onClick: i, variant: "contained", children: t.get_started_button }),
870
+ /* @__PURE__ */ e(G, { onClick: n, variant: "outlined", children: t.skip_button })
869
871
  ] })
870
872
  ] });
871
- }, Wt = T(Ft), Le = "https://content.moneydesktop.com/storage/MD_Assets/md/cashflow", je = {
873
+ }, Wt = T(Ht), Le = "https://content.moneydesktop.com/storage/MD_Assets/md/cashflow", je = {
872
874
  CASHFLOW_ONBOARDING: `${Le}/cashflow-onboarding.png`,
873
875
  CASHFLOW_LOADING_ANIMATION: `${Le}/loading-animation.gif`
874
- }, Gt = () => {
875
- const { cashflow: a } = L();
876
- return /* @__PURE__ */ o(p.Fragment, { children: [
876
+ }, $t = () => {
877
+ const { cashflow: i } = L();
878
+ return /* @__PURE__ */ o(h.Fragment, { children: [
877
879
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("img", { alt: "Loading", src: je.CASHFLOW_LOADING_ANIMATION }) }),
878
- /* @__PURE__ */ e(de, { pb: 12, variant: "H1", children: a.loading_title }),
879
- /* @__PURE__ */ e(N, { children: a.loading_description })
880
+ /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: i.loading_title }),
881
+ /* @__PURE__ */ e(N, { children: i.loading_description })
880
882
  ] });
881
- }, Mt = T(Gt), $t = it`
883
+ }, Gt = T($t), Mt = at`
882
884
  from {
883
885
  transform: rotate(0deg);
884
886
  }
@@ -886,41 +888,41 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
886
888
  transform: rotate(360deg);
887
889
  }
888
890
  `, jt = () => {
889
- const { addRepeatingTransaction: a, repeatingTransactions: n } = U(), { cashflow: t, common: i } = L(), { user: f } = Ke(), { completeOnboarding: u } = me(), { isDirty: c } = V(), { isMobile: l } = he(), { isCopyLoaded: g, setDisplayedDate: r } = P(), { filter: h, setFilter: d, transactions: x } = He(), _ = se(), [S, A] = Y(!0), [w, k] = p.useState(bt.EveryMonth), [b, C] = p.useState(1), [I, ne] = p.useState(15), [oe, ae] = Y(!1), [H, fe] = Y(1), [O, ze] = Y([]), [ge, le] = Y(""), F = p.useMemo(
890
- () => x.find((y) => y.guid === ge),
891
+ const { addRepeatingTransaction: i, repeatingTransactions: n } = U(), { cashflow: t, common: a } = L(), { user: f } = Xe(), { completeOnboarding: u } = me(), { isDirty: c } = Y(), { isMobile: l } = pe(), { isCopyLoaded: g, setDisplayedDate: r } = P(), { filter: p, setFilter: d, transactions: x } = Oe(), _ = se(), [w, A] = Q(!0), [S, k] = h.useState(xt.EveryMonth), [b, y] = h.useState(1), [I, ne] = h.useState(15), [oe, ie] = Q(!1), [O, fe] = Q(1), [F, ze] = Q([]), [ge, le] = Q(""), H = h.useMemo(
892
+ () => x.find((C) => C.guid === ge),
891
893
  [ge, x]
892
894
  ), Be = !!n.filter(
893
- (y) => y.repeating_transaction_type === ve.Income
895
+ (C) => C.repeating_transaction_type === Ae.Income
894
896
  ).length, be = async () => {
895
897
  fe(2), r(
896
898
  // Beginning of the month, 90 days before today
897
- pt($e(W(), 90)),
899
+ ht(Me(W(), 90)),
898
900
  W()
899
- ), d({ ...h, custom: we }), fe(3);
901
+ ), d({ ...p, custom: Se }), fe(3);
900
902
  }, Ue = async () => {
901
- if (!(O.length < 1)) {
902
- ae(!0);
903
- for (let y = 0; y < O.length; y++) {
904
- const E = O[y], xe = Ae(w, De(E.date)), qe = {
903
+ if (!(F.length < 1)) {
904
+ ie(!0);
905
+ for (let C = 0; C < F.length; C++) {
906
+ const E = F[C], xe = ve(S, De(E.date)), qe = {
905
907
  account_guid: E.account_guid,
906
908
  amount: E.amount,
907
909
  created_by: 0,
908
910
  //user
909
911
  merchant_guid: E.merchant_guid,
910
912
  description: E.feed_description || E.description,
911
- predicted_occurs_on: ht(xe, { representation: "date" }),
913
+ predicted_occurs_on: pt(xe, { representation: "date" }),
912
914
  recurrence_day: xe.getDay(),
913
- recurrence_type: w,
914
- repeating_transaction_type: ve.Income,
915
+ recurrence_type: S,
916
+ repeating_transaction_type: Ae.Income,
915
917
  second_recurrence_day: I,
916
918
  transaction_type: E.transaction_type,
917
919
  user_guid: f.guid
918
920
  };
919
- await a(qe, E);
921
+ await i(qe, E);
920
922
  }
921
923
  await u();
922
924
  }
923
- }, Pe = !F && S || !F && O.length < 1;
925
+ }, Pe = !H && w || !H && F.length < 1;
924
926
  return g ? /* @__PURE__ */ o(
925
927
  D,
926
928
  {
@@ -935,7 +937,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
935
937
  py: 24
936
938
  },
937
939
  children: [
938
- H === 1 && /* @__PURE__ */ e(
940
+ O === 1 && /* @__PURE__ */ e(
939
941
  D,
940
942
  {
941
943
  sx: {
@@ -944,39 +946,39 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
944
946
  children: /* @__PURE__ */ e(Wt, { handleNextStep: be })
945
947
  }
946
948
  ),
947
- H === 2 && /* @__PURE__ */ e(
949
+ O === 2 && /* @__PURE__ */ e(
948
950
  D,
949
951
  {
950
952
  sx: {
951
953
  ...l ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
952
954
  },
953
- children: /* @__PURE__ */ e(Mt, {})
955
+ children: /* @__PURE__ */ e(Gt, {})
954
956
  }
955
957
  ),
956
- H === 3 && /* @__PURE__ */ o(
958
+ O === 3 && /* @__PURE__ */ o(
957
959
  D,
958
960
  {
959
961
  sx: {
960
962
  ...l ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
961
963
  },
962
964
  children: [
963
- /* @__PURE__ */ e(de, { pb: 12, variant: "H1", children: t.add_income_title }),
965
+ /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.add_income_title }),
964
966
  /* @__PURE__ */ e(N, { mb: 24, children: t.add_income_description }),
965
- O.length > 0 && !F && /* @__PURE__ */ o(B, { children: [
966
- /* @__PURE__ */ e(J, { children: O.map((y, E) => /* @__PURE__ */ o(p.Fragment, { children: [
967
- /* @__PURE__ */ e(ft, { bgcolor: "background.paper", children: xt(
968
- z(y.nextDate || y.date)
967
+ F.length > 0 && !H && /* @__PURE__ */ o(B, { children: [
968
+ /* @__PURE__ */ e(J, { children: F.map((C, E) => /* @__PURE__ */ o(h.Fragment, { children: [
969
+ /* @__PURE__ */ e(ft, { bgcolor: "background.paper", children: bt(
970
+ z(C.nextDate || C.date)
969
971
  ) }),
970
- /* @__PURE__ */ e(gt, { transaction: y }),
971
- E !== O.length - 1 && /* @__PURE__ */ e(v, {})
972
- ] }, y.guid)) }),
972
+ /* @__PURE__ */ e(gt, { transaction: C }),
973
+ E !== F.length - 1 && /* @__PURE__ */ e(v, {})
974
+ ] }, C.guid)) }),
973
975
  /* @__PURE__ */ o(s, { alignItems: "center", direction: "row", children: [
974
976
  /* @__PURE__ */ e(v, { sx: { flexGrow: 1 } }),
975
977
  /* @__PURE__ */ e(
976
- M,
978
+ G,
977
979
  {
978
980
  onClick: () => A(!0),
979
- startIcon: /* @__PURE__ */ e($, { name: "add", size: 20 }),
981
+ startIcon: /* @__PURE__ */ e(M, { name: "add", size: 20 }),
980
982
  children: t.add_income
981
983
  }
982
984
  )
@@ -986,71 +988,71 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
986
988
  ct,
987
989
  {
988
990
  bgcolor: "background.paper",
989
- onSearch: (y) => d({
990
- ...h,
991
- custom: (E) => y ? lt(E, y) : we(E)
991
+ onSearch: (C) => d({
992
+ ...p,
993
+ custom: (E) => C ? lt(E, C) : Se(E)
992
994
  }),
993
- onSelected: (y) => {
994
- le(y), A(!1);
995
+ onSelected: (C) => {
996
+ le(C), A(!1);
995
997
  }
996
998
  }
997
999
  ),
998
1000
  !Be && c && /* @__PURE__ */ e(N, { color: "error", mt: 16, children: t.confirm_error }),
999
- F && /* @__PURE__ */ o(B, { children: [
1001
+ H && /* @__PURE__ */ o(B, { children: [
1000
1002
  /* @__PURE__ */ e(
1001
1003
  dt,
1002
1004
  {
1003
1005
  bgcolor: "background.paper",
1004
1006
  firstDay: b,
1005
- frequency: w,
1006
- onFirstDayChange: C,
1007
+ frequency: S,
1008
+ onFirstDayChange: y,
1007
1009
  onFrequencyChange: k,
1008
1010
  onSecondDayChange: ne,
1009
1011
  secondDay: I,
1010
- transaction: F
1012
+ transaction: H
1011
1013
  }
1012
1014
  ),
1013
1015
  /* @__PURE__ */ o(s, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
1014
1016
  /* @__PURE__ */ e(
1015
- M,
1017
+ G,
1016
1018
  {
1017
- "aria-disabled": !F,
1019
+ "aria-disabled": !H,
1018
1020
  onClick: () => {
1019
- const y = [...O];
1020
- y.push({
1021
- ...F,
1022
- nextDate: Ae(w, De(F.date)),
1023
- frequency: w
1024
- }), ze(y), le("");
1021
+ const C = [...F];
1022
+ C.push({
1023
+ ...H,
1024
+ nextDate: ve(S, De(H.date)),
1025
+ frequency: S
1026
+ }), ze(C), le("");
1025
1027
  },
1026
1028
  variant: "contained",
1027
- children: i.confirm_button
1029
+ children: a.confirm_button
1028
1030
  }
1029
1031
  ),
1030
1032
  /* @__PURE__ */ e(
1031
- M,
1033
+ G,
1032
1034
  {
1033
1035
  onClick: () => {
1034
1036
  le(""), A(!0), be().finally();
1035
1037
  },
1036
1038
  variant: "outlined",
1037
- children: i.cancel_button
1039
+ children: a.cancel_button
1038
1040
  }
1039
1041
  )
1040
1042
  ] })
1041
1043
  ] }),
1042
- O.length > 0 && !F && /* @__PURE__ */ o(s, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
1044
+ F.length > 0 && !H && /* @__PURE__ */ o(s, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
1043
1045
  /* @__PURE__ */ e(
1044
- M,
1046
+ G,
1045
1047
  {
1046
- "aria-disabled": O.length < 1 || oe,
1048
+ "aria-disabled": F.length < 1 || oe,
1047
1049
  onClick: Ue,
1048
1050
  startIcon: oe ? /* @__PURE__ */ e(
1049
- $,
1051
+ M,
1050
1052
  {
1051
1053
  name: "progress_activity",
1052
1054
  sx: {
1053
- animation: `${$t} 2s linear infinite`
1055
+ animation: `${Mt} 2s linear infinite`
1054
1056
  }
1055
1057
  }
1056
1058
  ) : null,
@@ -1058,7 +1060,7 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
1058
1060
  children: t.confirm_income_button
1059
1061
  }
1060
1062
  ),
1061
- /* @__PURE__ */ e(M, { onClick: u, variant: "outlined", children: t.skip_button })
1063
+ /* @__PURE__ */ e(G, { onClick: u, variant: "outlined", children: t.skip_button })
1062
1064
  ] })
1063
1065
  ]
1064
1066
  }
@@ -1066,30 +1068,30 @@ const Dt = ({ recurrence: a }) => /* @__PURE__ */ o(B, { children: [
1066
1068
  ]
1067
1069
  }
1068
1070
  ) : /* @__PURE__ */ e(Z, {});
1069
- }, zn = T(jt);
1070
- class Bn {
1071
+ }, Bn = T(jt);
1072
+ class Un {
1071
1073
  fetchInstance;
1072
- constructor(n, t, i) {
1073
- this.fetchInstance = new Ct(n, t, void 0, i);
1074
+ constructor(n, t, a) {
1075
+ this.fetchInstance = new yt(n, t, void 0, a);
1074
1076
  }
1075
1077
  addCashflowEvent = async (n) => this.fetchInstance.post(j.CASHFLOW_EVENTS, { ...n }).then((t) => t);
1076
1078
  addCashflowSequence = async (n) => this.fetchInstance.post(j.CASHFLOW_SEQUENCES, { ...n }).then((t) => t.cashflow_sequence);
1077
1079
  getCashflowSequences = async () => this.fetchInstance.get(j.CASHFLOW_SEQUENCES).then((n) => n.cashflow_sequences);
1078
1080
  getCashflowEventsByDateRange = async (n, t) => this.fetchInstance.get(
1079
1081
  `${j.CASHFLOW_EVENTS}/from/${z(n)}/to/${z(t)}`
1080
- ).then((i) => i.cashflow_events);
1082
+ ).then((a) => a.cashflow_events);
1081
1083
  deleteCashflowSequence = async (n) => this.fetchInstance.delete(`${j.CASHFLOW_SEQUENCES}/${n}`).then((t) => t);
1082
1084
  getProjectedCashflowEvents = async (n, t) => this.fetchInstance.get(
1083
1085
  `${j.CASHFLOW_SEQUENCES}/projected_events/from/${z(
1084
1086
  n
1085
1087
  )}/to/${z(t)}`
1086
- ).then((i) => i.cashflow_events);
1088
+ ).then((a) => a.cashflow_events);
1087
1089
  updateCashflowSequence = async (n) => this.fetchInstance.put(`${j.CASHFLOW_SEQUENCES}/${n.guid}`, n).then((t) => t.cashflow_sequence);
1088
1090
  }
1089
1091
  export {
1090
- Bn as CashflowApi,
1091
- $n as CashflowMiniWidget,
1092
- zn as CashflowOnboarding,
1093
- qn as CashflowStore,
1094
- jn as CashflowWidget
1092
+ Un as CashflowApi,
1093
+ jn as CashflowMiniWidget,
1094
+ Bn as CashflowOnboarding,
1095
+ Vn as CashflowStore,
1096
+ zn as CashflowWidget
1095
1097
  };