@mx-cartographer/experiences 9.0.0-alpha.al0 → 9.0.0-alpha.al10

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 (345) hide show
  1. package/CHANGELOG.md +156 -13
  2. package/dist/{Account-BiB1F8lL.mjs → Account-BaJmiJAG.mjs} +4 -4
  3. package/dist/{Account-DuOz1a27.mjs → Account-BxHMlV9R.mjs} +1 -1
  4. package/dist/AccountDetailsHeader-CfdnKyJK.mjs +95 -0
  5. package/dist/{AccountFields-CxqONzjY.mjs → AccountFields-CAy0x_4i.mjs} +54 -53
  6. package/dist/AccountListItem-DJaIOxbb.mjs +94 -0
  7. package/dist/{Accounts-o7ohkngR.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
  8. package/dist/Analytics-CkYXKvco.mjs +53 -0
  9. package/dist/{Analytics-BYItVAe-.mjs → Analytics-CzGzz_sE.mjs} +3 -1
  10. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  11. package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
  12. package/dist/{Category-CevNQ03n.mjs → Category-DEKZGLYe.mjs} +4 -4
  13. package/dist/{CategorySelectorDrawer-Dc9Widy9.mjs → CategorySelectorDrawer-DVGuR3Ab.mjs} +75 -72
  14. package/dist/{Connect-eYIWqCEr.mjs → Connect-Dk6GZEsA.mjs} +1 -1
  15. package/dist/ConnectCard-CdXeMN22.mjs +54 -0
  16. package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-CPsSusKE.mjs} +4 -4
  17. package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DWPOixe6.mjs} +3 -3
  18. package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
  19. package/dist/{CurrencyInput-DuMktPu3.mjs → CurrencyInput-B59ugxPN.mjs} +25 -25
  20. package/dist/{CurrencyText-CA-E5N_y.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  21. package/dist/{DateFormats-BMpMrZpW.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
  22. package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
  23. package/dist/DebtUtils-DD3186U-.mjs +153 -0
  24. package/dist/{Dialog-Ck34yr-d.mjs → Dialog-CwWc0AbH.mjs} +16 -16
  25. package/dist/{Donut-CpxJlVvJ.mjs → Donut-SzzfZDHF.mjs} +21 -21
  26. package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-BNu88yNt.mjs} +18 -17
  27. package/dist/EmbeddedCard-wENckl64.mjs +856 -0
  28. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
  29. package/dist/Error-Dogaw2jO.mjs +84 -0
  30. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  31. package/dist/{ExportCsvAction-ErKh7wJ2.mjs → ExportCsvAction-BkABqw52.mjs} +6 -6
  32. package/dist/{GlobalAccountFilter-C0oMFGr7.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +46 -46
  33. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  34. package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
  35. package/dist/{Help-D-laTbKu.mjs → Help-CNjuW34A.mjs} +203 -222
  36. package/dist/{Help-B8mD4aLJ.mjs → Help-CkQTjORd.mjs} +6 -27
  37. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  38. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  39. package/dist/{LineChart-EAr5ox5U.mjs → LineChart-CejWS_rh.mjs} +2 -2
  40. package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-CwspSmQi.mjs} +24 -24
  41. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  42. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  43. package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
  44. package/dist/{Localization-CPkpIwIx.mjs → Localization-DnoVyBNK.mjs} +13 -12
  45. package/dist/{ManageIncome-Cc-wba0I.mjs → ManageIncome-D2hEHycu.mjs} +51 -51
  46. package/dist/MicroWidgetContainer-CfKdQfhi.mjs +45 -0
  47. package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
  48. package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
  49. package/dist/{NotificationSettings-D7VqsrZy.mjs → NotificationSettings-CNsh4U5U.mjs} +58 -58
  50. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  51. package/dist/{NumberFormatting-QCaNwbjv.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  52. package/dist/{OriginalBalanceAction-DjpvVVFz.mjs → OriginalBalanceAction-BxOhy_ru.mjs} +28 -29
  53. package/dist/{RecurringSettings-BN9H5ALr.mjs → RecurringSettings-Qqila2ld.mjs} +4 -4
  54. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
  55. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-CC9F_Ezk.mjs} +12 -12
  56. package/dist/Select-KwuuoKM-.mjs +55 -0
  57. package/dist/SelectionBox-B4xELRgp.mjs +48 -0
  58. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +6 -6
  59. package/dist/Sizes-DISGrlUg.mjs +6 -0
  60. package/dist/{SpendingData-Bz1bCWAs.mjs → SpendingData-PKlh8caU.mjs} +8 -8
  61. package/dist/{SpendingLegend-BCnXkPCD.mjs → SpendingLegend-5Ct_FZ8o.mjs} +64 -64
  62. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  63. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  64. package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-BTDtw-N4.mjs} +25 -23
  65. package/dist/TransactionDetails-CMUIncOc.mjs +1712 -0
  66. package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
  67. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  68. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  69. package/dist/ViewMoreMicroCard-DoVNDQVG.mjs +1294 -0
  70. package/dist/WidgetContainer-CmkRiOTH.mjs +479 -0
  71. package/dist/accounts/hooks/useUiStore.d.ts +6 -1
  72. package/dist/accounts/index.d.ts +0 -2
  73. package/dist/accounts/index.es.js +424 -419
  74. package/dist/accounts/utils/AccountFields.d.ts +2 -2
  75. package/dist/analytics/index.es.js +11 -11
  76. package/dist/budgets/index.es.js +259 -253
  77. package/dist/cashflow/context/hooks.d.ts +15 -1
  78. package/dist/cashflow/index.d.ts +0 -2
  79. package/dist/cashflow/index.es.js +397 -431
  80. package/dist/categories/context/hooks.d.ts +19 -1
  81. package/dist/categories/index.d.ts +0 -1
  82. package/dist/categories/index.es.js +4 -6
  83. package/dist/common/components/Error.d.ts +13 -0
  84. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  85. package/dist/common/components/GlobalAccountFilter.d.ts +2 -1
  86. package/dist/common/components/WidgetContainer.d.ts +1 -1
  87. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  88. package/dist/common/components/index.d.ts +1 -0
  89. package/dist/common/constants/Analytics.d.ts +2 -0
  90. package/dist/common/constants/ScheduledPayment.d.ts +1 -1
  91. package/dist/common/constants/index.d.ts +0 -4
  92. package/dist/common/context/GlobalDataProvider.d.ts +1 -1
  93. package/dist/common/context/hooks.d.ts +20 -20
  94. package/dist/common/hooks/usePrevious.d.ts +1 -1
  95. package/dist/common/hooks/useWidgetHeaderStyles.d.ts +24 -2
  96. package/dist/common/index.d.ts +3 -2
  97. package/dist/common/index.es.js +254 -1120
  98. package/dist/common/utils/AccountFilter.d.ts +1 -1
  99. package/dist/common/utils/PostMessage.d.ts +1 -0
  100. package/dist/common/utils/Theme.d.ts +10 -5
  101. package/dist/common/utils/index.d.ts +0 -5
  102. package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
  103. package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
  104. package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
  105. package/dist/{common → core}/api/BannerApi.d.ts +1 -1
  106. package/dist/{common → core}/api/BeatApi.d.ts +2 -2
  107. package/dist/{budgets → core}/api/BudgetsApi.d.ts +2 -2
  108. package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
  109. package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
  110. package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
  111. package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
  112. package/dist/{help → core}/api/HelpApi.d.ts +2 -2
  113. package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
  114. package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
  115. package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
  116. package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -2
  117. package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
  118. package/dist/{settings → core}/api/SettingsApi.d.ts +2 -2
  119. package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
  120. package/dist/{common → core}/api/UserApi.d.ts +2 -2
  121. package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
  122. package/dist/core/api/index.d.ts +20 -0
  123. package/dist/{common → core}/constants/ApiEndpoints.d.ts +0 -2
  124. package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
  125. package/dist/core/constants/Transaction.d.ts +10 -0
  126. package/dist/core/constants/index.d.ts +3 -0
  127. package/dist/core/index.d.ts +3 -1
  128. package/dist/core/index.es.js +106 -39
  129. package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
  130. package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
  131. package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
  132. package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
  133. package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
  134. package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
  135. package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -3
  136. package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
  137. package/dist/core/stores/DebtsStore.d.ts +22 -0
  138. package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
  139. package/dist/{common → core}/stores/GlobalCopyStore.d.ts +1 -1
  140. package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
  141. package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
  142. package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
  143. package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
  144. package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
  145. package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
  146. package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
  147. package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -2
  148. package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
  149. package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
  150. package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -5
  151. package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
  152. package/dist/{common → core}/stores/UserStore.d.ts +1 -1
  153. package/dist/core/stores/index.d.ts +24 -0
  154. package/dist/core/types/AppData.d.ts +16 -1
  155. package/dist/core/types/Client.d.ts +20 -13
  156. package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
  157. package/dist/core/types/Offer.d.ts +32 -0
  158. package/dist/core/types/index.d.ts +3 -1
  159. package/dist/core/types/localization/InsightsFeedCopy.d.ts +11 -0
  160. package/dist/core/types/localization/TransactionsCopy.d.ts +11 -6
  161. package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
  162. package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
  163. package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
  164. package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
  165. package/dist/core/utils/DebtUtils.d.ts +31 -0
  166. package/dist/{common → core}/utils/Fetch.d.ts +1 -1
  167. package/dist/core/utils/FinstrongUtils.d.ts +7 -0
  168. package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
  169. package/dist/core/utils/HelpUtil.d.ts +3 -0
  170. package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
  171. package/dist/{common → core}/utils/Localization.d.ts +2 -2
  172. package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
  173. package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
  174. package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
  175. package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
  176. package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
  177. package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
  178. package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
  179. package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
  180. package/dist/core/utils/index.d.ts +2 -0
  181. package/dist/dashboard/index.es.js +56 -56
  182. package/dist/debts/components/DebtsChart.d.ts +1 -1
  183. package/dist/debts/components/DebtsTable.d.ts +1 -1
  184. package/dist/debts/components/SnowballCard.d.ts +1 -1
  185. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +2 -1
  186. package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
  187. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
  188. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
  189. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
  190. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
  191. package/dist/debts/index.d.ts +0 -1
  192. package/dist/debts/index.es.js +600 -721
  193. package/dist/debts/utils/DebtsTable.d.ts +1 -1
  194. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  195. package/dist/finstrong/index.d.ts +0 -2
  196. package/dist/finstrong/index.es.js +1593 -1355
  197. package/dist/finstrong/util/finstrongUtils.d.ts +2 -8
  198. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  199. package/dist/goals/index.d.ts +0 -2
  200. package/dist/goals/index.es.js +420 -433
  201. package/dist/help/index.es.js +5 -5
  202. package/dist/help/utils/index.d.ts +0 -1
  203. package/dist/{hooks-BxkfR-Ff.mjs → hooks-BaO_gOI6.mjs} +16 -16
  204. package/dist/insights/components/index.d.ts +9 -0
  205. package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
  206. package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
  207. package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
  208. package/dist/insights/components/shared/Coupon.d.ts +8 -0
  209. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
  210. package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
  211. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
  212. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
  213. package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +2 -1
  214. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
  215. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +0 -2
  216. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +0 -2
  217. package/dist/insights/components/shared/InsightsCard/Description.d.ts +0 -2
  218. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +0 -2
  219. package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +1 -2
  220. package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
  221. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
  222. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
  223. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
  224. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
  225. package/dist/insights/components/shared/StatusIndicator.d.ts +3 -2
  226. package/dist/insights/components/shared/index.d.ts +1 -0
  227. package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
  228. package/dist/insights/index.d.ts +0 -1
  229. package/dist/insights/index.es.js +2144 -2013
  230. package/dist/insights/themes/Typography.d.ts +0 -2
  231. package/dist/insights/types/CommonBeat.d.ts +0 -1
  232. package/dist/investments/components/AnalysisDetails.d.ts +1 -1
  233. package/dist/investments/index.es.js +208 -210
  234. package/dist/merchants/index.d.ts +0 -1
  235. package/dist/merchants/index.es.js +18 -20
  236. package/dist/microinsights/InsightsMicroWidget.d.ts +1 -16
  237. package/dist/microinsights/cards/InsightCard.d.ts +1 -1
  238. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -2
  239. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -2
  240. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -2
  241. package/dist/microinsights/carousel/BeatList.d.ts +1 -1
  242. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
  243. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +2 -13
  244. package/dist/microinsights/index.d.ts +1 -1
  245. package/dist/microinsights/index.es.js +1 -1
  246. package/dist/microinsights/interfaces.d.ts +12 -37
  247. package/dist/microinsights/stores/CopyStore.d.ts +1 -1
  248. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
  249. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
  250. package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
  251. package/dist/networth/components/NetWorthChange.d.ts +1 -1
  252. package/dist/networth/components/NetWorthListItem.d.ts +1 -1
  253. package/dist/networth/components/NetWorthSummary.d.ts +1 -1
  254. package/dist/networth/index.d.ts +0 -4
  255. package/dist/networth/index.es.js +233 -240
  256. package/dist/notifications/index.d.ts +0 -2
  257. package/dist/notifications/index.es.js +28 -32
  258. package/dist/recurringtransactions/index.d.ts +0 -1
  259. package/dist/recurringtransactions/index.es.js +134 -137
  260. package/dist/settings/index.d.ts +0 -2
  261. package/dist/settings/index.es.js +146 -149
  262. package/dist/spending/index.es.js +142 -141
  263. package/dist/transactions/components/shared/TransactionList.d.ts +2 -3
  264. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +8 -0
  265. package/dist/transactions/components/shared/transactiondetails/actions/{HideAction.d.ts → ExcludeAction.d.ts} +2 -2
  266. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -1
  267. package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
  268. package/dist/transactions/context/hooks.d.ts +1 -1
  269. package/dist/transactions/index.d.ts +0 -5
  270. package/dist/transactions/index.es.js +277 -281
  271. package/dist/trends/index.d.ts +0 -1
  272. package/dist/trends/index.es.js +286 -288
  273. package/dist/trends/utils/shared.d.ts +1 -1
  274. package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
  275. package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
  276. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
  277. package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
  278. package/package.json +48 -42
  279. package/dist/AccountApi-ChQr5PAZ.mjs +0 -19
  280. package/dist/AccountDetailsHeader-D9gbTbUt.mjs +0 -95
  281. package/dist/AccountListItem-D9WJDbZ1.mjs +0 -94
  282. package/dist/AccountStore-DpYvNnql.mjs +0 -253
  283. package/dist/BeatApi-EFHXULDx.mjs +0 -21
  284. package/dist/BeatStore-C6CAT-ce.mjs +0 -81
  285. package/dist/BudgetUtil-CLhRnCoX.mjs +0 -479
  286. package/dist/CashflowStore-CeAzChyD.mjs +0 -91
  287. package/dist/CategoryStore-FTxUbn0f.mjs +0 -186
  288. package/dist/CategoryUtil-BVixr0d5.mjs +0 -80
  289. package/dist/DateUtil-wcYTmDRD.mjs +0 -54
  290. package/dist/DebtsStore-BZqNLaqd.mjs +0 -63
  291. package/dist/Fetch-B6tMJC1r.mjs +0 -120
  292. package/dist/FinstrongStore-BQxXxxYD.mjs +0 -451
  293. package/dist/Goal-0loDagc5.mjs +0 -6
  294. package/dist/GoalStore-fgXt--2Y.mjs +0 -418
  295. package/dist/MerchantStore-BzGi4JAZ.mjs +0 -37
  296. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
  297. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
  298. package/dist/NetWorthStore-BqZ44-4M.mjs +0 -168
  299. package/dist/NotificationStore-D_e8zo5M.mjs +0 -86
  300. package/dist/OnClickEvents-CseHDZ94.mjs +0 -87
  301. package/dist/RecurringTransactions-BCJp-Nap.mjs +0 -297
  302. package/dist/RecurringTransactionsStore-CkMA7gY3.mjs +0 -278
  303. package/dist/RepeatingTransaction-DF4vJn_v.mjs +0 -7
  304. package/dist/SettingsStore-BoIoiRLj.mjs +0 -269
  305. package/dist/StatusIndicator-4tWnjeKS.mjs +0 -264
  306. package/dist/Transaction-Cn5_iFm0.mjs +0 -5
  307. package/dist/TransactionApi-Ck5Ua-7F.mjs +0 -86
  308. package/dist/TransactionDetails-D1I1XEsT.mjs +0 -1469
  309. package/dist/TransactionStore-Bx9euVrY.mjs +0 -707
  310. package/dist/TrendsStore-CYdTo7cN.mjs +0 -183
  311. package/dist/ViewMoreMicroCard-D24H9kDm.mjs +0 -1291
  312. package/dist/WidgetContainer-eIj9JuK8.mjs +0 -456
  313. package/dist/accounts/stores/UiStore.d.ts +0 -10
  314. package/dist/accounts/utils/index.d.ts +0 -1
  315. package/dist/cashflow/api/CashflowApi.d.ts +0 -13
  316. package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
  317. package/dist/categories/stores/UiStore.d.ts +0 -20
  318. package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
  319. package/dist/common/api/index.d.ts +0 -10
  320. package/dist/common/stores/index.d.ts +0 -3
  321. package/dist/common/utils/Categories.d.ts +0 -6
  322. package/dist/debts/store/DebtsStore.d.ts +0 -10
  323. package/dist/debts/store/DebtsUiStore.d.ts +0 -13
  324. package/dist/debts/utils/DebtStore.d.ts +0 -4
  325. package/dist/debts/utils/DebtsWidget.d.ts +0 -20
  326. package/dist/debts/utils/shared.d.ts +0 -12
  327. package/dist/exportTransactionsToCSV-MCYH_zzN.mjs +0 -48
  328. package/dist/help/constants/index.d.ts +0 -1
  329. package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
  330. package/dist/repeatingTransactions-DHIG94pi.mjs +0 -4
  331. package/dist/transactions/analytics.d.ts +0 -3
  332. package/dist/transactions/constants/Transaction.d.ts +0 -2
  333. package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
  334. package/dist/transactions/stores/UiStore.d.ts +0 -25
  335. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
  336. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
  337. package/dist/useCombineEvents-Bqojlv8q.mjs +0 -92
  338. /package/dist/{common → core}/constants/Category.d.ts +0 -0
  339. /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
  340. /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
  341. /package/dist/{help → core}/constants/Help.d.ts +0 -0
  342. /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
  343. /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
  344. /package/dist/{common → core}/constants/Table.d.ts +0 -0
  345. /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,155 @@
