@mx-cartographer/experiences 7.10.21 → 7.10.22
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 +4 -0
- package/dist/{AccountStore-yQyWbrio.mjs → AccountStore-Bv74StpR.mjs} +1 -1
- package/dist/Analytics-i5h6BxR1.mjs +124 -0
- package/dist/{ExportCsvAction-D5PGUKAT.mjs → ExportCsvAction-8uWKc_e2.mjs} +2 -2
- package/dist/{ManageIncome-UYZbu_-I.mjs → ManageIncome-C6iolYLZ.mjs} +11 -10
- package/dist/{RecurringSettings-D2uU-HNE.mjs → RecurringSettings-CDdjajPZ.mjs} +3 -3
- package/dist/{RepeatingTransaction-CIrVdIet.mjs → RecurringTransactions-B_I4_FGO.mjs} +3 -2
- package/dist/{RecurringTransactionsStore-BJrH7BJ7.mjs → RecurringTransactionsStore-DAX5ozGz.mjs} +1 -1
- package/dist/Transaction-RmKYEKSk.mjs +80 -0
- package/dist/TransactionDetails-B9cwOn5s.mjs +1193 -0
- package/dist/TransactionList-5JxQV7f6.mjs +204 -0
- package/dist/{TransactionStore-BrAMgM2Q.mjs → TransactionStore-B-fc3CsB.mjs} +2 -2
- package/dist/User-Bs3hX0dH.mjs +237 -0
- package/dist/WidgetContainer-CiyWaTc1.mjs +440 -0
- package/dist/accounts/index.es.js +62 -60
- package/dist/budgets/index.es.js +25 -23
- package/dist/cashflow/index.es.js +25 -24
- package/dist/common/index.es.js +165 -163
- package/dist/debts/index.es.js +30 -29
- package/dist/{exportTransactionsToCSV-DK9U4Lmk.mjs → exportTransactionsToCSV-RUWymyA3.mjs} +5 -5
- package/dist/finstrong/index.es.js +5 -5
- package/dist/goals/index.es.js +9 -8
- package/dist/help/index.es.js +1 -1
- package/dist/insights/components/index.d.ts +1 -0
- package/dist/insights/index.es.js +1014 -937
- package/dist/investments/index.es.js +25 -24
- package/dist/networth/index.es.js +41 -40
- package/dist/recurringtransactions/index.es.js +34 -33
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +48 -46
- package/dist/transactions/index.es.js +40 -37
- package/dist/trends/index.es.js +19 -17
- package/package.json +1 -1
- package/dist/TransactionDetails-LEP8qGrR.mjs +0 -1375
- package/dist/User-CYt9qNY3.mjs +0 -314
- package/dist/WidgetContainer-BxRQazKR.mjs +0 -560
package/dist/common/index.es.js
CHANGED
|
@@ -6,58 +6,60 @@ import { C as st } from "../CategoryStore-Cg6hsxza.mjs";
|
|
|
6
6
|
import { a as us } from "../CategoryStore-Cg6hsxza.mjs";
|
|
7
7
|
import { N as rt } from "../NotificationStore-Ck2KdNmT.mjs";
|
|
8
8
|
import { a as hs } from "../NotificationStore-Ck2KdNmT.mjs";
|
|
9
|
-
import { T as ot } from "../
|
|
10
|
-
import {
|
|
9
|
+
import { T as ot } from "../Transaction-RmKYEKSk.mjs";
|
|
10
|
+
import { L as ps, a as ms } from "../Transaction-RmKYEKSk.mjs";
|
|
11
11
|
import { H as at } from "../Help-B8mD4aLJ.mjs";
|
|
12
|
-
import { E as
|
|
13
|
-
import { M as
|
|
14
|
-
import { M as
|
|
15
|
-
import {
|
|
16
|
-
import { b as
|
|
12
|
+
import { E as fs } from "../Help-B8mD4aLJ.mjs";
|
|
13
|
+
import { M as Ss } from "../MicroWidgetContainer-Cg0wb2gg.mjs";
|
|
14
|
+
import { M as ws } from "../MiniWidgetContainer-BPuE3cfO.mjs";
|
|
15
|
+
import { D as xs, W as Ds } from "../WidgetContainer-CiyWaTc1.mjs";
|
|
16
|
+
import { b as vs, G as Es } from "../GlobalAccountFilter-CjTLppI0.mjs";
|
|
17
17
|
import { f as it, a as nt, b as R } from "../BudgetUtil-DKNyjCWc.mjs";
|
|
18
|
-
import { C as
|
|
19
|
-
import { C as
|
|
20
|
-
import { L as
|
|
21
|
-
import { R as
|
|
22
|
-
import { S as
|
|
23
|
-
import { T as ct } from "../TransactionStore-
|
|
24
|
-
import { S as
|
|
25
|
-
import { T as
|
|
26
|
-
import { I as
|
|
27
|
-
import { D as
|
|
18
|
+
import { C as Bs, g as Is, e as Ns, c as Ms, d as Ls, i as Us } from "../BudgetUtil-DKNyjCWc.mjs";
|
|
19
|
+
import { C as ks } from "../CurrencyInput-niY2izw5.mjs";
|
|
20
|
+
import { L as Os } from "../Loader-DUaFpDGv.mjs";
|
|
21
|
+
import { R as Fs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
22
|
+
import { S as Gs } from "../SearchBox-B2_zLv8-.mjs";
|
|
23
|
+
import { T as ct } from "../TransactionStore-B-fc3CsB.mjs";
|
|
24
|
+
import { S as qs } from "../TransactionStore-B-fc3CsB.mjs";
|
|
25
|
+
import { T as Qs } from "../TabContentContainer-j01JYR_7.mjs";
|
|
26
|
+
import { I as Ks } from "../IconBacking-B9oC6uL2.mjs";
|
|
27
|
+
import { D as zs, F as Vs, c as Zs, d as Js, R as tr, S as er } from "../RecurringTransactions-B_I4_FGO.mjs";
|
|
28
28
|
import { C as dt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
29
|
-
import { I as
|
|
29
|
+
import { I as rr } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
30
30
|
import { d as ut } from "../GoalStore-ZZir5h81.mjs";
|
|
31
|
-
import { C as
|
|
32
|
-
import { C as
|
|
33
|
-
import { E as
|
|
34
|
-
import { L as
|
|
31
|
+
import { C as ar, G as ir, M as nr, T as cr } from "../GoalStore-ZZir5h81.mjs";
|
|
32
|
+
import { C as ur } from "../CurrencyText-C-85TnUF.mjs";
|
|
33
|
+
import { E as hr } from "../EmptyState-DHAkGsjk.mjs";
|
|
34
|
+
import { L as pr } from "../ListItemAction-DrDDQgt7.mjs";
|
|
35
35
|
import { T as lt } from "../TrendsStore-Ys6BY_Uo.mjs";
|
|
36
|
-
import { L as
|
|
37
|
-
import { A as
|
|
36
|
+
import { L as _r } from "../TrendsStore-Ys6BY_Uo.mjs";
|
|
37
|
+
import { A as yr, B as Sr, I as br, N as wr, T as Cr, a as xr } from "../Notification-Bs1fdbzI.mjs";
|
|
38
38
|
import { jsxs as f, jsx as i } from "react/jsx-runtime";
|
|
39
39
|
import ht, { useRef as gt, useEffect as pt } from "react";
|
|
40
40
|
import { css as C, keyframes as mt } from "@mxenabled/cssinjs";
|
|
41
41
|
import { useTokens as x, Text as B } from "@mxenabled/mxui";
|
|
42
|
+
import { C as Ar, a as vr } from "../User-Bs3hX0dH.mjs";
|
|
42
43
|
import { S as Tr } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
44
|
import { D as Ir } from "../Dialog-BqUCsQvo.mjs";
|
|
44
45
|
import { D as _t, a as ft } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
46
|
import { S as Mr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
47
|
import { D as Ur } from "../Drawer-DV4NTsFg.mjs";
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
48
|
+
import { A as kr } from "../Analytics-i5h6BxR1.mjs";
|
|
49
|
+
import { D as Or, O as Pr, a as Fr, f as Hr } from "../DateFormats-Cs-NbEZ7.mjs";
|
|
50
|
+
import { I as Wr, P as qr, S as Yr } from "../Account-DuOz1a27.mjs";
|
|
49
51
|
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
50
|
-
import { C as
|
|
51
|
-
import { C as
|
|
52
|
-
import { R as yt } from "../RecurringTransactionsStore-
|
|
53
|
-
import { S as
|
|
54
|
-
import { G as
|
|
55
|
-
import { u as
|
|
56
|
-
import { u as
|
|
57
|
-
import { u as
|
|
58
|
-
import { u as
|
|
52
|
+
import { C as Xr, c as Kr, a as jr, P as zr } from "../Category-CevNQ03n.mjs";
|
|
53
|
+
import { C as Zr, f as Jr, b as to, a as eo, g as so, i as ro } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
54
|
+
import { R as yt } from "../RecurringTransactionsStore-DAX5ozGz.mjs";
|
|
55
|
+
import { S as ao, T as io } from "../RecurringTransactionsStore-DAX5ozGz.mjs";
|
|
56
|
+
import { G as co, C as uo, D as lo, W as ho, d as go, a as po, k as mo, t as _o, m as fo, w as yo, x as So, g as bo, z as wo, u as Co, f as xo, b as Do, l as Ao, A as vo, s as Eo, y as To, c as Bo, q as Io, n as No, B as Mo, i as Lo, r as Uo, h as $o, v as ko, o as Ro, p as Oo } from "../hooks-DWJQ4phS.mjs";
|
|
57
|
+
import { u as Fo } from "../useAccountDisplayName-Ces0fqkF.mjs";
|
|
58
|
+
import { u as Go } from "../useInsightsEnabled-B4AlxgOP.mjs";
|
|
59
|
+
import { u as qo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
60
|
+
import { u as Qo } from "../useWidgetLoadTimer-BbV8q0k6.mjs";
|
|
59
61
|
import { makeAutoObservable as _, runInAction as S, reaction as Z, autorun as St } from "mobx";
|
|
60
|
-
import { A as bt } from "../AccountStore-
|
|
62
|
+
import { A as bt } from "../AccountStore-Bv74StpR.mjs";
|
|
61
63
|
import wt from "posthog-js";
|
|
62
64
|
import { B as Ct } from "../BeatStore-D_NYuBSz.mjs";
|
|
63
65
|
import { endOfMonth as J } from "date-fns/endOfMonth";
|
|
@@ -71,9 +73,9 @@ import { N as It } from "../NetWorthStore-yV43kJro.mjs";
|
|
|
71
73
|
import { a as Nt } from "../SettingsStore-uQ4s2d0P.mjs";
|
|
72
74
|
import { addMonths as Mt } from "date-fns/addMonths";
|
|
73
75
|
import { getMonth as T } from "date-fns/getMonth";
|
|
74
|
-
import { a as
|
|
75
|
-
import { i as
|
|
76
|
-
import { b as
|
|
76
|
+
import { a as Ko, e as jo, d as zo, A as Vo, f as Zo, C as Jo, g as ta, E as ea, M as sa, N as ra, c as oa, P as aa, h as ia, S as na } from "../Account-BiB1F8lL.mjs";
|
|
77
|
+
import { i as da } from "../DateUtil-CVXVMbjf.mjs";
|
|
78
|
+
import { b as la, a as ha, g as ga } from "../Localization-2MODESHW.mjs";
|
|
77
79
|
import { alpha as Lt, lighten as P, darken as F } from "@mui/material";
|
|
78
80
|
var Ut = /* @__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))(Ut || {});
|
|
79
81
|
const Qe = [
|
|
@@ -629,6 +631,7 @@ class Zt {
|
|
|
629
631
|
this.response = t, this.question && (this.responses[`$survey_response_${this.question.id}`] = t);
|
|
630
632
|
};
|
|
631
633
|
}
|
|
634
|
+
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 || {});
|
|
632
635
|
class X {
|
|
633
636
|
fetchInstance;
|
|
634
637
|
constructor(t, e, r) {
|
|
@@ -650,7 +653,7 @@ class X {
|
|
|
650
653
|
throw e;
|
|
651
654
|
});
|
|
652
655
|
}
|
|
653
|
-
class
|
|
656
|
+
class re {
|
|
654
657
|
api = new X("/", "");
|
|
655
658
|
globalStore;
|
|
656
659
|
alert = "";
|
|
@@ -781,7 +784,6 @@ class Jt {
|
|
|
781
784
|
}
|
|
782
785
|
};
|
|
783
786
|
}
|
|
784
|
-
var te = /* @__PURE__ */ ((s) => (s[s.UNKNOWN = 0] = "UNKNOWN", s[s.CORRECT = 1] = "CORRECT", s[s.INCORRECT = 2] = "INCORRECT", s))(te || {}), ee = /* @__PURE__ */ ((s) => (s.Missed = "Missed", s.Paid = "Paid", s.Upcoming = "Upcoming expense", s.Income = "Income", s))(ee || {}), se = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.Subscription = 1] = "Subscription", s[s.Bill = 2] = "Bill", s))(se || {}), re = /* @__PURE__ */ ((s) => (s.Desktop = "Desktop", s.Mobile = "Mobile", s))(re || {});
|
|
785
787
|
class K {
|
|
786
788
|
fetchInstance;
|
|
787
789
|
constructor(t, e, r) {
|
|
@@ -1220,7 +1222,7 @@ class ts {
|
|
|
1220
1222
|
// UI Stores
|
|
1221
1223
|
globalUiStore;
|
|
1222
1224
|
constructor(t = z, e = "/", r, o) {
|
|
1223
|
-
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, this.onStoreUpdate = o, this.accountStore = new bt(this), this.appDataStore = new ce(this), this.analyticsStore = new Zt(this), this.beatStore = new Ct(this), this.budgetsStore = new
|
|
1225
|
+
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, this.onStoreUpdate = o, this.accountStore = new bt(this), this.appDataStore = new ce(this), this.analyticsStore = new Zt(this), this.beatStore = new Ct(this), this.budgetsStore = new re(this), this.cashflowStore = new dt(this), this.categoryStore = new st(this), this.connectStore = new de(this), this.copyStore = new Vt(this), this.debtsStore = new xt(this), this.finstrongStore = new Dt(this), this.goalStore = new ut(this), this.helpStore = new ie(this), this.holdingStore = new ne(this), this.merchantStore = new Bt(this), this.netWorthStore = new It(this), this.notificationStore = new rt(this), this.recurringTransactionsStore = new yt(this), this.settingsStore = new Nt(this), this.transactionStore = new ct(this), this.trendsStore = new lt(this), this.userStore = new le(this), this.globalUiStore = new ue(this), _(this), St(() => {
|
|
1224
1226
|
const { transactions: a } = this.transactionStore;
|
|
1225
1227
|
this.emitUpdate({
|
|
1226
1228
|
transactions: a
|
|
@@ -1256,160 +1258,160 @@ class ts {
|
|
|
1256
1258
|
};
|
|
1257
1259
|
}
|
|
1258
1260
|
export {
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1261
|
+
kr as ANALYTICS_EVENTS,
|
|
1262
|
+
Ko as AccountIcon,
|
|
1263
|
+
jo as AccountIconVariants,
|
|
1264
|
+
yr as AccountNotificationTypes,
|
|
1265
|
+
zo as AccountSubType,
|
|
1266
|
+
Vo as AccountType,
|
|
1267
|
+
Zo as AccountTypeName,
|
|
1266
1268
|
rs as AnalyticsApi,
|
|
1267
1269
|
h as ApiEndpoints,
|
|
1268
1270
|
H as BannerApi,
|
|
1269
1271
|
Ve as BarChart,
|
|
1270
1272
|
cs as BeatApi,
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1273
|
+
Sr as BudgetNotificationTypes,
|
|
1274
|
+
Ar as Calendar,
|
|
1275
|
+
vr as CalendarSelectionTypes,
|
|
1274
1276
|
us as CategoryApi,
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
+
Xr as CategoryColors,
|
|
1278
|
+
Kr as CategoryGuidToName,
|
|
1277
1279
|
E as CategoryGuids,
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1280
|
+
jr as CategoryIcon,
|
|
1281
|
+
ar as ConnectCard,
|
|
1282
|
+
vs as ConnectDrawer,
|
|
1283
|
+
Jo as ConnectionStatus,
|
|
1284
|
+
ta as ConnectionStatusEnums,
|
|
1285
|
+
Zr as CurrencyCodes,
|
|
1286
|
+
Bs as CurrencyDialog,
|
|
1287
|
+
ks as CurrencyInput,
|
|
1288
|
+
ur as CurrencyText,
|
|
1289
|
+
Or as DATE_FORMATS_INTL,
|
|
1288
1290
|
_t as DEFAULT_DONUT_SIZE,
|
|
1289
1291
|
ft as DEFAULT_STROKE_WIDTH,
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
+
zs as DataRow,
|
|
1293
|
+
xs as DateRangeSelector,
|
|
1292
1294
|
Ir as Dialog,
|
|
1293
1295
|
Ur as Drawer,
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1296
|
+
hr as EmptyState,
|
|
1297
|
+
fs as ErrorBoundary,
|
|
1298
|
+
ea as ErrorStatuses,
|
|
1299
|
+
te as ExpenseStatus,
|
|
1298
1300
|
y as Fetch,
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
+
Vs as Frequency,
|
|
1302
|
+
Es as GlobalAccountFilter,
|
|
1301
1303
|
k as GlobalCopyApi,
|
|
1302
1304
|
Vt as GlobalCopyStore,
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
+
co as GlobalDataContext,
|
|
1306
|
+
uo as GlobalDataProvider,
|
|
1305
1307
|
ts as GlobalStore,
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1308
|
+
ir as GoalType,
|
|
1309
|
+
Wr as INCOME_ACCOUNT_TYPES,
|
|
1310
|
+
Ks as IconBacking,
|
|
1311
|
+
rr as InformationTooltip,
|
|
1312
|
+
br as InsightNotificationTypes,
|
|
1311
1313
|
kt as IterationItemTypes,
|
|
1312
1314
|
Xe as LOADING_STATUS,
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1315
|
+
pr as ListItemAction,
|
|
1316
|
+
_r as ListItemRow,
|
|
1317
|
+
ps as ListItemWrapper,
|
|
1318
|
+
Os as Loader,
|
|
1317
1319
|
je as LocalizedCopyApi,
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1320
|
+
nr as MetaType,
|
|
1321
|
+
sa as MfaStatuses,
|
|
1322
|
+
Ss as MicroWidgetContainer,
|
|
1323
|
+
ws as MiniWidgetContainer,
|
|
1322
1324
|
Je as MultiSegmentDonut,
|
|
1323
|
-
|
|
1325
|
+
ra as NonConnectedStatuses,
|
|
1324
1326
|
hs as NotificationApi,
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1327
|
+
wr as NotificationTypes,
|
|
1328
|
+
Pr as ORDINAL_DATE_FORMAT,
|
|
1329
|
+
Fr as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
1330
|
+
qr as PAYMENT_ACCOUNT_TYPES,
|
|
1331
|
+
zr as PaymentCategories,
|
|
1330
1332
|
$t as PlanTypes,
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1333
|
+
oa as ProcessingStatuses,
|
|
1334
|
+
aa as PropertyType,
|
|
1335
|
+
ia as PropertyTypeName,
|
|
1334
1336
|
Qe as RECURRENCE_COPY,
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
+
Zs as RecurrenceStatus,
|
|
1338
|
+
Js as RecurrenceType,
|
|
1337
1339
|
Ut as RecurrenceTypes,
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1340
|
+
tr as RepeatingType,
|
|
1341
|
+
Fs as ResponsiveButton,
|
|
1342
|
+
Yr as SPENDING_ACCOUNT_TYPES,
|
|
1343
|
+
ee as ScheduledPaymentTypes,
|
|
1342
1344
|
ze as ScheduledPaymentsApi,
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1345
|
+
se as ScreenSize,
|
|
1346
|
+
Gs as SearchBox,
|
|
1347
|
+
er as Select,
|
|
1348
|
+
qs as SelectionBox,
|
|
1347
1349
|
Mr as SingleSegmentDonut,
|
|
1348
|
-
|
|
1350
|
+
ao as Sizes,
|
|
1349
1351
|
Tr as StatusBar,
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1352
|
+
na as StatusName,
|
|
1353
|
+
io as TOUCH_TARGET,
|
|
1354
|
+
Qs as TabContentContainer,
|
|
1355
|
+
Cr as ToggleButtonListItem,
|
|
1356
|
+
xr as ToggleListItem,
|
|
1357
|
+
cr as TrackType,
|
|
1358
|
+
ms as TransactionStatus,
|
|
1357
1359
|
ot as TransactionType,
|
|
1358
1360
|
G as UserApi,
|
|
1359
1361
|
le as UserStore,
|
|
1360
|
-
|
|
1362
|
+
Jt as UserVerification,
|
|
1361
1363
|
W as WidgetApi,
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1364
|
+
Ds as WidgetContainer,
|
|
1365
|
+
lo as WidgetContainerContext,
|
|
1366
|
+
ho as WidgetContainerProvider,
|
|
1365
1367
|
os as analyticsSession,
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1368
|
+
la as buildDynamicCopy,
|
|
1369
|
+
ha as buildPluralCopy,
|
|
1370
|
+
Jr as formatCurrency,
|
|
1371
|
+
Hr as formatDate,
|
|
1372
|
+
to as formatOrdinal,
|
|
1373
|
+
eo as formatPercentage,
|
|
1374
|
+
da as fromTimestampToMonthYear,
|
|
1375
|
+
Is as getCategory,
|
|
1376
|
+
Ns as getCategoryTotalsByParent,
|
|
1375
1377
|
Ke as getClientTheme,
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1378
|
+
so as getCurrencyCodes,
|
|
1379
|
+
Ms as getDetailedCategory,
|
|
1380
|
+
Ls as getDetailedSubCategory,
|
|
1381
|
+
ga as getLocale,
|
|
1382
|
+
Us as isIncome,
|
|
1383
|
+
ro as isValidNumber,
|
|
1384
|
+
Fo as useAccountDisplayName,
|
|
1385
|
+
go as useAccountStore,
|
|
1386
|
+
po as useAppConfig,
|
|
1387
|
+
mo as useBudgetsStore,
|
|
1388
|
+
_o as useCashflowStore,
|
|
1389
|
+
fo as useCategoryStore,
|
|
1388
1390
|
as as useCombineEvents,
|
|
1389
1391
|
is as useCombinePageviews,
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1392
|
+
yo as useDebtStore,
|
|
1393
|
+
So as useError,
|
|
1394
|
+
bo as useEvent,
|
|
1395
|
+
wo as useFinstrongStore,
|
|
1396
|
+
Co as useGlobalCopyStore,
|
|
1397
|
+
xo as useGlobalStore,
|
|
1398
|
+
Do as useGlobalUiStore,
|
|
1399
|
+
Ao as useGoalStore,
|
|
1400
|
+
vo as useHelpStore,
|
|
1401
|
+
Eo as useHoldingStore,
|
|
1402
|
+
Go as useInsightsEnabled,
|
|
1403
|
+
To as useLoad,
|
|
1404
|
+
Bo as useMerchantStore,
|
|
1405
|
+
Io as useNetWorthStore,
|
|
1406
|
+
No as useNotificationStore,
|
|
1407
|
+
Mo as usePageView,
|
|
1406
1408
|
Ze as usePrevious,
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1409
|
+
Lo as useRecurringTransactionsStore,
|
|
1410
|
+
qo as useScreenSize,
|
|
1411
|
+
Uo as useSettingsStore,
|
|
1412
|
+
$o as useTransactionStore,
|
|
1413
|
+
ko as useTrendsStore,
|
|
1414
|
+
Ro as useUserStore,
|
|
1415
|
+
Oo as useWidgetContainerProvider,
|
|
1416
|
+
Qo as useWidgetLoadTimer
|
|
1415
1417
|
};
|
package/dist/debts/index.es.js
CHANGED
|
@@ -9,7 +9,7 @@ import { addMonths as se } from "date-fns/addMonths";
|
|
|
9
9
|
import { fromUnixTime as ce } from "date-fns/fromUnixTime";
|
|
10
10
|
import { getUnixTime as de } from "date-fns/getUnixTime";
|
|
11
11
|
import { D as k, M as Be, I as Me } from "../DebtsStore-BIbOVCPe.mjs";
|
|
12
|
-
import { a as
|
|
12
|
+
import { a as Hr } from "../DebtsStore-BIbOVCPe.mjs";
|
|
13
13
|
import { f as N, a as Pe } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
14
14
|
import { f as U, D as q } from "../DateFormats-Cs-NbEZ7.mjs";
|
|
15
15
|
import { G as ke, w as Z, u as C, l as Y, g as R, d as J, b as Ne } from "../hooks-DWJQ4phS.mjs";
|
|
@@ -23,29 +23,30 @@ import Oe from "@mui/material/CardHeader";
|
|
|
23
23
|
import ae from "@mui/material/Box";
|
|
24
24
|
import { useTheme as He } from "@mui/material/styles";
|
|
25
25
|
import { LineChart as Ge } from "@mui/x-charts/LineChart";
|
|
26
|
-
import { A as T
|
|
26
|
+
import { A as T } from "../Analytics-i5h6BxR1.mjs";
|
|
27
27
|
import pe from "@mui/material/Tab";
|
|
28
|
-
import
|
|
28
|
+
import We from "@mui/material/Tabs";
|
|
29
29
|
import fe from "@mui/material/List";
|
|
30
30
|
import j from "@mui/material/Divider";
|
|
31
|
-
import { M as
|
|
32
|
-
import
|
|
31
|
+
import { M as je, I as ze, O as Xe } from "../OriginalBalanceAction-BaJhCWa3.mjs";
|
|
32
|
+
import Ve from "@mui/material/TextField";
|
|
33
33
|
import { L as Q } from "../ListItemAction-DrDDQgt7.mjs";
|
|
34
34
|
import { C as oe } from "../CurrencyInput-niY2izw5.mjs";
|
|
35
35
|
import me from "@mui/material/Alert";
|
|
36
36
|
import he from "@mui/material/AlertTitle";
|
|
37
37
|
import ue from "@mui/material/Paper";
|
|
38
|
-
import { Error as
|
|
38
|
+
import { Error as Ye, CheckCircle as xe } from "@mxenabled/mx-icons";
|
|
39
39
|
import { T as be } from "../TabContentContainer-j01JYR_7.mjs";
|
|
40
|
-
import { DataGridPro as
|
|
40
|
+
import { DataGridPro as Ke } from "@mui/x-data-grid-pro";
|
|
41
41
|
import { H as z } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as
|
|
42
|
+
import { f as Ue, A as X } from "../Account-BiB1F8lL.mjs";
|
|
43
43
|
import ge from "@mui/material/Button";
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import { u as
|
|
48
|
-
import { L as
|
|
44
|
+
import qe from "@mui/material/IconButton";
|
|
45
|
+
import Ze from "@mui/material/ListItem";
|
|
46
|
+
import Je from "@mui/material/Popover";
|
|
47
|
+
import { u as Qe } from "../useWidgetLoadTimer-BbV8q0k6.mjs";
|
|
48
|
+
import { L as et } from "../Loader-DUaFpDGv.mjs";
|
|
49
|
+
import { W as tt } from "../WidgetContainer-CiyWaTc1.mjs";
|
|
49
50
|
const rt = (a, o = 0, r = 0) => {
|
|
50
51
|
if (r === 0) return 0;
|
|
51
52
|
const t = o / (Be * Me);
|
|
@@ -828,7 +829,7 @@ const Ce = ({
|
|
|
828
829
|
secondaryText: Pe(Number(a.interest_rate) / 100),
|
|
829
830
|
zeroStateText: a.interest_rate ? void 0 : o.add_interest_rate,
|
|
830
831
|
children: /* @__PURE__ */ e(
|
|
831
|
-
|
|
832
|
+
Ve,
|
|
832
833
|
{
|
|
833
834
|
error: d,
|
|
834
835
|
fullWidth: !0,
|
|
@@ -907,11 +908,11 @@ const Ce = ({
|
|
|
907
908
|
const { onEvent: a } = R(), { selectedDebtChartData: o } = F();
|
|
908
909
|
return g.useEffect(() => a(T.DEBT_DETAILS_VIEW), []), /* @__PURE__ */ s(f, { bgcolor: "background.paper", children: [
|
|
909
910
|
o?.goal && /* @__PURE__ */ s(O, { children: [
|
|
911
|
+
/* @__PURE__ */ e(je, { goal: o.goal }),
|
|
912
|
+
/* @__PURE__ */ e(j, {}),
|
|
910
913
|
/* @__PURE__ */ e(ze, { goal: o.goal }),
|
|
911
914
|
/* @__PURE__ */ e(j, {}),
|
|
912
915
|
/* @__PURE__ */ e(Xe, { goal: o.goal }),
|
|
913
|
-
/* @__PURE__ */ e(j, {}),
|
|
914
|
-
/* @__PURE__ */ e(Ve, { goal: o.goal }),
|
|
915
916
|
/* @__PURE__ */ e(j, {})
|
|
916
917
|
] }),
|
|
917
918
|
!o?.goal && o?.account && /* @__PURE__ */ s(O, { children: [
|
|
@@ -931,7 +932,7 @@ const Ce = ({
|
|
|
931
932
|
/* @__PURE__ */ e(ue, { sx: { my: 16, mx: 24, ...o }, children: /* @__PURE__ */ s(
|
|
932
933
|
me,
|
|
933
934
|
{
|
|
934
|
-
icon: t ? /* @__PURE__ */ e(
|
|
935
|
+
icon: t ? /* @__PURE__ */ e(Ye, { filled: !0 }) : /* @__PURE__ */ e(xe, { color: "success", filled: !0 }),
|
|
935
936
|
severity: "error",
|
|
936
937
|
sx: {
|
|
937
938
|
alignItems: "start",
|
|
@@ -973,7 +974,7 @@ const Ce = ({
|
|
|
973
974
|
return /* @__PURE__ */ s(O, { children: [
|
|
974
975
|
(o || r) && /* @__PURE__ */ e(St, { setTabValue: n, sx: { mt: -24 } }),
|
|
975
976
|
/* @__PURE__ */ s(
|
|
976
|
-
|
|
977
|
+
We,
|
|
977
978
|
{
|
|
978
979
|
"aria-label": a.details_tabs_aria_label,
|
|
979
980
|
centered: !0,
|
|
@@ -1123,7 +1124,7 @@ const kt = (a) => {
|
|
|
1123
1124
|
}
|
|
1124
1125
|
);
|
|
1125
1126
|
}, Rt = (a) => {
|
|
1126
|
-
const o = a.row.account, r =
|
|
1127
|
+
const o = a.row.account, r = Ue[o.account_type];
|
|
1127
1128
|
return /* @__PURE__ */ s(f, { alignItems: "center", flexDirection: "row", children: [
|
|
1128
1129
|
/* @__PURE__ */ e(
|
|
1129
1130
|
Ae,
|
|
@@ -1263,7 +1264,7 @@ const kt = (a) => {
|
|
|
1263
1264
|
...a
|
|
1264
1265
|
},
|
|
1265
1266
|
children: /* @__PURE__ */ e(
|
|
1266
|
-
|
|
1267
|
+
Ke,
|
|
1267
1268
|
{
|
|
1268
1269
|
columns: c ? B : u,
|
|
1269
1270
|
disableColumnFilter: !0,
|
|
@@ -1314,7 +1315,7 @@ const kt = (a) => {
|
|
|
1314
1315
|
children: a
|
|
1315
1316
|
}
|
|
1316
1317
|
) : /* @__PURE__ */ e(
|
|
1317
|
-
|
|
1318
|
+
qe,
|
|
1318
1319
|
{
|
|
1319
1320
|
"aria-controls": "prioritize-debts",
|
|
1320
1321
|
"aria-describedby": "prioritize-debts",
|
|
@@ -1346,7 +1347,7 @@ const kt = (a) => {
|
|
|
1346
1347
|
i(m), r(T.DEBTS_CLICK_PRIORITY, { debts_priority: m });
|
|
1347
1348
|
};
|
|
1348
1349
|
return /* @__PURE__ */ e(
|
|
1349
|
-
|
|
1350
|
+
Je,
|
|
1350
1351
|
{
|
|
1351
1352
|
anchorEl: a,
|
|
1352
1353
|
anchorOrigin: {
|
|
@@ -1361,7 +1362,7 @@ const kt = (a) => {
|
|
|
1361
1362
|
horizontal: "left"
|
|
1362
1363
|
},
|
|
1363
1364
|
children: /* @__PURE__ */ e(fe, { children: c.map(({ priority: m, text: b }) => /* @__PURE__ */ s(
|
|
1364
|
-
|
|
1365
|
+
Ze,
|
|
1365
1366
|
{
|
|
1366
1367
|
onClick: () => p(m),
|
|
1367
1368
|
sx: {
|
|
@@ -1455,7 +1456,7 @@ const kt = (a) => {
|
|
|
1455
1456
|
);
|
|
1456
1457
|
}), Wt = ({ onBackClick: a, sx: o }) => {
|
|
1457
1458
|
const { isDesktop: r, isMobile: t } = K(), { debts: n } = C(), { onEvent: i } = R(), { isInitialized: d } = Ne(), { setSelectedAccount: c } = Fe(), { selectedDebtPriority: p, setSelectedDebtChartData: m } = F(), { isAccountDataLoaded: b, loadAccountData: w, visibleDebtAccounts: u } = J(), { isAllGoalDataLoaded: B, loadGoalData: P, monthlyCashFlowProfile: M } = Y(), { debts: S } = Z(), [A, $] = g.useState(!1), [y, h] = g.useState(!1), [x, D] = g.useState(!1), [E, L] = g.useState("");
|
|
1458
|
-
|
|
1459
|
+
Qe({
|
|
1459
1460
|
widgetName: "DebtsWidget",
|
|
1460
1461
|
isLoaded: B
|
|
1461
1462
|
});
|
|
@@ -1476,8 +1477,8 @@ const kt = (a) => {
|
|
|
1476
1477
|
}, De = () => {
|
|
1477
1478
|
h(!0), i(T.DEBTS_CLICK_PAYDOWN);
|
|
1478
1479
|
};
|
|
1479
|
-
return !d || !B ? /* @__PURE__ */ e(
|
|
1480
|
-
|
|
1480
|
+
return !d || !B ? /* @__PURE__ */ e(et, {}) : /* @__PURE__ */ s(
|
|
1481
|
+
tt,
|
|
1481
1482
|
{
|
|
1482
1483
|
actions: [
|
|
1483
1484
|
/* @__PURE__ */ e(Ot, {}, "prioritize-debts"),
|
|
@@ -1549,10 +1550,10 @@ const kt = (a) => {
|
|
|
1549
1550
|
]
|
|
1550
1551
|
}
|
|
1551
1552
|
);
|
|
1552
|
-
},
|
|
1553
|
+
}, Lr = v(Wt);
|
|
1553
1554
|
export {
|
|
1554
1555
|
Ce as DebtsChart,
|
|
1555
|
-
|
|
1556
|
+
Hr as DebtsStore,
|
|
1556
1557
|
Ft as DebtsTable,
|
|
1557
|
-
|
|
1558
|
+
Lr as DebtsWidget
|
|
1558
1559
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fromUnixTime as d } from "date-fns/fromUnixTime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { T as m } from "./
|
|
2
|
+
import { f as u, D as p } from "./DateFormats-Cs-NbEZ7.mjs";
|
|
3
|
+
import { c as g } from "./Category-CevNQ03n.mjs";
|
|
4
|
+
import { T as m } from "./Transaction-RmKYEKSk.mjs";
|
|
5
5
|
function f(t) {
|
|
6
6
|
return new Set(
|
|
7
7
|
t.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
|
|
@@ -22,12 +22,12 @@ const A = (t, n) => {
|
|
|
22
22
|
const e = _(l(t, n)), o = new Blob([e], { type: "text/csv;charset=utf-8;" }), r = document.createElement("a");
|
|
23
23
|
r.href = URL.createObjectURL(o), r.setAttribute("download", "transactions.csv"), document.body.appendChild(r), r.click(), document.body.removeChild(r), URL.revokeObjectURL(r.href);
|
|
24
24
|
}, l = (t, n) => t.map((e) => ({
|
|
25
|
-
Date:
|
|
25
|
+
Date: u(d(e.date), p.YEAR_MONTH_DAY),
|
|
26
26
|
Description: y(e),
|
|
27
27
|
"Original Description": e.feed_description,
|
|
28
28
|
Amount: `${e.amount}`,
|
|
29
29
|
Type: e.transaction_type === m.CREDIT ? "Credit" : "Debit",
|
|
30
|
-
"Parent Category":
|
|
30
|
+
"Parent Category": g[e.top_level_category_guid || ""],
|
|
31
31
|
Category: e.category,
|
|
32
32
|
Account: e.account,
|
|
33
33
|
Tags: C(e, n),
|