@mx-cartographer/experiences 6.26.18-alpha.mega3 → 6.26.18-alpha.mega4

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 (676) hide show
  1. package/dist/{common/constants/Account/index.es.js → Account-DM32_5k9.mjs} +4 -4
  2. package/dist/AccountDetailsContent-B_qRSB8l.mjs +677 -0
  3. package/dist/AccountDetailsHeader-CAm6ADMq.mjs +119 -0
  4. package/dist/{accounts/utils/AccountFields/index.es.js → AccountFields-Bb4pds0q.mjs} +17 -18
  5. package/dist/AccountListItem-G7iAesaO.mjs +90 -0
  6. package/dist/{accounts/stores/AccountStore/index.es.js → AccountStore-RSanus_m.mjs} +50 -24
  7. package/dist/Accounts-BfAQRG8R.mjs +9 -0
  8. package/dist/BeatApi-DLu87ijw.mjs +21 -0
  9. package/dist/{microinsights/utils/beatUtils/index.es.js → BeatStore-By4aGoRM.mjs} +36 -6
  10. package/dist/BudgetUtil-DcqclhiQ.mjs +101 -0
  11. package/dist/CashflowStore-D9Dpuz7X.mjs +91 -0
  12. package/dist/{common/constants/Category/index.es.js → Category-5S6uwuXz.mjs} +7 -7
  13. package/dist/CategorySelectorDrawer-DgrePTRg.mjs +397 -0
  14. package/dist/{categories/stores/CategoryStore/index.es.js → CategoryStore-B5EW6I1d.mjs} +77 -29
  15. package/dist/{categories/util/CategoryUtil/index.es.js → CategoryUtil-DRyruNgi.mjs} +22 -22
  16. package/dist/ConnectDrawer-DPnfeIfn.mjs +508 -0
  17. package/dist/ConnectionsDrawer-BCzpuNsK.mjs +52 -0
  18. package/dist/{common/components/CurrencyInput/index.es.js → CurrencyInput-DzsPiUsU.mjs} +24 -25
  19. package/dist/CurrencyText-YUhH2caW.mjs +20 -0
  20. package/dist/DateUtil-BcuH7ErC.mjs +48 -0
  21. package/dist/DebtsStore-C6VcBnpG.mjs +60 -0
  22. package/dist/Dialog-CWW597AF.mjs +123 -0
  23. package/dist/{common/components/charts/Donut/index.es.js → Donut-1UMNcG67.mjs} +11 -11
  24. package/dist/Drawer-kEE73B87.mjs +113 -0
  25. package/dist/{common/components/EmptyState/index.es.js → EmptyState-Dcb-o2tl.mjs} +1 -1
  26. package/dist/Fetch-CkFKy79O.mjs +116 -0
  27. package/dist/FinstrongStore-mkALvztw.mjs +101 -0
  28. package/dist/GoalStore-DyCr4wNc.mjs +263 -0
  29. package/dist/{trends/components/TrendsTable/HeaderCell/index.es.js → HeaderCell-DjuifqHJ.mjs} +1 -1
  30. package/dist/{help/constants/Help/index.es.js → Help-DhcC-C05.mjs} +27 -6
  31. package/dist/Help-toqAK5eD.mjs +3173 -0
  32. package/dist/{common/components/IconBacking/index.es.js → IconBacking-B9oC6uL2.mjs} +10 -10
  33. package/dist/InvestmentUtil-jOyOgzIB.mjs +134 -0
  34. package/dist/LineChart-CQWu5KoO.mjs +403 -0
  35. package/dist/{common/components/ListItemAction/index.es.js → ListItemAction-Df3OPMOW.mjs} +18 -18
  36. package/dist/Loader-Dp1P2gNw.mjs +14 -0
  37. package/dist/{common/utils/Localization/index.es.js → Localization-2MODESHW.mjs} +8 -8
  38. package/dist/ManageIncome-BVt_XQbo.mjs +535 -0
  39. package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
  40. package/dist/{common/components/MicroWidgetContainer/index.es.js → MicroWidgetContainer-DaLW43tE.mjs} +11 -11
  41. package/dist/{common/components/MiniWidgetContainer/index.es.js → MiniWidgetContainer-BcNPxZt2.mjs} +11 -11
  42. package/dist/NetWorthStore-DE8CQBMM.mjs +150 -0
  43. package/dist/Notification-AMGWM1Al.mjs +78 -0
  44. package/dist/NotificationSettings-CPZN0l8X.mjs +667 -0
  45. package/dist/NotificationStore-DHtSGySy.mjs +67 -0
  46. package/dist/NumberFormatting-CtWHhyBX.mjs +40 -0
  47. package/dist/OriginalBalanceAction-s9sUxofR.mjs +115 -0
  48. package/dist/RecurringSettings-DIEsympT.mjs +57 -0
  49. package/dist/{recurringtransactions/stores/RecurringTransactionsStore/index.es.js → RecurringTransactionsStore-BKLD3OWo.mjs} +65 -49
  50. package/dist/RepeatingTransaction-BPWfaB3f.mjs +282 -0
  51. package/dist/{common/components/SearchBox/index.es.js → SearchBox-B2_zLv8-.mjs} +12 -12
  52. package/dist/SettingsStore-CE7jDVFL.mjs +265 -0
  53. package/dist/{common/components/donuts/SingleSegmentDonut/index.es.js → SingleSegmentDonut-BgbLgwHi.mjs} +27 -26
  54. package/dist/SpendingData-ByFCw95X.mjs +53 -0
  55. package/dist/{common/components/charts/StatusBar/index.es.js → StatusBar-BK_uYHAB.mjs} +1 -1
  56. package/dist/{common/components/TabContentContainer/index.es.js → TabContentContainer-j01JYR_7.mjs} +1 -1
  57. package/dist/Transaction-C-5-Iuab.mjs +312 -0
  58. package/dist/{transactions/api/TransactionApi/index.es.js → TransactionApi-DbbcjI2L.mjs} +4 -5
  59. package/dist/TransactionDetails-B5qfs9Zh.mjs +1283 -0
  60. package/dist/TransactionStore-BWi6_2Ny.mjs +669 -0
  61. package/dist/TrendsStore-Borh98aN.mjs +448 -0
  62. package/dist/ViewMoreMicroCard-CAPFNz-J.mjs +1959 -0
  63. package/dist/WidgetContainer-CmGNZW0M.mjs +548 -0
  64. package/dist/accounts/index.es.js +750 -24
  65. package/dist/analytics/index.es.js +169 -2
  66. package/dist/budgets/index.es.js +1068 -4
  67. package/dist/cashflow/index.es.js +1096 -10
  68. package/dist/categories/index.es.js +7 -10
  69. package/dist/common/index.es.js +1449 -232
  70. package/dist/dashboard/index.es.js +179 -4
  71. package/dist/debts/index.es.js +1458 -8
  72. package/dist/{transactions/utils/exportTransactionsToCSV/index.es.js → exportTransactionsToCSV-j4g8bdVZ.mjs} +9 -9
  73. package/dist/finstrong/index.es.js +1453 -12
  74. package/dist/goals/index.es.js +1207 -8
  75. package/dist/help/index.es.js +12 -4
  76. package/dist/hooks-ClhFlg78.mjs +71 -0
  77. package/dist/insights/index.es.js +1 -1
  78. package/dist/investments/index.es.js +1636 -2
  79. package/dist/merchants/index.es.js +77 -4
  80. package/dist/microinsights/index.es.js +13 -25
  81. package/dist/networth/index.es.js +540 -12
  82. package/dist/notifications/index.es.js +190 -10
  83. package/dist/recurringtransactions/index.es.js +877 -18
  84. package/dist/settings/index.es.js +877 -27
  85. package/dist/spending/index.es.js +568 -4
  86. package/dist/transactions/index.es.js +585 -25
  87. package/dist/trends/index.es.js +1101 -10
  88. package/dist/useCombineEvents-DaDBSR_1.mjs +92 -0
  89. package/dist/{common/hooks/useDimensions/index.es.js → useDimensions-27p2evRx.mjs} +1 -1
  90. package/dist/{common/hooks/useScreenSize/index.es.js → useScreenSize-B6JyS_Lj.mjs} +1 -1
  91. package/package.json +1 -1
  92. package/dist/accounts/AccountsMiniWidget/index.es.js +0 -45
  93. package/dist/accounts/AccountsWidget/index.es.js +0 -67
  94. package/dist/accounts/ConnectMiniWidget/index.es.js +0 -41
  95. package/dist/accounts/api/AccountApi/index.es.js +0 -20
  96. package/dist/accounts/components/AccountListItem/index.es.js +0 -84
  97. package/dist/accounts/components/AccountsList/index.es.js +0 -164
  98. package/dist/accounts/components/ConnectImage/index.es.js +0 -444
  99. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +0 -27
  100. package/dist/accounts/components/ConnectStatus/index.es.js +0 -37
  101. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +0 -12
  102. package/dist/accounts/components/ConnectionsDrawer/index.es.js +0 -54
  103. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +0 -134
  104. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +0 -21
  105. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +0 -103
  106. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +0 -120
  107. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +0 -58
  108. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +0 -43
  109. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +0 -50
  110. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +0 -47
  111. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +0 -20
  112. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +0 -74
  113. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +0 -37
  114. package/dist/accounts/constants/Accounts/index.es.js +0 -5
  115. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +0 -11
  116. package/dist/accounts/hooks/useUiStore/index.es.js +0 -11
  117. package/dist/accounts/stores/UiStore/index.es.js +0 -15
  118. package/dist/accounts/utils/Accounts/index.es.js +0 -9
  119. package/dist/accounts/utils/getConnectionMessages/index.es.js +0 -162
  120. package/dist/analytics/SurveyMiniWidget/index.es.js +0 -101
  121. package/dist/analytics/components/OpenTextField/index.es.js +0 -23
  122. package/dist/analytics/components/RatingScale/index.es.js +0 -68
  123. package/dist/analytics/stores/AnalyticsStore/index.es.js +0 -54
  124. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +0 -71
  125. package/dist/budgets/BubbleBudgetsWidget/index.es.js +0 -139
  126. package/dist/budgets/api/BudgetsApi/index.es.js +0 -26
  127. package/dist/budgets/components/AddBudgets/index.es.js +0 -30
  128. package/dist/budgets/components/BubbleBudgets/index.es.js +0 -61
  129. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +0 -97
  130. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +0 -27
  131. package/dist/budgets/components/BubbleChart/index.es.js +0 -22
  132. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +0 -95
  133. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +0 -42
  134. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +0 -36
  135. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +0 -16
  136. package/dist/budgets/components/BudgetList/index.es.js +0 -30
  137. package/dist/budgets/components/BudgetsEmptyState/index.es.js +0 -85
  138. package/dist/budgets/components/Overview/index.es.js +0 -105
  139. package/dist/budgets/components/addbudget/Header/index.es.js +0 -28
  140. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +0 -30
  141. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +0 -39
  142. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +0 -46
  143. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +0 -73
  144. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +0 -75
  145. package/dist/budgets/components/budgetdetails/Header/index.es.js +0 -31
  146. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +0 -102
  147. package/dist/budgets/components/shared/BudgetAmount/index.es.js +0 -37
  148. package/dist/budgets/store/BudgetsStore/index.es.js +0 -139
  149. package/dist/budgets/utils/BubblesSVG/index.es.js +0 -51
  150. package/dist/budgets/utils/BudgetUtil/index.es.js +0 -70
  151. package/dist/cashflow/CashflowMiniWidget/index.es.js +0 -27
  152. package/dist/cashflow/CashflowOnboarding/index.es.js +0 -220
  153. package/dist/cashflow/CashflowWidget/index.es.js +0 -91
  154. package/dist/cashflow/api/CashflowApi/index.es.js +0 -25
  155. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +0 -32
  156. package/dist/cashflow/components/CashflowContent/index.es.js +0 -61
  157. package/dist/cashflow/components/CashflowHeading/index.es.js +0 -113
  158. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +0 -146
  159. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +0 -38
  160. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +0 -31
  161. package/dist/cashflow/components/DetailsFooter/index.es.js +0 -22
  162. package/dist/cashflow/components/DetailsTab/index.es.js +0 -92
  163. package/dist/cashflow/components/RemainingCash/index.es.js +0 -27
  164. package/dist/cashflow/components/SummaryTab/index.es.js +0 -258
  165. package/dist/cashflow/components/onboarding/StepOne/index.es.js +0 -82
  166. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +0 -17
  167. package/dist/cashflow/constants/CashflowImages/index.es.js +0 -7
  168. package/dist/cashflow/context/hooks/index.es.js +0 -11
  169. package/dist/cashflow/stores/CashflowStore/index.es.js +0 -19
  170. package/dist/cashflow/stores/UiStore/index.es.js +0 -38
  171. package/dist/cashflow/util/Filters/index.es.js +0 -7
  172. package/dist/categories/components/CategoryList/index.es.js +0 -38
  173. package/dist/categories/components/CategoryRow/index.es.js +0 -58
  174. package/dist/categories/components/CategorySelector/index.es.js +0 -48
  175. package/dist/categories/components/CategorySelectorDrawer/index.es.js +0 -30
  176. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +0 -40
  177. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +0 -66
  178. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +0 -30
  179. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +0 -29
  180. package/dist/categories/components/SubcategoryList/index.es.js +0 -39
  181. package/dist/categories/components/SubcategoryRow/index.es.js +0 -103
  182. package/dist/categories/constants/OnClickEvents/index.es.js +0 -16
  183. package/dist/categories/context/hooks/index.es.js +0 -11
  184. package/dist/categories/stores/UiStore/index.es.js +0 -27
  185. package/dist/common/api/AnalyticsApi/index.es.js +0 -34
  186. package/dist/common/api/AppDataApi/index.es.js +0 -12
  187. package/dist/common/api/BannerApi/index.es.js +0 -21
  188. package/dist/common/api/BeatApi/index.es.js +0 -22
  189. package/dist/common/api/CategoryApi/index.es.js +0 -30
  190. package/dist/common/api/GlobalCopyApi/index.es.js +0 -12
  191. package/dist/common/api/LocalizedCopyApi/index.es.js +0 -13
  192. package/dist/common/api/NotificationApi/index.es.js +0 -21
  193. package/dist/common/api/ScheduledPaymentsApi/index.es.js +0 -20
  194. package/dist/common/api/UserApi/index.es.js +0 -14
  195. package/dist/common/api/WidgetApi/index.es.js +0 -12
  196. package/dist/common/components/Banner/index.es.js +0 -49
  197. package/dist/common/components/ConnectCard/index.es.js +0 -56
  198. package/dist/common/components/ConnectDrawer/index.es.js +0 -58
  199. package/dist/common/components/CurrencyText/index.es.js +0 -20
  200. package/dist/common/components/DataRow/index.es.js +0 -29
  201. package/dist/common/components/ErrorBoundary/index.es.js +0 -24
  202. package/dist/common/components/InformationTooltip/index.es.js +0 -41
  203. package/dist/common/components/ListItemRow/index.es.js +0 -67
  204. package/dist/common/components/ListItemWrapper/index.es.js +0 -32
  205. package/dist/common/components/Loader/index.es.js +0 -14
  206. package/dist/common/components/ResponsiveButton/index.es.js +0 -45
  207. package/dist/common/components/Select/index.es.js +0 -25
  208. package/dist/common/components/SelectionBox/index.es.js +0 -48
  209. package/dist/common/components/SubheaderRow/index.es.js +0 -10
  210. package/dist/common/components/WidgetContainer/index.es.js +0 -195
  211. package/dist/common/components/accountfilter/AccountFilter/index.es.js +0 -93
  212. package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +0 -222
  213. package/dist/common/components/addaccounts/AddAccounts/index.es.js +0 -43
  214. package/dist/common/components/barchart/Bar/index.es.js +0 -79
  215. package/dist/common/components/barchart/BarChart/index.es.js +0 -70
  216. package/dist/common/components/barchart/BarColumn/index.es.js +0 -86
  217. package/dist/common/components/barchart/Legend/index.es.js +0 -45
  218. package/dist/common/components/barchart/Util/index.es.js +0 -11
  219. package/dist/common/components/calendar/Calendar/index.es.js +0 -131
  220. package/dist/common/components/calendar/Day/index.es.js +0 -96
  221. package/dist/common/components/calendar/Header/index.es.js +0 -32
  222. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +0 -64
  223. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +0 -22
  224. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +0 -65
  225. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +0 -73
  226. package/dist/common/components/charts/LineChart/index.es.js +0 -208
  227. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +0 -24
  228. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +0 -69
  229. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +0 -70
  230. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +0 -22
  231. package/dist/common/components/charts/StackedLineChart/index.es.js +0 -222
  232. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +0 -254
  233. package/dist/common/components/dialog/Dialog/index.es.js +0 -61
  234. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +0 -60
  235. package/dist/common/components/drawer/Drawer/index.es.js +0 -71
  236. package/dist/common/components/drawer/Header/index.es.js +0 -51
  237. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +0 -36
  238. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +0 -42
  239. package/dist/common/components/listitems/ToggleListItem/index.es.js +0 -38
  240. package/dist/common/constants/Analytics/index.es.js +0 -117
  241. package/dist/common/constants/ApiEndpoints/index.es.js +0 -50
  242. package/dist/common/constants/Connect/index.es.js +0 -5
  243. package/dist/common/constants/DateFormats/index.es.js +0 -65
  244. package/dist/common/constants/DefaultConfig/index.es.js +0 -105
  245. package/dist/common/constants/Donut/index.es.js +0 -5
  246. package/dist/common/constants/FinStrong/index.es.js +0 -31
  247. package/dist/common/constants/Numbers/index.es.js +0 -6
  248. package/dist/common/constants/ScheduledPayment/index.es.js +0 -15
  249. package/dist/common/constants/Sizes/index.es.js +0 -6
  250. package/dist/common/constants/SpendingPlan/index.es.js +0 -11
  251. package/dist/common/constants/Table/index.es.js +0 -16
  252. package/dist/common/context/GlobalDataProvider/index.es.js +0 -23
  253. package/dist/common/context/WidgetContainerProvider/index.es.js +0 -17
  254. package/dist/common/context/hooks/index.es.js +0 -44
  255. package/dist/common/hooks/useCombineEvents/index.es.js +0 -20
  256. package/dist/common/hooks/useInsightsEnabled/index.es.js +0 -11
  257. package/dist/common/hooks/usePrevious/index.es.js +0 -11
  258. package/dist/common/stores/AppDataStore/index.es.js +0 -57
  259. package/dist/common/stores/ConnectStore/index.es.js +0 -15
  260. package/dist/common/stores/GlobalCopyStore/index.es.js +0 -35
  261. package/dist/common/stores/GlobalStore/index.es.js +0 -90
  262. package/dist/common/stores/GlobalUiStore/index.es.js +0 -54
  263. package/dist/common/stores/UserStore/index.es.js +0 -50
  264. package/dist/common/types/Account/index.es.js +0 -118
  265. package/dist/common/types/Beat/index.es.js +0 -4
  266. package/dist/common/types/Expense/index.es.js +0 -5
  267. package/dist/common/types/Goal/index.es.js +0 -6
  268. package/dist/common/types/Notification/index.es.js +0 -7
  269. package/dist/common/types/RepeatingTransaction/index.es.js +0 -7
  270. package/dist/common/types/ScreenSize/index.es.js +0 -4
  271. package/dist/common/types/Transaction/index.es.js +0 -5
  272. package/dist/common/utils/AccountFilter/index.es.js +0 -13
  273. package/dist/common/utils/Analytics/index.es.js +0 -36
  274. package/dist/common/utils/Categories/index.es.js +0 -37
  275. package/dist/common/utils/DateUtil/index.es.js +0 -48
  276. package/dist/common/utils/Fetch/index.es.js +0 -69
  277. package/dist/common/utils/NumberFormatting/index.es.js +0 -38
  278. package/dist/common/utils/PostMessage/index.es.js +0 -19
  279. package/dist/common/utils/Theme/index.es.js +0 -136
  280. package/dist/dashboard/Dashboard/index.es.js +0 -47
  281. package/dist/dashboard/Greeting/index.es.js +0 -71
  282. package/dist/dashboard/constants/Dashboard/index.es.js +0 -4
  283. package/dist/debts/DebtsWidget/index.es.js +0 -111
  284. package/dist/debts/components/DebtDrawer/index.es.js +0 -28
  285. package/dist/debts/components/DebtsChart/index.es.js +0 -134
  286. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +0 -24
  287. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +0 -32
  288. package/dist/debts/components/DebtsTable/index.es.js +0 -174
  289. package/dist/debts/components/PaydownDrawer/index.es.js +0 -21
  290. package/dist/debts/components/SnowballCard/index.es.js +0 -65
  291. package/dist/debts/components/SnowballDrawer/index.es.js +0 -374
  292. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +0 -28
  293. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +0 -46
  294. package/dist/debts/components/actions/InterestRateAction/index.es.js +0 -42
  295. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +0 -44
  296. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +0 -44
  297. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +0 -41
  298. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +0 -51
  299. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +0 -38
  300. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +0 -80
  301. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +0 -61
  302. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +0 -25
  303. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +0 -31
  304. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +0 -34
  305. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +0 -74
  306. package/dist/debts/constants/index/index.es.js +0 -4
  307. package/dist/debts/hooks/useDebtsUiStore/index.es.js +0 -11
  308. package/dist/debts/store/DebtsStore/index.es.js +0 -20
  309. package/dist/debts/store/DebtsUiStore/index.es.js +0 -23
  310. package/dist/debts/utils/DebtStore/index.es.js +0 -26
  311. package/dist/debts/utils/DebtsChart/index.es.js +0 -13
  312. package/dist/debts/utils/DebtsTable/index.es.js +0 -15
  313. package/dist/debts/utils/DebtsWidget/index.es.js +0 -42
  314. package/dist/debts/utils/SnowballCard/index.es.js +0 -37
  315. package/dist/debts/utils/shared/index.es.js +0 -21
  316. package/dist/finstrong/FinancialStrengthCard/index.es.js +0 -113
  317. package/dist/finstrong/FinstrongWidget/index.es.js +0 -141
  318. package/dist/finstrong/api/FinstrongApi/index.es.js +0 -15
  319. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +0 -76
  320. package/dist/finstrong/components/CreditScoreGraph/index.es.js +0 -75
  321. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +0 -30
  322. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +0 -63
  323. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +0 -49
  324. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +0 -63
  325. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +0 -58
  326. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +0 -58
  327. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +0 -68
  328. package/dist/finstrong/components/ManageCreditScore/index.es.js +0 -49
  329. package/dist/finstrong/components/ManageDOB/index.es.js +0 -62
  330. package/dist/finstrong/components/MissingData/index.es.js +0 -38
  331. package/dist/finstrong/components/ProfileDrawer/index.es.js +0 -107
  332. package/dist/finstrong/components/ProfileList/index.es.js +0 -56
  333. package/dist/finstrong/components/ProfileProgressBar/index.es.js +0 -26
  334. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +0 -69
  335. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +0 -63
  336. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +0 -190
  337. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +0 -106
  338. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +0 -20
  339. package/dist/finstrong/stores/FinstrongStore/index.es.js +0 -81
  340. package/dist/finstrong/util/finstrongUtils/index.es.js +0 -108
  341. package/dist/finstrong/utils/Finstrong/index.es.js +0 -13
  342. package/dist/goals/GoalsMicroWidget/index.es.js +0 -51
  343. package/dist/goals/GoalsWidget/index.es.js +0 -138
  344. package/dist/goals/api/GoalApi/index.es.js +0 -26
  345. package/dist/goals/components/AccountSelectionDrawer/index.es.js +0 -73
  346. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +0 -51
  347. package/dist/goals/components/AddGoal/index.es.js +0 -56
  348. package/dist/goals/components/GoalDetails/index.es.js +0 -69
  349. package/dist/goals/components/GoalDetailsDrawer/index.es.js +0 -82
  350. package/dist/goals/components/GoalList/index.es.js +0 -87
  351. package/dist/goals/components/GoalStatusCard/index.es.js +0 -59
  352. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +0 -35
  353. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +0 -47
  354. package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +0 -118
  355. package/dist/goals/components/ManageGoals/index.es.js +0 -74
  356. package/dist/goals/components/TabTitle/index.es.js +0 -12
  357. package/dist/goals/components/actions/AccountAction/index.es.js +0 -46
  358. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +0 -66
  359. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +0 -46
  360. package/dist/goals/components/actions/BirthdayAction/index.es.js +0 -42
  361. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +0 -91
  362. package/dist/goals/components/actions/ContributionAction/index.es.js +0 -46
  363. package/dist/goals/components/actions/GoalNameAction/index.es.js +0 -42
  364. package/dist/goals/components/actions/InterestRateAction/index.es.js +0 -44
  365. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +0 -45
  366. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +0 -45
  367. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +0 -43
  368. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +0 -42
  369. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +0 -31
  370. package/dist/goals/stores/GoalStore/index.es.js +0 -184
  371. package/dist/goals/util/GoalsUtil/index.es.js +0 -98
  372. package/dist/help/HelpWidget/index.es.js +0 -13
  373. package/dist/help/api/HelpApi/index.es.js +0 -12
  374. package/dist/help/components/Help/index.es.js +0 -45
  375. package/dist/help/components/HelpContent/index.es.js +0 -32
  376. package/dist/help/components/HelpList/index.es.js +0 -118
  377. package/dist/help/components/content/BottomImageContent/index.es.js +0 -50
  378. package/dist/help/components/content/ContentItem/index.es.js +0 -21
  379. package/dist/help/components/content/Header/index.es.js +0 -62
  380. package/dist/help/components/content/LeftImageContent/index.es.js +0 -50
  381. package/dist/help/components/content/NoImageContent/index.es.js +0 -14
  382. package/dist/help/components/content/RightImageContent/index.es.js +0 -48
  383. package/dist/help/components/content/TopImageContent/index.es.js +0 -50
  384. package/dist/help/components/content/section/Accounts/index.es.js +0 -249
  385. package/dist/help/components/content/section/Budgets/index.es.js +0 -102
  386. package/dist/help/components/content/section/CashFlow/index.es.js +0 -71
  387. package/dist/help/components/content/section/Debts/index.es.js +0 -252
  388. package/dist/help/components/content/section/General/index.es.js +0 -163
  389. package/dist/help/components/content/section/Goals/index.es.js +0 -195
  390. package/dist/help/components/content/section/Insights/index.es.js +0 -136
  391. package/dist/help/components/content/section/Investments/index.es.js +0 -71
  392. package/dist/help/components/content/section/Mobile/index.es.js +0 -85
  393. package/dist/help/components/content/section/NetWorth/index.es.js +0 -142
  394. package/dist/help/components/content/section/Notifications/index.es.js +0 -120
  395. package/dist/help/components/content/section/RecurringTransactions/index.es.js +0 -104
  396. package/dist/help/components/content/section/Spending/index.es.js +0 -112
  397. package/dist/help/components/content/section/Transactions/index.es.js +0 -389
  398. package/dist/help/components/content/section/Trends/index.es.js +0 -83
  399. package/dist/help/components/content/section/index/index.es.js +0 -35
  400. package/dist/help/components/requestsupport/ContactSupport/index.es.js +0 -99
  401. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +0 -82
  402. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +0 -95
  403. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +0 -50
  404. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +0 -22
  405. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +0 -30
  406. package/dist/help/components/requestsupport/RequestSupport/index.es.js +0 -179
  407. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +0 -26
  408. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +0 -39
  409. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +0 -75
  410. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +0 -29
  411. package/dist/help/constants/HelpImages/index.es.js +0 -47
  412. package/dist/help/store/HelpStore/index.es.js +0 -42
  413. package/dist/help/utils/getAccessibleHelpCategories/index.es.js +0 -21
  414. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +0 -14
  415. package/dist/insights/store/BeatStore/index.es.js +0 -35
  416. package/dist/investments/InvestmentsWidget/index.es.js +0 -107
  417. package/dist/investments/api/HoldingApi/index.es.js +0 -13
  418. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +0 -126
  419. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +0 -67
  420. package/dist/investments/components/Allocation/index.es.js +0 -67
  421. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +0 -134
  422. package/dist/investments/components/Analysis/index.es.js +0 -169
  423. package/dist/investments/components/AnalysisDetails/index.es.js +0 -81
  424. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +0 -52
  425. package/dist/investments/components/HeaderCell/index.es.js +0 -11
  426. package/dist/investments/components/HoldingDrawer/index.es.js +0 -322
  427. package/dist/investments/components/HoldingTable/index.es.js +0 -183
  428. package/dist/investments/components/InfoToolTip/index.es.js +0 -25
  429. package/dist/investments/components/Overview/index.es.js +0 -441
  430. package/dist/investments/components/TabTitle/index.es.js +0 -6
  431. package/dist/investments/constants/index/index.es.js +0 -53
  432. package/dist/investments/stores/HoldingStore/index.es.js +0 -59
  433. package/dist/investments/util/InvestmentUtil/index.es.js +0 -100
  434. package/dist/merchants/api/MerchantApi/index.es.js +0 -16
  435. package/dist/merchants/components/MerchantLookup/index.es.js +0 -77
  436. package/dist/merchants/stores/MerchantStore/index.es.js +0 -26
  437. package/dist/microinsights/analytics/index.es.js +0 -10
  438. package/dist/microinsights/components/MicroWidgetContainer/index.es.js +0 -28
  439. package/dist/microinsights/components/beatCard/BeatCard/index.es.js +0 -98
  440. package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +0 -13
  441. package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +0 -22
  442. package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +0 -24
  443. package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +0 -31
  444. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +0 -14
  445. package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +0 -786
  446. package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +0 -82
  447. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +0 -105
  448. package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +0 -101
  449. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +0 -187
  450. package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +0 -152
  451. package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +0 -67
  452. package/dist/microinsights/components/spinner/Spinner/index.es.js +0 -19
  453. package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +0 -58
  454. package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +0 -55
  455. package/dist/microinsights/constants/Analytics/index.es.js +0 -163
  456. package/dist/microinsights/constants/App/index.es.js +0 -11
  457. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +0 -12
  458. package/dist/microinsights/context/hooks/index.es.js +0 -31
  459. package/dist/microinsights/stores/AppStore/index.es.js +0 -25
  460. package/dist/microinsights/stores/CopyStore/index.es.js +0 -32
  461. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +0 -31
  462. package/dist/microinsights/utils/DataSeries/index.es.js +0 -9
  463. package/dist/networth/NetWorthMicroWidget/index.es.js +0 -44
  464. package/dist/networth/NetWorthWidget/index.es.js +0 -159
  465. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +0 -109
  466. package/dist/networth/components/GainsLossesDetail/index.es.js +0 -94
  467. package/dist/networth/components/NetWorthChange/index.es.js +0 -31
  468. package/dist/networth/components/NetWorthChart/index.es.js +0 -45
  469. package/dist/networth/components/NetWorthList/index.es.js +0 -60
  470. package/dist/networth/components/NetWorthListItem/index.es.js +0 -60
  471. package/dist/networth/components/NetWorthSummary/index.es.js +0 -20
  472. package/dist/networth/components/micro/NetworthData/index.es.js +0 -21
  473. package/dist/networth/components/micro/ZeroState/index.es.js +0 -14
  474. package/dist/networth/stores/NetWorthStore/index.es.js +0 -65
  475. package/dist/networth/utils/NetWorthUtils/index.es.js +0 -95
  476. package/dist/notifications/components/DateRow/index.es.js +0 -8
  477. package/dist/notifications/components/NotificationBadge/index.es.js +0 -26
  478. package/dist/notifications/components/NotificationCard/index.es.js +0 -42
  479. package/dist/notifications/components/NotificationDrawer/index.es.js +0 -67
  480. package/dist/notifications/components/NotificationList/index.es.js +0 -36
  481. package/dist/notifications/components/NotificationsEmptyState/index.es.js +0 -34
  482. package/dist/notifications/constants/NotificationConstants/index.es.js +0 -22
  483. package/dist/notifications/stores/NotificationStore/index.es.js +0 -37
  484. package/dist/notifications/utils/NotificationUtils/index.es.js +0 -16
  485. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +0 -179
  486. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +0 -37
  487. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +0 -67
  488. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +0 -19
  489. package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +0 -18
  490. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +0 -32
  491. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +0 -100
  492. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +0 -20
  493. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +0 -69
  494. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +0 -149
  495. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +0 -42
  496. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +0 -130
  497. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +0 -163
  498. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +0 -56
  499. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +0 -17
  500. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +0 -44
  501. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +0 -31
  502. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +0 -32
  503. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +0 -84
  504. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +0 -68
  505. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +0 -114
  506. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +0 -44
  507. package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +0 -31
  508. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +0 -38
  509. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +0 -108
  510. package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +0 -37
  511. package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +0 -36
  512. package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +0 -232
  513. package/dist/settings/NotificationSettingsWidget/index.es.js +0 -13
  514. package/dist/settings/SettingsWidget/index.es.js +0 -55
  515. package/dist/settings/TransactionRulesWidget/index.es.js +0 -12
  516. package/dist/settings/api/SettingsApi/index.es.js +0 -23
  517. package/dist/settings/components/SettingsWidgetContents/index.es.js +0 -47
  518. package/dist/settings/components/devices/DeviceDialog/index.es.js +0 -129
  519. package/dist/settings/components/devices/DeviceList/index.es.js +0 -118
  520. package/dist/settings/components/devices/DeviceTab/index.es.js +0 -79
  521. package/dist/settings/components/devices/DeviceTable/index.es.js +0 -134
  522. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +0 -80
  523. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +0 -55
  524. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +0 -102
  525. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +0 -12
  526. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +0 -77
  527. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +0 -12
  528. package/dist/settings/components/notifications/NotificationProfile/index.es.js +0 -96
  529. package/dist/settings/components/notifications/NotificationSettings/index.es.js +0 -89
  530. package/dist/settings/components/notifications/PersonalDetails/index.es.js +0 -99
  531. package/dist/settings/components/profile/ProfileTab/index.es.js +0 -204
  532. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +0 -63
  533. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +0 -80
  534. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +0 -36
  535. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +0 -23
  536. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +0 -34
  537. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +0 -38
  538. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +0 -52
  539. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +0 -33
  540. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +0 -52
  541. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +0 -20
  542. package/dist/settings/constants/Settings/index.es.js +0 -4
  543. package/dist/settings/stores/SettingsStore/index.es.js +0 -187
  544. package/dist/settings/util/Notifications/index.es.js +0 -64
  545. package/dist/spending/SpendingMiniWidget/index.es.js +0 -26
  546. package/dist/spending/SpendingWidget/index.es.js +0 -38
  547. package/dist/spending/components/MiniSpendingChart/index.es.js +0 -115
  548. package/dist/spending/components/Spending/index.es.js +0 -141
  549. package/dist/spending/components/SpendingChart/index.es.js +0 -61
  550. package/dist/spending/components/SpendingDonut/index.es.js +0 -69
  551. package/dist/spending/components/SpendingLegend/index.es.js +0 -25
  552. package/dist/spending/components/SpendingList/index.es.js +0 -96
  553. package/dist/spending/components/SpendingTabLabel/index.es.js +0 -11
  554. package/dist/spending/utils/SpendingData/index.es.js +0 -86
  555. package/dist/transactions/TransactionWidget/index.es.js +0 -242
  556. package/dist/transactions/analytics/index.es.js +0 -5
  557. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +0 -68
  558. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +0 -43
  559. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +0 -126
  560. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +0 -27
  561. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +0 -105
  562. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +0 -81
  563. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +0 -60
  564. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +0 -60
  565. package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +0 -90
  566. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +0 -91
  567. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +0 -143
  568. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +0 -75
  569. package/dist/transactions/components/shared/TransactionDetails/index.es.js +0 -79
  570. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +0 -84
  571. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +0 -17
  572. package/dist/transactions/components/shared/TransactionList/index.es.js +0 -82
  573. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +0 -9
  574. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +0 -20
  575. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +0 -29
  576. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +0 -8
  577. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +0 -38
  578. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +0 -6
  579. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +0 -16
  580. package/dist/transactions/components/shared/TransactionTable/index.es.js +0 -110
  581. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +0 -69
  582. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +0 -126
  583. package/dist/transactions/components/tagmanager/Header/index.es.js +0 -78
  584. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +0 -37
  585. package/dist/transactions/components/tagmanager/TagManager/index.es.js +0 -32
  586. package/dist/transactions/components/tagmanager/TagRow/index.es.js +0 -114
  587. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +0 -29
  588. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +0 -54
  589. package/dist/transactions/constants/Actions/index.es.js +0 -19
  590. package/dist/transactions/constants/Analytics/index.es.js +0 -259
  591. package/dist/transactions/constants/OnClickEvents/index.es.js +0 -48
  592. package/dist/transactions/constants/Transaction/index.es.js +0 -33
  593. package/dist/transactions/constants/TransactionsTable/index.es.js +0 -11
  594. package/dist/transactions/context/hooks/index.es.js +0 -11
  595. package/dist/transactions/stores/TransactionStore/index.es.js +0 -224
  596. package/dist/transactions/stores/UiStore/index.es.js +0 -48
  597. package/dist/transactions/utils/Filters/index.es.js +0 -9
  598. package/dist/transactions/utils/Transactions/index.es.js +0 -13
  599. package/dist/transactions/utils/buildDetailedTransactions/index.es.js +0 -35
  600. package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +0 -44
  601. package/dist/trends/TrendsFullWidget/index.es.js +0 -157
  602. package/dist/trends/TrendsMicroWidget/index.es.js +0 -86
  603. package/dist/trends/TrendsMiniWidget/index.es.js +0 -28
  604. package/dist/trends/TrendsWidget/index.es.js +0 -173
  605. package/dist/trends/ZeroStateMicroWidget/index.es.js +0 -19
  606. package/dist/trends/components/CategoriesList/index.es.js +0 -62
  607. package/dist/trends/components/CategoriesListItem/index.es.js +0 -25
  608. package/dist/trends/components/CategoryDetailChart/index.es.js +0 -34
  609. package/dist/trends/components/CategoryDetailDrawer/index.es.js +0 -44
  610. package/dist/trends/components/DateRangeText/index.es.js +0 -39
  611. package/dist/trends/components/SpendingChart/index.es.js +0 -28
  612. package/dist/trends/components/TransactionsList/index.es.js +0 -81
  613. package/dist/trends/components/TrendsChart/index.es.js +0 -45
  614. package/dist/trends/components/TrendsChartTotals/index.es.js +0 -56
  615. package/dist/trends/components/TrendsDrawer/index.es.js +0 -48
  616. package/dist/trends/components/TrendsInsights/index.es.js +0 -43
  617. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +0 -96
  618. package/dist/trends/components/TrendsTable/AmountCell/index.es.js +0 -10
  619. package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +0 -30
  620. package/dist/trends/components/TrendsTable/index.es.js +0 -96
  621. package/dist/trends/components/TrendsViewToggle/index.es.js +0 -17
  622. package/dist/trends/constants/TrendsInsights/index.es.js +0 -38
  623. package/dist/trends/stores/TrendsStore/index.es.js +0 -77
  624. package/dist/trends/utils/SpendingData/index.es.js +0 -47
  625. package/dist/trends/utils/TrendsData/index.es.js +0 -41
  626. package/dist/trends/utils/shared/index.es.js +0 -15
  627. /package/dist/budgets/components/{BubbleChart → bubblechart}/Bubble.d.ts +0 -0
  628. /package/dist/budgets/components/{BubbleChart → bubblechart}/Mercury.d.ts +0 -0
  629. /package/dist/budgets/components/{BudgetList → budgetlist}/BudgetRow.d.ts +0 -0
  630. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetRow.d.ts +0 -0
  631. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetZeroState.d.ts +0 -0
  632. /package/dist/common/components/charts/{LineChart → linechart}/CustomLegend.d.ts +0 -0
  633. /package/dist/common/components/charts/{LineChart → linechart}/CustomLine.d.ts +0 -0
  634. /package/dist/common/components/charts/{LineChart → linechart}/CustomMark.d.ts +0 -0
  635. /package/dist/common/components/charts/{LineChart → linechart}/CustomTooltip.d.ts +0 -0
  636. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CategoryIconLabel.d.ts +0 -0
  637. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomAreaTooltip.d.ts +0 -0
  638. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomLegend.d.ts +0 -0
  639. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomPointTooltip.d.ts +0 -0
  640. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/utils.d.ts +0 -0
  641. /package/dist/debts/components/{DebtsTable → debtstable}/AccountCell.d.ts +0 -0
  642. /package/dist/debts/components/{DebtsTable → debtstable}/PriorityCell.d.ts +0 -0
  643. /package/dist/goals/components/{AddGoal → addgoal}/AddGoalListItem.d.ts +0 -0
  644. /package/dist/goals/components/{ManageGoals → managegoals}/CompleteListItem.d.ts +0 -0
  645. /package/dist/goals/components/{ManageGoals → managegoals}/OngoingListItem.d.ts +0 -0
  646. /package/dist/goals/components/{ManageGoals → managegoals}/ReorderGoals.d.ts +0 -0
  647. /package/dist/investments/components/{Allocation → allocation}/InvestementAllocationList.d.ts +0 -0
  648. /package/dist/investments/components/{Allocation → allocation}/InvestmentsAllocationChart.d.ts +0 -0
  649. /package/dist/investments/components/{Allocation → allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  650. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/Description.d.ts +0 -0
  651. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/FlagTransaction.d.ts +0 -0
  652. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/ManualTransactionDetails.d.ts +0 -0
  653. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/TransactionAmountHeader.d.ts +0 -0
  654. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/CategoryAction.d.ts +0 -0
  655. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DateAction.d.ts +0 -0
  656. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteAction.d.ts +0 -0
  657. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteLogoAction.d.ts +0 -0
  658. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/HideAction.d.ts +0 -0
  659. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/MemoAction.d.ts +0 -0
  660. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/SplitAction.d.ts +0 -0
  661. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/TagsAction.d.ts +0 -0
  662. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/index.d.ts +0 -0
  663. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/DateRow.d.ts +0 -0
  664. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/TransactionRow.d.ts +0 -0
  665. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/ZeroState.d.ts +0 -0
  666. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AccountCell.d.ts +0 -0
  667. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AmountCell.d.ts +0 -0
  668. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/CategoryCell.d.ts +0 -0
  669. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/DateCell.d.ts +0 -0
  670. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/FlagCell.d.ts +0 -0
  671. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/HeaderCell.d.ts +0 -0
  672. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/PayeeCell.d.ts +0 -0
  673. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/index.d.ts +0 -0
  674. /package/dist/trends/components/{TrendsTable → trendstable}/AmountCell.d.ts +0 -0
  675. /package/dist/trends/components/{TrendsTable → trendstable}/CategoryCell.d.ts +0 -0
  676. /package/dist/trends/components/{TrendsTable → trendstable}/HeaderCell.d.ts +0 -0
@@ -1,12 +1,1098 @@
1
- import { default as a } from "./CashflowMiniWidget/index.es.js";
2
- import { default as e } from "./CashflowWidget/index.es.js";
3
- import { default as l } from "./CashflowOnboarding/index.es.js";
4
- import { CashflowApi as d } from "./api/CashflowApi/index.es.js";
5
- import { CashflowStore as p } from "./stores/CashflowStore/index.es.js";
1
+ import { jsxs as o, Fragment as B, jsx as e } from "react/jsx-runtime";
2
+ import f, { useState as K } from "react";
3
+ import { observer as T } from "mobx-react-lite";
4
+ import D from "@mui/material/Box";
5
+ import k from "@mui/material/Button";
6
+ import v from "@mui/material/Divider";
7
+ import r from "@mui/material/Stack";
8
+ import ie from "@mui/material/styles/useTheme";
9
+ import { Text as p, P as O, Icon as H, InstitutionLogo as xe, H1 as ce, H2 as qe } from "@mxenabled/mxui";
10
+ import { G as Xe, t as le, u as L, p as ae, c as Oe, a as X, o as de, f as U, g as Ne, n as ke } from "../hooks-ClhFlg78.mjs";
11
+ import { C as R } from "../CurrencyText-YUhH2caW.mjs";
12
+ import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
13
+ import { L as re } from "../Loader-Dp1P2gNw.mjs";
14
+ import { I as ue } from "../CashflowStore-D9Dpuz7X.mjs";
15
+ import { C as Hn } from "../CashflowStore-D9Dpuz7X.mjs";
16
+ import { b as q } from "../Localization-2MODESHW.mjs";
17
+ import { M as Ye } from "../MiniWidgetContainer-BcNPxZt2.mjs";
18
+ import { R as Qe } from "../RecurringSettings-DIEsympT.mjs";
19
+ import Ve from "@mui/material/Tabs";
20
+ import Ce from "@mui/material/Tab";
21
+ import { getUnixTime as j } from "date-fns/getUnixTime";
22
+ import Z from "@mui/material/List";
23
+ import ee from "@mui/material/ListItem";
24
+ import { A as Ke } from "../AccountListItem-G7iAesaO.mjs";
25
+ import { f as Y, D as Q } from "../Dialog-CWW597AF.mjs";
26
+ import Je from "@mui/material/ListSubheader";
27
+ import { f as J } from "../NumberFormatting-CtWHhyBX.mjs";
28
+ import { isAfter as He } from "date-fns/isAfter";
29
+ import { isBefore as Fe } from "date-fns/isBefore";
30
+ import { isToday as We } from "date-fns/isToday";
31
+ import { startOfToday as z } from "date-fns/startOfToday";
32
+ import { addDays as we } from "date-fns/addDays";
33
+ import { alpha as Ze, keyframes as et } from "@mui/material/styles";
34
+ import { DataGridPro as tt } from "@mui/x-data-grid-pro";
35
+ import { T as _e } from "../TabContentContainer-j01JYR_7.mjs";
36
+ import { M as nt, S as ot, i as it, c as Se, b as at } from "../ManageIncome-BVt_XQbo.mjs";
37
+ import { D as $e } from "../Drawer-kEE73B87.mjs";
38
+ import { formatISO as rt } from "date-fns/formatISO";
39
+ import { fromUnixTime as ye } from "date-fns/fromUnixTime";
40
+ import { startOfMonth as st } from "date-fns/startOfMonth";
41
+ import { subDays as Ge } from "date-fns/subDays";
42
+ import { S as ct, b as lt } from "../TransactionDetails-B5qfs9Zh.mjs";
43
+ import { F as dt, R as Ie, e as De } from "../RepeatingTransaction-BPWfaB3f.mjs";
44
+ import { h as mt } from "../DateUtil-BcuH7ErC.mjs";
45
+ import { endOfToday as ut } from "date-fns/endOfToday";
46
+ import { W as ve, A as Ae } from "../WidgetContainer-CmGNZW0M.mjs";
47
+ import { F as ht, A as M } from "../Fetch-CkFKy79O.mjs";
48
+ const V = () => {
49
+ if (!f.useContext(Xe))
50
+ throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
51
+ return le().uiStore;
52
+ }, pt = ({ remaining: i }) => {
53
+ const { cashflow: n } = L();
54
+ return /* @__PURE__ */ o(B, { children: [
55
+ /* @__PURE__ */ e(
56
+ D,
57
+ {
58
+ sx: {
59
+ borderRadius: "1px",
60
+ backgroundColor: i < 0 ? "error.main" : i > 0 ? "success.main" : "warning.main",
61
+ height: 6,
62
+ width: 6
63
+ }
64
+ }
65
+ ),
66
+ /* @__PURE__ */ e(p, { bold: !0, sx: { flexGrow: 1, fontSize: 12 }, children: n.remaining_cash }),
67
+ /* @__PURE__ */ e(R, { amount: i, bold: !0, sx: { fontSize: 12 } })
68
+ ] });
69
+ }, he = T(pt), ft = ({ onAddIncomeClick: i }) => {
70
+ const n = ie(), { availableWidth: t } = ae(), { isMobile: s } = me(), { visibleCashAccounts: d, visibleCashBalance: g } = Oe(), { selectedAccountGuids: m } = X(), { cashflow: c } = L(), { userProfile: C } = de(), {
71
+ daysUntilNextIncome: a,
72
+ expensesTilNextIncome: u,
73
+ selectedCashAccounts: l,
74
+ setNextIncome: b,
75
+ setSelectedCashAccounts: _,
76
+ setUpcomingExpenses: S
77
+ } = V(), { isDataLoaded: y, nextIncomeRecurrence: h, upcomingExpenses: I } = U();
78
+ f.useEffect(() => {
79
+ _(
80
+ d.filter((w) => m.includes(w.guid))
81
+ );
82
+ }, [d, m]), f.useEffect(() => {
83
+ h && b(h), S(I);
84
+ }, [h, I]);
85
+ const A = f.useMemo(
86
+ () => d.filter((w) => m.includes(w.guid)).reduce((w, G) => w + (G?.balance || 0), 0),
87
+ [m, I]
88
+ ), F = f.useMemo(
89
+ () => u.filter((w) => m.includes(w.accountGuid || "")).reduce((w, G) => w + G.amount, 0),
90
+ [m, u]
91
+ ), P = f.useMemo(
92
+ () => A - F,
93
+ [A, F]
94
+ ), $ = C?.has_completed_cash_flow_onboarding && !!i;
95
+ return y ? /* @__PURE__ */ e(D, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: t > 610 ? /* @__PURE__ */ o(
96
+ r,
97
+ {
98
+ border: `1px solid ${n.palette.border.light}`,
99
+ borderRadius: 1,
100
+ direction: "row",
101
+ justifyContent: "space-between",
102
+ px: 24,
103
+ children: [
104
+ /* @__PURE__ */ o(r, { pb: 14, pt: 12, children: [
105
+ /* @__PURE__ */ e(R, { amount: A, variant: "H2" }),
106
+ /* @__PURE__ */ e(O, { variant: "XSmall", whiteSpace: "nowrap", children: q(
107
+ c.total_cash_accounts,
108
+ l.length
109
+ ) })
110
+ ] }),
111
+ /* @__PURE__ */ e(r, { pt: 18, children: /* @__PURE__ */ e(H, { name: "remove" }) }),
112
+ /* @__PURE__ */ o(r, { pb: 14, pt: 12, children: [
113
+ /* @__PURE__ */ e(R, { amount: F, variant: "H2" }),
114
+ /* @__PURE__ */ e(O, { variant: "XSmall", whiteSpace: "nowrap", children: q(c.expenses_due, u.length) })
115
+ ] }),
116
+ /* @__PURE__ */ e(r, { pt: 18, children: /* @__PURE__ */ e(H, { name: "equal" }) }),
117
+ /* @__PURE__ */ o(r, { pb: 14, pr: 24, pt: 12, children: [
118
+ /* @__PURE__ */ e(R, { amount: P, variant: "H2" }),
119
+ /* @__PURE__ */ o(r, { alignItems: "center", direction: "row", gap: 8, children: [
120
+ /* @__PURE__ */ e(O, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
121
+ /* @__PURE__ */ e(ue, { body: c.tooltip_body, title: c.tooltip_title })
122
+ ] })
123
+ ] }),
124
+ /* @__PURE__ */ e(r, { borderLeft: `1px solid ${n.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: $ ? /* @__PURE__ */ o(B, { children: [
125
+ /* @__PURE__ */ e(p, { variant: "H2", children: q(c.days, a) }),
126
+ /* @__PURE__ */ e(O, { variant: "XSmall", whiteSpace: "nowrap", children: c.next_paycheck })
127
+ ] }) : /* @__PURE__ */ e(
128
+ k,
129
+ {
130
+ onClick: i,
131
+ startIcon: /* @__PURE__ */ e(H, { name: "add" }),
132
+ sx: { fontSize: 13, lineHeight: "initial" },
133
+ children: c.add_income
134
+ }
135
+ ) })
136
+ ]
137
+ }
138
+ ) : /* @__PURE__ */ o(r, { border: `1px solid ${n.palette.border.light}`, borderRadius: 1, children: [
139
+ /* @__PURE__ */ o(r, { direction: "row", justifyContent: "space-between", p: 16, children: [
140
+ /* @__PURE__ */ e(p, { variant: "Small", children: q(
141
+ c.total_cash_accounts,
142
+ l.length
143
+ ) }),
144
+ /* @__PURE__ */ e(R, { amount: g, bold: !0, variant: "XSmall" })
145
+ ] }),
146
+ /* @__PURE__ */ e(v, {}),
147
+ /* @__PURE__ */ o(r, { direction: "row", justifyContent: "space-between", p: 16, children: [
148
+ /* @__PURE__ */ e(p, { variant: "Small", children: q(c.expenses_due, u.length) }),
149
+ /* @__PURE__ */ e(R, { amount: F, bold: !0, symbol: "-", variant: "XSmall" })
150
+ ] }),
151
+ /* @__PURE__ */ e(v, {}),
152
+ /* @__PURE__ */ e(
153
+ r,
154
+ {
155
+ alignItems: "center",
156
+ bgcolor: "background.default",
157
+ direction: "row",
158
+ gap: 8,
159
+ height: 48,
160
+ justifyContent: "space-between",
161
+ px: 16,
162
+ sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
163
+ children: /* @__PURE__ */ e(he, { remaining: P })
164
+ }
165
+ ),
166
+ /* @__PURE__ */ e(v, {}),
167
+ $ ? /* @__PURE__ */ o(r, { direction: "row", justifyContent: "space-between", p: 16, children: [
168
+ /* @__PURE__ */ e(p, { variant: "Small", children: c.next_paycheck }),
169
+ /* @__PURE__ */ e(p, { bold: !0, variant: "XSmall", children: q(c.days, a) })
170
+ ] }) : /* @__PURE__ */ o(
171
+ r,
172
+ {
173
+ alignItems: "center",
174
+ direction: "row",
175
+ justifyContent: "space-between",
176
+ pl: 16,
177
+ pr: 2,
178
+ py: 2,
179
+ children: [
180
+ /* @__PURE__ */ e(p, { variant: "Small", children: c.next_paycheck }),
181
+ /* @__PURE__ */ e(
182
+ k,
183
+ {
184
+ onClick: i,
185
+ startIcon: /* @__PURE__ */ e(H, { name: "add" }),
186
+ sx: { fontSize: 13 },
187
+ children: c.add_income
188
+ }
189
+ )
190
+ ]
191
+ }
192
+ )
193
+ ] }) }) : /* @__PURE__ */ e(re, { height: s ? 210 : 120 });
194
+ }, gt = T(ft), bt = ({ onPrimaryCtaClick: i, sx: n = {} }) => {
195
+ const { cashflow: t } = L(), { isCopyLoaded: s, isInitialized: d } = X(), { loadRepeatingTransactions: g } = U();
196
+ return f.useEffect(() => {
197
+ d && g().finally();
198
+ }, [d]), s ? /* @__PURE__ */ e(
199
+ Ye,
200
+ {
201
+ className: "mx-exp-cashflow-miniwidget",
202
+ onPrimaryCtaClick: i,
203
+ primaryCtaLabel: t.primary_cta,
204
+ subTitle: t.sub_title,
205
+ sx: n,
206
+ title: t.title,
207
+ children: /* @__PURE__ */ e(gt, { onAddIncomeClick: i })
208
+ }
209
+ ) : /* @__PURE__ */ e(re, {});
210
+ }, Rn = T(bt), xt = ({ remaining: i }) => /* @__PURE__ */ e(
211
+ ee,
212
+ {
213
+ sx: {
214
+ alignItems: "center",
215
+ backgroundColor: "background.highlight",
216
+ display: "flex",
217
+ gap: 12,
218
+ padding: "12px 24px",
219
+ borderBottomLeftRadius: "3px",
220
+ borderBottomRightRadius: "3px",
221
+ minHeight: "auto"
222
+ },
223
+ children: /* @__PURE__ */ e(he, { remaining: i })
224
+ }
225
+ );
226
+ var te = /* @__PURE__ */ ((i) => (i.EXPENSE = "expense", i.INCOME = "income", i))(te || {});
227
+ const Ct = ({ recurrence: i }) => /* @__PURE__ */ o(B, { children: [
228
+ /* @__PURE__ */ o(ee, { sx: { display: "flex", alignItems: "center", gap: 16, px: 24, py: 12 }, children: [
229
+ /* @__PURE__ */ o(r, { alignItems: "center", height: 32, width: 32, children: [
230
+ /* @__PURE__ */ e(p, { bold: !0, sx: { fontSize: 11 }, children: Y(i.expectedDate, Q.MONTH) }),
231
+ /* @__PURE__ */ e(p, { bold: !0, sx: { fontSize: 11 }, children: Y(i.expectedDate, Q.DAY) })
232
+ ] }),
233
+ /* @__PURE__ */ e(p, { sx: { flexGrow: 1, fontSize: 13 }, children: i.name }),
234
+ /* @__PURE__ */ e(
235
+ R,
236
+ {
237
+ amount: i.amount,
238
+ bold: !0,
239
+ sx: { textAlign: "right", fontSize: 13 }
240
+ }
241
+ )
242
+ ] }),
243
+ /* @__PURE__ */ e(v, {})
244
+ ] }), Ee = T(Ct), wt = ({ total: i, type: n }) => {
245
+ const { cashflow: t } = L();
246
+ return /* @__PURE__ */ o(B, { children: [
247
+ /* @__PURE__ */ o(
248
+ Je,
249
+ {
250
+ sx: {
251
+ alignItems: "center",
252
+ backgroundColor: "background.highlight",
253
+ display: "flex",
254
+ justifyContent: "space-between",
255
+ pb: 4,
256
+ pt: 12,
257
+ px: 24
258
+ },
259
+ children: [
260
+ /* @__PURE__ */ e(p, { bold: !0, sx: { fontSize: 12 }, children: n === te.EXPENSE ? t.expenses : t.income }),
261
+ /* @__PURE__ */ o(p, { bold: !0, sx: { fontSize: 13 }, children: [
262
+ n === te.EXPENSE ? "-" : "+",
263
+ J(i, "0,0.00")
264
+ ] })
265
+ ]
266
+ }
267
+ ),
268
+ /* @__PURE__ */ e(v, {})
269
+ ] });
270
+ }, Te = T(wt), oe = (i, n) => (t) => t.accountGuid === i.guid && (We(t.expectedDate) || He(t.expectedDate, n.start)) && Fe(t.expectedDate, n.end), _t = () => {
271
+ const { availableWidth: i } = ae(), { cashflow: n } = L(), { upcomingExpenses: t, upcomingIncome: s } = U(), { dateRange: d, selectedCashAccounts: g } = V();
272
+ return /* @__PURE__ */ o(r, { children: [
273
+ /* @__PURE__ */ o(r, { direction: i < 400 ? "column" : "row", justifyContent: "space-between", children: [
274
+ /* @__PURE__ */ e(p, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: n.accounts_breakdown }),
275
+ /* @__PURE__ */ o(p, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: [
276
+ Y(d.start, Q.FULL_MONTH_DAY),
277
+ " -",
278
+ " ",
279
+ Y(d.end, Q.FULL_MONTH_DAY)
280
+ ] })
281
+ ] }),
282
+ /* @__PURE__ */ e(r, { children: g.map((m) => {
283
+ const c = s.filter(oe(m, d)).sort((l, b) => j(l.expectedDate) - j(b.expectedDate)), C = t.filter(
284
+ oe(m, d)
285
+ ), a = c.reduce(
286
+ (l, b) => l + b.amount,
287
+ 0
288
+ ), u = C.reduce(
289
+ (l, b) => l + b.amount,
290
+ 0
291
+ );
292
+ return /* @__PURE__ */ o(
293
+ Z,
294
+ {
295
+ sx: {
296
+ border: "1px solid",
297
+ borderColor: "border.light",
298
+ mb: 24,
299
+ borderRadius: 1
300
+ },
301
+ children: [
302
+ /* @__PURE__ */ e(
303
+ Ke,
304
+ {
305
+ account: m,
306
+ listItemProps: {
307
+ disableGutters: !1,
308
+ disablePadding: !1,
309
+ sx: { borderTopRadius: 1, pr: 24 }
310
+ }
311
+ }
312
+ ),
313
+ /* @__PURE__ */ e(v, {}),
314
+ c.length > 0 && /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ e(
315
+ Z,
316
+ {
317
+ subheader: /* @__PURE__ */ e(Te, { total: a, type: te.INCOME }),
318
+ sx: { width: "100%" },
319
+ children: c.map((l) => /* @__PURE__ */ e(Ee, { recurrence: l }, l.repeatingTransactionGuid))
320
+ }
321
+ ) }),
322
+ C.length > 0 && /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ e(
323
+ Z,
324
+ {
325
+ subheader: /* @__PURE__ */ e(Te, { total: u, type: te.EXPENSE }),
326
+ sx: { width: "100%" },
327
+ children: C.map((l) => /* @__PURE__ */ e(Ee, { recurrence: l }, l.repeatingTransactionGuid))
328
+ }
329
+ ) }),
330
+ /* @__PURE__ */ e(
331
+ xt,
332
+ {
333
+ remaining: (m.available_balance || m.balance || 0) + a - u
334
+ }
335
+ )
336
+ ]
337
+ },
338
+ m.guid
339
+ );
340
+ }) })
341
+ ] });
342
+ }, St = T(_t), yt = () => {
343
+ const { availableWidth: i } = ae(), n = ie(), { cashflow: t } = L(), { upcomingExpenses: s, upcomingIncome: d } = U(), { dateRange: g, selectedCashAccounts: m } = V(), c = [
344
+ {
345
+ field: "account",
346
+ flex: 1.5,
347
+ headerName: t.accounts,
348
+ renderCell: ({ value: { name: a, nickname: u, institution_guid: l, account_number: b } }) => {
349
+ const _ = u || a;
350
+ return /* @__PURE__ */ o(r, { alignItems: "center", flexDirection: "row", gap: 12, children: [
351
+ /* @__PURE__ */ e(
352
+ xe,
353
+ {
354
+ alt: t.institution_logo,
355
+ institutionGuid: l || "",
356
+ size: 16
357
+ }
358
+ ),
359
+ `${_} ${b ? `*${b}` : ""}`
360
+ ] });
361
+ }
362
+ },
363
+ {
364
+ field: "balance",
365
+ flex: 1,
366
+ headerName: t.balance,
367
+ type: "number",
368
+ renderCell: (a) => J(a.value, "0,0.00")
369
+ },
370
+ {
371
+ field: "income",
372
+ flex: 1,
373
+ headerName: t.projected_income,
374
+ type: "number",
375
+ renderCell: (a) => `+${J(a.value, "0,0.00")}`
376
+ },
377
+ {
378
+ field: "expenses",
379
+ flex: 1.1,
380
+ headerName: t.projected_expenses,
381
+ type: "number",
382
+ renderCell: (a) => `-${J(a.value, "0,0.00")}`
383
+ },
384
+ {
385
+ field: "remaining",
386
+ flex: 1,
387
+ headerName: t.remaining,
388
+ type: "number",
389
+ renderCell: (a) => {
390
+ const u = a.row.balance + a.row.income - a.row.expenses;
391
+ return /* @__PURE__ */ e(
392
+ p,
393
+ {
394
+ color: Math.sign(u) === -1 ? n.palette.error.main : n.palette.text.primary,
395
+ variant: "Small",
396
+ children: J(u, "0,0.00")
397
+ }
398
+ );
399
+ }
400
+ }
401
+ ], C = f.useMemo(() => m.map((a) => {
402
+ const u = s.filter(
403
+ oe(a, { start: z(), end: we(z(), 30) })
404
+ ).reduce((_, S) => _ + S.amount, 0), l = d.filter(
405
+ oe(a, { start: z(), end: we(z(), 30) })
406
+ ).reduce((_, S) => _ + S.amount, 0), b = (a.balance || 0) + l - u;
407
+ return {
408
+ account: a,
409
+ balance: a.balance || 0,
410
+ id: a.guid,
411
+ income: l,
412
+ expenses: u,
413
+ remaining: b
414
+ };
415
+ }), [m, s, d]);
416
+ return /* @__PURE__ */ o(
417
+ D,
418
+ {
419
+ sx: {
420
+ width: "100%"
421
+ },
422
+ children: [
423
+ /* @__PURE__ */ o(
424
+ r,
425
+ {
426
+ direction: i < 540 ? "column" : "row",
427
+ justifyContent: "space-between",
428
+ mb: 12,
429
+ children: [
430
+ /* @__PURE__ */ o(r, { alignItems: "center", direction: "row", gap: 8, children: [
431
+ /* @__PURE__ */ e(
432
+ p,
433
+ {
434
+ bold: !0,
435
+ sx: {
436
+ fontSize: 15,
437
+ whiteSpace: "normal"
438
+ },
439
+ children: t.cash_inflow_and_outflow
440
+ }
441
+ ),
442
+ /* @__PURE__ */ e(
443
+ ue,
444
+ {
445
+ body: t.table_tooltip_body,
446
+ title: t.table_tooltip_title
447
+ }
448
+ )
449
+ ] }),
450
+ /* @__PURE__ */ o(p, { bold: !0, sx: { fontSize: 15, whiteSpace: "normal" }, children: [
451
+ Y(g.start, Q.FULL_MONTH_DAY),
452
+ " -",
453
+ " ",
454
+ Y(g.end, Q.FULL_MONTH_DAY)
455
+ ] })
456
+ ]
457
+ }
458
+ ),
459
+ i > 650 ? /* @__PURE__ */ e(
460
+ tt,
461
+ {
462
+ columnHeaderHeight: 48,
463
+ columns: c,
464
+ density: "standard",
465
+ disableColumnMenu: !0,
466
+ disableRowSelectionOnClick: !0,
467
+ hideFooter: !0,
468
+ rowHeight: 48,
469
+ rows: C,
470
+ sx: {
471
+ border: "1px solid",
472
+ borderColor: "border.light",
473
+ borderRadius: 1,
474
+ "& .MuiDataGrid-columnHeader .MuiIconButton-root": {
475
+ color: n.palette.primary.main,
476
+ "&:hover": {
477
+ backgroundColor: Ze(n.palette.primary.main, 0.1)
478
+ }
479
+ },
480
+ "& .MuiDataGrid-sortIcon": {
481
+ color: n.palette.primary.main
482
+ }
483
+ }
484
+ }
485
+ ) : C.map((a) => {
486
+ const { name: u, nickname: l, institution_guid: b, account_number: _ } = a.account, S = l || u;
487
+ return /* @__PURE__ */ e(
488
+ Z,
489
+ {
490
+ sx: {
491
+ border: "1px solid",
492
+ borderColor: "border.light",
493
+ borderRadius: 1,
494
+ marginBottom: 24
495
+ },
496
+ children: /* @__PURE__ */ e(ee, { sx: { minHeight: "auto" }, children: /* @__PURE__ */ o(r, { width: "100%", children: [
497
+ /* @__PURE__ */ o(
498
+ r,
499
+ {
500
+ alignItems: "center",
501
+ flexDirection: "row",
502
+ justifyContent: "space-between",
503
+ px: 16,
504
+ py: 12,
505
+ children: [
506
+ /* @__PURE__ */ o(r, { alignItems: "center", flexDirection: "row", gap: 8, width: "50%", children: [
507
+ /* @__PURE__ */ e(
508
+ xe,
509
+ {
510
+ alt: t.institution_logo,
511
+ institutionGuid: b || "",
512
+ size: 16
513
+ }
514
+ ),
515
+ /* @__PURE__ */ e(p, { variant: "Small", children: `${S} ${_ ? `*${_}` : ""}` })
516
+ ] }),
517
+ /* @__PURE__ */ e(R, { amount: a.balance, bold: !0, variant: "Small" })
518
+ ]
519
+ }
520
+ ),
521
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
522
+ /* @__PURE__ */ o(
523
+ r,
524
+ {
525
+ alignItems: "center",
526
+ flexDirection: "row",
527
+ justifyContent: "space-between",
528
+ px: 16,
529
+ py: 12,
530
+ children: [
531
+ /* @__PURE__ */ e(p, { variant: "Small", children: t.projected_income }),
532
+ /* @__PURE__ */ e(R, { amount: a.income, bold: !0, symbol: "+", variant: "Small" })
533
+ ]
534
+ }
535
+ ),
536
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
537
+ /* @__PURE__ */ o(
538
+ r,
539
+ {
540
+ alignItems: "center",
541
+ flexDirection: "row",
542
+ justifyContent: "space-between",
543
+ px: 16,
544
+ py: 12,
545
+ children: [
546
+ /* @__PURE__ */ e(p, { variant: "Small", children: t.projected_expenses }),
547
+ /* @__PURE__ */ e(R, { amount: a.expenses, bold: !0, symbol: "-", variant: "Small" })
548
+ ]
549
+ }
550
+ ),
551
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
552
+ /* @__PURE__ */ e(
553
+ r,
554
+ {
555
+ alignItems: "center",
556
+ bgcolor: "background.default",
557
+ flexDirection: "row",
558
+ gap: 8,
559
+ justifyContent: "space-between",
560
+ px: 16,
561
+ py: 12,
562
+ sx: { borderBottomLeftRadius: "4px", borderBottomRightRadius: "4px" },
563
+ children: /* @__PURE__ */ e(he, { remaining: a.remaining })
564
+ }
565
+ )
566
+ ] }) })
567
+ },
568
+ a.id
569
+ );
570
+ })
571
+ ]
572
+ }
573
+ );
574
+ }, It = T(yt), Dt = () => {
575
+ const { cashflow: i } = L(), { isDesktop: n } = me(), { onEvent: t } = Ne(), [s, d] = f.useState(0), g = (m, c) => {
576
+ d(c);
577
+ };
578
+ return f.useEffect(() => {
579
+ t(s === 0 ? "cash_flow_summary" : "cash_flow_details");
580
+ }, [s]), /* @__PURE__ */ o(D, { children: [
581
+ /* @__PURE__ */ o(
582
+ Ve,
583
+ {
584
+ "aria-label": i.cashflow_summary_and_details,
585
+ centered: !0,
586
+ onChange: g,
587
+ textColor: "primary",
588
+ value: s,
589
+ variant: "fullWidth",
590
+ children: [
591
+ /* @__PURE__ */ e(
592
+ Ce,
593
+ {
594
+ "aria-controls": "cashflow-tabpanel-0",
595
+ id: "cashflow-tab-0",
596
+ label: i.summary,
597
+ sx: {
598
+ textTransform: "none"
599
+ }
600
+ }
601
+ ),
602
+ /* @__PURE__ */ e(
603
+ Ce,
604
+ {
605
+ "aria-controls": "cashflow-tabpanel-1",
606
+ id: "cashflow-tab-1",
607
+ label: i.details,
608
+ sx: {
609
+ textTransform: "none"
610
+ }
611
+ }
612
+ )
613
+ ]
614
+ }
615
+ ),
616
+ /* @__PURE__ */ e(D, { sx: { mb: 32 } }),
617
+ /* @__PURE__ */ e(_e, { index: 0, name: "cashflow", value: s, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(It, {}) }) }),
618
+ /* @__PURE__ */ e(_e, { index: 1, name: "cashflow", value: s, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(St, {}) }) })
619
+ ] });
620
+ }, vt = T(Dt), ne = ({
621
+ amount: i,
622
+ isMobile: n = !1,
623
+ isTotal: t = !1,
624
+ label: s,
625
+ symbol: d,
626
+ tooltip: g
627
+ }) => /* @__PURE__ */ o(
628
+ r,
629
+ {
630
+ bgcolor: t ? "background.default" : "transparent",
631
+ direction: n ? "row" : "column",
632
+ justifyContent: n ? "space-between" : "initial",
633
+ padding: n ? "14px 16px" : 0,
634
+ sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
635
+ children: [
636
+ !n && /* @__PURE__ */ e(R, { amount: i, component: "h2", variant: "H2" }),
637
+ /* @__PURE__ */ o(r, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
638
+ /* @__PURE__ */ e(p, { bold: t, variant: "Small", children: s }),
639
+ g
640
+ ] }),
641
+ n && /* @__PURE__ */ e(R, { amount: i, component: "h2", symbol: d, variant: "Small" })
642
+ ]
643
+ }
644
+ ), Re = (i, n) => (t) => t.accountGuid && i.includes(t.accountGuid) && (We(t.expectedDate) || He(t.expectedDate, n.start)) && Fe(t.expectedDate, n.end), At = () => {
645
+ const { availableWidth: i } = ae(), { cashflow: n } = L(), { upcomingExpenses: t, upcomingIncome: s } = U(), { selectedAccountGuids: d } = X(), { dateRange: g, selectedCashAccounts: m } = V(), { userProfile: c } = de(), [C, a] = f.useState(!1), u = f.useMemo(
646
+ () => t.filter(Re(d, g)),
647
+ [g, d, t]
648
+ ), l = f.useMemo(
649
+ () => s.filter(Re(d, g)),
650
+ [g, d, s]
651
+ ), b = f.useMemo(
652
+ () => m.reduce((I, A) => I + (A?.balance || 0), 0),
653
+ [m]
654
+ ), _ = u.reduce((I, A) => I + A.amount, 0), S = l.reduce((I, A) => I + A.amount, 0), y = b - _ + S, h = i < 725;
655
+ return /* @__PURE__ */ o(r, { sx: { mx: h ? 16 : 0, my: h ? 24 : 42 }, children: [
656
+ /* @__PURE__ */ o(
657
+ r,
658
+ {
659
+ border: h ? "1px solid" : "none",
660
+ borderColor: "border.light",
661
+ borderRadius: 2,
662
+ flexDirection: h ? "column" : "row",
663
+ gap: h ? 0 : 24,
664
+ justifyContent: "center",
665
+ children: [
666
+ /* @__PURE__ */ e(
667
+ ne,
668
+ {
669
+ amount: b,
670
+ isMobile: h,
671
+ label: n.cash_and_bank
672
+ }
673
+ ),
674
+ h && /* @__PURE__ */ e(v, {}),
675
+ c?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ o(B, { children: [
676
+ !h && /* @__PURE__ */ e(p, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
677
+ /* @__PURE__ */ e(
678
+ ne,
679
+ {
680
+ amount: S,
681
+ isMobile: h,
682
+ label: n.to_be_received,
683
+ symbol: h ? "+" : void 0
684
+ }
685
+ )
686
+ ] }) : /* @__PURE__ */ e(
687
+ k,
688
+ {
689
+ onClick: () => a(!0),
690
+ startIcon: /* @__PURE__ */ e(H, { name: "add" }),
691
+ sx: { fontSize: 13 },
692
+ children: n.add_income
693
+ }
694
+ ),
695
+ h ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(p, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
696
+ /* @__PURE__ */ e(
697
+ ne,
698
+ {
699
+ amount: _,
700
+ isMobile: h,
701
+ label: n.to_be_paid_out,
702
+ symbol: h ? "-" : void 0
703
+ }
704
+ ),
705
+ h ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(p, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
706
+ /* @__PURE__ */ e(
707
+ ne,
708
+ {
709
+ amount: y,
710
+ isMobile: h,
711
+ isTotal: h,
712
+ label: n.remaining_cash,
713
+ tooltip: /* @__PURE__ */ e(
714
+ ue,
715
+ {
716
+ body: n.remaining_income_tooltip_body,
717
+ title: n.remaining_income_tooltip_title
718
+ }
719
+ )
720
+ }
721
+ )
722
+ ]
723
+ }
724
+ ),
725
+ /* @__PURE__ */ e(
726
+ $e,
727
+ {
728
+ ariaLabelClose: n.close_manage_income_aria,
729
+ isOpen: C,
730
+ onClose: () => a(!1),
731
+ shouldShowHeaderBorders: !1,
732
+ title: n.manage_income,
733
+ children: /* @__PURE__ */ e(nt, {})
734
+ }
735
+ )
736
+ ] });
737
+ }, Et = T(At), Tt = ({ handleNextStep: i }) => {
738
+ const { completeOnboarding: n } = le(), { cashflow: t } = L(), s = ie();
739
+ return /* @__PURE__ */ o(r, { children: [
740
+ /* @__PURE__ */ e(ce, { pb: 12, children: t.welcome_title }),
741
+ /* @__PURE__ */ e(
742
+ qe,
743
+ {
744
+ color: s.palette.primary.light,
745
+ pb: 8,
746
+ sx: { wordBreak: "break-word", whiteSpace: "initial" },
747
+ variant: "H3",
748
+ children: t.welcome_sub_title
749
+ }
750
+ ),
751
+ /* @__PURE__ */ e(O, { pb: 32, children: t.welcome_description }),
752
+ /* @__PURE__ */ o(r, { direction: "column", mb: 32, spacing: 32, children: [
753
+ /* @__PURE__ */ o(O, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
754
+ /* @__PURE__ */ e(
755
+ D,
756
+ {
757
+ bgcolor: s.palette.primary.lighter,
758
+ borderRadius: 1,
759
+ component: "span",
760
+ height: 44,
761
+ mr: 24,
762
+ sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
763
+ width: 44,
764
+ children: /* @__PURE__ */ e(H, { color: "primary", name: "currency_exchange" })
765
+ }
766
+ ),
767
+ t.bullet_one
768
+ ] }),
769
+ /* @__PURE__ */ o(O, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
770
+ /* @__PURE__ */ e(
771
+ D,
772
+ {
773
+ bgcolor: s.palette.primary.lighter,
774
+ borderRadius: 1,
775
+ component: "span",
776
+ height: 44,
777
+ mr: 24,
778
+ sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
779
+ width: 44,
780
+ children: /* @__PURE__ */ e(H, { color: "primary", name: "cardiology" })
781
+ }
782
+ ),
783
+ t.bullet_two
784
+ ] }),
785
+ /* @__PURE__ */ o(O, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
786
+ /* @__PURE__ */ e(
787
+ D,
788
+ {
789
+ bgcolor: s.palette.primary.lighter,
790
+ borderRadius: 1,
791
+ component: "span",
792
+ height: 44,
793
+ mr: 24,
794
+ sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
795
+ width: 44,
796
+ children: /* @__PURE__ */ e(H, { color: "primary", name: "flare" })
797
+ }
798
+ ),
799
+ t.bullet_three
800
+ ] })
801
+ ] }),
802
+ /* @__PURE__ */ o(r, { direction: "row", spacing: 16, children: [
803
+ /* @__PURE__ */ e(k, { onClick: i, variant: "contained", children: t.get_started_button }),
804
+ /* @__PURE__ */ e(k, { onClick: n, variant: "outlined", children: t.skip_button })
805
+ ] })
806
+ ] });
807
+ }, Rt = T(Tt), Le = "https://content.moneydesktop.com/storage/MD_Assets/md/cashflow", Me = {
808
+ CASHFLOW_ONBOARDING: `${Le}/cashflow-onboarding.png`,
809
+ CASHFLOW_LOADING_ANIMATION: `${Le}/loading-animation.gif`
810
+ }, Lt = () => {
811
+ const { cashflow: i } = L();
812
+ return /* @__PURE__ */ o(f.Fragment, { children: [
813
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("img", { alt: "Loading", src: Me.CASHFLOW_LOADING_ANIMATION }) }),
814
+ /* @__PURE__ */ e(ce, { pb: 12, children: i.loading_title }),
815
+ /* @__PURE__ */ e(O, { children: i.loading_description })
816
+ ] });
817
+ }, Ot = T(Lt), Nt = et`
818
+ from {
819
+ transform: rotate(0deg);
820
+ }
821
+ to {
822
+ transform: rotate(360deg);
823
+ }
824
+ `, kt = () => {
825
+ const { addRepeatingTransaction: i, repeatingTransactions: n } = U(), { cashflow: t, common: s } = L(), { completeOnboarding: d } = le(), { isDirty: g } = V(), { isMobile: m } = me(), { isCopyLoaded: c, setDisplayedDate: C } = X(), { filter: a, setFilter: u, transactions: l } = ke(), b = ie(), [_, S] = K(!0), [y, h] = f.useState(dt.EveryMonth), [I, A] = f.useState(1), [F, P] = f.useState(15), [$, w] = K(!1), [G, pe] = K(1), [N, je] = K([]), [fe, se] = K(""), W = f.useMemo(
826
+ () => l.find((x) => x.guid === fe),
827
+ [fe, l]
828
+ ), ze = !!n.filter(
829
+ (x) => x.repeating_transaction_type === Ie.Income
830
+ ).length, ge = async () => {
831
+ pe(2), C(
832
+ // Beginning of the month, 90 days before today
833
+ st(Ge(z(), 90)),
834
+ z()
835
+ ), u({ ...a, custom: Se }), pe(3);
836
+ }, Be = async () => {
837
+ if (!(N.length < 1)) {
838
+ w(!0);
839
+ for (let x = 0; x < N.length; x++) {
840
+ const E = N[x], be = De(y, ye(E.date)), Pe = {
841
+ account_guid: E.account_guid,
842
+ amount: E.amount,
843
+ merchant_guid: E.merchant_guid,
844
+ description: E.feed_description || E.description,
845
+ predicted_occurs_on: rt(be, { representation: "date" }),
846
+ recurrence_day: be.getDay(),
847
+ recurrence_type: y,
848
+ repeating_transaction_type: Ie.Income,
849
+ transaction_type: E.transaction_type
850
+ };
851
+ await i(Pe, E);
852
+ }
853
+ await d();
854
+ }
855
+ }, Ue = !W && _ || !W && N.length < 1;
856
+ return c ? /* @__PURE__ */ o(
857
+ D,
858
+ {
859
+ sx: {
860
+ display: "flex",
861
+ alignItems: m ? "flex-start" : "center",
862
+ backgroundColor: b.palette.background.paper,
863
+ backgroundImage: m ? null : `url(${Me.CASHFLOW_ONBOARDING})`,
864
+ backgroundRepeat: "no-repeat",
865
+ backgroundPosition: "left 100px",
866
+ backgroundSize: "35%",
867
+ py: 24
868
+ },
869
+ children: [
870
+ G === 1 && /* @__PURE__ */ e(
871
+ D,
872
+ {
873
+ sx: {
874
+ ...m ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
875
+ },
876
+ children: /* @__PURE__ */ e(Rt, { handleNextStep: ge })
877
+ }
878
+ ),
879
+ G === 2 && /* @__PURE__ */ e(
880
+ D,
881
+ {
882
+ sx: {
883
+ ...m ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
884
+ },
885
+ children: /* @__PURE__ */ e(Ot, {})
886
+ }
887
+ ),
888
+ G === 3 && /* @__PURE__ */ o(
889
+ D,
890
+ {
891
+ sx: {
892
+ ...m ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
893
+ },
894
+ children: [
895
+ /* @__PURE__ */ e(ce, { pb: 12, children: t.add_income_title }),
896
+ /* @__PURE__ */ e(O, { mb: 24, children: t.add_income_description }),
897
+ N.length > 0 && !W && /* @__PURE__ */ o(B, { children: [
898
+ /* @__PURE__ */ e(Z, { children: N.map((x, E) => /* @__PURE__ */ o(f.Fragment, { children: [
899
+ /* @__PURE__ */ e(ct, { bgcolor: "background.paper", children: mt(
900
+ j(x.nextDate || x.date)
901
+ ) }),
902
+ /* @__PURE__ */ e(lt, { transaction: x }),
903
+ E !== N.length - 1 && /* @__PURE__ */ e(v, {})
904
+ ] }, x.guid)) }),
905
+ /* @__PURE__ */ o(r, { alignItems: "center", direction: "row", children: [
906
+ /* @__PURE__ */ e(v, { sx: { flexGrow: 1 } }),
907
+ /* @__PURE__ */ e(
908
+ k,
909
+ {
910
+ onClick: () => S(!0),
911
+ startIcon: /* @__PURE__ */ e(H, { name: "add", size: 20 }),
912
+ children: t.add_income
913
+ }
914
+ )
915
+ ] })
916
+ ] }),
917
+ Ue && /* @__PURE__ */ e(
918
+ ot,
919
+ {
920
+ bgcolor: "background.paper",
921
+ onSearch: (x) => u({
922
+ ...a,
923
+ custom: (E) => x ? it(E, x) : Se(E)
924
+ }),
925
+ onSelected: (x) => {
926
+ se(x), S(!1);
927
+ }
928
+ }
929
+ ),
930
+ !ze && g && /* @__PURE__ */ e(O, { color: "error", mt: 16, children: t.confirm_error }),
931
+ W && /* @__PURE__ */ o(B, { children: [
932
+ /* @__PURE__ */ e(
933
+ at,
934
+ {
935
+ bgcolor: "background.paper",
936
+ firstDay: I,
937
+ frequency: y,
938
+ onFirstDayChange: A,
939
+ onFrequencyChange: h,
940
+ onSecondDayChange: P,
941
+ secondDay: F,
942
+ transaction: W
943
+ }
944
+ ),
945
+ /* @__PURE__ */ o(r, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
946
+ /* @__PURE__ */ e(
947
+ k,
948
+ {
949
+ "aria-disabled": !W,
950
+ onClick: () => {
951
+ const x = [...N];
952
+ x.push({
953
+ ...W,
954
+ nextDate: De(y, ye(W.date)),
955
+ frequency: y
956
+ }), je(x), se("");
957
+ },
958
+ variant: "contained",
959
+ children: s.confirm_button
960
+ }
961
+ ),
962
+ /* @__PURE__ */ e(
963
+ k,
964
+ {
965
+ onClick: () => {
966
+ se(""), S(!0), ge().finally();
967
+ },
968
+ variant: "outlined",
969
+ children: s.cancel_button
970
+ }
971
+ )
972
+ ] })
973
+ ] }),
974
+ N.length > 0 && !W && /* @__PURE__ */ o(r, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
975
+ /* @__PURE__ */ e(
976
+ k,
977
+ {
978
+ "aria-disabled": N.length < 1 || $,
979
+ onClick: Be,
980
+ startIcon: $ ? /* @__PURE__ */ e(
981
+ H,
982
+ {
983
+ name: "progress_activity",
984
+ sx: {
985
+ animation: `${Nt} 2s linear infinite`
986
+ }
987
+ }
988
+ ) : null,
989
+ variant: "contained",
990
+ children: t.confirm_income_button
991
+ }
992
+ ),
993
+ /* @__PURE__ */ e(k, { onClick: d, variant: "outlined", children: t.skip_button })
994
+ ] })
995
+ ]
996
+ }
997
+ )
998
+ ]
999
+ }
1000
+ ) : /* @__PURE__ */ e(re, {});
1001
+ }, Ht = T(kt), Ft = ({ onBackClick: i, sx: n = {} }) => {
1002
+ const {
1003
+ selectedAccounts: t,
1004
+ selectedAccountGuids: s,
1005
+ setSelectedAccounts: d,
1006
+ shouldDisableNextDate: g,
1007
+ shouldDisablePrevDate: m
1008
+ } = X(), { onEvent: c } = Ne(), { visibleCashAccounts: C } = Oe(), { setFilter: a } = ke(), { userProfile: u } = de(), { dateRange: l, setSelectedCashAccounts: b } = V(), { loadRepeatingTransactions: _, setDateRange: S } = U(), { cashflow: y } = L(), { isCopyLoaded: h, isInitialized: I } = X(), [A, F] = f.useState(!1);
1009
+ return f.useEffect(() => {
1010
+ I && (S(l), _().finally());
1011
+ }, [I]), f.useEffect(() => {
1012
+ d(C);
1013
+ }, [C]), f.useEffect(() => {
1014
+ const P = C.map((w) => w.guid), $ = t.filter(
1015
+ (w) => s.includes(w.guid) && P.includes(w.guid)
1016
+ );
1017
+ b($), a({
1018
+ dateRange: { start: Ge(z(), 90), end: ut() },
1019
+ accounts: $.map((w) => w.guid)
1020
+ });
1021
+ }, [C, t]), !h || !I ? /* @__PURE__ */ e(re, {}) : u?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ o(
1022
+ ve,
1023
+ {
1024
+ accountOptions: C,
1025
+ actions: [
1026
+ {
1027
+ label: y.cashflow_settings,
1028
+ iconName: "settings",
1029
+ onClick: () => {
1030
+ F(!0), c(Ae.CASH_FLOW_CLICK_SETTINGS);
1031
+ }
1032
+ }
1033
+ ],
1034
+ calendarActions: {
1035
+ shouldDisableNext: g,
1036
+ shouldDisablePrevious: m,
1037
+ shouldDisablePicker: !0,
1038
+ onRangeChanged: () => {
1039
+ }
1040
+ },
1041
+ dateRange: l,
1042
+ dateRangeVariant: "readonly",
1043
+ onAccountsFilterClick: () => c(Ae.CASH_FLOW_CLICK_FILTER),
1044
+ onBackClick: i,
1045
+ sx: n,
1046
+ title: y.title,
1047
+ children: [
1048
+ /* @__PURE__ */ e(Et, {}),
1049
+ /* @__PURE__ */ e(vt, {}),
1050
+ /* @__PURE__ */ e(
1051
+ $e,
1052
+ {
1053
+ ariaLabelClose: y.close_settings_aria,
1054
+ isOpen: A,
1055
+ onClose: () => F(!1),
1056
+ shouldShowHeaderBorders: !1,
1057
+ title: y.cashflow_settings,
1058
+ children: /* @__PURE__ */ e(Qe, {})
1059
+ }
1060
+ )
1061
+ ]
1062
+ }
1063
+ ) : /* @__PURE__ */ e(
1064
+ ve,
1065
+ {
1066
+ onBackClick: i,
1067
+ sx: { height: "100%", overflow: "auto" },
1068
+ title: y.title,
1069
+ children: /* @__PURE__ */ e(Ht, {})
1070
+ }
1071
+ );
1072
+ }, Ln = T(Ft);
1073
+ class On {
1074
+ fetchInstance;
1075
+ constructor(n, t) {
1076
+ this.fetchInstance = new ht(n, t);
1077
+ }
1078
+ addCashflowEvent = async (n) => this.fetchInstance.post(M.CASHFLOW_EVENTS, { ...n }).then((t) => t);
1079
+ addCashflowSequence = async (n) => this.fetchInstance.post(M.CASHFLOW_SEQUENCES, { ...n }).then((t) => t.cashflow_sequence);
1080
+ getCashflowSequences = async () => this.fetchInstance.get(M.CASHFLOW_SEQUENCES).then((n) => n.cashflow_sequences);
1081
+ getCashflowEventsByDateRange = async (n, t) => this.fetchInstance.get(
1082
+ `${M.CASHFLOW_EVENTS}/from/${j(n)}/to/${j(t)}`
1083
+ ).then((s) => s.cashflow_events);
1084
+ deleteCashflowSequence = async (n) => this.fetchInstance.delete(`${M.CASHFLOW_SEQUENCES}/${n}`).then((t) => t);
1085
+ getProjectedCashflowEvents = async (n, t) => this.fetchInstance.get(
1086
+ `${M.CASHFLOW_SEQUENCES}/projected_events/from/${j(
1087
+ n
1088
+ )}/to/${j(t)}`
1089
+ ).then((s) => s.cashflow_events);
1090
+ updateCashflowSequence = async (n) => this.fetchInstance.put(`${M.CASHFLOW_SEQUENCES}/${n.guid}`, n).then((t) => t.cashflow_sequence);
1091
+ }
6
1092
  export {
7
- d as CashflowApi,
8
- a as CashflowMiniWidget,
9
- l as CashflowOnboarding,
10
- p as CashflowStore,
11
- e as CashflowWidget
1093
+ On as CashflowApi,
1094
+ Rn as CashflowMiniWidget,
1095
+ Ht as CashflowOnboarding,
1096
+ Hn as CashflowStore,
1097
+ Ln as CashflowWidget
12
1098
  };