@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0-ram1-bug-alpha-testing
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +676 -9
- package/README.md +216 -47
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
- package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
- package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
- package/dist/AccountUtils-T5_Odvos.mjs +27 -0
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Analytics-CkYXKvco.mjs +53 -0
- package/dist/Analytics-CzGzz_sE.mjs +136 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
- package/dist/Connect-Dk6GZEsA.mjs +39 -0
- package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
- package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
- package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
- package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
- package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
- package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/Dialog-CwWc0AbH.mjs +63 -0
- package/dist/Donut-SzzfZDHF.mjs +88 -0
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
- package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
- package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
- package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
- package/dist/LineChart-CejWS_rh.mjs +612 -0
- package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/ManageIncome-B1JfqslT.mjs +595 -0
- package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
- package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
- package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/SelectionBox-B4xELRgp.mjs +48 -0
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-xyRoRDHv.mjs} +7 -7
- package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
- package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
- package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -2
- package/dist/accounts/index.es.js +628 -527
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.d.ts +2 -1
- package/dist/budgets/index.es.js +989 -813
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -2
- package/dist/cashflow/index.es.js +461 -490
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/components/CurrencyDialog.d.ts +19 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/Error.d.ts +13 -0
- package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/TinyBarChart.d.ts +10 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -3
- package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -6
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +24 -24
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.es.js +254 -1348
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +2 -2
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/PostMessage.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +7 -6
- package/dist/common/utils/index.d.ts +1 -6
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.es.js +108 -0
- package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
- package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
- package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +8 -2
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Client.d.ts +1 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/{common → core}/types/Widgets.d.ts +1 -0
- package/dist/{common → core}/types/index.d.ts +4 -3
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
- package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/{common → core}/utils/Localization.d.ts +9 -1
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/dashboard/index.es.js +39 -38
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +715 -775
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +2 -2
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.d.ts +0 -2
- package/dist/finstrong/index.es.js +1587 -1349
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
- package/dist/goals/GoalsWidget.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -2
- package/dist/goals/index.es.js +707 -787
- package/dist/help/HelpWidget.d.ts +2 -2
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +19 -10
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +53 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
- package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
- package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/insights/index.d.ts +25 -0
- package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
- package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
- package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
- package/dist/insights/components/shared/Coupon.d.ts +8 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
- package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
- package/dist/insights/components/shared/TabContainer.d.ts +8 -0
- package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/shared/index.d.ts +2 -0
- package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -1
- package/dist/insights/index.es.js +4843 -2
- package/dist/insights/themes/Typography.d.ts +1 -0
- package/dist/insights/themes/index.d.ts +1 -0
- package/dist/insights/types/Charts/BarChart.d.ts +96 -0
- package/dist/insights/types/CommonBeat.d.ts +367 -0
- package/dist/insights/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/InvestmentsWidget.d.ts +2 -2
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +574 -574
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +18 -20
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +3 -3
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
- package/dist/microinsights/carousel/BeatList.d.ts +3 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +23 -40
- package/dist/microinsights/stores/CopyStore.d.ts +2 -2
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +302 -314
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +101 -93
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +489 -462
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +2 -2
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -2
- package/dist/settings/index.es.js +419 -430
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +229 -222
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -5
- package/dist/transactions/index.es.js +344 -351
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +17 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +991 -876
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +5 -3
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +2 -2
- package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
- package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +65 -43
- package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
- package/dist/AccountFields-BRRH37K1.mjs +0 -140
- package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
- package/dist/AccountStore-BFKvXJSD.mjs +0 -244
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BeatApi-De2IaqH2.mjs +0 -21
- package/dist/BeatStore-D_NYuBSz.mjs +0 -81
- package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
- package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
- package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
- package/dist/DateUtil-CVsMhbZU.mjs +0 -48
- package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
- package/dist/Dialog-CWymUiuO.mjs +0 -120
- package/dist/Donut-Dmy3JTWd.mjs +0 -86
- package/dist/Fetch-DecPFeGU.mjs +0 -119
- package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
- package/dist/GoalStore-Dbjgft2i.mjs +0 -422
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-DHj-Bufi.mjs +0 -580
- package/dist/Loader-BSWSYqvn.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
- package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
- package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
- package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
- package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
- package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
- package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
- package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
- package/dist/TransactionApi-CjBoLleL.mjs +0 -86
- package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
- package/dist/TransactionStore-D2aMUClq.mjs +0 -688
- package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
- package/dist/User-CulNdZUr.mjs +0 -314
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
- package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/debts/store/DebtsStore.d.ts +0 -9
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -14
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
- package/dist/{common → core}/constants/Category.d.ts +0 -0
- package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- package/dist/{help → core}/constants/Help.d.ts +0 -0
- package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- package/dist/{common → core}/constants/Table.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
- package/dist/{common → core}/stores/UserStore.d.ts +1 -1
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
- /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
|
@@ -1,99 +1,149 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { fromUnixTime as oe } from "date-fns/fromUnixTime";
|
|
3
|
-
import { observer as S } from "mobx-react-lite";
|
|
4
|
-
import ie from "@mui/material/Stack/Stack";
|
|
5
|
-
import { useTheme as j } from "@mui/material/styles";
|
|
6
|
-
import { L as ae } from "../LineChart-DHj-Bufi.mjs";
|
|
7
|
-
import { p as se, q as R, u as N, g as z, d as ce, b as Y } from "../hooks-fY_n74f7.mjs";
|
|
8
|
-
import { u as q } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
9
|
-
import { f as le, D as me } from "../Dialog-CWymUiuO.mjs";
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as N } from "react/jsx-runtime";
|
|
10
2
|
import u from "react";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import P from "@mui/material/
|
|
23
|
-
import {
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import {
|
|
37
|
-
import { C as
|
|
38
|
-
import {
|
|
39
|
-
|
|
40
|
-
|
|
3
|
+
import { observer as _ } from "mobx-react-lite";
|
|
4
|
+
import m from "@mui/material/Stack";
|
|
5
|
+
import { P as Y, Text as d, Icon as R } from "@mxenabled/mxui";
|
|
6
|
+
import { Icon as Z } from "@mxenabled/mx-icons";
|
|
7
|
+
import { f as F } from "../NumberFormatting--XMeeBfr.mjs";
|
|
8
|
+
import { d as oe, g as $, u as E, b as q, x as j, D as re } from "../hooks-BaO_gOI6.mjs";
|
|
9
|
+
import { u as J } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
10
|
+
import { A as v } from "../Analytics-CzGzz_sE.mjs";
|
|
11
|
+
import { L as Q } from "../Loader-CxeBwuPG.mjs";
|
|
12
|
+
import { M as ie } from "../MicroWidgetContainer-CfKdQfhi.mjs";
|
|
13
|
+
import { format as ae, fromUnixTime as se, differenceInMonths as ce } from "date-fns";
|
|
14
|
+
import P from "@mui/material/Box";
|
|
15
|
+
import { C as le } from "../ConnectionsDrawer-CtfPXk0M.mjs";
|
|
16
|
+
import { fromUnixTime as de } from "date-fns/fromUnixTime";
|
|
17
|
+
import { useTheme as H } from "@mui/material/styles";
|
|
18
|
+
import { L as me } from "../LineChart-CejWS_rh.mjs";
|
|
19
|
+
import { u as ee } from "../useScreenSize-mWpmnh5w.mjs";
|
|
20
|
+
import { f as he, D as pe } from "../DateFormats-HudZ3Bjs.mjs";
|
|
21
|
+
import ue from "@mui/material/Button";
|
|
22
|
+
import L from "@mui/material/Divider";
|
|
23
|
+
import z from "@mui/material/List";
|
|
24
|
+
import A from "@mui/material/ListSubheader";
|
|
25
|
+
import O from "@mui/material/ListItem";
|
|
26
|
+
import te from "@mui/material/ListItemButton";
|
|
27
|
+
import b from "@mui/material/ListItemText";
|
|
28
|
+
import { j as ne } from "../DateUtil-Bhq59ZVg.mjs";
|
|
29
|
+
import { C as x } from "../CurrencyText-CCbE6MmF.mjs";
|
|
30
|
+
import { Stack as fe } from "@mui/material";
|
|
31
|
+
import xe from "@mui/material/Collapse";
|
|
32
|
+
import K from "@mui/material/ListItemIcon";
|
|
33
|
+
import { g as U } from "../NetWorthUtils-DilGN1nW.mjs";
|
|
34
|
+
import { D as V } from "../Drawer-BXqqBMxg.mjs";
|
|
35
|
+
import { W as ge } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
36
|
+
import { E as ye } from "../EmptyState-CJUDc3kD.mjs";
|
|
37
|
+
const Ce = ({ amount: t, copy: s, trendValue: i }) => {
|
|
38
|
+
const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
|
|
39
|
+
return /* @__PURE__ */ r(m, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
40
|
+
/* @__PURE__ */ e(Y, { variant: "h1", children: F(t, "0,0") }),
|
|
41
|
+
t !== 0 && /* @__PURE__ */ r(m, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
|
|
42
|
+
/* @__PURE__ */ r(m, { sx: { flexDirection: "row", gap: 8 }, children: [
|
|
43
|
+
/* @__PURE__ */ e(Z, { name: o, size: 20 }),
|
|
44
|
+
/* @__PURE__ */ e(d, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: F(i, "0,0.00") })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(d, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: s.this_month })
|
|
47
|
+
] })
|
|
48
|
+
] });
|
|
49
|
+
}, be = ({ copy: t }) => /* @__PURE__ */ r(m, { sx: { flexDirection: "row", gap: 12 }, children: [
|
|
50
|
+
/* @__PURE__ */ e(Z, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
|
|
51
|
+
/* @__PURE__ */ r(m, { children: [
|
|
52
|
+
/* @__PURE__ */ e(d, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: t.empty_widget_header }),
|
|
53
|
+
/* @__PURE__ */ e(Y, { sx: { color: "text.secondary" }, variant: "body2", children: t.zero_state_description })
|
|
54
|
+
] })
|
|
55
|
+
] }), gt = _(({ onCTAClick: t }) => {
|
|
56
|
+
const { visibleAccounts: s } = oe(), { onEvent: i } = $(), { net_worth: n, common: a } = E(), { isInitialized: o } = q(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: g, selectedData: f } = j();
|
|
57
|
+
if (u.useEffect(() => {
|
|
58
|
+
c || l().finally();
|
|
59
|
+
}, []), J({
|
|
60
|
+
widgetName: "NetWorthMicroWidget",
|
|
61
|
+
isLoaded: c
|
|
62
|
+
}), u.useEffect(() => {
|
|
63
|
+
c && i(v.NET_WORTH_LOAD_WIDGET, {
|
|
64
|
+
state: s?.length ? "default" : "zeroState"
|
|
65
|
+
});
|
|
66
|
+
}, [c]), !o || !c) return /* @__PURE__ */ e(Q, { height: 100 });
|
|
67
|
+
const W = () => {
|
|
68
|
+
i(
|
|
69
|
+
s.length ? v.NET_WORTH_CLICK_VIEW_DETAILS : v.NET_WORTH_CLICK_GET_STARTED
|
|
70
|
+
), t();
|
|
71
|
+
};
|
|
72
|
+
return /* @__PURE__ */ e(
|
|
73
|
+
ie,
|
|
74
|
+
{
|
|
75
|
+
className: "mx-networth-microwidget",
|
|
76
|
+
ctaLabel: a.see_details,
|
|
77
|
+
onCTAClick: W,
|
|
78
|
+
title: n.net_worth,
|
|
79
|
+
children: g.accounts.length ? /* @__PURE__ */ e(
|
|
80
|
+
Ce,
|
|
81
|
+
{
|
|
82
|
+
amount: f?.y,
|
|
83
|
+
copy: n,
|
|
84
|
+
trendValue: f?.change
|
|
85
|
+
}
|
|
86
|
+
) : /* @__PURE__ */ e(be, { copy: n })
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
}), _e = () => {
|
|
90
|
+
const { isMobile: t } = ee(), { availableWidth: s } = re(), i = H(), {
|
|
41
91
|
hoveredData: n,
|
|
42
|
-
netWorthChartData:
|
|
43
|
-
selectedData:
|
|
92
|
+
netWorthChartData: a,
|
|
93
|
+
selectedData: o,
|
|
44
94
|
setHoveredIndex: c,
|
|
45
95
|
setSelectedIndex: l
|
|
46
|
-
} =
|
|
47
|
-
x:
|
|
96
|
+
} = j(), g = s - 320, f = a.map((h) => ({
|
|
97
|
+
x: he(de(h.x), pe.MONTH_SHORT),
|
|
48
98
|
y: h.y
|
|
49
|
-
})),
|
|
50
|
-
fill: h ===
|
|
51
|
-
filter: h ===
|
|
99
|
+
})), W = o ? { index: a.findIndex((h) => h.x === o.x) } : void 0, S = n ? { index: a.findIndex((h) => h.x === n.x) } : void 0, w = (h) => ({
|
|
100
|
+
fill: h === W?.index ? i.palette.success.main : "",
|
|
101
|
+
filter: h === S?.index ? `drop-shadow(0px 0px 10px ${i.palette.success.main})` : "none",
|
|
52
102
|
stroke: i.palette.success.main
|
|
53
|
-
}),
|
|
103
|
+
}), y = (h, M) => {
|
|
54
104
|
l(M);
|
|
55
|
-
},
|
|
105
|
+
}, k = (h) => {
|
|
56
106
|
c(h);
|
|
57
|
-
},
|
|
107
|
+
}, D = () => {
|
|
58
108
|
c(-1);
|
|
59
109
|
};
|
|
60
|
-
return /* @__PURE__ */ e(
|
|
61
|
-
|
|
110
|
+
return /* @__PURE__ */ e(m, { sx: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
111
|
+
me,
|
|
62
112
|
{
|
|
63
113
|
baseline: "min",
|
|
64
114
|
chartFor: "networthChart",
|
|
65
115
|
chartXaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(8px)" } },
|
|
66
116
|
chartYaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(-8px)" } },
|
|
67
117
|
colors: [i.palette.success.main],
|
|
68
|
-
datasets: [
|
|
118
|
+
datasets: [f],
|
|
69
119
|
height: 350,
|
|
70
120
|
labels: [],
|
|
71
121
|
margin: { right: 20, left: 38 },
|
|
72
|
-
markHandlers: { onMarkClick:
|
|
73
|
-
markStyles:
|
|
122
|
+
markHandlers: { onMarkClick: y, onMouseEnter: k, onMouseLeave: D },
|
|
123
|
+
markStyles: w,
|
|
74
124
|
showArea: !0,
|
|
75
125
|
useCustomMark: !0,
|
|
76
126
|
valueFormatterString: "0.0[0]a",
|
|
77
|
-
width: t ?
|
|
127
|
+
width: t ? s - 48 : g
|
|
78
128
|
}
|
|
79
129
|
) });
|
|
80
|
-
}, we =
|
|
130
|
+
}, we = _(_e), ve = ({
|
|
81
131
|
item: t,
|
|
82
|
-
getStyles:
|
|
132
|
+
getStyles: s,
|
|
83
133
|
isHovered: i = !1,
|
|
84
134
|
isSelected: n = !1,
|
|
85
|
-
onItemClick:
|
|
86
|
-
onMouseEnter:
|
|
135
|
+
onItemClick: a,
|
|
136
|
+
onMouseEnter: o,
|
|
87
137
|
onMouseLeave: c
|
|
88
138
|
}) => {
|
|
89
|
-
const [l,
|
|
139
|
+
const [l, g] = u.useState({
|
|
90
140
|
color: ""
|
|
91
141
|
});
|
|
92
142
|
return u.useEffect(() => {
|
|
93
|
-
|
|
94
|
-
}, [i, n]), /* @__PURE__ */
|
|
143
|
+
g(s(t));
|
|
144
|
+
}, [i, n]), /* @__PURE__ */ r(u.Fragment, { children: [
|
|
95
145
|
/* @__PURE__ */ e(
|
|
96
|
-
|
|
146
|
+
O,
|
|
97
147
|
{
|
|
98
148
|
sx: {
|
|
99
149
|
...l,
|
|
@@ -101,18 +151,18 @@ const Se = () => {
|
|
|
101
151
|
"&:hover": { color: n ? "inherit" : l.color }
|
|
102
152
|
},
|
|
103
153
|
children: /* @__PURE__ */ e(
|
|
104
|
-
|
|
154
|
+
te,
|
|
105
155
|
{
|
|
106
|
-
onClick: (
|
|
107
|
-
onMouseEnter: () =>
|
|
156
|
+
onClick: (f) => a?.(f, t.x),
|
|
157
|
+
onMouseEnter: () => o(t.x),
|
|
108
158
|
onMouseLeave: () => c(),
|
|
109
159
|
sx: { minHeight: 20, padding: 12 },
|
|
110
160
|
children: /* @__PURE__ */ e(
|
|
111
|
-
|
|
161
|
+
b,
|
|
112
162
|
{
|
|
113
|
-
primary: /* @__PURE__ */
|
|
114
|
-
/* @__PURE__ */ e(
|
|
115
|
-
/* @__PURE__ */ e(x, { amount: t.y, sx: { color: "inherit" }, variant: "
|
|
163
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
164
|
+
/* @__PURE__ */ e(d, { variant: "body1", children: ne(t.x) }),
|
|
165
|
+
/* @__PURE__ */ e(x, { amount: t.y, sx: { color: "inherit" }, variant: "body1" })
|
|
116
166
|
] })
|
|
117
167
|
}
|
|
118
168
|
)
|
|
@@ -120,99 +170,99 @@ const Se = () => {
|
|
|
120
170
|
)
|
|
121
171
|
}
|
|
122
172
|
),
|
|
123
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(L, {})
|
|
124
174
|
] }, t.x);
|
|
125
|
-
},
|
|
175
|
+
}, We = _(ve), Se = ({
|
|
126
176
|
currencyLabel: t,
|
|
127
|
-
currencyVariant:
|
|
177
|
+
currencyVariant: s = "body2",
|
|
128
178
|
iconSize: i,
|
|
129
179
|
netWorth: n,
|
|
130
|
-
theme:
|
|
180
|
+
theme: a
|
|
131
181
|
}) => {
|
|
132
|
-
let
|
|
133
|
-
return n.change < 0 ? l = "trending_down" : n.change > 0 && (
|
|
182
|
+
let o = a.palette.secondary.main, c = a.palette.secondary.main, l = "trending_flat";
|
|
183
|
+
return n.change < 0 ? l = "trending_down" : n.change > 0 && (o = a.palette.success.main, c = a.palette.success.main, l = "trending_up"), /* @__PURE__ */ r(fe, { alignItems: "center", direction: "row", spacing: 4, children: [
|
|
134
184
|
/* @__PURE__ */ e(
|
|
135
|
-
|
|
185
|
+
R,
|
|
136
186
|
{
|
|
137
187
|
name: l,
|
|
138
188
|
size: i,
|
|
139
189
|
sx: {
|
|
140
|
-
color:
|
|
190
|
+
color: o
|
|
141
191
|
}
|
|
142
192
|
}
|
|
143
193
|
),
|
|
144
|
-
/* @__PURE__ */ e(x, { amount: n.change, color: c, variant:
|
|
145
|
-
/* @__PURE__ */ e(
|
|
194
|
+
/* @__PURE__ */ e(x, { amount: n.change, color: c, variant: s }),
|
|
195
|
+
/* @__PURE__ */ e(d, { variant: "body2", children: t })
|
|
146
196
|
] });
|
|
147
|
-
},
|
|
197
|
+
}, B = _(Se), Ie = ({
|
|
148
198
|
netWorth: t,
|
|
149
|
-
gains:
|
|
199
|
+
gains: s,
|
|
150
200
|
losses: i,
|
|
151
201
|
totalGains: n,
|
|
152
|
-
totalLosses:
|
|
202
|
+
totalLosses: a
|
|
153
203
|
}) => {
|
|
154
|
-
const { net_worth:
|
|
155
|
-
return /* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
/* @__PURE__ */ e(
|
|
159
|
-
t && /* @__PURE__ */ e(
|
|
204
|
+
const { net_worth: o } = E(), c = H();
|
|
205
|
+
return /* @__PURE__ */ r(N, { children: [
|
|
206
|
+
/* @__PURE__ */ r(m, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
|
|
207
|
+
/* @__PURE__ */ e(d, { variant: "body2", children: ne(t?.x) }),
|
|
208
|
+
/* @__PURE__ */ e(d, { variant: "body1", children: o.total_change }),
|
|
209
|
+
t && /* @__PURE__ */ e(B, { currencyVariant: "h1", iconSize: 32, netWorth: t, theme: c })
|
|
160
210
|
] }),
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
/* @__PURE__ */ e(
|
|
163
|
-
|
|
211
|
+
/* @__PURE__ */ r(z, { children: [
|
|
212
|
+
/* @__PURE__ */ e(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
213
|
+
b,
|
|
164
214
|
{
|
|
165
|
-
primary: /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */ e(
|
|
167
|
-
/* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "
|
|
215
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
|
|
216
|
+
/* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.gains }),
|
|
217
|
+
/* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
|
|
168
218
|
] })
|
|
169
219
|
}
|
|
170
220
|
) }),
|
|
171
|
-
|
|
172
|
-
/* @__PURE__ */ e(
|
|
173
|
-
|
|
221
|
+
s?.map((l) => /* @__PURE__ */ r(u.Fragment, { children: [
|
|
222
|
+
/* @__PURE__ */ e(O, { sx: { backgroundColor: c.palette.background.paper, py: 14 }, children: /* @__PURE__ */ e(
|
|
223
|
+
b,
|
|
174
224
|
{
|
|
175
|
-
primary: /* @__PURE__ */
|
|
176
|
-
/* @__PURE__ */ e(
|
|
225
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
|
|
226
|
+
/* @__PURE__ */ e(d, { sx: { mr: 10 }, variant: "body1", children: l.accountName }),
|
|
177
227
|
/* @__PURE__ */ e(
|
|
178
228
|
x,
|
|
179
229
|
{
|
|
180
230
|
amount: l.gain,
|
|
181
231
|
sx: { color: c.palette.success.main, flexShrink: 0, fontWeight: 700 },
|
|
182
|
-
variant: "
|
|
232
|
+
variant: "body1"
|
|
183
233
|
}
|
|
184
234
|
)
|
|
185
235
|
] }),
|
|
186
236
|
sx: { px: 16 }
|
|
187
237
|
}
|
|
188
238
|
) }),
|
|
189
|
-
/* @__PURE__ */ e(
|
|
239
|
+
/* @__PURE__ */ e(L, {})
|
|
190
240
|
] }, l.accountName)),
|
|
191
|
-
/* @__PURE__ */ e(
|
|
192
|
-
|
|
241
|
+
/* @__PURE__ */ e(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
242
|
+
b,
|
|
193
243
|
{
|
|
194
|
-
primary: /* @__PURE__ */
|
|
195
|
-
/* @__PURE__ */ e(
|
|
196
|
-
/* @__PURE__ */ e(x, { amount:
|
|
244
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
|
|
245
|
+
/* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.losses }),
|
|
246
|
+
/* @__PURE__ */ e(x, { amount: a, sx: { fontWeight: 400 }, variant: "caption" })
|
|
197
247
|
] })
|
|
198
248
|
}
|
|
199
249
|
) }),
|
|
200
|
-
i?.map((l) => /* @__PURE__ */
|
|
250
|
+
i?.map((l) => /* @__PURE__ */ r(N, { children: [
|
|
201
251
|
/* @__PURE__ */ e(
|
|
202
|
-
|
|
252
|
+
O,
|
|
203
253
|
{
|
|
204
254
|
sx: { backgroundColor: c.palette.background.paper, py: 14 },
|
|
205
255
|
children: /* @__PURE__ */ e(
|
|
206
|
-
|
|
256
|
+
b,
|
|
207
257
|
{
|
|
208
|
-
primary: /* @__PURE__ */
|
|
258
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
|
|
209
259
|
/* @__PURE__ */ e(
|
|
210
|
-
|
|
260
|
+
d,
|
|
211
261
|
{
|
|
212
262
|
sx: {
|
|
213
263
|
mr: 10
|
|
214
264
|
},
|
|
215
|
-
variant: "
|
|
265
|
+
variant: "body1",
|
|
216
266
|
children: l.accountName
|
|
217
267
|
}
|
|
218
268
|
),
|
|
@@ -221,7 +271,7 @@ const Se = () => {
|
|
|
221
271
|
{
|
|
222
272
|
amount: l.loss,
|
|
223
273
|
sx: { flexShrink: 0, fontWeight: 700 },
|
|
224
|
-
variant: "
|
|
274
|
+
variant: "body1"
|
|
225
275
|
}
|
|
226
276
|
)
|
|
227
277
|
] }),
|
|
@@ -231,67 +281,67 @@ const Se = () => {
|
|
|
231
281
|
},
|
|
232
282
|
l.accountName
|
|
233
283
|
),
|
|
234
|
-
/* @__PURE__ */ e(
|
|
284
|
+
/* @__PURE__ */ e(L, {})
|
|
235
285
|
] }))
|
|
236
286
|
] })
|
|
237
287
|
] });
|
|
238
|
-
},
|
|
239
|
-
const [n,
|
|
240
|
-
return /* @__PURE__ */
|
|
241
|
-
/* @__PURE__ */ e(
|
|
242
|
-
i && /* @__PURE__ */ e(
|
|
288
|
+
}, Te = _(Ie), Le = ({ accounts: t, name: s, icon: i }) => {
|
|
289
|
+
const [n, a] = u.useState(!1);
|
|
290
|
+
return /* @__PURE__ */ r(N, { children: [
|
|
291
|
+
/* @__PURE__ */ e(O, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(te, { onClick: () => a(!n), children: [
|
|
292
|
+
i && /* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(R, { name: i, size: 24, sx: { mr: 12 } }) }),
|
|
243
293
|
/* @__PURE__ */ e(
|
|
244
|
-
|
|
294
|
+
b,
|
|
245
295
|
{
|
|
246
|
-
primary: /* @__PURE__ */ e(
|
|
296
|
+
primary: /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "body1", children: s })
|
|
247
297
|
}
|
|
248
298
|
),
|
|
249
|
-
/* @__PURE__ */ e(
|
|
299
|
+
/* @__PURE__ */ e(K, { children: n ? /* @__PURE__ */ e(R, { name: "expand_less", size: 24 }) : /* @__PURE__ */ e(R, { name: "expand_more", size: 24 }) })
|
|
250
300
|
] }) }),
|
|
251
|
-
/* @__PURE__ */ e(
|
|
252
|
-
/* @__PURE__ */ e(
|
|
253
|
-
/* @__PURE__ */ e(
|
|
254
|
-
|
|
301
|
+
/* @__PURE__ */ e(L, {}),
|
|
302
|
+
/* @__PURE__ */ e(xe, { in: n, timeout: "auto", unmountOnExit: !0, children: t.map((o, c) => /* @__PURE__ */ r(z, { children: [
|
|
303
|
+
/* @__PURE__ */ e(O, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ e(
|
|
304
|
+
b,
|
|
255
305
|
{
|
|
256
|
-
primary: /* @__PURE__ */
|
|
306
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
257
307
|
/* @__PURE__ */ e(
|
|
258
|
-
|
|
308
|
+
d,
|
|
259
309
|
{
|
|
260
310
|
sx: {
|
|
261
311
|
marginRight: 10
|
|
262
312
|
},
|
|
263
|
-
variant: "
|
|
264
|
-
children:
|
|
313
|
+
variant: "body1",
|
|
314
|
+
children: o.accountName
|
|
265
315
|
}
|
|
266
316
|
),
|
|
267
317
|
/* @__PURE__ */ e(
|
|
268
318
|
x,
|
|
269
319
|
{
|
|
270
|
-
amount:
|
|
320
|
+
amount: o.balance,
|
|
271
321
|
sx: {
|
|
272
322
|
flexShrink: 0
|
|
273
323
|
},
|
|
274
|
-
variant: "
|
|
324
|
+
variant: "body2"
|
|
275
325
|
}
|
|
276
326
|
)
|
|
277
327
|
] }),
|
|
278
328
|
sx: { pl: 72, pr: 16 }
|
|
279
329
|
}
|
|
280
330
|
) }),
|
|
281
|
-
c < t.length - 1 ? /* @__PURE__ */ e(
|
|
282
|
-
] },
|
|
331
|
+
c < t.length - 1 ? /* @__PURE__ */ e(L, { variant: "inset" }) : /* @__PURE__ */ e(L, {})
|
|
332
|
+
] }, o.accountName)) })
|
|
283
333
|
] });
|
|
284
|
-
},
|
|
334
|
+
}, X = ({ groupedAccounts: t }) => /* @__PURE__ */ e(N, { children: t.map(({ accounts: s, icon: i, name: n }) => /* @__PURE__ */ e(Le, { accounts: s, icon: i, name: n }, n)) }), De = ({
|
|
285
335
|
netWorth: t,
|
|
286
|
-
assets:
|
|
336
|
+
assets: s,
|
|
287
337
|
liabilities: i,
|
|
288
338
|
totalAssets: n,
|
|
289
|
-
totalLiabilities:
|
|
339
|
+
totalLiabilities: a
|
|
290
340
|
}) => {
|
|
291
|
-
const { net_worth:
|
|
292
|
-
return /* @__PURE__ */
|
|
293
|
-
/* @__PURE__ */
|
|
294
|
-
|
|
341
|
+
const { net_worth: o } = E(), c = H();
|
|
342
|
+
return /* @__PURE__ */ r(N, { children: [
|
|
343
|
+
/* @__PURE__ */ r(
|
|
344
|
+
P,
|
|
295
345
|
{
|
|
296
346
|
sx: {
|
|
297
347
|
alignItems: "center",
|
|
@@ -302,12 +352,12 @@ const Se = () => {
|
|
|
302
352
|
marginBottom: 8
|
|
303
353
|
},
|
|
304
354
|
children: [
|
|
305
|
-
/* @__PURE__ */ e(
|
|
306
|
-
/* @__PURE__ */ e(x, { amount: t?.y ?? 0, variant: "
|
|
355
|
+
/* @__PURE__ */ e(d, { variant: "body1", children: o.current_net_worth }),
|
|
356
|
+
/* @__PURE__ */ e(x, { amount: t?.y ?? 0, variant: "h1" }),
|
|
307
357
|
t && /* @__PURE__ */ e(
|
|
308
|
-
|
|
358
|
+
B,
|
|
309
359
|
{
|
|
310
|
-
currencyLabel:
|
|
360
|
+
currencyLabel: o.this_month,
|
|
311
361
|
iconSize: 20,
|
|
312
362
|
netWorth: t,
|
|
313
363
|
theme: c
|
|
@@ -316,74 +366,81 @@ const Se = () => {
|
|
|
316
366
|
]
|
|
317
367
|
}
|
|
318
368
|
),
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */ e(
|
|
321
|
-
|
|
369
|
+
/* @__PURE__ */ r(z, { children: [
|
|
370
|
+
/* @__PURE__ */ e(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
371
|
+
b,
|
|
322
372
|
{
|
|
323
|
-
primary: /* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */ e(
|
|
325
|
-
/* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "
|
|
373
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
|
|
374
|
+
/* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.assets }),
|
|
375
|
+
/* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
|
|
326
376
|
] })
|
|
327
377
|
}
|
|
328
378
|
) }),
|
|
329
|
-
/* @__PURE__ */ e(
|
|
330
|
-
/* @__PURE__ */ e(
|
|
331
|
-
|
|
379
|
+
/* @__PURE__ */ e(X, { groupedAccounts: U(s) }),
|
|
380
|
+
/* @__PURE__ */ e(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
381
|
+
b,
|
|
332
382
|
{
|
|
333
|
-
primary: /* @__PURE__ */
|
|
334
|
-
/* @__PURE__ */ e(
|
|
335
|
-
/* @__PURE__ */ e(
|
|
383
|
+
primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
|
|
384
|
+
/* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.liabilities }),
|
|
385
|
+
/* @__PURE__ */ e(
|
|
386
|
+
x,
|
|
387
|
+
{
|
|
388
|
+
amount: a,
|
|
389
|
+
sx: { fontWeight: 400 },
|
|
390
|
+
variant: "caption"
|
|
391
|
+
}
|
|
392
|
+
)
|
|
336
393
|
] })
|
|
337
394
|
}
|
|
338
395
|
) }),
|
|
339
|
-
/* @__PURE__ */ e(
|
|
396
|
+
/* @__PURE__ */ e(X, { groupedAccounts: U(i) })
|
|
340
397
|
] })
|
|
341
398
|
] });
|
|
342
|
-
}, Ne =
|
|
343
|
-
const { net_worth: t } =
|
|
399
|
+
}, Ne = _(De), Ee = () => {
|
|
400
|
+
const { net_worth: t } = E(), s = H(), { onEvent: i } = $(), {
|
|
344
401
|
assetsLiabilities: n,
|
|
345
|
-
gainsLosses:
|
|
346
|
-
hoveredData:
|
|
402
|
+
gainsLosses: a,
|
|
403
|
+
hoveredData: o,
|
|
347
404
|
netWorthChartData: c,
|
|
348
405
|
selectedData: l,
|
|
349
|
-
setHoveredIndex:
|
|
350
|
-
setSelectedIndex:
|
|
351
|
-
} =
|
|
352
|
-
const C = p.x ===
|
|
406
|
+
setHoveredIndex: g,
|
|
407
|
+
setSelectedIndex: f
|
|
408
|
+
} = j(), [W, S] = u.useState(!1), [w, y] = u.useState(!1), k = (p) => {
|
|
409
|
+
const C = p.x === o?.x, I = p.x === l?.x, T = {
|
|
353
410
|
backgroundColor: "inherit",
|
|
354
411
|
borderBottom: "inherit",
|
|
355
412
|
color: "inherit"
|
|
356
413
|
};
|
|
357
|
-
return C && (
|
|
358
|
-
},
|
|
359
|
-
|
|
414
|
+
return C && (T.color = I ? "inherit" : T.color, T.backgroundColor = s.palette.action.hover), I && (T.backgroundColor = s.palette.primary.main, T.borderBottom = s.palette.neutral.light, T.color = s.palette.common.white), T;
|
|
415
|
+
}, D = (p, C) => {
|
|
416
|
+
f(C), p.currentTarget instanceof HTMLDivElement && S(!0);
|
|
360
417
|
}, h = () => {
|
|
361
|
-
|
|
418
|
+
y(!0), i(v.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES);
|
|
362
419
|
}, M = (p) => {
|
|
363
|
-
|
|
364
|
-
},
|
|
365
|
-
|
|
420
|
+
g(p);
|
|
421
|
+
}, G = () => {
|
|
422
|
+
g(-1);
|
|
366
423
|
};
|
|
367
|
-
return /* @__PURE__ */
|
|
368
|
-
/* @__PURE__ */
|
|
369
|
-
/* @__PURE__ */ e(
|
|
370
|
-
/* @__PURE__ */ e(
|
|
424
|
+
return /* @__PURE__ */ r(m, { direction: "column", sx: { width: 320 }, children: [
|
|
425
|
+
/* @__PURE__ */ r(z, { children: [
|
|
426
|
+
/* @__PURE__ */ e(A, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ e(d, { bold: !0, component: "h2", variant: "body1", children: t.monthly_totals }) }),
|
|
427
|
+
/* @__PURE__ */ e(L, {}),
|
|
371
428
|
c.map((p, C) => /* @__PURE__ */ e(
|
|
372
|
-
|
|
429
|
+
We,
|
|
373
430
|
{
|
|
374
|
-
getStyles:
|
|
375
|
-
isHovered: p.x ===
|
|
431
|
+
getStyles: k,
|
|
432
|
+
isHovered: p.x === o?.x,
|
|
376
433
|
isSelected: p.x === l?.x,
|
|
377
434
|
item: p,
|
|
378
|
-
onItemClick: (
|
|
435
|
+
onItemClick: (I) => D(I, C),
|
|
379
436
|
onMouseEnter: () => M(C),
|
|
380
|
-
onMouseLeave: () =>
|
|
437
|
+
onMouseLeave: () => G()
|
|
381
438
|
},
|
|
382
439
|
p.x
|
|
383
440
|
))
|
|
384
441
|
] }),
|
|
385
442
|
/* @__PURE__ */ e(
|
|
386
|
-
|
|
443
|
+
ue,
|
|
387
444
|
{
|
|
388
445
|
onClick: () => h(),
|
|
389
446
|
sx: { alignSelf: "center", marginTop: 16, width: "fit-content" },
|
|
@@ -392,23 +449,23 @@ const Se = () => {
|
|
|
392
449
|
}
|
|
393
450
|
),
|
|
394
451
|
/* @__PURE__ */ e(
|
|
395
|
-
|
|
452
|
+
V,
|
|
396
453
|
{
|
|
397
454
|
ariaLabelClose: "Close",
|
|
398
|
-
isOpen:
|
|
399
|
-
onClose: () =>
|
|
455
|
+
isOpen: W,
|
|
456
|
+
onClose: () => S(!1),
|
|
400
457
|
shouldShowHeaderBorders: !1,
|
|
401
458
|
shouldShowHeaderShadow: !0,
|
|
402
459
|
title: t.gains_and_losses,
|
|
403
|
-
children:
|
|
460
|
+
children: a && /* @__PURE__ */ e(Te, { ...a })
|
|
404
461
|
}
|
|
405
462
|
),
|
|
406
463
|
/* @__PURE__ */ e(
|
|
407
|
-
|
|
464
|
+
V,
|
|
408
465
|
{
|
|
409
466
|
ariaLabelClose: "Close",
|
|
410
|
-
isOpen:
|
|
411
|
-
onClose: () =>
|
|
467
|
+
isOpen: w,
|
|
468
|
+
onClose: () => y(!1),
|
|
412
469
|
shouldShowHeaderBorders: !1,
|
|
413
470
|
shouldShowHeaderShadow: !0,
|
|
414
471
|
title: t.assets_and_liabilities,
|
|
@@ -416,122 +473,57 @@ const Se = () => {
|
|
|
416
473
|
}
|
|
417
474
|
)
|
|
418
475
|
] });
|
|
419
|
-
},
|
|
420
|
-
const { net_worth: i } =
|
|
421
|
-
return /* @__PURE__ */
|
|
422
|
-
/* @__PURE__ */ e(
|
|
423
|
-
/* @__PURE__ */ e(x, { amount:
|
|
424
|
-
/* @__PURE__ */ e(
|
|
425
|
-
] });
|
|
426
|
-
}, Ae = S(ke), He = ({ amount: t, copy: a, trendValue: i }) => {
|
|
427
|
-
const n = i > 0, r = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
|
|
428
|
-
return /* @__PURE__ */ o(d, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
429
|
-
/* @__PURE__ */ e(Z, { variant: "H1", children: U(t, "0,0") }),
|
|
430
|
-
t !== 0 && /* @__PURE__ */ o(d, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
|
|
431
|
-
/* @__PURE__ */ o(d, { sx: { flexDirection: "row", gap: 8 }, children: [
|
|
432
|
-
/* @__PURE__ */ e(te, { name: r, size: 20 }),
|
|
433
|
-
/* @__PURE__ */ e(m, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: U(i, "0,0.00") })
|
|
434
|
-
] }),
|
|
435
|
-
/* @__PURE__ */ e(m, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: a.this_month })
|
|
436
|
-
] })
|
|
476
|
+
}, ke = _(Ee), Me = ({ hoveredData: t, selectedData: s }) => {
|
|
477
|
+
const { net_worth: i } = E(), n = H(), a = t || s, o = ae(se(a.x), "MMMM");
|
|
478
|
+
return /* @__PURE__ */ r(m, { alignItems: "center", direction: "column", m: 24, children: [
|
|
479
|
+
/* @__PURE__ */ e(d, { color: n.palette.secondary.main, variant: "body2", children: `${o} ${i.net_worth}` }),
|
|
480
|
+
/* @__PURE__ */ e(x, { amount: a.y, variant: "h2" }),
|
|
481
|
+
/* @__PURE__ */ e(B, { currencyLabel: i.this_month, netWorth: a, theme: n })
|
|
437
482
|
] });
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
] }), _t = S(({ onCTAClick: t }) => {
|
|
445
|
-
const { visibleAccounts: a } = ce(), { onEvent: i } = z(), { net_worth: n, common: s } = N(), { isInitialized: r } = Y(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: f, selectedData: g } = R();
|
|
446
|
-
if (u.useEffect(() => {
|
|
447
|
-
c || l().finally();
|
|
448
|
-
}, []), re({
|
|
449
|
-
widgetName: "NetWorthMicroWidget",
|
|
450
|
-
isLoaded: c
|
|
451
|
-
}), u.useEffect(() => {
|
|
452
|
-
c && i(v.NET_WORTH_LOAD_WIDGET, {
|
|
453
|
-
state: a?.length ? "default" : "zeroState"
|
|
454
|
-
});
|
|
455
|
-
}, [c]), !r || !c) return /* @__PURE__ */ e(ne, { height: 100 });
|
|
456
|
-
const w = () => {
|
|
457
|
-
i(
|
|
458
|
-
a.length ? v.NET_WORTH_CLICK_VIEW_DETAILS : v.NET_WORTH_CLICK_GET_STARTED
|
|
459
|
-
), t();
|
|
460
|
-
};
|
|
461
|
-
return /* @__PURE__ */ e(
|
|
462
|
-
ye,
|
|
463
|
-
{
|
|
464
|
-
className: "mx-networth-microwidget",
|
|
465
|
-
ctaLabel: s.see_details,
|
|
466
|
-
onCTAClick: w,
|
|
467
|
-
title: n.net_worth,
|
|
468
|
-
children: f.accounts.length ? /* @__PURE__ */ e(
|
|
469
|
-
He,
|
|
470
|
-
{
|
|
471
|
-
amount: g?.y,
|
|
472
|
-
copy: n,
|
|
473
|
-
trendValue: g?.change
|
|
474
|
-
}
|
|
475
|
-
) : /* @__PURE__ */ e(Oe, { copy: n })
|
|
476
|
-
}
|
|
477
|
-
);
|
|
478
|
-
}), St = S(({ onBackClick: t }) => {
|
|
479
|
-
const { isInitialized: a } = Y(), { accounts: i, net_worth: n } = N(), {
|
|
480
|
-
hoveredData: s,
|
|
481
|
-
isNetWorthDataLoaded: r,
|
|
482
|
-
loadNetWorthData: c,
|
|
483
|
-
netWorthChartData: l,
|
|
483
|
+
}, Ae = _(Me), yt = _(({ onBackClick: t, onMenuClick: s }) => {
|
|
484
|
+
const { isInitialized: i } = q(), { accounts: n, net_worth: a } = E(), {
|
|
485
|
+
hoveredData: o,
|
|
486
|
+
isNetWorthDataLoaded: c,
|
|
487
|
+
loadNetWorthData: l,
|
|
488
|
+
netWorthChartData: g,
|
|
484
489
|
selectedData: f,
|
|
485
|
-
setTimeframe:
|
|
486
|
-
timeframe:
|
|
487
|
-
} =
|
|
488
|
-
|
|
490
|
+
setTimeframe: W,
|
|
491
|
+
timeframe: S
|
|
492
|
+
} = j(), { isMobile: w } = ee(), { onEvent: y } = $(), [k, D] = u.useState(!1);
|
|
493
|
+
J({
|
|
489
494
|
widgetName: "NetWorthWidget",
|
|
490
|
-
isLoaded:
|
|
495
|
+
isLoaded: c
|
|
491
496
|
}), u.useEffect(() => {
|
|
492
|
-
|
|
497
|
+
c || l().finally(), y(v.NET_WORTH_VIEW);
|
|
493
498
|
}, []), u.useEffect(() => {
|
|
494
|
-
|
|
495
|
-
}, [
|
|
496
|
-
const
|
|
497
|
-
const
|
|
498
|
-
|
|
499
|
-
},
|
|
500
|
-
|
|
499
|
+
y(v.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: S + "M" });
|
|
500
|
+
}, [S]);
|
|
501
|
+
const h = async (p) => {
|
|
502
|
+
const C = p[0], I = p[1];
|
|
503
|
+
C && I && W(ce(I, C));
|
|
504
|
+
}, M = () => {
|
|
505
|
+
D(!0), y(v.ACCOUNTS_CLICK_CONNECT);
|
|
501
506
|
};
|
|
502
|
-
if (!
|
|
503
|
-
const
|
|
504
|
-
return /* @__PURE__ */
|
|
505
|
-
|
|
507
|
+
if (!i || !c) return /* @__PURE__ */ e(Q, {});
|
|
508
|
+
const G = g.length === 0;
|
|
509
|
+
return /* @__PURE__ */ r(
|
|
510
|
+
ge,
|
|
506
511
|
{
|
|
507
|
-
calendarActions: { onRangeChanged:
|
|
508
|
-
dateRangeVariant:
|
|
509
|
-
onAccountsFilterClick: () =>
|
|
512
|
+
calendarActions: { onRangeChanged: h },
|
|
513
|
+
dateRangeVariant: w ? "timeframetabs" : "timeframebuttons",
|
|
514
|
+
onAccountsFilterClick: () => y(v.NET_WORTH_WIDGET_CLICK_FILTER),
|
|
510
515
|
onBackClick: t,
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
p: y ? 0 : 48,
|
|
514
|
-
"& .MuiCardHeader-root": {
|
|
515
|
-
px: 16,
|
|
516
|
-
py: 12
|
|
517
|
-
},
|
|
518
|
-
"& .MuiBox-root": {
|
|
519
|
-
m: 0
|
|
520
|
-
},
|
|
521
|
-
"& .MuiTabs-root": {
|
|
522
|
-
width: "100%"
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
title: n.net_worth,
|
|
516
|
+
onMenuClick: s,
|
|
517
|
+
title: a.net_worth,
|
|
526
518
|
children: [
|
|
527
|
-
|
|
528
|
-
|
|
519
|
+
G ? /* @__PURE__ */ e(P, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ e(
|
|
520
|
+
ye,
|
|
529
521
|
{
|
|
530
|
-
header:
|
|
522
|
+
header: a.empty_widget_header,
|
|
531
523
|
icon: "elevation",
|
|
532
|
-
onClick:
|
|
533
|
-
primaryButton:
|
|
534
|
-
subText:
|
|
524
|
+
onClick: M,
|
|
525
|
+
primaryButton: a.empty_widget_button,
|
|
526
|
+
subText: a.empty_widget_description,
|
|
535
527
|
sx: {
|
|
536
528
|
width: { sm: 432 },
|
|
537
529
|
".buttons-footer": {
|
|
@@ -539,27 +531,27 @@ const Se = () => {
|
|
|
539
531
|
}
|
|
540
532
|
}
|
|
541
533
|
}
|
|
542
|
-
) }) : /* @__PURE__ */
|
|
543
|
-
f && /* @__PURE__ */ e(Ae, { hoveredData:
|
|
544
|
-
/* @__PURE__ */
|
|
545
|
-
|
|
534
|
+
) }) : /* @__PURE__ */ r(N, { children: [
|
|
535
|
+
f && /* @__PURE__ */ e(Ae, { hoveredData: o, selectedData: f }),
|
|
536
|
+
/* @__PURE__ */ r(
|
|
537
|
+
m,
|
|
546
538
|
{
|
|
547
|
-
alignItems:
|
|
548
|
-
direction:
|
|
549
|
-
spacing:
|
|
539
|
+
alignItems: w ? "center" : "flex-start",
|
|
540
|
+
direction: w ? "column" : "row",
|
|
541
|
+
spacing: w ? 0 : 48,
|
|
550
542
|
children: [
|
|
551
543
|
/* @__PURE__ */ e(we, {}),
|
|
552
|
-
/* @__PURE__ */ e(
|
|
544
|
+
/* @__PURE__ */ e(ke, {})
|
|
553
545
|
]
|
|
554
546
|
}
|
|
555
547
|
)
|
|
556
548
|
] }),
|
|
557
549
|
/* @__PURE__ */ e(
|
|
558
|
-
|
|
550
|
+
le,
|
|
559
551
|
{
|
|
560
|
-
onClose: () =>
|
|
561
|
-
showConnectionsWidget:
|
|
562
|
-
title:
|
|
552
|
+
onClose: () => D(!1),
|
|
553
|
+
showConnectionsWidget: k,
|
|
554
|
+
title: n.manage_connections
|
|
563
555
|
}
|
|
564
556
|
)
|
|
565
557
|
]
|
|
@@ -567,10 +559,6 @@ const Se = () => {
|
|
|
567
559
|
);
|
|
568
560
|
});
|
|
569
561
|
export {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
_t as NetWorthMicroWidget,
|
|
573
|
-
vt as NetWorthStore,
|
|
574
|
-
Ae as NetWorthSummary,
|
|
575
|
-
St as NetWorthWidget
|
|
562
|
+
gt as NetWorthMicroWidget,
|
|
563
|
+
yt as NetWorthWidget
|
|
576
564
|
};
|