@mx-cartographer/experiences 7.0.20-alpha.mm13 → 7.0.20-alpha.mm15
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/dist/{AccountStore-xRAZ5q8q.mjs → AccountStore-8wYwS2Fb.mjs} +1 -1
- package/dist/{BeatApi-bPKymk9s.mjs → BeatApi-D2Z1q0T7.mjs} +1 -1
- package/dist/{BeatStore-mnrkh3h6.mjs → BeatStore-DkRrMYcr.mjs} +1 -1
- package/dist/{CategoryStore-BlWkDwiZ.mjs → CategoryStore-BXxv_Rm_.mjs} +1 -1
- package/dist/{FinstrongStore-ZIbHKDSr.mjs → FinstrongStore-COSruQ77.mjs} +7 -7
- package/dist/{GoalStore-sMlO3voq.mjs → GoalStore-DpunbhUg.mjs} +1 -1
- package/dist/{MerchantStore-CR5dFLpL.mjs → MerchantStore-UleKHaMr.mjs} +10 -10
- package/dist/{NotificationStore-Bc_r-sfC.mjs → NotificationStore-oq8Kg5Wy.mjs} +11 -11
- package/dist/{RecurringTransactionsStore-DukrsYPV.mjs → RecurringTransactionsStore-CbVh6M8E.mjs} +21 -21
- package/dist/{SettingsStore-C7rj4rLf.mjs → SettingsStore-BkEnt8J1.mjs} +5 -5
- package/dist/{TransactionApi-Dla2CTeC.mjs → TransactionApi-CVmOYZsA.mjs} +1 -1
- package/dist/{TransactionStore-DasHlGBB.mjs → TransactionStore-B8KE_GP4.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-CjPlvt2p.mjs → ViewMoreMicroCard-CPIaoYx7.mjs} +2 -2
- package/dist/accounts/index.es.js +1 -1
- package/dist/cashflow/index.es.js +1 -1
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +243 -248
- package/dist/common/stores/GlobalStore.d.ts +1 -1
- package/dist/finstrong/index.es.js +1 -1
- package/dist/goals/index.es.js +2 -2
- package/dist/insights/index.es.js +1 -1
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +2 -2
- package/dist/settings/index.es.js +1 -1
- package/dist/transactions/index.es.js +3 -3
- package/dist/trends/index.es.js +1 -1
- package/dist/{useCombineEvents-DwW81wcc.mjs → useCombineEvents-_pq30PbT.mjs} +20 -20
- package/package.json +1 -1
|
@@ -64,7 +64,7 @@ export declare class GlobalStore {
|
|
|
64
64
|
trendsStore: TrendsStore;
|
|
65
65
|
userStore: UserStore;
|
|
66
66
|
globalUiStore: GlobalUiStore;
|
|
67
|
-
constructor(appConfig?: AppConfig, endpoint?: string
|
|
67
|
+
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
68
68
|
get isInitialized(): boolean;
|
|
69
69
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
70
70
|
}
|
|
@@ -19,7 +19,7 @@ import * as ce from "d3";
|
|
|
19
19
|
import { observer as I } from "mobx-react-lite";
|
|
20
20
|
import { u as S, a as z, w as $, o as Y, c as fe, g as ye, k as Ke } from "../hooks-DP5qvbXf.mjs";
|
|
21
21
|
import { L as N } from "../Loader-DUaFpDGv.mjs";
|
|
22
|
-
import { F as No, a as Ko } from "../FinstrongStore-
|
|
22
|
+
import { F as No, a as Ko } from "../FinstrongStore-COSruQ77.mjs";
|
|
23
23
|
import q from "@mui/material/Button";
|
|
24
24
|
import J from "@mui/material/Card";
|
|
25
25
|
import { L as be } from "../LineChart-C2Q2Sr1y.mjs";
|
package/dist/goals/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as ye, T as d, a as We, M as q, C as Ae, b as Ve, G as he } from "../GoalStore-
|
|
2
|
-
import { c as Un, d as Yn } from "../GoalStore-
|
|
1
|
+
import { g as ye, T as d, a as We, M as q, C as Ae, b as Ve, G as he } from "../GoalStore-DpunbhUg.mjs";
|
|
2
|
+
import { c as Un, d as Yn } from "../GoalStore-DpunbhUg.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";
|
|
@@ -15,7 +15,7 @@ import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
|
15
15
|
import { b as v, u as w, a as C } from "../hooks-DP5qvbXf.mjs";
|
|
16
16
|
import { L as p } from "../Loader-DUaFpDGv.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-UleKHaMr.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,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-CPIaoYx7.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as AppStore,
|
|
4
4
|
e as BeatCard,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as f, B as C } from "../Notification-ByMBpJ5u.mjs";
|
|
2
2
|
import { A as _ } from "../Fetch-5yMqsiXO.mjs";
|
|
3
|
-
import { s as L } from "../NotificationStore-
|
|
4
|
-
import { N as Nt, f as St } from "../NotificationStore-
|
|
3
|
+
import { s as L } from "../NotificationStore-oq8Kg5Wy.mjs";
|
|
4
|
+
import { N as Nt, f as St } from "../NotificationStore-oq8Kg5Wy.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";
|
|
@@ -30,8 +30,8 @@ import { PickersDay as it } from "@mui/x-date-pickers/PickersDay";
|
|
|
30
30
|
import { I as Y } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
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-DP5qvbXf.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-
|
|
33
|
+
import { T as P } from "../RecurringTransactionsStore-CbVh6M8E.mjs";
|
|
34
|
+
import { R as Gn } from "../RecurringTransactionsStore-CbVh6M8E.mjs";
|
|
35
35
|
import { A as _, W as at } from "../WidgetContainer-DPzZyq22.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import se from "@mui/material/Divider";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Jt, a as Kt } from "../SettingsStore-
|
|
1
|
+
import { S as Jt, a as Kt } from "../SettingsStore-BkEnt8J1.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";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { T as fa } from "../TransactionApi-
|
|
1
|
+
import { T as fa } from "../TransactionApi-CVmOYZsA.mjs";
|
|
2
2
|
import { u as B, C as Re, D as He, M as Be, c as Pe, T as $e, a as Ve } from "../TransactionDetails-CGLeSsaa.mjs";
|
|
3
3
|
import { B as ya, d as ba, b as Ta } from "../TransactionDetails-CGLeSsaa.mjs";
|
|
4
4
|
import { T as M } from "../User-CcPqTPbo.mjs";
|
|
5
5
|
import { O as Sa } from "../User-CcPqTPbo.mjs";
|
|
6
|
-
import { S as ee, D as We } from "../TransactionStore-
|
|
7
|
-
import { T as wa } from "../TransactionStore-
|
|
6
|
+
import { S as ee, D as We } from "../TransactionStore-B8KE_GP4.mjs";
|
|
7
|
+
import { T as wa } from "../TransactionStore-B8KE_GP4.mjs";
|
|
8
8
|
import { e as Ge } from "../exportTransactionsToCSV-DsY4Aap_.mjs";
|
|
9
9
|
import { E as va } from "../ExportCsvAction-Bu6bbxPc.mjs";
|
|
10
10
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ import { C as rt } from "../CurrencyText-YUhH2caW.mjs";
|
|
|
20
20
|
import { c as Me } from "../Category-CevNQ03n.mjs";
|
|
21
21
|
import { b as at } from "../Localization-2MODESHW.mjs";
|
|
22
22
|
import { H as be } from "../HeaderCell-DjuifqHJ.mjs";
|
|
23
|
-
import { T as A, b as it } from "../ViewMoreMicroCard-
|
|
23
|
+
import { T as A, b as it } from "../ViewMoreMicroCard-CPIaoYx7.mjs";
|
|
24
24
|
import { A as y, W as Ae } from "../WidgetContainer-DPzZyq22.mjs";
|
|
25
25
|
import { a as Re, T as ke } from "../TransactionDetails-CGLeSsaa.mjs";
|
|
26
26
|
import { D as fe } from "../Drawer-kEE73B87.mjs";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { getUnixTime as l } from "date-fns/getUnixTime";
|
|
2
|
-
import
|
|
3
|
-
import { F as u, A as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
2
|
+
import A from "bowser";
|
|
3
|
+
import { F as u, A as r } from "./Fetch-5yMqsiXO.mjs";
|
|
4
|
+
import y from "react";
|
|
5
|
+
const g = async (o, t, n = "1.0.0", s = "Experiences") => {
|
|
6
6
|
const a = new _(o, t), { analytics_session: i } = await a.initializeAnalyticsSession(
|
|
7
7
|
n,
|
|
8
8
|
s
|
|
9
9
|
), e = window.location.hostname;
|
|
10
10
|
return {
|
|
11
|
-
sendAnalyticEvent: async (
|
|
11
|
+
sendAnalyticEvent: async (c) => await a.sendAnalyticEvent({
|
|
12
12
|
analytics_event: {
|
|
13
|
-
...
|
|
13
|
+
...c,
|
|
14
14
|
app_version: "widgets-v2",
|
|
15
15
|
created_at: l(/* @__PURE__ */ new Date()).toString(),
|
|
16
16
|
host: e,
|
|
17
|
-
name:
|
|
17
|
+
name: c?.label || "",
|
|
18
18
|
session_id: i.guid,
|
|
19
19
|
user_agent: navigator.userAgent || "",
|
|
20
20
|
version: 2
|
|
21
21
|
}
|
|
22
22
|
}),
|
|
23
|
-
sendAnalyticsPageview: async (
|
|
23
|
+
sendAnalyticsPageview: async (c) => await a.sendAnalyticsPageview({
|
|
24
24
|
analytics_pageview: {
|
|
25
|
-
...
|
|
25
|
+
...c,
|
|
26
26
|
app_version: "widgets-v2",
|
|
27
27
|
created_at: l(/* @__PURE__ */ new Date()).toString(),
|
|
28
28
|
host: e,
|
|
29
|
-
name:
|
|
29
|
+
name: c.name,
|
|
30
30
|
session_id: i.guid,
|
|
31
31
|
user_agent: navigator.userAgent || ""
|
|
32
32
|
}
|
|
@@ -36,17 +36,17 @@ const d = async (o, t, n = "1.0.0", s = "Experiences") => {
|
|
|
36
36
|
class _ {
|
|
37
37
|
fetchInstance;
|
|
38
38
|
constructor(t, n, s) {
|
|
39
|
-
this.fetchInstance = new u(t, n
|
|
39
|
+
this.fetchInstance = new u(t, n, void 0, s);
|
|
40
40
|
}
|
|
41
41
|
initializeAnalyticsSession = async (t, n) => {
|
|
42
|
-
const s =
|
|
42
|
+
const s = A.getParser(window.navigator.userAgent), { analytics_session: a } = await this.fetchInstance.post(r.ANALYTICS_SESSION, {
|
|
43
43
|
browser_name: s.getBrowserName() || "Unknown",
|
|
44
44
|
browser_version: s.getBrowserVersion() || "0.0.0",
|
|
45
45
|
is_first_visit: !1,
|
|
46
46
|
product_name: "Individual Widget",
|
|
47
47
|
product_version: t
|
|
48
48
|
});
|
|
49
|
-
return a ? (this.fetchInstance.post(
|
|
49
|
+
return a ? (this.fetchInstance.post(r.ANALYTICS_FEATURE_VISITS, {
|
|
50
50
|
feature_visit: {
|
|
51
51
|
analytics_session_guid: a.guid,
|
|
52
52
|
feature_name: n || "Experiences",
|
|
@@ -54,30 +54,30 @@ class _ {
|
|
|
54
54
|
}
|
|
55
55
|
}), { analytics_session: a }) : { analytics_session: null };
|
|
56
56
|
};
|
|
57
|
-
sendAnalyticEvent = async (t) => this.fetchInstance.post(
|
|
57
|
+
sendAnalyticEvent = async (t) => this.fetchInstance.post(r.ANALYTICS_EVENTS, t).catch((n) => {
|
|
58
58
|
throw n;
|
|
59
59
|
});
|
|
60
|
-
sendAnalyticsPageview = async (t) => this.fetchInstance.post(
|
|
60
|
+
sendAnalyticsPageview = async (t) => this.fetchInstance.post(r.ANALYTICS_PAGEVIEWS, t).catch((n) => {
|
|
61
61
|
throw n;
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
class h {
|
|
65
65
|
fetchInstance;
|
|
66
66
|
constructor(t, n, s) {
|
|
67
|
-
this.fetchInstance = new u(t, n
|
|
67
|
+
this.fetchInstance = new u(t, n, void 0, s);
|
|
68
68
|
}
|
|
69
|
-
getGlobalCopy = async (t, n) => this.fetchInstance.post(`${
|
|
69
|
+
getGlobalCopy = async (t, n) => this.fetchInstance.post(`${r.LOCALIZED_CONTENT}/${t}`, { translation_key: n }).then((s) => s);
|
|
70
70
|
}
|
|
71
71
|
const p = (o, t) => {
|
|
72
72
|
const { session: n } = t, s = Object.values(t).reduce((i, e) => n && e?.onAnalyticEvent && typeof e?.onAnalyticEvent == "function" ? [...i, e.onAnalyticEvent] : i, []), a = [...o, ...s];
|
|
73
|
-
return
|
|
73
|
+
return y.useMemo(() => (i) => {
|
|
74
74
|
a.forEach((e) => {
|
|
75
75
|
n ? e(i, n) : e(i);
|
|
76
76
|
});
|
|
77
77
|
}, [o, n]);
|
|
78
78
|
}, E = (o, t) => {
|
|
79
79
|
const { session: n } = t, s = Object.values(t).reduce((i, e) => n && e?.onAnalyticPageView && typeof e?.onAnalyticPageView == "function" ? [...i, e.onAnalyticPageView] : i, []), a = [...o, ...s];
|
|
80
|
-
return
|
|
80
|
+
return y.useMemo(() => (i) => {
|
|
81
81
|
a.forEach((e) => {
|
|
82
82
|
n ? e(i, n) : e(i);
|
|
83
83
|
});
|
|
@@ -86,7 +86,7 @@ const p = (o, t) => {
|
|
|
86
86
|
export {
|
|
87
87
|
_ as A,
|
|
88
88
|
h as G,
|
|
89
|
-
|
|
89
|
+
g as a,
|
|
90
90
|
E as b,
|
|
91
91
|
p as u
|
|
92
92
|
};
|