@mx-cartographer/experiences 9.3.8-alpha.al0 → 9.4.0

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 (305) hide show
  1. package/CHANGELOG.md +15 -0
  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/BudgetsEmptyState.es.js +7 -7
  11. package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +16 -16
  12. package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
  13. package/dist/cashflow/CashflowOnboarding.es.js +13 -13
  14. package/dist/cashflow/components/CashflowHeading.es.js +4 -4
  15. package/dist/cashflow/components/DetailsExpenseHeader.es.js +4 -4
  16. package/dist/common/components/DataRow.es.js +6 -6
  17. package/dist/common/components/MiniWidgetContainer.es.js +9 -9
  18. package/dist/common/components/charts/linechart/CustomLine.es.js +2 -2
  19. package/dist/common/components/charts/linechart/CustomMark.es.js +2 -2
  20. package/dist/common/context/hooks.d.ts +1 -0
  21. package/dist/common/context/hooks.es.js +12 -11
  22. package/dist/common/context/hooks.es.js.map +1 -1
  23. package/dist/common/context/index.d.ts +1 -1
  24. package/dist/common/index.es.js +116 -115
  25. package/dist/core/index.es.js +27 -25
  26. package/dist/core/stores/BudgetsStore.es.js +21 -28
  27. package/dist/core/stores/BudgetsStore.es.js.map +1 -1
  28. package/dist/core/stores/GlobalStore.d.ts +2 -1
  29. package/dist/core/stores/GlobalStore.es.js +11 -9
  30. package/dist/core/stores/GlobalStore.es.js.map +1 -1
  31. package/dist/core/stores/InsightsV2Store.d.ts +24 -0
  32. package/dist/core/stores/InsightsV2Store.es.js +41 -0
  33. package/dist/core/stores/InsightsV2Store.es.js.map +1 -0
  34. package/dist/core/stores/index.d.ts +2 -0
  35. package/dist/core/types/Beat.d.ts +2 -0
  36. package/dist/core/types/Beat.es.js.map +1 -1
  37. package/dist/core/types/Insights.d.ts +90 -0
  38. package/dist/core/types/InsightsInstanceSlotData.d.ts +93 -0
  39. package/dist/core/types/InsightsInstanceSlotData.es.js +8 -0
  40. package/dist/core/types/InsightsInstanceSlotData.es.js.map +1 -0
  41. package/dist/core/types/index.d.ts +1 -0
  42. package/dist/core/utils/BudgetUtil.es.js +50 -56
  43. package/dist/core/utils/BudgetUtil.es.js.map +1 -1
  44. package/dist/debts/DebtsWidget.es.js +5 -5
  45. package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +3 -3
  46. package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +6 -6
  47. package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +8 -8
  48. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +2 -2
  49. package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +8 -8
  50. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +5 -5
  51. package/dist/finstrong/components/shared/Accounts.es.js +24 -24
  52. package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +2 -2
  53. package/dist/finstrong/components/shared/Transactions.es.js +28 -28
  54. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  55. package/dist/goals/GoalsWidget.es.js +12 -12
  56. package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +13 -13
  57. package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +14 -14
  58. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +2 -2
  59. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +9 -9
  60. package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +4 -4
  61. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +4 -4
  62. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +2 -2
  63. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +2 -2
  64. package/dist/insights/components/shared/MenuAction.es.js +16 -16
  65. package/dist/insights-v2/CommonUtils.d.ts +1 -0
  66. package/dist/insights-v2/CommonUtils.es.js +7 -0
  67. package/dist/insights-v2/CommonUtils.es.js.map +1 -0
  68. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.d.ts +3 -0
  69. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +28 -0
  70. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -0
  71. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/index.d.ts +1 -0
  72. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.d.ts +9 -0
  73. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js +9 -0
  74. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js.map +1 -0
  75. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.d.ts +18 -0
  76. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +34 -0
  77. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js.map +1 -0
  78. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.d.ts +13 -0
  79. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js +87 -0
  80. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js.map +1 -0
  81. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.d.ts +4 -0
  82. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js +23 -0
  83. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js.map +1 -0
  84. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/index.d.ts +1 -0
  85. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.d.ts +19 -0
  86. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js +15 -0
  87. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js.map +1 -0
  88. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.d.ts +3 -0
  89. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js +11 -0
  90. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js.map +1 -0
  91. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.d.ts +7 -0
  92. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js +48 -0
  93. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js.map +1 -0
  94. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.d.ts +18 -0
  95. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js +45 -0
  96. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js.map +1 -0
  97. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.d.ts +2 -0
  98. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js +125 -0
  99. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js.map +1 -0
  100. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/index.d.ts +1 -0
  101. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.d.ts +8 -0
  102. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +10 -0
  103. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -0
  104. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.d.ts +4 -0
  105. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js +28 -0
  106. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js.map +1 -0
  107. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.d.ts +8 -0
  108. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js +44 -0
  109. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js.map +1 -0
  110. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/index.d.ts +1 -0
  111. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.d.ts +4 -0
  112. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js +15 -0
  113. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js.map +1 -0
  114. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.d.ts +9 -0
  115. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js +13 -0
  116. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js.map +1 -0
  117. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.d.ts +19 -0
  118. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js +27 -0
  119. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js.map +1 -0
  120. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.d.ts +5 -0
  121. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js +78 -0
  122. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js.map +1 -0
  123. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.d.ts +5 -0
  124. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js +81 -0
  125. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js.map +1 -0
  126. package/dist/insights-v2/blocks/ChartBlocks/index.d.ts +5 -0
  127. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.d.ts +4 -0
  128. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +200 -0
  129. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -0
  130. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.d.ts +5 -0
  131. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js +26 -0
  132. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js.map +1 -0
  133. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.d.ts +7 -0
  134. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js +64 -0
  135. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js.map +1 -0
  136. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/index.d.ts +1 -0
  137. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +32 -0
  138. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +100 -0
  139. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -0
  140. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.d.ts +8 -0
  141. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js +41 -0
  142. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js.map +1 -0
  143. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.d.ts +4 -0
  144. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js +32 -0
  145. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js.map +1 -0
  146. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.d.ts +3 -0
  147. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +50 -0
  148. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js.map +1 -0
  149. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/index.d.ts +1 -0
  150. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.d.ts +7 -0
  151. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js +12 -0
  152. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js.map +1 -0
  153. package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +2 -0
  154. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.d.ts +4 -0
  155. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js +35 -0
  156. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js.map +1 -0
  157. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.d.ts +3 -0
  158. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js +20 -0
  159. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js.map +1 -0
  160. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js +296 -0
  161. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js.map +1 -0
  162. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js +449 -0
  163. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js.map +1 -0
  164. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js +89 -0
  165. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js.map +1 -0
  166. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js +235 -0
  167. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js.map +1 -0
  168. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js +57 -0
  169. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
  170. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/index.d.ts +1 -0
  171. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.d.ts +7 -0
  172. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js +15 -0
  173. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js.map +1 -0
  174. package/dist/insights-v2/blocks/ImageBlocks/index.d.ts +2 -0
  175. package/dist/insights-v2/blocks/index.d.ts +4 -0
  176. package/dist/insights-v2/blocks/types.d.ts +8 -0
  177. package/dist/insights-v2/components/AccountHeroCard.d.ts +35 -0
  178. package/dist/insights-v2/components/AccountHeroCard.es.js +91 -0
  179. package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -0
  180. package/dist/insights-v2/components/AmountPill.d.ts +16 -0
  181. package/dist/insights-v2/components/AmountPill.es.js +25 -0
  182. package/dist/insights-v2/components/AmountPill.es.js.map +1 -0
  183. package/dist/insights-v2/components/BaseLayout.d.ts +6 -0
  184. package/dist/insights-v2/components/BaseLayout.es.js +77 -0
  185. package/dist/insights-v2/components/BaseLayout.es.js.map +1 -0
  186. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.d.ts +22 -0
  187. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js +33 -0
  188. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js.map +1 -0
  189. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.d.ts +14 -0
  190. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js +65 -0
  191. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js.map +1 -0
  192. package/dist/insights-v2/components/DesignateEmergencySavingsCard.d.ts +33 -0
  193. package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js +78 -0
  194. package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js.map +1 -0
  195. package/dist/insights-v2/components/Footer.d.ts +9 -0
  196. package/dist/insights-v2/components/Footer.es.js +25 -0
  197. package/dist/insights-v2/components/Footer.es.js.map +1 -0
  198. package/dist/insights-v2/components/Header.d.ts +8 -0
  199. package/dist/insights-v2/components/Header.es.js +41 -0
  200. package/dist/insights-v2/components/Header.es.js.map +1 -0
  201. package/dist/insights-v2/components/InsightTransactionRow.d.ts +23 -0
  202. package/dist/insights-v2/components/InsightTransactionRow.es.js +52 -0
  203. package/dist/insights-v2/components/InsightTransactionRow.es.js.map +1 -0
  204. package/dist/insights-v2/components/LogoClusterCard.d.ts +40 -0
  205. package/dist/insights-v2/components/LogoClusterCard.es.js +104 -0
  206. package/dist/insights-v2/components/LogoClusterCard.es.js.map +1 -0
  207. package/dist/insights-v2/components/LogoTile.d.ts +31 -0
  208. package/dist/insights-v2/components/LogoTile.es.js +34 -0
  209. package/dist/insights-v2/components/LogoTile.es.js.map +1 -0
  210. package/dist/insights-v2/components/MerchantHighlightCard.d.ts +34 -0
  211. package/dist/insights-v2/components/MerchantHighlightCard.es.js +64 -0
  212. package/dist/insights-v2/components/MerchantHighlightCard.es.js.map +1 -0
  213. package/dist/insights-v2/components/P2PLogoStack.d.ts +32 -0
  214. package/dist/insights-v2/components/P2PLogoStack.es.js +55 -0
  215. package/dist/insights-v2/components/P2PLogoStack.es.js.map +1 -0
  216. package/dist/insights-v2/components/SaveAnExtraCard.d.ts +27 -0
  217. package/dist/insights-v2/components/SaveAnExtraCard.es.js +57 -0
  218. package/dist/insights-v2/components/SaveAnExtraCard.es.js.map +1 -0
  219. package/dist/insights-v2/components/SavingsOpportunityCard.d.ts +18 -0
  220. package/dist/insights-v2/components/SavingsOpportunityCard.es.js +71 -0
  221. package/dist/insights-v2/components/SavingsOpportunityCard.es.js.map +1 -0
  222. package/dist/insights-v2/components/StatusMessageCard.d.ts +28 -0
  223. package/dist/insights-v2/components/StatusMessageCard.es.js +45 -0
  224. package/dist/insights-v2/components/StatusMessageCard.es.js.map +1 -0
  225. package/dist/insights-v2/components/StatusPill.d.ts +26 -0
  226. package/dist/insights-v2/components/StatusPill.es.js +30 -0
  227. package/dist/insights-v2/components/StatusPill.es.js.map +1 -0
  228. package/dist/insights-v2/components/SubHeader.d.ts +6 -0
  229. package/dist/insights-v2/components/SubHeader.es.js +40 -0
  230. package/dist/insights-v2/components/SubHeader.es.js.map +1 -0
  231. package/dist/insights-v2/components/SubscriptionHeroCard.d.ts +27 -0
  232. package/dist/insights-v2/components/SubscriptionHeroCard.es.js +63 -0
  233. package/dist/insights-v2/components/SubscriptionHeroCard.es.js.map +1 -0
  234. package/dist/insights-v2/components/TransactionListCard.d.ts +45 -0
  235. package/dist/insights-v2/components/TransactionListCard.es.js +118 -0
  236. package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -0
  237. package/dist/insights-v2/components/TransferLogoCard.d.ts +44 -0
  238. package/dist/insights-v2/components/TransferLogoCard.es.js +121 -0
  239. package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -0
  240. package/dist/insights-v2/components/UpcomingBillCard.d.ts +41 -0
  241. package/dist/insights-v2/components/UpcomingBillCard.es.js +99 -0
  242. package/dist/insights-v2/components/UpcomingBillCard.es.js.map +1 -0
  243. package/dist/insights-v2/components/celebrationGradients.d.ts +19 -0
  244. package/dist/insights-v2/components/celebrationGradients.es.js +7 -0
  245. package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -0
  246. package/dist/insights-v2/components/chartblocks/BarchartV2.d.ts +2 -0
  247. package/dist/insights-v2/components/chartblocks/BarchartV2.es.js +148 -0
  248. package/dist/insights-v2/components/chartblocks/BarchartV2.es.js.map +1 -0
  249. package/dist/insights-v2/components/chartblocks/EmptyBarChart.d.ts +1 -0
  250. package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +14 -0
  251. package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js.map +1 -0
  252. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.d.ts +2 -0
  253. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js +49 -0
  254. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js.map +1 -0
  255. package/dist/insights-v2/components/logoShadow.d.ts +26 -0
  256. package/dist/insights-v2/components/logoShadow.es.js +12 -0
  257. package/dist/insights-v2/components/logoShadow.es.js.map +1 -0
  258. package/dist/insights-v2/components/shared/Confetti.d.ts +15 -0
  259. package/dist/insights-v2/components/shared/Confetti.es.js +33 -0
  260. package/dist/insights-v2/components/shared/Confetti.es.js.map +1 -0
  261. package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js +338 -0
  262. package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js.map +1 -0
  263. package/dist/insights-v2/components/shared/images/PaidOffCard.es.js +85 -0
  264. package/dist/insights-v2/components/shared/images/PaidOffCard.es.js.map +1 -0
  265. package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js +124 -0
  266. package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js.map +1 -0
  267. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js +104 -0
  268. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js.map +1 -0
  269. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js +104 -0
  270. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js.map +1 -0
  271. package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js +38 -0
  272. package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js.map +1 -0
  273. package/dist/insights-v2/components/statusTokens.d.ts +12 -0
  274. package/dist/insights-v2/components/statusTokens.es.js +10 -0
  275. package/dist/insights-v2/components/statusTokens.es.js.map +1 -0
  276. package/dist/insights-v2/hooks/useContainerDimensions.d.ts +5 -0
  277. package/dist/insights-v2/hooks/useContainerDimensions.es.js +26 -0
  278. package/dist/insights-v2/hooks/useContainerDimensions.es.js.map +1 -0
  279. package/dist/insights-v2/index.d.ts +18 -0
  280. package/dist/insights-v2/index.es.js +55 -0
  281. package/dist/insights-v2/mappings/blocks.d.ts +14 -0
  282. package/dist/insights-v2/mappings/blocks.es.js +32 -0
  283. package/dist/insights-v2/mappings/blocks.es.js.map +1 -0
  284. package/dist/investments/InvestmentsWidget.es.js +10 -10
  285. package/dist/investments/components/AnalysisDetails.es.js +4 -4
  286. package/dist/investments/components/allocation/InvestementAllocationList.es.js +27 -27
  287. package/dist/microinsights/MicroCardTemplate.es.js +4 -4
  288. package/dist/microinsights/carousel/BeatList.es.js +9 -9
  289. package/dist/networth/NetWorthWidget.es.js +6 -6
  290. package/dist/networth/components/AssetsLiabilitiesDetail.es.js +2 -2
  291. package/dist/networth/components/GainsLossesDetail.es.js +13 -13
  292. package/dist/notifications/components/NotificationDrawer.es.js +5 -5
  293. package/dist/notifications/components/NotificationList.es.js +13 -13
  294. package/dist/recurringtransactions/components/MicroWidgetContent.es.js +13 -13
  295. package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
  296. package/dist/recurringtransactions/components/RecurringStatus.es.js +4 -4
  297. package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +19 -19
  298. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +9 -9
  299. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +5 -5
  300. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +25 -25
  301. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +5 -5
  302. package/dist/settings/components/notifications/NotificationSettings.es.js +12 -12
  303. package/dist/settings/components/profile/ProfileTab.es.js +20 -20
  304. package/dist/trends/TrendsWidget.es.js +25 -25
  305. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { useAccountStore as et, useEvent as ot, useGlobalCopyStore as nt, useGlobalUiStore as at, useRecurringTransactionsStore as it, useTransactionStore as st } from "../../common/context/hooks.es.js";
