@mx-cartographer/experiences 7.0.44-alpha.mega1 → 7.0.44
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 +2 -2
- package/dist/{Account-CYkoSG86.mjs → Account-DNtjr75t.mjs} +1 -1
- package/dist/{AccountDetailsContent-BuXTLptM.mjs → AccountDetailsContent-eODMVIVq.mjs} +16 -16
- package/dist/{AccountDetailsHeader-BWl2e21n.mjs → AccountDetailsHeader-C0qgTju7.mjs} +38 -37
- package/dist/{AccountFields-x4A7Loe5.mjs → AccountFields-DDHk35Ou.mjs} +2 -2
- package/dist/AccountListItem-BxmUd4j3.mjs +90 -0
- package/dist/{AccountStore-WQAkYgx1.mjs → AccountStore-CpjCeykS.mjs} +2 -2
- package/dist/{Accounts-CeeJag5-.mjs → Accounts-nXcS0QUR.mjs} +1 -1
- package/dist/{BudgetUtil-n3gEKIub.mjs → BudgetUtil-2EncZLBQ.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-993LpETZ.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
- package/dist/ConnectDrawer-YIWwEzuN.mjs +521 -0
- package/dist/{ConnectionsDrawer-CcBzf4l5.mjs → ConnectionsDrawer-Bf2DNDCF.mjs} +2 -2
- package/dist/{CurrencyInput-pHmLzc_c.mjs → CurrencyInput-CRtdzs3o.mjs} +1 -1
- package/dist/{DebtsStore-EZh5aBxe.mjs → DebtsStore-Dy3YG1fX.mjs} +1 -1
- package/dist/{ExportCsvAction-BKxnEFRu.mjs → ExportCsvAction-CebIvl-V.mjs} +3 -3
- package/dist/{GoalStore-B9lVADw5.mjs → GoalStore-voP4QA5C.mjs} +3 -3
- package/dist/{Help-PP2i0N9Y.mjs → Help-CzBAsKA2.mjs} +1 -1
- package/dist/{LineChart-CHTf3RcN.mjs → LineChart-B2Y7zwMu.mjs} +1 -1
- package/dist/{ListItemAction-DXyHyJn0.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
- package/dist/{ManageIncome-D1XoZlqY.mjs → ManageIncome-kMsgLN3T.mjs} +38 -38
- package/dist/{MicroWidgetContainer-Dpu8VDSP.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BhHaL8eb.mjs → MiniWidgetContainer-DSG6mwaW.mjs} +1 -1
- package/dist/{NetWorthStore-N5esR-KJ.mjs → NetWorthStore-C5RMjsMS.mjs} +2 -2
- package/dist/{NotificationSettings-CWZR6ki-.mjs → NotificationSettings-BCtanw2c.mjs} +4 -4
- package/dist/{OriginalBalanceAction-DSA8sk5b.mjs → OriginalBalanceAction-CEuIYsc_.mjs} +3 -3
- package/dist/{RecurringSettings-DA6qT8ai.mjs → RecurringSettings-CETLT79T.mjs} +8 -8
- package/dist/{RecurringTransactionsStore-Djo9IeDd.mjs → RecurringTransactionsStore-DeLXfuC4.mjs} +1 -1
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-Dc34Tzx8.mjs} +1 -1
- package/dist/{TransactionDetails-DO_YihKP.mjs → TransactionDetails-B-rdHE3_.mjs} +5 -5
- package/dist/{TransactionStore-B2Vq95Fg.mjs → TransactionStore-CfQBEIsK.mjs} +2 -2
- package/dist/{TrendsStore-DWVFqEC-.mjs → TrendsStore-BKBnNQba.mjs} +1 -1
- package/dist/{User-Bfnq7dd4.mjs → User-8itAR7lR.mjs} +22 -21
- package/dist/{WidgetContainer-DfyV39Ru.mjs → WidgetContainer-p7NIdiNJ.mjs} +2 -2
- package/dist/accounts/index.es.js +123 -128
- package/dist/analytics/index.es.js +11 -11
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +26 -26
- package/dist/categories/index.es.js +1 -1
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +3 -0
- package/dist/common/index.es.js +92 -90
- package/dist/common/utils/AccountDisplayName.d.ts +6 -0
- package/dist/common/utils/AccountFilter.d.ts +2 -6
- package/dist/dashboard/index.es.js +14 -14
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BgWQsGWy.mjs → exportTransactionsToCSV-CfylirZA.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +529 -524
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BAAimqdq.mjs → hooks-CE2TKk4a.mjs} +12 -12
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +10 -10
- package/dist/recurringtransactions/index.es.js +11 -11
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +11 -11
- package/dist/useAccountDisplayName-DC1Lqjag.mjs +15 -0
- package/dist/{useInsightsEnabled-BwLaOKWW.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountListItem-D9mpJkCP.mjs +0 -89
- package/dist/ConnectDrawer-CNdzwKdX.mjs +0 -528
- package/dist/{ToggleListItem-r0Kx56wF.mjs → Notification-aGCHxikw.mjs} +1 -1
- package/dist/{RecurringTransactions-DTUx9VN1.mjs → RepeatingTransaction-BW4J-jeJ.mjs} +1 -1
package/dist/common/index.es.js
CHANGED
|
@@ -6,72 +6,73 @@ 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-8itAR7lR.mjs";
|
|
10
|
+
import { C as gs, b as ps, L as ms, a as _s } from "../User-8itAR7lR.mjs";
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
|
-
import { M as bs } from "../MicroWidgetContainer-
|
|
14
|
-
import { M as xs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as
|
|
16
|
-
import {
|
|
17
|
-
import { C as Ys } from "../CurrencyInput-
|
|
13
|
+
import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
14
|
+
import { M as xs } from "../MiniWidgetContainer-DSG6mwaW.mjs";
|
|
15
|
+
import { A as Ds, D as vs, W as As } from "../WidgetContainer-p7NIdiNJ.mjs";
|
|
16
|
+
import { j as Ts, a as Bs, e as Is, m as Ns, A as Ms, f as ks, k as $s, d as Rs, l as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, n as Fs, S as Ws } from "../ConnectDrawer-YIWwEzuN.mjs";
|
|
17
|
+
import { C as Ys } from "../CurrencyInput-CRtdzs3o.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-CfQBEIsK.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-CfQBEIsK.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 "../RepeatingTransaction-BW4J-jeJ.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-voP4QA5C.mjs";
|
|
29
|
+
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-voP4QA5C.mjs";
|
|
30
30
|
import { C as Sr } from "../CurrencyText-YUhH2caW.mjs";
|
|
31
31
|
import { E as wr } from "../EmptyState-C0lr9E5T.mjs";
|
|
32
|
-
import { L as Cr } from "../ListItemAction-
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as
|
|
35
|
-
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../
|
|
32
|
+
import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
|
|
33
|
+
import { T as ct } from "../TrendsStore-BKBnNQba.mjs";
|
|
34
|
+
import { L as vr, S as Ar } from "../TrendsStore-BKBnNQba.mjs";
|
|
35
|
+
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../Notification-aGCHxikw.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-B2Y7zwMu.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-
|
|
48
|
-
import { b as
|
|
47
|
+
import { I as Vr, P as Zr, S as Jr } from "../Account-DNtjr75t.mjs";
|
|
48
|
+
import { b as E } 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-
|
|
53
|
-
import { G as fo, B as yo, C as So, W as bo,
|
|
54
|
-
import { u as zo } from "../
|
|
55
|
-
import { u as jo } from "../
|
|
51
|
+
import { R as mt } from "../RecurringTransactionsStore-DeLXfuC4.mjs";
|
|
52
|
+
import { S as po, T as mo } from "../RecurringTransactionsStore-DeLXfuC4.mjs";
|
|
53
|
+
import { G as fo, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as Do, m as vo, x as Ao, y as Eo, g as To, w as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CE2TKk4a.mjs";
|
|
54
|
+
import { u as zo } from "../useAccountDisplayName-DC1Lqjag.mjs";
|
|
55
|
+
import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
|
|
56
|
+
import { u as Vo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
56
57
|
import { makeAutoObservable as _, runInAction as m, reaction as _t } from "mobx";
|
|
57
|
-
import { a as ft } from "../AccountStore-
|
|
58
|
+
import { a as ft } from "../AccountStore-CpjCeykS.mjs";
|
|
58
59
|
import yt from "posthog-js";
|
|
59
60
|
import { B as St } from "../BeatStore-IBnXd4YK.mjs";
|
|
60
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
61
62
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
62
63
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
63
|
-
import { f as bt, a as wt, b as L } from "../BudgetUtil-
|
|
64
|
-
import { g as
|
|
65
|
-
import { a as xt } from "../DebtsStore-
|
|
64
|
+
import { f as bt, a as wt, b as L } from "../BudgetUtil-2EncZLBQ.mjs";
|
|
65
|
+
import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-2EncZLBQ.mjs";
|
|
66
|
+
import { a as xt } from "../DebtsStore-Dy3YG1fX.mjs";
|
|
66
67
|
import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
|
|
67
|
-
import { A as
|
|
68
|
+
import { A as Dt, m as vt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
68
69
|
import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
|
|
69
|
-
import { N as Bt } from "../NetWorthStore-
|
|
70
|
-
import { a as It } from "../SettingsStore-
|
|
70
|
+
import { N as Bt } from "../NetWorthStore-C5RMjsMS.mjs";
|
|
71
|
+
import { a as It } from "../SettingsStore-Dc34Tzx8.mjs";
|
|
71
72
|
import { addMonths as Nt } from "date-fns/addMonths";
|
|
72
73
|
import { getMonth as T } from "date-fns/getMonth";
|
|
73
|
-
import { i as
|
|
74
|
-
import { b as
|
|
74
|
+
import { i as aa } from "../DateUtil-BcuH7ErC.mjs";
|
|
75
|
+
import { b as ia, a as ca, g as da } from "../Localization-2MODESHW.mjs";
|
|
75
76
|
import { alpha as Mt, lighten as G, darken as H } from "@mui/material";
|
|
76
77
|
var kt = /* @__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))(kt || {});
|
|
77
78
|
const Ye = [
|
|
@@ -241,14 +242,13 @@ class W {
|
|
|
241
242
|
}
|
|
242
243
|
requestWidgetUrl = async (t) => this.fetchInstance.post(u.WIDGET_URLS, t).then((e) => e.widget_url);
|
|
243
244
|
}
|
|
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 || {});
|
|
245
245
|
const Ke = (s) => {
|
|
246
246
|
const t = lt();
|
|
247
247
|
return ut(() => {
|
|
248
248
|
t.current = s;
|
|
249
249
|
}, [s]), t.current;
|
|
250
|
-
},
|
|
251
|
-
const r = x(), o =
|
|
250
|
+
}, Ut = ({ color: s, labelAverage: t, labelMain: e }) => {
|
|
251
|
+
const r = x(), o = Lt(r, s);
|
|
252
252
|
return /* @__PURE__ */ f("div", { className: `mx-cmn-bar-chart-legend ${o}`, children: [
|
|
253
253
|
/* @__PURE__ */ n("div", { "aria-label": e, className: "mx-cmn-color-square", role: "img" }),
|
|
254
254
|
/* @__PURE__ */ n(B, { variant: "XSmall", children: e }),
|
|
@@ -259,7 +259,7 @@ const Ke = (s) => {
|
|
|
259
259
|
] }),
|
|
260
260
|
/* @__PURE__ */ n(B, { variant: "XSmall", children: t })
|
|
261
261
|
] });
|
|
262
|
-
},
|
|
262
|
+
}, Lt = (s, t) => w({
|
|
263
263
|
alignItems: "center",
|
|
264
264
|
display: "flex",
|
|
265
265
|
gap: s.Spacing.XSmall,
|
|
@@ -295,7 +295,7 @@ const Ke = (s) => {
|
|
|
295
295
|
selectedIndex: l,
|
|
296
296
|
value: c
|
|
297
297
|
}) => {
|
|
298
|
-
const i = x(), h =
|
|
298
|
+
const i = x(), h = Gt(i, t, e), p = (S) => {
|
|
299
299
|
a && (S.key === " " || S.key === "Enter") && a(r);
|
|
300
300
|
}, d = l === void 0 || l === r ? "primary" : "secondary", g = () => /* @__PURE__ */ n(
|
|
301
301
|
B,
|
|
@@ -324,7 +324,7 @@ const Ke = (s) => {
|
|
|
324
324
|
),
|
|
325
325
|
c < 0 && /* @__PURE__ */ n(g, {})
|
|
326
326
|
] });
|
|
327
|
-
},
|
|
327
|
+
}, Gt = (s, t, e) => {
|
|
328
328
|
const r = `expandBar-${Math.round(e)}`, o = ht(r, { from: { height: 0 }, to: { height: e } });
|
|
329
329
|
return w({
|
|
330
330
|
display: "flex",
|
|
@@ -372,14 +372,14 @@ const Ke = (s) => {
|
|
|
372
372
|
width: d,
|
|
373
373
|
xAxisLabel: g = ""
|
|
374
374
|
}) => {
|
|
375
|
-
const S = x(), C =
|
|
375
|
+
const S = x(), C = Ht(S, d), D = h / l * i, v = Math.abs(h) / l * e, A = c === void 0 || c === o ? "primary" : "secondary";
|
|
376
376
|
return /* @__PURE__ */ f("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
|
|
377
377
|
/* @__PURE__ */ n("div", { style: { height: i }, children: h >= 0 && /* @__PURE__ */ n(
|
|
378
378
|
q,
|
|
379
379
|
{
|
|
380
380
|
ariaLabel: s,
|
|
381
381
|
color: r,
|
|
382
|
-
height:
|
|
382
|
+
height: D,
|
|
383
383
|
index: o,
|
|
384
384
|
label: p,
|
|
385
385
|
onClick: a,
|
|
@@ -394,7 +394,7 @@ const Ke = (s) => {
|
|
|
394
394
|
{
|
|
395
395
|
ariaLabel: s,
|
|
396
396
|
color: r,
|
|
397
|
-
height:
|
|
397
|
+
height: v,
|
|
398
398
|
index: o,
|
|
399
399
|
label: p,
|
|
400
400
|
onClick: a,
|
|
@@ -406,11 +406,11 @@ const Ke = (s) => {
|
|
|
406
406
|
{
|
|
407
407
|
className: `mx-cmn-bar-label ${a ? "mx-cmn-clickable" : ""}`,
|
|
408
408
|
onClick: a ? () => a(o) : void 0,
|
|
409
|
-
children: /* @__PURE__ */ n(B, { bold: c === o, color:
|
|
409
|
+
children: /* @__PURE__ */ n(B, { bold: c === o, color: A, variant: "Small", children: g })
|
|
410
410
|
}
|
|
411
411
|
)
|
|
412
412
|
] });
|
|
413
|
-
},
|
|
413
|
+
}, Ht = (s, t) => w({
|
|
414
414
|
display: "flex",
|
|
415
415
|
flexDirection: "column",
|
|
416
416
|
flexGrow: t === void 0 ? 1 : 0,
|
|
@@ -435,10 +435,10 @@ const Ke = (s) => {
|
|
|
435
435
|
"& .mx-cmn-clickable": {
|
|
436
436
|
cursor: "pointer"
|
|
437
437
|
}
|
|
438
|
-
}),
|
|
438
|
+
}), Ft = (s, t) => s + t, Wt = (s, t) => Math.abs(t) > s ? Math.abs(t) : s, qt = (s, t) => [...s, t.value], Q = (s, t, e) => {
|
|
439
439
|
const r = s && t ? e / 2 : e;
|
|
440
440
|
return s ? r : 0;
|
|
441
|
-
},
|
|
441
|
+
}, Yt = (s, t, e, r) => s / (t < 0 ? -e : t) * r || 0, Qt = ({
|
|
442
442
|
average: s,
|
|
443
443
|
barWidth: t = "8%",
|
|
444
444
|
color: e,
|
|
@@ -450,13 +450,13 @@ const Ke = (s) => {
|
|
|
450
450
|
selectedIndex: i,
|
|
451
451
|
valueFormatter: h = (p) => `${p}`
|
|
452
452
|
}) => {
|
|
453
|
-
const p = x(), d =
|
|
453
|
+
const p = x(), d = zt(p), g = r.reduce(qt, []), S = s !== void 0 ? s : g.reduce(Ft, 0) / g.length, C = Math.max(...g), D = Math.min(...g), v = g.reduce(Wt, 0), A = C >= 0, R = D < 0, I = Q(A, R, o), N = Q(R, A, o), P = Yt(S, C, D, I || N), tt = (b) => i === void 0 || b === i ? e : `${e}80`, O = () => /* @__PURE__ */ n(
|
|
454
454
|
Y,
|
|
455
455
|
{
|
|
456
456
|
averageLineHeight: P,
|
|
457
457
|
bottomHeight: N,
|
|
458
458
|
color: "",
|
|
459
|
-
range:
|
|
459
|
+
range: v,
|
|
460
460
|
topHeight: I,
|
|
461
461
|
value: 0,
|
|
462
462
|
width: void 0
|
|
@@ -475,7 +475,7 @@ const Ke = (s) => {
|
|
|
475
475
|
color: tt(M),
|
|
476
476
|
index: M,
|
|
477
477
|
onClick: c,
|
|
478
|
-
range:
|
|
478
|
+
range: v,
|
|
479
479
|
selectedIndex: i,
|
|
480
480
|
topHeight: I,
|
|
481
481
|
value: b.value,
|
|
@@ -487,9 +487,9 @@ const Ke = (s) => {
|
|
|
487
487
|
/* @__PURE__ */ n(O, {})
|
|
488
488
|
] }, `column-${M}`))
|
|
489
489
|
] }),
|
|
490
|
-
/* @__PURE__ */ n(
|
|
490
|
+
/* @__PURE__ */ n(Ut, { color: e, labelAverage: a, labelMain: l })
|
|
491
491
|
] });
|
|
492
|
-
},
|
|
492
|
+
}, zt = (s) => w({
|
|
493
493
|
"& .mx-cmn-chart-container": {
|
|
494
494
|
alignItems: "flex-end",
|
|
495
495
|
display: "flex",
|
|
@@ -497,14 +497,14 @@ const Ke = (s) => {
|
|
|
497
497
|
marginTop: s.Spacing.Large,
|
|
498
498
|
marginBottom: s.Spacing.Medium
|
|
499
499
|
}
|
|
500
|
-
}), Ve =
|
|
500
|
+
}), Ve = Qt, Xt = ({
|
|
501
501
|
hasGap: s = !1,
|
|
502
502
|
segments: t,
|
|
503
503
|
size: e = gt,
|
|
504
504
|
strokeWidth: r = pt,
|
|
505
505
|
children: o
|
|
506
506
|
}) => {
|
|
507
|
-
const a = x(), l =
|
|
507
|
+
const a = x(), l = jt(a, e), c = (e - r) / 2, i = e / 2;
|
|
508
508
|
let h = -90 - (s ? 1 : 0), p = 0;
|
|
509
509
|
return /* @__PURE__ */ f("div", { className: `mx-cmn-multi-segment-donut ${l}`, children: [
|
|
510
510
|
/* @__PURE__ */ f("svg", { height: e, width: e, children: [
|
|
@@ -537,7 +537,7 @@ const Ke = (s) => {
|
|
|
537
537
|
] }),
|
|
538
538
|
/* @__PURE__ */ n("div", { className: "mx-cmn-multi-segment-donut-children", children: o })
|
|
539
539
|
] });
|
|
540
|
-
},
|
|
540
|
+
}, jt = (s, t) => w({
|
|
541
541
|
height: t,
|
|
542
542
|
marginTop: `-${s.Spacing.XSmall}px`,
|
|
543
543
|
position: "relative",
|
|
@@ -549,8 +549,8 @@ const Ke = (s) => {
|
|
|
549
549
|
top: "50%",
|
|
550
550
|
transform: "translate(-50%, -50%)"
|
|
551
551
|
}
|
|
552
|
-
}), Ze =
|
|
553
|
-
class
|
|
552
|
+
}), Ze = Xt;
|
|
553
|
+
class Kt {
|
|
554
554
|
globalStore;
|
|
555
555
|
api = new k("/", "");
|
|
556
556
|
copy = {};
|
|
@@ -584,7 +584,7 @@ class te {
|
|
|
584
584
|
}
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
|
-
class
|
|
587
|
+
class Vt {
|
|
588
588
|
globalStore;
|
|
589
589
|
survey = null;
|
|
590
590
|
currentQuestionIndex = 0;
|
|
@@ -654,7 +654,7 @@ class z {
|
|
|
654
654
|
throw e;
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
|
-
class
|
|
657
|
+
class Zt {
|
|
658
658
|
api = new z("/", "");
|
|
659
659
|
globalStore;
|
|
660
660
|
alert = "";
|
|
@@ -687,7 +687,7 @@ class se {
|
|
|
687
687
|
get detailedBudgets() {
|
|
688
688
|
return L(
|
|
689
689
|
this.budgets.filter(
|
|
690
|
-
(t) => t.category_guid !==
|
|
690
|
+
(t) => t.category_guid !== E.INCOME && t.category_guid !== E.TRANSFER && t.category_guid !== E.INVESTMENTS
|
|
691
691
|
),
|
|
692
692
|
this.globalStore.categoryStore.detailedCategories,
|
|
693
693
|
this.globalStore.copyStore.copy.budgets,
|
|
@@ -701,7 +701,7 @@ class se {
|
|
|
701
701
|
this.globalStore.copyStore.copy.budgets,
|
|
702
702
|
this.theme
|
|
703
703
|
).reduce(
|
|
704
|
-
(r, o) => o.category_guid !==
|
|
704
|
+
(r, o) => o.category_guid !== E.INCOME ? r : !r || o.percentage > r.percentage ? o : r,
|
|
705
705
|
void 0
|
|
706
706
|
)?.amount;
|
|
707
707
|
}
|
|
@@ -783,6 +783,7 @@ class se {
|
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
|
+
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
787
|
class X {
|
|
787
788
|
fetchInstance;
|
|
788
789
|
constructor(t, e, r) {
|
|
@@ -852,7 +853,7 @@ class j {
|
|
|
852
853
|
updateHoldings = async (t) => this.fetchInstance.put(`${u.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
|
|
853
854
|
}
|
|
854
855
|
class ne {
|
|
855
|
-
analysisType =
|
|
856
|
+
analysisType = Dt.Stocks;
|
|
856
857
|
api = new j("/", "");
|
|
857
858
|
holdings = [];
|
|
858
859
|
holdingsLoaded = !1;
|
|
@@ -862,10 +863,10 @@ class ne {
|
|
|
862
863
|
this.globalStore = t, this.api = new j(t.endpoint, t.sessionToken, t.onError), _(this);
|
|
863
864
|
}
|
|
864
865
|
get analysisChartData() {
|
|
865
|
-
return
|
|
866
|
+
return vt(At(this.visibleHoldings), this.analysisType);
|
|
866
867
|
}
|
|
867
868
|
get analysisDetails() {
|
|
868
|
-
return
|
|
869
|
+
return Et(this.visibleHoldings)[this.analysisType] || {};
|
|
869
870
|
}
|
|
870
871
|
get visibleHoldings() {
|
|
871
872
|
return this.holdings.filter(
|
|
@@ -1196,7 +1197,7 @@ class Je {
|
|
|
1196
1197
|
// UI Stores
|
|
1197
1198
|
globalUiStore;
|
|
1198
1199
|
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
|
|
1200
|
+
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 Vt(this), this.beatStore = new St(this), this.budgetsStore = new Zt(this), this.cashflowStore = new nt(this), this.categoryStore = new et(this), this.connectStore = new ce(this), this.copyStore = new Kt(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
1201
|
}
|
|
1201
1202
|
get isInitialized() {
|
|
1202
1203
|
return this.globalUiStore.isInitialized;
|
|
@@ -1228,7 +1229,7 @@ class Je {
|
|
|
1228
1229
|
};
|
|
1229
1230
|
}
|
|
1230
1231
|
export {
|
|
1231
|
-
|
|
1232
|
+
Ds as ANALYTICS_EVENTS,
|
|
1232
1233
|
Ts as AccountFilter,
|
|
1233
1234
|
Bs as AccountIcon,
|
|
1234
1235
|
Is as AccountIconVariants,
|
|
@@ -1247,7 +1248,7 @@ export {
|
|
|
1247
1248
|
ds as CategoryApi,
|
|
1248
1249
|
eo as CategoryColors,
|
|
1249
1250
|
so as CategoryGuidToName,
|
|
1250
|
-
|
|
1251
|
+
E as CategoryGuids,
|
|
1251
1252
|
ro as CategoryIcon,
|
|
1252
1253
|
pr as ConnectCard,
|
|
1253
1254
|
$s as ConnectDrawer,
|
|
@@ -1260,18 +1261,18 @@ export {
|
|
|
1260
1261
|
gt as DEFAULT_DONUT_SIZE,
|
|
1261
1262
|
pt as DEFAULT_STROKE_WIDTH,
|
|
1262
1263
|
ar as DataRow,
|
|
1263
|
-
|
|
1264
|
+
vs as DateRangeSelector,
|
|
1264
1265
|
Fr as Dialog,
|
|
1265
1266
|
Rr as Donut,
|
|
1266
1267
|
jr as Drawer,
|
|
1267
1268
|
wr as EmptyState,
|
|
1268
1269
|
ys as ErrorBoundary,
|
|
1269
1270
|
Os as ErrorStatuses,
|
|
1270
|
-
|
|
1271
|
+
te as ExpenseStatus,
|
|
1271
1272
|
y as Fetch,
|
|
1272
1273
|
nr as Frequency,
|
|
1273
1274
|
k as GlobalCopyApi,
|
|
1274
|
-
|
|
1275
|
+
Kt as GlobalCopyStore,
|
|
1275
1276
|
fo as GlobalDataContext,
|
|
1276
1277
|
yo as GlobalDataProvider,
|
|
1277
1278
|
Je as GlobalStore,
|
|
@@ -1284,7 +1285,7 @@ export {
|
|
|
1284
1285
|
Qe as LOADING_STATUS,
|
|
1285
1286
|
Or as LineChart,
|
|
1286
1287
|
Cr as ListItemAction,
|
|
1287
|
-
|
|
1288
|
+
vr as ListItemRow,
|
|
1288
1289
|
ms as ListItemWrapper,
|
|
1289
1290
|
zs as Loader,
|
|
1290
1291
|
Xe as LocalizedCopyApi,
|
|
@@ -1311,15 +1312,15 @@ export {
|
|
|
1311
1312
|
dr as RepeatingType,
|
|
1312
1313
|
js as ResponsiveButton,
|
|
1313
1314
|
Jr as SPENDING_ACCOUNT_TYPES,
|
|
1314
|
-
|
|
1315
|
+
ee as ScheduledPaymentTypes,
|
|
1315
1316
|
je as ScheduledPaymentsApi,
|
|
1316
|
-
|
|
1317
|
+
se as ScreenSize,
|
|
1317
1318
|
Vs as SearchBox,
|
|
1318
1319
|
lr as Select,
|
|
1319
1320
|
Js as SelectionBox,
|
|
1320
1321
|
zr as SingleSegmentDonut,
|
|
1321
1322
|
po as Sizes,
|
|
1322
|
-
|
|
1323
|
+
Ar as StackedLineChart,
|
|
1323
1324
|
Lr as StatusBar,
|
|
1324
1325
|
Ws as StatusName,
|
|
1325
1326
|
mo as TOUCH_TARGET,
|
|
@@ -1331,37 +1332,38 @@ export {
|
|
|
1331
1332
|
rt as TransactionType,
|
|
1332
1333
|
$ as UserApi,
|
|
1333
1334
|
le as UserStore,
|
|
1334
|
-
|
|
1335
|
+
Jt as UserVerification,
|
|
1335
1336
|
W as WidgetApi,
|
|
1336
|
-
|
|
1337
|
+
As as WidgetContainer,
|
|
1337
1338
|
So as WidgetContainerContext,
|
|
1338
1339
|
bo as WidgetContainerProvider,
|
|
1339
1340
|
rs as analyticsSession,
|
|
1340
|
-
|
|
1341
|
-
|
|
1341
|
+
ia as buildDynamicCopy,
|
|
1342
|
+
ca as buildPluralCopy,
|
|
1342
1343
|
io as formatCurrency,
|
|
1343
1344
|
Yr as formatDate,
|
|
1344
1345
|
co as formatOrdinal,
|
|
1345
1346
|
lo as formatPercentage,
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1347
|
+
aa as fromTimestampToMonthYear,
|
|
1348
|
+
Jo as getCategory,
|
|
1349
|
+
ta as getCategoryTotalsByParent,
|
|
1349
1350
|
ze as getClientTheme,
|
|
1350
1351
|
uo as getCurrencyCodes,
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1352
|
+
ea as getDetailedCategory,
|
|
1353
|
+
sa as getDetailedSubCategory,
|
|
1354
|
+
da as getLocale,
|
|
1355
|
+
ra as isIncome,
|
|
1355
1356
|
ho as isValidNumber,
|
|
1357
|
+
zo as useAccountDisplayName,
|
|
1356
1358
|
wo as useAccountStore,
|
|
1357
1359
|
xo as useAppConfig,
|
|
1358
1360
|
Co as useBudgetsStore,
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
+
Do as useCashflowStore,
|
|
1362
|
+
vo as useCategoryStore,
|
|
1361
1363
|
os as useCombineEvents,
|
|
1362
1364
|
as as useCombinePageviews,
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
+
Ao as useDebtStore,
|
|
1366
|
+
Eo as useError,
|
|
1365
1367
|
To as useEvent,
|
|
1366
1368
|
Bo as useFinstrongStore,
|
|
1367
1369
|
Io as useGlobalCopyStore,
|
|
@@ -1370,14 +1372,14 @@ export {
|
|
|
1370
1372
|
ko as useGoalStore,
|
|
1371
1373
|
$o as useHelpStore,
|
|
1372
1374
|
Ro as useHoldingStore,
|
|
1373
|
-
|
|
1375
|
+
jo as useInsightsEnabled,
|
|
1374
1376
|
Po as useMerchantStore,
|
|
1375
1377
|
Oo as useNetWorthStore,
|
|
1376
1378
|
Uo as useNotificationStore,
|
|
1377
1379
|
Lo as usePageView,
|
|
1378
1380
|
Ke as usePrevious,
|
|
1379
1381
|
Go as useRecurringTransactionsStore,
|
|
1380
|
-
|
|
1382
|
+
Vo as useScreenSize,
|
|
1381
1383
|
Ho as useSettingsStore,
|
|
1382
1384
|
Fo as useTransactionStore,
|
|
1383
1385
|
Wo as useTrendsStore,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Account } from '../types/Account';
|
|
2
|
+
export interface AccountDisplayNameOptions {
|
|
3
|
+
allowNickname?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function getAccountDisplayName(account: Account, options?: AccountDisplayNameOptions): string;
|
|
6
|
+
export default getAccountDisplayName;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GlobalStore } from '../stores/GlobalStore';
|
|
1
2
|
import { Account } from '../types';
|
|
2
3
|
export interface MappedAccounts {
|
|
3
4
|
[key: string]: MappedAccount[];
|
|
@@ -11,9 +12,4 @@ export interface MappedOptions {
|
|
|
11
12
|
[key: string]: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare const setupMappedSelectedOptions: (accounts: Account[], selectedAccountGuids: string[]) => MappedOptions;
|
|
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[];
|
|
15
|
+
export declare const setupMappedAccounts: (accounts: Account[], closeContentCopy: string, globalStore?: GlobalStore) => MappedAccounts;
|
|
@@ -4,20 +4,20 @@ import { observer as _ } from "mobx-react-lite";
|
|
|
4
4
|
import h from "@mui/material/Unstable_Grid2";
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
6
|
import s from "@mui/material/Stack";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { Icon as S, H1 as
|
|
7
|
+
import k from "@mui/material/styles/useTheme";
|
|
8
|
+
import { f as A, u as v, d as C, b as M, a as B } from "../hooks-CE2TKk4a.mjs";
|
|
9
|
+
import D from "@mui/material/Paper";
|
|
10
|
+
import { Icon as S, H1 as G, P as F } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as W } from "@mui/system";
|
|
12
12
|
import I from "@mui/material/Box";
|
|
13
13
|
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 {
|
|
17
|
+
import { j as R, k as Q } from "../ConnectDrawer-YIWwEzuN.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const E = _(() => {
|
|
20
|
-
const e =
|
|
20
|
+
const e = k(), {
|
|
21
21
|
appDataStore: { banner: c, loadBanner: i, user: d }
|
|
22
22
|
} = A();
|
|
23
23
|
return r.useEffect(() => {
|
|
@@ -86,7 +86,7 @@ const E = _(() => {
|
|
|
86
86
|
}
|
|
87
87
|
) });
|
|
88
88
|
}, N = _(P), O = () => {
|
|
89
|
-
const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids:
|
|
89
|
+
const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = M(), { common: o, connect: l } = v(), { config: m } = B(), { isMobile: x } = z(), n = {
|
|
90
90
|
accountFilterOptionsCopy: {
|
|
91
91
|
accountTypeAccounts: o.account_filter.account_type_accounts,
|
|
92
92
|
cancelButton: o.cancel_button,
|
|
@@ -105,9 +105,9 @@ const E = _(() => {
|
|
|
105
105
|
return p > 1 && p < 12 ? o.good_morning : p >= 12 && p < 18 ? o.good_afternoon : o.good_evening;
|
|
106
106
|
};
|
|
107
107
|
return /* @__PURE__ */ a(r.Fragment, { children: [
|
|
108
|
-
/* @__PURE__ */ t(
|
|
108
|
+
/* @__PURE__ */ t(D, { sx: { gap: 12, mb: x ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
109
109
|
/* @__PURE__ */ a(s, { children: [
|
|
110
|
-
/* @__PURE__ */ t(
|
|
110
|
+
/* @__PURE__ */ t(G, { variant: i ? "H2" : "H1", children: w() }),
|
|
111
111
|
/* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
|
|
112
112
|
] }),
|
|
113
113
|
/* @__PURE__ */ a(s, { flexDirection: "row", children: [
|
|
@@ -119,7 +119,7 @@ const E = _(() => {
|
|
|
119
119
|
copy: n,
|
|
120
120
|
onConnectAccountClick: m.show_connections_widget_in_master ? () => c(!0) : void 0,
|
|
121
121
|
onFilterClick: (y) => {
|
|
122
|
-
|
|
122
|
+
b(y);
|
|
123
123
|
},
|
|
124
124
|
selectedAccountGuids: g,
|
|
125
125
|
showAccountNumbers: !1,
|
|
@@ -143,9 +143,9 @@ const E = _(() => {
|
|
|
143
143
|
}, U = _(O);
|
|
144
144
|
var f = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(f || {});
|
|
145
145
|
const q = ({ widgets: e, isLoading: c }) => {
|
|
146
|
-
const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts:
|
|
146
|
+
const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts: o } = C();
|
|
147
147
|
r.useEffect(() => {
|
|
148
|
-
|
|
148
|
+
b(o);
|
|
149
149
|
}, [o]);
|
|
150
150
|
const l = r.useMemo(
|
|
151
151
|
() => e.filter((n) => n.location !== f.Disabled).sort((n, w) => n.index - w.index),
|
|
@@ -153,7 +153,7 @@ const q = ({ widgets: e, isLoading: c }) => {
|
|
|
153
153
|
), m = r.useMemo(
|
|
154
154
|
() => l.filter((n) => n.location === f.Main),
|
|
155
155
|
[l]
|
|
156
|
-
),
|
|
156
|
+
), x = r.useMemo(
|
|
157
157
|
() => l.filter((n) => n.location === f.RightSide),
|
|
158
158
|
[l]
|
|
159
159
|
);
|
|
@@ -172,7 +172,7 @@ const q = ({ widgets: e, isLoading: c }) => {
|
|
|
172
172
|
/* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
|
|
173
173
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
174
174
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
175
|
-
] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children:
|
|
175
|
+
] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: x.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) }) })
|
|
176
176
|
] });
|
|
177
177
|
}, dt = _(q);
|
|
178
178
|
export {
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,30 +8,30 @@ import { intervalToDuration as Te, formatDuration as Ae } from "date-fns";
|
|
|
8
8
|
import { addMonths as le } from "date-fns/addMonths";
|
|
9
9
|
import { fromUnixTime as se } from "date-fns/fromUnixTime";
|
|
10
10
|
import { getUnixTime as ce } from "date-fns/getUnixTime";
|
|
11
|
-
import { D as M, M as Ee, I as Ie } from "../DebtsStore-
|
|
12
|
-
import { a as Fr } from "../DebtsStore-
|
|
11
|
+
import { D as M, M as Ee, I as Ie } from "../DebtsStore-Dy3YG1fX.mjs";
|
|
12
|
+
import { a as Fr } from "../DebtsStore-Dy3YG1fX.mjs";
|
|
13
13
|
import { f as P, a as Be } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
14
14
|
import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
|
|
15
|
-
import { G as Me, x as q, u as C,
|
|
15
|
+
import { G as Me, x as q, u as C, l as z, g as k, d as Z, b as Pe } from "../hooks-CE2TKk4a.mjs";
|
|
16
16
|
import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { D as te } from "../Drawer-kEE73B87.mjs";
|
|
18
18
|
import { b as A } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as ke, u as Ne } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as ke, u as Ne } from "../AccountDetailsHeader-C0qgTju7.mjs";
|
|
20
20
|
import Fe from "@mui/material/Card";
|
|
21
21
|
import Re from "@mui/material/CardContent";
|
|
22
22
|
import Le from "@mui/material/CardHeader";
|
|
23
23
|
import { LineChart as $e } from "@mui/x-charts";
|
|
24
24
|
import re from "@mui/material/Box";
|
|
25
25
|
import { useTheme as He } from "@mui/material/styles";
|
|
26
|
-
import { A as T, W as Oe } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as Oe } from "../WidgetContainer-p7NIdiNJ.mjs";
|
|
27
27
|
import de from "@mui/material/Tab";
|
|
28
28
|
import We from "@mui/material/Tabs";
|
|
29
29
|
import _e from "@mui/material/List";
|
|
30
30
|
import W from "@mui/material/Divider";
|
|
31
|
-
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-
|
|
31
|
+
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-CEuIYsc_.mjs";
|
|
32
32
|
import Xe from "@mui/material/TextField";
|
|
33
|
-
import { L as J } from "../ListItemAction-
|
|
34
|
-
import { C as ae } from "../CurrencyInput-
|
|
33
|
+
import { L as J } from "../ListItemAction-DSrYDGAP.mjs";
|
|
34
|
+
import { C as ae } from "../CurrencyInput-CRtdzs3o.mjs";
|
|
35
35
|
import pe from "@mui/material/Alert";
|
|
36
36
|
import me from "@mui/material/AlertTitle";
|
|
37
37
|
import he from "@mui/material/Paper";
|
|
@@ -39,7 +39,7 @@ import { Error as Ve, CheckCircle as ye } from "@mxenabled/mx-icons";
|
|
|
39
39
|
import { T as ue } from "../TabContentContainer-j01JYR_7.mjs";
|
|
40
40
|
import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
|
|
41
41
|
import { H as G } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as Ke } from "../ConnectDrawer-
|
|
42
|
+
import { f as Ke } from "../ConnectDrawer-YIWwEzuN.mjs";
|
|
43
43
|
import fe from "@mui/material/Button";
|
|
44
44
|
import Ue from "@mui/material/IconButton";
|
|
45
45
|
import qe from "@mui/material/ListItem";
|