@mx-cartographer/experiences 7.0.11-alpha.al0 → 7.0.11
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-D_kRKI6x.mjs → Account-BVKkr6ft.mjs} +1 -1
- package/dist/{AccountDetailsContent-Dfja2v8K.mjs → AccountDetailsContent-BmQ5a3Lk.mjs} +8 -8
- package/dist/{AccountDetailsHeader-nc5mqlHm.mjs → AccountDetailsHeader-vSwO-5Wk.mjs} +5 -5
- package/dist/{AccountFields-DeebSePp.mjs → AccountFields-VRK4zgvW.mjs} +2 -2
- package/dist/{AccountListItem-dh03tivj.mjs → AccountListItem-SkBUCsb0.mjs} +3 -3
- package/dist/{AccountStore-Cp7xWX8n.mjs → AccountStore-3Umlm7QY.mjs} +5 -5
- package/dist/{Accounts-DppzmFak.mjs → Accounts-CYsoAdW-.mjs} +1 -1
- package/dist/{BeatApi-D0WcLW3O.mjs → BeatApi-DLu87ijw.mjs} +3 -3
- package/dist/{BeatStore-y6WVs07e.mjs → BeatStore-By4aGoRM.mjs} +17 -17
- package/dist/{BudgetUtil-DmWvHV7C.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-uTU7Nwn2.mjs → CategorySelectorDrawer-BPvjZ-Xo.mjs} +1 -1
- package/dist/{CategoryStore-BfYppD3g.mjs → CategoryStore-BOyzQjQp.mjs} +4 -4
- package/dist/{ConnectDrawer-BfYwIgKa.mjs → ConnectDrawer-BA9H_xx8.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BKG07Loi.mjs → ConnectionsDrawer-Bs-NUsAs.mjs} +2 -2
- package/dist/{CurrencyInput-BtrNBP3z.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
- package/dist/{DebtsStore-BR1o55kk.mjs → DebtsStore-BwmpJMik.mjs} +1 -1
- package/dist/{ExportCsvAction-BH369hls.mjs → ExportCsvAction-CvyiKLTh.mjs} +3 -3
- package/dist/{Fetch-CJ9cgjgV.mjs → Fetch-CkFKy79O.mjs} +8 -9
- package/dist/{FinstrongStore-rC2F4Tq3.mjs → FinstrongStore-mkALvztw.mjs} +4 -4
- package/dist/{GoalStore-rZKi2YjE.mjs → GoalStore-BH5TWxYr.mjs} +21 -21
- package/dist/{Help-t24Ldz-O.mjs → Help-B3oENhkG.mjs} +1 -1
- package/dist/{LineChart-CfEEnHUy.mjs → LineChart-BWWmmJxV.mjs} +204 -183
- package/dist/{ListItemAction-Cwadpg85.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
- package/dist/{ManageIncome-xksS_sWM.mjs → ManageIncome-DCUX6T2b.mjs} +4 -4
- package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
- package/dist/{MicroWidgetContainer-DwTAjSdX.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CxggrnHk.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
- package/dist/{NetWorthStore-5qSDIglU.mjs → NetWorthStore-NKD8a-19.mjs} +2 -2
- package/dist/{NotificationSettings-Cny7J1hO.mjs → NotificationSettings-uXVwpIa1.mjs} +2 -2
- package/dist/{NotificationStore-DpV9hXSE.mjs → NotificationStore-DHtSGySy.mjs} +4 -8
- package/dist/{OriginalBalanceAction-DDMRgIBU.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
- package/dist/{RecurringSettings-DXQ64A8U.mjs → RecurringSettings-BD_CIXnV.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-CXhnipfd.mjs → RecurringTransactionsStore-D62XJtdL.mjs} +16 -20
- package/dist/{SettingsStore-CLLqNa_S.mjs → SettingsStore-B4gi6oOw.mjs} +29 -33
- package/dist/{Transaction-CXMMfhz-.mjs → Transaction-Dns0Kuuy.mjs} +1 -1
- package/dist/{TransactionApi-C0HMGDBV.mjs → TransactionApi-DbbcjI2L.mjs} +29 -29
- package/dist/{TransactionDetails-v77agHHP.mjs → TransactionDetails-DFDYdDae.mjs} +5 -5
- package/dist/{TransactionStore-Cu_KM_J9.mjs → TransactionStore-BVKUoEHj.mjs} +25 -29
- package/dist/TrendsStore-WrHxzdbQ.mjs +565 -0
- package/dist/{ViewMoreMicroCard-DJoNOqkD.mjs → ViewMoreMicroCard-BZI5VMNW.mjs} +2 -5
- package/dist/{WidgetContainer-QcfqagZD.mjs → WidgetContainer-BHhhVctF.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 +2 -3
- 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 +3 -2
- package/dist/common/api/GlobalCopyApi.d.ts +1 -2
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -2
- package/dist/common/api/NotificationApi.d.ts +2 -2
- package/dist/common/api/ScheduledPaymentsApi.d.ts +2 -3
- package/dist/common/api/UserApi.d.ts +2 -2
- package/dist/common/context/GlobalDataProvider.d.ts +2 -3
- package/dist/common/context/hooks.d.ts +1 -4
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +315 -321
- package/dist/common/stores/GlobalStore.d.ts +1 -2
- package/dist/common/types/index.d.ts +0 -1
- package/dist/common/utils/Fetch.d.ts +1 -3
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +197 -180
- package/dist/{exportTransactionsToCSV-DpP_a1g8.mjs → exportTransactionsToCSV-B4JW8rfR.mjs} +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +1 -2
- package/dist/finstrong/index.es.js +7 -7
- package/dist/goals/api/GoalApi.d.ts +2 -3
- package/dist/goals/index.es.js +11 -11
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-DkUqN6JE.mjs +71 -0
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/api/HoldingApi.d.ts +2 -3
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/api/MerchantApi.d.ts +1 -2
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -2
- 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 +2 -3
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/api/TransactionApi.d.ts +2 -3
- package/dist/transactions/index.es.js +14 -14
- package/dist/trends/index.es.js +10 -10
- package/dist/{useCombineEvents-Dbjzfwvo.mjs → useCombineEvents-DaDBSR_1.mjs} +29 -29
- package/package.json +1 -1
- package/dist/MerchantStore-h96aTml7.mjs +0 -37
- package/dist/TrendsStore-B4Q-iLX0.mjs +0 -547
- package/dist/common/types/Handlers.d.ts +0 -2
- package/dist/hooks-DcS6DyRl.mjs +0 -74
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fromUnixTime as c } from "date-fns/fromUnixTime";
|
|
2
2
|
import { c as u } from "./Category-CevNQ03n.mjs";
|
|
3
3
|
import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
|
|
4
|
-
import { T as g } from "./Transaction-
|
|
4
|
+
import { T as g } from "./Transaction-Dns0Kuuy.mjs";
|
|
5
5
|
function f(n) {
|
|
6
6
|
return new Set(
|
|
7
7
|
n.filter((e) => e.parent_guid !== void 0).map((e) => e.parent_guid)
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
-
import { GlobalErrorHandler } from '../../common/types';
|
|
3
2
|
export declare class FinstrongApi {
|
|
4
3
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string
|
|
4
|
+
constructor(endpoint: string, token: string);
|
|
6
5
|
calculateHealthScore: () => Promise<any>;
|
|
7
6
|
getAverageHealthScores: () => Promise<any>;
|
|
8
7
|
getHealthScoreChangeReports: (startDate: number, endDate: number) => Promise<any>;
|
|
@@ -17,20 +17,20 @@ import Ne from "@mui/material/ListItemText";
|
|
|
17
17
|
import { b } from "../Localization-2MODESHW.mjs";
|
|
18
18
|
import * as ce from "d3";
|
|
19
19
|
import { observer as I } from "mobx-react-lite";
|
|
20
|
-
import { u as S, a as z, w as $, o as Y, c as fe, g as ye, k as Ke } from "../hooks-
|
|
20
|
+
import { u as S, a as z, w as $, o as Y, c as fe, g as ye, k as Ke } from "../hooks-DkUqN6JE.mjs";
|
|
21
21
|
import { L as N } from "../Loader-Dp1P2gNw.mjs";
|
|
22
|
-
import { F as No, a as Ko } from "../FinstrongStore-
|
|
22
|
+
import { F as No, a as Ko } from "../FinstrongStore-mkALvztw.mjs";
|
|
23
23
|
import q from "@mui/material/Button";
|
|
24
24
|
import J from "@mui/material/Card";
|
|
25
|
-
import { L as be } from "../LineChart-
|
|
26
|
-
import { h as xe } from "../ConnectDrawer-
|
|
25
|
+
import { L as be } from "../LineChart-BWWmmJxV.mjs";
|
|
26
|
+
import { h as xe } from "../ConnectDrawer-BA9H_xx8.mjs";
|
|
27
27
|
import Xe from "@mui/material/Accordion";
|
|
28
28
|
import je from "@mui/material/AccordionDetails";
|
|
29
29
|
import Ue from "@mui/material/AccordionSummary";
|
|
30
30
|
import Ve from "@mui/material/CardHeader";
|
|
31
31
|
import { u as Ye } from "../useDimensions-27p2evRx.mjs";
|
|
32
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
32
|
+
import { C as qe } from "../ConnectionsDrawer-Bs-NUsAs.mjs";
|
|
33
|
+
import { R as Je } from "../RecurringSettings-BD_CIXnV.mjs";
|
|
34
34
|
import Qe from "@mui/material/TextField";
|
|
35
35
|
import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as Ze } from "../Dialog-CWW597AF.mjs";
|
|
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
|
|
|
48
48
|
import lt from "@mui/lab/TimelineContent";
|
|
49
49
|
import dt from "@mui/lab/TimelineDot";
|
|
50
50
|
import pt from "@mui/lab/TimelineSeparator";
|
|
51
|
-
import { W as mt } from "../WidgetContainer-
|
|
51
|
+
import { W as mt } from "../WidgetContainer-BHhhVctF.mjs";
|
|
52
52
|
var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
|
|
53
53
|
const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
54
54
|
Be,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Fetch, MonthlyCashFlowProfile, RetirementGoalAccount } from '../../common';
|
|
2
|
-
import { GlobalErrorHandler, Goal } from '../../common/types';
|
|
1
|
+
import { Fetch, Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from '../../common';
|
|
3
2
|
export declare class GoalApi {
|
|
4
3
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string
|
|
4
|
+
constructor(endpoint: string, token: string);
|
|
6
5
|
addGoal: (goal: Goal) => Promise<any>;
|
|
7
6
|
addRetirementGoal: (goal: Goal) => Promise<any>;
|
|
8
7
|
addRetirementGoalAccount: (retirementAccount: RetirementGoalAccount) => Promise<any>;
|
package/dist/goals/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as fe, T as m, a as Oe, M as J, C as ye, b as Le, G as pe } from "../GoalStore-
|
|
2
|
-
import { c as Hn, d as Xn } from "../GoalStore-
|
|
1
|
+
import { g as fe, T as m, a as Oe, M as J, C as ye, b as Le, G as pe } from "../GoalStore-BH5TWxYr.mjs";
|
|
2
|
+
import { c as Hn, d as Xn } from "../GoalStore-BH5TWxYr.mjs";
|
|
3
3
|
import { jsxs as i, jsx as e, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import y from "react";
|
|
5
5
|
import { observer as D } from "mobx-react-lite";
|
|
@@ -17,14 +17,14 @@ import he from "@mui/material/Unstable_Grid2";
|
|
|
17
17
|
import oe from "@mui/material/Avatar";
|
|
18
18
|
import ze from "@mui/material/CardHeader";
|
|
19
19
|
import { Payments as Se, NoteStack as Re, Person as ve, ChevronRight as M, DragHandle as He, CheckCircle as Xe, Icon as be, ExpandLess as $e, ExpandMore as Ue, AddBox as xe, Trophy as Ye } from "@mxenabled/mx-icons";
|
|
20
|
-
import { u as T, j as E, c as P, o as Ee, e as Ie, a as Ge } from "../hooks-
|
|
20
|
+
import { u as T, j as E, c as P, o as Ee, e as Ie, a as Ge } from "../hooks-DkUqN6JE.mjs";
|
|
21
21
|
import { u as _e } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { f as x } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
23
23
|
import { S as Ze } from "../StatusBar-BK_uYHAB.mjs";
|
|
24
24
|
import R from "@mui/material/Divider";
|
|
25
25
|
import B from "@mui/material/List";
|
|
26
|
-
import { L as ee } from "../ListItemAction-
|
|
27
|
-
import { C as Ne } from "../CurrencyInput-
|
|
26
|
+
import { L as ee } from "../ListItemAction-DNZZ5fSa.mjs";
|
|
27
|
+
import { C as Ne } from "../CurrencyInput-bEx2Mbd0.mjs";
|
|
28
28
|
import { fromUnixTime as Q } from "date-fns/fromUnixTime";
|
|
29
29
|
import N from "@mui/material/ListItem";
|
|
30
30
|
import k from "@mui/material/ListItemButton";
|
|
@@ -37,24 +37,24 @@ import V from "@mui/material/ListItemAvatar";
|
|
|
37
37
|
import Qe from "@mui/material/Collapse";
|
|
38
38
|
import et from "@mui/material/ListItemIcon";
|
|
39
39
|
import tt from "@mui/material/Checkbox";
|
|
40
|
-
import { A as ge } from "../ConnectDrawer-
|
|
41
|
-
import { u as nt, A as ot } from "../AccountDetailsHeader-
|
|
42
|
-
import { A as at } from "../AccountDetailsContent-
|
|
40
|
+
import { A as ge } from "../ConnectDrawer-BA9H_xx8.mjs";
|
|
41
|
+
import { u as nt, A as ot } from "../AccountDetailsHeader-vSwO-5Wk.mjs";
|
|
42
|
+
import { A as at } from "../AccountDetailsContent-BmQ5a3Lk.mjs";
|
|
43
43
|
import ke from "@mui/material/TextField";
|
|
44
|
-
import { M as rt, I as it, O as st } from "../OriginalBalanceAction-
|
|
44
|
+
import { M as rt, I as it, O as st } from "../OriginalBalanceAction-DepsKiJz.mjs";
|
|
45
45
|
import { getUnixTime as lt } from "date-fns/getUnixTime";
|
|
46
46
|
import { isValid as ct } from "date-fns/isValid";
|
|
47
47
|
import { AdapterDateFns as dt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
48
48
|
import { DatePicker as mt } from "@mui/x-date-pickers";
|
|
49
49
|
import { LocalizationProvider as ut } from "@mui/x-date-pickers/LocalizationProvider";
|
|
50
50
|
import { E as _t } from "../EmptyState-Dcb-o2tl.mjs";
|
|
51
|
-
import { A as Y, W as pt } from "../WidgetContainer-
|
|
51
|
+
import { A as Y, W as pt } from "../WidgetContainer-BHhhVctF.mjs";
|
|
52
52
|
import { L as we } from "../Loader-Dp1P2gNw.mjs";
|
|
53
53
|
import ht from "@mui/material/Stack/Stack";
|
|
54
54
|
import bt from "@mui/material/Box";
|
|
55
55
|
import gt from "@mui/material/styles/useTheme";
|
|
56
56
|
import { S as ft } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
57
|
-
import { M as yt } from "../MicroWidgetContainer-
|
|
57
|
+
import { M as yt } from "../MicroWidgetContainer-Dxz8uBN9.mjs";
|
|
58
58
|
function ce({ title: t, subtitle: n }) {
|
|
59
59
|
return /* @__PURE__ */ i(g, { children: [
|
|
60
60
|
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: t }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
-
import {
|
|
2
|
+
import { Ticket } from '../../common/types/Help';
|
|
3
3
|
export declare class HelpApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string
|
|
5
|
+
constructor(endpoint: string, token: string);
|
|
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-B3oENhkG.mjs";
|
|
4
|
+
import { a as s } from "../hooks-DkUqN6JE.mjs";
|
|
5
5
|
import { L as p } from "../Loader-Dp1P2gNw.mjs";
|
|
6
|
-
import { W as a } from "../WidgetContainer-
|
|
6
|
+
import { W as a } from "../WidgetContainer-BHhhVctF.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,71 @@
|
|
|
1
|
+
import r from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
const a = r.createContext(null), g = ({
|
|
4
|
+
children: t,
|
|
5
|
+
globalStore: e,
|
|
6
|
+
onEvent: s,
|
|
7
|
+
onPageView: l
|
|
8
|
+
}) => /* @__PURE__ */ n(
|
|
9
|
+
a.Provider,
|
|
10
|
+
{
|
|
11
|
+
value: {
|
|
12
|
+
globalStore: e,
|
|
13
|
+
onEvent: s,
|
|
14
|
+
onPageView: l,
|
|
15
|
+
children: t
|
|
16
|
+
},
|
|
17
|
+
children: t
|
|
18
|
+
}
|
|
19
|
+
), S = r.createContext(null), b = ({ children: t, availableHeight: e, availableWidth: s }) => /* @__PURE__ */ n(
|
|
20
|
+
S.Provider,
|
|
21
|
+
{
|
|
22
|
+
value: {
|
|
23
|
+
availableHeight: e,
|
|
24
|
+
availableWidth: s,
|
|
25
|
+
children: t
|
|
26
|
+
},
|
|
27
|
+
children: t
|
|
28
|
+
}
|
|
29
|
+
), o = (t = "useGlobalStore") => {
|
|
30
|
+
const e = r.useContext(a);
|
|
31
|
+
if (!e)
|
|
32
|
+
throw new Error(`${t}() must be used within the GlobalDataContext`);
|
|
33
|
+
return e;
|
|
34
|
+
}, C = () => o("useAccountStore").globalStore.accountStore, d = () => o("useAppConfig").globalStore.appDataStore.appConfig, p = () => o("useAnalyticsStore").globalStore.analyticsStore, h = () => o("useBudgetsStore").globalStore.budgetsStore, x = () => o("useCashflowStore").globalStore.cashflowStore, f = () => o("useCategoryStore").globalStore.categoryStore, w = () => o("useConnectStore").globalStore.connectStore, G = () => o("useDebtsStore").globalStore.debtsStore, v = () => o("useFinstrongStore").globalStore.finstrongStore, y = () => o("useGlobalStore").globalStore, W = () => o("useGlobalUiStore").globalStore.globalUiStore, m = () => 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, E = () => o("useNetWorthStore").globalStore.netWorthStore, U = () => o("useNotificationStore").globalStore.notificationStore, H = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, N = () => o("useSettingsStore").globalStore.settingsStore, B = () => o("useTransactionStore").globalStore.transactionStore, R = () => o("useTrendsStore").globalStore.trendsStore, V = () => o("useUserStore").globalStore.userStore, j = () => ({ onEvent: o().onEvent }), F = () => ({ onPageView: o().onPageView }), u = (t = "useWidgetContainerContext") => {
|
|
35
|
+
const e = r.useContext(S);
|
|
36
|
+
if (!e)
|
|
37
|
+
throw new Error(`${t}() must be used within the WidgetContainerContext`);
|
|
38
|
+
return e;
|
|
39
|
+
}, M = () => u();
|
|
40
|
+
export {
|
|
41
|
+
g as A,
|
|
42
|
+
S as B,
|
|
43
|
+
a as G,
|
|
44
|
+
b as W,
|
|
45
|
+
W as a,
|
|
46
|
+
T as b,
|
|
47
|
+
C as c,
|
|
48
|
+
w as d,
|
|
49
|
+
j as e,
|
|
50
|
+
B as f,
|
|
51
|
+
h as g,
|
|
52
|
+
H as h,
|
|
53
|
+
p as i,
|
|
54
|
+
P as j,
|
|
55
|
+
f as k,
|
|
56
|
+
y as l,
|
|
57
|
+
d as m,
|
|
58
|
+
U as n,
|
|
59
|
+
V as o,
|
|
60
|
+
M as p,
|
|
61
|
+
E as q,
|
|
62
|
+
N as r,
|
|
63
|
+
D as s,
|
|
64
|
+
x as t,
|
|
65
|
+
m as u,
|
|
66
|
+
R as v,
|
|
67
|
+
v as w,
|
|
68
|
+
G as x,
|
|
69
|
+
A as y,
|
|
70
|
+
F as z
|
|
71
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Fetch } from '../../common';
|
|
2
|
-
import { GlobalErrorHandler, Holding } from '../../common/types';
|
|
1
|
+
import { Fetch, Holding } from '../../common';
|
|
3
2
|
export declare class HoldingApi {
|
|
4
3
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string
|
|
4
|
+
constructor(endpoint: string, token: string);
|
|
6
5
|
getHoldings: () => Promise<any>;
|
|
7
6
|
updateHoldings: (holding: Holding) => Promise<any>;
|
|
8
7
|
}
|
|
@@ -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-Bs-NUsAs.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-DkUqN6JE.mjs";
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-BHhhVctF.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,8 +1,7 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
-
import { GlobalErrorHandler } from '../../common/types';
|
|
3
2
|
export declare class MerchantApi {
|
|
4
3
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string
|
|
4
|
+
constructor(endpoint: string, token: string);
|
|
6
5
|
getMerchants: (searchValues?: string[], guids?: string[], page?: number, perPage?: number) => Promise<any>;
|
|
7
6
|
getMerchantByGuid: (guid: string) => Promise<any>;
|
|
8
7
|
}
|
|
@@ -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-DkUqN6JE.mjs";
|
|
16
16
|
import { L as p } from "../Loader-Dp1P2gNw.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-DVH-QOf0.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,9 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { GlobalEventHandler } from '../../common';
|
|
3
2
|
import { AppStore } from '../stores/AppStore';
|
|
4
3
|
export interface InsightsMicroWidgetContextTypes {
|
|
5
4
|
children: React.ReactNode;
|
|
6
|
-
onEvent:
|
|
5
|
+
onEvent: (event: string, props?: object) => void;
|
|
7
6
|
onPageview: (page: string) => void;
|
|
8
7
|
store: AppStore;
|
|
9
8
|
}
|
|
@@ -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: (event: string, props?: object) => void;
|
|
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-BZI5VMNW.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-DkUqN6JE.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-BWWmmJxV.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-NKD8a-19.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-NKD8a-19.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-BHhhVctF.mjs";
|
|
27
27
|
import { L as O } from "../Loader-Dp1P2gNw.mjs";
|
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-Dxz8uBN9.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-Bs-NUsAs.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-CkFKy79O.mjs";
|
|
3
|
+
import { s as L } from "../NotificationStore-DHtSGySy.mjs";
|
|
4
|
+
import { N as Nt, f as St } from "../NotificationStore-DHtSGySy.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-DkUqN6JE.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-Dp1P2gNw.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
20
|
+
import { N as H } from "../NotificationSettings-uXVwpIa1.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,
|
|
1
|
+
import { Fetch, 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);
|
|
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-BD_CIXnV.mjs";
|
|
12
|
+
import { M as An } from "../RecurringSettings-BD_CIXnV.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-DkUqN6JE.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-D62XJtdL.mjs";
|
|
34
|
+
import { R as Gn } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
35
|
+
import { A as _, W as at } from "../WidgetContainer-BHhhVctF.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-DCUX6T2b.mjs";
|
|
45
|
+
import { c as On, M as kn, S as Wn } from "../ManageIncome-DCUX6T2b.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-Dp1P2gNw.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-CTyjmE1h.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-Dxz8uBN9.mjs";
|
|
57
57
|
const Z = {
|
|
58
58
|
gridRow: 1,
|
|
59
59
|
gridColumn: 1,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../../common/utils/Fetch';
|
|
2
|
-
import { UserCommunicationProfile } from '../../common';
|
|
3
|
-
import { Device, GlobalErrorHandler, NotificationProfile } from '../../common/types';
|
|
2
|
+
import { Device, NotificationProfile, UserCommunicationProfile } from '../../common';
|
|
4
3
|
export declare class SettingsApi {
|
|
5
4
|
fetchInstance: Fetch;
|
|
6
|
-
constructor(endpoint: string, token: string
|
|
5
|
+
constructor(endpoint: string, token: string);
|
|
7
6
|
deleteDevice: (guid: string) => Promise<any>;
|
|
8
7
|
generateDeviceToken: () => Promise<any>;
|
|
9
8
|
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-B4gi6oOw.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-uXVwpIa1.mjs";
|
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-uXVwpIa1.mjs";
|
|
21
|
+
import { u as k, m as $, r as A, o as De, a as Z, k as ee } from "../hooks-DkUqN6JE.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-Dp1P2gNw.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-BPvjZ-Xo.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-B3oENhkG.mjs";
|
|
45
|
+
import { W as K } from "../WidgetContainer-BHhhVctF.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-DkUqN6JE.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-Dp1P2gNw.mjs";
|
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
21
|
+
import { M as St } from "../MiniWidgetContainer-CTyjmE1h.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-DFDYdDae.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-BHhhVctF.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,8 +1,7 @@
|
|
|
1
|
-
import { Fetch } from '../../common';
|
|
2
|
-
import { GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule } from '../../common/types';
|
|
1
|
+
import { Fetch, Tag, Tagging, Transaction, TransactionRule } from '../../common';
|
|
3
2
|
export declare class TransactionApi {
|
|
4
3
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string
|
|
4
|
+
constructor(endpoint: string, token: string);
|
|
6
5
|
addTag: (tag: Tag) => Promise<any>;
|
|
7
6
|
addTagging: (tagging: Tagging) => Promise<any>;
|
|
8
7
|
addTransaction: (transaction: Transaction) => Promise<any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { T as ha } from "../TransactionApi-
|
|
2
|
-
import { u as B, C as Le, D as Re, M as He, c as Be, T as Pe, a as $e } from "../TransactionDetails-
|
|
3
|
-
import { B as Ca, d as ya, b as ba } from "../TransactionDetails-
|
|
4
|
-
import { T as M } from "../Transaction-
|
|
5
|
-
import { O as Aa } from "../Transaction-
|
|
6
|
-
import { S as ee, D as Ve } from "../TransactionStore-
|
|
7
|
-
import { T as xa } from "../TransactionStore-
|
|
8
|
-
import { e as We } from "../exportTransactionsToCSV-
|
|
9
|
-
import { E as Ia } from "../ExportCsvAction-
|
|
1
|
+
import { T as ha } from "../TransactionApi-DbbcjI2L.mjs";
|
|
2
|
+
import { u as B, C as Le, D as Re, M as He, c as Be, T as Pe, a as $e } from "../TransactionDetails-DFDYdDae.mjs";
|
|
3
|
+
import { B as Ca, d as ya, b as ba } from "../TransactionDetails-DFDYdDae.mjs";
|
|
4
|
+
import { T as M } from "../Transaction-Dns0Kuuy.mjs";
|
|
5
|
+
import { O as Aa } from "../Transaction-Dns0Kuuy.mjs";
|
|
6
|
+
import { S as ee, D as Ve } from "../TransactionStore-BVKUoEHj.mjs";
|
|
7
|
+
import { T as xa } from "../TransactionStore-BVKUoEHj.mjs";
|
|
8
|
+
import { e as We } from "../exportTransactionsToCSV-B4JW8rfR.mjs";
|
|
9
|
+
import { E as Ia } from "../ExportCsvAction-CvyiKLTh.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 Ue } from "@mui/x-data-grid-pro";
|
|
|
15
15
|
import A from "@mui/material/Box";
|
|
16
16
|
import { useTheme as Fe } from "@mui/material/styles";
|
|
17
17
|
import { Text as C, Icon as H, MerchantLogo as ze, TextField as te, P as Ke } from "@mxenabled/mxui";
|
|
18
|
-
import { f as P, u as x, a as K, c as re, k as qe, m as je, e as Xe, o as Ye } from "../hooks-
|
|
18
|
+
import { f as P, u as x, a as K, c as re, k as qe, m as je, e as Xe, o as Ye } from "../hooks-DkUqN6JE.mjs";
|
|
19
19
|
import { fromUnixTime as Je } from "date-fns/fromUnixTime";
|
|
20
20
|
import { f as Qe, D as Ze, a as se } from "../Dialog-CWW597AF.mjs";
|
|
21
21
|
import N from "@mui/material/Stack";
|
|
@@ -26,15 +26,15 @@ import { getUnixTime as tt } from "date-fns/getUnixTime";
|
|
|
26
26
|
import { startOfMonth as at } from "date-fns/startOfMonth";
|
|
27
27
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
28
28
|
import nt from "@mui/material/styles/useTheme";
|
|
29
|
-
import { h as ot } from "../ConnectDrawer-
|
|
29
|
+
import { h as ot } from "../ConnectDrawer-BA9H_xx8.mjs";
|
|
30
30
|
import rt from "@mui/material/Divider";
|
|
31
31
|
import st from "@mui/material/MenuItem";
|
|
32
32
|
import it from "@mui/material/RadioGroup";
|
|
33
33
|
import { ExpandMore as ct } from "@mxenabled/mx-icons";
|
|
34
|
-
import { C as lt } from "../CurrencyInput-
|
|
35
|
-
import { a as dt, u as ut } from "../CategorySelectorDrawer-
|
|
34
|
+
import { C as lt } from "../CurrencyInput-bEx2Mbd0.mjs";
|
|
35
|
+
import { a as dt, u as ut } from "../CategorySelectorDrawer-BPvjZ-Xo.mjs";
|
|
36
36
|
import { b as ae } from "../Localization-2MODESHW.mjs";
|
|
37
|
-
import { A as T, W as mt } from "../WidgetContainer-
|
|
37
|
+
import { A as T, W as mt } from "../WidgetContainer-BHhhVctF.mjs";
|
|
38
38
|
import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
39
39
|
import { S as pt } from "../SearchBox-B2_zLv8-.mjs";
|
|
40
40
|
import { D as ne } from "../Drawer-kEE73B87.mjs";
|