@mx-cartographer/experiences 9.0.9-alpha.al0 → 9.0.9
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 +2 -2
- package/dist/{AccountDetailsDrawer-DEk4STDa.mjs → AccountDetailsDrawer-BuxLfuIm.mjs} +1 -1
- package/dist/{ManageIncome-Bak38F25.mjs → ManageIncome-CPy6xnnI.mjs} +2 -2
- package/dist/{RecurringSettings--7poMYYz.mjs → RecurringSettings-fr6qhQ7f.mjs} +1 -1
- package/dist/{TransactionDetails-DwSNzM4U.mjs → TransactionDetails-DQ_eE7M4.mjs} +438 -445
- package/dist/{UserStore-DIYXueGr.mjs → UserStore-66-vYoey.mjs} +25 -17
- package/dist/accounts/index.es.js +2 -2
- package/dist/budgets/index.es.js +2 -2
- package/dist/cashflow/index.es.js +3 -3
- package/dist/common/index.es.js +219 -248
- package/dist/common/utils/Theme.d.ts +6 -11
- package/dist/core/index.es.js +1 -1
- package/dist/core/stores/TransactionStore.d.ts +1 -0
- package/dist/core/types/AppData.d.ts +0 -14
- package/dist/core/types/Client.d.ts +13 -20
- package/dist/core/types/index.d.ts +1 -1
- package/dist/finstrong/index.es.js +2 -2
- package/dist/insights/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/spending/index.es.js +1 -1
- package/dist/transactions/index.es.js +2 -2
- package/dist/trends/index.es.js +1 -1
- package/package.json +2 -2
|
@@ -1479,7 +1479,7 @@ class Gs {
|
|
|
1479
1479
|
this.onStoreUpdate?.(t);
|
|
1480
1480
|
};
|
|
1481
1481
|
loadConfigData = async () => {
|
|
1482
|
-
|
|
1482
|
+
await Promise.all([
|
|
1483
1483
|
// Load copy, config and user data
|
|
1484
1484
|
this.copyStore.loadCopy(),
|
|
1485
1485
|
this.appDataStore.loadAppData(),
|
|
@@ -2632,6 +2632,7 @@ class Ue {
|
|
|
2632
2632
|
transactionRules = [];
|
|
2633
2633
|
transactionRulesLoaded = !1;
|
|
2634
2634
|
transactionRulesLoading = !1;
|
|
2635
|
+
transactionSplitting = !1;
|
|
2635
2636
|
cachedStartDate = pt(y(), 90);
|
|
2636
2637
|
filter = {};
|
|
2637
2638
|
isLoading = !0;
|
|
@@ -2808,22 +2809,29 @@ class Ue {
|
|
|
2808
2809
|
};
|
|
2809
2810
|
setIsLoading = (t) => this.isLoading = t;
|
|
2810
2811
|
splitTransaction = async (t, e) => {
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
(
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2812
|
+
if (!this.transactionSplitting) {
|
|
2813
|
+
this.transactionSplitting = !0;
|
|
2814
|
+
try {
|
|
2815
|
+
const s = await this.api.updateTransaction(t), a = [];
|
|
2816
|
+
for (let r = 0; r < e.length; r++) {
|
|
2817
|
+
const l = await this.api.addTransaction(e[r]);
|
|
2818
|
+
a.push(l);
|
|
2819
|
+
}
|
|
2820
|
+
const o = this.transactions.findIndex((r) => r.guid === t.guid);
|
|
2821
|
+
if (o >= 0) {
|
|
2822
|
+
const r = this.transactions.filter(
|
|
2823
|
+
(l) => l.guid !== t.guid && l.parent_guid !== t.guid
|
|
2824
|
+
);
|
|
2825
|
+
this.setTransactions([
|
|
2826
|
+
...r.slice(0, o),
|
|
2827
|
+
s,
|
|
2828
|
+
...a,
|
|
2829
|
+
...r.slice(o)
|
|
2830
|
+
]);
|
|
2831
|
+
}
|
|
2832
|
+
} finally {
|
|
2833
|
+
this.transactionSplitting = !1;
|
|
2834
|
+
}
|
|
2827
2835
|
}
|
|
2828
2836
|
};
|
|
2829
2837
|
unSplitTransaction = async (t) => {
|
|
@@ -12,8 +12,8 @@ import Z from "@mui/system/Stack";
|
|
|
12
12
|
import { f as U } from "../NumberFormatting--XMeeBfr.mjs";
|
|
13
13
|
import { u as X, g as e1 } from "../AccountDetailsHeader-ByGNPZpO.mjs";
|
|
14
14
|
import { A as K1, a as z1, b as $1 } from "../AccountDetailsHeader-ByGNPZpO.mjs";
|
|
15
|
-
import { A as E, a as t1 } from "../AccountDetailsDrawer-
|
|
16
|
-
import { b as q1, u as J1 } from "../AccountDetailsDrawer-
|
|
15
|
+
import { A as E, a as t1 } from "../AccountDetailsDrawer-BuxLfuIm.mjs";
|
|
16
|
+
import { b as q1, u as J1 } from "../AccountDetailsDrawer-BuxLfuIm.mjs";
|
|
17
17
|
import { i as z, u as R, a as x, c as N, f as $ } from "../hooks-97sNJ_lf.mjs";
|
|
18
18
|
import { A } from "../Analytics-WeZYytR0.mjs";
|
|
19
19
|
import { C as l1 } from "../ConnectionsDrawer-CZU9ku-k.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -36,7 +36,7 @@ import Ee from "@mui/material/Tab";
|
|
|
36
36
|
import Qe from "@mui/material/Tabs";
|
|
37
37
|
import { e as et, g as we } from "../TransactionUtils-BphBJBbU.mjs";
|
|
38
38
|
import { T as ve } from "../EmbeddedCard-BxgB26dd.mjs";
|
|
39
|
-
import { T as tt, c as ot } from "../TransactionDetails-
|
|
39
|
+
import { T as tt, c as ot } from "../TransactionDetails-DQ_eE7M4.mjs";
|
|
40
40
|
import Te from "@mui/material/Card";
|
|
41
41
|
import De from "@mui/material/CardContent";
|
|
42
42
|
import { S as Se } from "../StatusBar-CPfSXe80.mjs";
|
|
@@ -45,7 +45,7 @@ import { u as nt, C as at } from "../CategorySelectorDrawer-NJsFsKP1.mjs";
|
|
|
45
45
|
import Pe from "@mui/material/CardHeader";
|
|
46
46
|
import { subDays as rt } from "date-fns/subDays";
|
|
47
47
|
import st from "@mui/material/IconButton";
|
|
48
|
-
import { M as it } from "../ManageIncome-
|
|
48
|
+
import { M as it } from "../ManageIncome-CPy6xnnI.mjs";
|
|
49
49
|
import { u as je } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
50
50
|
import { W as ct } from "../WidgetContainer-DJnp6t6c.mjs";
|
|
51
51
|
import { g as lt, a as dt } from "../BudgetUtil-Bg2AQJpQ.mjs";
|
|
@@ -17,13 +17,13 @@ import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
|
|
|
17
17
|
import { u as Oe } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
18
18
|
import { M as Ze } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
|
|
19
19
|
import { E as et } from "../EmptyState-CJUDc3kD.mjs";
|
|
20
|
-
import { R as tt } from "../RecurringSettings
|
|
20
|
+
import { R as tt } from "../RecurringSettings-fr6qhQ7f.mjs";
|
|
21
21
|
import nt from "@mui/material/Tabs";
|
|
22
22
|
import ye from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as le } from "date-fns/getUnixTime";
|
|
24
24
|
import Q from "@mui/material/List";
|
|
25
25
|
import ee from "@mui/material/ListItem";
|
|
26
|
-
import { A as ot } from "../AccountDetailsDrawer-
|
|
26
|
+
import { A as ot } from "../AccountDetailsDrawer-BuxLfuIm.mjs";
|
|
27
27
|
import { f as U, D as Y } from "../DateFormats-HudZ3Bjs.mjs";
|
|
28
28
|
import it from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as J } from "../NumberFormatting--XMeeBfr.mjs";
|
|
@@ -34,7 +34,7 @@ import { addDays as _e } from "date-fns/addDays";
|
|
|
34
34
|
import { DataGridPro as at } from "@mui/x-data-grid-pro";
|
|
35
35
|
import { T as Ce } from "../TabContentContainer-B0eYJP5p.mjs";
|
|
36
36
|
import W from "@mui/material/Button";
|
|
37
|
-
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-
|
|
37
|
+
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-CPy6xnnI.mjs";
|
|
38
38
|
import { D as He } from "../Drawer-DsnW2o0v.mjs";
|
|
39
39
|
import { subDays as We } from "date-fns/subDays";
|
|
40
40
|
import { endOfToday as dt } from "date-fns/endOfToday";
|