@mx-cartographer/experiences 9.3.8-alpha.al1 → 9.4.1-alpha.al0

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 (325) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/dist/accounts/components/AccountListItem.es.js +4 -4
  3. package/dist/accounts/components/AccountsListCompact.es.js +15 -15
  4. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +6 -6
  5. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +6 -6
  6. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +11 -11
  7. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +6 -6
  8. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +7 -7
  9. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +4 -4
  10. package/dist/budgets/components/BudgetDetailsDrawer.es.js +79 -80
  11. package/dist/budgets/components/BudgetDetailsDrawer.es.js.map +1 -1
  12. package/dist/budgets/components/BudgetsEmptyState.es.js +7 -7
  13. package/dist/budgets/components/budgetdetails/AddSubBudget.es.js +39 -39
  14. package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -1
  15. package/dist/budgets/components/budgetdetails/SubBudgetAmounts.d.ts +10 -0
  16. package/dist/budgets/components/budgetdetails/SubBudgetAmounts.es.js +58 -0
  17. package/dist/budgets/components/budgetdetails/SubBudgetAmounts.es.js.map +1 -0
  18. package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +26 -26
  19. package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
  20. package/dist/budgets/components/budgetlist/BudgetRow.es.js +15 -26
  21. package/dist/budgets/components/budgetlist/BudgetRow.es.js.map +1 -1
  22. package/dist/budgets/components/budgetlist/SubBudgetRow.es.js +12 -55
  23. package/dist/budgets/components/budgetlist/SubBudgetRow.es.js.map +1 -1
  24. package/dist/budgets/components/shared/BudgetAmount.d.ts +3 -7
  25. package/dist/budgets/components/shared/BudgetAmount.es.js +18 -40
  26. package/dist/budgets/components/shared/BudgetAmount.es.js.map +1 -1
  27. package/dist/budgets/components/shared/BudgetDonut.d.ts +8 -0
  28. package/dist/budgets/components/shared/BudgetDonut.es.js +25 -0
  29. package/dist/budgets/components/shared/BudgetDonut.es.js.map +1 -0
  30. package/dist/budgets/components/shared/SubBudgetCategory.d.ts +7 -0
  31. package/dist/budgets/components/shared/SubBudgetCategory.es.js +45 -0
  32. package/dist/budgets/components/shared/SubBudgetCategory.es.js.map +1 -0
  33. package/dist/cashflow/CashflowOnboarding.es.js +13 -13
  34. package/dist/cashflow/components/CashflowHeading.es.js +4 -4
  35. package/dist/cashflow/components/DetailsExpenseHeader.es.js +4 -4
  36. package/dist/common/components/DataRow.es.js +6 -6
  37. package/dist/common/components/MiniWidgetContainer.es.js +9 -9
  38. package/dist/common/components/charts/linechart/CustomLine.es.js +2 -2
  39. package/dist/common/components/charts/linechart/CustomMark.es.js +2 -2
  40. package/dist/common/context/hooks.d.ts +1 -0
  41. package/dist/common/context/hooks.es.js +12 -11
  42. package/dist/common/context/hooks.es.js.map +1 -1
  43. package/dist/common/context/index.d.ts +1 -1
  44. package/dist/common/index.es.js +116 -115
  45. package/dist/core/index.es.js +27 -25
  46. package/dist/core/stores/BudgetsStore.d.ts +3 -1
  47. package/dist/core/stores/BudgetsStore.es.js +36 -35
  48. package/dist/core/stores/BudgetsStore.es.js.map +1 -1
  49. package/dist/core/stores/GlobalStore.d.ts +2 -1
  50. package/dist/core/stores/GlobalStore.es.js +11 -9
  51. package/dist/core/stores/GlobalStore.es.js.map +1 -1
  52. package/dist/core/stores/InsightsV2Store.d.ts +24 -0
  53. package/dist/core/stores/InsightsV2Store.es.js +41 -0
  54. package/dist/core/stores/InsightsV2Store.es.js.map +1 -0
  55. package/dist/core/stores/index.d.ts +2 -0
  56. package/dist/core/types/Beat.d.ts +2 -0
  57. package/dist/core/types/Beat.es.js.map +1 -1
  58. package/dist/core/types/Insights.d.ts +90 -0
  59. package/dist/core/types/InsightsInstanceSlotData.d.ts +93 -0
  60. package/dist/core/types/InsightsInstanceSlotData.es.js +8 -0
  61. package/dist/core/types/InsightsInstanceSlotData.es.js.map +1 -0
  62. package/dist/core/types/index.d.ts +1 -0
  63. package/dist/core/types/localization/BudgetsCopy.d.ts +3 -0
  64. package/dist/debts/DebtsWidget.es.js +5 -5
  65. package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +3 -3
  66. package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +6 -6
  67. package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +8 -8
  68. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +2 -2
  69. package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +8 -8
  70. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +5 -5
  71. package/dist/finstrong/components/shared/Accounts.es.js +24 -24
  72. package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +2 -2
  73. package/dist/finstrong/components/shared/Transactions.es.js +28 -28
  74. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  75. package/dist/goals/GoalsWidget.es.js +12 -12
  76. package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +13 -13
  77. package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +14 -14
  78. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +2 -2
  79. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +9 -9
  80. package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +4 -4
  81. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +4 -4
  82. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +2 -2
  83. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +2 -2
  84. package/dist/insights/components/shared/MenuAction.es.js +16 -16
  85. package/dist/insights-v2/CommonUtils.d.ts +1 -0
  86. package/dist/insights-v2/CommonUtils.es.js +7 -0
  87. package/dist/insights-v2/CommonUtils.es.js.map +1 -0
  88. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.d.ts +3 -0
  89. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +28 -0
  90. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -0
  91. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/index.d.ts +1 -0
  92. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.d.ts +9 -0
  93. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js +9 -0
  94. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js.map +1 -0
  95. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.d.ts +18 -0
  96. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +34 -0
  97. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js.map +1 -0
  98. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.d.ts +13 -0
  99. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js +87 -0
  100. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js.map +1 -0
  101. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.d.ts +4 -0
  102. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js +23 -0
  103. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js.map +1 -0
  104. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/index.d.ts +1 -0
  105. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.d.ts +19 -0
  106. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js +15 -0
  107. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js.map +1 -0
  108. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.d.ts +3 -0
  109. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js +11 -0
  110. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js.map +1 -0
  111. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.d.ts +7 -0
  112. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js +48 -0
  113. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js.map +1 -0
  114. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.d.ts +18 -0
  115. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js +45 -0
  116. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js.map +1 -0
  117. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.d.ts +2 -0
  118. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js +125 -0
  119. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js.map +1 -0
  120. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/index.d.ts +1 -0
  121. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.d.ts +8 -0
  122. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +10 -0
  123. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -0
  124. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.d.ts +4 -0
  125. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js +28 -0
  126. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js.map +1 -0
  127. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.d.ts +8 -0
  128. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js +44 -0
  129. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js.map +1 -0
  130. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/index.d.ts +1 -0
  131. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.d.ts +4 -0
  132. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js +15 -0
  133. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js.map +1 -0
  134. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.d.ts +9 -0
  135. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js +13 -0
  136. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js.map +1 -0
  137. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.d.ts +19 -0
  138. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js +27 -0
  139. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js.map +1 -0
  140. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.d.ts +5 -0
  141. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js +78 -0
  142. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js.map +1 -0
  143. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.d.ts +5 -0
  144. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js +81 -0
  145. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js.map +1 -0
  146. package/dist/insights-v2/blocks/ChartBlocks/index.d.ts +5 -0
  147. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.d.ts +4 -0
  148. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +200 -0
  149. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -0
  150. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.d.ts +5 -0
  151. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js +26 -0
  152. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js.map +1 -0
  153. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.d.ts +7 -0
  154. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js +64 -0
  155. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js.map +1 -0
  156. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/index.d.ts +1 -0
  157. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +32 -0
  158. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +100 -0
  159. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -0
  160. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.d.ts +8 -0
  161. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js +41 -0
  162. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js.map +1 -0
  163. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.d.ts +4 -0
  164. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js +32 -0
  165. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js.map +1 -0
  166. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.d.ts +3 -0
  167. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +50 -0
  168. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js.map +1 -0
  169. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/index.d.ts +1 -0
  170. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.d.ts +7 -0
  171. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js +12 -0
  172. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js.map +1 -0
  173. package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +2 -0
  174. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.d.ts +4 -0
  175. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js +35 -0
  176. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js.map +1 -0
  177. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.d.ts +3 -0
  178. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js +20 -0
  179. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js.map +1 -0
  180. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js +296 -0
  181. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js.map +1 -0
  182. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js +449 -0
  183. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js.map +1 -0
  184. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js +89 -0
  185. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js.map +1 -0
  186. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js +235 -0
  187. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js.map +1 -0
  188. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js +57 -0
  189. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
  190. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/index.d.ts +1 -0
  191. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.d.ts +7 -0
  192. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js +15 -0
  193. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js.map +1 -0
  194. package/dist/insights-v2/blocks/ImageBlocks/index.d.ts +2 -0
  195. package/dist/insights-v2/blocks/index.d.ts +4 -0
  196. package/dist/insights-v2/blocks/types.d.ts +8 -0
  197. package/dist/insights-v2/components/AccountHeroCard.d.ts +35 -0
  198. package/dist/insights-v2/components/AccountHeroCard.es.js +91 -0
  199. package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -0
  200. package/dist/insights-v2/components/AmountPill.d.ts +16 -0
  201. package/dist/insights-v2/components/AmountPill.es.js +25 -0
  202. package/dist/insights-v2/components/AmountPill.es.js.map +1 -0
  203. package/dist/insights-v2/components/BaseLayout.d.ts +6 -0
  204. package/dist/insights-v2/components/BaseLayout.es.js +77 -0
  205. package/dist/insights-v2/components/BaseLayout.es.js.map +1 -0
  206. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.d.ts +22 -0
  207. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js +33 -0
  208. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js.map +1 -0
  209. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.d.ts +14 -0
  210. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js +65 -0
  211. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js.map +1 -0
  212. package/dist/insights-v2/components/DesignateEmergencySavingsCard.d.ts +33 -0
  213. package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js +78 -0
  214. package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js.map +1 -0
  215. package/dist/insights-v2/components/Footer.d.ts +9 -0
  216. package/dist/insights-v2/components/Footer.es.js +25 -0
  217. package/dist/insights-v2/components/Footer.es.js.map +1 -0
  218. package/dist/insights-v2/components/Header.d.ts +8 -0
  219. package/dist/insights-v2/components/Header.es.js +41 -0
  220. package/dist/insights-v2/components/Header.es.js.map +1 -0
  221. package/dist/insights-v2/components/InsightTransactionRow.d.ts +23 -0
  222. package/dist/insights-v2/components/InsightTransactionRow.es.js +52 -0
  223. package/dist/insights-v2/components/InsightTransactionRow.es.js.map +1 -0
  224. package/dist/insights-v2/components/LogoClusterCard.d.ts +40 -0
  225. package/dist/insights-v2/components/LogoClusterCard.es.js +104 -0
  226. package/dist/insights-v2/components/LogoClusterCard.es.js.map +1 -0
  227. package/dist/insights-v2/components/LogoTile.d.ts +31 -0
  228. package/dist/insights-v2/components/LogoTile.es.js +34 -0
  229. package/dist/insights-v2/components/LogoTile.es.js.map +1 -0
  230. package/dist/insights-v2/components/MerchantHighlightCard.d.ts +34 -0
  231. package/dist/insights-v2/components/MerchantHighlightCard.es.js +64 -0
  232. package/dist/insights-v2/components/MerchantHighlightCard.es.js.map +1 -0
  233. package/dist/insights-v2/components/P2PLogoStack.d.ts +32 -0
  234. package/dist/insights-v2/components/P2PLogoStack.es.js +55 -0
  235. package/dist/insights-v2/components/P2PLogoStack.es.js.map +1 -0
  236. package/dist/insights-v2/components/SaveAnExtraCard.d.ts +27 -0
  237. package/dist/insights-v2/components/SaveAnExtraCard.es.js +57 -0
  238. package/dist/insights-v2/components/SaveAnExtraCard.es.js.map +1 -0
  239. package/dist/insights-v2/components/SavingsOpportunityCard.d.ts +18 -0
  240. package/dist/insights-v2/components/SavingsOpportunityCard.es.js +71 -0
  241. package/dist/insights-v2/components/SavingsOpportunityCard.es.js.map +1 -0
  242. package/dist/insights-v2/components/StatusMessageCard.d.ts +28 -0
  243. package/dist/insights-v2/components/StatusMessageCard.es.js +45 -0
  244. package/dist/insights-v2/components/StatusMessageCard.es.js.map +1 -0
  245. package/dist/insights-v2/components/StatusPill.d.ts +26 -0
  246. package/dist/insights-v2/components/StatusPill.es.js +30 -0
  247. package/dist/insights-v2/components/StatusPill.es.js.map +1 -0
  248. package/dist/insights-v2/components/SubHeader.d.ts +6 -0
  249. package/dist/insights-v2/components/SubHeader.es.js +40 -0
  250. package/dist/insights-v2/components/SubHeader.es.js.map +1 -0
  251. package/dist/insights-v2/components/SubscriptionHeroCard.d.ts +27 -0
  252. package/dist/insights-v2/components/SubscriptionHeroCard.es.js +63 -0
  253. package/dist/insights-v2/components/SubscriptionHeroCard.es.js.map +1 -0
  254. package/dist/insights-v2/components/TransactionListCard.d.ts +45 -0
  255. package/dist/insights-v2/components/TransactionListCard.es.js +118 -0
  256. package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -0
  257. package/dist/insights-v2/components/TransferLogoCard.d.ts +44 -0
  258. package/dist/insights-v2/components/TransferLogoCard.es.js +121 -0
  259. package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -0
  260. package/dist/insights-v2/components/UpcomingBillCard.d.ts +41 -0
  261. package/dist/insights-v2/components/UpcomingBillCard.es.js +99 -0
  262. package/dist/insights-v2/components/UpcomingBillCard.es.js.map +1 -0
  263. package/dist/insights-v2/components/celebrationGradients.d.ts +19 -0
  264. package/dist/insights-v2/components/celebrationGradients.es.js +7 -0
  265. package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -0
  266. package/dist/insights-v2/components/chartblocks/BarchartV2.d.ts +2 -0
  267. package/dist/insights-v2/components/chartblocks/BarchartV2.es.js +148 -0
  268. package/dist/insights-v2/components/chartblocks/BarchartV2.es.js.map +1 -0
  269. package/dist/insights-v2/components/chartblocks/EmptyBarChart.d.ts +1 -0
  270. package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +14 -0
  271. package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js.map +1 -0
  272. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.d.ts +2 -0
  273. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js +49 -0
  274. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js.map +1 -0
  275. package/dist/insights-v2/components/logoShadow.d.ts +26 -0
  276. package/dist/insights-v2/components/logoShadow.es.js +12 -0
  277. package/dist/insights-v2/components/logoShadow.es.js.map +1 -0
  278. package/dist/insights-v2/components/shared/Confetti.d.ts +15 -0
  279. package/dist/insights-v2/components/shared/Confetti.es.js +33 -0
  280. package/dist/insights-v2/components/shared/Confetti.es.js.map +1 -0
  281. package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js +338 -0
  282. package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js.map +1 -0
  283. package/dist/insights-v2/components/shared/images/PaidOffCard.es.js +85 -0
  284. package/dist/insights-v2/components/shared/images/PaidOffCard.es.js.map +1 -0
  285. package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js +124 -0
  286. package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js.map +1 -0
  287. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js +104 -0
  288. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js.map +1 -0
  289. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js +104 -0
  290. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js.map +1 -0
  291. package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js +38 -0
  292. package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js.map +1 -0
  293. package/dist/insights-v2/components/statusTokens.d.ts +12 -0
  294. package/dist/insights-v2/components/statusTokens.es.js +10 -0
  295. package/dist/insights-v2/components/statusTokens.es.js.map +1 -0
  296. package/dist/insights-v2/hooks/useContainerDimensions.d.ts +5 -0
  297. package/dist/insights-v2/hooks/useContainerDimensions.es.js +26 -0
  298. package/dist/insights-v2/hooks/useContainerDimensions.es.js.map +1 -0
  299. package/dist/insights-v2/index.d.ts +18 -0
  300. package/dist/insights-v2/index.es.js +55 -0
  301. package/dist/insights-v2/mappings/blocks.d.ts +14 -0
  302. package/dist/insights-v2/mappings/blocks.es.js +32 -0
  303. package/dist/insights-v2/mappings/blocks.es.js.map +1 -0
  304. package/dist/investments/InvestmentsWidget.es.js +10 -10
  305. package/dist/investments/components/AnalysisDetails.es.js +4 -4
  306. package/dist/investments/components/allocation/InvestementAllocationList.es.js +27 -27
  307. package/dist/microinsights/MicroCardTemplate.es.js +4 -4
  308. package/dist/microinsights/carousel/BeatList.es.js +9 -9
  309. package/dist/networth/NetWorthWidget.es.js +6 -6
  310. package/dist/networth/components/AssetsLiabilitiesDetail.es.js +2 -2
  311. package/dist/networth/components/GainsLossesDetail.es.js +13 -13
  312. package/dist/notifications/components/NotificationDrawer.es.js +5 -5
  313. package/dist/notifications/components/NotificationList.es.js +13 -13
  314. package/dist/recurringtransactions/components/MicroWidgetContent.es.js +13 -13
  315. package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
  316. package/dist/recurringtransactions/components/RecurringStatus.es.js +4 -4
  317. package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +19 -19
  318. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +9 -9
  319. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +5 -5
  320. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +25 -25
  321. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +5 -5
  322. package/dist/settings/components/notifications/NotificationSettings.es.js +12 -12
  323. package/dist/settings/components/profile/ProfileTab.es.js +20 -20
  324. package/dist/trends/TrendsWidget.es.js +25 -25
  325. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,22 @@