1
+ ## [8.2.2] - 05-08-2026
2
+
3
+ - **UPDATED** - Narrowed microinsights component prop types and removed unused type exports
4
+
5
+ ## [8.2.1] - 05-07-2026
6
+
7
+ - **FIXED** - Widget scrolling behavior
8
+
9
+ ## [8.2.0] - 05-05-2026
10
+
11
+ - **UPDATED** - Moved all MobX stores into src/core/stores
12
+
13
+ ## [8.1.12] - 05-06-2026
14
+
15
+ - **FIXED** - Spendng Donut initializing with mismatched date range category totals
16
+
17
+ ## [8.1.11] - 05-05-2026
18
+
19
+ - **FIXED** - Spending chart crash on chart color index overflow
20
+
21
+ ## [8.1.10] - 05-05-2026
22
+
23
+ - **UPDATED** - Error component UI and no network fallback
24
+
25
+ ## [8.1.9] - 04-29-2026
26
+
27
+ - **FIXED** - Issue causing webviews to treat swipes on miniwidget as taps
28
+
29
+ ## [8.1.8] - 04-28-2026
30
+
31
+ - **FIXED** - Issue causing retirement goals not to display unless there were savings and/or debt goals
32
+
33
+ ## [8.1.7] - 04-27-2026
34
+
35
+ - **UPDATED** - Control available balance display via flag
36
+
37
+ ## [8.1.6] - 04-23-2026
38
+
39
+ - **UPDATED** - Change hidden transactions to excluded transactions
40
+ - **UPDATED** - Transaction list to always show hidden(excluded) transactions
41
+ - **ADDED** - Snackbar alerts for transaction exclude/include success and failure
42
+
43
+ ## [8.1.5] - 04-23-2026
44
+
45
+ - **FIXED** - Remove incorrect label from Goals Interest Rate Action
46
+
47
+ ## [8.1.4] - 04-22-2026
48
+
49
+ - **FIXED** - Cash Flow widget | center read-only date range
50
+
51
+ ## [8.1.3] - 04-22-2026
52
+
53
+ - **ADDED** - widget_size_changed event when the widget container size changes.
54
+
55
+ ## [8.1.2] - 04-22-2026
56
+
57
+ - **FIXED** - Widget header title flash on initial render
58
+ - **FIXED** - Menu button showing incorrectly on large viewports in compact containers
59
+
60
+ ## [8.1.1] - 04-22-2026
61
+
62
+ - **FIXED** - payment dates
63
+
64
+ ## [8.1.0] - 04-21-2026
65
+
66
+ **UPDATED** - All apis have been moved into `src/core/api`
67
+
68
+ ## [8.0.25] - 04-20-2026
69
+
70
+ - **ADDED** - `Error` component from MD
71
+
72
+ ## [8.0.24] - 04-20-2026
73
+
74
+ - **UPDATED** - `@tanstack/react-virtual` from 3.13.2 to 3.13.19
75
+
76
+ ## [8.0.23] - 04-20-2026
77
+
78
+ - **UPDATED** - `posthog-js` from 1.230.1 to 1.356.1
79
+
80
+ ## [8.0.22] - 04-18-2026
81
+
82
+ - **FIXED** - `CategoryBudget` label Bug.
83
+
84
+ ## [8.0.21] - 04-17-2026
85
+
86
+ - **ADDED** - `ClientConfigurableCta` for Insights Card
87
+
88
+ ## [8.0.20] - 04-15-2026
89
+
90
+ - **UPDATED** - Widget container header styles
91
+
92
+ ## [8.0.19] - 04-15-2026
93
+
94
+ - **ADDED** - Added `DrillDown Static Calculation Drawer` for SaveAnExtra and SaveEnoughToLiveOn beats
95
+
96
+ ## [8.0.18] - 04-15-2026
97
+
98
+ - **ADDED** - `DiscoveredAccountsConnect` component
99
+
100
+ ## [8.0.17] - 04-14-2026
101
+
102
+ - **ADDED** - `target_origin_referrer` to `ClientConfig` and `MasterConfig` types
103
+
104
+ ## [8.0.16] - 04-13-2026
105
+
106
+ - **ADDED** - Replenish Savings | DrillDown card
107
+
108
+ ## [8.0.15] - 04-13-2026
109
+
110
+ - **UPDATED** - Added `Embedded Card in Transaction Details` and the View History functionality | Transaction History Drilldown drawer
111
+
112
+ ## [8.0.14] - 04-10-2026
113
+
114
+ - **REMOVED** - unused `showCTAColocatedWithText` prop
115
+
116
+ ## [8.0.13] - 04-10-2026
117
+
118
+ - **FIXED** - `Transactions` - SplitTransaction Duplication Bug.
119
+
120
+ ## [8.0.12] - 04-10-2026
121
+
122
+ - **ADDED** - `Save an extra $100` component card added
123
+
124
+ ## [8.0.11] - 04-09-2026
125
+
126
+ - **ADDED** - Analytics for `TransactionTable` category cell click
127
+ - **FIXED** - `RecurringTransactions` to show yearly recurrences without past transactions within 90 days
128
+
129
+ ## [8.0.10] - 04-09-2026
130
+
131
+ - **ADDED** - `P2PMultipleCategorization` component.
132
+
133
+ ## [8.0.9] - 04-09-2026
134
+
135
+ - **ADDED** - `AccountBalanceCard` component.
136
+
137
+ ## [8.0.8] - 04-09-2026
138
+
139
+ - **ADDED** - `Connection Details` drillDown.
140
+
141
+ ## [8.0.7] - 04-08-2026
142
+
143
+ - **ADDED** - `Coupon` component
144
+
145
+ ## [8.0.6] - 04-08-2026
146
+
147
+ - **ADDED** - `P2P Category Single Account card` component added
148
+
149
+ ## [8.0.5] - 04-08-2026
150
+
151
+ - **ADDED** - `SaveEnoughToLiveOn` SVG component with theme support
152
+
1
153
  ## [8.0.4] - 04-07-2026
