@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,44 +1,43 @@
1
- import { jsx as e, jsxs as C, Fragment as x } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as C, Fragment as R } from "react/jsx-runtime";
2
2
  import h from "react";
3
- import { observer as V } from "mobx-react-lite";
3
+ import { observer as A } from "mobx-react-lite";
4
4
  import e1 from "@mui/material/Stack";
5
- import { Text as g, Icon as F, THEMES as i1 } from "@mxenabled/mxui";
5
+ import { Text as g, Icon as N, THEMES as i1 } from "@mxenabled/mxui";
6
6
  import { S as h1 } from "../SkeletonLoader-BaNboJjD.mjs";
7
7
  import c1 from "@mui/material/Box";
8
- import b from "@mui/material/Divider";
9
- import E from "@mui/material/List";
8
+ import W from "@mui/material/Divider";
9
+ import O from "@mui/material/List";
10
10
  import B from "@mui/material/ListSubheader";
11
- import W from "@mui/system/Stack";
12
- import { useTheme as M1, alpha as y1 } from "@mui/material/styles";
13
- import { u as R, A as x1 } from "../AccountDetailsHeader-Bn2E0Qjk.mjs";
14
- import { L as w1 } from "../LineChart-CnscUFUG.mjs";
15
- import { g as b1, a as S1, b as R1 } from "../SpendingData-CI_C9xln.mjs";
16
- import { m as T1, u as y, d as k, g as Z, h as m1, b as G, a as E1 } from "../hooks-CBl85iRr.mjs";
17
- import { A as N, g as L, N as p1 } from "../Account-CMjOp7S2.mjs";
18
- import { I as _1, P as L1, S as f1 } from "../Account-BIKn4XEZ.mjs";
19
- import { a as D1, b as k1 } from "../AccountFields-DuFtmuud.mjs";
20
- import { g as o2 } from "../AccountFields-DuFtmuud.mjs";
21
- import { A as U } from "../AccountListItem-k63LpVBs.mjs";
11
+ import P from "@mui/system/Stack";
12
+ import { useTheme as V1, alpha as M1 } from "@mui/material/styles";
13
+ import { u as w, A as y1 } from "../AccountDetailsHeader-D9gbTbUt.mjs";
14
+ import { L as x1 } from "../LineChart-EAr5ox5U.mjs";
15
+ import { g as w1, a as R1, b as S1 } from "../SpendingData-Bz1bCWAs.mjs";
16
+ import { l as T1, u as M, d as E, g as D, h as m1, b as G, a as E1 } from "../hooks-BxkfR-Ff.mjs";
17
+ import { A as I, g as L, N as p1 } from "../Account-BiB1F8lL.mjs";
18
+ import { I as _1, P as L1, S as f1 } from "../Account-DuOz1a27.mjs";
19
+ import { a as D1, b as k1 } from "../AccountFields-CxqONzjY.mjs";
20
+ import { g as i4 } from "../AccountFields-CxqONzjY.mjs";
21
+ import { A as U } from "../AccountListItem-D9WJDbZ1.mjs";
22
22
  import a1 from "@mui/material/Tab";
23
- import Z1 from "@mui/material/Tabs";
24
- import I1 from "@mui/material/Switch";
25
- import D from "@mui/material/ListItem";
23
+ import I1 from "@mui/material/Tabs";
24
+ import Z1 from "@mui/material/Switch";
25
+ import T from "@mui/material/ListItem";
26
26
  import $ from "@mui/material/ListItemButton";
27
- import O from "@mui/material/ListItemText";
28
- import { D as Q } from "../Dialog-jmgGw5WA.mjs";
29
- import { D as t1 } from "../Drawer-Bet2ZPJo.mjs";
30
- import { A as S } from "../Analytics-i5h6BxR1.mjs";
31
- import { b as f } from "../Localization-2MODESHW.mjs";
27
+ import Z from "@mui/material/ListItemText";
28
+ import { A as x } from "../Analytics-BYItVAe-.mjs";
29
+ import { D as Q } from "../Dialog-Ck34yr-d.mjs";
30
+ import { b as f } from "../Localization-CPkpIwIx.mjs";
31
+ import { D as t1 } from "../Drawer-Bbe4AMB1.mjs";
32
32
  import Y from "@mui/material/ListItemAvatar";
33
33
  import N1 from "@mui/material/styles/useTheme";
34
- import { Language as O1, Error as g1, CheckCircle as F1 } from "@mxenabled/mx-icons";
35
- import { b as z, F as j } from "../GlobalAccountFilter-CIF-aT3F.mjs";
36
- import { M as c2 } from "../GlobalAccountFilter-CIF-aT3F.mjs";
34
+ import { Error as g1, CheckCircle as O1, Language as F1 } from "@mxenabled/mx-icons";
35
+ import { C as z } from "../ConnectDrawer-C0wjwcJt.mjs";
37
36
  import { fromUnixTime as P1 } from "date-fns/fromUnixTime";
38
37
  import { isToday as W1 } from "date-fns/isToday";
39
38
  import { isYesterday as B1 } from "date-fns/isYesterday";
40
- import { f as s1, D as l1 } from "../DateFormats-Cs-NbEZ7.mjs";
41
- import { I as X } from "../IconBacking-DgT8DCeh.mjs";
39
+ import { f as s1, D as l1 } from "../DateFormats-BMpMrZpW.mjs";
40
+ import { I as j } from "../IconBacking-B9oC6uL2.mjs";
42
41
  import { addMonths as U1 } from "date-fns/addMonths";
43
42
  import { AdapterDateFns as $1 } from "@mui/x-date-pickers/AdapterDateFnsV3";
44
43
  import { DateCalendar as G1 } from "@mui/x-date-pickers/DateCalendar";
@@ -48,45 +47,47 @@ import { LocalizationProvider as Y1 } from "@mui/x-date-pickers-pro";
48
47
  import j1 from "@mui/material/MenuItem";
49
48
  import X1 from "@mui/material/Select";
50
49
  import J1 from "@mui/material/TextField";
51
- import { C as q1 } from "../CurrencyInput-BEB3FS70.mjs";
50
+ import { F as X } from "../Accounts-CseLC3lL.mjs";
51
+ import { M as a4 } from "../Accounts-CseLC3lL.mjs";
52
+ import { C as q1 } from "../CurrencyInput-DuMktPu3.mjs";
52
53
  import Q1 from "@mui/material/Alert";
53
54
  import e3 from "@mui/material/AlertTitle";
54
55
  import t3 from "@mui/material/Link";
55
56
  import n3 from "@mui/material/Paper";
56
- import { endOfToday as o3, subDays as i3, startOfToday as c3 } from "date-fns";
57
- import { T as a3 } from "../TransactionList-BDffKJMO.mjs";
58
- import { T as s3 } from "../TransactionDetails-Lvt9GCU5.mjs";
59
- import { T as r1 } from "../TabContentContainer-CnMXkVqr.mjs";
60
- import { f as d1 } from "../NumberFormatting-DjTD0t3W.mjs";
61
- import { C as l3 } from "../ConnectionsDrawer-DMBBzlIJ.mjs";
62
- import { L as n1 } from "../Loader-icSc5MlE.mjs";
57
+ import { subDays as o3, startOfToday as i3, endOfToday as c3 } from "date-fns";
58
+ import { T as a3 } from "../StatusIndicator-4tWnjeKS.mjs";
59
+ import { T as s3 } from "../TransactionDetails-D1I1XEsT.mjs";
60
+ import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
61
+ import { f as d1 } from "../NumberFormatting-QCaNwbjv.mjs";
62
+ import { C as l3 } from "../ConnectionsDrawer-IA7vnv1J.mjs";
63
63
  import { u as H1 } from "../useScreenSize-B6JyS_Lj.mjs";
