@mx-cartographer/experiences 8.0.0-alpha.test2 → 8.0.0-alpha.v2
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 +335 -0
- package/README.md +5 -3
- package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
- package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
- package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
- package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
- package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
- package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
- package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Accounts-o7ohkngR.mjs +27 -0
- package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
- package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
- package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
- package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
- package/dist/CashflowStore-CeAzChyD.mjs +91 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
- package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
- package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
- package/dist/Connect-eYIWqCEr.mjs +39 -0
- package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
- package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
- package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
- package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
- package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
- package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
- package/dist/Dialog-Ck34yr-d.mjs +63 -0
- package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
- package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
- package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
- package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
- package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
- package/dist/Goal-0loDagc5.mjs +6 -0
- package/dist/GoalStore-fgXt--2Y.mjs +418 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
- package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/LineChart-EAr5ox5U.mjs +612 -0
- package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
- package/dist/Loader-D3rjKx72.mjs +21 -0
- package/dist/Localization-CPkpIwIx.mjs +37 -0
- package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
- package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
- package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
- package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
- package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
- package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
- package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
- package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
- package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
- package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
- package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
- package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
- package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
- package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
- package/dist/SpendingLegend-BgjazduU.mjs +193 -0
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
- package/dist/Transaction-Cn5_iFm0.mjs +5 -0
- package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
- package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
- package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
- package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
- package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
- package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/api/AccountApi.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/index.es.js +459 -368
- package/dist/accounts/stores/AccountStore.d.ts +2 -1
- package/dist/accounts/stores/UiStore.d.ts +1 -1
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +1 -1
- package/dist/accounts/utils/Accounts.d.ts +2 -2
- 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/api/BudgetsApi.d.ts +5 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
- 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.es.js +851 -865
- package/dist/budgets/store/BudgetsStore.d.ts +15 -1
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/api/CashflowApi.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/index.es.js +290 -288
- package/dist/cashflow/stores/UiStore.d.ts +1 -1
- 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/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -1
- package/dist/categories/util/CategoryUtil.d.ts +1 -1
- package/dist/common/api/AnalyticsApi.d.ts +1 -1
- package/dist/common/api/AppDataApi.d.ts +1 -1
- package/dist/common/api/BeatApi.d.ts +1 -1
- package/dist/common/api/CategoryApi.d.ts +1 -1
- package/dist/common/api/GlobalCopyApi.d.ts +1 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
- package/dist/common/api/NotificationApi.d.ts +1 -1
- package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
- package/dist/common/api/UserApi.d.ts +1 -1
- package/dist/common/components/CurrencyDialog.d.ts +1 -1
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- 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/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +10 -0
- package/dist/common/constants/ApiEndpoints.d.ts +1 -0
- package/dist/common/constants/DefaultConfig.d.ts +1 -1
- 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 -2
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +4 -4
- package/dist/common/hooks/index.d.ts +1 -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/index.d.ts +0 -1
- package/dist/common/index.es.js +625 -860
- package/dist/common/stores/AppDataStore.d.ts +3 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
- package/dist/common/stores/GlobalStore.d.ts +4 -2
- package/dist/common/stores/GlobalUiStore.d.ts +3 -3
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/Categories.d.ts +1 -1
- package/dist/common/utils/Fetch.d.ts +1 -1
- package/dist/common/utils/Localization.d.ts +9 -1
- package/dist/common/utils/Theme.d.ts +3 -3
- package/dist/common/utils/User.d.ts +1 -1
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.es.js +41 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +1 -0
- 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/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/{common → core}/types/index.d.ts +1 -2
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -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/dashboard/index.es.js +46 -45
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
- package/dist/debts/index.es.js +705 -646
- package/dist/debts/store/DebtsStore.d.ts +2 -1
- package/dist/debts/utils/DebtStore.d.ts +1 -1
- package/dist/debts/utils/DebtsWidget.d.ts +7 -1
- package/dist/debts/utils/shared.d.ts +1 -1
- package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
- 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.es.js +161 -159
- package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
- package/dist/goals/GoalsWidget.d.ts +1 -1
- package/dist/goals/api/GoalApi.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 +1 -1
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.es.js +445 -419
- package/dist/goals/stores/GoalStore.d.ts +2 -1
- package/dist/goals/util/GoalsUtil.d.ts +1 -1
- package/dist/help/HelpWidget.d.ts +1 -1
- package/dist/help/api/HelpApi.d.ts +1 -1
- 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 +8 -8
- package/dist/help/store/HelpStore.d.ts +5 -4
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
- package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +4 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/index.es.js +1361 -1081
- package/dist/insights/store/BeatStore.d.ts +1 -1
- package/dist/investments/InvestmentsWidget.d.ts +1 -1
- package/dist/investments/api/HoldingApi.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +258 -258
- package/dist/investments/stores/HoldingStore.d.ts +2 -1
- package/dist/investments/util/InvestmentUtil.d.ts +1 -1
- package/dist/merchants/api/MerchantApi.d.ts +1 -1
- package/dist/merchants/index.es.js +16 -16
- package/dist/merchants/stores/MerchantStore.d.ts +2 -1
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
- 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 +1 -1
- package/dist/microinsights/carousel/BeatList.d.ts +1 -1
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
- 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.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -1
- package/dist/microinsights/stores/CopyStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
- 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/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.es.js +181 -174
- package/dist/networth/stores/NetWorthStore.d.ts +2 -1
- package/dist/networth/types/NetWorth.d.ts +1 -1
- package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
- 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.es.js +104 -92
- package/dist/notifications/stores/NotificationStore.d.ts +2 -1
- package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
- 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.es.js +477 -451
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
- package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
- package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +1 -1
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/api/SettingsApi.d.ts +1 -2
- 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.es.js +314 -323
- package/dist/settings/stores/SettingsStore.d.ts +3 -2
- package/dist/settings/util/Notifications.d.ts +1 -1
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +167 -166
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/api/TransactionApi.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
- 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/HideAction.d.ts +1 -1
- 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 +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -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/constants/Transaction.d.ts +1 -1
- package/dist/transactions/index.es.js +195 -187
- package/dist/transactions/stores/TransactionStore.d.ts +2 -1
- package/dist/transactions/stores/UiStore.d.ts +1 -1
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +1 -1
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -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/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
- package/dist/trends/index.es.js +817 -764
- package/dist/trends/stores/TrendsStore.d.ts +2 -1
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +1 -1
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
- package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
- package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
- package/package.json +17 -10
- package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
- package/dist/AccountListItem-k63LpVBs.mjs +0 -90
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
- package/dist/Dialog-jmgGw5WA.mjs +0 -58
- package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
- package/dist/GoalStore-BjHKNAVm.mjs +0 -421
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-CnscUFUG.mjs +0 -580
- package/dist/Loader-icSc5MlE.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
- package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
- package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
- package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
- package/dist/TransactionList-BDffKJMO.mjs +0 -204
- package/dist/User-DS18cMaz.mjs +0 -237
- package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
- 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/types/SpendingPlan.d.ts +0 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- /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/Client.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/Widgets.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/GoalsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InsightsFeedCopy.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/TransactionsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { observer as
|
|
4
|
-
import { startOfMonth as
|
|
5
|
-
import { endOfMonth as
|
|
6
|
-
import
|
|
3
|
+
import { observer as L } from "mobx-react-lite";
|
|
4
|
+
import { startOfMonth as ot } from "date-fns/startOfMonth";
|
|
5
|
+
import { endOfMonth as at } from "date-fns/endOfMonth";
|
|
6
|
+
import w from "@mui/material/Box";
|
|
7
7
|
import C from "@mui/material/Stack";
|
|
8
8
|
import N from "@mui/material/Tab";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { g as
|
|
9
|
+
import it from "@mui/material/Tabs";
|
|
10
|
+
import _t from "@mui/material/styles/useTheme";
|
|
11
|
+
import { g as rt, a as st, S as $, b as Y } from "../SpendingLegend-BgjazduU.mjs";
|
|
12
12
|
import { Text as T, Icon as bt } from "@mxenabled/mxui";
|
|
13
|
-
import { f as R } from "../NumberFormatting-
|
|
14
|
-
import { u as I,
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { f as R } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
14
|
+
import { u as I, l as A, d as lt, b as V, a as F, h as ct, g as yt } from "../hooks-BxkfR-Ff.mjs";
|
|
15
|
+
import { u as dt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
16
|
+
import { L as gt } from "../Loader-D3rjKx72.mjs";
|
|
17
|
+
import { M as Ct } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
|
|
18
18
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
19
|
-
import
|
|
20
|
-
import { useTheme as
|
|
21
|
-
import { e as
|
|
22
|
-
import { T as
|
|
23
|
-
import { T as
|
|
24
|
-
import
|
|
25
|
-
import
|
|
19
|
+
import St from "@mui/material/Button";
|
|
20
|
+
import { useTheme as Tt } from "@mui/material";
|
|
21
|
+
import { e as Mt } from "../exportTransactionsToCSV-MCYH_zzN.mjs";
|
|
22
|
+
import { T as Dt } from "../StatusIndicator-4tWnjeKS.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-D1I1XEsT.mjs";
|
|
24
|
+
import vt from "@mui/material/Collapse";
|
|
25
|
+
import wt from "@mui/material/Divider";
|
|
26
26
|
import J from "@mui/material/List";
|
|
27
27
|
import Q from "@mui/material/ListItem";
|
|
28
|
-
import
|
|
29
|
-
import { u as
|
|
30
|
-
import { D as
|
|
31
|
-
import { b as
|
|
32
|
-
import { parseISO as
|
|
33
|
-
import { A as
|
|
34
|
-
import { W as It } from "../WidgetContainer-
|
|
35
|
-
const
|
|
36
|
-
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "
|
|
37
|
-
/* @__PURE__ */ t(T, { variant: "
|
|
28
|
+
import X from "@mui/material/ListItemButton";
|
|
29
|
+
import { u as Lt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
30
|
+
import { D as Z } from "../Drawer-Bbe4AMB1.mjs";
|
|
31
|
+
import { b as v } from "../Category-CevNQ03n.mjs";
|
|
32
|
+
import { parseISO as tt } from "date-fns/parseISO";
|
|
33
|
+
import { A as et } from "../Analytics-BYItVAe-.mjs";
|
|
34
|
+
import { W as It } from "../WidgetContainer-B7xDq2bM.mjs";
|
|
35
|
+
const O = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(C, { direction: "column", children: [
|
|
36
|
+
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
|
|
37
|
+
/* @__PURE__ */ t(T, { variant: "caption", children: R(n, o === "mini" ? "0,0" : "0,0.00") })
|
|
38
38
|
] }), At = () => {
|
|
39
|
-
const n =
|
|
39
|
+
const n = _t(), { goals: d, spending: o } = I(), { categories: a, dateRangeCategoryTotals: i } = A(), g = l.useMemo(
|
|
40
40
|
() => [
|
|
41
41
|
n.palette.chartMono.chartMono5,
|
|
42
42
|
n.palette.chartMono.chartMono4,
|
|
@@ -46,24 +46,24 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
46
46
|
n.palette.chartMono.chartMono6
|
|
47
47
|
],
|
|
48
48
|
[n]
|
|
49
|
-
), [e, r] = l.useState(""), [
|
|
50
|
-
() =>
|
|
49
|
+
), [e, r] = l.useState(""), [c, b] = l.useState(0), u = l.useMemo(
|
|
50
|
+
() => rt(a, d, n, i),
|
|
51
51
|
[a, i]
|
|
52
52
|
), m = l.useMemo(
|
|
53
|
-
() =>
|
|
53
|
+
() => st(a, i, g),
|
|
54
54
|
[a, i, g]
|
|
55
55
|
), M = (f, D) => {
|
|
56
|
-
|
|
57
|
-
},
|
|
56
|
+
b(D), r("");
|
|
57
|
+
}, y = (f) => {
|
|
58
58
|
r(e === f ? "" : f);
|
|
59
59
|
};
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
60
|
+
return /* @__PURE__ */ p(w, { width: "100%", children: [
|
|
61
|
+
/* @__PURE__ */ p(
|
|
62
|
+
it,
|
|
63
63
|
{
|
|
64
64
|
"aria-label": o.mini_title,
|
|
65
65
|
onChange: M,
|
|
66
|
-
value:
|
|
66
|
+
value: c,
|
|
67
67
|
variant: "fullWidth",
|
|
68
68
|
children: [
|
|
69
69
|
/* @__PURE__ */ t(
|
|
@@ -72,14 +72,14 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
72
72
|
"aria-controls": "spending-tabpanel",
|
|
73
73
|
id: "spending-tab",
|
|
74
74
|
label: /* @__PURE__ */ t(
|
|
75
|
-
|
|
75
|
+
O,
|
|
76
76
|
{
|
|
77
77
|
amount: u.totalAmount,
|
|
78
78
|
label: o.spend_tab_title,
|
|
79
79
|
variant: "mini"
|
|
80
80
|
}
|
|
81
81
|
),
|
|
82
|
-
tabIndex:
|
|
82
|
+
tabIndex: c === 0 ? 0 : -1
|
|
83
83
|
}
|
|
84
84
|
),
|
|
85
85
|
/* @__PURE__ */ t(
|
|
@@ -88,66 +88,66 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
88
88
|
"aria-controls": "income-tabpanel",
|
|
89
89
|
id: "income-tab",
|
|
90
90
|
label: /* @__PURE__ */ t(
|
|
91
|
-
|
|
91
|
+
O,
|
|
92
92
|
{
|
|
93
93
|
amount: m.totalAmount,
|
|
94
94
|
label: o.income_tab_title,
|
|
95
95
|
variant: "mini"
|
|
96
96
|
}
|
|
97
97
|
),
|
|
98
|
-
tabIndex:
|
|
98
|
+
tabIndex: c === 1 ? 0 : -1
|
|
99
99
|
}
|
|
100
100
|
)
|
|
101
101
|
]
|
|
102
102
|
}
|
|
103
103
|
),
|
|
104
104
|
/* @__PURE__ */ t(
|
|
105
|
-
|
|
105
|
+
w,
|
|
106
106
|
{
|
|
107
107
|
"aria-labelledby": "spending-tab",
|
|
108
|
-
hidden:
|
|
108
|
+
hidden: c !== 0,
|
|
109
109
|
id: "spending-tabpanel",
|
|
110
110
|
role: "tabpanel",
|
|
111
|
-
children: /* @__PURE__ */
|
|
111
|
+
children: /* @__PURE__ */ p(C, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
|
112
112
|
/* @__PURE__ */ t(
|
|
113
|
-
|
|
113
|
+
$,
|
|
114
114
|
{
|
|
115
115
|
data: u,
|
|
116
|
-
onSelected:
|
|
116
|
+
onSelected: y,
|
|
117
117
|
selectedId: e,
|
|
118
118
|
totalLabel: o.total_spending
|
|
119
119
|
}
|
|
120
120
|
),
|
|
121
|
-
/* @__PURE__ */ t(Y, { data: u, onSelected:
|
|
121
|
+
/* @__PURE__ */ t(Y, { data: u, onSelected: y, selectedId: e })
|
|
122
122
|
] })
|
|
123
123
|
}
|
|
124
124
|
),
|
|
125
125
|
/* @__PURE__ */ t(
|
|
126
|
-
|
|
126
|
+
w,
|
|
127
127
|
{
|
|
128
128
|
"aria-labelledby": "income-tab",
|
|
129
|
-
hidden:
|
|
129
|
+
hidden: c !== 1,
|
|
130
130
|
id: "income-tabpanel",
|
|
131
131
|
role: "tabpanel",
|
|
132
|
-
children: /* @__PURE__ */
|
|
132
|
+
children: /* @__PURE__ */ p(C, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
|
133
133
|
/* @__PURE__ */ t(
|
|
134
|
-
|
|
134
|
+
$,
|
|
135
135
|
{
|
|
136
136
|
data: m,
|
|
137
137
|
isIncome: !0,
|
|
138
|
-
onSelected:
|
|
138
|
+
onSelected: y,
|
|
139
139
|
selectedId: e,
|
|
140
140
|
totalLabel: o.total_income
|
|
141
141
|
}
|
|
142
142
|
),
|
|
143
|
-
/* @__PURE__ */ t(Y, { data: m, onSelected:
|
|
143
|
+
/* @__PURE__ */ t(Y, { data: m, onSelected: y, selectedId: e })
|
|
144
144
|
] })
|
|
145
145
|
}
|
|
146
146
|
)
|
|
147
147
|
] });
|
|
148
|
-
}, Et =
|
|
149
|
-
const { isAccountDataLoaded: o, loadAccountData: a } =
|
|
150
|
-
return
|
|
148
|
+
}, Et = L(At), Wt = ({ onPrimaryCtaClick: n, sx: d = {} }) => {
|
|
149
|
+
const { isAccountDataLoaded: o, loadAccountData: a } = lt(), { dateRangeTotalsLoaded: i, categoriesLoaded: g, loadCategories: e, loadDateRangeCategoryTotals: r } = A(), { spending: c } = I(), { isInitialized: b, selectedAccounts: u } = V();
|
|
150
|
+
return dt({
|
|
151
151
|
widgetName: "SpendingMiniWidget",
|
|
152
152
|
isLoaded: i
|
|
153
153
|
}), l.useEffect(() => {
|
|
@@ -155,41 +155,44 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
155
155
|
}, []), l.useEffect(() => {
|
|
156
156
|
r(
|
|
157
157
|
u,
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
ot(/* @__PURE__ */ new Date()),
|
|
159
|
+
at(/* @__PURE__ */ new Date())
|
|
160
160
|
).finally();
|
|
161
|
-
}, [u]),
|
|
162
|
-
|
|
161
|
+
}, [u]), b ? /* @__PURE__ */ t(
|
|
162
|
+
Ct,
|
|
163
163
|
{
|
|
164
164
|
className: "mx-exp-spending-miniwidget",
|
|
165
165
|
onPrimaryCtaClick: n,
|
|
166
|
-
primaryCtaLabel:
|
|
166
|
+
primaryCtaLabel: c.primary_cta,
|
|
167
|
+
primaryCtaLabelAria: c.primary_cta_aria,
|
|
167
168
|
sx: { height: "100%", ...d },
|
|
168
|
-
title:
|
|
169
|
+
title: c.mini_title,
|
|
169
170
|
children: /* @__PURE__ */ t(Et, {})
|
|
170
171
|
}
|
|
171
172
|
) : /* @__PURE__ */ t(gt, {});
|
|
172
|
-
}, Ce =
|
|
173
|
+
}, Ce = L(Wt), Rt = ({
|
|
173
174
|
data: n,
|
|
174
175
|
onSelected: d,
|
|
175
176
|
selectedId: o = "",
|
|
176
177
|
title: a
|
|
177
178
|
}) => {
|
|
178
179
|
const { spending: i } = I(), g = n.categoryData.find((e) => e.guid === o);
|
|
179
|
-
return /* @__PURE__ */
|
|
180
|
+
return /* @__PURE__ */ p(C, { direction: "column", justifyContent: "center", maxWidth: 400, minWidth: 275, width: "100%", children: [
|
|
180
181
|
/* @__PURE__ */ t(T, { bold: !0, id: "spending-list-title", sx: { py: 12 }, variant: "h3", children: `${a} ${i.by_category}` }),
|
|
181
|
-
/* @__PURE__ */ t(
|
|
182
|
-
/* @__PURE__ */ t(J, { "aria-labelledby": "spending-list-title", children: n.categoryData.map((e) => /* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ t(wt, { "aria-hidden": "true" }),
|
|
183
|
+
/* @__PURE__ */ t(J, { "aria-labelledby": "spending-list-title", children: n.categoryData.map((e) => /* @__PURE__ */ p(l.Fragment, { children: [
|
|
183
184
|
/* @__PURE__ */ t(
|
|
184
185
|
Q,
|
|
185
186
|
{
|
|
186
187
|
disableGutters: !0,
|
|
187
188
|
disablePadding: !0,
|
|
188
189
|
sx: {
|
|
190
|
+
borderBottom: 1,
|
|
191
|
+
borderColor: "divider",
|
|
189
192
|
minHeight: 44
|
|
190
193
|
},
|
|
191
|
-
children: /* @__PURE__ */
|
|
192
|
-
|
|
194
|
+
children: /* @__PURE__ */ p(
|
|
195
|
+
X,
|
|
193
196
|
{
|
|
194
197
|
"aria-expanded": g?.guid === e.guid,
|
|
195
198
|
id: `spending-list-category-${e.guid}`,
|
|
@@ -197,16 +200,18 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
197
200
|
sx: { minHeight: 44, px: 8, py: 0 },
|
|
198
201
|
children: [
|
|
199
202
|
/* @__PURE__ */ t(
|
|
200
|
-
|
|
203
|
+
w,
|
|
201
204
|
{
|
|
205
|
+
"aria-hidden": "true",
|
|
202
206
|
borderRadius: 4,
|
|
203
207
|
flexShrink: 0,
|
|
204
208
|
height: 8,
|
|
209
|
+
role: "presentation",
|
|
205
210
|
sx: { backgroundColor: e.color, mr: 8 },
|
|
206
211
|
width: 8
|
|
207
212
|
}
|
|
208
213
|
),
|
|
209
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ p(
|
|
210
215
|
C,
|
|
211
216
|
{
|
|
212
217
|
alignItems: "center",
|
|
@@ -215,7 +220,7 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
215
220
|
width: "100%",
|
|
216
221
|
children: [
|
|
217
222
|
/* @__PURE__ */ t(T, { bold: o === e.guid, children: e.name }),
|
|
218
|
-
/* @__PURE__ */ t(T, { bold: o === e.guid, variant: "
|
|
223
|
+
/* @__PURE__ */ t(T, { bold: o === e.guid, variant: "body1", children: R(e.amount, "0,0.00") })
|
|
219
224
|
]
|
|
220
225
|
}
|
|
221
226
|
)
|
|
@@ -224,47 +229,43 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
224
229
|
)
|
|
225
230
|
}
|
|
226
231
|
),
|
|
227
|
-
/* @__PURE__ */ t(
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
pl: 12,
|
|
234
|
-
py: 0
|
|
235
|
-
},
|
|
236
|
-
children: /* @__PURE__ */ t(
|
|
237
|
-
Z,
|
|
238
|
-
{
|
|
239
|
-
id: `spending-list-subcategory-${r.guid}`,
|
|
240
|
-
onClick: () => d(r.guid, !0),
|
|
241
|
-
sx: { minHeight: 44, px: 8, py: 0 },
|
|
242
|
-
children: /* @__PURE__ */ c(C, { direction: "row", justifyContent: "space-between", width: "100%", children: [
|
|
243
|
-
/* @__PURE__ */ c(T, { children: [
|
|
244
|
-
r.name,
|
|
245
|
-
" "
|
|
246
|
-
] }),
|
|
247
|
-
/* @__PURE__ */ t(T, { children: R(r.amount, "0,0.00") })
|
|
248
|
-
] })
|
|
249
|
-
}
|
|
250
|
-
)
|
|
232
|
+
e.categoryTotals && e.categoryTotals.length > 0 && /* @__PURE__ */ t(vt, { in: g?.guid === e.guid, unmountOnExit: !0, children: /* @__PURE__ */ t(J, { sx: { borderBottom: 1, borderColor: "divider" }, children: g?.categoryTotals?.map((r) => /* @__PURE__ */ t(
|
|
233
|
+
Q,
|
|
234
|
+
{
|
|
235
|
+
sx: {
|
|
236
|
+
pl: 12,
|
|
237
|
+
py: 0
|
|
251
238
|
},
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
239
|
+
children: /* @__PURE__ */ t(
|
|
240
|
+
X,
|
|
241
|
+
{
|
|
242
|
+
id: `spending-list-subcategory-${r.guid}`,
|
|
243
|
+
onClick: () => d(r.guid, !0),
|
|
244
|
+
sx: { minHeight: 44, px: 8, py: 0 },
|
|
245
|
+
children: /* @__PURE__ */ p(C, { direction: "row", justifyContent: "space-between", width: "100%", children: [
|
|
246
|
+
/* @__PURE__ */ p(T, { children: [
|
|
247
|
+
r.name,
|
|
248
|
+
" "
|
|
249
|
+
] }),
|
|
250
|
+
/* @__PURE__ */ t(T, { children: R(r.amount, "0,0.00") })
|
|
251
|
+
] })
|
|
252
|
+
}
|
|
253
|
+
)
|
|
254
|
+
},
|
|
255
|
+
r.guid
|
|
256
|
+
)) }) })
|
|
256
257
|
] }, e.guid)) }),
|
|
257
258
|
/* @__PURE__ */ t(T, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${i.total}: ${R(n.totalAmount, "0,0.00")}` })
|
|
258
259
|
] });
|
|
259
|
-
}, Nt =
|
|
260
|
+
}, Nt = L(Rt), $t = ({
|
|
260
261
|
data: n,
|
|
261
262
|
onSelected: d,
|
|
262
263
|
onViewTransactions: o,
|
|
263
264
|
selectedId: a,
|
|
264
265
|
title: i
|
|
265
266
|
}) => {
|
|
266
|
-
const { isDesktop: g, isMobile: e } =
|
|
267
|
-
return /* @__PURE__ */
|
|
267
|
+
const { isDesktop: g, isMobile: e } = Lt(), { dateRangeTotalsLoading: r } = A(), { spending: c } = I();
|
|
268
|
+
return /* @__PURE__ */ p(
|
|
268
269
|
C,
|
|
269
270
|
{
|
|
270
271
|
alignItems: e ? "center" : "flex-start",
|
|
@@ -275,7 +276,7 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
275
276
|
px: 8,
|
|
276
277
|
children: [
|
|
277
278
|
r && /* @__PURE__ */ t(
|
|
278
|
-
|
|
279
|
+
$,
|
|
279
280
|
{
|
|
280
281
|
data: {
|
|
281
282
|
categoryData: [],
|
|
@@ -291,7 +292,7 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
291
292
|
}
|
|
292
293
|
),
|
|
293
294
|
!r && /* @__PURE__ */ t(
|
|
294
|
-
|
|
295
|
+
$,
|
|
295
296
|
{
|
|
296
297
|
data: n,
|
|
297
298
|
onSelected: (m) => {
|
|
@@ -300,7 +301,7 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
300
301
|
onViewTransactions: o,
|
|
301
302
|
selectedId: a,
|
|
302
303
|
size: g ? 400 : 300,
|
|
303
|
-
totalLabel:
|
|
304
|
+
totalLabel: c.total_amount,
|
|
304
305
|
variant: "full"
|
|
305
306
|
}
|
|
306
307
|
),
|
|
@@ -308,79 +309,79 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
308
309
|
]
|
|
309
310
|
}
|
|
310
311
|
);
|
|
311
|
-
},
|
|
312
|
+
}, nt = L($t), Ot = (n) => [
|
|
312
313
|
n.palette.chartMono.chartMono5,
|
|
313
314
|
n.palette.chartMono.chartMono4,
|
|
314
315
|
n.palette.chartMono.chartMono3,
|
|
315
316
|
n.palette.chartMono.chartMono2,
|
|
316
317
|
n.palette.chartMono.chartMono1,
|
|
317
318
|
n.palette.chartMono.chartMono6
|
|
318
|
-
],
|
|
319
|
-
const n =
|
|
319
|
+
], kt = () => {
|
|
320
|
+
const n = Tt(), { is_mobile_webview: d } = F(), { clientConfig: o } = F(), { categories: a, dateRangeCategoryTotals: i } = A(), {
|
|
320
321
|
goals: g,
|
|
321
322
|
spending: e,
|
|
322
323
|
transactions: r
|
|
323
|
-
} = I(), { displayedDateRange:
|
|
324
|
+
} = I(), { displayedDateRange: c, selectedAccountGuids: b } = V(), {
|
|
324
325
|
setFilter: u,
|
|
325
326
|
sortedTransactions: m,
|
|
326
327
|
sortedTransactionsWithSplits: M,
|
|
327
|
-
tags:
|
|
328
|
-
} =
|
|
329
|
-
() =>
|
|
328
|
+
tags: y
|
|
329
|
+
} = ct(), f = o?.master?.deep_link_params?.account_guids, D = o?.master?.deep_link_params?.view, [x, E] = l.useState(""), [_, W] = l.useState(D === "income" ? 1 : 0), [z, H] = l.useState(""), [pt, k] = l.useState(!1), B = l.useMemo(
|
|
330
|
+
() => rt(a, g, n, i),
|
|
330
331
|
[a, i]
|
|
331
|
-
),
|
|
332
|
-
() =>
|
|
332
|
+
), P = l.useMemo(
|
|
333
|
+
() => st(a, i, Ot(n)),
|
|
333
334
|
[a, i]
|
|
334
335
|
), G = l.useMemo(
|
|
335
|
-
() => m.find((s) => s.guid ===
|
|
336
|
-
[
|
|
337
|
-
),
|
|
336
|
+
() => m.find((s) => s.guid === z),
|
|
337
|
+
[z, m]
|
|
338
|
+
), ut = (s, S) => {
|
|
338
339
|
W(S), E("");
|
|
339
|
-
},
|
|
340
|
-
S ?
|
|
341
|
-
},
|
|
340
|
+
}, K = (s, S = !1) => {
|
|
341
|
+
S ? mt(s) : E(x === s || s === "0" ? "" : s);
|
|
342
|
+
}, mt = (s) => {
|
|
342
343
|
u({
|
|
343
344
|
...{
|
|
344
|
-
accounts: f ||
|
|
345
|
-
dateRange:
|
|
345
|
+
accounts: f || b,
|
|
346
|
+
dateRange: c
|
|
346
347
|
},
|
|
347
348
|
custom: (h) => x === "other" ? h.top_level_category_guid === s : h.category_guid === s,
|
|
348
349
|
showSplits: !0
|
|
349
|
-
}),
|
|
350
|
-
},
|
|
350
|
+
}), k(!0);
|
|
351
|
+
}, U = (s) => {
|
|
351
352
|
const S = {
|
|
352
|
-
accounts: f ||
|
|
353
|
-
dateRange:
|
|
353
|
+
accounts: f || b,
|
|
354
|
+
dateRange: c
|
|
354
355
|
};
|
|
355
356
|
if (_ === 0)
|
|
356
357
|
if (s === "other") {
|
|
357
358
|
const h = B.categoryData.find((j) => j.guid === "other");
|
|
358
359
|
u({
|
|
359
360
|
...S,
|
|
360
|
-
custom: (j) => !!h?.categoryTotals?.find((
|
|
361
|
+
custom: (j) => !!h?.categoryTotals?.find((ft) => ft.guid === j.top_level_category_guid)
|
|
361
362
|
});
|
|
362
363
|
} else
|
|
363
364
|
u({
|
|
364
365
|
...S,
|
|
365
|
-
custom: (h) => s ? h.top_level_category_guid === s : h.top_level_category_guid !==
|
|
366
|
+
custom: (h) => s ? h.top_level_category_guid === s : h.top_level_category_guid !== v.INCOME && h.category_guid !== v.INCOME && h.top_level_category_guid !== v.INVESTMENTS && h.top_level_category_guid !== v.TRANSFER,
|
|
366
367
|
showSplits: !!s
|
|
367
368
|
});
|
|
368
369
|
else
|
|
369
370
|
u({
|
|
370
371
|
...S,
|
|
371
|
-
custom: (h) => s ? h.category_guid === s : h.category_guid ===
|
|
372
|
+
custom: (h) => s ? h.category_guid === s : h.category_guid === v.INCOME || h.top_level_category_guid === v.INCOME
|
|
372
373
|
});
|
|
373
|
-
|
|
374
|
-
},
|
|
375
|
-
|
|
374
|
+
k(!0);
|
|
375
|
+
}, ht = () => {
|
|
376
|
+
Mt(M, y);
|
|
376
377
|
};
|
|
377
|
-
return /* @__PURE__ */
|
|
378
|
-
/* @__PURE__ */
|
|
378
|
+
return /* @__PURE__ */ p(w, { children: [
|
|
379
|
+
/* @__PURE__ */ p(it, { onChange: ut, value: _, variant: "fullWidth", children: [
|
|
379
380
|
/* @__PURE__ */ t(
|
|
380
381
|
N,
|
|
381
382
|
{
|
|
382
383
|
label: /* @__PURE__ */ t(
|
|
383
|
-
|
|
384
|
+
O,
|
|
384
385
|
{
|
|
385
386
|
amount: B.totalAmount,
|
|
386
387
|
label: e.spend_tab_title
|
|
@@ -392,9 +393,9 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
392
393
|
N,
|
|
393
394
|
{
|
|
394
395
|
label: /* @__PURE__ */ t(
|
|
395
|
-
|
|
396
|
+
O,
|
|
396
397
|
{
|
|
397
|
-
amount:
|
|
398
|
+
amount: P.totalAmount,
|
|
398
399
|
label: e.income_tab_title
|
|
399
400
|
}
|
|
400
401
|
)
|
|
@@ -402,65 +403,65 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
402
403
|
)
|
|
403
404
|
] }),
|
|
404
405
|
_ === 0 && /* @__PURE__ */ t(
|
|
405
|
-
|
|
406
|
+
nt,
|
|
406
407
|
{
|
|
407
408
|
data: B,
|
|
408
|
-
onSelected:
|
|
409
|
-
onViewTransactions:
|
|
409
|
+
onSelected: K,
|
|
410
|
+
onViewTransactions: U,
|
|
410
411
|
selectedId: x,
|
|
411
412
|
title: e.spend_tab_title
|
|
412
413
|
}
|
|
413
414
|
),
|
|
414
415
|
_ === 1 && /* @__PURE__ */ t(
|
|
415
|
-
|
|
416
|
+
nt,
|
|
416
417
|
{
|
|
417
|
-
data:
|
|
418
|
-
onSelected:
|
|
419
|
-
onViewTransactions:
|
|
418
|
+
data: P,
|
|
419
|
+
onSelected: K,
|
|
420
|
+
onViewTransactions: U,
|
|
420
421
|
selectedId: x,
|
|
421
422
|
title: e.income_tab_title
|
|
422
423
|
}
|
|
423
424
|
),
|
|
424
425
|
/* @__PURE__ */ t(
|
|
425
|
-
|
|
426
|
+
Z,
|
|
426
427
|
{
|
|
427
428
|
ariaLabelClose: e.close_drawer_aria,
|
|
428
|
-
isOpen:
|
|
429
|
-
onClose: () =>
|
|
429
|
+
isOpen: pt,
|
|
430
|
+
onClose: () => k(!1),
|
|
430
431
|
title: e.transactions_drawer_title,
|
|
431
|
-
children: /* @__PURE__ */
|
|
432
|
+
children: /* @__PURE__ */ p(C, { children: [
|
|
432
433
|
!d && m.length > 0 && /* @__PURE__ */ t(C, { direction: "row", justifyContent: "right", mb: -24, mr: 8, mt: 8, zIndex: 1, children: /* @__PURE__ */ t(
|
|
433
|
-
|
|
434
|
+
St,
|
|
434
435
|
{
|
|
435
|
-
onClick:
|
|
436
|
+
onClick: ht,
|
|
436
437
|
startIcon: /* @__PURE__ */ t(bt, { name: "ios_share" }),
|
|
437
438
|
variant: "text",
|
|
438
439
|
children: r.export_csv_btn
|
|
439
440
|
}
|
|
440
441
|
) }),
|
|
441
|
-
/* @__PURE__ */ t(
|
|
442
|
+
/* @__PURE__ */ t(Dt, { onClick: H })
|
|
442
443
|
] })
|
|
443
444
|
}
|
|
444
445
|
),
|
|
445
446
|
/* @__PURE__ */ t(
|
|
446
|
-
|
|
447
|
+
Z,
|
|
447
448
|
{
|
|
448
449
|
ariaLabelClose: e.close_drawer_aria,
|
|
449
450
|
isOpen: !!G,
|
|
450
|
-
onClose: () =>
|
|
451
|
+
onClose: () => H(""),
|
|
451
452
|
title: e.transaction_details_drawer_title,
|
|
452
|
-
children: G && /* @__PURE__ */ t(
|
|
453
|
+
children: G && /* @__PURE__ */ t(xt, { transaction: G })
|
|
453
454
|
}
|
|
454
455
|
)
|
|
455
456
|
] });
|
|
456
|
-
}, Bt =
|
|
457
|
-
const { isAccountDataLoaded: o, loadAccountData: a } =
|
|
458
|
-
|
|
457
|
+
}, Bt = L(kt), Gt = ({ onBackClick: n, sx: d = {} }) => {
|
|
458
|
+
const { isAccountDataLoaded: o, loadAccountData: a } = lt(), { categoriesLoaded: i, dateRangeTotalsLoaded: g, loadCategories: e, loadDateRangeCategoryTotals: r } = A(), { isTransactionDataLoaded: c, loadTransactionData: b } = ct(), { spending: u } = I(), { displayedDateRange: m, isInitialized: M, setDisplayedDate: y, selectedAccounts: f } = V(), { onEvent: D } = yt(), { clientConfig: x } = F();
|
|
459
|
+
dt({
|
|
459
460
|
widgetName: "SpendingWidget",
|
|
460
461
|
isLoaded: g
|
|
461
462
|
}), l.useEffect(() => {
|
|
462
|
-
const _ = x?.master?.deep_link_params, W = _?.date_range ? [
|
|
463
|
-
|
|
463
|
+
const _ = x?.master?.deep_link_params, W = _?.date_range ? [tt(_.date_range.from), tt(_.date_range.to)] : [ot(q()), at(q())];
|
|
464
|
+
y(W[0], W[1]), o || a().finally(), i || e().finally(), c || b().finally(), D(et.SPENDING_VIEW);
|
|
464
465
|
}, []), l.useEffect(() => {
|
|
465
466
|
M && r(
|
|
466
467
|
f,
|
|
@@ -469,20 +470,20 @@ const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C,
|
|
|
469
470
|
).finally();
|
|
470
471
|
}, [m, M, f]);
|
|
471
472
|
const E = (_) => {
|
|
472
|
-
|
|
473
|
+
y(_[0], _[1]);
|
|
473
474
|
};
|
|
474
475
|
return M ? /* @__PURE__ */ t(
|
|
475
476
|
It,
|
|
476
477
|
{
|
|
477
478
|
calendarActions: { onRangeChanged: E },
|
|
478
|
-
onAccountsFilterClick: () => D(
|
|
479
|
+
onAccountsFilterClick: () => D(et.SPENDING_CLICK_FILTER),
|
|
479
480
|
onBackClick: n,
|
|
480
481
|
sx: d,
|
|
481
482
|
title: u.title,
|
|
482
|
-
children: /* @__PURE__ */ t(
|
|
483
|
+
children: /* @__PURE__ */ t(w, { width: "100%", children: /* @__PURE__ */ t(Bt, {}) })
|
|
483
484
|
}
|
|
484
485
|
) : /* @__PURE__ */ t(gt, {});
|
|
485
|
-
}, Se =
|
|
486
|
+
}, Se = L(Gt);
|
|
486
487
|
export {
|
|
487
488
|
Ce as SpendingMiniWidget,
|
|
488
489
|
Se as SpendingWidget
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
|
-
import { Category, DateRangeCategoryTotals, GoalsCopy } from '../../
|
|
2
|
+
import { Category, DateRangeCategoryTotals, GoalsCopy } from '../../core';
|
|
3
3
|
import { DonutData } from '../../common/components/charts/Donut';
|
|
4
4
|
export interface CategoryTotal {
|
|
5
5
|
guid: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
-
import { GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule } from '../../
|
|
2
|
+
import { GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule } from '../../core';
|
|
3
3
|
export declare class TransactionApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
5
|
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Transaction } from '../../../
|
|
2
|
+
import { Transaction } from '../../../core';
|
|
3
3
|
import { BottomActions, TopActions } from '../../constants/Actions';
|
|
4
4
|
export interface TransactionDetailsProps {
|
|
5
5
|
bottomActions?: BottomActions[];
|