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

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 (640) hide show
  1. package/dist/common/context/hooks.d.ts +13 -13
  2. package/dist/help/components/content/section/index.d.ts +15 -15
  3. package/dist/index.d.ts +22 -0
  4. package/dist/index.es.js +30335 -0
  5. package/dist/index.es.js.map +1 -0
  6. package/package.json +3 -155
  7. package/dist/accounts/AccountsMiniWidget/index.es.js +0 -45
  8. package/dist/accounts/AccountsWidget/index.es.js +0 -67
  9. package/dist/accounts/ConnectMiniWidget/index.es.js +0 -41
  10. package/dist/accounts/api/AccountApi/index.es.js +0 -20
  11. package/dist/accounts/components/AccountListItem/index.es.js +0 -84
  12. package/dist/accounts/components/AccountsList/index.es.js +0 -164
  13. package/dist/accounts/components/ConnectImage/index.es.js +0 -444
  14. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +0 -27
  15. package/dist/accounts/components/ConnectStatus/index.es.js +0 -37
  16. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +0 -12
  17. package/dist/accounts/components/ConnectionsDrawer/index.es.js +0 -54
  18. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +0 -134
  19. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +0 -21
  20. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +0 -103
  21. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +0 -120
  22. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +0 -58
  23. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +0 -43
  24. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +0 -50
  25. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +0 -47
  26. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +0 -20
  27. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +0 -74
  28. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +0 -37
  29. package/dist/accounts/constants/Accounts/index.es.js +0 -5
  30. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +0 -11
  31. package/dist/accounts/hooks/useUiStore/index.es.js +0 -11
  32. package/dist/accounts/index.es.js +0 -26
  33. package/dist/accounts/stores/AccountStore/index.es.js +0 -204
  34. package/dist/accounts/stores/UiStore/index.es.js +0 -15
  35. package/dist/accounts/utils/AccountFields/index.es.js +0 -136
  36. package/dist/accounts/utils/Accounts/index.es.js +0 -9
  37. package/dist/accounts/utils/getConnectionMessages/index.es.js +0 -162
  38. package/dist/analytics/SurveyMiniWidget/index.es.js +0 -101
  39. package/dist/analytics/components/OpenTextField/index.es.js +0 -23
  40. package/dist/analytics/components/RatingScale/index.es.js +0 -68
  41. package/dist/analytics/index.es.js +0 -4
  42. package/dist/analytics/stores/AnalyticsStore/index.es.js +0 -54
  43. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +0 -71
  44. package/dist/budgets/BubbleBudgetsWidget/index.es.js +0 -139
  45. package/dist/budgets/api/BudgetsApi/index.es.js +0 -26
  46. package/dist/budgets/components/AddBudgets/index.es.js +0 -30
  47. package/dist/budgets/components/BubbleBudgets/index.es.js +0 -61
  48. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +0 -97
  49. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +0 -27
  50. package/dist/budgets/components/BubbleChart/index.es.js +0 -22
  51. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +0 -95
  52. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +0 -42
  53. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +0 -36
  54. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +0 -16
  55. package/dist/budgets/components/BudgetList/index.es.js +0 -30
  56. package/dist/budgets/components/BudgetsEmptyState/index.es.js +0 -85
  57. package/dist/budgets/components/Overview/index.es.js +0 -105
  58. package/dist/budgets/components/addbudget/Header/index.es.js +0 -28
  59. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +0 -30
  60. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +0 -39
  61. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +0 -46
  62. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +0 -73
  63. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +0 -75
  64. package/dist/budgets/components/budgetdetails/Header/index.es.js +0 -31
  65. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +0 -102
  66. package/dist/budgets/components/shared/BudgetAmount/index.es.js +0 -37
  67. package/dist/budgets/index.es.js +0 -6
  68. package/dist/budgets/store/BudgetsStore/index.es.js +0 -139
  69. package/dist/budgets/utils/BubblesSVG/index.es.js +0 -51
  70. package/dist/budgets/utils/BudgetUtil/index.es.js +0 -70
  71. package/dist/cashflow/CashflowMiniWidget/index.es.js +0 -27
  72. package/dist/cashflow/CashflowOnboarding/index.es.js +0 -220
  73. package/dist/cashflow/CashflowWidget/index.es.js +0 -91
  74. package/dist/cashflow/api/CashflowApi/index.es.js +0 -25
  75. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +0 -32
  76. package/dist/cashflow/components/CashflowContent/index.es.js +0 -61
  77. package/dist/cashflow/components/CashflowHeading/index.es.js +0 -113
  78. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +0 -146
  79. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +0 -38
  80. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +0 -31
  81. package/dist/cashflow/components/DetailsFooter/index.es.js +0 -22
  82. package/dist/cashflow/components/DetailsTab/index.es.js +0 -92
  83. package/dist/cashflow/components/RemainingCash/index.es.js +0 -27
  84. package/dist/cashflow/components/SummaryTab/index.es.js +0 -258
  85. package/dist/cashflow/components/onboarding/StepOne/index.es.js +0 -82
  86. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +0 -17
  87. package/dist/cashflow/constants/CashflowImages/index.es.js +0 -7
  88. package/dist/cashflow/context/hooks/index.es.js +0 -11
  89. package/dist/cashflow/index.es.js +0 -12
  90. package/dist/cashflow/stores/CashflowStore/index.es.js +0 -19
  91. package/dist/cashflow/stores/UiStore/index.es.js +0 -38
  92. package/dist/cashflow/util/Filters/index.es.js +0 -7
  93. package/dist/categories/components/CategoryList/index.es.js +0 -38
  94. package/dist/categories/components/CategoryRow/index.es.js +0 -58
  95. package/dist/categories/components/CategorySelector/index.es.js +0 -48
  96. package/dist/categories/components/CategorySelectorDrawer/index.es.js +0 -30
  97. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +0 -40
  98. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +0 -66
  99. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +0 -30
  100. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +0 -29
  101. package/dist/categories/components/SubcategoryList/index.es.js +0 -39
  102. package/dist/categories/components/SubcategoryRow/index.es.js +0 -103
  103. package/dist/categories/constants/OnClickEvents/index.es.js +0 -16
  104. package/dist/categories/context/hooks/index.es.js +0 -11
  105. package/dist/categories/index.es.js +0 -12
  106. package/dist/categories/stores/CategoryStore/index.es.js +0 -135
  107. package/dist/categories/stores/UiStore/index.es.js +0 -27
  108. package/dist/categories/util/CategoryUtil/index.es.js +0 -78
  109. package/dist/common/api/AnalyticsApi/index.es.js +0 -34
  110. package/dist/common/api/AppDataApi/index.es.js +0 -12
  111. package/dist/common/api/BannerApi/index.es.js +0 -21
  112. package/dist/common/api/BeatApi/index.es.js +0 -22
  113. package/dist/common/api/CategoryApi/index.es.js +0 -30
  114. package/dist/common/api/GlobalCopyApi/index.es.js +0 -12
  115. package/dist/common/api/LocalizedCopyApi/index.es.js +0 -13
  116. package/dist/common/api/NotificationApi/index.es.js +0 -21
  117. package/dist/common/api/ScheduledPaymentsApi/index.es.js +0 -20
  118. package/dist/common/api/UserApi/index.es.js +0 -14
  119. package/dist/common/api/WidgetApi/index.es.js +0 -12
  120. package/dist/common/components/Banner/index.es.js +0 -49
  121. package/dist/common/components/ConnectCard/index.es.js +0 -56
  122. package/dist/common/components/ConnectDrawer/index.es.js +0 -58
  123. package/dist/common/components/CurrencyInput/index.es.js +0 -84
  124. package/dist/common/components/CurrencyText/index.es.js +0 -20
  125. package/dist/common/components/DataRow/index.es.js +0 -29
  126. package/dist/common/components/EmptyState/index.es.js +0 -55
  127. package/dist/common/components/ErrorBoundary/index.es.js +0 -24
  128. package/dist/common/components/IconBacking/index.es.js +0 -39
  129. package/dist/common/components/InformationTooltip/index.es.js +0 -41
  130. package/dist/common/components/ListItemAction/index.es.js +0 -69
  131. package/dist/common/components/ListItemRow/index.es.js +0 -67
  132. package/dist/common/components/ListItemWrapper/index.es.js +0 -32
  133. package/dist/common/components/Loader/index.es.js +0 -14
  134. package/dist/common/components/MicroWidgetContainer/index.es.js +0 -45
  135. package/dist/common/components/MiniWidgetContainer/index.es.js +0 -39
  136. package/dist/common/components/ResponsiveButton/index.es.js +0 -45
  137. package/dist/common/components/SearchBox/index.es.js +0 -42
  138. package/dist/common/components/Select/index.es.js +0 -25
  139. package/dist/common/components/SelectionBox/index.es.js +0 -48
  140. package/dist/common/components/SubheaderRow/index.es.js +0 -10
  141. package/dist/common/components/TabContentContainer/index.es.js +0 -21
  142. package/dist/common/components/WidgetContainer/index.es.js +0 -195
  143. package/dist/common/components/accountfilter/AccountFilter/index.es.js +0 -93
  144. package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +0 -222
  145. package/dist/common/components/addaccounts/AddAccounts/index.es.js +0 -43
  146. package/dist/common/components/barchart/Bar/index.es.js +0 -79
  147. package/dist/common/components/barchart/BarChart/index.es.js +0 -70
  148. package/dist/common/components/barchart/BarColumn/index.es.js +0 -86
  149. package/dist/common/components/barchart/Legend/index.es.js +0 -45
  150. package/dist/common/components/barchart/Util/index.es.js +0 -11
  151. package/dist/common/components/calendar/Calendar/index.es.js +0 -131
  152. package/dist/common/components/calendar/Day/index.es.js +0 -96
  153. package/dist/common/components/calendar/Header/index.es.js +0 -32
  154. package/dist/common/components/charts/Donut/index.es.js +0 -57
  155. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +0 -64
  156. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +0 -22
  157. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +0 -65
  158. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +0 -73
  159. package/dist/common/components/charts/LineChart/index.es.js +0 -208
  160. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +0 -24
  161. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +0 -69
  162. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +0 -70
  163. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +0 -22
  164. package/dist/common/components/charts/StackedLineChart/index.es.js +0 -222
  165. package/dist/common/components/charts/StatusBar/index.es.js +0 -30
  166. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +0 -254
  167. package/dist/common/components/dialog/Dialog/index.es.js +0 -61
  168. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +0 -60
  169. package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +0 -68
  170. package/dist/common/components/drawer/Drawer/index.es.js +0 -71
  171. package/dist/common/components/drawer/Header/index.es.js +0 -51
  172. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +0 -36
  173. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +0 -42
  174. package/dist/common/components/listitems/ToggleListItem/index.es.js +0 -38
  175. package/dist/common/constants/Account/index.es.js +0 -30
  176. package/dist/common/constants/Analytics/index.es.js +0 -117
  177. package/dist/common/constants/ApiEndpoints/index.es.js +0 -50
  178. package/dist/common/constants/Category/index.es.js +0 -301
  179. package/dist/common/constants/Connect/index.es.js +0 -5
  180. package/dist/common/constants/DateFormats/index.es.js +0 -65
  181. package/dist/common/constants/DefaultConfig/index.es.js +0 -105
  182. package/dist/common/constants/Donut/index.es.js +0 -5
  183. package/dist/common/constants/FinStrong/index.es.js +0 -31
  184. package/dist/common/constants/Numbers/index.es.js +0 -6
  185. package/dist/common/constants/ScheduledPayment/index.es.js +0 -15
  186. package/dist/common/constants/Sizes/index.es.js +0 -6
  187. package/dist/common/constants/SpendingPlan/index.es.js +0 -11
  188. package/dist/common/constants/Table/index.es.js +0 -16
  189. package/dist/common/context/GlobalDataProvider/index.es.js +0 -23
  190. package/dist/common/context/WidgetContainerProvider/index.es.js +0 -17
  191. package/dist/common/context/hooks/index.es.js +0 -44
  192. package/dist/common/hooks/useCombineEvents/index.es.js +0 -20
  193. package/dist/common/hooks/useDimensions/index.es.js +0 -36
  194. package/dist/common/hooks/useInsightsEnabled/index.es.js +0 -11
  195. package/dist/common/hooks/usePrevious/index.es.js +0 -11
  196. package/dist/common/hooks/useScreenSize/index.es.js +0 -36
  197. package/dist/common/index.es.js +0 -234
  198. package/dist/common/stores/AppDataStore/index.es.js +0 -57
  199. package/dist/common/stores/ConnectStore/index.es.js +0 -15
  200. package/dist/common/stores/GlobalCopyStore/index.es.js +0 -35
  201. package/dist/common/stores/GlobalStore/index.es.js +0 -90
  202. package/dist/common/stores/GlobalUiStore/index.es.js +0 -54
  203. package/dist/common/stores/UserStore/index.es.js +0 -50
  204. package/dist/common/types/Account/index.es.js +0 -118
  205. package/dist/common/types/Beat/index.es.js +0 -4
  206. package/dist/common/types/Expense/index.es.js +0 -5
  207. package/dist/common/types/Goal/index.es.js +0 -6
  208. package/dist/common/types/Notification/index.es.js +0 -7
  209. package/dist/common/types/RepeatingTransaction/index.es.js +0 -7
  210. package/dist/common/types/ScreenSize/index.es.js +0 -4
  211. package/dist/common/types/Transaction/index.es.js +0 -5
  212. package/dist/common/utils/AccountFilter/index.es.js +0 -13
  213. package/dist/common/utils/Analytics/index.es.js +0 -36
  214. package/dist/common/utils/Categories/index.es.js +0 -37
  215. package/dist/common/utils/DateUtil/index.es.js +0 -48
  216. package/dist/common/utils/Fetch/index.es.js +0 -69
  217. package/dist/common/utils/Localization/index.es.js +0 -30
  218. package/dist/common/utils/NumberFormatting/index.es.js +0 -38
  219. package/dist/common/utils/PostMessage/index.es.js +0 -19
  220. package/dist/common/utils/Theme/index.es.js +0 -136
  221. package/dist/dashboard/Dashboard/index.es.js +0 -47
  222. package/dist/dashboard/Greeting/index.es.js +0 -71
  223. package/dist/dashboard/constants/Dashboard/index.es.js +0 -4
  224. package/dist/dashboard/index.es.js +0 -6
  225. package/dist/debts/DebtsWidget/index.es.js +0 -111
  226. package/dist/debts/components/DebtDrawer/index.es.js +0 -28
  227. package/dist/debts/components/DebtsChart/index.es.js +0 -134
  228. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +0 -24
  229. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +0 -32
  230. package/dist/debts/components/DebtsTable/index.es.js +0 -174
  231. package/dist/debts/components/PaydownDrawer/index.es.js +0 -21
  232. package/dist/debts/components/SnowballCard/index.es.js +0 -65
  233. package/dist/debts/components/SnowballDrawer/index.es.js +0 -374
  234. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +0 -28
  235. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +0 -46
  236. package/dist/debts/components/actions/InterestRateAction/index.es.js +0 -42
  237. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +0 -44
  238. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +0 -44
  239. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +0 -41
  240. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +0 -51
  241. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +0 -38
  242. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +0 -80
  243. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +0 -61
  244. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +0 -25
  245. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +0 -31
  246. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +0 -34
  247. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +0 -74
  248. package/dist/debts/constants/index/index.es.js +0 -4
  249. package/dist/debts/hooks/useDebtsUiStore/index.es.js +0 -11
  250. package/dist/debts/index.es.js +0 -10
  251. package/dist/debts/store/DebtsStore/index.es.js +0 -20
  252. package/dist/debts/store/DebtsUiStore/index.es.js +0 -23
  253. package/dist/debts/utils/DebtStore/index.es.js +0 -26
  254. package/dist/debts/utils/DebtsChart/index.es.js +0 -13
  255. package/dist/debts/utils/DebtsTable/index.es.js +0 -15
  256. package/dist/debts/utils/DebtsWidget/index.es.js +0 -42
  257. package/dist/debts/utils/SnowballCard/index.es.js +0 -37
  258. package/dist/debts/utils/shared/index.es.js +0 -21
  259. package/dist/finstrong/FinancialStrengthCard/index.es.js +0 -113
  260. package/dist/finstrong/FinstrongWidget/index.es.js +0 -141
  261. package/dist/finstrong/api/FinstrongApi/index.es.js +0 -15
  262. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +0 -76
  263. package/dist/finstrong/components/CreditScoreGraph/index.es.js +0 -75
  264. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +0 -30
  265. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +0 -63
  266. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +0 -49
  267. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +0 -63
  268. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +0 -58
  269. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +0 -58
  270. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +0 -68
  271. package/dist/finstrong/components/ManageCreditScore/index.es.js +0 -49
  272. package/dist/finstrong/components/ManageDOB/index.es.js +0 -62
  273. package/dist/finstrong/components/MissingData/index.es.js +0 -38
  274. package/dist/finstrong/components/ProfileDrawer/index.es.js +0 -107
  275. package/dist/finstrong/components/ProfileList/index.es.js +0 -56
  276. package/dist/finstrong/components/ProfileProgressBar/index.es.js +0 -26
  277. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +0 -69
  278. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +0 -63
  279. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +0 -190
  280. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +0 -106
  281. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +0 -20
  282. package/dist/finstrong/index.es.js +0 -14
  283. package/dist/finstrong/stores/FinstrongStore/index.es.js +0 -81
  284. package/dist/finstrong/util/finstrongUtils/index.es.js +0 -108
  285. package/dist/finstrong/utils/Finstrong/index.es.js +0 -13
  286. package/dist/goals/GoalsMicroWidget/index.es.js +0 -51
  287. package/dist/goals/GoalsWidget/index.es.js +0 -138
  288. package/dist/goals/api/GoalApi/index.es.js +0 -26
  289. package/dist/goals/components/AccountSelectionDrawer/index.es.js +0 -73
  290. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +0 -51
  291. package/dist/goals/components/AddGoal/index.es.js +0 -56
  292. package/dist/goals/components/GoalDetails/index.es.js +0 -69
  293. package/dist/goals/components/GoalDetailsDrawer/index.es.js +0 -82
  294. package/dist/goals/components/GoalList/index.es.js +0 -87
  295. package/dist/goals/components/GoalStatusCard/index.es.js +0 -59
  296. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +0 -35
  297. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +0 -47
  298. package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +0 -118
  299. package/dist/goals/components/ManageGoals/index.es.js +0 -74
  300. package/dist/goals/components/TabTitle/index.es.js +0 -12
  301. package/dist/goals/components/actions/AccountAction/index.es.js +0 -46
  302. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +0 -66
  303. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +0 -46
  304. package/dist/goals/components/actions/BirthdayAction/index.es.js +0 -42
  305. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +0 -91
  306. package/dist/goals/components/actions/ContributionAction/index.es.js +0 -46
  307. package/dist/goals/components/actions/GoalNameAction/index.es.js +0 -42
  308. package/dist/goals/components/actions/InterestRateAction/index.es.js +0 -44
  309. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +0 -45
  310. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +0 -45
  311. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +0 -43
  312. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +0 -42
  313. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +0 -31
  314. package/dist/goals/index.es.js +0 -10
  315. package/dist/goals/stores/GoalStore/index.es.js +0 -184
  316. package/dist/goals/util/GoalsUtil/index.es.js +0 -98
  317. package/dist/help/HelpWidget/index.es.js +0 -13
  318. package/dist/help/api/HelpApi/index.es.js +0 -12
  319. package/dist/help/components/Help/index.es.js +0 -45
  320. package/dist/help/components/HelpContent/index.es.js +0 -32
  321. package/dist/help/components/HelpList/index.es.js +0 -118
  322. package/dist/help/components/content/BottomImageContent/index.es.js +0 -50
  323. package/dist/help/components/content/ContentItem/index.es.js +0 -21
  324. package/dist/help/components/content/Header/index.es.js +0 -62
  325. package/dist/help/components/content/LeftImageContent/index.es.js +0 -50
  326. package/dist/help/components/content/NoImageContent/index.es.js +0 -14
  327. package/dist/help/components/content/RightImageContent/index.es.js +0 -48
  328. package/dist/help/components/content/TopImageContent/index.es.js +0 -50
  329. package/dist/help/components/content/section/Accounts/index.es.js +0 -249
  330. package/dist/help/components/content/section/Budgets/index.es.js +0 -102
  331. package/dist/help/components/content/section/CashFlow/index.es.js +0 -71
  332. package/dist/help/components/content/section/Debts/index.es.js +0 -252
  333. package/dist/help/components/content/section/General/index.es.js +0 -163
  334. package/dist/help/components/content/section/Goals/index.es.js +0 -195
  335. package/dist/help/components/content/section/Insights/index.es.js +0 -136
  336. package/dist/help/components/content/section/Investments/index.es.js +0 -71
  337. package/dist/help/components/content/section/Mobile/index.es.js +0 -85
  338. package/dist/help/components/content/section/NetWorth/index.es.js +0 -142
  339. package/dist/help/components/content/section/Notifications/index.es.js +0 -120
  340. package/dist/help/components/content/section/RecurringTransactions/index.es.js +0 -104
  341. package/dist/help/components/content/section/Spending/index.es.js +0 -112
  342. package/dist/help/components/content/section/Transactions/index.es.js +0 -389
  343. package/dist/help/components/content/section/Trends/index.es.js +0 -83
  344. package/dist/help/components/content/section/index/index.es.js +0 -35
  345. package/dist/help/components/requestsupport/ContactSupport/index.es.js +0 -99
  346. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +0 -82
  347. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +0 -95
  348. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +0 -50
  349. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +0 -22
  350. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +0 -30
  351. package/dist/help/components/requestsupport/RequestSupport/index.es.js +0 -179
  352. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +0 -26
  353. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +0 -39
  354. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +0 -75
  355. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +0 -29
  356. package/dist/help/constants/Help/index.es.js +0 -299
  357. package/dist/help/constants/HelpImages/index.es.js +0 -47
  358. package/dist/help/index.es.js +0 -6
  359. package/dist/help/store/HelpStore/index.es.js +0 -42
  360. package/dist/help/utils/getAccessibleHelpCategories/index.es.js +0 -21
  361. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +0 -14
  362. package/dist/insights/index.d.ts +0 -1
  363. package/dist/insights/index.es.js +0 -4
  364. package/dist/insights/store/BeatStore/index.es.js +0 -35
  365. package/dist/investments/InvestmentsWidget/index.es.js +0 -107
  366. package/dist/investments/api/HoldingApi/index.es.js +0 -13
  367. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +0 -126
  368. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +0 -67
  369. package/dist/investments/components/Allocation/index.es.js +0 -67
  370. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +0 -134
  371. package/dist/investments/components/Analysis/index.es.js +0 -169
  372. package/dist/investments/components/AnalysisDetails/index.es.js +0 -81
  373. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +0 -52
  374. package/dist/investments/components/HeaderCell/index.es.js +0 -11
  375. package/dist/investments/components/HoldingDrawer/index.es.js +0 -322
  376. package/dist/investments/components/HoldingTable/index.es.js +0 -183
  377. package/dist/investments/components/InfoToolTip/index.es.js +0 -25
  378. package/dist/investments/components/Overview/index.es.js +0 -441
  379. package/dist/investments/components/TabTitle/index.es.js +0 -6
  380. package/dist/investments/constants/index/index.es.js +0 -53
  381. package/dist/investments/index.es.js +0 -4
  382. package/dist/investments/stores/HoldingStore/index.es.js +0 -59
  383. package/dist/investments/util/InvestmentUtil/index.es.js +0 -100
  384. package/dist/merchants/api/MerchantApi/index.es.js +0 -16
  385. package/dist/merchants/components/MerchantLookup/index.es.js +0 -77
  386. package/dist/merchants/index.es.js +0 -6
  387. package/dist/merchants/stores/MerchantStore/index.es.js +0 -26
  388. package/dist/microinsights/analytics/index.es.js +0 -10
  389. package/dist/microinsights/components/MicroWidgetContainer/index.es.js +0 -28
  390. package/dist/microinsights/components/beatCard/BeatCard/index.es.js +0 -98
  391. package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +0 -13
  392. package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +0 -22
  393. package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +0 -24
  394. package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +0 -31
  395. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +0 -14
  396. package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +0 -786
  397. package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +0 -82
  398. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +0 -105
  399. package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +0 -101
  400. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +0 -187
  401. package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +0 -152
  402. package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +0 -67
  403. package/dist/microinsights/components/spinner/Spinner/index.es.js +0 -19
  404. package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +0 -58
  405. package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +0 -55
  406. package/dist/microinsights/constants/Analytics/index.es.js +0 -163
  407. package/dist/microinsights/constants/App/index.es.js +0 -11
  408. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +0 -12
  409. package/dist/microinsights/context/hooks/index.es.js +0 -31
  410. package/dist/microinsights/index.es.js +0 -28
  411. package/dist/microinsights/stores/AppStore/index.es.js +0 -25
  412. package/dist/microinsights/stores/CopyStore/index.es.js +0 -32
  413. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +0 -31
  414. package/dist/microinsights/utils/DataSeries/index.es.js +0 -9
  415. package/dist/microinsights/utils/beatUtils/index.es.js +0 -51
  416. package/dist/networth/NetWorthMicroWidget/index.es.js +0 -44
  417. package/dist/networth/NetWorthWidget/index.es.js +0 -159
  418. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +0 -109
  419. package/dist/networth/components/GainsLossesDetail/index.es.js +0 -94
  420. package/dist/networth/components/NetWorthChange/index.es.js +0 -31
  421. package/dist/networth/components/NetWorthChart/index.es.js +0 -45
  422. package/dist/networth/components/NetWorthList/index.es.js +0 -60
  423. package/dist/networth/components/NetWorthListItem/index.es.js +0 -60
  424. package/dist/networth/components/NetWorthSummary/index.es.js +0 -20
  425. package/dist/networth/components/micro/NetworthData/index.es.js +0 -21
  426. package/dist/networth/components/micro/ZeroState/index.es.js +0 -14
  427. package/dist/networth/index.es.js +0 -14
  428. package/dist/networth/stores/NetWorthStore/index.es.js +0 -65
  429. package/dist/networth/utils/NetWorthUtils/index.es.js +0 -95
  430. package/dist/notifications/components/DateRow/index.es.js +0 -8
  431. package/dist/notifications/components/NotificationBadge/index.es.js +0 -26
  432. package/dist/notifications/components/NotificationCard/index.es.js +0 -42
  433. package/dist/notifications/components/NotificationDrawer/index.es.js +0 -67
  434. package/dist/notifications/components/NotificationList/index.es.js +0 -36
  435. package/dist/notifications/components/NotificationsEmptyState/index.es.js +0 -34
  436. package/dist/notifications/constants/NotificationConstants/index.es.js +0 -22
  437. package/dist/notifications/index.es.js +0 -12
  438. package/dist/notifications/stores/NotificationStore/index.es.js +0 -37
  439. package/dist/notifications/utils/NotificationUtils/index.es.js +0 -16
  440. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +0 -179
  441. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +0 -37
  442. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +0 -67
  443. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +0 -19
  444. package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +0 -18
  445. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +0 -32
  446. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +0 -100
  447. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +0 -20
  448. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +0 -69
  449. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +0 -149
  450. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +0 -42
  451. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +0 -130
  452. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +0 -163
  453. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +0 -56
  454. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +0 -17
  455. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +0 -44
  456. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +0 -31
  457. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +0 -32
  458. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +0 -84
  459. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +0 -68
  460. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +0 -114
  461. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +0 -44
  462. package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +0 -31
  463. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +0 -38
  464. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +0 -108
  465. package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +0 -37
  466. package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +0 -36
  467. package/dist/recurringtransactions/index.es.js +0 -20
  468. package/dist/recurringtransactions/stores/RecurringTransactionsStore/index.es.js +0 -247
  469. package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +0 -232
  470. package/dist/settings/NotificationSettingsWidget/index.es.js +0 -13
  471. package/dist/settings/SettingsWidget/index.es.js +0 -55
  472. package/dist/settings/TransactionRulesWidget/index.es.js +0 -12
  473. package/dist/settings/api/SettingsApi/index.es.js +0 -23
  474. package/dist/settings/components/SettingsWidgetContents/index.es.js +0 -47
  475. package/dist/settings/components/devices/DeviceDialog/index.es.js +0 -129
  476. package/dist/settings/components/devices/DeviceList/index.es.js +0 -118
  477. package/dist/settings/components/devices/DeviceTab/index.es.js +0 -79
  478. package/dist/settings/components/devices/DeviceTable/index.es.js +0 -134
  479. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +0 -80
  480. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +0 -55
  481. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +0 -102
  482. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +0 -12
  483. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +0 -77
  484. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +0 -12
  485. package/dist/settings/components/notifications/NotificationProfile/index.es.js +0 -96
  486. package/dist/settings/components/notifications/NotificationSettings/index.es.js +0 -89
  487. package/dist/settings/components/notifications/PersonalDetails/index.es.js +0 -99
  488. package/dist/settings/components/profile/ProfileTab/index.es.js +0 -204
  489. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +0 -63
  490. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +0 -80
  491. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +0 -36
  492. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +0 -23
  493. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +0 -34
  494. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +0 -38
  495. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +0 -52
  496. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +0 -33
  497. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +0 -52
  498. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +0 -20
  499. package/dist/settings/constants/Settings/index.es.js +0 -4
  500. package/dist/settings/index.es.js +0 -29
  501. package/dist/settings/stores/SettingsStore/index.es.js +0 -187
  502. package/dist/settings/util/Notifications/index.es.js +0 -64
  503. package/dist/spending/SpendingMiniWidget/index.es.js +0 -26
  504. package/dist/spending/SpendingWidget/index.es.js +0 -38
  505. package/dist/spending/components/MiniSpendingChart/index.es.js +0 -115
  506. package/dist/spending/components/Spending/index.es.js +0 -141
  507. package/dist/spending/components/SpendingChart/index.es.js +0 -61
  508. package/dist/spending/components/SpendingDonut/index.es.js +0 -69
  509. package/dist/spending/components/SpendingLegend/index.es.js +0 -25
  510. package/dist/spending/components/SpendingList/index.es.js +0 -96
  511. package/dist/spending/components/SpendingTabLabel/index.es.js +0 -11
  512. package/dist/spending/index.es.js +0 -6
  513. package/dist/spending/utils/SpendingData/index.es.js +0 -86
  514. package/dist/transactions/TransactionWidget/index.es.js +0 -242
  515. package/dist/transactions/analytics/index.es.js +0 -5
  516. package/dist/transactions/api/TransactionApi/index.es.js +0 -87
  517. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +0 -68
  518. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +0 -43
  519. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +0 -126
  520. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +0 -27
  521. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +0 -105
  522. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +0 -81
  523. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +0 -60
  524. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +0 -60
  525. package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +0 -90
  526. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +0 -91
  527. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +0 -143
  528. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +0 -75
  529. package/dist/transactions/components/shared/TransactionDetails/index.es.js +0 -79
  530. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +0 -84
  531. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +0 -17
  532. package/dist/transactions/components/shared/TransactionList/index.es.js +0 -82
  533. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +0 -9
  534. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +0 -20
  535. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +0 -29
  536. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +0 -8
  537. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +0 -38
  538. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +0 -6
  539. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +0 -16
  540. package/dist/transactions/components/shared/TransactionTable/index.es.js +0 -110
  541. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +0 -69
  542. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +0 -126
  543. package/dist/transactions/components/tagmanager/Header/index.es.js +0 -78
  544. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +0 -37
  545. package/dist/transactions/components/tagmanager/TagManager/index.es.js +0 -32
  546. package/dist/transactions/components/tagmanager/TagRow/index.es.js +0 -114
  547. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +0 -29
  548. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +0 -54
  549. package/dist/transactions/constants/Actions/index.es.js +0 -19
  550. package/dist/transactions/constants/Analytics/index.es.js +0 -259
  551. package/dist/transactions/constants/OnClickEvents/index.es.js +0 -48
  552. package/dist/transactions/constants/Transaction/index.es.js +0 -33
  553. package/dist/transactions/constants/TransactionsTable/index.es.js +0 -11
  554. package/dist/transactions/context/hooks/index.es.js +0 -11
  555. package/dist/transactions/index.es.js +0 -27
  556. package/dist/transactions/stores/TransactionStore/index.es.js +0 -224
  557. package/dist/transactions/stores/UiStore/index.es.js +0 -48
  558. package/dist/transactions/utils/Filters/index.es.js +0 -9
  559. package/dist/transactions/utils/Transactions/index.es.js +0 -13
  560. package/dist/transactions/utils/buildDetailedTransactions/index.es.js +0 -35
  561. package/dist/transactions/utils/exportTransactionsToCSV/index.es.js +0 -47
  562. package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +0 -44
  563. package/dist/trends/TrendsFullWidget/index.es.js +0 -157
  564. package/dist/trends/TrendsMicroWidget/index.es.js +0 -86
  565. package/dist/trends/TrendsMiniWidget/index.es.js +0 -28
  566. package/dist/trends/TrendsWidget/index.es.js +0 -173
  567. package/dist/trends/ZeroStateMicroWidget/index.es.js +0 -19
  568. package/dist/trends/components/CategoriesList/index.es.js +0 -62
  569. package/dist/trends/components/CategoriesListItem/index.es.js +0 -25
  570. package/dist/trends/components/CategoryDetailChart/index.es.js +0 -34
  571. package/dist/trends/components/CategoryDetailDrawer/index.es.js +0 -44
  572. package/dist/trends/components/DateRangeText/index.es.js +0 -39
  573. package/dist/trends/components/SpendingChart/index.es.js +0 -28
  574. package/dist/trends/components/TransactionsList/index.es.js +0 -81
  575. package/dist/trends/components/TrendsChart/index.es.js +0 -45
  576. package/dist/trends/components/TrendsChartTotals/index.es.js +0 -56
  577. package/dist/trends/components/TrendsDrawer/index.es.js +0 -48
  578. package/dist/trends/components/TrendsInsights/index.es.js +0 -43
  579. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +0 -96
  580. package/dist/trends/components/TrendsTable/AmountCell/index.es.js +0 -10
  581. package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +0 -30
  582. package/dist/trends/components/TrendsTable/HeaderCell/index.es.js +0 -6
  583. package/dist/trends/components/TrendsTable/index.es.js +0 -96
  584. package/dist/trends/components/TrendsViewToggle/index.es.js +0 -17
  585. package/dist/trends/constants/TrendsInsights/index.es.js +0 -38
  586. package/dist/trends/index.es.js +0 -12
  587. package/dist/trends/stores/TrendsStore/index.es.js +0 -77
  588. package/dist/trends/utils/SpendingData/index.es.js +0 -47
  589. package/dist/trends/utils/TrendsData/index.es.js +0 -41
  590. package/dist/trends/utils/shared/index.es.js +0 -15
  591. /package/dist/budgets/components/{BubbleChart → bubblechart}/Bubble.d.ts +0 -0
  592. /package/dist/budgets/components/{BubbleChart → bubblechart}/Mercury.d.ts +0 -0
  593. /package/dist/budgets/components/{BudgetList → budgetlist}/BudgetRow.d.ts +0 -0
  594. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetRow.d.ts +0 -0
  595. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetZeroState.d.ts +0 -0
  596. /package/dist/common/components/charts/{LineChart → linechart}/CustomLegend.d.ts +0 -0
  597. /package/dist/common/components/charts/{LineChart → linechart}/CustomLine.d.ts +0 -0
  598. /package/dist/common/components/charts/{LineChart → linechart}/CustomMark.d.ts +0 -0
  599. /package/dist/common/components/charts/{LineChart → linechart}/CustomTooltip.d.ts +0 -0
  600. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CategoryIconLabel.d.ts +0 -0
  601. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomAreaTooltip.d.ts +0 -0
  602. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomLegend.d.ts +0 -0
  603. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomPointTooltip.d.ts +0 -0
  604. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/utils.d.ts +0 -0
  605. /package/dist/debts/components/{DebtsTable → debtstable}/AccountCell.d.ts +0 -0
  606. /package/dist/debts/components/{DebtsTable → debtstable}/PriorityCell.d.ts +0 -0
  607. /package/dist/goals/components/{AddGoal → addgoal}/AddGoalListItem.d.ts +0 -0
  608. /package/dist/goals/components/{ManageGoals → managegoals}/CompleteListItem.d.ts +0 -0
  609. /package/dist/goals/components/{ManageGoals → managegoals}/OngoingListItem.d.ts +0 -0
  610. /package/dist/goals/components/{ManageGoals → managegoals}/ReorderGoals.d.ts +0 -0
  611. /package/dist/investments/components/{Allocation → allocation}/InvestementAllocationList.d.ts +0 -0
  612. /package/dist/investments/components/{Allocation → allocation}/InvestmentsAllocationChart.d.ts +0 -0
  613. /package/dist/investments/components/{Allocation → allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  614. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/Description.d.ts +0 -0
  615. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/FlagTransaction.d.ts +0 -0
  616. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/ManualTransactionDetails.d.ts +0 -0
  617. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/TransactionAmountHeader.d.ts +0 -0
  618. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/CategoryAction.d.ts +0 -0
  619. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DateAction.d.ts +0 -0
  620. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteAction.d.ts +0 -0
  621. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteLogoAction.d.ts +0 -0
  622. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/HideAction.d.ts +0 -0
  623. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/MemoAction.d.ts +0 -0
  624. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/SplitAction.d.ts +0 -0
  625. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/TagsAction.d.ts +0 -0
  626. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/index.d.ts +0 -0
  627. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/DateRow.d.ts +0 -0
  628. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/TransactionRow.d.ts +0 -0
  629. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/ZeroState.d.ts +0 -0
  630. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AccountCell.d.ts +0 -0
  631. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AmountCell.d.ts +0 -0
  632. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/CategoryCell.d.ts +0 -0
  633. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/DateCell.d.ts +0 -0
  634. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/FlagCell.d.ts +0 -0
  635. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/HeaderCell.d.ts +0 -0
  636. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/PayeeCell.d.ts +0 -0
  637. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/index.d.ts +0 -0
  638. /package/dist/trends/components/{TrendsTable → trendstable}/AmountCell.d.ts +0 -0
  639. /package/dist/trends/components/{TrendsTable → trendstable}/CategoryCell.d.ts +0 -0
  640. /package/dist/trends/components/{TrendsTable → trendstable}/HeaderCell.d.ts +0 -0
@@ -1,441 +0,0 @@
1
- import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
- import te, { useState as g } from "react";
3
- import { observer as oe } from "mobx-react-lite";
4
- import re from "@mui/material/Accordion";
5
- import ne from "@mui/material/AccordionDetails";
6
- import ie from "@mui/material/AccordionSummary";
7
- import A from "@mui/material/Paper";
8
- import s from "@mui/system/Stack";
9
- import se from "@mui/material/styles/useTheme";
10
- import { Icon as x } from "@mxenabled/mx-icons";
11
- import { Text as i, H1 as ae, InstitutionLogo as G } from "@mxenabled/mxui";
12
- import le from "../../../accounts/components/ConnectionsDrawer/index.es.js";
13
- import { EmptyStateFooterComponent as ce } from "../EmptyStateFooterComponent/index.es.js";
14
- import de from "../HoldingDrawer/index.es.js";
15
- import me from "../HoldingTable/index.es.js";
16
- import { useScreenSize as ge } from "../../../common/hooks/useScreenSize/index.es.js";
17
- import { useGlobalUiStore as z, useHoldingStore as T, useGlobalCopyStore as ue, useAccountStore as pe } from "../../../common/context/hooks/index.es.js";
18
- import xe from "../../../common/components/Loader/index.es.js";
19
- const he = () => {
20
- const { isMobile: b } = ge(), [S, j] = g({}), [E, D] = g(!1), { selectedAccountGuids: X } = z(), { visibleHoldings: N, updateHoldings: M } = T(), [O, R] = te.useState(!1), [C, w] = g({
21
- accounts: [],
22
- holdings: []
23
- }), { accounts: P, investments: m } = ue(), { isCopyLoaded: V } = z(), [_, h] = g(null), [f, B] = g(""), y = se().palette.mode === "dark", I = y ? "#0AC295" : "#09A57F", F = y ? "grey.300" : "grey.700", c = (e, o = "lesserThan") => o === "greaterThan" ? e >= 0 ? I : F : e <= 0 ? F : I, H = (e, o) => {
24
- h(e), B(o.toFixed(2));
25
- }, L = (e) => {
26
- const o = e.target.value;
27
- /^\d*\.?\d*$/.test(o) && B(o);
28
- }, k = (e, o) => {
29
- e.key === "Enter" ? v(o) : e.key === "Escape" && h(null);
30
- }, v = (e) => {
31
- const o = N.find(({ guid: l }) => l === e);
32
- if (!o) return;
33
- const d = Number(f);
34
- if (M({ ...o, cost_basis: d }), b) {
35
- const l = C.holdings.map(
36
- (n) => n.id === e ? { ...n, costBasis: d } : n
37
- );
38
- w((n) => ({
39
- ...n,
40
- holdings: l
41
- }));
42
- }
43
- h(null);
44
- }, $ = (e) => (o, d) => {
45
- j((l) => ({
46
- ...l,
47
- [e]: d
48
- }));
49
- }, { visibleHoldings: U } = T(), { visibleInvestmentAccounts: q } = pe(), u = q.filter(
50
- ({ guid: e }) => X.includes(e)
51
- ), K = u.reduce((e, o) => e + (o.balance || 0), 0), J = u.map(({ guid: e }) => e), p = U.filter(
52
- ({ account_guid: e }) => J.includes(e)
53
- ).reduce((e, o) => {
54
- const d = o.market_value ? o.market_value - (o.cost_basis || 0) : 0;
55
- return e + d;
56
- }, 0), Q = () => {
57
- D(!1);
58
- };
59
- return V ? /* @__PURE__ */ r(s, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
60
- !!u.length && /* @__PURE__ */ r(s, { sx: { alignItems: "center" }, children: [
61
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, children: m.overview.total_portfolio }),
62
- /* @__PURE__ */ t(ae, { children: K.toLocaleString("en-US", {
63
- currency: "USD",
64
- maximumFractionDigits: 2,
65
- minimumFractionDigits: 2,
66
- style: "currency"
67
- }) }),
68
- /* @__PURE__ */ r(s, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
69
- /* @__PURE__ */ t(
70
- x,
71
- {
72
- name: p >= 0 ? "trending_up" : "trending_down",
73
- size: 20,
74
- sx: { color: c(p, "greaterThan") }
75
- }
76
- ),
77
- /* @__PURE__ */ t(
78
- i,
79
- {
80
- sx: { color: c(p, "greaterThan"), fontWeight: 700 },
81
- variant: "Small",
82
- children: p.toLocaleString("en-US", {
83
- currency: "USD",
84
- maximumFractionDigits: 2,
85
- minimumFractionDigits: 2,
86
- style: "currency"
87
- })
88
- }
89
- )
90
- ] })
91
- ] }),
92
- u.map((e) => {
93
- const o = U.filter((a) => a.account_guid === e.guid).map((a) => ({
94
- id: a.guid,
95
- qty: a.shares || 0,
96
- holding: a.symbol || a.description || "Unknown",
97
- costBasis: a.cost_basis || 0,
98
- totalGainLoss: a.market_value ? a.market_value - (a.cost_basis || 0) : 0,
99
- marketValue: a.market_value || 0,
100
- description: a.description || ""
101
- })), d = o.length > 0, l = e.balance, n = o.reduce(
102
- (a, ee) => ee.totalGainLoss + a,
103
- 0
104
- ), W = l ? n / l * 100 : 0;
105
- if (b)
106
- return /* @__PURE__ */ t(
107
- A,
108
- {
109
- onClick: o.length ? () => {
110
- D(!0), w({
111
- holdings: o,
112
- accounts: e
113
- });
114
- } : void 0,
115
- sx: {
116
- width: "100%",
117
- overflow: "hidden"
118
- },
119
- children: /* @__PURE__ */ r(
120
- s,
121
- {
122
- sx: {
123
- border: 1,
124
- borderColor: "border.main",
125
- borderRadius: "8px",
126
- ml: 16,
127
- mr: 16,
128
- overflow: "hidden",
129
- pt: 14
130
- },
131
- children: [
132
- /* @__PURE__ */ r(
133
- s,
134
- {
135
- sx: {
136
- alignItems: "center",
137
- borderBottom: 1,
138
- borderColor: "border.main",
139
- flexDirection: "row",
140
- pb: 14,
141
- pl: 14,
142
- pr: 14
143
- },
144
- children: [
145
- /* @__PURE__ */ t(
146
- G,
147
- {
148
- alt: e.institutionName || "",
149
- institutionGuid: e.institution_guid || "",
150
- size: 32
151
- }
152
- ),
153
- /* @__PURE__ */ r(s, { sx: { overflow: "hidden", pl: 13, pr: 13 }, children: [
154
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: e.memberName }),
155
- /* @__PURE__ */ t(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: e.user_name || e.name })
156
- ] })
157
- ]
158
- }
159
- ),
160
- /* @__PURE__ */ r(
161
- s,
162
- {
163
- sx: {
164
- alignItems: "center",
165
- flexDirection: "row",
166
- justifyContent: "space-between",
167
- pb: 8,
168
- pt: 8
169
- },
170
- children: [
171
- /* @__PURE__ */ r(
172
- s,
173
- {
174
- sx: {
175
- alignItems: "center",
176
- borderRight: 1,
177
- borderColor: "border.main",
178
- flex: 1,
179
- justifyContent: "center",
180
- pb: 14,
181
- pl: 7,
182
- pr: 7,
183
- pt: 14
184
- },
185
- children: [
186
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary", fontSize: 11 }, variant: "Small", children: m.overview.total_gain_Loss }),
187
- /* @__PURE__ */ r(
188
- s,
189
- {
190
- sx: {
191
- alignItems: "center",
192
- flexDirection: "row",
193
- gap: 2,
194
- justifyContent: "flex-end"
195
- },
196
- children: [
197
- n !== 0 && /* @__PURE__ */ t(
198
- x,
199
- {
200
- name: n > 0 ? "trending_up" : "trending_down",
201
- size: 20,
202
- sx: { color: c(n) }
203
- }
204
- ),
205
- /* @__PURE__ */ r(
206
- i,
207
- {
208
- sx: {
209
- color: c(n),
210
- fontWeight: 600
211
- },
212
- variant: "Body",
213
- children: [
214
- W.toFixed(2),
215
- "%"
216
- ]
217
- }
218
- ),
219
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: "|" }),
220
- /* @__PURE__ */ t(
221
- i,
222
- {
223
- sx: {
224
- color: c(n),
225
- fontWeight: 600
226
- },
227
- variant: "Body",
228
- children: Math.abs(n).toLocaleString("en-US", {
229
- currency: "USD",
230
- maximumFractionDigits: 2,
231
- minimumFractionDigits: 2,
232
- style: "currency"
233
- })
234
- }
235
- )
236
- ]
237
- }
238
- )
239
- ]
240
- }
241
- ),
242
- /* @__PURE__ */ r(
243
- s,
244
- {
245
- sx: {
246
- alignItems: "center",
247
- flex: 1,
248
- justifyContent: "center",
249
- pb: 14,
250
- pl: 7,
251
- pr: 7,
252
- pt: 14
253
- },
254
- children: [
255
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: m.overview.total_value }),
256
- /* @__PURE__ */ t(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: l?.toLocaleString("en-US", {
257
- currency: "USD",
258
- maximumFractionDigits: 2,
259
- minimumFractionDigits: 2,
260
- style: "currency"
261
- }) })
262
- ]
263
- }
264
- )
265
- ]
266
- }
267
- )
268
- ]
269
- }
270
- )
271
- },
272
- e.guid
273
- );
274
- const Y = y ? "grey.700" : "grey.400", Z = o.length ? "text.primary" : Y;
275
- return /* @__PURE__ */ r(
276
- re,
277
- {
278
- expanded: S[e.guid] === !0,
279
- onChange: d ? $(e.guid) : () => {
280
- },
281
- sx: {
282
- border: 1,
283
- borderColor: "divider",
284
- borderRadius: "4px",
285
- width: "100%"
286
- },
287
- children: [
288
- /* @__PURE__ */ r(
289
- ie,
290
- {
291
- "aria-controls": "panel1a-content",
292
- id: "panel1a-header",
293
- sx: [
294
- S[e.guid] && {
295
- borderBottom: 1,
296
- borderColor: "border.main",
297
- maxHeight: 88
298
- }
299
- ],
300
- children: [
301
- /* @__PURE__ */ r(
302
- s,
303
- {
304
- sx: {
305
- alignItems: "center",
306
- flexDirection: "row",
307
- gap: 13,
308
- p: 14,
309
- width: "100%"
310
- },
311
- children: [
312
- /* @__PURE__ */ t(x, { name: "expand_more", size: 20, sx: { color: Z } }),
313
- /* @__PURE__ */ t(
314
- G,
315
- {
316
- alt: e.institutionName || "",
317
- institutionGuid: e.institution_guid || "",
318
- size: 32
319
- }
320
- ),
321
- /* @__PURE__ */ r(s, { sx: { alignItems: "flex-start" }, children: [
322
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: e.memberName }),
323
- /* @__PURE__ */ t(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: e.user_name || e.name })
324
- ] })
325
- ]
326
- }
327
- ),
328
- /* @__PURE__ */ r(s, { sx: { flexDirection: "row" }, children: [
329
- /* @__PURE__ */ r(s, { sx: { alignItems: "flex-end", pb: 14, pl: 24, pr: 24, pt: 14 }, children: [
330
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: m.overview.total_gain_Loss }),
331
- /* @__PURE__ */ r(
332
- s,
333
- {
334
- sx: {
335
- alignItems: "center",
336
- flexDirection: "row",
337
- gap: 2,
338
- justifyContent: "flex-end"
339
- },
340
- children: [
341
- n !== 0 && /* @__PURE__ */ t(
342
- x,
343
- {
344
- name: n >= 0 ? "trending_up" : "trending_down",
345
- size: 20,
346
- sx: { color: c(n) }
347
- }
348
- ),
349
- /* @__PURE__ */ r(
350
- i,
351
- {
352
- sx: {
353
- color: c(n),
354
- fontWeight: 600
355
- },
356
- variant: "Body",
357
- children: [
358
- W.toFixed(2),
359
- "%"
360
- ]
361
- }
362
- ),
363
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: "|" }),
364
- /* @__PURE__ */ t(
365
- i,
366
- {
367
- sx: {
368
- color: c(n),
369
- fontWeight: 600
370
- },
371
- variant: "Body",
372
- children: Math.abs(n).toLocaleString("en-US", {
373
- currency: "USD",
374
- maximumFractionDigits: 2,
375
- minimumFractionDigits: 2,
376
- style: "currency"
377
- })
378
- }
379
- )
380
- ]
381
- }
382
- )
383
- ] }),
384
- /* @__PURE__ */ t(s, { sx: { alignItems: "flex-end", gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }, children: /* @__PURE__ */ r(s, { sx: { alignItems: "flex-end" }, children: [
385
- /* @__PURE__ */ t(i, { sx: { color: "text.secondary" }, variant: "XSmall", children: m.overview.total_value }),
386
- /* @__PURE__ */ t(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "Body", children: l?.toLocaleString("en-US", {
387
- currency: "USD",
388
- maximumFractionDigits: 2,
389
- minimumFractionDigits: 2,
390
- style: "currency"
391
- }) })
392
- ] }) })
393
- ] })
394
- ]
395
- }
396
- ),
397
- /* @__PURE__ */ t(ne, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ t(A, { sx: { border: 1, borderColor: "border.light" }, children: /* @__PURE__ */ t(
398
- me,
399
- {
400
- currentEditedCostBasis: f,
401
- data: o,
402
- editingHoldingId: _,
403
- handleCostBasisBlur: v,
404
- handleCostBasisChange: L,
405
- handleCostBasisClick: H,
406
- handleCostBasisKeyDown: k
407
- }
408
- ) }) })
409
- ]
410
- },
411
- e.guid
412
- );
413
- }),
414
- /* @__PURE__ */ t(ce, {}),
415
- /* @__PURE__ */ t(
416
- de,
417
- {
418
- accountHoldingsData: C,
419
- currentEditedCostBasis: f,
420
- editingHoldingId: _,
421
- handleCostBasisBlur: v,
422
- handleCostBasisChange: L,
423
- handleCostBasisClick: H,
424
- handleCostBasisKeyDown: k,
425
- isOpen: E,
426
- onClose: Q
427
- }
428
- ),
429
- /* @__PURE__ */ t(
430
- le,
431
- {
432
- onClose: () => R(!1),
433
- showConnectionsWidget: O,
434
- title: P.manage_connections
435
- }
436
- )
437
- ] }) : /* @__PURE__ */ t(xe, {});
438
- }, Te = oe(he);
439
- export {
440
- Te as default
441
- };
@@ -1,6 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { Text as t } from "@mxenabled/mxui";
3
- const m = ({ title: o }) => /* @__PURE__ */ r(t, { bold: !0, variant: "Body", children: o });
4
- export {
5
- m as TabTitle
6
- };
@@ -1,53 +0,0 @@
1
- var I = /* @__PURE__ */ ((E) => (E.Stocks = "stocks", E.Bonds = "bonds", E))(I || {});
2
- const L = {
3
- UNKNOWN: 0,
4
- LARGE_VALUE: 1,
5
- LARGE_CORE: 2,
6
- LARGE_GROWTH: 3,
7
- MID_VALUE: 4,
8
- MID_CORE: 5,
9
- MID_GROWTH: 6,
10
- SMALL_VALUE: 7,
11
- SMALL_CORE: 8,
12
- SMALL_GROWTH: 9
13
- }, M = {
14
- 0: "UNKNOWN",
15
- 1: "LARGE_VALUE",
16
- 2: "LARGE_CORE",
17
- 3: "LARGE_GROWTH",
18
- 4: "MID_VALUE",
19
- 5: "MID_CORE",
20
- 6: "MID_GROWTH",
21
- 7: "SMALL_VALUE",
22
- 8: "SMALL_CORE",
23
- 9: "SMALL_GROWTH"
24
- }, _ = {
25
- UNKNOWN: 0,
26
- HIGH_LIMITED: 1,
27
- HIGH_MODERATE: 2,
28
- HIGH_EXTENSIVE: 3,
29
- MEDIUM_LIMITED: 4,
30
- MEDIUM_MODERATE: 5,
31
- MEDIUM_EXTENSIVE: 6,
32
- LOW_LIMITED: 7,
33
- LOW_MODERATE: 8,
34
- LOW_EXTENSIVE: 9
35
- }, O = {
36
- 0: "UNKNOWN",
37
- 1: "HIGH_LIMITED",
38
- 2: "HIGH_MODERATE",
39
- 3: "HIGH_EXTENSIVE",
40
- 4: "MEDIUM_LIMITED",
41
- 5: "MEDIUM_MODERATE",
42
- 6: "MEDIUM_EXTENSIVE",
43
- 7: "LOW_LIMITED",
44
- 8: "LOW_MODERATE",
45
- 9: "LOW_EXTENSIVE"
46
- };
47
- export {
48
- I as AnalysisType,
49
- L as EquityClassificationTypes,
50
- M as EquityClassificationValues,
51
- _ as FixedIncomeClassificationTypes,
52
- O as FixedIncomeClassificationValues
53
- };
@@ -1,4 +0,0 @@
1
- import { InvestmentsWidget as m } from "./InvestmentsWidget/index.es.js";
2
- export {
3
- m as InvestmentsWidget
4
- };
@@ -1,59 +0,0 @@
1
- import { makeAutoObservable as a, runInAction as e } from "mobx";
2
- import { HoldingApi as n } from "../../api/HoldingApi/index.es.js";
3
- import { AnalysisType as l } from "../../constants/index/index.es.js";
4
- import { mapDataToPercentageGrid as d, analysisChartData as r, analysisDetailsData as h } from "../../util/InvestmentUtil/index.es.js";
5
- class f {
6
- analysisType = l.Stocks;
7
- api = new n("/", "");
8
- holdings = [];
9
- holdingsLoaded = !1;
10
- globalStore;
11
- showConnectionsWidget = !1;
12
- constructor(i) {
13
- this.globalStore = i, this.api = new n(i.endpoint, i.sessionToken), a(this);
14
- }
15
- get analysisChartData() {
16
- return d(r(this.visibleHoldings), this.analysisType);
17
- }
18
- get analysisDetails() {
19
- return h(this.visibleHoldings)[this.analysisType] || {};
20
- }
21
- get visibleHoldings() {
22
- return this.holdings.filter(
23
- (i) => this.globalStore.globalUiStore.selectedAccountGuids.includes(i.account_guid)
24
- );
25
- }
26
- setShowConnectionsWidget = (i) => {
27
- this.showConnectionsWidget = i;
28
- };
29
- loadHoldings = async () => {
30
- try {
31
- const i = await this.api.getHoldings();
32
- e(() => {
33
- this.holdings = [...i], this.holdingsLoaded = !0;
34
- });
35
- } catch (i) {
36
- console.error(`Error occured while getting holdings: ${i}`);
37
- }
38
- };
39
- setAnalysisType = (i) => {
40
- this.analysisType = i;
41
- };
42
- updateHoldings = async (i) => {
43
- this.holdingsLoaded = !1;
44
- try {
45
- const t = await this.api.updateHoldings(i), o = this.holdings.findIndex(({ guid: s }) => s === i.guid);
46
- if (o >= 0) {
47
- const s = [...this.holdings];
48
- s[o] = t, e(() => {
49
- this.holdings = s, this.holdingsLoaded = !0;
50
- });
51
- }
52
- } catch (t) {
53
- console.error(`Error occurred while updating holding: ${t}`);
54
- }
55
- };
56
- }
57
- export {
58
- f as HoldingStore
59
- };
@@ -1,100 +0,0 @@
1
- import b from "numeral";
2
- import { FixedIncomeClassificationValues as f, AnalysisType as L, EquityClassificationValues as g, EquityClassificationTypes as x, FixedIncomeClassificationTypes as A } from "../../constants/index/index.es.js";
3
- const h = (t, s = 3) => {
4
- const a = Object.keys(t).map(Number).filter((e) => e !== 0).sort((e, c) => e - c), o = [];
5
- for (let e = 0; e < a.length; e += s)
6
- o.push(a.slice(e, e + s).map((c) => t[c]));
7
- return o;
8
- }, G = h(f), v = h(g), N = (t) => {
9
- const s = p(t, E), a = p(t, y), o = (c, i) => {
10
- const l = c.reduce((r, n) => r + V(n), 0), _ = c.reduce((r, n) => {
11
- const m = i(n);
12
- return Object.keys(m).forEach((u) => r[u] = (r[u] || 0) + m[u]), r;
13
- }, {});
14
- return Object.fromEntries(
15
- Object.entries(_).map(([r, n]) => [r, n / l * 100])
16
- );
17
- };
18
- return {
19
- stocks: o(s, k),
20
- bonds: o(a, w)
21
- };
22
- }, I = (t) => {
23
- const s = t.filter((e) => !isNaN(e.equity_classification)), a = t.filter((e) => !isNaN(e.fixed_income_classification)), o = (e, c, i) => e.reduce((l, _) => {
24
- const r = c(_);
25
- return Object.keys(i).forEach((n) => {
26
- l[n] = (l[n] || 0) + (r[n] || 0);
27
- }), l;
28
- }, {});
29
- return {
30
- stocks: o(s, k, x),
31
- bonds: o(a, w, A)
32
- };
33
- }, C = (t, s) => Object.fromEntries(
34
- Object.entries(t).map(([a, o]) => [a, o * s / 100])
35
- ), w = (t) => O(t, y, f), y = (t) => {
36
- const s = t.fixed_income_classification;
37
- return {
38
- [f[s]]: 100
39
- };
40
- }, k = (t) => O(t, E, g), E = (t) => {
41
- const {
42
- large_core_weight: s,
43
- large_growth_weight: a,
44
- large_value_weight: o,
45
- mid_core_weight: e,
46
- mid_growth_weight: c,
47
- mid_value_weight: i,
48
- small_core_weight: l,
49
- small_growth_weight: _,
50
- small_value_weight: r,
51
- unknown_weight: n,
52
- equity_classification: m
53
- } = t, u = {
54
- LARGE_CORE: s ?? 0,
55
- LARGE_GROWTH: a ?? 0,
56
- LARGE_VALUE: o ?? 0,
57
- MID_CORE: e ?? 0,
58
- MID_GROWTH: c ?? 0,
59
- MID_VALUE: i ?? 0,
60
- SMALL_CORE: l ?? 0,
61
- SMALL_GROWTH: _ ?? 0,
62
- SMALL_VALUE: r ?? 0,
63
- UNKNOWN: n ?? 0
64
- };
65
- return d(u) === 0 && m !== void 0 ? { [g[m]]: 100 } : u;
66
- }, O = (t, s, a) => {
67
- const o = s(t), e = V(t), c = C(o, e);
68
- if (d(c) === 0) {
69
- const i = String(
70
- t.equity_classification ?? t.fixed_income_classification
71
- );
72
- if (!(i in a))
73
- throw new Error(`Invalid classification key: ${i}`);
74
- return { [a[i]]: e };
75
- }
76
- return c;
77
- }, M = (t) => t.split("_").map((s) => s.charAt(0).toUpperCase() + s.slice(1).toLowerCase()).join(" "), W = (t) => t >= 1 ? `${b(t).format("0")}%` : "< 1%", V = (t) => t.calculated_market_value ?? t.market_value, p = (t, s) => t.filter((a) => {
78
- const o = s(a), e = d(o);
79
- return e > 80 && e < 120;
80
- }), S = (t, s) => {
81
- const a = s === L.Stocks ? v : G, o = t[s];
82
- return !o || !o || Object.keys(o).length === 0 ? a.map((e) => e.map(() => "0%")) : a.map((e) => e.map((c) => W(o[c] ?? 0)));
83
- }, d = (t) => Object.values(t).reduce((s, a) => s + a, 0);
84
- export {
85
- N as analysisChartData,
86
- I as analysisDetailsData,
87
- G as bondGroups,
88
- C as calculateWeightedValue,
89
- h as createGroups,
90
- y as extractBondWeight,
91
- E as extractStockWeight,
92
- O as extractValueFromWeight,
93
- M as formatKey,
94
- W as formatPercent,
95
- V as getHoldingValue,
96
- p as getValidHoldings,
97
- S as mapDataToPercentageGrid,
98
- v as stockGroups,
99
- d as sumValues
100
- };
@@ -1,16 +0,0 @@
1
- import { Fetch as s } from "../../../common/utils/Fetch/index.es.js";
2
- import { ApiEndpoints as r } from "../../../common/constants/ApiEndpoints/index.es.js";
3
- class p {
4
- fetchInstance;
5
- constructor(t, e) {
6
- this.fetchInstance = new s(t, e);
7
- }
8
- getMerchants = async (t = [], e = [], h = 1, a = 25) => {
9
- let c = r.MERCHANTS;
10
- return c += `?page=${h}&per_page=${a}`, t.length && t.forEach((n) => c += `&fuzzy_name[]=${n}`), e.length && e.forEach((n) => c += `&guid[]=${n}`), this.fetchInstance.get(c).then((n) => n.merchants);
11
- };
12
- getMerchantByGuid = async (t) => this.fetchInstance.get(`${r.MERCHANTS}/${t}`).then((e) => e.merchant);
13
- }
14
- export {
15
- p as MerchantApi
16
- };