@mx-cartographer/experiences 8.0.0-alpha.test2 → 8.0.0-alpha.v2
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 +335 -0
- package/README.md +5 -3
- package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
- package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
- package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
- package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
- package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
- package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
- package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Accounts-o7ohkngR.mjs +27 -0
- package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
- package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
- package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
- package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
- package/dist/CashflowStore-CeAzChyD.mjs +91 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
- package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
- package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
- package/dist/Connect-eYIWqCEr.mjs +39 -0
- package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
- package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
- package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
- package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
- package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
- package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
- package/dist/Dialog-Ck34yr-d.mjs +63 -0
- package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
- package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
- package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
- package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
- package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
- package/dist/Goal-0loDagc5.mjs +6 -0
- package/dist/GoalStore-fgXt--2Y.mjs +418 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
- package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/LineChart-EAr5ox5U.mjs +612 -0
- package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
- package/dist/Loader-D3rjKx72.mjs +21 -0
- package/dist/Localization-CPkpIwIx.mjs +37 -0
- package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
- package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
- package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
- package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
- package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
- package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
- package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
- package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
- package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
- package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
- package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
- package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
- package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
- package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
- package/dist/SpendingLegend-BgjazduU.mjs +193 -0
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
- package/dist/Transaction-Cn5_iFm0.mjs +5 -0
- package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
- package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
- package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
- package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
- package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
- package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/api/AccountApi.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/index.es.js +459 -368
- package/dist/accounts/stores/AccountStore.d.ts +2 -1
- package/dist/accounts/stores/UiStore.d.ts +1 -1
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +1 -1
- package/dist/accounts/utils/Accounts.d.ts +2 -2
- 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/api/BudgetsApi.d.ts +5 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
- 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.es.js +851 -865
- package/dist/budgets/store/BudgetsStore.d.ts +15 -1
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/api/CashflowApi.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/index.es.js +290 -288
- package/dist/cashflow/stores/UiStore.d.ts +1 -1
- 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/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -1
- package/dist/categories/util/CategoryUtil.d.ts +1 -1
- package/dist/common/api/AnalyticsApi.d.ts +1 -1
- package/dist/common/api/AppDataApi.d.ts +1 -1
- package/dist/common/api/BeatApi.d.ts +1 -1
- package/dist/common/api/CategoryApi.d.ts +1 -1
- package/dist/common/api/GlobalCopyApi.d.ts +1 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
- package/dist/common/api/NotificationApi.d.ts +1 -1
- package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
- package/dist/common/api/UserApi.d.ts +1 -1
- package/dist/common/components/CurrencyDialog.d.ts +1 -1
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- 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/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +10 -0
- package/dist/common/constants/ApiEndpoints.d.ts +1 -0
- package/dist/common/constants/DefaultConfig.d.ts +1 -1
- 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 -2
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +4 -4
- package/dist/common/hooks/index.d.ts +1 -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/index.d.ts +0 -1
- package/dist/common/index.es.js +625 -860
- package/dist/common/stores/AppDataStore.d.ts +3 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
- package/dist/common/stores/GlobalStore.d.ts +4 -2
- package/dist/common/stores/GlobalUiStore.d.ts +3 -3
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/Categories.d.ts +1 -1
- package/dist/common/utils/Fetch.d.ts +1 -1
- package/dist/common/utils/Localization.d.ts +9 -1
- package/dist/common/utils/Theme.d.ts +3 -3
- package/dist/common/utils/User.d.ts +1 -1
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.es.js +41 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +1 -0
- 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/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/{common → core}/types/index.d.ts +1 -2
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -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/dashboard/index.es.js +46 -45
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
- package/dist/debts/index.es.js +705 -646
- package/dist/debts/store/DebtsStore.d.ts +2 -1
- package/dist/debts/utils/DebtStore.d.ts +1 -1
- package/dist/debts/utils/DebtsWidget.d.ts +7 -1
- package/dist/debts/utils/shared.d.ts +1 -1
- package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
- 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.es.js +161 -159
- package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
- package/dist/goals/GoalsWidget.d.ts +1 -1
- package/dist/goals/api/GoalApi.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 +1 -1
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.es.js +445 -419
- package/dist/goals/stores/GoalStore.d.ts +2 -1
- package/dist/goals/util/GoalsUtil.d.ts +1 -1
- package/dist/help/HelpWidget.d.ts +1 -1
- package/dist/help/api/HelpApi.d.ts +1 -1
- 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 +8 -8
- package/dist/help/store/HelpStore.d.ts +5 -4
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
- package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +4 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/index.es.js +1361 -1081
- package/dist/insights/store/BeatStore.d.ts +1 -1
- package/dist/investments/InvestmentsWidget.d.ts +1 -1
- package/dist/investments/api/HoldingApi.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +258 -258
- package/dist/investments/stores/HoldingStore.d.ts +2 -1
- package/dist/investments/util/InvestmentUtil.d.ts +1 -1
- package/dist/merchants/api/MerchantApi.d.ts +1 -1
- package/dist/merchants/index.es.js +16 -16
- package/dist/merchants/stores/MerchantStore.d.ts +2 -1
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
- 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 +1 -1
- package/dist/microinsights/carousel/BeatList.d.ts +1 -1
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
- 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.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -1
- package/dist/microinsights/stores/CopyStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
- 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/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.es.js +181 -174
- package/dist/networth/stores/NetWorthStore.d.ts +2 -1
- package/dist/networth/types/NetWorth.d.ts +1 -1
- package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
- 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.es.js +104 -92
- package/dist/notifications/stores/NotificationStore.d.ts +2 -1
- package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
- 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.es.js +477 -451
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
- package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
- package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +1 -1
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/api/SettingsApi.d.ts +1 -2
- 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.es.js +314 -323
- package/dist/settings/stores/SettingsStore.d.ts +3 -2
- package/dist/settings/util/Notifications.d.ts +1 -1
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +167 -166
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/api/TransactionApi.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
- 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/HideAction.d.ts +1 -1
- 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 +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -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/constants/Transaction.d.ts +1 -1
- package/dist/transactions/index.es.js +195 -187
- package/dist/transactions/stores/TransactionStore.d.ts +2 -1
- package/dist/transactions/stores/UiStore.d.ts +1 -1
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +1 -1
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -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/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
- package/dist/trends/index.es.js +817 -764
- package/dist/trends/stores/TrendsStore.d.ts +2 -1
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +1 -1
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
- package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
- package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
- package/package.json +17 -10
- package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
- package/dist/AccountListItem-k63LpVBs.mjs +0 -90
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
- package/dist/Dialog-jmgGw5WA.mjs +0 -58
- package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
- package/dist/GoalStore-BjHKNAVm.mjs +0 -421
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-CnscUFUG.mjs +0 -580
- package/dist/Loader-icSc5MlE.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
- package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
- package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
- package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
- package/dist/TransactionList-BDffKJMO.mjs +0 -204
- package/dist/User-DS18cMaz.mjs +0 -237
- package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
- 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/types/SpendingPlan.d.ts +0 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- /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/Client.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/Widgets.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/GoalsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InsightsFeedCopy.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/TransactionsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
|
@@ -3,63 +3,64 @@ import M from "@mui/material/Box";
|
|
|
3
3
|
import _ from "@mui/material/Stack";
|
|
4
4
|
import { useTheme as z, alpha as ce } from "@mui/material/styles";
|
|
5
5
|
import { PieChart as tn } from "@mui/x-charts/PieChart";
|
|
6
|
-
import { P as D, H3 as
|
|
6
|
+
import { P as D, H3 as Y, Text as I, InstitutionLogo as pt, H2 as Fe, MerchantLogo as nn, Icon as on } from "@mxenabled/mxui";
|
|
7
7
|
import { TrendingUp as rn, ArrowRightAlt as an, TrendingDown as sn, AccountBalance as _t, ChevronRight as Z, CheckCircle as cn, Cancel as ln, CreditCard as ut, Savings as dn, ContentCopy as pn, MultilineChart as _n, Add as ht, Cardiology as un, Payments as hn, CalendarMonth as mn, ExpandMore as gn } from "@mxenabled/mx-icons";
|
|
8
|
-
import { g as yn, a as bn, r as et, b as fn, c as Ne, d as mt, C as ke, e as Me, f as xn, h as Sn, i as Cn, j as gt, k as tt, l as vn, m as nt, n as wn, o as yt, p as kn, q as bt, s as Oe, t as ft, u as Mn, v as xt, w as Dn, A as oe, x as In, P as
|
|
9
|
-
import { y as
|
|
8
|
+
import { g as yn, a as bn, r as et, b as fn, c as Ne, d as mt, C as ke, e as Me, f as xn, h as Sn, i as Cn, j as gt, k as tt, l as vn, m as nt, n as wn, o as yt, p as kn, q as bt, s as Oe, t as ft, u as Mn, v as xt, w as Dn, A as oe, x as In, P as Tn } from "../FinstrongStore-BQxXxxYD.mjs";
|
|
9
|
+
import { y as vi, F as wi } from "../FinstrongStore-BQxXxxYD.mjs";
|
|
10
10
|
import * as ot from "d3";
|
|
11
11
|
import { observer as k } from "mobx-react-lite";
|
|
12
|
-
import { u as v, b as J, a as je, o as ee,
|
|
13
|
-
import { L as U } from "../Loader-
|
|
12
|
+
import { u as v, b as J, a as je, o as ee, y as L, p as An, d as Se, l as Ke, f as On, i as Ve, h as Rn, m as Ln } from "../hooks-BxkfR-Ff.mjs";
|
|
13
|
+
import { L as U } from "../Loader-D3rjKx72.mjs";
|
|
14
14
|
import h, { useState as Fn, useRef as Bn, useCallback as rt, useEffect as at } from "react";
|
|
15
15
|
import P from "@mui/material/Button";
|
|
16
|
-
import
|
|
17
|
-
import { L as
|
|
18
|
-
import { C as St } from "../ConnectionsDrawer-
|
|
19
|
-
import {
|
|
16
|
+
import X from "@mui/material/Card";
|
|
17
|
+
import { L as Ye } from "../LineChart-EAr5ox5U.mjs";
|
|
18
|
+
import { C as St } from "../ConnectionsDrawer-IA7vnv1J.mjs";
|
|
19
|
+
import { C as ae } from "../ConnectDrawer-C0wjwcJt.mjs";
|
|
20
20
|
import le from "@mui/material/Tab";
|
|
21
|
-
import
|
|
21
|
+
import Xe from "@mui/material/Tabs";
|
|
22
22
|
import Re from "@mui/material/TextField";
|
|
23
|
-
import { D as Pn } from "../Dialog-jmgGw5WA.mjs";
|
|
24
23
|
import { u as qe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
24
|
+
import { D as Pn } from "../Dialog-Ck34yr-d.mjs";
|
|
25
25
|
import { u as Ct } from "../useDimensions-CeDR9V8N.mjs";
|
|
26
26
|
import { E as Le } from "../EmptyState-DHAkGsjk.mjs";
|
|
27
27
|
import Wn from "@mui/material/Chip";
|
|
28
|
-
import { D as re } from "../Drawer-
|
|
28
|
+
import { D as re } from "../Drawer-Bbe4AMB1.mjs";
|
|
29
29
|
import pe from "@mui/material/Divider";
|
|
30
30
|
import be from "@mui/material/ListItem";
|
|
31
31
|
import vt from "@mui/material/ListItemAvatar";
|
|
32
32
|
import fe from "@mui/material/ListItemText";
|
|
33
33
|
import { g as wt } from "../AccountDisplayName-CO7z3v99.mjs";
|
|
34
|
-
import { g as kt } from "../AccountFields-
|
|
34
|
+
import { g as kt } from "../AccountFields-CxqONzjY.mjs";
|
|
35
35
|
import Ge from "@mui/material/List";
|
|
36
36
|
import $n from "@mui/material/ListItemButton";
|
|
37
37
|
import En from "@mui/material/ListSubheader";
|
|
38
|
-
import { f as W } from "../NumberFormatting-
|
|
39
|
-
import { b as V } from "../Localization-
|
|
40
|
-
import { S as it,
|
|
41
|
-
import { A as He } from "../Account-
|
|
42
|
-
import { S as Gn } from "../StatusBar-
|
|
43
|
-
import { h as
|
|
44
|
-
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../
|
|
45
|
-
import { f as
|
|
46
|
-
import { T as de } from "../TabContentContainer-
|
|
38
|
+
import { f as W } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
39
|
+
import { b as V } from "../Localization-CPkpIwIx.mjs";
|
|
40
|
+
import { S as it, c as zn } from "../RecurringTransactions-BCJp-Nap.mjs";
|
|
41
|
+
import { A as He } from "../Account-BiB1F8lL.mjs";
|
|
42
|
+
import { S as Gn } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
|
+
import { h as Mt } from "../DateUtil-wcYTmDRD.mjs";
|
|
44
|
+
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../StatusIndicator-4tWnjeKS.mjs";
|
|
45
|
+
import { f as Yn, D as Xn } from "../DateFormats-BMpMrZpW.mjs";
|
|
46
|
+
import { T as de } from "../TabContentContainer-j01JYR_7.mjs";
|
|
47
47
|
import qn from "@mui/material/useMediaQuery";
|
|
48
48
|
import { BarPlot as Un } from "@mui/x-charts/BarChart";
|
|
49
49
|
import { ChartContainer as Qn } from "@mui/x-charts/ChartContainer";
|
|
50
50
|
import { ChartsXAxis as Zn } from "@mui/x-charts/ChartsXAxis";
|
|
51
51
|
import { ChartsYAxis as Jn } from "@mui/x-charts/ChartsYAxis";
|
|
52
|
-
import { startOfMonth as
|
|
53
|
-
import { endOfMonth as
|
|
54
|
-
import { g as eo, S as to, b as no } from "../SpendingLegend-
|
|
52
|
+
import { startOfMonth as Dt } from "date-fns/startOfMonth";
|
|
53
|
+
import { endOfMonth as It } from "date-fns/endOfMonth";
|
|
54
|
+
import { g as eo, S as to, b as no } from "../SpendingLegend-BgjazduU.mjs";
|
|
55
55
|
import { formatISO as oo } from "date-fns/formatISO";
|
|
56
56
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
57
57
|
import { startOfToday as st } from "date-fns/startOfToday";
|
|
58
58
|
import { subDays as ao } from "date-fns/subDays";
|
|
59
|
-
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-
|
|
59
|
+
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-Cc-wba0I.mjs";
|
|
60
60
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
61
|
-
import { AdapterDateFns as
|
|
62
|
-
import { R as
|
|
61
|
+
import { AdapterDateFns as Tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
62
|
+
import { F as At, R as Ot } from "../RepeatingTransaction-DF4vJn_v.mjs";
|
|
63
|
+
import { R as uo } from "../RecurringSettings-BN9H5ALr.mjs";
|
|
63
64
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
64
65
|
import { format as mo } from "date-fns/format";
|
|
65
66
|
import go from "@mui/lab/Timeline";
|
|
@@ -71,8 +72,8 @@ import Co from "@mui/lab/TimelineSeparator";
|
|
|
71
72
|
import vo from "@mui/material/Accordion";
|
|
72
73
|
import wo from "@mui/material/AccordionDetails";
|
|
73
74
|
import ko from "@mui/material/AccordionSummary";
|
|
74
|
-
import { u as Mo } from "../useWidgetLoadTimer-
|
|
75
|
-
import { W as Do } from "../WidgetContainer-
|
|
75
|
+
import { u as Mo } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
76
|
+
import { W as Do } from "../WidgetContainer-B7xDq2bM.mjs";
|
|
76
77
|
const Io = ({
|
|
77
78
|
dialScoreData: t,
|
|
78
79
|
dataIndex: o,
|
|
@@ -104,7 +105,7 @@ const Io = ({
|
|
|
104
105
|
o,
|
|
105
106
|
m,
|
|
106
107
|
u
|
|
107
|
-
), y = ot.arc().innerRadius(d).outerRadius(p).startAngle(S).endAngle(f).padAngle(0.02).cornerRadius(8),
|
|
108
|
+
), y = ot.arc().innerRadius(d).outerRadius(p).startAngle(S).endAngle(f).padAngle(0.02).cornerRadius(8), A = ot.arc().innerRadius(d).outerRadius(p).startAngle(C).endAngle(g).padAngle(0.02).cornerRadius(8);
|
|
108
109
|
return /* @__PURE__ */ i(j, { children: [
|
|
109
110
|
/* @__PURE__ */ e(
|
|
110
111
|
"path",
|
|
@@ -113,7 +114,7 @@ const Io = ({
|
|
|
113
114
|
fill: b ? w.palette.divider : n
|
|
114
115
|
}
|
|
115
116
|
),
|
|
116
|
-
b && /* @__PURE__ */ e("path", { d:
|
|
117
|
+
b && /* @__PURE__ */ e("path", { d: A({}), fill: "url(#arcGradient)" }),
|
|
117
118
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e(
|
|
118
119
|
"linearGradient",
|
|
119
120
|
{
|
|
@@ -124,7 +125,7 @@ const Io = ({
|
|
|
124
125
|
x2: a - c * 0.8 * Math.cos(Math.PI / 1.35),
|
|
125
126
|
y1: l + c * 0.8 * Math.sin(Math.PI / 1.35),
|
|
126
127
|
y2: l - c * 0.8 * Math.sin(Math.PI / 1.35),
|
|
127
|
-
children: x.map(($,
|
|
128
|
+
children: x.map(($, T) => /* @__PURE__ */ e("stop", { offset: $.offset, stopColor: $.color }, T))
|
|
128
129
|
}
|
|
129
130
|
) })
|
|
130
131
|
] });
|
|
@@ -143,7 +144,7 @@ const Io = ({
|
|
|
143
144
|
footerRightContent: m,
|
|
144
145
|
isFinacialStrengthGraph: b = !1
|
|
145
146
|
}) => {
|
|
146
|
-
const w = z(), x = -Math.PI / 1.35, S = Math.PI / 1.35, f = S - x, C = f / (a - s), g = (o - s) * C, y = x + g + 0.02,
|
|
147
|
+
const w = z(), x = -Math.PI / 1.35, S = Math.PI / 1.35, f = S - x, C = f / (a - s), g = (o - s) * C, y = x + g + 0.02, A = n !== "SM" ? 0.1 : 0.12, $ = t, T = t * (1 - A), F = $ * 2, E = F / 2, G = F / 2, ve = (T + $) / 2, ue = o !== 25 && o !== 50 && o !== 75 && o !== 100 ? 0 : 0.12, [K, ie] = fn(ve, y, ue), te = o / 25, q = {
|
|
147
148
|
L: { markerSize: 12, healthScoreFontSize: 64 },
|
|
148
149
|
M: { markerSize: 8, healthScoreFontSize: 48 },
|
|
149
150
|
SM: { markerSize: 3, healthScoreFontSize: 14 }
|
|
@@ -174,7 +175,7 @@ const Io = ({
|
|
|
174
175
|
series: [
|
|
175
176
|
{
|
|
176
177
|
data: r,
|
|
177
|
-
innerRadius:
|
|
178
|
+
innerRadius: T,
|
|
178
179
|
outerRadius: $,
|
|
179
180
|
startAngle: Math.round(et(x)),
|
|
180
181
|
// Use Math.degrees to convert
|
|
@@ -194,7 +195,7 @@ const Io = ({
|
|
|
194
195
|
centerY: G,
|
|
195
196
|
dataIndex: me.dataIndex,
|
|
196
197
|
dialScoreData: r,
|
|
197
|
-
innerArcRadius:
|
|
198
|
+
innerArcRadius: T,
|
|
198
199
|
isFinacialStrengthGraph: b,
|
|
199
200
|
outterArcRadius: $,
|
|
200
201
|
progressEndAngle: y,
|
|
@@ -259,7 +260,7 @@ const Io = ({
|
|
|
259
260
|
fontSize: q[n].healthScoreFontSize,
|
|
260
261
|
lineHeight: n !== "SM" ? "48px" : "100%"
|
|
261
262
|
},
|
|
262
|
-
variant: "
|
|
263
|
+
variant: "h1",
|
|
263
264
|
children: o
|
|
264
265
|
}
|
|
265
266
|
),
|
|
@@ -364,7 +365,7 @@ const Io = ({
|
|
|
364
365
|
}
|
|
365
366
|
);
|
|
366
367
|
}
|
|
367
|
-
),
|
|
368
|
+
), To = k(
|
|
368
369
|
({
|
|
369
370
|
arcRadius: t,
|
|
370
371
|
size: o = "L",
|
|
@@ -440,7 +441,7 @@ const Io = ({
|
|
|
440
441
|
}) => {
|
|
441
442
|
const [d, p] = h.useState(!1), { connect: u, finstrong: m } = v(), { config: b } = je();
|
|
442
443
|
return t && b.show_connections_widget_in_master ? /* @__PURE__ */ i(
|
|
443
|
-
|
|
444
|
+
X,
|
|
444
445
|
{
|
|
445
446
|
sx: {
|
|
446
447
|
pb: 24,
|
|
@@ -459,7 +460,7 @@ const Io = ({
|
|
|
459
460
|
},
|
|
460
461
|
children: [
|
|
461
462
|
n && /* @__PURE__ */ e(_t, { sx: { height: 20, width: 20 } }),
|
|
462
|
-
/* @__PURE__ */ e(
|
|
463
|
+
/* @__PURE__ */ e(Y, { className: "connect-more-accounts-title", sx: { ...o && { fontSize: 15 } }, children: s || m.connect_more_accounts_title })
|
|
463
464
|
]
|
|
464
465
|
}
|
|
465
466
|
),
|
|
@@ -503,7 +504,7 @@ const Io = ({
|
|
|
503
504
|
) : null;
|
|
504
505
|
};
|
|
505
506
|
var _e = /* @__PURE__ */ ((t) => (t.SpendLessThanYouMake = "spendLessThanYouMake", t.PayBillsOnTime = "payBillsOnTime", t.SaveEnoughToLiveOn = "saveEnoughToLiveOn", t.MaintainEmergencySavings = "maintainEmergencySavings", t.HaveManageableDebt = "haveManageableDebt", t.HaveAGoodCreditScore = "haveAGoodCreditScore", t))(_e || {});
|
|
506
|
-
const
|
|
507
|
+
const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_animation_final.gif", Oo = ({ isOpen: t, onClose: o }) => {
|
|
507
508
|
const { common: n, finstrong: r } = v(), { isMobile: s } = qe(), { updateUser: a, user: l } = ee(), [c, d] = h.useState(l.credit_score || 0), p = !isNaN(c), u = () => {
|
|
508
509
|
o(), setTimeout(() => d(l.credit_score || 0), 300);
|
|
509
510
|
}, m = () => {
|
|
@@ -579,23 +580,23 @@ const To = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
579
580
|
title: a.credit_over_time_title,
|
|
580
581
|
valueKey: "credit_score"
|
|
581
582
|
}
|
|
582
|
-
}[t], m = xn(r, u.valueKey), b = r.map((
|
|
583
|
-
let
|
|
583
|
+
}[t], m = xn(r, u.valueKey), b = r.map((T) => T[u.valueKey]), w = Math.max(...b), x = Math.min(...b), S = () => w >= 1e6 ? { formatter: "0.000a", leftMargin: -7 } : w >= 1e3 ? { formatter: "0a", leftMargin: -27 } : { formatter: "0a", leftMargin: -32 }, { formatter: f, leftMargin: C } = S(), g = u.title, y = t === "creditOverTime";
|
|
584
|
+
let A;
|
|
584
585
|
if (y) {
|
|
585
|
-
const { color:
|
|
586
|
+
const { color: T } = mt(
|
|
586
587
|
s?.credit_score ?? 0,
|
|
587
588
|
n,
|
|
588
589
|
a.credit_score_status
|
|
589
590
|
);
|
|
590
|
-
|
|
591
|
+
A = T;
|
|
591
592
|
}
|
|
592
|
-
const $ = m.some((
|
|
593
|
-
return /* @__PURE__ */ e(
|
|
593
|
+
const $ = m.some((T) => T.y !== 0);
|
|
594
|
+
return /* @__PURE__ */ e(X, { ref: l, sx: { backgroundColor: "background.paper" }, children: $ ? /* @__PURE__ */ i(_, { gap: 8, sx: { pl: 18 }, children: [
|
|
594
595
|
/* @__PURE__ */ e(D, { sx: { pb: 8, pt: 16 }, variant: "h3", children: g }),
|
|
595
596
|
/* @__PURE__ */ e(
|
|
596
|
-
|
|
597
|
+
Ye,
|
|
597
598
|
{
|
|
598
|
-
areaColor:
|
|
599
|
+
areaColor: A,
|
|
599
600
|
axisColor: o.palette.divider,
|
|
600
601
|
baseline: "min",
|
|
601
602
|
chartFor: t,
|
|
@@ -607,14 +608,14 @@ const To = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
607
608
|
labelFontSize: y ? 13 : void 0,
|
|
608
609
|
labels: [a.key_indicators_label],
|
|
609
610
|
margin: { left: C, top: y ? 25 : 15, right: 20 },
|
|
610
|
-
markStyles: (
|
|
611
|
+
markStyles: (T) => y ? {
|
|
611
612
|
markLabelStyles: {
|
|
612
613
|
marginLeft: 16,
|
|
613
|
-
transform:
|
|
614
|
+
transform: T === m.length - 1 ? "translateX(-16px)" : "translateX(16px)",
|
|
614
615
|
fontWeight: 600,
|
|
615
616
|
fill: o.palette.text.primary
|
|
616
617
|
},
|
|
617
|
-
stroke:
|
|
618
|
+
stroke: A
|
|
618
619
|
} : {},
|
|
619
620
|
maxRange: y ? 850 : void 0,
|
|
620
621
|
minRange: (() => {
|
|
@@ -654,11 +655,11 @@ const To = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
654
655
|
}
|
|
655
656
|
) });
|
|
656
657
|
}, Ue = k(Ro), Lo = () => {
|
|
657
|
-
const { healthScoreChangeReports: t } = L(), { finstrong: o } = v(), { user: n } = ee(), { availableWidth: r } =
|
|
658
|
+
const { healthScoreChangeReports: t } = L(), { finstrong: o } = v(), { user: n } = ee(), { availableWidth: r } = An(), { isSmallMobile: s } = qe(r), [a, l] = h.useState(!1), c = t.at(-1);
|
|
658
659
|
return /* @__PURE__ */ i(M, { children: [
|
|
659
660
|
/* @__PURE__ */ i(_, { sx: { gap: 28 }, children: [
|
|
660
661
|
/* @__PURE__ */ e(
|
|
661
|
-
|
|
662
|
+
To,
|
|
662
663
|
{
|
|
663
664
|
arcRadius: s ? 124 : 154,
|
|
664
665
|
footerCenterContent: c ? c.newer_credit_score - c.older_credit_score : 0,
|
|
@@ -702,7 +703,7 @@ const To = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
702
703
|
}, Bo = () => {
|
|
703
704
|
const { finstrong: t } = v(), { user: o } = ee(), n = gt(o.credit_score ?? null);
|
|
704
705
|
return /* @__PURE__ */ i(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
705
|
-
/* @__PURE__ */ e(
|
|
706
|
+
/* @__PURE__ */ e(Y, { children: t.credit_score_keep_strong_credit_score }),
|
|
706
707
|
/* @__PURE__ */ e(Pe, { status: n })
|
|
707
708
|
] });
|
|
708
709
|
}, Po = k(Bo), Wo = ({
|
|
@@ -722,19 +723,19 @@ const To = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
722
723
|
const { finstrong: b } = v(), { isCopyLoaded: w } = J(), [x, S] = Fn(!1), f = Bn(null), C = rt(() => {
|
|
723
724
|
if (f.current) {
|
|
724
725
|
const y = f.current.scrollTop > 0;
|
|
725
|
-
S((
|
|
726
|
+
S((A) => A !== y ? y : A);
|
|
726
727
|
}
|
|
727
728
|
}, []), g = rt(
|
|
728
729
|
(y) => {
|
|
729
730
|
if (f.current && f.current.removeEventListener("scroll", C), y) {
|
|
730
|
-
let
|
|
731
|
-
for (;
|
|
732
|
-
const { overflow: $, overflowY:
|
|
733
|
-
if ($ === "auto" ||
|
|
734
|
-
f.current =
|
|
731
|
+
let A = y.parentElement;
|
|
732
|
+
for (; A; ) {
|
|
733
|
+
const { overflow: $, overflowY: T } = window.getComputedStyle(A);
|
|
734
|
+
if ($ === "auto" || T === "auto" || $ === "scroll" || T === "scroll") {
|
|
735
|
+
f.current = A, A.addEventListener("scroll", C, { passive: !0 });
|
|
735
736
|
break;
|
|
736
737
|
}
|
|
737
|
-
|
|
738
|
+
A = A.parentElement;
|
|
738
739
|
}
|
|
739
740
|
}
|
|
740
741
|
},
|
|
@@ -760,7 +761,7 @@ const To = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
760
761
|
pb: p ? 0 : 24
|
|
761
762
|
},
|
|
762
763
|
children: [
|
|
763
|
-
u && typeof u == "string" ? /* @__PURE__ */ e(
|
|
764
|
+
u && typeof u == "string" ? /* @__PURE__ */ e(Y, { children: u }) : u,
|
|
764
765
|
s && /* @__PURE__ */ e(D, { sx: { lineHeight: "24px" }, children: s })
|
|
765
766
|
]
|
|
766
767
|
}
|
|
@@ -976,7 +977,7 @@ const zo = ({ total: t }) => {
|
|
|
976
977
|
})
|
|
977
978
|
), p(u);
|
|
978
979
|
};
|
|
979
|
-
return /* @__PURE__ */ e(
|
|
980
|
+
return /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e("form", { onSubmit: g, children: /* @__PURE__ */ i(_, { sx: { gap: 24, pb: 24, pt: 16, px: 16 }, children: [
|
|
980
981
|
/* @__PURE__ */ e(
|
|
981
982
|
Ce,
|
|
982
983
|
{
|
|
@@ -1069,7 +1070,7 @@ const zo = ({ total: t }) => {
|
|
|
1069
1070
|
[t]
|
|
1070
1071
|
);
|
|
1071
1072
|
return /* @__PURE__ */ i(_, { sx: { gap: 24 }, children: [
|
|
1072
|
-
/* @__PURE__ */ e(
|
|
1073
|
+
/* @__PURE__ */ e(X, { sx: { bgcolor: "background.paper", p: 16 }, children: /* @__PURE__ */ i(_, { sx: { gap: 16 }, children: [
|
|
1073
1074
|
/* @__PURE__ */ e(Ce, { balance: s, title: o.maintain_emergency_savings_your_savings }),
|
|
1074
1075
|
t.length ? /* @__PURE__ */ e(
|
|
1075
1076
|
Wt,
|
|
@@ -1179,11 +1180,11 @@ const zo = ({ total: t }) => {
|
|
|
1179
1180
|
value: W(o ?? 0, "0,0.00")
|
|
1180
1181
|
}
|
|
1181
1182
|
);
|
|
1182
|
-
},
|
|
1183
|
+
}, Yo = k(Vo), $e = ({
|
|
1183
1184
|
transactions: t = [],
|
|
1184
1185
|
amountColor: o = "success.main",
|
|
1185
1186
|
amountPosition: n = "center",
|
|
1186
|
-
formatDate: r =
|
|
1187
|
+
formatDate: r = Mt,
|
|
1187
1188
|
secondaryIcon: s
|
|
1188
1189
|
}) => {
|
|
1189
1190
|
const a = z(), { connect: l, finstrong: c, categories: d } = v(), [p, u] = h.useState(!1), [m, b] = h.useState(!1), { getCategoryName: w } = Ke(), x = 3, S = t.length > x, f = t.length - x;
|
|
@@ -1291,7 +1292,7 @@ const zo = ({ total: t }) => {
|
|
|
1291
1292
|
)
|
|
1292
1293
|
] })
|
|
1293
1294
|
] });
|
|
1294
|
-
},
|
|
1295
|
+
}, Xo = () => {
|
|
1295
1296
|
const [t, o] = h.useState(!0), {
|
|
1296
1297
|
finstrong: {
|
|
1297
1298
|
key_indicators_spend: { pay_bills_on_time_drawer: n }
|
|
@@ -1300,7 +1301,7 @@ const zo = ({ total: t }) => {
|
|
|
1300
1301
|
return h.useEffect(() => {
|
|
1301
1302
|
r().finally(() => o(!1));
|
|
1302
1303
|
}, []), t ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ e(j, { children: s.spendingFee.length === 0 ? /* @__PURE__ */ i(
|
|
1303
|
-
|
|
1304
|
+
X,
|
|
1304
1305
|
{
|
|
1305
1306
|
sx: {
|
|
1306
1307
|
backgroundColor: "background.paper",
|
|
@@ -1313,13 +1314,13 @@ const zo = ({ total: t }) => {
|
|
|
1313
1314
|
children: [
|
|
1314
1315
|
/* @__PURE__ */ e(cn, { filled: !0, size: 48, sx: { color: "success.main" } }),
|
|
1315
1316
|
/* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 4, pt: 24 }, children: [
|
|
1316
|
-
/* @__PURE__ */ e(
|
|
1317
|
+
/* @__PURE__ */ e(Y, { children: n.pay_bills_on_time_zero_fees_title }),
|
|
1317
1318
|
/* @__PURE__ */ e(D, { variant: "subtitle1", children: n.pay_bills_on_time_zero_fees_description })
|
|
1318
1319
|
] })
|
|
1319
1320
|
]
|
|
1320
1321
|
}
|
|
1321
1322
|
) : /* @__PURE__ */ i(
|
|
1322
|
-
|
|
1323
|
+
X,
|
|
1323
1324
|
{
|
|
1324
1325
|
sx: {
|
|
1325
1326
|
p: 16,
|
|
@@ -1327,13 +1328,13 @@ const zo = ({ total: t }) => {
|
|
|
1327
1328
|
backgroundColor: "background.paper"
|
|
1328
1329
|
},
|
|
1329
1330
|
children: [
|
|
1330
|
-
/* @__PURE__ */ e(
|
|
1331
|
+
/* @__PURE__ */ e(Y, { sx: { textAlign: "left", pb: 16 }, children: n.pay_bills_on_time_sticky_fee_count }),
|
|
1331
1332
|
/* @__PURE__ */ e(
|
|
1332
1333
|
$e,
|
|
1333
1334
|
{
|
|
1334
1335
|
amountColor: "text.primary",
|
|
1335
1336
|
amountPosition: "flex-start",
|
|
1336
|
-
formatDate: (a) =>
|
|
1337
|
+
formatDate: (a) => Yn(new Date(a * 1e3), Xn.MONTH_DAY),
|
|
1337
1338
|
secondaryIcon: /* @__PURE__ */ e(ln, { color: "error", filled: !0, size: 12 }),
|
|
1338
1339
|
transactions: s.spendingFee
|
|
1339
1340
|
}
|
|
@@ -1341,7 +1342,7 @@ const zo = ({ total: t }) => {
|
|
|
1341
1342
|
]
|
|
1342
1343
|
}
|
|
1343
1344
|
) });
|
|
1344
|
-
}, qo = k(
|
|
1345
|
+
}, qo = k(Xo), Uo = () => {
|
|
1345
1346
|
const { healthScore: t } = L(), { finstrong: o } = v(), { key_indicators_spend: n } = o, { pay_bills_on_time_drawer: r } = n, s = kn(t.spending_fee_transaction_count);
|
|
1346
1347
|
return /* @__PURE__ */ i(
|
|
1347
1348
|
_,
|
|
@@ -1411,9 +1412,9 @@ const zo = ({ total: t }) => {
|
|
|
1411
1412
|
}, tr = k(er), nr = () => {
|
|
1412
1413
|
const [t, o] = h.useState(0), { finstrong: n } = v();
|
|
1413
1414
|
return /* @__PURE__ */ i(j, { children: [
|
|
1414
|
-
/* @__PURE__ */ i(
|
|
1415
|
+
/* @__PURE__ */ i(X, { children: [
|
|
1415
1416
|
/* @__PURE__ */ i(
|
|
1416
|
-
|
|
1417
|
+
Xe,
|
|
1417
1418
|
{
|
|
1418
1419
|
"aria-label": n.key_indicators_save.drawer_title,
|
|
1419
1420
|
centered: !0,
|
|
@@ -1480,7 +1481,7 @@ const zo = ({ total: t }) => {
|
|
|
1480
1481
|
}
|
|
1481
1482
|
}
|
|
1482
1483
|
),
|
|
1483
|
-
/* @__PURE__ */ e(I, { variant: "
|
|
1484
|
+
/* @__PURE__ */ e(I, { variant: "caption", children: p })
|
|
1484
1485
|
]
|
|
1485
1486
|
},
|
|
1486
1487
|
p
|
|
@@ -1542,7 +1543,7 @@ const zo = ({ total: t }) => {
|
|
|
1542
1543
|
}
|
|
1543
1544
|
}
|
|
1544
1545
|
),
|
|
1545
|
-
/* @__PURE__ */ e(I, { sx: { color: "text.primary" }, variant: "
|
|
1546
|
+
/* @__PURE__ */ e(I, { sx: { color: "text.primary" }, variant: "caption", children: "30%" })
|
|
1546
1547
|
]
|
|
1547
1548
|
}
|
|
1548
1549
|
)
|
|
@@ -1558,7 +1559,7 @@ const zo = ({ total: t }) => {
|
|
|
1558
1559
|
justifyContent: "center",
|
|
1559
1560
|
marginLeft: "auto"
|
|
1560
1561
|
},
|
|
1561
|
-
children: /* @__PURE__ */ e(I, { variant: "
|
|
1562
|
+
children: /* @__PURE__ */ e(I, { variant: "body2", children: t.debt_to_income_ratio ? V(
|
|
1562
1563
|
o.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_sticky_description,
|
|
1563
1564
|
n
|
|
1564
1565
|
) : "-" })
|
|
@@ -1694,7 +1695,7 @@ const zo = ({ total: t }) => {
|
|
|
1694
1695
|
}
|
|
1695
1696
|
)
|
|
1696
1697
|
] });
|
|
1697
|
-
},
|
|
1698
|
+
}, Ae = (t, o = 1e3) => {
|
|
1698
1699
|
const n = Math.abs(t) >= o ? "0.[0]a" : "0";
|
|
1699
1700
|
return W(t, n);
|
|
1700
1701
|
}, $t = ({
|
|
@@ -1709,24 +1710,24 @@ const zo = ({ total: t }) => {
|
|
|
1709
1710
|
totalMain: d
|
|
1710
1711
|
}) => {
|
|
1711
1712
|
const p = z(), u = qn(p.breakpoints.down("xs")), m = h.useMemo(
|
|
1712
|
-
() => o.sort((g, y) => g.month - y.month).map((g) => {
|
|
1713
|
-
const y = Mn(g.month),
|
|
1713
|
+
() => o.sort((g, y) => g.year !== y.year ? g.year - y.year : g.month - y.month).map((g) => {
|
|
1714
|
+
const y = Mn(g.month), A = {
|
|
1714
1715
|
spending_vs_income: {
|
|
1715
1716
|
main: g.standard_spend,
|
|
1716
1717
|
comparison: g.income,
|
|
1717
|
-
formattedMain:
|
|
1718
|
-
formattedComparison:
|
|
1718
|
+
formattedMain: Ae(g.standard_spend),
|
|
1719
|
+
formattedComparison: Ae(g.income)
|
|
1719
1720
|
},
|
|
1720
1721
|
debt_payment_vs_income: {
|
|
1721
1722
|
main: g.income,
|
|
1722
1723
|
comparison: g.debt_spend,
|
|
1723
|
-
formattedMain:
|
|
1724
|
-
formattedComparison:
|
|
1724
|
+
formattedMain: Ae(g.income),
|
|
1725
|
+
formattedComparison: Ae(g.debt_spend)
|
|
1725
1726
|
}
|
|
1726
1727
|
};
|
|
1727
1728
|
return {
|
|
1728
1729
|
label: y,
|
|
1729
|
-
...
|
|
1730
|
+
...A[t]
|
|
1730
1731
|
};
|
|
1731
1732
|
}),
|
|
1732
1733
|
[o, t]
|
|
@@ -1741,7 +1742,7 @@ const zo = ({ total: t }) => {
|
|
|
1741
1742
|
tickMinStep: f,
|
|
1742
1743
|
valueFormatter: (g) => g === 0 ? "$0" : W(g, "0.[0]a")
|
|
1743
1744
|
};
|
|
1744
|
-
return /* @__PURE__ */ i(
|
|
1745
|
+
return /* @__PURE__ */ i(X, { children: [
|
|
1745
1746
|
/* @__PURE__ */ i(
|
|
1746
1747
|
_,
|
|
1747
1748
|
{
|
|
@@ -1755,7 +1756,7 @@ const zo = ({ total: t }) => {
|
|
|
1755
1756
|
px: 16
|
|
1756
1757
|
},
|
|
1757
1758
|
children: [
|
|
1758
|
-
/* @__PURE__ */ e(
|
|
1759
|
+
/* @__PURE__ */ e(Y, { children: n }),
|
|
1759
1760
|
r && /* @__PURE__ */ e(
|
|
1760
1761
|
P,
|
|
1761
1762
|
{
|
|
@@ -1838,11 +1839,11 @@ const zo = ({ total: t }) => {
|
|
|
1838
1839
|
{
|
|
1839
1840
|
slots: {
|
|
1840
1841
|
bar: (g) => {
|
|
1841
|
-
const { ownerState: y, ...
|
|
1842
|
+
const { ownerState: y, ...A } = g;
|
|
1842
1843
|
return /* @__PURE__ */ e(
|
|
1843
1844
|
_r,
|
|
1844
1845
|
{
|
|
1845
|
-
...
|
|
1846
|
+
...A,
|
|
1846
1847
|
color: y.color,
|
|
1847
1848
|
data: m,
|
|
1848
1849
|
series: {
|
|
@@ -1914,9 +1915,9 @@ const zo = ({ total: t }) => {
|
|
|
1914
1915
|
(d) => d.debt_spend !== 0 || d.income !== 0
|
|
1915
1916
|
);
|
|
1916
1917
|
return /* @__PURE__ */ i(j, { children: [
|
|
1917
|
-
/* @__PURE__ */ i(
|
|
1918
|
+
/* @__PURE__ */ i(X, { children: [
|
|
1918
1919
|
/* @__PURE__ */ i(
|
|
1919
|
-
|
|
1920
|
+
Xe,
|
|
1920
1921
|
{
|
|
1921
1922
|
"aria-label": l.key_indicators_save.drawer_title,
|
|
1922
1923
|
centered: !0,
|
|
@@ -2043,8 +2044,8 @@ const zo = ({ total: t }) => {
|
|
|
2043
2044
|
h.useEffect(() => {
|
|
2044
2045
|
r(
|
|
2045
2046
|
t,
|
|
2046
|
-
|
|
2047
|
-
|
|
2047
|
+
Dt(/* @__PURE__ */ new Date()),
|
|
2048
|
+
It(/* @__PURE__ */ new Date())
|
|
2048
2049
|
).finally();
|
|
2049
2050
|
}, [t]);
|
|
2050
2051
|
const w = h.useMemo(
|
|
@@ -2096,7 +2097,7 @@ const zo = ({ total: t }) => {
|
|
|
2096
2097
|
}
|
|
2097
2098
|
),
|
|
2098
2099
|
w.donutData.length > 0 ? /* @__PURE__ */ i(
|
|
2099
|
-
|
|
2100
|
+
X,
|
|
2100
2101
|
{
|
|
2101
2102
|
sx: {
|
|
2102
2103
|
px: 16,
|
|
@@ -2116,7 +2117,7 @@ const zo = ({ total: t }) => {
|
|
|
2116
2117
|
px: 16
|
|
2117
2118
|
},
|
|
2118
2119
|
children: [
|
|
2119
|
-
/* @__PURE__ */ e(
|
|
2120
|
+
/* @__PURE__ */ e(Y, { children: c.key_indicators_spend.spend_less_than_you_make_drawer.spending }),
|
|
2120
2121
|
l.appData.client_profile?.allow_spending_widget && /* @__PURE__ */ e(
|
|
2121
2122
|
P,
|
|
2122
2123
|
{
|
|
@@ -2209,7 +2210,7 @@ const zo = ({ total: t }) => {
|
|
|
2209
2210
|
maintainEmergencySavings: {
|
|
2210
2211
|
content: /* @__PURE__ */ e(No, {}),
|
|
2211
2212
|
description: r.maintain_emergency_savings_description,
|
|
2212
|
-
stickyComponent: /* @__PURE__ */ e(
|
|
2213
|
+
stickyComponent: /* @__PURE__ */ e(Yo, {}),
|
|
2213
2214
|
title: r.maintain_emergency_savings_title,
|
|
2214
2215
|
drawerType: "connectDrawer",
|
|
2215
2216
|
connectTitle: r.connect_your_accounts,
|
|
@@ -2465,7 +2466,7 @@ const zo = ({ total: t }) => {
|
|
|
2465
2466
|
const [t, o] = h.useState(0), { finstrong: n } = v();
|
|
2466
2467
|
return /* @__PURE__ */ i(j, { children: [
|
|
2467
2468
|
/* @__PURE__ */ i(
|
|
2468
|
-
|
|
2469
|
+
Xe,
|
|
2469
2470
|
{
|
|
2470
2471
|
"aria-label": "Key Indicators",
|
|
2471
2472
|
centered: !0,
|
|
@@ -2521,12 +2522,12 @@ const zo = ({ total: t }) => {
|
|
|
2521
2522
|
/* @__PURE__ */ e(de, { index: 1, name: "save-details", value: t, children: /* @__PURE__ */ e(wr, {}) }),
|
|
2522
2523
|
/* @__PURE__ */ e(de, { index: 2, name: "borrow-details", value: t, children: /* @__PURE__ */ e(Mr, {}) })
|
|
2523
2524
|
] });
|
|
2524
|
-
}, Ir = k(Dr),
|
|
2525
|
+
}, Ir = k(Dr), Tr = ({ onClick: t }) => {
|
|
2525
2526
|
const { finstrong: o } = v(), { isCopyLoaded: n } = J();
|
|
2526
2527
|
return n ? /* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
|
|
2527
2528
|
/* @__PURE__ */ e(_n, { size: 48 }),
|
|
2528
2529
|
/* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
|
|
2529
|
-
/* @__PURE__ */ e(
|
|
2530
|
+
/* @__PURE__ */ e(Y, { children: o.missing_data_title }),
|
|
2530
2531
|
/* @__PURE__ */ e(D, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: o.missing_data_description })
|
|
2531
2532
|
] }),
|
|
2532
2533
|
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
@@ -2546,7 +2547,7 @@ const zo = ({ total: t }) => {
|
|
|
2546
2547
|
}
|
|
2547
2548
|
) })
|
|
2548
2549
|
] }) : /* @__PURE__ */ e(U, {});
|
|
2549
|
-
},
|
|
2550
|
+
}, Ar = k(Tr), Or = ({
|
|
2550
2551
|
firstDay: t,
|
|
2551
2552
|
frequency: o,
|
|
2552
2553
|
secondDay: n,
|
|
@@ -2565,7 +2566,7 @@ const zo = ({ total: t }) => {
|
|
|
2565
2566
|
const w = Nn(b, r), x = jn(b, r);
|
|
2566
2567
|
return u.push(
|
|
2567
2568
|
/* @__PURE__ */ i(h.Fragment, { children: [
|
|
2568
|
-
w && /* @__PURE__ */ e(Kn, { children:
|
|
2569
|
+
w && /* @__PURE__ */ e(Kn, { children: Mt(m.date) }),
|
|
2569
2570
|
/* @__PURE__ */ e(Vn, { transaction: m }),
|
|
2570
2571
|
/* @__PURE__ */ e(pe, { sx: { ml: x ? 44 : 0 } })
|
|
2571
2572
|
] }, m.guid)
|
|
@@ -2598,7 +2599,7 @@ const zo = ({ total: t }) => {
|
|
|
2598
2599
|
const { finstrong: n } = v(), r = z(), s = (a) => {
|
|
2599
2600
|
o(Math.floor(new Date(a).getTime() / 1e3));
|
|
2600
2601
|
};
|
|
2601
|
-
return /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(lo, { dateAdapter:
|
|
2602
|
+
return /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(lo, { dateAdapter: Tt, children: /* @__PURE__ */ e(
|
|
2602
2603
|
po,
|
|
2603
2604
|
{
|
|
2604
2605
|
disableFuture: !0,
|
|
@@ -2670,7 +2671,7 @@ const zo = ({ total: t }) => {
|
|
|
2670
2671
|
value: r
|
|
2671
2672
|
}) => /* @__PURE__ */ i(_, { sx: { gap: 20, p: 24 }, children: [
|
|
2672
2673
|
/* @__PURE__ */ i(_, { sx: { gap: 8 }, children: [
|
|
2673
|
-
/* @__PURE__ */ e(
|
|
2674
|
+
/* @__PURE__ */ e(Y, { children: o }),
|
|
2674
2675
|
/* @__PURE__ */ e(D, { variant: "subtitle1", children: n })
|
|
2675
2676
|
] }),
|
|
2676
2677
|
/* @__PURE__ */ e(Et, { completeCopy: t, value: r })
|
|
@@ -2680,9 +2681,9 @@ const zo = ({ total: t }) => {
|
|
|
2680
2681
|
}, $r = ({ isOpen: t, onClose: o }) => {
|
|
2681
2682
|
const { visibleAccounts: n } = Se(), { calculateHealthScore: r } = L(), { finstrong: s } = v(), { addRepeatingTransaction: a, setDateRange: l } = Ve(), { filter: c, setFilter: d, transactions: p } = Rn(), { user: u, userProfile: m, updateUser: b, updateUserProfile: w } = ee(), [x, S] = h.useState(u.credit_score || 0), [f, C] = h.useState(
|
|
2682
2683
|
lt
|
|
2683
|
-
), [g, y] = h.useState(1), [
|
|
2684
|
+
), [g, y] = h.useState(1), [A, $] = h.useState(At.EveryMonth), [T, F] = h.useState([]), [E, G] = h.useState(!1), [ve, ue] = h.useState(!1), [K, ie] = h.useState(u.birthday), [te, q] = h.useState(15), [H, he] = h.useState("");
|
|
2684
2685
|
h.useEffect(() => {
|
|
2685
|
-
l({ start:
|
|
2686
|
+
l({ start: Dt(st()), end: It(st()) });
|
|
2686
2687
|
}, []), h.useEffect(() => {
|
|
2687
2688
|
d({
|
|
2688
2689
|
accounts: n.map((O) => O.guid),
|
|
@@ -2704,8 +2705,8 @@ const zo = ({ total: t }) => {
|
|
|
2704
2705
|
})[f.step], [x, f, K, H, u]), N = n.length > 0, me = h.useMemo(() => {
|
|
2705
2706
|
const { step: O } = f;
|
|
2706
2707
|
let B = 0;
|
|
2707
|
-
return O >= R.MonthlyIncome && N && B++, O >= R.Birthday &&
|
|
2708
|
-
}, [f.step, N,
|
|
2708
|
+
return O >= R.MonthlyIncome && N && B++, O >= R.Birthday && T.length && B++, O >= R.CreditScore && (u.birthday || u.credit_score) && B++, B;
|
|
2709
|
+
}, [f.step, N, T.length, u.birthday, u.credit_score]), Ee = (O) => {
|
|
2709
2710
|
d({
|
|
2710
2711
|
...c,
|
|
2711
2712
|
custom: (B) => O ? co(B, O) : ct(B)
|
|
@@ -2722,14 +2723,14 @@ const zo = ({ total: t }) => {
|
|
|
2722
2723
|
Rr,
|
|
2723
2724
|
{
|
|
2724
2725
|
firstDay: g,
|
|
2725
|
-
frequency:
|
|
2726
|
-
incomeTransactions:
|
|
2726
|
+
frequency: A,
|
|
2727
|
+
incomeTransactions: T,
|
|
2727
2728
|
secondDay: te,
|
|
2728
2729
|
setCurrentStep: (O) => {
|
|
2729
2730
|
C(O), F((B) => {
|
|
2730
2731
|
if (B.some((se) => se.guid === H)) return B.filter((se) => se.guid !== H);
|
|
2731
|
-
const
|
|
2732
|
-
return
|
|
2732
|
+
const Te = p.find((se) => se.guid === H);
|
|
2733
|
+
return Te ? [...B, { ...Te, firstDay: g, frequency: A, secondDay: te }] : B;
|
|
2733
2734
|
});
|
|
2734
2735
|
},
|
|
2735
2736
|
setFirstDay: y,
|
|
@@ -2767,7 +2768,7 @@ const zo = ({ total: t }) => {
|
|
|
2767
2768
|
}, Qe = () => {
|
|
2768
2769
|
C(lt), G(!1), he(""), o();
|
|
2769
2770
|
}, Ze = async () => {
|
|
2770
|
-
G(!0), await Nt(
|
|
2771
|
+
G(!0), await Nt(T), await r(), await w({ ...m, has_completed_finstrong_onboarding: !0 }), Qe();
|
|
2771
2772
|
}, zt = () => {
|
|
2772
2773
|
if (f.step === R.CreditScore) {
|
|
2773
2774
|
Ze();
|
|
@@ -2784,9 +2785,9 @@ const zo = ({ total: t }) => {
|
|
|
2784
2785
|
x && x !== u.credit_score && b({ ...u, credit_score: x }), Ze();
|
|
2785
2786
|
return;
|
|
2786
2787
|
case R.MonthlyIncome:
|
|
2787
|
-
H &&
|
|
2788
|
+
H && T.findIndex(({ guid: ye }) => ye === H) === -1 && F((ye) => [
|
|
2788
2789
|
...ye,
|
|
2789
|
-
{ ...ne, firstDay: g, frequency:
|
|
2790
|
+
{ ...ne, firstDay: g, frequency: A, secondDay: te }
|
|
2790
2791
|
]);
|
|
2791
2792
|
break;
|
|
2792
2793
|
case R.ConnectAccounts:
|
|
@@ -2803,7 +2804,7 @@ const zo = ({ total: t }) => {
|
|
|
2803
2804
|
C({ step: O, type: "main" });
|
|
2804
2805
|
return;
|
|
2805
2806
|
}
|
|
2806
|
-
if (O === R.Birthday &&
|
|
2807
|
+
if (O === R.Birthday && T.length) {
|
|
2807
2808
|
C({ step: O - 1, type: "detail" });
|
|
2808
2809
|
return;
|
|
2809
2810
|
}
|
|
@@ -2812,11 +2813,11 @@ const zo = ({ total: t }) => {
|
|
|
2812
2813
|
for (const B of O) {
|
|
2813
2814
|
const {
|
|
2814
2815
|
account_guid: ye,
|
|
2815
|
-
amount:
|
|
2816
|
+
amount: Te,
|
|
2816
2817
|
date: se,
|
|
2817
2818
|
description: Vt,
|
|
2818
|
-
feed_description:
|
|
2819
|
-
firstDay:
|
|
2819
|
+
feed_description: Yt,
|
|
2820
|
+
firstDay: Xt,
|
|
2820
2821
|
frequency: Je,
|
|
2821
2822
|
secondDay: qt,
|
|
2822
2823
|
merchant_guid: Ut,
|
|
@@ -2824,14 +2825,14 @@ const zo = ({ total: t }) => {
|
|
|
2824
2825
|
transaction_type: Zt
|
|
2825
2826
|
} = B, Jt = zn(Je, ro(se)), en = {
|
|
2826
2827
|
account_guid: ye,
|
|
2827
|
-
amount:
|
|
2828
|
+
amount: Te,
|
|
2828
2829
|
created_by: 0,
|
|
2829
|
-
description: Qt || Vt ||
|
|
2830
|
+
description: Qt || Vt || Yt,
|
|
2830
2831
|
merchant_guid: Ut,
|
|
2831
2832
|
predicted_occurs_on: oo(Jt, { representation: "date" }),
|
|
2832
|
-
recurrence_day:
|
|
2833
|
+
recurrence_day: Xt,
|
|
2833
2834
|
recurrence_type: Je,
|
|
2834
|
-
repeating_transaction_type:
|
|
2835
|
+
repeating_transaction_type: Ot.Income,
|
|
2835
2836
|
second_recurrence_day: qt,
|
|
2836
2837
|
transaction_type: Zt,
|
|
2837
2838
|
user_guid: u.guid
|
|
@@ -2860,7 +2861,7 @@ const zo = ({ total: t }) => {
|
|
|
2860
2861
|
...!E && { onPrimaryAction: Gt },
|
|
2861
2862
|
children: /* @__PURE__ */ i(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
|
|
2862
2863
|
E && /* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 24, position: "relative", px: 16, top: 126 }, children: [
|
|
2863
|
-
/* @__PURE__ */ e("img", { alt: "", src:
|
|
2864
|
+
/* @__PURE__ */ e("img", { alt: "", src: Ao, style: { minHeight: 100, width: 211 } }),
|
|
2864
2865
|
/* @__PURE__ */ e(Fe, { children: s.onboarding_calculate_primary }),
|
|
2865
2866
|
/* @__PURE__ */ e(D, { sx: { textAlign: "center" }, variant: "subtitle1", children: s.onboarding_calculate_secondary })
|
|
2866
2867
|
] }),
|
|
@@ -2938,7 +2939,7 @@ const zo = ({ total: t }) => {
|
|
|
2938
2939
|
},
|
|
2939
2940
|
onSecondaryAction: o,
|
|
2940
2941
|
title: n.date_of_birth,
|
|
2941
|
-
children: /* @__PURE__ */ e(_, { sx: { bgcolor: "background.default", height: "100%" }, children: /* @__PURE__ */ e(ho, { dateAdapter:
|
|
2942
|
+
children: /* @__PURE__ */ e(_, { sx: { bgcolor: "background.default", height: "100%" }, children: /* @__PURE__ */ e(ho, { dateAdapter: Tt, children: /* @__PURE__ */ e(
|
|
2942
2943
|
_o,
|
|
2943
2944
|
{
|
|
2944
2945
|
disableFuture: !0,
|
|
@@ -2987,7 +2988,7 @@ const zo = ({ total: t }) => {
|
|
|
2987
2988
|
recurring: l
|
|
2988
2989
|
} = v(), { repeatingTransactions: c } = Ve(), { user: d } = ee(), p = c.reduce((x, S) => {
|
|
2989
2990
|
const { repeating_transaction_type: f, transactions: C, recurrence_type: g, amount: y } = S;
|
|
2990
|
-
return f ===
|
|
2991
|
+
return f === Ot.Income && (C && C.length > 0 || g === At.EveryYear) ? x + y : x;
|
|
2991
2992
|
}, 0), [u, m] = h.useState(null), w = [
|
|
2992
2993
|
{
|
|
2993
2994
|
dynamicCopy: a.add_profile_item,
|
|
@@ -3029,7 +3030,7 @@ const zo = ({ total: t }) => {
|
|
|
3029
3030
|
/* @__PURE__ */ i(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
|
|
3030
3031
|
/* @__PURE__ */ i(_, { sx: { gap: 20, p: 24 }, children: [
|
|
3031
3032
|
/* @__PURE__ */ i(_, { sx: { gap: 8 }, children: [
|
|
3032
|
-
/* @__PURE__ */ e(
|
|
3033
|
+
/* @__PURE__ */ e(Y, { children: a.your_financial_profile }),
|
|
3033
3034
|
/* @__PURE__ */ e(D, { children: a.financial_profile_description })
|
|
3034
3035
|
] }),
|
|
3035
3036
|
/* @__PURE__ */ e(
|
|
@@ -3040,7 +3041,7 @@ const zo = ({ total: t }) => {
|
|
|
3040
3041
|
}
|
|
3041
3042
|
)
|
|
3042
3043
|
] }),
|
|
3043
|
-
/* @__PURE__ */ e(
|
|
3044
|
+
/* @__PURE__ */ e(Tn, { list: w, onClickItem: m }),
|
|
3044
3045
|
/* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(
|
|
3045
3046
|
Be,
|
|
3046
3047
|
{
|
|
@@ -3118,7 +3119,7 @@ const zo = ({ total: t }) => {
|
|
|
3118
3119
|
f
|
|
3119
3120
|
] });
|
|
3120
3121
|
};
|
|
3121
|
-
return /* @__PURE__ */ i(
|
|
3122
|
+
return /* @__PURE__ */ i(X, { children: [
|
|
3122
3123
|
/* @__PURE__ */ e(
|
|
3123
3124
|
M,
|
|
3124
3125
|
{
|
|
@@ -3145,11 +3146,11 @@ const zo = ({ total: t }) => {
|
|
|
3145
3146
|
justifyContent: "center",
|
|
3146
3147
|
width: 48
|
|
3147
3148
|
},
|
|
3148
|
-
children: /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "
|
|
3149
|
+
children: /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body1", children: r > 0 ? `+${r}` : r })
|
|
3149
3150
|
}
|
|
3150
3151
|
),
|
|
3151
3152
|
/* @__PURE__ */ i(_, { sx: { gap: 2, width: "80%" }, children: [
|
|
3152
|
-
/* @__PURE__ */ e(I, { fontWeight: 600, variant: "
|
|
3153
|
+
/* @__PURE__ */ e(I, { fontWeight: 600, variant: "body1", children: w() }),
|
|
3153
3154
|
/* @__PURE__ */ i(I, { sx: { color: "text.secondary" }, variant: "subtitle2", children: [
|
|
3154
3155
|
m,
|
|
3155
3156
|
" ",
|
|
@@ -3198,7 +3199,7 @@ const zo = ({ total: t }) => {
|
|
|
3198
3199
|
}
|
|
3199
3200
|
) })
|
|
3200
3201
|
] });
|
|
3201
|
-
}, Vr = k(Kr),
|
|
3202
|
+
}, Vr = k(Kr), Yr = ({ isOpen: t, onClose: o }) => {
|
|
3202
3203
|
const n = z(), { finstrong: r } = v(), { isCopyLoaded: s, isInitialized: a } = J(), { augmentedChartData: l, healthScore: c, healthScoreChangeReports: d, peerScore: p } = L();
|
|
3203
3204
|
if (!s || !a) return /* @__PURE__ */ e(U, {});
|
|
3204
3205
|
const u = Ne(c.health_score || 0, r), m = d.slice().reverse();
|
|
@@ -3214,7 +3215,7 @@ const zo = ({ total: t }) => {
|
|
|
3214
3215
|
borderColor: "divider"
|
|
3215
3216
|
},
|
|
3216
3217
|
children: /* @__PURE__ */ e(
|
|
3217
|
-
|
|
3218
|
+
Ye,
|
|
3218
3219
|
{
|
|
3219
3220
|
axisColor: n.palette.divider,
|
|
3220
3221
|
baseline: "min",
|
|
@@ -3259,7 +3260,7 @@ const zo = ({ total: t }) => {
|
|
|
3259
3260
|
),
|
|
3260
3261
|
/* @__PURE__ */ i(_, { sx: { gap: 4 }, children: [
|
|
3261
3262
|
/* @__PURE__ */ e(D, { variant: "h3", children: u.status }),
|
|
3262
|
-
/* @__PURE__ */ e(D, { variant: "
|
|
3263
|
+
/* @__PURE__ */ e(D, { variant: "caption", children: u.description })
|
|
3263
3264
|
] })
|
|
3264
3265
|
] })
|
|
3265
3266
|
}
|
|
@@ -3267,7 +3268,7 @@ const zo = ({ total: t }) => {
|
|
|
3267
3268
|
children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: m.map((b, w) => /* @__PURE__ */ e(Vr, { report: b }, w)) })
|
|
3268
3269
|
}
|
|
3269
3270
|
);
|
|
3270
|
-
},
|
|
3271
|
+
}, Xr = k(Yr), qr = ({ copy: t }) => {
|
|
3271
3272
|
const o = z(), n = [
|
|
3272
3273
|
o.palette.chartMono.chartMono5,
|
|
3273
3274
|
o.palette.chartMono.chartMono4,
|
|
@@ -3332,7 +3333,7 @@ const zo = ({ total: t }) => {
|
|
|
3332
3333
|
return r ? /* @__PURE__ */ e(re, { isOpen: t, onClose: o, title: n.score_rubric, children: /* @__PURE__ */ i(_, { sx: { bgcolor: "background.default", gap: 36, height: "100%", p: 24 }, children: [
|
|
3333
3334
|
/* @__PURE__ */ i(_, { sx: { gap: 20 }, children: [
|
|
3334
3335
|
/* @__PURE__ */ i(_, { sx: { gap: 8 }, children: [
|
|
3335
|
-
/* @__PURE__ */ e(
|
|
3336
|
+
/* @__PURE__ */ e(Y, { sx: { textWrap: "wrap" }, children: n.your_path_to_financial_freedom }),
|
|
3336
3337
|
/* @__PURE__ */ e(D, { variant: "subtitle1", children: n.finstrong_freedom_description })
|
|
3337
3338
|
] }),
|
|
3338
3339
|
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(qr, { copy: n }) })
|
|
@@ -3409,9 +3410,9 @@ const zo = ({ total: t }) => {
|
|
|
3409
3410
|
] }) }) : /* @__PURE__ */ e(U, {});
|
|
3410
3411
|
}, Qr = k(Ur), Zr = k(() => {
|
|
3411
3412
|
const [t, o] = h.useState(!1), n = z(), [r, { width: s }] = Ct(), { finstrong: a } = v(), { isCopyLoaded: l, isInitialized: c } = J(), { healthScore: d, healthScoreChange: p } = L(), u = n.palette.mode === "dark", m = Ne(d?.health_score, a);
|
|
3412
|
-
return !l || !c ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ i(
|
|
3413
|
+
return !l || !c ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ i(X, { ref: r, sx: { p: 16, display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
3413
3414
|
/* @__PURE__ */ i(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
3414
|
-
/* @__PURE__ */ e(
|
|
3415
|
+
/* @__PURE__ */ e(Y, { children: a.financial_strength_header }),
|
|
3415
3416
|
/* @__PURE__ */ e(
|
|
3416
3417
|
P,
|
|
3417
3418
|
{
|
|
@@ -3521,7 +3522,7 @@ const zo = ({ total: t }) => {
|
|
|
3521
3522
|
loadPeerScore: x,
|
|
3522
3523
|
peerScore: S,
|
|
3523
3524
|
healthScore: f
|
|
3524
|
-
} = p, { finstrong: C, connect: g } = v(), { isInitialized: y } = J(), { loadRepeatingTransactionData:
|
|
3525
|
+
} = p, { finstrong: C, connect: g } = v(), { isInitialized: y } = J(), { loadRepeatingTransactionData: A, isDataLoaded: $ } = Ve(), { isSmallMobile: T } = qe(), F = z(), { userProfile: E } = ee(), [G, ve] = h.useState(!1), [ue, K] = h.useState(!1), [ie, te] = h.useState(!1), [q, H] = h.useState(!1), [he, ne] = h.useState(!1);
|
|
3525
3526
|
Mo({
|
|
3526
3527
|
widgetName: "FinstrongWidget",
|
|
3527
3528
|
isLoaded: G
|
|
@@ -3534,7 +3535,7 @@ const zo = ({ total: t }) => {
|
|
|
3534
3535
|
}, [y]), h.useEffect(() => {
|
|
3535
3536
|
y && (d(r, s.start, s.end).finally(() => {
|
|
3536
3537
|
ve(!0);
|
|
3537
|
-
}), a || (l(),
|
|
3538
|
+
}), a || (l(), A().finally()));
|
|
3538
3539
|
}, [s, a, y, r]), h.useEffect(() => {
|
|
3539
3540
|
f?.health_score && b().finally();
|
|
3540
3541
|
}, [f.health_score]);
|
|
@@ -3558,11 +3559,11 @@ const zo = ({ total: t }) => {
|
|
|
3558
3559
|
showAccountFilter: !1,
|
|
3559
3560
|
sx: {
|
|
3560
3561
|
"& .MuiCardHeader-root": {
|
|
3561
|
-
px:
|
|
3562
|
-
pt:
|
|
3562
|
+
px: T ? 16 : 48,
|
|
3563
|
+
pt: T ? 12 : 48
|
|
3563
3564
|
},
|
|
3564
3565
|
"& .MuiDivider-root": {
|
|
3565
|
-
mt:
|
|
3566
|
+
mt: T ? 12 : 24
|
|
3566
3567
|
},
|
|
3567
3568
|
...o
|
|
3568
3569
|
},
|
|
@@ -3576,8 +3577,8 @@ const zo = ({ total: t }) => {
|
|
|
3576
3577
|
flexDirection: { md: "row" },
|
|
3577
3578
|
gap: 24,
|
|
3578
3579
|
justifyContent: "center",
|
|
3579
|
-
pt:
|
|
3580
|
-
px:
|
|
3580
|
+
pt: T ? 16 : 24,
|
|
3581
|
+
px: T ? 16 : 48
|
|
3581
3582
|
},
|
|
3582
3583
|
children: [
|
|
3583
3584
|
/* @__PURE__ */ i(_, { sx: { gap: 24, width: { md: 432 }, height: "100%" }, children: [
|
|
@@ -3591,14 +3592,14 @@ const zo = ({ total: t }) => {
|
|
|
3591
3592
|
}
|
|
3592
3593
|
)
|
|
3593
3594
|
] }),
|
|
3594
|
-
/* @__PURE__ */ e(_, { sx: { maxWidth: 848, width: { md: 720 } }, children: /* @__PURE__ */ i(
|
|
3595
|
+
/* @__PURE__ */ e(_, { sx: { maxWidth: 848, width: { md: 720 } }, children: /* @__PURE__ */ i(X, { sx: { height: "100%", p: 16 }, children: [
|
|
3595
3596
|
/* @__PURE__ */ i(
|
|
3596
3597
|
_,
|
|
3597
3598
|
{
|
|
3598
3599
|
direction: "row",
|
|
3599
3600
|
sx: { alignItems: "center", gap: 12, justifyContent: "space-between" },
|
|
3600
3601
|
children: [
|
|
3601
|
-
/* @__PURE__ */ e(
|
|
3602
|
+
/* @__PURE__ */ e(Y, { children: C.key_indicators }),
|
|
3602
3603
|
/* @__PURE__ */ e(
|
|
3603
3604
|
P,
|
|
3604
3605
|
{
|
|
@@ -3619,7 +3620,7 @@ const zo = ({ total: t }) => {
|
|
|
3619
3620
|
}
|
|
3620
3621
|
),
|
|
3621
3622
|
me ? /* @__PURE__ */ e(
|
|
3622
|
-
|
|
3623
|
+
Ye,
|
|
3623
3624
|
{
|
|
3624
3625
|
axisColor: F.palette.divider,
|
|
3625
3626
|
baseline: "min",
|
|
@@ -3627,13 +3628,14 @@ const zo = ({ total: t }) => {
|
|
|
3627
3628
|
curveType: "natural",
|
|
3628
3629
|
customLegendBoxSx: { borderRadius: "2px" },
|
|
3629
3630
|
customLegendSx: { left: 0 },
|
|
3630
|
-
customLegendVariant: "
|
|
3631
|
+
customLegendVariant: "caption",
|
|
3631
3632
|
datasets: [u],
|
|
3632
3633
|
height: 300,
|
|
3634
|
+
isCurrency: !1,
|
|
3633
3635
|
isGraphClippingXAxis: !0,
|
|
3634
|
-
labelBackgroundColor: F.palette.
|
|
3636
|
+
labelBackgroundColor: F.palette.neutral.dark,
|
|
3635
3637
|
labelFontColor: F.palette.common.white,
|
|
3636
|
-
labelFontSize: typeof F.typography.
|
|
3638
|
+
labelFontSize: typeof F.typography.caption?.fontSize == "string" ? parseFloat(F.typography.caption.fontSize) : F.typography.caption?.fontSize,
|
|
3637
3639
|
labels: [C.key_indicators_label],
|
|
3638
3640
|
margin: { right: 12, left: -37 },
|
|
3639
3641
|
peerAverage: N,
|
|
@@ -3645,7 +3647,7 @@ const zo = ({ total: t }) => {
|
|
|
3645
3647
|
showXAxis: !0,
|
|
3646
3648
|
title: C.peer_average
|
|
3647
3649
|
}
|
|
3648
|
-
) : /* @__PURE__ */ e(
|
|
3650
|
+
) : /* @__PURE__ */ e(Ar, { onClick: () => ne(!0) }),
|
|
3649
3651
|
/* @__PURE__ */ e(Ir, {})
|
|
3650
3652
|
] }) })
|
|
3651
3653
|
]
|
|
@@ -3661,7 +3663,7 @@ const zo = ({ total: t }) => {
|
|
|
3661
3663
|
}
|
|
3662
3664
|
),
|
|
3663
3665
|
/* @__PURE__ */ e(
|
|
3664
|
-
|
|
3666
|
+
Xr,
|
|
3665
3667
|
{
|
|
3666
3668
|
isOpen: q,
|
|
3667
3669
|
onClose: () => H(!1)
|
|
@@ -3670,12 +3672,12 @@ const zo = ({ total: t }) => {
|
|
|
3670
3672
|
]
|
|
3671
3673
|
}
|
|
3672
3674
|
);
|
|
3673
|
-
},
|
|
3675
|
+
}, xi = k(Jr);
|
|
3674
3676
|
export {
|
|
3675
|
-
|
|
3677
|
+
To as CreditScoreGraph,
|
|
3676
3678
|
Rt as DialScoreCard,
|
|
3677
3679
|
Lt as FinancialStrengthGraph,
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3680
|
+
vi as FinstrongApi,
|
|
3681
|
+
wi as FinstrongStore,
|
|
3682
|
+
xi as FinstrongWidget
|
|
3681
3683
|
};
|