@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
@@ -0,0 +1,37 @@
1
+ import u from "react";
2
+ const h = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, m = {
3
+ EN_US: "en-us",
4
+ EN_CA: "en-ca",
5
+ FR: "fr",
6
+ FR_CA: "fr-ca",
7
+ ES: "es"
8
+ }, d = Object.values(m), b = (n, ...e) => {
9
+ if (!n) return "";
10
+ const s = e.some((a) => typeof a != "string"), o = [...n.matchAll(h)].reduce(
11
+ (a, p, f) => {
12
+ const c = [...a], t = p.groups;
13
+ if (t?.static && c.push(t.static), t?.dynamic) {
14
+ const l = t.dynamic.indexOf("{"), g = t.dynamic.substring(l + 1, t.dynamic.length - 1), r = Number(t.dynamic.substring(1, l));
15
+ if (u.isValidElement(e[r - 1])) {
16
+ const y = e[r - 1], E = u.cloneElement(y, {
17
+ key: `${g}-${f}`
18
+ });
19
+ c.push(E);
20
+ } else
21
+ c.push(e[r - 1]);
22
+ }
23
+ return t?.staticEnd && c.push(t.staticEnd), c;
24
+ },
25
+ []
26
+ );
27
+ return s ? o : o.join("");
28
+ }, w = (n, e, s, ...i) => !n || !e ? "" : b(s === 1 ? n : e, ...i), C = () => {
29
+ const n = m.EN_US, e = window?.app?.options?.language?.toLowerCase() ?? "", s = window.navigator.language.toLowerCase();
30
+ return e === "browser" && d.includes(s) ? s : d.includes(e) ? e : n;
31
+ };
32
+ export {
33
+ m as L,
34
+ w as a,
35
+ b,
36
+ C as g
37
+ };
@@ -2,59 +2,60 @@ import { jsxs as c, jsx as e, Fragment as k } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { observer as I } from "mobx-react-lite";
4
4
  import F from "@mui/material/Box";
5
- import O from "@mui/material/Divider";
6
- import H from "@mui/material/List";
5
+ import T from "@mui/material/Divider";
6
+ import Q from "@mui/material/List";
7
7
  import p from "@mui/material/Stack";
8
- import { MerchantLogo as Q, Text as S, P as G, InstitutionLogo as ie } from "@mxenabled/mxui";
9
- import se from "@mui/material/ListItem";
10
- import ce from "@mui/material/ListItemAvatar";
8
+ import { MerchantLogo as $, Text as S, P as G, InstitutionLogo as se } from "@mxenabled/mxui";
9
+ import ce from "@mui/material/ListItem";
10
+ import de from "@mui/material/ListItemAvatar";
11
11
  import le from "@mui/material/ListItemButton";
12
- import de from "@mui/material/ListItemText";
13
- import { F as d, S as M, D as z, g as $, R as T, e as _e } from "./RecurringTransactions-DlKYwpfK.mjs";
14
- import { subDays as X } from "date-fns/subDays";
12
+ import _e from "@mui/material/ListItemText";
13
+ import { S as M, D as z, g as H, c as X } from "./RecurringTransactions-BCJp-Nap.mjs";
14
+ import { subDays as Z } from "date-fns/subDays";
15
15
  import { startOfToday as E } from "date-fns/startOfToday";
16
16
  import { endOfMonth as ue } from "date-fns/endOfMonth";
17
17
  import { parseISO as me } from "date-fns/parseISO";
18
- import Z from "@mui/material/Button";
18
+ import J from "@mui/material/Button";
19
19
  import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
20
- import { T as J, u as fe, S as ge, a as Ce } from "./TransactionList-BDffKJMO.mjs";
21
- import { T as be } from "./TransactionDetails-Lvt9GCU5.mjs";
20
+ import { T as V, u as fe, S as ge, a as Ce } from "./StatusIndicator-4tWnjeKS.mjs";
21
+ import { T as be } from "./TransactionDetails-D1I1XEsT.mjs";
22
22
  import { addYears as j } from "date-fns/addYears";
