@mx-cartographer/experiences 7.2.15-alpha.sms10 → 7.2.15-alpha.sms12
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.
|
@@ -507,10 +507,15 @@ class yt {
|
|
|
507
507
|
this.uiStore.setIsInitialized(!0);
|
|
508
508
|
});
|
|
509
509
|
};
|
|
510
|
-
subscribe = (t) => (console.log("what are you?",
|
|
510
|
+
subscribe = (t) => (this.listeners = [...this.listeners, t], console.log("what are you? 2", this.listeners), () => {
|
|
511
511
|
this.listeners = this.listeners.filter((a) => a !== t);
|
|
512
512
|
});
|
|
513
|
-
getSnapshot = () =>
|
|
513
|
+
getSnapshot = () => ({
|
|
514
|
+
transactions: this.transactions,
|
|
515
|
+
associatedBeats: this.associatedBeats,
|
|
516
|
+
taggings: this.taggings,
|
|
517
|
+
tags: this.tags
|
|
518
|
+
});
|
|
514
519
|
emitChange = () => {
|
|
515
520
|
for (const t of this.listeners)
|
|
516
521
|
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-DXyyL9aY.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-DXyyL9aY.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-DXyyL9aY.mjs";
|
|
7
|
+
import { T as Ea } from "../TransactionStore-DXyyL9aY.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,7 +37,12 @@ export declare class TransactionStore {
|
|
|
37
37
|
transactions?: Transaction[];
|
|
38
38
|
}) => Promise<void>;
|
|
39
39
|
subscribe: (listener: any) => () => void;
|
|
40
|
-
getSnapshot: () =>
|
|
40
|
+
getSnapshot: () => {
|
|
41
|
+
transactions: Transaction[];
|
|
42
|
+
associatedBeats: Beat[];
|
|
43
|
+
taggings: Tagging[];
|
|
44
|
+
tags: Tag[];
|
|
45
|
+
};
|
|
41
46
|
emitChange: () => void;
|
|
42
47
|
get sortedTransactions(): Transaction[];
|
|
43
48
|
get sortedTransactionsWithSplits(): Transaction[];
|