64
- import { u as o1 } from "../useWidgetLoadTimer-DmNCCLa-.mjs";
65
- import { W as r3 } from "../WidgetContainer-DFwVgavi.mjs";
66
- import { M as A1 } from "../MiniWidgetContainer-CXQcSWSl.mjs";
67
- import { A as s2 } from "../AccountApi-DgZ8ILj1.mjs";
68
- import { A as r2 } from "../AccountStore-Cq_w2Hfb.mjs";
64
+ import { u as n1 } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
65
+ import { L as o1 } from "../Loader-D3rjKx72.mjs";
66
+ import { W as r3 } from "../WidgetContainer-B7xDq2bM.mjs";
67
+ import { M as v1 } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
68
+ import { A as l4 } from "../AccountApi-ChQr5PAZ.mjs";
69
+ import { A as d4 } from "../AccountStore-DpYvNnql.mjs";
69
70
  const d3 = (t, o) => {
70
- const n = _1.includes(o) ? b1(t) : [], i = L1.includes(o) ? S1(t) : [], c = f1.includes(o) ? R1(t) : [];
71
+ const n = _1.includes(o) ? w1(t) : [], i = L1.includes(o) ? R1(t) : [], c = f1.includes(o) ? S1(t) : [];
71
72
  return [n, i, c].filter((l) => l.length > 0);
72
73
  }, u3 = (t, o, n) => {
73
74
  const [i, c] = t, l = i, u = c ?? i, a = [];
74
75
  if (l && u && _1.includes(o)) {
75
- const d = l[l.length - 1].y;
76
- a.push({ label: n.income_label, amount: d });
76
+ const r = l[l.length - 1].y;
77
+ a.push({ label: n.income_label, amount: r });
77
78
  } else if (L1.includes(o)) {
78
- const d = l[l.length - 1].y;
79
- a.push({ label: n.payments_label, amount: d });
79
+ const r = l[l.length - 1].y;
80
+ a.push({ label: n.payments_label, amount: r });
80
81
  }
81
82
  if (u && f1.includes(o)) {
82
- const d = u[u.length - 1].y;
83
- a.push({ label: n.spending_label, amount: d });
83
+ const r = u[u.length - 1].y;
84
+ a.push({ label: n.spending_label, amount: r });
84
85
  }
85
86
  return a;
86
87
  }, C3 = () => {
87
- const t = M1(), { selectedAccount: o } = R(), { monthlyCategoryTotals: n } = T1(), { trends: i } = y(), c = [t.palette.chart?.chart1, t.palette.chart?.chart2], l = d3(n, o.account_type), u = u3(l, o.account_type, i), a = [N.LOAN, N.MORTGAGE].includes(o.account_type);
88
+ const t = V1(), { selectedAccount: o } = w(), { monthlyCategoryTotals: n } = T1(), { trends: i } = M(), c = [t.palette.chart?.chart1, t.palette.chart?.chart2], l = d3(n, o.account_type), u = u3(l, o.account_type, i), a = [I.LOAN, I.MORTGAGE].includes(o.account_type);
88
89
  return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
89
- w1,
90
+ x1,
90
91
  {
91
92
  colors: c,
92
93
  datasets: l,
@@ -104,58 +105,95 @@ const d3 = (t, o) => {
104
105
  valueFormatterString: "0,0"
105
106
  }
106
107
  ) });
