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