23
23
  import { getDayOfYear as xe } from "date-fns/getDayOfYear";
24
24
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
25
25
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
26
26
  import { DatePicker as De } from "@mui/x-date-pickers";
27
27
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
28
- import { u as w, i as Y, g as P, b as Ae, h as V, o as Ie } from "./hooks-CBl85iRr.mjs";
29
- import { b as Re, f as ee } from "./NumberFormatting-DjTD0t3W.mjs";
30
- import { D as N } from "./Drawer-Bet2ZPJo.mjs";
31
- import { A as L } from "./Analytics-i5h6BxR1.mjs";
32
- import { D as Ee } from "./Dialog-jmgGw5WA.mjs";
33
- import { f as Te, D as Le } from "./DateFormats-Cs-NbEZ7.mjs";
34
- import { formatISO as Oe } from "date-fns/formatISO";
28
+ import { u as w, i as Y, g as P, b as Ae, h as ee, o as Ie } from "./hooks-BxkfR-Ff.mjs";
29
+ import { F as l, R as L } from "./RepeatingTransaction-DF4vJn_v.mjs";
30
+ import { b as Re, f as te } from "./NumberFormatting-QCaNwbjv.mjs";
31
+ import { D as N } from "./Drawer-Bbe4AMB1.mjs";
32
+ import { A as O } from "./Analytics-BYItVAe-.mjs";
33
+ import { f as Ee, D as Le } from "./DateFormats-BMpMrZpW.mjs";
34
+ import { D as Oe } from "./Dialog-Ck34yr-d.mjs";
35
+ import { formatISO as Te } from "date-fns/formatISO";
35
36
  import { fromUnixTime as ke } from "date-fns/fromUnixTime";
