@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,66 +1,66 @@
|
|
|
1
|
-
import { T as
|
|
2
|
-
import { C as
|
|
3
|
-
import { B as Da, b as Ia } from "../TransactionDetails-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { T as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { E as Ra } from "../ExportCsvAction-Cc14QGA9.mjs";
|
|
1
|
+
import { T as wa } from "../TransactionApi-Ck5Ua-7F.mjs";
|
|
2
|
+
import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-D1I1XEsT.mjs";
|
|
3
|
+
import { B as Da, b as Ia } from "../TransactionDetails-D1I1XEsT.mjs";
|
|
4
|
+
import { O as Na } from "../OnClickEvents-CseHDZ94.mjs";
|
|
5
|
+
import { S as Z, D as Pe } from "../TransactionStore-Bx9euVrY.mjs";
|
|
6
|
+
import { T as ka } from "../TransactionStore-Bx9euVrY.mjs";
|
|
7
|
+
import { u as R, T as $e } from "../StatusIndicator-4tWnjeKS.mjs";
|
|
8
|
+
import { a as Ma } from "../StatusIndicator-4tWnjeKS.mjs";
|
|
9
|
+
import { e as Ve } from "../exportTransactionsToCSV-MCYH_zzN.mjs";
|
|
10
|
+
import { E as Ra } from "../ExportCsvAction-ErKh7wJ2.mjs";
|
|
12
11
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
13
12
|
import m from "react";
|
|
14
|
-
import { observer as
|
|
13
|
+
import { observer as S } from "mobx-react-lite";
|
|
15
14
|
import We from "@mui/material/Paper";
|
|
16
15
|
import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
|
|
17
|
-
import { h as H, u as D, b as K, d as
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import { f as
|
|
26
|
-
import {
|
|
16
|
+
import { h as H, u as D, b as K, d as oe, l as Fe, a as Ue, g as Ke, o as ze } from "../hooks-BxkfR-Ff.mjs";
|
|
17
|
+
import x from "@mui/material/Box";
|
|
18
|
+
import { useTheme as qe } from "@mui/material/styles";
|
|
19
|
+
import { Text as C, Icon as L, MerchantLogo as je, TextField as ee, P as Ye } from "@mxenabled/mxui";
|
|
20
|
+
import { fromUnixTime as Xe } from "date-fns/fromUnixTime";
|
|
21
|
+
import { f as Je, D as Qe } from "../DateFormats-BMpMrZpW.mjs";
|
|
22
|
+
import w from "@mui/material/Stack";
|
|
23
|
+
import { T as E } from "../Transaction-Cn5_iFm0.mjs";
|
|
24
|
+
import { f as ne } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
25
|
+
import { L as z } from "../Loader-D3rjKx72.mjs";
|
|
26
|
+
import { D as re } from "../Dialog-Ck34yr-d.mjs";
|
|
27
27
|
import { endOfMonth as Ze } from "date-fns/endOfMonth";
|
|
28
28
|
import { getUnixTime as et } from "date-fns/getUnixTime";
|
|
29
29
|
import { startOfMonth as tt } from "date-fns/startOfMonth";
|
|
30
30
|
import { startOfToday as F } from "date-fns/startOfToday";
|
|
31
31
|
import at from "@mui/material/styles/useTheme";
|
|
32
|
-
import {
|
|
33
|
-
import
|
|
32
|
+
import { C as ot } from "../ConnectDrawer-C0wjwcJt.mjs";
|
|
33
|
+
import nt from "@mui/material/Divider";
|
|
34
34
|
import rt from "@mui/material/MenuItem";
|
|
35
35
|
import it from "@mui/material/RadioGroup";
|
|
36
36
|
import { ExpandMore as st } from "@mxenabled/mx-icons";
|
|
37
|
-
import { C as ct } from "../CurrencyInput-
|
|
38
|
-
import {
|
|
39
|
-
import { b as U } from "../Localization-
|
|
37
|
+
import { C as ct } from "../CurrencyInput-DuMktPu3.mjs";
|
|
38
|
+
import { a as lt, u as dt } from "../CategorySelectorDrawer-Dc9Widy9.mjs";
|
|
39
|
+
import { b as U } from "../Localization-CPkpIwIx.mjs";
|
|
40
40
|
import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
|
|
41
41
|
import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
42
42
|
import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
43
|
-
import { u as pt } from "../useWidgetLoadTimer-
|
|
44
|
-
import { W as gt } from "../WidgetContainer-
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
const ft = (t) => /* @__PURE__ */ _(
|
|
43
|
+
import { u as pt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
44
|
+
import { W as gt } from "../WidgetContainer-B7xDq2bM.mjs";
|
|
45
|
+
import { A } from "../Analytics-BYItVAe-.mjs";
|
|
46
|
+
import { S as ht } from "../SearchBox-CwDgvWVJ.mjs";
|
|
47
|
+
import { D as te } from "../Drawer-Bbe4AMB1.mjs";
|
|
48
|
+
const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2", children: [
|
|
49
49
|
`${t.row.account}`,
|
|
50
50
|
t.row.number && ` | ${t.row.number}`
|
|
51
51
|
] }), Ct = (t) => {
|
|
52
|
-
const { associatedBeats:
|
|
53
|
-
return /* @__PURE__ */ _(
|
|
54
|
-
/* @__PURE__ */ _(
|
|
52
|
+
const { associatedBeats: n } = H(), { showInsights: r } = R(), { amount: a, transaction_type: l } = t.row, s = n.find((h) => h.associated_transaction_guid === t.row.guid), c = l === E.CREDIT;
|
|
53
|
+
return /* @__PURE__ */ _(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
|
|
54
|
+
/* @__PURE__ */ _(C, { bold: c, color: c ? "success.main" : "text.primary", variant: "body2", children: [
|
|
55
55
|
c ? "+" : "",
|
|
56
|
-
|
|
56
|
+
ne(a, "0,0.00")
|
|
57
57
|
] }),
|
|
58
|
-
s &&
|
|
58
|
+
s && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "caption", children: s.short_title })
|
|
59
59
|
] });
|
|
60
60
|
}, yt = (t) => {
|
|
61
|
-
const { transactions:
|
|
61
|
+
const { transactions: n } = D(), [r, a] = m.useState(!1);
|
|
62
62
|
return /* @__PURE__ */ _(
|
|
63
|
-
|
|
63
|
+
w,
|
|
64
64
|
{
|
|
65
65
|
alignItems: "center",
|
|
66
66
|
direction: "row",
|
|
@@ -70,22 +70,30 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
70
70
|
onMouseLeave: () => a(!1),
|
|
71
71
|
width: "100%",
|
|
72
72
|
children: [
|
|
73
|
-
t.row.has_been_split && /* @__PURE__ */ e(
|
|
74
|
-
/* @__PURE__ */ e(
|
|
75
|
-
!t.row.has_been_split &&
|
|
73
|
+
t.row.has_been_split && /* @__PURE__ */ e(L, { name: "call_split", size: 16 }),
|
|
74
|
+
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ? n.split_transaction_category_label : t.row.category }),
|
|
75
|
+
!t.row.has_been_split && r && /* @__PURE__ */ e(L, { name: "edit", sx: { color: "action.active" } })
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
|
-
},
|
|
80
|
-
const
|
|
79
|
+
}, bt = S(yt), Tt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: Je(Xe(t.row.date), Qe.MONTH_DAY) }), At = (t) => {
|
|
80
|
+
const n = qe(), r = n.palette.mode === "dark", { transactions: a } = D(), { is_flagged: l, is_hidden: s, has_been_viewed: c, parent_guid: h } = t.row, f = !c && !!!h;
|
|
81
81
|
return /* @__PURE__ */ _(
|
|
82
|
-
|
|
82
|
+
x,
|
|
83
83
|
{
|
|
84
|
-
"aria-label":
|
|
84
|
+
"aria-label": s ? a.is_hidden : a.is_flagged,
|
|
85
85
|
tabIndex: t.tabIndex,
|
|
86
86
|
children: [
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
l && /* @__PURE__ */ e(
|
|
88
|
+
L,
|
|
89
|
+
{
|
|
90
|
+
fill: !0,
|
|
91
|
+
name: "flag",
|
|
92
|
+
size: 16,
|
|
93
|
+
sx: { color: r ? "primary.main" : "warning.dark" }
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
!l && s && /* @__PURE__ */ e(L, { name: "visibility_off", size: 16 }),
|
|
89
97
|
f && /* @__PURE__ */ e(
|
|
90
98
|
"svg",
|
|
91
99
|
{
|
|
@@ -93,7 +101,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
93
101
|
style: {
|
|
94
102
|
display: "inline-block",
|
|
95
103
|
height: 16,
|
|
96
|
-
fill:
|
|
104
|
+
fill: n.palette.primary.light,
|
|
97
105
|
verticalAlign: "middle",
|
|
98
106
|
width: 16
|
|
99
107
|
},
|
|
@@ -104,30 +112,30 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
104
112
|
]
|
|
105
113
|
}
|
|
106
114
|
);
|
|
107
|
-
}, xt =
|
|
115
|
+
}, xt = S(At), N = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), wt = (t) => /* @__PURE__ */ _(w, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
108
116
|
/* @__PURE__ */ e(
|
|
109
|
-
|
|
117
|
+
je,
|
|
110
118
|
{
|
|
111
119
|
categoryGuid: t.row.top_level_category_guid || "",
|
|
112
120
|
merchantGuid: t.row.merchant_guid || ""
|
|
113
121
|
}
|
|
114
122
|
),
|
|
115
|
-
/* @__PURE__ */ e(
|
|
116
|
-
] }),
|
|
123
|
+
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee })
|
|
124
|
+
] }), St = ({
|
|
117
125
|
height: t = "100dvh",
|
|
118
|
-
onCategoryClick:
|
|
119
|
-
onRowClick:
|
|
126
|
+
onCategoryClick: n,
|
|
127
|
+
onRowClick: r
|
|
120
128
|
}) => {
|
|
121
|
-
const { transactions: a } = D(), { isCopyLoaded: l } = K(), { isLoading: s, sortedTransactions: c } = H(), { clearExpandedSplits: h, toggleSplit:
|
|
129
|
+
const { transactions: a } = D(), { isCopyLoaded: l } = K(), { isLoading: s, sortedTransactions: c } = H(), { clearExpandedSplits: h, toggleSplit: y } = R();
|
|
122
130
|
m.useEffect(() => () => h(), []);
|
|
123
|
-
const
|
|
131
|
+
const f = m.useMemo(
|
|
124
132
|
() => c.map((i) => ({
|
|
125
133
|
id: i.guid,
|
|
126
134
|
isHovering: !1,
|
|
127
135
|
...i
|
|
128
136
|
})),
|
|
129
137
|
[c]
|
|
130
|
-
), d = ({ row: { id: i, guid: g, has_been_split: v }, field:
|
|
138
|
+
), d = ({ row: { id: i, guid: g, has_been_split: v }, field: o }) => v ? y(i) : o === "category" ? n?.(g) : r?.(g), I = (i, g) => {
|
|
131
139
|
g.key !== "Enter" && g.key !== " " || d(i);
|
|
132
140
|
};
|
|
133
141
|
if (!l)
|
|
@@ -147,7 +155,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
147
155
|
headerName: a.date_title,
|
|
148
156
|
width: 103,
|
|
149
157
|
renderHeader: N,
|
|
150
|
-
renderCell: (i) => i.row.parent_guid ? null : /* @__PURE__ */ e(
|
|
158
|
+
renderCell: (i) => i.row.parent_guid ? null : /* @__PURE__ */ e(Tt, { ...i }),
|
|
151
159
|
sortingOrder: ["desc", "asc"]
|
|
152
160
|
},
|
|
153
161
|
{
|
|
@@ -156,7 +164,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
156
164
|
headerName: a.payee_title,
|
|
157
165
|
flex: 0.33,
|
|
158
166
|
renderHeader: N,
|
|
159
|
-
renderCell:
|
|
167
|
+
renderCell: wt,
|
|
160
168
|
sortingOrder: ["asc", "desc"]
|
|
161
169
|
},
|
|
162
170
|
{
|
|
@@ -164,7 +172,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
164
172
|
headerName: a.category_title,
|
|
165
173
|
flex: 0.25,
|
|
166
174
|
renderHeader: N,
|
|
167
|
-
renderCell: (i) => /* @__PURE__ */ e(
|
|
175
|
+
renderCell: (i) => /* @__PURE__ */ e(bt, { ...i }),
|
|
168
176
|
sortingOrder: ["asc", "desc"]
|
|
169
177
|
},
|
|
170
178
|
{
|
|
@@ -198,7 +206,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
198
206
|
loading: s,
|
|
199
207
|
onCellClick: d,
|
|
200
208
|
onCellKeyDown: I,
|
|
201
|
-
rows:
|
|
209
|
+
rows: f,
|
|
202
210
|
slotProps: { baseIconButton: { color: "secondary", sx: { ml: 8 } } },
|
|
203
211
|
sx: {
|
|
204
212
|
"& .split-row": {
|
|
@@ -207,7 +215,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
207
215
|
}
|
|
208
216
|
}
|
|
209
217
|
) });
|
|
210
|
-
}, Dt =
|
|
218
|
+
}, Dt = S(St), It = ({ copy: t, isOpen: n, onClose: r, onPrimaryAction: a }) => {
|
|
211
219
|
const { common: l, transactions: s } = D(), { isCopyLoaded: c } = K();
|
|
212
220
|
return c ? /* @__PURE__ */ _(
|
|
213
221
|
re,
|
|
@@ -215,42 +223,42 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
215
223
|
copy: {
|
|
216
224
|
title: t.title
|
|
217
225
|
},
|
|
218
|
-
isOpen:
|
|
219
|
-
onClose:
|
|
226
|
+
isOpen: n,
|
|
227
|
+
onClose: r,
|
|
220
228
|
onPrimaryAction: a,
|
|
221
229
|
primaryText: s.add_manual_account,
|
|
222
230
|
secondaryText: l.cancel_button,
|
|
223
231
|
children: [
|
|
224
|
-
/* @__PURE__ */ e(
|
|
225
|
-
/* @__PURE__ */ e(
|
|
232
|
+
/* @__PURE__ */ e(C, { component: "p", sx: { marginBottom: "20px" }, truncate: !1, children: s.add_account_modal_message }),
|
|
233
|
+
/* @__PURE__ */ e(C, { component: "p", truncate: !1, children: s.add_account_modal_cta })
|
|
226
234
|
]
|
|
227
235
|
}
|
|
228
236
|
) : /* @__PURE__ */ e(z, {});
|
|
229
|
-
}, vt =
|
|
230
|
-
const { visibleAccounts: t } =
|
|
231
|
-
() => t.filter((
|
|
237
|
+
}, vt = S(It), Nt = () => {
|
|
238
|
+
const { visibleAccounts: t } = oe(), { common: n, transactions: r } = D(), { manualTransaction: a, setIsAmountValid: l, updateManualTransaction: s } = R(), [c, h] = m.useState(""), [y, f] = m.useState(""), d = m.useMemo(
|
|
239
|
+
() => t.filter((o) => o.is_manual),
|
|
232
240
|
[t]
|
|
233
|
-
).map((
|
|
234
|
-
label: `${
|
|
235
|
-
value:
|
|
241
|
+
).map((o) => ({
|
|
242
|
+
label: `${o.name} | ${ne(o.balance, "0,0.00")}`,
|
|
243
|
+
value: o.guid
|
|
236
244
|
})), I = {
|
|
237
|
-
error_amount_is_invalid:
|
|
238
|
-
error_amount_must_be_equal_to:
|
|
239
|
-
error_amount_must_be_less_than_or_equal_to:
|
|
240
|
-
enter_amount:
|
|
241
|
-
}, p = (
|
|
242
|
-
h(
|
|
243
|
-
}, i = (
|
|
244
|
-
s({ ...a, transaction_type: Number(
|
|
245
|
-
}, g = (
|
|
246
|
-
|
|
247
|
-
}, v = (
|
|
248
|
-
s({ ...a, account_guid:
|
|
245
|
+
error_amount_is_invalid: n.currency_input.error_amount_is_invalid,
|
|
246
|
+
error_amount_must_be_equal_to: n.currency_input.error_amount_must_be_equal_to,
|
|
247
|
+
error_amount_must_be_less_than_or_equal_to: n.currency_input.error_amount_must_be_less_than_or_equal_to,
|
|
248
|
+
enter_amount: n.currency_input.enter_amount
|
|
249
|
+
}, p = (o) => {
|
|
250
|
+
h(o), s({ ...a, amount: Number(o) });
|
|
251
|
+
}, i = (o, B) => {
|
|
252
|
+
s({ ...a, transaction_type: Number(B) });
|
|
253
|
+
}, g = (o) => {
|
|
254
|
+
f(o), s({ ...a, payee: o, description: o });
|
|
255
|
+
}, v = (o) => {
|
|
256
|
+
s({ ...a, account_guid: o });
|
|
249
257
|
};
|
|
250
|
-
return /* @__PURE__ */ _(
|
|
251
|
-
/* @__PURE__ */ _(
|
|
258
|
+
return /* @__PURE__ */ _(x, { className: "mx-txn-manual-transaction-details", children: [
|
|
259
|
+
/* @__PURE__ */ _(w, { gap: 40, mx: 24, my: 32, children: [
|
|
252
260
|
/* @__PURE__ */ _(
|
|
253
|
-
|
|
261
|
+
w,
|
|
254
262
|
{
|
|
255
263
|
direction: "row",
|
|
256
264
|
sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
|
|
@@ -260,26 +268,26 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
260
268
|
{
|
|
261
269
|
allowDecimals: !0,
|
|
262
270
|
amount: c,
|
|
263
|
-
ariaLabel:
|
|
271
|
+
ariaLabel: r.amount_title,
|
|
264
272
|
copy: I,
|
|
265
273
|
inputProps: {
|
|
266
274
|
noValidate: !0
|
|
267
275
|
},
|
|
268
|
-
label:
|
|
276
|
+
label: r.amount_title,
|
|
269
277
|
setAmount: p,
|
|
270
278
|
setHasValidInput: l,
|
|
271
279
|
sx: { bgcolor: "background.paper" },
|
|
272
280
|
type: "number"
|
|
273
281
|
}
|
|
274
282
|
),
|
|
275
|
-
/* @__PURE__ */ e(it, { name: "TransactionType", onChange: i, row: !0, children: /* @__PURE__ */ _(
|
|
283
|
+
/* @__PURE__ */ e(it, { name: "TransactionType", onChange: i, row: !0, children: /* @__PURE__ */ _(w, { alignItems: "center", direction: "row", children: [
|
|
276
284
|
/* @__PURE__ */ e(
|
|
277
285
|
Z,
|
|
278
286
|
{
|
|
279
287
|
checked: a.transaction_type === E.CREDIT,
|
|
280
|
-
label:
|
|
288
|
+
label: r.manual_transaction_credit_button_label,
|
|
281
289
|
sx: { ml: { xs: 0, sm: 8 } },
|
|
282
|
-
tooltip:
|
|
290
|
+
tooltip: r.manual_transaction_credit_button_tooltip,
|
|
283
291
|
value: E.CREDIT
|
|
284
292
|
}
|
|
285
293
|
),
|
|
@@ -287,8 +295,8 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
287
295
|
Z,
|
|
288
296
|
{
|
|
289
297
|
checked: a.transaction_type === E.DEBIT,
|
|
290
|
-
label:
|
|
291
|
-
tooltip:
|
|
298
|
+
label: r.manual_transaction_debit_button_label,
|
|
299
|
+
tooltip: r.manual_transaction_debit_button_tooltip,
|
|
292
300
|
value: E.DEBIT
|
|
293
301
|
}
|
|
294
302
|
)
|
|
@@ -299,11 +307,11 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
299
307
|
/* @__PURE__ */ e(
|
|
300
308
|
ee,
|
|
301
309
|
{
|
|
302
|
-
label:
|
|
310
|
+
label: r.payee_title,
|
|
303
311
|
name: "payee",
|
|
304
|
-
onChange: (
|
|
312
|
+
onChange: (o) => g(o.target.value),
|
|
305
313
|
sx: { bgcolor: "background.paper" },
|
|
306
|
-
value:
|
|
314
|
+
value: y
|
|
307
315
|
}
|
|
308
316
|
),
|
|
309
317
|
/* @__PURE__ */ e(
|
|
@@ -311,38 +319,38 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
311
319
|
{
|
|
312
320
|
InputLabelProps: { shrink: !0 },
|
|
313
321
|
SelectProps: { defaultValue: -1, IconComponent: st },
|
|
314
|
-
label:
|
|
315
|
-
onChange: (
|
|
316
|
-
placeholder:
|
|
322
|
+
label: r.manual_transaction_select_an_account,
|
|
323
|
+
onChange: (o) => v(o.target.value),
|
|
324
|
+
placeholder: r.manual_transaction_select,
|
|
317
325
|
select: !0,
|
|
318
326
|
sx: { bgcolor: "background.paper" },
|
|
319
|
-
children: d.map((
|
|
327
|
+
children: d.map((o) => /* @__PURE__ */ e(rt, { value: o.value, children: o.label }, o.value))
|
|
320
328
|
}
|
|
321
329
|
)
|
|
322
330
|
] }),
|
|
323
|
-
/* @__PURE__ */ e(
|
|
324
|
-
/* @__PURE__ */ _(
|
|
325
|
-
/* @__PURE__ */ e(Le, { transaction: a }),
|
|
331
|
+
/* @__PURE__ */ e(nt, { light: !0 }),
|
|
332
|
+
/* @__PURE__ */ _(x, { bgcolor: "background.paper", children: [
|
|
326
333
|
/* @__PURE__ */ e(Me, { transaction: a }),
|
|
334
|
+
/* @__PURE__ */ e(Le, { transaction: a }),
|
|
327
335
|
/* @__PURE__ */ e(Re, { transaction: a }),
|
|
328
336
|
/* @__PURE__ */ e(He, { transaction: a })
|
|
329
337
|
] })
|
|
330
338
|
] });
|
|
331
|
-
}, Et =
|
|
332
|
-
const { addOrUpdateTransactionRule:
|
|
339
|
+
}, Et = S(Nt), kt = ({ onClose: t, transaction: n }) => {
|
|
340
|
+
const { addOrUpdateTransactionRule: r, updateTransaction: a } = H(), { transactions: l } = D(), { categories: s } = Fe(), [c, h] = m.useState(""), y = m.useMemo(
|
|
333
341
|
() => s.find((d) => d.guid === c),
|
|
334
342
|
[c]
|
|
335
|
-
),
|
|
336
|
-
await a({ ...
|
|
343
|
+
), f = async (d) => {
|
|
344
|
+
await a({ ...n, category_guid: c }), d && await r(c, n), h(""), t();
|
|
337
345
|
};
|
|
338
|
-
return /* @__PURE__ */ _(
|
|
346
|
+
return /* @__PURE__ */ _(x, { className: "mx-txn-edit-category-action", children: [
|
|
339
347
|
/* @__PURE__ */ e(
|
|
340
348
|
lt,
|
|
341
349
|
{
|
|
342
|
-
initialSelected:
|
|
350
|
+
initialSelected: n.category_guid,
|
|
343
351
|
onClose: t,
|
|
344
352
|
onSelect: (d) => h(d),
|
|
345
|
-
showDrawer: !!
|
|
353
|
+
showDrawer: !!n,
|
|
346
354
|
title: l.actions_select_a_category
|
|
347
355
|
}
|
|
348
356
|
),
|
|
@@ -352,33 +360,33 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
352
360
|
copy: {
|
|
353
361
|
title: U(
|
|
354
362
|
l.actions_apply_to_all_transaction_types,
|
|
355
|
-
|
|
363
|
+
n.description
|
|
356
364
|
)
|
|
357
365
|
},
|
|
358
366
|
isOpen: !!c,
|
|
359
|
-
onClose: () =>
|
|
360
|
-
onPrimaryAction: () =>
|
|
361
|
-
onSecondaryAction: () =>
|
|
367
|
+
onClose: () => f(!1),
|
|
368
|
+
onPrimaryAction: () => f(!0),
|
|
369
|
+
onSecondaryAction: () => f(!1),
|
|
362
370
|
primaryText: l.actions_apply_to_all,
|
|
363
371
|
secondaryText: l.actions_this_time_only,
|
|
364
|
-
children: /* @__PURE__ */ e(
|
|
372
|
+
children: /* @__PURE__ */ e(Ye, { variant: "subtitle1", children: U(
|
|
365
373
|
l.actions_all_past_and_future,
|
|
366
|
-
|
|
367
|
-
|
|
374
|
+
n.description,
|
|
375
|
+
y?.name
|
|
368
376
|
) })
|
|
369
377
|
}
|
|
370
378
|
)
|
|
371
379
|
] });
|
|
372
|
-
},
|
|
380
|
+
}, Ot = S(kt), ae = 120, Mt = ({
|
|
373
381
|
onBackClick: t,
|
|
374
|
-
height:
|
|
375
|
-
showInsights:
|
|
382
|
+
height: n = "100dvh",
|
|
383
|
+
showInsights: r = !1,
|
|
376
384
|
sx: a = {}
|
|
377
385
|
}) => {
|
|
378
|
-
const { manualAccounts: l, refreshAccounts: s } =
|
|
386
|
+
const { manualAccounts: l, refreshAccounts: s } = oe(), { is_mobile_webview: c, clientConfig: h, config: y } = Ue(), { setSearchValue: f } = dt(), { onEvent: d } = Ke(), { common: I, transactions: p } = D(), { displayedDateRange: i, isInitialized: g, selectedAccountGuids: v, setDisplayedDate: o } = K(), { isDesktop: B, isTablet: ie } = _t(), k = at(), {
|
|
379
387
|
addTransaction: se,
|
|
380
388
|
filter: ce,
|
|
381
|
-
isTransactionDataLoaded:
|
|
389
|
+
isTransactionDataLoaded: P,
|
|
382
390
|
loadTransactionData: le,
|
|
383
391
|
setFilter: q,
|
|
384
392
|
sortedTransactions: j,
|
|
@@ -389,67 +397,67 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
389
397
|
} = H(), {
|
|
390
398
|
clearExpandedSplits: pe,
|
|
391
399
|
isAmountValid: ge,
|
|
392
|
-
manualTransaction:
|
|
393
|
-
searchValue:
|
|
400
|
+
manualTransaction: O,
|
|
401
|
+
searchValue: Y,
|
|
394
402
|
setSearchValue: he,
|
|
395
403
|
setShowInsights: fe,
|
|
396
404
|
updateManualTransaction: Ce
|
|
397
|
-
} = R(), { userProfile: ye } = ze(), [
|
|
405
|
+
} = R(), { userProfile: ye } = ze(), [$, b] = m.useState(""), [X, M] = m.useState(""), [be, V] = m.useState(!1), [Te, J] = m.useState(!1), { announce: Ae, ariaLive: xe } = ut(), W = h?.transactions?.selected_account_guid;
|
|
398
406
|
pt({
|
|
399
407
|
widgetName: "TransactionWidget",
|
|
400
|
-
isLoaded:
|
|
408
|
+
isLoaded: P
|
|
401
409
|
}), m.useEffect(() => {
|
|
402
|
-
|
|
403
|
-
const u = tt(F()),
|
|
404
|
-
|
|
410
|
+
P || le().finally();
|
|
411
|
+
const u = tt(F()), Oe = Ze(F());
|
|
412
|
+
o(u, Oe), d(A.TRANSACTIONS_VIEW);
|
|
405
413
|
}, []), m.useEffect(() => {
|
|
406
414
|
g && q({
|
|
407
415
|
accounts: W ? [W] : v,
|
|
408
416
|
dateRange: { start: i.start, end: i.end },
|
|
409
|
-
searchTerm:
|
|
417
|
+
searchTerm: Y
|
|
410
418
|
});
|
|
411
419
|
}, [g, i, v]), m.useEffect(() => {
|
|
412
|
-
fe(
|
|
413
|
-
}, [
|
|
420
|
+
fe(r);
|
|
421
|
+
}, [r]), m.useEffect(() => {
|
|
414
422
|
g && Ae(
|
|
415
423
|
U(p.showing_transactions_count, j.length)
|
|
416
424
|
);
|
|
417
425
|
}, [g, j]);
|
|
418
|
-
const
|
|
419
|
-
pe(),
|
|
420
|
-
},
|
|
426
|
+
const T = X ? me.find((u) => u.guid === X) : void 0, Q = ge && !!O.payee && !!O.account_guid && !!O.category_guid, we = (u) => {
|
|
427
|
+
pe(), o(u[0], u[1]);
|
|
428
|
+
}, Se = (u) => {
|
|
421
429
|
he(u), q({
|
|
422
430
|
...ce,
|
|
423
431
|
searchTerm: u
|
|
424
432
|
}), d(A.TRANSACTIONS_CLICK_SEARCH, { search_term: u });
|
|
425
433
|
}, De = () => {
|
|
426
|
-
|
|
434
|
+
Ve(de, ue), d(A.TRANSACTIONS_CLICK_EXPORT);
|
|
427
435
|
}, Ie = () => {
|
|
428
436
|
l.length > 0 ? (Ce({
|
|
429
|
-
...
|
|
437
|
+
...Pe,
|
|
430
438
|
date: et(F()),
|
|
431
439
|
user_guid: ye?.user_guid || ""
|
|
432
|
-
}),
|
|
440
|
+
}), b(
|
|
433
441
|
"addTransaction"
|
|
434
442
|
/* AddTransaction */
|
|
435
|
-
), d(A.TRANSACTIONS_CLICK_ADD)) : (
|
|
443
|
+
), d(A.TRANSACTIONS_CLICK_ADD)) : (V(!0), d(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
|
|
436
444
|
}, ve = async () => {
|
|
437
|
-
Q && await se(
|
|
445
|
+
Q && await se(O), b("");
|
|
438
446
|
}, Ne = () => {
|
|
439
|
-
|
|
447
|
+
V(!1), J(!0);
|
|
440
448
|
}, Ee = async () => {
|
|
441
449
|
J(!1), await s();
|
|
442
|
-
},
|
|
443
|
-
|
|
450
|
+
}, ke = async () => {
|
|
451
|
+
T && !T.has_been_viewed && await _e({ ...T, has_been_viewed: !0 }), b("");
|
|
444
452
|
};
|
|
445
453
|
if (!g)
|
|
446
454
|
return /* @__PURE__ */ e(z, {});
|
|
447
455
|
const G = [];
|
|
448
|
-
return !c && (
|
|
456
|
+
return !c && (B || ie) && G.push({
|
|
449
457
|
iconName: "open_in_new",
|
|
450
458
|
label: p.export_csv_btn,
|
|
451
459
|
onClick: De
|
|
452
|
-
}),
|
|
460
|
+
}), y.show_connections_widget_in_master && G.push({
|
|
453
461
|
iconName: "add",
|
|
454
462
|
label: p.add_transaction_btn,
|
|
455
463
|
onClick: Ie
|
|
@@ -458,7 +466,7 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
458
466
|
{
|
|
459
467
|
actions: G,
|
|
460
468
|
calendarActions: {
|
|
461
|
-
onRangeChanged:
|
|
469
|
+
onRangeChanged: we
|
|
462
470
|
},
|
|
463
471
|
onAccountsFilterClick: () => d(A.ACCOUNTS_CLICK_FILTER),
|
|
464
472
|
onBackClick: t,
|
|
@@ -466,35 +474,35 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
466
474
|
sx: a,
|
|
467
475
|
title: p.transactions_title,
|
|
468
476
|
children: [
|
|
469
|
-
|
|
477
|
+
P ? /* @__PURE__ */ _(w, { children: [
|
|
470
478
|
xe,
|
|
471
|
-
/* @__PURE__ */ e(
|
|
479
|
+
/* @__PURE__ */ e(x, { mt: 16, children: /* @__PURE__ */ e(
|
|
472
480
|
ht,
|
|
473
481
|
{
|
|
474
|
-
onChange:
|
|
482
|
+
onChange: Se,
|
|
475
483
|
placeholder: p.action_bar_search_placeholder,
|
|
476
|
-
searchValue:
|
|
484
|
+
searchValue: Y
|
|
477
485
|
}
|
|
478
486
|
) }),
|
|
479
487
|
/* @__PURE__ */ e(
|
|
480
|
-
|
|
488
|
+
x,
|
|
481
489
|
{
|
|
482
490
|
sx: {
|
|
483
|
-
[
|
|
484
|
-
[
|
|
491
|
+
[k.breakpoints.down("md")]: { display: "none" },
|
|
492
|
+
[k.breakpoints.up("md")]: { display: "block" }
|
|
485
493
|
},
|
|
486
494
|
children: /* @__PURE__ */ e(
|
|
487
495
|
Dt,
|
|
488
496
|
{
|
|
489
|
-
height: `calc(${
|
|
497
|
+
height: `calc(${n} - ${ae}px)`,
|
|
490
498
|
onCategoryClick: (u) => {
|
|
491
|
-
|
|
499
|
+
M(u), b(
|
|
492
500
|
"category"
|
|
493
501
|
/* Category */
|
|
494
502
|
);
|
|
495
503
|
},
|
|
496
504
|
onRowClick: (u) => {
|
|
497
|
-
|
|
505
|
+
M(u), b(
|
|
498
506
|
"transaction"
|
|
499
507
|
/* Transaction */
|
|
500
508
|
), d(A.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: u });
|
|
@@ -504,24 +512,24 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
504
512
|
}
|
|
505
513
|
),
|
|
506
514
|
/* @__PURE__ */ e(
|
|
507
|
-
|
|
515
|
+
x,
|
|
508
516
|
{
|
|
509
517
|
sx: {
|
|
510
|
-
[
|
|
511
|
-
[
|
|
518
|
+
[k.breakpoints.down("md")]: { display: "block" },
|
|
519
|
+
[k.breakpoints.up("md")]: { display: "none" }
|
|
512
520
|
},
|
|
513
521
|
children: /* @__PURE__ */ e(
|
|
514
|
-
|
|
522
|
+
$e,
|
|
515
523
|
{
|
|
516
|
-
height: `calc(${
|
|
524
|
+
height: `calc(${n} - ${ae}px)`,
|
|
517
525
|
onClick: (u) => {
|
|
518
|
-
|
|
526
|
+
M(u), b(
|
|
519
527
|
"transaction"
|
|
520
528
|
/* Transaction */
|
|
521
529
|
);
|
|
522
530
|
},
|
|
523
531
|
showHiddenTransactions: !0,
|
|
524
|
-
showInsights:
|
|
532
|
+
showInsights: r
|
|
525
533
|
}
|
|
526
534
|
)
|
|
527
535
|
}
|
|
@@ -531,28 +539,28 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
531
539
|
te,
|
|
532
540
|
{
|
|
533
541
|
ariaLabelClose: I.close_aria,
|
|
534
|
-
isOpen:
|
|
535
|
-
onClose:
|
|
542
|
+
isOpen: $ === "transaction" && !!T,
|
|
543
|
+
onClose: ke,
|
|
536
544
|
title: p.details_title,
|
|
537
|
-
children:
|
|
545
|
+
children: T && /* @__PURE__ */ e(Be, { transaction: T })
|
|
538
546
|
}
|
|
539
547
|
),
|
|
540
|
-
|
|
541
|
-
|
|
548
|
+
T && $ === "category" && /* @__PURE__ */ e(
|
|
549
|
+
Ot,
|
|
542
550
|
{
|
|
543
551
|
onClose: () => {
|
|
544
|
-
|
|
552
|
+
f(""), b(""), M("");
|
|
545
553
|
},
|
|
546
|
-
transaction:
|
|
554
|
+
transaction: T
|
|
547
555
|
}
|
|
548
556
|
),
|
|
549
557
|
/* @__PURE__ */ e(
|
|
550
558
|
te,
|
|
551
559
|
{
|
|
552
560
|
ariaLabelClose: I.close_aria,
|
|
553
|
-
isOpen:
|
|
561
|
+
isOpen: $ === "addTransaction",
|
|
554
562
|
isPrimaryDisabled: !Q,
|
|
555
|
-
onClose: () =>
|
|
563
|
+
onClose: () => b(""),
|
|
556
564
|
onPrimaryAction: ve,
|
|
557
565
|
title: p.add_transaction_title,
|
|
558
566
|
children: /* @__PURE__ */ e(Et, {})
|
|
@@ -562,38 +570,38 @@ const ft = (t) => /* @__PURE__ */ _(y, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
562
570
|
vt,
|
|
563
571
|
{
|
|
564
572
|
copy: { title: p.add_manual_account },
|
|
565
|
-
isOpen:
|
|
573
|
+
isOpen: be,
|
|
566
574
|
onClose: () => {
|
|
567
|
-
|
|
575
|
+
V(!1);
|
|
568
576
|
},
|
|
569
577
|
onPrimaryAction: Ne
|
|
570
578
|
}
|
|
571
579
|
),
|
|
572
580
|
/* @__PURE__ */ e(
|
|
573
|
-
|
|
581
|
+
ot,
|
|
574
582
|
{
|
|
575
583
|
onClose: Ee,
|
|
576
|
-
showConnectWidget:
|
|
584
|
+
showConnectWidget: Te,
|
|
577
585
|
title: p.add_manual_account
|
|
578
586
|
}
|
|
579
587
|
)
|
|
580
588
|
]
|
|
581
589
|
}
|
|
582
590
|
);
|
|
583
|
-
},
|
|
591
|
+
}, Ta = S(Mt);
|
|
584
592
|
export {
|
|
585
593
|
vt as AddAccountModal,
|
|
586
594
|
Da as BottomActions,
|
|
587
595
|
Ra as ExportCsvAction,
|
|
588
596
|
Na as TRANSACTION_EVENTS,
|
|
589
597
|
Ia as TopActions,
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
598
|
+
wa as TransactionApi,
|
|
599
|
+
Be as TransactionDetails,
|
|
600
|
+
$e as TransactionList,
|
|
601
|
+
Ma as TransactionRow,
|
|
602
|
+
ka as TransactionStore,
|
|
595
603
|
Dt as TransactionTable,
|
|
596
|
-
|
|
597
|
-
|
|
604
|
+
Ta as TransactionWidget,
|
|
605
|
+
Ve as exportTransactionsToCSV,
|
|
598
606
|
R as useTransactionsUiStore
|
|
599
607
|
};
|