@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0-ram1-bug-alpha-testing
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +676 -9
- package/README.md +216 -47
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
- package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
- package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
- package/dist/AccountUtils-T5_Odvos.mjs +27 -0
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Analytics-CkYXKvco.mjs +53 -0
- package/dist/Analytics-CzGzz_sE.mjs +136 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
- package/dist/Connect-Dk6GZEsA.mjs +39 -0
- package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
- package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
- package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
- package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
- package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
- package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/Dialog-CwWc0AbH.mjs +63 -0
- package/dist/Donut-SzzfZDHF.mjs +88 -0
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
- package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
- package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
- package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
- package/dist/LineChart-CejWS_rh.mjs +612 -0
- package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/ManageIncome-B1JfqslT.mjs +595 -0
- package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
- package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
- package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/SelectionBox-B4xELRgp.mjs +48 -0
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-xyRoRDHv.mjs} +7 -7
- package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
- package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
- package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -2
- package/dist/accounts/index.es.js +628 -527
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.d.ts +2 -1
- package/dist/budgets/index.es.js +989 -813
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -2
- package/dist/cashflow/index.es.js +461 -490
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/components/CurrencyDialog.d.ts +19 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/Error.d.ts +13 -0
- package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/TinyBarChart.d.ts +10 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -3
- package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -6
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +24 -24
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.es.js +254 -1348
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +2 -2
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/PostMessage.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +7 -6
- package/dist/common/utils/index.d.ts +1 -6
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.es.js +108 -0
- package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
- package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
- package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +8 -2
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Client.d.ts +1 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/{common → core}/types/Widgets.d.ts +1 -0
- package/dist/{common → core}/types/index.d.ts +4 -3
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
- package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/{common → core}/utils/Localization.d.ts +9 -1
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/dashboard/index.es.js +39 -38
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +715 -775
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +2 -2
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.d.ts +0 -2
- package/dist/finstrong/index.es.js +1587 -1349
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
- package/dist/goals/GoalsWidget.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -2
- package/dist/goals/index.es.js +707 -787
- package/dist/help/HelpWidget.d.ts +2 -2
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +19 -10
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +53 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
- package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
- package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/insights/index.d.ts +25 -0
- package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
- package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
- package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
- package/dist/insights/components/shared/Coupon.d.ts +8 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
- package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
- package/dist/insights/components/shared/TabContainer.d.ts +8 -0
- package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/shared/index.d.ts +2 -0
- package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -1
- package/dist/insights/index.es.js +4843 -2
- package/dist/insights/themes/Typography.d.ts +1 -0
- package/dist/insights/themes/index.d.ts +1 -0
- package/dist/insights/types/Charts/BarChart.d.ts +96 -0
- package/dist/insights/types/CommonBeat.d.ts +367 -0
- package/dist/insights/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/InvestmentsWidget.d.ts +2 -2
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +574 -574
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +18 -20
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +3 -3
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
- package/dist/microinsights/carousel/BeatList.d.ts +3 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +23 -40
- package/dist/microinsights/stores/CopyStore.d.ts +2 -2
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +302 -314
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +101 -93
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +489 -462
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +2 -2
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -2
- package/dist/settings/index.es.js +419 -430
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +229 -222
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -5
- package/dist/transactions/index.es.js +344 -351
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +17 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +991 -876
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +5 -3
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +2 -2
- package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
- package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +65 -43
- package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
- package/dist/AccountFields-BRRH37K1.mjs +0 -140
- package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
- package/dist/AccountStore-BFKvXJSD.mjs +0 -244
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BeatApi-De2IaqH2.mjs +0 -21
- package/dist/BeatStore-D_NYuBSz.mjs +0 -81
- package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
- package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
- package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
- package/dist/DateUtil-CVsMhbZU.mjs +0 -48
- package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
- package/dist/Dialog-CWymUiuO.mjs +0 -120
- package/dist/Donut-Dmy3JTWd.mjs +0 -86
- package/dist/Fetch-DecPFeGU.mjs +0 -119
- package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
- package/dist/GoalStore-Dbjgft2i.mjs +0 -422
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-DHj-Bufi.mjs +0 -580
- package/dist/Loader-BSWSYqvn.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
- package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
- package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
- package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
- package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
- package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
- package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
- package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
- package/dist/TransactionApi-CjBoLleL.mjs +0 -86
- package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
- package/dist/TransactionStore-D2aMUClq.mjs +0 -688
- package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
- package/dist/User-CulNdZUr.mjs +0 -314
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
- package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/debts/store/DebtsStore.d.ts +0 -9
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -14
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
- package/dist/{common → core}/constants/Category.d.ts +0 -0
- package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- package/dist/{help → core}/constants/Help.d.ts +0 -0
- package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- package/dist/{common → core}/constants/Table.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
- package/dist/{common → core}/stores/UserStore.d.ts +1 -1
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
- /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { observer as b } from "mobx-react-lite";
|
|
3
|
-
import I from "@mui/material/Badge";
|
|
4
|
-
import m from "@mui/material/Box";
|
|
5
|
-
import S from "@mui/material/ListItem";
|
|
6
|
-
import v from "@mui/material/ListItemAvatar";
|
|
7
|
-
import C from "@mui/material/ListItemButton";
|
|
8
|
-
import _ from "@mui/material/ListItemText";
|
|
9
|
-
import B from "@mui/material/styles/useTheme";
|
|
10
|
-
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
|
-
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
|
-
import { I as j } from "./IconBacking-DgT8DCeh.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-BRRH37K1.mjs";
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-DbkgGLdg.mjs";
|
|
15
|
-
import { u as $ } from "./hooks-fY_n74f7.mjs";
|
|
16
|
-
import { C as d } from "./Account-CMjOp7S2.mjs";
|
|
17
|
-
import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
|
-
const w = {
|
|
19
|
-
gridRow: 1,
|
|
20
|
-
gridColumn: 1,
|
|
21
|
-
zIndex: 2
|
|
22
|
-
}, E = ({ size: t = 20 }) => /* @__PURE__ */ e(j, { size: t, children: /* @__PURE__ */ e(A, { color: "error", filled: !0, sx: { fontSize: t, ...w } }) }), M = ({
|
|
23
|
-
account: t,
|
|
24
|
-
onRowClick: s,
|
|
25
|
-
listItemProps: c,
|
|
26
|
-
shouldShowConnectionStatus: p = !1
|
|
27
|
-
}) => {
|
|
28
|
-
const u = B(), f = X(t), { accounts: i } = $(), { firstSubtitle: h, firstValue: g, secondSubtitle: x, secondValue: y } = T(
|
|
29
|
-
t,
|
|
30
|
-
i
|
|
31
|
-
);
|
|
32
|
-
let n;
|
|
33
|
-
(t.connectionStatus === d.Error || t.connectionStatus === d.RequiresMfa) && (n = /* @__PURE__ */ e(E, { size: 16 }));
|
|
34
|
-
const a = /* @__PURE__ */ r(l, { children: [
|
|
35
|
-
/* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
36
|
-
I,
|
|
37
|
-
{
|
|
38
|
-
badgeContent: p ? n : void 0,
|
|
39
|
-
sx: {
|
|
40
|
-
"& .MuiBadge-badge": {
|
|
41
|
-
right: -1
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
children: /* @__PURE__ */ e(L, { alt: "MX", institutionGuid: t.institution_guid || "" })
|
|
45
|
-
}
|
|
46
|
-
) }),
|
|
47
|
-
/* @__PURE__ */ e(
|
|
48
|
-
_,
|
|
49
|
-
{
|
|
50
|
-
disableTypography: !0,
|
|
51
|
-
primary: /* @__PURE__ */ r(
|
|
52
|
-
o,
|
|
53
|
-
{
|
|
54
|
-
bold: !0,
|
|
55
|
-
color: t.is_hidden ? u.palette.text.secondary : void 0,
|
|
56
|
-
sx: { whiteSpace: "normal" },
|
|
57
|
-
variant: "Body",
|
|
58
|
-
children: [
|
|
59
|
-
`${f} ${t.account_number ? `*${t.account_number}` : ""}`,
|
|
60
|
-
" ",
|
|
61
|
-
t.is_hidden && !t.is_closed && i.is_hidden,
|
|
62
|
-
t.is_closed && i.is_closed
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
),
|
|
66
|
-
secondary: /* @__PURE__ */ r(l, { children: [
|
|
67
|
-
/* @__PURE__ */ r(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
68
|
-
/* @__PURE__ */ e(o, { variant: "XSmall", children: h }),
|
|
69
|
-
/* @__PURE__ */ e(o, { bold: !0, variant: "Small", children: k(g, "0,0.00") })
|
|
70
|
-
] }),
|
|
71
|
-
/* @__PURE__ */ r(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
72
|
-
/* @__PURE__ */ e(o, { variant: "XSmall", children: x }),
|
|
73
|
-
/* @__PURE__ */ e(o, { ml: "auto", variant: "XSmall", children: y })
|
|
74
|
-
] })
|
|
75
|
-
] })
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
] });
|
|
79
|
-
return /* @__PURE__ */ e(
|
|
80
|
-
S,
|
|
81
|
-
{
|
|
82
|
-
sx: { backgroundColor: "background.paper", color: t.is_closed ? "grey.700" : "" },
|
|
83
|
-
...c,
|
|
84
|
-
children: s ? /* @__PURE__ */ e(C, { alignItems: "flex-start", onClick: s, sx: { px: 24 }, children: a }) : a
|
|
85
|
-
}
|
|
86
|
-
);
|
|
87
|
-
}, Z = b(M);
|
|
88
|
-
export {
|
|
89
|
-
Z as A
|
|
90
|
-
};
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import { makeAutoObservable as h, runInAction as a } from "mobx";
|
|
2
|
-
import { i as g } from "./User-CulNdZUr.mjs";
|
|
3
|
-
import { A as d } from "./AccountApi-DgZ8ILj1.mjs";
|
|
4
|
-
import { d as m } from "./Accounts-CuE8aSZN.mjs";
|
|
5
|
-
import { A as s, d as u } from "./Account-CMjOp7S2.mjs";
|
|
6
|
-
class p {
|
|
7
|
-
isLoading = !1;
|
|
8
|
-
selectedAccount = {};
|
|
9
|
-
selectedMember = {};
|
|
10
|
-
constructor() {
|
|
11
|
-
h(this);
|
|
12
|
-
}
|
|
13
|
-
setIsLoading = (t) => this.isLoading = t;
|
|
14
|
-
setSelectedAccount = (t) => this.selectedAccount = t;
|
|
15
|
-
setSelectedMember = (t) => this.selectedMember = t;
|
|
16
|
-
}
|
|
17
|
-
class E {
|
|
18
|
-
globalStore;
|
|
19
|
-
api = new d("/", "");
|
|
20
|
-
accounts = [];
|
|
21
|
-
accountsLoaded = !1;
|
|
22
|
-
accountsLoading = !1;
|
|
23
|
-
institutions = [];
|
|
24
|
-
institutionsLoaded = !1;
|
|
25
|
-
institutionsLoading = !1;
|
|
26
|
-
members = [];
|
|
27
|
-
membersLoaded = !1;
|
|
28
|
-
membersLoading = !1;
|
|
29
|
-
uiStore;
|
|
30
|
-
constructor(t) {
|
|
31
|
-
this.globalStore = t, this.uiStore = new p(), this.api = new d(t.endpoint, t.sessionToken, t.onError), h(this);
|
|
32
|
-
}
|
|
33
|
-
loadAccountData = async () => {
|
|
34
|
-
await Promise.all([this.loadAccounts(), this.loadMembers(), this.loadInstitutions()]);
|
|
35
|
-
};
|
|
36
|
-
get isAccountDataLoaded() {
|
|
37
|
-
return this.accountsLoaded && this.membersLoaded && this.institutionsLoaded;
|
|
38
|
-
}
|
|
39
|
-
get detailedAccounts() {
|
|
40
|
-
const t = this.globalStore.userStore.userFeatures, e = g(t, "MD_EXCLUDE_EXTERNAL_ACCOUNTS");
|
|
41
|
-
return m(this.accounts, this.institutions, this.members, e);
|
|
42
|
-
}
|
|
43
|
-
get accountsByTypeMap() {
|
|
44
|
-
return this.detailedAccounts.reduce((t, e) => {
|
|
45
|
-
const c = e.account_type;
|
|
46
|
-
let n = t.get(c);
|
|
47
|
-
return n || (n = []), n.push(e), t.set(c, n), t;
|
|
48
|
-
}, /* @__PURE__ */ new Map());
|
|
49
|
-
}
|
|
50
|
-
get cashAccounts() {
|
|
51
|
-
return this.detailedAccounts.filter(
|
|
52
|
-
(t) => t.account_type === s.CASH || t.account_type === s.CHECKING || t.account_type === s.PREPAID || t.account_type === s.SAVINGS || t.account_type === s.CHECKING_LINE_OF_CREDIT
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
get cashBalance() {
|
|
56
|
-
return this.cashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
|
|
57
|
-
}
|
|
58
|
-
get checkingAccounts() {
|
|
59
|
-
return this.detailedAccounts.filter((t) => t.account_type === s.CHECKING);
|
|
60
|
-
}
|
|
61
|
-
get debtAccounts() {
|
|
62
|
-
return this.detailedAccounts.filter(
|
|
63
|
-
(t) => t.account_type === s.CREDIT_CARD || t.account_type === s.LOAN || t.account_type === s.MORTGAGE || t.account_type === s.LINE_OF_CREDIT || t.account_type === s.CHECKING_LINE_OF_CREDIT
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
get finstrongAccounts() {
|
|
67
|
-
const t = /* @__PURE__ */ new Set([
|
|
68
|
-
s.CHECKING,
|
|
69
|
-
s.SAVINGS,
|
|
70
|
-
s.CREDIT_CARD,
|
|
71
|
-
s.INVESTMENT
|
|
72
|
-
]);
|
|
73
|
-
return this.detailedAccounts.filter((e) => t.has(e.account_type));
|
|
74
|
-
}
|
|
75
|
-
get investmentAccounts() {
|
|
76
|
-
return this.detailedAccounts.filter(
|
|
77
|
-
(t) => t.account_type === s.INVESTMENT
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
get savingsAccounts() {
|
|
81
|
-
return this.detailedAccounts.filter((t) => t.account_type === s.SAVINGS);
|
|
82
|
-
}
|
|
83
|
-
get retirementAccounts() {
|
|
84
|
-
return this.detailedAccounts.filter(
|
|
85
|
-
(t) => t.account_type === s.INVESTMENT || t.account_type === s.SAVINGS || t.account_type === s.CHECKING || t.account_type === s.CASH || t.account_type === s.PROPERTY || t.account_type === s.INSURANCE && (t.account_subtype === u.WHOLE_LIFE || t.account_subtype === u.UNIVERSAL_LIFE || t.account_subtype === u.VARIABLE_UNIVERSAL_LIFE)
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
get visibleAccounts() {
|
|
89
|
-
return this.detailedAccounts.filter((t) => !t.is_hidden);
|
|
90
|
-
}
|
|
91
|
-
get visibleCashAccounts() {
|
|
92
|
-
return this.cashAccounts.filter((t) => !t.is_hidden);
|
|
93
|
-
}
|
|
94
|
-
get visibleCashBalance() {
|
|
95
|
-
return this.visibleCashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
|
|
96
|
-
}
|
|
97
|
-
get visibleCheckingAccounts() {
|
|
98
|
-
return this.checkingAccounts.filter((t) => !t.is_hidden);
|
|
99
|
-
}
|
|
100
|
-
get visibleDebtAccounts() {
|
|
101
|
-
return this.debtAccounts.filter((t) => !t.is_hidden);
|
|
102
|
-
}
|
|
103
|
-
get visibleFinstrongAccounts() {
|
|
104
|
-
return this.finstrongAccounts.filter(
|
|
105
|
-
(t) => !(t.is_closed || t.is_deleted || t.is_hidden)
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
get visibleRetirementAccounts() {
|
|
109
|
-
return this.retirementAccounts.filter((t) => !t.is_hidden);
|
|
110
|
-
}
|
|
111
|
-
get visibleInvestmentAccounts() {
|
|
112
|
-
return this.investmentAccounts.filter((t) => !t.is_hidden);
|
|
113
|
-
}
|
|
114
|
-
get visibleSavingsAccounts() {
|
|
115
|
-
return this.savingsAccounts.filter((t) => !t.is_hidden);
|
|
116
|
-
}
|
|
117
|
-
get savingsAndCheckingAccountsBalance() {
|
|
118
|
-
return this.savingsAndCheckingAccounts.reduce(
|
|
119
|
-
(e, c) => e + (c?.balance || 0),
|
|
120
|
-
0
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
get savingsAndCheckingAccounts() {
|
|
124
|
-
return this.accounts.filter(
|
|
125
|
-
(e) => e.account_type === s.SAVINGS || e.account_type === s.CHECKING
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
setAccounts = (t) => {
|
|
129
|
-
this.accounts = t, this.accountsLoading = !1, this.accountsLoaded = !0;
|
|
130
|
-
};
|
|
131
|
-
setMembers = (t) => {
|
|
132
|
-
this.members = t, this.membersLoading = !1, this.membersLoaded = !0;
|
|
133
|
-
};
|
|
134
|
-
setInstitutions = (t) => {
|
|
135
|
-
this.institutions = t, this.institutionsLoading = !1, this.institutionsLoaded = !0;
|
|
136
|
-
};
|
|
137
|
-
addAccount = async (t) => {
|
|
138
|
-
try {
|
|
139
|
-
const e = await this.api.createAccount(t);
|
|
140
|
-
a(() => {
|
|
141
|
-
this.accounts = [...this.accounts, e];
|
|
142
|
-
});
|
|
143
|
-
} catch (e) {
|
|
144
|
-
console.error(`Error occurred while adding an account: ${e}`);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
loadAccounts = async () => {
|
|
148
|
-
if (!this.accountsLoading) {
|
|
149
|
-
this.accountsLoading = !0;
|
|
150
|
-
try {
|
|
151
|
-
const t = await this.api.getAccounts();
|
|
152
|
-
this.setAccounts(t);
|
|
153
|
-
} catch (t) {
|
|
154
|
-
console.error(`Error occurred while loading accounts: ${t}`);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
};
|
|
158
|
-
loadInstitutions = async () => {
|
|
159
|
-
if (!this.institutionsLoading) {
|
|
160
|
-
this.institutionsLoading = !0;
|
|
161
|
-
try {
|
|
162
|
-
const t = await this.api.getInstitutions();
|
|
163
|
-
this.setInstitutions(t);
|
|
164
|
-
} catch (t) {
|
|
165
|
-
console.error(`Error occurred while loading institutions: ${t}`);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
loadMembers = async () => {
|
|
170
|
-
if (!this.membersLoading) {
|
|
171
|
-
this.membersLoading = !0;
|
|
172
|
-
try {
|
|
173
|
-
const t = await this.api.getMembers();
|
|
174
|
-
this.setMembers(t);
|
|
175
|
-
} catch (t) {
|
|
176
|
-
console.error(`Error occurred while loading members: ${t}`);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
mergeAccounts = async (t) => {
|
|
181
|
-
try {
|
|
182
|
-
const e = await this.api.mergeAccounts(t), c = e[Object.keys(e)[0]];
|
|
183
|
-
a(() => {
|
|
184
|
-
const n = this.accounts.findIndex((i) => i.guid === t[1]);
|
|
185
|
-
this.accounts.splice(n, 1);
|
|
186
|
-
const o = this.accounts.findIndex((i) => i.guid === t[0]);
|
|
187
|
-
this.accounts.splice(o, 1, c);
|
|
188
|
-
});
|
|
189
|
-
} catch (e) {
|
|
190
|
-
console.error(`Error occurred while merging accounts: ${e}`);
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
refreshAccounts = async () => {
|
|
194
|
-
this.uiStore.setIsLoading(!0), await Promise.all([this.loadAccounts(), this.loadInstitutions(), this.loadMembers()]), this.uiStore.setIsLoading(!1);
|
|
195
|
-
};
|
|
196
|
-
refreshMembers = async () => {
|
|
197
|
-
try {
|
|
198
|
-
await this.api.refreshAllMembers(), await this.loadMembers();
|
|
199
|
-
} catch (t) {
|
|
200
|
-
console.error(`Error occurredwhile refreshing members: ${t}`);
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
removeAccount = async (t) => {
|
|
204
|
-
try {
|
|
205
|
-
await this.api.deleteAccount(t);
|
|
206
|
-
const e = this.accounts.findIndex((c) => c.guid === t);
|
|
207
|
-
this.accounts.splice(e, 1);
|
|
208
|
-
} catch (e) {
|
|
209
|
-
console.error(`Error occurred while removing an account: ${e}`);
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
updateAccount = async (t) => {
|
|
213
|
-
try {
|
|
214
|
-
const e = await this.api.updateAccount(t), c = this.accounts.findIndex(
|
|
215
|
-
(n) => n.guid === e.guid
|
|
216
|
-
);
|
|
217
|
-
this.accounts.splice(c, 1, e);
|
|
218
|
-
} catch (e) {
|
|
219
|
-
console.error(`Error occurred while updating account: ${e}`);
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
updateAccountBalance = (t, e) => {
|
|
223
|
-
const c = this.accounts.find((n) => n.guid === t);
|
|
224
|
-
c && a(() => {
|
|
225
|
-
c.balance = (c.balance || 0) + e;
|
|
226
|
-
});
|
|
227
|
-
};
|
|
228
|
-
updateAccountFilter = async (t) => {
|
|
229
|
-
const e = [];
|
|
230
|
-
for (const [o, i] of t.entries()) {
|
|
231
|
-
const r = this.accounts.find((A) => A.guid === o);
|
|
232
|
-
r && r.is_excluded_from_accounts === i && (r.is_excluded_from_accounts = !i, e.push(this.api.updateAccount(r)));
|
|
233
|
-
}
|
|
234
|
-
const c = await Promise.all(e), n = [...this.accounts];
|
|
235
|
-
for (const o of c) {
|
|
236
|
-
const i = n.findIndex((r) => r.guid === o.guid);
|
|
237
|
-
i !== -1 && n.splice(i, 1, o);
|
|
238
|
-
}
|
|
239
|
-
this.setAccounts(n);
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
export {
|
|
243
|
-
E as A
|
|
244
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { A as e, C as u, E as r, c as p, M as y } from "./Account-CMjOp7S2.mjs";
|
|
2
|
-
const l = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, R = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, f = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, m = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t, n, s, _) => t.filter((i) => !(i.member_is_managed_by_user && _)).sort(d).map((i) => {
|
|
3
|
-
const c = n.find((a) => a.guid === i.institution_guid), o = s.find((a) => a.guid === i.member_guid);
|
|
4
|
-
return E(i, c, o);
|
|
5
|
-
}), E = (t, n, s) => {
|
|
6
|
-
let _ = u.Connected;
|
|
7
|
-
s && (r.includes(s.connection_status) ? _ = u.Error : p.includes(s.connection_status) ? _ = u.Processing : y.includes(s.connection_status) && (_ = u.RequiresMfa));
|
|
8
|
-
const i = [
|
|
9
|
-
t.user_name || t.feed_name || "",
|
|
10
|
-
t.account_number ? `*${t.account_number}` : ""
|
|
11
|
-
].join(" ").trim();
|
|
12
|
-
return {
|
|
13
|
-
...t,
|
|
14
|
-
connectionStatus: _,
|
|
15
|
-
displayName: i,
|
|
16
|
-
institution: n,
|
|
17
|
-
member: s
|
|
18
|
-
};
|
|
19
|
-
}, d = (t, n) => t.account_type > n.account_type ? 1 : t.account_type < n.account_type ? -1 : (t.name || "") > (n.name || "") ? 1 : (t.name || "") < (n.name || "") ? -1 : 0;
|
|
20
|
-
export {
|
|
21
|
-
l as a,
|
|
22
|
-
R as b,
|
|
23
|
-
m as c,
|
|
24
|
-
A as d,
|
|
25
|
-
I as i,
|
|
26
|
-
f as u
|
|
27
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { F as c, A as s } from "./Fetch-DecPFeGU.mjs";
|
|
2
|
-
class i {
|
|
3
|
-
fetchInstance;
|
|
4
|
-
constructor(t, e, n) {
|
|
5
|
-
this.fetchInstance = new c(t, e, void 0, n);
|
|
6
|
-
}
|
|
7
|
-
getBeats = async (t, e) => {
|
|
8
|
-
const n = `page=${t || 1}&per_page=${e || 5}`;
|
|
9
|
-
return this.fetchInstance.get(`${s.BEATS}?${n}`).then((a) => a.beats);
|
|
10
|
-
};
|
|
11
|
-
getBeatsWithAssociatedTransaction = async (t) => {
|
|
12
|
-
let e = "has_associated_transaction_guid=true";
|
|
13
|
-
return e += t ? `&from_date=${t}` : "", this.fetchInstance.get(`${s.BEATS}?${e}`).then((n) => n.beats);
|
|
14
|
-
};
|
|
15
|
-
getOffers = async () => this.fetchInstance.get(`${s.OFFERS}/${s.PULSE_COMMUNICATIONS}`).then((t) => t.pulse_communications);
|
|
16
|
-
updateBeat = async (t) => this.fetchInstance.put(`${s.BEATS}/${t.guid}`, t).then((e) => e.beat);
|
|
17
|
-
updateOffer = async (t) => this.fetchInstance.put(`${s.OFFERS}/${t.guid}`, t).then((e) => e.beat);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
i as B
|
|
21
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { makeAutoObservable as c, runInAction as r } from "mobx";
|
|
2
|
-
import { B as l } from "./BeatApi-De2IaqH2.mjs";
|
|
3
|
-
function d(t, e, s, i = "asc") {
|
|
4
|
-
const a = i === "desc" ? -1 : 1;
|
|
5
|
-
return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);
|
|
6
|
-
}
|
|
7
|
-
const m = (t) => ({
|
|
8
|
-
...t,
|
|
9
|
-
//fields that are offer specific, adding here for visibility
|
|
10
|
-
image_url: t.image_url,
|
|
11
|
-
guid: t.guid,
|
|
12
|
-
created_at: t.created_at,
|
|
13
|
-
dismissed_at: t.dismissed_at,
|
|
14
|
-
active_at: t.campaign_activated_at,
|
|
15
|
-
displayed_at: t.has_been_viewed,
|
|
16
|
-
post_message_secondary: t.pulse_post_message_secondary,
|
|
17
|
-
//offer fields mapped to beat fields for functionality
|
|
18
|
-
title: t.pulse_title || t.campaign_name,
|
|
19
|
-
html_title: t.pulse_title || t.campaign_name,
|
|
20
|
-
short_title: t.pulse_title || t.campaign_name,
|
|
21
|
-
html_short_title: t.pulse_title || t.campaign_name,
|
|
22
|
-
micro_title: t.pulse_title || t.campaign_name,
|
|
23
|
-
html_micro_title: t.pulse_title || t.campaign_name,
|
|
24
|
-
supporting_action: t.pulse_call_to_action_text_secondary,
|
|
25
|
-
description: t.pulse_body,
|
|
26
|
-
html_description: t.pulse_body,
|
|
27
|
-
micro_description: t.pulse_body,
|
|
28
|
-
html_micro_description: t.pulse_body,
|
|
29
|
-
call_to_action: t.pulse_call_to_action_text,
|
|
30
|
-
html_micro_call_to_action: t.pulse_call_to_action_text,
|
|
31
|
-
micro_call_to_action: t.pulse_call_to_action_text,
|
|
32
|
-
is_dismissed: t.has_been_dismissed,
|
|
33
|
-
icon_type: 5,
|
|
34
|
-
template: "MarketingOffer",
|
|
35
|
-
//beat fields we null out
|
|
36
|
-
account_guids: [],
|
|
37
|
-
data_series: {},
|
|
38
|
-
has_been_displayed: !1,
|
|
39
|
-
is_obsolete: !1,
|
|
40
|
-
is_refreshable: !1,
|
|
41
|
-
is_sampled: !1,
|
|
42
|
-
merchant_guids: [],
|
|
43
|
-
payload: {},
|
|
44
|
-
pulse_campaign_name: t.campaign_name,
|
|
45
|
-
scheduled_payment_guids: [],
|
|
46
|
-
transaction_guids: [],
|
|
47
|
-
user_guid: "",
|
|
48
|
-
user_verification: 0
|
|
49
|
-
});
|
|
50
|
-
class u {
|
|
51
|
-
globalStore;
|
|
52
|
-
api = new l("/", "");
|
|
53
|
-
beats = [];
|
|
54
|
-
isLoading = !1;
|
|
55
|
-
constructor(e) {
|
|
56
|
-
this.globalStore = e, this.api = new l(e.endpoint, e.sessionToken, e.onError), c(this);
|
|
57
|
-
}
|
|
58
|
-
loadBeats = async () => {
|
|
59
|
-
this.isLoading = !0;
|
|
60
|
-
const e = await this.api.getBeats(), i = (await this.api.getOffers()).map((a) => m(a));
|
|
61
|
-
r(() => {
|
|
62
|
-
this.beats = d(e, i, "active_at", "desc"), this.isLoading = !1;
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
getFilteredBeats(e) {
|
|
66
|
-
const { categoryGuids: s, templates: i } = e;
|
|
67
|
-
let a = this.beats;
|
|
68
|
-
return s && (a = this.filterBeatsByCategory(a, s)), i && (a = this.filterBeatsByTemplate(a, i)), a;
|
|
69
|
-
}
|
|
70
|
-
// Return beats with any beat.category_guids that are in categoryGuids
|
|
71
|
-
filterBeatsByCategory(e, s) {
|
|
72
|
-
return e.filter((i) => i.category_guids?.some((a) => s.includes(a)));
|
|
73
|
-
}
|
|
74
|
-
// Return beats with a beat.template that is in templates
|
|
75
|
-
filterBeatsByTemplate(e, s) {
|
|
76
|
-
return e.filter((i) => s.some((a) => i.template === a));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
export {
|
|
80
|
-
u as B
|
|
81
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { i as _ } from "./hooks-fY_n74f7.mjs";
|
|
2
|
-
import { b as d } from "./Category-Ccoew_sA.mjs";
|
|
3
|
-
import { b as f } from "./Localization-2MODESHW.mjs";
|
|
4
|
-
import { f as l } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
5
|
-
const p = (n, e) => n.find((t) => t.guid === e), B = (n, e) => n.find((t) => t.guid === e), T = (n, e) => {
|
|
6
|
-
const t = n.find((r) => r.subCategories.find((a) => a.guid === e));
|
|
7
|
-
if (t)
|
|
8
|
-
return t.subCategories.find((r) => r.guid === e);
|
|
9
|
-
}, k = (n, e) => {
|
|
10
|
-
const t = [];
|
|
11
|
-
for (const r of e) {
|
|
12
|
-
const a = p(n, r.category_guid);
|
|
13
|
-
if (!a) continue;
|
|
14
|
-
const o = a.parent_guid ?? a.guid, s = p(n, o);
|
|
15
|
-
if (!s) continue;
|
|
16
|
-
const u = {
|
|
17
|
-
amount: r.total,
|
|
18
|
-
category: a,
|
|
19
|
-
guid: a.guid,
|
|
20
|
-
subCategoryTotals: []
|
|
21
|
-
}, i = t.find((g) => g.guid === o);
|
|
22
|
-
i ? (i.amount += r.total, i.subCategoryTotals.push(u)) : t.push({
|
|
23
|
-
amount: r.total,
|
|
24
|
-
category: s,
|
|
25
|
-
guid: o,
|
|
26
|
-
subCategoryTotals: [u]
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
return t;
|
|
30
|
-
}, w = (n, e) => {
|
|
31
|
-
const t = n.find((r) => r.guid === e);
|
|
32
|
-
return t ? t.guid === d.INCOME || t.parent_guid === d.INCOME : !1;
|
|
33
|
-
}, y = (n, e) => !n && !e ? 0 : !n && e ? 101 : e / n * 100, b = (n, e) => {
|
|
34
|
-
const t = {
|
|
35
|
-
background: e.palette.success.main,
|
|
36
|
-
description: n <= 100 ? e.palette.text.secondary : e.palette.error.main,
|
|
37
|
-
text: e.palette.common.white,
|
|
38
|
-
mercury: e.palette.success.lighter
|
|
39
|
-
};
|
|
40
|
-
return n > 100 ? (t.background = e.palette.error.main, t.mercury = e.palette.error.lighter) : n > 80 && (t.background = e.palette.warning.main, t.text = e.palette.grey[900], t.mercury = e.palette.warning.lighter), t;
|
|
41
|
-
}, G = () => {
|
|
42
|
-
const { detailedBudgets: n } = _();
|
|
43
|
-
return n.map((t) => {
|
|
44
|
-
const r = t.transaction_total;
|
|
45
|
-
return t.amount - r;
|
|
46
|
-
}).reduce((t, r) => t + r, 0);
|
|
47
|
-
}, I = (n, e, t, r) => {
|
|
48
|
-
const a = [];
|
|
49
|
-
for (const o of n) {
|
|
50
|
-
const s = B(e, o.category_guid);
|
|
51
|
-
if (!s) continue;
|
|
52
|
-
const u = s.totalAmount, i = y(o.amount, u), g = o.amount - u;
|
|
53
|
-
a.push({
|
|
54
|
-
...o,
|
|
55
|
-
budgetColors: b(i, r),
|
|
56
|
-
category: s,
|
|
57
|
-
description: f(
|
|
58
|
-
g < 0 ? t.budget_remaining_over : t.budget_remaining_left,
|
|
59
|
-
l(Math.abs(g), "0,0")
|
|
60
|
-
),
|
|
61
|
-
percentage: i,
|
|
62
|
-
subBudgets: [],
|
|
63
|
-
transaction_total: u
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
for (const o of n) {
|
|
67
|
-
const s = T(e, o.category_guid);
|
|
68
|
-
if (!s) continue;
|
|
69
|
-
const u = s.currentAmount, i = a.find((C) => C.category_guid === s.parent_guid);
|
|
70
|
-
if (!i) continue;
|
|
71
|
-
const g = o.amount - u, c = y(o.amount, u);
|
|
72
|
-
i && i.subBudgets.push({
|
|
73
|
-
...o,
|
|
74
|
-
budgetColors: b(c, r),
|
|
75
|
-
category: s,
|
|
76
|
-
description: f(
|
|
77
|
-
g < 0 ? t.budget_remaining_over : t.budget_remaining_left,
|
|
78
|
-
l(Math.abs(g), "0,0")
|
|
79
|
-
),
|
|
80
|
-
percentage: c,
|
|
81
|
-
subBudgets: [],
|
|
82
|
-
transaction_total: u
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
return a;
|
|
86
|
-
}, m = (n, e) => n.find((t) => t.guid === e), S = (n, e, t) => {
|
|
87
|
-
const r = m(n, t);
|
|
88
|
-
if (r)
|
|
89
|
-
return m(r.subBudgets, e);
|
|
90
|
-
};
|
|
91
|
-
export {
|
|
92
|
-
S as a,
|
|
93
|
-
I as b,
|
|
94
|
-
k as c,
|
|
95
|
-
B as d,
|
|
96
|
-
T as e,
|
|
97
|
-
m as f,
|
|
98
|
-
p as g,
|
|
99
|
-
w as i,
|
|
100
|
-
G as u
|
|
101
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import c from "@mui/material/IconButton";
|
|
3
|
-
import m from "@mui/material/Stack";
|
|
4
|
-
import l from "@mui/material/Tooltip";
|
|
5
|
-
import { Icon as p, IconWeight as h, Text as n } from "@mxenabled/mxui";
|
|
6
|
-
import { makeAutoObservable as i } from "mobx";
|
|
7
|
-
import { addDays as d } from "date-fns/addDays";
|
|
8
|
-
import { differenceInDays as f } from "date-fns/differenceInDays";
|
|
9
|
-
import { endOfMonth as x } from "date-fns/endOfMonth";
|
|
10
|
-
import { isBefore as u } from "date-fns/isBefore";
|
|
11
|
-
import { startOfToday as r } from "date-fns/startOfToday";
|
|
12
|
-
const A = ({
|
|
13
|
-
body: o,
|
|
14
|
-
iconName: e = "info",
|
|
15
|
-
title: s
|
|
16
|
-
}) => /* @__PURE__ */ t(
|
|
17
|
-
l,
|
|
18
|
-
{
|
|
19
|
-
enterTouchDelay: 500,
|
|
20
|
-
title: /* @__PURE__ */ a(m, { gap: 2, p: 12, sx: { textOverflow: "none" }, children: [
|
|
21
|
-
/* @__PURE__ */ t(n, { bold: !0, variant: "Body", children: s }),
|
|
22
|
-
/* @__PURE__ */ t(n, { sx: { whiteSpace: "unset" }, variant: "Small", children: o })
|
|
23
|
-
] }),
|
|
24
|
-
children: /* @__PURE__ */ t(
|
|
25
|
-
c,
|
|
26
|
-
{
|
|
27
|
-
"aria-label": s,
|
|
28
|
-
sx: {
|
|
29
|
-
minHeight: 0,
|
|
30
|
-
minWidth: 0,
|
|
31
|
-
p: 0
|
|
32
|
-
},
|
|
33
|
-
children: /* @__PURE__ */ t(
|
|
34
|
-
p,
|
|
35
|
-
{
|
|
36
|
-
name: e,
|
|
37
|
-
sx: { color: "primary.main", fontSize: 16 },
|
|
38
|
-
weight: h.Dark
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
class g {
|
|
46
|
-
// Cashflow is hard-coded to display 30 days starting from today
|
|
47
|
-
dateRange = { start: r(), end: d(r(), 30) };
|
|
48
|
-
isDirty = !1;
|
|
49
|
-
nextIncome = void 0;
|
|
50
|
-
upcomingExpenses = [];
|
|
51
|
-
selectedCashAccounts = [];
|
|
52
|
-
constructor() {
|
|
53
|
-
i(this);
|
|
54
|
-
}
|
|
55
|
-
// Returns the number of days until the next income activity or 0 if there is no income activity
|
|
56
|
-
get daysUntilNextIncome() {
|
|
57
|
-
return this.nextIncome ? Math.abs(f(r(), this.nextIncome.expectedDate)) : 0;
|
|
58
|
-
}
|
|
59
|
-
// Returns the expenses (Activities) until the next income activity or the end of the month
|
|
60
|
-
// if there is no income activity
|
|
61
|
-
get expensesTilNextIncome() {
|
|
62
|
-
return this.upcomingExpenses.filter(
|
|
63
|
-
(e) => u(e.expectedDate, this.nextIncome?.expectedDate || x(/* @__PURE__ */ new Date()))
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
setNextIncome = (e) => {
|
|
67
|
-
this.nextIncome = e;
|
|
68
|
-
};
|
|
69
|
-
setUpcomingExpenses = (e) => {
|
|
70
|
-
this.upcomingExpenses = e;
|
|
71
|
-
};
|
|
72
|
-
setSelectedCashAccounts = (e) => this.selectedCashAccounts = e;
|
|
73
|
-
}
|
|
74
|
-
class E {
|
|
75
|
-
globalStore;
|
|
76
|
-
uiStore;
|
|
77
|
-
constructor(e) {
|
|
78
|
-
this.globalStore = e, this.uiStore = new g(), i(this);
|
|
79
|
-
}
|
|
80
|
-
completeOnboarding = async () => {
|
|
81
|
-
const e = {
|
|
82
|
-
...this.globalStore.userStore.userProfile,
|
|
83
|
-
has_completed_cash_flow_onboarding: !0
|
|
84
|
-
};
|
|
85
|
-
await this.globalStore.userStore.updateUserProfile(e);
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
export {
|
|
89
|
-
E as C,
|
|
90
|
-
A as I
|
|
91
|
-
};
|