@mx-cartographer/experiences 7.0.20-alpha.mm12 → 7.0.20-alpha.mm14

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.
Files changed (30) hide show
  1. package/dist/{AccountStore-Cr3Kjpo4.mjs → AccountStore-8wYwS2Fb.mjs} +1 -1
  2. package/dist/{BeatApi-D4iZVGiY.mjs → BeatApi-D2Z1q0T7.mjs} +1 -1
  3. package/dist/{BeatStore-LPnzXtXQ.mjs → BeatStore-DkRrMYcr.mjs} +1 -1
  4. package/dist/{CategoryStore-CKS37_CH.mjs → CategoryStore-BXxv_Rm_.mjs} +1 -1
  5. package/dist/{Fetch-DV5XjBJP.mjs → Fetch-5yMqsiXO.mjs} +22 -22
  6. package/dist/{FinstrongStore-Cy--8F7E.mjs → FinstrongStore-COSruQ77.mjs} +1 -1
  7. package/dist/{GoalStore-DcobIUfg.mjs → GoalStore-DpunbhUg.mjs} +1 -1
  8. package/dist/{MerchantStore-cn8kDyVN.mjs → MerchantStore-UleKHaMr.mjs} +1 -1
  9. package/dist/{NotificationStore-CIJ8NbCF.mjs → NotificationStore-oq8Kg5Wy.mjs} +1 -1
  10. package/dist/{RecurringTransactionsStore-JqhzbjvQ.mjs → RecurringTransactionsStore-CbVh6M8E.mjs} +1 -1
  11. package/dist/{SettingsStore-CU9TOlLc.mjs → SettingsStore-BkEnt8J1.mjs} +2 -2
  12. package/dist/{TransactionApi-CD2A7dWt.mjs → TransactionApi-CVmOYZsA.mjs} +1 -1
  13. package/dist/{TransactionStore-DCQGlXOT.mjs → TransactionStore-B8KE_GP4.mjs} +2 -2
  14. package/dist/{ViewMoreMicroCard-BWFVzUt8.mjs → ViewMoreMicroCard-CPIaoYx7.mjs} +2 -2
  15. package/dist/accounts/index.es.js +1 -1
  16. package/dist/cashflow/index.es.js +1 -1
  17. package/dist/categories/index.es.js +1 -1
  18. package/dist/common/index.es.js +35 -35
  19. package/dist/finstrong/index.es.js +1 -1
  20. package/dist/goals/index.es.js +2 -2
  21. package/dist/insights/index.es.js +1 -1
  22. package/dist/merchants/index.es.js +1 -1
  23. package/dist/microinsights/index.es.js +1 -1
  24. package/dist/notifications/index.es.js +3 -3
  25. package/dist/recurringtransactions/index.es.js +2 -2
  26. package/dist/settings/index.es.js +1 -1
  27. package/dist/transactions/index.es.js +3 -3
  28. package/dist/trends/index.es.js +1 -1
  29. package/dist/{useCombineEvents-DHSTr2O0.mjs → useCombineEvents-_pq30PbT.mjs} +1 -1
  30. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as _, runInAction as a } from "mobx";
2
2
  import { i as g } from "./User-CcPqTPbo.mjs";
3
- import { F as f, A as i } from "./Fetch-DV5XjBJP.mjs";
3
+ import { F as f, A as i } from "./Fetch-5yMqsiXO.mjs";
4
4
  import { A as n, d as h, E as p, g as y, h as I } from "./ConnectDrawer-BbvIVdYR.mjs";