1
+ import { useAccountStore as et, useEvent as ot, useGlobalCopyStore as at, useGlobalUiStore as nt, useRecurringTransactionsStore as it, useTransactionStore as st } from "../../common/context/hooks.es.js";
2
2
  import rt from "../../common/components/dialog/Dialog.es.js";
3
3
  import ct from "../../common/components/drawer/Drawer.es.js";
4
4
  import { ANALYTICS_EVENTS as h } from "../../common/constants/Analytics.es.js";
@@ -15,7 +15,7 @@ import { MarkAsUnpaidDialog as kt } from "./actions/MarkAsUnpaidDialog.es.js";
15
15
  import { PaymentScheduleAction as Ct } from "./actions/PaymentScheduleAction.es.js";
16
16
  import { RecurringTransactionList as St } from "./RecurringTransactionList.es.js";
17
17
  import { UpcomingRecurrenceCard as gt } from "./UpcomingRecurrenceCard.es.js";
18
- import a from "react";
18
+ import n from "react";
19
19
  import { observer as Dt } from "mobx-react-lite";
20
20
  import b from "@mui/material/Stack";
21
21
  import { MerchantLogo as yt, P as Rt, Text as w } from "@mxenabled/mxui";
@@ -28,8 +28,8 @@ import { subDays as xt } from "date-fns/subDays";
28
28
  import A from "@mui/material/Divider";
