@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0-ram1-bug-alpha-testing

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 (773) hide show
  1. package/CHANGELOG.md +676 -9
  2. package/README.md +216 -47
  3. package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
  4. package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
  5. package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
  6. package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
  7. package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
  8. package/dist/AccountUtils-T5_Odvos.mjs +27 -0
  9. package/dist/Accounts-CseLC3lL.mjs +5 -0
  10. package/dist/Analytics-CkYXKvco.mjs +53 -0
  11. package/dist/Analytics-CzGzz_sE.mjs +136 -0
  12. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  13. package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
  14. package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
  15. package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
  16. package/dist/Connect-Dk6GZEsA.mjs +39 -0
  17. package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
  18. package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
  19. package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
  20. package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
  21. package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
  22. package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  23. package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
  24. package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
  25. package/dist/DebtUtils-DD3186U-.mjs +153 -0
  26. package/dist/Dialog-CwWc0AbH.mjs +63 -0
  27. package/dist/Donut-SzzfZDHF.mjs +88 -0
  28. package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
  29. package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
  30. package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
  31. package/dist/Error-Dogaw2jO.mjs +84 -0
  32. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  33. package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
  34. package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
  35. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  36. package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
  37. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  38. package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
  39. package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
  40. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  41. package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
  42. package/dist/LineChart-CejWS_rh.mjs +612 -0
  43. package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
  44. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  45. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  46. package/dist/Loader-CxeBwuPG.mjs +21 -0
  47. package/dist/Localization-DnoVyBNK.mjs +38 -0
  48. package/dist/ManageIncome-B1JfqslT.mjs +595 -0
  49. package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
  50. package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
  51. package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
  52. package/dist/Notification-DTNYSd8P.mjs +7 -0
  53. package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
  54. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  55. package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  56. package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
  57. package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
  58. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
  59. package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
  60. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  61. package/dist/Select-BFt-HD-L.mjs +55 -0
  62. package/dist/SelectionBox-B4xELRgp.mjs +48 -0
  63. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  64. package/dist/Sizes-DISGrlUg.mjs +6 -0
  65. package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-xyRoRDHv.mjs} +7 -7
  66. package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
  67. package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
  68. package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
  69. package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
  70. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  71. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  72. package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
  73. package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
  74. package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
  75. package/dist/accounts/AccountsWidget.d.ts +1 -1
  76. package/dist/accounts/components/AccountListItem.d.ts +1 -1
  77. package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
  78. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
  79. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
  80. package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
  81. package/dist/accounts/hooks/useUiStore.d.ts +6 -1
  82. package/dist/accounts/index.d.ts +0 -2
  83. package/dist/accounts/index.es.js +628 -527
  84. package/dist/accounts/utils/AccountDetails.d.ts +1 -1
  85. package/dist/accounts/utils/AccountFields.d.ts +3 -3
  86. package/dist/analytics/index.es.js +93 -112
  87. package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
  88. package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
  89. package/dist/budgets/components/BubbleChart.d.ts +1 -1
  90. package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
  91. package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
  92. package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
  93. package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
  94. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
  95. package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
  96. package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
  97. package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
  98. package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
  99. package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
  100. package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
  101. package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
  102. package/dist/budgets/index.d.ts +2 -1
  103. package/dist/budgets/index.es.js +989 -813
  104. package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
  105. package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
  106. package/dist/cashflow/CashflowWidget.d.ts +1 -1
  107. package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
  108. package/dist/cashflow/context/hooks.d.ts +15 -1
  109. package/dist/cashflow/index.d.ts +0 -2
  110. package/dist/cashflow/index.es.js +461 -490
  111. package/dist/cashflow/util/Filters.d.ts +1 -1
  112. package/dist/categories/components/CategoryRow.d.ts +1 -1
  113. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
  114. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
  115. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
  116. package/dist/categories/components/SubcategoryList.d.ts +1 -1
  117. package/dist/categories/components/SubcategoryRow.d.ts +1 -1
  118. package/dist/categories/context/hooks.d.ts +19 -1
  119. package/dist/categories/index.d.ts +0 -1
  120. package/dist/categories/index.es.js +4 -6
  121. package/dist/common/components/CurrencyDialog.d.ts +19 -0
  122. package/dist/common/components/CurrencyInput.d.ts +1 -1
  123. package/dist/common/components/EmptyState.d.ts +0 -1
  124. package/dist/common/components/Error.d.ts +13 -0
  125. package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
  126. package/dist/common/components/Loader.d.ts +1 -2
  127. package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
  128. package/dist/common/components/TinyBarChart.d.ts +10 -0
  129. package/dist/common/components/WidgetContainer.d.ts +4 -3
  130. package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
  131. package/dist/common/components/charts/LineChart.d.ts +1 -0
  132. package/dist/common/components/charts/index.d.ts +1 -0
  133. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
  134. package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
  135. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  136. package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
  137. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
  138. package/dist/common/components/index.d.ts +2 -1
  139. package/dist/common/constants/Account.d.ts +1 -1
  140. package/dist/common/constants/Analytics.d.ts +12 -0
  141. package/dist/common/constants/ScheduledPayment.d.ts +1 -10
  142. package/dist/common/constants/SpendingPlan.d.ts +0 -10
  143. package/dist/common/constants/index.d.ts +2 -6
  144. package/dist/common/context/GlobalDataProvider.d.ts +2 -1
  145. package/dist/common/context/hooks.d.ts +24 -24
  146. package/dist/common/hooks/index.d.ts +2 -0
  147. package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
  148. package/dist/common/hooks/useCombineEvents.d.ts +1 -1
  149. package/dist/common/hooks/usePrevious.d.ts +2 -0
  150. package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
  151. package/dist/common/index.d.ts +3 -3
  152. package/dist/common/index.es.js +254 -1348
  153. package/dist/common/utils/AccountDisplayName.d.ts +1 -1
  154. package/dist/common/utils/AccountFilter.d.ts +2 -2
  155. package/dist/common/utils/Analytics.d.ts +1 -1
  156. package/dist/common/utils/PostMessage.d.ts +1 -0
  157. package/dist/common/utils/Theme.d.ts +7 -6
  158. package/dist/common/utils/index.d.ts +1 -6
  159. package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
  160. package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
  161. package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
  162. package/dist/{common → core}/api/BannerApi.d.ts +1 -1
  163. package/dist/{common → core}/api/BeatApi.d.ts +2 -2
  164. package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
  165. package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
  166. package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
  167. package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
  168. package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
  169. package/dist/{help → core}/api/HelpApi.d.ts +2 -2
  170. package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
  171. package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
  172. package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
  173. package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
  174. package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
  175. package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
  176. package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
  177. package/dist/{common → core}/api/UserApi.d.ts +2 -2
  178. package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
  179. package/dist/core/api/index.d.ts +20 -0
  180. package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
  181. package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
  182. package/dist/core/constants/Transaction.d.ts +10 -0
  183. package/dist/core/constants/index.d.ts +4 -0
  184. package/dist/core/constants/repeatingTransactions.d.ts +10 -0
  185. package/dist/core/index.d.ts +4 -0
  186. package/dist/core/index.es.js +108 -0
  187. package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
  188. package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
  189. package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
  190. package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
  191. package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
  192. package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
  193. package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
  194. package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
  195. package/dist/core/stores/DebtsStore.d.ts +22 -0
  196. package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
  197. package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
  198. package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
  199. package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
  200. package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
  201. package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
  202. package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
  203. package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
  204. package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
  205. package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
  206. package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
  207. package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
  208. package/dist/core/stores/index.d.ts +24 -0
  209. package/dist/{common → core}/types/Analytics.d.ts +6 -3
  210. package/dist/{common → core}/types/AppData.d.ts +8 -2
  211. package/dist/{common → core}/types/Beat.d.ts +2 -0
  212. package/dist/{common → core}/types/Budget.d.ts +8 -0
  213. package/dist/{common → core}/types/Client.d.ts +1 -0
  214. package/dist/{common → core}/types/Expense.d.ts +2 -1
  215. package/dist/{common → core}/types/Finstrong.d.ts +0 -2
  216. package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
  217. package/dist/{common → core}/types/Notification.d.ts +15 -5
  218. package/dist/core/types/Offer.d.ts +32 -0
  219. package/dist/{common → core}/types/Widgets.d.ts +1 -0
  220. package/dist/{common → core}/types/index.d.ts +4 -3
  221. package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
  222. package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
  223. package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
  224. package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
  225. package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
  226. package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
  227. package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
  228. package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
  229. package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
  230. package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
  231. package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
  232. package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
  233. package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
  234. package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
  235. package/dist/core/utils/DebtUtils.d.ts +31 -0
  236. package/dist/core/utils/FinstrongUtils.d.ts +7 -0
  237. package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
  238. package/dist/core/utils/HelpUtil.d.ts +3 -0
  239. package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
  240. package/dist/{common → core}/utils/Localization.d.ts +9 -1
  241. package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
  242. package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
  243. package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
  244. package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
  245. package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
  246. package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
  247. package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
  248. package/dist/core/utils/index.d.ts +2 -0
  249. package/dist/dashboard/index.es.js +39 -38
  250. package/dist/debts/DebtsWidget.d.ts +1 -1
  251. package/dist/debts/components/DebtsChart.d.ts +1 -1
  252. package/dist/debts/components/DebtsTable.d.ts +1 -1
  253. package/dist/debts/components/SnowballCard.d.ts +1 -1
  254. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
  255. package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
  256. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
  257. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
  258. package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
  259. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
  260. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
  261. package/dist/debts/index.d.ts +0 -1
  262. package/dist/debts/index.es.js +715 -775
  263. package/dist/debts/utils/DebtsTable.d.ts +1 -1
  264. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  265. package/dist/finstrong/FinstrongWidget.d.ts +2 -2
  266. package/dist/finstrong/components/HealthChart.d.ts +1 -1
  267. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
  268. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
  269. package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
  270. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
  271. package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
  272. package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
  273. package/dist/finstrong/index.d.ts +0 -2
  274. package/dist/finstrong/index.es.js +1587 -1349
  275. package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
  276. package/dist/goals/GoalsWidget.d.ts +2 -2
  277. package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
  278. package/dist/goals/components/AddGoal.d.ts +1 -1
  279. package/dist/goals/components/GoalDetails.d.ts +1 -1
  280. package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
  281. package/dist/goals/components/GoalList.d.ts +1 -1
  282. package/dist/goals/components/GoalStatusCard.d.ts +1 -1
  283. package/dist/goals/components/ManageGoals.d.ts +1 -1
  284. package/dist/goals/components/actions/AccountAction.d.ts +1 -1
  285. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
  286. package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
  287. package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
  288. package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
  289. package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
  290. package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
  291. package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
  292. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
  293. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
  294. package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
  295. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
  296. package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
  297. package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
  298. package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
  299. package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
  300. package/dist/goals/index.d.ts +0 -2
  301. package/dist/goals/index.es.js +707 -787
  302. package/dist/help/HelpWidget.d.ts +2 -2
  303. package/dist/help/components/HelpContent.d.ts +1 -1
  304. package/dist/help/components/HelpList.d.ts +1 -1
  305. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  306. package/dist/help/components/content/ContentItem.d.ts +1 -1
  307. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  308. package/dist/help/components/content/NoImageContent.d.ts +1 -1
  309. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  310. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  311. package/dist/help/components/content/section/Accounts.d.ts +1 -1
  312. package/dist/help/components/content/section/Budgets.d.ts +1 -1
  313. package/dist/help/components/content/section/CashFlow.d.ts +1 -1
  314. package/dist/help/components/content/section/Debts.d.ts +1 -1
  315. package/dist/help/components/content/section/General.d.ts +1 -1
  316. package/dist/help/components/content/section/Goals.d.ts +1 -1
  317. package/dist/help/components/content/section/Insights.d.ts +1 -1
  318. package/dist/help/components/content/section/Investments.d.ts +1 -1
  319. package/dist/help/components/content/section/Mobile.d.ts +1 -1
  320. package/dist/help/components/content/section/NetWorth.d.ts +1 -1
  321. package/dist/help/components/content/section/Notifications.d.ts +1 -1
  322. package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
  323. package/dist/help/components/content/section/Spending.d.ts +1 -1
  324. package/dist/help/components/content/section/Transactions.d.ts +1 -1
  325. package/dist/help/components/content/section/Trends.d.ts +1 -1
  326. package/dist/help/components/content/section/index.d.ts +15 -15
  327. package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
  328. package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
  329. package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
  330. package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
  331. package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
  332. package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
  333. package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
  334. package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
  335. package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
  336. package/dist/help/index.es.js +19 -10
  337. package/dist/help/utils/index.d.ts +0 -1
  338. package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
  339. package/dist/insights/components/feed/Header.d.ts +8 -0
  340. package/dist/insights/components/index.d.ts +53 -0
  341. package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
  342. package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
  343. package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
  344. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
  345. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
  346. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
  347. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
  348. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
  349. package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
  350. package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
  351. package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
  352. package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
  353. package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
  354. package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
  355. package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
  356. package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
  357. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
  358. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
  359. package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
  360. package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
  361. package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
  362. package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
  363. package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
  364. package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
  365. package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
  366. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
  367. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
  368. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
  369. package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
  370. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
  371. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
  372. package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
  373. package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
  374. package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
  375. package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
  376. package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
  377. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
  378. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
  379. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
  380. package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
  381. package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
  382. package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
  383. package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
  384. package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
  385. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
  386. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
  387. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
  388. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
  389. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
  390. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
  391. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
  392. package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
  393. package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
  394. package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
  395. package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
  396. package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
  397. package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
  398. package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
  399. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
  400. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
  401. package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
  402. package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
  403. package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
  404. package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
  405. package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
  406. package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
  407. package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
  408. package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
  409. package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
  410. package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
  411. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
  412. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
  413. package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
  414. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
  415. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
  416. package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
  417. package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
  418. package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
  419. package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
  420. package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
  421. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
  422. package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
  423. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
  424. package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
  425. package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
  426. package/dist/insights/components/insights/index.d.ts +25 -0
  427. package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
  428. package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
  429. package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
  430. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
  431. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
  432. package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
  433. package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
  434. package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
  435. package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
  436. package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
  437. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
  438. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
  439. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
  440. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
  441. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
  442. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
  443. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
  444. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
  445. package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
  446. package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
  447. package/dist/insights/components/shared/Charts/index.d.ts +2 -0
  448. package/dist/insights/components/shared/Confetti.d.ts +5 -0
  449. package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
  450. package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
  451. package/dist/insights/components/shared/Coupon.d.ts +8 -0
  452. package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
  453. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
  454. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
  455. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
  456. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
  457. package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
  458. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
  459. package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
  460. package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
  461. package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
  462. package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
  463. package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
  464. package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
  465. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
  466. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
  467. package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
  468. package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
  469. package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
  470. package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
  471. package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
  472. package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
  473. package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
  474. package/dist/insights/components/shared/GradientBox.d.ts +8 -0
  475. package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
  476. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
  477. package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
  478. package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
  479. package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
  480. package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
  481. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
  482. package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
  483. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
  484. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
  485. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
  486. package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
  487. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
  488. package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
  489. package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
  490. package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
  491. package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
  492. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
  493. package/dist/insights/components/shared/MenuAction.d.ts +15 -0
  494. package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
  495. package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
  496. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
  497. package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
  498. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
  499. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
  500. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
  501. package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
  502. package/dist/insights/components/shared/TabContainer.d.ts +8 -0
  503. package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
  504. package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
  505. package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
  506. package/dist/insights/components/shared/index.d.ts +2 -0
  507. package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
  508. package/dist/insights/index.d.ts +1 -1
  509. package/dist/insights/index.es.js +4843 -2
  510. package/dist/insights/themes/Typography.d.ts +1 -0
  511. package/dist/insights/themes/index.d.ts +1 -0
  512. package/dist/insights/types/Charts/BarChart.d.ts +96 -0
  513. package/dist/insights/types/CommonBeat.d.ts +367 -0
  514. package/dist/insights/types/DirectDeposit.d.ts +16 -0
  515. package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
  516. package/dist/investments/InvestmentsWidget.d.ts +2 -2
  517. package/dist/investments/components/AnalysisDetails.d.ts +1 -1
  518. package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
  519. package/dist/investments/index.es.js +574 -574
  520. package/dist/merchants/index.d.ts +0 -1
  521. package/dist/merchants/index.es.js +18 -20
  522. package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
  523. package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
  524. package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
  525. package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
  526. package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
  527. package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
  528. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
  529. package/dist/microinsights/beaticons/index.d.ts +3 -0
  530. package/dist/microinsights/cards/InsightCard.d.ts +3 -3
  531. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
  532. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
  533. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
  534. package/dist/microinsights/carousel/BeatList.d.ts +3 -3
  535. package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
  536. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
  537. package/dist/microinsights/constants/Analytics.d.ts +1 -1
  538. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
  539. package/dist/microinsights/context/hooks.d.ts +1 -1
  540. package/dist/microinsights/index.d.ts +1 -1
  541. package/dist/microinsights/index.es.js +1 -1
  542. package/dist/microinsights/interfaces.d.ts +23 -40
  543. package/dist/microinsights/stores/CopyStore.d.ts +2 -2
  544. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
  545. package/dist/microinsights/utils/DataSeries.d.ts +1 -1
  546. package/dist/microinsights/utils/colorType.d.ts +22 -0
  547. package/dist/networth/NetWorthWidget.d.ts +1 -1
  548. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
  549. package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
  550. package/dist/networth/components/NetWorthChange.d.ts +1 -1
  551. package/dist/networth/components/NetWorthListItem.d.ts +1 -1
  552. package/dist/networth/components/NetWorthSummary.d.ts +1 -1
  553. package/dist/networth/components/micro/NetworthData.d.ts +1 -1
  554. package/dist/networth/components/micro/ZeroState.d.ts +1 -1
  555. package/dist/networth/index.d.ts +0 -4
  556. package/dist/networth/index.es.js +302 -314
  557. package/dist/notifications/components/NotificationBadge.d.ts +1 -1
  558. package/dist/notifications/components/NotificationCard.d.ts +1 -1
  559. package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
  560. package/dist/notifications/components/NotificationList.d.ts +2 -1
  561. package/dist/notifications/index.d.ts +0 -2
  562. package/dist/notifications/index.es.js +101 -93
  563. package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
  564. package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
  565. package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
  566. package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
  567. package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
  568. package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
  569. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
  570. package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
  571. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
  572. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
  573. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
  574. package/dist/recurringtransactions/index.d.ts +0 -1
  575. package/dist/recurringtransactions/index.es.js +489 -462
  576. package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
  577. package/dist/settings/SettingsWidget.d.ts +2 -2
  578. package/dist/settings/TransactionRulesWidget.d.ts +1 -1
  579. package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
  580. package/dist/settings/components/devices/DeviceList.d.ts +1 -1
  581. package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
  582. package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
  583. package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
  584. package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
  585. package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
  586. package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
  587. package/dist/settings/index.d.ts +0 -2
  588. package/dist/settings/index.es.js +419 -430
  589. package/dist/spending/SpendingMiniWidget.d.ts +1 -1
  590. package/dist/spending/SpendingWidget.d.ts +1 -1
  591. package/dist/spending/index.es.js +229 -222
  592. package/dist/spending/utils/SpendingData.d.ts +1 -1
  593. package/dist/transactions/TransactionWidget.d.ts +1 -1
  594. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
  595. package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
  596. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
  597. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
  598. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
  599. package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
  600. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
  601. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
  602. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
  603. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
  604. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
  605. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
  606. package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
  607. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
  608. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
  609. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
  610. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
  611. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
  612. package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
  613. package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
  614. package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
  615. package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
  616. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
  617. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
  618. package/dist/transactions/constants/Actions.d.ts +4 -3
  619. package/dist/transactions/context/hooks.d.ts +1 -1
  620. package/dist/transactions/index.d.ts +0 -5
  621. package/dist/transactions/index.es.js +344 -351
  622. package/dist/transactions/utils/Filters.d.ts +1 -1
  623. package/dist/transactions/utils/Transactions.d.ts +17 -1
  624. package/dist/trends/TrendsFullWidget.d.ts +1 -1
  625. package/dist/trends/TrendsMiniWidget.d.ts +1 -1
  626. package/dist/trends/TrendsWidget.d.ts +1 -1
  627. package/dist/trends/components/CategoriesList.d.ts +1 -1
  628. package/dist/trends/components/CategoriesListItem.d.ts +1 -1
  629. package/dist/trends/components/CategoryDetails.d.ts +3 -0
  630. package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
  631. package/dist/trends/components/TrendsInsights.d.ts +1 -1
  632. package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
  633. package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
  634. package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
  635. package/dist/trends/index.d.ts +0 -1
  636. package/dist/trends/index.es.js +991 -876
  637. package/dist/trends/utils/SpendingData.d.ts +1 -1
  638. package/dist/trends/utils/TrendsTable.d.ts +5 -3
  639. package/dist/trends/utils/TrendsWidget.d.ts +7 -0
  640. package/dist/trends/utils/shared.d.ts +2 -2
  641. package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
  642. package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
  643. package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
  644. package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
  645. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
  646. package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
  647. package/package.json +65 -43
  648. package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
  649. package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
  650. package/dist/AccountFields-BRRH37K1.mjs +0 -140
  651. package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
  652. package/dist/AccountStore-BFKvXJSD.mjs +0 -244
  653. package/dist/Accounts-CuE8aSZN.mjs +0 -27
  654. package/dist/BeatApi-De2IaqH2.mjs +0 -21
  655. package/dist/BeatStore-D_NYuBSz.mjs +0 -81
  656. package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
  657. package/dist/CashflowStore-naOtJcwo.mjs +0 -91
  658. package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
  659. package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
  660. package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
  661. package/dist/DateUtil-CVsMhbZU.mjs +0 -48
  662. package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
  663. package/dist/Dialog-CWymUiuO.mjs +0 -120
  664. package/dist/Donut-Dmy3JTWd.mjs +0 -86
  665. package/dist/Fetch-DecPFeGU.mjs +0 -119
  666. package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
  667. package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
  668. package/dist/GoalStore-Dbjgft2i.mjs +0 -422
  669. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  670. package/dist/LineChart-DHj-Bufi.mjs +0 -580
  671. package/dist/Loader-BSWSYqvn.mjs +0 -24
  672. package/dist/Localization-2MODESHW.mjs +0 -30
  673. package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
  674. package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
  675. package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
  676. package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
  677. package/dist/Notification-Bs1fdbzI.mjs +0 -95
  678. package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
  679. package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
  680. package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
  681. package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
  682. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  683. package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
  684. package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
  685. package/dist/TransactionApi-CjBoLleL.mjs +0 -86
  686. package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
  687. package/dist/TransactionStore-D2aMUClq.mjs +0 -688
  688. package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
  689. package/dist/User-CulNdZUr.mjs +0 -314
  690. package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
  691. package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
  692. package/dist/accounts/stores/UiStore.d.ts +0 -10
  693. package/dist/accounts/utils/index.d.ts +0 -1
  694. package/dist/cashflow/api/CashflowApi.d.ts +0 -13
  695. package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
  696. package/dist/categories/stores/UiStore.d.ts +0 -20
  697. package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
  698. package/dist/common/api/index.d.ts +0 -10
  699. package/dist/common/components/barchart/Bar.d.ts +0 -25
  700. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  701. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  702. package/dist/common/components/barchart/Legend.d.ts +0 -8
  703. package/dist/common/components/barchart/Util.d.ts +0 -42
  704. package/dist/common/components/barchart/index.d.ts +0 -1
  705. package/dist/common/stores/index.d.ts +0 -3
  706. package/dist/common/types/SpendingPlan.d.ts +0 -44
  707. package/dist/common/utils/Categories.d.ts +0 -6
  708. package/dist/debts/store/DebtsStore.d.ts +0 -9
  709. package/dist/debts/store/DebtsUiStore.d.ts +0 -13
  710. package/dist/debts/utils/DebtStore.d.ts +0 -4
  711. package/dist/debts/utils/DebtsWidget.d.ts +0 -14
  712. package/dist/debts/utils/shared.d.ts +0 -12
  713. package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
  714. package/dist/help/constants/index.d.ts +0 -1
  715. package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
  716. package/dist/transactions/analytics.d.ts +0 -3
  717. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
  718. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  719. package/dist/transactions/constants/Transaction.d.ts +0 -2
  720. package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
  721. package/dist/transactions/stores/UiStore.d.ts +0 -25
  722. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
  723. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
  724. package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
  725. package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
  726. package/dist/{common → core}/constants/Category.d.ts +0 -0
  727. package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
  728. package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
  729. package/dist/{help → core}/constants/Help.d.ts +0 -0
  730. package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
  731. package/dist/{common → core}/constants/Numbers.d.ts +0 -0
  732. package/dist/{common → core}/constants/Table.d.ts +0 -0
  733. package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
  734. package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
  735. package/dist/{common → core}/stores/UserStore.d.ts +1 -1
  736. /package/dist/{common → core}/types/Account.d.ts +0 -0
  737. /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
  738. /package/dist/{common → core}/types/Category.d.ts +0 -0
  739. /package/dist/{common → core}/types/Date.d.ts +0 -0
  740. /package/dist/{common → core}/types/Debt.d.ts +0 -0
  741. /package/dist/{common → core}/types/Global.d.ts +0 -0
  742. /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
  743. /package/dist/{common → core}/types/Goal.d.ts +0 -0
  744. /package/dist/{common → core}/types/Handlers.d.ts +0 -0
  745. /package/dist/{common → core}/types/Help.d.ts +0 -0
  746. /package/dist/{common → core}/types/Holding.d.ts +0 -0
  747. /package/dist/{common → core}/types/Institution.d.ts +0 -0
  748. /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
  749. /package/dist/{common → core}/types/Merchant.d.ts +0 -0
  750. /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
  751. /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
  752. /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
  753. /package/dist/{common → core}/types/Transaction.d.ts +0 -0
  754. /package/dist/{common → core}/types/User.d.ts +0 -0
  755. /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
  756. /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
  757. /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
  758. /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
  759. /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
  760. /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
  761. /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
  762. /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
  763. /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
  764. /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
  765. /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
  766. /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
  767. /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
  768. /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
  769. /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
  770. /package/dist/{common → core}/types/localization/index.d.ts +0 -0
  771. /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
  772. /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
  773. /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
