@mx-cartographer/experiences 7.0.0-alpha.mega1 → 7.0.1-alpha.al0
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 +21 -0
- package/dist/{Account-DY6nxO7y.mjs → Account-BFol-JYA.mjs} +1 -1
- package/dist/{AccountDetailsContent-DvPs81kL.mjs → AccountDetailsContent-Do3z1FnQ.mjs} +8 -8
- package/dist/{AccountDetailsHeader-W2U7ZVm_.mjs → AccountDetailsHeader-DnEyQMpX.mjs} +12 -12
- package/dist/{AccountFields-DAVcbZy5.mjs → AccountFields-CeHZrIQe.mjs} +2 -2
- package/dist/{AccountListItem-DFlbdcmT.mjs → AccountListItem-C7JzYpqf.mjs} +3 -3
- package/dist/{AccountStore-CU7qV3vg.mjs → AccountStore-Cu3GoLh-.mjs} +1 -1
- package/dist/{Accounts-BLlrQA5m.mjs → Accounts-BuYXUMhP.mjs} +1 -1
- package/dist/{BudgetUtil-Ci1TN0J5.mjs → BudgetUtil-spowPvBM.mjs} +2 -2
- package/dist/{Category-5S6uwuXz.mjs → Category-CevNQ03n.mjs} +4 -4
- package/dist/{CategorySelectorDrawer-rHyHHYuh.mjs → CategorySelectorDrawer-Dyzb3UDU.mjs} +1 -1
- package/dist/{CategoryStore-B5EW6I1d.mjs → CategoryStore-BOyzQjQp.mjs} +2 -2
- package/dist/{CategoryUtil-DRyruNgi.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
- package/dist/{ConnectDrawer-D9cR5phc.mjs → ConnectDrawer-WfKHsHSF.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BzGqljSp.mjs → ConnectionsDrawer-Czp-E0-m.mjs} +2 -2
- package/dist/{CurrencyInput-D74cemI2.mjs → CurrencyInput-CSZjO22Z.mjs} +1 -1
- package/dist/{DebtsStore-S0l9kr0r.mjs → DebtsStore-D9holN8L.mjs} +1 -1
- package/dist/ExportCsvAction-dpvaZxbS.mjs +24 -0
- package/dist/{GoalStore-DioeeL-s.mjs → GoalStore-Drf76ell.mjs} +4 -4
- package/dist/{Help-DpYRO8oA.mjs → Help-DRUwVDvo.mjs} +1 -1
- package/dist/{LineChart-CcyX38kK.mjs → LineChart-CYiUS-px.mjs} +88 -85
- package/dist/{ListItemAction-BabpYivr.mjs → ListItemAction-BzmbPuNp.mjs} +1 -1
- package/dist/{ManageIncome-ndMuhJMG.mjs → ManageIncome-B6kmMN_z.mjs} +178 -186
- package/dist/{MicroWidgetContainer-CsvHLYKX.mjs → MicroWidgetContainer-DmYiksbT.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BoOp-A05.mjs → MiniWidgetContainer-DqKQNubH.mjs} +1 -1
- package/dist/{NetWorthStore-PD-RUe09.mjs → NetWorthStore-BK1_NbXW.mjs} +2 -2
- package/dist/{Notification-AMGWM1Al.mjs → Notification-ByMBpJ5u.mjs} +33 -22
- package/dist/{NotificationSettings-VhHuMAFU.mjs → NotificationSettings-BznqGVQ2.mjs} +35 -34
- package/dist/{OriginalBalanceAction-D39mx6uE.mjs → OriginalBalanceAction-CSu5brQE.mjs} +3 -3
- package/dist/RecurringSettings-Be1dzkMz.mjs +57 -0
- package/dist/ResponsiveButton-DZFp78fJ.mjs +45 -0
- package/dist/{SettingsStore-CE7jDVFL.mjs → SettingsStore-B4gi6oOw.mjs} +1 -1
- package/dist/{SpendingData-BkrxzHdr.mjs → SpendingData-D5vsfYKo.mjs} +5 -5
- package/dist/{Transaction-CA0FW2Ij.mjs → Transaction-CyqrHmAA.mjs} +1 -1
- package/dist/{TransactionDetails-WBHFmbxL.mjs → TransactionDetails-D4B9DSWo.mjs} +421 -417
- package/dist/{TransactionStore-CeLdmVnC.mjs → TransactionStore-DSyXtPek.mjs} +8 -8
- package/dist/TrendsStore-DR8etTL2.mjs +547 -0
- package/dist/{ViewMoreMicroCard-CAPFNz-J.mjs → ViewMoreMicroCard-BZI5VMNW.mjs} +476 -468
- package/dist/{WidgetContainer-DWCusxYI.mjs → WidgetContainer-BG-fdDOf.mjs} +110 -104
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +8 -8
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/components/listitems/ToggleButtonListItem.d.ts +2 -1
- package/dist/common/constants/Analytics.d.ts +16 -10
- package/dist/common/index.es.js +432 -469
- package/dist/dashboard/index.es.js +13 -13
- package/dist/debts/index.es.js +66 -66
- package/dist/{exportTransactionsToCSV-CmwsKl2D.mjs → exportTransactionsToCSV-BlVifaOG.mjs} +2 -2
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +32 -32
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-30y_BLwc.mjs → hooks-02T565vf.mjs} +10 -10
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +1 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +1 -0
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +9 -9
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +25 -25
- package/dist/spending/index.es.js +13 -13
- package/dist/transactions/components/shared/TransactionList.d.ts +2 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +5 -1
- package/dist/transactions/index.d.ts +1 -0
- package/dist/transactions/index.es.js +143 -141
- package/dist/trends/constants/TrendsWidget.d.ts +3 -0
- package/dist/trends/index.es.js +579 -642
- package/package.json +1 -1
- package/dist/RecurringSettings-D_HnMYZP.mjs +0 -57
- package/dist/TrendsStore-BHJUapXF.mjs +0 -487
- package/dist/index.d.ts +0 -0
- package/dist/trends/components/TransactionsList.d.ts +0 -7
package/dist/common/index.es.js
CHANGED
@@ -1,82 +1,79 @@
|
|
1
1
|
import { G as M } from "../useCombineEvents-DaDBSR_1.mjs";
|
2
|
-
import { A as
|
2
|
+
import { A as ts, a as es, u as ss, b as as } from "../useCombineEvents-DaDBSR_1.mjs";
|
3
3
|
import { F as y, A as l } from "../Fetch-CkFKy79O.mjs";
|
4
|
-
import { B as
|
5
|
-
import { C as
|
6
|
-
import { a as
|
7
|
-
import { N as
|
8
|
-
import { a as
|
9
|
-
import { T as at } from "../Transaction-
|
10
|
-
import { C as
|
11
|
-
import { H as
|
12
|
-
import { E as
|
13
|
-
import { M as
|
14
|
-
import { M as
|
15
|
-
import { A as
|
16
|
-
import { i as
|
17
|
-
import { C as
|
18
|
-
import { L as
|
19
|
-
import {
|
20
|
-
import
|
21
|
-
import
|
22
|
-
import
|
23
|
-
import
|
24
|
-
import
|
25
|
-
import { S as
|
26
|
-
import {
|
27
|
-
import {
|
28
|
-
import {
|
29
|
-
import {
|
30
|
-
import {
|
31
|
-
import {
|
32
|
-
import {
|
33
|
-
import {
|
34
|
-
import {
|
35
|
-
import {
|
36
|
-
import {
|
37
|
-
import {
|
38
|
-
import {
|
39
|
-
import { css as w, keyframes as mt } from "@mxenabled/cssinjs";
|
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 "../Transaction-CyqrHmAA.mjs";
|
10
|
+
import { C as us, b as hs, L as gs, a as ps } from "../Transaction-CyqrHmAA.mjs";
|
11
|
+
import { H as rt } from "../Help-DhcC-C05.mjs";
|
12
|
+
import { E as _s } from "../Help-DhcC-C05.mjs";
|
13
|
+
import { M as fs } from "../MicroWidgetContainer-DmYiksbT.mjs";
|
14
|
+
import { M as bs } from "../MiniWidgetContainer-DqKQNubH.mjs";
|
15
|
+
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-BG-fdDOf.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-WfKHsHSF.mjs";
|
17
|
+
import { C as qs } from "../CurrencyInput-CSZjO22Z.mjs";
|
18
|
+
import { L as Qs } from "../Loader-Dp1P2gNw.mjs";
|
19
|
+
import { R as zs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
20
|
+
import { S as Ks } from "../SearchBox-B2_zLv8-.mjs";
|
21
|
+
import { T as ot } from "../TransactionStore-DSyXtPek.mjs";
|
22
|
+
import { S as Vs } from "../TransactionStore-DSyXtPek.mjs";
|
23
|
+
import { T as Js } from "../TabContentContainer-j01JYR_7.mjs";
|
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-BPWfaB3f.mjs";
|
26
|
+
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
27
|
+
import { I as la } from "../CashflowStore-D9Dpuz7X.mjs";
|
28
|
+
import { b as it } from "../GoalStore-Drf76ell.mjs";
|
29
|
+
import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-Drf76ell.mjs";
|
30
|
+
import { C as ya } from "../CurrencyText-YUhH2caW.mjs";
|
31
|
+
import { E as Sa } from "../EmptyState-Dcb-o2tl.mjs";
|
32
|
+
import { L as wa } from "../ListItemAction-BzmbPuNp.mjs";
|
33
|
+
import { T as ct } from "../TrendsStore-DR8etTL2.mjs";
|
34
|
+
import { L as Ca, S as Da, u as va } from "../TrendsStore-DR8etTL2.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
|
+
import { jsxs as _, jsx as c } from "react/jsx-runtime";
|
37
|
+
import dt, { useRef as lt, useEffect as ut } from "react";
|
38
|
+
import { css as w, keyframes as ht } from "@mxenabled/cssinjs";
|
40
39
|
import { useTokens as x, Text as B } from "@mxenabled/mxui";
|
41
|
-
import { D as
|
42
|
-
import { L as
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import { D as
|
48
|
-
import { S as
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import
|
59
|
-
import {
|
60
|
-
import
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import {
|
66
|
-
import {
|
67
|
-
import { a as At } from "../
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
71
|
-
import {
|
72
|
-
import { a as $t } from "../SettingsStore-CE7jDVFL.mjs";
|
73
|
-
import { addMonths as Rt } from "date-fns/addMonths";
|
40
|
+
import { D as $a } from "../Donut-1UMNcG67.mjs";
|
41
|
+
import { L as Ua } from "../LineChart-CYiUS-px.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
|
+
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
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-BFol-JYA.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-BKLD3OWo.mjs";
|
52
|
+
import { S as hr, T as gr } from "../RecurringTransactionsStore-BKLD3OWo.mjs";
|
53
|
+
import { G as mr, A as _r, B as yr, W as fr, c as Sr, k as br, g as wr, t as xr, l as Cr, x as Dr, e as vr, w as Ar, u as Er, m 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-02T565vf.mjs";
|
54
|
+
import { u as Wr } from "../useScreenSize-B6JyS_Lj.mjs";
|
55
|
+
import { makeAutoObservable as m, runInAction as p, reaction as _t } from "mobx";
|
56
|
+
import { a as yt } from "../AccountStore-Cu3GoLh-.mjs";
|
57
|
+
import ft from "posthog-js";
|
58
|
+
import { B as St } from "../BeatStore-By4aGoRM.mjs";
|
59
|
+
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
60
|
+
import { startOfMonth as J } from "date-fns/startOfMonth";
|
61
|
+
import { startOfToday as L } from "date-fns/startOfToday";
|
62
|
+
import { f as bt, a as wt, b as O } from "../BudgetUtil-spowPvBM.mjs";
|
63
|
+
import { g as Yr, e as zr, c as Xr, d as Kr, i as jr } from "../BudgetUtil-spowPvBM.mjs";
|
64
|
+
import { a as xt } from "../DebtsStore-D9holN8L.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-BK1_NbXW.mjs";
|
69
|
+
import { a as It } from "../SettingsStore-B4gi6oOw.mjs";
|
70
|
+
import { addMonths as Nt } from "date-fns/addMonths";
|
74
71
|
import { getMonth as T } from "date-fns/getMonth";
|
75
|
-
import { i as
|
76
|
-
import { b as
|
77
|
-
import { alpha as
|
78
|
-
var
|
79
|
-
const
|
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
|
+
import { alpha as Ft, lighten as G, darken as H } from "@mui/material";
|
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
|
+
const qe = [
|
80
77
|
{ id: 0, copy: "frequency_unknown" },
|
81
78
|
{ id: 1, copy: "frequency_every_week" },
|
82
79
|
{ id: 2, copy: "frequency_every_other_week" },
|
@@ -85,43 +82,43 @@ const Ze = [
|
|
85
82
|
{ id: 5, copy: "frequency_every_quarter" },
|
86
83
|
{ id: 6, copy: "frequency_every_other_quarter" },
|
87
84
|
{ id: 7, copy: "frequency_every_year" }
|
88
|
-
],
|
85
|
+
], We = {
|
89
86
|
ERROR: "ERROR",
|
90
87
|
LOADING: "LOADING",
|
91
88
|
SUCCESS: "SUCCESS"
|
92
89
|
};
|
93
|
-
var
|
94
|
-
const
|
95
|
-
const e = s.palette.mode === "dark",
|
96
|
-
const
|
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
|
+
const Qe = (s, t) => {
|
92
|
+
const e = s.palette.mode === "dark", a = (d, i) => {
|
93
|
+
const n = t?.[d];
|
97
94
|
return {
|
98
|
-
lighter:
|
99
|
-
light:
|
100
|
-
main:
|
101
|
-
dark:
|
102
|
-
darker:
|
95
|
+
lighter: n ? G(n, 0.5) : i.lighter,
|
96
|
+
light: n ? G(n, 0.25) : i.light,
|
97
|
+
main: n || i.main,
|
98
|
+
dark: n ? H(n, 0.25) : i.dark,
|
99
|
+
darker: n ? H(n, 0.5) : i.darker
|
103
100
|
};
|
104
|
-
},
|
105
|
-
primary:
|
106
|
-
secondary:
|
107
|
-
error:
|
108
|
-
warning:
|
109
|
-
info:
|
110
|
-
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)
|
111
108
|
}, o = {
|
112
109
|
MuiTabs: {
|
113
110
|
styleOverrides: {
|
114
111
|
indicator: {
|
115
|
-
backgroundColor:
|
112
|
+
backgroundColor: r.primary.light
|
116
113
|
}
|
117
114
|
}
|
118
115
|
},
|
119
116
|
MuiPickersCalendarHeader: {
|
120
117
|
styleOverrides: {
|
121
118
|
switchViewButton: {
|
122
|
-
color:
|
119
|
+
color: r.primary.lighter,
|
123
120
|
"&:hover": {
|
124
|
-
backgroundColor:
|
121
|
+
backgroundColor: Ft(r.primary.light, 0.1)
|
125
122
|
}
|
126
123
|
}
|
127
124
|
}
|
@@ -216,7 +213,7 @@ const ts = (s, t) => {
|
|
216
213
|
fontFamily: t?.system_font ?? s.typography.fontFamily
|
217
214
|
}
|
218
215
|
},
|
219
|
-
palette:
|
216
|
+
palette: r,
|
220
217
|
components: o,
|
221
218
|
shape: {
|
222
219
|
borderRadius: t?.button_corner_radius ?? s.shape.borderRadius
|
@@ -234,13 +231,13 @@ class P {
|
|
234
231
|
getBanner = async (t) => {
|
235
232
|
try {
|
236
233
|
const e = `/banner/${t}/account_widget_banner`;
|
237
|
-
return this.fetchInstance?.get(e).then((
|
234
|
+
return this.fetchInstance?.get(e).then((a) => a.banner) ?? {};
|
238
235
|
} catch (e) {
|
239
236
|
return console.error("Error fetching banner:", e), null;
|
240
237
|
}
|
241
238
|
};
|
242
239
|
}
|
243
|
-
class
|
240
|
+
class Ye {
|
244
241
|
fetchInstance;
|
245
242
|
constructor(t, e) {
|
246
243
|
this.fetchInstance = new y(t, e);
|
@@ -248,7 +245,7 @@ class es {
|
|
248
245
|
getLocalizedCopy = async (t) => this.fetchInstance.post(l.LOCALIZED_COPY, t).then((e) => e);
|
249
246
|
getLocalizedContent = async (t) => this.fetchInstance.post(`${l.LOCALIZED_CONTENT}/${t}`).then((e) => e);
|
250
247
|
}
|
251
|
-
class
|
248
|
+
class ze {
|
252
249
|
fetchInstance;
|
253
250
|
constructor(t, e) {
|
254
251
|
this.fetchInstance = new y(t, e);
|
@@ -278,24 +275,24 @@ class q {
|
|
278
275
|
}
|
279
276
|
requestWidgetUrl = async (t) => this.fetchInstance.post(l.WIDGET_URLS, t).then((e) => e.widget_url);
|
280
277
|
}
|
281
|
-
const
|
282
|
-
const t =
|
283
|
-
return
|
278
|
+
const Xe = (s) => {
|
279
|
+
const t = lt();
|
280
|
+
return ut(() => {
|
284
281
|
t.current = s;
|
285
282
|
}, [s]), t.current;
|
286
|
-
},
|
287
|
-
const
|
288
|
-
return /* @__PURE__ */
|
289
|
-
/* @__PURE__ */
|
290
|
-
/* @__PURE__ */
|
291
|
-
/* @__PURE__ */
|
292
|
-
/* @__PURE__ */
|
293
|
-
/* @__PURE__ */
|
294
|
-
/* @__PURE__ */
|
283
|
+
}, Ut = ({ color: s, labelAverage: t, labelMain: e }) => {
|
284
|
+
const a = x(), r = kt(a, s);
|
285
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-chart-legend ${r}`, children: [
|
286
|
+
/* @__PURE__ */ c("div", { "aria-label": e, className: "mx-cmn-color-square", role: "img" }),
|
287
|
+
/* @__PURE__ */ c(B, { variant: "XSmall", children: e }),
|
288
|
+
/* @__PURE__ */ _("div", { "aria-label": t, className: "mx-cmn-triple-dot", role: "img", children: [
|
289
|
+
/* @__PURE__ */ c("div", { className: "mx-cmn-dot" }),
|
290
|
+
/* @__PURE__ */ c("div", { className: "mx-cmn-dot" }),
|
291
|
+
/* @__PURE__ */ c("div", { className: "mx-cmn-dot" })
|
295
292
|
] }),
|
296
|
-
/* @__PURE__ */
|
293
|
+
/* @__PURE__ */ c(B, { variant: "XSmall", children: t })
|
297
294
|
] });
|
298
|
-
},
|
295
|
+
}, kt = (s, t) => w({
|
299
296
|
alignItems: "center",
|
300
297
|
display: "flex",
|
301
298
|
gap: s.Spacing.XSmall,
|
@@ -325,43 +322,43 @@ const rs = (s) => {
|
|
325
322
|
ariaLabel: s,
|
326
323
|
color: t,
|
327
324
|
height: e,
|
328
|
-
index:
|
329
|
-
label:
|
325
|
+
index: a,
|
326
|
+
label: r,
|
330
327
|
onClick: o,
|
331
328
|
selectedIndex: d,
|
332
|
-
value:
|
329
|
+
value: i
|
333
330
|
}) => {
|
334
|
-
const
|
335
|
-
o && (S.key === " " || S.key === "Enter") && o(
|
336
|
-
}, 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(
|
337
334
|
B,
|
338
335
|
{
|
339
336
|
"aria-hidden": !0,
|
340
|
-
bold: d ===
|
337
|
+
bold: d === a,
|
341
338
|
className: "mx-cmn-bar-text",
|
342
339
|
color: f,
|
343
340
|
component: "div",
|
344
341
|
variant: "Small",
|
345
|
-
children:
|
342
|
+
children: r
|
346
343
|
}
|
347
344
|
);
|
348
|
-
return /* @__PURE__ */
|
349
|
-
|
350
|
-
/* @__PURE__ */
|
345
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-container ${u} ${i < 0 ? "mx-cmn-negative" : ""}`, children: [
|
346
|
+
i >= 0 && /* @__PURE__ */ c(g, {}),
|
347
|
+
/* @__PURE__ */ c(
|
351
348
|
"div",
|
352
349
|
{
|
353
350
|
"aria-label": s,
|
354
|
-
className: `mx-cmn-bar ${o ? "mx-cmn-clickable" : ""} ${
|
355
|
-
onClick: o ? () => o?.(
|
351
|
+
className: `mx-cmn-bar ${o ? "mx-cmn-clickable" : ""} ${i < 0 ? "mx-cmn-bar-negative" : ""}`,
|
352
|
+
onClick: o ? () => o?.(a) : void 0,
|
356
353
|
onKeyDown: h,
|
357
354
|
role: s ? "button" : void 0,
|
358
355
|
tabIndex: s ? 0 : void 0
|
359
356
|
}
|
360
357
|
),
|
361
|
-
|
358
|
+
i < 0 && /* @__PURE__ */ c(g, {})
|
362
359
|
] });
|
363
|
-
},
|
364
|
-
const
|
360
|
+
}, Lt = (s, t, e) => {
|
361
|
+
const a = `expandBar-${Math.round(e)}`, r = ht(a, { from: { height: 0 }, to: { height: e } });
|
365
362
|
return w({
|
366
363
|
display: "flex",
|
367
364
|
flexDirection: "column",
|
@@ -374,7 +371,7 @@ const rs = (s) => {
|
|
374
371
|
animationDelay: ".5s",
|
375
372
|
animationDuration: "1s",
|
376
373
|
animationFillMode: "forwards",
|
377
|
-
animationName:
|
374
|
+
animationName: r,
|
378
375
|
animationTimingFunction: s.Easing.Default,
|
379
376
|
backgroundColor: t,
|
380
377
|
borderRadius: `${s.BorderRadius.Medium}px ${s.BorderRadius.Medium}px 0 0`,
|
@@ -397,56 +394,56 @@ const rs = (s) => {
|
|
397
394
|
ariaLabel: s,
|
398
395
|
averageLineHeight: t,
|
399
396
|
bottomHeight: e,
|
400
|
-
color:
|
401
|
-
index:
|
397
|
+
color: a,
|
398
|
+
index: r = -1,
|
402
399
|
onClick: o,
|
403
400
|
range: d,
|
404
|
-
selectedIndex:
|
405
|
-
topHeight:
|
401
|
+
selectedIndex: i,
|
402
|
+
topHeight: n,
|
406
403
|
value: u,
|
407
404
|
valueLabel: h = "",
|
408
405
|
width: f,
|
409
406
|
xAxisLabel: g = ""
|
410
407
|
}) => {
|
411
|
-
const S = x(), C =
|
412
|
-
return /* @__PURE__ */
|
413
|
-
/* @__PURE__ */
|
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
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
|
410
|
+
/* @__PURE__ */ c("div", { style: { height: n }, children: u >= 0 && /* @__PURE__ */ c(
|
414
411
|
W,
|
415
412
|
{
|
416
413
|
ariaLabel: s,
|
417
|
-
color:
|
414
|
+
color: a,
|
418
415
|
height: D,
|
419
|
-
index:
|
416
|
+
index: r,
|
420
417
|
label: h,
|
421
418
|
onClick: o,
|
422
|
-
selectedIndex:
|
419
|
+
selectedIndex: i,
|
423
420
|
value: u
|
424
421
|
}
|
425
422
|
) }),
|
426
|
-
/* @__PURE__ */
|
427
|
-
t !== 0 && /* @__PURE__ */
|
428
|
-
/* @__PURE__ */
|
423
|
+
/* @__PURE__ */ c("div", { className: "mx-cmn-zero-line" }),
|
424
|
+
t !== 0 && /* @__PURE__ */ c("div", { className: "mx-cmn-chart-average", style: { bottom: t } }),
|
425
|
+
/* @__PURE__ */ c("div", { style: { height: e }, children: u < 0 && /* @__PURE__ */ c(
|
429
426
|
W,
|
430
427
|
{
|
431
428
|
ariaLabel: s,
|
432
|
-
color:
|
429
|
+
color: a,
|
433
430
|
height: v,
|
434
|
-
index:
|
431
|
+
index: r,
|
435
432
|
label: h,
|
436
433
|
onClick: o,
|
437
434
|
value: u
|
438
435
|
}
|
439
436
|
) }),
|
440
|
-
/* @__PURE__ */
|
437
|
+
/* @__PURE__ */ c(
|
441
438
|
"div",
|
442
439
|
{
|
443
440
|
className: `mx-cmn-bar-label ${o ? "mx-cmn-clickable" : ""}`,
|
444
|
-
onClick: o ? () => o(
|
445
|
-
children: /* @__PURE__ */
|
441
|
+
onClick: o ? () => o(r) : void 0,
|
442
|
+
children: /* @__PURE__ */ c(B, { bold: i === r, color: A, variant: "Small", children: g })
|
446
443
|
}
|
447
444
|
)
|
448
445
|
] });
|
449
|
-
},
|
446
|
+
}, Ot = (s, t) => w({
|
450
447
|
display: "flex",
|
451
448
|
flexDirection: "column",
|
452
449
|
flexGrow: t === void 0 ? 1 : 0,
|
@@ -471,25 +468,25 @@ const rs = (s) => {
|
|
471
468
|
"& .mx-cmn-clickable": {
|
472
469
|
cursor: "pointer"
|
473
470
|
}
|
474
|
-
}),
|
475
|
-
const
|
476
|
-
return s ?
|
477
|
-
},
|
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 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 = ({
|
478
475
|
average: s,
|
479
476
|
barWidth: t = "8%",
|
480
477
|
color: e,
|
481
|
-
data:
|
482
|
-
height:
|
478
|
+
data: a,
|
479
|
+
height: r,
|
483
480
|
legendLabelAverage: o,
|
484
481
|
legendLabelMain: d,
|
485
|
-
onBarClick:
|
486
|
-
selectedIndex:
|
482
|
+
onBarClick: i,
|
483
|
+
selectedIndex: n,
|
487
484
|
valueFormatter: u = (h) => `${h}`
|
488
485
|
}) => {
|
489
|
-
const h = x(), f =
|
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(
|
490
487
|
Q,
|
491
488
|
{
|
492
|
-
averageLineHeight:
|
489
|
+
averageLineHeight: U,
|
493
490
|
bottomHeight: N,
|
494
491
|
color: "",
|
495
492
|
range: v,
|
@@ -498,21 +495,21 @@ const rs = (s) => {
|
|
498
495
|
width: void 0
|
499
496
|
}
|
500
497
|
);
|
501
|
-
return /* @__PURE__ */
|
502
|
-
/* @__PURE__ */
|
503
|
-
/* @__PURE__ */
|
504
|
-
|
505
|
-
/* @__PURE__ */
|
498
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-bar-chart ${f}`, children: [
|
499
|
+
/* @__PURE__ */ _("div", { className: "mx-cmn-chart-container", children: [
|
500
|
+
/* @__PURE__ */ c(k, {}),
|
501
|
+
a.map((b, F) => /* @__PURE__ */ _(dt.Fragment, { children: [
|
502
|
+
/* @__PURE__ */ c(
|
506
503
|
Q,
|
507
504
|
{
|
508
505
|
ariaLabel: b.ariaLabel,
|
509
|
-
averageLineHeight:
|
506
|
+
averageLineHeight: U,
|
510
507
|
bottomHeight: N,
|
511
|
-
color:
|
508
|
+
color: tt(F),
|
512
509
|
index: F,
|
513
|
-
onClick:
|
510
|
+
onClick: i,
|
514
511
|
range: v,
|
515
|
-
selectedIndex:
|
512
|
+
selectedIndex: n,
|
516
513
|
topHeight: I,
|
517
514
|
value: b.value,
|
518
515
|
valueLabel: u(b.value),
|
@@ -520,12 +517,12 @@ const rs = (s) => {
|
|
520
517
|
xAxisLabel: b.label
|
521
518
|
}
|
522
519
|
),
|
523
|
-
/* @__PURE__ */
|
520
|
+
/* @__PURE__ */ c(k, {})
|
524
521
|
] }, `column-${F}`))
|
525
522
|
] }),
|
526
|
-
/* @__PURE__ */
|
523
|
+
/* @__PURE__ */ c(Ut, { color: e, labelAverage: o, labelMain: d })
|
527
524
|
] });
|
528
|
-
},
|
525
|
+
}, Qt = (s) => w({
|
529
526
|
"& .mx-cmn-chart-container": {
|
530
527
|
alignItems: "flex-end",
|
531
528
|
display: "flex",
|
@@ -533,47 +530,47 @@ const rs = (s) => {
|
|
533
530
|
marginTop: s.Spacing.Large,
|
534
531
|
marginBottom: s.Spacing.Medium
|
535
532
|
}
|
536
|
-
}),
|
533
|
+
}), Ke = Wt, Yt = ({
|
537
534
|
hasGap: s = !1,
|
538
535
|
segments: t,
|
539
|
-
size: e =
|
540
|
-
strokeWidth:
|
541
|
-
children:
|
536
|
+
size: e = gt,
|
537
|
+
strokeWidth: a = pt,
|
538
|
+
children: r
|
542
539
|
}) => {
|
543
|
-
const o = x(), d =
|
540
|
+
const o = x(), d = zt(o, e), i = (e - a) / 2, n = e / 2;
|
544
541
|
let u = -90 - (s ? 1 : 0), h = 0;
|
545
|
-
return /* @__PURE__ */
|
546
|
-
/* @__PURE__ */
|
547
|
-
/* @__PURE__ */
|
542
|
+
return /* @__PURE__ */ _("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
|
543
|
+
/* @__PURE__ */ _("svg", { height: e, width: e, children: [
|
544
|
+
/* @__PURE__ */ c(
|
548
545
|
"circle",
|
549
546
|
{
|
550
|
-
cx:
|
551
|
-
cy:
|
547
|
+
cx: n,
|
548
|
+
cy: n,
|
552
549
|
fill: "none",
|
553
|
-
r:
|
550
|
+
r: i,
|
554
551
|
stroke: o.Color.Neutral300,
|
555
|
-
strokeWidth:
|
552
|
+
strokeWidth: a
|
556
553
|
}
|
557
554
|
),
|
558
|
-
t.map((f, g) => (u += 360 * h + (s ? 1 : 0), h = (f.percent - (s ? 0.3 : 0)) / 100, /* @__PURE__ */
|
555
|
+
t.map((f, g) => (u += 360 * h + (s ? 1 : 0), h = (f.percent - (s ? 0.3 : 0)) / 100, /* @__PURE__ */ c(
|
559
556
|
"circle",
|
560
557
|
{
|
561
|
-
cx:
|
562
|
-
cy:
|
558
|
+
cx: n,
|
559
|
+
cy: n,
|
563
560
|
fill: "none",
|
564
|
-
r:
|
561
|
+
r: i,
|
565
562
|
stroke: f.color,
|
566
|
-
strokeDasharray: 2 * Math.PI *
|
567
|
-
strokeDashoffset: 2 * Math.PI *
|
568
|
-
strokeWidth:
|
569
|
-
transform: `rotate(${u}, ${
|
563
|
+
strokeDasharray: 2 * Math.PI * i,
|
564
|
+
strokeDashoffset: 2 * Math.PI * i * (1 - h),
|
565
|
+
strokeWidth: a,
|
566
|
+
transform: `rotate(${u}, ${n}, ${n})`
|
570
567
|
},
|
571
568
|
g
|
572
569
|
)))
|
573
570
|
] }),
|
574
|
-
/* @__PURE__ */
|
571
|
+
/* @__PURE__ */ c("div", { className: "mx-cmn-multi-segment-donut-children", children: r })
|
575
572
|
] });
|
576
|
-
},
|
573
|
+
}, zt = (s, t) => w({
|
577
574
|
height: t,
|
578
575
|
marginTop: `-${s.Spacing.XSmall}px`,
|
579
576
|
position: "relative",
|
@@ -585,50 +582,15 @@ const rs = (s) => {
|
|
585
582
|
top: "50%",
|
586
583
|
transform: "translate(-50%, -50%)"
|
587
584
|
}
|
588
|
-
}),
|
589
|
-
|
590
|
-
label: t,
|
591
|
-
onClick: e,
|
592
|
-
placement: r = "bottom",
|
593
|
-
tooltipText: a,
|
594
|
-
variant: o = "text"
|
595
|
-
}) => {
|
596
|
-
const d = ut();
|
597
|
-
return /* @__PURE__ */ m(Z.Fragment, { children: [
|
598
|
-
/* @__PURE__ */ n(
|
599
|
-
ct,
|
600
|
-
{
|
601
|
-
onClick: e,
|
602
|
-
startIcon: s,
|
603
|
-
sx: {
|
604
|
-
[d.breakpoints.down("lg")]: { display: "none" },
|
605
|
-
[d.breakpoints.up("lg")]: { display: "inline-flex" }
|
606
|
-
},
|
607
|
-
title: a,
|
608
|
-
variant: o,
|
609
|
-
children: t
|
610
|
-
}
|
611
|
-
),
|
612
|
-
/* @__PURE__ */ n(
|
613
|
-
lt,
|
614
|
-
{
|
615
|
-
describeChild: !0,
|
616
|
-
placement: r,
|
617
|
-
sx: { display: { xs: "inline-flex", lg: "none" } },
|
618
|
-
title: a,
|
619
|
-
children: /* @__PURE__ */ n(dt, { onClick: e, children: s })
|
620
|
-
}
|
621
|
-
)
|
622
|
-
] });
|
623
|
-
}, ns = Zt;
|
624
|
-
class Jt {
|
585
|
+
}), je = Yt;
|
586
|
+
class Xt {
|
625
587
|
globalStore;
|
626
588
|
api = new M("/", "");
|
627
589
|
copy = {};
|
628
590
|
featureNamespace = "experiences";
|
629
591
|
isInitialized = !1;
|
630
592
|
constructor(t) {
|
631
|
-
this.globalStore = t, this.api = new M(t.endpoint, t.sessionToken),
|
593
|
+
this.globalStore = t, this.api = new M(t.endpoint, t.sessionToken), m(this);
|
632
594
|
}
|
633
595
|
// DEPRECATED: Initialize api in constructor and use loadCopy instead
|
634
596
|
// TODO: Remove this function
|
@@ -642,16 +604,16 @@ class Jt {
|
|
642
604
|
};
|
643
605
|
getCopy = async (t, e = "") => {
|
644
606
|
try {
|
645
|
-
const
|
607
|
+
const a = await this.api.getGlobalCopy(t, e);
|
646
608
|
p(() => {
|
647
|
-
this.copy =
|
609
|
+
this.copy = a[t];
|
648
610
|
});
|
649
|
-
} catch (
|
650
|
-
console.error(`Error occurred while fetching ${this.featureNamespace} copy: ${
|
611
|
+
} catch (a) {
|
612
|
+
console.error(`Error occurred while fetching ${this.featureNamespace} copy: ${a}`);
|
651
613
|
}
|
652
614
|
};
|
653
615
|
}
|
654
|
-
class
|
616
|
+
class Kt {
|
655
617
|
globalStore;
|
656
618
|
survey = null;
|
657
619
|
currentQuestionIndex = 0;
|
@@ -659,7 +621,7 @@ class te {
|
|
659
621
|
response = null;
|
660
622
|
responses = {};
|
661
623
|
constructor(t) {
|
662
|
-
this.globalStore = t,
|
624
|
+
this.globalStore = t, m(this);
|
663
625
|
}
|
664
626
|
get isLastQuestion() {
|
665
627
|
return this.currentQuestionIndex === this.surveyQuestions.length - 1;
|
@@ -681,11 +643,11 @@ class te {
|
|
681
643
|
return this.survey ? this.survey.questions : [];
|
682
644
|
}
|
683
645
|
loadSurvey = (t = !1) => {
|
684
|
-
|
646
|
+
ft.getActiveMatchingSurveys((e) => {
|
685
647
|
p(() => {
|
686
648
|
if (e.length > 0) {
|
687
|
-
const
|
688
|
-
|
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 = {});
|
689
651
|
}
|
690
652
|
});
|
691
653
|
}, t);
|
@@ -705,13 +667,13 @@ class z {
|
|
705
667
|
constructor(t, e) {
|
706
668
|
this.fetchInstance = new y(t, e);
|
707
669
|
}
|
708
|
-
addBudget = async (t, e,
|
670
|
+
addBudget = async (t, e, a = null) => this.fetchInstance.post(l.BUDGETS, {
|
709
671
|
amount: e,
|
710
672
|
category_guid: t.guid,
|
711
673
|
category_name: t.name,
|
712
|
-
parent_guid:
|
713
|
-
}).then((
|
714
|
-
throw
|
674
|
+
parent_guid: a
|
675
|
+
}).then((r) => r.budget).catch((r) => {
|
676
|
+
throw r;
|
715
677
|
});
|
716
678
|
deleteBudget = async (t) => this.fetchInstance.delete(`${l.BUDGETS}/${t}`).then((e) => e).catch((e) => {
|
717
679
|
throw e;
|
@@ -721,38 +683,38 @@ class z {
|
|
721
683
|
throw e;
|
722
684
|
});
|
723
685
|
}
|
724
|
-
class
|
686
|
+
class jt {
|
725
687
|
api = new z("/", "");
|
726
688
|
globalStore;
|
727
689
|
alert = "";
|
728
|
-
dateRange = { start:
|
690
|
+
dateRange = { start: J(L()), end: Z(L()) };
|
729
691
|
budgets = [];
|
730
692
|
selectedBudget;
|
731
693
|
selectedSubBudget;
|
732
694
|
isDataLoaded = !1;
|
733
695
|
theme = {};
|
734
696
|
constructor(t) {
|
735
|
-
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);
|
736
698
|
}
|
737
699
|
loadBudgetData = async () => {
|
738
|
-
await this.loadBudgets(),
|
700
|
+
await this.loadBudgets(), _t(
|
739
701
|
() => this.detailedBudgets,
|
740
702
|
(t) => {
|
741
703
|
if (t) {
|
742
704
|
const e = this.selectedBudget;
|
743
|
-
e && (this.selectedBudget =
|
744
|
-
const
|
745
|
-
|
705
|
+
e && (this.selectedBudget = bt(t, e.guid));
|
706
|
+
const a = this.selectedSubBudget;
|
707
|
+
a && a.parent_guid && (this.selectedSubBudget = wt(
|
746
708
|
t,
|
747
|
-
|
748
|
-
|
709
|
+
a.guid,
|
710
|
+
a.parent_guid
|
749
711
|
));
|
750
712
|
}
|
751
713
|
}
|
752
714
|
);
|
753
715
|
};
|
754
716
|
get detailedBudgets() {
|
755
|
-
return
|
717
|
+
return O(
|
756
718
|
this.budgets.filter(
|
757
719
|
(t) => t.category_guid !== E.INCOME && t.category_guid !== E.TRANSFER && t.category_guid !== E.INVESTMENTS
|
758
720
|
),
|
@@ -762,13 +724,13 @@ class ee {
|
|
762
724
|
).sort((t, e) => t.percentage > e.percentage ? -1 : t.percentage < e.percentage ? 1 : 0);
|
763
725
|
}
|
764
726
|
get incomeBudget() {
|
765
|
-
return
|
766
|
-
this.budgets.filter((
|
727
|
+
return O(
|
728
|
+
this.budgets.filter((a) => !a.parent_guid),
|
767
729
|
this.globalStore.categoryStore.detailedCategories,
|
768
730
|
this.globalStore.copyStore.copy.budgets,
|
769
731
|
this.theme
|
770
732
|
).reduce(
|
771
|
-
(
|
733
|
+
(a, r) => r.category_guid !== E.INCOME ? a : !a || r.percentage > a.percentage ? r : a,
|
772
734
|
void 0
|
773
735
|
)?.amount;
|
774
736
|
}
|
@@ -780,20 +742,20 @@ class ee {
|
|
780
742
|
get totalBudgeted() {
|
781
743
|
return this.detailedBudgets.reduce((t, e) => t + e.amount, 0);
|
782
744
|
}
|
783
|
-
addBudget = async (t, e,
|
745
|
+
addBudget = async (t, e, a = null) => {
|
784
746
|
try {
|
785
|
-
const
|
747
|
+
const r = await this.api.addBudget(t, e, a);
|
786
748
|
p(() => {
|
787
|
-
this.budgets.push(
|
749
|
+
this.budgets.push(r);
|
788
750
|
});
|
789
|
-
} catch (
|
790
|
-
console.error(`Error adding budget: ${
|
751
|
+
} catch (r) {
|
752
|
+
console.error(`Error adding budget: ${r}`);
|
791
753
|
}
|
792
754
|
};
|
793
755
|
deleteBudget = async (t) => {
|
794
756
|
try {
|
795
757
|
await this.api.deleteBudget(t), p(() => {
|
796
|
-
const e = this.budgets.findIndex((
|
758
|
+
const e = this.budgets.findIndex((a) => a.guid === t);
|
797
759
|
e >= 0 && this.budgets.splice(e, 1);
|
798
760
|
});
|
799
761
|
} catch (e) {
|
@@ -821,18 +783,18 @@ class ee {
|
|
821
783
|
*/
|
822
784
|
recalculateBudgets = async (t) => {
|
823
785
|
try {
|
824
|
-
for (const
|
825
|
-
const
|
826
|
-
|
827
|
-
...
|
828
|
-
amount:
|
829
|
-
}) : 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);
|
830
792
|
}
|
831
793
|
const e = this.budgets.filter(
|
832
|
-
(
|
794
|
+
(a) => !t.find((r) => r.guid === a.category_guid)
|
833
795
|
);
|
834
|
-
for (const
|
835
|
-
await this.api.deleteBudget(
|
796
|
+
for (const a of e)
|
797
|
+
await this.api.deleteBudget(a.guid);
|
836
798
|
return await this.loadBudgets(), { data: this.budgets, isSuccess: !0 };
|
837
799
|
} catch (e) {
|
838
800
|
return console.error("error recalculating budgets", e), { data: [], isSuccess: !1 };
|
@@ -842,15 +804,15 @@ class ee {
|
|
842
804
|
try {
|
843
805
|
const e = await this.api.updateBudget(t);
|
844
806
|
p(() => {
|
845
|
-
const
|
846
|
-
|
807
|
+
const a = this.budgets.findIndex((r) => r.guid === t.guid);
|
808
|
+
a >= 0 && (this.budgets[a] = e);
|
847
809
|
});
|
848
810
|
} catch (e) {
|
849
811
|
console.error(`Error updating budget: ${e}`);
|
850
812
|
}
|
851
813
|
};
|
852
814
|
}
|
853
|
-
var
|
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 || {});
|
854
816
|
class X {
|
855
817
|
fetchInstance;
|
856
818
|
constructor(t, e) {
|
@@ -858,31 +820,31 @@ class X {
|
|
858
820
|
}
|
859
821
|
createSupportTicket = async (t) => this.fetchInstance.post(l.SUPPORT_TICKETS, t).then((e) => e);
|
860
822
|
}
|
861
|
-
const
|
823
|
+
const ee = (s, t) => s.guid === "general" || s.guid === "insights" ? !0 : s.flags ? s.flags.every((e) => t[e]) : !1, se = (s, t) => {
|
862
824
|
const e = [];
|
863
|
-
for (const
|
864
|
-
const
|
865
|
-
if (!
|
825
|
+
for (const a of rt) {
|
826
|
+
const r = t[a.guid];
|
827
|
+
if (!r) continue;
|
866
828
|
const o = {
|
867
|
-
...
|
868
|
-
title:
|
869
|
-
topics:
|
829
|
+
...a,
|
830
|
+
title: r.label,
|
831
|
+
topics: a.topics.map(({ topicKey: d }, i) => ({
|
870
832
|
topicKey: d,
|
871
|
-
label:
|
833
|
+
label: r.topics[i]
|
872
834
|
}))
|
873
835
|
};
|
874
|
-
|
836
|
+
ee(o, s) && e.push(o);
|
875
837
|
}
|
876
838
|
return e;
|
877
839
|
};
|
878
|
-
class
|
840
|
+
class ae {
|
879
841
|
alert = { message: "", severity: void 0 };
|
880
842
|
api = new X("/", "");
|
881
843
|
appConfig;
|
882
844
|
globalStore;
|
883
845
|
isLoading = !1;
|
884
846
|
constructor(t) {
|
885
|
-
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);
|
886
848
|
}
|
887
849
|
createSupportTicket = async (t) => {
|
888
850
|
try {
|
@@ -899,15 +861,15 @@ class ce {
|
|
899
861
|
}
|
900
862
|
get helpCategories() {
|
901
863
|
const { client_communication_profile: t, client_profile: e } = this.globalStore.appDataStore.appData, {
|
902
|
-
help: { category_list:
|
864
|
+
help: { category_list: a }
|
903
865
|
} = this.globalStore.copyStore.copy;
|
904
|
-
return
|
866
|
+
return se(
|
905
867
|
{
|
906
868
|
...t,
|
907
869
|
...e,
|
908
870
|
...this.globalStore.appConfig.config
|
909
871
|
},
|
910
|
-
|
872
|
+
a
|
911
873
|
);
|
912
874
|
}
|
913
875
|
}
|
@@ -919,21 +881,21 @@ class K {
|
|
919
881
|
getHoldings = async () => this.fetchInstance.get(l.HOLDINGS).then((t) => t.holdings);
|
920
882
|
updateHoldings = async (t) => this.fetchInstance.put(`${l.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
|
921
883
|
}
|
922
|
-
class
|
923
|
-
analysisType =
|
884
|
+
class re {
|
885
|
+
analysisType = Dt.Stocks;
|
924
886
|
api = new K("/", "");
|
925
887
|
holdings = [];
|
926
888
|
holdingsLoaded = !1;
|
927
889
|
globalStore;
|
928
890
|
showConnectionsWidget = !1;
|
929
891
|
constructor(t) {
|
930
|
-
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);
|
931
893
|
}
|
932
894
|
get analysisChartData() {
|
933
|
-
return
|
895
|
+
return vt(At(this.visibleHoldings), this.analysisType);
|
934
896
|
}
|
935
897
|
get analysisDetails() {
|
936
|
-
return
|
898
|
+
return Et(this.visibleHoldings)[this.analysisType] || {};
|
937
899
|
}
|
938
900
|
get visibleHoldings() {
|
939
901
|
return this.holdings.filter(
|
@@ -959,11 +921,11 @@ class de {
|
|
959
921
|
updateHoldings = async (t) => {
|
960
922
|
this.holdingsLoaded = !1;
|
961
923
|
try {
|
962
|
-
const e = await this.api.updateHoldings(t),
|
963
|
-
if (
|
964
|
-
const
|
965
|
-
a
|
966
|
-
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;
|
967
929
|
});
|
968
930
|
}
|
969
931
|
} catch (e) {
|
@@ -1080,14 +1042,14 @@ class V {
|
|
1080
1042
|
}
|
1081
1043
|
getAppData = async () => this.fetchInstance.get(l.APP_DATA).then((t) => t);
|
1082
1044
|
}
|
1083
|
-
class
|
1045
|
+
class oe {
|
1084
1046
|
globalStore;
|
1085
1047
|
api = new V("/", "");
|
1086
1048
|
bannerApi = new P("/");
|
1087
1049
|
appData = {};
|
1088
1050
|
banner = {};
|
1089
1051
|
constructor(t) {
|
1090
|
-
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);
|
1091
1053
|
}
|
1092
1054
|
get appConfig() {
|
1093
1055
|
return this.globalStore.appConfig;
|
@@ -1131,28 +1093,28 @@ class le {
|
|
1131
1093
|
setUserCommunicationProfile = (t) => this.appData.user_communication_profile = t;
|
1132
1094
|
setUserProfile = (t) => this.appData.user_profile = t;
|
1133
1095
|
}
|
1134
|
-
class
|
1096
|
+
class ne {
|
1135
1097
|
globalStore;
|
1136
1098
|
widgetApi = new q("/", "");
|
1137
1099
|
constructor(t) {
|
1138
|
-
this.globalStore = t, this.widgetApi = new q(t.endpoint, t.sessionToken),
|
1100
|
+
this.globalStore = t, this.widgetApi = new q(t.endpoint, t.sessionToken), m(this);
|
1139
1101
|
}
|
1140
|
-
loadWidget = async ({ widget: t = "connect_widget", mode: e = "light", ...
|
1141
|
-
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 }
|
1142
1104
|
});
|
1143
1105
|
}
|
1144
|
-
class
|
1106
|
+
class ie {
|
1145
1107
|
globalStore;
|
1146
1108
|
isInitialized = !1;
|
1147
1109
|
selectedAccounts = [];
|
1148
1110
|
selectedAccountGuids = this.selectedAccounts.map((t) => t.guid);
|
1149
1111
|
displayedDate = /* @__PURE__ */ new Date();
|
1150
1112
|
displayedDateRange = {
|
1151
|
-
start:
|
1152
|
-
end:
|
1113
|
+
start: J(this.displayedDate),
|
1114
|
+
end: Z(this.displayedDate)
|
1153
1115
|
};
|
1154
1116
|
constructor(t) {
|
1155
|
-
|
1117
|
+
m(this), this.globalStore = t;
|
1156
1118
|
}
|
1157
1119
|
get isCopyLoaded() {
|
1158
1120
|
return this.globalStore.copyStore.isInitialized;
|
@@ -1169,8 +1131,8 @@ class he {
|
|
1169
1131
|
};
|
1170
1132
|
// Sets an array of selected account guids for the AccountFilter component
|
1171
1133
|
setSelectedAccountGuids = async (t) => {
|
1172
|
-
const e = new Set(this.selectedAccountGuids),
|
1173
|
-
|
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;
|
1174
1136
|
};
|
1175
1137
|
setDisplayedDate = (t, e) => {
|
1176
1138
|
this.displayedDate = e, this.displayedDateRange = {
|
@@ -1179,7 +1141,7 @@ class he {
|
|
1179
1141
|
};
|
1180
1142
|
};
|
1181
1143
|
get shouldDisableNextDate() {
|
1182
|
-
const t = T(this.displayedDate), e = T(
|
1144
|
+
const t = T(this.displayedDate), e = T(Nt(/* @__PURE__ */ new Date(), 1));
|
1183
1145
|
return t === e;
|
1184
1146
|
}
|
1185
1147
|
get shouldDisablePrevDate() {
|
@@ -1187,12 +1149,12 @@ class he {
|
|
1187
1149
|
return t === e;
|
1188
1150
|
}
|
1189
1151
|
}
|
1190
|
-
class
|
1152
|
+
class ce {
|
1191
1153
|
globalStore;
|
1192
1154
|
api = new $("/", "");
|
1193
1155
|
userFeatures = [];
|
1194
1156
|
constructor(t) {
|
1195
|
-
this.globalStore = t, this.api = new $(t.endpoint, t.sessionToken),
|
1157
|
+
this.globalStore = t, this.api = new $(t.endpoint, t.sessionToken), m(this);
|
1196
1158
|
}
|
1197
1159
|
// DEPRECATED: Initialize api in constructor and use loadUserFeatures instead
|
1198
1160
|
// TODO: Remove this function
|
@@ -1232,7 +1194,7 @@ class ge {
|
|
1232
1194
|
}
|
1233
1195
|
};
|
1234
1196
|
}
|
1235
|
-
class
|
1197
|
+
class Ve {
|
1236
1198
|
// Global properties
|
1237
1199
|
appConfig = j;
|
1238
1200
|
endpoint = "/";
|
@@ -1263,7 +1225,7 @@ class is {
|
|
1263
1225
|
// UI Stores
|
1264
1226
|
globalUiStore;
|
1265
1227
|
constructor(t = j, e = "/") {
|
1266
|
-
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.accountStore = new
|
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);
|
1267
1229
|
}
|
1268
1230
|
get isInitialized() {
|
1269
1231
|
return this.globalUiStore.isInitialized;
|
@@ -1271,181 +1233,182 @@ class is {
|
|
1271
1233
|
loadData = async ({
|
1272
1234
|
accounts: t,
|
1273
1235
|
appData: e,
|
1274
|
-
associatedBeats:
|
1275
|
-
categories:
|
1236
|
+
associatedBeats: a,
|
1237
|
+
categories: r,
|
1276
1238
|
institutions: o,
|
1277
1239
|
transactionRules: d,
|
1278
|
-
transactions:
|
1279
|
-
userFeatures:
|
1240
|
+
transactions: i,
|
1241
|
+
userFeatures: n
|
1280
1242
|
} = {}) => {
|
1281
1243
|
await Promise.all([
|
1282
1244
|
// Load copy, config and quser data
|
1283
1245
|
this.copyStore.loadCopy(),
|
1284
1246
|
this.appDataStore.loadAppData(e),
|
1285
|
-
this.userStore.loadUserFeatures(
|
1247
|
+
this.userStore.loadUserFeatures(n)
|
1286
1248
|
]), await Promise.all([
|
1287
1249
|
this.accountStore.loadAccountData({ accounts: t, institutions: o }),
|
1288
|
-
this.categoryStore.loadCategories(
|
1250
|
+
this.categoryStore.loadCategories(r),
|
1289
1251
|
this.transactionStore.loadTransactionData({
|
1290
|
-
associatedBeats:
|
1252
|
+
associatedBeats: a,
|
1291
1253
|
transactionRules: d,
|
1292
|
-
transactions:
|
1254
|
+
transactions: i
|
1293
1255
|
})
|
1294
1256
|
]), this.globalUiStore.setInitialized(!0);
|
1295
1257
|
};
|
1296
1258
|
}
|
1297
1259
|
export {
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1260
|
+
xs as ANALYTICS_EVENTS,
|
1261
|
+
As as AccountFilter,
|
1262
|
+
Es as AccountIcon,
|
1263
|
+
Ts as AccountIconVariants,
|
1264
|
+
Ea as AccountNotificationTypes,
|
1265
|
+
Bs as AccountSubType,
|
1266
|
+
Is as AccountType,
|
1267
|
+
Ns as AccountTypeName,
|
1268
|
+
ts as AnalyticsApi,
|
1307
1269
|
l as ApiEndpoints,
|
1308
1270
|
P as BannerApi,
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1271
|
+
Ke as BarChart,
|
1272
|
+
os as BeatApi,
|
1273
|
+
Ta as BudgetNotificationTypes,
|
1274
|
+
us as Calendar,
|
1275
|
+
hs as CalendarSelectionTypes,
|
1276
|
+
is as CategoryApi,
|
1277
|
+
tr as CategoryColors,
|
1278
|
+
er as CategoryGuidToName,
|
1317
1279
|
E as CategoryGuids,
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1280
|
+
sr as CategoryIcon,
|
1281
|
+
ha as ConnectCard,
|
1282
|
+
Fs as ConnectDrawer,
|
1283
|
+
Ms as ConnectionStatus,
|
1284
|
+
$s as ConnectionStatusEnums,
|
1285
|
+
or as CurrencyCodes,
|
1286
|
+
qs as CurrencyInput,
|
1287
|
+
ya as CurrencyText,
|
1288
|
+
Ga as DATE_FORMATS_INTL,
|
1289
|
+
gt as DEFAULT_DONUT_SIZE,
|
1290
|
+
pt as DEFAULT_STROKE_WIDTH,
|
1291
|
+
aa as DataRow,
|
1292
|
+
Cs as DateRangeSelector,
|
1293
|
+
Ha as Dialog,
|
1294
|
+
$a as Donut,
|
1295
|
+
Xa as Drawer,
|
1296
|
+
Sa as EmptyState,
|
1297
|
+
_s as ErrorBoundary,
|
1298
|
+
Rs as ErrorStatuses,
|
1299
|
+
Zt as ExpenseStatus,
|
1338
1300
|
y as Fetch,
|
1339
|
-
|
1301
|
+
ra as Frequency,
|
1340
1302
|
M as GlobalCopyApi,
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1303
|
+
Xt as GlobalCopyStore,
|
1304
|
+
mr as GlobalDataContext,
|
1305
|
+
_r as GlobalDataProvider,
|
1306
|
+
Ve as GlobalStore,
|
1307
|
+
ga as GoalType,
|
1308
|
+
ja as INCOME_ACCOUNT_TYPES,
|
1309
|
+
ea as IconBacking,
|
1310
|
+
la as InformationTooltip,
|
1311
|
+
Ba as InsightNotificationTypes,
|
1312
|
+
Rt as IterationItemTypes,
|
1313
|
+
We as LOADING_STATUS,
|
1314
|
+
Ua as LineChart,
|
1315
|
+
wa as ListItemAction,
|
1316
|
+
Ca as ListItemRow,
|
1317
|
+
gs as ListItemWrapper,
|
1318
|
+
Qs as Loader,
|
1319
|
+
Ye as LocalizedCopyApi,
|
1320
|
+
pa as MetaType,
|
1321
|
+
Us as MfaStatuses,
|
1322
|
+
fs as MicroWidgetContainer,
|
1323
|
+
bs as MiniWidgetContainer,
|
1324
|
+
je as MultiSegmentDonut,
|
1325
|
+
ks as NonConnectedStatuses,
|
1326
|
+
ds as NotificationApi,
|
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,
|
1332
|
+
$t as PlanTypes,
|
1333
|
+
Ls as ProcessingStatuses,
|
1334
|
+
Os as PropertyType,
|
1335
|
+
Gs as PropertyTypeName,
|
1336
|
+
qe as RECURRENCE_COPY,
|
1337
|
+
oa as RecurrenceStatus,
|
1338
|
+
na as RecurrenceType,
|
1339
|
+
Mt as RecurrenceTypes,
|
1340
|
+
ia as RepeatingType,
|
1341
|
+
zs as ResponsiveButton,
|
1342
|
+
Za as SPENDING_ACCOUNT_TYPES,
|
1343
|
+
Jt as ScheduledPaymentTypes,
|
1344
|
+
ze as ScheduledPaymentsApi,
|
1345
|
+
te as ScreenSize,
|
1346
|
+
Ks as SearchBox,
|
1347
|
+
ca as Select,
|
1348
|
+
Vs as SelectionBox,
|
1349
|
+
Ya as SingleSegmentDonut,
|
1350
|
+
hr as Sizes,
|
1351
|
+
Da as StackedLineChart,
|
1352
|
+
La as StatusBar,
|
1353
|
+
Hs as StatusName,
|
1354
|
+
gr as TOUCH_TARGET,
|
1355
|
+
Js as TabContentContainer,
|
1356
|
+
Na as ToggleButtonListItem,
|
1357
|
+
Fa as ToggleListItem,
|
1358
|
+
ma as TrackType,
|
1359
|
+
ps as TransactionStatus,
|
1397
1360
|
at as TransactionType,
|
1398
1361
|
$ as UserApi,
|
1399
|
-
|
1400
|
-
|
1362
|
+
ce as UserStore,
|
1363
|
+
Vt as UserVerification,
|
1401
1364
|
q as WidgetApi,
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1365
|
+
Ds as WidgetContainer,
|
1366
|
+
yr as WidgetContainerContext,
|
1367
|
+
fr as WidgetContainerProvider,
|
1368
|
+
es as analyticsSession,
|
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,
|
1378
|
+
Qe as getClientTheme,
|
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,
|
1390
|
+
ss as useCombineEvents,
|
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,
|
1406
|
+
Xe as usePrevious,
|
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
|
1451
1414
|
};
|