@mx-cartographer/experiences 7.12.17 → 7.13.1
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 +8 -0
- package/dist/{AccountDetailsHeader-BkEF1gO-.mjs → AccountDetailsHeader-D9gbTbUt.mjs} +31 -31
- package/dist/{AccountFields-C_dcdCM7.mjs → AccountFields-CxqONzjY.mjs} +6 -6
- package/dist/AccountListItem-LcJVJysf.mjs +90 -0
- package/dist/{AccountStore-ypdfueW9.mjs → AccountStore-BNlTuxWN.mjs} +1 -1
- package/dist/{BudgetUtil--_QXyszn.mjs → BudgetUtil-CLhRnCoX.mjs} +75 -75
- package/dist/{CashflowStore-DEdQJU5i.mjs → CashflowStore-D3MKniVM.mjs} +11 -11
- package/dist/{CategorySelectorDrawer-wfUTIbLR.mjs → CategorySelectorDrawer-DYHNBd2v.mjs} +31 -31
- package/dist/{ConnectDrawer-CioFo6Wy.mjs → ConnectDrawer-C0wjwcJt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DqhSaMrJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +1 -1
- package/dist/{Drawer-DV4NTsFg.mjs → Drawer-Bbe4AMB1.mjs} +5 -5
- package/dist/{GoalStore-0bd-Upkc.mjs → GoalStore-DB58sKTC.mjs} +8 -8
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CDu1Fvrc.mjs → Help-CpLfyvPv.mjs} +24 -24
- package/dist/{LineChart-B1qbKR8q.mjs → LineChart-DBSlRSEm.mjs} +102 -102
- package/dist/{ManageIncome-BnWWjP2g.mjs → ManageIncome-QvqN555q.mjs} +62 -62
- package/dist/{MiniWidgetContainer-Cu72GNsE.mjs → MiniWidgetContainer-xLWSV6Wz.mjs} +13 -13
- package/dist/{NotificationSettings-BH2yOwTB.mjs → NotificationSettings-DU3vJh5J.mjs} +139 -139
- package/dist/{OriginalBalanceAction-BM6rT_Cn.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +6 -6
- package/dist/{RecurringSettings-BmXtfHtK.mjs → RecurringSettings-DdOcok2e.mjs} +2 -2
- package/dist/{RecurringTransactions-CYNpe_RS.mjs → RecurringTransactions-BOzBqfdg.mjs} +11 -11
- package/dist/{RecurringTransactionsStore-BD-OfVZ-.mjs → RecurringTransactionsStore-CcfPS0d3.mjs} +1 -1
- package/dist/{SpendingLegend-Bq6aXMNh.mjs → SpendingLegend-CJjjTGBw.mjs} +76 -76
- package/dist/{StatusIndicator-BV3oFzxo.mjs → StatusIndicator-CIKUOoN_.mjs} +53 -53
- package/dist/{TransactionDetails-DYlTwSDt.mjs → TransactionDetails-BpcWeXNU.mjs} +350 -350
- package/dist/{ViewMoreMicroCard-BhG9hCoO.mjs → ViewMoreMicroCard-ApUBfGOX.mjs} +107 -106
- package/dist/{WidgetContainer-B0ncgABX.mjs → WidgetContainer-D_iaToWJ.mjs} +12 -12
- package/dist/accounts/index.es.js +107 -107
- package/dist/analytics/index.es.js +18 -18
- package/dist/budgets/index.es.js +182 -182
- package/dist/cashflow/index.es.js +223 -223
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +54 -64
- package/dist/common/types/Beat.d.ts +2 -0
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +469 -469
- package/dist/finstrong/index.es.js +68 -68
- package/dist/goals/index.es.js +437 -437
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +159 -159
- package/dist/investments/index.es.js +292 -292
- package/dist/merchants/index.es.js +12 -12
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/index.d.ts +1 -0
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +175 -168
- package/dist/notifications/index.es.js +13 -13
- package/dist/recurringtransactions/index.es.js +69 -69
- package/dist/settings/index.es.js +187 -187
- package/dist/spending/index.es.js +58 -58
- package/dist/transactions/index.es.js +70 -70
- package/dist/trends/index.es.js +16 -16
- package/package.json +1 -1
- package/dist/AccountListItem-BAf03YhK.mjs +0 -90
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
|
@@ -13,12 +13,12 @@ import { h as j } from "../DateUtil-wcYTmDRD.mjs";
|
|
|
13
13
|
import { useTheme as z, Card as U } from "@mui/material";
|
|
14
14
|
import { d as F, m as P, u as C, n as w, b as v, a as V } from "../hooks-BxkfR-Ff.mjs";
|
|
15
15
|
import { Icon as W, Settings as $ } from "@mxenabled/mx-icons";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
16
|
+
import M from "@mui/material/Button";
|
|
17
|
+
import X from "@mui/material/Stack";
|
|
18
18
|
import { L as k } from "../Loader-D3rjKx72.mjs";
|
|
19
|
-
import
|
|
20
|
-
import { N as
|
|
21
|
-
import { D as x } from "../Drawer-
|
|
19
|
+
import Y from "@mui/material/IconButton";
|
|
20
|
+
import { N as q } from "../NotificationSettings-DU3vJh5J.mjs";
|
|
21
|
+
import { D as x } from "../Drawer-Bbe4AMB1.mjs";
|
|
22
22
|
const xt = (i) => {
|
|
23
23
|
switch (i) {
|
|
24
24
|
case N.BudgetExceeded:
|
|
@@ -35,7 +35,7 @@ const xt = (i) => {
|
|
|
35
35
|
default:
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, H = ({ date: i }) => /* @__PURE__ */ t(b, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(g, { bold: !0, variant: "body2", children: j(i) }) }), J = ({ notification: i }) => {
|
|
39
39
|
const { accounts: e } = F(), { budgets: r } = P(), { accounts: n } = C(), o = e.find((c) => c.guid === i.entity_guid), a = r.find((c) => c.guid === i.entity_guid), d = i.entity_guid.includes("GOL"), u = {
|
|
40
40
|
badge: {
|
|
41
41
|
display: "flex",
|
|
@@ -84,14 +84,14 @@ const xt = (i) => {
|
|
|
84
84
|
}, sx: o.card, children: [
|
|
85
85
|
i.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: o.dot }),
|
|
86
86
|
/* @__PURE__ */ t(K, { notification: i }),
|
|
87
|
-
/* @__PURE__ */ t(g, { bold: !i.has_been_viewed, truncate: !1, variant: "
|
|
87
|
+
/* @__PURE__ */ t(g, { bold: !i.has_been_viewed, truncate: !1, variant: "body2", children: i.content })
|
|
88
88
|
] });
|
|
89
89
|
}, Z = p(
|
|
90
90
|
({ onManageNotifications: i }) => {
|
|
91
91
|
const { notifications: e } = C();
|
|
92
|
-
return /* @__PURE__ */ l(
|
|
92
|
+
return /* @__PURE__ */ l(X, { sx: { alignItems: "center", height: "95%", justifyContent: "center" }, children: [
|
|
93
93
|
/* @__PURE__ */ t(W, { name: "notifications", size: 32 }),
|
|
94
|
-
/* @__PURE__ */ t(g, { sx: { pt: 32 }, variant: "
|
|
94
|
+
/* @__PURE__ */ t(g, { sx: { pt: 32 }, variant: "h3", children: e.notification_empty_state.no_new_notifications }),
|
|
95
95
|
/* @__PURE__ */ t(
|
|
96
96
|
g,
|
|
97
97
|
{
|
|
@@ -106,7 +106,7 @@ const xt = (i) => {
|
|
|
106
106
|
children: e.notification_empty_state.notification_description
|
|
107
107
|
}
|
|
108
108
|
),
|
|
109
|
-
/* @__PURE__ */ t(
|
|
109
|
+
/* @__PURE__ */ t(M, { onClick: i, sx: { p: "12px 16px" }, variant: "outlined", children: e.notification_empty_state.manage_notifications })
|
|
110
110
|
] });
|
|
111
111
|
}
|
|
112
112
|
), tt = ({
|
|
@@ -132,7 +132,7 @@ const xt = (i) => {
|
|
|
132
132
|
const L = D(_, h);
|
|
133
133
|
return /* @__PURE__ */ l(b, { sx: { mb: 12 }, children: [
|
|
134
134
|
L && /* @__PURE__ */ l(b, { sx: { mb: 12 }, children: [
|
|
135
|
-
/* @__PURE__ */ t(
|
|
135
|
+
/* @__PURE__ */ t(H, { date: s.delivered_at }),
|
|
136
136
|
/* @__PURE__ */ t(R, {})
|
|
137
137
|
] }),
|
|
138
138
|
/* @__PURE__ */ t(Q, { notification: s, onClick: c })
|
|
@@ -152,7 +152,7 @@ const xt = (i) => {
|
|
|
152
152
|
title: a.notifications_title,
|
|
153
153
|
children: [
|
|
154
154
|
/* @__PURE__ */ t(
|
|
155
|
-
|
|
155
|
+
Y,
|
|
156
156
|
{
|
|
157
157
|
"aria-label": d.open_notification_settings_btn_aria,
|
|
158
158
|
onClick: () => m(!0),
|
|
@@ -183,7 +183,7 @@ const xt = (i) => {
|
|
|
183
183
|
onClose: () => m(!1),
|
|
184
184
|
title: d.notification_settings_title,
|
|
185
185
|
children: /* @__PURE__ */ t(
|
|
186
|
-
|
|
186
|
+
q,
|
|
187
187
|
{
|
|
188
188
|
notificationTypes: i,
|
|
189
189
|
showPersonalDetails: !o.display_user_profile_in_settings
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as e, jsxs as s, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import x from "react";
|
|
3
3
|
import { observer as R } from "mobx-react-lite";
|
|
4
|
-
import { endOfMonth as
|
|
4
|
+
import { endOfMonth as H } from "date-fns/endOfMonth";
|
|
5
5
|
import { endOfToday as J } from "date-fns/endOfToday";
|
|
6
6
|
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
-
import { R as _e } from "../RecurringSettings-
|
|
10
|
-
import { M as Un } from "../RecurringSettings-
|
|
11
|
-
import { addMonths as
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { isBefore as
|
|
14
|
-
import
|
|
9
|
+
import { R as _e } from "../RecurringSettings-DdOcok2e.mjs";
|
|
10
|
+
import { M as Un } from "../RecurringSettings-DdOcok2e.mjs";
|
|
11
|
+
import { addMonths as He } from "date-fns/addMonths";
|
|
12
|
+
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
|
+
import { isBefore as Be } from "date-fns/isBefore";
|
|
14
|
+
import q from "@mui/material/Unstable_Grid2";
|
|
15
15
|
import he from "@mui/material/IconButton";
|
|
16
16
|
import d from "@mui/material/Stack";
|
|
17
17
|
import fe from "@mui/material/Tab";
|
|
18
18
|
import Fe from "@mui/material/Tabs";
|
|
19
19
|
import { Schedule as ze, MonetizationOn as Ue, Cancel as Se, CheckCircle as we, ChevronLeft as Ye, ChevronRight as je, CurrencyExchange as Ke } from "@mxenabled/mx-icons";
|
|
20
|
-
import { Text as h, MerchantLogo as te, InstitutionLogo as Ve, H3 as
|
|
20
|
+
import { Text as h, MerchantLogo as te, InstitutionLogo as Ve, H3 as qe, H2 as Ze, P as Z } from "@mxenabled/mxui";
|
|
21
21
|
import { getWeeksInMonth as xe } from "date-fns/getWeeksInMonth";
|
|
22
|
-
import { enCA as
|
|
22
|
+
import { enCA as Xe } from "date-fns/locale/en-CA";
|
|
23
23
|
import { enUS as be } from "date-fns/locale/en-US";
|
|
24
24
|
import { es as Je } from "date-fns/locale/es";
|
|
25
25
|
import { fr as Qe } from "date-fns/locale/fr";
|
|
@@ -33,32 +33,32 @@ import ot from "@mui/material/Badge";
|
|
|
33
33
|
import { PickersDay as at } from "@mui/x-date-pickers/PickersDay";
|
|
34
34
|
import { I as F } from "../IconBacking-B9oC6uL2.mjs";
|
|
35
35
|
import { u as y, b as z, i as I, g as U, p as Ie, h as re } from "../hooks-BxkfR-Ff.mjs";
|
|
36
|
-
import { d as A, c as T, g as Ce, f as st } from "../RecurringTransactions-
|
|
36
|
+
import { d as A, c as T, g as Ce, f as st } from "../RecurringTransactions-BOzBqfdg.mjs";
|
|
37
37
|
import { f as S, D as w } from "../DateFormats-BMpMrZpW.mjs";
|
|
38
|
-
import { T as G } from "../RecurringTransactionsStore-
|
|
39
|
-
import { R as jn } from "../RecurringTransactionsStore-
|
|
38
|
+
import { T as G } from "../RecurringTransactionsStore-CcfPS0d3.mjs";
|
|
39
|
+
import { R as jn } from "../RecurringTransactionsStore-CcfPS0d3.mjs";
|
|
40
40
|
import { g as ct, L as W, b as N } from "../Localization-CPkpIwIx.mjs";
|
|
41
41
|
import { A as L } from "../Analytics-BYItVAe-.mjs";
|
|
42
42
|
import lt from "@mui/material/Button";
|
|
43
|
-
import
|
|
43
|
+
import X from "@mui/material/Divider";
|
|
44
44
|
import ye from "@mui/material/List";
|
|
45
45
|
import Me from "@mui/material/ListItem";
|
|
46
46
|
import dt from "@mui/material/ListSubheader";
|
|
47
47
|
import ut from "@mui/material/ListItemAvatar";
|
|
48
48
|
import mt from "@mui/material/ListItemButton";
|
|
49
49
|
import pt from "@mui/material/ListItemText";
|
|
50
|
-
import { b as gt } from "../ManageIncome-
|
|
51
|
-
import { c as Vn, M as
|
|
50
|
+
import { b as gt } from "../ManageIncome-QvqN555q.mjs";
|
|
51
|
+
import { c as Vn, M as qn, S as Zn } from "../ManageIncome-QvqN555q.mjs";
|
|
52
52
|
import { f as E } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
53
|
-
import { D as ie } from "../Drawer-
|
|
53
|
+
import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
|
|
54
54
|
import O from "@mui/material/Box";
|
|
55
55
|
import { S as Le } from "../StatusBar-BK_uYHAB.mjs";
|
|
56
56
|
import { u as oe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
57
|
import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
58
58
|
import { u as ae } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
59
59
|
import { L as se } from "../Loader-D3rjKx72.mjs";
|
|
60
|
-
import { W as ht } from "../WidgetContainer-
|
|
61
|
-
import { M as ft } from "../MiniWidgetContainer-
|
|
60
|
+
import { W as ht } from "../WidgetContainer-D_iaToWJ.mjs";
|
|
61
|
+
import { M as ft } from "../MiniWidgetContainer-xLWSV6Wz.mjs";
|
|
62
62
|
import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
|
|
63
63
|
import { M as bt } from "../MicroWidgetContainer-B_EnfvCq.mjs";
|
|
64
64
|
const Y = {
|
|
@@ -125,7 +125,7 @@ const Y = {
|
|
|
125
125
|
return /* @__PURE__ */ e(
|
|
126
126
|
ot,
|
|
127
127
|
{
|
|
128
|
-
badgeContent: a.length > 0 && /* @__PURE__ */ s(
|
|
128
|
+
badgeContent: a.length > 0 && /* @__PURE__ */ s(B, { children: [
|
|
129
129
|
m && /* @__PURE__ */ e(de, { isOffset: !0 }),
|
|
130
130
|
g && /* @__PURE__ */ e(ue, { isOffset: !0 }),
|
|
131
131
|
l && /* @__PURE__ */ e(ce, { isOffset: !0 }),
|
|
@@ -159,9 +159,9 @@ const Y = {
|
|
|
159
159
|
}
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
|
-
),
|
|
162
|
+
), $ = ({ icon: t, label: n }) => /* @__PURE__ */ s(d, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
|
|
163
163
|
/* @__PURE__ */ e(t, {}),
|
|
164
|
-
/* @__PURE__ */ e(h, { variant: "
|
|
164
|
+
/* @__PURE__ */ e(h, { variant: "caption", children: n })
|
|
165
165
|
] }), yt = R(() => {
|
|
166
166
|
const { recurring: t } = y();
|
|
167
167
|
return /* @__PURE__ */ s(
|
|
@@ -174,10 +174,10 @@ const Y = {
|
|
|
174
174
|
justifyContent: "center",
|
|
175
175
|
mt: 12,
|
|
176
176
|
children: [
|
|
177
|
-
/* @__PURE__ */ e(
|
|
178
|
-
/* @__PURE__ */ e(
|
|
179
|
-
/* @__PURE__ */ e(
|
|
180
|
-
/* @__PURE__ */ e(
|
|
177
|
+
/* @__PURE__ */ e($, { icon: ce, label: t.expense }),
|
|
178
|
+
/* @__PURE__ */ e($, { icon: le, label: t.income }),
|
|
179
|
+
/* @__PURE__ */ e($, { icon: de, label: t.missed }),
|
|
180
|
+
/* @__PURE__ */ e($, { icon: ue, label: t.paid })
|
|
181
181
|
]
|
|
182
182
|
}
|
|
183
183
|
);
|
|
@@ -185,7 +185,7 @@ const Y = {
|
|
|
185
185
|
const t = ct();
|
|
186
186
|
return {
|
|
187
187
|
[W.EN_US]: be,
|
|
188
|
-
[W.EN_CA]:
|
|
188
|
+
[W.EN_CA]: Xe,
|
|
189
189
|
[W.FR]: Qe,
|
|
190
190
|
[W.FR_CA]: et,
|
|
191
191
|
[W.ES]: Je
|
|
@@ -196,7 +196,7 @@ const Y = {
|
|
|
196
196
|
), p = (m) => {
|
|
197
197
|
u(xe(m) * G + Re), i({
|
|
198
198
|
start: k(m),
|
|
199
|
-
end:
|
|
199
|
+
end: H(m)
|
|
200
200
|
}), a(m), n(L.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
|
|
201
201
|
}, a = (m) => {
|
|
202
202
|
m && requestAnimationFrame(() => {
|
|
@@ -232,8 +232,8 @@ const Y = {
|
|
|
232
232
|
pr: 8
|
|
233
233
|
},
|
|
234
234
|
"& .MuiPickersCalendarHeader-label": {
|
|
235
|
-
fontFamily: t.typography.
|
|
236
|
-
fontSize: t.typography.
|
|
235
|
+
fontFamily: t.typography.body1.fontFamily,
|
|
236
|
+
fontSize: t.typography.body1.fontSize,
|
|
237
237
|
fontWeight: 600
|
|
238
238
|
},
|
|
239
239
|
"& .MuiDayCalendar-slideTransition": {
|
|
@@ -333,7 +333,7 @@ const Y = {
|
|
|
333
333
|
/* @__PURE__ */ e(d, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ s(d, { direction: "row", gap: 4, children: [
|
|
334
334
|
Tt(t),
|
|
335
335
|
/* @__PURE__ */ e(h, { variant: "caption", children: Dt(t, i) })
|
|
336
|
-
] }) : /* @__PURE__ */ s(
|
|
336
|
+
] }) : /* @__PURE__ */ s(B, { children: [
|
|
337
337
|
t.institutionGuid && /* @__PURE__ */ e(
|
|
338
338
|
Ve,
|
|
339
339
|
{
|
|
@@ -390,7 +390,7 @@ const Y = {
|
|
|
390
390
|
}
|
|
391
391
|
)
|
|
392
392
|
] });
|
|
393
|
-
},
|
|
393
|
+
}, P = R(
|
|
394
394
|
({
|
|
395
395
|
recurrences: t,
|
|
396
396
|
isMini: n = !1,
|
|
@@ -411,7 +411,7 @@ const Y = {
|
|
|
411
411
|
px: 24
|
|
412
412
|
},
|
|
413
413
|
children: [
|
|
414
|
-
/* @__PURE__ */ e(
|
|
414
|
+
/* @__PURE__ */ e(qe, { bold: !0, variant: "body1", children: c }),
|
|
415
415
|
r && /* @__PURE__ */ e(lt, { onClick: r, size: "small", variant: "text", children: u.reset })
|
|
416
416
|
]
|
|
417
417
|
}
|
|
@@ -425,7 +425,7 @@ const Y = {
|
|
|
425
425
|
recurrence: a
|
|
426
426
|
}
|
|
427
427
|
),
|
|
428
|
-
/* @__PURE__ */ e(
|
|
428
|
+
/* @__PURE__ */ e(X, { sx: { mx: 24 } })
|
|
429
429
|
] }, `recurrence-${l}`)) : p.map((a, l) => /* @__PURE__ */ s(x.Fragment, { children: [
|
|
430
430
|
/* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(
|
|
431
431
|
ye,
|
|
@@ -442,7 +442,7 @@ const Y = {
|
|
|
442
442
|
) }, `day-recurrence-${g}`))
|
|
443
443
|
}
|
|
444
444
|
) }, a.id),
|
|
445
|
-
/* @__PURE__ */ e(
|
|
445
|
+
/* @__PURE__ */ e(X, { sx: { mx: 24 } })
|
|
446
446
|
] }, `recurrence-${l}`)) })
|
|
447
447
|
] });
|
|
448
448
|
}
|
|
@@ -462,7 +462,7 @@ const Y = {
|
|
|
462
462
|
/* @__PURE__ */ e(O, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
|
|
463
463
|
!a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(o, "0,0.00") }),
|
|
464
464
|
/* @__PURE__ */ e(h, { variant: "caption", children: l.paid?.toLowerCase() }),
|
|
465
|
-
r !== void 0 && /* @__PURE__ */ s(
|
|
465
|
+
r !== void 0 && /* @__PURE__ */ s(B, { children: [
|
|
466
466
|
/* @__PURE__ */ e(O, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
|
|
467
467
|
!a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(r, "0,0.00") }),
|
|
468
468
|
/* @__PURE__ */ e(h, { variant: "caption", children: l.missed?.toLowerCase() })
|
|
@@ -490,8 +490,8 @@ const Y = {
|
|
|
490
490
|
upcomingExpenseTotal: K,
|
|
491
491
|
upcomingIncomeTotal: Ee,
|
|
492
492
|
upcomingRecurrences: me
|
|
493
|
-
} = I(), [V, Ne] = x.useState(0), Oe =
|
|
494
|
-
Ne(
|
|
493
|
+
} = I(), [V, Ne] = x.useState(0), Oe = Be(a.start, /* @__PURE__ */ new Date()), ke = (D, Pe) => {
|
|
494
|
+
Ne(Pe);
|
|
495
495
|
}, pe = (D) => {
|
|
496
496
|
c(L.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
|
|
497
497
|
transaction_guid: D.transaction?.guid
|
|
@@ -501,30 +501,30 @@ const Y = {
|
|
|
501
501
|
transaction_guid: D.transaction?.guid
|
|
502
502
|
});
|
|
503
503
|
}, Ge = () => {
|
|
504
|
-
const D =
|
|
504
|
+
const D = He(a.start, 1);
|
|
505
505
|
_({
|
|
506
506
|
start: k(D),
|
|
507
|
-
end:
|
|
507
|
+
end: H(D)
|
|
508
508
|
});
|
|
509
509
|
}, We = () => {
|
|
510
|
-
const D =
|
|
510
|
+
const D = $e(a.start, 1);
|
|
511
511
|
_({
|
|
512
512
|
start: k(D),
|
|
513
|
-
end:
|
|
513
|
+
end: H(D)
|
|
514
514
|
});
|
|
515
515
|
};
|
|
516
516
|
return /* @__PURE__ */ s(
|
|
517
|
-
|
|
517
|
+
q,
|
|
518
518
|
{
|
|
519
519
|
container: !0,
|
|
520
520
|
sx: {
|
|
521
521
|
pt: 16
|
|
522
522
|
},
|
|
523
523
|
children: [
|
|
524
|
-
/* @__PURE__ */ s(
|
|
524
|
+
/* @__PURE__ */ s(q, { md: !0, sm: 12, width: "100%", children: [
|
|
525
525
|
/* @__PURE__ */ s(d, { sx: { gap: 16, px: r ? 48 : 24 }, children: [
|
|
526
526
|
/* @__PURE__ */ s(d, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
527
|
-
/* @__PURE__ */ e(
|
|
527
|
+
/* @__PURE__ */ e(Ze, { variant: "h3", children: N(
|
|
528
528
|
t.header_title,
|
|
529
529
|
S(a.start, w.MONTH_LONG)
|
|
530
530
|
) }),
|
|
@@ -564,7 +564,7 @@ const Y = {
|
|
|
564
564
|
}
|
|
565
565
|
),
|
|
566
566
|
r && /* @__PURE__ */ e(
|
|
567
|
-
|
|
567
|
+
P,
|
|
568
568
|
{
|
|
569
569
|
onRecurrenceClick: pe,
|
|
570
570
|
recurrences: me,
|
|
@@ -588,14 +588,14 @@ const Y = {
|
|
|
588
588
|
)
|
|
589
589
|
] }),
|
|
590
590
|
V === 0 && /* @__PURE__ */ e(
|
|
591
|
-
|
|
591
|
+
P,
|
|
592
592
|
{
|
|
593
593
|
onRecurrenceClick: pe,
|
|
594
594
|
recurrences: me
|
|
595
595
|
}
|
|
596
596
|
),
|
|
597
597
|
V === 1 && /* @__PURE__ */ e(
|
|
598
|
-
|
|
598
|
+
P,
|
|
599
599
|
{
|
|
600
600
|
onRecurrenceClick: ge,
|
|
601
601
|
recurrences: b
|
|
@@ -603,10 +603,10 @@ const Y = {
|
|
|
603
603
|
)
|
|
604
604
|
] })
|
|
605
605
|
] }),
|
|
606
|
-
r && /* @__PURE__ */ e(
|
|
606
|
+
r && /* @__PURE__ */ e(q, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ s(d, { gap: 24, children: [
|
|
607
607
|
/* @__PURE__ */ e(Ae, {}),
|
|
608
608
|
/* @__PURE__ */ e(
|
|
609
|
-
|
|
609
|
+
P,
|
|
610
610
|
{
|
|
611
611
|
onRecurrenceClick: ge,
|
|
612
612
|
recurrences: f || b,
|
|
@@ -620,7 +620,7 @@ const Y = {
|
|
|
620
620
|
]
|
|
621
621
|
}
|
|
622
622
|
);
|
|
623
|
-
}),
|
|
623
|
+
}), Pn = R(({ onBackClick: t, sx: n = {} }) => {
|
|
624
624
|
const { recurring: r } = y(), { isInitialized: o, selectedAccountGuids: i } = z(), { isDataLoaded: c, loadRepeatingTransactionData: u, setDateRange: p } = I(), { setFilter: a } = re(), { onEvent: l } = U(), { isMobile: m } = oe(), [g, b] = x.useState(!1);
|
|
625
625
|
return ae({
|
|
626
626
|
widgetName: "RecurringTransactionsWidget",
|
|
@@ -631,7 +631,7 @@ const Y = {
|
|
|
631
631
|
a({
|
|
632
632
|
dateRange: { start: ee(Q(), 90), end: J() },
|
|
633
633
|
accounts: i
|
|
634
|
-
}), p({ start: k(/* @__PURE__ */ new Date()), end:
|
|
634
|
+
}), p({ start: k(/* @__PURE__ */ new Date()), end: H(/* @__PURE__ */ new Date()) });
|
|
635
635
|
}, [i]), o ? /* @__PURE__ */ s(
|
|
636
636
|
ht,
|
|
637
637
|
{
|
|
@@ -669,9 +669,9 @@ const Y = {
|
|
|
669
669
|
const { recurring: t } = y(), { availableWidth: n } = Ie(), { selectedDay: r, selectedDayRecurrences: o, setSelectedDay: i, upcomingRecurrences: c } = I(), u = n < 750;
|
|
670
670
|
return /* @__PURE__ */ s(d, { flexDirection: u ? "column" : "row", width: "100%", children: [
|
|
671
671
|
/* @__PURE__ */ e(Ae, {}),
|
|
672
|
-
!u && /* @__PURE__ */ e(
|
|
672
|
+
!u && /* @__PURE__ */ e(X, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
|
|
673
673
|
/* @__PURE__ */ e(
|
|
674
|
-
|
|
674
|
+
P,
|
|
675
675
|
{
|
|
676
676
|
isMini: !0,
|
|
677
677
|
onResetClick: r ? () => i(r) : void 0,
|
|
@@ -684,7 +684,7 @@ const Y = {
|
|
|
684
684
|
}
|
|
685
685
|
)
|
|
686
686
|
] });
|
|
687
|
-
}),
|
|
687
|
+
}), Hn = R(
|
|
688
688
|
({ onPrimaryCtaClick: t, sx: n }) => {
|
|
689
689
|
const { recurring: r } = y(), { setFilter: o } = re(), { isDataLoaded: i, loadRepeatingTransactionData: c } = I(), { isInitialized: u, selectedAccountGuids: p } = z();
|
|
690
690
|
return ae({
|
|
@@ -715,8 +715,8 @@ const Y = {
|
|
|
715
715
|
return /* @__PURE__ */ s(d, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
|
|
716
716
|
/* @__PURE__ */ e(Ke, { size: 32 }),
|
|
717
717
|
/* @__PURE__ */ s(d, { children: [
|
|
718
|
-
/* @__PURE__ */ e(
|
|
719
|
-
/* @__PURE__ */ e(
|
|
718
|
+
/* @__PURE__ */ e(Z, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
|
|
719
|
+
/* @__PURE__ */ e(Z, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
|
|
720
720
|
] })
|
|
721
721
|
] });
|
|
722
722
|
}), It = ({
|
|
@@ -833,7 +833,7 @@ const Y = {
|
|
|
833
833
|
label: a.upcoming
|
|
834
834
|
}
|
|
835
835
|
];
|
|
836
|
-
return /* @__PURE__ */ s(
|
|
836
|
+
return /* @__PURE__ */ s(B, { children: [
|
|
837
837
|
/* @__PURE__ */ s(d, { ref: n, sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
838
838
|
/* @__PURE__ */ s(
|
|
839
839
|
d,
|
|
@@ -852,11 +852,11 @@ const Y = {
|
|
|
852
852
|
h,
|
|
853
853
|
{
|
|
854
854
|
sx: { width: "100%" },
|
|
855
|
-
variant: C.length >= 10 && l ? "
|
|
855
|
+
variant: C.length >= 10 && l ? "h3" : "h2",
|
|
856
856
|
children: C
|
|
857
857
|
}
|
|
858
858
|
),
|
|
859
|
-
/* @__PURE__ */ e(
|
|
859
|
+
/* @__PURE__ */ e(Z, { sx: { pr: 12 }, variant: "caption", children: a.expected })
|
|
860
860
|
]
|
|
861
861
|
}
|
|
862
862
|
),
|
|
@@ -888,7 +888,7 @@ const Y = {
|
|
|
888
888
|
)
|
|
889
889
|
] })
|
|
890
890
|
] });
|
|
891
|
-
}),
|
|
891
|
+
}), $n = R(
|
|
892
892
|
({ onCTAClick: t }) => {
|
|
893
893
|
const { onEvent: n } = U(), { isInitialized: r, selectedAccountGuids: o } = z(), {
|
|
894
894
|
loadRepeatingTransactionData: i,
|
|
@@ -910,7 +910,7 @@ const Y = {
|
|
|
910
910
|
r && (l({
|
|
911
911
|
dateRange: { start: ee(Q(), 90), end: J() },
|
|
912
912
|
accounts: o
|
|
913
|
-
}), p({ start: k(/* @__PURE__ */ new Date()), end:
|
|
913
|
+
}), p({ start: k(/* @__PURE__ */ new Date()), end: H(/* @__PURE__ */ new Date()) }));
|
|
914
914
|
}, [r, o]);
|
|
915
915
|
const b = () => {
|
|
916
916
|
n(
|
|
@@ -930,7 +930,7 @@ const Y = {
|
|
|
930
930
|
}
|
|
931
931
|
);
|
|
932
932
|
}
|
|
933
|
-
),
|
|
933
|
+
), Bn = R(
|
|
934
934
|
({ isOpen: t, onClose: n, selectedTab: r }) => {
|
|
935
935
|
const { cashflow: o } = y();
|
|
936
936
|
return /* @__PURE__ */ e(
|
|
@@ -948,12 +948,12 @@ const Y = {
|
|
|
948
948
|
export {
|
|
949
949
|
Vn as AddRecurringTransactionDetails,
|
|
950
950
|
Un as ManageExpenses,
|
|
951
|
-
|
|
951
|
+
qn as ManageIncome,
|
|
952
952
|
_e as RecurringSettings,
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
953
|
+
Bn as RecurringSettingsDrawer,
|
|
954
|
+
$n as RecurringTransactionsMicroWidget,
|
|
955
|
+
Hn as RecurringTransactionsMiniWidget,
|
|
956
956
|
jn as RecurringTransactionsStore,
|
|
957
|
-
|
|
958
|
-
|
|
957
|
+
Pn as RecurringTransactionsWidget,
|
|
958
|
+
Zn as SelectTransaction
|
|
959
959
|
};
|