@@ -1,88 +1,130 @@
1
- import { jsx as e, jsxs as a, Fragment as B } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as s, Fragment as $ } from "react/jsx-runtime";
2
2
  import x from "react";
3
- import { observer as C } from "mobx-react-lite";
4
- import { endOfMonth as W } from "date-fns/endOfMonth";
5
- import { endOfToday as Z } from "date-fns/endOfToday";
6
- import { startOfMonth as G } from "date-fns/startOfMonth";
7
- import { startOfToday as J } from "date-fns/startOfToday";
8
- import { subDays as Q } from "date-fns/subDays";
9
- import { R as Te } from "../RecurringSettings-BpCUcE8w.mjs";
10
- import { M as vn } from "../RecurringSettings-BpCUcE8w.mjs";
11
- import { addMonths as We } from "date-fns/addMonths";
12
- import { subMonths as $e } from "date-fns/subMonths";
13
- import { isBefore as Be } from "date-fns/isBefore";
14
- import V from "@mui/material/Unstable_Grid2";
3
+ import { observer as R } from "mobx-react-lite";
4
+ import { endOfMonth as z } from "date-fns/endOfMonth";
5
+ import { endOfToday as J } from "date-fns/endOfToday";
6
+ import { startOfMonth as k } from "date-fns/startOfMonth";
7
+ import { startOfToday as Q } from "date-fns/startOfToday";
8
+ import { subDays as ee } from "date-fns/subDays";
9
+ import { R as _e } from "../RecurringSettings-cm6MK_aS.mjs";
10
+ import { M as Un } from "../RecurringSettings-cm6MK_aS.mjs";
11
+ import { addMonths as ze } from "date-fns/addMonths";
12
+ import { subMonths as He } from "date-fns/subMonths";
13
+ import { isBefore as $e } from "date-fns/isBefore";
14
+ import q from "@mui/material/Grid";
15
15
  import ge from "@mui/material/IconButton";