5
5
  class l {
6
6
  fetchInstance;
@@ -1,4 +1,4 @@
1
- import { F as c, A as s } from "./Fetch-DV5XjBJP.mjs";
1
+ import { F as c, A as s } from "./Fetch-5yMqsiXO.mjs";
2
2
  class i {
3
3
  fetchInstance;
4
4
  constructor(t, e, n) {
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as c, runInAction as r } from "mobx";
2
- import { B as l } from "./BeatApi-D4iZVGiY.mjs";
2
+ import { B as l } from "./BeatApi-D2Z1q0T7.mjs";
3
3
  function d(t, e, s, i = "asc") {
4
4
  const a = i === "desc" ? -1 : 1;
5
5
  return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);
@@ -4,7 +4,7 @@ import { subMonths as g } from "date-fns/subMonths";
4
4
  import { startOfMonth as h } from "date-fns/startOfMonth";
5
5
  import { endOfMonth as d } from "date-fns/endOfMonth";
6
6
  import { a as T, g as m } from "./CategoryUtil-BR3H5i6n.mjs";
7
- import { F as p, A as i } from "./Fetch-DV5XjBJP.mjs";
7
+ import { F as p, A as i } from "./Fetch-5yMqsiXO.mjs";
8
8
  import { b as f, c as w } from "./Category-CevNQ03n.mjs";
9
9
  class y {
10
10
  fetchInstance;
@@ -1,5 +1,5 @@
1
- import { g as r } from "./Localization-2MODESHW.mjs";
2
- const S = {
1
+ import { g as i } from "./Localization-2MODESHW.mjs";
2
+ const h = {
3
3
  ACCOUNTS: "accounts",
4
4
  ANALYTICS_EVENTS: "analytics_events",
5
5
  ANALYTICS_FEATURE_VISITS: "feature_visits",
@@ -46,40 +46,40 @@ const S = {
46
46
  USER_PROFILES: "user_profiles",
47
47
  WIDGET_URLS: "widget_urls"
48
48
  };
49
- class _ {
49
+ class E {
50
50
  endpoint = "/";
51
51
  headers;
52
52
  onError;
53
- constructor(s, n, t, o) {
54
- this.endpoint = s;
53
+ constructor(o, n, t, s) {
54
+ this.endpoint = o;
55
55
  const e = {
56
56
  Accept: "application/json",
57
- "Accept-Language": r(),
57
+ "Accept-Language": i(),
58
58
  "Content-Type": "application/json",
59
59
  "MD-Session-Token": n
60
60
  };
61
- this.headers = t || e, console.info("Fetch constructor onError:", o?.toString());
61
+ this.headers = t || e, this.onError = s, console.info("Fetch constructor onError:", s?.toString());
62
62
  }
63
- get = async (s) => {
63
+ get = async (o) => {
64
64
  const n = {
65
65
  method: "GET",
66
66
  headers: this.headers
67
67
  };
68
- return fetch(`${this.endpoint}${s}`, n).then((t) => {
68
+ return fetch(`${this.endpoint}${o}`, n).then((t) => {
69
69
  if (t.ok)
70
70
  return t.text();
71
71
  throw t;
72
72
  }).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t).catch((t) => {
73
- throw t;
73
+ throw console.info("Fetch GET onError:", this.onError?.toString()), this.onError?.(t), t;
74
74
  });
75
75
  };
76
- post = async (s, n) => {
77
- const t = n ? JSON.stringify(n) : void 0, o = {
76
+ post = async (o, n) => {
77
+ const t = n ? JSON.stringify(n) : void 0, s = {
78
78
  method: "POST",
79
79
  headers: this.headers,
80
80
  body: t
81
81
  };
82
- return fetch(`${this.endpoint}${s}`, o).then((e) => {
82
+ return fetch(`${this.endpoint}${o}`, s).then((e) => {
83
83
  if (!e.ok)
84
84
  throw e;
85
85
  return e.text();
@@ -87,31 +87,31 @@ class _ {
87
87
  throw e;
88
88
  });
89
89
  };
90
- put = async (s, n) => {
91
- const t = JSON.stringify(n), o = {
90
+ put = async (o, n) => {
91
+ const t = JSON.stringify(n), s = {
92
92
  method: "PUT",
93
93
  headers: this.headers,
94
94
  body: t
95
95
  };
96
- return fetch(`${this.endpoint}${s}`, o).then((e) => e.ok ? e.text() : e.text().then((i) => {
97
- throw new Error(i);
96
+ return fetch(`${this.endpoint}${o}`, s).then((e) => e.ok ? e.text() : e.text().then((r) => {
97
+ throw new Error(r);
98
98
  })).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e).catch((e) => {
99
99
  throw e;
100
100
  });
101
101
  };
102
- delete = async (s) => {
102
+ delete = async (o) => {
103
103
  const n = {
104
104
  method: "DELETE",
105
105
  headers: this.headers
106
106
  };
107
- return fetch(`${this.endpoint}${s}`, n).then((t) => t.ok ? t.text() : t.text().then((o) => {
108
- throw new Error(o);
107
+ return fetch(`${this.endpoint}${o}`, n).then((t) => t.ok ? t.text() : t.text().then((s) => {
108
+ throw new Error(s);
109
109
  })).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t).catch((t) => {
110
110
  throw t;
111
111
  });
112
112
  };
113
113
  }
114
114
  export {
115
- S as A,
116
- _ as F
115
+ h as A,
116
+ E as F
117
117
  };
@@ -3,7 +3,7 @@ import { format as i } from "date-fns/format";
3
3
  import { fromUnixTime as g } from "date-fns/fromUnixTime";
4
4
  import { getUnixTime as s } from "date-fns/getUnixTime";
5
5
  import { subMonths as S } from "date-fns/subMonths";
6
- import { F as m, A as o } from "./Fetch-DV5XjBJP.mjs";
6
+ import { F as m, A as o } from "./Fetch-5yMqsiXO.mjs";
7
7
  import { f as p, D as u } from "./Dialog-CWW597AF.mjs";
8
8
  class n {
9
9
  fetchInstance;
@@ -10,7 +10,7 @@ import { Text as A } from "@mxenabled/mxui";
10
10
  import { j as y } from "./ConnectDrawer-BbvIVdYR.mjs";
11
11
  import { m as b } from "./hooks-DP5qvbXf.mjs";
12
12
  import { makeAutoObservable as D, runInAction as c } from "mobx";
13
- import { F as v, A as i } from "./Fetch-DV5XjBJP.mjs";
13
+ import { F as v, A as i } from "./Fetch-5yMqsiXO.mjs";
14
14
  import { fromUnixTime as C } from "date-fns/fromUnixTime";
15
15
  import { addYears as x } from "date-fns/addYears";
16
16
  import { getUnixTime as K } from "date-fns/getUnixTime";
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as m, runInAction as c } from "mobx";
2
- import { F as p, A as h } from "./Fetch-DV5XjBJP.mjs";
2
+ import { F as p, A as h } from "./Fetch-5yMqsiXO.mjs";
3
3
  class i {
4
4
  fetchInstance;
5
5
  constructor(t, n, s) {
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as c, observable as f, runInAction as h } from "mobx";
2
2
  import { fromUnixTime as o, isSameDay as d } from "date-fns";
3
- import { F as l, A as n } from "./Fetch-DV5XjBJP.mjs";
3
+ import { F as l, A as n } from "./Fetch-5yMqsiXO.mjs";
4
4
  class s {
5
5
  fetchInstance;
6
6
  constructor(t, i, a) {
@@ -7,7 +7,7 @@ import { isWithinInterval as m } from "date-fns/isWithinInterval";
7
7
  import { startOfMonth as S } from "date-fns/startOfMonth";
8
8
  import { startOfToday as c } from "date-fns/startOfToday";
9
9
  import { subDays as y } from "date-fns/subDays";
10
- import { F as x, A as o } from "./Fetch-DV5XjBJP.mjs";
10
+ import { F as x, A as o } from "./Fetch-5yMqsiXO.mjs";
11
11
  import { b as E, a, c as d, d as u } from "./RepeatingTransaction-BW4J-jeJ.mjs";
12
12
  var A = /* @__PURE__ */ ((r) => (r.Small = "small", r.Medium = "medium", r.Large = "large", r))(A || {});
13
13
  const U = 44;
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as N, runInAction as l } from "mobx";
2
- import { F as D, A as r } from "./Fetch-DV5XjBJP.mjs";
2
+ import { F as D, A as r } from "./Fetch-5yMqsiXO.mjs";
3
3
  import { B as f, A as n, I as i } from "./Notification-ByMBpJ5u.mjs";
4
- import { T as m } from "./TransactionApi-CD2A7dWt.mjs";
4
+ import { T as m } from "./TransactionApi-CVmOYZsA.mjs";
5
5
  class y {
6
6
  fetchInstance;
7
7
  constructor(e, t, o) {
@@ -1,4 +1,4 @@
1
- import { F as T, A as e } from "./Fetch-DV5XjBJP.mjs";
1
+ import { F as T, A as e } from "./Fetch-5yMqsiXO.mjs";
2
2
  class u {
3
3
  fetchInstance;
4
4
  constructor(t, n, a) {
@@ -14,13 +14,13 @@ import { startOfMonth as R } from "date-fns/startOfMonth";
14
14
  import { startOfToday as G } from "date-fns/startOfToday";
15
15
  import { subDays as Y } from "date-fns/subDays";
16
16
  import { O as n, a as b, T as F } from "./User-CcPqTPbo.mjs";
17
- import { T as p } from "./TransactionApi-CD2A7dWt.mjs";
17
+ import { T as p } from "./TransactionApi-CVmOYZsA.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
19
  import { f as z } from "./exportTransactionsToCSV-DsY4Aap_.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-D4iZVGiY.mjs";
23
+ import { B as f } from "./BeatApi-D2Z1q0T7.mjs";
24
24
  const j = ({
25
25
  checked: N = !1,
26
26
  label: t,
@@ -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 ce, runInAction as Te } from "mobx";
21
- import { G as pe, a as tt, u as it, b as ot } from "./useCombineEvents-DHSTr2O0.mjs";
22
- import { B as _e } from "./BeatApi-D4iZVGiY.mjs";
21
+ import { G as pe, a as tt, u as it, b as ot } from "./useCombineEvents-_pq30PbT.mjs";
22
+ import { B as _e } from "./BeatApi-D2Z1q0T7.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";
@@ -24,7 +24,7 @@ import X from "@mui/material/ListItem";
24
24
  import { M as U } from "../MiniWidgetContainer-xsVrqac5.mjs";
25
25
  import e1 from "@mui/material/Stack";
26
26
  import { g as U1, a as j1 } from "../AccountFields-dth_TzXr.mjs";
27
- import { A as G1, a as K1 } from "../AccountStore-Cr3Kjpo4.mjs";
27
+ import { A as G1, a as K1 } from "../AccountStore-8wYwS2Fb.mjs";
28
28
  const t1 = () => {
29
29
  const [c, L] = d.useState(""), { accounts: o } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = O(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
30
30
  () => l.filter((t) => t.is_hidden),
@@ -45,7 +45,7 @@ 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
47
  import { W as ve, A as Ae } from "../WidgetContainer-DPzZyq22.mjs";
48
- import { F as pt, A as B } from "../Fetch-DV5XjBJP.mjs";
48
+ import { F as pt, A as B } from "../Fetch-5yMqsiXO.mjs";
49
49
  const K = () => {
50
50
  if (!m.useContext(Ye))
51
51
  throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
@@ -1,5 +1,5 @@
1
1
  import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-y4sp83CD.mjs";
2
- import { C as g } from "../CategoryStore-CKS37_CH.mjs";
2
+ import { C as g } from "../CategoryStore-BXxv_Rm_.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -1,11 +1,11 @@
1
- import { G as M } from "../useCombineEvents-DHSTr2O0.mjs";
2
- import { A as ts, a as es, u as ss, b as rs } from "../useCombineEvents-DHSTr2O0.mjs";
3
- import { F as y, A as l } from "../Fetch-DV5XjBJP.mjs";
4
- import { B as as } from "../BeatApi-D4iZVGiY.mjs";
5
- import { C as et } from "../CategoryStore-CKS37_CH.mjs";
6
- import { a as is } from "../CategoryStore-CKS37_CH.mjs";
7
- import { N as st } from "../NotificationStore-CIJ8NbCF.mjs";
8
- import { a as ds } from "../NotificationStore-CIJ8NbCF.mjs";
1
+ import { G as M } from "../useCombineEvents-_pq30PbT.mjs";
2
+ import { A as ts, a as es, u as ss, b as rs } from "../useCombineEvents-_pq30PbT.mjs";
3
+ import { F as y, A as l } from "../Fetch-5yMqsiXO.mjs";
4
+ import { B as as } from "../BeatApi-D2Z1q0T7.mjs";
5
+ import { C as et } from "../CategoryStore-BXxv_Rm_.mjs";
6
+ import { a as is } from "../CategoryStore-BXxv_Rm_.mjs";
7
+ import { N as st } from "../NotificationStore-oq8Kg5Wy.mjs";
8
+ import { a as ds } from "../NotificationStore-oq8Kg5Wy.mjs";
9
9
  import { T as rt } from "../User-CcPqTPbo.mjs";
10
10
  import { C as us, b as hs, L as gs, a as ps } from "../User-CcPqTPbo.mjs";
11
11
  import { H as ot } from "../Help-DhcC-C05.mjs";
@@ -13,25 +13,25 @@ import { E as _s } from "../Help-DhcC-C05.mjs";
13
13
  import { M as fs } from "../MicroWidgetContainer-DNTKJODy.mjs";
14
14
  import { M as bs } from "../MiniWidgetContainer-xsVrqac5.mjs";
15
15
  import { A as xs, D as Cs, W as vs } from "../WidgetContainer-DPzZyq22.mjs";
16
- import { i as Es, a as As, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-BbvIVdYR.mjs";
16
+ import { i as Ds, a as As, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-BbvIVdYR.mjs";
17
17
  import { C as qs } from "../CurrencyInput-DyWvvUZX.mjs";
18
18
  import { L as Qs } from "../Loader-DUaFpDGv.mjs";
19
19
  import { R as zs } from "../ResponsiveButton-DZFp78fJ.mjs";
20
20
  import { S as Ks } from "../SearchBox-B2_zLv8-.mjs";
21
- import { T as at } from "../TransactionStore-DCQGlXOT.mjs";
22
- import { S as Vs } from "../TransactionStore-DCQGlXOT.mjs";
21
+ import { T as at } from "../TransactionStore-B8KE_GP4.mjs";
22
+ import { S as Vs } from "../TransactionStore-B8KE_GP4.mjs";
23
23
  import { T as Js } from "../TabContentContainer-j01JYR_7.mjs";
24
24
  import { I as er } from "../IconBacking-B9oC6uL2.mjs";
25
25
  import { D as rr, F as or, a as ar, c as nr, R as ir, S as cr } from "../RepeatingTransaction-BW4J-jeJ.mjs";
26
26
  import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
27
27
  import { I as lr } from "../CashflowStore-D9Dpuz7X.mjs";
28
- import { d as it } from "../GoalStore-DcobIUfg.mjs";
29
- import { C as hr, G as gr, M as pr, T as mr } from "../GoalStore-DcobIUfg.mjs";
28
+ import { d as it } from "../GoalStore-DpunbhUg.mjs";
29
+ import { C as hr, G as gr, M as pr, T as mr } from "../GoalStore-DpunbhUg.mjs";
30
30
  import { C as yr } from "../CurrencyText-YUhH2caW.mjs";
31
31
  import { E as Sr } from "../EmptyState-C0lr9E5T.mjs";
32
32
  import { L as wr } from "../ListItemAction-CUusHw-p.mjs";
33
33
  import { T as ct } from "../TrendsStore-DpyWU-HL.mjs";
34
- import { L as Cr, S as vr, u as Dr } from "../TrendsStore-DpyWU-HL.mjs";
34
+ import { L as Cr, S as vr, u as Er } from "../TrendsStore-DpyWU-HL.mjs";
35
35
  import { A as Ar, B as Tr, I as Br, N as Ir, T as Nr, a as Fr } from "../Notification-ByMBpJ5u.mjs";
36
36
  import { jsxs as _, jsx as c } from "react/jsx-runtime";
37
37
  import dt, { useRef as lt, useEffect as ut } from "react";
@@ -48,25 +48,25 @@ import { I as jr, P as Vr, S as Zr } from "../Account-GFzWnbxA.mjs";
48
48
  import { b as A } from "../Category-CevNQ03n.mjs";
49
49
  import { C as to, c as eo, a as so, P as ro } from "../Category-CevNQ03n.mjs";
50
50
  import { C as ao, f as no, b as io, a as co, g as lo, i as uo } from "../NumberFormatting-CtWHhyBX.mjs";
51
- import { R as mt } from "../RecurringTransactionsStore-JqhzbjvQ.mjs";
52
- import { S as go, T as po } from "../RecurringTransactionsStore-JqhzbjvQ.mjs";
53
- import { G as _o, B as yo, C as fo, W as So, c as bo, m as wo, g as xo, t as Co, k as vo, x as Do, y as Eo, e as Ao, w as To, u as Bo, l as Io, a as No, j as Fo, z as Mo, s as $o, b as Ro, q as Uo, n as ko, A as Lo, h as Oo, r as Go, f as Ho, v as Po, o as qo, p as Wo } from "../hooks-DP5qvbXf.mjs";
51
+ import { R as mt } from "../RecurringTransactionsStore-CbVh6M8E.mjs";
52
+ import { S as go, T as po } from "../RecurringTransactionsStore-CbVh6M8E.mjs";
53
+ import { G as _o, B as yo, C as fo, W as So, c as bo, m as wo, g as xo, t as Co, k as vo, x as Eo, y as Do, e as Ao, w as To, u as Bo, l as Io, a as No, j as Fo, z as Mo, s as $o, b as Ro, q as Uo, n as ko, A as Lo, h as Oo, r as Go, f as Ho, v as Po, o as qo, p as Wo } from "../hooks-DP5qvbXf.mjs";
54
54
  import { u as Yo } from "../useScreenSize-B6JyS_Lj.mjs";
55
55
  import { makeAutoObservable as m, runInAction as p, reaction as _t } from "mobx";
56
- import { a as yt } from "../AccountStore-Cr3Kjpo4.mjs";
56
+ import { a as yt } from "../AccountStore-8wYwS2Fb.mjs";
57
57
  import ft from "posthog-js";
58
- import { B as St } from "../BeatStore-LPnzXtXQ.mjs";
58
+ import { B as St } from "../BeatStore-DkRrMYcr.mjs";
59
59
  import { endOfMonth as Z } from "date-fns/endOfMonth";
60
60
  import { startOfMonth as J } from "date-fns/startOfMonth";
61
61
  import { startOfToday as L } from "date-fns/startOfToday";
62
62
  import { f as bt, a as wt, b as O } from "../BudgetUtil-BR1sFoz5.mjs";
63
63
  import { g as Xo, e as Ko, c as jo, d as Vo, i as Zo } from "../BudgetUtil-BR1sFoz5.mjs";
64
64
  import { a as xt } from "../DebtsStore-b4lkfwxB.mjs";
65
- import { a as Ct } from "../FinstrongStore-Cy--8F7E.mjs";
66
- import { A as vt, m as Dt, a as Et, b as At } from "../InvestmentUtil-jOyOgzIB.mjs";
67
- import { M as Tt } from "../MerchantStore-cn8kDyVN.mjs";
65
+ import { a as Ct } from "../FinstrongStore-COSruQ77.mjs";
66
+ import { A as vt, m as Et, a as Dt, b as At } from "../InvestmentUtil-jOyOgzIB.mjs";
67
+ import { M as Tt } from "../MerchantStore-UleKHaMr.mjs";
68
68
  import { N as Bt } from "../NetWorthStore-BQiUgOb8.mjs";
69
- import { a as It } from "../SettingsStore-CU9TOlLc.mjs";
69
+ import { a as It } from "../SettingsStore-BkEnt8J1.mjs";
70
70
  import { addMonths as Nt } from "date-fns/addMonths";
71
71
  import { getMonth as T } from "date-fns/getMonth";
72
72
  import { i as ta } from "../DateUtil-BcuH7ErC.mjs";
@@ -405,7 +405,7 @@ const Xe = (s) => {
405
405
  width: f,
406
406
  xAxisLabel: g = ""
407
407
  }) => {
408
- const S = x(), C = Ot(S, f), v = u / d * n, D = Math.abs(u) / d * e, E = i === void 0 || i === o ? "primary" : "secondary";
408
+ const S = x(), C = Ot(S, f), v = u / d * n, E = Math.abs(u) / d * e, D = i === void 0 || i === o ? "primary" : "secondary";
409
409
  return /* @__PURE__ */ _("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
410
410
  /* @__PURE__ */ c("div", { style: { height: n }, children: u >= 0 && /* @__PURE__ */ c(
411
411
  W,
@@ -427,7 +427,7 @@ const Xe = (s) => {
427
427
  {
428
428
  ariaLabel: s,
429
429
  color: r,
430
- height: D,
430
+ height: E,
431
431
  index: o,
432
432
  label: h,
433
433
  onClick: a,
@@ -439,7 +439,7 @@ const Xe = (s) => {
439
439
  {
440
440
  className: `mx-cmn-bar-label ${a ? "mx-cmn-clickable" : ""}`,
441
441
  onClick: a ? () => a(o) : void 0,
442
- children: /* @__PURE__ */ c(B, { bold: i === o, color: E, variant: "Small", children: g })
442
+ children: /* @__PURE__ */ c(B, { bold: i === o, color: D, variant: "Small", children: g })
443
443
  }
444
444
  )
445
445
  ] });
@@ -483,13 +483,13 @@ const Xe = (s) => {
483
483
  selectedIndex: n,
484
484
  valueFormatter: u = (h) => `${h}`
485
485
  }) => {
486
- const h = x(), f = Qt(h), g = r.reduce(Pt, []), S = s !== void 0 ? s : g.reduce(Gt, 0) / g.length, C = Math.max(...g), v = Math.min(...g), D = g.reduce(Ht, 0), E = C >= 0, R = v < 0, I = Y(E, R, o), N = Y(R, E, o), U = qt(S, C, v, I || N), tt = (b) => n === void 0 || b === n ? e : `${e}80`, k = () => /* @__PURE__ */ c(
486
+ const h = x(), f = Qt(h), g = r.reduce(Pt, []), S = s !== void 0 ? s : g.reduce(Gt, 0) / g.length, C = Math.max(...g), v = Math.min(...g), E = g.reduce(Ht, 0), D = C >= 0, R = v < 0, I = Y(D, R, o), N = Y(R, D, o), U = qt(S, C, v, I || N), tt = (b) => n === void 0 || b === n ? e : `${e}80`, k = () => /* @__PURE__ */ c(
487
487
  Q,
488
488
  {
489
489
  averageLineHeight: U,
490
490
  bottomHeight: N,
491
491
  color: "",
492
- range: D,
492
+ range: E,
493
493
  topHeight: I,
494
494
  value: 0,
495
495
  width: void 0
@@ -508,7 +508,7 @@ const Xe = (s) => {
508
508
  color: tt(F),
509
509
  index: F,
510
510
  onClick: i,
511
- range: D,
511
+ range: E,
512
512
  selectedIndex: n,
513
513
  topHeight: I,
514
514
  value: b.value,
@@ -896,7 +896,7 @@ class oe {
896
896
  this.globalStore = t, this.api = new K(t.endpoint, t.sessionToken, t.onError), m(this);
897
897
  }
898
898
  get analysisChartData() {
899
- return Dt(Et(this.visibleHoldings), this.analysisType);
899
+ return Et(Dt(this.visibleHoldings), this.analysisType);
900
900
  }
901
901
  get analysisDetails() {
902
902
  return At(this.visibleHoldings)[this.analysisType] || {};
@@ -1231,7 +1231,7 @@ class Ve {
1231
1231
  globalUiStore;
1232
1232
  constructor(t = j, e = "/", r) {
1233
1233
  try {
1234
- this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, console.info("GlobalStore onError:", this.onError?.toString()), this.accountStore = new yt(this), this.appDataStore = new ae(this), this.analyticsStore = new Kt(this), this.beatStore = new St(this), this.budgetsStore = new jt(this), this.cashflowStore = new nt(this), this.categoryStore = new et(this), this.connectStore = new ne({ ...this, onError: void 0 }), this.copyStore = new Xt({ ...this, onError: void 0 }), this.debtsStore = new xt(this), this.finstrongStore = new Ct(this), this.goalStore = new it(this), this.helpStore = new re(this), this.holdingStore = new oe(this), this.merchantStore = new Tt(this), this.netWorthStore = new Bt(this), this.notificationStore = new st(this), this.recurringTransactionsStore = new mt(this), this.settingsStore = new It(this), this.transactionStore = new at(this), this.trendsStore = new ct(this), this.userStore = new ce(this), this.globalUiStore = new ie(this);
1234
+ this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, console.info("GlobalStore onError:", this.onError?.toString()), this.accountStore = new yt(this), this.appDataStore = new ae(this), this.analyticsStore = new Kt({ ...this, onError: void 0 }), this.beatStore = new St(this), this.budgetsStore = new jt(this), this.cashflowStore = new nt({ ...this, onError: void 0 }), this.categoryStore = new et(this), this.connectStore = new ne({ ...this, onError: void 0 }), this.copyStore = new Xt(this), this.debtsStore = new xt({ ...this, onError: void 0 }), this.finstrongStore = new Ct(this), this.goalStore = new it(this), this.helpStore = new re(this), this.holdingStore = new oe(this), this.merchantStore = new Tt(this), this.netWorthStore = new Bt({ ...this, onError: void 0 }), this.notificationStore = new st(this), this.recurringTransactionsStore = new mt(this), this.settingsStore = new It(this), this.transactionStore = new at(this), this.trendsStore = new ct({ ...this, onError: void 0 }), this.userStore = new ce(this), this.globalUiStore = new ie({ ...this, onError: void 0 });
1235
1235
  } catch (o) {
1236
1236
  throw console.error("GlobalStore constructor error:", o), o;
1237
1237
  }
@@ -1268,7 +1268,7 @@ class Ve {
1268
1268
  }
1269
1269
  export {
1270
1270
  xs as ANALYTICS_EVENTS,
1271
- Es as AccountFilter,
1271
+ Ds as AccountFilter,
1272
1272
  As as AccountIcon,
1273
1273
  Ts as AccountIconVariants,
1274
1274
  Ar as AccountNotificationTypes,
@@ -1399,8 +1399,8 @@ export {
1399
1399
  vo as useCategoryStore,
1400
1400
  ss as useCombineEvents,
1401
1401
  rs as useCombinePageviews,
1402
- Do as useDebtStore,
1403
- Eo as useError,
1402
+ Eo as useDebtStore,
1403
+ Do as useError,
1404
1404
  Ao as useEvent,
1405
1405
  To as useFinstrongStore,
1406
1406
  Bo as useGlobalCopyStore,
@@ -1409,7 +1409,7 @@ export {
1409
1409
  Fo as useGoalStore,
1410
1410
  Mo as useHelpStore,
1411
1411
  $o as useHoldingStore,
1412
- Dr as useInsightsEnabled,
1412
+ Er as useInsightsEnabled,
1413
1413
  Ro as useMerchantStore,
1414
1414
  Uo as useNetWorthStore,
1415
1415
  ko as useNotificationStore,
@@ -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-Cy--8F7E.mjs";
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";
@@ -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-DcobIUfg.mjs";
2
- import { c as Un, d as Yn } from "../GoalStore-DcobIUfg.mjs";
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";
@@ -1,4 +1,4 @@
1
- import { B as r } from "../BeatStore-LPnzXtXQ.mjs";
1
+ import { B as r } from "../BeatStore-DkRrMYcr.mjs";
2
2
  export {
3
3
  r as BeatStore
4
4
  };
@@ -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-cn8kDyVN.mjs";
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-BWFVzUt8.mjs";
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
- import { A as _ } from "../Fetch-DV5XjBJP.mjs";
3
- import { s as L } from "../NotificationStore-CIJ8NbCF.mjs";
4
- import { N as Nt, f as St } from "../NotificationStore-CIJ8NbCF.mjs";
2
+ import { A as _ } from "../Fetch-5yMqsiXO.mjs";
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-JqhzbjvQ.mjs";
34
- import { R as Gn } from "../RecurringTransactionsStore-JqhzbjvQ.mjs";
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-CU9TOlLc.mjs";
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-CD2A7dWt.mjs";
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-DCQGlXOT.mjs";
7
- import { T as wa } from "../TransactionStore-DCQGlXOT.mjs";
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";
@@ -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-BWFVzUt8.mjs";
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,6 +1,6 @@
1
1
  import { getUnixTime as l } from "date-fns/getUnixTime";
2
2
  import A from "bowser";
3
- import { F as u, A as r } from "./Fetch-DV5XjBJP.mjs";
3
+ import { F as u, A as r } from "./Fetch-5yMqsiXO.mjs";
4
4
  import y from "react";
5
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(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.20-alpha.mm12",
3
+ "version": "7.0.20-alpha.mm14",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",