@mx-cartographer/experiences 7.7.2 → 7.8.0-alpha-ram-goal-bug
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 +18 -0
- package/dist/Account-BiB1F8lL.mjs +118 -0
- package/dist/{Account-BfkKlfsW.mjs → Account-DuOz1a27.mjs} +1 -1
- package/dist/AccountApi-DgZ8ILj1.mjs +19 -0
- package/dist/{AccountDetailsHeader-DqYIuhOs.mjs → AccountDetailsHeader-Cf2TUJnM.mjs} +4 -4
- package/dist/AccountDisplayName-CO7z3v99.mjs +11 -0
- package/dist/{AccountFields-yP8QdgPd.mjs → AccountFields-UdOvbQ5H.mjs} +7 -6
- package/dist/{AccountListItem-DMbu9ehd.mjs → AccountListItem-BPVxmNT_.mjs} +7 -7
- package/dist/AccountStore-BbPWe2C9.mjs +244 -0
- package/dist/Accounts-M-LTzStv.mjs +27 -0
- package/dist/{CategoryStore-Cnw9yUys.mjs → CategoryStore-BYICdb9m.mjs} +73 -73
- package/dist/CategoryUtil-meuejJqP.mjs +80 -0
- package/dist/{ConnectionsDrawer-BqR6FWJO.mjs → ConnectionsDrawer-BDpVTTSe.mjs} +1 -1
- package/dist/{DebtsStore-DuSdXM1k.mjs → DebtsStore-BIbOVCPe.mjs} +12 -12
- package/dist/{ExportCsvAction-HK5CeZWR.mjs → ExportCsvAction-CDuzTva1.mjs} +2 -2
- package/dist/GlobalAccountFilter-DQCPNc95.mjs +316 -0
- package/dist/GoalStore-B4LVt_kH.mjs +422 -0
- package/dist/{ManageIncome-BrTrlplL.mjs → ManageIncome-CL3hv8i9.mjs} +44 -44
- package/dist/NetWorthStore-yV43kJro.mjs +168 -0
- package/dist/{NotificationSettings-D4Vh3z8I.mjs → NotificationSettings-SPg3pwbX.mjs} +171 -169
- package/dist/{NotificationStore-CDX_kqHa.mjs → NotificationStore-Ck2KdNmT.mjs} +22 -14
- package/dist/{RecurringSettings-D2V6l77l.mjs → RecurringSettings-Bmnnpb48.mjs} +16 -16
- package/dist/{RecurringTransactionsStore-Caf1cq4v.mjs → RecurringTransactionsStore-BQBEJOPP.mjs} +91 -81
- package/dist/{RecurringTransactions-Bf4lX0Cn.mjs → RepeatingTransaction-miZVnk_A.mjs} +4 -4
- package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BHpuyujx.mjs} +1 -1
- package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
- package/dist/{SpendingLegend-gTCJLLkV.mjs → SpendingLegend-CD60HCYS.mjs} +33 -33
- package/dist/{TransactionDetails-7MHOshKQ.mjs → TransactionDetails-BDhz3DLT.mjs} +2 -2
- package/dist/TransactionStore-BSp5bOKg.mjs +705 -0
- package/dist/{User-LJpEwPtn.mjs → User-B0LnmiKO.mjs} +21 -20
- package/dist/WidgetContainer-BbPS3Yxz.mjs +555 -0
- package/dist/accounts/index.es.js +421 -391
- package/dist/accounts/stores/AccountStore.d.ts +30 -23
- package/dist/accounts/utils/Accounts.d.ts +2 -1
- package/dist/budgets/index.es.js +546 -540
- package/dist/budgets/store/BudgetsStore.d.ts +1 -0
- package/dist/cashflow/index.es.js +444 -457
- package/dist/categories/index.es.js +1 -1
- package/dist/categories/stores/CategoryStore.d.ts +10 -5
- package/dist/categories/util/CategoryUtil.d.ts +3 -2
- package/dist/common/components/GlobalAccountFilter.d.ts +11 -0
- package/dist/common/components/SkeletonLoader.d.ts +7 -0
- package/dist/common/components/WidgetContainer.d.ts +7 -6
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +7 -0
- package/dist/common/components/index.d.ts +2 -2
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/index.es.js +459 -445
- package/dist/common/stores/AppDataStore.d.ts +3 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +0 -1
- package/dist/common/stores/GlobalStore.d.ts +3 -3
- package/dist/common/stores/GlobalUiStore.d.ts +10 -6
- package/dist/common/stores/UserStore.d.ts +3 -2
- package/dist/common/types/Account.d.ts +9 -6
- package/dist/dashboard/index.es.js +84 -116
- package/dist/debts/index.es.js +417 -413
- package/dist/{exportTransactionsToCSV-BrTYdSgJ.mjs → exportTransactionsToCSV-DtQ7ovAR.mjs} +1 -1
- package/dist/finstrong/index.es.js +1167 -1110
- package/dist/goals/index.es.js +618 -598
- package/dist/goals/stores/GoalStore.d.ts +19 -4
- package/dist/help/index.es.js +13 -13
- package/dist/investments/index.es.js +330 -325
- package/dist/investments/stores/HoldingStore.d.ts +1 -0
- package/dist/networth/components/NetWorthChart.d.ts +3 -2
- package/dist/networth/components/NetWorthList.d.ts +3 -3
- package/dist/networth/index.es.js +423 -433
- package/dist/networth/stores/NetWorthStore.d.ts +20 -9
- package/dist/networth/utils/NetWorthUtils.d.ts +2 -2
- package/dist/notifications/index.es.js +90 -91
- package/dist/notifications/stores/NotificationStore.d.ts +3 -1
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
- package/dist/recurringtransactions/index.es.js +543 -562
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +4 -2
- package/dist/settings/index.es.js +253 -248
- package/dist/spending/index.es.js +282 -301
- package/dist/transactions/index.es.js +269 -263
- package/dist/transactions/stores/TransactionStore.d.ts +26 -77
- package/dist/transactions/stores/UiStore.d.ts +0 -2
- package/dist/trends/index.es.js +708 -699
- package/dist/{useAccountDisplayName-BTvP_pw6.mjs → useAccountDisplayName-Bot2tb4n.mjs} +1 -1
- package/package.json +3 -3
- package/dist/AccountStore-CWFzg8-E.mjs +0 -260
- package/dist/Accounts-CWt-NRq8.mjs +0 -9
- package/dist/CategoryUtil-DZflYFam.mjs +0 -78
- package/dist/ConnectDrawer-BOjfI6rz.mjs +0 -563
- package/dist/GoalStore-C7ahxxLi.mjs +0 -364
- package/dist/NetWorthStore-xWIo9CYU.mjs +0 -150
- package/dist/TransactionStore-DJwPaZuM.mjs +0 -677
- package/dist/WidgetContainer-CrK6tyHr.mjs +0 -572
- package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -20
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +0 -31
- package/dist/common/components/accountfilter/index.d.ts +0 -1
- package/dist/{ToggleListItem-ciFTiqRS.mjs → Notification-Bs1fdbzI.mjs} +1 -1
|
@@ -1,16 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DetailedAccount, GlobalStore, MonthlyAccountBalance } from '../../common';
|
|
2
|
+
import { AccountApi } from '../../accounts';
|
|
2
3
|
import { AssetsLiabilities, GainsLosses, NetWorth, NetWorthData } from '../types/NetWorth';
|
|
3
4
|
export declare class NetWorthStore {
|
|
4
5
|
globalStore: GlobalStore;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
accountsApi: AccountApi;
|
|
7
|
+
monthlyAccountBalances: MonthlyAccountBalance[];
|
|
8
|
+
monthlyAccountBalancesLoaded: boolean;
|
|
9
|
+
hoveredIndex: number;
|
|
10
|
+
selectedIndex: number;
|
|
11
|
+
timeframe: number;
|
|
9
12
|
constructor(globalStore: GlobalStore);
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
get isNetWorthDataLoaded(): boolean;
|
|
14
|
+
get netWorthAccounts(): DetailedAccount[];
|
|
15
|
+
get netWorthData(): NetWorthData;
|
|
16
|
+
get netWorthChartData(): NetWorth[];
|
|
17
|
+
get selectedData(): NetWorth | undefined;
|
|
18
|
+
get hoveredData(): NetWorth | undefined;
|
|
12
19
|
get gainsLosses(): GainsLosses;
|
|
13
20
|
get assetsLiabilities(): AssetsLiabilities;
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
loadNetWorthData: () => Promise<void>;
|
|
22
|
+
getMonthlyAccountBalances: (accountGuid: string) => Promise<MonthlyAccountBalance[]>;
|
|
23
|
+
setHoveredIndex: (index: number) => number;
|
|
24
|
+
setMonthlyAccountBalances: (balances: MonthlyAccountBalance[]) => void;
|
|
25
|
+
setSelectedIndex: (index: number) => number;
|
|
26
|
+
setTimeframe: (months: number) => number;
|
|
16
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Account, Member, MonthlyAccountBalance } from '../../common
|
|
1
|
+
import { Account, Member, MonthlyAccountBalance } from '../../common';
|
|
2
2
|
import { FinancialAccount, AccountGroup, NetWorth } from '../types/NetWorth';
|
|
3
3
|
export declare const filterAccounts: (accounts: Account[], members: Member[]) => Account[];
|
|
4
|
-
export declare const flattenBalances: (
|
|
4
|
+
export declare const flattenBalances: (allBalances: MonthlyAccountBalance[], currentBalances: MonthlyAccountBalance[]) => MonthlyAccountBalance[];
|
|
5
5
|
export declare const getLatestNetWorthData: (chartData: NetWorth[]) => NetWorth | undefined;
|
|
6
6
|
export declare const sortByYearMonthAscending: (a: MonthlyAccountBalance, b: MonthlyAccountBalance) => number;
|
|
7
7
|
export declare const buildChartData: (accounts: Account[], monthlyAccountBalances: MonthlyAccountBalance[], numberOfMonths: number) => any;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { A as f, B as
|
|
2
|
-
import { A as
|
|
3
|
-
import { s as
|
|
4
|
-
import { N as
|
|
5
|
-
import { jsx as t, jsxs as
|
|
6
|
-
import k, { useEffect as
|
|
1
|
+
import { A as f, B as y } from "../Notification-Bs1fdbzI.mjs";
|
|
2
|
+
import { A as g } from "../Fetch-DecPFeGU.mjs";
|
|
3
|
+
import { s as v } from "../NotificationStore-Ck2KdNmT.mjs";
|
|
4
|
+
import { N as xt, f as Nt } from "../NotificationStore-Ck2KdNmT.mjs";
|
|
5
|
+
import { jsx as t, jsxs as l, Fragment as C } from "react/jsx-runtime";
|
|
6
|
+
import k, { useEffect as L } from "react";
|
|
7
7
|
import { observer as p } from "mobx-react-lite";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { Text as m, InstitutionLogo as
|
|
8
|
+
import h from "@mui/material/Box";
|
|
9
|
+
import A from "@mui/material/Divider";
|
|
10
|
+
import D from "@mui/material/List";
|
|
11
|
+
import { Text as m, InstitutionLogo as B, CategoryIcon as T } from "@mxenabled/mxui";
|
|
12
12
|
import { h as I } from "../DateUtil-D7U-nc1Y.mjs";
|
|
13
|
-
import { useTheme as
|
|
14
|
-
import { d as
|
|
15
|
-
import { Icon as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { L as
|
|
19
|
-
import
|
|
20
|
-
import { N as
|
|
21
|
-
import { D as
|
|
22
|
-
const
|
|
13
|
+
import { useTheme as R, Card as O } from "@mui/material";
|
|
14
|
+
import { d as G, i as E, u as _, n as x, b as N, a as j } from "../hooks-ZMp65DFz.mjs";
|
|
15
|
+
import { Icon as z, Settings as U } from "@mxenabled/mx-icons";
|
|
16
|
+
import F from "@mui/material/Button";
|
|
17
|
+
import P from "@mui/material/Stack";
|
|
18
|
+
import { L as S } from "../Loader-DUaFpDGv.mjs";
|
|
19
|
+
import W from "@mui/material/IconButton";
|
|
20
|
+
import { N as $ } from "../NotificationSettings-SPg3pwbX.mjs";
|
|
21
|
+
import { D as b } from "../Drawer-DV4NTsFg.mjs";
|
|
22
|
+
const _t = (e) => {
|
|
23
23
|
switch (e) {
|
|
24
|
-
case
|
|
25
|
-
case
|
|
26
|
-
return
|
|
24
|
+
case y.BudgetExceeded:
|
|
25
|
+
case y.BudgetOffTarget:
|
|
26
|
+
return g.BUDGETS;
|
|
27
27
|
case f.DebtPaymentReminder:
|
|
28
28
|
case f.AccountBalanceLow:
|
|
29
29
|
case f.AccountDepositLarge:
|
|
30
|
-
return
|
|
30
|
+
return g.ACCOUNTS;
|
|
31
31
|
case f.TransactionExpenseLarge:
|
|
32
32
|
case f.TransactionFeeCharge:
|
|
33
33
|
case f.InternationalTransaction:
|
|
34
|
-
return
|
|
34
|
+
return g.TRANSACTIONS;
|
|
35
35
|
default:
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
|
-
},
|
|
39
|
-
const { accounts:
|
|
38
|
+
}, H = ({ date: e }) => /* @__PURE__ */ t(h, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(m, { bold: !0, variant: "Small", children: I(e) }) }), M = ({ notification: e }) => {
|
|
39
|
+
const { accounts: n } = G(), { budgets: r } = E(), { accounts: a } = _(), o = n.find((i) => i.guid === e.entity_guid), s = r.find((i) => i.guid === e.entity_guid), d = e.entity_guid.includes("GOL"), u = {
|
|
40
40
|
badge: {
|
|
41
41
|
display: "flex",
|
|
42
42
|
alignItems: "center",
|
|
@@ -45,16 +45,16 @@ const yt = (e) => {
|
|
|
45
45
|
marginRight: 12
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
return
|
|
49
|
-
|
|
48
|
+
return o || d ? /* @__PURE__ */ t("div", { style: u.badge, children: /* @__PURE__ */ t(
|
|
49
|
+
B,
|
|
50
50
|
{
|
|
51
|
-
alt:
|
|
52
|
-
institutionGuid:
|
|
51
|
+
alt: o?.institutionName || a.institution_logo_alt,
|
|
52
|
+
institutionGuid: o?.institution_guid ?? "",
|
|
53
53
|
size: 33
|
|
54
54
|
}
|
|
55
|
-
) }) : /* @__PURE__ */ t("div", { style:
|
|
56
|
-
},
|
|
57
|
-
const { updateNotification:
|
|
55
|
+
) }) : /* @__PURE__ */ t("div", { style: u.badge, children: /* @__PURE__ */ t(T, { categoryGuid: s?.category_guid, size: 36 }) });
|
|
56
|
+
}, V = p(M), X = ({ notification: e, onClick: n }) => {
|
|
57
|
+
const { updateNotification: r } = x(), a = R(), o = {
|
|
58
58
|
card: {
|
|
59
59
|
alignItems: "center",
|
|
60
60
|
cursor: "pointer",
|
|
@@ -79,19 +79,19 @@ const yt = (e) => {
|
|
|
79
79
|
width: 8
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
-
return /* @__PURE__ */
|
|
83
|
-
|
|
84
|
-
}, sx:
|
|
85
|
-
e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style:
|
|
86
|
-
/* @__PURE__ */ t(
|
|
82
|
+
return /* @__PURE__ */ l(O, { onClick: () => {
|
|
83
|
+
n(e), r({ ...e, has_been_viewed: !0 }).finally();
|
|
84
|
+
}, sx: o.card, children: [
|
|
85
|
+
e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: o.dot }),
|
|
86
|
+
/* @__PURE__ */ t(V, { notification: e }),
|
|
87
87
|
/* @__PURE__ */ t(m, { bold: !e.has_been_viewed, truncate: !1, variant: "Small", children: e.content })
|
|
88
88
|
] });
|
|
89
|
-
},
|
|
89
|
+
}, Y = p(
|
|
90
90
|
({ onManageNotifications: e }) => {
|
|
91
|
-
const { notifications:
|
|
92
|
-
return /* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */ t(
|
|
94
|
-
/* @__PURE__ */ t(m, { sx: { pt: 32 }, variant: "H3", children:
|
|
91
|
+
const { notifications: n } = _();
|
|
92
|
+
return /* @__PURE__ */ l(P, { sx: { alignItems: "center", height: "95%", justifyContent: "center" }, children: [
|
|
93
|
+
/* @__PURE__ */ t(z, { name: "notifications", size: 32 }),
|
|
94
|
+
/* @__PURE__ */ t(m, { sx: { pt: 32 }, variant: "H3", children: n.notification_empty_state.no_new_notifications }),
|
|
95
95
|
/* @__PURE__ */ t(
|
|
96
96
|
m,
|
|
97
97
|
{
|
|
@@ -103,90 +103,89 @@ const yt = (e) => {
|
|
|
103
103
|
whiteSpace: "normal"
|
|
104
104
|
},
|
|
105
105
|
variant: "subtitle1",
|
|
106
|
-
children:
|
|
106
|
+
children: n.notification_empty_state.notification_description
|
|
107
107
|
}
|
|
108
108
|
),
|
|
109
|
-
/* @__PURE__ */ t(
|
|
109
|
+
/* @__PURE__ */ t(F, { onClick: e, sx: { p: "12px 16px" }, variant: "outlined", children: n.notification_empty_state.manage_notifications })
|
|
110
110
|
] });
|
|
111
111
|
}
|
|
112
|
-
),
|
|
113
|
-
const { isLoading:
|
|
114
|
-
e?.(
|
|
112
|
+
), q = ({ onClick: e, onManageNotifications: n }) => {
|
|
113
|
+
const { isLoading: r, loadNotifications: a, newNotifications: o, markAllAsViewed: s } = x(), { isInitialized: d } = N(), u = (i) => {
|
|
114
|
+
e?.(i);
|
|
115
115
|
};
|
|
116
|
-
return
|
|
117
|
-
a().then(() =>
|
|
118
|
-
}, [
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
/* @__PURE__ */ t(
|
|
126
|
-
/* @__PURE__ */ t(D, {})
|
|
116
|
+
return L(() => {
|
|
117
|
+
a().then(() => s()).finally();
|
|
118
|
+
}, []), !d || r ? /* @__PURE__ */ t(S, {}) : /* @__PURE__ */ l(C, { children: [
|
|
119
|
+
o.length === 0 && /* @__PURE__ */ t(Y, { onManageNotifications: n }),
|
|
120
|
+
/* @__PURE__ */ t(D, { sx: { p: 16 }, children: o.slice().sort((i, c) => c.delivered_at - i.delivered_at).map((i, c) => {
|
|
121
|
+
const w = v(c, o);
|
|
122
|
+
return /* @__PURE__ */ l(h, { sx: { mb: 12 }, children: [
|
|
123
|
+
w && /* @__PURE__ */ l(h, { sx: { mb: 12 }, children: [
|
|
124
|
+
/* @__PURE__ */ t(H, { date: i.delivered_at }),
|
|
125
|
+
/* @__PURE__ */ t(A, {})
|
|
127
126
|
] }),
|
|
128
|
-
/* @__PURE__ */ t(
|
|
129
|
-
] },
|
|
127
|
+
/* @__PURE__ */ t(X, { notification: i, onClick: u })
|
|
128
|
+
] }, i.guid);
|
|
130
129
|
}) })
|
|
131
130
|
] });
|
|
132
|
-
},
|
|
133
|
-
({ notificationTypes: e, isOpen:
|
|
134
|
-
const { config:
|
|
135
|
-
return
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
-
|
|
131
|
+
}, J = p(q), yt = p(
|
|
132
|
+
({ notificationTypes: e, isOpen: n, onClose: r, onNotificationClick: a }) => {
|
|
133
|
+
const { config: o } = j(), { notifications: s, settings: d } = _(), { isCopyLoaded: u } = N(), [i, c] = k.useState(!1);
|
|
134
|
+
return u ? /* @__PURE__ */ l(C, { children: [
|
|
135
|
+
/* @__PURE__ */ l(
|
|
136
|
+
b,
|
|
138
137
|
{
|
|
139
|
-
ariaLabelClose:
|
|
140
|
-
isOpen:
|
|
141
|
-
onClose:
|
|
142
|
-
title:
|
|
138
|
+
ariaLabelClose: s.close_notifications,
|
|
139
|
+
isOpen: n,
|
|
140
|
+
onClose: r,
|
|
141
|
+
title: s.notifications_title,
|
|
143
142
|
children: [
|
|
144
143
|
/* @__PURE__ */ t(
|
|
145
|
-
|
|
144
|
+
W,
|
|
146
145
|
{
|
|
147
|
-
"aria-label":
|
|
148
|
-
onClick: () =>
|
|
146
|
+
"aria-label": d.open_notification_settings_btn_aria,
|
|
147
|
+
onClick: () => c(!0),
|
|
149
148
|
sx: {
|
|
150
149
|
position: "absolute",
|
|
151
150
|
right: 8,
|
|
152
151
|
top: 8
|
|
153
152
|
},
|
|
154
|
-
children: /* @__PURE__ */ t(
|
|
153
|
+
children: /* @__PURE__ */ t(U, { size: 24 })
|
|
155
154
|
}
|
|
156
155
|
),
|
|
157
156
|
/* @__PURE__ */ t(
|
|
158
|
-
|
|
157
|
+
J,
|
|
159
158
|
{
|
|
160
159
|
onClick: a,
|
|
161
|
-
onManageNotifications: () =>
|
|
160
|
+
onManageNotifications: () => c(!0)
|
|
162
161
|
}
|
|
163
162
|
)
|
|
164
163
|
]
|
|
165
164
|
}
|
|
166
165
|
),
|
|
167
166
|
/* @__PURE__ */ t(
|
|
168
|
-
|
|
167
|
+
b,
|
|
169
168
|
{
|
|
170
|
-
ariaLabelClose:
|
|
171
|
-
isOpen:
|
|
172
|
-
onClose: () =>
|
|
173
|
-
title:
|
|
169
|
+
ariaLabelClose: s.close_notification_settings,
|
|
170
|
+
isOpen: i,
|
|
171
|
+
onClose: () => c(!1),
|
|
172
|
+
title: d.notification_settings_title,
|
|
174
173
|
children: /* @__PURE__ */ t(
|
|
175
|
-
|
|
174
|
+
$,
|
|
176
175
|
{
|
|
177
176
|
notificationTypes: e,
|
|
178
|
-
showPersonalDetails: !
|
|
177
|
+
showPersonalDetails: !o.display_user_profile_in_settings
|
|
179
178
|
}
|
|
180
179
|
)
|
|
181
180
|
}
|
|
182
181
|
)
|
|
183
|
-
] }) : /* @__PURE__ */ t(
|
|
182
|
+
] }) : /* @__PURE__ */ t(S, {});
|
|
184
183
|
}
|
|
185
184
|
);
|
|
186
185
|
export {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
186
|
+
yt as NotificationDrawer,
|
|
187
|
+
J as NotificationList,
|
|
188
|
+
xt as NotificationStore,
|
|
189
|
+
Nt as filterRecentNotifications,
|
|
190
|
+
_t as getNotificationDetailRoute
|
|
192
191
|
};
|
|
@@ -4,9 +4,11 @@ export declare class NotificationStore {
|
|
|
4
4
|
api: NotificationApi;
|
|
5
5
|
isLoading: boolean;
|
|
6
6
|
notifications: Notification[];
|
|
7
|
-
|
|
7
|
+
notificationsLoaded: boolean;
|
|
8
8
|
constructor(globalStore: GlobalStore);
|
|
9
9
|
get newNotifications(): Notification[];
|
|
10
|
+
get recentNotifications(): Notification[];
|
|
11
|
+
setNotifications: (notifications: Notification[]) => void;
|
|
10
12
|
loadNotifications: () => Promise<void>;
|
|
11
13
|
markAllAsViewed: () => Promise<void>;
|
|
12
14
|
updateNotification: (notification: Notification) => Promise<void>;
|