@mx-cartographer/experiences 9.1.4 → 9.1.6
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 +8 -0
- package/dist/{AccountDetailsDrawer-Cq4kiiKD.mjs → AccountDetailsDrawer-utXjRHSW.mjs} +4 -4
- package/dist/{AccountDetailsDrawer-Cq4kiiKD.mjs.map → AccountDetailsDrawer-utXjRHSW.mjs.map} +1 -1
- package/dist/{AccountDetailsHeader-BliEZhz7.mjs → AccountDetailsHeader-C84CSN2K.mjs} +2 -2
- package/dist/{AccountDetailsHeader-BliEZhz7.mjs.map → AccountDetailsHeader-C84CSN2K.mjs.map} +1 -1
- package/dist/{Analytics-CkYXKvco.mjs → Analytics-B8AaC22u.mjs} +2 -2
- package/dist/{Analytics-CkYXKvco.mjs.map → Analytics-B8AaC22u.mjs.map} +1 -1
- package/dist/DateUtil-Bl7d7C1W.mjs +76 -0
- package/dist/{DateUtil-CzBmbjmA.mjs.map → DateUtil-Bl7d7C1W.mjs.map} +1 -1
- package/dist/{EmbeddedCard-DCOQnTz-.mjs → EmbeddedCard-CQEnrozC.mjs} +38 -37
- package/dist/EmbeddedCard-CQEnrozC.mjs.map +1 -0
- package/dist/ErrorBoundary-C7BlHx04.mjs +27 -0
- package/dist/ErrorBoundary-C7BlHx04.mjs.map +1 -0
- package/dist/{ExportCsvAction-C-IisDcv.mjs → ExportCsvAction-B_8I-Le6.mjs} +2 -2
- package/dist/{ExportCsvAction-C-IisDcv.mjs.map → ExportCsvAction-B_8I-Le6.mjs.map} +1 -1
- package/dist/GlobalCopyApi-CLhyon-B.mjs +145 -0
- package/dist/GlobalCopyApi-CLhyon-B.mjs.map +1 -0
- package/dist/{Help-zVZdcmlk.mjs → Help-D4sOpItq.mjs} +2 -2
- package/dist/{Help-zVZdcmlk.mjs.map → Help-D4sOpItq.mjs.map} +1 -1
- package/dist/{ManageIncome-B_8i71mE.mjs → ManageIncome-Czs7daKV.mjs} +7 -7
- package/dist/{ManageIncome-B_8i71mE.mjs.map → ManageIncome-Czs7daKV.mjs.map} +1 -1
- package/dist/{RecurringSettings-hs0YUp83.mjs → RecurringSettings-CcS5b1xA.mjs} +3 -3
- package/dist/{RecurringSettings-hs0YUp83.mjs.map → RecurringSettings-CcS5b1xA.mjs.map} +1 -1
- package/dist/{RecurringTransactionsUtil-CHWmqvW5.mjs → RecurringTransactionsUtil-CfWviBh1.mjs} +2 -2
- package/dist/{RecurringTransactionsUtil-CHWmqvW5.mjs.map → RecurringTransactionsUtil-CfWviBh1.mjs.map} +1 -1
- package/dist/{TransactionDetails-DT-MQqOB.mjs → TransactionDetails-Kmj8GUlD.mjs} +135 -133
- package/dist/TransactionDetails-Kmj8GUlD.mjs.map +1 -0
- package/dist/{UserStore-_QQpkbw9.mjs → UserStore-Bksi48jC.mjs} +66 -62
- package/dist/UserStore-Bksi48jC.mjs.map +1 -0
- package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs → ViewMoreMicroCard-B4oeGrbE.mjs} +3 -3
- package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs.map → ViewMoreMicroCard-B4oeGrbE.mjs.map} +1 -1
- package/dist/accounts/index.es.js +4 -4
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +6 -6
- package/dist/common/components/ErrorBoundary.d.ts +2 -0
- package/dist/common/index.es.js +3 -3
- package/dist/core/index.es.js +4 -4
- package/dist/core/stores/GlobalStore.d.ts +4 -2
- package/dist/core/types/Handlers.d.ts +1 -0
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/utils/DateUtil.d.ts +1 -0
- package/dist/core/utils/Fetch.d.ts +4 -0
- package/dist/debts/index.es.js +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/help/index.es.js +1 -1
- package/dist/insights/index.es.js +2 -2
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +1 -1
- package/dist/notifications/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +5 -5
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +25 -25
- package/dist/transactions/index.es.js.map +1 -1
- package/dist/trends/index.es.js +4 -4
- package/package.json +1 -1
- package/dist/DateUtil-CzBmbjmA.mjs +0 -75
- package/dist/EmbeddedCard-DCOQnTz-.mjs.map +0 -1
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +0 -24
- package/dist/ErrorBoundary-CsdOcnJ9.mjs.map +0 -1
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +0 -129
- package/dist/GlobalCopyApi-wcnDUzMV.mjs.map +0 -1
- package/dist/TransactionDetails-DT-MQqOB.mjs.map +0 -1
- package/dist/UserStore-_QQpkbw9.mjs.map +0 -1
|
@@ -15,13 +15,13 @@ import { I as ue } from "../InformationTooltip-4su8bn1e.mjs";
|
|
|
15
15
|
import { u as Ne } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
16
16
|
import { M as Qe } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
|
|
17
17
|
import { E as Ze } from "../EmptyState-CJUDc3kD.mjs";
|
|
18
|
-
import { R as et } from "../RecurringSettings-
|
|
18
|
+
import { R as et } from "../RecurringSettings-CcS5b1xA.mjs";
|
|
19
19
|
import tt from "@mui/material/Tabs";
|
|
20
20
|
import _e from "@mui/material/Tab";
|
|
21
21
|
import { getUnixTime as ce } from "date-fns/getUnixTime";
|
|
22
22
|
import K from "@mui/material/List";
|
|
23
23
|
import X from "@mui/material/ListItem";
|
|
24
|
-
import { A as nt } from "../AccountDetailsDrawer-
|
|
24
|
+
import { A as nt } from "../AccountDetailsDrawer-utXjRHSW.mjs";
|
|
25
25
|
import { f as $, D as P } from "../DateFormats-HudZ3Bjs.mjs";
|
|
26
26
|
import ot from "@mui/material/ListSubheader";
|
|
27
27
|
import { f as q } from "../NumberFormatting--XMeeBfr.mjs";
|
|
@@ -32,7 +32,7 @@ import { g as He } from "../AccountUtils-Cbh8r9cP.mjs";
|
|
|
32
32
|
import { DataGridPro as it } from "@mui/x-data-grid-pro";
|
|
33
33
|
import { T as Ce } from "../TabContentContainer-B0eYJP5p.mjs";
|
|
34
34
|
import F from "@mui/material/Button";
|
|
35
|
-
import { M as at, S as rt, i as ct, b as we, c as st } from "../ManageIncome-
|
|
35
|
+
import { M as at, S as rt, i as ct, b as we, c as st } from "../ManageIncome-Czs7daKV.mjs";
|
|
36
36
|
import { D as We } from "../Drawer-DsnW2o0v.mjs";
|
|
37
37
|
import { subDays as Me } from "date-fns/subDays";
|
|
38
38
|
import { startOfToday as se } from "date-fns/startOfToday";
|
|
@@ -43,9 +43,9 @@ import { A as Se } from "../Analytics-D-jdcL72.mjs";
|
|
|
43
43
|
import { formatISO as mt } from "date-fns/formatISO";
|
|
44
44
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
45
45
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
46
|
-
import { S as ut, a as ht } from "../EmbeddedCard-
|
|
47
|
-
import { F as ft, R as Ie, d as ve } from "../RecurringTransactionsUtil-
|
|
48
|
-
import { k as gt } from "../DateUtil-
|
|
46
|
+
import { S as ut, a as ht } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
47
|
+
import { F as ft, R as Ie, d as ve } from "../RecurringTransactionsUtil-CfWviBh1.mjs";
|
|
48
|
+
import { k as gt } from "../DateUtil-Bl7d7C1W.mjs";
|
|
49
49
|
const z = () => {
|
|
50
50
|
if (!w.useContext(Ve))
|
|
51
51
|
throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
|
package/dist/common/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Y } from "../UserStore-
|
|
1
|
+
import { l as Y } from "../UserStore-Bksi48jC.mjs";
|
|
2
2
|
import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
|
|
3
3
|
import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
|
|
4
4
|
import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
|
|
@@ -8,7 +8,7 @@ import { D as lr, W as mr, u as dr } from "../WidgetContainer-CjdCY4sj.mjs";
|
|
|
8
8
|
import { D as fr } from "../Dialog-Bvd2n8hz.mjs";
|
|
9
9
|
import { D as yr } from "../Donut-SzzfZDHF.mjs";
|
|
10
10
|
import { D as xr } from "../Drawer-DsnW2o0v.mjs";
|
|
11
|
-
import { E as hr } from "../ErrorBoundary-
|
|
11
|
+
import { E as hr } from "../ErrorBoundary-C7BlHx04.mjs";
|
|
12
12
|
import { I as Cr } from "../IconBacking-DgT8DCeh.mjs";
|
|
13
13
|
import { I as vr } from "../InformationTooltip-4su8bn1e.mjs";
|
|
14
14
|
import { L as br } from "../Loader-CxeBwuPG.mjs";
|
|
@@ -36,7 +36,7 @@ import { L as Be } from "../ListItemWrapper-DRse79Iu.mjs";
|
|
|
36
36
|
import { S as qe } from "../SearchBox-Cpgu_gdO.mjs";
|
|
37
37
|
import { S as Fe, T as $e } from "../Sizes-DISGrlUg.mjs";
|
|
38
38
|
import { T as Qe, a as je } from "../ToggleListItem-Dl1lXNwj.mjs";
|
|
39
|
-
import { a as Ke, u as Ze, b as Je } from "../Analytics-
|
|
39
|
+
import { a as Ke, u as Ze, b as Je } from "../Analytics-B8AaC22u.mjs";
|
|
40
40
|
import { alpha as k, darken as x, lighten as E } from "@mui/material";
|
|
41
41
|
import { u as ze } from "../useAccountDisplayName-BsiXA0qf.mjs";
|
|
42
42
|
import { u as eo } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
|
package/dist/core/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-
|
|
1
|
+
import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-Bksi48jC.mjs";
|
|
2
2
|
import { b as ot, a as nt, d as rt, c as it, A as ct, C as pt, e as At, E as St, M as ut, N as lt, P as Tt, f as yt, g as dt, S as gt } from "../Account-DR7Plrqy.mjs";
|
|
3
3
|
import { A as Ct, B as Nt, I as ht, N as ft } from "../Notification-DTNYSd8P.mjs";
|
|
4
|
-
import { F as n } from "../GlobalCopyApi-
|
|
5
|
-
import { A as Dt, B as bt, G as It } from "../GlobalCopyApi-
|
|
6
|
-
import { F as Rt, a as Bt, b as Lt, R as Gt } from "../RecurringTransactionsUtil-
|
|
4
|
+
import { F as n } from "../GlobalCopyApi-CLhyon-B.mjs";
|
|
5
|
+
import { A as Dt, B as bt, G as It } from "../GlobalCopyApi-CLhyon-B.mjs";
|
|
6
|
+
import { F as Rt, a as Bt, b as Lt, R as Gt } from "../RecurringTransactionsUtil-CfWviBh1.mjs";
|
|
7
7
|
import { G as Ht, M as Pt, T as Ut } from "../GoalsUtil-C9EnLWvC.mjs";
|
|
8
8
|
import { L as Ot, V as Ft, b as kt, g as vt } from "../Localization-DnoVyBNK.mjs";
|
|
9
9
|
import { A as e } from "../ApiEndpoints-DXwIYNUV.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AccountStore, AnalyticsStore, AppDataStore, BeatStore, BudgetsStore, CashflowStore, CategoryStore, ConnectStore, DebtsStore, FinstrongStore, GlobalCopyStore, GlobalUiStore, GoalStore, HelpStore, HoldingStore, MerchantStore, NetWorthStore, NotificationStore, RecurringTransactionsStore, SettingsStore, TransactionStore, TrendsStore, UserStore } from '../stores';
|
|
2
|
-
import { Account, Category, Institution, Member, AppConfig, AppData, Beat, GlobalErrorHandler, MerchantBudget, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
2
|
+
import { Account, Category, Institution, Member, AppConfig, AppData, Beat, GlobalCaptureException, GlobalErrorHandler, MerchantBudget, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
3
3
|
interface LoadDataProps {
|
|
4
4
|
accounts?: Account[];
|
|
5
5
|
appData?: AppData;
|
|
@@ -22,6 +22,7 @@ export declare class GlobalStore {
|
|
|
22
22
|
appConfig: AppConfig;
|
|
23
23
|
endpoint: string;
|
|
24
24
|
sessionToken: string;
|
|
25
|
+
onCaptureException?: GlobalCaptureException;
|
|
25
26
|
onError?: GlobalErrorHandler;
|
|
26
27
|
onStoreUpdate?: OnStoreUpdate;
|
|
27
28
|
accountStore: AccountStore;
|
|
@@ -47,8 +48,9 @@ export declare class GlobalStore {
|
|
|
47
48
|
trendsStore: TrendsStore;
|
|
48
49
|
userStore: UserStore;
|
|
49
50
|
globalUiStore: GlobalUiStore;
|
|
50
|
-
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate);
|
|
51
|
+
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate, onCaptureException?: GlobalCaptureException);
|
|
51
52
|
get isInitialized(): boolean;
|
|
53
|
+
captureException: (error: unknown, context?: Record<string, string>) => void;
|
|
52
54
|
emitUpdate: (change: ObservedUpdate) => void;
|
|
53
55
|
loadConfigData: () => Promise<void>;
|
|
54
56
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, merchantBudgets, }?: LoadDataProps) => Promise<void>;
|
|
@@ -15,7 +15,7 @@ export type { DynamicCopyElement, GlobalCopy } from './GlobalCopy';
|
|
|
15
15
|
export { GoalType, MetaType, TrackType } from './Goal';
|
|
16
16
|
export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
|
|
17
17
|
export type { Debt } from './Debt';
|
|
18
|
-
export type { GlobalErrorHandler, GlobalEventHandler } from './Handlers';
|
|
18
|
+
export type { GlobalCaptureException, GlobalErrorHandler, GlobalEventHandler } from './Handlers';
|
|
19
19
|
export type { HealthScore, HealthScoreReport, MonthlyHealthScore, MonthlySummaries, SpendingFeeTransaction, AllTransactions, } from './Finstrong';
|
|
20
20
|
export type { HelpAlertProps, HelpCategory, HelpContentProps, HelpTopic, HelpType, ImageContentProps, InstitutionData, NoImageContentProps, SectionProps, SelectedTopic, Ticket, } from './Help';
|
|
21
21
|
export type { Institution } from './Institution';
|
|
@@ -9,4 +9,5 @@ export declare const getNextBiQuarterlyDate: (date: Date) => Date;
|
|
|
9
9
|
export declare const getNextYearlyDate: (date: Date) => Date;
|
|
10
10
|
export declare const fromUnixUTC: (utcTime: number) => Date;
|
|
11
11
|
export declare const fromUnixToDayOfWeekAndDate: (date: number) => string;
|
|
12
|
+
export declare const fromUnixUTCToDayOfWeekAndDate: (date: number) => string;
|
|
12
13
|
export declare const fromTimestampToMonthYear: (timestamp?: number) => string;
|
package/dist/debts/index.es.js
CHANGED
|
@@ -12,7 +12,7 @@ import { G as Ge, q as ee, u as w, k as V, f as k, c as te, i as He, a as ze } f
|
|
|
12
12
|
import { u as ae } from "../useScreenSize-mWpmnh5w.mjs";
|
|
13
13
|
import { b as T } from "../Localization-DnoVyBNK.mjs";
|
|
14
14
|
import { D as ie } from "../Drawer-DsnW2o0v.mjs";
|
|
15
|
-
import { A as je, u as Ve } from "../AccountDetailsHeader-
|
|
15
|
+
import { A as je, u as Ve } from "../AccountDetailsHeader-C84CSN2K.mjs";
|
|
16
16
|
import Ye from "@mui/material/Card";
|
|
17
17
|
import Ke from "@mui/material/CardContent";
|
|
18
18
|
import Ue from "@mui/material/CardHeader";
|
|
@@ -43,13 +43,13 @@ import { E as Be } from "../EmptyState-CJUDc3kD.mjs";
|
|
|
43
43
|
import $n from "@mui/material/Chip";
|
|
44
44
|
import { D as ie } from "../Drawer-DsnW2o0v.mjs";
|
|
45
45
|
import { g as kt } from "../useAccountDisplayName-BsiXA0qf.mjs";
|
|
46
|
-
import { a as Mt } from "../AccountDetailsHeader-
|
|
46
|
+
import { a as Mt } from "../AccountDetailsHeader-C84CSN2K.mjs";
|
|
47
47
|
import Nn from "@mui/material/ListSubheader";
|
|
48
48
|
import { S as dt } from "../Select-CSpkK5cR.mjs";
|
|
49
49
|
import { c as je } from "../Account-DR7Plrqy.mjs";
|
|
50
50
|
import { S as zn } from "../StatusBar-CPfSXe80.mjs";
|
|
51
|
-
import { k as Dt } from "../DateUtil-
|
|
52
|
-
import { T as Hn, s as Kn, h as Vn, S as jn, a as Yn } from "../EmbeddedCard-
|
|
51
|
+
import { k as Dt } from "../DateUtil-Bl7d7C1W.mjs";
|
|
52
|
+
import { T as Hn, s as Kn, h as Vn, S as jn, a as Yn } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
53
53
|
import { T as ge } from "../TabContentContainer-B0eYJP5p.mjs";
|
|
54
54
|
import Xn from "@mui/material/useMediaQuery";
|
|
55
55
|
import { BarPlot as Un } from "@mui/x-charts/BarChart";
|
|
@@ -62,11 +62,11 @@ import { g as Jn, S as eo, b as to } from "../SpendingLegend-CxvNOg3c.mjs";
|
|
|
62
62
|
import { formatISO as no } from "date-fns/formatISO";
|
|
63
63
|
import { fromUnixTime as oo } from "date-fns/fromUnixTime";
|
|
64
64
|
import { subDays as ro } from "date-fns/subDays";
|
|
65
|
-
import { c as ao, b as pt, S as io, i as so } from "../ManageIncome-
|
|
66
|
-
import { F as Tt, d as co, R as Ot } from "../RecurringTransactionsUtil-
|
|
65
|
+
import { c as ao, b as pt, S as io, i as so } from "../ManageIncome-Czs7daKV.mjs";
|
|
66
|
+
import { F as Tt, d as co, R as Ot } from "../RecurringTransactionsUtil-CfWviBh1.mjs";
|
|
67
67
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as uo } from "@mui/x-date-pickers";
|
|
68
68
|
import { AdapterDateFns as Rt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
69
|
-
import { R as _o } from "../RecurringSettings-
|
|
69
|
+
import { R as _o } from "../RecurringSettings-CcS5b1xA.mjs";
|
|
70
70
|
import { LocalizationProvider as mo } from "@mui/x-date-pickers/LocalizationProvider";
|
|
71
71
|
import ho from "@mui/lab/Timeline";
|
|
72
72
|
import go, { timelineItemClasses as yo } from "@mui/lab/TimelineItem";
|
package/dist/help/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { observer as m } from "mobx-react-lite";
|
|
3
|
-
import { H as s } from "../Help-
|
|
3
|
+
import { H as s } from "../Help-D4sOpItq.mjs";
|
|
4
4
|
import { a } from "../hooks-97sNJ_lf.mjs";
|
|
5
5
|
import { u as p } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
6
6
|
import { L as d } from "../Loader-CxeBwuPG.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { BottomSheetTransition as r2, Text as E, MerchantLogo as Q, InstitutionLogo as F, P as J, H3 as h1, H2 as c1, Icon as k1, CategoryIcon as g1, createMXTheme as i2 } from "@mxenabled/mxui";
|
|
3
3
|
import C from "@mui/material/Stack";
|
|
4
|
-
import { e as K, p as n2, B as z1, b as l2 } from "../EmbeddedCard-
|
|
5
|
-
import { f as d5, C as C5, E as m5 } from "../EmbeddedCard-
|
|
4
|
+
import { e as K, p as n2, B as z1, b as l2 } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
5
|
+
import { f as d5, C as C5, E as m5 } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
6
6
|
import { CardHeader as a2, Stack as v, Button as A1, Card as j1, Box as L1, ToggleButtonGroup as o2, TextField as s2, Grow as c2, Alert as h2, useTheme as d2, useMediaQuery as H1, AppBar as C2, Toolbar as m2, IconButton as u1, List as p2, ListItem as E2, Divider as u2 } from "@mui/material";
|
|
7
7
|
import { useTheme as f2, styled as x2, Stack as f1 } from "@mui/system";
|
|
8
8
|
import { Link as y2, Icon as S, CheckCircle as W1, ChevronRight as M2 } from "@mxenabled/mx-icons";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as u, C as s, I as c, a as v, b as C, M as R, c as H, d as M, N as F, V, Z as x } from "../ViewMoreMicroCard-
|
|
1
|
+
import { A as u, C as s, I as c, a as v, b as C, M as R, c as H, d as M, N as F, V, Z as x } from "../ViewMoreMicroCard-B4oeGrbE.mjs";
|
|
2
2
|
import { B as Z } from "../BeatMaterialIcon-1KOfRZrA.mjs";
|
|
3
3
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
4
4
|
const a = ({
|
|
@@ -25,7 +25,7 @@ import A from "@mui/material/ListSubheader";
|
|
|
25
25
|
import O from "@mui/material/ListItem";
|
|
26
26
|
import te from "@mui/material/ListItemButton";
|
|
27
27
|
import b from "@mui/material/ListItemText";
|
|
28
|
-
import { l as ne } from "../DateUtil-
|
|
28
|
+
import { l as ne } from "../DateUtil-Bl7d7C1W.mjs";
|
|
29
29
|
import { C as f } from "../CurrencyText-CCbE6MmF.mjs";
|
|
30
30
|
import { Stack as fe } from "@mui/material";
|
|
31
31
|
import xe from "@mui/material/Collapse";
|
|
@@ -8,7 +8,7 @@ import B from "@mui/material/Divider";
|
|
|
8
8
|
import I from "@mui/material/List";
|
|
9
9
|
import { g as R, s as O } from "../NotificationUtils-BRGFTePr.mjs";
|
|
10
10
|
import { Text as m, InstitutionLogo as G, CategoryIcon as E } from "@mxenabled/mxui";
|
|
11
|
-
import { k as j } from "../DateUtil-
|
|
11
|
+
import { k as j } from "../DateUtil-Bl7d7C1W.mjs";
|
|
12
12
|
import { useTheme as z, Card as U } from "@mui/material";
|
|
13
13
|
import { c as F, o as P, u as C, y as k, a as v, i as V } from "../hooks-97sNJ_lf.mjs";
|
|
14
14
|
import { Icon as W, Settings as $ } from "@mxenabled/mx-icons";
|
|
@@ -8,8 +8,8 @@ import { startOfToday as Q } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
9
|
import Be from "@mui/material/Alert";
|
|
10
10
|
import Fe from "@mui/material/Snackbar";
|
|
11
|
-
import { R as _e } from "../RecurringSettings-
|
|
12
|
-
import { M as Jn } from "../RecurringSettings-
|
|
11
|
+
import { R as _e } from "../RecurringSettings-CcS5b1xA.mjs";
|
|
12
|
+
import { M as Jn } from "../RecurringSettings-CcS5b1xA.mjs";
|
|
13
13
|
import { addMonths as Ue } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Ye } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as je } from "date-fns/isBefore";
|
|
@@ -36,7 +36,7 @@ import ut from "@mui/material/Badge";
|
|
|
36
36
|
import { PickersDay as mt } from "@mui/x-date-pickers/PickersDay";
|
|
37
37
|
import { I as F } from "../IconBacking-DgT8DCeh.mjs";
|
|
38
38
|
import { u as b, a as U, h as _, f as Y, D as Ie, g as re } from "../hooks-97sNJ_lf.mjs";
|
|
39
|
-
import { b as E, a as D, g as ye, e as pt, R as gt } from "../RecurringTransactionsUtil-
|
|
39
|
+
import { b as E, a as D, g as ye, e as pt, R as gt } from "../RecurringTransactionsUtil-CfWviBh1.mjs";
|
|
40
40
|
import { f as I, D as M } from "../DateFormats-HudZ3Bjs.mjs";
|
|
41
41
|
import { T as W } from "../Sizes-DISGrlUg.mjs";
|
|
42
42
|
import { A as v } from "../Analytics-D-jdcL72.mjs";
|
|
@@ -52,8 +52,8 @@ import { f as L } from "../NumberFormatting--XMeeBfr.mjs";
|
|
|
52
52
|
import N from "@mui/material/Box";
|
|
53
53
|
import { u as ve } from "../useScreenSize-mWpmnh5w.mjs";
|
|
54
54
|
import { S as Le } from "../StatusBar-CPfSXe80.mjs";
|
|
55
|
-
import { d as Ct } from "../ManageIncome-
|
|
56
|
-
import { c as er, M as tr, S as nr } from "../ManageIncome-
|
|
55
|
+
import { d as Ct } from "../ManageIncome-Czs7daKV.mjs";
|
|
56
|
+
import { c as er, M as tr, S as nr } from "../ManageIncome-Czs7daKV.mjs";
|
|
57
57
|
import { D as ie } from "../Drawer-DsnW2o0v.mjs";
|
|
58
58
|
import { S as Ae } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
59
59
|
import { u as oe } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
@@ -41,7 +41,7 @@ import Me from "@mui/material/ListItemText";
|
|
|
41
41
|
import { ChevronRight as Le, ChevronLeft as Be } from "@mxenabled/mx-icons";
|
|
42
42
|
import { D as He } from "../Drawer-DsnW2o0v.mjs";
|
|
43
43
|
import { u as ne } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
44
|
-
import { H as Oe } from "../Help-
|
|
44
|
+
import { H as Oe } from "../Help-D4sOpItq.mjs";
|
|
45
45
|
import { W as q } from "../WidgetContainer-CjdCY4sj.mjs";
|
|
46
46
|
const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
47
47
|
const i = L(), { common: o, settings: n } = k(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = F(t), { config: b } = G(), { updateUser: _ } = E(), { user: d } = Ce(), [h, w] = m.useState({
|
|
@@ -19,8 +19,8 @@ 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
21
|
import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
|
|
22
|
-
import { T as Dt } from "../EmbeddedCard-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-Kmj8GUlD.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";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { C as Be, D as He, M as Pe, a as We, T as $e } from "../TransactionDetails-
|
|
2
|
-
import { B as xa, b as Aa } from "../TransactionDetails-
|
|
3
|
-
import { u as B, T as Ge } from "../EmbeddedCard-
|
|
4
|
-
import { a as Sa } from "../EmbeddedCard-
|
|
5
|
-
import { E as va } from "../ExportCsvAction-
|
|
1
|
+
import { C as Be, D as He, M as Pe, a as We, T as $e } from "../TransactionDetails-Kmj8GUlD.mjs";
|
|
2
|
+
import { B as xa, b as Aa } from "../TransactionDetails-Kmj8GUlD.mjs";
|
|
3
|
+
import { u as B, T as Ge } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
4
|
+
import { a as Sa } from "../EmbeddedCard-CQEnrozC.mjs";
|
|
5
|
+
import { E as va } from "../ExportCsvAction-B_8I-Le6.mjs";
|
|
6
6
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
7
7
|
import u from "react";
|
|
8
8
|
import { observer as D } from "mobx-react-lite";
|
|
9
9
|
import Ve from "@mui/material/Paper";
|
|
10
|
-
import { DataGridPro as
|
|
11
|
-
import { g as H, u as v, f as ne, a as K, c as oe, l as
|
|
10
|
+
import { DataGridPro as Ue } from "@mui/x-data-grid-pro";
|
|
11
|
+
import { g as H, u as v, f as ne, a as K, c as oe, l as Fe, i as Ke, C as ze } from "../hooks-97sNJ_lf.mjs";
|
|
12
12
|
import { L as z } from "../Loader-CxeBwuPG.mjs";
|
|
13
|
-
import { Text as y, Icon as R, MerchantLogo as qe, TextField as Z, P as
|
|
13
|
+
import { Text as y, Icon as R, MerchantLogo as qe, TextField as Z, P as je } from "@mxenabled/mxui";
|
|
14
14
|
import w from "@mui/material/Stack";
|
|
15
15
|
import { f as re } from "../NumberFormatting--XMeeBfr.mjs";
|
|
16
|
-
import { T as k, e as
|
|
16
|
+
import { T as k, e as Ye, D as Xe } from "../TransactionUtils-BphBJBbU.mjs";
|
|
17
17
|
import S from "@mui/material/Box";
|
|
18
18
|
import { useTheme as ie } from "@mui/material/styles";
|
|
19
|
-
import {
|
|
19
|
+
import { j as Je } from "../DateUtil-Bl7d7C1W.mjs";
|
|
20
20
|
import { f as Qe, D as Ze } from "../DateFormats-HudZ3Bjs.mjs";
|
|
21
21
|
import { A } from "../Analytics-D-jdcL72.mjs";
|
|
22
22
|
import { endOfMonth as et } from "date-fns/endOfMonth";
|
|
23
23
|
import { getUnixTime as tt } from "date-fns/getUnixTime";
|
|
24
24
|
import { startOfMonth as at } from "date-fns/startOfMonth";
|
|
25
|
-
import { startOfToday as
|
|
26
|
-
import { b as
|
|
25
|
+
import { startOfToday as U } from "date-fns/startOfToday";
|
|
26
|
+
import { b as F } from "../Localization-DnoVyBNK.mjs";
|
|
27
27
|
import { C as nt } from "../ConnectDrawer-CW4LA3H3.mjs";
|
|
28
28
|
import ot from "@mui/material/Divider";
|
|
29
29
|
import rt from "@mui/material/MenuItem";
|
|
@@ -193,7 +193,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
193
193
|
}
|
|
194
194
|
];
|
|
195
195
|
return /* @__PURE__ */ e(Ve, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
|
|
196
|
-
|
|
196
|
+
Ue,
|
|
197
197
|
{
|
|
198
198
|
columns: g,
|
|
199
199
|
disableColumnFilter: !0,
|
|
@@ -338,7 +338,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
338
338
|
}
|
|
339
339
|
) : /* @__PURE__ */ e(z, {});
|
|
340
340
|
}, Et = D(Nt), kt = ({ onClose: t, transaction: r }) => {
|
|
341
|
-
const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = v(), { categories: c } =
|
|
341
|
+
const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = v(), { categories: c } = Fe(), [l, p] = u.useState(""), b = u.useMemo(
|
|
342
342
|
() => c.find((C) => C.guid === l),
|
|
343
343
|
[l]
|
|
344
344
|
), f = async (C) => {
|
|
@@ -359,7 +359,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
359
359
|
se,
|
|
360
360
|
{
|
|
361
361
|
copy: {
|
|
362
|
-
title:
|
|
362
|
+
title: F(
|
|
363
363
|
s.actions_apply_to_all_transaction_types,
|
|
364
364
|
r.description
|
|
365
365
|
)
|
|
@@ -370,7 +370,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
370
370
|
onSecondaryAction: () => f(!1),
|
|
371
371
|
primaryText: s.actions_apply_to_all,
|
|
372
372
|
secondaryText: s.actions_this_time_only,
|
|
373
|
-
children: /* @__PURE__ */ e(
|
|
373
|
+
children: /* @__PURE__ */ e(je, { variant: "subtitle1", children: F(
|
|
374
374
|
s.actions_all_past_and_future,
|
|
375
375
|
r.description,
|
|
376
376
|
b?.name
|
|
@@ -391,7 +391,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
391
391
|
isTransactionDataLoaded: P,
|
|
392
392
|
loadTransactionData: me,
|
|
393
393
|
setFilter: q,
|
|
394
|
-
sortedTransactions:
|
|
394
|
+
sortedTransactions: j,
|
|
395
395
|
sortedTransactionsWithSplits: _e,
|
|
396
396
|
tags: pe,
|
|
397
397
|
detailedTransactions: ge,
|
|
@@ -400,7 +400,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
400
400
|
clearExpandedSplits: fe,
|
|
401
401
|
isAmountValid: Ce,
|
|
402
402
|
manualTransaction: L,
|
|
403
|
-
searchValue:
|
|
403
|
+
searchValue: Y,
|
|
404
404
|
setSearchValue: ye,
|
|
405
405
|
setShowInsights: be,
|
|
406
406
|
updateManualTransaction: Te
|
|
@@ -410,21 +410,21 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
410
410
|
isLoaded: P
|
|
411
411
|
}), u.useEffect(() => {
|
|
412
412
|
P || me().finally();
|
|
413
|
-
const d = at(
|
|
413
|
+
const d = at(U()), Re = et(U());
|
|
414
414
|
N(d, Re), h(A.TRANSACTIONS_VIEW);
|
|
415
415
|
}, []), u.useEffect(() => {
|
|
416
416
|
_ && q({
|
|
417
417
|
accounts: G ? [G] : n,
|
|
418
418
|
dateRange: { start: o.start, end: o.end },
|
|
419
|
-
searchTerm:
|
|
419
|
+
searchTerm: Y
|
|
420
420
|
});
|
|
421
421
|
}, [_, o, n]), u.useEffect(() => {
|
|
422
422
|
be(a);
|
|
423
423
|
}, [a]), u.useEffect(() => {
|
|
424
424
|
_ && Se(
|
|
425
|
-
|
|
425
|
+
F(g.showing_transactions_count, j.length)
|
|
426
426
|
);
|
|
427
|
-
}, [_,
|
|
427
|
+
}, [_, j]);
|
|
428
428
|
const x = X ? ge.find((d) => d.guid === X) : void 0, Q = Ce && !!L.payee && !!L.account_guid && !!L.category_guid, ve = (d) => {
|
|
429
429
|
fe(), N(d[0], d[1]);
|
|
430
430
|
}, Ie = (d) => {
|
|
@@ -433,11 +433,11 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
433
433
|
searchTerm: d
|
|
434
434
|
}), h(A.TRANSACTIONS_CLICK_SEARCH, { search_term: d });
|
|
435
435
|
}, Ne = () => {
|
|
436
|
-
|
|
436
|
+
Ye(_e, pe), h(A.TRANSACTIONS_CLICK_EXPORT);
|
|
437
437
|
}, Ee = () => {
|
|
438
438
|
c.length > 0 ? (Te({
|
|
439
439
|
...Xe,
|
|
440
|
-
date: tt(
|
|
440
|
+
date: tt(U()),
|
|
441
441
|
user_guid: xe?.user_guid || ""
|
|
442
442
|
}), T(
|
|
443
443
|
"addTransaction"
|
|
@@ -485,7 +485,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
485
485
|
{
|
|
486
486
|
onChange: Ie,
|
|
487
487
|
placeholder: g.action_bar_search_placeholder,
|
|
488
|
-
searchValue:
|
|
488
|
+
searchValue: Y
|
|
489
489
|
}
|
|
490
490
|
) }),
|
|
491
491
|
/* @__PURE__ */ e(
|