@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0-ram1-bug-alpha-testing
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 +676 -9
- package/README.md +216 -47
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
- package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
- package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
- package/dist/AccountUtils-T5_Odvos.mjs +27 -0
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Analytics-CkYXKvco.mjs +53 -0
- package/dist/Analytics-CzGzz_sE.mjs +136 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
- package/dist/Connect-Dk6GZEsA.mjs +39 -0
- package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
- package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
- package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
- package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
- package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
- package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/Dialog-CwWc0AbH.mjs +63 -0
- package/dist/Donut-SzzfZDHF.mjs +88 -0
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
- package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
- package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
- package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
- package/dist/LineChart-CejWS_rh.mjs +612 -0
- package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/ManageIncome-B1JfqslT.mjs +595 -0
- package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
- package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
- package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/SelectionBox-B4xELRgp.mjs +48 -0
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-xyRoRDHv.mjs} +7 -7
- package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
- package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
- package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -2
- package/dist/accounts/index.es.js +628 -527
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.d.ts +2 -1
- package/dist/budgets/index.es.js +989 -813
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -2
- package/dist/cashflow/index.es.js +461 -490
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/components/CurrencyDialog.d.ts +19 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/Error.d.ts +13 -0
- package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/TinyBarChart.d.ts +10 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -3
- package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -6
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +24 -24
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.es.js +254 -1348
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +2 -2
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/PostMessage.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +7 -6
- package/dist/common/utils/index.d.ts +1 -6
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.es.js +108 -0
- package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
- package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
- package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +8 -2
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Client.d.ts +1 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/{common → core}/types/Widgets.d.ts +1 -0
- package/dist/{common → core}/types/index.d.ts +4 -3
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
- package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/{common → core}/utils/Localization.d.ts +9 -1
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/dashboard/index.es.js +39 -38
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +715 -775
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +2 -2
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.d.ts +0 -2
- package/dist/finstrong/index.es.js +1587 -1349
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
- package/dist/goals/GoalsWidget.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -2
- package/dist/goals/index.es.js +707 -787
- package/dist/help/HelpWidget.d.ts +2 -2
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +19 -10
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +53 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
- package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
- package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/insights/index.d.ts +25 -0
- package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
- package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
- package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
- package/dist/insights/components/shared/Coupon.d.ts +8 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
- package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
- package/dist/insights/components/shared/TabContainer.d.ts +8 -0
- package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/shared/index.d.ts +2 -0
- package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -1
- package/dist/insights/index.es.js +4843 -2
- package/dist/insights/themes/Typography.d.ts +1 -0
- package/dist/insights/themes/index.d.ts +1 -0
- package/dist/insights/types/Charts/BarChart.d.ts +96 -0
- package/dist/insights/types/CommonBeat.d.ts +367 -0
- package/dist/insights/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/InvestmentsWidget.d.ts +2 -2
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +574 -574
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +18 -20
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +3 -3
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
- package/dist/microinsights/carousel/BeatList.d.ts +3 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +23 -40
- package/dist/microinsights/stores/CopyStore.d.ts +2 -2
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +302 -314
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +101 -93
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +489 -462
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +2 -2
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -2
- package/dist/settings/index.es.js +419 -430
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +229 -222
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -5
- package/dist/transactions/index.es.js +344 -351
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +17 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +991 -876
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +5 -3
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +2 -2
- package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
- package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +65 -43
- package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
- package/dist/AccountFields-BRRH37K1.mjs +0 -140
- package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
- package/dist/AccountStore-BFKvXJSD.mjs +0 -244
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BeatApi-De2IaqH2.mjs +0 -21
- package/dist/BeatStore-D_NYuBSz.mjs +0 -81
- package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
- package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
- package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
- package/dist/DateUtil-CVsMhbZU.mjs +0 -48
- package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
- package/dist/Dialog-CWymUiuO.mjs +0 -120
- package/dist/Donut-Dmy3JTWd.mjs +0 -86
- package/dist/Fetch-DecPFeGU.mjs +0 -119
- package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
- package/dist/GoalStore-Dbjgft2i.mjs +0 -422
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-DHj-Bufi.mjs +0 -580
- package/dist/Loader-BSWSYqvn.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
- package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
- package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
- package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
- package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
- package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
- package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
- package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
- package/dist/TransactionApi-CjBoLleL.mjs +0 -86
- package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
- package/dist/TransactionStore-D2aMUClq.mjs +0 -688
- package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
- package/dist/User-CulNdZUr.mjs +0 -314
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
- package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/debts/store/DebtsStore.d.ts +0 -9
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -14
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
- package/dist/{common → core}/constants/Category.d.ts +0 -0
- package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- package/dist/{help → core}/constants/Help.d.ts +0 -0
- package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- package/dist/{common → core}/constants/Table.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
- package/dist/{common → core}/stores/UserStore.d.ts +1 -1
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
- /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { observer as
|
|
1
|
+
import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
2
|
+
import T, { useState as O } from "react";
|
|
3
|
+
import { observer as $ } from "mobx-react-lite";
|
|
4
4
|
import _ from "@mui/material/Stack";
|
|
5
5
|
import Fe from "@mui/material/Tab";
|
|
6
6
|
import Ee from "@mui/material/Tabs";
|
|
7
|
-
import { C as pe } from "../ConnectionsDrawer-
|
|
7
|
+
import { C as pe } from "../ConnectionsDrawer-CtfPXk0M.mjs";
|
|
8
8
|
import xe from "@mui/material/useMediaQuery";
|
|
9
9
|
import Ne from "@mui/material/Box";
|
|
10
10
|
import Me from "@mui/material/Collapse";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
11
|
+
import Y from "@mui/material/Divider";
|
|
12
|
+
import ne from "@mui/material/List";
|
|
13
|
+
import ie from "@mui/material/ListItem";
|
|
14
14
|
import Ge from "@mui/material/ListItemButton";
|
|
15
15
|
import ye from "@mui/material/ToggleButton";
|
|
16
16
|
import fe from "@mui/material/ToggleButtonGroup";
|
|
17
|
-
import { Text as
|
|
18
|
-
import
|
|
19
|
-
import { u as
|
|
20
|
-
import { A as z
|
|
21
|
-
import { f as
|
|
22
|
-
import { u as
|
|
23
|
-
import
|
|
24
|
-
import { Icon as
|
|
25
|
-
import { D as
|
|
26
|
-
import {
|
|
27
|
-
import
|
|
28
|
-
import Re from "@mui/material/ListItemText";
|
|
17
|
+
import { Text as o, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
|
|
18
|
+
import Ue from "@mui/material/Button";
|
|
19
|
+
import { u as N, g as ve, v as U, b as J, d as ce } from "../hooks-BaO_gOI6.mjs";
|
|
20
|
+
import { A as z } from "../Analytics-CzGzz_sE.mjs";
|
|
21
|
+
import { f as re, a as je } from "../NumberFormatting--XMeeBfr.mjs";
|
|
22
|
+
import { u as j } from "../useScreenSize-mWpmnh5w.mjs";
|
|
23
|
+
import { useTheme as Z } from "@mui/material/styles";
|
|
24
|
+
import { Icon as B } from "@mxenabled/mx-icons";
|
|
25
|
+
import { D as He } from "../Donut-SzzfZDHF.mjs";
|
|
26
|
+
import { f as ze, A as V } from "../InvestmentUtil-BItV7uEs.mjs";
|
|
27
|
+
import Oe from "@mui/material/ListItemText";
|
|
29
28
|
import de from "@mui/material/IconButton";
|
|
30
|
-
import
|
|
29
|
+
import Ve from "@mui/material/Tooltip";
|
|
31
30
|
import be from "@mui/material/Accordion";
|
|
32
31
|
import _e from "@mui/material/AccordionDetails";
|
|
33
32
|
import we from "@mui/material/AccordionSummary";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
33
|
+
import se from "@mui/material/Paper";
|
|
34
|
+
import p from "@mui/system/Stack";
|
|
36
35
|
import Ce from "@mui/material/TextField";
|
|
37
|
-
import { D as
|
|
36
|
+
import { D as Re } from "../Drawer-BXqqBMxg.mjs";
|
|
38
37
|
import { DataGridPro as $e } from "@mui/x-data-grid-pro";
|
|
39
|
-
import { Stack as
|
|
40
|
-
import { L as
|
|
41
|
-
import { u as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
38
|
+
import { Stack as Pe } from "@mui/material";
|
|
39
|
+
import { L as De } from "../Loader-CxeBwuPG.mjs";
|
|
40
|
+
import { u as qe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
41
|
+
import { W as Ke } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
42
|
+
import { A as Ye } from "../Account-BaJmiJAG.mjs";
|
|
43
|
+
import { E as Qe } from "../EmptyState-CJUDc3kD.mjs";
|
|
44
44
|
const me = ({ sx: t = {} }) => {
|
|
45
|
-
const { investments:
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
45
|
+
const { investments: u } = N(), { onEvent: c } = ve(), { setShowConnectionsWidget: m } = U();
|
|
46
|
+
return /* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
|
|
47
|
+
/* @__PURE__ */ i(
|
|
48
48
|
_,
|
|
49
49
|
{
|
|
50
50
|
className: "inner-container",
|
|
@@ -55,31 +55,30 @@ const me = ({ sx: t = {} }) => {
|
|
|
55
55
|
textAlign: "center"
|
|
56
56
|
},
|
|
57
57
|
children: [
|
|
58
|
-
/* @__PURE__ */ e(
|
|
58
|
+
/* @__PURE__ */ e(o, { sx: { fontWeight: 600 }, variant: "body1", children: u.overview.investment_accounts_footer }),
|
|
59
59
|
/* @__PURE__ */ e(
|
|
60
|
-
|
|
60
|
+
o,
|
|
61
61
|
{
|
|
62
62
|
sx: {
|
|
63
63
|
color: "text.secondary",
|
|
64
|
-
whiteSpace: "normal",
|
|
65
64
|
fontWeight: 400
|
|
66
65
|
},
|
|
67
|
-
variant: "
|
|
68
|
-
children:
|
|
66
|
+
variant: "subtitle2",
|
|
67
|
+
children: u.overview.connect_more_accounts_description
|
|
69
68
|
}
|
|
70
69
|
)
|
|
71
70
|
]
|
|
72
71
|
}
|
|
73
72
|
),
|
|
74
73
|
/* @__PURE__ */ e(
|
|
75
|
-
|
|
74
|
+
Ue,
|
|
76
75
|
{
|
|
77
76
|
onClick: () => {
|
|
78
77
|
m(!0), c(z.ACCOUNTS_CLICK_CONNECT);
|
|
79
78
|
},
|
|
80
79
|
sx: { fontWeight: 600 },
|
|
81
80
|
variant: "outlined",
|
|
82
|
-
children:
|
|
81
|
+
children: u.overview.connect_accounts
|
|
83
82
|
}
|
|
84
83
|
)
|
|
85
84
|
] });
|
|
@@ -93,7 +92,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
93
92
|
allocations_unknown: "#161D6A",
|
|
94
93
|
allocations_us_bond: "#254995",
|
|
95
94
|
allocations_us_stock: "#1E2D84"
|
|
96
|
-
},
|
|
95
|
+
}, Xe = [
|
|
97
96
|
{
|
|
98
97
|
name: "allocations_cash"
|
|
99
98
|
},
|
|
@@ -121,135 +120,135 @@ const me = ({ sx: t = {} }) => {
|
|
|
121
120
|
{
|
|
122
121
|
name: "allocations_unknown"
|
|
123
122
|
}
|
|
124
|
-
],
|
|
125
|
-
const m =
|
|
126
|
-
return t >= Math.min(m,
|
|
127
|
-
},
|
|
123
|
+
], Ze = (t, u, c) => {
|
|
124
|
+
const m = u, f = c;
|
|
125
|
+
return t >= Math.min(m, f) && t < Math.max(m, f);
|
|
126
|
+
}, et = (t, u, c) => {
|
|
128
127
|
const m = [
|
|
129
128
|
...new Set(t.map((d) => d.name.toLowerCase()))
|
|
130
129
|
];
|
|
131
|
-
let
|
|
130
|
+
let f;
|
|
132
131
|
return m.map((d) => {
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
return
|
|
132
|
+
const l = t.reduce((x, h) => {
|
|
133
|
+
const b = h.name;
|
|
134
|
+
return b.toLowerCase() === d ? (f = b, Q(h) * h[u] / 100 + x) : x;
|
|
136
135
|
}, 0);
|
|
137
136
|
return {
|
|
138
|
-
displayName:
|
|
139
|
-
name:
|
|
140
|
-
value:
|
|
141
|
-
percentage:
|
|
137
|
+
displayName: f,
|
|
138
|
+
name: f,
|
|
139
|
+
value: l,
|
|
140
|
+
percentage: l / c
|
|
142
141
|
};
|
|
143
142
|
});
|
|
144
|
-
},
|
|
145
|
-
const m = Object.values(
|
|
146
|
-
let
|
|
147
|
-
const d = t.map(({ guid: n }) => n),
|
|
143
|
+
}, Q = (t) => t.calculated_market_value ? t.calculated_market_value : t.market_value, tt = (t, u, c) => {
|
|
144
|
+
const m = Object.values(u.allocations_list), f = [];
|
|
145
|
+
let v = 0;
|
|
146
|
+
const d = t.map(({ guid: n }) => n), l = c.filter(({ account_guid: n }) => d.includes(n)).map((n) => ({
|
|
148
147
|
...n,
|
|
149
148
|
name: n.symbol || n.description,
|
|
150
|
-
gainLoss: n.cost_basis || n.cost_basis === 0 ?
|
|
151
|
-
})), { cashBalance:
|
|
152
|
-
(n,
|
|
153
|
-
cashBalance: n.cashBalance + (
|
|
154
|
-
totalAccountBalance: n.totalAccountBalance + (
|
|
149
|
+
gainLoss: n.cost_basis || n.cost_basis === 0 ? Q(n) - n.cost_basis : 0
|
|
150
|
+
})), { cashBalance: x, totalAccountBalance: h } = t.reduce(
|
|
151
|
+
(n, g) => ({
|
|
152
|
+
cashBalance: n.cashBalance + (g.cash_balance || 0),
|
|
153
|
+
totalAccountBalance: n.totalAccountBalance + (g.balance || 0)
|
|
155
154
|
}),
|
|
156
155
|
{ cashBalance: 0, totalAccountBalance: 0 }
|
|
157
|
-
), { marketValue:
|
|
158
|
-
(n,
|
|
159
|
-
marketValue: n.marketValue +
|
|
160
|
-
totalGainLoss: n.totalGainLoss +
|
|
156
|
+
), { marketValue: b, totalGainLoss: s } = l.reduce(
|
|
157
|
+
(n, g) => ({
|
|
158
|
+
marketValue: n.marketValue + Q(g),
|
|
159
|
+
totalGainLoss: n.totalGainLoss + g.gainLoss
|
|
161
160
|
}),
|
|
162
161
|
{ marketValue: 0, totalGainLoss: 0 }
|
|
163
|
-
),
|
|
164
|
-
|
|
165
|
-
const
|
|
166
|
-
(
|
|
162
|
+
), y = b + x;
|
|
163
|
+
Xe.forEach((n, g) => {
|
|
164
|
+
const C = l.filter(
|
|
165
|
+
(W) => !!W[n.name]
|
|
167
166
|
);
|
|
168
|
-
let
|
|
169
|
-
(
|
|
167
|
+
let D = C.reduce(
|
|
168
|
+
(W, A) => W + Q(A) * A[n.name] / 100,
|
|
170
169
|
0
|
|
171
170
|
);
|
|
172
|
-
const
|
|
173
|
-
|
|
171
|
+
const k = et(
|
|
172
|
+
C,
|
|
174
173
|
n.name,
|
|
175
|
-
|
|
174
|
+
D
|
|
176
175
|
);
|
|
177
|
-
if (n.name === "allocations_cash" &&
|
|
178
|
-
|
|
179
|
-
const
|
|
180
|
-
displayName:
|
|
176
|
+
if (n.name === "allocations_cash" && x > 0) {
|
|
177
|
+
D += x;
|
|
178
|
+
const W = {
|
|
179
|
+
displayName: u.cash_balance_display_name,
|
|
181
180
|
name: "allocations_name",
|
|
182
|
-
value:
|
|
183
|
-
percentage:
|
|
181
|
+
value: x,
|
|
182
|
+
percentage: x / y
|
|
184
183
|
};
|
|
185
|
-
|
|
184
|
+
k.push(W);
|
|
186
185
|
}
|
|
187
|
-
|
|
186
|
+
D > 0 && (f.push({
|
|
188
187
|
name: n.name,
|
|
189
|
-
displayName: m[
|
|
190
|
-
guid: `${n.name}-${
|
|
191
|
-
holdings:
|
|
192
|
-
percentage:
|
|
193
|
-
value:
|
|
188
|
+
displayName: m[g],
|
|
189
|
+
guid: `${n.name}-${g}`,
|
|
190
|
+
holdings: k,
|
|
191
|
+
percentage: D / y,
|
|
192
|
+
value: D,
|
|
194
193
|
color: Je[n.name]
|
|
195
|
-
}),
|
|
194
|
+
}), v += D);
|
|
196
195
|
});
|
|
197
|
-
const
|
|
198
|
-
({ displayName: n, guid:
|
|
199
|
-
id:
|
|
200
|
-
color:
|
|
196
|
+
const r = f.map(
|
|
197
|
+
({ displayName: n, guid: g, color: C, value: D }) => ({
|
|
198
|
+
id: g,
|
|
199
|
+
color: C,
|
|
201
200
|
label: n,
|
|
202
|
-
value:
|
|
201
|
+
value: D / v * 100
|
|
203
202
|
})
|
|
204
203
|
);
|
|
205
204
|
return {
|
|
206
|
-
investmentsData:
|
|
207
|
-
donutData:
|
|
208
|
-
totalAmount:
|
|
209
|
-
totalGainLoss:
|
|
210
|
-
totalMarketValue:
|
|
211
|
-
totalGainLossPercentage:
|
|
205
|
+
investmentsData: f,
|
|
206
|
+
donutData: r,
|
|
207
|
+
totalAmount: v,
|
|
208
|
+
totalGainLoss: s,
|
|
209
|
+
totalMarketValue: y,
|
|
210
|
+
totalGainLossPercentage: s / h
|
|
212
211
|
};
|
|
213
|
-
}, ae = (t) => t < 1e-3 ? "< 0.1%" : je(t), R = (t) => t === 0 ?
|
|
212
|
+
}, ae = (t) => t < 1e-3 ? "< 0.1%" : je(t), R = (t) => t === 0 ? re(t, "0,0.00") : Ze(t, -0.01, 0.01) ? "< $0.01" : re(t, "0,0.00"), nt = ({
|
|
214
213
|
data: t,
|
|
215
|
-
onSelected:
|
|
214
|
+
onSelected: u,
|
|
216
215
|
selectedId: c,
|
|
217
216
|
selectedTabs: m,
|
|
218
|
-
setSelectedTabs:
|
|
217
|
+
setSelectedTabs: f
|
|
219
218
|
}) => {
|
|
220
|
-
const
|
|
221
|
-
|
|
222
|
-
}, { isMobile: d } =
|
|
223
|
-
investments: { allocation:
|
|
224
|
-
} =
|
|
225
|
-
{ label:
|
|
226
|
-
{ label:
|
|
227
|
-
],
|
|
228
|
-
return /* @__PURE__ */
|
|
219
|
+
const v = (s, y) => {
|
|
220
|
+
y !== null && f(y);
|
|
221
|
+
}, { isMobile: d } = j(), {
|
|
222
|
+
investments: { allocation: l }
|
|
223
|
+
} = N(), x = [
|
|
224
|
+
{ label: l.tabs_label_dollar, value: 0 },
|
|
225
|
+
{ label: l.tabs_label_percent, value: 1 }
|
|
226
|
+
], h = !t?.investmentsData.length, { isSmallMobile: b } = j();
|
|
227
|
+
return /* @__PURE__ */ i(_, { sx: { mt: 15, gap: 12, width: d ? 250 : 412 }, children: [
|
|
229
228
|
/* @__PURE__ */ e(
|
|
230
229
|
fe,
|
|
231
230
|
{
|
|
232
231
|
exclusive: !0,
|
|
233
232
|
fullWidth: !0,
|
|
234
|
-
onChange:
|
|
235
|
-
value:
|
|
236
|
-
children:
|
|
233
|
+
onChange: v,
|
|
234
|
+
value: h ? -1 : m,
|
|
235
|
+
children: x.map(({ label: s, value: y }) => /* @__PURE__ */ e(ye, { color: "primary", value: y, children: /* @__PURE__ */ e(o, { bold: !0, textTransform: "capitalize", variant: "body1", children: s }) }, s))
|
|
237
236
|
}
|
|
238
237
|
),
|
|
239
|
-
/* @__PURE__ */ e(
|
|
238
|
+
/* @__PURE__ */ e(ne, { sx: { px: 12 }, children: t.investmentsData.map((s) => /* @__PURE__ */ i(T.Fragment, { children: [
|
|
240
239
|
/* @__PURE__ */ e(
|
|
241
|
-
|
|
240
|
+
ie,
|
|
242
241
|
{
|
|
243
242
|
disableGutters: !0,
|
|
244
243
|
disablePadding: !0,
|
|
245
244
|
sx: {
|
|
246
245
|
minHeight: 44
|
|
247
246
|
},
|
|
248
|
-
children: /* @__PURE__ */
|
|
247
|
+
children: /* @__PURE__ */ i(
|
|
249
248
|
Ge,
|
|
250
249
|
{
|
|
251
|
-
"aria-expanded": c ===
|
|
252
|
-
onClick: () =>
|
|
250
|
+
"aria-expanded": c === s.guid,
|
|
251
|
+
onClick: () => u(s.guid),
|
|
253
252
|
sx: { minHeight: 44, px: 12, py: 0 },
|
|
254
253
|
children: [
|
|
255
254
|
/* @__PURE__ */ e(
|
|
@@ -258,11 +257,11 @@ const me = ({ sx: t = {} }) => {
|
|
|
258
257
|
borderRadius: 4,
|
|
259
258
|
flexShrink: 0,
|
|
260
259
|
height: 8,
|
|
261
|
-
sx: { backgroundColor:
|
|
260
|
+
sx: { backgroundColor: s.color, mr: 8 },
|
|
262
261
|
width: 8
|
|
263
262
|
}
|
|
264
263
|
),
|
|
265
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ i(
|
|
266
265
|
_,
|
|
267
266
|
{
|
|
268
267
|
alignItems: "center",
|
|
@@ -270,8 +269,8 @@ const me = ({ sx: t = {} }) => {
|
|
|
270
269
|
justifyContent: "space-between",
|
|
271
270
|
width: "100%",
|
|
272
271
|
children: [
|
|
273
|
-
/* @__PURE__ */ e(
|
|
274
|
-
/* @__PURE__ */ e(
|
|
272
|
+
/* @__PURE__ */ e(o, { bold: c === s.guid, children: s.displayName }),
|
|
273
|
+
/* @__PURE__ */ e(o, { bold: c === s.guid, variant: "body1", children: m === 0 ? R(s.value) : ae(s.percentage) })
|
|
275
274
|
]
|
|
276
275
|
}
|
|
277
276
|
)
|
|
@@ -280,111 +279,111 @@ const me = ({ sx: t = {} }) => {
|
|
|
280
279
|
)
|
|
281
280
|
}
|
|
282
281
|
),
|
|
283
|
-
/* @__PURE__ */ e(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
282
|
+
/* @__PURE__ */ e(Y, {}),
|
|
283
|
+
s.holdings && s.holdings.length > 0 && /* @__PURE__ */ e(Me, { in: c === s.guid, unmountOnExit: !0, children: /* @__PURE__ */ i(ne, { children: [
|
|
284
|
+
s?.holdings?.map((y) => /* @__PURE__ */ e(
|
|
285
|
+
ie,
|
|
287
286
|
{
|
|
288
287
|
sx: {
|
|
289
288
|
pl: 24,
|
|
290
289
|
pr: 8,
|
|
291
290
|
py: 0
|
|
292
291
|
},
|
|
293
|
-
children: /* @__PURE__ */
|
|
294
|
-
/* @__PURE__ */ o
|
|
295
|
-
|
|
292
|
+
children: /* @__PURE__ */ i(_, { direction: "row", justifyContent: "space-between", width: "100%", children: [
|
|
293
|
+
/* @__PURE__ */ i(o, { children: [
|
|
294
|
+
y.displayName,
|
|
296
295
|
" "
|
|
297
296
|
] }),
|
|
298
|
-
/* @__PURE__ */ e(
|
|
297
|
+
/* @__PURE__ */ e(o, { children: m === 0 ? R(y.value) : ae(y.percentage) })
|
|
299
298
|
] })
|
|
300
299
|
},
|
|
301
|
-
|
|
300
|
+
y.displayName
|
|
302
301
|
)),
|
|
303
|
-
/* @__PURE__ */ e(
|
|
302
|
+
/* @__PURE__ */ e(Y, {})
|
|
304
303
|
] }) })
|
|
305
|
-
] },
|
|
306
|
-
|
|
307
|
-
/* @__PURE__ */ e(
|
|
308
|
-
/* @__PURE__ */ e(
|
|
304
|
+
] }, s.guid)) }),
|
|
305
|
+
h ? /* @__PURE__ */ i(le, { children: [
|
|
306
|
+
/* @__PURE__ */ e(o, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: l.empty_data }),
|
|
307
|
+
/* @__PURE__ */ e(Y, {}),
|
|
309
308
|
/* @__PURE__ */ e(
|
|
310
309
|
me,
|
|
311
310
|
{
|
|
312
311
|
sx: {
|
|
313
|
-
".inner-container": { width:
|
|
312
|
+
".inner-container": { width: b ? "100%" : 364 }
|
|
314
313
|
}
|
|
315
314
|
}
|
|
316
315
|
)
|
|
317
|
-
] }) : m === 0 && /* @__PURE__ */ e(
|
|
316
|
+
] }) : m === 0 && /* @__PURE__ */ e(o, { bold: !0, sx: { textAlign: "right", pr: 24 }, children: `${l.total_label_text} ${R(t.totalAmount)}` })
|
|
318
317
|
] });
|
|
319
318
|
}, it = ({
|
|
320
319
|
data: t,
|
|
321
|
-
hoveredId:
|
|
320
|
+
hoveredId: u,
|
|
322
321
|
isPercentage: c,
|
|
323
322
|
onMouseEnter: m,
|
|
324
|
-
onMouseLeave:
|
|
325
|
-
onSelected:
|
|
323
|
+
onMouseLeave: f,
|
|
324
|
+
onSelected: v,
|
|
326
325
|
selectedId: d,
|
|
327
|
-
size:
|
|
328
|
-
totalLabel:
|
|
326
|
+
size: l = 150,
|
|
327
|
+
totalLabel: x
|
|
329
328
|
}) => {
|
|
330
|
-
const
|
|
331
|
-
() => d ? t.investmentsData.find(({ guid:
|
|
329
|
+
const h = Z(), b = h.palette.mode === "dark", s = T.useMemo(
|
|
330
|
+
() => d ? t.investmentsData.find(({ guid: k }) => k === d) : void 0,
|
|
332
331
|
[d]
|
|
333
332
|
), {
|
|
334
|
-
investments: { allocation:
|
|
335
|
-
} =
|
|
333
|
+
investments: { allocation: y }
|
|
334
|
+
} = N(), r = T.useMemo(() => t.donutData.length > 0 ? t.donutData : [{ id: "0", color: h.palette.neutral.light, value: 100 }], [t, h]), n = b ? "#0AC295" : "#09A57F", g = b ? "grey.300" : "grey.700", C = () => s ? y.pie_chart_centered_click_for_details : c ? ae(t.totalGainLossPercentage) : R(t.totalGainLoss), D = t.totalGainLoss >= 0 ? n : g;
|
|
336
335
|
return /* @__PURE__ */ e(
|
|
337
|
-
|
|
336
|
+
He,
|
|
338
337
|
{
|
|
339
|
-
data:
|
|
340
|
-
hoveredId:
|
|
341
|
-
onClick:
|
|
338
|
+
data: r,
|
|
339
|
+
hoveredId: u,
|
|
340
|
+
onClick: v,
|
|
342
341
|
onMouseEnter: m,
|
|
343
|
-
onMouseLeave:
|
|
342
|
+
onMouseLeave: f,
|
|
344
343
|
selectedId: d,
|
|
345
|
-
size:
|
|
346
|
-
children: /* @__PURE__ */ e(_, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(_, { alignItems: "center", justifyContent: "center", minHeight:
|
|
347
|
-
/* @__PURE__ */ e(
|
|
348
|
-
/* @__PURE__ */ e(
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
!
|
|
351
|
-
|
|
344
|
+
size: l,
|
|
345
|
+
children: /* @__PURE__ */ e(_, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(_, { alignItems: "center", justifyContent: "center", minHeight: l, minWidth: l, children: /* @__PURE__ */ i(_, { alignItems: "center", sx: { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } }, children: [
|
|
346
|
+
/* @__PURE__ */ e(o, { color: "text.secondary", noWrap: !0, children: s?.displayName ?? x }),
|
|
347
|
+
/* @__PURE__ */ e(X, { color: "text.primary", variant: "h1", children: R(s?.value ?? t.totalMarketValue) }),
|
|
348
|
+
/* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
349
|
+
!s && /* @__PURE__ */ e(
|
|
350
|
+
B,
|
|
352
351
|
{
|
|
353
352
|
name: t.totalGainLoss >= 0 ? "trending_up" : "trending_down",
|
|
354
353
|
size: 20,
|
|
355
|
-
sx: { color:
|
|
354
|
+
sx: { color: D }
|
|
356
355
|
}
|
|
357
356
|
),
|
|
358
357
|
/* @__PURE__ */ e(
|
|
359
|
-
|
|
358
|
+
o,
|
|
360
359
|
{
|
|
361
360
|
sx: {
|
|
362
|
-
color:
|
|
361
|
+
color: D,
|
|
363
362
|
fontWeight: 700
|
|
364
363
|
},
|
|
365
|
-
variant: "
|
|
366
|
-
children:
|
|
364
|
+
variant: "body2",
|
|
365
|
+
children: C()
|
|
367
366
|
}
|
|
368
367
|
)
|
|
369
368
|
] })
|
|
370
369
|
] }) }) })
|
|
371
370
|
}
|
|
372
371
|
);
|
|
373
|
-
},
|
|
374
|
-
const [t,
|
|
375
|
-
c !== n ? m(n) : (m(""),
|
|
376
|
-
}, { selectedAccountGuids:
|
|
377
|
-
investments: { allocation:
|
|
378
|
-
} =
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
), { isMobile:
|
|
383
|
-
return /* @__PURE__ */
|
|
372
|
+
}, ot = () => {
|
|
373
|
+
const [t, u] = T.useState(0), [c, m] = T.useState(""), [f, v] = T.useState(""), d = (n) => {
|
|
374
|
+
c !== n ? m(n) : (m(""), v(""));
|
|
375
|
+
}, { selectedAccountGuids: l } = J(), { visibleHoldings: x } = U(), { visibleInvestmentAccounts: h } = ce(), {
|
|
376
|
+
investments: { allocation: b }
|
|
377
|
+
} = N(), s = tt(
|
|
378
|
+
h.filter(({ guid: n }) => l.includes(n)),
|
|
379
|
+
b,
|
|
380
|
+
x
|
|
381
|
+
), { isMobile: y } = j(), r = xe("(max-width:768px)");
|
|
382
|
+
return /* @__PURE__ */ i(
|
|
384
383
|
_,
|
|
385
384
|
{
|
|
386
|
-
alignItems:
|
|
387
|
-
direction:
|
|
385
|
+
alignItems: r ? "center" : "flex-start",
|
|
386
|
+
direction: r ? "column" : "row",
|
|
388
387
|
gap: { xs: 16, md: 64, xl: 100 },
|
|
389
388
|
sx: {
|
|
390
389
|
justifyContent: "center",
|
|
@@ -395,55 +394,55 @@ const me = ({ sx: t = {} }) => {
|
|
|
395
394
|
/* @__PURE__ */ e(
|
|
396
395
|
it,
|
|
397
396
|
{
|
|
398
|
-
data:
|
|
399
|
-
hoveredId:
|
|
397
|
+
data: s,
|
|
398
|
+
hoveredId: f,
|
|
400
399
|
isPercentage: t === 1,
|
|
401
400
|
onMouseEnter: (n) => {
|
|
402
|
-
c === n ?
|
|
401
|
+
c === n ? v("") : c || v(n);
|
|
403
402
|
},
|
|
404
403
|
onMouseLeave: () => {
|
|
405
|
-
|
|
404
|
+
v("");
|
|
406
405
|
},
|
|
407
406
|
onSelected: d,
|
|
408
407
|
selectedId: c,
|
|
409
|
-
size:
|
|
410
|
-
totalLabel:
|
|
408
|
+
size: y ? 280 : 400,
|
|
409
|
+
totalLabel: b.pie_chart_centered_text
|
|
411
410
|
}
|
|
412
411
|
),
|
|
413
412
|
/* @__PURE__ */ e(
|
|
414
|
-
|
|
413
|
+
nt,
|
|
415
414
|
{
|
|
416
|
-
data:
|
|
415
|
+
data: s,
|
|
417
416
|
onSelected: d,
|
|
418
417
|
selectedId: c,
|
|
419
418
|
selectedTabs: t,
|
|
420
|
-
setSelectedTabs:
|
|
419
|
+
setSelectedTabs: u
|
|
421
420
|
}
|
|
422
421
|
)
|
|
423
422
|
]
|
|
424
423
|
}
|
|
425
424
|
);
|
|
426
|
-
},
|
|
425
|
+
}, rt = $(ot), st = ({
|
|
427
426
|
analysisDetails: t,
|
|
428
|
-
analysisType:
|
|
427
|
+
analysisType: u,
|
|
429
428
|
copy: c,
|
|
430
429
|
setAnalysisType: m
|
|
431
430
|
}) => {
|
|
432
|
-
const { isSmallMobile:
|
|
433
|
-
key:
|
|
434
|
-
value:
|
|
435
|
-
formattedKey:
|
|
431
|
+
const { isSmallMobile: f } = j(), v = T.useMemo(() => Object.keys(t).filter((l) => t[l] >= 1).map((l) => ({
|
|
432
|
+
key: l,
|
|
433
|
+
value: re(t[l], "0,0"),
|
|
434
|
+
formattedKey: ze(l)
|
|
436
435
|
})), [t]), d = [
|
|
437
436
|
{ label: c.equities, value: V.Stocks },
|
|
438
437
|
{ label: c.bonds, value: V.Bonds }
|
|
439
438
|
];
|
|
440
|
-
return /* @__PURE__ */
|
|
439
|
+
return /* @__PURE__ */ i(_, { sx: { gap: 12, width: { md: 412 } }, children: [
|
|
441
440
|
/* @__PURE__ */ e(
|
|
442
441
|
fe,
|
|
443
442
|
{
|
|
444
443
|
color: "primary",
|
|
445
444
|
exclusive: !0,
|
|
446
|
-
onChange: (
|
|
445
|
+
onChange: (l, x) => x && m(x),
|
|
447
446
|
sx: {
|
|
448
447
|
width: "100%",
|
|
449
448
|
"& .MuiToggleButton-root": {
|
|
@@ -452,62 +451,62 @@ const me = ({ sx: t = {} }) => {
|
|
|
452
451
|
textTransform: "capitalize"
|
|
453
452
|
}
|
|
454
453
|
},
|
|
455
|
-
value:
|
|
456
|
-
children: d.map(({ label:
|
|
454
|
+
value: v.length ? u : -1,
|
|
455
|
+
children: d.map(({ label: l, value: x }) => /* @__PURE__ */ e(ye, { sx: { width: "100%" }, value: x, children: l }, x))
|
|
457
456
|
}
|
|
458
457
|
),
|
|
459
|
-
|
|
460
|
-
|
|
458
|
+
v.length ? /* @__PURE__ */ e(
|
|
459
|
+
ne,
|
|
461
460
|
{
|
|
462
461
|
sx: {
|
|
463
462
|
"& .MuiListItemSecondaryAction-root": { pr: 12 },
|
|
464
|
-
"& .MuiListItem-divider": { borderColor: "
|
|
463
|
+
"& .MuiListItem-divider": { borderColor: "neutral.light" },
|
|
465
464
|
"& .MuiListItem-root": { minHeight: 44, px: 12 }
|
|
466
465
|
},
|
|
467
|
-
children:
|
|
468
|
-
|
|
466
|
+
children: v.map(({ value: l, formattedKey: x }) => /* @__PURE__ */ e(ie, { divider: !0, secondaryAction: /* @__PURE__ */ e(o, { children: l }), children: /* @__PURE__ */ e(
|
|
467
|
+
Oe,
|
|
469
468
|
{
|
|
470
|
-
primary:
|
|
471
|
-
|
|
469
|
+
primary: x,
|
|
470
|
+
slotProps: { primary: { fontStyle: "normal" } }
|
|
472
471
|
}
|
|
473
|
-
) },
|
|
472
|
+
) }, x))
|
|
474
473
|
}
|
|
475
|
-
) : /* @__PURE__ */
|
|
476
|
-
/* @__PURE__ */ e(
|
|
477
|
-
/* @__PURE__ */ e(
|
|
474
|
+
) : /* @__PURE__ */ i(le, { children: [
|
|
475
|
+
/* @__PURE__ */ e(o, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: c.empty_data }),
|
|
476
|
+
/* @__PURE__ */ e(Y, { sx: { borderColor: "neutral.light" } }),
|
|
478
477
|
/* @__PURE__ */ e(
|
|
479
478
|
me,
|
|
480
479
|
{
|
|
481
480
|
sx: {
|
|
482
|
-
".inner-container": { width:
|
|
481
|
+
".inner-container": { width: f ? "100%" : 364 }
|
|
483
482
|
}
|
|
484
483
|
}
|
|
485
484
|
)
|
|
486
485
|
] })
|
|
487
486
|
] });
|
|
488
|
-
},
|
|
489
|
-
/* @__PURE__ */ e(
|
|
490
|
-
/* @__PURE__ */ e(
|
|
491
|
-
] }),
|
|
487
|
+
}, at = ({ body: t, title: u }) => /* @__PURE__ */ i(_, { sx: { gap: 4, p: 12 }, children: [
|
|
488
|
+
/* @__PURE__ */ e(o, { bold: !0, variant: "body1", children: u }),
|
|
489
|
+
/* @__PURE__ */ e(X, { variant: "subtitle2", children: t })
|
|
490
|
+
] }), lt = ({
|
|
492
491
|
placement: t = "bottom",
|
|
493
|
-
tooltip_info_body:
|
|
492
|
+
tooltip_info_body: u,
|
|
494
493
|
tooltip_info_title: c
|
|
495
494
|
}) => /* @__PURE__ */ e(
|
|
496
|
-
|
|
495
|
+
Ve,
|
|
497
496
|
{
|
|
498
497
|
enterTouchDelay: 500,
|
|
499
498
|
placement: t,
|
|
500
|
-
title: /* @__PURE__ */ e(
|
|
501
|
-
children: /* @__PURE__ */ e(de, { "aria-label": c, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ e(
|
|
499
|
+
title: /* @__PURE__ */ e(at, { body: u, title: c }),
|
|
500
|
+
children: /* @__PURE__ */ e(de, { "aria-label": c, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ e(B, { name: "info", sx: { color: "info.main" } }) })
|
|
502
501
|
}
|
|
503
|
-
),
|
|
502
|
+
), ct = () => {
|
|
504
503
|
const {
|
|
505
504
|
investments: { analysis: t }
|
|
506
|
-
} =
|
|
507
|
-
const
|
|
508
|
-
return { cellDimension: d ? 72 : 100, columns: n, rows:
|
|
505
|
+
} = N(), { analysisChartData: u, analysisDetails: c, analysisType: m, setAnalysisType: f } = U(), v = xe("(min-width:320px) and (max-width:375px)"), { isMobile: d } = j(), x = Z().palette.mode === "dark", { cellDimension: h, columns: b, rows: s, textVariant: y } = T.useMemo(() => {
|
|
506
|
+
const r = m === V.Stocks, n = Object.values(r ? t.stock_column_labels : t.bond_column_labels), g = Object.values(r ? t.stock_row_labels : t.bond_row_labels);
|
|
507
|
+
return { cellDimension: d ? 72 : 100, columns: n, rows: g, textVariant: d ? "caption" : "body1" };
|
|
509
508
|
}, [t, d, m]);
|
|
510
|
-
return /* @__PURE__ */
|
|
509
|
+
return /* @__PURE__ */ i(
|
|
511
510
|
_,
|
|
512
511
|
{
|
|
513
512
|
sx: {
|
|
@@ -518,7 +517,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
518
517
|
px: 16
|
|
519
518
|
},
|
|
520
519
|
children: [
|
|
521
|
-
/* @__PURE__ */
|
|
520
|
+
/* @__PURE__ */ i(
|
|
522
521
|
_,
|
|
523
522
|
{
|
|
524
523
|
sx: {
|
|
@@ -528,7 +527,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
528
527
|
pr: { lg: 72 }
|
|
529
528
|
},
|
|
530
529
|
children: [
|
|
531
|
-
/* @__PURE__ */
|
|
530
|
+
/* @__PURE__ */ i(
|
|
532
531
|
_,
|
|
533
532
|
{
|
|
534
533
|
sx: {
|
|
@@ -540,7 +539,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
540
539
|
writingMode: "vertical-rl"
|
|
541
540
|
},
|
|
542
541
|
children: [
|
|
543
|
-
/* @__PURE__ */ e(
|
|
542
|
+
/* @__PURE__ */ e(X, { bold: !0, color: "secondary.main", variant: y, children: m === V.Stocks ? t.market_capitalization : t.credit_quality }),
|
|
544
543
|
/* @__PURE__ */ e(
|
|
545
544
|
_,
|
|
546
545
|
{
|
|
@@ -549,38 +548,38 @@ const me = ({ sx: t = {} }) => {
|
|
|
549
548
|
height: d ? 224 : 308,
|
|
550
549
|
justifyContent: "space-around"
|
|
551
550
|
},
|
|
552
|
-
children:
|
|
553
|
-
|
|
551
|
+
children: b.map((r) => /* @__PURE__ */ e(
|
|
552
|
+
o,
|
|
554
553
|
{
|
|
555
554
|
sx: {
|
|
556
555
|
color: "secondary.main",
|
|
557
556
|
pl: 12,
|
|
558
557
|
pr: d ? 4 : 0
|
|
559
558
|
},
|
|
560
|
-
variant:
|
|
561
|
-
children:
|
|
559
|
+
variant: y,
|
|
560
|
+
children: r
|
|
562
561
|
},
|
|
563
|
-
|
|
562
|
+
r
|
|
564
563
|
))
|
|
565
564
|
}
|
|
566
565
|
)
|
|
567
566
|
]
|
|
568
567
|
}
|
|
569
568
|
),
|
|
570
|
-
/* @__PURE__ */
|
|
571
|
-
/* @__PURE__ */
|
|
569
|
+
/* @__PURE__ */ i(_, { sx: { gap: 4 }, children: [
|
|
570
|
+
/* @__PURE__ */ i(
|
|
572
571
|
_,
|
|
573
572
|
{
|
|
574
573
|
sx: {
|
|
575
|
-
alignSelf:
|
|
574
|
+
alignSelf: v ? "start" : "center",
|
|
576
575
|
flexDirection: "row",
|
|
577
576
|
gap: 8,
|
|
578
577
|
pb: 12
|
|
579
578
|
},
|
|
580
579
|
children: [
|
|
581
|
-
/* @__PURE__ */ e(
|
|
580
|
+
/* @__PURE__ */ e(o, { bold: !0, children: t.invest_analysis }),
|
|
582
581
|
/* @__PURE__ */ e(
|
|
583
|
-
|
|
582
|
+
lt,
|
|
584
583
|
{
|
|
585
584
|
tooltip_info_body: t.tooltip_info_body,
|
|
586
585
|
tooltip_info_title: t.tooltip_info_title
|
|
@@ -589,47 +588,47 @@ const me = ({ sx: t = {} }) => {
|
|
|
589
588
|
]
|
|
590
589
|
}
|
|
591
590
|
),
|
|
592
|
-
|
|
593
|
-
const
|
|
594
|
-
let
|
|
595
|
-
return
|
|
591
|
+
u.map((r, n, g) => /* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 4 }, children: r.map((C, D) => {
|
|
592
|
+
const k = n === 0, W = n === g.length - 1, A = D === 0, G = D === r.length - 1, F = Number(C.replace("%", "")) >= 25;
|
|
593
|
+
let L = "grey.200", H = "grey.900";
|
|
594
|
+
return x ? (L = F ? "grey.200" : "grey.700", H = F ? "grey.900" : "common.white") : (L = F ? "grey.700" : "grey.200", H = F ? "common.white" : "grey.900"), /* @__PURE__ */ e(
|
|
596
595
|
_,
|
|
597
596
|
{
|
|
598
597
|
sx: {
|
|
599
598
|
...{
|
|
600
|
-
borderBottomLeftRadius:
|
|
601
|
-
borderBottomRightRadius:
|
|
602
|
-
borderTopLeftRadius:
|
|
603
|
-
borderTopRightRadius:
|
|
599
|
+
borderBottomLeftRadius: W && A ? 4 : 0,
|
|
600
|
+
borderBottomRightRadius: W && G ? 4 : 0,
|
|
601
|
+
borderTopLeftRadius: k && A ? 4 : 0,
|
|
602
|
+
borderTopRightRadius: k && G ? 4 : 0
|
|
604
603
|
},
|
|
605
604
|
alignItems: "center",
|
|
606
|
-
bgcolor:
|
|
607
|
-
height:
|
|
605
|
+
bgcolor: L,
|
|
606
|
+
height: h,
|
|
608
607
|
justifyContent: "center",
|
|
609
|
-
width:
|
|
608
|
+
width: h
|
|
610
609
|
},
|
|
611
610
|
children: /* @__PURE__ */ e(
|
|
612
|
-
|
|
611
|
+
o,
|
|
613
612
|
{
|
|
614
613
|
sx: {
|
|
615
|
-
color:
|
|
614
|
+
color: H,
|
|
616
615
|
fontWeight: d ? 600 : 700
|
|
617
616
|
},
|
|
618
|
-
variant: d ? "
|
|
619
|
-
children:
|
|
617
|
+
variant: d ? "body1" : "h3",
|
|
618
|
+
children: C
|
|
620
619
|
}
|
|
621
620
|
)
|
|
622
621
|
},
|
|
623
|
-
|
|
622
|
+
D
|
|
624
623
|
);
|
|
625
624
|
}) }, n)),
|
|
626
|
-
/* @__PURE__ */ e(_, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children:
|
|
625
|
+
/* @__PURE__ */ e(_, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: s.map((r) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", width: h }, children: /* @__PURE__ */ e(o, { color: "secondary.main", variant: y, children: r }) }, r)) }),
|
|
627
626
|
/* @__PURE__ */ e(
|
|
628
|
-
|
|
627
|
+
o,
|
|
629
628
|
{
|
|
630
629
|
bold: !0,
|
|
631
630
|
sx: { color: "secondary.main", pt: d ? 4 : 24, textAlign: "center" },
|
|
632
|
-
variant:
|
|
631
|
+
variant: y,
|
|
633
632
|
children: m === V.Stocks ? t.valuation : t.duration
|
|
634
633
|
}
|
|
635
634
|
)
|
|
@@ -647,38 +646,38 @@ const me = ({ sx: t = {} }) => {
|
|
|
647
646
|
equities: t.equities,
|
|
648
647
|
bonds: t.bonds
|
|
649
648
|
},
|
|
650
|
-
setAnalysisType:
|
|
649
|
+
setAnalysisType: f
|
|
651
650
|
}
|
|
652
651
|
)
|
|
653
652
|
]
|
|
654
653
|
}
|
|
655
654
|
);
|
|
656
|
-
},
|
|
655
|
+
}, dt = $(ct), mt = ({
|
|
657
656
|
accountHoldingsData: t,
|
|
658
|
-
currentEditedCostBasis:
|
|
657
|
+
currentEditedCostBasis: u,
|
|
659
658
|
editingHoldingId: c,
|
|
660
659
|
handleCostBasisBlur: m,
|
|
661
|
-
handleCostBasisClick:
|
|
662
|
-
handleCostBasisChange:
|
|
660
|
+
handleCostBasisClick: f,
|
|
661
|
+
handleCostBasisChange: v,
|
|
663
662
|
handleCostBasisKeyDown: d,
|
|
664
|
-
isOpen:
|
|
665
|
-
onClose:
|
|
663
|
+
isOpen: l,
|
|
664
|
+
onClose: x
|
|
666
665
|
}) => {
|
|
667
|
-
const { investments:
|
|
668
|
-
|
|
669
|
-
...
|
|
670
|
-
[
|
|
666
|
+
const { investments: h } = N(), [b, s] = T.useState({}), y = (r) => (n, g) => {
|
|
667
|
+
s((C) => ({
|
|
668
|
+
...C,
|
|
669
|
+
[r]: g
|
|
671
670
|
}));
|
|
672
671
|
};
|
|
673
|
-
return /* @__PURE__ */
|
|
674
|
-
|
|
672
|
+
return /* @__PURE__ */ i(
|
|
673
|
+
Re,
|
|
675
674
|
{
|
|
676
|
-
ariaLabelClose:
|
|
677
|
-
isOpen:
|
|
678
|
-
onClose:
|
|
679
|
-
title:
|
|
675
|
+
ariaLabelClose: h.overview.close_investment_drawer,
|
|
676
|
+
isOpen: l,
|
|
677
|
+
onClose: x,
|
|
678
|
+
title: h.overview.investment_details,
|
|
680
679
|
children: [
|
|
681
|
-
/* @__PURE__ */
|
|
680
|
+
/* @__PURE__ */ i(p, { sx: { gap: 8, p: 24 }, children: [
|
|
682
681
|
/* @__PURE__ */ e(
|
|
683
682
|
oe,
|
|
684
683
|
{
|
|
@@ -687,11 +686,11 @@ const me = ({ sx: t = {} }) => {
|
|
|
687
686
|
size: 64
|
|
688
687
|
}
|
|
689
688
|
),
|
|
690
|
-
/* @__PURE__ */ e(
|
|
691
|
-
/* @__PURE__ */ e(
|
|
692
|
-
/* @__PURE__ */
|
|
693
|
-
/* @__PURE__ */ e(
|
|
694
|
-
/* @__PURE__ */ e(
|
|
689
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body2", children: t.accounts.memberName }),
|
|
690
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "h2", children: t.accounts.user_name || t.accounts.name }),
|
|
691
|
+
/* @__PURE__ */ i(p, { sx: { alignItems: "center", flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
692
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: h.overview.current_balance }),
|
|
693
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: t.accounts.balance?.toLocaleString("en-US", {
|
|
695
694
|
currency: "USD",
|
|
696
695
|
maximumFractionDigits: 2,
|
|
697
696
|
minimumFractionDigits: 2,
|
|
@@ -699,8 +698,8 @@ const me = ({ sx: t = {} }) => {
|
|
|
699
698
|
}) })
|
|
700
699
|
] })
|
|
701
700
|
] }),
|
|
702
|
-
/* @__PURE__ */
|
|
703
|
-
|
|
701
|
+
/* @__PURE__ */ i(
|
|
702
|
+
p,
|
|
704
703
|
{
|
|
705
704
|
sx: {
|
|
706
705
|
bgcolor: "background.default",
|
|
@@ -710,19 +709,19 @@ const me = ({ sx: t = {} }) => {
|
|
|
710
709
|
py: 10
|
|
711
710
|
},
|
|
712
711
|
children: [
|
|
713
|
-
/* @__PURE__ */ e(
|
|
714
|
-
/* @__PURE__ */ e(
|
|
712
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.holding }),
|
|
713
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.market_value })
|
|
715
714
|
]
|
|
716
715
|
}
|
|
717
716
|
),
|
|
718
|
-
t.holdings?.map((
|
|
719
|
-
const
|
|
720
|
-
return /* @__PURE__ */
|
|
717
|
+
t.holdings?.map((r, n) => {
|
|
718
|
+
const g = c === r.id;
|
|
719
|
+
return /* @__PURE__ */ i(
|
|
721
720
|
be,
|
|
722
721
|
{
|
|
723
722
|
disableGutters: !0,
|
|
724
|
-
expanded:
|
|
725
|
-
onChange:
|
|
723
|
+
expanded: b[r.id] === !0,
|
|
724
|
+
onChange: r ? y(r?.id) : () => {
|
|
726
725
|
},
|
|
727
726
|
sx: {
|
|
728
727
|
":before": n === 0 ? { opacity: 0 } : {},
|
|
@@ -736,15 +735,15 @@ const me = ({ sx: t = {} }) => {
|
|
|
736
735
|
id: "panel1a-header",
|
|
737
736
|
sx: [
|
|
738
737
|
{ height: 64 },
|
|
739
|
-
|
|
738
|
+
b[r.id] && n > 0 && {
|
|
740
739
|
borderTop: 1,
|
|
741
|
-
borderColor: "
|
|
740
|
+
borderColor: "divider"
|
|
742
741
|
}
|
|
743
742
|
],
|
|
744
|
-
children: /* @__PURE__ */
|
|
743
|
+
children: /* @__PURE__ */ i(p, { sx: { flexDirection: "row", width: "100%" }, children: [
|
|
745
744
|
/* @__PURE__ */ e("div", { style: { width: 24 } }),
|
|
746
|
-
/* @__PURE__ */
|
|
747
|
-
|
|
745
|
+
/* @__PURE__ */ i(
|
|
746
|
+
p,
|
|
748
747
|
{
|
|
749
748
|
sx: [
|
|
750
749
|
{
|
|
@@ -755,28 +754,28 @@ const me = ({ sx: t = {} }) => {
|
|
|
755
754
|
py: 14,
|
|
756
755
|
width: "100%"
|
|
757
756
|
},
|
|
758
|
-
|
|
757
|
+
b[r.id] && {
|
|
759
758
|
borderBottom: 1,
|
|
760
|
-
borderColor: "
|
|
759
|
+
borderColor: "divider"
|
|
761
760
|
}
|
|
762
761
|
],
|
|
763
762
|
children: [
|
|
764
763
|
/* @__PURE__ */ e(
|
|
765
|
-
|
|
764
|
+
p,
|
|
766
765
|
{
|
|
767
766
|
sx: {
|
|
768
767
|
alignItems: "center",
|
|
769
768
|
flexDirection: "row",
|
|
770
769
|
gap: 12
|
|
771
770
|
},
|
|
772
|
-
children: /* @__PURE__ */
|
|
773
|
-
/* @__PURE__ */ e(
|
|
774
|
-
/* @__PURE__ */ e(
|
|
771
|
+
children: /* @__PURE__ */ i(p, { sx: { overflow: "hidden", width: 98 }, children: [
|
|
772
|
+
/* @__PURE__ */ e(o, { sx: { fontWeight: 600 }, variant: "body1", children: r.holding }),
|
|
773
|
+
/* @__PURE__ */ e(o, { variant: "caption", children: r.description })
|
|
775
774
|
] })
|
|
776
775
|
}
|
|
777
776
|
),
|
|
778
|
-
/* @__PURE__ */
|
|
779
|
-
|
|
777
|
+
/* @__PURE__ */ i(
|
|
778
|
+
p,
|
|
780
779
|
{
|
|
781
780
|
sx: {
|
|
782
781
|
alignItems: "center",
|
|
@@ -786,47 +785,47 @@ const me = ({ sx: t = {} }) => {
|
|
|
786
785
|
justifyContent: "flex-end"
|
|
787
786
|
},
|
|
788
787
|
children: [
|
|
789
|
-
/* @__PURE__ */
|
|
790
|
-
/* @__PURE__ */ e(
|
|
788
|
+
/* @__PURE__ */ i(p, { children: [
|
|
789
|
+
/* @__PURE__ */ e(o, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: r.marketValue?.toLocaleString("en-US", {
|
|
791
790
|
currency: "USD",
|
|
792
791
|
maximumFractionDigits: 2,
|
|
793
792
|
minimumFractionDigits: 2,
|
|
794
793
|
style: "currency"
|
|
795
794
|
}) }),
|
|
796
|
-
/* @__PURE__ */
|
|
797
|
-
|
|
798
|
-
|
|
795
|
+
/* @__PURE__ */ i(p, { sx: { alignItems: "center", gap: 2, flexDirection: "row" }, children: [
|
|
796
|
+
r.totalGainLoss !== 0 && /* @__PURE__ */ e(
|
|
797
|
+
B,
|
|
799
798
|
{
|
|
800
|
-
name:
|
|
799
|
+
name: r.totalGainLoss >= 0 ? "trending_up" : "trending_down",
|
|
801
800
|
size: 12,
|
|
802
801
|
sx: {
|
|
803
802
|
verticalAlign: "middle",
|
|
804
803
|
mr: 1,
|
|
805
|
-
color:
|
|
804
|
+
color: r.totalGainLoss >= 0 ? "success.main" : "grey.700"
|
|
806
805
|
}
|
|
807
806
|
}
|
|
808
807
|
),
|
|
809
808
|
/* @__PURE__ */ e(
|
|
810
|
-
|
|
809
|
+
o,
|
|
811
810
|
{
|
|
812
811
|
sx: {
|
|
813
|
-
color:
|
|
814
|
-
fontWeight:
|
|
812
|
+
color: r.totalGainLoss <= 0 ? "grey.700" : "success.main",
|
|
813
|
+
fontWeight: r.totalGainLoss <= 0 ? 400 : 700
|
|
815
814
|
},
|
|
816
|
-
variant: "
|
|
817
|
-
children:
|
|
815
|
+
variant: "caption",
|
|
816
|
+
children: r.costBasis ? `${(r.totalGainLoss / r.costBasis * 100).toFixed(2)}%` : "0.00%"
|
|
818
817
|
}
|
|
819
818
|
),
|
|
820
|
-
/* @__PURE__ */ e(
|
|
819
|
+
/* @__PURE__ */ e(o, { sx: { color: "grey.700" }, variant: "caption", children: "|" }),
|
|
821
820
|
/* @__PURE__ */ e(
|
|
822
|
-
|
|
821
|
+
o,
|
|
823
822
|
{
|
|
824
823
|
sx: {
|
|
825
|
-
color:
|
|
826
|
-
fontWeight:
|
|
824
|
+
color: r.totalGainLoss <= 0 ? "grey.700" : "success.main",
|
|
825
|
+
fontWeight: r.totalGainLoss <= 0 ? 400 : 700
|
|
827
826
|
},
|
|
828
|
-
variant: "
|
|
829
|
-
children: Math.abs(
|
|
827
|
+
variant: "caption",
|
|
828
|
+
children: Math.abs(r.totalGainLoss).toLocaleString("en-US", {
|
|
830
829
|
currency: "USD",
|
|
831
830
|
maximumFractionDigits: 2,
|
|
832
831
|
minimumFractionDigits: 2,
|
|
@@ -837,9 +836,9 @@ const me = ({ sx: t = {} }) => {
|
|
|
837
836
|
] })
|
|
838
837
|
] }),
|
|
839
838
|
/* @__PURE__ */ e(
|
|
840
|
-
|
|
839
|
+
B,
|
|
841
840
|
{
|
|
842
|
-
name:
|
|
841
|
+
name: b[r.id] ? "expand_less" : "expand_more",
|
|
843
842
|
size: 20
|
|
844
843
|
}
|
|
845
844
|
)
|
|
@@ -852,8 +851,8 @@ const me = ({ sx: t = {} }) => {
|
|
|
852
851
|
] })
|
|
853
852
|
}
|
|
854
853
|
),
|
|
855
|
-
/* @__PURE__ */ e(_e, { children: /* @__PURE__ */
|
|
856
|
-
|
|
854
|
+
/* @__PURE__ */ e(_e, { children: /* @__PURE__ */ i(
|
|
855
|
+
p,
|
|
857
856
|
{
|
|
858
857
|
sx: {
|
|
859
858
|
alignItems: "center",
|
|
@@ -862,28 +861,28 @@ const me = ({ sx: t = {} }) => {
|
|
|
862
861
|
pl: 24
|
|
863
862
|
},
|
|
864
863
|
children: [
|
|
865
|
-
/* @__PURE__ */ e(
|
|
866
|
-
/* @__PURE__ */
|
|
867
|
-
/* @__PURE__ */
|
|
868
|
-
|
|
864
|
+
/* @__PURE__ */ e(p, { sx: { width: 32 } }),
|
|
865
|
+
/* @__PURE__ */ i(p, { sx: { flex: 1 }, children: [
|
|
866
|
+
/* @__PURE__ */ i(
|
|
867
|
+
p,
|
|
869
868
|
{
|
|
870
869
|
sx: {
|
|
871
870
|
alignItems: "center",
|
|
872
871
|
borderBottom: 1,
|
|
873
|
-
borderColor: "
|
|
872
|
+
borderColor: "divider",
|
|
874
873
|
flexDirection: "row",
|
|
875
874
|
height: 48,
|
|
876
875
|
justifyContent: "space-between",
|
|
877
876
|
pr: 24
|
|
878
877
|
},
|
|
879
878
|
children: [
|
|
880
|
-
/* @__PURE__ */ e(
|
|
881
|
-
/* @__PURE__ */ e(
|
|
879
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.quantity }),
|
|
880
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body2", children: r.qty })
|
|
882
881
|
]
|
|
883
882
|
}
|
|
884
883
|
),
|
|
885
|
-
/* @__PURE__ */
|
|
886
|
-
|
|
884
|
+
/* @__PURE__ */ i(
|
|
885
|
+
p,
|
|
887
886
|
{
|
|
888
887
|
sx: {
|
|
889
888
|
alignItems: "center",
|
|
@@ -893,9 +892,9 @@ const me = ({ sx: t = {} }) => {
|
|
|
893
892
|
pr: 24
|
|
894
893
|
},
|
|
895
894
|
children: [
|
|
896
|
-
/* @__PURE__ */ e(
|
|
897
|
-
/* @__PURE__ */
|
|
898
|
-
|
|
895
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.cost_basis_header }),
|
|
896
|
+
/* @__PURE__ */ i(
|
|
897
|
+
p,
|
|
899
898
|
{
|
|
900
899
|
direction: "row",
|
|
901
900
|
sx: {
|
|
@@ -903,13 +902,13 @@ const me = ({ sx: t = {} }) => {
|
|
|
903
902
|
gap: 4
|
|
904
903
|
},
|
|
905
904
|
children: [
|
|
906
|
-
|
|
905
|
+
g ? /* @__PURE__ */ e(
|
|
907
906
|
Ce,
|
|
908
907
|
{
|
|
909
908
|
autoFocus: !0,
|
|
910
|
-
onBlur: () => m(
|
|
911
|
-
onChange:
|
|
912
|
-
onKeyDown: (
|
|
909
|
+
onBlur: () => m(r.id),
|
|
910
|
+
onChange: v,
|
|
911
|
+
onKeyDown: (C) => d(C, r.id),
|
|
913
912
|
size: "small",
|
|
914
913
|
sx: {
|
|
915
914
|
fontSize: 14,
|
|
@@ -924,9 +923,9 @@ const me = ({ sx: t = {} }) => {
|
|
|
924
923
|
border: "none"
|
|
925
924
|
}
|
|
926
925
|
},
|
|
927
|
-
value:
|
|
926
|
+
value: u
|
|
928
927
|
}
|
|
929
|
-
) : /* @__PURE__ */ e(
|
|
928
|
+
) : /* @__PURE__ */ e(o, { sx: { fontSize: 14, width: 58 }, variant: "body2", children: r.costBasis?.toLocaleString("en-US", {
|
|
930
929
|
currency: "USD",
|
|
931
930
|
maximumFractionDigits: 2,
|
|
932
931
|
minimumFractionDigits: 2,
|
|
@@ -935,9 +934,9 @@ const me = ({ sx: t = {} }) => {
|
|
|
935
934
|
/* @__PURE__ */ e(
|
|
936
935
|
de,
|
|
937
936
|
{
|
|
938
|
-
onClick: () =>
|
|
937
|
+
onClick: () => f(r.id, r.costBasis),
|
|
939
938
|
sx: { minWidth: 16, minHeight: 16 },
|
|
940
|
-
children: /* @__PURE__ */ e(
|
|
939
|
+
children: /* @__PURE__ */ e(B, { name: "stylus", size: 16, sx: { color: "grey.700" } })
|
|
941
940
|
}
|
|
942
941
|
)
|
|
943
942
|
]
|
|
@@ -952,28 +951,28 @@ const me = ({ sx: t = {} }) => {
|
|
|
952
951
|
) })
|
|
953
952
|
]
|
|
954
953
|
},
|
|
955
|
-
|
|
954
|
+
r.id
|
|
956
955
|
);
|
|
957
956
|
})
|
|
958
957
|
]
|
|
959
958
|
}
|
|
960
959
|
);
|
|
961
|
-
},
|
|
962
|
-
/* @__PURE__ */ e(
|
|
963
|
-
/* @__PURE__ */ e(
|
|
964
|
-
] }),
|
|
960
|
+
}, ut = $(mt), K = (t) => /* @__PURE__ */ i(Pe, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
961
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "body2", children: t.colDef.headerName }),
|
|
962
|
+
/* @__PURE__ */ e(B, { name: "expand_all", size: 12 })
|
|
963
|
+
] }), ht = ({
|
|
965
964
|
data: t,
|
|
966
|
-
editingHoldingId:
|
|
965
|
+
editingHoldingId: u,
|
|
967
966
|
currentEditedCostBasis: c,
|
|
968
967
|
handleCostBasisClick: m,
|
|
969
|
-
handleCostBasisChange:
|
|
970
|
-
handleCostBasisKeyDown:
|
|
968
|
+
handleCostBasisChange: f,
|
|
969
|
+
handleCostBasisKeyDown: v,
|
|
971
970
|
handleCostBasisBlur: d
|
|
972
971
|
}) => {
|
|
973
|
-
const { investments:
|
|
972
|
+
const { investments: l } = N(), h = Z().palette.mode === "dark", b = "success.main", s = h ? "grey.300" : "grey.700", y = (n, g = "lesserThan") => g === "greaterThan" ? n >= 0 ? b : s : n <= 0 ? s : b, r = [
|
|
974
973
|
{
|
|
975
974
|
field: "qty",
|
|
976
|
-
headerName:
|
|
975
|
+
headerName: l.overview.qty_header,
|
|
977
976
|
sortable: !1,
|
|
978
977
|
width: 48,
|
|
979
978
|
align: "center",
|
|
@@ -981,29 +980,29 @@ const me = ({ sx: t = {} }) => {
|
|
|
981
980
|
},
|
|
982
981
|
{
|
|
983
982
|
field: "holding",
|
|
984
|
-
headerName:
|
|
983
|
+
headerName: l.overview.holding_header,
|
|
985
984
|
flex: 1,
|
|
986
|
-
renderHeader:
|
|
987
|
-
renderCell: (n) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */
|
|
988
|
-
/* @__PURE__ */ e(
|
|
989
|
-
/* @__PURE__ */ e(
|
|
985
|
+
renderHeader: K,
|
|
986
|
+
renderCell: (n) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ i(_, { children: [
|
|
987
|
+
/* @__PURE__ */ e(o, { sx: { fontWeight: 700 }, children: n.row.holding }),
|
|
988
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: n.row.description })
|
|
990
989
|
] }) })
|
|
991
990
|
},
|
|
992
991
|
{
|
|
993
992
|
field: "costBasis",
|
|
994
|
-
headerName:
|
|
993
|
+
headerName: l.overview.cost_basis_header,
|
|
995
994
|
width: 132,
|
|
996
|
-
renderHeader:
|
|
995
|
+
renderHeader: K,
|
|
997
996
|
renderCell: (n) => {
|
|
998
|
-
const
|
|
999
|
-
return /* @__PURE__ */
|
|
1000
|
-
|
|
997
|
+
const g = u === n.row.id;
|
|
998
|
+
return /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
999
|
+
g ? /* @__PURE__ */ e(
|
|
1001
1000
|
Ce,
|
|
1002
1001
|
{
|
|
1003
1002
|
autoFocus: !0,
|
|
1004
1003
|
onBlur: () => d(n.row.id),
|
|
1005
|
-
onChange:
|
|
1006
|
-
onKeyDown: (
|
|
1004
|
+
onChange: f,
|
|
1005
|
+
onKeyDown: (C) => v(C, n.row.id),
|
|
1007
1006
|
size: "small",
|
|
1008
1007
|
sx: {
|
|
1009
1008
|
fontSize: 14,
|
|
@@ -1020,7 +1019,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
1020
1019
|
},
|
|
1021
1020
|
value: c
|
|
1022
1021
|
}
|
|
1023
|
-
) : /* @__PURE__ */ e(
|
|
1022
|
+
) : /* @__PURE__ */ e(o, { sx: { fontSize: 14, width: 57 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
|
|
1024
1023
|
currency: "USD",
|
|
1025
1024
|
maximumFractionDigits: 2,
|
|
1026
1025
|
minimumFractionDigits: 2,
|
|
@@ -1031,7 +1030,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
1031
1030
|
{
|
|
1032
1031
|
onClick: () => m(n.row.id, n.row.costBasis),
|
|
1033
1032
|
sx: { minWidth: 12, minHeight: 12 },
|
|
1034
|
-
children: /* @__PURE__ */ e(
|
|
1033
|
+
children: /* @__PURE__ */ e(B, { name: "stylus", size: 12, sx: { color: "grey.700" } })
|
|
1035
1034
|
}
|
|
1036
1035
|
)
|
|
1037
1036
|
] });
|
|
@@ -1041,44 +1040,44 @@ const me = ({ sx: t = {} }) => {
|
|
|
1041
1040
|
},
|
|
1042
1041
|
{
|
|
1043
1042
|
field: "totalGainLoss",
|
|
1044
|
-
headerName:
|
|
1043
|
+
headerName: l.overview.total_gain_loss_header,
|
|
1045
1044
|
width: 196,
|
|
1046
|
-
renderHeader:
|
|
1045
|
+
renderHeader: K,
|
|
1047
1046
|
renderCell: (n) => {
|
|
1048
|
-
const
|
|
1049
|
-
return /* @__PURE__ */
|
|
1047
|
+
const g = n.row.costBasis, C = g ? n.row.totalGainLoss / g * 100 : 0;
|
|
1048
|
+
return /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
|
|
1050
1049
|
n.value !== 0 && /* @__PURE__ */ e(
|
|
1051
|
-
|
|
1050
|
+
B,
|
|
1052
1051
|
{
|
|
1053
1052
|
name: n.value > 0 ? "trending_up" : "trending_down",
|
|
1054
1053
|
size: 16,
|
|
1055
1054
|
sx: {
|
|
1056
|
-
color:
|
|
1055
|
+
color: y(n.value),
|
|
1057
1056
|
mr: 1,
|
|
1058
1057
|
verticalAlign: "middle"
|
|
1059
1058
|
}
|
|
1060
1059
|
}
|
|
1061
1060
|
),
|
|
1062
1061
|
/* @__PURE__ */ e(
|
|
1063
|
-
|
|
1062
|
+
o,
|
|
1064
1063
|
{
|
|
1065
1064
|
sx: {
|
|
1066
|
-
color:
|
|
1065
|
+
color: y(n.value),
|
|
1067
1066
|
fontWeight: n.value > 0 ? 700 : 400
|
|
1068
1067
|
},
|
|
1069
|
-
variant: "
|
|
1070
|
-
children:
|
|
1068
|
+
variant: "body2",
|
|
1069
|
+
children: g ? `${C.toFixed(2)}%` : "0.00%"
|
|
1071
1070
|
}
|
|
1072
1071
|
),
|
|
1073
|
-
/* @__PURE__ */ e(
|
|
1072
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
|
|
1074
1073
|
/* @__PURE__ */ e(
|
|
1075
|
-
|
|
1074
|
+
o,
|
|
1076
1075
|
{
|
|
1077
1076
|
sx: {
|
|
1078
|
-
color:
|
|
1077
|
+
color: y(n.value),
|
|
1079
1078
|
fontWeight: n.value > 0 ? 700 : 400
|
|
1080
1079
|
},
|
|
1081
|
-
variant: "
|
|
1080
|
+
variant: "body2",
|
|
1082
1081
|
children: Math.abs(n.value).toLocaleString("en-US", {
|
|
1083
1082
|
currency: "USD",
|
|
1084
1083
|
maximumFractionDigits: 2,
|
|
@@ -1095,10 +1094,10 @@ const me = ({ sx: t = {} }) => {
|
|
|
1095
1094
|
},
|
|
1096
1095
|
{
|
|
1097
1096
|
field: "marketValue",
|
|
1098
|
-
headerName:
|
|
1097
|
+
headerName: l.overview.market_value_header,
|
|
1099
1098
|
width: 132,
|
|
1100
|
-
renderHeader:
|
|
1101
|
-
renderCell: (n) => /* @__PURE__ */ e(
|
|
1099
|
+
renderHeader: K,
|
|
1100
|
+
renderCell: (n) => /* @__PURE__ */ e(o, { sx: { fontWeight: 700 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
|
|
1102
1101
|
currency: "USD",
|
|
1103
1102
|
maximumFractionDigits: 2,
|
|
1104
1103
|
minimumFractionDigits: 2,
|
|
@@ -1109,7 +1108,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
1109
1108
|
}
|
|
1110
1109
|
];
|
|
1111
1110
|
return /* @__PURE__ */ e(
|
|
1112
|
-
|
|
1111
|
+
se,
|
|
1113
1112
|
{
|
|
1114
1113
|
sx: {
|
|
1115
1114
|
boxShadow: "none",
|
|
@@ -1118,7 +1117,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
1118
1117
|
children: /* @__PURE__ */ e(
|
|
1119
1118
|
$e,
|
|
1120
1119
|
{
|
|
1121
|
-
columns:
|
|
1120
|
+
columns: r,
|
|
1122
1121
|
disableColumnFilter: !0,
|
|
1123
1122
|
disableColumnMenu: !0,
|
|
1124
1123
|
disableRowSelectionOnClick: !0,
|
|
@@ -1129,70 +1128,70 @@ const me = ({ sx: t = {} }) => {
|
|
|
1129
1128
|
)
|
|
1130
1129
|
}
|
|
1131
1130
|
);
|
|
1132
|
-
},
|
|
1133
|
-
const { isMobile: t } =
|
|
1131
|
+
}, gt = () => {
|
|
1132
|
+
const { isMobile: t } = j(), [u, c] = O({}), [m, f] = O(!1), { selectedAccountGuids: v } = J(), { visibleHoldings: d, updateHoldings: l } = U(), [x, h] = T.useState(!1), [b, s] = O({
|
|
1134
1133
|
accounts: [],
|
|
1135
1134
|
holdings: []
|
|
1136
|
-
}), { accounts:
|
|
1137
|
-
|
|
1138
|
-
}, Z = (a) => {
|
|
1139
|
-
const C = a.target.value;
|
|
1140
|
-
/^\d*\.?\d*$/.test(C) && B(C);
|
|
1141
|
-
}, ue = (a, C) => {
|
|
1142
|
-
a.key === "Enter" ? ee(C) : a.key === "Escape" && w(null);
|
|
1135
|
+
}), { accounts: y, investments: r } = N(), { isCopyLoaded: n } = J(), [g, C] = O(null), [D, k] = O(""), A = Z().palette.mode === "dark", G = A ? "#0AC295" : "#09A57F", F = A ? "grey.300" : "grey.700", L = (a, w = "lesserThan") => w === "greaterThan" ? a >= 0 ? G : F : a <= 0 ? F : G, H = (a, w) => {
|
|
1136
|
+
C(a), k(w.toFixed(2));
|
|
1143
1137
|
}, ee = (a) => {
|
|
1144
|
-
const
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1138
|
+
const w = a.target.value;
|
|
1139
|
+
/^\d*\.?\d*$/.test(w) && k(w);
|
|
1140
|
+
}, ue = (a, w) => {
|
|
1141
|
+
a.key === "Enter" ? te(w) : a.key === "Escape" && C(null);
|
|
1142
|
+
}, te = (a) => {
|
|
1143
|
+
const w = d.find(({ guid: E }) => E === a);
|
|
1144
|
+
if (!w) return;
|
|
1145
|
+
const M = Number(D);
|
|
1146
|
+
if (l({ ...w, cost_basis: M }), t) {
|
|
1147
|
+
const E = b.holdings.map(
|
|
1148
|
+
(S) => S.id === a ? { ...S, costBasis: M } : S
|
|
1150
1149
|
);
|
|
1151
|
-
|
|
1152
|
-
...
|
|
1150
|
+
s((S) => ({
|
|
1151
|
+
...S,
|
|
1153
1152
|
holdings: E
|
|
1154
1153
|
}));
|
|
1155
1154
|
}
|
|
1156
|
-
|
|
1157
|
-
},
|
|
1155
|
+
C(null);
|
|
1156
|
+
}, Se = (a) => (w, M) => {
|
|
1158
1157
|
c((E) => ({
|
|
1159
1158
|
...E,
|
|
1160
|
-
[a]:
|
|
1159
|
+
[a]: M
|
|
1161
1160
|
}));
|
|
1162
|
-
}, { visibleHoldings: he } =
|
|
1163
|
-
({ guid: a }) =>
|
|
1164
|
-
), Ie =
|
|
1161
|
+
}, { visibleHoldings: he } = U(), { visibleInvestmentAccounts: Le } = ce(), P = Le.filter(
|
|
1162
|
+
({ guid: a }) => v.includes(a)
|
|
1163
|
+
), Ie = P.reduce((a, w) => a + (w.balance || 0), 0), Ae = P.map(({ guid: a }) => a), q = he.filter(
|
|
1165
1164
|
({ account_guid: a }) => Ae.includes(a)
|
|
1166
|
-
).reduce((a,
|
|
1167
|
-
const
|
|
1168
|
-
return a +
|
|
1169
|
-
}, 0),
|
|
1170
|
-
|
|
1165
|
+
).reduce((a, w) => {
|
|
1166
|
+
const M = w.market_value ? w.market_value - (w.cost_basis || 0) : 0;
|
|
1167
|
+
return a + M;
|
|
1168
|
+
}, 0), Te = () => {
|
|
1169
|
+
f(!1);
|
|
1171
1170
|
};
|
|
1172
|
-
return n ? /* @__PURE__ */
|
|
1173
|
-
!!
|
|
1174
|
-
/* @__PURE__ */ e(
|
|
1175
|
-
/* @__PURE__ */ e(
|
|
1171
|
+
return n ? /* @__PURE__ */ i(p, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
|
|
1172
|
+
!!P.length && /* @__PURE__ */ i(p, { sx: { alignItems: "center" }, children: [
|
|
1173
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, children: r.overview.total_portfolio }),
|
|
1174
|
+
/* @__PURE__ */ e(X, { variant: "h1", children: Ie.toLocaleString("en-US", {
|
|
1176
1175
|
currency: "USD",
|
|
1177
1176
|
maximumFractionDigits: 2,
|
|
1178
1177
|
minimumFractionDigits: 2,
|
|
1179
1178
|
style: "currency"
|
|
1180
1179
|
}) }),
|
|
1181
|
-
/* @__PURE__ */
|
|
1180
|
+
/* @__PURE__ */ i(p, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
1182
1181
|
/* @__PURE__ */ e(
|
|
1183
|
-
|
|
1182
|
+
B,
|
|
1184
1183
|
{
|
|
1185
|
-
name:
|
|
1184
|
+
name: q >= 0 ? "trending_up" : "trending_down",
|
|
1186
1185
|
size: 20,
|
|
1187
|
-
sx: { color:
|
|
1186
|
+
sx: { color: L(q, "greaterThan") }
|
|
1188
1187
|
}
|
|
1189
1188
|
),
|
|
1190
1189
|
/* @__PURE__ */ e(
|
|
1191
|
-
|
|
1190
|
+
o,
|
|
1192
1191
|
{
|
|
1193
|
-
sx: { color:
|
|
1194
|
-
variant: "
|
|
1195
|
-
children:
|
|
1192
|
+
sx: { color: L(q, "greaterThan"), fontWeight: 700 },
|
|
1193
|
+
variant: "body2",
|
|
1194
|
+
children: q.toLocaleString("en-US", {
|
|
1196
1195
|
currency: "USD",
|
|
1197
1196
|
maximumFractionDigits: 2,
|
|
1198
1197
|
minimumFractionDigits: 2,
|
|
@@ -1202,26 +1201,26 @@ const me = ({ sx: t = {} }) => {
|
|
|
1202
1201
|
)
|
|
1203
1202
|
] })
|
|
1204
1203
|
] }),
|
|
1205
|
-
|
|
1206
|
-
const
|
|
1207
|
-
id:
|
|
1208
|
-
qty:
|
|
1209
|
-
holding:
|
|
1210
|
-
costBasis:
|
|
1211
|
-
totalGainLoss:
|
|
1212
|
-
marketValue:
|
|
1213
|
-
description:
|
|
1214
|
-
})),
|
|
1215
|
-
(
|
|
1204
|
+
P.map((a) => {
|
|
1205
|
+
const w = he.filter((I) => I.account_guid === a.guid).map((I) => ({
|
|
1206
|
+
id: I.guid,
|
|
1207
|
+
qty: I.shares || 0,
|
|
1208
|
+
holding: I.symbol || I.description || "Unknown",
|
|
1209
|
+
costBasis: I.cost_basis || 0,
|
|
1210
|
+
totalGainLoss: I.market_value ? I.market_value - (I.cost_basis || 0) : 0,
|
|
1211
|
+
marketValue: I.market_value || 0,
|
|
1212
|
+
description: I.description || ""
|
|
1213
|
+
})), M = w.length > 0, E = a.balance, S = w.reduce(
|
|
1214
|
+
(I, We) => We.totalGainLoss + I,
|
|
1216
1215
|
0
|
|
1217
|
-
), ge = E ?
|
|
1216
|
+
), ge = E ? S / E * 100 : 0;
|
|
1218
1217
|
if (t)
|
|
1219
1218
|
return /* @__PURE__ */ e(
|
|
1220
|
-
|
|
1219
|
+
se,
|
|
1221
1220
|
{
|
|
1222
|
-
onClick:
|
|
1223
|
-
|
|
1224
|
-
holdings:
|
|
1221
|
+
onClick: w.length ? () => {
|
|
1222
|
+
f(!0), s({
|
|
1223
|
+
holdings: w,
|
|
1225
1224
|
accounts: a
|
|
1226
1225
|
});
|
|
1227
1226
|
} : void 0,
|
|
@@ -1229,12 +1228,12 @@ const me = ({ sx: t = {} }) => {
|
|
|
1229
1228
|
width: "100%",
|
|
1230
1229
|
overflow: "hidden"
|
|
1231
1230
|
},
|
|
1232
|
-
children: /* @__PURE__ */
|
|
1233
|
-
|
|
1231
|
+
children: /* @__PURE__ */ i(
|
|
1232
|
+
p,
|
|
1234
1233
|
{
|
|
1235
1234
|
sx: {
|
|
1236
1235
|
border: 1,
|
|
1237
|
-
borderColor: "
|
|
1236
|
+
borderColor: "divider",
|
|
1238
1237
|
borderRadius: "8px",
|
|
1239
1238
|
ml: 16,
|
|
1240
1239
|
mr: 16,
|
|
@@ -1242,13 +1241,13 @@ const me = ({ sx: t = {} }) => {
|
|
|
1242
1241
|
pt: 14
|
|
1243
1242
|
},
|
|
1244
1243
|
children: [
|
|
1245
|
-
/* @__PURE__ */
|
|
1246
|
-
|
|
1244
|
+
/* @__PURE__ */ i(
|
|
1245
|
+
p,
|
|
1247
1246
|
{
|
|
1248
1247
|
sx: {
|
|
1249
1248
|
alignItems: "center",
|
|
1250
1249
|
borderBottom: 1,
|
|
1251
|
-
borderColor: "
|
|
1250
|
+
borderColor: "divider",
|
|
1252
1251
|
flexDirection: "row",
|
|
1253
1252
|
pb: 14,
|
|
1254
1253
|
pl: 14,
|
|
@@ -1263,15 +1262,15 @@ const me = ({ sx: t = {} }) => {
|
|
|
1263
1262
|
size: 32
|
|
1264
1263
|
}
|
|
1265
1264
|
),
|
|
1266
|
-
/* @__PURE__ */
|
|
1267
|
-
/* @__PURE__ */ e(
|
|
1268
|
-
/* @__PURE__ */ e(
|
|
1265
|
+
/* @__PURE__ */ i(p, { sx: { overflow: "hidden", pl: 13, pr: 13 }, children: [
|
|
1266
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
|
|
1267
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
|
|
1269
1268
|
] })
|
|
1270
1269
|
]
|
|
1271
1270
|
}
|
|
1272
1271
|
),
|
|
1273
|
-
/* @__PURE__ */
|
|
1274
|
-
|
|
1272
|
+
/* @__PURE__ */ i(
|
|
1273
|
+
p,
|
|
1275
1274
|
{
|
|
1276
1275
|
sx: {
|
|
1277
1276
|
alignItems: "center",
|
|
@@ -1281,13 +1280,13 @@ const me = ({ sx: t = {} }) => {
|
|
|
1281
1280
|
pt: 8
|
|
1282
1281
|
},
|
|
1283
1282
|
children: [
|
|
1284
|
-
/* @__PURE__ */
|
|
1285
|
-
|
|
1283
|
+
/* @__PURE__ */ i(
|
|
1284
|
+
p,
|
|
1286
1285
|
{
|
|
1287
1286
|
sx: {
|
|
1288
1287
|
alignItems: "center",
|
|
1289
1288
|
borderRight: 1,
|
|
1290
|
-
borderColor: "
|
|
1289
|
+
borderColor: "divider",
|
|
1291
1290
|
flex: 1,
|
|
1292
1291
|
justifyContent: "center",
|
|
1293
1292
|
pb: 14,
|
|
@@ -1296,9 +1295,9 @@ const me = ({ sx: t = {} }) => {
|
|
|
1296
1295
|
pt: 14
|
|
1297
1296
|
},
|
|
1298
1297
|
children: [
|
|
1299
|
-
/* @__PURE__ */ e(
|
|
1300
|
-
/* @__PURE__ */
|
|
1301
|
-
|
|
1298
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary", fontSize: 11 }, variant: "body2", children: r.overview.total_gain_Loss }),
|
|
1299
|
+
/* @__PURE__ */ i(
|
|
1300
|
+
p,
|
|
1302
1301
|
{
|
|
1303
1302
|
sx: {
|
|
1304
1303
|
alignItems: "center",
|
|
@@ -1307,38 +1306,38 @@ const me = ({ sx: t = {} }) => {
|
|
|
1307
1306
|
justifyContent: "flex-end"
|
|
1308
1307
|
},
|
|
1309
1308
|
children: [
|
|
1310
|
-
|
|
1311
|
-
|
|
1309
|
+
S !== 0 && /* @__PURE__ */ e(
|
|
1310
|
+
B,
|
|
1312
1311
|
{
|
|
1313
|
-
name:
|
|
1312
|
+
name: S > 0 ? "trending_up" : "trending_down",
|
|
1314
1313
|
size: 20,
|
|
1315
|
-
sx: { color:
|
|
1314
|
+
sx: { color: L(S) }
|
|
1316
1315
|
}
|
|
1317
1316
|
),
|
|
1318
|
-
/* @__PURE__ */
|
|
1319
|
-
|
|
1317
|
+
/* @__PURE__ */ i(
|
|
1318
|
+
o,
|
|
1320
1319
|
{
|
|
1321
1320
|
sx: {
|
|
1322
|
-
color:
|
|
1321
|
+
color: L(S),
|
|
1323
1322
|
fontWeight: 600
|
|
1324
1323
|
},
|
|
1325
|
-
variant: "
|
|
1324
|
+
variant: "body1",
|
|
1326
1325
|
children: [
|
|
1327
1326
|
ge.toFixed(2),
|
|
1328
1327
|
"%"
|
|
1329
1328
|
]
|
|
1330
1329
|
}
|
|
1331
1330
|
),
|
|
1332
|
-
/* @__PURE__ */ e(
|
|
1331
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
|
|
1333
1332
|
/* @__PURE__ */ e(
|
|
1334
|
-
|
|
1333
|
+
o,
|
|
1335
1334
|
{
|
|
1336
1335
|
sx: {
|
|
1337
|
-
color:
|
|
1336
|
+
color: L(S),
|
|
1338
1337
|
fontWeight: 600
|
|
1339
1338
|
},
|
|
1340
|
-
variant: "
|
|
1341
|
-
children: Math.abs(
|
|
1339
|
+
variant: "body1",
|
|
1340
|
+
children: Math.abs(S).toLocaleString("en-US", {
|
|
1342
1341
|
currency: "USD",
|
|
1343
1342
|
maximumFractionDigits: 2,
|
|
1344
1343
|
minimumFractionDigits: 2,
|
|
@@ -1352,8 +1351,8 @@ const me = ({ sx: t = {} }) => {
|
|
|
1352
1351
|
]
|
|
1353
1352
|
}
|
|
1354
1353
|
),
|
|
1355
|
-
/* @__PURE__ */
|
|
1356
|
-
|
|
1354
|
+
/* @__PURE__ */ i(
|
|
1355
|
+
p,
|
|
1357
1356
|
{
|
|
1358
1357
|
sx: {
|
|
1359
1358
|
alignItems: "center",
|
|
@@ -1365,8 +1364,8 @@ const me = ({ sx: t = {} }) => {
|
|
|
1365
1364
|
pt: 14
|
|
1366
1365
|
},
|
|
1367
1366
|
children: [
|
|
1368
|
-
/* @__PURE__ */ e(
|
|
1369
|
-
/* @__PURE__ */ e(
|
|
1367
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
|
|
1368
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
|
|
1370
1369
|
currency: "USD",
|
|
1371
1370
|
maximumFractionDigits: 2,
|
|
1372
1371
|
minimumFractionDigits: 2,
|
|
@@ -1384,12 +1383,12 @@ const me = ({ sx: t = {} }) => {
|
|
|
1384
1383
|
},
|
|
1385
1384
|
a.guid
|
|
1386
1385
|
);
|
|
1387
|
-
const
|
|
1388
|
-
return /* @__PURE__ */
|
|
1386
|
+
const ke = A ? "grey.700" : "grey.400", Be = w.length ? "text.primary" : ke;
|
|
1387
|
+
return /* @__PURE__ */ i(
|
|
1389
1388
|
be,
|
|
1390
1389
|
{
|
|
1391
|
-
expanded:
|
|
1392
|
-
onChange:
|
|
1390
|
+
expanded: u[a.guid] === !0,
|
|
1391
|
+
onChange: M ? Se(a.guid) : () => {
|
|
1393
1392
|
},
|
|
1394
1393
|
sx: {
|
|
1395
1394
|
border: 1,
|
|
@@ -1398,21 +1397,21 @@ const me = ({ sx: t = {} }) => {
|
|
|
1398
1397
|
width: "100%"
|
|
1399
1398
|
},
|
|
1400
1399
|
children: [
|
|
1401
|
-
/* @__PURE__ */
|
|
1400
|
+
/* @__PURE__ */ i(
|
|
1402
1401
|
we,
|
|
1403
1402
|
{
|
|
1404
1403
|
"aria-controls": "panel1a-content",
|
|
1405
1404
|
id: "panel1a-header",
|
|
1406
1405
|
sx: [
|
|
1407
|
-
|
|
1406
|
+
u[a.guid] && {
|
|
1408
1407
|
borderBottom: 1,
|
|
1409
|
-
borderColor: "
|
|
1408
|
+
borderColor: "divider",
|
|
1410
1409
|
maxHeight: 88
|
|
1411
1410
|
}
|
|
1412
1411
|
],
|
|
1413
1412
|
children: [
|
|
1414
|
-
/* @__PURE__ */
|
|
1415
|
-
|
|
1413
|
+
/* @__PURE__ */ i(
|
|
1414
|
+
p,
|
|
1416
1415
|
{
|
|
1417
1416
|
sx: {
|
|
1418
1417
|
alignItems: "center",
|
|
@@ -1422,7 +1421,7 @@ const me = ({ sx: t = {} }) => {
|
|
|
1422
1421
|
width: "100%"
|
|
1423
1422
|
},
|
|
1424
1423
|
children: [
|
|
1425
|
-
/* @__PURE__ */ e(
|
|
1424
|
+
/* @__PURE__ */ e(B, { name: "expand_more", size: 20, sx: { color: Be } }),
|
|
1426
1425
|
/* @__PURE__ */ e(
|
|
1427
1426
|
oe,
|
|
1428
1427
|
{
|
|
@@ -1431,18 +1430,18 @@ const me = ({ sx: t = {} }) => {
|
|
|
1431
1430
|
size: 32
|
|
1432
1431
|
}
|
|
1433
1432
|
),
|
|
1434
|
-
/* @__PURE__ */
|
|
1435
|
-
/* @__PURE__ */ e(
|
|
1436
|
-
/* @__PURE__ */ e(
|
|
1433
|
+
/* @__PURE__ */ i(p, { sx: { alignItems: "flex-start" }, children: [
|
|
1434
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
|
|
1435
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
|
|
1437
1436
|
] })
|
|
1438
1437
|
]
|
|
1439
1438
|
}
|
|
1440
1439
|
),
|
|
1441
|
-
/* @__PURE__ */
|
|
1442
|
-
/* @__PURE__ */
|
|
1443
|
-
/* @__PURE__ */ e(
|
|
1444
|
-
/* @__PURE__ */
|
|
1445
|
-
|
|
1440
|
+
/* @__PURE__ */ i(p, { sx: { flexDirection: "row" }, children: [
|
|
1441
|
+
/* @__PURE__ */ i(p, { sx: { alignItems: "flex-end", pb: 14, pl: 24, pr: 24, pt: 14 }, children: [
|
|
1442
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_gain_Loss }),
|
|
1443
|
+
/* @__PURE__ */ i(
|
|
1444
|
+
p,
|
|
1446
1445
|
{
|
|
1447
1446
|
sx: {
|
|
1448
1447
|
alignItems: "center",
|
|
@@ -1451,38 +1450,38 @@ const me = ({ sx: t = {} }) => {
|
|
|
1451
1450
|
justifyContent: "flex-end"
|
|
1452
1451
|
},
|
|
1453
1452
|
children: [
|
|
1454
|
-
|
|
1455
|
-
|
|
1453
|
+
S !== 0 && /* @__PURE__ */ e(
|
|
1454
|
+
B,
|
|
1456
1455
|
{
|
|
1457
|
-
name:
|
|
1456
|
+
name: S >= 0 ? "trending_up" : "trending_down",
|
|
1458
1457
|
size: 20,
|
|
1459
|
-
sx: { color:
|
|
1458
|
+
sx: { color: L(S) }
|
|
1460
1459
|
}
|
|
1461
1460
|
),
|
|
1462
|
-
/* @__PURE__ */
|
|
1463
|
-
|
|
1461
|
+
/* @__PURE__ */ i(
|
|
1462
|
+
o,
|
|
1464
1463
|
{
|
|
1465
1464
|
sx: {
|
|
1466
|
-
color:
|
|
1465
|
+
color: L(S),
|
|
1467
1466
|
fontWeight: 600
|
|
1468
1467
|
},
|
|
1469
|
-
variant: "
|
|
1468
|
+
variant: "body1",
|
|
1470
1469
|
children: [
|
|
1471
1470
|
ge.toFixed(2),
|
|
1472
1471
|
"%"
|
|
1473
1472
|
]
|
|
1474
1473
|
}
|
|
1475
1474
|
),
|
|
1476
|
-
/* @__PURE__ */ e(
|
|
1475
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
|
|
1477
1476
|
/* @__PURE__ */ e(
|
|
1478
|
-
|
|
1477
|
+
o,
|
|
1479
1478
|
{
|
|
1480
1479
|
sx: {
|
|
1481
|
-
color:
|
|
1480
|
+
color: L(S),
|
|
1482
1481
|
fontWeight: 600
|
|
1483
1482
|
},
|
|
1484
|
-
variant: "
|
|
1485
|
-
children: Math.abs(
|
|
1483
|
+
variant: "body1",
|
|
1484
|
+
children: Math.abs(S).toLocaleString("en-US", {
|
|
1486
1485
|
currency: "USD",
|
|
1487
1486
|
maximumFractionDigits: 2,
|
|
1488
1487
|
minimumFractionDigits: 2,
|
|
@@ -1494,9 +1493,9 @@ const me = ({ sx: t = {} }) => {
|
|
|
1494
1493
|
}
|
|
1495
1494
|
)
|
|
1496
1495
|
] }),
|
|
1497
|
-
/* @__PURE__ */ e(
|
|
1498
|
-
/* @__PURE__ */ e(
|
|
1499
|
-
/* @__PURE__ */ e(
|
|
1496
|
+
/* @__PURE__ */ e(p, { sx: { alignItems: "flex-end", gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }, children: /* @__PURE__ */ i(p, { sx: { alignItems: "flex-end" }, children: [
|
|
1497
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
|
|
1498
|
+
/* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
|
|
1500
1499
|
currency: "USD",
|
|
1501
1500
|
maximumFractionDigits: 2,
|
|
1502
1501
|
minimumFractionDigits: 2,
|
|
@@ -1507,15 +1506,15 @@ const me = ({ sx: t = {} }) => {
|
|
|
1507
1506
|
]
|
|
1508
1507
|
}
|
|
1509
1508
|
),
|
|
1510
|
-
/* @__PURE__ */ e(_e, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ e(
|
|
1511
|
-
|
|
1509
|
+
/* @__PURE__ */ e(_e, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ e(se, { sx: { border: 1, borderColor: "neutral.light" }, children: /* @__PURE__ */ e(
|
|
1510
|
+
ht,
|
|
1512
1511
|
{
|
|
1513
|
-
currentEditedCostBasis:
|
|
1514
|
-
data:
|
|
1515
|
-
editingHoldingId:
|
|
1516
|
-
handleCostBasisBlur:
|
|
1517
|
-
handleCostBasisChange:
|
|
1518
|
-
handleCostBasisClick:
|
|
1512
|
+
currentEditedCostBasis: D,
|
|
1513
|
+
data: w,
|
|
1514
|
+
editingHoldingId: g,
|
|
1515
|
+
handleCostBasisBlur: te,
|
|
1516
|
+
handleCostBasisChange: ee,
|
|
1517
|
+
handleCostBasisClick: H,
|
|
1519
1518
|
handleCostBasisKeyDown: ue
|
|
1520
1519
|
}
|
|
1521
1520
|
) }) })
|
|
@@ -1526,92 +1525,93 @@ const me = ({ sx: t = {} }) => {
|
|
|
1526
1525
|
}),
|
|
1527
1526
|
/* @__PURE__ */ e(me, {}),
|
|
1528
1527
|
/* @__PURE__ */ e(
|
|
1529
|
-
|
|
1528
|
+
ut,
|
|
1530
1529
|
{
|
|
1531
|
-
accountHoldingsData:
|
|
1532
|
-
currentEditedCostBasis:
|
|
1533
|
-
editingHoldingId:
|
|
1534
|
-
handleCostBasisBlur:
|
|
1535
|
-
handleCostBasisChange:
|
|
1536
|
-
handleCostBasisClick:
|
|
1530
|
+
accountHoldingsData: b,
|
|
1531
|
+
currentEditedCostBasis: D,
|
|
1532
|
+
editingHoldingId: g,
|
|
1533
|
+
handleCostBasisBlur: te,
|
|
1534
|
+
handleCostBasisChange: ee,
|
|
1535
|
+
handleCostBasisClick: H,
|
|
1537
1536
|
handleCostBasisKeyDown: ue,
|
|
1538
1537
|
isOpen: m,
|
|
1539
|
-
onClose:
|
|
1538
|
+
onClose: Te
|
|
1540
1539
|
}
|
|
1541
1540
|
),
|
|
1542
1541
|
/* @__PURE__ */ e(
|
|
1543
1542
|
pe,
|
|
1544
1543
|
{
|
|
1545
|
-
onClose: () =>
|
|
1546
|
-
showConnectionsWidget:
|
|
1547
|
-
title:
|
|
1544
|
+
onClose: () => h(!1),
|
|
1545
|
+
showConnectionsWidget: x,
|
|
1546
|
+
title: y.manage_connections
|
|
1548
1547
|
}
|
|
1549
1548
|
)
|
|
1550
|
-
] }) : /* @__PURE__ */ e(
|
|
1551
|
-
},
|
|
1552
|
-
const { onEvent:
|
|
1549
|
+
] }) : /* @__PURE__ */ e(De, {});
|
|
1550
|
+
}, pt = $(gt), xt = ({ title: t }) => /* @__PURE__ */ e(o, { bold: !0, variant: "body1", children: t }), ln = $(({ onBackClick: t, onMenuClick: u, sx: c }) => {
|
|
1551
|
+
const { onEvent: m } = ve(), { isMobile: f } = j(), {
|
|
1553
1552
|
isAccountDataLoaded: v,
|
|
1554
|
-
loadAccountData:
|
|
1555
|
-
visibleInvestmentAccounts:
|
|
1556
|
-
} =
|
|
1557
|
-
visibleHoldings:
|
|
1558
|
-
setShowConnectionsWidget:
|
|
1559
|
-
showConnectionsWidget:
|
|
1560
|
-
} =
|
|
1561
|
-
|
|
1553
|
+
loadAccountData: d,
|
|
1554
|
+
visibleInvestmentAccounts: l
|
|
1555
|
+
} = ce(), {
|
|
1556
|
+
visibleHoldings: x,
|
|
1557
|
+
setShowConnectionsWidget: h,
|
|
1558
|
+
showConnectionsWidget: b
|
|
1559
|
+
} = U(), { investments: s, accounts: y } = N(), { isInitialized: r } = J(), [n, g] = T.useState(0), { loadHoldings: C, holdingsLoaded: D } = U();
|
|
1560
|
+
qe({
|
|
1562
1561
|
widgetName: "InvestmentsWidget",
|
|
1563
|
-
isLoaded:
|
|
1564
|
-
}),
|
|
1565
|
-
v ||
|
|
1566
|
-
}, []),
|
|
1567
|
-
|
|
1568
|
-
}, [
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1562
|
+
isLoaded: D
|
|
1563
|
+
}), T.useEffect(() => {
|
|
1564
|
+
v || d().finally();
|
|
1565
|
+
}, []), T.useEffect(() => {
|
|
1566
|
+
r && C().finally();
|
|
1567
|
+
}, [r]);
|
|
1568
|
+
const k = () => {
|
|
1569
|
+
m(z.INVESTMENT_WIDGET_ACCOUNT_FILTER_CLICK);
|
|
1571
1570
|
};
|
|
1572
|
-
if (!
|
|
1573
|
-
const
|
|
1571
|
+
if (!r || !D) return /* @__PURE__ */ e(De, {});
|
|
1572
|
+
const W = [
|
|
1574
1573
|
z.INVESTMENT_WIDGET_DETAILS_CLICK,
|
|
1575
1574
|
z.INVESTMENT_WIDGET_ALLOCATION_CLICK,
|
|
1576
1575
|
z.INVESTMENT_WIDGET_ANALYSIS_CLICK
|
|
1577
|
-
],
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1576
|
+
], A = l.length === 0 && x.length === 0, G = [
|
|
1577
|
+
s.tab_overview_title,
|
|
1578
|
+
s.tab_allocation_title,
|
|
1579
|
+
s.tab_analysis_title
|
|
1581
1580
|
];
|
|
1582
|
-
return /* @__PURE__ */
|
|
1583
|
-
|
|
1581
|
+
return /* @__PURE__ */ i(
|
|
1582
|
+
Ke,
|
|
1584
1583
|
{
|
|
1585
1584
|
allowedAccountTypes: [Ye.INVESTMENT],
|
|
1586
|
-
onAccountsFilterClick:
|
|
1585
|
+
onAccountsFilterClick: k,
|
|
1587
1586
|
onBackClick: t,
|
|
1588
|
-
|
|
1589
|
-
|
|
1587
|
+
onMenuClick: u,
|
|
1588
|
+
sx: c,
|
|
1589
|
+
title: s.title,
|
|
1590
1590
|
children: [
|
|
1591
|
-
/* @__PURE__ */
|
|
1591
|
+
/* @__PURE__ */ i(_, { mx: f ? 0 : 48, my: 24, children: [
|
|
1592
1592
|
/* @__PURE__ */ e(
|
|
1593
1593
|
Ee,
|
|
1594
1594
|
{
|
|
1595
|
-
onChange: (
|
|
1596
|
-
|
|
1595
|
+
onChange: (F, L) => {
|
|
1596
|
+
g(L), m(W[L]);
|
|
1597
1597
|
},
|
|
1598
1598
|
sx: { bgcolor: "background.paper" },
|
|
1599
1599
|
textColor: "primary",
|
|
1600
|
-
value:
|
|
1600
|
+
value: A ? -1 : n,
|
|
1601
1601
|
variant: "fullWidth",
|
|
1602
|
-
children:
|
|
1602
|
+
children: G.map((F) => /* @__PURE__ */ e(Fe, { disabled: A, label: /* @__PURE__ */ e(xt, { title: F }) }, F))
|
|
1603
1603
|
}
|
|
1604
1604
|
),
|
|
1605
|
-
|
|
1605
|
+
A ? /* @__PURE__ */ e(
|
|
1606
1606
|
Qe,
|
|
1607
1607
|
{
|
|
1608
|
-
header:
|
|
1608
|
+
header: s.empty_state_header,
|
|
1609
1609
|
icon: "bid_landscape",
|
|
1610
1610
|
onClick: () => {
|
|
1611
|
-
|
|
1611
|
+
h(!0), m(z.ACCOUNTS_CLICK_CONNECT);
|
|
1612
1612
|
},
|
|
1613
|
-
primaryButton:
|
|
1614
|
-
subText:
|
|
1613
|
+
primaryButton: s.overview.connect_accounts,
|
|
1614
|
+
subText: s.empty_state_description,
|
|
1615
1615
|
sx: {
|
|
1616
1616
|
width: { sm: 432 },
|
|
1617
1617
|
".buttons-footer": {
|
|
@@ -1624,18 +1624,18 @@ const me = ({ sx: t = {} }) => {
|
|
|
1624
1624
|
px: 16
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
|
-
) : /* @__PURE__ */
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1627
|
+
) : /* @__PURE__ */ i(le, { children: [
|
|
1628
|
+
n === 0 && /* @__PURE__ */ e(pt, {}),
|
|
1629
|
+
n === 1 && /* @__PURE__ */ e(rt, {}),
|
|
1630
|
+
n === 2 && /* @__PURE__ */ e(dt, {})
|
|
1631
1631
|
] })
|
|
1632
1632
|
] }),
|
|
1633
1633
|
/* @__PURE__ */ e(
|
|
1634
1634
|
pe,
|
|
1635
1635
|
{
|
|
1636
|
-
onClose: () =>
|
|
1637
|
-
showConnectionsWidget:
|
|
1638
|
-
title:
|
|
1636
|
+
onClose: () => h(!1),
|
|
1637
|
+
showConnectionsWidget: b,
|
|
1638
|
+
title: y.manage_connections
|
|
1639
1639
|
}
|
|
1640
1640
|
)
|
|
1641
1641
|
]
|
|
@@ -1643,5 +1643,5 @@ const me = ({ sx: t = {} }) => {
|
|
|
1643
1643
|
);
|
|
1644
1644
|
});
|
|
1645
1645
|
export {
|
|
1646
|
-
|
|
1646
|
+
ln as InvestmentsWidget
|
|
1647
1647
|
};
|