107
- }, h3 = V(C3), J = ({
108
- children: t,
109
- isLast: o = !1,
110
- onClick: n,
111
- primaryText: i,
112
- secondaryText: c
113
- }) => /* @__PURE__ */ C(x, { children: [
114
- /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ C($, { onClick: n, children: [
115
- /* @__PURE__ */ e(O, { primary: i, secondary: c }),
116
- t
117
- ] }) }),
118
- /* @__PURE__ */ e(b, { sx: { ml: o ? 0 : 24 } })
119
- ] }), m3 = () => {
120
- const { accounts: t } = k(), { selectedAccount: o, selectedMember: n } = R();
108
+ }, h3 = A(C3), J = ({
109
+ ariaPressed: t,
110
+ children: o,
111
+ isLast: n = !1,
112
+ onClick: i,
113
+ primaryText: c,
114
+ secondaryText: l
115
+ }) => /* @__PURE__ */ e(
116
+ T,
117
+ {
118
+ sx: {
119
+ backgroundColor: "background.paper",
120
+ position: "relative",
121
+ "&::after": {
122
+ content: '""',
123
+ position: "absolute",
124
+ bottom: 0,
125
+ right: 0,
126
+ left: n ? 0 : 24,
127
+ borderBottom: "1px solid",
128
+ borderColor: "divider"
129
+ }
130
+ },
131
+ children: /* @__PURE__ */ C($, { "aria-pressed": t, onClick: i, children: [
132
+ /* @__PURE__ */ e(Z, { primary: c, secondary: l }),
133
+ o
134
+ ] })
135
+ }
136
+ ), m3 = () => {
137
+ const { accounts: t } = E(), { selectedAccount: o, selectedMember: n } = w();
121
138
  return t.filter(
122
139
  (i) => i.member_guid === n.guid && n.successfully_aggregated_at && i.guid !== o.guid
123
140
  );
124
141
  }, p3 = () => {
125
- const [t, o] = h.useState(!1), [n, i] = h.useState(!1), [c, l] = h.useState(!1), [u, a] = h.useState({}), { selectedAccount: d } = R(), { mergeAccounts: m, updateAccount: _ } = k(), { accounts: s } = y(), H = m3(), { onEvent: v } = Z(), { modifyTransactionByAccountGuid: M } = m1(), w = async (p) => {
142
+ const [t, o] = h.useState(!1), [n, i] = h.useState(!1), [c, l] = h.useState(!1), [u, a] = h.useState({}), { selectedAccount: r } = w(), { mergeAccounts: p, updateAccount: _ } = E(), { accounts: s } = M(), H = m3(), { onEvent: b } = D(), { modifyTransactionByAccountGuid: V } = m1(), y = async (m) => {
126
143
  await _({
127
- ...d,
128
- ...p
129
- }), "is_closed" in p && p.is_closed !== d.is_closed && M(d.guid, { accountIsClosed: p.is_closed });
130
- }, r = () => {
131
- m([d.guid, u.guid]).finally(
144
+ ...r,
145
+ ...m
146
+ }), "is_closed" in m && m.is_closed !== r.is_closed && V(r.guid, { accountIsClosed: m.is_closed });
147
+ }, d = () => {
148
+ p([r.guid, u.guid]).finally(
132
149
  () => i(!1)
133
150
  );
134
151
  };
135
- return /* @__PURE__ */ C(x, { children: [
136
- /* @__PURE__ */ e(B, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(g, { bold: !0, component: "h2", variant: "XSmall", children: s.actions }) }),
152
+ return /* @__PURE__ */ C(R, { children: [
153
+ /* @__PURE__ */ e(B, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(g, { bold: !0, component: "h2", variant: "caption", children: s.actions }) }),
137
154
  /* @__PURE__ */ e(
138
155
  J,
139
156
  {
157
+ ariaPressed: r.is_hidden,
140
158
  onClick: () => {
141
- w({ is_hidden: !d.is_hidden }), v(S.ACCOUNT_DETAILS_CLICK_HIDE, { account_guid: d.guid });
159
+ y({ is_hidden: !r.is_hidden }), b(x.ACCOUNT_DETAILS_CLICK_HIDE, { account_guid: r.guid });
142
160
  },
143
- primaryText: d.is_hidden ? s.unhide_account : s.hide_Account,
144
- secondaryText: d.is_hidden ? s.include_this_account : s.exclude_this_account,
145
- children: /* @__PURE__ */ e(I1, { checked: d.is_hidden })
161
+ primaryText: r.is_hidden ? s.unhide_account : s.hide_Account,
162
+ secondaryText: r.is_hidden ? s.include_this_account : s.exclude_this_account,
163
+ children: /* @__PURE__ */ e(Z1, { "aria-hidden": !0, checked: r.is_hidden, tabIndex: -1 })
146
164
  }
147
165
  ),
148
- /* @__PURE__ */ e(
166
+ /* @__PURE__ */ C(
149
167
  J,
150
168
  {
151
169
  onClick: () => {
152
- o(!0), v(S.ACCOUNT_DETAILS_CLICK_MARK_CLOSED, {
153
- account_guid: d.guid
170
+ o(!0), b(x.ACCOUNT_DETAILS_CLICK_MARK_CLOSED, {
171
+ account_guid: r.guid
154
172
  });
155
173
  },
156
- primaryText: d.is_closed ? s.mark_as_open : s.mark_as_closed,
157
- secondaryText: d.is_closed ? s.this_will_set_the_closed_account : s.this_will_set_the_account_balance_to_0,
158
- children: /* @__PURE__ */ e(F, { name: "chevron_right" })
174
+ primaryText: r.is_closed ? s.mark_as_open : s.mark_as_closed,
175
+ secondaryText: r.is_closed ? s.this_will_set_the_closed_account : s.this_will_set_the_account_balance_to_0,
176
+ children: [
177
+ /* @__PURE__ */ e(N, { name: "chevron_right" }),
178
+ /* @__PURE__ */ e("div", { onClick: (m) => m.stopPropagation(), children: /* @__PURE__ */ e(
179
+ Q,
180
+ {
181
+ copy: {
182
+ close_aria: s.close_modal,
183
+ title: r.is_closed ? s.confirm_mark_as_open : s.confirm_mark_closed
184
+ },
185
+ isOpen: t,
186
+ onClose: () => {
187
+ o(!1);
188
+ },
189
+ onPrimaryAction: () => y({ is_closed: !r.is_closed }),
190
+ children: /* @__PURE__ */ e(g, { truncate: !1, children: f(
191
+ r.is_closed ? s.this_will_resume_updating_the_balance : s.this_will_set_the_balance_of_your_account,
192
+ r.name
193
+ ) })
194
+ }
195
+ ) })
196
+ ]
159
197
  }
160
198
  ),
161
199
  H.length > 0 && /* @__PURE__ */ e(
@@ -163,79 +201,75 @@ const d3 = (t, o) => {
163
201
  {
164
202
  isLast: !0,
165
203
  onClick: () => {
166
- i(!0), v(S.ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE, {
167
- account_guid: d.guid
204
+ i(!0), b(x.ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE, {
205
+ account_guid: r.guid
168
206
  });
169
207
  },
170
208
  primaryText: s.mark_as_duplicate,
171
209
  secondaryText: s.if_a_connected_account_is_showing_up_twice,
172
- children: /* @__PURE__ */ e(F, { name: "chevron_right" })
173
- }
174
- ),
175
- /* @__PURE__ */ e(
176
- Q,
177
- {
178
- copy: {
179
- close_aria: s.close_modal,
180
- title: d.is_closed ? s.confirm_mark_as_open : s.confirm_mark_closed
181
- },
182
- isOpen: t,
183
- onClose: () => {
184
- o(!1);
185
- },
186
- onPrimaryAction: () => w({ is_closed: !d.is_closed }),
187
- children: /* @__PURE__ */ e(g, { truncate: !1, children: f(
188
- d.is_closed ? s.this_will_resume_updating_the_balance : s.this_will_set_the_balance_of_your_account,
189
- d.name
190
- ) })
210
+ children: /* @__PURE__ */ e(N, { name: "chevron_right" })
191
211
  }
192
212
  ),
193
- /* @__PURE__ */ e(
213
+ /* @__PURE__ */ C(
194
214
  t1,
195
215
  {
196
216
  ariaLabelClose: s.close_drawer,
197
217
  isOpen: n,
198
218
  onClose: () => i(!1),
199
219
  title: s.mark_as_duplicate,
200
- children: /* @__PURE__ */ e(E, { children: H.map((p) => {
201
- const I = H.indexOf(p) === H.length - 1;
202
- return /* @__PURE__ */ C(h.Fragment, { children: [
203
- /* @__PURE__ */ e(
220
+ children: [
221
+ /* @__PURE__ */ e(O, { children: H.map((m) => {
222
+ const k = H.indexOf(m) === H.length - 1;
223
+ return /* @__PURE__ */ e(
204
224
  U,
205
225
  {
206
- account: p,
226
+ account: m,
227
+ listItemProps: {
228
+ sx: {
229
+ position: "relative",
230
+ "&::after": {
231
+ content: '""',
232
+ position: "absolute",
233
+ bottom: 0,
234
+ right: 0,
235
+ left: k ? 0 : 24,
236
+ borderBottom: "1px solid",
237
+ borderColor: "divider"
238
+ }
239
+ }
240
+ },
207
241
  onRowClick: () => {
208
- l(!0), a(p);
242
+ l(!0), a(m);
209
243
  }
210
- }
211
- ),
212
- /* @__PURE__ */ e(E, { sx: { ml: I ? 0 : 24 } })
213
- ] }, p.guid);
214
- }) })
215
- }
216
- ),
217
- c && /* @__PURE__ */ C(
218
- Q,
219
- {
220
- copy: {
221
- close_aria: s.close_modal,
222
- title: s.confirm_merge
223
- },
224
- isOpen: c,
225
- onClose: () => l(!1),
226
- onPrimaryAction: r,
227
- children: [
228
- /* @__PURE__ */ e(g, { truncate: !1, children: f(
229
- s.this_means_accounts_will_be_merged,
230
- d.name,
231
- u.name
232
- ) }),
233
- /* @__PURE__ */ e(g, { color: "error", sx: { mt: 24 }, children: s.this_action_cannot_be_undone })
244
+ },
245
+ m.guid
246
+ );
247
+ }) }),
248
+ c && /* @__PURE__ */ C(
249
+ Q,
250
+ {
251
+ copy: {
252
+ close_aria: s.close_modal,
253
+ title: s.confirm_merge
254
+ },
255
+ isOpen: c,
256
+ onClose: () => l(!1),
257
+ onPrimaryAction: d,
258
+ children: [
259
+ /* @__PURE__ */ e(g, { truncate: !1, children: f(
260
+ s.this_means_accounts_will_be_merged,
261
+ r.name,
262
+ u.name
263
+ ) }),
264
+ /* @__PURE__ */ e(g, { color: "error", sx: { mt: 24 }, children: s.this_action_cannot_be_undone })
265
+ ]
266
+ }
267
+ )
234
268
  ]
235
269
  }
236
270
  )
237
271
  ] });
238
- }, _3 = V(p3), V1 = (t, o) => {
272
+ }, _3 = A(p3), A1 = (t, o) => {
239
273
  const { connection_messages: n } = o;
240
274
  switch (t.connection_status) {
241
275
  case L.CHALLENGED:
@@ -396,7 +430,7 @@ const d3 = (t, o) => {
396
430
  }, L3 = () => {
397
431
  const [t, o] = h.useState(!1), {
398
432
  palette: { mode: n }
399
- } = N1(), { selectedMember: i } = R(), { accounts: c, connect: l } = y(), u = V1(i, l), a = p1.includes(i.connection_status) ? {
433
+ } = N1(), { selectedMember: i } = w(), { accounts: c, connect: l } = M(), u = A1(i, l), a = p1.includes(i.connection_status) ? {
400
434
  color: "error.main",
401
435
  ctaCopy: u.cta ?? "",
402
436
  icon: /* @__PURE__ */ e(g1, { filled: !0, sx: { ...q } }),
@@ -404,57 +438,81 @@ const d3 = (t, o) => {
404
438
  secondaryMessage: `${u.title}.`
405
439
  } : {
406
440
  color: "success.main",
407
- icon: /* @__PURE__ */ e(F1, { filled: !0, sx: { ...q } }),
441
+ icon: /* @__PURE__ */ e(O1, { filled: !0, sx: { ...q } }),
408
442
  mainMessage: u.statusName,
409
443
  secondaryMessage: u.title
410
444
  };
411
- return /* @__PURE__ */ C(x, { children: [
412
- /* @__PURE__ */ e(B, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(g, { bold: !0, component: "h2", variant: "XSmall", children: c.connection_status }) }),
413
- /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper" }, children: i.is_manual || !a.ctaCopy ? /* @__PURE__ */ C(e1, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
414
- /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(X, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
415
- /* @__PURE__ */ e(O, { primary: a.mainMessage, secondary: a.secondaryMessage })
416
- ] }) : /* @__PURE__ */ C($, { onClick: () => o(!0), children: [
417
- /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(X, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
418
- /* @__PURE__ */ e(
419
- O,
420
- {
421
- primary: a.mainMessage,
422
- secondary: a.secondaryMessage && /* @__PURE__ */ C(x, { children: [
423
- a.secondaryMessage,
424
- " ",
425
- /* @__PURE__ */ e(g, { bold: !0, sx: { color: "action.active" }, variant: "XSmall", children: a.ctaCopy })
426
- ] })
427
- }
428
- ),
429
- /* @__PURE__ */ e(F, { name: "chevron_right" })
430
- ] }) }),
431
- /* @__PURE__ */ e(b, { sx: { ml: i.is_manual || !i.institution_url ? 0 : 24 } }),
432
- !i.is_manual && i.institution_url && /* @__PURE__ */ C(x, { children: [
433
- /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ C($, { component: "a", href: i.institution_url, target: "_blank", children: [
434
- /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(
435
- X,
436
- {
437
- backingSx: {
438
- backgroundColor: n === i1.LIGHT ? "grey.300" : "grey.700",
439
- borderRadius: 1
440
- },
441
- size: 32,
442
- children: /* @__PURE__ */ e(
443
- O1,
444
- {
445
- sx: {
446
- ...q,
447
- color: n === i1.LIGHT ? "grey.900" : "common.white"
448
- }
449
- }
450
- )
445
+ return /* @__PURE__ */ C(R, { children: [
446
+ /* @__PURE__ */ e(B, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(g, { bold: !0, component: "h2", variant: "caption", children: c.connection_status }) }),
447
+ /* @__PURE__ */ e(
448
+ T,
449
+ {
450
+ sx: {
451
+ backgroundColor: "background.paper",
452
+ position: "relative",
453
+ "&::after": {
454
+ content: '""',
455
+ position: "absolute",
456
+ bottom: 0,
457
+ right: 0,
458
+ left: i.is_manual || !i.institution_url ? 0 : 24,
459
+ borderBottom: "1px solid",
460
+ borderColor: "divider"
451
461
  }
452
- ) }),
453
- /* @__PURE__ */ e(O, { primary: i.name, secondary: i.institution_url }),
454
- /* @__PURE__ */ e(F, { name: "launch" })
455
- ] }) }),
456
- /* @__PURE__ */ e(b, {})
457
- ] }),
462
+ },
463
+ children: i.is_manual || !a.ctaCopy ? /* @__PURE__ */ C(e1, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
464
+ /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(j, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
465
+ /* @__PURE__ */ e(Z, { primary: a.mainMessage, secondary: a.secondaryMessage })
466
+ ] }) : /* @__PURE__ */ C($, { onClick: () => o(!0), children: [
467
+ /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(j, { backingSx: { backgroundColor: a.color, borderRadius: 1 }, size: 32, children: a.icon }) }),
468
+ /* @__PURE__ */ e(
469
+ Z,
470
+ {
471
+ primary: a.mainMessage,
472
+ secondary: a.secondaryMessage && /* @__PURE__ */ C(R, { children: [
473
+ a.secondaryMessage,
474
+ " ",
475
+ /* @__PURE__ */ e(g, { bold: !0, sx: { color: "action.active" }, variant: "caption", children: a.ctaCopy })
476
+ ] })
477
+ }
478
+ ),
479
+ /* @__PURE__ */ e(N, { name: "chevron_right" })
480
+ ] })
481
+ }
482
+ ),
483
+ !i.is_manual && i.institution_url && /* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(
484
+ T,
485
+ {
486
+ sx: {
487
+ backgroundColor: "background.paper",
488
+ borderBottom: "1px solid",
489
+ borderColor: "divider"
490
+ },
491
+ children: /* @__PURE__ */ C($, { component: "a", href: i.institution_url, target: "_blank", children: [
492
+ /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(
493
+ j,
494
+ {
495
+ backingSx: {
496
+ backgroundColor: n === i1.LIGHT ? "grey.300" : "grey.700",
497
+ borderRadius: 1
498
+ },
499
+ size: 32,
500
+ children: /* @__PURE__ */ e(
501
+ F1,
502
+ {
503
+ sx: {
504
+ ...q,
505
+ color: n === i1.LIGHT ? "grey.900" : "common.white"
506
+ }
507
+ }
508
+ )
509
+ }
510
+ ) }),
511
+ /* @__PURE__ */ e(Z, { primary: i.name, secondary: i.institution_url }),
512
+ /* @__PURE__ */ e(N, { name: "launch" })
513
+ ] })
514
+ }
515
+ ) }),
458
516
  t && /* @__PURE__ */ e(
459
517
  z,
460
518
  {
@@ -465,12 +523,12 @@ const d3 = (t, o) => {
465
523
  }
466
524
  )
467
525
  ] });
