@mx-cartographer/experiences 7.0.27-alpha.mm0 → 7.0.27-alpha.sms1
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 +0 -4
- package/dist/{Account-DJ7VG5hs.mjs → Account-BW3-oYEs.mjs} +1 -1
- package/dist/{AccountDetailsContent-YtqGgQmV.mjs → AccountDetailsContent-UxSEMBo_.mjs} +8 -8
- package/dist/{AccountDetailsHeader-DJk0hheh.mjs → AccountDetailsHeader-Eb3WvBGm.mjs} +5 -5
- package/dist/{AccountFields-BJfIdeay.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
- package/dist/{AccountListItem-CkDTN1Bi.mjs → AccountListItem-B-ZjJ4Gp.mjs} +3 -3
- package/dist/{AccountStore-CJl0ld02.mjs → AccountStore-BaMynkQT.mjs} +26 -26
- package/dist/{Accounts-BYGu-bN1.mjs → Accounts-CA-nqAjT.mjs} +1 -1
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-DLu87ijw.mjs} +3 -3
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-By4aGoRM.mjs} +17 -17
- package/dist/{BudgetUtil-BB9gMyLW.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-B-W3eXHU.mjs → CategorySelectorDrawer-BJ9jlCyt.mjs} +1 -1
- package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-BOyzQjQp.mjs} +4 -4
- package/dist/{ConnectDrawer-COy3Xwqv.mjs → ConnectDrawer-phFH6OHt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-B36W8Qvy.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +2 -2
- package/dist/{CurrencyInput-B6gF46iv.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
- package/dist/{DebtsStore-2yxA32_7.mjs → DebtsStore-VkyMADzd.mjs} +1 -1
- package/dist/{ExportCsvAction-C3s1m5os.mjs → ExportCsvAction-CbdFfDV5.mjs} +3 -3
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-CkFKy79O.mjs} +10 -11
- package/dist/{FinstrongStore-F2c607dj.mjs → FinstrongStore-mkALvztw.mjs} +4 -4
- package/dist/{GoalStore-dBJBsl-g.mjs → GoalStore-eSOkI6uE.mjs} +6 -6
- package/dist/{Help-CWsL8d5P.mjs → Help-KAAMEubC.mjs} +1 -1
- package/dist/{LineChart-CBKadOFA.mjs → LineChart-BWWmmJxV.mjs} +1 -1
- package/dist/{ListItemAction-CpYlo5Sh.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
- package/dist/{ManageIncome-CGoLh7xs.mjs → ManageIncome-DbsiKUoO.mjs} +4 -4
- package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
- package/dist/{MicroWidgetContainer-DQXTwO5i.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BF2Qwhh-.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
- package/dist/{NetWorthStore-CrQtq5rq.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
- package/dist/{NotificationSettings-gz1XBCBs.mjs → NotificationSettings-D5xBFiWs.mjs} +53 -53
- package/dist/{NotificationStore-C6PH6MKm.mjs → NotificationStore-DHtSGySy.mjs} +4 -8
- package/dist/{OriginalBalanceAction-C3afa-mq.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
- package/dist/{RecurringSettings-fjYVNmPp.mjs → RecurringSettings-Dj29piAQ.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-DeLXfuC4.mjs → RecurringTransactionsStore-D62XJtdL.mjs} +16 -20
- package/dist/{SettingsStore-0aHfHlOE.mjs → SettingsStore-B4gi6oOw.mjs} +29 -33
- package/dist/{TransactionApi-B3Tksf7L.mjs → TransactionApi-DbbcjI2L.mjs} +29 -29
- package/dist/{TransactionDetails--DPYM8la.mjs → TransactionDetails-C-z3HGTT.mjs} +5 -5
- package/dist/{TransactionStore-Cd25G0gH.mjs → TransactionStore-Cep_Eeql.mjs} +25 -29
- package/dist/{TrendsStore-ReCVjB8o.mjs → TrendsStore-WrHxzdbQ.mjs} +1 -1
- package/dist/{User-DD7Pb2ze.mjs → User-Dq9Qj764.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-C66pzgfS.mjs → ViewMoreMicroCard-DFAY0tA8.mjs} +2 -5
- package/dist/{WidgetContainer-C1NlG0pd.mjs → WidgetContainer-CdBs9WOZ.mjs} +2 -2
- package/dist/accounts/api/AccountApi.d.ts +2 -2
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/api/BudgetsApi.d.ts +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/api/CashflowApi.d.ts +2 -3
- package/dist/cashflow/index.es.js +10 -10
- package/dist/categories/index.es.js +2 -2
- package/dist/common/api/AnalyticsApi.d.ts +2 -2
- package/dist/common/api/AppDataApi.d.ts +2 -2
- package/dist/common/api/BeatApi.d.ts +2 -2
- package/dist/common/api/CategoryApi.d.ts +3 -2
- package/dist/common/api/GlobalCopyApi.d.ts +1 -2
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -2
- package/dist/common/api/NotificationApi.d.ts +2 -2
- package/dist/common/api/ScheduledPaymentsApi.d.ts +2 -3
- package/dist/common/api/UserApi.d.ts +2 -2
- package/dist/common/context/GlobalDataProvider.d.ts +2 -3
- package/dist/common/context/hooks.d.ts +1 -4
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +310 -316
- package/dist/common/stores/GlobalStore.d.ts +2 -3
- package/dist/common/types/index.d.ts +0 -1
- package/dist/common/utils/Fetch.d.ts +1 -3
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-Ch_T5Xhk.mjs → exportTransactionsToCSV-B5qAKd6C.mjs} +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +1 -2
- package/dist/finstrong/index.es.js +7 -7
- package/dist/goals/api/GoalApi.d.ts +2 -3
- package/dist/goals/index.es.js +11 -11
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-DkUqN6JE.mjs +71 -0
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/api/HoldingApi.d.ts +2 -3
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/api/MerchantApi.d.ts +1 -2
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -2
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/recurringtransactions/index.es.js +10 -10
- package/dist/settings/api/SettingsApi.d.ts +2 -3
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/api/TransactionApi.d.ts +2 -3
- package/dist/transactions/index.es.js +14 -14
- package/dist/trends/index.es.js +10 -10
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-DaDBSR_1.mjs} +29 -29
- package/package.json +1 -1
- package/dist/MerchantStore-DrFvsUyy.mjs +0 -37
- package/dist/common/types/Handlers.d.ts +0 -2
- package/dist/hooks-CTieq90n.mjs +0 -74
package/dist/common/index.es.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import { G as M } from "../useCombineEvents-
|
|
2
|
-
import { A as ts, a as es, u as ss, b as
|
|
3
|
-
import { F as y, A as
|
|
4
|
-
import { B as os } 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-
|
|
9
|
-
import { T as
|
|
10
|
-
import { C as
|
|
11
|
-
import { H as
|
|
1
|
+
import { G as M } from "../useCombineEvents-DaDBSR_1.mjs";
|
|
2
|
+
import { A as ts, a as es, u as ss, b as as } from "../useCombineEvents-DaDBSR_1.mjs";
|
|
3
|
+
import { F as y, A as l } from "../Fetch-CkFKy79O.mjs";
|
|
4
|
+
import { B as os } from "../BeatApi-DLu87ijw.mjs";
|
|
5
|
+
import { C as et } from "../CategoryStore-BOyzQjQp.mjs";
|
|
6
|
+
import { a as is } from "../CategoryStore-BOyzQjQp.mjs";
|
|
7
|
+
import { N as st } from "../NotificationStore-DHtSGySy.mjs";
|
|
8
|
+
import { a as ds } from "../NotificationStore-DHtSGySy.mjs";
|
|
9
|
+
import { T as at } from "../User-Dq9Qj764.mjs";
|
|
10
|
+
import { C as us, b as hs, L as gs, a as ps } from "../User-Dq9Qj764.mjs";
|
|
11
|
+
import { H as rt } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as _s } from "../Help-DhcC-C05.mjs";
|
|
13
|
-
import { M as fs } from "../MicroWidgetContainer-
|
|
14
|
-
import { M as bs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-
|
|
16
|
-
import { i as
|
|
17
|
-
import { C as qs } from "../CurrencyInput-
|
|
13
|
+
import { M as fs } from "../MicroWidgetContainer-Dxz8uBN9.mjs";
|
|
14
|
+
import { M as bs } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
15
|
+
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-CdBs9WOZ.mjs";
|
|
16
|
+
import { i as As, a as Es, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-phFH6OHt.mjs";
|
|
17
|
+
import { C as qs } from "../CurrencyInput-bEx2Mbd0.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 ot } from "../TransactionStore-
|
|
22
|
-
import { S as Vs } from "../TransactionStore-
|
|
21
|
+
import { T as ot } from "../TransactionStore-Cep_Eeql.mjs";
|
|
22
|
+
import { S as Vs } from "../TransactionStore-Cep_Eeql.mjs";
|
|
23
23
|
import { T as Js } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
|
-
import { I as
|
|
25
|
-
import { D as
|
|
24
|
+
import { I as ea } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
|
+
import { D as aa, F as ra, a as oa, c as na, R as ia, S as ca } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
26
26
|
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
27
|
-
import { I as
|
|
28
|
-
import { d as it } from "../GoalStore-
|
|
29
|
-
import { C as
|
|
30
|
-
import { C as
|
|
31
|
-
import { E as
|
|
32
|
-
import { L as
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as
|
|
35
|
-
import { A as
|
|
27
|
+
import { I as la } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
28
|
+
import { d as it } from "../GoalStore-eSOkI6uE.mjs";
|
|
29
|
+
import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-eSOkI6uE.mjs";
|
|
30
|
+
import { C as ya } from "../CurrencyText-YUhH2caW.mjs";
|
|
31
|
+
import { E as Sa } from "../EmptyState-C0lr9E5T.mjs";
|
|
32
|
+
import { L as wa } from "../ListItemAction-DNZZ5fSa.mjs";
|
|
33
|
+
import { T as ct } from "../TrendsStore-WrHxzdbQ.mjs";
|
|
34
|
+
import { L as Ca, S as Da, u as va } from "../TrendsStore-WrHxzdbQ.mjs";
|
|
35
|
+
import { A as Ea, B as Ta, I as Ba, N as Ia, T as Na, a as Fa } from "../Notification-ByMBpJ5u.mjs";
|
|
36
36
|
import { jsxs as _, jsx as c } from "react/jsx-runtime";
|
|
37
|
-
import dt, { useRef as
|
|
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
|
-
import { D as $
|
|
41
|
-
import { L as
|
|
42
|
-
import { S as
|
|
43
|
-
import { D as
|
|
40
|
+
import { D as $a } from "../Donut-1UMNcG67.mjs";
|
|
41
|
+
import { L as Ua } from "../LineChart-BWWmmJxV.mjs";
|
|
42
|
+
import { S as La } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
|
+
import { D as Ga, a as Ha, O as Pa, b as qa, f as Wa } from "../Dialog-CWW597AF.mjs";
|
|
44
44
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { S as
|
|
46
|
-
import { D as
|
|
47
|
-
import { I as
|
|
48
|
-
import { b as
|
|
49
|
-
import { C as
|
|
50
|
-
import { C as
|
|
51
|
-
import { R as mt } from "../RecurringTransactionsStore-
|
|
52
|
-
import { S as
|
|
53
|
-
import { G as
|
|
54
|
-
import { u as
|
|
45
|
+
import { S as Ya } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
|
+
import { D as Xa } from "../Drawer-kEE73B87.mjs";
|
|
47
|
+
import { I as ja, P as Va, S as Za } from "../Account-BW3-oYEs.mjs";
|
|
48
|
+
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
49
|
+
import { C as tr, c as er, a as sr, P as ar } from "../Category-CevNQ03n.mjs";
|
|
50
|
+
import { C as or, f as nr, b as ir, a as cr, g as dr, i as lr } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
51
|
+
import { R as mt } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
52
|
+
import { S as hr, T as gr } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
53
|
+
import { G as mr, A as _r, B as yr, W as fr, c as Sr, m as br, g as wr, t as xr, k as Cr, x as Dr, e as vr, w as Ar, u as Er, l as Tr, a as Br, j as Ir, y as Nr, s as Fr, b as Mr, q as $r, n as Rr, z as Ur, h as kr, r as Lr, f as Or, v as Gr, o as Hr, p as Pr } from "../hooks-DkUqN6JE.mjs";
|
|
54
|
+
import { u as Wr } 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-BaMynkQT.mjs";
|
|
57
57
|
import ft from "posthog-js";
|
|
58
|
-
import { B as St } from "../BeatStore-
|
|
58
|
+
import { B as St } from "../BeatStore-By4aGoRM.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
|
-
import { f as bt, a as wt, b as O } from "../BudgetUtil-
|
|
63
|
-
import { g as
|
|
64
|
-
import { a as xt } from "../DebtsStore-
|
|
65
|
-
import { a as Ct } from "../FinstrongStore-
|
|
66
|
-
import { A as Dt, m as vt, a as
|
|
67
|
-
import { M as Tt } from "../MerchantStore-
|
|
68
|
-
import { N as Bt } from "../NetWorthStore-
|
|
69
|
-
import { a as It } from "../SettingsStore-
|
|
62
|
+
import { f as bt, a as wt, b as O } from "../BudgetUtil-CeSLAcsl.mjs";
|
|
63
|
+
import { g as Yr, e as zr, c as Xr, d as Kr, i as jr } from "../BudgetUtil-CeSLAcsl.mjs";
|
|
64
|
+
import { a as xt } from "../DebtsStore-VkyMADzd.mjs";
|
|
65
|
+
import { a as Ct } from "../FinstrongStore-mkALvztw.mjs";
|
|
66
|
+
import { A as Dt, m as vt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
67
|
+
import { M as Tt } from "../MerchantStore-DVH-QOf0.mjs";
|
|
68
|
+
import { N as Bt } from "../NetWorthStore-B6xF9eGH.mjs";
|
|
69
|
+
import { a as It } from "../SettingsStore-B4gi6oOw.mjs";
|
|
70
70
|
import { addMonths as Nt } from "date-fns/addMonths";
|
|
71
71
|
import { getMonth as T } from "date-fns/getMonth";
|
|
72
|
-
import { i as
|
|
73
|
-
import { b as
|
|
72
|
+
import { i as Zr } from "../DateUtil-BcuH7ErC.mjs";
|
|
73
|
+
import { b as to, a as eo, g as so } from "../Localization-2MODESHW.mjs";
|
|
74
74
|
import { alpha as Ft, lighten as G, darken as H } 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 = [
|
|
@@ -89,7 +89,7 @@ const qe = [
|
|
|
89
89
|
};
|
|
90
90
|
var $t = /* @__PURE__ */ ((s) => (s[s.SpendingPlan = 0] = "SpendingPlan", s[s.Budgets = 1] = "Budgets", s))($t || {}), Rt = /* @__PURE__ */ ((s) => (s[s.RecurringExpense = 0] = "RecurringExpense", s[s.PlannedExpense = 1] = "PlannedExpense", s[s.Other = 2] = "Other", s[s.Income = 3] = "Income", s))(Rt || {});
|
|
91
91
|
const Qe = (s, t) => {
|
|
92
|
-
const e = s.palette.mode === "dark",
|
|
92
|
+
const e = s.palette.mode === "dark", a = (d, i) => {
|
|
93
93
|
const n = t?.[d];
|
|
94
94
|
return {
|
|
95
95
|
lighter: n ? G(n, 0.5) : i.lighter,
|
|
@@ -98,27 +98,27 @@ const Qe = (s, t) => {
|
|
|
98
98
|
dark: n ? H(n, 0.25) : i.dark,
|
|
99
99
|
darker: n ? H(n, 0.5) : i.darker
|
|
100
100
|
};
|
|
101
|
-
},
|
|
102
|
-
primary:
|
|
103
|
-
secondary:
|
|
104
|
-
error:
|
|
105
|
-
warning:
|
|
106
|
-
info:
|
|
107
|
-
success:
|
|
101
|
+
}, r = {
|
|
102
|
+
primary: a(e ? "primary_color_dark" : "primary_color", s.palette.primary),
|
|
103
|
+
secondary: a(e ? "neutral_color_dark" : "neutral_color", s.palette.secondary),
|
|
104
|
+
error: a(e ? "error_color_dark" : "error_color", s.palette.error),
|
|
105
|
+
warning: a(e ? "warning_color_dark" : "warning_color", s.palette.warning),
|
|
106
|
+
info: a(e ? "info_color_dark" : "info_color", s.palette.info),
|
|
107
|
+
success: a(e ? "success_color_dark" : "success_color", s.palette.success)
|
|
108
108
|
}, o = {
|
|
109
109
|
MuiTabs: {
|
|
110
110
|
styleOverrides: {
|
|
111
111
|
indicator: {
|
|
112
|
-
backgroundColor:
|
|
112
|
+
backgroundColor: r.primary.light
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
MuiPickersCalendarHeader: {
|
|
117
117
|
styleOverrides: {
|
|
118
118
|
switchViewButton: {
|
|
119
|
-
color:
|
|
119
|
+
color: r.primary.lighter,
|
|
120
120
|
"&:hover": {
|
|
121
|
-
backgroundColor: Ft(
|
|
121
|
+
backgroundColor: Ft(r.primary.light, 0.1)
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -213,7 +213,7 @@ const Qe = (s, t) => {
|
|
|
213
213
|
fontFamily: t?.system_font ?? s.typography.fontFamily
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
palette:
|
|
216
|
+
palette: r,
|
|
217
217
|
components: o,
|
|
218
218
|
shape: {
|
|
219
219
|
borderRadius: t?.button_corner_radius ?? s.shape.borderRadius
|
|
@@ -231,7 +231,7 @@ class P {
|
|
|
231
231
|
getBanner = async (t) => {
|
|
232
232
|
try {
|
|
233
233
|
const e = `/banner/${t}/account_widget_banner`;
|
|
234
|
-
return this.fetchInstance?.get(e).then((
|
|
234
|
+
return this.fetchInstance?.get(e).then((a) => a.banner) ?? {};
|
|
235
235
|
} catch (e) {
|
|
236
236
|
return console.error("Error fetching banner:", e), null;
|
|
237
237
|
}
|
|
@@ -239,50 +239,50 @@ class P {
|
|
|
239
239
|
}
|
|
240
240
|
class Ye {
|
|
241
241
|
fetchInstance;
|
|
242
|
-
constructor(t, e
|
|
243
|
-
this.fetchInstance = new y(t, e
|
|
242
|
+
constructor(t, e) {
|
|
243
|
+
this.fetchInstance = new y(t, e);
|
|
244
244
|
}
|
|
245
|
-
getLocalizedCopy = async (t) => this.fetchInstance.post(
|
|
246
|
-
getLocalizedContent = async (t) => this.fetchInstance.post(`${
|
|
245
|
+
getLocalizedCopy = async (t) => this.fetchInstance.post(l.LOCALIZED_COPY, t).then((e) => e);
|
|
246
|
+
getLocalizedContent = async (t) => this.fetchInstance.post(`${l.LOCALIZED_CONTENT}/${t}`).then((e) => e);
|
|
247
247
|
}
|
|
248
248
|
class ze {
|
|
249
249
|
fetchInstance;
|
|
250
|
-
constructor(t, e
|
|
251
|
-
this.fetchInstance = new y(t, e
|
|
250
|
+
constructor(t, e) {
|
|
251
|
+
this.fetchInstance = new y(t, e);
|
|
252
252
|
}
|
|
253
|
-
addScheduledPayment = async (t) => this.fetchInstance.post(
|
|
253
|
+
addScheduledPayment = async (t) => this.fetchInstance.post(l.SCHEDULED_PAYMENTS, {
|
|
254
254
|
...t,
|
|
255
255
|
is_recurring: "true",
|
|
256
|
-
transaction_type:
|
|
256
|
+
transaction_type: at.DEBIT
|
|
257
257
|
}).then((e) => e.scheduled_payment);
|
|
258
|
-
getScheduledPayments = async () => this.fetchInstance.get(
|
|
259
|
-
updateScheduledPayment = async (t) => this.fetchInstance.put(`${
|
|
260
|
-
deleteScheduledPayment = async (t) => this.fetchInstance.delete(`${
|
|
258
|
+
getScheduledPayments = async () => this.fetchInstance.get(l.SCHEDULED_PAYMENTS).then((t) => t.scheduled_payments);
|
|
259
|
+
updateScheduledPayment = async (t) => this.fetchInstance.put(`${l.SCHEDULED_PAYMENTS}/${t.guid}`, t).then((e) => e.scheduled_payment);
|
|
260
|
+
deleteScheduledPayment = async (t) => this.fetchInstance.delete(`${l.SCHEDULED_PAYMENTS}/${t}`).then((e) => e);
|
|
261
261
|
}
|
|
262
262
|
class $ {
|
|
263
263
|
fetchInstance;
|
|
264
|
-
constructor(t, e
|
|
265
|
-
this.fetchInstance = new y(t, e
|
|
264
|
+
constructor(t, e) {
|
|
265
|
+
this.fetchInstance = new y(t, e);
|
|
266
266
|
}
|
|
267
|
-
getUserFeatures = async () => this.fetchInstance.get(
|
|
268
|
-
updateUser = async (t) => this.fetchInstance.put(
|
|
269
|
-
updateUserProfile = async (t) => this.fetchInstance.put(`${
|
|
267
|
+
getUserFeatures = async () => this.fetchInstance.get(l.USER_FEATURES).then((t) => t.user_features).catch((t) => t);
|
|
268
|
+
updateUser = async (t) => this.fetchInstance.put(l.USER, t).then((e) => e.user);
|
|
269
|
+
updateUserProfile = async (t) => this.fetchInstance.put(`${l.USER_PROFILES}/${t.guid}`, t).then((e) => e.user_profile);
|
|
270
270
|
}
|
|
271
271
|
class q {
|
|
272
272
|
fetchInstance;
|
|
273
273
|
constructor(t, e) {
|
|
274
274
|
this.fetchInstance = new y(t, e);
|
|
275
275
|
}
|
|
276
|
-
requestWidgetUrl = async (t) => this.fetchInstance.post(
|
|
276
|
+
requestWidgetUrl = async (t) => this.fetchInstance.post(l.WIDGET_URLS, t).then((e) => e.widget_url);
|
|
277
277
|
}
|
|
278
278
|
const Xe = (s) => {
|
|
279
|
-
const t =
|
|
280
|
-
return
|
|
279
|
+
const t = lt();
|
|
280
|
+
return ut(() => {
|
|
281
281
|
t.current = s;
|
|
282
282
|
}, [s]), t.current;
|
|
283
283
|
}, Ut = ({ color: s, labelAverage: t, labelMain: e }) => {
|
|
284
|
-
const
|
|
285
|
-
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-chart-legend ${
|
|
284
|
+
const a = x(), r = kt(a, s);
|
|
285
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-chart-legend ${r}`, children: [
|
|
286
286
|
/* @__PURE__ */ c("div", { "aria-label": e, className: "mx-cmn-color-square", role: "img" }),
|
|
287
287
|
/* @__PURE__ */ c(B, { variant: "XSmall", children: e }),
|
|
288
288
|
/* @__PURE__ */ _("div", { "aria-label": t, className: "mx-cmn-triple-dot", role: "img", children: [
|
|
@@ -322,34 +322,34 @@ const Xe = (s) => {
|
|
|
322
322
|
ariaLabel: s,
|
|
323
323
|
color: t,
|
|
324
324
|
height: e,
|
|
325
|
-
index:
|
|
326
|
-
label:
|
|
325
|
+
index: a,
|
|
326
|
+
label: r,
|
|
327
327
|
onClick: o,
|
|
328
328
|
selectedIndex: d,
|
|
329
329
|
value: i
|
|
330
330
|
}) => {
|
|
331
|
-
const n = x(),
|
|
332
|
-
o && (S.key === " " || S.key === "Enter") && o(
|
|
333
|
-
}, f = d === void 0 || d ===
|
|
331
|
+
const n = x(), u = Lt(n, t, e), h = (S) => {
|
|
332
|
+
o && (S.key === " " || S.key === "Enter") && o(a);
|
|
333
|
+
}, f = d === void 0 || d === a ? "primary" : "secondary", g = () => /* @__PURE__ */ c(
|
|
334
334
|
B,
|
|
335
335
|
{
|
|
336
336
|
"aria-hidden": !0,
|
|
337
|
-
bold: d ===
|
|
337
|
+
bold: d === a,
|
|
338
338
|
className: "mx-cmn-bar-text",
|
|
339
339
|
color: f,
|
|
340
340
|
component: "div",
|
|
341
341
|
variant: "Small",
|
|
342
|
-
children:
|
|
342
|
+
children: r
|
|
343
343
|
}
|
|
344
344
|
);
|
|
345
|
-
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-container ${
|
|
345
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-container ${u} ${i < 0 ? "mx-cmn-negative" : ""}`, children: [
|
|
346
346
|
i >= 0 && /* @__PURE__ */ c(g, {}),
|
|
347
347
|
/* @__PURE__ */ c(
|
|
348
348
|
"div",
|
|
349
349
|
{
|
|
350
350
|
"aria-label": s,
|
|
351
351
|
className: `mx-cmn-bar ${o ? "mx-cmn-clickable" : ""} ${i < 0 ? "mx-cmn-bar-negative" : ""}`,
|
|
352
|
-
onClick: o ? () => o?.(
|
|
352
|
+
onClick: o ? () => o?.(a) : void 0,
|
|
353
353
|
onKeyDown: h,
|
|
354
354
|
role: s ? "button" : void 0,
|
|
355
355
|
tabIndex: s ? 0 : void 0
|
|
@@ -358,7 +358,7 @@ const Xe = (s) => {
|
|
|
358
358
|
i < 0 && /* @__PURE__ */ c(g, {})
|
|
359
359
|
] });
|
|
360
360
|
}, Lt = (s, t, e) => {
|
|
361
|
-
const
|
|
361
|
+
const a = `expandBar-${Math.round(e)}`, r = ht(a, { from: { height: 0 }, to: { height: e } });
|
|
362
362
|
return w({
|
|
363
363
|
display: "flex",
|
|
364
364
|
flexDirection: "column",
|
|
@@ -371,7 +371,7 @@ const Xe = (s) => {
|
|
|
371
371
|
animationDelay: ".5s",
|
|
372
372
|
animationDuration: "1s",
|
|
373
373
|
animationFillMode: "forwards",
|
|
374
|
-
animationName:
|
|
374
|
+
animationName: r,
|
|
375
375
|
animationTimingFunction: s.Easing.Default,
|
|
376
376
|
backgroundColor: t,
|
|
377
377
|
borderRadius: `${s.BorderRadius.Medium}px ${s.BorderRadius.Medium}px 0 0`,
|
|
@@ -394,52 +394,52 @@ const Xe = (s) => {
|
|
|
394
394
|
ariaLabel: s,
|
|
395
395
|
averageLineHeight: t,
|
|
396
396
|
bottomHeight: e,
|
|
397
|
-
color:
|
|
398
|
-
index:
|
|
397
|
+
color: a,
|
|
398
|
+
index: r = -1,
|
|
399
399
|
onClick: o,
|
|
400
400
|
range: d,
|
|
401
401
|
selectedIndex: i,
|
|
402
402
|
topHeight: n,
|
|
403
|
-
value:
|
|
403
|
+
value: u,
|
|
404
404
|
valueLabel: h = "",
|
|
405
405
|
width: f,
|
|
406
406
|
xAxisLabel: g = ""
|
|
407
407
|
}) => {
|
|
408
|
-
const S = x(), C = Ot(S, f), D =
|
|
408
|
+
const S = x(), C = Ot(S, f), D = u / d * n, v = Math.abs(u) / d * e, A = i === void 0 || i === r ? "primary" : "secondary";
|
|
409
409
|
return /* @__PURE__ */ _("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
|
|
410
|
-
/* @__PURE__ */ c("div", { style: { height: n }, children:
|
|
410
|
+
/* @__PURE__ */ c("div", { style: { height: n }, children: u >= 0 && /* @__PURE__ */ c(
|
|
411
411
|
W,
|
|
412
412
|
{
|
|
413
413
|
ariaLabel: s,
|
|
414
|
-
color:
|
|
414
|
+
color: a,
|
|
415
415
|
height: D,
|
|
416
|
-
index:
|
|
416
|
+
index: r,
|
|
417
417
|
label: h,
|
|
418
418
|
onClick: o,
|
|
419
419
|
selectedIndex: i,
|
|
420
|
-
value:
|
|
420
|
+
value: u
|
|
421
421
|
}
|
|
422
422
|
) }),
|
|
423
423
|
/* @__PURE__ */ c("div", { className: "mx-cmn-zero-line" }),
|
|
424
424
|
t !== 0 && /* @__PURE__ */ c("div", { className: "mx-cmn-chart-average", style: { bottom: t } }),
|
|
425
|
-
/* @__PURE__ */ c("div", { style: { height: e }, children:
|
|
425
|
+
/* @__PURE__ */ c("div", { style: { height: e }, children: u < 0 && /* @__PURE__ */ c(
|
|
426
426
|
W,
|
|
427
427
|
{
|
|
428
428
|
ariaLabel: s,
|
|
429
|
-
color:
|
|
429
|
+
color: a,
|
|
430
430
|
height: v,
|
|
431
|
-
index:
|
|
431
|
+
index: r,
|
|
432
432
|
label: h,
|
|
433
433
|
onClick: o,
|
|
434
|
-
value:
|
|
434
|
+
value: u
|
|
435
435
|
}
|
|
436
436
|
) }),
|
|
437
437
|
/* @__PURE__ */ c(
|
|
438
438
|
"div",
|
|
439
439
|
{
|
|
440
440
|
className: `mx-cmn-bar-label ${o ? "mx-cmn-clickable" : ""}`,
|
|
441
|
-
onClick: o ? () => o(
|
|
442
|
-
children: /* @__PURE__ */ c(B, { bold: i ===
|
|
441
|
+
onClick: o ? () => o(r) : void 0,
|
|
442
|
+
children: /* @__PURE__ */ c(B, { bold: i === r, color: A, variant: "Small", children: g })
|
|
443
443
|
}
|
|
444
444
|
)
|
|
445
445
|
] });
|
|
@@ -469,21 +469,21 @@ const Xe = (s) => {
|
|
|
469
469
|
cursor: "pointer"
|
|
470
470
|
}
|
|
471
471
|
}), Gt = (s, t) => s + t, Ht = (s, t) => Math.abs(t) > s ? Math.abs(t) : s, Pt = (s, t) => [...s, t.value], Y = (s, t, e) => {
|
|
472
|
-
const
|
|
473
|
-
return s ?
|
|
474
|
-
}, qt = (s, t, e,
|
|
472
|
+
const a = s && t ? e / 2 : e;
|
|
473
|
+
return s ? a : 0;
|
|
474
|
+
}, qt = (s, t, e, a) => s / (t < 0 ? -e : t) * a || 0, Wt = ({
|
|
475
475
|
average: s,
|
|
476
476
|
barWidth: t = "8%",
|
|
477
477
|
color: e,
|
|
478
|
-
data:
|
|
479
|
-
height:
|
|
478
|
+
data: a,
|
|
479
|
+
height: r,
|
|
480
480
|
legendLabelAverage: o,
|
|
481
481
|
legendLabelMain: d,
|
|
482
482
|
onBarClick: i,
|
|
483
483
|
selectedIndex: n,
|
|
484
|
-
valueFormatter:
|
|
484
|
+
valueFormatter: u = (h) => `${h}`
|
|
485
485
|
}) => {
|
|
486
|
-
const h = x(), f = Qt(h), g =
|
|
486
|
+
const h = x(), f = Qt(h), g = a.reduce(Pt, []), S = s !== void 0 ? s : g.reduce(Gt, 0) / g.length, C = Math.max(...g), D = Math.min(...g), v = g.reduce(Ht, 0), A = C >= 0, R = D < 0, I = Y(A, R, r), N = Y(R, A, r), U = qt(S, C, D, I || N), tt = (b) => n === void 0 || b === n ? e : `${e}80`, k = () => /* @__PURE__ */ c(
|
|
487
487
|
Q,
|
|
488
488
|
{
|
|
489
489
|
averageLineHeight: U,
|
|
@@ -498,7 +498,7 @@ const Xe = (s) => {
|
|
|
498
498
|
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-chart ${f}`, children: [
|
|
499
499
|
/* @__PURE__ */ _("div", { className: "mx-cmn-chart-container", children: [
|
|
500
500
|
/* @__PURE__ */ c(k, {}),
|
|
501
|
-
|
|
501
|
+
a.map((b, F) => /* @__PURE__ */ _(dt.Fragment, { children: [
|
|
502
502
|
/* @__PURE__ */ c(
|
|
503
503
|
Q,
|
|
504
504
|
{
|
|
@@ -512,7 +512,7 @@ const Xe = (s) => {
|
|
|
512
512
|
selectedIndex: n,
|
|
513
513
|
topHeight: I,
|
|
514
514
|
value: b.value,
|
|
515
|
-
valueLabel:
|
|
515
|
+
valueLabel: u(b.value),
|
|
516
516
|
width: t,
|
|
517
517
|
xAxisLabel: b.label
|
|
518
518
|
}
|
|
@@ -534,11 +534,11 @@ const Xe = (s) => {
|
|
|
534
534
|
hasGap: s = !1,
|
|
535
535
|
segments: t,
|
|
536
536
|
size: e = gt,
|
|
537
|
-
strokeWidth:
|
|
538
|
-
children:
|
|
537
|
+
strokeWidth: a = pt,
|
|
538
|
+
children: r
|
|
539
539
|
}) => {
|
|
540
|
-
const o = x(), d = zt(o, e), i = (e -
|
|
541
|
-
let
|
|
540
|
+
const o = x(), d = zt(o, e), i = (e - a) / 2, n = e / 2;
|
|
541
|
+
let u = -90 - (s ? 1 : 0), h = 0;
|
|
542
542
|
return /* @__PURE__ */ _("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
|
|
543
543
|
/* @__PURE__ */ _("svg", { height: e, width: e, children: [
|
|
544
544
|
/* @__PURE__ */ c(
|
|
@@ -549,10 +549,10 @@ const Xe = (s) => {
|
|
|
549
549
|
fill: "none",
|
|
550
550
|
r: i,
|
|
551
551
|
stroke: o.Color.Neutral300,
|
|
552
|
-
strokeWidth:
|
|
552
|
+
strokeWidth: a
|
|
553
553
|
}
|
|
554
554
|
),
|
|
555
|
-
t.map((f, g) => (
|
|
555
|
+
t.map((f, g) => (u += 360 * h + (s ? 1 : 0), h = (f.percent - (s ? 0.3 : 0)) / 100, /* @__PURE__ */ c(
|
|
556
556
|
"circle",
|
|
557
557
|
{
|
|
558
558
|
cx: n,
|
|
@@ -562,13 +562,13 @@ const Xe = (s) => {
|
|
|
562
562
|
stroke: f.color,
|
|
563
563
|
strokeDasharray: 2 * Math.PI * i,
|
|
564
564
|
strokeDashoffset: 2 * Math.PI * i * (1 - h),
|
|
565
|
-
strokeWidth:
|
|
566
|
-
transform: `rotate(${
|
|
565
|
+
strokeWidth: a,
|
|
566
|
+
transform: `rotate(${u}, ${n}, ${n})`
|
|
567
567
|
},
|
|
568
568
|
g
|
|
569
569
|
)))
|
|
570
570
|
] }),
|
|
571
|
-
/* @__PURE__ */ c("div", { className: "mx-cmn-multi-segment-donut-children", children:
|
|
571
|
+
/* @__PURE__ */ c("div", { className: "mx-cmn-multi-segment-donut-children", children: r })
|
|
572
572
|
] });
|
|
573
573
|
}, zt = (s, t) => w({
|
|
574
574
|
height: t,
|
|
@@ -590,11 +590,7 @@ class Xt {
|
|
|
590
590
|
featureNamespace = "experiences";
|
|
591
591
|
isInitialized = !1;
|
|
592
592
|
constructor(t) {
|
|
593
|
-
this.globalStore = t, this.api = new M(
|
|
594
|
-
t.endpoint,
|
|
595
|
-
t.sessionToken,
|
|
596
|
-
t.onError
|
|
597
|
-
), m(this);
|
|
593
|
+
this.globalStore = t, this.api = new M(t.endpoint, t.sessionToken), m(this);
|
|
598
594
|
}
|
|
599
595
|
// DEPRECATED: Initialize api in constructor and use loadCopy instead
|
|
600
596
|
// TODO: Remove this function
|
|
@@ -608,12 +604,12 @@ class Xt {
|
|
|
608
604
|
};
|
|
609
605
|
getCopy = async (t, e = "") => {
|
|
610
606
|
try {
|
|
611
|
-
const
|
|
607
|
+
const a = await this.api.getGlobalCopy(t, e);
|
|
612
608
|
p(() => {
|
|
613
|
-
this.copy =
|
|
609
|
+
this.copy = a[t];
|
|
614
610
|
});
|
|
615
|
-
} catch (
|
|
616
|
-
console.error(`Error occurred while fetching ${this.featureNamespace} copy: ${
|
|
611
|
+
} catch (a) {
|
|
612
|
+
console.error(`Error occurred while fetching ${this.featureNamespace} copy: ${a}`);
|
|
617
613
|
}
|
|
618
614
|
};
|
|
619
615
|
}
|
|
@@ -650,8 +646,8 @@ class Kt {
|
|
|
650
646
|
ft.getActiveMatchingSurveys((e) => {
|
|
651
647
|
p(() => {
|
|
652
648
|
if (e.length > 0) {
|
|
653
|
-
const
|
|
654
|
-
|
|
649
|
+
const a = e.find((r) => r.id === this.surveyId);
|
|
650
|
+
a && (this.survey = a, this.currentQuestionIndex = 0, this.question = a.questions[0], this.response = null, this.responses = {});
|
|
655
651
|
}
|
|
656
652
|
});
|
|
657
653
|
}, t);
|
|
@@ -668,22 +664,22 @@ class Kt {
|
|
|
668
664
|
}
|
|
669
665
|
class z {
|
|
670
666
|
fetchInstance;
|
|
671
|
-
constructor(t, e
|
|
672
|
-
this.fetchInstance = new y(t, e
|
|
667
|
+
constructor(t, e) {
|
|
668
|
+
this.fetchInstance = new y(t, e);
|
|
673
669
|
}
|
|
674
|
-
addBudget = async (t, e,
|
|
670
|
+
addBudget = async (t, e, a = null) => this.fetchInstance.post(l.BUDGETS, {
|
|
675
671
|
amount: e,
|
|
676
672
|
category_guid: t.guid,
|
|
677
673
|
category_name: t.name,
|
|
678
|
-
parent_guid:
|
|
679
|
-
}).then((
|
|
680
|
-
throw
|
|
674
|
+
parent_guid: a
|
|
675
|
+
}).then((r) => r.budget).catch((r) => {
|
|
676
|
+
throw r;
|
|
681
677
|
});
|
|
682
|
-
deleteBudget = async (t) => this.fetchInstance.delete(`${
|
|
678
|
+
deleteBudget = async (t) => this.fetchInstance.delete(`${l.BUDGETS}/${t}`).then((e) => e).catch((e) => {
|
|
683
679
|
throw e;
|
|
684
680
|
});
|
|
685
|
-
getBudgets = async () => this.fetchInstance.get(
|
|
686
|
-
updateBudget = async (t) => this.fetchInstance.put(`${
|
|
681
|
+
getBudgets = async () => this.fetchInstance.get(l.BUDGETS).then((t) => t.budgets).catch((t) => t);
|
|
682
|
+
updateBudget = async (t) => this.fetchInstance.put(`${l.BUDGETS}/${t.guid}`, t).then((e) => e.budget).catch((e) => {
|
|
687
683
|
throw e;
|
|
688
684
|
});
|
|
689
685
|
}
|
|
@@ -698,7 +694,7 @@ class jt {
|
|
|
698
694
|
isDataLoaded = !1;
|
|
699
695
|
theme = {};
|
|
700
696
|
constructor(t) {
|
|
701
|
-
this.globalStore = t, this.api = new z(t.endpoint, t.sessionToken
|
|
697
|
+
this.globalStore = t, this.api = new z(t.endpoint, t.sessionToken), m(this);
|
|
702
698
|
}
|
|
703
699
|
loadBudgetData = async () => {
|
|
704
700
|
await this.loadBudgets(), _t(
|
|
@@ -707,11 +703,11 @@ class jt {
|
|
|
707
703
|
if (t) {
|
|
708
704
|
const e = this.selectedBudget;
|
|
709
705
|
e && (this.selectedBudget = bt(t, e.guid));
|
|
710
|
-
const
|
|
711
|
-
|
|
706
|
+
const a = this.selectedSubBudget;
|
|
707
|
+
a && a.parent_guid && (this.selectedSubBudget = wt(
|
|
712
708
|
t,
|
|
713
|
-
|
|
714
|
-
|
|
709
|
+
a.guid,
|
|
710
|
+
a.parent_guid
|
|
715
711
|
));
|
|
716
712
|
}
|
|
717
713
|
}
|
|
@@ -720,7 +716,7 @@ class jt {
|
|
|
720
716
|
get detailedBudgets() {
|
|
721
717
|
return O(
|
|
722
718
|
this.budgets.filter(
|
|
723
|
-
(t) => t.category_guid !==
|
|
719
|
+
(t) => t.category_guid !== E.INCOME && t.category_guid !== E.TRANSFER && t.category_guid !== E.INVESTMENTS
|
|
724
720
|
),
|
|
725
721
|
this.globalStore.categoryStore.detailedCategories,
|
|
726
722
|
this.globalStore.copyStore.copy.budgets,
|
|
@@ -729,12 +725,12 @@ class jt {
|
|
|
729
725
|
}
|
|
730
726
|
get incomeBudget() {
|
|
731
727
|
return O(
|
|
732
|
-
this.budgets.filter((
|
|
728
|
+
this.budgets.filter((a) => !a.parent_guid),
|
|
733
729
|
this.globalStore.categoryStore.detailedCategories,
|
|
734
730
|
this.globalStore.copyStore.copy.budgets,
|
|
735
731
|
this.theme
|
|
736
732
|
).reduce(
|
|
737
|
-
(
|
|
733
|
+
(a, r) => r.category_guid !== E.INCOME ? a : !a || r.percentage > a.percentage ? r : a,
|
|
738
734
|
void 0
|
|
739
735
|
)?.amount;
|
|
740
736
|
}
|
|
@@ -746,20 +742,20 @@ class jt {
|
|
|
746
742
|
get totalBudgeted() {
|
|
747
743
|
return this.detailedBudgets.reduce((t, e) => t + e.amount, 0);
|
|
748
744
|
}
|
|
749
|
-
addBudget = async (t, e,
|
|
745
|
+
addBudget = async (t, e, a = null) => {
|
|
750
746
|
try {
|
|
751
|
-
const
|
|
747
|
+
const r = await this.api.addBudget(t, e, a);
|
|
752
748
|
p(() => {
|
|
753
|
-
this.budgets.push(
|
|
749
|
+
this.budgets.push(r);
|
|
754
750
|
});
|
|
755
|
-
} catch (
|
|
756
|
-
console.error(`Error adding budget: ${
|
|
751
|
+
} catch (r) {
|
|
752
|
+
console.error(`Error adding budget: ${r}`);
|
|
757
753
|
}
|
|
758
754
|
};
|
|
759
755
|
deleteBudget = async (t) => {
|
|
760
756
|
try {
|
|
761
757
|
await this.api.deleteBudget(t), p(() => {
|
|
762
|
-
const e = this.budgets.findIndex((
|
|
758
|
+
const e = this.budgets.findIndex((a) => a.guid === t);
|
|
763
759
|
e >= 0 && this.budgets.splice(e, 1);
|
|
764
760
|
});
|
|
765
761
|
} catch (e) {
|
|
@@ -787,18 +783,18 @@ class jt {
|
|
|
787
783
|
*/
|
|
788
784
|
recalculateBudgets = async (t) => {
|
|
789
785
|
try {
|
|
790
|
-
for (const
|
|
791
|
-
const
|
|
792
|
-
|
|
793
|
-
...
|
|
794
|
-
amount:
|
|
795
|
-
}) : await this.api.addBudget(
|
|
786
|
+
for (const a of t) {
|
|
787
|
+
const r = this.budgets.find((o) => o.category_guid === a.guid);
|
|
788
|
+
r ? await this.api.updateBudget({
|
|
789
|
+
...r,
|
|
790
|
+
amount: a.totalAverageAmount
|
|
791
|
+
}) : await this.api.addBudget(a, a.totalAverageAmount);
|
|
796
792
|
}
|
|
797
793
|
const e = this.budgets.filter(
|
|
798
|
-
(
|
|
794
|
+
(a) => !t.find((r) => r.guid === a.category_guid)
|
|
799
795
|
);
|
|
800
|
-
for (const
|
|
801
|
-
await this.api.deleteBudget(
|
|
796
|
+
for (const a of e)
|
|
797
|
+
await this.api.deleteBudget(a.guid);
|
|
802
798
|
return await this.loadBudgets(), { data: this.budgets, isSuccess: !0 };
|
|
803
799
|
} catch (e) {
|
|
804
800
|
return console.error("error recalculating budgets", e), { data: [], isSuccess: !1 };
|
|
@@ -808,8 +804,8 @@ class jt {
|
|
|
808
804
|
try {
|
|
809
805
|
const e = await this.api.updateBudget(t);
|
|
810
806
|
p(() => {
|
|
811
|
-
const
|
|
812
|
-
|
|
807
|
+
const a = this.budgets.findIndex((r) => r.guid === t.guid);
|
|
808
|
+
a >= 0 && (this.budgets[a] = e);
|
|
813
809
|
});
|
|
814
810
|
} catch (e) {
|
|
815
811
|
console.error(`Error updating budget: ${e}`);
|
|
@@ -819,36 +815,36 @@ class jt {
|
|
|
819
815
|
var Vt = /* @__PURE__ */ ((s) => (s[s.UNKNOWN = 0] = "UNKNOWN", s[s.CORRECT = 1] = "CORRECT", s[s.INCORRECT = 2] = "INCORRECT", s))(Vt || {}), Zt = /* @__PURE__ */ ((s) => (s.Missed = "Missed", s.Paid = "Paid", s.Upcoming = "Upcoming expense", s.Income = "Income", s))(Zt || {}), Jt = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.Subscription = 1] = "Subscription", s[s.Bill = 2] = "Bill", s))(Jt || {}), te = /* @__PURE__ */ ((s) => (s.Desktop = "Desktop", s.Mobile = "Mobile", s))(te || {});
|
|
820
816
|
class X {
|
|
821
817
|
fetchInstance;
|
|
822
|
-
constructor(t, e
|
|
823
|
-
this.fetchInstance = new y(t, e
|
|
818
|
+
constructor(t, e) {
|
|
819
|
+
this.fetchInstance = new y(t, e);
|
|
824
820
|
}
|
|
825
|
-
createSupportTicket = async (t) => this.fetchInstance.post(
|
|
821
|
+
createSupportTicket = async (t) => this.fetchInstance.post(l.SUPPORT_TICKETS, t).then((e) => e);
|
|
826
822
|
}
|
|
827
823
|
const ee = (s, t) => s.guid === "general" || s.guid === "insights" ? !0 : s.flags ? s.flags.every((e) => t[e]) : !1, se = (s, t) => {
|
|
828
824
|
const e = [];
|
|
829
|
-
for (const
|
|
830
|
-
const
|
|
831
|
-
if (!
|
|
825
|
+
for (const a of rt) {
|
|
826
|
+
const r = t[a.guid];
|
|
827
|
+
if (!r) continue;
|
|
832
828
|
const o = {
|
|
833
|
-
...
|
|
834
|
-
title:
|
|
835
|
-
topics:
|
|
829
|
+
...a,
|
|
830
|
+
title: r.label,
|
|
831
|
+
topics: a.topics.map(({ topicKey: d }, i) => ({
|
|
836
832
|
topicKey: d,
|
|
837
|
-
label:
|
|
833
|
+
label: r.topics[i]
|
|
838
834
|
}))
|
|
839
835
|
};
|
|
840
836
|
ee(o, s) && e.push(o);
|
|
841
837
|
}
|
|
842
838
|
return e;
|
|
843
839
|
};
|
|
844
|
-
class
|
|
840
|
+
class ae {
|
|
845
841
|
alert = { message: "", severity: void 0 };
|
|
846
842
|
api = new X("/", "");
|
|
847
843
|
appConfig;
|
|
848
844
|
globalStore;
|
|
849
845
|
isLoading = !1;
|
|
850
846
|
constructor(t) {
|
|
851
|
-
this.globalStore = t, this.api = new X(t.endpoint, t.sessionToken
|
|
847
|
+
this.globalStore = t, this.api = new X(t.endpoint, t.sessionToken), m(this);
|
|
852
848
|
}
|
|
853
849
|
createSupportTicket = async (t) => {
|
|
854
850
|
try {
|
|
@@ -865,7 +861,7 @@ class re {
|
|
|
865
861
|
}
|
|
866
862
|
get helpCategories() {
|
|
867
863
|
const { client_communication_profile: t, client_profile: e } = this.globalStore.appDataStore.appData, {
|
|
868
|
-
help: { category_list:
|
|
864
|
+
help: { category_list: a }
|
|
869
865
|
} = this.globalStore.copyStore.copy;
|
|
870
866
|
return se(
|
|
871
867
|
{
|
|
@@ -873,19 +869,19 @@ class re {
|
|
|
873
869
|
...e,
|
|
874
870
|
...this.globalStore.appConfig.config
|
|
875
871
|
},
|
|
876
|
-
|
|
872
|
+
a
|
|
877
873
|
);
|
|
878
874
|
}
|
|
879
875
|
}
|
|
880
876
|
class K {
|
|
881
877
|
fetchInstance;
|
|
882
|
-
constructor(t, e
|
|
883
|
-
this.fetchInstance = new y(t, e
|
|
878
|
+
constructor(t, e) {
|
|
879
|
+
this.fetchInstance = new y(t, e);
|
|
884
880
|
}
|
|
885
|
-
getHoldings = async () => this.fetchInstance.get(
|
|
886
|
-
updateHoldings = async (t) => this.fetchInstance.put(`${
|
|
881
|
+
getHoldings = async () => this.fetchInstance.get(l.HOLDINGS).then((t) => t.holdings);
|
|
882
|
+
updateHoldings = async (t) => this.fetchInstance.put(`${l.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
|
|
887
883
|
}
|
|
888
|
-
class
|
|
884
|
+
class re {
|
|
889
885
|
analysisType = Dt.Stocks;
|
|
890
886
|
api = new K("/", "");
|
|
891
887
|
holdings = [];
|
|
@@ -893,13 +889,13 @@ class ae {
|
|
|
893
889
|
globalStore;
|
|
894
890
|
showConnectionsWidget = !1;
|
|
895
891
|
constructor(t) {
|
|
896
|
-
this.globalStore = t, this.api = new K(t.endpoint, t.sessionToken
|
|
892
|
+
this.globalStore = t, this.api = new K(t.endpoint, t.sessionToken), m(this);
|
|
897
893
|
}
|
|
898
894
|
get analysisChartData() {
|
|
899
|
-
return vt(
|
|
895
|
+
return vt(At(this.visibleHoldings), this.analysisType);
|
|
900
896
|
}
|
|
901
897
|
get analysisDetails() {
|
|
902
|
-
return
|
|
898
|
+
return Et(this.visibleHoldings)[this.analysisType] || {};
|
|
903
899
|
}
|
|
904
900
|
get visibleHoldings() {
|
|
905
901
|
return this.holdings.filter(
|
|
@@ -925,11 +921,11 @@ class ae {
|
|
|
925
921
|
updateHoldings = async (t) => {
|
|
926
922
|
this.holdingsLoaded = !1;
|
|
927
923
|
try {
|
|
928
|
-
const e = await this.api.updateHoldings(t),
|
|
929
|
-
if (
|
|
930
|
-
const
|
|
931
|
-
a
|
|
932
|
-
this.holdings =
|
|
924
|
+
const e = await this.api.updateHoldings(t), a = this.holdings.findIndex(({ guid: r }) => r === t.guid);
|
|
925
|
+
if (a >= 0) {
|
|
926
|
+
const r = [...this.holdings];
|
|
927
|
+
r[a] = e, p(() => {
|
|
928
|
+
this.holdings = r, this.holdingsLoaded = !0;
|
|
933
929
|
});
|
|
934
930
|
}
|
|
935
931
|
} catch (e) {
|
|
@@ -1041,10 +1037,10 @@ const j = {
|
|
|
1041
1037
|
};
|
|
1042
1038
|
class V {
|
|
1043
1039
|
fetchInstance;
|
|
1044
|
-
constructor(t, e
|
|
1045
|
-
this.fetchInstance = new y(t, e
|
|
1040
|
+
constructor(t, e) {
|
|
1041
|
+
this.fetchInstance = new y(t, e);
|
|
1046
1042
|
}
|
|
1047
|
-
getAppData = async () => this.fetchInstance.get(
|
|
1043
|
+
getAppData = async () => this.fetchInstance.get(l.APP_DATA).then((t) => t);
|
|
1048
1044
|
}
|
|
1049
1045
|
class oe {
|
|
1050
1046
|
globalStore;
|
|
@@ -1053,7 +1049,7 @@ class oe {
|
|
|
1053
1049
|
appData = {};
|
|
1054
1050
|
banner = {};
|
|
1055
1051
|
constructor(t) {
|
|
1056
|
-
this.globalStore = t, this.api = new V(t.endpoint, t.sessionToken
|
|
1052
|
+
this.globalStore = t, this.api = new V(t.endpoint, t.sessionToken), m(this);
|
|
1057
1053
|
}
|
|
1058
1054
|
get appConfig() {
|
|
1059
1055
|
return this.globalStore.appConfig;
|
|
@@ -1103,8 +1099,8 @@ class ne {
|
|
|
1103
1099
|
constructor(t) {
|
|
1104
1100
|
this.globalStore = t, this.widgetApi = new q(t.endpoint, t.sessionToken), m(this);
|
|
1105
1101
|
}
|
|
1106
|
-
loadWidget = async ({ widget: t = "connect_widget", mode: e = "light", ...
|
|
1107
|
-
widget_url: { widget_type: t, color_scheme: e, ...
|
|
1102
|
+
loadWidget = async ({ widget: t = "connect_widget", mode: e = "light", ...a }) => await this.widgetApi.requestWidgetUrl({
|
|
1103
|
+
widget_url: { widget_type: t, color_scheme: e, ...a }
|
|
1108
1104
|
});
|
|
1109
1105
|
}
|
|
1110
1106
|
class ie {
|
|
@@ -1135,8 +1131,8 @@ class ie {
|
|
|
1135
1131
|
};
|
|
1136
1132
|
// Sets an array of selected account guids for the AccountFilter component
|
|
1137
1133
|
setSelectedAccountGuids = async (t) => {
|
|
1138
|
-
const e = new Set(this.selectedAccountGuids),
|
|
1139
|
-
|
|
1134
|
+
const e = new Set(this.selectedAccountGuids), a = new Set(t), r = [...a].filter((d) => !e.has(d)), o = [...e].filter((d) => !a.has(d));
|
|
1135
|
+
r.length > 0 && this.globalStore.accountStore.updateAccountFiltering(r, !1), o.length > 0 && this.globalStore.accountStore.updateAccountFiltering(o, !0), this.selectedAccountGuids = t;
|
|
1140
1136
|
};
|
|
1141
1137
|
setDisplayedDate = (t, e) => {
|
|
1142
1138
|
this.displayedDate = e, this.displayedDateRange = {
|
|
@@ -1158,7 +1154,7 @@ class ce {
|
|
|
1158
1154
|
api = new $("/", "");
|
|
1159
1155
|
userFeatures = [];
|
|
1160
1156
|
constructor(t) {
|
|
1161
|
-
this.globalStore = t, this.api = new $(t.endpoint, t.sessionToken
|
|
1157
|
+
this.globalStore = t, this.api = new $(t.endpoint, t.sessionToken), m(this);
|
|
1162
1158
|
}
|
|
1163
1159
|
// DEPRECATED: Initialize api in constructor and use loadUserFeatures instead
|
|
1164
1160
|
// TODO: Remove this function
|
|
@@ -1203,7 +1199,6 @@ class Ve {
|
|
|
1203
1199
|
appConfig = j;
|
|
1204
1200
|
endpoint = "/";
|
|
1205
1201
|
sessionToken = "";
|
|
1206
|
-
onError;
|
|
1207
1202
|
// Data Stores
|
|
1208
1203
|
accountStore;
|
|
1209
1204
|
appDataStore;
|
|
@@ -1229,8 +1224,8 @@ class Ve {
|
|
|
1229
1224
|
userStore;
|
|
1230
1225
|
// UI Stores
|
|
1231
1226
|
globalUiStore;
|
|
1232
|
-
constructor(t = j, e = "/"
|
|
1233
|
-
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.
|
|
1227
|
+
constructor(t = j, e = "/") {
|
|
1228
|
+
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.accountStore = new yt(this), this.appDataStore = new oe(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), this.copyStore = new Xt(this), this.debtsStore = new xt(this), this.finstrongStore = new Ct(this), this.goalStore = new it(this), this.helpStore = new ae(this), this.holdingStore = new re(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 ot(this), this.trendsStore = new ct(this), this.userStore = new ce(this), this.globalUiStore = new ie(this), m(this);
|
|
1234
1229
|
}
|
|
1235
1230
|
get isInitialized() {
|
|
1236
1231
|
return this.globalUiStore.isInitialized;
|
|
@@ -1238,8 +1233,8 @@ class Ve {
|
|
|
1238
1233
|
loadData = async ({
|
|
1239
1234
|
accounts: t,
|
|
1240
1235
|
appData: e,
|
|
1241
|
-
associatedBeats:
|
|
1242
|
-
categories:
|
|
1236
|
+
associatedBeats: a,
|
|
1237
|
+
categories: r,
|
|
1243
1238
|
institutions: o,
|
|
1244
1239
|
transactionRules: d,
|
|
1245
1240
|
transactions: i,
|
|
@@ -1252,9 +1247,9 @@ class Ve {
|
|
|
1252
1247
|
this.userStore.loadUserFeatures(n)
|
|
1253
1248
|
]), await Promise.all([
|
|
1254
1249
|
this.accountStore.loadAccountData({ accounts: t, institutions: o }),
|
|
1255
|
-
this.categoryStore.loadCategories(
|
|
1250
|
+
this.categoryStore.loadCategories(r),
|
|
1256
1251
|
this.transactionStore.loadTransactionData({
|
|
1257
|
-
associatedBeats:
|
|
1252
|
+
associatedBeats: a,
|
|
1258
1253
|
transactionRules: d,
|
|
1259
1254
|
transactions: i
|
|
1260
1255
|
})
|
|
@@ -1263,158 +1258,157 @@ class Ve {
|
|
|
1263
1258
|
}
|
|
1264
1259
|
export {
|
|
1265
1260
|
xs as ANALYTICS_EVENTS,
|
|
1266
|
-
|
|
1267
|
-
|
|
1261
|
+
As as AccountFilter,
|
|
1262
|
+
Es as AccountIcon,
|
|
1268
1263
|
Ts as AccountIconVariants,
|
|
1269
|
-
|
|
1264
|
+
Ea as AccountNotificationTypes,
|
|
1270
1265
|
Bs as AccountSubType,
|
|
1271
1266
|
Is as AccountType,
|
|
1272
1267
|
Ns as AccountTypeName,
|
|
1273
1268
|
ts as AnalyticsApi,
|
|
1274
|
-
|
|
1269
|
+
l as ApiEndpoints,
|
|
1275
1270
|
P as BannerApi,
|
|
1276
1271
|
Ke as BarChart,
|
|
1277
1272
|
os as BeatApi,
|
|
1278
|
-
|
|
1279
|
-
|
|
1273
|
+
Ta as BudgetNotificationTypes,
|
|
1274
|
+
us as Calendar,
|
|
1280
1275
|
hs as CalendarSelectionTypes,
|
|
1281
1276
|
is as CategoryApi,
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1277
|
+
tr as CategoryColors,
|
|
1278
|
+
er as CategoryGuidToName,
|
|
1279
|
+
E as CategoryGuids,
|
|
1280
|
+
sr as CategoryIcon,
|
|
1281
|
+
ha as ConnectCard,
|
|
1287
1282
|
Fs as ConnectDrawer,
|
|
1288
1283
|
Ms as ConnectionStatus,
|
|
1289
1284
|
$s as ConnectionStatusEnums,
|
|
1290
|
-
|
|
1285
|
+
or as CurrencyCodes,
|
|
1291
1286
|
qs as CurrencyInput,
|
|
1292
|
-
|
|
1293
|
-
|
|
1287
|
+
ya as CurrencyText,
|
|
1288
|
+
Ga as DATE_FORMATS_INTL,
|
|
1294
1289
|
gt as DEFAULT_DONUT_SIZE,
|
|
1295
1290
|
pt as DEFAULT_STROKE_WIDTH,
|
|
1296
|
-
|
|
1291
|
+
aa as DataRow,
|
|
1297
1292
|
Cs as DateRangeSelector,
|
|
1298
|
-
|
|
1299
|
-
$
|
|
1300
|
-
|
|
1301
|
-
|
|
1293
|
+
Ha as Dialog,
|
|
1294
|
+
$a as Donut,
|
|
1295
|
+
Xa as Drawer,
|
|
1296
|
+
Sa as EmptyState,
|
|
1302
1297
|
_s as ErrorBoundary,
|
|
1303
1298
|
Rs as ErrorStatuses,
|
|
1304
1299
|
Zt as ExpenseStatus,
|
|
1305
1300
|
y as Fetch,
|
|
1306
|
-
|
|
1301
|
+
ra as Frequency,
|
|
1307
1302
|
M as GlobalCopyApi,
|
|
1308
1303
|
Xt as GlobalCopyStore,
|
|
1309
|
-
|
|
1310
|
-
|
|
1304
|
+
mr as GlobalDataContext,
|
|
1305
|
+
_r as GlobalDataProvider,
|
|
1311
1306
|
Ve as GlobalStore,
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1307
|
+
ga as GoalType,
|
|
1308
|
+
ja as INCOME_ACCOUNT_TYPES,
|
|
1309
|
+
ea as IconBacking,
|
|
1310
|
+
la as InformationTooltip,
|
|
1311
|
+
Ba as InsightNotificationTypes,
|
|
1317
1312
|
Rt as IterationItemTypes,
|
|
1318
1313
|
We as LOADING_STATUS,
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1314
|
+
Ua as LineChart,
|
|
1315
|
+
wa as ListItemAction,
|
|
1316
|
+
Ca as ListItemRow,
|
|
1322
1317
|
gs as ListItemWrapper,
|
|
1323
1318
|
Qs as Loader,
|
|
1324
1319
|
Ye as LocalizedCopyApi,
|
|
1325
|
-
|
|
1320
|
+
pa as MetaType,
|
|
1326
1321
|
Us as MfaStatuses,
|
|
1327
1322
|
fs as MicroWidgetContainer,
|
|
1328
1323
|
bs as MiniWidgetContainer,
|
|
1329
1324
|
je as MultiSegmentDonut,
|
|
1330
1325
|
ks as NonConnectedStatuses,
|
|
1331
1326
|
ds as NotificationApi,
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1327
|
+
Ia as NotificationTypes,
|
|
1328
|
+
Pa as ORDINAL_DATE_FORMAT,
|
|
1329
|
+
qa as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
1330
|
+
Va as PAYMENT_ACCOUNT_TYPES,
|
|
1331
|
+
ar as PaymentCategories,
|
|
1337
1332
|
$t as PlanTypes,
|
|
1338
1333
|
Ls as ProcessingStatuses,
|
|
1339
1334
|
Os as PropertyType,
|
|
1340
1335
|
Gs as PropertyTypeName,
|
|
1341
1336
|
qe as RECURRENCE_COPY,
|
|
1342
|
-
|
|
1343
|
-
|
|
1337
|
+
oa as RecurrenceStatus,
|
|
1338
|
+
na as RecurrenceType,
|
|
1344
1339
|
Mt as RecurrenceTypes,
|
|
1345
|
-
|
|
1340
|
+
ia as RepeatingType,
|
|
1346
1341
|
zs as ResponsiveButton,
|
|
1347
|
-
|
|
1342
|
+
Za as SPENDING_ACCOUNT_TYPES,
|
|
1348
1343
|
Jt as ScheduledPaymentTypes,
|
|
1349
1344
|
ze as ScheduledPaymentsApi,
|
|
1350
1345
|
te as ScreenSize,
|
|
1351
1346
|
Ks as SearchBox,
|
|
1352
|
-
|
|
1347
|
+
ca as Select,
|
|
1353
1348
|
Vs as SelectionBox,
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1349
|
+
Ya as SingleSegmentDonut,
|
|
1350
|
+
hr as Sizes,
|
|
1351
|
+
Da as StackedLineChart,
|
|
1352
|
+
La as StatusBar,
|
|
1358
1353
|
Hs as StatusName,
|
|
1359
|
-
|
|
1354
|
+
gr as TOUCH_TARGET,
|
|
1360
1355
|
Js as TabContentContainer,
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1356
|
+
Na as ToggleButtonListItem,
|
|
1357
|
+
Fa as ToggleListItem,
|
|
1358
|
+
ma as TrackType,
|
|
1364
1359
|
ps as TransactionStatus,
|
|
1365
|
-
|
|
1360
|
+
at as TransactionType,
|
|
1366
1361
|
$ as UserApi,
|
|
1367
1362
|
ce as UserStore,
|
|
1368
1363
|
Vt as UserVerification,
|
|
1369
1364
|
q as WidgetApi,
|
|
1370
1365
|
Ds as WidgetContainer,
|
|
1371
|
-
|
|
1372
|
-
|
|
1366
|
+
yr as WidgetContainerContext,
|
|
1367
|
+
fr as WidgetContainerProvider,
|
|
1373
1368
|
es as analyticsSession,
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1369
|
+
to as buildDynamicCopy,
|
|
1370
|
+
eo as buildPluralCopy,
|
|
1371
|
+
nr as formatCurrency,
|
|
1372
|
+
Wa as formatDate,
|
|
1373
|
+
ir as formatOrdinal,
|
|
1374
|
+
cr as formatPercentage,
|
|
1375
|
+
Zr as fromTimestampToMonthYear,
|
|
1376
|
+
Yr as getCategory,
|
|
1377
|
+
zr as getCategoryTotalsByParent,
|
|
1383
1378
|
Qe as getClientTheme,
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1379
|
+
dr as getCurrencyCodes,
|
|
1380
|
+
Xr as getDetailedCategory,
|
|
1381
|
+
Kr as getDetailedSubCategory,
|
|
1382
|
+
so as getLocale,
|
|
1383
|
+
jr as isIncome,
|
|
1384
|
+
lr as isValidNumber,
|
|
1385
|
+
Sr as useAccountStore,
|
|
1386
|
+
br as useAppConfig,
|
|
1387
|
+
wr as useBudgetsStore,
|
|
1388
|
+
xr as useCashflowStore,
|
|
1389
|
+
Cr as useCategoryStore,
|
|
1395
1390
|
ss as useCombineEvents,
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
$
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
ka as usePageView,
|
|
1391
|
+
as as useCombinePageviews,
|
|
1392
|
+
Dr as useDebtStore,
|
|
1393
|
+
vr as useEvent,
|
|
1394
|
+
Ar as useFinstrongStore,
|
|
1395
|
+
Er as useGlobalCopyStore,
|
|
1396
|
+
Tr as useGlobalStore,
|
|
1397
|
+
Br as useGlobalUiStore,
|
|
1398
|
+
Ir as useGoalStore,
|
|
1399
|
+
Nr as useHelpStore,
|
|
1400
|
+
Fr as useHoldingStore,
|
|
1401
|
+
va as useInsightsEnabled,
|
|
1402
|
+
Mr as useMerchantStore,
|
|
1403
|
+
$r as useNetWorthStore,
|
|
1404
|
+
Rr as useNotificationStore,
|
|
1405
|
+
Ur as usePageView,
|
|
1412
1406
|
Xe as usePrevious,
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1407
|
+
kr as useRecurringTransactionsStore,
|
|
1408
|
+
Wr as useScreenSize,
|
|
1409
|
+
Lr as useSettingsStore,
|
|
1410
|
+
Or as useTransactionStore,
|
|
1411
|
+
Gr as useTrendsStore,
|
|
1412
|
+
Hr as useUserStore,
|
|
1413
|
+
Pr as useWidgetContainerProvider
|
|
1420
1414
|
};
|