2
154
 
3
155
  - **ADDED** - `ConnectionCard` component
@@ -21,19 +173,19 @@
21
173
 
22
174
  - **UPDATED** - types by moving from common/types to core/types (BREAKING CHANGE)
23
175
 
24
- ## [7.13.21] - 04-03-2026
176
+ ## [7.13.22] - 04-03-2026
25
177
 
26
178
  - **FIXED** - `Spending` widget treating negative transactions as expenses
27
179
 
28
- ## [7.13.20] - 04-02-2026
180
+ ## [7.13.21] - 04-02-2026
29
181
 
30
182
  - **ADDED** - DonutChartV2 component for Insights MUI Refresh.
31
183
 
32
- ## [7.13.19] - 04-01-2026
184
+ ## [7.13.20] - 04-01-2026
33
185
 
34
186
  - **ADDED** - Introduced `TransactionCard` component for `Insights`.
35
187
 
36
- ## [7.13.18] - 04-01-2026
188
+ ## [7.13.19] - 04-01-2026
37
189
 
38
190
  - **FIXED** - Budget date now aligns with selected month
39
191
 
@@ -838,16 +990,7 @@
838
990
 
839
991
  ## [7.2.14] - 11-24-2025
840
992
 
841
- =======
842
-
843
- ## [7.2.14] - 11-25-2025
844
-
845
- > > > > > > > fd2b3985 (Icon cleanup)
846
-
847
993
  - **UPDATED** - remove uneeded client color scheme reference from `microinsights`
