@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +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-PKlh8caU.mjs} +6 -6
- 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 +987 -874
- 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,422 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import E from "react";
|
|
3
|
-
import T from "@mui/material/Button";
|
|
4
|
-
import I from "@mui/material/Card";
|
|
5
|
-
import N from "@mui/material/CardContent";
|
|
6
|
-
import w from "@mui/material/CardHeader";
|
|
7
|
-
import O from "@mui/material/Stack";
|
|
8
|
-
import { AccountBalance as L, ChevronRight as S } from "@mxenabled/mx-icons";
|
|
9
|
-
import { Text as g } from "@mxenabled/mxui";
|
|
10
|
-
import { b as y } from "./GlobalAccountFilter-BpWlPAl5.mjs";
|
|
11
|
-
import { a as b } from "./hooks-fY_n74f7.mjs";
|
|
12
|
-
import { makeAutoObservable as D, runInAction as _ } from "mobx";
|
|
13
|
-
import { F, A as i } from "./Fetch-DecPFeGU.mjs";
|
|
14
|
-
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
15
|
-
import { addYears as v } from "date-fns/addYears";
|
|
16
|
-
import { getUnixTime as x } from "date-fns/getUnixTime";
|
|
17
|
-
import { b as d } from "./Localization-2MODESHW.mjs";
|
|
18
|
-
import { a as K } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
19
|
-
import { f as P, D as B } from "./Dialog-CWymUiuO.mjs";
|
|
20
|
-
const nt = ({ description: o, label: t, title: e }) => {
|
|
21
|
-
const { config: r } = b(), [a, s] = E.useState(!1);
|
|
22
|
-
return /* @__PURE__ */ u(E.Fragment, { children: [
|
|
23
|
-
/* @__PURE__ */ u(I, { sx: { m: 24 }, children: [
|
|
24
|
-
/* @__PURE__ */ l(
|
|
25
|
-
w,
|
|
26
|
-
{
|
|
27
|
-
avatar: /* @__PURE__ */ l(L, {}),
|
|
28
|
-
sx: { ".MuiCardHeader-avatar": { mr: 8 } },
|
|
29
|
-
title: /* @__PURE__ */ l(g, { bold: !0, variant: "Body", children: e })
|
|
30
|
-
}
|
|
31
|
-
),
|
|
32
|
-
/* @__PURE__ */ l(N, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ u(O, { alignItems: "flex-start", spacing: 2, children: [
|
|
33
|
-
/* @__PURE__ */ l(g, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: o }),
|
|
34
|
-
r.show_connections_widget_in_master && /* @__PURE__ */ l(
|
|
35
|
-
T,
|
|
36
|
-
{
|
|
37
|
-
endIcon: /* @__PURE__ */ l(S, {}),
|
|
38
|
-
onClick: () => s(!0),
|
|
39
|
-
sx: {
|
|
40
|
-
pl: 0,
|
|
41
|
-
":hover": {
|
|
42
|
-
bgcolor: "unset"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
variant: "text",
|
|
46
|
-
children: t
|
|
47
|
-
}
|
|
48
|
-
)
|
|
49
|
-
] }) })
|
|
50
|
-
] }),
|
|
51
|
-
/* @__PURE__ */ l(
|
|
52
|
-
y,
|
|
53
|
-
{
|
|
54
|
-
onClose: () => s(!1),
|
|
55
|
-
showConnectWidget: a,
|
|
56
|
-
title: t
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
] });
|
|
60
|
-
};
|
|
61
|
-
var n = /* @__PURE__ */ ((o) => (o[o.DEBT_TRACK = 1] = "DEBT_TRACK", o[o.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", o[o.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", o[o.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", o))(n || {}), $ = /* @__PURE__ */ ((o) => (o[o.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", o[o.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", o[o.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", o[o.ACTION = 4] = "ACTION", o))($ || {}), c = /* @__PURE__ */ ((o) => (o[o.AUTOMOBILE = 1] = "AUTOMOBILE", o[o.COLLEGE = 2] = "COLLEGE", o[o.HOUSE = 3] = "HOUSE", o[o.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", o[o.VACATION = 5] = "VACATION", o[o.ELECTRONIC = 6] = "ELECTRONIC", o[o.OTHER = 7] = "OTHER", o[o.RETIREMENT = 8] = "RETIREMENT", o[o.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", o[o.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", o[o.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", o[o.CREDIT_CARD = 12] = "CREDIT_CARD", o[o.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", o[o.LOANS = 14] = "LOANS", o))(c || {});
|
|
62
|
-
class A {
|
|
63
|
-
fetchInstance;
|
|
64
|
-
constructor(t, e, r) {
|
|
65
|
-
this.fetchInstance = new F(t, e, void 0, r);
|
|
66
|
-
}
|
|
67
|
-
addGoal = async (t) => this.fetchInstance.post(i.GOALS, t).then((e) => e.goal);
|
|
68
|
-
addRetirementGoal = async (t) => this.fetchInstance.post(i.RETIREMENT_GOALS, t).then((e) => e.retirement_goal);
|
|
69
|
-
addRetirementGoalAccount = async (t) => this.fetchInstance.post(i.RETIREMENT_GOAL_ACCOUNTS, t).then((e) => e.retirement_goal_account);
|
|
70
|
-
getGoalByGuid = async (t) => this.fetchInstance.get(`${i.GOALS}/${t}`).then((e) => e.goal);
|
|
71
|
-
getGoals = async () => this.fetchInstance.get(i.GOALS).then((t) => t.goals);
|
|
72
|
-
getMonthlyCashFlowProfile = async () => this.fetchInstance.get(i.MONTHLY_CASH_FLOW_PROFILE).then((t) => t.monthly_cash_flow_profile);
|
|
73
|
-
getRetirementGoals = async () => this.fetchInstance.get(i.RETIREMENT_GOALS).then((t) => t.retirement_goals);
|
|
74
|
-
getRetirementGoalAccounts = async () => this.fetchInstance.get(i.RETIREMENT_GOAL_ACCOUNTS).then((t) => t.retirement_goal_accounts);
|
|
75
|
-
removeGoal = async (t) => this.fetchInstance.delete(`${i.GOALS}/${t}`).then((e) => e);
|
|
76
|
-
removeRetirementGoal = async (t) => this.fetchInstance.delete(`${i.RETIREMENT_GOALS}/${t}`).then((e) => e);
|
|
77
|
-
removeRetirementGoalAccount = async (t) => this.fetchInstance.delete(`${i.RETIREMENT_GOAL_ACCOUNTS}/${t}`).then((e) => e);
|
|
78
|
-
reorderGoals = async (t) => this.fetchInstance.post(`${i.GOALS}/reposition`, { goals: t }).then((e) => e.goals);
|
|
79
|
-
updateGoal = async (t) => this.fetchInstance.put(`${i.GOALS}/${t.guid}`, t).then((e) => e.goal);
|
|
80
|
-
updateMonthlyCashFlowProfile = async (t) => this.fetchInstance.put(`${i.MONTHLY_CASH_FLOW_PROFILE}`, t).then((e) => e.monthly_cash_flow_profile);
|
|
81
|
-
updateRetirementGoal = async (t) => this.fetchInstance.put(`${i.RETIREMENT_GOALS}/${t.guid}`, t).then((e) => e.retirement_goal);
|
|
82
|
-
}
|
|
83
|
-
function it(o, t) {
|
|
84
|
-
const e = t.track_type === n.DEBT_TRACK ? t.initial_amount : t.amount;
|
|
85
|
-
let r = t.current_amount / e;
|
|
86
|
-
r > 1 && (r = 1), r = t.track_type === n.DEBT_TRACK ? 1 - r : r, isNaN(r) && (r = 1);
|
|
87
|
-
let a = "chart.chart1", s = "common.black";
|
|
88
|
-
t.track_type === n.DEBT_TRACK ? (s = "common.white", a = "chart.chart5") : t.track_type === n.RETIREMENT_TRACK && (a = "chart.chart6");
|
|
89
|
-
const h = {
|
|
90
|
-
style: "percent",
|
|
91
|
-
minimumFractionDigits: 0,
|
|
92
|
-
maximumFractionDigits: 0
|
|
93
|
-
}, m = t.is_complete ? t.completed_at : t.projected_to_complete_at, f = m ? R(m) : /* @__PURE__ */ new Date(), C = d(
|
|
94
|
-
o.goal_percentage,
|
|
95
|
-
K(r, h)
|
|
96
|
-
), p = d(
|
|
97
|
-
t.is_complete ? o.completed_label : o.goal_projection,
|
|
98
|
-
P(f, B.MONTH_SHORT_YEAR)
|
|
99
|
-
);
|
|
100
|
-
return {
|
|
101
|
-
backgroundColor: a,
|
|
102
|
-
color: s,
|
|
103
|
-
percentage: r,
|
|
104
|
-
percentageText: C,
|
|
105
|
-
projectedText: p
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function st(o) {
|
|
109
|
-
return [
|
|
110
|
-
{
|
|
111
|
-
bgcolor: "chart.chart1",
|
|
112
|
-
icon: "attach_money",
|
|
113
|
-
label: o.saving_goal_label,
|
|
114
|
-
description: o.saving_goal_description,
|
|
115
|
-
subTypes: [
|
|
116
|
-
{
|
|
117
|
-
icon: "ecg_heart",
|
|
118
|
-
label: o.saving_goal_emergency_fund,
|
|
119
|
-
metaType: c.EMERGENCY_FUND
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
icon: "directions_car",
|
|
123
|
-
label: o.saving_gaol_automobile,
|
|
124
|
-
metaType: c.AUTOMOBILE
|
|
125
|
-
},
|
|
126
|
-
{ icon: "school", label: o.saving_goal_college, metaType: c.COLLEGE },
|
|
127
|
-
{ icon: "home", label: o.saving_goal_home, metaType: c.HOUSE },
|
|
128
|
-
{
|
|
129
|
-
icon: "mountain_flag",
|
|
130
|
-
label: o.saving_goal_recreational,
|
|
131
|
-
metaType: c.RECREATIONAL_VEHICLE
|
|
132
|
-
},
|
|
133
|
-
{ icon: "airplane_ticket", label: o.saving_goal_vacation, metaType: c.VACATION },
|
|
134
|
-
{
|
|
135
|
-
icon: "desktop_windows",
|
|
136
|
-
label: o.saving_goal_electronic,
|
|
137
|
-
metaType: c.ELECTRONIC
|
|
138
|
-
},
|
|
139
|
-
{ icon: "payments", label: o.saving_goal_other, metaType: c.OTHER }
|
|
140
|
-
],
|
|
141
|
-
type: n.SAVINGS_TRACK
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
bgcolor: "chart.chart5",
|
|
145
|
-
icon: "note_stack",
|
|
146
|
-
label: o.debt_goal_label,
|
|
147
|
-
description: o.debt_goal_description,
|
|
148
|
-
subTypes: [],
|
|
149
|
-
type: n.DEBT_TRACK
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
bgcolor: "chart.chart6",
|
|
153
|
-
icon: "person",
|
|
154
|
-
label: o.retirement_goal_label,
|
|
155
|
-
description: o.retirement_goal_description,
|
|
156
|
-
subTypes: [],
|
|
157
|
-
type: n.RETIREMENT_TRACK
|
|
158
|
-
}
|
|
159
|
-
];
|
|
160
|
-
}
|
|
161
|
-
const ct = (o, t) => {
|
|
162
|
-
switch (o) {
|
|
163
|
-
case n.DEBT_TRACK:
|
|
164
|
-
return d(t.zero_state_ongoing, "debt");
|
|
165
|
-
case n.SAVINGS_TRACK:
|
|
166
|
-
return d(t.zero_state_ongoing, "saving");
|
|
167
|
-
default:
|
|
168
|
-
return d(t.zero_state_ongoing, "retirement");
|
|
169
|
-
}
|
|
170
|
-
}, G = (o, t) => {
|
|
171
|
-
const e = R(t), r = v(e, o);
|
|
172
|
-
return x(r);
|
|
173
|
-
};
|
|
174
|
-
class lt {
|
|
175
|
-
globalStore;
|
|
176
|
-
api = new A("/", "");
|
|
177
|
-
goals = [];
|
|
178
|
-
goalsLoaded = !1;
|
|
179
|
-
retirementGoals = [];
|
|
180
|
-
retirementGoalsLoaded = !1;
|
|
181
|
-
retirementGoalAccounts = [];
|
|
182
|
-
retirementGoalAccountsLoaded = !1;
|
|
183
|
-
monthlyCashFlowProfile = void 0;
|
|
184
|
-
monthlyCashFlowProfileLoaded = !1;
|
|
185
|
-
newRetirementGoalAccounts = [];
|
|
186
|
-
alert = "";
|
|
187
|
-
selectedGoal = void 0;
|
|
188
|
-
constructor(t) {
|
|
189
|
-
this.globalStore = t, this.api = new A(t.endpoint, t.sessionToken, t.onError), D(this);
|
|
190
|
-
}
|
|
191
|
-
get allGoals() {
|
|
192
|
-
if (!this.isAllGoalDataLoaded) return [];
|
|
193
|
-
const t = this.globalStore.copyStore.copy.goals, e = this.globalStore.userStore.user.birthday;
|
|
194
|
-
return [
|
|
195
|
-
...this.goals,
|
|
196
|
-
...this.retirementGoals.map((r) => ({
|
|
197
|
-
...r,
|
|
198
|
-
amount: r.target_amount,
|
|
199
|
-
name: t.retirement,
|
|
200
|
-
track_type: n.RETIREMENT_TRACK,
|
|
201
|
-
projected_to_complete_at: r.retirement_age && e ? G(r.retirement_age, e) : void 0
|
|
202
|
-
}))
|
|
203
|
-
];
|
|
204
|
-
}
|
|
205
|
-
get orderedGoals() {
|
|
206
|
-
return this.allGoals.slice().sort((t, e) => t.position - e.position);
|
|
207
|
-
}
|
|
208
|
-
get debtGoals() {
|
|
209
|
-
return this.orderedGoals.filter((t) => t.track_type === n.DEBT_TRACK);
|
|
210
|
-
}
|
|
211
|
-
get retirmentGoals() {
|
|
212
|
-
return this.orderedGoals.filter((t) => t.track_type === n.RETIREMENT_TRACK);
|
|
213
|
-
}
|
|
214
|
-
get savingGoals() {
|
|
215
|
-
return this.orderedGoals.filter((t) => t.track_type === n.SAVINGS_TRACK);
|
|
216
|
-
}
|
|
217
|
-
get ongoingGoalsForMicroWidget() {
|
|
218
|
-
const t = this.allGoals.filter(
|
|
219
|
-
(r) => !r.is_complete && r.track_type !== n.EMERGENCY_FUND_TRACK && r.track_type !== null
|
|
220
|
-
), e = [
|
|
221
|
-
n.SAVINGS_TRACK,
|
|
222
|
-
n.DEBT_TRACK,
|
|
223
|
-
n.RETIREMENT_TRACK
|
|
224
|
-
];
|
|
225
|
-
return t.sort((r, a) => {
|
|
226
|
-
const s = r.track_type ? e.indexOf(r.track_type) : -1, h = a.track_type ? e.indexOf(a.track_type) : -1;
|
|
227
|
-
return s - h;
|
|
228
|
-
}).slice(0, 3);
|
|
229
|
-
}
|
|
230
|
-
get isAllGoalDataLoaded() {
|
|
231
|
-
return this.goalsLoaded && this.retirementGoalsLoaded && this.retirementGoalAccountsLoaded && this.monthlyCashFlowProfileLoaded;
|
|
232
|
-
}
|
|
233
|
-
setGoals = (t) => {
|
|
234
|
-
this.goals = t, this.goalsLoaded = !0;
|
|
235
|
-
};
|
|
236
|
-
setRetirementGoals = (t) => {
|
|
237
|
-
this.retirementGoals = t, this.retirementGoalsLoaded = !0;
|
|
238
|
-
};
|
|
239
|
-
setRetirementGoalAccounts = (t) => {
|
|
240
|
-
this.retirementGoalAccounts = t, this.retirementGoalAccountsLoaded = !0;
|
|
241
|
-
};
|
|
242
|
-
setMonthlyCashFlowProfile = (t) => {
|
|
243
|
-
this.monthlyCashFlowProfile = t, this.monthlyCashFlowProfileLoaded = !0;
|
|
244
|
-
};
|
|
245
|
-
loadGoalData = async () => {
|
|
246
|
-
await Promise.all([
|
|
247
|
-
this.loadGoals(),
|
|
248
|
-
this.loadRetirementGoals(),
|
|
249
|
-
this.loadRetirementGoalAccounts(),
|
|
250
|
-
this.loadMonthlyCashFlowProfile()
|
|
251
|
-
]);
|
|
252
|
-
};
|
|
253
|
-
loadGoals = async () => {
|
|
254
|
-
try {
|
|
255
|
-
const t = await this.api.getGoals();
|
|
256
|
-
this.setGoals(t);
|
|
257
|
-
} catch (t) {
|
|
258
|
-
console.error(`Error occured while getting goals: ${t}`);
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
loadRetirementGoals = async () => {
|
|
262
|
-
try {
|
|
263
|
-
const t = await this.api.getRetirementGoals();
|
|
264
|
-
this.setRetirementGoals(t);
|
|
265
|
-
} catch (t) {
|
|
266
|
-
console.error(`Error occurred while loading retirement goals: ${t}`);
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
loadRetirementGoalAccounts = async () => {
|
|
270
|
-
try {
|
|
271
|
-
const t = await this.api.getRetirementGoalAccounts();
|
|
272
|
-
this.setRetirementGoalAccounts(t);
|
|
273
|
-
} catch (t) {
|
|
274
|
-
console.error(`Error occurred while loading retirement goal accounts: ${t}`);
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
loadMonthlyCashFlowProfile = async () => {
|
|
278
|
-
try {
|
|
279
|
-
const t = await this.api.getMonthlyCashFlowProfile();
|
|
280
|
-
this.setMonthlyCashFlowProfile(t);
|
|
281
|
-
} catch (t) {
|
|
282
|
-
console.error(`Error occurred while loading monthly cash flow profile: ${t}`);
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
addGoal = async (t) => {
|
|
286
|
-
try {
|
|
287
|
-
const e = await this.api.addGoal(t);
|
|
288
|
-
this.setGoals([...this.goals, e]);
|
|
289
|
-
} catch (e) {
|
|
290
|
-
console.error(`Error occurred while adding goal: ${e}`);
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
addRetirementGoal = async (t) => {
|
|
294
|
-
const e = this.globalStore.copyStore.copy.goals;
|
|
295
|
-
try {
|
|
296
|
-
const r = await this.api.addRetirementGoal(t), a = [], s = this.globalStore.userStore.user.birthday;
|
|
297
|
-
for (const h of this.newRetirementGoalAccounts) {
|
|
298
|
-
const m = await this.api.addRetirementGoalAccount({
|
|
299
|
-
...h,
|
|
300
|
-
retirement_goal_guid: r.guid
|
|
301
|
-
});
|
|
302
|
-
a.push(m);
|
|
303
|
-
}
|
|
304
|
-
this.setNewRetirementGoalAccounts([]), this.retirementGoals = [
|
|
305
|
-
...this.retirementGoals,
|
|
306
|
-
{
|
|
307
|
-
...r,
|
|
308
|
-
amount: r.target_amount,
|
|
309
|
-
name: e.retirement,
|
|
310
|
-
track_type: n.RETIREMENT_TRACK,
|
|
311
|
-
projected_to_complete_at: r.retirement_age && s ? G(r.retirement_age, s) : void 0
|
|
312
|
-
}
|
|
313
|
-
], this.setRetirementGoalAccounts([...this.retirementGoalAccounts, ...a]);
|
|
314
|
-
} catch (r) {
|
|
315
|
-
console.error(`Error occurred while adding retirement goal: ${r}`);
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
addRetirementGoalAccount = async (t) => {
|
|
319
|
-
try {
|
|
320
|
-
const e = await this.api.addRetirementGoalAccount(t);
|
|
321
|
-
_(() => {
|
|
322
|
-
this.retirementGoalAccounts = [...this.retirementGoalAccounts, e];
|
|
323
|
-
});
|
|
324
|
-
} catch (e) {
|
|
325
|
-
console.error(`Error occurred while adding retirement goal account: ${e}`);
|
|
326
|
-
}
|
|
327
|
-
};
|
|
328
|
-
deleteGoal = async (t) => {
|
|
329
|
-
try {
|
|
330
|
-
await this.api.removeGoal(t);
|
|
331
|
-
const e = this.goals.findIndex((r) => r.guid === t);
|
|
332
|
-
e >= 0 && this.goals.splice(e, 1);
|
|
333
|
-
} catch (e) {
|
|
334
|
-
console.error(`Error occured while deleting goal: ${e}`);
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
deleteRetirementGoal = async (t) => {
|
|
338
|
-
try {
|
|
339
|
-
const e = this.retirementGoalAccounts.filter(
|
|
340
|
-
(a) => a.retirement_goal_guid === t.guid
|
|
341
|
-
);
|
|
342
|
-
for (const a of e)
|
|
343
|
-
await this.deleteRetirementGoalAccount(a.guid);
|
|
344
|
-
await this.api.removeRetirementGoal(t.guid);
|
|
345
|
-
const r = this.retirementGoals.findIndex((a) => a.guid === t.guid);
|
|
346
|
-
r >= 0 && this.retirementGoals.splice(r, 1);
|
|
347
|
-
} catch (e) {
|
|
348
|
-
console.error(`Error deleting retirement goal: ${e}`);
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
deleteRetirementGoalAccount = async (t) => {
|
|
352
|
-
try {
|
|
353
|
-
await this.api.removeRetirementGoalAccount(t);
|
|
354
|
-
const e = this.retirementGoalAccounts.findIndex((r) => r.guid === t);
|
|
355
|
-
e >= 0 && this.retirementGoalAccounts.splice(e, 1);
|
|
356
|
-
} catch (e) {
|
|
357
|
-
console.error(`Error deleting retirement goal account: ${e}`);
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
reorderGoals = async (t) => {
|
|
361
|
-
try {
|
|
362
|
-
const e = await this.api.reorderGoals(t);
|
|
363
|
-
_(() => {
|
|
364
|
-
for (const r of e) {
|
|
365
|
-
const a = this.goals.findIndex((s) => s.guid === r.guid);
|
|
366
|
-
a >= 0 && (this.goals[a].position = r.position);
|
|
367
|
-
}
|
|
368
|
-
});
|
|
369
|
-
} catch (e) {
|
|
370
|
-
console.error(`Error reordering goals: ${e}`);
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
setAlert = (t) => this.alert = t;
|
|
374
|
-
setNewRetirementGoalAccounts = (t) => {
|
|
375
|
-
this.newRetirementGoalAccounts = t;
|
|
376
|
-
};
|
|
377
|
-
setSelectedGoal = (t) => this.selectedGoal = t;
|
|
378
|
-
updateGoal = async (t) => {
|
|
379
|
-
try {
|
|
380
|
-
const e = await this.api.updateGoal(t);
|
|
381
|
-
_(() => {
|
|
382
|
-
const r = this.goals.findIndex((a) => a.guid === t.guid);
|
|
383
|
-
r >= 0 && (this.goals[r] = e), this.selectedGoal?.guid === t.guid && this.setSelectedGoal(e);
|
|
384
|
-
});
|
|
385
|
-
} catch (e) {
|
|
386
|
-
console.error(`Error occurred while updating goal: ${e}`);
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
updateRetirementGoal = async (t) => {
|
|
390
|
-
try {
|
|
391
|
-
const e = await this.api.updateRetirementGoal({
|
|
392
|
-
...t,
|
|
393
|
-
target_amount: t.amount
|
|
394
|
-
});
|
|
395
|
-
_(() => {
|
|
396
|
-
const r = this.retirementGoals.findIndex((a) => a.guid === t.guid);
|
|
397
|
-
r >= 0 && (this.retirementGoals[r] = e), this.selectedGoal?.guid === t.guid && this.setSelectedGoal(this.allGoals.find((a) => a.guid === t.guid));
|
|
398
|
-
});
|
|
399
|
-
} catch (e) {
|
|
400
|
-
console.error(`Error occurred while updating goal: ${e}`);
|
|
401
|
-
}
|
|
402
|
-
};
|
|
403
|
-
updateMonthlyCashFlowProfile = async (t) => {
|
|
404
|
-
try {
|
|
405
|
-
const e = await this.api.updateMonthlyCashFlowProfile(t);
|
|
406
|
-
this.setMonthlyCashFlowProfile(e);
|
|
407
|
-
} catch (e) {
|
|
408
|
-
console.error(`Error occurred while updating monthly Cash Flow profile: ${e}`);
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
}
|
|
412
|
-
export {
|
|
413
|
-
nt as C,
|
|
414
|
-
$ as G,
|
|
415
|
-
c as M,
|
|
416
|
-
n as T,
|
|
417
|
-
ct as a,
|
|
418
|
-
st as b,
|
|
419
|
-
A as c,
|
|
420
|
-
lt as d,
|
|
421
|
-
it as g
|
|
422
|
-
};
|