@mx-cartographer/experiences 8.1.12 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +21 -21
- package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
- package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-BYyeeCf6.mjs} +7 -7
- package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
- package/dist/{Analytics-CxK7O19c.mjs → Analytics-CkYXKvco.mjs} +1 -1
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +2 -2
- package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
- package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
- package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
- package/dist/CurrencyDialog-d4dL7vA5.mjs +371 -0
- package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-B59ugxPN.mjs} +15 -16
- package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
- package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/EmbeddedCard-BNl3quCs.mjs +856 -0
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-hDprC41l.mjs} +6 -5
- package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/{Help-C_CM4gpK.mjs → Help-BSQm9o29.mjs} +68 -67
- package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-CejWS_rh.mjs} +2 -2
- package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-DwylSiWs.mjs} +51 -51
- package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-CCg-Tml2.mjs} +13 -13
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +4 -4
- package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-CPXLW6AR.mjs} +9 -9
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/Select-BZRUpOib.mjs +51 -0
- package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-PKlh8caU.mjs} +6 -6
- package/dist/{SpendingLegend-BS8mHUbu.mjs → SpendingLegend-BmkEr9Nh.mjs} +4 -4
- package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-CbBSxdOi.mjs} +33 -33
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +28 -30
- package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-DalWyz5A.mjs} +3 -3
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -1
- package/dist/accounts/index.es.js +62 -64
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +18 -18
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -1
- package/dist/cashflow/index.es.js +28 -31
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/constants/ScheduledPayment.d.ts +1 -1
- package/dist/common/constants/index.d.ts +0 -3
- package/dist/common/context/GlobalDataProvider.d.ts +1 -1
- package/dist/common/context/hooks.d.ts +20 -20
- package/dist/common/index.d.ts +3 -1
- package/dist/common/index.es.js +215 -961
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/index.d.ts +0 -4
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +2 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.es.js +94 -79
- package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
- package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
- package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
- package/dist/{common → core}/stores/UserStore.d.ts +2 -2
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/core/types/index.d.ts +3 -1
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/core/utils/Localization.d.ts +3 -0
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +568 -691
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/index.d.ts +0 -1
- package/dist/finstrong/index.es.js +1565 -1342
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -1
- package/dist/goals/index.es.js +71 -73
- package/dist/help/index.es.js +4 -4
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
- package/dist/insights/index.d.ts +0 -1
- package/dist/insights/index.es.js +52 -54
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/index.es.js +6 -6
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +12 -14
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -33
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +232 -237
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +23 -26
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +92 -96
- package/dist/settings/index.d.ts +0 -1
- package/dist/settings/index.es.js +11 -13
- package/dist/spending/index.es.js +10 -10
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -4
- package/dist/transactions/index.es.js +102 -109
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +67 -68
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
- package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountApi-WEM2M9tg.mjs +0 -19
- package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
- package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
- package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
- package/dist/BeatStore-C7-PIhpB.mjs +0 -163
- package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
- package/dist/CashflowStore-BEi92kJg.mjs +0 -91
- package/dist/CategoryApi-CogDFScz.mjs +0 -29
- package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
- package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
- package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
- package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
- package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
- package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
- package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
- package/dist/Goal-MFBpoOIC.mjs +0 -29
- package/dist/GoalStore-BBAEbf43.mjs +0 -395
- package/dist/Localization-C_HZg9tJ.mjs +0 -15
- package/dist/Localization-CkQ49EKr.mjs +0 -26
- package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
- package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
- package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
- package/dist/NotificationApi-DF0obHoR.mjs +0 -20
- package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
- package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
- package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
- package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
- package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
- package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
- package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
- package/dist/Transaction-Cn5_iFm0.mjs +0 -5
- package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
- package/dist/TransactionStore-amPYxHnA.mjs +0 -710
- package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
- package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/common/utils/Localization.d.ts +0 -3
- package/dist/debts/store/DebtsStore.d.ts +0 -10
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -20
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- /package/dist/{common → core}/constants/Category.d.ts +0 -0
- /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- /package/dist/{help → core}/constants/Help.d.ts +0 -0
- /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- /package/dist/{common → core}/constants/Table.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
|
@@ -8,19 +8,19 @@ import y from "@mui/material/Stack";
|
|
|
8
8
|
import $ from "@mui/material/Tab";
|
|
9
9
|
import rt from "@mui/material/Tabs";
|
|
10
10
|
import _t from "@mui/material/styles/useTheme";
|
|
11
|
-
import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-
|
|
11
|
+
import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-BmkEr9Nh.mjs";
|
|
12
12
|
import { Text as T, Icon as bt } from "@mxenabled/mxui";
|
|
13
|
-
import { f as k } from "../NumberFormatting
|
|
14
|
-
import { u as A, l as R, d as ct, b as P, a as H, h as dt, g as yt } from "../hooks-
|
|
15
|
-
import { u as gt } from "../useWidgetLoadTimer-
|
|
13
|
+
import { f as k } from "../NumberFormatting--XMeeBfr.mjs";
|
|
14
|
+
import { u as A, l as R, d as ct, b as P, a as H, h as dt, g as yt } from "../hooks-BaO_gOI6.mjs";
|
|
15
|
+
import { u as gt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
16
16
|
import { L as pt } from "../Loader-CxeBwuPG.mjs";
|
|
17
|
-
import { M as Ct } from "../MiniWidgetContainer-
|
|
17
|
+
import { M as Ct } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
18
18
|
import { startOfToday as J } from "date-fns/startOfToday";
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
|
-
import { e as Mt } from "../
|
|
22
|
-
import { T as Dt } from "../EmbeddedCard-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
21
|
+
import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-BNl3quCs.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-CbBSxdOi.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import Q from "@mui/material/List";
|
|
@@ -28,10 +28,10 @@ import X from "@mui/material/ListItem";
|
|
|
28
28
|
import Z from "@mui/material/ListItemButton";
|
|
29
29
|
import { u as Lt } from "../useScreenSize-CeFhWTt_.mjs";
|
|
30
30
|
import { D as tt } from "../Drawer-XPaLYjiO.mjs";
|
|
31
|
-
import {
|
|
31
|
+
import { C as w } from "../Category-DEKZGLYe.mjs";
|
|
32
32
|
import { parseISO as et } from "date-fns/parseISO";
|
|
33
33
|
import { A as nt } from "../Analytics-CzGzz_sE.mjs";
|
|
34
|
-
import { W as It } from "../WidgetContainer-
|
|
34
|
+
import { W as It } from "../WidgetContainer-DalWyz5A.mjs";
|
|
35
35
|
const G = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
|
|
36
36
|
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
|
|
37
37
|
/* @__PURE__ */ t(T, { variant: "caption", children: k(n, o === "mini" ? "0,0" : "0,0.00") })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useTransactionsUiStore: () => import('
|
|
1
|
+
export declare const useTransactionsUiStore: () => import('../../core/stores/TransactionStore').UiStore;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
export { BottomActions, TopActions } from './constants/Actions';
|
|
2
|
-
export { ON_CLICK_EVENTS as TRANSACTION_EVENTS } from './constants/OnClickEvents';
|
|
3
|
-
export { TransactionStore } from './stores/TransactionStore';
|
|
4
2
|
export { useTransactionsUiStore } from './context/hooks';
|
|
5
|
-
export { exportTransactionsToCSV } from './utils/exportTransactionsToCSV';
|
|
6
3
|
export { default as ExportCsvAction } from './components/transactionwidget/actions/ExportCsvAction';
|
|
7
4
|
export { default as TransactionRow } from './components/shared/transactionlist/TransactionRow';
|
|
8
5
|
export { default as TransactionList } from './components/shared/TransactionList';
|
|
9
6
|
export { default as TransactionTable } from './components/shared/TransactionTable';
|
|
10
7
|
export { default as TransactionDetails } from './components/shared/TransactionDetails';
|
|
11
|
-
export { default as AddAccountModal } from './components/transactionwidget/AddAccountModal';
|
|
12
8
|
export { default as TransactionWidget } from './TransactionWidget';
|
|
@@ -1,54 +1,51 @@
|
|
|
1
|
-
import { C as Re, D as Be, M as He, a as Pe, T as
|
|
2
|
-
import { B as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { T as Ea } from "../TransactionStore-amPYxHnA.mjs";
|
|
7
|
-
import { u as B, T as Ge } from "../EmbeddedCard-B9JoBaan.mjs";
|
|
8
|
-
import { a as ka } from "../EmbeddedCard-B9JoBaan.mjs";
|
|
9
|
-
import { E as Ma } from "../ExportCsvAction-BDFu6YIe.mjs";
|
|
1
|
+
import { C as Re, D as Be, M as He, a as Pe, T as $e } from "../TransactionDetails-CbBSxdOi.mjs";
|
|
2
|
+
import { B as wa, b as Sa } from "../TransactionDetails-CbBSxdOi.mjs";
|
|
3
|
+
import { u as B, T as Ve } from "../EmbeddedCard-BNl3quCs.mjs";
|
|
4
|
+
import { a as va } from "../EmbeddedCard-BNl3quCs.mjs";
|
|
5
|
+
import { E as Na } from "../ExportCsvAction-hDprC41l.mjs";
|
|
10
6
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
11
7
|
import u from "react";
|
|
12
8
|
import { observer as D } from "mobx-react-lite";
|
|
13
|
-
import
|
|
14
|
-
import { DataGridPro as
|
|
15
|
-
import { h as H, u as
|
|
9
|
+
import We from "@mui/material/Paper";
|
|
10
|
+
import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
|
|
11
|
+
import { h as H, u as v, g as ne, b as K, d as oe, l as Fe, a as Ue, C as Ke } from "../hooks-BaO_gOI6.mjs";
|
|
16
12
|
import { L as z } from "../Loader-CxeBwuPG.mjs";
|
|
17
|
-
import { Text as y, Icon as R, MerchantLogo as
|
|
13
|
+
import { Text as y, Icon as R, MerchantLogo as ze, TextField as Z, P as qe } from "@mxenabled/mxui";
|
|
18
14
|
import w from "@mui/material/Stack";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
15
|
+
import { f as re } from "../NumberFormatting--XMeeBfr.mjs";
|
|
16
|
+
import { T as k, e as Ye, D as je } from "../TransactionUtils-BphBJBbU.mjs";
|
|
21
17
|
import S from "@mui/material/Box";
|
|
22
18
|
import { useTheme as Xe } from "@mui/material/styles";
|
|
23
19
|
import { fromUnixTime as Je } from "date-fns/fromUnixTime";
|
|
24
|
-
import { f as Qe, D as Ze } from "../DateFormats-
|
|
20
|
+
import { f as Qe, D as Ze } from "../DateFormats-HudZ3Bjs.mjs";
|
|
25
21
|
import { A } from "../Analytics-CzGzz_sE.mjs";
|
|
26
|
-
import { D as ie } from "../Dialog-iLlBR8TG.mjs";
|
|
27
22
|
import { endOfMonth as et } from "date-fns/endOfMonth";
|
|
28
23
|
import { getUnixTime as tt } from "date-fns/getUnixTime";
|
|
29
24
|
import { startOfMonth as at } from "date-fns/startOfMonth";
|
|
30
25
|
import { startOfToday as F } from "date-fns/startOfToday";
|
|
31
26
|
import nt from "@mui/material/styles/useTheme";
|
|
32
|
-
import {
|
|
27
|
+
import { b as U } from "../Localization-DnoVyBNK.mjs";
|
|
28
|
+
import { C as ot } from "../ConnectDrawer-DgfsTpyW.mjs";
|
|
33
29
|
import rt from "@mui/material/Divider";
|
|
34
30
|
import it from "@mui/material/MenuItem";
|
|
35
31
|
import st from "@mui/material/RadioGroup";
|
|
36
32
|
import { ExpandMore as ct } from "@mxenabled/mx-icons";
|
|
37
|
-
import { C as lt } from "../CurrencyInput-
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
33
|
+
import { C as lt } from "../CurrencyInput-B59ugxPN.mjs";
|
|
34
|
+
import { S as ee } from "../SelectionBox-Bx2a5rh4.mjs";
|
|
35
|
+
import { D as ie } from "../Dialog-iLlBR8TG.mjs";
|
|
36
|
+
import { b as dt, u as ut } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
|
|
40
37
|
import { u as mt } from "../useAriaLive-MkYebyUR.mjs";
|
|
41
38
|
import { S as _t } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
42
39
|
import { u as pt } from "../useScreenSize-CeFhWTt_.mjs";
|
|
43
|
-
import { u as gt } from "../useWidgetLoadTimer-
|
|
44
|
-
import { W as ht } from "../WidgetContainer-
|
|
40
|
+
import { u as gt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
41
|
+
import { W as ht } from "../WidgetContainer-DalWyz5A.mjs";
|
|
45
42
|
import { S as ft } from "../SearchBox-CwDgvWVJ.mjs";
|
|
46
43
|
import { D as te } from "../Drawer-XPaLYjiO.mjs";
|
|
47
44
|
const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
|
|
48
45
|
`${t.row.account}`,
|
|
49
46
|
t.row.number && ` | ${t.row.number}`
|
|
50
47
|
] }), yt = (t) => {
|
|
51
|
-
const { associatedBeats: r } = H(), { showInsights: i } = B(), { amount: a, transaction_type: s } = t.row, c = r.find((p) => p.associated_transaction_guid === t.row.guid), l = s ===
|
|
48
|
+
const { associatedBeats: r } = H(), { showInsights: i } = B(), { amount: a, transaction_type: s } = t.row, c = r.find((p) => p.associated_transaction_guid === t.row.guid), l = s === k.CREDIT;
|
|
52
49
|
return /* @__PURE__ */ m(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
|
|
53
50
|
/* @__PURE__ */ m(y, { bold: l, color: l ? "success.main" : "text.primary", variant: "body2", children: [
|
|
54
51
|
l ? "+" : "",
|
|
@@ -57,7 +54,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
57
54
|
c && i && /* @__PURE__ */ e(y, { bold: !0, color: "primary.light", variant: "caption", children: c.short_title })
|
|
58
55
|
] });
|
|
59
56
|
}, bt = (t) => {
|
|
60
|
-
const { transactions: r } =
|
|
57
|
+
const { transactions: r } = v(), [i, a] = u.useState(!1);
|
|
61
58
|
return /* @__PURE__ */ m(
|
|
62
59
|
w,
|
|
63
60
|
{
|
|
@@ -76,7 +73,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
76
73
|
}
|
|
77
74
|
);
|
|
78
75
|
}, Tt = D(bt), xt = (t) => /* @__PURE__ */ e(y, { tabIndex: t.tabIndex, variant: "body2", children: Qe(Je(t.row.date), Ze.MONTH_DAY) }), At = (t) => {
|
|
79
|
-
const r = Xe(), i = r.palette.mode === "dark", { transactions: a } =
|
|
76
|
+
const r = Xe(), i = r.palette.mode === "dark", { transactions: a } = v(), { is_flagged: s, is_hidden: c, has_been_viewed: l, parent_guid: p } = t.row, f = !l && !!!p;
|
|
80
77
|
return /* @__PURE__ */ m(
|
|
81
78
|
S,
|
|
82
79
|
{
|
|
@@ -113,7 +110,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
113
110
|
);
|
|
114
111
|
}, wt = D(At), E = (t) => /* @__PURE__ */ e(y, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), St = (t) => /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
115
112
|
/* @__PURE__ */ e(
|
|
116
|
-
|
|
113
|
+
ze,
|
|
117
114
|
{
|
|
118
115
|
categoryGuid: t.row.top_level_category_guid || "",
|
|
119
116
|
merchantGuid: t.row.merchant_guid || ""
|
|
@@ -128,7 +125,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
128
125
|
onCategoryClick: r,
|
|
129
126
|
onRowClick: i
|
|
130
127
|
}) => {
|
|
131
|
-
const { onEvent: a } = ne(), { transactions: s } =
|
|
128
|
+
const { onEvent: a } = ne(), { transactions: s } = v(), { isCopyLoaded: c } = K(), { isLoading: l, sortedTransactions: p } = H(), { clearExpandedSplits: b, toggleSplit: f } = B();
|
|
132
129
|
u.useEffect(() => () => b(), []);
|
|
133
130
|
const C = u.useMemo(
|
|
134
131
|
() => p.map((o) => ({
|
|
@@ -137,7 +134,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
137
134
|
...o
|
|
138
135
|
})),
|
|
139
136
|
[p]
|
|
140
|
-
), h = ({ row: { id: o, guid: _, has_been_split: n }, field: N }) => n ? f(o) : N === "category" ? (a(A.TRANSACTIONS_TABLE_CLICK_CATEGORY, { guid: _ }), r?.(_)) : i?.(_),
|
|
137
|
+
), h = ({ row: { id: o, guid: _, has_been_split: n }, field: N }) => n ? f(o) : N === "category" ? (a(A.TRANSACTIONS_TABLE_CLICK_CATEGORY, { guid: _ }), r?.(_)) : i?.(_), I = (o, _) => {
|
|
141
138
|
_.key !== "Enter" && _.key !== " " || h(o);
|
|
142
139
|
};
|
|
143
140
|
if (!c)
|
|
@@ -196,8 +193,8 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
196
193
|
sortingOrder: ["asc", "desc"]
|
|
197
194
|
}
|
|
198
195
|
];
|
|
199
|
-
return /* @__PURE__ */ e(
|
|
200
|
-
|
|
196
|
+
return /* @__PURE__ */ e(We, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
|
|
197
|
+
Ge,
|
|
201
198
|
{
|
|
202
199
|
columns: g,
|
|
203
200
|
disableColumnFilter: !0,
|
|
@@ -207,7 +204,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
207
204
|
initialState: { sorting: { sortModel: [{ field: "date", sort: "desc" }] } },
|
|
208
205
|
loading: l,
|
|
209
206
|
onCellClick: h,
|
|
210
|
-
onCellKeyDown:
|
|
207
|
+
onCellKeyDown: I,
|
|
211
208
|
rows: C,
|
|
212
209
|
slotProps: { baseIconButton: { color: "secondary", sx: { ml: 8 } } },
|
|
213
210
|
sx: {
|
|
@@ -221,27 +218,8 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
221
218
|
}
|
|
222
219
|
}
|
|
223
220
|
) });
|
|
224
|
-
},
|
|
225
|
-
const { common:
|
|
226
|
-
return l ? /* @__PURE__ */ m(
|
|
227
|
-
ie,
|
|
228
|
-
{
|
|
229
|
-
copy: {
|
|
230
|
-
title: t.title
|
|
231
|
-
},
|
|
232
|
-
isOpen: r,
|
|
233
|
-
onClose: i,
|
|
234
|
-
onPrimaryAction: a,
|
|
235
|
-
primaryText: c.add_manual_account,
|
|
236
|
-
secondaryText: s.cancel_button,
|
|
237
|
-
children: [
|
|
238
|
-
/* @__PURE__ */ e(y, { component: "p", sx: { marginBottom: "20px" }, truncate: !1, children: c.add_account_modal_message }),
|
|
239
|
-
/* @__PURE__ */ e(y, { component: "p", truncate: !1, children: c.add_account_modal_cta })
|
|
240
|
-
]
|
|
241
|
-
}
|
|
242
|
-
) : /* @__PURE__ */ e(z, {});
|
|
243
|
-
}, Nt = D(vt), Et = () => {
|
|
244
|
-
const { visibleAccounts: t } = oe(), { common: r, transactions: i } = I(), { manualTransaction: a, setIsAmountValid: s, updateManualTransaction: c } = B(), [l, p] = u.useState(""), [b, f] = u.useState(""), C = u.useMemo(
|
|
221
|
+
}, vt = D(Dt), It = () => {
|
|
222
|
+
const { visibleAccounts: t } = oe(), { common: r, transactions: i } = v(), { manualTransaction: a, setIsAmountValid: s, updateManualTransaction: c } = B(), [l, p] = u.useState(""), [b, f] = u.useState(""), C = u.useMemo(
|
|
245
223
|
() => t.filter((n) => n.is_manual),
|
|
246
224
|
[t]
|
|
247
225
|
).map((n) => ({
|
|
@@ -252,7 +230,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
252
230
|
error_amount_must_be_equal_to: r.currency_input.error_amount_must_be_equal_to,
|
|
253
231
|
error_amount_must_be_less_than_or_equal_to: r.currency_input.error_amount_must_be_less_than_or_equal_to,
|
|
254
232
|
enter_amount: r.currency_input.enter_amount
|
|
255
|
-
},
|
|
233
|
+
}, I = (n) => {
|
|
256
234
|
p(n), c({ ...a, amount: Number(n) });
|
|
257
235
|
}, g = (n, N) => {
|
|
258
236
|
c({ ...a, transaction_type: Number(N) });
|
|
@@ -280,7 +258,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
280
258
|
noValidate: !0
|
|
281
259
|
},
|
|
282
260
|
label: i.amount_title,
|
|
283
|
-
setAmount:
|
|
261
|
+
setAmount: I,
|
|
284
262
|
setHasValidInput: s,
|
|
285
263
|
sx: { bgcolor: "background.paper" },
|
|
286
264
|
type: "number"
|
|
@@ -288,22 +266,22 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
288
266
|
),
|
|
289
267
|
/* @__PURE__ */ e(st, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", children: [
|
|
290
268
|
/* @__PURE__ */ e(
|
|
291
|
-
|
|
269
|
+
ee,
|
|
292
270
|
{
|
|
293
|
-
checked: a.transaction_type ===
|
|
271
|
+
checked: a.transaction_type === k.CREDIT,
|
|
294
272
|
label: i.manual_transaction_credit_button_label,
|
|
295
273
|
sx: { ml: { xs: 0, sm: 8 } },
|
|
296
274
|
tooltip: i.manual_transaction_credit_button_tooltip,
|
|
297
|
-
value:
|
|
275
|
+
value: k.CREDIT
|
|
298
276
|
}
|
|
299
277
|
),
|
|
300
278
|
/* @__PURE__ */ e(
|
|
301
|
-
|
|
279
|
+
ee,
|
|
302
280
|
{
|
|
303
|
-
checked: a.transaction_type ===
|
|
281
|
+
checked: a.transaction_type === k.DEBIT,
|
|
304
282
|
label: i.manual_transaction_debit_button_label,
|
|
305
283
|
tooltip: i.manual_transaction_debit_button_tooltip,
|
|
306
|
-
value:
|
|
284
|
+
value: k.DEBIT
|
|
307
285
|
}
|
|
308
286
|
)
|
|
309
287
|
] }) })
|
|
@@ -311,7 +289,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
311
289
|
}
|
|
312
290
|
),
|
|
313
291
|
/* @__PURE__ */ e(
|
|
314
|
-
|
|
292
|
+
Z,
|
|
315
293
|
{
|
|
316
294
|
label: i.payee_title,
|
|
317
295
|
name: "payee",
|
|
@@ -321,7 +299,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
321
299
|
}
|
|
322
300
|
),
|
|
323
301
|
/* @__PURE__ */ e(
|
|
324
|
-
|
|
302
|
+
Z,
|
|
325
303
|
{
|
|
326
304
|
InputLabelProps: { shrink: !0 },
|
|
327
305
|
SelectProps: { defaultValue: -1, IconComponent: ct },
|
|
@@ -342,8 +320,27 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
342
320
|
/* @__PURE__ */ e(Pe, { transaction: a })
|
|
343
321
|
] })
|
|
344
322
|
] });
|
|
345
|
-
},
|
|
346
|
-
const {
|
|
323
|
+
}, Nt = D(It), Et = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
|
|
324
|
+
const { common: s, transactions: c } = v(), { isCopyLoaded: l } = K();
|
|
325
|
+
return l ? /* @__PURE__ */ m(
|
|
326
|
+
ie,
|
|
327
|
+
{
|
|
328
|
+
copy: {
|
|
329
|
+
title: t.title
|
|
330
|
+
},
|
|
331
|
+
isOpen: r,
|
|
332
|
+
onClose: i,
|
|
333
|
+
onPrimaryAction: a,
|
|
334
|
+
primaryText: c.add_manual_account,
|
|
335
|
+
secondaryText: s.cancel_button,
|
|
336
|
+
children: [
|
|
337
|
+
/* @__PURE__ */ e(y, { component: "p", sx: { marginBottom: "20px" }, truncate: !1, children: c.add_account_modal_message }),
|
|
338
|
+
/* @__PURE__ */ e(y, { component: "p", truncate: !1, children: c.add_account_modal_cta })
|
|
339
|
+
]
|
|
340
|
+
}
|
|
341
|
+
) : /* @__PURE__ */ e(z, {});
|
|
342
|
+
}, kt = D(Et), Ot = ({ onClose: t, transaction: r }) => {
|
|
343
|
+
const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = v(), { categories: c } = Fe(), [l, p] = u.useState(""), b = u.useMemo(
|
|
347
344
|
() => c.find((C) => C.guid === l),
|
|
348
345
|
[l]
|
|
349
346
|
), f = async (C) => {
|
|
@@ -375,7 +372,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
375
372
|
onSecondaryAction: () => f(!1),
|
|
376
373
|
primaryText: s.actions_apply_to_all,
|
|
377
374
|
secondaryText: s.actions_this_time_only,
|
|
378
|
-
children: /* @__PURE__ */ e(
|
|
375
|
+
children: /* @__PURE__ */ e(qe, { variant: "subtitle1", children: U(
|
|
379
376
|
s.actions_all_past_and_future,
|
|
380
377
|
r.description,
|
|
381
378
|
b?.name
|
|
@@ -383,14 +380,14 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
383
380
|
}
|
|
384
381
|
)
|
|
385
382
|
] });
|
|
386
|
-
}, Lt = D(
|
|
383
|
+
}, Lt = D(Ot), ae = 120, Mt = ({
|
|
387
384
|
onBackClick: t,
|
|
388
385
|
onMenuClick: r,
|
|
389
386
|
height: i = "100dvh",
|
|
390
387
|
showInsights: a = !1,
|
|
391
388
|
sx: s = {}
|
|
392
389
|
}) => {
|
|
393
|
-
const { manualAccounts: c, refreshAccounts: l } = oe(), { is_mobile_webview: p, clientConfig: b, config: f } =
|
|
390
|
+
const { manualAccounts: c, refreshAccounts: l } = oe(), { is_mobile_webview: p, clientConfig: b, config: f } = Ue(), { setSearchValue: C } = ut(), { onEvent: h } = ne(), { common: I, transactions: g } = v(), { displayedDateRange: o, isInitialized: _, selectedAccountGuids: n, setDisplayedDate: N } = K(), { isDesktop: se, isTablet: ce } = pt(), O = nt(), {
|
|
394
391
|
addTransaction: le,
|
|
395
392
|
filter: de,
|
|
396
393
|
isTransactionDataLoaded: P,
|
|
@@ -409,7 +406,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
409
406
|
setSearchValue: Ce,
|
|
410
407
|
setShowInsights: ye,
|
|
411
408
|
updateManualTransaction: be
|
|
412
|
-
} = B(), { userProfile: Te } =
|
|
409
|
+
} = B(), { userProfile: Te } = Ke(), [$, T] = u.useState(""), [X, M] = u.useState(""), [xe, V] = u.useState(!1), [Ae, J] = u.useState(!1), { announce: we, ariaLive: Se } = mt(), W = b?.transactions?.selected_account_guid;
|
|
413
410
|
gt({
|
|
414
411
|
widgetName: "TransactionWidget",
|
|
415
412
|
isLoaded: P
|
|
@@ -432,27 +429,27 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
432
429
|
}, [_, Y]);
|
|
433
430
|
const x = X ? pe.find((d) => d.guid === X) : void 0, Q = fe && !!L.payee && !!L.account_guid && !!L.category_guid, De = (d) => {
|
|
434
431
|
he(), N(d[0], d[1]);
|
|
435
|
-
},
|
|
432
|
+
}, ve = (d) => {
|
|
436
433
|
Ce(d), q({
|
|
437
434
|
...de,
|
|
438
435
|
searchTerm: d
|
|
439
436
|
}), h(A.TRANSACTIONS_CLICK_SEARCH, { search_term: d });
|
|
440
|
-
},
|
|
441
|
-
|
|
437
|
+
}, Ie = () => {
|
|
438
|
+
Ye(me, _e), h(A.TRANSACTIONS_CLICK_EXPORT);
|
|
442
439
|
}, Ne = () => {
|
|
443
440
|
c.length > 0 ? (be({
|
|
444
|
-
...
|
|
441
|
+
...je,
|
|
445
442
|
date: tt(F()),
|
|
446
443
|
user_guid: Te?.user_guid || ""
|
|
447
444
|
}), T(
|
|
448
445
|
"addTransaction"
|
|
449
446
|
/* AddTransaction */
|
|
450
|
-
), h(A.TRANSACTIONS_CLICK_ADD)) : (
|
|
447
|
+
), h(A.TRANSACTIONS_CLICK_ADD)) : (V(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
|
|
451
448
|
}, Ee = async () => {
|
|
452
449
|
Q && await le(L), T("");
|
|
453
|
-
},
|
|
454
|
-
|
|
455
|
-
},
|
|
450
|
+
}, ke = () => {
|
|
451
|
+
V(!1), J(!0);
|
|
452
|
+
}, Oe = async () => {
|
|
456
453
|
J(!1), await l();
|
|
457
454
|
}, Le = async () => {
|
|
458
455
|
x && !x.has_been_viewed && await ge({ ...x, has_been_viewed: !0 }), T("");
|
|
@@ -463,7 +460,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
463
460
|
return !p && (se || ce) && G.push({
|
|
464
461
|
iconName: "open_in_new",
|
|
465
462
|
label: g.export_csv_btn,
|
|
466
|
-
onClick:
|
|
463
|
+
onClick: Ie
|
|
467
464
|
}), f.show_connections_widget_in_master && G.push({
|
|
468
465
|
iconName: "add",
|
|
469
466
|
label: g.add_transaction_btn,
|
|
@@ -488,7 +485,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
488
485
|
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
489
486
|
ft,
|
|
490
487
|
{
|
|
491
|
-
onChange:
|
|
488
|
+
onChange: ve,
|
|
492
489
|
placeholder: g.action_bar_search_placeholder,
|
|
493
490
|
searchValue: j
|
|
494
491
|
}
|
|
@@ -497,11 +494,11 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
497
494
|
S,
|
|
498
495
|
{
|
|
499
496
|
sx: {
|
|
500
|
-
[
|
|
501
|
-
[
|
|
497
|
+
[O.breakpoints.down("md")]: { display: "none" },
|
|
498
|
+
[O.breakpoints.up("md")]: { display: "block" }
|
|
502
499
|
},
|
|
503
500
|
children: /* @__PURE__ */ e(
|
|
504
|
-
|
|
501
|
+
vt,
|
|
505
502
|
{
|
|
506
503
|
height: `calc(${i} - ${ae}px)`,
|
|
507
504
|
onCategoryClick: (d) => {
|
|
@@ -524,11 +521,11 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
524
521
|
S,
|
|
525
522
|
{
|
|
526
523
|
sx: {
|
|
527
|
-
[
|
|
528
|
-
[
|
|
524
|
+
[O.breakpoints.down("md")]: { display: "block" },
|
|
525
|
+
[O.breakpoints.up("md")]: { display: "none" }
|
|
529
526
|
},
|
|
530
527
|
children: /* @__PURE__ */ e(
|
|
531
|
-
|
|
528
|
+
Ve,
|
|
532
529
|
{
|
|
533
530
|
height: `calc(${i} - ${ae}px)`,
|
|
534
531
|
onClick: (d) => {
|
|
@@ -546,14 +543,14 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
546
543
|
/* @__PURE__ */ e(
|
|
547
544
|
te,
|
|
548
545
|
{
|
|
549
|
-
ariaLabelClose:
|
|
550
|
-
isOpen:
|
|
546
|
+
ariaLabelClose: I.close_aria,
|
|
547
|
+
isOpen: $ === "transaction" && !!x,
|
|
551
548
|
onClose: Le,
|
|
552
549
|
title: g.details_title,
|
|
553
|
-
children: x && /* @__PURE__ */ e(
|
|
550
|
+
children: x && /* @__PURE__ */ e($e, { transaction: x })
|
|
554
551
|
}
|
|
555
552
|
),
|
|
556
|
-
x &&
|
|
553
|
+
x && $ === "category" && /* @__PURE__ */ e(
|
|
557
554
|
Lt,
|
|
558
555
|
{
|
|
559
556
|
onClose: () => {
|
|
@@ -565,30 +562,30 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
565
562
|
/* @__PURE__ */ e(
|
|
566
563
|
te,
|
|
567
564
|
{
|
|
568
|
-
ariaLabelClose:
|
|
569
|
-
isOpen:
|
|
565
|
+
ariaLabelClose: I.close_aria,
|
|
566
|
+
isOpen: $ === "addTransaction",
|
|
570
567
|
isPrimaryDisabled: !Q,
|
|
571
568
|
onClose: () => T(""),
|
|
572
569
|
onPrimaryAction: Ee,
|
|
573
570
|
title: g.add_transaction_title,
|
|
574
|
-
children: /* @__PURE__ */ e(
|
|
571
|
+
children: /* @__PURE__ */ e(Nt, {})
|
|
575
572
|
}
|
|
576
573
|
),
|
|
577
574
|
/* @__PURE__ */ e(
|
|
578
|
-
|
|
575
|
+
kt,
|
|
579
576
|
{
|
|
580
577
|
copy: { title: g.add_manual_account },
|
|
581
578
|
isOpen: xe,
|
|
582
579
|
onClose: () => {
|
|
583
|
-
|
|
580
|
+
V(!1);
|
|
584
581
|
},
|
|
585
|
-
onPrimaryAction:
|
|
582
|
+
onPrimaryAction: ke
|
|
586
583
|
}
|
|
587
584
|
),
|
|
588
585
|
/* @__PURE__ */ e(
|
|
589
586
|
ot,
|
|
590
587
|
{
|
|
591
|
-
onClose:
|
|
588
|
+
onClose: Oe,
|
|
592
589
|
showConnectWidget: Ae,
|
|
593
590
|
title: g.add_manual_account
|
|
594
591
|
}
|
|
@@ -596,19 +593,15 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
596
593
|
]
|
|
597
594
|
}
|
|
598
595
|
);
|
|
599
|
-
},
|
|
596
|
+
}, Ta = D(Mt);
|
|
600
597
|
export {
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
Ea as TransactionStore,
|
|
610
|
-
It as TransactionTable,
|
|
611
|
-
xa as TransactionWidget,
|
|
612
|
-
$e as exportTransactionsToCSV,
|
|
598
|
+
wa as BottomActions,
|
|
599
|
+
Na as ExportCsvAction,
|
|
600
|
+
Sa as TopActions,
|
|
601
|
+
$e as TransactionDetails,
|
|
602
|
+
Ve as TransactionList,
|
|
603
|
+
va as TransactionRow,
|
|
604
|
+
vt as TransactionTable,
|
|
605
|
+
Ta as TransactionWidget,
|
|
613
606
|
B as useTransactionsUiStore
|
|
614
607
|
};
|
package/dist/trends/index.d.ts
CHANGED
|
@@ -2,4 +2,3 @@ export { default as TrendsFullWidget } from './TrendsFullWidget';
|
|
|
2
2
|
export { default as TrendsMiniWidget } from './TrendsMiniWidget';
|
|
3
3
|
export { TrendsMicroWidget } from './TrendsMicroWidget';
|
|
4
4
|
export { default as TrendsWidget } from './TrendsWidget';
|
|
5
|
-
export { TrendsStore } from './stores/TrendsStore';
|