@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,53 +1,53 @@
1
- import { jsx as e, jsxs as o, Fragment as D } from "react/jsx-runtime";
2
- import { fromUnixTime as oe } from "date-fns/fromUnixTime";
3
- import { observer as S } from "mobx-react-lite";
1
+ import { jsx as e, jsxs as r, Fragment as D } from "react/jsx-runtime";
2
+ import { fromUnixTime as re } from "date-fns/fromUnixTime";
3
+ import { observer as _ } from "mobx-react-lite";
4
4
  import ie from "@mui/material/Stack/Stack";
5
- import { useTheme as j } from "@mui/material/styles";
6
- import { L as ae } from "../LineChart-CnscUFUG.mjs";
7
- import { p as se, q as R, u as N, g as z, d as ce, b as Y } from "../hooks-CBl85iRr.mjs";
5
+ import { useTheme as z } from "@mui/material/styles";
6
+ import { L as ae } from "../LineChart-EAr5ox5U.mjs";
7
+ import { p as se, q as $, u as N, g as G, d as ce, b as Y } from "../hooks-BxkfR-Ff.mjs";
8
8
  import { u as q } from "../useScreenSize-B6JyS_Lj.mjs";
9
- import { f as le, D as me } from "../DateFormats-Cs-NbEZ7.mjs";
9
+ import { f as le, D as de } from "../DateFormats-BMpMrZpW.mjs";
10
10
  import u from "react";
11
- import de from "@mui/material/Button";
11
+ import me from "@mui/material/Button";
12
12
  import T from "@mui/material/Divider";
13
- import $ from "@mui/material/List";
13
+ import j from "@mui/material/List";
14
14
  import k from "@mui/material/ListSubheader";
15
- import d from "@mui/material/Stack";
16
- import { Text as m, Icon as B, P as Z } from "@mxenabled/mxui";
15
+ import m from "@mui/material/Stack";
16
+ import { Text as d, Icon as R, P as Z } from "@mxenabled/mxui";
17
17
  import A from "@mui/material/ListItem";
18
18
  import J from "@mui/material/ListItemButton";
19
- import _ from "@mui/material/ListItemText";
20
- import { i as Q } from "../DateUtil-CVXVMbjf.mjs";
21
- import { C as x } from "../CurrencyText-C-85TnUF.mjs";
19
+ import b from "@mui/material/ListItemText";
20
+ import { i as Q } from "../DateUtil-wcYTmDRD.mjs";
21
+ import { C as x } from "../CurrencyText-CA-E5N_y.mjs";
22
22
  import P from "@mui/material/styles/useTheme";
23
23
  import { Stack as he } from "@mui/material";
24
24
  import ee from "@mui/material/Box";
25
25
  import pe from "@mui/material/Collapse";
26
- import X from "@mui/material/ListItemIcon";
27
- import { g as F } from "../NetWorthStore-B6ziBtaH.mjs";
28
- import { N as Wt } from "../NetWorthStore-B6ziBtaH.mjs";
29
- import { D as K } from "../Drawer-Bet2ZPJo.mjs";
30
- import { A as v } from "../Analytics-i5h6BxR1.mjs";
26
+ import F from "@mui/material/ListItemIcon";
27
+ import { g as K } from "../NetWorthStore-BqZ44-4M.mjs";
28
+ import { N as St } from "../NetWorthStore-BqZ44-4M.mjs";
29
+ import { D as U } from "../Drawer-Bbe4AMB1.mjs";
30
+ import { A as W } from "../Analytics-BYItVAe-.mjs";
31
31
  import { format as ue, fromUnixTime as fe, differenceInMonths as xe } from "date-fns";
32
32
  import { Icon as te } from "@mxenabled/mx-icons";