468
- }, f3 = V(L3), g3 = ({ field: t, isOpen: o, onClose: n }) => {
469
- const { updateAccount: i } = k(), { selectedAccount: c } = R(), { accounts: l } = y(), [u, a] = h.useState(c[t.name]), [d, m] = h.useState(""), [_, s] = h.useState(!0), H = () => {
470
- a(""), m(""), n();
471
- }, v = () => {
526
+ }, f3 = A(L3), g3 = ({ field: t, isOpen: o, onClose: n }) => {
527
+ const { updateAccount: i } = E(), { selectedAccount: c } = w(), { accounts: l } = M(), [u, a] = h.useState(c[t.name]), [r, p] = h.useState(""), [_, s] = h.useState(!0), H = () => {
528
+ a(""), p(""), n();
529
+ }, b = () => {
472
530
  switch (t.type) {
473
- case j.Select:
531
+ case X.Select:
474
532
  return /* @__PURE__ */ C(z1, { fullWidth: !0, children: [
475
533
  /* @__PURE__ */ e(K1, { id: `${t.label}-select-label`, children: t.label }),
476
534
  /* @__PURE__ */ e(
@@ -484,14 +542,14 @@ const d3 = (t, o) => {
484
542
  },
485
543
  label: t.label,
486
544
  labelId: `${t.label}-select-label`,
487
- onChange: (r) => a(r.target.value),
545
+ onChange: (d) => a(d.target.value),
488
546
  placeholder: t.placeholder,
489
547
  value: u,
490
- children: t.options?.map((r) => /* @__PURE__ */ e(j1, { value: r.value, children: r.label }, r.value))
548
+ children: t.options?.map((d) => /* @__PURE__ */ e(j1, { value: d.value, children: d.label }, d.value))
491
549
  }
492
550
  )
493
551
  ] });
494
- case j.Currency:
552
+ case X.Currency:
495
553
  return /* @__PURE__ */ e(
496
554
  q1,
497
555
  {
@@ -504,14 +562,14 @@ const d3 = (t, o) => {
504
562
  setHasValidInput: s
505
563
  }
506
564
  );
507
- case j.Date:
565
+ case X.Date:
508
566
  return /* @__PURE__ */ e(Y1, { dateAdapter: $1, children: /* @__PURE__ */ e(
509
567
  G1,
510
568
  {
511
569
  maxDate: U1(/* @__PURE__ */ new Date(), 1),
512
570
  minDate: /* @__PURE__ */ new Date(),
513
- onChange: (r) => {
514
- c[t.name] && Number(c[t.name]) <= 31 ? a(r.getDate()) : a(r);
571
+ onChange: (d) => {
572
+ c[t.name] && Number(c[t.name]) <= 31 ? a(d.getDate()) : a(d);
515
573
  },
516
574
  sx: {
517
575
  "& .MuiPickersDay-today": {
@@ -520,7 +578,7 @@ const d3 = (t, o) => {
520
578
  "& .MuiPickersArrowSwitcher-button": {
521
579
  color: "primary.lighter",
522
580
  "&:hover": {
523
- backgroundColor: (r) => y1(r.palette.primary.light, 0.1)
581
+ backgroundColor: (d) => M1(d.palette.primary.light, 0.1)
524
582
  }
525
583
  }
526
584
  },
@@ -532,24 +590,24 @@ const d3 = (t, o) => {
532
590
  J1,
533
591
  {
534
592
  defaultValue: c[t.name],
535
- error: !!d,
593
+ error: !!r,
536
594
  fullWidth: !0,
537
- helperText: d,
595
+ helperText: r,
538
596
  inputProps: {
539
597
  "aria-label": t.placeholder
540
598
  },
541
- onChange: w,
599
+ onChange: y,
542
600
  placeholder: t.placeholder
543
601
  }
544
602
  );
545
603
  }
546
- }, M = () => {
604
+ }, V = () => {
547
605
  c[t.name] !== u && i({
548
606
  ...c,
549
607
  [t.name]: u
550
608
  }), H();
551
- }, w = (r) => {
552
- a(r.target.value), t.validation && m(t.validation(r.target.value));
609
+ }, y = (d) => {
610
+ a(d.target.value), t.validation && p(t.validation(d.target.value));
553
611
  };
554
612
  return /* @__PURE__ */ e(
555
613
  Q,
@@ -558,10 +616,10 @@ const d3 = (t, o) => {
558
616
  close_aria: l.close_aria,
559
617
  title: f(l.edit_field, t.label)
560
618
  },
561
- disablePrimaryButton: !!d || !_,
619
+ disablePrimaryButton: !!r || !_,
562
620
  isOpen: o,
563
621
  onClose: H,
564
- onPrimaryAction: M,
622
+ onPrimaryAction: V,
565
623
  primaryText: l.save,
566
624
  sx: {
567
625
  "& .MuiButton-root:focus-visible, & .MuiButton-root:focus": {
@@ -570,65 +628,97 @@ const d3 = (t, o) => {
570
628
  outlineOffset: "2px"
571
629
  }
572
630
  },
573
- children: v()
631
+ children: b()
574
632
  }
575
633
  );
576
- }, H3 = V(g3), A3 = () => {
577
- const t = window.app?.config, { onEvent: o } = Z(), { selectedAccount: n } = R(), { accounts: i } = y(), c = D1(n, i), l = n.member_is_managed_by_user || !n.member_is_managed_by_user && t.enable_renaming_home_accounts, [u, a] = h.useState(!1), [d, m] = h.useState(c[0]), _ = c.filter(
634
+ }, H3 = A(g3), v3 = () => {
635
+ const t = window.app?.config, { onEvent: o } = D(), { selectedAccount: n } = w(), { accounts: i } = M(), c = D1(n, i), l = n.member_is_managed_by_user || !n.member_is_managed_by_user && t.enable_renaming_home_accounts, [u, a] = h.useState(!1), [r, p] = h.useState(c[0]), _ = c.filter(
578
636
  (s) => l || n[s.name] || n[s.name] === 0
579
637
  );
580
- return /* @__PURE__ */ C(x, { children: [
638
+ return /* @__PURE__ */ C(R, { children: [
581
639
  _.map((s) => {
582
- const H = n[s.name] || n[s.name] === 0, v = _.indexOf(s) === _.length - 1, M = /* @__PURE__ */ e(
583
- O,
640
+ const H = n[s.name] || n[s.name] === 0, b = _.indexOf(s) === _.length - 1, V = /* @__PURE__ */ e(
641
+ Z,
584
642
  {
585
643
  disableTypography: !0,
586
644
  primary: /* @__PURE__ */ e(g, { sx: { fontSize: 11 }, children: s.label }),
587
645
  secondary: /* @__PURE__ */ e(g, { bold: !0, sx: { fontSize: 15 }, children: H ? s.valueFormatter(n[s.name]) : s.placeholder })
588
646
  }
589
647
  );
590
- return /* @__PURE__ */ e(h.Fragment, { children: l ? /* @__PURE__ */ C(x, { children: [
591
- /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper", px: 0 }, children: /* @__PURE__ */ C(
592
- $,
593
- {
594
- onClick: () => {
595
- m(s), a(!0), s?.event && o(s.event, { account_guid: n.guid });
596
- },
597
- children: [
598
- M,
599
- /* @__PURE__ */ e(F, { name: "chevron_right" })
600
- ]
601
- }
602
- ) }),
603
- /* @__PURE__ */ e(b, { sx: { ml: v ? 0 : 24 } })
604
- ] }) : H && /* @__PURE__ */ C(x, { children: [
605
- /* @__PURE__ */ e(D, { sx: { backgroundColor: "background.paper", px: 24 }, children: M }),
606
- /* @__PURE__ */ e(b, { sx: { ml: v ? 0 : 24 } })
607
- ] }) }, s.name);
648
+ return /* @__PURE__ */ e(h.Fragment, { children: l ? /* @__PURE__ */ e(
649
+ T,
650
+ {
651
+ sx: {
652
+ backgroundColor: "background.paper",
653
+ px: 0,
654
+ position: "relative",
655
+ "&::after": {
656
+ content: '""',
657
+ position: "absolute",
658
+ bottom: 0,
659
+ right: 0,
660
+ left: b ? 0 : 24,
661
+ borderBottom: "1px solid",
662
+ borderColor: "divider"
663
+ }
664
+ },
665
+ children: /* @__PURE__ */ C(
666
+ $,
667
+ {
668
+ onClick: () => {
669
+ p(s), a(!0), s?.event && o(s.event, { account_guid: n.guid });
670
+ },
671
+ children: [
672
+ V,
673
+ /* @__PURE__ */ e(N, { name: "chevron_right" })
674
+ ]
675
+ }
676
+ )
677
+ }
678
+ ) : H && /* @__PURE__ */ e(
679
+ T,
680
+ {
681
+ sx: {
682
+ backgroundColor: "background.paper",
683
+ px: 24,
684
+ position: "relative",
685
+ "&::after": {
686
+ content: '""',
687
+ position: "absolute",
688
+ bottom: 0,
689
+ right: 0,
690
+ left: b ? 0 : 24,
691
+ borderBottom: "1px solid",
692
+ borderColor: "divider"
693
+ }
694
+ },
695
+ children: V
696
+ }
697
+ ) }, s.name);
608
698
  }),
609
- u && d && /* @__PURE__ */ e(
699
+ u && r && /* @__PURE__ */ e(
610
700
  H3,
611
701
  {
612
- field: d,
702
+ field: r,
613
703
  isOpen: u,
614
704
  onClose: () => a(!1)
615
705
  }
616
706
  )
617
707
  ] });
618
- }, V3 = V(A3), v3 = () => {
619
- const { onEvent: t } = Z();
620
- return h.useEffect(() => t(S.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ C(E, { children: [
621
- /* @__PURE__ */ e(V3, {}),
708
+ }, A3 = A(v3), b3 = () => {
709
+ const { onEvent: t } = D();
710
+ return h.useEffect(() => t(x.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ C(O, { children: [
711
+ /* @__PURE__ */ e(A3, {}),
622
712
  /* @__PURE__ */ e(f3, {}),
623
713
  /* @__PURE__ */ e(_3, {})
624
714
  ] });
625
- }, M3 = V(v3), y3 = ({ setTabValue: t }) => {
626
- const [o, n] = h.useState(!1), { selectedMember: i } = R(), { accounts: c, connect: l } = y(), u = i.connection_status && p1.includes(i.connection_status);
715
+ }, V3 = A(b3), M3 = ({ setTabValue: t }) => {
716
+ const [o, n] = h.useState(!1), { selectedMember: i } = w(), { accounts: c, connect: l } = M(), u = i.connection_status && p1.includes(i.connection_status);
627
717
  if (h.useEffect(() => {
628
718
  u && t(1);
629
719
  }, [u]), !u) return;
630
- const a = V1(i, l);
631
- return /* @__PURE__ */ C(x, { children: [
720
+ const a = A1(i, l);
721
+ return /* @__PURE__ */ C(R, { children: [
632
722
  /* @__PURE__ */ e(
633
723
  n3,
634
724
  {
@@ -641,6 +731,7 @@ const d3 = (t, o) => {
641
731
  Q1,
642
732
  {
643
733
  icon: /* @__PURE__ */ e(g1, { filled: !0 }),
734
+ role: "none",
644
735
  severity: "error",
645
736
  sx: {
646
737
  borderLeft: 5,
@@ -653,8 +744,8 @@ const d3 = (t, o) => {
653
744
  }
654
745
  },
655
746
  children: [
656
- a.title && /* @__PURE__ */ e(e3, { sx: { fontWeight: 600, marginTop: 2 }, variant: "Body", children: a.title }),
657
- /* @__PURE__ */ e(g, { component: "p", sx: { whiteSpace: "wrap" }, variant: "ParagraphSmall", children: a.main }),
747
+ a.title && /* @__PURE__ */ e(e3, { sx: { fontWeight: 600, marginTop: 2 }, variant: "body1", children: a.title }),
748
+ /* @__PURE__ */ e(g, { component: "p", sx: { whiteSpace: "wrap" }, variant: "subtitle2", children: a.main }),
658
749
  a.cta && /* @__PURE__ */ e(
659
750
  t3,
660
751
  {
@@ -678,39 +769,39 @@ const d3 = (t, o) => {
678
769
  }
679
770
  )
680
771
  ] });
681
- }, x3 = V(y3), w3 = () => {
682
- const [t, o] = h.useState(""), { onEvent: n } = Z(), { selectedAccount: i } = R(), { accounts: c } = y(), { isTransactionDataLoaded: l, loadTransactionData: u, setFilter: a, sortedTransactions: d } = m1();
772
+ }, y3 = A(M3), x3 = () => {
773
+ const [t, o] = h.useState(""), { onEvent: n } = D(), { selectedAccount: i } = w(), { accounts: c } = M(), { isTransactionDataLoaded: l, loadTransactionData: u, setFilter: a, sortedTransactions: r } = m1();
683
774
  h.useEffect(() => {
684
775
  l || u().finally();
685
776
  }, []);
686
- const m = h.useMemo(
687
- () => d.find((_) => _.guid === t),
688
- [t, d]
777
+ const p = h.useMemo(
778
+ () => r.find((_) => _.guid === t),
779
+ [t, r]
689
780
  );
690
781
  return h.useEffect(() => {
691
782
  a({
692
- dateRange: { start: i3(c3(), 90), end: o3() },
783
+ dateRange: { start: o3(i3(), 90), end: c3() },
693
784
  accounts: [i.guid]
694
785
  });
695
- }, [i]), h.useEffect(() => n(S.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ C(x, { children: [
786
+ }, [i]), h.useEffect(() => n(x.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ C(R, { children: [
696
787
  /* @__PURE__ */ e(a3, { onClick: o }),
697
- m && /* @__PURE__ */ e(
788
+ p && /* @__PURE__ */ e(
698
789
  t1,
699
790
  {
700
791
  ariaLabelClose: c.close_drawer,
701
792
  isOpen: !!t,
702
793
  onClose: () => o(""),
703
794
  title: c.transaction_drawer_title,
704
- children: /* @__PURE__ */ e(s3, { transaction: m })
795
+ children: /* @__PURE__ */ e(s3, { transaction: p })
705
796
  }
706
797
  )
707
798
  ] });
708
- }, b3 = V(w3), S3 = () => {
709
- const [t, o] = h.useState(0), { accounts: n } = y();
710
- return /* @__PURE__ */ C(x, { children: [
711
- /* @__PURE__ */ e(x3, { setTabValue: o }),
799
+ }, w3 = A(x3), R3 = () => {
800
+ const [t, o] = h.useState(0), { accounts: n } = M();
801
+ return /* @__PURE__ */ C(R, { children: [
802
+ /* @__PURE__ */ e(y3, { setTabValue: o }),
712
803
  /* @__PURE__ */ C(
713
- Z1,
804
+ I1,
714
805
  {
715
806
  "aria-label": n.transactions_and_details_aria,
716
807
  centered: !0,
@@ -738,63 +829,63 @@ const d3 = (t, o) => {
738
829
  ]
739
830
  }
740
831
  ),
741
- /* @__PURE__ */ e(r1, { index: 0, name: "transaction-details", value: t, children: /* @__PURE__ */ e(b3, {}) }),
742
- /* @__PURE__ */ e(r1, { index: 1, name: "account-details", value: t, children: /* @__PURE__ */ e(M3, {}) })
832
+ /* @__PURE__ */ e(r1, { index: 0, name: "transaction-details", value: t, children: /* @__PURE__ */ e(w3, {}) }),
833
+ /* @__PURE__ */ e(r1, { index: 1, name: "account-details", value: t, children: /* @__PURE__ */ e(V3, {}) })
743
834
  ] });
744
- }, R3 = V(S3), T3 = () => {
745
- const [t, o] = h.useState(""), { accounts: n } = y(), { allSelectedAccounts: i } = G(), { setSelectedAccount: c, setSelectedMember: l } = R(), { members: u } = k(), { onEvent: a } = Z(), d = [...new Set(i.map((r) => r.account_type))], m = i.find((r) => t === r.guid), _ = h.useMemo(
746
- () => i.filter((r) => r.is_hidden),
835
+ }, S3 = A(R3), T3 = () => {
836
+ const [t, o] = h.useState(""), { accounts: n } = M(), { allSelectedAccounts: i } = G(), { setSelectedAccount: c, setSelectedMember: l } = w(), { members: u } = E(), { onEvent: a } = D(), r = [...new Set(i.map((d) => d.account_type))], p = i.find((d) => t === d.guid), _ = h.useMemo(
837
+ () => i.filter((d) => d.is_hidden),
747
838
  [i]
748
839
  ), s = h.useMemo(
749
- () => i.filter((r) => r.is_closed),
840
+ () => i.filter((d) => d.is_closed),
750
841
  [i]
751
842
  ), H = _.reduce(
752
- (r, p) => (p.available_balance || p.balance || 0) + r,
843
+ (d, m) => (m.available_balance || m.balance || 0) + d,
753
844
  0
754
- ), v = k1(s, n);
845
+ ), b = k1(s, n);
755
846
  h.useEffect(() => {
756
- if (m) {
757
- c(m);
758
- const r = u.find((p) => p.guid === m?.member_guid) || {};
759
- r && l(r);
847
+ if (p) {
848
+ c(p);
849
+ const d = u.find((m) => m.guid === p?.member_guid) || {};
850
+ d && l(d);
760
851
  }
761
- }, [m, t]);
762
- const M = (r) => {
763
- o(r.guid), a(S.ACCOUNTS_CLICK_ACCOUNT, {
764
- account_guid: r.guid,
765
- account_type: r.account_type
852
+ }, [p, t]);
853
+ const V = (d) => {
854
+ o(d.guid), a(x.ACCOUNTS_CLICK_ACCOUNT, {
855
+ account_guid: d.guid,
856
+ account_type: d.account_type
766
857
  });
767
- }, w = (r) => {
768
- const p = r === "hidden" ? _ : s, I = r === "hidden" ? H : v, A = r === "hidden" ? n.account_hidden : n.account_closed;
858
+ }, y = (d) => {
859
+ const m = d === "hidden" ? _ : s, k = d === "hidden" ? H : b, v = d === "hidden" ? n.account_hidden : n.account_closed;
769
860
  return /* @__PURE__ */ e(c1, { children: /* @__PURE__ */ e(
770
- E,
861
+ O,
771
862
  {
772
- "aria-label": A,
863
+ "aria-label": v,
773
864
  subheader: /* @__PURE__ */ e(B, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ C(
774
- W,
865
+ P,
775
866
  {
776
867
  component: "span",
777
868
  direction: "row",
778
869
  sx: { justifyContent: "space-between", color: "grey.700" },
779
870
  children: [
780
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: A }),
781
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: d1(I, "0,0.00") })
871
+ /* @__PURE__ */ e(g, { bold: !0, variant: "body1", children: v }),
872
+ /* @__PURE__ */ e(g, { bold: !0, variant: "body1", children: d1(k, "0,0.00") })
782
873
  ]
783
874
  }
784
875
  ) }),
785
- children: /* @__PURE__ */ e(W, { children: p.map((T, P, v1) => {
786
- const K = P === v1.length - 1;
876
+ children: /* @__PURE__ */ e(P, { children: m.map((S, F, b1) => {
877
+ const K = F === b1.length - 1;
787
878
  return /* @__PURE__ */ C(h.Fragment, { children: [
788
879
  /* @__PURE__ */ e(
789
880
  U,
790
881
  {
791
- account: T,
792
- onRowClick: () => M(T),
882
+ account: S,
883
+ onRowClick: () => V(S),
793
884
  shouldShowConnectionStatus: !0
794
885
  }
795
886
  ),
796
- r === "hidden" ? /* @__PURE__ */ e(
797
- b,
887
+ d === "hidden" ? /* @__PURE__ */ e(
888
+ W,
798
889
  {
799
890
  sx: {
800
891
  mb: K ? 24 : 4,
@@ -802,7 +893,7 @@ const d3 = (t, o) => {
802
893
  }
803
894
  }
804
895
  ) : !K && /* @__PURE__ */ e(
805
- b,
896
+ W,
806
897
  {
807
898
  sx: {
808
899
  mb: 4,
@@ -810,63 +901,63 @@ const d3 = (t, o) => {
810
901
  }
811
902
  }
812
903
  )
813
- ] }, T.guid);
904
+ ] }, S.guid);
814
905
  }) })
815
906
  }
816
907
  ) });
817
908
  };
818
909
  return /* @__PURE__ */ C(c1, { sx: { pt: 24 }, children: [
819
- d.map((r) => {
820
- const p = i.filter(
821
- (A) => A.account_type === r && !A.is_closed && !A.is_hidden
822
- ), I = p.reduce(
823
- (A, T) => (T.balance || 0) + A,
910
+ r.map((d) => {
911
+ const m = i.filter(
912
+ (v) => v.account_type === d && !v.is_closed && !v.is_hidden
913
+ ), k = m.reduce(
914
+ (v, S) => (S.balance || 0) + v,
824
915
  0
825
916
  );
826
- return p.length === 0 ? null : /* @__PURE__ */ e(
827
- E,
917
+ return m.length === 0 ? null : /* @__PURE__ */ e(
918
+ O,
828
919
  {
829
- "aria-label": n.account_type_accounts[p[0]?.account_type],
920
+ "aria-label": n.account_type_accounts[m[0]?.account_type],
830
921
  subheader: /* @__PURE__ */ e(B, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ C(
831
- W,
922
+ P,
832
923
  {
833
924
  component: "span",
834
925
  direction: "row",
835
926
  sx: { display: "flex", justifyContent: "space-between" },
836
927
  children: [
837
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: n.account_types[r] }),
838
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: d1(I, "0,0.00") })
928
+ /* @__PURE__ */ e(g, { bold: !0, variant: "body1", children: n.account_types[d] }),
929
+ /* @__PURE__ */ e(g, { bold: !0, variant: "body1", children: d1(k, "0,0.00") })
839
930
  ]
840
931
  }
841
932
  ) }),
842
- children: /* @__PURE__ */ e(W, { children: p.map((A) => {
843
- const T = i.indexOf(A) === i.length - 1, P = p.indexOf(A) === p.length - 1;
933
+ children: /* @__PURE__ */ e(P, { children: m.map((v) => {
934
+ const S = i.indexOf(v) === i.length - 1, F = m.indexOf(v) === m.length - 1;
844
935
  return /* @__PURE__ */ C(h.Fragment, { children: [
845
936
  /* @__PURE__ */ e(
846
937
  U,
847
938
  {
848
- account: A,
849
- onRowClick: () => M(A),
939
+ account: v,
940
+ onRowClick: () => V(v),
850
941
  shouldShowConnectionStatus: !0
851
942
  }
852
943
  ),
853
- (!T || s.length > 0 || _.length > 0) && /* @__PURE__ */ e(
854
- b,
944
+ (!S || s.length > 0 || _.length > 0) && /* @__PURE__ */ e(
945
+ W,
855
946
  {
856
947
  sx: {
857
- mb: P ? 24 : 4,
858
- ml: P ? 24 : 68
948
+ mb: F ? 24 : 4,
949
+ ml: F ? 24 : 68
859
950
  }
860
951
  }
861
952
  )
862
- ] }, A.guid);
953
+ ] }, v.guid);
863
954
  }) })
864
955
  },
865
- r
956
+ d
866
957
  );
867
958
  }),
868
- _.length > 0 && w("hidden"),
869
- s.length > 0 && w("closed"),
959
+ _.length > 0 && y("hidden"),
960
+ s.length > 0 && y("closed"),
870
961
  /* @__PURE__ */ C(
871
962
  t1,
872
963
  {
@@ -875,45 +966,45 @@ const d3 = (t, o) => {
875
966
  onClose: () => o(""),
876
967
  title: n.account_details,
877
968
  children: [
878
- /* @__PURE__ */ e(x1, { ChartComponent: h3 }),
879
- /* @__PURE__ */ e(R3, {})
969
+ /* @__PURE__ */ e(y1, { ChartComponent: h3 }),
970
+ /* @__PURE__ */ e(S3, {})
880
971
  ]
881
972
  }
882
973
  )
883
974
  ] });
884
- }, E3 = V(T3), D3 = ({ onBackClick: t, sx: o = {} }) => {
885
- const [n, i] = h.useState(!1), [c, l] = h.useState(!1), { config: u } = E1(), { isAccountDataLoaded: a, loadAccountData: d } = k(), { accounts: m, connect: _ } = y(), { isInitialized: s, selectedAccountGuids: H } = G(), { isDesktop: v } = H1(), { onEvent: M } = Z();
886
- o1({
975
+ }, E3 = A(T3), D3 = ({ onBackClick: t, sx: o = {} }) => {
976
+ const [n, i] = h.useState(!1), [c, l] = h.useState(!1), { config: u } = E1(), { isAccountDataLoaded: a, loadAccountData: r } = E(), { accounts: p, connect: _ } = M(), { isInitialized: s, selectedAccountGuids: H } = G(), { isDesktop: b } = H1(), { onEvent: V } = D();
977
+ n1({
887
978
  widgetName: "AccountsWidget",
888
979
  isLoaded: a
889
980
  }), h.useEffect(() => {
890
- a || d().finally();
981
+ a || r().finally();
891
982
  }, []);
892
- const w = () => {
893
- i(!0), M(S.ACCOUNTS_CLICK_CONNECT);
894
- }, r = () => {
895
- l(!0), M(S.ACCOUNTS_CLICK_CONNECT);
983
+ const y = () => {
984
+ i(!0), V(x.ACCOUNTS_CLICK_CONNECT);
985
+ }, d = () => {
986
+ l(!0), V(x.ACCOUNTS_CLICK_CONNECT);
896
987
  };
897
988
  return s ? /* @__PURE__ */ C(
898
989
  r3,
899
990
  {
900
991
  actions: u.show_connections_widget_in_master ? [
901
- { iconName: "add", label: m.add, onClick: w },
992
+ { iconName: "add", label: p.add, onClick: y },
902
993
  {
903
994
  iconName: "credit_card_gear",
904
- label: m.manage,
905
- onClick: r
995
+ label: p.manage,
996
+ onClick: d
906
997
  }
907
998
  ] : [],
908
- onAccountsFilterClick: () => M(S.ACCOUNTS_CLICK_FILTER),
999
+ onAccountsFilterClick: () => V(x.ACCOUNTS_CLICK_FILTER),
909
1000
  onBackClick: t,
910
1001
  sx: o,
911
- title: m.title,
1002
+ title: p.title,
912
1003
  children: [
913
- a ? /* @__PURE__ */ C(e1, { sx: { px: v ? 24 : 12 }, children: [
914
- H.length < 1 && /* @__PURE__ */ e(g, { display: "flex", justifyContent: "center", my: 24, children: m.no_accounts }),
1004
+ a ? /* @__PURE__ */ C(e1, { sx: { px: b ? 24 : 12 }, children: [
1005
+ H.length < 1 && /* @__PURE__ */ e(g, { display: "flex", justifyContent: "center", my: 24, children: p.no_accounts }),
915
1006
  /* @__PURE__ */ e(E3, {})
916
- ] }) : /* @__PURE__ */ e(h1, { sx: { px: v ? 48 : 24, pt: 24 }, variant: "list" }),
1007
+ ] }) : /* @__PURE__ */ e(h1, { sx: { px: b ? 48 : 24, pt: 24 }, variant: "list" }),
917
1008
  /* @__PURE__ */ e(
918
1009
  z,
919
1010
  {
@@ -927,13 +1018,13 @@ const d3 = (t, o) => {
927
1018
  {
928
1019
  onClose: () => l(!1),
929
1020
  showConnectionsWidget: c,
930
- title: m.manage_connections
1021
+ title: p.manage_connections
931
1022
  }
932
1023
  )
933
1024
  ]
934
1025
  }
935
- ) : /* @__PURE__ */ e(n1, {});
936
- }, q4 = V(D3);
1026
+ ) : /* @__PURE__ */ e(o1, {});
1027
+ }, Q2 = A(D3);
937
1028
  function k3(t) {
938
1029
  const { heldAccounts: o, externalAccounts: n } = t.reduce(
939
1030
  (i, c) => (c.member_is_managed_by_user ? i.externalAccounts.push(c) : i.heldAccounts.push(c), i),
@@ -944,59 +1035,59 @@ function k3(t) {
944
1035
  externalAccounts: C1(n)
945
1036
  };
946
1037
  }
947
- function Z3(t, o) {
1038
+ function I3(t, o) {
948
1039
  const { heldAccounts: n, externalAccounts: i } = k3(t), c = n.slice(0, o);
949
1040
  return c.length < o && c.push(...i.slice(0, o - c.length)), c;
950
1041
  }
951
- const I3 = {
952
- [N.CHECKING]: 1,
953
- [N.SAVINGS]: 2,
954
- [N.CREDIT_CARD]: 3
955
- }, u1 = (t) => I3[t] ?? t + 100, C1 = (t) => t.sort((o, n) => {
1042
+ const Z3 = {
1043
+ [I.CHECKING]: 1,
1044
+ [I.SAVINGS]: 2,
1045
+ [I.CREDIT_CARD]: 3
1046
+ }, u1 = (t) => Z3[t] ?? t + 100, C1 = (t) => t.sort((o, n) => {
956
1047
  const i = u1(o.account_type), c = u1(n.account_type), l = i - c;
957
1048
  if (l !== 0) return l;
958
1049
  const u = o.name ?? o.feed_name ?? "", a = n.name ?? n.feed_name ?? "";
959
1050
  return u.localeCompare(a);
960
1051
  }), N3 = ({ onPrimaryCtaClick: t, sx: o }) => {
961
- const { isAccountDataLoaded: n, loadAccountData: i } = k(), { accounts: c } = y(), { isInitialized: l, selectedAccounts: u } = G(), { isDesktop: a } = H1();
962
- o1({
1052
+ const { isAccountDataLoaded: n, loadAccountData: i } = E(), { accounts: c } = M(), { isInitialized: l, selectedAccounts: u } = G(), { isDesktop: a } = H1();
1053
+ n1({
963
1054
  widgetName: "AccountsMiniWidget",
964
1055
  isLoaded: l
965
1056
  }), h.useEffect(() => {
966
1057
  n || i().finally();
967
1058
  }, []);
968
- const d = h.useMemo(
969
- () => Z3(u, a ? 5 : 3),
1059
+ const r = h.useMemo(
1060
+ () => I3(u, a ? 5 : 3),
970
1061
  [u, a]
971
1062
  );
972
1063
  return l ? /* @__PURE__ */ e(
973
- A1,
1064
+ v1,
974
1065
  {
975
1066
  className: "mx-exp-accounts-miniwidget",
976
1067
  onPrimaryCtaClick: t,
977
1068
  primaryCtaLabel: c.primary_cta,
978
1069
  sx: o,
979
1070
  title: c.mini_title,
980
- children: n ? /* @__PURE__ */ C(E, { children: [
981
- u.length === 0 && /* @__PURE__ */ e(D, { sx: { justifyContent: "center" }, children: c.no_accounts }),
982
- d.map((m, _) => {
983
- const s = d.indexOf(m) === d.length - 1;
1071
+ children: n ? /* @__PURE__ */ C(O, { children: [
1072
+ u.length === 0 && /* @__PURE__ */ e(T, { sx: { justifyContent: "center" }, children: c.no_accounts }),
1073
+ r.map((p, _) => {
1074
+ const s = r.indexOf(p) === r.length - 1;
984
1075
  return /* @__PURE__ */ C(h.Fragment, { children: [
985
1076
  /* @__PURE__ */ e(
986
1077
  U,
987
1078
  {
988
- account: m,
1079
+ account: p,
989
1080
  listItemProps: { sx: { px: 24 } },
990
1081
  shouldShowConnectionStatus: !0
991
1082
  }
992
1083
  ),
993
- !s && /* @__PURE__ */ e(b, { "aria-hidden": "true", variant: "inset" })
1084
+ !s && /* @__PURE__ */ e(W, { "aria-hidden": "true", variant: "inset" })
994
1085
  ] }, `account-item${_}`);
995
1086
  })
996
1087
  ] }) : /* @__PURE__ */ e(h1, { sx: { px: 12, py: 8 }, variant: "list" })
997
1088
  }
998
- ) : /* @__PURE__ */ e(n1, {});
999
- }, Q4 = V(N3), O3 = () => /* @__PURE__ */ C(
1089
+ ) : /* @__PURE__ */ e(o1, {});
1090
+ }, e4 = A(N3), O3 = () => /* @__PURE__ */ C(
1000
1091
  "svg",
1001
1092
  {
1002
1093
  fill: "none",
@@ -1436,7 +1527,7 @@ const I3 = {
1436
1527
  ]
1437
1528
  }
1438
1529
  ), F3 = () => {
1439
- const { connect: t } = y();
1530
+ const { connect: t } = M();
1440
1531
  return /* @__PURE__ */ C(e1, { alignItems: "center", direction: "column", m: 24, children: [
1441
1532
  /* @__PURE__ */ e(O3, {}),
1442
1533
  /* @__PURE__ */ e(
@@ -1447,24 +1538,24 @@ const I3 = {
1447
1538
  mt: 16,
1448
1539
  textAlign: "center"
1449
1540
  },
1450
- variant: "Paragraph",
1541
+ variant: "subtitle1",
1451
1542
  children: t.mini_widget_content
1452
1543
  }
1453
1544
  )
1454
1545
  ] });
1455
- }, P3 = V(F3), W3 = ({
1546
+ }, P3 = A(F3), W3 = ({
1456
1547
  onPrimaryCtaClick: t = () => {
1457
1548
  },
1458
1549
  sx: o
1459
1550
  }) => {
1460
- const { isCopyLoaded: n } = G(), { connect: i } = y(), [c, l] = h.useState(!1), u = () => {
1551
+ const { isCopyLoaded: n } = G(), { connect: i } = M(), [c, l] = h.useState(!1), u = () => {
1461
1552
  l(!0), t();
1462
1553
  };
1463
- return o1({
1554
+ return n1({
1464
1555
  widgetName: "ConnectMiniWidget",
1465
1556
  isLoaded: n
1466
1557
  }), n ? /* @__PURE__ */ C(
1467
- A1,
1558
+ v1,
1468
1559
  {
1469
1560
  className: "mx-exp-connect-miniwidget",
1470
1561
  onPrimaryCtaClick: u,
@@ -1483,20 +1574,20 @@ const I3 = {
1483
1574
  )
1484
1575
  ]
1485
1576
  }
1486
- ) : /* @__PURE__ */ e(n1, {});
1487
- }, e2 = V(W3);
1577
+ ) : /* @__PURE__ */ e(o1, {});
1578
+ }, t4 = A(W3);
1488
1579
  export {
1489
- s2 as AccountApi,
1490
- R3 as AccountDetailsContent,
1491
- x1 as AccountDetailsHeader,
1492
- r2 as AccountStore,
1493
- Q4 as AccountsMiniWidget,
1494
- q4 as AccountsWidget,
1495
- e2 as ConnectMiniWidget,
1496
- j as FieldType,
1497
- c2 as MemberConnectionStatus,
1498
- o2 as getAccountBalanceDetails,
1580
+ l4 as AccountApi,
1581
+ S3 as AccountDetailsContent,
1582
+ y1 as AccountDetailsHeader,
1583
+ d4 as AccountStore,
1584
+ e4 as AccountsMiniWidget,
1585
+ Q2 as AccountsWidget,
1586
+ t4 as ConnectMiniWidget,
1587
+ X as FieldType,
1588
+ a4 as MemberConnectionStatus,
1589
+ i4 as getAccountBalanceDetails,
1499
1590
  D1 as getAccountDetailFields,
1500
- R as useAccountUiStore,
1591
+ w as useAccountUiStore,
1501
1592
  m3 as useGetMergeableAccounts
1502
1593
  };