@mx-cartographer/experiences 6.26.18-alpha.mega2 → 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.
- package/CHANGELOG.md +0 -4
- package/dist/accounts/AccountsMiniWidget/index.es.js +45 -0
- package/dist/accounts/AccountsWidget/index.es.js +67 -0
- package/dist/accounts/ConnectMiniWidget/index.es.js +41 -0
- package/dist/accounts/api/AccountApi/index.es.js +20 -0
- package/dist/accounts/components/AccountListItem/index.es.js +84 -0
- package/dist/accounts/components/AccountsList/index.es.js +164 -0
- package/dist/accounts/components/ConnectImage/index.es.js +444 -0
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
- package/dist/accounts/components/ConnectStatus/index.es.js +37 -0
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js +12 -0
- package/dist/accounts/components/ConnectionsDrawer/index.es.js +54 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +103 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +120 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +58 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +43 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +47 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +20 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +74 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
- package/dist/accounts/constants/Accounts/index.es.js +5 -0
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
- package/dist/accounts/hooks/useUiStore/index.es.js +11 -0
- package/dist/accounts/index.es.js +26 -0
- package/dist/accounts/stores/AccountStore/index.es.js +204 -0
- package/dist/accounts/stores/UiStore/index.es.js +15 -0
- package/dist/accounts/utils/AccountFields/index.es.js +136 -0
- package/dist/accounts/utils/Accounts/index.es.js +9 -0
- package/dist/accounts/utils/getConnectionMessages/index.es.js +162 -0
- package/dist/analytics/SurveyMiniWidget/index.es.js +101 -0
- package/dist/analytics/components/OpenTextField/index.es.js +23 -0
- package/dist/analytics/components/RatingScale/index.es.js +68 -0
- package/dist/analytics/index.es.js +4 -0
- package/dist/analytics/stores/AnalyticsStore/index.es.js +54 -0
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +71 -0
- package/dist/budgets/BubbleBudgetsWidget/index.es.js +139 -0
- package/dist/budgets/api/BudgetsApi/index.es.js +26 -0
- package/dist/budgets/components/AddBudgets/index.es.js +30 -0
- package/dist/budgets/components/BubbleBudgets/index.es.js +61 -0
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js +97 -0
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js +27 -0
- package/dist/budgets/components/BubbleChart/index.es.js +22 -0
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +95 -0
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +42 -0
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +36 -0
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +16 -0
- package/dist/budgets/components/BudgetList/index.es.js +30 -0
- package/dist/budgets/components/BudgetsEmptyState/index.es.js +85 -0
- package/dist/budgets/components/Overview/index.es.js +105 -0
- package/dist/budgets/components/addbudget/Header/index.es.js +28 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +39 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +46 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +73 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +75 -0
- package/dist/budgets/components/budgetdetails/Header/index.es.js +31 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +102 -0
- package/dist/budgets/components/shared/BudgetAmount/index.es.js +37 -0
- package/dist/budgets/index.es.js +6 -0
- package/dist/budgets/store/BudgetsStore/index.es.js +139 -0
- package/dist/budgets/utils/BubblesSVG/index.es.js +51 -0
- package/dist/budgets/utils/BudgetUtil/index.es.js +70 -0
- package/dist/cashflow/CashflowMiniWidget/index.es.js +27 -0
- package/dist/cashflow/CashflowOnboarding/index.es.js +220 -0
- package/dist/cashflow/CashflowWidget/index.es.js +91 -0
- package/dist/cashflow/api/CashflowApi/index.es.js +25 -0
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js +32 -0
- package/dist/cashflow/components/CashflowContent/index.es.js +61 -0
- package/dist/cashflow/components/CashflowHeading/index.es.js +113 -0
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js +146 -0
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +38 -0
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js +31 -0
- package/dist/cashflow/components/DetailsFooter/index.es.js +22 -0
- package/dist/cashflow/components/DetailsTab/index.es.js +92 -0
- package/dist/cashflow/components/RemainingCash/index.es.js +27 -0
- package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
- package/dist/cashflow/components/onboarding/StepOne/index.es.js +82 -0
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js +17 -0
- package/dist/cashflow/constants/CashflowImages/index.es.js +7 -0
- package/dist/cashflow/context/hooks/index.es.js +11 -0
- package/dist/cashflow/index.es.js +12 -0
- package/dist/cashflow/stores/CashflowStore/index.es.js +19 -0
- package/dist/cashflow/stores/UiStore/index.es.js +38 -0
- package/dist/cashflow/util/Filters/index.es.js +7 -0
- package/dist/categories/components/CategoryList/index.es.js +38 -0
- package/dist/categories/components/CategoryRow/index.es.js +58 -0
- package/dist/categories/components/CategorySelector/index.es.js +48 -0
- package/dist/categories/components/CategorySelectorDrawer/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +40 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +66 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
- package/dist/categories/components/SubcategoryList/index.es.js +39 -0
- package/dist/categories/components/SubcategoryRow/index.es.js +103 -0
- package/dist/categories/constants/OnClickEvents/index.es.js +16 -0
- package/dist/categories/context/hooks/index.es.js +11 -0
- package/dist/categories/index.es.js +12 -0
- package/dist/categories/stores/CategoryStore/index.es.js +135 -0
- package/dist/categories/stores/UiStore/index.es.js +27 -0
- package/dist/categories/util/CategoryUtil/index.es.js +78 -0
- package/dist/common/api/AnalyticsApi/index.es.js +34 -0
- package/dist/common/api/AppDataApi/index.es.js +12 -0
- package/dist/common/api/BannerApi/index.es.js +21 -0
- package/dist/common/api/BeatApi/index.es.js +22 -0
- package/dist/common/api/CategoryApi/index.es.js +30 -0
- package/dist/common/api/GlobalCopyApi/index.es.js +12 -0
- package/dist/common/api/LocalizedCopyApi/index.es.js +13 -0
- package/dist/common/api/NotificationApi/index.es.js +21 -0
- package/dist/common/api/ScheduledPaymentsApi/index.es.js +20 -0
- package/dist/common/api/UserApi/index.es.js +14 -0
- package/dist/common/api/WidgetApi/index.es.js +12 -0
- package/dist/common/components/Banner/index.es.js +49 -0
- package/dist/common/components/ConnectCard/index.es.js +56 -0
- package/dist/common/components/ConnectDrawer/index.es.js +58 -0
- package/dist/common/components/CurrencyInput/index.es.js +84 -0
- package/dist/common/components/CurrencyText/index.es.js +20 -0
- package/dist/common/components/DataRow/index.es.js +29 -0
- package/dist/common/components/EmptyState/index.es.js +55 -0
- package/dist/common/components/ErrorBoundary/index.es.js +24 -0
- package/dist/common/components/IconBacking/index.es.js +39 -0
- package/dist/common/components/InformationTooltip/index.es.js +41 -0
- package/dist/common/components/ListItemAction/index.es.js +69 -0
- package/dist/common/components/ListItemRow/index.es.js +67 -0
- package/dist/common/components/ListItemWrapper/index.es.js +32 -0
- package/dist/common/components/Loader/index.es.js +14 -0
- package/dist/common/components/MicroWidgetContainer/index.es.js +45 -0
- package/dist/common/components/MiniWidgetContainer/index.es.js +39 -0
- package/dist/common/components/ResponsiveButton/index.es.js +45 -0
- package/dist/common/components/SearchBox/index.es.js +42 -0
- package/dist/common/components/Select/index.es.js +25 -0
- package/dist/common/components/SelectionBox/index.es.js +48 -0
- package/dist/common/components/SubheaderRow/index.es.js +10 -0
- package/dist/common/components/TabContentContainer/index.es.js +21 -0
- package/dist/common/components/WidgetContainer/index.es.js +195 -0
- package/dist/common/components/accountfilter/AccountFilter/index.es.js +93 -0
- package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +222 -0
- package/dist/common/components/addaccounts/AddAccounts/index.es.js +43 -0
- package/dist/common/components/barchart/Bar/index.es.js +79 -0
- package/dist/common/components/barchart/BarChart/index.es.js +70 -0
- package/dist/common/components/barchart/BarColumn/index.es.js +86 -0
- package/dist/common/components/barchart/Legend/index.es.js +45 -0
- package/dist/common/components/barchart/Util/index.es.js +11 -0
- package/dist/common/components/calendar/Calendar/index.es.js +131 -0
- package/dist/common/components/calendar/Day/index.es.js +96 -0
- package/dist/common/components/calendar/Header/index.es.js +32 -0
- package/dist/common/components/charts/Donut/index.es.js +57 -0
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +64 -0
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js +22 -0
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js +65 -0
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +73 -0
- package/dist/common/components/charts/LineChart/index.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +24 -0
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +69 -0
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +70 -0
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +22 -0
- package/dist/common/components/charts/StackedLineChart/index.es.js +222 -0
- package/dist/common/components/charts/StatusBar/index.es.js +30 -0
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +254 -0
- package/dist/common/components/dialog/Dialog/index.es.js +61 -0
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +60 -0
- package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +68 -0
- package/dist/common/components/drawer/Drawer/index.es.js +71 -0
- package/dist/common/components/drawer/Header/index.es.js +51 -0
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +36 -0
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +42 -0
- package/dist/common/components/listitems/ToggleListItem/index.es.js +38 -0
- package/dist/common/constants/Account/index.es.js +30 -0
- package/dist/common/constants/Analytics/index.es.js +117 -0
- package/dist/common/constants/ApiEndpoints/index.es.js +50 -0
- package/dist/common/constants/Category/index.es.js +301 -0
- package/dist/common/constants/Connect/index.es.js +5 -0
- package/dist/common/constants/DateFormats/index.es.js +65 -0
- package/dist/common/constants/DefaultConfig/index.es.js +105 -0
- package/dist/common/constants/Donut/index.es.js +5 -0
- package/dist/common/constants/FinStrong/index.es.js +31 -0
- package/dist/common/constants/Numbers/index.es.js +6 -0
- package/dist/common/constants/ScheduledPayment/index.es.js +15 -0
- package/dist/common/constants/Sizes/index.es.js +6 -0
- package/dist/common/constants/SpendingPlan/index.es.js +11 -0
- package/dist/common/constants/Table/index.es.js +16 -0
- package/dist/common/context/GlobalDataProvider/index.es.js +23 -0
- package/dist/common/context/WidgetContainerProvider/index.es.js +17 -0
- package/dist/common/context/hooks/index.es.js +44 -0
- package/dist/common/context/hooks.d.ts +13 -13
- package/dist/common/hooks/useCombineEvents/index.es.js +20 -0
- package/dist/common/hooks/useDimensions/index.es.js +36 -0
- package/dist/common/hooks/useInsightsEnabled/index.es.js +11 -0
- package/dist/common/hooks/usePrevious/index.es.js +11 -0
- package/dist/common/hooks/useScreenSize/index.es.js +36 -0
- package/dist/common/index.es.js +234 -0
- package/dist/common/stores/AppDataStore/index.es.js +57 -0
- package/dist/common/stores/ConnectStore/index.es.js +15 -0
- package/dist/common/stores/GlobalCopyStore/index.es.js +35 -0
- package/dist/common/stores/GlobalStore/index.es.js +90 -0
- package/dist/common/stores/GlobalUiStore/index.es.js +54 -0
- package/dist/common/stores/UserStore/index.es.js +50 -0
- package/dist/common/types/Account/index.es.js +118 -0
- package/dist/common/types/Beat/index.es.js +4 -0
- package/dist/common/types/Expense/index.es.js +5 -0
- package/dist/common/types/Goal/index.es.js +6 -0
- package/dist/common/types/Notification/index.es.js +7 -0
- package/dist/common/types/RepeatingTransaction/index.es.js +7 -0
- package/dist/common/types/ScreenSize/index.es.js +4 -0
- package/dist/common/types/Transaction/index.es.js +5 -0
- package/dist/common/utils/AccountFilter/index.es.js +13 -0
- package/dist/common/utils/Analytics/index.es.js +36 -0
- package/dist/common/utils/Categories/index.es.js +37 -0
- package/dist/common/utils/DateUtil/index.es.js +48 -0
- package/dist/common/utils/Fetch/index.es.js +69 -0
- package/dist/common/utils/Localization/index.es.js +30 -0
- package/dist/common/utils/NumberFormatting/index.es.js +38 -0
- package/dist/common/utils/PostMessage/index.es.js +19 -0
- package/dist/common/utils/Theme/index.es.js +136 -0
- package/dist/dashboard/Dashboard/index.es.js +47 -0
- package/dist/dashboard/Greeting/index.es.js +71 -0
- package/dist/dashboard/constants/Dashboard/index.es.js +4 -0
- package/dist/dashboard/index.es.js +6 -0
- package/dist/debts/DebtsWidget/index.es.js +111 -0
- package/dist/debts/components/DebtDrawer/index.es.js +28 -0
- package/dist/debts/components/DebtsChart/index.es.js +134 -0
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js +24 -0
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +32 -0
- package/dist/debts/components/DebtsTable/index.es.js +174 -0
- package/dist/debts/components/PaydownDrawer/index.es.js +21 -0
- package/dist/debts/components/SnowballCard/index.es.js +65 -0
- package/dist/debts/components/SnowballDrawer/index.es.js +374 -0
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +28 -0
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +46 -0
- package/dist/debts/components/actions/InterestRateAction/index.es.js +42 -0
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +44 -0
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +44 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +41 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +51 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +38 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +80 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +61 -0
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +25 -0
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +31 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +34 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +74 -0
- package/dist/debts/constants/index/index.es.js +4 -0
- package/dist/debts/hooks/useDebtsUiStore/index.es.js +11 -0
- package/dist/debts/index.es.js +10 -0
- package/dist/debts/store/DebtsStore/index.es.js +20 -0
- package/dist/debts/store/DebtsUiStore/index.es.js +23 -0
- package/dist/debts/utils/DebtStore/index.es.js +26 -0
- package/dist/debts/utils/DebtsChart/index.es.js +13 -0
- package/dist/debts/utils/DebtsTable/index.es.js +15 -0
- package/dist/debts/utils/DebtsWidget/index.es.js +42 -0
- package/dist/debts/utils/SnowballCard/index.es.js +37 -0
- package/dist/debts/utils/shared/index.es.js +21 -0
- package/dist/finstrong/FinancialStrengthCard/index.es.js +113 -0
- package/dist/finstrong/FinstrongWidget/index.es.js +141 -0
- package/dist/finstrong/api/FinstrongApi/index.es.js +15 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +76 -0
- package/dist/finstrong/components/CreditScoreGraph/index.es.js +75 -0
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +30 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +49 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +68 -0
- package/dist/finstrong/components/ManageCreditScore/index.es.js +49 -0
- package/dist/finstrong/components/ManageDOB/index.es.js +62 -0
- package/dist/finstrong/components/MissingData/index.es.js +38 -0
- package/dist/finstrong/components/ProfileDrawer/index.es.js +107 -0
- package/dist/finstrong/components/ProfileList/index.es.js +56 -0
- package/dist/finstrong/components/ProfileProgressBar/index.es.js +26 -0
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +69 -0
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js +63 -0
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js +190 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +106 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +20 -0
- package/dist/finstrong/index.es.js +14 -0
- package/dist/finstrong/stores/FinstrongStore/index.es.js +81 -0
- package/dist/finstrong/util/finstrongUtils/index.es.js +108 -0
- package/dist/finstrong/utils/Finstrong/index.es.js +13 -0
- package/dist/goals/GoalsMicroWidget/index.es.js +51 -0
- package/dist/goals/GoalsWidget/index.es.js +138 -0
- package/dist/goals/api/GoalApi/index.es.js +26 -0
- package/dist/goals/components/AccountSelectionDrawer/index.es.js +73 -0
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +51 -0
- package/dist/goals/components/AddGoal/index.es.js +56 -0
- package/dist/goals/components/GoalDetails/index.es.js +69 -0
- package/dist/goals/components/GoalDetailsDrawer/index.es.js +82 -0
- package/dist/goals/components/GoalList/index.es.js +87 -0
- package/dist/goals/components/GoalStatusCard/index.es.js +59 -0
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +35 -0
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +47 -0
- package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +118 -0
- package/dist/goals/components/ManageGoals/index.es.js +74 -0
- package/dist/goals/components/TabTitle/index.es.js +12 -0
- package/dist/goals/components/actions/AccountAction/index.es.js +46 -0
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +66 -0
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js +46 -0
- package/dist/goals/components/actions/BirthdayAction/index.es.js +42 -0
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js +91 -0
- package/dist/goals/components/actions/ContributionAction/index.es.js +46 -0
- package/dist/goals/components/actions/GoalNameAction/index.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction/index.es.js +44 -0
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +45 -0
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +45 -0
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js +43 -0
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +42 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +31 -0
- package/dist/goals/index.es.js +10 -0
- package/dist/goals/stores/GoalStore/index.es.js +184 -0
- package/dist/goals/util/GoalsUtil/index.es.js +98 -0
- package/dist/help/HelpWidget/index.es.js +13 -0
- package/dist/help/api/HelpApi/index.es.js +12 -0
- package/dist/help/components/Help/index.es.js +45 -0
- package/dist/help/components/HelpContent/index.es.js +32 -0
- package/dist/help/components/HelpList/index.es.js +118 -0
- package/dist/help/components/content/BottomImageContent/index.es.js +50 -0
- package/dist/help/components/content/ContentItem/index.es.js +21 -0
- package/dist/help/components/content/Header/index.es.js +62 -0
- package/dist/help/components/content/LeftImageContent/index.es.js +50 -0
- package/dist/help/components/content/NoImageContent/index.es.js +14 -0
- package/dist/help/components/content/RightImageContent/index.es.js +48 -0
- package/dist/help/components/content/TopImageContent/index.es.js +50 -0
- package/dist/help/components/content/section/Accounts/index.es.js +249 -0
- package/dist/help/components/content/section/Budgets/index.es.js +102 -0
- package/dist/help/components/content/section/CashFlow/index.es.js +71 -0
- package/dist/help/components/content/section/Debts/index.es.js +252 -0
- package/dist/help/components/content/section/General/index.es.js +163 -0
- package/dist/help/components/content/section/Goals/index.es.js +195 -0
- package/dist/help/components/content/section/Insights/index.es.js +136 -0
- package/dist/help/components/content/section/Investments/index.es.js +71 -0
- package/dist/help/components/content/section/Mobile/index.es.js +85 -0
- package/dist/help/components/content/section/NetWorth/index.es.js +142 -0
- package/dist/help/components/content/section/Notifications/index.es.js +120 -0
- package/dist/help/components/content/section/RecurringTransactions/index.es.js +104 -0
- package/dist/help/components/content/section/Spending/index.es.js +112 -0
- package/dist/help/components/content/section/Transactions/index.es.js +389 -0
- package/dist/help/components/content/section/Trends/index.es.js +83 -0
- package/dist/help/components/content/section/index/index.es.js +35 -0
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport/index.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +82 -0
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js +95 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +50 -0
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +22 -0
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +30 -0
- package/dist/help/components/requestsupport/RequestSupport/index.es.js +179 -0
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +26 -0
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +39 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +75 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +29 -0
- package/dist/help/constants/Help/index.es.js +299 -0
- package/dist/help/constants/HelpImages/index.es.js +47 -0
- package/dist/help/index.es.js +6 -0
- package/dist/help/store/HelpStore/index.es.js +42 -0
- package/dist/help/utils/getAccessibleHelpCategories/index.es.js +21 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +14 -0
- package/dist/index.d.ts +0 -22
- package/dist/insights/index.d.ts +1 -0
- package/dist/insights/index.es.js +4 -0
- package/dist/insights/store/BeatStore/index.es.js +35 -0
- package/dist/investments/InvestmentsWidget/index.es.js +107 -0
- package/dist/investments/api/HoldingApi/index.es.js +13 -0
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +126 -0
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +67 -0
- package/dist/investments/components/Allocation/index.es.js +67 -0
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +134 -0
- package/dist/investments/components/Analysis/index.es.js +169 -0
- package/dist/investments/components/AnalysisDetails/index.es.js +81 -0
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
- package/dist/investments/components/HeaderCell/index.es.js +11 -0
- package/dist/investments/components/HoldingDrawer/index.es.js +322 -0
- package/dist/investments/components/HoldingTable/index.es.js +183 -0
- package/dist/investments/components/InfoToolTip/index.es.js +25 -0
- package/dist/investments/components/Overview/index.es.js +441 -0
- package/dist/investments/components/TabTitle/index.es.js +6 -0
- package/dist/investments/constants/index/index.es.js +53 -0
- package/dist/investments/index.es.js +4 -0
- package/dist/investments/stores/HoldingStore/index.es.js +59 -0
- package/dist/investments/util/InvestmentUtil/index.es.js +100 -0
- package/dist/merchants/api/MerchantApi/index.es.js +16 -0
- package/dist/merchants/components/MerchantLookup/index.es.js +77 -0
- package/dist/merchants/index.es.js +6 -0
- package/dist/merchants/stores/MerchantStore/index.es.js +26 -0
- package/dist/microinsights/analytics/index.es.js +10 -0
- package/dist/microinsights/components/MicroWidgetContainer/index.es.js +28 -0
- package/dist/microinsights/components/beatCard/BeatCard/index.es.js +98 -0
- package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +13 -0
- package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +22 -0
- package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +24 -0
- package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +31 -0
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +14 -0
- package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +786 -0
- package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +82 -0
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +105 -0
- package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +101 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +187 -0
- package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +152 -0
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +67 -0
- package/dist/microinsights/components/spinner/Spinner/index.es.js +19 -0
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +58 -0
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +55 -0
- package/dist/microinsights/constants/Analytics/index.es.js +163 -0
- package/dist/microinsights/constants/App/index.es.js +11 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +12 -0
- package/dist/microinsights/context/hooks/index.es.js +31 -0
- package/dist/microinsights/index.es.js +28 -0
- package/dist/microinsights/stores/AppStore/index.es.js +25 -0
- package/dist/microinsights/stores/CopyStore/index.es.js +32 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +31 -0
- package/dist/microinsights/utils/DataSeries/index.es.js +9 -0
- package/dist/microinsights/utils/beatUtils/index.es.js +51 -0
- package/dist/networth/NetWorthMicroWidget/index.es.js +44 -0
- package/dist/networth/NetWorthWidget/index.es.js +159 -0
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +109 -0
- package/dist/networth/components/GainsLossesDetail/index.es.js +94 -0
- package/dist/networth/components/NetWorthChange/index.es.js +31 -0
- package/dist/networth/components/NetWorthChart/index.es.js +45 -0
- package/dist/networth/components/NetWorthList/index.es.js +60 -0
- package/dist/networth/components/NetWorthListItem/index.es.js +60 -0
- package/dist/networth/components/NetWorthSummary/index.es.js +20 -0
- package/dist/networth/components/micro/NetworthData/index.es.js +21 -0
- package/dist/networth/components/micro/ZeroState/index.es.js +14 -0
- package/dist/networth/index.es.js +14 -0
- package/dist/networth/stores/NetWorthStore/index.es.js +65 -0
- package/dist/networth/utils/NetWorthUtils/index.es.js +95 -0
- package/dist/notifications/components/DateRow/index.es.js +8 -0
- package/dist/notifications/components/NotificationBadge/index.es.js +26 -0
- package/dist/notifications/components/NotificationCard/index.es.js +42 -0
- package/dist/notifications/components/NotificationDrawer/index.es.js +67 -0
- package/dist/notifications/components/NotificationList/index.es.js +36 -0
- package/dist/notifications/components/NotificationsEmptyState/index.es.js +34 -0
- package/dist/notifications/constants/NotificationConstants/index.es.js +22 -0
- package/dist/notifications/index.es.js +12 -0
- package/dist/notifications/stores/NotificationStore/index.es.js +37 -0
- package/dist/notifications/utils/NotificationUtils/index.es.js +16 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +179 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +37 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +67 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +18 -0
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +32 -0
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +100 -0
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +20 -0
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js +69 -0
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +149 -0
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js +42 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +130 -0
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +163 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +56 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +17 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +44 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +31 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +32 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +84 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +68 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +114 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +44 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +31 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +38 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +108 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +37 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +36 -0
- package/dist/recurringtransactions/index.es.js +20 -0
- package/dist/recurringtransactions/stores/RecurringTransactionsStore/index.es.js +247 -0
- package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +232 -0
- package/dist/settings/NotificationSettingsWidget/index.es.js +13 -0
- package/dist/settings/SettingsWidget/index.es.js +55 -0
- package/dist/settings/TransactionRulesWidget/index.es.js +12 -0
- package/dist/settings/api/SettingsApi/index.es.js +23 -0
- package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
- package/dist/settings/components/devices/DeviceDialog/index.es.js +129 -0
- package/dist/settings/components/devices/DeviceList/index.es.js +118 -0
- package/dist/settings/components/devices/DeviceTab/index.es.js +79 -0
- package/dist/settings/components/devices/DeviceTable/index.es.js +134 -0
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +80 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +55 -0
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +102 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js +77 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/NotificationProfile/index.es.js +96 -0
- package/dist/settings/components/notifications/NotificationSettings/index.es.js +89 -0
- package/dist/settings/components/notifications/PersonalDetails/index.es.js +99 -0
- package/dist/settings/components/profile/ProfileTab/index.es.js +204 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +63 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +80 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +36 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +23 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +38 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +52 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +33 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +52 -0
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +20 -0
- package/dist/settings/constants/Settings/index.es.js +4 -0
- package/dist/settings/index.es.js +29 -0
- package/dist/settings/stores/SettingsStore/index.es.js +187 -0
- package/dist/settings/util/Notifications/index.es.js +64 -0
- package/dist/spending/SpendingMiniWidget/index.es.js +26 -0
- package/dist/spending/SpendingWidget/index.es.js +38 -0
- package/dist/spending/components/MiniSpendingChart/index.es.js +115 -0
- package/dist/spending/components/Spending/index.es.js +141 -0
- package/dist/spending/components/SpendingChart/index.es.js +61 -0
- package/dist/spending/components/SpendingDonut/index.es.js +69 -0
- package/dist/spending/components/SpendingLegend/index.es.js +25 -0
- package/dist/spending/components/SpendingList/index.es.js +96 -0
- package/dist/spending/components/SpendingTabLabel/index.es.js +11 -0
- package/dist/spending/index.es.js +6 -0
- package/dist/spending/utils/SpendingData/index.es.js +86 -0
- package/dist/transactions/TransactionWidget/index.es.js +242 -0
- package/dist/transactions/analytics/index.es.js +5 -0
- package/dist/transactions/api/TransactionApi/index.es.js +87 -0
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +68 -0
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +43 -0
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +126 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +27 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +81 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +90 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +91 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +143 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +75 -0
- package/dist/transactions/components/shared/TransactionDetails/index.es.js +79 -0
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +84 -0
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +17 -0
- package/dist/transactions/components/shared/TransactionList/index.es.js +82 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +9 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +20 -0
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +29 -0
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +8 -0
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +38 -0
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +6 -0
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +16 -0
- package/dist/transactions/components/shared/TransactionTable/index.es.js +110 -0
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js +69 -0
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js +126 -0
- package/dist/transactions/components/tagmanager/Header/index.es.js +78 -0
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js +37 -0
- package/dist/transactions/components/tagmanager/TagManager/index.es.js +32 -0
- package/dist/transactions/components/tagmanager/TagRow/index.es.js +114 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +29 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +54 -0
- package/dist/transactions/constants/Actions/index.es.js +19 -0
- package/dist/transactions/constants/Analytics/index.es.js +259 -0
- package/dist/transactions/constants/OnClickEvents/index.es.js +48 -0
- package/dist/transactions/constants/Transaction/index.es.js +33 -0
- package/dist/transactions/constants/TransactionsTable/index.es.js +11 -0
- package/dist/transactions/context/hooks/index.es.js +11 -0
- package/dist/transactions/index.es.js +27 -0
- package/dist/transactions/stores/TransactionStore/index.es.js +224 -0
- package/dist/transactions/stores/UiStore/index.es.js +48 -0
- package/dist/transactions/utils/Filters/index.es.js +9 -0
- package/dist/transactions/utils/Transactions/index.es.js +13 -0
- package/dist/transactions/utils/buildDetailedTransactions/index.es.js +35 -0
- package/dist/transactions/utils/exportTransactionsToCSV/index.es.js +47 -0
- package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +44 -0
- package/dist/trends/TrendsFullWidget/index.es.js +157 -0
- package/dist/trends/TrendsMicroWidget/index.es.js +86 -0
- package/dist/trends/TrendsMiniWidget/index.es.js +28 -0
- package/dist/trends/TrendsWidget/index.es.js +173 -0
- package/dist/trends/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/trends/components/CategoriesList/index.es.js +62 -0
- package/dist/trends/components/CategoriesListItem/index.es.js +25 -0
- package/dist/trends/components/CategoryDetailChart/index.es.js +34 -0
- package/dist/trends/components/CategoryDetailDrawer/index.es.js +44 -0
- package/dist/trends/components/DateRangeText/index.es.js +39 -0
- package/dist/trends/components/SpendingChart/index.es.js +28 -0
- package/dist/trends/components/TransactionsList/index.es.js +81 -0
- package/dist/trends/components/TrendsChart/index.es.js +45 -0
- package/dist/trends/components/TrendsChartTotals/index.es.js +56 -0
- package/dist/trends/components/TrendsDrawer/index.es.js +48 -0
- package/dist/trends/components/TrendsInsights/index.es.js +43 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +96 -0
- package/dist/trends/components/TrendsTable/AmountCell/index.es.js +10 -0
- package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +30 -0
- package/dist/trends/components/TrendsTable/HeaderCell/index.es.js +6 -0
- package/dist/trends/components/TrendsTable/index.es.js +96 -0
- package/dist/trends/components/TrendsViewToggle/index.es.js +17 -0
- package/dist/trends/constants/TrendsInsights/index.es.js +38 -0
- package/dist/trends/index.es.js +12 -0
- package/dist/trends/stores/TrendsStore/index.es.js +77 -0
- package/dist/trends/utils/SpendingData/index.es.js +47 -0
- package/dist/trends/utils/TrendsData/index.es.js +41 -0
- package/dist/trends/utils/shared/index.es.js +15 -0
- package/package.json +155 -3
- package/dist/index.es.js +0 -30339
- package/dist/index.es.js.map +0 -1
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
- /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/HideAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/DateRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/AmountCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/CategoryCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/HeaderCell.d.ts +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { jsxs as e, jsx as o, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import S from "react";
|
|
3
|
+
import _ from "@mui/material/Box";
|
|
4
|
+
import D from "@mui/material/Collapse";
|
|
5
|
+
import p from "@mui/material/Divider";
|
|
6
|
+
import h from "@mui/material/List";
|
|
7
|
+
import g from "@mui/material/ListItem";
|
|
8
|
+
import L from "@mui/material/ListItemButton";
|
|
9
|
+
import s from "@mui/material/Stack";
|
|
10
|
+
import j from "@mui/material/ToggleButton";
|
|
11
|
+
import k from "@mui/material/ToggleButtonGroup";
|
|
12
|
+
import { Text as i } from "@mxenabled/mxui";
|
|
13
|
+
import { EmptyStateFooterComponent as A } from "../../EmptyStateFooterComponent/index.es.js";
|
|
14
|
+
import { currencyDisplay as c, percentageDisplay as u } from "../util/createInvestementsAllocationData/index.es.js";
|
|
15
|
+
import { useScreenSize as x } from "../../../../common/hooks/useScreenSize/index.es.js";
|
|
16
|
+
import { useGlobalCopyStore as E } from "../../../../common/context/hooks/index.es.js";
|
|
17
|
+
const U = ({
|
|
18
|
+
data: d,
|
|
19
|
+
onSelected: f,
|
|
20
|
+
selectedId: n,
|
|
21
|
+
selectedTabs: l,
|
|
22
|
+
setSelectedTabs: y
|
|
23
|
+
}) => {
|
|
24
|
+
const b = (r, t) => {
|
|
25
|
+
t !== null && y(t);
|
|
26
|
+
}, { isMobile: v } = x(), {
|
|
27
|
+
investments: { allocation: a }
|
|
28
|
+
} = E(), C = [
|
|
29
|
+
{ label: a.tabs_label_dollar, value: 0 },
|
|
30
|
+
{ label: a.tabs_label_percent, value: 1 }
|
|
31
|
+
], m = !d?.investmentsData.length, { isSmallMobile: B } = x();
|
|
32
|
+
return /* @__PURE__ */ e(s, { sx: { mt: 15, gap: 12, width: v ? 250 : 412 }, children: [
|
|
33
|
+
/* @__PURE__ */ o(
|
|
34
|
+
k,
|
|
35
|
+
{
|
|
36
|
+
exclusive: !0,
|
|
37
|
+
fullWidth: !0,
|
|
38
|
+
onChange: b,
|
|
39
|
+
value: m ? -1 : l,
|
|
40
|
+
children: C.map(({ label: r, value: t }) => /* @__PURE__ */ o(j, { color: "primary", value: t, children: /* @__PURE__ */ o(i, { bold: !0, textTransform: "capitalize", variant: "Body", children: r }) }, r))
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ o(h, { sx: { px: 12 }, children: d.investmentsData.map((r) => /* @__PURE__ */ e(S.Fragment, { children: [
|
|
44
|
+
/* @__PURE__ */ o(
|
|
45
|
+
g,
|
|
46
|
+
{
|
|
47
|
+
disableGutters: !0,
|
|
48
|
+
disablePadding: !0,
|
|
49
|
+
sx: {
|
|
50
|
+
minHeight: 44
|
|
51
|
+
},
|
|
52
|
+
children: /* @__PURE__ */ e(
|
|
53
|
+
L,
|
|
54
|
+
{
|
|
55
|
+
"aria-expanded": n === r.guid,
|
|
56
|
+
onClick: () => f(r.guid),
|
|
57
|
+
sx: { minHeight: 44, px: 12, py: 0 },
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ o(
|
|
60
|
+
_,
|
|
61
|
+
{
|
|
62
|
+
borderRadius: 4,
|
|
63
|
+
flexShrink: 0,
|
|
64
|
+
height: 8,
|
|
65
|
+
sx: { backgroundColor: r.color, mr: 8 },
|
|
66
|
+
width: 8
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ e(
|
|
70
|
+
s,
|
|
71
|
+
{
|
|
72
|
+
alignItems: "center",
|
|
73
|
+
direction: "row",
|
|
74
|
+
justifyContent: "space-between",
|
|
75
|
+
width: "100%",
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ o(i, { bold: n === r.guid, children: r.displayName }),
|
|
78
|
+
/* @__PURE__ */ o(i, { bold: n === r.guid, variant: "Body", children: l === 0 ? c(r.value) : u(r.percentage) })
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ o(p, {}),
|
|
88
|
+
r.holdings && r.holdings.length > 0 && /* @__PURE__ */ o(D, { in: n === r.guid, unmountOnExit: !0, children: /* @__PURE__ */ e(h, { children: [
|
|
89
|
+
r?.holdings?.map((t) => /* @__PURE__ */ o(
|
|
90
|
+
g,
|
|
91
|
+
{
|
|
92
|
+
sx: {
|
|
93
|
+
pl: 24,
|
|
94
|
+
pr: 8,
|
|
95
|
+
py: 0
|
|
96
|
+
},
|
|
97
|
+
children: /* @__PURE__ */ e(s, { direction: "row", justifyContent: "space-between", width: "100%", children: [
|
|
98
|
+
/* @__PURE__ */ e(i, { children: [
|
|
99
|
+
t.displayName,
|
|
100
|
+
" "
|
|
101
|
+
] }),
|
|
102
|
+
/* @__PURE__ */ o(i, { children: l === 0 ? c(t.value) : u(t.percentage) })
|
|
103
|
+
] })
|
|
104
|
+
},
|
|
105
|
+
t.displayName
|
|
106
|
+
)),
|
|
107
|
+
/* @__PURE__ */ o(p, {})
|
|
108
|
+
] }) })
|
|
109
|
+
] }, r.guid)) }),
|
|
110
|
+
m ? /* @__PURE__ */ e(w, { children: [
|
|
111
|
+
/* @__PURE__ */ o(i, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: a.empty_data }),
|
|
112
|
+
/* @__PURE__ */ o(p, { sx: { borderColor: "border.light" } }),
|
|
113
|
+
/* @__PURE__ */ o(
|
|
114
|
+
A,
|
|
115
|
+
{
|
|
116
|
+
sx: {
|
|
117
|
+
".inner-container": { width: B ? "100%" : 364 }
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
)
|
|
121
|
+
] }) : l === 0 && /* @__PURE__ */ o(i, { bold: !0, sx: { textAlign: "right", pr: 24 }, children: `${a.total_label_text} ${c(d.totalAmount)}` })
|
|
122
|
+
] });
|
|
123
|
+
};
|
|
124
|
+
export {
|
|
125
|
+
U as InvestementAllocationList
|
|
126
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import r from "@mui/material/Stack";
|
|
4
|
+
import L from "@mui/material/styles/useTheme";
|
|
5
|
+
import { Text as p, H1 as j } from "@mxenabled/mxui";
|
|
6
|
+
import { Icon as I } from "@mxenabled/mx-icons";
|
|
7
|
+
import { currencyDisplay as u, percentageDisplay as M } from "../util/createInvestementsAllocationData/index.es.js";
|
|
8
|
+
import b from "../../../../common/components/charts/Donut/index.es.js";
|
|
9
|
+
import { useGlobalCopyStore as w } from "../../../../common/context/hooks/index.es.js";
|
|
10
|
+
const V = ({
|
|
11
|
+
data: t,
|
|
12
|
+
hoveredId: g,
|
|
13
|
+
isPercentage: h,
|
|
14
|
+
onMouseEnter: f,
|
|
15
|
+
onMouseLeave: y,
|
|
16
|
+
onSelected: d,
|
|
17
|
+
selectedId: o,
|
|
18
|
+
size: i = 150,
|
|
19
|
+
totalLabel: x
|
|
20
|
+
}) => {
|
|
21
|
+
const s = L(), l = s.palette.mode === "dark", n = m.useMemo(
|
|
22
|
+
() => o ? t.investmentsData.find(({ guid: G }) => G === o) : void 0,
|
|
23
|
+
[o]
|
|
24
|
+
), {
|
|
25
|
+
investments: { allocation: D }
|
|
26
|
+
} = w(), C = m.useMemo(() => t.donutData.length > 0 ? t.donutData : [{ id: "0", color: s.palette.border.light, value: 100 }], [t, s]), v = l ? "#0AC295" : "#09A57F", _ = l ? "grey.300" : "grey.700", k = () => n ? D.pie_chart_centered_click_for_details : h ? M(t.totalGainLossPercentage) : u(t.totalGainLoss), a = t.totalGainLoss >= 0 ? v : _;
|
|
27
|
+
return /* @__PURE__ */ e(
|
|
28
|
+
b,
|
|
29
|
+
{
|
|
30
|
+
data: C,
|
|
31
|
+
hoveredId: g,
|
|
32
|
+
onClick: d,
|
|
33
|
+
onMouseEnter: f,
|
|
34
|
+
onMouseLeave: y,
|
|
35
|
+
selectedId: o,
|
|
36
|
+
size: i,
|
|
37
|
+
children: /* @__PURE__ */ e(r, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(r, { alignItems: "center", justifyContent: "center", minHeight: i, minWidth: i, children: /* @__PURE__ */ c(r, { alignItems: "center", sx: { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } }, children: [
|
|
38
|
+
/* @__PURE__ */ e(p, { color: "text.secondary", noWrap: !0, children: n?.displayName ?? x }),
|
|
39
|
+
/* @__PURE__ */ e(j, { color: "text.primary", children: u(n?.value ?? t.totalMarketValue) }),
|
|
40
|
+
/* @__PURE__ */ c(r, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
41
|
+
!n && /* @__PURE__ */ e(
|
|
42
|
+
I,
|
|
43
|
+
{
|
|
44
|
+
name: t.totalGainLoss >= 0 ? "trending_up" : "trending_down",
|
|
45
|
+
size: 20,
|
|
46
|
+
sx: { color: a }
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
p,
|
|
51
|
+
{
|
|
52
|
+
sx: {
|
|
53
|
+
color: a,
|
|
54
|
+
fontWeight: 700
|
|
55
|
+
},
|
|
56
|
+
variant: "Small",
|
|
57
|
+
children: k()
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
] })
|
|
61
|
+
] }) }) })
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
V as InvestementsAllocationChart
|
|
67
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as b, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import x from "@mui/material/Stack";
|
|
4
|
+
import A from "@mui/material/useMediaQuery";
|
|
5
|
+
import { observer as I } from "mobx-react-lite";
|
|
6
|
+
import { InvestementAllocationList as g } from "../allocation/InvestementAllocationList/index.es.js";
|
|
7
|
+
import { InvestementsAllocationChart as h } from "../allocation/InvestmentsAllocationChart/index.es.js";
|
|
8
|
+
import { createInvestmentsAllocationData as y } from "../allocation/util/createInvestementsAllocationData/index.es.js";
|
|
9
|
+
import { useGlobalUiStore as H, useHoldingStore as M, useAccountStore as j, useGlobalCopyStore as w } from "../../../common/context/hooks/index.es.js";
|
|
10
|
+
import { useScreenSize as C } from "../../../common/hooks/useScreenSize/index.es.js";
|
|
11
|
+
const D = () => {
|
|
12
|
+
const [n, d] = s.useState(0), [t, c] = s.useState(""), [u, o] = s.useState(""), i = (e) => {
|
|
13
|
+
t !== e ? c(e) : (c(""), o(""));
|
|
14
|
+
}, { selectedAccountGuids: f } = H(), { visibleHoldings: p } = M(), { visibleInvestmentAccounts: S } = j(), {
|
|
15
|
+
investments: { allocation: r }
|
|
16
|
+
} = w(), l = y(
|
|
17
|
+
S.filter(({ guid: e }) => f.includes(e)),
|
|
18
|
+
r,
|
|
19
|
+
p
|
|
20
|
+
), { isMobile: v } = C(), a = A("(max-width:768px)");
|
|
21
|
+
return /* @__PURE__ */ b(
|
|
22
|
+
x,
|
|
23
|
+
{
|
|
24
|
+
alignItems: a ? "center" : "flex-start",
|
|
25
|
+
direction: a ? "column" : "row",
|
|
26
|
+
gap: { xs: 16, md: 64, xl: 100 },
|
|
27
|
+
sx: {
|
|
28
|
+
justifyContent: "center",
|
|
29
|
+
mt: 50,
|
|
30
|
+
width: "100%"
|
|
31
|
+
},
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ m(
|
|
34
|
+
h,
|
|
35
|
+
{
|
|
36
|
+
data: l,
|
|
37
|
+
hoveredId: u,
|
|
38
|
+
isPercentage: n === 1,
|
|
39
|
+
onMouseEnter: (e) => {
|
|
40
|
+
t === e ? o("") : t || o(e);
|
|
41
|
+
},
|
|
42
|
+
onMouseLeave: () => {
|
|
43
|
+
o("");
|
|
44
|
+
},
|
|
45
|
+
onSelected: i,
|
|
46
|
+
selectedId: t,
|
|
47
|
+
size: v ? 280 : 400,
|
|
48
|
+
totalLabel: r.pie_chart_centered_text
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ m(
|
|
52
|
+
g,
|
|
53
|
+
{
|
|
54
|
+
data: l,
|
|
55
|
+
onSelected: i,
|
|
56
|
+
selectedId: t,
|
|
57
|
+
selectedTabs: n,
|
|
58
|
+
setSelectedTabs: d
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}, U = I(D);
|
|
65
|
+
export {
|
|
66
|
+
U as default
|
|
67
|
+
};
|
package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { formatPercentage as L, formatCurrency as v } from "../../../../../common/utils/NumberFormatting/index.es.js";
|
|
2
|
+
const y = {
|
|
3
|
+
allocations_cash: "#AEDCCC",
|
|
4
|
+
allocations_convertible: "#80CAD0",
|
|
5
|
+
allocations_foreign_bond: "#51B9D4",
|
|
6
|
+
allocations_foreign_stock: "#3DA0C9",
|
|
7
|
+
allocations_other: "#3583B8",
|
|
8
|
+
allocations_preferred: "#2D66A7",
|
|
9
|
+
allocations_unknown: "#161D6A",
|
|
10
|
+
allocations_us_bond: "#254995",
|
|
11
|
+
allocations_us_stock: "#1E2D84"
|
|
12
|
+
}, C = [
|
|
13
|
+
{
|
|
14
|
+
name: "allocations_cash"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: "allocations_convertible"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "allocations_foreign_bond"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "allocations_foreign_stock"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "allocations_other"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "allocations_preferred"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "allocations_us_bond"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: "allocations_us_stock"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "allocations_unknown"
|
|
39
|
+
}
|
|
40
|
+
], h = (t, l, r) => {
|
|
41
|
+
const c = l, e = r;
|
|
42
|
+
return t >= Math.min(c, e) && t < Math.max(c, e);
|
|
43
|
+
}, V = (t, l, r) => {
|
|
44
|
+
const c = [
|
|
45
|
+
...new Set(t.map((i) => i.name.toLowerCase()))
|
|
46
|
+
];
|
|
47
|
+
let e;
|
|
48
|
+
return c.map((i) => {
|
|
49
|
+
const m = t.reduce((o, u) => {
|
|
50
|
+
const d = u.name;
|
|
51
|
+
return d.toLowerCase() === i ? (e = d, b(u) * u[l] / 100 + o) : o;
|
|
52
|
+
}, 0);
|
|
53
|
+
return {
|
|
54
|
+
displayName: e,
|
|
55
|
+
name: e,
|
|
56
|
+
value: m,
|
|
57
|
+
percentage: m / r
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
}, b = (t) => t.calculated_market_value ? t.calculated_market_value : t.market_value, w = (t, l, r) => {
|
|
61
|
+
const c = Object.values(l.allocations_list), e = [];
|
|
62
|
+
let p = 0;
|
|
63
|
+
const i = t.map(({ guid: a }) => a), m = r.filter(({ account_guid: a }) => i.includes(a)).map((a) => ({
|
|
64
|
+
...a,
|
|
65
|
+
name: a.symbol || a.description,
|
|
66
|
+
gainLoss: a.cost_basis || a.cost_basis === 0 ? b(a) - a.cost_basis : 0
|
|
67
|
+
})), { cashBalance: o, totalAccountBalance: u } = t.reduce(
|
|
68
|
+
(a, n) => ({
|
|
69
|
+
cashBalance: a.cashBalance + (n.cash_balance || 0),
|
|
70
|
+
totalAccountBalance: a.totalAccountBalance + (n.balance || 0)
|
|
71
|
+
}),
|
|
72
|
+
{ cashBalance: 0, totalAccountBalance: 0 }
|
|
73
|
+
), { marketValue: d, totalGainLoss: A } = m.reduce(
|
|
74
|
+
(a, n) => ({
|
|
75
|
+
marketValue: a.marketValue + b(n),
|
|
76
|
+
totalGainLoss: a.totalGainLoss + n.gainLoss
|
|
77
|
+
}),
|
|
78
|
+
{ marketValue: 0, totalGainLoss: 0 }
|
|
79
|
+
), g = d + o;
|
|
80
|
+
C.forEach((a, n) => {
|
|
81
|
+
const f = m.filter(
|
|
82
|
+
(_) => !!_[a.name]
|
|
83
|
+
);
|
|
84
|
+
let s = f.reduce(
|
|
85
|
+
(_, k) => _ + b(k) * k[a.name] / 100,
|
|
86
|
+
0
|
|
87
|
+
);
|
|
88
|
+
const D = V(
|
|
89
|
+
f,
|
|
90
|
+
a.name,
|
|
91
|
+
s
|
|
92
|
+
);
|
|
93
|
+
if (a.name === "allocations_cash" && o > 0) {
|
|
94
|
+
s += o;
|
|
95
|
+
const _ = {
|
|
96
|
+
displayName: l.cash_balance_display_name,
|
|
97
|
+
name: "allocations_name",
|
|
98
|
+
value: o,
|
|
99
|
+
percentage: o / g
|
|
100
|
+
};
|
|
101
|
+
D.push(_);
|
|
102
|
+
}
|
|
103
|
+
s > 0 && (e.push({
|
|
104
|
+
name: a.name,
|
|
105
|
+
displayName: c[n],
|
|
106
|
+
guid: `${a.name}-${n}`,
|
|
107
|
+
holdings: D,
|
|
108
|
+
percentage: s / g,
|
|
109
|
+
value: s,
|
|
110
|
+
color: y[a.name]
|
|
111
|
+
}), p += s);
|
|
112
|
+
});
|
|
113
|
+
const B = e.map(
|
|
114
|
+
({ displayName: a, guid: n, color: f, value: s }) => ({
|
|
115
|
+
id: n,
|
|
116
|
+
color: f,
|
|
117
|
+
label: a,
|
|
118
|
+
value: s / p * 100
|
|
119
|
+
})
|
|
120
|
+
);
|
|
121
|
+
return {
|
|
122
|
+
investmentsData: e,
|
|
123
|
+
donutData: B,
|
|
124
|
+
totalAmount: p,
|
|
125
|
+
totalGainLoss: A,
|
|
126
|
+
totalMarketValue: g,
|
|
127
|
+
totalGainLossPercentage: A / u
|
|
128
|
+
};
|
|
129
|
+
}, T = (t) => t < 1e-3 ? "< 0.1%" : L(t), E = (t) => t === 0 ? v(t, "0,0.00") : h(t, -0.01, 0.01) ? "< $0.01" : v(t, "0,0.00");
|
|
130
|
+
export {
|
|
131
|
+
w as createInvestmentsAllocationData,
|
|
132
|
+
E as currencyDisplay,
|
|
133
|
+
T as percentageDisplay
|
|
134
|
+
};
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import T from "react";
|
|
3
|
+
import { observer as A } from "mobx-react-lite";
|
|
4
|
+
import r from "@mui/material/Stack";
|
|
5
|
+
import { useTheme as M } from "@mui/material/styles";
|
|
6
|
+
import B from "@mui/material/useMediaQuery";
|
|
7
|
+
import { P as L, Text as l } from "@mxenabled/mxui";
|
|
8
|
+
import { AnalysisType as g } from "../../constants/index/index.es.js";
|
|
9
|
+
import O from "../AnalysisDetails/index.es.js";
|
|
10
|
+
import V from "../InfoToolTip/index.es.js";
|
|
11
|
+
import { useGlobalCopyStore as q, useHoldingStore as H } from "../../../common/context/hooks/index.es.js";
|
|
12
|
+
import { useScreenSize as z } from "../../../common/hooks/useScreenSize/index.es.js";
|
|
13
|
+
const F = () => {
|
|
14
|
+
const {
|
|
15
|
+
investments: { analysis: t }
|
|
16
|
+
} = q(), { analysisChartData: v, analysisDetails: D, analysisType: n, setAnalysisType: S } = H(), R = B("(min-width:320px) and (max-width:375px)"), { isMobile: o } = z(), j = M().palette.mode === "dark", { cellDimension: p, columns: k, rows: C, textVariant: c } = T.useMemo(() => {
|
|
17
|
+
const i = n === g.Stocks, s = Object.values(i ? t.stock_column_labels : t.bond_column_labels), y = Object.values(i ? t.stock_row_labels : t.bond_row_labels);
|
|
18
|
+
return { cellDimension: o ? 72 : 100, columns: s, rows: y, textVariant: o ? "XSmall" : "Body" };
|
|
19
|
+
}, [t, o, n]);
|
|
20
|
+
return /* @__PURE__ */ a(
|
|
21
|
+
r,
|
|
22
|
+
{
|
|
23
|
+
sx: {
|
|
24
|
+
flexDirection: { md: "row" },
|
|
25
|
+
gap: o ? 48 : 64,
|
|
26
|
+
justifyContent: "center",
|
|
27
|
+
pt: 48,
|
|
28
|
+
px: 16
|
|
29
|
+
},
|
|
30
|
+
children: [
|
|
31
|
+
/* @__PURE__ */ a(
|
|
32
|
+
r,
|
|
33
|
+
{
|
|
34
|
+
sx: {
|
|
35
|
+
alignItems: "center",
|
|
36
|
+
flexDirection: "row",
|
|
37
|
+
justifyContent: "center",
|
|
38
|
+
pr: { lg: 72 }
|
|
39
|
+
},
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ a(
|
|
42
|
+
r,
|
|
43
|
+
{
|
|
44
|
+
sx: {
|
|
45
|
+
alignItems: "center",
|
|
46
|
+
bottom: o ? 10 : 24,
|
|
47
|
+
gap: o ? 0 : 24,
|
|
48
|
+
position: "relative",
|
|
49
|
+
transform: "rotate(-180deg)",
|
|
50
|
+
writingMode: "vertical-rl"
|
|
51
|
+
},
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ e(L, { bold: !0, color: "secondary.main", variant: c, children: n === g.Stocks ? t.market_capitalization : t.credit_quality }),
|
|
54
|
+
/* @__PURE__ */ e(
|
|
55
|
+
r,
|
|
56
|
+
{
|
|
57
|
+
sx: {
|
|
58
|
+
flexDirection: "row",
|
|
59
|
+
height: o ? 224 : 308,
|
|
60
|
+
justifyContent: "space-around"
|
|
61
|
+
},
|
|
62
|
+
children: k.map((i) => /* @__PURE__ */ e(
|
|
63
|
+
l,
|
|
64
|
+
{
|
|
65
|
+
sx: {
|
|
66
|
+
color: "secondary.main",
|
|
67
|
+
pl: 12,
|
|
68
|
+
pr: o ? 4 : 0
|
|
69
|
+
},
|
|
70
|
+
variant: c,
|
|
71
|
+
children: i
|
|
72
|
+
},
|
|
73
|
+
i
|
|
74
|
+
))
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
/* @__PURE__ */ a(r, { sx: { gap: 4 }, children: [
|
|
81
|
+
/* @__PURE__ */ a(
|
|
82
|
+
r,
|
|
83
|
+
{
|
|
84
|
+
sx: {
|
|
85
|
+
alignSelf: R ? "start" : "center",
|
|
86
|
+
flexDirection: "row",
|
|
87
|
+
gap: 8,
|
|
88
|
+
pb: 12
|
|
89
|
+
},
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ e(l, { bold: !0, children: t.invest_analysis }),
|
|
92
|
+
/* @__PURE__ */ e(
|
|
93
|
+
V,
|
|
94
|
+
{
|
|
95
|
+
tooltip_info_body: t.tooltip_info_body,
|
|
96
|
+
tooltip_info_title: t.tooltip_info_title
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
),
|
|
102
|
+
v.map((i, s, y) => /* @__PURE__ */ e(r, { sx: { flexDirection: "row", gap: 4 }, children: i.map((u, m) => {
|
|
103
|
+
const b = s === 0, x = s === y.length - 1, _ = m === 0, w = m === i.length - 1, d = Number(u.replace("%", "")) >= 25;
|
|
104
|
+
let h = "grey.200", f = "grey.900";
|
|
105
|
+
return j ? (h = d ? "grey.200" : "grey.700", f = d ? "grey.900" : "common.white") : (h = d ? "grey.700" : "grey.200", f = d ? "common.white" : "grey.900"), /* @__PURE__ */ e(
|
|
106
|
+
r,
|
|
107
|
+
{
|
|
108
|
+
sx: {
|
|
109
|
+
...{
|
|
110
|
+
borderBottomLeftRadius: x && _ ? 4 : 0,
|
|
111
|
+
borderBottomRightRadius: x && w ? 4 : 0,
|
|
112
|
+
borderTopLeftRadius: b && _ ? 4 : 0,
|
|
113
|
+
borderTopRightRadius: b && w ? 4 : 0
|
|
114
|
+
},
|
|
115
|
+
alignItems: "center",
|
|
116
|
+
bgcolor: h,
|
|
117
|
+
height: p,
|
|
118
|
+
justifyContent: "center",
|
|
119
|
+
width: p
|
|
120
|
+
},
|
|
121
|
+
children: /* @__PURE__ */ e(
|
|
122
|
+
l,
|
|
123
|
+
{
|
|
124
|
+
sx: {
|
|
125
|
+
color: f,
|
|
126
|
+
fontWeight: o ? 600 : 700
|
|
127
|
+
},
|
|
128
|
+
variant: o ? "Body" : "H3",
|
|
129
|
+
children: u
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
},
|
|
133
|
+
m
|
|
134
|
+
);
|
|
135
|
+
}) }, s)),
|
|
136
|
+
/* @__PURE__ */ e(r, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: C.map((i) => /* @__PURE__ */ e(r, { sx: { alignItems: "center", width: p }, children: /* @__PURE__ */ e(l, { color: "secondary.main", variant: c, children: i }) }, i)) }),
|
|
137
|
+
/* @__PURE__ */ e(
|
|
138
|
+
l,
|
|
139
|
+
{
|
|
140
|
+
bold: !0,
|
|
141
|
+
sx: { color: "secondary.main", pt: o ? 4 : 24, textAlign: "center" },
|
|
142
|
+
variant: c,
|
|
143
|
+
children: n === g.Stocks ? t.valuation : t.duration
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
] })
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
),
|
|
150
|
+
/* @__PURE__ */ e(
|
|
151
|
+
O,
|
|
152
|
+
{
|
|
153
|
+
analysisDetails: D,
|
|
154
|
+
analysisType: n,
|
|
155
|
+
copy: {
|
|
156
|
+
empty_data: t.empty_data,
|
|
157
|
+
equities: t.equities,
|
|
158
|
+
bonds: t.bonds
|
|
159
|
+
},
|
|
160
|
+
setAnalysisType: S
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
}, tt = A(F);
|
|
167
|
+
export {
|
|
168
|
+
tt as default
|
|
169
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsxs as n, jsx as t, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import u from "react";
|
|
3
|
+
import h from "@mui/material/Divider";
|
|
4
|
+
import g from "@mui/material/List";
|
|
5
|
+
import x from "@mui/material/ListItem";
|
|
6
|
+
import y from "@mui/material/ListItemText";
|
|
7
|
+
import b from "@mui/material/Stack";
|
|
8
|
+
import S from "@mui/material/ToggleButton";
|
|
9
|
+
import T from "@mui/material/ToggleButtonGroup";
|
|
10
|
+
import { Text as l } from "@mxenabled/mxui";
|
|
11
|
+
import { AnalysisType as s } from "../../constants/index/index.es.js";
|
|
12
|
+
import { formatKey as v } from "../../util/InvestmentUtil/index.es.js";
|
|
13
|
+
import { EmptyStateFooterComponent as I } from "../EmptyStateFooterComponent/index.es.js";
|
|
14
|
+
import { useScreenSize as L } from "../../../common/hooks/useScreenSize/index.es.js";
|
|
15
|
+
import { formatCurrency as M } from "../../../common/utils/NumberFormatting/index.es.js";
|
|
16
|
+
const P = ({
|
|
17
|
+
analysisDetails: e,
|
|
18
|
+
analysisType: p,
|
|
19
|
+
copy: i,
|
|
20
|
+
setAnalysisType: d
|
|
21
|
+
}) => {
|
|
22
|
+
const { isSmallMobile: a } = L(), m = u.useMemo(() => Object.keys(e).filter((r) => e[r] >= 1).map((r) => ({
|
|
23
|
+
key: r,
|
|
24
|
+
value: M(e[r], "0,0"),
|
|
25
|
+
formattedKey: v(r)
|
|
26
|
+
})), [e]), c = [
|
|
27
|
+
{ label: i.equities, value: s.Stocks },
|
|
28
|
+
{ label: i.bonds, value: s.Bonds }
|
|
29
|
+
];
|
|
30
|
+
return /* @__PURE__ */ n(b, { sx: { gap: 12, width: { md: 412 } }, children: [
|
|
31
|
+
/* @__PURE__ */ t(
|
|
32
|
+
T,
|
|
33
|
+
{
|
|
34
|
+
color: "primary",
|
|
35
|
+
exclusive: !0,
|
|
36
|
+
onChange: (r, o) => o && d(o),
|
|
37
|
+
sx: {
|
|
38
|
+
width: "100%",
|
|
39
|
+
"& .MuiToggleButton-root": {
|
|
40
|
+
color: "secondary.main",
|
|
41
|
+
fontWeight: 600,
|
|
42
|
+
textTransform: "capitalize"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
value: m.length ? p : -1,
|
|
46
|
+
children: c.map(({ label: r, value: o }) => /* @__PURE__ */ t(S, { sx: { width: "100%" }, value: o, children: r }, o))
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
m.length ? /* @__PURE__ */ t(
|
|
50
|
+
g,
|
|
51
|
+
{
|
|
52
|
+
sx: {
|
|
53
|
+
"& .MuiListItemSecondaryAction-root": { pr: 12 },
|
|
54
|
+
"& .MuiListItem-divider": { borderColor: "border.light" },
|
|
55
|
+
"& .MuiListItem-root": { minHeight: 44, px: 12 }
|
|
56
|
+
},
|
|
57
|
+
children: m.map(({ value: r, formattedKey: o }) => /* @__PURE__ */ t(x, { divider: !0, secondaryAction: /* @__PURE__ */ t(l, { children: r }), children: /* @__PURE__ */ t(
|
|
58
|
+
y,
|
|
59
|
+
{
|
|
60
|
+
primary: o,
|
|
61
|
+
primaryTypographyProps: { fontStyle: "normal" }
|
|
62
|
+
}
|
|
63
|
+
) }, o))
|
|
64
|
+
}
|
|
65
|
+
) : /* @__PURE__ */ n(f, { children: [
|
|
66
|
+
/* @__PURE__ */ t(l, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: i.empty_data }),
|
|
67
|
+
/* @__PURE__ */ t(h, { sx: { borderColor: "border.light" } }),
|
|
68
|
+
/* @__PURE__ */ t(
|
|
69
|
+
I,
|
|
70
|
+
{
|
|
71
|
+
sx: {
|
|
72
|
+
".inner-container": { width: a ? "100%" : 364 }
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
] })
|
|
77
|
+
] });
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
P as default
|
|
81
|
+
};
|