@mx-cartographer/experiences 7.2.12-alpha-ram2-finstrong-testing → 7.2.12-alpha-ram1-testing
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/{Account-CBQnFO6w.mjs → Account-B-CuHOYf.mjs} +1 -1
- package/dist/{AccountDetailsContent-BkurfGCr.mjs → AccountDetailsContent-bqByD9ea.mjs} +10 -10
- package/dist/{AccountDetailsHeader-CaIoP_2Q.mjs → AccountDetailsHeader-vcy67tuH.mjs} +8 -8
- package/dist/{AccountFields-CLbLAhLf.mjs → AccountFields-cUP-9Hm6.mjs} +5 -5
- package/dist/{AccountListItem-CPm3572e.mjs → AccountListItem-DChcf3SN.mjs} +4 -4
- package/dist/{AccountStore-DttEGFeu.mjs → AccountStore-D6KiXA1B.mjs} +29 -40
- package/dist/{Accounts-B5Yr0e_o.mjs → Accounts-IeEtQjzA.mjs} +1 -1
- package/dist/{BudgetUtil-wjoNuj7B.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-ZO9N26Kx.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +3 -3
- package/dist/{CategoryStore-C1IfDPCE.mjs → CategoryStore-BCcpI3oJ.mjs} +1 -1
- package/dist/{CategoryUtil-DUM8NuGO.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
- package/dist/{ConnectDrawer-FyY0AWYQ.mjs → ConnectDrawer-DaFRU5st.mjs} +2 -2
- package/dist/{ConnectionsDrawer-Cd_rztVC.mjs → ConnectionsDrawer-DHJ7qdWL.mjs} +3 -3
- package/dist/{CurrencyInput-xH-hqry9.mjs → CurrencyInput-DUsQbkXb.mjs} +1 -1
- package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-BcuH7ErC.mjs} +3 -3
- package/dist/{DebtsStore-DB5U2WMC.mjs → DebtsStore-z3VARSO6.mjs} +1 -1
- package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CWW597AF.mjs} +2 -2
- package/dist/Drawer-kEE73B87.mjs +113 -0
- package/dist/{ExportCsvAction-DlGZfm4y.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
- package/dist/FinstrongStore-F2c607dj.mjs +101 -0
- package/dist/{GoalStore-deVLYr7n.mjs → GoalStore-TD0BfzWX.mjs} +3 -3
- package/dist/{Help-BnPXM_N2.mjs → Help-B6dIcujh.mjs} +2 -2
- package/dist/{LineChart-Ct9DNmhS.mjs → LineChart-D4GI7nVh.mjs} +181 -209
- package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-DHa3KJPs.mjs} +10 -10
- package/dist/{ManageIncome-CqNstpx_.mjs → ManageIncome-CQPFKdYB.mjs} +61 -63
- package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
- package/dist/{NetWorthStore-CUz0bwVm.mjs → NetWorthStore-B_1oulrt.mjs} +2 -2
- package/dist/{NotificationSettings-BKKuULAd.mjs → NotificationSettings-DqrkNMod.mjs} +5 -5
- package/dist/{NotificationStore-C6PH6MKm.mjs → NotificationStore-86g0bKKR.mjs} +11 -11
- package/dist/{OriginalBalanceAction-CCmnsd7y.mjs → OriginalBalanceAction-CWuVvRq9.mjs} +3 -3
- package/dist/{RecurringSettings-DfAMEAuh.mjs → RecurringSettings-DDaGTnfz.mjs} +4 -4
- package/dist/{RecurringTransactions-CngsRZ3K.mjs → RecurringTransactions-ej39mgA6.mjs} +44 -45
- package/dist/{RecurringTransactionsStore-C4RVULF8.mjs → RecurringTransactionsStore-DrzS1LmF.mjs} +1 -1
- package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-D5vsfYKo.mjs} +16 -16
- package/dist/{TransactionDetails-CabNHK_I.mjs → TransactionDetails-DW7T0W0z.mjs} +8 -11
- package/dist/{TransactionStore-DvOEbOzL.mjs → TransactionStore-DxPLdF3B.mjs} +3 -3
- package/dist/{TrendsStore-BVNxGsE4.mjs → TrendsStore-DCYbpXPO.mjs} +14 -14
- package/dist/{User-wXzDI4M8.mjs → User-BQUxBeZV.mjs} +2 -2
- package/dist/{WidgetContainer-GoNq8wwm.mjs → WidgetContainer-C88Ecu2W.mjs} +4 -4
- package/dist/accounts/index.es.js +14 -14
- package/dist/accounts/stores/AccountStore.d.ts +0 -2
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +44 -44
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Select.d.ts +2 -4
- package/dist/common/components/charts/LineChart.d.ts +2 -8
- package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -4
- package/dist/common/components/drawer/Drawer.d.ts +0 -3
- package/dist/common/index.es.js +35 -35
- package/dist/common/types/Finstrong.d.ts +0 -50
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +1 -58
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-hrNpJ77n.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +2 -2
- package/dist/finstrong/api/FinstrongApi.d.ts +0 -5
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +1 -3
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -4
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +3 -4
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/index.es.js +1057 -3132
- package/dist/finstrong/stores/FinstrongStore.d.ts +1 -10
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -58
- package/dist/finstrong/utils/Finstrong.d.ts +6 -0
- package/dist/goals/index.es.js +14 -14
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-C41HAxM5.mjs → hooks-D6XlXHf4.mjs} +3 -3
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +34 -34
- package/dist/notifications/index.es.js +88 -88
- package/dist/recurringtransactions/index.es.js +13 -13
- package/dist/settings/index.es.js +8 -8
- package/dist/spending/index.es.js +373 -222
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +94 -94
- package/dist/{useAccountDisplayName-B5O6hQ1B.mjs → useAccountDisplayName-BcRqfar8.mjs} +2 -2
- package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-BEtCk82g.mjs +0 -163
- package/dist/FinstrongStore-D7r-rru1.mjs +0 -434
- package/dist/SpendingLegend-squvjEhu.mjs +0 -170
- package/dist/accounts/components/AccountsListCompact.d.ts +0 -10
- package/dist/common/components/drawer/Footer.d.ts +0 -17
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +0 -4
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +0 -4
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +0 -3
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +0 -3
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +0 -4
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +0 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +0 -10
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +0 -6
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +0 -4
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +0 -4
- package/dist/finstrong/components/ProgressBar.d.ts +0 -15
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +0 -3
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +0 -3
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +0 -4
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +0 -3
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +0 -3
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +0 -4
- package/dist/finstrong/components/StatusChip.d.ts +0 -5
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +0 -2
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +0 -11
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +0 -8
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +0 -8
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +0 -14
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +0 -8
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +0 -4
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +0 -4
- package/dist/finstrong/components/shared/Accounts.d.ts +0 -8
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +0 -25
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +0 -28
- package/dist/finstrong/components/shared/LineGraph.d.ts +0 -7
- package/dist/finstrong/components/shared/TotalCard.d.ts +0 -8
- package/dist/finstrong/components/shared/TransactionList.d.ts +0 -15
- package/dist/finstrong/components/shared/Transactions.d.ts +0 -11
- package/dist/finstrong/constants/index.d.ts +0 -8
|
@@ -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 d, Fragment as
|
|
6
|
-
import
|
|
7
|
-
import { observer as
|
|
8
|
-
import
|
|
1
|
+
import { A as f, B as C } from "../ToggleListItem-r0Kx56wF.mjs";
|
|
2
|
+
import { A as y } from "../Fetch-87LIQbEA.mjs";
|
|
3
|
+
import { s as k } from "../NotificationStore-86g0bKKR.mjs";
|
|
4
|
+
import { N as St, f as wt } from "../NotificationStore-86g0bKKR.mjs";
|
|
5
|
+
import { jsx as t, jsxs as d, Fragment as N } from "react/jsx-runtime";
|
|
6
|
+
import A, { useEffect as B } from "react";
|
|
7
|
+
import { observer as g } from "mobx-react-lite";
|
|
8
|
+
import b from "@mui/material/Box";
|
|
9
9
|
import D from "@mui/material/Divider";
|
|
10
|
-
import
|
|
11
|
-
import { Text as
|
|
12
|
-
import { h as
|
|
13
|
-
import { useTheme as
|
|
14
|
-
import { d as
|
|
15
|
-
import { Icon as
|
|
16
|
-
import
|
|
10
|
+
import T from "@mui/material/List";
|
|
11
|
+
import { Text as p, InstitutionLogo as R, CategoryIcon as I } from "@mxenabled/mxui";
|
|
12
|
+
import { h as O } from "../DateUtil-BcuH7ErC.mjs";
|
|
13
|
+
import { useTheme as G, Card as E } from "@mui/material";
|
|
14
|
+
import { d as j, i as z, u as h, o as S, b as w, a as U } from "../hooks-D6XlXHf4.mjs";
|
|
15
|
+
import { Icon as F, Settings as P } from "@mxenabled/mx-icons";
|
|
16
|
+
import V from "@mui/material/Button";
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
|
-
import { L as
|
|
18
|
+
import { L as v } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
21
|
-
import { D as
|
|
22
|
-
const
|
|
20
|
+
import { N as H } from "../NotificationSettings-DqrkNMod.mjs";
|
|
21
|
+
import { D as x } from "../Drawer-kEE73B87.mjs";
|
|
22
|
+
const bt = (e) => {
|
|
23
23
|
switch (e) {
|
|
24
|
-
case
|
|
25
|
-
case
|
|
26
|
-
return
|
|
24
|
+
case C.BudgetExceeded:
|
|
25
|
+
case C.BudgetOffTarget:
|
|
26
|
+
return y.BUDGETS;
|
|
27
27
|
case f.DebtPaymentReminder:
|
|
28
28
|
case f.AccountBalanceLow:
|
|
29
29
|
case f.AccountDepositLarge:
|
|
30
|
-
return
|
|
30
|
+
return y.ACCOUNTS;
|
|
31
31
|
case f.TransactionExpenseLarge:
|
|
32
32
|
case f.TransactionFeeCharge:
|
|
33
33
|
case f.InternationalTransaction:
|
|
34
|
-
return
|
|
34
|
+
return y.TRANSACTIONS;
|
|
35
35
|
default:
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
|
-
}, M = ({ date: e }) => /* @__PURE__ */ t(
|
|
39
|
-
const { accounts:
|
|
38
|
+
}, M = ({ date: e }) => /* @__PURE__ */ t(b, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children: O(e) }) }), X = ({ notification: e }) => {
|
|
39
|
+
const { accounts: i } = j(), { budgets: a } = z(), { accounts: o } = h(), n = i.find((r) => r.guid === e.entity_guid), s = a.find((r) => r.guid === e.entity_guid), u = e.entity_guid.includes("GOL"), l = {
|
|
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 n || u ? /* @__PURE__ */ t("div", { style: l.badge, children: /* @__PURE__ */ t(
|
|
49
|
+
R,
|
|
50
50
|
{
|
|
51
|
-
alt:
|
|
52
|
-
institutionGuid:
|
|
51
|
+
alt: n?.institutionName || o.institution_logo_alt,
|
|
52
|
+
institutionGuid: n?.institution_guid ?? "",
|
|
53
53
|
size: 33
|
|
54
54
|
}
|
|
55
|
-
) }) : /* @__PURE__ */ t("div", { style:
|
|
56
|
-
},
|
|
57
|
-
const { updateNotification: a } =
|
|
55
|
+
) }) : /* @__PURE__ */ t("div", { style: l.badge, children: /* @__PURE__ */ t(I, { categoryGuid: s?.category_guid, size: 36 }) });
|
|
56
|
+
}, Y = g(X), q = ({ notification: e, onClick: i }) => {
|
|
57
|
+
const { updateNotification: a } = S(), o = G(), n = {
|
|
58
58
|
card: {
|
|
59
59
|
alignItems: "center",
|
|
60
60
|
cursor: "pointer",
|
|
@@ -63,14 +63,14 @@ const yt = (e) => {
|
|
|
63
63
|
paddingX: 24,
|
|
64
64
|
paddingY: 12,
|
|
65
65
|
"&:focus": {
|
|
66
|
-
backgroundColor:
|
|
66
|
+
backgroundColor: o.palette.background.default
|
|
67
67
|
},
|
|
68
68
|
"&:hover": {
|
|
69
|
-
backgroundColor:
|
|
69
|
+
backgroundColor: o.palette.background.default
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
dot: {
|
|
73
|
-
backgroundColor:
|
|
73
|
+
backgroundColor: o.palette.primary.main,
|
|
74
74
|
borderRadius: "100%",
|
|
75
75
|
flex: "0 0 auto",
|
|
76
76
|
marginLeft: -8,
|
|
@@ -79,21 +79,21 @@ const yt = (e) => {
|
|
|
79
79
|
width: 8
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
-
return /* @__PURE__ */ d(
|
|
83
|
-
|
|
84
|
-
}, sx:
|
|
85
|
-
e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style:
|
|
86
|
-
/* @__PURE__ */ t(
|
|
87
|
-
/* @__PURE__ */ t(
|
|
82
|
+
return /* @__PURE__ */ d(E, { onClick: () => {
|
|
83
|
+
i(e), a({ ...e, has_been_viewed: !0 }).finally();
|
|
84
|
+
}, sx: n.card, children: [
|
|
85
|
+
e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: n.dot }),
|
|
86
|
+
/* @__PURE__ */ t(Y, { notification: e }),
|
|
87
|
+
/* @__PURE__ */ t(p, { bold: !e.has_been_viewed, truncate: !1, variant: "Small", children: e.content })
|
|
88
88
|
] });
|
|
89
|
-
},
|
|
89
|
+
}, J = g(
|
|
90
90
|
({ onManageNotifications: e }) => {
|
|
91
|
-
const { notifications:
|
|
91
|
+
const { notifications: i } = h();
|
|
92
92
|
return /* @__PURE__ */ d(W, { sx: { alignItems: "center", height: "95%", justifyContent: "center" }, children: [
|
|
93
|
-
/* @__PURE__ */ t(
|
|
94
|
-
/* @__PURE__ */ t(
|
|
93
|
+
/* @__PURE__ */ t(F, { name: "notifications", size: 32 }),
|
|
94
|
+
/* @__PURE__ */ t(p, { sx: { pt: 32 }, variant: "H3", children: i.notification_empty_state.no_new_notifications }),
|
|
95
95
|
/* @__PURE__ */ t(
|
|
96
|
-
|
|
96
|
+
p,
|
|
97
97
|
{
|
|
98
98
|
sx: {
|
|
99
99
|
maxWidth: 327,
|
|
@@ -103,90 +103,90 @@ const yt = (e) => {
|
|
|
103
103
|
whiteSpace: "normal"
|
|
104
104
|
},
|
|
105
105
|
variant: "subtitle1",
|
|
106
|
-
children:
|
|
106
|
+
children: i.notification_empty_state.notification_description
|
|
107
107
|
}
|
|
108
108
|
),
|
|
109
|
-
/* @__PURE__ */ t(
|
|
109
|
+
/* @__PURE__ */ t(V, { onClick: e, sx: { p: "12px 16px" }, variant: "outlined", children: i.notification_empty_state.manage_notifications })
|
|
110
110
|
] });
|
|
111
111
|
}
|
|
112
|
-
),
|
|
113
|
-
const { isLoading: a, loadNotifications:
|
|
114
|
-
e?.(
|
|
112
|
+
), K = ({ onClick: e, onManageNotifications: i }) => {
|
|
113
|
+
const { isLoading: a, loadNotifications: o, recentNotifications: n, markAllAsViewed: s } = S(), { notifications: u } = h(), { isCopyLoaded: l } = w(), r = n.filter((c) => !c.has_been_viewed), m = (c) => {
|
|
114
|
+
e?.(c);
|
|
115
115
|
};
|
|
116
|
-
return
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
(!
|
|
120
|
-
|
|
121
|
-
/* @__PURE__ */ t(
|
|
122
|
-
const
|
|
123
|
-
return /* @__PURE__ */ d(
|
|
124
|
-
|
|
125
|
-
/* @__PURE__ */ t(M, { date:
|
|
116
|
+
return B(() => {
|
|
117
|
+
o().finally(), s().finally();
|
|
118
|
+
}, [o, s]), /* @__PURE__ */ d(N, { children: [
|
|
119
|
+
(!l || a) && /* @__PURE__ */ t(v, { label: u?.loading, size: 40 }),
|
|
120
|
+
l && !a && r.length === 0 && /* @__PURE__ */ t(J, { onManageNotifications: i }),
|
|
121
|
+
/* @__PURE__ */ t(T, { sx: { p: 16 }, children: l && !a && r.slice().sort((c, _) => _.delivered_at - c.delivered_at).map((c, _) => {
|
|
122
|
+
const L = k(_, r);
|
|
123
|
+
return /* @__PURE__ */ d(b, { sx: { mb: 12 }, children: [
|
|
124
|
+
L && /* @__PURE__ */ d(b, { sx: { mb: 12 }, children: [
|
|
125
|
+
/* @__PURE__ */ t(M, { date: c.delivered_at }),
|
|
126
126
|
/* @__PURE__ */ t(D, {})
|
|
127
127
|
] }),
|
|
128
|
-
/* @__PURE__ */ t(
|
|
129
|
-
] },
|
|
128
|
+
/* @__PURE__ */ t(q, { notification: c, onClick: m })
|
|
129
|
+
] }, c.guid);
|
|
130
130
|
}) })
|
|
131
131
|
] });
|
|
132
|
-
},
|
|
133
|
-
({ notificationTypes: e, isOpen:
|
|
134
|
-
const { config:
|
|
135
|
-
return
|
|
132
|
+
}, Q = g(K), Ct = g(
|
|
133
|
+
({ notificationTypes: e, isOpen: i, onClose: a, onNotificationClick: o }) => {
|
|
134
|
+
const { config: n } = U(), { notifications: s, settings: u } = h(), { isCopyLoaded: l } = w(), [r, m] = A.useState(!1);
|
|
135
|
+
return l ? /* @__PURE__ */ d(N, { children: [
|
|
136
136
|
/* @__PURE__ */ d(
|
|
137
|
-
|
|
137
|
+
x,
|
|
138
138
|
{
|
|
139
|
-
ariaLabelClose:
|
|
140
|
-
isOpen:
|
|
139
|
+
ariaLabelClose: s.close_notifications,
|
|
140
|
+
isOpen: i,
|
|
141
141
|
onClose: a,
|
|
142
|
-
title:
|
|
142
|
+
title: s.notifications_title,
|
|
143
143
|
children: [
|
|
144
144
|
/* @__PURE__ */ t(
|
|
145
145
|
$,
|
|
146
146
|
{
|
|
147
147
|
"aria-label": u.open_notification_settings_btn_aria,
|
|
148
|
-
onClick: () =>
|
|
148
|
+
onClick: () => m(!0),
|
|
149
149
|
sx: {
|
|
150
150
|
position: "absolute",
|
|
151
151
|
right: 8,
|
|
152
152
|
top: 8
|
|
153
153
|
},
|
|
154
|
-
children: /* @__PURE__ */ t(
|
|
154
|
+
children: /* @__PURE__ */ t(P, { size: 24 })
|
|
155
155
|
}
|
|
156
156
|
),
|
|
157
157
|
/* @__PURE__ */ t(
|
|
158
|
-
|
|
158
|
+
Q,
|
|
159
159
|
{
|
|
160
|
-
onClick:
|
|
161
|
-
onManageNotifications: () =>
|
|
160
|
+
onClick: o,
|
|
161
|
+
onManageNotifications: () => m(!0)
|
|
162
162
|
}
|
|
163
163
|
)
|
|
164
164
|
]
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
/* @__PURE__ */ t(
|
|
168
|
-
|
|
168
|
+
x,
|
|
169
169
|
{
|
|
170
|
-
ariaLabelClose:
|
|
171
|
-
isOpen:
|
|
172
|
-
onClose: () =>
|
|
170
|
+
ariaLabelClose: s.close_notification_settings,
|
|
171
|
+
isOpen: r,
|
|
172
|
+
onClose: () => m(!1),
|
|
173
173
|
title: u.notification_settings_title,
|
|
174
174
|
children: /* @__PURE__ */ t(
|
|
175
175
|
H,
|
|
176
176
|
{
|
|
177
177
|
notificationTypes: e,
|
|
178
|
-
showPersonalDetails: !
|
|
178
|
+
showPersonalDetails: !n.display_user_profile_in_settings
|
|
179
179
|
}
|
|
180
180
|
)
|
|
181
181
|
}
|
|
182
182
|
)
|
|
183
|
-
] }) : /* @__PURE__ */ t(
|
|
183
|
+
] }) : /* @__PURE__ */ t(v, {});
|
|
184
184
|
}
|
|
185
185
|
);
|
|
186
186
|
export {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
Ct as NotificationDrawer,
|
|
188
|
+
Q as NotificationList,
|
|
189
|
+
St as NotificationStore,
|
|
190
|
+
wt as filterRecentNotifications,
|
|
191
|
+
bt as getNotificationDetailRoute
|
|
192
192
|
};
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as Ee } from "../RecurringSettings-
|
|
12
|
-
import { M as En } from "../RecurringSettings-
|
|
11
|
+
import { R as Ee } from "../RecurringSettings-DDaGTnfz.mjs";
|
|
12
|
+
import { M as En } from "../RecurringSettings-DDaGTnfz.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Fe } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -28,11 +28,11 @@ import { isSameDay as nt } from "date-fns/isSameDay";
|
|
|
28
28
|
import it from "@mui/material/Badge";
|
|
29
29
|
import { PickersDay as rt } from "@mui/x-date-pickers/PickersDay";
|
|
30
30
|
import { I as q } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
|
-
import { u as D, b as Z, j as I, g as J, q as Oe, d as he, h as fe } from "../hooks-
|
|
32
|
-
import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-
|
|
33
|
-
import { T as B } from "../RecurringTransactionsStore-
|
|
34
|
-
import { R as Nn } from "../RecurringTransactionsStore-
|
|
35
|
-
import { A as w, W as at } from "../WidgetContainer-
|
|
31
|
+
import { u as D, b as Z, j as I, g as J, q as Oe, d as he, h as fe } from "../hooks-D6XlXHf4.mjs";
|
|
32
|
+
import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
33
|
+
import { T as B } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
34
|
+
import { R as Nn } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
35
|
+
import { A as w, W as at } from "../WidgetContainer-C88Ecu2W.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import le from "@mui/material/Divider";
|
|
38
38
|
import ve from "@mui/material/List";
|
|
@@ -41,19 +41,19 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as kn, M as Wn, S as $n } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-CQPFKdYB.mjs";
|
|
45
|
+
import { c as kn, M as Wn, S as $n } from "../ManageIncome-CQPFKdYB.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
47
|
-
import { D as xe } from "../Drawer-
|
|
47
|
+
import { D as xe } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
49
|
-
import { f as A,
|
|
49
|
+
import { f as A, D as E } from "../Dialog-CWW597AF.mjs";
|
|
50
50
|
import O from "@mui/material/Box";
|
|
51
51
|
import { S as We } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as ye } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as V } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
55
55
|
import { u as gt } from "../useDimensions-27p2evRx.mjs";
|
|
56
|
-
import { M as ht } from "../MicroWidgetContainer-
|
|
56
|
+
import { M as ht } from "../MicroWidgetContainer-DpeqN9n3.mjs";
|
|
57
57
|
const Q = {
|
|
58
58
|
gridRow: 1,
|
|
59
59
|
gridColumn: 1,
|
|
@@ -16,11 +16,11 @@ import F from "@mui/material/Box";
|
|
|
16
16
|
import Q from "@mui/material/Button";
|
|
17
17
|
import I from "@mui/material/TextField";
|
|
18
18
|
import { H3 as J, P as H, Text as x, Icon as M, ChevronRightIcon as xe } from "@mxenabled/mxui";
|
|
19
|
-
import { V as ve, a as Ce, N as G } from "../NotificationSettings-
|
|
20
|
-
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-
|
|
21
|
-
import { u as k, a as $, s as A, p as De, b as Z, m as ee } from "../hooks-
|
|
19
|
+
import { V as ve, a as Ce, N as G } from "../NotificationSettings-DqrkNMod.mjs";
|
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-DqrkNMod.mjs";
|
|
21
|
+
import { u as k, a as $, s as A, p as De, b as Z, m as ee } from "../hooks-D6XlXHf4.mjs";
|
|
22
22
|
import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
|
-
import {
|
|
23
|
+
import { a as W } from "../Dialog-CWW597AF.mjs";
|
|
24
24
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
25
25
|
import { fromUnixTime as oe } from "date-fns/fromUnixTime";
|
|
26
26
|
import P from "@mui/material/styles/useTheme";
|
|
@@ -35,14 +35,14 @@ import { L as ne } from "../Loader-DUaFpDGv.mjs";
|
|
|
35
35
|
import Ie from "@mui/material/List";
|
|
36
36
|
import j from "@mui/material/Divider";
|
|
37
37
|
import Ae from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
|
|
39
39
|
import Re from "@mui/material/ListItem";
|
|
40
40
|
import Be from "@mui/material/ListItemButton";
|
|
41
41
|
import Me from "@mui/material/ListItemIcon";
|
|
42
42
|
import Ne from "@mui/material/ListItemText";
|
|
43
|
-
import { D as He } from "../Drawer-
|
|
44
|
-
import { H as Le } from "../Help-
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
43
|
+
import { D as He } from "../Drawer-kEE73B87.mjs";
|
|
44
|
+
import { H as Le } from "../Help-B6dIcujh.mjs";
|
|
45
|
+
import { W as K } from "../WidgetContainer-C88Ecu2W.mjs";
|
|
46
46
|
const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
47
47
|
const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
|
|
48
48
|
first_name: d.first_name,
|