848
-
849
- > > > > > > > 38a99394 (remove client color scheme references)
850
-
851
994
  - **UPDATED** - icon code cleanup in `microinsights`
852
995
 
853
996
  ## [7.2.13] - 11-24-2025
@@ -109,10 +109,10 @@ export {
109
109
  U as S,
110
110
  M as a,
111
111
  G as b,
112
- C as c,
113
- N as d,
114
- H as e,
115
- A as f,
112
+ A as c,
113
+ H as d,
114
+ C as e,
115
+ N as f,
116
116
  R as g,
117
117
  T as h
118
118
  };
@@ -1,4 +1,4 @@
1
- import { A as C } from "./Account-BiB1F8lL.mjs";
1
+ import { A as C } from "./Account-BaJmiJAG.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -0,0 +1,95 @@
1
+ import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
+ import { observer as _ } from "mobx-react-lite";
3
+ import s from "@mui/material/Stack";
4
+ import { H3 as x, InstitutionLogo as D, Text as d, H2 as N } from "@mxenabled/mxui";
5
+ import { f as P } from "./NumberFormatting--XMeeBfr.mjs";
6
+ import p from "react";
7
+ import { G, d as f, l as O, f as R, a as v, u as w } from "./hooks-BaO_gOI6.mjs";
8
+ import { g as L } from "./AccountFields-CAy0x_4i.mjs";
9
+ import { A as i } from "./Account-BaJmiJAG.mjs";
10
+ import H from "@mui/material/Card";
11
+ import M from "@mui/material/CardContent";
12
+ import U from "@mui/material/CardHeader";
13
+ import { L as Y } from "./Loader-CxeBwuPG.mjs";
14
+ import { I as j, P as z, S as k } from "./Account-BxHMlV9R.mjs";
15
+ import { u as B } from "./useAccountDisplayName-CFa_MrS6.mjs";
16
+ const C = () => {
17
+ if (!p.useContext(G))
18
+ throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
19
+ return f().uiStore;
20
+ }, F = (o, e) => {
21
+ const c = [i.LOAN, i.MORTGAGE, i.PROPERTY].includes(
22
+ o
23
+ ), n = [
24
+ i.CREDIT_CARD,
25
+ i.LINE_OF_CREDIT,
26
+ i.PREPAID,
27
+ i.CHECKING_LINE_OF_CREDIT
28
+ ].includes(o);
29
+ return c ? { title: e.label_payments, description: e.chart_title_payments } : n ? { title: e.label_payments_spend, description: e.chart_title_payments_spend } : { title: e.label_income_spend, description: e.chart_title_income_spend };
30
+ }, V = ({
31
+ sx: o,
32
+ ChartComponent: e,
33
+ header: c
34
+ }) => {
35
+ const { loadMonthlyCategoryTotals: n } = O(), { isInitialized: l } = R(), { selectedAccount: a } = C(), [u, m] = p.useState(!1);
36
+ return p.useEffect(() => {
37
+ l && n([a]).finally(() => {
38
+ m(!0);
39
+ });
40
+ }, [l, a]), !l || !u ? /* @__PURE__ */ t(Y, {}) : /* @__PURE__ */ r(
41
+ H,
42
+ {
43
+ sx: {
44
+ "& .MuiCardContent-root:last-child": {
45
+ pb: 0
46
+ },
47
+ ...o
48
+ },
49
+ children: [
50
+ /* @__PURE__ */ t(U, { sx: { pb: 0 }, title: /* @__PURE__ */ t(x, { sx: { pb: 4 }, children: c }) }),
51
+ /* @__PURE__ */ t(M, { sx: { p: 0 }, children: e ? /* @__PURE__ */ t(e, {}) : null })
52
+ ]
53
+ }
54
+ );
55
+ }, W = _(V), $ = ({
56
+ customDetailsChart: o,
57
+ ChartComponent: e
58
+ }) => {
59
+ const { institutions: c } = f(), { selectedAccount: n } = C(), { config: l } = v(), { accounts: a } = w(), { firstSubtitle: u, firstValue: m, hasAvailableBalance: b, secondSubtitle: h, secondValue: A } = L(n, a, l.display_available_balance_in_accounts), y = c.find(
60
+ (T) => T.guid === n?.institution_guid
61
+ ), g = [
62
+ ...j,
63
+ ...z,
64
+ ...k
65
+ ].includes(n.account_type), E = B(n), { title: S, description: I } = F(n.account_type, a);
66
+ return /* @__PURE__ */ r(s, { bgcolor: "background.default", p: 24, children: [
67
+ /* @__PURE__ */ r(s, { gap: 12, children: [
68
+ /* @__PURE__ */ t(
69
+ D,
70
+ {
71
+ alt: a.institution_logo_alt,
72
+ institutionGuid: n.institution_guid || "",
73
+ size: 64
74
+ }
75
+ ),
76
+ /* @__PURE__ */ t(d, { variant: "body2", children: y?.name })
77
+ ] }),
78
+ /* @__PURE__ */ r(s, { gap: 8, mb: 24, mt: 4, children: [
79
+ /* @__PURE__ */ t(N, { children: E }),
80
+ /* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
81
+ /* @__PURE__ */ t(d, { bold: b, variant: "body1", children: u }),
82
+ /* @__PURE__ */ t(d, { bold: !0, variant: "body1", children: P(m, "0,0.00") })
83
+ ] }),
84
+ /* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
85
+ /* @__PURE__ */ t(d, { variant: "body2", children: h }),
86
+ /* @__PURE__ */ t(d, { variant: "body2", children: A })
87
+ ] })
88
+ ] }),
89
+ g && /* @__PURE__ */ t(s, { "aria-label": I, role: "img", children: o || /* @__PURE__ */ t(W, { ChartComponent: e, header: S }) })
90
+ ] });
91
+ }, lt = _($);
92
+ export {
93
+ lt as A,
94
+ C as u
95
+ };
@@ -1,13 +1,14 @@
1
- import { jsx as u } from "react/jsx-runtime";
2
- import { Icon as p, Text as y } from "@mxenabled/mxui";
3
- import { A as d, a as v, P as h, b as F } from "./Account-BiB1F8lL.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-o7ohkngR.mjs";
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { Text as v, Icon as b } from "@mxenabled/mxui";
3
+ import { A as d, a as h, P as F, b as T } from "./Account-BaJmiJAG.mjs";
4
+ import { i as A, u as D, a as g, b as O, c as C } from "./AccountUtils-T5_Odvos.mjs";
5
5
  import { F as m } from "./Accounts-CseLC3lL.mjs";
