@mx-cartographer/experiences 7.0.20-alpha.al0 → 7.0.20-alpha.mm0
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 +0 -4
- package/dist/{Account-BW3-oYEs.mjs → Account-DY2axAET.mjs} +1 -1
- package/dist/{AccountDetailsContent-BzD6CDIm.mjs → AccountDetailsContent-Jsg4ZDC1.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Eb3WvBGm.mjs → AccountDetailsHeader-EU_2u2Iq.mjs} +5 -5
- package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-CSUS7pGn.mjs} +2 -2
- package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-CMYZQg8M.mjs} +3 -3
- package/dist/{AccountStore-BaMynkQT.mjs → AccountStore-CIX2RAmG.mjs} +26 -26
- package/dist/{Accounts-CA-nqAjT.mjs → Accounts-xi9RGRIU.mjs} +1 -1
- package/dist/{BeatApi-DLu87ijw.mjs → BeatApi-D0WcLW3O.mjs} +3 -3
- package/dist/{BeatStore-By4aGoRM.mjs → BeatStore-y6WVs07e.mjs} +17 -17
- package/dist/{BudgetUtil-CeSLAcsl.mjs → BudgetUtil-DmWvHV7C.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BJ9jlCyt.mjs → CategorySelectorDrawer-BHqOpBNr.mjs} +1 -1
- package/dist/{CategoryStore-BOyzQjQp.mjs → CategoryStore-BfYppD3g.mjs} +4 -4
- package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-CU5dEdrU.mjs} +1 -1
- package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-BUJuQrgF.mjs} +2 -2
- package/dist/{CurrencyInput-bEx2Mbd0.mjs → CurrencyInput-BtrNBP3z.mjs} +1 -1
- package/dist/{DebtsStore-VkyMADzd.mjs → DebtsStore-X3cUJZti.mjs} +1 -1
- package/dist/{ExportCsvAction-CbMfQ2Wa.mjs → ExportCsvAction-CUGnEaHw.mjs} +3 -3
- package/dist/{Fetch-CkFKy79O.mjs → Fetch-CJ9cgjgV.mjs} +9 -8
- package/dist/{FinstrongStore-mkALvztw.mjs → FinstrongStore-rC2F4Tq3.mjs} +4 -4
- package/dist/{GoalStore-eSOkI6uE.mjs → GoalStore-CFx47exL.mjs} +6 -6
- package/dist/{Help-KAAMEubC.mjs → Help-CCuoAZT3.mjs} +1 -1
- package/dist/{LineChart-BWWmmJxV.mjs → LineChart-D5uLCys4.mjs} +1 -1
- package/dist/{ListItemAction-DNZZ5fSa.mjs → ListItemAction-Cwadpg85.mjs} +1 -1
- package/dist/{ManageIncome-DcKHpJ9V.mjs → ManageIncome-B91zIeYo.mjs} +4 -4
- package/dist/MerchantStore-h96aTml7.mjs +37 -0
- package/dist/{MicroWidgetContainer-Dxz8uBN9.mjs → MicroWidgetContainer-DwTAjSdX.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CTyjmE1h.mjs → MiniWidgetContainer-CxggrnHk.mjs} +1 -1
- package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-CYYTpP9O.mjs} +2 -2
- package/dist/{NotificationSettings-Dhf_u5o-.mjs → NotificationSettings-BhJ2PUkt.mjs} +2 -2
- package/dist/{NotificationStore-DHtSGySy.mjs → NotificationStore-DpV9hXSE.mjs} +8 -4
- package/dist/{OriginalBalanceAction-DepsKiJz.mjs → OriginalBalanceAction-DDMRgIBU.mjs} +3 -3
- package/dist/{RecurringSettings-C9r4s1Cz.mjs → RecurringSettings-CGGFhlhh.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-D62XJtdL.mjs → RecurringTransactionsStore-CXhnipfd.mjs} +20 -16
- package/dist/{SettingsStore-B4gi6oOw.mjs → SettingsStore-CLLqNa_S.mjs} +33 -29
- package/dist/{TransactionApi-DbbcjI2L.mjs → TransactionApi-C0HMGDBV.mjs} +29 -29
- package/dist/{TransactionDetails-bja6hKJk.mjs → TransactionDetails-Bc0iW26I.mjs} +5 -5
- package/dist/{TransactionStore-0tLtBEIC.mjs → TransactionStore-Va_jug-g.mjs} +29 -25
- package/dist/{TrendsStore-WrHxzdbQ.mjs → TrendsStore-DmuQennN.mjs} +1 -1
- package/dist/{User-Dq9Qj764.mjs → User-B9T_314z.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BPEzFZRG.mjs → ViewMoreMicroCard-61VqFx4x.mjs} +5 -2
- package/dist/{WidgetContainer-CdBs9WOZ.mjs → WidgetContainer-CTrp2veH.mjs} +2 -2
- package/dist/accounts/api/AccountApi.d.ts +2 -2
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/api/BudgetsApi.d.ts +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/api/CashflowApi.d.ts +3 -2
- package/dist/cashflow/index.es.js +10 -10
- package/dist/categories/index.es.js +2 -2
- package/dist/common/api/AnalyticsApi.d.ts +2 -2
- package/dist/common/api/AppDataApi.d.ts +2 -2
- package/dist/common/api/BeatApi.d.ts +2 -2
- package/dist/common/api/CategoryApi.d.ts +2 -3
- package/dist/common/api/GlobalCopyApi.d.ts +2 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +2 -1
- package/dist/common/api/NotificationApi.d.ts +2 -2
- package/dist/common/api/ScheduledPaymentsApi.d.ts +3 -2
- package/dist/common/api/UserApi.d.ts +2 -2
- package/dist/common/context/GlobalDataProvider.d.ts +3 -2
- package/dist/common/context/hooks.d.ts +4 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +321 -315
- package/dist/common/stores/GlobalStore.d.ts +2 -1
- package/dist/common/types/Handlers.d.ts +2 -0
- package/dist/common/types/index.d.ts +1 -0
- package/dist/common/utils/Fetch.d.ts +3 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BDlt8u0n.mjs → exportTransactionsToCSV-ct1RkLbj.mjs} +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +2 -1
- package/dist/finstrong/index.es.js +7 -7
- package/dist/goals/api/GoalApi.d.ts +3 -2
- package/dist/goals/index.es.js +494 -493
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-DcS6DyRl.mjs +74 -0
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/api/HoldingApi.d.ts +3 -2
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/api/MerchantApi.d.ts +2 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +2 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/recurringtransactions/index.es.js +10 -10
- package/dist/settings/api/SettingsApi.d.ts +3 -2
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/api/TransactionApi.d.ts +3 -2
- package/dist/transactions/index.es.js +14 -14
- package/dist/trends/index.es.js +90 -85
- package/dist/{useCombineEvents-DaDBSR_1.mjs → useCombineEvents-Dbjzfwvo.mjs} +29 -29
- package/package.json +1 -1
- package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
- package/dist/hooks-DkUqN6JE.mjs +0 -71
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
-
import { Ticket } from '../../common/types
|
|
2
|
+
import { GlobalErrorHandler, Ticket } from '../../common/types';
|
|
3
3
|
export declare class HelpApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
createSupportTicket: (ticket: Ticket) => Promise<any>;
|
|
7
7
|
}
|
package/dist/help/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { observer as t } from "mobx-react-lite";
|
|
3
|
-
import { H as m } from "../Help-
|
|
4
|
-
import { a as s } from "../hooks-
|
|
3
|
+
import { H as m } from "../Help-CCuoAZT3.mjs";
|
|
4
|
+
import { a as s } from "../hooks-DcS6DyRl.mjs";
|
|
5
5
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
6
|
-
import { W as a } from "../WidgetContainer-
|
|
6
|
+
import { W as a } from "../WidgetContainer-CTrp2veH.mjs";
|
|
7
7
|
const x = t(({ sx: o }) => {
|
|
8
8
|
const { isCopyLoaded: i, isInitialized: e } = s();
|
|
9
9
|
return !i || !e ? /* @__PURE__ */ r(p, {}) : /* @__PURE__ */ r(a, { sx: { p: 16 }, children: /* @__PURE__ */ r(m, { sx: o }) });
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import s from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
const a = s.createContext(null), b = ({
|
|
4
|
+
children: e,
|
|
5
|
+
globalStore: t,
|
|
6
|
+
onError: r,
|
|
7
|
+
onEvent: l,
|
|
8
|
+
onPageView: u
|
|
9
|
+
}) => (t.onError = r, /* @__PURE__ */ n(
|
|
10
|
+
a.Provider,
|
|
11
|
+
{
|
|
12
|
+
value: {
|
|
13
|
+
globalStore: t,
|
|
14
|
+
onError: r,
|
|
15
|
+
onEvent: l,
|
|
16
|
+
onPageView: u,
|
|
17
|
+
children: e
|
|
18
|
+
},
|
|
19
|
+
children: e
|
|
20
|
+
}
|
|
21
|
+
)), S = s.createContext(null), C = ({ children: e, availableHeight: t, availableWidth: r }) => /* @__PURE__ */ n(
|
|
22
|
+
S.Provider,
|
|
23
|
+
{
|
|
24
|
+
value: {
|
|
25
|
+
availableHeight: t,
|
|
26
|
+
availableWidth: r,
|
|
27
|
+
children: e
|
|
28
|
+
},
|
|
29
|
+
children: e
|
|
30
|
+
}
|
|
31
|
+
), o = (e = "useGlobalStore") => {
|
|
32
|
+
const t = s.useContext(a);
|
|
33
|
+
if (!t)
|
|
34
|
+
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
35
|
+
return t;
|
|
36
|
+
}, d = () => o("useAccountStore").globalStore.accountStore, p = () => o("useAppConfig").globalStore.appDataStore.appConfig, h = () => o("useAnalyticsStore").globalStore.analyticsStore, x = () => o("useBudgetsStore").globalStore.budgetsStore, f = () => o("useCashflowStore").globalStore.cashflowStore, w = () => o("useCategoryStore").globalStore.categoryStore, G = () => o("useConnectStore").globalStore.connectStore, v = () => o("useDebtsStore").globalStore.debtsStore, y = () => o("useFinstrongStore").globalStore.finstrongStore, W = () => o("useGlobalStore").globalStore, m = () => o("useGlobalUiStore").globalStore.globalUiStore, E = () => o("globalCopyStore").globalStore.copyStore.copy, P = () => o("useGoalStore").globalStore.goalStore, A = () => o("useHelpStore").globalStore.helpStore, D = () => o("useHoldingStore").globalStore.holdingStore, T = () => o("useMerchantStore").globalStore.merchantStore, U = () => o("useNetWorthStore").globalStore.netWorthStore, H = () => o("useNotificationStore").globalStore.notificationStore, N = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, B = () => o("useSettingsStore").globalStore.settingsStore, R = () => o("useTransactionStore").globalStore.transactionStore, V = () => o("useTrendsStore").globalStore.trendsStore, j = () => o("useUserStore").globalStore.userStore, F = () => ({ onError: o().onError }), M = () => ({ onEvent: o().onEvent }), $ = () => ({ onPageView: o().onPageView }), c = (e = "useWidgetContainerContext") => {
|
|
37
|
+
const t = s.useContext(S);
|
|
38
|
+
if (!t)
|
|
39
|
+
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
40
|
+
return t;
|
|
41
|
+
}, k = () => c();
|
|
42
|
+
export {
|
|
43
|
+
$ as A,
|
|
44
|
+
b as B,
|
|
45
|
+
S as C,
|
|
46
|
+
a as G,
|
|
47
|
+
C as W,
|
|
48
|
+
m as a,
|
|
49
|
+
T as b,
|
|
50
|
+
d as c,
|
|
51
|
+
G as d,
|
|
52
|
+
M as e,
|
|
53
|
+
R as f,
|
|
54
|
+
x as g,
|
|
55
|
+
N as h,
|
|
56
|
+
h as i,
|
|
57
|
+
P as j,
|
|
58
|
+
w as k,
|
|
59
|
+
W as l,
|
|
60
|
+
p as m,
|
|
61
|
+
H as n,
|
|
62
|
+
j as o,
|
|
63
|
+
k as p,
|
|
64
|
+
U as q,
|
|
65
|
+
B as r,
|
|
66
|
+
D as s,
|
|
67
|
+
f as t,
|
|
68
|
+
E as u,
|
|
69
|
+
V as v,
|
|
70
|
+
y as w,
|
|
71
|
+
v as x,
|
|
72
|
+
F as y,
|
|
73
|
+
A as z
|
|
74
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch
|
|
1
|
+
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler, Holding } from '../../common/types';
|
|
2
3
|
export declare class HoldingApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getHoldings: () => Promise<any>;
|
|
6
7
|
updateHoldings: (holding: Holding) => Promise<any>;
|
|
7
8
|
}
|
|
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
|
|
|
4
4
|
import _ from "@mui/material/Stack";
|
|
5
5
|
import Ee from "@mui/material/Tab";
|
|
6
6
|
import Ge from "@mui/material/Tabs";
|
|
7
|
-
import { C as ge } from "../ConnectionsDrawer-
|
|
7
|
+
import { C as ge } from "../ConnectionsDrawer-BUJuQrgF.mjs";
|
|
8
8
|
import pe from "@mui/material/useMediaQuery";
|
|
9
9
|
import Me from "@mui/material/Box";
|
|
10
10
|
import Ne from "@mui/material/Collapse";
|
|
@@ -16,8 +16,8 @@ import xe from "@mui/material/ToggleButton";
|
|
|
16
16
|
import ye from "@mui/material/ToggleButtonGroup";
|
|
17
17
|
import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
|
-
import { u as E, e as be, s as H, a as Q, c as se } from "../hooks-
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
19
|
+
import { u as E, e as be, s as H, a as Q, c as se } from "../hooks-DcS6DyRl.mjs";
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-CTrp2veH.mjs";
|
|
21
21
|
import { a as ze, f as oe } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import le from "@mui/material/styles/useTheme";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler } from '../../common/types';
|
|
2
3
|
export declare class MerchantApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getMerchants: (searchValues?: string[], guids?: string[], page?: number, perPage?: number) => Promise<any>;
|
|
6
7
|
getMerchantByGuid: (guid: string) => Promise<any>;
|
|
7
8
|
}
|
|
@@ -12,10 +12,10 @@ import k from "@mui/material/ListItemText";
|
|
|
12
12
|
import A from "@mui/material/Paper";
|
|
13
13
|
import d from "@mui/material/Stack";
|
|
14
14
|
import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
15
|
-
import { b as v, u as w, a as C } from "../hooks-
|
|
15
|
+
import { b as v, u as w, a as C } from "../hooks-DcS6DyRl.mjs";
|
|
16
16
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { S as N } from "../SearchBox-B2_zLv8-.mjs";
|
|
18
|
-
import { M as ne } from "../MerchantStore-
|
|
18
|
+
import { M as ne } from "../MerchantStore-h96aTml7.mjs";
|
|
19
19
|
const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
|
|
20
20
|
height: f = "calc(100dvh - 120px)",
|
|
21
21
|
onSelect: g
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { GlobalEventHandler } from '../../common';
|
|
2
3
|
import { AppStore } from '../stores/AppStore';
|
|
3
4
|
export interface InsightsMicroWidgetContextTypes {
|
|
4
5
|
children: React.ReactNode;
|
|
5
|
-
onEvent:
|
|
6
|
+
onEvent: GlobalEventHandler;
|
|
6
7
|
onPageview: (page: string) => void;
|
|
7
8
|
store: AppStore;
|
|
8
9
|
}
|
|
@@ -3,7 +3,7 @@ export declare const useStore: () => import('..').AppStore;
|
|
|
3
3
|
export declare const useCopyStore: () => import('../stores/CopyStore').CopyStore;
|
|
4
4
|
export declare const useInsightsMicroWidgetStore: () => import('../stores/InsightsMicroWidgetStore').InsightsMicroWidgetStore;
|
|
5
5
|
export declare const useEvent: () => {
|
|
6
|
-
onEvent: (
|
|
6
|
+
onEvent: import('../../common').GlobalEventHandler;
|
|
7
7
|
};
|
|
8
8
|
export declare const usePageview: () => {
|
|
9
9
|
onPageview: (page: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-
|
|
1
|
+
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-61VqFx4x.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as AppStore,
|
|
4
4
|
e as BeatCard,
|
|
@@ -3,9 +3,9 @@ import { fromUnixTime as Se } from "date-fns/fromUnixTime";
|
|
|
3
3
|
import { observer as w } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as z } from "@mui/material/styles";
|
|
5
5
|
import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
6
|
-
import { p as _e, u as T, c as J, e as Q, a as P, q as ee } from "../hooks-
|
|
6
|
+
import { p as _e, u as T, c as J, e as Q, a as P, q as ee } from "../hooks-DcS6DyRl.mjs";
|
|
7
7
|
import { f as we, D as be } from "../Dialog-CWW597AF.mjs";
|
|
8
|
-
import { L as We } from "../LineChart-
|
|
8
|
+
import { L as We } from "../LineChart-D5uLCys4.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import E from "@mui/material/ListSubheader";
|
|
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
|
|
|
19
19
|
import { C as y } from "../CurrencyText-YUhH2caW.mjs";
|
|
20
20
|
import { Button as Te, Stack as Le } from "@mui/material";
|
|
21
21
|
import { format as Ne, fromUnixTime as De, differenceInMonths as Ee } from "date-fns";
|
|
22
|
-
import { g as K } from "../NetWorthStore-
|
|
23
|
-
import { N as Ot } from "../NetWorthStore-
|
|
22
|
+
import { g as K } from "../NetWorthStore-CYYTpP9O.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-CYYTpP9O.mjs";
|
|
24
24
|
import { Icon as oe } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
26
|
-
import { A as b, W as ke } from "../WidgetContainer-
|
|
26
|
+
import { A as b, W as ke } from "../WidgetContainer-CTrp2veH.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-DwTAjSdX.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-BUJuQrgF.mjs";
|
|
31
31
|
import He from "@mui/material/Collapse";
|
|
32
32
|
import V from "@mui/material/ListItemIcon";
|
|
33
33
|
import ie from "@mui/material/styles/useTheme";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as f, B as C } from "../Notification-ByMBpJ5u.mjs";
|
|
2
|
-
import { A as _ } from "../Fetch-
|
|
3
|
-
import { s as L } from "../NotificationStore-
|
|
4
|
-
import { N as Nt, f as St } from "../NotificationStore-
|
|
2
|
+
import { A as _ } from "../Fetch-CJ9cgjgV.mjs";
|
|
3
|
+
import { s as L } from "../NotificationStore-DpV9hXSE.mjs";
|
|
4
|
+
import { N as Nt, f as St } from "../NotificationStore-DpV9hXSE.mjs";
|
|
5
5
|
import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
|
|
6
6
|
import k, { useEffect as A } from "react";
|
|
7
7
|
import { observer as p } from "mobx-react-lite";
|
|
@@ -11,13 +11,13 @@ import B from "@mui/material/List";
|
|
|
11
11
|
import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
|
|
12
12
|
import { h as I } from "../DateUtil-BcuH7ErC.mjs";
|
|
13
13
|
import { useTheme as O, Card as G } from "@mui/material";
|
|
14
|
-
import { c as E, g as j, u as g, n as N, a as S, m as z } from "../hooks-
|
|
14
|
+
import { c as E, g as j, u as g, n as N, a as S, m as z } from "../hooks-DcS6DyRl.mjs";
|
|
15
15
|
import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
|
|
16
16
|
import P from "@mui/material/Button";
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
18
|
import { L as w } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
20
|
+
import { N as H } from "../NotificationSettings-BhJ2PUkt.mjs";
|
|
21
21
|
import { D as b } from "../Drawer-kEE73B87.mjs";
|
|
22
22
|
const yt = (e) => {
|
|
23
23
|
switch (e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Fetch, RepeatingTransaction } from '../../common';
|
|
1
|
+
import { Fetch, GlobalErrorHandler, RepeatingTransaction } from '../../common';
|
|
2
2
|
export declare class RepeatingTransactionsApi {
|
|
3
3
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
4
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
5
|
addRepeatingTransaction: (repeatingTransaction: RepeatingTransaction) => Promise<any>;
|
|
6
6
|
getRepeatingTransactions: () => Promise<any>;
|
|
7
7
|
updateRepeatingTransaction: (repeatingTransaction: RepeatingTransaction) => Promise<any>;
|
|
@@ -8,8 +8,8 @@ import { startOfToday as le } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as de } from "date-fns/subDays";
|
|
9
9
|
import re from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as He } from "../RecurringSettings-
|
|
12
|
-
import { M as An } from "../RecurringSettings-
|
|
11
|
+
import { R as He } from "../RecurringSettings-CGGFhlhh.mjs";
|
|
12
|
+
import { M as An } from "../RecurringSettings-CGGFhlhh.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Be } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -28,11 +28,11 @@ import { isSameDay as tt } from "date-fns/isSameDay";
|
|
|
28
28
|
import nt from "@mui/material/Badge";
|
|
29
29
|
import { PickersDay as it } from "@mui/x-date-pickers/PickersDay";
|
|
30
30
|
import { I as Y } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
|
-
import { u as D, a as V, h as v, e as X, c as pe, f as ge, p as rt } from "../hooks-
|
|
31
|
+
import { u as D, a as V, h as v, e as X, c as pe, f as ge, p as rt } from "../hooks-DcS6DyRl.mjs";
|
|
32
32
|
import { c as M, a as R, g as De, f as ot } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
33
|
-
import { T as P } from "../RecurringTransactionsStore-
|
|
34
|
-
import { R as Gn } from "../RecurringTransactionsStore-
|
|
35
|
-
import { A as _, W as at } from "../WidgetContainer-
|
|
33
|
+
import { T as P } from "../RecurringTransactionsStore-CXhnipfd.mjs";
|
|
34
|
+
import { R as Gn } from "../RecurringTransactionsStore-CXhnipfd.mjs";
|
|
35
|
+
import { A as _, W as at } from "../WidgetContainer-CTrp2veH.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import se from "@mui/material/Divider";
|
|
38
38
|
import Se from "@mui/material/List";
|
|
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as On, M as kn, S as Wn } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-B91zIeYo.mjs";
|
|
45
|
+
import { c as On, M as kn, S as Wn } from "../ManageIncome-B91zIeYo.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
47
47
|
import { D as Ae } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
@@ -51,9 +51,9 @@ import O from "@mui/material/Box";
|
|
|
51
51
|
import { S as Ee } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as Ge } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as j } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-CxggrnHk.mjs";
|
|
55
55
|
import { u as gt } from "../useDimensions-27p2evRx.mjs";
|
|
56
|
-
import { M as ht } from "../MicroWidgetContainer-
|
|
56
|
+
import { M as ht } from "../MicroWidgetContainer-DwTAjSdX.mjs";
|
|
57
57
|
const Z = {
|
|
58
58
|
gridRow: 1,
|
|
59
59
|
gridColumn: 1,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as Fetch } from '../../common/utils/Fetch';
|
|
2
|
-
import {
|
|
2
|
+
import { UserCommunicationProfile } from '../../common';
|
|
3
|
+
import { Device, GlobalErrorHandler, NotificationProfile } from '../../common/types';
|
|
3
4
|
export declare class SettingsApi {
|
|
4
5
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
6
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
7
|
deleteDevice: (guid: string) => Promise<any>;
|
|
7
8
|
generateDeviceToken: () => Promise<any>;
|
|
8
9
|
getDevices: () => Promise<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Jt, a as Kt } from "../SettingsStore-
|
|
1
|
+
import { S as Jt, a as Kt } from "../SettingsStore-CLLqNa_S.mjs";
|
|
2
2
|
import { jsxs as c, Fragment as q, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import h from "react";
|
|
4
4
|
import { observer as D } from "mobx-react-lite";
|
|
@@ -16,9 +16,9 @@ import F from "@mui/material/Box";
|
|
|
16
16
|
import Q from "@mui/material/Button";
|
|
17
17
|
import I from "@mui/material/TextField";
|
|
18
18
|
import { H3 as J, P as H, Text as x, Icon as M, ChevronRightIcon as xe } from "@mxenabled/mxui";
|
|
19
|
-
import { V as ve, a as Ce, N as G } from "../NotificationSettings-
|
|
20
|
-
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-
|
|
21
|
-
import { u as k, m as $, r as A, o as De, a as Z, k as ee } from "../hooks-
|
|
19
|
+
import { V as ve, a as Ce, N as G } from "../NotificationSettings-BhJ2PUkt.mjs";
|
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BhJ2PUkt.mjs";
|
|
21
|
+
import { u as k, m as $, r as A, o as De, a as Z, k as ee } from "../hooks-DcS6DyRl.mjs";
|
|
22
22
|
import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import { a as W } from "../Dialog-CWW597AF.mjs";
|
|
24
24
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
@@ -35,14 +35,14 @@ import { L as ne } from "../Loader-DUaFpDGv.mjs";
|
|
|
35
35
|
import Ie from "@mui/material/List";
|
|
36
36
|
import j from "@mui/material/Divider";
|
|
37
37
|
import Ae from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-BHqOpBNr.mjs";
|
|
39
39
|
import Re from "@mui/material/ListItem";
|
|
40
40
|
import Be from "@mui/material/ListItemButton";
|
|
41
41
|
import Me from "@mui/material/ListItemIcon";
|
|
42
42
|
import Ne from "@mui/material/ListItemText";
|
|
43
43
|
import { D as He } from "../Drawer-kEE73B87.mjs";
|
|
44
|
-
import { H as Le } from "../Help-
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
44
|
+
import { H as Le } from "../Help-CCuoAZT3.mjs";
|
|
45
|
+
import { W as K } from "../WidgetContainer-CTrp2veH.mjs";
|
|
46
46
|
const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
47
47
|
const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
|
|
48
48
|
first_name: d.first_name,
|
|
@@ -14,20 +14,20 @@ import { Text as f, CategoryIcon as ht, CategoryIconVariants as ft } from "@mxen
|
|
|
14
14
|
import { f as A } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
15
15
|
import yt from "@mui/material/Button";
|
|
16
16
|
import { useTheme as it } from "@mui/material";
|
|
17
|
-
import { u as w, a as R, k as z, c as rt, m as st, f as Ct, e as _t } from "../hooks-
|
|
17
|
+
import { u as w, a as R, k as z, c as rt, m as st, f as Ct, e as _t } from "../hooks-DcS6DyRl.mjs";
|
|
18
18
|
import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
21
|
+
import { M as St } from "../MiniWidgetContainer-CxggrnHk.mjs";
|
|
22
22
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
23
|
-
import { T as Tt, a as Mt } from "../TransactionDetails-
|
|
23
|
+
import { T as Tt, a as Mt } from "../TransactionDetails-Bc0iW26I.mjs";
|
|
24
24
|
import Dt from "@mui/material/Collapse";
|
|
25
25
|
import B from "@mui/material/Divider";
|
|
26
26
|
import q from "@mui/material/List";
|
|
27
27
|
import J from "@mui/material/ListItem";
|
|
28
28
|
import xt from "@mui/material/ListItemButton";
|
|
29
29
|
import { D as Q } from "../Drawer-kEE73B87.mjs";
|
|
30
|
-
import { A as Z, W as wt } from "../WidgetContainer-
|
|
30
|
+
import { A as Z, W as wt } from "../WidgetContainer-CTrp2veH.mjs";
|
|
31
31
|
const j = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
32
32
|
if (c.total > 0) {
|
|
33
33
|
const a = n.find((s) => s.guid === c.category_guid);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch
|
|
1
|
+
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule } from '../../common/types';
|
|
2
3
|
export declare class TransactionApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
addTag: (tag: Tag) => Promise<any>;
|
|
6
7
|
addTagging: (tagging: Tagging) => Promise<any>;
|
|
7
8
|
addTransaction: (transaction: Transaction) => Promise<any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { T as fa } from "../TransactionApi-
|
|
2
|
-
import { u as B, C as Re, D as He, M as Be, c as Pe, T as $e, a as Ve } from "../TransactionDetails-
|
|
3
|
-
import { B as ya, d as ba, b as Ta } from "../TransactionDetails-
|
|
4
|
-
import { T as M } from "../User-
|
|
5
|
-
import { O as Sa } from "../User-
|
|
6
|
-
import { S as ee, D as We } from "../TransactionStore-
|
|
7
|
-
import { T as wa } from "../TransactionStore-
|
|
8
|
-
import { e as Ge } from "../exportTransactionsToCSV-
|
|
9
|
-
import { E as va } from "../ExportCsvAction-
|
|
1
|
+
import { T as fa } from "../TransactionApi-C0HMGDBV.mjs";
|
|
2
|
+
import { u as B, C as Re, D as He, M as Be, c as Pe, T as $e, a as Ve } from "../TransactionDetails-Bc0iW26I.mjs";
|
|
3
|
+
import { B as ya, d as ba, b as Ta } from "../TransactionDetails-Bc0iW26I.mjs";
|
|
4
|
+
import { T as M } from "../User-B9T_314z.mjs";
|
|
5
|
+
import { O as Sa } from "../User-B9T_314z.mjs";
|
|
6
|
+
import { S as ee, D as We } from "../TransactionStore-Va_jug-g.mjs";
|
|
7
|
+
import { T as wa } from "../TransactionStore-Va_jug-g.mjs";
|
|
8
|
+
import { e as Ge } from "../exportTransactionsToCSV-ct1RkLbj.mjs";
|
|
9
|
+
import { E as va } from "../ExportCsvAction-CUGnEaHw.mjs";
|
|
10
10
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
11
11
|
import u from "react";
|
|
12
12
|
import { observer as S } from "mobx-react-lite";
|
|
@@ -15,7 +15,7 @@ import { DataGridPro as Fe } from "@mui/x-data-grid-pro";
|
|
|
15
15
|
import A from "@mui/material/Box";
|
|
16
16
|
import { useTheme as ze } from "@mui/material/styles";
|
|
17
17
|
import { Text as C, Icon as H, MerchantLogo as Ke, TextField as te, P as qe } from "@mxenabled/mxui";
|
|
18
|
-
import { f as P, u as x, a as K, c as re, k as je, m as Xe, e as Ye, o as Je } from "../hooks-
|
|
18
|
+
import { f as P, u as x, a as K, c as re, k as je, m as Xe, e as Ye, o as Je } from "../hooks-DcS6DyRl.mjs";
|
|
19
19
|
import { fromUnixTime as Qe } from "date-fns/fromUnixTime";
|
|
20
20
|
import { f as Ze, D as et, a as se } from "../Dialog-CWW597AF.mjs";
|
|
21
21
|
import N from "@mui/material/Stack";
|
|
@@ -26,15 +26,15 @@ import { getUnixTime as at } from "date-fns/getUnixTime";
|
|
|
26
26
|
import { startOfMonth as nt } from "date-fns/startOfMonth";
|
|
27
27
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
28
28
|
import ot from "@mui/material/styles/useTheme";
|
|
29
|
-
import { j as rt } from "../ConnectDrawer-
|
|
29
|
+
import { j as rt } from "../ConnectDrawer-CU5dEdrU.mjs";
|
|
30
30
|
import st from "@mui/material/Divider";
|
|
31
31
|
import it from "@mui/material/MenuItem";
|
|
32
32
|
import ct from "@mui/material/RadioGroup";
|
|
33
33
|
import { ExpandMore as lt } from "@mxenabled/mx-icons";
|
|
34
|
-
import { C as dt } from "../CurrencyInput-
|
|
35
|
-
import { a as ut, u as mt } from "../CategorySelectorDrawer-
|
|
34
|
+
import { C as dt } from "../CurrencyInput-BtrNBP3z.mjs";
|
|
35
|
+
import { a as ut, u as mt } from "../CategorySelectorDrawer-BHqOpBNr.mjs";
|
|
36
36
|
import { b as ae } from "../Localization-2MODESHW.mjs";
|
|
37
|
-
import { A as T, W as _t } from "../WidgetContainer-
|
|
37
|
+
import { A as T, W as _t } from "../WidgetContainer-CTrp2veH.mjs";
|
|
38
38
|
import { u as pt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
39
39
|
import { S as gt } from "../SearchBox-B2_zLv8-.mjs";
|
|
40
40
|
import { D as ne } from "../Drawer-kEE73B87.mjs";
|