@mx-cartographer/experiences 6.26.33-alpha.mm0 → 7.0.0-alpha.mega1
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 +2 -3
- package/dist/Account-DY6nxO7y.mjs +30 -0
- package/dist/AccountDetailsContent-DvPs81kL.mjs +677 -0
- package/dist/AccountDetailsHeader-W2U7ZVm_.mjs +119 -0
- package/dist/AccountFields-DAVcbZy5.mjs +135 -0
- package/dist/AccountListItem-DFlbdcmT.mjs +90 -0
- package/dist/AccountStore-CU7qV3vg.mjs +230 -0
- package/dist/Accounts-BLlrQA5m.mjs +9 -0
- package/dist/BeatApi-DLu87ijw.mjs +21 -0
- package/dist/BeatStore-By4aGoRM.mjs +81 -0
- package/dist/BudgetUtil-Ci1TN0J5.mjs +101 -0
- package/dist/CashflowStore-D9Dpuz7X.mjs +91 -0
- package/dist/Category-5S6uwuXz.mjs +301 -0
- package/dist/CategorySelectorDrawer-rHyHHYuh.mjs +397 -0
- package/dist/CategoryStore-B5EW6I1d.mjs +183 -0
- package/dist/CategoryUtil-DRyruNgi.mjs +78 -0
- package/dist/ConnectDrawer-D9cR5phc.mjs +508 -0
- package/dist/ConnectionsDrawer-BzGqljSp.mjs +52 -0
- package/dist/CurrencyInput-D74cemI2.mjs +83 -0
- package/dist/CurrencyText-YUhH2caW.mjs +20 -0
- package/dist/DateUtil-BcuH7ErC.mjs +48 -0
- package/dist/DebtsStore-S0l9kr0r.mjs +60 -0
- package/dist/Dialog-CWW597AF.mjs +123 -0
- package/dist/Donut-1UMNcG67.mjs +57 -0
- package/dist/Drawer-kEE73B87.mjs +113 -0
- package/dist/EmptyState-Dcb-o2tl.mjs +55 -0
- package/dist/Fetch-CkFKy79O.mjs +116 -0
- package/dist/FinstrongStore-mkALvztw.mjs +101 -0
- package/dist/GoalStore-DioeeL-s.mjs +263 -0
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/Help-DhcC-C05.mjs +320 -0
- package/dist/Help-DpYRO8oA.mjs +3181 -0
- package/dist/IconBacking-B9oC6uL2.mjs +39 -0
- package/dist/InvestmentUtil-jOyOgzIB.mjs +134 -0
- package/dist/LineChart-CcyX38kK.mjs +499 -0
- package/dist/ListItemAction-BabpYivr.mjs +69 -0
- package/dist/Loader-Dp1P2gNw.mjs +14 -0
- package/dist/Localization-2MODESHW.mjs +30 -0
- package/dist/ManageIncome-ndMuhJMG.mjs +535 -0
- package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
- package/dist/MicroWidgetContainer-CsvHLYKX.mjs +45 -0
- package/dist/MiniWidgetContainer-BoOp-A05.mjs +39 -0
- package/dist/NetWorthStore-PD-RUe09.mjs +150 -0
- package/dist/Notification-AMGWM1Al.mjs +78 -0
- package/dist/NotificationSettings-VhHuMAFU.mjs +667 -0
- package/dist/NotificationStore-DHtSGySy.mjs +67 -0
- package/dist/NumberFormatting-CtWHhyBX.mjs +40 -0
- package/dist/OriginalBalanceAction-D39mx6uE.mjs +115 -0
- package/dist/RecurringSettings-D_HnMYZP.mjs +57 -0
- package/dist/RecurringTransactionsStore-BKLD3OWo.mjs +263 -0
- package/dist/RepeatingTransaction-BPWfaB3f.mjs +282 -0
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/SettingsStore-CE7jDVFL.mjs +265 -0
- package/dist/SingleSegmentDonut-BgbLgwHi.mjs +69 -0
- package/dist/SpendingData-BkrxzHdr.mjs +55 -0
- package/dist/StatusBar-BK_uYHAB.mjs +30 -0
- package/dist/TabContentContainer-j01JYR_7.mjs +21 -0
- package/dist/Transaction-CA0FW2Ij.mjs +312 -0
- package/dist/TransactionApi-DbbcjI2L.mjs +86 -0
- package/dist/TransactionDetails-WBHFmbxL.mjs +1283 -0
- package/dist/TransactionStore-CeLdmVnC.mjs +669 -0
- package/dist/TrendsStore-BHJUapXF.mjs +487 -0
- package/dist/ViewMoreMicroCard-CAPFNz-J.mjs +1959 -0
- package/dist/WidgetContainer-DWCusxYI.mjs +556 -0
- package/dist/accounts/index.es.js +752 -0
- package/dist/analytics/index.es.js +171 -0
- package/dist/budgets/index.es.js +1075 -0
- package/dist/cashflow/index.es.js +1098 -0
- package/dist/categories/index.es.js +9 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/charts/LineChart.d.ts +0 -1
- package/dist/common/constants/Analytics.d.ts +10 -20
- package/dist/common/context/hooks.d.ts +13 -13
- package/dist/common/index.es.js +1451 -0
- package/dist/dashboard/index.es.js +181 -0
- package/dist/debts/index.es.js +1460 -0
- package/dist/exportTransactionsToCSV-CmwsKl2D.mjs +47 -0
- package/dist/finstrong/index.es.js +1455 -0
- package/dist/goals/index.es.js +1209 -0
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/index.es.js +14 -0
- package/dist/hooks-30y_BLwc.mjs +71 -0
- package/dist/index.d.ts +0 -22
- package/dist/insights/index.d.ts +1 -0
- package/dist/insights/index.es.js +4 -0
- package/dist/investments/index.es.js +1638 -0
- package/dist/merchants/index.es.js +79 -0
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +0 -1
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +0 -1
- package/dist/microinsights/index.es.js +16 -0
- package/dist/networth/index.es.js +576 -0
- package/dist/notifications/index.es.js +192 -0
- package/dist/recurringtransactions/index.es.js +879 -0
- package/dist/settings/index.es.js +879 -0
- package/dist/spending/index.es.js +570 -0
- package/dist/transactions/index.es.js +587 -0
- package/dist/trends/index.es.js +1086 -0
- package/dist/useCombineEvents-DaDBSR_1.mjs +92 -0
- package/dist/useDimensions-27p2evRx.mjs +36 -0
- package/dist/useScreenSize-B6JyS_Lj.mjs +36 -0
- package/package.json +155 -3
- package/dist/index.es.js +0 -30564
- package/dist/index.es.js.map +0 -1
- package/dist/trends/constants/TrendsWidget.d.ts +0 -3
@@ -0,0 +1,263 @@
|
|
1
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
2
|
+
import u from "react";
|
3
|
+
import g from "@mui/material/Button";
|
4
|
+
import _ from "@mui/material/Card";
|
5
|
+
import R from "@mui/material/CardContent";
|
6
|
+
import G from "@mui/material/CardHeader";
|
7
|
+
import C from "@mui/material/Stack";
|
8
|
+
import { AccountBalance as f, ChevronRight as I } from "@mxenabled/mx-icons";
|
9
|
+
import { Text as A } from "@mxenabled/mxui";
|
10
|
+
import { j as N } from "./ConnectDrawer-D9cR5phc.mjs";
|
11
|
+
import { j as O } from "./hooks-30y_BLwc.mjs";
|
12
|
+
import { makeAutoObservable as p, runInAction as i } from "mobx";
|
13
|
+
import { F as w, A as s } from "./Fetch-CkFKy79O.mjs";
|
14
|
+
const V = ({ description: o, label: t, title: e }) => {
|
15
|
+
const { config: r } = O(), [n, a] = u.useState(!1);
|
16
|
+
if (r.show_connections_widget_in_master)
|
17
|
+
return /* @__PURE__ */ d(u.Fragment, { children: [
|
18
|
+
/* @__PURE__ */ d(_, { sx: { m: 24 }, children: [
|
19
|
+
/* @__PURE__ */ l(
|
20
|
+
G,
|
21
|
+
{
|
22
|
+
avatar: /* @__PURE__ */ l(f, {}),
|
23
|
+
sx: { ".MuiCardHeader-avatar": { mr: 8 } },
|
24
|
+
title: /* @__PURE__ */ l(A, { bold: !0, variant: "Body", children: e })
|
25
|
+
}
|
26
|
+
),
|
27
|
+
/* @__PURE__ */ l(R, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ d(C, { alignItems: "flex-start", spacing: 2, children: [
|
28
|
+
/* @__PURE__ */ l(A, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: o }),
|
29
|
+
/* @__PURE__ */ l(
|
30
|
+
g,
|
31
|
+
{
|
32
|
+
endIcon: /* @__PURE__ */ l(I, {}),
|
33
|
+
onClick: () => a(!0),
|
34
|
+
sx: {
|
35
|
+
pl: 0,
|
36
|
+
":hover": {
|
37
|
+
bgcolor: "unset"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
variant: "text",
|
41
|
+
children: t
|
42
|
+
}
|
43
|
+
)
|
44
|
+
] }) })
|
45
|
+
] }),
|
46
|
+
/* @__PURE__ */ l(
|
47
|
+
N,
|
48
|
+
{
|
49
|
+
onClose: () => a(!1),
|
50
|
+
showConnectWidget: n,
|
51
|
+
title: t
|
52
|
+
}
|
53
|
+
)
|
54
|
+
] });
|
55
|
+
};
|
56
|
+
var c = /* @__PURE__ */ ((o) => (o[o.DEBT_TRACK = 1] = "DEBT_TRACK", o[o.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", o[o.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", o[o.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", o))(c || {}), S = /* @__PURE__ */ ((o) => (o[o.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", o[o.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", o[o.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", o[o.ACTION = 4] = "ACTION", o))(S || {}), L = /* @__PURE__ */ ((o) => (o[o.AUTOMOBILE = 1] = "AUTOMOBILE", o[o.COLLEGE = 2] = "COLLEGE", o[o.HOUSE = 3] = "HOUSE", o[o.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", o[o.VACATION = 5] = "VACATION", o[o.ELECTRONIC = 6] = "ELECTRONIC", o[o.OTHER = 7] = "OTHER", o[o.RETIREMENT = 8] = "RETIREMENT", o[o.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", o[o.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", o[o.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", o[o.CREDIT_CARD = 12] = "CREDIT_CARD", o[o.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", o[o.LOANS = 14] = "LOANS", o))(L || {});
|
57
|
+
class m {
|
58
|
+
fetchInstance;
|
59
|
+
constructor(t, e) {
|
60
|
+
this.fetchInstance = new w(t, e);
|
61
|
+
}
|
62
|
+
addGoal = async (t) => this.fetchInstance.post(s.GOALS, t).then((e) => e.goal);
|
63
|
+
addRetirementGoal = async (t) => this.fetchInstance.post(s.RETIREMENT_GOALS, t).then((e) => e.retirement_goal);
|
64
|
+
addRetirementGoalAccount = async (t) => this.fetchInstance.post(s.RETIREMENT_GOAL_ACCOUNTS, t).then((e) => e.retirement_goal_account);
|
65
|
+
getGoalByGuid = async (t) => this.fetchInstance.get(`${s.GOALS}/${t}`).then((e) => e.goal);
|
66
|
+
getGoals = async () => this.fetchInstance.get(s.GOALS).then((t) => t.goals);
|
67
|
+
getMonthlyCashFlowProfile = async () => this.fetchInstance.get(s.MONTHLY_CASH_FLOW_PROFILE).then((t) => t.monthly_cash_flow_profile);
|
68
|
+
getRetirementGoals = async () => this.fetchInstance.get(s.RETIREMENT_GOALS).then((t) => t.retirement_goals);
|
69
|
+
getRetirementGoalAccounts = async () => this.fetchInstance.get(s.RETIREMENT_GOAL_ACCOUNTS).then((t) => t.retirement_goal_accounts);
|
70
|
+
removeGoal = async (t) => this.fetchInstance.delete(`${s.GOALS}/${t}`).then((e) => e);
|
71
|
+
removeRetirementGoal = async (t) => this.fetchInstance.delete(`${s.RETIREMENT_GOALS}/${t}`).then((e) => e);
|
72
|
+
removeRetirementGoalAccount = async (t) => this.fetchInstance.delete(`${s.RETIREMENT_GOAL_ACCOUNTS}/${t}`).then((e) => e);
|
73
|
+
reorderGoals = async (t) => this.fetchInstance.post(`${s.GOALS}/reposition`, { goals: t }).then((e) => e.goals);
|
74
|
+
updateGoal = async (t) => this.fetchInstance.put(`${s.GOALS}/${t.guid}`, t).then((e) => e.goal);
|
75
|
+
updateMonthlyCashFlowProfile = async (t) => this.fetchInstance.put(`${s.MONTHLY_CASH_FLOW_PROFILE}`, t).then((e) => e.monthly_cash_flow_profile);
|
76
|
+
updateRetirementGoal = async (t) => this.fetchInstance.put(`${s.RETIREMENT_GOALS}/${t.guid}`, t).then((e) => e.retirement_goal);
|
77
|
+
}
|
78
|
+
class Y {
|
79
|
+
globalStore;
|
80
|
+
api = new m("/", "");
|
81
|
+
alert = "";
|
82
|
+
goals = [];
|
83
|
+
retirementGoalAccounts = [];
|
84
|
+
newRetirementGoalAccounts = [];
|
85
|
+
selectedGoal = void 0;
|
86
|
+
monthlyCashFlowProfile = void 0;
|
87
|
+
goalsLoaded = !1;
|
88
|
+
constructor(t) {
|
89
|
+
this.globalStore = t, this.api = new m(t.endpoint, t.sessionToken), p(this);
|
90
|
+
}
|
91
|
+
get orderedGoals() {
|
92
|
+
return this.goals.slice().sort((t, e) => t.position - e.position);
|
93
|
+
}
|
94
|
+
get debtGoals() {
|
95
|
+
return this.orderedGoals.filter((t) => t.track_type === c.DEBT_TRACK);
|
96
|
+
}
|
97
|
+
get retirmentGoals() {
|
98
|
+
return this.orderedGoals.filter((t) => t.track_type === c.RETIREMENT_TRACK);
|
99
|
+
}
|
100
|
+
get savingGoals() {
|
101
|
+
return this.orderedGoals.filter((t) => t.track_type === c.SAVINGS_TRACK);
|
102
|
+
}
|
103
|
+
get ongoingGoalsForMicroWidget() {
|
104
|
+
const t = this.goals.filter(
|
105
|
+
(r) => !r.is_complete && r.track_type !== c.EMERGENCY_FUND_TRACK && r.track_type !== null
|
106
|
+
), e = [
|
107
|
+
c.SAVINGS_TRACK,
|
108
|
+
c.DEBT_TRACK,
|
109
|
+
c.RETIREMENT_TRACK
|
110
|
+
];
|
111
|
+
return t.sort((r, n) => {
|
112
|
+
const a = r.track_type ? e.indexOf(r.track_type) : -1, h = n.track_type ? e.indexOf(n.track_type) : -1;
|
113
|
+
return a - h;
|
114
|
+
}).slice(0, 3);
|
115
|
+
}
|
116
|
+
addGoal = async (t) => {
|
117
|
+
try {
|
118
|
+
const e = await this.api.addGoal(t);
|
119
|
+
i(() => {
|
120
|
+
this.goals = [...this.goals, e];
|
121
|
+
});
|
122
|
+
} catch (e) {
|
123
|
+
console.error(`Error occurred while adding goal: ${e}`);
|
124
|
+
}
|
125
|
+
};
|
126
|
+
addRetirementGoal = async (t) => {
|
127
|
+
const e = this.globalStore.copyStore.copy.goals;
|
128
|
+
try {
|
129
|
+
const r = await this.api.addRetirementGoal(t), n = [];
|
130
|
+
for (const a of this.newRetirementGoalAccounts) {
|
131
|
+
const h = await this.api.addRetirementGoalAccount({
|
132
|
+
...a,
|
133
|
+
retirement_goal_guid: r.guid
|
134
|
+
});
|
135
|
+
n.push(h);
|
136
|
+
}
|
137
|
+
this.setNewRetirementGoalAccounts([]), i(() => {
|
138
|
+
this.goals = [
|
139
|
+
...this.goals,
|
140
|
+
{
|
141
|
+
...r,
|
142
|
+
amount: r.target_amount,
|
143
|
+
name: e.retirement,
|
144
|
+
track_type: c.RETIREMENT_TRACK
|
145
|
+
}
|
146
|
+
], this.retirementGoalAccounts = [...this.retirementGoalAccounts, ...n];
|
147
|
+
});
|
148
|
+
} catch (r) {
|
149
|
+
console.error(`Error occurred while adding retirement goal: ${r}`);
|
150
|
+
}
|
151
|
+
};
|
152
|
+
addRetirementGoalAccount = async (t) => {
|
153
|
+
try {
|
154
|
+
const e = await this.api.addRetirementGoalAccount(t);
|
155
|
+
i(() => {
|
156
|
+
this.retirementGoalAccounts = [...this.retirementGoalAccounts, e];
|
157
|
+
});
|
158
|
+
} catch (e) {
|
159
|
+
console.error(`Error occurred while adding retirement goal account: ${e}`);
|
160
|
+
}
|
161
|
+
};
|
162
|
+
loadGoals = async () => {
|
163
|
+
const t = this.globalStore.copyStore.copy.goals;
|
164
|
+
try {
|
165
|
+
const e = await this.api.getGoals(), r = await this.api.getRetirementGoals(), n = await this.api.getRetirementGoalAccounts(), a = await this.api.getMonthlyCashFlowProfile(), h = [
|
166
|
+
...e,
|
167
|
+
...r.map((E) => ({
|
168
|
+
...E,
|
169
|
+
amount: E.target_amount,
|
170
|
+
name: t.retirement,
|
171
|
+
track_type: c.RETIREMENT_TRACK
|
172
|
+
}))
|
173
|
+
];
|
174
|
+
i(() => {
|
175
|
+
this.goals = h, this.retirementGoalAccounts = n, this.monthlyCashFlowProfile = a, this.goalsLoaded = !0;
|
176
|
+
});
|
177
|
+
} catch (e) {
|
178
|
+
console.error(`Error occured while getting goals: ${e}`);
|
179
|
+
}
|
180
|
+
};
|
181
|
+
deleteGoal = async (t) => {
|
182
|
+
try {
|
183
|
+
await this.api.removeGoal(t), i(() => {
|
184
|
+
const e = this.goals.findIndex((r) => r.guid === t);
|
185
|
+
e >= 0 && this.goals.splice(e, 1);
|
186
|
+
});
|
187
|
+
} catch (e) {
|
188
|
+
console.error(`Error occured while deleting goal: ${e}`);
|
189
|
+
}
|
190
|
+
};
|
191
|
+
deleteRetirementGoal = async (t) => {
|
192
|
+
try {
|
193
|
+
const e = this.retirementGoalAccounts.filter(
|
194
|
+
(r) => r.retirement_goal_guid === t.guid
|
195
|
+
);
|
196
|
+
for (const r of e)
|
197
|
+
await this.deleteRetirementGoalAccount(r.guid);
|
198
|
+
await this.api.removeRetirementGoal(t.guid), i(() => {
|
199
|
+
const r = this.goals.findIndex((n) => n.guid === t.guid);
|
200
|
+
r >= 0 && this.goals.splice(r, 1);
|
201
|
+
});
|
202
|
+
} catch (e) {
|
203
|
+
console.error(`Error deleting retirement goal: ${e}`);
|
204
|
+
}
|
205
|
+
};
|
206
|
+
deleteRetirementGoalAccount = async (t) => {
|
207
|
+
try {
|
208
|
+
await this.api.removeRetirementGoalAccount(t), i(() => {
|
209
|
+
const e = this.retirementGoalAccounts.findIndex((r) => r.guid === t);
|
210
|
+
e >= 0 && this.retirementGoalAccounts.splice(e, 1);
|
211
|
+
});
|
212
|
+
} catch (e) {
|
213
|
+
console.error(`Error deleting retirement goal account: ${e}`);
|
214
|
+
}
|
215
|
+
};
|
216
|
+
reorderGoals = async (t) => {
|
217
|
+
try {
|
218
|
+
const e = await this.api.reorderGoals(t);
|
219
|
+
i(() => {
|
220
|
+
for (const r of e) {
|
221
|
+
const n = this.goals.findIndex((a) => a.guid === r.guid);
|
222
|
+
n >= 0 && (this.goals[n].position = r.position);
|
223
|
+
}
|
224
|
+
});
|
225
|
+
} catch (e) {
|
226
|
+
console.error(`Error reordering goals: ${e}`);
|
227
|
+
}
|
228
|
+
};
|
229
|
+
setAlert = (t) => this.alert = t;
|
230
|
+
setNewRetirementGoalAccounts = (t) => {
|
231
|
+
this.newRetirementGoalAccounts = t;
|
232
|
+
};
|
233
|
+
setSelectedGoal = (t) => this.selectedGoal = t;
|
234
|
+
updateGoal = async (t) => {
|
235
|
+
try {
|
236
|
+
const e = await this.api.updateGoal(t);
|
237
|
+
i(() => {
|
238
|
+
const r = this.goals.findIndex((n) => n.guid === t.guid);
|
239
|
+
r >= 0 && (this.goals[r] = e), this.selectedGoal?.guid === t.guid && this.setSelectedGoal(e);
|
240
|
+
});
|
241
|
+
} catch (e) {
|
242
|
+
console.error(`Error occurred while updating goal: ${e}`);
|
243
|
+
}
|
244
|
+
};
|
245
|
+
updateMonthlyCashFlowProfile = async (t) => {
|
246
|
+
try {
|
247
|
+
const e = await this.api.updateMonthlyCashFlowProfile(t);
|
248
|
+
i(() => {
|
249
|
+
this.monthlyCashFlowProfile = e;
|
250
|
+
});
|
251
|
+
} catch (e) {
|
252
|
+
console.error(`Error occurred while updating monthly Cash Flow profile: ${e}`);
|
253
|
+
}
|
254
|
+
};
|
255
|
+
}
|
256
|
+
export {
|
257
|
+
V as C,
|
258
|
+
S as G,
|
259
|
+
L as M,
|
260
|
+
c as T,
|
261
|
+
m as a,
|
262
|
+
Y as b
|
263
|
+
};
|
@@ -0,0 +1,320 @@
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
2
|
+
import o from "react";
|
3
|
+
import { H3 as n } from "@mxenabled/mxui";
|
4
|
+
const s = {
|
5
|
+
text: "Oops! Something went wrong."
|
6
|
+
};
|
7
|
+
class r extends o.Component {
|
8
|
+
state = {
|
9
|
+
hasError: !1
|
10
|
+
};
|
11
|
+
componentDidCatch(e, t) {
|
12
|
+
console.error("Uncaught error:", e, t);
|
13
|
+
}
|
14
|
+
static getDerivedStateFromError() {
|
15
|
+
return { hasError: !0 };
|
16
|
+
}
|
17
|
+
render() {
|
18
|
+
return this.state.hasError ? /* @__PURE__ */ i(n, { sx: { pt: 24 }, children: s.text }) : this.props.children;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
const g = r, d = [
|
22
|
+
{
|
23
|
+
flags: ["show_accounts_widget_in_master"],
|
24
|
+
guid: "accounts",
|
25
|
+
icon: "account_balance",
|
26
|
+
title: "Accounts",
|
27
|
+
topics: [
|
28
|
+
{
|
29
|
+
topicKey: "accounts-overview"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
topicKey: "trouble-adding-an-account"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
topicKey: "need-to-fix-a-broken-account"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
topicKey: "seeing-outdated-accounts-or-paid-off-loans"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
topicKey: "seeing-duplicate-accounts"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
{
|
46
|
+
flags: ["show_transactions_widget_in_master"],
|
47
|
+
guid: "transactions",
|
48
|
+
icon: "receipt_long",
|
49
|
+
title: "Transactions",
|
50
|
+
topics: [
|
51
|
+
{
|
52
|
+
topicKey: "transactions-overview"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
topicKey: "seeing-duplicate-transactions"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
topicKey: "missing-transactions"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
topicKey: "pending-transactions"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
topicKey: "exporting-transactions"
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
{
|
69
|
+
flags: ["show_spending_widget_in_master"],
|
70
|
+
guid: "spending",
|
71
|
+
icon: "donut_small",
|
72
|
+
title: "Spending",
|
73
|
+
topics: [
|
74
|
+
{
|
75
|
+
topicKey: "spending-widget-overview"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
topicKey: "not-seeing-all-spending-categories"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
topicKey: "spending-categories-seem-inaccurate"
|
82
|
+
}
|
83
|
+
]
|
84
|
+
},
|
85
|
+
{
|
86
|
+
flags: ["show_budgets_widget_in_master"],
|
87
|
+
guid: "budgets",
|
88
|
+
icon: "bubble_chart",
|
89
|
+
title: "Budgets",
|
90
|
+
topics: [
|
91
|
+
{
|
92
|
+
topicKey: "budgets-overview"
|
93
|
+
}
|
94
|
+
]
|
95
|
+
},
|
96
|
+
{
|
97
|
+
flags: ["show_trends_widget_in_master"],
|
98
|
+
guid: "trends",
|
99
|
+
icon: "multiline_chart",
|
100
|
+
title: "Trends",
|
101
|
+
topics: [
|
102
|
+
{
|
103
|
+
topicKey: "trends-overview"
|
104
|
+
}
|
105
|
+
]
|
106
|
+
},
|
107
|
+
{
|
108
|
+
flags: ["show_debts_widget_in_master"],
|
109
|
+
guid: "debts",
|
110
|
+
icon: "note_stack",
|
111
|
+
title: "Debts",
|
112
|
+
topics: [
|
113
|
+
{
|
114
|
+
topicKey: "debts-overview"
|
115
|
+
}
|
116
|
+
]
|
117
|
+
},
|
118
|
+
{
|
119
|
+
flags: ["show_net_worth_widget_in_master"],
|
120
|
+
guid: "networth",
|
121
|
+
icon: "elevation",
|
122
|
+
title: "Net Worth",
|
123
|
+
topics: [
|
124
|
+
{
|
125
|
+
topicKey: "net-worth-overview"
|
126
|
+
}
|
127
|
+
]
|
128
|
+
},
|
129
|
+
{
|
130
|
+
flags: ["show_goals_widget_in_master"],
|
131
|
+
guid: "goals",
|
132
|
+
icon: "trophy",
|
133
|
+
title: "Goals",
|
134
|
+
topics: [
|
135
|
+
{
|
136
|
+
topicKey: "goals-overview"
|
137
|
+
}
|
138
|
+
]
|
139
|
+
},
|
140
|
+
{
|
141
|
+
flags: ["show_cash_flow_widget_in_master"],
|
142
|
+
guid: "cashflow",
|
143
|
+
icon: "flowsheet",
|
144
|
+
title: "Cash Flow",
|
145
|
+
topics: [
|
146
|
+
{
|
147
|
+
topicKey: "cash-flow-overview"
|
148
|
+
}
|
149
|
+
]
|
150
|
+
},
|
151
|
+
{
|
152
|
+
flags: ["show_recurring_transactions_widget_in_master"],
|
153
|
+
guid: "recurring_transactions",
|
154
|
+
icon: "currency_exchange",
|
155
|
+
title: "Recurring Transactions",
|
156
|
+
topics: [
|
157
|
+
{
|
158
|
+
label: "Recurring Transactions Widget Overview",
|
159
|
+
topicKey: "overview"
|
160
|
+
}
|
161
|
+
]
|
162
|
+
},
|
163
|
+
{
|
164
|
+
flags: ["show_investments_widget_in_master"],
|
165
|
+
guid: "investments",
|
166
|
+
icon: "bid_landscape",
|
167
|
+
title: "Investments",
|
168
|
+
topics: [
|
169
|
+
{
|
170
|
+
topicKey: "investments-overview"
|
171
|
+
}
|
172
|
+
]
|
173
|
+
},
|
174
|
+
{
|
175
|
+
flags: ["show_notifications_widget_in_master"],
|
176
|
+
guid: "alerts",
|
177
|
+
icon: "account_balance",
|
178
|
+
title: "Alerts",
|
179
|
+
topics: [
|
180
|
+
{
|
181
|
+
topicKey: "notifications-overview"
|
182
|
+
}
|
183
|
+
]
|
184
|
+
},
|
185
|
+
{
|
186
|
+
guid: "general",
|
187
|
+
icon: "info",
|
188
|
+
title: "General",
|
189
|
+
topics: [
|
190
|
+
{
|
191
|
+
topicKey: "is-my-data-private-and-secure"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
topicKey: "why-are-some-of-my-transactions-uncategorized"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
topicKey: "why-cant-i-see-the-software"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
topicKey: "how-do-i-log-out-of-the-software"
|
201
|
+
}
|
202
|
+
]
|
203
|
+
},
|
204
|
+
{
|
205
|
+
guid: "insights",
|
206
|
+
icon: "lightbulb",
|
207
|
+
title: "Insights",
|
208
|
+
topics: [
|
209
|
+
{
|
210
|
+
topicKey: "insights-widget-overview"
|
211
|
+
}
|
212
|
+
]
|
213
|
+
},
|
214
|
+
{
|
215
|
+
flags: ["display_mobile_devices_in_settings"],
|
216
|
+
guid: "mobile",
|
217
|
+
icon: "phone_iphone",
|
218
|
+
title: "Mobile",
|
219
|
+
topics: [
|
220
|
+
{
|
221
|
+
topicKey: "mobile-devices-overview"
|
222
|
+
}
|
223
|
+
]
|
224
|
+
}
|
225
|
+
], _ = [
|
226
|
+
{
|
227
|
+
guid: "personal_information",
|
228
|
+
icon: "person",
|
229
|
+
topics: [
|
230
|
+
{
|
231
|
+
type: "external"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
type: "external"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
type: "internal"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
type: "external"
|
241
|
+
}
|
242
|
+
]
|
243
|
+
},
|
244
|
+
{
|
245
|
+
guid: "money_movement",
|
246
|
+
icon: "currency_exchange",
|
247
|
+
topics: [
|
248
|
+
{
|
249
|
+
type: "external"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
type: "external"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
type: "external"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
type: "external"
|
259
|
+
}
|
260
|
+
]
|
261
|
+
},
|
262
|
+
{
|
263
|
+
guid: "institution",
|
264
|
+
icon: "account_balance",
|
265
|
+
topics: [
|
266
|
+
{
|
267
|
+
type: "external"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
type: "other"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
type: "internal"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
type: "internal"
|
277
|
+
}
|
278
|
+
]
|
279
|
+
},
|
280
|
+
{
|
281
|
+
guid: "transactions",
|
282
|
+
icon: "compare_arrows",
|
283
|
+
topics: [
|
284
|
+
{
|
285
|
+
type: "internal"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
type: "external"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
type: "internal"
|
292
|
+
}
|
293
|
+
]
|
294
|
+
}
|
295
|
+
], y = [
|
296
|
+
{
|
297
|
+
type: "external"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
type: "external"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
type: "external"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
type: "external"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
type: "other"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
type: "internal"
|
313
|
+
}
|
314
|
+
];
|
315
|
+
export {
|
316
|
+
g as E,
|
317
|
+
d as H,
|
318
|
+
y as P,
|
319
|
+
_ as a
|
320
|
+
};
|