6
- import { f as _, i as b, a as N, b as C } from "./NumberFormatting-QCaNwbjv.mjs";
7
- import { b as i } from "./Localization-CPkpIwIx.mjs";
8
- import { f as o, D as f } from "./DateFormats-BMpMrZpW.mjs";
9
- const x = (l, e) => {
10
- const r = [
6
+ import { f as N } from "./DateUtil-Bhq59ZVg.mjs";
7
+ import { f as s, i as o, a as S, b as I } from "./NumberFormatting--XMeeBfr.mjs";
8
+ import { b as i } from "./Localization-DnoVyBNK.mjs";
9
+ import { f, D as c } from "./DateFormats-HudZ3Bjs.mjs";
10
+ const Y = (l, e) => {
11
+ const n = [
11
12
  {
12
13
  event: "account_details_click_account_name",
13
14
  label: e.account_name,
@@ -18,123 +19,123 @@ const x = (l, e) => {
18
19
  valueFormatter: (a) => a
19
20
  }
20
21
  ];
21
- if (T(l)) {
22
- r.unshift({
22
+ if (A(l)) {
23
+ n.unshift({
23
24
  label: e.account_balance,
24
25
  name: "balance",
25
26
  placeholder: i(e.enter_value, e.account_balance),
26
27
  type: m.Currency,
27
- valueFormatter: (t) => _(t, "0,0.00")
28
+ valueFormatter: (t) => s(t, "0,0.00")
28
29
  });
29
30
  const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
30
31
  label: e.account_types[t],
31
32
  value: Number(t),
32
- icon: /* @__PURE__ */ u(p, { name: v[t] })
33
+ icon: /* @__PURE__ */ p(b, { name: h[t] })
33
34
  }));
34
- r.push({
35
+ n.push({
35
36
  label: e.account_type,
36
37
  name: "account_type",
37
38
  options: a,
38
39
  placeholder: i(e.select_value, e.account_type),
39
40
  type: m.Select,
40
- valueFormatter: (t) => a.find((n) => n.value === t)?.label
41
+ valueFormatter: (t) => a.find((r) => r.value === t)?.label
41
42
  });
42
43
  }
43
44
  if (l.account_type === d.PROPERTY) {
44
- const a = Object.keys(h).filter((t) => Number(t)).map((t) => ({
45
+ const a = Object.keys(F).filter((t) => Number(t)).map((t) => ({
45
46
  label: e.property_types[t],
46
47
  value: Number(t),
47
- icon: /* @__PURE__ */ u(p, { name: F[t] })
48
+ icon: /* @__PURE__ */ p(b, { name: T[t] })
48
49
  }));
49
- r.push({
50
+ n.push({
50
51
  label: e.property_type,
51
52
  name: "property_type",
52
53
  options: a,
53
54
  placeholder: i(e.select_value, e.property_type),
54
55
  type: m.Select,
55
- valueFormatter: (t) => a.find((n) => n.value === t)?.label
56
+ valueFormatter: (t) => a.find((r) => r.value === t)?.label
56
57
  });
57
58
  }
58
59
  if (D(l)) {
59
60
  let a = e.interest_rate, t = "interest_rate";
60
- l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
61
+ l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), n.push({
61
62
  event: "account_details_click_interest_rate",
62
63
  label: a,
63
64
  name: t,
64
65
  placeholder: i(e.enter_value, a),
65
66
  type: m.Input,
66
- validation: (n) => b(n) ? "" : e.error_amount_is_invalid,
67
- valueFormatter: (n) => b(n) ? N(n / 100) : n
67
+ validation: (r) => o(r) ? "" : e.error_amount_is_invalid,
68
+ valueFormatter: (r) => o(r) ? S(r / 100) : r
68
69
  });
69
70
  }
70
- return A(l) && (r.push({
71
+ return g(l) && (n.push({
71
72
  label: e.minimum_payment,
72
73
  name: "minimum_payment",
73
74
  placeholder: i(e.enter_value, e.minimum_payment),
74
75
  type: m.Currency,
75
- valueFormatter: (a) => _(a, "0,0.00")
76
- }), l.payment_due_at ? r.push({
76
+ valueFormatter: (a) => s(a, "0,0.00")
77
+ }), l.payment_due_at ? n.push({
77
78
  label: e.next_payment,
78
79
  name: "payment_due_at",
79
80
  type: m.Date,
80
81
  valueFormatter: (a) => {
81
82
  const t = typeof a == "number" ? new Date(a * 1e3) : a;
82
- return o(t, f.MED_MONTH_SHORT_DAY_FULL_YEAR);
83
+ return f(t, c.MED_MONTH_SHORT_DAY_FULL_YEAR);
83
84
  }
84
- }) : r.push({
85
+ }) : n.push({
85
86
  label: e.day_payment_due,
86
87
  name: "day_payment_is_due",
87
88
  placeholder: i(e.enter_value, e.day_payment_due),
88
89
  type: m.Date,
89
90
  valueFormatter: (a) => i(
90
91
  e.day_of_every_month,
91
- C(a <= 31 ? a : new Date(a).getDate())
92
+ I(a <= 31 ? a : new Date(a).getDate())
92
93
  )
93
- })), g(l) && r.push({
94
+ })), O(l) && n.push({
94
95
  label: e.credit_limit,
95
96
  name: "credit_limit",
96
97
  placeholder: i(e.enter_value, e.credit_limit),
97
98
  type: m.Currency,
98
- valueFormatter: (a) => _(a, "0,0.00")
99
- }), O(l) && r.push({
99
+ valueFormatter: (a) => s(a, "0,0.00")
100
+ }), C(l) && n.push({
100
101
  label: e.original_balance,
101
102
  minAmount: 1,
102
103
  name: "original_balance",
103
104
  placeholder: i(e.enter_value, e.original_balance),
104
105
  type: m.Currency,
105
- valueFormatter: (a) => _(a, "0,0.00")
106
- }), r;
107
- }, S = (l, e) => {
108
- let r = "", a = null, t = null, n = null, s = !1;
106
+ valueFormatter: (a) => s(a, "0,0.00")
107
+ }), n;
108
+ }, L = (l, e, n) => {
109
+ let a = "", t = null, r = null, _ = null, u = !1;
109
110
  switch (l.account_type) {
110
111
  case 1:
111
112
  case 2: {
112
- l.available_balance ? (r = e.available_balance, a = l.available_balance, t = l.available_balance ? e.current_balance : null, n = _(l.balance, "0,0.00"), s = !0) : (r = e.current_balance, a = l.balance);
113
+ l.available_balance && n ? (a = e.available_balance, t = l.available_balance, r = l.available_balance ? e.current_balance : null, _ = s(l.balance, "0,0.00"), u = !0) : (a = e.current_balance, t = l.balance);
113
114
  break;
114
115
  }
115
116
  default:
116
- if (r = e.current_balance, a = l.balance, l.minimum_payment && l.payment_due_at) {
117
- const c = typeof l.payment_due_at == "number" ? new Date(l.payment_due_at * 1e3) : l.payment_due_at;
118
- t = /* @__PURE__ */ u(y, { component: "strong", variant: "caption", children: i(
117
+ if (a = e.current_balance, t = l.balance, l.minimum_payment && l.payment_due_at) {
118
+ const y = N(l.payment_due_at);
119
+ r = /* @__PURE__ */ p(v, { component: "strong", variant: "caption", children: i(
119
120
  e.payment_due_on,
120
- _(l.minimum_payment, "0,0.00"),
121
- o(c, f.FULL_MONTH_DAY)
121
+ s(l.minimum_payment, "0,0.00"),
122
+ f(y, c.FULL_MONTH_DAY)
122
123
  ) });
123
- } else l.credit_limit && (t = e.available_credit, n = _(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
124
+ } else l.credit_limit && (r = e.available_credit, _ = s(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
124
125
  }
125
126
  return {
126
- firstSubtitle: r,
127
- firstValue: a,
128
- secondSubtitle: t,
129
- secondValue: n,
130
- hasAvailableBalance: s
127
+ firstSubtitle: a,
128
+ firstValue: t,
129
+ secondSubtitle: r,
130
+ secondValue: _,
131
+ hasAvailableBalance: u
131
132
  };
132
- }, B = (l, e) => l.reduce((a, t) => {
133
- const s = S(t, e).firstValue || 0;
134
- return a + s;
133
+ }, j = (l, e, n) => l.reduce((t, r) => {
134
+ const u = L(r, e, n).firstValue || 0;
135
+ return t + u;
135
136
  }, 0);
136
137
  export {
137
- x as a,
138
- B as b,
139
- S as g
138
+ Y as a,
139
+ j as b,
140
+ L as g
140
141
  };
@@ -0,0 +1,94 @@
1
+ import { jsx as e, jsxs as o, Fragment as c } from "react/jsx-runtime";
2
+ import { observer as _ } from "mobx-react-lite";
3
+ import I from "@mui/material/Badge";
4
+ import m from "@mui/material/Box";
5
+ import v from "@mui/material/ListItem";
6
+ import C from "@mui/material/ListItemAvatar";
7
+ import S from "@mui/material/ListItemButton";
8
+ import A from "@mui/material/ListItemText";
9
+ import { useTheme as L } from "@mui/material/styles";
10
+ import { InstitutionLogo as B, Text as r } from "@mxenabled/mxui";
11
+ import { Error as j } from "@mxenabled/mx-icons";
12
+ import { I as T } from "./IconBacking-DgT8DCeh.mjs";
13
+ import { f as $ } from "./NumberFormatting--XMeeBfr.mjs";
14
+ import { g as k } from "./AccountFields-CAy0x_4i.mjs";
15
+ import { u as E } from "./useAccountDisplayName-CFa_MrS6.mjs";
16
+ import { a as M, u as w } from "./hooks-BaO_gOI6.mjs";
17
+ import { C as d } from "./Account-BaJmiJAG.mjs";
18
+ const z = {
19
+ gridRow: 1,
20
+ gridColumn: 1,
21
+ zIndex: 2
22
+ }, D = ({ size: t = 20 }) => /* @__PURE__ */ e(T, { size: t, children: /* @__PURE__ */ e(j, { color: "error", filled: !0, sx: { fontSize: t, ...z } }) }), G = ({
23
+ account: t,
24
+ onRowClick: n,
25
+ listItemProps: s,
26
+ shouldShowConnectionStatus: p = !1
27
+ }) => {
28
+ const u = L(), f = E(t), { config: g } = M(), { accounts: i } = w(), { firstSubtitle: h, firstValue: b, secondSubtitle: x, secondValue: y } = k(
29
+ t,
30
+ i,
31
+ g.display_available_balance_in_accounts
32
+ );
33
+ let a;
34
+ (t.connectionStatus === d.Error || t.connectionStatus === d.RequiresMfa) && (a = /* @__PURE__ */ e(D, { size: 16 }));
35
+ const l = /* @__PURE__ */ o(c, { children: [
36
+ /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
37
+ I,
38
+ {
39
+ badgeContent: p ? a : void 0,
40
+ sx: {
41
+ "& .MuiBadge-badge": {
42
+ right: -1
43
+ }
44
+ },
45
+ children: /* @__PURE__ */ e(B, { alt: "MX", institutionGuid: t.institution_guid || "" })
46
+ }
47
+ ) }),
48
+ /* @__PURE__ */ e(
49
+ A,
50
+ {
51
+ disableTypography: !0,
52
+ primary: /* @__PURE__ */ o(
53
+ r,
54
+ {
55
+ bold: !0,
56
+ color: t.is_hidden ? u.palette.text.secondary : void 0,
57
+ variant: "body1",
58
+ children: [
59
+ `${f} ${t.account_number ? `*${t.account_number}` : ""}`,
60
+ " ",
61
+ t.is_hidden && !t.is_closed && i.is_hidden,
62
+ t.is_closed && i.is_closed
63
+ ]
64
+ }
65
+ ),
66
+ secondary: /* @__PURE__ */ o(c, { children: [
67
+ /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
68
+ /* @__PURE__ */ e(r, { variant: "caption", children: h }),
69
+ /* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: $(b, "0,0.00") })
70
+ ] }),
71
+ /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
72
+ /* @__PURE__ */ e(r, { variant: "caption", children: x }),
73
+ /* @__PURE__ */ e(r, { ml: "auto", variant: "caption", children: y })
74
+ ] })
75
+ ] })
76
+ }
77
+ )
78
+ ] });
79
+ return /* @__PURE__ */ e(
80
+ v,
81
+ {
82
+ ...s,
83
+ sx: {
84
+ backgroundColor: "background.paper",
85
+ color: t.is_closed ? "grey.700" : "",
86
+ ...s?.sx
87
+ },
88
+ children: n ? /* @__PURE__ */ e(S, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: l }) : l
89
+ }
90
+ );
91
+ }, et = _(G);
92
+ export {
93
+ et as A
94
+ };
@@ -1,4 +1,4 @@
1
- import { A as e, C as u, E as p, c as y, M as d } from "./Account-BiB1F8lL.mjs";
1
+ import { A as e, C as u, E as p, e as y, M as d } from "./Account-BaJmiJAG.mjs";
2
2
  const m = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, f = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, R = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, N = (t, n, s, _, a) => t.filter((i) => !(i.member_is_managed_by_user && _)).filter((i) => !(!i.member_is_managed_by_user && a)).sort(C).map((i) => {
3
3
  const r = n.find((c) => c.guid === i.institution_guid), o = s.find((c) => c.guid === i.member_guid);
4
4
  return E(i, r, o);
@@ -0,0 +1,53 @@
1
+ import u from "react";
2
+ import { getUnixTime as r } from "date-fns/getUnixTime";
3
+ import { A as l } from "./GlobalCopyApi-wcnDUzMV.mjs";
4
+ const A = (s, i) => {
5
+ const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticEvent && typeof n?.onAnalyticEvent == "function" ? [...e, n.onAnalyticEvent] : e, []), a = [...s, ...o];
6
+ return u.useMemo(() => (e) => {
7
+ a.forEach((n) => {
8
+ t ? n(e, t) : n(e);
9
+ });
10
+ }, [s, t]);
11
+ }, d = (s, i) => {
12
+ const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticPageView && typeof n?.onAnalyticPageView == "function" ? [...e, n.onAnalyticPageView] : e, []), a = [...s, ...o];
13
+ return u.useMemo(() => (e) => {
14
+ a.forEach((n) => {
15
+ t ? n(e, t) : n(e);
16
+ });
17
+ }, [s, t]);
18
+ }, w = async (s, i, t = "1.0.0", o = "Experiences") => {
19
+ const a = new l(s, i), { analytics_session: e } = await a.initializeAnalyticsSession(
20
+ t,
21
+ o
22
+ ), n = window.location.hostname;
23
+ return {
24
+ sendAnalyticEvent: async (c) => await a.sendAnalyticEvent({
25
+ analytics_event: {
26
+ ...c,
27
+ app_version: "widgets-v2",
28
+ created_at: r(/* @__PURE__ */ new Date()).toString(),
29
+ host: n,
30
+ name: c?.label || "",
31
+ session_id: e.guid,
32
+ user_agent: navigator.userAgent || "",
33
+ version: 2
34
+ }
35
+ }),
36
+ sendAnalyticsPageview: async (c) => await a.sendAnalyticsPageview({
37
+ analytics_pageview: {
38
+ ...c,
39
+ app_version: "widgets-v2",
40
+ created_at: r(/* @__PURE__ */ new Date()).toString(),
41
+ host: n,
42
+ name: c.name,
43
+ session_id: e.guid,
44
+ user_agent: navigator.userAgent || ""
45
+ }
46
+ })
47
+ };
48
+ };
49
+ export {
50
+ w as a,
51
+ d as b,
52
+ A as u
53
+ };
@@ -96,6 +96,7 @@ const _ = {
96
96
  TRANSACTION_DETAILS_CLICK_TAGS: "transaction_details_click_tags",
97
97
  TRANSACTION_DETAILS_CLICK_UNSPLIT: "transaction_details_click_unsplit_transaction",
98
98
  TRANSACTION_DETAILS_VIEW: "transaction_details",
99
+ TRANSACTIONS_TABLE_CLICK_CATEGORY: "transactions_table_click_category",
99
100
  WIDGET_BACK_CLICK: "widget_back_button_click",
100
101
  // NEW ANAYTICS EVENT FORMAT
101
102
  // widget_action_subject
@@ -127,7 +128,8 @@ const _ = {
127
128
  TRENDS_HOVER_POINT: "trends_hover_chartPoint",
128
129
  TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
129
130
  TRENDS_LOAD_WIDGET: "trends_load_widget",
130
- TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
131
+ TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions",
132
+ WIDGET_SIZE_CHANGED: "widget_size_changed"
131
133
  };
132
134
  export {
133
135
  _ as A