@mx-cartographer/experiences 8.0.0-alpha.test2 → 8.0.0-alpha.v2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (513) hide show
  1. package/CHANGELOG.md +335 -0
  2. package/README.md +5 -3
  3. package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
  4. package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
  5. package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
  6. package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
  7. package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
  8. package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
  9. package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
  10. package/dist/Accounts-CseLC3lL.mjs +5 -0
  11. package/dist/Accounts-o7ohkngR.mjs +27 -0
  12. package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
  13. package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
  14. package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
  15. package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
  16. package/dist/CashflowStore-CeAzChyD.mjs +91 -0
  17. package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
  18. package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
  19. package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
  20. package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
  21. package/dist/Connect-eYIWqCEr.mjs +39 -0
  22. package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
  23. package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
  24. package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
  25. package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
  26. package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
  27. package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
  28. package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
  29. package/dist/Dialog-Ck34yr-d.mjs +63 -0
  30. package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
  31. package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
  32. package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
  33. package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
  34. package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
  35. package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
  36. package/dist/Goal-0loDagc5.mjs +6 -0
  37. package/dist/GoalStore-fgXt--2Y.mjs +418 -0
  38. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  39. package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
  40. package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
  41. package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
  42. package/dist/LineChart-EAr5ox5U.mjs +612 -0
  43. package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
  44. package/dist/Loader-D3rjKx72.mjs +21 -0
  45. package/dist/Localization-CPkpIwIx.mjs +37 -0
  46. package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
  47. package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
  48. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
  49. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
  50. package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
  51. package/dist/Notification-DTNYSd8P.mjs +7 -0
  52. package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
  53. package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
  54. package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
  55. package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
  56. package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
  57. package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
  58. package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
  59. package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
  60. package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
  61. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
  62. package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
  63. package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
  64. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
  65. package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
  66. package/dist/SpendingLegend-BgjazduU.mjs +193 -0
  67. package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
  68. package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
  69. package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
  70. package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
  71. package/dist/Transaction-Cn5_iFm0.mjs +5 -0
  72. package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
  73. package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
  74. package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
  75. package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
  76. package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
  77. package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
  78. package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
  79. package/dist/accounts/AccountsWidget.d.ts +1 -1
  80. package/dist/accounts/api/AccountApi.d.ts +1 -1
  81. package/dist/accounts/components/AccountListItem.d.ts +1 -1
  82. package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
  83. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
  84. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
  85. package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
  86. package/dist/accounts/index.es.js +459 -368
  87. package/dist/accounts/stores/AccountStore.d.ts +2 -1
  88. package/dist/accounts/stores/UiStore.d.ts +1 -1
  89. package/dist/accounts/utils/AccountDetails.d.ts +1 -1
  90. package/dist/accounts/utils/AccountFields.d.ts +1 -1
  91. package/dist/accounts/utils/Accounts.d.ts +2 -2
  92. package/dist/analytics/index.es.js +93 -112
  93. package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
  94. package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
  95. package/dist/budgets/api/BudgetsApi.d.ts +5 -1
  96. package/dist/budgets/components/BubbleChart.d.ts +1 -1
  97. package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
  98. package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
  99. package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
  100. package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
  101. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
  102. package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
  103. package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
  104. package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
  105. package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
  106. package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
  107. package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
  108. package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
  109. package/dist/budgets/index.es.js +851 -865
  110. package/dist/budgets/store/BudgetsStore.d.ts +15 -1
  111. package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
  112. package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
  113. package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
  114. package/dist/cashflow/CashflowWidget.d.ts +1 -1
  115. package/dist/cashflow/api/CashflowApi.d.ts +1 -1
  116. package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
  117. package/dist/cashflow/index.es.js +290 -288
  118. package/dist/cashflow/stores/UiStore.d.ts +1 -1
  119. package/dist/cashflow/util/Filters.d.ts +1 -1
  120. package/dist/categories/components/CategoryRow.d.ts +1 -1
  121. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
  122. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
  123. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
  124. package/dist/categories/components/SubcategoryList.d.ts +1 -1
  125. package/dist/categories/components/SubcategoryRow.d.ts +1 -1
  126. package/dist/categories/index.es.js +2 -2
  127. package/dist/categories/stores/CategoryStore.d.ts +2 -1
  128. package/dist/categories/util/CategoryUtil.d.ts +1 -1
  129. package/dist/common/api/AnalyticsApi.d.ts +1 -1
  130. package/dist/common/api/AppDataApi.d.ts +1 -1
  131. package/dist/common/api/BeatApi.d.ts +1 -1
  132. package/dist/common/api/CategoryApi.d.ts +1 -1
  133. package/dist/common/api/GlobalCopyApi.d.ts +1 -1
  134. package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
  135. package/dist/common/api/NotificationApi.d.ts +1 -1
  136. package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
  137. package/dist/common/api/UserApi.d.ts +1 -1
  138. package/dist/common/components/CurrencyDialog.d.ts +1 -1
  139. package/dist/common/components/CurrencyInput.d.ts +1 -1
  140. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  141. package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
  142. package/dist/common/components/Loader.d.ts +1 -2
  143. package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
  144. package/dist/common/components/WidgetContainer.d.ts +1 -1
  145. package/dist/common/components/charts/LineChart.d.ts +1 -0
  146. package/dist/common/components/charts/index.d.ts +1 -0
  147. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
  148. package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
  149. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
  150. package/dist/common/components/index.d.ts +0 -1
  151. package/dist/common/constants/Account.d.ts +1 -1
  152. package/dist/common/constants/Analytics.d.ts +10 -0
  153. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  154. package/dist/common/constants/DefaultConfig.d.ts +1 -1
  155. package/dist/common/constants/ScheduledPayment.d.ts +1 -10
  156. package/dist/common/constants/SpendingPlan.d.ts +0 -10
  157. package/dist/common/constants/index.d.ts +2 -2
  158. package/dist/common/context/GlobalDataProvider.d.ts +2 -1
  159. package/dist/common/context/hooks.d.ts +4 -4
  160. package/dist/common/hooks/index.d.ts +1 -0
  161. package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
  162. package/dist/common/hooks/useCombineEvents.d.ts +1 -1
  163. package/dist/common/hooks/usePrevious.d.ts +2 -0
  164. package/dist/common/index.d.ts +0 -1
  165. package/dist/common/index.es.js +625 -860
  166. package/dist/common/stores/AppDataStore.d.ts +3 -3
  167. package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
  168. package/dist/common/stores/GlobalStore.d.ts +4 -2
  169. package/dist/common/stores/GlobalUiStore.d.ts +3 -3
  170. package/dist/common/stores/UserStore.d.ts +1 -1
  171. package/dist/common/utils/AccountDisplayName.d.ts +1 -1
  172. package/dist/common/utils/AccountFilter.d.ts +1 -1
  173. package/dist/common/utils/Analytics.d.ts +1 -1
  174. package/dist/common/utils/Categories.d.ts +1 -1
  175. package/dist/common/utils/Fetch.d.ts +1 -1
  176. package/dist/common/utils/Localization.d.ts +9 -1
  177. package/dist/common/utils/Theme.d.ts +3 -3
  178. package/dist/common/utils/User.d.ts +1 -1
  179. package/dist/common/utils/index.d.ts +1 -1
  180. package/dist/core/constants/index.d.ts +1 -0
  181. package/dist/core/constants/repeatingTransactions.d.ts +10 -0
  182. package/dist/core/index.d.ts +2 -0
  183. package/dist/core/index.es.js +41 -0
  184. package/dist/{common → core}/types/Analytics.d.ts +6 -3
  185. package/dist/{common → core}/types/AppData.d.ts +1 -0
  186. package/dist/{common → core}/types/Beat.d.ts +2 -0
  187. package/dist/{common → core}/types/Budget.d.ts +8 -0
  188. package/dist/{common → core}/types/Expense.d.ts +2 -1
  189. package/dist/{common → core}/types/Finstrong.d.ts +0 -2
  190. package/dist/{common → core}/types/Notification.d.ts +15 -5
  191. package/dist/{common → core}/types/index.d.ts +1 -2
  192. package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
  193. package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
  194. package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
  195. package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
  196. package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
  197. package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
  198. package/dist/dashboard/index.es.js +46 -45
  199. package/dist/debts/DebtsWidget.d.ts +1 -1
  200. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
  201. package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
  202. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
  203. package/dist/debts/index.es.js +705 -646
  204. package/dist/debts/store/DebtsStore.d.ts +2 -1
  205. package/dist/debts/utils/DebtStore.d.ts +1 -1
  206. package/dist/debts/utils/DebtsWidget.d.ts +7 -1
  207. package/dist/debts/utils/shared.d.ts +1 -1
  208. package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
  209. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  210. package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
  211. package/dist/finstrong/components/HealthChart.d.ts +1 -1
  212. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
  213. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
  214. package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
  215. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
  216. package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
  217. package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
  218. package/dist/finstrong/index.es.js +161 -159
  219. package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
  220. package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
  221. package/dist/goals/GoalsWidget.d.ts +1 -1
  222. package/dist/goals/api/GoalApi.d.ts +2 -2
  223. package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
  224. package/dist/goals/components/AddGoal.d.ts +1 -1
  225. package/dist/goals/components/GoalDetails.d.ts +1 -1
  226. package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
  227. package/dist/goals/components/GoalList.d.ts +1 -1
  228. package/dist/goals/components/GoalStatusCard.d.ts +1 -1
  229. package/dist/goals/components/ManageGoals.d.ts +1 -1
  230. package/dist/goals/components/actions/AccountAction.d.ts +1 -1
  231. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
  232. package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
  233. package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
  234. package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
  235. package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
  236. package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
  237. package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
  238. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
  239. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
  240. package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
  241. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  242. package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
  243. package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
  244. package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
  245. package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
  246. package/dist/goals/index.es.js +445 -419
  247. package/dist/goals/stores/GoalStore.d.ts +2 -1
  248. package/dist/goals/util/GoalsUtil.d.ts +1 -1
  249. package/dist/help/HelpWidget.d.ts +1 -1
  250. package/dist/help/api/HelpApi.d.ts +1 -1
  251. package/dist/help/components/HelpContent.d.ts +1 -1
  252. package/dist/help/components/HelpList.d.ts +1 -1
  253. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  254. package/dist/help/components/content/ContentItem.d.ts +1 -1
  255. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  256. package/dist/help/components/content/NoImageContent.d.ts +1 -1
  257. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  258. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  259. package/dist/help/components/content/section/Accounts.d.ts +1 -1
  260. package/dist/help/components/content/section/Budgets.d.ts +1 -1
  261. package/dist/help/components/content/section/CashFlow.d.ts +1 -1
  262. package/dist/help/components/content/section/Debts.d.ts +1 -1
  263. package/dist/help/components/content/section/General.d.ts +1 -1
  264. package/dist/help/components/content/section/Goals.d.ts +1 -1
  265. package/dist/help/components/content/section/Insights.d.ts +1 -1
  266. package/dist/help/components/content/section/Investments.d.ts +1 -1
  267. package/dist/help/components/content/section/Mobile.d.ts +1 -1
  268. package/dist/help/components/content/section/NetWorth.d.ts +1 -1
  269. package/dist/help/components/content/section/Notifications.d.ts +1 -1
  270. package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
  271. package/dist/help/components/content/section/Spending.d.ts +1 -1
  272. package/dist/help/components/content/section/Transactions.d.ts +1 -1
  273. package/dist/help/components/content/section/Trends.d.ts +1 -1
  274. package/dist/help/components/content/section/index.d.ts +15 -15
  275. package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
  276. package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
  277. package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
  278. package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
  279. package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
  280. package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
  281. package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
  282. package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
  283. package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
  284. package/dist/help/index.es.js +8 -8
  285. package/dist/help/store/HelpStore.d.ts +5 -4
  286. package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
  287. package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
  288. package/dist/insights/components/feed/Header.d.ts +8 -0
  289. package/dist/insights/components/index.d.ts +4 -0
  290. package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
  291. package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
  292. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
  293. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
  294. package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
  295. package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
  296. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
  297. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
  298. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
  299. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
  300. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
  301. package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
  302. package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
  303. package/dist/insights/index.es.js +1361 -1081
  304. package/dist/insights/store/BeatStore.d.ts +1 -1
  305. package/dist/investments/InvestmentsWidget.d.ts +1 -1
  306. package/dist/investments/api/HoldingApi.d.ts +1 -1
  307. package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
  308. package/dist/investments/index.es.js +258 -258
  309. package/dist/investments/stores/HoldingStore.d.ts +2 -1
  310. package/dist/investments/util/InvestmentUtil.d.ts +1 -1
  311. package/dist/merchants/api/MerchantApi.d.ts +1 -1
  312. package/dist/merchants/index.es.js +16 -16
  313. package/dist/merchants/stores/MerchantStore.d.ts +2 -1
  314. package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
  315. package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
  316. package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
  317. package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
  318. package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
  319. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
  320. package/dist/microinsights/beaticons/index.d.ts +3 -0
  321. package/dist/microinsights/cards/InsightCard.d.ts +1 -1
  322. package/dist/microinsights/carousel/BeatList.d.ts +1 -1
  323. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
  324. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
  325. package/dist/microinsights/constants/Analytics.d.ts +1 -1
  326. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
  327. package/dist/microinsights/context/hooks.d.ts +1 -1
  328. package/dist/microinsights/index.es.js +1 -1
  329. package/dist/microinsights/interfaces.d.ts +1 -1
  330. package/dist/microinsights/stores/CopyStore.d.ts +1 -1
  331. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
  332. package/dist/microinsights/utils/DataSeries.d.ts +1 -1
  333. package/dist/microinsights/utils/colorType.d.ts +22 -0
  334. package/dist/networth/NetWorthWidget.d.ts +1 -1
  335. package/dist/networth/components/micro/NetworthData.d.ts +1 -1
  336. package/dist/networth/components/micro/ZeroState.d.ts +1 -1
  337. package/dist/networth/index.es.js +181 -174
  338. package/dist/networth/stores/NetWorthStore.d.ts +2 -1
  339. package/dist/networth/types/NetWorth.d.ts +1 -1
  340. package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
  341. package/dist/notifications/components/NotificationBadge.d.ts +1 -1
  342. package/dist/notifications/components/NotificationCard.d.ts +1 -1
  343. package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
  344. package/dist/notifications/components/NotificationList.d.ts +2 -1
  345. package/dist/notifications/index.es.js +104 -92
  346. package/dist/notifications/stores/NotificationStore.d.ts +2 -1
  347. package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
  348. package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
  349. package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
  350. package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
  351. package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
  352. package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
  353. package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
  354. package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
  355. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
  356. package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
  357. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
  358. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
  359. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
  360. package/dist/recurringtransactions/index.es.js +477 -451
  361. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
  362. package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
  363. package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
  364. package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
  365. package/dist/settings/SettingsWidget.d.ts +1 -1
  366. package/dist/settings/TransactionRulesWidget.d.ts +1 -1
  367. package/dist/settings/api/SettingsApi.d.ts +1 -2
  368. package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
  369. package/dist/settings/components/devices/DeviceList.d.ts +1 -1
  370. package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
  371. package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
  372. package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
  373. package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
  374. package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
  375. package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
  376. package/dist/settings/index.es.js +314 -323
  377. package/dist/settings/stores/SettingsStore.d.ts +3 -2
  378. package/dist/settings/util/Notifications.d.ts +1 -1
  379. package/dist/spending/SpendingMiniWidget.d.ts +1 -1
  380. package/dist/spending/SpendingWidget.d.ts +1 -1
  381. package/dist/spending/index.es.js +167 -166
  382. package/dist/spending/utils/SpendingData.d.ts +1 -1
  383. package/dist/transactions/TransactionWidget.d.ts +1 -1
  384. package/dist/transactions/api/TransactionApi.d.ts +1 -1
  385. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
  386. package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
  387. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
  388. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
  389. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
  390. package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
  391. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
  392. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
  393. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
  394. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
  395. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
  396. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
  397. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +1 -1
  398. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
  399. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
  400. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
  401. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -0
  402. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
  403. package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
  404. package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
  405. package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
  406. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
  407. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
  408. package/dist/transactions/constants/Actions.d.ts +4 -3
  409. package/dist/transactions/constants/Transaction.d.ts +1 -1
  410. package/dist/transactions/index.es.js +195 -187
  411. package/dist/transactions/stores/TransactionStore.d.ts +2 -1
  412. package/dist/transactions/stores/UiStore.d.ts +1 -1
  413. package/dist/transactions/utils/Filters.d.ts +1 -1
  414. package/dist/transactions/utils/Transactions.d.ts +1 -1
  415. package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
  416. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
  417. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -1
  418. package/dist/trends/TrendsFullWidget.d.ts +1 -1
  419. package/dist/trends/TrendsMiniWidget.d.ts +1 -1
  420. package/dist/trends/TrendsWidget.d.ts +1 -1
  421. package/dist/trends/components/CategoriesList.d.ts +1 -1
  422. package/dist/trends/components/CategoriesListItem.d.ts +1 -1
  423. package/dist/trends/components/CategoryDetails.d.ts +3 -0
  424. package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
  425. package/dist/trends/components/TrendsInsights.d.ts +1 -1
  426. package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
  427. package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
  428. package/dist/trends/index.es.js +817 -764
  429. package/dist/trends/stores/TrendsStore.d.ts +2 -1
  430. package/dist/trends/utils/SpendingData.d.ts +1 -1
  431. package/dist/trends/utils/TrendsData.d.ts +1 -1
  432. package/dist/trends/utils/TrendsTable.d.ts +1 -1
  433. package/dist/trends/utils/TrendsWidget.d.ts +7 -0
  434. package/dist/trends/utils/shared.d.ts +1 -1
  435. package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
  436. package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
  437. package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
  438. package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
  439. package/package.json +17 -10
  440. package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
  441. package/dist/AccountListItem-k63LpVBs.mjs +0 -90
  442. package/dist/Accounts-CuE8aSZN.mjs +0 -27
  443. package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
  444. package/dist/CashflowStore-naOtJcwo.mjs +0 -91
  445. package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
  446. package/dist/Dialog-jmgGw5WA.mjs +0 -58
  447. package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
  448. package/dist/GoalStore-BjHKNAVm.mjs +0 -421
  449. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  450. package/dist/LineChart-CnscUFUG.mjs +0 -580
  451. package/dist/Loader-icSc5MlE.mjs +0 -24
  452. package/dist/Localization-2MODESHW.mjs +0 -30
  453. package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
  454. package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
  455. package/dist/Notification-Bs1fdbzI.mjs +0 -95
  456. package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
  457. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  458. package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
  459. package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
  460. package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
  461. package/dist/TransactionList-BDffKJMO.mjs +0 -204
  462. package/dist/User-DS18cMaz.mjs +0 -237
  463. package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
  464. package/dist/common/components/barchart/Bar.d.ts +0 -25
  465. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  466. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  467. package/dist/common/components/barchart/Legend.d.ts +0 -8
  468. package/dist/common/components/barchart/Util.d.ts +0 -42
  469. package/dist/common/components/barchart/index.d.ts +0 -1
  470. package/dist/common/types/SpendingPlan.d.ts +0 -44
  471. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  472. package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
  473. /package/dist/{common → core}/types/Account.d.ts +0 -0
  474. /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
  475. /package/dist/{common → core}/types/Category.d.ts +0 -0
  476. /package/dist/{common → core}/types/Client.d.ts +0 -0
  477. /package/dist/{common → core}/types/Date.d.ts +0 -0
  478. /package/dist/{common → core}/types/Debt.d.ts +0 -0
  479. /package/dist/{common → core}/types/Global.d.ts +0 -0
  480. /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
  481. /package/dist/{common → core}/types/Goal.d.ts +0 -0
  482. /package/dist/{common → core}/types/Handlers.d.ts +0 -0
  483. /package/dist/{common → core}/types/Help.d.ts +0 -0
  484. /package/dist/{common → core}/types/Holding.d.ts +0 -0
  485. /package/dist/{common → core}/types/Institution.d.ts +0 -0
  486. /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
  487. /package/dist/{common → core}/types/Merchant.d.ts +0 -0
  488. /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
  489. /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
  490. /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
  491. /package/dist/{common → core}/types/Transaction.d.ts +0 -0
  492. /package/dist/{common → core}/types/User.d.ts +0 -0
  493. /package/dist/{common → core}/types/Widgets.d.ts +0 -0
  494. /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
  495. /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
  496. /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
  497. /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
  498. /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
  499. /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
  500. /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
  501. /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
  502. /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
  503. /package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -0
  504. /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
  505. /package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +0 -0
  506. /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
  507. /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
  508. /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
  509. /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
  510. /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
  511. /package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +0 -0
  512. /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
  513. /package/dist/{common → core}/types/localization/index.d.ts +0 -0
