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

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 (641) hide show
  1. package/CHANGELOG.md +0 -4
  2. package/dist/accounts/AccountsMiniWidget/index.es.js +45 -0
  3. package/dist/accounts/AccountsWidget/index.es.js +67 -0
  4. package/dist/accounts/ConnectMiniWidget/index.es.js +41 -0
  5. package/dist/accounts/api/AccountApi/index.es.js +20 -0
  6. package/dist/accounts/components/AccountListItem/index.es.js +84 -0
  7. package/dist/accounts/components/AccountsList/index.es.js +164 -0
  8. package/dist/accounts/components/ConnectImage/index.es.js +444 -0
  9. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
  10. package/dist/accounts/components/ConnectStatus/index.es.js +37 -0
  11. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +12 -0
  12. package/dist/accounts/components/ConnectionsDrawer/index.es.js +54 -0
  13. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
  14. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +21 -0
  15. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +103 -0
  16. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +120 -0
  17. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +58 -0
  18. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +43 -0
  19. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
  20. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +47 -0
  21. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +20 -0
  22. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +74 -0
  23. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
  24. package/dist/accounts/constants/Accounts/index.es.js +5 -0
  25. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
  26. package/dist/accounts/hooks/useUiStore/index.es.js +11 -0
  27. package/dist/accounts/index.es.js +26 -0
  28. package/dist/accounts/stores/AccountStore/index.es.js +204 -0
  29. package/dist/accounts/stores/UiStore/index.es.js +15 -0
  30. package/dist/accounts/utils/AccountFields/index.es.js +136 -0
  31. package/dist/accounts/utils/Accounts/index.es.js +9 -0
  32. package/dist/accounts/utils/getConnectionMessages/index.es.js +162 -0
  33. package/dist/analytics/SurveyMiniWidget/index.es.js +101 -0
  34. package/dist/analytics/components/OpenTextField/index.es.js +23 -0
  35. package/dist/analytics/components/RatingScale/index.es.js +68 -0
  36. package/dist/analytics/index.es.js +4 -0
  37. package/dist/analytics/stores/AnalyticsStore/index.es.js +54 -0
  38. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +71 -0
  39. package/dist/budgets/BubbleBudgetsWidget/index.es.js +139 -0
  40. package/dist/budgets/api/BudgetsApi/index.es.js +26 -0
  41. package/dist/budgets/components/AddBudgets/index.es.js +30 -0
  42. package/dist/budgets/components/BubbleBudgets/index.es.js +61 -0
  43. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +97 -0
  44. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +27 -0
  45. package/dist/budgets/components/BubbleChart/index.es.js +22 -0
  46. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +95 -0
  47. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +42 -0
  48. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +36 -0
  49. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +16 -0
  50. package/dist/budgets/components/BudgetList/index.es.js +30 -0
  51. package/dist/budgets/components/BudgetsEmptyState/index.es.js +85 -0
  52. package/dist/budgets/components/Overview/index.es.js +105 -0
  53. package/dist/budgets/components/addbudget/Header/index.es.js +28 -0
  54. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
  55. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +39 -0
  56. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +46 -0
  57. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +73 -0
  58. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +75 -0
  59. package/dist/budgets/components/budgetdetails/Header/index.es.js +31 -0
  60. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +102 -0
  61. package/dist/budgets/components/shared/BudgetAmount/index.es.js +37 -0
  62. package/dist/budgets/index.es.js +6 -0
  63. package/dist/budgets/store/BudgetsStore/index.es.js +139 -0
  64. package/dist/budgets/utils/BubblesSVG/index.es.js +51 -0
  65. package/dist/budgets/utils/BudgetUtil/index.es.js +70 -0
  66. package/dist/cashflow/CashflowMiniWidget/index.es.js +27 -0
  67. package/dist/cashflow/CashflowOnboarding/index.es.js +220 -0
  68. package/dist/cashflow/CashflowWidget/index.es.js +91 -0
  69. package/dist/cashflow/api/CashflowApi/index.es.js +25 -0
  70. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +32 -0
  71. package/dist/cashflow/components/CashflowContent/index.es.js +61 -0
  72. package/dist/cashflow/components/CashflowHeading/index.es.js +113 -0
  73. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +146 -0
  74. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +38 -0
  75. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +31 -0
  76. package/dist/cashflow/components/DetailsFooter/index.es.js +22 -0
  77. package/dist/cashflow/components/DetailsTab/index.es.js +92 -0
  78. package/dist/cashflow/components/RemainingCash/index.es.js +27 -0
  79. package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
  80. package/dist/cashflow/components/onboarding/StepOne/index.es.js +82 -0
  81. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +17 -0
  82. package/dist/cashflow/constants/CashflowImages/index.es.js +7 -0
  83. package/dist/cashflow/context/hooks/index.es.js +11 -0
  84. package/dist/cashflow/index.es.js +12 -0
  85. package/dist/cashflow/stores/CashflowStore/index.es.js +19 -0
  86. package/dist/cashflow/stores/UiStore/index.es.js +38 -0
  87. package/dist/cashflow/util/Filters/index.es.js +7 -0
  88. package/dist/categories/components/CategoryList/index.es.js +38 -0
  89. package/dist/categories/components/CategoryRow/index.es.js +58 -0
  90. package/dist/categories/components/CategorySelector/index.es.js +48 -0
  91. package/dist/categories/components/CategorySelectorDrawer/index.es.js +30 -0
  92. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +40 -0
  93. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +66 -0
  94. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +30 -0
  95. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
  96. package/dist/categories/components/SubcategoryList/index.es.js +39 -0
  97. package/dist/categories/components/SubcategoryRow/index.es.js +103 -0
  98. package/dist/categories/constants/OnClickEvents/index.es.js +16 -0
  99. package/dist/categories/context/hooks/index.es.js +11 -0
  100. package/dist/categories/index.es.js +12 -0
  101. package/dist/categories/stores/CategoryStore/index.es.js +135 -0
  102. package/dist/categories/stores/UiStore/index.es.js +27 -0
  103. package/dist/categories/util/CategoryUtil/index.es.js +78 -0
  104. package/dist/common/api/AnalyticsApi/index.es.js +34 -0
  105. package/dist/common/api/AppDataApi/index.es.js +12 -0
  106. package/dist/common/api/BannerApi/index.es.js +21 -0
  107. package/dist/common/api/BeatApi/index.es.js +22 -0
  108. package/dist/common/api/CategoryApi/index.es.js +30 -0
  109. package/dist/common/api/GlobalCopyApi/index.es.js +12 -0
  110. package/dist/common/api/LocalizedCopyApi/index.es.js +13 -0
  111. package/dist/common/api/NotificationApi/index.es.js +21 -0
  112. package/dist/common/api/ScheduledPaymentsApi/index.es.js +20 -0
  113. package/dist/common/api/UserApi/index.es.js +14 -0
  114. package/dist/common/api/WidgetApi/index.es.js +12 -0
  115. package/dist/common/components/Banner/index.es.js +49 -0
  116. package/dist/common/components/ConnectCard/index.es.js +56 -0
  117. package/dist/common/components/ConnectDrawer/index.es.js +58 -0
  118. package/dist/common/components/CurrencyInput/index.es.js +84 -0
  119. package/dist/common/components/CurrencyText/index.es.js +20 -0
  120. package/dist/common/components/DataRow/index.es.js +29 -0
  121. package/dist/common/components/EmptyState/index.es.js +55 -0
  122. package/dist/common/components/ErrorBoundary/index.es.js +24 -0
  123. package/dist/common/components/IconBacking/index.es.js +39 -0
  124. package/dist/common/components/InformationTooltip/index.es.js +41 -0
  125. package/dist/common/components/ListItemAction/index.es.js +69 -0
  126. package/dist/common/components/ListItemRow/index.es.js +67 -0
  127. package/dist/common/components/ListItemWrapper/index.es.js +32 -0
  128. package/dist/common/components/Loader/index.es.js +14 -0
  129. package/dist/common/components/MicroWidgetContainer/index.es.js +45 -0
  130. package/dist/common/components/MiniWidgetContainer/index.es.js +39 -0
  131. package/dist/common/components/ResponsiveButton/index.es.js +45 -0
  132. package/dist/common/components/SearchBox/index.es.js +42 -0
  133. package/dist/common/components/Select/index.es.js +25 -0
  134. package/dist/common/components/SelectionBox/index.es.js +48 -0
  135. package/dist/common/components/SubheaderRow/index.es.js +10 -0
  136. package/dist/common/components/TabContentContainer/index.es.js +21 -0
  137. package/dist/common/components/WidgetContainer/index.es.js +195 -0
  138. package/dist/common/components/accountfilter/AccountFilter/index.es.js +93 -0
  139. package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +222 -0
  140. package/dist/common/components/addaccounts/AddAccounts/index.es.js +43 -0
  141. package/dist/common/components/barchart/Bar/index.es.js +79 -0
  142. package/dist/common/components/barchart/BarChart/index.es.js +70 -0
  143. package/dist/common/components/barchart/BarColumn/index.es.js +86 -0
  144. package/dist/common/components/barchart/Legend/index.es.js +45 -0
  145. package/dist/common/components/barchart/Util/index.es.js +11 -0
  146. package/dist/common/components/calendar/Calendar/index.es.js +131 -0
  147. package/dist/common/components/calendar/Day/index.es.js +96 -0
  148. package/dist/common/components/calendar/Header/index.es.js +32 -0
  149. package/dist/common/components/charts/Donut/index.es.js +57 -0
  150. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +64 -0
  151. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +22 -0
  152. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +65 -0
  153. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +73 -0
  154. package/dist/common/components/charts/LineChart/index.es.js +208 -0
  155. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +24 -0
  156. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +69 -0
  157. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +70 -0
  158. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +22 -0
  159. package/dist/common/components/charts/StackedLineChart/index.es.js +222 -0
  160. package/dist/common/components/charts/StatusBar/index.es.js +30 -0
  161. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +254 -0
  162. package/dist/common/components/dialog/Dialog/index.es.js +61 -0
  163. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +60 -0
  164. package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +68 -0
  165. package/dist/common/components/drawer/Drawer/index.es.js +71 -0
  166. package/dist/common/components/drawer/Header/index.es.js +51 -0
  167. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +36 -0
  168. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +42 -0
  169. package/dist/common/components/listitems/ToggleListItem/index.es.js +38 -0
  170. package/dist/common/constants/Account/index.es.js +30 -0
  171. package/dist/common/constants/Analytics/index.es.js +117 -0
  172. package/dist/common/constants/ApiEndpoints/index.es.js +50 -0
  173. package/dist/common/constants/Category/index.es.js +301 -0
  174. package/dist/common/constants/Connect/index.es.js +5 -0
  175. package/dist/common/constants/DateFormats/index.es.js +65 -0
  176. package/dist/common/constants/DefaultConfig/index.es.js +105 -0
  177. package/dist/common/constants/Donut/index.es.js +5 -0
  178. package/dist/common/constants/FinStrong/index.es.js +31 -0
  179. package/dist/common/constants/Numbers/index.es.js +6 -0
  180. package/dist/common/constants/ScheduledPayment/index.es.js +15 -0
  181. package/dist/common/constants/Sizes/index.es.js +6 -0
  182. package/dist/common/constants/SpendingPlan/index.es.js +11 -0
  183. package/dist/common/constants/Table/index.es.js +16 -0
  184. package/dist/common/context/GlobalDataProvider/index.es.js +23 -0
  185. package/dist/common/context/WidgetContainerProvider/index.es.js +17 -0
  186. package/dist/common/context/hooks/index.es.js +44 -0
  187. package/dist/common/context/hooks.d.ts +13 -13
  188. package/dist/common/hooks/useCombineEvents/index.es.js +20 -0
  189. package/dist/common/hooks/useDimensions/index.es.js +36 -0
  190. package/dist/common/hooks/useInsightsEnabled/index.es.js +11 -0
  191. package/dist/common/hooks/usePrevious/index.es.js +11 -0
  192. package/dist/common/hooks/useScreenSize/index.es.js +36 -0
  193. package/dist/common/index.es.js +234 -0
  194. package/dist/common/stores/AppDataStore/index.es.js +57 -0
  195. package/dist/common/stores/ConnectStore/index.es.js +15 -0
  196. package/dist/common/stores/GlobalCopyStore/index.es.js +35 -0
  197. package/dist/common/stores/GlobalStore/index.es.js +90 -0
  198. package/dist/common/stores/GlobalUiStore/index.es.js +54 -0
  199. package/dist/common/stores/UserStore/index.es.js +50 -0
  200. package/dist/common/types/Account/index.es.js +118 -0
  201. package/dist/common/types/Beat/index.es.js +4 -0
  202. package/dist/common/types/Expense/index.es.js +5 -0
  203. package/dist/common/types/Goal/index.es.js +6 -0
  204. package/dist/common/types/Notification/index.es.js +7 -0
  205. package/dist/common/types/RepeatingTransaction/index.es.js +7 -0
  206. package/dist/common/types/ScreenSize/index.es.js +4 -0
  207. package/dist/common/types/Transaction/index.es.js +5 -0
  208. package/dist/common/utils/AccountFilter/index.es.js +13 -0
  209. package/dist/common/utils/Analytics/index.es.js +36 -0
  210. package/dist/common/utils/Categories/index.es.js +37 -0
  211. package/dist/common/utils/DateUtil/index.es.js +48 -0
  212. package/dist/common/utils/Fetch/index.es.js +69 -0
  213. package/dist/common/utils/Localization/index.es.js +30 -0
  214. package/dist/common/utils/NumberFormatting/index.es.js +38 -0
  215. package/dist/common/utils/PostMessage/index.es.js +19 -0
  216. package/dist/common/utils/Theme/index.es.js +136 -0
  217. package/dist/dashboard/Dashboard/index.es.js +47 -0
  218. package/dist/dashboard/Greeting/index.es.js +71 -0
  219. package/dist/dashboard/constants/Dashboard/index.es.js +4 -0
  220. package/dist/dashboard/index.es.js +6 -0
  221. package/dist/debts/DebtsWidget/index.es.js +111 -0
  222. package/dist/debts/components/DebtDrawer/index.es.js +28 -0
  223. package/dist/debts/components/DebtsChart/index.es.js +134 -0
  224. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +24 -0
  225. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +32 -0
  226. package/dist/debts/components/DebtsTable/index.es.js +174 -0
  227. package/dist/debts/components/PaydownDrawer/index.es.js +21 -0
  228. package/dist/debts/components/SnowballCard/index.es.js +65 -0
  229. package/dist/debts/components/SnowballDrawer/index.es.js +374 -0
  230. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +28 -0
  231. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +46 -0
  232. package/dist/debts/components/actions/InterestRateAction/index.es.js +42 -0
  233. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +44 -0
  234. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +44 -0
  235. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +41 -0
  236. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +51 -0
  237. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +38 -0
  238. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +80 -0
  239. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +61 -0
  240. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +25 -0
  241. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +31 -0
  242. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +34 -0
  243. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +74 -0
  244. package/dist/debts/constants/index/index.es.js +4 -0
  245. package/dist/debts/hooks/useDebtsUiStore/index.es.js +11 -0
  246. package/dist/debts/index.es.js +10 -0
  247. package/dist/debts/store/DebtsStore/index.es.js +20 -0
  248. package/dist/debts/store/DebtsUiStore/index.es.js +23 -0
  249. package/dist/debts/utils/DebtStore/index.es.js +26 -0
  250. package/dist/debts/utils/DebtsChart/index.es.js +13 -0
  251. package/dist/debts/utils/DebtsTable/index.es.js +15 -0
  252. package/dist/debts/utils/DebtsWidget/index.es.js +42 -0
  253. package/dist/debts/utils/SnowballCard/index.es.js +37 -0
  254. package/dist/debts/utils/shared/index.es.js +21 -0
  255. package/dist/finstrong/FinancialStrengthCard/index.es.js +113 -0
  256. package/dist/finstrong/FinstrongWidget/index.es.js +141 -0
  257. package/dist/finstrong/api/FinstrongApi/index.es.js +15 -0
  258. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +76 -0
  259. package/dist/finstrong/components/CreditScoreGraph/index.es.js +75 -0
  260. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +30 -0
  261. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +63 -0
  262. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +49 -0
  263. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +63 -0
  264. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
  265. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +58 -0
  266. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +68 -0
  267. package/dist/finstrong/components/ManageCreditScore/index.es.js +49 -0
  268. package/dist/finstrong/components/ManageDOB/index.es.js +62 -0
  269. package/dist/finstrong/components/MissingData/index.es.js +38 -0
  270. package/dist/finstrong/components/ProfileDrawer/index.es.js +107 -0
  271. package/dist/finstrong/components/ProfileList/index.es.js +56 -0
  272. package/dist/finstrong/components/ProfileProgressBar/index.es.js +26 -0
  273. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +69 -0
  274. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +63 -0
  275. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +190 -0
  276. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +106 -0
  277. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +20 -0
  278. package/dist/finstrong/index.es.js +14 -0
  279. package/dist/finstrong/stores/FinstrongStore/index.es.js +81 -0
  280. package/dist/finstrong/util/finstrongUtils/index.es.js +108 -0
  281. package/dist/finstrong/utils/Finstrong/index.es.js +13 -0
  282. package/dist/goals/GoalsMicroWidget/index.es.js +51 -0
  283. package/dist/goals/GoalsWidget/index.es.js +138 -0
  284. package/dist/goals/api/GoalApi/index.es.js +26 -0
  285. package/dist/goals/components/AccountSelectionDrawer/index.es.js +73 -0
  286. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +51 -0
  287. package/dist/goals/components/AddGoal/index.es.js +56 -0
  288. package/dist/goals/components/GoalDetails/index.es.js +69 -0
  289. package/dist/goals/components/GoalDetailsDrawer/index.es.js +82 -0
  290. package/dist/goals/components/GoalList/index.es.js +87 -0
  291. package/dist/goals/components/GoalStatusCard/index.es.js +59 -0
  292. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +35 -0
  293. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +47 -0
  294. package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +118 -0
  295. package/dist/goals/components/ManageGoals/index.es.js +74 -0
  296. package/dist/goals/components/TabTitle/index.es.js +12 -0
  297. package/dist/goals/components/actions/AccountAction/index.es.js +46 -0
  298. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +66 -0
  299. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +46 -0
  300. package/dist/goals/components/actions/BirthdayAction/index.es.js +42 -0
  301. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +91 -0
  302. package/dist/goals/components/actions/ContributionAction/index.es.js +46 -0
  303. package/dist/goals/components/actions/GoalNameAction/index.es.js +42 -0
  304. package/dist/goals/components/actions/InterestRateAction/index.es.js +44 -0
  305. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +45 -0
  306. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +45 -0
  307. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +43 -0
  308. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +42 -0
  309. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +31 -0
  310. package/dist/goals/index.es.js +10 -0
  311. package/dist/goals/stores/GoalStore/index.es.js +184 -0
  312. package/dist/goals/util/GoalsUtil/index.es.js +98 -0
  313. package/dist/help/HelpWidget/index.es.js +13 -0
  314. package/dist/help/api/HelpApi/index.es.js +12 -0
  315. package/dist/help/components/Help/index.es.js +45 -0
  316. package/dist/help/components/HelpContent/index.es.js +32 -0
  317. package/dist/help/components/HelpList/index.es.js +118 -0
  318. package/dist/help/components/content/BottomImageContent/index.es.js +50 -0
  319. package/dist/help/components/content/ContentItem/index.es.js +21 -0
  320. package/dist/help/components/content/Header/index.es.js +62 -0
  321. package/dist/help/components/content/LeftImageContent/index.es.js +50 -0
  322. package/dist/help/components/content/NoImageContent/index.es.js +14 -0
  323. package/dist/help/components/content/RightImageContent/index.es.js +48 -0
  324. package/dist/help/components/content/TopImageContent/index.es.js +50 -0
  325. package/dist/help/components/content/section/Accounts/index.es.js +249 -0
  326. package/dist/help/components/content/section/Budgets/index.es.js +102 -0
  327. package/dist/help/components/content/section/CashFlow/index.es.js +71 -0
  328. package/dist/help/components/content/section/Debts/index.es.js +252 -0
  329. package/dist/help/components/content/section/General/index.es.js +163 -0
  330. package/dist/help/components/content/section/Goals/index.es.js +195 -0
  331. package/dist/help/components/content/section/Insights/index.es.js +136 -0
  332. package/dist/help/components/content/section/Investments/index.es.js +71 -0
  333. package/dist/help/components/content/section/Mobile/index.es.js +85 -0
  334. package/dist/help/components/content/section/NetWorth/index.es.js +142 -0
  335. package/dist/help/components/content/section/Notifications/index.es.js +120 -0
  336. package/dist/help/components/content/section/RecurringTransactions/index.es.js +104 -0
  337. package/dist/help/components/content/section/Spending/index.es.js +112 -0
  338. package/dist/help/components/content/section/Transactions/index.es.js +389 -0
  339. package/dist/help/components/content/section/Trends/index.es.js +83 -0
  340. package/dist/help/components/content/section/index/index.es.js +35 -0
  341. package/dist/help/components/content/section/index.d.ts +15 -15
  342. package/dist/help/components/requestsupport/ContactSupport/index.es.js +99 -0
  343. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +82 -0
  344. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +95 -0
  345. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +50 -0
  346. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +22 -0
  347. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +30 -0
  348. package/dist/help/components/requestsupport/RequestSupport/index.es.js +179 -0
  349. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +26 -0
  350. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +39 -0
  351. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +75 -0
  352. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +29 -0
  353. package/dist/help/constants/Help/index.es.js +299 -0
  354. package/dist/help/constants/HelpImages/index.es.js +47 -0
  355. package/dist/help/index.es.js +6 -0
  356. package/dist/help/store/HelpStore/index.es.js +42 -0
  357. package/dist/help/utils/getAccessibleHelpCategories/index.es.js +21 -0
  358. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +14 -0
  359. package/dist/index.d.ts +0 -22
  360. package/dist/insights/index.d.ts +1 -0
  361. package/dist/insights/index.es.js +4 -0
  362. package/dist/insights/store/BeatStore/index.es.js +35 -0
  363. package/dist/investments/InvestmentsWidget/index.es.js +107 -0
  364. package/dist/investments/api/HoldingApi/index.es.js +13 -0
  365. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +126 -0
  366. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +67 -0
  367. package/dist/investments/components/Allocation/index.es.js +67 -0
  368. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +134 -0
  369. package/dist/investments/components/Analysis/index.es.js +169 -0
  370. package/dist/investments/components/AnalysisDetails/index.es.js +81 -0
  371. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
  372. package/dist/investments/components/HeaderCell/index.es.js +11 -0
  373. package/dist/investments/components/HoldingDrawer/index.es.js +322 -0
  374. package/dist/investments/components/HoldingTable/index.es.js +183 -0
  375. package/dist/investments/components/InfoToolTip/index.es.js +25 -0
  376. package/dist/investments/components/Overview/index.es.js +441 -0
  377. package/dist/investments/components/TabTitle/index.es.js +6 -0
  378. package/dist/investments/constants/index/index.es.js +53 -0
  379. package/dist/investments/index.es.js +4 -0
  380. package/dist/investments/stores/HoldingStore/index.es.js +59 -0
  381. package/dist/investments/util/InvestmentUtil/index.es.js +100 -0
  382. package/dist/merchants/api/MerchantApi/index.es.js +16 -0
  383. package/dist/merchants/components/MerchantLookup/index.es.js +77 -0
  384. package/dist/merchants/index.es.js +6 -0
  385. package/dist/merchants/stores/MerchantStore/index.es.js +26 -0
  386. package/dist/microinsights/analytics/index.es.js +10 -0
  387. package/dist/microinsights/components/MicroWidgetContainer/index.es.js +28 -0
  388. package/dist/microinsights/components/beatCard/BeatCard/index.es.js +98 -0
  389. package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +13 -0
  390. package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +22 -0
  391. package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +24 -0
  392. package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +31 -0
  393. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +14 -0
  394. package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +786 -0
  395. package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +82 -0
  396. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +105 -0
  397. package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +101 -0
  398. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +187 -0
  399. package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +152 -0
  400. package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +67 -0
  401. package/dist/microinsights/components/spinner/Spinner/index.es.js +19 -0
  402. package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +58 -0
  403. package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +55 -0
  404. package/dist/microinsights/constants/Analytics/index.es.js +163 -0
  405. package/dist/microinsights/constants/App/index.es.js +11 -0
  406. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +12 -0
  407. package/dist/microinsights/context/hooks/index.es.js +31 -0
  408. package/dist/microinsights/index.es.js +28 -0
  409. package/dist/microinsights/stores/AppStore/index.es.js +25 -0
  410. package/dist/microinsights/stores/CopyStore/index.es.js +32 -0
  411. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +31 -0
  412. package/dist/microinsights/utils/DataSeries/index.es.js +9 -0
  413. package/dist/microinsights/utils/beatUtils/index.es.js +51 -0
  414. package/dist/networth/NetWorthMicroWidget/index.es.js +44 -0
  415. package/dist/networth/NetWorthWidget/index.es.js +159 -0
  416. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +109 -0
  417. package/dist/networth/components/GainsLossesDetail/index.es.js +94 -0
  418. package/dist/networth/components/NetWorthChange/index.es.js +31 -0
  419. package/dist/networth/components/NetWorthChart/index.es.js +45 -0
  420. package/dist/networth/components/NetWorthList/index.es.js +60 -0
  421. package/dist/networth/components/NetWorthListItem/index.es.js +60 -0
  422. package/dist/networth/components/NetWorthSummary/index.es.js +20 -0
  423. package/dist/networth/components/micro/NetworthData/index.es.js +21 -0
  424. package/dist/networth/components/micro/ZeroState/index.es.js +14 -0
  425. package/dist/networth/index.es.js +14 -0
  426. package/dist/networth/stores/NetWorthStore/index.es.js +65 -0
  427. package/dist/networth/utils/NetWorthUtils/index.es.js +95 -0
  428. package/dist/notifications/components/DateRow/index.es.js +8 -0
  429. package/dist/notifications/components/NotificationBadge/index.es.js +26 -0
  430. package/dist/notifications/components/NotificationCard/index.es.js +42 -0
  431. package/dist/notifications/components/NotificationDrawer/index.es.js +67 -0
  432. package/dist/notifications/components/NotificationList/index.es.js +36 -0
  433. package/dist/notifications/components/NotificationsEmptyState/index.es.js +34 -0
  434. package/dist/notifications/constants/NotificationConstants/index.es.js +22 -0
  435. package/dist/notifications/index.es.js +12 -0
  436. package/dist/notifications/stores/NotificationStore/index.es.js +37 -0
  437. package/dist/notifications/utils/NotificationUtils/index.es.js +16 -0
  438. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +179 -0
  439. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +37 -0
  440. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +67 -0
  441. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +19 -0
  442. package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +18 -0
  443. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +32 -0
  444. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +100 -0
  445. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +20 -0
  446. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +69 -0
  447. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +149 -0
  448. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +42 -0
  449. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +130 -0
  450. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +163 -0
  451. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +56 -0
  452. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +17 -0
  453. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +44 -0
  454. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +31 -0
  455. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +32 -0
  456. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +84 -0
  457. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +68 -0
  458. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +114 -0
  459. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +44 -0
  460. package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +31 -0
  461. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +38 -0
  462. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +108 -0
  463. package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +37 -0
  464. package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +36 -0
  465. package/dist/recurringtransactions/index.es.js +20 -0
  466. package/dist/recurringtransactions/stores/RecurringTransactionsStore/index.es.js +247 -0
  467. package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +232 -0
  468. package/dist/settings/NotificationSettingsWidget/index.es.js +13 -0
  469. package/dist/settings/SettingsWidget/index.es.js +55 -0
  470. package/dist/settings/TransactionRulesWidget/index.es.js +12 -0
  471. package/dist/settings/api/SettingsApi/index.es.js +23 -0
  472. package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
  473. package/dist/settings/components/devices/DeviceDialog/index.es.js +129 -0
  474. package/dist/settings/components/devices/DeviceList/index.es.js +118 -0
  475. package/dist/settings/components/devices/DeviceTab/index.es.js +79 -0
  476. package/dist/settings/components/devices/DeviceTable/index.es.js +134 -0
  477. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +80 -0
  478. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +55 -0
  479. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +102 -0
  480. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +12 -0
  481. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +77 -0
  482. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +12 -0
  483. package/dist/settings/components/notifications/NotificationProfile/index.es.js +96 -0
  484. package/dist/settings/components/notifications/NotificationSettings/index.es.js +89 -0
  485. package/dist/settings/components/notifications/PersonalDetails/index.es.js +99 -0
  486. package/dist/settings/components/profile/ProfileTab/index.es.js +204 -0
  487. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +63 -0
  488. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +80 -0
  489. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +36 -0
  490. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +23 -0
  491. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
  492. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +38 -0
  493. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +52 -0
  494. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +33 -0
  495. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +52 -0
  496. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +20 -0
  497. package/dist/settings/constants/Settings/index.es.js +4 -0
  498. package/dist/settings/index.es.js +29 -0
  499. package/dist/settings/stores/SettingsStore/index.es.js +187 -0
  500. package/dist/settings/util/Notifications/index.es.js +64 -0
  501. package/dist/spending/SpendingMiniWidget/index.es.js +26 -0
  502. package/dist/spending/SpendingWidget/index.es.js +38 -0
  503. package/dist/spending/components/MiniSpendingChart/index.es.js +115 -0
  504. package/dist/spending/components/Spending/index.es.js +141 -0
  505. package/dist/spending/components/SpendingChart/index.es.js +61 -0
  506. package/dist/spending/components/SpendingDonut/index.es.js +69 -0
  507. package/dist/spending/components/SpendingLegend/index.es.js +25 -0
  508. package/dist/spending/components/SpendingList/index.es.js +96 -0
  509. package/dist/spending/components/SpendingTabLabel/index.es.js +11 -0
  510. package/dist/spending/index.es.js +6 -0
  511. package/dist/spending/utils/SpendingData/index.es.js +86 -0
  512. package/dist/transactions/TransactionWidget/index.es.js +242 -0
  513. package/dist/transactions/analytics/index.es.js +5 -0
  514. package/dist/transactions/api/TransactionApi/index.es.js +87 -0
  515. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +68 -0
  516. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +43 -0
  517. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +126 -0
  518. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +27 -0
  519. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
  520. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +81 -0
  521. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +60 -0
  522. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +60 -0
  523. package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +90 -0
  524. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +91 -0
  525. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +143 -0
  526. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +75 -0
  527. package/dist/transactions/components/shared/TransactionDetails/index.es.js +79 -0
  528. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +84 -0
  529. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +17 -0
  530. package/dist/transactions/components/shared/TransactionList/index.es.js +82 -0
  531. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +9 -0
  532. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +20 -0
  533. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +29 -0
  534. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +8 -0
  535. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +38 -0
  536. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +6 -0
  537. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +16 -0
  538. package/dist/transactions/components/shared/TransactionTable/index.es.js +110 -0
  539. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +69 -0
  540. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +126 -0
  541. package/dist/transactions/components/tagmanager/Header/index.es.js +78 -0
  542. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +37 -0
  543. package/dist/transactions/components/tagmanager/TagManager/index.es.js +32 -0
  544. package/dist/transactions/components/tagmanager/TagRow/index.es.js +114 -0
  545. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +29 -0
  546. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +54 -0
  547. package/dist/transactions/constants/Actions/index.es.js +19 -0
  548. package/dist/transactions/constants/Analytics/index.es.js +259 -0
  549. package/dist/transactions/constants/OnClickEvents/index.es.js +48 -0
  550. package/dist/transactions/constants/Transaction/index.es.js +33 -0
  551. package/dist/transactions/constants/TransactionsTable/index.es.js +11 -0
  552. package/dist/transactions/context/hooks/index.es.js +11 -0
  553. package/dist/transactions/index.es.js +27 -0
  554. package/dist/transactions/stores/TransactionStore/index.es.js +224 -0
  555. package/dist/transactions/stores/UiStore/index.es.js +48 -0
  556. package/dist/transactions/utils/Filters/index.es.js +9 -0
  557. package/dist/transactions/utils/Transactions/index.es.js +13 -0
  558. package/dist/transactions/utils/buildDetailedTransactions/index.es.js +35 -0
  559. package/dist/transactions/utils/exportTransactionsToCSV/index.es.js +47 -0
  560. package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +44 -0
  561. package/dist/trends/TrendsFullWidget/index.es.js +157 -0
  562. package/dist/trends/TrendsMicroWidget/index.es.js +86 -0
  563. package/dist/trends/TrendsMiniWidget/index.es.js +28 -0
  564. package/dist/trends/TrendsWidget/index.es.js +173 -0
  565. package/dist/trends/ZeroStateMicroWidget/index.es.js +19 -0
  566. package/dist/trends/components/CategoriesList/index.es.js +62 -0
  567. package/dist/trends/components/CategoriesListItem/index.es.js +25 -0
  568. package/dist/trends/components/CategoryDetailChart/index.es.js +34 -0
  569. package/dist/trends/components/CategoryDetailDrawer/index.es.js +44 -0
  570. package/dist/trends/components/DateRangeText/index.es.js +39 -0
  571. package/dist/trends/components/SpendingChart/index.es.js +28 -0
  572. package/dist/trends/components/TransactionsList/index.es.js +81 -0
  573. package/dist/trends/components/TrendsChart/index.es.js +45 -0
  574. package/dist/trends/components/TrendsChartTotals/index.es.js +56 -0
  575. package/dist/trends/components/TrendsDrawer/index.es.js +48 -0
  576. package/dist/trends/components/TrendsInsights/index.es.js +43 -0
  577. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +96 -0
  578. package/dist/trends/components/TrendsTable/AmountCell/index.es.js +10 -0
  579. package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +30 -0
  580. package/dist/trends/components/TrendsTable/HeaderCell/index.es.js +6 -0
  581. package/dist/trends/components/TrendsTable/index.es.js +96 -0
  582. package/dist/trends/components/TrendsViewToggle/index.es.js +17 -0
  583. package/dist/trends/constants/TrendsInsights/index.es.js +38 -0
  584. package/dist/trends/index.es.js +12 -0
  585. package/dist/trends/stores/TrendsStore/index.es.js +77 -0
  586. package/dist/trends/utils/SpendingData/index.es.js +47 -0
  587. package/dist/trends/utils/TrendsData/index.es.js +41 -0
  588. package/dist/trends/utils/shared/index.es.js +15 -0
  589. package/package.json +155 -3
  590. package/dist/index.es.js +0 -30335
  591. package/dist/index.es.js.map +0 -1
  592. /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
  593. /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
  594. /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
  595. /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
  596. /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
  597. /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
  598. /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
  599. /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
  600. /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
  601. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
  602. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
  603. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
  604. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
  605. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
  606. /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
  607. /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
  608. /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
  609. /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
  610. /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
  611. /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
  612. /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
  613. /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
  614. /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  615. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
  616. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
  617. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
  618. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
  619. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
  620. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
  621. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
  622. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
  623. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/HideAction.d.ts +0 -0
  624. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
  625. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
  626. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
  627. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
  628. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/DateRow.d.ts +0 -0
  629. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
  630. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
  631. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
  632. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
  633. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
  634. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
  635. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
  636. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
  637. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
  638. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
  639. /package/dist/trends/components/{trendstable → TrendsTable}/AmountCell.d.ts +0 -0
  640. /package/dist/trends/components/{trendstable → TrendsTable}/CategoryCell.d.ts +0 -0
  641. /package/dist/trends/components/{trendstable → TrendsTable}/HeaderCell.d.ts +0 -0
