@mx-cartographer/experiences 9.3.0-alpha.bb2 → 9.3.0
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 +42 -0
- package/dist/accounts/AccountsMiniWidget.es.js.map +1 -1
- package/dist/accounts/AccountsWidget.es.js.map +1 -1
- package/dist/accounts/ConnectMiniWidget.es.js.map +1 -1
- package/dist/accounts/components/AccountListItem.es.js.map +1 -1
- package/dist/accounts/components/AccountsList.es.js.map +1 -1
- package/dist/accounts/components/AccountsListCompact.es.js.map +1 -1
- package/dist/accounts/components/ConnectImage.es.js.map +1 -1
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js.map +1 -1
- package/dist/accounts/components/ConnectionStatusIcons.es.js.map +1 -1
- package/dist/accounts/components/ConnectionsDrawer.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +40 -37
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js.map +1 -1
- package/dist/accounts/utils/AccountFields.es.js +4 -1
- package/dist/accounts/utils/AccountFields.es.js.map +1 -1
- package/dist/analytics/SurveyMiniWidget.es.js.map +1 -1
- package/dist/analytics/components/RatingScale.es.js.map +1 -1
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js +46 -44
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js.map +1 -1
- package/dist/budgets/BubbleBudgetsWidget.es.js.map +1 -1
- package/dist/budgets/components/AddBudgets.es.js.map +1 -1
- package/dist/budgets/components/BubbleBudgets.es.js.map +1 -1
- package/dist/budgets/components/BubbleChart.es.js +12 -12
- package/dist/budgets/components/BubbleChart.es.js.map +1 -1
- package/dist/budgets/components/BudgetDetailsDrawer.es.js.map +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js.map +1 -1
- package/dist/budgets/components/BudgetList.es.js.map +1 -1
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js.map +1 -1
- package/dist/budgets/components/Overview.es.js.map +1 -1
- package/dist/budgets/components/addbudget/Header.es.js.map +1 -1
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js.map +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js.map +1 -1
- package/dist/budgets/components/bubblechart/Bubble.es.js.map +1 -1
- package/dist/budgets/components/bubblechart/Mercury.es.js +13 -11
- package/dist/budgets/components/bubblechart/Mercury.es.js.map +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js.map +1 -1
- package/dist/budgets/components/budgetdetails/Header.es.js.map +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.es.js.map +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js.map +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js.map +1 -1
- package/dist/budgets/components/shared/BudgetAmount.es.js.map +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js.map +1 -1
- package/dist/budgets/utils/BubblesSVG.es.js +10 -10
- package/dist/budgets/utils/BubblesSVG.es.js.map +1 -1
- package/dist/cashflow/CashflowMiniWidget.es.js.map +1 -1
- package/dist/cashflow/CashflowOnboarding.es.js.map +1 -1
- package/dist/cashflow/CashflowWidget.es.js.map +1 -1
- package/dist/cashflow/components/CashflowAmountHeading.es.js.map +1 -1
- package/dist/cashflow/components/CashflowContent.es.js.map +1 -1
- package/dist/cashflow/components/CashflowHeading.es.js.map +1 -1
- package/dist/cashflow/components/CashflowWidgetContent.es.js.map +1 -1
- package/dist/cashflow/components/DetailsExpenseHeader.es.js.map +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.es.js.map +1 -1
- package/dist/cashflow/components/DetailsFooter.es.js.map +1 -1
- package/dist/cashflow/components/DetailsTab.es.js.map +1 -1
- package/dist/cashflow/components/RemainingCash.es.js.map +1 -1
- package/dist/cashflow/components/SummaryTab.es.js.map +1 -1
- package/dist/cashflow/components/onboarding/StepOne.es.js.map +1 -1
- package/dist/cashflow/components/onboarding/StepTwo.es.js.map +1 -1
- package/dist/categories/components/CategoryList.es.js +24 -24
- package/dist/categories/components/CategoryList.es.js.map +1 -1
- package/dist/categories/components/CategoryRow.es.js +6 -6
- package/dist/categories/components/CategoryRow.es.js.map +1 -1
- package/dist/categories/components/CategorySelector.es.js +36 -32
- package/dist/categories/components/CategorySelector.es.js.map +1 -1
- package/dist/categories/components/CategorySelectorDrawer.es.js.map +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js.map +1 -1
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js +0 -1
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js.map +1 -1
- package/dist/categories/components/SubcategoryList.es.js.map +1 -1
- package/dist/categories/components/SubcategoryRow.es.js.map +1 -1
- package/dist/common/components/Banner.es.js.map +1 -1
- package/dist/common/components/ConnectCard.es.js.map +1 -1
- package/dist/common/components/ConnectDrawer.es.js.map +1 -1
- package/dist/common/components/ConnectStatus.es.js.map +1 -1
- package/dist/common/components/CurrencyDialog.es.js.map +1 -1
- package/dist/common/components/CurrencyInput.es.js +11 -11
- package/dist/common/components/CurrencyText.es.js.map +1 -1
- package/dist/common/components/DataRow.es.js +7 -7
- package/dist/common/components/DataRow.es.js.map +1 -1
- package/dist/common/components/EmptyState.es.js.map +1 -1
- package/dist/common/components/Error.es.js.map +1 -1
- package/dist/common/components/ErrorBoundary.es.js.map +1 -1
- package/dist/common/components/GlobalAccountFilter.es.js.map +1 -1
- package/dist/common/components/IconBacking.es.js.map +1 -1
- package/dist/common/components/InformationTooltip.es.js.map +1 -1
- package/dist/common/components/ListItemAction.es.js.map +1 -1
- package/dist/common/components/ListItemRow.es.js +1 -1
- package/dist/common/components/ListItemRow.es.js.map +1 -1
- package/dist/common/components/ListItemWrapper.es.js.map +1 -1
- package/dist/common/components/Loader.es.js.map +1 -1
- package/dist/common/components/MicroWidgetContainer.es.js.map +1 -1
- package/dist/common/components/MiniWidgetContainer.es.js.map +1 -1
- package/dist/common/components/ResponsiveButton.es.js.map +1 -1
- package/dist/common/components/SearchBox.es.js.map +1 -1
- package/dist/common/components/Select.es.js.map +1 -1
- package/dist/common/components/SelectionBox.es.js.map +1 -1
- package/dist/common/components/SkeletonLoader.es.js.map +1 -1
- package/dist/common/components/SubheaderRow.es.js.map +1 -1
- package/dist/common/components/TabContentContainer.es.js.map +1 -1
- package/dist/common/components/TinyBarChart.es.js.map +1 -1
- package/dist/common/components/WidgetContainer.es.js.map +1 -1
- package/dist/common/components/WidgetDateRangeSelector.es.js +28 -28
- package/dist/common/components/WidgetDateRangeSelector.es.js.map +1 -1
- package/dist/common/components/addaccounts/AddAccounts.es.js +13 -13
- package/dist/common/components/addaccounts/AddAccounts.es.js.map +1 -1
- package/dist/common/components/calendar/Calendar.es.js.map +1 -1
- package/dist/common/components/calendar/Day.es.js.map +1 -1
- package/dist/common/components/calendar/Header.es.js +26 -23
- package/dist/common/components/calendar/Header.es.js.map +1 -1
- package/dist/common/components/charts/Donut.es.js.map +1 -1
- package/dist/common/components/charts/LineChart.es.js.map +1 -1
- package/dist/common/components/charts/StackedLineChart.es.js.map +1 -1
- package/dist/common/components/charts/StatusBar.es.js.map +1 -1
- package/dist/common/components/charts/linechart/CustomLegend.es.js.map +1 -1
- package/dist/common/components/charts/linechart/CustomLine.es.js.map +1 -1
- package/dist/common/components/charts/linechart/CustomMark.es.js.map +1 -1
- package/dist/common/components/charts/linechart/CustomTooltip.es.js.map +1 -1
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js.map +1 -1
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js.map +1 -1
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js.map +1 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js.map +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +14 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js +113 -101
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js.map +1 -1
- package/dist/common/components/dialog/Dialog.es.js.map +1 -1
- package/dist/common/components/donuts/MultiSegmentDonut.es.js.map +1 -1
- package/dist/common/components/donuts/SingleSegmentDonut.es.js.map +1 -1
- package/dist/common/components/drawer/Drawer.es.js.map +1 -1
- package/dist/common/components/drawer/Footer.es.js.map +1 -1
- package/dist/common/components/drawer/Header.es.js.map +1 -1
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js +71 -87
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js.map +1 -1
- package/dist/common/components/listitems/CollapseExpandListItem.es.js +4 -4
- package/dist/common/components/listitems/CollapseExpandListItem.es.js.map +1 -1
- package/dist/common/components/listitems/ToggleButtonListItem.es.js +6 -6
- package/dist/common/components/listitems/ToggleButtonListItem.es.js.map +1 -1
- package/dist/common/components/listitems/ToggleListItem.es.js.map +1 -1
- package/dist/common/hooks/useAriaLive.es.js.map +1 -1
- package/dist/common/utils/AccountFilter.es.js.map +1 -1
- package/dist/core/constants/Category.es.js.map +1 -1
- package/dist/core/stores/CategoryStore.d.ts +2 -0
- package/dist/core/stores/CategoryStore.es.js +55 -47
- package/dist/core/stores/CategoryStore.es.js.map +1 -1
- package/dist/core/stores/DebtsStore.es.js +10 -10
- package/dist/core/stores/DebtsStore.es.js.map +1 -1
- package/dist/core/stores/FinstrongStore.es.js +4 -4
- package/dist/core/stores/FinstrongStore.es.js.map +1 -1
- package/dist/core/stores/TrendsStore.es.js +6 -6
- package/dist/core/types/Account.es.js.map +1 -1
- package/dist/core/utils/DateUtil.es.js +24 -23
- package/dist/core/utils/DateUtil.es.js.map +1 -1
- package/dist/core/utils/DebtUtils.es.js +28 -28
- package/dist/core/utils/DebtUtils.es.js.map +1 -1
- package/dist/core/utils/GoalsUtil.es.js +11 -8
- package/dist/core/utils/GoalsUtil.es.js.map +1 -1
- package/dist/core/utils/InvestmentUtil.es.js +26 -23
- package/dist/core/utils/InvestmentUtil.es.js.map +1 -1
- package/dist/core/utils/NotificationUtils.es.js +11 -8
- package/dist/core/utils/NotificationUtils.es.js.map +1 -1
- package/dist/core/utils/RecurringTransactionsUtil.es.js +5 -8
- package/dist/core/utils/RecurringTransactionsUtil.es.js.map +1 -1
- package/dist/core/utils/SettingsUtil.es.js.map +1 -1
- package/dist/core/utils/TransactionUtils.es.js.map +1 -1
- package/dist/dashboard/Dashboard.es.js.map +1 -1
- package/dist/dashboard/Greeting.es.js.map +1 -1
- package/dist/debts/DebtsWidget.es.js.map +1 -1
- package/dist/debts/components/DebtDrawer.es.js.map +1 -1
- package/dist/debts/components/DebtsChart.es.js +36 -36
- package/dist/debts/components/DebtsChart.es.js.map +1 -1
- package/dist/debts/components/DebtsTable.es.js +13 -13
- package/dist/debts/components/DebtsTable.es.js.map +1 -1
- package/dist/debts/components/PaydownDrawer.es.js.map +1 -1
- package/dist/debts/components/SnowballCard.es.js.map +1 -1
- package/dist/debts/components/SnowballDrawer.es.js.map +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.es.js +23 -23
- package/dist/debts/components/actions/DebtsPriorityAction.es.js.map +1 -1
- package/dist/debts/components/actions/ExtraPaymentAction.es.js.map +1 -1
- package/dist/debts/components/actions/InterestRateAction.es.js.map +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js.map +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.es.js.map +1 -1
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js.map +1 -1
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js.map +1 -1
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js.map +1 -1
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js.map +1 -1
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js.map +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.es.js.map +1 -1
- package/dist/debts/components/debtspaydown/PaydownContent.es.js.map +1 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js.map +1 -1
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js.map +1 -1
- package/dist/debts/components/debtstable/AccountCell.es.js.map +1 -1
- package/dist/debts/components/debtstable/PriorityCell.es.js.map +1 -1
- package/dist/finstrong/FinancialStrengthCard.es.js.map +1 -1
- package/dist/finstrong/FinstrongWidget.es.js.map +1 -1
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js.map +1 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js.map +1 -1
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js.map +1 -1
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js.map +1 -1
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js.map +1 -1
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js.map +1 -1
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js.map +1 -1
- package/dist/finstrong/components/HealthChart.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js.map +1 -1
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js.map +1 -1
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js.map +1 -1
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js.map +1 -1
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js.map +1 -1
- package/dist/finstrong/components/ManageCreditScore.es.js.map +1 -1
- package/dist/finstrong/components/ManageDOB.es.js.map +1 -1
- package/dist/finstrong/components/MissingData.es.js.map +1 -1
- package/dist/finstrong/components/ProfileDrawer.es.js.map +1 -1
- package/dist/finstrong/components/ProfileList.es.js.map +1 -1
- package/dist/finstrong/components/ProfileProgressBar.es.js.map +1 -1
- package/dist/finstrong/components/ProgressBar.es.js.map +1 -1
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js.map +1 -1
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js.map +1 -1
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js.map +1 -1
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js.map +1 -1
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js.map +1 -1
- package/dist/finstrong/components/ScoreRubricDrawer.es.js.map +1 -1
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js.map +1 -1
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js.map +1 -1
- package/dist/finstrong/components/StatusChip.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/Onboarding.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js +15 -18
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js.map +1 -1
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js.map +1 -1
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js.map +1 -1
- package/dist/finstrong/components/shared/Accounts.es.js.map +1 -1
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js.map +1 -1
- package/dist/finstrong/components/shared/CustomPieArc.es.js.map +1 -1
- package/dist/finstrong/components/shared/DialScoreCard.es.js +27 -27
- package/dist/finstrong/components/shared/DialScoreCard.es.js.map +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.es.js.map +1 -1
- package/dist/finstrong/components/shared/LineGraph.es.js +20 -19
- package/dist/finstrong/components/shared/LineGraph.es.js.map +1 -1
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +28 -28
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js.map +1 -1
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js.map +1 -1
- package/dist/finstrong/components/shared/TotalCard.es.js.map +1 -1
- package/dist/finstrong/components/shared/Transactions.es.js.map +1 -1
- package/dist/finstrong/util/finstrongUtils.es.js +4 -1
- package/dist/finstrong/util/finstrongUtils.es.js.map +1 -1
- package/dist/goals/GoalsMicroWidget.es.js.map +1 -1
- package/dist/goals/GoalsWidget.es.js.map +1 -1
- package/dist/goals/components/AccountSelectionDrawer.es.js.map +1 -1
- package/dist/goals/components/AddGoal.es.js.map +1 -1
- package/dist/goals/components/GoalDetails.es.js.map +1 -1
- package/dist/goals/components/GoalDetailsDrawer.es.js.map +1 -1
- package/dist/goals/components/GoalList.es.js.map +1 -1
- package/dist/goals/components/GoalStatusCard.es.js.map +1 -1
- package/dist/goals/components/ManageGoals.es.js.map +1 -1
- package/dist/goals/components/TabTitle.es.js.map +1 -1
- package/dist/goals/components/actions/AccountAction.es.js.map +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js.map +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.es.js.map +1 -1
- package/dist/goals/components/actions/BirthdayAction.es.js.map +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.es.js.map +1 -1
- package/dist/goals/components/actions/ContributionAction.es.js.map +1 -1
- package/dist/goals/components/actions/GoalNameAction.es.js.map +1 -1
- package/dist/goals/components/actions/InterestRateAction.es.js.map +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js.map +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.es.js.map +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.es.js.map +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.es.js +5 -5
- package/dist/goals/components/addgoal/AddGoalListItem.es.js.map +1 -1
- package/dist/goals/components/managegoals/CompleteListItem.es.js.map +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.es.js.map +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js.map +1 -1
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js.map +1 -1
- package/dist/help/HelpWidget.es.js.map +1 -1
- package/dist/help/components/Help.es.js.map +1 -1
- package/dist/help/components/HelpList.es.js +32 -32
- package/dist/help/components/HelpList.es.js.map +1 -1
- package/dist/help/components/content/BottomImageContent.es.js.map +1 -1
- package/dist/help/components/content/ContentItem.es.js.map +1 -1
- package/dist/help/components/content/Header.es.js.map +1 -1
- package/dist/help/components/content/LeftImageContent.es.js.map +1 -1
- package/dist/help/components/content/NoImageContent.es.js.map +1 -1
- package/dist/help/components/content/RightImageContent.es.js.map +1 -1
- package/dist/help/components/content/TopImageContent.es.js.map +1 -1
- package/dist/help/components/requestsupport/ContactSupport.es.js.map +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js.map +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.es.js.map +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js.map +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.es.js.map +1 -1
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js +6 -6
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js.map +1 -1
- package/dist/help/components/requestsupport/RequestSupport.es.js.map +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js.map +1 -1
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js.map +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js.map +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js.map +1 -1
- package/dist/insights/components/feed/Header.es.js.map +1 -1
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -1
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js.map +1 -1
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js.map +1 -1
- package/dist/insights/components/insights/CashBack/CashBack.es.js.map +1 -1
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js +17 -17
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js.map +1 -1
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js.map +1 -1
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js.map +1 -1
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js.map +1 -1
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js.map +1 -1
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js.map +1 -1
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js +6 -6
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js.map +1 -1
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js.map +1 -1
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js.map +1 -1
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js.map +1 -1
- package/dist/insights/components/insights/MarketingHub/Offer.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js +38 -35
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js.map +1 -1
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js.map +1 -1
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js.map +1 -1
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js.map +1 -1
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js.map +1 -1
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js.map +1 -1
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js.map +1 -1
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js.map +1 -1
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js.map +1 -1
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js.map +1 -1
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js.map +1 -1
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js.map +1 -1
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js.map +1 -1
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js.map +1 -1
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js +22 -22
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js.map +1 -1
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js.map +1 -1
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js.map +1 -1
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js.map +1 -1
- package/dist/insights/components/shared/ConnectionCard.es.js.map +1 -1
- package/dist/insights/components/shared/Coupon.es.js.map +1 -1
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js.map +1 -1
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js.map +1 -1
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js.map +1 -1
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js.map +1 -1
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js.map +1 -1
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js.map +1 -1
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js.map +1 -1
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js.map +1 -1
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js.map +1 -1
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js.map +1 -1
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js.map +1 -1
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js.map +1 -1
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js.map +1 -1
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js.map +1 -1
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js.map +1 -1
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js.map +1 -1
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js.map +1 -1
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js.map +1 -1
- package/dist/insights/components/shared/GoalProgress.es.js.map +1 -1
- package/dist/insights/components/shared/GradientBox.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/CardError.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/Description.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js +4 -4
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js.map +1 -1
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js.map +1 -1
- package/dist/insights/components/shared/MenuAction.es.js +4 -4
- package/dist/insights/components/shared/MenuAction.es.js.map +1 -1
- package/dist/insights/components/shared/MiniInsightCard.es.js.map +1 -1
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js +23 -23
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js.map +1 -1
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js +24 -24
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js.map +1 -1
- package/dist/insights/components/shared/ProgressBar.es.js.map +1 -1
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js.map +1 -1
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js.map +1 -1
- package/dist/insights/components/shared/StatusIndicator.es.js.map +1 -1
- package/dist/insights/components/shared/ThemedSVGImage.es.js.map +1 -1
- package/dist/insights/components/shared/TransactionCard.es.js.map +1 -1
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js.map +1 -1
- package/dist/investments/InvestmentsWidget.es.js.map +1 -1
- package/dist/investments/components/Allocation.es.js.map +1 -1
- package/dist/investments/components/Analysis.es.js.map +1 -1
- package/dist/investments/components/AnalysisDetails.es.js.map +1 -1
- package/dist/investments/components/EmptyStateFooterComponent.es.js.map +1 -1
- package/dist/investments/components/HeaderCell.es.js.map +1 -1
- package/dist/investments/components/HoldingDrawer.es.js.map +1 -1
- package/dist/investments/components/HoldingTable.es.js +167 -164
- package/dist/investments/components/HoldingTable.es.js.map +1 -1
- package/dist/investments/components/InfoToolTip.es.js.map +1 -1
- package/dist/investments/components/Overview.es.js.map +1 -1
- package/dist/investments/components/TabTitle.es.js.map +1 -1
- package/dist/investments/components/allocation/InvestementAllocationList.es.js.map +1 -1
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js.map +1 -1
- package/dist/merchants/components/MerchantLookup.es.js.map +1 -1
- package/dist/microinsights/InsightsMicroWidget.es.js.map +1 -1
- package/dist/microinsights/MicroCardTemplate.es.js.map +1 -1
- package/dist/microinsights/Spinner.es.js.map +1 -1
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js +8 -8
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js.map +1 -1
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js.map +1 -1
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js.map +1 -1
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js.map +1 -1
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +1 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js.map +1 -1
- package/dist/microinsights/carousel/BeatList.es.js +17 -17
- package/dist/microinsights/carousel/BeatList.es.js.map +1 -1
- package/dist/microinsights/carousel/CarouselControls.es.js.map +1 -1
- package/dist/microinsights/carousel/CarouselHeader.es.js.map +1 -1
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js.map +1 -1
- package/dist/microinsights/constants/Analytics.es.js.map +1 -1
- package/dist/networth/NetWorthMicroWidget.es.js.map +1 -1
- package/dist/networth/NetWorthWidget.es.js.map +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js.map +1 -1
- package/dist/networth/components/GainsLossesDetail.es.js.map +1 -1
- package/dist/networth/components/NetWorthChange.es.js.map +1 -1
- package/dist/networth/components/NetWorthChart.es.js.map +1 -1
- package/dist/networth/components/NetWorthList.es.js.map +1 -1
- package/dist/networth/components/NetWorthListItem.es.js.map +1 -1
- package/dist/networth/components/NetWorthSummary.es.js.map +1 -1
- package/dist/networth/components/micro/NetworthData.es.js.map +1 -1
- package/dist/networth/components/micro/ZeroState.es.js.map +1 -1
- package/dist/notifications/components/DateRow.es.js.map +1 -1
- package/dist/notifications/components/NotificationBadge.es.js.map +1 -1
- package/dist/notifications/components/NotificationCard.es.js.map +1 -1
- package/dist/notifications/components/NotificationDrawer.es.js.map +1 -1
- package/dist/notifications/components/NotificationList.es.js +33 -30
- package/dist/notifications/components/NotificationList.es.js.map +1 -1
- package/dist/notifications/components/NotificationsEmptyState.es.js.map +1 -1
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js.map +1 -1
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js.map +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js.map +1 -1
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js.map +1 -1
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js.map +1 -1
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js.map +1 -1
- package/dist/recurringtransactions/components/PaymentSchedule.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurringStatus.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js.map +1 -1
- package/dist/recurringtransactions/components/RecurringTransactions.es.js.map +1 -1
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js.map +1 -1
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js.map +1 -1
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js.map +1 -1
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js.map +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js.map +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js.map +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js.map +1 -1
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js.map +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js.map +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js.map +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js.map +1 -1
- package/dist/settings/NotificationSettingsWidget.es.js.map +1 -1
- package/dist/settings/SettingsWidget.es.js.map +1 -1
- package/dist/settings/TransactionRulesWidget.es.js.map +1 -1
- package/dist/settings/components/SettingsWidgetContents.es.js.map +1 -1
- package/dist/settings/components/devices/DeviceDialog.es.js.map +1 -1
- package/dist/settings/components/devices/DeviceList.es.js.map +1 -1
- package/dist/settings/components/devices/DeviceTab.es.js.map +1 -1
- package/dist/settings/components/devices/DeviceTable.es.js +82 -82
- package/dist/settings/components/devices/DeviceTable.es.js.map +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js.map +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js.map +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.es.js.map +1 -1
- package/dist/settings/components/notifications/DeliveryMethods.es.js.map +1 -1
- package/dist/settings/components/notifications/NotificationProfile.es.js.map +1 -1
- package/dist/settings/components/notifications/NotificationSettings.es.js.map +1 -1
- package/dist/settings/components/notifications/PersonalDetails.es.js.map +1 -1
- package/dist/settings/components/profile/ProfileTab.es.js.map +1 -1
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js.map +1 -1
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js.map +1 -1
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js.map +1 -1
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js.map +1 -1
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js.map +1 -1
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js.map +1 -1
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js.map +1 -1
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js +24 -21
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js.map +1 -1
- package/dist/spending/SpendingMiniWidget.es.js.map +1 -1
- package/dist/spending/SpendingWidget.es.js +48 -39
- package/dist/spending/SpendingWidget.es.js.map +1 -1
- package/dist/spending/components/MiniSpendingChart.es.js.map +1 -1
- package/dist/spending/components/Spending.es.js.map +1 -1
- package/dist/spending/components/SpendingChart.es.js.map +1 -1
- package/dist/spending/components/SpendingDonut.es.js.map +1 -1
- package/dist/spending/components/SpendingLegend.es.js.map +1 -1
- package/dist/spending/components/SpendingList.es.js.map +1 -1
- package/dist/spending/components/SpendingTabLabel.es.js.map +1 -1
- package/dist/transactions/TransactionWidget.es.js.map +1 -1
- package/dist/transactions/components/shared/TransactionDetails.es.js.map +1 -1
- package/dist/transactions/components/shared/TransactionList.es.js.map +1 -1
- package/dist/transactions/components/shared/TransactionTable.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/Description.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +7 -7
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js +29 -29
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +36 -36
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js +7 -7
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js +7 -7
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js +7 -7
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js +24 -24
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js +40 -40
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js +34 -34
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js.map +1 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js.map +1 -1
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js.map +1 -1
- package/dist/transactions/components/splitmanager/SplitManager.es.js.map +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.es.js.map +1 -1
- package/dist/transactions/components/tagmanager/Header.es.js.map +1 -1
- package/dist/transactions/components/tagmanager/SearchBox.es.js.map +1 -1
- package/dist/transactions/components/tagmanager/TagManager.es.js.map +1 -1
- package/dist/transactions/components/tagmanager/TagRow.es.js +4 -4
- package/dist/transactions/components/tagmanager/TagRow.es.js.map +1 -1
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js.map +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js.map +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js.map +1 -1
- package/dist/transactions/utils/Transactions.es.js +20 -12
- package/dist/transactions/utils/Transactions.es.js.map +1 -1
- package/dist/trends/TrendsFullWidget.es.js +47 -47
- package/dist/trends/TrendsFullWidget.es.js.map +1 -1
- package/dist/trends/TrendsMicroWidget.es.js.map +1 -1
- package/dist/trends/TrendsMiniWidget.es.js.map +1 -1
- package/dist/trends/TrendsWidget.es.js +88 -89
- package/dist/trends/TrendsWidget.es.js.map +1 -1
- package/dist/trends/ZeroStateMicroWidget.es.js.map +1 -1
- package/dist/trends/components/CategoriesList.es.js.map +1 -1
- package/dist/trends/components/CategoryDetailChart.es.js.map +1 -1
- package/dist/trends/components/CategoryDetails.es.js.map +1 -1
- package/dist/trends/components/DateRangeText.es.js.map +1 -1
- package/dist/trends/components/TrendsChart.es.js.map +1 -1
- package/dist/trends/components/TrendsDrawer.es.js.map +1 -1
- package/dist/trends/components/TrendsInsights.es.js +21 -21
- package/dist/trends/components/TrendsInsights.es.js.map +1 -1
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js.map +1 -1
- package/dist/trends/components/TrendsTableContainer.es.js.map +1 -1
- package/dist/trends/components/TrendsViewToggle.es.js.map +1 -1
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js.map +1 -1
- package/dist/trends/components/trendstable/AmountCell.es.js.map +1 -1
- package/dist/trends/components/trendstable/CategoryCell.es.js.map +1 -1
- package/dist/trends/components/trendstable/HeaderCell.es.js.map +1 -1
- package/package.json +36 -35
|
@@ -1,199 +1,202 @@
|
|
|
1
|
-
import { useGlobalCopyStore as
|
|
1
|
+
import { useGlobalCopyStore as b } from "../../common/context/hooks.es.js";
|
|
2
2
|
import { HeaderCell as n } from "./HeaderCell.es.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import l from "@mui/material/Stack";
|
|
5
5
|
import { Text as t } from "@mxenabled/mxui";
|
|
6
|
-
import
|
|
7
|
-
import { Icon as
|
|
6
|
+
import C from "@mui/material/Paper";
|
|
7
|
+
import { Icon as u } from "@mxenabled/mx-icons";
|
|
8
8
|
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
9
9
|
import { useTheme as S } from "@mui/material/styles";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { DataGridPro as
|
|
13
|
-
var
|
|
14
|
-
const { investments: o } =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
import F from "@mui/material/IconButton";
|
|
11
|
+
import _ from "@mui/material/TextField";
|
|
12
|
+
import { DataGridPro as I } from "@mui/x-data-grid-pro";
|
|
13
|
+
var O = ({ data: g, editingHoldingId: m, currentEditedCostBasis: x, handleCostBasisClick: f, handleCostBasisChange: y, handleCostBasisKeyDown: v, handleCostBasisBlur: w }) => {
|
|
14
|
+
const { investments: o } = b(), p = S().palette.mode === "dark", c = "success.main", h = p ? "grey.300" : "grey.700", a = (e, i = "lesserThan") => i === "greaterThan" ? e >= 0 ? c : h : e <= 0 ? h : c, D = [
|
|
15
|
+
{
|
|
16
|
+
field: "qty",
|
|
17
|
+
headerName: o.overview.qty_header,
|
|
18
|
+
sortable: !1,
|
|
19
|
+
width: 48,
|
|
20
|
+
align: "center",
|
|
21
|
+
headerAlign: "center"
|
|
19
22
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
{
|
|
24
|
+
field: "holding",
|
|
25
|
+
headerName: o.overview.holding_header,
|
|
26
|
+
flex: 1,
|
|
27
|
+
renderHeader: n,
|
|
28
|
+
renderCell: (e) => /* @__PURE__ */ r(l, {
|
|
29
|
+
sx: {
|
|
30
|
+
alignItems: "center",
|
|
31
|
+
gap: 16,
|
|
32
|
+
flexDirection: "row"
|
|
29
33
|
},
|
|
30
|
-
{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
children: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ r(t, {
|
|
35
|
+
sx: { fontWeight: 700 },
|
|
36
|
+
children: e.row.holding
|
|
37
|
+
}), /* @__PURE__ */ r(t, {
|
|
38
|
+
sx: {
|
|
39
|
+
color: "text.secondary",
|
|
40
|
+
fontWeight: 400
|
|
41
|
+
},
|
|
42
|
+
variant: "tiny",
|
|
43
|
+
children: e.row.description
|
|
44
|
+
})] })
|
|
45
|
+
})
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
field: "costBasis",
|
|
49
|
+
headerName: o.overview.cost_basis_header,
|
|
50
|
+
width: 132,
|
|
51
|
+
renderHeader: n,
|
|
52
|
+
renderCell: (e) => {
|
|
53
|
+
const i = m === e.row.id;
|
|
54
|
+
return /* @__PURE__ */ d(l, {
|
|
55
|
+
sx: {
|
|
56
|
+
alignItems: "center",
|
|
57
|
+
flexDirection: "row",
|
|
58
|
+
gap: 4
|
|
59
|
+
},
|
|
60
|
+
children: [i ? /* @__PURE__ */ r(_, {
|
|
61
|
+
autoFocus: !0,
|
|
62
|
+
onBlur: () => w(e.row.id),
|
|
63
|
+
onChange: y,
|
|
64
|
+
onKeyDown: (s) => v(s, e.row.id),
|
|
65
|
+
size: "small",
|
|
36
66
|
sx: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}), /* @__PURE__ */ r(t, {
|
|
45
|
-
sx: {
|
|
46
|
-
color: "text.secondary",
|
|
47
|
-
fontWeight: 400
|
|
67
|
+
fontSize: 14,
|
|
68
|
+
width: 57,
|
|
69
|
+
"& .MuiInputBase-input": {
|
|
70
|
+
padding: "4px 0",
|
|
71
|
+
textAlign: "center",
|
|
72
|
+
fontWeight: 600,
|
|
73
|
+
color: "text.primary"
|
|
48
74
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
75
|
+
"& .MuiOutlinedInput-notchedOutline": { border: "none" }
|
|
76
|
+
},
|
|
77
|
+
value: x
|
|
78
|
+
}) : /* @__PURE__ */ r(t, {
|
|
79
|
+
sx: {
|
|
80
|
+
fontSize: 14,
|
|
81
|
+
width: 57
|
|
82
|
+
},
|
|
83
|
+
variant: "body2",
|
|
84
|
+
children: e.value?.toLocaleString("en-US", {
|
|
85
|
+
currency: "USD",
|
|
86
|
+
maximumFractionDigits: 2,
|
|
87
|
+
minimumFractionDigits: 2,
|
|
88
|
+
style: "currency"
|
|
89
|
+
})
|
|
90
|
+
}), /* @__PURE__ */ r(F, {
|
|
91
|
+
onClick: () => f(e.row.id, e.row.costBasis),
|
|
60
92
|
sx: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
gap: 4
|
|
93
|
+
minWidth: 12,
|
|
94
|
+
minHeight: 12
|
|
64
95
|
},
|
|
65
|
-
children:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
96
|
+
children: /* @__PURE__ */ r(u, {
|
|
97
|
+
name: "stylus",
|
|
98
|
+
size: 12,
|
|
99
|
+
sx: { color: "grey.700" }
|
|
100
|
+
})
|
|
101
|
+
})]
|
|
102
|
+
});
|
|
103
|
+
},
|
|
104
|
+
align: "center",
|
|
105
|
+
headerAlign: "center"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
field: "totalGainLoss",
|
|
109
|
+
headerName: o.overview.total_gain_loss_header,
|
|
110
|
+
width: 196,
|
|
111
|
+
renderHeader: n,
|
|
112
|
+
renderCell: (e) => {
|
|
113
|
+
const i = e.row.costBasis, s = i ? e.row.totalGainLoss / i * 100 : 0;
|
|
114
|
+
return /* @__PURE__ */ d(l, {
|
|
115
|
+
sx: {
|
|
116
|
+
alignItems: "center",
|
|
117
|
+
flexDirection: "row",
|
|
118
|
+
gap: 2
|
|
119
|
+
},
|
|
120
|
+
children: [
|
|
121
|
+
e.value !== 0 && /* @__PURE__ */ r(u, {
|
|
122
|
+
name: e.value > 0 ? "trending_up" : "trending_down",
|
|
123
|
+
size: 16,
|
|
71
124
|
sx: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
125
|
+
color: a(e.value),
|
|
126
|
+
mr: 1,
|
|
127
|
+
verticalAlign: "middle"
|
|
128
|
+
}
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ r(t, {
|
|
131
|
+
sx: {
|
|
132
|
+
color: a(e.value),
|
|
133
|
+
fontWeight: e.value > 0 ? 700 : 400
|
|
81
134
|
},
|
|
82
|
-
|
|
83
|
-
|
|
135
|
+
variant: "body2",
|
|
136
|
+
children: i ? `${s.toFixed(2)}%` : "0.00%"
|
|
137
|
+
}),
|
|
138
|
+
/* @__PURE__ */ r(t, {
|
|
139
|
+
sx: { color: "text.secondary" },
|
|
140
|
+
variant: "caption",
|
|
141
|
+
children: "|"
|
|
142
|
+
}),
|
|
143
|
+
/* @__PURE__ */ r(t, {
|
|
84
144
|
sx: {
|
|
85
|
-
|
|
86
|
-
|
|
145
|
+
color: a(e.value),
|
|
146
|
+
fontWeight: e.value > 0 ? 700 : 400
|
|
87
147
|
},
|
|
88
148
|
variant: "body2",
|
|
89
|
-
children: e.value
|
|
149
|
+
children: Math.abs(e.value).toLocaleString("en-US", {
|
|
90
150
|
currency: "USD",
|
|
91
151
|
maximumFractionDigits: 2,
|
|
92
152
|
minimumFractionDigits: 2,
|
|
93
153
|
style: "currency"
|
|
94
154
|
})
|
|
95
|
-
}), /* @__PURE__ */ r(C, {
|
|
96
|
-
onClick: () => x(e.row.id, e.row.costBasis),
|
|
97
|
-
sx: {
|
|
98
|
-
minWidth: 12,
|
|
99
|
-
minHeight: 12
|
|
100
|
-
},
|
|
101
|
-
children: /* @__PURE__ */ r(h, {
|
|
102
|
-
name: "stylus",
|
|
103
|
-
size: 12,
|
|
104
|
-
sx: { color: "grey.700" }
|
|
105
|
-
})
|
|
106
|
-
})]
|
|
107
|
-
}),
|
|
108
|
-
align: "center",
|
|
109
|
-
headerAlign: "center"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
field: "totalGainLoss",
|
|
113
|
-
headerName: o.overview.total_gain_loss_header,
|
|
114
|
-
width: 196,
|
|
115
|
-
renderHeader: n,
|
|
116
|
-
renderCell: (e) => {
|
|
117
|
-
const i = e.row.costBasis, p = i ? e.row.totalGainLoss / i * 100 : 0;
|
|
118
|
-
return /* @__PURE__ */ d(l, {
|
|
119
|
-
sx: {
|
|
120
|
-
alignItems: "center",
|
|
121
|
-
flexDirection: "row",
|
|
122
|
-
gap: 2
|
|
123
|
-
},
|
|
124
|
-
children: [
|
|
125
|
-
e.value !== 0 && /* @__PURE__ */ r(h, {
|
|
126
|
-
name: e.value > 0 ? "trending_up" : "trending_down",
|
|
127
|
-
size: 16,
|
|
128
|
-
sx: {
|
|
129
|
-
color: a(e.value),
|
|
130
|
-
mr: 1,
|
|
131
|
-
verticalAlign: "middle"
|
|
132
|
-
}
|
|
133
|
-
}),
|
|
134
|
-
/* @__PURE__ */ r(t, {
|
|
135
|
-
sx: {
|
|
136
|
-
color: a(e.value),
|
|
137
|
-
fontWeight: e.value > 0 ? 700 : 400
|
|
138
|
-
},
|
|
139
|
-
variant: "body2",
|
|
140
|
-
children: i ? `${p.toFixed(2)}%` : "0.00%"
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ r(t, {
|
|
143
|
-
sx: { color: "text.secondary" },
|
|
144
|
-
variant: "caption",
|
|
145
|
-
children: "|"
|
|
146
|
-
}),
|
|
147
|
-
/* @__PURE__ */ r(t, {
|
|
148
|
-
sx: {
|
|
149
|
-
color: a(e.value),
|
|
150
|
-
fontWeight: e.value > 0 ? 700 : 400
|
|
151
|
-
},
|
|
152
|
-
variant: "body2",
|
|
153
|
-
children: Math.abs(e.value).toLocaleString("en-US", {
|
|
154
|
-
currency: "USD",
|
|
155
|
-
maximumFractionDigits: 2,
|
|
156
|
-
minimumFractionDigits: 2,
|
|
157
|
-
style: "currency"
|
|
158
|
-
})
|
|
159
|
-
})
|
|
160
|
-
]
|
|
161
|
-
});
|
|
162
|
-
},
|
|
163
|
-
align: "right",
|
|
164
|
-
headerAlign: "right",
|
|
165
|
-
sortable: !1
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
field: "marketValue",
|
|
169
|
-
headerName: o.overview.market_value_header,
|
|
170
|
-
width: 132,
|
|
171
|
-
renderHeader: n,
|
|
172
|
-
renderCell: (e) => /* @__PURE__ */ r(t, {
|
|
173
|
-
sx: { fontWeight: 700 },
|
|
174
|
-
variant: "body2",
|
|
175
|
-
children: e.value?.toLocaleString("en-US", {
|
|
176
|
-
currency: "USD",
|
|
177
|
-
maximumFractionDigits: 2,
|
|
178
|
-
minimumFractionDigits: 2,
|
|
179
|
-
style: "currency"
|
|
180
155
|
})
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
156
|
+
]
|
|
157
|
+
});
|
|
158
|
+
},
|
|
159
|
+
align: "right",
|
|
160
|
+
headerAlign: "right",
|
|
161
|
+
sortable: !1
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
field: "marketValue",
|
|
165
|
+
headerName: o.overview.market_value_header,
|
|
166
|
+
width: 132,
|
|
167
|
+
renderHeader: n,
|
|
168
|
+
renderCell: (e) => /* @__PURE__ */ r(t, {
|
|
169
|
+
sx: { fontWeight: 700 },
|
|
170
|
+
variant: "body2",
|
|
171
|
+
children: e.value?.toLocaleString("en-US", {
|
|
172
|
+
currency: "USD",
|
|
173
|
+
maximumFractionDigits: 2,
|
|
174
|
+
minimumFractionDigits: 2,
|
|
175
|
+
style: "currency"
|
|
176
|
+
})
|
|
177
|
+
}),
|
|
178
|
+
align: "right",
|
|
179
|
+
headerAlign: "right"
|
|
180
|
+
}
|
|
181
|
+
];
|
|
182
|
+
return /* @__PURE__ */ r(C, {
|
|
183
|
+
sx: {
|
|
184
|
+
boxShadow: "none",
|
|
185
|
+
width: "100%"
|
|
186
|
+
},
|
|
187
|
+
children: /* @__PURE__ */ r(I, {
|
|
188
|
+
columns: D,
|
|
186
189
|
disableColumnFilter: !0,
|
|
187
190
|
disableColumnMenu: !0,
|
|
188
191
|
disableRowSelectionOnClick: !0,
|
|
189
192
|
hideFooter: !0,
|
|
190
|
-
rows:
|
|
193
|
+
rows: g,
|
|
191
194
|
slotProps: { baseIconButton: { sx: { display: "none" } } }
|
|
192
195
|
})
|
|
193
196
|
});
|
|
194
197
|
};
|
|
195
198
|
export {
|
|
196
|
-
|
|
199
|
+
O as default
|
|
197
200
|
};
|
|
198
201
|
|
|
199
202
|
//# sourceMappingURL=HoldingTable.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HoldingTable.es.js","names":[],"sources":["../../../src/investments/components/HoldingTable.tsx"],"sourcesContent":["import React from 'react'\n\nimport Stack from '@mui/material/Stack'\nimport Paper from '@mui/material/Paper'\nimport IconButton from '@mui/material/IconButton'\nimport TextField from '@mui/material/TextField'\nimport { useTheme } from '@mui/material/styles'\nimport { DataGridPro, GridColDef } from '@mui/x-data-grid-pro'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { useGlobalCopyStore } from '../../common'\n\nimport { HeaderCell } from './HeaderCell'\n\ninterface HoldingDetail {\n id: string\n description: string\n qty: number\n holding: string\n costBasis: number\n totalGainLoss: number\n marketValue: number\n}\n\ninterface HoldingsTableProps {\n data: HoldingDetail[]\n editingHoldingId: string | null\n currentEditedCostBasis: string\n handleCostBasisClick: (holdingId: string, currentCostBasis: number) => void\n handleCostBasisChange: (event: React.ChangeEvent<HTMLInputElement>) => void\n handleCostBasisKeyDown: (event: React.KeyboardEvent<HTMLInputElement>, id: string) => void\n handleCostBasisBlur: (id: string) => void\n}\n\nconst HoldingsTable: React.FC<HoldingsTableProps> = ({\n data,\n editingHoldingId,\n currentEditedCostBasis,\n handleCostBasisClick,\n handleCostBasisChange,\n handleCostBasisKeyDown,\n handleCostBasisBlur,\n}) => {\n const { investments: copy } = useGlobalCopyStore()\n const theme = useTheme()\n\n const isDarkMode = theme.palette.mode === 'dark'\n const gainDisplayColor = 'success.main'\n const lossDisplayColor = isDarkMode ? 'grey.300' : 'grey.700'\n\n const gainLossDisplayColor = (value: number, type: string = 'lesserThan') => {\n if (type === 'greaterThan') {\n return value >= 0 ? gainDisplayColor : lossDisplayColor\n }\n return value <= 0 ? lossDisplayColor : gainDisplayColor\n }\n\n const columns: GridColDef[] = [\n {\n field: 'qty',\n headerName: copy.overview.qty_header,\n sortable: false,\n width: 48,\n align: 'center',\n headerAlign: 'center',\n },\n {\n field: 'holding',\n headerName: copy.overview.holding_header,\n flex: 1,\n renderHeader: HeaderCell,\n renderCell: (params) => (\n <Stack sx={{ alignItems: 'center', gap: 16, flexDirection: 'row' }}>\n <Stack>\n {/* TODO :InstitutionLogo in future */}\n <Text sx={{ fontWeight: 700 }}>{params.row.holding}</Text>\n <Text sx={{ color: 'text.secondary', fontWeight: 400 }} variant=\"tiny\">\n {params.row.description}\n </Text>\n </Stack>\n </Stack>\n ),\n },\n {\n field: 'costBasis',\n headerName: copy.overview.cost_basis_header,\n width: 132,\n renderHeader: HeaderCell,\n renderCell: (params) => {\n const isCurrentlyEditing = editingHoldingId === params.row.id\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 4 }}>\n {isCurrentlyEditing ? (\n <TextField\n autoFocus={true}\n onBlur={() => handleCostBasisBlur(params.row.id)}\n onChange={handleCostBasisChange}\n onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) =>\n handleCostBasisKeyDown(e, params.row.id)\n }\n size=\"small\"\n sx={{\n fontSize: 14,\n width: 57,\n '& .MuiInputBase-input': {\n padding: '4px 0',\n textAlign: 'center',\n fontWeight: 600,\n color: 'text.primary',\n },\n '& .MuiOutlinedInput-notchedOutline': {\n border: 'none',\n },\n }}\n value={currentEditedCostBasis}\n />\n ) : (\n <Text sx={{ fontSize: 14, width: 57 }} variant=\"body2\">\n {params.value?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n )}\n <IconButton\n onClick={() => handleCostBasisClick(params.row.id, params.row.costBasis)}\n sx={{ minWidth: 12, minHeight: 12 }}\n >\n <Icon name={'stylus'} size={12} sx={{ color: 'grey.700' }} />\n </IconButton>\n </Stack>\n )\n },\n align: 'center',\n headerAlign: 'center',\n },\n {\n field: 'totalGainLoss',\n headerName: copy.overview.total_gain_loss_header,\n width: 196,\n renderHeader: HeaderCell,\n renderCell: (params) => {\n const costBasis = params.row.costBasis\n const gainLossPercentage = costBasis ? (params.row.totalGainLoss / costBasis) * 100 : 0\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 2 }}>\n {params.value !== 0 && (\n <Icon\n name={params.value > 0 ? 'trending_up' : 'trending_down'}\n size={16}\n sx={{\n color: gainLossDisplayColor(params.value),\n mr: 1,\n verticalAlign: 'middle',\n }}\n />\n )}\n <Text\n sx={{\n color: gainLossDisplayColor(params.value),\n fontWeight: params.value > 0 ? 700 : 400,\n }}\n variant=\"body2\"\n >\n {costBasis ? `${gainLossPercentage.toFixed(2)}%` : '0.00%'}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n |\n </Text>\n <Text\n sx={{\n color: gainLossDisplayColor(params.value),\n fontWeight: params.value > 0 ? 700 : 400,\n }}\n variant=\"body2\"\n >\n {Math.abs(params.value).toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n )\n },\n align: 'right',\n headerAlign: 'right',\n sortable: false,\n },\n {\n field: 'marketValue',\n headerName: copy.overview.market_value_header,\n width: 132,\n renderHeader: HeaderCell,\n renderCell: (params) => (\n <Text sx={{ fontWeight: 700 }} variant={'body2'}>\n {params.value?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n ),\n align: 'right',\n headerAlign: 'right',\n },\n ]\n\n return (\n <Paper\n sx={{\n boxShadow: 'none',\n width: '100%',\n }}\n >\n <DataGridPro\n columns={columns}\n disableColumnFilter={true}\n disableColumnMenu={true}\n disableRowSelectionOnClick={true}\n hideFooter={true}\n rows={data}\n slotProps={{ baseIconButton: { sx: { display: 'none' } } }}\n />\n </Paper>\n )\n}\n\nexport default HoldingsTable\n"],"mappings":";;;;;;;;;;;;AAqCA,IAAM,IAAA,CAA+C,EACnD,MAAA,GACA,kBAAA,GACA,wBAAA,GACA,sBAAA,GACA,uBAAA,GACA,wBAAA,GACA,qBAAA,EAAA,MACI;AACJ,QAAM,EAAE,aAAa,EAAA,IAAS,EAAmB,GAG3C,IAFQ,EAEK,EAAM,QAAQ,SAAS,QACpC,IAAmB,gBACnB,IAAmB,IAAa,aAAa,YAE7C,IAAA,CAAwB,GAAe,IAAe,iBACtD,MAAS,gBACJ,KAAS,IAAI,IAAmB,IAElC,KAAS,IAAI,IAAmB;AA8JzC,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,IAAI;AAAA,MACF,WAAW;AAAA,MACX,OAAO;AAAA,IACT;AAAA,cAEA,gBAAA,EAAC,GAAD;AAAA,MACW,SAAA;AAAA,QAlKb;AAAA,UACE,OAAO;AAAA,UACP,YAAY,EAAK,SAAS;AAAA,UAC1B,UAAU;AAAA,UACV,OAAO;AAAA,UACP,OAAO;AAAA,UACP,aAAa;AAAA,QACf;AAAA,QACA;AAAA,UACE,OAAO;AAAA,UACP,YAAY,EAAK,SAAS;AAAA,UAC1B,MAAM;AAAA,UACN,cAAc;AAAA,UACd,YAAA,CAAa,MACX,gBAAA,EAAC,GAAD;AAAA,YAAO,IAAI;AAAA,cAAE,YAAY;AAAA,cAAU,KAAK;AA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,"file":"HoldingTable.es.js","names":[],"sources":["../../../src/investments/components/HoldingTable.tsx"],"sourcesContent":["import React from 'react'\n\nimport Stack from '@mui/material/Stack'\nimport Paper from '@mui/material/Paper'\nimport IconButton from '@mui/material/IconButton'\nimport TextField from '@mui/material/TextField'\nimport { useTheme } from '@mui/material/styles'\nimport { DataGridPro, GridColDef } from '@mui/x-data-grid-pro'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { useGlobalCopyStore } from '../../common'\n\nimport { HeaderCell } from './HeaderCell'\n\ninterface HoldingDetail {\n id: string\n description: string\n qty: number\n holding: string\n costBasis: number\n totalGainLoss: number\n marketValue: number\n}\n\ninterface HoldingsTableProps {\n data: HoldingDetail[]\n editingHoldingId: string | null\n currentEditedCostBasis: string\n handleCostBasisClick: (holdingId: string, currentCostBasis: number) => void\n handleCostBasisChange: (event: React.ChangeEvent<HTMLInputElement>) => void\n handleCostBasisKeyDown: (event: React.KeyboardEvent<HTMLInputElement>, id: string) => void\n handleCostBasisBlur: (id: string) => void\n}\n\nconst HoldingsTable: React.FC<HoldingsTableProps> = ({\n data,\n editingHoldingId,\n currentEditedCostBasis,\n handleCostBasisClick,\n handleCostBasisChange,\n handleCostBasisKeyDown,\n handleCostBasisBlur,\n}) => {\n const { investments: copy } = useGlobalCopyStore()\n const theme = useTheme()\n\n const isDarkMode = theme.palette.mode === 'dark'\n const gainDisplayColor = 'success.main'\n const lossDisplayColor = isDarkMode ? 'grey.300' : 'grey.700'\n\n const gainLossDisplayColor = (value: number, type: string = 'lesserThan') => {\n if (type === 'greaterThan') {\n return value >= 0 ? gainDisplayColor : lossDisplayColor\n }\n return value <= 0 ? lossDisplayColor : gainDisplayColor\n }\n\n const columns: GridColDef[] = [\n {\n field: 'qty',\n headerName: copy.overview.qty_header,\n sortable: false,\n width: 48,\n align: 'center',\n headerAlign: 'center',\n },\n {\n field: 'holding',\n headerName: copy.overview.holding_header,\n flex: 1,\n renderHeader: HeaderCell,\n renderCell: (params) => (\n <Stack sx={{ alignItems: 'center', gap: 16, flexDirection: 'row' }}>\n <Stack>\n {/* TODO :InstitutionLogo in future */}\n <Text sx={{ fontWeight: 700 }}>{params.row.holding}</Text>\n <Text sx={{ color: 'text.secondary', fontWeight: 400 }} variant=\"tiny\">\n {params.row.description}\n </Text>\n </Stack>\n </Stack>\n ),\n },\n {\n field: 'costBasis',\n headerName: copy.overview.cost_basis_header,\n width: 132,\n renderHeader: HeaderCell,\n renderCell: (params) => {\n const isCurrentlyEditing = editingHoldingId === params.row.id\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 4 }}>\n {isCurrentlyEditing ? (\n <TextField\n autoFocus={true}\n onBlur={() => handleCostBasisBlur(params.row.id)}\n onChange={handleCostBasisChange}\n onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) =>\n handleCostBasisKeyDown(e, params.row.id)\n }\n size=\"small\"\n sx={{\n fontSize: 14,\n width: 57,\n '& .MuiInputBase-input': {\n padding: '4px 0',\n textAlign: 'center',\n fontWeight: 600,\n color: 'text.primary',\n },\n '& .MuiOutlinedInput-notchedOutline': {\n border: 'none',\n },\n }}\n value={currentEditedCostBasis}\n />\n ) : (\n <Text sx={{ fontSize: 14, width: 57 }} variant=\"body2\">\n {params.value?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n )}\n <IconButton\n onClick={() => handleCostBasisClick(params.row.id, params.row.costBasis)}\n sx={{ minWidth: 12, minHeight: 12 }}\n >\n <Icon name={'stylus'} size={12} sx={{ color: 'grey.700' }} />\n </IconButton>\n </Stack>\n )\n },\n align: 'center',\n headerAlign: 'center',\n },\n {\n field: 'totalGainLoss',\n headerName: copy.overview.total_gain_loss_header,\n width: 196,\n renderHeader: HeaderCell,\n renderCell: (params) => {\n const costBasis = params.row.costBasis\n const gainLossPercentage = costBasis ? (params.row.totalGainLoss / costBasis) * 100 : 0\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 2 }}>\n {params.value !== 0 && (\n <Icon\n name={params.value > 0 ? 'trending_up' : 'trending_down'}\n size={16}\n sx={{\n color: gainLossDisplayColor(params.value),\n mr: 1,\n verticalAlign: 'middle',\n }}\n />\n )}\n <Text\n sx={{\n color: gainLossDisplayColor(params.value),\n fontWeight: params.value > 0 ? 700 : 400,\n }}\n variant=\"body2\"\n >\n {costBasis ? `${gainLossPercentage.toFixed(2)}%` : '0.00%'}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n |\n </Text>\n <Text\n sx={{\n color: gainLossDisplayColor(params.value),\n fontWeight: params.value > 0 ? 700 : 400,\n }}\n variant=\"body2\"\n >\n {Math.abs(params.value).toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n )\n },\n align: 'right',\n headerAlign: 'right',\n sortable: false,\n },\n {\n field: 'marketValue',\n headerName: copy.overview.market_value_header,\n width: 132,\n renderHeader: HeaderCell,\n renderCell: (params) => (\n <Text sx={{ fontWeight: 700 }} variant={'body2'}>\n {params.value?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n ),\n align: 'right',\n headerAlign: 'right',\n },\n ]\n\n return (\n <Paper\n sx={{\n boxShadow: 'none',\n width: '100%',\n }}\n >\n <DataGridPro\n columns={columns}\n disableColumnFilter={true}\n disableColumnMenu={true}\n disableRowSelectionOnClick={true}\n hideFooter={true}\n rows={data}\n slotProps={{ baseIconButton: { sx: { display: 'none' } } }}\n />\n </Paper>\n )\n}\n\nexport default HoldingsTable\n"],"mappings":";;;;;;;;;;;;AAqCA,IAAM,IAAA,CAA+C,EACnD,MAAA,GACA,kBAAA,GACA,wBAAA,GACA,sBAAA,GACA,uBAAA,GACA,wBAAA,GACA,qBAAA,EAAA,MACI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;AAAA,MACP,YAAY,EAAK,SAAS;AAAA,MAC1B,OAAO;AAAA,MACP,cAAc;AAAA,MACd,YAAA,CAAa,MACX,gBAAA,EAAC,GAAD;AAAA,QAAM,IAAI,EAAE,YAAY,IAAI;AAAA,QAAG,SAAS;AAAA,QACrC,UAAA,EAAO,OAAO,eAAe,SAAS;AAAA,UACrC,UAAU;AAAA,UACV,uBAAuB;AAAA,UACvB,uBAAuB;AAAA,UACvB,OAAO;AAAA,QACT,CAAC;AAAA,MACG,CAAA;AAAA,MAER,OAAO;AAAA,MACP,aAAa;AAAA,IACf;AAAA,EACF;AAEA,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,IAAI;AAAA,MACF,WAAW;AAAA,MACX,OAAO;AAAA,IACT;AAAA,IAEA,UAAA,gBAAA,EAAC,GAAD;AAAA,MACW,SAAA;AAAA,MACT,qBAAqB;AAAA,MACrB,mBAAmB;AAAA,MACnB,4BAA4B;AAAA,MAC5B,YAAY;AAAA,MACZ,MAAM;AAAA,MACN,WAAW,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,OAAO,EAAE,EAAE;AAAA,IAC1D,CAAA;AAAA,EACI,CAAA;AAEX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoToolTip.es.js","names":[],"sources":["../../../src/investments/components/InfoToolTip.tsx"],"sourcesContent":["import React from 'react'\n\nimport IconButton from '@mui/material/IconButton'\nimport Stack from '@mui/material/Stack'\nimport Tooltip from '@mui/material/Tooltip'\n\nimport { P, Text } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\n\ninterface InfoTooltipProps {\n placement?: 'top' | 'bottom' | 'left' | 'right'\n tooltip_info_body: string\n tooltip_info_title: string\n}\n\ninterface TooltipContentProps {\n body: string\n title: string\n}\n\nconst TooltipContent: React.FC<TooltipContentProps> = ({ body, title }) => (\n <Stack sx={{ gap: 4, p: 12 }}>\n <Text bold={true} variant=\"body1\">\n {title}\n </Text>\n <P variant=\"subtitle2\">{body}</P>\n </Stack>\n)\n\nconst InfoTooltip: React.FC<InfoTooltipProps> = ({\n placement = 'bottom',\n tooltip_info_body,\n tooltip_info_title,\n}) => (\n <Tooltip\n enterTouchDelay={500}\n placement={placement}\n title={<TooltipContent body={tooltip_info_body} title={tooltip_info_title} />}\n >\n <IconButton aria-label={tooltip_info_title} sx={{ minHeight: 0, minWidth: 0, p: 0 }}>\n <Icon name=\"info\" sx={{ color: 'info.main' }} />\n </IconButton>\n </Tooltip>\n)\n\nexport default InfoTooltip\n"],"mappings":";;;;;;;AAoBA,IAAM,IAAA,CAAiD,EAAE,MAAA,GAAM,OAAA,EAAA,MAC7D,gBAAA,EAAC,GAAD;AAAA,EAAO,IAAI;AAAA,IAAE,KAAK;AAAA,IAAG,GAAG;AAAA,EAAG;AAAA,
|
|
1
|
+
{"version":3,"file":"InfoToolTip.es.js","names":[],"sources":["../../../src/investments/components/InfoToolTip.tsx"],"sourcesContent":["import React from 'react'\n\nimport IconButton from '@mui/material/IconButton'\nimport Stack from '@mui/material/Stack'\nimport Tooltip from '@mui/material/Tooltip'\n\nimport { P, Text } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\n\ninterface InfoTooltipProps {\n placement?: 'top' | 'bottom' | 'left' | 'right'\n tooltip_info_body: string\n tooltip_info_title: string\n}\n\ninterface TooltipContentProps {\n body: string\n title: string\n}\n\nconst TooltipContent: React.FC<TooltipContentProps> = ({ body, title }) => (\n <Stack sx={{ gap: 4, p: 12 }}>\n <Text bold={true} variant=\"body1\">\n {title}\n </Text>\n <P variant=\"subtitle2\">{body}</P>\n </Stack>\n)\n\nconst InfoTooltip: React.FC<InfoTooltipProps> = ({\n placement = 'bottom',\n tooltip_info_body,\n tooltip_info_title,\n}) => (\n <Tooltip\n enterTouchDelay={500}\n placement={placement}\n title={<TooltipContent body={tooltip_info_body} title={tooltip_info_title} />}\n >\n <IconButton aria-label={tooltip_info_title} sx={{ minHeight: 0, minWidth: 0, p: 0 }}>\n <Icon name=\"info\" sx={{ color: 'info.main' }} />\n </IconButton>\n </Tooltip>\n)\n\nexport default InfoTooltip\n"],"mappings":";;;;;;;AAoBA,IAAM,IAAA,CAAiD,EAAE,MAAA,GAAM,OAAA,EAAA,MAC7D,gBAAA,EAAC,GAAD;AAAA,EAAO,IAAI;AAAA,IAAE,KAAK;AAAA,IAAG,GAAG;AAAA,EAAG;AAAA,EAA3B,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IAAM,MAAM;AAAA,IAAM,SAAQ;AAAA,IACvB,UAAA;AAAA,EACG,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,IAAG,SAAQ;AAAA,IAAa,UAAA;AAAA,EAAQ,CAAA,CAC3B;IAGH,IAAA,CAA2C,EAC/C,WAAA,IAAY,UACZ,mBAAA,GACA,oBAAA,EAAA,MAEA,gBAAA,EAAC,GAAD;AAAA,EACE,iBAAiB;AAAA,EACN,WAAA;AAAA,EACX,OAAO,gBAAA,EAAC,GAAD;AAAA,IAAgB,MAAM;AAAA,IAAmB,OAAO;AAAA,EAAqB,CAAA;AAAA,EAE5E,UAAA,gBAAA,EAAC,GAAD;AAAA,IAAY,cAAY;AAAA,IAAoB,IAAI;AAAA,MAAE,WAAW;AAAA,MAAG,UAAU;AAAA,MAAG,GAAG;AAAA,IAAE;AAAA,IAChF,UAAA,gBAAA,EAAC,GAAD;AAAA,MAAM,MAAK;AAAA,MAAO,IAAI,EAAE,OAAO,YAAY;AAAA,IAAI,CAAA;AAAA,EACrC,CAAA;AACL,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.es.js","names":[],"sources":["../../../src/investments/components/Overview.tsx"],"sourcesContent":["import React, { useState } from 'react'\n\nimport { observer } from 'mobx-react-lite'\nimport Accordion from '@mui/material/Accordion'\nimport AccordionDetails from '@mui/material/AccordionDetails'\nimport AccordionSummary from '@mui/material/AccordionSummary'\nimport Paper from '@mui/material/Paper'\nimport Stack from '@mui/system/Stack'\nimport { useTheme } from '@mui/material/styles'\nimport { Icon } from '@mxenabled/mx-icons'\nimport { InstitutionLogo, P, Text } from '@mxenabled/mxui'\n\nimport ConnectionsDrawer from '../../accounts/components/ConnectionsDrawer'\nimport {\n Loader,\n useAccountStore,\n useGlobalCopyStore,\n useGlobalUiStore,\n useHoldingStore,\n useScreenSize,\n} from '../../common'\nimport { EmptyStateFooterComponent } from './EmptyStateFooterComponent'\nimport InvestmentDetailsDrawer from './HoldingDrawer'\nimport HoldingsTable from './HoldingTable'\n\ninterface HoldingDetail {\n id: string\n description: string\n qty: number\n holding: string\n costBasis: number\n totalGainLoss: number\n marketValue: number\n}\n\nconst Overview = () => {\n const { isMobile } = useScreenSize()\n const [expandedStates, setExpandedStates] = useState<Record<string, boolean>>({})\n const [openDrawer, setOpenDrawer] = useState(false)\n const { selectedAccountGuids } = useGlobalUiStore()\n const { visibleHoldings: holdings, updateHoldings } = useHoldingStore()\n const [showConnectionsWidget, setShowConnectionsWidget] = React.useState(false)\n\n const [accountHoldingsData, setAccountHoldingsData] = useState<{\n accounts: any\n holdings: HoldingDetail[]\n }>({\n accounts: [],\n holdings: [],\n })\n const { accounts: accountsCopy, investments: copy } = useGlobalCopyStore()\n const { isCopyLoaded } = useGlobalUiStore()\n const [editingHoldingId, setEditingHoldingId] = useState<string | null>(null)\n const [currentEditedCostBasis, setCurrentEditedCostBasis] = useState<string>('')\n\n const theme = useTheme()\n\n const isDarkMode = theme.palette.mode === 'dark'\n\n const gainDisplayColor = isDarkMode ? '#0AC295' : '#09A57F'\n\n const lossDisplayColor = isDarkMode ? 'grey.300' : 'grey.700'\n\n const gainLossDisplayColor = (value: number, type: string = 'lesserThan') => {\n if (type === 'greaterThan') {\n return value >= 0 ? gainDisplayColor : lossDisplayColor\n }\n return value <= 0 ? lossDisplayColor : gainDisplayColor\n }\n\n const handleCostBasisClick = (holdingId: string, currentCostBasis: number) => {\n setEditingHoldingId(holdingId)\n setCurrentEditedCostBasis(currentCostBasis.toFixed(2))\n }\n\n const handleCostBasisChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n // Allow only numbers and a single decimal point\n const value = event.target.value\n if (/^\\d*\\.?\\d*$/.test(value)) {\n setCurrentEditedCostBasis(value)\n }\n }\n\n const handleCostBasisKeyDown = (event: React.KeyboardEvent<HTMLInputElement>, id: string) => {\n if (event.key === 'Enter') {\n handleCostBasisBlur(id)\n } else if (event.key === 'Escape') {\n setEditingHoldingId(null)\n }\n }\n\n const handleCostBasisBlur = (id: string) => {\n const holding = holdings.find(({ guid }) => guid === id)\n if (!holding) return\n\n const updatedCostBasis = Number(currentEditedCostBasis)\n updateHoldings({ ...holding, cost_basis: updatedCostBasis })\n\n if (isMobile) {\n const updatedHoldings = accountHoldingsData.holdings.map((h) =>\n h.id === id ? { ...h, costBasis: updatedCostBasis } : h,\n )\n\n setAccountHoldingsData((prev) => ({\n ...prev,\n holdings: updatedHoldings,\n }))\n }\n\n setEditingHoldingId(null)\n }\n\n const handleAccordionChange =\n (accountId: string) => (_event: React.SyntheticEvent, isExpanded: boolean) => {\n setExpandedStates((prevStates) => ({\n ...prevStates,\n [accountId]: isExpanded,\n }))\n }\n\n const { visibleHoldings: allHoldings } = useHoldingStore()\n const { visibleInvestmentAccounts } = useAccountStore()\n\n const accounts = visibleInvestmentAccounts.filter(({ guid }) =>\n selectedAccountGuids.includes(guid),\n )\n\n const totalPortfolioValue = accounts.reduce((sum, account) => sum + (account.balance || 0), 0)\n\n const accountGuids = accounts.map(({ guid }) => guid)\n\n const updatedHoldings = allHoldings.filter(({ account_guid }) =>\n accountGuids.includes(account_guid),\n )\n\n const gainLoss = updatedHoldings.reduce((sum, holding) => {\n const hl = holding.market_value ? holding.market_value - (holding.cost_basis || 0) : 0\n return sum + hl\n }, 0)\n\n const closeDrawer = () => {\n setOpenDrawer(false)\n }\n\n if (!isCopyLoaded) {\n return <Loader />\n }\n\n return (\n <Stack sx={{ alignItems: 'center', gap: 48, pt: 48, width: '100%' }}>\n {/* header content */}\n {!!accounts.length && (\n <Stack sx={{ alignItems: 'center' }}>\n <Text sx={{ color: 'text.secondary' }}>{copy.overview.total_portfolio}</Text>\n <P variant=\"h1\">\n {totalPortfolioValue.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </P>\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n <Icon\n name={gainLoss >= 0 ? 'trending_up' : 'trending_down'}\n size={20}\n sx={{ color: gainLossDisplayColor(gainLoss, 'greaterThan') }}\n />\n <Text\n sx={{ color: gainLossDisplayColor(gainLoss, 'greaterThan'), fontWeight: 700 }}\n variant=\"body2\"\n >\n {gainLoss.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n )}\n\n {accounts.map((account) => {\n const accountHoldings: HoldingDetail[] = allHoldings\n .filter((holding) => holding.account_guid === account.guid)\n .map((holding) => ({\n id: holding.guid,\n qty: holding.shares || 0,\n holding: holding.symbol || holding.description || 'Unknown',\n costBasis: holding.cost_basis || 0,\n totalGainLoss: holding.market_value\n ? holding.market_value - (holding.cost_basis || 0)\n : 0,\n marketValue: holding.market_value || 0,\n description: holding.description || '',\n }))\n\n const hasHoldingsData = accountHoldings.length > 0\n\n const accountTotalValue = account.balance\n const accountGainLoss = accountHoldings.reduce(\n (sum, holding) => holding.totalGainLoss + sum,\n 0,\n )\n\n const accountGainLossPercentage = accountTotalValue\n ? (accountGainLoss / accountTotalValue) * 100\n : 0\n\n // Mobile View: Use a simplified presentation\n if (isMobile) {\n return (\n <Paper\n key={account.guid}\n onClick={\n accountHoldings.length\n ? () => {\n setOpenDrawer(true)\n setAccountHoldingsData({\n holdings: accountHoldings,\n accounts: account,\n })\n }\n : undefined\n }\n sx={{\n width: '100%',\n overflow: 'hidden',\n }}\n >\n <Stack\n sx={{\n border: 1,\n borderColor: 'divider',\n borderRadius: '8px',\n ml: 16,\n mr: 16,\n overflow: 'hidden',\n pt: 14,\n }}\n >\n <Stack\n sx={{\n alignItems: 'center',\n borderBottom: 1,\n borderColor: 'divider',\n flexDirection: 'row',\n pb: 14,\n pl: 14,\n pr: 14,\n }}\n >\n <InstitutionLogo\n alt={account.institutionName || ''}\n institutionGuid={account.institution_guid || ''}\n size={32}\n />\n <Stack sx={{ overflow: 'hidden', pl: 13, pr: 13 }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {account.memberName}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {account.user_name || account.name}\n </Text>\n </Stack>\n </Stack>\n\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'space-between',\n pb: 8,\n pt: 8,\n }}\n >\n <Stack\n sx={{\n alignItems: 'center',\n borderRight: 1,\n borderColor: 'divider',\n flex: 1,\n justifyContent: 'center',\n pb: 14,\n pl: 7,\n pr: 7,\n pt: 14,\n }}\n >\n <Text sx={{ color: 'text.secondary', fontSize: 11 }} variant=\"body2\">\n {copy.overview.total_gain_Loss}\n </Text>\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 2,\n justifyContent: 'flex-end',\n }}\n >\n {accountGainLoss !== 0 && (\n <Icon\n name={accountGainLoss > 0 ? 'trending_up' : 'trending_down'}\n size={20}\n sx={{ color: gainLossDisplayColor(accountGainLoss) }}\n />\n )}\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {accountGainLossPercentage.toFixed(2)}%\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n |\n </Text>\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {Math.abs(accountGainLoss).toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n\n <Stack\n sx={{\n alignItems: 'center',\n flex: 1,\n justifyContent: 'center',\n pb: 14,\n pl: 7,\n pr: 7,\n pt: 14,\n }}\n >\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.overview.total_value}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {accountTotalValue?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n </Stack>\n </Paper>\n )\n }\n\n const disabledColor = isDarkMode ? 'grey.700' : 'grey.400'\n const logoColor = accountHoldings.length ? 'text.primary' : disabledColor\n\n return (\n <Accordion\n expanded={expandedStates[account.guid] === true}\n key={account.guid}\n onChange={hasHoldingsData ? handleAccordionChange(account.guid) : () => {}}\n sx={{\n border: 1,\n borderColor: 'divider',\n borderRadius: '4px',\n width: '100%',\n }}\n >\n <AccordionSummary\n aria-controls=\"panel1a-content\"\n id=\"panel1a-header\"\n sx={[\n expandedStates[account.guid] && {\n borderBottom: 1,\n borderColor: 'divider',\n maxHeight: 88,\n },\n ]}\n >\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 13,\n p: 14,\n width: '100%',\n }}\n >\n <Icon name={'expand_more'} size={20} sx={{ color: logoColor }} />\n <InstitutionLogo\n alt={account.institutionName || ''}\n institutionGuid={account.institution_guid || ''}\n size={32}\n />\n\n <Stack sx={{ alignItems: 'flex-start' }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {account.memberName}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {account.user_name || account.name}\n </Text>\n </Stack>\n </Stack>\n\n <Stack sx={{ flexDirection: 'row' }}>\n <Stack sx={{ alignItems: 'flex-end', pb: 14, pl: 24, pr: 24, pt: 14 }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.overview.total_gain_Loss}\n </Text>\n\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 2,\n justifyContent: 'flex-end',\n }}\n >\n {accountGainLoss !== 0 && (\n <Icon\n name={accountGainLoss >= 0 ? 'trending_up' : 'trending_down'}\n size={20}\n sx={{ color: gainLossDisplayColor(accountGainLoss) }}\n />\n )}\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {accountGainLossPercentage.toFixed(2)}%\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n |\n </Text>\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {Math.abs(accountGainLoss).toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n\n <Stack sx={{ alignItems: 'flex-end', gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }}>\n <Stack sx={{ alignItems: 'flex-end' }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.overview.total_value}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {accountTotalValue?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n </Stack>\n </AccordionSummary>\n <AccordionDetails sx={{ bgcolor: 'background.default', p: 12 }}>\n <Paper sx={{ border: 1, borderColor: 'neutral.light' }}>\n <HoldingsTable\n currentEditedCostBasis={currentEditedCostBasis}\n data={accountHoldings}\n editingHoldingId={editingHoldingId}\n handleCostBasisBlur={handleCostBasisBlur}\n handleCostBasisChange={handleCostBasisChange}\n handleCostBasisClick={handleCostBasisClick}\n handleCostBasisKeyDown={handleCostBasisKeyDown}\n />\n </Paper>\n </AccordionDetails>\n </Accordion>\n )\n })}\n\n {/* footer content */}\n <EmptyStateFooterComponent />\n\n {/* Drawer Component */}\n <InvestmentDetailsDrawer\n accountHoldingsData={accountHoldingsData}\n currentEditedCostBasis={currentEditedCostBasis}\n editingHoldingId={editingHoldingId}\n handleCostBasisBlur={handleCostBasisBlur}\n handleCostBasisChange={handleCostBasisChange}\n handleCostBasisClick={handleCostBasisClick}\n handleCostBasisKeyDown={handleCostBasisKeyDown}\n isOpen={openDrawer}\n onClose={closeDrawer}\n />\n\n <ConnectionsDrawer\n onClose={() => setShowConnectionsWidget(false)}\n showConnectionsWidget={showConnectionsWidget}\n title={accountsCopy.manage_connections}\n />\n </Stack>\n )\n}\n\nexport default observer(Overview)\n"],"mappings":";;;;;;;;;;;;;;;;;;AAmCA,IAAM,KAAA,MAAiB;AACrB,QAAM,EAAE,UAAA,EAAA,IAAa,GAAc,GAC7B,CAAC,GAAgB,CAAA,IAAqB,EAAkC,CAAC,CAAC,GAC1E,CAAC,GAAY,CAAA,IAAiB,EAAS,EAAK,GAC5C,EAAE,sBAAA,EAAA,IAAyB,EAAiB,GAC5C,EAAE,iBAAiB,GAAU,gBAAA,EAAA,IAAmB,EAAgB,GAChE,CAAC,GAAuB,CAAA,IAA4B,GAAM,SAAS,EAAK,GAExE,CAAC,GAAqB,CAAA,IAA0B,EAGnD;AAAA,IACD,UAAU,CAAC;AAAA,IACX,UAAU,CAAC;AAAA,EACb,CAAC,GACK,EAAE,UAAU,GAAc,aAAa,EAAA,IAAS,GAAmB,GACnE,EAAE,cAAA,EAAA,IAAiB,EAAiB,GACpC,CAAC,GAAkB,CAAA,IAAuB,EAAwB,IAAI,GACtE,CAAC,GAAwB,CAAA,IAA6B,EAAiB,EAAE,GAIzE,IAFQ,GAEK,EAAM,QAAQ,SAAS,QAEpC,IAAmB,IAAa,YAAY,WAE5C,IAAmB,IAAa,aAAa,YAE7C,IAAA,CAAwB,GAAe,IAAe,iBACtD,MAAS,gBACJ,KAAS,IAA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"sourcesContent":["import React, { useState } from 'react'\n\nimport { observer } from 'mobx-react-lite'\nimport Accordion from '@mui/material/Accordion'\nimport AccordionDetails from '@mui/material/AccordionDetails'\nimport AccordionSummary from '@mui/material/AccordionSummary'\nimport Paper from '@mui/material/Paper'\nimport Stack from '@mui/system/Stack'\nimport { useTheme } from '@mui/material/styles'\nimport { Icon } from '@mxenabled/mx-icons'\nimport { InstitutionLogo, P, Text } from '@mxenabled/mxui'\n\nimport ConnectionsDrawer from '../../accounts/components/ConnectionsDrawer'\nimport {\n Loader,\n useAccountStore,\n useGlobalCopyStore,\n useGlobalUiStore,\n useHoldingStore,\n useScreenSize,\n} from '../../common'\nimport { EmptyStateFooterComponent } from './EmptyStateFooterComponent'\nimport InvestmentDetailsDrawer from './HoldingDrawer'\nimport HoldingsTable from './HoldingTable'\n\ninterface HoldingDetail {\n id: string\n description: string\n qty: number\n holding: string\n costBasis: number\n totalGainLoss: number\n marketValue: number\n}\n\nconst Overview = () => {\n const { isMobile } = useScreenSize()\n const [expandedStates, setExpandedStates] = useState<Record<string, boolean>>({})\n const [openDrawer, setOpenDrawer] = useState(false)\n const { selectedAccountGuids } = useGlobalUiStore()\n const { visibleHoldings: holdings, updateHoldings } = useHoldingStore()\n const [showConnectionsWidget, setShowConnectionsWidget] = React.useState(false)\n\n const [accountHoldingsData, setAccountHoldingsData] = useState<{\n accounts: any\n holdings: HoldingDetail[]\n }>({\n accounts: [],\n holdings: [],\n })\n const { accounts: accountsCopy, investments: copy } = useGlobalCopyStore()\n const { isCopyLoaded } = useGlobalUiStore()\n const [editingHoldingId, setEditingHoldingId] = useState<string | null>(null)\n const [currentEditedCostBasis, setCurrentEditedCostBasis] = useState<string>('')\n\n const theme = useTheme()\n\n const isDarkMode = theme.palette.mode === 'dark'\n\n const gainDisplayColor = isDarkMode ? '#0AC295' : '#09A57F'\n\n const lossDisplayColor = isDarkMode ? 'grey.300' : 'grey.700'\n\n const gainLossDisplayColor = (value: number, type: string = 'lesserThan') => {\n if (type === 'greaterThan') {\n return value >= 0 ? gainDisplayColor : lossDisplayColor\n }\n return value <= 0 ? lossDisplayColor : gainDisplayColor\n }\n\n const handleCostBasisClick = (holdingId: string, currentCostBasis: number) => {\n setEditingHoldingId(holdingId)\n setCurrentEditedCostBasis(currentCostBasis.toFixed(2))\n }\n\n const handleCostBasisChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n // Allow only numbers and a single decimal point\n const value = event.target.value\n if (/^\\d*\\.?\\d*$/.test(value)) {\n setCurrentEditedCostBasis(value)\n }\n }\n\n const handleCostBasisKeyDown = (event: React.KeyboardEvent<HTMLInputElement>, id: string) => {\n if (event.key === 'Enter') {\n handleCostBasisBlur(id)\n } else if (event.key === 'Escape') {\n setEditingHoldingId(null)\n }\n }\n\n const handleCostBasisBlur = (id: string) => {\n const holding = holdings.find(({ guid }) => guid === id)\n if (!holding) return\n\n const updatedCostBasis = Number(currentEditedCostBasis)\n updateHoldings({ ...holding, cost_basis: updatedCostBasis })\n\n if (isMobile) {\n const updatedHoldings = accountHoldingsData.holdings.map((h) =>\n h.id === id ? { ...h, costBasis: updatedCostBasis } : h,\n )\n\n setAccountHoldingsData((prev) => ({\n ...prev,\n holdings: updatedHoldings,\n }))\n }\n\n setEditingHoldingId(null)\n }\n\n const handleAccordionChange =\n (accountId: string) => (_event: React.SyntheticEvent, isExpanded: boolean) => {\n setExpandedStates((prevStates) => ({\n ...prevStates,\n [accountId]: isExpanded,\n }))\n }\n\n const { visibleHoldings: allHoldings } = useHoldingStore()\n const { visibleInvestmentAccounts } = useAccountStore()\n\n const accounts = visibleInvestmentAccounts.filter(({ guid }) =>\n selectedAccountGuids.includes(guid),\n )\n\n const totalPortfolioValue = accounts.reduce((sum, account) => sum + (account.balance || 0), 0)\n\n const accountGuids = accounts.map(({ guid }) => guid)\n\n const updatedHoldings = allHoldings.filter(({ account_guid }) =>\n accountGuids.includes(account_guid),\n )\n\n const gainLoss = updatedHoldings.reduce((sum, holding) => {\n const hl = holding.market_value ? holding.market_value - (holding.cost_basis || 0) : 0\n return sum + hl\n }, 0)\n\n const closeDrawer = () => {\n setOpenDrawer(false)\n }\n\n if (!isCopyLoaded) {\n return <Loader />\n }\n\n return (\n <Stack sx={{ alignItems: 'center', gap: 48, pt: 48, width: '100%' }}>\n {/* header content */}\n {!!accounts.length && (\n <Stack sx={{ alignItems: 'center' }}>\n <Text sx={{ color: 'text.secondary' }}>{copy.overview.total_portfolio}</Text>\n <P variant=\"h1\">\n {totalPortfolioValue.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </P>\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n <Icon\n name={gainLoss >= 0 ? 'trending_up' : 'trending_down'}\n size={20}\n sx={{ color: gainLossDisplayColor(gainLoss, 'greaterThan') }}\n />\n <Text\n sx={{ color: gainLossDisplayColor(gainLoss, 'greaterThan'), fontWeight: 700 }}\n variant=\"body2\"\n >\n {gainLoss.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n )}\n\n {accounts.map((account) => {\n const accountHoldings: HoldingDetail[] = allHoldings\n .filter((holding) => holding.account_guid === account.guid)\n .map((holding) => ({\n id: holding.guid,\n qty: holding.shares || 0,\n holding: holding.symbol || holding.description || 'Unknown',\n costBasis: holding.cost_basis || 0,\n totalGainLoss: holding.market_value\n ? holding.market_value - (holding.cost_basis || 0)\n : 0,\n marketValue: holding.market_value || 0,\n description: holding.description || '',\n }))\n\n const hasHoldingsData = accountHoldings.length > 0\n\n const accountTotalValue = account.balance\n const accountGainLoss = accountHoldings.reduce(\n (sum, holding) => holding.totalGainLoss + sum,\n 0,\n )\n\n const accountGainLossPercentage = accountTotalValue\n ? (accountGainLoss / accountTotalValue) * 100\n : 0\n\n // Mobile View: Use a simplified presentation\n if (isMobile) {\n return (\n <Paper\n key={account.guid}\n onClick={\n accountHoldings.length\n ? () => {\n setOpenDrawer(true)\n setAccountHoldingsData({\n holdings: accountHoldings,\n accounts: account,\n })\n }\n : undefined\n }\n sx={{\n width: '100%',\n overflow: 'hidden',\n }}\n >\n <Stack\n sx={{\n border: 1,\n borderColor: 'divider',\n borderRadius: '8px',\n ml: 16,\n mr: 16,\n overflow: 'hidden',\n pt: 14,\n }}\n >\n <Stack\n sx={{\n alignItems: 'center',\n borderBottom: 1,\n borderColor: 'divider',\n flexDirection: 'row',\n pb: 14,\n pl: 14,\n pr: 14,\n }}\n >\n <InstitutionLogo\n alt={account.institutionName || ''}\n institutionGuid={account.institution_guid || ''}\n size={32}\n />\n <Stack sx={{ overflow: 'hidden', pl: 13, pr: 13 }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {account.memberName}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {account.user_name || account.name}\n </Text>\n </Stack>\n </Stack>\n\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'space-between',\n pb: 8,\n pt: 8,\n }}\n >\n <Stack\n sx={{\n alignItems: 'center',\n borderRight: 1,\n borderColor: 'divider',\n flex: 1,\n justifyContent: 'center',\n pb: 14,\n pl: 7,\n pr: 7,\n pt: 14,\n }}\n >\n <Text sx={{ color: 'text.secondary', fontSize: 11 }} variant=\"body2\">\n {copy.overview.total_gain_Loss}\n </Text>\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 2,\n justifyContent: 'flex-end',\n }}\n >\n {accountGainLoss !== 0 && (\n <Icon\n name={accountGainLoss > 0 ? 'trending_up' : 'trending_down'}\n size={20}\n sx={{ color: gainLossDisplayColor(accountGainLoss) }}\n />\n )}\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {accountGainLossPercentage.toFixed(2)}%\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n |\n </Text>\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {Math.abs(accountGainLoss).toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n\n <Stack\n sx={{\n alignItems: 'center',\n flex: 1,\n justifyContent: 'center',\n pb: 14,\n pl: 7,\n pr: 7,\n pt: 14,\n }}\n >\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.overview.total_value}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {accountTotalValue?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n </Stack>\n </Paper>\n )\n }\n\n const disabledColor = isDarkMode ? 'grey.700' : 'grey.400'\n const logoColor = accountHoldings.length ? 'text.primary' : disabledColor\n\n return (\n <Accordion\n expanded={expandedStates[account.guid] === true}\n key={account.guid}\n onChange={hasHoldingsData ? handleAccordionChange(account.guid) : () => {}}\n sx={{\n border: 1,\n borderColor: 'divider',\n borderRadius: '4px',\n width: '100%',\n }}\n >\n <AccordionSummary\n aria-controls=\"panel1a-content\"\n id=\"panel1a-header\"\n sx={[\n expandedStates[account.guid] && {\n borderBottom: 1,\n borderColor: 'divider',\n maxHeight: 88,\n },\n ]}\n >\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 13,\n p: 14,\n width: '100%',\n }}\n >\n <Icon name={'expand_more'} size={20} sx={{ color: logoColor }} />\n <InstitutionLogo\n alt={account.institutionName || ''}\n institutionGuid={account.institution_guid || ''}\n size={32}\n />\n\n <Stack sx={{ alignItems: 'flex-start' }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {account.memberName}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {account.user_name || account.name}\n </Text>\n </Stack>\n </Stack>\n\n <Stack sx={{ flexDirection: 'row' }}>\n <Stack sx={{ alignItems: 'flex-end', pb: 14, pl: 24, pr: 24, pt: 14 }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.overview.total_gain_Loss}\n </Text>\n\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 2,\n justifyContent: 'flex-end',\n }}\n >\n {accountGainLoss !== 0 && (\n <Icon\n name={accountGainLoss >= 0 ? 'trending_up' : 'trending_down'}\n size={20}\n sx={{ color: gainLossDisplayColor(accountGainLoss) }}\n />\n )}\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {accountGainLossPercentage.toFixed(2)}%\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n |\n </Text>\n <Text\n sx={{\n color: gainLossDisplayColor(accountGainLoss),\n fontWeight: 600,\n }}\n variant=\"body1\"\n >\n {Math.abs(accountGainLoss).toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n\n <Stack sx={{ alignItems: 'flex-end', gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }}>\n <Stack sx={{ alignItems: 'flex-end' }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {copy.overview.total_value}\n </Text>\n <Text sx={{ color: 'text.primary', fontWeight: 600 }} variant=\"body1\">\n {accountTotalValue?.toLocaleString('en-US', {\n currency: 'USD',\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n style: 'currency',\n })}\n </Text>\n </Stack>\n </Stack>\n </Stack>\n </AccordionSummary>\n <AccordionDetails sx={{ bgcolor: 'background.default', p: 12 }}>\n <Paper sx={{ border: 1, borderColor: 'neutral.light' }}>\n <HoldingsTable\n currentEditedCostBasis={currentEditedCostBasis}\n data={accountHoldings}\n editingHoldingId={editingHoldingId}\n handleCostBasisBlur={handleCostBasisBlur}\n handleCostBasisChange={handleCostBasisChange}\n handleCostBasisClick={handleCostBasisClick}\n handleCostBasisKeyDown={handleCostBasisKeyDown}\n />\n </Paper>\n </AccordionDetails>\n </Accordion>\n )\n })}\n\n {/* footer content */}\n <EmptyStateFooterComponent />\n\n {/* Drawer Component */}\n <InvestmentDetailsDrawer\n accountHoldingsData={accountHoldingsData}\n currentEditedCostBasis={currentEditedCostBasis}\n editingHoldingId={editingHoldingId}\n handleCostBasisBlur={handleCostBasisBlur}\n handleCostBasisChange={handleCostBasisChange}\n handleCostBasisClick={handleCostBasisClick}\n handleCostBasisKeyDown={handleCostBasisKeyDown}\n isOpen={openDrawer}\n onClose={closeDrawer}\n />\n\n <ConnectionsDrawer\n onClose={() => setShowConnectionsWidget(false)}\n showConnectionsWidget={showConnectionsWidget}\n title={accountsCopy.manage_connections}\n />\n </Stack>\n )\n}\n\nexport default observer(Overview)\n"],"mappings":";;;;;;;;;;;;;;;;;;AAmCA,IAAM,KAAA,MAAiB;AACrB,QAAM,EAAE,UAAA,EAAA,IAAa,GAAc,GAC7B,CAAC,GAAgB,CAAA,IAAqB,EAAkC,CAAC,CAAC,GAC1E,CAAC,GAAY,CAAA,IAAiB,EAAS,EAAK,GAC5C,EAAE,sBAAA,EAAA,IAAyB,EAAiB,GAC5C,EAAE,iBAAiB,GAAU,gBAAA,EAAA,IAAmB,EAAgB,GAChE,CAAC,GAAuB,CAAA,IAA4B,GAAM,SAAS,EAAK,GAExE,CAAC,GAAqB,CAAA,IAA0B,EAGnD;AAAA,IACD,UAAU,CAAC;AAAA,IACX,UAAU,CAAC;AAAA,EACb,CAAC,GACK,EAAE,UAAU,GAAc,aAAa,EAAA,IAAS,GAAmB,GACnE,EAAE,cAAA,EAAA,IAAiB,EAAiB,GACpC,CAAC,GAAkB,CAAA,IAAuB,EAAwB,IAAI,GACtE,CAAC,GAAwB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AAC;AAAA,MAGD,gBAAA,EAAC,IAAD,CAA4B,CAAA;AAAA,MAG5B,gBAAA,EAAC,IAAD;AAAA,QACuB,qBAAA;AAAA,QACG,wBAAA;AAAA,QACN,kBAAA;AAAA,QACG,qBAAA;AAAA,QACE,uBAAA;AAAA,QACD,sBAAA;AAAA,QACE,wBAAA;AAAA,QACxB,QAAQ;AAAA,QACR,SAAS;AAAA,MACV,CAAA;AAAA,MAED,gBAAA,EAAC,IAAD;AAAA,QACE,SAAA,MAAe,EAAyB,EAAK;AAAA,QACtB,uBAAA;AAAA,QACvB,OAAO,EAAa;AAAA,MACrB,CAAA;AAAA,IACI;AAAA,OA1XA,gBAAA,EAAC,IAAD,CAAS,CAAA;AA4XpB,GAEA,KAAe,GAAS,EAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabTitle.es.js","names":[],"sources":["../../../src/investments/components/TabTitle.tsx"],"sourcesContent":["import { Text } from '@mxenabled/mxui'\n\ninterface TabTitleProps {\n title: string\n}\n\nexport const TabTitle = ({ title }: TabTitleProps) => (\n <Text bold={true} variant=\"body1\">\n {title}\n </Text>\n)\n"],"mappings":";;AAMA,IAAa,IAAA,CAAY,EAAE,OAAA,EAAA,MACzB,gBAAA,EAAC,GAAD;AAAA,EAAM,MAAM;AAAA,EAAM,SAAQ;AAAA,
|
|
1
|
+
{"version":3,"file":"TabTitle.es.js","names":[],"sources":["../../../src/investments/components/TabTitle.tsx"],"sourcesContent":["import { Text } from '@mxenabled/mxui'\n\ninterface TabTitleProps {\n title: string\n}\n\nexport const TabTitle = ({ title }: TabTitleProps) => (\n <Text bold={true} variant=\"body1\">\n {title}\n </Text>\n)\n"],"mappings":";;AAMA,IAAa,IAAA,CAAY,EAAE,OAAA,EAAA,MACzB,gBAAA,EAAC,GAAD;AAAA,EAAM,MAAM;AAAA,EAAM,SAAQ;AAAA,EACvB,UAAA;AACG,CAAA"}
|