33
- import { f as U } from "../NumberFormatting-DjTD0t3W.mjs";
34
- import { L as ne } from "../Loader-icSc5MlE.mjs";
35
- import { M as ge } from "../MicroWidgetContainer-CBRk9KG-.mjs";
36
- import { u as re } from "../useWidgetLoadTimer-DmNCCLa-.mjs";
37
- import { C as ye } from "../ConnectionsDrawer-DMBBzlIJ.mjs";
38
- import { W as Ce } from "../WidgetContainer-DFwVgavi.mjs";
39
- import { E as _e } from "../EmptyState-DHAkGsjk.mjs";
40
- const Se = () => {
41
- const { isMobile: t } = q(), { availableWidth: a } = se(), i = j(), {
33
+ import { f as V } from "../NumberFormatting-QCaNwbjv.mjs";
34
+ import { u as ne } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
35
+ import { L as oe } from "../Loader-D3rjKx72.mjs";
36
+ import { M as ge } from "../MicroWidgetContainer-B_EnfvCq.mjs";
37
+ import { C as ye } from "../ConnectionsDrawer-IA7vnv1J.mjs";
38
+ import { W as Ce } from "../WidgetContainer-B7xDq2bM.mjs";
39
+ import { E as be } from "../EmptyState-DHAkGsjk.mjs";
40
+ const _e = () => {
41
+ const { isMobile: t } = q(), { availableWidth: a } = se(), i = z(), {
42
42
  hoveredData: n,
43
43
  netWorthChartData: s,
44
- selectedData: r,
44
+ selectedData: o,
45
45
  setHoveredIndex: c,
46
46
  setSelectedIndex: l
47
- } = R(), f = a - 320, g = s.map((h) => ({
48
- x: le(oe(h.x), me.MONTH_SHORT),
47
+ } = $(), f = a - 320, g = s.map((h) => ({
48
+ x: le(re(h.x), de.MONTH_SHORT),
49
49
  y: h.y
50
- })), w = r ? { index: s.findIndex((h) => h.x === r.x) } : void 0, y = n ? { index: s.findIndex((h) => h.x === n.x) } : void 0, b = (h) => ({
50
+ })), w = o ? { index: s.findIndex((h) => h.x === o.x) } : void 0, y = n ? { index: s.findIndex((h) => h.x === n.x) } : void 0, v = (h) => ({
51
51
  fill: h === w?.index ? i.palette.success.main : "",
52
52
  filter: h === y?.index ? `drop-shadow(0px 0px 10px ${i.palette.success.main})` : "none",
53
53
  stroke: i.palette.success.main
@@ -71,20 +71,20 @@ const Se = () => {
71
71
  labels: [],
72
72
  margin: { right: 20, left: 38 },
73
73
  markHandlers: { onMarkClick: I, onMouseEnter: L, onMouseLeave: E },
74
- markStyles: b,
74
+ markStyles: v,
75
75
  showArea: !0,
76
76
  useCustomMark: !0,
77
77
  valueFormatterString: "0.0[0]a",
78
78
  width: t ? a - 48 : f
79
79
  }
80
80
  ) });
81
- }, we = S(Se), be = ({
81
+ }, we = _(_e), ve = ({
82
82
  item: t,
83
83
  getStyles: a,
84
84
  isHovered: i = !1,
85
85
  isSelected: n = !1,
86
86
  onItemClick: s,
87
- onMouseEnter: r,
87
+ onMouseEnter: o,
88
88
  onMouseLeave: c
89
89
  }) => {
90
90
  const [l, f] = u.useState({
@@ -92,7 +92,7 @@ const Se = () => {
92
92
  });
93
93
  return u.useEffect(() => {
94
94
  f(a(t));
95
- }, [i, n]), /* @__PURE__ */ o(u.Fragment, { children: [
95
+ }, [i, n]), /* @__PURE__ */ r(u.Fragment, { children: [
96
96
  /* @__PURE__ */ e(
97
97
  A,
98
98
  {
@@ -105,15 +105,15 @@ const Se = () => {
105
105
  J,
106
106
  {
107
107
  onClick: (g) => s?.(g, t.x),
108
- onMouseEnter: () => r(t.x),
108
+ onMouseEnter: () => o(t.x),
109
109
  onMouseLeave: () => c(),
110
110
  sx: { minHeight: 20, padding: 12 },
111
111
  children: /* @__PURE__ */ e(
112
- _,
112
+ b,
113
113
  {
114
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
115
- /* @__PURE__ */ e(m, { variant: "Body", children: Q(t.x) }),
116
- /* @__PURE__ */ e(x, { amount: t.y, sx: { color: "inherit" }, variant: "Body" })
114
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
115
+ /* @__PURE__ */ e(d, { variant: "body1", children: Q(t.x) }),
116
+ /* @__PURE__ */ e(x, { amount: t.y, sx: { color: "inherit" }, variant: "body1" })
117
117
  ] })
118
118
  }
119
119
  )
@@ -123,64 +123,64 @@ const Se = () => {
123
123
  ),
124
124
  /* @__PURE__ */ e(T, {})
125
125
  ] }, t.x);
126
- }, ve = S(be), We = ({
126
+ }, We = _(ve), Se = ({
127
127
  currencyLabel: t,
128
- currencyVariant: a = "Small",
128
+ currencyVariant: a = "body2",
129
129
  iconSize: i,
130
130
  netWorth: n,
131
131
  theme: s
132
132
  }) => {
133
- let r = s.palette.secondary.main, c = s.palette.secondary.main, l = "trending_flat";
134
- return n.change < 0 ? l = "trending_down" : n.change > 0 && (r = s.palette.success.main, c = s.palette.success.main, l = "trending_up"), /* @__PURE__ */ o(he, { alignItems: "center", direction: "row", spacing: 4, children: [
133
+ let o = s.palette.secondary.main, c = s.palette.secondary.main, l = "trending_flat";
134
+ return n.change < 0 ? l = "trending_down" : n.change > 0 && (o = s.palette.success.main, c = s.palette.success.main, l = "trending_up"), /* @__PURE__ */ r(he, { alignItems: "center", direction: "row", spacing: 4, children: [
135
135
  /* @__PURE__ */ e(
136
- B,
136
+ R,
137
137
  {
138
138
  name: l,
139
139
  size: i,
140
140
  sx: {
141
- color: r
141
+ color: o
142
142
  }
143
143
  }
144
144
  ),
145
145
  /* @__PURE__ */ e(x, { amount: n.change, color: c, variant: a }),
146
- /* @__PURE__ */ e(m, { variant: "Small", children: t })
146
+ /* @__PURE__ */ e(d, { variant: "body2", children: t })
147
147
  ] });
148
- }, G = S(We), Te = ({
148
+ }, B = _(Se), Te = ({
149
149
  netWorth: t,
150
150
  gains: a,
151
151
  losses: i,
152
152
  totalGains: n,
153
153
  totalLosses: s
154
154
  }) => {
155
- const { net_worth: r } = N(), c = P();
156
- return /* @__PURE__ */ o(D, { children: [
157
- /* @__PURE__ */ o(d, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
158
- /* @__PURE__ */ e(m, { variant: "Small", children: Q(t?.x) }),
159
- /* @__PURE__ */ e(m, { variant: "Body", children: r.total_change }),
160
- t && /* @__PURE__ */ e(G, { currencyVariant: "H1", iconSize: 32, netWorth: t, theme: c })
155
+ const { net_worth: o } = N(), c = P();
156
+ return /* @__PURE__ */ r(D, { children: [
157
+ /* @__PURE__ */ r(m, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
158
+ /* @__PURE__ */ e(d, { variant: "body2", children: Q(t?.x) }),
159
+ /* @__PURE__ */ e(d, { variant: "body1", children: o.total_change }),
160
+ t && /* @__PURE__ */ e(B, { currencyVariant: "h1", iconSize: 32, netWorth: t, theme: c })
161
161
  ] }),
162
- /* @__PURE__ */ o($, { children: [
162
+ /* @__PURE__ */ r(j, { children: [
163
163
  /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
164
- _,
164
+ b,
165
165
  {
166
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", children: [
167
- /* @__PURE__ */ e(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.gains }),
168
- /* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
166
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
167
+ /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.gains }),
168
+ /* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
169
169
  ] })
170
170
  }
171
171
  ) }),
172
- a?.map((l) => /* @__PURE__ */ o(u.Fragment, { children: [
172
+ a?.map((l) => /* @__PURE__ */ r(u.Fragment, { children: [
173
173
  /* @__PURE__ */ e(A, { sx: { backgroundColor: c.palette.background.paper, py: 14 }, children: /* @__PURE__ */ e(
174
- _,
174
+ b,
175
175
  {
176
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", children: [
177
- /* @__PURE__ */ e(m, { sx: { mr: 10 }, variant: "Body", children: l.accountName }),
176
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
177
+ /* @__PURE__ */ e(d, { sx: { mr: 10 }, variant: "body1", children: l.accountName }),
178
178
  /* @__PURE__ */ e(
179
179
  x,
180
180
  {
181
181
  amount: l.gain,
182
182
  sx: { color: c.palette.success.main, flexShrink: 0, fontWeight: 700 },
183
- variant: "Body"
183
+ variant: "body1"
184
184
  }
185
185
  )
186
186
  ] }),
@@ -190,30 +190,30 @@ const Se = () => {
190
190
  /* @__PURE__ */ e(T, {})
191
191
  ] }, l.accountName)),
192
192
  /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
193
- _,
193
+ b,
194
194
  {
195
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", children: [
196
- /* @__PURE__ */ e(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.losses }),
197
- /* @__PURE__ */ e(x, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
195
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
196
+ /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.losses }),
197
+ /* @__PURE__ */ e(x, { amount: s, sx: { fontWeight: 400 }, variant: "caption" })
198
198
  ] })
199
199
  }
200
200
  ) }),
201
- i?.map((l) => /* @__PURE__ */ o(D, { children: [
201
+ i?.map((l) => /* @__PURE__ */ r(D, { children: [
202
202
  /* @__PURE__ */ e(
203
203
  A,
204
204
  {
205
205
  sx: { backgroundColor: c.palette.background.paper, py: 14 },
206
206
  children: /* @__PURE__ */ e(
207
- _,
207
+ b,
208
208
  {
209
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", children: [
209
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
210
210
  /* @__PURE__ */ e(
211
- m,
211
+ d,
212
212
  {
213
213
  sx: {
214
214
  mr: 10
215
215
  },
216
- variant: "Body",
216
+ variant: "body1",
217
217
  children: l.accountName
218
218
  }
219
219
  ),
@@ -222,7 +222,7 @@ const Se = () => {
222
222
  {
223
223
  amount: l.loss,
224
224
  sx: { flexShrink: 0, fontWeight: 700 },
225
- variant: "Body"
225
+ variant: "body1"
226
226
  }
227
227
  )
228
228
  ] }),
@@ -236,43 +236,43 @@ const Se = () => {
236
236
  ] }))
237
237
  ] })
238
238
  ] });
239
- }, Ie = S(Te), Le = ({ accounts: t, name: a, icon: i }) => {
239
+ }, Ie = _(Te), Le = ({ accounts: t, name: a, icon: i }) => {
240
240
  const [n, s] = u.useState(!1);
241
- return /* @__PURE__ */ o(D, { children: [
242
- /* @__PURE__ */ e(A, { sx: (r) => ({ backgroundColor: r.palette.background.paper }), children: /* @__PURE__ */ o(J, { onClick: () => s(!n), children: [
243
- i && /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(B, { name: i, size: 24, sx: { mr: 12 } }) }),
241
+ return /* @__PURE__ */ r(D, { children: [
242
+ /* @__PURE__ */ e(A, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(J, { onClick: () => s(!n), children: [
243
+ i && /* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(R, { name: i, size: 24, sx: { mr: 12 } }) }),
244
244
  /* @__PURE__ */ e(
245
- _,
245
+ b,
246
246
  {
247
- primary: /* @__PURE__ */ e(m, { sx: { fontWeight: 700 }, variant: "Body", children: a })
247
+ primary: /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "body1", children: a })
248
248
  }
249
249
  ),
250
- /* @__PURE__ */ e(X, { children: n ? /* @__PURE__ */ e(B, { name: "expand_less", size: 24 }) : /* @__PURE__ */ e(B, { name: "expand_more", size: 24 }) })
250
+ /* @__PURE__ */ e(F, { children: n ? /* @__PURE__ */ e(R, { name: "expand_less", size: 24 }) : /* @__PURE__ */ e(R, { name: "expand_more", size: 24 }) })
251
251
  ] }) }),
252
252
  /* @__PURE__ */ e(T, {}),
253
- /* @__PURE__ */ e(pe, { in: n, timeout: "auto", unmountOnExit: !0, children: t.map((r, c) => /* @__PURE__ */ o($, { children: [
253
+ /* @__PURE__ */ e(pe, { in: n, timeout: "auto", unmountOnExit: !0, children: t.map((o, c) => /* @__PURE__ */ r(j, { children: [
254
254
  /* @__PURE__ */ e(A, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ e(
255
- _,
255
+ b,
256
256
  {
257
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
257
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
258
258
  /* @__PURE__ */ e(
259
- m,
259
+ d,
260
260
  {
261
261
  sx: {
262
262
  marginRight: 10
263
263
  },
264
- variant: "Body",
265
- children: r.accountName
264
+ variant: "body1",
265
+ children: o.accountName
266
266
  }
267
267
  ),
268
268
  /* @__PURE__ */ e(
269
269
  x,
270
270
  {
271
- amount: r.balance,
271
+ amount: o.balance,
272
272
  sx: {
273
273
  flexShrink: 0
274
274
  },
275
- variant: "Small"
275
+ variant: "body2"
276
276
  }
277
277
  )
278
278
  ] }),
@@ -280,18 +280,18 @@ const Se = () => {
280
280
  }
281
281
  ) }),
282
282
  c < t.length - 1 ? /* @__PURE__ */ e(T, { variant: "inset" }) : /* @__PURE__ */ e(T, {})
283
- ] }, r.accountName)) })
283
+ ] }, o.accountName)) })
284
284
  ] });
285
- }, V = ({ groupedAccounts: t }) => /* @__PURE__ */ e(D, { children: t.map(({ accounts: a, icon: i, name: n }) => /* @__PURE__ */ e(Le, { accounts: a, icon: i, name: n }, n)) }), De = ({
285
+ }, X = ({ groupedAccounts: t }) => /* @__PURE__ */ e(D, { children: t.map(({ accounts: a, icon: i, name: n }) => /* @__PURE__ */ e(Le, { accounts: a, icon: i, name: n }, n)) }), De = ({
286
286
  netWorth: t,
287
287
  assets: a,
288
288
  liabilities: i,
289
289
  totalAssets: n,
290
290
  totalLiabilities: s
291
291
  }) => {
292
- const { net_worth: r } = N(), c = P();
293
- return /* @__PURE__ */ o(D, { children: [
294
- /* @__PURE__ */ o(
292
+ const { net_worth: o } = N(), c = P();
293
+ return /* @__PURE__ */ r(D, { children: [
294
+ /* @__PURE__ */ r(
295
295
  ee,
296
296
  {
297
297
  sx: {
@@ -303,12 +303,12 @@ const Se = () => {
303
303
  marginBottom: 8
304
304
  },
305
305
  children: [
306
- /* @__PURE__ */ e(m, { variant: "Body", children: r.current_net_worth }),
307
- /* @__PURE__ */ e(x, { amount: t?.y ?? 0, variant: "H1" }),
306
+ /* @__PURE__ */ e(d, { variant: "body1", children: o.current_net_worth }),
307
+ /* @__PURE__ */ e(x, { amount: t?.y ?? 0, variant: "h1" }),
308
308
  t && /* @__PURE__ */ e(
309
- G,
309
+ B,
310
310
  {
311
- currencyLabel: r.this_month,
311
+ currencyLabel: o.this_month,
312
312
  iconSize: 20,
313
313
  netWorth: t,
314
314
  theme: c
@@ -317,74 +317,81 @@ const Se = () => {
317
317
  ]
318
318
  }
319
319
  ),
320
- /* @__PURE__ */ o($, { children: [
320
+ /* @__PURE__ */ r(j, { children: [
321
321
  /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
322
- _,
322
+ b,
323
323
  {
324
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", children: [
325
- /* @__PURE__ */ e(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.assets }),
326
- /* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
324
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
325
+ /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.assets }),
326
+ /* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
327
327
  ] })
328
328
  }
329
329
  ) }),
330
- /* @__PURE__ */ e(V, { groupedAccounts: F(a) }),
330
+ /* @__PURE__ */ e(X, { groupedAccounts: K(a) }),
331
331
  /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
332
- _,
332
+ b,
333
333
  {
334
- primary: /* @__PURE__ */ o(d, { direction: "row", justifyContent: "space-between", children: [
335
- /* @__PURE__ */ e(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.liabilities }),
336
- /* @__PURE__ */ e(x, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
334
+ primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
335
+ /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.liabilities }),
336
+ /* @__PURE__ */ e(
337
+ x,
338
+ {
339
+ amount: s,
340
+ sx: { fontWeight: 400 },
341
+ variant: "caption"
342
+ }
343
+ )
337
344
  ] })
338
345
  }
339
346
  ) }),
340
- /* @__PURE__ */ e(V, { groupedAccounts: F(i) })
347
+ /* @__PURE__ */ e(X, { groupedAccounts: K(i) })
341
348
  ] })
342
349
  ] });
343
- }, Ne = S(De), Ee = () => {
344
- const { net_worth: t } = N(), a = j(), { onEvent: i } = z(), {
350
+ }, Ne = _(De), Ee = () => {
351
+ const { net_worth: t } = N(), a = z(), { onEvent: i } = G(), {
345
352
  assetsLiabilities: n,
346
353
  gainsLosses: s,
347
- hoveredData: r,
354
+ hoveredData: o,
348
355
  netWorthChartData: c,
349
356
  selectedData: l,
350
357
  setHoveredIndex: f,
351
358
  setSelectedIndex: g
352
- } = R(), [w, y] = u.useState(!1), [b, I] = u.useState(!1), L = (p) => {
353
- const C = p.x === r?.x, O = p.x === l?.x, W = {
359
+ } = $(), [w, y] = u.useState(!1), [v, I] = u.useState(!1), L = (p) => {
360
+ const C = p.x === o?.x, H = p.x === l?.x, S = {
354
361
  backgroundColor: "inherit",
355
362
  borderBottom: "inherit",
356
363
  color: "inherit"
357
364
  };
358
- return C && (W.color = O ? "inherit" : W.color, W.backgroundColor = a.palette.action.hover), O && (W.backgroundColor = a.palette.primary.main, W.borderBottom = a.palette.border.light, W.color = a.palette.common.white), W;
365
+ return C && (S.color = H ? "inherit" : S.color, S.backgroundColor = a.palette.action.hover), H && (S.backgroundColor = a.palette.primary.main, S.borderBottom = a.palette.neutral.light, S.color = a.palette.common.white), S;
359
366
  }, E = (p, C) => {
360
367
  g(C), p.currentTarget instanceof HTMLDivElement && y(!0);
361
368
  }, h = () => {
362
- I(!0), i(v.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES);
369
+ I(!0), i(W.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES);
363
370
  }, M = (p) => {
364
371
  f(p);
365
- }, H = () => {
372
+ }, O = () => {
366
373
  f(-1);
367
374
  };
368
- return /* @__PURE__ */ o(d, { direction: "column", sx: { width: 320 }, children: [
369
- /* @__PURE__ */ o($, { children: [
370
- /* @__PURE__ */ e(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ e(m, { bold: !0, component: "h2", variant: "Body", children: t.monthly_totals }) }),
375
+ return /* @__PURE__ */ r(m, { direction: "column", sx: { width: 320 }, children: [
376
+ /* @__PURE__ */ r(j, { children: [
377
+ /* @__PURE__ */ e(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ e(d, { bold: !0, component: "h2", variant: "body1", children: t.monthly_totals }) }),
371
378
  /* @__PURE__ */ e(T, {}),
372
379
  c.map((p, C) => /* @__PURE__ */ e(
373
- ve,
380
+ We,
374
381
  {
375
382
  getStyles: L,
376
- isHovered: p.x === r?.x,
383
+ isHovered: p.x === o?.x,
377
384
  isSelected: p.x === l?.x,
378
385
  item: p,
379
- onItemClick: (O) => E(O, C),
386
+ onItemClick: (H) => E(H, C),
380
387
  onMouseEnter: () => M(C),
381
- onMouseLeave: () => H()
388
+ onMouseLeave: () => O()
382
389
  },
383
390
  p.x
384
391
  ))
385
392
  ] }),
386
393
  /* @__PURE__ */ e(
387
- de,
394
+ me,
388
395
  {
389
396
  onClick: () => h(),
390
397
  sx: { alignSelf: "center", marginTop: 16, width: "fit-content" },
@@ -393,7 +400,7 @@ const Se = () => {
393
400
  }
394
401
  ),
395
402
  /* @__PURE__ */ e(
396
- K,
403
+ U,
397
404
  {
398
405
  ariaLabelClose: "Close",
399
406
  isOpen: w,
@@ -405,10 +412,10 @@ const Se = () => {
405
412
  }
406
413
  ),
407
414
  /* @__PURE__ */ e(
408
- K,
415
+ U,
409
416
  {
410
417
  ariaLabelClose: "Close",
411
- isOpen: b,
418
+ isOpen: v,
412
419
  onClose: () => I(!1),
413
420
  shouldShowHeaderBorders: !1,
414
421
  shouldShowHeaderShadow: !0,
@@ -417,46 +424,46 @@ const Se = () => {
417
424
  }
418
425
  )
419
426
  ] });
420
- }, Me = S(Ee), ke = ({ hoveredData: t, selectedData: a }) => {
421
- const { net_worth: i } = N(), n = j(), s = t || a, r = ue(fe(s.x), "MMMM");
422
- return /* @__PURE__ */ o(d, { alignItems: "center", direction: "column", m: 24, children: [
423
- /* @__PURE__ */ e(m, { color: n.palette.secondary.main, variant: "Small", children: `${r} ${i.net_worth}` }),
424
- /* @__PURE__ */ e(x, { amount: s.y, variant: "H2" }),
425
- /* @__PURE__ */ e(G, { currencyLabel: i.this_month, netWorth: s, theme: n })
427
+ }, Me = _(Ee), ke = ({ hoveredData: t, selectedData: a }) => {
428
+ const { net_worth: i } = N(), n = z(), s = t || a, o = ue(fe(s.x), "MMMM");
429
+ return /* @__PURE__ */ r(m, { alignItems: "center", direction: "column", m: 24, children: [
430
+ /* @__PURE__ */ e(d, { color: n.palette.secondary.main, variant: "body2", children: `${o} ${i.net_worth}` }),
431
+ /* @__PURE__ */ e(x, { amount: s.y, variant: "h2" }),
432
+ /* @__PURE__ */ e(B, { currencyLabel: i.this_month, netWorth: s, theme: n })
426
433
  ] });
427
- }, Ae = S(ke), He = ({ amount: t, copy: a, trendValue: i }) => {
428
- const n = i > 0, r = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
429
- return /* @__PURE__ */ o(d, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
430
- /* @__PURE__ */ e(Z, { variant: "H1", children: U(t, "0,0") }),
431
- t !== 0 && /* @__PURE__ */ o(d, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
432
- /* @__PURE__ */ o(d, { sx: { flexDirection: "row", gap: 8 }, children: [
433
- /* @__PURE__ */ e(te, { name: r, size: 20 }),
434
- /* @__PURE__ */ e(m, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: U(i, "0,0.00") })
434
+ }, Ae = _(ke), Oe = ({ amount: t, copy: a, trendValue: i }) => {
435
+ const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
436
+ return /* @__PURE__ */ r(m, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
437
+ /* @__PURE__ */ e(Z, { variant: "h1", children: V(t, "0,0") }),
438
+ t !== 0 && /* @__PURE__ */ r(m, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
439
+ /* @__PURE__ */ r(m, { sx: { flexDirection: "row", gap: 8 }, children: [
440
+ /* @__PURE__ */ e(te, { name: o, size: 20 }),
441
+ /* @__PURE__ */ e(d, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: V(i, "0,0.00") })
435
442
  ] }),
436
- /* @__PURE__ */ e(m, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: a.this_month })
443
+ /* @__PURE__ */ e(d, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: a.this_month })
437
444
  ] })
438
445
  ] });
439
- }, Oe = ({ copy: t }) => /* @__PURE__ */ o(d, { sx: { flexDirection: "row", gap: 12 }, children: [
446
+ }, He = ({ copy: t }) => /* @__PURE__ */ r(m, { sx: { flexDirection: "row", gap: 12 }, children: [
440
447
  /* @__PURE__ */ e(te, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
441
- /* @__PURE__ */ o(d, { children: [
442
- /* @__PURE__ */ e(m, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: t.empty_widget_header }),
448
+ /* @__PURE__ */ r(m, { children: [
449
+ /* @__PURE__ */ e(d, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: t.empty_widget_header }),
443
450
  /* @__PURE__ */ e(Z, { sx: { color: "text.secondary" }, variant: "body2", children: t.zero_state_description })
444
451
  ] })
445
- ] }), St = S(({ onCTAClick: t }) => {
446
- const { visibleAccounts: a } = ce(), { onEvent: i } = z(), { net_worth: n, common: s } = N(), { isInitialized: r } = Y(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: f, selectedData: g } = R();
452
+ ] }), _t = _(({ onCTAClick: t }) => {
453
+ const { visibleAccounts: a } = ce(), { onEvent: i } = G(), { net_worth: n, common: s } = N(), { isInitialized: o } = Y(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: f, selectedData: g } = $();
447
454
  if (u.useEffect(() => {
448
455
  c || l().finally();
449
- }, []), re({
456
+ }, []), ne({
450
457
  widgetName: "NetWorthMicroWidget",
451
458
  isLoaded: c
452
459
  }), u.useEffect(() => {
453
- c && i(v.NET_WORTH_LOAD_WIDGET, {
460
+ c && i(W.NET_WORTH_LOAD_WIDGET, {
454
461
  state: a?.length ? "default" : "zeroState"
455
462
  });
456
- }, [c]), !r || !c) return /* @__PURE__ */ e(ne, { height: 100 });
463
+ }, [c]), !o || !c) return /* @__PURE__ */ e(oe, { height: 100 });
457
464
  const w = () => {
458
465
  i(
459
- a.length ? v.NET_WORTH_CLICK_VIEW_DETAILS : v.NET_WORTH_CLICK_GET_STARTED
466
+ a.length ? W.NET_WORTH_CLICK_VIEW_DETAILS : W.NET_WORTH_CLICK_GET_STARTED
460
467
  ), t();
461
468
  };
462
469
  return /* @__PURE__ */ e(
@@ -467,47 +474,47 @@ const Se = () => {
467
474
  onCTAClick: w,
468
475
  title: n.net_worth,
469
476
  children: f.accounts.length ? /* @__PURE__ */ e(
470
- He,
477
+ Oe,
471
478
  {
472
479
  amount: g?.y,
473
480
  copy: n,
474
481
  trendValue: g?.change
475
482
  }
476
- ) : /* @__PURE__ */ e(Oe, { copy: n })
483
+ ) : /* @__PURE__ */ e(He, { copy: n })
477
484
  }
478
485
  );
479
- }), wt = S(({ onBackClick: t }) => {
486
+ }), wt = _(({ onBackClick: t }) => {
480
487
  const { isInitialized: a } = Y(), { accounts: i, net_worth: n } = N(), {
481
488
  hoveredData: s,
482
- isNetWorthDataLoaded: r,
489
+ isNetWorthDataLoaded: o,
483
490
  loadNetWorthData: c,
484
491
  netWorthChartData: l,
485
492
  selectedData: f,
486
493
  setTimeframe: g,
487
494
  timeframe: w
488
- } = R(), { isMobile: y } = q(), { onEvent: b } = z(), [I, L] = u.useState(!1);
489
- re({
495
+ } = $(), { isMobile: y } = q(), { onEvent: v } = G(), [I, L] = u.useState(!1);
496
+ ne({
490
497
  widgetName: "NetWorthWidget",
491
- isLoaded: r
498
+ isLoaded: o
492
499
  }), u.useEffect(() => {
493
- r || c().finally(), b(v.NET_WORTH_VIEW);
500
+ o || c().finally(), v(W.NET_WORTH_VIEW);
494
501
  }, []), u.useEffect(() => {
495
- b(v.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: w + "M" });
502
+ v(W.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: w + "M" });
496
503
  }, [w]);
497
- const E = async (H) => {
498
- const p = H[0], C = H[1];
504
+ const E = async (O) => {
505
+ const p = O[0], C = O[1];
499
506
  p && C && g(xe(C, p));
500
507
  }, h = () => {
501
- L(!0), b(v.ACCOUNTS_CLICK_CONNECT);
508
+ L(!0), v(W.ACCOUNTS_CLICK_CONNECT);
502
509
  };
503
- if (!a || !r) return /* @__PURE__ */ e(ne, {});
510
+ if (!a || !o) return /* @__PURE__ */ e(oe, {});
504
511
  const M = l.length === 0;
505
- return /* @__PURE__ */ o(
512
+ return /* @__PURE__ */ r(
506
513
  Ce,
507
514
  {
508
515
  calendarActions: { onRangeChanged: E },
509
516
  dateRangeVariant: y ? "timeframetabs" : "timeframebuttons",
510
- onAccountsFilterClick: () => b(v.NET_WORTH_WIDGET_CLICK_FILTER),
517
+ onAccountsFilterClick: () => v(W.NET_WORTH_WIDGET_CLICK_FILTER),
511
518
  onBackClick: t,
512
519
  showDividerAboveDateSelector: !1,
513
520
  sx: {
@@ -526,7 +533,7 @@ const Se = () => {
526
533
  title: n.net_worth,
527
534
  children: [
528
535
  M ? /* @__PURE__ */ e(ee, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ e(
529
- _e,
536
+ be,
530
537
  {
531
538
  header: n.empty_widget_header,
532
539
  icon: "elevation",
@@ -540,10 +547,10 @@ const Se = () => {
540
547
  }
541
548
  }
542
549
  }
543
- ) }) : /* @__PURE__ */ o(D, { children: [
550
+ ) }) : /* @__PURE__ */ r(D, { children: [
544
551
  f && /* @__PURE__ */ e(Ae, { hoveredData: s, selectedData: f }),
545
- /* @__PURE__ */ o(
546
- d,
552
+ /* @__PURE__ */ r(
553
+ m,
547
554
  {
548
555
  alignItems: y ? "center" : "flex-start",
549
556
  direction: y ? "column" : "row",
@@ -570,8 +577,8 @@ const Se = () => {
570
577
  export {
571
578
  we as NetWorthChart,
572
579
  Me as NetWorthList,
573
- St as NetWorthMicroWidget,
574
- Wt as NetWorthStore,
580
+ _t as NetWorthMicroWidget,
581
+ St as NetWorthStore,
575
582
  Ae as NetWorthSummary,
576
583
  wt as NetWorthWidget
577
584
  };