36
- import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
37
- import { h as Me } from "./DateUtil-CVXVMbjf.mjs";
38
- import { b as B } from "./Category-Ccoew_sA.mjs";
39
- import { T as te } from "./Transaction-C8QRYhYc.mjs";
40
- const ne = ({
37
+ import { S as Ne } from "./SearchBox-CwDgvWVJ.mjs";
38
+ import { h as Me } from "./DateUtil-wcYTmDRD.mjs";
39
+ import { b as q } from "./Category-CevNQ03n.mjs";
40
+ import { T as ne } from "./Transaction-Cn5_iFm0.mjs";
41
+ const re = ({
41
42
  frequency: n,
42
43
  firstDay: t,
43
44
  secondDay: o,
44
45
  onFrequencyChange: i,
45
46
  onFirstDayChange: s,
46
- onSecondDayChange: l
47
+ onSecondDayChange: d
47
48
  }) => {
48
49
  const { recurring: r } = w(), a = _.useMemo(
49
50
  () => [
50
- { id: d.EveryWeek, label: r.frequency_every_week },
51
- { id: d.EveryOtherWeek, label: r.frequency_every_other_week },
52
- { id: d.TwiceAMonth, label: r.frequency_twice_a_month },
53
- { id: d.EveryMonth, label: r.frequency_every_month },
54
- { id: d.EveryOtherMonth, label: r.frequency_every_other_month },
55
- { id: d.EveryQuarter, label: r.frequency_every_quarter },
56
- { id: d.EveryOtherQuarter, label: r.frequency_every_other_quarter },
57
- { id: d.EveryYear, label: r.frequency_every_year }
51
+ { id: l.EveryWeek, label: r.frequency_every_week },
52
+ { id: l.EveryOtherWeek, label: r.frequency_every_other_week },
53
+ { id: l.TwiceAMonth, label: r.frequency_twice_a_month },
54
+ { id: l.EveryMonth, label: r.frequency_every_month },
55
+ { id: l.EveryOtherMonth, label: r.frequency_every_other_month },
56
+ { id: l.EveryQuarter, label: r.frequency_every_quarter },
57
+ { id: l.EveryOtherQuarter, label: r.frequency_every_other_quarter },
58
+ { id: l.EveryYear, label: r.frequency_every_year }
58
59
  ],
59
60
  [r]
60
61
  ), m = [
@@ -70,7 +71,7 @@ const ne = ({
70
71
  label: Re(b + 1)
71
72
  }));
72
73
  h[30].label += ` (${r.last_day_of_month})`;
73
- const g = h.slice(0, 15), v = h.slice(14), C = n === d.EveryWeek || n === d.EveryOtherWeek, f = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, A = Se(E(), t), y = A < E() ? j(A, 1) : A, D = (b) => {
74
+ const g = h.slice(0, 15), v = h.slice(14), C = n === l.EveryWeek || n === l.EveryOtherWeek, f = n === l.TwiceAMonth || n === l.EveryMonth || n === l.EveryOtherMonth || n === l.EveryQuarter || n === l.EveryOtherQuarter, A = Se(E(), t), y = A < E() ? j(A, 1) : A, D = (b) => {
74
75
  b && s(xe(b));
75
76
  };
76
77
  return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
@@ -95,27 +96,27 @@ const ne = ({
95
96
  f && /* @__PURE__ */ e(
96
97
  M,
97
98
  {
98
- label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
99
+ label: n === l.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
99
100
  onChange: s,
100
- options: n === d.TwiceAMonth ? g : h,
101
+ options: n === l.TwiceAMonth ? g : h,
101
102
  value: t
102
103
  }
103
104
  ),
104
- n === d.TwiceAMonth && /* @__PURE__ */ e(
105
+ n === l.TwiceAMonth && /* @__PURE__ */ e(
105
106
  M,
106
107
  {
107
108
  label: r.second_day_of_the_month,
108
- onChange: l,
109
+ onChange: d,
109
110
  options: v,
110
111
  value: o || 0
111
112
  }
112
113
  ),
113
- n === d.EveryYear && /* @__PURE__ */ e(we, { dateAdapter: ve, children: /* @__PURE__ */ e(
114
+ n === l.EveryYear && /* @__PURE__ */ e(we, { dateAdapter: ve, children: /* @__PURE__ */ e(
114
115
  De,
115
116
  {
116
117
  disablePast: !0,
117
118
  label: r.next_payment_date,
118
- maxDate: X(j(E(), 1), 1),
119
+ maxDate: Z(j(E(), 1), 1),
119
120
  minDate: E(),
120
121
  onChange: D,
121
122
  value: y
@@ -123,15 +124,15 @@ const ne = ({
123
124
  ) })
124
125
  ] });
125
126
  }, Fe = I(({ repeatingTransaction: n }) => {
126
- const { recurring: t } = w(), { updateRepeatingTransaction: o } = Y(), { onEvent: i } = P(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, h] = _.useState(n.recurrence_day), [g, v] = _.useState(n.second_recurrence_day), C = async () => {
127
+ const { recurring: t } = w(), { updateRepeatingTransaction: o } = Y(), { onEvent: i } = P(), [s, d] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, h] = _.useState(n.recurrence_day), [g, v] = _.useState(n.second_recurrence_day), C = async () => {
127
128
  await o({
128
129
  ...n,
129
130
  recurrence_type: r,
130
131
  recurrence_day: m,
131
132
  second_recurrence_day: g
132
- }), l(!1);
133
+ }), d(!1);
133
134
  }, f = () => {
134
- l(!0), i(L.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
135
+ d(!0), i(O.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
135
136
  };
136
137
  return /* @__PURE__ */ c(k, { children: [
137
138
  /* @__PURE__ */ e(
@@ -140,7 +141,7 @@ const ne = ({
140
141
  iconName: "sync",
141
142
  label: t.activity_schedule,
142
143
  onClick: f,
143
- value: `${$(t, n, !0)}`
144
+ value: `${H(t, n, !0)}`
144
145
  }
145
146
  ),
146
147
  /* @__PURE__ */ e(
@@ -148,11 +149,11 @@ const ne = ({
148
149
  {
149
150
  ariaLabelClose: t.close_drawer_aria,
150
151
  isOpen: s,
151
- onClose: () => l(!1),
152
+ onClose: () => d(!1),
152
153
  onPrimaryAction: C,
153
154
  title: t.payment_schedule,
154
155
  children: /* @__PURE__ */ e(
155
- ne,
156
+ re,
156
157
  {
157
158
  firstDay: m,
158
159
  frequency: r,
@@ -167,26 +168,26 @@ const ne = ({
167
168
  ] });
168
169
  }), Ge = I(
169
170
  ({ onDeleted: n, recurringTransaction: t }) => {
170
- const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: l } = Y(), { setFilter: r, transactions: a } = V(), { amount: m, description: h, merchant_guid: g } = t, [v, C] = _.useState(!1), [f, A] = _.useState("");
171
+ const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: d } = Y(), { setFilter: r, transactions: a } = ee(), { amount: m, description: h, merchant_guid: g } = t, [v, C] = _.useState(!1), [f, A] = _.useState("");
171
172
  _.useEffect(() => {
172
173
  r({
173
174
  accounts: i,
174
- dateRange: { start: X(E(), 90), end: ue(E()) },
175
+ dateRange: { start: Z(E(), 90), end: ue(E()) },
175
176
  custom: (u) => u.repeating_transaction_guid === t.guid
176
177
  });
177
178
  }, [t]);
178
179
  const y = _.useMemo(
179
180
  () => a.find((u) => u.guid === f),
180
181
  [f, a]
181
- ), D = t.repeating_transaction_type === T.Income, b = async () => {
182
- await l(t.guid), n();
182
+ ), D = t.repeating_transaction_type === L.Income, b = async () => {
183
+ await d(t.guid), n();
183
184
  }, U = () => {
184
- C(!0), s(L.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
185
+ C(!0), s(O.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
185
186
  };
186
187
  return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
187
188
  /* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
188
189
  /* @__PURE__ */ e(
189
- Q,
190
+ $,
190
191
  {
191
192
  categoryGuid: y?.category_guid || "",
192
193
  merchantGuid: g,
@@ -195,16 +196,20 @@ const ne = ({
195
196
  }
196
197
  ),
197
198
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: h }),
198
- /* @__PURE__ */ c(G, { color: D ? "success.main" : "text.primary", sx: { my: 4 }, variant: "H1", children: [
199
+ /* @__PURE__ */ c(G, { color: D ? "success.main" : "text.primary", sx: { my: 4 }, variant: "h1", children: [
199
200
  D ? "+" : "",
200
- ee(m, "0,0.00")
201
+ te(m, "0,0.00")
201
202
  ] }),
202
- /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${Te(
203
- me(t.predicted_occurs_on),
203
+ /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${Ee(
204
+ X(
205
+ t.recurrence_type,
206
+ me(t.predicted_occurs_on),
207
+ t.recurrence_day
208
+ ),
204
209
  Le.MONTH_DAY_YEAR
205
210
  )}` })
206
211
  ] }),
207
- /* @__PURE__ */ c(H, { sx: { bgcolor: "background.paper" }, children: [
212
+ /* @__PURE__ */ c(Q, { sx: { bgcolor: "background.paper" }, children: [
208
213
  t.account && /* @__PURE__ */ c(k, { children: [
209
214
  /* @__PURE__ */ e(
210
215
  z,
@@ -214,7 +219,7 @@ const ne = ({
214
219
  value: t.account.displayName || ""
215
220
  }
216
221
  ),
217
- /* @__PURE__ */ e(O, { variant: "inset" })
222
+ /* @__PURE__ */ e(T, { variant: "inset" })
218
223
  ] }),
219
224
  y?.category && /* @__PURE__ */ c(k, { children: [
220
225
  /* @__PURE__ */ e(
@@ -225,13 +230,13 @@ const ne = ({
225
230
  value: y.category
226
231
  }
227
232
  ),
228
- /* @__PURE__ */ e(O, { variant: "inset" })
233
+ /* @__PURE__ */ e(T, { variant: "inset" })
229
234
  ] }),
230
235
  /* @__PURE__ */ e(Fe, { repeatingTransaction: t }),
231
- /* @__PURE__ */ e(O, {})
236
+ /* @__PURE__ */ e(T, {})
232
237
  ] }),
233
238
  /* @__PURE__ */ e(
234
- Z,
239
+ J,
235
240
  {
236
241
  color: "error",
237
242
  onClick: U,
@@ -241,8 +246,8 @@ const ne = ({
241
246
  children: D ? o.delete_income_title : o.delete_expense_title
242
247
  }
243
248
  ),
244
- /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
245
- /* @__PURE__ */ e(J, { height: "30dvh", onClick: A }),
249
+ /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "body1", children: o.paid_transactions }),
250
+ /* @__PURE__ */ e(V, { height: "30dvh", onClick: A }),
246
251
  /* @__PURE__ */ e(
247
252
  N,
248
253
  {
@@ -254,7 +259,7 @@ const ne = ({
254
259
  }
255
260
  ),
256
261
  /* @__PURE__ */ e(
257
- Ee,
262
+ Oe,
258
263
  {
259
264
  copy: {
260
265
  title: D ? o.delete_income_title : o.delete_expense_title,
@@ -271,27 +276,27 @@ const ne = ({
271
276
  ), Ye = I(
272
277
  ({ onClick: n = () => {
273
278
  }, repeatingTransaction: t }) => {
274
- const { recurring: o } = w(), [i, s] = _.useState(!1), l = _.useMemo(
279
+ const { recurring: o } = w(), [i, s] = _.useState(!1), d = _.useMemo(
275
280
  () => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
276
281
  [t]
277
- ), r = t.account?.displayName || "", a = t.repeating_transaction_type === T.Income, m = $(o, t, !0);
278
- return /* @__PURE__ */ c(se, { disableGutters: !0, disablePadding: !0, children: [
282
+ ), r = t.account?.displayName || "", a = t.repeating_transaction_type === L.Income, m = H(o, t, !0);
283
+ return /* @__PURE__ */ c(ce, { disableGutters: !0, disablePadding: !0, children: [
279
284
  /* @__PURE__ */ c(le, { onClick: () => {
280
285
  n(t), s(!0);
281
286
  }, children: [
282
- /* @__PURE__ */ e(ce, { children: /* @__PURE__ */ e(
283
- Q,
287
+ /* @__PURE__ */ e(de, { children: /* @__PURE__ */ e(
288
+ $,
284
289
  {
285
- categoryGuid: l,
290
+ categoryGuid: d,
286
291
  merchantGuid: t.merchant_guid
287
292
  }
288
293
  ) }),
289
- /* @__PURE__ */ e(de, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
294
+ /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
290
295
  /* @__PURE__ */ c(p, { direction: "column", sx: { width: "50%" }, children: [
291
296
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
292
297
  /* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
293
298
  t.account?.institution_guid && /* @__PURE__ */ e(
294
- ie,
299
+ se,
295
300
  {
296
301
  alt: r,
297
302
  institutionGuid: t.account?.institution_guid,
@@ -310,7 +315,7 @@ const ne = ({
310
315
  variant: "body1",
311
316
  children: [
312
317
  a ? "+" : "",
313
- ee(t.amount, "0,0.00")
318
+ te(t.amount, "0,0.00")
314
319
  ]
315
320
  }
316
321
  ),
@@ -337,7 +342,7 @@ const ne = ({
337
342
  ariaLabelClose: o.close_drawer_aria,
338
343
  isOpen: i,
339
344
  onClose: () => s(!1),
340
- title: t.repeating_transaction_type === T.Income ? o.income_details : o.expense_details,
345
+ title: t.repeating_transaction_type === L.Income ? o.income_details : o.expense_details,
341
346
  children: /* @__PURE__ */ e(
342
347
  Ge,
343
348
  {
@@ -356,7 +361,7 @@ const ne = ({
356
361
  onSearch: o,
357
362
  onSelected: i
358
363
  }) => {
359
- const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = fe();
364
+ const { recurring: s } = w(), { searchValue: d, setSearchValue: r } = fe();
360
365
  return /* @__PURE__ */ c(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
361
366
  t && /* @__PURE__ */ e(G, { sx: { mx: 24 }, children: t }),
362
367
  /* @__PURE__ */ e(
@@ -368,11 +373,11 @@ const ne = ({
368
373
  r(a), o(a);
369
374
  },
370
375
  placeholder: s.select_transaction_search_placeholder,
371
- searchValue: l
376
+ searchValue: d
372
377
  }
373
378
  ),
374
379
  /* @__PURE__ */ e(
375
- J,
380
+ V,
376
381
  {
377
382
  bgcolor: n,
378
383
  filter: (a) => !!a.merchant_guid,
@@ -390,7 +395,7 @@ const ne = ({
390
395
  secondDay: o,
391
396
  frequency: i,
392
397
  onFrequencyChange: s,
393
- onFirstDayChange: l,
398
+ onFirstDayChange: d,
394
399
  onSecondDayChange: r,
395
400
  transaction: a
396
401
  }) => {
@@ -401,13 +406,13 @@ const ne = ({
401
406
  /* @__PURE__ */ e(Ce, { transaction: a })
402
407
  ] }),
403
408
  /* @__PURE__ */ c(F, { children: [
404
- /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
409
+ /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "body1", children: m.payment_schedule }),
405
410
  /* @__PURE__ */ e(
406
- ne,
411
+ re,
407
412
  {
408
413
  firstDay: t,
409
414
  frequency: i,
410
- onFirstDayChange: l,
415
+ onFirstDayChange: d,
411
416
  onFrequencyChange: s,
412
417
  onSecondDayChange: r,
413
418
  secondDay: o
@@ -416,34 +421,34 @@ const ne = ({
416
421
  ] })
417
422
  ] });
418
423
  }
419
- ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === te.DEBIT, ze = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === te.CREDIT, Be = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, re = I(
424
+ ), B = (n) => n.top_level_category_guid !== q.INCOME && n.transaction_type === ne.DEBIT, ze = (n, t) => B(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === q.INCOME || n.top_level_category_guid === q.TRANSFER && n.transaction_type === ne.CREDIT, qe = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, oe = I(
420
425
  ({
421
426
  isIncome: n = !1,
422
427
  label: t,
423
428
  onAddRecurringTransaction: o = () => null
424
429
  }) => {
425
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = V(), { addRepeatingTransaction: a } = Y(), { user: m } = Ie(), [h, g] = _.useState(!1), [v, C] = _.useState(""), [f, A] = _.useState(d.EveryMonth), [y, D] = _.useState(1), [b, U] = _.useState(15), u = _.useMemo(
430
+ const { recurring: i } = w(), { filter: s, setFilter: d, transactions: r } = ee(), { addRepeatingTransaction: a } = Y(), { user: m } = Ie(), [h, g] = _.useState(!1), [v, C] = _.useState(""), [f, A] = _.useState(l.EveryMonth), [y, D] = _.useState(1), [b, U] = _.useState(15), u = _.useMemo(
426
431
  () => r.find((x) => x.guid === v),
427
432
  [v, r]
428
- ), oe = () => {
429
- g(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
430
- }, ae = async () => {
433
+ ), ae = () => {
434
+ g(!0), d(n ? { ...s, custom: W } : { ...s, custom: B });
435
+ }, ie = async () => {
431
436
  if (!u) {
432
437
  K();
433
438
  return;
434
439
  }
435
440
  o();
436
- const x = _e(f, ke(u.date), y), R = {
441
+ const x = X(f, ke(u.date), y), R = {
437
442
  account_guid: u.account_guid,
438
443
  amount: u.amount,
439
444
  created_by: 0,
440
445
  // User
441
446
  merchant_guid: u.merchant_guid,
442
447
  description: u.payee || u.description || u.feed_description,
443
- predicted_occurs_on: Oe(x, { representation: "date" }),
448
+ predicted_occurs_on: Te(x, { representation: "date" }),
444
449
  recurrence_day: y,
445
450
  recurrence_type: f,
446
- repeating_transaction_type: n ? T.Income : T.Bill,
451
+ repeating_transaction_type: n ? L.Income : L.Bill,
447
452
  second_recurrence_day: b,
448
453
  transaction_type: u.transaction_type,
449
454
  user_guid: m.guid
@@ -453,7 +458,7 @@ const ne = ({
453
458
  C(""), g(!1);
454
459
  };
455
460
  return /* @__PURE__ */ c(k, { children: [
456
- /* @__PURE__ */ e(Z, { onClick: oe, startIcon: /* @__PURE__ */ e(ye, { size: 24 }), variant: "contained", children: t }),
461
+ /* @__PURE__ */ e(J, { onClick: ae, startIcon: /* @__PURE__ */ e(ye, { size: 24 }), variant: "contained", children: t }),
457
462
  /* @__PURE__ */ e(
458
463
  N,
459
464
  {
@@ -466,9 +471,9 @@ const ne = ({
466
471
  {
467
472
  description: n ? i.add_income_description : i.add_expense_description,
468
473
  onSearch: (x) => {
469
- l({
474
+ d({
470
475
  ...s,
471
- custom: (R) => n ? x ? Be(R, x) : W(R) : x ? ze(R, x) : q(R)
476
+ custom: (R) => n ? x ? qe(R, x) : W(R) : x ? ze(R, x) : B(R)
472
477
  });
473
478
  },
474
479
  onSelected: (x) => C(x)
@@ -482,7 +487,7 @@ const ne = ({
482
487
  ariaLabelClose: i.close_drawer_aria,
483
488
  isOpen: !!v,
484
489
  onClose: () => C(""),
485
- onPrimaryAction: ae,
490
+ onPrimaryAction: ie,
486
491
  title: n ? i.income_details : i.expense_details,
487
492
  children: u && /* @__PURE__ */ e(
488
493
  Ue,
@@ -500,36 +505,36 @@ const ne = ({
500
505
  )
501
506
  ] });
502
507
  }
503
- ), qe = I(
508
+ ), Be = I(
504
509
  ({ zeroStateFor: n }) => {
505
- const { recurring: t } = w(), { onEvent: o } = P(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
510
+ const { recurring: t } = w(), { onEvent: o } = P(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, d = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
506
511
  return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
507
512
  /* @__PURE__ */ e(he, { size: 48 }),
508
513
  /* @__PURE__ */ e(G, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
509
- /* @__PURE__ */ e(G, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
514
+ /* @__PURE__ */ e(G, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: d }),
510
515
  /* @__PURE__ */ e(
511
- re,
516
+ oe,
512
517
  {
513
518
  isIncome: i,
514
519
  label: r,
515
520
  onAddRecurringTransaction: () => {
516
521
  o(
517
- i ? L.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : L.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
522
+ i ? O.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : O.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
518
523
  );
519
524
  }
520
525
  }
521
526
  )
522
527
  ] });
523
528
  }
524
- ), Et = I(({ forOverview: n = !1 }) => {
529
+ ), Lt = I(({ forOverview: n = !1 }) => {
525
530
  const { recurring: t } = w(), { detailedRepeatingTransactions: o } = Y(), { onEvent: i } = P(), s = (a) => {
526
- i(L.RECURRING_TRANSACTIONS_CLICK_INCOME, {
531
+ i(O.RECURRING_TRANSACTIONS_CLICK_INCOME, {
527
532
  repeating_transaction_guid: a.guid
528
533
  });
529
- }, l = () => {
530
- i(L.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
534
+ }, d = () => {
535
+ i(O.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
531
536
  }, r = o.filter(
532
- (a) => a.repeating_transaction_type === T.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
537
+ (a) => a.repeating_transaction_type === L.Income && (a.transactions.length > 0 || a.recurrence_type === l.EveryYear)
533
538
  );
534
539
  return /* @__PURE__ */ e(k, { children: r.length !== 0 ? /* @__PURE__ */ c(
535
540
  p,
@@ -539,18 +544,18 @@ const ne = ({
539
544
  maxHeight: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)"
540
545
  },
541
546
  children: [
542
- n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
543
- /* @__PURE__ */ e(F, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(H, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(_.Fragment, { children: [
547
+ n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "body2", children: t.income }),
548
+ /* @__PURE__ */ e(F, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(Q, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(_.Fragment, { children: [
544
549
  /* @__PURE__ */ e(Ye, { onClick: s, repeatingTransaction: a }),
545
550
  /* @__PURE__ */ e(
546
- O,
551
+ T,
547
552
  {
548
553
  variant: m < r.length - 1 ? "inset" : "fullWidth"
549
554
  }
550
555
  )
551
556
  ] }, a.guid)) }) }),
552
557
  /* @__PURE__ */ c(F, { children: [
553
- /* @__PURE__ */ e(O, {}),
558
+ /* @__PURE__ */ e(T, {}),
554
559
  /* @__PURE__ */ e(
555
560
  F,
556
561
  {
@@ -563,11 +568,11 @@ const ne = ({
563
568
  textAlign: "right"
564
569
  },
565
570
  children: /* @__PURE__ */ e(
566
- re,
571
+ oe,
567
572
  {
568
573
  isIncome: !0,
569
574
  label: t.add_income,
570
- onAddRecurringTransaction: l
575
+ onAddRecurringTransaction: d
571
576
  }
572
577
  )
573
578
  }
@@ -575,16 +580,16 @@ const ne = ({
575
580
  ] })
576
581
  ]
577
582
  }
578
- ) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
583
+ ) : /* @__PURE__ */ e(Be, { zeroStateFor: "income" }) });
579
584
  });
580
585
  export {
581
- re as A,
582
- Et as M,
586
+ oe as A,
587
+ Lt as M,
583
588
  Ye as R,
584
589
  Pe as S,
585
- qe as a,
590
+ Be as a,
586
591
  Ge as b,
587
592
  Ue as c,
588
593
  W as d,
589
- Be as i
594
+ qe as i
590
595
  };
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as m, runInAction as c } from "mobx";
2
- import { F as p, A as h } from "./Fetch-DecPFeGU.mjs";
2
+ import { F as p, A as h } from "./Fetch-B6tMJC1r.mjs";
3
3
  class i {
4
4
  fetchInstance;
5
5
  constructor(t, n, s) {
@@ -0,0 +1,45 @@
1
+ import { jsx as r, jsxs as p, Fragment as f } from "react/jsx-runtime";
2
+ import x from "@mui/material/Button";
3
+ import C from "@mui/material/Card";
4
+ import g from "@mui/material/CardContent";
5
+ import b from "@mui/material/CardHeader";
6
+ import { P as u, H3 as v } from "@mxenabled/mxui";
7
+ import { ChevronRight as W } from "@mxenabled/mx-icons";
8
+ import { u as M } from "./useDimensions-CeDR9V8N.mjs";
9
+ import { W as w } from "./hooks-BxkfR-Ff.mjs";
10
+ const H = ({
11
+ children: e,
12
+ className: o,
13
+ ctaLabel: n,
14
+ onCTAClick: a,
15
+ subHeader: t,
16
+ sx: s,
17
+ title: c,
18
+ variant: d = "borderless"
19
+ }) => {
20
+ const [m, { height: l, width: h }] = M(), i = /* @__PURE__ */ p(f, { children: [
21
+ /* @__PURE__ */ r(
22
+ b,
23
+ {
24
+ action: /* @__PURE__ */ r(
25
+ x,
26
+ {
27
+ endIcon: /* @__PURE__ */ r(W, { size: 20 }),
28
+ onClick: a,
29
+ size: "small",
30
+ variant: "text",
31
+ children: n
32
+ }
33
+ ),
34
+ subheader: t && /* @__PURE__ */ r(u, { sx: { color: "text.secondary" }, variant: "body2", children: t }),
35
+ sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
36
+ title: /* @__PURE__ */ r(v, { sx: { width: "calc(100% - 10px)" }, children: c })
37
+ }
38
+ ),
39
+ /* @__PURE__ */ r(g, { ref: m, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ r(w, { availableHeight: l, availableWidth: h, children: e }) })
40
+ ] });
41
+ return d === "borderless" ? i : /* @__PURE__ */ r(C, { className: o, sx: { alignItems: "center", p: 16, ...s }, children: i });
42
+ }, F = H;
43
+ export {
44
+ F as M
45
+ };