1
- ## [9.3.8] - 08-24-2026
2
1
 
3
- - **FIXED** - Sub-budget budgeted totals now roll up to parent budget budgeted total
2
+ ## [9.4.1] - 08-25-2026
3
+
4
+ - **UPDATED** - Sub budget totals now roll up to parent budget total
5
+
6
+ ## [9.4.0] - 08-25-2026
7
+
8
+ - **ADDED** - insights-v2.0 module: comprehensive reusable component library for insights UI
9
+ - **ADDED** - Chart blocks: BarChart, DoubleBarChart, DonutChart, StepChart, DoubleProgressBar (WEC-1256, WEC-1257, WEC-1258, WEC-1259, WEC-1260)
10
+ - **ADDED** - Content blocks: AccountBlock (with/without confetti variants), BudgetBlock (category/merchant), ActionBlock foundation (WEC-1309, WEC-1312, WEC-1315, WEC-1704)
11
+ - **ADDED** - Image blocks: SVG Block (with CIBC support), Image Block (WEC-1295, WEC-1296, WEC-1335)
12
+ - **ADDED** - Reusable components: AccountHeroCard, TransferLogoCard, MerchantHighlightCard, MerchantLogo, LogoClusterCard, LogoTile, MerchantLogoCard, P2PLogoStack, RankBadge, InsightTransactionRow, TransactionListCard, TransactionRow, DesignateEmergencySavingsCard, SaveAnExtraCard, SavingsOpportunityCard, UpcomingBillCard (WEC-1303, WEC-1305, WEC-1313, WEC-1714, WEC-1750)
13
+ - **ADDED** - Support components: StatusMessageCard, StatusPill, AmountPill, celebrationGradients module with confetti animations
14
+ - **ADDED** - Block type system: standardized block structure (BlockType, BlockConfig, BlockData), moved to `src/core/types/blocks/`, renamed `block_data` to `instance_slot_data` (WEC-1344)
15
+ - **ADDED** - Insight template system and mini layout support (WEC-1253, WEC-1254)
16
+ - **ADDED** - Storybook stories for all 40+ new components and blocks with interactive examples
17
+ - **ADDED** - RTL tests for all components with 85%+ code coverage across the insights-v2.0 module
18
+ - **CHANGED** - Block type definitions now centralized in `src/core/types/blocks/` with proper TypeScript exports
19
+ - **NOTE** - All insights-v2.0 components are presentational (stateless); data provided by consumers; ready for integration into blocks and containers
4
20
 
