@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0-ram1-bug-alpha-testing
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +676 -9
- package/README.md +216 -47
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
- package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
- package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
- package/dist/AccountUtils-T5_Odvos.mjs +27 -0
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Analytics-CkYXKvco.mjs +53 -0
- package/dist/Analytics-CzGzz_sE.mjs +136 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
- package/dist/Connect-Dk6GZEsA.mjs +39 -0
- package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
- package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
- package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
- package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
- package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
- package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/Dialog-CwWc0AbH.mjs +63 -0
- package/dist/Donut-SzzfZDHF.mjs +88 -0
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
- package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
- package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
- package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
- package/dist/LineChart-CejWS_rh.mjs +612 -0
- package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/ManageIncome-B1JfqslT.mjs +595 -0
- package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
- package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
- package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/SelectionBox-B4xELRgp.mjs +48 -0
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-xyRoRDHv.mjs} +7 -7
- package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
- package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
- package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -2
- package/dist/accounts/index.es.js +628 -527
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.d.ts +2 -1
- package/dist/budgets/index.es.js +989 -813
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -2
- package/dist/cashflow/index.es.js +461 -490
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/components/CurrencyDialog.d.ts +19 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/Error.d.ts +13 -0
- package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/TinyBarChart.d.ts +10 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -3
- package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -6
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +24 -24
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.es.js +254 -1348
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +2 -2
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/PostMessage.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +7 -6
- package/dist/common/utils/index.d.ts +1 -6
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.es.js +108 -0
- package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
- package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
- package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +8 -2
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Client.d.ts +1 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/{common → core}/types/Widgets.d.ts +1 -0
- package/dist/{common → core}/types/index.d.ts +4 -3
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
- package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/{common → core}/utils/Localization.d.ts +9 -1
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/dashboard/index.es.js +39 -38
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +715 -775
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +2 -2
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.d.ts +0 -2
- package/dist/finstrong/index.es.js +1587 -1349
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
- package/dist/goals/GoalsWidget.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -2
- package/dist/goals/index.es.js +707 -787
- package/dist/help/HelpWidget.d.ts +2 -2
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +19 -10
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +53 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
- package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
- package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/insights/index.d.ts +25 -0
- package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
- package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
- package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
- package/dist/insights/components/shared/Coupon.d.ts +8 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
- package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
- package/dist/insights/components/shared/TabContainer.d.ts +8 -0
- package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/shared/index.d.ts +2 -0
- package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -1
- package/dist/insights/index.es.js +4843 -2
- package/dist/insights/themes/Typography.d.ts +1 -0
- package/dist/insights/themes/index.d.ts +1 -0
- package/dist/insights/types/Charts/BarChart.d.ts +96 -0
- package/dist/insights/types/CommonBeat.d.ts +367 -0
- package/dist/insights/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/InvestmentsWidget.d.ts +2 -2
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +574 -574
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +18 -20
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +3 -3
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
- package/dist/microinsights/carousel/BeatList.d.ts +3 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +23 -40
- package/dist/microinsights/stores/CopyStore.d.ts +2 -2
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +302 -314
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +101 -93
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +489 -462
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +2 -2
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -2
- package/dist/settings/index.es.js +419 -430
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +229 -222
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -5
- package/dist/transactions/index.es.js +344 -351
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +17 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +991 -876
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +5 -3
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +2 -2
- package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
- package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +65 -43
- package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
- package/dist/AccountFields-BRRH37K1.mjs +0 -140
- package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
- package/dist/AccountStore-BFKvXJSD.mjs +0 -244
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BeatApi-De2IaqH2.mjs +0 -21
- package/dist/BeatStore-D_NYuBSz.mjs +0 -81
- package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
- package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
- package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
- package/dist/DateUtil-CVsMhbZU.mjs +0 -48
- package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
- package/dist/Dialog-CWymUiuO.mjs +0 -120
- package/dist/Donut-Dmy3JTWd.mjs +0 -86
- package/dist/Fetch-DecPFeGU.mjs +0 -119
- package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
- package/dist/GoalStore-Dbjgft2i.mjs +0 -422
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-DHj-Bufi.mjs +0 -580
- package/dist/Loader-BSWSYqvn.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
- package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
- package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
- package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
- package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
- package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
- package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
- package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
- package/dist/TransactionApi-CjBoLleL.mjs +0 -86
- package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
- package/dist/TransactionStore-D2aMUClq.mjs +0 -688
- package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
- package/dist/User-CulNdZUr.mjs +0 -314
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
- package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/debts/store/DebtsStore.d.ts +0 -9
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -14
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
- package/dist/{common → core}/constants/Category.d.ts +0 -0
- package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- package/dist/{help → core}/constants/Help.d.ts +0 -0
- package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- package/dist/{common → core}/constants/Table.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
- package/dist/{common → core}/stores/UserStore.d.ts +1 -1
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
- /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
|
@@ -1,88 +1,130 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import x from "react";
|
|
3
|
-
import { observer as
|
|
4
|
-
import { endOfMonth as
|
|
5
|
-
import { endOfToday as
|
|
6
|
-
import { startOfMonth as
|
|
7
|
-
import { startOfToday as
|
|
8
|
-
import { subDays as
|
|
9
|
-
import { R as
|
|
10
|
-
import { M as
|
|
11
|
-
import { addMonths as
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { isBefore as
|
|
14
|
-
import
|
|
3
|
+
import { observer as R } from "mobx-react-lite";
|
|
4
|
+
import { endOfMonth as z } from "date-fns/endOfMonth";
|
|
5
|
+
import { endOfToday as J } from "date-fns/endOfToday";
|
|
6
|
+
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
|
+
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
|
+
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
+
import { R as _e } from "../RecurringSettings-cm6MK_aS.mjs";
|
|
10
|
+
import { M as Un } from "../RecurringSettings-cm6MK_aS.mjs";
|
|
11
|
+
import { addMonths as ze } from "date-fns/addMonths";
|
|
12
|
+
import { subMonths as He } from "date-fns/subMonths";
|
|
13
|
+
import { isBefore as $e } from "date-fns/isBefore";
|
|
14
|
+
import q from "@mui/material/Grid";
|
|
15
15
|
import ge from "@mui/material/IconButton";
|
|
16
16
|
import l from "@mui/material/Stack";
|
|
17
17
|
import he from "@mui/material/Tab";
|
|
18
|
-
import
|
|
19
|
-
import { Cancel as
|
|
20
|
-
import { Text as h, MerchantLogo as
|
|
18
|
+
import Be from "@mui/material/Tabs";
|
|
19
|
+
import { Cancel as Te, CheckCircle as Se, Schedule as Fe, MonetizationOn as Ue, ChevronLeft as Ye, ChevronRight as je, CurrencyExchange as Ke } from "@mxenabled/mx-icons";
|
|
20
|
+
import { Text as h, MerchantLogo as te, InstitutionLogo as Ve, H3 as qe, H2 as Ze, P as Z } from "@mxenabled/mxui";
|
|
21
|
+
import { g as Xe, L as G, b as N } from "../Localization-DnoVyBNK.mjs";
|
|
21
22
|
import { getWeeksInMonth as fe } from "date-fns/getWeeksInMonth";
|
|
22
|
-
import
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import { f as
|
|
49
|
-
import
|
|
50
|
-
import { S as
|
|
51
|
-
import {
|
|
52
|
-
import
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import { u as
|
|
57
|
-
import {
|
|
58
|
-
|
|
23
|
+
import { enCA as Je } from "date-fns/locale/en-CA";
|
|
24
|
+
import { enUS as xe } from "date-fns/locale/en-US";
|
|
25
|
+
import { es as Qe } from "date-fns/locale/es";
|
|
26
|
+
import { fr as et } from "date-fns/locale/fr";
|
|
27
|
+
import { frCA as tt } from "date-fns/locale/fr-CA";
|
|
28
|
+
import { useTheme as ne } from "@mui/material/styles";
|
|
29
|
+
import { AdapterDateFns as nt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
30
|
+
import { DateCalendar as rt } from "@mui/x-date-pickers/DateCalendar";
|
|
31
|
+
import { LocalizationProvider as it } from "@mui/x-date-pickers/LocalizationProvider";
|
|
32
|
+
import { isSameDay as ot } from "date-fns/isSameDay";
|
|
33
|
+
import at from "@mui/material/Badge";
|
|
34
|
+
import { PickersDay as st } from "@mui/x-date-pickers/PickersDay";
|
|
35
|
+
import { I as B } from "../IconBacking-DgT8DCeh.mjs";
|
|
36
|
+
import { u as y, b as F, i as I, g as U, D as we, h as re } from "../hooks-BaO_gOI6.mjs";
|
|
37
|
+
import { b as A, a as D, g as be, d as ct } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
|
|
38
|
+
import { f as S, D as w } from "../DateFormats-HudZ3Bjs.mjs";
|
|
39
|
+
import { T as W } from "../Sizes-DISGrlUg.mjs";
|
|
40
|
+
import { A as L } from "../Analytics-CzGzz_sE.mjs";
|
|
41
|
+
import lt from "@mui/material/Button";
|
|
42
|
+
import X from "@mui/material/Divider";
|
|
43
|
+
import Ce from "@mui/material/List";
|
|
44
|
+
import Ie from "@mui/material/ListItem";
|
|
45
|
+
import dt from "@mui/material/ListSubheader";
|
|
46
|
+
import ut from "@mui/material/ListItemAvatar";
|
|
47
|
+
import mt from "@mui/material/ListItemButton";
|
|
48
|
+
import pt from "@mui/material/ListItemText";
|
|
49
|
+
import { f as E } from "../NumberFormatting--XMeeBfr.mjs";
|
|
50
|
+
import { d as gt } from "../ManageIncome-B1JfqslT.mjs";
|
|
51
|
+
import { c as jn, M as Kn, S as Vn } from "../ManageIncome-B1JfqslT.mjs";
|
|
52
|
+
import { D as ie } from "../Drawer-BXqqBMxg.mjs";
|
|
53
|
+
import O from "@mui/material/Box";
|
|
54
|
+
import { u as Me } from "../useScreenSize-mWpmnh5w.mjs";
|
|
55
|
+
import { S as Le } from "../StatusBar-CPfSXe80.mjs";
|
|
56
|
+
import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
57
|
+
import { u as oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
58
|
+
import { L as ae } from "../Loader-CxeBwuPG.mjs";
|
|
59
|
+
import { W as ht } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
60
|
+
import { M as ft } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
61
|
+
import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
|
|
62
|
+
import { M as bt } from "../MicroWidgetContainer-CfKdQfhi.mjs";
|
|
63
|
+
const Y = {
|
|
59
64
|
gridRow: 1,
|
|
60
65
|
gridColumn: 1,
|
|
61
66
|
zIndex: 2
|
|
62
|
-
},
|
|
63
|
-
|
|
67
|
+
}, j = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, se = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
|
|
68
|
+
B,
|
|
64
69
|
{
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
backingSx: { backgroundColor: "background.paper" },
|
|
71
|
+
size: n,
|
|
72
|
+
sx: { ...j(t) },
|
|
73
|
+
children: /* @__PURE__ */ e(Fe, { color: "primary", filled: !0, sx: { fontSize: n, ...Y } })
|
|
67
74
|
}
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
), ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
|
|
76
|
+
B,
|
|
77
|
+
{
|
|
78
|
+
backingSx: { backgroundColor: "background.paper" },
|
|
79
|
+
size: n,
|
|
80
|
+
sx: { ...j(t) },
|
|
81
|
+
children: /* @__PURE__ */ e(
|
|
82
|
+
Ue,
|
|
83
|
+
{
|
|
84
|
+
filled: !0,
|
|
85
|
+
sx: { color: "categories.income", fontSize: n, ...Y }
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
), le = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
|
|
90
|
+
B,
|
|
91
|
+
{
|
|
92
|
+
backingSx: { backgroundColor: "background.paper" },
|
|
93
|
+
size: n,
|
|
94
|
+
sx: { ...j(t) },
|
|
95
|
+
children: /* @__PURE__ */ e(Te, { color: "error", filled: !0, sx: { fontSize: n, ...Y } })
|
|
96
|
+
}
|
|
97
|
+
), de = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
|
|
98
|
+
B,
|
|
99
|
+
{
|
|
100
|
+
backingSx: { backgroundColor: "background.paper" },
|
|
101
|
+
size: n,
|
|
102
|
+
sx: { ...j(t) },
|
|
103
|
+
children: /* @__PURE__ */ e(Se, { color: "success", filled: !0, sx: { fontSize: n, ...Y } })
|
|
104
|
+
}
|
|
105
|
+
), Ct = R(
|
|
106
|
+
({ day: t, outsideCurrentMonth: n, ...r }) => {
|
|
107
|
+
const { recurring: i } = y(), { selectedAccountGuids: o } = F(), { recurrences: c, setSelectedDay: u } = I(), a = x.useMemo(
|
|
108
|
+
() => c.filter((f) => o.includes(f.accountGuid)),
|
|
109
|
+
[o, c]
|
|
73
110
|
).filter(
|
|
74
|
-
(f) =>
|
|
75
|
-
), d =
|
|
76
|
-
(f) => f.type !==
|
|
77
|
-
), m =
|
|
78
|
-
(f) => f.type !==
|
|
79
|
-
), g =
|
|
80
|
-
(f) => f.type !==
|
|
81
|
-
), b =
|
|
111
|
+
(f) => ot(f.occurredOnDate || f.expectedDate, t)
|
|
112
|
+
), d = a.some(
|
|
113
|
+
(f) => f.type !== A.Income && f.status === D.Upcoming
|
|
114
|
+
), m = a.some(
|
|
115
|
+
(f) => f.type !== A.Income && f.status === D.Missed
|
|
116
|
+
), g = a.some(
|
|
117
|
+
(f) => f.type !== A.Income && f.status === D.Paid
|
|
118
|
+
), b = a.some((f) => f.type === A.Income), C = (d ? 1 : 0) + (m ? 1 : 0) + (g ? 1 : 0) + (b ? 1 : 0), v = [
|
|
119
|
+
g && i.paid,
|
|
120
|
+
m && i.missed,
|
|
121
|
+
d && i.upcoming,
|
|
122
|
+
b && i.income
|
|
123
|
+
].filter(Boolean), M = v.length > 0 ? `${S(t, w.MONTH_DAY_YEAR)}, ${v.join(", ")}` : S(t, w.MONTH_DAY_YEAR);
|
|
82
124
|
return /* @__PURE__ */ e(
|
|
83
|
-
|
|
125
|
+
at,
|
|
84
126
|
{
|
|
85
|
-
badgeContent:
|
|
127
|
+
badgeContent: a.length > 0 && /* @__PURE__ */ s($, { children: [
|
|
86
128
|
m && /* @__PURE__ */ e(le, { isOffset: !0 }),
|
|
87
129
|
g && /* @__PURE__ */ e(de, { isOffset: !0 }),
|
|
88
130
|
d && /* @__PURE__ */ e(se, { isOffset: !0 }),
|
|
@@ -92,18 +134,14 @@ const F = {
|
|
|
92
134
|
sx: {
|
|
93
135
|
"& .MuiBadge-badge": {
|
|
94
136
|
padding: 0,
|
|
95
|
-
marginRight: `${(
|
|
137
|
+
marginRight: `${(C - 1) * 6 + 1}px`,
|
|
96
138
|
flexWrap: "nowrap"
|
|
97
139
|
}
|
|
98
140
|
},
|
|
99
141
|
children: /* @__PURE__ */ e(
|
|
100
|
-
|
|
142
|
+
st,
|
|
101
143
|
{
|
|
102
|
-
"aria-label":
|
|
103
|
-
${g && o.paid},
|
|
104
|
-
${m && o.missed},
|
|
105
|
-
${d && o.upcoming},
|
|
106
|
-
${b && o.income}`,
|
|
144
|
+
"aria-label": M,
|
|
107
145
|
day: t,
|
|
108
146
|
onClick: () => u(t),
|
|
109
147
|
outsideCurrentMonth: n,
|
|
@@ -114,18 +152,18 @@ const F = {
|
|
|
114
152
|
}
|
|
115
153
|
}
|
|
116
154
|
},
|
|
117
|
-
...
|
|
155
|
+
...r
|
|
118
156
|
}
|
|
119
157
|
)
|
|
120
158
|
}
|
|
121
159
|
);
|
|
122
160
|
}
|
|
123
|
-
),
|
|
161
|
+
), H = ({ icon: t, label: n }) => /* @__PURE__ */ s(l, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
|
|
124
162
|
/* @__PURE__ */ e(t, {}),
|
|
125
|
-
/* @__PURE__ */ e(h, { variant: "
|
|
126
|
-
] }),
|
|
127
|
-
const { recurring: t } =
|
|
128
|
-
return /* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ e(h, { variant: "caption", children: n })
|
|
164
|
+
] }), yt = R(() => {
|
|
165
|
+
const { recurring: t } = y();
|
|
166
|
+
return /* @__PURE__ */ s(
|
|
129
167
|
l,
|
|
130
168
|
{
|
|
131
169
|
alignItems: "center",
|
|
@@ -135,35 +173,44 @@ const F = {
|
|
|
135
173
|
justifyContent: "center",
|
|
136
174
|
mt: 12,
|
|
137
175
|
children: [
|
|
138
|
-
/* @__PURE__ */ e(
|
|
139
|
-
/* @__PURE__ */ e(
|
|
140
|
-
/* @__PURE__ */ e(
|
|
141
|
-
/* @__PURE__ */ e(
|
|
176
|
+
/* @__PURE__ */ e(H, { icon: se, label: t.expense }),
|
|
177
|
+
/* @__PURE__ */ e(H, { icon: ce, label: t.income }),
|
|
178
|
+
/* @__PURE__ */ e(H, { icon: le, label: t.missed }),
|
|
179
|
+
/* @__PURE__ */ e(H, { icon: de, label: t.paid })
|
|
142
180
|
]
|
|
143
181
|
}
|
|
144
182
|
);
|
|
145
|
-
}), ye = 58,
|
|
146
|
-
const t =
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
183
|
+
}), ye = 58, Rt = () => {
|
|
184
|
+
const t = Xe();
|
|
185
|
+
return {
|
|
186
|
+
[G.EN_US]: xe,
|
|
187
|
+
[G.EN_CA]: Je,
|
|
188
|
+
[G.FR]: et,
|
|
189
|
+
[G.FR_CA]: tt,
|
|
190
|
+
[G.ES]: Qe
|
|
191
|
+
}[t] || xe;
|
|
192
|
+
}, Ae = R(() => {
|
|
193
|
+
const t = ne(), { onEvent: n } = U(), { recurring: r } = y(), { selectedDay: i, setDateRange: o } = I(), [c, u] = x.useState(
|
|
194
|
+
fe(/* @__PURE__ */ new Date()) * W + ye
|
|
195
|
+
), p = (m) => {
|
|
196
|
+
u(fe(m) * W + ye), o({
|
|
197
|
+
start: k(m),
|
|
198
|
+
end: z(m)
|
|
199
|
+
}), a(m), n(L.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
|
|
200
|
+
}, a = (m) => {
|
|
154
201
|
m && requestAnimationFrame(() => {
|
|
155
202
|
const g = document.getElementById("recurrence-list");
|
|
156
203
|
g?.setAttribute("tabindex", "-1"), g?.focus();
|
|
157
204
|
});
|
|
158
|
-
},
|
|
159
|
-
|
|
205
|
+
}, d = /* @__PURE__ */ e(
|
|
206
|
+
rt,
|
|
160
207
|
{
|
|
161
|
-
minDate:
|
|
162
|
-
onChange:
|
|
163
|
-
onMonthChange:
|
|
208
|
+
minDate: k(/* @__PURE__ */ new Date()),
|
|
209
|
+
onChange: a,
|
|
210
|
+
onMonthChange: p,
|
|
164
211
|
showDaysOutsideCurrentMonth: !0,
|
|
165
212
|
slots: {
|
|
166
|
-
day:
|
|
213
|
+
day: Ct
|
|
167
214
|
},
|
|
168
215
|
sx: {
|
|
169
216
|
"& .MuiPickersArrowSwitcher-button": {
|
|
@@ -184,136 +231,113 @@ const F = {
|
|
|
184
231
|
pr: 8
|
|
185
232
|
},
|
|
186
233
|
"& .MuiPickersCalendarHeader-label": {
|
|
187
|
-
fontFamily: t.typography.
|
|
188
|
-
fontSize: t.typography.
|
|
234
|
+
fontFamily: t.typography.body1.fontFamily,
|
|
235
|
+
fontSize: t.typography.body1.fontSize,
|
|
189
236
|
fontWeight: 600
|
|
190
237
|
},
|
|
191
238
|
"& .MuiDayCalendar-slideTransition": {
|
|
192
|
-
minHeight:
|
|
239
|
+
minHeight: c
|
|
193
240
|
},
|
|
194
241
|
"&.MuiDateCalendar-root": {
|
|
195
|
-
minHeight:
|
|
242
|
+
minHeight: c + W
|
|
196
243
|
},
|
|
197
244
|
"& .MuiButtonBase-root, .MuiDayCalendar-weekDayLabel": {
|
|
198
|
-
height:
|
|
199
|
-
width:
|
|
245
|
+
height: W,
|
|
246
|
+
width: W,
|
|
200
247
|
margin: 0
|
|
201
248
|
},
|
|
202
249
|
"& .MuiDayCalendar-weekDayLabel": {
|
|
203
250
|
fontFamily: t.typography.h3.fontFamily,
|
|
204
251
|
fontSize: t.typography.body2.fontSize
|
|
205
|
-
}
|
|
252
|
+
},
|
|
253
|
+
"& .MuiPickersDay-dayOutsideMonth": {
|
|
254
|
+
color: "text.secondary"
|
|
255
|
+
},
|
|
256
|
+
textTransform: "capitalize"
|
|
206
257
|
},
|
|
207
258
|
value: i,
|
|
208
259
|
views: ["day"]
|
|
209
260
|
}
|
|
210
261
|
);
|
|
211
|
-
return /* @__PURE__ */
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"span",
|
|
220
|
-
{
|
|
221
|
-
id: "calendar-label",
|
|
222
|
-
style: {
|
|
223
|
-
position: "absolute",
|
|
224
|
-
width: "1px",
|
|
225
|
-
height: "1px",
|
|
226
|
-
padding: 0,
|
|
227
|
-
margin: "-1px",
|
|
228
|
-
overflow: "hidden",
|
|
229
|
-
clip: "rect(0, 0, 0, 0)",
|
|
230
|
-
whiteSpace: "nowrap",
|
|
231
|
-
border: 0
|
|
232
|
-
},
|
|
233
|
-
children: "Calendar filter for recurring transactions list. Filter by month or select specific date."
|
|
234
|
-
}
|
|
235
|
-
),
|
|
236
|
-
/* @__PURE__ */ a(qe, { dateAdapter: Ve, children: [
|
|
237
|
-
i && s,
|
|
238
|
-
!i && s,
|
|
239
|
-
/* @__PURE__ */ e(mt, {})
|
|
240
|
-
] })
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
|
-
);
|
|
244
|
-
}), pt = (t) => {
|
|
245
|
-
if (t.type === I.Income)
|
|
262
|
+
return /* @__PURE__ */ e(l, { "aria-labelledby": "calendar-label", justifyContent: "center", role: "group", children: /* @__PURE__ */ s(it, { adapterLocale: Rt(), dateAdapter: nt, children: [
|
|
263
|
+
i && d,
|
|
264
|
+
!i && d,
|
|
265
|
+
/* @__PURE__ */ e(h, { id: "calendar-label", sx: { alignSelf: "center" }, variant: "body2", children: r.calendar_tooltip }),
|
|
266
|
+
/* @__PURE__ */ e(yt, {})
|
|
267
|
+
] }) });
|
|
268
|
+
}), Dt = (t) => {
|
|
269
|
+
if (t.type === A.Income)
|
|
246
270
|
return /* @__PURE__ */ e(ce, {});
|
|
247
271
|
switch (t.status) {
|
|
248
|
-
case
|
|
272
|
+
case D.Missed:
|
|
249
273
|
return /* @__PURE__ */ e(le, {});
|
|
250
|
-
case
|
|
274
|
+
case D.Paid:
|
|
251
275
|
return /* @__PURE__ */ e(de, {});
|
|
252
276
|
default:
|
|
253
277
|
return /* @__PURE__ */ e(se, {});
|
|
254
278
|
}
|
|
255
|
-
},
|
|
279
|
+
}, _t = (t, n) => {
|
|
256
280
|
switch (t.status) {
|
|
257
|
-
case
|
|
258
|
-
return t.expectedDate ?
|
|
281
|
+
case D.Paid:
|
|
282
|
+
return t.expectedDate ? N(
|
|
259
283
|
n.paid_on,
|
|
260
|
-
|
|
284
|
+
S(
|
|
261
285
|
t.occurredOnDate || t.expectedDate,
|
|
262
|
-
|
|
286
|
+
w.MONTH_DAY
|
|
263
287
|
)
|
|
264
288
|
) : n.paid;
|
|
265
|
-
case
|
|
266
|
-
return
|
|
289
|
+
case D.Missed:
|
|
290
|
+
return N(
|
|
267
291
|
n.missed_on,
|
|
268
|
-
|
|
292
|
+
S(t.expectedDate, w.MONTH_DAY)
|
|
269
293
|
);
|
|
270
|
-
case
|
|
271
|
-
return
|
|
294
|
+
case D.Upcoming:
|
|
295
|
+
return N(
|
|
272
296
|
n.upcoming_on,
|
|
273
|
-
|
|
297
|
+
S(t.expectedDate, w.MONTH_DAY)
|
|
274
298
|
);
|
|
275
299
|
default:
|
|
276
300
|
return n.unknown;
|
|
277
301
|
}
|
|
278
|
-
},
|
|
302
|
+
}, Re = ({
|
|
279
303
|
recurrence: t,
|
|
280
304
|
isMini: n = !1,
|
|
281
|
-
onRecurrenceClick:
|
|
305
|
+
onRecurrenceClick: r = () => {
|
|
282
306
|
},
|
|
283
|
-
showOrdinal:
|
|
307
|
+
showOrdinal: i = !1
|
|
284
308
|
}) => {
|
|
285
|
-
const { recurring:
|
|
286
|
-
() => c.find((
|
|
309
|
+
const { recurring: o } = y(), { detailedRepeatingTransactions: c } = I(), [u, p] = x.useState(!1), a = x.useMemo(
|
|
310
|
+
() => c.find((M) => M.guid === t.repeatingTransactionGuid),
|
|
287
311
|
[t, c]
|
|
288
|
-
), d = t.type ===
|
|
289
|
-
let
|
|
290
|
-
return g ?
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
293
|
-
p(!0),
|
|
312
|
+
), d = t.type === A.Income, m = t.status === D.Paid, g = t.status === D.Missed, b = t.status === D.Upcoming;
|
|
313
|
+
let C = o.paid?.toLowerCase();
|
|
314
|
+
return g ? C = o.missed?.toLowerCase() : b && (C = i ? be(o, a || {}, !0) : be(o, a || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
|
|
315
|
+
/* @__PURE__ */ s(Ie, { disableGutters: !0, disablePadding: !0, children: [
|
|
316
|
+
/* @__PURE__ */ s(mt, { onClick: () => {
|
|
317
|
+
p(!0), r(t);
|
|
294
318
|
}, children: [
|
|
295
|
-
/* @__PURE__ */ e(
|
|
296
|
-
|
|
319
|
+
/* @__PURE__ */ e(ut, { children: /* @__PURE__ */ e(
|
|
320
|
+
te,
|
|
297
321
|
{
|
|
298
322
|
categoryGuid: t.categoryGuid,
|
|
299
323
|
merchantGuid: t.merchantGuid
|
|
300
324
|
}
|
|
301
325
|
) }),
|
|
302
|
-
/* @__PURE__ */ e(
|
|
326
|
+
/* @__PURE__ */ e(pt, { children: /* @__PURE__ */ s(
|
|
303
327
|
l,
|
|
304
328
|
{
|
|
305
329
|
direction: "row",
|
|
306
330
|
gap: 4,
|
|
307
331
|
sx: { justifyContent: "space-between", textOverflow: "ellipsis", textWrap: "nowrap" },
|
|
308
332
|
children: [
|
|
309
|
-
/* @__PURE__ */
|
|
333
|
+
/* @__PURE__ */ s(l, { direction: "column", width: "50%", children: [
|
|
310
334
|
/* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: t.name }),
|
|
311
|
-
/* @__PURE__ */ e(l, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */
|
|
312
|
-
|
|
313
|
-
/* @__PURE__ */ e(h, { variant: "caption", children:
|
|
314
|
-
] }) : /* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ e(l, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ s(l, { direction: "row", gap: 4, children: [
|
|
336
|
+
Dt(t),
|
|
337
|
+
/* @__PURE__ */ e(h, { variant: "caption", children: _t(t, o) })
|
|
338
|
+
] }) : /* @__PURE__ */ s($, { children: [
|
|
315
339
|
t.institutionGuid && /* @__PURE__ */ e(
|
|
316
|
-
|
|
340
|
+
Ve,
|
|
317
341
|
{
|
|
318
342
|
alt: `${t.institutionName} institution logo`,
|
|
319
343
|
institutionGuid: t.institutionGuid,
|
|
@@ -323,12 +347,12 @@ const F = {
|
|
|
323
347
|
/* @__PURE__ */ e(h, { sx: { maxWidth: 250 }, variant: "caption", children: t.institutionName })
|
|
324
348
|
] }) })
|
|
325
349
|
] }),
|
|
326
|
-
/* @__PURE__ */
|
|
327
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ s(l, { alignItems: "flex-end", width: "100%", children: [
|
|
351
|
+
/* @__PURE__ */ s(h, { bold: !0, color: d ? "success.main" : "text.primary", variant: "body1", children: [
|
|
328
352
|
d ? "+" : "",
|
|
329
|
-
|
|
353
|
+
E(t.amount, "0,0.00")
|
|
330
354
|
] }),
|
|
331
|
-
!n && /* @__PURE__ */
|
|
355
|
+
!n && /* @__PURE__ */ s(
|
|
332
356
|
l,
|
|
333
357
|
{
|
|
334
358
|
direction: "row",
|
|
@@ -340,9 +364,9 @@ const F = {
|
|
|
340
364
|
width: "100%"
|
|
341
365
|
},
|
|
342
366
|
children: [
|
|
343
|
-
m && /* @__PURE__ */ e(
|
|
344
|
-
g && /* @__PURE__ */ e(
|
|
345
|
-
/* @__PURE__ */ e(h, { bold: !0, color: "text.secondary", variant: "caption", children:
|
|
367
|
+
m && /* @__PURE__ */ e(Se, { color: "success", filled: !0, size: 12 }),
|
|
368
|
+
g && /* @__PURE__ */ e(Te, { color: "error", filled: !0, size: 12 }),
|
|
369
|
+
/* @__PURE__ */ e(h, { bold: !0, color: "text.secondary", variant: "caption", children: C })
|
|
346
370
|
]
|
|
347
371
|
}
|
|
348
372
|
)
|
|
@@ -354,32 +378,32 @@ const F = {
|
|
|
354
378
|
/* @__PURE__ */ e(
|
|
355
379
|
ie,
|
|
356
380
|
{
|
|
357
|
-
ariaLabelClose:
|
|
381
|
+
ariaLabelClose: o.close_drawer_aria,
|
|
358
382
|
isOpen: u,
|
|
359
383
|
onClose: () => p(!1),
|
|
360
|
-
title: t.type ===
|
|
361
|
-
children:
|
|
362
|
-
|
|
384
|
+
title: t.type === A.Income ? o.income_details : o.expense_details,
|
|
385
|
+
children: a && /* @__PURE__ */ e(
|
|
386
|
+
gt,
|
|
363
387
|
{
|
|
364
388
|
onDeleted: () => p(!1),
|
|
365
|
-
recurringTransaction:
|
|
389
|
+
recurringTransaction: a
|
|
366
390
|
}
|
|
367
391
|
)
|
|
368
392
|
}
|
|
369
393
|
)
|
|
370
394
|
] });
|
|
371
|
-
},
|
|
395
|
+
}, P = R(
|
|
372
396
|
({
|
|
373
397
|
recurrences: t,
|
|
374
398
|
isMini: n = !1,
|
|
375
|
-
onResetClick:
|
|
376
|
-
onRecurrenceClick:
|
|
377
|
-
sx:
|
|
399
|
+
onResetClick: r,
|
|
400
|
+
onRecurrenceClick: i,
|
|
401
|
+
sx: o = {},
|
|
378
402
|
title: c
|
|
379
403
|
}) => {
|
|
380
|
-
const { recurring: u } =
|
|
381
|
-
return /* @__PURE__ */
|
|
382
|
-
c && /* @__PURE__ */
|
|
404
|
+
const { recurring: u } = y(), p = x.useMemo(() => ct(t), [t]);
|
|
405
|
+
return /* @__PURE__ */ s(l, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...o }, "tab-index": -1, children: [
|
|
406
|
+
c && /* @__PURE__ */ s(
|
|
383
407
|
l,
|
|
384
408
|
{
|
|
385
409
|
sx: {
|
|
@@ -389,160 +413,160 @@ const F = {
|
|
|
389
413
|
px: 24
|
|
390
414
|
},
|
|
391
415
|
children: [
|
|
392
|
-
/* @__PURE__ */ e(
|
|
393
|
-
|
|
416
|
+
/* @__PURE__ */ e(qe, { bold: !0, variant: "body1", children: c }),
|
|
417
|
+
r && /* @__PURE__ */ e(lt, { onClick: r, size: "small", variant: "text", children: u.reset })
|
|
394
418
|
]
|
|
395
419
|
}
|
|
396
420
|
),
|
|
397
|
-
t.length === 0 ? /* @__PURE__ */ e(h, { fontStyle: "italic", sx: { py: 24, textAlign: "center" }, children: u.no_activities }) : /* @__PURE__ */ e(
|
|
421
|
+
t.length === 0 ? /* @__PURE__ */ e(h, { fontStyle: "italic", sx: { py: 24, textAlign: "center" }, children: u.no_activities }) : /* @__PURE__ */ e(Ce, { children: n ? t.map((a, d) => /* @__PURE__ */ s(x.Fragment, { children: [
|
|
398
422
|
/* @__PURE__ */ e(
|
|
399
|
-
|
|
423
|
+
Re,
|
|
400
424
|
{
|
|
401
425
|
isMini: n,
|
|
402
|
-
onRecurrenceClick:
|
|
403
|
-
recurrence:
|
|
426
|
+
onRecurrenceClick: i,
|
|
427
|
+
recurrence: a
|
|
404
428
|
}
|
|
405
429
|
),
|
|
406
|
-
/* @__PURE__ */ e(
|
|
407
|
-
] }, `recurrence-${d}`)) : p.map((
|
|
408
|
-
/* @__PURE__ */ e(
|
|
409
|
-
|
|
430
|
+
/* @__PURE__ */ e(X, { sx: { mx: 24 } })
|
|
431
|
+
] }, `recurrence-${d}`)) : p.map((a, d) => /* @__PURE__ */ s(x.Fragment, { children: [
|
|
432
|
+
/* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ e(
|
|
433
|
+
Ce,
|
|
410
434
|
{
|
|
411
|
-
subheader: /* @__PURE__ */ e(
|
|
435
|
+
subheader: /* @__PURE__ */ e(dt, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: S(a.date, w.DAY_OF_WEEK_MONTH_DAY) }) }),
|
|
412
436
|
sx: { width: "100%" },
|
|
413
|
-
children:
|
|
414
|
-
|
|
437
|
+
children: a.recurrences.map((m, g) => /* @__PURE__ */ e(x.Fragment, { children: /* @__PURE__ */ e(
|
|
438
|
+
Re,
|
|
415
439
|
{
|
|
416
440
|
isMini: n,
|
|
417
|
-
onRecurrenceClick:
|
|
441
|
+
onRecurrenceClick: i,
|
|
418
442
|
recurrence: m
|
|
419
443
|
}
|
|
420
444
|
) }, `day-recurrence-${g}`))
|
|
421
445
|
}
|
|
422
|
-
) },
|
|
423
|
-
/* @__PURE__ */ e(
|
|
446
|
+
) }, a.id),
|
|
447
|
+
/* @__PURE__ */ e(X, { sx: { mx: 24 } })
|
|
424
448
|
] }, `recurrence-${d}`)) })
|
|
425
449
|
] });
|
|
426
450
|
}
|
|
427
|
-
),
|
|
428
|
-
({ expected: t, isExpense: n = !0, missed:
|
|
429
|
-
const p =
|
|
430
|
-
const g = [{ color: p.palette.success.main, percentage: `${
|
|
431
|
-
return
|
|
432
|
-
}, [
|
|
433
|
-
return /* @__PURE__ */
|
|
434
|
-
/* @__PURE__ */
|
|
435
|
-
/* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${
|
|
436
|
-
/* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${
|
|
451
|
+
), De = R(
|
|
452
|
+
({ expected: t, isExpense: n = !0, missed: r, paid: i, title: o, total: c, upcoming: u }) => {
|
|
453
|
+
const p = ne(), { isSmallMobile: a } = Me(), { recurring: d } = y(), m = x.useMemo(() => {
|
|
454
|
+
const g = [{ color: p.palette.success.main, percentage: `${i / t}` }];
|
|
455
|
+
return r && g.push({ color: p.palette.error.main, percentage: `${r / t}` }), g;
|
|
456
|
+
}, [i, t, r]);
|
|
457
|
+
return /* @__PURE__ */ s(l, { children: [
|
|
458
|
+
/* @__PURE__ */ s(l, { sx: { flexDirection: "row", justifyContent: "space-between", pb: 12 }, children: [
|
|
459
|
+
/* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${o} (${c})` }),
|
|
460
|
+
/* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${E(t, "0,0.00")}` })
|
|
437
461
|
] }),
|
|
438
|
-
/* @__PURE__ */ e(
|
|
439
|
-
/* @__PURE__ */
|
|
440
|
-
/* @__PURE__ */ e(
|
|
441
|
-
!
|
|
462
|
+
/* @__PURE__ */ e(Le, { data: m, height: 12 }),
|
|
463
|
+
/* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2, my: 8 }, children: [
|
|
464
|
+
/* @__PURE__ */ e(O, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
|
|
465
|
+
!a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(i, "0,0.00") }),
|
|
442
466
|
/* @__PURE__ */ e(h, { variant: "caption", children: d.paid?.toLowerCase() }),
|
|
443
|
-
|
|
444
|
-
/* @__PURE__ */ e(
|
|
445
|
-
!
|
|
467
|
+
r !== void 0 && /* @__PURE__ */ s($, { children: [
|
|
468
|
+
/* @__PURE__ */ e(O, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
|
|
469
|
+
!a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(r, "0,0.00") }),
|
|
446
470
|
/* @__PURE__ */ e(h, { variant: "caption", children: d.missed?.toLowerCase() })
|
|
447
471
|
] }),
|
|
448
|
-
/* @__PURE__ */ e(
|
|
449
|
-
!
|
|
450
|
-
/* @__PURE__ */ e(h, { variant: "caption", children: d.upcoming })
|
|
472
|
+
/* @__PURE__ */ e(O, { sx: { bgcolor: "divider", height: 8, ml: 16, mr: 8, width: 8 } }),
|
|
473
|
+
!a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(u, "0,0.00") }),
|
|
474
|
+
/* @__PURE__ */ e(h, { variant: "caption", children: d.upcoming?.toLowerCase() })
|
|
451
475
|
] })
|
|
452
476
|
] });
|
|
453
477
|
}
|
|
454
|
-
),
|
|
455
|
-
const { recurring: t } =
|
|
478
|
+
), Tt = R(() => {
|
|
479
|
+
const { recurring: t } = y(), { availableWidth: n } = we(), { isDesktop: r, isSmallMobile: i, isMobile: o } = Me(n), { onEvent: c } = U(), {
|
|
456
480
|
currentMonthExpenses: u,
|
|
457
481
|
currentMonthIncome: p,
|
|
458
|
-
dateRange:
|
|
482
|
+
dateRange: a,
|
|
459
483
|
expenseTotal: d,
|
|
460
484
|
incomeTotal: m,
|
|
461
485
|
missedExpenseTotal: g,
|
|
462
486
|
pastRecurrences: b,
|
|
463
|
-
paidExpenseTotal:
|
|
464
|
-
paidIncomeTotal:
|
|
465
|
-
selectedDay:
|
|
466
|
-
selectedDayRecurrences:
|
|
467
|
-
setDateRange:
|
|
487
|
+
paidExpenseTotal: C,
|
|
488
|
+
paidIncomeTotal: v,
|
|
489
|
+
selectedDay: M,
|
|
490
|
+
selectedDayRecurrences: f,
|
|
491
|
+
setDateRange: T,
|
|
468
492
|
upcomingExpenseTotal: K,
|
|
469
|
-
upcomingIncomeTotal:
|
|
493
|
+
upcomingIncomeTotal: Ee,
|
|
470
494
|
upcomingRecurrences: ue
|
|
471
|
-
} =
|
|
472
|
-
|
|
473
|
-
}, me = (
|
|
474
|
-
c(
|
|
475
|
-
transaction_guid:
|
|
495
|
+
} = I(), [V, Ne] = x.useState(0), Oe = $e(a.start, /* @__PURE__ */ new Date()), ke = (_, Pe) => {
|
|
496
|
+
Ne(Pe);
|
|
497
|
+
}, me = (_) => {
|
|
498
|
+
c(L.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
|
|
499
|
+
transaction_guid: _.transaction?.guid
|
|
476
500
|
});
|
|
477
|
-
}, pe = (
|
|
478
|
-
c(
|
|
479
|
-
transaction_guid:
|
|
501
|
+
}, pe = (_) => {
|
|
502
|
+
c(L.RECURRING_TRANSACTIONS_CLICK_PAID, {
|
|
503
|
+
transaction_guid: _.transaction?.guid
|
|
480
504
|
});
|
|
481
505
|
}, Ge = () => {
|
|
482
|
-
const
|
|
483
|
-
|
|
484
|
-
start:
|
|
485
|
-
end:
|
|
506
|
+
const _ = ze(a.start, 1);
|
|
507
|
+
T({
|
|
508
|
+
start: k(_),
|
|
509
|
+
end: z(_)
|
|
486
510
|
});
|
|
487
|
-
},
|
|
488
|
-
const
|
|
489
|
-
|
|
490
|
-
start:
|
|
491
|
-
end:
|
|
511
|
+
}, We = () => {
|
|
512
|
+
const _ = He(a.start, 1);
|
|
513
|
+
T({
|
|
514
|
+
start: k(_),
|
|
515
|
+
end: z(_)
|
|
492
516
|
});
|
|
493
517
|
};
|
|
494
|
-
return /* @__PURE__ */
|
|
495
|
-
|
|
518
|
+
return /* @__PURE__ */ s(
|
|
519
|
+
q,
|
|
496
520
|
{
|
|
497
521
|
container: !0,
|
|
498
522
|
sx: {
|
|
499
523
|
pt: 16
|
|
500
524
|
},
|
|
501
525
|
children: [
|
|
502
|
-
/* @__PURE__ */
|
|
503
|
-
/* @__PURE__ */
|
|
504
|
-
/* @__PURE__ */
|
|
505
|
-
/* @__PURE__ */ e(
|
|
526
|
+
/* @__PURE__ */ s(q, { size: { sm: 12, md: "grow" }, width: "100%", children: [
|
|
527
|
+
/* @__PURE__ */ s(l, { sx: { gap: 16, px: r ? 48 : 24 }, children: [
|
|
528
|
+
/* @__PURE__ */ s(l, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
529
|
+
/* @__PURE__ */ e(Ze, { variant: "h3", children: N(
|
|
506
530
|
t.header_title,
|
|
507
|
-
|
|
531
|
+
S(a.start, w.MONTH_LONG)
|
|
508
532
|
) }),
|
|
509
|
-
!
|
|
533
|
+
!r && /* @__PURE__ */ s(l, { direction: "row", gap: 4, children: [
|
|
510
534
|
/* @__PURE__ */ e(
|
|
511
535
|
ge,
|
|
512
536
|
{
|
|
513
537
|
color: "primary",
|
|
514
|
-
disabled:
|
|
515
|
-
onClick:
|
|
516
|
-
children: /* @__PURE__ */ e(
|
|
538
|
+
disabled: Oe,
|
|
539
|
+
onClick: We,
|
|
540
|
+
children: /* @__PURE__ */ e(Ye, {})
|
|
517
541
|
}
|
|
518
542
|
),
|
|
519
|
-
/* @__PURE__ */ e(ge, { color: "primary", onClick: Ge, children: /* @__PURE__ */ e(
|
|
543
|
+
/* @__PURE__ */ e(ge, { color: "primary", onClick: Ge, children: /* @__PURE__ */ e(je, {}) })
|
|
520
544
|
] })
|
|
521
545
|
] }),
|
|
522
546
|
/* @__PURE__ */ e(
|
|
523
|
-
|
|
547
|
+
De,
|
|
524
548
|
{
|
|
525
549
|
expected: d,
|
|
526
550
|
missed: g,
|
|
527
|
-
paid:
|
|
551
|
+
paid: C,
|
|
528
552
|
title: t.expenses,
|
|
529
553
|
total: u.length,
|
|
530
554
|
upcoming: K
|
|
531
555
|
}
|
|
532
556
|
),
|
|
533
557
|
/* @__PURE__ */ e(
|
|
534
|
-
|
|
558
|
+
De,
|
|
535
559
|
{
|
|
536
560
|
expected: m,
|
|
537
561
|
isExpense: !1,
|
|
538
|
-
paid:
|
|
562
|
+
paid: v,
|
|
539
563
|
title: t.deposits,
|
|
540
564
|
total: p.length,
|
|
541
|
-
upcoming:
|
|
565
|
+
upcoming: Ee
|
|
542
566
|
}
|
|
543
567
|
),
|
|
544
|
-
|
|
545
|
-
|
|
568
|
+
r && /* @__PURE__ */ e(
|
|
569
|
+
P,
|
|
546
570
|
{
|
|
547
571
|
onRecurrenceClick: me,
|
|
548
572
|
recurrences: ue,
|
|
@@ -550,30 +574,30 @@ const F = {
|
|
|
550
574
|
}
|
|
551
575
|
)
|
|
552
576
|
] }),
|
|
553
|
-
!
|
|
554
|
-
/* @__PURE__ */
|
|
577
|
+
!r && /* @__PURE__ */ s(l, { sx: { px: o ? 0 : 24 }, children: [
|
|
578
|
+
/* @__PURE__ */ s(Be, { onChange: ke, value: V, variant: "fullWidth", children: [
|
|
555
579
|
/* @__PURE__ */ e(
|
|
556
580
|
he,
|
|
557
581
|
{
|
|
558
|
-
label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children:
|
|
582
|
+
label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.upcoming : t.upcoming_activity })
|
|
559
583
|
}
|
|
560
584
|
),
|
|
561
585
|
/* @__PURE__ */ e(
|
|
562
586
|
he,
|
|
563
587
|
{
|
|
564
|
-
label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children:
|
|
588
|
+
label: /* @__PURE__ */ e(h, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.past : t.past_transactions })
|
|
565
589
|
}
|
|
566
590
|
)
|
|
567
591
|
] }),
|
|
568
|
-
|
|
569
|
-
|
|
592
|
+
V === 0 && /* @__PURE__ */ e(
|
|
593
|
+
P,
|
|
570
594
|
{
|
|
571
595
|
onRecurrenceClick: me,
|
|
572
596
|
recurrences: ue
|
|
573
597
|
}
|
|
574
598
|
),
|
|
575
|
-
|
|
576
|
-
|
|
599
|
+
V === 1 && /* @__PURE__ */ e(
|
|
600
|
+
P,
|
|
577
601
|
{
|
|
578
602
|
onRecurrenceClick: pe,
|
|
579
603
|
recurrences: b
|
|
@@ -581,16 +605,16 @@ const F = {
|
|
|
581
605
|
)
|
|
582
606
|
] })
|
|
583
607
|
] }),
|
|
584
|
-
|
|
585
|
-
/* @__PURE__ */ e(
|
|
608
|
+
r && /* @__PURE__ */ e(q, { size: { xs: "auto" }, sx: { minWidth: 450 }, children: /* @__PURE__ */ s(l, { gap: 24, children: [
|
|
609
|
+
/* @__PURE__ */ e(Ae, {}),
|
|
586
610
|
/* @__PURE__ */ e(
|
|
587
|
-
|
|
611
|
+
P,
|
|
588
612
|
{
|
|
589
613
|
onRecurrenceClick: pe,
|
|
590
|
-
recurrences:
|
|
591
|
-
title:
|
|
614
|
+
recurrences: f || b,
|
|
615
|
+
title: M ? N(
|
|
592
616
|
t.day_transactions,
|
|
593
|
-
|
|
617
|
+
S(M, w.MONTH_DAY)
|
|
594
618
|
) : t.past_transactions
|
|
595
619
|
}
|
|
596
620
|
)
|
|
@@ -598,114 +622,118 @@ const F = {
|
|
|
598
622
|
]
|
|
599
623
|
}
|
|
600
624
|
);
|
|
601
|
-
}),
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
label: i.action_title,
|
|
619
|
-
iconName: "credit_card_gear",
|
|
620
|
-
onClick: () => {
|
|
621
|
-
b(!0), d(S.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
],
|
|
625
|
-
hasDivider: m,
|
|
626
|
-
onAccountsFilterClick: () => d(S.RECURRING_TRANSACTIONS_CLICK_FILTER),
|
|
627
|
-
onBackClick: t,
|
|
628
|
-
sx: n,
|
|
629
|
-
title: i.title,
|
|
630
|
-
children: [
|
|
631
|
-
c ? /* @__PURE__ */ e(ht, {}) : /* @__PURE__ */ e(Me, { sx: { m: 48 }, variant: "list" }),
|
|
632
|
-
/* @__PURE__ */ e(
|
|
633
|
-
ie,
|
|
625
|
+
}), Pn = R(
|
|
626
|
+
({ onBackClick: t, onMenuClick: n, sx: r = {} }) => {
|
|
627
|
+
const { recurring: i } = y(), { isInitialized: o, selectedAccountGuids: c } = F(), { isDataLoaded: u, loadRepeatingTransactionData: p, setDateRange: a } = I(), { setFilter: d } = re(), { onEvent: m } = U(), [g, b] = x.useState(!1);
|
|
628
|
+
return oe({
|
|
629
|
+
widgetName: "RecurringTransactionsWidget",
|
|
630
|
+
isLoaded: u
|
|
631
|
+
}), x.useEffect(() => {
|
|
632
|
+
u || p().finally();
|
|
633
|
+
}, []), x.useEffect(() => {
|
|
634
|
+
d({
|
|
635
|
+
dateRange: { start: ee(Q(), 90), end: J() },
|
|
636
|
+
accounts: c
|
|
637
|
+
}), a({ start: k(/* @__PURE__ */ new Date()), end: z(/* @__PURE__ */ new Date()) });
|
|
638
|
+
}, [c]), o ? /* @__PURE__ */ s(
|
|
639
|
+
ht,
|
|
640
|
+
{
|
|
641
|
+
actions: [
|
|
634
642
|
{
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
children: /* @__PURE__ */ e(Te, {})
|
|
643
|
+
label: i.action_title,
|
|
644
|
+
iconName: "credit_card_gear",
|
|
645
|
+
onClick: () => {
|
|
646
|
+
b(!0), m(L.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
|
|
647
|
+
}
|
|
641
648
|
}
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
649
|
+
],
|
|
650
|
+
hasDivider: !0,
|
|
651
|
+
onAccountsFilterClick: () => m(L.RECURRING_TRANSACTIONS_CLICK_FILTER),
|
|
652
|
+
onBackClick: t,
|
|
653
|
+
onMenuClick: n,
|
|
654
|
+
sx: r,
|
|
655
|
+
title: i.title,
|
|
656
|
+
children: [
|
|
657
|
+
u ? /* @__PURE__ */ e(Tt, {}) : /* @__PURE__ */ e(ve, { sx: { m: 48 }, variant: "list" }),
|
|
658
|
+
/* @__PURE__ */ e(
|
|
659
|
+
ie,
|
|
660
|
+
{
|
|
661
|
+
ariaLabelClose: i.close_drawer_aria,
|
|
662
|
+
isOpen: g,
|
|
663
|
+
onClose: () => b(!1),
|
|
664
|
+
shouldShowHeaderBorders: !1,
|
|
665
|
+
title: i.action_title,
|
|
666
|
+
children: /* @__PURE__ */ e(_e, {})
|
|
667
|
+
}
|
|
668
|
+
)
|
|
669
|
+
]
|
|
670
|
+
}
|
|
671
|
+
) : /* @__PURE__ */ e(ae, {});
|
|
672
|
+
}
|
|
673
|
+
), St = R(() => {
|
|
674
|
+
const { recurring: t } = y(), { availableWidth: n } = we(), { selectedDay: r, selectedDayRecurrences: i, setSelectedDay: o, upcomingRecurrences: c } = I(), u = n < 750;
|
|
675
|
+
return /* @__PURE__ */ s(l, { flexDirection: u ? "column" : "row", width: "100%", children: [
|
|
676
|
+
/* @__PURE__ */ e(Ae, {}),
|
|
677
|
+
!u && /* @__PURE__ */ e(X, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
|
|
651
678
|
/* @__PURE__ */ e(
|
|
652
|
-
|
|
679
|
+
P,
|
|
653
680
|
{
|
|
654
681
|
isMini: !0,
|
|
655
|
-
onResetClick:
|
|
656
|
-
recurrences:
|
|
682
|
+
onResetClick: r ? () => o(r) : void 0,
|
|
683
|
+
recurrences: i || c.slice(0, 5),
|
|
657
684
|
sx: { width: u ? "100%" : "calc(100% - 336px)", mt: 12 },
|
|
658
|
-
title:
|
|
685
|
+
title: r ? N(
|
|
659
686
|
t.day_transactions,
|
|
660
|
-
|
|
687
|
+
S(r, w.MONTH_DAY)
|
|
661
688
|
) : t.upcoming_activity
|
|
662
689
|
}
|
|
663
690
|
)
|
|
664
691
|
] });
|
|
665
|
-
}),
|
|
692
|
+
}), zn = R(
|
|
666
693
|
({ onPrimaryCtaClick: t, sx: n }) => {
|
|
667
|
-
const { recurring:
|
|
668
|
-
return
|
|
694
|
+
const { recurring: r } = y(), { setFilter: i } = re(), { isDataLoaded: o, loadRepeatingTransactionData: c } = I(), { isInitialized: u, selectedAccountGuids: p } = F();
|
|
695
|
+
return oe({
|
|
669
696
|
widgetName: "RecurringTransactionsMiniWidget",
|
|
670
|
-
isLoaded:
|
|
697
|
+
isLoaded: o
|
|
671
698
|
}), x.useEffect(() => {
|
|
672
|
-
|
|
699
|
+
o || c().finally();
|
|
673
700
|
}, []), x.useEffect(() => {
|
|
674
|
-
p.length > 0 &&
|
|
675
|
-
dateRange: { start: Q(
|
|
701
|
+
p.length > 0 && i({
|
|
702
|
+
dateRange: { start: ee(Q(), 90), end: J() },
|
|
676
703
|
accounts: p
|
|
677
704
|
});
|
|
678
705
|
}, [p]), u ? /* @__PURE__ */ e(
|
|
679
|
-
|
|
706
|
+
ft,
|
|
680
707
|
{
|
|
681
708
|
className: "mx-exp-recurring-transactions-miniwidget",
|
|
682
709
|
onPrimaryCtaClick: t,
|
|
683
|
-
primaryCtaLabel:
|
|
684
|
-
|
|
710
|
+
primaryCtaLabel: r.primary_cta,
|
|
711
|
+
primaryCtaLabelAria: r.primary_cta_aria,
|
|
712
|
+
subTitle: r.sub_title,
|
|
685
713
|
sx: n,
|
|
686
|
-
title:
|
|
687
|
-
children:
|
|
714
|
+
title: r.mini_title,
|
|
715
|
+
children: o ? /* @__PURE__ */ e(St, {}) : /* @__PURE__ */ e(ve, { sx: { mx: 16 }, variant: "list" })
|
|
688
716
|
}
|
|
689
|
-
) : /* @__PURE__ */ e(
|
|
717
|
+
) : /* @__PURE__ */ e(ae, {});
|
|
690
718
|
}
|
|
691
|
-
),
|
|
692
|
-
const { recurring: t } =
|
|
693
|
-
return /* @__PURE__ */
|
|
694
|
-
/* @__PURE__ */ e(
|
|
695
|
-
/* @__PURE__ */
|
|
696
|
-
/* @__PURE__ */ e(
|
|
697
|
-
/* @__PURE__ */ e(
|
|
719
|
+
), wt = R(() => {
|
|
720
|
+
const { recurring: t } = y();
|
|
721
|
+
return /* @__PURE__ */ s(l, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
|
|
722
|
+
/* @__PURE__ */ e(Ke, { size: 32 }),
|
|
723
|
+
/* @__PURE__ */ s(l, { children: [
|
|
724
|
+
/* @__PURE__ */ e(Z, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
|
|
725
|
+
/* @__PURE__ */ e(Z, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
|
|
698
726
|
] })
|
|
699
727
|
] });
|
|
700
|
-
}),
|
|
728
|
+
}), It = ({
|
|
701
729
|
amount: t,
|
|
702
730
|
bgcolor: n,
|
|
703
|
-
isLargeScreen:
|
|
704
|
-
isSmallScreen:
|
|
705
|
-
label:
|
|
706
|
-
}) => /* @__PURE__ */
|
|
731
|
+
isLargeScreen: r,
|
|
732
|
+
isSmallScreen: i,
|
|
733
|
+
label: o
|
|
734
|
+
}) => /* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
707
735
|
/* @__PURE__ */ e(
|
|
708
|
-
|
|
736
|
+
O,
|
|
709
737
|
{
|
|
710
738
|
sx: {
|
|
711
739
|
borderRadius: "2px",
|
|
@@ -715,109 +743,109 @@ const F = {
|
|
|
715
743
|
}
|
|
716
744
|
}
|
|
717
745
|
),
|
|
718
|
-
/* @__PURE__ */
|
|
719
|
-
!
|
|
720
|
-
/* @__PURE__ */ e(h, { variant: "caption", children:
|
|
746
|
+
/* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
|
|
747
|
+
!i && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: E(t, t === 0 || !r ? "0,0" : "0,0.00") }),
|
|
748
|
+
/* @__PURE__ */ e(h, { variant: "caption", children: o })
|
|
721
749
|
] })
|
|
722
|
-
] }),
|
|
750
|
+
] }), Mt = ({
|
|
723
751
|
upcomingRecurrences: t,
|
|
724
752
|
logoSize: n = 32,
|
|
725
|
-
maxLogos:
|
|
753
|
+
maxLogos: r = 3
|
|
726
754
|
}) => {
|
|
727
|
-
const
|
|
755
|
+
const i = (o) => o * (n / 2);
|
|
728
756
|
return /* @__PURE__ */ e(
|
|
729
|
-
|
|
757
|
+
O,
|
|
730
758
|
{
|
|
731
759
|
sx: {
|
|
732
760
|
position: "relative",
|
|
733
761
|
width: 64
|
|
734
762
|
},
|
|
735
|
-
children: t.map((
|
|
736
|
-
|
|
763
|
+
children: t.map((o, c) => c < r ? /* @__PURE__ */ e(
|
|
764
|
+
O,
|
|
737
765
|
{
|
|
738
766
|
sx: {
|
|
739
767
|
borderRadius: "4px",
|
|
740
|
-
left:
|
|
768
|
+
left: i(c),
|
|
741
769
|
outlineColor: "common.white",
|
|
742
770
|
outlineStyle: "solid",
|
|
743
771
|
outlineWidth: 2,
|
|
744
772
|
position: "absolute"
|
|
745
773
|
},
|
|
746
774
|
children: /* @__PURE__ */ e(
|
|
747
|
-
|
|
775
|
+
te,
|
|
748
776
|
{
|
|
749
|
-
categoryGuid:
|
|
750
|
-
merchantGuid:
|
|
777
|
+
categoryGuid: o.categoryGuid || "",
|
|
778
|
+
merchantGuid: o.merchantGuid || "",
|
|
751
779
|
size: n
|
|
752
780
|
}
|
|
753
781
|
)
|
|
754
782
|
},
|
|
755
|
-
`${
|
|
783
|
+
`${o.categoryGuid}-${o.merchantGuid}-${c}`
|
|
756
784
|
) : null)
|
|
757
785
|
}
|
|
758
786
|
);
|
|
759
|
-
},
|
|
787
|
+
}, Lt = ({
|
|
760
788
|
upcomingRecurrences: t,
|
|
761
789
|
maxLogos: n = 3
|
|
762
|
-
}) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((
|
|
763
|
-
|
|
790
|
+
}) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((r, i) => /* @__PURE__ */ e(
|
|
791
|
+
te,
|
|
764
792
|
{
|
|
765
|
-
categoryGuid:
|
|
766
|
-
merchantGuid:
|
|
793
|
+
categoryGuid: r.categoryGuid || "",
|
|
794
|
+
merchantGuid: r.merchantGuid || ""
|
|
767
795
|
},
|
|
768
|
-
`${
|
|
769
|
-
)) }),
|
|
770
|
-
const t =
|
|
771
|
-
upcomingRecurrences:
|
|
772
|
-
expenseTotal:
|
|
796
|
+
`${r.categoryGuid}-${r.merchantGuid}-${i}`
|
|
797
|
+
)) }), vt = R(() => {
|
|
798
|
+
const t = ne(), [n, { width: r }] = xt(), {
|
|
799
|
+
upcomingRecurrences: i,
|
|
800
|
+
expenseTotal: o,
|
|
773
801
|
missedExpenseTotal: c,
|
|
774
802
|
paidExpenseTotal: u,
|
|
775
803
|
upcomingExpenseTotal: p
|
|
776
|
-
} =
|
|
777
|
-
const
|
|
778
|
-
{ color: t.palette.success.main, percentage: `${u /
|
|
804
|
+
} = I(), { recurring: a } = y(), d = r <= 288, m = r >= 450, g = 32, b = i.length > 0, C = x.useMemo(() => E(o, o === 0 ? "0,0" : "0,0.00"), [o]), v = x.useMemo(() => {
|
|
805
|
+
const T = [
|
|
806
|
+
{ color: t.palette.success.main, percentage: `${u / o}` }
|
|
779
807
|
];
|
|
780
|
-
return c &&
|
|
808
|
+
return c && T.push({
|
|
781
809
|
color: t.palette.error.main,
|
|
782
|
-
percentage: `${c /
|
|
783
|
-
}),
|
|
810
|
+
percentage: `${c / o}`
|
|
811
|
+
}), T;
|
|
784
812
|
}, [
|
|
785
813
|
u,
|
|
786
|
-
|
|
814
|
+
o,
|
|
787
815
|
c,
|
|
788
816
|
t.palette.success.main,
|
|
789
817
|
t.palette.error.main
|
|
790
|
-
]),
|
|
791
|
-
|
|
818
|
+
]), M = () => b ? d ? /* @__PURE__ */ e(
|
|
819
|
+
Mt,
|
|
792
820
|
{
|
|
793
821
|
logoSize: g,
|
|
794
822
|
maxLogos: 3,
|
|
795
|
-
upcomingRecurrences:
|
|
823
|
+
upcomingRecurrences: i.slice(0, 3)
|
|
796
824
|
}
|
|
797
|
-
) : /* @__PURE__ */ e(
|
|
825
|
+
) : /* @__PURE__ */ e(Lt, { maxLogos: 3, upcomingRecurrences: i.slice(0, 3) }) : /* @__PURE__ */ e(l, { sx: { width: d ? 64 : 104 } }), f = [
|
|
798
826
|
{
|
|
799
827
|
amount: u,
|
|
800
828
|
bgColor: "success.main",
|
|
801
|
-
label:
|
|
829
|
+
label: a.paid
|
|
802
830
|
},
|
|
803
831
|
{
|
|
804
832
|
amount: c,
|
|
805
833
|
bgColor: "error.main",
|
|
806
|
-
label:
|
|
834
|
+
label: a.missed
|
|
807
835
|
},
|
|
808
836
|
{
|
|
809
837
|
amount: p,
|
|
810
|
-
bgColor: "
|
|
811
|
-
label:
|
|
838
|
+
bgColor: "neutral.light",
|
|
839
|
+
label: a.upcoming
|
|
812
840
|
}
|
|
813
841
|
];
|
|
814
|
-
return /* @__PURE__ */
|
|
815
|
-
/* @__PURE__ */
|
|
816
|
-
/* @__PURE__ */
|
|
842
|
+
return /* @__PURE__ */ s($, { children: [
|
|
843
|
+
/* @__PURE__ */ s(l, { ref: n, sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
844
|
+
/* @__PURE__ */ s(
|
|
817
845
|
l,
|
|
818
846
|
{
|
|
819
847
|
sx: [
|
|
820
|
-
|
|
848
|
+
C.length >= 10 && d ? { flexDirection: "column" } : { flexDirection: "row", gap: 2 },
|
|
821
849
|
{
|
|
822
850
|
alignItems: "baseline",
|
|
823
851
|
overflow: "hidden",
|
|
@@ -830,18 +858,18 @@ const F = {
|
|
|
830
858
|
h,
|
|
831
859
|
{
|
|
832
860
|
sx: { width: "100%" },
|
|
833
|
-
variant:
|
|
834
|
-
children:
|
|
861
|
+
variant: C.length >= 10 && d ? "h3" : "h2",
|
|
862
|
+
children: C
|
|
835
863
|
}
|
|
836
864
|
),
|
|
837
|
-
/* @__PURE__ */ e(
|
|
865
|
+
/* @__PURE__ */ e(Z, { sx: { pr: 12 }, variant: "caption", children: a.expected })
|
|
838
866
|
]
|
|
839
867
|
}
|
|
840
868
|
),
|
|
841
|
-
|
|
869
|
+
M()
|
|
842
870
|
] }),
|
|
843
|
-
/* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */ e(
|
|
871
|
+
/* @__PURE__ */ s(l, { sx: { pt: 12 }, children: [
|
|
872
|
+
/* @__PURE__ */ e(Le, { data: v }),
|
|
845
873
|
/* @__PURE__ */ e(
|
|
846
874
|
l,
|
|
847
875
|
{
|
|
@@ -851,14 +879,14 @@ const F = {
|
|
|
851
879
|
gap: 16,
|
|
852
880
|
mt: 4
|
|
853
881
|
},
|
|
854
|
-
children:
|
|
855
|
-
|
|
882
|
+
children: f.map((T, K) => /* @__PURE__ */ e(
|
|
883
|
+
It,
|
|
856
884
|
{
|
|
857
|
-
amount:
|
|
858
|
-
bgcolor:
|
|
885
|
+
amount: T.amount,
|
|
886
|
+
bgcolor: T.bgColor,
|
|
859
887
|
isLargeScreen: m,
|
|
860
888
|
isSmallScreen: d,
|
|
861
|
-
label:
|
|
889
|
+
label: T.label
|
|
862
890
|
},
|
|
863
891
|
`recurrence-legend-${K}`
|
|
864
892
|
))
|
|
@@ -866,72 +894,71 @@ const F = {
|
|
|
866
894
|
)
|
|
867
895
|
] })
|
|
868
896
|
] });
|
|
869
|
-
}),
|
|
897
|
+
}), Hn = R(
|
|
870
898
|
({ onCTAClick: t }) => {
|
|
871
|
-
const { onEvent: n } =
|
|
872
|
-
loadRepeatingTransactionData:
|
|
899
|
+
const { onEvent: n } = U(), { isInitialized: r, selectedAccountGuids: i } = F(), {
|
|
900
|
+
loadRepeatingTransactionData: o,
|
|
873
901
|
upcomingRecurrences: c,
|
|
874
902
|
repeatingTransactions: u,
|
|
875
903
|
setDateRange: p,
|
|
876
|
-
isDataLoaded:
|
|
877
|
-
} =
|
|
878
|
-
|
|
904
|
+
isDataLoaded: a
|
|
905
|
+
} = I(), { setFilter: d } = re(), { recurring: m, budgets: g } = y();
|
|
906
|
+
oe({
|
|
879
907
|
widgetName: "RecurringTransactionsMicroWidget",
|
|
880
|
-
isLoaded:
|
|
908
|
+
isLoaded: a
|
|
881
909
|
}), x.useEffect(() => {
|
|
882
|
-
|
|
883
|
-
n(
|
|
910
|
+
a || o().finally(() => {
|
|
911
|
+
n(L.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
|
|
884
912
|
state: c.length > 0 ? "default" : "zeroState"
|
|
885
913
|
});
|
|
886
914
|
});
|
|
887
915
|
}, []), x.useEffect(() => {
|
|
888
|
-
|
|
889
|
-
dateRange: { start: Q(
|
|
890
|
-
accounts:
|
|
891
|
-
}), p({ start:
|
|
892
|
-
}, [
|
|
916
|
+
r && (d({
|
|
917
|
+
dateRange: { start: ee(Q(), 90), end: J() },
|
|
918
|
+
accounts: i
|
|
919
|
+
}), p({ start: k(/* @__PURE__ */ new Date()), end: z(/* @__PURE__ */ new Date()) }));
|
|
920
|
+
}, [r, i]);
|
|
893
921
|
const b = () => {
|
|
894
922
|
n(
|
|
895
|
-
c.length > 0 ?
|
|
923
|
+
c.length > 0 ? L.RECURRING_TRANSACTIONS_CLICK_GET_STARTED : L.RECURRING_TRANSACTIONS_CLICK_VIEW_ALL
|
|
896
924
|
), t();
|
|
897
925
|
};
|
|
898
|
-
if (!
|
|
899
|
-
const
|
|
926
|
+
if (!r || !a) return /* @__PURE__ */ e(ae, { height: 100 });
|
|
927
|
+
const C = !u?.length;
|
|
900
928
|
return /* @__PURE__ */ e(
|
|
901
|
-
|
|
929
|
+
bt,
|
|
902
930
|
{
|
|
903
931
|
className: "mx-recurring-transaction-microwidget",
|
|
904
|
-
ctaLabel:
|
|
932
|
+
ctaLabel: C ? g.get_started_cta : m.primary_cta,
|
|
905
933
|
onCTAClick: b,
|
|
906
934
|
title: m.recurring_expenses,
|
|
907
|
-
children:
|
|
935
|
+
children: C ? /* @__PURE__ */ e(wt, {}) : /* @__PURE__ */ e(vt, {})
|
|
908
936
|
}
|
|
909
937
|
);
|
|
910
938
|
}
|
|
911
|
-
),
|
|
912
|
-
({ isOpen: t, onClose: n, selectedTab:
|
|
913
|
-
const { cashflow:
|
|
939
|
+
), $n = R(
|
|
940
|
+
({ isOpen: t, onClose: n, selectedTab: r }) => {
|
|
941
|
+
const { cashflow: i } = y();
|
|
914
942
|
return /* @__PURE__ */ e(
|
|
915
943
|
ie,
|
|
916
944
|
{
|
|
917
|
-
ariaLabelClose:
|
|
945
|
+
ariaLabelClose: i.close_settings_aria,
|
|
918
946
|
isOpen: t,
|
|
919
947
|
onClose: n,
|
|
920
|
-
title:
|
|
921
|
-
children: /* @__PURE__ */ e(
|
|
948
|
+
title: i.cashflow_settings,
|
|
949
|
+
children: /* @__PURE__ */ e(_e, { defaultSelectedTab: r })
|
|
922
950
|
}
|
|
923
951
|
);
|
|
924
952
|
}
|
|
925
953
|
);
|
|
926
954
|
export {
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
On as SelectTransaction
|
|
955
|
+
jn as AddRecurringTransactionDetails,
|
|
956
|
+
Un as ManageExpenses,
|
|
957
|
+
Kn as ManageIncome,
|
|
958
|
+
_e as RecurringSettings,
|
|
959
|
+
$n as RecurringSettingsDrawer,
|
|
960
|
+
Hn as RecurringTransactionsMicroWidget,
|
|
961
|
+
zn as RecurringTransactionsMiniWidget,
|
|
962
|
+
Pn as RecurringTransactionsWidget,
|
|
963
|
+
Vn as SelectTransaction
|
|
937
964
|
};
|