@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.mega1
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 +178 -1
- package/dist/{Account-Bxw0_4FU.mjs → Account-CvR2-dSR.mjs} +1 -1
- package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CitErkuS.mjs} +89 -82
- package/dist/AccountDetailsHeader-BkG3MNYo.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-zCMqet85.mjs} +6 -6
- package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DHrz8Mml.mjs} +9 -9
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-LgfBcYMe.mjs} +112 -75
- package/dist/Accounts-Bzy1_REQ.mjs +9 -0
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-BmZXkL0C.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +23 -21
- package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
- package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BkvlItWx.mjs} +11 -11
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-itK0R3wV.mjs} +2 -2
- package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-Bq-aPy-5.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/Drawer-By9V-B5L.mjs +178 -0
- package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Cglo8Mca.mjs} +3 -3
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-1P19goZ7.mjs} +112 -152
- package/dist/{Help-B6dIcujh.mjs → Help-Ea3BlXQp.mjs} +2 -2
- package/dist/LineChart-KpPw1phO.mjs +580 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BxTkF6Tz.mjs} +10 -10
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-CaoQl609.mjs} +91 -88
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
- package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-rC0q7P7t.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-uzM8tCoH.mjs} +236 -231
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
- package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +4 -4
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-B4ybrS0B.mjs} +4 -4
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BqijW_8S.mjs} +49 -48
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +26 -29
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DQ1b9uqq.mjs} +11 -13
- package/dist/SpendingLegend-CDO060GT.mjs +193 -0
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
- package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
- package/dist/TrendsStore-yO7qYv97.mjs +186 -0
- package/dist/{User-BQUxBeZV.mjs → User-Cnlegl1N.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +711 -728
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CoFDmQRE.mjs} +4 -4
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +245 -235
- package/dist/accounts/stores/AccountStore.d.ts +24 -25
- package/dist/accounts/utils/Accounts.d.ts +1 -2
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/components/AddBudgets.d.ts +2 -1
- package/dist/budgets/index.es.js +611 -580
- package/dist/budgets/store/BudgetsStore.d.ts +0 -1
- package/dist/cashflow/index.es.js +187 -180
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -5
- package/dist/categories/util/CategoryUtil.d.ts +2 -3
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +12 -2
- package/dist/common/components/charts/index.d.ts +0 -3
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
- package/dist/common/index.es.js +397 -387
- package/dist/common/stores/AppDataStore.d.ts +1 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +10 -4
- package/dist/common/stores/GlobalUiStore.d.ts +2 -3
- package/dist/common/stores/UserStore.d.ts +2 -3
- package/dist/common/types/Account.d.ts +6 -9
- package/dist/common/types/Finstrong.d.ts +54 -0
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
- package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
- package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
- package/dist/dashboard/index.es.js +90 -88
- package/dist/debts/index.es.js +458 -448
- package/dist/exportTransactionsToCSV-DuAaI5XA.mjs +48 -0
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +24 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +9 -0
- package/dist/finstrong/index.es.js +3190 -1073
- package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +302 -291
- package/dist/goals/stores/GoalStore.d.ts +4 -17
- package/dist/help/index.es.js +13 -9
- package/dist/{hooks-D6XlXHf4.mjs → hooks-ZMp65DFz.mjs} +12 -12
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +108 -104
- package/dist/investments/stores/HoldingStore.d.ts +0 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
- package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
- package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
- package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
- package/dist/microinsights/constants/App.d.ts +0 -1
- package/dist/microinsights/index.d.ts +4 -3
- package/dist/microinsights/index.es.js +101 -14
- package/dist/microinsights/interfaces.d.ts +0 -6
- package/dist/networth/index.es.js +197 -190
- package/dist/notifications/index.es.js +25 -25
- package/dist/notifications/stores/NotificationStore.d.ts +1 -3
- package/dist/recurringtransactions/index.es.js +395 -351
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
- package/dist/settings/index.es.js +307 -298
- package/dist/spending/index.es.js +299 -438
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
- package/dist/transactions/index.es.js +115 -112
- package/dist/transactions/stores/TransactionStore.d.ts +77 -21
- package/dist/trends/components/TrendsTable.d.ts +0 -2
- package/dist/trends/index.es.js +1025 -604
- package/dist/trends/utils/TrendsData.d.ts +1 -0
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
- package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
- package/package.json +4 -4
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/Accounts-BRf_YeTf.mjs +0 -27
- package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
- package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
- package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
- package/dist/TransactionStore-ai3uII_r.mjs +0 -690
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/common/components/SkeletonLoader.d.ts +0 -7
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
|
-
import { Category, DateRangeCategoryTotals,
|
|
2
|
+
import { Category, DateRangeCategoryTotals, GoalsCopy } from '../../common';
|
|
3
|
+
import { DonutData } from '../../common/components/charts/Donut';
|
|
3
4
|
export interface CategoryTotal {
|
|
4
5
|
guid: string;
|
|
5
6
|
name: string;
|
|
@@ -3,6 +3,7 @@ import { Transaction } from '../../../common';
|
|
|
3
3
|
import { BottomActions, TopActions } from '../../constants/Actions';
|
|
4
4
|
export interface TransactionDetailsProps {
|
|
5
5
|
bottomActions?: BottomActions[];
|
|
6
|
+
canFlagTransaction?: boolean;
|
|
6
7
|
topActions?: TopActions[];
|
|
7
8
|
transaction: Transaction;
|
|
8
9
|
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { T as
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import { T as M } from "../User-
|
|
5
|
-
import { O as
|
|
6
|
-
import { S as ae, D as
|
|
7
|
-
import { T as
|
|
8
|
-
import { e as
|
|
9
|
-
import { E as
|
|
1
|
+
import { T as Sa } from "../TransactionApi-CjBoLleL.mjs";
|
|
2
|
+
import { b as W, C as Pe, D as We, M as $e, d as Ve, u as Ge, T as Ue, a as Fe } from "../TransactionDetails-m5PddMQn.mjs";
|
|
3
|
+
import { B as wa, e as Ia, c as va } from "../TransactionDetails-m5PddMQn.mjs";
|
|
4
|
+
import { T as M } from "../User-Cnlegl1N.mjs";
|
|
5
|
+
import { O as Na } from "../User-Cnlegl1N.mjs";
|
|
6
|
+
import { S as ae, D as ze } from "../TransactionStore-PRlwE-TF.mjs";
|
|
7
|
+
import { T as Oa } from "../TransactionStore-PRlwE-TF.mjs";
|
|
8
|
+
import { e as Ke } from "../exportTransactionsToCSV-DuAaI5XA.mjs";
|
|
9
|
+
import { E as ka } from "../ExportCsvAction-Cglo8Mca.mjs";
|
|
10
10
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
11
11
|
import u from "react";
|
|
12
12
|
import { observer as x } from "mobx-react-lite";
|
|
13
|
-
import
|
|
14
|
-
import { DataGridPro as
|
|
13
|
+
import qe from "@mui/material/Paper";
|
|
14
|
+
import { DataGridPro as je } from "@mui/x-data-grid-pro";
|
|
15
15
|
import S from "@mui/material/Box";
|
|
16
|
-
import { useTheme as
|
|
17
|
-
import { Text as C, Icon as
|
|
18
|
-
import { h as $, u as w, b as j, d as se, m as
|
|
19
|
-
import { fromUnixTime as
|
|
20
|
-
import { f as
|
|
16
|
+
import { useTheme as Xe } from "@mui/material/styles";
|
|
17
|
+
import { Text as C, Icon as P, MerchantLogo as Ye, TextField as ne, P as Je } from "@mxenabled/mxui";
|
|
18
|
+
import { h as $, u as w, b as j, d as se, m as Qe, a as Ze, g as et, o as tt } from "../hooks-ZMp65DFz.mjs";
|
|
19
|
+
import { fromUnixTime as at } from "date-fns/fromUnixTime";
|
|
20
|
+
import { f as nt, a as ot, D as ie } from "../Dialog-BPTr3qHE.mjs";
|
|
21
21
|
import N from "@mui/material/Stack";
|
|
22
|
-
import { f as ce } from "../NumberFormatting-
|
|
22
|
+
import { f as ce } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
23
23
|
import { L as X } from "../Loader-DUaFpDGv.mjs";
|
|
24
|
-
import { endOfMonth as
|
|
25
|
-
import { getUnixTime as
|
|
26
|
-
import { startOfMonth as
|
|
24
|
+
import { endOfMonth as rt } from "date-fns/endOfMonth";
|
|
25
|
+
import { getUnixTime as st } from "date-fns/getUnixTime";
|
|
26
|
+
import { startOfMonth as it } from "date-fns/startOfMonth";
|
|
27
27
|
import { startOfToday as K } from "date-fns/startOfToday";
|
|
28
|
-
import
|
|
29
|
-
import { l as
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import { ExpandMore as
|
|
34
|
-
import { C as
|
|
35
|
-
import { a as
|
|
28
|
+
import ct from "@mui/material/styles/useTheme";
|
|
29
|
+
import { l as lt } from "../ConnectDrawer-BkvlItWx.mjs";
|
|
30
|
+
import dt from "@mui/material/Divider";
|
|
31
|
+
import ut from "@mui/material/MenuItem";
|
|
32
|
+
import mt from "@mui/material/RadioGroup";
|
|
33
|
+
import { ExpandMore as _t } from "@mxenabled/mx-icons";
|
|
34
|
+
import { C as pt } from "../CurrencyInput-itK0R3wV.mjs";
|
|
35
|
+
import { a as gt, u as ht } from "../CategorySelectorDrawer-B-I3kajA.mjs";
|
|
36
36
|
import { b as q } from "../Localization-2MODESHW.mjs";
|
|
37
|
-
import {
|
|
38
|
-
import { A, W as ft } from "../WidgetContainer-BHWANqT4.mjs";
|
|
37
|
+
import { A, W as ft } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
39
38
|
import { u as Ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
|
|
39
|
+
import { u as yt } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
40
|
+
import { S as bt } from "../SearchBox-B2_zLv8-.mjs";
|
|
41
|
+
import { D as oe } from "../Drawer-By9V-B5L.mjs";
|
|
42
|
+
const Tt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
|
|
43
43
|
`${t.row.account}`,
|
|
44
44
|
t.row.number && ` | ${t.row.number}`
|
|
45
|
-
] }),
|
|
46
|
-
const { associatedBeats: s } = $(), { showInsights: r } =
|
|
45
|
+
] }), At = (t) => {
|
|
46
|
+
const { associatedBeats: s } = $(), { showInsights: r } = W(), { amount: a, transaction_type: i } = t.row, l = s.find((p) => p.associated_transaction_guid === t.row.guid), d = i === M.CREDIT;
|
|
47
47
|
return /* @__PURE__ */ _(N, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
|
|
48
48
|
/* @__PURE__ */ _(C, { color: d ? "success.main" : "text.primary", variant: "Small", children: [
|
|
49
49
|
d ? "+" : "",
|
|
@@ -51,7 +51,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
51
51
|
] }),
|
|
52
52
|
l && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "XSmall", children: l.short_title })
|
|
53
53
|
] });
|
|
54
|
-
},
|
|
54
|
+
}, St = (t) => {
|
|
55
55
|
const { transactions: s } = w(), [r, a] = u.useState(!1);
|
|
56
56
|
return /* @__PURE__ */ _(
|
|
57
57
|
N,
|
|
@@ -64,22 +64,22 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
64
64
|
onMouseLeave: () => a(!1),
|
|
65
65
|
width: "100%",
|
|
66
66
|
children: [
|
|
67
|
-
t.row.has_been_split && /* @__PURE__ */ e(
|
|
67
|
+
t.row.has_been_split && /* @__PURE__ */ e(P, { name: "call_split", size: 16 }),
|
|
68
68
|
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.has_been_split ? s.split_transaction_category_label : t.row.category }),
|
|
69
|
-
!t.row.has_been_split && r && /* @__PURE__ */ e(
|
|
69
|
+
!t.row.has_been_split && r && /* @__PURE__ */ e(P, { name: "edit", sx: { color: "action.active" } })
|
|
70
70
|
]
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
|
-
},
|
|
74
|
-
const s =
|
|
73
|
+
}, xt = x(St), wt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: nt(at(t.row.date), ot.MONTH_DAY) }), It = (t) => {
|
|
74
|
+
const s = Xe(), { transactions: r } = w(), { is_flagged: a, is_hidden: i, has_been_viewed: l, parent_guid: d } = t.row, h = !l && !!!d;
|
|
75
75
|
return /* @__PURE__ */ _(
|
|
76
76
|
S,
|
|
77
77
|
{
|
|
78
78
|
"aria-label": i ? r.is_hidden : r.is_flagged,
|
|
79
79
|
tabIndex: t.tabIndex,
|
|
80
80
|
children: [
|
|
81
|
-
a && /* @__PURE__ */ e(
|
|
82
|
-
!a && i && /* @__PURE__ */ e(
|
|
81
|
+
a && /* @__PURE__ */ e(P, { fill: !0, name: "flag", size: 16, sx: { color: "warning.dark" } }),
|
|
82
|
+
!a && i && /* @__PURE__ */ e(P, { name: "visibility_off", size: 16 }),
|
|
83
83
|
h && /* @__PURE__ */ e(
|
|
84
84
|
"svg",
|
|
85
85
|
{
|
|
@@ -98,21 +98,21 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
98
98
|
]
|
|
99
99
|
}
|
|
100
100
|
);
|
|
101
|
-
},
|
|
101
|
+
}, vt = x(It), O = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), Dt = (t) => /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
102
102
|
/* @__PURE__ */ e(
|
|
103
|
-
|
|
103
|
+
Ye,
|
|
104
104
|
{
|
|
105
105
|
categoryGuid: t.row.top_level_category_guid || "",
|
|
106
106
|
merchantGuid: t.row.merchant_guid || ""
|
|
107
107
|
}
|
|
108
108
|
),
|
|
109
109
|
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.payee })
|
|
110
|
-
] }),
|
|
110
|
+
] }), Nt = ({
|
|
111
111
|
height: t = "100dvh",
|
|
112
112
|
onCategoryClick: s,
|
|
113
113
|
onRowClick: r
|
|
114
114
|
}) => {
|
|
115
|
-
const { transactions: a } = w(), { isCopyLoaded: i } = j(), { isLoading: l, sortedTransactions: d } = $(), { clearExpandedSplits: p, toggleSplit: h } =
|
|
115
|
+
const { transactions: a } = w(), { isCopyLoaded: i } = j(), { isLoading: l, sortedTransactions: d } = $(), { clearExpandedSplits: p, toggleSplit: h } = W();
|
|
116
116
|
u.useEffect(() => () => p(), []);
|
|
117
117
|
const f = u.useMemo(
|
|
118
118
|
() => d.map((n) => ({
|
|
@@ -131,7 +131,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
131
131
|
minWidth: 32,
|
|
132
132
|
width: 32,
|
|
133
133
|
sortable: !1,
|
|
134
|
-
renderCell: (n) => /* @__PURE__ */ e(
|
|
134
|
+
renderCell: (n) => /* @__PURE__ */ e(vt, { ...n }),
|
|
135
135
|
renderHeader: () => /* @__PURE__ */ e("span", { "aria-label": a.transaction_status, role: "presentation" })
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -139,7 +139,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
139
139
|
headerName: a.date_title,
|
|
140
140
|
width: 103,
|
|
141
141
|
renderHeader: O,
|
|
142
|
-
renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(
|
|
142
|
+
renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(wt, { ...n }),
|
|
143
143
|
sortingOrder: ["desc", "asc"]
|
|
144
144
|
},
|
|
145
145
|
{
|
|
@@ -148,7 +148,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
148
148
|
headerName: a.payee_title,
|
|
149
149
|
flex: 0.33,
|
|
150
150
|
renderHeader: O,
|
|
151
|
-
renderCell:
|
|
151
|
+
renderCell: Dt,
|
|
152
152
|
sortingOrder: ["asc", "desc"]
|
|
153
153
|
},
|
|
154
154
|
{
|
|
@@ -156,7 +156,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
156
156
|
headerName: a.category_title,
|
|
157
157
|
flex: 0.25,
|
|
158
158
|
renderHeader: O,
|
|
159
|
-
renderCell: (n) => /* @__PURE__ */ e(
|
|
159
|
+
renderCell: (n) => /* @__PURE__ */ e(xt, { ...n }),
|
|
160
160
|
sortingOrder: ["asc", "desc"]
|
|
161
161
|
},
|
|
162
162
|
{
|
|
@@ -164,7 +164,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
164
164
|
headerName: a.account_title,
|
|
165
165
|
flex: 0.33,
|
|
166
166
|
renderHeader: O,
|
|
167
|
-
renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(
|
|
167
|
+
renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(Tt, { ...n }),
|
|
168
168
|
sortingOrder: ["asc", "desc"]
|
|
169
169
|
},
|
|
170
170
|
{
|
|
@@ -172,14 +172,14 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
172
172
|
headerName: a.amount_title,
|
|
173
173
|
flex: 0.25,
|
|
174
174
|
renderHeader: O,
|
|
175
|
-
renderCell:
|
|
175
|
+
renderCell: At,
|
|
176
176
|
align: "right",
|
|
177
177
|
headerAlign: "right",
|
|
178
178
|
sortingOrder: ["asc", "desc"]
|
|
179
179
|
}
|
|
180
180
|
];
|
|
181
|
-
return /* @__PURE__ */ e(
|
|
182
|
-
|
|
181
|
+
return /* @__PURE__ */ e(qe, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
|
|
182
|
+
je,
|
|
183
183
|
{
|
|
184
184
|
columns: I,
|
|
185
185
|
disableColumnFilter: !0,
|
|
@@ -198,7 +198,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
) });
|
|
201
|
-
},
|
|
201
|
+
}, Et = x(Nt), Ot = ({ copy: t, isOpen: s, onClose: r, onPrimaryAction: a }) => {
|
|
202
202
|
const { common: i, transactions: l } = w(), { isCopyLoaded: d } = j();
|
|
203
203
|
return d ? /* @__PURE__ */ _(
|
|
204
204
|
ie,
|
|
@@ -217,8 +217,8 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
217
217
|
]
|
|
218
218
|
}
|
|
219
219
|
) : /* @__PURE__ */ e(X, {});
|
|
220
|
-
},
|
|
221
|
-
const { visibleAccounts: t } = se(), { common: s, transactions: r } = w(), { manualTransaction: a, setIsAmountValid: i, updateManualTransaction: l } =
|
|
220
|
+
}, Mt = x(Ot), kt = () => {
|
|
221
|
+
const { visibleAccounts: t } = se(), { common: s, transactions: r } = w(), { manualTransaction: a, setIsAmountValid: i, updateManualTransaction: l } = W(), [d, p] = u.useState(""), [h, f] = u.useState(""), m = u.useMemo(
|
|
222
222
|
() => t.filter((o) => o.is_manual),
|
|
223
223
|
[t]
|
|
224
224
|
).map((o) => ({
|
|
@@ -247,7 +247,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
247
247
|
sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
|
|
248
248
|
children: [
|
|
249
249
|
/* @__PURE__ */ e(
|
|
250
|
-
|
|
250
|
+
pt,
|
|
251
251
|
{
|
|
252
252
|
allowDecimals: !0,
|
|
253
253
|
amount: d,
|
|
@@ -263,7 +263,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
263
263
|
type: "number"
|
|
264
264
|
}
|
|
265
265
|
),
|
|
266
|
-
/* @__PURE__ */ e(
|
|
266
|
+
/* @__PURE__ */ e(mt, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", children: [
|
|
267
267
|
/* @__PURE__ */ e(
|
|
268
268
|
ae,
|
|
269
269
|
{
|
|
@@ -301,26 +301,26 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
301
301
|
ne,
|
|
302
302
|
{
|
|
303
303
|
InputLabelProps: { shrink: !0 },
|
|
304
|
-
SelectProps: { defaultValue: -1, IconComponent:
|
|
304
|
+
SelectProps: { defaultValue: -1, IconComponent: _t },
|
|
305
305
|
label: r.manual_transaction_select_an_account,
|
|
306
306
|
onChange: (o) => E(o.target.value),
|
|
307
307
|
placeholder: r.manual_transaction_select,
|
|
308
308
|
select: !0,
|
|
309
309
|
sx: { bgcolor: "background.paper" },
|
|
310
|
-
children: m.map((o) => /* @__PURE__ */ e(
|
|
310
|
+
children: m.map((o) => /* @__PURE__ */ e(ut, { value: o.value, children: o.label }, o.value))
|
|
311
311
|
}
|
|
312
312
|
)
|
|
313
313
|
] }),
|
|
314
|
-
/* @__PURE__ */ e(
|
|
314
|
+
/* @__PURE__ */ e(dt, { light: !0 }),
|
|
315
315
|
/* @__PURE__ */ _(S, { bgcolor: "background.paper", children: [
|
|
316
316
|
/* @__PURE__ */ e(Pe, { transaction: a }),
|
|
317
|
+
/* @__PURE__ */ e(We, { transaction: a }),
|
|
317
318
|
/* @__PURE__ */ e($e, { transaction: a }),
|
|
318
|
-
/* @__PURE__ */ e(Ve, { transaction: a })
|
|
319
|
-
/* @__PURE__ */ e(We, { transaction: a })
|
|
319
|
+
/* @__PURE__ */ e(Ve, { transaction: a })
|
|
320
320
|
] })
|
|
321
321
|
] });
|
|
322
|
-
},
|
|
323
|
-
const { addOrUpdateTransactionRule: r, updateTransaction: a } = $(), { transactions: i } = w(), { categories: l } =
|
|
322
|
+
}, Lt = x(kt), Rt = ({ onClose: t, transaction: s }) => {
|
|
323
|
+
const { addOrUpdateTransactionRule: r, updateTransaction: a } = $(), { transactions: i } = w(), { categories: l } = Qe(), [d, p] = u.useState(""), h = u.useMemo(
|
|
324
324
|
() => l.find((m) => m.guid === d),
|
|
325
325
|
[d]
|
|
326
326
|
), f = async (m) => {
|
|
@@ -328,7 +328,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
328
328
|
};
|
|
329
329
|
return /* @__PURE__ */ _(S, { className: "mx-txn-edit-category-action", children: [
|
|
330
330
|
/* @__PURE__ */ e(
|
|
331
|
-
|
|
331
|
+
gt,
|
|
332
332
|
{
|
|
333
333
|
initialSelected: s.category_guid,
|
|
334
334
|
onClose: t,
|
|
@@ -352,7 +352,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
352
352
|
onSecondaryAction: () => f(!1),
|
|
353
353
|
primaryText: i.actions_apply_to_all,
|
|
354
354
|
secondaryText: i.actions_this_time_only,
|
|
355
|
-
children: /* @__PURE__ */ e(
|
|
355
|
+
children: /* @__PURE__ */ e(Je, { variant: "Paragraph", children: q(
|
|
356
356
|
i.actions_all_past_and_future,
|
|
357
357
|
s.description,
|
|
358
358
|
h?.name
|
|
@@ -360,25 +360,25 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
360
360
|
}
|
|
361
361
|
)
|
|
362
362
|
] });
|
|
363
|
-
},
|
|
363
|
+
}, Ht = x(Rt), re = 120, Bt = ({
|
|
364
364
|
onBackClick: t,
|
|
365
365
|
height: s = "100dvh",
|
|
366
366
|
showInsights: r = !1,
|
|
367
367
|
sx: a = {}
|
|
368
368
|
}) => {
|
|
369
|
-
const { visibleAccounts: i, refreshAccounts: l } = se(), { is_mobile_webview: d, clientConfig: p, config: h } =
|
|
369
|
+
const { visibleAccounts: i, refreshAccounts: l } = se(), { is_mobile_webview: d, clientConfig: p, config: h } = Ze(), { setSearchValue: f } = ht(), { onEvent: m } = et(), { common: I, transactions: n } = w(), {
|
|
370
370
|
displayedDateRange: g,
|
|
371
371
|
isCopyLoaded: T,
|
|
372
372
|
isInitialized: E,
|
|
373
373
|
selectedAccountGuids: o,
|
|
374
374
|
setDisplayedDate: k,
|
|
375
375
|
setSelectedAccounts: le
|
|
376
|
-
} = j(), { isDesktop: de, isTablet: ue } = Ct(), L =
|
|
376
|
+
} = j(), { isDesktop: de, isTablet: ue } = Ct(), L = ct(), {
|
|
377
377
|
addTransaction: me,
|
|
378
378
|
filter: Y,
|
|
379
379
|
loadAssociatedBeats: _e,
|
|
380
380
|
setFilter: V,
|
|
381
|
-
sortedTransactionsWithSplits:
|
|
381
|
+
sortedTransactionsWithSplits: G,
|
|
382
382
|
tags: pe,
|
|
383
383
|
transactions: ge,
|
|
384
384
|
updateTransaction: he
|
|
@@ -390,30 +390,33 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
390
390
|
setSearchValue: be,
|
|
391
391
|
setShowInsights: Te,
|
|
392
392
|
updateManualTransaction: Ae
|
|
393
|
-
} =
|
|
394
|
-
|
|
395
|
-
|
|
393
|
+
} = W(), { userProfile: Se } = tt(), [U, y] = u.useState(""), [J, H] = u.useState(""), [xe, F] = u.useState(!1), [we, Q] = u.useState(!1), [B, Ie] = u.useState(!1), { announce: ve, ariaLive: De } = Ge(), v = p?.transactions?.selected_account_guid;
|
|
394
|
+
yt({
|
|
395
|
+
widgetName: "TransactionWidget",
|
|
396
|
+
isLoaded: B
|
|
397
|
+
}), u.useEffect(() => {
|
|
398
|
+
const c = v ? [{ guid: v }] : i.filter((D) => !D.is_hidden), ee = it(K()), te = rt(K());
|
|
396
399
|
v || le(c), k(ee, te), V({
|
|
397
400
|
accounts: c.map((D) => D.guid),
|
|
398
401
|
custom: (D) => !D.accountIsClosed && !D.accountIsHidden,
|
|
399
402
|
dateRange: { start: ee, end: te }
|
|
400
403
|
}), Ie(!0), m(A.TRANSACTIONS_VIEW);
|
|
401
404
|
}, [i]), u.useEffect(() => {
|
|
402
|
-
|
|
405
|
+
B && (V({
|
|
403
406
|
...Y,
|
|
404
407
|
accounts: v ? [v] : o,
|
|
405
408
|
dateRange: { start: g.start, end: g.end }
|
|
406
409
|
}), _e(g.start).finally());
|
|
407
|
-
}, [
|
|
410
|
+
}, [B, g, o]), u.useEffect(() => {
|
|
408
411
|
Te(r);
|
|
409
412
|
}, [r]), u.useEffect(() => {
|
|
410
413
|
T && n.showing_transactions_count && ve(
|
|
411
414
|
q(
|
|
412
415
|
n.showing_transactions_count,
|
|
413
|
-
|
|
416
|
+
G.length
|
|
414
417
|
)
|
|
415
418
|
);
|
|
416
|
-
}, [T, g, o,
|
|
419
|
+
}, [T, g, o, G, n]);
|
|
417
420
|
const Ne = u.useMemo(
|
|
418
421
|
() => i.filter((c) => c.is_manual),
|
|
419
422
|
[i]
|
|
@@ -425,26 +428,26 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
425
428
|
searchTerm: c
|
|
426
429
|
}), m(A.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
|
|
427
430
|
}, Me = () => {
|
|
428
|
-
|
|
431
|
+
Ke(G, pe), m(A.TRANSACTIONS_CLICK_EXPORT);
|
|
429
432
|
}, ke = () => {
|
|
430
433
|
Ne.length > 0 ? (Ae({
|
|
431
|
-
...
|
|
432
|
-
date:
|
|
434
|
+
...ze,
|
|
435
|
+
date: st(K()),
|
|
433
436
|
user_guid: Se?.user_guid || ""
|
|
434
437
|
}), y(
|
|
435
438
|
"addTransaction"
|
|
436
439
|
/* AddTransaction */
|
|
437
|
-
), m(A.TRANSACTIONS_CLICK_ADD)) : (
|
|
440
|
+
), m(A.TRANSACTIONS_CLICK_ADD)) : (F(!0), m(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
|
|
438
441
|
}, Le = async () => {
|
|
439
442
|
Z && await me(R), y("");
|
|
440
443
|
}, Re = () => {
|
|
441
|
-
|
|
444
|
+
F(!1), Q(!0);
|
|
442
445
|
}, He = async () => {
|
|
443
446
|
Q(!1), await l();
|
|
444
447
|
}, Be = async () => {
|
|
445
448
|
b && !b.has_been_viewed && await he({ ...b, has_been_viewed: !0 }), y("");
|
|
446
449
|
};
|
|
447
|
-
if (!T || !E || !
|
|
450
|
+
if (!T || !E || !B)
|
|
448
451
|
return /* @__PURE__ */ e(X, {});
|
|
449
452
|
const z = [];
|
|
450
453
|
return !d && (de || ue) && z.push({
|
|
@@ -470,7 +473,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
470
473
|
children: [
|
|
471
474
|
De,
|
|
472
475
|
/* @__PURE__ */ e(S, { mt: 16, children: /* @__PURE__ */ e(
|
|
473
|
-
|
|
476
|
+
bt,
|
|
474
477
|
{
|
|
475
478
|
onChange: Oe,
|
|
476
479
|
placeholder: n.action_bar_search_placeholder,
|
|
@@ -485,7 +488,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
485
488
|
[L.breakpoints.up("md")]: { display: "block" }
|
|
486
489
|
},
|
|
487
490
|
children: /* @__PURE__ */ e(
|
|
488
|
-
|
|
491
|
+
Et,
|
|
489
492
|
{
|
|
490
493
|
height: `calc(${s} - ${re}px)`,
|
|
491
494
|
onCategoryClick: (c) => {
|
|
@@ -512,7 +515,7 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
512
515
|
[L.breakpoints.up("md")]: { display: "none" }
|
|
513
516
|
},
|
|
514
517
|
children: /* @__PURE__ */ e(
|
|
515
|
-
|
|
518
|
+
Ue,
|
|
516
519
|
{
|
|
517
520
|
height: `calc(${s} - ${re}px)`,
|
|
518
521
|
onClick: (c) => {
|
|
@@ -531,14 +534,14 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
531
534
|
oe,
|
|
532
535
|
{
|
|
533
536
|
ariaLabelClose: I.close_aria,
|
|
534
|
-
isOpen:
|
|
537
|
+
isOpen: U === "transaction" && !!b,
|
|
535
538
|
onClose: Be,
|
|
536
539
|
title: n.details_title,
|
|
537
|
-
children: b && /* @__PURE__ */ e(
|
|
540
|
+
children: b && /* @__PURE__ */ e(Fe, { transaction: b })
|
|
538
541
|
}
|
|
539
542
|
),
|
|
540
|
-
b &&
|
|
541
|
-
|
|
543
|
+
b && U === "category" && /* @__PURE__ */ e(
|
|
544
|
+
Ht,
|
|
542
545
|
{
|
|
543
546
|
onClose: () => {
|
|
544
547
|
f(""), y(""), H("");
|
|
@@ -550,27 +553,27 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
550
553
|
oe,
|
|
551
554
|
{
|
|
552
555
|
ariaLabelClose: I.close_aria,
|
|
553
|
-
isOpen:
|
|
556
|
+
isOpen: U === "addTransaction",
|
|
554
557
|
isPrimaryDisabled: !Z,
|
|
555
558
|
onClose: () => y(""),
|
|
556
559
|
onPrimaryAction: Le,
|
|
557
560
|
title: n.add_transaction_title,
|
|
558
|
-
children: /* @__PURE__ */ e(
|
|
561
|
+
children: /* @__PURE__ */ e(Lt, {})
|
|
559
562
|
}
|
|
560
563
|
),
|
|
561
564
|
/* @__PURE__ */ e(
|
|
562
|
-
|
|
565
|
+
Mt,
|
|
563
566
|
{
|
|
564
567
|
copy: { title: n.add_manual_account },
|
|
565
568
|
isOpen: xe,
|
|
566
569
|
onClose: () => {
|
|
567
|
-
|
|
570
|
+
F(!1);
|
|
568
571
|
},
|
|
569
572
|
onPrimaryAction: Re
|
|
570
573
|
}
|
|
571
574
|
),
|
|
572
575
|
/* @__PURE__ */ e(
|
|
573
|
-
|
|
576
|
+
lt,
|
|
574
577
|
{
|
|
575
578
|
onClose: He,
|
|
576
579
|
showConnectWidget: we,
|
|
@@ -580,20 +583,20 @@ const bt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
|
|
|
580
583
|
]
|
|
581
584
|
}
|
|
582
585
|
);
|
|
583
|
-
},
|
|
586
|
+
}, ba = x(Bt);
|
|
584
587
|
export {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
588
|
+
Mt as AddAccountModal,
|
|
589
|
+
wa as BottomActions,
|
|
590
|
+
ka as ExportCsvAction,
|
|
591
|
+
Na as TRANSACTION_EVENTS,
|
|
592
|
+
Ia as TopActions,
|
|
593
|
+
Sa as TransactionApi,
|
|
594
|
+
Fe as TransactionDetails,
|
|
595
|
+
Ue as TransactionList,
|
|
596
|
+
va as TransactionRow,
|
|
597
|
+
Oa as TransactionStore,
|
|
598
|
+
Et as TransactionTable,
|
|
599
|
+
ba as TransactionWidget,
|
|
600
|
+
Ke as exportTransactionsToCSV,
|
|
601
|
+
W as useTransactionsUiStore
|
|
599
602
|
};
|