5
21
  ## [9.3.7] - 08-20-2026
6
22
 
@@ -11,8 +11,8 @@ import { Fragment as d, jsx as e, jsxs as r } from "react/jsx-runtime";
11
11
  import { useTheme as j } from "@mui/material/styles";
12
12
  import c from "@mui/material/Box";
13
13
  import T from "@mui/material/ListItem";
14
- import M from "@mui/material/ListItemButton";
15
- import $ from "@mui/material/ListItemText";
14
+ import $ from "@mui/material/ListItemButton";
15
+ import M from "@mui/material/ListItemText";
16
16
  import k from "@mui/material/ListItemAvatar";
17
17
  import D from "@mui/material/Badge";
18
18
  var E = ({ account: t, onRowClick: n, listItemProps: s, shouldShowConnectionStatus: p = !1 }) => {
@@ -26,7 +26,7 @@ var E = ({ account: t, onRowClick: n, listItemProps: s, shouldShowConnectionStat
26
26
  alt: "MX",
27
27
  institutionGuid: t.institution_guid || ""
28
28
  })
29
- }) }), /* @__PURE__ */ e($, {
29
+ }) }), /* @__PURE__ */ e(M, {
30
30
  disableTypography: !0,
31
31
  primary: /* @__PURE__ */ r(i, {
32
32
  bold: !0,
@@ -76,7 +76,7 @@ var E = ({ account: t, onRowClick: n, listItemProps: s, shouldShowConnectionStat
76
76
  color: t.is_closed ? "grey.700" : "",
77
77
  ...s?.sx
78
78
  },
79
- children: n ? /* @__PURE__ */ e(M, {
79
+ children: n ? /* @__PURE__ */ e($, {
80
80
  alignItems: "flex-start",
81
81
  onClick: n,
82
82
  sx: { px: 24 },
@@ -9,17 +9,17 @@ import { InstitutionLogo as D, P as k, Text as b } from "@mxenabled/mxui";
9
9
  import { Fragment as w, jsx as t, jsxs as s } from "react/jsx-runtime";
10
10
  import y from "@mui/material/Divider";
11
11
  import S from "@mui/material/List";
12
- import j from "@mui/material/ListItem";
13
- import G from "@mui/material/ListItemButton";
14
- import N from "@mui/material/ListItemText";
15
- import $ from "@mui/material/ListItemAvatar";
12
+ import $ from "@mui/material/ListItem";
13
+ import j from "@mui/material/ListItemButton";
14
+ import G from "@mui/material/ListItemText";
15
+ import N from "@mui/material/ListItemAvatar";
16
16
  import M from "@mui/material/ListSubheader";
17
- var P = ({ onClick: i, shouldShowBalance: m = !0, loadAccounts: c }) => {
17
+ var P = ({ onClick: i, shouldShowBalance: c = !0, loadAccounts: m }) => {
18
18
  const { config: p } = L(), { accounts: l } = A(), { selectedAccounts: n } = C(), h = a.useCallback((e) => {
19
19
  i?.(e);
20
- }, [i]), _ = a.useMemo(() => Array.from(new Set(n.map((e) => e.account_type))).filter((e) => c ? c.includes(e) : !0), [n, c]);
21
- return n.length ? /* @__PURE__ */ t(a.Fragment, { children: _.map((e) => {
22
- const { accountsForType: u, totalBalanceForType: g } = n.reduce((r, o) => (o.account_type === e && (r.accountsForType.push(o), r.totalBalanceForType += o.balance || 0), r), {
20
+ }, [i]), g = a.useMemo(() => Array.from(new Set(n.map((e) => e.account_type))).filter((e) => m ? m.includes(e) : !0), [n, m]);
21
+ return n.length ? /* @__PURE__ */ t(a.Fragment, { children: g.map((e) => {
22
+ const { accountsForType: u, totalBalanceForType: _ } = n.reduce((r, o) => (o.account_type === e && (r.accountsForType.push(o), r.totalBalanceForType += o.balance || 0), r), {
23
23
  accountsForType: [],
24
24
  totalBalanceForType: 0
25
25
  });
@@ -40,21 +40,21 @@ var P = ({ onClick: i, shouldShowBalance: m = !0, loadAccounts: c }) => {
40
40
  bold: !0,
41
41
  variant: "caption",
42
42
  children: l.account_types[e]
43
- }), m && /* @__PURE__ */ t(b, {
43
+ }), c && /* @__PURE__ */ t(b, {
44
44
  bold: !0,
45
45
  variant: "caption",
46
- children: f(g, "0,0.00")
46
+ children: f(_, "0,0.00")
47
47
  })]
48
48
  })
49
49
  }),
50
50
  sx: { bgcolor: "background.paper" },
51
51
  children: [u.map((r, o) => {
52
52
  const { firstValue: x } = T(r, l, p.display_available_balance_in_accounts), v = F(r, { allowNickname: p?.show_account_nicknames_in_master }), d = /* @__PURE__ */ s(w, { children: [
53
- /* @__PURE__ */ t($, { children: /* @__PURE__ */ t(D, {
53
+ /* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(D, {
54
54
  alt: "MX",
55
55
  institutionGuid: r.institution_guid ?? ""
56
56
  }) }),
57
- /* @__PURE__ */ t(N, {
57
+ /* @__PURE__ */ t(G, {
58
58
  primary: `${v}${r.account_number ? ` *${r.account_number}` : ""}`,
59
59
  slotProps: { primary: {
60
60
  noWrap: !0,
@@ -62,15 +62,15 @@ var P = ({ onClick: i, shouldShowBalance: m = !0, loadAccounts: c }) => {
62
62
  variant: "body1"
63
63
  } }
64
64
  }),
65
- m && /* @__PURE__ */ t(k, {
65
+ c && /* @__PURE__ */ t(k, {
66
66
  bold: !0,
67
67
  variant: "body2",
68
68
  children: f(x ?? 0, "0,0.00")
69
69
  })
70
70
  ] });
71
- return /* @__PURE__ */ s(a.Fragment, { children: [/* @__PURE__ */ t(j, {
71
+ return /* @__PURE__ */ s(a.Fragment, { children: [/* @__PURE__ */ t($, {
72
72
  sx: { px: i ? 0 : 24 },
73
- children: i ? /* @__PURE__ */ t(G, {
73
+ children: i ? /* @__PURE__ */ t(j, {
74
74
  onClick: () => h(r),
75
75
  children: d
76
76
  }) : d
@@ -1,6 +1,6 @@
1
1
  import { buildDynamicCopy as A } from "../../../../core/utils/Localization.es.js";
2
2
  import { useAccountStore as M, useEvent as k, useGlobalCopyStore as v, useTransactionStore as D } from "../../../../common/context/hooks.es.js";
3
- import C from "../../../../common/components/dialog/Dialog.es.js";
3
+ import g from "../../../../common/components/dialog/Dialog.es.js";
4
4
  import E from "../../../../common/components/drawer/Drawer.es.js";
5
5
  import { ANALYTICS_EVENTS as _ } from "../../../../common/constants/Analytics.es.js";
6
6
  import { useAccountUiStore as O } from "../../../hooks/useUiStore.es.js";
@@ -9,7 +9,7 @@ import { useGetMergeableAccounts as P } from "../../../hooks/useGetMergeableAcco
9
9
  import U from "../../AccountListItem.es.js";
10
10
  import n from "react";
11
11
  import { observer as K } from "mobx-react-lite";
12
- import { Icon as g, Text as r } from "@mxenabled/mxui";
12
+ import { Icon as C, Text as r } from "@mxenabled/mxui";
13
13
  import { Fragment as N, jsx as t, jsxs as s } from "react/jsx-runtime";
14
14
  import R from "@mui/material/List";
15
15
  import G from "@mui/material/Switch";
@@ -57,9 +57,9 @@ var B = () => {
57
57
  },
58
58
  primaryText: e.is_closed ? o.mark_as_open : o.mark_as_closed,
59
59
  secondaryText: e.is_closed ? o.this_will_set_the_closed_account : o.this_will_set_the_account_balance_to_0,
60
- children: [/* @__PURE__ */ t(g, { name: "chevron_right" }), /* @__PURE__ */ t("div", {
60
+ children: [/* @__PURE__ */ t(C, { name: "chevron_right" }), /* @__PURE__ */ t("div", {
61
61
  onClick: (c) => c.stopPropagation(),
62
- children: /* @__PURE__ */ t(C, {
62
+ children: /* @__PURE__ */ t(g, {
63
63
  copy: {
64
64
  close_aria: o.close_modal,
65
65
  title: e.is_closed ? o.confirm_mark_as_open : o.confirm_mark_closed
@@ -83,7 +83,7 @@ var B = () => {
83
83
  },
84
84
  primaryText: o.mark_as_duplicate,
85
85
  secondaryText: o.if_a_connected_account_is_showing_up_twice,
86
- children: /* @__PURE__ */ t(g, { name: "chevron_right" })
86
+ children: /* @__PURE__ */ t(C, { name: "chevron_right" })
87
87
  }),
88
88
  /* @__PURE__ */ s(E, {
89
89
  ariaLabelClose: o.close_drawer,
@@ -110,7 +110,7 @@ var B = () => {
110
110
  h(!0), b(c);
111
111
  }
112
112
  }, c.guid);
113
- }) }), m && /* @__PURE__ */ s(C, {
113
+ }) }), m && /* @__PURE__ */ s(g, {
114
114
  copy: {
115
115
  close_aria: o.close_modal,
116
116
  title: o.confirm_merge
@@ -7,7 +7,7 @@ import { getConnectionMessages as S } from "../../../utils/getConnectionMessages
7
7
  import v from "react";
8
8
  import { observer as M } from "mobx-react-lite";
9
9
  import w from "@mui/material/Stack";
10
- import { Icon as g, Text as h } from "@mxenabled/mxui";
10
+ import { Icon as p, Text as h } from "@mxenabled/mxui";
11
11
  import { CheckCircle as I, Error as L, Language as z } from "@mxenabled/mx-icons";
12
12
  import { Fragment as a, jsx as o, jsxs as n } from "react/jsx-runtime";
13
13
  import { useTheme as R } from "@mui/material/styles";
@@ -23,7 +23,7 @@ var m = {
23
23
  gridColumn: 1,
24
24
  zIndex: 2
25
25
  }, B = () => {
26
- const [l, d] = v.useState(!1), { palette: { mode: u } } = R(), { selectedMember: e } = _(), { accounts: p, connect: C } = y(), t = S(e, C), r = x.includes(e.connection_status) ? {
26
+ const [l, d] = v.useState(!1), { palette: { mode: u } } = R(), { selectedMember: e } = _(), { accounts: g, connect: C } = y(), t = S(e, C), r = x.includes(e.connection_status) ? {
27
27
  color: "error.main",
28
28
  ctaCopy: t.cta ?? "",
29
29
  icon: /* @__PURE__ */ o(L, {
@@ -52,7 +52,7 @@ var m = {
52
52
  bold: !0,
53
53
  component: "h2",
54
54
  variant: "caption",
55
- children: p.connection_status
55
+ children: g.connection_status
56
56
  })
57
57
  }),
58
58
  /* @__PURE__ */ o(b, {
@@ -109,7 +109,7 @@ var m = {
109
109
  })
110
110
  ] })
111
111
  }),
112
- /* @__PURE__ */ o(g, { name: "chevron_right" })
112
+ /* @__PURE__ */ o(p, { name: "chevron_right" })
113
113
  ]
114
114
  })
115
115
  }),
@@ -139,7 +139,7 @@ var m = {
139
139
  primary: e.name,
140
140
  secondary: e.institution_url
141
141
  }),
142
- /* @__PURE__ */ o(g, { name: "launch" })
142
+ /* @__PURE__ */ o(p, { name: "launch" })
143
143
  ]
144
144
  })
145
145
  }) }),
@@ -147,7 +147,7 @@ var m = {
147
147
  loadWidgetProps: { current_member_guid: e.guid },
148
148
  onClose: () => d(!1),
149
149
  showConnectWidget: l,
150
- title: p.manage_connection
150
+ title: g.manage_connection
151
151
  })
152
152
  ] });
153
153
  }, X = M(B);
@@ -1,17 +1,17 @@
1
1
  import { useEvent as v, useGlobalCopyStore as y } from "../../../../common/context/hooks.es.js";
2
2
  import { useAccountUiStore as C } from "../../../hooks/useUiStore.es.js";
3
3
  import { getAccountDetailFields as E } from "../../../utils/AccountFields.es.js";
4
- import S from "./AccountDetailEdit.es.js";
4
+ import F from "./AccountDetailEdit.es.js";
5
5
  import n from "react";
6
- import { observer as A } from "mobx-react-lite";
7
- import { Icon as D, Text as p } from "@mxenabled/mxui";
8
- import { Fragment as F, jsx as e, jsxs as b } from "react/jsx-runtime";
6
+ import { observer as S } from "mobx-react-lite";
7
+ import { Icon as A, Text as p } from "@mxenabled/mxui";
8
+ import { Fragment as D, jsx as e, jsxs as b } from "react/jsx-runtime";
9
9
  import g from "@mui/material/ListItem";
10
10
  import k from "@mui/material/ListItemButton";
11
11
  import w from "@mui/material/ListItemText";
12
12
  var T = () => {
13
- const f = window.app?.config, { onEvent: h } = v(), { selectedAccount: o } = C(), { accounts: _ } = y(), i = E(o, _), a = o.member_is_managed_by_user || !o.member_is_managed_by_user && f.enable_renaming_home_accounts, [s, c] = n.useState(!1), [m, x] = n.useState(i[0]), r = i.filter((t) => a || o[t.name] || o[t.name] === 0);
14
- return /* @__PURE__ */ b(F, { children: [r.map((t) => {
13
+ const f = window.app?.config, { onEvent: h } = v(), { selectedAccount: o } = C(), { accounts: _ } = y(), a = E(o, _), i = o.member_is_managed_by_user || !o.member_is_managed_by_user && f.enable_renaming_home_accounts, [s, c] = n.useState(!1), [m, x] = n.useState(a[0]), r = a.filter((t) => i || o[t.name] || o[t.name] === 0);
14
+ return /* @__PURE__ */ b(D, { children: [r.map((t) => {
15
15
  const l = o[t.name] || o[t.name] === 0, d = r.indexOf(t) === r.length - 1, u = /* @__PURE__ */ e(w, {
16
16
  disableTypography: !0,
17
17
  primary: /* @__PURE__ */ e(p, {
@@ -24,7 +24,7 @@ var T = () => {
24
24
  children: l ? t.valueFormatter(o[t.name]) : t.placeholder
25
25
  })
26
26
  });
27
- return /* @__PURE__ */ e(n.Fragment, { children: a ? /* @__PURE__ */ e(g, {
27
+ return /* @__PURE__ */ e(n.Fragment, { children: i ? /* @__PURE__ */ e(g, {
28
28
  sx: {
29
29
  backgroundColor: "background.paper",
30
30
  px: 0,
@@ -43,7 +43,7 @@ var T = () => {
43
43
  onClick: () => {
44
44
  x(t), c(!0), t?.event && h(t.event, { account_guid: o.guid });
45
45
  },
46
- children: [u, /* @__PURE__ */ e(D, { name: "chevron_right" })]
46
+ children: [u, /* @__PURE__ */ e(A, { name: "chevron_right" })]
47
47
  })
48
48
  }) : l && /* @__PURE__ */ e(g, {
49
49
  sx: {
@@ -62,14 +62,14 @@ var T = () => {
62
62
  },
63
63
  children: u
64
64
  }) }, t.name);
65
- }), s && m && /* @__PURE__ */ e(S, {
65
+ }), s && m && /* @__PURE__ */ e(F, {
66
66
  field: m,
67
67
  isOpen: s,
68
68
  onClose: () => c(!1)
69
69
  })] });
70
- }, q = A(T);
70
+ }, $ = S(T);
71
71
  export {
72
- q as default
72
+ $ as default
73
73
  };
74
74
 
75
75
  //# sourceMappingURL=AccountDetails.es.js.map
@@ -1,8 +1,8 @@
1
1
  import { useGlobalCopyStore as s } from "../../../../common/context/hooks.es.js";
2
2
  import r from "../../../../common/components/TabContentContainer.es.js";
3
3
  import c from "./AccountDetailsTab.es.js";
4
- import d from "./ConnectionErrorMessage.es.js";
5
- import m from "../Transactions/TransactionsTab.es.js";
4
+ import m from "./ConnectionErrorMessage.es.js";
5
+ import d from "../Transactions/TransactionsTab.es.js";
6
6
  import u from "react";
7
7
  import { observer as b } from "mobx-react-lite";
8
8
  import { Fragment as f, jsx as a, jsxs as n } from "react/jsx-runtime";
@@ -11,7 +11,7 @@ import p from "@mui/material/Tabs";
11
11
  var C = () => {
12
12
  const [t, o] = u.useState(0), { accounts: e } = s();
13
13
  return /* @__PURE__ */ n(f, { children: [
14
- /* @__PURE__ */ a(d, { setTabValue: o }),
14
+ /* @__PURE__ */ a(m, { setTabValue: o }),
15
15
  /* @__PURE__ */ n(p, {
16
16
  "aria-label": e.transactions_and_details_aria,
17
17
  centered: !0,
@@ -33,7 +33,7 @@ var C = () => {
33
33
  index: 0,
34
34
  name: "transaction-details",
35
35
  value: t,
36
- children: /* @__PURE__ */ a(m, {})
36
+ children: /* @__PURE__ */ a(d, {})
37
37
  }),
38
38
  /* @__PURE__ */ a(r, {
39
39
  index: 1,
@@ -42,9 +42,9 @@ var C = () => {
42
42
  children: /* @__PURE__ */ a(c, {})
43
43
  })
44
44
  ] });
45
- }, V = b(C);
45
+ }, S = b(C);
46
46
  export {
47
- V as default
47
+ S as default
48
48
  };
49
49
 
50
50
  //# sourceMappingURL=AccountDetailsContent.es.js.map
@@ -8,23 +8,23 @@ import { observer as C } from "mobx-react-lite";
8
8
  import { Text as b } from "@mxenabled/mxui";
9
9
  import h from "@mui/material/Paper";
10
10
  import { Error as x } from "@mxenabled/mx-icons";
11
- import { Fragment as S, jsx as o, jsxs as c } from "react/jsx-runtime";
11
+ import { Fragment as S, jsx as o, jsxs as a } from "react/jsx-runtime";
12
12
  import _ from "@mui/material/Alert";
13
13
  import v from "@mui/material/AlertTitle";
14
14
  import w from "@mui/material/Link";
15
- var y = ({ setTabValue: a }) => {
15
+ var y = ({ setTabValue: c }) => {
16
16
  const [n, i] = s.useState(!1), { selectedMember: e } = p(), { accounts: m, connect: l } = f(), t = e.connection_status && u.includes(e.connection_status);
17
17
  if (s.useEffect(() => {
18
- t && a(1);
18
+ t && c(1);
19
19
  }, [t]), !t) return;
20
20
  const r = g(e, l);
21
- return /* @__PURE__ */ c(S, { children: [/* @__PURE__ */ o(h, {
21
+ return /* @__PURE__ */ a(S, { children: [/* @__PURE__ */ o(h, {
22
22
  sx: {
23
23
  mb: 16,
24
24
  mt: 24,
25
25
  mx: 24
26
26
  },
27
- children: /* @__PURE__ */ c(_, {
27
+ children: /* @__PURE__ */ a(_, {
28
28
  icon: /* @__PURE__ */ o(x, { filled: !0 }),
29
29
  role: "none",
30
30
  severity: "error",
@@ -67,9 +67,9 @@ var y = ({ setTabValue: a }) => {
67
67
  showConnectWidget: n,
68
68
  title: m.manage_connection
69
69
  })] });
70
- }, G = C(y);
70
+ }, B = C(y);
71
71
  export {
72
- G as default
72
+ B as default
73
73
  };
74
74
 
75
75
  //# sourceMappingURL=ConnectionErrorMessage.es.js.map
@@ -6,8 +6,8 @@ import S from "../../../../transactions/components/shared/TransactionList.es.js"
6
6
  import A from "../../../../transactions/components/shared/TransactionDetails.es.js";
7
7
  import t from "react";
8
8
  import { observer as b } from "mobx-react-lite";
9
- import { Fragment as y, jsx as a, jsxs as D } from "react/jsx-runtime";
10
- import { endOfToday as g, startOfToday as v, subDays as L } from "date-fns";
9
+ import { Fragment as g, jsx as a, jsxs as y } from "react/jsx-runtime";
10
+ import { endOfToday as D, startOfToday as v, subDays as L } from "date-fns";
11
11
  var N = () => {
12
12
  const [o, e] = t.useState(""), { onEvent: c } = l(), { selectedAccount: r } = E(), { accounts: s } = T(), { isTransactionDataLoaded: f, loadTransactionData: u, setFilter: d, sortedTransactions: n } = p();
13
13
  t.useEffect(() => {
@@ -18,11 +18,11 @@ var N = () => {
18
18
  d({
19
19
  dateRange: {
20
20
  start: L(v(), 90),
21
- end: g()
21
+ end: D()
22
22
  },
23
23
  accounts: [r.guid]
24
24
  });
25
- }, [r]), t.useEffect(() => c(C.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ D(y, { children: [/* @__PURE__ */ a(S, { onClick: e }), i && /* @__PURE__ */ a(_, {
25
+ }, [r]), t.useEffect(() => c(C.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ y(g, { children: [/* @__PURE__ */ a(S, { onClick: e }), i && /* @__PURE__ */ a(_, {
26
26
  ariaLabelClose: s.close_drawer,
27
27
  isOpen: !!o,
28
28
  onClose: () => e(""),
@@ -1,145 +1,144 @@
1
- import { buildDynamicCopy as p } from "../../core/utils/Localization.es.js";
2
- import { useBudgetsStore as L, useGlobalCopyStore as q, useGlobalUiStore as J, useTransactionStore as K } from "../../common/context/hooks.es.js";
1
+ import { buildDynamicCopy as b } from "../../core/utils/Localization.es.js";
2
+ import { useBudgetsStore as H, useGlobalCopyStore as L, useGlobalUiStore as M, useTransactionStore as q } from "../../common/context/hooks.es.js";
3
3
  import C from "../../common/components/dialog/Dialog.es.js";
4
- import M from "../../common/components/drawer/Drawer.es.js";
5
- import { BudgetAmount as Q } from "./shared/BudgetAmount.es.js";
6
- import { BudgetDetails as V } from "./budgetdetails/BudgetDetails.es.js";
7
- import a from "react";
4
+ import J from "../../common/components/drawer/Drawer.es.js";
5
+ import { BudgetAmount as K } from "./shared/BudgetAmount.es.js";
6
+ import { BudgetDetails as Q } from "./budgetdetails/BudgetDetails.es.js";
7
+ import { SubBudgetAmounts as V } from "./budgetdetails/SubBudgetAmounts.es.js";
8
+ import s from "react";
8
9
  import { observer as W } from "mobx-react-lite";
9
10
  import { Text as X } from "@mxenabled/mxui";
10
- import { jsx as n, jsxs as v } from "react/jsx-runtime";
11
+ import { jsx as n, jsxs as y } from "react/jsx-runtime";
11
12
  import Y from "@mui/material/Alert";
12
13
  import Z from "@mui/material/Snackbar";
13
- var me = W(() => {
14
- const { selectedAccountGuids: N } = J(), { budgets: r, common: l } = q(), { alert: b, dateRange: D, deleteBudget: x, selectedBudget: e, selectedSubBudget: O, setAlert: i, setSelectedBudget: T, updateBudget: y } = L(), { setFilter: w } = K(), [P, f] = a.useState(!1), [E, c] = a.useState(!1), [$, _] = a.useState(!1), [s, u] = a.useState(""), [m, g] = a.useState({});
15
- a.useEffect(() => {
16
- if (e && !O) {
17
- u(`${e.amount}`);
14
+ var ge = W(() => {
15
+ const { selectedAccountGuids: v } = M(), { budgets: r, common: m } = L(), { alert: f, dateRange: N, deleteBudget: x, selectedBudget: e, selectedSubBudget: D, setAlert: u, setSelectedBudget: O, updateBudget: _ } = H(), { setFilter: T } = q(), [w, S] = s.useState(!1), [E, g] = s.useState(!1), [P, B] = s.useState(!1), [a, d] = s.useState(""), [c, p] = s.useState({});
16
+ s.useEffect(() => {
17
+ if (e && !D) {
18
+ d(`${e.amount}`);
18
19
  const o = {};
19
20
  e.subBudgets.forEach((t) => {
20
21
  o[t.guid] = `${t.amount}`;
21
- }), g(o), f(!0), w({
22
- accounts: N,
23
- dateRange: D,
22
+ }), p(o), S(!0), T({
23
+ accounts: v,
24
+ dateRange: N,
24
25
  custom: (t) => t.category_guid === e.category_guid || t.top_level_category_guid === e.category_guid,
25
26
  showSplits: !0
26
27
  });
27
28
  }
28
29
  }, [e]);
29
- const I = (o, t) => {
30
- g((d) => {
31
- const A = {
32
- ...d,
33
- [o]: t
34
- }, k = e?.subBudgets.reduce((z, H) => z + (Number(A[H.guid]) || 0), 0);
35
- return u(`${k ?? 0}`), A;
36
- });
37
- }, G = async () => {
30
+ const $ = (o, t) => {
31
+ const i = {
32
+ ...c,
33
+ [o]: t
34
+ }, R = e?.subBudgets.reduce((U, z) => U + (Number(i[z.guid]) || 0), 0);
35
+ p(i), d(`${R ?? 0}`);
36
+ }, I = async () => {
38
37
  if (e) {
39
- if (e.subBudgets.length > 0) {
40
- const o = e.subBudgets.map((t) => {
41
- const d = Number(m[t.guid] ?? t.amount);
42
- return y({
43
- ...t,
44
- amount: d,
45
- percentage: t.category.currentAmount / (d || 1) * 100
46
- });
38
+ let o = !0;
39
+ e.subBudgets.length > 0 ? o = (await Promise.all(e.subBudgets.map((t) => {
40
+ const i = Number(c[t.guid] ?? t.amount);
41
+ return _({
42
+ ...t,
43
+ amount: i,
44
+ percentage: t.category.currentAmount / (i || 1) * 100
47
45
  });
48
- await Promise.all(o);
49
- } else await y({
46
+ }))).every((t) => t.isSuccess) : o = (await _({
50
47
  ...e,
51
- amount: Number(s),
52
- percentage: e.category.totalAmount / (Number(s) || 1) * 100
53
- });
54
- c(!1), i(p(r.alert_budget_updated, e.category.name));
48
+ amount: Number(a),
49
+ percentage: e.category.totalAmount / (Number(a) || 1) * 100
50
+ })).isSuccess, o && (g(!1), u(b(r.alert_budget_updated, e.category.name)));
55
51
  }
56
- }, j = async () => {
57
- e && (await x(e.guid), i(p(r.alert_budget_deleted, e.category.name))), B();
58
- }, B = () => {
59
- f(!1), setTimeout(() => {
60
- T(void 0);
61
- }, 250);
52
+ }, G = async () => {
53
+ e && (await x(e.guid), u(b(r.alert_budget_deleted, e.category.name))), h();
62
54
  }, h = () => {
63
- c(!1), u(`${e?.amount}`);
55
+ S(!1), setTimeout(() => {
56
+ O(void 0);
57
+ }, 250);
58
+ }, A = () => {
59
+ g(!1), d(`${e?.amount}`);
64
60
  const o = {};
65
61
  e?.subBudgets.forEach((t) => {
66
62
  o[t.guid] = `${t.amount}`;
67
- }), g(o);
63
+ }), p(o);
68
64
  };
69
65
  if (!e) return;
70
- const S = e.subBudgets.length > 0, F = s === "" || Number(s) < 0 || isNaN(Number(s)), R = S && e.subBudgets.some((o) => {
71
- const t = m[o.guid];
66
+ const l = e.subBudgets.length > 0, j = a === "" || Number(a) < 0 || isNaN(Number(a)), k = l && e.subBudgets.some((o) => {
67
+ const t = c[o.guid];
72
68
  return t === void 0 || t === "" || Number(t) < 0 || isNaN(Number(t));
73
- }), U = S ? R : F;
74
- return /* @__PURE__ */ v(a.Fragment, { children: [
75
- /* @__PURE__ */ v(M, {
76
- ariaLabelClose: l.close_aria,
77
- isOpen: P,
78
- onClose: B,
79
- onPrimaryAction: () => c(!0),
80
- onSecondaryAction: () => _(!0),
69
+ }), F = l ? k : j;
70
+ return /* @__PURE__ */ y(s.Fragment, { children: [
71
+ /* @__PURE__ */ y(J, {
72
+ ariaLabelClose: m.close_aria,
73
+ isOpen: w,
74
+ onClose: h,
75
+ onPrimaryAction: () => g(!0),
76
+ onSecondaryAction: () => B(!0),
81
77
  primaryText: r.details_edit_button,
82
78
  secondaryColor: "error",
83
79
  secondaryText: r.details_delete_button,
84
80
  title: r.details_title,
85
- children: [/* @__PURE__ */ n(V, { budget: e }), /* @__PURE__ */ n(Z, {
81
+ children: [/* @__PURE__ */ n(Q, { budget: e }), /* @__PURE__ */ n(Z, {
86
82
  anchorOrigin: {
87
83
  vertical: "bottom",
88
84
  horizontal: "right"
89
85
  },
90
86
  autoHideDuration: 3500,
91
- onClose: () => i(""),
92
- open: !!b,
87
+ onClose: () => u(""),
88
+ open: !!f,
93
89
  children: /* @__PURE__ */ n(Y, {
94
90
  closeText: "",
95
- onClose: () => i(""),
91
+ onClose: () => u(""),
96
92
  severity: "success",
97
93
  variant: "filled",
98
- children: b
94
+ children: f
99
95
  })
100
96
  })]
101
97
  }),
102
- /* @__PURE__ */ n(C, {
98
+ /* @__PURE__ */ y(C, {
103
99
  copy: {
104
- close_aria: l.close_aria,
100
+ close_aria: m.close_aria,
105
101
  title: r.details_edit_title
106
102
  },
107
- disablePrimaryButton: U,
103
+ disablePrimaryButton: F,
108
104
  isOpen: E,
109
- onClose: h,
110
- onPrimaryAction: G,
111
- onSecondaryAction: h,
105
+ onClose: A,
106
+ onPrimaryAction: I,
107
+ onSecondaryAction: A,
112
108
  primaryText: r.edit_save_button,
113
- children: /* @__PURE__ */ n(Q, {
114
- amount: s,
109
+ sx: { "& .MuiStack-root:first-child": { pb: 8 } },
110
+ children: [!l && /* @__PURE__ */ n(K, {
111
+ amount: a,
115
112
  categoryName: e.category.name,
116
- onAmountChanged: u,
117
- onSubBudgetAmountChanged: I,
118
- originalAmount: e.amount,
119
- subBudgetAmounts: m,
113
+ onAmountChanged: d
114
+ }), l && /* @__PURE__ */ n(V, {
115
+ amount: a,
116
+ categoryName: e.category.name,
117
+ onSubBudgetAmountChanged: $,
118
+ subBudgetAmounts: c,
120
119
  subBudgets: e.subBudgets
121
- })
120
+ })]
122
121
  }),
123
122
  /* @__PURE__ */ n(C, {
124
123
  copy: {
125
- close_aria: l.close_aria,
124
+ close_aria: m.close_aria,
126
125
  title: r.delete_title
127
126
  },
128
- isOpen: $,
129
- onClose: () => _(!1),
130
- onPrimaryAction: j,
127
+ isOpen: P,
128
+ onClose: () => B(!1),
129
+ onPrimaryAction: G,
131
130
  primaryColor: "error",
132
131
  primaryText: r.details_delete_button,
133
132
  secondaryColor: "secondary",
134
133
  children: /* @__PURE__ */ n(X, {
135
134
  variant: "subtitle1",
136
- children: p(r.delete_description, e.category.name)
135
+ children: b(r.delete_description, e.category.name)
137
136
  })
138
137
  })
139
138
  ] });
140
139
  });
141
140
  export {
142
- me as BudgetDetailsDrawer
141
+ ge as BudgetDetailsDrawer
143
142
  };
144
143
 
145
144
  //# sourceMappingURL=BudgetDetailsDrawer.es.js.map