29
29
  import It from "@mui/material/List";
30
30
  var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) => {
31
- const { recurring: n } = nt(), { selectedAccountGuids: U } = at(), { onEvent: l } = ot(), { deleteRepeatingTransaction: L, markRecurrenceAsUnpaid: N, recurrences: v } = it(), { detailedTransactions: k, setFilter: E, transactions: m } = st(), { setSelectedAccount: G, setSelectedMember: O } = pt(), { members: P } = et(), { amount: K, description: B, merchant_guid: j } = e, [z, C] = a.useState(!1), [F, S] = a.useState(!1), [V, d] = a.useState(!1), [Y, u] = a.useState(!1), [$, p] = a.useState(""), [q, g] = a.useState(!1), [f, D] = a.useState("");
32
- a.useEffect(() => {
31
+ const { recurring: a } = at(), { selectedAccountGuids: U } = nt(), { onEvent: l } = ot(), { deleteRepeatingTransaction: L, markRecurrenceAsUnpaid: N, recurrences: v } = it(), { detailedTransactions: k, setFilter: E, transactions: m } = st(), { setSelectedAccount: G, setSelectedMember: O } = pt(), { members: P } = et(), { amount: K, description: B, merchant_guid: F } = e, [j, C] = n.useState(!1), [z, S] = n.useState(!1), [$, d] = n.useState(!1), [V, u] = n.useState(!1), [Y, p] = n.useState(""), [q, g] = n.useState(!1), [f, D] = n.useState("");
32
+ n.useEffect(() => {
33
33
  E({
34
34
  accounts: U,
35
35
  dateRange: {
@@ -39,7 +39,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
39
39
  custom: (o) => o.repeating_transaction_guid === e.guid
40
40
  });
41
41
  }, [e.guid]);
42
- const s = a.useMemo(() => k.find((o) => o.guid === f), [f, k]), r = e.repeating_transaction_type === mt.Income, H = a.useMemo(() => m.filter((o) => o.repeating_transaction_guid === e.guid), [m, e.guid]), J = ut(e, v), Q = () => {
42
+ const s = n.useMemo(() => k.find((o) => o.guid === f), [f, k]), r = e.repeating_transaction_type === mt.Income, H = n.useMemo(() => m.filter((o) => o.repeating_transaction_guid === e.guid), [m, e.guid]), J = ut(e, v), Q = () => {
43
43
  if (e.account) {
44
44
  G(e.account);
45
45
  const o = P.find((_) => _.guid === e.account?.member_guid) || {};
@@ -56,7 +56,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
56
56
  }, R = (o) => {
57
57
  p(o), u(!0), l(h.RECURRING_TRANSACTIONS_LIST_CLICK_MARK_AS_UNPAID);
58
58
  }, tt = async () => {
59
- const o = m.find((_) => _.guid === $);
59
+ const o = m.find((_) => _.guid === Y);
60
60
  o && await N(o), u(!1), p("");
61
61
  };
62
62
  return /* @__PURE__ */ c(b, {
@@ -70,7 +70,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
70
70
  children: [
71
71
  /* @__PURE__ */ t(yt, {
72
72
  categoryGuid: s?.category_guid || "",
73
- merchantGuid: j,
73
+ merchantGuid: F,
74
74
  size: 64,
75
75
  sx: { mb: 12 }
76
76
  }),
@@ -100,14 +100,14 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
100
100
  children: [
101
101
  e.account && /* @__PURE__ */ c(I, { children: [/* @__PURE__ */ t(T, {
102
102
  iconName: "checkbook",
103
- label: n.account,
103
+ label: a.account,
104
104
  onClick: Q,
105
105
  showChevron: !1,
106
106
  value: e.account.displayName || ""
107
107
  }), /* @__PURE__ */ t(A, { variant: "inset" })] }),
108
108
  s?.category && /* @__PURE__ */ c(I, { children: [/* @__PURE__ */ t(T, {
109
109
  iconName: "monetization_on",
110
- label: n.category,
110
+ label: a.category,
111
111
  value: s.category
112
112
  }), /* @__PURE__ */ t(A, { variant: "inset" })] }),
113
113
  /* @__PURE__ */ t(Ct, { repeatingTransaction: e }),
@@ -123,7 +123,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
123
123
  my: 16
124
124
  },
125
125
  variant: "text",
126
- children: r ? n.delete_income_title : n.delete_expense_title
126
+ children: r ? a.delete_income_title : a.delete_expense_title
127
127
  }),
128
128
  /* @__PURE__ */ t(St, {
129
129
  isIncome: r,
@@ -134,29 +134,29 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
134
134
  transactions: H
135
135
  }),
136
136
  /* @__PURE__ */ t(ct, {
137
- ariaLabelClose: n.close_drawer_aria,
137
+ ariaLabelClose: a.close_drawer_aria,
138
138
  isOpen: !!f && !!s,
139
139
  onClose: () => D(""),
140
- title: n.transaction_details_drawer_title,
140
+ title: a.transaction_details_drawer_title,
141
141
  children: s && /* @__PURE__ */ t(ft, { transaction: s })
142
142
  }),
143
143
  /* @__PURE__ */ t(rt, {
144
144
  copy: {
145
- title: r ? n.delete_income_title : n.delete_expense_title,
146
- close_aria: n.close_drawer_aria
145
+ title: r ? a.delete_income_title : a.delete_expense_title,
146
+ close_aria: a.close_drawer_aria
147
147
  },
148
- isOpen: F,
148
+ isOpen: z,
149
149
  onClose: () => S(!1),
150
150
  onPrimaryAction: W,
151
- children: /* @__PURE__ */ t(w, { children: r ? n.delete_income_description : n.delete_expense_description })
151
+ children: /* @__PURE__ */ t(w, { children: r ? a.delete_income_description : a.delete_expense_description })
152
152
  }),
153
153
  /* @__PURE__ */ t(At, {
154
- isOpen: V,
154
+ isOpen: $,
155
155
  onClose: () => d(!1),
156
156
  onLinkTransaction: Z
157
157
  }),
158
158
  /* @__PURE__ */ t(kt, {
159
- isOpen: Y,
159
+ isOpen: V,
160
160
  onClose: () => {
161
161
  u(!1), p("");
162
162
  },
@@ -168,7 +168,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
168
168
  recurringTransaction: e
169
169
  }),
170
170
  /* @__PURE__ */ t(_t, {
171
- isOpen: z,
171
+ isOpen: j,
172
172
  onClose: () => C(!1)
173
173
  })
174
174
  ]
@@ -4,21 +4,21 @@ import { ANALYTICS_EVENTS as D } from "../../../common/constants/Analytics.es.js
4
4
  import { getFrequencyLabel as E } from "../../../core/utils/RecurringTransactionsUtil.es.js";
5
5
  import v from "../../../common/components/DataRow.es.js";
6
6
  import { PaymentSchedule as A } from "../PaymentSchedule.es.js";
7
- import o from "react";
7
+ import t from "react";
8
8
  import { observer as R } from "mobx-react-lite";
9
- import { Fragment as N, jsx as n, jsxs as F } from "react/jsx-runtime";
9
+ import { Fragment as F, jsx as n, jsxs as N } from "react/jsx-runtime";
10
10
  var x = R(({ repeatingTransaction: e }) => {
11
- const { recurring: r } = f(), { updateRepeatingTransaction: u } = C(), { onEvent: y } = p(), [l, t] = o.useState(!1), [c, m] = o.useState(e.recurrence_type), [a, i] = o.useState(e.recurrence_day), [s, d] = o.useState(e.second_recurrence_day), _ = async () => {
11
+ const { recurring: r } = f(), { updateRepeatingTransaction: u } = C(), { onEvent: m } = p(), [y, o] = t.useState(!1), [c, l] = t.useState(e.recurrence_type), [a, i] = t.useState(e.recurrence_day), [s, d] = t.useState(e.second_recurrence_day), _ = async () => {
12
12
  await u({
13
13
  ...e,
14
14
  recurrence_type: c,
15
15
  recurrence_day: a,
16
16
  second_recurrence_day: s
17
- }), t(!1);
17
+ }), o(!1);
18
18
  }, S = () => {
19
- t(!0), y(D.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
19
+ o(!0), m(D.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
20
20
  };
21
- return /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ n(v, {
21
+ return /* @__PURE__ */ N(F, { children: [/* @__PURE__ */ n(v, {
22
22
  iconName: "sync",
23
23
  label: r.activity_schedule,
24
24
  onClick: S,
@@ -26,15 +26,15 @@ var x = R(({ repeatingTransaction: e }) => {
26
26
  value: `${E(r, e, !0)}`
27
27
  }), /* @__PURE__ */ n(h, {
28
28
  ariaLabelClose: r.close_drawer_aria,
29
- isOpen: l,
30
- onClose: () => t(!1),
29
+ isOpen: y,
30
+ onClose: () => o(!1),
31
31
  onPrimaryAction: _,
32
32
  title: r.payment_schedule,
33
33
  children: /* @__PURE__ */ n(A, {
34
34
  firstDay: a,
35
35
  frequency: c,
36
36
  onFirstDayChange: i,
37
- onFrequencyChange: m,
37
+ onFrequencyChange: l,
38
38
  onSecondDayChange: d,
39
39
  secondDay: s
40
40
  })
@@ -9,17 +9,17 @@ import { isSameDay as G } from "date-fns/isSameDay";
9
9
  import U from "@mui/material/Badge";
10
10
  import { PickersDay as Y } from "@mui/x-date-pickers/PickersDay";
11
11
  var W = P(({ day: r, outsideCurrentMonth: u, ...d }) => {
12
- const { recurring: s } = B(), { selectedAccountGuids: l } = M(), { recurrences: f, setSelectedDay: x } = O(), t = T.useMemo(() => f.filter((e) => l.includes(e.accountGuid)), [l, f]).filter((e) => G(e.occurredOnDate || e.expectedDate, r)), i = t.some((e) => e.type !== c.Income && e.status === p.Upcoming), a = t.some((e) => e.type !== c.Income && e.status === p.Missed), n = t.some((e) => e.type !== c.Income && e.status === p.Paid), m = t.some((e) => e.type === c.Income), R = (i ? 1 : 0) + (a ? 1 : 0) + (n ? 1 : 0) + (m ? 1 : 0), g = [
12
+ const { recurring: s } = B(), { selectedAccountGuids: l } = M(), { recurrences: f, setSelectedDay: x } = O(), t = T.useMemo(() => f.filter((e) => l.includes(e.accountGuid)), [l, f]).filter((e) => G(e.occurredOnDate || e.expectedDate, r)), a = t.some((e) => e.type !== c.Income && e.status === p.Upcoming), i = t.some((e) => e.type !== c.Income && e.status === p.Missed), n = t.some((e) => e.type !== c.Income && e.status === p.Paid), m = t.some((e) => e.type === c.Income), R = (a ? 1 : 0) + (i ? 1 : 0) + (n ? 1 : 0) + (m ? 1 : 0), g = [
13
13
  n && s.paid,
14
- a && s.missed,
15
- i && s.upcoming,
14
+ i && s.missed,
15
+ a && s.upcoming,
16
16
  m && s.income
17
17
  ].filter(Boolean), b = g.length > 0 ? `${D(r, y.MONTH_DAY_YEAR)}, ${g.join(", ")}` : D(r, y.MONTH_DAY_YEAR);
18
18
  return /* @__PURE__ */ o(U, {
19
19
  badgeContent: t.length > 0 && /* @__PURE__ */ E(_, { children: [
20
- a && /* @__PURE__ */ o(A, { isOffset: !0 }),
20
+ i && /* @__PURE__ */ o(A, { isOffset: !0 }),
21
21
  n && /* @__PURE__ */ o(I, { isOffset: !0 }),
22
- i && /* @__PURE__ */ o(S, { isOffset: !0 }),
22
+ a && /* @__PURE__ */ o(S, { isOffset: !0 }),
23
23
  m && /* @__PURE__ */ o(h, { isOffset: !0 })
24
24
  ] }),
25
25
  overlap: "circular",
@@ -8,13 +8,13 @@ import { AddRecurringTransactionDetails as z } from "./AddRecurringTransactionDe
8
8
  import o from "react";
9
9
  import { observer as E } from "mobx-react-lite";
10
10
  import N from "@mui/material/Button";
11
- import { Add as H } from "@mxenabled/mx-icons";
12
- import { Fragment as I, jsx as i, jsxs as J } from "react/jsx-runtime";
13
- import { fromUnixTime as K } from "date-fns/fromUnixTime";
14
- import { formatISO as Q } from "date-fns/formatISO";
15
- var ce = E(({ isIncome: a = !1, label: f, onAddRecurringTransaction: x = () => null }) => {
16
- const { recurring: r } = w(), { filter: s, setFilter: c, transactions: _ } = G(), { addRepeatingTransaction: D } = B(), { user: C } = j(), [O, d] = o.useState(!1), [u, p] = o.useState(""), [m, R] = o.useState(L.EveryMonth), [l, A] = o.useState(1), [y, b] = o.useState(15), e = o.useMemo(() => _.find((t) => t.guid === u), [u, _]), q = () => {
17
- d(!0), c(a ? {
11
+ import { Add as $ } from "@mxenabled/mx-icons";
12
+ import { Fragment as H, jsx as a, jsxs as I } from "react/jsx-runtime";
13
+ import { fromUnixTime as J } from "date-fns/fromUnixTime";
14
+ import { formatISO as K } from "date-fns/formatISO";
15
+ var ce = E(({ isIncome: i = !1, label: f, onAddRecurringTransaction: x = () => null }) => {
16
+ const { recurring: r } = w(), { filter: s, setFilter: c, transactions: _ } = G(), { addRepeatingTransaction: D } = B(), { user: C } = j(), [O, d] = o.useState(!1), [u, m] = o.useState(""), [p, R] = o.useState(L.EveryMonth), [l, A] = o.useState(1), [y, b] = o.useState(15), e = o.useMemo(() => _.find((t) => t.guid === u), [u, _]), q = () => {
17
+ d(!0), c(i ? {
18
18
  ...s,
19
19
  custom: F
20
20
  } : {
@@ -27,56 +27,56 @@ var ce = E(({ isIncome: a = !1, label: f, onAddRecurringTransaction: x = () => n
27
27
  return;
28
28
  }
29
29
  x();
30
- const t = M(m, K(e.date), l), n = {
30
+ const t = M(p, J(e.date), l), n = {
31
31
  account_guid: e.account_guid,
32
32
  amount: e.amount,
33
33
  created_by: 0,
34
34
  merchant_guid: e.merchant_guid,
35
35
  description: e.payee || e.description || e.feed_description,
36
- predicted_occurs_on: Q(t, { representation: "date" }),
36
+ predicted_occurs_on: K(t, { representation: "date" }),
37
37
  recurrence_day: l,
38
- recurrence_type: m,
39
- repeating_transaction_type: a ? T.Income : T.Bill,
38
+ recurrence_type: p,
39
+ repeating_transaction_type: i ? T.Income : T.Bill,
40
40
  second_recurrence_day: y,
41
41
  transaction_type: e.transaction_type,
42
42
  user_guid: C.guid
43
43
  };
44
44
  await D(n, e), g();
45
45
  }, g = () => {
46
- p(""), d(!1);
46
+ m(""), d(!1);
47
47
  };
48
- return /* @__PURE__ */ J(I, { children: [
49
- /* @__PURE__ */ i(N, {
48
+ return /* @__PURE__ */ I(H, { children: [
49
+ /* @__PURE__ */ a(N, {
50
50
  onClick: q,
51
- startIcon: /* @__PURE__ */ i(H, { size: 24 }),
51
+ startIcon: /* @__PURE__ */ a($, { size: 24 }),
52
52
  variant: "contained",
53
53
  children: f
54
54
  }),
55
- /* @__PURE__ */ i(S, {
55
+ /* @__PURE__ */ a(S, {
56
56
  ariaLabelClose: r.close_drawer_aria,
57
57
  isOpen: O,
58
58
  onClose: () => d(!1),
59
59
  title: f,
60
- children: /* @__PURE__ */ i(k, {
61
- description: a ? r.add_income_description : r.add_expense_description,
60
+ children: /* @__PURE__ */ a(k, {
61
+ description: i ? r.add_income_description : r.add_expense_description,
62
62
  onSearch: (t) => {
63
63
  c({
64
64
  ...s,
65
- custom: (n) => a ? t ? U(n, t) : F(n) : t ? P(n, t) : h(n)
65
+ custom: (n) => i ? t ? U(n, t) : F(n) : t ? P(n, t) : h(n)
66
66
  });
67
67
  },
68
- onSelected: (t) => p(t)
68
+ onSelected: (t) => m(t)
69
69
  })
70
70
  }),
71
- /* @__PURE__ */ i(S, {
71
+ /* @__PURE__ */ a(S, {
72
72
  ariaLabelClose: r.close_drawer_aria,
73
73
  isOpen: !!u,
74
- onClose: () => p(""),
74
+ onClose: () => m(""),
75
75
  onPrimaryAction: v,
76
- title: a ? r.income_details : r.expense_details,
77
- children: e && /* @__PURE__ */ i(z, {
76
+ title: i ? r.income_details : r.expense_details,
77
+ children: e && /* @__PURE__ */ a(z, {
78
78
  firstDay: l,
79
- frequency: m,
79
+ frequency: p,
80
80
  onFirstDayChange: A,
81
81
  onFrequencyChange: R,
82
82
  onSecondDayChange: b,
@@ -13,10 +13,10 @@ import i from "@mui/material/Box";
13
13
  import s from "@mui/material/Divider";
14
14
  import N from "@mui/material/List";
15
15
  var z = S(({ forOverview: t = !1 }) => {
16
- const { recurring: c } = f(), { detailedRepeatingTransactions: p } = h(), { onEvent: a } = u(), l = (e) => {
17
- a(m.RECURRING_TRANSACTIONS_CLICK_INCOME, { repeating_transaction_guid: e.guid });
16
+ const { recurring: a } = f(), { detailedRepeatingTransactions: p } = h(), { onEvent: c } = u(), l = (e) => {
17
+ c(m.RECURRING_TRANSACTIONS_CLICK_INCOME, { repeating_transaction_guid: e.guid });
18
18
  }, g = () => {
19
- a(m.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
19
+ c(m.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
20
20
  }, n = p.filter((e) => e.repeating_transaction_type === R.Income && (e.transactions.length > 0 || e.recurrence_type === x.EveryYear));
21
21
  return /* @__PURE__ */ r(y, { children: n.length !== 0 ? /* @__PURE__ */ o(A, {
22
22
  sx: {
@@ -32,7 +32,7 @@ var z = S(({ forOverview: t = !1 }) => {
32
32
  mx: 24
33
33
  },
34
34
  variant: "body2",
35
- children: c.income
35
+ children: a.income
36
36
  }),
37
37
  /* @__PURE__ */ r(i, {
38
38
  sx: {
@@ -58,7 +58,7 @@ var z = S(({ forOverview: t = !1 }) => {
58
58
  },
59
59
  children: /* @__PURE__ */ r(T, {
60
60
  isIncome: !0,
61
- label: c.add_income,
61
+ label: a.add_income,
62
62
  onAddRecurringTransaction: g
63
63
  })
64
64
  })] })
@@ -1,16 +1,16 @@
1
- import { useAccountStore as j, useAppConfig as w, useGlobalCopyStore as F, useGlobalUiStore as G, useSettingsStore as M } from "../../../common/context/hooks.es.js";
1
+ import { useAccountStore as O, useAppConfig as j, useGlobalCopyStore as w, useGlobalUiStore as G, useSettingsStore as M } from "../../../common/context/hooks.es.js";
2
2
  import { useInsightsEnabled as R } from "../../../common/hooks/useInsightsEnabled.es.js";
3
3
  import { useWidgetLoadTimer as T } from "../../../common/hooks/useWidgetLoadTimer.es.js";
4
4
  import W from "../../../common/components/drawer/Drawer.es.js";
5
5
  import { NotificationTypes as i } from "../../../core/types/Notification.es.js";
6
- import z from "../../../common/components/Loader.es.js";
6
+ import $ from "../../../common/components/Loader.es.js";
7
7
  import { AccountNotificationProfiles as y } from "./AccountNotificationProfiles.es.js";
8
8
  import { BudgetNotificationProfiles as I } from "./BudgetNotificationProfiles.es.js";
9
- import { DeliveryMethods as H } from "./DeliveryMethods.es.js";
9
+ import { DeliveryMethods as z } from "./DeliveryMethods.es.js";
10
10
  import { InsightsNotificationProfiles as x } from "./InsightsNotificationProfiles.es.js";
11
- import U from "./PersonalDetails.es.js";
11
+ import H from "./PersonalDetails.es.js";
12
12
  import c from "react";
13
- import { observer as $ } from "mobx-react-lite";
13
+ import { observer as U } from "mobx-react-lite";
14
14
  import l from "@mui/material/Stack";
15
15
  import { H3 as q } from "@mxenabled/mxui";
16
16
  import { ChevronRight as f } from "@mxenabled/mx-icons";
@@ -20,8 +20,8 @@ import Q from "@mui/material/List";
20
20
  import u from "@mui/material/ListItem";
21
21
  import p from "@mui/material/ListItemButton";
22
22
  import g from "@mui/material/ListItemText";
23
- var bt = $(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetails: S = !1, view: a }) => {
24
- const { config: h } = w(), { settings: e } = F(), { isInitialized: d } = G(), { isAccountDataLoaded: A, loadAccountData: L } = j(), { clientCommunicationProfile: _, loadNotificationProfiles: B } = M(), C = R(), [D, E] = c.useState(!1), [s, r] = c.useState(void 0);
23
+ var bt = U(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetails: S = !1, view: a }) => {
24
+ const { config: h } = j(), { settings: e } = w(), { isInitialized: d } = G(), { isAccountDataLoaded: A, loadAccountData: L } = O(), { clientCommunicationProfile: _, loadNotificationProfiles: B } = M(), C = R(), [D, E] = c.useState(!1), [s, r] = c.useState(void 0);
25
25
  if (n.length > 0 && C && n.push(i.Insights), T({
26
26
  widgetName: "NotificationSettingsWidget",
27
27
  isLoaded: D
@@ -29,20 +29,20 @@ var bt = $(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetail
29
29
  A || L().finally();
30
30
  }, []), c.useEffect(() => {
31
31
  d && B().finally(() => E(!0));
32
- }, [d]), !d) return /* @__PURE__ */ t(z, {});
32
+ }, [d]), !d) return /* @__PURE__ */ t($, {});
33
33
  let m = e.manage_account_notifications;
34
34
  s === i.Budgets ? m = e.manage_budget_notifications : s === i.Insights && (m = e.manage_insights_notifications);
35
35
  const { email_notifications_enabled: N, sms_notifications_enabled: P, push_notifications_enabled: v } = _, b = N || P || v;
36
36
  if (a === "accounts") return /* @__PURE__ */ t(y, {});
37
37
  if (a === "budgets") return /* @__PURE__ */ t(I, {});
38
38
  if (a === "insights") return /* @__PURE__ */ t(x, {});
39
- const k = h.display_email_edit_field_in_settings || h.display_sms_edit_field_in_settings, O = S && _.can_edit_contact_info && k;
39
+ const k = h.display_email_edit_field_in_settings || h.display_sms_edit_field_in_settings, F = S && _.can_edit_contact_info && k;
40
40
  return /* @__PURE__ */ o(l, {
41
41
  sx: { pt: b ? 0 : 24 },
42
42
  children: [
43
43
  /* @__PURE__ */ o(l, {
44
44
  sx: { px: 24 },
45
- children: [b && /* @__PURE__ */ o(J, { children: [/* @__PURE__ */ t(H, {}), /* @__PURE__ */ t(K, { sx: { my: 24 } })] }), /* @__PURE__ */ t(q, {
45
+ children: [b && /* @__PURE__ */ o(J, { children: [/* @__PURE__ */ t(z, {}), /* @__PURE__ */ t(K, { sx: { my: 24 } })] }), /* @__PURE__ */ t(q, {
46
46
  sx: { mb: 4 },
47
47
  children: e.notification_types_title
48
48
  })]
@@ -70,9 +70,9 @@ var bt = $(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetail
70
70
  }), /* @__PURE__ */ t(f, {})]
71
71
  }) })
72
72
  ] }),
73
- O && /* @__PURE__ */ t(l, {
73
+ F && /* @__PURE__ */ t(l, {
74
74
  sx: { px: 24 },
75
- children: /* @__PURE__ */ t(U, {})
75
+ children: /* @__PURE__ */ t(H, {})
76
76
  }),
77
77
  /* @__PURE__ */ t(W, {
78
78
  isOpen: !!s,
@@ -1,14 +1,14 @@
1
- import { useAppConfig as B, useGlobalCopyStore as F, useSettingsStore as L, useUserStore as M } from "../../../common/context/hooks.es.js";
1
+ import { useAppConfig as F, useGlobalCopyStore as B, useSettingsStore as L, useUserStore as M } from "../../../common/context/hooks.es.js";
2
2
  import { useScreenSize as R } from "../../../common/hooks/useScreenSize.es.js";
3
3
  import z from "../../../common/components/dialog/Dialog.es.js";
4
4
  import I from "./actions/ResetPasswordAction.es.js";
5
5
  import N from "./actions/VerifyEmailAction.es.js";
6
- import j from "./actions/VerifyPhoneAction.es.js";
6
+ import $ from "./actions/VerifyPhoneAction.es.js";
7
7
  import p from "react";
8
- import { observer as H } from "mobx-react-lite";
8
+ import { observer as j } from "mobx-react-lite";
9
9
  import l from "@mui/material/Stack";
10
- import { H3 as J, P as O } from "@mxenabled/mxui";
11
- import $ from "@mui/material/Button";
10
+ import { H3 as H, P as J } from "@mxenabled/mxui";
11
+ import O from "@mui/material/Button";
12
12
  import { Fragment as G, jsx as t, jsxs as i } from "react/jsx-runtime";
13
13
  import { alpha as b, useTheme as K } from "@mui/material/styles";
14
14
  import Y from "@mui/material/Box";
@@ -18,7 +18,7 @@ import { AdapterDateFns as Q } from "@mui/x-date-pickers/AdapterDateFnsV3";
18
18
  import { DatePicker as W } from "@mui/x-date-pickers";
19
19
  import { LocalizationProvider as X } from "@mui/x-date-pickers/LocalizationProvider";
20
20
  var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
21
- const u = K(), { common: w, settings: o } = F(), { isMobile: c } = R(C), { config: h } = B(), { updateUser: S } = L(), { user: r } = M(), [a, U] = p.useState({
21
+ const u = K(), { common: w, settings: o } = B(), { isMobile: m } = R(C), { config: h } = F(), { updateUser: S } = L(), { user: r } = M(), [a, U] = p.useState({
22
22
  first_name: r.first_name,
23
23
  last_name: r.last_name,
24
24
  email: r.email,
@@ -26,17 +26,17 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
26
26
  birthday: r.birthday,
27
27
  postal_code: r.postal_code,
28
28
  credit_score: r.credit_score
29
- }), [m, y] = p.useState(!1), [P, g] = p.useState(!1), _ = p.useRef(null), v = a.email && !r.email_is_verified && !m, x = a.phone && !r.phone_is_verified && !m;
29
+ }), [c, y] = p.useState(!1), [P, g] = p.useState(!1), _ = p.useRef(null), v = a.email && !r.email_is_verified && !c, x = a.phone && !r.phone_is_verified && !c;
30
30
  p.useEffect(() => {
31
31
  if (f) {
32
32
  const e = (s) => {
33
- _.current && !_.current.contains(s.target) && m && g(!0);
33
+ _.current && !_.current.contains(s.target) && c && g(!0);
34
34
  };
35
35
  return document.addEventListener("mousedown", e), () => {
36
36
  document.removeEventListener("mousedown", e);
37
37
  };
38
38
  }
39
- }, [m]);
39
+ }, [c]);
40
40
  const T = () => {
41
41
  if (a.birthday) {
42
42
  const e = /* @__PURE__ */ new Date(a.birthday * 1e3), s = e.getUTCFullYear(), A = e.getUTCMonth(), E = e.getUTCDate();
@@ -70,13 +70,13 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
70
70
  "& .MuiTextField-root": { flex: 1 }
71
71
  },
72
72
  children: [
73
- /* @__PURE__ */ t(J, { children: o.personal_details }),
74
- /* @__PURE__ */ t(O, {
73
+ /* @__PURE__ */ t(H, { children: o.personal_details }),
74
+ /* @__PURE__ */ t(J, {
75
75
  variant: "body1",
76
76
  children: o.update_information
77
77
  }),
78
78
  /* @__PURE__ */ i(l, {
79
- direction: c ? "column" : "row",
79
+ direction: m ? "column" : "row",
80
80
  spacing: 24,
81
81
  sx: {
82
82
  mb: 24,
@@ -93,12 +93,12 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
93
93
  })]
94
94
  }),
95
95
  /* @__PURE__ */ i(l, {
96
- direction: c ? "column" : "row",
96
+ direction: m ? "column" : "row",
97
97
  children: [h.display_email_edit_field_in_settings && /* @__PURE__ */ i(l, {
98
98
  sx: {
99
99
  flex: 1,
100
100
  mb: v ? 20 : 24,
101
- mr: c ? 0 : 24
101
+ mr: m ? 0 : 24
102
102
  },
103
103
  children: [/* @__PURE__ */ t(d, {
104
104
  defaultValue: a.email,
@@ -115,11 +115,11 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
115
115
  label: o.mobile_number,
116
116
  onChange: (e) => n({ phone: e.target.value }),
117
117
  type: "tel"
118
- }), x && /* @__PURE__ */ t(j, {})]
118
+ }), x && /* @__PURE__ */ t($, {})]
119
119
  })]
120
120
  }),
121
121
  /* @__PURE__ */ i(l, {
122
- direction: c ? "column" : "row",
122
+ direction: m ? "column" : "row",
123
123
  spacing: 24,
124
124
  sx: { mb: 24 },
125
125
  children: [/* @__PURE__ */ t(X, {
@@ -159,10 +159,10 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
159
159
  onChange: (e) => n({ credit_score: Number(e.target.value) })
160
160
  }),
161
161
  h.display_password_options_in_settings && /* @__PURE__ */ t(I, {}),
162
- /* @__PURE__ */ t($, {
163
- disabled: !m,
162
+ /* @__PURE__ */ t(O, {
163
+ disabled: !c,
164
164
  onClick: V,
165
- sx: { width: c ? "100%" : 124 },
165
+ sx: { width: m ? "100%" : 124 },
166
166
  variant: "contained",
167
167
  children: w.save_button
168
168
  })
@@ -177,7 +177,7 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
177
177
  secondaryText: o.leave,
178
178
  children: o.discard_changes_message
179
179
  })] });
180
- }, ye = H(Z);
180
+ }, ye = j(Z);
181
181
  export {
182
182
  ye as default
183
183
  };