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