@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
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import I, { useMemo as X, useState as P, useEffect as q } from "react";
|
|
3
|
+
import L from "@mui/material/Box";
|
|
4
|
+
import Y from "@mui/material/Button";
|
|
5
|
+
import l from "@mui/material/Stack";
|
|
6
|
+
import { MerchantLogo as J, Text as m, Icon as k, P as $, H3 as tt, H2 as et } from "@mxenabled/mxui";
|
|
7
|
+
import { Receipt as nt, Icon as rt } from "@mxenabled/mx-icons";
|
|
8
|
+
import { T as it, e as ot } from "./TransactionUtils-BphBJBbU.mjs";
|
|
9
|
+
import { observer as V } from "mobx-react-lite";
|
|
10
|
+
import { useVirtualizer as at } from "@tanstack/react-virtual";
|
|
11
|
+
import st from "@mui/material/Divider";
|
|
12
|
+
import ct from "@mui/material/List";
|
|
13
|
+
import { G as lt, h as G, u as z, g as dt, b as Tt } from "./hooks-BaO_gOI6.mjs";
|
|
14
|
+
import ht from "@mui/material/ListItemAvatar";
|
|
15
|
+
import Ct from "@mui/material/ListItemText";
|
|
16
|
+
import { useTheme as M } from "@mui/material/styles";
|
|
17
|
+
import { f as H } from "./NumberFormatting--XMeeBfr.mjs";
|
|
18
|
+
import { L as _t } from "./ListItemWrapper-B5r-YQQ_.mjs";
|
|
19
|
+
import { fromUnixTime as v } from "date-fns/fromUnixTime";
|
|
20
|
+
import { isSameDay as F } from "date-fns/isSameDay";
|
|
21
|
+
import { f as ut, D as pt } from "./DateFormats-HudZ3Bjs.mjs";
|
|
22
|
+
import { i as mt } from "./DateUtil-Bhq59ZVg.mjs";
|
|
23
|
+
import { L as Z } from "./Loader-CxeBwuPG.mjs";
|
|
24
|
+
import { A as gt } from "./Analytics-CzGzz_sE.mjs";
|
|
25
|
+
import At from "@mui/material/Tab";
|
|
26
|
+
import Nt from "@mui/material/Tabs";
|
|
27
|
+
import ft from "@mui/material/IconButton";
|
|
28
|
+
import { D as It } from "./Drawer-BXqqBMxg.mjs";
|
|
29
|
+
import { ChartContainer as xt, ChartsReferenceLine as U, ChartsXAxis as St, BarPlot as Ot } from "@mui/x-charts";
|
|
30
|
+
import Dt from "@mui/material/Card";
|
|
31
|
+
const K = () => {
|
|
32
|
+
if (!I.useContext(lt))
|
|
33
|
+
throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
|
|
34
|
+
return G().uiStore;
|
|
35
|
+
}, bt = {
|
|
36
|
+
ON_TRANSACTION_CATEGORY_CLICK: "onTransactionCategoryClick",
|
|
37
|
+
ON_TRANSACTION_CATEGORY_CHANGED: "onTransactionCategoryChanged",
|
|
38
|
+
ON_TRANSACTION_MANUAL_ADD_CLICK: "onTransactionManualAddClick",
|
|
39
|
+
ON_TRANSACTION_MANUAL_ADD_ADDED: "onTransactionManualAddAdded",
|
|
40
|
+
ON_TRANSACTION_DATE_CHANGED: "onTransactionDateChanged",
|
|
41
|
+
ON_TRANSACTION_DATE_CLICK: "onTransactionDateClick",
|
|
42
|
+
ON_TRANSACTION_DELETE_CANCEL: "onTransactionDeleteCancel",
|
|
43
|
+
ON_TRANSACTION_DELETE_CLICK: "onTransactionDeleteClick",
|
|
44
|
+
ON_TRANSACTION_DELETE_DELETED: "onTransactionDeleted",
|
|
45
|
+
ON_TRANSACTION_DELETE_LOGO_CANCEL: "onTransactionDeleteLogoCancel",
|
|
46
|
+
ON_TRANSACTION_DELETE_LOGO_CLICK: "onTransactionDeleteLogoClick",
|
|
47
|
+
ON_TRANSACTION_DELETE_LOGO_DELETED: "onTransactionDeletedLogo",
|
|
48
|
+
ON_TRANSACTION_DESCRIPTION_EDIT_CLICK: "onTransactionDescriptionEditClick",
|
|
49
|
+
ON_TRANSACTION_DESCRIPTION_SAVE_CLICK: "onTransactionDescriptionSaveClick",
|
|
50
|
+
ON_TRANSACTION_EXPORT_CSV_CLICK: "onTransactionExportCsvClick",
|
|
51
|
+
ON_TRANSACTION_HIDDEN: "onTransactionHidden",
|
|
52
|
+
ON_TRANSACTION_HIDE_CLICK: "onTransactionHideClick",
|
|
53
|
+
ON_TRANSACTION_HIDE_CANCEL_CLICK: "onTransactionHideCancelClick",
|
|
54
|
+
ON_TRANSACTION_LIST_ITEM_CLICK: "onTransactionListItemClick",
|
|
55
|
+
ON_TRANSACTION_MEMO_CHANGED: "onTransactionMemoChanged",
|
|
56
|
+
ON_TRANSACTION_MEMO_CLICK: "onTransactionMemoClick",
|
|
57
|
+
ON_TRANSACTION_SPLIT_ADD_CLICK: "onTransactionSplitAddClick",
|
|
58
|
+
ON_TRANSACTION_SPLIT_CANCEL_CLICK: "onTransactionSplitCancelClick",
|
|
59
|
+
ON_TRANSACTION_SPLIT_CATEGORY_CLICK: "onTransactionSplitCategoryClick",
|
|
60
|
+
ON_TRANSACTION_SPLIT_CLICK: "onTransactionSplitClick",
|
|
61
|
+
ON_TRANSACTION_SPLIT_DELETE_CLICK: "onTransactionSplitDeleteClick",
|
|
62
|
+
ON_TRANSACTION_SPLIT_SAVE_CLICK: "onTransactionSplitSaveClick",
|
|
63
|
+
ON_TRANSACTION_TAGS_CHANGED: "onTransactionTagsChanged",
|
|
64
|
+
ON_TRANSACTION_TAGS_CLICK: "onTransactionTagsClick",
|
|
65
|
+
ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK: "onTransactionTagsTagAddCancelClick",
|
|
66
|
+
ON_TRANSACTION_TAGS_TAG_ADD_CLICK: "onTransactionTagsTagAddClick",
|
|
67
|
+
ON_TRANSACTION_TAGS_TAG_ADDED: "onTransactionTagsTagAdded",
|
|
68
|
+
ON_TRANSACTION_TAGS_TAG_DELETE_CLICK: "onTransactionTagsTagDeleteClick",
|
|
69
|
+
ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK: "onTransactionTagsTagDeleteCancelClick",
|
|
70
|
+
ON_TRANSACTION_TAGS_TAG_DELETED: "onTransactionTagsTagDeleted",
|
|
71
|
+
ON_TRANSACTION_TAGS_TAG_EDIT_CLICK: "onTransactionTagsTagEditClick",
|
|
72
|
+
ON_TRANSACTION_TAGS_TAG_EDIT_SAVED: "onTransactionTagsTagEditSavedClick",
|
|
73
|
+
ON_TRANSACTION_TOGGLE_FLAG_CLICK: "onTransactionToggleFlagClick",
|
|
74
|
+
ON_TRANSACTION_UNHIDDEN: "onTransactionUnHidden",
|
|
75
|
+
ON_TRANSACTION_UNHIDE_CLICK: "onTransactionUnHideClick",
|
|
76
|
+
ON_TRANSACTION_UNHIDE_CANCEL_CLICK: "onTransactionUnHideCancelClick",
|
|
77
|
+
ON_TRANSACTION_UNSPLIT: "onTransactionUnsplit",
|
|
78
|
+
ON_TRANSACTION_UNSPLIT_CANCEL: "onTransactionUnsplitCancel"
|
|
79
|
+
};
|
|
80
|
+
function Et() {
|
|
81
|
+
return window.opener && window.opener.location ? window.opener.location.toString() : document.referrer;
|
|
82
|
+
}
|
|
83
|
+
function Q(t) {
|
|
84
|
+
const r = Et().replace(/([^:]+:\/\/[^\/]+).*/, "$1"), n = window.parent || window.opener || !1;
|
|
85
|
+
return n && n.postMessage && r ? (n.postMessage(t, r), !0) : !1;
|
|
86
|
+
}
|
|
87
|
+
function Lt(t) {
|
|
88
|
+
return Q({
|
|
89
|
+
metadata: { beat_guid: t },
|
|
90
|
+
mx: !0,
|
|
91
|
+
type: "mx/moneyDashboard/insightOnTransaction"
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
function fe(t) {
|
|
95
|
+
return Q({
|
|
96
|
+
metadata: { template: t },
|
|
97
|
+
mx: !0,
|
|
98
|
+
type: "mx/pulse/client_configured_cta"
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
const yt = ({ transaction: t, onClick: r }) => {
|
|
102
|
+
const i = M().palette.mode === "dark", { associatedBeats: o } = G(), { expandedSplits: c } = K(), { transactions: T } = z(), { showInsights: g } = K(), C = t.transaction_type === it.CREDIT, d = I.useMemo(() => o.find((a) => a.associated_transaction_guid === t.guid), [o, t]), p = (a, u) => {
|
|
103
|
+
const A = [];
|
|
104
|
+
return a.is_flagged && A.push(
|
|
105
|
+
/* @__PURE__ */ e(
|
|
106
|
+
k,
|
|
107
|
+
{
|
|
108
|
+
fill: !0,
|
|
109
|
+
name: "flag",
|
|
110
|
+
size: 16,
|
|
111
|
+
sx: { color: u ? "primary.main" : "warning.dark" }
|
|
112
|
+
},
|
|
113
|
+
"flag"
|
|
114
|
+
)
|
|
115
|
+
), a.is_hidden && A.push(/* @__PURE__ */ e(k, { name: "visibility_off", size: 16 }, "hidden")), a.has_been_split && A.push(/* @__PURE__ */ e(k, { name: "call_split", size: 16 }, "split")), A;
|
|
116
|
+
}, _ = (a, u) => a.is_hidden ? u.is_excluded : a.has_been_split ? u.split_transaction_category_label : a.category || "";
|
|
117
|
+
return (
|
|
118
|
+
//TODO: implement common/components/ListItemRow.tsx
|
|
119
|
+
/* @__PURE__ */ s(
|
|
120
|
+
_t,
|
|
121
|
+
{
|
|
122
|
+
clickEventName: bt.ON_TRANSACTION_LIST_ITEM_CLICK,
|
|
123
|
+
onClick: r ? () => r(t.guid) : void 0,
|
|
124
|
+
sx: t.is_hidden ? { backgroundColor: "grey.50", color: "text.secondary" } : void 0,
|
|
125
|
+
children: [
|
|
126
|
+
/* @__PURE__ */ e(ht, { children: t.parent_guid && c.includes(t.parent_guid) ? /* @__PURE__ */ e(I.Fragment, {}) : /* @__PURE__ */ e(
|
|
127
|
+
J,
|
|
128
|
+
{
|
|
129
|
+
categoryGuid: t.top_level_category_guid || "",
|
|
130
|
+
merchantGuid: t.merchant_guid || ""
|
|
131
|
+
}
|
|
132
|
+
) }),
|
|
133
|
+
/* @__PURE__ */ e(
|
|
134
|
+
Ct,
|
|
135
|
+
{
|
|
136
|
+
disableTypography: !0,
|
|
137
|
+
secondary: /* @__PURE__ */ s(l, { direction: "row", justifyContent: "space-between", children: [
|
|
138
|
+
/* @__PURE__ */ s(l, { alignItems: "center", direction: "row", gap: 4, children: [
|
|
139
|
+
p(t, i),
|
|
140
|
+
/* @__PURE__ */ e(m, { truncate: !0, variant: "caption", children: _(t, T) })
|
|
141
|
+
] }),
|
|
142
|
+
d && g && /* @__PURE__ */ e(
|
|
143
|
+
m,
|
|
144
|
+
{
|
|
145
|
+
bold: !0,
|
|
146
|
+
color: "action.active",
|
|
147
|
+
onClick: (a) => {
|
|
148
|
+
a.stopPropagation(), a.preventDefault(), Lt(d.guid);
|
|
149
|
+
},
|
|
150
|
+
truncate: !0,
|
|
151
|
+
variant: "caption",
|
|
152
|
+
children: d.short_title
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
] }),
|
|
156
|
+
children: /* @__PURE__ */ s(l, { direction: "row", justifyContent: "space-between", sx: { gap: 8 }, children: [
|
|
157
|
+
/* @__PURE__ */ e(m, { bold: !0, truncate: !0, variant: "body1", children: t.payee || t.description || t.feed_description }),
|
|
158
|
+
/* @__PURE__ */ s(
|
|
159
|
+
m,
|
|
160
|
+
{
|
|
161
|
+
bold: !0,
|
|
162
|
+
color: C ? "success.main" : "text.primary",
|
|
163
|
+
sx: { flexShrink: 0 },
|
|
164
|
+
variant: "body1",
|
|
165
|
+
children: [
|
|
166
|
+
C ? "+" : "",
|
|
167
|
+
H(t.amount, "0,0.00")
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] })
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
);
|
|
178
|
+
}, wt = V(yt), Rt = ({
|
|
179
|
+
bgcolor: t = "background.default",
|
|
180
|
+
children: r
|
|
181
|
+
}) => /* @__PURE__ */ e(L, { display: "inline-block", sx: { bgcolor: t, py: 6, width: "100%" }, children: /* @__PURE__ */ e(m, { bold: !0, sx: { pl: 24 }, variant: "caption", children: r }) }), kt = ({ showIcon: t = !0, showSubtitle: r = !0 }) => {
|
|
182
|
+
const { transactions: n } = z();
|
|
183
|
+
return /* @__PURE__ */ s(l, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
|
|
184
|
+
t && /* @__PURE__ */ e(nt, { color: "action", sx: { fontSize: 32 } }),
|
|
185
|
+
/* @__PURE__ */ e(m, { bold: !0, color: "text.secondary", variant: "body2", children: n.zero_state_no_transactions }),
|
|
186
|
+
r && /* @__PURE__ */ e(m, { color: "text.secondary", variant: "caption", children: n.zero_state_there_are_no_transactions })
|
|
187
|
+
] });
|
|
188
|
+
}, vt = V(kt), W = (t, r) => {
|
|
189
|
+
const n = v(r[t].date), i = v(r[t - 1]?.date);
|
|
190
|
+
return !F(n, i);
|
|
191
|
+
}, Gt = (t, r) => {
|
|
192
|
+
const n = v(r[t].date), i = v(r[t + 1]?.date);
|
|
193
|
+
return F(n, i);
|
|
194
|
+
}, Ie = (t) => t?.data ? t.data.map((r) => Object.fromEntries((t.names || []).map((n, i) => [n, r[i]]))) : [], xe = (t, r = "") => t.map((i) => {
|
|
195
|
+
const o = ut(i.date, pt.MONTH_SHORT);
|
|
196
|
+
return {
|
|
197
|
+
ariaLabel: `
|
|
198
|
+
${o},
|
|
199
|
+
${H(i.amount, "0.00")},
|
|
200
|
+
${r}`,
|
|
201
|
+
label: o,
|
|
202
|
+
value: i.amount,
|
|
203
|
+
formattedAmount: H(i.amount, "0,0")
|
|
204
|
+
};
|
|
205
|
+
}), B = 65, j = 32, Mt = ({
|
|
206
|
+
bgcolor: t,
|
|
207
|
+
filter: r,
|
|
208
|
+
height: n = "calc(100dvh - 36px)",
|
|
209
|
+
loader: i = /* @__PURE__ */ e(Z, { label: "Loading", size: 40 }),
|
|
210
|
+
onClick: o,
|
|
211
|
+
showInsights: c = !1,
|
|
212
|
+
showLoader: T = !1,
|
|
213
|
+
transaction: g,
|
|
214
|
+
width: C = "100%",
|
|
215
|
+
zeroState: d = /* @__PURE__ */ e(vt, {})
|
|
216
|
+
}) => {
|
|
217
|
+
const { isLoading: p, sortedTransactions: _ } = G(), a = I.useMemo(() => {
|
|
218
|
+
const N = r ? _.filter(r) : _;
|
|
219
|
+
return g ?? N;
|
|
220
|
+
}, [_, g]), { clearExpandedSplits: u, setShowInsights: A, toggleSplit: b } = K(), { onEvent: S } = dt(), O = (N) => {
|
|
221
|
+
const D = a.find((y) => y.guid === N);
|
|
222
|
+
if (D?.has_been_split) {
|
|
223
|
+
b(D.guid);
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
S(gt.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
|
|
227
|
+
account_guid: D?.account_guid,
|
|
228
|
+
transaction_guid: N
|
|
229
|
+
}), o?.(N);
|
|
230
|
+
}, w = I.useRef(null), f = at({
|
|
231
|
+
count: a.length,
|
|
232
|
+
getScrollElement: () => w.current,
|
|
233
|
+
estimateSize: (N) => B + (W(N, a) ? j : 0),
|
|
234
|
+
overscan: 5
|
|
235
|
+
});
|
|
236
|
+
return I.useEffect(() => f.measure(), [a]), I.useEffect(() => A(c), [c]), I.useEffect(() => () => u(), []), /* @__PURE__ */ e(ct, { component: "div", role: "list", sx: { width: C }, children: /* @__PURE__ */ e(L, { height: n, overflow: "auto", ref: w, role: "presentation", width: C, children: /* @__PURE__ */ s(
|
|
237
|
+
L,
|
|
238
|
+
{
|
|
239
|
+
height: (
|
|
240
|
+
// set the height to auto when there are no transactions so the zero state isn't set to 0
|
|
241
|
+
f.getVirtualItems().length === 0 ? "auto" : f.getTotalSize()
|
|
242
|
+
),
|
|
243
|
+
position: "relative",
|
|
244
|
+
role: "presentation",
|
|
245
|
+
width: "100%",
|
|
246
|
+
children: [
|
|
247
|
+
(p || T) && i,
|
|
248
|
+
!p && !T && f.getVirtualItems().length === 0 && d,
|
|
249
|
+
!p && !T && f.getVirtualItems().length > 0 && f.getVirtualItems().map((N) => {
|
|
250
|
+
const D = a[N.index], y = W(N.index, a), h = Gt(N.index, a), x = B + (y ? j : 0);
|
|
251
|
+
return /* @__PURE__ */ s(
|
|
252
|
+
L,
|
|
253
|
+
{
|
|
254
|
+
role: "listitem",
|
|
255
|
+
sx: {
|
|
256
|
+
height: x,
|
|
257
|
+
position: "absolute",
|
|
258
|
+
transform: `translateY(${N.start}px)`,
|
|
259
|
+
width: "100%",
|
|
260
|
+
bgcolor: "background.paper"
|
|
261
|
+
},
|
|
262
|
+
children: [
|
|
263
|
+
y && /* @__PURE__ */ e(Rt, { bgcolor: t, children: mt(D.date) }),
|
|
264
|
+
/* @__PURE__ */ e(
|
|
265
|
+
wt,
|
|
266
|
+
{
|
|
267
|
+
...o && { onClick: O },
|
|
268
|
+
transaction: D
|
|
269
|
+
}
|
|
270
|
+
),
|
|
271
|
+
/* @__PURE__ */ e(st, { sx: { ml: h ? 68 : 0 } })
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
D.guid
|
|
275
|
+
);
|
|
276
|
+
})
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
) }) });
|
|
280
|
+
}, Ht = V(Mt), Kt = ({ message: t, tipAriaLabel: r, onDismiss: n, onAction: i, sx: o }) => {
|
|
281
|
+
const c = i || n, T = i ? "chevron_right" : "close";
|
|
282
|
+
return /* @__PURE__ */ s(
|
|
283
|
+
l,
|
|
284
|
+
{
|
|
285
|
+
sx: {
|
|
286
|
+
backgroundColor: "primary.lighter",
|
|
287
|
+
borderRadius: "8px",
|
|
288
|
+
mb: 24,
|
|
289
|
+
mt: 12,
|
|
290
|
+
p: 12,
|
|
291
|
+
mx: 24,
|
|
292
|
+
alignItems: "flex-start",
|
|
293
|
+
justifyContent: "space-between",
|
|
294
|
+
flexDirection: "row",
|
|
295
|
+
gap: 8,
|
|
296
|
+
...o
|
|
297
|
+
},
|
|
298
|
+
children: [
|
|
299
|
+
/* @__PURE__ */ s(l, { sx: { flexDirection: "row", gap: 4 }, children: [
|
|
300
|
+
/* @__PURE__ */ e(k, { color: "info", fill: !0, name: "lightbulb", size: 24 }),
|
|
301
|
+
/* @__PURE__ */ e($, { color: "primary.dark", fontWeight: 400, noWrap: !1, variant: "subtitle2", children: t })
|
|
302
|
+
] }),
|
|
303
|
+
c && /* @__PURE__ */ e(
|
|
304
|
+
ft,
|
|
305
|
+
{
|
|
306
|
+
"aria-label": r,
|
|
307
|
+
onClick: c,
|
|
308
|
+
size: "small",
|
|
309
|
+
sx: { minHeight: 0, minWidth: 0, p: 0 },
|
|
310
|
+
children: /* @__PURE__ */ e(k, { color: "primary", fill: !0, name: T, size: 20 })
|
|
311
|
+
}
|
|
312
|
+
)
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
);
|
|
316
|
+
}, $t = ({
|
|
317
|
+
ariaLabel: t,
|
|
318
|
+
beat: r,
|
|
319
|
+
chart: n,
|
|
320
|
+
children: i,
|
|
321
|
+
data: o,
|
|
322
|
+
defaultSelectedIndex: c,
|
|
323
|
+
icon: T,
|
|
324
|
+
onTabChange: g,
|
|
325
|
+
tipSection: C
|
|
326
|
+
}) => {
|
|
327
|
+
const { heading: d, subHeading: p } = r, _ = X(
|
|
328
|
+
() => c ?? (o.length ? o.length - 1 : 0),
|
|
329
|
+
[c, o.length]
|
|
330
|
+
), [a, u] = P(_), A = (S, O) => {
|
|
331
|
+
g?.(O), u(O);
|
|
332
|
+
}, b = (S) => {
|
|
333
|
+
u(S);
|
|
334
|
+
};
|
|
335
|
+
return /* @__PURE__ */ s(L, { sx: { bgcolor: "background.paper", width: "100%" }, children: [
|
|
336
|
+
/* @__PURE__ */ e(Nt, { "aria-label": t, onChange: A, value: a, variant: "fullWidth", children: o.map((S, O) => /* @__PURE__ */ e(
|
|
337
|
+
At,
|
|
338
|
+
{
|
|
339
|
+
id: `transaction-details-tab-${O}`,
|
|
340
|
+
label: S.label,
|
|
341
|
+
sx: { minWidth: "auto", px: 0 }
|
|
342
|
+
},
|
|
343
|
+
`${S.label}-${O}`
|
|
344
|
+
)) }),
|
|
345
|
+
/* @__PURE__ */ e(l, { sx: { pt: 16, px: 24 }, children: (d || p) && /* @__PURE__ */ s(l, { sx: { gap: 4 }, children: [
|
|
346
|
+
d && /* @__PURE__ */ e(tt, { children: d }),
|
|
347
|
+
p && /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
348
|
+
T,
|
|
349
|
+
/* @__PURE__ */ e(m, { textTransform: "uppercase", variant: "body2", children: p.description })
|
|
350
|
+
] })
|
|
351
|
+
] }) }),
|
|
352
|
+
n?.(a, b),
|
|
353
|
+
C && /* @__PURE__ */ e(Kt, { ...C }),
|
|
354
|
+
i?.(a)
|
|
355
|
+
] });
|
|
356
|
+
}, Vt = (t) => {
|
|
357
|
+
const [r, n] = P({ width: 0, height: 0 });
|
|
358
|
+
return q(() => {
|
|
359
|
+
const i = () => {
|
|
360
|
+
if (t.current) {
|
|
361
|
+
const { offsetWidth: o, offsetHeight: c } = t.current;
|
|
362
|
+
n({ width: o, height: c });
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
return i(), window.addEventListener("resize", i), () => {
|
|
366
|
+
window.removeEventListener("resize", i);
|
|
367
|
+
};
|
|
368
|
+
}, [t]), r;
|
|
369
|
+
}, zt = ({
|
|
370
|
+
color: t,
|
|
371
|
+
legendStyle: r = {},
|
|
372
|
+
monthlyAmount: n,
|
|
373
|
+
monthlyAmountLabel: i,
|
|
374
|
+
trendAmount: o,
|
|
375
|
+
trendAmountLabel: c
|
|
376
|
+
}) => {
|
|
377
|
+
const T = M();
|
|
378
|
+
return /* @__PURE__ */ s(
|
|
379
|
+
l,
|
|
380
|
+
{
|
|
381
|
+
sx: {
|
|
382
|
+
alignItems: "center",
|
|
383
|
+
flexDirection: "row",
|
|
384
|
+
gap: 24,
|
|
385
|
+
justifyContent: "flex-start",
|
|
386
|
+
py: 4,
|
|
387
|
+
width: "100%",
|
|
388
|
+
...r
|
|
389
|
+
},
|
|
390
|
+
children: [
|
|
391
|
+
i && /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
392
|
+
/* @__PURE__ */ e(
|
|
393
|
+
"svg",
|
|
394
|
+
{
|
|
395
|
+
"aria-hidden": "true",
|
|
396
|
+
"aria-labelledby": "chartLegendLabel",
|
|
397
|
+
fill: "none",
|
|
398
|
+
height: "12",
|
|
399
|
+
role: "figure",
|
|
400
|
+
width: "12",
|
|
401
|
+
children: /* @__PURE__ */ e("rect", { fill: t, height: "12", rx: "2", width: "12" })
|
|
402
|
+
}
|
|
403
|
+
),
|
|
404
|
+
/* @__PURE__ */ s(m, { id: "chartLegendLabel", variant: "caption", children: [
|
|
405
|
+
i,
|
|
406
|
+
": ",
|
|
407
|
+
n
|
|
408
|
+
] })
|
|
409
|
+
] }),
|
|
410
|
+
c && /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
411
|
+
/* @__PURE__ */ e(
|
|
412
|
+
"svg",
|
|
413
|
+
{
|
|
414
|
+
"aria-hidden": "true",
|
|
415
|
+
"aria-labelledby": "chartLegendLabel",
|
|
416
|
+
fill: "none",
|
|
417
|
+
height: "12",
|
|
418
|
+
role: "figure",
|
|
419
|
+
width: "12",
|
|
420
|
+
children: /* @__PURE__ */ e("rect", { fill: T.palette.chart.chart7, height: "12", rx: "2", width: "12" })
|
|
421
|
+
}
|
|
422
|
+
),
|
|
423
|
+
/* @__PURE__ */ s(m, { id: "chartLegendLabel", variant: "caption", children: [
|
|
424
|
+
c,
|
|
425
|
+
": ",
|
|
426
|
+
o
|
|
427
|
+
] })
|
|
428
|
+
] })
|
|
429
|
+
]
|
|
430
|
+
}
|
|
431
|
+
);
|
|
432
|
+
}, Ut = (t, r) => {
|
|
433
|
+
if (t <= 0 || r <= 0) return "";
|
|
434
|
+
const n = Math.min(4, t / 2, r / 2);
|
|
435
|
+
return `M${n},0 L${t - n},0 Q${t},0 ${t},${n} L${t},${r} L0,${r} L0,${n} Q0,0 ${n},0 Z`;
|
|
436
|
+
}, Wt = ({
|
|
437
|
+
colorRange: t,
|
|
438
|
+
data: r,
|
|
439
|
+
dataIndex: n,
|
|
440
|
+
removeSelectedTabColorChange: i,
|
|
441
|
+
selectedTabIndex: o,
|
|
442
|
+
style: c,
|
|
443
|
+
...T
|
|
444
|
+
}) => {
|
|
445
|
+
const g = M(), { ariaLabel: C, formattedAmount: d } = r[n], p = o === n ? "bold" : 400, _ = c.x ?? 0, a = c.y ?? 0, u = c.width ?? 0, A = c.height ?? 0;
|
|
446
|
+
return /* @__PURE__ */ s("g", { "aria-label": C, children: [
|
|
447
|
+
/* @__PURE__ */ e(
|
|
448
|
+
"path",
|
|
449
|
+
{
|
|
450
|
+
...T,
|
|
451
|
+
d: Ut(u, A),
|
|
452
|
+
fill: t[n],
|
|
453
|
+
transform: `translate(${_}, ${a})`
|
|
454
|
+
}
|
|
455
|
+
),
|
|
456
|
+
/* @__PURE__ */ e(
|
|
457
|
+
"text",
|
|
458
|
+
{
|
|
459
|
+
fill: g.palette.text.primary,
|
|
460
|
+
fontSize: 11,
|
|
461
|
+
fontWeight: i ? "bold" : p,
|
|
462
|
+
textAnchor: "middle",
|
|
463
|
+
x: _ + u / 2,
|
|
464
|
+
y: a - 8,
|
|
465
|
+
children: d
|
|
466
|
+
}
|
|
467
|
+
)
|
|
468
|
+
] });
|
|
469
|
+
}, Bt = ({
|
|
470
|
+
amounts: t,
|
|
471
|
+
color: r,
|
|
472
|
+
data: n,
|
|
473
|
+
heightOverride: i,
|
|
474
|
+
margin: o = {
|
|
475
|
+
bottom: 30,
|
|
476
|
+
left: 40,
|
|
477
|
+
right: 40,
|
|
478
|
+
top: 20
|
|
479
|
+
},
|
|
480
|
+
onBarClick: c,
|
|
481
|
+
legendPosition: T = "bottom",
|
|
482
|
+
monthlyAmountLabel: g,
|
|
483
|
+
removeSelectedTabColorChange: C,
|
|
484
|
+
selectedTabIndex: d,
|
|
485
|
+
trendAmountLabel: p
|
|
486
|
+
}) => {
|
|
487
|
+
const _ = I.useRef(null), { height: a, width: u } = Vt(_), A = M(), b = I.useMemo(() => {
|
|
488
|
+
const h = n.map(({ value: R }) => R), x = Math.min(...h), E = Math.max(...h);
|
|
489
|
+
return {
|
|
490
|
+
series: [
|
|
491
|
+
{
|
|
492
|
+
data: h,
|
|
493
|
+
type: "bar"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
xAxis: [
|
|
497
|
+
{
|
|
498
|
+
data: n.map(({ label: R }) => R),
|
|
499
|
+
scaleType: "band",
|
|
500
|
+
categoryGapRatio: 0.45
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
yAxis: [
|
|
504
|
+
{
|
|
505
|
+
scaleType: "linear",
|
|
506
|
+
min: x < 0 ? x * 1.2 : 0,
|
|
507
|
+
max: E > 0 ? E : 0
|
|
508
|
+
}
|
|
509
|
+
]
|
|
510
|
+
};
|
|
511
|
+
}, [n]), S = I.useMemo(() => {
|
|
512
|
+
const h = `${r}80`;
|
|
513
|
+
return C ? n.map(() => r) : d == null ? [...new Array(n.length - 1).fill(h), r] : n.map((x, E) => E === d ? r : h);
|
|
514
|
+
}, [r, n, d]), O = I.useMemo(
|
|
515
|
+
() => n[d ?? n.length - 1],
|
|
516
|
+
[n, d]
|
|
517
|
+
), f = n.reduce((h, x) => Math.min(h, x.value), 1 / 0) < 0, N = /* @__PURE__ */ e(
|
|
518
|
+
zt,
|
|
519
|
+
{
|
|
520
|
+
color: r,
|
|
521
|
+
legendStyle: { pl: o.left },
|
|
522
|
+
monthlyAmount: O.formattedAmount,
|
|
523
|
+
monthlyAmountLabel: g,
|
|
524
|
+
trendAmount: t?.formattedAverage,
|
|
525
|
+
trendAmountLabel: p
|
|
526
|
+
}
|
|
527
|
+
), D = g || p, y = (h, { dataIndex: x }) => c?.(x);
|
|
528
|
+
return /* @__PURE__ */ s(l, { sx: { alignItems: "center", width: "100%" }, children: [
|
|
529
|
+
D && T === "top" && N,
|
|
530
|
+
/* @__PURE__ */ e(
|
|
531
|
+
L,
|
|
532
|
+
{
|
|
533
|
+
ref: _,
|
|
534
|
+
sx: {
|
|
535
|
+
height: i || 122,
|
|
536
|
+
mb: T === "top" ? 0 : 4,
|
|
537
|
+
mt: T === "top" ? 4 : 0,
|
|
538
|
+
touchAction: "pan-y",
|
|
539
|
+
width: "100%",
|
|
540
|
+
"& svg": {
|
|
541
|
+
touchAction: "pan-y",
|
|
542
|
+
userSelect: "none"
|
|
543
|
+
},
|
|
544
|
+
"& .recharts-wrapper": {
|
|
545
|
+
touchAction: "pan-y"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
children: /* @__PURE__ */ s(
|
|
549
|
+
xt,
|
|
550
|
+
{
|
|
551
|
+
height: a,
|
|
552
|
+
margin: {
|
|
553
|
+
bottom: o.bottom,
|
|
554
|
+
left: o.left,
|
|
555
|
+
right: o.right,
|
|
556
|
+
top: o.top || 45
|
|
557
|
+
},
|
|
558
|
+
series: b.series,
|
|
559
|
+
width: u,
|
|
560
|
+
xAxis: b.xAxis,
|
|
561
|
+
yAxis: [{ width: 0 }],
|
|
562
|
+
children: [
|
|
563
|
+
t?.average && /* @__PURE__ */ e(
|
|
564
|
+
U,
|
|
565
|
+
{
|
|
566
|
+
labelAlign: "middle",
|
|
567
|
+
lineStyle: {
|
|
568
|
+
stroke: A.palette.chart.chart7,
|
|
569
|
+
strokeDasharray: "4",
|
|
570
|
+
strokeLinecap: "round",
|
|
571
|
+
strokeWidth: 1
|
|
572
|
+
},
|
|
573
|
+
y: t?.average
|
|
574
|
+
}
|
|
575
|
+
),
|
|
576
|
+
f && /* @__PURE__ */ e(
|
|
577
|
+
U,
|
|
578
|
+
{
|
|
579
|
+
labelAlign: "middle",
|
|
580
|
+
lineStyle: {
|
|
581
|
+
stroke: A.palette.chart.chart7
|
|
582
|
+
},
|
|
583
|
+
y: 0
|
|
584
|
+
}
|
|
585
|
+
),
|
|
586
|
+
/* @__PURE__ */ e(
|
|
587
|
+
St,
|
|
588
|
+
{
|
|
589
|
+
slots: {
|
|
590
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
591
|
+
axisTickLabel: ({ text: h, ownerState: x, ...E }) => {
|
|
592
|
+
const R = n[d ?? n.length - 1]?.label;
|
|
593
|
+
return /* @__PURE__ */ e(
|
|
594
|
+
"text",
|
|
595
|
+
{
|
|
596
|
+
...E,
|
|
597
|
+
style: {
|
|
598
|
+
...E.style,
|
|
599
|
+
fontWeight: !C && R === h ? "bold" : 400
|
|
600
|
+
},
|
|
601
|
+
children: h
|
|
602
|
+
}
|
|
603
|
+
);
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
sx: (h) => ({
|
|
607
|
+
"& .MuiChartsAxis-line": {
|
|
608
|
+
stroke: f ? "none" : h.palette.text?.primary
|
|
609
|
+
},
|
|
610
|
+
"& .MuiChartsAxis-tickContainer:first-of-type .MuiChartsAxis-tick": {
|
|
611
|
+
display: "none"
|
|
612
|
+
},
|
|
613
|
+
"& .MuiChartsAxis-tickLabel": {
|
|
614
|
+
transform: f ? "translateY(15px)" : {}
|
|
615
|
+
}
|
|
616
|
+
}),
|
|
617
|
+
tickLabelStyle: {
|
|
618
|
+
fontSize: 11
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
),
|
|
622
|
+
/* @__PURE__ */ e(
|
|
623
|
+
Ot,
|
|
624
|
+
{
|
|
625
|
+
onItemClick: y,
|
|
626
|
+
slots: {
|
|
627
|
+
bar: (h) => {
|
|
628
|
+
const { ownerState: x, ...E } = h;
|
|
629
|
+
return /* @__PURE__ */ e(
|
|
630
|
+
Wt,
|
|
631
|
+
{
|
|
632
|
+
...E,
|
|
633
|
+
colorRange: S,
|
|
634
|
+
data: n,
|
|
635
|
+
dataIndex: x.dataIndex,
|
|
636
|
+
removeSelectedTabColorChange: C,
|
|
637
|
+
selectedTabIndex: d ?? n.length - 1,
|
|
638
|
+
style: {
|
|
639
|
+
height: h.height,
|
|
640
|
+
x: h.x,
|
|
641
|
+
y: h.y,
|
|
642
|
+
width: h.width
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
);
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
)
|
|
650
|
+
]
|
|
651
|
+
}
|
|
652
|
+
)
|
|
653
|
+
}
|
|
654
|
+
),
|
|
655
|
+
D && T === "bottom" && N
|
|
656
|
+
] });
|
|
657
|
+
}, Se = ({
|
|
658
|
+
ariaLabel: t,
|
|
659
|
+
barChartProps: r,
|
|
660
|
+
beat: n,
|
|
661
|
+
data: i,
|
|
662
|
+
defaultSelectedIndex: o = 0,
|
|
663
|
+
icon: c,
|
|
664
|
+
isOpen: T = !1,
|
|
665
|
+
onClose: g,
|
|
666
|
+
onTabChange: C,
|
|
667
|
+
tipSection: d,
|
|
668
|
+
title: p,
|
|
669
|
+
transactionListProps: _ = {}
|
|
670
|
+
}) => {
|
|
671
|
+
const { common: a, transactions: u } = z(), { isCopyLoaded: A } = Tt(), { sortedTransactionsWithSplits: b, tags: S } = G();
|
|
672
|
+
return A ? /* @__PURE__ */ e(It, { ariaLabelClose: a.close_aria, isOpen: T, onClose: g, title: p, children: /* @__PURE__ */ e(
|
|
673
|
+
$t,
|
|
674
|
+
{
|
|
675
|
+
ariaLabel: t,
|
|
676
|
+
beat: n,
|
|
677
|
+
chart: (O, w) => /* @__PURE__ */ e(L, { sx: { pt: 16 }, children: /* @__PURE__ */ e(
|
|
678
|
+
Bt,
|
|
679
|
+
{
|
|
680
|
+
...r,
|
|
681
|
+
onBarClick: (f) => {
|
|
682
|
+
w(f), r.onBarClick?.(f);
|
|
683
|
+
},
|
|
684
|
+
selectedTabIndex: O
|
|
685
|
+
}
|
|
686
|
+
) }),
|
|
687
|
+
data: i,
|
|
688
|
+
defaultSelectedIndex: o,
|
|
689
|
+
icon: c,
|
|
690
|
+
onTabChange: C,
|
|
691
|
+
tipSection: d,
|
|
692
|
+
children: () => /* @__PURE__ */ s(I.Fragment, { children: [
|
|
693
|
+
/* @__PURE__ */ s(
|
|
694
|
+
l,
|
|
695
|
+
{
|
|
696
|
+
sx: {
|
|
697
|
+
alignItems: "center",
|
|
698
|
+
borderBottomColor: "divider",
|
|
699
|
+
borderBottomStyle: "solid",
|
|
700
|
+
borderBottomWidth: 1,
|
|
701
|
+
flexDirection: "row",
|
|
702
|
+
justifyContent: "space-between",
|
|
703
|
+
pb: 4,
|
|
704
|
+
pt: 16,
|
|
705
|
+
px: 24
|
|
706
|
+
},
|
|
707
|
+
children: [
|
|
708
|
+
/* @__PURE__ */ e(m, { bold: !0, variant: "body1", children: u.transactions_title }),
|
|
709
|
+
(_?.transaction || b.length > 0) && /* @__PURE__ */ e(
|
|
710
|
+
Y,
|
|
711
|
+
{
|
|
712
|
+
onClick: () => {
|
|
713
|
+
ot(
|
|
714
|
+
_?.transaction || b,
|
|
715
|
+
S
|
|
716
|
+
);
|
|
717
|
+
},
|
|
718
|
+
startIcon: /* @__PURE__ */ e(rt, { name: "ios_share" }),
|
|
719
|
+
sx: { height: 28 },
|
|
720
|
+
children: /* @__PURE__ */ e(m, { bold: !0, variant: "body2", children: u.export_csv_btn })
|
|
721
|
+
}
|
|
722
|
+
)
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
),
|
|
726
|
+
/* @__PURE__ */ e(Ht, { ..._ })
|
|
727
|
+
] })
|
|
728
|
+
}
|
|
729
|
+
) }) : /* @__PURE__ */ e(Z, {});
|
|
730
|
+
}, Oe = ({
|
|
731
|
+
amount: t,
|
|
732
|
+
borderRadius: r = "2px",
|
|
733
|
+
count: n,
|
|
734
|
+
completeColor: i = "success.main",
|
|
735
|
+
icon: o,
|
|
736
|
+
label: c,
|
|
737
|
+
leftLabel: T,
|
|
738
|
+
percentComplete: g = 0,
|
|
739
|
+
rightLabel: C,
|
|
740
|
+
sx: d
|
|
741
|
+
}) => /* @__PURE__ */ s(l, { className: "details-container", sx: { p: 24, width: "100%", gap: 16, ...d }, children: [
|
|
742
|
+
/* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
743
|
+
/* @__PURE__ */ e(L, { children: o }),
|
|
744
|
+
/* @__PURE__ */ s(l, { children: [
|
|
745
|
+
typeof c == "string" ? /* @__PURE__ */ e($, { dangerouslySetInnerHTML: { __html: c }, variant: "body2" }) : c,
|
|
746
|
+
typeof t == "string" ? /* @__PURE__ */ e(et, { children: t }) : t
|
|
747
|
+
] })
|
|
748
|
+
] }),
|
|
749
|
+
/* @__PURE__ */ s(l, { sx: { gap: 4 }, children: [
|
|
750
|
+
/* @__PURE__ */ e(
|
|
751
|
+
l,
|
|
752
|
+
{
|
|
753
|
+
sx: {
|
|
754
|
+
bgcolor: "divider",
|
|
755
|
+
borderRadius: r,
|
|
756
|
+
flexDirection: "row",
|
|
757
|
+
height: n ? 20 : 16,
|
|
758
|
+
width: "100%"
|
|
759
|
+
},
|
|
760
|
+
children: /* @__PURE__ */ e(
|
|
761
|
+
L,
|
|
762
|
+
{
|
|
763
|
+
sx: {
|
|
764
|
+
alignItems: "center",
|
|
765
|
+
display: "flex",
|
|
766
|
+
py: 2,
|
|
767
|
+
px: 12,
|
|
768
|
+
bgcolor: i,
|
|
769
|
+
borderRadius: r,
|
|
770
|
+
height: n ? 20 : 16,
|
|
771
|
+
width: `${g}%`
|
|
772
|
+
},
|
|
773
|
+
children: /* @__PURE__ */ e(m, { sx: { color: "primary.dark" }, variant: "caption", children: n })
|
|
774
|
+
}
|
|
775
|
+
)
|
|
776
|
+
}
|
|
777
|
+
),
|
|
778
|
+
!n && /* @__PURE__ */ s(l, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
779
|
+
/* @__PURE__ */ e(m, { variant: "body2", children: T }),
|
|
780
|
+
/* @__PURE__ */ e(m, { variant: "body2", children: C })
|
|
781
|
+
] })
|
|
782
|
+
] })
|
|
783
|
+
] }), De = ({
|
|
784
|
+
title: t,
|
|
785
|
+
description: r,
|
|
786
|
+
callToAction: n,
|
|
787
|
+
instanceSlot: i = void 0,
|
|
788
|
+
onCtaClick: o = () => {
|
|
789
|
+
}
|
|
790
|
+
}) => /* @__PURE__ */ s(Dt, { sx: { pt: 8, pr: 16, pb: 12, pl: 8, borderRadius: "8px" }, children: [
|
|
791
|
+
/* @__PURE__ */ e(
|
|
792
|
+
l,
|
|
793
|
+
{
|
|
794
|
+
sx: {
|
|
795
|
+
flexDirection: "row",
|
|
796
|
+
alignItems: "center",
|
|
797
|
+
justifyContent: "space-between",
|
|
798
|
+
pt: 4,
|
|
799
|
+
pl: 8
|
|
800
|
+
},
|
|
801
|
+
children: /* @__PURE__ */ e(m, { bold: !0, variant: "body1", children: t })
|
|
802
|
+
}
|
|
803
|
+
),
|
|
804
|
+
/* @__PURE__ */ s(
|
|
805
|
+
l,
|
|
806
|
+
{
|
|
807
|
+
sx: {
|
|
808
|
+
gap: 16,
|
|
809
|
+
alignItems: "center",
|
|
810
|
+
flexDirection: "row",
|
|
811
|
+
justifyContent: "space-between"
|
|
812
|
+
},
|
|
813
|
+
children: [
|
|
814
|
+
/* @__PURE__ */ s(l, { children: [
|
|
815
|
+
/* @__PURE__ */ e(l, { sx: { pt: 2, pl: 8, pb: 8 }, children: /* @__PURE__ */ e($, { sx: { fontWeight: 400 }, variant: "subtitle2", children: r }) }),
|
|
816
|
+
/* @__PURE__ */ e(l, { sx: { alignItems: "flex-start" }, children: /* @__PURE__ */ e(
|
|
817
|
+
Y,
|
|
818
|
+
{
|
|
819
|
+
onClick: o,
|
|
820
|
+
sx: {
|
|
821
|
+
p: 0,
|
|
822
|
+
height: 24,
|
|
823
|
+
px: 8,
|
|
824
|
+
py: 8,
|
|
825
|
+
fontWeight: 600,
|
|
826
|
+
fontSize: 13,
|
|
827
|
+
lineHeight: "16px"
|
|
828
|
+
},
|
|
829
|
+
variant: "text",
|
|
830
|
+
children: n
|
|
831
|
+
}
|
|
832
|
+
) })
|
|
833
|
+
] }),
|
|
834
|
+
i
|
|
835
|
+
]
|
|
836
|
+
}
|
|
837
|
+
)
|
|
838
|
+
] });
|
|
839
|
+
export {
|
|
840
|
+
Bt as B,
|
|
841
|
+
Se as C,
|
|
842
|
+
De as E,
|
|
843
|
+
bt as O,
|
|
844
|
+
Rt as S,
|
|
845
|
+
Ht as T,
|
|
846
|
+
wt as a,
|
|
847
|
+
Oe as b,
|
|
848
|
+
Ie as c,
|
|
849
|
+
xe as d,
|
|
850
|
+
Vt as e,
|
|
851
|
+
$t as f,
|
|
852
|
+
Gt as h,
|
|
853
|
+
fe as p,
|
|
854
|
+
W as s,
|
|
855
|
+
K as u
|
|
856
|
+
};
|