@mx-cartographer/experiences 7.0.42 → 7.0.44-alpha.mega1
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/CHANGELOG.md +8 -0
- package/dist/{Account-9Tt9DsMn.mjs → Account-CYkoSG86.mjs} +1 -1
- package/dist/{AccountDetailsContent-B5HMpGeJ.mjs → AccountDetailsContent-BuXTLptM.mjs} +41 -41
- package/dist/{AccountDetailsHeader-Bt8O2raZ.mjs → AccountDetailsHeader-BWl2e21n.mjs} +4 -4
- package/dist/{AccountFields-DvACKQho.mjs → AccountFields-x4A7Loe5.mjs} +2 -2
- package/dist/{AccountListItem-FmvNfEP8.mjs → AccountListItem-D9mpJkCP.mjs} +2 -2
- package/dist/{AccountStore-BKK7dA8Y.mjs → AccountStore-WQAkYgx1.mjs} +2 -2
- package/dist/{Accounts-DR3xTyAx.mjs → Accounts-CeeJag5-.mjs} +1 -1
- package/dist/ConnectDrawer-CNdzwKdX.mjs +528 -0
- package/dist/{ConnectionsDrawer-B-dZx6gH.mjs → ConnectionsDrawer-CcBzf4l5.mjs} +1 -1
- package/dist/{DebtsStore-3kGPnxRQ.mjs → DebtsStore-EZh5aBxe.mjs} +1 -1
- package/dist/{ExportCsvAction-hsbyeBjg.mjs → ExportCsvAction-BKxnEFRu.mjs} +2 -2
- package/dist/{GoalStore-B_nwDz-L.mjs → GoalStore-B9lVADw5.mjs} +2 -2
- package/dist/{LineChart-CbOmpTDP.mjs → LineChart-CHTf3RcN.mjs} +137 -130
- package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-D1XoZlqY.mjs} +4 -4
- package/dist/{NetWorthStore-fst-mYe9.mjs → NetWorthStore-N5esR-KJ.mjs} +2 -2
- package/dist/{NotificationSettings-zI5EGf1a.mjs → NotificationSettings-CWZR6ki-.mjs} +1 -1
- package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-DA6qT8ai.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-DeLXfuC4.mjs → RecurringTransactionsStore-Djo9IeDd.mjs} +1 -1
- package/dist/{SettingsStore-Dc34Tzx8.mjs → SettingsStore-BcgS_Ohv.mjs} +1 -1
- package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-DO_YihKP.mjs} +2 -2
- package/dist/{TransactionStore-De9d82Ao.mjs → TransactionStore-B2Vq95Fg.mjs} +2 -2
- package/dist/{User-BwjK6Fwz.mjs → User-Bfnq7dd4.mjs} +20 -21
- package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-DfyV39Ru.mjs} +1 -1
- package/dist/accounts/index.es.js +128 -123
- package/dist/budgets/index.es.js +5 -5
- package/dist/cashflow/index.es.js +222 -218
- package/dist/common/index.es.js +44 -44
- package/dist/common/utils/AccountFilter.d.ts +5 -0
- package/dist/dashboard/index.es.js +1 -1
- package/dist/debts/index.es.js +246 -243
- package/dist/{exportTransactionsToCSV--LPpH3es.mjs → exportTransactionsToCSV-BgWQsGWy.mjs} +1 -1
- package/dist/finstrong/index.es.js +5 -5
- package/dist/goals/index.es.js +6 -6
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +2 -2
- package/dist/networth/index.es.js +5 -5
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +46 -45
- package/dist/settings/index.es.js +4 -4
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +10 -10
- package/dist/trends/index.es.js +5 -5
- package/package.json +1 -1
- package/dist/ConnectDrawer-L1_xPNYt.mjs +0 -507
- package/dist/{RepeatingTransaction-BW4J-jeJ.mjs → RecurringTransactions-DTUx9VN1.mjs} +1 -1
- package/dist/{Notification-aGCHxikw.mjs → ToggleListItem-r0Kx56wF.mjs} +1 -1
package/dist/common/index.es.js
CHANGED
|
@@ -6,55 +6,55 @@ import { C as et } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
|
6
6
|
import { a as ds } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
7
7
|
import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
|
|
8
8
|
import { a as us } from "../NotificationStore-C6PH6MKm.mjs";
|
|
9
|
-
import { T as rt } from "../User-
|
|
10
|
-
import { C as gs, b as ps, L as ms, a as _s } from "../User-
|
|
9
|
+
import { T as rt } from "../User-Bfnq7dd4.mjs";
|
|
10
|
+
import { C as gs, b as ps, L as ms, a as _s } from "../User-Bfnq7dd4.mjs";
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as bs } from "../MicroWidgetContainer-Dpu8VDSP.mjs";
|
|
14
14
|
import { M as xs } from "../MiniWidgetContainer-BhHaL8eb.mjs";
|
|
15
|
-
import { A as vs, D as Ds, W as Es } from "../WidgetContainer-
|
|
16
|
-
import { i as Ts, a as Bs, e as Is,
|
|
15
|
+
import { A as vs, D as Ds, W as Es } from "../WidgetContainer-DfyV39Ru.mjs";
|
|
16
|
+
import { i as Ts, a as Bs, e as Is, m as Ns, A as Ms, f as ks, j as $s, d as Rs, l as Ps, E as Os, h as Us, N as Ls, g as Gs, P as Hs, n as Fs, S as Ws } from "../ConnectDrawer-CNdzwKdX.mjs";
|
|
17
17
|
import { C as Ys } from "../CurrencyInput-pHmLzc_c.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-B2Vq95Fg.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-B2Vq95Fg.mjs";
|
|
23
23
|
import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
|
-
import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../
|
|
25
|
+
import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-DTUx9VN1.mjs";
|
|
26
26
|
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
27
27
|
import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
28
|
-
import { d as it } from "../GoalStore-
|
|
29
|
-
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-
|
|
28
|
+
import { d as it } from "../GoalStore-B9lVADw5.mjs";
|
|
29
|
+
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-B9lVADw5.mjs";
|
|
30
30
|
import { C as Sr } from "../CurrencyText-YUhH2caW.mjs";
|
|
31
31
|
import { E as wr } from "../EmptyState-C0lr9E5T.mjs";
|
|
32
32
|
import { L as Cr } from "../ListItemAction-DXyHyJn0.mjs";
|
|
33
33
|
import { T as ct } from "../TrendsStore-DWVFqEC-.mjs";
|
|
34
34
|
import { L as Dr, S as Er } from "../TrendsStore-DWVFqEC-.mjs";
|
|
35
|
-
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../
|
|
35
|
+
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../ToggleListItem-r0Kx56wF.mjs";
|
|
36
36
|
import { jsxs as f, jsx as n } 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
39
|
import { useTokens as x, Text as B } from "@mxenabled/mxui";
|
|
40
40
|
import { D as Rr } from "../Donut-1UMNcG67.mjs";
|
|
41
|
-
import { L as Or } from "../LineChart-
|
|
41
|
+
import { L as Or } from "../LineChart-CHTf3RcN.mjs";
|
|
42
42
|
import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { D as Hr, a as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-CWW597AF.mjs";
|
|
44
44
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
45
|
import { S as zr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
46
|
import { D as jr } from "../Drawer-kEE73B87.mjs";
|
|
47
|
-
import { I as Vr, P as Zr, S as Jr } from "../Account-
|
|
47
|
+
import { I as Vr, P as Zr, S as Jr } from "../Account-CYkoSG86.mjs";
|
|
48
48
|
import { b as A } from "../Category-CevNQ03n.mjs";
|
|
49
49
|
import { C as eo, c as so, a as ro, P as oo } from "../Category-CevNQ03n.mjs";
|
|
50
50
|
import { C as no, f as io, b as co, a as lo, g as uo, i as ho } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
51
|
-
import { R as mt } from "../RecurringTransactionsStore-
|
|
52
|
-
import { S as po, T as mo } from "../RecurringTransactionsStore-
|
|
51
|
+
import { R as mt } from "../RecurringTransactionsStore-Djo9IeDd.mjs";
|
|
52
|
+
import { S as po, T as mo } from "../RecurringTransactionsStore-Djo9IeDd.mjs";
|
|
53
53
|
import { G as fo, B as yo, C as So, W as bo, c as wo, l as xo, h as Co, t as vo, m as Do, x as Eo, y as Ao, f as To, w as Bo, u as Io, e as No, a as Mo, k as ko, z as $o, s as Ro, b as Po, q as Oo, n as Uo, A as Lo, i as Go, r as Ho, g as Fo, v as Wo, o as qo, p as Yo } from "../hooks-BAAimqdq.mjs";
|
|
54
54
|
import { u as zo } from "../useInsightsEnabled-BwLaOKWW.mjs";
|
|
55
55
|
import { u as jo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
56
56
|
import { makeAutoObservable as _, runInAction as m, reaction as _t } from "mobx";
|
|
57
|
-
import { a as ft } from "../AccountStore-
|
|
57
|
+
import { a as ft } from "../AccountStore-WQAkYgx1.mjs";
|
|
58
58
|
import yt from "posthog-js";
|
|
59
59
|
import { B as St } from "../BeatStore-IBnXd4YK.mjs";
|
|
60
60
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
@@ -62,12 +62,12 @@ import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
|
62
62
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
63
63
|
import { f as bt, a as wt, b as L } from "../BudgetUtil-n3gEKIub.mjs";
|
|
64
64
|
import { g as Vo, e as Zo, c as Jo, d as ta, i as ea } from "../BudgetUtil-n3gEKIub.mjs";
|
|
65
|
-
import { a as xt } from "../DebtsStore-
|
|
65
|
+
import { a as xt } from "../DebtsStore-EZh5aBxe.mjs";
|
|
66
66
|
import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
|
|
67
67
|
import { A as vt, m as Dt, a as Et, b as At } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
68
68
|
import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
|
|
69
|
-
import { N as Bt } from "../NetWorthStore-
|
|
70
|
-
import { a as It } from "../SettingsStore-
|
|
69
|
+
import { N as Bt } from "../NetWorthStore-N5esR-KJ.mjs";
|
|
70
|
+
import { a as It } from "../SettingsStore-BcgS_Ohv.mjs";
|
|
71
71
|
import { addMonths as Nt } from "date-fns/addMonths";
|
|
72
72
|
import { getMonth as T } from "date-fns/getMonth";
|
|
73
73
|
import { i as ra } from "../DateUtil-BcuH7ErC.mjs";
|
|
@@ -241,13 +241,14 @@ class W {
|
|
|
241
241
|
}
|
|
242
242
|
requestWidgetUrl = async (t) => this.fetchInstance.post(u.WIDGET_URLS, t).then((e) => e.widget_url);
|
|
243
243
|
}
|
|
244
|
+
var Ut = /* @__PURE__ */ ((s) => (s[s.UNKNOWN = 0] = "UNKNOWN", s[s.CORRECT = 1] = "CORRECT", s[s.INCORRECT = 2] = "INCORRECT", s))(Ut || {}), Lt = /* @__PURE__ */ ((s) => (s.Missed = "Missed", s.Paid = "Paid", s.Upcoming = "Upcoming expense", s.Income = "Income", s))(Lt || {}), Gt = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.Subscription = 1] = "Subscription", s[s.Bill = 2] = "Bill", s))(Gt || {}), Ht = /* @__PURE__ */ ((s) => (s.Desktop = "Desktop", s.Mobile = "Mobile", s))(Ht || {});
|
|
244
245
|
const Ke = (s) => {
|
|
245
246
|
const t = lt();
|
|
246
247
|
return ut(() => {
|
|
247
248
|
t.current = s;
|
|
248
249
|
}, [s]), t.current;
|
|
249
|
-
},
|
|
250
|
-
const r = x(), o =
|
|
250
|
+
}, Ft = ({ color: s, labelAverage: t, labelMain: e }) => {
|
|
251
|
+
const r = x(), o = Wt(r, s);
|
|
251
252
|
return /* @__PURE__ */ f("div", { className: `mx-cmn-bar-chart-legend ${o}`, children: [
|
|
252
253
|
/* @__PURE__ */ n("div", { "aria-label": e, className: "mx-cmn-color-square", role: "img" }),
|
|
253
254
|
/* @__PURE__ */ n(B, { variant: "XSmall", children: e }),
|
|
@@ -258,7 +259,7 @@ const Ke = (s) => {
|
|
|
258
259
|
] }),
|
|
259
260
|
/* @__PURE__ */ n(B, { variant: "XSmall", children: t })
|
|
260
261
|
] });
|
|
261
|
-
},
|
|
262
|
+
}, Wt = (s, t) => w({
|
|
262
263
|
alignItems: "center",
|
|
263
264
|
display: "flex",
|
|
264
265
|
gap: s.Spacing.XSmall,
|
|
@@ -294,7 +295,7 @@ const Ke = (s) => {
|
|
|
294
295
|
selectedIndex: l,
|
|
295
296
|
value: c
|
|
296
297
|
}) => {
|
|
297
|
-
const i = x(), h =
|
|
298
|
+
const i = x(), h = qt(i, t, e), p = (S) => {
|
|
298
299
|
a && (S.key === " " || S.key === "Enter") && a(r);
|
|
299
300
|
}, d = l === void 0 || l === r ? "primary" : "secondary", g = () => /* @__PURE__ */ n(
|
|
300
301
|
B,
|
|
@@ -323,7 +324,7 @@ const Ke = (s) => {
|
|
|
323
324
|
),
|
|
324
325
|
c < 0 && /* @__PURE__ */ n(g, {})
|
|
325
326
|
] });
|
|
326
|
-
},
|
|
327
|
+
}, qt = (s, t, e) => {
|
|
327
328
|
const r = `expandBar-${Math.round(e)}`, o = ht(r, { from: { height: 0 }, to: { height: e } });
|
|
328
329
|
return w({
|
|
329
330
|
display: "flex",
|
|
@@ -371,7 +372,7 @@ const Ke = (s) => {
|
|
|
371
372
|
width: d,
|
|
372
373
|
xAxisLabel: g = ""
|
|
373
374
|
}) => {
|
|
374
|
-
const S = x(), C =
|
|
375
|
+
const S = x(), C = Yt(S, d), v = h / l * i, D = Math.abs(h) / l * e, E = c === void 0 || c === o ? "primary" : "secondary";
|
|
375
376
|
return /* @__PURE__ */ f("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
|
|
376
377
|
/* @__PURE__ */ n("div", { style: { height: i }, children: h >= 0 && /* @__PURE__ */ n(
|
|
377
378
|
q,
|
|
@@ -409,7 +410,7 @@ const Ke = (s) => {
|
|
|
409
410
|
}
|
|
410
411
|
)
|
|
411
412
|
] });
|
|
412
|
-
},
|
|
413
|
+
}, Yt = (s, t) => w({
|
|
413
414
|
display: "flex",
|
|
414
415
|
flexDirection: "column",
|
|
415
416
|
flexGrow: t === void 0 ? 1 : 0,
|
|
@@ -434,10 +435,10 @@ const Ke = (s) => {
|
|
|
434
435
|
"& .mx-cmn-clickable": {
|
|
435
436
|
cursor: "pointer"
|
|
436
437
|
}
|
|
437
|
-
}),
|
|
438
|
+
}), Qt = (s, t) => s + t, zt = (s, t) => Math.abs(t) > s ? Math.abs(t) : s, Xt = (s, t) => [...s, t.value], Q = (s, t, e) => {
|
|
438
439
|
const r = s && t ? e / 2 : e;
|
|
439
440
|
return s ? r : 0;
|
|
440
|
-
},
|
|
441
|
+
}, jt = (s, t, e, r) => s / (t < 0 ? -e : t) * r || 0, Kt = ({
|
|
441
442
|
average: s,
|
|
442
443
|
barWidth: t = "8%",
|
|
443
444
|
color: e,
|
|
@@ -449,7 +450,7 @@ const Ke = (s) => {
|
|
|
449
450
|
selectedIndex: i,
|
|
450
451
|
valueFormatter: h = (p) => `${p}`
|
|
451
452
|
}) => {
|
|
452
|
-
const p = x(), d =
|
|
453
|
+
const p = x(), d = Vt(p), g = r.reduce(Xt, []), S = s !== void 0 ? s : g.reduce(Qt, 0) / g.length, C = Math.max(...g), v = Math.min(...g), D = g.reduce(zt, 0), E = C >= 0, R = v < 0, I = Q(E, R, o), N = Q(R, E, o), P = jt(S, C, v, I || N), tt = (b) => i === void 0 || b === i ? e : `${e}80`, O = () => /* @__PURE__ */ n(
|
|
453
454
|
Y,
|
|
454
455
|
{
|
|
455
456
|
averageLineHeight: P,
|
|
@@ -486,9 +487,9 @@ const Ke = (s) => {
|
|
|
486
487
|
/* @__PURE__ */ n(O, {})
|
|
487
488
|
] }, `column-${M}`))
|
|
488
489
|
] }),
|
|
489
|
-
/* @__PURE__ */ n(
|
|
490
|
+
/* @__PURE__ */ n(Ft, { color: e, labelAverage: a, labelMain: l })
|
|
490
491
|
] });
|
|
491
|
-
},
|
|
492
|
+
}, Vt = (s) => w({
|
|
492
493
|
"& .mx-cmn-chart-container": {
|
|
493
494
|
alignItems: "flex-end",
|
|
494
495
|
display: "flex",
|
|
@@ -496,14 +497,14 @@ const Ke = (s) => {
|
|
|
496
497
|
marginTop: s.Spacing.Large,
|
|
497
498
|
marginBottom: s.Spacing.Medium
|
|
498
499
|
}
|
|
499
|
-
}), Ve =
|
|
500
|
+
}), Ve = Kt, Zt = ({
|
|
500
501
|
hasGap: s = !1,
|
|
501
502
|
segments: t,
|
|
502
503
|
size: e = gt,
|
|
503
504
|
strokeWidth: r = pt,
|
|
504
505
|
children: o
|
|
505
506
|
}) => {
|
|
506
|
-
const a = x(), l =
|
|
507
|
+
const a = x(), l = Jt(a, e), c = (e - r) / 2, i = e / 2;
|
|
507
508
|
let h = -90 - (s ? 1 : 0), p = 0;
|
|
508
509
|
return /* @__PURE__ */ f("div", { className: `mx-cmn-multi-segment-donut ${l}`, children: [
|
|
509
510
|
/* @__PURE__ */ f("svg", { height: e, width: e, children: [
|
|
@@ -536,7 +537,7 @@ const Ke = (s) => {
|
|
|
536
537
|
] }),
|
|
537
538
|
/* @__PURE__ */ n("div", { className: "mx-cmn-multi-segment-donut-children", children: o })
|
|
538
539
|
] });
|
|
539
|
-
},
|
|
540
|
+
}, Jt = (s, t) => w({
|
|
540
541
|
height: t,
|
|
541
542
|
marginTop: `-${s.Spacing.XSmall}px`,
|
|
542
543
|
position: "relative",
|
|
@@ -548,8 +549,8 @@ const Ke = (s) => {
|
|
|
548
549
|
top: "50%",
|
|
549
550
|
transform: "translate(-50%, -50%)"
|
|
550
551
|
}
|
|
551
|
-
}), Ze =
|
|
552
|
-
class
|
|
552
|
+
}), Ze = Zt;
|
|
553
|
+
class te {
|
|
553
554
|
globalStore;
|
|
554
555
|
api = new k("/", "");
|
|
555
556
|
copy = {};
|
|
@@ -583,7 +584,7 @@ class Kt {
|
|
|
583
584
|
}
|
|
584
585
|
};
|
|
585
586
|
}
|
|
586
|
-
class
|
|
587
|
+
class ee {
|
|
587
588
|
globalStore;
|
|
588
589
|
survey = null;
|
|
589
590
|
currentQuestionIndex = 0;
|
|
@@ -653,7 +654,7 @@ class z {
|
|
|
653
654
|
throw e;
|
|
654
655
|
});
|
|
655
656
|
}
|
|
656
|
-
class
|
|
657
|
+
class se {
|
|
657
658
|
api = new z("/", "");
|
|
658
659
|
globalStore;
|
|
659
660
|
alert = "";
|
|
@@ -782,7 +783,6 @@ class Zt {
|
|
|
782
783
|
}
|
|
783
784
|
};
|
|
784
785
|
}
|
|
785
|
-
var Jt = /* @__PURE__ */ ((s) => (s[s.UNKNOWN = 0] = "UNKNOWN", s[s.CORRECT = 1] = "CORRECT", s[s.INCORRECT = 2] = "INCORRECT", s))(Jt || {}), te = /* @__PURE__ */ ((s) => (s.Missed = "Missed", s.Paid = "Paid", s.Upcoming = "Upcoming expense", s.Income = "Income", s))(te || {}), ee = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.Subscription = 1] = "Subscription", s[s.Bill = 2] = "Bill", s))(ee || {}), se = /* @__PURE__ */ ((s) => (s.Desktop = "Desktop", s.Mobile = "Mobile", s))(se || {});
|
|
786
786
|
class X {
|
|
787
787
|
fetchInstance;
|
|
788
788
|
constructor(t, e, r) {
|
|
@@ -1196,7 +1196,7 @@ class Je {
|
|
|
1196
1196
|
// UI Stores
|
|
1197
1197
|
globalUiStore;
|
|
1198
1198
|
constructor(t = K, e = "/", r) {
|
|
1199
|
-
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, this.accountStore = new ft(this), this.appDataStore = new ie(this), this.analyticsStore = new
|
|
1199
|
+
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, this.accountStore = new ft(this), this.appDataStore = new ie(this), this.analyticsStore = new ee(this), this.beatStore = new St(this), this.budgetsStore = new se(this), this.cashflowStore = new nt(this), this.categoryStore = new et(this), this.connectStore = new ce(this), this.copyStore = new te(this), this.debtsStore = new xt(this), this.finstrongStore = new Ct(this), this.goalStore = new it(this), this.helpStore = new ae(this), this.holdingStore = new ne(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 le(this), this.globalUiStore = new de(this), _(this);
|
|
1200
1200
|
}
|
|
1201
1201
|
get isInitialized() {
|
|
1202
1202
|
return this.globalUiStore.isInitialized;
|
|
@@ -1267,11 +1267,11 @@ export {
|
|
|
1267
1267
|
wr as EmptyState,
|
|
1268
1268
|
ys as ErrorBoundary,
|
|
1269
1269
|
Os as ErrorStatuses,
|
|
1270
|
-
|
|
1270
|
+
Lt as ExpenseStatus,
|
|
1271
1271
|
y as Fetch,
|
|
1272
1272
|
nr as Frequency,
|
|
1273
1273
|
k as GlobalCopyApi,
|
|
1274
|
-
|
|
1274
|
+
te as GlobalCopyStore,
|
|
1275
1275
|
fo as GlobalDataContext,
|
|
1276
1276
|
yo as GlobalDataProvider,
|
|
1277
1277
|
Je as GlobalStore,
|
|
@@ -1311,9 +1311,9 @@ export {
|
|
|
1311
1311
|
dr as RepeatingType,
|
|
1312
1312
|
js as ResponsiveButton,
|
|
1313
1313
|
Jr as SPENDING_ACCOUNT_TYPES,
|
|
1314
|
-
|
|
1314
|
+
Gt as ScheduledPaymentTypes,
|
|
1315
1315
|
je as ScheduledPaymentsApi,
|
|
1316
|
-
|
|
1316
|
+
Ht as ScreenSize,
|
|
1317
1317
|
Vs as SearchBox,
|
|
1318
1318
|
lr as Select,
|
|
1319
1319
|
Js as SelectionBox,
|
|
@@ -1331,7 +1331,7 @@ export {
|
|
|
1331
1331
|
rt as TransactionType,
|
|
1332
1332
|
$ as UserApi,
|
|
1333
1333
|
le as UserStore,
|
|
1334
|
-
|
|
1334
|
+
Ut as UserVerification,
|
|
1335
1335
|
W as WidgetApi,
|
|
1336
1336
|
Es as WidgetContainer,
|
|
1337
1337
|
So as WidgetContainerContext,
|
|
@@ -12,3 +12,8 @@ export interface MappedOptions {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const setupMappedSelectedOptions: (accounts: Account[], selectedAccountGuids: string[]) => MappedOptions;
|
|
14
14
|
export declare const setupMappedAccounts: (accounts: Account[], closeContentCopy: string) => MappedAccounts;
|
|
15
|
+
export declare function categorizeAccounts(accounts: Account[]): {
|
|
16
|
+
heldAccounts: Account[];
|
|
17
|
+
externalAccounts: Account[];
|
|
18
|
+
};
|
|
19
|
+
export declare function getDisplayAccounts(accounts: Account[], maxAccounts: number): Account[];
|
|
@@ -14,7 +14,7 @@ import T from "@mui/material/Button";
|
|
|
14
14
|
import $ from "@mui/material/IconButton";
|
|
15
15
|
import j from "@mui/material/Tooltip";
|
|
16
16
|
import H from "@mui/material/useMediaQuery";
|
|
17
|
-
import { i as R, j as Q } from "../ConnectDrawer-
|
|
17
|
+
import { i as R, j as Q } from "../ConnectDrawer-CNdzwKdX.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const E = _(() => {
|
|
20
20
|
const e = B(), {
|