@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,39 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { observer as
|
|
1
|
+
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { observer as I } from "mobx-react-lite";
|
|
4
4
|
import { startOfMonth as at } from "date-fns/startOfMonth";
|
|
5
|
-
import { endOfMonth as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { g as
|
|
12
|
-
import { Text as T, Icon as
|
|
13
|
-
import { f as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { startOfToday as
|
|
5
|
+
import { endOfMonth as it } from "date-fns/endOfMonth";
|
|
6
|
+
import L from "@mui/material/Box";
|
|
7
|
+
import y from "@mui/material/Stack";
|
|
8
|
+
import $ from "@mui/material/Tab";
|
|
9
|
+
import rt from "@mui/material/Tabs";
|
|
10
|
+
import { useTheme as _t } from "@mui/material/styles";
|
|
11
|
+
import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-5Ct_FZ8o.mjs";
|
|
12
|
+
import { Text as T, Icon as bt } from "@mxenabled/mxui";
|
|
13
|
+
import { f as k } from "../NumberFormatting--XMeeBfr.mjs";
|
|
14
|
+
import { u as A, l as R, d as ct, b as P, a as H, h as dt, g as yt } from "../hooks-BaO_gOI6.mjs";
|
|
15
|
+
import { u as gt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
16
|
+
import { L as pt } from "../Loader-CxeBwuPG.mjs";
|
|
17
|
+
import { M as Ct } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
18
|
+
import { startOfToday as J } from "date-fns/startOfToday";
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
|
-
import { e as Mt } from "../
|
|
22
|
-
import { T as Dt
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import Q from "@mui/material/
|
|
21
|
+
import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-DPwJjqMH.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-C3dlAzYf.mjs";
|
|
24
|
+
import vt from "@mui/material/Collapse";
|
|
25
|
+
import wt from "@mui/material/Divider";
|
|
26
|
+
import Q from "@mui/material/List";
|
|
27
|
+
import X from "@mui/material/ListItem";
|
|
27
28
|
import Z from "@mui/material/ListItemButton";
|
|
28
|
-
import { u as Lt } from "../useScreenSize-
|
|
29
|
-
import { D as tt } from "../Drawer-
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
import { u as Lt } from "../useScreenSize-mWpmnh5w.mjs";
|
|
30
|
+
import { D as tt } from "../Drawer-BXqqBMxg.mjs";
|
|
31
|
+
import { C as w } from "../Category-DEKZGLYe.mjs";
|
|
32
|
+
import { parseISO as et } from "date-fns/parseISO";
|
|
33
|
+
import { A as nt } from "../Analytics-CzGzz_sE.mjs";
|
|
34
|
+
import { W as It } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
35
|
+
const G = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
|
|
36
|
+
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
|
|
37
|
+
/* @__PURE__ */ t(T, { variant: "caption", children: k(n, o === "mini" ? "0,0" : "0,0.00") })
|
|
35
38
|
] }), At = () => {
|
|
36
|
-
const n =
|
|
39
|
+
const n = _t(), { goals: d, spending: o } = A(), { categories: a, dateRangeCategoryTotals: i } = R(), g = c.useMemo(
|
|
37
40
|
() => [
|
|
38
41
|
n.palette.chartMono.chartMono5,
|
|
39
42
|
n.palette.chartMono.chartMono4,
|
|
@@ -43,149 +46,153 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
43
46
|
n.palette.chartMono.chartMono6
|
|
44
47
|
],
|
|
45
48
|
[n]
|
|
46
|
-
), [e, r] =
|
|
47
|
-
() =>
|
|
48
|
-
[
|
|
49
|
-
),
|
|
50
|
-
() =>
|
|
51
|
-
[
|
|
52
|
-
), M = (
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
r(e ===
|
|
49
|
+
), [e, r] = c.useState(""), [s, b] = c.useState(0), u = c.useMemo(
|
|
50
|
+
() => st(a, d, n, i),
|
|
51
|
+
[a, i]
|
|
52
|
+
), h = c.useMemo(
|
|
53
|
+
() => lt(a, i, g),
|
|
54
|
+
[a, i, g]
|
|
55
|
+
), M = (_, D) => {
|
|
56
|
+
b(D), r("");
|
|
57
|
+
}, f = (_) => {
|
|
58
|
+
r(e === _ ? "" : _);
|
|
56
59
|
};
|
|
57
|
-
return /* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
60
|
+
return /* @__PURE__ */ p(L, { width: "100%", children: [
|
|
61
|
+
/* @__PURE__ */ p(
|
|
62
|
+
rt,
|
|
60
63
|
{
|
|
61
|
-
"aria-label":
|
|
64
|
+
"aria-label": o.mini_title,
|
|
62
65
|
onChange: M,
|
|
63
|
-
|
|
66
|
+
sx: { touchAction: "manipulation" },
|
|
67
|
+
value: s,
|
|
64
68
|
variant: "fullWidth",
|
|
65
69
|
children: [
|
|
66
70
|
/* @__PURE__ */ t(
|
|
67
|
-
|
|
71
|
+
$,
|
|
68
72
|
{
|
|
69
73
|
"aria-controls": "spending-tabpanel",
|
|
70
74
|
id: "spending-tab",
|
|
71
75
|
label: /* @__PURE__ */ t(
|
|
72
|
-
|
|
76
|
+
G,
|
|
73
77
|
{
|
|
74
78
|
amount: u.totalAmount,
|
|
75
|
-
label:
|
|
79
|
+
label: o.spend_tab_title,
|
|
76
80
|
variant: "mini"
|
|
77
81
|
}
|
|
78
82
|
),
|
|
79
|
-
tabIndex:
|
|
83
|
+
tabIndex: s === 0 ? 0 : -1
|
|
80
84
|
}
|
|
81
85
|
),
|
|
82
86
|
/* @__PURE__ */ t(
|
|
83
|
-
|
|
87
|
+
$,
|
|
84
88
|
{
|
|
85
89
|
"aria-controls": "income-tabpanel",
|
|
86
90
|
id: "income-tab",
|
|
87
91
|
label: /* @__PURE__ */ t(
|
|
88
|
-
|
|
92
|
+
G,
|
|
89
93
|
{
|
|
90
|
-
amount:
|
|
91
|
-
label:
|
|
94
|
+
amount: h.totalAmount,
|
|
95
|
+
label: o.income_tab_title,
|
|
92
96
|
variant: "mini"
|
|
93
97
|
}
|
|
94
98
|
),
|
|
95
|
-
tabIndex:
|
|
99
|
+
tabIndex: s === 1 ? 0 : -1
|
|
96
100
|
}
|
|
97
101
|
)
|
|
98
102
|
]
|
|
99
103
|
}
|
|
100
104
|
),
|
|
101
105
|
/* @__PURE__ */ t(
|
|
102
|
-
|
|
106
|
+
L,
|
|
103
107
|
{
|
|
104
108
|
"aria-labelledby": "spending-tab",
|
|
105
|
-
hidden:
|
|
109
|
+
hidden: s !== 0,
|
|
106
110
|
id: "spending-tabpanel",
|
|
107
111
|
role: "tabpanel",
|
|
108
|
-
children: /* @__PURE__ */
|
|
112
|
+
children: /* @__PURE__ */ p(y, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
|
109
113
|
/* @__PURE__ */ t(
|
|
110
|
-
|
|
114
|
+
B,
|
|
111
115
|
{
|
|
112
116
|
data: u,
|
|
113
|
-
onSelected:
|
|
117
|
+
onSelected: f,
|
|
114
118
|
selectedId: e,
|
|
115
|
-
totalLabel:
|
|
119
|
+
totalLabel: o.total_spending
|
|
116
120
|
}
|
|
117
121
|
),
|
|
118
|
-
/* @__PURE__ */ t(
|
|
122
|
+
/* @__PURE__ */ t(q, { data: u, onSelected: f, selectedId: e })
|
|
119
123
|
] })
|
|
120
124
|
}
|
|
121
125
|
),
|
|
122
126
|
/* @__PURE__ */ t(
|
|
123
|
-
|
|
127
|
+
L,
|
|
124
128
|
{
|
|
125
129
|
"aria-labelledby": "income-tab",
|
|
126
|
-
hidden:
|
|
130
|
+
hidden: s !== 1,
|
|
127
131
|
id: "income-tabpanel",
|
|
128
132
|
role: "tabpanel",
|
|
129
|
-
children: /* @__PURE__ */
|
|
133
|
+
children: /* @__PURE__ */ p(y, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
|
130
134
|
/* @__PURE__ */ t(
|
|
131
|
-
|
|
135
|
+
B,
|
|
132
136
|
{
|
|
133
|
-
data:
|
|
137
|
+
data: h,
|
|
134
138
|
isIncome: !0,
|
|
135
|
-
onSelected:
|
|
139
|
+
onSelected: f,
|
|
136
140
|
selectedId: e,
|
|
137
|
-
totalLabel:
|
|
141
|
+
totalLabel: o.total_income
|
|
138
142
|
}
|
|
139
143
|
),
|
|
140
|
-
/* @__PURE__ */ t(
|
|
144
|
+
/* @__PURE__ */ t(q, { data: h, onSelected: f, selectedId: e })
|
|
141
145
|
] })
|
|
142
146
|
}
|
|
143
147
|
)
|
|
144
148
|
] });
|
|
145
|
-
},
|
|
146
|
-
const { isAccountDataLoaded:
|
|
149
|
+
}, Et = I(At), Wt = ({ onPrimaryCtaClick: n, sx: d = {} }) => {
|
|
150
|
+
const { isAccountDataLoaded: o, loadAccountData: a } = ct(), { dateRangeTotalsLoaded: i, categoriesLoaded: g, loadCategories: e, loadDateRangeCategoryTotals: r } = R(), { spending: s } = A(), { isInitialized: b, selectedAccounts: u } = P();
|
|
147
151
|
return gt({
|
|
148
152
|
widgetName: "SpendingMiniWidget",
|
|
149
153
|
isLoaded: i
|
|
150
|
-
}),
|
|
151
|
-
|
|
152
|
-
}, []),
|
|
154
|
+
}), c.useEffect(() => {
|
|
155
|
+
o || a().finally(), g || e().finally();
|
|
156
|
+
}, []), c.useEffect(() => {
|
|
153
157
|
r(
|
|
154
158
|
u,
|
|
155
159
|
at(/* @__PURE__ */ new Date()),
|
|
156
|
-
|
|
160
|
+
it(/* @__PURE__ */ new Date())
|
|
157
161
|
).finally();
|
|
158
|
-
}, [u]),
|
|
162
|
+
}, [u]), b ? /* @__PURE__ */ t(
|
|
159
163
|
Ct,
|
|
160
164
|
{
|
|
161
165
|
className: "mx-exp-spending-miniwidget",
|
|
162
166
|
onPrimaryCtaClick: n,
|
|
163
|
-
primaryCtaLabel:
|
|
167
|
+
primaryCtaLabel: s.primary_cta,
|
|
168
|
+
primaryCtaLabelAria: s.primary_cta_aria,
|
|
164
169
|
sx: { height: "100%", ...d },
|
|
165
|
-
title:
|
|
166
|
-
children: /* @__PURE__ */ t(
|
|
170
|
+
title: s.mini_title,
|
|
171
|
+
children: /* @__PURE__ */ t(Et, {})
|
|
167
172
|
}
|
|
168
|
-
) : /* @__PURE__ */ t(
|
|
169
|
-
},
|
|
173
|
+
) : /* @__PURE__ */ t(pt, {});
|
|
174
|
+
}, Ce = I(Wt), Rt = ({
|
|
170
175
|
data: n,
|
|
171
176
|
onSelected: d,
|
|
172
|
-
selectedId:
|
|
173
|
-
title:
|
|
177
|
+
selectedId: o = "",
|
|
178
|
+
title: a
|
|
174
179
|
}) => {
|
|
175
|
-
const { spending: i } =
|
|
176
|
-
return /* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */ t(T, { bold: !0, id: "spending-list-title", sx: { py: 12 }, variant: "h3", children: `${
|
|
178
|
-
/* @__PURE__ */ t(
|
|
179
|
-
/* @__PURE__ */ t(
|
|
180
|
+
const { spending: i } = A(), g = n.categoryData.find((e) => e.guid === o);
|
|
181
|
+
return /* @__PURE__ */ p(y, { direction: "column", justifyContent: "center", maxWidth: 400, minWidth: 275, width: "100%", children: [
|
|
182
|
+
/* @__PURE__ */ t(T, { bold: !0, id: "spending-list-title", sx: { py: 12 }, variant: "h3", children: `${a} ${i.by_category}` }),
|
|
183
|
+
/* @__PURE__ */ t(wt, { "aria-hidden": "true" }),
|
|
184
|
+
/* @__PURE__ */ t(Q, { "aria-labelledby": "spending-list-title", children: n.categoryData.map((e) => /* @__PURE__ */ p(c.Fragment, { children: [
|
|
180
185
|
/* @__PURE__ */ t(
|
|
181
|
-
|
|
186
|
+
X,
|
|
182
187
|
{
|
|
183
188
|
disableGutters: !0,
|
|
184
189
|
disablePadding: !0,
|
|
185
190
|
sx: {
|
|
191
|
+
borderBottom: 1,
|
|
192
|
+
borderColor: "divider",
|
|
186
193
|
minHeight: 44
|
|
187
194
|
},
|
|
188
|
-
children: /* @__PURE__ */
|
|
195
|
+
children: /* @__PURE__ */ p(
|
|
189
196
|
Z,
|
|
190
197
|
{
|
|
191
198
|
"aria-expanded": g?.guid === e.guid,
|
|
@@ -194,25 +201,27 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
194
201
|
sx: { minHeight: 44, px: 8, py: 0 },
|
|
195
202
|
children: [
|
|
196
203
|
/* @__PURE__ */ t(
|
|
197
|
-
|
|
204
|
+
L,
|
|
198
205
|
{
|
|
206
|
+
"aria-hidden": "true",
|
|
199
207
|
borderRadius: 4,
|
|
200
208
|
flexShrink: 0,
|
|
201
209
|
height: 8,
|
|
210
|
+
role: "presentation",
|
|
202
211
|
sx: { backgroundColor: e.color, mr: 8 },
|
|
203
212
|
width: 8
|
|
204
213
|
}
|
|
205
214
|
),
|
|
206
|
-
/* @__PURE__ */
|
|
207
|
-
|
|
215
|
+
/* @__PURE__ */ p(
|
|
216
|
+
y,
|
|
208
217
|
{
|
|
209
218
|
alignItems: "center",
|
|
210
219
|
direction: "row",
|
|
211
220
|
justifyContent: "space-between",
|
|
212
221
|
width: "100%",
|
|
213
222
|
children: [
|
|
214
|
-
/* @__PURE__ */ t(T, { bold:
|
|
215
|
-
/* @__PURE__ */ t(T, { bold:
|
|
223
|
+
/* @__PURE__ */ t(T, { bold: o === e.guid, children: e.name }),
|
|
224
|
+
/* @__PURE__ */ t(T, { bold: o === e.guid, variant: "body1", children: k(e.amount, "0,0.00") })
|
|
216
225
|
]
|
|
217
226
|
}
|
|
218
227
|
)
|
|
@@ -221,48 +230,44 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
221
230
|
)
|
|
222
231
|
}
|
|
223
232
|
),
|
|
224
|
-
/* @__PURE__ */ t(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
pl: 12,
|
|
231
|
-
py: 0
|
|
232
|
-
},
|
|
233
|
-
children: /* @__PURE__ */ t(
|
|
234
|
-
Z,
|
|
235
|
-
{
|
|
236
|
-
id: `spending-list-subcategory-${r.guid}`,
|
|
237
|
-
onClick: () => d(r.guid, !0),
|
|
238
|
-
sx: { minHeight: 44, px: 8, py: 0 },
|
|
239
|
-
children: /* @__PURE__ */ c(b, { direction: "row", justifyContent: "space-between", width: "100%", children: [
|
|
240
|
-
/* @__PURE__ */ c(T, { children: [
|
|
241
|
-
r.name,
|
|
242
|
-
" "
|
|
243
|
-
] }),
|
|
244
|
-
/* @__PURE__ */ t(T, { children: R(r.amount, "0,0.00") })
|
|
245
|
-
] })
|
|
246
|
-
}
|
|
247
|
-
)
|
|
233
|
+
e.categoryTotals && e.categoryTotals.length > 0 && /* @__PURE__ */ t(vt, { in: g?.guid === e.guid, unmountOnExit: !0, children: /* @__PURE__ */ t(Q, { sx: { borderBottom: 1, borderColor: "divider" }, children: g?.categoryTotals?.map((r) => /* @__PURE__ */ t(
|
|
234
|
+
X,
|
|
235
|
+
{
|
|
236
|
+
sx: {
|
|
237
|
+
pl: 12,
|
|
238
|
+
py: 0
|
|
248
239
|
},
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
240
|
+
children: /* @__PURE__ */ t(
|
|
241
|
+
Z,
|
|
242
|
+
{
|
|
243
|
+
id: `spending-list-subcategory-${r.guid}`,
|
|
244
|
+
onClick: () => d(r.guid, !0),
|
|
245
|
+
sx: { minHeight: 44, px: 8, py: 0 },
|
|
246
|
+
children: /* @__PURE__ */ p(y, { direction: "row", justifyContent: "space-between", width: "100%", children: [
|
|
247
|
+
/* @__PURE__ */ p(T, { children: [
|
|
248
|
+
r.name,
|
|
249
|
+
" "
|
|
250
|
+
] }),
|
|
251
|
+
/* @__PURE__ */ t(T, { children: k(r.amount, "0,0.00") })
|
|
252
|
+
] })
|
|
253
|
+
}
|
|
254
|
+
)
|
|
255
|
+
},
|
|
256
|
+
r.guid
|
|
257
|
+
)) }) })
|
|
253
258
|
] }, e.guid)) }),
|
|
254
|
-
/* @__PURE__ */ t(T, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${i.total}: ${
|
|
259
|
+
/* @__PURE__ */ t(T, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${i.total}: ${k(n.totalAmount, "0,0.00")}` })
|
|
255
260
|
] });
|
|
256
|
-
},
|
|
261
|
+
}, Nt = I(Rt), Ot = ({
|
|
257
262
|
data: n,
|
|
258
263
|
onSelected: d,
|
|
259
|
-
onViewTransactions:
|
|
260
|
-
selectedId:
|
|
264
|
+
onViewTransactions: o,
|
|
265
|
+
selectedId: a,
|
|
261
266
|
title: i
|
|
262
267
|
}) => {
|
|
263
|
-
const { isDesktop: g, isMobile: e } = Lt(), { dateRangeTotalsLoading: r } =
|
|
264
|
-
return /* @__PURE__ */
|
|
265
|
-
|
|
268
|
+
const { isDesktop: g, isMobile: e } = Lt(), { dateRangeTotalsLoading: r } = R(), { spending: s } = A();
|
|
269
|
+
return /* @__PURE__ */ p(
|
|
270
|
+
y,
|
|
266
271
|
{
|
|
267
272
|
alignItems: e ? "center" : "flex-start",
|
|
268
273
|
direction: e ? "column" : "row",
|
|
@@ -272,7 +277,7 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
272
277
|
px: 8,
|
|
273
278
|
children: [
|
|
274
279
|
r && /* @__PURE__ */ t(
|
|
275
|
-
|
|
280
|
+
B,
|
|
276
281
|
{
|
|
277
282
|
data: {
|
|
278
283
|
categoryData: [],
|
|
@@ -288,108 +293,108 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
288
293
|
}
|
|
289
294
|
),
|
|
290
295
|
!r && /* @__PURE__ */ t(
|
|
291
|
-
|
|
296
|
+
B,
|
|
292
297
|
{
|
|
293
298
|
data: n,
|
|
294
|
-
onSelected: (
|
|
295
|
-
d(
|
|
299
|
+
onSelected: (h) => {
|
|
300
|
+
d(h), setTimeout(() => document.getElementById(`spending-list-category-${h}`)?.focus(), 0);
|
|
296
301
|
},
|
|
297
|
-
onViewTransactions:
|
|
298
|
-
selectedId:
|
|
302
|
+
onViewTransactions: o,
|
|
303
|
+
selectedId: a,
|
|
299
304
|
size: g ? 400 : 300,
|
|
300
|
-
totalLabel:
|
|
305
|
+
totalLabel: s.total_amount,
|
|
301
306
|
variant: "full"
|
|
302
307
|
}
|
|
303
308
|
),
|
|
304
|
-
/* @__PURE__ */ t(
|
|
309
|
+
/* @__PURE__ */ t(Nt, { data: n, onSelected: d, selectedId: a, title: i })
|
|
305
310
|
]
|
|
306
311
|
}
|
|
307
312
|
);
|
|
308
|
-
},
|
|
313
|
+
}, ot = I(Ot), kt = (n) => [
|
|
309
314
|
n.palette.chartMono.chartMono5,
|
|
310
315
|
n.palette.chartMono.chartMono4,
|
|
311
316
|
n.palette.chartMono.chartMono3,
|
|
312
317
|
n.palette.chartMono.chartMono2,
|
|
313
318
|
n.palette.chartMono.chartMono1,
|
|
314
319
|
n.palette.chartMono.chartMono6
|
|
315
|
-
],
|
|
316
|
-
const n = Tt(), { is_mobile_webview: d } =
|
|
320
|
+
], $t = () => {
|
|
321
|
+
const n = Tt(), { is_mobile_webview: d } = H(), { clientConfig: o } = H(), { categories: a, dateRangeCategoryTotals: i } = R(), {
|
|
317
322
|
goals: g,
|
|
318
323
|
spending: e,
|
|
319
324
|
transactions: r
|
|
320
|
-
} =
|
|
325
|
+
} = A(), { displayedDateRange: s, selectedAccountGuids: b } = P(), {
|
|
321
326
|
setFilter: u,
|
|
322
|
-
sortedTransactions:
|
|
327
|
+
sortedTransactions: h,
|
|
323
328
|
sortedTransactionsWithSplits: M,
|
|
324
|
-
tags:
|
|
325
|
-
} =
|
|
326
|
-
() =>
|
|
327
|
-
[
|
|
328
|
-
), K =
|
|
329
|
-
() =>
|
|
330
|
-
[
|
|
331
|
-
),
|
|
332
|
-
() =>
|
|
333
|
-
[
|
|
334
|
-
), ut = (
|
|
335
|
-
|
|
336
|
-
}, U = (
|
|
337
|
-
S ? mt(
|
|
338
|
-
}, mt = (
|
|
329
|
+
tags: f
|
|
330
|
+
} = dt(), _ = o?.master?.deep_link_params?.account_guids, D = o?.master?.deep_link_params?.view, [x, N] = c.useState(""), [v, C] = c.useState(D === "income" ? 1 : 0), [E, W] = c.useState(""), [O, j] = c.useState(!1), F = c.useMemo(
|
|
331
|
+
() => st(a, g, n, i),
|
|
332
|
+
[a, i]
|
|
333
|
+
), K = c.useMemo(
|
|
334
|
+
() => lt(a, i, kt(n)),
|
|
335
|
+
[a, i]
|
|
336
|
+
), V = c.useMemo(
|
|
337
|
+
() => h.find((l) => l.guid === E),
|
|
338
|
+
[E, h]
|
|
339
|
+
), ut = (l, S) => {
|
|
340
|
+
C(S), N("");
|
|
341
|
+
}, U = (l, S = !1) => {
|
|
342
|
+
S ? mt(l) : N(x === l || l === "0" ? "" : l);
|
|
343
|
+
}, mt = (l) => {
|
|
339
344
|
u({
|
|
340
345
|
...{
|
|
341
|
-
accounts:
|
|
342
|
-
dateRange:
|
|
346
|
+
accounts: _ || b,
|
|
347
|
+
dateRange: s
|
|
343
348
|
},
|
|
344
|
-
custom: (
|
|
349
|
+
custom: (m) => x === "other" ? m.top_level_category_guid === l : m.category_guid === l,
|
|
345
350
|
showSplits: !0
|
|
346
|
-
}),
|
|
347
|
-
},
|
|
351
|
+
}), j(!0);
|
|
352
|
+
}, Y = (l) => {
|
|
348
353
|
const S = {
|
|
349
|
-
accounts:
|
|
350
|
-
dateRange:
|
|
354
|
+
accounts: _ || b,
|
|
355
|
+
dateRange: s
|
|
351
356
|
};
|
|
352
|
-
if (
|
|
353
|
-
if (
|
|
354
|
-
const
|
|
357
|
+
if (v === 0)
|
|
358
|
+
if (l === "other") {
|
|
359
|
+
const m = F.categoryData.find((z) => z.guid === "other");
|
|
355
360
|
u({
|
|
356
361
|
...S,
|
|
357
|
-
custom: (
|
|
362
|
+
custom: (z) => !!m?.categoryTotals?.find((ft) => ft.guid === z.top_level_category_guid)
|
|
358
363
|
});
|
|
359
364
|
} else
|
|
360
365
|
u({
|
|
361
366
|
...S,
|
|
362
|
-
custom: (
|
|
363
|
-
showSplits: !!
|
|
367
|
+
custom: (m) => l ? m.top_level_category_guid === l : m.top_level_category_guid !== w.INCOME && m.category_guid !== w.INCOME && m.top_level_category_guid !== w.INVESTMENTS && m.top_level_category_guid !== w.TRANSFER,
|
|
368
|
+
showSplits: !!l
|
|
364
369
|
});
|
|
365
370
|
else
|
|
366
371
|
u({
|
|
367
372
|
...S,
|
|
368
|
-
custom: (
|
|
373
|
+
custom: (m) => l ? m.category_guid === l : m.category_guid === w.INCOME || m.top_level_category_guid === w.INCOME
|
|
369
374
|
});
|
|
370
|
-
|
|
375
|
+
j(!0);
|
|
371
376
|
}, ht = () => {
|
|
372
|
-
Mt(M,
|
|
377
|
+
Mt(M, f);
|
|
373
378
|
};
|
|
374
|
-
return /* @__PURE__ */
|
|
375
|
-
/* @__PURE__ */
|
|
379
|
+
return /* @__PURE__ */ p(L, { children: [
|
|
380
|
+
/* @__PURE__ */ p(rt, { onChange: ut, value: v, variant: "fullWidth", children: [
|
|
376
381
|
/* @__PURE__ */ t(
|
|
377
|
-
|
|
382
|
+
$,
|
|
378
383
|
{
|
|
379
384
|
label: /* @__PURE__ */ t(
|
|
380
|
-
|
|
385
|
+
G,
|
|
381
386
|
{
|
|
382
|
-
amount:
|
|
387
|
+
amount: F.totalAmount,
|
|
383
388
|
label: e.spend_tab_title
|
|
384
389
|
}
|
|
385
390
|
)
|
|
386
391
|
}
|
|
387
392
|
),
|
|
388
393
|
/* @__PURE__ */ t(
|
|
389
|
-
|
|
394
|
+
$,
|
|
390
395
|
{
|
|
391
396
|
label: /* @__PURE__ */ t(
|
|
392
|
-
|
|
397
|
+
G,
|
|
393
398
|
{
|
|
394
399
|
amount: K.totalAmount,
|
|
395
400
|
label: e.income_tab_title
|
|
@@ -398,22 +403,22 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
398
403
|
}
|
|
399
404
|
)
|
|
400
405
|
] }),
|
|
401
|
-
|
|
402
|
-
|
|
406
|
+
v === 0 && /* @__PURE__ */ t(
|
|
407
|
+
ot,
|
|
403
408
|
{
|
|
404
|
-
data:
|
|
409
|
+
data: F,
|
|
405
410
|
onSelected: U,
|
|
406
|
-
onViewTransactions:
|
|
411
|
+
onViewTransactions: Y,
|
|
407
412
|
selectedId: x,
|
|
408
413
|
title: e.spend_tab_title
|
|
409
414
|
}
|
|
410
415
|
),
|
|
411
|
-
|
|
412
|
-
|
|
416
|
+
v === 1 && /* @__PURE__ */ t(
|
|
417
|
+
ot,
|
|
413
418
|
{
|
|
414
419
|
data: K,
|
|
415
420
|
onSelected: U,
|
|
416
|
-
onViewTransactions:
|
|
421
|
+
onViewTransactions: Y,
|
|
417
422
|
selectedId: x,
|
|
418
423
|
title: e.income_tab_title
|
|
419
424
|
}
|
|
@@ -422,20 +427,20 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
422
427
|
tt,
|
|
423
428
|
{
|
|
424
429
|
ariaLabelClose: e.close_drawer_aria,
|
|
425
|
-
isOpen:
|
|
426
|
-
onClose: () =>
|
|
430
|
+
isOpen: O,
|
|
431
|
+
onClose: () => j(!1),
|
|
427
432
|
title: e.transactions_drawer_title,
|
|
428
|
-
children: /* @__PURE__ */
|
|
429
|
-
!d &&
|
|
433
|
+
children: /* @__PURE__ */ p(y, { children: [
|
|
434
|
+
!d && h.length > 0 && /* @__PURE__ */ t(y, { direction: "row", justifyContent: "right", mb: -24, mr: 8, mt: 8, zIndex: 1, children: /* @__PURE__ */ t(
|
|
430
435
|
St,
|
|
431
436
|
{
|
|
432
437
|
onClick: ht,
|
|
433
|
-
startIcon: /* @__PURE__ */ t(
|
|
438
|
+
startIcon: /* @__PURE__ */ t(bt, { name: "ios_share" }),
|
|
434
439
|
variant: "text",
|
|
435
440
|
children: r.export_csv_btn
|
|
436
441
|
}
|
|
437
442
|
) }),
|
|
438
|
-
/* @__PURE__ */ t(Dt, { onClick:
|
|
443
|
+
/* @__PURE__ */ t(Dt, { onClick: W })
|
|
439
444
|
] })
|
|
440
445
|
}
|
|
441
446
|
),
|
|
@@ -443,43 +448,45 @@ const O = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b,
|
|
|
443
448
|
tt,
|
|
444
449
|
{
|
|
445
450
|
ariaLabelClose: e.close_drawer_aria,
|
|
446
|
-
isOpen: !!
|
|
447
|
-
onClose: () =>
|
|
451
|
+
isOpen: !!V,
|
|
452
|
+
onClose: () => W(""),
|
|
448
453
|
title: e.transaction_details_drawer_title,
|
|
449
|
-
children:
|
|
454
|
+
children: V && /* @__PURE__ */ t(xt, { transaction: V })
|
|
450
455
|
}
|
|
451
456
|
)
|
|
452
457
|
] });
|
|
453
|
-
},
|
|
454
|
-
const { isAccountDataLoaded: a, loadAccountData:
|
|
458
|
+
}, Bt = I($t), Gt = ({ onBackClick: n, onMenuClick: d, sx: o = {} }) => {
|
|
459
|
+
const { isAccountDataLoaded: a, loadAccountData: i } = ct(), { categoriesLoaded: g, dateRangeTotalsLoaded: e, loadCategories: r, loadDateRangeCategoryTotals: s } = R(), { isTransactionDataLoaded: b, loadTransactionData: u } = dt(), { spending: h } = A(), { displayedDateRange: M, isInitialized: f, setDisplayedDate: _, selectedAccounts: D } = P(), { onEvent: x } = yt(), { clientConfig: N } = H();
|
|
455
460
|
gt({
|
|
456
461
|
widgetName: "SpendingWidget",
|
|
457
|
-
isLoaded:
|
|
458
|
-
}),
|
|
459
|
-
C
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
462
|
+
isLoaded: e
|
|
463
|
+
}), c.useEffect(() => {
|
|
464
|
+
const C = N?.master?.deep_link_params, E = C?.date_range ? [et(C.date_range.from), et(C.date_range.to)] : [at(J()), it(J())], W = E[0], O = E[1];
|
|
465
|
+
_(W, O), a || i().finally(), g || r().finally(), b || u().finally(), f && s(D, W, O).finally(), x(nt.SPENDING_VIEW);
|
|
466
|
+
}, []), c.useEffect(() => {
|
|
467
|
+
f && s(
|
|
468
|
+
D,
|
|
469
|
+
M.start,
|
|
470
|
+
M.end
|
|
465
471
|
).finally();
|
|
466
|
-
}, [
|
|
467
|
-
const
|
|
468
|
-
|
|
472
|
+
}, [M, f, D]);
|
|
473
|
+
const v = (C) => {
|
|
474
|
+
_(C[0], C[1]);
|
|
469
475
|
};
|
|
470
|
-
return
|
|
471
|
-
|
|
476
|
+
return f ? /* @__PURE__ */ t(
|
|
477
|
+
It,
|
|
472
478
|
{
|
|
473
|
-
calendarActions: { onRangeChanged:
|
|
474
|
-
onAccountsFilterClick: () =>
|
|
479
|
+
calendarActions: { onRangeChanged: v },
|
|
480
|
+
onAccountsFilterClick: () => x(nt.SPENDING_CLICK_FILTER),
|
|
475
481
|
onBackClick: n,
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
482
|
+
onMenuClick: d,
|
|
483
|
+
sx: o,
|
|
484
|
+
title: h.title,
|
|
485
|
+
children: /* @__PURE__ */ t(L, { width: "100%", children: /* @__PURE__ */ t(Bt, {}) })
|
|
479
486
|
}
|
|
480
|
-
) : /* @__PURE__ */ t(
|
|
481
|
-
},
|
|
487
|
+
) : /* @__PURE__ */ t(pt, {});
|
|
488
|
+
}, Se = I(Gt);
|
|
482
489
|
export {
|
|
483
|
-
|
|
484
|
-
|
|
490
|
+
Ce as SpendingMiniWidget,
|
|
491
|
+
Se as SpendingWidget
|
|
485
492
|
};
|