@mx-cartographer/experiences 7.0.20-alpha.mm12 → 7.0.20-alpha.mm13
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-Cr3Kjpo4.mjs → AccountStore-xRAZ5q8q.mjs} +2 -2
- package/dist/{BeatApi-D4iZVGiY.mjs → BeatApi-bPKymk9s.mjs} +2 -2
- package/dist/{BeatStore-LPnzXtXQ.mjs → BeatStore-mnrkh3h6.mjs} +1 -1
- package/dist/{CategoryStore-CKS37_CH.mjs → CategoryStore-BlWkDwiZ.mjs} +2 -2
- package/dist/{Fetch-DV5XjBJP.mjs → Fetch-5yMqsiXO.mjs} +22 -22
- package/dist/{FinstrongStore-Cy--8F7E.mjs → FinstrongStore-ZIbHKDSr.mjs} +8 -8
- package/dist/{GoalStore-DcobIUfg.mjs → GoalStore-sMlO3voq.mjs} +2 -2
- package/dist/{MerchantStore-cn8kDyVN.mjs → MerchantStore-CR5dFLpL.mjs} +10 -10
- package/dist/{NotificationStore-CIJ8NbCF.mjs → NotificationStore-Bc_r-sfC.mjs} +11 -11
- package/dist/{RecurringTransactionsStore-JqhzbjvQ.mjs → RecurringTransactionsStore-DukrsYPV.mjs} +21 -21
- package/dist/{SettingsStore-CU9TOlLc.mjs → SettingsStore-C7rj4rLf.mjs} +6 -6
- package/dist/{TransactionApi-CD2A7dWt.mjs → TransactionApi-Dla2CTeC.mjs} +2 -2
- package/dist/{TransactionStore-DCQGlXOT.mjs → TransactionStore-DasHlGBB.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-BWFVzUt8.mjs → ViewMoreMicroCard-CjPlvt2p.mjs} +2 -2
- package/dist/accounts/index.es.js +1 -1
- package/dist/cashflow/index.es.js +2 -2
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +84 -84
- 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 +3 -3
- 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-DHSTr2O0.mjs → useCombineEvents-DwW81wcc.mjs} +20 -20
- package/package.json +1 -1
package/dist/common/index.es.js
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { G as M } from "../useCombineEvents-
|
|
2
|
-
import { A as ts, a as es, u as ss, b as rs } from "../useCombineEvents-
|
|
3
|
-
import { F as y, A as l } from "../Fetch-
|
|
4
|
-
import { B as as } from "../BeatApi-
|
|
5
|
-
import { C as et } from "../CategoryStore-
|
|
6
|
-
import { a as is } from "../CategoryStore-
|
|
7
|
-
import { N as st } from "../NotificationStore-
|
|
8
|
-
import { a as ds } from "../NotificationStore-
|
|
1
|
+
import { G as M } from "../useCombineEvents-DwW81wcc.mjs";
|
|
2
|
+
import { A as ts, a as es, u as ss, b as rs } from "../useCombineEvents-DwW81wcc.mjs";
|
|
3
|
+
import { F as y, A as l } from "../Fetch-5yMqsiXO.mjs";
|
|
4
|
+
import { B as as } from "../BeatApi-bPKymk9s.mjs";
|
|
5
|
+
import { C as et } from "../CategoryStore-BlWkDwiZ.mjs";
|
|
6
|
+
import { a as is } from "../CategoryStore-BlWkDwiZ.mjs";
|
|
7
|
+
import { N as st } from "../NotificationStore-Bc_r-sfC.mjs";
|
|
8
|
+
import { a as ds } from "../NotificationStore-Bc_r-sfC.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";
|
|
12
12
|
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
|
-
import { A as xs, D as Cs, W as
|
|
16
|
-
import { i as
|
|
15
|
+
import { A as xs, D as Cs, W as Es } from "../WidgetContainer-DPzZyq22.mjs";
|
|
16
|
+
import { i as As, a as vs, e as Ts, l as Is, A as Bs, 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 Ps, S as Gs } 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-
|
|
22
|
-
import { S as Vs } from "../TransactionStore-
|
|
21
|
+
import { T as at } from "../TransactionStore-DasHlGBB.mjs";
|
|
22
|
+
import { S as Vs } from "../TransactionStore-DasHlGBB.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-
|
|
29
|
-
import { C as hr, G as gr, M as pr, T as mr } from "../GoalStore-
|
|
28
|
+
import { d as it } from "../GoalStore-sMlO3voq.mjs";
|
|
29
|
+
import { C as hr, G as gr, M as pr, T as mr } from "../GoalStore-sMlO3voq.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
|
|
35
|
-
import { A as
|
|
34
|
+
import { L as Cr, S as Er, u as Dr } from "../TrendsStore-DpyWU-HL.mjs";
|
|
35
|
+
import { A as vr, B as Tr, I as Ir, N as Br, 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";
|
|
38
38
|
import { css as w, keyframes as ht } from "@mxenabled/cssinjs";
|
|
39
|
-
import { useTokens as x, Text as
|
|
39
|
+
import { useTokens as x, Text as I } from "@mxenabled/mxui";
|
|
40
40
|
import { D as $r } from "../Donut-1UMNcG67.mjs";
|
|
41
41
|
import { L as Ur } from "../LineChart-C2Q2Sr1y.mjs";
|
|
42
42
|
import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
|
-
import { D as
|
|
43
|
+
import { D as Pr, a as Gr, O as Hr, b as qr, f as Wr } from "../Dialog-CWW597AF.mjs";
|
|
44
44
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
45
|
import { S as Yr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
46
|
import { D as Xr } from "../Drawer-kEE73B87.mjs";
|
|
47
47
|
import { I as jr, P as Vr, S as Zr } from "../Account-GFzWnbxA.mjs";
|
|
48
|
-
import { b as
|
|
48
|
+
import { b as v } 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-
|
|
52
|
-
import { S as go, T as po } from "../RecurringTransactionsStore-
|
|
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
|
|
51
|
+
import { R as mt } from "../RecurringTransactionsStore-DukrsYPV.mjs";
|
|
52
|
+
import { S as go, T as po } from "../RecurringTransactionsStore-DukrsYPV.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 Eo, x as Do, y as Ao, e as vo, w as To, u as Io, l as Bo, 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 Po, f as Go, v as Ho, 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-
|
|
56
|
+
import { a as yt } from "../AccountStore-xRAZ5q8q.mjs";
|
|
57
57
|
import ft from "posthog-js";
|
|
58
|
-
import { B as St } from "../BeatStore-
|
|
58
|
+
import { B as St } from "../BeatStore-mnrkh3h6.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-
|
|
66
|
-
import { A as
|
|
67
|
-
import { M as Tt } from "../MerchantStore-
|
|
68
|
-
import { N as
|
|
69
|
-
import { a as
|
|
65
|
+
import { a as Ct } from "../FinstrongStore-ZIbHKDSr.mjs";
|
|
66
|
+
import { A as Et, m as Dt, a as At, b as vt } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
67
|
+
import { M as Tt } from "../MerchantStore-CR5dFLpL.mjs";
|
|
68
|
+
import { N as It } from "../NetWorthStore-BQiUgOb8.mjs";
|
|
69
|
+
import { a as Bt } from "../SettingsStore-C7rj4rLf.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";
|
|
73
73
|
import { b as sa, a as ra, g as oa } from "../Localization-2MODESHW.mjs";
|
|
74
|
-
import { alpha as Ft, lighten as
|
|
74
|
+
import { alpha as Ft, lighten as P, darken as G } from "@mui/material";
|
|
75
75
|
var Mt = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.EveryWeek = 1] = "EveryWeek", s[s.EveryOtherWeek = 2] = "EveryOtherWeek", s[s.EveryMonth = 3] = "EveryMonth", s[s.EveryOtherMonth = 4] = "EveryOtherMonth", s[s.EveryQuarter = 5] = "EveryQuarter", s[s.EveryOtherQuarter = 6] = "EveryOtherQuarter", s[s.EveryYear = 7] = "EveryYear", s))(Mt || {});
|
|
76
76
|
const qe = [
|
|
77
77
|
{ id: 0, copy: "frequency_unknown" },
|
|
@@ -92,11 +92,11 @@ const Qe = (s, t) => {
|
|
|
92
92
|
const e = s.palette.mode === "dark", r = (d, i) => {
|
|
93
93
|
const n = t?.[d];
|
|
94
94
|
return {
|
|
95
|
-
lighter: n ?
|
|
96
|
-
light: n ?
|
|
95
|
+
lighter: n ? P(n, 0.5) : i.lighter,
|
|
96
|
+
light: n ? P(n, 0.25) : i.light,
|
|
97
97
|
main: n || i.main,
|
|
98
|
-
dark: n ?
|
|
99
|
-
darker: n ?
|
|
98
|
+
dark: n ? G(n, 0.25) : i.dark,
|
|
99
|
+
darker: n ? G(n, 0.5) : i.darker
|
|
100
100
|
};
|
|
101
101
|
}, o = {
|
|
102
102
|
primary: r(e ? "primary_color_dark" : "primary_color", s.palette.primary),
|
|
@@ -220,7 +220,7 @@ const Qe = (s, t) => {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
-
class
|
|
223
|
+
class H {
|
|
224
224
|
fetchInstance;
|
|
225
225
|
constructor(t) {
|
|
226
226
|
this.fetchInstance = new y(t, "", {
|
|
@@ -240,7 +240,7 @@ class P {
|
|
|
240
240
|
class Ye {
|
|
241
241
|
fetchInstance;
|
|
242
242
|
constructor(t, e, r) {
|
|
243
|
-
this.fetchInstance = new y(t, e,
|
|
243
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
244
244
|
}
|
|
245
245
|
getLocalizedCopy = async (t) => this.fetchInstance.post(l.LOCALIZED_COPY, t).then((e) => e);
|
|
246
246
|
getLocalizedContent = async (t) => this.fetchInstance.post(`${l.LOCALIZED_CONTENT}/${t}`).then((e) => e);
|
|
@@ -248,7 +248,7 @@ class Ye {
|
|
|
248
248
|
class ze {
|
|
249
249
|
fetchInstance;
|
|
250
250
|
constructor(t, e, r) {
|
|
251
|
-
this.fetchInstance = new y(t, e,
|
|
251
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
252
252
|
}
|
|
253
253
|
addScheduledPayment = async (t) => this.fetchInstance.post(l.SCHEDULED_PAYMENTS, {
|
|
254
254
|
...t,
|
|
@@ -262,7 +262,7 @@ class ze {
|
|
|
262
262
|
class $ {
|
|
263
263
|
fetchInstance;
|
|
264
264
|
constructor(t, e, r) {
|
|
265
|
-
this.fetchInstance = new y(t, e,
|
|
265
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
266
266
|
}
|
|
267
267
|
getUserFeatures = async () => this.fetchInstance.get(l.USER_FEATURES).then((t) => t.user_features).catch((t) => t);
|
|
268
268
|
updateUser = async (t) => this.fetchInstance.put(l.USER, t).then((e) => e.user);
|
|
@@ -284,13 +284,13 @@ const Xe = (s) => {
|
|
|
284
284
|
const r = x(), o = kt(r, s);
|
|
285
285
|
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-chart-legend ${o}`, children: [
|
|
286
286
|
/* @__PURE__ */ c("div", { "aria-label": e, className: "mx-cmn-color-square", role: "img" }),
|
|
287
|
-
/* @__PURE__ */ c(
|
|
287
|
+
/* @__PURE__ */ c(I, { variant: "XSmall", children: e }),
|
|
288
288
|
/* @__PURE__ */ _("div", { "aria-label": t, className: "mx-cmn-triple-dot", role: "img", children: [
|
|
289
289
|
/* @__PURE__ */ c("div", { className: "mx-cmn-dot" }),
|
|
290
290
|
/* @__PURE__ */ c("div", { className: "mx-cmn-dot" }),
|
|
291
291
|
/* @__PURE__ */ c("div", { className: "mx-cmn-dot" })
|
|
292
292
|
] }),
|
|
293
|
-
/* @__PURE__ */ c(
|
|
293
|
+
/* @__PURE__ */ c(I, { variant: "XSmall", children: t })
|
|
294
294
|
] });
|
|
295
295
|
}, kt = (s, t) => w({
|
|
296
296
|
alignItems: "center",
|
|
@@ -331,7 +331,7 @@ const Xe = (s) => {
|
|
|
331
331
|
const n = x(), u = Lt(n, t, e), h = (S) => {
|
|
332
332
|
a && (S.key === " " || S.key === "Enter") && a(r);
|
|
333
333
|
}, f = d === void 0 || d === r ? "primary" : "secondary", g = () => /* @__PURE__ */ c(
|
|
334
|
-
|
|
334
|
+
I,
|
|
335
335
|
{
|
|
336
336
|
"aria-hidden": !0,
|
|
337
337
|
bold: d === r,
|
|
@@ -405,14 +405,14 @@ const Xe = (s) => {
|
|
|
405
405
|
width: f,
|
|
406
406
|
xAxisLabel: g = ""
|
|
407
407
|
}) => {
|
|
408
|
-
const S = x(), C = Ot(S, f),
|
|
408
|
+
const S = x(), C = Ot(S, f), E = u / d * n, D = Math.abs(u) / d * e, A = 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,
|
|
412
412
|
{
|
|
413
413
|
ariaLabel: s,
|
|
414
414
|
color: r,
|
|
415
|
-
height:
|
|
415
|
+
height: E,
|
|
416
416
|
index: o,
|
|
417
417
|
label: h,
|
|
418
418
|
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(
|
|
442
|
+
children: /* @__PURE__ */ c(I, { bold: i === o, color: A, variant: "Small", children: g })
|
|
443
443
|
}
|
|
444
444
|
)
|
|
445
445
|
] });
|
|
@@ -468,7 +468,7 @@ const Xe = (s) => {
|
|
|
468
468
|
"& .mx-cmn-clickable": {
|
|
469
469
|
cursor: "pointer"
|
|
470
470
|
}
|
|
471
|
-
}),
|
|
471
|
+
}), Pt = (s, t) => s + t, Gt = (s, t) => Math.abs(t) > s ? Math.abs(t) : s, Ht = (s, t) => [...s, t.value], Y = (s, t, e) => {
|
|
472
472
|
const r = s && t ? e / 2 : e;
|
|
473
473
|
return s ? r : 0;
|
|
474
474
|
}, qt = (s, t, e, r) => s / (t < 0 ? -e : t) * r || 0, Wt = ({
|
|
@@ -483,14 +483,14 @@ 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(
|
|
486
|
+
const h = x(), f = Qt(h), g = r.reduce(Ht, []), S = s !== void 0 ? s : g.reduce(Pt, 0) / g.length, C = Math.max(...g), E = Math.min(...g), D = g.reduce(Gt, 0), A = C >= 0, R = E < 0, B = Y(A, R, o), N = Y(R, A, o), U = qt(S, C, E, B || 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
492
|
range: D,
|
|
493
|
-
topHeight:
|
|
493
|
+
topHeight: B,
|
|
494
494
|
value: 0,
|
|
495
495
|
width: void 0
|
|
496
496
|
}
|
|
@@ -510,7 +510,7 @@ const Xe = (s) => {
|
|
|
510
510
|
onClick: i,
|
|
511
511
|
range: D,
|
|
512
512
|
selectedIndex: n,
|
|
513
|
-
topHeight:
|
|
513
|
+
topHeight: B,
|
|
514
514
|
value: b.value,
|
|
515
515
|
valueLabel: u(b.value),
|
|
516
516
|
width: t,
|
|
@@ -669,7 +669,7 @@ class Kt {
|
|
|
669
669
|
class z {
|
|
670
670
|
fetchInstance;
|
|
671
671
|
constructor(t, e, r) {
|
|
672
|
-
this.fetchInstance = new y(t, e,
|
|
672
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
673
673
|
}
|
|
674
674
|
addBudget = async (t, e, r = null) => this.fetchInstance.post(l.BUDGETS, {
|
|
675
675
|
amount: e,
|
|
@@ -720,7 +720,7 @@ class jt {
|
|
|
720
720
|
get detailedBudgets() {
|
|
721
721
|
return O(
|
|
722
722
|
this.budgets.filter(
|
|
723
|
-
(t) => t.category_guid !==
|
|
723
|
+
(t) => t.category_guid !== v.INCOME && t.category_guid !== v.TRANSFER && t.category_guid !== v.INVESTMENTS
|
|
724
724
|
),
|
|
725
725
|
this.globalStore.categoryStore.detailedCategories,
|
|
726
726
|
this.globalStore.copyStore.copy.budgets,
|
|
@@ -734,7 +734,7 @@ class jt {
|
|
|
734
734
|
this.globalStore.copyStore.copy.budgets,
|
|
735
735
|
this.theme
|
|
736
736
|
).reduce(
|
|
737
|
-
(r, o) => o.category_guid !==
|
|
737
|
+
(r, o) => o.category_guid !== v.INCOME ? r : !r || o.percentage > r.percentage ? o : r,
|
|
738
738
|
void 0
|
|
739
739
|
)?.amount;
|
|
740
740
|
}
|
|
@@ -820,7 +820,7 @@ var Vt = /* @__PURE__ */ ((s) => (s[s.UNKNOWN = 0] = "UNKNOWN", s[s.CORRECT = 1]
|
|
|
820
820
|
class X {
|
|
821
821
|
fetchInstance;
|
|
822
822
|
constructor(t, e, r) {
|
|
823
|
-
this.fetchInstance = new y(t, e,
|
|
823
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
824
824
|
}
|
|
825
825
|
createSupportTicket = async (t) => this.fetchInstance.post(l.SUPPORT_TICKETS, t).then((e) => e);
|
|
826
826
|
}
|
|
@@ -880,13 +880,13 @@ class re {
|
|
|
880
880
|
class K {
|
|
881
881
|
fetchInstance;
|
|
882
882
|
constructor(t, e, r) {
|
|
883
|
-
this.fetchInstance = new y(t, e,
|
|
883
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
884
884
|
}
|
|
885
885
|
getHoldings = async () => this.fetchInstance.get(l.HOLDINGS).then((t) => t.holdings);
|
|
886
886
|
updateHoldings = async (t) => this.fetchInstance.put(`${l.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
|
|
887
887
|
}
|
|
888
888
|
class oe {
|
|
889
|
-
analysisType =
|
|
889
|
+
analysisType = Et.Stocks;
|
|
890
890
|
api = new K("/", "");
|
|
891
891
|
holdings = [];
|
|
892
892
|
holdingsLoaded = !1;
|
|
@@ -896,10 +896,10 @@ 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(
|
|
899
|
+
return Dt(At(this.visibleHoldings), this.analysisType);
|
|
900
900
|
}
|
|
901
901
|
get analysisDetails() {
|
|
902
|
-
return
|
|
902
|
+
return vt(this.visibleHoldings)[this.analysisType] || {};
|
|
903
903
|
}
|
|
904
904
|
get visibleHoldings() {
|
|
905
905
|
return this.holdings.filter(
|
|
@@ -1042,14 +1042,14 @@ const j = {
|
|
|
1042
1042
|
class V {
|
|
1043
1043
|
fetchInstance;
|
|
1044
1044
|
constructor(t, e, r) {
|
|
1045
|
-
this.fetchInstance = new y(t, e,
|
|
1045
|
+
this.fetchInstance = new y(t, e), console.log("API constructor onError:", r);
|
|
1046
1046
|
}
|
|
1047
1047
|
getAppData = async () => this.fetchInstance.get(l.APP_DATA).then((t) => t);
|
|
1048
1048
|
}
|
|
1049
1049
|
class ae {
|
|
1050
1050
|
globalStore;
|
|
1051
1051
|
api = new V("/", "");
|
|
1052
|
-
bannerApi = new
|
|
1052
|
+
bannerApi = new H("/");
|
|
1053
1053
|
appData = {};
|
|
1054
1054
|
banner = {};
|
|
1055
1055
|
constructor(t) {
|
|
@@ -1077,7 +1077,7 @@ class ae {
|
|
|
1077
1077
|
try {
|
|
1078
1078
|
const e = t || await this.api.getAppData();
|
|
1079
1079
|
p(() => {
|
|
1080
|
-
this.appData = e, this.bannerApi = new
|
|
1080
|
+
this.appData = e, this.bannerApi = new H(e.address?.bullseye || "/");
|
|
1081
1081
|
});
|
|
1082
1082
|
} catch (e) {
|
|
1083
1083
|
console.error(`Error loading app data: ${e}`);
|
|
@@ -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
|
|
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 It(this), this.notificationStore = new st(this), this.recurringTransactionsStore = new mt(this), this.settingsStore = new Bt(this), this.transactionStore = new at(this), this.trendsStore = new ct(this), this.userStore = new ce(this), this.globalUiStore = new ie(this);
|
|
1235
1235
|
} catch (o) {
|
|
1236
1236
|
throw console.error("GlobalStore constructor error:", o), o;
|
|
1237
1237
|
}
|
|
@@ -1268,16 +1268,16 @@ class Ve {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
export {
|
|
1270
1270
|
xs as ANALYTICS_EVENTS,
|
|
1271
|
-
|
|
1272
|
-
|
|
1271
|
+
As as AccountFilter,
|
|
1272
|
+
vs as AccountIcon,
|
|
1273
1273
|
Ts as AccountIconVariants,
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1274
|
+
vr as AccountNotificationTypes,
|
|
1275
|
+
Is as AccountSubType,
|
|
1276
|
+
Bs as AccountType,
|
|
1277
1277
|
Ns as AccountTypeName,
|
|
1278
1278
|
ts as AnalyticsApi,
|
|
1279
1279
|
l as ApiEndpoints,
|
|
1280
|
-
|
|
1280
|
+
H as BannerApi,
|
|
1281
1281
|
Ke as BarChart,
|
|
1282
1282
|
as as BeatApi,
|
|
1283
1283
|
Tr as BudgetNotificationTypes,
|
|
@@ -1286,7 +1286,7 @@ export {
|
|
|
1286
1286
|
is as CategoryApi,
|
|
1287
1287
|
to as CategoryColors,
|
|
1288
1288
|
eo as CategoryGuidToName,
|
|
1289
|
-
|
|
1289
|
+
v as CategoryGuids,
|
|
1290
1290
|
so as CategoryIcon,
|
|
1291
1291
|
hr as ConnectCard,
|
|
1292
1292
|
Fs as ConnectDrawer,
|
|
@@ -1295,12 +1295,12 @@ export {
|
|
|
1295
1295
|
ao as CurrencyCodes,
|
|
1296
1296
|
qs as CurrencyInput,
|
|
1297
1297
|
yr as CurrencyText,
|
|
1298
|
-
|
|
1298
|
+
Pr as DATE_FORMATS_INTL,
|
|
1299
1299
|
gt as DEFAULT_DONUT_SIZE,
|
|
1300
1300
|
pt as DEFAULT_STROKE_WIDTH,
|
|
1301
1301
|
rr as DataRow,
|
|
1302
1302
|
Cs as DateRangeSelector,
|
|
1303
|
-
|
|
1303
|
+
Gr as Dialog,
|
|
1304
1304
|
$r as Donut,
|
|
1305
1305
|
Xr as Drawer,
|
|
1306
1306
|
Sr as EmptyState,
|
|
@@ -1318,7 +1318,7 @@ export {
|
|
|
1318
1318
|
jr as INCOME_ACCOUNT_TYPES,
|
|
1319
1319
|
er as IconBacking,
|
|
1320
1320
|
lr as InformationTooltip,
|
|
1321
|
-
|
|
1321
|
+
Ir as InsightNotificationTypes,
|
|
1322
1322
|
Rt as IterationItemTypes,
|
|
1323
1323
|
We as LOADING_STATUS,
|
|
1324
1324
|
Ur as LineChart,
|
|
@@ -1334,15 +1334,15 @@ export {
|
|
|
1334
1334
|
je as MultiSegmentDonut,
|
|
1335
1335
|
ks as NonConnectedStatuses,
|
|
1336
1336
|
ds as NotificationApi,
|
|
1337
|
-
|
|
1338
|
-
|
|
1337
|
+
Br as NotificationTypes,
|
|
1338
|
+
Hr as ORDINAL_DATE_FORMAT,
|
|
1339
1339
|
qr as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
1340
1340
|
Vr as PAYMENT_ACCOUNT_TYPES,
|
|
1341
1341
|
ro as PaymentCategories,
|
|
1342
1342
|
$t as PlanTypes,
|
|
1343
1343
|
Ls as ProcessingStatuses,
|
|
1344
1344
|
Os as PropertyType,
|
|
1345
|
-
|
|
1345
|
+
Ps as PropertyTypeName,
|
|
1346
1346
|
qe as RECURRENCE_COPY,
|
|
1347
1347
|
ar as RecurrenceStatus,
|
|
1348
1348
|
nr as RecurrenceType,
|
|
@@ -1358,9 +1358,9 @@ export {
|
|
|
1358
1358
|
Vs as SelectionBox,
|
|
1359
1359
|
Yr as SingleSegmentDonut,
|
|
1360
1360
|
go as Sizes,
|
|
1361
|
-
|
|
1361
|
+
Er as StackedLineChart,
|
|
1362
1362
|
Lr as StatusBar,
|
|
1363
|
-
|
|
1363
|
+
Gs as StatusName,
|
|
1364
1364
|
po as TOUCH_TARGET,
|
|
1365
1365
|
Js as TabContentContainer,
|
|
1366
1366
|
Nr as ToggleButtonListItem,
|
|
@@ -1372,7 +1372,7 @@ export {
|
|
|
1372
1372
|
ce as UserStore,
|
|
1373
1373
|
Vt as UserVerification,
|
|
1374
1374
|
q as WidgetApi,
|
|
1375
|
-
|
|
1375
|
+
Es as WidgetContainer,
|
|
1376
1376
|
fo as WidgetContainerContext,
|
|
1377
1377
|
So as WidgetContainerProvider,
|
|
1378
1378
|
es as analyticsSession,
|
|
@@ -1396,15 +1396,15 @@ export {
|
|
|
1396
1396
|
wo as useAppConfig,
|
|
1397
1397
|
xo as useBudgetsStore,
|
|
1398
1398
|
Co as useCashflowStore,
|
|
1399
|
-
|
|
1399
|
+
Eo as useCategoryStore,
|
|
1400
1400
|
ss as useCombineEvents,
|
|
1401
1401
|
rs as useCombinePageviews,
|
|
1402
1402
|
Do as useDebtStore,
|
|
1403
|
-
|
|
1404
|
-
|
|
1403
|
+
Ao as useError,
|
|
1404
|
+
vo as useEvent,
|
|
1405
1405
|
To as useFinstrongStore,
|
|
1406
|
-
|
|
1407
|
-
|
|
1406
|
+
Io as useGlobalCopyStore,
|
|
1407
|
+
Bo as useGlobalStore,
|
|
1408
1408
|
No as useGlobalUiStore,
|
|
1409
1409
|
Fo as useGoalStore,
|
|
1410
1410
|
Mo as useHelpStore,
|
|
@@ -1417,9 +1417,9 @@ export {
|
|
|
1417
1417
|
Xe as usePrevious,
|
|
1418
1418
|
Oo as useRecurringTransactionsStore,
|
|
1419
1419
|
Yo as useScreenSize,
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1420
|
+
Po as useSettingsStore,
|
|
1421
|
+
Go as useTransactionStore,
|
|
1422
|
+
Ho as useTrendsStore,
|
|
1423
1423
|
qo as useUserStore,
|
|
1424
1424
|
Wo as useWidgetContainerProvider
|
|
1425
1425
|
};
|
|
@@ -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-ZIbHKDSr.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-sMlO3voq.mjs";
|
|
2
|
+
import { c as Un, d as Yn } from "../GoalStore-sMlO3voq.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-CR5dFLpL.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-CjPlvt2p.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-
|
|
3
|
-
import { s as L } from "../NotificationStore-
|
|
4
|
-
import { N as Nt, f as St } from "../NotificationStore-
|
|
2
|
+
import { A as _ } from "../Fetch-5yMqsiXO.mjs";
|
|
3
|
+
import { s as L } from "../NotificationStore-Bc_r-sfC.mjs";
|
|
4
|
+
import { N as Nt, f as St } from "../NotificationStore-Bc_r-sfC.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-DukrsYPV.mjs";
|
|
34
|
+
import { R as Gn } from "../RecurringTransactionsStore-DukrsYPV.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-C7rj4rLf.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-Dla2CTeC.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-DasHlGBB.mjs";
|
|
7
|
+
import { T as wa } from "../TransactionStore-DasHlGBB.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-CjPlvt2p.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";
|