@mx-cartographer/experiences 8.1.9 → 8.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{AccountDetailsHeader-D8NIfmO8.mjs → AccountDetailsHeader-CzefHTWU.mjs} +2 -2
- package/dist/{AccountListItem-DSuv36PF.mjs → AccountListItem-DRDxaRBe.mjs} +2 -2
- package/dist/{AccountStore-B3S_p5Qa.mjs → AccountStore-CGrjC2Oe.mjs} +1 -1
- package/dist/BeatStore-C7-PIhpB.mjs +163 -0
- package/dist/{BudgetUtil-DalEN9--.mjs → BudgetUtil-H9igoNVm.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DjeHNx71.mjs → CategorySelectorDrawer-hhDdSFHO.mjs} +1 -1
- package/dist/{Connect-BRLh-69J.mjs → Connect-CBBTL1HJ.mjs} +1 -1
- package/dist/{ConnectDrawer-5BpU4IQU.mjs → ConnectDrawer-DNnuF80E.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DxpSlJN7.mjs → ConnectionsDrawer-DX6d7uwJ.mjs} +2 -2
- package/dist/{CurrencyInput-CSJ3zMgE.mjs → CurrencyInput-BMbUVSvz.mjs} +1 -1
- package/dist/{EmbeddedCard-BqVpA1Jn.mjs → EmbeddedCard-B9JoBaan.mjs} +2 -2
- package/dist/{ExportCsvAction-BPjdEUXx.mjs → ExportCsvAction-BDFu6YIe.mjs} +2 -2
- package/dist/{GlobalAccountFilter-CZbiDwBH.mjs → GlobalAccountFilter-jkFxqPg6.mjs} +1 -1
- package/dist/{GoalStore-DmqM1ZfW.mjs → GoalStore-BBAEbf43.mjs} +1 -1
- package/dist/{Help-BFlcaOO_.mjs → Help-C_CM4gpK.mjs} +1 -1
- package/dist/{LineChart-jJVBE8V8.mjs → LineChart-CeZnCZ7j.mjs} +1 -1
- package/dist/{ListItemAction-Buv7tPLp.mjs → ListItemAction-CNpknVvo.mjs} +1 -1
- package/dist/{ManageIncome-n1ueMTrW.mjs → ManageIncome-BX2IqW57.mjs} +3 -3
- package/dist/{MicroWidgetContainer-CEcwdfti.mjs → MicroWidgetContainer-DAesImQ6.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BS4iG6cw.mjs → MiniWidgetContainer-BOv3n4iw.mjs} +1 -1
- package/dist/{NotificationSettings-DOgnTxzv.mjs → NotificationSettings-DatCL2Ej.mjs} +4 -4
- package/dist/{OriginalBalanceAction-6XAwp1UT.mjs → OriginalBalanceAction-CWQ0CK-T.mjs} +3 -3
- package/dist/{RecurringSettings-DxsDZAp1.mjs → RecurringSettings-DCplGEv_.mjs} +2 -2
- package/dist/{SpendingLegend-x3K9eXrQ.mjs → SpendingLegend-DLElSvH0.mjs} +1 -1
- package/dist/{TransactionDetails-Bpp1FDUI.mjs → TransactionDetails-C_skrQk8.mjs} +6 -6
- package/dist/{TransactionStore-DfaO_9m-.mjs → TransactionStore-amPYxHnA.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-C7dC9lDT.mjs → ViewMoreMicroCard-D1j0w64K.mjs} +1 -1
- package/dist/{WidgetContainer-_Fzy--dt.mjs → WidgetContainer-BPJoDkhL.mjs} +2 -2
- package/dist/accounts/index.es.js +13 -13
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +8 -8
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/Error.d.ts +2 -0
- package/dist/common/index.es.js +294 -323
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/index.es.js +8 -8
- package/dist/{exportTransactionsToCSV-B2Lp7AMl.mjs → exportTransactionsToCSV-CSvbZrvL.mjs} +1 -1
- package/dist/finstrong/index.es.js +10 -10
- package/dist/goals/index.es.js +10 -10
- package/dist/help/index.es.js +4 -4
- package/dist/{hooks-HwStH7q_.mjs → hooks-RzCoiTd0.mjs} +3 -3
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +2 -1
- package/dist/insights/index.es.js +516 -480
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +6 -6
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +9 -9
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +8 -8
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +12 -12
- package/dist/{useAccountDisplayName-SrQA7K_6.mjs → useAccountDisplayName-pliH6hz0.mjs} +1 -1
- package/dist/{useInsightsEnabled-DzvRm5Bo.mjs → useInsightsEnabled-CzJoG8xi.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-wkBTL5xx.mjs → useWidgetLoadTimer-BZjr-BiE.mjs} +1 -1
- package/package.json +1 -1
- package/dist/BeatStore-DuvvrljY.mjs +0 -81
package/dist/common/index.es.js
CHANGED
|
@@ -1,81 +1,79 @@
|
|
|
1
|
-
import { f as
|
|
2
|
-
import { C as
|
|
3
|
-
import { C as
|
|
4
|
-
import { D as
|
|
5
|
-
import { D as
|
|
6
|
-
import { D as
|
|
7
|
-
import { D as
|
|
8
|
-
import { D as
|
|
9
|
-
import { H } from "../Help-CgpJK03Q.mjs";
|
|
10
|
-
import { E as
|
|
11
|
-
import { I as
|
|
12
|
-
import { C as
|
|
13
|
-
import { I as
|
|
14
|
-
import { L as
|
|
15
|
-
import { M as
|
|
16
|
-
import { M as
|
|
17
|
-
import { jsxs as
|
|
18
|
-
import { css as
|
|
19
|
-
import { D as
|
|
20
|
-
import { S as
|
|
21
|
-
import { R as
|
|
22
|
-
import { T as
|
|
23
|
-
import { S as
|
|
24
|
-
import { S as
|
|
25
|
-
import { T as
|
|
26
|
-
import { A as
|
|
27
|
-
import { b as
|
|
28
|
-
import { a as
|
|
29
|
-
import { G as
|
|
30
|
-
import { C as
|
|
31
|
-
import { C as
|
|
32
|
-
import { C as
|
|
33
|
-
import { C as
|
|
34
|
-
import { D as
|
|
35
|
-
import { E as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import { G as
|
|
41
|
-
import { G as
|
|
42
|
-
import {
|
|
43
|
-
import
|
|
44
|
-
import {
|
|
45
|
-
import
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
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 { T as me } from "../TrendsStore-bYjIGqyR.mjs";
|
|
62
|
-
import { L as Ar } from "../TrendsStore-bYjIGqyR.mjs";
|
|
63
|
-
import { addMonths as fe } from "date-fns/addMonths";
|
|
1
|
+
import { f as N, a as F, b } from "../BudgetUtil-H9igoNVm.mjs";
|
|
2
|
+
import { C as pt, c as _t, d as ft, g as mt, e as yt, h as St, j as bt, k as wt } from "../BudgetUtil-H9igoNVm.mjs";
|
|
3
|
+
import { C as Dt } from "../CurrencyInput-BMbUVSvz.mjs";
|
|
4
|
+
import { D as At, S as Tt } from "../RecurringTransactions-DCt94TN4.mjs";
|
|
5
|
+
import { D as Bt, W as vt, u as Mt } from "../WidgetContainer-BPJoDkhL.mjs";
|
|
6
|
+
import { D as It } from "../Dialog-iLlBR8TG.mjs";
|
|
7
|
+
import { D as Lt } from "../Donut-SzzfZDHF.mjs";
|
|
8
|
+
import { D as Pt } from "../Drawer-XPaLYjiO.mjs";
|
|
9
|
+
import { H as G } from "../Help-CgpJK03Q.mjs";
|
|
10
|
+
import { E as Nt } from "../Help-CgpJK03Q.mjs";
|
|
11
|
+
import { I as Gt } from "../IconBacking-DgT8DCeh.mjs";
|
|
12
|
+
import { C as $ } from "../CashflowStore-BEi92kJg.mjs";
|
|
13
|
+
import { I as Ht } from "../CashflowStore-BEi92kJg.mjs";
|
|
14
|
+
import { L as qt } from "../Loader-CxeBwuPG.mjs";
|
|
15
|
+
import { M as Yt } from "../MicroWidgetContainer-DAesImQ6.mjs";
|
|
16
|
+
import { M as zt } from "../MiniWidgetContainer-BOv3n4iw.mjs";
|
|
17
|
+
import { jsxs as w, jsx as S } from "react/jsx-runtime";
|
|
18
|
+
import { css as H } from "@mxenabled/cssinjs";
|
|
19
|
+
import { D as W, a as q } from "../SingleSegmentDonut-PsRQPkmV.mjs";
|
|
20
|
+
import { S as jt } from "../SingleSegmentDonut-PsRQPkmV.mjs";
|
|
21
|
+
import { R as Zt } from "../ResponsiveButton-BNsV08Ud.mjs";
|
|
22
|
+
import { T as Q } from "../TransactionStore-amPYxHnA.mjs";
|
|
23
|
+
import { S as es } from "../TransactionStore-amPYxHnA.mjs";
|
|
24
|
+
import { S as ss } from "../StatusBar-CPfSXe80.mjs";
|
|
25
|
+
import { T as os } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
26
|
+
import { A as is } from "../Analytics-CzGzz_sE.mjs";
|
|
27
|
+
import { b as _ } from "../Category-Ccoew_sA.mjs";
|
|
28
|
+
import { a as ds, c as us, C as cs, P as ls } from "../Category-Ccoew_sA.mjs";
|
|
29
|
+
import { G as Y } from "../GoalStore-BBAEbf43.mjs";
|
|
30
|
+
import { C as gs } from "../GoalStore-BBAEbf43.mjs";
|
|
31
|
+
import { C as _s } from "../ConnectDrawer-DNnuF80E.mjs";
|
|
32
|
+
import { C as ms, f as ys, b as Ss, a as bs, g as ws, i as Cs } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
33
|
+
import { C as xs } from "../CurrencyText-oqd6cX3M.mjs";
|
|
34
|
+
import { D as Ts, O as Es, a as Bs, f as vs } from "../DateFormats-CaOj_4eI.mjs";
|
|
35
|
+
import { E as ks } from "../EmptyState-DHAkGsjk.mjs";
|
|
36
|
+
import { B as V } from "../BeatStore-C7-PIhpB.mjs";
|
|
37
|
+
import { E as Us } from "../BeatStore-C7-PIhpB.mjs";
|
|
38
|
+
import { G as Rs } from "../GlobalAccountFilter-jkFxqPg6.mjs";
|
|
39
|
+
import { makeAutoObservable as l, runInAction as c, reaction as L, autorun as z } from "mobx";
|
|
40
|
+
import { G as C } from "../GlobalCopyApi-DkS-2Zf_.mjs";
|
|
41
|
+
import { G as Os, t as Ns, v as Fs, W as Gs, d as $s, a as Hs, m as Ws, w as qs, l as Qs, x as Ys, y as Vs, g as zs, z as Ks, u as js, f as Xs, b as Zs, k as Js, A as er, s as tr, B as sr, c as rr, q as or, n as ar, C as ir, i as nr, r as dr, h as ur, D as cr, o as lr, p as hr } from "../hooks-RzCoiTd0.mjs";
|
|
42
|
+
import { A as K } from "../AccountStore-CGrjC2Oe.mjs";
|
|
43
|
+
import j from "posthog-js";
|
|
44
|
+
import { endOfMonth as R } from "date-fns/endOfMonth";
|
|
45
|
+
import { startOfMonth as P } from "date-fns/startOfMonth";
|
|
46
|
+
import { startOfToday as D } from "date-fns/startOfToday";
|
|
47
|
+
import { R as g, a as x, H as A, b as T, A as E, B, W as v, U as M } from "../WidgetApi-C0BA2cFX.mjs";
|
|
48
|
+
import { C as X } from "../CategoryStore-CA4NTaKH.mjs";
|
|
49
|
+
import { D as Z } from "../DebtsStore-BJlC2-yO.mjs";
|
|
50
|
+
import { F as J } from "../FinstrongStore-DYawCv1d.mjs";
|
|
51
|
+
import { A as ee, m as te, a as se, b as re } from "../InvestmentUtil-BItV7uEs.mjs";
|
|
52
|
+
import { M as oe } from "../MerchantStore-CyZTv-BM.mjs";
|
|
53
|
+
import { N as ae } from "../NetWorthStore-BY-B_hxy.mjs";
|
|
54
|
+
import { N as ie } from "../NotificationStore-DlAM5Ue0.mjs";
|
|
55
|
+
import { S as ne } from "../SettingsStore-BcbuKfFO.mjs";
|
|
56
|
+
import { R as de } from "../RecurringTransactionsStore-CFJYC7lI.mjs";
|
|
57
|
+
import { S as pr, T as _r } from "../RecurringTransactionsStore-CFJYC7lI.mjs";
|
|
58
|
+
import { T as ue } from "../TrendsStore-bYjIGqyR.mjs";
|
|
59
|
+
import { L as mr } from "../TrendsStore-bYjIGqyR.mjs";
|
|
60
|
+
import { addMonths as ce } from "date-fns/addMonths";
|
|
64
61
|
import { getMonth as f } from "date-fns/getMonth";
|
|
65
|
-
import { I as
|
|
66
|
-
import { L as
|
|
67
|
-
import { L as
|
|
68
|
-
import { S as
|
|
69
|
-
import { T as
|
|
70
|
-
import { a as
|
|
71
|
-
import { b as
|
|
72
|
-
import { j as
|
|
73
|
-
import {
|
|
74
|
-
import { u as
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import { u as
|
|
78
|
-
|
|
62
|
+
import { I as Sr, P as br, S as wr } from "../Account-BIKn4XEZ.mjs";
|
|
63
|
+
import { L as Dr } from "../ListItemAction-CNpknVvo.mjs";
|
|
64
|
+
import { L as Ar } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
|
|
65
|
+
import { S as Er } from "../SearchBox-CwDgvWVJ.mjs";
|
|
66
|
+
import { T as vr, a as Mr } from "../ToggleListItem-BLu_fWA2.mjs";
|
|
67
|
+
import { a as Ir, u as Ur, b as Lr } from "../Analytics-CxK7O19c.mjs";
|
|
68
|
+
import { b as Pr, a as Or } from "../Localization-CkQ49EKr.mjs";
|
|
69
|
+
import { j as Fr } from "../DateUtil-D0TO0DaZ.mjs";
|
|
70
|
+
import { alpha as le, darken as k, lighten as I } from "@mui/material";
|
|
71
|
+
import { u as $r } from "../useAccountDisplayName-pliH6hz0.mjs";
|
|
72
|
+
import { u as Wr } from "../useInsightsEnabled-CzJoG8xi.mjs";
|
|
73
|
+
import { useRef as he, useEffect as ge } from "react";
|
|
74
|
+
import { u as Qr } from "../useScreenSize-CeFhWTt_.mjs";
|
|
75
|
+
import { u as Vr } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
|
|
76
|
+
const it = [
|
|
79
77
|
{ id: g.Unknown, copy: "frequency_unknown" },
|
|
80
78
|
{ id: g.EveryWeek, copy: "frequency_every_week" },
|
|
81
79
|
{ id: g.EveryOtherWeek, copy: "frequency_every_other_week" },
|
|
@@ -84,27 +82,27 @@ const mt = [
|
|
|
84
82
|
{ id: g.EveryQuarter, copy: "frequency_every_quarter" },
|
|
85
83
|
{ id: g.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
|
|
86
84
|
{ id: g.EveryYear, copy: "frequency_every_year" }
|
|
87
|
-
],
|
|
85
|
+
], nt = {
|
|
88
86
|
ERROR: "ERROR",
|
|
89
87
|
LOADING: "LOADING",
|
|
90
88
|
SUCCESS: "SUCCESS"
|
|
91
|
-
},
|
|
92
|
-
const e =
|
|
93
|
-
return
|
|
89
|
+
}, dt = (o) => {
|
|
90
|
+
const e = he();
|
|
91
|
+
return ge(() => {
|
|
94
92
|
e.current = o;
|
|
95
93
|
}, [o]), e.current;
|
|
96
|
-
},
|
|
94
|
+
}, ut = ({
|
|
97
95
|
hasGap: o = !1,
|
|
98
96
|
segments: e,
|
|
99
|
-
size: t =
|
|
100
|
-
strokeWidth: s =
|
|
97
|
+
size: t = W,
|
|
98
|
+
strokeWidth: s = q,
|
|
101
99
|
children: r
|
|
102
100
|
}) => {
|
|
103
|
-
const a =
|
|
104
|
-
let
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
/* @__PURE__ */
|
|
101
|
+
const a = pe(t), i = (t - s) / 2, n = t / 2;
|
|
102
|
+
let h = -90 - (o ? 1 : 0), d = 0;
|
|
103
|
+
return /* @__PURE__ */ w("div", { className: `mx-cmn-multi-segment-donut ${a}`, children: [
|
|
104
|
+
/* @__PURE__ */ w("svg", { height: t, width: t, children: [
|
|
105
|
+
/* @__PURE__ */ S(
|
|
108
106
|
"circle",
|
|
109
107
|
{
|
|
110
108
|
cx: n,
|
|
@@ -115,25 +113,25 @@ const mt = [
|
|
|
115
113
|
strokeWidth: s
|
|
116
114
|
}
|
|
117
115
|
),
|
|
118
|
-
e.map((
|
|
116
|
+
e.map((p, m) => (h += 360 * d + (o ? 1 : 0), d = (p.percent - (o ? 0.3 : 0)) / 100, /* @__PURE__ */ S(
|
|
119
117
|
"circle",
|
|
120
118
|
{
|
|
121
119
|
cx: n,
|
|
122
120
|
cy: n,
|
|
123
121
|
fill: "none",
|
|
124
122
|
r: i,
|
|
125
|
-
stroke:
|
|
123
|
+
stroke: p.color,
|
|
126
124
|
strokeDasharray: 2 * Math.PI * i,
|
|
127
125
|
strokeDashoffset: 2 * Math.PI * i * (1 - d),
|
|
128
126
|
strokeWidth: s,
|
|
129
|
-
transform: `rotate(${
|
|
127
|
+
transform: `rotate(${h}, ${n}, ${n})`
|
|
130
128
|
},
|
|
131
|
-
|
|
129
|
+
m
|
|
132
130
|
)))
|
|
133
131
|
] }),
|
|
134
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ S("div", { className: "mx-cmn-multi-segment-donut-children", children: r })
|
|
135
133
|
] });
|
|
136
|
-
},
|
|
134
|
+
}, pe = (o) => H({
|
|
137
135
|
height: o,
|
|
138
136
|
marginTop: "-8px",
|
|
139
137
|
position: "relative",
|
|
@@ -145,34 +143,7 @@ const mt = [
|
|
|
145
143
|
top: "50%",
|
|
146
144
|
transform: "translate(-50%, -50%)"
|
|
147
145
|
}
|
|
148
|
-
}),
|
|
149
|
-
heading: o,
|
|
150
|
-
message: e,
|
|
151
|
-
iconName: t = "error",
|
|
152
|
-
buttonText: s,
|
|
153
|
-
onClick: r
|
|
154
|
-
}) => {
|
|
155
|
-
const { common: a } = J(), i = o ?? a?.error_heading, n = e ?? a?.error_message, l = s ?? a?.refresh_button;
|
|
156
|
-
return /* @__PURE__ */ p(C, { alignItems: "center", justifyContent: "center", style: { height: "100dvh" }, children: /* @__PURE__ */ b(
|
|
157
|
-
C,
|
|
158
|
-
{
|
|
159
|
-
sx: {
|
|
160
|
-
display: "flex",
|
|
161
|
-
padding: "48px 16px",
|
|
162
|
-
flexDirection: "column",
|
|
163
|
-
alignItems: "center"
|
|
164
|
-
},
|
|
165
|
-
children: [
|
|
166
|
-
/* @__PURE__ */ p(Z, { color: "action", name: t, size: 72 }),
|
|
167
|
-
/* @__PURE__ */ p(A, { bold: !0, color: "text.primary", mt: 24, variant: "h2", children: i }),
|
|
168
|
-
/* @__PURE__ */ p(A, { color: "text.secondary", variant: "subtitle1", children: n }),
|
|
169
|
-
r && /* @__PURE__ */ p(K, { color: "primary", onClick: () => {
|
|
170
|
-
r?.();
|
|
171
|
-
}, sx: { mt: 48 }, variant: "contained", children: l })
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
) });
|
|
175
|
-
}, bt = j(we), Ce = [
|
|
146
|
+
}), _e = [
|
|
176
147
|
"fontFamily",
|
|
177
148
|
"h1",
|
|
178
149
|
"h2",
|
|
@@ -184,34 +155,34 @@ const mt = [
|
|
|
184
155
|
"subtitle1",
|
|
185
156
|
"subtitle2",
|
|
186
157
|
"tiny"
|
|
187
|
-
],
|
|
158
|
+
], fe = [
|
|
188
159
|
{ key: "primary", light: "primary_color", dark: "primary_color_dark" },
|
|
189
160
|
{ key: "secondary", light: "neutral_color", dark: "neutral_color_dark" },
|
|
190
161
|
{ key: "error", light: "error_color", dark: "error_color_dark" },
|
|
191
162
|
{ key: "warning", light: "warning_color", dark: "warning_color_dark" },
|
|
192
163
|
{ key: "info", light: "info_color", dark: "info_color_dark" },
|
|
193
164
|
{ key: "success", light: "success_color", dark: "success_color_dark" }
|
|
194
|
-
],
|
|
195
|
-
const s = o.palette.mode === "dark", r = (t?.master?.style?.font_name || e?.system_font) ?? o.typography.fontFamily, a = (
|
|
196
|
-
lighter:
|
|
197
|
-
light:
|
|
198
|
-
main:
|
|
199
|
-
dark:
|
|
200
|
-
darker:
|
|
201
|
-
} :
|
|
202
|
-
|
|
203
|
-
|
|
165
|
+
], ct = (o, e, t) => {
|
|
166
|
+
const s = o.palette.mode === "dark", r = (t?.master?.style?.font_name || e?.system_font) ?? o.typography.fontFamily, a = (u, y) => u ? {
|
|
167
|
+
lighter: I(u, 0.5),
|
|
168
|
+
light: I(u, 0.25),
|
|
169
|
+
main: u,
|
|
170
|
+
dark: k(u, 0.25),
|
|
171
|
+
darker: k(u, 0.5)
|
|
172
|
+
} : y, i = Object.fromEntries(
|
|
173
|
+
fe.map(({ key: u, light: y, dark: O }) => [
|
|
174
|
+
u,
|
|
204
175
|
a(
|
|
205
|
-
e?.[s ?
|
|
206
|
-
o.palette[
|
|
176
|
+
e?.[s ? O : y],
|
|
177
|
+
o.palette[u]
|
|
207
178
|
)
|
|
208
179
|
])
|
|
209
180
|
), n = Object.fromEntries(
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
181
|
+
_e.map((u) => [
|
|
182
|
+
u,
|
|
183
|
+
u === "fontFamily" ? r : { fontFamily: r }
|
|
213
184
|
])
|
|
214
|
-
),
|
|
185
|
+
), h = {
|
|
215
186
|
MuiTabs: {
|
|
216
187
|
styleOverrides: {
|
|
217
188
|
indicator: { backgroundColor: i.primary.light }
|
|
@@ -221,12 +192,12 @@ const mt = [
|
|
|
221
192
|
styleOverrides: {
|
|
222
193
|
switchViewButton: {
|
|
223
194
|
color: i.primary.lighter,
|
|
224
|
-
"&:hover": { backgroundColor:
|
|
195
|
+
"&:hover": { backgroundColor: le(i.primary.light, 0.1) }
|
|
225
196
|
}
|
|
226
197
|
}
|
|
227
198
|
}
|
|
228
|
-
}, d = e?.button_corner_radius,
|
|
229
|
-
...
|
|
199
|
+
}, d = e?.button_corner_radius, p = e?.card_corner_radius, m = {
|
|
200
|
+
...h,
|
|
230
201
|
...d && {
|
|
231
202
|
MuiButton: {
|
|
232
203
|
styleOverrides: {
|
|
@@ -248,39 +219,39 @@ const mt = [
|
|
|
248
219
|
}
|
|
249
220
|
}
|
|
250
221
|
},
|
|
251
|
-
...
|
|
222
|
+
...p && {
|
|
252
223
|
MuiCard: {
|
|
253
|
-
styleOverrides: { root: { borderRadius: `${
|
|
224
|
+
styleOverrides: { root: { borderRadius: `${p}px` } }
|
|
254
225
|
},
|
|
255
226
|
MuiPaper: {
|
|
256
|
-
styleOverrides: { rounded: { borderRadius: `${
|
|
227
|
+
styleOverrides: { rounded: { borderRadius: `${p}px` } }
|
|
257
228
|
}
|
|
258
229
|
}
|
|
259
230
|
};
|
|
260
|
-
return { typography: n, palette: i, components:
|
|
231
|
+
return { typography: n, palette: i, components: m };
|
|
261
232
|
};
|
|
262
|
-
class
|
|
233
|
+
class me {
|
|
263
234
|
globalStore;
|
|
264
|
-
api = new
|
|
235
|
+
api = new C("/", "");
|
|
265
236
|
copy = {};
|
|
266
237
|
featureNamespace = "experiences";
|
|
267
238
|
isInitialized = !1;
|
|
268
239
|
constructor(e) {
|
|
269
|
-
this.globalStore = e, this.api = new
|
|
240
|
+
this.globalStore = e, this.api = new C(
|
|
270
241
|
e.endpoint,
|
|
271
242
|
e.sessionToken,
|
|
272
243
|
e.onError
|
|
273
|
-
),
|
|
244
|
+
), l(this);
|
|
274
245
|
}
|
|
275
246
|
loadCopy = async () => {
|
|
276
|
-
await this.getCopy(this.featureNamespace),
|
|
247
|
+
await this.getCopy(this.featureNamespace), c(() => {
|
|
277
248
|
this.isInitialized = !0;
|
|
278
249
|
});
|
|
279
250
|
};
|
|
280
251
|
getCopy = async (e, t = "") => {
|
|
281
252
|
try {
|
|
282
253
|
const s = await this.api.getGlobalCopy(e, t);
|
|
283
|
-
|
|
254
|
+
c(() => {
|
|
284
255
|
this.copy = s[e];
|
|
285
256
|
});
|
|
286
257
|
} catch (s) {
|
|
@@ -288,7 +259,7 @@ class De {
|
|
|
288
259
|
}
|
|
289
260
|
};
|
|
290
261
|
}
|
|
291
|
-
class
|
|
262
|
+
class ye {
|
|
292
263
|
globalStore;
|
|
293
264
|
survey = null;
|
|
294
265
|
currentQuestionIndex = 0;
|
|
@@ -296,7 +267,7 @@ class Ae {
|
|
|
296
267
|
response = null;
|
|
297
268
|
responses = {};
|
|
298
269
|
constructor(e) {
|
|
299
|
-
this.globalStore = e,
|
|
270
|
+
this.globalStore = e, l(this);
|
|
300
271
|
}
|
|
301
272
|
get isLastQuestion() {
|
|
302
273
|
return this.currentQuestionIndex === this.surveyQuestions.length - 1;
|
|
@@ -318,8 +289,8 @@ class Ae {
|
|
|
318
289
|
return this.survey ? this.survey.questions : [];
|
|
319
290
|
}
|
|
320
291
|
loadSurvey = (e = !1) => {
|
|
321
|
-
|
|
322
|
-
|
|
292
|
+
j.getActiveMatchingSurveys((t) => {
|
|
293
|
+
c(() => {
|
|
323
294
|
if (t.length > 0) {
|
|
324
295
|
const s = t.find((r) => r.id === this.surveyId);
|
|
325
296
|
s && (this.survey = s, this.currentQuestionIndex = 0, this.question = s.questions[0], this.response = null, this.responses = {});
|
|
@@ -337,11 +308,11 @@ class Ae {
|
|
|
337
308
|
this.response = e, this.question && (this.responses[`$survey_response_${this.question.id}`] = e);
|
|
338
309
|
};
|
|
339
310
|
}
|
|
340
|
-
class
|
|
341
|
-
api = new
|
|
311
|
+
class Se {
|
|
312
|
+
api = new x("/", "");
|
|
342
313
|
globalStore;
|
|
343
314
|
alert = "";
|
|
344
|
-
dateRange = { start:
|
|
315
|
+
dateRange = { start: P(D()), end: R(D()) };
|
|
345
316
|
budgets = [];
|
|
346
317
|
selectedBudget;
|
|
347
318
|
selectedSubBudget;
|
|
@@ -349,17 +320,17 @@ class Te {
|
|
|
349
320
|
theme = {};
|
|
350
321
|
merchantBudgets = [];
|
|
351
322
|
constructor(e) {
|
|
352
|
-
this.globalStore = e, this.api = new
|
|
323
|
+
this.globalStore = e, this.api = new x(e.endpoint, e.sessionToken, e.onError), l(this);
|
|
353
324
|
}
|
|
354
325
|
loadBudgetData = async () => {
|
|
355
|
-
this.globalStore.recurringTransactionsStore.isDataLoaded || await this.globalStore.recurringTransactionsStore.loadRepeatingTransactionData(), await this.loadBudgets(),
|
|
326
|
+
this.globalStore.recurringTransactionsStore.isDataLoaded || await this.globalStore.recurringTransactionsStore.loadRepeatingTransactionData(), await this.loadBudgets(), L(
|
|
356
327
|
() => this.detailedBudgets,
|
|
357
328
|
(e) => {
|
|
358
329
|
if (e) {
|
|
359
330
|
const t = this.selectedBudget;
|
|
360
|
-
t && (this.selectedBudget =
|
|
331
|
+
t && (this.selectedBudget = N(e, t.guid));
|
|
361
332
|
const s = this.selectedSubBudget;
|
|
362
|
-
s && s.parent_guid && (this.selectedSubBudget =
|
|
333
|
+
s && s.parent_guid && (this.selectedSubBudget = F(
|
|
363
334
|
e,
|
|
364
335
|
s.guid,
|
|
365
336
|
s.parent_guid
|
|
@@ -369,9 +340,9 @@ class Te {
|
|
|
369
340
|
);
|
|
370
341
|
};
|
|
371
342
|
get detailedBudgets() {
|
|
372
|
-
return
|
|
343
|
+
return b(
|
|
373
344
|
this.budgets.filter(
|
|
374
|
-
(e) => e.category_guid !==
|
|
345
|
+
(e) => e.category_guid !== _.INCOME && e.category_guid !== _.TRANSFER && e.category_guid !== _.INVESTMENTS
|
|
375
346
|
),
|
|
376
347
|
this.globalStore.categoryStore.detailedCategories,
|
|
377
348
|
this.globalStore.copyStore.copy.budgets,
|
|
@@ -380,13 +351,13 @@ class Te {
|
|
|
380
351
|
}
|
|
381
352
|
// TODO: Replace this with income from recurring transactions. Income budgets are deprecated.
|
|
382
353
|
get incomeBudget() {
|
|
383
|
-
return
|
|
354
|
+
return b(
|
|
384
355
|
this.budgets.filter((s) => !s.parent_guid),
|
|
385
356
|
this.globalStore.categoryStore.detailedCategories,
|
|
386
357
|
this.globalStore.copyStore.copy.budgets,
|
|
387
358
|
this.theme
|
|
388
359
|
).reduce(
|
|
389
|
-
(s, r) => r.category_guid !==
|
|
360
|
+
(s, r) => r.category_guid !== _.INCOME ? s : !s || r.percentage > s.percentage ? r : s,
|
|
390
361
|
void 0
|
|
391
362
|
)?.amount;
|
|
392
363
|
}
|
|
@@ -401,7 +372,7 @@ class Te {
|
|
|
401
372
|
addBudget = async (e, t, s = null) => {
|
|
402
373
|
try {
|
|
403
374
|
const r = await this.api.addBudget(e, t, s);
|
|
404
|
-
|
|
375
|
+
c(() => {
|
|
405
376
|
this.budgets.push(r);
|
|
406
377
|
});
|
|
407
378
|
} catch (r) {
|
|
@@ -410,7 +381,7 @@ class Te {
|
|
|
410
381
|
};
|
|
411
382
|
deleteBudget = async (e) => {
|
|
412
383
|
try {
|
|
413
|
-
await this.api.deleteBudget(e),
|
|
384
|
+
await this.api.deleteBudget(e), c(() => {
|
|
414
385
|
const t = this.budgets.findIndex((s) => s.guid === e);
|
|
415
386
|
t >= 0 && this.budgets.splice(t, 1);
|
|
416
387
|
});
|
|
@@ -460,7 +431,7 @@ class Te {
|
|
|
460
431
|
updateBudget = async (e) => {
|
|
461
432
|
try {
|
|
462
433
|
const t = await this.api.updateBudget(e);
|
|
463
|
-
|
|
434
|
+
c(() => {
|
|
464
435
|
const s = this.budgets.findIndex((r) => r.guid === e.guid);
|
|
465
436
|
s >= 0 && (this.budgets[s] = t);
|
|
466
437
|
});
|
|
@@ -477,7 +448,7 @@ class Te {
|
|
|
477
448
|
addMerchantBudget = async (e, t) => {
|
|
478
449
|
try {
|
|
479
450
|
const s = await this.api.addMerchantBudget(e, t);
|
|
480
|
-
return
|
|
451
|
+
return c(() => {
|
|
481
452
|
this.merchantBudgets.push(s);
|
|
482
453
|
}), { isSuccess: !0 };
|
|
483
454
|
} catch (s) {
|
|
@@ -487,7 +458,7 @@ class Te {
|
|
|
487
458
|
updateMerchantBudget = async (e) => {
|
|
488
459
|
try {
|
|
489
460
|
const { guid: t, amount: s } = e, r = await this.api.updateMerchantBudget(t, s);
|
|
490
|
-
return
|
|
461
|
+
return c(() => {
|
|
491
462
|
const a = this.merchantBudgets.findIndex((i) => i.guid === e.guid);
|
|
492
463
|
a >= 0 && (this.merchantBudgets[a] = r);
|
|
493
464
|
}), { isSuccess: !0 };
|
|
@@ -497,7 +468,7 @@ class Te {
|
|
|
497
468
|
};
|
|
498
469
|
deleteMerchantBudget = async (e) => {
|
|
499
470
|
try {
|
|
500
|
-
return await this.api.deleteMerchantBudget(e),
|
|
471
|
+
return await this.api.deleteMerchantBudget(e), c(() => {
|
|
501
472
|
const t = this.merchantBudgets.filter(
|
|
502
473
|
(s) => s.guid !== e
|
|
503
474
|
);
|
|
@@ -508,9 +479,9 @@ class Te {
|
|
|
508
479
|
}
|
|
509
480
|
};
|
|
510
481
|
}
|
|
511
|
-
const
|
|
482
|
+
const be = (o, e) => o.guid === "general" || o.guid === "insights" ? !0 : o.flags ? o.flags.every((t) => e[t]) : !1, we = (o, e) => {
|
|
512
483
|
const t = [];
|
|
513
|
-
for (const s of
|
|
484
|
+
for (const s of G) {
|
|
514
485
|
const r = e[s.guid];
|
|
515
486
|
if (!r) continue;
|
|
516
487
|
const a = {
|
|
@@ -521,18 +492,18 @@ const Ee = (o, e) => o.guid === "general" || o.guid === "insights" ? !0 : o.flag
|
|
|
521
492
|
label: r.topics[n]
|
|
522
493
|
}))
|
|
523
494
|
};
|
|
524
|
-
|
|
495
|
+
be(a, o) && t.push(a);
|
|
525
496
|
}
|
|
526
497
|
return t;
|
|
527
498
|
};
|
|
528
|
-
class
|
|
499
|
+
class Ce {
|
|
529
500
|
alert = { message: "", severity: void 0 };
|
|
530
|
-
api = new
|
|
501
|
+
api = new A("/", "");
|
|
531
502
|
appConfig;
|
|
532
503
|
globalStore;
|
|
533
504
|
isLoading = !1;
|
|
534
505
|
constructor(e) {
|
|
535
|
-
this.globalStore = e, this.api = new
|
|
506
|
+
this.globalStore = e, this.api = new A(e.endpoint, e.sessionToken, e.onError), l(this);
|
|
536
507
|
}
|
|
537
508
|
createSupportTicket = async (e) => {
|
|
538
509
|
try {
|
|
@@ -551,7 +522,7 @@ class ve {
|
|
|
551
522
|
const { client_communication_profile: e, client_profile: t } = this.globalStore.appDataStore.appData, {
|
|
552
523
|
help: { category_list: s }
|
|
553
524
|
} = this.globalStore.copyStore.copy;
|
|
554
|
-
return
|
|
525
|
+
return we(
|
|
555
526
|
{
|
|
556
527
|
...e,
|
|
557
528
|
...t,
|
|
@@ -561,21 +532,21 @@ class ve {
|
|
|
561
532
|
);
|
|
562
533
|
}
|
|
563
534
|
}
|
|
564
|
-
class
|
|
565
|
-
analysisType =
|
|
566
|
-
api = new
|
|
535
|
+
class De {
|
|
536
|
+
analysisType = ee.Stocks;
|
|
537
|
+
api = new T("/", "");
|
|
567
538
|
holdings = [];
|
|
568
539
|
holdingsLoaded = !1;
|
|
569
540
|
globalStore;
|
|
570
541
|
showConnectionsWidget = !1;
|
|
571
542
|
constructor(e) {
|
|
572
|
-
this.globalStore = e, this.api = new
|
|
543
|
+
this.globalStore = e, this.api = new T(e.endpoint, e.sessionToken, e.onError), l(this);
|
|
573
544
|
}
|
|
574
545
|
get analysisChartData() {
|
|
575
|
-
return
|
|
546
|
+
return te(se(this.visibleHoldings), this.analysisType);
|
|
576
547
|
}
|
|
577
548
|
get analysisDetails() {
|
|
578
|
-
return
|
|
549
|
+
return re(this.visibleHoldings)[this.analysisType] || {};
|
|
579
550
|
}
|
|
580
551
|
get visibleHoldings() {
|
|
581
552
|
return this.holdings.filter(
|
|
@@ -605,7 +576,7 @@ class ke {
|
|
|
605
576
|
const t = await this.api.updateHoldings(e), s = this.holdings.findIndex(({ guid: r }) => r === e.guid);
|
|
606
577
|
if (s >= 0) {
|
|
607
578
|
const r = [...this.holdings];
|
|
608
|
-
r[s] = t,
|
|
579
|
+
r[s] = t, c(() => {
|
|
609
580
|
this.holdings = r, this.holdingsLoaded = !0;
|
|
610
581
|
});
|
|
611
582
|
}
|
|
@@ -614,7 +585,7 @@ class ke {
|
|
|
614
585
|
}
|
|
615
586
|
};
|
|
616
587
|
}
|
|
617
|
-
const
|
|
588
|
+
const U = {
|
|
618
589
|
clientConfig: {},
|
|
619
590
|
clientStyleProfile: {},
|
|
620
591
|
config: {
|
|
@@ -718,15 +689,15 @@ const R = {
|
|
|
718
689
|
postHogPublicKey: "phc_1fVYJICC69TpW4wagp9o2XqQ8E7X98cAmcR5psSpfkE",
|
|
719
690
|
userFeatures: []
|
|
720
691
|
};
|
|
721
|
-
class
|
|
692
|
+
class xe {
|
|
722
693
|
globalStore;
|
|
723
|
-
api = new
|
|
724
|
-
bannerApi = new
|
|
694
|
+
api = new E("/", "");
|
|
695
|
+
bannerApi = new B("/");
|
|
725
696
|
appData = {};
|
|
726
697
|
isAppDataLoaded = !1;
|
|
727
698
|
banner = {};
|
|
728
699
|
constructor(e) {
|
|
729
|
-
this.globalStore = e, this.api = new
|
|
700
|
+
this.globalStore = e, this.api = new E(e.endpoint, e.sessionToken, e.onError), l(this);
|
|
730
701
|
}
|
|
731
702
|
get appConfig() {
|
|
732
703
|
return this.globalStore.appConfig;
|
|
@@ -747,7 +718,7 @@ class Me {
|
|
|
747
718
|
return this.appData.user_profile;
|
|
748
719
|
}
|
|
749
720
|
setAppData = (e) => {
|
|
750
|
-
this.appData = e, this.bannerApi = new
|
|
721
|
+
this.appData = e, this.bannerApi = new B(e.address?.bullseye || "/"), this.isAppDataLoaded = !0;
|
|
751
722
|
};
|
|
752
723
|
loadAppData = async () => {
|
|
753
724
|
try {
|
|
@@ -760,7 +731,7 @@ class Me {
|
|
|
760
731
|
loadBanner = async () => {
|
|
761
732
|
try {
|
|
762
733
|
const e = this.user?.guid ?? null, t = e ? await this.bannerApi.getBanner(e) : {};
|
|
763
|
-
|
|
734
|
+
c(() => {
|
|
764
735
|
this.banner = t;
|
|
765
736
|
});
|
|
766
737
|
} catch (e) {
|
|
@@ -771,26 +742,26 @@ class Me {
|
|
|
771
742
|
setUserCommunicationProfile = (e) => this.appData.user_communication_profile = e;
|
|
772
743
|
setUserProfile = (e) => this.appData.user_profile = e;
|
|
773
744
|
}
|
|
774
|
-
class
|
|
745
|
+
class Ae {
|
|
775
746
|
globalStore;
|
|
776
|
-
widgetApi = new
|
|
747
|
+
widgetApi = new v("/", "");
|
|
777
748
|
constructor(e) {
|
|
778
|
-
this.globalStore = e, this.widgetApi = new
|
|
749
|
+
this.globalStore = e, this.widgetApi = new v(e.endpoint, e.sessionToken), l(this);
|
|
779
750
|
}
|
|
780
751
|
loadWidget = async ({ widget: e = "connect_widget", mode: t = "light", ...s }) => await this.widgetApi.requestWidgetUrl({
|
|
781
752
|
widget_url: { widget_type: e, color_scheme: t, ...s }
|
|
782
753
|
});
|
|
783
754
|
}
|
|
784
|
-
class
|
|
755
|
+
class Te {
|
|
785
756
|
globalStore;
|
|
786
757
|
accountFilterMap = /* @__PURE__ */ new Map();
|
|
787
758
|
displayedDate = /* @__PURE__ */ new Date();
|
|
788
759
|
displayedDateRange = {
|
|
789
|
-
start:
|
|
790
|
-
end:
|
|
760
|
+
start: P(this.displayedDate),
|
|
761
|
+
end: R(this.displayedDate)
|
|
791
762
|
};
|
|
792
763
|
constructor(e) {
|
|
793
|
-
|
|
764
|
+
l(this), this.globalStore = e, L(
|
|
794
765
|
() => this.globalStore.accountStore.visibleAccounts,
|
|
795
766
|
(t) => {
|
|
796
767
|
this.populateAccountFilterMap(t);
|
|
@@ -840,7 +811,7 @@ class Ue {
|
|
|
840
811
|
};
|
|
841
812
|
};
|
|
842
813
|
get shouldDisableNextDate() {
|
|
843
|
-
const e = f(this.displayedDate), t = f(
|
|
814
|
+
const e = f(this.displayedDate), t = f(ce(/* @__PURE__ */ new Date(), 1));
|
|
844
815
|
return e === t;
|
|
845
816
|
}
|
|
846
817
|
get shouldDisablePrevDate() {
|
|
@@ -848,13 +819,13 @@ class Ue {
|
|
|
848
819
|
return e === t;
|
|
849
820
|
}
|
|
850
821
|
}
|
|
851
|
-
class
|
|
822
|
+
class Ee {
|
|
852
823
|
globalStore;
|
|
853
|
-
api = new
|
|
824
|
+
api = new M("/", "");
|
|
854
825
|
userFeatures = [];
|
|
855
826
|
userFeaturesLoaded = !1;
|
|
856
827
|
constructor(e) {
|
|
857
|
-
this.globalStore = e, this.api = new
|
|
828
|
+
this.globalStore = e, this.api = new M(e.endpoint, e.sessionToken, e.onError), l(this);
|
|
858
829
|
}
|
|
859
830
|
get userProfile() {
|
|
860
831
|
return this.globalStore.appDataStore.userProfile;
|
|
@@ -890,9 +861,9 @@ class Le {
|
|
|
890
861
|
}
|
|
891
862
|
};
|
|
892
863
|
}
|
|
893
|
-
class
|
|
864
|
+
class lt {
|
|
894
865
|
// Global properties
|
|
895
|
-
appConfig =
|
|
866
|
+
appConfig = U;
|
|
896
867
|
endpoint = "/";
|
|
897
868
|
sessionToken = "";
|
|
898
869
|
onError;
|
|
@@ -922,8 +893,8 @@ class Ct {
|
|
|
922
893
|
userStore;
|
|
923
894
|
// UI Stores
|
|
924
895
|
globalUiStore;
|
|
925
|
-
constructor(e =
|
|
926
|
-
this.appConfig = e, this.endpoint = t, this.sessionToken = e.options.session_token ?? "", this.onError = s, this.onStoreUpdate = r, this.accountStore = new
|
|
896
|
+
constructor(e = U, t = "/", s, r) {
|
|
897
|
+
this.appConfig = e, this.endpoint = t, this.sessionToken = e.options.session_token ?? "", this.onError = s, this.onStoreUpdate = r, this.accountStore = new K(this), this.appDataStore = new xe(this), this.analyticsStore = new ye(this), this.beatStore = new V(this), this.budgetsStore = new Se(this), this.cashflowStore = new $(this), this.categoryStore = new X(this), this.connectStore = new Ae(this), this.copyStore = new me(this), this.debtsStore = new Z(this), this.finstrongStore = new J(this), this.goalStore = new Y(this), this.helpStore = new Ce(this), this.holdingStore = new De(this), this.merchantStore = new oe(this), this.netWorthStore = new ae(this), this.notificationStore = new ie(this), this.recurringTransactionsStore = new de(this), this.settingsStore = new ne(this), this.transactionStore = new Q(this), this.trendsStore = new ue(this), this.userStore = new Ee(this), this.globalUiStore = new Te(this), l(this), z(() => {
|
|
927
898
|
const { transactions: a } = this.transactionStore;
|
|
928
899
|
this.emitUpdate({
|
|
929
900
|
transactions: a
|
|
@@ -954,122 +925,122 @@ class Ct {
|
|
|
954
925
|
institutions: a,
|
|
955
926
|
transactionRules: i,
|
|
956
927
|
transactions: n,
|
|
957
|
-
userFeatures:
|
|
928
|
+
userFeatures: h,
|
|
958
929
|
merchantBudgets: d
|
|
959
930
|
} = {}) => {
|
|
960
|
-
(!t || !
|
|
931
|
+
(!t || !h) && await this.loadConfigData(), t && this.appDataStore.setAppData(t), h && this.userStore.setUserFeatures(h), e && (await this.accountStore.loadMembers(), a && this.accountStore.setInstitutions(a), this.accountStore.setAccounts(e)), s && this.transactionStore.setAssociatedBeats(s), r && this.categoryStore.setCategories(r), n && this.transactionStore.setTransactions(n), i && this.transactionStore.setTransactionRules(i), d && this.budgetsStore.setMerchantBudgets(d);
|
|
961
932
|
};
|
|
962
933
|
}
|
|
963
934
|
export {
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
935
|
+
is as ANALYTICS_EVENTS,
|
|
936
|
+
pt as Calendar,
|
|
937
|
+
_t as CalendarSelectionTypes,
|
|
938
|
+
ds as CategoryColors,
|
|
939
|
+
us as CategoryGuidToName,
|
|
940
|
+
_ as CategoryGuids,
|
|
941
|
+
cs as CategoryIcon,
|
|
942
|
+
gs as ConnectCard,
|
|
943
|
+
_s as ConnectDrawer,
|
|
944
|
+
ms as CurrencyCodes,
|
|
945
|
+
ft as CurrencyDialog,
|
|
946
|
+
Dt as CurrencyInput,
|
|
947
|
+
xs as CurrencyText,
|
|
948
|
+
Ts as DATE_FORMATS_INTL,
|
|
949
|
+
W as DEFAULT_DONUT_SIZE,
|
|
950
|
+
q as DEFAULT_STROKE_WIDTH,
|
|
951
|
+
At as DataRow,
|
|
952
|
+
Bt as DateRangeSelector,
|
|
953
|
+
It as Dialog,
|
|
954
|
+
Lt as Donut,
|
|
955
|
+
Pt as Drawer,
|
|
956
|
+
ks as EmptyState,
|
|
957
|
+
Us as Error,
|
|
958
|
+
Nt as ErrorBoundary,
|
|
959
|
+
Rs as GlobalAccountFilter,
|
|
960
|
+
me as GlobalCopyStore,
|
|
961
|
+
Os as GlobalDataContext,
|
|
962
|
+
Ns as GlobalDataProvider,
|
|
963
|
+
lt as GlobalStore,
|
|
964
|
+
Sr as INCOME_ACCOUNT_TYPES,
|
|
965
|
+
Gt as IconBacking,
|
|
966
|
+
Ht as InformationTooltip,
|
|
967
|
+
nt as LOADING_STATUS,
|
|
968
|
+
Dr as ListItemAction,
|
|
969
|
+
mr as ListItemRow,
|
|
970
|
+
Ar as ListItemWrapper,
|
|
971
|
+
qt as Loader,
|
|
972
|
+
Yt as MicroWidgetContainer,
|
|
973
|
+
zt as MiniWidgetContainer,
|
|
974
|
+
ut as MultiSegmentDonut,
|
|
975
|
+
Es as ORDINAL_DATE_FORMAT,
|
|
976
|
+
Bs as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
977
|
+
br as PAYMENT_ACCOUNT_TYPES,
|
|
978
|
+
ls as PaymentCategories,
|
|
979
|
+
it as RECURRENCE_COPY,
|
|
980
|
+
Zt as ResponsiveButton,
|
|
981
|
+
wr as SPENDING_ACCOUNT_TYPES,
|
|
982
|
+
Er as SearchBox,
|
|
983
|
+
Tt as Select,
|
|
984
|
+
es as SelectionBox,
|
|
985
|
+
jt as SingleSegmentDonut,
|
|
986
|
+
pr as Sizes,
|
|
987
|
+
ss as StatusBar,
|
|
988
|
+
_r as TOUCH_TARGET,
|
|
989
|
+
os as TabContentContainer,
|
|
990
|
+
vr as ToggleButtonListItem,
|
|
991
|
+
Mr as ToggleListItem,
|
|
992
|
+
Ee as UserStore,
|
|
993
|
+
vt as WidgetContainer,
|
|
994
|
+
Fs as WidgetContainerContext,
|
|
995
|
+
Gs as WidgetContainerProvider,
|
|
996
|
+
Ir as analyticsSession,
|
|
997
|
+
Pr as buildDynamicCopy,
|
|
998
|
+
Or as buildPluralCopy,
|
|
999
|
+
ys as formatCurrency,
|
|
1000
|
+
vs as formatDate,
|
|
1001
|
+
Ss as formatOrdinal,
|
|
1002
|
+
bs as formatPercentage,
|
|
1003
|
+
Fr as fromTimestampToMonthYear,
|
|
1004
|
+
mt as getCategory,
|
|
1005
|
+
yt as getCategoryTotalsByParent,
|
|
1006
|
+
ct as getClientTheme,
|
|
1007
|
+
ws as getCurrencyCodes,
|
|
1008
|
+
St as getDetailedCategory,
|
|
1009
|
+
bt as getDetailedSubCategory,
|
|
1010
|
+
wt as isIncome,
|
|
1011
|
+
Cs as isValidNumber,
|
|
1012
|
+
$r as useAccountDisplayName,
|
|
1013
|
+
$s as useAccountStore,
|
|
1014
|
+
Hs as useAppConfig,
|
|
1015
|
+
Ws as useBudgetsStore,
|
|
1016
|
+
qs as useCashflowStore,
|
|
1017
|
+
Qs as useCategoryStore,
|
|
1018
|
+
Ur as useCombineEvents,
|
|
1019
|
+
Lr as useCombinePageviews,
|
|
1020
|
+
Ys as useDebtStore,
|
|
1021
|
+
Vs as useError,
|
|
1022
|
+
zs as useEvent,
|
|
1023
|
+
Ks as useFinstrongStore,
|
|
1024
|
+
js as useGlobalCopyStore,
|
|
1025
|
+
Xs as useGlobalStore,
|
|
1026
|
+
Zs as useGlobalUiStore,
|
|
1027
|
+
Js as useGoalStore,
|
|
1028
|
+
er as useHelpStore,
|
|
1029
|
+
tr as useHoldingStore,
|
|
1030
|
+
Wr as useInsightsEnabled,
|
|
1031
|
+
sr as useLoad,
|
|
1032
|
+
rr as useMerchantStore,
|
|
1033
|
+
or as useNetWorthStore,
|
|
1034
|
+
ar as useNotificationStore,
|
|
1035
|
+
ir as usePageView,
|
|
1036
|
+
dt as usePrevious,
|
|
1037
|
+
nr as useRecurringTransactionsStore,
|
|
1038
|
+
Qr as useScreenSize,
|
|
1039
|
+
dr as useSettingsStore,
|
|
1040
|
+
ur as useTransactionStore,
|
|
1041
|
+
cr as useTrendsStore,
|
|
1042
|
+
lr as useUserStore,
|
|
1043
|
+
hr as useWidgetContainerProvider,
|
|
1044
|
+
Mt as useWidgetHeaderStyles,
|
|
1045
|
+
Vr as useWidgetLoadTimer
|
|
1075
1046
|
};
|