16
16
  import l from "@mui/material/Stack";
17
17
  import he from "@mui/material/Tab";
18
- import Pe from "@mui/material/Tabs";
19
- import { Cancel as De, CheckCircle as we, Schedule as He, MonetizationOn as ze, ChevronLeft as Fe, ChevronRight as Ue, CurrencyExchange as je } from "@mxenabled/mx-icons";
20
- import { Text as h, MerchantLogo as ee, InstitutionLogo as Ke, H3 as Ye, P as X } from "@mxenabled/mxui";
18
+ import Be from "@mui/material/Tabs";
19
+ import { Cancel as Te, CheckCircle as Se, Schedule as Fe, MonetizationOn as Ue, ChevronLeft as Ye, ChevronRight as je, CurrencyExchange as Ke } from "@mxenabled/mx-icons";
20
+ import { Text as h, MerchantLogo as te, InstitutionLogo as Ve, H3 as qe, H2 as Ze, P as Z } from "@mxenabled/mxui";
21
+ import { g as Xe, L as G, b as N } from "../Localization-DnoVyBNK.mjs";
21
22
  import { getWeeksInMonth as fe } from "date-fns/getWeeksInMonth";
22
- import te from "@mui/material/styles/useTheme";
23
- import { AdapterDateFns as Ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
24
- import { DateCalendar as Xe } from "@mui/x-date-pickers/DateCalendar";
25
- import { LocalizationProvider as qe } from "@mui/x-date-pickers/LocalizationProvider";
26
- import { isSameDay as Ze } from "date-fns/isSameDay";
27
- import Je from "@mui/material/Badge";
28
- import { PickersDay as Qe } from "@mui/x-date-pickers/PickersDay";
29
- import { I as P } from "../IconBacking-DgT8DCeh.mjs";
30
- import { u as R, b as H, j as _, g as z, p as _e, h as ne } from "../hooks-fY_n74f7.mjs";
31
- import { d as I, c as T, g as xe, f as et } from "../RepeatingTransaction-C2txVA9O.mjs";
32
- import { T as O } from "../RecurringTransactionsStore-D_--5PWH.mjs";
33
- import { R as An } from "../RecurringTransactionsStore-D_--5PWH.mjs";
34
- import { A as S, W as tt } from "../WidgetContainer-mzejMmz2.mjs";
35
- import nt from "@mui/material/Button";
36
- import q from "@mui/material/Divider";
37
- import be from "@mui/material/List";
38
- import Se from "@mui/material/ListItem";
39
- import it from "@mui/material/ListSubheader";
40
- import rt from "@mui/material/ListItemAvatar";
41
- import ot from "@mui/material/ListItemButton";
42
- import at from "@mui/material/ListItemText";
43
- import { b as st } from "../ManageIncome-DIIyqDTp.mjs";
44
- import { c as Nn, M as Gn, S as On } from "../ManageIncome-DIIyqDTp.mjs";
45
- import { D as ie } from "../Drawer-Bet2ZPJo.mjs";
46
- import { f as M } from "../NumberFormatting-DjTD0t3W.mjs";
47
- import { b as E } from "../Localization-2MODESHW.mjs";
48
- import { f as v, D as L } from "../Dialog-CWymUiuO.mjs";
49
- import N from "@mui/material/Box";
50
- import { S as Ie } from "../StatusBar-CPfSXe80.mjs";
51
- import { u as re } from "../useScreenSize-B6JyS_Lj.mjs";
52
- import { S as Me } from "../SkeletonLoader-BaNboJjD.mjs";
53
- import { L as oe } from "../Loader-BSWSYqvn.mjs";
54
- import { u as ae } from "../useWidgetLoadTimer-CrUzxN-P.mjs";
55
- import { M as ct } from "../MiniWidgetContainer-DKn7ndO6.mjs";
56
- import { u as lt } from "../useDimensions-27p2evRx.mjs";
57
- import { M as dt } from "../MicroWidgetContainer-DSyYwRCU.mjs";
58
- const F = {
23
+ import { enCA as Je } from "date-fns/locale/en-CA";
24
+ import { enUS as xe } from "date-fns/locale/en-US";
25
+ import { es as Qe } from "date-fns/locale/es";
26
+ import { fr as et } from "date-fns/locale/fr";
27
+ import { frCA as tt } from "date-fns/locale/fr-CA";
28
+ import { useTheme as ne } from "@mui/material/styles";
29
+ import { AdapterDateFns as nt } from "@mui/x-date-pickers/AdapterDateFnsV3";
30
+ import { DateCalendar as rt } from "@mui/x-date-pickers/DateCalendar";
31
+ import { LocalizationProvider as it } from "@mui/x-date-pickers/LocalizationProvider";
32
+ import { isSameDay as ot } from "date-fns/isSameDay";
33
+ import at from "@mui/material/Badge";
34
+ import { PickersDay as st } from "@mui/x-date-pickers/PickersDay";
35
+ import { I as B } from "../IconBacking-DgT8DCeh.mjs";
36
+ import { u as y, b as F, i as I, g as U, D as we, h as re } from "../hooks-BaO_gOI6.mjs";
37
+ import { b as A, a as D, g as be, d as ct } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
38
+ import { f as S, D as w } from "../DateFormats-HudZ3Bjs.mjs";
39
+ import { T as W } from "../Sizes-DISGrlUg.mjs";
40
+ import { A as L } from "../Analytics-CzGzz_sE.mjs";
41
+ import lt from "@mui/material/Button";
42
+ import X from "@mui/material/Divider";
43
+ import Ce from "@mui/material/List";
44
+ import Ie from "@mui/material/ListItem";
45
+ import dt from "@mui/material/ListSubheader";
46
+ import ut from "@mui/material/ListItemAvatar";
47
+ import mt from "@mui/material/ListItemButton";
48
+ import pt from "@mui/material/ListItemText";
49
+ import { f as E } from "../NumberFormatting--XMeeBfr.mjs";
50
+ import { d as gt } from "../ManageIncome-B1JfqslT.mjs";
51
+ import { c as jn, M as Kn, S as Vn } from "../ManageIncome-B1JfqslT.mjs";
52
+ import { D as ie } from "../Drawer-BXqqBMxg.mjs";
53
+ import O from "@mui/material/Box";
54
+ import { u as Me } from "../useScreenSize-mWpmnh5w.mjs";
55
+ import { S as Le } from "../StatusBar-CPfSXe80.mjs";
56
+ import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
57
+ import { u as oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
58
+ import { L as ae } from "../Loader-CxeBwuPG.mjs";
59
+ import { W as ht } from "../WidgetContainer-DNuz_s7W.mjs";
60
+ import { M as ft } from "../MiniWidgetContainer-BdPiUU-u.mjs";
61
+ import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
62
+ import { M as bt } from "../MicroWidgetContainer-CfKdQfhi.mjs";
63
+ const Y = {
59
64
  gridRow: 1,
60
65
  gridColumn: 1,
61
66
  zIndex: 2
62
- }, U = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, se = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(P, { size: n, sx: { ...U(t) }, children: /* @__PURE__ */ e(He, { color: "primary", filled: !0, sx: { fontSize: n, ...F } }) }), ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(P, { size: n, sx: { ...U(t) }, children: /* @__PURE__ */ e(
63
- ze,
67
+ }, j = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, se = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
68
+ B,
64
69
  {
65
- filled: !0,
66
- sx: { color: "categories.income", fontSize: n, ...F }
70
+ backingSx: { backgroundColor: "background.paper" },
71
+ size: n,
72
+ sx: { ...j(t) },
73
+ children: /* @__PURE__ */ e(Fe, { color: "primary", filled: !0, sx: { fontSize: n, ...Y } })
67
74
  }
68
- ) }), le = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(P, { size: n, sx: { ...U(t) }, children: /* @__PURE__ */ e(De, { color: "error", filled: !0, sx: { fontSize: n, ...F } }) }), de = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(P, { size: n, sx: { ...U(t) }, children: /* @__PURE__ */ e(we, { color: "success", filled: !0, sx: { fontSize: n, ...F } }) }), ut = C(
69
- ({ day: t, outsideCurrentMonth: n, ...i }) => {
70
- const { recurring: o } = R(), { selectedAccountGuids: r } = H(), { recurrences: c, setSelectedDay: u } = _(), s = x.useMemo(
71
- () => c.filter((f) => r.includes(f.accountGuid)),
72
- [r, c]
75
+ ), ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
76
+ B,
77
+ {
78
+ backingSx: { backgroundColor: "background.paper" },
79
+ size: n,
80
+ sx: { ...j(t) },
81
+ children: /* @__PURE__ */ e(
82
+ Ue,
83
+ {
84
+ filled: !0,
85
+ sx: { color: "categories.income", fontSize: n, ...Y }
86
+ }
87
+ )
88
+ }
89
+ ), le = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
90
+ B,
91
+ {
92
+ backingSx: { backgroundColor: "background.paper" },
93
+ size: n,
94
+ sx: { ...j(t) },
95
+ children: /* @__PURE__ */ e(Te, { color: "error", filled: !0, sx: { fontSize: n, ...Y } })
96
+ }
97
+ ), de = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
98
+ B,
99
+ {
100
+ backingSx: { backgroundColor: "background.paper" },
101
+ size: n,
102
+ sx: { ...j(t) },
103
+ children: /* @__PURE__ */ e(Se, { color: "success", filled: !0, sx: { fontSize: n, ...Y } })
104
+ }
105
+ ), Ct = R(
106
+ ({ day: t, outsideCurrentMonth: n, ...r }) => {
107
+ const { recurring: i } = y(), { selectedAccountGuids: o } = F(), { recurrences: c, setSelectedDay: u } = I(), a = x.useMemo(
108
+ () => c.filter((f) => o.includes(f.accountGuid)),
109
+ [o, c]
73
110
  ).filter(
74
- (f) => Ze(f.occurredOnDate || f.expectedDate, t)
75
- ), d = s.some(
76
- (f) => f.type !== I.Income && f.status === T.Upcoming
77
- ), m = s.some(
78
- (f) => f.type !== I.Income && f.status === T.Missed
79
- ), g = s.some(
80
- (f) => f.type !== I.Income && f.status === T.Paid
81
- ), b = s.some((f) => f.type === I.Income), y = (d ? 1 : 0) + (m ? 1 : 0) + (g ? 1 : 0) + (b ? 1 : 0);
111
+ (f) => ot(f.occurredOnDate || f.expectedDate, t)
112
+ ), d = a.some(
113
+ (f) => f.type !== A.Income && f.status === D.Upcoming
114
+ ), m = a.some(
115
+ (f) => f.type !== A.Income && f.status === D.Missed
116
+ ), g = a.some(
117
+ (f) => f.type !== A.Income && f.status === D.Paid
118
+ ), b = a.some((f) => f.type === A.Income), C = (d ? 1 : 0) + (m ? 1 : 0) + (g ? 1 : 0) + (b ? 1 : 0), v = [
119
+ g && i.paid,
120
+ m && i.missed,
121
+ d && i.upcoming,
122
+ b && i.income
123
+ ].filter(Boolean), M = v.length > 0 ? `${S(t, w.MONTH_DAY_YEAR)}, ${v.join(", ")}` : S(t, w.MONTH_DAY_YEAR);
82
124
  return /* @__PURE__ */ e(
83
- Je,
125
+ at,
84
126
  {
85
- badgeContent: s.length > 0 && /* @__PURE__ */ a(B, { children: [
127
+ badgeContent: a.length > 0 && /* @__PURE__ */ s($, { children: [
86
128
  m && /* @__PURE__ */ e(le, { isOffset: !0 }),
87
129
  g && /* @__PURE__ */ e(de, { isOffset: !0 }),
88
130
  d && /* @__PURE__ */ e(se, { isOffset: !0 }),
@@ -92,18 +134,14 @@ const F = {
92
134
  sx: {
93
135
  "& .MuiBadge-badge": {
94
136
  padding: 0,
95
- marginRight: `${(y - 1) * 6 + 1}px`,
137
+ marginRight: `${(C - 1) * 6 + 1}px`,
96
138
  flexWrap: "nowrap"
97
139
  }
98
140
  },
99
141
  children: /* @__PURE__ */ e(
100
- Qe,
142
+ st,
101
143
  {
102
- "aria-label": `
103
- ${g && o.paid},
104
- ${m && o.missed},
105
- ${d && o.upcoming},
106
- ${b && o.income}`,
144
+ "aria-label": M,
107
145
  day: t,
108
146
  onClick: () => u(t),
109
147
  outsideCurrentMonth: n,
@@ -114,18 +152,18 @@ const F = {
114
152
  }
115
153
  }
116
154
  },
117
- ...i
155
+ ...r
118
156
  }
119
157
  )
120
158
  }
121
159
  );
122
160
  }
123
- ), $ = ({ icon: t, label: n }) => /* @__PURE__ */ a(l, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
161
+ ), H = ({ icon: t, label: n }) => /* @__PURE__ */ s(l, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
124
162
  /* @__PURE__ */ e(t, {}),
125
- /* @__PURE__ */ e(h, { variant: "XSmall", children: n })
126
- ] }), mt = C(() => {
127
- const { recurring: t } = R();
128
- return /* @__PURE__ */ a(
163
+ /* @__PURE__ */ e(h, { variant: "caption", children: n })
164
+ ] }), yt = R(() => {
165
+ const { recurring: t } = y();
166
+ return /* @__PURE__ */ s(
129
167
  l,
130
168
  {
131
169
  alignItems: "center",
@@ -135,35 +173,44 @@ const F = {
135
173
  justifyContent: "center",
136
174
  mt: 12,
137
175
  children: [
138
- /* @__PURE__ */ e($, { icon: se, label: t.expense }),
139
- /* @__PURE__ */ e($, { icon: ce, label: t.income }),
140
- /* @__PURE__ */ e($, { icon: le, label: t.missed }),
141
- /* @__PURE__ */ e($, { icon: de, label: t.paid })
176
+ /* @__PURE__ */ e(H, { icon: se, label: t.expense }),
177
+ /* @__PURE__ */ e(H, { icon: ce, label: t.income }),
178
+ /* @__PURE__ */ e(H, { icon: le, label: t.missed }),
179
+ /* @__PURE__ */ e(H, { icon: de, label: t.paid })
142
180
  ]
143
181
  }
144
182
  );
145
- }), ye = 58, ve = C(() => {
146
- const t = te(), { onEvent: n } = z(), { selectedDay: i, setDateRange: o } = _(), [r, c] = x.useState(
147
- fe(/* @__PURE__ */ new Date()) * O + ye
148
- ), u = (m) => {
149
- c(fe(m) * O + ye), o({
150
- start: G(m),
151
- end: W(m)
152
- }), p(m), n(S.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
153
- }, p = (m) => {
183
+ }), ye = 58, Rt = () => {
184
+ const t = Xe();
185
+ return {
186
+ [G.EN_US]: xe,
187
+ [G.EN_CA]: Je,
188
+ [G.FR]: et,
189
+ [G.FR_CA]: tt,
190
+ [G.ES]: Qe
191
+ }[t] || xe;
192
+ }, Ae = R(() => {
193
+ const t = ne(), { onEvent: n } = U(), { recurring: r } = y(), { selectedDay: i, setDateRange: o } = I(), [c, u] = x.useState(
194
+ fe(/* @__PURE__ */ new Date()) * W + ye
195
+ ), p = (m) => {
196
+ u(fe(m) * W + ye), o({
197
+ start: k(m),
198
+ end: z(m)
199
+ }), a(m), n(L.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
200
+ }, a = (m) => {
154
201
  m && requestAnimationFrame(() => {
155
202
  const g = document.getElementById("recurrence-list");
156
203
  g?.setAttribute("tabindex", "-1"), g?.focus();
157
204
  });
158
- }, s = /* @__PURE__ */ e(
159
- Xe,
205
+ }, d = /* @__PURE__ */ e(
206
+ rt,
160
207
  {
161
- minDate: G(/* @__PURE__ */ new Date()),
162
- onChange: p,
163
- onMonthChange: u,
208
+ minDate: k(/* @__PURE__ */ new Date()),
209
+ onChange: a,
210
+ onMonthChange: p,
164
211
  showDaysOutsideCurrentMonth: !0,
165
212
  slots: {
166
- day: ut
213
+ day: Ct
167
214
  },
168
215
  sx: {
169
216
  "& .MuiPickersArrowSwitcher-button": {
@@ -184,136 +231,113 @@ const F = {
184
231
  pr: 8
185
232
  },
186
233
  "& .MuiPickersCalendarHeader-label": {
187
- fontFamily: t.typography.Body.fontFamily,
188
- fontSize: t.typography.Body.fontSize,
234
+ fontFamily: t.typography.body1.fontFamily,
235
+ fontSize: t.typography.body1.fontSize,
189
236
  fontWeight: 600
190
237
  },
191
238
  "& .MuiDayCalendar-slideTransition": {
192
- minHeight: r
239
+ minHeight: c
193
240
  },
194
241
  "&.MuiDateCalendar-root": {
195
- minHeight: r + O
242
+ minHeight: c + W
196
243
  },
197
244
  "& .MuiButtonBase-root, .MuiDayCalendar-weekDayLabel": {
198
- height: O,
199
- width: O,
245
+ height: W,
246
+ width: W,
200
247
  margin: 0
201
248
  },
202
249
  "& .MuiDayCalendar-weekDayLabel": {
203
250
  fontFamily: t.typography.h3.fontFamily,
204
251
  fontSize: t.typography.body2.fontSize
205
- }
252
+ },
253
+ "& .MuiPickersDay-dayOutsideMonth": {
254
+ color: "text.secondary"
255
+ },
256
+ textTransform: "capitalize"
206
257
  },
207
258
  value: i,
208
259
  views: ["day"]
209
260
  }
210
261
  );
211
- return /* @__PURE__ */ a(
212
- l,
213
- {
214
- "aria-describedby": "calendar-description",
215
- "aria-labelledby": "calendar-label",
216
- justifyContent: "center",
217
- children: [
218
- /* @__PURE__ */ e(
219
- "span",
220
- {
221
- id: "calendar-label",
222
- style: {
223
- position: "absolute",
224
- width: "1px",
225
- height: "1px",
226
- padding: 0,
227
- margin: "-1px",
228
- overflow: "hidden",
229
- clip: "rect(0, 0, 0, 0)",
230
- whiteSpace: "nowrap",
231
- border: 0
232
- },
233
- children: "Calendar filter for recurring transactions list. Filter by month or select specific date."
234
- }
235
- ),
236
- /* @__PURE__ */ a(qe, { dateAdapter: Ve, children: [
237
- i && s,
238
- !i && s,
239
- /* @__PURE__ */ e(mt, {})
240
- ] })
241
- ]
242
- }
243
- );
244
- }), pt = (t) => {
245
- if (t.type === I.Income)
262
+ return /* @__PURE__ */ e(l, { "aria-labelledby": "calendar-label", justifyContent: "center", role: "group", children: /* @__PURE__ */ s(it, { adapterLocale: Rt(), dateAdapter: nt, children: [
263
+ i && d,
264
+ !i && d,
265
+ /* @__PURE__ */ e(h, { id: "calendar-label", sx: { alignSelf: "center" }, variant: "body2", children: r.calendar_tooltip }),
266
+ /* @__PURE__ */ e(yt, {})
267
+ ] }) });
268
+ }), Dt = (t) => {
269
+ if (t.type === A.Income)
246
270
  return /* @__PURE__ */ e(ce, {});
247
271
  switch (t.status) {
248
- case T.Missed:
272
+ case D.Missed:
249
273
  return /* @__PURE__ */ e(le, {});
250
- case T.Paid:
274
+ case D.Paid:
251
275
  return /* @__PURE__ */ e(de, {});
252
276
  default:
253
277
  return /* @__PURE__ */ e(se, {});
254
278
  }
255
- }, gt = (t, n) => {
279
+ }, _t = (t, n) => {
256
280
  switch (t.status) {
257
- case T.Paid:
258
- return t.expectedDate ? E(
281
+ case D.Paid:
282
+ return t.expectedDate ? N(
259
283
  n.paid_on,
260
- v(
284
+ S(
261
285
  t.occurredOnDate || t.expectedDate,
262
- L.MONTH_DAY
286
+ w.MONTH_DAY
263
287
  )
264
288
  ) : n.paid;
265
- case T.Missed:
266
- return E(
289
+ case D.Missed:
290
+ return N(
267
291
  n.missed_on,
268
- v(t.expectedDate, L.MONTH_DAY)
292
+ S(t.expectedDate, w.MONTH_DAY)
269
293
  );
270
- case T.Upcoming:
271
- return E(
294
+ case D.Upcoming:
295
+ return N(
272
296
  n.upcoming_on,
273
- v(t.expectedDate, L.MONTH_DAY)
297
+ S(t.expectedDate, w.MONTH_DAY)
274
298
  );
275
299
  default:
276
300
  return n.unknown;
277
301
  }
278
- }, Ce = ({
302
+ }, Re = ({
279
303
  recurrence: t,
280
304
  isMini: n = !1,
281
- onRecurrenceClick: i = () => {
305
+ onRecurrenceClick: r = () => {
282
306
  },
283
- showOrdinal: o = !1
307
+ showOrdinal: i = !1
284
308
  }) => {
285
- const { recurring: r } = R(), { detailedRepeatingTransactions: c } = _(), [u, p] = x.useState(!1), s = x.useMemo(
286
- () => c.find((A) => A.guid === t.repeatingTransactionGuid),
309
+ const { recurring: o } = y(), { detailedRepeatingTransactions: c } = I(), [u, p] = x.useState(!1), a = x.useMemo(
310
+ () => c.find((M) => M.guid === t.repeatingTransactionGuid),
287
311
  [t, c]
288
- ), d = t.type === I.Income, m = t.status === T.Paid, g = t.status === T.Missed, b = t.status === T.Upcoming;
289
- let y = r.paid?.toLowerCase();
290
- return g ? y = r.missed?.toLowerCase() : b && (y = o ? xe(r, s || {}, !0) : xe(r, s || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
291
- /* @__PURE__ */ a(Se, { disableGutters: !0, disablePadding: !0, children: [
292
- /* @__PURE__ */ a(ot, { onClick: () => {
293
- p(!0), i(t);
312
+ ), d = t.type === A.Income, m = t.status === D.Paid, g = t.status === D.Missed, b = t.status === D.Upcoming;
313
+ let C = o.paid?.toLowerCase();
314
+ return g ? C = o.missed?.toLowerCase() : b && (C = i ? be(o, a || {}, !0) : be(o, a || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
315
+ /* @__PURE__ */ s(Ie, { disableGutters: !0, disablePadding: !0, children: [
316
+ /* @__PURE__ */ s(mt, { onClick: () => {
317
+ p(!0), r(t);
294
318
  }, children: [
295
- /* @__PURE__ */ e(rt, { children: /* @__PURE__ */ e(
296
- ee,
319
+ /* @__PURE__ */ e(ut, { children: /* @__PURE__ */ e(
320
+ te,
297
321
  {
298
322
  categoryGuid: t.categoryGuid,
299
323
  merchantGuid: t.merchantGuid
300
324
  }
301
325
  ) }),
302
- /* @__PURE__ */ e(at, { children: /* @__PURE__ */ a(
326
+ /* @__PURE__ */ e(pt, { children: /* @__PURE__ */ s(
303
327
  l,
304
328
  {
305
329
  direction: "row",
306
330
  gap: 4,
307
331
  sx: { justifyContent: "space-between", textOverflow: "ellipsis", textWrap: "nowrap" },
308
332
  children: [
309
- /* @__PURE__ */ a(l, { direction: "column", width: "50%", children: [
333
+ /* @__PURE__ */ s(l, { direction: "column", width: "50%", children: [
310
334
  /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: t.name }),
311
- /* @__PURE__ */ e(l, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
312
- pt(t),
313
- /* @__PURE__ */ e(h, { variant: "caption", children: gt(t, r) })
314
- ] }) : /* @__PURE__ */ a(B, { children: [
335
+ /* @__PURE__ */ e(l, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ s(l, { direction: "row", gap: 4, children: [
336
+ Dt(t),
337
+ /* @__PURE__ */ e(h, { variant: "caption", children: _t(t, o) })
338
+ ] }) : /* @__PURE__ */ s($, { children: [
315
339
  t.institutionGuid && /* @__PURE__ */ e(
316
- Ke,
340
+ Ve,
317
341
  {
318
342
  alt: `${t.institutionName} institution logo`,
319
343
  institutionGuid: t.institutionGuid,
@@ -323,12 +347,12 @@ const F = {
323
347
  /* @__PURE__ */ e(h, { sx: { maxWidth: 250 }, variant: "caption", children: t.institutionName })
324
348
  ] }) })
325
349
  ] }),
326
- /* @__PURE__ */ a(l, { alignItems: "flex-end", width: "100%", children: [
327
- /* @__PURE__ */ a(h, { bold: !0, color: d ? "success.main" : "text.primary", variant: "body1", children: [
350
+ /* @__PURE__ */ s(l, { alignItems: "flex-end", width: "100%", children: [
351
+ /* @__PURE__ */ s(h, { bold: !0, color: d ? "success.main" : "text.primary", variant: "body1", children: [
328
352
  d ? "+" : "",
329
- M(t.amount, "0,0.00")
353
+ E(t.amount, "0,0.00")
330
354
  ] }),
331
- !n && /* @__PURE__ */ a(
355
+ !n && /* @__PURE__ */ s(
332
356
  l,
333
357
  {
334
358
  direction: "row",
@@ -340,9 +364,9 @@ const F = {
340
364
  width: "100%"
341
365
  },
342
366
  children: [
343
- m && /* @__PURE__ */ e(we, { color: "success", filled: !0, size: 12 }),
344
- g && /* @__PURE__ */ e(De, { color: "error", filled: !0, size: 12 }),
345
- /* @__PURE__ */ e(h, { bold: !0, color: "text.secondary", variant: "caption", children: y })
367
+ m && /* @__PURE__ */ e(Se, { color: "success", filled: !0, size: 12 }),
368
+ g && /* @__PURE__ */ e(Te, { color: "error", filled: !0, size: 12 }),
369
+ /* @__PURE__ */ e(h, { bold: !0, color: "text.secondary", variant: "caption", children: C })
346
370
  ]
347
371
  }
348
372
  )
@@ -354,32 +378,32 @@ const F = {
354
378
  /* @__PURE__ */ e(
355
379
  ie,
356
380
  {
357
- ariaLabelClose: r.close_drawer_aria,
381
+ ariaLabelClose: o.close_drawer_aria,
358
382
  isOpen: u,
359
383
  onClose: () => p(!1),
360
- title: t.type === I.Income ? r.income_details : r.expense_details,
361
- children: s && /* @__PURE__ */ e(
362
- st,
384
+ title: t.type === A.Income ? o.income_details : o.expense_details,
385
+ children: a && /* @__PURE__ */ e(
386
+ gt,
363
387
  {
364
388
  onDeleted: () => p(!1),
365
- recurringTransaction: s
389
+ recurringTransaction: a
366
390
  }
367
391
  )
368
392
  }
369
393
  )
370
394
  ] });
371
- }, k = C(
395
+ }, P = R(
372
396
  ({
373
397
  recurrences: t,
374
398
  isMini: n = !1,
375
- onResetClick: i,
376
- onRecurrenceClick: o,
377
- sx: r = {},
399
+ onResetClick: r,
400
+ onRecurrenceClick: i,
401
+ sx: o = {},
378
402
  title: c
379
403
  }) => {
380
- const { recurring: u } = R(), p = x.useMemo(() => et(t), [t]);
381
- return /* @__PURE__ */ a(l, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...r }, "tab-index": -1, children: [
382
- c && /* @__PURE__ */ a(
404
+ const { recurring: u } = y(), p = x.useMemo(() => ct(t), [t]);
405
+ return /* @__PURE__ */ s(l, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...o }, "tab-index": -1, children: [
406
+ c && /* @__PURE__ */ s(
383
407
  l,
384
408
  {
385
409
  sx: {
@@ -389,160 +413,160 @@ const F = {
389
413
  px: 24
390
414
  },
391
415
  children: [
392
- /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: c }),
393
- i && /* @__PURE__ */ e(nt, { onClick: i, size: "small", variant: "text", children: u.reset })
416
+ /* @__PURE__ */ e(qe, { bold: !0, variant: "body1", children: c }),
417
+ r && /* @__PURE__ */ e(lt, { onClick: r, size: "small", variant: "text", children: u.reset })
394
418
  ]
395
419
  }
396
420
  ),
397
- t.length === 0 ? /* @__PURE__ */ e(h, { fontStyle: "italic", sx: { py: 24, textAlign: "center" }, children: u.no_activities }) : /* @__PURE__ */ e(be, { children: n ? t.map((s, d) => /* @__PURE__ */ a(x.Fragment, { children: [
421
+ t.length === 0 ? /* @__PURE__ */ e(h, { fontStyle: "italic", sx: { py: 24, textAlign: "center" }, children: u.no_activities }) : /* @__PURE__ */ e(Ce, { children: n ? t.map((a, d) => /* @__PURE__ */ s(x.Fragment, { children: [
398
422
  /* @__PURE__ */ e(
399
- Ce,
423
+ Re,
400
424
  {
401
425
  isMini: n,
402
- onRecurrenceClick: o,
403
- recurrence: s
426
+ onRecurrenceClick: i,
427
+ recurrence: a
404
428
  }
405
429
  ),
406
- /* @__PURE__ */ e(q, { sx: { mx: 24 } })
407
- ] }, `recurrence-${d}`)) : p.map((s, d) => /* @__PURE__ */ a(x.Fragment, { children: [
408
- /* @__PURE__ */ e(Se, { children: /* @__PURE__ */ e(
409
- be,
430
+ /* @__PURE__ */ e(X, { sx: { mx: 24 } })
431
+ ] }, `recurrence-${d}`)) : p.map((a, d) => /* @__PURE__ */ s(x.Fragment, { children: [
432
+ /* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ e(
433
+ Ce,
410
434
  {
411
- subheader: /* @__PURE__ */ e(it, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: v(s.date, L.DAY_OF_WEEK_MONTH_DAY) }) }),
435
+ subheader: /* @__PURE__ */ e(dt, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: S(a.date, w.DAY_OF_WEEK_MONTH_DAY) }) }),
412
436
  sx: { width: "100%" },
413
- children: s.recurrences.map((m, g) => /* @__PURE__ */ e(x.Fragment, { children: /* @__PURE__ */ e(
414
- Ce,
437
+ children: a.recurrences.map((m, g) => /* @__PURE__ */ e(x.Fragment, { children: /* @__PURE__ */ e(
438
+ Re,
415
439
  {
416
440
  isMini: n,
417
- onRecurrenceClick: o,
441
+ onRecurrenceClick: i,
418
442
  recurrence: m
419
443
  }
420
444
  ) }, `day-recurrence-${g}`))
421
445
  }
422
- ) }, s.id),
423
- /* @__PURE__ */ e(q, { sx: { mx: 24 } })
446
+ ) }, a.id),
447
+ /* @__PURE__ */ e(X, { sx: { mx: 24 } })
424
448
  ] }, `recurrence-${d}`)) })
425
449
  ] });
426
450
  }
427
- ), Re = C(
428
- ({ expected: t, isExpense: n = !0, missed: i, paid: o, title: r, total: c, upcoming: u }) => {
429
- const p = te(), { isSmallMobile: s } = re(), { recurring: d } = R(), m = x.useMemo(() => {
430
- const g = [{ color: p.palette.success.main, percentage: `${o / t}` }];
431
- return i && g.push({ color: p.palette.error.main, percentage: `${i / t}` }), g;
432
- }, [o, t, i]);
433
- return /* @__PURE__ */ a(l, { children: [
434
- /* @__PURE__ */ a(l, { sx: { flexDirection: "row", justifyContent: "space-between", pb: 12 }, children: [
435
- /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${r} (${c})` }),
436
- /* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${M(t, "0,0.00")}` })
451
+ ), De = R(
452
+ ({ expected: t, isExpense: n = !0, missed: r, paid: i, title: o, total: c, upcoming: u }) => {
453
+ const p = ne(), { isSmallMobile: a } = Me(), { recurring: d } = y(), m = x.useMemo(() => {
454
+ const g = [{ color: p.palette.success.main, percentage: `${i / t}` }];
455
+ return r && g.push({ color: p.palette.error.main, percentage: `${r / t}` }), g;
456
+ }, [i, t, r]);
457
+ return /* @__PURE__ */ s(l, { children: [
458
+ /* @__PURE__ */ s(l, { sx: { flexDirection: "row", justifyContent: "space-between", pb: 12 }, children: [
459
+ /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${o} (${c})` }),
460
+ /* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${E(t, "0,0.00")}` })
437
461
  ] }),
438
- /* @__PURE__ */ e(Ie, { data: m, height: 12 }),
439
- /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2, my: 8 }, children: [
440
- /* @__PURE__ */ e(N, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
441
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(o, "0,0.00") }),
462
+ /* @__PURE__ */ e(Le, { data: m, height: 12 }),
463
+ /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2, my: 8 }, children: [
464
+ /* @__PURE__ */ e(O, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
465
+ !a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(i, "0,0.00") }),
442
466
  /* @__PURE__ */ e(h, { variant: "caption", children: d.paid?.toLowerCase() }),
443
- i !== void 0 && /* @__PURE__ */ a(B, { children: [
444
- /* @__PURE__ */ e(N, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
445
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(i, "0,0.00") }),
467
+ r !== void 0 && /* @__PURE__ */ s($, { children: [
468
+ /* @__PURE__ */ e(O, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
469
+ !a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(r, "0,0.00") }),
446
470
  /* @__PURE__ */ e(h, { variant: "caption", children: d.missed?.toLowerCase() })
447
471
  ] }),
448
- /* @__PURE__ */ e(N, { sx: { bgcolor: "divider", height: 8, ml: 16, mr: 8, width: 8 } }),
449
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(u, "0,0.00") }),
450
- /* @__PURE__ */ e(h, { variant: "caption", children: d.upcoming })
472
+ /* @__PURE__ */ e(O, { sx: { bgcolor: "divider", height: 8, ml: 16, mr: 8, width: 8 } }),
473
+ !a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(u, "0,0.00") }),
474
+ /* @__PURE__ */ e(h, { variant: "caption", children: d.upcoming?.toLowerCase() })
451
475
  ] })
452
476
  ] });
453
477
  }
454
- ), ht = C(() => {
455
- const { recurring: t } = R(), { availableWidth: n } = _e(), { isDesktop: i, isSmallMobile: o, isMobile: r } = re(n), { onEvent: c } = z(), {
478
+ ), Tt = R(() => {
479
+ const { recurring: t } = y(), { availableWidth: n } = we(), { isDesktop: r, isSmallMobile: i, isMobile: o } = Me(n), { onEvent: c } = U(), {
456
480
  currentMonthExpenses: u,
457
481
  currentMonthIncome: p,
458
- dateRange: s,
482
+ dateRange: a,
459
483
  expenseTotal: d,
460
484
  incomeTotal: m,
461
485
  missedExpenseTotal: g,
462
486
  pastRecurrences: b,
463
- paidExpenseTotal: y,
464
- paidIncomeTotal: f,
465
- selectedDay: A,
466
- selectedDayRecurrences: j,
467
- setDateRange: w,
487
+ paidExpenseTotal: C,
488
+ paidIncomeTotal: v,
489
+ selectedDay: M,
490
+ selectedDayRecurrences: f,
491
+ setDateRange: T,
468
492
  upcomingExpenseTotal: K,
469
- upcomingIncomeTotal: Le,
493
+ upcomingIncomeTotal: Ee,
470
494
  upcomingRecurrences: ue
471
- } = _(), [Y, Ae] = x.useState(0), Ee = Be(s.start, /* @__PURE__ */ new Date()), Ne = (D, ke) => {
472
- Ae(ke);
473
- }, me = (D) => {
474
- c(S.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
475
- transaction_guid: D.transaction?.guid
495
+ } = I(), [V, Ne] = x.useState(0), Oe = $e(a.start, /* @__PURE__ */ new Date()), ke = (_, Pe) => {
496
+ Ne(Pe);
497
+ }, me = (_) => {
498
+ c(L.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
499
+ transaction_guid: _.transaction?.guid
476
500
  });
477
- }, pe = (D) => {
478
- c(S.RECURRING_TRANSACTIONS_CLICK_PAID, {
479
- transaction_guid: D.transaction?.guid
501
+ }, pe = (_) => {
502
+ c(L.RECURRING_TRANSACTIONS_CLICK_PAID, {
503
+ transaction_guid: _.transaction?.guid
480
504
  });
481
505
  }, Ge = () => {
482
- const D = We(s.start, 1);
483
- w({
484
- start: G(D),
485
- end: W(D)
506
+ const _ = ze(a.start, 1);
507
+ T({
508
+ start: k(_),
509
+ end: z(_)
486
510
  });
487
- }, Oe = () => {
488
- const D = $e(s.start, 1);
489
- w({
490
- start: G(D),
491
- end: W(D)
511
+ }, We = () => {
512
+ const _ = He(a.start, 1);
513
+ T({
514
+ start: k(_),
515
+ end: z(_)
492
516
  });
493
517
  };
494
- return /* @__PURE__ */ a(
495
- V,
518
+ return /* @__PURE__ */ s(
519
+ q,
496
520
  {
497
521
  container: !0,
498
522
  sx: {
499
523
  pt: 16
500
524
  },
501
525
  children: [
502
- /* @__PURE__ */ a(V, { md: !0, sm: 12, width: "100%", children: [
503
- /* @__PURE__ */ a(l, { sx: { gap: 16, px: i ? 48 : 24 }, children: [
504
- /* @__PURE__ */ a(l, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
505
- /* @__PURE__ */ e(Ye, { children: E(
526
+ /* @__PURE__ */ s(q, { size: { sm: 12, md: "grow" }, width: "100%", children: [
527
+ /* @__PURE__ */ s(l, { sx: { gap: 16, px: r ? 48 : 24 }, children: [
528
+ /* @__PURE__ */ s(l, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
529
+ /* @__PURE__ */ e(Ze, { variant: "h3", children: N(
506
530
  t.header_title,
507
- v(s.start, L.MONTH_LONG)
531
+ S(a.start, w.MONTH_LONG)
508
532
  ) }),
509
- !i && /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
533
+ !r && /* @__PURE__ */ s(l, { direction: "row", gap: 4, children: [
510
534
  /* @__PURE__ */ e(
511
535
  ge,
512
536
  {
513
537
  color: "primary",
514
- disabled: Ee,
515
- onClick: Oe,
516
- children: /* @__PURE__ */ e(Fe, {})
538
+ disabled: Oe,
539
+ onClick: We,
540
+ children: /* @__PURE__ */ e(Ye, {})
517
541
  }
518
542
  ),
519
- /* @__PURE__ */ e(ge, { color: "primary", onClick: Ge, children: /* @__PURE__ */ e(Ue, {}) })
543
+ /* @__PURE__ */ e(ge, { color: "primary", onClick: Ge, children: /* @__PURE__ */ e(je, {}) })
520
544
  ] })
521
545
  ] }),
522
546
  /* @__PURE__ */ e(
523
- Re,
547
+ De,
524
548
  {
525
549
  expected: d,
526
550
  missed: g,
527
- paid: y,
551
+ paid: C,
528
552
  title: t.expenses,
529
553
  total: u.length,
530
554
  upcoming: K
531
555
  }
532
556
  ),
533
557
  /* @__PURE__ */ e(
534
- Re,
558
+ De,
535
559
  {
536
560
  expected: m,
537
561
  isExpense: !1,
538
- paid: f,
562
+ paid: v,
539
563
  title: t.deposits,
540
564
  total: p.length,
541
- upcoming: Le
565
+ upcoming: Ee
542
566
  }
543
567
  ),
544
- i && /* @__PURE__ */ e(
545
- k,
568
+ r && /* @__PURE__ */ e(
569
+ P,
546
570
  {
547
571
  onRecurrenceClick: me,
548
572
  recurrences: ue,
@@ -550,30 +574,30 @@ const F = {
550
574
  }
551
575
  )
552
576
  ] }),
553
- !i && /* @__PURE__ */ a(l, { sx: { px: r ? 0 : 24 }, children: [
554
- /* @__PURE__ */ a(Pe, { onChange: Ne, value: Y, variant: "fullWidth", children: [
577
+ !r && /* @__PURE__ */ s(l, { sx: { px: o ? 0 : 24 }, children: [
578
+ /* @__PURE__ */ s(Be, { onChange: ke, value: V, variant: "fullWidth", children: [
555
579
  /* @__PURE__ */ e(
556
580
  he,
557
581
  {
558
- label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: o ? t.upcoming : t.upcoming_activity })
582
+ label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.upcoming : t.upcoming_activity })
559
583
  }
560
584
  ),
561
585
  /* @__PURE__ */ e(
562
586
  he,
563
587
  {
564
- label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: o ? t.past : t.past_transactions })
588
+ label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.past : t.past_transactions })
565
589
  }
566
590
  )
567
591
  ] }),
568
- Y === 0 && /* @__PURE__ */ e(
569
- k,
592
+ V === 0 && /* @__PURE__ */ e(
593
+ P,
570
594
  {
571
595
  onRecurrenceClick: me,
572
596
  recurrences: ue
573
597
  }
574
598
  ),
575
- Y === 1 && /* @__PURE__ */ e(
576
- k,
599
+ V === 1 && /* @__PURE__ */ e(
600
+ P,
577
601
  {
578
602
  onRecurrenceClick: pe,
579
603
  recurrences: b
@@ -581,16 +605,16 @@ const F = {
581
605
  )
582
606
  ] })
583
607
  ] }),
584
- i && /* @__PURE__ */ e(V, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ a(l, { gap: 24, children: [
585
- /* @__PURE__ */ e(ve, {}),
608
+ r && /* @__PURE__ */ e(q, { size: { xs: "auto" }, sx: { minWidth: 450 }, children: /* @__PURE__ */ s(l, { gap: 24, children: [
609
+ /* @__PURE__ */ e(Ae, {}),
586
610
  /* @__PURE__ */ e(
587
- k,
611
+ P,
588
612
  {
589
613
  onRecurrenceClick: pe,
590
- recurrences: j || b,
591
- title: A ? E(
614
+ recurrences: f || b,
615
+ title: M ? N(
592
616
  t.day_transactions,
593
- v(A, L.MONTH_DAY)
617
+ S(M, w.MONTH_DAY)
594
618
  ) : t.past_transactions
595
619
  }
596
620
  )
@@ -598,114 +622,118 @@ const F = {
598
622
  ]
599
623
  }
600
624
  );
601
- }), Dn = C(({ onBackClick: t, sx: n = {} }) => {
602
- const { recurring: i } = R(), { isInitialized: o, selectedAccountGuids: r } = H(), { isDataLoaded: c, loadRepeatingTransactionData: u, setDateRange: p } = _(), { setFilter: s } = ne(), { onEvent: d } = z(), { isMobile: m } = re(), [g, b] = x.useState(!1);
603
- return ae({
604
- widgetName: "RecurringTransactionsWidget",
605
- isLoaded: c
606
- }), x.useEffect(() => {
607
- c || u().finally();
608
- }, []), x.useEffect(() => {
609
- s({
610
- dateRange: { start: Q(J(), 90), end: Z() },
611
- accounts: r
612
- }), p({ start: G(/* @__PURE__ */ new Date()), end: W(/* @__PURE__ */ new Date()) });
613
- }, [r]), o ? /* @__PURE__ */ a(
614
- tt,
615
- {
616
- actions: [
617
- {
618
- label: i.action_title,
619
- iconName: "credit_card_gear",
620
- onClick: () => {
621
- b(!0), d(S.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
622
- }
623
- }
624
- ],
625
- hasDivider: m,
626
- onAccountsFilterClick: () => d(S.RECURRING_TRANSACTIONS_CLICK_FILTER),
627
- onBackClick: t,
628
- sx: n,
629
- title: i.title,
630
- children: [
631
- c ? /* @__PURE__ */ e(ht, {}) : /* @__PURE__ */ e(Me, { sx: { m: 48 }, variant: "list" }),
632
- /* @__PURE__ */ e(
633
- ie,
625
+ }), Pn = R(
626
+ ({ onBackClick: t, onMenuClick: n, sx: r = {} }) => {
627
+ const { recurring: i } = y(), { isInitialized: o, selectedAccountGuids: c } = F(), { isDataLoaded: u, loadRepeatingTransactionData: p, setDateRange: a } = I(), { setFilter: d } = re(), { onEvent: m } = U(), [g, b] = x.useState(!1);
628
+ return oe({
629
+ widgetName: "RecurringTransactionsWidget",
630
+ isLoaded: u
631
+ }), x.useEffect(() => {
632
+ u || p().finally();
633
+ }, []), x.useEffect(() => {
634
+ d({
635
+ dateRange: { start: ee(Q(), 90), end: J() },
636
+ accounts: c
637
+ }), a({ start: k(/* @__PURE__ */ new Date()), end: z(/* @__PURE__ */ new Date()) });
638
+ }, [c]), o ? /* @__PURE__ */ s(
639
+ ht,
640
+ {
641
+ actions: [
634
642
  {
635
- ariaLabelClose: i.close_drawer_aria,
636
- isOpen: g,
637
- onClose: () => b(!1),
638
- shouldShowHeaderBorders: !1,
639
- title: i.action_title,
640
- children: /* @__PURE__ */ e(Te, {})
643
+ label: i.action_title,
644
+ iconName: "credit_card_gear",
645
+ onClick: () => {
646
+ b(!0), m(L.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
647
+ }
641
648
  }
642
- )
643
- ]
644
- }
645
- ) : /* @__PURE__ */ e(oe, {});
646
- }), ft = C(() => {
647
- const { recurring: t } = R(), { availableWidth: n } = _e(), { selectedDay: i, selectedDayRecurrences: o, setSelectedDay: r, upcomingRecurrences: c } = _(), u = n < 750;
648
- return /* @__PURE__ */ a(l, { flexDirection: u ? "column" : "row", width: "100%", children: [
649
- /* @__PURE__ */ e(ve, {}),
650
- !u && /* @__PURE__ */ e(q, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
649
+ ],
650
+ hasDivider: !0,
651
+ onAccountsFilterClick: () => m(L.RECURRING_TRANSACTIONS_CLICK_FILTER),
652
+ onBackClick: t,
653
+ onMenuClick: n,
654
+ sx: r,
655
+ title: i.title,
656
+ children: [
657
+ u ? /* @__PURE__ */ e(Tt, {}) : /* @__PURE__ */ e(ve, { sx: { m: 48 }, variant: "list" }),
658
+ /* @__PURE__ */ e(
659
+ ie,
660
+ {
661
+ ariaLabelClose: i.close_drawer_aria,
662
+ isOpen: g,
663
+ onClose: () => b(!1),
664
+ shouldShowHeaderBorders: !1,
665
+ title: i.action_title,
666
+ children: /* @__PURE__ */ e(_e, {})
667
+ }
668
+ )
669
+ ]
670
+ }
671
+ ) : /* @__PURE__ */ e(ae, {});
672
+ }
673
+ ), St = R(() => {
674
+ const { recurring: t } = y(), { availableWidth: n } = we(), { selectedDay: r, selectedDayRecurrences: i, setSelectedDay: o, upcomingRecurrences: c } = I(), u = n < 750;
675
+ return /* @__PURE__ */ s(l, { flexDirection: u ? "column" : "row", width: "100%", children: [
676
+ /* @__PURE__ */ e(Ae, {}),
677
+ !u && /* @__PURE__ */ e(X, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
651
678
  /* @__PURE__ */ e(
652
- k,
679
+ P,
653
680
  {
654
681
  isMini: !0,
655
- onResetClick: i ? () => r(i) : void 0,
656
- recurrences: o || c.slice(0, 5),
682
+ onResetClick: r ? () => o(r) : void 0,
683
+ recurrences: i || c.slice(0, 5),
657
684
  sx: { width: u ? "100%" : "calc(100% - 336px)", mt: 12 },
658
- title: i ? E(
685
+ title: r ? N(
659
686
  t.day_transactions,
660
- v(i, L.MONTH_DAY)
687
+ S(r, w.MONTH_DAY)
661
688
  ) : t.upcoming_activity
662
689
  }
663
690
  )
664
691
  ] });
665
- }), wn = C(
692
+ }), zn = R(
666
693
  ({ onPrimaryCtaClick: t, sx: n }) => {
667
- const { recurring: i } = R(), { setFilter: o } = ne(), { isDataLoaded: r, loadRepeatingTransactionData: c } = _(), { isInitialized: u, selectedAccountGuids: p } = H();
668
- return ae({
694
+ const { recurring: r } = y(), { setFilter: i } = re(), { isDataLoaded: o, loadRepeatingTransactionData: c } = I(), { isInitialized: u, selectedAccountGuids: p } = F();
695
+ return oe({
669
696
  widgetName: "RecurringTransactionsMiniWidget",
670
- isLoaded: r
697
+ isLoaded: o
671
698
  }), x.useEffect(() => {
672
- r || c().finally();
699
+ o || c().finally();
673
700
  }, []), x.useEffect(() => {
674
- p.length > 0 && o({
675
- dateRange: { start: Q(J(), 90), end: Z() },
701
+ p.length > 0 && i({
702
+ dateRange: { start: ee(Q(), 90), end: J() },
676
703
  accounts: p
677
704
  });
678
705
  }, [p]), u ? /* @__PURE__ */ e(
679
- ct,
706
+ ft,
680
707
  {
681
708
  className: "mx-exp-recurring-transactions-miniwidget",
682
709
  onPrimaryCtaClick: t,
683
- primaryCtaLabel: i.primary_cta,
684
- subTitle: i.sub_title,
710
+ primaryCtaLabel: r.primary_cta,
711
+ primaryCtaLabelAria: r.primary_cta_aria,
712
+ subTitle: r.sub_title,
685
713
  sx: n,
686
- title: i.mini_title,
687
- children: r ? /* @__PURE__ */ e(ft, {}) : /* @__PURE__ */ e(Me, { sx: { mx: 16 }, variant: "list" })
714
+ title: r.mini_title,
715
+ children: o ? /* @__PURE__ */ e(St, {}) : /* @__PURE__ */ e(ve, { sx: { mx: 16 }, variant: "list" })
688
716
  }
689
- ) : /* @__PURE__ */ e(oe, {});
717
+ ) : /* @__PURE__ */ e(ae, {});
690
718
  }
691
- ), xt = C(() => {
692
- const { recurring: t } = R();
693
- return /* @__PURE__ */ a(l, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
694
- /* @__PURE__ */ e(je, { size: 32 }),
695
- /* @__PURE__ */ a(l, { children: [
696
- /* @__PURE__ */ e(X, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
697
- /* @__PURE__ */ e(X, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
719
+ ), wt = R(() => {
720
+ const { recurring: t } = y();
721
+ return /* @__PURE__ */ s(l, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
722
+ /* @__PURE__ */ e(Ke, { size: 32 }),
723
+ /* @__PURE__ */ s(l, { children: [
724
+ /* @__PURE__ */ e(Z, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
725
+ /* @__PURE__ */ e(Z, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
698
726
  ] })
699
727
  ] });
700
- }), bt = ({
728
+ }), It = ({
701
729
  amount: t,
702
730
  bgcolor: n,
703
- isLargeScreen: i,
704
- isSmallScreen: o,
705
- label: r
706
- }) => /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
731
+ isLargeScreen: r,
732
+ isSmallScreen: i,
733
+ label: o
734
+ }) => /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
707
735
  /* @__PURE__ */ e(
708
- N,
736
+ O,
709
737
  {
710
738
  sx: {
711
739
  borderRadius: "2px",
@@ -715,109 +743,109 @@ const F = {
715
743
  }
716
744
  }
717
745
  ),
718
- /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
719
- !o && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: M(t, t === 0 || !i ? "0,0" : "0,0.00") }),
720
- /* @__PURE__ */ e(h, { variant: "caption", children: r })
746
+ /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
747
+ !i && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: E(t, t === 0 || !r ? "0,0" : "0,0.00") }),
748
+ /* @__PURE__ */ e(h, { variant: "caption", children: o })
721
749
  ] })
722
- ] }), yt = ({
750
+ ] }), Mt = ({
723
751
  upcomingRecurrences: t,
724
752
  logoSize: n = 32,
725
- maxLogos: i = 3
753
+ maxLogos: r = 3
726
754
  }) => {
727
- const o = (r) => r * (n / 2);
755
+ const i = (o) => o * (n / 2);
728
756
  return /* @__PURE__ */ e(
729
- N,
757
+ O,
730
758
  {
731
759
  sx: {
732
760
  position: "relative",
733
761
  width: 64
734
762
  },
735
- children: t.map((r, c) => c < i ? /* @__PURE__ */ e(
736
- N,
763
+ children: t.map((o, c) => c < r ? /* @__PURE__ */ e(
764
+ O,
737
765
  {
738
766
  sx: {
739
767
  borderRadius: "4px",
740
- left: o(c),
768
+ left: i(c),
741
769
  outlineColor: "common.white",
742
770
  outlineStyle: "solid",
743
771
  outlineWidth: 2,
744
772
  position: "absolute"
745
773
  },
746
774
  children: /* @__PURE__ */ e(
747
- ee,
775
+ te,
748
776
  {
749
- categoryGuid: r.categoryGuid || "",
750
- merchantGuid: r.merchantGuid || "",
777
+ categoryGuid: o.categoryGuid || "",
778
+ merchantGuid: o.merchantGuid || "",
751
779
  size: n
752
780
  }
753
781
  )
754
782
  },
755
- `${r.categoryGuid}-${r.merchantGuid}-${c}`
783
+ `${o.categoryGuid}-${o.merchantGuid}-${c}`
756
784
  ) : null)
757
785
  }
758
786
  );
759
- }, Ct = ({
787
+ }, Lt = ({
760
788
  upcomingRecurrences: t,
761
789
  maxLogos: n = 3
762
- }) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((i, o) => /* @__PURE__ */ e(
763
- ee,
790
+ }) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((r, i) => /* @__PURE__ */ e(
791
+ te,
764
792
  {
765
- categoryGuid: i.categoryGuid || "",
766
- merchantGuid: i.merchantGuid || ""
793
+ categoryGuid: r.categoryGuid || "",
794
+ merchantGuid: r.merchantGuid || ""
767
795
  },
768
- `${i.categoryGuid}-${i.merchantGuid}-${o}`
769
- )) }), Rt = C(() => {
770
- const t = te(), [n, { width: i }] = lt(), {
771
- upcomingRecurrences: o,
772
- expenseTotal: r,
796
+ `${r.categoryGuid}-${r.merchantGuid}-${i}`
797
+ )) }), vt = R(() => {
798
+ const t = ne(), [n, { width: r }] = xt(), {
799
+ upcomingRecurrences: i,
800
+ expenseTotal: o,
773
801
  missedExpenseTotal: c,
774
802
  paidExpenseTotal: u,
775
803
  upcomingExpenseTotal: p
776
- } = _(), { recurring: s } = R(), d = i <= 288, m = i >= 450, g = 32, b = o.length > 0, y = x.useMemo(() => M(r, r === 0 ? "0,0" : "0,0.00"), [r]), f = x.useMemo(() => {
777
- const w = [
778
- { color: t.palette.success.main, percentage: `${u / r}` }
804
+ } = I(), { recurring: a } = y(), d = r <= 288, m = r >= 450, g = 32, b = i.length > 0, C = x.useMemo(() => E(o, o === 0 ? "0,0" : "0,0.00"), [o]), v = x.useMemo(() => {
805
+ const T = [
806
+ { color: t.palette.success.main, percentage: `${u / o}` }
779
807
  ];
780
- return c && w.push({
808
+ return c && T.push({
781
809
  color: t.palette.error.main,
782
- percentage: `${c / r}`
783
- }), w;
810
+ percentage: `${c / o}`
811
+ }), T;
784
812
  }, [
785
813
  u,
786
- r,
814
+ o,
787
815
  c,
788
816
  t.palette.success.main,
789
817
  t.palette.error.main
790
- ]), A = () => b ? d ? /* @__PURE__ */ e(
791
- yt,
818
+ ]), M = () => b ? d ? /* @__PURE__ */ e(
819
+ Mt,
792
820
  {
793
821
  logoSize: g,
794
822
  maxLogos: 3,
795
- upcomingRecurrences: o.slice(0, 3)
823
+ upcomingRecurrences: i.slice(0, 3)
796
824
  }
797
- ) : /* @__PURE__ */ e(Ct, { maxLogos: 3, upcomingRecurrences: o.slice(0, 3) }) : /* @__PURE__ */ e(l, { sx: { width: d ? 64 : 104 } }), j = [
825
+ ) : /* @__PURE__ */ e(Lt, { maxLogos: 3, upcomingRecurrences: i.slice(0, 3) }) : /* @__PURE__ */ e(l, { sx: { width: d ? 64 : 104 } }), f = [
798
826
  {
799
827
  amount: u,
800
828
  bgColor: "success.main",
801
- label: s.paid
829
+ label: a.paid
802
830
  },
803
831
  {
804
832
  amount: c,
805
833
  bgColor: "error.main",
806
- label: s.missed
834
+ label: a.missed
807
835
  },
808
836
  {
809
837
  amount: p,
810
- bgColor: "border.light",
811
- label: s.upcoming
838
+ bgColor: "neutral.light",
839
+ label: a.upcoming
812
840
  }
813
841
  ];
814
- return /* @__PURE__ */ a(B, { children: [
815
- /* @__PURE__ */ a(l, { ref: n, sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
816
- /* @__PURE__ */ a(
842
+ return /* @__PURE__ */ s($, { children: [
843
+ /* @__PURE__ */ s(l, { ref: n, sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
844
+ /* @__PURE__ */ s(
817
845
  l,
818
846
  {
819
847
  sx: [
820
- y.length >= 10 && d ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
848
+ C.length >= 10 && d ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
821
849
  {
822
850
  alignItems: "baseline",
823
851
  overflow: "hidden",
@@ -830,18 +858,18 @@ const F = {
830
858
  h,
831
859
  {
832
860
  sx: { width: "100%" },
833
- variant: y.length >= 10 && d ? "H3" : "H2",
834
- children: y
861
+ variant: C.length >= 10 && d ? "h3" : "h2",
862
+ children: C
835
863
  }
836
864
  ),
837
- /* @__PURE__ */ e(X, { sx: { pr: 12 }, variant: "XSmall", children: s.expected })
865
+ /* @__PURE__ */ e(Z, { sx: { pr: 12 }, variant: "caption", children: a.expected })
838
866
  ]
839
867
  }
840
868
  ),
841
- A()
869
+ M()
842
870
  ] }),
843
- /* @__PURE__ */ a(l, { sx: { pt: 12 }, children: [
844
- /* @__PURE__ */ e(Ie, { data: f }),
871
+ /* @__PURE__ */ s(l, { sx: { pt: 12 }, children: [
872
+ /* @__PURE__ */ e(Le, { data: v }),
845
873
  /* @__PURE__ */ e(
846
874
  l,
847
875
  {
@@ -851,14 +879,14 @@ const F = {
851
879
  gap: 16,
852
880
  mt: 4
853
881
  },
854
- children: j.map((w, K) => /* @__PURE__ */ e(
855
- bt,
882
+ children: f.map((T, K) => /* @__PURE__ */ e(
883
+ It,
856
884
  {
857
- amount: w.amount,
858
- bgcolor: w.bgColor,
885
+ amount: T.amount,
886
+ bgcolor: T.bgColor,
859
887
  isLargeScreen: m,
860
888
  isSmallScreen: d,
861
- label: w.label
889
+ label: T.label
862
890
  },
863
891
  `recurrence-legend-${K}`
864
892
  ))
@@ -866,72 +894,71 @@ const F = {
866
894
  )
867
895
  ] })
868
896
  ] });
869
- }), _n = C(
897
+ }), Hn = R(
870
898
  ({ onCTAClick: t }) => {
871
- const { onEvent: n } = z(), { isInitialized: i, selectedAccountGuids: o } = H(), {
872
- loadRepeatingTransactionData: r,
899
+ const { onEvent: n } = U(), { isInitialized: r, selectedAccountGuids: i } = F(), {
900
+ loadRepeatingTransactionData: o,
873
901
  upcomingRecurrences: c,
874
902
  repeatingTransactions: u,
875
903
  setDateRange: p,
876
- isDataLoaded: s
877
- } = _(), { setFilter: d } = ne(), { recurring: m, budgets: g } = R();
878
- ae({
904
+ isDataLoaded: a
905
+ } = I(), { setFilter: d } = re(), { recurring: m, budgets: g } = y();
906
+ oe({
879
907
  widgetName: "RecurringTransactionsMicroWidget",
880
- isLoaded: s
908
+ isLoaded: a
881
909
  }), x.useEffect(() => {
882
- s || r().finally(() => {
883
- n(S.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
910
+ a || o().finally(() => {
911
+ n(L.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
884
912
  state: c.length > 0 ? "default" : "zeroState"
885
913
  });
886
914
  });
887
915
  }, []), x.useEffect(() => {
888
- i && (d({
889
- dateRange: { start: Q(J(), 90), end: Z() },
890
- accounts: o
891
- }), p({ start: G(/* @__PURE__ */ new Date()), end: W(/* @__PURE__ */ new Date()) }));
892
- }, [i, o]);
916
+ r && (d({
917
+ dateRange: { start: ee(Q(), 90), end: J() },
918
+ accounts: i
919
+ }), p({ start: k(/* @__PURE__ */ new Date()), end: z(/* @__PURE__ */ new Date()) }));
920
+ }, [r, i]);
893
921
  const b = () => {
894
922
  n(
895
- c.length > 0 ? S.RECURRING_TRANSACTIONS_CLICK_GET_STARTED : S.RECURRING_TRANSACTIONS_CLICK_VIEW_ALL
923
+ c.length > 0 ? L.RECURRING_TRANSACTIONS_CLICK_GET_STARTED : L.RECURRING_TRANSACTIONS_CLICK_VIEW_ALL
896
924
  ), t();
897
925
  };
898
- if (!i || !s) return /* @__PURE__ */ e(oe, { height: 100 });
899
- const y = !u?.length;
926
+ if (!r || !a) return /* @__PURE__ */ e(ae, { height: 100 });
927
+ const C = !u?.length;
900
928
  return /* @__PURE__ */ e(
901
- dt,
929
+ bt,
902
930
  {
903
931
  className: "mx-recurring-transaction-microwidget",
904
- ctaLabel: y ? g.get_started_cta : m.primary_cta,
932
+ ctaLabel: C ? g.get_started_cta : m.primary_cta,
905
933
  onCTAClick: b,
906
934
  title: m.recurring_expenses,
907
- children: y ? /* @__PURE__ */ e(xt, {}) : /* @__PURE__ */ e(Rt, {})
935
+ children: C ? /* @__PURE__ */ e(wt, {}) : /* @__PURE__ */ e(vt, {})
908
936
  }
909
937
  );
910
938
  }
911
- ), Sn = C(
912
- ({ isOpen: t, onClose: n, selectedTab: i }) => {
913
- const { cashflow: o } = R();
939
+ ), $n = R(
940
+ ({ isOpen: t, onClose: n, selectedTab: r }) => {
941
+ const { cashflow: i } = y();
914
942
  return /* @__PURE__ */ e(
915
943
  ie,
916
944
  {
917
- ariaLabelClose: o.close_settings_aria,
945
+ ariaLabelClose: i.close_settings_aria,
918
946
  isOpen: t,
919
947
  onClose: n,
920
- title: o.cashflow_settings,
921
- children: /* @__PURE__ */ e(Te, { defaultSelectedTab: i })
948
+ title: i.cashflow_settings,
949
+ children: /* @__PURE__ */ e(_e, { defaultSelectedTab: r })
922
950
  }
923
951
  );
924
952
  }
925
953
  );
926
954
  export {
927
- Nn as AddRecurringTransactionDetails,
928
- vn as ManageExpenses,
929
- Gn as ManageIncome,
930
- Te as RecurringSettings,
931
- Sn as RecurringSettingsDrawer,
932
- _n as RecurringTransactionsMicroWidget,
933
- wn as RecurringTransactionsMiniWidget,
934
- An as RecurringTransactionsStore,
935
- Dn as RecurringTransactionsWidget,
936
- On as SelectTransaction
955
+ jn as AddRecurringTransactionDetails,
956
+ Un as ManageExpenses,
957
+ Kn as ManageIncome,
958
+ _e as RecurringSettings,
959
+ $n as RecurringSettingsDrawer,
960
+ Hn as RecurringTransactionsMicroWidget,
961
+ zn as RecurringTransactionsMiniWidget,
962
+ Pn as RecurringTransactionsWidget,
963
+ Vn as SelectTransaction
937
964
  };