@mx-cartographer/experiences 7.0.32-alpha-recurring-transactions-navigation-issue-ram2 → 7.0.33
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-CK-DrCEa.mjs → Account-DeMa6XJz.mjs} +1 -1
- package/dist/{AccountDetailsContent-BGXM8acm.mjs → AccountDetailsContent-BwTOak3W.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Dwk01nsY.mjs → AccountDetailsHeader-BCW4d-j4.mjs} +5 -5
- package/dist/{AccountFields-5i77eFJ6.mjs → AccountFields-B-igjxt-.mjs} +2 -2
- package/dist/{AccountListItem-BiST9IgK.mjs → AccountListItem-DAF9c7_x.mjs} +3 -3
- package/dist/{AccountStore-DiGbJBUT.mjs → AccountStore-Bzy6rKGo.mjs} +26 -26
- package/dist/{Accounts-BBkQjUmS.mjs → Accounts-DNMSlq9A.mjs} +1 -1
- package/dist/{BeatApi-DLu87ijw.mjs → BeatApi-DhJpgCLz.mjs} +3 -3
- package/dist/{BeatStore-By4aGoRM.mjs → BeatStore-IBnXd4YK.mjs} +17 -17
- package/dist/{BudgetUtil-D5jO0box.mjs → BudgetUtil-Iw9hUxhI.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-joMax4Fb.mjs → CategorySelectorDrawer-CMorcKFW.mjs} +1 -1
- package/dist/{CategoryStore-BOyzQjQp.mjs → CategoryStore-BCcpI3oJ.mjs} +4 -4
- package/dist/{ConnectDrawer-D86nRDxQ.mjs → ConnectDrawer-jeSmGg38.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BkNr5Up0.mjs → ConnectionsDrawer-hdOVHICr.mjs} +2 -2
- package/dist/{CurrencyInput-BkflFU_-.mjs → CurrencyInput-C0wTgNV6.mjs} +1 -1
- package/dist/{DebtsStore-qrqY9Abz.mjs → DebtsStore-C2OfwE0t.mjs} +1 -1
- package/dist/{ExportCsvAction-DRfdZis1.mjs → ExportCsvAction-BlKpQTTL.mjs} +3 -3
- package/dist/{Fetch-CkFKy79O.mjs → Fetch-87LIQbEA.mjs} +11 -10
- package/dist/{FinstrongStore-mkALvztw.mjs → FinstrongStore-F2c607dj.mjs} +4 -4
- package/dist/{GoalStore-BQRcowCN.mjs → GoalStore-D2A2Lqd5.mjs} +6 -6
- package/dist/{Help-B3dFeYi2.mjs → Help-DwKXfnqC.mjs} +1 -1
- package/dist/{LineChart-Dyps2sOy.mjs → LineChart-DNC5UEt4.mjs} +1 -1
- package/dist/{ListItemAction-BgKx_n6d.mjs → ListItemAction-Dt9A2GQk.mjs} +1 -1
- package/dist/{ManageIncome-Byw3lVtR.mjs → ManageIncome-C0CbczlY.mjs} +4 -4
- package/dist/MerchantStore-DrFvsUyy.mjs +37 -0
- package/dist/{MicroWidgetContainer-DPDsZIiS.mjs → MicroWidgetContainer-DVRe-MJs.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BzW7V_04.mjs → MiniWidgetContainer-C_N1u9ad.mjs} +1 -1
- package/dist/{NetWorthStore-DWG9Mkuu.mjs → NetWorthStore-CD4WWdXC.mjs} +2 -2
- package/dist/{NotificationSettings-B9wNyWEL.mjs → NotificationSettings-CtbJFbrv.mjs} +3 -3
- package/dist/{NotificationStore-DHtSGySy.mjs → NotificationStore-C6PH6MKm.mjs} +8 -4
- package/dist/{OriginalBalanceAction-B--pIAF0.mjs → OriginalBalanceAction-CqQ5j4OW.mjs} +3 -3
- package/dist/{RecurringSettings-ClbdFNWX.mjs → RecurringSettings-DR9KuVEN.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-D62XJtdL.mjs → RecurringTransactionsStore-DeLXfuC4.mjs} +20 -16
- package/dist/{SettingsStore-B0kRTFjD.mjs → SettingsStore-Dc34Tzx8.mjs} +33 -29
- package/dist/{TransactionApi-DbbcjI2L.mjs → TransactionApi-B3Tksf7L.mjs} +29 -29
- package/dist/{TransactionDetails-C4PW8SRL.mjs → TransactionDetails-BafSm7_T.mjs} +5 -5
- package/dist/{TransactionStore-CZOvxcSw.mjs → TransactionStore-C4LPHwzx.mjs} +29 -25
- package/dist/{TrendsStore-pvzHAX6B.mjs → TrendsStore-BM-JjAs5.mjs} +1 -1
- package/dist/{User-D-O9EHMb.mjs → User-BYkzrOdM.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-DFAY0tA8.mjs → ViewMoreMicroCard-C66pzgfS.mjs} +5 -2
- package/dist/{WidgetContainer-CBpf3h1Y.mjs → WidgetContainer-CPBhSP3k.mjs} +2 -2
- package/dist/accounts/api/AccountApi.d.ts +2 -2
- package/dist/accounts/index.es.js +13 -13
- 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 +252 -246
- package/dist/common/stores/GlobalStore.d.ts +3 -2
- 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-zyHeWfQo.mjs → exportTransactionsToCSV-21c0EV3t.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 +11 -11
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-BhSK6dal.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 +430 -697
- 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 +11 -11
- package/dist/{useCombineEvents-DaDBSR_1.mjs → useCombineEvents-BUDIR1ba.mjs} +29 -29
- package/dist/{useInsightsEnabled-fGr6xrSj.mjs → useInsightsEnabled-DqM4sFO1.mjs} +1 -1
- package/package.json +1 -1
- package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
- package/dist/hooks-DlI63qSB.mjs +0 -71
|
@@ -11,29 +11,29 @@ import { fromUnixTime as u } from "date-fns/fromUnixTime";
|
|
|
11
11
|
import { getUnixTime as h } from "date-fns/getUnixTime";
|
|
12
12
|
import { isBefore as B } from "date-fns/isBefore";
|
|
13
13
|
import { startOfMonth as R } from "date-fns/startOfMonth";
|
|
14
|
-
import { startOfToday as
|
|
14
|
+
import { startOfToday as G } from "date-fns/startOfToday";
|
|
15
15
|
import { subDays as Y } from "date-fns/subDays";
|
|
16
|
-
import { O as n, a as
|
|
17
|
-
import { T as p } from "./TransactionApi-
|
|
16
|
+
import { O as n, a as b, T as F } from "./User-BYkzrOdM.mjs";
|
|
17
|
+
import { T as p } from "./TransactionApi-B3Tksf7L.mjs";
|
|
18
18
|
import { b as W } from "./Category-CevNQ03n.mjs";
|
|
19
|
-
import { f as z } from "./exportTransactionsToCSV-
|
|
19
|
+
import { f as z } from "./exportTransactionsToCSV-21c0EV3t.mjs";
|
|
20
20
|
import { format as k } from "date-fns/format";
|
|
21
21
|
import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
|
|
22
22
|
import { endOfMonth as X } from "date-fns/endOfMonth";
|
|
23
|
-
import { B as f } from "./BeatApi-
|
|
23
|
+
import { B as f } from "./BeatApi-DhJpgCLz.mjs";
|
|
24
24
|
const j = ({
|
|
25
|
-
checked:
|
|
25
|
+
checked: N = !1,
|
|
26
26
|
label: t,
|
|
27
27
|
sx: a = {},
|
|
28
28
|
tooltip: e = "",
|
|
29
29
|
value: A
|
|
30
30
|
}) => {
|
|
31
|
-
const _ = K(), i = _.palette.mode === "light" ? _.palette.grey[400] : _.palette.grey[700], c =
|
|
31
|
+
const _ = K(), i = _.palette.mode === "light" ? _.palette.grey[400] : _.palette.grey[700], c = N ? _.palette.action.active : i;
|
|
32
32
|
return /* @__PURE__ */ C(
|
|
33
33
|
H,
|
|
34
34
|
{
|
|
35
35
|
bgcolor: "background.paper",
|
|
36
|
-
border: `${
|
|
36
|
+
border: `${N ? 3 : 1}px solid`,
|
|
37
37
|
borderColor: c,
|
|
38
38
|
borderRadius: 2,
|
|
39
39
|
mt: -2,
|
|
@@ -322,14 +322,14 @@ const j = ({
|
|
|
322
322
|
category: o.TRANSACTIONS_WIDGET,
|
|
323
323
|
label: r.DELETE_TRANSACTION
|
|
324
324
|
}
|
|
325
|
-
}, Z = async (
|
|
325
|
+
}, Z = async (N, t) => !t || !m[N] ? null : t.sendAnalyticEvent(m[N]), L = {
|
|
326
326
|
FLAG: "flag",
|
|
327
327
|
DATE: "date",
|
|
328
328
|
PAYEE: "payee",
|
|
329
329
|
CATEGORY: "category",
|
|
330
330
|
ACCOUNT: "account",
|
|
331
331
|
AMOUNT: "amount"
|
|
332
|
-
}, q = (
|
|
332
|
+
}, q = (N, t, a, e = []) => {
|
|
333
333
|
const A = t.reduce((c, s) => ({ ...c, [s.guid]: s }), {}), _ = a.reduce((c, s) => ({ ...c, [s.guid]: s }), {}), i = e.reduce((c, s) => {
|
|
334
334
|
const { transaction_guid: l, tag_guid: I } = s;
|
|
335
335
|
if (!c[l])
|
|
@@ -343,7 +343,7 @@ const j = ({
|
|
|
343
343
|
[l]: E
|
|
344
344
|
};
|
|
345
345
|
}, {});
|
|
346
|
-
return
|
|
346
|
+
return N.map((c) => {
|
|
347
347
|
const s = A[c.account_guid], l = c.category_guid ? _[c.category_guid] : null, I = i[c.guid] ?? [];
|
|
348
348
|
return {
|
|
349
349
|
...c,
|
|
@@ -352,42 +352,42 @@ const j = ({
|
|
|
352
352
|
accountIsHidden: s?.is_hidden,
|
|
353
353
|
category: l?.name || "Uncategorized",
|
|
354
354
|
isIncome: c.top_level_category_guid === W.INCOME,
|
|
355
|
-
isPending: c.feed_status ===
|
|
355
|
+
isPending: c.feed_status === b.PENDING,
|
|
356
356
|
number: s?.account_number || "",
|
|
357
357
|
payee: c.description,
|
|
358
358
|
tags: I
|
|
359
359
|
};
|
|
360
360
|
});
|
|
361
|
-
}, J = "uncategorized", Q = (
|
|
362
|
-
const i = tt(
|
|
361
|
+
}, J = "uncategorized", Q = (N, t, a, e, A, _) => {
|
|
362
|
+
const i = tt(N, A, _), c = at(i, a, e);
|
|
363
363
|
return t.forEach((s) => {
|
|
364
364
|
const l = c.findIndex((E) => E.guid === s), I = _.filter((E) => E.parent_guid === s);
|
|
365
365
|
c.splice(l + 1, 0, ...I);
|
|
366
366
|
}), c;
|
|
367
|
-
}, tt = (
|
|
367
|
+
}, tt = (N, t, a) => {
|
|
368
368
|
const {
|
|
369
369
|
accounts: e = [],
|
|
370
|
-
dateRange: A = { start: R(
|
|
370
|
+
dateRange: A = { start: R(G()), end: D() },
|
|
371
371
|
custom: _ = () => !0,
|
|
372
372
|
searchTerm: i = "",
|
|
373
373
|
showSplits: c = !1
|
|
374
|
-
} =
|
|
374
|
+
} = N;
|
|
375
375
|
return a.filter((s) => c ? !s.has_been_split : !s.parent_guid).filter((s) => !!e.find((l) => l === s.account_guid)).filter((s) => s.date >= h(A.start) && s.date <= h(A.end)).filter(_).filter((s) => {
|
|
376
376
|
if (i === J && s.has_been_split)
|
|
377
377
|
return !1;
|
|
378
378
|
if (/^spl/i.test(i) && (s.has_been_split || s.parent_guid))
|
|
379
379
|
return !0;
|
|
380
380
|
const I = s.tags.some(
|
|
381
|
-
(x) =>
|
|
381
|
+
(x) => S(i, t.find((M) => M.guid === x)?.name)
|
|
382
382
|
), E = u(s.date);
|
|
383
|
-
return
|
|
383
|
+
return S(i, s.payee) || S(i, s.feed_description) || S(i, s.category) || S(i, g(E, O.MONTH)) || S(i, g(E, O.DAY)) || S(i, g(E, O.FULL_MONTH_DAY)) || S(i, g(E, O.MONTH_DAY_YEAR)) || S(i, k(E, $)) || S(i, s.account) || S(i, `${s.amount}`) || S(i, s.memo) || I;
|
|
384
384
|
});
|
|
385
|
-
}, at = (
|
|
385
|
+
}, at = (N, t, a) => [...N].sort((e, A) => {
|
|
386
386
|
const _ = t, i = (e[_] || "") > (A[_] || "");
|
|
387
387
|
let c = i ? -1 : 1, s = i ? 1 : -1;
|
|
388
388
|
return (t === L.DATE || t === L.AMOUNT) && (c = i ? 1 : -1, s = i ? -1 : 1), a === w.ASC ? c : s;
|
|
389
|
-
}),
|
|
390
|
-
const a =
|
|
389
|
+
}), S = (N, t) => {
|
|
390
|
+
const a = N.toLowerCase().split(" "), e = t?.toString().toLowerCase() ?? "";
|
|
391
391
|
return a.every((A) => e.indexOf(A) > -1);
|
|
392
392
|
}, et = {
|
|
393
393
|
account_guid: "",
|
|
@@ -397,7 +397,7 @@ const j = ({
|
|
|
397
397
|
description: "",
|
|
398
398
|
duplicate: !1,
|
|
399
399
|
feed_description: "",
|
|
400
|
-
feed_status:
|
|
400
|
+
feed_status: b.POSTED,
|
|
401
401
|
feed_transaction_date: 0,
|
|
402
402
|
has_been_split: !1,
|
|
403
403
|
has_been_viewed: !1,
|
|
@@ -465,7 +465,7 @@ class mt {
|
|
|
465
465
|
api = new p("/", "");
|
|
466
466
|
beatApi = new f("/", "");
|
|
467
467
|
associatedBeats = [];
|
|
468
|
-
cachedStartDate = Y(
|
|
468
|
+
cachedStartDate = Y(G(), 90);
|
|
469
469
|
filter = {};
|
|
470
470
|
isLoading = !0;
|
|
471
471
|
rawTransactions = [];
|
|
@@ -476,7 +476,11 @@ class mt {
|
|
|
476
476
|
transactionRules = [];
|
|
477
477
|
onAnalyticEvent = Z;
|
|
478
478
|
constructor(t) {
|
|
479
|
-
this.globalStore = t, this.uiStore = new it(), this.api = new p(
|
|
479
|
+
this.globalStore = t, this.uiStore = new it(), this.api = new p(
|
|
480
|
+
t.endpoint,
|
|
481
|
+
t.sessionToken,
|
|
482
|
+
t.onError
|
|
483
|
+
), this.beatApi = new f(t.endpoint, t.sessionToken, t.onError), y(this);
|
|
480
484
|
}
|
|
481
485
|
loadTransactionData = async ({
|
|
482
486
|
associatedBeats: t,
|
|
@@ -12,7 +12,7 @@ import Dt from "@mui/material/CardContent";
|
|
|
12
12
|
import P from "@mui/material/Divider";
|
|
13
13
|
import X from "@mui/material/Grid";
|
|
14
14
|
import { CategoryIcon as At, Text as S } from "@mxenabled/mxui";
|
|
15
|
-
import { u as Lt, l as Q } from "./hooks-
|
|
15
|
+
import { u as Lt, l as Q } from "./hooks-BhSK6dal.mjs";
|
|
16
16
|
import { b as Rt } from "./Localization-2MODESHW.mjs";
|
|
17
17
|
import { C as O } from "./CurrencyText-YUhH2caW.mjs";
|
|
18
18
|
import { useTheme as wt, Card as Ht, CardContent as It, Box as kt } from "@mui/material";
|
|
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
|
|
|
22
22
|
import nn from "@mui/material/styles/useTheme";
|
|
23
23
|
import k from "@mui/material/ListItem";
|
|
24
24
|
import an from "@mui/material/ListItemButton";
|
|
25
|
-
import { f as tn } from "./hooks-
|
|
25
|
+
import { f as tn } from "./hooks-BhSK6dal.mjs";
|
|
26
26
|
const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
27
27
|
const c = v(), l = en(c);
|
|
28
28
|
return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
|
|
@@ -18,8 +18,8 @@ import { css as qe } from "@mxenabled/cssinjs";
|
|
|
18
18
|
import { b as Je } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import et from "@mui/material/CircularProgress";
|
|
20
20
|
import { makeAutoObservable as se, runInAction as Te } from "mobx";
|
|
21
|
-
import { G as _e, a as tt, u as it, b as ot } from "./useCombineEvents-
|
|
22
|
-
import { B as Ce } from "./BeatApi-
|
|
21
|
+
import { G as _e, a as tt, u as it, b as ot } from "./useCombineEvents-BUDIR1ba.mjs";
|
|
22
|
+
import { B as Ce } from "./BeatApi-DhJpgCLz.mjs";
|
|
23
23
|
import rt from "@mui/material/Card";
|
|
24
24
|
import lt from "@mui/material/CardActions";
|
|
25
25
|
import nt from "@mui/material/CardContent";
|
|
@@ -35,6 +35,9 @@ class ct {
|
|
|
35
35
|
constructor() {
|
|
36
36
|
se(this);
|
|
37
37
|
}
|
|
38
|
+
// NOTE: Not sure if this is special case, but other stores have this deprecation todo
|
|
39
|
+
// DEPRECATED: Initialize api in constructor and use loadCopy instead
|
|
40
|
+
// TODO: Remove this function
|
|
38
41
|
initialize = async (o, t) => {
|
|
39
42
|
this.copyApi = new _e(o, t), await this.loadCopy();
|
|
40
43
|
};
|
|
@@ -12,7 +12,7 @@ import Y from "@mui/material/Stack";
|
|
|
12
12
|
import { Icon as s, Text as j, DateRangePicker as q, H1 as se, H3 as le } from "@mxenabled/mxui";
|
|
13
13
|
import { u as Ce } from "./useDimensions-27p2evRx.mjs";
|
|
14
14
|
import { L as de } from "./Loader-DUaFpDGv.mjs";
|
|
15
|
-
import { f as Te, a as Ie, u as Ee, W as Re } from "./hooks-
|
|
15
|
+
import { f as Te, a as Ie, u as Ee, W as Re } from "./hooks-BhSK6dal.mjs";
|
|
16
16
|
import { u as ae } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { addMonths as J } from "date-fns/addMonths";
|
|
18
18
|
import { addDays as ge } from "date-fns/addDays";
|
|
@@ -36,7 +36,7 @@ import fe from "@mui/material/ToggleButtonGroup";
|
|
|
36
36
|
import be from "@mui/material/styles/useTheme";
|
|
37
37
|
import { f as K, D as G, a as we } from "./Dialog-CWW597AF.mjs";
|
|
38
38
|
import { D as Ke } from "./Drawer-kEE73B87.mjs";
|
|
39
|
-
import { i as Ge, j as Me } from "./ConnectDrawer-
|
|
39
|
+
import { i as Ge, j as Me } from "./ConnectDrawer-jeSmGg38.mjs";
|
|
40
40
|
const We = {
|
|
41
41
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
42
42
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../../common/utils/Fetch';
|
|
2
|
-
import { Account } from '../../common';
|
|
2
|
+
import { Account, GlobalErrorHandler } from '../../common';
|
|
3
3
|
export declare class AccountApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
createAccount: (account: Account) => Promise<any>;
|
|
7
7
|
deleteAccount: (accountGuid: string) => Promise<any>;
|
|
8
8
|
getAccounts: () => Promise<any>;
|
|
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
8
|
import x from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as G } from "../AccountDetailsContent-
|
|
11
|
-
import { u as I1 } from "../AccountDetailsContent-
|
|
12
|
-
import { u as K, A as z } from "../AccountDetailsHeader-
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { a as P } from "../AccountFields-
|
|
15
|
-
import { g as D1, b as U1 } from "../AccountFields-
|
|
16
|
-
import { u as g, a as y, c as T, f as N, m as Y } from "../hooks-
|
|
10
|
+
import { A as G } from "../AccountDetailsContent-BwTOak3W.mjs";
|
|
11
|
+
import { u as I1 } from "../AccountDetailsContent-BwTOak3W.mjs";
|
|
12
|
+
import { u as K, A as z } from "../AccountDetailsHeader-BCW4d-j4.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-DAF9c7_x.mjs";
|
|
14
|
+
import { a as P } from "../AccountFields-B-igjxt-.mjs";
|
|
15
|
+
import { g as D1, b as U1 } from "../AccountFields-B-igjxt-.mjs";
|
|
16
|
+
import { u as g, a as y, c as T, f as N, m as Y } from "../hooks-BhSK6dal.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
18
18
|
import { D as q } from "../Drawer-kEE73B87.mjs";
|
|
19
|
-
import { A, W as J } from "../WidgetContainer-
|
|
20
|
-
import { C as Q } from "../ConnectionsDrawer-
|
|
19
|
+
import { A, W as J } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
20
|
+
import { C as Q } from "../ConnectionsDrawer-hdOVHICr.mjs";
|
|
21
21
|
import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import { j as D } from "../ConnectDrawer-
|
|
24
|
-
import { F as $1, M as G1 } from "../ConnectDrawer-
|
|
23
|
+
import { j as D } from "../ConnectDrawer-jeSmGg38.mjs";
|
|
24
|
+
import { F as $1, M as G1 } from "../ConnectDrawer-jeSmGg38.mjs";
|
|
25
25
|
import e1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as U } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as U } from "../MiniWidgetContainer-C_N1u9ad.mjs";
|
|
27
27
|
import t1 from "@mui/material/Stack";
|
|
28
|
-
import { A as z1, a as P1 } from "../AccountStore-
|
|
28
|
+
import { A as z1, a as P1 } from "../AccountStore-Bzy6rKGo.mjs";
|
|
29
29
|
const l1 = () => {
|
|
30
30
|
const [c, L] = d.useState(""), { accounts: C } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = T(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as B } from "@mxenabled/mxui";
|
|
10
10
|
import { L } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as W } from "../MiniWidgetContainer-
|
|
12
|
-
import { j as f, u as b, f as q, a as E } from "../hooks-
|
|
11
|
+
import { M as W } from "../MiniWidgetContainer-C_N1u9ad.mjs";
|
|
12
|
+
import { j as f, u as b, f as q, a as E } from "../hooks-BhSK6dal.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Budget, Category
|
|
1
|
+
import { Fetch, GlobalErrorHandler, Budget, Category } from '../../common';
|
|
2
2
|
export declare class BudgetsApi {
|
|
3
3
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
4
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
5
|
addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<any>;
|
|
6
6
|
deleteBudget: (guid: string) => Promise<any>;
|
|
7
7
|
getBudgets: () => Promise<any>;
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -7,15 +7,15 @@ import W from "@mui/material/Box";
|
|
|
7
7
|
import _ from "@mui/material/Stack";
|
|
8
8
|
import Q from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Icon as $, Text as g, CategoryIcon as H, H1 as Ge, H3 as Be } from "@mxenabled/mxui";
|
|
10
|
-
import { u as Pe } from "../BudgetUtil-
|
|
11
|
-
import { C as Ne } from "../ConnectionsDrawer-
|
|
10
|
+
import { u as Pe } from "../BudgetUtil-Iw9hUxhI.mjs";
|
|
11
|
+
import { C as Ne } from "../ConnectionsDrawer-hdOVHICr.mjs";
|
|
12
12
|
import * as E from "d3";
|
|
13
13
|
import je from "@mui/material/Tooltip";
|
|
14
|
-
import { h as w, l as j, u as D, f as X, a as ee, p as ze, i as te, g as ne, m as Ue, c as Se } from "../hooks-
|
|
14
|
+
import { h as w, l as j, u as D, f as X, a as ee, p as ze, i as te, g as ne, m as Ue, c as Se } from "../hooks-BhSK6dal.mjs";
|
|
15
15
|
import { L as P } from "../Loader-DUaFpDGv.mjs";
|
|
16
16
|
import { E as ce } from "../EmptyState-C0lr9E5T.mjs";
|
|
17
17
|
import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
18
|
-
import { A as k, W as Fe } from "../WidgetContainer-
|
|
18
|
+
import { A as k, W as Fe } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
19
19
|
import K from "@mui/material/List";
|
|
20
20
|
import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import Ae from "@mui/material/Button";
|
|
@@ -27,26 +27,26 @@ import Z from "@mui/material/ListItemText";
|
|
|
27
27
|
import { b as L } from "../Localization-2MODESHW.mjs";
|
|
28
28
|
import { D as M } from "../Drawer-kEE73B87.mjs";
|
|
29
29
|
import We from "@mui/material/ListItemSecondaryAction";
|
|
30
|
-
import { C as He } from "../CurrencyInput-
|
|
30
|
+
import { C as He } from "../CurrencyInput-C0wTgNV6.mjs";
|
|
31
31
|
import { a as N } from "../Dialog-CWW597AF.mjs";
|
|
32
|
-
import { M as Xe } from "../MiniWidgetContainer-
|
|
32
|
+
import { M as Xe } from "../MiniWidgetContainer-C_N1u9ad.mjs";
|
|
33
33
|
import { isAfter as Ke } from "date-fns/isAfter";
|
|
34
34
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
35
35
|
import Ve from "@mui/material/Alert";
|
|
36
36
|
import Ye from "@mui/material/Snackbar";
|
|
37
37
|
import be from "@mui/material/Tab";
|
|
38
38
|
import Ze from "@mui/material/Tabs";
|
|
39
|
-
import { e as qe } from "../exportTransactionsToCSV-
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
39
|
+
import { e as qe } from "../exportTransactionsToCSV-21c0EV3t.mjs";
|
|
40
|
+
import { T as xe, a as Je } from "../TransactionDetails-BafSm7_T.mjs";
|
|
41
41
|
import ge from "@mui/material/Card";
|
|
42
42
|
import pe from "@mui/material/CardContent";
|
|
43
43
|
import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
|
|
44
44
|
import { S as ve } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { u as Qe, b as et } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as Qe, b as et } from "../CategorySelectorDrawer-CMorcKFW.mjs";
|
|
46
46
|
import Te from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as tt } from "date-fns/subDays";
|
|
48
48
|
import nt from "@mui/material/IconButton";
|
|
49
|
-
import { M as ot } from "../ManageIncome-
|
|
49
|
+
import { M as ot } from "../ManageIncome-C0CbczlY.mjs";
|
|
50
50
|
const ye = 5, at = 100, rt = 25, st = (t) => {
|
|
51
51
|
const o = (a) => {
|
|
52
52
|
a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch
|
|
1
|
+
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler, CashflowEvent, CashflowSequence } from '../../common/types';
|
|
2
3
|
export declare class CashflowApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
addCashflowEvent: (cashflowEvent: CashflowEvent) => Promise<any>;
|
|
6
7
|
addCashflowSequence: (cashflowSequence: CashflowSequence) => Promise<any>;
|
|
7
8
|
getCashflowSequences: () => Promise<CashflowSequence[]>;
|
|
@@ -9,21 +9,21 @@ import D from "@mui/material/Divider";
|
|
|
9
9
|
import r from "@mui/material/Stack";
|
|
10
10
|
import ae from "@mui/material/styles/useTheme";
|
|
11
11
|
import { Text as h, P as k, Icon as F, InstitutionLogo as xe, H1 as le, H2 as Xe } from "@mxenabled/mxui";
|
|
12
|
-
import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, i as q, f as Ne, g as ke } from "../hooks-
|
|
12
|
+
import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, i as q, f as Ne, g as ke } from "../hooks-BhSK6dal.mjs";
|
|
13
13
|
import { C as L } from "../CurrencyText-YUhH2caW.mjs";
|
|
14
14
|
import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
15
15
|
import { L as se } from "../Loader-DUaFpDGv.mjs";
|
|
16
16
|
import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
18
18
|
import { b as X } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { M as Qe } from "../MiniWidgetContainer-
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
19
|
+
import { M as Qe } from "../MiniWidgetContainer-C_N1u9ad.mjs";
|
|
20
|
+
import { R as Ve } from "../RecurringSettings-DR9KuVEN.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import Ce from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
24
24
|
import ee from "@mui/material/List";
|
|
25
25
|
import te from "@mui/material/ListItem";
|
|
26
|
-
import { A as Je } from "../AccountListItem-
|
|
26
|
+
import { A as Je } from "../AccountListItem-DAF9c7_x.mjs";
|
|
27
27
|
import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
|
|
28
28
|
import Ze from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -34,18 +34,18 @@ import { addDays as _e } from "date-fns/addDays";
|
|
|
34
34
|
import { alpha as et, keyframes as tt } from "@mui/material/styles";
|
|
35
35
|
import { DataGridPro as nt } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
|
-
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-
|
|
37
|
+
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-C0CbczlY.mjs";
|
|
38
38
|
import { D as $e } from "../Drawer-kEE73B87.mjs";
|
|
39
39
|
import { formatISO as st } from "date-fns/formatISO";
|
|
40
40
|
import { fromUnixTime as ye } from "date-fns/fromUnixTime";
|
|
41
41
|
import { startOfMonth as ct } from "date-fns/startOfMonth";
|
|
42
42
|
import { subDays as Me } from "date-fns/subDays";
|
|
43
|
-
import { S as lt, b as dt } from "../TransactionDetails-
|
|
43
|
+
import { S as lt, b as dt } from "../TransactionDetails-BafSm7_T.mjs";
|
|
44
44
|
import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
45
45
|
import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
|
|
46
46
|
import { endOfToday as ht } from "date-fns/endOfToday";
|
|
47
|
-
import { W as ve, A as Ae } from "../WidgetContainer-
|
|
48
|
-
import { F as pt, A as B } from "../Fetch-
|
|
47
|
+
import { W as ve, A as Ae } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
48
|
+
import { F as pt, A as B } from "../Fetch-87LIQbEA.mjs";
|
|
49
49
|
const K = () => {
|
|
50
50
|
if (!m.useContext(Ye))
|
|
51
51
|
throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
|
|
@@ -1075,8 +1075,8 @@ const _t = ({ recurrence: i }) => /* @__PURE__ */ o(P, { children: [
|
|
|
1075
1075
|
}, Nn = T(Wt);
|
|
1076
1076
|
class kn {
|
|
1077
1077
|
fetchInstance;
|
|
1078
|
-
constructor(n, t) {
|
|
1079
|
-
this.fetchInstance = new pt(n, t);
|
|
1078
|
+
constructor(n, t, s) {
|
|
1079
|
+
this.fetchInstance = new pt(n, t, void 0, s);
|
|
1080
1080
|
}
|
|
1081
1081
|
addCashflowEvent = async (n) => this.fetchInstance.post(B.CASHFLOW_EVENTS, { ...n }).then((t) => t);
|
|
1082
1082
|
addCashflowSequence = async (n) => this.fetchInstance.post(B.CASHFLOW_SEQUENCES, { ...n }).then((t) => t.cashflow_sequence);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-
|
|
2
|
-
import { C as g } from "../CategoryStore-
|
|
1
|
+
import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-CMorcKFW.mjs";
|
|
2
|
+
import { C as g } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
3
3
|
export {
|
|
4
4
|
o as CategoryRow,
|
|
5
5
|
a as CategorySelector,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Fetch } from '../utils';
|
|
2
|
-
import { AnalyticsEvent } from '../types';
|
|
2
|
+
import { AnalyticsEvent, GlobalErrorHandler } from '../types';
|
|
3
3
|
export declare class AnalyticsApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
initializeAnalyticsSession: (version: string, featureName?: string) => Promise<{
|
|
7
7
|
analytics_session: any;
|
|
8
8
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { AppData } from '../types';
|
|
2
|
+
import { AppData, GlobalErrorHandler } from '../types';
|
|
3
3
|
export declare class AppDataApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
getAppData: () => Promise<AppData>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { Beat } from '../types';
|
|
2
|
+
import { Beat, GlobalErrorHandler } from '../types';
|
|
3
3
|
export declare class BeatApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
getBeats: (pageNum?: number, perPage?: number) => Promise<any>;
|
|
7
7
|
getBeatsWithAssociatedTransaction: (fromDate?: string) => Promise<any>;
|
|
8
8
|
getOffers: () => Promise<any>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { Account } from '../types
|
|
3
|
-
import { Category } from '../types/Category';
|
|
2
|
+
import { Account, Category, GlobalErrorHandler } from '../types';
|
|
4
3
|
export declare class CategoryApi {
|
|
5
4
|
fetchInstance: Fetch;
|
|
6
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
7
6
|
addCategory: (category: Category) => Promise<any>;
|
|
8
7
|
getCategories: () => Promise<any>;
|
|
9
8
|
getDateRangeCategoryTotals: (startDate: number, endDate: number, accounts: Account[]) => Promise<any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
+
import { GlobalErrorHandler } from '../types';
|
|
2
3
|
export declare class GlobalCopyApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getGlobalCopy: (namespace: string, translationKey: string) => Promise<any>;
|
|
6
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
+
import { GlobalErrorHandler } from '../types';
|
|
2
3
|
export declare class LocalizedCopyApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getLocalizedCopy: (req: any) => Promise<any>;
|
|
6
7
|
getLocalizedContent: (namespace: string) => Promise<any>;
|
|
7
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { Notification } from '../types';
|
|
2
|
+
import { Notification, GlobalErrorHandler } from '../types';
|
|
3
3
|
export declare class NotificationApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
getNotifications: () => Promise<any>;
|
|
7
7
|
updateNotification: (notification: Notification) => Promise<any>;
|
|
8
8
|
markAllAsViewed: (channel?: number) => Promise<any>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch
|
|
1
|
+
import { Fetch } from '../../common';
|
|
2
|
+
import { ScheduledPayment, GlobalErrorHandler } from '../types';
|
|
2
3
|
export declare class ScheduledPaymentsApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
addScheduledPayment: (scheduledPayment: ScheduledPayment) => Promise<any>;
|
|
6
7
|
getScheduledPayments: () => Promise<any>;
|
|
7
8
|
updateScheduledPayment: (scheduledPayment: ScheduledPayment) => Promise<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { User, UserProfile } from '../types';
|
|
2
|
+
import { GlobalErrorHandler, User, UserProfile } from '../types';
|
|
3
3
|
export declare class UserApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
getUserFeatures: () => Promise<any>;
|
|
7
7
|
updateUser: (user: User) => Promise<any>;
|
|
8
8
|
updateUserProfile: (userProfile: UserProfile) => Promise<any>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { GlobalStore } from '..';
|
|
2
|
+
import { GlobalErrorHandler, GlobalEventHandler, GlobalStore } from '..';
|
|
3
3
|
export interface GlobalStoreContextTypes {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
|
|
5
|
+
onError: GlobalErrorHandler;
|
|
6
|
+
onEvent: GlobalEventHandler;
|
|
6
7
|
onPageView: (pageViewEvent: string) => void;
|
|
7
8
|
globalStore: GlobalStore;
|
|
8
9
|
}
|
|
@@ -22,8 +22,11 @@ export declare const useSettingsStore: () => import('../../settings').SettingsSt
|
|
|
22
22
|
export declare const useTransactionStore: () => import('../../transactions').TransactionStore;
|
|
23
23
|
export declare const useTrendsStore: () => import('../../trends').TrendsStore;
|
|
24
24
|
export declare const useUserStore: () => import('..').UserStore;
|
|
25
|
+
export declare const useError: () => {
|
|
26
|
+
onError: import('..').GlobalErrorHandler;
|
|
27
|
+
};
|
|
25
28
|
export declare const useEvent: () => {
|
|
26
|
-
onEvent: (
|
|
29
|
+
onEvent: import('..').GlobalEventHandler;
|
|
27
30
|
};
|
|
28
31
|
export declare const usePageView: () => {
|
|
29
32
|
onPageView: (pageViewEvent: string) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
1
|
+
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
2
2
|
export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
|
|
3
3
|
export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
|