@mx-cartographer/experiences 7.2.15-alpha.sms16 → 7.2.15-alpha.sms18
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.
|
@@ -482,13 +482,8 @@ class yt {
|
|
|
482
482
|
t.sessionToken,
|
|
483
483
|
t.onError
|
|
484
484
|
), this.beatApi = new f(t.endpoint, t.sessionToken, t.onError), y(this), B(() => {
|
|
485
|
-
const a = this.transactions
|
|
486
|
-
return this.emitChange(),
|
|
487
|
-
transactions: a,
|
|
488
|
-
associatedBeats: e,
|
|
489
|
-
taggings: c,
|
|
490
|
-
tags: _
|
|
491
|
-
};
|
|
485
|
+
const a = this.transactions;
|
|
486
|
+
return this.emitChange(), a;
|
|
492
487
|
});
|
|
493
488
|
}
|
|
494
489
|
loadTransactionData = async ({
|
|
@@ -510,9 +505,7 @@ class yt {
|
|
|
510
505
|
subscribe = (t) => (this.listeners = [...this.listeners, t], () => {
|
|
511
506
|
this.listeners = this.listeners.filter((a) => a !== t);
|
|
512
507
|
});
|
|
513
|
-
|
|
514
|
-
{ transactions: this.transactions }
|
|
515
|
-
];
|
|
508
|
+
getTransactionsSnapshot = () => this.transactions;
|
|
516
509
|
emitChange = () => {
|
|
517
510
|
for (const t of this.listeners)
|
|
518
511
|
t();
|
package/dist/common/index.es.js
CHANGED
|
@@ -18,8 +18,8 @@ import { C as Ys } from "../CurrencyInput-DUsQbkXb.mjs";
|
|
|
18
18
|
import { L as zs } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as js } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Vs } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as at } from "../TransactionStore-
|
|
22
|
-
import { S as Js } from "../TransactionStore-
|
|
21
|
+
import { T as at } from "../TransactionStore-D3UCn4oY.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-D3UCn4oY.mjs";
|
|
23
23
|
import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
@@ -3,8 +3,8 @@ import { u as P, C as Pe, D as $e, M as Ve, c as We, T as Ge, a as Ue } from "..
|
|
|
3
3
|
import { B as xa, d as wa, b as Ia } from "../TransactionDetails-dRfjqJ3s.mjs";
|
|
4
4
|
import { T as M } from "../User-BQUxBeZV.mjs";
|
|
5
5
|
import { O as Da } from "../User-BQUxBeZV.mjs";
|
|
6
|
-
import { S as ae, D as Fe } from "../TransactionStore-
|
|
7
|
-
import { T as Ea } from "../TransactionStore-
|
|
6
|
+
import { S as ae, D as Fe } from "../TransactionStore-D3UCn4oY.mjs";
|
|
7
|
+
import { T as Ea } from "../TransactionStore-D3UCn4oY.mjs";
|
|
8
8
|
import { e as ze } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
|
|
9
9
|
import { E as Ma } from "../ExportCsvAction-sX8Rg4Ov.mjs";
|
|
10
10
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
@@ -37,9 +37,7 @@ export declare class TransactionStore {
|
|
|
37
37
|
transactions?: Transaction[];
|
|
38
38
|
}) => Promise<void>;
|
|
39
39
|
subscribe: (listener: any) => () => void;
|
|
40
|
-
|
|
41
|
-
transactions: Transaction[];
|
|
42
|
-
}[];
|
|
40
|
+
getTransactionsSnapshot: () => Transaction[];
|
|
43
41
|
emitChange: () => void;
|
|
44
42
|
get sortedTransactions(): Transaction[];
|
|
45
43
|
get sortedTransactionsWithSplits(): Transaction[];
|