@@ -1,110 +1,149 @@
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 B } 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-rEotGPcM.mjs";
10
- import { M as Ln } from "../RecurringSettings-rEotGPcM.mjs";
11
- import { addMonths as We } from "date-fns/addMonths";
3
+ import { observer as R } from "mobx-react-lite";
4
+ import { endOfMonth as H } 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-BN9H5ALr.mjs";
10
+ import { M as Yn } from "../RecurringSettings-BN9H5ALr.mjs";
11
+ import { addMonths as He } from "date-fns/addMonths";
12
12
  import { subMonths as $e } from "date-fns/subMonths";
13
13
  import { isBefore as Be } from "date-fns/isBefore";
14
- import V from "@mui/material/Unstable_Grid2";
15
- import ge from "@mui/material/IconButton";
16
- import l from "@mui/material/Stack";
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";
21
- 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, i as _, g as z, p as _e, h as ne } from "../hooks-CBl85iRr.mjs";
31
- import { d as I, c as T, g as xe, f as et } from "../RecurringTransactions-DlKYwpfK.mjs";
32
- import { T as O } from "../RecurringTransactionsStore-DpzLX8E8.mjs";
33
- import { R as En } from "../RecurringTransactionsStore-DpzLX8E8.mjs";
34
- import { A as S } from "../Analytics-i5h6BxR1.mjs";
35
- import tt 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 nt from "@mui/material/ListSubheader";
40
- import it from "@mui/material/ListItemAvatar";
41
- import rt from "@mui/material/ListItemButton";
42
- import ot from "@mui/material/ListItemText";
43
- import { b as at } from "../ManageIncome-BVqHHIO7.mjs";
44
- import { c as Gn, M as On, S as kn } from "../ManageIncome-BVqHHIO7.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 "../DateFormats-Cs-NbEZ7.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-icSc5MlE.mjs";
54
- import { u as ae } from "../useWidgetLoadTimer-DmNCCLa-.mjs";
55
- import { W as st } from "../WidgetContainer-DFwVgavi.mjs";
56
- import { M as ct } from "../MiniWidgetContainer-CXQcSWSl.mjs";
57
- import { u as lt } from "../useDimensions-CeDR9V8N.mjs";
58
- import { M as dt } from "../MicroWidgetContainer-CBRk9KG-.mjs";
59
- const F = {
14
+ import q from "@mui/material/Unstable_Grid2";
15
+ import he from "@mui/material/IconButton";
16
+ import d from "@mui/material/Stack";
17
+ import fe from "@mui/material/Tab";
18
+ import Fe from "@mui/material/Tabs";
19
+ import { Schedule as ze, MonetizationOn as Ue, Cancel as Se, CheckCircle as we, 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 { getWeeksInMonth as xe } from "date-fns/getWeeksInMonth";
22
+ import { enCA as Xe } from "date-fns/locale/en-CA";
23
+ import { enUS as be } from "date-fns/locale/en-US";
24
+ import { es as Je } from "date-fns/locale/es";
25
+ import { fr as Qe } from "date-fns/locale/fr";
26
+ import { frCA as et } from "date-fns/locale/fr-CA";
27
+ import ne from "@mui/material/styles/useTheme";
28
+ import { AdapterDateFns as tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
29
+ import { DateCalendar as nt } from "@mui/x-date-pickers/DateCalendar";
30
+ import { LocalizationProvider as rt } from "@mui/x-date-pickers/LocalizationProvider";
31
+ import { isSameDay as it } from "date-fns/isSameDay";
32
+ import ot from "@mui/material/Badge";
33
+ import { PickersDay as at } from "@mui/x-date-pickers/PickersDay";
34
+ import { I as F } from "../IconBacking-B9oC6uL2.mjs";
35
+ import { u as y, b as z, i as I, g as U, p as Ie, h as re } from "../hooks-BxkfR-Ff.mjs";
36
+ import { b as A, a as D } from "../RepeatingTransaction-DF4vJn_v.mjs";
37
+ import { f as S, D as w } from "../DateFormats-BMpMrZpW.mjs";
38
+ import { T as G } from "../RecurringTransactionsStore-CkMA7gY3.mjs";
39
+ import { R as Kn } from "../RecurringTransactionsStore-CkMA7gY3.mjs";
40
+ import { g as st, L as W, b as N } from "../Localization-CPkpIwIx.mjs";
41
+ import { A as L } from "../Analytics-BYItVAe-.mjs";
42
+ import ct from "@mui/material/Button";
43
+ import X from "@mui/material/Divider";
44
+ import Ce from "@mui/material/List";
45
+ import Me from "@mui/material/ListItem";
46
+ import lt from "@mui/material/ListSubheader";
47
+ import { g as ye, d as dt } from "../RecurringTransactions-BCJp-Nap.mjs";
48
+ import ut from "@mui/material/ListItemAvatar";
49
+ import mt from "@mui/material/ListItemButton";
50
+ import pt from "@mui/material/ListItemText";
51
+ import { b as gt } from "../ManageIncome-Cc-wba0I.mjs";
52
+ import { c as qn, M as Zn, S as Xn } from "../ManageIncome-Cc-wba0I.mjs";
53
+ import { f as E } from "../NumberFormatting-QCaNwbjv.mjs";
54
+ import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
55
+ import O from "@mui/material/Box";
56
+ import { S as Le } from "../StatusBar-BK_uYHAB.mjs";
57
+ import { u as oe } from "../useScreenSize-B6JyS_Lj.mjs";
58
+ import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
59
+ import { u as ae } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
60
+ import { L as se } from "../Loader-D3rjKx72.mjs";
61
+ import { W as ht } from "../WidgetContainer-B7xDq2bM.mjs";
62
+ import { M as ft } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
63
+ import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
64
+ import { M as bt } from "../MicroWidgetContainer-B_EnfvCq.mjs";
65
+ const Y = {
60
66
  gridRow: 1,
61
67
  gridColumn: 1,
62
68
  zIndex: 2
63
- }, 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(
64
- ze,
69
+ }, j = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
70
+ F,
65
71
  {
66
- filled: !0,
67
- sx: { color: "categories.income", fontSize: n, ...F }
72
+ backingSx: { backgroundColor: "background.paper" },
73
+ size: n,
74
+ sx: { ...j(t) },
75
+ children: /* @__PURE__ */ e(ze, { color: "primary", filled: !0, sx: { fontSize: n, ...Y } })
68
76
  }
69
- ) }), 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(
70
- ({ day: t, outsideCurrentMonth: n, ...i }) => {
71
- const { recurring: o } = R(), { selectedAccountGuids: r } = H(), { recurrences: c, setSelectedDay: u } = _(), s = x.useMemo(
72
- () => c.filter((f) => r.includes(f.accountGuid)),
73
- [r, c]
77
+ ), le = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
78
+ F,
79
+ {
80
+ backingSx: { backgroundColor: "background.paper" },
81
+ size: n,
82
+ sx: { ...j(t) },
83
+ children: /* @__PURE__ */ e(
84
+ Ue,
85
+ {
86
+ filled: !0,
87
+ sx: { color: "categories.income", fontSize: n, ...Y }
88
+ }
89
+ )
90
+ }
91
+ ), de = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
92
+ F,
93
+ {
94
+ backingSx: { backgroundColor: "background.paper" },
95
+ size: n,
96
+ sx: { ...j(t) },
97
+ children: /* @__PURE__ */ e(Se, { color: "error", filled: !0, sx: { fontSize: n, ...Y } })
98
+ }
99
+ ), ue = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
100
+ F,
101
+ {
102
+ backingSx: { backgroundColor: "background.paper" },
103
+ size: n,
104
+ sx: { ...j(t) },
105
+ children: /* @__PURE__ */ e(we, { color: "success", filled: !0, sx: { fontSize: n, ...Y } })
106
+ }
107
+ ), Ct = R(
108
+ ({ day: t, outsideCurrentMonth: n, ...r }) => {
109
+ const { recurring: o } = y(), { selectedAccountGuids: i } = z(), { recurrences: c, setSelectedDay: u } = I(), a = x.useMemo(
110
+ () => c.filter((f) => i.includes(f.accountGuid)),
111
+ [i, c]
74
112
  ).filter(
75
- (f) => Ze(f.occurredOnDate || f.expectedDate, t)
76
- ), d = s.some(
77
- (f) => f.type !== I.Income && f.status === T.Upcoming
78
- ), m = s.some(
79
- (f) => f.type !== I.Income && f.status === T.Missed
80
- ), g = s.some(
81
- (f) => f.type !== I.Income && f.status === T.Paid
82
- ), b = s.some((f) => f.type === I.Income), y = (d ? 1 : 0) + (m ? 1 : 0) + (g ? 1 : 0) + (b ? 1 : 0);
113
+ (f) => it(f.occurredOnDate || f.expectedDate, t)
114
+ ), l = a.some(
115
+ (f) => f.type !== A.Income && f.status === D.Upcoming
116
+ ), m = a.some(
117
+ (f) => f.type !== A.Income && f.status === D.Missed
118
+ ), g = a.some(
119
+ (f) => f.type !== A.Income && f.status === D.Paid
120
+ ), b = a.some((f) => f.type === A.Income), C = (l ? 1 : 0) + (m ? 1 : 0) + (g ? 1 : 0) + (b ? 1 : 0), v = [
121
+ g && o.paid,
122
+ m && o.missed,
123
+ l && o.upcoming,
124
+ b && o.income
125
+ ].filter(Boolean), M = v.length > 0 ? `${S(t, w.MONTH_DAY_YEAR)}, ${v.join(", ")}` : S(t, w.MONTH_DAY_YEAR);
83
126
  return /* @__PURE__ */ e(
84
- Je,
127
+ ot,
85
128
  {
86
- badgeContent: s.length > 0 && /* @__PURE__ */ a(B, { children: [
87
- m && /* @__PURE__ */ e(le, { isOffset: !0 }),
88
- g && /* @__PURE__ */ e(de, { isOffset: !0 }),
89
- d && /* @__PURE__ */ e(se, { isOffset: !0 }),
90
- b && /* @__PURE__ */ e(ce, { isOffset: !0 })
129
+ badgeContent: a.length > 0 && /* @__PURE__ */ s(B, { children: [
130
+ m && /* @__PURE__ */ e(de, { isOffset: !0 }),
131
+ g && /* @__PURE__ */ e(ue, { isOffset: !0 }),
132
+ l && /* @__PURE__ */ e(ce, { isOffset: !0 }),
133
+ b && /* @__PURE__ */ e(le, { isOffset: !0 })
91
134
  ] }),
92
135
  overlap: "circular",
93
136
  sx: {
94
137
  "& .MuiBadge-badge": {
95
138
  padding: 0,
96
- marginRight: `${(y - 1) * 6 + 1}px`,
139
+ marginRight: `${(C - 1) * 6 + 1}px`,
97
140
  flexWrap: "nowrap"
98
141
  }
99
142
  },
100
143
  children: /* @__PURE__ */ e(
101
- Qe,
144
+ at,
102
145
  {
103
- "aria-label": `
104
- ${g && o.paid},
105
- ${m && o.missed},
106
- ${d && o.upcoming},
107
- ${b && o.income}`,
146
+ "aria-label": M,
108
147
  day: t,
109
148
  onClick: () => u(t),
110
149
  outsideCurrentMonth: n,
@@ -115,19 +154,19 @@ const F = {
115
154
  }
116
155
  }
117
156
  },
118
- ...i
157
+ ...r
119
158
  }
120
159
  )
121
160
  }
122
161
  );
123
162
  }
124
- ), $ = ({ icon: t, label: n }) => /* @__PURE__ */ a(l, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
163
+ ), $ = ({ icon: t, label: n }) => /* @__PURE__ */ s(d, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
125
164
  /* @__PURE__ */ e(t, {}),
126
- /* @__PURE__ */ e(h, { variant: "XSmall", children: n })
127
- ] }), mt = C(() => {
128
- const { recurring: t } = R();
129
- return /* @__PURE__ */ a(
130
- l,
165
+ /* @__PURE__ */ e(h, { variant: "caption", children: n })
166
+ ] }), yt = R(() => {
167
+ const { recurring: t } = y();
168
+ return /* @__PURE__ */ s(
169
+ d,
131
170
  {
132
171
  alignItems: "center",
133
172
  "aria-hidden": !0,
@@ -136,35 +175,44 @@ const F = {
136
175
  justifyContent: "center",
137
176
  mt: 12,
138
177
  children: [
139
- /* @__PURE__ */ e($, { icon: se, label: t.expense }),
140
- /* @__PURE__ */ e($, { icon: ce, label: t.income }),
141
- /* @__PURE__ */ e($, { icon: le, label: t.missed }),
142
- /* @__PURE__ */ e($, { icon: de, label: t.paid })
178
+ /* @__PURE__ */ e($, { icon: ce, label: t.expense }),
179
+ /* @__PURE__ */ e($, { icon: le, label: t.income }),
180
+ /* @__PURE__ */ e($, { icon: de, label: t.missed }),
181
+ /* @__PURE__ */ e($, { icon: ue, label: t.paid })
143
182
  ]
144
183
  }
145
184
  );
146
- }), ye = 58, ve = C(() => {
147
- const t = te(), { onEvent: n } = z(), { selectedDay: i, setDateRange: o } = _(), [r, c] = x.useState(
148
- fe(/* @__PURE__ */ new Date()) * O + ye
149
- ), u = (m) => {
150
- c(fe(m) * O + ye), o({
151
- start: G(m),
152
- end: W(m)
153
- }), p(m), n(S.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
154
- }, p = (m) => {
185
+ }), Re = 58, Rt = () => {
186
+ const t = st();
187
+ return {
188
+ [W.EN_US]: be,
189
+ [W.EN_CA]: Xe,
190
+ [W.FR]: Qe,
191
+ [W.FR_CA]: et,
192
+ [W.ES]: Je
193
+ }[t] || be;
194
+ }, Ae = R(() => {
195
+ const t = ne(), { onEvent: n } = U(), { recurring: r } = y(), { selectedDay: o, setDateRange: i } = I(), [c, u] = x.useState(
196
+ xe(/* @__PURE__ */ new Date()) * G + Re
197
+ ), p = (m) => {
198
+ u(xe(m) * G + Re), i({
199
+ start: k(m),
200
+ end: H(m)
201
+ }), a(m), n(L.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
202
+ }, a = (m) => {
155
203
  m && requestAnimationFrame(() => {
156
204
  const g = document.getElementById("recurrence-list");
157
205
  g?.setAttribute("tabindex", "-1"), g?.focus();
158
206
  });
159
- }, s = /* @__PURE__ */ e(
160
- Xe,
207
+ }, l = /* @__PURE__ */ e(
208
+ nt,
161
209
  {
162
- minDate: G(/* @__PURE__ */ new Date()),
163
- onChange: p,
164
- onMonthChange: u,
210
+ minDate: k(/* @__PURE__ */ new Date()),
211
+ onChange: a,
212
+ onMonthChange: p,
165
213
  showDaysOutsideCurrentMonth: !0,
166
214
  slots: {
167
- day: ut
215
+ day: Ct
168
216
  },
169
217
  sx: {
170
218
  "& .MuiPickersArrowSwitcher-button": {
@@ -185,136 +233,113 @@ const F = {
185
233
  pr: 8
186
234
  },
187
235
  "& .MuiPickersCalendarHeader-label": {
188
- fontFamily: t.typography.Body.fontFamily,
189
- fontSize: t.typography.Body.fontSize,
236
+ fontFamily: t.typography.body1.fontFamily,
237
+ fontSize: t.typography.body1.fontSize,
190
238
  fontWeight: 600
191
239
  },
192
240
  "& .MuiDayCalendar-slideTransition": {
193
- minHeight: r
241
+ minHeight: c
194
242
  },
195
243
  "&.MuiDateCalendar-root": {
196
- minHeight: r + O
244
+ minHeight: c + G
197
245
  },
198
246
  "& .MuiButtonBase-root, .MuiDayCalendar-weekDayLabel": {
199
- height: O,
200
- width: O,
247
+ height: G,
248
+ width: G,
201
249
  margin: 0
202
250
  },
203
251
  "& .MuiDayCalendar-weekDayLabel": {
204
252
  fontFamily: t.typography.h3.fontFamily,
205
253
  fontSize: t.typography.body2.fontSize
206
- }
254
+ },
255
+ "& .MuiPickersDay-dayOutsideMonth": {
256
+ color: "text.secondary"
257
+ },
258
+ textTransform: "capitalize"
207
259
  },
208
- value: i,
260
+ value: o,
209
261
  views: ["day"]
210
262
  }
211
263
  );
212
- return /* @__PURE__ */ a(
213
- l,
214
- {
215
- "aria-describedby": "calendar-description",
216
- "aria-labelledby": "calendar-label",
217
- justifyContent: "center",
218
- children: [
219
- /* @__PURE__ */ e(
220
- "span",
221
- {
222
- id: "calendar-label",
223
- style: {
224
- position: "absolute",
225
- width: "1px",
226
- height: "1px",
227
- padding: 0,
228
- margin: "-1px",
229
- overflow: "hidden",
230
- clip: "rect(0, 0, 0, 0)",
231
- whiteSpace: "nowrap",
232
- border: 0
233
- },
234
- children: "Calendar filter for recurring transactions list. Filter by month or select specific date."
235
- }
236
- ),
237
- /* @__PURE__ */ a(qe, { dateAdapter: Ve, children: [
238
- i && s,
239
- !i && s,
240
- /* @__PURE__ */ e(mt, {})
241
- ] })
242
- ]
243
- }
244
- );
245
- }), pt = (t) => {
246
- if (t.type === I.Income)
247
- return /* @__PURE__ */ e(ce, {});
264
+ return /* @__PURE__ */ e(d, { "aria-labelledby": "calendar-label", justifyContent: "center", role: "group", children: /* @__PURE__ */ s(rt, { adapterLocale: Rt(), dateAdapter: tt, children: [
265
+ o && l,
266
+ !o && l,
267
+ /* @__PURE__ */ e(h, { id: "calendar-label", sx: { alignSelf: "center" }, variant: "body2", children: r.calendar_tooltip }),
268
+ /* @__PURE__ */ e(yt, {})
269
+ ] }) });
270
+ }), Dt = (t) => {
271
+ if (t.type === A.Income)
272
+ return /* @__PURE__ */ e(le, {});
248
273
  switch (t.status) {
249
- case T.Missed:
250
- return /* @__PURE__ */ e(le, {});
251
- case T.Paid:
274
+ case D.Missed:
252
275
  return /* @__PURE__ */ e(de, {});
276
+ case D.Paid:
277
+ return /* @__PURE__ */ e(ue, {});
253
278
  default:
254
- return /* @__PURE__ */ e(se, {});
279
+ return /* @__PURE__ */ e(ce, {});
255
280
  }
256
- }, gt = (t, n) => {
281
+ }, Tt = (t, n) => {
257
282
  switch (t.status) {
258
- case T.Paid:
259
- return t.expectedDate ? E(
283
+ case D.Paid:
284
+ return t.expectedDate ? N(
260
285
  n.paid_on,
261
- v(
286
+ S(
262
287
  t.occurredOnDate || t.expectedDate,
263
- L.MONTH_DAY
288
+ w.MONTH_DAY
264
289
  )
265
290
  ) : n.paid;
266
- case T.Missed:
267
- return E(
291
+ case D.Missed:
292
+ return N(
268
293
  n.missed_on,
269
- v(t.expectedDate, L.MONTH_DAY)
294
+ S(t.expectedDate, w.MONTH_DAY)
270
295
  );
271
- case T.Upcoming:
272
- return E(
296
+ case D.Upcoming:
297
+ return N(
273
298
  n.upcoming_on,
274
- v(t.expectedDate, L.MONTH_DAY)
299
+ S(t.expectedDate, w.MONTH_DAY)
275
300
  );
276
301
  default:
277
302
  return n.unknown;
278
303
  }
279
- }, Ce = ({
304
+ }, De = ({
280
305
  recurrence: t,
281
306
  isMini: n = !1,
282
- onRecurrenceClick: i = () => {
307
+ onRecurrenceClick: r = () => {
283
308
  },
284
309
  showOrdinal: o = !1
285
310
  }) => {
286
- const { recurring: r } = R(), { detailedRepeatingTransactions: c } = _(), [u, p] = x.useState(!1), s = x.useMemo(
287
- () => c.find((A) => A.guid === t.repeatingTransactionGuid),
311
+ const { recurring: i } = y(), { detailedRepeatingTransactions: c } = I(), [u, p] = x.useState(!1), a = x.useMemo(
312
+ () => c.find((M) => M.guid === t.repeatingTransactionGuid),
288
313
  [t, c]
289
- ), d = t.type === I.Income, m = t.status === T.Paid, g = t.status === T.Missed, b = t.status === T.Upcoming;
290
- let y = r.paid?.toLowerCase();
291
- return g ? y = r.missed?.toLowerCase() : b && (y = o ? xe(r, s || {}, !0) : xe(r, s || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
292
- /* @__PURE__ */ a(Se, { disableGutters: !0, disablePadding: !0, children: [
293
- /* @__PURE__ */ a(rt, { onClick: () => {
294
- p(!0), i(t);
314
+ ), l = t.type === A.Income, m = t.status === D.Paid, g = t.status === D.Missed, b = t.status === D.Upcoming;
315
+ let C = i.paid?.toLowerCase();
316
+ return g ? C = i.missed?.toLowerCase() : b && (C = o ? ye(i, a || {}, !0) : ye(i, a || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
317
+ /* @__PURE__ */ s(Me, { disableGutters: !0, disablePadding: !0, children: [
318
+ /* @__PURE__ */ s(mt, { onClick: () => {
319
+ p(!0), r(t);
295
320
  }, children: [
296
- /* @__PURE__ */ e(it, { children: /* @__PURE__ */ e(
297
- ee,
321
+ /* @__PURE__ */ e(ut, { children: /* @__PURE__ */ e(
322
+ te,
298
323
  {
299
324
  categoryGuid: t.categoryGuid,
300
325
  merchantGuid: t.merchantGuid
301
326
  }
302
327
  ) }),
303
- /* @__PURE__ */ e(ot, { children: /* @__PURE__ */ a(
304
- l,
328
+ /* @__PURE__ */ e(pt, { children: /* @__PURE__ */ s(
329
+ d,
305
330
  {
306
331
  direction: "row",
307
332
  gap: 4,
308
333
  sx: { justifyContent: "space-between", textOverflow: "ellipsis", textWrap: "nowrap" },
309
334
  children: [
310
- /* @__PURE__ */ a(l, { direction: "column", width: "50%", children: [
335
+ /* @__PURE__ */ s(d, { direction: "column", width: "50%", children: [
311
336
  /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: t.name }),
312
- /* @__PURE__ */ e(l, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
313
- pt(t),
314
- /* @__PURE__ */ e(h, { variant: "caption", children: gt(t, r) })
315
- ] }) : /* @__PURE__ */ a(B, { children: [
337
+ /* @__PURE__ */ e(d, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ s(d, { direction: "row", gap: 4, children: [
338
+ Dt(t),
339
+ /* @__PURE__ */ e(h, { variant: "caption", children: Tt(t, i) })
340
+ ] }) : /* @__PURE__ */ s(B, { children: [
316
341
  t.institutionGuid && /* @__PURE__ */ e(
317
- Ke,
342
+ Ve,
318
343
  {
319
344
  alt: `${t.institutionName} institution logo`,
320
345
  institutionGuid: t.institutionGuid,
@@ -324,13 +349,13 @@ const F = {
324
349
  /* @__PURE__ */ e(h, { sx: { maxWidth: 250 }, variant: "caption", children: t.institutionName })
325
350
  ] }) })
326
351
  ] }),
327
- /* @__PURE__ */ a(l, { alignItems: "flex-end", width: "100%", children: [
328
- /* @__PURE__ */ a(h, { bold: !0, color: d ? "success.main" : "text.primary", variant: "body1", children: [
329
- d ? "+" : "",
330
- M(t.amount, "0,0.00")
352
+ /* @__PURE__ */ s(d, { alignItems: "flex-end", width: "100%", children: [
353
+ /* @__PURE__ */ s(h, { bold: !0, color: l ? "success.main" : "text.primary", variant: "body1", children: [
354
+ l ? "+" : "",
355
+ E(t.amount, "0,0.00")
331
356
  ] }),
332
- !n && /* @__PURE__ */ a(
333
- l,
357
+ !n && /* @__PURE__ */ s(
358
+ d,
334
359
  {
335
360
  direction: "row",
336
361
  sx: {
@@ -342,8 +367,8 @@ const F = {
342
367
  },
343
368
  children: [
344
369
  m && /* @__PURE__ */ e(we, { color: "success", filled: !0, size: 12 }),
345
- g && /* @__PURE__ */ e(De, { color: "error", filled: !0, size: 12 }),
346
- /* @__PURE__ */ e(h, { bold: !0, color: "text.secondary", variant: "caption", children: y })
370
+ g && /* @__PURE__ */ e(Se, { color: "error", filled: !0, size: 12 }),
371
+ /* @__PURE__ */ e(h, { bold: !0, color: "text.secondary", variant: "caption", children: C })
347
372
  ]
348
373
  }
349
374
  )
@@ -355,33 +380,33 @@ const F = {
355
380
  /* @__PURE__ */ e(
356
381
  ie,
357
382
  {
358
- ariaLabelClose: r.close_drawer_aria,
383
+ ariaLabelClose: i.close_drawer_aria,
359
384
  isOpen: u,
360
385
  onClose: () => p(!1),
361
- title: t.type === I.Income ? r.income_details : r.expense_details,
362
- children: s && /* @__PURE__ */ e(
363
- at,
386
+ title: t.type === A.Income ? i.income_details : i.expense_details,
387
+ children: a && /* @__PURE__ */ e(
388
+ gt,
364
389
  {
365
390
  onDeleted: () => p(!1),
366
- recurringTransaction: s
391
+ recurringTransaction: a
367
392
  }
368
393
  )
369
394
  }
370
395
  )
371
396
  ] });
372
- }, k = C(
397
+ }, P = R(
373
398
  ({
374
399
  recurrences: t,
375
400
  isMini: n = !1,
376
- onResetClick: i,
401
+ onResetClick: r,
377
402
  onRecurrenceClick: o,
378
- sx: r = {},
403
+ sx: i = {},
379
404
  title: c
380
405
  }) => {
381
- const { recurring: u } = R(), p = x.useMemo(() => et(t), [t]);
382
- return /* @__PURE__ */ a(l, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...r }, "tab-index": -1, children: [
383
- c && /* @__PURE__ */ a(
384
- l,
406
+ const { recurring: u } = y(), p = x.useMemo(() => dt(t), [t]);
407
+ return /* @__PURE__ */ s(d, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...i }, "tab-index": -1, children: [
408
+ c && /* @__PURE__ */ s(
409
+ d,
385
410
  {
386
411
  sx: {
387
412
  alignItems: "center",
@@ -390,29 +415,29 @@ const F = {
390
415
  px: 24
391
416
  },
392
417
  children: [
393
- /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: c }),
394
- i && /* @__PURE__ */ e(tt, { onClick: i, size: "small", variant: "text", children: u.reset })
418
+ /* @__PURE__ */ e(qe, { bold: !0, variant: "body1", children: c }),
419
+ r && /* @__PURE__ */ e(ct, { onClick: r, size: "small", variant: "text", children: u.reset })
395
420
  ]
396
421
  }
397
422
  ),
398
- 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: [
423
+ 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, l) => /* @__PURE__ */ s(x.Fragment, { children: [
399
424
  /* @__PURE__ */ e(
400
- Ce,
425
+ De,
401
426
  {
402
427
  isMini: n,
403
428
  onRecurrenceClick: o,
404
- recurrence: s
429
+ recurrence: a
405
430
  }
406
431
  ),
407
- /* @__PURE__ */ e(q, { sx: { mx: 24 } })
408
- ] }, `recurrence-${d}`)) : p.map((s, d) => /* @__PURE__ */ a(x.Fragment, { children: [
409
- /* @__PURE__ */ e(Se, { children: /* @__PURE__ */ e(
410
- be,
432
+ /* @__PURE__ */ e(X, { sx: { mx: 24 } })
433
+ ] }, `recurrence-${l}`)) : p.map((a, l) => /* @__PURE__ */ s(x.Fragment, { children: [
434
+ /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(
435
+ Ce,
411
436
  {
412
- subheader: /* @__PURE__ */ e(nt, { 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) }) }),
437
+ subheader: /* @__PURE__ */ e(lt, { 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) }) }),
413
438
  sx: { width: "100%" },
414
- children: s.recurrences.map((m, g) => /* @__PURE__ */ e(x.Fragment, { children: /* @__PURE__ */ e(
415
- Ce,
439
+ children: a.recurrences.map((m, g) => /* @__PURE__ */ e(x.Fragment, { children: /* @__PURE__ */ e(
440
+ De,
416
441
  {
417
442
  isMini: n,
418
443
  onRecurrenceClick: o,
@@ -420,178 +445,178 @@ const F = {
420
445
  }
421
446
  ) }, `day-recurrence-${g}`))
422
447
  }
423
- ) }, s.id),
424
- /* @__PURE__ */ e(q, { sx: { mx: 24 } })
425
- ] }, `recurrence-${d}`)) })
448
+ ) }, a.id),
449
+ /* @__PURE__ */ e(X, { sx: { mx: 24 } })
450
+ ] }, `recurrence-${l}`)) })
426
451
  ] });
427
452
  }
428
- ), Re = C(
429
- ({ expected: t, isExpense: n = !0, missed: i, paid: o, title: r, total: c, upcoming: u }) => {
430
- const p = te(), { isSmallMobile: s } = re(), { recurring: d } = R(), m = x.useMemo(() => {
453
+ ), Te = R(
454
+ ({ expected: t, isExpense: n = !0, missed: r, paid: o, title: i, total: c, upcoming: u }) => {
455
+ const p = ne(), { isSmallMobile: a } = oe(), { recurring: l } = y(), m = x.useMemo(() => {
431
456
  const g = [{ color: p.palette.success.main, percentage: `${o / t}` }];
432
- return i && g.push({ color: p.palette.error.main, percentage: `${i / t}` }), g;
433
- }, [o, t, i]);
434
- return /* @__PURE__ */ a(l, { children: [
435
- /* @__PURE__ */ a(l, { sx: { flexDirection: "row", justifyContent: "space-between", pb: 12 }, children: [
436
- /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${r} (${c})` }),
437
- /* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${M(t, "0,0.00")}` })
457
+ return r && g.push({ color: p.palette.error.main, percentage: `${r / t}` }), g;
458
+ }, [o, t, r]);
459
+ return /* @__PURE__ */ s(d, { children: [
460
+ /* @__PURE__ */ s(d, { sx: { flexDirection: "row", justifyContent: "space-between", pb: 12 }, children: [
461
+ /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${i} (${c})` }),
462
+ /* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${E(t, "0,0.00")}` })
438
463
  ] }),
439
- /* @__PURE__ */ e(Ie, { data: m, height: 12 }),
440
- /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2, my: 8 }, children: [
441
- /* @__PURE__ */ e(N, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
442
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(o, "0,0.00") }),
443
- /* @__PURE__ */ e(h, { variant: "caption", children: d.paid?.toLowerCase() }),
444
- i !== void 0 && /* @__PURE__ */ a(B, { children: [
445
- /* @__PURE__ */ e(N, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
446
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(i, "0,0.00") }),
447
- /* @__PURE__ */ e(h, { variant: "caption", children: d.missed?.toLowerCase() })
464
+ /* @__PURE__ */ e(Le, { data: m, height: 12 }),
465
+ /* @__PURE__ */ s(d, { sx: { alignItems: "center", flexDirection: "row", gap: 2, my: 8 }, children: [
466
+ /* @__PURE__ */ e(O, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
467
+ !a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(o, "0,0.00") }),
468
+ /* @__PURE__ */ e(h, { variant: "caption", children: l.paid?.toLowerCase() }),
469
+ r !== void 0 && /* @__PURE__ */ s(B, { children: [
470
+ /* @__PURE__ */ e(O, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
471
+ !a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(r, "0,0.00") }),
472
+ /* @__PURE__ */ e(h, { variant: "caption", children: l.missed?.toLowerCase() })
448
473
  ] }),
449
- /* @__PURE__ */ e(N, { sx: { bgcolor: "divider", height: 8, ml: 16, mr: 8, width: 8 } }),
450
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(u, "0,0.00") }),
451
- /* @__PURE__ */ e(h, { variant: "caption", children: d.upcoming })
474
+ /* @__PURE__ */ e(O, { sx: { bgcolor: "divider", height: 8, ml: 16, mr: 8, width: 8 } }),
475
+ !a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(u, "0,0.00") }),
476
+ /* @__PURE__ */ e(h, { variant: "caption", children: l.upcoming?.toLowerCase() })
452
477
  ] })
453
478
  ] });
454
479
  }
455
- ), ht = C(() => {
456
- const { recurring: t } = R(), { availableWidth: n } = _e(), { isDesktop: i, isSmallMobile: o, isMobile: r } = re(n), { onEvent: c } = z(), {
480
+ ), _t = R(() => {
481
+ const { recurring: t } = y(), { availableWidth: n } = Ie(), { isDesktop: r, isSmallMobile: o, isMobile: i } = oe(n), { onEvent: c } = U(), {
457
482
  currentMonthExpenses: u,
458
483
  currentMonthIncome: p,
459
- dateRange: s,
460
- expenseTotal: d,
484
+ dateRange: a,
485
+ expenseTotal: l,
461
486
  incomeTotal: m,
462
487
  missedExpenseTotal: g,
463
488
  pastRecurrences: b,
464
- paidExpenseTotal: y,
465
- paidIncomeTotal: f,
466
- selectedDay: A,
467
- selectedDayRecurrences: j,
468
- setDateRange: w,
489
+ paidExpenseTotal: C,
490
+ paidIncomeTotal: v,
491
+ selectedDay: M,
492
+ selectedDayRecurrences: f,
493
+ setDateRange: _,
469
494
  upcomingExpenseTotal: K,
470
- upcomingIncomeTotal: Le,
471
- upcomingRecurrences: ue
472
- } = _(), [Y, Ae] = x.useState(0), Ee = Be(s.start, /* @__PURE__ */ new Date()), Ne = (D, ke) => {
473
- Ae(ke);
474
- }, me = (D) => {
475
- c(S.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
476
- transaction_guid: D.transaction?.guid
495
+ upcomingIncomeTotal: Ee,
496
+ upcomingRecurrences: me
497
+ } = I(), [V, Ne] = x.useState(0), Oe = Be(a.start, /* @__PURE__ */ new Date()), ke = (T, Pe) => {
498
+ Ne(Pe);
499
+ }, pe = (T) => {
500
+ c(L.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
501
+ transaction_guid: T.transaction?.guid
477
502
  });
478
- }, pe = (D) => {
479
- c(S.RECURRING_TRANSACTIONS_CLICK_PAID, {
480
- transaction_guid: D.transaction?.guid
503
+ }, ge = (T) => {
504
+ c(L.RECURRING_TRANSACTIONS_CLICK_PAID, {
505
+ transaction_guid: T.transaction?.guid
481
506
  });
482
507
  }, Ge = () => {
483
- const D = We(s.start, 1);
484
- w({
485
- start: G(D),
486
- end: W(D)
508
+ const T = He(a.start, 1);
509
+ _({
510
+ start: k(T),
511
+ end: H(T)
487
512
  });
488
- }, Oe = () => {
489
- const D = $e(s.start, 1);
490
- w({
491
- start: G(D),
492
- end: W(D)
513
+ }, We = () => {
514
+ const T = $e(a.start, 1);
515
+ _({
516
+ start: k(T),
517
+ end: H(T)
493
518
  });
494
519
  };
495
- return /* @__PURE__ */ a(
496
- V,
520
+ return /* @__PURE__ */ s(
521
+ q,
497
522
  {
498
523
  container: !0,
499
524
  sx: {
500
525
  pt: 16
501
526
  },
502
527
  children: [
503
- /* @__PURE__ */ a(V, { md: !0, sm: 12, width: "100%", children: [
504
- /* @__PURE__ */ a(l, { sx: { gap: 16, px: i ? 48 : 24 }, children: [
505
- /* @__PURE__ */ a(l, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
506
- /* @__PURE__ */ e(Ye, { children: E(
528
+ /* @__PURE__ */ s(q, { md: !0, sm: 12, width: "100%", children: [
529
+ /* @__PURE__ */ s(d, { sx: { gap: 16, px: r ? 48 : 24 }, children: [
530
+ /* @__PURE__ */ s(d, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
531
+ /* @__PURE__ */ e(Ze, { variant: "h3", children: N(
507
532
  t.header_title,
508
- v(s.start, L.MONTH_LONG)
533
+ S(a.start, w.MONTH_LONG)
509
534
  ) }),
510
- !i && /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
535
+ !r && /* @__PURE__ */ s(d, { direction: "row", gap: 4, children: [
511
536
  /* @__PURE__ */ e(
512
- ge,
537
+ he,
513
538
  {
514
539
  color: "primary",
515
- disabled: Ee,
516
- onClick: Oe,
517
- children: /* @__PURE__ */ e(Fe, {})
540
+ disabled: Oe,
541
+ onClick: We,
542
+ children: /* @__PURE__ */ e(Ye, {})
518
543
  }
519
544
  ),
520
- /* @__PURE__ */ e(ge, { color: "primary", onClick: Ge, children: /* @__PURE__ */ e(Ue, {}) })
545
+ /* @__PURE__ */ e(he, { color: "primary", onClick: Ge, children: /* @__PURE__ */ e(je, {}) })
521
546
  ] })
522
547
  ] }),
523
548
  /* @__PURE__ */ e(
524
- Re,
549
+ Te,
525
550
  {
526
- expected: d,
551
+ expected: l,
527
552
  missed: g,
528
- paid: y,
553
+ paid: C,
529
554
  title: t.expenses,
530
555
  total: u.length,
531
556
  upcoming: K
532
557
  }
533
558
  ),
534
559
  /* @__PURE__ */ e(
535
- Re,
560
+ Te,
536
561
  {
537
562
  expected: m,
538
563
  isExpense: !1,
539
- paid: f,
564
+ paid: v,
540
565
  title: t.deposits,
541
566
  total: p.length,
542
- upcoming: Le
567
+ upcoming: Ee
543
568
  }
544
569
  ),
545
- i && /* @__PURE__ */ e(
546
- k,
570
+ r && /* @__PURE__ */ e(
571
+ P,
547
572
  {
548
- onRecurrenceClick: me,
549
- recurrences: ue,
573
+ onRecurrenceClick: pe,
574
+ recurrences: me,
550
575
  title: t.upcoming_activity
551
576
  }
552
577
  )
553
578
  ] }),
554
- !i && /* @__PURE__ */ a(l, { sx: { px: r ? 0 : 24 }, children: [
555
- /* @__PURE__ */ a(Pe, { onChange: Ne, value: Y, variant: "fullWidth", children: [
579
+ !r && /* @__PURE__ */ s(d, { sx: { px: i ? 0 : 24 }, children: [
580
+ /* @__PURE__ */ s(Fe, { onChange: ke, value: V, variant: "fullWidth", children: [
556
581
  /* @__PURE__ */ e(
557
- he,
582
+ fe,
558
583
  {
559
584
  label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: o ? t.upcoming : t.upcoming_activity })
560
585
  }
561
586
  ),
562
587
  /* @__PURE__ */ e(
563
- he,
588
+ fe,
564
589
  {
565
590
  label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: o ? t.past : t.past_transactions })
566
591
  }
567
592
  )
568
593
  ] }),
569
- Y === 0 && /* @__PURE__ */ e(
570
- k,
594
+ V === 0 && /* @__PURE__ */ e(
595
+ P,
571
596
  {
572
- onRecurrenceClick: me,
573
- recurrences: ue
597
+ onRecurrenceClick: pe,
598
+ recurrences: me
574
599
  }
575
600
  ),
576
- Y === 1 && /* @__PURE__ */ e(
577
- k,
601
+ V === 1 && /* @__PURE__ */ e(
602
+ P,
578
603
  {
579
- onRecurrenceClick: pe,
604
+ onRecurrenceClick: ge,
580
605
  recurrences: b
581
606
  }
582
607
  )
583
608
  ] })
584
609
  ] }),
585
- i && /* @__PURE__ */ e(V, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ a(l, { gap: 24, children: [
586
- /* @__PURE__ */ e(ve, {}),
610
+ r && /* @__PURE__ */ e(q, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ s(d, { gap: 24, children: [
611
+ /* @__PURE__ */ e(Ae, {}),
587
612
  /* @__PURE__ */ e(
588
- k,
613
+ P,
589
614
  {
590
- onRecurrenceClick: pe,
591
- recurrences: j || b,
592
- title: A ? E(
615
+ onRecurrenceClick: ge,
616
+ recurrences: f || b,
617
+ title: M ? N(
593
618
  t.day_transactions,
594
- v(A, L.MONTH_DAY)
619
+ S(M, w.MONTH_DAY)
595
620
  ) : t.past_transactions
596
621
  }
597
622
  )
@@ -599,114 +624,115 @@ const F = {
599
624
  ]
600
625
  }
601
626
  );
602
- }), wn = C(({ onBackClick: t, sx: n = {} }) => {
603
- 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);
627
+ }), Hn = R(({ onBackClick: t, sx: n = {} }) => {
628
+ const { recurring: r } = y(), { isInitialized: o, selectedAccountGuids: i } = z(), { isDataLoaded: c, loadRepeatingTransactionData: u, setDateRange: p } = I(), { setFilter: a } = re(), { onEvent: l } = U(), { isMobile: m } = oe(), [g, b] = x.useState(!1);
604
629
  return ae({
605
630
  widgetName: "RecurringTransactionsWidget",
606
631
  isLoaded: c
607
632
  }), x.useEffect(() => {
608
633
  c || u().finally();
609
634
  }, []), x.useEffect(() => {
610
- s({
611
- dateRange: { start: Q(J(), 90), end: Z() },
612
- accounts: r
613
- }), p({ start: G(/* @__PURE__ */ new Date()), end: W(/* @__PURE__ */ new Date()) });
614
- }, [r]), o ? /* @__PURE__ */ a(
615
- st,
635
+ a({
636
+ dateRange: { start: ee(Q(), 90), end: J() },
637
+ accounts: i
638
+ }), p({ start: k(/* @__PURE__ */ new Date()), end: H(/* @__PURE__ */ new Date()) });
639
+ }, [i]), o ? /* @__PURE__ */ s(
640
+ ht,
616
641
  {
617
642
  actions: [
618
643
  {
619
- label: i.action_title,
644
+ label: r.action_title,
620
645
  iconName: "credit_card_gear",
621
646
  onClick: () => {
622
- b(!0), d(S.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
647
+ b(!0), l(L.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
623
648
  }
624
649
  }
625
650
  ],
626
651
  hasDivider: m,
627
- onAccountsFilterClick: () => d(S.RECURRING_TRANSACTIONS_CLICK_FILTER),
652
+ onAccountsFilterClick: () => l(L.RECURRING_TRANSACTIONS_CLICK_FILTER),
628
653
  onBackClick: t,
629
654
  sx: n,
630
- title: i.title,
655
+ title: r.title,
631
656
  children: [
632
- c ? /* @__PURE__ */ e(ht, {}) : /* @__PURE__ */ e(Me, { sx: { m: 48 }, variant: "list" }),
657
+ c ? /* @__PURE__ */ e(_t, {}) : /* @__PURE__ */ e(ve, { sx: { m: 48 }, variant: "list" }),
633
658
  /* @__PURE__ */ e(
634
659
  ie,
635
660
  {
636
- ariaLabelClose: i.close_drawer_aria,
661
+ ariaLabelClose: r.close_drawer_aria,
637
662
  isOpen: g,
638
663
  onClose: () => b(!1),
639
664
  shouldShowHeaderBorders: !1,
640
- title: i.action_title,
641
- children: /* @__PURE__ */ e(Te, {})
665
+ title: r.action_title,
666
+ children: /* @__PURE__ */ e(_e, {})
642
667
  }
643
668
  )
644
669
  ]
645
670
  }
646
- ) : /* @__PURE__ */ e(oe, {});
647
- }), ft = C(() => {
648
- const { recurring: t } = R(), { availableWidth: n } = _e(), { selectedDay: i, selectedDayRecurrences: o, setSelectedDay: r, upcomingRecurrences: c } = _(), u = n < 750;
649
- return /* @__PURE__ */ a(l, { flexDirection: u ? "column" : "row", width: "100%", children: [
650
- /* @__PURE__ */ e(ve, {}),
651
- !u && /* @__PURE__ */ e(q, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
671
+ ) : /* @__PURE__ */ e(se, {});
672
+ }), St = R(() => {
673
+ const { recurring: t } = y(), { availableWidth: n } = Ie(), { selectedDay: r, selectedDayRecurrences: o, setSelectedDay: i, upcomingRecurrences: c } = I(), u = n < 750;
674
+ return /* @__PURE__ */ s(d, { flexDirection: u ? "column" : "row", width: "100%", children: [
675
+ /* @__PURE__ */ e(Ae, {}),
676
+ !u && /* @__PURE__ */ e(X, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
652
677
  /* @__PURE__ */ e(
653
- k,
678
+ P,
654
679
  {
655
680
  isMini: !0,
656
- onResetClick: i ? () => r(i) : void 0,
681
+ onResetClick: r ? () => i(r) : void 0,
657
682
  recurrences: o || c.slice(0, 5),
658
683
  sx: { width: u ? "100%" : "calc(100% - 336px)", mt: 12 },
659
- title: i ? E(
684
+ title: r ? N(
660
685
  t.day_transactions,
661
- v(i, L.MONTH_DAY)
686
+ S(r, w.MONTH_DAY)
662
687
  ) : t.upcoming_activity
663
688
  }
664
689
  )
665
690
  ] });
666
- }), _n = C(
691
+ }), $n = R(
667
692
  ({ onPrimaryCtaClick: t, sx: n }) => {
668
- const { recurring: i } = R(), { setFilter: o } = ne(), { isDataLoaded: r, loadRepeatingTransactionData: c } = _(), { isInitialized: u, selectedAccountGuids: p } = H();
693
+ const { recurring: r } = y(), { setFilter: o } = re(), { isDataLoaded: i, loadRepeatingTransactionData: c } = I(), { isInitialized: u, selectedAccountGuids: p } = z();
669
694
  return ae({
670
695
  widgetName: "RecurringTransactionsMiniWidget",
671
- isLoaded: r
696
+ isLoaded: i
672
697
  }), x.useEffect(() => {
673
- r || c().finally();
698
+ i || c().finally();
674
699
  }, []), x.useEffect(() => {
675
700
  p.length > 0 && o({
676
- dateRange: { start: Q(J(), 90), end: Z() },
701
+ dateRange: { start: ee(Q(), 90), end: J() },
677
702
  accounts: p
678
703
  });
679
704
  }, [p]), u ? /* @__PURE__ */ e(
680
- ct,
705
+ ft,
681
706
  {
682
707
  className: "mx-exp-recurring-transactions-miniwidget",
683
708
  onPrimaryCtaClick: t,
684
- primaryCtaLabel: i.primary_cta,
685
- subTitle: i.sub_title,
709
+ primaryCtaLabel: r.primary_cta,
710
+ primaryCtaLabelAria: r.primary_cta_aria,
711
+ subTitle: r.sub_title,
686
712
  sx: n,
687
- title: i.mini_title,
688
- children: r ? /* @__PURE__ */ e(ft, {}) : /* @__PURE__ */ e(Me, { sx: { mx: 16 }, variant: "list" })
713
+ title: r.mini_title,
714
+ children: i ? /* @__PURE__ */ e(St, {}) : /* @__PURE__ */ e(ve, { sx: { mx: 16 }, variant: "list" })
689
715
  }
690
- ) : /* @__PURE__ */ e(oe, {});
716
+ ) : /* @__PURE__ */ e(se, {});
691
717
  }
692
- ), xt = C(() => {
693
- const { recurring: t } = R();
694
- return /* @__PURE__ */ a(l, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
695
- /* @__PURE__ */ e(je, { size: 32 }),
696
- /* @__PURE__ */ a(l, { children: [
697
- /* @__PURE__ */ e(X, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
698
- /* @__PURE__ */ e(X, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
718
+ ), wt = R(() => {
719
+ const { recurring: t } = y();
720
+ return /* @__PURE__ */ s(d, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
721
+ /* @__PURE__ */ e(Ke, { size: 32 }),
722
+ /* @__PURE__ */ s(d, { children: [
723
+ /* @__PURE__ */ e(Z, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
724
+ /* @__PURE__ */ e(Z, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
699
725
  ] })
700
726
  ] });
701
- }), bt = ({
727
+ }), It = ({
702
728
  amount: t,
703
729
  bgcolor: n,
704
- isLargeScreen: i,
730
+ isLargeScreen: r,
705
731
  isSmallScreen: o,
706
- label: r
707
- }) => /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
732
+ label: i
733
+ }) => /* @__PURE__ */ s(d, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
708
734
  /* @__PURE__ */ e(
709
- N,
735
+ O,
710
736
  {
711
737
  sx: {
712
738
  borderRadius: "2px",
@@ -716,25 +742,25 @@ const F = {
716
742
  }
717
743
  }
718
744
  ),
719
- /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
720
- !o && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: M(t, t === 0 || !i ? "0,0" : "0,0.00") }),
721
- /* @__PURE__ */ e(h, { variant: "caption", children: r })
745
+ /* @__PURE__ */ s(d, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
746
+ !o && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: E(t, t === 0 || !r ? "0,0" : "0,0.00") }),
747
+ /* @__PURE__ */ e(h, { variant: "caption", children: i })
722
748
  ] })
723
- ] }), yt = ({
749
+ ] }), Mt = ({
724
750
  upcomingRecurrences: t,
725
751
  logoSize: n = 32,
726
- maxLogos: i = 3
752
+ maxLogos: r = 3
727
753
  }) => {
728
- const o = (r) => r * (n / 2);
754
+ const o = (i) => i * (n / 2);
729
755
  return /* @__PURE__ */ e(
730
- N,
756
+ O,
731
757
  {
732
758
  sx: {
733
759
  position: "relative",
734
760
  width: 64
735
761
  },
736
- children: t.map((r, c) => c < i ? /* @__PURE__ */ e(
737
- N,
762
+ children: t.map((i, c) => c < r ? /* @__PURE__ */ e(
763
+ O,
738
764
  {
739
765
  sx: {
740
766
  borderRadius: "4px",
@@ -745,80 +771,80 @@ const F = {
745
771
  position: "absolute"
746
772
  },
747
773
  children: /* @__PURE__ */ e(
748
- ee,
774
+ te,
749
775
  {
750
- categoryGuid: r.categoryGuid || "",
751
- merchantGuid: r.merchantGuid || "",
776
+ categoryGuid: i.categoryGuid || "",
777
+ merchantGuid: i.merchantGuid || "",
752
778
  size: n
753
779
  }
754
780
  )
755
781
  },
756
- `${r.categoryGuid}-${r.merchantGuid}-${c}`
782
+ `${i.categoryGuid}-${i.merchantGuid}-${c}`
757
783
  ) : null)
758
784
  }
759
785
  );
760
- }, Ct = ({
786
+ }, Lt = ({
761
787
  upcomingRecurrences: t,
762
788
  maxLogos: n = 3
763
- }) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((i, o) => /* @__PURE__ */ e(
764
- ee,
789
+ }) => /* @__PURE__ */ e(d, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((r, o) => /* @__PURE__ */ e(
790
+ te,
765
791
  {
766
- categoryGuid: i.categoryGuid || "",
767
- merchantGuid: i.merchantGuid || ""
792
+ categoryGuid: r.categoryGuid || "",
793
+ merchantGuid: r.merchantGuid || ""
768
794
  },
769
- `${i.categoryGuid}-${i.merchantGuid}-${o}`
770
- )) }), Rt = C(() => {
771
- const t = te(), [n, { width: i }] = lt(), {
795
+ `${r.categoryGuid}-${r.merchantGuid}-${o}`
796
+ )) }), vt = R(() => {
797
+ const t = ne(), [n, { width: r }] = xt(), {
772
798
  upcomingRecurrences: o,
773
- expenseTotal: r,
799
+ expenseTotal: i,
774
800
  missedExpenseTotal: c,
775
801
  paidExpenseTotal: u,
776
802
  upcomingExpenseTotal: p
777
- } = _(), { 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(() => {
778
- const w = [
779
- { color: t.palette.success.main, percentage: `${u / r}` }
803
+ } = I(), { recurring: a } = y(), l = r <= 288, m = r >= 450, g = 32, b = o.length > 0, C = x.useMemo(() => E(i, i === 0 ? "0,0" : "0,0.00"), [i]), v = x.useMemo(() => {
804
+ const _ = [
805
+ { color: t.palette.success.main, percentage: `${u / i}` }
780
806
  ];
781
- return c && w.push({
807
+ return c && _.push({
782
808
  color: t.palette.error.main,
783
- percentage: `${c / r}`
784
- }), w;
809
+ percentage: `${c / i}`
810
+ }), _;
785
811
  }, [
786
812
  u,
787
- r,
813
+ i,
788
814
  c,
789
815
  t.palette.success.main,
790
816
  t.palette.error.main
791
- ]), A = () => b ? d ? /* @__PURE__ */ e(
792
- yt,
817
+ ]), M = () => b ? l ? /* @__PURE__ */ e(
818
+ Mt,
793
819
  {
794
820
  logoSize: g,
795
821
  maxLogos: 3,
796
822
  upcomingRecurrences: o.slice(0, 3)
797
823
  }
798
- ) : /* @__PURE__ */ e(Ct, { maxLogos: 3, upcomingRecurrences: o.slice(0, 3) }) : /* @__PURE__ */ e(l, { sx: { width: d ? 64 : 104 } }), j = [
824
+ ) : /* @__PURE__ */ e(Lt, { maxLogos: 3, upcomingRecurrences: o.slice(0, 3) }) : /* @__PURE__ */ e(d, { sx: { width: l ? 64 : 104 } }), f = [
799
825
  {
800
826
  amount: u,
801
827
  bgColor: "success.main",
802
- label: s.paid
828
+ label: a.paid
803
829
  },
804
830
  {
805
831
  amount: c,
806
832
  bgColor: "error.main",
807
- label: s.missed
833
+ label: a.missed
808
834
  },
809
835
  {
810
836
  amount: p,
811
- bgColor: "border.light",
812
- label: s.upcoming
837
+ bgColor: "neutral.light",
838
+ label: a.upcoming
813
839
  }
814
840
  ];
815
- return /* @__PURE__ */ a(B, { children: [
816
- /* @__PURE__ */ a(l, { ref: n, sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
817
- /* @__PURE__ */ a(
818
- l,
841
+ return /* @__PURE__ */ s(B, { children: [
842
+ /* @__PURE__ */ s(d, { ref: n, sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
843
+ /* @__PURE__ */ s(
844
+ d,
819
845
  {
820
846
  sx: [
821
- y.length >= 10 && d ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
847
+ C.length >= 10 && l ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
822
848
  {
823
849
  alignItems: "baseline",
824
850
  overflow: "hidden",
@@ -831,20 +857,20 @@ const F = {
831
857
  h,
832
858
  {
833
859
  sx: { width: "100%" },
834
- variant: y.length >= 10 && d ? "H3" : "H2",
835
- children: y
860
+ variant: C.length >= 10 && l ? "h3" : "h2",
861
+ children: C
836
862
  }
837
863
  ),
838
- /* @__PURE__ */ e(X, { sx: { pr: 12 }, variant: "XSmall", children: s.expected })
864
+ /* @__PURE__ */ e(Z, { sx: { pr: 12 }, variant: "caption", children: a.expected })
839
865
  ]
840
866
  }
841
867
  ),
842
- A()
868
+ M()
843
869
  ] }),
844
- /* @__PURE__ */ a(l, { sx: { pt: 12 }, children: [
845
- /* @__PURE__ */ e(Ie, { data: f }),
870
+ /* @__PURE__ */ s(d, { sx: { pt: 12 }, children: [
871
+ /* @__PURE__ */ e(Le, { data: v }),
846
872
  /* @__PURE__ */ e(
847
- l,
873
+ d,
848
874
  {
849
875
  sx: {
850
876
  alignItems: "center",
@@ -852,14 +878,14 @@ const F = {
852
878
  gap: 16,
853
879
  mt: 4
854
880
  },
855
- children: j.map((w, K) => /* @__PURE__ */ e(
856
- bt,
881
+ children: f.map((_, K) => /* @__PURE__ */ e(
882
+ It,
857
883
  {
858
- amount: w.amount,
859
- bgcolor: w.bgColor,
884
+ amount: _.amount,
885
+ bgcolor: _.bgColor,
860
886
  isLargeScreen: m,
861
- isSmallScreen: d,
862
- label: w.label
887
+ isSmallScreen: l,
888
+ label: _.label
863
889
  },
864
890
  `recurrence-legend-${K}`
865
891
  ))
@@ -867,51 +893,51 @@ const F = {
867
893
  )
868
894
  ] })
869
895
  ] });
870
- }), Sn = C(
896
+ }), Bn = R(
871
897
  ({ onCTAClick: t }) => {
872
- const { onEvent: n } = z(), { isInitialized: i, selectedAccountGuids: o } = H(), {
873
- loadRepeatingTransactionData: r,
898
+ const { onEvent: n } = U(), { isInitialized: r, selectedAccountGuids: o } = z(), {
899
+ loadRepeatingTransactionData: i,
874
900
  upcomingRecurrences: c,
875
901
  repeatingTransactions: u,
876
902
  setDateRange: p,
877
- isDataLoaded: s
878
- } = _(), { setFilter: d } = ne(), { recurring: m, budgets: g } = R();
903
+ isDataLoaded: a
904
+ } = I(), { setFilter: l } = re(), { recurring: m, budgets: g } = y();
879
905
  ae({
880
906
  widgetName: "RecurringTransactionsMicroWidget",
881
- isLoaded: s
907
+ isLoaded: a
882
908
  }), x.useEffect(() => {
883
- s || r().finally(() => {
884
- n(S.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
909
+ a || i().finally(() => {
910
+ n(L.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
885
911
  state: c.length > 0 ? "default" : "zeroState"
886
912
  });
887
913
  });
888
914
  }, []), x.useEffect(() => {
889
- i && (d({
890
- dateRange: { start: Q(J(), 90), end: Z() },
915
+ r && (l({
916
+ dateRange: { start: ee(Q(), 90), end: J() },
891
917
  accounts: o
892
- }), p({ start: G(/* @__PURE__ */ new Date()), end: W(/* @__PURE__ */ new Date()) }));
893
- }, [i, o]);
918
+ }), p({ start: k(/* @__PURE__ */ new Date()), end: H(/* @__PURE__ */ new Date()) }));
919
+ }, [r, o]);
894
920
  const b = () => {
895
921
  n(
896
- c.length > 0 ? S.RECURRING_TRANSACTIONS_CLICK_GET_STARTED : S.RECURRING_TRANSACTIONS_CLICK_VIEW_ALL
922
+ c.length > 0 ? L.RECURRING_TRANSACTIONS_CLICK_GET_STARTED : L.RECURRING_TRANSACTIONS_CLICK_VIEW_ALL
897
923
  ), t();
898
924
  };
899
- if (!i || !s) return /* @__PURE__ */ e(oe, { height: 100 });
900
- const y = !u?.length;
925
+ if (!r || !a) return /* @__PURE__ */ e(se, { height: 100 });
926
+ const C = !u?.length;
901
927
  return /* @__PURE__ */ e(
902
- dt,
928
+ bt,
903
929
  {
904
930
  className: "mx-recurring-transaction-microwidget",
905
- ctaLabel: y ? g.get_started_cta : m.primary_cta,
931
+ ctaLabel: C ? g.get_started_cta : m.primary_cta,
906
932
  onCTAClick: b,
907
933
  title: m.recurring_expenses,
908
- children: y ? /* @__PURE__ */ e(xt, {}) : /* @__PURE__ */ e(Rt, {})
934
+ children: C ? /* @__PURE__ */ e(wt, {}) : /* @__PURE__ */ e(vt, {})
909
935
  }
910
936
  );
911
937
  }
912
- ), In = C(
913
- ({ isOpen: t, onClose: n, selectedTab: i }) => {
914
- const { cashflow: o } = R();
938
+ ), Fn = R(
939
+ ({ isOpen: t, onClose: n, selectedTab: r }) => {
940
+ const { cashflow: o } = y();
915
941
  return /* @__PURE__ */ e(
916
942
  ie,
917
943
  {
@@ -919,20 +945,20 @@ const F = {
919
945
  isOpen: t,
920
946
  onClose: n,
921
947
  title: o.cashflow_settings,
922
- children: /* @__PURE__ */ e(Te, { defaultSelectedTab: i })
948
+ children: /* @__PURE__ */ e(_e, { defaultSelectedTab: r })
923
949
  }
924
950
  );
925
951
  }
926
952
  );
927
953
  export {
928
- Gn as AddRecurringTransactionDetails,
929
- Ln as ManageExpenses,
930
- On as ManageIncome,
931
- Te as RecurringSettings,
932
- In as RecurringSettingsDrawer,
933
- Sn as RecurringTransactionsMicroWidget,
934
- _n as RecurringTransactionsMiniWidget,
935
- En as RecurringTransactionsStore,
936
- wn as RecurringTransactionsWidget,
937
- kn as SelectTransaction
954
+ qn as AddRecurringTransactionDetails,
955
+ Yn as ManageExpenses,
956
+ Zn as ManageIncome,
957
+ _e as RecurringSettings,
958
+ Fn as RecurringSettingsDrawer,
959
+ Bn as RecurringTransactionsMicroWidget,
960
+ $n as RecurringTransactionsMiniWidget,
961
+ Kn as RecurringTransactionsStore,
962
+ Hn as RecurringTransactionsWidget,
963
+ Xn as SelectTransaction
938
964
  };