@@ -0,0 +1,138 @@
1
+ import { jsx as t, jsxs as d, Fragment as z } from "react/jsx-runtime";
2
+ import r from "react";
3
+ import { observer as P } from "mobx-react-lite";
4
+ import U from "@mui/material/Alert";
5
+ import Y from "@mui/material/Snackbar";
6
+ import q from "@mui/material/Stack";
7
+ import T from "@mui/material/Tab";
8
+ import H from "@mui/material/Tabs";
9
+ import { TabTitle as A } from "../components/TabTitle/index.es.js";
10
+ import { GoalList as S } from "../components/GoalList/index.es.js";
11
+ import { AddGoal as J } from "../components/AddGoal/index.es.js";
12
+ import { GoalDetailsDrawer as Q } from "../components/GoalDetailsDrawer/index.es.js";
13
+ import { EmptyState as X } from "../../common/components/EmptyState/index.es.js";
14
+ import { useEvent as Z, useAccountStore as $, useGlobalUiStore as tt, useGlobalCopyStore as et, useGoalStore as ot } from "../../common/context/hooks/index.es.js";
15
+ import { useScreenSize as lt } from "../../common/hooks/useScreenSize/index.es.js";
16
+ import { buildDynamicCopy as h } from "../../common/utils/Localization/index.es.js";
17
+ import { formatCurrency as g } from "../../common/utils/NumberFormatting/index.es.js";
18
+ import { ANALYTICS_EVENTS as y } from "../../common/constants/Analytics/index.es.js";
19
+ import at from "../../common/components/Loader/index.es.js";
20
+ import it from "../../common/components/WidgetContainer/index.es.js";
21
+ import { TrackType as l } from "../../common/types/Goal/index.es.js";
22
+ import rt from "../../common/components/drawer/Drawer/index.es.js";
23
+ const It = P(({ onBackClick: x, sx: K }) => {
24
+ const { onEvent: b } = Z(), { isMobile: s } = lt(), { visibleAccounts: E } = $(), { isCopyLoaded: n, isInitialized: _, setSelectedAccounts: N } = tt(), { goals: e, common: O } = et(), { alert: G, goals: u, goalsLoaded: f, loadGoals: w, monthlyCashFlowProfile: p, setAlert: v, retirmentGoals: L } = ot(), [c, m] = r.useState(0), [F, C] = r.useState(!1), R = p?.amount_allocated_for_savings_goals || 0, I = p?.amount_allocated_for_debt_goals || 0, k = p?.amount_allocated_for_retirement_goals || 0, B = n ? h(
25
+ s ? e.tab_subtitle_mobile : e.tab_subtitle,
26
+ g(R, "0,0")
27
+ ) : "", M = n ? h(
28
+ s ? e.tab_subtitle_mobile : e.tab_subtitle,
29
+ g(I, "0,0")
30
+ ) : "", V = n ? h(
31
+ s ? e.tab_subtitle_mobile : e.tab_subtitle,
32
+ g(k, "0,0")
33
+ ) : "";
34
+ r.useEffect(() => {
35
+ N(E), b(y.GOALS_VIEW);
36
+ }, []), r.useEffect(() => {
37
+ _ && w().finally();
38
+ }, [_, R, I, k]);
39
+ const W = () => {
40
+ b(y.GOALS_CLICK_FILTER);
41
+ }, a = () => {
42
+ C(!0), b(y.GOALS_CLICK_ADD);
43
+ }, D = (o) => {
44
+ C(!1), o === l.SAVINGS_TRACK ? m(0) : o === l.DEBT_TRACK ? m(1) : o === l.RETIREMENT_TRACK && m(2);
45
+ }, i = r.useMemo(
46
+ () => f && (u.length === 0 || u.every(({ track_type: o }) => !o) && L.length === 0),
47
+ [u, f, L]
48
+ );
49
+ return !f || !n || !_ ? /* @__PURE__ */ t(at, {}) : /* @__PURE__ */ d(
50
+ it,
51
+ {
52
+ accountOptions: E,
53
+ actions: [
54
+ {
55
+ iconName: "add",
56
+ label: e.add_title,
57
+ onClick: a
58
+ }
59
+ ],
60
+ onAccountsFilterClick: W,
61
+ onBackClick: x,
62
+ sx: K,
63
+ title: e.title,
64
+ children: [
65
+ /* @__PURE__ */ d(q, { mx: s ? 0 : 48, my: 24, children: [
66
+ /* @__PURE__ */ d(
67
+ H,
68
+ {
69
+ onChange: (o, j) => m(j),
70
+ sx: { bgcolor: "background.paper" },
71
+ textColor: "primary",
72
+ value: i ? !1 : c,
73
+ variant: "fullWidth",
74
+ children: [
75
+ /* @__PURE__ */ t(
76
+ T,
77
+ {
78
+ disabled: i,
79
+ label: /* @__PURE__ */ t(A, { subtitle: B, title: e.tab_saving_title })
80
+ }
81
+ ),
82
+ /* @__PURE__ */ t(
83
+ T,
84
+ {
85
+ disabled: i,
86
+ label: /* @__PURE__ */ t(A, { subtitle: M, title: e.tab_debt_title })
87
+ }
88
+ ),
89
+ /* @__PURE__ */ t(
90
+ T,
91
+ {
92
+ disabled: i,
93
+ label: /* @__PURE__ */ t(A, { subtitle: V, title: e.tab_retirement_title })
94
+ }
95
+ )
96
+ ]
97
+ }
98
+ ),
99
+ i ? /* @__PURE__ */ t(
100
+ X,
101
+ {
102
+ header: e.create_goals_header,
103
+ icon: "trophy",
104
+ onClick: a,
105
+ primaryButton: e.add_goals_button,
106
+ subText: e.empty_state_subheader,
107
+ sx: {
108
+ width: { sm: 432 },
109
+ ".buttons-footer": {
110
+ width: 139
111
+ }
112
+ }
113
+ }
114
+ ) : /* @__PURE__ */ d(z, { children: [
115
+ c === 0 && /* @__PURE__ */ t(S, { onAddGoals: a, trackType: l.SAVINGS_TRACK }),
116
+ c === 1 && /* @__PURE__ */ t(S, { onAddGoals: a, trackType: l.DEBT_TRACK }),
117
+ c === 2 && /* @__PURE__ */ t(S, { onAddGoals: a, trackType: l.RETIREMENT_TRACK })
118
+ ] })
119
+ ] }),
120
+ /* @__PURE__ */ t(Q, { onClose: D }),
121
+ /* @__PURE__ */ t(
122
+ rt,
123
+ {
124
+ ariaLabelClose: O.close_aria,
125
+ isOpen: F,
126
+ onClose: () => C(!1),
127
+ title: e.add_goal_title,
128
+ children: /* @__PURE__ */ t(J, { onClose: D })
129
+ }
130
+ ),
131
+ /* @__PURE__ */ t(Y, { onClose: () => v(""), open: !!G, children: /* @__PURE__ */ t(U, { onClose: () => v(""), severity: "success", variant: "filled", children: G }) })
132
+ ]
133
+ }
134
+ );
135
+ });
136
+ export {
137
+ It as GoalsWidget
138
+ };
@@ -0,0 +1,26 @@
1
+ import { Fetch as s } from "../../../common/utils/Fetch/index.es.js";
2
+ import { ApiEndpoints as n } from "../../../common/constants/ApiEndpoints/index.es.js";
3
+ class h {
4
+ fetchInstance;
5
+ constructor(t, e) {
6
+ this.fetchInstance = new s(t, e);
7
+ }
8
+ addGoal = async (t) => this.fetchInstance.post(n.GOALS, t).then((e) => e.goal);
9
+ addRetirementGoal = async (t) => this.fetchInstance.post(n.RETIREMENT_GOALS, t).then((e) => e.retirement_goal);
10
+ addRetirementGoalAccount = async (t) => this.fetchInstance.post(n.RETIREMENT_GOAL_ACCOUNTS, t).then((e) => e.retirement_goal_account);
11
+ getGoalByGuid = async (t) => this.fetchInstance.get(`${n.GOALS}/${t}`).then((e) => e.goal);
12
+ getGoals = async () => this.fetchInstance.get(n.GOALS).then((t) => t.goals);
13
+ getMonthlyCashFlowProfile = async () => this.fetchInstance.get(n.MONTHLY_CASH_FLOW_PROFILE).then((t) => t.monthly_cash_flow_profile);
14
+ getRetirementGoals = async () => this.fetchInstance.get(n.RETIREMENT_GOALS).then((t) => t.retirement_goals);
15
+ getRetirementGoalAccounts = async () => this.fetchInstance.get(n.RETIREMENT_GOAL_ACCOUNTS).then((t) => t.retirement_goal_accounts);
16
+ removeGoal = async (t) => this.fetchInstance.delete(`${n.GOALS}/${t}`).then((e) => e);
17
+ removeRetirementGoal = async (t) => this.fetchInstance.delete(`${n.RETIREMENT_GOALS}/${t}`).then((e) => e);
18
+ removeRetirementGoalAccount = async (t) => this.fetchInstance.delete(`${n.RETIREMENT_GOAL_ACCOUNTS}/${t}`).then((e) => e);
19
+ reorderGoals = async (t) => this.fetchInstance.post(`${n.GOALS}/reposition`, { goals: t }).then((e) => e.goals);
20
+ updateGoal = async (t) => this.fetchInstance.put(`${n.GOALS}/${t.guid}`, t).then((e) => e.goal);
21
+ updateMonthlyCashFlowProfile = async (t) => this.fetchInstance.put(`${n.MONTHLY_CASH_FLOW_PROFILE}`, t).then((e) => e.monthly_cash_flow_profile);
22
+ updateRetirementGoal = async (t) => this.fetchInstance.put(`${n.RETIREMENT_GOALS}/${t.guid}`, t).then((e) => e.retirement_goal);
23
+ }
24
+ export {
25
+ h as GoalApi
26
+ };
@@ -0,0 +1,73 @@
1
+ import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import y from "@mui/material/Checkbox";
4
+ import d from "@mui/material/Divider";
5
+ import C from "@mui/material/List";
6
+ import _ from "@mui/material/ListItem";
7
+ import b from "@mui/material/ListItemAvatar";
8
+ import L from "@mui/material/ListItemButton";
9
+ import I from "@mui/material/ListItemText";
10
+ import { P as k, InstitutionLogo as A } from "@mxenabled/mxui";
11
+ import { ConnectCard as S } from "../../../common/components/ConnectCard/index.es.js";
12
+ import { useGlobalCopyStore as v } from "../../../common/context/hooks/index.es.js";
13
+ import w from "../../../common/components/drawer/Drawer/index.es.js";
14
+ import { formatCurrency as D } from "../../../common/utils/NumberFormatting/index.es.js";
15
+ const M = ({
16
+ accounts: s,
17
+ isOpen: l,
18
+ onClose: a,
19
+ onSave: p,
20
+ title: f
21
+ }) => {
22
+ const { goals: i, common: u } = v(), [r, h] = c.useState([]), g = (t) => {
23
+ const n = r.findIndex((x) => x.guid === t.guid), o = [...r];
24
+ n >= 0 ? o.splice(n, 1) : o.push(t), h(o);
25
+ };
26
+ return /* @__PURE__ */ m(
27
+ w,
28
+ {
29
+ ariaLabelClose: u.close_aria,
30
+ isOpen: l,
31
+ onClose: a,
32
+ onPrimaryAction: () => p(r),
33
+ title: f,
34
+ children: [
35
+ /* @__PURE__ */ e(k, { color: "text.secondary", sx: { mx: 24, my: 12 }, children: i.select_debt_accounts_description }),
36
+ /* @__PURE__ */ m(C, { sx: { bgcolor: "background.white" }, children: [
37
+ /* @__PURE__ */ e(d, { variant: "fullWidth" }),
38
+ s.map((t, n) => /* @__PURE__ */ m(c.Fragment, { children: [
39
+ /* @__PURE__ */ e(_, { children: /* @__PURE__ */ m(L, { onClick: () => g(t), children: [
40
+ /* @__PURE__ */ e(b, { children: /* @__PURE__ */ e(
41
+ A,
42
+ {
43
+ alt: t?.name || "",
44
+ institutionGuid: t?.institution_guid || ""
45
+ }
46
+ ) }),
47
+ /* @__PURE__ */ e(
48
+ I,
49
+ {
50
+ primary: t.name || t.feed_name,
51
+ secondary: D(t.balance || 0, "0,0.00")
52
+ }
53
+ ),
54
+ /* @__PURE__ */ e(y, { checked: r.some((o) => o.guid === t.guid) })
55
+ ] }) }),
56
+ /* @__PURE__ */ e(d, { variant: n < s.length - 1 ? "inset" : "fullWidth" })
57
+ ] }, t.guid))
58
+ ] }),
59
+ /* @__PURE__ */ e(
60
+ S,
61
+ {
62
+ description: i.connect_description,
63
+ label: i.connect_button,
64
+ title: i.connect_title
65
+ }
66
+ )
67
+ ]
68
+ }
69
+ );
70
+ };
71
+ export {
72
+ M as AccountSelectionDrawer
73
+ };
@@ -0,0 +1,51 @@
1
+ import { jsx as r, jsxs as m } from "react/jsx-runtime";
2
+ import u from "react";
3
+ import v from "@mui/material/Avatar";
4
+ import C from "@mui/material/Collapse";
5
+ import S from "@mui/material/Divider";
6
+ import s from "@mui/material/List";
7
+ import p from "@mui/material/ListItem";
8
+ import k from "@mui/material/ListItemAvatar";
9
+ import c from "@mui/material/ListItemButton";
10
+ import A from "@mui/material/ListItemIcon";
11
+ import l from "@mui/material/ListItemText";
12
+ import M from "@mui/material/Stack";
13
+ import { Icon as d, ChevronRight as f, ExpandLess as N, ExpandMore as O } from "@mxenabled/mx-icons";
14
+ import { useGlobalCopyStore as j } from "../../../../common/context/hooks/index.es.js";
15
+ import { TrackType as h, MetaType as T } from "../../../../common/types/Goal/index.es.js";
16
+ const W = ({ goalType: x, onClick: n }) => {
17
+ const { goals: y } = j(), { bgcolor: E, icon: I, label: R, description: b, subTypes: a, type: o } = x, [i, g] = u.useState(!1), t = a.length > 0;
18
+ return /* @__PURE__ */ r(M, { children: /* @__PURE__ */ m(s, { sx: { bgcolor: "background.paper" }, children: [
19
+ /* @__PURE__ */ r(p, { children: /* @__PURE__ */ m(
20
+ c,
21
+ {
22
+ onClick: t ? () => g(!i) : () => n(
23
+ o === h.RETIREMENT_TRACK ? y.retirement : "",
24
+ o === h.RETIREMENT_TRACK ? T.RETIREMENT : T.OTHER,
25
+ o
26
+ ),
27
+ children: [
28
+ /* @__PURE__ */ r(k, { children: /* @__PURE__ */ r(v, { sx: { bgcolor: E }, variant: "rounded", children: /* @__PURE__ */ r(d, { name: I, sx: { color: "grey.900" } }) }) }),
29
+ /* @__PURE__ */ r(l, { primary: R, secondary: b, sx: { mr: 24 } }),
30
+ !t && /* @__PURE__ */ r(f, {}),
31
+ t && (i ? /* @__PURE__ */ r(N, {}) : /* @__PURE__ */ r(O, {}))
32
+ ]
33
+ }
34
+ ) }),
35
+ /* @__PURE__ */ r(S, { variant: "inset" }),
36
+ t && /* @__PURE__ */ r(C, { in: i, children: /* @__PURE__ */ r(s, { sx: { bgcolor: "background.default" }, children: a.map((e, L) => /* @__PURE__ */ r(p, { sx: { pl: 48 }, children: /* @__PURE__ */ m(c, { onClick: () => n(e.label, e.metaType, o), children: [
37
+ /* @__PURE__ */ r(A, { sx: { mr: 8 }, children: /* @__PURE__ */ r(d, { name: e.icon }) }),
38
+ /* @__PURE__ */ r(
39
+ l,
40
+ {
41
+ primary: e.label,
42
+ primaryTypographyProps: { variant: "Body" }
43
+ }
44
+ ),
45
+ /* @__PURE__ */ r(f, {})
46
+ ] }) }, L)) }) })
47
+ ] }) });
48
+ };
49
+ export {
50
+ W as AddGoalListItem
51
+ };
@@ -0,0 +1,56 @@
1
+ import { jsxs as g, jsx as c } from "react/jsx-runtime";
2
+ import C from "react";
3
+ import S from "@mui/material/List";
4
+ import b from "@mui/material/Stack";
5
+ import { getGoalTypes as D } from "../../util/GoalsUtil/index.es.js";
6
+ import { AddGoalListItem as G } from "../addgoal/AddGoalListItem/index.es.js";
7
+ import { AccountSelectionDrawer as O } from "../AccountSelectionDrawer/index.es.js";
8
+ import { TrackType as r, GoalType as i, MetaType as s } from "../../../common/types/Goal/index.es.js";
9
+ import { useGlobalCopyStore as L, useGoalStore as R, useAccountStore as k } from "../../../common/context/hooks/index.es.js";
10
+ import { AccountType as l } from "../../../common/types/Account/index.es.js";
11
+ const M = ({ onClose: m }) => {
12
+ const { goals: a } = L(), { addGoal: p, debtGoals: u, setAlert: _, setSelectedGoal: d } = R(), { visibleDebtAccounts: f } = k(), [A, n] = C.useState(!1), y = D(a), T = (e, t, o) => {
13
+ o === r.DEBT_TRACK ? n(!0) : d({
14
+ amount: 0,
15
+ current_amount: 0,
16
+ goal_type: i.SAVE_AMOUNT,
17
+ initial_amount: 0,
18
+ meta_type: t,
19
+ name: e,
20
+ track_type: o
21
+ });
22
+ }, E = async (e) => {
23
+ for (const t of e) {
24
+ let o = s.CREDIT_CARD;
25
+ t.account_type === l.LOAN ? o = s.LOANS : t.account_type === l.LINE_OF_CREDIT && (o = s.LINE_OF_CREDIT), await p({
26
+ account_guid: t.guid,
27
+ amount: 0,
28
+ current_amount: 0,
29
+ goal_type: i.KEEP_BALANCE_BELOW,
30
+ initial_amount: t.balance || 0,
31
+ interest_rate: t.interest_rate || 0,
32
+ meta_type: o,
33
+ monthly_payment: t.minimum_payment || 0,
34
+ name: t.name || t.feed_name || "",
35
+ track_type: r.DEBT_TRACK
36
+ }), _(a.alert_goal_added);
37
+ }
38
+ n(!1), m?.(r.DEBT_TRACK);
39
+ };
40
+ return /* @__PURE__ */ g(b, { children: [
41
+ /* @__PURE__ */ c(S, { sx: { bgcolor: "background.paper" }, children: y.map((e, t) => /* @__PURE__ */ c(G, { goalType: e, onClick: T }, t)) }),
42
+ /* @__PURE__ */ c(
43
+ O,
44
+ {
45
+ accounts: f.filter((e) => !u.find((t) => t.account_guid === e.guid)),
46
+ isOpen: A,
47
+ onClose: () => n(!1),
48
+ onSave: E,
49
+ title: a.select_debt_accounts_title
50
+ }
51
+ )
52
+ ] });
53
+ };
54
+ export {
55
+ M as AddGoal
56
+ };
@@ -0,0 +1,69 @@
1
+ import { jsxs as o, jsx as t, Fragment as m } from "react/jsx-runtime";
2
+ import A from "react";
3
+ import { observer as _ } from "mobx-react-lite";
4
+ import i from "@mui/material/Divider";
5
+ import R from "@mui/material/List";
6
+ import T from "@mui/material/Stack";
7
+ import { Text as a } from "@mxenabled/mxui";
8
+ import { AccountAction as f } from "../actions/AccountAction/index.es.js";
9
+ import { AmountToSaveAction as E } from "../actions/AmountToSaveAction/index.es.js";
10
+ import { ChangeAccountAction as u } from "../actions/ChangeAccountAction/index.es.js";
11
+ import { GoalNameAction as y } from "../actions/GoalNameAction/index.es.js";
12
+ import { GoalStatusCard as x } from "../GoalStatusCard/index.es.js";
13
+ import { MonthlyPaymentAction as h } from "../actions/MonthlyPaymentAction/index.es.js";
14
+ import { OriginalBalanceAction as C } from "../actions/OriginalBalanceAction/index.es.js";
15
+ import { InterestRateAction as k } from "../actions/InterestRateAction/index.es.js";
16
+ import { RetirementAgeAction as S } from "../actions/RetirementAgeAction/index.es.js";
17
+ import { BirthdayAction as I } from "../actions/BirthdayAction/index.es.js";
18
+ import { AddRetirementAccountAction as K } from "../actions/AddRetirementAccountAction/index.es.js";
19
+ import { useGlobalCopyStore as v, useAccountStore as N } from "../../../common/context/hooks/index.es.js";
20
+ import { TrackType as e } from "../../../common/types/Goal/index.es.js";
21
+ const Y = _(({ goal: r }) => {
22
+ const { goals: c } = v(), { visibleAccounts: l } = N(), p = A.useMemo(
23
+ () => l.find((d) => d.guid === r.account_guid),
24
+ [l, r]
25
+ ), n = r.track_type;
26
+ let s = c.details_save_title;
27
+ return r.track_type === e.DEBT_TRACK ? s = c.details_debt_title : r.track_type === e.RETIREMENT_TRACK && (s = c.details_retirement_title), /* @__PURE__ */ o(T, { children: [
28
+ /* @__PURE__ */ o(T, { mx: 24, children: [
29
+ /* @__PURE__ */ t(a, { color: "text.secondary", sx: { mb: 4, mt: 24 }, variant: "XSmall", children: s }),
30
+ /* @__PURE__ */ t(x, { goal: r, isInDrawer: !0 }),
31
+ /* @__PURE__ */ t(a, { color: "text.secondary", sx: { mb: 4, mt: 24 }, variant: "XSmall", children: c.details_title })
32
+ ] }),
33
+ /* @__PURE__ */ o(R, { sx: { bgcolor: "background.paper" }, children: [
34
+ /* @__PURE__ */ t(y, { goal: r }),
35
+ /* @__PURE__ */ t(i, { sx: { ml: 24 } }),
36
+ (n === e.SAVINGS_TRACK || n === e.RETIREMENT_TRACK) && /* @__PURE__ */ o(m, { children: [
37
+ /* @__PURE__ */ t(E, { goal: r }),
38
+ /* @__PURE__ */ t(i, { sx: { ml: n === e.RETIREMENT_TRACK ? 24 : 0 } })
39
+ ] }),
40
+ r.track_type === e.DEBT_TRACK && /* @__PURE__ */ o(m, { children: [
41
+ /* @__PURE__ */ t(h, { goal: r }),
42
+ /* @__PURE__ */ t(i, { sx: { ml: 24 } }),
43
+ /* @__PURE__ */ t(k, { goal: r }),
44
+ /* @__PURE__ */ t(i, { sx: { ml: 24 } }),
45
+ /* @__PURE__ */ t(C, { goal: r }),
46
+ /* @__PURE__ */ t(i, { variant: "fullWidth" })
47
+ ] }),
48
+ r.track_type === e.RETIREMENT_TRACK && /* @__PURE__ */ o(m, { children: [
49
+ /* @__PURE__ */ t(S, { goal: r }),
50
+ /* @__PURE__ */ t(i, { sx: { ml: 24 } }),
51
+ /* @__PURE__ */ t(I, { goal: r }),
52
+ /* @__PURE__ */ t(i, { variant: "fullWidth" })
53
+ ] })
54
+ ] }),
55
+ /* @__PURE__ */ t(a, { color: "text.secondary", sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: r.track_type === e.RETIREMENT_TRACK ? c.details_accounts : c.details_account }),
56
+ r.track_type !== e.RETIREMENT_TRACK && p && /* @__PURE__ */ o(m, { children: [
57
+ /* @__PURE__ */ t(f, { account: p }),
58
+ /* @__PURE__ */ t(i, {})
59
+ ] }),
60
+ r.track_type === e.RETIREMENT_TRACK && /* @__PURE__ */ o(m, { children: [
61
+ /* @__PURE__ */ t(K, { goal: r }),
62
+ /* @__PURE__ */ t(i, {})
63
+ ] }),
64
+ r.track_type === e.SAVINGS_TRACK && !r.is_complete && /* @__PURE__ */ t(u, { goal: r })
65
+ ] });
66
+ });
67
+ export {
68
+ Y as GoalDetails
69
+ };
@@ -0,0 +1,82 @@
1
+ import { jsxs as B, jsx as c } from "react/jsx-runtime";
2
+ import u from "react";
3
+ import { observer as K } from "mobx-react-lite";
4
+ import M from "@mui/material/Stack";
5
+ import { Text as O } from "@mxenabled/mxui";
6
+ import { GoalDetails as P } from "../GoalDetails/index.es.js";
7
+ import { useAccountStore as V, useGlobalCopyStore as j, useGoalStore as W, useUserStore as L } from "../../../common/context/hooks/index.es.js";
8
+ import { TrackType as a } from "../../../common/types/Goal/index.es.js";
9
+ import U from "../../../common/components/drawer/Drawer/index.es.js";
10
+ import q from "../../../common/components/dialog/Dialog/index.es.js";
11
+ import { buildDynamicCopy as z } from "../../../common/utils/Localization/index.es.js";
12
+ const ae = K(({ onClose: G }) => {
13
+ const { visibleInvestmentAccounts: _ } = V(), { goals: o, common: r } = j(), {
14
+ addGoal: h,
15
+ addRetirementGoal: E,
16
+ deleteGoal: b,
17
+ deleteRetirementGoal: S,
18
+ newRetirementGoalAccounts: f,
19
+ retirementGoalAccounts: y,
20
+ selectedGoal: e,
21
+ setAlert: m,
22
+ setSelectedGoal: i,
23
+ updateGoal: v
24
+ } = W(), { user: T } = L(), [w, R] = u.useState(!1), n = !e?.guid, A = e?.track_type === a.SAVINGS_TRACK && e.is_complete && !e.has_been_spent, g = u.useMemo(() => {
25
+ const t = n ? f : y;
26
+ return _.filter((l) => t.some((s) => s.account_guid === l.guid));
27
+ }, [n, _, f, y]), x = u.useMemo(() => {
28
+ if (!e) return !1;
29
+ const { account_guid: t, track_type: l, name: s, amount: C, retirement_age: N } = e;
30
+ return l === a.SAVINGS_TRACK ? t ? !!s && !!C : !1 : l === a.RETIREMENT_TRACK ? g.length ? !!s && !!C && !!N && !!T.birthday : !1 : !0;
31
+ }, [e, g, T.birthday]);
32
+ let p = r.delete_button, d = () => R(!0);
33
+ n ? (d = () => D(), p = r.save_button) : A && (d = () => I(), p = o.mark_as_complete_button);
34
+ const D = async () => {
35
+ if (e) {
36
+ const t = e.track_type;
37
+ t !== a.RETIREMENT_TRACK ? await h(e) : t === a.RETIREMENT_TRACK && await E({ ...e, target_amount: e.amount }), m(o.alert_goal_added), i(void 0), t && G?.(t);
38
+ }
39
+ }, k = async () => {
40
+ e && (e.track_type !== a.RETIREMENT_TRACK ? await b(e.guid) : e.track_type === a.RETIREMENT_TRACK && await S(e), m(o.alert_goal_deleted), i(void 0));
41
+ }, I = async () => {
42
+ const t = {
43
+ ...e,
44
+ has_been_spent: !0
45
+ };
46
+ await v(t), m(o.alert_goal_completed), i(void 0);
47
+ };
48
+ return /* @__PURE__ */ B(M, { children: [
49
+ /* @__PURE__ */ c(
50
+ U,
51
+ {
52
+ ariaLabelClose: r.close_aria,
53
+ hasSecondaryAction: n,
54
+ isOpen: !!e,
55
+ isPrimaryDisabled: !x,
56
+ onClose: () => i(void 0),
57
+ onPrimaryAction: d,
58
+ primaryColor: n || A ? "primary" : "error",
59
+ primaryText: p,
60
+ secondaryColor: "primary",
61
+ title: o.goal_details,
62
+ children: e && /* @__PURE__ */ c(P, { goal: e })
63
+ }
64
+ ),
65
+ /* @__PURE__ */ c(
66
+ q,
67
+ {
68
+ copy: { close_aria: r.close_aria, title: o.delete_goal },
69
+ isOpen: w,
70
+ maxWidth: "xs",
71
+ onClose: () => R(!1),
72
+ onPrimaryAction: k,
73
+ primaryColor: "error",
74
+ primaryText: r.delete_button,
75
+ children: /* @__PURE__ */ c(O, { sx: { textWrap: "wrap" }, variant: "Paragraph", children: z(o.delete_description, e?.name || "") })
76
+ }
77
+ )
78
+ ] });
79
+ });
80
+ export {
81
+ ae as GoalDetailsDrawer
82
+ };
@@ -0,0 +1,87 @@
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import { observer as g } from "mobx-react-lite";
3
+ import y from "@mui/material/Button";
4
+ import x from "@mui/material/Card";
5
+ import G from "@mui/material/CardActionArea";
6
+ import A from "@mui/material/CardContent";
7
+ import _ from "@mui/material/Unstable_Grid2";
8
+ import r from "@mui/material/Stack";
9
+ import { Text as l, P as f, Icon as k } from "@mxenabled/mxui";
10
+ import { GoalStatusCard as I } from "../GoalStatusCard/index.es.js";
11
+ import { ManageGoals as v } from "../ManageGoals/index.es.js";
12
+ import { getZeroStateOngoing as w } from "../../util/GoalsUtil/index.es.js";
13
+ import { useScreenSize as R } from "../../../common/hooks/useScreenSize/index.es.js";
14
+ import { useGlobalCopyStore as T, useGoalStore as K } from "../../../common/context/hooks/index.es.js";
15
+ import { TrackType as i } from "../../../common/types/Goal/index.es.js";
16
+ import { formatCurrency as j } from "../../../common/utils/NumberFormatting/index.es.js";
17
+ const U = g(({ trackType: c, onAddGoals: u }) => {
18
+ const { isMobile: a } = R(), { goals: o } = T(), { orderedGoals: S, setSelectedGoal: s } = K(), m = S.filter((e) => e.track_type === c), d = m.filter(
19
+ (e) => e.track_type === i.SAVINGS_TRACK && !e.has_been_spent || e.track_type !== i.SAVINGS_TRACK && !e.is_complete
20
+ ), p = m.filter(
21
+ (e) => e.track_type === i.SAVINGS_TRACK && e.has_been_spent || e.track_type !== i.SAVINGS_TRACK && e.is_complete
22
+ ), b = c === i.DEBT_TRACK ? o.zero_state_complete_debt : o.zero_state_complete_savings;
23
+ return /* @__PURE__ */ n(r, { mt: 16, mx: a ? 24 : 0, children: [
24
+ /* @__PURE__ */ n(r, { alignItems: "center", direction: "row", justifyContent: "space-between", mb: 8, children: [
25
+ /* @__PURE__ */ t(l, { color: "text.secondary", variant: "Small", children: o.ongoing_title }),
26
+ /* @__PURE__ */ t(v, { trackType: c })
27
+ ] }),
28
+ d.length > 0 ? /* @__PURE__ */ t(_, { container: !0, spacing: 24, children: d.map((e, h, C) => (
29
+ // Goal should be full width in mobile or if it's the first goal (unless there are 2)
30
+ /* @__PURE__ */ t(_, { xs: a || h === 0 && C.length !== 2 ? 12 : 6, children: /* @__PURE__ */ t(I, { goal: e, onClick: () => s(e) }, e.guid) }, h)
31
+ )) }) : /* @__PURE__ */ n(
32
+ r,
33
+ {
34
+ alignItems: "center",
35
+ bgcolor: "background.default",
36
+ borderRadius: 2,
37
+ height: 166,
38
+ justifyContent: "center",
39
+ py: 18,
40
+ children: [
41
+ /* @__PURE__ */ t(
42
+ f,
43
+ {
44
+ sx: (e) => ({
45
+ color: "text.secondary",
46
+ [e.breakpoints.down("sm")]: {
47
+ px: 10
48
+ },
49
+ width: { sm: 381 }
50
+ }),
51
+ variant: "Small",
52
+ children: w(c, o)
53
+ }
54
+ ),
55
+ /* @__PURE__ */ t(y, { onClick: u, sx: { mt: 16, width: { sm: 224 } }, variant: "contained", children: o.add_goals_button })
56
+ ]
57
+ }
58
+ ),
59
+ c !== i.RETIREMENT_TRACK && /* @__PURE__ */ n(r, { gap: 16, mt: 48, children: [
60
+ /* @__PURE__ */ t(l, { color: "text.secondary", variant: "Small", children: o.complete_title }),
61
+ p.length === 0 && /* @__PURE__ */ t(r, { alignItems: "center", bgcolor: "background.default", borderRadius: 2, py: 18, children: /* @__PURE__ */ t(
62
+ f,
63
+ {
64
+ sx: (e) => ({
65
+ color: "text.secondary",
66
+ width: { sm: 393 },
67
+ [e.breakpoints.down("sm")]: {
68
+ px: 10
69
+ }
70
+ }),
71
+ variant: "Small",
72
+ children: b
73
+ }
74
+ ) }),
75
+ p.map((e) => /* @__PURE__ */ t(x, { elevation: 2, children: /* @__PURE__ */ t(G, { onClick: () => s(e), children: /* @__PURE__ */ t(A, { sx: { ":last-child": { pb: 16 } }, children: /* @__PURE__ */ n(r, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
76
+ /* @__PURE__ */ n(r, { alignItems: "center", direction: "row", gap: 6, children: [
77
+ /* @__PURE__ */ t(k, { color: "success", fill: !0, name: "check_circle", size: 20 }),
78
+ /* @__PURE__ */ t(l, { color: "text.secondary", variant: "Body", children: e.name })
79
+ ] }),
80
+ /* @__PURE__ */ t(l, { bold: !0, variant: "Body", children: j(e.amount, "0,0.00") })
81
+ ] }) }) }) }, e.guid))
82
+ ] })
83
+ ] });
84
+ });
85
+ export {
86
+ U as GoalList
87
+ };
@@ -0,0 +1,59 @@
1
+ import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
+ import { observer as x } from "mobx-react-lite";
3
+ import _ from "@mui/material/Avatar";
4
+ import S from "@mui/material/Card";
5
+ import A from "@mui/material/CardActionArea";
6
+ import $ from "@mui/material/CardContent";
7
+ import k from "@mui/material/CardHeader";
8
+ import d from "@mui/material/Stack";
9
+ import { Payments as g, NoteStack as j, Person as E } from "@mxenabled/mx-icons";
10
+ import { Text as n, H2 as R } from "@mxenabled/mxui";
11
+ import { getGoalStatusData as B } from "../../util/GoalsUtil/index.es.js";
12
+ import { useGlobalCopyStore as D } from "../../../common/context/hooks/index.es.js";
13
+ import { useScreenSize as H } from "../../../common/hooks/useScreenSize/index.es.js";
14
+ import { TrackType as c } from "../../../common/types/Goal/index.es.js";
15
+ import { formatCurrency as m } from "../../../common/utils/NumberFormatting/index.es.js";
16
+ import w from "../../../common/components/charts/StatusBar/index.es.js";
17
+ const G = (r, e) => e ? m(r, r < 1e3 ? "0" : "0.00a").replace(
18
+ /(\d+)(?:\.0+|(\.\d*?[1-9])0*)([a-zA-Z]* ?\$?)/g,
19
+ "$1$2$3"
20
+ ) : m(r, "0,0.00"), V = x(
21
+ ({ goal: r, isInDrawer: e = !1, onClick: s }) => {
22
+ const { goals: l } = D(), { isMobile: f, isTablet: h } = H(), o = f || h, {
23
+ backgroundColor: p,
24
+ color: u,
25
+ percentage: y,
26
+ percentageText: T,
27
+ projectedText: C
28
+ } = B(l, r), b = r.track_type === c.DEBT_TRACK ? r.initial_amount : r.amount, v = [
29
+ {
30
+ color: p,
31
+ percentage: `${y}`
32
+ }
33
+ ];
34
+ let a = /* @__PURE__ */ t(g, {});
35
+ return r.track_type === c.DEBT_TRACK ? a = /* @__PURE__ */ t(j, {}) : r.track_type === c.RETIREMENT_TRACK && (a = /* @__PURE__ */ t(E, {})), /* @__PURE__ */ t(S, { elevation: 2, children: /* @__PURE__ */ i(A, { disabled: !s, onClick: s, children: [
36
+ /* @__PURE__ */ t(
37
+ k,
38
+ {
39
+ avatar: /* @__PURE__ */ t(_, { sx: { bgcolor: p, color: u, height: 48, width: 48 }, variant: "rounded", children: a }),
40
+ subheader: /* @__PURE__ */ t(n, { variant: e || o ? "H3" : "H2", children: `${m(r.current_amount, o ? "0,0" : "0,0.00")} / ${G(
41
+ b,
42
+ o
43
+ )}` }),
44
+ title: /* @__PURE__ */ t(R, { color: "text.secondary", fontWeight: 400, variant: "Body", children: r.name })
45
+ }
46
+ ),
47
+ /* @__PURE__ */ t($, { sx: { pt: 0 }, children: /* @__PURE__ */ i(d, { gap: 6, children: [
48
+ /* @__PURE__ */ t(w, { data: v, height: 24 }),
49
+ /* @__PURE__ */ i(d, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
50
+ /* @__PURE__ */ t(n, { color: "text.secondary", variant: "XSmall", children: T }),
51
+ r.projected_to_complete_at && /* @__PURE__ */ t(n, { color: "text.secondary", variant: "XSmall", children: C })
52
+ ] })
53
+ ] }) })
54
+ ] }) });
55
+ }
56
+ );
57
+ export {
58
+ V as GoalStatusCard
59
+ };